@salutejs/plasma-new-hope 0.75.0-dev.0 → 0.75.1-canary.1182.8691036704.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +8 -18
- package/styled-components/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -0
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +8 -18
- package/styled-components/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -0
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +8 -18
- package/styled-components/cjs/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +8 -18
- package/styled-components/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -0
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +8 -18
- package/styled-components/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -0
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +8 -18
- package/styled-components/es/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.75.
|
3
|
+
"version": "0.75.1-canary.1182.8691036704.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -102,5 +102,5 @@
|
|
102
102
|
"react-popper": "2.3.0",
|
103
103
|
"storeon": "3.1.5"
|
104
104
|
},
|
105
|
-
"gitHead": "
|
105
|
+
"gitHead": "51d22d2ebc0f4c9f18212bf125145405c0092508"
|
106
106
|
}
|
package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx
CHANGED
@@ -70,16 +70,11 @@ type StoryPropsDefault = Omit<
|
|
70
70
|
| 'chips'
|
71
71
|
| 'onChangeChips'
|
72
72
|
> & {
|
73
|
-
|
74
|
-
|
73
|
+
enableContentLeft: boolean;
|
74
|
+
enableContentRight: boolean;
|
75
75
|
};
|
76
76
|
|
77
|
-
const StoryDemo = ({
|
78
|
-
'storybook:contentLeft': enableContentLeft,
|
79
|
-
'storybook:contentRight': enableContentRight,
|
80
|
-
view,
|
81
|
-
...rest
|
82
|
-
}: StoryPropsDefault) => {
|
77
|
+
const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsDefault) => {
|
83
78
|
const [text, setText] = useState('Значение поля');
|
84
79
|
|
85
80
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -114,8 +109,8 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
114
109
|
leftHelper: 'Подсказка к полю',
|
115
110
|
disabled: false,
|
116
111
|
readOnly: false,
|
117
|
-
|
118
|
-
|
112
|
+
enableContentLeft: true,
|
113
|
+
enableContentRight: true,
|
119
114
|
},
|
120
115
|
render: (args) => <StoryDemo {...args} />,
|
121
116
|
};
|
@@ -139,16 +134,11 @@ type StoryPropsChips = Omit<
|
|
139
134
|
| 'required'
|
140
135
|
| 'enumerationType'
|
141
136
|
> & {
|
142
|
-
|
143
|
-
|
137
|
+
enableContentLeft: boolean;
|
138
|
+
enableContentRight: boolean;
|
144
139
|
};
|
145
140
|
|
146
|
-
const StoryChips = ({
|
147
|
-
'storybook:contentLeft': enableContentLeft,
|
148
|
-
'storybook:contentRight': enableContentRight,
|
149
|
-
view,
|
150
|
-
...rest
|
151
|
-
}: StoryPropsChips) => {
|
141
|
+
const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
|
152
142
|
const [text, setText] = useState('Значение поля');
|
153
143
|
|
154
144
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx
CHANGED
@@ -70,16 +70,11 @@ type StoryPropsDefault = Omit<
|
|
70
70
|
| 'chips'
|
71
71
|
| 'onChangeChips'
|
72
72
|
> & {
|
73
|
-
|
74
|
-
|
73
|
+
enableContentLeft: boolean;
|
74
|
+
enableContentRight: boolean;
|
75
75
|
};
|
76
76
|
|
77
|
-
const StoryDemo = ({
|
78
|
-
'storybook:contentLeft': enableContentLeft,
|
79
|
-
'storybook:contentRight': enableContentRight,
|
80
|
-
view,
|
81
|
-
...rest
|
82
|
-
}: StoryPropsDefault) => {
|
77
|
+
const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsDefault) => {
|
83
78
|
const [text, setText] = useState('Значение поля');
|
84
79
|
|
85
80
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -114,8 +109,8 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
114
109
|
leftHelper: 'Подсказка к полю',
|
115
110
|
disabled: false,
|
116
111
|
readOnly: false,
|
117
|
-
|
118
|
-
|
112
|
+
enableContentLeft: true,
|
113
|
+
enableContentRight: true,
|
119
114
|
},
|
120
115
|
render: (args) => <StoryDemo {...args} />,
|
121
116
|
};
|
@@ -139,16 +134,11 @@ type StoryPropsChips = Omit<
|
|
139
134
|
| 'required'
|
140
135
|
| 'enumerationType'
|
141
136
|
> & {
|
142
|
-
|
143
|
-
|
137
|
+
enableContentLeft: boolean;
|
138
|
+
enableContentRight: boolean;
|
144
139
|
};
|
145
140
|
|
146
|
-
const StoryChips = ({
|
147
|
-
'storybook:contentLeft': enableContentLeft,
|
148
|
-
'storybook:contentRight': enableContentRight,
|
149
|
-
view,
|
150
|
-
...rest
|
151
|
-
}: StoryPropsChips) => {
|
141
|
+
const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
|
152
142
|
const [text, setText] = useState('Значение поля');
|
153
143
|
|
154
144
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx
CHANGED
@@ -70,16 +70,11 @@ type StoryPropsDefault = Omit<
|
|
70
70
|
| 'chips'
|
71
71
|
| 'onChangeChips'
|
72
72
|
> & {
|
73
|
-
|
74
|
-
|
73
|
+
enableContentLeft: boolean;
|
74
|
+
enableContentRight: boolean;
|
75
75
|
};
|
76
76
|
|
77
|
-
const StoryDemo = ({
|
78
|
-
'storybook:contentLeft': enableContentLeft,
|
79
|
-
'storybook:contentRight': enableContentRight,
|
80
|
-
view,
|
81
|
-
...rest
|
82
|
-
}: StoryPropsDefault) => {
|
77
|
+
const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsDefault) => {
|
83
78
|
const [text, setText] = useState('Значение поля');
|
84
79
|
|
85
80
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -114,8 +109,8 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
114
109
|
leftHelper: 'Подсказка к полю',
|
115
110
|
disabled: false,
|
116
111
|
readOnly: false,
|
117
|
-
|
118
|
-
|
112
|
+
enableContentLeft: true,
|
113
|
+
enableContentRight: true,
|
119
114
|
},
|
120
115
|
render: (args) => <StoryDemo {...args} />,
|
121
116
|
};
|
@@ -139,16 +134,11 @@ type StoryPropsChips = Omit<
|
|
139
134
|
| 'required'
|
140
135
|
| 'enumerationType'
|
141
136
|
> & {
|
142
|
-
|
143
|
-
|
137
|
+
enableContentLeft: boolean;
|
138
|
+
enableContentRight: boolean;
|
144
139
|
};
|
145
140
|
|
146
|
-
const StoryChips = ({
|
147
|
-
'storybook:contentLeft': enableContentLeft,
|
148
|
-
'storybook:contentRight': enableContentRight,
|
149
|
-
view,
|
150
|
-
...rest
|
151
|
-
}: StoryPropsChips) => {
|
141
|
+
const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
|
152
142
|
const [text, setText] = useState('Значение поля');
|
153
143
|
|
154
144
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -70,16 +70,11 @@ type StoryPropsDefault = Omit<
|
|
70
70
|
| 'chips'
|
71
71
|
| 'onChangeChips'
|
72
72
|
> & {
|
73
|
-
|
74
|
-
|
73
|
+
enableContentLeft: boolean;
|
74
|
+
enableContentRight: boolean;
|
75
75
|
};
|
76
76
|
|
77
|
-
const StoryDemo = ({
|
78
|
-
'storybook:contentLeft': enableContentLeft,
|
79
|
-
'storybook:contentRight': enableContentRight,
|
80
|
-
view,
|
81
|
-
...rest
|
82
|
-
}: StoryPropsDefault) => {
|
77
|
+
const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsDefault) => {
|
83
78
|
const [text, setText] = useState('Значение поля');
|
84
79
|
|
85
80
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -114,8 +109,8 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
114
109
|
leftHelper: 'Подсказка к полю',
|
115
110
|
disabled: false,
|
116
111
|
readOnly: false,
|
117
|
-
|
118
|
-
|
112
|
+
enableContentLeft: true,
|
113
|
+
enableContentRight: true,
|
119
114
|
},
|
120
115
|
render: (args) => <StoryDemo {...args} />,
|
121
116
|
};
|
@@ -139,16 +134,11 @@ type StoryPropsChips = Omit<
|
|
139
134
|
| 'required'
|
140
135
|
| 'enumerationType'
|
141
136
|
> & {
|
142
|
-
|
143
|
-
|
137
|
+
enableContentLeft: boolean;
|
138
|
+
enableContentRight: boolean;
|
144
139
|
};
|
145
140
|
|
146
|
-
const StoryChips = ({
|
147
|
-
'storybook:contentLeft': enableContentLeft,
|
148
|
-
'storybook:contentRight': enableContentRight,
|
149
|
-
view,
|
150
|
-
...rest
|
151
|
-
}: StoryPropsChips) => {
|
141
|
+
const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
|
152
142
|
const [text, setText] = useState('Значение поля');
|
153
143
|
|
154
144
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -70,16 +70,11 @@ type StoryPropsDefault = Omit<
|
|
70
70
|
| 'chips'
|
71
71
|
| 'onChangeChips'
|
72
72
|
> & {
|
73
|
-
|
74
|
-
|
73
|
+
enableContentLeft: boolean;
|
74
|
+
enableContentRight: boolean;
|
75
75
|
};
|
76
76
|
|
77
|
-
const StoryDemo = ({
|
78
|
-
'storybook:contentLeft': enableContentLeft,
|
79
|
-
'storybook:contentRight': enableContentRight,
|
80
|
-
view,
|
81
|
-
...rest
|
82
|
-
}: StoryPropsDefault) => {
|
77
|
+
const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsDefault) => {
|
83
78
|
const [text, setText] = useState('Значение поля');
|
84
79
|
|
85
80
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -114,8 +109,8 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
114
109
|
leftHelper: 'Подсказка к полю',
|
115
110
|
disabled: false,
|
116
111
|
readOnly: false,
|
117
|
-
|
118
|
-
|
112
|
+
enableContentLeft: true,
|
113
|
+
enableContentRight: true,
|
119
114
|
},
|
120
115
|
render: (args) => <StoryDemo {...args} />,
|
121
116
|
};
|
@@ -139,16 +134,11 @@ type StoryPropsChips = Omit<
|
|
139
134
|
| 'required'
|
140
135
|
| 'enumerationType'
|
141
136
|
> & {
|
142
|
-
|
143
|
-
|
137
|
+
enableContentLeft: boolean;
|
138
|
+
enableContentRight: boolean;
|
144
139
|
};
|
145
140
|
|
146
|
-
const StoryChips = ({
|
147
|
-
'storybook:contentLeft': enableContentLeft,
|
148
|
-
'storybook:contentRight': enableContentRight,
|
149
|
-
view,
|
150
|
-
...rest
|
151
|
-
}: StoryPropsChips) => {
|
141
|
+
const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
|
152
142
|
const [text, setText] = useState('Значение поля');
|
153
143
|
|
154
144
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx
CHANGED
@@ -70,16 +70,11 @@ type StoryPropsDefault = Omit<
|
|
70
70
|
| 'chips'
|
71
71
|
| 'onChangeChips'
|
72
72
|
> & {
|
73
|
-
|
74
|
-
|
73
|
+
enableContentLeft: boolean;
|
74
|
+
enableContentRight: boolean;
|
75
75
|
};
|
76
76
|
|
77
|
-
const StoryDemo = ({
|
78
|
-
'storybook:contentLeft': enableContentLeft,
|
79
|
-
'storybook:contentRight': enableContentRight,
|
80
|
-
view,
|
81
|
-
...rest
|
82
|
-
}: StoryPropsDefault) => {
|
77
|
+
const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsDefault) => {
|
83
78
|
const [text, setText] = useState('Значение поля');
|
84
79
|
|
85
80
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
@@ -114,8 +109,8 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
114
109
|
leftHelper: 'Подсказка к полю',
|
115
110
|
disabled: false,
|
116
111
|
readOnly: false,
|
117
|
-
|
118
|
-
|
112
|
+
enableContentLeft: true,
|
113
|
+
enableContentRight: true,
|
119
114
|
},
|
120
115
|
render: (args) => <StoryDemo {...args} />,
|
121
116
|
};
|
@@ -139,16 +134,11 @@ type StoryPropsChips = Omit<
|
|
139
134
|
| 'required'
|
140
135
|
| 'enumerationType'
|
141
136
|
> & {
|
142
|
-
|
143
|
-
|
137
|
+
enableContentLeft: boolean;
|
138
|
+
enableContentRight: boolean;
|
144
139
|
};
|
145
140
|
|
146
|
-
const StoryChips = ({
|
147
|
-
'storybook:contentLeft': enableContentLeft,
|
148
|
-
'storybook:contentRight': enableContentRight,
|
149
|
-
view,
|
150
|
-
...rest
|
151
|
-
}: StoryPropsChips) => {
|
141
|
+
const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
|
152
142
|
const [text, setText] = useState('Значение поля');
|
153
143
|
|
154
144
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|