diff --git a/src/lib/components/ui/index.ts b/src/lib/components/ui/index.ts new file mode 100644 index 00000000..5c22757c --- /dev/null +++ b/src/lib/components/ui/index.ts @@ -0,0 +1,9 @@ +// UI Components barrel export +export { default as Button } from './button/Button.svelte'; +export { default as Input } from './input/Input.svelte'; +export { default as Select } from './select/Select.svelte'; + +// Re-export existing UI components +export { default as Dialog } from './Dialog.svelte'; +export { default as Tooltip } from './Tooltip.svelte'; +export { default as ContextMenu } from './ContextMenu.svelte'; \ No newline at end of file diff --git a/src/routes/test-ui/+page.svelte b/src/routes/test-ui/+page.svelte new file mode 100644 index 00000000..be619a72 --- /dev/null +++ b/src/routes/test-ui/+page.svelte @@ -0,0 +1,258 @@ + + +
+

UI Component Test Page

+ +
+

Button Variants

+
+ + + + + + + + +
+
+ +
+

Button Sizes

+
+ + + + +
+
+ +
+

Button with Icons

+
+ + + +
+
+ +
+

Button Special States

+
+ + + +
+
+ +
+

Element Colored Buttons

+
+ + + + + + +
+
+ +
+

Input Components

+
+ + + + + + + + + + + + + +
+
+ +
+

Select Component

+
+ + + +
+
+ +
+

Switch Component

+
+ + Switch is {switchValue ? 'ON' : 'OFF'} +
+
+ + Disabled Switch +
+
+ +
+

Checkbox Component

+
+
+ + Basic checkbox +
+ +
+ + Indeterminate checkbox +
+ +
+ + Small checkbox +
+ +
+ + Large checkbox +
+ +
+ + Bound variant +
+
+
+ +
+

Segmented Control

+
+ + Option 1 + Option 2 + Option 3 + + + + Blended 1 + Blended 2 + Blended 3 + + + + Fire + Water + Earth + +
+
+
+ + \ No newline at end of file