@itcase/ui 1.0.100 → 1.0.102

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.
Files changed (62) hide show
  1. package/dist/css/components/Badge/Badge.css +1 -1
  2. package/dist/css/components/Checkbox/Checkbox.css +2 -1
  3. package/dist/css/components/DatePicker/DatePicker.css +1 -1
  4. package/dist/css/components/Group/Group.css +1 -1
  5. package/dist/css/components/Menu/Menu.css +3 -2
  6. package/dist/css/components/MenuItem/MenuItem.css +26 -0
  7. package/dist/css/components/Pagination/Pagination.css +5 -3
  8. package/dist/css/components/Pagination/css/__item/pagination__item.css +4 -3
  9. package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +1 -0
  10. package/dist/css/components/Select/Select.css +5 -0
  11. package/dist/css/components/Select/css/__indicators/select__indicators.css +1 -0
  12. package/dist/css/components/Select/css/__value-container/select__value-container.css +4 -0
  13. package/dist/css/components/Tile/Tile.css +7 -0
  14. package/dist/css/components/Tooltip/Tooltip.css +9 -9
  15. package/dist/stories/Accordion.stories.js +88 -0
  16. package/dist/stories/AccordionItem.stories.js +150 -0
  17. package/dist/stories/Badge.stories.js +116 -0
  18. package/dist/stories/Button.stories.js +287 -0
  19. package/dist/stories/Checkbox.stories.js +116 -0
  20. package/dist/stories/Chips.stories.js +151 -0
  21. package/dist/stories/Choice.stories.js +117 -0
  22. package/dist/stories/Code.stories.js +99 -0
  23. package/dist/stories/DatePicker.stories.js +178 -0
  24. package/dist/stories/Divider.stories.js +132 -0
  25. package/dist/stories/Dot.stories.js +86 -0
  26. package/dist/stories/Dropdown.stories.js +74 -0
  27. package/dist/stories/DropdownItem.stories.js +152 -0
  28. package/dist/stories/Empty.stories.js +115 -0
  29. package/dist/stories/FormFieldCheckbox.stories.js +77 -0
  30. package/dist/stories/FormFieldChoice.stories.js +75 -0
  31. package/dist/stories/FormFieldDatepicker.stories.js +51 -0
  32. package/dist/stories/FormFieldFileInput.stories.js +58 -0
  33. package/dist/stories/FormFieldInput.stories.js +66 -0
  34. package/dist/stories/FormFieldInputPassword.stories.js +66 -0
  35. package/dist/stories/FormFieldMultiBadgeSelect.stories.js +132 -0
  36. package/dist/stories/FormFieldMultiSelect.stories.js +127 -0
  37. package/dist/stories/FormFieldSelect.stories.js +99 -0
  38. package/dist/stories/FormFieldSelectGroup.stories.js +84 -0
  39. package/dist/stories/Icon.stories.js +208 -0
  40. package/dist/stories/Input.stories.js +124 -0
  41. package/dist/stories/InputPassword.stories.js +114 -0
  42. package/dist/stories/Label.stories.js +163 -0
  43. package/dist/stories/Loader.stories.js +121 -0
  44. package/dist/stories/Logo.stories.js +99 -0
  45. package/dist/stories/MenuItem.stories.js +193 -0
  46. package/dist/stories/ModalConfirm.stories.js +61 -0
  47. package/dist/stories/ModalDefault.stories.js +34 -0
  48. package/dist/stories/NotFound.stories.js +94 -0
  49. package/dist/stories/Notification.stories.js +128 -0
  50. package/dist/stories/Pagination.stories.js +66 -0
  51. package/dist/stories/RadioButton.stories.js +101 -0
  52. package/dist/stories/Search-input.stories.js +182 -0
  53. package/dist/stories/Segmented.stories.js +110 -0
  54. package/dist/stories/Select.stories.js +280 -0
  55. package/dist/stories/Switch.stories.js +84 -0
  56. package/dist/stories/Tab.appearance.stories.js +260 -0
  57. package/dist/stories/Tab.group.stories.js +149 -0
  58. package/dist/stories/Tab.size.stories.js +259 -0
  59. package/dist/stories/Tab.state.stories.js +227 -0
  60. package/dist/stories/Textarea.stories.js +90 -0
  61. package/dist/stories/Tile.stories.js +235 -0
  62. package/package.json +1 -1
@@ -0,0 +1,61 @@
1
+ import { Modal } from '@itcase/ui/components/Modal'
2
+ import { Group } from '@itcase/ui/components/Group'
3
+ import { Title } from '@itcase/ui/components/Title'
4
+ import { Button, buttonConfig } from '@itcase/ui/components/Button'
5
+ import buttonAppearance from 'src/components/Button/appearance.json'
6
+ buttonConfig.setAppearance(buttonAppearance)
7
+
8
+ import { icon24 } from 'src/icons'
9
+
10
+ export default {
11
+ title: 'Components / Modal / Confirm',
12
+ component: Modal,
13
+ }
14
+
15
+ export const Default = {
16
+ args: {
17
+ isOpen: true,
18
+ isFader: true,
19
+ isOutsideClose: true,
20
+ shape: 'rounded',
21
+ elevation: 8,
22
+ padding: 32,
23
+ // closeButton: (
24
+ // <Button
25
+ // appearance="surfaceSecondary"
26
+ // icon={icon24.Close}
27
+ // iconFill="surfaceItemPrimary"
28
+ // shape="circular"
29
+ // size="m"
30
+ // position="absolute"
31
+ // right="32"
32
+ // top="32"
33
+ // />
34
+ // ),
35
+ // children: (
36
+ // <Group direction="vertical" gap="24">
37
+ // <Title size="h3" textColor="surfaceTextPrimary">
38
+ // Подтверждение действия
39
+ // </Title>
40
+ // <Group width="fill" direction="vertical" gap="16">
41
+ // <Button
42
+ // appearance="accent"
43
+ // shape="rounded"
44
+ // label="Подтвердить"
45
+ // labelTextSize="l"
46
+ // size="xxl"
47
+ // width="fill"
48
+ // />
49
+ // <Button
50
+ // appearance="surfaceSecondary"
51
+ // label="Отмена"
52
+ // labelTextSize="l"
53
+ // shape="rounded"
54
+ // size="xxl"
55
+ // width="fill"
56
+ // />
57
+ // </Group>
58
+ // </Group>
59
+ // ),
60
+ },
61
+ }
@@ -0,0 +1,34 @@
1
+ import { Modal } from '@itcase/ui/components/Modal'
2
+ import { Button, buttonConfig } from '@itcase/ui/components/Button'
3
+ import buttonAppearance from 'src/components/Button/appearance.json'
4
+ buttonConfig.setAppearance(buttonAppearance)
5
+
6
+ import { icon24 } from 'src/icons'
7
+
8
+ export default {
9
+ title: 'Components / Modal / Default',
10
+ component: Modal,
11
+ }
12
+
13
+ export const Default = {
14
+ args: {
15
+ isOpen: true,
16
+ isFader: true,
17
+ isOutsideClose: true,
18
+ shape: 'rounded',
19
+ elevation: 8,
20
+ padding: 32,
21
+ // closeButton: (
22
+ // <Button
23
+ // appearance="surfaceSecondary"
24
+ // icon={icon24.Close}
25
+ // iconFill="surfaceItemPrimary"
26
+ // shape="circular"
27
+ // size="m"
28
+ // position="absolute"
29
+ // right="32"
30
+ // top="32"
31
+ // />
32
+ // ),
33
+ },
34
+ }
@@ -0,0 +1,94 @@
1
+ import { buttonConfig } from '@itcase/ui/components/Button'
2
+ import { Empty } from '@itcase/ui/components/Empty'
3
+ import { Image } from '@itcase/ui/components/Image'
4
+ import {
5
+ fillHoverProps,
6
+ fillProps,
7
+ shapeProps,
8
+ sizeProps,
9
+ textColorProps,
10
+ textSizeProps,
11
+ widthProps,
12
+ } from '@itcase/ui/constants'
13
+
14
+ import buttonAppearance from 'src/components/Button/appearance.json'
15
+
16
+ buttonConfig.setAppearance(buttonAppearance)
17
+
18
+ export default {
19
+ title: 'Components / NotFound',
20
+ component: Empty,
21
+ argTypes: {
22
+ advancedProps: { control: 'boolean' },
23
+ buttonAfter: {
24
+ if: { arg: 'advancedProps' },
25
+ },
26
+ buttonBefore: {
27
+ if: { arg: 'advancedProps' },
28
+ },
29
+ buttonFill: {
30
+ options: fillProps,
31
+ control: 'select',
32
+ },
33
+ buttonFillHover: {
34
+ options: fillHoverProps,
35
+ control: 'select',
36
+ },
37
+ buttonLabelTextColor: {
38
+ options: textColorProps,
39
+ control: 'select',
40
+ },
41
+ buttonLabelTextSize: {
42
+ options: textSizeProps,
43
+ control: 'inline-radio',
44
+ },
45
+ buttonShape: {
46
+ options: shapeProps,
47
+ control: 'inline-radio',
48
+ },
49
+ buttonSize: {
50
+ options: sizeProps,
51
+ control: 'inline-radio',
52
+ },
53
+ buttonWidth: {
54
+ options: widthProps,
55
+ control: 'inline-radio',
56
+ },
57
+ messageTextColor: {
58
+ options: textColorProps,
59
+ control: 'select',
60
+ },
61
+ messageTextSize: {
62
+ options: textSizeProps,
63
+ control: 'inline-radio',
64
+ },
65
+ buttonAppearance: {
66
+ options: [
67
+ null,
68
+ 'accent',
69
+ 'primary',
70
+ 'secondary',
71
+ 'surfacePrimary',
72
+ 'surfaceSecondary',
73
+ 'surfaceTertiary',
74
+ 'surfaceDisabled',
75
+ ],
76
+ control: 'inline-radio',
77
+ },
78
+ },
79
+ }
80
+
81
+ export const Default = {
82
+ args: {
83
+ before: <Image alt="search_sign" src="assets/img/search.svg" />,
84
+ message: 'Nothing found',
85
+ messageTextColor: 'surfaceTextPrimary',
86
+ messageTextSize: 'l',
87
+ buttonLabel: 'Label',
88
+ buttonLabelTextSize: 'l',
89
+ buttonShape: 'rounded',
90
+ buttonSize: 'xxl',
91
+ buttonWidth: 'fill',
92
+ buttonAppearance: 'surfaceSecondary',
93
+ },
94
+ }
@@ -0,0 +1,128 @@
1
+ import { Icon } from '@itcase/ui/components/Icon'
2
+ import { Button, buttonConfig } from '@itcase/ui/components/Button'
3
+ import buttonAppearance from 'src/components/Button/appearance.json'
4
+ import { NotificationItem, notificationItemConfig } from '@itcase/ui/components/Notification'
5
+ import notificationAppearance from 'src/components/Notification/appearance.json'
6
+
7
+ import {
8
+ alignDirectionProps,
9
+ alignProps,
10
+ textSizeProps,
11
+ titleSizeProps,
12
+ widthProps,
13
+ } from '@itcase/ui/constants'
14
+
15
+ buttonConfig.setAppearance(buttonAppearance)
16
+ notificationItemConfig.setAppearance(notificationAppearance)
17
+
18
+ import { icon16 } from 'src/icons'
19
+
20
+ export default {
21
+ title: 'Atoms / NotificationItem',
22
+ component: NotificationItem,
23
+ argTypes: {
24
+ advancedProps: { control: 'boolean' },
25
+ className: {
26
+ if: { arg: 'advancedProps' },
27
+ },
28
+ appearance: {
29
+ options: [
30
+ null,
31
+ 'accent',
32
+ 'primary',
33
+ 'secondary',
34
+ 'surfacePrimary',
35
+ 'surfaceSecondary',
36
+ 'surfaceTertiary',
37
+ ],
38
+ control: 'inline-radio',
39
+ },
40
+ set: {
41
+ options: [null, 'top', 'float', 'form', 'toast'],
42
+ control: 'inline-radio',
43
+ },
44
+ status: {
45
+ options: [null, 'success', 'error', 'warning'],
46
+ control: 'inline-radio',
47
+ },
48
+ textSize: {
49
+ options: textSizeProps,
50
+ control: 'inline-radio',
51
+ },
52
+ titleTextSize: {
53
+ options: titleSizeProps,
54
+ control: 'inline-radio',
55
+ },
56
+ type: {
57
+ if: { arg: 'advancedProps' },
58
+ },
59
+ },
60
+ }
61
+
62
+ export const Default = {
63
+ args: {
64
+ set: 'top',
65
+ title: 'Heading',
66
+ text: 'Text',
67
+ status: 'success',
68
+ },
69
+ }
70
+
71
+ export const Top = {
72
+ args: {
73
+ ...Default.args,
74
+ set: 'top',
75
+ status: 'success',
76
+ },
77
+ }
78
+
79
+ export const Float = {
80
+ args: {
81
+ ...Default.args,
82
+ set: 'float',
83
+ status: 'warning',
84
+ closeButton: (
85
+ <Icon
86
+ iconFill="surfaceItemSecondary"
87
+ size="16"
88
+ SvgImage={icon16.Remove}
89
+ // TODO: onClick={}
90
+ />
91
+ ),
92
+ },
93
+ }
94
+
95
+ export const Form = {
96
+ args: {
97
+ ...Default.args,
98
+ set: 'form',
99
+ status: 'error',
100
+ text: null,
101
+ },
102
+ }
103
+
104
+ export const Toast = {
105
+ args: {
106
+ ...Default.args,
107
+ set: 'toast',
108
+ status: null,
109
+ after: (
110
+ <Button
111
+ appearance="accent"
112
+ label="Обновить приложение"
113
+ labelTextSize="m"
114
+ shape="rounded"
115
+ size="l"
116
+ width="fill"
117
+ />
118
+ ),
119
+ closeButton: (
120
+ <Icon
121
+ iconFill="surfaceItemSecondary"
122
+ size="16"
123
+ SvgImage={icon16.Remove}
124
+ // TODO: onClick={}
125
+ />
126
+ ),
127
+ },
128
+ }
@@ -0,0 +1,66 @@
1
+ import { Pagination } from '@itcase/ui/components/Pagination'
2
+ import { Icon } from '@itcase/ui/components/Icon'
3
+
4
+ import { flexJustifyContentProps } from '@itcase/ui/constants'
5
+
6
+ import { icon14 } from 'src/icons'
7
+
8
+ export default {
9
+ title: 'Atoms / Pagination ',
10
+ component: Pagination,
11
+ argTypes: {
12
+ advancedProps: { control: 'boolean' },
13
+ className: {
14
+ if: { arg: 'advancedProps' },
15
+ },
16
+ pageNumber: {
17
+ if: { arg: 'advancedProps' },
18
+ },
19
+ marginPagesDisplayed: {
20
+ control: { type: 'number', min: 1, max: 10, step: 1 },
21
+ },
22
+ pageRangeDisplayed: {
23
+ control: { type: 'number', min: 1, max: 10, step: 1 },
24
+ },
25
+ justifyContent: {
26
+ if: { arg: 'advancedProps' },
27
+ options: flexJustifyContentProps,
28
+ control: 'inline-radio',
29
+ },
30
+ allItemsCount: {
31
+ control: { type: 'number', min: 1, max: 50, step: 1 },
32
+ },
33
+ perPageCount: {
34
+ control: { type: 'number', min: 1, max: 50, step: 1 },
35
+ },
36
+ },
37
+ }
38
+
39
+ export const Default = {
40
+ args: {
41
+ allItemsCount: 50,
42
+ perPageCount: 5,
43
+ marginPagesDisplayed: 3,
44
+ pageRangeDisplayed: 7,
45
+ previousLabel: (
46
+ <Icon
47
+ fillHover="surfaceSecondaryHover"
48
+ fillSize="32"
49
+ iconFill="surfaceItemPrimary"
50
+ shape="circular"
51
+ size="14"
52
+ SvgImage={icon14.ChevronLeft}
53
+ />
54
+ ),
55
+ nextLabel: (
56
+ <Icon
57
+ fillHover="surfaceSecondaryHover"
58
+ fillSize="32"
59
+ iconFill="surfaceItemPrimary"
60
+ shape="circular"
61
+ size="14"
62
+ SvgImage={icon14.ChevronRight}
63
+ />
64
+ ),
65
+ },
66
+ }
@@ -0,0 +1,101 @@
1
+ import { RadioButton, radioButtonConfig } from '@itcase/ui/components/RadioButton'
2
+ import radioButtonState from 'src/components/RadioButton/state.json'
3
+
4
+ import { shapeProps, textColorProps, textSizeProps } from '@itcase/ui/constants'
5
+
6
+ radioButtonConfig.setState(radioButtonState)
7
+
8
+ export default {
9
+ title: 'Atoms / RadioButton',
10
+ component: RadioButton,
11
+ argTypes: {
12
+ advancedProps: { control: 'boolean' },
13
+ className: {
14
+ if: { arg: 'advancedProps' },
15
+ },
16
+ tag: {
17
+ if: { arg: 'advancedProps' },
18
+ },
19
+ shape: {
20
+ options: shapeProps,
21
+ control: 'inline-radio',
22
+ },
23
+ labelTextSize: {
24
+ options: textSizeProps,
25
+ control: 'inline-radio',
26
+ },
27
+ labelTextColor: {
28
+ options: textColorProps,
29
+ control: 'select',
30
+ },
31
+ descTextSize: {
32
+ options: textSizeProps,
33
+ control: 'inline-radio',
34
+ },
35
+ descTextColor: {
36
+ options: textColorProps,
37
+ control: 'select',
38
+ },
39
+ checked: {
40
+ control: 'boolean',
41
+ },
42
+ disabled: {
43
+ control: 'boolean',
44
+ },
45
+ },
46
+ }
47
+
48
+ export const Default = {
49
+ args: {
50
+ label: 'Radio',
51
+ labelTextSize: 'm',
52
+ labelTextColor: 'surfaceTextPrimary',
53
+ desc: 'Description',
54
+ descTextSize: 'xxs',
55
+ descTextColor: 'surfaceTextTertiary',
56
+
57
+ stateShape: 'circular',
58
+
59
+ stateBorderColor: 'surfaceBorderQuaternary',
60
+ stateBorderColorChecked: 'surfaceBorderQuaternary',
61
+ stateBorderColorDisabled: 'surfaceBorderQuaternary',
62
+ stateBorderColorDisabledChecked: 'surfaceBorderQuaternary',
63
+
64
+ stateBorderWidth: 1,
65
+
66
+ stateFill: 'surfacePrimary',
67
+ stateFillChecked: 'surfacePrimary',
68
+ stateFillDisabled: 'surfaceDisabled',
69
+ stateFillDisabledChecked: 'surfaceDisabled',
70
+ stateCheckmarkFill: 'surfaceItemAccent',
71
+ stateCheckmarkFillDisabled: 'surfaceItemDisabled',
72
+ },
73
+ }
74
+
75
+ export const Active = {
76
+ args: {
77
+ ...Default.args,
78
+ },
79
+ }
80
+
81
+ export const Disabled = {
82
+ args: {
83
+ ...Default.args,
84
+ disabled: true,
85
+ },
86
+ }
87
+
88
+ export const Checked = {
89
+ args: {
90
+ ...Default.args,
91
+ checked: true,
92
+ },
93
+ }
94
+
95
+ export const CheckedDisabled = {
96
+ args: {
97
+ ...Default.args,
98
+ checked: true,
99
+ disabled: true,
100
+ },
101
+ }
@@ -0,0 +1,182 @@
1
+ import { SearchInput } from '@itcase/ui/components/Search'
2
+ import {
3
+ borderColorHoverProps,
4
+ borderColorProps,
5
+ fillProps,
6
+ iconSizeProps,
7
+ textColorProps,
8
+ textSizeProps,
9
+ } from '@itcase/ui/constants'
10
+
11
+ export default {
12
+ title: 'Components / Search / SearchInput',
13
+ component: SearchInput,
14
+ parameters: {
15
+ controls: { exclude: ['fillDesktop', 'fillMobile', 'fillTablet'] },
16
+ },
17
+ argTypes: {
18
+ advancedProps: { control: 'boolean' },
19
+ after: {
20
+ if: { arg: 'advancedProps' },
21
+ },
22
+ before: {
23
+ if: { arg: 'advancedProps' },
24
+ },
25
+ children: {
26
+ if: { arg: 'advancedProps' },
27
+ },
28
+ className: {
29
+ control: 'text',
30
+ if: { arg: 'advancedProps' },
31
+ },
32
+ onChange: {
33
+ if: { arg: 'advancedProps' },
34
+ },
35
+ onClickClean: {
36
+ if: { arg: 'advancedProps' },
37
+ },
38
+ onFocus: {
39
+ if: { arg: 'advancedProps' },
40
+ },
41
+ onKeyDown: {
42
+ if: { arg: 'advancedProps' },
43
+ },
44
+ borderColor: {
45
+ options: borderColorProps,
46
+ control: 'select',
47
+ },
48
+ borderHover: {
49
+ options: borderColorHoverProps,
50
+ control: 'select',
51
+ },
52
+ fill: {
53
+ options: fillProps,
54
+ control: 'select',
55
+ },
56
+ iconAfter: {
57
+ if: { arg: 'advancedProps' },
58
+ },
59
+ iconAfterSrc: {
60
+ options: [null, 'assets/16/Dots.svg'],
61
+ control: 'inline-radio',
62
+ },
63
+ iconAfterFill: {
64
+ options: fillProps,
65
+ control: 'select',
66
+ if: { arg: 'iconAfterSrc', neq: null },
67
+ },
68
+ iconAfterSize: {
69
+ options: iconSizeProps,
70
+ control: 'select',
71
+ if: { arg: 'iconAfterSrc', neq: null },
72
+ },
73
+ iconAfterStroke: {
74
+ options: fillProps,
75
+ control: 'select',
76
+ if: { arg: 'iconAfterSrc', neq: null },
77
+ },
78
+ iconBefore: {
79
+ if: { arg: 'advancedProps' },
80
+ },
81
+ iconBeforeSrc: {
82
+ options: [null, 'assets/16/Search.svg'],
83
+ control: 'inline-radio',
84
+ },
85
+ iconBeforeFill: {
86
+ options: fillProps,
87
+ control: 'select',
88
+ if: { arg: 'iconBeforeSrc', neq: null },
89
+ },
90
+ iconBeforeSize: {
91
+ options: iconSizeProps,
92
+ control: 'select',
93
+ if: { arg: 'iconBeforeSrc', neq: null },
94
+ },
95
+ iconBeforeStroke: {
96
+ options: fillProps,
97
+ control: 'select',
98
+ if: { arg: 'iconBeforeSrc', neq: null },
99
+ },
100
+ iconClear: {
101
+ if: { arg: 'advancedProps' },
102
+ },
103
+ iconClearSrc: {
104
+ options: [null, 'assets/16/Clear.svg'],
105
+ control: 'inline-radio',
106
+ },
107
+ iconClearFill: {
108
+ options: fillProps,
109
+ control: 'select',
110
+ if: { arg: 'iconClearSrc', neq: null },
111
+ },
112
+ iconClearSize: {
113
+ options: iconSizeProps,
114
+ control: 'select',
115
+ if: { arg: 'iconClearSrc', neq: null },
116
+ },
117
+ inputTextSize: {
118
+ options: textSizeProps,
119
+ control: 'inline-radio',
120
+ },
121
+ placeholderTextColor: {
122
+ options: textColorProps,
123
+ control: 'select',
124
+ },
125
+ placeholderTextSize: {
126
+ options: textSizeProps,
127
+ control: 'inline-radio',
128
+ },
129
+ shape: {
130
+ options: [null, 'geometric', 'rounded'],
131
+ control: 'inline-radio',
132
+ },
133
+ size: {
134
+ options: [null, 'normal', 'compact'],
135
+ control: 'inline-radio',
136
+ },
137
+ type: {
138
+ options: ['text', 'number', 'password'],
139
+ control: 'inline-radio',
140
+ },
141
+ },
142
+ }
143
+
144
+ export const Default = {
145
+ args: {
146
+ fill: 'surfacePrimary',
147
+ shape: 'rounded',
148
+ borderColor: 'surfaceBorderTertiary',
149
+ borderHover: 'surfaceBorderQuaternary',
150
+ placeholder: 'Поиск',
151
+ placeholderTextColor: 'surfaceTextQuaternary',
152
+ size: 'normal',
153
+ value: 'value',
154
+ },
155
+ }
156
+
157
+ export const ClearIcon = {
158
+ args: {
159
+ ...Default.args,
160
+ iconClearSrc: 'assets/16/Clear.svg',
161
+ iconClearSize: '16',
162
+ iconClearFill: 'surfaceItemPrimary',
163
+ },
164
+ }
165
+
166
+ export const BeforeIcon = {
167
+ args: {
168
+ ...Default.args,
169
+ iconBeforeSrc: 'assets/16/Search.svg',
170
+ iconBeforeFill: 'surfaceItemPrimary',
171
+ iconBeforeSize: '16',
172
+ },
173
+ }
174
+
175
+ export const AfterIcon = {
176
+ args: {
177
+ ...Default.args,
178
+ iconAfterSrc: 'assets/16/Dots.svg',
179
+ iconAfterFill: 'surfaceItemPrimary',
180
+ iconAfterSize: '16',
181
+ },
182
+ }