@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,184 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'input';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
&-trade {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
gap: theme.spacing(gap, 200);
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&-trade-main {
|
|
14
|
-
padding-bottom: theme.spacing(scale, 200);
|
|
15
|
-
border-bottom: 1px solid theme.palette(border, 'default');
|
|
16
|
-
transition: border-color 0.2s ease;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-trade-value-line {
|
|
20
|
-
display: flex;
|
|
21
|
-
gap: theme.spacing(gap, 200);
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-trade-symbol {
|
|
26
|
-
@include theme.typography(display, lg);
|
|
27
|
-
|
|
28
|
-
flex-shrink: 0;
|
|
29
|
-
color: theme.palette(text, 'brand');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-trade-input-wrapper {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex: 1 1 auto;
|
|
35
|
-
align-items: center;
|
|
36
|
-
min-width: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-trade-field {
|
|
40
|
-
@include theme.typography(display, lg);
|
|
41
|
-
|
|
42
|
-
flex: 1 1 auto;
|
|
43
|
-
width: 100%;
|
|
44
|
-
min-width: 0;
|
|
45
|
-
color: theme.palette(text, 'brand');
|
|
46
|
-
background: transparent;
|
|
47
|
-
border: none;
|
|
48
|
-
outline: none;
|
|
49
|
-
|
|
50
|
-
&::placeholder {
|
|
51
|
-
color: theme.palette(text, 'brand');
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-trade-unit {
|
|
56
|
-
@include theme.typography(display, lg);
|
|
57
|
-
|
|
58
|
-
flex-shrink: 0;
|
|
59
|
-
color: theme.palette(text, 'brand');
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&-trade-unit-placeholder {
|
|
63
|
-
color: theme.palette(text, 'neutral-tertiary');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&-trade-max {
|
|
67
|
-
@include theme.typography(body, sm, $strong: true);
|
|
68
|
-
|
|
69
|
-
display: inline-flex;
|
|
70
|
-
flex-shrink: 0;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
padding: theme.spacing(component-padding, 200);
|
|
74
|
-
color: theme.palette(text, 'default');
|
|
75
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
76
|
-
border: none;
|
|
77
|
-
border-radius: theme.shape(200);
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
|
|
80
|
-
&:hover:not(:disabled) {
|
|
81
|
-
background-color: theme.palette(bg, 'neutral-tertiary-hover');
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:disabled {
|
|
85
|
-
color: theme.palette(text, 'disabled');
|
|
86
|
-
background-color: theme.palette(bg, 'disabled');
|
|
87
|
-
cursor: not-allowed;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&-trade-subline {
|
|
92
|
-
display: flex;
|
|
93
|
-
gap: theme.spacing(gap, 100);
|
|
94
|
-
align-items: center;
|
|
95
|
-
padding-top: theme.spacing(scale, 200);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&-trade-swap {
|
|
99
|
-
display: inline-flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
padding: 0;
|
|
103
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
104
|
-
background: transparent;
|
|
105
|
-
border: none;
|
|
106
|
-
transform: rotate(-90deg);
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
|
|
109
|
-
&:disabled {
|
|
110
|
-
color: theme.palette(icon, 'disabled');
|
|
111
|
-
cursor: not-allowed;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-trade-exchange {
|
|
116
|
-
@include theme.typography(body, lg, $strong: true);
|
|
117
|
-
|
|
118
|
-
color: theme.palette(text, 'brand');
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&-trade-error-msg {
|
|
122
|
-
@include theme.typography(body, sm);
|
|
123
|
-
|
|
124
|
-
display: flex;
|
|
125
|
-
gap: theme.spacing(gap, 100);
|
|
126
|
-
align-items: center;
|
|
127
|
-
color: theme.palette(text, 'default-tertiary');
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// ── Focus ──
|
|
131
|
-
&-trade:focus-within {
|
|
132
|
-
.#{theme.$prefix}-#{$component}-trade-main {
|
|
133
|
-
padding-bottom: calc(#{theme.spacing(scale, 200)} - 1px);
|
|
134
|
-
border-bottom: 2px solid theme.palette(border, 'brand');
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// ── Error ──
|
|
139
|
-
&-trade-error {
|
|
140
|
-
.#{theme.$prefix}-#{$component}-trade-symbol,
|
|
141
|
-
.#{theme.$prefix}-#{$component}-trade-field,
|
|
142
|
-
.#{theme.$prefix}-#{$component}-trade-unit {
|
|
143
|
-
color: theme.palette(text, 'danger');
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.#{theme.$prefix}-#{$component}-trade-field::placeholder {
|
|
147
|
-
color: theme.palette(text, 'danger');
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.#{theme.$prefix}-#{$component}-trade-main {
|
|
151
|
-
border-bottom-color: theme.palette(border, 'danger');
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.#{theme.$prefix}-#{$component}-trade-error-msg {
|
|
155
|
-
color: theme.palette(text, 'danger');
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// ── Disabled ──
|
|
160
|
-
&-trade-disabled {
|
|
161
|
-
.#{theme.$prefix}-#{$component}-trade-symbol,
|
|
162
|
-
.#{theme.$prefix}-#{$component}-trade-field,
|
|
163
|
-
.#{theme.$prefix}-#{$component}-trade-unit,
|
|
164
|
-
.#{theme.$prefix}-#{$component}-trade-unit-placeholder {
|
|
165
|
-
color: theme.palette(text, 'disabled');
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.#{theme.$prefix}-#{$component}-trade-field::placeholder {
|
|
169
|
-
color: theme.palette(text, 'disabled');
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.#{theme.$prefix}-#{$component}-trade-main {
|
|
173
|
-
border-bottom-color: theme.palette(border, 'disabled');
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.#{theme.$prefix}-#{$component}-trade-exchange {
|
|
177
|
-
color: theme.palette(text, 'disabled');
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.#{theme.$prefix}-#{$component}-trade-error-msg {
|
|
181
|
-
color: theme.palette(text, 'disabled');
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'modal';
|
|
4
|
-
$dialog-width-small: 450px;
|
|
5
|
-
$dialog-width-large: 740px;
|
|
6
|
-
$dialog-transition-duration: 200ms;
|
|
7
|
-
|
|
8
|
-
.#{theme.$prefix}-#{$component}-root {
|
|
9
|
-
position: fixed;
|
|
10
|
-
inset: 0;
|
|
11
|
-
z-index: 1000;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.#{theme.$prefix}-#{$component}-overlay {
|
|
15
|
-
position: absolute;
|
|
16
|
-
inset: 0;
|
|
17
|
-
background-color: theme.palette(bg, 'scrim-dark');
|
|
18
|
-
opacity: 0;
|
|
19
|
-
transition: opacity $dialog-transition-duration ease;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.#{theme.$prefix}-#{$component}-wrapper {
|
|
23
|
-
position: relative;
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 100%;
|
|
29
|
-
padding: theme.spacing(scale, 400);
|
|
30
|
-
pointer-events: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.#{theme.$prefix}-#{$component} {
|
|
34
|
-
position: relative;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
align-items: stretch;
|
|
38
|
-
justify-content: flex-start;
|
|
39
|
-
width: min(100%, $dialog-width-small);
|
|
40
|
-
max-height: calc(100vh - #{theme.spacing(scale, 800)});
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
background-color: theme.palette(bg, 'default');
|
|
43
|
-
border: 1px solid theme.palette(border, 'neutral');
|
|
44
|
-
border-radius: theme.shape(600);
|
|
45
|
-
outline: none;
|
|
46
|
-
box-shadow: theme.shadows('200');
|
|
47
|
-
transform: translateY(theme.spacing(scale, 400));
|
|
48
|
-
opacity: 0;
|
|
49
|
-
transition:
|
|
50
|
-
opacity $dialog-transition-duration ease,
|
|
51
|
-
transform $dialog-transition-duration ease;
|
|
52
|
-
pointer-events: auto;
|
|
53
|
-
|
|
54
|
-
&-small {
|
|
55
|
-
width: min(100%, $dialog-width-small);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&-large {
|
|
59
|
-
width: min(100%, $dialog-width-large);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&-full-width {
|
|
63
|
-
width: calc(100vw - #{theme.spacing(scale, 800)});
|
|
64
|
-
max-width: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-with-media {
|
|
68
|
-
.#{theme.$prefix}-#{$component}-inner {
|
|
69
|
-
padding-top: theme.spacing(scale, 800);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-media {
|
|
74
|
-
width: 100%;
|
|
75
|
-
overflow: hidden;
|
|
76
|
-
background-color: theme.palette(bg, 'default-tertiary');
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-inner {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: column;
|
|
82
|
-
gap: theme.spacing(gap, 600);
|
|
83
|
-
width: 100%;
|
|
84
|
-
padding: theme.spacing(scale, 1000) theme.spacing(scale, 1000) theme.spacing(scale, 800);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&-header {
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
width: 100%;
|
|
91
|
-
min-height: 24px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-control {
|
|
95
|
-
display: inline-flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
justify-content: center;
|
|
98
|
-
width: 24px;
|
|
99
|
-
height: 24px;
|
|
100
|
-
padding: 0;
|
|
101
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
102
|
-
background: transparent;
|
|
103
|
-
border: none;
|
|
104
|
-
cursor: pointer;
|
|
105
|
-
|
|
106
|
-
.#{theme.$prefix}-icons-wrapper {
|
|
107
|
-
--icon-color: currentcolor;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&:hover {
|
|
111
|
-
color: theme.palette(icon, 'default');
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-control-close {
|
|
116
|
-
position: absolute;
|
|
117
|
-
top: 15px;
|
|
118
|
-
right: 15px;
|
|
119
|
-
z-index: 1;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&-body {
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: column;
|
|
125
|
-
gap: theme.spacing(gap, 600);
|
|
126
|
-
width: 100%;
|
|
127
|
-
min-width: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&-summary {
|
|
131
|
-
display: flex;
|
|
132
|
-
flex-direction: column;
|
|
133
|
-
gap: theme.spacing(gap, 300);
|
|
134
|
-
width: 100%;
|
|
135
|
-
min-width: 0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&-illustration {
|
|
139
|
-
display: inline-flex;
|
|
140
|
-
align-items: center;
|
|
141
|
-
justify-content: flex-start;
|
|
142
|
-
line-height: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&-copy {
|
|
146
|
-
display: flex;
|
|
147
|
-
flex-direction: column;
|
|
148
|
-
gap: theme.spacing(gap, 300);
|
|
149
|
-
width: 100%;
|
|
150
|
-
min-width: 0;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&-title,
|
|
154
|
-
&-description,
|
|
155
|
-
&-content {
|
|
156
|
-
width: 100%;
|
|
157
|
-
min-width: 0;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&-title {
|
|
161
|
-
color: theme.palette(text, 'default');
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&-description {
|
|
165
|
-
color: theme.palette(text, 'default-secondary');
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&-content {
|
|
169
|
-
display: flex;
|
|
170
|
-
flex-direction: column;
|
|
171
|
-
gap: theme.spacing(gap, 300);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&-footer {
|
|
175
|
-
display: flex;
|
|
176
|
-
gap: theme.spacing(gap, 300);
|
|
177
|
-
width: 100%;
|
|
178
|
-
|
|
179
|
-
&-small {
|
|
180
|
-
flex-direction: column;
|
|
181
|
-
align-items: stretch;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&-large {
|
|
185
|
-
align-items: stretch;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
&-action-button {
|
|
190
|
-
width: 100%;
|
|
191
|
-
min-height: 52px;
|
|
192
|
-
border-radius: theme.shape(300);
|
|
193
|
-
|
|
194
|
-
&.#{theme.$prefix}-button {
|
|
195
|
-
justify-content: center;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&-action-button-cancel.#{theme.$prefix}-button {
|
|
200
|
-
color: theme.palette(text, 'default');
|
|
201
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
202
|
-
|
|
203
|
-
&:hover:not(:disabled) {
|
|
204
|
-
background-color: theme.palette(bg, 'neutral-secondary');
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&-footer-large > .#{theme.$prefix}-#{$component}-action-button {
|
|
209
|
-
flex: 1 1 0;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.#{theme.$prefix}-#{$component}-root-open {
|
|
214
|
-
.#{theme.$prefix}-#{$component}-overlay {
|
|
215
|
-
opacity: 1;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.#{theme.$prefix}-#{$component} {
|
|
219
|
-
transform: translateY(0);
|
|
220
|
-
opacity: 1;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.#{theme.$prefix}-#{$component}-root-closed {
|
|
225
|
-
.#{theme.$prefix}-#{$component}-overlay {
|
|
226
|
-
opacity: 0;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.#{theme.$prefix}-#{$component} {
|
|
230
|
-
transform: translateY(theme.spacing(scale, 400));
|
|
231
|
-
opacity: 0;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
@include theme.down(sm) {
|
|
236
|
-
.#{theme.$prefix}-#{$component} {
|
|
237
|
-
&-wrapper {
|
|
238
|
-
align-items: flex-end;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&-full-width {
|
|
242
|
-
width: 100%;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&-inner {
|
|
246
|
-
padding-right: theme.spacing(scale, 800);
|
|
247
|
-
padding-left: theme.spacing(scale, 800);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
&-footer-large {
|
|
251
|
-
flex-direction: column;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'nav';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
width: 280px;
|
|
9
|
-
height: 100%;
|
|
10
|
-
padding: theme.spacing(scale, 1000) theme.spacing(scale, 400) theme.spacing(scale, 600);
|
|
11
|
-
background-color: theme.palette(bg, 'default');
|
|
12
|
-
border-right: 1px solid theme.palette(border, 'neutral');
|
|
13
|
-
|
|
14
|
-
// ── Content ──
|
|
15
|
-
&-content {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex: 1;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
min-height: 0;
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// ── Divider ──
|
|
24
|
-
&-divider {
|
|
25
|
-
height: 1px;
|
|
26
|
-
background-color: theme.palette(border, 'neutral');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// ── Group ──
|
|
30
|
-
&-group {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-group-header {
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
min-height: theme.sizing(component-height, 'md');
|
|
39
|
-
padding: theme.spacing(scale, 200) theme.spacing(scale, 400);
|
|
40
|
-
color: theme.palette(text, 'default-secondary');
|
|
41
|
-
border-radius: theme.shape(300);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-group-header-content {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex: 1;
|
|
47
|
-
gap: theme.spacing(gap, 200);
|
|
48
|
-
align-items: center;
|
|
49
|
-
min-width: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&-group-header-icon {
|
|
53
|
-
display: inline-flex;
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
align-items: center;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
color: theme.palette(icon, 'default-secondary');
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-group-header-label {
|
|
61
|
-
flex: 1;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
text-overflow: ellipsis;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-group-header .#{theme.$prefix}-typography {
|
|
68
|
-
color: inherit;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// ── Item ──
|
|
72
|
-
&-item-wrapper {
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&-item {
|
|
78
|
-
display: flex;
|
|
79
|
-
gap: theme.spacing(scale, 600);
|
|
80
|
-
align-items: center;
|
|
81
|
-
width: 100%;
|
|
82
|
-
min-height: theme.sizing(component-height, 'md');
|
|
83
|
-
padding: theme.spacing(scale, 200) theme.spacing(scale, 400);
|
|
84
|
-
padding-left: calc(#{theme.spacing(scale, 400)} + var(--om-nav-indent, 0) * #{theme.spacing(scale, 600)});
|
|
85
|
-
color: theme.palette(text, 'default-secondary');
|
|
86
|
-
background-color: transparent;
|
|
87
|
-
border: none;
|
|
88
|
-
border-radius: theme.shape(300);
|
|
89
|
-
cursor: pointer;
|
|
90
|
-
|
|
91
|
-
.#{theme.$prefix}-typography {
|
|
92
|
-
color: inherit;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// L2 hover: text turns brand blue
|
|
96
|
-
&[data-depth='1']:hover:not(:disabled) {
|
|
97
|
-
color: theme.palette(text, 'brand');
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// L3+ hover: text darkens to default
|
|
101
|
-
&:not([data-depth='1']):hover:not(:disabled) {
|
|
102
|
-
color: theme.palette(text, 'default');
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&-content {
|
|
106
|
-
display: flex;
|
|
107
|
-
flex: 1;
|
|
108
|
-
align-items: center;
|
|
109
|
-
min-width: 0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&-label {
|
|
113
|
-
flex: 1;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
white-space: nowrap;
|
|
116
|
-
text-align: left;
|
|
117
|
-
text-overflow: ellipsis;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&-suffix {
|
|
121
|
-
flex-shrink: 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&-arrow {
|
|
125
|
-
display: inline-flex;
|
|
126
|
-
flex-shrink: 0;
|
|
127
|
-
align-items: center;
|
|
128
|
-
color: theme.palette(icon, 'default-secondary');
|
|
129
|
-
transition: transform 200ms ease-in-out;
|
|
130
|
-
|
|
131
|
-
&-open {
|
|
132
|
-
transform: rotate(-180deg);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&-link {
|
|
137
|
-
display: flex;
|
|
138
|
-
color: inherit;
|
|
139
|
-
text-decoration: none;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
// ── Active (selected) state ──
|
|
143
|
-
&-active {
|
|
144
|
-
color: theme.palette(text, 'brand');
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// ── Disabled state ──
|
|
148
|
-
&-disabled {
|
|
149
|
-
color: theme.palette(text, 'disabled');
|
|
150
|
-
cursor: not-allowed;
|
|
151
|
-
|
|
152
|
-
&:hover {
|
|
153
|
-
color: theme.palette(text, 'disabled');
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// ── Submenu (expandable children) ──
|
|
159
|
-
&-submenu {
|
|
160
|
-
display: grid;
|
|
161
|
-
grid-template-rows: 0fr;
|
|
162
|
-
transition: grid-template-rows 200ms ease-in-out;
|
|
163
|
-
|
|
164
|
-
&-open {
|
|
165
|
-
grid-template-rows: 1fr;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&-submenu-inner {
|
|
170
|
-
display: flex;
|
|
171
|
-
flex-direction: column;
|
|
172
|
-
overflow: hidden;
|
|
173
|
-
}
|
|
174
|
-
}
|