@salutejs/plasma-new-hope 0.181.0 → 0.181.1-canary.1522.11616667789.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +6 -6
- package/cjs/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/cjs/components/Autocomplete/{Autocomplete.styles_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
- package/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -34
- package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +1 -0
- package/cjs/index.css +6 -6
- package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -34
- package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
- package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
- package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +62 -34
- package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
- package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
- package/es/components/Autocomplete/Autocomplete.css +6 -6
- package/es/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/es/components/Autocomplete/{Autocomplete.styles_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
- package/es/components/Autocomplete/Autocomplete.tokens.js +62 -34
- package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +1 -0
- package/es/index.css +6 -6
- package/package.json +2 -2
- package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -34
- package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
- package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
- package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +62 -34
- package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
- package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
- package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
- package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/components/Autocomplete/Autocomplete.tokens.d.ts +26 -2
- package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
- package/types/components/Autocomplete/Autocomplete.types.d.ts +27 -1
- package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +11 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +11 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles_1csckkd.css +0 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles_1csckkd.css +0 -1
@@ -92,6 +92,25 @@ const meta: Meta<StoryProps> = {
|
|
92
92
|
type: 'inline-radio',
|
93
93
|
},
|
94
94
|
},
|
95
|
+
requiredPlacement: {
|
96
|
+
options: ['left', 'right'],
|
97
|
+
control: {
|
98
|
+
type: 'select',
|
99
|
+
},
|
100
|
+
if: { arg: 'required', truthy: true },
|
101
|
+
},
|
102
|
+
required: {
|
103
|
+
control: {
|
104
|
+
type: 'boolean',
|
105
|
+
},
|
106
|
+
if: { arg: 'optional', truthy: false },
|
107
|
+
},
|
108
|
+
optional: {
|
109
|
+
control: {
|
110
|
+
type: 'boolean',
|
111
|
+
},
|
112
|
+
if: { arg: 'required', truthy: false },
|
113
|
+
},
|
95
114
|
},
|
96
115
|
args: {
|
97
116
|
view: 'default',
|
@@ -109,6 +128,9 @@ const meta: Meta<StoryProps> = {
|
|
109
128
|
threshold: 2,
|
110
129
|
enableContentLeft: true,
|
111
130
|
enableContentRight: true,
|
131
|
+
optional: false,
|
132
|
+
required: false,
|
133
|
+
requiredPlacement: 'right',
|
112
134
|
},
|
113
135
|
};
|
114
136
|
|