@1money/component-ui 0.0.1 → 0.0.3
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/es/components/Accordion/style/index.d.ts +1 -1
- package/es/components/Accordion/style/index.js +1 -1
- package/es/components/Alert/style/css.js +1 -1
- package/es/components/Alert/style/index.d.ts +1 -1
- package/es/components/Alert/style/index.js +2 -2
- package/es/components/Button/style/index.d.ts +1 -1
- package/es/components/Button/style/index.js +1 -1
- package/es/components/Calendar/style/index.d.ts +1 -1
- package/es/components/Calendar/style/index.js +1 -1
- package/es/components/Carousel/style/index.d.ts +1 -1
- package/es/components/Carousel/style/index.js +1 -1
- package/es/components/Checkbox/style/index.d.ts +1 -1
- package/es/components/Checkbox/style/index.js +1 -1
- package/es/components/CoachMark/style/css.js +3 -3
- package/es/components/CoachMark/style/index.d.ts +1 -1
- package/es/components/CoachMark/style/index.js +4 -4
- package/es/components/Copy/style/index.d.ts +1 -1
- package/es/components/Copy/style/index.js +1 -1
- package/es/components/Divider/style/index.d.ts +1 -1
- package/es/components/Divider/style/index.js +1 -1
- package/es/components/Drawer/style/index.d.ts +1 -1
- package/es/components/Drawer/style/index.js +1 -1
- package/es/components/Dropdown/style/css.js +1 -1
- package/es/components/Dropdown/style/index.d.ts +1 -1
- package/es/components/Dropdown/style/index.js +2 -2
- package/es/components/Empty/style/css.js +1 -1
- package/es/components/Empty/style/index.d.ts +1 -1
- package/es/components/Empty/style/index.js +2 -2
- package/es/components/Flex/style/index.d.ts +1 -1
- package/es/components/Flex/style/index.js +1 -1
- package/es/components/Form/style/index.d.ts +1 -1
- package/es/components/Form/style/index.js +1 -1
- package/es/components/Grid/style/index.d.ts +1 -1
- package/es/components/Grid/style/index.js +1 -1
- package/es/components/Icons/style/index.d.ts +1 -1
- package/es/components/Icons/style/index.js +1 -1
- package/es/components/Input/Amount/style/index.d.ts +1 -1
- package/es/components/Input/Amount/style/index.js +1 -1
- package/es/components/Input/style/index.d.ts +6 -6
- package/es/components/Input/style/index.js +6 -6
- package/es/components/Modal/style/index.d.ts +1 -1
- package/es/components/Modal/style/index.js +1 -1
- package/es/components/Navigation/style/index.d.ts +2 -2
- package/es/components/Navigation/style/index.js +2 -2
- package/es/components/Notification/style/index.d.ts +1 -1
- package/es/components/Notification/style/index.js +1 -1
- package/es/components/Pagination/style/index.d.ts +1 -1
- package/es/components/Pagination/style/index.js +1 -1
- package/es/components/Popconfirm/style/css.js +3 -3
- package/es/components/Popconfirm/style/index.d.ts +1 -1
- package/es/components/Popconfirm/style/index.js +4 -4
- package/es/components/ProForm/style/index.d.ts +1 -1
- package/es/components/ProForm/style/index.js +1 -1
- package/es/components/Progress/style/index.d.ts +1 -1
- package/es/components/Progress/style/index.js +1 -1
- package/es/components/Radio/style/css.js +1 -1
- package/es/components/Radio/style/index.d.ts +1 -1
- package/es/components/Radio/style/index.js +2 -2
- package/es/components/Segment/style/index.d.ts +1 -1
- package/es/components/Segment/style/index.js +1 -1
- package/es/components/Select/style/css.js +2 -2
- package/es/components/Select/style/index.d.ts +1 -1
- package/es/components/Select/style/index.js +3 -3
- package/es/components/Skeleton/style/index.d.ts +1 -1
- package/es/components/Skeleton/style/index.js +1 -1
- package/es/components/Slider/style/index.d.ts +1 -1
- package/es/components/Slider/style/index.js +1 -1
- package/es/components/Space/style/index.d.ts +1 -1
- package/es/components/Space/style/index.js +1 -1
- package/es/components/Spinner/style/index.d.ts +1 -1
- package/es/components/Spinner/style/index.js +1 -1
- package/es/components/Step/style/index.d.ts +1 -1
- package/es/components/Step/style/index.js +1 -1
- package/es/components/Switch/style/css.js +1 -1
- package/es/components/Switch/style/index.d.ts +1 -1
- package/es/components/Switch/style/index.js +2 -2
- package/es/components/Table/style/css.js +8 -8
- package/es/components/Table/style/index.d.ts +1 -1
- package/es/components/Table/style/index.js +9 -9
- package/es/components/Tabs/style/index.d.ts +1 -1
- package/es/components/Tabs/style/index.js +1 -1
- package/es/components/Tag/style/index.d.ts +1 -1
- package/es/components/Tag/style/index.js +1 -1
- package/es/components/Tooltip/style/index.d.ts +1 -1
- package/es/components/Tooltip/style/index.js +1 -1
- package/es/components/Trigger/style/index.d.ts +1 -1
- package/es/components/Trigger/style/index.js +1 -1
- package/es/components/Typography/style/css.js +2 -2
- package/es/components/Typography/style/index.d.ts +1 -1
- package/es/components/Typography/style/index.js +3 -3
- package/es/components/Upload/style/index.d.ts +2 -2
- package/es/components/Upload/style/index.js +2 -2
- package/es/components/VirtualList/style/index.d.ts +1 -1
- package/es/components/VirtualList/style/index.js +1 -1
- package/es/index.css +1 -1
- package/lib/components/Accordion/style/index.d.ts +1 -1
- package/lib/components/Accordion/style/index.js +1 -1
- package/lib/components/Alert/style/css.js +1 -1
- package/lib/components/Alert/style/index.d.ts +1 -1
- package/lib/components/Alert/style/index.js +2 -2
- package/lib/components/Button/style/index.d.ts +1 -1
- package/lib/components/Button/style/index.js +1 -1
- package/lib/components/Calendar/style/index.d.ts +1 -1
- package/lib/components/Calendar/style/index.js +1 -1
- package/lib/components/Carousel/style/index.d.ts +1 -1
- package/lib/components/Carousel/style/index.js +1 -1
- package/lib/components/Checkbox/style/index.d.ts +1 -1
- package/lib/components/Checkbox/style/index.js +1 -1
- package/lib/components/CoachMark/style/css.js +3 -3
- package/lib/components/CoachMark/style/index.d.ts +1 -1
- package/lib/components/CoachMark/style/index.js +4 -4
- package/lib/components/Copy/style/index.d.ts +1 -1
- package/lib/components/Copy/style/index.js +1 -1
- package/lib/components/Divider/style/index.d.ts +1 -1
- package/lib/components/Divider/style/index.js +1 -1
- package/lib/components/Drawer/style/index.d.ts +1 -1
- package/lib/components/Drawer/style/index.js +1 -1
- package/lib/components/Dropdown/style/css.js +1 -1
- package/lib/components/Dropdown/style/index.d.ts +1 -1
- package/lib/components/Dropdown/style/index.js +2 -2
- package/lib/components/Empty/style/css.js +1 -1
- package/lib/components/Empty/style/index.d.ts +1 -1
- package/lib/components/Empty/style/index.js +2 -2
- package/lib/components/Flex/style/index.d.ts +1 -1
- package/lib/components/Flex/style/index.js +1 -1
- package/lib/components/Form/style/index.d.ts +1 -1
- package/lib/components/Form/style/index.js +1 -1
- package/lib/components/Grid/style/index.d.ts +1 -1
- package/lib/components/Grid/style/index.js +1 -1
- package/lib/components/Icons/style/index.d.ts +1 -1
- package/lib/components/Icons/style/index.js +1 -1
- package/lib/components/Input/Amount/style/index.d.ts +1 -1
- package/lib/components/Input/Amount/style/index.js +1 -1
- package/lib/components/Input/style/index.d.ts +6 -6
- package/lib/components/Input/style/index.js +6 -6
- package/lib/components/Modal/style/index.d.ts +1 -1
- package/lib/components/Modal/style/index.js +1 -1
- package/lib/components/Navigation/style/index.d.ts +2 -2
- package/lib/components/Navigation/style/index.js +2 -2
- package/lib/components/Notification/style/index.d.ts +1 -1
- package/lib/components/Notification/style/index.js +1 -1
- package/lib/components/Pagination/style/index.d.ts +1 -1
- package/lib/components/Pagination/style/index.js +1 -1
- package/lib/components/Popconfirm/style/css.js +3 -3
- package/lib/components/Popconfirm/style/index.d.ts +1 -1
- package/lib/components/Popconfirm/style/index.js +4 -4
- package/lib/components/ProForm/style/index.d.ts +1 -1
- package/lib/components/ProForm/style/index.js +1 -1
- package/lib/components/Progress/style/index.d.ts +1 -1
- package/lib/components/Progress/style/index.js +1 -1
- package/lib/components/Radio/style/css.js +1 -1
- package/lib/components/Radio/style/index.d.ts +1 -1
- package/lib/components/Radio/style/index.js +2 -2
- package/lib/components/Segment/style/index.d.ts +1 -1
- package/lib/components/Segment/style/index.js +1 -1
- package/lib/components/Select/style/css.js +2 -2
- package/lib/components/Select/style/index.d.ts +1 -1
- package/lib/components/Select/style/index.js +3 -3
- package/lib/components/Skeleton/style/index.d.ts +1 -1
- package/lib/components/Skeleton/style/index.js +1 -1
- package/lib/components/Slider/style/index.d.ts +1 -1
- package/lib/components/Slider/style/index.js +1 -1
- package/lib/components/Space/style/index.d.ts +1 -1
- package/lib/components/Space/style/index.js +1 -1
- package/lib/components/Spinner/style/index.d.ts +1 -1
- package/lib/components/Spinner/style/index.js +1 -1
- package/lib/components/Step/style/index.d.ts +1 -1
- package/lib/components/Step/style/index.js +1 -1
- package/lib/components/Switch/style/css.js +1 -1
- package/lib/components/Switch/style/index.d.ts +1 -1
- package/lib/components/Switch/style/index.js +2 -2
- package/lib/components/Table/style/css.js +8 -8
- package/lib/components/Table/style/index.d.ts +1 -1
- package/lib/components/Table/style/index.js +9 -9
- package/lib/components/Tabs/style/index.d.ts +1 -1
- package/lib/components/Tabs/style/index.js +1 -1
- package/lib/components/Tag/style/index.d.ts +1 -1
- package/lib/components/Tag/style/index.js +1 -1
- package/lib/components/Tooltip/style/index.d.ts +1 -1
- package/lib/components/Tooltip/style/index.js +1 -1
- package/lib/components/Trigger/style/index.d.ts +1 -1
- package/lib/components/Trigger/style/index.js +1 -1
- package/lib/components/Typography/style/css.js +2 -2
- package/lib/components/Typography/style/index.d.ts +1 -1
- package/lib/components/Typography/style/index.js +3 -3
- package/lib/components/Upload/style/index.d.ts +2 -2
- package/lib/components/Upload/style/index.js +2 -2
- package/lib/components/VirtualList/style/index.d.ts +1 -1
- package/lib/components/VirtualList/style/index.js +1 -1
- package/lib/index.css +1 -1
- package/package.json +1 -1
- package/es/components/Accordion/style/Accordion.scss +0 -127
- package/es/components/Alert/style/Alert.scss +0 -89
- package/es/components/Button/style/Button.scss +0 -190
- package/es/components/Calendar/style/Calendar.scss +0 -377
- package/es/components/Carousel/style/Carousel.scss +0 -63
- package/es/components/Checkbox/style/Checkbox.scss +0 -235
- package/es/components/CoachMark/style/CoachMark.scss +0 -176
- package/es/components/Copy/style/Copy.scss +0 -35
- package/es/components/Divider/style/Divider.scss +0 -149
- package/es/components/Drawer/style/Drawer.scss +0 -163
- package/es/components/Dropdown/style/Dropdown.scss +0 -2
- package/es/components/Empty/style/Empty.scss +0 -53
- package/es/components/Flex/style/Flex.scss +0 -70
- package/es/components/Form/style/Form.scss +0 -57
- package/es/components/Grid/style/Grid.scss +0 -184
- package/es/components/Icons/style/Icons.scss +0 -85
- package/es/components/Input/Amount/style/Amount.scss +0 -89
- package/es/components/Input/FieldShell/FieldShell.scss +0 -62
- package/es/components/Input/Input/Input.scss +0 -131
- package/es/components/Input/OTP/OTP.scss +0 -75
- package/es/components/Input/TextArea/TextArea.scss +0 -87
- package/es/components/Input/Trade/Trade.scss +0 -184
- package/es/components/Modal/style/Modal.scss +0 -254
- package/es/components/Navigation/style/Nav.scss +0 -174
- package/es/components/Navigation/style/Navigation.scss +0 -443
- package/es/components/Notification/style/Notification.scss +0 -200
- package/es/components/Pagination/style/Pagination.scss +0 -95
- package/es/components/Popconfirm/style/Popconfirm.scss +0 -264
- package/es/components/ProForm/style/ProForm.scss +0 -118
- package/es/components/Progress/style/Progress.scss +0 -120
- package/es/components/Radio/style/Radio.scss +0 -431
- package/es/components/Segment/style/Segment.scss +0 -80
- package/es/components/Select/style/Select.scss +0 -480
- package/es/components/Skeleton/style/Skeleton.scss +0 -47
- package/es/components/Slider/style/Slider.scss +0 -182
- package/es/components/Space/style/Space.scss +0 -40
- package/es/components/Spinner/style/Spinner.scss +0 -90
- package/es/components/Step/style/Step.scss +0 -91
- package/es/components/Switch/style/Switch.scss +0 -126
- package/es/components/Table/style/Table.scss +0 -376
- package/es/components/Tabs/style/Tabs.scss +0 -100
- package/es/components/Tag/style/Tag.scss +0 -103
- package/es/components/Tooltip/style/Tooltip.scss +0 -95
- package/es/components/Trigger/style/Trigger.scss +0 -18
- package/es/components/Typography/style/Typography.scss +0 -132
- package/es/components/Upload/style/Upload.scss +0 -44
- package/es/components/Upload/style/UploadFileBar.scss +0 -94
- package/es/components/VirtualList/style/VirtualList.scss +0 -5
- package/es/styles/_api.scss +0 -5
- package/es/styles/_settings.scss +0 -5
- package/es/styles/index.scss +0 -2
- package/es/styles/public/_index.scss +0 -2
- package/es/styles/public/_system.scss +0 -1
- package/es/styles/public/_theme.scss +0 -3
- package/es/styles/recipes/_index.scss +0 -1
- package/es/styles/recipes/_variants.scss +0 -110
- package/es/styles/system/_index.scss +0 -4
- package/es/styles/system/_props.scss +0 -95
- package/es/styles/system/_public.scss +0 -5
- package/es/styles/system/_sx.scss +0 -81
- package/es/styles/theme/_breakpoints.scss +0 -95
- package/es/styles/theme/_functions.scss +0 -271
- package/es/styles/theme/_index.scss +0 -6
- package/es/styles/theme/_mixins.scss +0 -37
- package/es/styles/theme/_scales.scss +0 -29
- package/es/styles/theme/_values.scss +0 -68
- package/es/styles/tokens/_index.scss +0 -11
- package/es/styles/tokens/breakpoint/_index.scss +0 -2
- package/es/styles/tokens/breakpoint/_primitives.scss +0 -8
- package/es/styles/tokens/color/_index.scss +0 -3
- package/es/styles/tokens/color/_primitives.scss +0 -42
- package/es/styles/tokens/color/_semantic-color.scss +0 -172
- package/es/styles/tokens/opacity/_functions.scss +0 -13
- package/es/styles/tokens/opacity/_index.scss +0 -3
- package/es/styles/tokens/opacity/_primitives.scss +0 -12
- package/es/styles/tokens/radius/_index.scss +0 -2
- package/es/styles/tokens/radius/_primitives.scss +0 -11
- package/es/styles/tokens/shadow/_index.scss +0 -2
- package/es/styles/tokens/shadow/_primitives.scss +0 -7
- package/es/styles/tokens/sizing/_functions.scss +0 -17
- package/es/styles/tokens/sizing/_index.scss +0 -4
- package/es/styles/tokens/sizing/_primitives.scss +0 -12
- package/es/styles/tokens/sizing/_semantic-sizing.scss +0 -11
- package/es/styles/tokens/spacing/_functions.scss +0 -51
- package/es/styles/tokens/spacing/_index.scss +0 -4
- package/es/styles/tokens/spacing/_primitives.scss +0 -22
- package/es/styles/tokens/spacing/_semantic-spacing.scss +0 -22
- package/es/styles/tokens/typography/_functions.scss +0 -31
- package/es/styles/tokens/typography/_index.scss +0 -4
- package/es/styles/tokens/typography/_primitives.scss +0 -27
- package/es/styles/tokens/typography/_semantic-typography.scss +0 -216
- package/es/styles/utilities/_generator.scss +0 -55
- package/es/styles/utilities/_index.scss +0 -14
- package/lib/components/Accordion/style/Accordion.scss +0 -127
- package/lib/components/Alert/style/Alert.scss +0 -89
- package/lib/components/Button/style/Button.scss +0 -190
- package/lib/components/Calendar/style/Calendar.scss +0 -377
- package/lib/components/Carousel/style/Carousel.scss +0 -63
- package/lib/components/Checkbox/style/Checkbox.scss +0 -235
- package/lib/components/CoachMark/style/CoachMark.scss +0 -176
- package/lib/components/Copy/style/Copy.scss +0 -35
- package/lib/components/Divider/style/Divider.scss +0 -149
- package/lib/components/Drawer/style/Drawer.scss +0 -163
- package/lib/components/Dropdown/style/Dropdown.scss +0 -2
- package/lib/components/Empty/style/Empty.scss +0 -53
- package/lib/components/Flex/style/Flex.scss +0 -70
- package/lib/components/Form/style/Form.scss +0 -57
- package/lib/components/Grid/style/Grid.scss +0 -184
- package/lib/components/Icons/style/Icons.scss +0 -85
- package/lib/components/Input/Amount/style/Amount.scss +0 -89
- package/lib/components/Input/FieldShell/FieldShell.scss +0 -62
- package/lib/components/Input/Input/Input.scss +0 -131
- package/lib/components/Input/OTP/OTP.scss +0 -75
- package/lib/components/Input/TextArea/TextArea.scss +0 -87
- package/lib/components/Input/Trade/Trade.scss +0 -184
- package/lib/components/Modal/style/Modal.scss +0 -254
- package/lib/components/Navigation/style/Nav.scss +0 -174
- package/lib/components/Navigation/style/Navigation.scss +0 -443
- package/lib/components/Notification/style/Notification.scss +0 -200
- package/lib/components/Pagination/style/Pagination.scss +0 -95
- package/lib/components/Popconfirm/style/Popconfirm.scss +0 -264
- package/lib/components/ProForm/style/ProForm.scss +0 -118
- package/lib/components/Progress/style/Progress.scss +0 -120
- package/lib/components/Radio/style/Radio.scss +0 -431
- package/lib/components/Segment/style/Segment.scss +0 -80
- package/lib/components/Select/style/Select.scss +0 -480
- package/lib/components/Skeleton/style/Skeleton.scss +0 -47
- package/lib/components/Slider/style/Slider.scss +0 -182
- package/lib/components/Space/style/Space.scss +0 -40
- package/lib/components/Spinner/style/Spinner.scss +0 -90
- package/lib/components/Step/style/Step.scss +0 -91
- package/lib/components/Switch/style/Switch.scss +0 -126
- package/lib/components/Table/style/Table.scss +0 -376
- package/lib/components/Tabs/style/Tabs.scss +0 -100
- package/lib/components/Tag/style/Tag.scss +0 -103
- package/lib/components/Tooltip/style/Tooltip.scss +0 -95
- package/lib/components/Trigger/style/Trigger.scss +0 -18
- package/lib/components/Typography/style/Typography.scss +0 -132
- package/lib/components/Upload/style/Upload.scss +0 -44
- package/lib/components/Upload/style/UploadFileBar.scss +0 -94
- package/lib/components/VirtualList/style/VirtualList.scss +0 -5
- package/lib/styles/_api.scss +0 -5
- package/lib/styles/_settings.scss +0 -5
- package/lib/styles/index.scss +0 -2
- package/lib/styles/public/_index.scss +0 -2
- package/lib/styles/public/_system.scss +0 -1
- package/lib/styles/public/_theme.scss +0 -3
- package/lib/styles/recipes/_index.scss +0 -1
- package/lib/styles/recipes/_variants.scss +0 -110
- package/lib/styles/system/_index.scss +0 -4
- package/lib/styles/system/_props.scss +0 -95
- package/lib/styles/system/_public.scss +0 -5
- package/lib/styles/system/_sx.scss +0 -81
- package/lib/styles/theme/_breakpoints.scss +0 -95
- package/lib/styles/theme/_functions.scss +0 -271
- package/lib/styles/theme/_index.scss +0 -6
- package/lib/styles/theme/_mixins.scss +0 -37
- package/lib/styles/theme/_scales.scss +0 -29
- package/lib/styles/theme/_values.scss +0 -68
- package/lib/styles/tokens/_index.scss +0 -11
- package/lib/styles/tokens/breakpoint/_index.scss +0 -2
- package/lib/styles/tokens/breakpoint/_primitives.scss +0 -8
- package/lib/styles/tokens/color/_index.scss +0 -3
- package/lib/styles/tokens/color/_primitives.scss +0 -42
- package/lib/styles/tokens/color/_semantic-color.scss +0 -172
- package/lib/styles/tokens/opacity/_functions.scss +0 -13
- package/lib/styles/tokens/opacity/_index.scss +0 -3
- package/lib/styles/tokens/opacity/_primitives.scss +0 -12
- package/lib/styles/tokens/radius/_index.scss +0 -2
- package/lib/styles/tokens/radius/_primitives.scss +0 -11
- package/lib/styles/tokens/shadow/_index.scss +0 -2
- package/lib/styles/tokens/shadow/_primitives.scss +0 -7
- package/lib/styles/tokens/sizing/_functions.scss +0 -17
- package/lib/styles/tokens/sizing/_index.scss +0 -4
- package/lib/styles/tokens/sizing/_primitives.scss +0 -12
- package/lib/styles/tokens/sizing/_semantic-sizing.scss +0 -11
- package/lib/styles/tokens/spacing/_functions.scss +0 -51
- package/lib/styles/tokens/spacing/_index.scss +0 -4
- package/lib/styles/tokens/spacing/_primitives.scss +0 -22
- package/lib/styles/tokens/spacing/_semantic-spacing.scss +0 -22
- package/lib/styles/tokens/typography/_functions.scss +0 -31
- package/lib/styles/tokens/typography/_index.scss +0 -4
- package/lib/styles/tokens/typography/_primitives.scss +0 -27
- package/lib/styles/tokens/typography/_semantic-typography.scss +0 -216
- package/lib/styles/utilities/_generator.scss +0 -55
- package/lib/styles/utilities/_index.scss +0 -14
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'space';
|
|
4
|
-
$space-column-gap: '--om-space-column-gap';
|
|
5
|
-
$space-row-gap: '--om-space-row-gap';
|
|
6
|
-
$space-gap-fallback: 8px;
|
|
7
|
-
|
|
8
|
-
.#{theme.$prefix}-#{$component} {
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
gap: var(#{$space-row-gap}, #{$space-gap-fallback}) var(#{$space-column-gap}, #{$space-gap-fallback});
|
|
11
|
-
|
|
12
|
-
&-vertical {
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-wrap {
|
|
17
|
-
flex-wrap: wrap;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-align-start {
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-align-end {
|
|
25
|
-
align-items: flex-end;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-align-center {
|
|
29
|
-
align-items: center;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-align-baseline {
|
|
33
|
-
align-items: baseline;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-item,
|
|
37
|
-
&-split {
|
|
38
|
-
display: inline-flex;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'spinner';
|
|
4
|
-
|
|
5
|
-
// ── Animations ──
|
|
6
|
-
@keyframes om-spin {
|
|
7
|
-
0% {
|
|
8
|
-
transform: rotate(0deg);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
100% {
|
|
12
|
-
transform: rotate(360deg);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@keyframes om-dash {
|
|
17
|
-
0% {
|
|
18
|
-
stroke-dasharray: 1, 150;
|
|
19
|
-
stroke-dashoffset: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
50% {
|
|
23
|
-
stroke-dasharray: 90, 150;
|
|
24
|
-
stroke-dashoffset: -35;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
100% {
|
|
28
|
-
stroke-dasharray: 90, 150;
|
|
29
|
-
stroke-dashoffset: -124;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.#{theme.$prefix}-#{$component} {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
color: theme.palette(icon, 'brand');
|
|
38
|
-
|
|
39
|
-
// ── SVG circle spinner (default) ──
|
|
40
|
-
&-circle {
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 100%;
|
|
43
|
-
animation: om-spin 2s linear infinite;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-path {
|
|
47
|
-
animation: om-dash 1.5s ease-in-out infinite;
|
|
48
|
-
stroke: currentcolor;
|
|
49
|
-
stroke-linecap: round;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// ── Shared spin animation for Logo ──
|
|
53
|
-
&-spin {
|
|
54
|
-
animation: om-spin 1s linear infinite;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// ── Brand (no background) ──
|
|
58
|
-
&-brand {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: theme.spacing(gap, 200);
|
|
62
|
-
align-items: center;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// ── Brand with background ──
|
|
66
|
-
&-brand#{&}-brand-bg {
|
|
67
|
-
gap: theme.spacing(gap, 600);
|
|
68
|
-
border-radius: theme.shape(600);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// ── Logo icon color ──
|
|
72
|
-
&-logo {
|
|
73
|
-
color: theme.palette(icon, 'brand');
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// ── Content section ──
|
|
77
|
-
&-content {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: column;
|
|
80
|
-
gap: theme.spacing(gap, 200);
|
|
81
|
-
align-items: center;
|
|
82
|
-
white-space: nowrap;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// ── Text alignment ──
|
|
86
|
-
&-title,
|
|
87
|
-
&-body {
|
|
88
|
-
text-align: center;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'step';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
--om-step-status-success-bg: #{theme.palette(bg, 'positive-tertiary-hover')};
|
|
7
|
-
--om-step-status-success-fg: #{theme.palette(icon, 'positive')};
|
|
8
|
-
--om-step-status-error-bg: #{theme.palette(bg, 'danger-tertiary-hover')};
|
|
9
|
-
--om-step-status-error-fg: #{theme.palette(icon, 'danger')};
|
|
10
|
-
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
gap: theme.spacing(gap, 200);
|
|
14
|
-
width: 100%;
|
|
15
|
-
|
|
16
|
-
&-item {
|
|
17
|
-
display: flex;
|
|
18
|
-
gap: theme.spacing(gap, 300);
|
|
19
|
-
align-items: flex-start;
|
|
20
|
-
width: 100%;
|
|
21
|
-
min-width: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-indicator-column {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
gap: theme.spacing(gap, 200);
|
|
29
|
-
align-items: center;
|
|
30
|
-
align-self: stretch;
|
|
31
|
-
width: 24px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-indicator {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
width: 24px;
|
|
40
|
-
height: 24px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-indicator-number {
|
|
44
|
-
display: inline-flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
width: 22px;
|
|
48
|
-
height: 22px;
|
|
49
|
-
color: theme.palette(text, 'on-neutral');
|
|
50
|
-
background-color: theme.palette(bg, 'brand');
|
|
51
|
-
border-radius: theme.shape('full');
|
|
52
|
-
|
|
53
|
-
@include theme.typography(body, md);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&-indicator-icon {
|
|
57
|
-
display: block;
|
|
58
|
-
flex-shrink: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-connector {
|
|
62
|
-
flex: 1 0 0;
|
|
63
|
-
width: 1px;
|
|
64
|
-
min-height: 1px;
|
|
65
|
-
background-color: theme.palette(border, 'brand');
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&-content {
|
|
69
|
-
display: flex;
|
|
70
|
-
flex: 1 1 auto;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
gap: theme.spacing(gap, 200);
|
|
73
|
-
min-width: 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-content-continuation {
|
|
77
|
-
padding-bottom: theme.spacing(scale, 400);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&-copy {
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
gap: theme.spacing(gap, 100);
|
|
84
|
-
min-width: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&-tag {
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'switch';
|
|
4
|
-
$track-width: 40px;
|
|
5
|
-
$track-height: 24px;
|
|
6
|
-
$thumb-size: 20px;
|
|
7
|
-
$thumb-offset: 2px;
|
|
8
|
-
$thumb-travel: $track-width - $thumb-size - $thumb-offset * 2;
|
|
9
|
-
|
|
10
|
-
.#{theme.$prefix}-#{$component} {
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
gap: theme.spacing(gap, 300);
|
|
13
|
-
align-items: center;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
|
|
16
|
-
// ── Track wrapper (contains hidden input + visual track) ──
|
|
17
|
-
&-track-wrapper {
|
|
18
|
-
position: relative;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-shrink: 0;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// ── Hidden native input ──
|
|
25
|
-
&-input {
|
|
26
|
-
position: absolute;
|
|
27
|
-
inset: 0;
|
|
28
|
-
margin: 0;
|
|
29
|
-
cursor: inherit;
|
|
30
|
-
opacity: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// ── Visual track ──
|
|
34
|
-
&-track {
|
|
35
|
-
position: relative;
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
width: $track-width;
|
|
39
|
-
height: $track-height;
|
|
40
|
-
background-color: theme.palette(bg, 'neutral-secondary');
|
|
41
|
-
border-radius: theme.shape('full');
|
|
42
|
-
transition:
|
|
43
|
-
background-color 0.2s ease,
|
|
44
|
-
border-color 0.2s ease;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// ── Thumb ──
|
|
48
|
-
&-thumb {
|
|
49
|
-
position: absolute;
|
|
50
|
-
left: $thumb-offset;
|
|
51
|
-
width: $thumb-size;
|
|
52
|
-
height: $thumb-size;
|
|
53
|
-
background-color: theme.palette(bg, 'default');
|
|
54
|
-
border-radius: theme.shape('full');
|
|
55
|
-
box-shadow: theme.shadows(100);
|
|
56
|
-
transform: translateX(0);
|
|
57
|
-
transition: transform 0.2s ease;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// ── Focus ring ──
|
|
61
|
-
&-input:focus-visible + .#{theme.$prefix}-#{$component}-track {
|
|
62
|
-
box-shadow: 0 0 0 2px theme.palette(border, 'brand');
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// ── Label content ──
|
|
66
|
-
&-content {
|
|
67
|
-
display: flex;
|
|
68
|
-
flex: 1 0 0;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
min-width: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// ── Description ──
|
|
74
|
-
&-description {
|
|
75
|
-
min-height: 20px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// ── Hover ──
|
|
79
|
-
&:not(&-disabled):hover {
|
|
80
|
-
.#{theme.$prefix}-#{$component}-track {
|
|
81
|
-
background-color: theme.palette(bg, 'neutral-secondary-hover');
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// ── Checked state ──
|
|
86
|
-
&-checked {
|
|
87
|
-
.#{theme.$prefix}-#{$component}-track {
|
|
88
|
-
background-color: theme.palette(bg, 'brand');
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.#{theme.$prefix}-#{$component}-thumb {
|
|
92
|
-
transform: translateX($thumb-travel);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&-checked:not(&-disabled):hover {
|
|
97
|
-
.#{theme.$prefix}-#{$component}-track {
|
|
98
|
-
background-color: theme.palette(bg, 'brand-hover');
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// ── Disabled state ──
|
|
103
|
-
&-disabled {
|
|
104
|
-
cursor: not-allowed;
|
|
105
|
-
|
|
106
|
-
.#{theme.$prefix}-#{$component}-track {
|
|
107
|
-
background-color: theme.palette(bg, 'disabled');
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.#{theme.$prefix}-#{$component}-thumb {
|
|
111
|
-
background-color: theme.palette(bg, 'default');
|
|
112
|
-
box-shadow: none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.#{theme.$prefix}-#{$component}-content {
|
|
116
|
-
color: theme.palette(text, 'disabled');
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// ── Right label placement (label after switch) ──
|
|
121
|
-
&-right {
|
|
122
|
-
.#{theme.$prefix}-#{$component}-track-wrapper {
|
|
123
|
-
order: -1;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
@@ -1,376 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'om-react-ui-table';
|
|
4
|
-
|
|
5
|
-
// ========================= Base kernel layout =========================
|
|
6
|
-
.#{$component} {
|
|
7
|
-
position: relative;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
|
|
10
|
-
// ========================= Wrapper (border, radius) =========================
|
|
11
|
-
width: 100%;
|
|
12
|
-
overflow: clip;
|
|
13
|
-
font-variant: tabular-nums;
|
|
14
|
-
background: theme.palette(bg, 'default');
|
|
15
|
-
border: 1px solid theme.palette(border, 'neutral');
|
|
16
|
-
border-radius: theme.shape(300);
|
|
17
|
-
|
|
18
|
-
// Inner table element
|
|
19
|
-
table {
|
|
20
|
-
width: 100%;
|
|
21
|
-
table-layout: fixed;
|
|
22
|
-
border-collapse: separate;
|
|
23
|
-
border-spacing: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Header
|
|
27
|
-
&-thead > tr > th,
|
|
28
|
-
&-thead > tr > td {
|
|
29
|
-
position: relative;
|
|
30
|
-
padding: theme.spacing(component-padding, 300) theme.spacing(component-padding, 400);
|
|
31
|
-
text-align: start;
|
|
32
|
-
overflow-wrap: break-word;
|
|
33
|
-
background: theme.palette(bg, 'default-secondary');
|
|
34
|
-
border-bottom: 1px solid theme.palette(border, 'neutral');
|
|
35
|
-
|
|
36
|
-
@include theme.typography(label, md);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Body cells
|
|
40
|
-
&-tbody > tr > td {
|
|
41
|
-
position: relative;
|
|
42
|
-
padding: theme.spacing(component-padding, 300) theme.spacing(component-padding, 400);
|
|
43
|
-
vertical-align: middle;
|
|
44
|
-
overflow-wrap: break-word;
|
|
45
|
-
border-bottom: 1px solid theme.palette(border, 'neutral');
|
|
46
|
-
|
|
47
|
-
@include theme.typography(body, md);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Body row
|
|
51
|
-
&-tbody > tr {
|
|
52
|
-
&:last-child > td {
|
|
53
|
-
border-bottom: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// When the last data row is expanded, the expanded <tr> becomes :last-child
|
|
57
|
-
// and the data row above still shows its border-bottom — remove it to avoid
|
|
58
|
-
// a double border with the table wrapper's border.
|
|
59
|
-
&:has(+ .#{$component}-expanded-row:last-child) > td {
|
|
60
|
-
border-bottom: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&:hover > td {
|
|
64
|
-
background: theme.palette(bg, 'default-secondary');
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// ========================= Content wrapper =========================
|
|
69
|
-
&-content {
|
|
70
|
-
overflow: auto;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-body {
|
|
74
|
-
overflow: auto;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// ========================= Header holder =========================
|
|
78
|
-
&-header {
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// ========================= Sticky header =========================
|
|
83
|
-
&-sticky-holder {
|
|
84
|
-
position: sticky;
|
|
85
|
-
z-index: 3;
|
|
86
|
-
background: theme.palette(bg, 'default');
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// ========================= Fixed header (scroll.y) =========================
|
|
90
|
-
&-fixed-header > &-header {
|
|
91
|
-
overflow: hidden;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-fixed-header > &-body {
|
|
95
|
-
overflow: auto scroll;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// ========================= Fixed columns =========================
|
|
99
|
-
&-cell-fix-start,
|
|
100
|
-
&-cell-fix-end {
|
|
101
|
-
position: sticky !important;
|
|
102
|
-
z-index: calc(2 + var(--z-offset, 0));
|
|
103
|
-
background: theme.palette(bg, 'default');
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&-tbody > tr:hover &-cell-fix-start,
|
|
107
|
-
&-tbody > tr:hover &-cell-fix-end {
|
|
108
|
-
background: theme.palette(bg, 'default-secondary');
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Header fixed cells need header background
|
|
112
|
-
&-thead &-cell-fix-start,
|
|
113
|
-
&-thead &-cell-fix-end {
|
|
114
|
-
background: theme.palette(bg, 'default-secondary');
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// ========================= Scroll shadow =========================
|
|
118
|
-
&-cell-fix-start-shadow::after,
|
|
119
|
-
&-cell-fix-end-shadow::after {
|
|
120
|
-
position: absolute;
|
|
121
|
-
top: 0;
|
|
122
|
-
bottom: -1px;
|
|
123
|
-
width: 30px;
|
|
124
|
-
transition: box-shadow 0.3s;
|
|
125
|
-
content: '';
|
|
126
|
-
pointer-events: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&-cell-fix-start-shadow::after {
|
|
130
|
-
right: 0;
|
|
131
|
-
transform: translateX(100%);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&-cell-fix-start-shadow-show::after {
|
|
135
|
-
box-shadow: inset 10px 0 8px -8px rgb(0 0 0 / 8%);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&-cell-fix-end-shadow::after {
|
|
139
|
-
left: 0;
|
|
140
|
-
transform: translateX(-100%);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&-cell-fix-end-shadow-show::after {
|
|
144
|
-
box-shadow: inset -10px 0 8px -8px rgb(0 0 0 / 8%);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// ========================= Expanded row =========================
|
|
148
|
-
&-expanded-row &-cell {
|
|
149
|
-
padding: theme.spacing(component-padding, 300);
|
|
150
|
-
background: theme.palette(bg, 'default-secondary');
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// ========================= Empty =========================
|
|
154
|
-
&-placeholder {
|
|
155
|
-
text-align: center;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// ========================= Virtual table body =========================
|
|
159
|
-
&-tbody-virtual {
|
|
160
|
-
.#{$component}-row {
|
|
161
|
-
display: flex;
|
|
162
|
-
|
|
163
|
-
&:hover .#{$component}-cell {
|
|
164
|
-
background: theme.palette(bg, 'default-secondary');
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.#{$component}-cell {
|
|
169
|
-
padding: theme.spacing(component-padding, 300) theme.spacing(component-padding, 400);
|
|
170
|
-
overflow-wrap: break-word;
|
|
171
|
-
border-bottom: 1px solid theme.palette(border, 'neutral');
|
|
172
|
-
|
|
173
|
-
@include theme.typography(body, md);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&-container,
|
|
178
|
-
&-content,
|
|
179
|
-
&-body,
|
|
180
|
-
&-header {
|
|
181
|
-
background: inherit;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// ========================= Pagination =========================
|
|
185
|
-
&-pagination {
|
|
186
|
-
display: flex;
|
|
187
|
-
justify-content: flex-end;
|
|
188
|
-
margin-top: theme.spacing(scale, 600);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// ========================= Sizes =========================
|
|
192
|
-
&-small {
|
|
193
|
-
--table-row-height: 56px;
|
|
194
|
-
--table-header-height: 40px;
|
|
195
|
-
|
|
196
|
-
.#{$component}-thead > tr > th,
|
|
197
|
-
.#{$component}-thead > tr > td {
|
|
198
|
-
padding: theme.spacing(component-padding, 200) theme.spacing(component-padding, 300);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.#{$component}-tbody > tr > td {
|
|
202
|
-
padding: theme.spacing(component-padding, 200) theme.spacing(component-padding, 300);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&-large {
|
|
207
|
-
--table-row-height: 66px;
|
|
208
|
-
--table-header-height: 48px;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// ========================= Variants =========================
|
|
212
|
-
&-fill {
|
|
213
|
-
border: 0;
|
|
214
|
-
border-radius: 0;
|
|
215
|
-
|
|
216
|
-
.#{$component}-thead > tr > th,
|
|
217
|
-
.#{$component}-thead > tr > td {
|
|
218
|
-
background: transparent;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
// Fixed cells must retain opaque background to cover scrolling content
|
|
222
|
-
.#{$component}-thead .#{$component}-cell-fix-start,
|
|
223
|
-
.#{$component}-thead .#{$component}-cell-fix-end {
|
|
224
|
-
background: theme.palette(bg, 'default');
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&-stroke {
|
|
229
|
-
.#{$component}-thead > tr > th,
|
|
230
|
-
.#{$component}-thead > tr > td {
|
|
231
|
-
border-bottom: none;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
// Spacer columns: no border, no padding
|
|
236
|
-
.#{$component}-thead > tr > th.#{$component}-cell--spacer,
|
|
237
|
-
.#{$component}-thead > tr > td.#{$component}-cell--spacer,
|
|
238
|
-
.#{$component}-tbody > tr > td.#{$component}-cell--spacer {
|
|
239
|
-
padding: 0;
|
|
240
|
-
border-bottom: none;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// ========================= Header cell =========================
|
|
245
|
-
.#{$component}-header-cell {
|
|
246
|
-
display: inline-flex;
|
|
247
|
-
gap: 4px;
|
|
248
|
-
align-items: center;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.#{$component}-header-cell__title {
|
|
252
|
-
color: theme.palette(text, 'default');
|
|
253
|
-
white-space: nowrap;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.#{$component}-header-cell--large {
|
|
257
|
-
.#{$component}-header-cell__title {
|
|
258
|
-
@include theme.typography(title, lg);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.#{$component}-header-cell--small {
|
|
263
|
-
.#{$component}-header-cell__title {
|
|
264
|
-
@include theme.typography(title, sm, $strong: true);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// ========================= Sort trigger =========================
|
|
269
|
-
.#{$component}-sort-trigger {
|
|
270
|
-
display: inline-flex;
|
|
271
|
-
align-items: center;
|
|
272
|
-
justify-content: center;
|
|
273
|
-
padding: 0;
|
|
274
|
-
color: theme.palette(icon, 'default');
|
|
275
|
-
line-height: 0;
|
|
276
|
-
background: transparent;
|
|
277
|
-
border: 0;
|
|
278
|
-
cursor: pointer;
|
|
279
|
-
|
|
280
|
-
&:focus-visible {
|
|
281
|
-
outline: 2px solid theme.palette(border, 'default');
|
|
282
|
-
outline-offset: 2px;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.#{$component}-sort-trigger--large {
|
|
287
|
-
width: 16px;
|
|
288
|
-
height: 16px;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.#{$component}-sort-trigger--small {
|
|
292
|
-
width: 12px;
|
|
293
|
-
height: 12px;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
// ========================= Expand trigger =========================
|
|
297
|
-
.#{$component}-expand-trigger {
|
|
298
|
-
display: inline-flex;
|
|
299
|
-
align-items: center;
|
|
300
|
-
justify-content: center;
|
|
301
|
-
width: theme.spacing(scale, 400);
|
|
302
|
-
height: theme.spacing(scale, 400);
|
|
303
|
-
padding: 0;
|
|
304
|
-
color: theme.palette(icon, 'default');
|
|
305
|
-
background: transparent;
|
|
306
|
-
border: 0;
|
|
307
|
-
cursor: pointer;
|
|
308
|
-
transition: color 0.2s ease;
|
|
309
|
-
|
|
310
|
-
&:focus-visible {
|
|
311
|
-
outline: 2px solid theme.palette(border, 'default');
|
|
312
|
-
outline-offset: 2px;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.#{$component}-expand-trigger:hover {
|
|
317
|
-
color: theme.palette(icon, 'default-secondary');
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.#{$component}-expand-trigger[aria-expanded='true'] {
|
|
321
|
-
color: theme.palette(icon, 'default');
|
|
322
|
-
|
|
323
|
-
&:hover {
|
|
324
|
-
color: theme.palette(icon, 'default-secondary');
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.#{$component}-expand-trigger__icon {
|
|
329
|
-
transition: transform 0.2s ease;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
// ========================= Cell content =========================
|
|
333
|
-
.#{$component}-cell-content {
|
|
334
|
-
display: inline-flex;
|
|
335
|
-
gap: 8px;
|
|
336
|
-
align-items: center;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.#{$component}-cell-content__text {
|
|
340
|
-
display: inline-flex;
|
|
341
|
-
flex-direction: column;
|
|
342
|
-
gap: 0;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// ========================= Expanded row content =========================
|
|
346
|
-
.#{$component}-expanded-row {
|
|
347
|
-
background: theme.palette(bg, 'default');
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.#{$component}-expanded-row__content {
|
|
351
|
-
padding: theme.spacing(component-padding, 200) 0 theme.spacing(component-padding, 200);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
// ========================= Loading wrapper =========================
|
|
357
|
-
.#{$component}-wrapper {
|
|
358
|
-
position: relative;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.#{$component}-wrapper--loading {
|
|
362
|
-
> .#{$component} {
|
|
363
|
-
opacity: 0.6;
|
|
364
|
-
user-select: none;
|
|
365
|
-
pointer-events: none;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.#{$component}-loading-overlay {
|
|
370
|
-
position: absolute;
|
|
371
|
-
inset: 0;
|
|
372
|
-
z-index: 4;
|
|
373
|
-
display: flex;
|
|
374
|
-
align-items: center;
|
|
375
|
-
justify-content: center;
|
|
376
|
-
}
|