@revikornmann/muka-ui 0.2.3 → 0.3.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/build/manifest.json +10 -0
- package/dist/cjs/components/AgentTaskList/AgentTaskList.js +1 -0
- package/dist/cjs/components/AgentTaskList/AgentTaskList.js.map +1 -1
- package/dist/cjs/components/Avatar/Avatar.js +1 -0
- package/dist/cjs/components/Avatar/Avatar.js.map +1 -1
- package/dist/cjs/components/Badge/Badge.css +77 -28
- package/dist/cjs/components/Badge/Badge.js +2 -0
- package/dist/cjs/components/Badge/Badge.js.map +1 -1
- package/dist/cjs/components/BottomBar/BottomBar.css +9 -0
- package/dist/cjs/components/Breadcrumb/Breadcrumb.js +1 -0
- package/dist/cjs/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/cjs/components/Button/Button.css +10 -4
- package/dist/cjs/components/Button/Button.js +1 -0
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Card/Card.js +1 -0
- package/dist/cjs/components/Card/Card.js.map +1 -1
- package/dist/cjs/components/ChatComposer/ChatComposer.js +1 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ChatMessageList/ChatMessageList.js +1 -0
- package/dist/cjs/components/ChatMessageList/ChatMessageList.js.map +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.js +1 -0
- package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/components/CheckboxTile/CheckboxTile.js +1 -0
- package/dist/cjs/components/CheckboxTile/CheckboxTile.js.map +1 -1
- package/dist/cjs/components/Chip/Chip.css +155 -65
- package/dist/cjs/components/Chip/Chip.js +6 -5
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/Combobox/Combobox.js +1 -0
- package/dist/cjs/components/Combobox/Combobox.js.map +1 -1
- package/dist/cjs/components/DataTable/DataTable.css +328 -25
- package/dist/cjs/components/DataTable/DataTable.js +185 -32
- package/dist/cjs/components/DataTable/DataTable.js.map +1 -1
- package/dist/cjs/components/DataTable/index.js.map +1 -1
- package/dist/cjs/components/DatePicker/DatePicker.js +1 -0
- package/dist/cjs/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/cjs/components/Dialog/Dialog.js +1 -0
- package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js +1 -0
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js +1 -0
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js +1 -0
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js +1 -0
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/cjs/components/Drawer/Drawer.js +1 -0
- package/dist/cjs/components/Drawer/Drawer.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUpload.js +1 -0
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/Input/Input.js +1 -0
- package/dist/cjs/components/Input/Input.js.map +1 -1
- package/dist/cjs/components/LicensePlateInput/LicensePlateInput.js +1 -0
- package/dist/cjs/components/LicensePlateInput/LicensePlateInput.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.js +1 -0
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/Menu/Menu.js +1 -0
- package/dist/cjs/components/Menu/Menu.js.map +1 -1
- package/dist/cjs/components/NavigationTransition/NavigationTransition.js +1 -0
- package/dist/cjs/components/NavigationTransition/NavigationTransition.js.map +1 -1
- package/dist/cjs/components/NumberInput/NumberInput.js +1 -0
- package/dist/cjs/components/NumberInput/NumberInput.js.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.js +1 -0
- package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js +2 -2
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/cjs/components/PullToRefresh/PullToRefresh.js +1 -0
- package/dist/cjs/components/PullToRefresh/PullToRefresh.js.map +1 -1
- package/dist/cjs/components/Radio/Radio.js +1 -0
- package/dist/cjs/components/Radio/Radio.js.map +1 -1
- package/dist/cjs/components/RadioTile/RadioTile.js +1 -0
- package/dist/cjs/components/RadioTile/RadioTile.js.map +1 -1
- package/dist/cjs/components/RangeSlider/RangeSlider.js +1 -0
- package/dist/cjs/components/RangeSlider/RangeSlider.js.map +1 -1
- package/dist/cjs/components/SearchInput/SearchInput.js +1 -0
- package/dist/cjs/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/cjs/components/SegmentGroup/SegmentGroup.js +1 -0
- package/dist/cjs/components/SegmentGroup/SegmentGroup.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +1 -0
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/SmsOtpField/SmsOtpField.js +1 -0
- package/dist/cjs/components/SmsOtpField/SmsOtpField.js.map +1 -1
- package/dist/cjs/components/SwipeActions/SwipeActions.js +1 -0
- package/dist/cjs/components/SwipeActions/SwipeActions.js.map +1 -1
- package/dist/cjs/components/Table/useTableSelection.js +1 -0
- package/dist/cjs/components/Table/useTableSelection.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +1 -0
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/Textarea/Textarea.js +1 -0
- package/dist/cjs/components/Textarea/Textarea.js.map +1 -1
- package/dist/cjs/components/Tile/Tile.js +1 -0
- package/dist/cjs/components/Tile/Tile.js.map +1 -1
- package/dist/cjs/components/Toast/Toast.js +1 -0
- package/dist/cjs/components/Toast/Toast.js.map +1 -1
- package/dist/cjs/components/Toggle/Toggle.js +1 -0
- package/dist/cjs/components/Toggle/Toggle.js.map +1 -1
- package/dist/cjs/components/TopBar/TopBar.css +46 -19
- package/dist/cjs/components/TopBar/TopBar.js +1 -1
- package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
- package/dist/cjs/components/View/View.css +11 -0
- package/dist/cjs/components/View/View.js +1 -1
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/AgentTaskList/AgentTaskList.js +1 -0
- package/dist/esm/components/AgentTaskList/AgentTaskList.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +1 -0
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Badge/Badge.css +77 -28
- package/dist/esm/components/Badge/Badge.js +2 -0
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +9 -0
- package/dist/esm/components/Breadcrumb/Breadcrumb.js +1 -0
- package/dist/esm/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/esm/components/Button/Button.css +10 -4
- package/dist/esm/components/Button/Button.js +1 -0
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Card/Card.js +1 -0
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/ChatComposer/ChatComposer.js +1 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatMessageList/ChatMessageList.js +1 -0
- package/dist/esm/components/ChatMessageList/ChatMessageList.js.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js +1 -0
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/CheckboxTile/CheckboxTile.js +1 -0
- package/dist/esm/components/CheckboxTile/CheckboxTile.js.map +1 -1
- package/dist/esm/components/Chip/Chip.css +155 -65
- package/dist/esm/components/Chip/Chip.js +6 -5
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/Combobox/Combobox.js +1 -0
- package/dist/esm/components/Combobox/Combobox.js.map +1 -1
- package/dist/esm/components/DataTable/DataTable.css +328 -25
- package/dist/esm/components/DataTable/DataTable.js +185 -32
- package/dist/esm/components/DataTable/DataTable.js.map +1 -1
- package/dist/esm/components/DataTable/index.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +1 -0
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/components/Dialog/Dialog.js +1 -0
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js +1 -0
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js +1 -0
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js +1 -0
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentViewer.js +1 -0
- package/dist/esm/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/esm/components/Drawer/Drawer.js +1 -0
- package/dist/esm/components/Drawer/Drawer.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUpload.js +1 -0
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/Input/Input.js +1 -0
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/LicensePlateInput/LicensePlateInput.js +1 -0
- package/dist/esm/components/LicensePlateInput/LicensePlateInput.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.js +1 -0
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/Menu/Menu.js +1 -0
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/NavigationTransition/NavigationTransition.js +1 -0
- package/dist/esm/components/NavigationTransition/NavigationTransition.js.map +1 -1
- package/dist/esm/components/NumberInput/NumberInput.js +1 -0
- package/dist/esm/components/NumberInput/NumberInput.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +1 -0
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/ProfileBadge/ProfileBadge.js +2 -2
- package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/esm/components/PullToRefresh/PullToRefresh.js +1 -0
- package/dist/esm/components/PullToRefresh/PullToRefresh.js.map +1 -1
- package/dist/esm/components/Radio/Radio.js +1 -0
- package/dist/esm/components/Radio/Radio.js.map +1 -1
- package/dist/esm/components/RadioTile/RadioTile.js +1 -0
- package/dist/esm/components/RadioTile/RadioTile.js.map +1 -1
- package/dist/esm/components/RangeSlider/RangeSlider.js +1 -0
- package/dist/esm/components/RangeSlider/RangeSlider.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +1 -0
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/components/SegmentGroup/SegmentGroup.js +1 -0
- package/dist/esm/components/SegmentGroup/SegmentGroup.js.map +1 -1
- package/dist/esm/components/Select/Select.js +1 -0
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/SmsOtpField/SmsOtpField.js +1 -0
- package/dist/esm/components/SmsOtpField/SmsOtpField.js.map +1 -1
- package/dist/esm/components/SwipeActions/SwipeActions.js +1 -0
- package/dist/esm/components/SwipeActions/SwipeActions.js.map +1 -1
- package/dist/esm/components/Table/useTableSelection.js +1 -0
- package/dist/esm/components/Table/useTableSelection.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js +1 -0
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/Textarea/Textarea.js +1 -0
- package/dist/esm/components/Textarea/Textarea.js.map +1 -1
- package/dist/esm/components/Tile/Tile.js +1 -0
- package/dist/esm/components/Tile/Tile.js.map +1 -1
- package/dist/esm/components/Toast/Toast.js +1 -0
- package/dist/esm/components/Toast/Toast.js.map +1 -1
- package/dist/esm/components/Toggle/Toggle.js +1 -0
- package/dist/esm/components/Toggle/Toggle.js.map +1 -1
- package/dist/esm/components/TopBar/TopBar.css +46 -19
- package/dist/esm/components/TopBar/TopBar.js +1 -1
- package/dist/esm/components/TopBar/TopBar.js.map +1 -1
- package/dist/esm/components/View/View.css +11 -0
- package/dist/esm/components/View/View.js +1 -1
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/Badge.css +77 -28
- package/dist/styles/components/BottomBar.css +9 -0
- package/dist/styles/components/Button.css +10 -4
- package/dist/styles/components/Chip.css +155 -65
- package/dist/styles/components/DataTable.css +328 -25
- package/dist/styles/components/View.css +11 -0
- package/dist/styles/index.css +1416 -858
- package/dist/styles/muka-dark.css +1416 -858
- package/dist/styles/muka-light.css +1416 -858
- package/dist/styles/tokens-bouwflow-dark.css +93 -3
- package/dist/styles/tokens-bouwflow-light.css +93 -3
- package/dist/styles/tokens-fscl-dark.css +93 -3
- package/dist/styles/tokens-fscl-light.css +93 -3
- package/dist/styles/tokens-grip-dark.css +93 -3
- package/dist/styles/tokens-grip-light.css +93 -3
- package/dist/styles/tokens-muka-dark.css +93 -3
- package/dist/styles/tokens-muka-light.css +93 -3
- package/dist/styles/tokens-wireframe-dark.css +93 -3
- package/dist/styles/tokens-wireframe-light.css +150 -60
- package/dist/styles/wireframe-dark.css +1416 -858
- package/dist/styles/wireframe-light.css +1470 -912
- package/dist/types/components/AgentTaskList/AgentTaskList.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Card/Card.d.ts.map +1 -1
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ChatMessageList/ChatMessageList.d.ts.map +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/CheckboxTile/CheckboxTile.d.ts.map +1 -1
- package/dist/types/components/Chip/Chip.d.ts +2 -5
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/components/DataTable/DataTable.d.ts +93 -4
- package/dist/types/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/types/components/DataTable/index.d.ts +1 -1
- package/dist/types/components/DataTable/index.d.ts.map +1 -1
- package/dist/types/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/LicensePlateInput/LicensePlateInput.d.ts.map +1 -1
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/Menu/Menu.d.ts.map +1 -1
- package/dist/types/components/NavigationTransition/NavigationTransition.d.ts.map +1 -1
- package/dist/types/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +8 -0
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
- package/dist/types/components/PullToRefresh/PullToRefresh.d.ts.map +1 -1
- package/dist/types/components/Radio/Radio.d.ts.map +1 -1
- package/dist/types/components/RadioTile/RadioTile.d.ts.map +1 -1
- package/dist/types/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/dist/types/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/types/components/SegmentGroup/SegmentGroup.d.ts.map +1 -1
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/SmsOtpField/SmsOtpField.d.ts.map +1 -1
- package/dist/types/components/SwipeActions/SwipeActions.d.ts.map +1 -1
- package/dist/types/components/Table/useTableSelection.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/types/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/Tile/Tile.d.ts.map +1 -1
- package/dist/types/components/Toast/Toast.d.ts.map +1 -1
- package/dist/types/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/docs/consumers/setup-instructions.md +11 -0
- package/package.json +3 -1
- package/skills/setup-muka/SKILL.md +9 -1
- package/tokens/t2-alias/base.json +90 -0
- package/tokens/t2-alias/brand/bouwflow/dark.json +35 -5
- package/tokens/t2-alias/brand/bouwflow/light.json +35 -5
- package/tokens/t2-alias/brand/fscl/dark.json +35 -5
- package/tokens/t2-alias/brand/fscl/light.json +28 -4
- package/tokens/t2-alias/brand/grip/dark.json +90 -0
- package/tokens/t2-alias/brand/grip/light.json +90 -0
- package/tokens/t2-alias/brand/muka/dark.json +90 -0
- package/tokens/t2-alias/brand/muka/light.json +90 -0
- package/tokens/t2-alias/brand/wireframe/dark.json +90 -0
- package/tokens/t2-alias/brand/wireframe/light.json +82 -10
- package/tokens/t4-components/badge.json +44 -0
- package/tokens/t4-components/chip.json +214 -4
- package/tokens/t4-components/datatable.json +104 -0
|
@@ -1129,18 +1129,38 @@ body {
|
|
|
1129
1129
|
--alias-color-state-success-contrast: #c4f5e1;
|
|
1130
1130
|
--alias-color-state-success-default: #58d5ba;
|
|
1131
1131
|
--alias-color-state-success-muted: #092c2b;
|
|
1132
|
+
--alias-color-state-success-surface-level0: #0f1b1b;
|
|
1133
|
+
--alias-color-state-success-surface-level1: #092c2b;
|
|
1134
|
+
--alias-color-state-success-surface-level2: #003a38;
|
|
1135
|
+
--alias-color-state-success-surface-level3: #004744;
|
|
1132
1136
|
--alias-color-state-warning-contrast: #ffca16;
|
|
1133
1137
|
--alias-color-state-warning-default: #ffc53d;
|
|
1134
1138
|
--alias-color-state-warning-muted: #302008;
|
|
1139
|
+
--alias-color-state-warning-surface-level0: #1d180f;
|
|
1140
|
+
--alias-color-state-warning-surface-level1: #302008;
|
|
1141
|
+
--alias-color-state-warning-surface-level2: #3f2700;
|
|
1142
|
+
--alias-color-state-warning-surface-level3: #4d3000;
|
|
1135
1143
|
--alias-color-state-error-contrast: #fea6a6;
|
|
1136
1144
|
--alias-color-state-error-default: #e54d4e;
|
|
1137
1145
|
--alias-color-state-error-muted: #3d181e;
|
|
1146
|
+
--alias-color-state-error-surface-level0: #2c1419;
|
|
1147
|
+
--alias-color-state-error-surface-level1: #3d181e;
|
|
1148
|
+
--alias-color-state-error-surface-level2: #4a1a22;
|
|
1149
|
+
--alias-color-state-error-surface-level3: #571c26;
|
|
1138
1150
|
--alias-color-state-info-contrast: #70b8ff;
|
|
1139
1151
|
--alias-color-state-info-default: #0090ff;
|
|
1140
1152
|
--alias-color-state-info-muted: #0d2847;
|
|
1153
|
+
--alias-color-state-info-surface-level0: #111927;
|
|
1154
|
+
--alias-color-state-info-surface-level1: #0d2847;
|
|
1155
|
+
--alias-color-state-info-surface-level2: #003362;
|
|
1156
|
+
--alias-color-state-info-surface-level3: #004074;
|
|
1141
1157
|
--alias-color-state-neutral-contrast: #b5b5c7;
|
|
1142
1158
|
--alias-color-state-neutral-default: #737387;
|
|
1143
1159
|
--alias-color-state-neutral-muted: #232326;
|
|
1160
|
+
--alias-color-state-neutral-surface-level0: #1c1c1f;
|
|
1161
|
+
--alias-color-state-neutral-surface-level1: #232326;
|
|
1162
|
+
--alias-color-state-neutral-surface-level2: #2b2b30;
|
|
1163
|
+
--alias-color-state-neutral-surface-level3: #323238;
|
|
1144
1164
|
--alias-font-plain-family: Funnel Sans;
|
|
1145
1165
|
--alias-font-plain-weight-regular: 400;
|
|
1146
1166
|
--alias-font-plain-weight-medium: 500;
|
|
@@ -1509,9 +1529,51 @@ body {
|
|
|
1509
1529
|
--icon-size-sm: 1.25rem;
|
|
1510
1530
|
--icon-size-default: 1.5rem;
|
|
1511
1531
|
--icon-size-lg: 2rem;
|
|
1512
|
-
--chip-size-height-sm:
|
|
1513
|
-
--chip-size-height-md:
|
|
1514
|
-
--chip-size-height-lg:
|
|
1532
|
+
--chip-size-height-sm: 1.5rem;
|
|
1533
|
+
--chip-size-height-md: 2rem;
|
|
1534
|
+
--chip-size-height-lg: 2.5rem;
|
|
1535
|
+
--chip-gap-sm: 0.25rem;
|
|
1536
|
+
--chip-gap-md: 0.5rem;
|
|
1537
|
+
--chip-gap-lg: 0.5rem;
|
|
1538
|
+
--chip-padding-label-sm: 0.75rem;
|
|
1539
|
+
--chip-padding-label-md: 1rem;
|
|
1540
|
+
--chip-padding-label-lg: 1rem;
|
|
1541
|
+
--chip-padding-leading-sm: 0.5rem;
|
|
1542
|
+
--chip-padding-leading-md: 0.75rem;
|
|
1543
|
+
--chip-padding-leading-lg: 0.75rem;
|
|
1544
|
+
--chip-padding-trailing-sm: 2px;
|
|
1545
|
+
--chip-padding-trailing-md: 0.25rem;
|
|
1546
|
+
--chip-padding-trailing-lg: 0.25rem;
|
|
1547
|
+
--chip-dismiss-default-background-default: #232326;
|
|
1548
|
+
--chip-dismiss-default-background-hover: #2b2b30;
|
|
1549
|
+
--chip-dismiss-default-background-pressed: #323238;
|
|
1550
|
+
--chip-dismiss-default-foreground-default: #b5b5c7;
|
|
1551
|
+
--chip-dismiss-default-foreground-hover: #b5b5c7;
|
|
1552
|
+
--chip-dismiss-default-foreground-pressed: #b5b5c7;
|
|
1553
|
+
--chip-dismiss-success-background-default: #092c2b;
|
|
1554
|
+
--chip-dismiss-success-background-hover: #003a38;
|
|
1555
|
+
--chip-dismiss-success-background-pressed: #004744;
|
|
1556
|
+
--chip-dismiss-success-foreground-default: #c4f5e1;
|
|
1557
|
+
--chip-dismiss-success-foreground-hover: #c4f5e1;
|
|
1558
|
+
--chip-dismiss-success-foreground-pressed: #c4f5e1;
|
|
1559
|
+
--chip-dismiss-warning-background-default: #302008;
|
|
1560
|
+
--chip-dismiss-warning-background-hover: #3f2700;
|
|
1561
|
+
--chip-dismiss-warning-background-pressed: #4d3000;
|
|
1562
|
+
--chip-dismiss-warning-foreground-default: #ffca16;
|
|
1563
|
+
--chip-dismiss-warning-foreground-hover: #ffca16;
|
|
1564
|
+
--chip-dismiss-warning-foreground-pressed: #ffca16;
|
|
1565
|
+
--chip-dismiss-error-background-default: #3d181e;
|
|
1566
|
+
--chip-dismiss-error-background-hover: #4a1a22;
|
|
1567
|
+
--chip-dismiss-error-background-pressed: #571c26;
|
|
1568
|
+
--chip-dismiss-error-foreground-default: #fea6a6;
|
|
1569
|
+
--chip-dismiss-error-foreground-hover: #fea6a6;
|
|
1570
|
+
--chip-dismiss-error-foreground-pressed: #fea6a6;
|
|
1571
|
+
--chip-dismiss-info-background-default: #0d2847;
|
|
1572
|
+
--chip-dismiss-info-background-hover: #003362;
|
|
1573
|
+
--chip-dismiss-info-background-pressed: #004074;
|
|
1574
|
+
--chip-dismiss-info-foreground-default: #70b8ff;
|
|
1575
|
+
--chip-dismiss-info-foreground-hover: #70b8ff;
|
|
1576
|
+
--chip-dismiss-info-foreground-pressed: #70b8ff;
|
|
1515
1577
|
--checkbox-size-sm: 1.25rem;
|
|
1516
1578
|
--checkbox-size-default: 1.5rem;
|
|
1517
1579
|
--checkbox-size-lg: 2rem;
|
|
@@ -1816,6 +1878,15 @@ body {
|
|
|
1816
1878
|
--badge-size-dot-sm: 0.5rem;
|
|
1817
1879
|
--badge-size-dot-md: 0.75rem;
|
|
1818
1880
|
--badge-size-dot-lg: 1rem;
|
|
1881
|
+
--badge-gap-sm: 0.25rem;
|
|
1882
|
+
--badge-gap-md: 0.5rem;
|
|
1883
|
+
--badge-gap-lg: 0.5rem;
|
|
1884
|
+
--badge-padding-label-sm: 0.75rem;
|
|
1885
|
+
--badge-padding-label-md: 1rem;
|
|
1886
|
+
--badge-padding-label-lg: 1rem;
|
|
1887
|
+
--badge-padding-leading-sm: 0.5rem;
|
|
1888
|
+
--badge-padding-leading-md: 0.75rem;
|
|
1889
|
+
--badge-padding-leading-lg: 0.75rem;
|
|
1819
1890
|
--table-cell-padding-x-sm: 0.5rem;
|
|
1820
1891
|
--table-cell-padding-x-md: 0.75rem;
|
|
1821
1892
|
--table-cell-padding-x-lg: 1rem;
|
|
@@ -1827,6 +1898,25 @@ body {
|
|
|
1827
1898
|
--table-pagination-gap: 1rem;
|
|
1828
1899
|
--table-pagination-background: #2b2b30;
|
|
1829
1900
|
--table-pagination-border: #2b2b30;
|
|
1901
|
+
--datatable-header-background: #2b2b30;
|
|
1902
|
+
--datatable-header-foreground: #e6e6ea;
|
|
1903
|
+
--datatable-header-border: #2b2b30;
|
|
1904
|
+
--datatable-row-background: #161618;
|
|
1905
|
+
--datatable-row-foreground: #e6e6ea;
|
|
1906
|
+
--datatable-row-border: #2b2b30;
|
|
1907
|
+
--datatable-row-hover-background: #1c1c1f;
|
|
1908
|
+
--datatable-row-pressed-background: #161618;
|
|
1909
|
+
--datatable-row-selected-background: #0d2847;
|
|
1910
|
+
--datatable-cell-padding-x-sm: 0.5rem;
|
|
1911
|
+
--datatable-cell-padding-x-md: 0.75rem;
|
|
1912
|
+
--datatable-cell-padding-x-lg: 1rem;
|
|
1913
|
+
--datatable-cell-padding-y-sm: 0.5rem;
|
|
1914
|
+
--datatable-cell-padding-y-md: 0.75rem;
|
|
1915
|
+
--datatable-cell-padding-y-lg: 1rem;
|
|
1916
|
+
--datatable-cell-min-height: 2rem;
|
|
1917
|
+
--datatable-divider-color: #2b2b30;
|
|
1918
|
+
--datatable-selection-column-width: 3.5rem;
|
|
1919
|
+
--datatable-focus-ring: #9eb1ff;
|
|
1830
1920
|
--datepicker-color-background: #161618;
|
|
1831
1921
|
--datepicker-size-day-sm: 2.5rem;
|
|
1832
1922
|
--datepicker-size-day-md: 3rem;
|
|
@@ -2048,6 +2138,12 @@ body {
|
|
|
2048
2138
|
overflow-y: auto;
|
|
2049
2139
|
overflow-x: clip;
|
|
2050
2140
|
z-index: 1;
|
|
2141
|
+
|
|
2142
|
+
/* Column flow so the footer (now a scroll-area child) can pin to the bottom and
|
|
2143
|
+
content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
|
|
2144
|
+
reveal the content underneath. */
|
|
2145
|
+
display: flex;
|
|
2146
|
+
flex-direction: column;
|
|
2051
2147
|
}
|
|
2052
2148
|
|
|
2053
2149
|
/* Inner wrapper constrains content width at the large tier (enterprise desktop)
|
|
@@ -2055,6 +2151,9 @@ body {
|
|
|
2055
2151
|
width. Full-bleed below large. */
|
|
2056
2152
|
.muka-view__body-inner {
|
|
2057
2153
|
width: 100%;
|
|
2154
|
+
/* Grow on short content so the sticky footer is pushed to the bottom rather
|
|
2155
|
+
than floating mid-screen. */
|
|
2156
|
+
flex: 1 0 auto;
|
|
2058
2157
|
}
|
|
2059
2158
|
|
|
2060
2159
|
@media (min-width: 1024px) {
|
|
@@ -2074,6 +2173,8 @@ body {
|
|
|
2074
2173
|
/* ─── Footer (e.g. BottomBar) ─────────────────────────── */
|
|
2075
2174
|
|
|
2076
2175
|
.muka-view__footer {
|
|
2176
|
+
position: sticky;
|
|
2177
|
+
bottom: 0;
|
|
2077
2178
|
flex-shrink: 0;
|
|
2078
2179
|
z-index: 2;
|
|
2079
2180
|
}
|
|
@@ -3397,6 +3498,114 @@ body {
|
|
|
3397
3498
|
}
|
|
3398
3499
|
|
|
3399
3500
|
|
|
3501
|
+
/* SwipeActions */
|
|
3502
|
+
/* SwipeActions Component Styles */
|
|
3503
|
+
|
|
3504
|
+
.muka-swipe-actions {
|
|
3505
|
+
position: relative;
|
|
3506
|
+
overflow: hidden;
|
|
3507
|
+
touch-action: pan-y;
|
|
3508
|
+
-webkit-user-select: none;
|
|
3509
|
+
user-select: none;
|
|
3510
|
+
background-color: var(--color-surface-level3);
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
.muka-swipe-actions--disabled {
|
|
3514
|
+
touch-action: auto;
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
3518
|
+
|
|
3519
|
+
.muka-swipe-actions__row {
|
|
3520
|
+
position: relative;
|
|
3521
|
+
z-index: 1;
|
|
3522
|
+
background-color: inherit;
|
|
3523
|
+
will-change: transform;
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
3527
|
+
|
|
3528
|
+
.muka-swipe-actions__panel {
|
|
3529
|
+
position: absolute;
|
|
3530
|
+
top: 0;
|
|
3531
|
+
bottom: 0;
|
|
3532
|
+
display: flex;
|
|
3533
|
+
align-items: stretch;
|
|
3534
|
+
z-index: 0;
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3537
|
+
.muka-swipe-actions__panel--left {
|
|
3538
|
+
left: 0;
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3541
|
+
.muka-swipe-actions__panel--right {
|
|
3542
|
+
right: 0;
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
3546
|
+
|
|
3547
|
+
.muka-swipe-actions__button {
|
|
3548
|
+
display: flex;
|
|
3549
|
+
flex-direction: column;
|
|
3550
|
+
align-items: center;
|
|
3551
|
+
justify-content: center;
|
|
3552
|
+
gap: var(--spacing-1);
|
|
3553
|
+
border: none;
|
|
3554
|
+
cursor: pointer;
|
|
3555
|
+
padding: var(--spacing-2);
|
|
3556
|
+
background-color: var(--color-surface-level2);
|
|
3557
|
+
color: var(--color-text-default-default);
|
|
3558
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
3559
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
3560
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
3561
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
3562
|
+
-webkit-tap-highlight-color: transparent;
|
|
3563
|
+
transition: filter 0.12s ease;
|
|
3564
|
+
}
|
|
3565
|
+
|
|
3566
|
+
.muka-swipe-actions__button:hover {
|
|
3567
|
+
filter: brightness(0.95);
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
.muka-swipe-actions__button:focus-visible {
|
|
3571
|
+
outline: 2px solid var(--color-action-default);
|
|
3572
|
+
outline-offset: -2px;
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
.muka-swipe-actions__button-icon {
|
|
3576
|
+
display: inline-flex;
|
|
3577
|
+
align-items: center;
|
|
3578
|
+
justify-content: center;
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
3582
|
+
|
|
3583
|
+
.muka-swipe-actions__button--neutral {
|
|
3584
|
+
background-color: var(--color-surface-level2);
|
|
3585
|
+
color: var(--color-text-default-default);
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
.muka-swipe-actions__button--primary {
|
|
3589
|
+
background-color: var(--color-action-default);
|
|
3590
|
+
color: var(--color-text-inverse-default, #fff);
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
.muka-swipe-actions__button--success {
|
|
3594
|
+
background-color: var(--color-state-success-default, var(--color-action-default));
|
|
3595
|
+
color: var(--color-text-inverse-default, #fff);
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3598
|
+
.muka-swipe-actions__button--warning {
|
|
3599
|
+
background-color: var(--color-state-warning-default, var(--color-action-default));
|
|
3600
|
+
color: var(--color-text-default-default);
|
|
3601
|
+
}
|
|
3602
|
+
|
|
3603
|
+
.muka-swipe-actions__button--destructive {
|
|
3604
|
+
background-color: var(--color-state-error-default, #c0392b);
|
|
3605
|
+
color: var(--color-text-inverse-default, #fff);
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
|
|
3400
3609
|
/* Table */
|
|
3401
3610
|
/* Table Component Styles - Using Muka Design Tokens */
|
|
3402
3611
|
|
|
@@ -3749,114 +3958,6 @@ body {
|
|
|
3749
3958
|
}
|
|
3750
3959
|
|
|
3751
3960
|
|
|
3752
|
-
/* SwipeActions */
|
|
3753
|
-
/* SwipeActions Component Styles */
|
|
3754
|
-
|
|
3755
|
-
.muka-swipe-actions {
|
|
3756
|
-
position: relative;
|
|
3757
|
-
overflow: hidden;
|
|
3758
|
-
touch-action: pan-y;
|
|
3759
|
-
-webkit-user-select: none;
|
|
3760
|
-
user-select: none;
|
|
3761
|
-
background-color: var(--color-surface-level3);
|
|
3762
|
-
}
|
|
3763
|
-
|
|
3764
|
-
.muka-swipe-actions--disabled {
|
|
3765
|
-
touch-action: auto;
|
|
3766
|
-
}
|
|
3767
|
-
|
|
3768
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
3769
|
-
|
|
3770
|
-
.muka-swipe-actions__row {
|
|
3771
|
-
position: relative;
|
|
3772
|
-
z-index: 1;
|
|
3773
|
-
background-color: inherit;
|
|
3774
|
-
will-change: transform;
|
|
3775
|
-
}
|
|
3776
|
-
|
|
3777
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
3778
|
-
|
|
3779
|
-
.muka-swipe-actions__panel {
|
|
3780
|
-
position: absolute;
|
|
3781
|
-
top: 0;
|
|
3782
|
-
bottom: 0;
|
|
3783
|
-
display: flex;
|
|
3784
|
-
align-items: stretch;
|
|
3785
|
-
z-index: 0;
|
|
3786
|
-
}
|
|
3787
|
-
|
|
3788
|
-
.muka-swipe-actions__panel--left {
|
|
3789
|
-
left: 0;
|
|
3790
|
-
}
|
|
3791
|
-
|
|
3792
|
-
.muka-swipe-actions__panel--right {
|
|
3793
|
-
right: 0;
|
|
3794
|
-
}
|
|
3795
|
-
|
|
3796
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
3797
|
-
|
|
3798
|
-
.muka-swipe-actions__button {
|
|
3799
|
-
display: flex;
|
|
3800
|
-
flex-direction: column;
|
|
3801
|
-
align-items: center;
|
|
3802
|
-
justify-content: center;
|
|
3803
|
-
gap: var(--spacing-1);
|
|
3804
|
-
border: none;
|
|
3805
|
-
cursor: pointer;
|
|
3806
|
-
padding: var(--spacing-2);
|
|
3807
|
-
background-color: var(--color-surface-level2);
|
|
3808
|
-
color: var(--color-text-default-default);
|
|
3809
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
3810
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
3811
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
3812
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
3813
|
-
-webkit-tap-highlight-color: transparent;
|
|
3814
|
-
transition: filter 0.12s ease;
|
|
3815
|
-
}
|
|
3816
|
-
|
|
3817
|
-
.muka-swipe-actions__button:hover {
|
|
3818
|
-
filter: brightness(0.95);
|
|
3819
|
-
}
|
|
3820
|
-
|
|
3821
|
-
.muka-swipe-actions__button:focus-visible {
|
|
3822
|
-
outline: 2px solid var(--color-action-default);
|
|
3823
|
-
outline-offset: -2px;
|
|
3824
|
-
}
|
|
3825
|
-
|
|
3826
|
-
.muka-swipe-actions__button-icon {
|
|
3827
|
-
display: inline-flex;
|
|
3828
|
-
align-items: center;
|
|
3829
|
-
justify-content: center;
|
|
3830
|
-
}
|
|
3831
|
-
|
|
3832
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
3833
|
-
|
|
3834
|
-
.muka-swipe-actions__button--neutral {
|
|
3835
|
-
background-color: var(--color-surface-level2);
|
|
3836
|
-
color: var(--color-text-default-default);
|
|
3837
|
-
}
|
|
3838
|
-
|
|
3839
|
-
.muka-swipe-actions__button--primary {
|
|
3840
|
-
background-color: var(--color-action-default);
|
|
3841
|
-
color: var(--color-text-inverse-default, #fff);
|
|
3842
|
-
}
|
|
3843
|
-
|
|
3844
|
-
.muka-swipe-actions__button--success {
|
|
3845
|
-
background-color: var(--color-state-success-default, var(--color-action-default));
|
|
3846
|
-
color: var(--color-text-inverse-default, #fff);
|
|
3847
|
-
}
|
|
3848
|
-
|
|
3849
|
-
.muka-swipe-actions__button--warning {
|
|
3850
|
-
background-color: var(--color-state-warning-default, var(--color-action-default));
|
|
3851
|
-
color: var(--color-text-default-default);
|
|
3852
|
-
}
|
|
3853
|
-
|
|
3854
|
-
.muka-swipe-actions__button--destructive {
|
|
3855
|
-
background-color: var(--color-state-error-default, #c0392b);
|
|
3856
|
-
color: var(--color-text-inverse-default, #fff);
|
|
3857
|
-
}
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
3961
|
/* Spinner */
|
|
3861
3962
|
/* Spinner Component Styles */
|
|
3862
3963
|
|
|
@@ -4007,34 +4108,189 @@ body {
|
|
|
4007
4108
|
}
|
|
4008
4109
|
|
|
4009
4110
|
|
|
4010
|
-
/*
|
|
4011
|
-
/*
|
|
4111
|
+
/* Skeleton */
|
|
4112
|
+
/* Skeleton Component Styles */
|
|
4012
4113
|
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
display:
|
|
4016
|
-
flex-direction: column;
|
|
4017
|
-
gap: var(--spacing-2);
|
|
4114
|
+
.muka-skeleton {
|
|
4115
|
+
background-color: var(--color-surface-level1);
|
|
4116
|
+
display: block;
|
|
4018
4117
|
}
|
|
4019
4118
|
|
|
4020
|
-
/*
|
|
4021
|
-
.muka-
|
|
4022
|
-
|
|
4023
|
-
|
|
4119
|
+
/* Variants */
|
|
4120
|
+
.muka-skeleton--text {
|
|
4121
|
+
height: 1em;
|
|
4122
|
+
border-radius: var(--radius-md);
|
|
4123
|
+
width: 100%;
|
|
4024
4124
|
}
|
|
4025
4125
|
|
|
4026
|
-
.muka-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4126
|
+
.muka-skeleton--circular {
|
|
4127
|
+
width: 2.5rem;
|
|
4128
|
+
height: 2.5rem;
|
|
4129
|
+
border-radius: var(--radius-full);
|
|
4031
4130
|
}
|
|
4032
4131
|
|
|
4033
|
-
.muka-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4132
|
+
.muka-skeleton--rectangular {
|
|
4133
|
+
height: 7.5rem;
|
|
4134
|
+
border-radius: var(--radius-md);
|
|
4135
|
+
width: 100%;
|
|
4136
|
+
}
|
|
4137
|
+
|
|
4138
|
+
/* Last line in multi-line text is shorter */
|
|
4139
|
+
.muka-skeleton--last-line {
|
|
4140
|
+
width: 80%;
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
/* Lines container */
|
|
4144
|
+
.muka-skeleton__lines {
|
|
4145
|
+
display: flex;
|
|
4146
|
+
flex-direction: column;
|
|
4147
|
+
gap: var(--spacing-2);
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4150
|
+
/* Shimmer animation */
|
|
4151
|
+
@keyframes muka-skeleton-shimmer {
|
|
4152
|
+
0% {
|
|
4153
|
+
background-position: -200% 0;
|
|
4154
|
+
}
|
|
4155
|
+
100% {
|
|
4156
|
+
background-position: 200% 0;
|
|
4157
|
+
}
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
.muka-skeleton--shimmer {
|
|
4161
|
+
background: linear-gradient(
|
|
4162
|
+
90deg,
|
|
4163
|
+
var(--color-surface-level1) 25%,
|
|
4164
|
+
var(--color-surface-level2) 50%,
|
|
4165
|
+
var(--color-surface-level1) 75%
|
|
4166
|
+
);
|
|
4167
|
+
background-size: 200% 100%;
|
|
4168
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/* Pulse animation */
|
|
4172
|
+
@keyframes muka-skeleton-pulse {
|
|
4173
|
+
0%, 100% {
|
|
4174
|
+
opacity: 1;
|
|
4175
|
+
}
|
|
4176
|
+
50% {
|
|
4177
|
+
opacity: 0.4;
|
|
4178
|
+
}
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
.muka-skeleton--pulse {
|
|
4182
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
/* Sheet */
|
|
4187
|
+
/* Sheet Component Styles */
|
|
4188
|
+
|
|
4189
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
4190
|
+
|
|
4191
|
+
.muka-sheet__overlay {
|
|
4192
|
+
position: fixed;
|
|
4193
|
+
inset: 0;
|
|
4194
|
+
background-color: var(--color-surface-backdrop);
|
|
4195
|
+
z-index: 50;
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
4199
|
+
|
|
4200
|
+
.muka-sheet {
|
|
4201
|
+
position: fixed;
|
|
4202
|
+
left: 0;
|
|
4203
|
+
right: 0;
|
|
4204
|
+
bottom: 0;
|
|
4205
|
+
z-index: 51;
|
|
4206
|
+
|
|
4207
|
+
display: flex;
|
|
4208
|
+
flex-direction: column;
|
|
4209
|
+
|
|
4210
|
+
max-height: 96dvh;
|
|
4211
|
+
|
|
4212
|
+
background-color: var(--color-surface-level3);
|
|
4213
|
+
border-top-left-radius: var(--radius-lg);
|
|
4214
|
+
border-top-right-radius: var(--radius-lg);
|
|
4215
|
+
box-shadow: var(--shadow-level5);
|
|
4216
|
+
|
|
4217
|
+
outline: none;
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
4221
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
4222
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
4223
|
+
}
|
|
4224
|
+
|
|
4225
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
4226
|
+
|
|
4227
|
+
.muka-sheet__handle-container {
|
|
4228
|
+
display: flex;
|
|
4229
|
+
justify-content: center;
|
|
4230
|
+
flex-shrink: 0;
|
|
4231
|
+
padding: var(--spacing-3) 0;
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
.muka-sheet__handle {
|
|
4235
|
+
width: var(--dialog-drag-handle-width);
|
|
4236
|
+
height: var(--dialog-drag-handle-height);
|
|
4237
|
+
background-color: var(--dialog-drag-handle-color);
|
|
4238
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4241
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
4242
|
+
|
|
4243
|
+
.muka-sheet__body {
|
|
4244
|
+
flex: 1 1 0%;
|
|
4245
|
+
min-height: 0;
|
|
4246
|
+
overflow-y: auto;
|
|
4247
|
+
-webkit-overflow-scrolling: touch;
|
|
4248
|
+
overscroll-behavior: contain;
|
|
4249
|
+
}
|
|
4250
|
+
|
|
4251
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
4252
|
+
|
|
4253
|
+
.muka-sheet__sr-title {
|
|
4254
|
+
position: absolute;
|
|
4255
|
+
width: 1px;
|
|
4256
|
+
height: 1px;
|
|
4257
|
+
padding: 0;
|
|
4258
|
+
margin: -1px;
|
|
4259
|
+
overflow: hidden;
|
|
4260
|
+
clip: rect(0, 0, 0, 0);
|
|
4261
|
+
white-space: nowrap;
|
|
4262
|
+
border: 0;
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
|
|
4266
|
+
/* SmsOtpField */
|
|
4267
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
4268
|
+
|
|
4269
|
+
/* Wrapper */
|
|
4270
|
+
.muka-sms-otp-field {
|
|
4271
|
+
display: inline-flex;
|
|
4272
|
+
flex-direction: column;
|
|
4273
|
+
gap: var(--spacing-2);
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
/* Label */
|
|
4277
|
+
.muka-sms-otp-field__label {
|
|
4278
|
+
color: var(--color-text-default-default);
|
|
4279
|
+
cursor: pointer;
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
.muka-sms-otp-field__label--sm {
|
|
4283
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4284
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4285
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4286
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
.muka-sms-otp-field__label--md {
|
|
4290
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4291
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4292
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4293
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4038
4294
|
}
|
|
4039
4295
|
|
|
4040
4296
|
.muka-sms-otp-field__label--lg {
|
|
@@ -4199,161 +4455,6 @@ body {
|
|
|
4199
4455
|
}
|
|
4200
4456
|
|
|
4201
4457
|
|
|
4202
|
-
/* Skeleton */
|
|
4203
|
-
/* Skeleton Component Styles */
|
|
4204
|
-
|
|
4205
|
-
.muka-skeleton {
|
|
4206
|
-
background-color: var(--color-surface-level1);
|
|
4207
|
-
display: block;
|
|
4208
|
-
}
|
|
4209
|
-
|
|
4210
|
-
/* Variants */
|
|
4211
|
-
.muka-skeleton--text {
|
|
4212
|
-
height: 1em;
|
|
4213
|
-
border-radius: var(--radius-md);
|
|
4214
|
-
width: 100%;
|
|
4215
|
-
}
|
|
4216
|
-
|
|
4217
|
-
.muka-skeleton--circular {
|
|
4218
|
-
width: 2.5rem;
|
|
4219
|
-
height: 2.5rem;
|
|
4220
|
-
border-radius: var(--radius-full);
|
|
4221
|
-
}
|
|
4222
|
-
|
|
4223
|
-
.muka-skeleton--rectangular {
|
|
4224
|
-
height: 7.5rem;
|
|
4225
|
-
border-radius: var(--radius-md);
|
|
4226
|
-
width: 100%;
|
|
4227
|
-
}
|
|
4228
|
-
|
|
4229
|
-
/* Last line in multi-line text is shorter */
|
|
4230
|
-
.muka-skeleton--last-line {
|
|
4231
|
-
width: 80%;
|
|
4232
|
-
}
|
|
4233
|
-
|
|
4234
|
-
/* Lines container */
|
|
4235
|
-
.muka-skeleton__lines {
|
|
4236
|
-
display: flex;
|
|
4237
|
-
flex-direction: column;
|
|
4238
|
-
gap: var(--spacing-2);
|
|
4239
|
-
}
|
|
4240
|
-
|
|
4241
|
-
/* Shimmer animation */
|
|
4242
|
-
@keyframes muka-skeleton-shimmer {
|
|
4243
|
-
0% {
|
|
4244
|
-
background-position: -200% 0;
|
|
4245
|
-
}
|
|
4246
|
-
100% {
|
|
4247
|
-
background-position: 200% 0;
|
|
4248
|
-
}
|
|
4249
|
-
}
|
|
4250
|
-
|
|
4251
|
-
.muka-skeleton--shimmer {
|
|
4252
|
-
background: linear-gradient(
|
|
4253
|
-
90deg,
|
|
4254
|
-
var(--color-surface-level1) 25%,
|
|
4255
|
-
var(--color-surface-level2) 50%,
|
|
4256
|
-
var(--color-surface-level1) 75%
|
|
4257
|
-
);
|
|
4258
|
-
background-size: 200% 100%;
|
|
4259
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
4260
|
-
}
|
|
4261
|
-
|
|
4262
|
-
/* Pulse animation */
|
|
4263
|
-
@keyframes muka-skeleton-pulse {
|
|
4264
|
-
0%, 100% {
|
|
4265
|
-
opacity: 1;
|
|
4266
|
-
}
|
|
4267
|
-
50% {
|
|
4268
|
-
opacity: 0.4;
|
|
4269
|
-
}
|
|
4270
|
-
}
|
|
4271
|
-
|
|
4272
|
-
.muka-skeleton--pulse {
|
|
4273
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
4274
|
-
}
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
/* Sheet */
|
|
4278
|
-
/* Sheet Component Styles */
|
|
4279
|
-
|
|
4280
|
-
/* ─── Backdrop ────────────────────────────────────────── */
|
|
4281
|
-
|
|
4282
|
-
.muka-sheet__overlay {
|
|
4283
|
-
position: fixed;
|
|
4284
|
-
inset: 0;
|
|
4285
|
-
background-color: var(--color-surface-backdrop);
|
|
4286
|
-
z-index: 50;
|
|
4287
|
-
}
|
|
4288
|
-
|
|
4289
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
4290
|
-
|
|
4291
|
-
.muka-sheet {
|
|
4292
|
-
position: fixed;
|
|
4293
|
-
left: 0;
|
|
4294
|
-
right: 0;
|
|
4295
|
-
bottom: 0;
|
|
4296
|
-
z-index: 51;
|
|
4297
|
-
|
|
4298
|
-
display: flex;
|
|
4299
|
-
flex-direction: column;
|
|
4300
|
-
|
|
4301
|
-
max-height: 96dvh;
|
|
4302
|
-
|
|
4303
|
-
background-color: var(--color-surface-level3);
|
|
4304
|
-
border-top-left-radius: var(--radius-lg);
|
|
4305
|
-
border-top-right-radius: var(--radius-lg);
|
|
4306
|
-
box-shadow: var(--shadow-level5);
|
|
4307
|
-
|
|
4308
|
-
outline: none;
|
|
4309
|
-
}
|
|
4310
|
-
|
|
4311
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
4312
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
4313
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
4314
|
-
}
|
|
4315
|
-
|
|
4316
|
-
/* ─── Drag handle ─────────────────────────────────────── */
|
|
4317
|
-
|
|
4318
|
-
.muka-sheet__handle-container {
|
|
4319
|
-
display: flex;
|
|
4320
|
-
justify-content: center;
|
|
4321
|
-
flex-shrink: 0;
|
|
4322
|
-
padding: var(--spacing-3) 0;
|
|
4323
|
-
}
|
|
4324
|
-
|
|
4325
|
-
.muka-sheet__handle {
|
|
4326
|
-
width: var(--dialog-drag-handle-width);
|
|
4327
|
-
height: var(--dialog-drag-handle-height);
|
|
4328
|
-
background-color: var(--dialog-drag-handle-color);
|
|
4329
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
4330
|
-
}
|
|
4331
|
-
|
|
4332
|
-
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
4333
|
-
|
|
4334
|
-
.muka-sheet__body {
|
|
4335
|
-
flex: 1 1 0%;
|
|
4336
|
-
min-height: 0;
|
|
4337
|
-
overflow-y: auto;
|
|
4338
|
-
-webkit-overflow-scrolling: touch;
|
|
4339
|
-
overscroll-behavior: contain;
|
|
4340
|
-
}
|
|
4341
|
-
|
|
4342
|
-
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
4343
|
-
|
|
4344
|
-
.muka-sheet__sr-title {
|
|
4345
|
-
position: absolute;
|
|
4346
|
-
width: 1px;
|
|
4347
|
-
height: 1px;
|
|
4348
|
-
padding: 0;
|
|
4349
|
-
margin: -1px;
|
|
4350
|
-
overflow: hidden;
|
|
4351
|
-
clip: rect(0, 0, 0, 0);
|
|
4352
|
-
white-space: nowrap;
|
|
4353
|
-
border: 0;
|
|
4354
|
-
}
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
4458
|
/* Select */
|
|
4358
4459
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
4359
4460
|
|
|
@@ -4759,175 +4860,6 @@ body {
|
|
|
4759
4860
|
}
|
|
4760
4861
|
|
|
4761
4862
|
|
|
4762
|
-
/* SearchInput */
|
|
4763
|
-
/* SearchInput Component Styles */
|
|
4764
|
-
|
|
4765
|
-
.muka-search-input {
|
|
4766
|
-
display: flex;
|
|
4767
|
-
align-items: center;
|
|
4768
|
-
gap: var(--spacing-3);
|
|
4769
|
-
width: 100%;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
/* ─── Field wrapper ───────────────────────────────────── */
|
|
4773
|
-
|
|
4774
|
-
.muka-search-input__field {
|
|
4775
|
-
flex: 1 1 auto;
|
|
4776
|
-
display: flex;
|
|
4777
|
-
align-items: center;
|
|
4778
|
-
gap: var(--spacing-2);
|
|
4779
|
-
background-color: var(--input-field-color-default-background);
|
|
4780
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4781
|
-
border-radius: var(--input-field-radius-md);
|
|
4782
|
-
padding: 0 var(--input-field-padding-x);
|
|
4783
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
.muka-search-input--focused .muka-search-input__field {
|
|
4787
|
-
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
4788
|
-
}
|
|
4789
|
-
|
|
4790
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4791
|
-
|
|
4792
|
-
.muka-search-input--sm .muka-search-input__field {
|
|
4793
|
-
min-height: var(--input-field-height-sm);
|
|
4794
|
-
border-radius: var(--input-field-radius-sm);
|
|
4795
|
-
}
|
|
4796
|
-
|
|
4797
|
-
.muka-search-input--md .muka-search-input__field {
|
|
4798
|
-
min-height: var(--input-field-height-default);
|
|
4799
|
-
}
|
|
4800
|
-
|
|
4801
|
-
.muka-search-input--lg .muka-search-input__field {
|
|
4802
|
-
min-height: var(--input-field-height-lg);
|
|
4803
|
-
border-radius: var(--input-field-radius-lg);
|
|
4804
|
-
}
|
|
4805
|
-
|
|
4806
|
-
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
4807
|
-
|
|
4808
|
-
.muka-search-input--embedded .muka-search-input__field {
|
|
4809
|
-
background-color: var(--color-surface-level1);
|
|
4810
|
-
border-color: transparent;
|
|
4811
|
-
}
|
|
4812
|
-
|
|
4813
|
-
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
4814
|
-
border-color: transparent;
|
|
4815
|
-
background-color: var(--color-surface-level2);
|
|
4816
|
-
}
|
|
4817
|
-
|
|
4818
|
-
/* ─── Disabled ────────────────────────────────────────── */
|
|
4819
|
-
|
|
4820
|
-
.muka-search-input--disabled .muka-search-input__field {
|
|
4821
|
-
opacity: 0.5;
|
|
4822
|
-
pointer-events: none;
|
|
4823
|
-
}
|
|
4824
|
-
|
|
4825
|
-
/* ─── Leading icon ────────────────────────────────────── */
|
|
4826
|
-
|
|
4827
|
-
.muka-search-input__leading {
|
|
4828
|
-
display: inline-flex;
|
|
4829
|
-
align-items: center;
|
|
4830
|
-
justify-content: center;
|
|
4831
|
-
flex-shrink: 0;
|
|
4832
|
-
color: var(--color-text-subtle-default);
|
|
4833
|
-
}
|
|
4834
|
-
|
|
4835
|
-
/* ─── Input element ───────────────────────────────────── */
|
|
4836
|
-
|
|
4837
|
-
.muka-search-input__input {
|
|
4838
|
-
flex: 1 1 auto;
|
|
4839
|
-
min-width: 0;
|
|
4840
|
-
border: none;
|
|
4841
|
-
background: transparent;
|
|
4842
|
-
outline: none;
|
|
4843
|
-
padding: 0;
|
|
4844
|
-
color: var(--color-text-default-default);
|
|
4845
|
-
font-family: var(--text-body-md-regular-fontFamily);
|
|
4846
|
-
font-weight: var(--text-body-md-regular-fontWeight);
|
|
4847
|
-
font-size: var(--text-body-md-regular-fontSize);
|
|
4848
|
-
line-height: var(--text-body-md-regular-lineHeight);
|
|
4849
|
-
appearance: none;
|
|
4850
|
-
-webkit-appearance: none;
|
|
4851
|
-
}
|
|
4852
|
-
|
|
4853
|
-
.muka-search-input__input::placeholder {
|
|
4854
|
-
color: var(--color-text-subtle-default);
|
|
4855
|
-
}
|
|
4856
|
-
|
|
4857
|
-
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
4858
|
-
.muka-search-input__input::-webkit-search-cancel-button,
|
|
4859
|
-
.muka-search-input__input::-webkit-search-decoration {
|
|
4860
|
-
-webkit-appearance: none;
|
|
4861
|
-
appearance: none;
|
|
4862
|
-
}
|
|
4863
|
-
|
|
4864
|
-
.muka-search-input__input::-ms-clear {
|
|
4865
|
-
display: none;
|
|
4866
|
-
}
|
|
4867
|
-
|
|
4868
|
-
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
4869
|
-
|
|
4870
|
-
.muka-search-input__trailing {
|
|
4871
|
-
display: inline-flex;
|
|
4872
|
-
align-items: center;
|
|
4873
|
-
justify-content: center;
|
|
4874
|
-
flex-shrink: 0;
|
|
4875
|
-
}
|
|
4876
|
-
|
|
4877
|
-
/* ─── Clear button ────────────────────────────────────── */
|
|
4878
|
-
|
|
4879
|
-
.muka-search-input__clear {
|
|
4880
|
-
display: inline-flex;
|
|
4881
|
-
align-items: center;
|
|
4882
|
-
justify-content: center;
|
|
4883
|
-
width: 20px;
|
|
4884
|
-
height: 20px;
|
|
4885
|
-
border: none;
|
|
4886
|
-
background: none;
|
|
4887
|
-
padding: 0;
|
|
4888
|
-
cursor: pointer;
|
|
4889
|
-
color: var(--color-text-subtle-default);
|
|
4890
|
-
flex-shrink: 0;
|
|
4891
|
-
-webkit-tap-highlight-color: transparent;
|
|
4892
|
-
}
|
|
4893
|
-
|
|
4894
|
-
.muka-search-input__clear:hover {
|
|
4895
|
-
color: var(--color-text-default-default);
|
|
4896
|
-
}
|
|
4897
|
-
|
|
4898
|
-
.muka-search-input__clear:focus-visible {
|
|
4899
|
-
outline: 2px solid var(--color-action-default);
|
|
4900
|
-
outline-offset: 2px;
|
|
4901
|
-
border-radius: 50%;
|
|
4902
|
-
}
|
|
4903
|
-
|
|
4904
|
-
/* ─── Cancel button ───────────────────────────────────── */
|
|
4905
|
-
|
|
4906
|
-
.muka-search-input__cancel {
|
|
4907
|
-
flex-shrink: 0;
|
|
4908
|
-
background: none;
|
|
4909
|
-
border: none;
|
|
4910
|
-
padding: var(--spacing-1) var(--spacing-2);
|
|
4911
|
-
cursor: pointer;
|
|
4912
|
-
color: var(--color-action-default);
|
|
4913
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
4914
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
4915
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
4916
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
4917
|
-
-webkit-tap-highlight-color: transparent;
|
|
4918
|
-
}
|
|
4919
|
-
|
|
4920
|
-
.muka-search-input__cancel:hover {
|
|
4921
|
-
color: var(--color-action-hover);
|
|
4922
|
-
}
|
|
4923
|
-
|
|
4924
|
-
.muka-search-input__cancel:focus-visible {
|
|
4925
|
-
outline: 2px solid var(--color-action-default);
|
|
4926
|
-
outline-offset: 2px;
|
|
4927
|
-
border-radius: var(--radius-sm);
|
|
4928
|
-
}
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
4863
|
/* RangeSlider */
|
|
4932
4864
|
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
4933
4865
|
|
|
@@ -5807,14 +5739,45 @@ body {
|
|
|
5807
5739
|
color: var(--color-text-default-default);
|
|
5808
5740
|
}
|
|
5809
5741
|
|
|
5810
|
-
/* ─── Unit label (same for both sizes) ────────────────── */
|
|
5742
|
+
/* ─── Unit label (same for both sizes) ────────────────── */
|
|
5743
|
+
|
|
5744
|
+
.muka-price-tag__unit {
|
|
5745
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
5746
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
5747
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
5748
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
5749
|
+
color: var(--color-text-subtle-default);
|
|
5750
|
+
}
|
|
5751
|
+
|
|
5752
|
+
|
|
5753
|
+
/* Popover */
|
|
5754
|
+
/* Popover Component Styles */
|
|
5755
|
+
|
|
5756
|
+
.muka-popover__content {
|
|
5757
|
+
background-color: var(--color-surface-level3);
|
|
5758
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
5759
|
+
border-radius: var(--radius-md);
|
|
5760
|
+
padding: var(--spacing-4);
|
|
5761
|
+
box-shadow: var(--shadow-level3);
|
|
5762
|
+
max-width: 20rem;
|
|
5763
|
+
z-index: 50;
|
|
5764
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
5765
|
+
}
|
|
5766
|
+
|
|
5767
|
+
@keyframes muka-popover-fade-in {
|
|
5768
|
+
from {
|
|
5769
|
+
opacity: 0;
|
|
5770
|
+
transform: scale(0.96);
|
|
5771
|
+
}
|
|
5772
|
+
to {
|
|
5773
|
+
opacity: 1;
|
|
5774
|
+
transform: scale(1);
|
|
5775
|
+
}
|
|
5776
|
+
}
|
|
5811
5777
|
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
5816
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
5817
|
-
color: var(--color-text-subtle-default);
|
|
5778
|
+
/* Arrow */
|
|
5779
|
+
.muka-popover__arrow {
|
|
5780
|
+
fill: var(--color-surface-level3);
|
|
5818
5781
|
}
|
|
5819
5782
|
|
|
5820
5783
|
|
|
@@ -6017,37 +5980,6 @@ body {
|
|
|
6017
5980
|
}
|
|
6018
5981
|
|
|
6019
5982
|
|
|
6020
|
-
/* Popover */
|
|
6021
|
-
/* Popover Component Styles */
|
|
6022
|
-
|
|
6023
|
-
.muka-popover__content {
|
|
6024
|
-
background-color: var(--color-surface-level3);
|
|
6025
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
6026
|
-
border-radius: var(--radius-md);
|
|
6027
|
-
padding: var(--spacing-4);
|
|
6028
|
-
box-shadow: var(--shadow-level3);
|
|
6029
|
-
max-width: 20rem;
|
|
6030
|
-
z-index: 50;
|
|
6031
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
6032
|
-
}
|
|
6033
|
-
|
|
6034
|
-
@keyframes muka-popover-fade-in {
|
|
6035
|
-
from {
|
|
6036
|
-
opacity: 0;
|
|
6037
|
-
transform: scale(0.96);
|
|
6038
|
-
}
|
|
6039
|
-
to {
|
|
6040
|
-
opacity: 1;
|
|
6041
|
-
transform: scale(1);
|
|
6042
|
-
}
|
|
6043
|
-
}
|
|
6044
|
-
|
|
6045
|
-
/* Arrow */
|
|
6046
|
-
.muka-popover__arrow {
|
|
6047
|
-
fill: var(--color-surface-level3);
|
|
6048
|
-
}
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
5983
|
/* NumberInput */
|
|
6052
5984
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
6053
5985
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -6059,240 +5991,52 @@ body {
|
|
|
6059
5991
|
color: var(--color-text-subtle-default);
|
|
6060
5992
|
font-family: var(--text-input-md-fontFamily);
|
|
6061
5993
|
font-size: var(--text-input-md-fontSize);
|
|
6062
|
-
line-height: var(--text-input-md-lineHeight);
|
|
6063
|
-
user-select: none;
|
|
6064
|
-
pointer-events: none;
|
|
6065
|
-
white-space: nowrap;
|
|
6066
|
-
}
|
|
6067
|
-
|
|
6068
|
-
/* Hide the native number spinners — affixes/step API replace them. */
|
|
6069
|
-
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
6070
|
-
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
6071
|
-
-webkit-appearance: none;
|
|
6072
|
-
margin: 0;
|
|
6073
|
-
}
|
|
6074
|
-
|
|
6075
|
-
.muka-numberinput__field .muka-input__native {
|
|
6076
|
-
-moz-appearance: textfield;
|
|
6077
|
-
appearance: textfield;
|
|
6078
|
-
}
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
/* NavigationTransition */
|
|
6082
|
-
/* NavigationTransition Component Styles */
|
|
6083
|
-
|
|
6084
|
-
/* ─── Wrapper ────────────────────────────────────────── */
|
|
6085
|
-
|
|
6086
|
-
.muka-nav-transition {
|
|
6087
|
-
position: relative;
|
|
6088
|
-
height: 100vh;
|
|
6089
|
-
overflow: hidden;
|
|
6090
|
-
}
|
|
6091
|
-
|
|
6092
|
-
/* Disable interaction during animation */
|
|
6093
|
-
.muka-nav-transition--active {
|
|
6094
|
-
pointer-events: none;
|
|
6095
|
-
}
|
|
6096
|
-
|
|
6097
|
-
/* ─── View slots ─────────────────────────────────────── */
|
|
6098
|
-
|
|
6099
|
-
.muka-nav-transition--active .muka-nav-transition__view {
|
|
6100
|
-
position: absolute;
|
|
6101
|
-
inset: 0;
|
|
6102
|
-
}
|
|
6103
|
-
|
|
6104
|
-
/* Z-index layering */
|
|
6105
|
-
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
6106
|
-
.muka-nav-transition__view--top { z-index: 2; }
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
/* ListItem */
|
|
6110
|
-
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
6111
|
-
|
|
6112
|
-
/* Base list item styles */
|
|
6113
|
-
.muka-listitem {
|
|
6114
|
-
/* Layout */
|
|
6115
|
-
display: flex;
|
|
6116
|
-
align-items: flex-start;
|
|
6117
|
-
gap: var(--spacing-4);
|
|
6118
|
-
padding: var(--spacing-5) var(--spacing-4);
|
|
6119
|
-
|
|
6120
|
-
/* Background - using semantic tokens */
|
|
6121
|
-
background-color: var(--color-surface-level3);
|
|
6122
|
-
|
|
6123
|
-
/* Typography */
|
|
6124
|
-
font-family: var(--alias-font-brand-family);
|
|
6125
|
-
|
|
6126
|
-
/* Border and spacing */
|
|
6127
|
-
border: none;
|
|
6128
|
-
position: relative;
|
|
6129
|
-
|
|
6130
|
-
/* Interaction - only apply if interactive */
|
|
6131
|
-
transition: background-color 0.2s ease;
|
|
6132
|
-
}
|
|
6133
|
-
|
|
6134
|
-
/* Interactive state */
|
|
6135
|
-
.muka-listitem--interactive {
|
|
6136
|
-
cursor: pointer;
|
|
6137
|
-
}
|
|
6138
|
-
|
|
6139
|
-
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
6140
|
-
background-color: var(--color-surface-hover);
|
|
6141
|
-
}
|
|
6142
|
-
|
|
6143
|
-
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
6144
|
-
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
6145
|
-
background-color: var(--color-surface-pressed);
|
|
6146
|
-
}
|
|
6147
|
-
|
|
6148
|
-
/* Focus styles for accessibility */
|
|
6149
|
-
.muka-listitem:focus-visible {
|
|
6150
|
-
outline: 2px solid var(--color-border-focus);
|
|
6151
|
-
outline-offset: -2px;
|
|
6152
|
-
}
|
|
6153
|
-
|
|
6154
|
-
/* Disabled state */
|
|
6155
|
-
.muka-listitem--disabled {
|
|
6156
|
-
opacity: 0.5;
|
|
6157
|
-
cursor: not-allowed;
|
|
6158
|
-
pointer-events: none;
|
|
6159
|
-
}
|
|
6160
|
-
|
|
6161
|
-
.muka-listitem--disabled:hover {
|
|
6162
|
-
background-color: var(--color-surface-level3);
|
|
6163
|
-
}
|
|
6164
|
-
|
|
6165
|
-
/* Selected state */
|
|
6166
|
-
.muka-listitem--selected {
|
|
6167
|
-
background-color: var(--color-surface-level2);
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6170
|
-
.muka-listitem--selected:hover {
|
|
6171
|
-
background-color: var(--color-surface-hover);
|
|
6172
|
-
}
|
|
6173
|
-
|
|
6174
|
-
/* No divider modifier */
|
|
6175
|
-
.muka-listitem--no-divider .muka-listitem__divider {
|
|
6176
|
-
display: none;
|
|
6177
|
-
}
|
|
6178
|
-
|
|
6179
|
-
/* Center content vertically when no caption */
|
|
6180
|
-
.muka-listitem--no-caption {
|
|
6181
|
-
align-items: center;
|
|
6182
|
-
}
|
|
6183
|
-
|
|
6184
|
-
/* Leading content (icon or image) */
|
|
6185
|
-
.muka-listitem__leading {
|
|
6186
|
-
display: flex;
|
|
6187
|
-
align-items: center;
|
|
6188
|
-
justify-content: center;
|
|
6189
|
-
flex-shrink: 0;
|
|
6190
|
-
width: 48px;
|
|
6191
|
-
height: 48px;
|
|
6192
|
-
}
|
|
6193
|
-
|
|
6194
|
-
.muka-listitem__icon {
|
|
6195
|
-
display: inline-flex;
|
|
6196
|
-
align-items: center;
|
|
6197
|
-
justify-content: center;
|
|
6198
|
-
width: 32px;
|
|
6199
|
-
height: 32px;
|
|
6200
|
-
color: var(--color-text-default-default);
|
|
6201
|
-
}
|
|
6202
|
-
|
|
6203
|
-
.muka-listitem__image {
|
|
6204
|
-
width: 48px;
|
|
6205
|
-
height: 48px;
|
|
6206
|
-
border-radius: var(--radius-md);
|
|
6207
|
-
object-fit: cover;
|
|
6208
|
-
}
|
|
6209
|
-
|
|
6210
|
-
/* Main content area */
|
|
6211
|
-
.muka-listitem__content {
|
|
6212
|
-
flex: 1;
|
|
6213
|
-
display: flex;
|
|
6214
|
-
align-items: center;
|
|
6215
|
-
gap: var(--spacing-4);
|
|
6216
|
-
min-width: 0;
|
|
6217
|
-
}
|
|
6218
|
-
|
|
6219
|
-
.muka-listitem__text {
|
|
6220
|
-
flex: 1;
|
|
6221
|
-
display: flex;
|
|
6222
|
-
flex-direction: column;
|
|
6223
|
-
gap: var(--spacing-1);
|
|
6224
|
-
min-width: 0;
|
|
6225
|
-
}
|
|
6226
|
-
|
|
6227
|
-
/* Label text */
|
|
6228
|
-
.muka-listitem__label {
|
|
6229
|
-
margin: 0;
|
|
6230
|
-
padding: 0;
|
|
6231
|
-
|
|
6232
|
-
/* Typography - using semantic tokens */
|
|
6233
|
-
font-family: var(--alias-font-plain-family);
|
|
6234
|
-
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
6235
|
-
font-size: var(--text-label-md-fontSize);
|
|
6236
|
-
line-height: var(--text-label-md-lineHeight);
|
|
6237
|
-
color: var(--color-text-default-default);
|
|
6238
|
-
|
|
6239
|
-
/* Text handling */
|
|
6240
|
-
overflow: hidden;
|
|
6241
|
-
text-overflow: ellipsis;
|
|
6242
|
-
white-space: nowrap;
|
|
6243
|
-
}
|
|
6244
|
-
|
|
6245
|
-
/* Caption text */
|
|
6246
|
-
.muka-listitem__caption {
|
|
6247
|
-
margin: 0;
|
|
6248
|
-
padding: 0;
|
|
6249
|
-
|
|
6250
|
-
/* Typography - using semantic tokens */
|
|
6251
|
-
font-family: var(--alias-font-plain-family);
|
|
6252
|
-
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
6253
|
-
font-size: var(--text-body-sm-fontSize);
|
|
6254
|
-
line-height: var(--text-body-sm-lineHeight);
|
|
6255
|
-
color: var(--color-text-subtle-default);
|
|
6256
|
-
|
|
6257
|
-
/* Text handling */
|
|
6258
|
-
overflow: hidden;
|
|
6259
|
-
text-overflow: ellipsis;
|
|
5994
|
+
line-height: var(--text-input-md-lineHeight);
|
|
5995
|
+
user-select: none;
|
|
5996
|
+
pointer-events: none;
|
|
6260
5997
|
white-space: nowrap;
|
|
6261
5998
|
}
|
|
6262
5999
|
|
|
6263
|
-
/*
|
|
6264
|
-
.muka-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
flex-shrink: 0;
|
|
6269
|
-
width: 24px;
|
|
6270
|
-
height: 24px;
|
|
6271
|
-
color: var(--color-text-subtle-default);
|
|
6000
|
+
/* Hide the native number spinners — affixes/step API replace them. */
|
|
6001
|
+
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
6002
|
+
.muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
|
|
6003
|
+
-webkit-appearance: none;
|
|
6004
|
+
margin: 0;
|
|
6272
6005
|
}
|
|
6273
6006
|
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
bottom: 0;
|
|
6278
|
-
left: 0;
|
|
6279
|
-
right: 0;
|
|
6280
|
-
height: 1px;
|
|
6281
|
-
background-color: var(--color-border-default);
|
|
6007
|
+
.muka-numberinput__field .muka-input__native {
|
|
6008
|
+
-moz-appearance: textfield;
|
|
6009
|
+
appearance: textfield;
|
|
6282
6010
|
}
|
|
6283
6011
|
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6012
|
+
|
|
6013
|
+
/* NavigationTransition */
|
|
6014
|
+
/* NavigationTransition Component Styles */
|
|
6015
|
+
|
|
6016
|
+
/* ─── Wrapper ────────────────────────────────────────── */
|
|
6017
|
+
|
|
6018
|
+
.muka-nav-transition {
|
|
6019
|
+
position: relative;
|
|
6020
|
+
height: 100vh;
|
|
6021
|
+
overflow: hidden;
|
|
6289
6022
|
}
|
|
6290
6023
|
|
|
6291
|
-
/*
|
|
6292
|
-
|
|
6293
|
-
|
|
6024
|
+
/* Disable interaction during animation */
|
|
6025
|
+
.muka-nav-transition--active {
|
|
6026
|
+
pointer-events: none;
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
/* ─── View slots ─────────────────────────────────────── */
|
|
6030
|
+
|
|
6031
|
+
.muka-nav-transition--active .muka-nav-transition__view {
|
|
6032
|
+
position: absolute;
|
|
6033
|
+
inset: 0;
|
|
6294
6034
|
}
|
|
6295
6035
|
|
|
6036
|
+
/* Z-index layering */
|
|
6037
|
+
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
6038
|
+
.muka-nav-transition__view--top { z-index: 2; }
|
|
6039
|
+
|
|
6296
6040
|
|
|
6297
6041
|
/* Menu */
|
|
6298
6042
|
/* Menu Component Styles */
|
|
@@ -6554,26 +6298,214 @@ li.muka-listitem {
|
|
|
6554
6298
|
}
|
|
6555
6299
|
}
|
|
6556
6300
|
|
|
6557
|
-
@keyframes muka-menu-slide-left {
|
|
6558
|
-
from {
|
|
6559
|
-
opacity: 0;
|
|
6560
|
-
transform: translateX(4px);
|
|
6561
|
-
}
|
|
6562
|
-
to {
|
|
6563
|
-
opacity: 1;
|
|
6564
|
-
transform: translateX(0);
|
|
6565
|
-
}
|
|
6301
|
+
@keyframes muka-menu-slide-left {
|
|
6302
|
+
from {
|
|
6303
|
+
opacity: 0;
|
|
6304
|
+
transform: translateX(4px);
|
|
6305
|
+
}
|
|
6306
|
+
to {
|
|
6307
|
+
opacity: 1;
|
|
6308
|
+
transform: translateX(0);
|
|
6309
|
+
}
|
|
6310
|
+
}
|
|
6311
|
+
|
|
6312
|
+
@keyframes muka-menu-slide-right {
|
|
6313
|
+
from {
|
|
6314
|
+
opacity: 0;
|
|
6315
|
+
transform: translateX(-4px);
|
|
6316
|
+
}
|
|
6317
|
+
to {
|
|
6318
|
+
opacity: 1;
|
|
6319
|
+
transform: translateX(0);
|
|
6320
|
+
}
|
|
6321
|
+
}
|
|
6322
|
+
|
|
6323
|
+
|
|
6324
|
+
/* ListItem */
|
|
6325
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
6326
|
+
|
|
6327
|
+
/* Base list item styles */
|
|
6328
|
+
.muka-listitem {
|
|
6329
|
+
/* Layout */
|
|
6330
|
+
display: flex;
|
|
6331
|
+
align-items: flex-start;
|
|
6332
|
+
gap: var(--spacing-4);
|
|
6333
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
6334
|
+
|
|
6335
|
+
/* Background - using semantic tokens */
|
|
6336
|
+
background-color: var(--color-surface-level3);
|
|
6337
|
+
|
|
6338
|
+
/* Typography */
|
|
6339
|
+
font-family: var(--alias-font-brand-family);
|
|
6340
|
+
|
|
6341
|
+
/* Border and spacing */
|
|
6342
|
+
border: none;
|
|
6343
|
+
position: relative;
|
|
6344
|
+
|
|
6345
|
+
/* Interaction - only apply if interactive */
|
|
6346
|
+
transition: background-color 0.2s ease;
|
|
6347
|
+
}
|
|
6348
|
+
|
|
6349
|
+
/* Interactive state */
|
|
6350
|
+
.muka-listitem--interactive {
|
|
6351
|
+
cursor: pointer;
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
6355
|
+
background-color: var(--color-surface-hover);
|
|
6356
|
+
}
|
|
6357
|
+
|
|
6358
|
+
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
6359
|
+
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
6360
|
+
background-color: var(--color-surface-pressed);
|
|
6361
|
+
}
|
|
6362
|
+
|
|
6363
|
+
/* Focus styles for accessibility */
|
|
6364
|
+
.muka-listitem:focus-visible {
|
|
6365
|
+
outline: 2px solid var(--color-border-focus);
|
|
6366
|
+
outline-offset: -2px;
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
/* Disabled state */
|
|
6370
|
+
.muka-listitem--disabled {
|
|
6371
|
+
opacity: 0.5;
|
|
6372
|
+
cursor: not-allowed;
|
|
6373
|
+
pointer-events: none;
|
|
6374
|
+
}
|
|
6375
|
+
|
|
6376
|
+
.muka-listitem--disabled:hover {
|
|
6377
|
+
background-color: var(--color-surface-level3);
|
|
6378
|
+
}
|
|
6379
|
+
|
|
6380
|
+
/* Selected state */
|
|
6381
|
+
.muka-listitem--selected {
|
|
6382
|
+
background-color: var(--color-surface-level2);
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6385
|
+
.muka-listitem--selected:hover {
|
|
6386
|
+
background-color: var(--color-surface-hover);
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6389
|
+
/* No divider modifier */
|
|
6390
|
+
.muka-listitem--no-divider .muka-listitem__divider {
|
|
6391
|
+
display: none;
|
|
6392
|
+
}
|
|
6393
|
+
|
|
6394
|
+
/* Center content vertically when no caption */
|
|
6395
|
+
.muka-listitem--no-caption {
|
|
6396
|
+
align-items: center;
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
/* Leading content (icon or image) */
|
|
6400
|
+
.muka-listitem__leading {
|
|
6401
|
+
display: flex;
|
|
6402
|
+
align-items: center;
|
|
6403
|
+
justify-content: center;
|
|
6404
|
+
flex-shrink: 0;
|
|
6405
|
+
width: 48px;
|
|
6406
|
+
height: 48px;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6409
|
+
.muka-listitem__icon {
|
|
6410
|
+
display: inline-flex;
|
|
6411
|
+
align-items: center;
|
|
6412
|
+
justify-content: center;
|
|
6413
|
+
width: 32px;
|
|
6414
|
+
height: 32px;
|
|
6415
|
+
color: var(--color-text-default-default);
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
.muka-listitem__image {
|
|
6419
|
+
width: 48px;
|
|
6420
|
+
height: 48px;
|
|
6421
|
+
border-radius: var(--radius-md);
|
|
6422
|
+
object-fit: cover;
|
|
6423
|
+
}
|
|
6424
|
+
|
|
6425
|
+
/* Main content area */
|
|
6426
|
+
.muka-listitem__content {
|
|
6427
|
+
flex: 1;
|
|
6428
|
+
display: flex;
|
|
6429
|
+
align-items: center;
|
|
6430
|
+
gap: var(--spacing-4);
|
|
6431
|
+
min-width: 0;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
.muka-listitem__text {
|
|
6435
|
+
flex: 1;
|
|
6436
|
+
display: flex;
|
|
6437
|
+
flex-direction: column;
|
|
6438
|
+
gap: var(--spacing-1);
|
|
6439
|
+
min-width: 0;
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
/* Label text */
|
|
6443
|
+
.muka-listitem__label {
|
|
6444
|
+
margin: 0;
|
|
6445
|
+
padding: 0;
|
|
6446
|
+
|
|
6447
|
+
/* Typography - using semantic tokens */
|
|
6448
|
+
font-family: var(--alias-font-plain-family);
|
|
6449
|
+
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
6450
|
+
font-size: var(--text-label-md-fontSize);
|
|
6451
|
+
line-height: var(--text-label-md-lineHeight);
|
|
6452
|
+
color: var(--color-text-default-default);
|
|
6453
|
+
|
|
6454
|
+
/* Text handling */
|
|
6455
|
+
overflow: hidden;
|
|
6456
|
+
text-overflow: ellipsis;
|
|
6457
|
+
white-space: nowrap;
|
|
6458
|
+
}
|
|
6459
|
+
|
|
6460
|
+
/* Caption text */
|
|
6461
|
+
.muka-listitem__caption {
|
|
6462
|
+
margin: 0;
|
|
6463
|
+
padding: 0;
|
|
6464
|
+
|
|
6465
|
+
/* Typography - using semantic tokens */
|
|
6466
|
+
font-family: var(--alias-font-plain-family);
|
|
6467
|
+
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
6468
|
+
font-size: var(--text-body-sm-fontSize);
|
|
6469
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
6470
|
+
color: var(--color-text-subtle-default);
|
|
6471
|
+
|
|
6472
|
+
/* Text handling */
|
|
6473
|
+
overflow: hidden;
|
|
6474
|
+
text-overflow: ellipsis;
|
|
6475
|
+
white-space: nowrap;
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6478
|
+
/* Trailing chevron */
|
|
6479
|
+
.muka-listitem__chevron {
|
|
6480
|
+
display: inline-flex;
|
|
6481
|
+
align-items: center;
|
|
6482
|
+
justify-content: center;
|
|
6483
|
+
flex-shrink: 0;
|
|
6484
|
+
width: 24px;
|
|
6485
|
+
height: 24px;
|
|
6486
|
+
color: var(--color-text-subtle-default);
|
|
6487
|
+
}
|
|
6488
|
+
|
|
6489
|
+
/* Bottom divider */
|
|
6490
|
+
.muka-listitem__divider {
|
|
6491
|
+
position: absolute;
|
|
6492
|
+
bottom: 0;
|
|
6493
|
+
left: 0;
|
|
6494
|
+
right: 0;
|
|
6495
|
+
height: 1px;
|
|
6496
|
+
background-color: var(--color-border-default);
|
|
6497
|
+
}
|
|
6498
|
+
|
|
6499
|
+
/* Button and anchor specific styles */
|
|
6500
|
+
button.muka-listitem,
|
|
6501
|
+
a.muka-listitem {
|
|
6502
|
+
text-align: left;
|
|
6503
|
+
width: 100%;
|
|
6566
6504
|
}
|
|
6567
6505
|
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
transform: translateX(-4px);
|
|
6572
|
-
}
|
|
6573
|
-
to {
|
|
6574
|
-
opacity: 1;
|
|
6575
|
-
transform: translateX(0);
|
|
6576
|
-
}
|
|
6506
|
+
/* List item specific styles */
|
|
6507
|
+
li.muka-listitem {
|
|
6508
|
+
list-style: none;
|
|
6577
6509
|
}
|
|
6578
6510
|
|
|
6579
6511
|
|
|
@@ -8556,16 +8488,31 @@ li.muka-listitem {
|
|
|
8556
8488
|
}
|
|
8557
8489
|
|
|
8558
8490
|
.muka-data-table {
|
|
8491
|
+
/* Density-driven cell padding (overridden per size below). */
|
|
8492
|
+
--dt-pad-x: var(--datatable-cell-padding-x-md);
|
|
8493
|
+
--dt-pad-y: var(--datatable-cell-padding-y-md);
|
|
8494
|
+
|
|
8559
8495
|
width: 100%;
|
|
8560
8496
|
border-collapse: collapse;
|
|
8561
8497
|
border-spacing: 0;
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
color: var(--
|
|
8498
|
+
/* auto layout so per-column min/max widths are honored and unsized columns flex */
|
|
8499
|
+
table-layout: auto;
|
|
8500
|
+
background-color: var(--datatable-row-background);
|
|
8501
|
+
color: var(--datatable-row-foreground);
|
|
8502
|
+
}
|
|
8503
|
+
|
|
8504
|
+
.muka-data-table--size-sm {
|
|
8505
|
+
--dt-pad-x: var(--datatable-cell-padding-x-sm);
|
|
8506
|
+
--dt-pad-y: var(--datatable-cell-padding-y-sm);
|
|
8507
|
+
}
|
|
8508
|
+
|
|
8509
|
+
.muka-data-table--size-lg {
|
|
8510
|
+
--dt-pad-x: var(--datatable-cell-padding-x-lg);
|
|
8511
|
+
--dt-pad-y: var(--datatable-cell-padding-y-lg);
|
|
8565
8512
|
}
|
|
8566
8513
|
|
|
8567
8514
|
.muka-data-table__caption {
|
|
8568
|
-
padding: var(--
|
|
8515
|
+
padding: var(--dt-pad-y) var(--dt-pad-x);
|
|
8569
8516
|
font-family: var(--text-body-base-bold-fontFamily);
|
|
8570
8517
|
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8571
8518
|
font-size: var(--text-body-base-bold-fontSize);
|
|
@@ -8579,17 +8526,17 @@ li.muka-listitem {
|
|
|
8579
8526
|
======================================== */
|
|
8580
8527
|
|
|
8581
8528
|
.muka-data-table__head {
|
|
8582
|
-
border-bottom: var(--border-width-regular, 1px) solid var(--
|
|
8529
|
+
border-bottom: var(--border-width-regular, 1px) solid var(--datatable-header-border);
|
|
8583
8530
|
}
|
|
8584
8531
|
|
|
8585
8532
|
.muka-data-table__th {
|
|
8586
|
-
background-color: var(--
|
|
8587
|
-
padding: var(--
|
|
8533
|
+
background-color: var(--datatable-header-background);
|
|
8534
|
+
padding: var(--datatable-cell-padding-y-sm) var(--dt-pad-x);
|
|
8588
8535
|
font-family: var(--text-body-base-bold-fontFamily);
|
|
8589
8536
|
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8590
8537
|
font-size: var(--text-body-base-bold-fontSize);
|
|
8591
8538
|
line-height: var(--text-body-base-bold-lineHeight);
|
|
8592
|
-
color: var(--
|
|
8539
|
+
color: var(--datatable-header-foreground);
|
|
8593
8540
|
vertical-align: middle;
|
|
8594
8541
|
text-align: left;
|
|
8595
8542
|
}
|
|
@@ -8597,7 +8544,7 @@ li.muka-listitem {
|
|
|
8597
8544
|
.muka-data-table__th-label {
|
|
8598
8545
|
display: flex;
|
|
8599
8546
|
align-items: center;
|
|
8600
|
-
min-height:
|
|
8547
|
+
min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma header cell height */
|
|
8601
8548
|
}
|
|
8602
8549
|
|
|
8603
8550
|
/* ========================================
|
|
@@ -8605,28 +8552,34 @@ li.muka-listitem {
|
|
|
8605
8552
|
======================================== */
|
|
8606
8553
|
|
|
8607
8554
|
.muka-data-table__row {
|
|
8608
|
-
border-bottom: var(--border-width-regular, 1px) solid var(--
|
|
8555
|
+
border-bottom: var(--border-width-regular, 1px) solid var(--datatable-row-border);
|
|
8609
8556
|
transition: background-color 0.15s ease;
|
|
8610
8557
|
}
|
|
8611
8558
|
|
|
8612
|
-
.muka-data-table__row:not(.muka-data-table__row--empty):hover {
|
|
8613
|
-
background-color: var(--
|
|
8559
|
+
.muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
|
|
8560
|
+
background-color: var(--datatable-row-hover-background);
|
|
8561
|
+
}
|
|
8562
|
+
|
|
8563
|
+
/* Selected rows keep their tint, including on hover. */
|
|
8564
|
+
.muka-data-table__row--selected,
|
|
8565
|
+
.muka-data-table__row--selected:hover {
|
|
8566
|
+
background-color: var(--datatable-row-selected-background);
|
|
8614
8567
|
}
|
|
8615
8568
|
|
|
8616
8569
|
.muka-data-table__td {
|
|
8617
|
-
padding: var(--
|
|
8570
|
+
padding: var(--dt-pad-y) var(--dt-pad-x);
|
|
8618
8571
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
8619
8572
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8620
8573
|
font-size: var(--text-body-base-regular-fontSize);
|
|
8621
8574
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
8622
|
-
color: var(--
|
|
8575
|
+
color: var(--datatable-row-foreground);
|
|
8623
8576
|
vertical-align: middle;
|
|
8624
8577
|
}
|
|
8625
8578
|
|
|
8626
8579
|
.muka-data-table__cell-content {
|
|
8627
8580
|
display: flex;
|
|
8628
8581
|
align-items: center;
|
|
8629
|
-
min-height:
|
|
8582
|
+
min-height: var(--datatable-cell-min-height); /* 32px slot — matches Figma body cell height */
|
|
8630
8583
|
word-break: break-word;
|
|
8631
8584
|
}
|
|
8632
8585
|
|
|
@@ -8635,6 +8588,42 @@ li.muka-listitem {
|
|
|
8635
8588
|
color: var(--color-text-subtle-default);
|
|
8636
8589
|
}
|
|
8637
8590
|
|
|
8591
|
+
/* ========================================
|
|
8592
|
+
BADGES — always the small (sm) scale
|
|
8593
|
+
======================================== */
|
|
8594
|
+
|
|
8595
|
+
/* Any Badge inside a DataTable renders at the small scale regardless of the
|
|
8596
|
+
`size` prop passed to it — status pills stay compact and consistent across
|
|
8597
|
+
every table density. Enforced here so callers can't accidentally scale them
|
|
8598
|
+
up. Overrides the `.muka-badge--md`/`--lg` size rules by carrying a higher
|
|
8599
|
+
specificity (2–3 classes vs. 1–2), independent of stylesheet import order. */
|
|
8600
|
+
.muka-data-table .muka-badge {
|
|
8601
|
+
height: var(--badge-size-height-sm);
|
|
8602
|
+
gap: var(--badge-gap-sm);
|
|
8603
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
8604
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
8605
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
8606
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
8607
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
8608
|
+
}
|
|
8609
|
+
|
|
8610
|
+
/* Match the sm leading padding when a leading icon or dot is present. */
|
|
8611
|
+
.muka-data-table .muka-badge.muka-badge--has-icon,
|
|
8612
|
+
.muka-data-table .muka-badge.muka-badge--has-dot {
|
|
8613
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
8614
|
+
}
|
|
8615
|
+
|
|
8616
|
+
/* Icon and dot slots follow the sm scale too. */
|
|
8617
|
+
.muka-data-table .muka-badge .muka-badge__icon {
|
|
8618
|
+
width: var(--icon-size-xs);
|
|
8619
|
+
height: var(--icon-size-xs);
|
|
8620
|
+
}
|
|
8621
|
+
|
|
8622
|
+
.muka-data-table .muka-badge .muka-badge__dot {
|
|
8623
|
+
width: var(--badge-size-dot-sm);
|
|
8624
|
+
height: var(--badge-size-dot-sm);
|
|
8625
|
+
}
|
|
8626
|
+
|
|
8638
8627
|
/* ========================================
|
|
8639
8628
|
ALIGNMENT
|
|
8640
8629
|
======================================== */
|
|
@@ -8667,7 +8656,7 @@ li.muka-listitem {
|
|
|
8667
8656
|
|
|
8668
8657
|
.muka-data-table--column-dividers .muka-data-table__th:not(:last-child),
|
|
8669
8658
|
.muka-data-table--column-dividers .muka-data-table__td:not(:last-child) {
|
|
8670
|
-
border-right: var(--border-width-regular, 1px) solid var(--
|
|
8659
|
+
border-right: var(--border-width-regular, 1px) solid var(--datatable-divider-color);
|
|
8671
8660
|
}
|
|
8672
8661
|
|
|
8673
8662
|
/* ========================================
|
|
@@ -8679,7 +8668,7 @@ li.muka-listitem {
|
|
|
8679
8668
|
align-items: center;
|
|
8680
8669
|
gap: var(--spacing-1);
|
|
8681
8670
|
width: 100%;
|
|
8682
|
-
min-height:
|
|
8671
|
+
min-height: var(--datatable-cell-min-height);
|
|
8683
8672
|
padding: 0;
|
|
8684
8673
|
margin: 0;
|
|
8685
8674
|
border: 0;
|
|
@@ -8693,24 +8682,270 @@ li.muka-listitem {
|
|
|
8693
8682
|
}
|
|
8694
8683
|
|
|
8695
8684
|
.muka-data-table__sort-button:focus-visible {
|
|
8696
|
-
outline: 2px solid var(--
|
|
8685
|
+
outline: 2px solid var(--datatable-focus-ring);
|
|
8697
8686
|
outline-offset: 2px;
|
|
8698
8687
|
}
|
|
8699
8688
|
|
|
8689
|
+
/* The chevron only renders on the active sort column, so it's always full-strength. */
|
|
8700
8690
|
.muka-data-table__sort-icon {
|
|
8701
8691
|
display: inline-flex;
|
|
8702
8692
|
flex-shrink: 0;
|
|
8703
|
-
opacity: 0.4;
|
|
8704
|
-
transition: opacity 0.15s ease;
|
|
8705
8693
|
}
|
|
8706
8694
|
|
|
8707
|
-
|
|
8708
|
-
|
|
8695
|
+
/* ========================================
|
|
8696
|
+
INTERACTIVE ROWS (clickable / link)
|
|
8697
|
+
======================================== */
|
|
8698
|
+
|
|
8699
|
+
.muka-data-table__row--interactive {
|
|
8700
|
+
cursor: pointer;
|
|
8701
|
+
/* anchor for the stretched link overlay */
|
|
8702
|
+
position: relative;
|
|
8709
8703
|
}
|
|
8710
8704
|
|
|
8711
|
-
.muka-data-
|
|
8712
|
-
|
|
8713
|
-
|
|
8705
|
+
.muka-data-table__row--interactive:focus-visible {
|
|
8706
|
+
outline: 2px solid var(--datatable-focus-ring);
|
|
8707
|
+
outline-offset: -2px;
|
|
8708
|
+
}
|
|
8709
|
+
|
|
8710
|
+
.muka-data-table__row--interactive:active {
|
|
8711
|
+
background-color: var(--datatable-row-pressed-background);
|
|
8712
|
+
}
|
|
8713
|
+
|
|
8714
|
+
/* Link rows: the first-cell anchor stretches to cover the whole row. */
|
|
8715
|
+
.muka-data-table__row-link {
|
|
8716
|
+
color: inherit;
|
|
8717
|
+
text-decoration: none;
|
|
8718
|
+
}
|
|
8719
|
+
|
|
8720
|
+
.muka-data-table__row-link::after {
|
|
8721
|
+
content: '';
|
|
8722
|
+
position: absolute;
|
|
8723
|
+
inset: 0;
|
|
8724
|
+
z-index: 0;
|
|
8725
|
+
}
|
|
8726
|
+
|
|
8727
|
+
.muka-data-table__row--link:hover {
|
|
8728
|
+
background-color: var(--datatable-row-hover-background);
|
|
8729
|
+
}
|
|
8730
|
+
|
|
8731
|
+
.muka-data-table__row--link .muka-data-table__row-link:focus-visible {
|
|
8732
|
+
outline: 2px solid var(--datatable-focus-ring);
|
|
8733
|
+
outline-offset: -2px;
|
|
8734
|
+
}
|
|
8735
|
+
|
|
8736
|
+
/* Disabled rows */
|
|
8737
|
+
.muka-data-table__row--disabled {
|
|
8738
|
+
cursor: default;
|
|
8739
|
+
color: var(--color-text-muted-default);
|
|
8740
|
+
}
|
|
8741
|
+
|
|
8742
|
+
.muka-data-table__row--disabled .muka-data-table__td {
|
|
8743
|
+
color: var(--color-text-muted-default);
|
|
8744
|
+
}
|
|
8745
|
+
|
|
8746
|
+
/* ========================================
|
|
8747
|
+
TRAILING ACTION COLUMN
|
|
8748
|
+
======================================== */
|
|
8749
|
+
|
|
8750
|
+
/* Hug: the trailing action column shrinks to its content, so a text-label
|
|
8751
|
+
button ("View") gets exactly the width it needs and an icon-only button
|
|
8752
|
+
stays tight. `width: 1%` + `nowrap` is the classic auto-table hug. */
|
|
8753
|
+
.muka-data-table__col--action {
|
|
8754
|
+
width: 0;
|
|
8755
|
+
}
|
|
8756
|
+
|
|
8757
|
+
.muka-data-table__th--action,
|
|
8758
|
+
.muka-data-table__td--action {
|
|
8759
|
+
width: 1%;
|
|
8760
|
+
white-space: nowrap;
|
|
8761
|
+
padding-left: var(--spacing-2);
|
|
8762
|
+
padding-right: var(--spacing-2);
|
|
8763
|
+
text-align: right;
|
|
8764
|
+
/* Sit above the row link overlay so the action stays independently clickable. */
|
|
8765
|
+
position: relative;
|
|
8766
|
+
z-index: 1;
|
|
8767
|
+
}
|
|
8768
|
+
|
|
8769
|
+
.muka-data-table__action-content {
|
|
8770
|
+
justify-content: flex-end;
|
|
8771
|
+
}
|
|
8772
|
+
|
|
8773
|
+
/* Visually-hidden-friendly empty header slot keeps the row height consistent. */
|
|
8774
|
+
.muka-data-table__action-header:empty {
|
|
8775
|
+
min-height: var(--datatable-cell-min-height);
|
|
8776
|
+
}
|
|
8777
|
+
|
|
8778
|
+
/* ========================================
|
|
8779
|
+
SELECTION — leading checkbox column
|
|
8780
|
+
======================================== */
|
|
8781
|
+
|
|
8782
|
+
.muka-data-table__col--select {
|
|
8783
|
+
width: var(--datatable-selection-column-width);
|
|
8784
|
+
}
|
|
8785
|
+
|
|
8786
|
+
.muka-data-table__th--select,
|
|
8787
|
+
.muka-data-table__td--select {
|
|
8788
|
+
width: var(--datatable-selection-column-width);
|
|
8789
|
+
padding-left: var(--spacing-4);
|
|
8790
|
+
padding-right: var(--spacing-2);
|
|
8791
|
+
/* Sit above the row link overlay so the checkbox stays independently clickable. */
|
|
8792
|
+
position: relative;
|
|
8793
|
+
z-index: 1;
|
|
8794
|
+
}
|
|
8795
|
+
|
|
8796
|
+
.muka-data-table__select-control {
|
|
8797
|
+
display: inline-flex;
|
|
8798
|
+
align-items: center;
|
|
8799
|
+
}
|
|
8800
|
+
|
|
8801
|
+
/* ========================================
|
|
8802
|
+
RESPONSIVE — two-column mobile layout
|
|
8803
|
+
======================================== */
|
|
8804
|
+
|
|
8805
|
+
/* Desktop: the mobile-only stack cell/header/col are hidden. */
|
|
8806
|
+
.muka-data-table__th--mobile-stack,
|
|
8807
|
+
.muka-data-table__td--mobile-stack {
|
|
8808
|
+
display: none;
|
|
8809
|
+
}
|
|
8810
|
+
|
|
8811
|
+
/* Establish a container so the layout responds to the table's own width, not the
|
|
8812
|
+
viewport — a DataTable in a narrow panel collapses even on a wide screen. */
|
|
8813
|
+
.muka-data-table-wrapper--responsive {
|
|
8814
|
+
container-type: inline-size;
|
|
8815
|
+
}
|
|
8816
|
+
|
|
8817
|
+
/* Below --breakpoint-md (768px) of the wrapper's width. @container can't read
|
|
8818
|
+
custom properties, so the value is inlined as 767.98px. */
|
|
8819
|
+
@container (max-width: 767.98px) {
|
|
8820
|
+
/* Lift the table and body out of table layout. Without this the grid rows
|
|
8821
|
+
below get wrapped in anonymous table cells that shrink-wrap them to
|
|
8822
|
+
min-content, collapsing the flexible (1fr) stack track to 0. */
|
|
8823
|
+
.muka-data-table--responsive {
|
|
8824
|
+
display: block;
|
|
8825
|
+
}
|
|
8826
|
+
|
|
8827
|
+
.muka-data-table--responsive .muka-data-table__body {
|
|
8828
|
+
display: block;
|
|
8829
|
+
}
|
|
8830
|
+
|
|
8831
|
+
.muka-data-table--responsive .muka-data-table__head {
|
|
8832
|
+
display: none;
|
|
8833
|
+
}
|
|
8834
|
+
|
|
8835
|
+
.muka-data-table--responsive .muka-data-table__row {
|
|
8836
|
+
display: grid;
|
|
8837
|
+
grid-template-columns: 1fr auto auto;
|
|
8838
|
+
align-items: center;
|
|
8839
|
+
column-gap: var(--spacing-4);
|
|
8840
|
+
padding: var(--dt-pad-y) var(--dt-pad-x);
|
|
8841
|
+
}
|
|
8842
|
+
|
|
8843
|
+
/* Reset table cells; each visible mobile cell opts back in below. */
|
|
8844
|
+
.muka-data-table--responsive .muka-data-table__td {
|
|
8845
|
+
display: none;
|
|
8846
|
+
padding: 0;
|
|
8847
|
+
}
|
|
8848
|
+
|
|
8849
|
+
/* Pin every visible cell to the single grid row. The stack cell sits after the
|
|
8850
|
+
secondary cell in DOM order but targets an earlier column, so without this
|
|
8851
|
+
auto-placement spills it onto a second row (breaking vertical centering). */
|
|
8852
|
+
.muka-data-table--responsive .muka-data-table__td--select,
|
|
8853
|
+
.muka-data-table--responsive .muka-data-table__td--mobile-stack,
|
|
8854
|
+
.muka-data-table--responsive .muka-data-table__td--m-secondary,
|
|
8855
|
+
.muka-data-table--responsive .muka-data-table__td--action {
|
|
8856
|
+
grid-row: 1;
|
|
8857
|
+
}
|
|
8858
|
+
|
|
8859
|
+
.muka-data-table--responsive .muka-data-table__td--mobile-stack {
|
|
8860
|
+
display: block;
|
|
8861
|
+
grid-column: 1;
|
|
8862
|
+
min-width: 0;
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
.muka-data-table--responsive .muka-data-table__td--m-secondary {
|
|
8866
|
+
display: block;
|
|
8867
|
+
grid-column: 2;
|
|
8868
|
+
}
|
|
8869
|
+
|
|
8870
|
+
.muka-data-table--responsive .muka-data-table__td--action {
|
|
8871
|
+
display: block;
|
|
8872
|
+
grid-column: 3;
|
|
8873
|
+
width: auto;
|
|
8874
|
+
}
|
|
8875
|
+
|
|
8876
|
+
/* Cell-content wrappers: drop the fixed row-height slot so rows stay compact. */
|
|
8877
|
+
.muka-data-table--responsive .muka-data-table__td .muka-data-table__cell-content {
|
|
8878
|
+
min-height: 0;
|
|
8879
|
+
}
|
|
8880
|
+
|
|
8881
|
+
.muka-data-table--responsive .muka-data-table__td--m-secondary .muka-data-table__cell-content {
|
|
8882
|
+
justify-content: flex-end;
|
|
8883
|
+
}
|
|
8884
|
+
|
|
8885
|
+
/* Stacked primary column: first field is the title, the rest are subtitle lines. */
|
|
8886
|
+
.muka-data-table__stack {
|
|
8887
|
+
display: flex;
|
|
8888
|
+
flex-direction: column;
|
|
8889
|
+
gap: var(--spacing-1);
|
|
8890
|
+
min-width: 0;
|
|
8891
|
+
}
|
|
8892
|
+
|
|
8893
|
+
/* A ProfileBadge in the collapsed card drops its avatar so the name sits
|
|
8894
|
+
flush-left and lines up with the other stacked primary/secondary text
|
|
8895
|
+
instead of being indented by the avatar. `display: none` also collapses the
|
|
8896
|
+
ProfileBadge's flex gap, so no placeholder whitespace is left behind. */
|
|
8897
|
+
.muka-data-table--responsive .muka-profile-badge__avatar {
|
|
8898
|
+
display: none;
|
|
8899
|
+
}
|
|
8900
|
+
|
|
8901
|
+
.muka-data-table__stack-title {
|
|
8902
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
8903
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8904
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
8905
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
8906
|
+
color: var(--color-text-default-default);
|
|
8907
|
+
overflow: hidden;
|
|
8908
|
+
text-overflow: ellipsis;
|
|
8909
|
+
}
|
|
8910
|
+
|
|
8911
|
+
.muka-data-table__stack-line {
|
|
8912
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8913
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8914
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
8915
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8916
|
+
color: var(--color-text-subtle-default);
|
|
8917
|
+
overflow: hidden;
|
|
8918
|
+
text-overflow: ellipsis;
|
|
8919
|
+
}
|
|
8920
|
+
|
|
8921
|
+
/* The stack title may itself be the stretched link. */
|
|
8922
|
+
.muka-data-table__stack-title .muka-data-table__row-link {
|
|
8923
|
+
color: inherit;
|
|
8924
|
+
text-decoration: none;
|
|
8925
|
+
}
|
|
8926
|
+
|
|
8927
|
+
/* Selection checkbox leads the mobile row: [checkbox | stack | secondary | action]. */
|
|
8928
|
+
.muka-data-table--responsive .muka-data-table__td--select {
|
|
8929
|
+
display: block;
|
|
8930
|
+
grid-column: 1;
|
|
8931
|
+
width: auto;
|
|
8932
|
+
}
|
|
8933
|
+
|
|
8934
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__row {
|
|
8935
|
+
grid-template-columns: auto 1fr auto auto;
|
|
8936
|
+
}
|
|
8937
|
+
|
|
8938
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--mobile-stack {
|
|
8939
|
+
grid-column: 2;
|
|
8940
|
+
}
|
|
8941
|
+
|
|
8942
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--m-secondary {
|
|
8943
|
+
grid-column: 3;
|
|
8944
|
+
}
|
|
8945
|
+
|
|
8946
|
+
.muka-data-table--responsive.muka-data-table--selectable .muka-data-table__td--action {
|
|
8947
|
+
grid-column: 4;
|
|
8948
|
+
}
|
|
8714
8949
|
}
|
|
8715
8950
|
|
|
8716
8951
|
|
|
@@ -8946,7 +9181,6 @@ li.muka-listitem {
|
|
|
8946
9181
|
.muka-chip {
|
|
8947
9182
|
display: inline-flex;
|
|
8948
9183
|
align-items: center;
|
|
8949
|
-
gap: var(--spacing-2);
|
|
8950
9184
|
border-radius: var(--border-radius-full);
|
|
8951
9185
|
white-space: nowrap;
|
|
8952
9186
|
user-select: none;
|
|
@@ -8954,44 +9188,89 @@ li.muka-listitem {
|
|
|
8954
9188
|
box-sizing: border-box;
|
|
8955
9189
|
}
|
|
8956
9190
|
|
|
8957
|
-
/*
|
|
9191
|
+
/*
|
|
9192
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
9193
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
9194
|
+
* The side that carries an adornment (leading icon / dismiss button) gets a
|
|
9195
|
+
* tighter padding, applied via the --has-icon / --dismissible modifiers below.
|
|
9196
|
+
*/
|
|
8958
9197
|
.muka-chip--sm {
|
|
8959
9198
|
height: var(--chip-size-height-sm);
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
font-
|
|
8963
|
-
font-
|
|
8964
|
-
|
|
9199
|
+
gap: var(--chip-gap-sm);
|
|
9200
|
+
padding: 0 var(--chip-padding-label-sm);
|
|
9201
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
9202
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
9203
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
9204
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
8965
9205
|
}
|
|
8966
9206
|
|
|
8967
9207
|
.muka-chip--md {
|
|
8968
9208
|
height: var(--chip-size-height-md);
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
font-
|
|
8972
|
-
font-
|
|
8973
|
-
|
|
9209
|
+
gap: var(--chip-gap-md);
|
|
9210
|
+
padding: 0 var(--chip-padding-label-md);
|
|
9211
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
9212
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
9213
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
9214
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
8974
9215
|
}
|
|
8975
9216
|
|
|
8976
9217
|
.muka-chip--lg {
|
|
8977
9218
|
height: var(--chip-size-height-lg);
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
font-
|
|
8981
|
-
font-
|
|
8982
|
-
|
|
9219
|
+
gap: var(--chip-gap-lg);
|
|
9220
|
+
padding: 0 var(--chip-padding-label-lg);
|
|
9221
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
9222
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
9223
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
9224
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
9225
|
+
}
|
|
9226
|
+
|
|
9227
|
+
/* Tighter leading padding when a leading icon is present */
|
|
9228
|
+
.muka-chip--sm.muka-chip--has-icon {
|
|
9229
|
+
padding-left: var(--chip-padding-leading-sm);
|
|
9230
|
+
}
|
|
9231
|
+
.muka-chip--md.muka-chip--has-icon {
|
|
9232
|
+
padding-left: var(--chip-padding-leading-md);
|
|
9233
|
+
}
|
|
9234
|
+
.muka-chip--lg.muka-chip--has-icon {
|
|
9235
|
+
padding-left: var(--chip-padding-leading-lg);
|
|
9236
|
+
}
|
|
9237
|
+
|
|
9238
|
+
/* Tighter trailing padding when the dismiss button is present */
|
|
9239
|
+
.muka-chip--sm.muka-chip--dismissible {
|
|
9240
|
+
padding-right: var(--chip-padding-trailing-sm);
|
|
9241
|
+
}
|
|
9242
|
+
.muka-chip--md.muka-chip--dismissible {
|
|
9243
|
+
padding-right: var(--chip-padding-trailing-md);
|
|
9244
|
+
}
|
|
9245
|
+
.muka-chip--lg.muka-chip--dismissible {
|
|
9246
|
+
padding-right: var(--chip-padding-trailing-lg);
|
|
8983
9247
|
}
|
|
8984
9248
|
|
|
8985
|
-
/*
|
|
9249
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
|
|
8986
9250
|
.muka-chip__icon {
|
|
8987
9251
|
display: inline-flex;
|
|
8988
9252
|
align-items: center;
|
|
8989
9253
|
justify-content: center;
|
|
8990
9254
|
flex-shrink: 0;
|
|
8991
|
-
width: 1em;
|
|
8992
|
-
height: 1em;
|
|
8993
9255
|
}
|
|
8994
9256
|
|
|
9257
|
+
.muka-chip--sm .muka-chip__icon {
|
|
9258
|
+
width: var(--icon-size-xs);
|
|
9259
|
+
height: var(--icon-size-xs);
|
|
9260
|
+
}
|
|
9261
|
+
.muka-chip--md .muka-chip__icon {
|
|
9262
|
+
width: var(--icon-size-sm);
|
|
9263
|
+
height: var(--icon-size-sm);
|
|
9264
|
+
}
|
|
9265
|
+
.muka-chip--lg .muka-chip__icon {
|
|
9266
|
+
width: var(--icon-size-default);
|
|
9267
|
+
height: var(--icon-size-default);
|
|
9268
|
+
}
|
|
9269
|
+
|
|
9270
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
9271
|
+
so callers don't have to size the icon to match each chip size. The
|
|
9272
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
9273
|
+
.muka-chip__icon .muka-icon,
|
|
8995
9274
|
.muka-chip__icon svg {
|
|
8996
9275
|
width: 100%;
|
|
8997
9276
|
height: 100%;
|
|
@@ -9002,100 +9281,146 @@ li.muka-listitem {
|
|
|
9002
9281
|
min-width: 0;
|
|
9003
9282
|
overflow: hidden;
|
|
9004
9283
|
text-overflow: ellipsis;
|
|
9284
|
+
/*
|
|
9285
|
+
* The chip sets a tight line-height (= font size) for compact sizing, but the label's
|
|
9286
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
9287
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
9288
|
+
* because the chip height is fixed and content is centered via align-items: center.
|
|
9289
|
+
*/
|
|
9290
|
+
line-height: normal;
|
|
9005
9291
|
}
|
|
9006
9292
|
|
|
9007
|
-
/*
|
|
9293
|
+
/* Dismiss button — circular hit area. Figma circle sizes: sm 20, md 24, lg 32 */
|
|
9008
9294
|
.muka-chip__remove {
|
|
9009
9295
|
display: inline-flex;
|
|
9010
9296
|
align-items: center;
|
|
9011
9297
|
justify-content: center;
|
|
9012
9298
|
flex-shrink: 0;
|
|
9013
|
-
width: 1.25em;
|
|
9014
|
-
height: 1.25em;
|
|
9015
9299
|
padding: 0;
|
|
9016
9300
|
margin: 0;
|
|
9017
9301
|
border: none;
|
|
9018
9302
|
border-radius: var(--border-radius-full);
|
|
9019
|
-
background: transparent;
|
|
9020
|
-
color: inherit;
|
|
9021
9303
|
cursor: pointer;
|
|
9022
|
-
|
|
9304
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
9023
9305
|
}
|
|
9024
9306
|
|
|
9025
|
-
.muka-chip__remove
|
|
9026
|
-
|
|
9027
|
-
|
|
9307
|
+
.muka-chip--sm .muka-chip__remove {
|
|
9308
|
+
width: var(--icon-size-sm);
|
|
9309
|
+
height: var(--icon-size-sm);
|
|
9310
|
+
}
|
|
9311
|
+
.muka-chip--md .muka-chip__remove {
|
|
9312
|
+
width: var(--icon-size-default);
|
|
9313
|
+
height: var(--icon-size-default);
|
|
9314
|
+
}
|
|
9315
|
+
.muka-chip--lg .muka-chip__remove {
|
|
9316
|
+
width: var(--icon-size-lg);
|
|
9317
|
+
height: var(--icon-size-lg);
|
|
9028
9318
|
}
|
|
9029
9319
|
|
|
9030
9320
|
.muka-chip__remove:focus-visible {
|
|
9031
9321
|
outline: 2px solid currentColor;
|
|
9032
9322
|
outline-offset: 2px;
|
|
9033
9323
|
}
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9324
|
+
|
|
9325
|
+
/*
|
|
9326
|
+
* Dismiss button colors — state-tinted per chip variant, with default / hover /
|
|
9327
|
+
* pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
|
|
9328
|
+
* brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
|
|
9329
|
+
*/
|
|
9330
|
+
.muka-chip--default .muka-chip__remove {
|
|
9331
|
+
background-color: var(--chip-dismiss-default-background-default);
|
|
9332
|
+
color: var(--chip-dismiss-default-foreground-default);
|
|
9333
|
+
}
|
|
9334
|
+
.muka-chip--default .muka-chip__remove:hover {
|
|
9335
|
+
background-color: var(--chip-dismiss-default-background-hover);
|
|
9336
|
+
color: var(--chip-dismiss-default-foreground-hover);
|
|
9337
|
+
}
|
|
9338
|
+
.muka-chip--default .muka-chip__remove:active {
|
|
9339
|
+
background-color: var(--chip-dismiss-default-background-pressed);
|
|
9340
|
+
color: var(--chip-dismiss-default-foreground-pressed);
|
|
9038
9341
|
}
|
|
9039
9342
|
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
color: var(--color-text-default-default);
|
|
9343
|
+
.muka-chip--success .muka-chip__remove {
|
|
9344
|
+
background-color: var(--chip-dismiss-success-background-default);
|
|
9345
|
+
color: var(--chip-dismiss-success-foreground-default);
|
|
9044
9346
|
}
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9347
|
+
.muka-chip--success .muka-chip__remove:hover {
|
|
9348
|
+
background-color: var(--chip-dismiss-success-background-hover);
|
|
9349
|
+
color: var(--chip-dismiss-success-foreground-hover);
|
|
9350
|
+
}
|
|
9351
|
+
.muka-chip--success .muka-chip__remove:active {
|
|
9352
|
+
background-color: var(--chip-dismiss-success-background-pressed);
|
|
9353
|
+
color: var(--chip-dismiss-success-foreground-pressed);
|
|
9049
9354
|
}
|
|
9050
9355
|
|
|
9051
|
-
.muka-chip--
|
|
9052
|
-
background-color: var(--
|
|
9053
|
-
color: var(--
|
|
9356
|
+
.muka-chip--warning .muka-chip__remove {
|
|
9357
|
+
background-color: var(--chip-dismiss-warning-background-default);
|
|
9358
|
+
color: var(--chip-dismiss-warning-foreground-default);
|
|
9359
|
+
}
|
|
9360
|
+
.muka-chip--warning .muka-chip__remove:hover {
|
|
9361
|
+
background-color: var(--chip-dismiss-warning-background-hover);
|
|
9362
|
+
color: var(--chip-dismiss-warning-foreground-hover);
|
|
9363
|
+
}
|
|
9364
|
+
.muka-chip--warning .muka-chip__remove:active {
|
|
9365
|
+
background-color: var(--chip-dismiss-warning-background-pressed);
|
|
9366
|
+
color: var(--chip-dismiss-warning-foreground-pressed);
|
|
9054
9367
|
}
|
|
9055
9368
|
|
|
9056
|
-
.muka-chip--
|
|
9057
|
-
background-color: var(--
|
|
9058
|
-
color: var(--
|
|
9369
|
+
.muka-chip--error .muka-chip__remove {
|
|
9370
|
+
background-color: var(--chip-dismiss-error-background-default);
|
|
9371
|
+
color: var(--chip-dismiss-error-foreground-default);
|
|
9372
|
+
}
|
|
9373
|
+
.muka-chip--error .muka-chip__remove:hover {
|
|
9374
|
+
background-color: var(--chip-dismiss-error-background-hover);
|
|
9375
|
+
color: var(--chip-dismiss-error-foreground-hover);
|
|
9376
|
+
}
|
|
9377
|
+
.muka-chip--error .muka-chip__remove:active {
|
|
9378
|
+
background-color: var(--chip-dismiss-error-background-pressed);
|
|
9379
|
+
color: var(--chip-dismiss-error-foreground-pressed);
|
|
9059
9380
|
}
|
|
9060
9381
|
|
|
9061
|
-
.muka-chip--
|
|
9062
|
-
background-color: var(--
|
|
9063
|
-
color: var(--
|
|
9382
|
+
.muka-chip--info .muka-chip__remove {
|
|
9383
|
+
background-color: var(--chip-dismiss-info-background-default);
|
|
9384
|
+
color: var(--chip-dismiss-info-foreground-default);
|
|
9385
|
+
}
|
|
9386
|
+
.muka-chip--info .muka-chip__remove:hover {
|
|
9387
|
+
background-color: var(--chip-dismiss-info-background-hover);
|
|
9388
|
+
color: var(--chip-dismiss-info-foreground-hover);
|
|
9389
|
+
}
|
|
9390
|
+
.muka-chip--info .muka-chip__remove:active {
|
|
9391
|
+
background-color: var(--chip-dismiss-info-background-pressed);
|
|
9392
|
+
color: var(--chip-dismiss-info-foreground-pressed);
|
|
9064
9393
|
}
|
|
9065
9394
|
|
|
9066
|
-
/*
|
|
9067
|
-
.muka-chip--
|
|
9068
|
-
background-color: var(--color-surface-
|
|
9395
|
+
/* Variants (solid fill) — icons inherit these foreground colors (see below) */
|
|
9396
|
+
.muka-chip--default {
|
|
9397
|
+
background-color: var(--color-surface-level1);
|
|
9069
9398
|
color: var(--color-text-default-default);
|
|
9070
|
-
border-color: var(--color-surface-level1);
|
|
9071
9399
|
}
|
|
9072
9400
|
|
|
9073
|
-
.muka-chip--
|
|
9401
|
+
.muka-chip--success {
|
|
9074
9402
|
background-color: var(--color-state-success-background);
|
|
9075
9403
|
color: var(--color-state-success-contrast);
|
|
9076
|
-
border-color: var(--color-state-success-contrast);
|
|
9077
|
-
opacity: 0.95;
|
|
9078
9404
|
}
|
|
9079
9405
|
|
|
9080
|
-
.muka-chip--
|
|
9406
|
+
.muka-chip--warning {
|
|
9081
9407
|
background-color: var(--color-state-warning-background);
|
|
9082
9408
|
color: var(--color-state-warning-contrast);
|
|
9083
|
-
border-color: var(--color-state-warning-contrast);
|
|
9084
|
-
opacity: 0.95;
|
|
9085
9409
|
}
|
|
9086
9410
|
|
|
9087
|
-
.muka-chip--
|
|
9411
|
+
.muka-chip--error {
|
|
9088
9412
|
background-color: var(--color-state-error-background);
|
|
9089
9413
|
color: var(--color-state-error-contrast);
|
|
9090
|
-
border-color: var(--color-state-error-contrast);
|
|
9091
|
-
opacity: 0.95;
|
|
9092
9414
|
}
|
|
9093
9415
|
|
|
9094
|
-
.muka-chip--
|
|
9416
|
+
.muka-chip--info {
|
|
9095
9417
|
background-color: var(--color-state-info-background);
|
|
9096
9418
|
color: var(--color-state-info-contrast);
|
|
9097
|
-
|
|
9098
|
-
|
|
9419
|
+
}
|
|
9420
|
+
|
|
9421
|
+
/* Icons (leading + dismiss) inherit the chip's per-variant foreground color */
|
|
9422
|
+
.muka-chip .muka-icon {
|
|
9423
|
+
color: inherit;
|
|
9099
9424
|
}
|
|
9100
9425
|
|
|
9101
9426
|
|
|
@@ -10024,8 +10349,11 @@ li.muka-listitem {
|
|
|
10024
10349
|
box-shadow: var(--button-color-primary-shadow-hover);
|
|
10025
10350
|
}
|
|
10026
10351
|
|
|
10352
|
+
/* `[data-state="open"]` keeps a Button pressed while it's an open disclosure
|
|
10353
|
+
trigger (Radix Menu/Popover set this on the trigger). */
|
|
10027
10354
|
.muka-button--primary:active:not(:disabled),
|
|
10028
|
-
.muka-button--primary.muka-button--pressed:not(:disabled)
|
|
10355
|
+
.muka-button--primary.muka-button--pressed:not(:disabled),
|
|
10356
|
+
.muka-button--primary[data-state="open"]:not(:disabled) {
|
|
10029
10357
|
background-color: var(--button-color-primary-background-pressed);
|
|
10030
10358
|
color: var(--button-color-primary-foreground-pressed);
|
|
10031
10359
|
box-shadow: var(--button-color-primary-shadow-pressed);
|
|
@@ -10053,7 +10381,8 @@ li.muka-listitem {
|
|
|
10053
10381
|
}
|
|
10054
10382
|
|
|
10055
10383
|
.muka-button--secondary:active:not(:disabled),
|
|
10056
|
-
.muka-button--secondary.muka-button--pressed:not(:disabled)
|
|
10384
|
+
.muka-button--secondary.muka-button--pressed:not(:disabled),
|
|
10385
|
+
.muka-button--secondary[data-state="open"]:not(:disabled) {
|
|
10057
10386
|
background-color: var(--button-color-secondary-background-pressed);
|
|
10058
10387
|
color: var(--button-color-secondary-foreground-pressed);
|
|
10059
10388
|
box-shadow: var(--button-color-secondary-shadow-pressed);
|
|
@@ -10081,7 +10410,8 @@ li.muka-listitem {
|
|
|
10081
10410
|
}
|
|
10082
10411
|
|
|
10083
10412
|
.muka-button--tertiary:active:not(:disabled),
|
|
10084
|
-
.muka-button--tertiary.muka-button--pressed:not(:disabled)
|
|
10413
|
+
.muka-button--tertiary.muka-button--pressed:not(:disabled),
|
|
10414
|
+
.muka-button--tertiary[data-state="open"]:not(:disabled) {
|
|
10085
10415
|
background-color: var(--button-color-tertiary-background-pressed);
|
|
10086
10416
|
color: var(--button-color-tertiary-foreground-pressed);
|
|
10087
10417
|
border-color: var(--button-color-tertiary-border-pressed);
|
|
@@ -10109,7 +10439,8 @@ li.muka-listitem {
|
|
|
10109
10439
|
}
|
|
10110
10440
|
|
|
10111
10441
|
.muka-button--ghost:active:not(:disabled),
|
|
10112
|
-
.muka-button--ghost.muka-button--pressed:not(:disabled)
|
|
10442
|
+
.muka-button--ghost.muka-button--pressed:not(:disabled),
|
|
10443
|
+
.muka-button--ghost[data-state="open"]:not(:disabled) {
|
|
10113
10444
|
background-color: var(--button-color-ghost-background-pressed);
|
|
10114
10445
|
color: var(--button-color-ghost-foreground-pressed);
|
|
10115
10446
|
border-color: var(--button-color-ghost-border-pressed);
|
|
@@ -10405,6 +10736,15 @@ li.muka-listitem {
|
|
|
10405
10736
|
backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
10406
10737
|
-webkit-backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
10407
10738
|
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
10739
|
+
|
|
10740
|
+
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
10741
|
+
let scroll/taps fall through to that content, keeping only the pill itself
|
|
10742
|
+
interactive (re-enabled on __content below). */
|
|
10743
|
+
pointer-events: none;
|
|
10744
|
+
}
|
|
10745
|
+
|
|
10746
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
10747
|
+
pointer-events: auto;
|
|
10408
10748
|
}
|
|
10409
10749
|
|
|
10410
10750
|
.muka-bottombar--floating .muka-bottombar__content {
|
|
@@ -10557,56 +10897,98 @@ li.muka-listitem {
|
|
|
10557
10897
|
.muka-badge {
|
|
10558
10898
|
display: inline-flex;
|
|
10559
10899
|
align-items: center;
|
|
10560
|
-
gap: var(--spacing-1);
|
|
10561
10900
|
border-radius: var(--border-radius-full);
|
|
10562
10901
|
white-space: nowrap;
|
|
10563
10902
|
user-select: none;
|
|
10564
10903
|
box-sizing: border-box;
|
|
10565
10904
|
}
|
|
10566
10905
|
|
|
10567
|
-
/*
|
|
10906
|
+
/*
|
|
10907
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
10908
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
10909
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
10910
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
10911
|
+
* --has-icon / --has-dot modifiers below.
|
|
10912
|
+
*/
|
|
10568
10913
|
.muka-badge--sm {
|
|
10569
10914
|
height: var(--badge-size-height-sm);
|
|
10570
|
-
|
|
10571
|
-
|
|
10572
|
-
font-
|
|
10573
|
-
font-
|
|
10574
|
-
|
|
10915
|
+
gap: var(--badge-gap-sm);
|
|
10916
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
10917
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10918
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10919
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10920
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10575
10921
|
}
|
|
10576
10922
|
|
|
10577
10923
|
.muka-badge--md {
|
|
10578
10924
|
height: var(--badge-size-height-md);
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
font-
|
|
10582
|
-
font-
|
|
10583
|
-
|
|
10925
|
+
gap: var(--badge-gap-md);
|
|
10926
|
+
padding: 0 var(--badge-padding-label-md);
|
|
10927
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
10928
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
10929
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
10930
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
10584
10931
|
}
|
|
10585
10932
|
|
|
10586
10933
|
.muka-badge--lg {
|
|
10587
10934
|
height: var(--badge-size-height-lg);
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
font-
|
|
10591
|
-
font-
|
|
10592
|
-
|
|
10935
|
+
gap: var(--badge-gap-lg);
|
|
10936
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
10937
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
10938
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
10939
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
10940
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
10941
|
+
}
|
|
10942
|
+
|
|
10943
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
10944
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
10945
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
10946
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
10947
|
+
}
|
|
10948
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
10949
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
10950
|
+
padding-left: var(--badge-padding-leading-md);
|
|
10951
|
+
}
|
|
10952
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
10953
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
10954
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
10593
10955
|
}
|
|
10594
10956
|
|
|
10595
|
-
/*
|
|
10957
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
10596
10958
|
.muka-badge__icon {
|
|
10597
10959
|
display: inline-flex;
|
|
10598
10960
|
align-items: center;
|
|
10599
10961
|
justify-content: center;
|
|
10600
10962
|
flex-shrink: 0;
|
|
10601
|
-
width: 1em;
|
|
10602
|
-
height: 1em;
|
|
10603
10963
|
}
|
|
10604
10964
|
|
|
10965
|
+
.muka-badge--sm .muka-badge__icon {
|
|
10966
|
+
width: var(--icon-size-xs);
|
|
10967
|
+
height: var(--icon-size-xs);
|
|
10968
|
+
}
|
|
10969
|
+
.muka-badge--md .muka-badge__icon {
|
|
10970
|
+
width: var(--icon-size-sm);
|
|
10971
|
+
height: var(--icon-size-sm);
|
|
10972
|
+
}
|
|
10973
|
+
.muka-badge--lg .muka-badge__icon {
|
|
10974
|
+
width: var(--icon-size-default);
|
|
10975
|
+
height: var(--icon-size-default);
|
|
10976
|
+
}
|
|
10977
|
+
|
|
10978
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
10979
|
+
so callers don't have to size the icon to match each badge size. The
|
|
10980
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
10981
|
+
.muka-badge__icon .muka-icon,
|
|
10605
10982
|
.muka-badge__icon svg {
|
|
10606
10983
|
width: 100%;
|
|
10607
10984
|
height: 100%;
|
|
10608
10985
|
}
|
|
10609
10986
|
|
|
10987
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
10988
|
+
.muka-badge .muka-icon {
|
|
10989
|
+
color: inherit;
|
|
10990
|
+
}
|
|
10991
|
+
|
|
10610
10992
|
/* Dot indicator */
|
|
10611
10993
|
.muka-badge__dot {
|
|
10612
10994
|
flex-shrink: 0;
|
|
@@ -10633,6 +11015,13 @@ li.muka-listitem {
|
|
|
10633
11015
|
min-width: 0;
|
|
10634
11016
|
overflow: hidden;
|
|
10635
11017
|
text-overflow: ellipsis;
|
|
11018
|
+
/*
|
|
11019
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
11020
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
11021
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
11022
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
11023
|
+
*/
|
|
11024
|
+
line-height: normal;
|
|
10636
11025
|
}
|
|
10637
11026
|
|
|
10638
11027
|
/* Neutral variant */
|
|
@@ -10648,41 +11037,41 @@ li.muka-listitem {
|
|
|
10648
11037
|
/* Info variant */
|
|
10649
11038
|
.muka-badge--info {
|
|
10650
11039
|
background-color: var(--color-state-info-background);
|
|
10651
|
-
color: var(--color-state-info-
|
|
11040
|
+
color: var(--color-state-info-contrast);
|
|
10652
11041
|
}
|
|
10653
11042
|
|
|
10654
11043
|
.muka-badge--info .muka-badge__dot {
|
|
10655
|
-
background-color: var(--color-state-info-
|
|
11044
|
+
background-color: var(--color-state-info-default);
|
|
10656
11045
|
}
|
|
10657
11046
|
|
|
10658
11047
|
/* Success variant */
|
|
10659
11048
|
.muka-badge--success {
|
|
10660
11049
|
background-color: var(--color-state-success-background);
|
|
10661
|
-
color: var(--color-state-success-
|
|
11050
|
+
color: var(--color-state-success-contrast);
|
|
10662
11051
|
}
|
|
10663
11052
|
|
|
10664
11053
|
.muka-badge--success .muka-badge__dot {
|
|
10665
|
-
background-color: var(--color-state-success-
|
|
11054
|
+
background-color: var(--color-state-success-default);
|
|
10666
11055
|
}
|
|
10667
11056
|
|
|
10668
11057
|
/* Warning variant */
|
|
10669
11058
|
.muka-badge--warning {
|
|
10670
11059
|
background-color: var(--color-state-warning-background);
|
|
10671
|
-
color: var(--color-state-warning-
|
|
11060
|
+
color: var(--color-state-warning-contrast);
|
|
10672
11061
|
}
|
|
10673
11062
|
|
|
10674
11063
|
.muka-badge--warning .muka-badge__dot {
|
|
10675
|
-
background-color: var(--color-state-warning-
|
|
11064
|
+
background-color: var(--color-state-warning-default);
|
|
10676
11065
|
}
|
|
10677
11066
|
|
|
10678
11067
|
/* Error variant */
|
|
10679
11068
|
.muka-badge--error {
|
|
10680
11069
|
background-color: var(--color-state-error-background);
|
|
10681
|
-
color: var(--color-state-error-
|
|
11070
|
+
color: var(--color-state-error-contrast);
|
|
10682
11071
|
}
|
|
10683
11072
|
|
|
10684
11073
|
.muka-badge--error .muka-badge__dot {
|
|
10685
|
-
background-color: var(--color-state-error-
|
|
11074
|
+
background-color: var(--color-state-error-default);
|
|
10686
11075
|
}
|
|
10687
11076
|
|
|
10688
11077
|
|
|
@@ -11668,3 +12057,172 @@ li.muka-listitem {
|
|
|
11668
12057
|
border-bottom: none;
|
|
11669
12058
|
}
|
|
11670
12059
|
|
|
12060
|
+
|
|
12061
|
+
/* SearchInput */
|
|
12062
|
+
/* SearchInput Component Styles */
|
|
12063
|
+
|
|
12064
|
+
.muka-search-input {
|
|
12065
|
+
display: flex;
|
|
12066
|
+
align-items: center;
|
|
12067
|
+
gap: var(--spacing-3);
|
|
12068
|
+
width: 100%;
|
|
12069
|
+
}
|
|
12070
|
+
|
|
12071
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
12072
|
+
|
|
12073
|
+
.muka-search-input__field {
|
|
12074
|
+
flex: 1 1 auto;
|
|
12075
|
+
display: flex;
|
|
12076
|
+
align-items: center;
|
|
12077
|
+
gap: var(--spacing-2);
|
|
12078
|
+
background-color: var(--input-field-color-default-background);
|
|
12079
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
12080
|
+
border-radius: var(--input-field-radius-md);
|
|
12081
|
+
padding: 0 var(--input-field-padding-x);
|
|
12082
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
12083
|
+
}
|
|
12084
|
+
|
|
12085
|
+
.muka-search-input--focused .muka-search-input__field {
|
|
12086
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
12087
|
+
}
|
|
12088
|
+
|
|
12089
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
12090
|
+
|
|
12091
|
+
.muka-search-input--sm .muka-search-input__field {
|
|
12092
|
+
min-height: var(--input-field-height-sm);
|
|
12093
|
+
border-radius: var(--input-field-radius-sm);
|
|
12094
|
+
}
|
|
12095
|
+
|
|
12096
|
+
.muka-search-input--md .muka-search-input__field {
|
|
12097
|
+
min-height: var(--input-field-height-default);
|
|
12098
|
+
}
|
|
12099
|
+
|
|
12100
|
+
.muka-search-input--lg .muka-search-input__field {
|
|
12101
|
+
min-height: var(--input-field-height-lg);
|
|
12102
|
+
border-radius: var(--input-field-radius-lg);
|
|
12103
|
+
}
|
|
12104
|
+
|
|
12105
|
+
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
12106
|
+
|
|
12107
|
+
.muka-search-input--embedded .muka-search-input__field {
|
|
12108
|
+
background-color: var(--color-surface-level1);
|
|
12109
|
+
border-color: transparent;
|
|
12110
|
+
}
|
|
12111
|
+
|
|
12112
|
+
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
12113
|
+
border-color: transparent;
|
|
12114
|
+
background-color: var(--color-surface-level2);
|
|
12115
|
+
}
|
|
12116
|
+
|
|
12117
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
12118
|
+
|
|
12119
|
+
.muka-search-input--disabled .muka-search-input__field {
|
|
12120
|
+
opacity: 0.5;
|
|
12121
|
+
pointer-events: none;
|
|
12122
|
+
}
|
|
12123
|
+
|
|
12124
|
+
/* ─── Leading icon ────────────────────────────────────── */
|
|
12125
|
+
|
|
12126
|
+
.muka-search-input__leading {
|
|
12127
|
+
display: inline-flex;
|
|
12128
|
+
align-items: center;
|
|
12129
|
+
justify-content: center;
|
|
12130
|
+
flex-shrink: 0;
|
|
12131
|
+
color: var(--color-text-subtle-default);
|
|
12132
|
+
}
|
|
12133
|
+
|
|
12134
|
+
/* ─── Input element ───────────────────────────────────── */
|
|
12135
|
+
|
|
12136
|
+
.muka-search-input__input {
|
|
12137
|
+
flex: 1 1 auto;
|
|
12138
|
+
min-width: 0;
|
|
12139
|
+
border: none;
|
|
12140
|
+
background: transparent;
|
|
12141
|
+
outline: none;
|
|
12142
|
+
padding: 0;
|
|
12143
|
+
color: var(--color-text-default-default);
|
|
12144
|
+
font-family: var(--text-body-md-regular-fontFamily);
|
|
12145
|
+
font-weight: var(--text-body-md-regular-fontWeight);
|
|
12146
|
+
font-size: var(--text-body-md-regular-fontSize);
|
|
12147
|
+
line-height: var(--text-body-md-regular-lineHeight);
|
|
12148
|
+
appearance: none;
|
|
12149
|
+
-webkit-appearance: none;
|
|
12150
|
+
}
|
|
12151
|
+
|
|
12152
|
+
.muka-search-input__input::placeholder {
|
|
12153
|
+
color: var(--color-text-subtle-default);
|
|
12154
|
+
}
|
|
12155
|
+
|
|
12156
|
+
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
12157
|
+
.muka-search-input__input::-webkit-search-cancel-button,
|
|
12158
|
+
.muka-search-input__input::-webkit-search-decoration {
|
|
12159
|
+
-webkit-appearance: none;
|
|
12160
|
+
appearance: none;
|
|
12161
|
+
}
|
|
12162
|
+
|
|
12163
|
+
.muka-search-input__input::-ms-clear {
|
|
12164
|
+
display: none;
|
|
12165
|
+
}
|
|
12166
|
+
|
|
12167
|
+
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
12168
|
+
|
|
12169
|
+
.muka-search-input__trailing {
|
|
12170
|
+
display: inline-flex;
|
|
12171
|
+
align-items: center;
|
|
12172
|
+
justify-content: center;
|
|
12173
|
+
flex-shrink: 0;
|
|
12174
|
+
}
|
|
12175
|
+
|
|
12176
|
+
/* ─── Clear button ────────────────────────────────────── */
|
|
12177
|
+
|
|
12178
|
+
.muka-search-input__clear {
|
|
12179
|
+
display: inline-flex;
|
|
12180
|
+
align-items: center;
|
|
12181
|
+
justify-content: center;
|
|
12182
|
+
width: 20px;
|
|
12183
|
+
height: 20px;
|
|
12184
|
+
border: none;
|
|
12185
|
+
background: none;
|
|
12186
|
+
padding: 0;
|
|
12187
|
+
cursor: pointer;
|
|
12188
|
+
color: var(--color-text-subtle-default);
|
|
12189
|
+
flex-shrink: 0;
|
|
12190
|
+
-webkit-tap-highlight-color: transparent;
|
|
12191
|
+
}
|
|
12192
|
+
|
|
12193
|
+
.muka-search-input__clear:hover {
|
|
12194
|
+
color: var(--color-text-default-default);
|
|
12195
|
+
}
|
|
12196
|
+
|
|
12197
|
+
.muka-search-input__clear:focus-visible {
|
|
12198
|
+
outline: 2px solid var(--color-action-default);
|
|
12199
|
+
outline-offset: 2px;
|
|
12200
|
+
border-radius: 50%;
|
|
12201
|
+
}
|
|
12202
|
+
|
|
12203
|
+
/* ─── Cancel button ───────────────────────────────────── */
|
|
12204
|
+
|
|
12205
|
+
.muka-search-input__cancel {
|
|
12206
|
+
flex-shrink: 0;
|
|
12207
|
+
background: none;
|
|
12208
|
+
border: none;
|
|
12209
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
12210
|
+
cursor: pointer;
|
|
12211
|
+
color: var(--color-action-default);
|
|
12212
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
12213
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12214
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
12215
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
12216
|
+
-webkit-tap-highlight-color: transparent;
|
|
12217
|
+
}
|
|
12218
|
+
|
|
12219
|
+
.muka-search-input__cancel:hover {
|
|
12220
|
+
color: var(--color-action-hover);
|
|
12221
|
+
}
|
|
12222
|
+
|
|
12223
|
+
.muka-search-input__cancel:focus-visible {
|
|
12224
|
+
outline: 2px solid var(--color-action-default);
|
|
12225
|
+
outline-offset: 2px;
|
|
12226
|
+
border-radius: var(--radius-sm);
|
|
12227
|
+
}
|
|
12228
|
+
|