@digo-labs/ui 0.1.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/animation/motion-animate-presence.d.ts +15 -0
- package/dist/blocks/auth-guard.d.ts +7 -0
- package/dist/blocks/card.d.ts +20 -0
- package/dist/blocks/chat-thread.d.ts +15 -0
- package/dist/blocks/command-button.d.ts +9 -0
- package/dist/blocks/copy-paste-button.d.ts +9 -0
- package/dist/blocks/dropzone.d.ts +23 -0
- package/dist/blocks/font-picker.d.ts +8 -0
- package/dist/blocks/google-signin-button.d.ts +8 -0
- package/dist/blocks/image-dropzone.d.ts +11 -0
- package/dist/blocks/navbar.d.ts +9 -0
- package/dist/blocks/palette-picker.d.ts +9 -0
- package/dist/blocks/parameter-color-swatch-picker.d.ts +9 -0
- package/dist/blocks/parameter-color.d.ts +10 -0
- package/dist/blocks/parameter-combobox.d.ts +18 -0
- package/dist/blocks/parameter-files.d.ts +9 -0
- package/dist/blocks/parameter-font-picker.d.ts +9 -0
- package/dist/blocks/parameter-image.d.ts +9 -0
- package/dist/blocks/parameter-number.d.ts +10 -0
- package/dist/blocks/parameter-palette-picker.d.ts +10 -0
- package/dist/blocks/parameter-preset-picker.d.ts +10 -0
- package/dist/blocks/parameter-select.d.ts +17 -0
- package/dist/blocks/parameter-shadow-group.d.ts +16 -0
- package/dist/blocks/parameter-slider.d.ts +10 -0
- package/dist/blocks/parameter-switch.d.ts +9 -0
- package/dist/blocks/parameter-text-area.d.ts +9 -0
- package/dist/blocks/parameter-text.d.ts +9 -0
- package/dist/blocks/parameter-toggle-group.d.ts +18 -0
- package/dist/blocks/parameter-toggle.d.ts +11 -0
- package/dist/blocks/parameter-typography-group.d.ts +16 -0
- package/dist/blocks/placeholder.d.ts +13 -0
- package/dist/blocks/preset-picker.d.ts +9 -0
- package/dist/blocks/prompt-input.d.ts +43 -0
- package/dist/blocks/switch-theme.d.ts +7 -0
- package/dist/blocks/toggle-theme.d.ts +3 -0
- package/dist/blocks/transparent-background.d.ts +6 -0
- package/dist/components/accordion.d.ts +9 -0
- package/dist/components/alert.d.ts +11 -0
- package/dist/components/autocomplete.d.ts +31 -0
- package/dist/components/button.d.ts +6 -0
- package/dist/components/chart.d.ts +43 -0
- package/dist/components/checkbox.d.ts +6 -0
- package/dist/components/code-block.d.ts +16 -0
- package/dist/components/collapsible.d.ts +20 -0
- package/dist/components/color-area.d.ts +7 -0
- package/dist/components/color-field.d.ts +7 -0
- package/dist/components/color-input.d.ts +11 -0
- package/dist/components/color-picker.d.ts +18 -0
- package/dist/components/color-slider.d.ts +11 -0
- package/dist/components/color-swatch-picker.d.ts +9 -0
- package/dist/components/color-swatch.d.ts +8 -0
- package/dist/components/combobox.d.ts +44 -0
- package/dist/components/command.d.ts +24 -0
- package/dist/components/drawer.d.ts +23 -0
- package/dist/components/empty.d.ts +18 -0
- package/dist/components/field-set.d.ts +7 -0
- package/dist/components/field.d.ts +12 -0
- package/dist/components/form.d.ts +6 -0
- package/dist/components/group.d.ts +12 -0
- package/dist/components/icon.d.ts +7 -0
- package/dist/components/image.d.ts +9 -0
- package/dist/components/input-group.d.ts +15 -0
- package/dist/components/input.d.ts +8 -0
- package/dist/components/kbd.d.ts +7 -0
- package/dist/components/label.d.ts +6 -0
- package/dist/components/loader.d.ts +12 -0
- package/dist/components/masonry.d.ts +8 -0
- package/dist/components/navigation-menu.d.ts +14 -0
- package/dist/components/number-field.d.ts +10 -0
- package/dist/components/pagination.d.ts +16 -0
- package/dist/components/parameter-group.d.ts +12 -0
- package/dist/components/parameter.d.ts +21 -0
- package/dist/components/popover.d.ts +11 -0
- package/dist/components/progress.d.ts +10 -0
- package/dist/components/reorder-list.d.ts +1 -0
- package/dist/components/scroll-area.d.ts +10 -0
- package/dist/components/select.d.ts +23 -0
- package/dist/components/separator.d.ts +6 -0
- package/dist/components/sidebar.d.ts +21 -0
- package/dist/components/slider.d.ts +17 -0
- package/dist/components/spacer.d.ts +6 -0
- package/dist/components/spinner.d.ts +12 -0
- package/dist/components/switch.d.ts +10 -0
- package/dist/components/table-of-contents.d.ts +22 -0
- package/dist/components/tabs.d.ts +9 -0
- package/dist/components/text-area.d.ts +9 -0
- package/dist/components/tint-image.d.ts +7 -0
- package/dist/components/toast.d.ts +9 -0
- package/dist/components/toggle-group.d.ts +10 -0
- package/dist/components/toggle.d.ts +6 -0
- package/dist/components/tooltip.d.ts +21 -0
- package/dist/cursors/cursor-bracket.d.ts +11 -0
- package/dist/cursors/cursor-clipping.d.ts +9 -0
- package/dist/cursors/cursor-container.d.ts +18 -0
- package/dist/effects/border-glow.d.ts +23 -0
- package/dist/effects/border-trail.d.ts +10 -0
- package/dist/effects/counter.d.ts +14 -0
- package/dist/effects/cube-scene.d.ts +11 -0
- package/dist/effects/dark-veil.d.ts +12 -0
- package/dist/effects/dissolve-overlay.d.ts +15 -0
- package/dist/effects/dot-grid.d.ts +19 -0
- package/dist/effects/draggable-container.d.ts +10 -0
- package/dist/effects/faulty-terminal.d.ts +25 -0
- package/dist/effects/floating-lines.d.ts +25 -0
- package/dist/effects/glass-container.d.ts +13 -0
- package/dist/effects/grainient.d.ts +28 -0
- package/dist/effects/image-transition.d.ts +24 -0
- package/dist/effects/infinite-menu.d.ts +19 -0
- package/dist/effects/iridescence.d.ts +12 -0
- package/dist/effects/letter-swap.d.ts +8 -0
- package/dist/effects/marquee-bar.d.ts +6 -0
- package/dist/effects/marquee.d.ts +26 -0
- package/dist/effects/noise.d.ts +10 -0
- package/dist/effects/orb.d.ts +15 -0
- package/dist/effects/text-morph.d.ts +14 -0
- package/dist/effects/text-pressure.d.ts +13 -0
- package/dist/effects/text-roll.d.ts +22 -0
- package/dist/effects/text-scramble.d.ts +16 -0
- package/dist/effects/text-shimmer-wave.d.ts +16 -0
- package/dist/effects/text-shimmer.d.ts +13 -0
- package/dist/effects/text-swap-letter.d.ts +6 -0
- package/dist/effects/text-type.d.ts +27 -0
- package/dist/hooks/use-animated-value.d.ts +1 -0
- package/dist/hooks/use-element-size.d.ts +5 -0
- package/dist/hooks/use-focus-size.d.ts +1 -0
- package/dist/hooks/use-fullscreen.d.ts +1 -0
- package/dist/hooks/use-preloaded-image.d.ts +1 -0
- package/dist/hooks/use-stopwatch.d.ts +9 -0
- package/dist/hooks/use-timer.d.ts +15 -0
- package/dist/index.css +3 -0
- package/dist/index.d.ts +141 -0
- package/dist/index.js +13654 -0
- package/dist/index.js.map +1 -0
- package/dist/other/animations.d.ts +7 -0
- package/dist/other/image-transition-effects.d.ts +3 -0
- package/dist/outdated/lottie.d.ts +8 -0
- package/dist/outdated/qr-code.d.ts +8 -0
- package/dist/outdated/shape.d.ts +11 -0
- package/dist/outdated/tint.d.ts +6 -0
- package/dist/presets/curated/default.d.ts +2 -0
- package/dist/presets/curated/index.d.ts +3 -0
- package/dist/presets/curated/ocean.d.ts +2 -0
- package/dist/presets/curated/retro-futuristic.d.ts +2 -0
- package/dist/presets/helpers.d.ts +4 -0
- package/dist/presets/index.d.ts +6 -0
- package/dist/presets/palettes.d.ts +2 -0
- package/dist/presets/types.d.ts +40 -0
- package/dist/providers/command-provider.d.ts +11 -0
- package/dist/providers/component-styles-provider.d.ts +20 -0
- package/dist/providers/design-system-provider.d.ts +27 -0
- package/dist/styles/accordion.d.ts +85 -0
- package/dist/styles/alert.d.ts +253 -0
- package/dist/styles/autocomplete.d.ts +141 -0
- package/dist/styles/button.d.ts +238 -0
- package/dist/styles/card.d.ts +61 -0
- package/dist/styles/chart.d.ts +109 -0
- package/dist/styles/chat-thread.d.ts +117 -0
- package/dist/styles/checkbox.d.ts +45 -0
- package/dist/styles/code-block.d.ts +69 -0
- package/dist/styles/collapsible.d.ts +69 -0
- package/dist/styles/color-area.d.ts +45 -0
- package/dist/styles/color-field.d.ts +45 -0
- package/dist/styles/color-input.d.ts +85 -0
- package/dist/styles/color-picker.d.ts +101 -0
- package/dist/styles/color-slider.d.ts +79 -0
- package/dist/styles/color-swatch-picker.d.ts +69 -0
- package/dist/styles/color-swatch.d.ts +53 -0
- package/dist/styles/combobox.d.ts +197 -0
- package/dist/styles/command-button.d.ts +45 -0
- package/dist/styles/command.d.ts +125 -0
- package/dist/styles/counter.d.ts +85 -0
- package/dist/styles/drawer.d.ts +192 -0
- package/dist/styles/dropzone.d.ts +125 -0
- package/dist/styles/empty.d.ts +101 -0
- package/dist/styles/field-set.d.ts +45 -0
- package/dist/styles/field.d.ts +69 -0
- package/dist/styles/font-picker.d.ts +117 -0
- package/dist/styles/form.d.ts +37 -0
- package/dist/styles/google-signin-button.d.ts +61 -0
- package/dist/styles/group.d.ts +83 -0
- package/dist/styles/image-dropzone.d.ts +101 -0
- package/dist/styles/image.d.ts +53 -0
- package/dist/styles/index.d.ts +86 -0
- package/dist/styles/input-group.d.ts +61 -0
- package/dist/styles/input.d.ts +126 -0
- package/dist/styles/kbd.d.ts +45 -0
- package/dist/styles/label.d.ts +37 -0
- package/dist/styles/masonry.d.ts +45 -0
- package/dist/styles/motion-animate-presence.d.ts +45 -0
- package/dist/styles/navbar.d.ts +61 -0
- package/dist/styles/navigation-menu.d.ts +133 -0
- package/dist/styles/number-field.d.ts +69 -0
- package/dist/styles/pagination.d.ts +77 -0
- package/dist/styles/palette-picker.d.ts +101 -0
- package/dist/styles/parameter-color-swatch-picker.d.ts +69 -0
- package/dist/styles/parameter-color.d.ts +69 -0
- package/dist/styles/parameter-combobox.d.ts +133 -0
- package/dist/styles/parameter-files.d.ts +69 -0
- package/dist/styles/parameter-font-picker.d.ts +69 -0
- package/dist/styles/parameter-group.d.ts +77 -0
- package/dist/styles/parameter-image.d.ts +69 -0
- package/dist/styles/parameter-number.d.ts +69 -0
- package/dist/styles/parameter-palette-picker.d.ts +69 -0
- package/dist/styles/parameter-preset-picker.d.ts +69 -0
- package/dist/styles/parameter-select.d.ts +85 -0
- package/dist/styles/parameter-shadow-group.d.ts +53 -0
- package/dist/styles/parameter-slider.d.ts +77 -0
- package/dist/styles/parameter-switch.d.ts +69 -0
- package/dist/styles/parameter-text-area.d.ts +69 -0
- package/dist/styles/parameter-text.d.ts +69 -0
- package/dist/styles/parameter-toggle-group.d.ts +77 -0
- package/dist/styles/parameter-toggle.d.ts +69 -0
- package/dist/styles/parameter-typography-group.d.ts +45 -0
- package/dist/styles/parameter.d.ts +85 -0
- package/dist/styles/placeholder.d.ts +69 -0
- package/dist/styles/popover.d.ts +77 -0
- package/dist/styles/preset-picker.d.ts +109 -0
- package/dist/styles/progress.d.ts +69 -0
- package/dist/styles/prompt-input.d.ts +141 -0
- package/dist/styles/properties.d.ts +101 -0
- package/dist/styles/scroll-area.d.ts +61 -0
- package/dist/styles/select.d.ts +157 -0
- package/dist/styles/separator.d.ts +70 -0
- package/dist/styles/sidebar.d.ts +109 -0
- package/dist/styles/slider.d.ts +167 -0
- package/dist/styles/spacer.d.ts +37 -0
- package/dist/styles/spinner.d.ts +56 -0
- package/dist/styles/switch.d.ts +94 -0
- package/dist/styles/table-of-contents.d.ts +85 -0
- package/dist/styles/tabs.d.ts +166 -0
- package/dist/styles/text-area.d.ts +168 -0
- package/dist/styles/text-shimmer.d.ts +37 -0
- package/dist/styles/tint-image.d.ts +45 -0
- package/dist/styles/toast.d.ts +352 -0
- package/dist/styles/toggle-group.d.ts +136 -0
- package/dist/styles/toggle.d.ts +91 -0
- package/dist/styles/tooltip.d.ts +61 -0
- package/dist/utils/code-meta-parser.d.ts +6 -0
- package/dist/utils/helpers.d.ts +2 -0
- package/dist/utils/motion-presets.d.ts +125 -0
- package/dist/utils/shiki-highlighter.d.ts +10 -0
- package/dist/utils/styles.d.ts +4 -0
- package/package.json +69 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useFocusSize(isFocused: boolean, duration?: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useFullscreen(active?: boolean): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function usePreloadedImage(src: string): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Timer {
|
|
2
|
+
start: (seconds: number) => void;
|
|
3
|
+
pause: () => void;
|
|
4
|
+
resume: (currentSecons?: number) => void;
|
|
5
|
+
reset: () => void;
|
|
6
|
+
}
|
|
7
|
+
interface UseTimerProperties {
|
|
8
|
+
initialSeconds: number;
|
|
9
|
+
onComplete?: () => void;
|
|
10
|
+
}
|
|
11
|
+
interface TimerOutput extends Timer {
|
|
12
|
+
seconds: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function useTimer(properties: UseTimerProperties): TimerOutput;
|
|
15
|
+
export {};
|
package/dist/index.css
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export * from './animation/motion-animate-presence';
|
|
2
|
+
export * from './other/animations';
|
|
3
|
+
export * from './blocks/auth-guard';
|
|
4
|
+
export * from './blocks/card';
|
|
5
|
+
export * from './blocks/chat-thread';
|
|
6
|
+
export * from './blocks/command-button';
|
|
7
|
+
export * from './blocks/copy-paste-button';
|
|
8
|
+
export * from './blocks/dropzone';
|
|
9
|
+
export * from './blocks/font-picker';
|
|
10
|
+
export * from './blocks/image-dropzone';
|
|
11
|
+
export * from './blocks/navbar';
|
|
12
|
+
export * from './blocks/palette-picker';
|
|
13
|
+
export * from './blocks/parameter-text';
|
|
14
|
+
export * from './blocks/parameter-palette-picker';
|
|
15
|
+
export * from './blocks/parameter-text-area';
|
|
16
|
+
export * from './blocks/parameter-slider';
|
|
17
|
+
export * from './blocks/parameter-toggle-group';
|
|
18
|
+
export * from './blocks/parameter-switch';
|
|
19
|
+
export * from './blocks/parameter-toggle';
|
|
20
|
+
export * from './blocks/parameter-color';
|
|
21
|
+
export * from './blocks/parameter-color-swatch-picker';
|
|
22
|
+
export * from './blocks/parameter-combobox';
|
|
23
|
+
export * from './blocks/parameter-files';
|
|
24
|
+
export * from './blocks/parameter-font-picker';
|
|
25
|
+
export * from './blocks/parameter-image';
|
|
26
|
+
export * from './blocks/parameter-number';
|
|
27
|
+
export * from './blocks/parameter-preset-picker';
|
|
28
|
+
export * from './blocks/parameter-select';
|
|
29
|
+
export * from './blocks/parameter-typography-group';
|
|
30
|
+
export * from './blocks/parameter-shadow-group';
|
|
31
|
+
export * from './blocks/placeholder';
|
|
32
|
+
export * from './blocks/preset-picker';
|
|
33
|
+
export * from './blocks/prompt-input';
|
|
34
|
+
export * from './blocks/google-signin-button';
|
|
35
|
+
export * from './blocks/switch-theme';
|
|
36
|
+
export * from './blocks/toggle-theme';
|
|
37
|
+
export * from './blocks/transparent-background';
|
|
38
|
+
export * from './components/accordion';
|
|
39
|
+
export * from './components/alert';
|
|
40
|
+
export * from './components/autocomplete';
|
|
41
|
+
export * from './components/button';
|
|
42
|
+
export * from './components/chart';
|
|
43
|
+
export * from './components/checkbox';
|
|
44
|
+
export * from './components/code-block';
|
|
45
|
+
export * from './components/collapsible';
|
|
46
|
+
export * from './components/color-area';
|
|
47
|
+
export * from './components/color-field';
|
|
48
|
+
export * from './components/color-input';
|
|
49
|
+
export * from './components/color-picker';
|
|
50
|
+
export * from './components/color-slider';
|
|
51
|
+
export * from './components/color-swatch';
|
|
52
|
+
export * from './components/color-swatch-picker';
|
|
53
|
+
export * from './components/combobox';
|
|
54
|
+
export * from './components/command';
|
|
55
|
+
export * from './effects/counter';
|
|
56
|
+
export * from './components/drawer';
|
|
57
|
+
export * from './components/empty';
|
|
58
|
+
export * from './components/field';
|
|
59
|
+
export * from './components/field-set';
|
|
60
|
+
export * from './components/form';
|
|
61
|
+
export * from './components/group';
|
|
62
|
+
export * from './components/icon';
|
|
63
|
+
export * from './components/image';
|
|
64
|
+
export * from './components/input-group';
|
|
65
|
+
export * from './components/input';
|
|
66
|
+
export * from './components/label';
|
|
67
|
+
export * from './components/masonry';
|
|
68
|
+
export * from './components/kbd';
|
|
69
|
+
export * from './components/navigation-menu';
|
|
70
|
+
export * from './components/number-field';
|
|
71
|
+
export * from './components/pagination';
|
|
72
|
+
export * from './components/parameter';
|
|
73
|
+
export * from './components/parameter-group';
|
|
74
|
+
export * from './components/popover';
|
|
75
|
+
export * from './components/progress';
|
|
76
|
+
export * from './components/reorder-list';
|
|
77
|
+
export * from './components/scroll-area';
|
|
78
|
+
export * from './components/select';
|
|
79
|
+
export * from './components/separator';
|
|
80
|
+
export * from './components/sidebar';
|
|
81
|
+
export * from './components/spacer';
|
|
82
|
+
export * from './components/slider';
|
|
83
|
+
export * from './components/spinner';
|
|
84
|
+
export * from './components/switch';
|
|
85
|
+
export * from './components/loader';
|
|
86
|
+
export * from './components/tabs';
|
|
87
|
+
export * from './components/toggle';
|
|
88
|
+
export * from './components/toggle-group';
|
|
89
|
+
export * from './components/table-of-contents';
|
|
90
|
+
export * from './components/text-area';
|
|
91
|
+
export * from './components/tint-image';
|
|
92
|
+
export * from './components/toast';
|
|
93
|
+
export * from './components/tooltip';
|
|
94
|
+
export * from './cursors/cursor-container';
|
|
95
|
+
export * from './cursors/cursor-clipping';
|
|
96
|
+
export * from './cursors/cursor-bracket';
|
|
97
|
+
export * from './effects/border-glow';
|
|
98
|
+
export * from './effects/border-trail';
|
|
99
|
+
export * from './effects/dark-veil';
|
|
100
|
+
export * from './effects/dissolve-overlay';
|
|
101
|
+
export * from './effects/dot-grid';
|
|
102
|
+
export * from './effects/draggable-container';
|
|
103
|
+
export * from './effects/faulty-terminal';
|
|
104
|
+
export * from './effects/floating-lines';
|
|
105
|
+
export * from './effects/glass-container';
|
|
106
|
+
export * from './effects/grainient';
|
|
107
|
+
export * from './effects/image-transition';
|
|
108
|
+
export * from './effects/infinite-menu';
|
|
109
|
+
export * from './effects/iridescence';
|
|
110
|
+
export * from './effects/letter-swap';
|
|
111
|
+
export * from './effects/marquee-bar';
|
|
112
|
+
export * from './effects/marquee';
|
|
113
|
+
export * from './effects/noise';
|
|
114
|
+
export * from './effects/orb';
|
|
115
|
+
export * from './effects/text-morph';
|
|
116
|
+
export * from './effects/text-pressure';
|
|
117
|
+
export * from './effects/text-roll';
|
|
118
|
+
export * from './effects/text-scramble';
|
|
119
|
+
export * from './effects/text-shimmer';
|
|
120
|
+
export * from './effects/text-shimmer-wave';
|
|
121
|
+
export * from './effects/text-swap-letter';
|
|
122
|
+
export * from './effects/text-type';
|
|
123
|
+
export * from './hooks/use-animated-value';
|
|
124
|
+
export * from './hooks/use-element-size';
|
|
125
|
+
export * from './hooks/use-focus-size';
|
|
126
|
+
export * from './hooks/use-preloaded-image';
|
|
127
|
+
export * from './hooks/use-stopwatch';
|
|
128
|
+
export * from './hooks/use-timer';
|
|
129
|
+
export * from './providers/command-provider';
|
|
130
|
+
export * from './providers/design-system-provider';
|
|
131
|
+
export * as baseStyles from './styles';
|
|
132
|
+
export * from './presets';
|
|
133
|
+
export * from './utils/motion-presets';
|
|
134
|
+
export * from './utils/styles';
|
|
135
|
+
export * from './utils/shiki-highlighter';
|
|
136
|
+
export * from './utils/code-meta-parser';
|
|
137
|
+
export * from './utils/helpers';
|
|
138
|
+
export * from './outdated/lottie';
|
|
139
|
+
export * from './outdated/qr-code';
|
|
140
|
+
export * from './outdated/shape';
|
|
141
|
+
export * from './outdated/tint';
|