@salutejs/plasma-new-hope 0.88.0-canary.1223.9382521438.0 → 0.88.0-canary.1223.9398061354.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/cjs/components/Accordion/Accordion.css +1 -1
  2. package/cjs/components/Accordion/Accordion.js +12 -10
  3. package/cjs/components/Accordion/Accordion.js.map +1 -1
  4. package/cjs/components/Accordion/Accordion.styles.js +1 -1
  5. package/cjs/components/Accordion/Accordion.styles.js.map +1 -1
  6. package/cjs/components/Accordion/{Accordion.styles_1mo1sxr.css → Accordion.styles_rsiff6.css} +1 -1
  7. package/cjs/components/Accordion/Accordion.tokens.js +2 -1
  8. package/cjs/components/Accordion/Accordion.tokens.js.map +1 -1
  9. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
  10. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
  11. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
  12. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  13. package/cjs/components/Accordion/utils/index.js +5 -4
  14. package/cjs/components/Accordion/utils/index.js.map +1 -1
  15. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
  16. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js.map +1 -1
  17. package/cjs/index.css +1 -1
  18. package/es/components/Accordion/Accordion.css +1 -1
  19. package/es/components/Accordion/Accordion.js +13 -11
  20. package/es/components/Accordion/Accordion.js.map +1 -1
  21. package/es/components/Accordion/Accordion.styles.js +1 -1
  22. package/es/components/Accordion/Accordion.styles.js.map +1 -1
  23. package/es/components/Accordion/{Accordion.styles_1mo1sxr.css → Accordion.styles_rsiff6.css} +1 -1
  24. package/es/components/Accordion/Accordion.tokens.js +2 -1
  25. package/es/components/Accordion/Accordion.tokens.js.map +1 -1
  26. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
  27. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
  28. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
  29. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  30. package/es/components/Accordion/utils/index.js +5 -4
  31. package/es/components/Accordion/utils/index.js.map +1 -1
  32. package/es/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
  33. package/es/components/_Icon/Icon.assets/ChevronDownFill.js.map +1 -1
  34. package/es/index.css +1 -1
  35. package/package.json +2 -2
  36. package/styled-components/cjs/components/Accordion/Accordion.js +12 -10
  37. package/styled-components/cjs/components/Accordion/Accordion.styles.js +1 -1
  38. package/styled-components/cjs/components/Accordion/Accordion.tokens.js +2 -1
  39. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
  40. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
  41. package/styled-components/cjs/components/Accordion/utils/index.js +5 -4
  42. package/styled-components/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
  43. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -4
  44. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +11 -21
  45. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +10 -21
  46. package/styled-components/es/components/Accordion/Accordion.js +13 -11
  47. package/styled-components/es/components/Accordion/Accordion.styles.js +1 -1
  48. package/styled-components/es/components/Accordion/Accordion.tokens.js +2 -1
  49. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
  50. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
  51. package/styled-components/es/components/Accordion/utils/index.js +5 -4
  52. package/styled-components/es/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
  53. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -4
  54. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +11 -21
  55. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +10 -21
  56. package/types/components/Accordion/Accordion.d.ts +8 -2
  57. package/types/components/Accordion/Accordion.d.ts.map +1 -1
  58. package/types/components/Accordion/Accordion.tokens.d.ts +1 -0
  59. package/types/components/Accordion/Accordion.tokens.d.ts.map +1 -1
  60. package/types/components/Accordion/Accordion.types.d.ts +14 -6
  61. package/types/components/Accordion/Accordion.types.d.ts.map +1 -1
  62. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -1
  63. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +1 -1
  64. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +11 -15
  65. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +1 -1
  66. package/types/components/Accordion/utils/index.d.ts +6 -7
  67. package/types/components/Accordion/utils/index.d.ts.map +1 -1
  68. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts.map +1 -1
  69. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts +0 -4
  70. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +1 -1
  71. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +4 -5
  72. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +1 -1
  73. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +4 -1
  74. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +1 -1
@@ -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;;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
+ {"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,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAE1D,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,CAmFvF,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,CAwFvF,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,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
+ {"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,oEAYjC,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"}
@@ -2,11 +2,7 @@ import type { ReactNode } from 'react';
2
2
  import type { Pin } from '../../../../utils/roundness';
3
3
  declare type CustomAccordionItemProps = {
4
4
  /**
5
- * Ключ аккордиона
6
- */
7
- eventKey?: string | number;
8
- /**
9
- * Значение раскрытия аккардиона
5
+ * Значение раскрытия аккардеона
10
6
  */
11
7
  value?: boolean;
12
8
  /**
@@ -22,29 +18,29 @@ declare type CustomAccordionItemProps = {
22
18
  */
23
19
  contentRight?: ReactNode;
24
20
  /**
25
- * Скругление аккордиона
21
+ * Скругление аккордеона
26
22
  */
27
23
  pin?: Pin;
28
24
  /**
29
- * Заголовок аккордиона
25
+ * Заголовок аккордеона
30
26
  */
31
27
  title: ReactNode;
32
28
  /**
33
- * Контент аккордиона
29
+ * Контент аккордеона
34
30
  */
35
- body: ReactNode;
31
+ children: ReactNode;
36
32
  /**
37
- * Функция при открытии аккардиона
33
+ * Функция при открытии аккардеона
38
34
  */
39
- onChangeValue?: (value: boolean, eventKey?: string | number) => void;
35
+ onChangeValue?: (index: number, value: boolean) => void;
40
36
  /**
41
- * Индекс элемента
37
+ * Блокировка элемента
42
38
  */
43
- index?: number;
39
+ disabled?: boolean;
44
40
  /**
45
- * Функция, которая позволяет родительскому компоненту понять, что элемент открылся и закрыть другой элемент
41
+ * Индекс элемента
46
42
  */
47
- updateValue?: (index?: number, value?: boolean) => void;
43
+ index: number;
48
44
  };
49
45
  export declare type AccordionItemProps = CustomAccordionItemProps;
50
46
  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,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;IAMrE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D,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,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,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAExD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAMnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,kBAAkB,GAAG,wBAAwB,CAAC"}
@@ -1,17 +1,16 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import { AccordionItemProps } from '../ui/AccordionItem/AccordionItem.types';
3
3
  export declare const updatePropsRecursively: (children?: ReactElement<{
4
- eventKey?: string | number | undefined;
5
4
  value?: boolean | undefined;
6
5
  type?: "clear" | "arrow" | "sign" | undefined;
7
6
  contentLeft?: ReactNode;
8
7
  contentRight?: ReactNode;
9
8
  pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
10
9
  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[];
10
+ children: ReactNode;
11
+ onChangeValue?: ((index: number, value: boolean) => void) | undefined;
12
+ disabled?: boolean | undefined;
13
+ index: number;
14
+ }, string | import("react").JSXElementConstructor<any>>[] | undefined, activeIndex?: number | undefined, disabled?: boolean | undefined, updateValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined) => ReactNode[];
15
+ export declare const getChildren: (children: ReactElement<AccordionItemProps>[], activeIndex?: number | undefined, disabled?: boolean | undefined, updateValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined) => ReactNode[];
17
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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
+ {"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;;;;;;;;;;;qNAIoB,IAAI,kBACxD,SAAS,EAcN,CAAC;AAEP,eAAO,MAAM,WAAW,aACV,aAAa,kBAAkB,CAAC,EAAE,gJAGO,IAAI,6BAG1D,CAAC"}
@@ -1 +1 @@
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
+ {"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,CAU/C,CAAC"}
@@ -14,10 +14,6 @@ export declare const config: {
14
14
  s: import("@linaria/core").LinariaClassName;
15
15
  xs: import("@linaria/core").LinariaClassName;
16
16
  };
17
- stretching: {
18
- filled: import("@linaria/core").LinariaClassName;
19
- fixed: import("@linaria/core").LinariaClassName;
20
- };
21
17
  };
22
18
  };
23
19
  //# sourceMappingURL=Accordion.config.d.ts.map
@@ -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;;;;;;;;;;;;;;;;;;;;;CAyHlB,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;;;;;;;;;;;;;;;;;CAqHlB,CAAC"}
@@ -11,15 +11,14 @@ export declare const Accordion: import("react").FunctionComponent<import("../../
11
11
  s: import("@linaria/core").LinariaClassName;
12
12
  xs: import("@linaria/core").LinariaClassName;
13
13
  };
14
- stretching: {
15
- filled: import("@linaria/core").LinariaClassName;
16
- fixed: import("@linaria/core").LinariaClassName;
17
- };
18
14
  }> & {
19
15
  view: string;
20
16
  size?: string | undefined;
21
- once?: boolean | undefined;
17
+ singleActive?: boolean | undefined;
18
+ defaultActiveIndex?: number | undefined;
19
+ disabled?: boolean | undefined;
22
20
  stretching?: "fixed" | "filled" | undefined;
21
+ onChangeValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined;
23
22
  children?: import("react").ReactNode;
24
23
  className?: string | undefined;
25
24
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -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"}
@@ -18,8 +18,11 @@ export declare const Accordion: import("react").FunctionComponent<import("../../
18
18
  }> & {
19
19
  view: string;
20
20
  size?: string | undefined;
21
- once?: boolean | undefined;
21
+ singleActive?: boolean | undefined;
22
+ defaultActiveIndex?: number | undefined;
23
+ disabled?: boolean | undefined;
22
24
  stretching?: "fixed" | "filled" | undefined;
25
+ onChangeValue?: ((index?: number | undefined, value?: boolean | undefined) => void) | undefined;
23
26
  children?: import("react").ReactNode;
24
27
  className?: string | undefined;
25
28
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -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"}