@seanyeh77/ui 0.41.0 → 0.42.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 +1 -1
- package/dist/bundle.js.map +1 -1
- package/dist/components/AccentPicker/AccentPicker.d.ts +12 -0
- package/dist/components/AccentPicker/AccentPicker.js +96 -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 +56 -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 +195 -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 +54 -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 +125 -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 +790 -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 +242 -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 +119 -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 +1267 -0
- package/dist/components/DataTable/DataTable.js.map +1 -0
- package/dist/components/DataTable/SortButton.js +222 -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 +373 -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 +104 -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 +88 -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 +87 -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 +64 -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 +63 -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 +121 -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 +104 -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 +1644 -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 +113 -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 +716 -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 +75 -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 +116 -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 +92 -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 +97 -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 +46 -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 +220 -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 +138 -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 +220 -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 +72 -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 +22 -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 +138 -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 +27 -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 +55 -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 +588 -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 +1137 -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 +23 -0
- package/dist/icons/Icon.js +90 -0
- package/dist/icons/Icon.js.map +1 -0
- package/dist/icons/data.d.ts +150 -0
- package/dist/icons/data.js +256 -0
- package/dist/icons/data.js.map +1 -0
- package/dist/index.d.ts +84 -2293
- package/dist/index.js +79 -13348
- package/dist/internal/Field.js +71 -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 +75 -0
- package/dist/internal/scrollHint.js.map +1 -0
- package/dist/internal/tableTools.js +109 -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 +49 -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,266 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './Dialog.css';
|
|
4
|
+
@import './Alert.css';
|
|
5
|
+
@import './IconButton.css';
|
|
6
|
+
@import './InlineCode.css';
|
|
7
|
+
@import './AiMark.css';
|
|
8
|
+
@import './Term.css';
|
|
9
|
+
@import './CodeView.css';
|
|
10
|
+
@layer ui.components {
|
|
11
|
+
/* Markdown: project documents and code comments in the system's type; # is an h4 (20 px). */
|
|
12
|
+
.ui-md {
|
|
13
|
+
font-size: var(--text-body);
|
|
14
|
+
line-height: 1.65;
|
|
15
|
+
color: var(--ink);
|
|
16
|
+
/* break-word, not anywhere: a long word still wraps, but a table does not think every column can shrink to one
|
|
17
|
+
letter and squash identifiers such as VirtualRouter._probe_neighbor into a letter per line. */
|
|
18
|
+
overflow-wrap: break-word;
|
|
19
|
+
}
|
|
20
|
+
.ui-md.is-small {
|
|
21
|
+
font-size: var(--text-small);
|
|
22
|
+
line-height: 20px;
|
|
23
|
+
}
|
|
24
|
+
.ui-md > :first-child {
|
|
25
|
+
margin-top: 0;
|
|
26
|
+
}
|
|
27
|
+
.ui-md > :last-child {
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
}
|
|
30
|
+
.ui-md p,
|
|
31
|
+
.ui-md ul,
|
|
32
|
+
.ui-md ol,
|
|
33
|
+
.ui-md blockquote,
|
|
34
|
+
.ui-md hr,
|
|
35
|
+
.ui-md .ui-md-code,
|
|
36
|
+
.ui-md .ui-md-table-wrap {
|
|
37
|
+
margin: 0 0 var(--space-3);
|
|
38
|
+
}
|
|
39
|
+
.ui-md h4.ui-md-h {
|
|
40
|
+
margin: var(--space-5) 0 var(--space-2);
|
|
41
|
+
font-size: var(--text-h4);
|
|
42
|
+
line-height: 28px;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
}
|
|
45
|
+
.ui-md h5.ui-md-h,
|
|
46
|
+
.ui-md h6.ui-md-h,
|
|
47
|
+
.ui-md h3.ui-md-h {
|
|
48
|
+
margin: var(--space-4) 0 var(--space-1);
|
|
49
|
+
font-size: 1em;
|
|
50
|
+
line-height: inherit;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
}
|
|
53
|
+
.ui-md h3.ui-md-h {
|
|
54
|
+
font-size: var(--text-h3);
|
|
55
|
+
line-height: 32px;
|
|
56
|
+
}
|
|
57
|
+
.ui-md.is-small h4.ui-md-h {
|
|
58
|
+
font-size: var(--text-small);
|
|
59
|
+
line-height: 20px;
|
|
60
|
+
}
|
|
61
|
+
.ui-md ul,
|
|
62
|
+
.ui-md ol {
|
|
63
|
+
padding-left: var(--space-6);
|
|
64
|
+
}
|
|
65
|
+
.ui-md li > ul,
|
|
66
|
+
.ui-md li > ol,
|
|
67
|
+
.ui-md li > p {
|
|
68
|
+
margin: var(--space-1) 0 0;
|
|
69
|
+
}
|
|
70
|
+
.ui-md blockquote {
|
|
71
|
+
padding-left: var(--space-3);
|
|
72
|
+
border-left: 3px solid var(--line);
|
|
73
|
+
color: var(--ink-muted);
|
|
74
|
+
}
|
|
75
|
+
.ui-md hr {
|
|
76
|
+
height: 0;
|
|
77
|
+
border: 0;
|
|
78
|
+
border-top: 1px solid var(--line);
|
|
79
|
+
}
|
|
80
|
+
.ui-md-link {
|
|
81
|
+
padding: 0;
|
|
82
|
+
border: 0;
|
|
83
|
+
background: none;
|
|
84
|
+
color: var(--accent-text);
|
|
85
|
+
font: inherit;
|
|
86
|
+
text-decoration: underline;
|
|
87
|
+
text-underline-offset: 2px;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
.ui-md-table-wrap {
|
|
91
|
+
max-width: 100%;
|
|
92
|
+
overflow-x: auto;
|
|
93
|
+
border-radius: var(--radius-sm);
|
|
94
|
+
box-shadow: 0 0 0 1px var(--line);
|
|
95
|
+
}
|
|
96
|
+
.ui-md-table {
|
|
97
|
+
border-collapse: collapse;
|
|
98
|
+
min-width: 100%;
|
|
99
|
+
font-size: var(--text-compact);
|
|
100
|
+
line-height: 20px;
|
|
101
|
+
}
|
|
102
|
+
.ui-md-table th {
|
|
103
|
+
background: var(--surface-sub);
|
|
104
|
+
font-weight: 700;
|
|
105
|
+
text-align: left;
|
|
106
|
+
white-space: nowrap;
|
|
107
|
+
}
|
|
108
|
+
.ui-md-table th,
|
|
109
|
+
.ui-md-table td {
|
|
110
|
+
padding: 10px 12px;
|
|
111
|
+
border-right: 1px solid var(--line);
|
|
112
|
+
border-bottom: 1px solid var(--line);
|
|
113
|
+
vertical-align: top;
|
|
114
|
+
}
|
|
115
|
+
.ui-md-table th:last-child,
|
|
116
|
+
.ui-md-table td:last-child {
|
|
117
|
+
border-right: 0;
|
|
118
|
+
}
|
|
119
|
+
.ui-md-table tbody tr:last-child td {
|
|
120
|
+
border-bottom: 0;
|
|
121
|
+
}
|
|
122
|
+
.ui-md-table tbody tr:nth-child(even) {
|
|
123
|
+
background: var(--surface-sub);
|
|
124
|
+
}
|
|
125
|
+
.ui-md-table td.is-num {
|
|
126
|
+
font-family: var(--font-mono);
|
|
127
|
+
font-variant-numeric: tabular-nums;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* DA: a <details> block in Markdown: the summary is a button with a caret; closed content stays findable. */
|
|
132
|
+
.ui-md-details {
|
|
133
|
+
margin: 0 0 var(--space-3);
|
|
134
|
+
}
|
|
135
|
+
.ui-md-summary {
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
gap: 6px;
|
|
139
|
+
min-height: 40px;
|
|
140
|
+
padding: 0;
|
|
141
|
+
border: 0;
|
|
142
|
+
border-radius: var(--radius-sm);
|
|
143
|
+
background: none;
|
|
144
|
+
color: var(--ink);
|
|
145
|
+
font: inherit;
|
|
146
|
+
font-weight: 600;
|
|
147
|
+
text-align: left;
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
}
|
|
150
|
+
.ui-md-caret {
|
|
151
|
+
flex: none;
|
|
152
|
+
color: var(--ink-muted);
|
|
153
|
+
transition: transform var(--dur-expand) ease;
|
|
154
|
+
}
|
|
155
|
+
.ui-md-details.is-open .ui-md-caret {
|
|
156
|
+
transform: rotate(90deg);
|
|
157
|
+
}
|
|
158
|
+
.ui-md-details-body > :last-child {
|
|
159
|
+
margin-bottom: 0;
|
|
160
|
+
}
|
|
161
|
+
.ui-md .ui-md-alert {
|
|
162
|
+
margin: 0 0 var(--space-3);
|
|
163
|
+
}
|
|
164
|
+
.ui-md-alert .ui-alert-body > :last-child {
|
|
165
|
+
margin-bottom: 0;
|
|
166
|
+
}
|
|
167
|
+
/* Tables in a narrow panel: the table scrolls inside its frame; code in a cell wraps instead of widening it. */
|
|
168
|
+
.ui-md-tablebox {
|
|
169
|
+
container-type: inline-size;
|
|
170
|
+
margin: 0 0 var(--space-3);
|
|
171
|
+
}
|
|
172
|
+
.ui-md .ui-md-tablebox .ui-md-table-wrap {
|
|
173
|
+
margin: 0;
|
|
174
|
+
}
|
|
175
|
+
/* TB: the corner button above the table's right end shows the whole table in a wide dialog. */
|
|
176
|
+
.ui-md-table-tools {
|
|
177
|
+
display: flex;
|
|
178
|
+
justify-content: flex-end;
|
|
179
|
+
margin-bottom: var(--space-1);
|
|
180
|
+
}
|
|
181
|
+
.ui-table-dialog .ui-md-table-wrap {
|
|
182
|
+
max-height: calc(100vh - 200px);
|
|
183
|
+
overflow: auto;
|
|
184
|
+
}
|
|
185
|
+
/* TA: each header cell's right border drags; the line turns 3 px accent while hovered, dragged or focused. */
|
|
186
|
+
.ui-md-table th {
|
|
187
|
+
position: relative;
|
|
188
|
+
}
|
|
189
|
+
.ui-md-table th:last-child .ui-col-resize {
|
|
190
|
+
right: 0;
|
|
191
|
+
width: 6px;
|
|
192
|
+
}
|
|
193
|
+
.ui-md-table th:last-child .ui-col-resize::after {
|
|
194
|
+
left: auto;
|
|
195
|
+
right: 0;
|
|
196
|
+
transform: none;
|
|
197
|
+
}
|
|
198
|
+
.ui-md-tablebox.is-resizing {
|
|
199
|
+
cursor: col-resize;
|
|
200
|
+
user-select: none;
|
|
201
|
+
}
|
|
202
|
+
/* A cell of code that wraps (a command) keeps at least 16 em, so it reads in a few lines instead of a word per line;
|
|
203
|
+
when the columns do not fit, the table scrolls sideways. */
|
|
204
|
+
.ui-md-table td:has(> .ui-code:not(.is-link)) {
|
|
205
|
+
min-width: 16em;
|
|
206
|
+
}
|
|
207
|
+
/* TB: under 480 px each row is a card: the column name above each value, rows divided by a line. */
|
|
208
|
+
@container (max-width: 479px) {
|
|
209
|
+
.ui-md-table,
|
|
210
|
+
.ui-md-table tbody,
|
|
211
|
+
.ui-md-table tr,
|
|
212
|
+
.ui-md-table td {
|
|
213
|
+
display: block;
|
|
214
|
+
min-width: 0;
|
|
215
|
+
}
|
|
216
|
+
.ui-md-table-tools {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
.ui-col-resize {
|
|
220
|
+
display: none;
|
|
221
|
+
}
|
|
222
|
+
.ui-md-table {
|
|
223
|
+
width: auto !important;
|
|
224
|
+
}
|
|
225
|
+
.ui-md-table colgroup {
|
|
226
|
+
display: none;
|
|
227
|
+
}
|
|
228
|
+
.ui-md-table thead {
|
|
229
|
+
position: absolute;
|
|
230
|
+
width: 1px;
|
|
231
|
+
height: 1px;
|
|
232
|
+
overflow: hidden;
|
|
233
|
+
clip-path: inset(50%);
|
|
234
|
+
}
|
|
235
|
+
.ui-md-table tr {
|
|
236
|
+
padding: var(--space-2) var(--space-3);
|
|
237
|
+
border-bottom: 1px solid var(--line);
|
|
238
|
+
}
|
|
239
|
+
.ui-md-table tbody tr:last-child {
|
|
240
|
+
border-bottom: 0;
|
|
241
|
+
}
|
|
242
|
+
.ui-md-table tbody tr:nth-child(even) {
|
|
243
|
+
background: none;
|
|
244
|
+
}
|
|
245
|
+
.ui-md-table td,
|
|
246
|
+
.ui-md-table td:has(.ui-code) {
|
|
247
|
+
min-width: 0;
|
|
248
|
+
padding: var(--space-1) 0;
|
|
249
|
+
border: 0;
|
|
250
|
+
text-align: left !important;
|
|
251
|
+
}
|
|
252
|
+
.ui-md-table td::before {
|
|
253
|
+
content: attr(data-label);
|
|
254
|
+
display: block;
|
|
255
|
+
color: var(--ink-muted);
|
|
256
|
+
font-family: var(--font-sans);
|
|
257
|
+
font-size: var(--text-small);
|
|
258
|
+
line-height: 20px;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
/* Headings of Markdown inside a Section stay under the section's 20 px title. */
|
|
262
|
+
.ui-sec-content .ui-md h4.ui-md-h {
|
|
263
|
+
font-size: var(--text-body);
|
|
264
|
+
line-height: 24px;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './Dialog.css';
|
|
4
|
+
@import './IconButton.css';
|
|
5
|
+
@layer ui.components {
|
|
6
|
+
.ui-menu-trigger {
|
|
7
|
+
border-color: transparent;
|
|
8
|
+
color: var(--ink-muted);
|
|
9
|
+
}
|
|
10
|
+
.ui-menu-trigger[data-popup-open] {
|
|
11
|
+
background: var(--surface-sub);
|
|
12
|
+
}
|
|
13
|
+
.ui-menu {
|
|
14
|
+
min-width: 190px;
|
|
15
|
+
padding: 6px;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
border-radius: var(--radius-md);
|
|
18
|
+
background: var(--surface);
|
|
19
|
+
border: 1px solid var(--line);
|
|
20
|
+
box-shadow: var(--shadow-overlay);
|
|
21
|
+
animation: ui-pop-scale var(--dur-menu) var(--ease-standard) both;
|
|
22
|
+
}
|
|
23
|
+
.ui-menu-item {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 10px;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 36px;
|
|
29
|
+
padding: 0 10px;
|
|
30
|
+
border: 0;
|
|
31
|
+
border-radius: var(--radius-sm);
|
|
32
|
+
background: transparent;
|
|
33
|
+
color: var(--ink);
|
|
34
|
+
font: inherit;
|
|
35
|
+
font-size: var(--text-compact);
|
|
36
|
+
text-align: left;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
.ui-menu-item:hover,
|
|
41
|
+
.ui-menu-item:focus-visible,
|
|
42
|
+
.ui-menu-item[data-highlighted] {
|
|
43
|
+
background: var(--surface-sub);
|
|
44
|
+
outline: none;
|
|
45
|
+
}
|
|
46
|
+
.ui-menu-item:disabled {
|
|
47
|
+
color: var(--ink-muted);
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
}
|
|
50
|
+
.ui-menu-item.is-danger {
|
|
51
|
+
color: var(--danger-text);
|
|
52
|
+
}
|
|
53
|
+
.ui-menu-item .ui-icon,
|
|
54
|
+
.ui-menu-noicon {
|
|
55
|
+
flex: 0 0 16px;
|
|
56
|
+
}
|
|
57
|
+
.ui-menu-label {
|
|
58
|
+
flex: 1 1 auto;
|
|
59
|
+
}
|
|
60
|
+
.ui-menu-kbd {
|
|
61
|
+
margin-left: 16px;
|
|
62
|
+
font-family: var(--font-mono);
|
|
63
|
+
font-size: var(--text-mini);
|
|
64
|
+
color: var(--ink-muted);
|
|
65
|
+
}
|
|
66
|
+
.ui-menu-item.is-danger .ui-menu-kbd {
|
|
67
|
+
color: inherit;
|
|
68
|
+
opacity: 0.75;
|
|
69
|
+
}
|
|
70
|
+
.ui-menu-sep {
|
|
71
|
+
height: 1px;
|
|
72
|
+
margin: 6px 4px;
|
|
73
|
+
background: var(--line);
|
|
74
|
+
}
|
|
75
|
+
@media (prefers-reduced-motion: reduce) {
|
|
76
|
+
.ui-menu {
|
|
77
|
+
animation: ui-pop-fade var(--dur-hover) ease both;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
.ui-menu {
|
|
81
|
+
width: max-content;
|
|
82
|
+
max-width: var(--available-width, 100vw);
|
|
83
|
+
}
|
|
84
|
+
/* Base UI renders list items as divs; keep the sizing the old buttons had. */
|
|
85
|
+
.ui-menu-item {
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
/* Meter: a value against its levels. The head is a grid so stacked meters line up: the state ends where the value
|
|
5
|
+
column starts, the value is right-aligned in a fixed column. */
|
|
6
|
+
.ui-meter {
|
|
7
|
+
--meter-ok: color-mix(in srgb, var(--success) 22%, var(--surface-sub));
|
|
8
|
+
--meter-warn: color-mix(in srgb, var(--warning) 30%, var(--surface-sub));
|
|
9
|
+
--meter-over: color-mix(in srgb, var(--danger) 28%, var(--surface-sub));
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 6px;
|
|
13
|
+
min-width: 0;
|
|
14
|
+
}
|
|
15
|
+
.ui-meter + .ui-meter {
|
|
16
|
+
margin-top: var(--space-3);
|
|
17
|
+
}
|
|
18
|
+
.ui-meter-head {
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: minmax(0, 1fr) auto var(--meter-value-width, 8ch);
|
|
21
|
+
align-items: baseline;
|
|
22
|
+
column-gap: var(--space-3);
|
|
23
|
+
}
|
|
24
|
+
.ui-meter-label {
|
|
25
|
+
min-width: 0;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
30
|
+
.ui-meter-state {
|
|
31
|
+
font-size: var(--text-small);
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
text-align: right;
|
|
35
|
+
}
|
|
36
|
+
.ui-meter-state.is-success {
|
|
37
|
+
color: var(--success-text);
|
|
38
|
+
}
|
|
39
|
+
.ui-meter-state.is-warning {
|
|
40
|
+
color: var(--warning-text);
|
|
41
|
+
}
|
|
42
|
+
.ui-meter-state.is-danger {
|
|
43
|
+
color: var(--danger-text);
|
|
44
|
+
}
|
|
45
|
+
.ui-meter-value {
|
|
46
|
+
font-family: var(--font-mono);
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
font-variant-numeric: tabular-nums;
|
|
49
|
+
text-align: right;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
}
|
|
52
|
+
.ui-meter-track {
|
|
53
|
+
position: relative;
|
|
54
|
+
height: 8px;
|
|
55
|
+
border-radius: 4px;
|
|
56
|
+
}
|
|
57
|
+
.ui-meter-mark {
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: -4px;
|
|
60
|
+
width: 2px;
|
|
61
|
+
height: 16px;
|
|
62
|
+
margin-left: -1px;
|
|
63
|
+
border-radius: 1px;
|
|
64
|
+
}
|
|
65
|
+
.ui-meter-mark.is-warning {
|
|
66
|
+
background: var(--warning-text);
|
|
67
|
+
}
|
|
68
|
+
.ui-meter-mark.is-danger {
|
|
69
|
+
background: var(--danger-text);
|
|
70
|
+
}
|
|
71
|
+
.ui-meter-dot {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 50%;
|
|
74
|
+
width: 14px;
|
|
75
|
+
height: 14px;
|
|
76
|
+
border-radius: 7px;
|
|
77
|
+
transform: translate(-50%, -50%);
|
|
78
|
+
box-shadow: 0 0 0 2px var(--surface);
|
|
79
|
+
transition: left var(--dur-toggle) ease;
|
|
80
|
+
}
|
|
81
|
+
.ui-meter-dot.is-success {
|
|
82
|
+
background: var(--success-text);
|
|
83
|
+
}
|
|
84
|
+
.ui-meter-dot.is-warning {
|
|
85
|
+
background: var(--warning-text);
|
|
86
|
+
}
|
|
87
|
+
.ui-meter-dot.is-danger {
|
|
88
|
+
background: var(--danger-text);
|
|
89
|
+
}
|
|
90
|
+
.ui-meter-marks {
|
|
91
|
+
position: relative;
|
|
92
|
+
height: 18px;
|
|
93
|
+
font-size: var(--text-mini);
|
|
94
|
+
line-height: 18px;
|
|
95
|
+
color: var(--ink-muted);
|
|
96
|
+
}
|
|
97
|
+
.ui-meter-marks > span {
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: 0;
|
|
100
|
+
padding: 0 4px;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
}
|
|
103
|
+
/* Marks close together: the limit label takes a second line. */
|
|
104
|
+
.ui-meter-marks.is-stacked {
|
|
105
|
+
height: 36px;
|
|
106
|
+
}
|
|
107
|
+
.ui-meter-marks.is-stacked > span.is-danger {
|
|
108
|
+
top: 18px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@layer ui.components {
|
|
4
|
+
.ui-tabbar {
|
|
5
|
+
position: relative;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
height: 60px;
|
|
8
|
+
display: flex;
|
|
9
|
+
background: var(--surface-chrome);
|
|
10
|
+
border-top: 1px solid var(--line);
|
|
11
|
+
}
|
|
12
|
+
.ui-tabbar-pill {
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 15px;
|
|
15
|
+
height: 30px;
|
|
16
|
+
border-radius: var(--radius-md);
|
|
17
|
+
background: var(--accent-soft);
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
}
|
|
20
|
+
.ui-tabbar-item {
|
|
21
|
+
position: relative;
|
|
22
|
+
flex: 1 1 0;
|
|
23
|
+
min-height: var(--touch-target);
|
|
24
|
+
border: 0;
|
|
25
|
+
background: transparent;
|
|
26
|
+
color: var(--ink-muted);
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
.ui-tabbar-item.is-selected {
|
|
33
|
+
color: var(--accent-text);
|
|
34
|
+
}
|
|
35
|
+
/* MA: an 11 px label under each icon; the pill sits behind the icon only. */
|
|
36
|
+
.ui-tabbar.has-labels {
|
|
37
|
+
height: 64px;
|
|
38
|
+
}
|
|
39
|
+
.ui-tabbar.has-labels .ui-tabbar-item {
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
gap: 2px;
|
|
42
|
+
padding-top: 2px;
|
|
43
|
+
}
|
|
44
|
+
.ui-tabbar.has-labels .ui-tabbar-pill {
|
|
45
|
+
top: 8px;
|
|
46
|
+
}
|
|
47
|
+
.ui-tabbar-label {
|
|
48
|
+
font-size: var(--text-mini);
|
|
49
|
+
line-height: 14px;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
}
|
|
52
|
+
.ui-tabbar-item.is-selected .ui-tabbar-label {
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
}
|
|
55
|
+
@media (prefers-reduced-motion: reduce) {
|
|
56
|
+
.ui-tabbar-pill {
|
|
57
|
+
transition: opacity var(--dur-hover) ease !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.ui-shell .ui-tabbar {
|
|
61
|
+
flex: 0 0 auto;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@layer theme, base, ui, components, utilities;
|
|
2
|
+
@layer ui.tokens, ui.components;
|
|
3
|
+
@import './Checkbox.css';
|
|
4
|
+
@import './Select.css';
|
|
5
|
+
@layer ui.components {
|
|
6
|
+
.ui-ms {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: nowrap;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 6px;
|
|
11
|
+
min-height: var(--control-height);
|
|
12
|
+
padding: 4px 8px;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
border: 1px solid var(--line-strong);
|
|
15
|
+
border-radius: var(--radius-md);
|
|
16
|
+
background: var(--surface-input);
|
|
17
|
+
cursor: text;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
20
|
+
.ui-chip {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: 2px;
|
|
24
|
+
height: 28px;
|
|
25
|
+
padding: 0 4px 0 10px;
|
|
26
|
+
border-radius: var(--radius-chip);
|
|
27
|
+
background: var(--surface-sub);
|
|
28
|
+
font-size: var(--text-compact);
|
|
29
|
+
white-space: nowrap;
|
|
30
|
+
}
|
|
31
|
+
.ui-chip-x {
|
|
32
|
+
width: 22px;
|
|
33
|
+
height: 22px;
|
|
34
|
+
border: 0;
|
|
35
|
+
border-radius: var(--radius-sm);
|
|
36
|
+
background: transparent;
|
|
37
|
+
color: var(--ink-muted);
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
.ui-chip-x:hover {
|
|
44
|
+
background: var(--line);
|
|
45
|
+
}
|
|
46
|
+
.ui-chip-more {
|
|
47
|
+
height: 28px;
|
|
48
|
+
padding: 0 8px;
|
|
49
|
+
border-radius: var(--radius-chip);
|
|
50
|
+
background: var(--accent-soft);
|
|
51
|
+
color: var(--accent-text);
|
|
52
|
+
font-size: var(--text-small);
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
line-height: 28px;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
.ui-ms-input {
|
|
58
|
+
flex: 1 1 80px;
|
|
59
|
+
min-width: 80px;
|
|
60
|
+
height: 30px;
|
|
61
|
+
border: 0;
|
|
62
|
+
outline: none;
|
|
63
|
+
background: transparent;
|
|
64
|
+
color: var(--ink);
|
|
65
|
+
font: inherit;
|
|
66
|
+
font-size: var(--text-control);
|
|
67
|
+
}
|
|
68
|
+
.ui-ms-opt {
|
|
69
|
+
justify-content: flex-start;
|
|
70
|
+
}
|
|
71
|
+
.ui-ms-create {
|
|
72
|
+
color: var(--accent-text);
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
}
|
|
75
|
+
.ui-ms-chips {
|
|
76
|
+
display: contents;
|
|
77
|
+
}
|
|
78
|
+
}
|