@salutejs/plasma-new-hope 0.182.2-canary.1532.11631027918.0 → 0.182.2-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Breadcrumbs/Breadcrumbs.css +3 -3
- package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +14 -7
- package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
- package/cjs/components/Breadcrumbs/{Breadcrumbs.styles_1icsgdr.css → Breadcrumbs.styles_19b6ey4.css} +1 -1
- package/cjs/components/Breadcrumbs/utils/index.css +3 -3
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
- package/cjs/index.css +4 -4
- package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +11 -8
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
- package/emotion/es/components/Breadcrumbs/Breadcrumbs.styles.js +11 -8
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
- package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
- package/es/components/Breadcrumbs/Breadcrumbs.css +3 -3
- package/es/components/Breadcrumbs/Breadcrumbs.styles.js +14 -7
- package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
- package/es/components/Breadcrumbs/{Breadcrumbs.styles_1icsgdr.css → Breadcrumbs.styles_19b6ey4.css} +1 -1
- package/es/components/Breadcrumbs/utils/index.css +3 -3
- package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
- package/es/index.css +4 -4
- package/package.json +2 -2
- package/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +8 -5
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
- package/styled-components/es/components/Breadcrumbs/Breadcrumbs.styles.js +8 -5
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
- package/types/components/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +48 -13
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +2 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +492 -0
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +492 -0
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
@@ -72,6 +72,24 @@ const meta: Meta<StorySelectProps> = {
|
|
72
72
|
control: { type: 'number' },
|
73
73
|
if: { arg: 'isTargetAmount', truthy: true },
|
74
74
|
},
|
75
|
+
requiredPlacement: {
|
76
|
+
options: ['left', 'right'],
|
77
|
+
control: {
|
78
|
+
type: 'select',
|
79
|
+
},
|
80
|
+
},
|
81
|
+
required: {
|
82
|
+
control: {
|
83
|
+
type: 'boolean',
|
84
|
+
},
|
85
|
+
if: { arg: 'optional', truthy: false },
|
86
|
+
},
|
87
|
+
optional: {
|
88
|
+
control: {
|
89
|
+
type: 'boolean',
|
90
|
+
},
|
91
|
+
if: { arg: 'required', truthy: false },
|
92
|
+
},
|
75
93
|
},
|
76
94
|
args: {
|
77
95
|
label: 'Label',
|
@@ -87,6 +105,9 @@ const meta: Meta<StorySelectProps> = {
|
|
87
105
|
alwaysOpened: false,
|
88
106
|
disabled: false,
|
89
107
|
readOnly: false,
|
108
|
+
optional: false,
|
109
|
+
required: false,
|
110
|
+
requiredPlacement: 'right',
|
90
111
|
},
|
91
112
|
parameters: {
|
92
113
|
controls: {
|
@@ -108,6 +129,9 @@ const meta: Meta<StorySelectProps> = {
|
|
108
129
|
'listWidth',
|
109
130
|
'listOverflow',
|
110
131
|
'listHeight',
|
132
|
+
'optional',
|
133
|
+
'required',
|
134
|
+
'requiredPlacement',
|
111
135
|
],
|
112
136
|
},
|
113
137
|
},
|