@salutejs/plasma-new-hope 0.176.0-canary.1513.11556365294.0 → 0.176.0-canary.1513.11570030354.0
Sign up to get free protection for your applications and to get access to all the features.
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +7 -7
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -7
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +7 -7
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +7 -7
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +7 -7
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -7
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +7 -7
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +7 -7
- package/package.json +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +7 -7
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -7
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +7 -7
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +7 -7
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +7 -7
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -7
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +7 -7
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +7 -7
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.176.0-canary.1513.
|
3
|
+
"version": "0.176.0-canary.1513.11570030354.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -128,5 +128,5 @@
|
|
128
128
|
"sideEffects": [
|
129
129
|
"*.css"
|
130
130
|
],
|
131
|
-
"gitHead": "
|
131
|
+
"gitHead": "97ef2a1052dbf49058d294d54ad82299dc4655ae"
|
132
132
|
}
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx
CHANGED
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx
CHANGED
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|
@@ -93,44 +93,44 @@ const meta: Meta<StoryTextAreaProps> = {
|
|
93
93
|
},
|
94
94
|
hintText: {
|
95
95
|
control: { type: 'text' },
|
96
|
-
if: { arg: 'hasHint',
|
96
|
+
if: { arg: 'hasHint', truthy: true },
|
97
97
|
},
|
98
98
|
hintView: {
|
99
99
|
options: hintViews,
|
100
100
|
control: {
|
101
101
|
type: 'select',
|
102
102
|
},
|
103
|
-
if: { arg: 'hasHint',
|
103
|
+
if: { arg: 'hasHint', truthy: true },
|
104
104
|
},
|
105
105
|
hintSize: {
|
106
106
|
options: hintSizes,
|
107
107
|
control: {
|
108
108
|
type: 'select',
|
109
109
|
},
|
110
|
-
if: { arg: 'hasHint',
|
110
|
+
if: { arg: 'hasHint', truthy: true },
|
111
111
|
},
|
112
112
|
hintTrigger: {
|
113
113
|
options: hintTriggers,
|
114
114
|
control: {
|
115
115
|
type: 'inline-radio',
|
116
116
|
},
|
117
|
-
if: { arg: 'hasHint',
|
117
|
+
if: { arg: 'hasHint', truthy: true },
|
118
118
|
},
|
119
119
|
hintPlacement: {
|
120
120
|
options: placements,
|
121
121
|
control: {
|
122
122
|
type: 'select',
|
123
123
|
},
|
124
|
-
if: { arg: 'hasHint',
|
124
|
+
if: { arg: 'hasHint', truthy: true },
|
125
125
|
mappers: placements,
|
126
126
|
},
|
127
127
|
hintHasArrow: {
|
128
128
|
control: { type: 'boolean' },
|
129
|
-
if: { arg: 'hasHint',
|
129
|
+
if: { arg: 'hasHint', truthy: true },
|
130
130
|
},
|
131
131
|
hintWidth: {
|
132
132
|
control: { type: 'text' },
|
133
|
-
if: { arg: 'hasHint',
|
133
|
+
if: { arg: 'hasHint', truthy: true },
|
134
134
|
},
|
135
135
|
},
|
136
136
|
args: {
|
@@ -95,44 +95,44 @@ const meta: Meta<typeof TextField> = {
|
|
95
95
|
},
|
96
96
|
hintText: {
|
97
97
|
control: { type: 'text' },
|
98
|
-
if: { arg: 'hasHint',
|
98
|
+
if: { arg: 'hasHint', truthy: true },
|
99
99
|
},
|
100
100
|
hintView: {
|
101
101
|
options: hintViews,
|
102
102
|
control: {
|
103
103
|
type: 'select',
|
104
104
|
},
|
105
|
-
if: { arg: 'hasHint',
|
105
|
+
if: { arg: 'hasHint', truthy: true },
|
106
106
|
},
|
107
107
|
hintSize: {
|
108
108
|
options: hintSizes,
|
109
109
|
control: {
|
110
110
|
type: 'select',
|
111
111
|
},
|
112
|
-
if: { arg: 'hasHint',
|
112
|
+
if: { arg: 'hasHint', truthy: true },
|
113
113
|
},
|
114
114
|
hintTrigger: {
|
115
115
|
options: hintTriggers,
|
116
116
|
control: {
|
117
117
|
type: 'inline-radio',
|
118
118
|
},
|
119
|
-
if: { arg: 'hasHint',
|
119
|
+
if: { arg: 'hasHint', truthy: true },
|
120
120
|
},
|
121
121
|
hintPlacement: {
|
122
122
|
options: placements,
|
123
123
|
control: {
|
124
124
|
type: 'select',
|
125
125
|
},
|
126
|
-
if: { arg: 'hasHint',
|
126
|
+
if: { arg: 'hasHint', truthy: true },
|
127
127
|
mappers: placements,
|
128
128
|
},
|
129
129
|
hintHasArrow: {
|
130
130
|
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint',
|
131
|
+
if: { arg: 'hasHint', truthy: true },
|
132
132
|
},
|
133
133
|
hintWidth: {
|
134
134
|
control: { type: 'text' },
|
135
|
-
if: { arg: 'hasHint',
|
135
|
+
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
137
|
},
|
138
138
|
};
|