@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,95 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'pagination';
|
|
4
|
-
$pagination-control-size: calc(#{theme.spacing(scale, 400)} + #{theme.spacing(scale, 500)});
|
|
5
|
-
|
|
6
|
-
.#{theme.$prefix}-#{$component} {
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
|
|
10
|
-
&-list {
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
gap: theme.spacing(gap, 200);
|
|
13
|
-
align-items: center;
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
list-style: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-item {
|
|
20
|
-
display: inline-flex;
|
|
21
|
-
flex-shrink: 0;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-button,
|
|
26
|
-
&-ellipsis {
|
|
27
|
-
display: inline-flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
min-height: $pagination-control-size;
|
|
31
|
-
padding: theme.spacing(component-padding, 200) theme.spacing(component-padding, 300);
|
|
32
|
-
color: theme.palette(text, 'default');
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
background-color: transparent;
|
|
35
|
-
border: none;
|
|
36
|
-
border-radius: theme.shape(200);
|
|
37
|
-
font-variant-numeric: tabular-nums;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-button {
|
|
41
|
-
gap: theme.spacing(gap, 200);
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
|
|
44
|
-
&:hover:not(:disabled) {
|
|
45
|
-
background-color: theme.palette(bg, 'default-hover');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:focus-visible {
|
|
49
|
-
outline: none;
|
|
50
|
-
box-shadow: 0 0 0 2px theme.palette(border, 'brand');
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&-button-page {
|
|
55
|
-
min-width: max(
|
|
56
|
-
#{$pagination-control-size},
|
|
57
|
-
calc(2ch + #{theme.spacing(component-padding, 300)} + #{theme.spacing(component-padding, 300)})
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-button-current {
|
|
62
|
-
color: theme.palette(text, 'on-neutral');
|
|
63
|
-
background-color: theme.palette(bg, 'brand');
|
|
64
|
-
|
|
65
|
-
&:hover:not(:disabled) {
|
|
66
|
-
background-color: theme.palette(bg, 'brand-hover');
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-button-disabled {
|
|
71
|
-
color: theme.palette(text, 'disabled');
|
|
72
|
-
cursor: not-allowed;
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
background-color: transparent;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-icon {
|
|
80
|
-
display: inline-flex;
|
|
81
|
-
flex-shrink: 0;
|
|
82
|
-
align-items: center;
|
|
83
|
-
justify-content: center;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-ellipsis {
|
|
87
|
-
padding-right: theme.spacing(component-padding, 400);
|
|
88
|
-
padding-left: theme.spacing(component-padding, 400);
|
|
89
|
-
cursor: default;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&-disabled {
|
|
93
|
-
cursor: not-allowed;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'popconfirm';
|
|
4
|
-
$cls: #{theme.$prefix}-#{$component};
|
|
5
|
-
$arrow-width: 36px;
|
|
6
|
-
$arrow-height: 10px;
|
|
7
|
-
$arrow-inner-width: 34px;
|
|
8
|
-
$arrow-inner-height: 9px;
|
|
9
|
-
$arrow-overlap: 2px;
|
|
10
|
-
$arrow-inset: theme.spacing(scale, 500);
|
|
11
|
-
$arrow-shape: polygon(0 0, 100% 0, 100% 22%, 62% 22%, 50% 100%, 38% 22%, 0 22%);
|
|
12
|
-
|
|
13
|
-
.#{$cls}-overlay {
|
|
14
|
-
padding: 0;
|
|
15
|
-
background: transparent;
|
|
16
|
-
border: none;
|
|
17
|
-
border-radius: 0;
|
|
18
|
-
box-shadow: none;
|
|
19
|
-
filter: drop-shadow(#{theme.shadows(200)});
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.#{$cls} {
|
|
23
|
-
position: relative;
|
|
24
|
-
z-index: 0;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
gap: theme.spacing(gap, 100);
|
|
28
|
-
width: 300px;
|
|
29
|
-
max-width: min(400px, calc(100vw - #{theme.spacing(component-padding, 400)} * 2));
|
|
30
|
-
padding: theme.spacing(component-padding, 400);
|
|
31
|
-
background-color: theme.palette(bg, 'default');
|
|
32
|
-
border: 1px solid theme.palette(border, 'neutral');
|
|
33
|
-
border-radius: theme.shape(200);
|
|
34
|
-
isolation: isolate;
|
|
35
|
-
|
|
36
|
-
&::before {
|
|
37
|
-
position: absolute;
|
|
38
|
-
z-index: -1;
|
|
39
|
-
width: $arrow-width;
|
|
40
|
-
height: $arrow-height;
|
|
41
|
-
background-color: theme.palette(bg, 'default');
|
|
42
|
-
opacity: 0;
|
|
43
|
-
content: '';
|
|
44
|
-
clip-path: $arrow-shape;
|
|
45
|
-
pointer-events: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&::after {
|
|
49
|
-
position: absolute;
|
|
50
|
-
z-index: -1;
|
|
51
|
-
width: $arrow-inner-width;
|
|
52
|
-
height: $arrow-inner-height;
|
|
53
|
-
background-color: theme.palette(bg, 'default');
|
|
54
|
-
opacity: 0;
|
|
55
|
-
content: '';
|
|
56
|
-
clip-path: $arrow-shape;
|
|
57
|
-
pointer-events: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-no-arrow {
|
|
61
|
-
&::before {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&-header {
|
|
67
|
-
display: flex;
|
|
68
|
-
gap: theme.spacing(gap, 200);
|
|
69
|
-
align-items: flex-start;
|
|
70
|
-
width: 100%;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-icon {
|
|
74
|
-
display: inline-flex;
|
|
75
|
-
flex-shrink: 0;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
line-height: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&-content {
|
|
82
|
-
display: flex;
|
|
83
|
-
flex: 1 0 0;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
gap: theme.spacing(gap, 100);
|
|
86
|
-
align-items: flex-start;
|
|
87
|
-
min-width: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&-title {
|
|
91
|
-
@include theme.typography(title, md, $strong: true);
|
|
92
|
-
|
|
93
|
-
width: 100%;
|
|
94
|
-
color: theme.palette(text, 'default');
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&-body {
|
|
98
|
-
@include theme.typography(body, md);
|
|
99
|
-
|
|
100
|
-
width: 100%;
|
|
101
|
-
color: theme.palette(text, 'default-tertiary');
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-actions {
|
|
105
|
-
display: flex;
|
|
106
|
-
gap: theme.spacing(gap, 300);
|
|
107
|
-
align-items: center;
|
|
108
|
-
justify-content: flex-end;
|
|
109
|
-
width: 100%;
|
|
110
|
-
padding-top: theme.spacing(component-padding, 300);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.#{$cls}-overlay[data-side='top'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
115
|
-
bottom: calc(-#{$arrow-height} + #{$arrow-overlap});
|
|
116
|
-
left: 50%;
|
|
117
|
-
background-color: theme.palette(border, 'neutral');
|
|
118
|
-
transform: translateX(-50%);
|
|
119
|
-
opacity: 1;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.#{$cls}-overlay[data-side='top'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
123
|
-
bottom: calc(-#{$arrow-inner-height} + #{$arrow-overlap});
|
|
124
|
-
left: 50%;
|
|
125
|
-
transform: translateX(-50%);
|
|
126
|
-
opacity: 1;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.#{$cls}-overlay[data-side='top'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
130
|
-
left: $arrow-inset;
|
|
131
|
-
transform: none;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.#{$cls}-overlay[data-side='top'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
135
|
-
left: calc(#{$arrow-inset} + 1px);
|
|
136
|
-
transform: none;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.#{$cls}-overlay[data-side='top'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
140
|
-
right: $arrow-inset;
|
|
141
|
-
left: auto;
|
|
142
|
-
transform: none;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.#{$cls}-overlay[data-side='top'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
146
|
-
right: calc(#{$arrow-inset} + 1px);
|
|
147
|
-
left: auto;
|
|
148
|
-
transform: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.#{$cls}-overlay[data-side='bottom'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
152
|
-
top: calc(-#{$arrow-height} + #{$arrow-overlap});
|
|
153
|
-
left: 50%;
|
|
154
|
-
background-color: theme.palette(border, 'neutral');
|
|
155
|
-
transform: translateX(-50%) rotate(180deg);
|
|
156
|
-
opacity: 1;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.#{$cls}-overlay[data-side='bottom'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
160
|
-
top: calc(-#{$arrow-inner-height} + #{$arrow-overlap});
|
|
161
|
-
left: 50%;
|
|
162
|
-
transform: translateX(-50%) rotate(180deg);
|
|
163
|
-
opacity: 1;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.#{$cls}-overlay[data-side='bottom'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
167
|
-
left: $arrow-inset;
|
|
168
|
-
transform: rotate(180deg);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.#{$cls}-overlay[data-side='bottom'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
172
|
-
left: calc(#{$arrow-inset} + 1px);
|
|
173
|
-
transform: rotate(180deg);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.#{$cls}-overlay[data-side='bottom'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
177
|
-
right: $arrow-inset;
|
|
178
|
-
left: auto;
|
|
179
|
-
transform: rotate(180deg);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.#{$cls}-overlay[data-side='bottom'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
183
|
-
right: calc(#{$arrow-inset} + 1px);
|
|
184
|
-
left: auto;
|
|
185
|
-
transform: rotate(180deg);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.#{$cls}-overlay[data-side='left'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
189
|
-
top: 50%;
|
|
190
|
-
right: calc(-#{$arrow-height} + #{$arrow-overlap});
|
|
191
|
-
background-color: theme.palette(border, 'neutral');
|
|
192
|
-
transform: translateY(-50%) rotate(-90deg);
|
|
193
|
-
opacity: 1;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.#{$cls}-overlay[data-side='left'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
197
|
-
top: 50%;
|
|
198
|
-
right: calc(-#{$arrow-inner-height} + #{$arrow-overlap});
|
|
199
|
-
transform: translateY(-50%) rotate(-90deg);
|
|
200
|
-
opacity: 1;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.#{$cls}-overlay[data-side='left'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
204
|
-
top: $arrow-inset;
|
|
205
|
-
transform: rotate(-90deg);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.#{$cls}-overlay[data-side='left'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
209
|
-
top: calc(#{$arrow-inset} + 1px);
|
|
210
|
-
transform: rotate(-90deg);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.#{$cls}-overlay[data-side='right'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
214
|
-
top: 50%;
|
|
215
|
-
left: calc(-#{$arrow-height} + #{$arrow-overlap});
|
|
216
|
-
background-color: theme.palette(border, 'neutral');
|
|
217
|
-
transform: translateY(-50%) rotate(90deg);
|
|
218
|
-
opacity: 1;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.#{$cls}-overlay[data-side='right'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
222
|
-
top: 50%;
|
|
223
|
-
left: calc(-#{$arrow-inner-height} + #{$arrow-overlap});
|
|
224
|
-
transform: translateY(-50%) rotate(90deg);
|
|
225
|
-
opacity: 1;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.#{$cls}-overlay[data-side='left'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::before,
|
|
229
|
-
.#{$cls}-overlay[data-side='right'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
230
|
-
top: auto;
|
|
231
|
-
bottom: $arrow-inset;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.#{$cls}-overlay[data-side='left'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::after,
|
|
235
|
-
.#{$cls}-overlay[data-side='right'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
236
|
-
top: auto;
|
|
237
|
-
bottom: calc(#{$arrow-inset} + 1px);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.#{$cls}-overlay[data-side='left'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::before,
|
|
241
|
-
.#{$cls}-overlay[data-side='left'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
242
|
-
transform: rotate(-90deg);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.#{$cls}-overlay[data-side='right'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::before {
|
|
246
|
-
top: $arrow-inset;
|
|
247
|
-
transform: rotate(90deg);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.#{$cls}-overlay[data-side='right'][data-align='start'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
251
|
-
top: calc(#{$arrow-inset} + 1px);
|
|
252
|
-
transform: rotate(90deg);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.#{$cls}-overlay[data-side='right'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::before,
|
|
256
|
-
.#{$cls}-overlay[data-side='right'][data-align='end'] .#{$cls}:not(.#{$cls}-no-arrow)::after {
|
|
257
|
-
transform: rotate(90deg);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@include theme.down(sm) {
|
|
261
|
-
.#{$cls} {
|
|
262
|
-
width: min(300px, calc(100vw - #{theme.spacing(component-padding, 400)} * 2));
|
|
263
|
-
}
|
|
264
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'proform';
|
|
4
|
-
|
|
5
|
-
// ─── ProForm Root ────────────────────────────────────────────
|
|
6
|
-
.#{theme.$prefix}-#{$component} {
|
|
7
|
-
width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// ─── Submitter ───────────────────────────────────────────────
|
|
11
|
-
.#{theme.$prefix}-#{$component}-submitter {
|
|
12
|
-
display: flex;
|
|
13
|
-
gap: theme.spacing(gap, 200);
|
|
14
|
-
align-items: center;
|
|
15
|
-
padding-top: theme.spacing(gap, 300);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// ─── ProFormList ─────────────────────────────────────────────
|
|
19
|
-
.#{theme.$prefix}-#{$component}-list {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
gap: theme.spacing(gap, 200);
|
|
23
|
-
width: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.#{theme.$prefix}-#{$component}-list-label {
|
|
27
|
-
display: block;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.#{theme.$prefix}-#{$component}-list-content {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
gap: theme.spacing(gap, 200);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.#{theme.$prefix}-#{$component}-list-actions {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
gap: theme.spacing(gap, 100);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.#{theme.$prefix}-#{$component}-list-row-actions {
|
|
43
|
-
display: flex;
|
|
44
|
-
gap: theme.spacing(gap, 100);
|
|
45
|
-
align-items: center;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// ─── ModalForm ───────────────────────────────────────────────
|
|
49
|
-
.#{theme.$prefix}-#{$component}-modal-form {
|
|
50
|
-
width: 100%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// ─── DrawerForm ──────────────────────────────────────────────
|
|
54
|
-
.#{theme.$prefix}-#{$component}-drawer-form {
|
|
55
|
-
width: 100%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// ─── ProFormGroup ────────────────────────────────────────────
|
|
59
|
-
.#{theme.$prefix}-#{$component}-group {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
width: 100%;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.#{theme.$prefix}-#{$component}-group-header {
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
justify-content: space-between;
|
|
69
|
-
padding-bottom: theme.spacing(gap, 200);
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
user-select: none;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.#{theme.$prefix}-#{$component}-group-title {
|
|
75
|
-
display: flex;
|
|
76
|
-
gap: theme.spacing(gap, 100);
|
|
77
|
-
align-items: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.#{theme.$prefix}-#{$component}-group-arrow {
|
|
81
|
-
display: inline-block;
|
|
82
|
-
transition: transform 0.2s;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.#{theme.$prefix}-#{$component}-group-body {
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: column;
|
|
88
|
-
gap: theme.spacing(gap, 200);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// ─── ProFormFieldSet ─────────────────────────────────────────
|
|
92
|
-
.#{theme.$prefix}-#{$component}-fieldset {
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: flex-start;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// ─── QueryFilter ─────────────────────────────────────────────
|
|
98
|
-
.#{theme.$prefix}-#{$component}-query-filter {
|
|
99
|
-
display: flex;
|
|
100
|
-
flex-wrap: wrap;
|
|
101
|
-
gap: theme.spacing(gap, 200);
|
|
102
|
-
align-items: flex-end;
|
|
103
|
-
width: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.#{theme.$prefix}-#{$component}-query-filter-actions {
|
|
107
|
-
display: flex;
|
|
108
|
-
gap: theme.spacing(gap, 200);
|
|
109
|
-
align-items: center;
|
|
110
|
-
height: theme.sizing(component-height, '3xl');
|
|
111
|
-
margin-left: auto;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.#{theme.$prefix}-#{$component}-query-filter-split {
|
|
115
|
-
width: 1px;
|
|
116
|
-
height: 24px;
|
|
117
|
-
background-color: theme.palette(border, 'default-secondary');
|
|
118
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
@use '@/styles/recipes/variants' as variants;
|
|
3
|
-
|
|
4
|
-
$component: 'progress';
|
|
5
|
-
$progress-variant-schema: variants.om-variant-schema(
|
|
6
|
-
$component,
|
|
7
|
-
rail-bg
|
|
8
|
-
);
|
|
9
|
-
$progress-variants: (
|
|
10
|
-
'gray': (
|
|
11
|
-
rail-bg: theme.palette(bg, 'default-tertiary'),
|
|
12
|
-
),
|
|
13
|
-
'white': (
|
|
14
|
-
rail-bg: theme.palette(bg, 'default'),
|
|
15
|
-
),
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
.#{theme.$prefix}-#{$component} {
|
|
19
|
-
@include variants.om-variant-default($progress-variants, 'gray', $progress-variant-schema);
|
|
20
|
-
|
|
21
|
-
--om-progress-track-color: #{theme.palette(bg, 'brand')};
|
|
22
|
-
--om-progress-info-color: #{theme.palette(text, 'default')};
|
|
23
|
-
--om-progress-feedback-color: #{theme.palette(text, 'danger')};
|
|
24
|
-
--om-progress-feedback-icon-color: #{theme.palette(icon, 'danger')};
|
|
25
|
-
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
gap: theme.spacing(gap, 300);
|
|
29
|
-
width: theme.sizing(scale, 100);
|
|
30
|
-
|
|
31
|
-
&-info {
|
|
32
|
-
width: theme.sizing(scale, 100);
|
|
33
|
-
color: var(--om-progress-info-color);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-bar,
|
|
37
|
-
&-rail {
|
|
38
|
-
width: theme.sizing(scale, 100);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-rail {
|
|
42
|
-
height: theme.spacing(scale, 100);
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
background-color: var(--om-progress-rail-bg);
|
|
45
|
-
border-radius: theme.shape('full');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&-track {
|
|
49
|
-
height: theme.sizing(scale, 100);
|
|
50
|
-
background-color: var(--om-progress-track-color);
|
|
51
|
-
border-radius: inherit;
|
|
52
|
-
transition: width 160ms ease;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-feedback {
|
|
56
|
-
display: flex;
|
|
57
|
-
gap: theme.spacing(gap, 100);
|
|
58
|
-
align-items: center;
|
|
59
|
-
width: theme.sizing(scale, 100);
|
|
60
|
-
color: var(--om-progress-feedback-color);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-feedback-icon {
|
|
64
|
-
display: inline-flex;
|
|
65
|
-
flex-shrink: 0;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
color: var(--om-progress-feedback-icon-color);
|
|
69
|
-
|
|
70
|
-
.#{theme.$prefix}-icons-wrapper {
|
|
71
|
-
--icon-color: currentcolor;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-feedback-text {
|
|
76
|
-
color: inherit;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-placement-left {
|
|
80
|
-
.#{theme.$prefix}-#{$component}-info {
|
|
81
|
-
text-align: left;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.#{theme.$prefix}-#{$component}-feedback {
|
|
85
|
-
justify-content: flex-start;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&-placement-right {
|
|
90
|
-
.#{theme.$prefix}-#{$component}-info {
|
|
91
|
-
text-align: right;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.#{theme.$prefix}-#{$component}-feedback {
|
|
95
|
-
justify-content: flex-end;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-state-default {
|
|
100
|
-
--om-progress-track-color: #{theme.palette(bg, 'brand')};
|
|
101
|
-
--om-progress-info-color: #{theme.palette(text, 'default')};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-state-success {
|
|
105
|
-
--om-progress-track-color: #{theme.palette(bg, 'positive')};
|
|
106
|
-
--om-progress-info-color: #{theme.palette(text, 'default')};
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&-state-error {
|
|
110
|
-
--om-progress-track-color: #{theme.palette(bg, 'danger')};
|
|
111
|
-
--om-progress-info-color: #{theme.palette(text, 'danger')};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&-state-not-started {
|
|
115
|
-
--om-progress-track-color: #{theme.palette(bg, 'brand')};
|
|
116
|
-
--om-progress-info-color: #{theme.palette(text, 'default')};
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@include variants.om-variant-classes($progress-variants, $progress-variant-schema, $default: 'gray');
|
|
120
|
-
}
|