svelora 3.0.5 → 3.0.7
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.
- package/dist/BentoGrid/BentoCard.svelte +45 -0
- package/dist/BentoGrid/BentoCard.svelte.d.ts +4 -0
- package/dist/BentoGrid/BentoGrid.svelte +9 -0
- package/dist/BentoGrid/BentoGrid.svelte.d.ts +4 -0
- package/dist/BentoGrid/bento-grid.types.d.ts +47 -0
- package/dist/BentoGrid/bento-grid.types.js +1 -0
- package/dist/BentoGrid/bento-grid.variants.d.ts +30 -0
- package/dist/BentoGrid/bento-grid.variants.js +16 -0
- package/dist/BentoGrid/index.d.ts +5 -0
- package/dist/BentoGrid/index.js +5 -0
- package/dist/Chart/Chart.svelte +47 -0
- package/dist/Chart/Chart.svelte.d.ts +4 -0
- package/dist/Chart/chart.types.d.ts +20 -0
- package/dist/Chart/chart.types.js +1 -0
- package/dist/Chart/chart.variants.d.ts +3 -0
- package/dist/Chart/chart.variants.js +4 -0
- package/dist/Chart/index.d.ts +4 -0
- package/dist/Chart/index.js +4 -0
- package/dist/Chat/ChatBubble.svelte +30 -0
- package/dist/Chat/ChatBubble.svelte.d.ts +4 -0
- package/dist/Chat/ChatInput.svelte +50 -0
- package/dist/Chat/ChatInput.svelte.d.ts +4 -0
- package/dist/Chat/ChatMessage.svelte +15 -0
- package/dist/Chat/ChatMessage.svelte.d.ts +4 -0
- package/dist/Chat/chat.types.d.ts +63 -0
- package/dist/Chat/chat.types.js +1 -0
- package/dist/Chat/chat.variants.d.ts +117 -0
- package/dist/Chat/chat.variants.js +47 -0
- package/dist/Chat/index.d.ts +6 -0
- package/dist/Chat/index.js +6 -0
- package/dist/ColorPicker/ColorPicker.svelte +109 -0
- package/dist/ColorPicker/ColorPicker.svelte.d.ts +4 -0
- package/dist/ColorPicker/color-picker.types.d.ts +26 -0
- package/dist/ColorPicker/color-picker.types.js +1 -0
- package/dist/ColorPicker/color-picker.variants.d.ts +69 -0
- package/dist/ColorPicker/color-picker.variants.js +13 -0
- package/dist/ColorPicker/index.d.ts +4 -0
- package/dist/ColorPicker/index.js +4 -0
- package/dist/DateRangePicker/DateRangePicker.svelte +59 -0
- package/dist/DateRangePicker/DateRangePicker.svelte.d.ts +4 -0
- package/dist/DateRangePicker/date-range-picker.types.d.ts +34 -0
- package/dist/DateRangePicker/date-range-picker.types.js +1 -0
- package/dist/DateRangePicker/date-range-picker.variants.d.ts +39 -0
- package/dist/DateRangePicker/date-range-picker.variants.js +20 -0
- package/dist/DateRangePicker/index.d.ts +4 -0
- package/dist/DateRangePicker/index.js +4 -0
- package/dist/Fonts/fonts.js +3 -1
- package/dist/Link/Link.context-harness.svelte +8 -0
- package/dist/Link/Link.context-harness.svelte.d.ts +7 -0
- package/dist/Link/Link.svelte +57 -30
- package/dist/Link/index.d.ts +2 -0
- package/dist/Link/index.js +1 -0
- package/dist/Link/location-context.d.ts +4 -0
- package/dist/Link/location-context.js +1 -0
- package/dist/List/List.svelte +14 -0
- package/dist/List/List.svelte.d.ts +4 -0
- package/dist/List/ListItem.svelte +64 -0
- package/dist/List/ListItem.svelte.d.ts +4 -0
- package/dist/List/index.d.ts +5 -0
- package/dist/List/index.js +5 -0
- package/dist/List/list.types.d.ts +62 -0
- package/dist/List/list.types.js +1 -0
- package/dist/List/list.variants.d.ts +99 -0
- package/dist/List/list.variants.js +42 -0
- package/dist/Marquee/Marquee.svelte +50 -0
- package/dist/Marquee/Marquee.svelte.d.ts +4 -0
- package/dist/Marquee/index.d.ts +4 -0
- package/dist/Marquee/index.js +4 -0
- package/dist/Marquee/marquee.types.d.ts +38 -0
- package/dist/Marquee/marquee.types.js +1 -0
- package/dist/Marquee/marquee.variants.d.ts +78 -0
- package/dist/Marquee/marquee.variants.js +28 -0
- package/dist/Menu/Menu.svelte +134 -0
- package/dist/Menu/Menu.svelte.d.ts +4 -0
- package/dist/Menu/index.d.ts +4 -0
- package/dist/Menu/index.js +4 -0
- package/dist/Menu/menu.types.d.ts +82 -0
- package/dist/Menu/menu.types.js +1 -0
- package/dist/Menu/menu.variants.d.ts +46 -0
- package/dist/Menu/menu.variants.js +32 -0
- package/dist/NumberTicker/NumberTicker.svelte +59 -0
- package/dist/NumberTicker/NumberTicker.svelte.d.ts +4 -0
- package/dist/NumberTicker/index.d.ts +4 -0
- package/dist/NumberTicker/index.js +4 -0
- package/dist/NumberTicker/number-ticker.types.d.ts +26 -0
- package/dist/NumberTicker/number-ticker.types.js +1 -0
- package/dist/NumberTicker/number-ticker.variants.d.ts +27 -0
- package/dist/NumberTicker/number-ticker.variants.js +6 -0
- package/dist/PasswordInput/PasswordInput.svelte +74 -0
- package/dist/PasswordInput/PasswordInput.svelte.d.ts +4 -0
- package/dist/PasswordInput/index.d.ts +4 -0
- package/dist/PasswordInput/index.js +4 -0
- package/dist/PasswordInput/password-input.types.d.ts +18 -0
- package/dist/PasswordInput/password-input.types.js +1 -0
- package/dist/PasswordInput/password-input.variants.d.ts +57 -0
- package/dist/PasswordInput/password-input.variants.js +11 -0
- package/dist/Prose/Prose.svelte +13 -0
- package/dist/Prose/Prose.svelte.d.ts +4 -0
- package/dist/Prose/index.d.ts +4 -0
- package/dist/Prose/index.js +4 -0
- package/dist/Prose/prose.types.d.ts +22 -0
- package/dist/Prose/prose.types.js +1 -0
- package/dist/Prose/prose.variants.d.ts +45 -0
- package/dist/Prose/prose.variants.js +45 -0
- package/dist/Rating/Rating.svelte +93 -0
- package/dist/Rating/Rating.svelte.d.ts +4 -0
- package/dist/Rating/index.d.ts +4 -0
- package/dist/Rating/index.js +4 -0
- package/dist/Rating/rating.types.d.ts +59 -0
- package/dist/Rating/rating.types.js +1 -0
- package/dist/Rating/rating.variants.d.ts +93 -0
- package/dist/Rating/rating.variants.js +32 -0
- package/dist/Resizable/Resizable.svelte +9 -0
- package/dist/Resizable/Resizable.svelte.d.ts +4 -0
- package/dist/Resizable/index.d.ts +4 -0
- package/dist/Resizable/index.js +4 -0
- package/dist/Resizable/resizable.types.d.ts +18 -0
- package/dist/Resizable/resizable.types.js +1 -0
- package/dist/Resizable/resizable.variants.d.ts +48 -0
- package/dist/Resizable/resizable.variants.js +17 -0
- package/dist/ScrollArea/ScrollArea.svelte +54 -0
- package/dist/ScrollArea/ScrollArea.svelte.d.ts +4 -0
- package/dist/ScrollArea/index.d.ts +4 -0
- package/dist/ScrollArea/index.js +4 -0
- package/dist/ScrollArea/scroll-area.types.d.ts +27 -0
- package/dist/ScrollArea/scroll-area.types.js +1 -0
- package/dist/ScrollArea/scroll-area.variants.d.ts +45 -0
- package/dist/ScrollArea/scroll-area.variants.js +27 -0
- package/dist/SelectMenu/SelectMenu.svelte +46 -14
- package/dist/Sidebar/Sidebar.svelte +30 -0
- package/dist/Sidebar/Sidebar.svelte.d.ts +4 -0
- package/dist/Sidebar/index.d.ts +4 -0
- package/dist/Sidebar/index.js +4 -0
- package/dist/Sidebar/sidebar.types.d.ts +31 -0
- package/dist/Sidebar/sidebar.types.js +1 -0
- package/dist/Sidebar/sidebar.variants.d.ts +69 -0
- package/dist/Sidebar/sidebar.variants.js +23 -0
- package/dist/Spotlight/Spotlight.svelte +31 -0
- package/dist/Spotlight/Spotlight.svelte.d.ts +4 -0
- package/dist/Spotlight/index.d.ts +4 -0
- package/dist/Spotlight/index.js +4 -0
- package/dist/Spotlight/spotlight.types.d.ts +22 -0
- package/dist/Spotlight/spotlight.types.js +1 -0
- package/dist/Spotlight/spotlight.variants.d.ts +39 -0
- package/dist/Spotlight/spotlight.variants.js +8 -0
- package/dist/Stepper/Stepper.svelte +12 -9
- package/dist/TagsInput/TagsInput.svelte +100 -0
- package/dist/TagsInput/TagsInput.svelte.d.ts +4 -0
- package/dist/TagsInput/index.d.ts +4 -0
- package/dist/TagsInput/index.js +4 -0
- package/dist/TagsInput/tags-input.types.d.ts +32 -0
- package/dist/TagsInput/tags-input.types.js +1 -0
- package/dist/TagsInput/tags-input.variants.d.ts +45 -0
- package/dist/TagsInput/tags-input.variants.js +22 -0
- package/dist/TreeView/TreeView.svelte +95 -0
- package/dist/TreeView/TreeView.svelte.d.ts +4 -0
- package/dist/TreeView/index.d.ts +4 -0
- package/dist/TreeView/index.js +4 -0
- package/dist/TreeView/tree-view.types.d.ts +68 -0
- package/dist/TreeView/tree-view.types.js +1 -0
- package/dist/TreeView/tree-view.variants.d.ts +69 -0
- package/dist/TreeView/tree-view.variants.js +30 -0
- package/dist/docs/navigation.js +162 -0
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.js +9 -0
- package/dist/hooks/useDebouncedState.svelte.d.ts +30 -0
- package/dist/hooks/useDebouncedState.svelte.js +45 -0
- package/dist/hooks/useEventListener.svelte.d.ts +30 -0
- package/dist/hooks/useEventListener.svelte.js +16 -0
- package/dist/hooks/useFocusTrap.svelte.d.ts +42 -0
- package/dist/hooks/useFocusTrap.svelte.js +87 -0
- package/dist/hooks/useIntersectionObserver.svelte.d.ts +30 -0
- package/dist/hooks/useIntersectionObserver.svelte.js +46 -0
- package/dist/hooks/useLocalStorage.svelte.d.ts +39 -0
- package/dist/hooks/useLocalStorage.svelte.js +73 -0
- package/dist/hooks/useResizeObserver.svelte.d.ts +50 -0
- package/dist/hooks/useResizeObserver.svelte.js +71 -0
- package/dist/hooks/useScrollLock.svelte.d.ts +28 -0
- package/dist/hooks/useScrollLock.svelte.js +79 -0
- package/dist/hooks/useThrottle.svelte.d.ts +37 -0
- package/dist/hooks/useThrottle.svelte.js +72 -0
- package/dist/hooks/useTimers.svelte.d.ts +62 -0
- package/dist/hooks/useTimers.svelte.js +90 -0
- package/dist/hooks/utils.d.ts +1 -0
- package/dist/hooks/utils.js +3 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +18 -0
- package/dist/mcp/svelora-docs.data.json +59 -5
- package/package.json +8 -6
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reactive throttle hook. Caps how often a callback runs to at most once per
|
|
3
|
+
* `delay`, with leading and trailing invocation.
|
|
4
|
+
*
|
|
5
|
+
* The companion to `useDebounce`: debounce waits for a pause, throttle
|
|
6
|
+
* guarantees a steady maximum rate — ideal for scroll, resize, mousemove, and
|
|
7
|
+
* drag handlers. The first call runs immediately; calls during the cooldown
|
|
8
|
+
* window are coalesced into a single trailing call (latest wins). Any pending
|
|
9
|
+
* timer is cleared on teardown.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```svelte
|
|
13
|
+
* <script>
|
|
14
|
+
* import { useThrottle } from 'svelora'
|
|
15
|
+
*
|
|
16
|
+
* const throttle = useThrottle({ delay: 100 })
|
|
17
|
+
*
|
|
18
|
+
* function onScroll() {
|
|
19
|
+
* throttle.run(() => updatePosition(window.scrollY))
|
|
20
|
+
* }
|
|
21
|
+
* </script>
|
|
22
|
+
*
|
|
23
|
+
* <svelte:window onscroll={onScroll} />
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export function useThrottle(options = {}) {
|
|
27
|
+
const { delay = 200 } = options;
|
|
28
|
+
let pending = $state(false);
|
|
29
|
+
let timeoutId;
|
|
30
|
+
let trailing;
|
|
31
|
+
function start() {
|
|
32
|
+
timeoutId = setTimeout(() => {
|
|
33
|
+
if (trailing) {
|
|
34
|
+
const callback = trailing;
|
|
35
|
+
trailing = undefined;
|
|
36
|
+
pending = false;
|
|
37
|
+
callback();
|
|
38
|
+
start();
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
timeoutId = undefined;
|
|
42
|
+
pending = false;
|
|
43
|
+
}
|
|
44
|
+
}, delay);
|
|
45
|
+
}
|
|
46
|
+
function run(callback) {
|
|
47
|
+
if (timeoutId === undefined) {
|
|
48
|
+
callback();
|
|
49
|
+
start();
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
trailing = callback;
|
|
53
|
+
pending = true;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function cancel() {
|
|
57
|
+
clearTimeout(timeoutId);
|
|
58
|
+
timeoutId = undefined;
|
|
59
|
+
trailing = undefined;
|
|
60
|
+
pending = false;
|
|
61
|
+
}
|
|
62
|
+
$effect(() => {
|
|
63
|
+
return () => clearTimeout(timeoutId);
|
|
64
|
+
});
|
|
65
|
+
return {
|
|
66
|
+
get pending() {
|
|
67
|
+
return pending;
|
|
68
|
+
},
|
|
69
|
+
run,
|
|
70
|
+
cancel
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
type MaybeGetter<T> = T | (() => T);
|
|
2
|
+
export interface UseIntervalOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the interval is paused. Accepts a value or a reactive getter.
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
paused?: boolean | (() => boolean);
|
|
8
|
+
}
|
|
9
|
+
interface UseIntervalReturn {
|
|
10
|
+
/** Pause ticking. */
|
|
11
|
+
pause(): void;
|
|
12
|
+
/** Resume ticking. */
|
|
13
|
+
resume(): void;
|
|
14
|
+
/** Whether the interval is currently ticking. */
|
|
15
|
+
readonly active: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface UseTimeoutReturn {
|
|
18
|
+
/** Cancel the pending timeout, then schedule a fresh one. */
|
|
19
|
+
restart(): void;
|
|
20
|
+
/** Cancel the pending timeout. */
|
|
21
|
+
cancel(): void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Run a callback on an interval with proper runes teardown.
|
|
25
|
+
*
|
|
26
|
+
* The delay may be a value or a getter; changing it restarts the interval with
|
|
27
|
+
* the new period. A `null`/`undefined` or non-positive delay disables it, as
|
|
28
|
+
* does `pause()` or the `paused` option. SSR-safe: no timer runs on the server.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```svelte
|
|
32
|
+
* <script>
|
|
33
|
+
* import { useInterval } from 'svelora'
|
|
34
|
+
*
|
|
35
|
+
* let count = $state(0)
|
|
36
|
+
* const timer = useInterval(() => count++, 1000)
|
|
37
|
+
* </script>
|
|
38
|
+
*
|
|
39
|
+
* <button onclick={timer.pause}>Pause</button>
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare function useInterval(callback: () => void, delay: MaybeGetter<number | null | undefined>, options?: UseIntervalOptions): UseIntervalReturn;
|
|
43
|
+
/**
|
|
44
|
+
* Schedule a callback to run once after a delay, with proper runes teardown.
|
|
45
|
+
*
|
|
46
|
+
* Starts on mount. The delay may be a value or a getter; changing it restarts
|
|
47
|
+
* the timer. A `null`/`undefined` or negative delay schedules nothing. SSR-safe:
|
|
48
|
+
* no timer runs on the server.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```svelte
|
|
52
|
+
* <script>
|
|
53
|
+
* import { useTimeout } from 'svelora'
|
|
54
|
+
*
|
|
55
|
+
* const timer = useTimeout(() => (visible = false), 3000)
|
|
56
|
+
* </script>
|
|
57
|
+
*
|
|
58
|
+
* <button onclick={timer.restart}>Reset</button>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare function useTimeout(callback: () => void, delay: MaybeGetter<number | null | undefined>): UseTimeoutReturn;
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { toGetter } from './utils.js';
|
|
2
|
+
/**
|
|
3
|
+
* Run a callback on an interval with proper runes teardown.
|
|
4
|
+
*
|
|
5
|
+
* The delay may be a value or a getter; changing it restarts the interval with
|
|
6
|
+
* the new period. A `null`/`undefined` or non-positive delay disables it, as
|
|
7
|
+
* does `pause()` or the `paused` option. SSR-safe: no timer runs on the server.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```svelte
|
|
11
|
+
* <script>
|
|
12
|
+
* import { useInterval } from 'svelora'
|
|
13
|
+
*
|
|
14
|
+
* let count = $state(0)
|
|
15
|
+
* const timer = useInterval(() => count++, 1000)
|
|
16
|
+
* </script>
|
|
17
|
+
*
|
|
18
|
+
* <button onclick={timer.pause}>Pause</button>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export function useInterval(callback, delay, options = {}) {
|
|
22
|
+
const resolveDelay = toGetter(delay);
|
|
23
|
+
const resolvePaused = toGetter(options.paused ?? false);
|
|
24
|
+
let manuallyPaused = $state(false);
|
|
25
|
+
const active = $derived.by(() => {
|
|
26
|
+
if (manuallyPaused || resolvePaused())
|
|
27
|
+
return false;
|
|
28
|
+
const ms = resolveDelay();
|
|
29
|
+
return typeof ms === 'number' && ms > 0;
|
|
30
|
+
});
|
|
31
|
+
$effect(() => {
|
|
32
|
+
if (!active)
|
|
33
|
+
return;
|
|
34
|
+
const ms = resolveDelay();
|
|
35
|
+
if (typeof ms !== 'number' || ms <= 0)
|
|
36
|
+
return;
|
|
37
|
+
const id = setInterval(callback, ms);
|
|
38
|
+
return () => clearInterval(id);
|
|
39
|
+
});
|
|
40
|
+
return {
|
|
41
|
+
pause() {
|
|
42
|
+
manuallyPaused = true;
|
|
43
|
+
},
|
|
44
|
+
resume() {
|
|
45
|
+
manuallyPaused = false;
|
|
46
|
+
},
|
|
47
|
+
get active() {
|
|
48
|
+
return active;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Schedule a callback to run once after a delay, with proper runes teardown.
|
|
54
|
+
*
|
|
55
|
+
* Starts on mount. The delay may be a value or a getter; changing it restarts
|
|
56
|
+
* the timer. A `null`/`undefined` or negative delay schedules nothing. SSR-safe:
|
|
57
|
+
* no timer runs on the server.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```svelte
|
|
61
|
+
* <script>
|
|
62
|
+
* import { useTimeout } from 'svelora'
|
|
63
|
+
*
|
|
64
|
+
* const timer = useTimeout(() => (visible = false), 3000)
|
|
65
|
+
* </script>
|
|
66
|
+
*
|
|
67
|
+
* <button onclick={timer.restart}>Reset</button>
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
export function useTimeout(callback, delay) {
|
|
71
|
+
const resolveDelay = toGetter(delay);
|
|
72
|
+
let timeoutId;
|
|
73
|
+
let restartToken = $state(0);
|
|
74
|
+
$effect(() => {
|
|
75
|
+
void restartToken;
|
|
76
|
+
const ms = resolveDelay();
|
|
77
|
+
if (typeof ms !== 'number' || ms < 0)
|
|
78
|
+
return;
|
|
79
|
+
timeoutId = setTimeout(callback, ms);
|
|
80
|
+
return () => clearTimeout(timeoutId);
|
|
81
|
+
});
|
|
82
|
+
return {
|
|
83
|
+
restart() {
|
|
84
|
+
restartToken++;
|
|
85
|
+
},
|
|
86
|
+
cancel() {
|
|
87
|
+
clearTimeout(timeoutId);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toGetter<T>(value: T | (() => T)): () => T;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,11 +6,13 @@ export * from './Avatar/index.js';
|
|
|
6
6
|
export * from './AvatarGroup/index.js';
|
|
7
7
|
export * from './Badge/index.js';
|
|
8
8
|
export * from './Banner/index.js';
|
|
9
|
+
export * from './BentoGrid/index.js';
|
|
9
10
|
export * from './Breadcrumb/index.js';
|
|
10
11
|
export * from './Button/index.js';
|
|
11
12
|
export * from './Calendar/index.js';
|
|
12
13
|
export * from './Card/index.js';
|
|
13
14
|
export * from './Carousel/index.js';
|
|
15
|
+
export * from './Chat/index.js';
|
|
14
16
|
export * from './Checkbox/index.js';
|
|
15
17
|
export * from './CheckboxGroup/index.js';
|
|
16
18
|
export * from './Chip/index.js';
|
|
@@ -21,6 +23,7 @@ export * from './Container/index.js';
|
|
|
21
23
|
export * from './ContextMenu/index.js';
|
|
22
24
|
export type { UIConfig } from './config.js';
|
|
23
25
|
export { defineConfig } from './config.js';
|
|
26
|
+
export * from './DateRangePicker/index.js';
|
|
24
27
|
export * from './Drawer/index.js';
|
|
25
28
|
export * from './DropdownMenu/index.js';
|
|
26
29
|
export * from './Empty/index.js';
|
|
@@ -34,26 +37,41 @@ export * from './Icon/index.js';
|
|
|
34
37
|
export * from './Input/index.js';
|
|
35
38
|
export * from './Kbd/index.js';
|
|
36
39
|
export * from './Link/index.js';
|
|
40
|
+
export * from './List/index.js';
|
|
37
41
|
export * from './LocaleButton/index.js';
|
|
42
|
+
export * from './Marquee/index.js';
|
|
43
|
+
export * from './Menu/index.js';
|
|
38
44
|
export * from './Modal/index.js';
|
|
45
|
+
export * from './NumberTicker/index.js';
|
|
39
46
|
export * from './Pagination/index.js';
|
|
47
|
+
export * from './PasswordInput/index.js';
|
|
40
48
|
export * from './PinInput/index.js';
|
|
41
49
|
export * from './Popover/index.js';
|
|
42
50
|
export * from './Progress/index.js';
|
|
51
|
+
export * from './Prose/index.js';
|
|
43
52
|
export * from './RadioGroup/index.js';
|
|
53
|
+
export * from './Rating/index.js';
|
|
54
|
+
export * from './Resizable/index.js';
|
|
55
|
+
export * from './ScrollArea/index.js';
|
|
44
56
|
export * from './Select/index.js';
|
|
45
57
|
export * from './SelectMenu/index.js';
|
|
46
58
|
export * from './Separator/index.js';
|
|
59
|
+
export * from './Sidebar/index.js';
|
|
47
60
|
export * from './Skeleton/index.js';
|
|
48
61
|
export * from './Slideover/index.js';
|
|
49
62
|
export * from './Slider/index.js';
|
|
63
|
+
export * from './Spotlight/index.js';
|
|
50
64
|
export * from './Stepper/index.js';
|
|
51
65
|
export * from './Switch/index.js';
|
|
52
66
|
export * from './Table/index.js';
|
|
53
67
|
export * from './Tabs/index.js';
|
|
68
|
+
export * from './TagsInput/index.js';
|
|
54
69
|
export * from './Textarea/index.js';
|
|
55
70
|
export * from './ThemeModeButton/index.js';
|
|
56
71
|
export * from './Timeline/index.js';
|
|
57
72
|
export * from './Toast/index.js';
|
|
58
73
|
export * from './Tooltip/index.js';
|
|
74
|
+
export * from './TreeView/index.js';
|
|
59
75
|
export * from './User/index.js';
|
|
76
|
+
export * from './Chart/index.js';
|
|
77
|
+
export * from './ColorPicker/index.js';
|
package/dist/index.js
CHANGED
|
@@ -6,11 +6,13 @@ export * from './Avatar/index.js';
|
|
|
6
6
|
export * from './AvatarGroup/index.js';
|
|
7
7
|
export * from './Badge/index.js';
|
|
8
8
|
export * from './Banner/index.js';
|
|
9
|
+
export * from './BentoGrid/index.js';
|
|
9
10
|
export * from './Breadcrumb/index.js';
|
|
10
11
|
export * from './Button/index.js';
|
|
11
12
|
export * from './Calendar/index.js';
|
|
12
13
|
export * from './Card/index.js';
|
|
13
14
|
export * from './Carousel/index.js';
|
|
15
|
+
export * from './Chat/index.js';
|
|
14
16
|
export * from './Checkbox/index.js';
|
|
15
17
|
export * from './CheckboxGroup/index.js';
|
|
16
18
|
export * from './Chip/index.js';
|
|
@@ -21,6 +23,7 @@ export * from './Container/index.js';
|
|
|
21
23
|
export * from './ContextMenu/index.js';
|
|
22
24
|
// Configuration
|
|
23
25
|
export { defineConfig } from './config.js';
|
|
26
|
+
export * from './DateRangePicker/index.js';
|
|
24
27
|
export * from './Drawer/index.js';
|
|
25
28
|
export * from './DropdownMenu/index.js';
|
|
26
29
|
export * from './Empty/index.js';
|
|
@@ -35,26 +38,41 @@ export * from './Icon/index.js';
|
|
|
35
38
|
export * from './Input/index.js';
|
|
36
39
|
export * from './Kbd/index.js';
|
|
37
40
|
export * from './Link/index.js';
|
|
41
|
+
export * from './List/index.js';
|
|
38
42
|
export * from './LocaleButton/index.js';
|
|
43
|
+
export * from './Marquee/index.js';
|
|
44
|
+
export * from './Menu/index.js';
|
|
39
45
|
export * from './Modal/index.js';
|
|
46
|
+
export * from './NumberTicker/index.js';
|
|
40
47
|
export * from './Pagination/index.js';
|
|
48
|
+
export * from './PasswordInput/index.js';
|
|
41
49
|
export * from './PinInput/index.js';
|
|
42
50
|
export * from './Popover/index.js';
|
|
43
51
|
export * from './Progress/index.js';
|
|
52
|
+
export * from './Prose/index.js';
|
|
44
53
|
export * from './RadioGroup/index.js';
|
|
54
|
+
export * from './Rating/index.js';
|
|
55
|
+
export * from './Resizable/index.js';
|
|
56
|
+
export * from './ScrollArea/index.js';
|
|
45
57
|
export * from './Select/index.js';
|
|
46
58
|
export * from './SelectMenu/index.js';
|
|
47
59
|
export * from './Separator/index.js';
|
|
60
|
+
export * from './Sidebar/index.js';
|
|
48
61
|
export * from './Skeleton/index.js';
|
|
49
62
|
export * from './Slideover/index.js';
|
|
50
63
|
export * from './Slider/index.js';
|
|
64
|
+
export * from './Spotlight/index.js';
|
|
51
65
|
export * from './Stepper/index.js';
|
|
52
66
|
export * from './Switch/index.js';
|
|
53
67
|
export * from './Table/index.js';
|
|
54
68
|
export * from './Tabs/index.js';
|
|
69
|
+
export * from './TagsInput/index.js';
|
|
55
70
|
export * from './Textarea/index.js';
|
|
56
71
|
export * from './ThemeModeButton/index.js';
|
|
57
72
|
export * from './Timeline/index.js';
|
|
58
73
|
export * from './Toast/index.js';
|
|
59
74
|
export * from './Tooltip/index.js';
|
|
75
|
+
export * from './TreeView/index.js';
|
|
60
76
|
export * from './User/index.js';
|
|
77
|
+
export * from './Chart/index.js';
|
|
78
|
+
export * from './ColorPicker/index.js';
|