@salutejs/plasma-new-hope 0.192.0-canary.1550.11799501370.0 → 0.192.0-canary.1550.11801015277.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/cjs/components/Breadcrumbs/Breadcrumbs.css +3 -3
  2. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +7 -14
  3. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  4. package/cjs/components/Breadcrumbs/{Breadcrumbs.styles_19b6ey4.css → Breadcrumbs.styles_1icsgdr.css} +1 -1
  5. package/cjs/components/Breadcrumbs/utils/index.css +3 -3
  6. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  7. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  8. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  9. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  10. package/cjs/index.css +3 -3
  11. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +8 -11
  12. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  13. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  14. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +15 -13
  15. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +14 -12
  16. package/emotion/es/components/Breadcrumbs/Breadcrumbs.styles.js +8 -11
  17. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  18. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  19. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +15 -13
  20. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +14 -12
  21. package/es/components/Breadcrumbs/Breadcrumbs.css +3 -3
  22. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +7 -14
  23. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  24. package/es/components/Breadcrumbs/{Breadcrumbs.styles_19b6ey4.css → Breadcrumbs.styles_1icsgdr.css} +1 -1
  25. package/es/components/Breadcrumbs/utils/index.css +3 -3
  26. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  27. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  28. package/es/components/Select/utils/getButtonLabel.js +1 -1
  29. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  30. package/es/index.css +3 -3
  31. package/package.json +2 -2
  32. package/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +5 -8
  33. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  34. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  35. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +15 -13
  36. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +14 -12
  37. package/styled-components/es/components/Breadcrumbs/Breadcrumbs.styles.js +5 -8
  38. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  39. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  40. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +15 -13
  41. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +14 -12
  42. package/types/components/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
@@ -25,6 +25,7 @@ type CustomStoryTabsProps = {
25
25
  contentRight: string;
26
26
  stretch: boolean;
27
27
  helperText: string;
28
+ maxItemWidth: string;
28
29
  };
29
30
 
30
31
  const contentLeftOptions = ['none', 'icon'];
@@ -59,17 +60,6 @@ const meta: Meta<StoryTabsProps> = {
59
60
  component: Tabs,
60
61
  decorators: [WithTheme],
61
62
  argTypes: {
62
- ...disableProps([
63
- 'orientation',
64
- 'tabItemContentLeft',
65
- 'pilled',
66
- 'animated',
67
- 'view',
68
- 'as',
69
- 'forwardedAs',
70
- 'outsideScroll',
71
- 'index',
72
- ]),
73
63
  contentRight: {
74
64
  options: contentRightOptions,
75
65
  control: {
@@ -83,6 +73,17 @@ const meta: Meta<StoryTabsProps> = {
83
73
  },
84
74
  if: { arg: 'stretch', truthy: false },
85
75
  },
76
+ ...disableProps([
77
+ 'orientation',
78
+ 'tabItemContentLeft',
79
+ 'pilled',
80
+ 'animated',
81
+ 'view',
82
+ 'as',
83
+ 'forwardedAs',
84
+ 'outsideScroll',
85
+ 'index',
86
+ ]),
86
87
  },
87
88
  };
88
89
 
@@ -99,12 +100,13 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
99
100
  stretch,
100
101
  maxItemWidth,
101
102
  helperText,
103
+ clip,
102
104
  } = props;
103
105
  const items = Array(itemQuantity).fill(0);
104
106
  const [index, setIndex] = useState(0);
105
107
 
106
108
  return (
107
- <Tabs clip="none" view="divider" hasDivider={hasDivider} stretch={stretch} disabled={disabled} size={size}>
109
+ <Tabs clip={clip} view="divider" hasDivider={hasDivider} stretch={stretch} disabled={disabled} size={size}>
108
110
  {items.map((_, i) => {
109
111
  if (helperText !== '') {
110
112
  return (
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.styles.ts"],"names":[],"mappings":";AAaA,eAAO,MAAM,UAAU;YAA0B,OAAO;0OAavD,CAAC;AAEF,eAAO,MAAM,IAAI,0CAahB,CAAC;AAEF,eAAO,MAAM,SAAS,iGAGrB,CAAC"}
1
+ {"version":3,"file":"Breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.styles.ts"],"names":[],"mappings":";AAaA,eAAO,MAAM,UAAU;YAA0B,OAAO;0OAmBvD,CAAC;AAEF,eAAO,MAAM,IAAI,0CAahB,CAAC;AAEF,eAAO,MAAM,SAAS,iGAGrB,CAAC"}