uisv 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/components/accordion.svelte +108 -0
  2. package/dist/components/accordion.svelte.d.ts +58 -0
  3. package/dist/components/alert.svelte +271 -0
  4. package/dist/components/alert.svelte.d.ts +23 -0
  5. package/dist/components/badge.svelte +225 -0
  6. package/dist/components/badge.svelte.d.ts +19 -0
  7. package/dist/components/banner.svelte +254 -0
  8. package/dist/components/banner.svelte.d.ts +23 -0
  9. package/dist/components/button.svelte +409 -0
  10. package/dist/components/button.svelte.d.ts +49 -0
  11. package/dist/components/card.svelte +70 -0
  12. package/dist/components/card.svelte.d.ts +17 -0
  13. package/dist/components/checkbox-group.svelte +258 -0
  14. package/dist/components/checkbox-group.svelte.d.ts +26 -0
  15. package/dist/components/checkbox.svelte +175 -0
  16. package/dist/components/checkbox.svelte.d.ts +27 -0
  17. package/dist/components/chip.svelte +82 -0
  18. package/dist/components/chip.svelte.d.ts +17 -0
  19. package/dist/components/color-picker.svelte +48 -0
  20. package/dist/components/color-picker.svelte.d.ts +10 -0
  21. package/dist/components/h1.svelte +15 -0
  22. package/dist/components/h1.svelte.d.ts +3 -0
  23. package/dist/components/h2.svelte +19 -0
  24. package/dist/components/h2.svelte.d.ts +3 -0
  25. package/dist/components/h3.svelte +16 -0
  26. package/dist/components/h3.svelte.d.ts +3 -0
  27. package/dist/components/h4.svelte +19 -0
  28. package/dist/components/h4.svelte.d.ts +3 -0
  29. package/dist/components/h5.svelte +19 -0
  30. package/dist/components/h5.svelte.d.ts +3 -0
  31. package/dist/components/h6.svelte +19 -0
  32. package/dist/components/h6.svelte.d.ts +3 -0
  33. package/dist/components/index.d.ts +45 -0
  34. package/dist/components/index.js +45 -0
  35. package/dist/components/input-time.svelte +234 -0
  36. package/dist/components/input-time.svelte.d.ts +54 -0
  37. package/dist/components/input.svelte +285 -0
  38. package/dist/components/input.svelte.d.ts +55 -0
  39. package/dist/components/kbd.svelte +239 -0
  40. package/dist/components/kbd.svelte.d.ts +40 -0
  41. package/dist/components/p.svelte +9 -0
  42. package/dist/components/p.svelte.d.ts +3 -0
  43. package/dist/components/pin-input.svelte +162 -0
  44. package/dist/components/pin-input.svelte.d.ts +25 -0
  45. package/dist/components/placeholder.svelte +34 -0
  46. package/dist/components/placeholder.svelte.d.ts +3 -0
  47. package/dist/components/popover.svelte +151 -0
  48. package/dist/components/popover.svelte.d.ts +88 -0
  49. package/dist/components/progress.svelte +124 -0
  50. package/dist/components/progress.svelte.d.ts +21 -0
  51. package/dist/components/select.svelte +171 -0
  52. package/dist/components/select.svelte.d.ts +50 -0
  53. package/dist/components/slider.svelte +172 -0
  54. package/dist/components/slider.svelte.d.ts +44 -0
  55. package/dist/components/switch.svelte +180 -0
  56. package/dist/components/switch.svelte.d.ts +27 -0
  57. package/dist/components/tabs.svelte +245 -0
  58. package/dist/components/tabs.svelte.d.ts +34 -0
  59. package/dist/index.d.ts +4 -0
  60. package/dist/index.js +3 -0
  61. package/dist/utilities.svelte.d.ts +24 -0
  62. package/dist/utilities.svelte.js +47 -0
  63. package/dist/vite.d.ts +52 -0
  64. package/dist/vite.js +132 -0
  65. package/package.json +35 -38
@@ -0,0 +1,162 @@
1
+ <script module lang="ts">
2
+ import type { PropColor } from '../index.js';
3
+ import { onMount } from 'svelte';
4
+ import type { ClassNameValue } from 'tailwind-merge';
5
+ import { tv } from 'tailwind-variants';
6
+
7
+ export type PinInputProps = {
8
+ value?: number[] | string[];
9
+ color?: PropColor;
10
+ variant?: 'outline' | 'soft' | 'subtle' | 'ghost' | 'none';
11
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
12
+ length?: number;
13
+ autofocus?: boolean | number;
14
+ id?: string;
15
+ mask?: boolean;
16
+ name?: string;
17
+ disabled?: boolean;
18
+ otp?: boolean;
19
+ placeholder?: string;
20
+ required?: boolean;
21
+ type?: 'text' | 'number';
22
+ ui?: { root?: ClassNameValue; cell?: ClassNameValue };
23
+ };
24
+ </script>
25
+
26
+ <script lang="ts">
27
+ const KEYS_TO_IGNORE = [
28
+ 'ArrowLeft',
29
+ 'ArrowRight',
30
+ 'ArrowUp',
31
+ 'ArrowDown',
32
+ 'Home',
33
+ 'End',
34
+ 'Escape',
35
+ 'Enter',
36
+ 'Tab',
37
+ 'Shift',
38
+ 'Control',
39
+ 'Meta'
40
+ ];
41
+
42
+ let {
43
+ value = $bindable([]),
44
+ color = 'primary',
45
+ variant = 'outline',
46
+ size = 'md',
47
+ length = 5,
48
+ autofocus,
49
+ id,
50
+ mask,
51
+ name,
52
+ disabled,
53
+ otp,
54
+ placeholder,
55
+ required,
56
+ type = 'text',
57
+ ui = {}
58
+ }: PinInputProps = $props();
59
+ const internal_id = $props.id();
60
+ let input_els = $state<HTMLInputElement[]>([]);
61
+
62
+ const classes = $derived(
63
+ tv({
64
+ slots: { root: 'flex gap-2', cell: 'rounded text-center outline-none transition relative' },
65
+ variants: {
66
+ color: {
67
+ primary: '',
68
+ surface: '',
69
+ info: '',
70
+ success: '',
71
+ warning: '',
72
+ error: ''
73
+ },
74
+ size: {
75
+ xs: { root: '', cell: 'size-6' },
76
+ sm: { root: '', cell: 'size-7' },
77
+ md: { root: '', cell: 'size-8' },
78
+ lg: { root: '', cell: 'size-9' },
79
+ xl: { root: '', cell: 'size-10' }
80
+ },
81
+ variant: {
82
+ outline: {
83
+ cell: 'border border-surface-300 focus:(border-2)'
84
+ },
85
+ soft: {
86
+ cell: 'bg-surface-50 hover:(bg-surface-100) focus:(bg-surface-100)'
87
+ },
88
+ subtle: { cell: 'border border-surface-300 bg-surface-100 focus:(border-2)' },
89
+ ghost: { cell: 'hover:(bg-surface-100) focus:(bg-surface-100)' },
90
+ none: { cell: '' }
91
+ }
92
+ },
93
+ compoundVariants: [
94
+ {
95
+ variant: ['outline', 'subtle'],
96
+ color: 'primary',
97
+ class: { cell: 'focus:(border-primary-500)' }
98
+ },
99
+ {
100
+ variant: ['outline', 'subtle'],
101
+ color: 'surface',
102
+ class: { cell: 'focus:(border-surface-900)' }
103
+ },
104
+ {
105
+ variant: ['outline', 'subtle'],
106
+ color: 'info',
107
+ class: { cell: 'focus:(border-info-500)' }
108
+ },
109
+ {
110
+ variant: ['outline', 'subtle'],
111
+ color: 'success',
112
+ class: { cell: 'focus:(border-success-500)' }
113
+ },
114
+ {
115
+ variant: ['outline', 'subtle'],
116
+ color: 'warning',
117
+ class: { cell: 'focus:(border-warning-500)' }
118
+ },
119
+ {
120
+ variant: ['outline', 'subtle'],
121
+ color: 'error',
122
+ class: { cell: 'focus:(border-error-500)' }
123
+ }
124
+ ]
125
+ })({ size, color, variant, class: ui.root })
126
+ );
127
+
128
+ onMount(() => {
129
+ if (!autofocus || input_els.length === 0) return;
130
+
131
+ input_els[0].focus();
132
+ });
133
+ </script>
134
+
135
+ <div id={id || internal_id} class={classes.root({ class: ui.root })}>
136
+ {#each { length }, i (i)}
137
+ <input
138
+ bind:this={input_els[i]}
139
+ bind:value={
140
+ () => (mask ? '•' : value[i]?.toString()?.slice(-1)),
141
+ (v: string) => {
142
+ try {
143
+ value[i] = type === 'text' ? v.slice(-1) : parseInt(v.slice(-1));
144
+
145
+ if (value[i] && input_els[i + 1]) input_els[i + 1].focus();
146
+ } catch {
147
+ return;
148
+ }
149
+ }
150
+ }
151
+ class={classes.cell({ class: ui.cell })}
152
+ onkeydown={(e) => {
153
+ if (KEYS_TO_IGNORE.includes(e.key)) e.preventDefault();
154
+ if (type === 'number' && isNaN(parseInt(e.key))) e.preventDefault();
155
+ const DIR: Record<string, number> = { ArrowLeft: -1, ArrowRight: 1 };
156
+ if (!DIR[e.key] || !input_els[i + DIR[e.key]]) return;
157
+ input_els[i + DIR[e.key]].focus();
158
+ }}
159
+ {placeholder}
160
+ />
161
+ {/each}
162
+ </div>
@@ -0,0 +1,25 @@
1
+ import type { PropColor } from '../index.js';
2
+ import type { ClassNameValue } from 'tailwind-merge';
3
+ export type PinInputProps = {
4
+ value?: number[] | string[];
5
+ color?: PropColor;
6
+ variant?: 'outline' | 'soft' | 'subtle' | 'ghost' | 'none';
7
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
8
+ length?: number;
9
+ autofocus?: boolean | number;
10
+ id?: string;
11
+ mask?: boolean;
12
+ name?: string;
13
+ disabled?: boolean;
14
+ otp?: boolean;
15
+ placeholder?: string;
16
+ required?: boolean;
17
+ type?: 'text' | 'number';
18
+ ui?: {
19
+ root?: ClassNameValue;
20
+ cell?: ClassNameValue;
21
+ };
22
+ };
23
+ declare const PinInput: import("svelte").Component<PinInputProps, {}, "value">;
24
+ type PinInput = ReturnType<typeof PinInput>;
25
+ export default PinInput;
@@ -0,0 +1,34 @@
1
+ <script lang="ts">
2
+ import type { SvelteHTMLElements } from 'svelte/elements';
3
+ import { cx } from 'tailwind-variants';
4
+
5
+ let { class: klass, ...rest }: SvelteHTMLElements['svg'] = $props();
6
+ </script>
7
+
8
+ <svg
9
+ {...rest}
10
+ class={cx(
11
+ 'inset-0 w-full stroke-surface/10 border border-dashed border-surface rounded-md',
12
+ klass,
13
+ )}
14
+ fill="none"
15
+ >
16
+ <defs>
17
+ <pattern
18
+ id="pattern-5c1e4f0e-62d5-498b-8ff0-cf77bb448c8e"
19
+ x="0"
20
+ y="0"
21
+ width="10"
22
+ height="10"
23
+ patternUnits="userSpaceOnUse"
24
+ >
25
+ <path d="M-3 13 15-5M-5 5l18-18M-1 21 17 3"> </path>
26
+ </pattern>
27
+ </defs>
28
+ <rect
29
+ stroke="none"
30
+ fill="url(#pattern-5c1e4f0e-62d5-498b-8ff0-cf77bb448c8e)"
31
+ width="100%"
32
+ height="100%"
33
+ ></rect>
34
+ </svg>
@@ -0,0 +1,3 @@
1
+ declare const Placeholder: import("svelte").Component<import("svelte/elements").SVGAttributes<SVGSVGElement>, {}, "">;
2
+ type Placeholder = ReturnType<typeof Placeholder>;
3
+ export default Placeholder;
@@ -0,0 +1,151 @@
1
+ <script module lang="ts">
2
+ import type { Snippet } from 'svelte';
3
+ import type { ClassNameValue } from 'tailwind-merge';
4
+ import { Popover, type PopoverContentProps } from 'bits-ui';
5
+ import { cn, tv } from 'tailwind-variants';
6
+ import { type ButtonProps,Button } from '../index.js';
7
+ import type { PropColor } from '../index.js';
8
+
9
+ export type PopoverContentSnippet = {
10
+ props: Record<string, unknown>;
11
+ open: boolean;
12
+ wrapperProps: Record<string, unknown>;
13
+ };
14
+
15
+ export type PopoverProps = {
16
+ /**
17
+ * The display mode of the popover.
18
+ */
19
+ mode?: 'hover' | 'click';
20
+ /**
21
+ * The props for the content of popover.
22
+ */
23
+ contentprops?: PopoverContentProps;
24
+ content?: Snippet<[PopoverContentSnippet]>;
25
+ children?: Snippet<[]>;
26
+ /**
27
+ * Snippet if you want to implement your own trigger button
28
+ */
29
+ trigger?: Snippet<[Record<string, unknown>]>;
30
+ /**
31
+ * Display an arrow alongside the popover.
32
+ */
33
+ arrow?: boolean;
34
+ /**
35
+ * Render the popover in a portal.
36
+ */
37
+ portal?: string | false | true | HTMLElement;
38
+ /**
39
+ * The reference (or anchor) element that is being referred to for positioning. If not provided will use the current component as anchor.
40
+ */
41
+ reference?:
42
+ | Element
43
+ | {
44
+ getBoundingClientRect: () => DOMRect;
45
+ getClientRects: () => DOMRect[];
46
+ contextElement?: Element;
47
+ };
48
+ /**
49
+ * When `false`, the popover will not close when clicking outside or pressing escape.
50
+ */
51
+ dismissible?: boolean;
52
+ /**
53
+ * The open state of the popover when it is initially rendered. Use when you do not need to control its open state.
54
+ */
55
+ defaultopen?: boolean;
56
+ /**
57
+ * The controlled open state of the popover.
58
+ */
59
+ open?: boolean;
60
+ /**
61
+ * The modality of the popover. When set to `true`, interaction with outside elements will be disabled and only popover content will be visible to screen readers.
62
+ */
63
+ modal?: boolean;
64
+ /**
65
+ * The duration from when the mouse enters the trigger until the hover card opens.
66
+ */
67
+ opendelay?: number;
68
+ /**
69
+ * The duration from when the mouse leaves the trigger or content until the hover card closes.
70
+ */
71
+ closedelay?: number;
72
+ /**
73
+ *
74
+ */
75
+ ui?: {
76
+ content?: ClassNameValue;
77
+ arrow?: ClassNameValue;
78
+ };
79
+ /**
80
+ * @default `outline`
81
+ */
82
+ variant?: ButtonProps['variant'];
83
+ /**
84
+ * @default primary
85
+ */
86
+ color?: PropColor;
87
+ /**
88
+ *
89
+ */
90
+ class?: ClassNameValue;
91
+ };
92
+ </script>
93
+
94
+ <script lang="ts">
95
+ let {
96
+ mode = 'click',
97
+ contentprops = { side: 'bottom', sideOffset: 8, collisionPadding: 8 },
98
+ content,
99
+ children,
100
+ trigger,
101
+ arrow = true,
102
+ portal = true,
103
+ reference,
104
+ dismissible = true,
105
+ defaultopen,
106
+ open = $bindable(false),
107
+ modal = false,
108
+ opendelay = 0,
109
+ closedelay = 0,
110
+ ui = {},
111
+ variant = 'outline',
112
+ color = 'primary',
113
+ class: klass,
114
+ }: PopoverProps = $props();
115
+
116
+ const classes = $derived(
117
+ tv({
118
+ slots: {
119
+ content:
120
+ 'bg-default shadow-lg rounded-md ring ring-default data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto',
121
+ arrow: 'fill-default',
122
+ },
123
+ })({}),
124
+ );
125
+ </script>
126
+
127
+ <Popover.Root bind:open>
128
+ <Popover.Trigger>
129
+ {#snippet child({ props })}
130
+ {#if trigger}
131
+ {@render trigger(props)}
132
+ {:else}
133
+ <Button {...props} {variant} {color} ui={{ base: klass }} />
134
+ {/if}
135
+ {/snippet}
136
+ </Popover.Trigger>
137
+ <Popover.Portal>
138
+ <Popover.Overlay />
139
+ <Popover.Content {...contentprops} class={classes.content({ class: ui.content })}>
140
+ {#snippet child(props)}
141
+ {#if content}
142
+ {@render content(props)}
143
+ {:else}
144
+ {@render children?.()}
145
+ {/if}
146
+ {/snippet}
147
+
148
+ <Popover.Arrow />
149
+ </Popover.Content>
150
+ </Popover.Portal>
151
+ </Popover.Root>
@@ -0,0 +1,88 @@
1
+ import type { Snippet } from 'svelte';
2
+ import type { ClassNameValue } from 'tailwind-merge';
3
+ import { Popover, type PopoverContentProps } from 'bits-ui';
4
+ import { type ButtonProps } from '../index.js';
5
+ import type { PropColor } from '../index.js';
6
+ export type PopoverContentSnippet = {
7
+ props: Record<string, unknown>;
8
+ open: boolean;
9
+ wrapperProps: Record<string, unknown>;
10
+ };
11
+ export type PopoverProps = {
12
+ /**
13
+ * The display mode of the popover.
14
+ */
15
+ mode?: 'hover' | 'click';
16
+ /**
17
+ * The props for the content of popover.
18
+ */
19
+ contentprops?: PopoverContentProps;
20
+ content?: Snippet<[PopoverContentSnippet]>;
21
+ children?: Snippet<[]>;
22
+ /**
23
+ * Snippet if you want to implement your own trigger button
24
+ */
25
+ trigger?: Snippet<[Record<string, unknown>]>;
26
+ /**
27
+ * Display an arrow alongside the popover.
28
+ */
29
+ arrow?: boolean;
30
+ /**
31
+ * Render the popover in a portal.
32
+ */
33
+ portal?: string | false | true | HTMLElement;
34
+ /**
35
+ * The reference (or anchor) element that is being referred to for positioning. If not provided will use the current component as anchor.
36
+ */
37
+ reference?: Element | {
38
+ getBoundingClientRect: () => DOMRect;
39
+ getClientRects: () => DOMRect[];
40
+ contextElement?: Element;
41
+ };
42
+ /**
43
+ * When `false`, the popover will not close when clicking outside or pressing escape.
44
+ */
45
+ dismissible?: boolean;
46
+ /**
47
+ * The open state of the popover when it is initially rendered. Use when you do not need to control its open state.
48
+ */
49
+ defaultopen?: boolean;
50
+ /**
51
+ * The controlled open state of the popover.
52
+ */
53
+ open?: boolean;
54
+ /**
55
+ * The modality of the popover. When set to `true`, interaction with outside elements will be disabled and only popover content will be visible to screen readers.
56
+ */
57
+ modal?: boolean;
58
+ /**
59
+ * The duration from when the mouse enters the trigger until the hover card opens.
60
+ */
61
+ opendelay?: number;
62
+ /**
63
+ * The duration from when the mouse leaves the trigger or content until the hover card closes.
64
+ */
65
+ closedelay?: number;
66
+ /**
67
+ *
68
+ */
69
+ ui?: {
70
+ content?: ClassNameValue;
71
+ arrow?: ClassNameValue;
72
+ };
73
+ /**
74
+ * @default `outline`
75
+ */
76
+ variant?: ButtonProps['variant'];
77
+ /**
78
+ * @default primary
79
+ */
80
+ color?: PropColor;
81
+ /**
82
+ *
83
+ */
84
+ class?: ClassNameValue;
85
+ };
86
+ declare const Popover: import("svelte").Component<PopoverProps, {}, "open">;
87
+ type Popover = ReturnType<typeof Popover>;
88
+ export default Popover;
@@ -0,0 +1,124 @@
1
+ <script module lang="ts">
2
+ import type { PropColor } from '../index.js';
3
+ import type { ClassNameValue } from 'tailwind-merge';
4
+ import { tv } from 'tailwind-variants';
5
+
6
+ export type ProgressProps = {
7
+ value?: number;
8
+ max?: number | string[];
9
+ animation?: 'swing' | 'carousel' | 'carousel-inverse' | 'elastic';
10
+ orientation?: 'horizontal' | 'veritcal';
11
+ color?: PropColor;
12
+ height?: number;
13
+ inverted?: boolean;
14
+ status?: boolean;
15
+ ui?: {
16
+ base?: ClassNameValue;
17
+ header?: ClassNameValue;
18
+ content?: ClassNameValue;
19
+ footer?: ClassNameValue;
20
+ };
21
+ };
22
+ </script>
23
+
24
+ <script lang="ts">
25
+ let {
26
+ max,
27
+ animation,
28
+ inverted,
29
+ status,
30
+ value,
31
+ orientation = 'horizontal',
32
+ color = 'primary',
33
+ height = '',
34
+ ui = {}
35
+ }: ProgressProps = $props();
36
+
37
+ const percentage = $derived.by(() => {
38
+ if (value === undefined) return null;
39
+ if (Array.isArray(max)) return (value / (max.length - 1)) * 100;
40
+
41
+ return (value / (max || 100)) * 100;
42
+ });
43
+ const indeterminate = $derived.by(() => {
44
+ if (value === undefined || percentage === null) return true;
45
+ if (value < 0) return true;
46
+ if (percentage > 100) return true;
47
+
48
+ return false;
49
+ });
50
+ const classes = $derived.by(() =>
51
+ tv({
52
+ slots: {
53
+ root: 'relative w-full rounded-full overflow-hidden bg-surface-300',
54
+ status: '',
55
+ indicator: 'absolute transition-all rounded-full',
56
+ steps: ''
57
+ },
58
+ variants: {
59
+ color: {
60
+ primary: {
61
+ indicator: 'bg-primary-500'
62
+ },
63
+ surface: {
64
+ indicator: 'bg-surface-500'
65
+ },
66
+ info: {
67
+ indicator: 'bg-info-500'
68
+ },
69
+ success: {
70
+ indicator: 'bg-success-500'
71
+ },
72
+ warning: {
73
+ indicator: 'bg-warning-500'
74
+ },
75
+ error: {
76
+ indicator: 'bg-error-500'
77
+ }
78
+ },
79
+ animation: {
80
+ swing: [indeterminate ? 'animate-[swing_2s_ease-in-out_infinite' : ''],
81
+ carousel: [indeterminate ? '' : ''],
82
+ 'carousel-inverse': [indeterminate ? '' : ''],
83
+ elastic: [indeterminate ? '' : '']
84
+ }
85
+ },
86
+ compoundVariants: []
87
+ })({
88
+ color,
89
+ animation: animation ?? 'swing'
90
+ })
91
+ );
92
+ </script>
93
+
94
+ <div data-state-indeterminate={indeterminate}>
95
+ <div class={classes.root({ class: [ui.base] })} style:height={`${height || 8}px`}>
96
+ <span class={classes.indicator({ class: ['h-full left-0'] })} style:width={`${percentage}%`}>
97
+ </span>
98
+ </div>
99
+
100
+ {#if Array.isArray(max)}
101
+ <p
102
+ class={[
103
+ 'text-right transition',
104
+ value && value > 0 && max[value] ? 'text-primary-500' : 'text-surface-500'
105
+ ]}
106
+ >
107
+ {(value && max[value]) || max[0]}
108
+ </p>
109
+ {/if}
110
+ </div>
111
+
112
+ <style>
113
+ @keyframe swing {
114
+ 0% {
115
+ width: 0%;
116
+ }
117
+ 50% {
118
+ width: 100%;
119
+ }
120
+ 100% {
121
+ width: 0%;
122
+ }
123
+ }
124
+ </style>
@@ -0,0 +1,21 @@
1
+ import type { PropColor } from '../index.js';
2
+ import type { ClassNameValue } from 'tailwind-merge';
3
+ export type ProgressProps = {
4
+ value?: number;
5
+ max?: number | string[];
6
+ animation?: 'swing' | 'carousel' | 'carousel-inverse' | 'elastic';
7
+ orientation?: 'horizontal' | 'veritcal';
8
+ color?: PropColor;
9
+ height?: number;
10
+ inverted?: boolean;
11
+ status?: boolean;
12
+ ui?: {
13
+ base?: ClassNameValue;
14
+ header?: ClassNameValue;
15
+ content?: ClassNameValue;
16
+ footer?: ClassNameValue;
17
+ };
18
+ };
19
+ declare const Progress: import("svelte").Component<ProgressProps, {}, "">;
20
+ type Progress = ReturnType<typeof Progress>;
21
+ export default Progress;