@seanyeh77/ui 0.41.0 → 0.43.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/README.md +32 -0
- package/dist/announce.d.ts +3 -0
- package/dist/announce.js +35 -0
- package/dist/announce.js.map +1 -0
- package/dist/bundle.js +24 -24
- package/dist/bundle.js.map +1 -1
- package/dist/components/AccentPicker/AccentPicker.d.ts +12 -0
- package/dist/components/AccentPicker/AccentPicker.js +99 -0
- package/dist/components/AccentPicker/AccentPicker.js.map +1 -0
- package/dist/components/ActionBar/ActionBar.d.ts +27 -0
- package/dist/components/ActionBar/ActionBar.js +62 -0
- package/dist/components/ActionBar/ActionBar.js.map +1 -0
- package/dist/components/AiMark/AiMark.d.ts +10 -0
- package/dist/components/AiMark/AiMark.js +21 -0
- package/dist/components/AiMark/AiMark.js.map +1 -0
- package/dist/components/Alert/Alert.d.ts +17 -0
- package/dist/components/Alert/Alert.js +59 -0
- package/dist/components/Alert/Alert.js.map +1 -0
- package/dist/components/AppShell/AppShell.d.ts +36 -0
- package/dist/components/AppShell/AppShell.js +198 -0
- package/dist/components/AppShell/AppShell.js.map +1 -0
- package/dist/components/Badge/Badge.d.ts +12 -0
- package/dist/components/Badge/Badge.js +58 -0
- package/dist/components/Badge/Badge.js.map +1 -0
- package/dist/components/BarChart/BarChart.d.ts +19 -0
- package/dist/components/BarChart/BarChart.js +78 -0
- package/dist/components/BarChart/BarChart.js.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +11 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +29 -0
- package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/components/Button/Button.d.ts +39 -0
- package/dist/components/Button/Button.js +55 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Calendar/Calendar.d.ts +18 -0
- package/dist/components/Calendar/Calendar.js +129 -0
- package/dist/components/Calendar/Calendar.js.map +1 -0
- package/dist/components/Card/Card.d.ts +14 -0
- package/dist/components/Card/Card.js +33 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +14 -0
- package/dist/components/Checkbox/Checkbox.js +27 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/CodeView/CodeView.d.ts +111 -0
- package/dist/components/CodeView/CodeView.js +794 -0
- package/dist/components/CodeView/CodeView.js.map +1 -0
- package/dist/components/CodeView/tokens.d.ts +5 -0
- package/dist/components/CodeView/tokens.js +70 -0
- package/dist/components/CodeView/tokens.js.map +1 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts +52 -0
- package/dist/components/CommandPalette/CommandPalette.js +250 -0
- package/dist/components/CommandPalette/CommandPalette.js.map +1 -0
- package/dist/components/ConsoleLayout/ConsoleLayout.d.ts +44 -0
- package/dist/components/ConsoleLayout/ConsoleLayout.js +123 -0
- package/dist/components/ConsoleLayout/ConsoleLayout.js.map +1 -0
- package/dist/components/DangerZone/DangerZone.d.ts +16 -0
- package/dist/components/DangerZone/DangerZone.js +28 -0
- package/dist/components/DangerZone/DangerZone.js.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts +99 -0
- package/dist/components/DataTable/DataTable.js +1272 -0
- package/dist/components/DataTable/DataTable.js.map +1 -0
- package/dist/components/DataTable/SortButton.js +228 -0
- package/dist/components/DataTable/SortButton.js.map +1 -0
- package/dist/components/DataTable/filters.js +147 -0
- package/dist/components/DataTable/filters.js.map +1 -0
- package/dist/components/DataTable/parts.js +383 -0
- package/dist/components/DataTable/parts.js.map +1 -0
- package/dist/components/DataTable/types.d.ts +85 -0
- package/dist/components/DatePicker/DatePicker.d.ts +15 -0
- package/dist/components/DatePicker/DatePicker.js +107 -0
- package/dist/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +11 -0
- package/dist/components/DateRangePicker/DateRangePicker.js +91 -0
- package/dist/components/DateRangePicker/DateRangePicker.js.map +1 -0
- package/dist/components/DetailList/DetailList.d.ts +17 -0
- package/dist/components/DetailList/DetailList.js +18 -0
- package/dist/components/DetailList/DetailList.js.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +30 -0
- package/dist/components/Dialog/Dialog.js +90 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/Drawer/Drawer.d.ts +20 -0
- package/dist/components/Drawer/Drawer.js +67 -0
- package/dist/components/Drawer/Drawer.js.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +15 -0
- package/dist/components/EmptyState/EmptyState.js +34 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -0
- package/dist/components/ErrorPage/ErrorPage.d.ts +14 -0
- package/dist/components/ErrorPage/ErrorPage.js +47 -0
- package/dist/components/ErrorPage/ErrorPage.js.map +1 -0
- package/dist/components/EventTimeline/EventTimeline.d.ts +19 -0
- package/dist/components/EventTimeline/EventTimeline.js +69 -0
- package/dist/components/EventTimeline/EventTimeline.js.map +1 -0
- package/dist/components/FileUpload/FileUpload.d.ts +27 -0
- package/dist/components/FileUpload/FileUpload.js +126 -0
- package/dist/components/FileUpload/FileUpload.js.map +1 -0
- package/dist/components/FormGrid/FormGrid.d.ts +7 -0
- package/dist/components/FormGrid/FormGrid.js +14 -0
- package/dist/components/FormGrid/FormGrid.js.map +1 -0
- package/dist/components/Graph/Graph.d.ts +18 -0
- package/dist/components/Graph/Graph.js +97 -0
- package/dist/components/Graph/Graph.js.map +1 -0
- package/dist/components/Grid/Grid.d.ts +16 -0
- package/dist/components/Grid/Grid.js +21 -0
- package/dist/components/Grid/Grid.js.map +1 -0
- package/dist/components/IconButton/IconButton.d.ts +32 -0
- package/dist/components/IconButton/IconButton.js +107 -0
- package/dist/components/IconButton/IconButton.js.map +1 -0
- package/dist/components/InlineCode/InlineCode.d.ts +46 -0
- package/dist/components/InlineCode/InlineCode.js +71 -0
- package/dist/components/InlineCode/InlineCode.js.map +1 -0
- package/dist/components/KpiCard/KpiCard.d.ts +38 -0
- package/dist/components/KpiCard/KpiCard.js +116 -0
- package/dist/components/KpiCard/KpiCard.js.map +1 -0
- package/dist/components/LayerGraph/LayerGraph.d.ts +117 -0
- package/dist/components/LayerGraph/LayerGraph.js +1648 -0
- package/dist/components/LayerGraph/LayerGraph.js.map +1 -0
- package/dist/components/LineChart/LineChart.d.ts +73 -0
- package/dist/components/LineChart/LineChart.js +337 -0
- package/dist/components/LineChart/LineChart.js.map +1 -0
- package/dist/components/LoadingBar/LoadingBar.d.ts +7 -0
- package/dist/components/LoadingBar/LoadingBar.js +18 -0
- package/dist/components/LoadingBar/LoadingBar.js.map +1 -0
- package/dist/components/LoginCard/LoginCard.d.ts +23 -0
- package/dist/components/LoginCard/LoginCard.js +117 -0
- package/dist/components/LoginCard/LoginCard.js.map +1 -0
- package/dist/components/Markdown/Markdown.d.ts +38 -0
- package/dist/components/Markdown/Markdown.js +719 -0
- package/dist/components/Markdown/Markdown.js.map +1 -0
- package/dist/components/Menu/Menu.d.ts +33 -0
- package/dist/components/Menu/Menu.js +78 -0
- package/dist/components/Menu/Menu.js.map +1 -0
- package/dist/components/Meter/Meter.d.ts +20 -0
- package/dist/components/Meter/Meter.js +120 -0
- package/dist/components/Meter/Meter.js.map +1 -0
- package/dist/components/MobileTabBar/MobileTabBar.d.ts +21 -0
- package/dist/components/MobileTabBar/MobileTabBar.js +47 -0
- package/dist/components/MobileTabBar/MobileTabBar.js.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +25 -0
- package/dist/components/MultiSelect/MultiSelect.js +119 -0
- package/dist/components/MultiSelect/MultiSelect.js.map +1 -0
- package/dist/components/NotificationBell/NotificationBell.d.ts +20 -0
- package/dist/components/NotificationBell/NotificationBell.js +95 -0
- package/dist/components/NotificationBell/NotificationBell.js.map +1 -0
- package/dist/components/Popover/Popover.d.ts +20 -0
- package/dist/components/Popover/Popover.js +48 -0
- package/dist/components/Popover/Popover.js.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +10 -0
- package/dist/components/ProgressBar/ProgressBar.js +38 -0
- package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/components/ProgressRing/ProgressRing.d.ts +11 -0
- package/dist/components/ProgressRing/ProgressRing.js +53 -0
- package/dist/components/ProgressRing/ProgressRing.js.map +1 -0
- package/dist/components/ProjectSwitcher/ProjectSwitcher.d.ts +25 -0
- package/dist/components/ProjectSwitcher/ProjectSwitcher.js +100 -0
- package/dist/components/ProjectSwitcher/ProjectSwitcher.js.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +18 -0
- package/dist/components/RadioGroup/RadioGroup.js +63 -0
- package/dist/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/SearchField/SearchField.d.ts +9 -0
- package/dist/components/SearchField/SearchField.js +50 -0
- package/dist/components/SearchField/SearchField.js.map +1 -0
- package/dist/components/Section/Section.d.ts +50 -0
- package/dist/components/Section/Section.js +225 -0
- package/dist/components/Section/Section.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +23 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +86 -0
- package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
- package/dist/components/Select/Select.d.ts +31 -0
- package/dist/components/Select/Select.js +143 -0
- package/dist/components/Select/Select.js.map +1 -0
- package/dist/components/SettingsLayout/SettingsLayout.d.ts +27 -0
- package/dist/components/SettingsLayout/SettingsLayout.js +69 -0
- package/dist/components/SettingsLayout/SettingsLayout.js.map +1 -0
- package/dist/components/SideNav/SideNav.d.ts +48 -0
- package/dist/components/SideNav/SideNav.js +225 -0
- package/dist/components/SideNav/SideNav.js.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +8 -0
- package/dist/components/Skeleton/Skeleton.js +17 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/SplitPane/SplitPane.d.ts +23 -0
- package/dist/components/SplitPane/SplitPane.js +140 -0
- package/dist/components/SplitPane/SplitPane.js.map +1 -0
- package/dist/components/StatusBand/StatusBand.d.ts +31 -0
- package/dist/components/StatusBand/StatusBand.js +43 -0
- package/dist/components/StatusBand/StatusBand.js.map +1 -0
- package/dist/components/Suggestion/Suggestion.d.ts +22 -0
- package/dist/components/Suggestion/Suggestion.js +75 -0
- package/dist/components/Suggestion/Suggestion.js.map +1 -0
- package/dist/components/Switch/Switch.d.ts +11 -0
- package/dist/components/Switch/Switch.js +56 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +23 -0
- package/dist/components/Tabs/Tabs.js +117 -0
- package/dist/components/Tabs/Tabs.js.map +1 -0
- package/dist/components/Tag/Tag.d.ts +13 -0
- package/dist/components/Tag/Tag.js +26 -0
- package/dist/components/Tag/Tag.js.map +1 -0
- package/dist/components/Term/Term.d.ts +34 -0
- package/dist/components/Term/Term.js +143 -0
- package/dist/components/Term/Term.js.map +1 -0
- package/dist/components/TextArea/TextArea.d.ts +15 -0
- package/dist/components/TextArea/TextArea.js +75 -0
- package/dist/components/TextArea/TextArea.js.map +1 -0
- package/dist/components/TextField/TextField.d.ts +15 -0
- package/dist/components/TextField/TextField.js +43 -0
- package/dist/components/TextField/TextField.js.map +1 -0
- package/dist/components/ThemePicker/ThemePicker.d.ts +13 -0
- package/dist/components/ThemePicker/ThemePicker.js +66 -0
- package/dist/components/ThemePicker/ThemePicker.js.map +1 -0
- package/dist/components/TimeControl/TimeControl.d.ts +19 -0
- package/dist/components/TimeControl/TimeControl.js +47 -0
- package/dist/components/TimeControl/TimeControl.js.map +1 -0
- package/dist/components/Toast/Toast.d.ts +10 -0
- package/dist/components/Toast/Toast.js +30 -0
- package/dist/components/Toast/Toast.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +17 -0
- package/dist/components/Tooltip/Tooltip.js +69 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/TopBar/TopBar.d.ts +18 -0
- package/dist/components/TopBar/TopBar.js +59 -0
- package/dist/components/TopBar/TopBar.js.map +1 -0
- package/dist/components/Tour/Tour.d.ts +44 -0
- package/dist/components/Tour/Tour.js +440 -0
- package/dist/components/Tour/Tour.js.map +1 -0
- package/dist/components/TreeList/TreeList.d.ts +90 -0
- package/dist/components/TreeList/TreeList.js +594 -0
- package/dist/components/TreeList/TreeList.js.map +1 -0
- package/dist/components/TreeList/helpers.d.ts +2 -0
- package/dist/components/TreeList/helpers.js +104 -0
- package/dist/components/TreeList/helpers.js.map +1 -0
- package/dist/components/Workbench/Workbench.d.ts +100 -0
- package/dist/components/Workbench/Workbench.js +1142 -0
- package/dist/components/Workbench/Workbench.js.map +1 -0
- package/dist/components/ZoneMap/ZoneMap.d.ts +49 -0
- package/dist/components/ZoneMap/ZoneMap.js +89 -0
- package/dist/components/ZoneMap/ZoneMap.js.map +1 -0
- package/dist/css/AccentPicker.css +49 -0
- package/dist/css/ActionBar.css +36 -0
- package/dist/css/AiMark.css +14 -0
- package/dist/css/Alert.css +80 -0
- package/dist/css/AppShell.css +81 -0
- package/dist/css/Badge.css +68 -0
- package/dist/css/BarChart.css +66 -0
- package/dist/css/Breadcrumb.css +33 -0
- package/dist/css/Button.css +190 -0
- package/dist/css/Calendar.css +96 -0
- package/dist/css/Card.css +70 -0
- package/dist/css/Checkbox.css +38 -0
- package/dist/css/CodeView.css +302 -0
- package/dist/css/CommandPalette.css +232 -0
- package/dist/css/ConsoleLayout.css +131 -0
- package/dist/css/DangerZone.css +32 -0
- package/dist/css/DataTable.css +1195 -0
- package/dist/css/DatePicker.css +38 -0
- package/dist/css/DateRangePicker.css +70 -0
- package/dist/css/DetailList.css +69 -0
- package/dist/css/Dialog.css +3 -0
- package/dist/css/Drawer.css +90 -0
- package/dist/css/EmptyState.css +61 -0
- package/dist/css/ErrorPage.css +40 -0
- package/dist/css/EventTimeline.css +43 -0
- package/dist/css/FileUpload.css +92 -0
- package/dist/css/FormGrid.css +17 -0
- package/dist/css/Graph.css +99 -0
- package/dist/css/Grid.css +48 -0
- package/dist/css/IconButton.css +149 -0
- package/dist/css/InlineCode.css +92 -0
- package/dist/css/KpiCard.css +121 -0
- package/dist/css/LayerGraph.css +575 -0
- package/dist/css/LineChart.css +3 -0
- package/dist/css/LoadingBar.css +45 -0
- package/dist/css/LoginCard.css +65 -0
- package/dist/css/Markdown.css +266 -0
- package/dist/css/Menu.css +88 -0
- package/dist/css/Meter.css +110 -0
- package/dist/css/MobileTabBar.css +63 -0
- package/dist/css/MultiSelect.css +78 -0
- package/dist/css/NotificationBell.css +129 -0
- package/dist/css/Popover.css +57 -0
- package/dist/css/ProgressBar.css +42 -0
- package/dist/css/ProgressRing.css +19 -0
- package/dist/css/ProjectSwitcher.css +153 -0
- package/dist/css/RadioGroup.css +52 -0
- package/dist/css/SearchField.css +79 -0
- package/dist/css/Section.css +115 -0
- package/dist/css/SegmentedControl.css +67 -0
- package/dist/css/Select.css +136 -0
- package/dist/css/SettingsLayout.css +110 -0
- package/dist/css/SideNav.css +281 -0
- package/dist/css/Skeleton.css +19 -0
- package/dist/css/SplitPane.css +108 -0
- package/dist/css/StatusBand.css +23 -0
- package/dist/css/Suggestion.css +82 -0
- package/dist/css/Switch.css +46 -0
- package/dist/css/Tabs.css +91 -0
- package/dist/css/Tag.css +36 -0
- package/dist/css/Term.css +160 -0
- package/dist/css/TextArea.css +22 -0
- package/dist/css/TextField.css +2 -0
- package/dist/css/ThemePicker.css +70 -0
- package/dist/css/TimeControl.css +33 -0
- package/dist/css/Toast.css +47 -0
- package/dist/css/Tooltip.css +58 -0
- package/dist/css/TopBar.css +86 -0
- package/dist/css/Tour.css +90 -0
- package/dist/css/TreeList.css +532 -0
- package/dist/css/Workbench.css +652 -0
- package/dist/css/ZoneMap.css +203 -0
- package/dist/css/base.css +556 -0
- package/dist/css/end.css +273 -0
- package/dist/format-entry.d.ts +3 -0
- package/dist/format-entry.js +3 -0
- package/dist/format.d.ts +68 -2
- package/dist/format.js +237 -1
- package/dist/format.js.map +1 -0
- package/dist/i18n.d.ts +11 -0
- package/dist/{format-entry-CyChe8bk.js → i18n.js} +2 -235
- package/dist/i18n.js.map +1 -0
- package/dist/icons/Icon.d.ts +24 -0
- package/dist/icons/Icon.js +66 -0
- package/dist/icons/Icon.js.map +1 -0
- package/dist/icons/Spinner.js +18 -0
- package/dist/icons/Spinner.js.map +1 -0
- package/dist/icons/all.js +212 -0
- package/dist/icons/all.js.map +1 -0
- package/dist/icons/map.d.ts +3 -0
- package/dist/icons/map.js +31 -0
- package/dist/icons/map.js.map +1 -0
- package/dist/icons/names.d.ts +253 -0
- package/dist/icons/names.js +153 -0
- package/dist/icons/names.js.map +1 -0
- package/dist/icons/ph/archive.d.ts +10 -0
- package/dist/icons/ph/archive.js +11 -0
- package/dist/icons/ph/archive.js.map +1 -0
- package/dist/icons/ph/arrow-down.d.ts +10 -0
- package/dist/icons/ph/arrow-down.js +11 -0
- package/dist/icons/ph/arrow-down.js.map +1 -0
- package/dist/icons/ph/arrow-left.d.ts +10 -0
- package/dist/icons/ph/arrow-left.js +11 -0
- package/dist/icons/ph/arrow-left.js.map +1 -0
- package/dist/icons/ph/arrow-right.d.ts +10 -0
- package/dist/icons/ph/arrow-right.js +11 -0
- package/dist/icons/ph/arrow-right.js.map +1 -0
- package/dist/icons/ph/arrow-square-out.d.ts +10 -0
- package/dist/icons/ph/arrow-square-out.js +11 -0
- package/dist/icons/ph/arrow-square-out.js.map +1 -0
- package/dist/icons/ph/arrow-u-up-left.d.ts +10 -0
- package/dist/icons/ph/arrow-u-up-left.js +11 -0
- package/dist/icons/ph/arrow-u-up-left.js.map +1 -0
- package/dist/icons/ph/arrow-u-up-right.d.ts +10 -0
- package/dist/icons/ph/arrow-u-up-right.js +11 -0
- package/dist/icons/ph/arrow-u-up-right.js.map +1 -0
- package/dist/icons/ph/arrow-up.d.ts +10 -0
- package/dist/icons/ph/arrow-up.js +11 -0
- package/dist/icons/ph/arrow-up.js.map +1 -0
- package/dist/icons/ph/arrows-clockwise.d.ts +10 -0
- package/dist/icons/ph/arrows-clockwise.js +11 -0
- package/dist/icons/ph/arrows-clockwise.js.map +1 -0
- package/dist/icons/ph/arrows-in-line-vertical.d.ts +10 -0
- package/dist/icons/ph/arrows-in-line-vertical.js +11 -0
- package/dist/icons/ph/arrows-in-line-vertical.js.map +1 -0
- package/dist/icons/ph/arrows-left-right.d.ts +10 -0
- package/dist/icons/ph/arrows-left-right.js +11 -0
- package/dist/icons/ph/arrows-left-right.js.map +1 -0
- package/dist/icons/ph/arrows-out-line-vertical.d.ts +10 -0
- package/dist/icons/ph/arrows-out-line-vertical.js +11 -0
- package/dist/icons/ph/arrows-out-line-vertical.js.map +1 -0
- package/dist/icons/ph/bell.d.ts +10 -0
- package/dist/icons/ph/bell.js +11 -0
- package/dist/icons/ph/bell.js.map +1 -0
- package/dist/icons/ph/brackets-curly.d.ts +10 -0
- package/dist/icons/ph/brackets-curly.js +11 -0
- package/dist/icons/ph/brackets-curly.js.map +1 -0
- package/dist/icons/ph/calendar-blank.d.ts +10 -0
- package/dist/icons/ph/calendar-blank.js +11 -0
- package/dist/icons/ph/calendar-blank.js.map +1 -0
- package/dist/icons/ph/caret-down.d.ts +10 -0
- package/dist/icons/ph/caret-down.js +11 -0
- package/dist/icons/ph/caret-down.js.map +1 -0
- package/dist/icons/ph/caret-left.d.ts +10 -0
- package/dist/icons/ph/caret-left.js +11 -0
- package/dist/icons/ph/caret-left.js.map +1 -0
- package/dist/icons/ph/caret-right.d.ts +10 -0
- package/dist/icons/ph/caret-right.js +11 -0
- package/dist/icons/ph/caret-right.js.map +1 -0
- package/dist/icons/ph/caret-up.d.ts +10 -0
- package/dist/icons/ph/caret-up.js +11 -0
- package/dist/icons/ph/caret-up.js.map +1 -0
- package/dist/icons/ph/chart-bar.d.ts +10 -0
- package/dist/icons/ph/chart-bar.js +11 -0
- package/dist/icons/ph/chart-bar.js.map +1 -0
- package/dist/icons/ph/chart-line.d.ts +10 -0
- package/dist/icons/ph/chart-line.js +11 -0
- package/dist/icons/ph/chart-line.js.map +1 -0
- package/dist/icons/ph/chart-pie.d.ts +10 -0
- package/dist/icons/ph/chart-pie.js +11 -0
- package/dist/icons/ph/chart-pie.js.map +1 -0
- package/dist/icons/ph/chat-centered.d.ts +10 -0
- package/dist/icons/ph/chat-centered.js +11 -0
- package/dist/icons/ph/chat-centered.js.map +1 -0
- package/dist/icons/ph/check-circle.d.ts +10 -0
- package/dist/icons/ph/check-circle.js +11 -0
- package/dist/icons/ph/check-circle.js.map +1 -0
- package/dist/icons/ph/check-square.d.ts +10 -0
- package/dist/icons/ph/check-square.js +11 -0
- package/dist/icons/ph/check-square.js.map +1 -0
- package/dist/icons/ph/check.d.ts +10 -0
- package/dist/icons/ph/check.js +11 -0
- package/dist/icons/ph/check.js.map +1 -0
- package/dist/icons/ph/circle-notch.d.ts +10 -0
- package/dist/icons/ph/circle-notch.js +11 -0
- package/dist/icons/ph/circle-notch.js.map +1 -0
- package/dist/icons/ph/clock.d.ts +10 -0
- package/dist/icons/ph/clock.js +11 -0
- package/dist/icons/ph/clock.js.map +1 -0
- package/dist/icons/ph/cloud.d.ts +10 -0
- package/dist/icons/ph/cloud.js +11 -0
- package/dist/icons/ph/cloud.js.map +1 -0
- package/dist/icons/ph/columns.d.ts +10 -0
- package/dist/icons/ph/columns.js +11 -0
- package/dist/icons/ph/columns.js.map +1 -0
- package/dist/icons/ph/command.d.ts +10 -0
- package/dist/icons/ph/command.js +11 -0
- package/dist/icons/ph/command.js.map +1 -0
- package/dist/icons/ph/copy.d.ts +10 -0
- package/dist/icons/ph/copy.js +11 -0
- package/dist/icons/ph/copy.js.map +1 -0
- package/dist/icons/ph/corners-in.d.ts +10 -0
- package/dist/icons/ph/corners-in.js +11 -0
- package/dist/icons/ph/corners-in.js.map +1 -0
- package/dist/icons/ph/corners-out.d.ts +10 -0
- package/dist/icons/ph/corners-out.js +11 -0
- package/dist/icons/ph/corners-out.js.map +1 -0
- package/dist/icons/ph/cpu.d.ts +10 -0
- package/dist/icons/ph/cpu.js +11 -0
- package/dist/icons/ph/cpu.js.map +1 -0
- package/dist/icons/ph/database.d.ts +10 -0
- package/dist/icons/ph/database.js +11 -0
- package/dist/icons/ph/database.js.map +1 -0
- package/dist/icons/ph/dots-six-vertical.d.ts +10 -0
- package/dist/icons/ph/dots-six-vertical.js +11 -0
- package/dist/icons/ph/dots-six-vertical.js.map +1 -0
- package/dist/icons/ph/dots-three-vertical.d.ts +10 -0
- package/dist/icons/ph/dots-three-vertical.js +11 -0
- package/dist/icons/ph/dots-three-vertical.js.map +1 -0
- package/dist/icons/ph/dots-three.d.ts +10 -0
- package/dist/icons/ph/dots-three.js +11 -0
- package/dist/icons/ph/dots-three.js.map +1 -0
- package/dist/icons/ph/download-simple.d.ts +10 -0
- package/dist/icons/ph/download-simple.js +11 -0
- package/dist/icons/ph/download-simple.js.map +1 -0
- package/dist/icons/ph/envelope-simple.d.ts +10 -0
- package/dist/icons/ph/envelope-simple.js +11 -0
- package/dist/icons/ph/envelope-simple.js.map +1 -0
- package/dist/icons/ph/eye-slash.d.ts +10 -0
- package/dist/icons/ph/eye-slash.js +11 -0
- package/dist/icons/ph/eye-slash.js.map +1 -0
- package/dist/icons/ph/eye.d.ts +10 -0
- package/dist/icons/ph/eye.js +11 -0
- package/dist/icons/ph/eye.js.map +1 -0
- package/dist/icons/ph/file-code.d.ts +10 -0
- package/dist/icons/ph/file-code.js +11 -0
- package/dist/icons/ph/file-code.js.map +1 -0
- package/dist/icons/ph/file-text.d.ts +10 -0
- package/dist/icons/ph/file-text.js +11 -0
- package/dist/icons/ph/file-text.js.map +1 -0
- package/dist/icons/ph/file.d.ts +10 -0
- package/dist/icons/ph/file.js +11 -0
- package/dist/icons/ph/file.js.map +1 -0
- package/dist/icons/ph/floppy-disk.d.ts +10 -0
- package/dist/icons/ph/floppy-disk.js +11 -0
- package/dist/icons/ph/floppy-disk.js.map +1 -0
- package/dist/icons/ph/folder-open.d.ts +10 -0
- package/dist/icons/ph/folder-open.js +11 -0
- package/dist/icons/ph/folder-open.js.map +1 -0
- package/dist/icons/ph/folder.d.ts +10 -0
- package/dist/icons/ph/folder.js +11 -0
- package/dist/icons/ph/folder.js.map +1 -0
- package/dist/icons/ph/function.d.ts +10 -0
- package/dist/icons/ph/function.js +11 -0
- package/dist/icons/ph/function.js.map +1 -0
- package/dist/icons/ph/funnel.d.ts +10 -0
- package/dist/icons/ph/funnel.js +11 -0
- package/dist/icons/ph/funnel.js.map +1 -0
- package/dist/icons/ph/gauge.d.ts +10 -0
- package/dist/icons/ph/gauge.js +11 -0
- package/dist/icons/ph/gauge.js.map +1 -0
- package/dist/icons/ph/gear.d.ts +10 -0
- package/dist/icons/ph/gear.js +11 -0
- package/dist/icons/ph/gear.js.map +1 -0
- package/dist/icons/ph/globe.d.ts +10 -0
- package/dist/icons/ph/globe.js +11 -0
- package/dist/icons/ph/globe.js.map +1 -0
- package/dist/icons/ph/hard-drives.d.ts +10 -0
- package/dist/icons/ph/hard-drives.js +11 -0
- package/dist/icons/ph/hard-drives.js.map +1 -0
- package/dist/icons/ph/hash.d.ts +10 -0
- package/dist/icons/ph/hash.js +11 -0
- package/dist/icons/ph/hash.js.map +1 -0
- package/dist/icons/ph/heart.d.ts +10 -0
- package/dist/icons/ph/heart.js +11 -0
- package/dist/icons/ph/heart.js.map +1 -0
- package/dist/icons/ph/house.d.ts +10 -0
- package/dist/icons/ph/house.js +11 -0
- package/dist/icons/ph/house.js.map +1 -0
- package/dist/icons/ph/image.d.ts +10 -0
- package/dist/icons/ph/image.js +11 -0
- package/dist/icons/ph/image.js.map +1 -0
- package/dist/icons/ph/info.d.ts +10 -0
- package/dist/icons/ph/info.js +11 -0
- package/dist/icons/ph/info.js.map +1 -0
- package/dist/icons/ph/key.d.ts +10 -0
- package/dist/icons/ph/key.js +11 -0
- package/dist/icons/ph/key.js.map +1 -0
- package/dist/icons/ph/keyboard.d.ts +10 -0
- package/dist/icons/ph/keyboard.js +11 -0
- package/dist/icons/ph/keyboard.js.map +1 -0
- package/dist/icons/ph/layout.d.ts +10 -0
- package/dist/icons/ph/layout.js +11 -0
- package/dist/icons/ph/layout.js.map +1 -0
- package/dist/icons/ph/link.d.ts +10 -0
- package/dist/icons/ph/link.js +11 -0
- package/dist/icons/ph/link.js.map +1 -0
- package/dist/icons/ph/list-bullets.d.ts +10 -0
- package/dist/icons/ph/list-bullets.js +11 -0
- package/dist/icons/ph/list-bullets.js.map +1 -0
- package/dist/icons/ph/list.d.ts +10 -0
- package/dist/icons/ph/list.js +11 -0
- package/dist/icons/ph/list.js.map +1 -0
- package/dist/icons/ph/lock.d.ts +10 -0
- package/dist/icons/ph/lock.js +11 -0
- package/dist/icons/ph/lock.js.map +1 -0
- package/dist/icons/ph/magnifying-glass.d.ts +10 -0
- package/dist/icons/ph/magnifying-glass.js +11 -0
- package/dist/icons/ph/magnifying-glass.js.map +1 -0
- package/dist/icons/ph/minus.d.ts +10 -0
- package/dist/icons/ph/minus.js +11 -0
- package/dist/icons/ph/minus.js.map +1 -0
- package/dist/icons/ph/monitor.d.ts +10 -0
- package/dist/icons/ph/monitor.js +11 -0
- package/dist/icons/ph/monitor.js.map +1 -0
- package/dist/icons/ph/moon.d.ts +10 -0
- package/dist/icons/ph/moon.js +11 -0
- package/dist/icons/ph/moon.js.map +1 -0
- package/dist/icons/ph/paper-plane-tilt.d.ts +10 -0
- package/dist/icons/ph/paper-plane-tilt.js +11 -0
- package/dist/icons/ph/paper-plane-tilt.js.map +1 -0
- package/dist/icons/ph/pencil-simple.d.ts +10 -0
- package/dist/icons/ph/pencil-simple.js +11 -0
- package/dist/icons/ph/pencil-simple.js.map +1 -0
- package/dist/icons/ph/plus.d.ts +10 -0
- package/dist/icons/ph/plus.js +11 -0
- package/dist/icons/ph/plus.js.map +1 -0
- package/dist/icons/ph/printer.d.ts +10 -0
- package/dist/icons/ph/printer.js +11 -0
- package/dist/icons/ph/printer.js.map +1 -0
- package/dist/icons/ph/pulse.d.ts +10 -0
- package/dist/icons/ph/pulse.js +11 -0
- package/dist/icons/ph/pulse.js.map +1 -0
- package/dist/icons/ph/push-pin.d.ts +10 -0
- package/dist/icons/ph/push-pin.js +11 -0
- package/dist/icons/ph/push-pin.js.map +1 -0
- package/dist/icons/ph/question.d.ts +10 -0
- package/dist/icons/ph/question.js +11 -0
- package/dist/icons/ph/question.js.map +1 -0
- package/dist/icons/ph/share-network.d.ts +10 -0
- package/dist/icons/ph/share-network.js +11 -0
- package/dist/icons/ph/share-network.js.map +1 -0
- package/dist/icons/ph/shield.d.ts +10 -0
- package/dist/icons/ph/shield.js +11 -0
- package/dist/icons/ph/shield.js.map +1 -0
- package/dist/icons/ph/sidebar-simple.d.ts +10 -0
- package/dist/icons/ph/sidebar-simple.js +11 -0
- package/dist/icons/ph/sidebar-simple.js.map +1 -0
- package/dist/icons/ph/sign-in.d.ts +10 -0
- package/dist/icons/ph/sign-in.js +11 -0
- package/dist/icons/ph/sign-in.js.map +1 -0
- package/dist/icons/ph/sign-out.d.ts +10 -0
- package/dist/icons/ph/sign-out.js +11 -0
- package/dist/icons/ph/sign-out.js.map +1 -0
- package/dist/icons/ph/sliders-horizontal.d.ts +10 -0
- package/dist/icons/ph/sliders-horizontal.js +11 -0
- package/dist/icons/ph/sliders-horizontal.js.map +1 -0
- package/dist/icons/ph/sort-ascending.d.ts +10 -0
- package/dist/icons/ph/sort-ascending.js +11 -0
- package/dist/icons/ph/sort-ascending.js.map +1 -0
- package/dist/icons/ph/sparkle.d.ts +10 -0
- package/dist/icons/ph/sparkle.js +11 -0
- package/dist/icons/ph/sparkle.js.map +1 -0
- package/dist/icons/ph/square.d.ts +10 -0
- package/dist/icons/ph/square.js +11 -0
- package/dist/icons/ph/square.js.map +1 -0
- package/dist/icons/ph/squares-four.d.ts +10 -0
- package/dist/icons/ph/squares-four.js +11 -0
- package/dist/icons/ph/squares-four.js.map +1 -0
- package/dist/icons/ph/stack.d.ts +10 -0
- package/dist/icons/ph/stack.js +11 -0
- package/dist/icons/ph/stack.js.map +1 -0
- package/dist/icons/ph/star.d.ts +10 -0
- package/dist/icons/ph/star.js +11 -0
- package/dist/icons/ph/star.js.map +1 -0
- package/dist/icons/ph/sun.d.ts +10 -0
- package/dist/icons/ph/sun.js +11 -0
- package/dist/icons/ph/sun.js.map +1 -0
- package/dist/icons/ph/tag.d.ts +10 -0
- package/dist/icons/ph/tag.js +11 -0
- package/dist/icons/ph/tag.js.map +1 -0
- package/dist/icons/ph/terminal-window.d.ts +10 -0
- package/dist/icons/ph/terminal-window.js +11 -0
- package/dist/icons/ph/terminal-window.js.map +1 -0
- package/dist/icons/ph/trash.d.ts +10 -0
- package/dist/icons/ph/trash.js +11 -0
- package/dist/icons/ph/trash.js.map +1 -0
- package/dist/icons/ph/trend-up.d.ts +10 -0
- package/dist/icons/ph/trend-up.js +11 -0
- package/dist/icons/ph/trend-up.js.map +1 -0
- package/dist/icons/ph/upload-simple.d.ts +10 -0
- package/dist/icons/ph/upload-simple.js +11 -0
- package/dist/icons/ph/upload-simple.js.map +1 -0
- package/dist/icons/ph/user.d.ts +10 -0
- package/dist/icons/ph/user.js +11 -0
- package/dist/icons/ph/user.js.map +1 -0
- package/dist/icons/ph/users.d.ts +10 -0
- package/dist/icons/ph/users.js +11 -0
- package/dist/icons/ph/users.js.map +1 -0
- package/dist/icons/ph/warning-circle.d.ts +10 -0
- package/dist/icons/ph/warning-circle.js +11 -0
- package/dist/icons/ph/warning-circle.js.map +1 -0
- package/dist/icons/ph/warning.d.ts +10 -0
- package/dist/icons/ph/warning.js +11 -0
- package/dist/icons/ph/warning.js.map +1 -0
- package/dist/icons/ph/x-circle.d.ts +10 -0
- package/dist/icons/ph/x-circle.js +11 -0
- package/dist/icons/ph/x-circle.js.map +1 -0
- package/dist/icons/ph/x.d.ts +10 -0
- package/dist/icons/ph/x.js +11 -0
- package/dist/icons/ph/x.js.map +1 -0
- package/dist/icons/store.d.ts +6 -0
- package/dist/icons/store.js +77 -0
- package/dist/icons/store.js.map +1 -0
- package/dist/index.d.ts +86 -2293
- package/dist/index.js +82 -13349
- package/dist/internal/Field.js +74 -0
- package/dist/internal/Field.js.map +1 -0
- package/dist/internal/FloatingPanel.js +41 -0
- package/dist/internal/FloatingPanel.js.map +1 -0
- package/dist/internal/chart.js +131 -0
- package/dist/internal/chart.js.map +1 -0
- package/dist/internal/dev.js +21 -0
- package/dist/internal/dev.js.map +1 -0
- package/dist/internal/focus.js +94 -0
- package/dist/internal/focus.js.map +1 -0
- package/dist/internal/focusMain.d.ts +4 -0
- package/dist/internal/focusMain.js +22 -0
- package/dist/internal/focusMain.js.map +1 -0
- package/dist/internal/scrollHint.js +78 -0
- package/dist/internal/scrollHint.js.map +1 -0
- package/dist/internal/tableTools.js +114 -0
- package/dist/internal/tableTools.js.map +1 -0
- package/dist/internal/terms.d.ts +18 -0
- package/dist/internal/terms.js +64 -0
- package/dist/internal/terms.js.map +1 -0
- package/dist/internal/util.js +107 -0
- package/dist/internal/util.js.map +1 -0
- package/dist/motion.d.ts +5 -0
- package/dist/motion.js +29 -0
- package/dist/motion.js.map +1 -0
- package/dist/styles.css +4280 -4265
- package/dist/theme.d.ts +20 -0
- package/dist/theme.js +210 -0
- package/dist/theme.js.map +1 -0
- package/dist/tokens.css +4 -0
- package/docs/guidelines.md +1 -0
- package/docs/theme.md +51 -0
- package/package.json +5 -4
- package/dist/format-entry-CgMBtkni.d.ts +0 -79
- package/dist/format-entry-CyChe8bk.js.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './IconButton.css';
|
|
4
|
+
@import './InlineCode.css';
|
|
5
|
+
@layer ui.components {
|
|
6
|
+
/* Suggestion */
|
|
7
|
+
.ui-sug {
|
|
8
|
+
position: relative;
|
|
9
|
+
padding: var(--space-3);
|
|
10
|
+
border-radius: var(--radius-md);
|
|
11
|
+
background: var(--surface-sub);
|
|
12
|
+
font-size: var(--text-control);
|
|
13
|
+
line-height: 1.5;
|
|
14
|
+
}
|
|
15
|
+
.ui-sug-head {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: var(--space-2);
|
|
19
|
+
min-height: 36px;
|
|
20
|
+
margin: -6px -6px 6px 0;
|
|
21
|
+
}
|
|
22
|
+
.ui-sug-title {
|
|
23
|
+
flex: 1 1 auto;
|
|
24
|
+
font-size: var(--text-compact);
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
}
|
|
28
|
+
.ui-sug-copy {
|
|
29
|
+
flex: 0 0 auto;
|
|
30
|
+
width: 36px;
|
|
31
|
+
height: 36px;
|
|
32
|
+
border-color: transparent;
|
|
33
|
+
}
|
|
34
|
+
.ui-sug-copy:hover {
|
|
35
|
+
background: var(--surface);
|
|
36
|
+
}
|
|
37
|
+
.ui-sug-copy.is-copied {
|
|
38
|
+
color: var(--success-text);
|
|
39
|
+
}
|
|
40
|
+
.ui-sug-line {
|
|
41
|
+
display: flex;
|
|
42
|
+
gap: var(--space-2);
|
|
43
|
+
padding: 4px var(--space-2);
|
|
44
|
+
}
|
|
45
|
+
.ui-sug-line.is-del {
|
|
46
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
47
|
+
background: var(--danger-soft);
|
|
48
|
+
}
|
|
49
|
+
.ui-sug-line.is-add {
|
|
50
|
+
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
|
|
51
|
+
background: var(--success-soft);
|
|
52
|
+
}
|
|
53
|
+
.ui-sug-head + .ui-sug-line.is-add {
|
|
54
|
+
border-radius: var(--radius-sm);
|
|
55
|
+
}
|
|
56
|
+
.ui-sug-mark {
|
|
57
|
+
flex: 0 0 auto;
|
|
58
|
+
width: 12px;
|
|
59
|
+
font-family: var(--font-mono);
|
|
60
|
+
font-weight: 700;
|
|
61
|
+
}
|
|
62
|
+
.ui-sug-line.is-del .ui-sug-mark {
|
|
63
|
+
color: var(--danger-text);
|
|
64
|
+
}
|
|
65
|
+
.ui-sug-line.is-add .ui-sug-mark {
|
|
66
|
+
color: var(--success-text);
|
|
67
|
+
}
|
|
68
|
+
.ui-sug-text {
|
|
69
|
+
min-width: 0;
|
|
70
|
+
overflow-wrap: anywhere;
|
|
71
|
+
}
|
|
72
|
+
@media (max-width: 599px) {
|
|
73
|
+
.ui-sug-copy {
|
|
74
|
+
width: var(--touch-target);
|
|
75
|
+
height: var(--touch-target);
|
|
76
|
+
}
|
|
77
|
+
.ui-sug-head {
|
|
78
|
+
margin-top: -10px;
|
|
79
|
+
margin-bottom: 2px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
.ui-switch {
|
|
5
|
+
position: relative;
|
|
6
|
+
flex: 0 0 52px;
|
|
7
|
+
width: 52px;
|
|
8
|
+
height: 32px;
|
|
9
|
+
padding: 0;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
border-radius: var(--radius-full);
|
|
12
|
+
border: 2px solid var(--line-strong);
|
|
13
|
+
background: var(--surface-sub);
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
transition:
|
|
16
|
+
background-color var(--dur-nav) ease,
|
|
17
|
+
border-color var(--dur-nav) ease;
|
|
18
|
+
}
|
|
19
|
+
.ui-switch.is-on {
|
|
20
|
+
background: var(--accent);
|
|
21
|
+
border-color: var(--accent);
|
|
22
|
+
}
|
|
23
|
+
.ui-switch:disabled {
|
|
24
|
+
opacity: 0.5;
|
|
25
|
+
cursor: not-allowed;
|
|
26
|
+
}
|
|
27
|
+
.ui-switch-thumb {
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: 50%;
|
|
30
|
+
border-radius: var(--radius-full);
|
|
31
|
+
background: var(--line-strong);
|
|
32
|
+
color: var(--surface);
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
}
|
|
37
|
+
.ui-switch.is-on .ui-switch-thumb {
|
|
38
|
+
background: var(--on-solid);
|
|
39
|
+
color: var(--accent);
|
|
40
|
+
}
|
|
41
|
+
@media (prefers-reduced-motion: reduce) {
|
|
42
|
+
.ui-switch-thumb {
|
|
43
|
+
transition: background-color var(--dur-hover) ease !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
.ui-tabs {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
padding: 4px;
|
|
10
|
+
border-radius: var(--radius-md);
|
|
11
|
+
background: var(--surface-sub);
|
|
12
|
+
/* Tabs never wrap or overlap: wider than their box, the row scrolls sideways (the indicator moves with it). */
|
|
13
|
+
overflow-x: auto;
|
|
14
|
+
scrollbar-width: none;
|
|
15
|
+
}
|
|
16
|
+
.ui-tabs::-webkit-scrollbar {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
/* More tabs past an edge: that edge fades out, so a cut tab reads as 「more this way」 (G0). */
|
|
20
|
+
.ui-tabs.has-more-right {
|
|
21
|
+
mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
|
|
22
|
+
}
|
|
23
|
+
.ui-tabs.has-more-left {
|
|
24
|
+
mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent);
|
|
25
|
+
}
|
|
26
|
+
.ui-tabs.has-more-left.has-more-right {
|
|
27
|
+
mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
28
|
+
}
|
|
29
|
+
/* The selected tab's pill: a line-strong border, so it shows the selection at 3:1 on the gray row (surface on
|
|
30
|
+
surface-sub alone is about 1.1:1). */
|
|
31
|
+
.ui-tabs-ind {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 4px;
|
|
34
|
+
bottom: 4px;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
border: 1px solid var(--line-strong);
|
|
37
|
+
border-radius: var(--radius-sm);
|
|
38
|
+
background: var(--surface);
|
|
39
|
+
box-shadow: var(--shadow-sm);
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
}
|
|
42
|
+
.ui-tab {
|
|
43
|
+
position: relative;
|
|
44
|
+
flex: none;
|
|
45
|
+
min-width: 96px;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
height: 38px;
|
|
48
|
+
padding: 0 var(--space-4);
|
|
49
|
+
border: 0;
|
|
50
|
+
border-radius: var(--radius-sm);
|
|
51
|
+
background: transparent;
|
|
52
|
+
color: var(--ink-muted);
|
|
53
|
+
font: inherit;
|
|
54
|
+
font-size: var(--text-control);
|
|
55
|
+
font-weight: 500;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
transition: color var(--dur-hover) ease;
|
|
58
|
+
}
|
|
59
|
+
.ui-tab.is-selected {
|
|
60
|
+
color: var(--ink);
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media (prefers-reduced-motion: reduce) {
|
|
65
|
+
.ui-tabs-ind {
|
|
66
|
+
transition: opacity var(--dur-hover) ease !important;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.ui-dt-summary .ui-tab {
|
|
70
|
+
white-space: nowrap;
|
|
71
|
+
scroll-snap-align: start;
|
|
72
|
+
}
|
|
73
|
+
@media (max-width: 599px) {
|
|
74
|
+
.ui-dt-summary .ui-tab {
|
|
75
|
+
min-width: 0;
|
|
76
|
+
padding-left: 6px;
|
|
77
|
+
padding-right: 6px;
|
|
78
|
+
font-size: var(--text-compact);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.ui-tab-count {
|
|
82
|
+
/* With the space before it: about 6 px from the name. */
|
|
83
|
+
margin-left: 2px;
|
|
84
|
+
font-family: var(--font-mono);
|
|
85
|
+
font-size: var(--text-small);
|
|
86
|
+
color: var(--ink-muted);
|
|
87
|
+
}
|
|
88
|
+
.ui-tab.is-selected .ui-tab-count {
|
|
89
|
+
color: var(--ink);
|
|
90
|
+
}
|
|
91
|
+
}
|
package/dist/css/Tag.css
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
/* Tag: category, small gray text only */
|
|
5
|
+
.ui-tag {
|
|
6
|
+
flex: 0 0 auto;
|
|
7
|
+
font-size: var(--text-mini);
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
line-height: 1.4;
|
|
10
|
+
color: var(--ink-muted);
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
}
|
|
13
|
+
/* Tag variant="forecast" and "demo": an icon and words, no fill, the size of the text beside them (a mark beside the
|
|
14
|
+
brand is as large as the brand). Forecast is in the accent text color; demo keeps the color of the text around it. */
|
|
15
|
+
.ui-tag.is-forecast,
|
|
16
|
+
.ui-tag.is-demo {
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: 0.3em;
|
|
20
|
+
font-size: inherit;
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
line-height: inherit;
|
|
23
|
+
}
|
|
24
|
+
.ui-tag.is-forecast {
|
|
25
|
+
color: var(--accent-text);
|
|
26
|
+
}
|
|
27
|
+
.ui-tag.is-demo {
|
|
28
|
+
color: inherit;
|
|
29
|
+
}
|
|
30
|
+
.ui-tag.is-forecast > svg,
|
|
31
|
+
.ui-tag.is-demo > svg {
|
|
32
|
+
flex: none;
|
|
33
|
+
width: 1em;
|
|
34
|
+
height: 1em;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './Dialog.css';
|
|
4
|
+
@import './InlineCode.css';
|
|
5
|
+
@layer ui.components {
|
|
6
|
+
/* Term */
|
|
7
|
+
.ui-term {
|
|
8
|
+
display: inline;
|
|
9
|
+
padding: 0;
|
|
10
|
+
border: 0;
|
|
11
|
+
background: transparent;
|
|
12
|
+
color: inherit;
|
|
13
|
+
font: inherit;
|
|
14
|
+
text-align: inherit;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
border-radius: var(--radius-xs);
|
|
17
|
+
}
|
|
18
|
+
.ui-term-q {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
margin-left: 2px;
|
|
21
|
+
vertical-align: -2px;
|
|
22
|
+
color: var(--ink-muted);
|
|
23
|
+
transition: color var(--dur-hover) ease;
|
|
24
|
+
}
|
|
25
|
+
.ui-term:hover .ui-term-q,
|
|
26
|
+
.ui-term.is-open .ui-term-q {
|
|
27
|
+
color: var(--accent-text);
|
|
28
|
+
}
|
|
29
|
+
/* Term variant="inline": a dashed underline inside a sentence, no icon; the card opens after resting on the word. */
|
|
30
|
+
.ui-term.is-word {
|
|
31
|
+
cursor: help;
|
|
32
|
+
text-decoration: underline dashed var(--line-strong);
|
|
33
|
+
text-decoration-thickness: 1px;
|
|
34
|
+
text-underline-offset: 4px;
|
|
35
|
+
transition: text-decoration-color var(--dur-hover) ease;
|
|
36
|
+
}
|
|
37
|
+
.ui-term.is-word:hover,
|
|
38
|
+
.ui-term.is-word.is-open,
|
|
39
|
+
.ui-term.is-word:focus-visible {
|
|
40
|
+
text-decoration-color: var(--accent-text);
|
|
41
|
+
}
|
|
42
|
+
.ui-term-pop {
|
|
43
|
+
width: 340px;
|
|
44
|
+
/* No wider than the block it explains (see Term), nor the window. */
|
|
45
|
+
max-width: min(calc(100vw - 16px), var(--available-width, 100vw));
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
padding: var(--space-3) var(--space-4) var(--space-4);
|
|
48
|
+
border-radius: var(--radius-lg);
|
|
49
|
+
background: var(--surface);
|
|
50
|
+
border: 1px solid var(--line);
|
|
51
|
+
box-shadow: var(--shadow-overlay);
|
|
52
|
+
color: var(--ink);
|
|
53
|
+
font-size: var(--text-compact);
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
line-height: 1.55;
|
|
56
|
+
text-align: left;
|
|
57
|
+
white-space: normal;
|
|
58
|
+
animation: ui-pop-scale var(--dur-nav) var(--ease-spring) both;
|
|
59
|
+
transform-origin: 16px 0;
|
|
60
|
+
}
|
|
61
|
+
.ui-term-pop[data-side='top'] {
|
|
62
|
+
transform-origin: 16px 100%;
|
|
63
|
+
}
|
|
64
|
+
.ui-term-head {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
gap: var(--space-2);
|
|
68
|
+
margin-right: -8px;
|
|
69
|
+
}
|
|
70
|
+
.ui-term-title {
|
|
71
|
+
flex: 1 1 auto;
|
|
72
|
+
min-width: 0;
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
}
|
|
75
|
+
.ui-term-close {
|
|
76
|
+
flex: 0 0 auto;
|
|
77
|
+
}
|
|
78
|
+
.ui-term-body {
|
|
79
|
+
margin-top: 2px;
|
|
80
|
+
}
|
|
81
|
+
.ui-term-code {
|
|
82
|
+
margin: var(--space-2) 0 0;
|
|
83
|
+
padding: var(--space-2) var(--space-3);
|
|
84
|
+
border-radius: var(--radius-sm);
|
|
85
|
+
background: var(--surface-sub);
|
|
86
|
+
font-family: var(--font-mono);
|
|
87
|
+
font-size: var(--text-small);
|
|
88
|
+
line-height: 1.5;
|
|
89
|
+
white-space: pre;
|
|
90
|
+
overflow-x: auto;
|
|
91
|
+
}
|
|
92
|
+
.ui-term-action {
|
|
93
|
+
display: inline-flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
min-height: 32px;
|
|
96
|
+
margin-top: var(--space-1);
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
}
|
|
99
|
+
.ui-term-backdrop {
|
|
100
|
+
position: fixed;
|
|
101
|
+
z-index: var(--z-modal);
|
|
102
|
+
inset: 0;
|
|
103
|
+
background: var(--scrim);
|
|
104
|
+
animation: ui-fade var(--dur-nav) ease both;
|
|
105
|
+
}
|
|
106
|
+
.ui-term-sheet {
|
|
107
|
+
position: fixed;
|
|
108
|
+
z-index: calc(var(--z-modal) + 1);
|
|
109
|
+
left: 0;
|
|
110
|
+
right: 0;
|
|
111
|
+
bottom: 0;
|
|
112
|
+
max-height: 70dvh;
|
|
113
|
+
overflow-y: auto;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
padding: var(--space-3) var(--space-4) calc(var(--space-6) + env(safe-area-inset-bottom));
|
|
116
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
117
|
+
background: var(--surface);
|
|
118
|
+
box-shadow: var(--shadow-overlay);
|
|
119
|
+
color: var(--ink);
|
|
120
|
+
font-size: var(--text-control);
|
|
121
|
+
font-weight: 400;
|
|
122
|
+
line-height: 1.6;
|
|
123
|
+
text-align: left;
|
|
124
|
+
white-space: normal;
|
|
125
|
+
animation: ui-sheet-up var(--dur-expand) var(--ease-standard) both;
|
|
126
|
+
}
|
|
127
|
+
.ui-term-sheet .ui-term-title {
|
|
128
|
+
font-size: var(--text-title);
|
|
129
|
+
}
|
|
130
|
+
.ui-term-sheet .ui-term-close {
|
|
131
|
+
width: var(--touch-target);
|
|
132
|
+
height: var(--touch-target);
|
|
133
|
+
}
|
|
134
|
+
.ui-term-sheet .ui-term-action {
|
|
135
|
+
min-height: var(--touch-target);
|
|
136
|
+
}
|
|
137
|
+
@keyframes ui-sheet-up {
|
|
138
|
+
from {
|
|
139
|
+
transform: translateY(100%);
|
|
140
|
+
}
|
|
141
|
+
to {
|
|
142
|
+
transform: none;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
@media (prefers-reduced-motion: reduce) {
|
|
146
|
+
.ui-term-sheet,
|
|
147
|
+
.ui-term-pop {
|
|
148
|
+
animation: none;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
/* Base UI renders dialog and popover titles as h2: keep the look of the text around them. */
|
|
152
|
+
.ui-term-title:where(h2) {
|
|
153
|
+
margin: 0;
|
|
154
|
+
font-size: inherit;
|
|
155
|
+
line-height: inherit;
|
|
156
|
+
}
|
|
157
|
+
.ui-term-sheet .ui-term-title:where(h2) {
|
|
158
|
+
font-size: var(--text-title);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
.ui-field-box > .ui-textarea ~ .ui-field-icon {
|
|
5
|
+
top: 12px;
|
|
6
|
+
transform: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ui-textarea {
|
|
10
|
+
height: auto;
|
|
11
|
+
min-height: calc(3 * 26px + 22px);
|
|
12
|
+
padding: 10px var(--space-3);
|
|
13
|
+
line-height: 1.6;
|
|
14
|
+
resize: none;
|
|
15
|
+
overflow-y: auto;
|
|
16
|
+
}
|
|
17
|
+
.ui-count {
|
|
18
|
+
font-family: var(--font-mono);
|
|
19
|
+
font-size: var(--text-small);
|
|
20
|
+
color: var(--ink-muted);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
.ui-themepick {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
7
|
+
gap: 8px;
|
|
8
|
+
max-width: 360px;
|
|
9
|
+
}
|
|
10
|
+
.ui-themepick-opt {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 6px;
|
|
14
|
+
padding: 6px;
|
|
15
|
+
border: 1px solid var(--line);
|
|
16
|
+
border-radius: var(--radius-md);
|
|
17
|
+
background: transparent;
|
|
18
|
+
color: var(--ink);
|
|
19
|
+
font: inherit;
|
|
20
|
+
font-size: var(--text-small);
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
.ui-themepick-opt.is-on {
|
|
24
|
+
border: 2px solid var(--accent);
|
|
25
|
+
padding: 5px;
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
}
|
|
28
|
+
.ui-themepick-mini {
|
|
29
|
+
position: relative;
|
|
30
|
+
display: block;
|
|
31
|
+
height: 48px;
|
|
32
|
+
border-radius: var(--radius-sm);
|
|
33
|
+
border: 1px solid var(--line);
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
.ui-themepick-mini span {
|
|
37
|
+
position: absolute;
|
|
38
|
+
left: 8px;
|
|
39
|
+
right: 8px;
|
|
40
|
+
height: 8px;
|
|
41
|
+
border-radius: 3px;
|
|
42
|
+
}
|
|
43
|
+
.ui-themepick-mini span:first-child {
|
|
44
|
+
top: 10px;
|
|
45
|
+
width: 40%;
|
|
46
|
+
}
|
|
47
|
+
.ui-themepick-mini span:last-child {
|
|
48
|
+
top: 24px;
|
|
49
|
+
}
|
|
50
|
+
/* The theme previews show the light and dark themes whatever the current one is: their own fixed colors (bg and line
|
|
51
|
+
of each theme), not tokens. */
|
|
52
|
+
.ui-themepick-mini.is-light {
|
|
53
|
+
background: #fcfbfb;
|
|
54
|
+
}
|
|
55
|
+
.ui-themepick-mini.is-light span {
|
|
56
|
+
background: #e2dfdc;
|
|
57
|
+
}
|
|
58
|
+
.ui-themepick-mini.is-dark {
|
|
59
|
+
background: #2f2a25;
|
|
60
|
+
}
|
|
61
|
+
.ui-themepick-mini.is-dark span {
|
|
62
|
+
background: #4c4844;
|
|
63
|
+
}
|
|
64
|
+
.ui-themepick-mini.is-auto {
|
|
65
|
+
background: linear-gradient(135deg, #fcfbfb 50%, #2f2a25 50%);
|
|
66
|
+
}
|
|
67
|
+
.ui-themepick-mini.is-auto span {
|
|
68
|
+
background: #8c8073;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './Button.css';
|
|
4
|
+
@layer ui.components {
|
|
5
|
+
/* TimeControl: a column for a side panel: the clock, two lines, two buttons. */
|
|
6
|
+
.ui-timecontrol {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 4px;
|
|
10
|
+
}
|
|
11
|
+
.ui-timecontrol-clock {
|
|
12
|
+
font-family: var(--font-mono);
|
|
13
|
+
font-size: 28px; /* token-exempt: TimeControl clock, one use */
|
|
14
|
+
font-weight: 700;
|
|
15
|
+
line-height: 36px;
|
|
16
|
+
font-variant-numeric: tabular-nums;
|
|
17
|
+
}
|
|
18
|
+
.ui-timecontrol-status {
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
21
|
+
.ui-timecontrol-detail {
|
|
22
|
+
margin: 0;
|
|
23
|
+
font-size: var(--text-small);
|
|
24
|
+
line-height: 20px;
|
|
25
|
+
color: var(--ink-muted);
|
|
26
|
+
}
|
|
27
|
+
.ui-timecontrol-actions {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
gap: var(--space-2);
|
|
31
|
+
margin-top: var(--space-2);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
@keyframes ui-toast-in {
|
|
5
|
+
from {
|
|
6
|
+
opacity: 0;
|
|
7
|
+
transform: translateY(12px);
|
|
8
|
+
}
|
|
9
|
+
to {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
transform: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.ui-toast {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 10px;
|
|
18
|
+
padding: var(--space-3) var(--space-4);
|
|
19
|
+
border-radius: var(--radius-md);
|
|
20
|
+
background: var(--surface);
|
|
21
|
+
color: var(--ink);
|
|
22
|
+
border: 1px solid var(--line);
|
|
23
|
+
box-shadow: var(--shadow-overlay);
|
|
24
|
+
font-size: var(--text-compact);
|
|
25
|
+
animation: ui-toast-in 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
|
|
26
|
+
}
|
|
27
|
+
.ui-toast-icon {
|
|
28
|
+
color: var(--success);
|
|
29
|
+
}
|
|
30
|
+
.ui-toast-action {
|
|
31
|
+
margin-left: var(--space-1);
|
|
32
|
+
padding: 0 var(--space-1);
|
|
33
|
+
min-height: 28px;
|
|
34
|
+
border: 0;
|
|
35
|
+
border-radius: var(--radius-sm);
|
|
36
|
+
background: transparent;
|
|
37
|
+
color: var(--accent-text);
|
|
38
|
+
font: inherit;
|
|
39
|
+
font-weight: 700;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
@media (prefers-reduced-motion: reduce) {
|
|
43
|
+
.ui-toast {
|
|
44
|
+
animation: ui-fade var(--dur-hover) ease both;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
.ui-tooltip {
|
|
5
|
+
padding: 6px 10px;
|
|
6
|
+
border-radius: var(--radius-chip);
|
|
7
|
+
background: var(--ink);
|
|
8
|
+
color: var(--bg);
|
|
9
|
+
font-size: var(--text-small);
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
line-height: 1.4;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
animation: ui-pop-scale var(--dur-tooltip) var(--ease-spring) both;
|
|
15
|
+
}
|
|
16
|
+
.ui-tooltip {
|
|
17
|
+
transform-origin: var(--transform-origin);
|
|
18
|
+
}
|
|
19
|
+
/* Closing: no animation left to wait for, so the popup leaves at once (an entrance still running kept it on screen). */
|
|
20
|
+
.ui-tooltip[data-ending-style] {
|
|
21
|
+
animation: none;
|
|
22
|
+
}
|
|
23
|
+
.ui-tooltip.is-wrap {
|
|
24
|
+
max-width: min(360px, calc(100vw - 2 * var(--space-3)));
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
line-height: 20px;
|
|
27
|
+
white-space: normal;
|
|
28
|
+
}
|
|
29
|
+
.ui-tooltip-arrow {
|
|
30
|
+
position: absolute;
|
|
31
|
+
width: 8px;
|
|
32
|
+
height: 8px;
|
|
33
|
+
background: inherit;
|
|
34
|
+
transform: rotate(45deg);
|
|
35
|
+
}
|
|
36
|
+
.ui-tooltip[data-side='top'] .ui-tooltip-arrow {
|
|
37
|
+
bottom: -4px;
|
|
38
|
+
}
|
|
39
|
+
.ui-tooltip[data-side='bottom'] .ui-tooltip-arrow {
|
|
40
|
+
top: -4px;
|
|
41
|
+
}
|
|
42
|
+
.ui-tooltip[data-side='right'] .ui-tooltip-arrow {
|
|
43
|
+
left: -4px;
|
|
44
|
+
}
|
|
45
|
+
.ui-tooltip[data-side='left'] .ui-tooltip-arrow {
|
|
46
|
+
right: -4px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (prefers-reduced-motion: reduce) {
|
|
50
|
+
.ui-tooltip {
|
|
51
|
+
animation: ui-pop-fade var(--dur-hover) ease both;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.ui-tooltip-positioner {
|
|
55
|
+
z-index: var(--z-tooltip);
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
}
|