@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,302 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './IconButton.css';
|
|
4
|
+
@import './Popover.css';
|
|
5
|
+
@import './InlineCode.css';
|
|
6
|
+
@import './Term.css';
|
|
7
|
+
@layer ui.components {
|
|
8
|
+
/* CodeView: the keys that move inside the code, shown while it has focus. */
|
|
9
|
+
.ui-cv-keys {
|
|
10
|
+
outline: none;
|
|
11
|
+
padding: var(--space-2) var(--space-3);
|
|
12
|
+
max-width: min(320px, calc(100vw - 32px));
|
|
13
|
+
}
|
|
14
|
+
.ui-cv-keylist {
|
|
15
|
+
margin: 0;
|
|
16
|
+
display: grid;
|
|
17
|
+
gap: 4px;
|
|
18
|
+
font-size: var(--text-small);
|
|
19
|
+
}
|
|
20
|
+
.ui-cv-keylist > div {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: baseline;
|
|
23
|
+
gap: var(--space-2);
|
|
24
|
+
}
|
|
25
|
+
.ui-cv-keylist dt {
|
|
26
|
+
flex: 0 0 64px;
|
|
27
|
+
}
|
|
28
|
+
.ui-cv-keylist dd {
|
|
29
|
+
margin: 0;
|
|
30
|
+
color: var(--ink-muted);
|
|
31
|
+
}
|
|
32
|
+
.ui-cv-keylist kbd {
|
|
33
|
+
padding: 0 var(--space-1);
|
|
34
|
+
border: 1px solid var(--line);
|
|
35
|
+
border-bottom-width: 2px;
|
|
36
|
+
border-radius: var(--radius-xs);
|
|
37
|
+
background: var(--surface);
|
|
38
|
+
font-family: var(--font-mono);
|
|
39
|
+
font-size: var(--text-mini);
|
|
40
|
+
}
|
|
41
|
+
/* header="float": the language and buttons float at the top right while the pointer is over the code or focus is in
|
|
42
|
+
it; always on touch screens. */
|
|
43
|
+
.ui-cv {
|
|
44
|
+
position: relative;
|
|
45
|
+
}
|
|
46
|
+
.ui-cv-tools {
|
|
47
|
+
position: absolute;
|
|
48
|
+
top: 6px;
|
|
49
|
+
right: 6px;
|
|
50
|
+
z-index: var(--z-sticky);
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 2px;
|
|
54
|
+
padding: 2px 2px 2px var(--space-2);
|
|
55
|
+
border-radius: var(--radius-sm);
|
|
56
|
+
background: var(--surface);
|
|
57
|
+
box-shadow: var(--shadow-sm);
|
|
58
|
+
font-size: var(--text-mini);
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transition: opacity var(--dur-hover) ease;
|
|
61
|
+
}
|
|
62
|
+
.ui-cv:is(:hover, :focus-within) .ui-cv-tools,
|
|
63
|
+
.ui-cv-tools:has([aria-expanded='true']) {
|
|
64
|
+
opacity: 1;
|
|
65
|
+
}
|
|
66
|
+
@media (pointer: coarse) {
|
|
67
|
+
.ui-cv-tools {
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.ui-cv-keyanchor {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 4px;
|
|
74
|
+
right: 8px;
|
|
75
|
+
width: 1px;
|
|
76
|
+
height: 1px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* CodeView */
|
|
80
|
+
.ui-cv {
|
|
81
|
+
border-radius: var(--radius-md);
|
|
82
|
+
background: var(--surface-sub);
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
}
|
|
85
|
+
.ui-cv-head {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
gap: var(--space-2);
|
|
89
|
+
min-height: 40px;
|
|
90
|
+
padding: 0 var(--space-3);
|
|
91
|
+
border-bottom: 1px solid var(--line);
|
|
92
|
+
font-size: var(--text-small);
|
|
93
|
+
}
|
|
94
|
+
.ui-cv-file {
|
|
95
|
+
min-width: 0;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
text-overflow: ellipsis;
|
|
98
|
+
white-space: nowrap;
|
|
99
|
+
font-family: var(--font-mono);
|
|
100
|
+
}
|
|
101
|
+
.ui-cv-title {
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
white-space: nowrap;
|
|
104
|
+
}
|
|
105
|
+
.ui-cv-lang {
|
|
106
|
+
margin-left: auto;
|
|
107
|
+
flex: 0 0 auto;
|
|
108
|
+
color: var(--ink-muted);
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
}
|
|
111
|
+
/* No line numbers: the code starts 16 px in, like the header text. */
|
|
112
|
+
.ui-cv.no-nums .ui-cv-text {
|
|
113
|
+
margin-left: var(--space-4);
|
|
114
|
+
padding-right: var(--space-4);
|
|
115
|
+
}
|
|
116
|
+
/* KB: a Markdown code block has a low header (32 px) with no rule under it. */
|
|
117
|
+
.ui-md-code .ui-cv-head {
|
|
118
|
+
min-height: 32px;
|
|
119
|
+
padding-left: var(--space-4);
|
|
120
|
+
border-bottom: 0;
|
|
121
|
+
}
|
|
122
|
+
.ui-md-code .ui-cv-body {
|
|
123
|
+
padding: 2px 0 10px;
|
|
124
|
+
}
|
|
125
|
+
/* A small copy icon at the right of the header, as in Suggestion; 48 px on phones. */
|
|
126
|
+
.ui-cv-copy {
|
|
127
|
+
flex: 0 0 auto;
|
|
128
|
+
width: 32px;
|
|
129
|
+
height: 32px;
|
|
130
|
+
margin-right: calc(-1 * var(--space-1));
|
|
131
|
+
border-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
.ui-cv-lang + .ui-cv-copy {
|
|
134
|
+
margin-left: 0;
|
|
135
|
+
}
|
|
136
|
+
.ui-cv-copy:first-child,
|
|
137
|
+
.ui-cv-file + .ui-cv-copy,
|
|
138
|
+
.ui-cv-title + .ui-cv-copy {
|
|
139
|
+
margin-left: auto;
|
|
140
|
+
}
|
|
141
|
+
.ui-cv-copy:hover {
|
|
142
|
+
background: var(--surface);
|
|
143
|
+
}
|
|
144
|
+
.ui-cv-copy.is-copied {
|
|
145
|
+
color: var(--success-text);
|
|
146
|
+
}
|
|
147
|
+
@media (max-width: 599px) {
|
|
148
|
+
.ui-cv-copy {
|
|
149
|
+
width: var(--touch-target);
|
|
150
|
+
height: var(--touch-target);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
.ui-cv-body {
|
|
154
|
+
margin: 0;
|
|
155
|
+
padding: 6px 0;
|
|
156
|
+
overflow-y: auto;
|
|
157
|
+
overflow-x: hidden;
|
|
158
|
+
font-family: var(--font-mono);
|
|
159
|
+
font-size: var(--text-small);
|
|
160
|
+
line-height: 20px;
|
|
161
|
+
color: var(--ink);
|
|
162
|
+
tab-size: 4;
|
|
163
|
+
outline: none;
|
|
164
|
+
}
|
|
165
|
+
.ui-cv-body code {
|
|
166
|
+
display: block;
|
|
167
|
+
font: inherit;
|
|
168
|
+
background: none;
|
|
169
|
+
padding: 0;
|
|
170
|
+
}
|
|
171
|
+
.ui-cv-line {
|
|
172
|
+
display: flex;
|
|
173
|
+
}
|
|
174
|
+
.ui-cv-line.is-peek {
|
|
175
|
+
/* peek: a line marked for a moment from outside (an item pointing at it); quieter than the target. */
|
|
176
|
+
background: var(--surface);
|
|
177
|
+
box-shadow: inset 3px 0 0 var(--line-strong);
|
|
178
|
+
transition: background var(--dur-hover) ease;
|
|
179
|
+
}
|
|
180
|
+
.ui-cv-line.is-target {
|
|
181
|
+
background: var(--accent-soft);
|
|
182
|
+
box-shadow: inset 3px 0 0 var(--accent);
|
|
183
|
+
}
|
|
184
|
+
.ui-cv-num {
|
|
185
|
+
flex: 0 0 auto;
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
/* VA: off the left edge, and clear of the code. */
|
|
188
|
+
padding: 0 var(--space-4) 0 var(--space-3);
|
|
189
|
+
text-align: right;
|
|
190
|
+
color: var(--ink-muted);
|
|
191
|
+
font-variant-numeric: tabular-nums;
|
|
192
|
+
-webkit-user-select: none;
|
|
193
|
+
user-select: none;
|
|
194
|
+
}
|
|
195
|
+
.ui-cv-line.is-target .ui-cv-num {
|
|
196
|
+
color: var(--ink);
|
|
197
|
+
font-weight: 600;
|
|
198
|
+
}
|
|
199
|
+
.ui-cv-text {
|
|
200
|
+
flex: 1 1 auto;
|
|
201
|
+
min-width: 0;
|
|
202
|
+
padding: 0 var(--space-3) 0 4ch;
|
|
203
|
+
text-indent: -4ch;
|
|
204
|
+
white-space: pre-wrap;
|
|
205
|
+
overflow-wrap: anywhere;
|
|
206
|
+
/* Continuation of a wrapped line: a 2 px bar in the 4ch hanging indent, from the second line down, so it never
|
|
207
|
+
reads as the next line of code. Nothing shows on a line that fits. */
|
|
208
|
+
background: linear-gradient(var(--line-strong), var(--line-strong)) no-repeat 1.5ch 20px / 2px calc(100% - 20px);
|
|
209
|
+
}
|
|
210
|
+
/* 「第 62 行」 for screen readers only: never selected or copied with the code. */
|
|
211
|
+
/* A path in a comment or string, as a link (refHref, onRef): link colour, underlined; a button looks the same. */
|
|
212
|
+
.ui-cv-ref {
|
|
213
|
+
padding: 0;
|
|
214
|
+
border: 0;
|
|
215
|
+
background: none;
|
|
216
|
+
font: inherit;
|
|
217
|
+
color: var(--accent-text);
|
|
218
|
+
text-decoration: underline;
|
|
219
|
+
text-underline-offset: 2px;
|
|
220
|
+
border-radius: 2px;
|
|
221
|
+
}
|
|
222
|
+
.ui-cv-ref:hover {
|
|
223
|
+
text-decoration-thickness: 2px;
|
|
224
|
+
}
|
|
225
|
+
.ui-cv-ref:is(button) {
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
}
|
|
228
|
+
/* A name in the code that is a link (links): keeps its syntax colour, with a faint dotted underline (accent-text at
|
|
229
|
+
55 %, opaque on the target line's soft background), 3 px below the text so it never merges with an underscore.
|
|
230
|
+
It only acts while Ctrl or ⌘ is held (is-armed): then hover turns it into a solid 2 px link-coloured underline and a
|
|
231
|
+
hand cursor. A plain click selects text. Touch screens have no Ctrl: a tap opens it, so the cursor is a hand there. */
|
|
232
|
+
.ui-cv-name {
|
|
233
|
+
color: inherit;
|
|
234
|
+
text-decoration: underline dotted color-mix(in srgb, var(--accent-text) 55%, transparent);
|
|
235
|
+
text-decoration-thickness: 1px;
|
|
236
|
+
text-underline-offset: 3px;
|
|
237
|
+
border-radius: 2px;
|
|
238
|
+
cursor: text;
|
|
239
|
+
-webkit-box-decoration-break: clone;
|
|
240
|
+
box-decoration-break: clone;
|
|
241
|
+
-webkit-user-drag: none;
|
|
242
|
+
}
|
|
243
|
+
.ui-cv-line.is-target .ui-cv-name {
|
|
244
|
+
text-decoration-color: var(--accent-text);
|
|
245
|
+
}
|
|
246
|
+
.ui-cv-body.is-armed .ui-cv-name:hover,
|
|
247
|
+
.ui-cv-name:focus-visible {
|
|
248
|
+
color: var(--accent-text);
|
|
249
|
+
text-decoration-style: solid;
|
|
250
|
+
text-decoration-color: var(--accent-text);
|
|
251
|
+
text-decoration-thickness: 2px;
|
|
252
|
+
}
|
|
253
|
+
.ui-cv-body.is-armed .ui-cv-name:hover :is(.is-keyword, .is-constant, .is-string),
|
|
254
|
+
.ui-cv-name:focus-visible :is(.is-keyword, .is-constant, .is-string) {
|
|
255
|
+
color: inherit;
|
|
256
|
+
}
|
|
257
|
+
.ui-cv-body.is-armed .ui-cv-name:hover {
|
|
258
|
+
cursor: pointer;
|
|
259
|
+
}
|
|
260
|
+
@media (pointer: coarse) {
|
|
261
|
+
.ui-cv-name {
|
|
262
|
+
cursor: pointer;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
/* The preview card under a name (preview). */
|
|
266
|
+
.ui-cv-preview {
|
|
267
|
+
max-width: 320px;
|
|
268
|
+
padding: var(--space-3);
|
|
269
|
+
font-size: var(--text-small);
|
|
270
|
+
line-height: 20px;
|
|
271
|
+
}
|
|
272
|
+
.ui-cv-sr {
|
|
273
|
+
-webkit-user-select: none;
|
|
274
|
+
user-select: none;
|
|
275
|
+
}
|
|
276
|
+
/* An operator never splits across lines (-> stays ->). */
|
|
277
|
+
.ui-cv-op {
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
}
|
|
280
|
+
.ui-cv .is-keyword {
|
|
281
|
+
color: var(--code-keyword);
|
|
282
|
+
}
|
|
283
|
+
.ui-cv .is-constant {
|
|
284
|
+
color: var(--code-constant);
|
|
285
|
+
}
|
|
286
|
+
.ui-cv .is-string {
|
|
287
|
+
color: var(--code-constant);
|
|
288
|
+
}
|
|
289
|
+
.ui-cv .is-comment {
|
|
290
|
+
color: var(--ink-muted);
|
|
291
|
+
font-style: italic;
|
|
292
|
+
}
|
|
293
|
+
.ui-cv-more {
|
|
294
|
+
display: inline-flex;
|
|
295
|
+
align-items: center;
|
|
296
|
+
min-height: 40px;
|
|
297
|
+
margin: 0 var(--space-3) var(--space-1);
|
|
298
|
+
font-size: var(--text-compact);
|
|
299
|
+
font-weight: 600;
|
|
300
|
+
white-space: nowrap;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './InlineCode.css';
|
|
4
|
+
@layer ui.components {
|
|
5
|
+
/* CommandPalette */
|
|
6
|
+
.ui-pal-backdrop {
|
|
7
|
+
position: fixed;
|
|
8
|
+
z-index: var(--z-palette);
|
|
9
|
+
inset: 0;
|
|
10
|
+
background: var(--scrim);
|
|
11
|
+
-webkit-backdrop-filter: blur(4px);
|
|
12
|
+
backdrop-filter: blur(4px);
|
|
13
|
+
animation: ui-fade var(--dur-hover) ease both;
|
|
14
|
+
}
|
|
15
|
+
.ui-pal {
|
|
16
|
+
position: fixed;
|
|
17
|
+
z-index: calc(var(--z-palette) + 1);
|
|
18
|
+
left: 50%;
|
|
19
|
+
top: 12vh;
|
|
20
|
+
width: 640px;
|
|
21
|
+
max-width: calc(100vw - 24px);
|
|
22
|
+
/* PB: down to 24 px above the bottom of the window. */
|
|
23
|
+
max-height: calc(88vh - 24px);
|
|
24
|
+
transform: translateX(-50%);
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
border-radius: var(--radius-lg);
|
|
29
|
+
background: var(--surface);
|
|
30
|
+
border: 1px solid var(--line);
|
|
31
|
+
box-shadow: var(--shadow-overlay);
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
animation: ui-pal-in var(--dur-nav) cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
|
|
34
|
+
}
|
|
35
|
+
@keyframes ui-pal-in {
|
|
36
|
+
from {
|
|
37
|
+
opacity: 0;
|
|
38
|
+
transform: translateX(-50%) translateY(-6px) scale(0.98);
|
|
39
|
+
}
|
|
40
|
+
to {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
transform: translateX(-50%);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.ui-pal-head {
|
|
46
|
+
flex: 0 0 auto;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
gap: var(--space-2);
|
|
50
|
+
padding: 0 var(--space-2) 0 var(--space-4);
|
|
51
|
+
border-bottom: 1px solid var(--line);
|
|
52
|
+
}
|
|
53
|
+
.ui-pal-icon {
|
|
54
|
+
flex: 0 0 auto;
|
|
55
|
+
color: var(--ink-muted);
|
|
56
|
+
}
|
|
57
|
+
.ui-pal-input {
|
|
58
|
+
flex: 1 1 auto;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
height: 56px;
|
|
61
|
+
border: 0;
|
|
62
|
+
outline: none;
|
|
63
|
+
background: transparent;
|
|
64
|
+
color: var(--ink);
|
|
65
|
+
font: inherit;
|
|
66
|
+
font-size: var(--text-body);
|
|
67
|
+
}
|
|
68
|
+
.ui-pal-input::placeholder {
|
|
69
|
+
color: var(--ink-muted);
|
|
70
|
+
}
|
|
71
|
+
.ui-pal-cancel {
|
|
72
|
+
flex: 0 0 auto;
|
|
73
|
+
height: 40px;
|
|
74
|
+
padding: 0 var(--space-3);
|
|
75
|
+
border: 0;
|
|
76
|
+
border-radius: var(--radius-md);
|
|
77
|
+
background: transparent;
|
|
78
|
+
color: var(--accent-text);
|
|
79
|
+
font: inherit;
|
|
80
|
+
font-size: var(--text-control);
|
|
81
|
+
font-weight: 600;
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
}
|
|
85
|
+
.ui-pal-cancel:hover {
|
|
86
|
+
background: var(--surface-sub);
|
|
87
|
+
}
|
|
88
|
+
.ui-pal-group {
|
|
89
|
+
padding: var(--space-3) var(--space-4) var(--space-1);
|
|
90
|
+
font-size: var(--text-small);
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
color: var(--ink-muted);
|
|
93
|
+
}
|
|
94
|
+
.ui-pal-list {
|
|
95
|
+
flex: 1 1 auto;
|
|
96
|
+
min-height: 0;
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
margin: 0;
|
|
99
|
+
padding: 6px;
|
|
100
|
+
list-style: none;
|
|
101
|
+
overscroll-behavior: contain;
|
|
102
|
+
}
|
|
103
|
+
.ui-pal-item {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: var(--space-3);
|
|
107
|
+
min-height: var(--touch-target);
|
|
108
|
+
padding: 4px 10px;
|
|
109
|
+
border-radius: var(--radius-sm);
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
}
|
|
112
|
+
.ui-pal-item.is-active {
|
|
113
|
+
background: var(--surface-sub);
|
|
114
|
+
}
|
|
115
|
+
.ui-pal-kind {
|
|
116
|
+
flex: 0 0 28px;
|
|
117
|
+
width: 28px;
|
|
118
|
+
height: 28px;
|
|
119
|
+
display: inline-flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
border-radius: var(--radius-sm);
|
|
123
|
+
background: var(--surface-sub);
|
|
124
|
+
color: var(--ink-muted);
|
|
125
|
+
}
|
|
126
|
+
.ui-pal-item.is-active .ui-pal-kind {
|
|
127
|
+
background: var(--surface);
|
|
128
|
+
}
|
|
129
|
+
.ui-pal-text {
|
|
130
|
+
flex: 1 1 auto;
|
|
131
|
+
min-width: 0;
|
|
132
|
+
display: flex;
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
}
|
|
135
|
+
.ui-pal-line,
|
|
136
|
+
.ui-pal-detail {
|
|
137
|
+
display: block;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
white-space: nowrap;
|
|
141
|
+
}
|
|
142
|
+
.ui-pal-label {
|
|
143
|
+
font-size: var(--text-control);
|
|
144
|
+
color: var(--ink);
|
|
145
|
+
}
|
|
146
|
+
.ui-pal-label.is-code {
|
|
147
|
+
font-family: var(--font-mono);
|
|
148
|
+
font-size: var(--text-compact);
|
|
149
|
+
}
|
|
150
|
+
.ui-pal-hit {
|
|
151
|
+
background: transparent;
|
|
152
|
+
color: inherit;
|
|
153
|
+
font-weight: 700;
|
|
154
|
+
}
|
|
155
|
+
.ui-pal-detail {
|
|
156
|
+
font-size: var(--text-small);
|
|
157
|
+
line-height: 20px;
|
|
158
|
+
color: var(--ink-muted);
|
|
159
|
+
}
|
|
160
|
+
/* PA: the description wraps onto a second line; cut from the third. */
|
|
161
|
+
.ui-pal .ui-pal-detail {
|
|
162
|
+
display: -webkit-box;
|
|
163
|
+
-webkit-box-orient: vertical;
|
|
164
|
+
-webkit-line-clamp: 2;
|
|
165
|
+
line-clamp: 2;
|
|
166
|
+
white-space: normal;
|
|
167
|
+
overflow-wrap: anywhere;
|
|
168
|
+
}
|
|
169
|
+
.ui-pal-empty {
|
|
170
|
+
margin: 0;
|
|
171
|
+
padding: var(--space-6) var(--space-4);
|
|
172
|
+
font-size: var(--text-compact);
|
|
173
|
+
color: var(--ink-muted);
|
|
174
|
+
text-align: center;
|
|
175
|
+
}
|
|
176
|
+
.ui-pal-loading,
|
|
177
|
+
.ui-pal-count {
|
|
178
|
+
flex: 0 0 auto;
|
|
179
|
+
margin: 0;
|
|
180
|
+
padding: var(--space-2) var(--space-4);
|
|
181
|
+
border-top: 1px solid var(--line);
|
|
182
|
+
font-size: var(--text-small);
|
|
183
|
+
color: var(--ink-muted);
|
|
184
|
+
}
|
|
185
|
+
.ui-pal-keys {
|
|
186
|
+
flex: 0 0 auto;
|
|
187
|
+
display: flex;
|
|
188
|
+
gap: var(--space-4);
|
|
189
|
+
padding: var(--space-2) var(--space-4);
|
|
190
|
+
border-top: 1px solid var(--line);
|
|
191
|
+
font-size: var(--text-small);
|
|
192
|
+
color: var(--ink-muted);
|
|
193
|
+
white-space: nowrap;
|
|
194
|
+
}
|
|
195
|
+
.ui-pal-keys span {
|
|
196
|
+
display: inline-flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
gap: 4px;
|
|
199
|
+
}
|
|
200
|
+
.ui-pal-keys kbd {
|
|
201
|
+
min-width: 20px;
|
|
202
|
+
height: 20px;
|
|
203
|
+
padding: 0 5px;
|
|
204
|
+
box-sizing: border-box;
|
|
205
|
+
display: inline-flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
border: 1px solid var(--line-strong);
|
|
209
|
+
border-radius: var(--radius-xs);
|
|
210
|
+
font-family: var(--font-mono);
|
|
211
|
+
font-size: var(--text-mini);
|
|
212
|
+
}
|
|
213
|
+
@media (hover: none), (pointer: coarse) {
|
|
214
|
+
.ui-pal-keys {
|
|
215
|
+
display: none;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
@media (max-width: 599px) {
|
|
219
|
+
.ui-pal {
|
|
220
|
+
top: 64px;
|
|
221
|
+
max-height: 55dvh;
|
|
222
|
+
}
|
|
223
|
+
.ui-pal-input {
|
|
224
|
+
height: 52px;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
@media (prefers-reduced-motion: reduce) {
|
|
228
|
+
.ui-pal {
|
|
229
|
+
animation: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './IconButton.css';
|
|
4
|
+
@layer ui.components {
|
|
5
|
+
/* ConsoleLayout: a full-screen monitoring layout. Top bar, main view with a side panel and a bottom row, no page
|
|
6
|
+
scroll; the frame zooms 1 to 1.5x from 1440 x 900 up (inline zoom, width and height from the component). */
|
|
7
|
+
.ui-console {
|
|
8
|
+
container-type: inline-size;
|
|
9
|
+
height: 100dvh;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
background: var(--bg);
|
|
12
|
+
color: var(--ink);
|
|
13
|
+
}
|
|
14
|
+
.ui-console-frame {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-columns: minmax(0, 1fr) 400px;
|
|
20
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
21
|
+
gap: 12px;
|
|
22
|
+
padding: 12px;
|
|
23
|
+
}
|
|
24
|
+
@container (max-width: 1279px) {
|
|
25
|
+
.ui-console-frame {
|
|
26
|
+
grid-template-columns: minmax(0, 1fr) 360px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.ui-console-top {
|
|
30
|
+
grid-column: 1 / -1;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
gap: var(--space-4);
|
|
35
|
+
min-height: 64px;
|
|
36
|
+
padding: 0 var(--space-4);
|
|
37
|
+
border-radius: var(--radius-lg);
|
|
38
|
+
background: var(--surface);
|
|
39
|
+
box-shadow: var(--shadow-card);
|
|
40
|
+
font-size: var(--text-body);
|
|
41
|
+
line-height: 1.5;
|
|
42
|
+
}
|
|
43
|
+
.ui-console-start,
|
|
44
|
+
.ui-console-end {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: var(--space-3);
|
|
48
|
+
min-width: 0;
|
|
49
|
+
}
|
|
50
|
+
.ui-console-title {
|
|
51
|
+
margin: 0;
|
|
52
|
+
font-size: inherit;
|
|
53
|
+
line-height: inherit;
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
.ui-console-status,
|
|
58
|
+
.ui-console-clock {
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
}
|
|
61
|
+
.ui-console-kpis {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: stretch;
|
|
64
|
+
}
|
|
65
|
+
.ui-console-main {
|
|
66
|
+
grid-column: 1;
|
|
67
|
+
grid-row: 2;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
min-height: 0;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
}
|
|
73
|
+
.ui-console-main > * {
|
|
74
|
+
flex: 1 1 auto;
|
|
75
|
+
min-height: 0;
|
|
76
|
+
overflow: auto;
|
|
77
|
+
/* a column, so a ZoneMap with fill (or any flex: 1 child) takes the card's remaining height */
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
}
|
|
81
|
+
.ui-console-side {
|
|
82
|
+
grid-column: 2;
|
|
83
|
+
grid-row: 2 / 4;
|
|
84
|
+
min-height: 0;
|
|
85
|
+
overflow-y: auto;
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
gap: 12px;
|
|
89
|
+
/* room for the cards' shadows inside the scrolling column */
|
|
90
|
+
margin: -12px;
|
|
91
|
+
padding: 12px;
|
|
92
|
+
}
|
|
93
|
+
.ui-console-side > * {
|
|
94
|
+
flex: none;
|
|
95
|
+
}
|
|
96
|
+
.ui-console-bottom {
|
|
97
|
+
grid-column: 1;
|
|
98
|
+
grid-row: 3;
|
|
99
|
+
min-width: 0;
|
|
100
|
+
min-height: 0;
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
}
|
|
104
|
+
/* Phones: one scrolling column, top bar first, then the main view, side cards, bottom row and extra cards. */
|
|
105
|
+
.ui-console.is-stacked {
|
|
106
|
+
height: auto;
|
|
107
|
+
min-height: 100dvh;
|
|
108
|
+
overflow: visible;
|
|
109
|
+
}
|
|
110
|
+
.ui-console.is-stacked .ui-console-frame {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
height: auto;
|
|
114
|
+
}
|
|
115
|
+
.ui-console.is-stacked .ui-console-top {
|
|
116
|
+
flex-wrap: wrap;
|
|
117
|
+
padding: var(--space-3) var(--space-4);
|
|
118
|
+
}
|
|
119
|
+
.ui-console.is-stacked .ui-console-end {
|
|
120
|
+
flex-wrap: wrap;
|
|
121
|
+
row-gap: var(--space-2);
|
|
122
|
+
}
|
|
123
|
+
.ui-console.is-stacked .ui-console-kpis {
|
|
124
|
+
order: 1;
|
|
125
|
+
width: 100%;
|
|
126
|
+
overflow-x: auto;
|
|
127
|
+
}
|
|
128
|
+
.ui-console.is-stacked .ui-console-main {
|
|
129
|
+
min-height: 320px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './Button.css';
|
|
4
|
+
@layer ui.components {
|
|
5
|
+
.ui-danger {
|
|
6
|
+
padding: 18px;
|
|
7
|
+
border: 1px solid var(--danger);
|
|
8
|
+
border-radius: var(--radius-lg);
|
|
9
|
+
background: var(--surface);
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 8px;
|
|
13
|
+
}
|
|
14
|
+
.ui-danger-title {
|
|
15
|
+
margin: 0;
|
|
16
|
+
font-size: var(--text-lead);
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
color: var(--danger-text);
|
|
19
|
+
}
|
|
20
|
+
.ui-danger-row {
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 12px;
|
|
25
|
+
flex-wrap: wrap;
|
|
26
|
+
}
|
|
27
|
+
.ui-danger-row p {
|
|
28
|
+
margin: 0;
|
|
29
|
+
font-size: var(--text-compact);
|
|
30
|
+
color: var(--ink-muted);
|
|
31
|
+
}
|
|
32
|
+
}
|