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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/cjs/components/Accordion/Accordion.css +1 -0
  2. package/cjs/components/Accordion/Accordion.js +66 -0
  3. package/cjs/components/Accordion/Accordion.js.map +1 -0
  4. package/cjs/components/Accordion/Accordion.styles.js +9 -0
  5. package/cjs/components/Accordion/Accordion.styles.js.map +1 -0
  6. package/cjs/components/Accordion/Accordion.styles_1mo1sxr.css +1 -0
  7. package/cjs/components/Accordion/Accordion.tokens.js +44 -0
  8. package/cjs/components/Accordion/Accordion.tokens.js.map +1 -0
  9. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +97 -0
  10. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -0
  11. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +63 -0
  12. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -0
  13. package/cjs/components/Accordion/utils/index.js +26 -0
  14. package/cjs/components/Accordion/utils/index.js.map +1 -0
  15. package/cjs/components/Accordion/variations/_size/base.js +9 -0
  16. package/cjs/components/Accordion/variations/_size/base.js.map +1 -0
  17. package/cjs/components/Accordion/variations/_size/base_x642ct.css +1 -0
  18. package/cjs/components/Accordion/variations/_view/base.js +9 -0
  19. package/cjs/components/Accordion/variations/_view/base.js.map +1 -0
  20. package/cjs/components/Accordion/variations/_view/base_x642ct.css +1 -0
  21. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +33 -0
  22. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js.map +1 -0
  23. package/cjs/components/_Icon/Icon.assets/Minus.js +22 -0
  24. package/cjs/components/_Icon/Icon.assets/Minus.js.map +1 -0
  25. package/cjs/components/_Icon/Icons/IconChevronDownFill.js +23 -0
  26. package/cjs/components/_Icon/Icons/IconChevronDownFill.js.map +1 -0
  27. package/cjs/components/_Icon/Icons/IconMinus.js +23 -0
  28. package/cjs/components/_Icon/Icons/IconMinus.js.map +1 -0
  29. package/cjs/index.css +2 -0
  30. package/cjs/index.js +8 -0
  31. package/cjs/index.js.map +1 -1
  32. package/es/components/Accordion/Accordion.css +1 -0
  33. package/es/components/Accordion/Accordion.js +61 -0
  34. package/es/components/Accordion/Accordion.js.map +1 -0
  35. package/es/components/Accordion/Accordion.styles.js +5 -0
  36. package/es/components/Accordion/Accordion.styles.js.map +1 -0
  37. package/es/components/Accordion/Accordion.styles_1mo1sxr.css +1 -0
  38. package/es/components/Accordion/Accordion.tokens.js +39 -0
  39. package/es/components/Accordion/Accordion.tokens.js.map +1 -0
  40. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +93 -0
  41. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -0
  42. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +49 -0
  43. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -0
  44. package/es/components/Accordion/utils/index.js +21 -0
  45. package/es/components/Accordion/utils/index.js.map +1 -0
  46. package/es/components/Accordion/variations/_size/base.js +5 -0
  47. package/es/components/Accordion/variations/_size/base.js.map +1 -0
  48. package/es/components/Accordion/variations/_size/base_x642ct.css +1 -0
  49. package/es/components/Accordion/variations/_view/base.js +5 -0
  50. package/es/components/Accordion/variations/_view/base.js.map +1 -0
  51. package/es/components/Accordion/variations/_view/base_x642ct.css +1 -0
  52. package/es/components/_Icon/Icon.assets/ChevronDownFill.js +29 -0
  53. package/es/components/_Icon/Icon.assets/ChevronDownFill.js.map +1 -0
  54. package/es/components/_Icon/Icon.assets/Minus.js +18 -0
  55. package/es/components/_Icon/Icon.assets/Minus.js.map +1 -0
  56. package/es/components/_Icon/Icons/IconChevronDownFill.js +19 -0
  57. package/es/components/_Icon/Icons/IconChevronDownFill.js.map +1 -0
  58. package/es/components/_Icon/Icons/IconMinus.js +19 -0
  59. package/es/components/_Icon/Icons/IconMinus.js.map +1 -0
  60. package/es/index.css +2 -0
  61. package/es/index.js +3 -0
  62. package/es/index.js.map +1 -1
  63. package/package.json +2 -2
  64. package/styled-components/cjs/components/Accordion/Accordion.js +23 -2
  65. package/styled-components/cjs/components/Accordion/Accordion.tokens.js +4 -4
  66. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +10 -3
  67. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
  68. package/styled-components/cjs/components/Accordion/utils/index.js +23 -0
  69. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +6 -6
  70. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -0
  71. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.config.js +6 -6
  72. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -0
  73. package/styled-components/cjs/index.js +11 -0
  74. package/styled-components/es/components/Accordion/Accordion.js +24 -3
  75. package/styled-components/es/components/Accordion/Accordion.tokens.js +4 -4
  76. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +10 -3
  77. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
  78. package/styled-components/es/components/Accordion/utils/index.js +17 -0
  79. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +6 -6
  80. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -0
  81. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.config.js +6 -6
  82. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -0
  83. package/styled-components/es/index.js +2 -1
  84. package/types/components/Accordion/Accordion.d.ts +2 -0
  85. package/types/components/Accordion/Accordion.d.ts.map +1 -1
  86. package/types/components/Accordion/Accordion.tokens.d.ts +4 -4
  87. package/types/components/Accordion/Accordion.types.d.ts +5 -1
  88. package/types/components/Accordion/Accordion.types.d.ts.map +1 -1
  89. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -1
  90. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +1 -1
  91. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +10 -4
  92. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +1 -1
  93. package/types/components/Accordion/utils/index.d.ts +17 -0
  94. package/types/components/Accordion/utils/index.d.ts.map +1 -0
  95. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +1 -1
  96. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +1 -0
  97. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +1 -1
  98. package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts.map +1 -1
  99. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +1 -0
  100. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +1 -1
  101. package/types/index.d.ts +1 -0
  102. package/types/index.d.ts.map +1 -1
  103. /package/cjs/components/{_Icon/Icons/IconClose.css → Accordion/ui/AccordionItem/AccordionItem.css} +0 -0
  104. /package/es/components/{_Icon/Icons/IconClose.css → Accordion/ui/AccordionItem/AccordionItem.css} +0 -0
@@ -4,6 +4,7 @@ import type { AccordionProps } from './Accordion.types';
4
4
  export declare const accordionRoot: (Root: RootProps<HTMLDivElement, AccordionProps>) => React.ForwardRefExoticComponent<{
5
5
  view: string;
6
6
  size?: string | undefined;
7
+ once?: boolean | undefined;
7
8
  stretching?: "fixed" | "filled" | undefined;
8
9
  children?: React.ReactNode;
9
10
  className?: string | undefined;
@@ -14,6 +15,7 @@ export declare const accordionConfig: {
14
15
  layout: (Root: RootProps<HTMLDivElement, AccordionProps>) => React.ForwardRefExoticComponent<{
15
16
  view: string;
16
17
  size?: string | undefined;
18
+ once?: boolean | undefined;
17
19
  stretching?: "fixed" | "filled" | undefined;
18
20
  children?: React.ReactNode;
19
21
  className?: string | undefined;
@@ -1 +1 @@
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
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOxD,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;wCA8BxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAhCQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;CAiD5E,CAAC"}
@@ -13,12 +13,12 @@ export declare const tokens: {
13
13
  accordionBackground: string;
14
14
  accordionItemBackground: string;
15
15
  accordionItemBorderRadius: string;
16
- accordionItemPaddingTop: string;
17
- accordionItemPaddingRight: string;
18
- accordionItemPaddingBottom: string;
19
- accordionItemPaddingLeft: string;
16
+ accordionItemPadding: string;
17
+ accordionItemPaddingVertical: string;
18
+ accordionItemPaddingHorizontal: string;
20
19
  accordionItemGap: string;
21
20
  accordionItemFocus: string;
21
+ accordionItemBorderBottom: string;
22
22
  accordionItemTitleColor: string;
23
23
  accordionItemTitleFontFamily: string;
24
24
  accordionItemTitleFontSize: string;
@@ -1,13 +1,17 @@
1
1
  import type { ReactNode } from 'react';
2
2
  declare type CustomAccordionProps = {
3
3
  /**
4
- * Тип аккардиона
4
+ * Тип аккордиона
5
5
  */
6
6
  view: string;
7
7
  /**
8
8
  * Размер
9
9
  */
10
10
  size?: string;
11
+ /**
12
+ * Возможность раскрытия всех элементов или только одного
13
+ */
14
+ once?: boolean;
11
15
  /**
12
16
  * Ширина
13
17
  * @description
@@ -1 +1 @@
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
+ {"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;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;;;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 +1 @@
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
+ {"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,CAmFvF,CAAC"}
@@ -1 +1 @@
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
+ {"version":3,"file":"AccordionItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/ui/AccordionItem/AccordionItem.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,mBAAmB,oEAiB/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,oEAOjC,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,6 +1,10 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { Pin } from '../../../../utils/roundness';
3
3
  declare type CustomAccordionItemProps = {
4
+ /**
5
+ * Ключ аккордиона
6
+ */
7
+ eventKey?: string | number;
4
8
  /**
5
9
  * Значение раскрытия аккардиона
6
10
  */
@@ -18,21 +22,23 @@ declare type CustomAccordionItemProps = {
18
22
  */
19
23
  contentRight?: ReactNode;
20
24
  /**
21
- * Скругление аккардиона
25
+ * Скругление аккордиона
22
26
  */
23
27
  pin?: Pin;
24
28
  /**
25
- * Заголовок аккардиона
29
+ * Заголовок аккордиона
26
30
  */
27
31
  title: ReactNode;
28
32
  /**
29
- * Контент аккардиона
33
+ * Контент аккордиона
30
34
  */
31
35
  body: ReactNode;
32
36
  /**
33
37
  * Функция при открытии аккардиона
34
38
  */
35
- onChangeValue?: (value: boolean) => void;
39
+ onChangeValue?: (value: boolean, eventKey?: string | number) => void;
40
+ index?: number;
41
+ updateValue?: (index?: number, value?: boolean) => void;
36
42
  };
37
43
  export declare type AccordionItemProps = CustomAccordionItemProps;
38
44
  export {};
@@ -1 +1 @@
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
+ {"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,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;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,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF,oBAAY,kBAAkB,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { AccordionItemProps } from '../ui/AccordionItem/AccordionItem.types';
3
+ export declare const updatePropsRecursively: (children?: ReactElement<{
4
+ eventKey?: string | number | undefined;
5
+ value?: boolean | undefined;
6
+ type?: "clear" | "arrow" | "sign" | undefined;
7
+ contentLeft?: ReactNode;
8
+ contentRight?: ReactNode;
9
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
10
+ title: ReactNode;
11
+ body: ReactNode;
12
+ onChangeValue?: ((value: boolean, eventKey?: string | number | undefined) => void) | undefined;
13
+ index?: number | undefined;
14
+ updateValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined;
15
+ }, string | import("react").JSXElementConstructor<any>>[] | undefined, activeIndex?: number | undefined, updateValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined) => ReactNode[];
16
+ export declare const getChildren: (children: ReactElement<AccordionItemProps>[], activeIndex?: number | undefined, updateValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined) => ReactNode[];
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAC;AAExF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;qLAGoB,IAAI,kBACxD,SAAS,EAaN,CAAC;AAEP,eAAO,MAAM,WAAW,aACV,aAAa,kBAAkB,CAAC,EAAE,gHAEO,IAAI,6BAG1D,CAAC"}
@@ -1 +1 @@
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
+ {"version":3,"file":"Accordion.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Accordion/Accordion.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAyHlB,CAAC"}
@@ -18,6 +18,7 @@ export declare const Accordion: import("react").FunctionComponent<import("../../
18
18
  }> & {
19
19
  view: string;
20
20
  size?: string | undefined;
21
+ once?: boolean | undefined;
21
22
  stretching?: "fixed" | "filled" | undefined;
22
23
  children?: import("react").ReactNode;
23
24
  className?: string | undefined;
@@ -1 +1 @@
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
+ {"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 +1 @@
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
+ {"version":3,"file":"Accordion.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Accordion/Accordion.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAsHlB,CAAC"}
@@ -18,6 +18,7 @@ export declare const Accordion: import("react").FunctionComponent<import("../../
18
18
  }> & {
19
19
  view: string;
20
20
  size?: string | undefined;
21
+ once?: boolean | undefined;
21
22
  stretching?: "fixed" | "filled" | undefined;
22
23
  children?: import("react").ReactNode;
23
24
  className?: string | undefined;
@@ -1 +1 @@
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"}
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"}
package/types/index.d.ts CHANGED
@@ -46,4 +46,5 @@ export * from './components/Divider';
46
46
  export * from './components/Toolbar';
47
47
  export * from './components/Slider';
48
48
  export * from './components/Range';
49
+ export * from './components/Accordion';
49
50
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}