@salutejs/plasma-new-hope 0.114.1-canary.1333.10245863111.0 → 0.114.1-canary.1333.10249265053.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/Tabs/Tabs.stories.tsx +1 -3
- package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -3
- package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -3
- package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -3
- package/package.json +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -3
- package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -3
- package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -3
- package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -3
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.114.1-canary.1333.
|
3
|
+
"version": "0.114.1-canary.1333.10249265053.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -118,5 +118,5 @@
|
|
118
118
|
"react-popper": "2.3.0",
|
119
119
|
"storeon": "3.1.5"
|
120
120
|
},
|
121
|
-
"gitHead": "
|
121
|
+
"gitHead": "1f8c25d17911e9dc3e64611c5863ff3caab168ce"
|
122
122
|
}
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|
@@ -25,7 +25,6 @@ type CustomStoryTabsProps = {
|
|
25
25
|
itemQuantity: number;
|
26
26
|
contentLeft: string;
|
27
27
|
contentRight: string;
|
28
|
-
stretch?: boolean;
|
29
28
|
};
|
30
29
|
|
31
30
|
const contentLeftOptions = ['none', 'icon'];
|
@@ -224,7 +223,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
224
223
|
disabled: false,
|
225
224
|
hasDivider: true,
|
226
225
|
itemQuantity: 8,
|
227
|
-
clip: 'scroll',
|
228
226
|
},
|
229
227
|
argTypes: {
|
230
228
|
clip: {
|
@@ -232,6 +230,7 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
232
230
|
control: {
|
233
231
|
type: 'select',
|
234
232
|
},
|
233
|
+
if: { arg: 'stretch', truthy: false },
|
235
234
|
},
|
236
235
|
size: {
|
237
236
|
options: sizes,
|
@@ -239,7 +238,6 @@ export const Default: StoryObj<StoryTabsProps> = {
|
|
239
238
|
type: 'select',
|
240
239
|
},
|
241
240
|
},
|
242
|
-
stretch: { control: 'boolean', if: { arg: 'clip', eq: 'none' } },
|
243
241
|
},
|
244
242
|
render: (args) => {
|
245
243
|
switch (args.clip) {
|