@smoothie-framework/ui-svelte
v0.0.2
Published
Smoothie UI Svelte adapter baseline contracts on ui-core and ui-styles
Downloads
233
Readme
@smoothie-framework/ui-svelte
Svelte adapter baseline-contract package for Smoothie UI.
This package currently publishes the baseline contract surface for the future Svelte adapter. It intentionally does not ship production-ready Svelte components yet.
Current baseline exports:
- schema-derived prop aliases for the representative baseline components
(
Button,Stack,Text) - theme contract aliases sourced from
@smoothie-framework/ui-core - Vite styling integration via
smoothieUiStylesPlugin
Usage:
import '@smoothie-framework/ui-styles/styles/components';
import {
SMOOTHIE_UI_SVELTE_BASELINE_COMPONENTS,
smoothieUiStylesPlugin,
type SmoothieSvelteTextContractProps,
} from '@smoothie-framework/ui-svelte';
const textProps: SmoothieSvelteTextContractProps = {
size: 'lg',
weight: 'bold',
};
void textProps;
void SMOOTHIE_UI_SVELTE_BASELINE_COMPONENTS;
void smoothieUiStylesPlugin;These exported types describe the shared schema/contract shape the future Svelte adapter will implement. They are not a claim that runtime Svelte components already ship from this package.
