@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,480 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'select';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
gap: theme.spacing(gap, 200);
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
&-label-row {
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
gap: theme.spacing(gap, 100);
|
|
14
|
-
align-items: center;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-label-text {
|
|
18
|
-
display: inline;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-required {
|
|
22
|
-
color: theme.palette(text, 'danger');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-info {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-description-text {
|
|
32
|
-
display: block;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-trigger {
|
|
36
|
-
display: flex;
|
|
37
|
-
gap: theme.spacing(gap, 200);
|
|
38
|
-
align-items: center;
|
|
39
|
-
width: 100%;
|
|
40
|
-
min-width: 120px;
|
|
41
|
-
color: inherit;
|
|
42
|
-
text-align: left;
|
|
43
|
-
border: 1px solid theme.palette(border, 'default');
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
transition:
|
|
46
|
-
background-color 0.2s ease,
|
|
47
|
-
border-color 0.2s ease,
|
|
48
|
-
box-shadow 0.2s ease;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-trigger-large {
|
|
52
|
-
min-height: theme.sizing(component-height, '3xl');
|
|
53
|
-
padding: theme.spacing(component-padding, 300);
|
|
54
|
-
border-radius: theme.shape(300);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&-trigger-small {
|
|
58
|
-
min-height: theme.sizing(component-height, 'lg');
|
|
59
|
-
padding: theme.spacing(component-padding, 200) theme.spacing(component-padding, 300);
|
|
60
|
-
border-radius: theme.shape(200);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-trigger-fill {
|
|
64
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-trigger-stroke {
|
|
68
|
-
background-color: transparent;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&-trigger-frameless {
|
|
72
|
-
justify-content: flex-start;
|
|
73
|
-
width: auto;
|
|
74
|
-
min-width: auto;
|
|
75
|
-
min-height: auto;
|
|
76
|
-
padding: 0;
|
|
77
|
-
background: transparent;
|
|
78
|
-
border: none;
|
|
79
|
-
border-radius: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-trigger:not(&-trigger-disabled):hover {
|
|
83
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-trigger-frameless:not(&-trigger-disabled):hover {
|
|
87
|
-
border-color: transparent;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&-trigger-open {
|
|
91
|
-
border-color: theme.palette(border, 'brand');
|
|
92
|
-
box-shadow: inset 0 0 0 1px theme.palette(border, 'brand');
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&-trigger-error {
|
|
96
|
-
border-color: theme.palette(border, 'danger');
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-trigger-warning {
|
|
100
|
-
border-color: theme.palette(border, 'warning');
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&-trigger-success {
|
|
104
|
-
border-color: theme.palette(border, 'positive');
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&-trigger-disabled {
|
|
108
|
-
color: theme.palette(text, 'disabled');
|
|
109
|
-
background-color: theme.palette(bg, 'disabled');
|
|
110
|
-
border-color: theme.palette(border, 'disabled');
|
|
111
|
-
box-shadow: none;
|
|
112
|
-
cursor: not-allowed;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-trigger-error,
|
|
116
|
-
&-trigger-warning,
|
|
117
|
-
&-trigger-success,
|
|
118
|
-
&-trigger-frameless {
|
|
119
|
-
box-shadow: none;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&-trigger-disabled .#{theme.$prefix}-#{$component}-prefix,
|
|
123
|
-
&-trigger-disabled .#{theme.$prefix}-#{$component}-icon {
|
|
124
|
-
color: theme.palette(icon, 'disabled');
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&-content {
|
|
128
|
-
display: flex;
|
|
129
|
-
flex: 1 1 auto;
|
|
130
|
-
gap: theme.spacing(gap, 200);
|
|
131
|
-
align-items: center;
|
|
132
|
-
min-width: 0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&-prefix {
|
|
136
|
-
display: inline-flex;
|
|
137
|
-
flex-shrink: 0;
|
|
138
|
-
align-items: center;
|
|
139
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&-value,
|
|
143
|
-
&-placeholder {
|
|
144
|
-
display: inline-flex;
|
|
145
|
-
flex: 1 1 auto;
|
|
146
|
-
min-width: 0;
|
|
147
|
-
overflow: hidden;
|
|
148
|
-
white-space: nowrap;
|
|
149
|
-
text-overflow: ellipsis;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&-value-large {
|
|
153
|
-
@include theme.typography(body, lg, $strong: true);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&-value-small {
|
|
157
|
-
@include theme.typography(body, md, $strong: true);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&-placeholder-large {
|
|
161
|
-
@include theme.typography(body, lg);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&-placeholder-small {
|
|
165
|
-
@include theme.typography(body, md);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&-value {
|
|
169
|
-
color: theme.palette(text, 'default');
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&-value-multiple {
|
|
173
|
-
display: flex;
|
|
174
|
-
flex-wrap: wrap;
|
|
175
|
-
gap: theme.spacing(gap, 200);
|
|
176
|
-
align-content: flex-start;
|
|
177
|
-
align-items: center;
|
|
178
|
-
max-height: 88px;
|
|
179
|
-
overflow: hidden;
|
|
180
|
-
white-space: normal;
|
|
181
|
-
text-overflow: clip;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&-placeholder {
|
|
185
|
-
color: theme.palette(text, 'neutral-secondary');
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&-value-disabled,
|
|
189
|
-
&-placeholder-disabled {
|
|
190
|
-
color: theme.palette(text, 'disabled');
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&-icon {
|
|
194
|
-
display: inline-flex;
|
|
195
|
-
flex-shrink: 0;
|
|
196
|
-
align-items: center;
|
|
197
|
-
color: theme.palette(icon, 'default');
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&-trigger-multiple-filled {
|
|
201
|
-
padding-top: theme.spacing(gap, 200);
|
|
202
|
-
padding-bottom: theme.spacing(gap, 200);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
&-tag {
|
|
206
|
-
@include theme.typography(body, sm, $strong: true);
|
|
207
|
-
|
|
208
|
-
display: inline-flex;
|
|
209
|
-
flex-shrink: 0;
|
|
210
|
-
gap: theme.spacing(gap, 100);
|
|
211
|
-
align-items: center;
|
|
212
|
-
justify-content: center;
|
|
213
|
-
max-width: 100%;
|
|
214
|
-
padding: theme.spacing(scale, 100) theme.spacing(component-padding, 200);
|
|
215
|
-
color: theme.palette(text, 'default-tertiary');
|
|
216
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
217
|
-
border-radius: theme.shape('full');
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
&-tag-label {
|
|
221
|
-
min-width: 0;
|
|
222
|
-
overflow: hidden;
|
|
223
|
-
white-space: nowrap;
|
|
224
|
-
text-overflow: ellipsis;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&-tag-remove {
|
|
228
|
-
display: inline-flex;
|
|
229
|
-
flex-shrink: 0;
|
|
230
|
-
align-items: center;
|
|
231
|
-
justify-content: center;
|
|
232
|
-
color: currentcolor;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&-collapsed-values {
|
|
236
|
-
display: inline-flex;
|
|
237
|
-
flex: 1 1 auto;
|
|
238
|
-
gap: theme.spacing(gap, 100);
|
|
239
|
-
align-items: center;
|
|
240
|
-
min-width: 0;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
&-collapsed-values-list {
|
|
244
|
-
min-width: 0;
|
|
245
|
-
overflow: hidden;
|
|
246
|
-
white-space: nowrap;
|
|
247
|
-
text-overflow: ellipsis;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
&-collapsed-values-extra {
|
|
251
|
-
flex-shrink: 0;
|
|
252
|
-
color: theme.palette(text, 'default-secondary');
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&-collapsed-values-extra-disabled {
|
|
256
|
-
color: theme.palette(text, 'disabled');
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
&-feedback {
|
|
260
|
-
display: inline-flex;
|
|
261
|
-
gap: theme.spacing(gap, 100);
|
|
262
|
-
align-items: flex-start;
|
|
263
|
-
color: theme.palette(text, 'default-secondary');
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
&-feedback-error {
|
|
267
|
-
color: theme.palette(text, 'danger');
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
&-feedback-warning {
|
|
271
|
-
color: theme.palette(text, 'warning');
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&-feedback-success {
|
|
275
|
-
color: theme.palette(text, 'positive');
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
&-feedback-disabled {
|
|
279
|
-
color: theme.palette(text, 'disabled');
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
&-feedback-icon {
|
|
283
|
-
display: inline-flex;
|
|
284
|
-
flex-shrink: 0;
|
|
285
|
-
align-items: center;
|
|
286
|
-
margin-top: 1px;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
&-panel {
|
|
290
|
-
z-index: 1500;
|
|
291
|
-
display: flex;
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
padding: theme.spacing(component-padding, 200);
|
|
294
|
-
overflow: hidden;
|
|
295
|
-
background-color: theme.palette(bg, 'default');
|
|
296
|
-
border: 1px solid theme.palette(border, 'neutral-tertiary');
|
|
297
|
-
border-radius: theme.shape(300);
|
|
298
|
-
box-shadow: theme.shadows(100);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
&-search {
|
|
302
|
-
display: flex;
|
|
303
|
-
flex-shrink: 0;
|
|
304
|
-
gap: theme.spacing(gap, 200);
|
|
305
|
-
align-items: center;
|
|
306
|
-
width: 100%;
|
|
307
|
-
min-height: theme.sizing(component-height, '3xl');
|
|
308
|
-
margin-bottom: theme.spacing(gap, 200);
|
|
309
|
-
padding: theme.spacing(component-padding, 300) theme.spacing(component-padding, 400);
|
|
310
|
-
background-color: theme.palette(bg, 'default');
|
|
311
|
-
border: 1px solid theme.palette(border, 'default');
|
|
312
|
-
border-radius: theme.shape(300);
|
|
313
|
-
transition:
|
|
314
|
-
border-color 0.2s ease,
|
|
315
|
-
box-shadow 0.2s ease;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
&-search:hover {
|
|
319
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
&-search:focus-within {
|
|
323
|
-
border-color: theme.palette(border, 'brand');
|
|
324
|
-
box-shadow: inset 0 0 0 1px theme.palette(border, 'brand');
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
&-search-icon {
|
|
328
|
-
display: inline-flex;
|
|
329
|
-
flex-shrink: 0;
|
|
330
|
-
align-items: center;
|
|
331
|
-
justify-content: center;
|
|
332
|
-
color: theme.palette(icon, 'default');
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
&-search-input {
|
|
336
|
-
@include theme.typography(body, md);
|
|
337
|
-
|
|
338
|
-
flex: 1 1 auto;
|
|
339
|
-
min-width: 0;
|
|
340
|
-
color: theme.palette(text, 'default');
|
|
341
|
-
background: transparent;
|
|
342
|
-
border: none;
|
|
343
|
-
outline: none;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
&-search-input::placeholder {
|
|
347
|
-
color: theme.palette(text, 'neutral-secondary');
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
&-panel-body {
|
|
351
|
-
display: flex;
|
|
352
|
-
flex: 1 1 auto;
|
|
353
|
-
flex-direction: column;
|
|
354
|
-
gap: theme.spacing(gap, '050');
|
|
355
|
-
min-height: 0;
|
|
356
|
-
overflow-y: auto;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
&-panel-footer {
|
|
360
|
-
flex-shrink: 0;
|
|
361
|
-
width: 100%;
|
|
362
|
-
padding-top: theme.spacing(gap, 300);
|
|
363
|
-
padding-bottom: theme.spacing(gap, 100);
|
|
364
|
-
border-top: 1px solid theme.palette(border, 'neutral-secondary');
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
&-group {
|
|
368
|
-
display: flex;
|
|
369
|
-
flex-direction: column;
|
|
370
|
-
width: 100%;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
&-group + &-group {
|
|
374
|
-
padding-top: theme.spacing(gap, 200);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
&-group-label {
|
|
378
|
-
display: flex;
|
|
379
|
-
align-items: center;
|
|
380
|
-
width: 100%;
|
|
381
|
-
margin-bottom: theme.spacing(gap, 200);
|
|
382
|
-
padding-top: theme.spacing(gap, 200);
|
|
383
|
-
color: theme.palette(text, 'default');
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
&-option {
|
|
387
|
-
display: flex;
|
|
388
|
-
gap: theme.spacing(gap, 300);
|
|
389
|
-
align-items: center;
|
|
390
|
-
width: 100%;
|
|
391
|
-
min-height: 40px;
|
|
392
|
-
padding: theme.spacing(component-padding, 200) theme.spacing(component-padding, 200);
|
|
393
|
-
color: theme.palette(text, 'default');
|
|
394
|
-
text-align: left;
|
|
395
|
-
background: transparent;
|
|
396
|
-
border: none;
|
|
397
|
-
border-radius: theme.shape(200);
|
|
398
|
-
cursor: pointer;
|
|
399
|
-
transition: background-color 0.2s ease;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
&-option:focus,
|
|
403
|
-
&-option:focus-visible {
|
|
404
|
-
outline: none;
|
|
405
|
-
box-shadow: none;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
&-option:hover,
|
|
409
|
-
&-option-active,
|
|
410
|
-
&-option-selected {
|
|
411
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&-option-disabled {
|
|
415
|
-
color: theme.palette(text, 'disabled');
|
|
416
|
-
background-color: transparent;
|
|
417
|
-
cursor: not-allowed;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
&-option-content {
|
|
421
|
-
display: flex;
|
|
422
|
-
flex: 1 1 auto;
|
|
423
|
-
flex-direction: column;
|
|
424
|
-
gap: theme.spacing(gap, '050');
|
|
425
|
-
min-width: 0;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
&-option-label {
|
|
429
|
-
min-width: 0;
|
|
430
|
-
overflow: hidden;
|
|
431
|
-
color: currentcolor;
|
|
432
|
-
white-space: nowrap;
|
|
433
|
-
text-overflow: ellipsis;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
&-option-description {
|
|
437
|
-
min-width: 0;
|
|
438
|
-
overflow: hidden;
|
|
439
|
-
white-space: nowrap;
|
|
440
|
-
text-overflow: ellipsis;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
&-option-check {
|
|
444
|
-
display: inline-flex;
|
|
445
|
-
flex-shrink: 0;
|
|
446
|
-
align-items: center;
|
|
447
|
-
justify-content: center;
|
|
448
|
-
width: 16px;
|
|
449
|
-
height: 16px;
|
|
450
|
-
margin-left: auto;
|
|
451
|
-
color: theme.palette(icon, 'brand');
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
&-empty {
|
|
455
|
-
padding: theme.spacing(component-padding, 200);
|
|
456
|
-
text-align: center;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
&-frameless {
|
|
460
|
-
width: auto;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
&-frameless .#{theme.$prefix}-#{$component}-value-large,
|
|
464
|
-
&-frameless .#{theme.$prefix}-#{$component}-placeholder-large {
|
|
465
|
-
@include theme.typography(body, lg);
|
|
466
|
-
|
|
467
|
-
color: theme.palette(text, 'default-tertiary');
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
&-frameless .#{theme.$prefix}-#{$component}-value-small,
|
|
471
|
-
&-frameless .#{theme.$prefix}-#{$component}-placeholder-small {
|
|
472
|
-
@include theme.typography(body, md);
|
|
473
|
-
|
|
474
|
-
color: theme.palette(text, 'default-tertiary');
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
&-frameless.#{theme.$prefix}-#{$component}-disabled {
|
|
478
|
-
color: theme.palette(text, 'disabled');
|
|
479
|
-
}
|
|
480
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'skeleton';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
position: relative;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
background-color: theme.palette(bg, 'neutral-tertiary-hover');
|
|
9
|
-
border-radius: theme.shape(100);
|
|
10
|
-
|
|
11
|
-
&::after {
|
|
12
|
-
position: absolute;
|
|
13
|
-
inset: 0;
|
|
14
|
-
z-index: 1;
|
|
15
|
-
background: linear-gradient(
|
|
16
|
-
90deg,
|
|
17
|
-
transparent,
|
|
18
|
-
theme.palette(bg, 'scrim-light'),
|
|
19
|
-
transparent
|
|
20
|
-
);
|
|
21
|
-
transform: translateX(-100%);
|
|
22
|
-
animation: om-skeleton-wave 1.2s infinite;
|
|
23
|
-
content: '';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// ── Shape: circle ──
|
|
27
|
-
&-circle {
|
|
28
|
-
border-radius: theme.shape('full');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// ── Animation: none ──
|
|
32
|
-
&-none::after {
|
|
33
|
-
animation: none;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* stylelint-disable at-rule-prelude-no-invalid */
|
|
38
|
-
@keyframes om-skeleton-wave {
|
|
39
|
-
from {
|
|
40
|
-
transform: translateX(-100%);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
to {
|
|
44
|
-
transform: translateX(100%);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/* stylelint-enable at-rule-prelude-no-invalid */
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'slider';
|
|
4
|
-
$track-height: 8px;
|
|
5
|
-
$filled-track-height: 6px;
|
|
6
|
-
$knob-size: 12px;
|
|
7
|
-
|
|
8
|
-
.#{theme.$prefix}-#{$component} {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
gap: theme.spacing(gap, 300);
|
|
12
|
-
width: 100%;
|
|
13
|
-
min-width: 120px;
|
|
14
|
-
|
|
15
|
-
// ── Label row ──
|
|
16
|
-
&-label-row {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: space-between;
|
|
20
|
-
width: 100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-label {
|
|
24
|
-
flex: 1 0 0;
|
|
25
|
-
color: theme.palette(text, 'default');
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-output {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-shrink: 0;
|
|
31
|
-
align-items: center;
|
|
32
|
-
color: theme.palette(text, 'default');
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
text-align: right;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// ── Track area ──
|
|
38
|
-
&-track-wrapper {
|
|
39
|
-
position: relative;
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: $knob-size;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// ── Hidden native input ──
|
|
48
|
-
&-input {
|
|
49
|
-
position: absolute;
|
|
50
|
-
z-index: 2;
|
|
51
|
-
inset: 0;
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
margin: 0;
|
|
55
|
-
cursor: inherit;
|
|
56
|
-
opacity: 0;
|
|
57
|
-
-webkit-appearance: none;
|
|
58
|
-
appearance: none;
|
|
59
|
-
|
|
60
|
-
&::-webkit-slider-thumb {
|
|
61
|
-
width: $knob-size;
|
|
62
|
-
height: $knob-size;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
-webkit-appearance: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&::-moz-range-thumb {
|
|
68
|
-
width: $knob-size;
|
|
69
|
-
height: $knob-size;
|
|
70
|
-
background: transparent;
|
|
71
|
-
border: none;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// ── Visual track ──
|
|
77
|
-
&-track {
|
|
78
|
-
position: relative;
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
width: 100%;
|
|
82
|
-
height: $track-height;
|
|
83
|
-
overflow: hidden;
|
|
84
|
-
background-color: theme.palette(bg, 'default-tertiary');
|
|
85
|
-
border-radius: theme.shape('full');
|
|
86
|
-
pointer-events: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// ── Filled portion of track ──
|
|
90
|
-
&-fill {
|
|
91
|
-
height: $filled-track-height;
|
|
92
|
-
background-color: theme.palette(bg, 'neutral');
|
|
93
|
-
border-radius: theme.shape('full');
|
|
94
|
-
pointer-events: none;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// ── Knob ──
|
|
98
|
-
&-knob {
|
|
99
|
-
position: absolute;
|
|
100
|
-
z-index: 1;
|
|
101
|
-
width: $knob-size;
|
|
102
|
-
height: $knob-size;
|
|
103
|
-
background-color: theme.palette(bg, 'neutral');
|
|
104
|
-
border-radius: theme.shape('full');
|
|
105
|
-
transform: translateX(-50%);
|
|
106
|
-
transition: box-shadow 0.15s ease;
|
|
107
|
-
pointer-events: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// ── Knob end (disabled state endpoint indicator) ──
|
|
111
|
-
&-knob-end {
|
|
112
|
-
position: absolute;
|
|
113
|
-
right: 0;
|
|
114
|
-
z-index: 1;
|
|
115
|
-
width: $knob-size;
|
|
116
|
-
height: $knob-size;
|
|
117
|
-
background-color: theme.palette(bg, 'neutral');
|
|
118
|
-
border-radius: theme.shape('full');
|
|
119
|
-
pointer-events: none;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// ── Focus ring ──
|
|
123
|
-
&-input:focus-visible ~ .#{theme.$prefix}-#{$component}-knob {
|
|
124
|
-
box-shadow: 0 0 0 2px theme.palette(border, 'brand');
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// ── Hover ──
|
|
128
|
-
&:not(&-disabled) &-track-wrapper:hover {
|
|
129
|
-
.#{theme.$prefix}-#{$component}-knob {
|
|
130
|
-
box-shadow: theme.shadows(100);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// ── Description ──
|
|
135
|
-
&-description {
|
|
136
|
-
width: 100%;
|
|
137
|
-
color: theme.palette(text, 'default-tertiary');
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// ── Disabled state ──
|
|
141
|
-
&-disabled {
|
|
142
|
-
cursor: not-allowed;
|
|
143
|
-
|
|
144
|
-
.#{theme.$prefix}-#{$component}-track-wrapper {
|
|
145
|
-
cursor: not-allowed;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.#{theme.$prefix}-#{$component}-input {
|
|
149
|
-
cursor: not-allowed;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.#{theme.$prefix}-#{$component}-label {
|
|
153
|
-
color: theme.palette(text, 'disabled');
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.#{theme.$prefix}-#{$component}-output {
|
|
157
|
-
color: theme.palette(text, 'disabled');
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.#{theme.$prefix}-#{$component}-track {
|
|
161
|
-
background-color: theme.palette(bg, 'default-tertiary');
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.#{theme.$prefix}-#{$component}-fill {
|
|
165
|
-
background-color: transparent;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.#{theme.$prefix}-#{$component}-knob {
|
|
169
|
-
background-color: theme.palette(bg, 'disabled');
|
|
170
|
-
border: 0.75px solid theme.palette(border, 'default');
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.#{theme.$prefix}-#{$component}-knob-end {
|
|
174
|
-
background-color: theme.palette(bg, 'disabled');
|
|
175
|
-
border: 0.75px solid theme.palette(border, 'default');
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.#{theme.$prefix}-#{$component}-description {
|
|
179
|
-
color: theme.palette(text, 'disabled');
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|