@salutejs/plasma-new-hope 0.177.0-canary.1503.11571511639.0 → 0.177.1-canary.1502.11573459466.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  2. package/cjs/components/Tabs/tokens.js +2 -0
  3. package/cjs/components/Tabs/tokens.js.map +1 -1
  4. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  5. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  6. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
  7. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
  8. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  9. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
  10. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
  11. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
  12. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  13. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  14. package/{es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_9miwn.css → cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_4ob3q5.css} +1 -1
  15. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
  16. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
  17. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  18. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
  19. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
  20. package/{es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1fr5ovg.css → cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1r1hidh.css} +1 -1
  21. package/cjs/index.css +9 -9
  22. package/emotion/cjs/components/Tabs/tokens.js +2 -0
  23. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  24. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
  25. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
  26. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  27. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
  28. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
  29. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  30. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  31. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  32. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  33. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  34. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  35. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  36. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  37. package/emotion/es/components/Tabs/tokens.js +2 -0
  38. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  39. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
  40. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
  41. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  42. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
  43. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
  44. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  45. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  46. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  47. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  48. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  49. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  50. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  51. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  52. package/es/components/Tabs/createTabsController.js.map +1 -1
  53. package/es/components/Tabs/tokens.js +2 -0
  54. package/es/components/Tabs/tokens.js.map +1 -1
  55. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  56. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  57. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
  58. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
  59. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  60. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
  61. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
  62. package/es/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
  63. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  64. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  65. package/{cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_9miwn.css → es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_4ob3q5.css} +1 -1
  66. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
  67. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
  68. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  69. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
  70. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
  71. package/{cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1fr5ovg.css → es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1r1hidh.css} +1 -1
  72. package/es/index.css +9 -9
  73. package/package.json +2 -2
  74. package/styled-components/cjs/components/Tabs/tokens.js +2 -0
  75. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  76. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
  77. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
  78. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  79. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
  80. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
  81. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  82. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  83. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  84. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  85. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  86. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  87. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  88. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  89. package/styled-components/es/components/Tabs/tokens.js +2 -0
  90. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  91. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
  92. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
  93. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  94. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
  95. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
  96. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  97. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  98. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  99. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  100. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  101. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  102. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  103. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  104. package/types/components/Tabs/TabItem.types.d.ts +50 -8
  105. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  106. package/types/components/Tabs/Tabs.types.d.ts +44 -2
  107. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  108. package/types/components/Tabs/createTabsController.d.ts +2 -2
  109. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  110. package/types/components/Tabs/index.d.ts +2 -2
  111. package/types/components/Tabs/index.d.ts.map +1 -1
  112. package/types/components/Tabs/tokens.d.ts +2 -0
  113. package/types/components/Tabs/tokens.d.ts.map +1 -1
  114. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  115. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  116. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  117. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts.map +1 -1
  118. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  119. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts.map +1 -1
  120. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +21 -6
  121. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  122. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +2 -2
  123. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  124. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  125. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
  126. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +21 -6
  127. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  128. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +2 -2
  129. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  130. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  131. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,aAAK,YAAY,GACX;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAER,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO;IACtF;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,4BAA4B,GAAG;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY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C;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,YAAY,CAAC;AAEjB,oBAAY,sBAAsB,GAAG,gBAAgB,GAAG,CAAC,4BAA4B,GAAG,wBAAwB,CAAC,CAAC;AAElH,oBAAY,oBAAoB,GAAG,gBAAgB,GAAG,0BAA0B,CAAC;AAEjF,oBAAY,YAAY,GAAG,sBAAsB,GAAG,oBAAoB,CAAC"}
@@ -24,6 +24,11 @@ export declare type CustomHorizontalTabsProps = {
24
24
  * Расположение табов
25
25
  */
26
26
  orientation?: 'horizontal';
27
+ /**
28
+ * Наличие divider
29
+ * @default true
30
+ */
31
+ hasDivider?: boolean;
27
32
  /**
28
33
  * Табы растянуты на доступную область
29
34
  * @default false
@@ -31,6 +36,7 @@ export declare type CustomHorizontalTabsProps = {
31
36
  stretch?: boolean;
32
37
  /**
33
38
  * Табы c округлым border-radius
39
+ * @deprecated
34
40
  * @default false
35
41
  */
36
42
  pilled?: boolean;
@@ -41,7 +47,7 @@ export declare type CustomHorizontalTabsProps = {
41
47
  /**
42
48
  * Размер табов
43
49
  */
44
- size?: string;
50
+ size?: 'xs' | 's' | 'm' | 'l';
45
51
  /**
46
52
  * Уберет скругление с выбранной стороны и подвинет контейнер
47
53
  * @deprecated
@@ -51,6 +57,41 @@ export declare type CustomHorizontalTabsProps = {
51
57
  right?: string;
52
58
  };
53
59
  };
60
+ export declare type CustomHeaderTabsProps = {
61
+ /**
62
+ * Расположение табов
63
+ */
64
+ orientation?: 'horizontal';
65
+ /**
66
+ * Наличие divider
67
+ * @default true
68
+ */
69
+ hasDivider?: never;
70
+ /**
71
+ * Табы растянуты на доступную область
72
+ * @default false
73
+ */
74
+ stretch?: never;
75
+ /**
76
+ * Табы c округлым border-radius
77
+ * @deprecated
78
+ * @default false
79
+ */
80
+ pilled?: never;
81
+ /**
82
+ * Вид табов
83
+ */
84
+ view?: string;
85
+ /**
86
+ * Размер табов
87
+ */
88
+ size: 'h5' | 'h4' | 'h3' | 'h2' | 'h1';
89
+ /**
90
+ * Уберет скругление с выбранной стороны и подвинет контейнер
91
+ * @deprecated
92
+ */
93
+ outsideScroll?: never;
94
+ };
54
95
  export declare type CustomVerticalTabsProps = {
55
96
  /**
56
97
  * Расположение табов
@@ -70,7 +111,8 @@ export declare type CustomVerticalTabsProps = {
70
111
  */
71
112
  size?: string;
72
113
  };
73
- export declare type HorizontalTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
114
+ export declare type HorizontalTabsProps = BaseTabsProps & (CustomHorizontalTabsProps | CustomHeaderTabsProps);
115
+ export declare type HorizontalCommonTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
74
116
  export declare type VerticalTabsProps = BaseTabsProps & CustomVerticalTabsProps;
75
117
  export declare type TabsProps = HorizontalTabsProps | VerticalTabsProps;
76
118
  //# sourceMappingURL=Tabs.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO;IAC1E;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH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S,GAAG,mBAAmB,GAAG,iBAAiB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React, { ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { HorizontalTabItemProps } from './TabItem.types';
3
- import { HorizontalTabsProps } from './Tabs.types';
4
- export interface TabsControllerProps extends HorizontalTabsProps {
3
+ import { HorizontalCommonTabsProps, HorizontalTabsProps } from './Tabs.types';
4
+ export interface TabsControllerProps extends HorizontalCommonTabsProps {
5
5
  items: Array<{
6
6
  label: string;
7
7
  } & HorizontalTabItemProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"createTabsController.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/createTabsController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC5D,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,mBAAmB,EACxF,aAAa,EAAE,yBAAyB,CAAC,mBAAmB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EAC7F,aAAa,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,sFAwBnG"}
1
+ {"version":3,"file":"createTabsController.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/createTabsController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE9E,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB;IAClE,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,mBAAmB,EACxF,aAAa,EAAE,yBAAyB,CAAC,mBAAmB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EAC7F,aAAa,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,sFAwBnG"}
@@ -6,6 +6,6 @@ export { tokens as tabsTokens } from './tokens';
6
6
  export { TabItemRefs, TabsContext } from './TabsContext';
7
7
  export { createTabsController } from './createTabsController';
8
8
  export type { TabsControllerProps } from './createTabsController';
9
- export type { HorizontalTabsProps } from './Tabs.types';
10
- export type { HorizontalTabItemProps } from './TabItem.types';
9
+ export type { HorizontalTabsProps, BaseTabsProps } from './Tabs.types';
10
+ export type { HorizontalTabItemProps, BaseTabItemProps, RightContent } from './TabItem.types';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBA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,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -33,6 +33,8 @@ export declare const tokens: {
33
33
  itemSelectedDividerColorHover: string;
34
34
  outlineFocusColor: string;
35
35
  arrowColor: string;
36
+ arrowColorHover: string;
37
+ arrowColorActive: string;
36
38
  tabsFilledBackgroundColor: string;
37
39
  tabsBackgroundColor: string;
38
40
  tabsBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwElB,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ElB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAQhE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGA+GvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAjHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAwI5F,CAAC"}
1
+ {"version":3,"file":"HorizontalTabItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAQhE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGAgHvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAlHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAyI5F,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { RootProps } from '../../../../../engines/types';
3
3
  import type { HorizontalTabsProps } from '../../../Tabs.types';
4
- export declare const horizontalTabsRoot: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<import("../../../Tabs.types").BaseTabsProps & import("../../../Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const horizontalTabsRoot: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<HorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const horizontalTabsConfig: {
6
6
  name: string;
7
7
  tag: string;
8
- layout: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<import("../../../Tabs.types").BaseTabsProps & import("../../../Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
8
+ layout: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<HorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
9
9
  base: import("@linaria/core").LinariaClassName;
10
10
  variations: {
11
11
  size: {
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuF,MAAM,OAAO,CAAC;AAI5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAK9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAiB/D,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,mBAAmB,CAAC,iLA6MjF,CAAC;AAEP,eAAO,MAAM,oBAAoB;;;mBA/MQ,UAAU,cAAc,EAAE,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA2OtF,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuF,MAAM,OAAO,CAAC;AAI5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAK9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAqB/D,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,mBAAmB,CAAC,+FAuNjF,CAAC;AAEP,eAAO,MAAM,oBAAoB;;;mBAzNQ,UAAU,cAAc,EAAE,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAqPtF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,IAAI,0CAKhB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAIzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKA4BhC,CAAC;AAEF,eAAO,MAAM,WAAW;;;EAyBvB,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,IAAI,0CAKhB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAIzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKA4BhC,CAAC;AAEF,eAAO,MAAM,WAAW;;;EAmCvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAyBhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CA+BhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalTabs.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,aAAa;;EAIzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAgChC,CAAC;AAEF,eAAO,MAAM,WAAW,iLAmBvB,CAAC"}
1
+ {"version":3,"file":"VerticalTabs.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,aAAa;;EAIzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAgChC,CAAC;AAEF,eAAO,MAAM,WAAW,iLA6BvB,CAAC"}
@@ -23,26 +23,39 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
23
23
  pilled: {
24
24
  true: import("@linaria/core").LinariaClassName;
25
25
  };
26
- }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
26
+ }> & ((import("../../../../components/Tabs").BaseTabItemProps & {
27
27
  orientation?: "horizontal" | undefined;
28
+ contentLeft?: React.ReactNode;
28
29
  pilled?: boolean | undefined;
29
30
  animated?: boolean | undefined;
30
31
  view?: string | undefined;
31
- size?: string | undefined;
32
+ size?: "m" | "s" | "xs" | "l" | undefined;
32
33
  isActive?: boolean | undefined;
33
34
  } & {
34
35
  value?: string | number | undefined;
35
36
  contentRight?: undefined;
36
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
37
+ } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs").BaseTabItemProps & {
37
38
  orientation?: "horizontal" | undefined;
39
+ contentLeft?: React.ReactNode;
38
40
  pilled?: boolean | undefined;
39
41
  animated?: boolean | undefined;
40
42
  view?: string | undefined;
41
- size?: string | undefined;
43
+ size?: "m" | "s" | "xs" | "l" | undefined;
42
44
  isActive?: boolean | undefined;
43
45
  } & {
44
46
  value?: undefined;
45
47
  contentRight?: React.ReactNode;
48
+ } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs").BaseTabItemProps & {
49
+ orientation?: "horizontal" | undefined;
50
+ contentLeft?: undefined;
51
+ pilled?: undefined;
52
+ animated?: undefined;
53
+ view?: string | undefined;
54
+ size: "h1" | "h2" | "h3" | "h4" | "h5";
55
+ isActive?: undefined;
56
+ } & {
57
+ value?: string | number | undefined;
58
+ contentRight?: undefined;
46
59
  } & React.RefAttributes<HTMLDivElement>))>;
47
60
  declare const VerticalTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
48
61
  view: {
@@ -57,15 +70,17 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
57
70
  disabled: {
58
71
  true: import("@linaria/core").LinariaClassName;
59
72
  };
60
- }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
73
+ }> & ((import("../../../../components/Tabs").BaseTabItemProps & {
61
74
  orientation: "vertical";
75
+ contentLeft?: React.ReactNode;
62
76
  view?: string | undefined;
63
77
  size?: string | undefined;
64
78
  } & {
65
79
  value?: string | number | undefined;
66
80
  contentRight?: undefined;
67
- } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
81
+ } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs").BaseTabItemProps & {
68
82
  orientation: "vertical";
83
+ contentLeft?: React.ReactNode;
69
84
  view?: string | undefined;
70
85
  size?: string | undefined;
71
86
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
1
+ {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
@@ -25,7 +25,7 @@ declare const HorizontalTabs: React.FunctionComponent<import("../../../../engine
25
25
  pilled: {
26
26
  true: import("@linaria/core").LinariaClassName;
27
27
  };
28
- }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
28
+ }> & ((import("../../../../components/Tabs").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHeaderTabsProps & React.RefAttributes<HTMLDivElement>))>;
29
29
  declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/types").PropsType<{
30
30
  view: {
31
31
  divider: import("@linaria/core").LinariaClassName;
@@ -39,7 +39,7 @@ declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/
39
39
  disabled: {
40
40
  true: import("@linaria/core").LinariaClassName;
41
41
  };
42
- }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomVerticalTabsProps & React.RefAttributes<HTMLDivElement>>;
42
+ }> & import("../../../../components/Tabs").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomVerticalTabsProps & React.RefAttributes<HTMLDivElement>>;
43
43
  declare type TabsProps = ComponentProps<typeof HorizontalTabs> | ComponentProps<typeof VerticalTabs>;
44
44
  export declare const Tabs: (props: TabsProps) => JSX.Element;
45
45
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;uLAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;uVAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;0KAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHlB,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAsDlB,CAAC"}
1
+ {"version":3,"file":"VerticalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAwDlB,CAAC"}
@@ -23,26 +23,39 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
23
23
  pilled: {
24
24
  true: import("@linaria/core").LinariaClassName;
25
25
  };
26
- }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
26
+ }> & ((import("../../../../components/Tabs").BaseTabItemProps & {
27
27
  orientation?: "horizontal" | undefined;
28
+ contentLeft?: React.ReactNode;
28
29
  pilled?: boolean | undefined;
29
30
  animated?: boolean | undefined;
30
31
  view?: string | undefined;
31
- size?: string | undefined;
32
+ size?: "m" | "s" | "xs" | "l" | undefined;
32
33
  isActive?: boolean | undefined;
33
34
  } & {
34
35
  value?: string | number | undefined;
35
36
  contentRight?: undefined;
36
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
37
+ } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs").BaseTabItemProps & {
37
38
  orientation?: "horizontal" | undefined;
39
+ contentLeft?: React.ReactNode;
38
40
  pilled?: boolean | undefined;
39
41
  animated?: boolean | undefined;
40
42
  view?: string | undefined;
41
- size?: string | undefined;
43
+ size?: "m" | "s" | "xs" | "l" | undefined;
42
44
  isActive?: boolean | undefined;
43
45
  } & {
44
46
  value?: undefined;
45
47
  contentRight?: React.ReactNode;
48
+ } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs").BaseTabItemProps & {
49
+ orientation?: "horizontal" | undefined;
50
+ contentLeft?: undefined;
51
+ pilled?: undefined;
52
+ animated?: undefined;
53
+ view?: string | undefined;
54
+ size: "h1" | "h2" | "h3" | "h4" | "h5";
55
+ isActive?: undefined;
56
+ } & {
57
+ value?: string | number | undefined;
58
+ contentRight?: undefined;
46
59
  } & React.RefAttributes<HTMLDivElement>))>;
47
60
  declare const VerticalTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
48
61
  view: {
@@ -57,15 +70,17 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
57
70
  disabled: {
58
71
  true: import("@linaria/core").LinariaClassName;
59
72
  };
60
- }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
73
+ }> & ((import("../../../../components/Tabs").BaseTabItemProps & {
61
74
  orientation: "vertical";
75
+ contentLeft?: React.ReactNode;
62
76
  view?: string | undefined;
63
77
  size?: string | undefined;
64
78
  } & {
65
79
  value?: string | number | undefined;
66
80
  contentRight?: undefined;
67
- } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
81
+ } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs").BaseTabItemProps & {
68
82
  orientation: "vertical";
83
+ contentLeft?: React.ReactNode;
69
84
  view?: string | undefined;
70
85
  size?: string | undefined;
71
86
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
1
+ {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
@@ -25,7 +25,7 @@ declare const HorizontalTabs: React.FunctionComponent<import("../../../../engine
25
25
  pilled: {
26
26
  true: import("@linaria/core").LinariaClassName;
27
27
  };
28
- }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
28
+ }> & ((import("../../../../components/Tabs").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHeaderTabsProps & React.RefAttributes<HTMLDivElement>))>;
29
29
  declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/types").PropsType<{
30
30
  view: {
31
31
  divider: import("@linaria/core").LinariaClassName;
@@ -39,7 +39,7 @@ declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/
39
39
  disabled: {
40
40
  true: import("@linaria/core").LinariaClassName;
41
41
  };
42
- }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomVerticalTabsProps & React.RefAttributes<HTMLDivElement>>;
42
+ }> & import("../../../../components/Tabs").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomVerticalTabsProps & React.RefAttributes<HTMLDivElement>>;
43
43
  declare type TabsProps = ComponentProps<typeof HorizontalTabs> | ComponentProps<typeof VerticalTabs>;
44
44
  export declare const Tabs: (props: TabsProps) => JSX.Element;
45
45
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;uLAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;uVAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;0KAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHlB,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAsDlB,CAAC"}
1
+ {"version":3,"file":"VerticalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAwDlB,CAAC"}