@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,176 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'coach-mark';
|
|
4
|
-
$icon-size: 56px;
|
|
5
|
-
$btn-width: 80px;
|
|
6
|
-
$dismiss-size: 24px;
|
|
7
|
-
$arrow-width: 36px;
|
|
8
|
-
$arrow-height: 9px;
|
|
9
|
-
$arrow-side-offset: calc(-1 * ($arrow-width + $arrow-height) / 2);
|
|
10
|
-
$card-width: 450px;
|
|
11
|
-
|
|
12
|
-
.#{theme.$prefix}-#{$component} {
|
|
13
|
-
--coach-mark-arrow-offset: 50%;
|
|
14
|
-
|
|
15
|
-
position: relative;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
width: $card-width;
|
|
19
|
-
max-width: 100%;
|
|
20
|
-
padding: theme.spacing(scale, 1000) theme.spacing(scale, 1000) theme.spacing(scale, 800);
|
|
21
|
-
background-color: theme.palette(bg, 'default');
|
|
22
|
-
border: 1px solid theme.palette(border, 'neutral');
|
|
23
|
-
border-radius: theme.shape(600);
|
|
24
|
-
box-shadow: theme.shadows(200);
|
|
25
|
-
|
|
26
|
-
// ── Content ──
|
|
27
|
-
&-content {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
gap: theme.spacing(gap, 600);
|
|
31
|
-
align-items: flex-start;
|
|
32
|
-
width: 100%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-icon {
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
width: $icon-size;
|
|
40
|
-
height: $icon-size;
|
|
41
|
-
color: theme.palette(icon, 'on-brand');
|
|
42
|
-
background: radial-gradient(
|
|
43
|
-
circle at bottom left,
|
|
44
|
-
theme.palette(bg, 'brand') 0%,
|
|
45
|
-
theme.palette(bg, 'brand-secondary') 50%,
|
|
46
|
-
theme.palette(bg, 'default-secondary') 100%
|
|
47
|
-
);
|
|
48
|
-
border-radius: theme.shape(full);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-text {
|
|
52
|
-
display: flex;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
gap: theme.spacing(gap, 200);
|
|
55
|
-
width: 100%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// ── Footer ──
|
|
59
|
-
&-footer {
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
justify-content: space-between;
|
|
63
|
-
width: 100%;
|
|
64
|
-
margin-top: theme.spacing(scale, 600);
|
|
65
|
-
padding-top: theme.spacing(scale, 600);
|
|
66
|
-
border-top: 1px solid theme.palette(border, 'neutral-secondary');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// ── Buttons ──
|
|
70
|
-
&-btn {
|
|
71
|
-
display: flex;
|
|
72
|
-
gap: theme.spacing(gap, 200);
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
width: $btn-width;
|
|
76
|
-
padding: theme.spacing(component-padding, 300);
|
|
77
|
-
white-space: nowrap;
|
|
78
|
-
text-align: center;
|
|
79
|
-
border: none;
|
|
80
|
-
border-radius: theme.shape(300);
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
|
|
83
|
-
@include theme.typography(body, md, true);
|
|
84
|
-
|
|
85
|
-
&-back {
|
|
86
|
-
color: theme.palette(text, 'brand');
|
|
87
|
-
background-color: theme.palette(bg, 'brand-secondary');
|
|
88
|
-
|
|
89
|
-
&:hover {
|
|
90
|
-
background-color: theme.palette(bg, 'brand-secondary-hover');
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&:disabled {
|
|
94
|
-
color: theme.palette(text, 'brand-secondary');
|
|
95
|
-
background-color: theme.palette(bg, 'brand-tertiary');
|
|
96
|
-
cursor: default;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&-next {
|
|
101
|
-
color: theme.palette(text, 'on-neutral');
|
|
102
|
-
background-color: theme.palette(bg, 'brand');
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// ── Dismiss ──
|
|
108
|
-
&-dismiss {
|
|
109
|
-
position: absolute;
|
|
110
|
-
top: theme.spacing(scale, 400);
|
|
111
|
-
right: theme.spacing(scale, 400);
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: center;
|
|
115
|
-
width: $dismiss-size;
|
|
116
|
-
height: $dismiss-size;
|
|
117
|
-
padding: 0;
|
|
118
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
119
|
-
background: none;
|
|
120
|
-
border: none;
|
|
121
|
-
border-radius: theme.shape(200);
|
|
122
|
-
cursor: pointer;
|
|
123
|
-
|
|
124
|
-
&:hover {
|
|
125
|
-
color: theme.palette(icon, 'default-secondary');
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// ── Arrow (SVG) ──
|
|
130
|
-
&-arrow {
|
|
131
|
-
position: absolute;
|
|
132
|
-
width: $arrow-width;
|
|
133
|
-
height: $arrow-height;
|
|
134
|
-
overflow: visible;
|
|
135
|
-
pointer-events: none;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&-arrow-fill {
|
|
139
|
-
fill: theme.palette(bg, 'default');
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&-arrow-stroke {
|
|
143
|
-
fill: none;
|
|
144
|
-
stroke: theme.palette(border, 'neutral');
|
|
145
|
-
stroke-width: 1;
|
|
146
|
-
stroke-linecap: round;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
// Top placement: arrow at bottom, pointing down
|
|
150
|
-
&-top &-arrow {
|
|
151
|
-
bottom: -$arrow-height;
|
|
152
|
-
left: var(--coach-mark-arrow-offset);
|
|
153
|
-
transform: translateX(-50%) rotate(180deg);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
// Bottom placement: arrow at top, pointing up
|
|
157
|
-
&-bottom &-arrow {
|
|
158
|
-
top: -$arrow-height;
|
|
159
|
-
left: var(--coach-mark-arrow-offset);
|
|
160
|
-
transform: translateX(-50%);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// Right placement: arrow at left, pointing left
|
|
164
|
-
&-right &-arrow {
|
|
165
|
-
top: var(--coach-mark-arrow-offset);
|
|
166
|
-
left: $arrow-side-offset;
|
|
167
|
-
transform: translateY(-50%) rotate(-90deg);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// Left placement: arrow at right, pointing right
|
|
171
|
-
&-left &-arrow {
|
|
172
|
-
top: var(--coach-mark-arrow-offset);
|
|
173
|
-
right: $arrow-side-offset;
|
|
174
|
-
transform: translateY(-50%) rotate(90deg);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'copy';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
|
|
8
|
-
&-copied {
|
|
9
|
-
cursor: default;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&-inner {
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
padding: theme.spacing(component-padding, 300);
|
|
17
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
18
|
-
border-radius: theme.shape(300);
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
transition: background-color 0.2s ease;
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
background-color: theme.palette(bg, 'neutral-tertiary-hover');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&-copied {
|
|
27
|
-
background-color: theme.palette(bg, 'positive-tertiary');
|
|
28
|
-
cursor: default;
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
background-color: theme.palette(bg, 'positive-tertiary');
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'divider';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
border-block-start: 0;
|
|
7
|
-
border-block-end: 0;
|
|
8
|
-
border-inline-start: 0;
|
|
9
|
-
border-inline-end: 0;
|
|
10
|
-
border-color: theme.palette(border, default);
|
|
11
|
-
|
|
12
|
-
// ── Horizontal ──────────────────────────────────────────────
|
|
13
|
-
&-horizontal {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
clear: both;
|
|
17
|
-
width: 100%;
|
|
18
|
-
min-width: 100%;
|
|
19
|
-
margin: theme.spacing(scale, 300) 0;
|
|
20
|
-
border-block-start: 1px solid theme.palette(border, default);
|
|
21
|
-
|
|
22
|
-
&.#{theme.$prefix}-#{$component}-with-text {
|
|
23
|
-
margin: theme.spacing(scale, 200) 0;
|
|
24
|
-
border-block-start: 0;
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
text-align: center;
|
|
27
|
-
|
|
28
|
-
&::before,
|
|
29
|
-
&::after {
|
|
30
|
-
position: relative;
|
|
31
|
-
width: 50%;
|
|
32
|
-
border-block-start: 1px solid transparent;
|
|
33
|
-
border-block-start-color: inherit;
|
|
34
|
-
border-block-end: 0;
|
|
35
|
-
transform: translateY(50%);
|
|
36
|
-
content: '';
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.#{theme.$prefix}-#{$component}-with-text-left {
|
|
41
|
-
&::before {
|
|
42
|
-
width: 5%;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&::after {
|
|
46
|
-
width: 95%;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.#{theme.$prefix}-#{$component}-with-text-right {
|
|
51
|
-
&::before {
|
|
52
|
-
width: 95%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&::after {
|
|
56
|
-
width: 5%;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.#{theme.$prefix}-#{$component}-no-default-margin {
|
|
61
|
-
&.#{theme.$prefix}-#{$component}-with-text-left {
|
|
62
|
-
&::before {
|
|
63
|
-
width: 0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&::after {
|
|
67
|
-
width: 100%;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.#{theme.$prefix}-#{$component}-with-text-right {
|
|
72
|
-
&::before {
|
|
73
|
-
width: 100%;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&::after {
|
|
77
|
-
width: 0;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// ── Vertical ────────────────────────────────────────────────
|
|
84
|
-
&-vertical {
|
|
85
|
-
position: relative;
|
|
86
|
-
display: inline-block;
|
|
87
|
-
height: 0.9em;
|
|
88
|
-
margin: 0 theme.spacing(scale, 100);
|
|
89
|
-
vertical-align: middle;
|
|
90
|
-
border-inline-start: 1px solid theme.palette(border, default);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// ── Inner text ──────────────────────────────────────────────
|
|
94
|
-
&-inner-text {
|
|
95
|
-
display: inline-block;
|
|
96
|
-
padding: 0 theme.spacing(scale, 200);
|
|
97
|
-
color: theme.palette(text, default);
|
|
98
|
-
|
|
99
|
-
@include theme.typography(body, md);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// ── Plain style ─────────────────────────────────────────────
|
|
103
|
-
&-plain &-inner-text {
|
|
104
|
-
font-weight: 400;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// ── Dashed variant ──────────────────────────────────────────
|
|
108
|
-
&-dashed {
|
|
109
|
-
background: none;
|
|
110
|
-
border-style: dashed;
|
|
111
|
-
border-width: 1px 0 0;
|
|
112
|
-
|
|
113
|
-
&.#{theme.$prefix}-#{$component}-with-text {
|
|
114
|
-
border-style: unset;
|
|
115
|
-
|
|
116
|
-
&::before,
|
|
117
|
-
&::after {
|
|
118
|
-
border-style: dashed none none;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&.#{theme.$prefix}-#{$component}-vertical {
|
|
123
|
-
border-inline-start-style: dashed;
|
|
124
|
-
border-width: 0 0 0 1px;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// ── Dotted variant ──────────────────────────────────────────
|
|
129
|
-
&-dotted {
|
|
130
|
-
background: none;
|
|
131
|
-
border-style: dotted;
|
|
132
|
-
border-width: 1px 0 0;
|
|
133
|
-
|
|
134
|
-
&.#{theme.$prefix}-#{$component}-with-text {
|
|
135
|
-
border-style: unset;
|
|
136
|
-
|
|
137
|
-
&::before,
|
|
138
|
-
&::after {
|
|
139
|
-
border-style: dotted none none;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.#{theme.$prefix}-#{$component}-vertical {
|
|
144
|
-
border-inline-start-style: dotted;
|
|
145
|
-
border-width: 0 0 0 1px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'drawer';
|
|
4
|
-
$transition-duration: 300ms;
|
|
5
|
-
|
|
6
|
-
// ---- Root ----
|
|
7
|
-
.#{theme.$prefix}-#{$component}-root {
|
|
8
|
-
position: fixed;
|
|
9
|
-
inset: 0;
|
|
10
|
-
z-index: 1000;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// ---- Overlay / mask ----
|
|
14
|
-
.#{theme.$prefix}-#{$component}-overlay {
|
|
15
|
-
position: absolute;
|
|
16
|
-
inset: 0;
|
|
17
|
-
background-color: theme.palette(bg, 'scrim-dark');
|
|
18
|
-
opacity: 0;
|
|
19
|
-
transition: opacity $transition-duration ease-in-out;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// ---- Panel (the drawer itself) ----
|
|
23
|
-
.#{theme.$prefix}-#{$component} {
|
|
24
|
-
position: fixed;
|
|
25
|
-
z-index: 1;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
background-color: theme.palette(bg, 'default');
|
|
29
|
-
outline: none;
|
|
30
|
-
box-shadow: theme.shadows('200');
|
|
31
|
-
transition: transform $transition-duration ease-in-out;
|
|
32
|
-
pointer-events: auto;
|
|
33
|
-
|
|
34
|
-
// Placement anchors + closed-state transform.
|
|
35
|
-
// 100% refers to the element's own width/height, so the panel
|
|
36
|
-
// slides exactly off-screen regardless of the size prop.
|
|
37
|
-
&-top {
|
|
38
|
-
top: 0;
|
|
39
|
-
right: 0;
|
|
40
|
-
left: 0;
|
|
41
|
-
width: 100%;
|
|
42
|
-
transform: translate3d(0, -100%, 0);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-bottom {
|
|
46
|
-
right: 0;
|
|
47
|
-
bottom: 0;
|
|
48
|
-
left: 0;
|
|
49
|
-
width: 100%;
|
|
50
|
-
transform: translate3d(0, 100%, 0);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-left {
|
|
54
|
-
top: 0;
|
|
55
|
-
bottom: 0;
|
|
56
|
-
left: 0;
|
|
57
|
-
transform: translate3d(-100%, 0, 0);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-right {
|
|
61
|
-
top: 0;
|
|
62
|
-
right: 0;
|
|
63
|
-
bottom: 0;
|
|
64
|
-
transform: translate3d(100%, 0, 0);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// ---- Header ----
|
|
68
|
-
&-header {
|
|
69
|
-
display: flex;
|
|
70
|
-
flex-shrink: 0;
|
|
71
|
-
gap: theme.spacing(gap, 300);
|
|
72
|
-
align-items: flex-start;
|
|
73
|
-
justify-content: space-between;
|
|
74
|
-
padding: theme.spacing(scale, 600) theme.spacing(scale, 400) theme.spacing(scale, 400);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&-header-main {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex: 1;
|
|
80
|
-
gap: theme.spacing(gap, 200);
|
|
81
|
-
align-items: center;
|
|
82
|
-
min-width: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// ---- Title ----
|
|
86
|
-
&-title {
|
|
87
|
-
flex: 1;
|
|
88
|
-
min-width: 0;
|
|
89
|
-
overflow: hidden;
|
|
90
|
-
white-space: nowrap;
|
|
91
|
-
text-overflow: ellipsis;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// ---- Close / control button ----
|
|
95
|
-
&-control {
|
|
96
|
-
display: inline-flex;
|
|
97
|
-
flex-shrink: 0;
|
|
98
|
-
align-items: center;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
width: theme.spacing(scale, 500);
|
|
101
|
-
height: theme.spacing(scale, 500);
|
|
102
|
-
padding: 0;
|
|
103
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
104
|
-
background: transparent;
|
|
105
|
-
border: none;
|
|
106
|
-
cursor: pointer;
|
|
107
|
-
|
|
108
|
-
.#{theme.$prefix}-icons-wrapper {
|
|
109
|
-
--icon-color: currentcolor;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&:hover {
|
|
113
|
-
color: theme.palette(icon, 'default');
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// ---- Body ----
|
|
118
|
-
&-body {
|
|
119
|
-
flex: 1;
|
|
120
|
-
min-height: 0;
|
|
121
|
-
padding: theme.spacing(scale, 400);
|
|
122
|
-
overflow: auto;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// ---- Footer ----
|
|
126
|
-
&-footer {
|
|
127
|
-
flex-shrink: 0;
|
|
128
|
-
padding:
|
|
129
|
-
theme.spacing(scale, 400)
|
|
130
|
-
theme.spacing(scale, 400)
|
|
131
|
-
theme.spacing(scale, 600);
|
|
132
|
-
border-top: 1px solid theme.palette(border, 'neutral');
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
// ---- Open / Closed state driven by root modifier class ----
|
|
137
|
-
.#{theme.$prefix}-#{$component}-root-open {
|
|
138
|
-
.#{theme.$prefix}-#{$component}-overlay {
|
|
139
|
-
opacity: 1;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.#{theme.$prefix}-#{$component} {
|
|
143
|
-
transform: translate3d(0, 0, 0);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.#{theme.$prefix}-#{$component}-root-closed {
|
|
148
|
-
pointer-events: none;
|
|
149
|
-
|
|
150
|
-
.#{theme.$prefix}-#{$component}-overlay {
|
|
151
|
-
opacity: 0;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
// ---- Responsive: full-width on small screens ----
|
|
156
|
-
@include theme.down(sm) {
|
|
157
|
-
.#{theme.$prefix}-#{$component} {
|
|
158
|
-
&-right,
|
|
159
|
-
&-left {
|
|
160
|
-
width: 100% !important;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'empty';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
gap: theme.spacing(gap, 200);
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
padding: theme.spacing(scale, 800) theme.spacing(scale, 600);
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
text-align: center;
|
|
14
|
-
border-radius: theme.shape(300);
|
|
15
|
-
|
|
16
|
-
// ── Variant: stroke (default) ──
|
|
17
|
-
&-stroke {
|
|
18
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
19
|
-
border: 1px solid theme.palette(border, 'neutral');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// ── Variant: fill ──
|
|
23
|
-
&-fill {
|
|
24
|
-
background-color: transparent;
|
|
25
|
-
border: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// ── Icon ──
|
|
29
|
-
&-icon {
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
color: theme.palette(icon, 'neutral-secondary');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// ── Content (title + description) ──
|
|
37
|
-
&-content {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
width: 100%;
|
|
41
|
-
color: theme.palette(text, 'neutral-secondary');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// ── Title & Description ──
|
|
45
|
-
// Typography styles handled by TypographyTitle and TypographyBody components
|
|
46
|
-
|
|
47
|
-
// ── Action ──
|
|
48
|
-
&-action {
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'flex';
|
|
4
|
-
$flex-gap-fallback: 0px;
|
|
5
|
-
$flex-var-gap: '--om-flex-gap';
|
|
6
|
-
|
|
7
|
-
.#{theme.$prefix}-#{$component} {
|
|
8
|
-
display: flex;
|
|
9
|
-
gap: var(#{$flex-var-gap}, #{$flex-gap-fallback});
|
|
10
|
-
|
|
11
|
-
&-vertical {
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-wrap-wrap {
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-wrap-nowrap {
|
|
20
|
-
flex-wrap: nowrap;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-wrap-wrap-reverse {
|
|
24
|
-
flex-wrap: wrap-reverse;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-justify-start {
|
|
28
|
-
justify-content: flex-start;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-justify-end {
|
|
32
|
-
justify-content: flex-end;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-justify-center {
|
|
36
|
-
justify-content: center;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-justify-space-between {
|
|
40
|
-
justify-content: space-between;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-justify-space-around {
|
|
44
|
-
justify-content: space-around;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-justify-space-evenly {
|
|
48
|
-
justify-content: space-evenly;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-align-start {
|
|
52
|
-
align-items: flex-start;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-align-end {
|
|
56
|
-
align-items: flex-end;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-align-center {
|
|
60
|
-
align-items: center;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-align-baseline {
|
|
64
|
-
align-items: baseline;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-align-stretch {
|
|
68
|
-
align-items: stretch;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'form';
|
|
4
|
-
|
|
5
|
-
// ─── Form Root ───────────────────────────────────────────────
|
|
6
|
-
.#{theme.$prefix}-#{$component} {
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// ─── FormItem Root ───────────────────────────────────────────
|
|
12
|
-
.#{theme.$prefix}-#{$component}-item {
|
|
13
|
-
margin-bottom: theme.spacing(gap, 300);
|
|
14
|
-
|
|
15
|
-
&-small {
|
|
16
|
-
margin-bottom: theme.spacing(gap, 200);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// ─── Label ───────────────────────────────────────────────────
|
|
21
|
-
.#{theme.$prefix}-#{$component}-item-label-wrapper {
|
|
22
|
-
&-vertical {
|
|
23
|
-
margin-bottom: theme.spacing(gap, 200);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.#{theme.$prefix}-#{$component}-item-label {
|
|
28
|
-
display: inline;
|
|
29
|
-
padding: 0;
|
|
30
|
-
|
|
31
|
-
&-required {
|
|
32
|
-
&::before {
|
|
33
|
-
margin-right: theme.spacing(gap, '050');
|
|
34
|
-
color: theme.palette(text, 'danger');
|
|
35
|
-
content: '*';
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// ─── Label Alignment ─────────────────────────────────────────
|
|
42
|
-
.#{theme.$prefix}-#{$component}-item-label-wrapper-left {
|
|
43
|
-
text-align: left;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.#{theme.$prefix}-#{$component}-item-label-wrapper-right {
|
|
47
|
-
text-align: right;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// ─── Error & Help Messages ───────────────────────────────────
|
|
51
|
-
.#{theme.$prefix}-#{$component}-item-error {
|
|
52
|
-
margin-top: theme.spacing(gap, '050');
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.#{theme.$prefix}-#{$component}-item-help {
|
|
56
|
-
margin-top: theme.spacing(gap, '050');
|
|
57
|
-
}
|