@salutejs/plasma-new-hope 0.88.0-canary.1223.9302553119.0 → 0.88.0-canary.1225.9346550240.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. package/cjs/components/Sheet/Sheet.css +5 -0
  2. package/cjs/components/Sheet/Sheet.js +91 -0
  3. package/cjs/components/Sheet/Sheet.js.map +1 -0
  4. package/cjs/components/Sheet/Sheet.styles.js +62 -0
  5. package/cjs/components/Sheet/Sheet.styles.js.map +1 -0
  6. package/cjs/components/Sheet/Sheet.styles_1bm46e7.css +5 -0
  7. package/cjs/components/Sheet/Sheet.tokens.js +16 -0
  8. package/cjs/components/Sheet/Sheet.tokens.js.map +1 -0
  9. package/cjs/components/Sheet/hooks/useSheet.js +26 -0
  10. package/cjs/components/Sheet/hooks/useSheet.js.map +1 -0
  11. package/cjs/components/Sheet/hooks/useSheetSwipe.js +98 -0
  12. package/cjs/components/Sheet/hooks/useSheetSwipe.js.map +1 -0
  13. package/cjs/components/Sheet/hooks/useThemeContext.js +17 -0
  14. package/cjs/components/Sheet/hooks/useThemeContext.js.map +1 -0
  15. package/cjs/components/Sheet/utils/handleTransition.js +14 -0
  16. package/cjs/components/Sheet/utils/handleTransition.js.map +1 -0
  17. package/cjs/components/Sheet/variations/_view/base.js +9 -0
  18. package/cjs/components/Sheet/variations/_view/base.js.map +1 -0
  19. package/cjs/components/Sheet/variations/_view/base_x642ct.css +1 -0
  20. package/cjs/index.css +6 -0
  21. package/cjs/index.js +6 -0
  22. package/cjs/index.js.map +1 -1
  23. package/es/components/Sheet/Sheet.css +5 -0
  24. package/es/components/Sheet/Sheet.js +86 -0
  25. package/es/components/Sheet/Sheet.js.map +1 -0
  26. package/es/components/Sheet/Sheet.styles.js +54 -0
  27. package/es/components/Sheet/Sheet.styles.js.map +1 -0
  28. package/es/components/Sheet/Sheet.styles_1bm46e7.css +5 -0
  29. package/es/components/Sheet/Sheet.tokens.js +11 -0
  30. package/es/components/Sheet/Sheet.tokens.js.map +1 -0
  31. package/es/components/Sheet/hooks/useSheet.js +22 -0
  32. package/es/components/Sheet/hooks/useSheet.js.map +1 -0
  33. package/es/components/Sheet/hooks/useSheetSwipe.js +94 -0
  34. package/es/components/Sheet/hooks/useSheetSwipe.js.map +1 -0
  35. package/es/components/Sheet/hooks/useThemeContext.js +13 -0
  36. package/es/components/Sheet/hooks/useThemeContext.js.map +1 -0
  37. package/es/components/Sheet/utils/handleTransition.js +10 -0
  38. package/es/components/Sheet/utils/handleTransition.js.map +1 -0
  39. package/es/components/Sheet/variations/_view/base.js +5 -0
  40. package/es/components/Sheet/variations/_view/base.js.map +1 -0
  41. package/es/components/Sheet/variations/_view/base_x642ct.css +1 -0
  42. package/es/index.css +6 -0
  43. package/es/index.js +2 -0
  44. package/es/index.js.map +1 -1
  45. package/package.json +4 -2
  46. package/styled-components/cjs/components/Sheet/Sheet.js +90 -0
  47. package/styled-components/cjs/components/Sheet/Sheet.styles.js +28 -0
  48. package/styled-components/cjs/components/Sheet/Sheet.tokens.js +14 -0
  49. package/styled-components/cjs/components/Sheet/hooks/index.js +26 -0
  50. package/styled-components/cjs/components/Sheet/hooks/useSheet.js +24 -0
  51. package/styled-components/cjs/components/Sheet/hooks/useSheetSwipe.js +102 -0
  52. package/styled-components/cjs/components/Sheet/hooks/useThemeContext.js +15 -0
  53. package/styled-components/cjs/components/Sheet/index.js +31 -0
  54. package/styled-components/cjs/components/Sheet/utils/handleTransition.js +13 -0
  55. package/styled-components/cjs/components/Sheet/utils/index.js +12 -0
  56. package/styled-components/cjs/components/Sheet/variations/_view/tokens.json +3 -0
  57. package/styled-components/cjs/components/_Icon/index.js +1 -15
  58. package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.config.js +18 -0
  59. package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.js +17 -0
  60. package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +239 -0
  61. package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.config.js +18 -0
  62. package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.js +17 -0
  63. package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +239 -0
  64. package/styled-components/cjs/index.js +11 -0
  65. package/styled-components/es/components/Sheet/Sheet.js +82 -0
  66. package/styled-components/es/components/Sheet/Sheet.styles.js +21 -0
  67. package/styled-components/es/components/Sheet/Sheet.tokens.js +8 -0
  68. package/styled-components/es/components/Sheet/hooks/index.js +3 -0
  69. package/styled-components/es/components/Sheet/hooks/useSheet.js +18 -0
  70. package/styled-components/es/components/Sheet/hooks/useSheetSwipe.js +95 -0
  71. package/styled-components/es/components/Sheet/hooks/useThemeContext.js +9 -0
  72. package/styled-components/es/components/Sheet/index.js +2 -0
  73. package/styled-components/es/components/Sheet/utils/handleTransition.js +7 -0
  74. package/styled-components/es/components/Sheet/utils/index.js +1 -0
  75. package/styled-components/es/components/Sheet/variations/_view/tokens.json +3 -0
  76. package/styled-components/es/components/_Icon/index.js +1 -3
  77. package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.config.js +12 -0
  78. package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.js +6 -0
  79. package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +239 -0
  80. package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.config.js +12 -0
  81. package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.js +6 -0
  82. package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +239 -0
  83. package/styled-components/es/index.js +1 -0
  84. package/types/components/Sheet/Sheet.d.ts +22 -0
  85. package/types/components/Sheet/Sheet.d.ts.map +1 -0
  86. package/types/components/Sheet/Sheet.styles.d.ts +13 -0
  87. package/types/components/Sheet/Sheet.styles.d.ts.map +1 -0
  88. package/types/components/Sheet/Sheet.tokens.d.ts +9 -0
  89. package/types/components/Sheet/Sheet.tokens.d.ts.map +1 -0
  90. package/types/components/Sheet/Sheet.types.d.ts +35 -0
  91. package/types/components/Sheet/Sheet.types.d.ts.map +1 -0
  92. package/types/components/Sheet/hooks/index.d.ts +4 -0
  93. package/types/components/Sheet/hooks/index.d.ts.map +1 -0
  94. package/types/components/Sheet/hooks/useSheet.d.ts +3 -0
  95. package/types/components/Sheet/hooks/useSheet.d.ts.map +1 -0
  96. package/types/components/Sheet/hooks/useSheetSwipe.d.ts +9 -0
  97. package/types/components/Sheet/hooks/useSheetSwipe.d.ts.map +1 -0
  98. package/types/components/Sheet/hooks/useThemeContext.d.ts +7 -0
  99. package/types/components/Sheet/hooks/useThemeContext.d.ts.map +1 -0
  100. package/types/components/Sheet/index.d.ts +4 -0
  101. package/types/components/Sheet/index.d.ts.map +1 -0
  102. package/types/components/Sheet/utils/handleTransition.d.ts +5 -0
  103. package/types/components/Sheet/utils/handleTransition.d.ts.map +1 -0
  104. package/types/components/Sheet/utils/index.d.ts +2 -0
  105. package/types/components/Sheet/utils/index.d.ts.map +1 -0
  106. package/types/components/Sheet/variations/_view/base.d.ts.map +1 -0
  107. package/types/components/_Icon/index.d.ts +0 -2
  108. package/types/components/_Icon/index.d.ts.map +1 -1
  109. package/types/examples/plasma_b2c/components/Sheet/Sheet.config.d.ts +11 -0
  110. package/types/examples/plasma_b2c/components/Sheet/Sheet.config.d.ts.map +1 -0
  111. package/types/examples/plasma_b2c/components/Sheet/Sheet.d.ts +8 -0
  112. package/types/examples/plasma_b2c/components/Sheet/Sheet.d.ts.map +1 -0
  113. package/types/examples/plasma_web/components/Sheet/Sheet.config.d.ts +11 -0
  114. package/types/examples/plasma_web/components/Sheet/Sheet.config.d.ts.map +1 -0
  115. package/types/examples/plasma_web/components/Sheet/Sheet.d.ts +8 -0
  116. package/types/examples/plasma_web/components/Sheet/Sheet.d.ts.map +1 -0
  117. package/types/index.d.ts +1 -0
  118. package/types/index.d.ts.map +1 -1
  119. package/styled-components/cjs/components/Accordion/Accordion.js +0 -50
  120. package/styled-components/cjs/components/Accordion/Accordion.styles.js +0 -9
  121. package/styled-components/cjs/components/Accordion/Accordion.tokens.js +0 -42
  122. package/styled-components/cjs/components/Accordion/index.js +0 -38
  123. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -96
  124. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  125. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.types.js +0 -5
  126. package/styled-components/cjs/components/Accordion/variations/_size/tokens.json +0 -6
  127. package/styled-components/cjs/components/Accordion/variations/_stretching/base.js +0 -8
  128. package/styled-components/cjs/components/Accordion/variations/_stretching/tokens.json +0 -1
  129. package/styled-components/cjs/components/Accordion/variations/_view/base.js +0 -8
  130. package/styled-components/cjs/components/Accordion/variations/_view/tokens.json +0 -8
  131. package/styled-components/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -32
  132. package/styled-components/cjs/components/_Icon/Icon.assets/Minus.js +0 -21
  133. package/styled-components/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -22
  134. package/styled-components/cjs/components/_Icon/Icons/IconMinus.js +0 -22
  135. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -30
  136. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.js +0 -17
  137. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -75
  138. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.config.js +0 -30
  139. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.js +0 -17
  140. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -75
  141. package/styled-components/es/components/Accordion/Accordion.js +0 -41
  142. package/styled-components/es/components/Accordion/Accordion.styles.js +0 -3
  143. package/styled-components/es/components/Accordion/Accordion.tokens.js +0 -36
  144. package/styled-components/es/components/Accordion/index.js +0 -3
  145. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -87
  146. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -42
  147. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.types.js +0 -1
  148. package/styled-components/es/components/Accordion/variations/_size/tokens.json +0 -6
  149. package/styled-components/es/components/Accordion/variations/_stretching/base.js +0 -2
  150. package/styled-components/es/components/Accordion/variations/_stretching/tokens.json +0 -1
  151. package/styled-components/es/components/Accordion/variations/_view/base.js +0 -2
  152. package/styled-components/es/components/Accordion/variations/_view/tokens.json +0 -8
  153. package/styled-components/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -25
  154. package/styled-components/es/components/_Icon/Icon.assets/Minus.js +0 -14
  155. package/styled-components/es/components/_Icon/Icons/IconChevronDownFill.js +0 -15
  156. package/styled-components/es/components/_Icon/Icons/IconMinus.js +0 -15
  157. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -24
  158. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.js +0 -6
  159. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -75
  160. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.config.js +0 -24
  161. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.js +0 -6
  162. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -75
  163. package/types/components/Accordion/Accordion.d.ts +0 -35
  164. package/types/components/Accordion/Accordion.d.ts.map +0 -1
  165. package/types/components/Accordion/Accordion.styles.d.ts +0 -2
  166. package/types/components/Accordion/Accordion.styles.d.ts.map +0 -1
  167. package/types/components/Accordion/Accordion.tokens.d.ts +0 -37
  168. package/types/components/Accordion/Accordion.tokens.d.ts.map +0 -1
  169. package/types/components/Accordion/Accordion.types.d.ts +0 -24
  170. package/types/components/Accordion/Accordion.types.d.ts.map +0 -1
  171. package/types/components/Accordion/index.d.ts +0 -5
  172. package/types/components/Accordion/index.d.ts.map +0 -1
  173. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +0 -4
  174. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +0 -1
  175. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +0 -13
  176. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +0 -1
  177. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +0 -39
  178. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +0 -1
  179. package/types/components/Accordion/variations/_size/base.d.ts.map +0 -1
  180. package/types/components/Accordion/variations/_stretching/base.d.ts +0 -2
  181. package/types/components/Accordion/variations/_stretching/base.d.ts.map +0 -1
  182. package/types/components/Accordion/variations/_view/base.d.ts +0 -2
  183. package/types/components/Accordion/variations/_view/base.d.ts.map +0 -1
  184. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts +0 -4
  185. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts.map +0 -1
  186. package/types/components/_Icon/Icon.assets/Minus.d.ts +0 -4
  187. package/types/components/_Icon/Icon.assets/Minus.d.ts.map +0 -1
  188. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts +0 -4
  189. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts.map +0 -1
  190. package/types/components/_Icon/Icons/IconMinus.d.ts +0 -4
  191. package/types/components/_Icon/Icons/IconMinus.d.ts.map +0 -1
  192. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts +0 -23
  193. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +0 -1
  194. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +0 -26
  195. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +0 -1
  196. package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts +0 -23
  197. package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts.map +0 -1
  198. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +0 -26
  199. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +0 -1
  200. /package/styled-components/cjs/components/{Accordion/Accordion.types.js → Sheet/Sheet.types.js} +0 -0
  201. /package/styled-components/cjs/components/{Accordion/variations/_size → Sheet/variations/_view}/base.js +0 -0
  202. /package/styled-components/es/components/{Accordion/Accordion.types.js → Sheet/Sheet.types.js} +0 -0
  203. /package/styled-components/es/components/{Accordion/variations/_size → Sheet/variations/_view}/base.js +0 -0
  204. /package/types/components/{Accordion/variations/_size → Sheet/variations/_view}/base.d.ts +0 -0
@@ -1,75 +0,0 @@
1
- import * as React from 'react';
2
- import type { ComponentProps } from 'react';
3
- import type { StoryObj, Meta } from '@storybook/react';
4
- import { disableProps } from '@salutejs/plasma-sb-utils';
5
-
6
- import { mergeConfig } from '../../../../engines';
7
- import { WithTheme, argTypesFromConfig } from '../../../_helpers';
8
- import { accordionConfig } from '../../../../components/Accordion';
9
-
10
- import { config } from './Accordion.config';
11
- import { Accordion, AccordionItem } from './Accordion';
12
-
13
- const meta: Meta<typeof Accordion> = {
14
- title: 'plasma_b2c/Accordion',
15
- decorators: [WithTheme],
16
- component: Accordion,
17
- args: {
18
- view: 'default',
19
- size: 'm',
20
- stretching: 'filled',
21
- pin: 'square-square',
22
- type: 'arrow',
23
- title: 'Как оплатить заправку бонусами СберСпасибо?',
24
- body:
25
- 'После указания деталей заправки нажмите кнопку «К оплате». Откроется окно оплаты, где вы сможете списать бонусы и оплатить ими до 99% стоимости топлива',
26
- },
27
- argTypes: {
28
- ...argTypesFromConfig(mergeConfig(accordionConfig, config)),
29
- pin: {
30
- options: [
31
- 'square-square',
32
- 'square-clear',
33
- 'clear-square',
34
- 'clear-clear',
35
- 'clear-circle',
36
- 'circle-clear',
37
- 'circle-circle',
38
- '',
39
- ],
40
- control: {
41
- type: 'select',
42
- },
43
- table: { defaultValue: { summary: 'bottom' } },
44
- },
45
- stretching: {
46
- options: ['filled', 'fixed'],
47
- control: {
48
- type: 'select',
49
- },
50
- },
51
- type: {
52
- options: ['arrow', 'sign', 'clear'],
53
- control: {
54
- type: 'select',
55
- },
56
- },
57
- },
58
- };
59
-
60
- export default meta;
61
-
62
- export const Default: StoryObj<ComponentProps<typeof Accordion>> = {
63
- argTypes: { ...disableProps(['text']) },
64
- render: (props: ComponentProps<typeof Accordion>) => {
65
- const args = { ...props, text: undefined };
66
-
67
- return (
68
- <Accordion {...args}>
69
- <AccordionItem type={args.type} pin={args.pin} title={args.title} body={args.body} />
70
- <AccordionItem type={args.type} pin={args.pin} title={args.title} body={args.body} />
71
- <AccordionItem type={args.type} pin={args.pin} title={args.title} body={args.body} />
72
- </Accordion>
73
- );
74
- },
75
- };
@@ -1,24 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { accordionTokens } from '../../../../components/Accordion';
3
- export var config = {
4
- defaults: {
5
- view: 'default',
6
- size: 'm'
7
- },
8
- variations: {
9
- view: {
10
- "default": /*#__PURE__*/css(["", ":0.125rem;", ":20rem;", ":var(--surface-solid-card);", ":var(--text-primary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--surface-clear);"], accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemFocus, accordionTokens.accordionBackground),
11
- clear: /*#__PURE__*/css(["", ":0.125rem;", ":20rem;", ":0rem !important;", ":0rem !important;", ":var(--background-primary);", ":var(--text-primary);", ":var(--text-primary);", ":var(--surface-accent);", ":0rem !important;", ":var(--surface-solid-tertiary);"], accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPaddingRight, accordionTokens.accordionItemPaddingLeft, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemFocus, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionBackground)
12
- },
13
- size: {
14
- l: /*#__PURE__*/css(["", ":1.0625rem;", ":1.25rem;", ":1.0625rem;", ":1.25rem;", ":0.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], accordionTokens.accordionItemPaddingTop, accordionTokens.accordionItemPaddingRight, accordionTokens.accordionItemPaddingBottom, accordionTokens.accordionItemPaddingLeft, accordionTokens.accordionItemGap, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionItemTitleFontFamily, accordionTokens.accordionItemTitleFontSize, accordionTokens.accordionItemTitleFontStyle, accordionTokens.accordionItemTitleFontWeight, accordionTokens.accordionItemTitleLetterSpacing, accordionTokens.accordionItemTitleLineHeight, accordionTokens.accordionItemTextFontFamily, accordionTokens.accordionItemTextFontSize, accordionTokens.accordionItemTextFontStyle, accordionTokens.accordionItemTextFontWeight, accordionTokens.accordionItemTextLetterSpacing, accordionTokens.accordionItemTextLineHeight),
15
- m: /*#__PURE__*/css(["", ":0.875rem;", ":1.125rem;", ":0.875rem;", ":1.125rem;", ":0.375rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], accordionTokens.accordionItemPaddingTop, accordionTokens.accordionItemPaddingRight, accordionTokens.accordionItemPaddingBottom, accordionTokens.accordionItemPaddingLeft, accordionTokens.accordionItemGap, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionItemTitleFontFamily, accordionTokens.accordionItemTitleFontSize, accordionTokens.accordionItemTitleFontStyle, accordionTokens.accordionItemTitleFontWeight, accordionTokens.accordionItemTitleLetterSpacing, accordionTokens.accordionItemTitleLineHeight, accordionTokens.accordionItemTextFontFamily, accordionTokens.accordionItemTextFontSize, accordionTokens.accordionItemTextFontStyle, accordionTokens.accordionItemTextFontWeight, accordionTokens.accordionItemTextLetterSpacing, accordionTokens.accordionItemTextLineHeight),
16
- s: /*#__PURE__*/css(["", ":0.6875rem;", ":0.875rem;", ":0.6875rem;", ":0.875rem;", ":0.375rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], accordionTokens.accordionItemPaddingTop, accordionTokens.accordionItemPaddingRight, accordionTokens.accordionItemPaddingBottom, accordionTokens.accordionItemPaddingLeft, accordionTokens.accordionItemGap, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionItemTitleFontFamily, accordionTokens.accordionItemTitleFontSize, accordionTokens.accordionItemTitleFontStyle, accordionTokens.accordionItemTitleFontWeight, accordionTokens.accordionItemTitleLetterSpacing, accordionTokens.accordionItemTitleLineHeight, accordionTokens.accordionItemTextFontFamily, accordionTokens.accordionItemTextFontSize, accordionTokens.accordionItemTextFontStyle, accordionTokens.accordionItemTextFontWeight, accordionTokens.accordionItemTextLetterSpacing, accordionTokens.accordionItemTextLineHeight),
17
- xs: /*#__PURE__*/css(["", ":0.5rem;", ":0.75rem;", ":0.5rem;", ":0.75rem;", ":0.25rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], accordionTokens.accordionItemPaddingTop, accordionTokens.accordionItemPaddingRight, accordionTokens.accordionItemPaddingBottom, accordionTokens.accordionItemPaddingLeft, accordionTokens.accordionItemGap, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionItemTitleFontFamily, accordionTokens.accordionItemTitleFontSize, accordionTokens.accordionItemTitleFontStyle, accordionTokens.accordionItemTitleFontWeight, accordionTokens.accordionItemTitleLetterSpacing, accordionTokens.accordionItemTitleLineHeight, accordionTokens.accordionItemTextFontFamily, accordionTokens.accordionItemTextFontSize, accordionTokens.accordionItemTextFontStyle, accordionTokens.accordionItemTextFontWeight, accordionTokens.accordionItemTextLetterSpacing, accordionTokens.accordionItemTextLineHeight)
18
- },
19
- stretching: {
20
- filled: /*#__PURE__*/css([""]),
21
- fixed: /*#__PURE__*/css([""])
22
- }
23
- }
24
- };
@@ -1,6 +0,0 @@
1
- import { accordionConfig, AccordionItem } from '../../../../components/Accordion';
2
- import { component, mergeConfig } from '../../../../engines';
3
- import { config } from './Accordion.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(accordionConfig, config);
5
- export var Accordion = /*#__PURE__*/component(mergedConfig);
6
- export { AccordionItem };
@@ -1,75 +0,0 @@
1
- import * as React from 'react';
2
- import type { ComponentProps } from 'react';
3
- import type { StoryObj, Meta } from '@storybook/react';
4
- import { disableProps } from '@salutejs/plasma-sb-utils';
5
-
6
- import { mergeConfig } from '../../../../engines';
7
- import { WithTheme, argTypesFromConfig } from '../../../_helpers';
8
- import { accordionConfig } from '../../../../components/Accordion';
9
-
10
- import { config } from './Accordion.config';
11
- import { Accordion, AccordionItem } from './Accordion';
12
-
13
- const meta: Meta<typeof Accordion> = {
14
- title: 'plasma_web/Accordion',
15
- decorators: [WithTheme],
16
- component: Accordion,
17
- args: {
18
- view: 'default',
19
- size: 'm',
20
- stretching: 'filled',
21
- pin: 'square-square',
22
- type: 'arrow',
23
- title: 'Как оплатить заправку бонусами СберСпасибо?',
24
- body:
25
- 'После указания деталей заправки нажмите кнопку «К оплате». Откроется окно оплаты, где вы сможете списать бонусы и оплатить ими до 99% стоимости топлива',
26
- },
27
- argTypes: {
28
- ...argTypesFromConfig(mergeConfig(accordionConfig, config)),
29
- pin: {
30
- options: [
31
- 'square-square',
32
- 'square-clear',
33
- 'clear-square',
34
- 'clear-clear',
35
- 'clear-circle',
36
- 'circle-clear',
37
- 'circle-circle',
38
- '',
39
- ],
40
- control: {
41
- type: 'select',
42
- },
43
- table: { defaultValue: { summary: 'bottom' } },
44
- },
45
- stretching: {
46
- options: ['filled', 'fixed'],
47
- control: {
48
- type: 'select',
49
- },
50
- },
51
- type: {
52
- options: ['arrow', 'sign', 'clear'],
53
- control: {
54
- type: 'select',
55
- },
56
- },
57
- },
58
- };
59
-
60
- export default meta;
61
-
62
- export const Default: StoryObj<ComponentProps<typeof Accordion>> = {
63
- argTypes: { ...disableProps(['text']) },
64
- render: (props: ComponentProps<typeof Accordion>) => {
65
- const args = { ...props, text: undefined };
66
-
67
- return (
68
- <Accordion {...args}>
69
- <AccordionItem type={args.type} pin={args.pin} title={args.title} body={args.body} />
70
- <AccordionItem type={args.type} pin={args.pin} title={args.title} body={args.body} />
71
- <AccordionItem type={args.type} pin={args.pin} title={args.title} body={args.body} />
72
- </Accordion>
73
- );
74
- },
75
- };
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import { RootProps } from '../../engines';
3
- import type { AccordionProps } from './Accordion.types';
4
- export declare const accordionRoot: (Root: RootProps<HTMLDivElement, AccordionProps>) => React.ForwardRefExoticComponent<{
5
- view: string;
6
- size?: string | undefined;
7
- stretching?: "fixed" | "filled" | undefined;
8
- children?: React.ReactNode;
9
- className?: string | undefined;
10
- } & React.RefAttributes<HTMLDivElement>>;
11
- export declare const accordionConfig: {
12
- name: string;
13
- tag: string;
14
- layout: (Root: RootProps<HTMLDivElement, AccordionProps>) => React.ForwardRefExoticComponent<{
15
- view: string;
16
- size?: string | undefined;
17
- stretching?: "fixed" | "filled" | undefined;
18
- children?: React.ReactNode;
19
- className?: string | undefined;
20
- } & React.RefAttributes<HTMLDivElement>>;
21
- base: import("@linaria/core").LinariaClassName;
22
- variations: {
23
- view: {
24
- css: import("@linaria/core").LinariaClassName;
25
- };
26
- size: {
27
- css: import("@linaria/core").LinariaClassName;
28
- };
29
- };
30
- defaults: {
31
- view: string;
32
- size: string;
33
- };
34
- };
35
- //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMxD,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;wCAgBxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAlBQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;CAmC5E,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=Accordion.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAchB,CAAC"}
@@ -1,37 +0,0 @@
1
- export declare const classes: {
2
- filledStretching: string;
3
- fixedStretching: string;
4
- accordionRoot: string;
5
- accordionItem: string;
6
- clearAccordionItem: string;
7
- accordionItemShowBody: string;
8
- accordionPlusAnimationElement: string;
9
- };
10
- export declare const tokens: {
11
- accordionGap: string;
12
- accordionWidth: string;
13
- accordionBackground: string;
14
- accordionItemBackground: string;
15
- accordionItemBorderRadius: string;
16
- accordionItemPaddingTop: string;
17
- accordionItemPaddingRight: string;
18
- accordionItemPaddingBottom: string;
19
- accordionItemPaddingLeft: string;
20
- accordionItemGap: string;
21
- accordionItemFocus: string;
22
- accordionItemTitleColor: string;
23
- accordionItemTitleFontFamily: string;
24
- accordionItemTitleFontSize: string;
25
- accordionItemTitleFontStyle: string;
26
- accordionItemTitleFontWeight: string;
27
- accordionItemTitleLetterSpacing: string;
28
- accordionItemTitleLineHeight: string;
29
- accordionItemTextColor: string;
30
- accordionItemTextFontFamily: string;
31
- accordionItemTextFontSize: string;
32
- accordionItemTextFontStyle: string;
33
- accordionItemTextFontWeight: string;
34
- accordionItemTextLetterSpacing: string;
35
- accordionItemTextLineHeight: string;
36
- };
37
- //# sourceMappingURL=Accordion.tokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BlB,CAAC"}
@@ -1,24 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- declare type CustomAccordionProps = {
3
- /**
4
- * Тип аккардиона
5
- */
6
- view: string;
7
- /**
8
- * Размер
9
- */
10
- size?: string;
11
- /**
12
- * Ширина
13
- * @description
14
- * Может принимать два значения:
15
- * fixed - кнопка фиксированной ширины;
16
- * filled - кнопка занимает всю доступную ширину
17
- */
18
- stretching?: 'fixed' | 'filled';
19
- children?: ReactNode;
20
- className?: string;
21
- };
22
- export declare type AccordionProps = CustomAccordionProps;
23
- export {};
24
- //# sourceMappingURL=Accordion.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.types.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,aAAK,oBAAoB,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAEhC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,cAAc,GAAG,oBAAoB,CAAC"}
@@ -1,5 +0,0 @@
1
- export { accordionRoot, accordionConfig } from './Accordion';
2
- export type { AccordionProps } from './Accordion.types';
3
- export { AccordionItem } from './ui/AccordionItem/AccordionItem';
4
- export { tokens as accordionTokens, classes as accordionClasses } from './Accordion.tokens';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7D,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- import type { AccordionItemProps } from './AccordionItem.types';
3
- export declare const AccordionItem: React.FC<HTMLAttributes<HTMLDivElement> & AccordionItemProps>;
4
- //# sourceMappingURL=AccordionItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/ui/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAA8C,MAAM,OAAO,CAAC;AAkB1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CA4EvF,CAAC"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledAccordionItem: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const StyledAccordionHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const StyledAccordionHeaderLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const StyledAccordionContentRight: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const StyledAccordionContentLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const StyledAccordionTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
8
- export declare const StyledAccordionBodyAnimate: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const StyledAccordionBody: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const StyledArrow: import("styled-components").StyledComponent<import("react").FC<import("../../../_Icon/IconRoot").IconProps>, any, {}, never>;
11
- export declare const StyledMinus: import("styled-components").StyledComponent<import("react").FC<import("../../../_Icon/IconRoot").IconProps>, any, {}, never>;
12
- export declare const StyledPlus: import("styled-components").StyledComponent<"div", any, {}, never>;
13
- //# sourceMappingURL=AccordionItem.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccordionItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/ui/AccordionItem/AccordionItem.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,mBAAmB,oEAa/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,oEAUjC,CAAC;AAEF,eAAO,MAAM,yBAAyB,oEAKrC,CAAC;AAEF,eAAO,MAAM,2BAA2B,oEAQvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oEAStC,CAAC;AAEF,eAAO,MAAM,oBAAoB,oEAQhC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oEAetC,CAAC;AAEF,eAAO,MAAM,mBAAmB,oEAW/B,CAAC;AAEF,eAAO,MAAM,WAAW,8HAIvB,CAAC;AAEF,eAAO,MAAM,WAAW,8HAmBvB,CAAC;AAEF,eAAO,MAAM,UAAU,oEAOtB,CAAC"}
@@ -1,39 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { Pin } from '../../../../utils/roundness';
3
- declare type CustomAccordionItemProps = {
4
- /**
5
- * Значение раскрытия аккардиона
6
- */
7
- value?: boolean;
8
- /**
9
- * Тип анимации раскрытия
10
- */
11
- type?: 'clear' | 'arrow' | 'sign';
12
- /**
13
- * Контент слева
14
- */
15
- contentLeft?: ReactNode;
16
- /**
17
- * Контент справа
18
- */
19
- contentRight?: ReactNode;
20
- /**
21
- * Скругление аккардиона
22
- */
23
- pin?: Pin;
24
- /**
25
- * Заголовок аккардиона
26
- */
27
- title: ReactNode;
28
- /**
29
- * Контент аккардиона
30
- */
31
- body: ReactNode;
32
- /**
33
- * Функция при открытии аккардиона
34
- */
35
- onChangeValue?: (value: boolean) => void;
36
- };
37
- export declare type AccordionItemProps = CustomAccordionItemProps;
38
- export {};
39
- //# sourceMappingURL=AccordionItem.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccordionItem.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/ui/AccordionItem/AccordionItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAEvD,aAAK,wBAAwB,GAAG;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAElC;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;IAEV;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,oBAAY,kBAAkB,GAAG,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/variations/_stretching/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from '../IconRoot';
3
- export declare const ChevronDownFill: React.FC<IconProps>;
4
- //# sourceMappingURL=ChevronDownFill.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronDownFill.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icon.assets/ChevronDownFill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiB/C,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from '../IconRoot';
3
- export declare const Minus: React.FC<IconProps>;
4
- //# sourceMappingURL=Minus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Minus.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icon.assets/Minus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAQrC,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from '../IconRoot';
3
- export declare const IconChevronDownFill: React.FC<IconProps>;
4
- //# sourceMappingURL=IconChevronDownFill.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconChevronDownFill.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icons/IconChevronDownFill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEnD,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from '../IconRoot';
3
- export declare const IconMinus: React.FC<IconProps>;
4
- //# sourceMappingURL=IconMinus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconMinus.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icons/IconMinus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEzC,CAAC"}
@@ -1,23 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- };
6
- variations: {
7
- view: {
8
- default: import("@linaria/core").LinariaClassName;
9
- clear: import("@linaria/core").LinariaClassName;
10
- };
11
- size: {
12
- l: import("@linaria/core").LinariaClassName;
13
- m: import("@linaria/core").LinariaClassName;
14
- s: import("@linaria/core").LinariaClassName;
15
- xs: import("@linaria/core").LinariaClassName;
16
- };
17
- stretching: {
18
- filled: import("@linaria/core").LinariaClassName;
19
- fixed: import("@linaria/core").LinariaClassName;
20
- };
21
- };
22
- };
23
- //# sourceMappingURL=Accordion.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Accordion/Accordion.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CA4HlB,CAAC"}
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- import { AccordionItem } from '../../../../components/Accordion';
3
- export declare const Accordion: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
- view: {
5
- default: import("@linaria/core").LinariaClassName;
6
- clear: import("@linaria/core").LinariaClassName;
7
- };
8
- size: {
9
- l: import("@linaria/core").LinariaClassName;
10
- m: import("@linaria/core").LinariaClassName;
11
- s: import("@linaria/core").LinariaClassName;
12
- xs: import("@linaria/core").LinariaClassName;
13
- };
14
- stretching: {
15
- filled: import("@linaria/core").LinariaClassName;
16
- fixed: import("@linaria/core").LinariaClassName;
17
- };
18
- }> & {
19
- view: string;
20
- size?: string | undefined;
21
- stretching?: "fixed" | "filled" | undefined;
22
- children?: import("react").ReactNode;
23
- className?: string | undefined;
24
- } & import("react").RefAttributes<HTMLDivElement>>;
25
- export { AccordionItem };
26
- //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Accordion/Accordion.ts"],"names":[],"mappings":";AAAA,OAAO,EAAmB,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAOlF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;kDAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- };
6
- variations: {
7
- view: {
8
- default: import("@linaria/core").LinariaClassName;
9
- clear: import("@linaria/core").LinariaClassName;
10
- };
11
- size: {
12
- l: import("@linaria/core").LinariaClassName;
13
- m: import("@linaria/core").LinariaClassName;
14
- s: import("@linaria/core").LinariaClassName;
15
- xs: import("@linaria/core").LinariaClassName;
16
- };
17
- stretching: {
18
- filled: import("@linaria/core").LinariaClassName;
19
- fixed: import("@linaria/core").LinariaClassName;
20
- };
21
- };
22
- };
23
- //# sourceMappingURL=Accordion.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Accordion/Accordion.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CA4HlB,CAAC"}
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- import { AccordionItem } from '../../../../components/Accordion';
3
- export declare const Accordion: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
- view: {
5
- default: import("@linaria/core").LinariaClassName;
6
- clear: import("@linaria/core").LinariaClassName;
7
- };
8
- size: {
9
- l: import("@linaria/core").LinariaClassName;
10
- m: import("@linaria/core").LinariaClassName;
11
- s: import("@linaria/core").LinariaClassName;
12
- xs: import("@linaria/core").LinariaClassName;
13
- };
14
- stretching: {
15
- filled: import("@linaria/core").LinariaClassName;
16
- fixed: import("@linaria/core").LinariaClassName;
17
- };
18
- }> & {
19
- view: string;
20
- size?: string | undefined;
21
- stretching?: "fixed" | "filled" | undefined;
22
- children?: import("react").ReactNode;
23
- className?: string | undefined;
24
- } & import("react").RefAttributes<HTMLDivElement>>;
25
- export { AccordionItem };
26
- //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Accordion/Accordion.ts"],"names":[],"mappings":";AAAA,OAAO,EAAmB,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAOlF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;kDAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,CAAC"}