@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,1036 @@
|
|
|
1
|
+
import { clsx } from 'clsx';
|
|
2
|
+
import { extendTailwindMerge } from 'tailwind-merge';
|
|
3
|
+
import '@solar-icons/react/bold/add-circle';
|
|
4
|
+
import '@solar-icons/react/bold/align-left';
|
|
5
|
+
import { AltArrowDownIcon as AltArrowDownIcon$2 } from '@solar-icons/react/bold/alt-arrow-down';
|
|
6
|
+
import '@solar-icons/react/bold/alt-arrow-left';
|
|
7
|
+
import '@solar-icons/react/bold/alt-arrow-right';
|
|
8
|
+
import '@solar-icons/react/bold/alt-arrow-up';
|
|
9
|
+
import '@solar-icons/react/bold/archive';
|
|
10
|
+
import '@solar-icons/react/bold/arrow-right';
|
|
11
|
+
import '@solar-icons/react/bold/arrow-to-top-left';
|
|
12
|
+
import '@solar-icons/react/bold/arrow-to-top-right';
|
|
13
|
+
import '@solar-icons/react/bold/bell';
|
|
14
|
+
import '@solar-icons/react/bold/bolt';
|
|
15
|
+
import '@solar-icons/react/bold/book';
|
|
16
|
+
import '@solar-icons/react/bold/book-2';
|
|
17
|
+
import '@solar-icons/react/bold/bookmark';
|
|
18
|
+
import '@solar-icons/react/bold/bookmark-circle';
|
|
19
|
+
import '@solar-icons/react/bold/box';
|
|
20
|
+
import '@solar-icons/react/bold/branching-paths-up';
|
|
21
|
+
import '@solar-icons/react/bold/bug';
|
|
22
|
+
import '@solar-icons/react/bold/calendar-date';
|
|
23
|
+
import '@solar-icons/react/bold/chat-round';
|
|
24
|
+
import '@solar-icons/react/bold/chat-round-dots';
|
|
25
|
+
import '@solar-icons/react/bold/chat-round-line';
|
|
26
|
+
import '@solar-icons/react/bold/chat-square';
|
|
27
|
+
import '@solar-icons/react/bold/check-circle';
|
|
28
|
+
import '@solar-icons/react/bold/checklist';
|
|
29
|
+
import '@solar-icons/react/bold/clipboard-list';
|
|
30
|
+
import '@solar-icons/react/bold/clock-circle';
|
|
31
|
+
import '@solar-icons/react/bold/compass';
|
|
32
|
+
import '@solar-icons/react/bold/copy';
|
|
33
|
+
import '@solar-icons/react/bold/crown';
|
|
34
|
+
import '@solar-icons/react/bold/danger-triangle';
|
|
35
|
+
import '@solar-icons/react/bold/database';
|
|
36
|
+
import '@solar-icons/react/bold/diskette';
|
|
37
|
+
import '@solar-icons/react/bold/dislike';
|
|
38
|
+
import '@solar-icons/react/bold/document-add';
|
|
39
|
+
import '@solar-icons/react/bold/document-text';
|
|
40
|
+
import '@solar-icons/react/bold/double-alt-arrow-down';
|
|
41
|
+
import '@solar-icons/react/bold/download';
|
|
42
|
+
import '@solar-icons/react/bold/eraser';
|
|
43
|
+
import '@solar-icons/react/bold/eye';
|
|
44
|
+
import '@solar-icons/react/bold/file';
|
|
45
|
+
import '@solar-icons/react/bold/file-remove';
|
|
46
|
+
import '@solar-icons/react/bold/file-text';
|
|
47
|
+
import '@solar-icons/react/bold/filter';
|
|
48
|
+
import '@solar-icons/react/bold/filters';
|
|
49
|
+
import '@solar-icons/react/bold/folder';
|
|
50
|
+
import '@solar-icons/react/bold/folder-open';
|
|
51
|
+
import '@solar-icons/react/bold/folder-path-connect';
|
|
52
|
+
import '@solar-icons/react/bold/forbidden-circle';
|
|
53
|
+
import '@solar-icons/react/bold/gallery';
|
|
54
|
+
import '@solar-icons/react/bold/gallery-add';
|
|
55
|
+
import '@solar-icons/react/bold/gallery-wide';
|
|
56
|
+
import '@solar-icons/react/bold/global';
|
|
57
|
+
import '@solar-icons/react/bold/graph-down';
|
|
58
|
+
import '@solar-icons/react/bold/graph-up';
|
|
59
|
+
import '@solar-icons/react/bold/hamburger-menu';
|
|
60
|
+
import '@solar-icons/react/bold/hand-heart';
|
|
61
|
+
import '@solar-icons/react/bold/heart';
|
|
62
|
+
import '@solar-icons/react/bold/help';
|
|
63
|
+
import '@solar-icons/react/bold/history';
|
|
64
|
+
import '@solar-icons/react/bold/home-angle';
|
|
65
|
+
import '@solar-icons/react/bold/info-circle';
|
|
66
|
+
import '@solar-icons/react/bold/layers';
|
|
67
|
+
import '@solar-icons/react/bold/letter';
|
|
68
|
+
import '@solar-icons/react/bold/like';
|
|
69
|
+
import '@solar-icons/react/bold/link';
|
|
70
|
+
import '@solar-icons/react/bold/list';
|
|
71
|
+
import '@solar-icons/react/bold/list-vertical';
|
|
72
|
+
import '@solar-icons/react/bold/lock-password';
|
|
73
|
+
import '@solar-icons/react/bold/login-2';
|
|
74
|
+
import '@solar-icons/react/bold/logout';
|
|
75
|
+
import '@solar-icons/react/bold/magic-wand-2';
|
|
76
|
+
import '@solar-icons/react/bold/magnifier';
|
|
77
|
+
import '@solar-icons/react/bold/magnifier-zoom-in';
|
|
78
|
+
import '@solar-icons/react/bold/magnifier-zoom-out';
|
|
79
|
+
import '@solar-icons/react/bold/maximize';
|
|
80
|
+
import '@solar-icons/react/bold/menu-dots';
|
|
81
|
+
import '@solar-icons/react/bold/minimize';
|
|
82
|
+
import '@solar-icons/react/bold/minus-square';
|
|
83
|
+
import '@solar-icons/react/bold/monitor';
|
|
84
|
+
import '@solar-icons/react/bold/monitor-smartphone';
|
|
85
|
+
import '@solar-icons/react/bold/moon';
|
|
86
|
+
import '@solar-icons/react/bold/move-to-folder';
|
|
87
|
+
import '@solar-icons/react/bold/music-notes';
|
|
88
|
+
import '@solar-icons/react/bold/palette';
|
|
89
|
+
import '@solar-icons/react/bold/palette-round';
|
|
90
|
+
import '@solar-icons/react/bold/pause';
|
|
91
|
+
import '@solar-icons/react/bold/pen';
|
|
92
|
+
import '@solar-icons/react/bold/pen-new-round';
|
|
93
|
+
import '@solar-icons/react/bold/pie-chart';
|
|
94
|
+
import '@solar-icons/react/bold/pin';
|
|
95
|
+
import '@solar-icons/react/bold/play';
|
|
96
|
+
import '@solar-icons/react/bold/plug-circle';
|
|
97
|
+
import '@solar-icons/react/bold/plus-minus';
|
|
98
|
+
import '@solar-icons/react/bold/pulse';
|
|
99
|
+
import '@solar-icons/react/bold/refresh';
|
|
100
|
+
import '@solar-icons/react/bold/refresh-circle';
|
|
101
|
+
import '@solar-icons/react/bold/reorder';
|
|
102
|
+
import '@solar-icons/react/bold/repeat';
|
|
103
|
+
import '@solar-icons/react/bold/reply';
|
|
104
|
+
import '@solar-icons/react/bold/restart';
|
|
105
|
+
import '@solar-icons/react/bold/rocket';
|
|
106
|
+
import '@solar-icons/react/bold/route';
|
|
107
|
+
import '@solar-icons/react/bold/scale';
|
|
108
|
+
import '@solar-icons/react/bold/server';
|
|
109
|
+
import '@solar-icons/react/bold/settings';
|
|
110
|
+
import '@solar-icons/react/bold/share';
|
|
111
|
+
import '@solar-icons/react/bold/shield-check';
|
|
112
|
+
import '@solar-icons/react/bold/sidebar-minimalistic';
|
|
113
|
+
import '@solar-icons/react/bold/slider-horizontal';
|
|
114
|
+
import '@solar-icons/react/bold/smartphone';
|
|
115
|
+
import '@solar-icons/react/bold/sort';
|
|
116
|
+
import '@solar-icons/react/bold/sort-by-time';
|
|
117
|
+
import '@solar-icons/react/bold/sort-horizontal';
|
|
118
|
+
import '@solar-icons/react/bold/sort-vertical';
|
|
119
|
+
import '@solar-icons/react/bold/star';
|
|
120
|
+
import '@solar-icons/react/bold/structure';
|
|
121
|
+
import '@solar-icons/react/bold/sun';
|
|
122
|
+
import '@solar-icons/react/bold/tag';
|
|
123
|
+
import '@solar-icons/react/bold/telescope';
|
|
124
|
+
import '@solar-icons/react/bold/test-tube';
|
|
125
|
+
import '@solar-icons/react/bold/text-format';
|
|
126
|
+
import '@solar-icons/react/bold/transfer-horizontal';
|
|
127
|
+
import '@solar-icons/react/bold/translation';
|
|
128
|
+
import '@solar-icons/react/bold/trash-bin-minimalistic';
|
|
129
|
+
import '@solar-icons/react/bold/undo-left';
|
|
130
|
+
import '@solar-icons/react/bold/undo-left-round';
|
|
131
|
+
import '@solar-icons/react/bold/undo-right';
|
|
132
|
+
import '@solar-icons/react/bold/undo-right-round';
|
|
133
|
+
import '@solar-icons/react/bold/upload';
|
|
134
|
+
import '@solar-icons/react/bold/user';
|
|
135
|
+
import '@solar-icons/react/bold/user-id';
|
|
136
|
+
import '@solar-icons/react/bold/user-minus';
|
|
137
|
+
import '@solar-icons/react/bold/user-plus';
|
|
138
|
+
import '@solar-icons/react/bold/users-group-rounded';
|
|
139
|
+
import '@solar-icons/react/bold/users-group-two-rounded';
|
|
140
|
+
import '@solar-icons/react/bold/video-frame';
|
|
141
|
+
import '@solar-icons/react/bold/widget-2';
|
|
142
|
+
import '@solar-icons/react/bold/widget-5';
|
|
143
|
+
import '@solar-icons/react/bold/window-frame';
|
|
144
|
+
import '@solar-icons/react/bold-duotone/add-circle';
|
|
145
|
+
import '@solar-icons/react/bold-duotone/align-left';
|
|
146
|
+
import { AltArrowDownIcon as AltArrowDownIcon$1 } from '@solar-icons/react/bold-duotone/alt-arrow-down';
|
|
147
|
+
import '@solar-icons/react/bold-duotone/alt-arrow-left';
|
|
148
|
+
import '@solar-icons/react/bold-duotone/alt-arrow-right';
|
|
149
|
+
import '@solar-icons/react/bold-duotone/alt-arrow-up';
|
|
150
|
+
import '@solar-icons/react/bold-duotone/archive';
|
|
151
|
+
import '@solar-icons/react/bold-duotone/arrow-right';
|
|
152
|
+
import '@solar-icons/react/bold-duotone/arrow-to-top-left';
|
|
153
|
+
import '@solar-icons/react/bold-duotone/arrow-to-top-right';
|
|
154
|
+
import '@solar-icons/react/bold-duotone/bell';
|
|
155
|
+
import '@solar-icons/react/bold-duotone/bolt';
|
|
156
|
+
import '@solar-icons/react/bold-duotone/book';
|
|
157
|
+
import '@solar-icons/react/bold-duotone/book-2';
|
|
158
|
+
import '@solar-icons/react/bold-duotone/bookmark';
|
|
159
|
+
import '@solar-icons/react/bold-duotone/bookmark-circle';
|
|
160
|
+
import '@solar-icons/react/bold-duotone/box';
|
|
161
|
+
import '@solar-icons/react/bold-duotone/branching-paths-up';
|
|
162
|
+
import '@solar-icons/react/bold-duotone/bug';
|
|
163
|
+
import '@solar-icons/react/bold-duotone/calendar-date';
|
|
164
|
+
import '@solar-icons/react/bold-duotone/chat-round';
|
|
165
|
+
import '@solar-icons/react/bold-duotone/chat-round-dots';
|
|
166
|
+
import '@solar-icons/react/bold-duotone/chat-round-line';
|
|
167
|
+
import '@solar-icons/react/bold-duotone/chat-square';
|
|
168
|
+
import '@solar-icons/react/bold-duotone/check-circle';
|
|
169
|
+
import '@solar-icons/react/bold-duotone/checklist';
|
|
170
|
+
import '@solar-icons/react/bold-duotone/clipboard-list';
|
|
171
|
+
import '@solar-icons/react/bold-duotone/clock-circle';
|
|
172
|
+
import '@solar-icons/react/bold-duotone/compass';
|
|
173
|
+
import '@solar-icons/react/bold-duotone/copy';
|
|
174
|
+
import '@solar-icons/react/bold-duotone/crown';
|
|
175
|
+
import '@solar-icons/react/bold-duotone/danger-triangle';
|
|
176
|
+
import '@solar-icons/react/bold-duotone/database';
|
|
177
|
+
import '@solar-icons/react/bold-duotone/diskette';
|
|
178
|
+
import '@solar-icons/react/bold-duotone/dislike';
|
|
179
|
+
import '@solar-icons/react/bold-duotone/document-add';
|
|
180
|
+
import '@solar-icons/react/bold-duotone/document-text';
|
|
181
|
+
import '@solar-icons/react/bold-duotone/double-alt-arrow-down';
|
|
182
|
+
import '@solar-icons/react/bold-duotone/download';
|
|
183
|
+
import '@solar-icons/react/bold-duotone/eraser';
|
|
184
|
+
import '@solar-icons/react/bold-duotone/eye';
|
|
185
|
+
import '@solar-icons/react/bold-duotone/file';
|
|
186
|
+
import '@solar-icons/react/bold-duotone/file-remove';
|
|
187
|
+
import '@solar-icons/react/bold-duotone/file-text';
|
|
188
|
+
import '@solar-icons/react/bold-duotone/filter';
|
|
189
|
+
import '@solar-icons/react/bold-duotone/filters';
|
|
190
|
+
import '@solar-icons/react/bold-duotone/folder';
|
|
191
|
+
import '@solar-icons/react/bold-duotone/folder-open';
|
|
192
|
+
import '@solar-icons/react/bold-duotone/folder-path-connect';
|
|
193
|
+
import '@solar-icons/react/bold-duotone/forbidden-circle';
|
|
194
|
+
import '@solar-icons/react/bold-duotone/gallery';
|
|
195
|
+
import '@solar-icons/react/bold-duotone/gallery-add';
|
|
196
|
+
import '@solar-icons/react/bold-duotone/gallery-wide';
|
|
197
|
+
import '@solar-icons/react/bold-duotone/global';
|
|
198
|
+
import '@solar-icons/react/bold-duotone/graph-down';
|
|
199
|
+
import '@solar-icons/react/bold-duotone/graph-up';
|
|
200
|
+
import '@solar-icons/react/bold-duotone/hamburger-menu';
|
|
201
|
+
import '@solar-icons/react/bold-duotone/hand-heart';
|
|
202
|
+
import '@solar-icons/react/bold-duotone/heart';
|
|
203
|
+
import '@solar-icons/react/bold-duotone/help';
|
|
204
|
+
import '@solar-icons/react/bold-duotone/history';
|
|
205
|
+
import '@solar-icons/react/bold-duotone/home-angle';
|
|
206
|
+
import '@solar-icons/react/bold-duotone/info-circle';
|
|
207
|
+
import '@solar-icons/react/bold-duotone/layers';
|
|
208
|
+
import '@solar-icons/react/bold-duotone/letter';
|
|
209
|
+
import '@solar-icons/react/bold-duotone/like';
|
|
210
|
+
import '@solar-icons/react/bold-duotone/link';
|
|
211
|
+
import '@solar-icons/react/bold-duotone/list';
|
|
212
|
+
import '@solar-icons/react/bold-duotone/list-vertical';
|
|
213
|
+
import '@solar-icons/react/bold-duotone/lock-password';
|
|
214
|
+
import '@solar-icons/react/bold-duotone/login-2';
|
|
215
|
+
import '@solar-icons/react/bold-duotone/logout';
|
|
216
|
+
import '@solar-icons/react/bold-duotone/magic-wand-2';
|
|
217
|
+
import '@solar-icons/react/bold-duotone/magnifier';
|
|
218
|
+
import '@solar-icons/react/bold-duotone/magnifier-zoom-in';
|
|
219
|
+
import '@solar-icons/react/bold-duotone/magnifier-zoom-out';
|
|
220
|
+
import '@solar-icons/react/bold-duotone/maximize';
|
|
221
|
+
import '@solar-icons/react/bold-duotone/menu-dots';
|
|
222
|
+
import '@solar-icons/react/bold-duotone/minimize';
|
|
223
|
+
import '@solar-icons/react/bold-duotone/minus-square';
|
|
224
|
+
import '@solar-icons/react/bold-duotone/monitor';
|
|
225
|
+
import '@solar-icons/react/bold-duotone/monitor-smartphone';
|
|
226
|
+
import '@solar-icons/react/bold-duotone/moon';
|
|
227
|
+
import '@solar-icons/react/bold-duotone/move-to-folder';
|
|
228
|
+
import '@solar-icons/react/bold-duotone/music-notes';
|
|
229
|
+
import '@solar-icons/react/bold-duotone/palette';
|
|
230
|
+
import '@solar-icons/react/bold-duotone/palette-round';
|
|
231
|
+
import '@solar-icons/react/bold-duotone/pause';
|
|
232
|
+
import '@solar-icons/react/bold-duotone/pen';
|
|
233
|
+
import '@solar-icons/react/bold-duotone/pen-new-round';
|
|
234
|
+
import '@solar-icons/react/bold-duotone/pie-chart';
|
|
235
|
+
import '@solar-icons/react/bold-duotone/pin';
|
|
236
|
+
import '@solar-icons/react/bold-duotone/play';
|
|
237
|
+
import '@solar-icons/react/bold-duotone/plug-circle';
|
|
238
|
+
import '@solar-icons/react/bold-duotone/plus-minus';
|
|
239
|
+
import '@solar-icons/react/bold-duotone/pulse';
|
|
240
|
+
import '@solar-icons/react/bold-duotone/refresh';
|
|
241
|
+
import '@solar-icons/react/bold-duotone/refresh-circle';
|
|
242
|
+
import '@solar-icons/react/bold-duotone/reorder';
|
|
243
|
+
import '@solar-icons/react/bold-duotone/repeat';
|
|
244
|
+
import '@solar-icons/react/bold-duotone/reply';
|
|
245
|
+
import '@solar-icons/react/bold-duotone/restart';
|
|
246
|
+
import '@solar-icons/react/bold-duotone/rocket';
|
|
247
|
+
import '@solar-icons/react/bold-duotone/route';
|
|
248
|
+
import '@solar-icons/react/bold-duotone/scale';
|
|
249
|
+
import '@solar-icons/react/bold-duotone/server';
|
|
250
|
+
import '@solar-icons/react/bold-duotone/settings';
|
|
251
|
+
import '@solar-icons/react/bold-duotone/share';
|
|
252
|
+
import '@solar-icons/react/bold-duotone/shield-check';
|
|
253
|
+
import '@solar-icons/react/bold-duotone/sidebar-minimalistic';
|
|
254
|
+
import '@solar-icons/react/bold-duotone/slider-horizontal';
|
|
255
|
+
import '@solar-icons/react/bold-duotone/smartphone';
|
|
256
|
+
import '@solar-icons/react/bold-duotone/sort';
|
|
257
|
+
import '@solar-icons/react/bold-duotone/sort-by-time';
|
|
258
|
+
import '@solar-icons/react/bold-duotone/sort-horizontal';
|
|
259
|
+
import '@solar-icons/react/bold-duotone/sort-vertical';
|
|
260
|
+
import '@solar-icons/react/bold-duotone/star';
|
|
261
|
+
import '@solar-icons/react/bold-duotone/structure';
|
|
262
|
+
import '@solar-icons/react/bold-duotone/sun';
|
|
263
|
+
import '@solar-icons/react/bold-duotone/tag';
|
|
264
|
+
import '@solar-icons/react/bold-duotone/telescope';
|
|
265
|
+
import '@solar-icons/react/bold-duotone/test-tube';
|
|
266
|
+
import '@solar-icons/react/bold-duotone/text-format';
|
|
267
|
+
import '@solar-icons/react/bold-duotone/transfer-horizontal';
|
|
268
|
+
import '@solar-icons/react/bold-duotone/translation';
|
|
269
|
+
import '@solar-icons/react/bold-duotone/trash-bin-minimalistic';
|
|
270
|
+
import '@solar-icons/react/bold-duotone/undo-left';
|
|
271
|
+
import '@solar-icons/react/bold-duotone/undo-left-round';
|
|
272
|
+
import '@solar-icons/react/bold-duotone/undo-right';
|
|
273
|
+
import '@solar-icons/react/bold-duotone/undo-right-round';
|
|
274
|
+
import '@solar-icons/react/bold-duotone/upload';
|
|
275
|
+
import '@solar-icons/react/bold-duotone/user';
|
|
276
|
+
import '@solar-icons/react/bold-duotone/user-id';
|
|
277
|
+
import '@solar-icons/react/bold-duotone/user-minus';
|
|
278
|
+
import '@solar-icons/react/bold-duotone/user-plus';
|
|
279
|
+
import '@solar-icons/react/bold-duotone/users-group-rounded';
|
|
280
|
+
import '@solar-icons/react/bold-duotone/users-group-two-rounded';
|
|
281
|
+
import '@solar-icons/react/bold-duotone/video-frame';
|
|
282
|
+
import '@solar-icons/react/bold-duotone/widget-2';
|
|
283
|
+
import '@solar-icons/react/bold-duotone/widget-5';
|
|
284
|
+
import '@solar-icons/react/bold-duotone/window-frame';
|
|
285
|
+
import '@solar-icons/react/linear/add-circle';
|
|
286
|
+
import '@solar-icons/react/linear/align-left';
|
|
287
|
+
import { AltArrowDownIcon } from '@solar-icons/react/linear/alt-arrow-down';
|
|
288
|
+
import '@solar-icons/react/linear/alt-arrow-left';
|
|
289
|
+
import '@solar-icons/react/linear/alt-arrow-right';
|
|
290
|
+
import '@solar-icons/react/linear/alt-arrow-up';
|
|
291
|
+
import '@solar-icons/react/linear/archive';
|
|
292
|
+
import '@solar-icons/react/linear/arrow-right';
|
|
293
|
+
import '@solar-icons/react/linear/arrow-to-top-left';
|
|
294
|
+
import '@solar-icons/react/linear/arrow-to-top-right';
|
|
295
|
+
import '@solar-icons/react/linear/bell';
|
|
296
|
+
import '@solar-icons/react/linear/bolt';
|
|
297
|
+
import '@solar-icons/react/linear/book';
|
|
298
|
+
import '@solar-icons/react/linear/book-2';
|
|
299
|
+
import '@solar-icons/react/linear/bookmark';
|
|
300
|
+
import '@solar-icons/react/linear/bookmark-circle';
|
|
301
|
+
import '@solar-icons/react/linear/box';
|
|
302
|
+
import '@solar-icons/react/linear/branching-paths-up';
|
|
303
|
+
import '@solar-icons/react/linear/bug';
|
|
304
|
+
import '@solar-icons/react/linear/calendar-date';
|
|
305
|
+
import '@solar-icons/react/linear/chat-round';
|
|
306
|
+
import '@solar-icons/react/linear/chat-round-dots';
|
|
307
|
+
import '@solar-icons/react/linear/chat-round-line';
|
|
308
|
+
import '@solar-icons/react/linear/chat-square';
|
|
309
|
+
import '@solar-icons/react/linear/check-circle';
|
|
310
|
+
import '@solar-icons/react/linear/checklist';
|
|
311
|
+
import '@solar-icons/react/linear/clipboard-list';
|
|
312
|
+
import '@solar-icons/react/linear/clock-circle';
|
|
313
|
+
import '@solar-icons/react/linear/compass';
|
|
314
|
+
import '@solar-icons/react/linear/copy';
|
|
315
|
+
import '@solar-icons/react/linear/crown';
|
|
316
|
+
import '@solar-icons/react/linear/danger-triangle';
|
|
317
|
+
import '@solar-icons/react/linear/database';
|
|
318
|
+
import '@solar-icons/react/linear/diskette';
|
|
319
|
+
import '@solar-icons/react/linear/dislike';
|
|
320
|
+
import '@solar-icons/react/linear/document-add';
|
|
321
|
+
import '@solar-icons/react/linear/document-text';
|
|
322
|
+
import '@solar-icons/react/linear/double-alt-arrow-down';
|
|
323
|
+
import '@solar-icons/react/linear/download';
|
|
324
|
+
import '@solar-icons/react/linear/eraser';
|
|
325
|
+
import '@solar-icons/react/linear/eye';
|
|
326
|
+
import '@solar-icons/react/linear/file';
|
|
327
|
+
import '@solar-icons/react/linear/file-remove';
|
|
328
|
+
import '@solar-icons/react/linear/file-text';
|
|
329
|
+
import '@solar-icons/react/linear/filter';
|
|
330
|
+
import '@solar-icons/react/linear/filters';
|
|
331
|
+
import '@solar-icons/react/linear/folder';
|
|
332
|
+
import '@solar-icons/react/linear/folder-open';
|
|
333
|
+
import '@solar-icons/react/linear/folder-path-connect';
|
|
334
|
+
import '@solar-icons/react/linear/forbidden-circle';
|
|
335
|
+
import '@solar-icons/react/linear/gallery';
|
|
336
|
+
import '@solar-icons/react/linear/gallery-add';
|
|
337
|
+
import '@solar-icons/react/linear/gallery-wide';
|
|
338
|
+
import '@solar-icons/react/linear/global';
|
|
339
|
+
import '@solar-icons/react/linear/graph-down';
|
|
340
|
+
import '@solar-icons/react/linear/graph-up';
|
|
341
|
+
import '@solar-icons/react/linear/hamburger-menu';
|
|
342
|
+
import '@solar-icons/react/linear/hand-heart';
|
|
343
|
+
import '@solar-icons/react/linear/heart';
|
|
344
|
+
import '@solar-icons/react/linear/help';
|
|
345
|
+
import '@solar-icons/react/linear/history';
|
|
346
|
+
import '@solar-icons/react/linear/home-angle';
|
|
347
|
+
import '@solar-icons/react/linear/info-circle';
|
|
348
|
+
import '@solar-icons/react/linear/layers';
|
|
349
|
+
import '@solar-icons/react/linear/letter';
|
|
350
|
+
import '@solar-icons/react/linear/like';
|
|
351
|
+
import '@solar-icons/react/linear/link';
|
|
352
|
+
import '@solar-icons/react/linear/list';
|
|
353
|
+
import '@solar-icons/react/linear/list-vertical';
|
|
354
|
+
import '@solar-icons/react/linear/lock-password';
|
|
355
|
+
import '@solar-icons/react/linear/login-2';
|
|
356
|
+
import '@solar-icons/react/linear/logout';
|
|
357
|
+
import '@solar-icons/react/linear/magic-wand-2';
|
|
358
|
+
import '@solar-icons/react/linear/magnifier';
|
|
359
|
+
import '@solar-icons/react/linear/magnifier-zoom-in';
|
|
360
|
+
import '@solar-icons/react/linear/magnifier-zoom-out';
|
|
361
|
+
import '@solar-icons/react/linear/maximize';
|
|
362
|
+
import '@solar-icons/react/linear/minimize';
|
|
363
|
+
import '@solar-icons/react/linear/minus-square';
|
|
364
|
+
import '@solar-icons/react/linear/monitor';
|
|
365
|
+
import '@solar-icons/react/linear/monitor-smartphone';
|
|
366
|
+
import '@solar-icons/react/linear/moon';
|
|
367
|
+
import '@solar-icons/react/linear/move-to-folder';
|
|
368
|
+
import '@solar-icons/react/linear/music-notes';
|
|
369
|
+
import '@solar-icons/react/linear/palette';
|
|
370
|
+
import '@solar-icons/react/linear/palette-round';
|
|
371
|
+
import '@solar-icons/react/linear/pause';
|
|
372
|
+
import '@solar-icons/react/linear/pen';
|
|
373
|
+
import '@solar-icons/react/linear/pen-new-round';
|
|
374
|
+
import '@solar-icons/react/linear/pie-chart';
|
|
375
|
+
import '@solar-icons/react/linear/pin';
|
|
376
|
+
import '@solar-icons/react/linear/play';
|
|
377
|
+
import '@solar-icons/react/linear/plug-circle';
|
|
378
|
+
import '@solar-icons/react/linear/plus-minus';
|
|
379
|
+
import '@solar-icons/react/linear/pulse';
|
|
380
|
+
import '@solar-icons/react/linear/refresh';
|
|
381
|
+
import '@solar-icons/react/linear/refresh-circle';
|
|
382
|
+
import '@solar-icons/react/linear/reorder';
|
|
383
|
+
import '@solar-icons/react/linear/repeat';
|
|
384
|
+
import '@solar-icons/react/linear/reply';
|
|
385
|
+
import '@solar-icons/react/linear/restart';
|
|
386
|
+
import '@solar-icons/react/linear/rocket';
|
|
387
|
+
import '@solar-icons/react/linear/route';
|
|
388
|
+
import '@solar-icons/react/linear/scale';
|
|
389
|
+
import '@solar-icons/react/linear/server';
|
|
390
|
+
import '@solar-icons/react/linear/settings';
|
|
391
|
+
import '@solar-icons/react/linear/share';
|
|
392
|
+
import '@solar-icons/react/linear/shield-check';
|
|
393
|
+
import '@solar-icons/react/linear/sidebar-minimalistic';
|
|
394
|
+
import '@solar-icons/react/linear/slider-horizontal';
|
|
395
|
+
import '@solar-icons/react/linear/smartphone';
|
|
396
|
+
import '@solar-icons/react/linear/sort';
|
|
397
|
+
import '@solar-icons/react/linear/sort-by-time';
|
|
398
|
+
import '@solar-icons/react/linear/sort-horizontal';
|
|
399
|
+
import '@solar-icons/react/linear/sort-vertical';
|
|
400
|
+
import '@solar-icons/react/linear/star';
|
|
401
|
+
import '@solar-icons/react/linear/structure';
|
|
402
|
+
import '@solar-icons/react/linear/sun';
|
|
403
|
+
import '@solar-icons/react/linear/tag';
|
|
404
|
+
import '@solar-icons/react/linear/telescope';
|
|
405
|
+
import '@solar-icons/react/linear/test-tube';
|
|
406
|
+
import '@solar-icons/react/linear/text-format';
|
|
407
|
+
import '@solar-icons/react/linear/transfer-horizontal';
|
|
408
|
+
import '@solar-icons/react/linear/translation';
|
|
409
|
+
import '@solar-icons/react/linear/trash-bin-minimalistic';
|
|
410
|
+
import '@solar-icons/react/linear/undo-left';
|
|
411
|
+
import '@solar-icons/react/linear/undo-left-round';
|
|
412
|
+
import '@solar-icons/react/linear/undo-right';
|
|
413
|
+
import '@solar-icons/react/linear/undo-right-round';
|
|
414
|
+
import '@solar-icons/react/linear/upload';
|
|
415
|
+
import '@solar-icons/react/linear/user';
|
|
416
|
+
import '@solar-icons/react/linear/user-id';
|
|
417
|
+
import '@solar-icons/react/linear/user-minus';
|
|
418
|
+
import '@solar-icons/react/linear/user-plus';
|
|
419
|
+
import '@solar-icons/react/linear/users-group-rounded';
|
|
420
|
+
import '@solar-icons/react/linear/users-group-two-rounded';
|
|
421
|
+
import '@solar-icons/react/linear/video-frame';
|
|
422
|
+
import '@solar-icons/react/linear/widget-2';
|
|
423
|
+
import '@solar-icons/react/linear/widget-5';
|
|
424
|
+
import '@solar-icons/react/linear/window-frame';
|
|
425
|
+
import * as React from 'react';
|
|
426
|
+
import { useRef, useEffect, useSyncExternalStore, createElement } from 'react';
|
|
427
|
+
import { Menu } from '@base-ui/react/menu';
|
|
428
|
+
import 'react-use';
|
|
429
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
430
|
+
|
|
431
|
+
// src/lib/utils.ts
|
|
432
|
+
var mergeTheme = {
|
|
433
|
+
text: ["tiny", "ui", "doc", "doc-title", "doc-heading", "quote"],
|
|
434
|
+
spacing: ["chip", "control", "nav", "sidebar", "panel"],
|
|
435
|
+
tracking: ["label"],
|
|
436
|
+
shadow: ["card", "dialog"],
|
|
437
|
+
container: ["reading", "medium", "content"],
|
|
438
|
+
font: ["doc", "heading"],
|
|
439
|
+
ease: ["standard"],
|
|
440
|
+
animate: ["skel", "pop"]
|
|
441
|
+
};
|
|
442
|
+
var twMerge = extendTailwindMerge({
|
|
443
|
+
extend: { theme: mergeTheme }
|
|
444
|
+
});
|
|
445
|
+
|
|
446
|
+
// src/lib/utils.ts
|
|
447
|
+
function cn(...inputs) {
|
|
448
|
+
return twMerge(clsx(inputs));
|
|
449
|
+
}
|
|
450
|
+
function readIconMode() {
|
|
451
|
+
return document.documentElement.dataset.iconStyle === "linear" ? "linear" : "boldDuotone";
|
|
452
|
+
}
|
|
453
|
+
var currentMode = "boldDuotone";
|
|
454
|
+
var observer;
|
|
455
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
456
|
+
function ensureObserver() {
|
|
457
|
+
if (observer !== void 0 || typeof document === "undefined") return;
|
|
458
|
+
observer = new MutationObserver(() => {
|
|
459
|
+
const next = readIconMode();
|
|
460
|
+
if (next === currentMode) return;
|
|
461
|
+
currentMode = next;
|
|
462
|
+
for (const cb of listeners) cb();
|
|
463
|
+
});
|
|
464
|
+
observer.observe(document.documentElement, {
|
|
465
|
+
attributes: true,
|
|
466
|
+
attributeFilter: ["data-icon-style"]
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
function subscribeIconStyle(callback) {
|
|
470
|
+
ensureObserver();
|
|
471
|
+
currentMode = readIconMode();
|
|
472
|
+
listeners.add(callback);
|
|
473
|
+
return () => {
|
|
474
|
+
listeners.delete(callback);
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
function getIconStyleSnapshot() {
|
|
478
|
+
return currentMode;
|
|
479
|
+
}
|
|
480
|
+
function createIcon(variants) {
|
|
481
|
+
function Icon(props) {
|
|
482
|
+
const current = useSyncExternalStore(
|
|
483
|
+
subscribeIconStyle,
|
|
484
|
+
getIconStyleSnapshot,
|
|
485
|
+
() => "boldDuotone"
|
|
486
|
+
);
|
|
487
|
+
const { mode, ...rest } = props;
|
|
488
|
+
const Component = variants[mode ?? current];
|
|
489
|
+
const className = typeof rest.className === "string" ? `hd-icon ${rest.className}` : "hd-icon";
|
|
490
|
+
return createElement(Component, { ...rest, className });
|
|
491
|
+
}
|
|
492
|
+
return Icon;
|
|
493
|
+
}
|
|
494
|
+
var AltArrowDown = createIcon({
|
|
495
|
+
bold: AltArrowDownIcon$2,
|
|
496
|
+
boldDuotone: AltArrowDownIcon$1,
|
|
497
|
+
linear: AltArrowDownIcon
|
|
498
|
+
});
|
|
499
|
+
|
|
500
|
+
// src/viewport.ts
|
|
501
|
+
var MOBILE_BREAKPOINT_PX = 768;
|
|
502
|
+
var MOBILE_QUERY = `(max-width: ${MOBILE_BREAKPOINT_PX - 1}px)`;
|
|
503
|
+
function isBelowMd() {
|
|
504
|
+
if (typeof window === "undefined") return false;
|
|
505
|
+
return window.matchMedia(MOBILE_QUERY).matches;
|
|
506
|
+
}
|
|
507
|
+
var HISTORY_KEY = "__appMobileOverlay";
|
|
508
|
+
var overlayStack = [];
|
|
509
|
+
var popListenerInstalled = false;
|
|
510
|
+
var historyPatched = false;
|
|
511
|
+
var nextOverlayId = 0;
|
|
512
|
+
var suppressPopCount = 0;
|
|
513
|
+
var seenSyntheticIds = /* @__PURE__ */ new Set();
|
|
514
|
+
function patchHistory() {
|
|
515
|
+
if (historyPatched) return;
|
|
516
|
+
if (typeof window === "undefined") return;
|
|
517
|
+
historyPatched = true;
|
|
518
|
+
const origPush = window.history.pushState.bind(window.history);
|
|
519
|
+
window.history.pushState = (data, unused, url) => {
|
|
520
|
+
const state = data;
|
|
521
|
+
if (state !== null && typeof state === "object" && HISTORY_KEY in state) {
|
|
522
|
+
origPush(data, unused, url);
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
if (overlayStack.length > 0) {
|
|
526
|
+
closeAllOverlays();
|
|
527
|
+
}
|
|
528
|
+
origPush(data, unused, url);
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
function closeAllOverlays() {
|
|
532
|
+
while (overlayStack.length > 0) {
|
|
533
|
+
const entry = overlayStack.pop();
|
|
534
|
+
if (entry?.close !== void 0) {
|
|
535
|
+
const fn = entry.close;
|
|
536
|
+
entry.close = void 0;
|
|
537
|
+
fn();
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
function ensurePopListener() {
|
|
542
|
+
if (popListenerInstalled) return;
|
|
543
|
+
if (typeof window === "undefined") return;
|
|
544
|
+
popListenerInstalled = true;
|
|
545
|
+
window.addEventListener(
|
|
546
|
+
"popstate",
|
|
547
|
+
(e) => {
|
|
548
|
+
if (suppressPopCount > 0) return;
|
|
549
|
+
const state = e.state;
|
|
550
|
+
if (state !== null && typeof state === "object" && HISTORY_KEY in state) {
|
|
551
|
+
const id = state[HISTORY_KEY];
|
|
552
|
+
if (typeof id === "number" && overlayStack.some((entry) => entry.id === id)) {
|
|
553
|
+
closeTopOverlay();
|
|
554
|
+
e.stopImmediatePropagation();
|
|
555
|
+
return;
|
|
556
|
+
}
|
|
557
|
+
e.stopImmediatePropagation();
|
|
558
|
+
if (typeof id === "number" && seenSyntheticIds.has(id)) {
|
|
559
|
+
window.history.back();
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
true
|
|
564
|
+
// capture phase
|
|
565
|
+
);
|
|
566
|
+
window.addEventListener("popstate", handlePop);
|
|
567
|
+
patchHistory();
|
|
568
|
+
}
|
|
569
|
+
function closeTopOverlay() {
|
|
570
|
+
const top = overlayStack.pop();
|
|
571
|
+
if (top === void 0) return;
|
|
572
|
+
if (top.close === void 0) return;
|
|
573
|
+
const closeFn = top.close;
|
|
574
|
+
top.close = void 0;
|
|
575
|
+
closeFn();
|
|
576
|
+
}
|
|
577
|
+
function handlePop() {
|
|
578
|
+
if (suppressPopCount > 0) {
|
|
579
|
+
suppressPopCount--;
|
|
580
|
+
return;
|
|
581
|
+
}
|
|
582
|
+
closeTopOverlay();
|
|
583
|
+
}
|
|
584
|
+
function removeFromStack(id) {
|
|
585
|
+
const idx = overlayStack.findIndex((e) => e.id === id);
|
|
586
|
+
if (idx === -1) return { removed: false, parkedBelow: 0 };
|
|
587
|
+
const wasTop = idx === overlayStack.length - 1;
|
|
588
|
+
if (!wasTop) {
|
|
589
|
+
const entry = overlayStack[idx];
|
|
590
|
+
if (entry !== void 0) entry.close = void 0;
|
|
591
|
+
return { removed: true, parkedBelow: 0 };
|
|
592
|
+
}
|
|
593
|
+
overlayStack.pop();
|
|
594
|
+
const remaining = overlayStack.splice(0, overlayStack.length);
|
|
595
|
+
const active = remaining.filter((e) => e.close !== void 0);
|
|
596
|
+
const parkedBelow = remaining.length - active.length;
|
|
597
|
+
overlayStack.push(...active);
|
|
598
|
+
return { removed: true, parkedBelow };
|
|
599
|
+
}
|
|
600
|
+
function scheduleStateRestore(id, baseState, parkedBelow) {
|
|
601
|
+
function check() {
|
|
602
|
+
const currentState = window.history.state;
|
|
603
|
+
if (currentState === null || typeof currentState !== "object" || !(HISTORY_KEY in currentState) || currentState[HISTORY_KEY] !== id) {
|
|
604
|
+
sweepParkedEntries();
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
const totalBacks = 1 + parkedBelow;
|
|
608
|
+
let done = false;
|
|
609
|
+
function restore() {
|
|
610
|
+
if (done) return;
|
|
611
|
+
done = true;
|
|
612
|
+
window.removeEventListener("popstate", onPop);
|
|
613
|
+
window.history.replaceState(baseState, "");
|
|
614
|
+
const sweptIds = sweepParkedEntries();
|
|
615
|
+
cleanupSeenIds(sweptIds);
|
|
616
|
+
}
|
|
617
|
+
function onPop() {
|
|
618
|
+
if (suppressPopCount > 0) {
|
|
619
|
+
suppressPopCount--;
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
restore();
|
|
623
|
+
}
|
|
624
|
+
window.addEventListener("popstate", onPop);
|
|
625
|
+
suppressPopCount += totalBacks;
|
|
626
|
+
for (let i = 0; i < totalBacks; i++) {
|
|
627
|
+
window.history.back();
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
let disposed = false;
|
|
631
|
+
let rafId;
|
|
632
|
+
function run() {
|
|
633
|
+
if (disposed) return;
|
|
634
|
+
disposed = true;
|
|
635
|
+
if (rafId !== void 0) {
|
|
636
|
+
cancelAnimationFrame(rafId);
|
|
637
|
+
}
|
|
638
|
+
check();
|
|
639
|
+
}
|
|
640
|
+
rafId = requestAnimationFrame(run);
|
|
641
|
+
}
|
|
642
|
+
function sweepParkedEntries() {
|
|
643
|
+
const sweptIds = [];
|
|
644
|
+
for (let i = overlayStack.length - 1; i >= 0; i--) {
|
|
645
|
+
const entry = overlayStack[i];
|
|
646
|
+
if (entry !== void 0 && entry.close === void 0) {
|
|
647
|
+
sweptIds.push(entry.id);
|
|
648
|
+
overlayStack.splice(i, 1);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
return sweptIds;
|
|
652
|
+
}
|
|
653
|
+
function cleanupSeenIds(sweptIds) {
|
|
654
|
+
const activeIds = new Set(overlayStack.map((e) => e.id));
|
|
655
|
+
for (const id of sweptIds) {
|
|
656
|
+
if (!activeIds.has(id)) {
|
|
657
|
+
seenSyntheticIds.delete(id);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
function useMobileBackToClose(open, onOpenChange) {
|
|
662
|
+
const idRef = useRef(void 0);
|
|
663
|
+
const onChangeRef = useRef(onOpenChange);
|
|
664
|
+
onChangeRef.current = onOpenChange;
|
|
665
|
+
useEffect(() => {
|
|
666
|
+
if (typeof window === "undefined") return;
|
|
667
|
+
if (onChangeRef.current === void 0) return;
|
|
668
|
+
if (!isBelowMd()) return;
|
|
669
|
+
ensurePopListener();
|
|
670
|
+
if (open === true && idRef.current === void 0) {
|
|
671
|
+
const id = ++nextOverlayId;
|
|
672
|
+
idRef.current = id;
|
|
673
|
+
seenSyntheticIds.add(id);
|
|
674
|
+
const baseState = window.history.state ?? null;
|
|
675
|
+
window.history.pushState(
|
|
676
|
+
{
|
|
677
|
+
...baseState ?? {},
|
|
678
|
+
[HISTORY_KEY]: id
|
|
679
|
+
},
|
|
680
|
+
""
|
|
681
|
+
);
|
|
682
|
+
overlayStack.push({
|
|
683
|
+
id,
|
|
684
|
+
baseState,
|
|
685
|
+
close() {
|
|
686
|
+
idRef.current = void 0;
|
|
687
|
+
onChangeRef.current?.(false);
|
|
688
|
+
}
|
|
689
|
+
});
|
|
690
|
+
return;
|
|
691
|
+
}
|
|
692
|
+
if (open !== true && idRef.current !== void 0) {
|
|
693
|
+
const id = idRef.current;
|
|
694
|
+
idRef.current = void 0;
|
|
695
|
+
const entryIdx = overlayStack.findIndex((e) => e.id === id);
|
|
696
|
+
const entry = entryIdx !== -1 ? overlayStack[entryIdx] : void 0;
|
|
697
|
+
const { removed, parkedBelow } = removeFromStack(id);
|
|
698
|
+
if (removed && entry !== void 0) {
|
|
699
|
+
scheduleStateRestore(id, entry.baseState, parkedBelow);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
}, [open]);
|
|
703
|
+
useEffect(() => {
|
|
704
|
+
return () => {
|
|
705
|
+
if (idRef.current !== void 0) {
|
|
706
|
+
const id = idRef.current;
|
|
707
|
+
idRef.current = void 0;
|
|
708
|
+
const entryIdx = overlayStack.findIndex((e) => e.id === id);
|
|
709
|
+
const entry = entryIdx !== -1 ? overlayStack[entryIdx] : void 0;
|
|
710
|
+
const { removed, parkedBelow } = removeFromStack(id);
|
|
711
|
+
if (removed && entry !== void 0) {
|
|
712
|
+
scheduleStateRestore(id, entry.baseState, parkedBelow);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
}, []);
|
|
717
|
+
}
|
|
718
|
+
function Mark({
|
|
719
|
+
d,
|
|
720
|
+
filled,
|
|
721
|
+
className
|
|
722
|
+
}) {
|
|
723
|
+
return /* @__PURE__ */ jsx(
|
|
724
|
+
"svg",
|
|
725
|
+
{
|
|
726
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
727
|
+
viewBox: "0 0 24 24",
|
|
728
|
+
fill: "none",
|
|
729
|
+
className,
|
|
730
|
+
children: filled ? /* @__PURE__ */ jsx("path", { d, fill: "currentColor" }) : /* @__PURE__ */ jsx(
|
|
731
|
+
"path",
|
|
732
|
+
{
|
|
733
|
+
d,
|
|
734
|
+
stroke: "currentColor",
|
|
735
|
+
strokeWidth: "2",
|
|
736
|
+
strokeLinecap: "round",
|
|
737
|
+
strokeLinejoin: "round"
|
|
738
|
+
}
|
|
739
|
+
)
|
|
740
|
+
}
|
|
741
|
+
);
|
|
742
|
+
}
|
|
743
|
+
function Check(props) {
|
|
744
|
+
return /* @__PURE__ */ jsx(Mark, { ...props, d: "M5 12.8l4.7 4.7L19 7.2" });
|
|
745
|
+
}
|
|
746
|
+
function DropdownMenu({
|
|
747
|
+
open,
|
|
748
|
+
defaultOpen,
|
|
749
|
+
onOpenChange,
|
|
750
|
+
...props
|
|
751
|
+
}) {
|
|
752
|
+
const [uncontrolledOpen, setUncontrolledOpen] = React.useState(
|
|
753
|
+
defaultOpen ?? false
|
|
754
|
+
);
|
|
755
|
+
const isControlled = open !== void 0;
|
|
756
|
+
const currentOpen = isControlled ? open : uncontrolledOpen;
|
|
757
|
+
function handleOpenChange(next, eventDetails) {
|
|
758
|
+
if (!isControlled) setUncontrolledOpen(next);
|
|
759
|
+
onOpenChange?.(next, eventDetails);
|
|
760
|
+
}
|
|
761
|
+
useMobileBackToClose(currentOpen, handleOpenChange);
|
|
762
|
+
return /* @__PURE__ */ jsx(
|
|
763
|
+
Menu.Root,
|
|
764
|
+
{
|
|
765
|
+
"data-slot": "dropdown-menu",
|
|
766
|
+
open: currentOpen,
|
|
767
|
+
onOpenChange: handleOpenChange,
|
|
768
|
+
...props
|
|
769
|
+
}
|
|
770
|
+
);
|
|
771
|
+
}
|
|
772
|
+
function DropdownMenuTrigger({ ...props }) {
|
|
773
|
+
return /* @__PURE__ */ jsx(Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
|
|
774
|
+
}
|
|
775
|
+
function DropdownMenuContent({
|
|
776
|
+
align = "start",
|
|
777
|
+
alignOffset = 0,
|
|
778
|
+
side = "bottom",
|
|
779
|
+
sideOffset = 4,
|
|
780
|
+
className,
|
|
781
|
+
container,
|
|
782
|
+
...props
|
|
783
|
+
}) {
|
|
784
|
+
return /* @__PURE__ */ jsx(Menu.Portal, { container, children: /* @__PURE__ */ jsx(
|
|
785
|
+
Menu.Positioner,
|
|
786
|
+
{
|
|
787
|
+
className: "isolate z-50 outline-none",
|
|
788
|
+
align,
|
|
789
|
+
alignOffset,
|
|
790
|
+
side,
|
|
791
|
+
sideOffset,
|
|
792
|
+
children: /* @__PURE__ */ jsx(
|
|
793
|
+
Menu.Popup,
|
|
794
|
+
{
|
|
795
|
+
"data-slot": "dropdown-menu-content",
|
|
796
|
+
className: cn("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none 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-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
797
|
+
...props
|
|
798
|
+
}
|
|
799
|
+
)
|
|
800
|
+
}
|
|
801
|
+
) });
|
|
802
|
+
}
|
|
803
|
+
function DropdownMenuCheckboxItem({
|
|
804
|
+
className,
|
|
805
|
+
children,
|
|
806
|
+
checked,
|
|
807
|
+
inset,
|
|
808
|
+
...props
|
|
809
|
+
}) {
|
|
810
|
+
return /* @__PURE__ */ jsxs(
|
|
811
|
+
Menu.CheckboxItem,
|
|
812
|
+
{
|
|
813
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
814
|
+
"data-inset": inset,
|
|
815
|
+
className: cn(
|
|
816
|
+
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
817
|
+
className
|
|
818
|
+
),
|
|
819
|
+
checked,
|
|
820
|
+
...props,
|
|
821
|
+
children: [
|
|
822
|
+
/* @__PURE__ */ jsx(
|
|
823
|
+
"span",
|
|
824
|
+
{
|
|
825
|
+
className: "pointer-events-none absolute right-2 flex items-center justify-center",
|
|
826
|
+
"data-slot": "dropdown-menu-checkbox-item-indicator",
|
|
827
|
+
children: /* @__PURE__ */ jsx(Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx(
|
|
828
|
+
Check,
|
|
829
|
+
{}
|
|
830
|
+
) })
|
|
831
|
+
}
|
|
832
|
+
),
|
|
833
|
+
children
|
|
834
|
+
]
|
|
835
|
+
}
|
|
836
|
+
);
|
|
837
|
+
}
|
|
838
|
+
function DropdownMenuRadioGroup({ ...props }) {
|
|
839
|
+
return /* @__PURE__ */ jsx(
|
|
840
|
+
Menu.RadioGroup,
|
|
841
|
+
{
|
|
842
|
+
"data-slot": "dropdown-menu-radio-group",
|
|
843
|
+
...props
|
|
844
|
+
}
|
|
845
|
+
);
|
|
846
|
+
}
|
|
847
|
+
function DropdownMenuRadioItem({
|
|
848
|
+
className,
|
|
849
|
+
children,
|
|
850
|
+
inset,
|
|
851
|
+
...props
|
|
852
|
+
}) {
|
|
853
|
+
return /* @__PURE__ */ jsxs(
|
|
854
|
+
Menu.RadioItem,
|
|
855
|
+
{
|
|
856
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
857
|
+
"data-inset": inset,
|
|
858
|
+
className: cn(
|
|
859
|
+
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
860
|
+
className
|
|
861
|
+
),
|
|
862
|
+
...props,
|
|
863
|
+
children: [
|
|
864
|
+
/* @__PURE__ */ jsx(
|
|
865
|
+
"span",
|
|
866
|
+
{
|
|
867
|
+
className: "pointer-events-none absolute right-2 flex items-center justify-center",
|
|
868
|
+
"data-slot": "dropdown-menu-radio-item-indicator",
|
|
869
|
+
children: /* @__PURE__ */ jsx(Menu.RadioItemIndicator, { children: /* @__PURE__ */ jsx(
|
|
870
|
+
Check,
|
|
871
|
+
{}
|
|
872
|
+
) })
|
|
873
|
+
}
|
|
874
|
+
),
|
|
875
|
+
children
|
|
876
|
+
]
|
|
877
|
+
}
|
|
878
|
+
);
|
|
879
|
+
}
|
|
880
|
+
function TriggerButton(props) {
|
|
881
|
+
const {
|
|
882
|
+
label,
|
|
883
|
+
placeholder,
|
|
884
|
+
className,
|
|
885
|
+
"data-testid": testId,
|
|
886
|
+
"aria-label": ariaLabel,
|
|
887
|
+
...rest
|
|
888
|
+
} = props;
|
|
889
|
+
return /* @__PURE__ */ jsxs(
|
|
890
|
+
"button",
|
|
891
|
+
{
|
|
892
|
+
type: "button",
|
|
893
|
+
"data-slot": "dropdown-select-trigger",
|
|
894
|
+
"data-placeholder": label === void 0 ? true : void 0,
|
|
895
|
+
className: cn(
|
|
896
|
+
"inline-flex h-control w-fit shrink-0 cursor-pointer items-center gap-2 rounded-lg bg-muted px-3 text-ui whitespace-nowrap text-secondary-foreground outline-hidden focus-visible:ring-3 focus-visible:ring-ring/50 hover:bg-accent active:bg-accent disabled:cursor-not-allowed disabled:opacity-50 data-placeholder:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
897
|
+
className
|
|
898
|
+
),
|
|
899
|
+
"data-testid": testId,
|
|
900
|
+
"aria-label": ariaLabel,
|
|
901
|
+
...rest,
|
|
902
|
+
children: [
|
|
903
|
+
/* @__PURE__ */ jsx("span", { className: "flex min-w-0 items-center gap-1.5", children: label ?? placeholder }),
|
|
904
|
+
/* @__PURE__ */ jsx(AltArrowDown, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
905
|
+
]
|
|
906
|
+
}
|
|
907
|
+
);
|
|
908
|
+
}
|
|
909
|
+
function DropdownSelect(props) {
|
|
910
|
+
const {
|
|
911
|
+
value,
|
|
912
|
+
onValueChange,
|
|
913
|
+
options,
|
|
914
|
+
placeholder,
|
|
915
|
+
triggerClassName,
|
|
916
|
+
contentClassName,
|
|
917
|
+
container,
|
|
918
|
+
disabled,
|
|
919
|
+
modal,
|
|
920
|
+
"data-testid": testId,
|
|
921
|
+
"aria-label": ariaLabel
|
|
922
|
+
} = props;
|
|
923
|
+
const selectedLabel = options.find((o) => o.value === value)?.label;
|
|
924
|
+
return /* @__PURE__ */ jsxs(DropdownMenu, { modal, children: [
|
|
925
|
+
/* @__PURE__ */ jsx(
|
|
926
|
+
DropdownMenuTrigger,
|
|
927
|
+
{
|
|
928
|
+
disabled,
|
|
929
|
+
render: /* @__PURE__ */ jsx(
|
|
930
|
+
TriggerButton,
|
|
931
|
+
{
|
|
932
|
+
label: selectedLabel,
|
|
933
|
+
placeholder,
|
|
934
|
+
className: triggerClassName,
|
|
935
|
+
"data-testid": testId,
|
|
936
|
+
"aria-label": ariaLabel
|
|
937
|
+
}
|
|
938
|
+
)
|
|
939
|
+
}
|
|
940
|
+
),
|
|
941
|
+
/* @__PURE__ */ jsx(
|
|
942
|
+
DropdownMenuContent,
|
|
943
|
+
{
|
|
944
|
+
container,
|
|
945
|
+
className: cn(
|
|
946
|
+
"w-max! min-w-36 max-w-(--available-width)",
|
|
947
|
+
contentClassName
|
|
948
|
+
),
|
|
949
|
+
children: /* @__PURE__ */ jsx(
|
|
950
|
+
DropdownMenuRadioGroup,
|
|
951
|
+
{
|
|
952
|
+
value,
|
|
953
|
+
onValueChange,
|
|
954
|
+
children: options.map((opt) => /* @__PURE__ */ jsx(
|
|
955
|
+
DropdownMenuRadioItem,
|
|
956
|
+
{
|
|
957
|
+
value: opt.value,
|
|
958
|
+
className: "whitespace-nowrap",
|
|
959
|
+
closeOnClick: true,
|
|
960
|
+
children: opt.label
|
|
961
|
+
},
|
|
962
|
+
opt.value
|
|
963
|
+
))
|
|
964
|
+
}
|
|
965
|
+
)
|
|
966
|
+
}
|
|
967
|
+
)
|
|
968
|
+
] });
|
|
969
|
+
}
|
|
970
|
+
function DropdownMultiSelect(props) {
|
|
971
|
+
const {
|
|
972
|
+
value,
|
|
973
|
+
onValueChange,
|
|
974
|
+
options,
|
|
975
|
+
placeholder,
|
|
976
|
+
countLabel,
|
|
977
|
+
triggerClassName,
|
|
978
|
+
contentClassName,
|
|
979
|
+
container,
|
|
980
|
+
disabled,
|
|
981
|
+
"data-testid": testId,
|
|
982
|
+
"aria-label": ariaLabel
|
|
983
|
+
} = props;
|
|
984
|
+
const selectedCount = value.length;
|
|
985
|
+
const triggerLabel = selectedCount === 0 ? void 0 : selectedCount === 1 ? options.find((o) => o.value === value[0])?.label : countLabel(selectedCount);
|
|
986
|
+
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
987
|
+
/* @__PURE__ */ jsx(
|
|
988
|
+
DropdownMenuTrigger,
|
|
989
|
+
{
|
|
990
|
+
disabled,
|
|
991
|
+
render: /* @__PURE__ */ jsx(
|
|
992
|
+
TriggerButton,
|
|
993
|
+
{
|
|
994
|
+
label: triggerLabel,
|
|
995
|
+
placeholder,
|
|
996
|
+
className: triggerClassName,
|
|
997
|
+
"data-testid": testId,
|
|
998
|
+
"aria-label": ariaLabel
|
|
999
|
+
}
|
|
1000
|
+
)
|
|
1001
|
+
}
|
|
1002
|
+
),
|
|
1003
|
+
/* @__PURE__ */ jsx(
|
|
1004
|
+
DropdownMenuContent,
|
|
1005
|
+
{
|
|
1006
|
+
container,
|
|
1007
|
+
className: cn(
|
|
1008
|
+
"w-max! min-w-36 max-w-(--available-width)",
|
|
1009
|
+
contentClassName
|
|
1010
|
+
),
|
|
1011
|
+
children: options.map((opt) => /* @__PURE__ */ jsx(
|
|
1012
|
+
DropdownMenuCheckboxItem,
|
|
1013
|
+
{
|
|
1014
|
+
className: "whitespace-nowrap",
|
|
1015
|
+
checked: value.includes(opt.value),
|
|
1016
|
+
onCheckedChange: (checked) => {
|
|
1017
|
+
if (checked === true) {
|
|
1018
|
+
onValueChange([...value, opt.value]);
|
|
1019
|
+
} else {
|
|
1020
|
+
onValueChange(
|
|
1021
|
+
value.filter((v) => v !== opt.value)
|
|
1022
|
+
);
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
children: opt.label
|
|
1026
|
+
},
|
|
1027
|
+
opt.value
|
|
1028
|
+
))
|
|
1029
|
+
}
|
|
1030
|
+
)
|
|
1031
|
+
] });
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export { DropdownMultiSelect, DropdownSelect };
|
|
1035
|
+
//# sourceMappingURL=dropdown-select.js.map
|
|
1036
|
+
//# sourceMappingURL=dropdown-select.js.map
|