@xdev-asia/ui 0.0.0-stage → 4.15.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/AGENTS.md +66 -0
- package/LICENSE +202 -0
- package/README.md +149 -2
- package/assets/brand/mobile/android-background-1024.png +0 -0
- package/assets/brand/mobile/android-background.svg +13 -0
- package/assets/brand/mobile/android-foreground-1024.png +0 -0
- package/assets/brand/mobile/android-foreground.svg +13 -0
- package/assets/brand/mobile/android-monochrome-1024.png +0 -0
- package/assets/brand/mobile/android-monochrome.svg +3 -0
- package/assets/brand/mobile/ios-icon-1024.png +0 -0
- package/assets/brand/mobile/ios-icon-dark-1024.png +0 -0
- package/assets/brand/mobile/ios-icon-dark.svg +22 -0
- package/assets/brand/mobile/ios-icon.svg +22 -0
- package/assets/brand/systems/xdev-ui-icon.svg +23 -0
- package/assets/brand/systems/xdev-ui-lockup-dark.svg +24 -0
- package/assets/brand/systems/xdev-ui-lockup-light.svg +24 -0
- package/assets/brand/systems/xdev-ui-mark-lit.svg +13 -0
- package/assets/brand/systems/xdev-ui-mark.svg +3 -0
- package/assets/brand/xdev-icon-512.png +0 -0
- package/assets/brand/xdev-icon-blue.svg +23 -0
- package/assets/brand/xdev-icon.svg +23 -0
- package/assets/brand/xdev-lockup-dark.svg +24 -0
- package/assets/brand/xdev-lockup-light.svg +24 -0
- package/assets/brand/xdev-mark-lit.svg +13 -0
- package/assets/brand/xdev-mark-tile.svg +3 -0
- package/assets/brand/xdev-mark.svg +3 -0
- package/bin/xdev-ui-skills.mjs +142 -0
- package/dist/Workspace.stories.d.ts +15 -0
- package/dist/ai-manifest.json +3727 -0
- package/dist/chunks/FileDrop-C-ygn8kF.js +891 -0
- package/dist/chunks/FileDrop-C-ygn8kF.js.map +1 -0
- package/dist/chunks/Popover-Ds4RBtZv.js +121 -0
- package/dist/chunks/Popover-Ds4RBtZv.js.map +1 -0
- package/dist/chunks/crop-CahE3q01.js +55 -0
- package/dist/chunks/crop-CahE3q01.js.map +1 -0
- package/dist/chunks/modal-BYFY08ti.js +54 -0
- package/dist/chunks/modal-BYFY08ti.js.map +1 -0
- package/dist/components/ActionTile/ActionTile.d.ts +14 -0
- package/dist/components/ActionTile/ActionTile.stories.d.ts +18 -0
- package/dist/components/ActivityBar/ActivityBar.d.ts +36 -0
- package/dist/components/ActivityBar/ActivityBar.stories.d.ts +27 -0
- package/dist/components/AgentChip/AgentChip.d.ts +10 -0
- package/dist/components/AgentChip/AgentChip.stories.d.ts +21 -0
- package/dist/components/AgentRow/AgentRow.d.ts +24 -0
- package/dist/components/AgentRow/AgentRow.stories.d.ts +19 -0
- package/dist/components/AppShell/AppShell.d.ts +58 -0
- package/dist/components/AppShell/AppShell.stories.d.ts +17 -0
- package/dist/components/ApprovalBar/ApprovalBar.d.ts +23 -0
- package/dist/components/ApprovalBar/ApprovalBar.stories.d.ts +18 -0
- package/dist/components/AttentionInbox/AttentionInbox.d.ts +43 -0
- package/dist/components/AttentionInbox/AttentionInbox.stories.d.ts +16 -0
- package/dist/components/AudioPreview/AudioPreview.d.ts +33 -0
- package/dist/components/AudioPreview/AudioPreview.stories.d.ts +23 -0
- package/dist/components/AudioPreview/audio-preview-store.d.ts +14 -0
- package/dist/components/AuthShell/AuthShell.d.ts +24 -0
- package/dist/components/AuthShell/AuthShell.stories.d.ts +20 -0
- package/dist/components/Avatar/Avatar.d.ts +13 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +21 -0
- package/dist/components/Badge/Badge.d.ts +14 -0
- package/dist/components/Badge/Badge.stories.d.ts +26 -0
- package/dist/components/Banner/Banner.d.ts +11 -0
- package/dist/components/Banner/Banner.stories.d.ts +23 -0
- package/dist/components/BarChart/BarChart.d.ts +20 -0
- package/dist/components/BarChart/BarChart.stories.d.ts +24 -0
- package/dist/components/Board/Board.d.ts +9 -0
- package/dist/components/Board/Board.stories.d.ts +18 -0
- package/dist/components/BoardCard/BoardCard.d.ts +32 -0
- package/dist/components/BoardColumn/BoardColumn.d.ts +24 -0
- package/dist/components/BottomNav/BottomNav.d.ts +40 -0
- package/dist/components/BottomNav/BottomNav.stories.d.ts +40 -0
- package/dist/components/BrandMark/BrandMark.d.ts +20 -0
- package/dist/components/BrandMark/BrandMark.stories.d.ts +28 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +22 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +27 -0
- package/dist/components/BulkBar/BulkBar.d.ts +21 -0
- package/dist/components/BulkBar/BulkBar.stories.d.ts +16 -0
- package/dist/components/Button/Button.d.ts +42 -0
- package/dist/components/Button/Button.stories.d.ts +41 -0
- package/dist/components/Card/Card.d.ts +22 -0
- package/dist/components/Card/Card.stories.d.ts +307 -0
- package/dist/components/Checkbox/Checkbox.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +18 -0
- package/dist/components/Coachmark/Coachmark.d.ts +31 -0
- package/dist/components/Coachmark/Coachmark.stories.d.ts +27 -0
- package/dist/components/Coachmark/placeCoachmark.d.ts +31 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +19 -0
- package/dist/components/CodeBlock/CodeBlock.stories.d.ts +22 -0
- package/dist/components/CodeInput/CodeInput.d.ts +25 -0
- package/dist/components/CodeInput/CodeInput.stories.d.ts +32 -0
- package/dist/components/CodeInput/normalizeCode.d.ts +10 -0
- package/dist/components/ColorField/ColorField.d.ts +29 -0
- package/dist/components/Combobox/Combobox.d.ts +105 -0
- package/dist/components/Combobox/Combobox.stories.d.ts +42 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts +94 -0
- package/dist/components/CommandPalette/CommandPalette.stories.d.ts +39 -0
- package/dist/components/Comment/Comment.d.ts +25 -0
- package/dist/components/Comment/Comment.stories.d.ts +24 -0
- package/dist/components/CommitGraph/CommitGraph.d.ts +15 -0
- package/dist/components/CommitGraph/CommitGraph.stories.d.ts +15 -0
- package/dist/components/CommitGraph/graphLanes.d.ts +56 -0
- package/dist/components/Composer/Composer.d.ts +31 -0
- package/dist/components/Composer/Composer.stories.d.ts +17 -0
- package/dist/components/Container/Container.d.ts +11 -0
- package/dist/components/Container/Container.stories.d.ts +14 -0
- package/dist/components/DataTable/DataTable.d.ts +79 -0
- package/dist/components/DataTable/DataTable.stories.d.ts +26 -0
- package/dist/components/DataTable/table-helpers.d.ts +16 -0
- package/dist/components/DataTable/table-reorder.d.ts +40 -0
- package/dist/components/DatePicker/Calendar.d.ts +51 -0
- package/dist/components/DatePicker/DatePicker.d.ts +51 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +42 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +59 -0
- package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +42 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts +14 -0
- package/dist/components/DescriptionList/DescriptionList.stories.d.ts +21 -0
- package/dist/components/Dialog/Dialog.d.ts +43 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +22 -0
- package/dist/components/DiffStat/DiffStat.d.ts +12 -0
- package/dist/components/DiffStat/DiffStat.stories.d.ts +15 -0
- package/dist/components/Disclosure/Disclosure.d.ts +18 -0
- package/dist/components/Disclosure/Disclosure.stories.d.ts +27 -0
- package/dist/components/DonutChart/DonutChart.d.ts +30 -0
- package/dist/components/DonutChart/DonutChart.stories.d.ts +26 -0
- package/dist/components/Drawer/Drawer.d.ts +27 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +18 -0
- package/dist/components/Emblem/Emblem.d.ts +19 -0
- package/dist/components/Emblem/Emblem.stories.d.ts +19 -0
- package/dist/components/EmptyState/EmptyState.d.ts +43 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +17 -0
- package/dist/components/EndpointPanel/EndpointPanel.d.ts +29 -0
- package/dist/components/FacetFilter/FacetFilter.d.ts +39 -0
- package/dist/components/FacetFilter/FacetFilter.stories.d.ts +23 -0
- package/dist/components/FacetFilter/facet-helpers.d.ts +5 -0
- package/dist/components/Field/Field.d.ts +27 -0
- package/dist/components/Field/Field.stories.d.ts +25 -0
- package/dist/components/FieldMessage/FieldMessage.d.ts +10 -0
- package/dist/components/FieldMessage/FieldMessage.stories.d.ts +14 -0
- package/dist/components/FileDrop/FileDrop.d.ts +72 -0
- package/dist/components/FileDrop/FileDrop.stories.d.ts +18 -0
- package/dist/components/FileIcon/FileIcon.d.ts +25 -0
- package/dist/components/FileIcon/FileIcon.stories.d.ts +14 -0
- package/dist/components/FilterChip/FilterChip.d.ts +9 -0
- package/dist/components/FilterChip/FilterChip.stories.d.ts +19 -0
- package/dist/components/FlowMap/FlowMap.d.ts +74 -0
- package/dist/components/FlowMap/FlowMap.stories.d.ts +24 -0
- package/dist/components/FontField/FontField.d.ts +15 -0
- package/dist/components/FontField/FontField.stories.d.ts +17 -0
- package/dist/components/FormDialog/FormDialog.d.ts +40 -0
- package/dist/components/FormDialog/FormDialog.stories.d.ts +22 -0
- package/dist/components/FormSection/FormSection.d.ts +19 -0
- package/dist/components/FormSection/FormSection.stories.d.ts +16 -0
- package/dist/components/Grid/Grid.d.ts +23 -0
- package/dist/components/Grid/Grid.stories.d.ts +19 -0
- package/dist/components/Grid/breakpoints.d.ts +25 -0
- package/dist/components/Heatmap/Heatmap.d.ts +22 -0
- package/dist/components/Heatmap/Heatmap.stories.d.ts +24 -0
- package/dist/components/Icon/Icon.d.ts +14 -0
- package/dist/components/Icon/Icon.stories.d.ts +20 -0
- package/dist/components/IconButton/IconButton.d.ts +16 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +27 -0
- package/dist/components/Identity/Identity.d.ts +14 -0
- package/dist/components/Identity/Identity.stories.d.ts +14 -0
- package/dist/components/Kbd/Kbd.d.ts +5 -0
- package/dist/components/Kbd/Kbd.stories.d.ts +13 -0
- package/dist/components/Label/Label.d.ts +15 -0
- package/dist/components/Label/Label.stories.d.ts +16 -0
- package/dist/components/LaunchCard/LaunchCard.d.ts +36 -0
- package/dist/components/LaunchCard/LaunchCard.stories.d.ts +32 -0
- package/dist/components/List/List.d.ts +11 -0
- package/dist/components/List/List.stories.d.ts +13 -0
- package/dist/components/ListRow/ListRow.d.ts +20 -0
- package/dist/components/ListRow/ListRow.stories.d.ts +27 -0
- package/dist/components/Menu/Menu.d.ts +53 -0
- package/dist/components/Menu/Menu.stories.d.ts +85 -0
- package/dist/components/Menu/MenuButton.d.ts +23 -0
- package/dist/components/Menu/MenuButton.stories.d.ts +46 -0
- package/dist/components/Menu/menu-keys.d.ts +26 -0
- package/dist/components/Meter/Meter.d.ts +18 -0
- package/dist/components/Meter/Meter.stories.d.ts +34 -0
- package/dist/components/ModelChip/ModelChip.d.ts +26 -0
- package/dist/components/ModelChip/ModelChip.stories.d.ts +18 -0
- package/dist/components/NavList/NavList.d.ts +56 -0
- package/dist/components/NavList/NavList.stories.d.ts +25 -0
- package/dist/components/PageHeader/PageHeader.d.ts +14 -0
- package/dist/components/PageHeader/PageHeader.stories.d.ts +14 -0
- package/dist/components/Pagination/Pagination.d.ts +28 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +16 -0
- package/dist/components/PairingCode/PairingCode.d.ts +17 -0
- package/dist/components/PairingCode/PairingCode.stories.d.ts +24 -0
- package/dist/components/PaletteTrigger/PaletteTrigger.d.ts +16 -0
- package/dist/components/PanZoom/PanZoom.d.ts +24 -0
- package/dist/components/PanZoom/PanZoom.stories.d.ts +11 -0
- package/dist/components/Popover/Popover.d.ts +24 -0
- package/dist/components/Popover/Popover.stories.d.ts +25 -0
- package/dist/components/Prose/Prose.d.ts +8 -0
- package/dist/components/Prose/Prose.stories.d.ts +12 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +27 -0
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +22 -0
- package/dist/components/ReactionBar/ReactionBar.d.ts +21 -0
- package/dist/components/ReactionBar/ReactionBar.stories.d.ts +26 -0
- package/dist/components/ResourceCard/ResourceCard.d.ts +30 -0
- package/dist/components/ResourceCard/ResourceCard.stories.d.ts +19 -0
- package/dist/components/ReviewComment/ReviewComment.d.ts +41 -0
- package/dist/components/ReviewComment/ReviewComment.stories.d.ts +19 -0
- package/dist/components/RouteDiagram/RouteDiagram.d.ts +27 -0
- package/dist/components/RunTimeline/RunTimeline.d.ts +28 -0
- package/dist/components/RunTimeline/RunTimeline.stories.d.ts +31 -0
- package/dist/components/SaveBar/SaveBar.d.ts +56 -0
- package/dist/components/SaveBar/SaveBar.stories.d.ts +16 -0
- package/dist/components/SearchInput/SearchInput.d.ts +22 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +18 -0
- package/dist/components/SearchPicker/SearchPicker.d.ts +49 -0
- package/dist/components/SearchPicker/SearchPicker.stories.d.ts +33 -0
- package/dist/components/Segmented/Segmented.d.ts +18 -0
- package/dist/components/Segmented/Segmented.stories.d.ts +18 -0
- package/dist/components/Select/Select.d.ts +26 -0
- package/dist/components/Select/Select.stories.d.ts +22 -0
- package/dist/components/ServiceStatus/ServiceStatus.d.ts +13 -0
- package/dist/components/SessionBar/SessionBar.d.ts +33 -0
- package/dist/components/SessionBar/SessionBar.stories.d.ts +27 -0
- package/dist/components/SettingRow/SettingRow.d.ts +17 -0
- package/dist/components/SettingRow/SettingRow.stories.d.ts +26 -0
- package/dist/components/SettingsShell/SettingsShell.d.ts +52 -0
- package/dist/components/SettingsShell/SettingsShell.stories.d.ts +9 -0
- package/dist/components/ShellTitle/ShellTitle.d.ts +25 -0
- package/dist/components/SiteShell/SiteShell.d.ts +24 -0
- package/dist/components/SiteShell/SiteShell.stories.d.ts +18 -0
- package/dist/components/Skeleton/Skeleton.d.ts +20 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +15 -0
- package/dist/components/SortableList/SortableList.d.ts +30 -0
- package/dist/components/SortableList/SortableList.stories.d.ts +16 -0
- package/dist/components/Spinner/Spinner.d.ts +15 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +14 -0
- package/dist/components/SplitHandle/SplitHandle.d.ts +25 -0
- package/dist/components/SplitHandle/SplitHandle.stories.d.ts +18 -0
- package/dist/components/Stack/Stack.d.ts +18 -0
- package/dist/components/Stack/Stack.stories.d.ts +12 -0
- package/dist/components/StatTile/StatTile.d.ts +30 -0
- package/dist/components/StatTile/StatTile.stories.d.ts +32 -0
- package/dist/components/StatusBar/StatusBar.d.ts +8 -0
- package/dist/components/StatusBar/StatusBar.stories.d.ts +15 -0
- package/dist/components/StatusDot/StatusDot.d.ts +18 -0
- package/dist/components/StatusDot/StatusDot.stories.d.ts +24 -0
- package/dist/components/StepDots/StepDots.d.ts +15 -0
- package/dist/components/StepDots/StepDots.stories.d.ts +15 -0
- package/dist/components/SwatchGroup/SwatchGroup.d.ts +20 -0
- package/dist/components/SwatchGroup/SwatchGroup.stories.d.ts +33 -0
- package/dist/components/Switch/Switch.d.ts +10 -0
- package/dist/components/Switch/Switch.stories.d.ts +17 -0
- package/dist/components/TabStrip/TabStrip.d.ts +44 -0
- package/dist/components/TabStrip/TabStrip.stories.d.ts +66 -0
- package/dist/components/Tabs/Tabs.d.ts +28 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +34 -0
- package/dist/components/Tag/Tag.d.ts +12 -0
- package/dist/components/Tag/Tag.stories.d.ts +21 -0
- package/dist/components/Textarea/Textarea.d.ts +15 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +19 -0
- package/dist/components/ThemeEditor/ThemeEditor.d.ts +56 -0
- package/dist/components/ThemePreview/ThemePreview.d.ts +15 -0
- package/dist/components/ThemeSwitch/ThemeSwitch.d.ts +30 -0
- package/dist/components/ThemeSwitch/ThemeSwitch.stories.d.ts +15 -0
- package/dist/components/TimeField/TimeField.d.ts +32 -0
- package/dist/components/TimeField/TimeField.stories.d.ts +36 -0
- package/dist/components/TimeField/time-text.d.ts +26 -0
- package/dist/components/TimeSeriesChart/TimeSeriesChart.d.ts +30 -0
- package/dist/components/TimeSeriesChart/TimeSeriesChart.stories.d.ts +29 -0
- package/dist/components/Toast/Toast.d.ts +18 -0
- package/dist/components/Toast/Toast.stories.d.ts +15 -0
- package/dist/components/Toast/Toaster.d.ts +18 -0
- package/dist/components/Toast/Toaster.stories.d.ts +16 -0
- package/dist/components/Toast/toast-region.d.ts +17 -0
- package/dist/components/Toast/toast-store.d.ts +46 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +16 -0
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +20 -0
- package/dist/components/Toolbar/Toolbar.d.ts +21 -0
- package/dist/components/Toolbar/Toolbar.stories.d.ts +25 -0
- package/dist/components/Tooltip/Tooltip.d.ts +13 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +23 -0
- package/dist/components/TreeView/TreeView.d.ts +42 -0
- package/dist/components/TreeView/TreeView.stories.d.ts +26 -0
- package/dist/components/TreeView/pathRows.d.ts +16 -0
- package/dist/components/TreeView/treeKeys.d.ts +16 -0
- package/dist/components/UsageMeterRow/UsageMeterRow.d.ts +28 -0
- package/dist/components/UsageMeterRow/UsageMeterRow.stories.d.ts +26 -0
- package/dist/components/WorktreeRow/WorktreeRow.d.ts +32 -0
- package/dist/components/WorktreeRow/WorktreeRow.stories.d.ts +32 -0
- package/dist/components/ZoomBar/ZoomBar.d.ts +22 -0
- package/dist/components/ZoomBar/ZoomBar.stories.d.ts +17 -0
- package/dist/editor/RichTextEditor/EditorToolbar.d.ts +35 -0
- package/dist/editor/RichTextEditor/ImageBar.d.ts +17 -0
- package/dist/editor/RichTextEditor/LinkForm.d.ts +16 -0
- package/dist/editor/RichTextEditor/RichTextEditor.d.ts +45 -0
- package/dist/editor/RichTextEditor/RichTextEditor.stories.d.ts +43 -0
- package/dist/editor/RichTextEditor/extensions.d.ts +23 -0
- package/dist/editor/RichTextEditor/icons.d.ts +23 -0
- package/dist/editor/RichTextEditor/insertImage.d.ts +28 -0
- package/dist/editor/RichTextEditor/labels.d.ts +32 -0
- package/dist/editor/index.d.ts +4 -0
- package/dist/editor.js +629 -0
- package/dist/editor.js.map +1 -0
- package/dist/fonts.css +2 -0
- package/dist/icons.d.ts +891 -0
- package/dist/image/ImageCropper/ImageCropper.d.ts +39 -0
- package/dist/image/ImageCropper/ImageCropper.stories.d.ts +18 -0
- package/dist/image/ImageField/ImageField.d.ts +86 -0
- package/dist/image/ImageField/ImageField.stories.d.ts +29 -0
- package/dist/image/crop.d.ts +39 -0
- package/dist/image/index.d.ts +3 -0
- package/dist/image.js +377 -0
- package/dist/image.js.map +1 -0
- package/dist/index.d.ts +138 -0
- package/dist/index.js +8253 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/cx.d.ts +2 -0
- package/dist/internal/date.d.ts +96 -0
- package/dist/internal/duration.d.ts +4 -0
- package/dist/internal/focus.d.ts +34 -0
- package/dist/internal/keys.d.ts +21 -0
- package/dist/internal/modal.d.ts +8 -0
- package/dist/internal/portal.d.ts +9 -0
- package/dist/internal/position.d.ts +37 -0
- package/dist/internal/reveal.d.ts +6 -0
- package/dist/internal/roving.d.ts +25 -0
- package/dist/internal/scroll-fade.d.ts +16 -0
- package/dist/internal/session-labels.d.ts +3 -0
- package/dist/internal/text.d.ts +2 -0
- package/dist/llms-full.txt +9786 -0
- package/dist/llms.txt +162 -0
- package/dist/mcp.js +24706 -0
- package/dist/panZoom.d.ts +40 -0
- package/dist/styles.css +2 -0
- package/dist/styles.layered.css +4 -0
- package/dist/tailwind.css +38 -0
- package/dist/test-utils.d.ts +5 -0
- package/dist/theme/font.d.ts +20 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/theme.d.ts +62 -0
- package/dist/tokens.css +308 -0
- package/dist/tokens.json +269 -0
- package/dist/types.d.ts +6 -0
- package/package.json +177 -4
- package/skills/xdev-ui-admin/SKILL.md +106 -0
- package/skills/xdev-ui-admin/references/audit-log.md +18 -0
- package/skills/xdev-ui-admin/references/console-chrome.md +119 -0
- package/skills/xdev-ui-admin/references/dashboard.md +24 -0
- package/skills/xdev-ui-admin/references/detail-and-forms.md +22 -0
- package/skills/xdev-ui-admin/references/dialogs.md +33 -0
- package/skills/xdev-ui-admin/references/forms.md +60 -0
- package/skills/xdev-ui-admin/references/from-other-kits.md +75 -0
- package/skills/xdev-ui-admin/references/layout.md +58 -0
- package/skills/xdev-ui-admin/references/navigation.md +10 -0
- package/skills/xdev-ui-admin/references/permissions.md +26 -0
- package/skills/xdev-ui-admin/references/resource-list.md +64 -0
- package/skills/xdev-ui-admin/references/responsive.md +68 -0
- package/skills/xdev-ui-admin/references/rich-content.md +37 -0
- package/skills/xdev-ui-admin/references/settings.md +20 -0
- package/skills/xdev-ui-admin/references/sign-in.md +47 -0
- package/skills/xdev-ui-admin/references/states-feedback.md +26 -0
- package/skills/xdev-ui-admin/references/tree-list.md +50 -0
- package/skills/xdev-ui-admin/references/users-roles.md +32 -0
- package/skills/xdev-ui-admin/references/ux-principles.md +43 -0
- package/skills/xdev-ui-admin/references/visual-identity.md +62 -0
- package/skills/xdev-ui-admin/templates/admin/_gitignore +3 -0
- package/skills/xdev-ui-admin/templates/admin/_mcp.json +5 -0
- package/skills/xdev-ui-admin/templates/admin/_npmrc +2 -0
- package/skills/xdev-ui-admin/templates/admin/index.html +14 -0
- package/skills/xdev-ui-admin/templates/admin/package.json +24 -0
- package/skills/xdev-ui-admin/templates/admin/src/App.tsx +66 -0
- package/skills/xdev-ui-admin/templates/admin/src/app.css +26 -0
- package/skills/xdev-ui-admin/templates/admin/src/auth/permissions.ts +7 -0
- package/skills/xdev-ui-admin/templates/admin/src/auth/session.ts +42 -0
- package/skills/xdev-ui-admin/templates/admin/src/data/context.ts +11 -0
- package/skills/xdev-ui-admin/templates/admin/src/data/store.ts +84 -0
- package/skills/xdev-ui-admin/templates/admin/src/data/useLoad.ts +25 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/en.ts +98 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/index.tsx +63 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/vi.ts +98 -0
- package/skills/xdev-ui-admin/templates/admin/src/i18n/xdev-ui-labels.ts +47 -0
- package/skills/xdev-ui-admin/templates/admin/src/main.tsx +12 -0
- package/skills/xdev-ui-admin/templates/admin/src/notify.tsx +36 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/Dashboard.tsx +55 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/ItemDetail.tsx +83 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/ItemsList.tsx +140 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/NotFound.tsx +17 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/Settings.tsx +37 -0
- package/skills/xdev-ui-admin/templates/admin/src/pages/SignIn.tsx +105 -0
- package/skills/xdev-ui-admin/templates/admin/src/router.ts +49 -0
- package/skills/xdev-ui-admin/templates/admin/src/shell/AccountMenu.tsx +36 -0
- package/skills/xdev-ui-admin/templates/admin/src/shell/Shell.tsx +53 -0
- package/skills/xdev-ui-admin/templates/admin/src/theme.ts +34 -0
- package/skills/xdev-ui-admin/templates/admin/tsconfig.json +16 -0
- package/skills/xdev-ui-admin/templates/admin/vite.config.ts +4 -0
- package/skills/xdev-ui-build-app/SKILL.md +85 -0
- package/skills/xdev-ui-build-app/references/app-shell.md +20 -0
- package/skills/xdev-ui-build-app/references/i18n.md +9 -0
- package/skills/xdev-ui-build-app/references/responsive-a11y.md +10 -0
- package/skills/xdev-ui-build-app/references/routing.md +14 -0
- package/skills/xdev-ui-build-app/references/setup.md +25 -0
- package/skills/xdev-ui-build-app/references/states.md +25 -0
- package/skills/xdev-ui-build-app/references/theme.md +11 -0
- package/skills/xdev-ui-build-app/templates/app/_gitignore +3 -0
- package/skills/xdev-ui-build-app/templates/app/_mcp.json +5 -0
- package/skills/xdev-ui-build-app/templates/app/_npmrc +2 -0
- package/skills/xdev-ui-build-app/templates/app/index.html +14 -0
- package/skills/xdev-ui-build-app/templates/app/package.json +24 -0
- package/skills/xdev-ui-build-app/templates/app/src/App.tsx +77 -0
- package/skills/xdev-ui-build-app/templates/app/src/app.css +3 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/en.ts +35 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/index.tsx +63 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/vi.ts +35 -0
- package/skills/xdev-ui-build-app/templates/app/src/i18n/xdev-ui-labels.ts +19 -0
- package/skills/xdev-ui-build-app/templates/app/src/main.tsx +12 -0
- package/skills/xdev-ui-build-app/templates/app/src/notify.tsx +36 -0
- package/skills/xdev-ui-build-app/templates/app/src/pages/Home.tsx +22 -0
- package/skills/xdev-ui-build-app/templates/app/src/pages/NotFound.tsx +17 -0
- package/skills/xdev-ui-build-app/templates/app/src/pages/Settings.tsx +35 -0
- package/skills/xdev-ui-build-app/templates/app/src/router.ts +26 -0
- package/skills/xdev-ui-build-app/templates/app/src/theme.ts +34 -0
- package/skills/xdev-ui-build-app/templates/app/tsconfig.json +16 -0
- package/skills/xdev-ui-build-app/templates/app/vite.config.ts +4 -0
- package/skills/xdev-ui-design/SKILL.md +111 -0
- package/skills/xdev-ui-design/references/brand.md +58 -0
- package/skills/xdev-ui-design/references/checklist.md +55 -0
- package/skills/xdev-ui-design/references/owner-notes.md +54 -0
- package/skills/xdev-ui-design/references/porting.md +56 -0
- package/skills/xdev-ui-design/references/rules.md +135 -0
- package/skills/xdev-ui-design/references/screens.md +61 -0
- package/skills/xdev-ui-design/references/tokens.md +97 -0
- package/skills/xdev-ui-improve/SKILL.md +96 -0
- package/skills/xdev-ui-improve/references/plan-template.md +59 -0
- package/skills/xdev-ui-motion/SKILL.md +87 -0
- package/skills/xdev-ui-motion/references/recipes.md +117 -0
- package/skills/xdev-ui-review/SKILL.md +141 -0
- package/skills/xdev-ui-review/references/checklist.md +92 -0
- package/skills/xdev-ui-review/references/grep-recipes.md +37 -0
- package/skills/xdev-ui-review/references/pages/dashboard.md +21 -0
- package/skills/xdev-ui-review/references/pages/dialogs-forms.md +23 -0
- package/skills/xdev-ui-review/references/pages/list.md +22 -0
- package/skills/xdev-ui-review/references/pages/provider-grid.md +19 -0
- package/skills/xdev-ui-review/references/pages/settings.md +18 -0
- package/skills/xdev-ui-review/references/pages/sign-in.md +21 -0
- package/skills/xdev-ui-review/references/web-interface.md +73 -0
- package/skills/xdev-ui-review/scripts/audit.mjs +775 -0
- package/skills/xdev-ui-ux-standards/SKILL.md +88 -0
- package/skills/xdev-ui-ux-standards/references/heuristics-checklist.md +129 -0
- package/skills/xdev-ui-ux-standards/references/patterns.md +120 -0
- package/skills/xdev-ui-ux-standards/references/platforms.md +104 -0
- package/skills/xdev-ui-ux-standards/references/standards-map.md +144 -0
|
@@ -0,0 +1,891 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { useId as r, useState as i } from "react";
|
|
4
|
+
// src/internal/cx.ts
|
|
5
|
+
function a(...e) {
|
|
6
|
+
return e.filter(Boolean).join(" ");
|
|
7
|
+
}
|
|
8
|
+
// src/icons.ts
|
|
9
|
+
var o = {
|
|
10
|
+
docs: [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z" }], ["path", { d: "M14 3v5h5M9 13h6M9 17h6" }]],
|
|
11
|
+
changes: [
|
|
12
|
+
["circle", {
|
|
13
|
+
cx: 6,
|
|
14
|
+
cy: 6,
|
|
15
|
+
r: 2
|
|
16
|
+
}],
|
|
17
|
+
["circle", {
|
|
18
|
+
cx: 6,
|
|
19
|
+
cy: 18,
|
|
20
|
+
r: 2
|
|
21
|
+
}],
|
|
22
|
+
["circle", {
|
|
23
|
+
cx: 18,
|
|
24
|
+
cy: 8,
|
|
25
|
+
r: 2
|
|
26
|
+
}],
|
|
27
|
+
["path", { d: "M6 8v8M18 10c0 4-4 4-10 6.5" }]
|
|
28
|
+
],
|
|
29
|
+
tasks: [["path", { d: "M10 6h10M10 12h10M10 18h10" }], ["path", { d: "m4 6 1.5 1.5L8 5M4 12l1.5 1.5L8 11M4 18l1.5 1.5L8 17" }]],
|
|
30
|
+
squads: [
|
|
31
|
+
["circle", {
|
|
32
|
+
cx: 9,
|
|
33
|
+
cy: 8,
|
|
34
|
+
r: 3.5
|
|
35
|
+
}],
|
|
36
|
+
["path", { d: "M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6" }],
|
|
37
|
+
["path", { d: "M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.3c2.1.7 3.5 2.8 3.5 5.7" }]
|
|
38
|
+
],
|
|
39
|
+
agents: [
|
|
40
|
+
["rect", {
|
|
41
|
+
x: 5,
|
|
42
|
+
y: 8,
|
|
43
|
+
width: 14,
|
|
44
|
+
height: 11,
|
|
45
|
+
rx: 2
|
|
46
|
+
}],
|
|
47
|
+
["path", { d: "M12 8V4M10 4h4M3 12v3M21 12v3" }],
|
|
48
|
+
["circle", {
|
|
49
|
+
cx: 9.5,
|
|
50
|
+
cy: 13,
|
|
51
|
+
r: 1
|
|
52
|
+
}],
|
|
53
|
+
["circle", {
|
|
54
|
+
cx: 14.5,
|
|
55
|
+
cy: 13,
|
|
56
|
+
r: 1
|
|
57
|
+
}]
|
|
58
|
+
],
|
|
59
|
+
kit: [["path", { d: "M4 8h16v11a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z" }], ["path", { d: "M9 8V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3M4 13h16M11 13v2h2v-2" }]],
|
|
60
|
+
accounts: [["circle", {
|
|
61
|
+
cx: 12,
|
|
62
|
+
cy: 8,
|
|
63
|
+
r: 4
|
|
64
|
+
}], ["path", { d: "M4 21c0-4 3.6-7 8-7s8 3 8 7" }]],
|
|
65
|
+
terminal: [["rect", {
|
|
66
|
+
x: 3,
|
|
67
|
+
y: 4,
|
|
68
|
+
width: 18,
|
|
69
|
+
height: 16,
|
|
70
|
+
rx: 2
|
|
71
|
+
}], ["path", { d: "m7 9 3 3-3 3M13 15h4" }]],
|
|
72
|
+
warn: [["path", { d: "M12 3 2 20h20z" }], ["path", { d: "M12 10v4M12 17h.01" }]],
|
|
73
|
+
close: [["path", { d: "M6 6l12 12M18 6 6 18" }]],
|
|
74
|
+
plus: [["path", { d: "M12 5v14M5 12h14" }]],
|
|
75
|
+
search: [["circle", {
|
|
76
|
+
cx: 11,
|
|
77
|
+
cy: 11,
|
|
78
|
+
r: 6
|
|
79
|
+
}], ["path", { d: "m20 20-4.5-4.5" }]],
|
|
80
|
+
more: [
|
|
81
|
+
["circle", {
|
|
82
|
+
cx: 5,
|
|
83
|
+
cy: 12,
|
|
84
|
+
r: 1
|
|
85
|
+
}],
|
|
86
|
+
["circle", {
|
|
87
|
+
cx: 12,
|
|
88
|
+
cy: 12,
|
|
89
|
+
r: 1
|
|
90
|
+
}],
|
|
91
|
+
["circle", {
|
|
92
|
+
cx: 19,
|
|
93
|
+
cy: 12,
|
|
94
|
+
r: 1
|
|
95
|
+
}]
|
|
96
|
+
],
|
|
97
|
+
"chevron-left": [["path", { d: "M15 6l-6 6 6 6" }]],
|
|
98
|
+
"chevron-right": [["path", { d: "M9 6l6 6-6 6" }]],
|
|
99
|
+
magnifier: [["circle", {
|
|
100
|
+
cx: 11,
|
|
101
|
+
cy: 11,
|
|
102
|
+
r: 7
|
|
103
|
+
}], ["path", { d: "m20 20-3.5-3.5" }]],
|
|
104
|
+
prompt: [["path", { d: "m5 8 5 4-5 4M12 17h7" }]],
|
|
105
|
+
folder: [["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }]],
|
|
106
|
+
file: [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }]],
|
|
107
|
+
check: [["path", { d: "m5 12 5 5L20 7" }]],
|
|
108
|
+
alert: [["path", { d: "M12 9v4M12 17h.01" }], ["path", { d: "M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z" }]],
|
|
109
|
+
"warn-dash": [["path", { d: "M12 3 2 20h20zM12 10v4M12 17v.5" }]],
|
|
110
|
+
restore: [["path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8M3 3v5h5" }]],
|
|
111
|
+
history: [["path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8M3 3v5h5M12 7v5l3 2" }]],
|
|
112
|
+
bot: [["path", { d: "M5 10a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2zM12 8V4M10 4h4M9.5 13h.01M14.5 13h.01" }]],
|
|
113
|
+
download: [["path", { d: "M12 4v11M7 10l5 5 5-5M5 20h14" }]],
|
|
114
|
+
copy: [["path", { d: "M11 9h7a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zM5 15V6a2 2 0 0 1 2-2h9" }]],
|
|
115
|
+
plug: [["path", { d: "M9 7V3M15 7V3M7 7h10v4a5 5 0 0 1-10 0zM12 16v5" }]],
|
|
116
|
+
lock: [["path", { d: "M7 11h10a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2zM8 11V8a4 4 0 0 1 8 0v3" }]],
|
|
117
|
+
branch: [
|
|
118
|
+
["circle", {
|
|
119
|
+
cx: 6,
|
|
120
|
+
cy: 5,
|
|
121
|
+
r: 2
|
|
122
|
+
}],
|
|
123
|
+
["circle", {
|
|
124
|
+
cx: 6,
|
|
125
|
+
cy: 19,
|
|
126
|
+
r: 2
|
|
127
|
+
}],
|
|
128
|
+
["circle", {
|
|
129
|
+
cx: 18,
|
|
130
|
+
cy: 7,
|
|
131
|
+
r: 2
|
|
132
|
+
}],
|
|
133
|
+
["path", { d: "M6 7v10M18 9c0 5-6 4-12 8" }]
|
|
134
|
+
],
|
|
135
|
+
swap: [["path", { d: "M4 8h14M14 4l4 4-4 4M20 16H6M10 12l-4 4 4 4" }]],
|
|
136
|
+
"list-checks": [["path", { d: "M11 6h9M11 12h9M11 18h9" }], ["path", { d: "m3 6 1.5 1.5L7 5M3 12l1.5 1.5L7 11M3 18l1.5 1.5L7 17" }]],
|
|
137
|
+
workflow: [
|
|
138
|
+
["rect", {
|
|
139
|
+
x: 3,
|
|
140
|
+
y: 3,
|
|
141
|
+
width: 7,
|
|
142
|
+
height: 7,
|
|
143
|
+
rx: 1.5
|
|
144
|
+
}],
|
|
145
|
+
["rect", {
|
|
146
|
+
x: 14,
|
|
147
|
+
y: 14,
|
|
148
|
+
width: 7,
|
|
149
|
+
height: 7,
|
|
150
|
+
rx: 1.5
|
|
151
|
+
}],
|
|
152
|
+
["path", { d: "M10 6.5h4a3 3 0 0 1 3 3V14" }]
|
|
153
|
+
],
|
|
154
|
+
chevron: [["path", { d: "m6 9 6 6 6-6" }]],
|
|
155
|
+
"chevron-up": [["path", { d: "m6 15 6-6 6 6" }]],
|
|
156
|
+
"arrow-left": [["path", { d: "M19 12H5M11 6l-6 6 6 6" }]],
|
|
157
|
+
"arrow-right": [["path", { d: "M5 12h14M13 6l6 6-6 6" }]],
|
|
158
|
+
"arrow-up": [["path", { d: "M12 19V5M6 11l6-6 6 6" }]],
|
|
159
|
+
"arrow-down": [["path", { d: "M12 5v14M6 13l6 6 6-6" }]],
|
|
160
|
+
external: [["path", { d: "M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5" }]],
|
|
161
|
+
menu: [["path", { d: "M4 6h16M4 12h16M4 18h16" }]],
|
|
162
|
+
sidebar: [["rect", {
|
|
163
|
+
x: 3,
|
|
164
|
+
y: 4,
|
|
165
|
+
width: 18,
|
|
166
|
+
height: 16,
|
|
167
|
+
rx: 2
|
|
168
|
+
}], ["path", { d: "M9 4v16" }]],
|
|
169
|
+
"panel-right": [["rect", {
|
|
170
|
+
x: 3,
|
|
171
|
+
y: 4,
|
|
172
|
+
width: 18,
|
|
173
|
+
height: 16,
|
|
174
|
+
rx: 2
|
|
175
|
+
}], ["path", { d: "M15 4v16" }]],
|
|
176
|
+
split: [["rect", {
|
|
177
|
+
x: 3,
|
|
178
|
+
y: 4,
|
|
179
|
+
width: 18,
|
|
180
|
+
height: 16,
|
|
181
|
+
rx: 2
|
|
182
|
+
}], ["path", { d: "M12 4v16" }]],
|
|
183
|
+
maximize: [["path", { d: "M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5" }]],
|
|
184
|
+
minimize: [["path", { d: "M9 4v5H4M15 4v5h5M9 20v-5H4M15 20v-5h5" }]],
|
|
185
|
+
home: [["path", { d: "M4 11l8-7 8 7M6 9.5V20h12V9.5M10 20v-5h4v5" }]],
|
|
186
|
+
minus: [["path", { d: "M5 12h14" }]],
|
|
187
|
+
edit: [["path", { d: "M4 20h4L19 9l-4-4L4 16zM13.5 6.5l4 4" }]],
|
|
188
|
+
trash: [["path", { d: "M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v6M14 11v6" }]],
|
|
189
|
+
refresh: [["path", { d: "M20 12a8 8 0 1 1-2.3-5.6L20 8M20 3v5h-5" }]],
|
|
190
|
+
undo: [["path", { d: "M9 14 4 9l5-5M4 9h11a5 5 0 0 1 0 10h-3" }]],
|
|
191
|
+
redo: [["path", { d: "m15 14 5-5-5-5M20 9H9a5 5 0 0 0 0 10h3" }]],
|
|
192
|
+
upload: [["path", { d: "M12 20V9M7 14l5-5 5 5M5 4h14" }]],
|
|
193
|
+
link: [["path", { d: "M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1" }]],
|
|
194
|
+
filter: [["path", { d: "M4 5h16l-6 8v6l-4-2v-4z" }]],
|
|
195
|
+
sort: [["path", { d: "M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4" }]],
|
|
196
|
+
send: [["path", { d: "M21 3 10 14M21 3l-7 18-4-7-7-4z" }]],
|
|
197
|
+
"sign-out": [["path", { d: "M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 8l-4 4 4 4M6 12h10" }]],
|
|
198
|
+
play: [["path", { d: "M7 5v14l12-7z" }]],
|
|
199
|
+
pause: [["path", { d: "M8 5v14M16 5v14" }]],
|
|
200
|
+
stop: [["rect", {
|
|
201
|
+
x: 6,
|
|
202
|
+
y: 6,
|
|
203
|
+
width: 12,
|
|
204
|
+
height: 12,
|
|
205
|
+
rx: 1.5
|
|
206
|
+
}]],
|
|
207
|
+
pin: [["path", { d: "M9 4h6l-1 6 4 4H6l4-4zM12 14v7" }]],
|
|
208
|
+
star: [["path", { d: "M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z" }]],
|
|
209
|
+
bookmark: [["path", { d: "M6 4h12v17l-6-4-6 4z" }]],
|
|
210
|
+
info: [["circle", {
|
|
211
|
+
cx: 12,
|
|
212
|
+
cy: 12,
|
|
213
|
+
r: 9
|
|
214
|
+
}], ["path", { d: "M12 11v5M12 8h.01" }]],
|
|
215
|
+
help: [["circle", {
|
|
216
|
+
cx: 12,
|
|
217
|
+
cy: 12,
|
|
218
|
+
r: 9
|
|
219
|
+
}], ["path", { d: "M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5v.7M12 17h.01" }]],
|
|
220
|
+
"check-circle": [["circle", {
|
|
221
|
+
cx: 12,
|
|
222
|
+
cy: 12,
|
|
223
|
+
r: 9
|
|
224
|
+
}], ["path", { d: "m8 12 3 3 5-6" }]],
|
|
225
|
+
bell: [["path", { d: "M6 16v-5a6 6 0 0 1 12 0v5l2 2H4zM10 20a2 2 0 0 0 4 0" }]],
|
|
226
|
+
eye: [["path", { d: "M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z" }], ["circle", {
|
|
227
|
+
cx: 12,
|
|
228
|
+
cy: 12,
|
|
229
|
+
r: 3
|
|
230
|
+
}]],
|
|
231
|
+
"eye-off": [["path", { d: "M3 3l18 18M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4M6.6 6.6C3.7 8.4 2 12 2 12s3.6 7 10 7a9.6 9.6 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2" }]],
|
|
232
|
+
unlock: [["path", { d: "M7 11h10a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2zM8 11V8a4 4 0 0 1 7.7-1.5" }]],
|
|
233
|
+
key: [["circle", {
|
|
234
|
+
cx: 8,
|
|
235
|
+
cy: 15,
|
|
236
|
+
r: 4
|
|
237
|
+
}], ["path", { d: "M11 12l9-9M17 6l3 3M15 8l2 2" }]],
|
|
238
|
+
shield: [["path", { d: "M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z" }]],
|
|
239
|
+
activity: [["path", { d: "M3 12h4l3-8 4 16 3-8h4" }]],
|
|
240
|
+
sparkle: [["path", { d: "M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM19 16l.7 1.8 1.8.7-1.8.7L19 21l-.7-1.8-1.8-.7 1.8-.7z" }]],
|
|
241
|
+
zap: [["path", { d: "M13 2 4 14h7l-1 8 9-12h-7z" }]],
|
|
242
|
+
sun: [["circle", {
|
|
243
|
+
cx: 12,
|
|
244
|
+
cy: 12,
|
|
245
|
+
r: 4
|
|
246
|
+
}], ["path", { d: "M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4" }]],
|
|
247
|
+
moon: [["path", { d: "M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z" }]],
|
|
248
|
+
monitor: [["rect", {
|
|
249
|
+
x: 3,
|
|
250
|
+
y: 4,
|
|
251
|
+
width: 18,
|
|
252
|
+
height: 12,
|
|
253
|
+
rx: 2
|
|
254
|
+
}], ["path", { d: "M8 20h8M12 16v4" }]],
|
|
255
|
+
settings: [
|
|
256
|
+
["path", { d: "M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0" }],
|
|
257
|
+
["circle", {
|
|
258
|
+
cx: 16,
|
|
259
|
+
cy: 6,
|
|
260
|
+
r: 2
|
|
261
|
+
}],
|
|
262
|
+
["circle", {
|
|
263
|
+
cx: 10,
|
|
264
|
+
cy: 12,
|
|
265
|
+
r: 2
|
|
266
|
+
}],
|
|
267
|
+
["circle", {
|
|
268
|
+
cx: 18,
|
|
269
|
+
cy: 18,
|
|
270
|
+
r: 2
|
|
271
|
+
}]
|
|
272
|
+
],
|
|
273
|
+
sliders: [
|
|
274
|
+
["path", { d: "M4 7h9M17 7h3M4 17h3M11 17h9" }],
|
|
275
|
+
["circle", {
|
|
276
|
+
cx: 15,
|
|
277
|
+
cy: 7,
|
|
278
|
+
r: 2
|
|
279
|
+
}],
|
|
280
|
+
["circle", {
|
|
281
|
+
cx: 9,
|
|
282
|
+
cy: 17,
|
|
283
|
+
r: 2
|
|
284
|
+
}]
|
|
285
|
+
],
|
|
286
|
+
calendar: [["rect", {
|
|
287
|
+
x: 3,
|
|
288
|
+
y: 5,
|
|
289
|
+
width: 18,
|
|
290
|
+
height: 16,
|
|
291
|
+
rx: 2
|
|
292
|
+
}], ["path", { d: "M3 10h18M8 3v4M16 3v4" }]],
|
|
293
|
+
clock: [["circle", {
|
|
294
|
+
cx: 12,
|
|
295
|
+
cy: 12,
|
|
296
|
+
r: 9
|
|
297
|
+
}], ["path", { d: "M12 7v5l3 2" }]],
|
|
298
|
+
mail: [["rect", {
|
|
299
|
+
x: 3,
|
|
300
|
+
y: 5,
|
|
301
|
+
width: 18,
|
|
302
|
+
height: 14,
|
|
303
|
+
rx: 2
|
|
304
|
+
}], ["path", { d: "m3 7 9 6 9-6" }]],
|
|
305
|
+
chat: [["path", { d: "M5 4h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-9l-5 4v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" }]],
|
|
306
|
+
image: [
|
|
307
|
+
["rect", {
|
|
308
|
+
x: 3,
|
|
309
|
+
y: 4,
|
|
310
|
+
width: 18,
|
|
311
|
+
height: 16,
|
|
312
|
+
rx: 2
|
|
313
|
+
}],
|
|
314
|
+
["circle", {
|
|
315
|
+
cx: 9,
|
|
316
|
+
cy: 10,
|
|
317
|
+
r: 2
|
|
318
|
+
}],
|
|
319
|
+
["path", { d: "m21 16-5-5-9 9" }]
|
|
320
|
+
],
|
|
321
|
+
globe: [["circle", {
|
|
322
|
+
cx: 12,
|
|
323
|
+
cy: 12,
|
|
324
|
+
r: 9
|
|
325
|
+
}], ["path", { d: "M3 12h18M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3z" }]],
|
|
326
|
+
cloud: [["path", { d: "M7 18a4.5 4.5 0 0 1-.6-9 6 6 0 0 1 11.4 1.5A4 4 0 0 1 17 18z" }]],
|
|
327
|
+
database: [["path", { d: "M4 6c0-1.7 3.6-3 8-3s8 1.3 8 3-3.6 3-8 3-8-1.3-8-3zM4 6v12c0 1.7 3.6 3 8 3s8-1.3 8-3V6M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3" }]],
|
|
328
|
+
server: [
|
|
329
|
+
["rect", {
|
|
330
|
+
x: 3,
|
|
331
|
+
y: 4,
|
|
332
|
+
width: 18,
|
|
333
|
+
height: 7,
|
|
334
|
+
rx: 2
|
|
335
|
+
}],
|
|
336
|
+
["rect", {
|
|
337
|
+
x: 3,
|
|
338
|
+
y: 13,
|
|
339
|
+
width: 18,
|
|
340
|
+
height: 7,
|
|
341
|
+
rx: 2
|
|
342
|
+
}],
|
|
343
|
+
["path", { d: "M7 7.5h.01M7 16.5h.01" }]
|
|
344
|
+
],
|
|
345
|
+
cpu: [["rect", {
|
|
346
|
+
x: 7,
|
|
347
|
+
y: 7,
|
|
348
|
+
width: 10,
|
|
349
|
+
height: 10,
|
|
350
|
+
rx: 1
|
|
351
|
+
}], ["path", { d: "M10 3v4M14 3v4M10 17v4M14 17v4M3 10h4M3 14h4M17 10h4M17 14h4" }]],
|
|
352
|
+
keyboard: [["rect", {
|
|
353
|
+
x: 2,
|
|
354
|
+
y: 6,
|
|
355
|
+
width: 20,
|
|
356
|
+
height: 12,
|
|
357
|
+
rx: 2
|
|
358
|
+
}], ["path", { d: "M6 10h.01M10 10h.01M14 10h.01M18 10h.01M7 14h10" }]],
|
|
359
|
+
code: [["path", { d: "m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16" }]],
|
|
360
|
+
braces: [["path", { d: "M8 4H7a2 2 0 0 0-2 2v3.5L3.5 12 5 14.5V18a2 2 0 0 0 2 2h1M16 4h1a2 2 0 0 1 2 2v3.5l1.5 2.5-1.5 2.5V18a2 2 0 0 1-2 2h-1" }]],
|
|
361
|
+
hash: [["path", { d: "M5 9h15M4 15h15M10 3 8 21M16 3l-2 18" }]],
|
|
362
|
+
package: [["path", { d: "M12 3 4 7.5v9L12 21l8-4.5v-9zM4 7.5l8 4.5 8-4.5M12 12v9" }]],
|
|
363
|
+
layers: [["path", { d: "M12 3 3 7.5l9 4.5 9-4.5zM3 12l9 4.5 9-4.5M3 16.5 12 21l9-4.5" }]],
|
|
364
|
+
grid: [
|
|
365
|
+
["rect", {
|
|
366
|
+
x: 4,
|
|
367
|
+
y: 4,
|
|
368
|
+
width: 6,
|
|
369
|
+
height: 6,
|
|
370
|
+
rx: 1
|
|
371
|
+
}],
|
|
372
|
+
["rect", {
|
|
373
|
+
x: 14,
|
|
374
|
+
y: 4,
|
|
375
|
+
width: 6,
|
|
376
|
+
height: 6,
|
|
377
|
+
rx: 1
|
|
378
|
+
}],
|
|
379
|
+
["rect", {
|
|
380
|
+
x: 4,
|
|
381
|
+
y: 14,
|
|
382
|
+
width: 6,
|
|
383
|
+
height: 6,
|
|
384
|
+
rx: 1
|
|
385
|
+
}],
|
|
386
|
+
["rect", {
|
|
387
|
+
x: 14,
|
|
388
|
+
y: 14,
|
|
389
|
+
width: 6,
|
|
390
|
+
height: 6,
|
|
391
|
+
rx: 1
|
|
392
|
+
}]
|
|
393
|
+
],
|
|
394
|
+
list: [["path", { d: "M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01" }]],
|
|
395
|
+
grip: [["path", { d: "M9 6h.01M15 6h.01M9 12h.01M15 12h.01M9 18h.01M15 18h.01" }]],
|
|
396
|
+
tag: [["path", { d: "M4 4h7l9 9-7 7-9-9zM8 8h.01" }]],
|
|
397
|
+
archive: [["rect", {
|
|
398
|
+
x: 3,
|
|
399
|
+
y: 4,
|
|
400
|
+
width: 18,
|
|
401
|
+
height: 5,
|
|
402
|
+
rx: 1
|
|
403
|
+
}], ["path", { d: "M5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9M10 13h4" }]],
|
|
404
|
+
inbox: [["path", { d: "M3 13h5l1.5 3h5l1.5-3h5M5.5 5h13L21 13v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6z" }]],
|
|
405
|
+
book: [["path", { d: "M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2zM4 21a2 2 0 0 1 2-2h13v2H6" }]],
|
|
406
|
+
commit: [["circle", {
|
|
407
|
+
cx: 12,
|
|
408
|
+
cy: 12,
|
|
409
|
+
r: 3.5
|
|
410
|
+
}], ["path", { d: "M3 12h5.5M15.5 12H21" }]],
|
|
411
|
+
merge: [
|
|
412
|
+
["circle", {
|
|
413
|
+
cx: 6,
|
|
414
|
+
cy: 5,
|
|
415
|
+
r: 2
|
|
416
|
+
}],
|
|
417
|
+
["circle", {
|
|
418
|
+
cx: 6,
|
|
419
|
+
cy: 19,
|
|
420
|
+
r: 2
|
|
421
|
+
}],
|
|
422
|
+
["circle", {
|
|
423
|
+
cx: 18,
|
|
424
|
+
cy: 15,
|
|
425
|
+
r: 2
|
|
426
|
+
}],
|
|
427
|
+
["path", { d: "M6 7v10M6 7c0 5 5 8 10 8" }]
|
|
428
|
+
],
|
|
429
|
+
"pull-request": [
|
|
430
|
+
["circle", {
|
|
431
|
+
cx: 6,
|
|
432
|
+
cy: 5,
|
|
433
|
+
r: 2
|
|
434
|
+
}],
|
|
435
|
+
["circle", {
|
|
436
|
+
cx: 6,
|
|
437
|
+
cy: 19,
|
|
438
|
+
r: 2
|
|
439
|
+
}],
|
|
440
|
+
["circle", {
|
|
441
|
+
cx: 18,
|
|
442
|
+
cy: 19,
|
|
443
|
+
r: 2
|
|
444
|
+
}],
|
|
445
|
+
["path", { d: "M6 7v10M18 17V9a2 2 0 0 0-2-2h-4M14 4.5 11.5 7 14 9.5" }]
|
|
446
|
+
],
|
|
447
|
+
diff: [["rect", {
|
|
448
|
+
x: 4,
|
|
449
|
+
y: 3,
|
|
450
|
+
width: 16,
|
|
451
|
+
height: 18,
|
|
452
|
+
rx: 2
|
|
453
|
+
}], ["path", { d: "M12 7v6M9 10h6M9 17h6" }]],
|
|
454
|
+
"folder-open": [["path", { d: "M3 18V7a2 2 0 0 1 2-2h4l2 2h6a2 2 0 0 1 2 2v1M3 18l2.5-6.6A2 2 0 0 1 7.4 10H20a1 1 0 0 1 .9 1.4l-2.3 6.3a2 2 0 0 1-1.9 1.3H4a1 1 0 0 1-1-1z" }]],
|
|
455
|
+
"folder-plus": [["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }], ["path", { d: "M12 10v6M9 13h6" }]],
|
|
456
|
+
"folder-code": [["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }], ["path", { d: "m10 11-2 2 2 2M14 11l2 2-2 2" }]],
|
|
457
|
+
"folder-git": [
|
|
458
|
+
["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }],
|
|
459
|
+
["circle", {
|
|
460
|
+
cx: 12,
|
|
461
|
+
cy: 13,
|
|
462
|
+
r: 1.5
|
|
463
|
+
}],
|
|
464
|
+
["path", { d: "M7.5 13h3M13.5 13h3" }]
|
|
465
|
+
],
|
|
466
|
+
"folder-package": [["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }], ["path", { d: "M9.5 11.5 12 10l2.5 1.5v3L12 16l-2.5-1.5zM9.5 11.5 12 13l2.5-1.5M12 13v3" }]],
|
|
467
|
+
"folder-image": [["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }], ["path", { d: "m7.5 16 3-3 2 2 1.5-1.5 2.5 2.5" }]],
|
|
468
|
+
"folder-test": [["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }], ["path", { d: "m9 13 2 2 4-4" }]],
|
|
469
|
+
"folder-config": [
|
|
470
|
+
["path", { d: "M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }],
|
|
471
|
+
["circle", {
|
|
472
|
+
cx: 12,
|
|
473
|
+
cy: 13,
|
|
474
|
+
r: 1.75
|
|
475
|
+
}],
|
|
476
|
+
["path", { d: "M12 9.75v.75M12 15.5v.75M8.75 13h.75M14.5 13h.75" }]
|
|
477
|
+
],
|
|
478
|
+
"file-code": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "m10 12-2 2.5 2 2.5M14 12l2 2.5-2 2.5" }]],
|
|
479
|
+
"file-text": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M9 13h6M9 17h4" }]],
|
|
480
|
+
"file-info": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M12 14v4M12 11.5h.01" }]],
|
|
481
|
+
"file-json": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M10 11.5c-1 0-1.5.5-1.5 1.25v.5c0 .5-.5.75-1 .75.5 0 1 .25 1 .75v.5c0 .75.5 1.25 1.5 1.25M14 11.5c1 0 1.5.5 1.5 1.25v.5c0 .5.5.75 1 .75-.5 0-1 .25-1 .75v.5c0 .75-.5 1.25-1.5 1.25" }]],
|
|
482
|
+
"file-data": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M8.5 12h7M8.5 15h7M8.5 18h7M12 12v6" }]],
|
|
483
|
+
"file-style": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M10.5 11l-1 7M14.5 11l-1 7M8.5 13h7M8 16h7" }]],
|
|
484
|
+
"file-image": [
|
|
485
|
+
["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }],
|
|
486
|
+
["circle", {
|
|
487
|
+
cx: 10,
|
|
488
|
+
cy: 12,
|
|
489
|
+
r: 1
|
|
490
|
+
}],
|
|
491
|
+
["path", { d: "m8 18 3-3 2 2 1.5-1.5L17 18" }]
|
|
492
|
+
],
|
|
493
|
+
"file-media": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M10 11.5v6l5-3z" }]],
|
|
494
|
+
"file-config": [
|
|
495
|
+
["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }],
|
|
496
|
+
["circle", {
|
|
497
|
+
cx: 12,
|
|
498
|
+
cy: 15,
|
|
499
|
+
r: 2
|
|
500
|
+
}],
|
|
501
|
+
["path", { d: "M12 11.5v1M12 17.5v1M8.5 15h1M14.5 15h1" }]
|
|
502
|
+
],
|
|
503
|
+
"file-lock": [
|
|
504
|
+
["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }],
|
|
505
|
+
["rect", {
|
|
506
|
+
x: 9,
|
|
507
|
+
y: 14,
|
|
508
|
+
width: 6,
|
|
509
|
+
height: 4,
|
|
510
|
+
rx: 1
|
|
511
|
+
}],
|
|
512
|
+
["path", { d: "M10 14v-1.5a2 2 0 0 1 4 0V14" }]
|
|
513
|
+
],
|
|
514
|
+
"file-key": [
|
|
515
|
+
["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }],
|
|
516
|
+
["circle", {
|
|
517
|
+
cx: 10,
|
|
518
|
+
cy: 15,
|
|
519
|
+
r: 1.75
|
|
520
|
+
}],
|
|
521
|
+
["path", { d: "M11.75 15H16M14.5 15v1.5" }]
|
|
522
|
+
],
|
|
523
|
+
"file-terminal": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "m8.5 12.5 2.5 2-2.5 2M12.5 17h3" }]],
|
|
524
|
+
"file-git": [
|
|
525
|
+
["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }],
|
|
526
|
+
["circle", {
|
|
527
|
+
cx: 9.5,
|
|
528
|
+
cy: 17,
|
|
529
|
+
r: 1.25
|
|
530
|
+
}],
|
|
531
|
+
["circle", {
|
|
532
|
+
cx: 14.5,
|
|
533
|
+
cy: 12.5,
|
|
534
|
+
r: 1.25
|
|
535
|
+
}],
|
|
536
|
+
["path", { d: "M9.5 11v4.75M14.5 13.75c0 1.75-2.5 1.75-5 2.5" }]
|
|
537
|
+
],
|
|
538
|
+
"file-package": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M12 11l3 1.75v3.5L12 18l-3-1.75v-3.5zM9 12.75l3 1.75 3-1.75M12 14.5V18" }]],
|
|
539
|
+
"file-zip": [
|
|
540
|
+
["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }],
|
|
541
|
+
["path", { d: "M10 6.5V8M10 10v1.5" }],
|
|
542
|
+
["rect", {
|
|
543
|
+
x: 8.5,
|
|
544
|
+
y: 13,
|
|
545
|
+
width: 3,
|
|
546
|
+
height: 4,
|
|
547
|
+
rx: 1
|
|
548
|
+
}]
|
|
549
|
+
],
|
|
550
|
+
"file-check": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "m9 15 2 2 4-4" }]],
|
|
551
|
+
"file-diff": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M12 10.5v5M9.5 13h5M9.5 18h5" }]],
|
|
552
|
+
"file-plus": [["path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5" }], ["path", { d: "M12 11v6M9 14h6" }]],
|
|
553
|
+
"arrow-up-right": [["path", { d: "M7 17 17 7M8 7h9v9" }]],
|
|
554
|
+
square: [["rect", {
|
|
555
|
+
x: 4,
|
|
556
|
+
y: 4,
|
|
557
|
+
width: 16,
|
|
558
|
+
height: 16,
|
|
559
|
+
rx: 2
|
|
560
|
+
}]],
|
|
561
|
+
type: [["path", { d: "M5 7V5h14v2M12 5v14M9 19h6" }]],
|
|
562
|
+
board: [["rect", {
|
|
563
|
+
x: 3,
|
|
564
|
+
y: 4,
|
|
565
|
+
width: 18,
|
|
566
|
+
height: 16,
|
|
567
|
+
rx: 2
|
|
568
|
+
}], ["path", { d: "M9 4v16M15 4v16M6 8h0M12 8h0M18 8h0" }]],
|
|
569
|
+
automation: [["path", { d: "M20 12a8 8 0 1 1-2.3-5.6L20 8M20 3v5h-5" }], ["path", { d: "M10 9.5v5l4-2.5z" }]],
|
|
570
|
+
droplet: [["path", { d: "M12 3.5C9 7 6 10.2 6 14a6 6 0 0 0 12 0c0-3.8-3-7-6-10.5z" }]],
|
|
571
|
+
save: [["path", { d: "M5 4h11l4 4v11a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z" }], ["path", { d: "M8 4v4h7V4M8 20v-6h8v6" }]],
|
|
572
|
+
"thumbs-up": [["path", { d: "M7 11v9" }], ["path", { d: "M7 11l4-7a2 2 0 0 1 3 2.2L13 10h5.6a2 2 0 0 1 2 2.4l-1.4 6A2 2 0 0 1 17.2 20H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z" }]],
|
|
573
|
+
"thumbs-down": [["path", { d: "M7 13V4" }], ["path", { d: "M7 13l4 7a2 2 0 0 0 3-2.2L13 14h5.6a2 2 0 0 0 2-2.4l-1.4-6A2 2 0 0 0 17.2 4H4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1z" }]],
|
|
574
|
+
volume: [["path", { d: "M4 9h4l5-4v14l-5-4H4z" }], ["path", { d: "M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12" }]],
|
|
575
|
+
mic: [["rect", {
|
|
576
|
+
x: 9,
|
|
577
|
+
y: 3,
|
|
578
|
+
width: 6,
|
|
579
|
+
height: 11,
|
|
580
|
+
rx: 3
|
|
581
|
+
}], ["path", { d: "M5 11a7 7 0 0 0 14 0M12 18v3M9 21h6" }]],
|
|
582
|
+
paperclip: [["path", { d: "M21 11.5 12.4 20a5.5 5.5 0 0 1-7.8-7.8l8.5-8.5a3.7 3.7 0 0 1 5.2 5.2l-8.5 8.5a1.8 1.8 0 0 1-2.6-2.6L15 7" }]],
|
|
583
|
+
palette: [
|
|
584
|
+
["path", { d: "M12 3a9 9 0 0 0 0 18c1 0 1.8-.8 1.8-1.8 0-.5-.2-.9-.5-1.2-.3-.3-.5-.7-.5-1.2 0-1 .8-1.8 1.8-1.8H17a4 4 0 0 0 4-4c0-4.4-4-8-9-8z" }],
|
|
585
|
+
["circle", {
|
|
586
|
+
cx: 7.5,
|
|
587
|
+
cy: 10.5,
|
|
588
|
+
r: 1
|
|
589
|
+
}],
|
|
590
|
+
["circle", {
|
|
591
|
+
cx: 10.5,
|
|
592
|
+
cy: 7,
|
|
593
|
+
r: 1
|
|
594
|
+
}],
|
|
595
|
+
["circle", {
|
|
596
|
+
cx: 15,
|
|
597
|
+
cy: 7,
|
|
598
|
+
r: 1
|
|
599
|
+
}],
|
|
600
|
+
["circle", {
|
|
601
|
+
cx: 17.5,
|
|
602
|
+
cy: 10.5,
|
|
603
|
+
r: 1
|
|
604
|
+
}]
|
|
605
|
+
],
|
|
606
|
+
hand: [["path", { d: "M8 14V5.5a1.5 1.5 0 0 1 3 0V11M11 11V4.5a1.5 1.5 0 0 1 3 0V11M14 11V6a1.5 1.5 0 0 1 3 0v6M17 12V9a1.5 1.5 0 0 1 3 0v5a7 7 0 0 1-7 7h-1.5a6 6 0 0 1-4.6-2.2L4 14.5a1.6 1.6 0 0 1 2.4-2.1L8 14" }]],
|
|
607
|
+
cursor: [["path", { d: "M4 4l6.5 16 2.3-6.7L19.5 11z" }], ["path", { d: "m13 13 6 6" }]],
|
|
608
|
+
wrench: [["path", { d: "M15 4.1a5 5 0 0 0-5.6 6.8l-5.9 5.9a1.8 1.8 0 0 0 2.5 2.5l5.9-5.9a5 5 0 0 0 7.9-4.4L16.6 9.6l-2.2-2.2z" }]],
|
|
609
|
+
building: [["path", { d: "M5 21V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v16M15 9h3a1 1 0 0 1 1 1v11M3 21h18M9 8h2M9 12h2M9 16h2" }]],
|
|
610
|
+
pip: [["rect", {
|
|
611
|
+
x: 3,
|
|
612
|
+
y: 5,
|
|
613
|
+
width: 18,
|
|
614
|
+
height: 14,
|
|
615
|
+
rx: 2
|
|
616
|
+
}], ["rect", {
|
|
617
|
+
x: 12,
|
|
618
|
+
y: 11,
|
|
619
|
+
width: 6,
|
|
620
|
+
height: 5,
|
|
621
|
+
rx: 1
|
|
622
|
+
}]]
|
|
623
|
+
}, s = Object.keys(o);
|
|
624
|
+
// src/components/Icon/Icon.tsx
|
|
625
|
+
function c({ name: e, size: n = 16, label: r, className: i, style: s, ...c }) {
|
|
626
|
+
let l = o[e] ?? o.docs;
|
|
627
|
+
return /* @__PURE__ */ t("svg", {
|
|
628
|
+
className: a("x-icon", i),
|
|
629
|
+
width: n,
|
|
630
|
+
height: n,
|
|
631
|
+
viewBox: "0 0 24 24",
|
|
632
|
+
fill: "none",
|
|
633
|
+
stroke: "currentColor",
|
|
634
|
+
strokeWidth: 1.75,
|
|
635
|
+
strokeLinecap: "round",
|
|
636
|
+
strokeLinejoin: "round",
|
|
637
|
+
"aria-hidden": !r || void 0,
|
|
638
|
+
role: r ? "img" : void 0,
|
|
639
|
+
"aria-label": r,
|
|
640
|
+
style: s,
|
|
641
|
+
...c,
|
|
642
|
+
children: l.map(([e, n], r) => /* @__PURE__ */ t(e, { ...n }, r))
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
// src/components/Spinner/Spinner.tsx
|
|
646
|
+
var l = { loading: "Loading…" };
|
|
647
|
+
function u({ size: e = "sm", label: r, labels: i, className: o }) {
|
|
648
|
+
let s = {
|
|
649
|
+
...l,
|
|
650
|
+
...i
|
|
651
|
+
};
|
|
652
|
+
return /* @__PURE__ */ n("span", {
|
|
653
|
+
className: a("x-spinner", o),
|
|
654
|
+
role: "status",
|
|
655
|
+
"data-size": e,
|
|
656
|
+
children: [/* @__PURE__ */ t("span", {
|
|
657
|
+
className: "x-spinner-ring",
|
|
658
|
+
"aria-hidden": "true"
|
|
659
|
+
}), /* @__PURE__ */ t("span", {
|
|
660
|
+
className: "x-sr-only",
|
|
661
|
+
children: r ?? s.loading
|
|
662
|
+
})]
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
// src/components/Button/Button.tsx
|
|
666
|
+
var d = {
|
|
667
|
+
primary: "btn",
|
|
668
|
+
secondary: "btn-secondary",
|
|
669
|
+
danger: "btn-danger",
|
|
670
|
+
ghost: "btn-ghost",
|
|
671
|
+
link: "btn-link"
|
|
672
|
+
};
|
|
673
|
+
function f(r) {
|
|
674
|
+
let { variant: i = "secondary", size: o = "md", icon: s, iconEnd: l, busy: f = !1, children: p, className: m } = r, h = a(d[i] ?? "btn-secondary", m), g = o === "sm" ? "sm" : void 0, _ = /* @__PURE__ */ n(e, { children: [
|
|
675
|
+
f ? /* @__PURE__ */ t("span", {
|
|
676
|
+
className: "x-btn-busy",
|
|
677
|
+
"aria-hidden": "true",
|
|
678
|
+
children: /* @__PURE__ */ t(u, {
|
|
679
|
+
size: "sm",
|
|
680
|
+
label: ""
|
|
681
|
+
})
|
|
682
|
+
}) : s ? /* @__PURE__ */ t(c, { name: s }) : null,
|
|
683
|
+
p,
|
|
684
|
+
l ? /* @__PURE__ */ t(c, {
|
|
685
|
+
name: l,
|
|
686
|
+
className: "x-btn-icon-end"
|
|
687
|
+
}) : null
|
|
688
|
+
] });
|
|
689
|
+
if (typeof r.href == "string") {
|
|
690
|
+
let { variant: n, size: i, icon: a, iconEnd: o, busy: s, children: c, className: l, href: u, disabled: d, renderLink: p, onClick: m, ...v } = r, y = d || f;
|
|
691
|
+
return !y && p ? /* @__PURE__ */ t(e, { children: p({
|
|
692
|
+
...v,
|
|
693
|
+
href: u,
|
|
694
|
+
className: h,
|
|
695
|
+
"data-size": g,
|
|
696
|
+
onClick: m,
|
|
697
|
+
children: _
|
|
698
|
+
}) }) : /* @__PURE__ */ t("a", {
|
|
699
|
+
...v,
|
|
700
|
+
className: h,
|
|
701
|
+
"data-size": g,
|
|
702
|
+
href: y ? void 0 : u,
|
|
703
|
+
"aria-disabled": y ? !0 : void 0,
|
|
704
|
+
"aria-busy": f ? !0 : void 0,
|
|
705
|
+
onClick: y ? void 0 : m,
|
|
706
|
+
children: _
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
let { variant: v, size: y, icon: b, iconEnd: x, busy: S, children: C, className: w, href: T, renderLink: E, type: D = "button", disabled: O, onClick: k, ...A } = r;
|
|
710
|
+
return /* @__PURE__ */ t("button", {
|
|
711
|
+
type: D,
|
|
712
|
+
className: h,
|
|
713
|
+
"data-size": g,
|
|
714
|
+
...A,
|
|
715
|
+
disabled: O || f,
|
|
716
|
+
"aria-busy": f ? !0 : void 0,
|
|
717
|
+
onClick: f ? void 0 : k,
|
|
718
|
+
children: _
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
// src/components/IconButton/IconButton.tsx
|
|
722
|
+
function p({ icon: e, label: n, size: r = "md", tone: i = "default", busy: o = !1, className: s, type: l = "button", disabled: d, onClick: f, ...p }) {
|
|
723
|
+
return /* @__PURE__ */ t("button", {
|
|
724
|
+
type: l,
|
|
725
|
+
className: a("ws-icon-btn", s),
|
|
726
|
+
"aria-label": n,
|
|
727
|
+
title: n,
|
|
728
|
+
"data-size": r === "md" ? void 0 : r,
|
|
729
|
+
"data-tone": i === "danger" ? "danger" : void 0,
|
|
730
|
+
...p,
|
|
731
|
+
disabled: d || o,
|
|
732
|
+
"aria-busy": o ? !0 : void 0,
|
|
733
|
+
onClick: o ? void 0 : f,
|
|
734
|
+
children: o ? /* @__PURE__ */ t("span", {
|
|
735
|
+
className: "x-btn-busy",
|
|
736
|
+
"aria-hidden": "true",
|
|
737
|
+
children: /* @__PURE__ */ t(u, {
|
|
738
|
+
size: r === "sm" ? "sm" : "md",
|
|
739
|
+
label: ""
|
|
740
|
+
})
|
|
741
|
+
}) : /* @__PURE__ */ t(c, { name: e })
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
// src/components/FileDrop/FileDrop.tsx
|
|
745
|
+
function m(e, t) {
|
|
746
|
+
let n = (t ?? "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
|
|
747
|
+
if (n.length === 0) return !0;
|
|
748
|
+
let r = e.name.toLowerCase(), i = e.type.toLowerCase();
|
|
749
|
+
return n.some((e) => e.startsWith(".") ? r.endsWith(e) : e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e);
|
|
750
|
+
}
|
|
751
|
+
function h(e, t) {
|
|
752
|
+
let n = t.multiple ? t.maxFiles ?? Infinity : 1, r = [], i = [];
|
|
753
|
+
for (let a of e) m(a, t.accept) ? t.maxSize != null && a.size > t.maxSize ? i.push({
|
|
754
|
+
file: a,
|
|
755
|
+
reason: "size"
|
|
756
|
+
}) : r.length >= n ? i.push({
|
|
757
|
+
file: a,
|
|
758
|
+
reason: "count"
|
|
759
|
+
}) : r.push(a) : i.push({
|
|
760
|
+
file: a,
|
|
761
|
+
reason: "type"
|
|
762
|
+
});
|
|
763
|
+
return {
|
|
764
|
+
accepted: r,
|
|
765
|
+
rejected: i
|
|
766
|
+
};
|
|
767
|
+
}
|
|
768
|
+
function g(e) {
|
|
769
|
+
if (e < 1024) return `${e} B`;
|
|
770
|
+
let t = [
|
|
771
|
+
"KB",
|
|
772
|
+
"MB",
|
|
773
|
+
"GB"
|
|
774
|
+
], n = e / 1024, r = 0;
|
|
775
|
+
for (; n >= 1024 && r < t.length - 1;) n /= 1024, r++;
|
|
776
|
+
return `${n < 10 ? n.toFixed(1) : Math.round(n)} ${t[r]}`;
|
|
777
|
+
}
|
|
778
|
+
var _ = {
|
|
779
|
+
drop: "Drop files here or",
|
|
780
|
+
browse: "browse",
|
|
781
|
+
limits: (e, t) => [e ? `Accepted: ${e}` : "", t ? `Up to ${t} each` : ""].filter(Boolean).join(". "),
|
|
782
|
+
rejected: (e, t) => t === "type" ? `${e}: this file type is not accepted` : t === "size" ? `${e}: the file is too large` : `${e}: too many files`,
|
|
783
|
+
remove: (e) => `Remove ${e}`,
|
|
784
|
+
uploading: (e) => `Uploading, ${e}%`
|
|
785
|
+
};
|
|
786
|
+
function v({ label: e, accept: o, maxSize: s, multiple: l, maxFiles: u, disabled: d, onFiles: f, onReject: m, items: v, onRemove: y, labels: b, className: x, inputProps: S }) {
|
|
787
|
+
let C = {
|
|
788
|
+
..._,
|
|
789
|
+
...b
|
|
790
|
+
}, w = `x-filedrop-${r()}`, T = S?.id ?? w, [E, D] = i(!1), [O, k] = i([]), A = (e) => {
|
|
791
|
+
if (!e || d) return;
|
|
792
|
+
let { accepted: t, rejected: n } = h(Array.from(e), {
|
|
793
|
+
accept: o,
|
|
794
|
+
maxSize: s,
|
|
795
|
+
multiple: l,
|
|
796
|
+
maxFiles: u
|
|
797
|
+
});
|
|
798
|
+
k(n), n.length && m?.(n), t.length && f(t);
|
|
799
|
+
}, j = (e) => {
|
|
800
|
+
e.preventDefault(), D(!1), A(e.dataTransfer.files);
|
|
801
|
+
}, M = (e) => {
|
|
802
|
+
e.preventDefault(), d || D(!0);
|
|
803
|
+
}, N = C.limits(o, s == null ? void 0 : g(s));
|
|
804
|
+
return /* @__PURE__ */ n("div", {
|
|
805
|
+
className: a("x-filedrop", x),
|
|
806
|
+
children: [
|
|
807
|
+
/* @__PURE__ */ n("label", {
|
|
808
|
+
className: "x-filedrop-zone",
|
|
809
|
+
htmlFor: T,
|
|
810
|
+
"data-over": E ? "true" : void 0,
|
|
811
|
+
"data-disabled": d ? "true" : void 0,
|
|
812
|
+
onDragOver: M,
|
|
813
|
+
onDragLeave: () => D(!1),
|
|
814
|
+
onDrop: j,
|
|
815
|
+
children: [
|
|
816
|
+
/* @__PURE__ */ t(c, {
|
|
817
|
+
name: "upload",
|
|
818
|
+
size: 20
|
|
819
|
+
}),
|
|
820
|
+
/* @__PURE__ */ n("span", { children: [
|
|
821
|
+
C.drop,
|
|
822
|
+
" ",
|
|
823
|
+
/* @__PURE__ */ t("span", {
|
|
824
|
+
className: "x-filedrop-browse",
|
|
825
|
+
children: C.browse
|
|
826
|
+
})
|
|
827
|
+
] }),
|
|
828
|
+
N ? /* @__PURE__ */ t("small", { children: N }) : null,
|
|
829
|
+
/* @__PURE__ */ t("input", {
|
|
830
|
+
...S,
|
|
831
|
+
id: T,
|
|
832
|
+
className: "x-sr-only",
|
|
833
|
+
type: "file",
|
|
834
|
+
"aria-label": e,
|
|
835
|
+
accept: o,
|
|
836
|
+
multiple: l,
|
|
837
|
+
disabled: d,
|
|
838
|
+
onChange: (e) => {
|
|
839
|
+
A(e.currentTarget.files), e.currentTarget.value = "";
|
|
840
|
+
}
|
|
841
|
+
})
|
|
842
|
+
]
|
|
843
|
+
}),
|
|
844
|
+
O.length ? /* @__PURE__ */ t("ul", {
|
|
845
|
+
className: "x-filedrop-errors",
|
|
846
|
+
role: "alert",
|
|
847
|
+
children: O.map((e) => /* @__PURE__ */ t("li", { children: C.rejected(e.file.name, e.reason) }, e.file.name))
|
|
848
|
+
}) : null,
|
|
849
|
+
v?.length ? /* @__PURE__ */ t("ul", {
|
|
850
|
+
className: "x-filedrop-list",
|
|
851
|
+
children: v.map((e) => /* @__PURE__ */ n("li", {
|
|
852
|
+
className: "x-filedrop-item",
|
|
853
|
+
"data-error": e.error ? "true" : void 0,
|
|
854
|
+
children: [
|
|
855
|
+
/* @__PURE__ */ t(c, { name: "file" }),
|
|
856
|
+
/* @__PURE__ */ t("span", {
|
|
857
|
+
className: "x-filedrop-name",
|
|
858
|
+
children: e.name
|
|
859
|
+
}),
|
|
860
|
+
e.size == null ? null : /* @__PURE__ */ t("span", {
|
|
861
|
+
className: "x-filedrop-size",
|
|
862
|
+
children: g(e.size)
|
|
863
|
+
}),
|
|
864
|
+
e.status == null ? null : /* @__PURE__ */ t("span", {
|
|
865
|
+
className: "x-filedrop-status",
|
|
866
|
+
children: e.status
|
|
867
|
+
}),
|
|
868
|
+
e.progress != null && e.progress < 100 ? /* @__PURE__ */ t("progress", {
|
|
869
|
+
className: "x-filedrop-progress",
|
|
870
|
+
max: 100,
|
|
871
|
+
value: e.progress,
|
|
872
|
+
"aria-label": C.uploading(Math.round(e.progress))
|
|
873
|
+
}) : null,
|
|
874
|
+
e.error ? /* @__PURE__ */ t("span", {
|
|
875
|
+
className: "x-filedrop-error",
|
|
876
|
+
children: e.error
|
|
877
|
+
}) : null,
|
|
878
|
+
y ? /* @__PURE__ */ t(p, {
|
|
879
|
+
icon: "close",
|
|
880
|
+
label: C.remove(e.name),
|
|
881
|
+
onClick: () => y(e.id)
|
|
882
|
+
}) : null
|
|
883
|
+
]
|
|
884
|
+
}, e.id))
|
|
885
|
+
}) : null
|
|
886
|
+
]
|
|
887
|
+
});
|
|
888
|
+
}
|
|
889
|
+
export { p as a, c, a as d, m as i, o as l, h as n, f as o, g as r, u as s, v as t, s as u };
|
|
890
|
+
|
|
891
|
+
//# sourceMappingURL=FileDrop-C-ygn8kF.js.map
|