@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,184 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
@use 'sass:math';
|
|
3
|
-
|
|
4
|
-
$component-row: 'grid-row';
|
|
5
|
-
$component-col: 'grid-col';
|
|
6
|
-
$grid-columns: 12;
|
|
7
|
-
$grid-index-start: 1;
|
|
8
|
-
$grid-col-min-height: 1px;
|
|
9
|
-
$grid-col-max-width: 100%;
|
|
10
|
-
$grid-gutter-divisor: 2;
|
|
11
|
-
$grid-gutter-fallback: 0px;
|
|
12
|
-
$grid-col-flex-fallback: 0 0 auto;
|
|
13
|
-
$grid-var-gutter-x: '--om-grid-gutter-x';
|
|
14
|
-
$grid-var-gutter-y: '--om-grid-gutter-y';
|
|
15
|
-
$grid-var-gutter-x-sm: '--om-grid-gutter-x-sm';
|
|
16
|
-
$grid-var-gutter-y-sm: '--om-grid-gutter-y-sm';
|
|
17
|
-
$grid-var-gutter-x-md: '--om-grid-gutter-x-md';
|
|
18
|
-
$grid-var-gutter-y-md: '--om-grid-gutter-y-md';
|
|
19
|
-
$grid-var-gutter-x-lg: '--om-grid-gutter-x-lg';
|
|
20
|
-
$grid-var-gutter-y-lg: '--om-grid-gutter-y-lg';
|
|
21
|
-
$grid-var-justify: '--om-grid-justify';
|
|
22
|
-
$grid-var-justify-sm: '--om-grid-justify-sm';
|
|
23
|
-
$grid-var-justify-md: '--om-grid-justify-md';
|
|
24
|
-
$grid-var-justify-lg: '--om-grid-justify-lg';
|
|
25
|
-
$grid-var-col-flex: '--om-grid-col-flex';
|
|
26
|
-
$grid-var-col-flex-sm: '--om-grid-col-flex-sm';
|
|
27
|
-
$grid-var-col-flex-md: '--om-grid-col-flex-md';
|
|
28
|
-
$grid-var-col-flex-lg: '--om-grid-col-flex-lg';
|
|
29
|
-
$grid-justify-fallback: flex-start;
|
|
30
|
-
|
|
31
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-wrap: wrap;
|
|
34
|
-
justify-content: var(#{$grid-var-justify}, #{$grid-justify-fallback});
|
|
35
|
-
margin-right: calc(var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback}) / -#{$grid-gutter-divisor});
|
|
36
|
-
margin-left: calc(var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback}) / -#{$grid-gutter-divisor});
|
|
37
|
-
row-gap: var(#{$grid-var-gutter-y}, #{$grid-gutter-fallback});
|
|
38
|
-
|
|
39
|
-
&-no-wrap {
|
|
40
|
-
flex-wrap: nowrap;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-align-top {
|
|
44
|
-
align-items: flex-start;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-align-middle {
|
|
48
|
-
align-items: center;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-align-bottom {
|
|
52
|
-
align-items: flex-end;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-align-stretch {
|
|
56
|
-
align-items: stretch;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-justify-start {
|
|
60
|
-
justify-content: flex-start;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-justify-end {
|
|
64
|
-
justify-content: flex-end;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-justify-center {
|
|
68
|
-
justify-content: center;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&-justify-space-between {
|
|
72
|
-
justify-content: space-between;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-justify-space-around {
|
|
76
|
-
justify-content: space-around;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-justify-space-evenly {
|
|
80
|
-
justify-content: space-evenly;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@include theme.down(lg) {
|
|
85
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
86
|
-
justify-content: var(#{$grid-var-justify-lg}, var(#{$grid-var-justify}, #{$grid-justify-fallback}));
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@include theme.down(md) {
|
|
91
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
92
|
-
justify-content: var(#{$grid-var-justify-md}, var(#{$grid-var-justify}, #{$grid-justify-fallback}));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@include theme.down(sm) {
|
|
97
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
98
|
-
justify-content: var(#{$grid-var-justify-sm}, var(#{$grid-var-justify}, #{$grid-justify-fallback}));
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.#{theme.$prefix}-#{$component-col} {
|
|
103
|
-
position: relative;
|
|
104
|
-
flex: var(#{$grid-var-col-flex}, #{$grid-col-flex-fallback});
|
|
105
|
-
max-width: $grid-col-max-width;
|
|
106
|
-
min-height: $grid-col-min-height;
|
|
107
|
-
padding-right: calc(var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback}) / #{$grid-gutter-divisor});
|
|
108
|
-
padding-left: calc(var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback}) / #{$grid-gutter-divisor});
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@mixin make-col-classes($infix: '') {
|
|
112
|
-
@for $i from $grid-index-start through $grid-columns {
|
|
113
|
-
.#{theme.$prefix}-#{$component-col}#{$infix}-#{$i} {
|
|
114
|
-
flex: 0 0 math.percentage(math.div($i, $grid-columns));
|
|
115
|
-
max-width: math.percentage(math.div($i, $grid-columns));
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.#{theme.$prefix}-#{$component-col}#{$infix}-offset-#{$i} {
|
|
119
|
-
margin-left: math.percentage(math.div($i, $grid-columns));
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.#{theme.$prefix}-#{$component-col}#{$infix}-order-#{$i} {
|
|
123
|
-
order: $i;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.#{theme.$prefix}-#{$component-col}#{$infix}-push-#{$i} {
|
|
127
|
-
left: math.percentage(math.div($i, $grid-columns));
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.#{theme.$prefix}-#{$component-col}#{$infix}-pull-#{$i} {
|
|
131
|
-
right: math.percentage(math.div($i, $grid-columns));
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@include make-col-classes('');
|
|
137
|
-
|
|
138
|
-
@include theme.down(lg) {
|
|
139
|
-
.#{theme.$prefix}-#{$component-col} {
|
|
140
|
-
flex: var(#{$grid-var-col-flex-lg}, var(#{$grid-var-col-flex}, #{$grid-col-flex-fallback}));
|
|
141
|
-
padding-right: calc(var(#{$grid-var-gutter-x-lg}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / #{$grid-gutter-divisor});
|
|
142
|
-
padding-left: calc(var(#{$grid-var-gutter-x-lg}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / #{$grid-gutter-divisor});
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
146
|
-
margin-right: calc(var(#{$grid-var-gutter-x-lg}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / -#{$grid-gutter-divisor});
|
|
147
|
-
margin-left: calc(var(#{$grid-var-gutter-x-lg}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / -#{$grid-gutter-divisor});
|
|
148
|
-
row-gap: var(#{$grid-var-gutter-y-lg}, var(#{$grid-var-gutter-y}, #{$grid-gutter-fallback}));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@include make-col-classes('-lg');
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@include theme.down(md) {
|
|
155
|
-
.#{theme.$prefix}-#{$component-col} {
|
|
156
|
-
flex: var(#{$grid-var-col-flex-md}, var(#{$grid-var-col-flex}, #{$grid-col-flex-fallback}));
|
|
157
|
-
padding-right: calc(var(#{$grid-var-gutter-x-md}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / #{$grid-gutter-divisor});
|
|
158
|
-
padding-left: calc(var(#{$grid-var-gutter-x-md}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / #{$grid-gutter-divisor});
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
162
|
-
margin-right: calc(var(#{$grid-var-gutter-x-md}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / -#{$grid-gutter-divisor});
|
|
163
|
-
margin-left: calc(var(#{$grid-var-gutter-x-md}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / -#{$grid-gutter-divisor});
|
|
164
|
-
row-gap: var(#{$grid-var-gutter-y-md}, var(#{$grid-var-gutter-y}, #{$grid-gutter-fallback}));
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@include make-col-classes('-md');
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
@include theme.down(sm) {
|
|
171
|
-
.#{theme.$prefix}-#{$component-col} {
|
|
172
|
-
flex: var(#{$grid-var-col-flex-sm}, var(#{$grid-var-col-flex}, #{$grid-col-flex-fallback}));
|
|
173
|
-
padding-right: calc(var(#{$grid-var-gutter-x-sm}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / #{$grid-gutter-divisor});
|
|
174
|
-
padding-left: calc(var(#{$grid-var-gutter-x-sm}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / #{$grid-gutter-divisor});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.#{theme.$prefix}-#{$component-row} {
|
|
178
|
-
margin-right: calc(var(#{$grid-var-gutter-x-sm}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / -#{$grid-gutter-divisor});
|
|
179
|
-
margin-left: calc(var(#{$grid-var-gutter-x-sm}, var(#{$grid-var-gutter-x}, #{$grid-gutter-fallback})) / -#{$grid-gutter-divisor});
|
|
180
|
-
row-gap: var(#{$grid-var-gutter-y-sm}, var(#{$grid-var-gutter-y}, #{$grid-gutter-fallback}));
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
@include make-col-classes('-sm');
|
|
184
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'icons';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
&-wrapper {
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
width: var(--icon-width);
|
|
11
|
-
height: var(--icon-height);
|
|
12
|
-
color: var(--icon-color);
|
|
13
|
-
font-style: normal;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
*:not(g, defs, clipPath, linearGradient, [fill], [stroke], [stroke-width]) {
|
|
17
|
-
fill: currentcolor;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
*:not(g, defs, clipPath, linearGradient)[stroke-width]:not([stroke], [fill]) {
|
|
21
|
-
stroke: currentcolor;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-logo-with-words {
|
|
25
|
-
display: inline-flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
|
|
29
|
-
i {
|
|
30
|
-
&:nth-last-child(1) {
|
|
31
|
-
padding-left: 5%;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-with-network {
|
|
36
|
-
i {
|
|
37
|
-
&:nth-child(2),
|
|
38
|
-
&:nth-child(3) {
|
|
39
|
-
padding-left: 2.5%;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-logo-with-beta {
|
|
46
|
-
display: inline-flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
font-style: normal;
|
|
49
|
-
|
|
50
|
-
i:nth-of-type(2) {
|
|
51
|
-
padding-left: 4%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
i:nth-of-type(3) {
|
|
55
|
-
align-self: flex-end;
|
|
56
|
-
margin-bottom: calc(var(--logo-height) * 0.125);
|
|
57
|
-
padding-left: 1px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.#{theme.$prefix}-#{$component}-hover-wrapper {
|
|
65
|
-
display: inline-flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
padding: 8px;
|
|
69
|
-
background-color: theme.palette(bg, default-secondary);
|
|
70
|
-
border-radius: theme.shape(200);
|
|
71
|
-
|
|
72
|
-
&:hover {
|
|
73
|
-
background-color: theme.palette(bg, default-secondary-hover);
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&-disabled {
|
|
78
|
-
cursor: not-allowed;
|
|
79
|
-
opacity: theme.opacity(disabled);
|
|
80
|
-
|
|
81
|
-
&:hover {
|
|
82
|
-
background-color: theme.palette(bg, default-secondary);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'input';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
// ── Amount: action button (e.g. "Use Max") ──
|
|
7
|
-
&-amount-action {
|
|
8
|
-
@include theme.typography(body, lg, $strong: true);
|
|
9
|
-
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
padding: 0;
|
|
13
|
-
color: theme.palette(text, 'brand');
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
background: transparent;
|
|
16
|
-
border: none;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
|
|
19
|
-
&:disabled {
|
|
20
|
-
color: theme.palette(text, 'brand-secondary');
|
|
21
|
-
cursor: not-allowed;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// ── Amount: vertical divider ──
|
|
26
|
-
&-amount-divider {
|
|
27
|
-
width: 1px;
|
|
28
|
-
height: theme.spacing(component-padding, 400);
|
|
29
|
-
background-color: theme.palette(border, 'default');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// ── Amount: currency selector button ──
|
|
33
|
-
&-amount-currency {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
gap: theme.spacing(gap, 200);
|
|
36
|
-
align-items: center;
|
|
37
|
-
padding: 0;
|
|
38
|
-
color: theme.palette(text, 'default-tertiary');
|
|
39
|
-
background: transparent;
|
|
40
|
-
border: none;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
|
|
43
|
-
&:disabled {
|
|
44
|
-
color: theme.palette(text, 'disabled');
|
|
45
|
-
cursor: not-allowed;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// ── Amount: currency icon wrapper ──
|
|
50
|
-
&-amount-currency-icon {
|
|
51
|
-
display: inline-flex;
|
|
52
|
-
flex-shrink: 0;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
border-radius: theme.shape('full');
|
|
57
|
-
|
|
58
|
-
> img {
|
|
59
|
-
display: block;
|
|
60
|
-
width: 100%;
|
|
61
|
-
height: 100%;
|
|
62
|
-
object-fit: cover;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// ── Amount: currency label text ──
|
|
67
|
-
&-amount-currency-label {
|
|
68
|
-
@include theme.typography(body, lg);
|
|
69
|
-
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// ── Amount: small size overrides ──
|
|
74
|
-
&-small &-amount-action {
|
|
75
|
-
@include theme.typography(body, md, $strong: true);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&-small &-amount-divider {
|
|
79
|
-
height: theme.spacing(component-padding, 400);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-small &-amount-currency {
|
|
83
|
-
gap: 6px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-small &-amount-currency-label {
|
|
87
|
-
@include theme.typography(body, md);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'input';
|
|
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 {
|
|
18
|
-
display: inline;
|
|
19
|
-
padding: 0;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-required {
|
|
24
|
-
color: theme.palette(text, 'danger');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-error-msg {
|
|
28
|
-
display: flex;
|
|
29
|
-
gap: theme.spacing(gap, 100);
|
|
30
|
-
align-items: center;
|
|
31
|
-
color: theme.palette(text, 'default-tertiary');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-error-msg-icon {
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&-control-wrapper {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
gap: theme.spacing(gap, '050');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// ── Status: feedback colors ──
|
|
45
|
-
&-error &-error-msg {
|
|
46
|
-
color: theme.palette(text, 'danger');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&-warning &-error-msg {
|
|
50
|
-
color: theme.palette(text, 'warning');
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-success &-error-msg {
|
|
54
|
-
color: theme.palette(text, 'positive');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// ── Disabled: text colors ──
|
|
58
|
-
&-disabled &-label,
|
|
59
|
-
&-disabled &-error-msg {
|
|
60
|
-
color: theme.palette(text, 'disabled');
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'input';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
&-control {
|
|
7
|
-
display: flex;
|
|
8
|
-
gap: theme.spacing(gap, 200);
|
|
9
|
-
align-items: center;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: theme.sizing(component-height, '3xl');
|
|
13
|
-
padding: 0 theme.spacing(component-padding, 400);
|
|
14
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
15
|
-
border: 1px solid theme.palette(border, 'default');
|
|
16
|
-
border-radius: theme.shape(300);
|
|
17
|
-
transition:
|
|
18
|
-
border-color 0.2s ease,
|
|
19
|
-
box-shadow 0.2s ease,
|
|
20
|
-
background-color 0.2s ease;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-control:hover {
|
|
24
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-control:focus-within {
|
|
28
|
-
border-color: theme.palette(border, 'brand');
|
|
29
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'brand');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-control-disabled {
|
|
33
|
-
cursor: not-allowed;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-field {
|
|
37
|
-
@include theme.typography(body, lg);
|
|
38
|
-
|
|
39
|
-
flex: 1 1 auto;
|
|
40
|
-
width: 100%;
|
|
41
|
-
color: theme.palette(text, 'default');
|
|
42
|
-
background: transparent;
|
|
43
|
-
border: none;
|
|
44
|
-
outline: none;
|
|
45
|
-
|
|
46
|
-
&::placeholder {
|
|
47
|
-
color: theme.palette(text, 'neutral-secondary');
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:not(:placeholder-shown) {
|
|
51
|
-
font-weight: 500;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-prefix,
|
|
56
|
-
&-suffix {
|
|
57
|
-
display: inline-flex;
|
|
58
|
-
gap: theme.spacing(gap, 200);
|
|
59
|
-
align-items: center;
|
|
60
|
-
color: theme.palette(text, 'default-tertiary');
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-action {
|
|
64
|
-
display: inline-flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
padding: 0;
|
|
68
|
-
color: theme.palette(icon, 'default-tertiary');
|
|
69
|
-
background: transparent;
|
|
70
|
-
border: none;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&-action:disabled {
|
|
75
|
-
color: theme.palette(icon, 'disabled');
|
|
76
|
-
cursor: not-allowed;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// ── Size ──
|
|
80
|
-
&-small &-control {
|
|
81
|
-
height: theme.sizing(component-height, 'lg');
|
|
82
|
-
padding: 0 theme.spacing(component-padding, 400);
|
|
83
|
-
border-radius: theme.shape(200);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-small &-field {
|
|
87
|
-
@include theme.typography(body, md);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// ── Status ──
|
|
91
|
-
&-error &-control,
|
|
92
|
-
&-error &-control:hover,
|
|
93
|
-
&-error &-control:focus-within {
|
|
94
|
-
border-color: theme.palette(border, 'danger');
|
|
95
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'danger');
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&-warning &-control,
|
|
99
|
-
&-warning &-control:hover,
|
|
100
|
-
&-warning &-control:focus-within {
|
|
101
|
-
border-color: theme.palette(border, 'warning');
|
|
102
|
-
box-shadow: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&-success &-control,
|
|
106
|
-
&-success &-control:hover,
|
|
107
|
-
&-success &-control:focus-within {
|
|
108
|
-
border-color: theme.palette(border, 'positive');
|
|
109
|
-
box-shadow: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// ── Read-only ──
|
|
113
|
-
&-readonly &-control,
|
|
114
|
-
&-readonly &-control:hover,
|
|
115
|
-
&-readonly &-control:focus-within {
|
|
116
|
-
background-color: theme.palette(bg, 'neutral-tertiary');
|
|
117
|
-
border-color: transparent;
|
|
118
|
-
box-shadow: none;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// ── Disabled ──
|
|
122
|
-
&-disabled &-control {
|
|
123
|
-
background-color: theme.palette(bg, 'disabled');
|
|
124
|
-
border-color: theme.palette(border, 'default');
|
|
125
|
-
cursor: not-allowed;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&-disabled &-field {
|
|
129
|
-
color: theme.palette(text, 'disabled');
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'input';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
&-otp {
|
|
7
|
-
display: flex;
|
|
8
|
-
gap: theme.spacing(gap, 200);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-otp-cell {
|
|
12
|
-
@include theme.typography(body, lg);
|
|
13
|
-
|
|
14
|
-
width: 54px;
|
|
15
|
-
height: theme.sizing(component-height, '3xl');
|
|
16
|
-
color: theme.palette(text, 'default');
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
text-align: center;
|
|
19
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
20
|
-
border: 1px solid theme.palette(border, 'default');
|
|
21
|
-
border-radius: theme.shape(300);
|
|
22
|
-
outline: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-otp-cell:hover:not(:disabled) {
|
|
26
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-error &-otp-cell:hover:not(:disabled) {
|
|
30
|
-
border-color: theme.palette(border, 'danger');
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-warning &-otp-cell:hover:not(:disabled) {
|
|
34
|
-
border-color: theme.palette(border, 'warning');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&-success &-otp-cell:hover:not(:disabled) {
|
|
38
|
-
border-color: theme.palette(border, 'positive');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-otp-cell:focus {
|
|
42
|
-
border-color: theme.palette(border, 'brand');
|
|
43
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'brand');
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// ── Size ──
|
|
47
|
-
&-small &-otp-cell {
|
|
48
|
-
width: theme.sizing(component-height, 'lg');
|
|
49
|
-
height: theme.sizing(component-height, 'lg');
|
|
50
|
-
border-radius: theme.shape(200);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// ── Status ──
|
|
54
|
-
&-error &-otp-cell {
|
|
55
|
-
color: theme.palette(text, 'danger');
|
|
56
|
-
border-color: theme.palette(border, 'danger');
|
|
57
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'danger');
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-warning &-otp-cell {
|
|
61
|
-
border-color: theme.palette(border, 'warning');
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-success &-otp-cell {
|
|
65
|
-
border-color: theme.palette(border, 'positive');
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// ── Disabled ──
|
|
69
|
-
&-disabled &-otp-cell {
|
|
70
|
-
color: theme.palette(text, 'disabled');
|
|
71
|
-
background-color: theme.palette(bg, 'disabled');
|
|
72
|
-
border-color: theme.palette(border, 'default');
|
|
73
|
-
cursor: not-allowed;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
@use '@/styles/api' as theme;
|
|
2
|
-
|
|
3
|
-
$component: 'input';
|
|
4
|
-
|
|
5
|
-
.#{theme.$prefix}-#{$component} {
|
|
6
|
-
&-textarea-wrapper {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
gap: theme.spacing(gap, 200);
|
|
10
|
-
align-items: stretch;
|
|
11
|
-
width: 100%;
|
|
12
|
-
min-height: 120px;
|
|
13
|
-
padding: theme.spacing(component-padding, 300) theme.spacing(component-padding, 400);
|
|
14
|
-
background-color: theme.palette(bg, 'default-secondary');
|
|
15
|
-
border: 1px solid theme.palette(border, 'default');
|
|
16
|
-
border-radius: theme.shape(300);
|
|
17
|
-
transition:
|
|
18
|
-
border-color 0.2s ease,
|
|
19
|
-
box-shadow 0.2s ease,
|
|
20
|
-
background-color 0.2s ease;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-textarea-wrapper:hover {
|
|
24
|
-
border-color: theme.palette(border, 'default-tertiary');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-textarea-wrapper:focus-within {
|
|
28
|
-
border-color: theme.palette(border, 'brand');
|
|
29
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'brand');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-textarea {
|
|
33
|
-
@include theme.typography(body, lg);
|
|
34
|
-
|
|
35
|
-
flex: 1 1 auto;
|
|
36
|
-
width: 100%;
|
|
37
|
-
color: theme.palette(text, 'default');
|
|
38
|
-
background: transparent;
|
|
39
|
-
border: none;
|
|
40
|
-
outline: none;
|
|
41
|
-
resize: none;
|
|
42
|
-
|
|
43
|
-
&::placeholder {
|
|
44
|
-
color: theme.palette(text, 'neutral-secondary');
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:not(:placeholder-shown) {
|
|
48
|
-
font-weight: 500;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&-count {
|
|
53
|
-
text-align: right;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// ── Size ──
|
|
57
|
-
&-small &-textarea-wrapper {
|
|
58
|
-
min-height: theme.sizing(component-height, 'lg');
|
|
59
|
-
padding: theme.spacing(component-padding, 200);
|
|
60
|
-
border-radius: theme.shape(200);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// ── Status ──
|
|
64
|
-
&-error &-textarea-wrapper {
|
|
65
|
-
border-color: theme.palette(border, 'danger');
|
|
66
|
-
box-shadow: 0 0 0 1px theme.palette(border, 'danger');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&-warning &-textarea-wrapper {
|
|
70
|
-
border-color: theme.palette(border, 'warning');
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-success &-textarea-wrapper {
|
|
74
|
-
border-color: theme.palette(border, 'positive');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// ── Disabled ──
|
|
78
|
-
&-disabled &-textarea-wrapper {
|
|
79
|
-
background-color: theme.palette(bg, 'disabled');
|
|
80
|
-
border-color: theme.palette(border, 'default');
|
|
81
|
-
cursor: not-allowed;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&-disabled &-textarea {
|
|
85
|
-
color: theme.palette(text, 'disabled');
|
|
86
|
-
}
|
|
87
|
-
}
|