@hoardodile/ui 0.0.0
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/LICENSE +18 -0
- package/README.md +70 -0
- package/dist/components/alert.d.ts +13 -0
- package/dist/components/alert.js +97 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/app-dialog.d.ts +62 -0
- package/dist/components/app-dialog.js +656 -0
- package/dist/components/app-dialog.js.map +1 -0
- package/dist/components/badge.d.ts +11 -0
- package/dist/components/badge.js +70 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/breadcrumb.d.ts +12 -0
- package/dist/components/breadcrumb.js +617 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button.d.ts +17 -0
- package/dist/components/button.js +78 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/caption-bar.d.ts +44 -0
- package/dist/components/caption-bar.js +827 -0
- package/dist/components/caption-bar.js.map +1 -0
- package/dist/components/chart-card.d.ts +15 -0
- package/dist/components/chart-card.js +27 -0
- package/dist/components/chart-card.js.map +1 -0
- package/dist/components/checkbox.d.ts +6 -0
- package/dist/components/checkbox.js +76 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/chip-button.d.ts +28 -0
- package/dist/components/chip-button.js +87 -0
- package/dist/components/chip-button.js.map +1 -0
- package/dist/components/close-confirm-dialog.d.ts +19 -0
- package/dist/components/close-confirm-dialog.js +743 -0
- package/dist/components/close-confirm-dialog.js.map +1 -0
- package/dist/components/color-picker.d.ts +32 -0
- package/dist/components/color-picker.js +667 -0
- package/dist/components/color-picker.js.map +1 -0
- package/dist/components/combobox.d.ts +32 -0
- package/dist/components/combobox.js +1211 -0
- package/dist/components/combobox.js.map +1 -0
- package/dist/components/confirm-by-typing-dialog.d.ts +48 -0
- package/dist/components/confirm-by-typing-dialog.js +759 -0
- package/dist/components/confirm-by-typing-dialog.js.map +1 -0
- package/dist/components/confirm-dialog.d.ts +34 -0
- package/dist/components/confirm-dialog.js +710 -0
- package/dist/components/confirm-dialog.js.map +1 -0
- package/dist/components/count-badge.d.ts +13 -0
- package/dist/components/count-badge.js +39 -0
- package/dist/components/count-badge.js.map +1 -0
- package/dist/components/dialog.d.ts +40 -0
- package/dist/components/dialog.js +571 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/dropdown-menu.d.ts +45 -0
- package/dist/components/dropdown-menu.js +1003 -0
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/dropdown-select.d.ts +29 -0
- package/dist/components/dropdown-select.js +1036 -0
- package/dist/components/dropdown-select.js.map +1 -0
- package/dist/components/empty.d.ts +15 -0
- package/dist/components/empty.js +119 -0
- package/dist/components/empty.js.map +1 -0
- package/dist/components/filter-rail.d.ts +48 -0
- package/dist/components/filter-rail.js +231 -0
- package/dist/components/filter-rail.js.map +1 -0
- package/dist/components/fixed-action-bar.d.ts +24 -0
- package/dist/components/fixed-action-bar.js +48 -0
- package/dist/components/fixed-action-bar.js.map +1 -0
- package/dist/components/font-picker.d.ts +45 -0
- package/dist/components/font-picker.js +759 -0
- package/dist/components/font-picker.js.map +1 -0
- package/dist/components/form.d.ts +17 -0
- package/dist/components/form.js +150 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/group-label.d.ts +12 -0
- package/dist/components/group-label.js +10 -0
- package/dist/components/group-label.js.map +1 -0
- package/dist/components/icon-tile.d.ts +16 -0
- package/dist/components/icon-tile.js +67 -0
- package/dist/components/icon-tile.js.map +1 -0
- package/dist/components/icon-toggle.d.ts +24 -0
- package/dist/components/icon-toggle.js +81 -0
- package/dist/components/icon-toggle.js.map +1 -0
- package/dist/components/icon.d.ts +2 -0
- package/dist/components/icon.js +49 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/image-crop-panel.d.ts +80 -0
- package/dist/components/image-crop-panel.js +1104 -0
- package/dist/components/image-crop-panel.js.map +1 -0
- package/dist/components/image-cropper.d.ts +63 -0
- package/dist/components/image-cropper.js +166 -0
- package/dist/components/image-cropper.js.map +1 -0
- package/dist/components/input-group.d.ts +22 -0
- package/dist/components/input-group.js +270 -0
- package/dist/components/input-group.js.map +1 -0
- package/dist/components/input.d.ts +16 -0
- package/dist/components/input.js +60 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/label.d.ts +5 -0
- package/dist/components/label.js +40 -0
- package/dist/components/label.js.map +1 -0
- package/dist/components/list-empty-row.d.ts +16 -0
- package/dist/components/list-empty-row.js +40 -0
- package/dist/components/list-empty-row.js.map +1 -0
- package/dist/components/management-empty.d.ts +14 -0
- package/dist/components/management-empty.js +40 -0
- package/dist/components/management-empty.js.map +1 -0
- package/dist/components/management-skeleton.d.ts +11 -0
- package/dist/components/management-skeleton.js +72 -0
- package/dist/components/management-skeleton.js.map +1 -0
- package/dist/components/meta-chip.d.ts +17 -0
- package/dist/components/meta-chip.js +49 -0
- package/dist/components/meta-chip.js.map +1 -0
- package/dist/components/mobile-drawer.d.ts +29 -0
- package/dist/components/mobile-drawer.js +331 -0
- package/dist/components/mobile-drawer.js.map +1 -0
- package/dist/components/page-header.d.ts +20 -0
- package/dist/components/page-header.js +44 -0
- package/dist/components/page-header.js.map +1 -0
- package/dist/components/page-scaffold.d.ts +34 -0
- package/dist/components/page-scaffold.js +157 -0
- package/dist/components/page-scaffold.js.map +1 -0
- package/dist/components/pagination-bar.d.ts +22 -0
- package/dist/components/pagination-bar.js +703 -0
- package/dist/components/pagination-bar.js.map +1 -0
- package/dist/components/pagination.d.ts +22 -0
- package/dist/components/pagination.js +680 -0
- package/dist/components/pagination.js.map +1 -0
- package/dist/components/panel-toolbar.d.ts +37 -0
- package/dist/components/panel-toolbar.js +781 -0
- package/dist/components/panel-toolbar.js.map +1 -0
- package/dist/components/pill-tabs.d.ts +33 -0
- package/dist/components/pill-tabs.js +66 -0
- package/dist/components/pill-tabs.js.map +1 -0
- package/dist/components/plugin-download-consent.d.ts +52 -0
- package/dist/components/plugin-download-consent.js +780 -0
- package/dist/components/plugin-download-consent.js.map +1 -0
- package/dist/components/popover.d.ts +26 -0
- package/dist/components/popover.js +343 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.d.ts +10 -0
- package/dist/components/progress.js +103 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/query-state-view.d.ts +36 -0
- package/dist/components/query-state-view.js +17 -0
- package/dist/components/query-state-view.js.map +1 -0
- package/dist/components/radio-group.d.ts +8 -0
- package/dist/components/radio-group.js +60 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/scroll-area.d.ts +7 -0
- package/dist/components/scroll-area.js +80 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/search-field.d.ts +49 -0
- package/dist/components/search-field.js +586 -0
- package/dist/components/search-field.js.map +1 -0
- package/dist/components/secondary-stat.d.ts +13 -0
- package/dist/components/secondary-stat.js +56 -0
- package/dist/components/secondary-stat.js.map +1 -0
- package/dist/components/section-header.d.ts +23 -0
- package/dist/components/section-header.js +76 -0
- package/dist/components/section-header.js.map +1 -0
- package/dist/components/section-label.d.ts +20 -0
- package/dist/components/section-label.js +46 -0
- package/dist/components/section-label.js.map +1 -0
- package/dist/components/section-tabs.d.ts +47 -0
- package/dist/components/section-tabs.js +145 -0
- package/dist/components/section-tabs.js.map +1 -0
- package/dist/components/separator.d.ts +14 -0
- package/dist/components/separator.js +49 -0
- package/dist/components/separator.js.map +1 -0
- package/dist/components/sheet.d.ts +22 -0
- package/dist/components/sheet.js +469 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/sidebar.d.ts +69 -0
- package/dist/components/sidebar.js +1645 -0
- package/dist/components/sidebar.js.map +1 -0
- package/dist/components/skeleton.d.ts +8 -0
- package/dist/components/skeleton.js +41 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.d.ts +6 -0
- package/dist/components/slider.js +75 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/sortable-chip-list.d.ts +26 -0
- package/dist/components/sortable-chip-list.js +59 -0
- package/dist/components/sortable-chip-list.js.map +1 -0
- package/dist/components/spinner.d.ts +5 -0
- package/dist/components/spinner.js +65 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/components/surface.d.ts +13 -0
- package/dist/components/surface.js +51 -0
- package/dist/components/surface.js.map +1 -0
- package/dist/components/switch.d.ts +8 -0
- package/dist/components/switch.js +53 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +12 -0
- package/dist/components/table.js +129 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/textarea.d.ts +15 -0
- package/dist/components/textarea.js +58 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/toast.d.ts +19 -0
- package/dist/components/toast.js +805 -0
- package/dist/components/toast.js.map +1 -0
- package/dist/components/toggle.d.ts +12 -0
- package/dist/components/toggle.js +63 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/tooltip.d.ts +9 -0
- package/dist/components/tooltip.js +82 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/hooks/use-dialog-footer-actions.d.ts +18 -0
- package/dist/hooks/use-dialog-footer-actions.js +11 -0
- package/dist/hooks/use-dialog-footer-actions.js.map +1 -0
- package/dist/hooks/use-form-field.d.ts +33 -0
- package/dist/hooks/use-form-field.js +36 -0
- package/dist/hooks/use-form-field.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +34 -0
- package/dist/hooks/use-mobile.js +29 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-pinch-pan.d.ts +56 -0
- package/dist/hooks/use-pinch-pan.js +223 -0
- package/dist/hooks/use-pinch-pan.js.map +1 -0
- package/dist/hooks/useMobileBackToClose.d.ts +61 -0
- package/dist/hooks/useMobileBackToClose.js +234 -0
- package/dist/hooks/useMobileBackToClose.js.map +1 -0
- package/dist/icon-BOgL5bpL.d.ts +85 -0
- package/dist/icons/actions.d.ts +4 -0
- package/dist/icons/actions.js +520 -0
- package/dist/icons/actions.js.map +1 -0
- package/dist/icons/icon-style.d.ts +2 -0
- package/dist/icons/icon-style.js +51 -0
- package/dist/icons/icon-style.js.map +1 -0
- package/dist/icons/marks.d.ts +15 -0
- package/dist/icons/marks.js +48 -0
- package/dist/icons/marks.js.map +1 -0
- package/dist/icons/registry.d.ts +177 -0
- package/dist/icons/registry.js +1180 -0
- package/dist/icons/registry.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +653 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/merge-config.d.ts +15 -0
- package/dist/lib/merge-config.js +20 -0
- package/dist/lib/merge-config.js.map +1 -0
- package/dist/lib/pagination.d.ts +19 -0
- package/dist/lib/pagination.js +26 -0
- package/dist/lib/pagination.js.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +26 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/styles/theme.css +480 -0
- package/dist/styles/theme.css.map +1 -0
- package/dist/styles/theme.d.ts +2 -0
- package/dist/viewport.d.ts +64 -0
- package/dist/viewport.js +13 -0
- package/dist/viewport.js.map +1 -0
- package/package.json +122 -0
- package/src/components/alert.tsx +76 -0
- package/src/components/app-dialog.tsx +187 -0
- package/src/components/badge.tsx +52 -0
- package/src/components/breadcrumb.tsx +129 -0
- package/src/components/button.tsx +70 -0
- package/src/components/caption-bar.test.tsx +151 -0
- package/src/components/caption-bar.tsx +392 -0
- package/src/components/chart-card.tsx +31 -0
- package/src/components/checkbox.tsx +28 -0
- package/src/components/chip-button.tsx +69 -0
- package/src/components/close-confirm-dialog.tsx +99 -0
- package/src/components/color-picker.tsx +186 -0
- package/src/components/combobox.tsx +335 -0
- package/src/components/confirm-by-typing-dialog.tsx +130 -0
- package/src/components/confirm-dialog.test.tsx +39 -0
- package/src/components/confirm-dialog.tsx +98 -0
- package/src/components/count-badge.tsx +23 -0
- package/src/components/dialog.tsx +315 -0
- package/src/components/dropdown-menu.tsx +311 -0
- package/src/components/dropdown-select.tsx +211 -0
- package/src/components/empty.tsx +104 -0
- package/src/components/filter-rail.tsx +139 -0
- package/src/components/fixed-action-bar.tsx +46 -0
- package/src/components/font-picker.tsx +257 -0
- package/src/components/form.tsx +127 -0
- package/src/components/group-label.tsx +13 -0
- package/src/components/icon-tile.tsx +35 -0
- package/src/components/icon-toggle.tsx +57 -0
- package/src/components/icon.tsx +66 -0
- package/src/components/image-crop-panel.test.tsx +167 -0
- package/src/components/image-crop-panel.tsx +465 -0
- package/src/components/image-cropper.test.tsx +144 -0
- package/src/components/image-cropper.tsx +265 -0
- package/src/components/input-group.tsx +156 -0
- package/src/components/input.tsx +45 -0
- package/src/components/label.tsx +20 -0
- package/src/components/list-empty-row.tsx +27 -0
- package/src/components/management-empty.tsx +25 -0
- package/src/components/management-skeleton.tsx +23 -0
- package/src/components/meta-chip.tsx +40 -0
- package/src/components/mobile-drawer.test.tsx +52 -0
- package/src/components/mobile-drawer.tsx +98 -0
- package/src/components/page-header.tsx +47 -0
- package/src/components/page-scaffold.test.tsx +24 -0
- package/src/components/page-scaffold.tsx +131 -0
- package/src/components/pagination-bar.test.tsx +87 -0
- package/src/components/pagination-bar.tsx +139 -0
- package/src/components/pagination.tsx +139 -0
- package/src/components/panel-toolbar.tsx +99 -0
- package/src/components/pill-tabs.test.tsx +84 -0
- package/src/components/pill-tabs.tsx +77 -0
- package/src/components/plugin-download-consent.test.tsx +90 -0
- package/src/components/plugin-download-consent.tsx +183 -0
- package/src/components/popover.tsx +133 -0
- package/src/components/progress.tsx +88 -0
- package/src/components/query-state-view.tsx +47 -0
- package/src/components/radio-group.tsx +36 -0
- package/src/components/scroll-area.tsx +52 -0
- package/src/components/search-field.test.tsx +86 -0
- package/src/components/search-field.tsx +119 -0
- package/src/components/secondary-stat.tsx +24 -0
- package/src/components/section-header.tsx +54 -0
- package/src/components/section-label.tsx +40 -0
- package/src/components/section-tabs.test.tsx +154 -0
- package/src/components/section-tabs.tsx +190 -0
- package/src/components/separator.tsx +38 -0
- package/src/components/sheet.tsx +170 -0
- package/src/components/sidebar.tsx +725 -0
- package/src/components/skeleton.tsx +18 -0
- package/src/components/slider.tsx +52 -0
- package/src/components/sortable-chip-list.tsx +56 -0
- package/src/components/spinner.tsx +35 -0
- package/src/components/surface.tsx +37 -0
- package/src/components/switch.tsx +30 -0
- package/src/components/table.tsx +116 -0
- package/src/components/textarea.tsx +41 -0
- package/src/components/toast.tsx +239 -0
- package/src/components/toggle.tsx +45 -0
- package/src/components/tooltip.tsx +64 -0
- package/src/hooks/use-dialog-footer-actions.ts +23 -0
- package/src/hooks/use-form-field.ts +62 -0
- package/src/hooks/use-mobile.ts +54 -0
- package/src/hooks/use-pinch-pan.test.tsx +42 -0
- package/src/hooks/use-pinch-pan.ts +340 -0
- package/src/hooks/useMobileBackToClose.test.tsx +140 -0
- package/src/hooks/useMobileBackToClose.ts +508 -0
- package/src/icons/actions.ts +10 -0
- package/src/icons/icon-style.test.tsx +69 -0
- package/src/icons/icon-style.ts +104 -0
- package/src/icons/marks.tsx +72 -0
- package/src/icons/registry.test.ts +65 -0
- package/src/icons/registry.ts +1163 -0
- package/src/index.ts +22 -0
- package/src/lib/merge-config.test.ts +109 -0
- package/src/lib/merge-config.ts +22 -0
- package/src/lib/pagination.test.ts +55 -0
- package/src/lib/pagination.ts +42 -0
- package/src/lib/utils.ts +6 -0
- package/src/styles/scan-contract.test.ts +74 -0
- package/src/styles/theme.css +798 -0
- package/src/test/i18n.tsx +22 -0
- package/src/test/setup.ts +104 -0
- package/src/viewport.ts +69 -0
|
@@ -0,0 +1,1211 @@
|
|
|
1
|
+
import * as React2 from 'react';
|
|
2
|
+
import { useRef, useEffect, useSyncExternalStore, createElement } from 'react';
|
|
3
|
+
import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
4
|
+
import { clsx } from 'clsx';
|
|
5
|
+
import { extendTailwindMerge } from 'tailwind-merge';
|
|
6
|
+
import 'react-use';
|
|
7
|
+
import { Button as Button$1 } from '@base-ui/react/button';
|
|
8
|
+
import { cva } from 'class-variance-authority';
|
|
9
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
|
+
import { Input as Input$1 } from '@base-ui/react/input';
|
|
11
|
+
import '@solar-icons/react/bold/add-circle';
|
|
12
|
+
import '@solar-icons/react/bold/align-left';
|
|
13
|
+
import { AltArrowDownIcon as AltArrowDownIcon$2 } from '@solar-icons/react/bold/alt-arrow-down';
|
|
14
|
+
import '@solar-icons/react/bold/alt-arrow-left';
|
|
15
|
+
import '@solar-icons/react/bold/alt-arrow-right';
|
|
16
|
+
import '@solar-icons/react/bold/alt-arrow-up';
|
|
17
|
+
import '@solar-icons/react/bold/archive';
|
|
18
|
+
import '@solar-icons/react/bold/arrow-right';
|
|
19
|
+
import '@solar-icons/react/bold/arrow-to-top-left';
|
|
20
|
+
import '@solar-icons/react/bold/arrow-to-top-right';
|
|
21
|
+
import '@solar-icons/react/bold/bell';
|
|
22
|
+
import '@solar-icons/react/bold/bolt';
|
|
23
|
+
import '@solar-icons/react/bold/book';
|
|
24
|
+
import '@solar-icons/react/bold/book-2';
|
|
25
|
+
import '@solar-icons/react/bold/bookmark';
|
|
26
|
+
import '@solar-icons/react/bold/bookmark-circle';
|
|
27
|
+
import '@solar-icons/react/bold/box';
|
|
28
|
+
import '@solar-icons/react/bold/branching-paths-up';
|
|
29
|
+
import '@solar-icons/react/bold/bug';
|
|
30
|
+
import '@solar-icons/react/bold/calendar-date';
|
|
31
|
+
import '@solar-icons/react/bold/chat-round';
|
|
32
|
+
import '@solar-icons/react/bold/chat-round-dots';
|
|
33
|
+
import '@solar-icons/react/bold/chat-round-line';
|
|
34
|
+
import '@solar-icons/react/bold/chat-square';
|
|
35
|
+
import '@solar-icons/react/bold/check-circle';
|
|
36
|
+
import '@solar-icons/react/bold/checklist';
|
|
37
|
+
import '@solar-icons/react/bold/clipboard-list';
|
|
38
|
+
import '@solar-icons/react/bold/clock-circle';
|
|
39
|
+
import '@solar-icons/react/bold/compass';
|
|
40
|
+
import '@solar-icons/react/bold/copy';
|
|
41
|
+
import '@solar-icons/react/bold/crown';
|
|
42
|
+
import '@solar-icons/react/bold/danger-triangle';
|
|
43
|
+
import '@solar-icons/react/bold/database';
|
|
44
|
+
import '@solar-icons/react/bold/diskette';
|
|
45
|
+
import '@solar-icons/react/bold/dislike';
|
|
46
|
+
import '@solar-icons/react/bold/document-add';
|
|
47
|
+
import '@solar-icons/react/bold/document-text';
|
|
48
|
+
import '@solar-icons/react/bold/double-alt-arrow-down';
|
|
49
|
+
import '@solar-icons/react/bold/download';
|
|
50
|
+
import '@solar-icons/react/bold/eraser';
|
|
51
|
+
import '@solar-icons/react/bold/eye';
|
|
52
|
+
import '@solar-icons/react/bold/file';
|
|
53
|
+
import '@solar-icons/react/bold/file-remove';
|
|
54
|
+
import '@solar-icons/react/bold/file-text';
|
|
55
|
+
import '@solar-icons/react/bold/filter';
|
|
56
|
+
import '@solar-icons/react/bold/filters';
|
|
57
|
+
import '@solar-icons/react/bold/folder';
|
|
58
|
+
import '@solar-icons/react/bold/folder-open';
|
|
59
|
+
import '@solar-icons/react/bold/folder-path-connect';
|
|
60
|
+
import '@solar-icons/react/bold/forbidden-circle';
|
|
61
|
+
import '@solar-icons/react/bold/gallery';
|
|
62
|
+
import '@solar-icons/react/bold/gallery-add';
|
|
63
|
+
import '@solar-icons/react/bold/gallery-wide';
|
|
64
|
+
import '@solar-icons/react/bold/global';
|
|
65
|
+
import '@solar-icons/react/bold/graph-down';
|
|
66
|
+
import '@solar-icons/react/bold/graph-up';
|
|
67
|
+
import '@solar-icons/react/bold/hamburger-menu';
|
|
68
|
+
import '@solar-icons/react/bold/hand-heart';
|
|
69
|
+
import '@solar-icons/react/bold/heart';
|
|
70
|
+
import '@solar-icons/react/bold/help';
|
|
71
|
+
import '@solar-icons/react/bold/history';
|
|
72
|
+
import '@solar-icons/react/bold/home-angle';
|
|
73
|
+
import '@solar-icons/react/bold/info-circle';
|
|
74
|
+
import '@solar-icons/react/bold/layers';
|
|
75
|
+
import '@solar-icons/react/bold/letter';
|
|
76
|
+
import '@solar-icons/react/bold/like';
|
|
77
|
+
import '@solar-icons/react/bold/link';
|
|
78
|
+
import '@solar-icons/react/bold/list';
|
|
79
|
+
import '@solar-icons/react/bold/list-vertical';
|
|
80
|
+
import '@solar-icons/react/bold/lock-password';
|
|
81
|
+
import '@solar-icons/react/bold/login-2';
|
|
82
|
+
import '@solar-icons/react/bold/logout';
|
|
83
|
+
import '@solar-icons/react/bold/magic-wand-2';
|
|
84
|
+
import '@solar-icons/react/bold/magnifier';
|
|
85
|
+
import '@solar-icons/react/bold/magnifier-zoom-in';
|
|
86
|
+
import '@solar-icons/react/bold/magnifier-zoom-out';
|
|
87
|
+
import '@solar-icons/react/bold/maximize';
|
|
88
|
+
import '@solar-icons/react/bold/menu-dots';
|
|
89
|
+
import '@solar-icons/react/bold/minimize';
|
|
90
|
+
import '@solar-icons/react/bold/minus-square';
|
|
91
|
+
import '@solar-icons/react/bold/monitor';
|
|
92
|
+
import '@solar-icons/react/bold/monitor-smartphone';
|
|
93
|
+
import '@solar-icons/react/bold/moon';
|
|
94
|
+
import '@solar-icons/react/bold/move-to-folder';
|
|
95
|
+
import '@solar-icons/react/bold/music-notes';
|
|
96
|
+
import '@solar-icons/react/bold/palette';
|
|
97
|
+
import '@solar-icons/react/bold/palette-round';
|
|
98
|
+
import '@solar-icons/react/bold/pause';
|
|
99
|
+
import '@solar-icons/react/bold/pen';
|
|
100
|
+
import '@solar-icons/react/bold/pen-new-round';
|
|
101
|
+
import '@solar-icons/react/bold/pie-chart';
|
|
102
|
+
import '@solar-icons/react/bold/pin';
|
|
103
|
+
import '@solar-icons/react/bold/play';
|
|
104
|
+
import '@solar-icons/react/bold/plug-circle';
|
|
105
|
+
import '@solar-icons/react/bold/plus-minus';
|
|
106
|
+
import '@solar-icons/react/bold/pulse';
|
|
107
|
+
import '@solar-icons/react/bold/refresh';
|
|
108
|
+
import '@solar-icons/react/bold/refresh-circle';
|
|
109
|
+
import '@solar-icons/react/bold/reorder';
|
|
110
|
+
import '@solar-icons/react/bold/repeat';
|
|
111
|
+
import '@solar-icons/react/bold/reply';
|
|
112
|
+
import '@solar-icons/react/bold/restart';
|
|
113
|
+
import '@solar-icons/react/bold/rocket';
|
|
114
|
+
import '@solar-icons/react/bold/route';
|
|
115
|
+
import '@solar-icons/react/bold/scale';
|
|
116
|
+
import '@solar-icons/react/bold/server';
|
|
117
|
+
import '@solar-icons/react/bold/settings';
|
|
118
|
+
import '@solar-icons/react/bold/share';
|
|
119
|
+
import '@solar-icons/react/bold/shield-check';
|
|
120
|
+
import '@solar-icons/react/bold/sidebar-minimalistic';
|
|
121
|
+
import '@solar-icons/react/bold/slider-horizontal';
|
|
122
|
+
import '@solar-icons/react/bold/smartphone';
|
|
123
|
+
import '@solar-icons/react/bold/sort';
|
|
124
|
+
import '@solar-icons/react/bold/sort-by-time';
|
|
125
|
+
import '@solar-icons/react/bold/sort-horizontal';
|
|
126
|
+
import '@solar-icons/react/bold/sort-vertical';
|
|
127
|
+
import '@solar-icons/react/bold/star';
|
|
128
|
+
import '@solar-icons/react/bold/structure';
|
|
129
|
+
import '@solar-icons/react/bold/sun';
|
|
130
|
+
import '@solar-icons/react/bold/tag';
|
|
131
|
+
import '@solar-icons/react/bold/telescope';
|
|
132
|
+
import '@solar-icons/react/bold/test-tube';
|
|
133
|
+
import '@solar-icons/react/bold/text-format';
|
|
134
|
+
import '@solar-icons/react/bold/transfer-horizontal';
|
|
135
|
+
import '@solar-icons/react/bold/translation';
|
|
136
|
+
import '@solar-icons/react/bold/trash-bin-minimalistic';
|
|
137
|
+
import '@solar-icons/react/bold/undo-left';
|
|
138
|
+
import '@solar-icons/react/bold/undo-left-round';
|
|
139
|
+
import '@solar-icons/react/bold/undo-right';
|
|
140
|
+
import '@solar-icons/react/bold/undo-right-round';
|
|
141
|
+
import '@solar-icons/react/bold/upload';
|
|
142
|
+
import '@solar-icons/react/bold/user';
|
|
143
|
+
import '@solar-icons/react/bold/user-id';
|
|
144
|
+
import '@solar-icons/react/bold/user-minus';
|
|
145
|
+
import '@solar-icons/react/bold/user-plus';
|
|
146
|
+
import '@solar-icons/react/bold/users-group-rounded';
|
|
147
|
+
import '@solar-icons/react/bold/users-group-two-rounded';
|
|
148
|
+
import '@solar-icons/react/bold/video-frame';
|
|
149
|
+
import '@solar-icons/react/bold/widget-2';
|
|
150
|
+
import '@solar-icons/react/bold/widget-5';
|
|
151
|
+
import '@solar-icons/react/bold/window-frame';
|
|
152
|
+
import '@solar-icons/react/bold-duotone/add-circle';
|
|
153
|
+
import '@solar-icons/react/bold-duotone/align-left';
|
|
154
|
+
import { AltArrowDownIcon as AltArrowDownIcon$1 } from '@solar-icons/react/bold-duotone/alt-arrow-down';
|
|
155
|
+
import '@solar-icons/react/bold-duotone/alt-arrow-left';
|
|
156
|
+
import '@solar-icons/react/bold-duotone/alt-arrow-right';
|
|
157
|
+
import '@solar-icons/react/bold-duotone/alt-arrow-up';
|
|
158
|
+
import '@solar-icons/react/bold-duotone/archive';
|
|
159
|
+
import '@solar-icons/react/bold-duotone/arrow-right';
|
|
160
|
+
import '@solar-icons/react/bold-duotone/arrow-to-top-left';
|
|
161
|
+
import '@solar-icons/react/bold-duotone/arrow-to-top-right';
|
|
162
|
+
import '@solar-icons/react/bold-duotone/bell';
|
|
163
|
+
import '@solar-icons/react/bold-duotone/bolt';
|
|
164
|
+
import '@solar-icons/react/bold-duotone/book';
|
|
165
|
+
import '@solar-icons/react/bold-duotone/book-2';
|
|
166
|
+
import '@solar-icons/react/bold-duotone/bookmark';
|
|
167
|
+
import '@solar-icons/react/bold-duotone/bookmark-circle';
|
|
168
|
+
import '@solar-icons/react/bold-duotone/box';
|
|
169
|
+
import '@solar-icons/react/bold-duotone/branching-paths-up';
|
|
170
|
+
import '@solar-icons/react/bold-duotone/bug';
|
|
171
|
+
import '@solar-icons/react/bold-duotone/calendar-date';
|
|
172
|
+
import '@solar-icons/react/bold-duotone/chat-round';
|
|
173
|
+
import '@solar-icons/react/bold-duotone/chat-round-dots';
|
|
174
|
+
import '@solar-icons/react/bold-duotone/chat-round-line';
|
|
175
|
+
import '@solar-icons/react/bold-duotone/chat-square';
|
|
176
|
+
import '@solar-icons/react/bold-duotone/check-circle';
|
|
177
|
+
import '@solar-icons/react/bold-duotone/checklist';
|
|
178
|
+
import '@solar-icons/react/bold-duotone/clipboard-list';
|
|
179
|
+
import '@solar-icons/react/bold-duotone/clock-circle';
|
|
180
|
+
import '@solar-icons/react/bold-duotone/compass';
|
|
181
|
+
import '@solar-icons/react/bold-duotone/copy';
|
|
182
|
+
import '@solar-icons/react/bold-duotone/crown';
|
|
183
|
+
import '@solar-icons/react/bold-duotone/danger-triangle';
|
|
184
|
+
import '@solar-icons/react/bold-duotone/database';
|
|
185
|
+
import '@solar-icons/react/bold-duotone/diskette';
|
|
186
|
+
import '@solar-icons/react/bold-duotone/dislike';
|
|
187
|
+
import '@solar-icons/react/bold-duotone/document-add';
|
|
188
|
+
import '@solar-icons/react/bold-duotone/document-text';
|
|
189
|
+
import '@solar-icons/react/bold-duotone/double-alt-arrow-down';
|
|
190
|
+
import '@solar-icons/react/bold-duotone/download';
|
|
191
|
+
import '@solar-icons/react/bold-duotone/eraser';
|
|
192
|
+
import '@solar-icons/react/bold-duotone/eye';
|
|
193
|
+
import '@solar-icons/react/bold-duotone/file';
|
|
194
|
+
import '@solar-icons/react/bold-duotone/file-remove';
|
|
195
|
+
import '@solar-icons/react/bold-duotone/file-text';
|
|
196
|
+
import '@solar-icons/react/bold-duotone/filter';
|
|
197
|
+
import '@solar-icons/react/bold-duotone/filters';
|
|
198
|
+
import '@solar-icons/react/bold-duotone/folder';
|
|
199
|
+
import '@solar-icons/react/bold-duotone/folder-open';
|
|
200
|
+
import '@solar-icons/react/bold-duotone/folder-path-connect';
|
|
201
|
+
import '@solar-icons/react/bold-duotone/forbidden-circle';
|
|
202
|
+
import '@solar-icons/react/bold-duotone/gallery';
|
|
203
|
+
import '@solar-icons/react/bold-duotone/gallery-add';
|
|
204
|
+
import '@solar-icons/react/bold-duotone/gallery-wide';
|
|
205
|
+
import '@solar-icons/react/bold-duotone/global';
|
|
206
|
+
import '@solar-icons/react/bold-duotone/graph-down';
|
|
207
|
+
import '@solar-icons/react/bold-duotone/graph-up';
|
|
208
|
+
import '@solar-icons/react/bold-duotone/hamburger-menu';
|
|
209
|
+
import '@solar-icons/react/bold-duotone/hand-heart';
|
|
210
|
+
import '@solar-icons/react/bold-duotone/heart';
|
|
211
|
+
import '@solar-icons/react/bold-duotone/help';
|
|
212
|
+
import '@solar-icons/react/bold-duotone/history';
|
|
213
|
+
import '@solar-icons/react/bold-duotone/home-angle';
|
|
214
|
+
import '@solar-icons/react/bold-duotone/info-circle';
|
|
215
|
+
import '@solar-icons/react/bold-duotone/layers';
|
|
216
|
+
import '@solar-icons/react/bold-duotone/letter';
|
|
217
|
+
import '@solar-icons/react/bold-duotone/like';
|
|
218
|
+
import '@solar-icons/react/bold-duotone/link';
|
|
219
|
+
import '@solar-icons/react/bold-duotone/list';
|
|
220
|
+
import '@solar-icons/react/bold-duotone/list-vertical';
|
|
221
|
+
import '@solar-icons/react/bold-duotone/lock-password';
|
|
222
|
+
import '@solar-icons/react/bold-duotone/login-2';
|
|
223
|
+
import '@solar-icons/react/bold-duotone/logout';
|
|
224
|
+
import '@solar-icons/react/bold-duotone/magic-wand-2';
|
|
225
|
+
import '@solar-icons/react/bold-duotone/magnifier';
|
|
226
|
+
import '@solar-icons/react/bold-duotone/magnifier-zoom-in';
|
|
227
|
+
import '@solar-icons/react/bold-duotone/magnifier-zoom-out';
|
|
228
|
+
import '@solar-icons/react/bold-duotone/maximize';
|
|
229
|
+
import '@solar-icons/react/bold-duotone/menu-dots';
|
|
230
|
+
import '@solar-icons/react/bold-duotone/minimize';
|
|
231
|
+
import '@solar-icons/react/bold-duotone/minus-square';
|
|
232
|
+
import '@solar-icons/react/bold-duotone/monitor';
|
|
233
|
+
import '@solar-icons/react/bold-duotone/monitor-smartphone';
|
|
234
|
+
import '@solar-icons/react/bold-duotone/moon';
|
|
235
|
+
import '@solar-icons/react/bold-duotone/move-to-folder';
|
|
236
|
+
import '@solar-icons/react/bold-duotone/music-notes';
|
|
237
|
+
import '@solar-icons/react/bold-duotone/palette';
|
|
238
|
+
import '@solar-icons/react/bold-duotone/palette-round';
|
|
239
|
+
import '@solar-icons/react/bold-duotone/pause';
|
|
240
|
+
import '@solar-icons/react/bold-duotone/pen';
|
|
241
|
+
import '@solar-icons/react/bold-duotone/pen-new-round';
|
|
242
|
+
import '@solar-icons/react/bold-duotone/pie-chart';
|
|
243
|
+
import '@solar-icons/react/bold-duotone/pin';
|
|
244
|
+
import '@solar-icons/react/bold-duotone/play';
|
|
245
|
+
import '@solar-icons/react/bold-duotone/plug-circle';
|
|
246
|
+
import '@solar-icons/react/bold-duotone/plus-minus';
|
|
247
|
+
import '@solar-icons/react/bold-duotone/pulse';
|
|
248
|
+
import '@solar-icons/react/bold-duotone/refresh';
|
|
249
|
+
import '@solar-icons/react/bold-duotone/refresh-circle';
|
|
250
|
+
import '@solar-icons/react/bold-duotone/reorder';
|
|
251
|
+
import '@solar-icons/react/bold-duotone/repeat';
|
|
252
|
+
import '@solar-icons/react/bold-duotone/reply';
|
|
253
|
+
import '@solar-icons/react/bold-duotone/restart';
|
|
254
|
+
import '@solar-icons/react/bold-duotone/rocket';
|
|
255
|
+
import '@solar-icons/react/bold-duotone/route';
|
|
256
|
+
import '@solar-icons/react/bold-duotone/scale';
|
|
257
|
+
import '@solar-icons/react/bold-duotone/server';
|
|
258
|
+
import '@solar-icons/react/bold-duotone/settings';
|
|
259
|
+
import '@solar-icons/react/bold-duotone/share';
|
|
260
|
+
import '@solar-icons/react/bold-duotone/shield-check';
|
|
261
|
+
import '@solar-icons/react/bold-duotone/sidebar-minimalistic';
|
|
262
|
+
import '@solar-icons/react/bold-duotone/slider-horizontal';
|
|
263
|
+
import '@solar-icons/react/bold-duotone/smartphone';
|
|
264
|
+
import '@solar-icons/react/bold-duotone/sort';
|
|
265
|
+
import '@solar-icons/react/bold-duotone/sort-by-time';
|
|
266
|
+
import '@solar-icons/react/bold-duotone/sort-horizontal';
|
|
267
|
+
import '@solar-icons/react/bold-duotone/sort-vertical';
|
|
268
|
+
import '@solar-icons/react/bold-duotone/star';
|
|
269
|
+
import '@solar-icons/react/bold-duotone/structure';
|
|
270
|
+
import '@solar-icons/react/bold-duotone/sun';
|
|
271
|
+
import '@solar-icons/react/bold-duotone/tag';
|
|
272
|
+
import '@solar-icons/react/bold-duotone/telescope';
|
|
273
|
+
import '@solar-icons/react/bold-duotone/test-tube';
|
|
274
|
+
import '@solar-icons/react/bold-duotone/text-format';
|
|
275
|
+
import '@solar-icons/react/bold-duotone/transfer-horizontal';
|
|
276
|
+
import '@solar-icons/react/bold-duotone/translation';
|
|
277
|
+
import '@solar-icons/react/bold-duotone/trash-bin-minimalistic';
|
|
278
|
+
import '@solar-icons/react/bold-duotone/undo-left';
|
|
279
|
+
import '@solar-icons/react/bold-duotone/undo-left-round';
|
|
280
|
+
import '@solar-icons/react/bold-duotone/undo-right';
|
|
281
|
+
import '@solar-icons/react/bold-duotone/undo-right-round';
|
|
282
|
+
import '@solar-icons/react/bold-duotone/upload';
|
|
283
|
+
import '@solar-icons/react/bold-duotone/user';
|
|
284
|
+
import '@solar-icons/react/bold-duotone/user-id';
|
|
285
|
+
import '@solar-icons/react/bold-duotone/user-minus';
|
|
286
|
+
import '@solar-icons/react/bold-duotone/user-plus';
|
|
287
|
+
import '@solar-icons/react/bold-duotone/users-group-rounded';
|
|
288
|
+
import '@solar-icons/react/bold-duotone/users-group-two-rounded';
|
|
289
|
+
import '@solar-icons/react/bold-duotone/video-frame';
|
|
290
|
+
import '@solar-icons/react/bold-duotone/widget-2';
|
|
291
|
+
import '@solar-icons/react/bold-duotone/widget-5';
|
|
292
|
+
import '@solar-icons/react/bold-duotone/window-frame';
|
|
293
|
+
import '@solar-icons/react/linear/add-circle';
|
|
294
|
+
import '@solar-icons/react/linear/align-left';
|
|
295
|
+
import { AltArrowDownIcon } from '@solar-icons/react/linear/alt-arrow-down';
|
|
296
|
+
import '@solar-icons/react/linear/alt-arrow-left';
|
|
297
|
+
import '@solar-icons/react/linear/alt-arrow-right';
|
|
298
|
+
import '@solar-icons/react/linear/alt-arrow-up';
|
|
299
|
+
import '@solar-icons/react/linear/archive';
|
|
300
|
+
import '@solar-icons/react/linear/arrow-right';
|
|
301
|
+
import '@solar-icons/react/linear/arrow-to-top-left';
|
|
302
|
+
import '@solar-icons/react/linear/arrow-to-top-right';
|
|
303
|
+
import '@solar-icons/react/linear/bell';
|
|
304
|
+
import '@solar-icons/react/linear/bolt';
|
|
305
|
+
import '@solar-icons/react/linear/book';
|
|
306
|
+
import '@solar-icons/react/linear/book-2';
|
|
307
|
+
import '@solar-icons/react/linear/bookmark';
|
|
308
|
+
import '@solar-icons/react/linear/bookmark-circle';
|
|
309
|
+
import '@solar-icons/react/linear/box';
|
|
310
|
+
import '@solar-icons/react/linear/branching-paths-up';
|
|
311
|
+
import '@solar-icons/react/linear/bug';
|
|
312
|
+
import '@solar-icons/react/linear/calendar-date';
|
|
313
|
+
import '@solar-icons/react/linear/chat-round';
|
|
314
|
+
import '@solar-icons/react/linear/chat-round-dots';
|
|
315
|
+
import '@solar-icons/react/linear/chat-round-line';
|
|
316
|
+
import '@solar-icons/react/linear/chat-square';
|
|
317
|
+
import '@solar-icons/react/linear/check-circle';
|
|
318
|
+
import '@solar-icons/react/linear/checklist';
|
|
319
|
+
import '@solar-icons/react/linear/clipboard-list';
|
|
320
|
+
import '@solar-icons/react/linear/clock-circle';
|
|
321
|
+
import '@solar-icons/react/linear/compass';
|
|
322
|
+
import '@solar-icons/react/linear/copy';
|
|
323
|
+
import '@solar-icons/react/linear/crown';
|
|
324
|
+
import '@solar-icons/react/linear/danger-triangle';
|
|
325
|
+
import '@solar-icons/react/linear/database';
|
|
326
|
+
import '@solar-icons/react/linear/diskette';
|
|
327
|
+
import '@solar-icons/react/linear/dislike';
|
|
328
|
+
import '@solar-icons/react/linear/document-add';
|
|
329
|
+
import '@solar-icons/react/linear/document-text';
|
|
330
|
+
import '@solar-icons/react/linear/double-alt-arrow-down';
|
|
331
|
+
import '@solar-icons/react/linear/download';
|
|
332
|
+
import '@solar-icons/react/linear/eraser';
|
|
333
|
+
import '@solar-icons/react/linear/eye';
|
|
334
|
+
import '@solar-icons/react/linear/file';
|
|
335
|
+
import '@solar-icons/react/linear/file-remove';
|
|
336
|
+
import '@solar-icons/react/linear/file-text';
|
|
337
|
+
import '@solar-icons/react/linear/filter';
|
|
338
|
+
import '@solar-icons/react/linear/filters';
|
|
339
|
+
import '@solar-icons/react/linear/folder';
|
|
340
|
+
import '@solar-icons/react/linear/folder-open';
|
|
341
|
+
import '@solar-icons/react/linear/folder-path-connect';
|
|
342
|
+
import '@solar-icons/react/linear/forbidden-circle';
|
|
343
|
+
import '@solar-icons/react/linear/gallery';
|
|
344
|
+
import '@solar-icons/react/linear/gallery-add';
|
|
345
|
+
import '@solar-icons/react/linear/gallery-wide';
|
|
346
|
+
import '@solar-icons/react/linear/global';
|
|
347
|
+
import '@solar-icons/react/linear/graph-down';
|
|
348
|
+
import '@solar-icons/react/linear/graph-up';
|
|
349
|
+
import '@solar-icons/react/linear/hamburger-menu';
|
|
350
|
+
import '@solar-icons/react/linear/hand-heart';
|
|
351
|
+
import '@solar-icons/react/linear/heart';
|
|
352
|
+
import '@solar-icons/react/linear/help';
|
|
353
|
+
import '@solar-icons/react/linear/history';
|
|
354
|
+
import '@solar-icons/react/linear/home-angle';
|
|
355
|
+
import '@solar-icons/react/linear/info-circle';
|
|
356
|
+
import '@solar-icons/react/linear/layers';
|
|
357
|
+
import '@solar-icons/react/linear/letter';
|
|
358
|
+
import '@solar-icons/react/linear/like';
|
|
359
|
+
import '@solar-icons/react/linear/link';
|
|
360
|
+
import '@solar-icons/react/linear/list';
|
|
361
|
+
import '@solar-icons/react/linear/list-vertical';
|
|
362
|
+
import '@solar-icons/react/linear/lock-password';
|
|
363
|
+
import '@solar-icons/react/linear/login-2';
|
|
364
|
+
import '@solar-icons/react/linear/logout';
|
|
365
|
+
import '@solar-icons/react/linear/magic-wand-2';
|
|
366
|
+
import '@solar-icons/react/linear/magnifier';
|
|
367
|
+
import '@solar-icons/react/linear/magnifier-zoom-in';
|
|
368
|
+
import '@solar-icons/react/linear/magnifier-zoom-out';
|
|
369
|
+
import '@solar-icons/react/linear/maximize';
|
|
370
|
+
import '@solar-icons/react/linear/minimize';
|
|
371
|
+
import '@solar-icons/react/linear/minus-square';
|
|
372
|
+
import '@solar-icons/react/linear/monitor';
|
|
373
|
+
import '@solar-icons/react/linear/monitor-smartphone';
|
|
374
|
+
import '@solar-icons/react/linear/moon';
|
|
375
|
+
import '@solar-icons/react/linear/move-to-folder';
|
|
376
|
+
import '@solar-icons/react/linear/music-notes';
|
|
377
|
+
import '@solar-icons/react/linear/palette';
|
|
378
|
+
import '@solar-icons/react/linear/palette-round';
|
|
379
|
+
import '@solar-icons/react/linear/pause';
|
|
380
|
+
import '@solar-icons/react/linear/pen';
|
|
381
|
+
import '@solar-icons/react/linear/pen-new-round';
|
|
382
|
+
import '@solar-icons/react/linear/pie-chart';
|
|
383
|
+
import '@solar-icons/react/linear/pin';
|
|
384
|
+
import '@solar-icons/react/linear/play';
|
|
385
|
+
import '@solar-icons/react/linear/plug-circle';
|
|
386
|
+
import '@solar-icons/react/linear/plus-minus';
|
|
387
|
+
import '@solar-icons/react/linear/pulse';
|
|
388
|
+
import '@solar-icons/react/linear/refresh';
|
|
389
|
+
import '@solar-icons/react/linear/refresh-circle';
|
|
390
|
+
import '@solar-icons/react/linear/reorder';
|
|
391
|
+
import '@solar-icons/react/linear/repeat';
|
|
392
|
+
import '@solar-icons/react/linear/reply';
|
|
393
|
+
import '@solar-icons/react/linear/restart';
|
|
394
|
+
import '@solar-icons/react/linear/rocket';
|
|
395
|
+
import '@solar-icons/react/linear/route';
|
|
396
|
+
import '@solar-icons/react/linear/scale';
|
|
397
|
+
import '@solar-icons/react/linear/server';
|
|
398
|
+
import '@solar-icons/react/linear/settings';
|
|
399
|
+
import '@solar-icons/react/linear/share';
|
|
400
|
+
import '@solar-icons/react/linear/shield-check';
|
|
401
|
+
import '@solar-icons/react/linear/sidebar-minimalistic';
|
|
402
|
+
import '@solar-icons/react/linear/slider-horizontal';
|
|
403
|
+
import '@solar-icons/react/linear/smartphone';
|
|
404
|
+
import '@solar-icons/react/linear/sort';
|
|
405
|
+
import '@solar-icons/react/linear/sort-by-time';
|
|
406
|
+
import '@solar-icons/react/linear/sort-horizontal';
|
|
407
|
+
import '@solar-icons/react/linear/sort-vertical';
|
|
408
|
+
import '@solar-icons/react/linear/star';
|
|
409
|
+
import '@solar-icons/react/linear/structure';
|
|
410
|
+
import '@solar-icons/react/linear/sun';
|
|
411
|
+
import '@solar-icons/react/linear/tag';
|
|
412
|
+
import '@solar-icons/react/linear/telescope';
|
|
413
|
+
import '@solar-icons/react/linear/test-tube';
|
|
414
|
+
import '@solar-icons/react/linear/text-format';
|
|
415
|
+
import '@solar-icons/react/linear/transfer-horizontal';
|
|
416
|
+
import '@solar-icons/react/linear/translation';
|
|
417
|
+
import '@solar-icons/react/linear/trash-bin-minimalistic';
|
|
418
|
+
import '@solar-icons/react/linear/undo-left';
|
|
419
|
+
import '@solar-icons/react/linear/undo-left-round';
|
|
420
|
+
import '@solar-icons/react/linear/undo-right';
|
|
421
|
+
import '@solar-icons/react/linear/undo-right-round';
|
|
422
|
+
import '@solar-icons/react/linear/upload';
|
|
423
|
+
import '@solar-icons/react/linear/user';
|
|
424
|
+
import '@solar-icons/react/linear/user-id';
|
|
425
|
+
import '@solar-icons/react/linear/user-minus';
|
|
426
|
+
import '@solar-icons/react/linear/user-plus';
|
|
427
|
+
import '@solar-icons/react/linear/users-group-rounded';
|
|
428
|
+
import '@solar-icons/react/linear/users-group-two-rounded';
|
|
429
|
+
import '@solar-icons/react/linear/video-frame';
|
|
430
|
+
import '@solar-icons/react/linear/widget-2';
|
|
431
|
+
import '@solar-icons/react/linear/widget-5';
|
|
432
|
+
import '@solar-icons/react/linear/window-frame';
|
|
433
|
+
|
|
434
|
+
var mergeTheme = {
|
|
435
|
+
text: ["tiny", "ui", "doc", "doc-title", "doc-heading", "quote"],
|
|
436
|
+
spacing: ["chip", "control", "nav", "sidebar", "panel"],
|
|
437
|
+
tracking: ["label"],
|
|
438
|
+
shadow: ["card", "dialog"],
|
|
439
|
+
container: ["reading", "medium", "content"],
|
|
440
|
+
font: ["doc", "heading"],
|
|
441
|
+
ease: ["standard"],
|
|
442
|
+
animate: ["skel", "pop"]
|
|
443
|
+
};
|
|
444
|
+
var twMerge = extendTailwindMerge({
|
|
445
|
+
extend: { theme: mergeTheme }
|
|
446
|
+
});
|
|
447
|
+
|
|
448
|
+
// src/lib/utils.ts
|
|
449
|
+
function cn(...inputs) {
|
|
450
|
+
return twMerge(clsx(inputs));
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// src/viewport.ts
|
|
454
|
+
var MOBILE_BREAKPOINT_PX = 768;
|
|
455
|
+
var MOBILE_QUERY = `(max-width: ${MOBILE_BREAKPOINT_PX - 1}px)`;
|
|
456
|
+
function isBelowMd() {
|
|
457
|
+
if (typeof window === "undefined") return false;
|
|
458
|
+
return window.matchMedia(MOBILE_QUERY).matches;
|
|
459
|
+
}
|
|
460
|
+
var HISTORY_KEY = "__appMobileOverlay";
|
|
461
|
+
var overlayStack = [];
|
|
462
|
+
var popListenerInstalled = false;
|
|
463
|
+
var historyPatched = false;
|
|
464
|
+
var nextOverlayId = 0;
|
|
465
|
+
var suppressPopCount = 0;
|
|
466
|
+
var seenSyntheticIds = /* @__PURE__ */ new Set();
|
|
467
|
+
function patchHistory() {
|
|
468
|
+
if (historyPatched) return;
|
|
469
|
+
if (typeof window === "undefined") return;
|
|
470
|
+
historyPatched = true;
|
|
471
|
+
const origPush = window.history.pushState.bind(window.history);
|
|
472
|
+
window.history.pushState = (data, unused, url) => {
|
|
473
|
+
const state = data;
|
|
474
|
+
if (state !== null && typeof state === "object" && HISTORY_KEY in state) {
|
|
475
|
+
origPush(data, unused, url);
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
if (overlayStack.length > 0) {
|
|
479
|
+
closeAllOverlays();
|
|
480
|
+
}
|
|
481
|
+
origPush(data, unused, url);
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
function closeAllOverlays() {
|
|
485
|
+
while (overlayStack.length > 0) {
|
|
486
|
+
const entry = overlayStack.pop();
|
|
487
|
+
if (entry?.close !== void 0) {
|
|
488
|
+
const fn = entry.close;
|
|
489
|
+
entry.close = void 0;
|
|
490
|
+
fn();
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
function ensurePopListener() {
|
|
495
|
+
if (popListenerInstalled) return;
|
|
496
|
+
if (typeof window === "undefined") return;
|
|
497
|
+
popListenerInstalled = true;
|
|
498
|
+
window.addEventListener(
|
|
499
|
+
"popstate",
|
|
500
|
+
(e) => {
|
|
501
|
+
if (suppressPopCount > 0) return;
|
|
502
|
+
const state = e.state;
|
|
503
|
+
if (state !== null && typeof state === "object" && HISTORY_KEY in state) {
|
|
504
|
+
const id = state[HISTORY_KEY];
|
|
505
|
+
if (typeof id === "number" && overlayStack.some((entry) => entry.id === id)) {
|
|
506
|
+
closeTopOverlay();
|
|
507
|
+
e.stopImmediatePropagation();
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
e.stopImmediatePropagation();
|
|
511
|
+
if (typeof id === "number" && seenSyntheticIds.has(id)) {
|
|
512
|
+
window.history.back();
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
true
|
|
517
|
+
// capture phase
|
|
518
|
+
);
|
|
519
|
+
window.addEventListener("popstate", handlePop);
|
|
520
|
+
patchHistory();
|
|
521
|
+
}
|
|
522
|
+
function closeTopOverlay() {
|
|
523
|
+
const top = overlayStack.pop();
|
|
524
|
+
if (top === void 0) return;
|
|
525
|
+
if (top.close === void 0) return;
|
|
526
|
+
const closeFn = top.close;
|
|
527
|
+
top.close = void 0;
|
|
528
|
+
closeFn();
|
|
529
|
+
}
|
|
530
|
+
function handlePop() {
|
|
531
|
+
if (suppressPopCount > 0) {
|
|
532
|
+
suppressPopCount--;
|
|
533
|
+
return;
|
|
534
|
+
}
|
|
535
|
+
closeTopOverlay();
|
|
536
|
+
}
|
|
537
|
+
function removeFromStack(id) {
|
|
538
|
+
const idx = overlayStack.findIndex((e) => e.id === id);
|
|
539
|
+
if (idx === -1) return { removed: false, parkedBelow: 0 };
|
|
540
|
+
const wasTop = idx === overlayStack.length - 1;
|
|
541
|
+
if (!wasTop) {
|
|
542
|
+
const entry = overlayStack[idx];
|
|
543
|
+
if (entry !== void 0) entry.close = void 0;
|
|
544
|
+
return { removed: true, parkedBelow: 0 };
|
|
545
|
+
}
|
|
546
|
+
overlayStack.pop();
|
|
547
|
+
const remaining = overlayStack.splice(0, overlayStack.length);
|
|
548
|
+
const active = remaining.filter((e) => e.close !== void 0);
|
|
549
|
+
const parkedBelow = remaining.length - active.length;
|
|
550
|
+
overlayStack.push(...active);
|
|
551
|
+
return { removed: true, parkedBelow };
|
|
552
|
+
}
|
|
553
|
+
function scheduleStateRestore(id, baseState, parkedBelow) {
|
|
554
|
+
function check() {
|
|
555
|
+
const currentState = window.history.state;
|
|
556
|
+
if (currentState === null || typeof currentState !== "object" || !(HISTORY_KEY in currentState) || currentState[HISTORY_KEY] !== id) {
|
|
557
|
+
sweepParkedEntries();
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
560
|
+
const totalBacks = 1 + parkedBelow;
|
|
561
|
+
let done = false;
|
|
562
|
+
function restore() {
|
|
563
|
+
if (done) return;
|
|
564
|
+
done = true;
|
|
565
|
+
window.removeEventListener("popstate", onPop);
|
|
566
|
+
window.history.replaceState(baseState, "");
|
|
567
|
+
const sweptIds = sweepParkedEntries();
|
|
568
|
+
cleanupSeenIds(sweptIds);
|
|
569
|
+
}
|
|
570
|
+
function onPop() {
|
|
571
|
+
if (suppressPopCount > 0) {
|
|
572
|
+
suppressPopCount--;
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
restore();
|
|
576
|
+
}
|
|
577
|
+
window.addEventListener("popstate", onPop);
|
|
578
|
+
suppressPopCount += totalBacks;
|
|
579
|
+
for (let i = 0; i < totalBacks; i++) {
|
|
580
|
+
window.history.back();
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
let disposed = false;
|
|
584
|
+
let rafId;
|
|
585
|
+
function run() {
|
|
586
|
+
if (disposed) return;
|
|
587
|
+
disposed = true;
|
|
588
|
+
if (rafId !== void 0) {
|
|
589
|
+
cancelAnimationFrame(rafId);
|
|
590
|
+
}
|
|
591
|
+
check();
|
|
592
|
+
}
|
|
593
|
+
rafId = requestAnimationFrame(run);
|
|
594
|
+
}
|
|
595
|
+
function sweepParkedEntries() {
|
|
596
|
+
const sweptIds = [];
|
|
597
|
+
for (let i = overlayStack.length - 1; i >= 0; i--) {
|
|
598
|
+
const entry = overlayStack[i];
|
|
599
|
+
if (entry !== void 0 && entry.close === void 0) {
|
|
600
|
+
sweptIds.push(entry.id);
|
|
601
|
+
overlayStack.splice(i, 1);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
return sweptIds;
|
|
605
|
+
}
|
|
606
|
+
function cleanupSeenIds(sweptIds) {
|
|
607
|
+
const activeIds = new Set(overlayStack.map((e) => e.id));
|
|
608
|
+
for (const id of sweptIds) {
|
|
609
|
+
if (!activeIds.has(id)) {
|
|
610
|
+
seenSyntheticIds.delete(id);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
function useMobileBackToClose(open, onOpenChange) {
|
|
615
|
+
const idRef = useRef(void 0);
|
|
616
|
+
const onChangeRef = useRef(onOpenChange);
|
|
617
|
+
onChangeRef.current = onOpenChange;
|
|
618
|
+
useEffect(() => {
|
|
619
|
+
if (typeof window === "undefined") return;
|
|
620
|
+
if (onChangeRef.current === void 0) return;
|
|
621
|
+
if (!isBelowMd()) return;
|
|
622
|
+
ensurePopListener();
|
|
623
|
+
if (open === true && idRef.current === void 0) {
|
|
624
|
+
const id = ++nextOverlayId;
|
|
625
|
+
idRef.current = id;
|
|
626
|
+
seenSyntheticIds.add(id);
|
|
627
|
+
const baseState = window.history.state ?? null;
|
|
628
|
+
window.history.pushState(
|
|
629
|
+
{
|
|
630
|
+
...baseState ?? {},
|
|
631
|
+
[HISTORY_KEY]: id
|
|
632
|
+
},
|
|
633
|
+
""
|
|
634
|
+
);
|
|
635
|
+
overlayStack.push({
|
|
636
|
+
id,
|
|
637
|
+
baseState,
|
|
638
|
+
close() {
|
|
639
|
+
idRef.current = void 0;
|
|
640
|
+
onChangeRef.current?.(false);
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
return;
|
|
644
|
+
}
|
|
645
|
+
if (open !== true && idRef.current !== void 0) {
|
|
646
|
+
const id = idRef.current;
|
|
647
|
+
idRef.current = void 0;
|
|
648
|
+
const entryIdx = overlayStack.findIndex((e) => e.id === id);
|
|
649
|
+
const entry = entryIdx !== -1 ? overlayStack[entryIdx] : void 0;
|
|
650
|
+
const { removed, parkedBelow } = removeFromStack(id);
|
|
651
|
+
if (removed && entry !== void 0) {
|
|
652
|
+
scheduleStateRestore(id, entry.baseState, parkedBelow);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}, [open]);
|
|
656
|
+
useEffect(() => {
|
|
657
|
+
return () => {
|
|
658
|
+
if (idRef.current !== void 0) {
|
|
659
|
+
const id = idRef.current;
|
|
660
|
+
idRef.current = void 0;
|
|
661
|
+
const entryIdx = overlayStack.findIndex((e) => e.id === id);
|
|
662
|
+
const entry = entryIdx !== -1 ? overlayStack[entryIdx] : void 0;
|
|
663
|
+
const { removed, parkedBelow } = removeFromStack(id);
|
|
664
|
+
if (removed && entry !== void 0) {
|
|
665
|
+
scheduleStateRestore(id, entry.baseState, parkedBelow);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
}, []);
|
|
670
|
+
}
|
|
671
|
+
var buttonVariants = cva(
|
|
672
|
+
"group/button inline-flex shrink-0 items-center justify-center rounded-lg text-ui font-medium whitespace-nowrap outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
673
|
+
{
|
|
674
|
+
variants: {
|
|
675
|
+
variant: {
|
|
676
|
+
default: "bg-primary px-4! text-primary-foreground hover:bg-primary/80",
|
|
677
|
+
outline: "border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
678
|
+
secondary: "bg-secondary text-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-foreground",
|
|
679
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
680
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
681
|
+
danger: "bg-[color-mix(in_oklab,var(--destructive),black_12%)] text-white hover:bg-[color-mix(in_oklab,var(--destructive),black_4%)] focus-visible:border-destructive/40 focus-visible:ring-destructive/20 disabled:bg-destructive/10 disabled:text-muted-foreground dark:focus-visible:ring-destructive/40",
|
|
682
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
683
|
+
},
|
|
684
|
+
size: {
|
|
685
|
+
default: "h-control gap-2 px-3 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
686
|
+
xs: "h-6 gap-2 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
687
|
+
sm: "h-chip gap-2 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
|
|
688
|
+
lg: "h-10 gap-2 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
689
|
+
icon: "size-9",
|
|
690
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3",
|
|
691
|
+
"icon-sm": "size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md",
|
|
692
|
+
"icon-lg": "size-10"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
defaultVariants: {
|
|
696
|
+
variant: "default",
|
|
697
|
+
size: "default"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
);
|
|
701
|
+
function Button({
|
|
702
|
+
active,
|
|
703
|
+
className,
|
|
704
|
+
variant = "default",
|
|
705
|
+
size = "default",
|
|
706
|
+
...props
|
|
707
|
+
}) {
|
|
708
|
+
return /* @__PURE__ */ jsx(
|
|
709
|
+
Button$1,
|
|
710
|
+
{
|
|
711
|
+
"data-slot": "button",
|
|
712
|
+
className: cn(
|
|
713
|
+
buttonVariants({ variant, size, className }),
|
|
714
|
+
active && "bg-accent text-accent-foreground hover:bg-accent"
|
|
715
|
+
),
|
|
716
|
+
...props
|
|
717
|
+
}
|
|
718
|
+
);
|
|
719
|
+
}
|
|
720
|
+
var inputVariants = cva(
|
|
721
|
+
"w-full min-w-0 rounded-lg bg-muted text-ui text-foreground outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-[3px] aria-invalid:ring-destructive/20",
|
|
722
|
+
{
|
|
723
|
+
variants: {
|
|
724
|
+
size: {
|
|
725
|
+
sm: "h-chip px-2.5 text-xs",
|
|
726
|
+
md: "h-control px-3",
|
|
727
|
+
lg: "h-10 px-3.5"
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
defaultVariants: {
|
|
731
|
+
size: "md"
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
);
|
|
735
|
+
function Input({
|
|
736
|
+
className,
|
|
737
|
+
size,
|
|
738
|
+
type,
|
|
739
|
+
...props
|
|
740
|
+
}) {
|
|
741
|
+
return /* @__PURE__ */ jsx(
|
|
742
|
+
Input$1,
|
|
743
|
+
{
|
|
744
|
+
type,
|
|
745
|
+
"data-slot": "input",
|
|
746
|
+
className: cn(inputVariants({ size }), className),
|
|
747
|
+
...props
|
|
748
|
+
}
|
|
749
|
+
);
|
|
750
|
+
}
|
|
751
|
+
function InputGroup({ className, ...props }) {
|
|
752
|
+
return /* @__PURE__ */ jsx(
|
|
753
|
+
"div",
|
|
754
|
+
{
|
|
755
|
+
"data-slot": "input-group",
|
|
756
|
+
role: "group",
|
|
757
|
+
className: cn(
|
|
758
|
+
"group/input-group relative flex h-9 w-full min-w-0 items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
|
|
759
|
+
className
|
|
760
|
+
),
|
|
761
|
+
...props
|
|
762
|
+
}
|
|
763
|
+
);
|
|
764
|
+
}
|
|
765
|
+
var inputGroupAddonVariants = cva(
|
|
766
|
+
"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",
|
|
767
|
+
{
|
|
768
|
+
variants: {
|
|
769
|
+
align: {
|
|
770
|
+
"inline-start": "order-first pl-2 has-[>button]:-ml-1 has-[>kbd]:ml-[-0.15rem]",
|
|
771
|
+
"inline-end": "order-last pr-2 has-[>button]:-mr-1 has-[>kbd]:mr-[-0.15rem]",
|
|
772
|
+
"block-start": "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
|
|
773
|
+
"block-end": "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
defaultVariants: {
|
|
777
|
+
align: "inline-start"
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
);
|
|
781
|
+
function InputGroupAddon({
|
|
782
|
+
className,
|
|
783
|
+
align = "inline-start",
|
|
784
|
+
...props
|
|
785
|
+
}) {
|
|
786
|
+
return /* @__PURE__ */ jsx(
|
|
787
|
+
"div",
|
|
788
|
+
{
|
|
789
|
+
role: "group",
|
|
790
|
+
"data-slot": "input-group-addon",
|
|
791
|
+
"data-align": align,
|
|
792
|
+
className: cn(inputGroupAddonVariants({ align }), className),
|
|
793
|
+
onClick: (e) => {
|
|
794
|
+
if (e.target.closest("button")) {
|
|
795
|
+
return;
|
|
796
|
+
}
|
|
797
|
+
e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
798
|
+
},
|
|
799
|
+
...props
|
|
800
|
+
}
|
|
801
|
+
);
|
|
802
|
+
}
|
|
803
|
+
var inputGroupButtonVariants = cva(
|
|
804
|
+
"flex items-center gap-2 text-sm shadow-none",
|
|
805
|
+
{
|
|
806
|
+
variants: {
|
|
807
|
+
size: {
|
|
808
|
+
xs: "h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
|
|
809
|
+
sm: "",
|
|
810
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
|
|
811
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
defaultVariants: {
|
|
815
|
+
size: "xs"
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
);
|
|
819
|
+
function InputGroupButton({
|
|
820
|
+
className,
|
|
821
|
+
type = "button",
|
|
822
|
+
variant = "ghost",
|
|
823
|
+
size = "xs",
|
|
824
|
+
...props
|
|
825
|
+
}) {
|
|
826
|
+
return /* @__PURE__ */ jsx(
|
|
827
|
+
Button,
|
|
828
|
+
{
|
|
829
|
+
type,
|
|
830
|
+
"data-size": size,
|
|
831
|
+
variant,
|
|
832
|
+
className: cn(inputGroupButtonVariants({ size }), className),
|
|
833
|
+
...props
|
|
834
|
+
}
|
|
835
|
+
);
|
|
836
|
+
}
|
|
837
|
+
function InputGroupInput({
|
|
838
|
+
className,
|
|
839
|
+
...props
|
|
840
|
+
}) {
|
|
841
|
+
return /* @__PURE__ */ jsx(
|
|
842
|
+
Input,
|
|
843
|
+
{
|
|
844
|
+
"data-slot": "input-group-control",
|
|
845
|
+
className: cn(
|
|
846
|
+
"flex-1 rounded-none bg-transparent aria-invalid:ring-0 dark:bg-transparent",
|
|
847
|
+
className
|
|
848
|
+
),
|
|
849
|
+
...props
|
|
850
|
+
}
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
function readIconMode() {
|
|
854
|
+
return document.documentElement.dataset.iconStyle === "linear" ? "linear" : "boldDuotone";
|
|
855
|
+
}
|
|
856
|
+
var currentMode = "boldDuotone";
|
|
857
|
+
var observer;
|
|
858
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
859
|
+
function ensureObserver() {
|
|
860
|
+
if (observer !== void 0 || typeof document === "undefined") return;
|
|
861
|
+
observer = new MutationObserver(() => {
|
|
862
|
+
const next = readIconMode();
|
|
863
|
+
if (next === currentMode) return;
|
|
864
|
+
currentMode = next;
|
|
865
|
+
for (const cb of listeners) cb();
|
|
866
|
+
});
|
|
867
|
+
observer.observe(document.documentElement, {
|
|
868
|
+
attributes: true,
|
|
869
|
+
attributeFilter: ["data-icon-style"]
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
function subscribeIconStyle(callback) {
|
|
873
|
+
ensureObserver();
|
|
874
|
+
currentMode = readIconMode();
|
|
875
|
+
listeners.add(callback);
|
|
876
|
+
return () => {
|
|
877
|
+
listeners.delete(callback);
|
|
878
|
+
};
|
|
879
|
+
}
|
|
880
|
+
function getIconStyleSnapshot() {
|
|
881
|
+
return currentMode;
|
|
882
|
+
}
|
|
883
|
+
function createIcon(variants) {
|
|
884
|
+
function Icon(props) {
|
|
885
|
+
const current = useSyncExternalStore(
|
|
886
|
+
subscribeIconStyle,
|
|
887
|
+
getIconStyleSnapshot,
|
|
888
|
+
() => "boldDuotone"
|
|
889
|
+
);
|
|
890
|
+
const { mode, ...rest } = props;
|
|
891
|
+
const Component = variants[mode ?? current];
|
|
892
|
+
const className = typeof rest.className === "string" ? `hd-icon ${rest.className}` : "hd-icon";
|
|
893
|
+
return createElement(Component, { ...rest, className });
|
|
894
|
+
}
|
|
895
|
+
return Icon;
|
|
896
|
+
}
|
|
897
|
+
var AltArrowDown = createIcon({
|
|
898
|
+
bold: AltArrowDownIcon$2,
|
|
899
|
+
boldDuotone: AltArrowDownIcon$1,
|
|
900
|
+
linear: AltArrowDownIcon
|
|
901
|
+
});
|
|
902
|
+
function Mark({
|
|
903
|
+
d,
|
|
904
|
+
filled,
|
|
905
|
+
className
|
|
906
|
+
}) {
|
|
907
|
+
return /* @__PURE__ */ jsx(
|
|
908
|
+
"svg",
|
|
909
|
+
{
|
|
910
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
911
|
+
viewBox: "0 0 24 24",
|
|
912
|
+
fill: "none",
|
|
913
|
+
className,
|
|
914
|
+
children: filled ? /* @__PURE__ */ jsx("path", { d, fill: "currentColor" }) : /* @__PURE__ */ jsx(
|
|
915
|
+
"path",
|
|
916
|
+
{
|
|
917
|
+
d,
|
|
918
|
+
stroke: "currentColor",
|
|
919
|
+
strokeWidth: "2",
|
|
920
|
+
strokeLinecap: "round",
|
|
921
|
+
strokeLinejoin: "round"
|
|
922
|
+
}
|
|
923
|
+
)
|
|
924
|
+
}
|
|
925
|
+
);
|
|
926
|
+
}
|
|
927
|
+
function Check(props) {
|
|
928
|
+
return /* @__PURE__ */ jsx(Mark, { ...props, d: "M5 12.8l4.7 4.7L19 7.2" });
|
|
929
|
+
}
|
|
930
|
+
function Cross(props) {
|
|
931
|
+
return /* @__PURE__ */ jsx(Mark, { ...props, d: "M6 6l12 12M18 6L6 18" });
|
|
932
|
+
}
|
|
933
|
+
function Combobox({
|
|
934
|
+
open,
|
|
935
|
+
defaultOpen,
|
|
936
|
+
onOpenChange,
|
|
937
|
+
...props
|
|
938
|
+
}) {
|
|
939
|
+
const [uncontrolledOpen, setUncontrolledOpen] = React2.useState(
|
|
940
|
+
defaultOpen ?? false
|
|
941
|
+
);
|
|
942
|
+
const isControlled = open !== void 0;
|
|
943
|
+
const currentOpen = isControlled ? open : uncontrolledOpen;
|
|
944
|
+
function handleOpenChange(next, eventDetails) {
|
|
945
|
+
if (!isControlled) setUncontrolledOpen(next);
|
|
946
|
+
onOpenChange?.(next, eventDetails);
|
|
947
|
+
}
|
|
948
|
+
useMobileBackToClose(currentOpen, handleOpenChange);
|
|
949
|
+
return /* @__PURE__ */ jsx(
|
|
950
|
+
Combobox$1.Root,
|
|
951
|
+
{
|
|
952
|
+
open: currentOpen,
|
|
953
|
+
onOpenChange: handleOpenChange,
|
|
954
|
+
...props
|
|
955
|
+
}
|
|
956
|
+
);
|
|
957
|
+
}
|
|
958
|
+
function ComboboxValue({ ...props }) {
|
|
959
|
+
return /* @__PURE__ */ jsx(Combobox$1.Value, { "data-slot": "combobox-value", ...props });
|
|
960
|
+
}
|
|
961
|
+
function ComboboxTrigger({
|
|
962
|
+
className,
|
|
963
|
+
children,
|
|
964
|
+
...props
|
|
965
|
+
}) {
|
|
966
|
+
return /* @__PURE__ */ jsxs(
|
|
967
|
+
Combobox$1.Trigger,
|
|
968
|
+
{
|
|
969
|
+
"data-slot": "combobox-trigger",
|
|
970
|
+
className: cn("[&_svg:not([class*='size-'])]:size-4", className),
|
|
971
|
+
...props,
|
|
972
|
+
children: [
|
|
973
|
+
children,
|
|
974
|
+
/* @__PURE__ */ jsx(AltArrowDown, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
975
|
+
]
|
|
976
|
+
}
|
|
977
|
+
);
|
|
978
|
+
}
|
|
979
|
+
function ComboboxClear({ className, ...props }) {
|
|
980
|
+
return /* @__PURE__ */ jsx(
|
|
981
|
+
Combobox$1.Clear,
|
|
982
|
+
{
|
|
983
|
+
"data-slot": "combobox-clear",
|
|
984
|
+
render: /* @__PURE__ */ jsx(InputGroupButton, { variant: "ghost", size: "icon-xs" }),
|
|
985
|
+
className: cn(className),
|
|
986
|
+
...props,
|
|
987
|
+
children: /* @__PURE__ */ jsx(Cross, { className: "pointer-events-none" })
|
|
988
|
+
}
|
|
989
|
+
);
|
|
990
|
+
}
|
|
991
|
+
function ComboboxInput({
|
|
992
|
+
className,
|
|
993
|
+
children,
|
|
994
|
+
disabled = false,
|
|
995
|
+
showTrigger = true,
|
|
996
|
+
showClear = false,
|
|
997
|
+
...props
|
|
998
|
+
}) {
|
|
999
|
+
return /* @__PURE__ */ jsxs(InputGroup, { className: cn("w-auto", className), children: [
|
|
1000
|
+
/* @__PURE__ */ jsx(
|
|
1001
|
+
Combobox$1.Input,
|
|
1002
|
+
{
|
|
1003
|
+
render: /* @__PURE__ */ jsx(InputGroupInput, { disabled }),
|
|
1004
|
+
...props
|
|
1005
|
+
}
|
|
1006
|
+
),
|
|
1007
|
+
/* @__PURE__ */ jsxs(InputGroupAddon, { align: "inline-end", children: [
|
|
1008
|
+
showTrigger && /* @__PURE__ */ jsx(
|
|
1009
|
+
InputGroupButton,
|
|
1010
|
+
{
|
|
1011
|
+
size: "icon-xs",
|
|
1012
|
+
variant: "ghost",
|
|
1013
|
+
render: /* @__PURE__ */ jsx(ComboboxTrigger, {}),
|
|
1014
|
+
"data-slot": "input-group-button",
|
|
1015
|
+
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
1016
|
+
disabled
|
|
1017
|
+
}
|
|
1018
|
+
),
|
|
1019
|
+
showClear && /* @__PURE__ */ jsx(ComboboxClear, { disabled })
|
|
1020
|
+
] }),
|
|
1021
|
+
children
|
|
1022
|
+
] });
|
|
1023
|
+
}
|
|
1024
|
+
function ComboboxContent({
|
|
1025
|
+
className,
|
|
1026
|
+
side = "bottom",
|
|
1027
|
+
sideOffset = 6,
|
|
1028
|
+
align = "start",
|
|
1029
|
+
alignOffset = 0,
|
|
1030
|
+
anchor,
|
|
1031
|
+
...props
|
|
1032
|
+
}) {
|
|
1033
|
+
return /* @__PURE__ */ jsx(Combobox$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
1034
|
+
Combobox$1.Positioner,
|
|
1035
|
+
{
|
|
1036
|
+
side,
|
|
1037
|
+
sideOffset,
|
|
1038
|
+
align,
|
|
1039
|
+
alignOffset,
|
|
1040
|
+
anchor,
|
|
1041
|
+
className: "isolate z-50",
|
|
1042
|
+
children: /* @__PURE__ */ jsx(
|
|
1043
|
+
Combobox$1.Popup,
|
|
1044
|
+
{
|
|
1045
|
+
"data-slot": "combobox-content",
|
|
1046
|
+
"data-chips": !!anchor,
|
|
1047
|
+
className: cn("group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
1048
|
+
...props
|
|
1049
|
+
}
|
|
1050
|
+
)
|
|
1051
|
+
}
|
|
1052
|
+
) });
|
|
1053
|
+
}
|
|
1054
|
+
function ComboboxList({ className, ...props }) {
|
|
1055
|
+
return /* @__PURE__ */ jsx(
|
|
1056
|
+
Combobox$1.List,
|
|
1057
|
+
{
|
|
1058
|
+
"data-slot": "combobox-list",
|
|
1059
|
+
className: cn(
|
|
1060
|
+
"no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0",
|
|
1061
|
+
className
|
|
1062
|
+
),
|
|
1063
|
+
...props
|
|
1064
|
+
}
|
|
1065
|
+
);
|
|
1066
|
+
}
|
|
1067
|
+
function ComboboxItem({
|
|
1068
|
+
className,
|
|
1069
|
+
children,
|
|
1070
|
+
...props
|
|
1071
|
+
}) {
|
|
1072
|
+
return /* @__PURE__ */ jsxs(
|
|
1073
|
+
Combobox$1.Item,
|
|
1074
|
+
{
|
|
1075
|
+
"data-slot": "combobox-item",
|
|
1076
|
+
className: cn(
|
|
1077
|
+
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1078
|
+
className
|
|
1079
|
+
),
|
|
1080
|
+
...props,
|
|
1081
|
+
children: [
|
|
1082
|
+
children,
|
|
1083
|
+
/* @__PURE__ */ jsx(
|
|
1084
|
+
Combobox$1.ItemIndicator,
|
|
1085
|
+
{
|
|
1086
|
+
render: /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
1087
|
+
children: /* @__PURE__ */ jsx(Check, { className: "pointer-events-none" })
|
|
1088
|
+
}
|
|
1089
|
+
)
|
|
1090
|
+
]
|
|
1091
|
+
}
|
|
1092
|
+
);
|
|
1093
|
+
}
|
|
1094
|
+
function ComboboxGroup({ className, ...props }) {
|
|
1095
|
+
return /* @__PURE__ */ jsx(
|
|
1096
|
+
Combobox$1.Group,
|
|
1097
|
+
{
|
|
1098
|
+
"data-slot": "combobox-group",
|
|
1099
|
+
className: cn(className),
|
|
1100
|
+
...props
|
|
1101
|
+
}
|
|
1102
|
+
);
|
|
1103
|
+
}
|
|
1104
|
+
function ComboboxLabel({
|
|
1105
|
+
className,
|
|
1106
|
+
...props
|
|
1107
|
+
}) {
|
|
1108
|
+
return /* @__PURE__ */ jsx(
|
|
1109
|
+
Combobox$1.GroupLabel,
|
|
1110
|
+
{
|
|
1111
|
+
"data-slot": "combobox-label",
|
|
1112
|
+
className: cn("px-2 py-1.5 text-xs text-muted-foreground", className),
|
|
1113
|
+
...props
|
|
1114
|
+
}
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1117
|
+
function ComboboxCollection({ ...props }) {
|
|
1118
|
+
return /* @__PURE__ */ jsx(Combobox$1.Collection, { "data-slot": "combobox-collection", ...props });
|
|
1119
|
+
}
|
|
1120
|
+
function ComboboxEmpty({ className, ...props }) {
|
|
1121
|
+
return /* @__PURE__ */ jsx(
|
|
1122
|
+
Combobox$1.Empty,
|
|
1123
|
+
{
|
|
1124
|
+
"data-slot": "combobox-empty",
|
|
1125
|
+
className: cn(
|
|
1126
|
+
"hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex",
|
|
1127
|
+
className
|
|
1128
|
+
),
|
|
1129
|
+
...props
|
|
1130
|
+
}
|
|
1131
|
+
);
|
|
1132
|
+
}
|
|
1133
|
+
function ComboboxSeparator({
|
|
1134
|
+
className,
|
|
1135
|
+
...props
|
|
1136
|
+
}) {
|
|
1137
|
+
return /* @__PURE__ */ jsx(
|
|
1138
|
+
Combobox$1.Separator,
|
|
1139
|
+
{
|
|
1140
|
+
"data-slot": "combobox-separator",
|
|
1141
|
+
className: cn("-mx-1 my-1 h-px bg-border", className),
|
|
1142
|
+
...props
|
|
1143
|
+
}
|
|
1144
|
+
);
|
|
1145
|
+
}
|
|
1146
|
+
function ComboboxChips({
|
|
1147
|
+
className,
|
|
1148
|
+
...props
|
|
1149
|
+
}) {
|
|
1150
|
+
return /* @__PURE__ */ jsx(
|
|
1151
|
+
Combobox$1.Chips,
|
|
1152
|
+
{
|
|
1153
|
+
"data-slot": "combobox-chips",
|
|
1154
|
+
className: cn(
|
|
1155
|
+
"flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border border-input bg-transparent bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1.5 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40",
|
|
1156
|
+
className
|
|
1157
|
+
),
|
|
1158
|
+
...props
|
|
1159
|
+
}
|
|
1160
|
+
);
|
|
1161
|
+
}
|
|
1162
|
+
function ComboboxChip({
|
|
1163
|
+
className,
|
|
1164
|
+
children,
|
|
1165
|
+
showRemove = true,
|
|
1166
|
+
...props
|
|
1167
|
+
}) {
|
|
1168
|
+
return /* @__PURE__ */ jsxs(
|
|
1169
|
+
Combobox$1.Chip,
|
|
1170
|
+
{
|
|
1171
|
+
"data-slot": "combobox-chip",
|
|
1172
|
+
className: cn(
|
|
1173
|
+
"flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0",
|
|
1174
|
+
className
|
|
1175
|
+
),
|
|
1176
|
+
...props,
|
|
1177
|
+
children: [
|
|
1178
|
+
children,
|
|
1179
|
+
showRemove && /* @__PURE__ */ jsx(
|
|
1180
|
+
Combobox$1.ChipRemove,
|
|
1181
|
+
{
|
|
1182
|
+
render: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "icon-xs" }),
|
|
1183
|
+
className: "-ml-1 opacity-50 hover:opacity-100",
|
|
1184
|
+
"data-slot": "combobox-chip-remove",
|
|
1185
|
+
children: /* @__PURE__ */ jsx(Cross, { className: "pointer-events-none" })
|
|
1186
|
+
}
|
|
1187
|
+
)
|
|
1188
|
+
]
|
|
1189
|
+
}
|
|
1190
|
+
);
|
|
1191
|
+
}
|
|
1192
|
+
function ComboboxChipsInput({
|
|
1193
|
+
className,
|
|
1194
|
+
...props
|
|
1195
|
+
}) {
|
|
1196
|
+
return /* @__PURE__ */ jsx(
|
|
1197
|
+
Combobox$1.Input,
|
|
1198
|
+
{
|
|
1199
|
+
"data-slot": "combobox-chip-input",
|
|
1200
|
+
className: cn("min-w-16 flex-1 outline-none", className),
|
|
1201
|
+
...props
|
|
1202
|
+
}
|
|
1203
|
+
);
|
|
1204
|
+
}
|
|
1205
|
+
function useComboboxAnchor() {
|
|
1206
|
+
return React2.useRef(null);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
export { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor };
|
|
1210
|
+
//# sourceMappingURL=combobox.js.map
|
|
1211
|
+
//# sourceMappingURL=combobox.js.map
|