@1money/component-ui 0.0.1 → 0.0.2
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/index.d.ts +1 -1
- package/es/components/Alert/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/es/components/CoachMark/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/es/components/Dropdown/style/index.js +1 -1
- package/es/components/Empty/style/index.d.ts +1 -1
- package/es/components/Empty/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/es/components/Popconfirm/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/es/components/Radio/style/index.js +1 -1
- package/es/components/Segment/style/index.d.ts +1 -1
- package/es/components/Segment/style/index.js +1 -1
- package/es/components/Select/style/index.d.ts +1 -1
- package/es/components/Select/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/es/components/Switch/style/index.js +1 -1
- package/es/components/Table/style/index.d.ts +1 -1
- package/es/components/Table/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/es/components/Typography/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/Alert/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/CoachMark/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/Dropdown/style/index.js +1 -1
- package/lib/components/Empty/style/index.d.ts +1 -1
- package/lib/components/Empty/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/Popconfirm/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/Radio/style/index.js +1 -1
- package/lib/components/Segment/style/index.d.ts +1 -1
- package/lib/components/Segment/style/index.js +1 -1
- package/lib/components/Select/style/index.d.ts +1 -1
- package/lib/components/Select/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/Switch/style/index.js +1 -1
- package/lib/components/Table/style/index.d.ts +1 -1
- package/lib/components/Table/style/index.js +1 -1
- 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/index.d.ts +1 -1
- package/lib/components/Typography/style/index.js +1 -1
- 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,431 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
@use '@/styles/theme/functions' as theme-internal;
|
|
3
|
-
|
|
4
|
-
$component: 'radio';
|
|
5
|
-
|
|
6
|
-
.#{theme.$prefix}-#{$component} {
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
gap: theme.spacing(gap, 300);
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
|
|
12
|
-
&-box-wrapper {
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-shrink: 0;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
height: theme-internal.om-line-height-px(body, lg);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-input {
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset: 0;
|
|
24
|
-
margin: 0;
|
|
25
|
-
cursor: inherit;
|
|
26
|
-
opacity: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-box {
|
|
30
|
-
position: relative;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
width: theme.spacing(scale, 400);
|
|
35
|
-
height: theme.spacing(scale, 400);
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
background-color: theme.palette(bg, 'default');
|
|
38
|
-
border: 1px solid theme.palette(border, 'default-secondary');
|
|
39
|
-
border-radius: theme.shape('full');
|
|
40
|
-
transition:
|
|
41
|
-
background-color 0.2s ease,
|
|
42
|
-
border-color 0.2s ease,
|
|
43
|
-
box-shadow 0.2s ease;
|
|
44
|
-
|
|
45
|
-
&::after {
|
|
46
|
-
position: absolute;
|
|
47
|
-
width: theme.spacing(scale, 200);
|
|
48
|
-
height: theme.spacing(scale, 200);
|
|
49
|
-
background-color: theme.palette(icon, 'on-brand');
|
|
50
|
-
border-radius: theme.shape('full');
|
|
51
|
-
transform: scale(0);
|
|
52
|
-
opacity: 0;
|
|
53
|
-
transition:
|
|
54
|
-
transform 0.2s ease,
|
|
55
|
-
opacity 0.2s ease;
|
|
56
|
-
content: '';
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-input:checked + .#{theme.$prefix}-#{$component}-box {
|
|
61
|
-
background-color: theme.palette(bg, 'brand');
|
|
62
|
-
border-color: theme.palette(bg, 'brand');
|
|
63
|
-
|
|
64
|
-
&::after {
|
|
65
|
-
transform: scale(1);
|
|
66
|
-
opacity: 1;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-input:focus-visible + .#{theme.$prefix}-#{$component}-box {
|
|
71
|
-
border-color: theme.palette(border, 'brand');
|
|
72
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'brand');
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-content {
|
|
76
|
-
display: flex;
|
|
77
|
-
flex: 1 0 0;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
min-width: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-label {
|
|
83
|
-
@include theme.typography(body, lg, $strong: true);
|
|
84
|
-
|
|
85
|
-
color: theme.palette(text, 'default');
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&-description {
|
|
89
|
-
@include theme.typography(body, md, $strong: true);
|
|
90
|
-
|
|
91
|
-
color: theme.palette(text, 'default-tertiary');
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-tag {
|
|
95
|
-
display: inline-flex;
|
|
96
|
-
margin-top: theme.spacing(gap, 100);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-cell {
|
|
100
|
-
position: relative;
|
|
101
|
-
display: block;
|
|
102
|
-
width: 100%;
|
|
103
|
-
min-width: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&-cell-input {
|
|
107
|
-
position: absolute;
|
|
108
|
-
inset: 0;
|
|
109
|
-
z-index: 1;
|
|
110
|
-
margin: 0;
|
|
111
|
-
cursor: inherit;
|
|
112
|
-
opacity: 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-cell-panel {
|
|
116
|
-
--om-radio-cell-icon: #{theme.palette(icon, 'default')};
|
|
117
|
-
--om-radio-cell-indicator-icon: #{theme.palette(icon, 'on-brand')};
|
|
118
|
-
|
|
119
|
-
position: relative;
|
|
120
|
-
display: flex;
|
|
121
|
-
gap: theme.spacing(gap, 300);
|
|
122
|
-
align-items: center;
|
|
123
|
-
box-sizing: border-box;
|
|
124
|
-
width: 100%;
|
|
125
|
-
min-width: 0;
|
|
126
|
-
background-color: theme.palette(bg, 'default');
|
|
127
|
-
border: 1px solid theme.palette(border, 'default');
|
|
128
|
-
border-radius: theme.shape(300);
|
|
129
|
-
transition:
|
|
130
|
-
background-color 0.2s ease,
|
|
131
|
-
border-color 0.2s ease,
|
|
132
|
-
box-shadow 0.2s ease;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&-cell-indicator,
|
|
136
|
-
&-cell-icon,
|
|
137
|
-
&-cell-radio {
|
|
138
|
-
display: inline-flex;
|
|
139
|
-
flex-shrink: 0;
|
|
140
|
-
align-items: center;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&-cell-indicator {
|
|
145
|
-
width: theme.spacing(scale, 800);
|
|
146
|
-
height: theme.spacing(scale, 800);
|
|
147
|
-
color: var(--om-radio-cell-icon);
|
|
148
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
149
|
-
border-radius: theme.shape('full');
|
|
150
|
-
transition:
|
|
151
|
-
background-color 0.2s ease,
|
|
152
|
-
color 0.2s ease;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&-cell-indicator-compact {
|
|
156
|
-
width: theme.spacing(scale, 600);
|
|
157
|
-
height: theme.spacing(scale, 600);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&-cell-icon {
|
|
161
|
-
color: var(--om-radio-cell-icon);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&-cell-radio {
|
|
165
|
-
width: theme.spacing(scale, 400);
|
|
166
|
-
height: theme.spacing(scale, 400);
|
|
167
|
-
background-color: theme.palette(bg, 'default');
|
|
168
|
-
border: 1px solid theme.palette(border, 'default-secondary');
|
|
169
|
-
border-radius: theme.shape('full');
|
|
170
|
-
transition:
|
|
171
|
-
background-color 0.2s ease,
|
|
172
|
-
border-color 0.2s ease;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&-cell-radio-dot {
|
|
176
|
-
width: theme.spacing(scale, 100);
|
|
177
|
-
height: theme.spacing(scale, 100);
|
|
178
|
-
background-color: theme.palette(icon, 'on-brand');
|
|
179
|
-
border-radius: theme.shape('full');
|
|
180
|
-
transform: scale(0);
|
|
181
|
-
opacity: 0;
|
|
182
|
-
transition:
|
|
183
|
-
transform 0.2s ease,
|
|
184
|
-
opacity 0.2s ease;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&-cell .#{theme.$prefix}-#{$component}-content {
|
|
188
|
-
display: flex;
|
|
189
|
-
flex: 1 0 0;
|
|
190
|
-
flex-direction: column;
|
|
191
|
-
min-width: 0;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&-cell .#{theme.$prefix}-#{$component}-label {
|
|
195
|
-
@include theme.typography(body, lg, $strong: true);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&-cell .#{theme.$prefix}-#{$component}-description {
|
|
199
|
-
@include theme.typography(body, md);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&-cell-horizontal.#{theme.$prefix}-#{$component}-cell-large {
|
|
203
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
204
|
-
padding: theme.spacing(scale, 400);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&-cell-horizontal.#{theme.$prefix}-#{$component}-cell-medium,
|
|
209
|
-
&-cell-horizontal.#{theme.$prefix}-#{$component}-cell-small {
|
|
210
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
211
|
-
padding: theme.spacing(scale, 300) theme.spacing(scale, 400);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&-cell-horizontal.#{theme.$prefix}-#{$component}-cell-medium {
|
|
216
|
-
.#{theme.$prefix}-#{$component}-label {
|
|
217
|
-
@include theme.typography(body, lg);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
&-cell-horizontal.#{theme.$prefix}-#{$component}-cell-small {
|
|
222
|
-
.#{theme.$prefix}-#{$component}-content {
|
|
223
|
-
justify-content: center;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.#{theme.$prefix}-#{$component}-label {
|
|
227
|
-
@include theme.typography(body, lg, $strong: true);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.#{theme.$prefix}-#{$component}-description {
|
|
231
|
-
@include theme.typography(body, md, $strong: true);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&-cell-vertical {
|
|
236
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
237
|
-
flex-direction: column;
|
|
238
|
-
justify-content: center;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.#{theme.$prefix}-#{$component}-content {
|
|
242
|
-
align-items: center;
|
|
243
|
-
text-align: center;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.#{theme.$prefix}-#{$component}-label,
|
|
247
|
-
.#{theme.$prefix}-#{$component}-description {
|
|
248
|
-
text-align: center;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
&-cell-vertical.#{theme.$prefix}-#{$component}-cell-large {
|
|
253
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
254
|
-
padding: theme.spacing(scale, 600) theme.spacing(scale, 400);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
&-cell-vertical.#{theme.$prefix}-#{$component}-cell-medium,
|
|
259
|
-
&-cell-vertical.#{theme.$prefix}-#{$component}-cell-small {
|
|
260
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
261
|
-
padding: theme.spacing(scale, 400);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.#{theme.$prefix}-#{$component}-label {
|
|
265
|
-
@include theme.typography(body, lg);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
&-cell-input:checked + .#{theme.$prefix}-#{$component}-cell-panel {
|
|
270
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
271
|
-
border-color: theme.palette(border, 'brand');
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&-cell-input:checked
|
|
275
|
-
+ .#{theme.$prefix}-#{$component}-cell-panel
|
|
276
|
-
.#{theme.$prefix}-#{$component}-cell-indicator {
|
|
277
|
-
background-color: theme.palette(bg, 'brand');
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
&-cell-input:checked
|
|
281
|
-
+ .#{theme.$prefix}-#{$component}-cell-panel
|
|
282
|
-
.#{theme.$prefix}-#{$component}-cell-radio {
|
|
283
|
-
background-color: theme.palette(bg, 'brand');
|
|
284
|
-
border-color: theme.palette(border, 'brand');
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
&-cell-input:checked
|
|
288
|
-
+ .#{theme.$prefix}-#{$component}-cell-panel
|
|
289
|
-
.#{theme.$prefix}-#{$component}-cell-radio-dot {
|
|
290
|
-
transform: scale(1);
|
|
291
|
-
opacity: 1;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
&-cell-vertical
|
|
295
|
-
.#{theme.$prefix}-#{$component}-cell-input:checked
|
|
296
|
-
+ .#{theme.$prefix}-#{$component}-cell-panel {
|
|
297
|
-
border-width: 1px;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&-cell-input:focus-visible + .#{theme.$prefix}-#{$component}-cell-panel {
|
|
301
|
-
border-color: theme.palette(border, 'brand');
|
|
302
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'brand');
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
&:not(&-disabled):hover {
|
|
306
|
-
.#{theme.$prefix}-#{$component}-box {
|
|
307
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.#{theme.$prefix}-#{$component}-input:checked
|
|
311
|
-
+ .#{theme.$prefix}-#{$component}-box {
|
|
312
|
-
background-color: theme.palette(bg, 'brand-hover');
|
|
313
|
-
border-color: theme.palette(bg, 'brand-hover');
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
317
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.#{theme.$prefix}-#{$component}-cell-input:checked
|
|
321
|
-
+ .#{theme.$prefix}-#{$component}-cell-panel {
|
|
322
|
-
border-color: theme.palette(border, 'brand');
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
&-disabled {
|
|
327
|
-
cursor: not-allowed;
|
|
328
|
-
|
|
329
|
-
.#{theme.$prefix}-#{$component}-box {
|
|
330
|
-
background-color: theme.palette(bg, 'disabled');
|
|
331
|
-
border-color: theme.palette(border, 'disabled');
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.#{theme.$prefix}-#{$component}-input:checked
|
|
335
|
-
+ .#{theme.$prefix}-#{$component}-box {
|
|
336
|
-
background-color: theme.palette(bg, 'disabled');
|
|
337
|
-
border-color: theme.palette(border, 'disabled');
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.#{theme.$prefix}-#{$component}-input:checked
|
|
341
|
-
+ .#{theme.$prefix}-#{$component}-box::after {
|
|
342
|
-
background-color: theme.palette(icon, 'on-disabled');
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.#{theme.$prefix}-#{$component}-label,
|
|
346
|
-
.#{theme.$prefix}-#{$component}-description {
|
|
347
|
-
color: theme.palette(text, 'disabled');
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.#{theme.$prefix}-#{$component}-cell-panel {
|
|
351
|
-
background-color: theme.palette(bg, 'disabled');
|
|
352
|
-
border-color: theme.palette(border, 'disabled');
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.#{theme.$prefix}-#{$component}-cell-indicator {
|
|
356
|
-
color: theme.palette(icon, 'on-disabled');
|
|
357
|
-
background-color: theme.palette(bg, 'disabled');
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.#{theme.$prefix}-#{$component}-cell-icon {
|
|
361
|
-
color: theme.palette(icon, 'disabled');
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.#{theme.$prefix}-#{$component}-cell-radio {
|
|
365
|
-
background-color: theme.palette(bg, 'disabled');
|
|
366
|
-
border-color: theme.palette(border, 'disabled');
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.#{theme.$prefix}-#{$component}-cell-radio-dot {
|
|
370
|
-
background-color: theme.palette(icon, 'on-disabled');
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.#{theme.$prefix}-#{$component}-tag {
|
|
374
|
-
opacity: theme.opacity('disabled-heavy');
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
&-right {
|
|
379
|
-
.#{theme.$prefix}-#{$component}-box-wrapper {
|
|
380
|
-
order: 1;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.#{theme.$prefix}-#{$component}-content {
|
|
384
|
-
order: 0;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.#{theme.$prefix}-#{$component}-cell-indicator,
|
|
388
|
-
.#{theme.$prefix}-#{$component}-cell-icon,
|
|
389
|
-
.#{theme.$prefix}-#{$component}-cell-radio {
|
|
390
|
-
order: 1;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
.#{theme.$prefix}-#{$component}-cell .#{theme.$prefix}-#{$component}-content {
|
|
394
|
-
order: 0;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
$group-component: 'radio-group';
|
|
400
|
-
|
|
401
|
-
.#{theme.$prefix}-#{$group-component} {
|
|
402
|
-
display: flex;
|
|
403
|
-
|
|
404
|
-
&-vertical {
|
|
405
|
-
flex-direction: column;
|
|
406
|
-
gap: theme.spacing(gap, 300);
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
&-horizontal {
|
|
410
|
-
flex-flow: row wrap;
|
|
411
|
-
gap: theme.spacing(gap, 600);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&-cell.#{theme.$prefix}-#{$group-component}-vertical {
|
|
415
|
-
gap: theme.spacing(gap, 300);
|
|
416
|
-
|
|
417
|
-
> .#{theme.$prefix}-#{$component} {
|
|
418
|
-
width: 100%;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
&-cell.#{theme.$prefix}-#{$group-component}-horizontal {
|
|
423
|
-
gap: theme.spacing(gap, 300);
|
|
424
|
-
align-items: stretch;
|
|
425
|
-
|
|
426
|
-
> .#{theme.$prefix}-#{$component} {
|
|
427
|
-
flex: 1 1 0;
|
|
428
|
-
min-width: 0;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'segment';
|
|
4
|
-
$segment-track-padding: theme.spacing(scale, 100);
|
|
5
|
-
$segment-item-height: calc(theme.spacing(scale, 800) + theme.spacing(scale, 100));
|
|
6
|
-
$segment-item-vertical-padding: theme.spacing(scale, 200);
|
|
7
|
-
$segment-item-horizontal-padding: theme.spacing(component-padding, 400);
|
|
8
|
-
|
|
9
|
-
.#{theme.$prefix}-#{$component} {
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
|
|
12
|
-
// ── Track (outer container) ──
|
|
13
|
-
&-track {
|
|
14
|
-
position: relative;
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
gap: theme.spacing(gap, 100);
|
|
17
|
-
align-items: center;
|
|
18
|
-
padding: $segment-track-padding;
|
|
19
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
20
|
-
border-radius: theme.shape('full');
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// ── Sliding indicator (active bg pill) ──
|
|
24
|
-
&-indicator {
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: $segment-track-padding;
|
|
27
|
-
bottom: $segment-track-padding;
|
|
28
|
-
left: 0;
|
|
29
|
-
z-index: 0;
|
|
30
|
-
background-color: theme.palette(bg, 'neutral');
|
|
31
|
-
border-radius: theme.shape('full');
|
|
32
|
-
transition:
|
|
33
|
-
transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
34
|
-
width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// ── Individual segment item ──
|
|
38
|
-
&-item {
|
|
39
|
-
position: relative;
|
|
40
|
-
z-index: 1;
|
|
41
|
-
display: inline-flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
height: $segment-item-height;
|
|
46
|
-
padding: $segment-item-vertical-padding $segment-item-horizontal-padding;
|
|
47
|
-
color: theme.palette(text, 'default-tertiary');
|
|
48
|
-
background: none;
|
|
49
|
-
border: none;
|
|
50
|
-
border-radius: theme.shape('full');
|
|
51
|
-
outline: none;
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
transition: color 0.2s ease;
|
|
54
|
-
|
|
55
|
-
@include theme.typography(label, lg);
|
|
56
|
-
|
|
57
|
-
// ── Hover state ──
|
|
58
|
-
&:hover:not(.#{theme.$prefix}-#{$component}-item-disabled):not(
|
|
59
|
-
.#{theme.$prefix}-#{$component}-item-active
|
|
60
|
-
) {
|
|
61
|
-
color: theme.palette(text, 'default');
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// ── Active state ──
|
|
65
|
-
&-active {
|
|
66
|
-
color: theme.palette(text, 'on-neutral');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// ── Disabled state ──
|
|
70
|
-
&-disabled {
|
|
71
|
-
color: theme.palette(text, 'disabled');
|
|
72
|
-
cursor: not-allowed;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// ── Item label ──
|
|
77
|
-
&-item-label {
|
|
78
|
-
white-space: nowrap;
|
|
79
|
-
}
|
|
80
|
-
}
|