@salutejs/plasma-new-hope 0.88.0-canary.1223.9382521438.0 → 0.88.0-canary.1223.9385643490.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Accordion/Accordion.css +1 -1
- package/cjs/components/Accordion/Accordion.js +12 -10
- package/cjs/components/Accordion/Accordion.js.map +1 -1
- package/cjs/components/Accordion/Accordion.styles.js +1 -1
- package/cjs/components/Accordion/Accordion.styles.js.map +1 -1
- package/cjs/components/Accordion/{Accordion.styles_1mo1sxr.css → Accordion.styles_rsiff6.css} +1 -1
- package/cjs/components/Accordion/Accordion.tokens.js +2 -1
- package/cjs/components/Accordion/Accordion.tokens.js.map +1 -1
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
- package/cjs/components/Accordion/utils/index.js +5 -4
- package/cjs/components/Accordion/utils/index.js.map +1 -1
- package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
- package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js.map +1 -1
- package/cjs/index.css +1 -1
- package/es/components/Accordion/Accordion.css +1 -1
- package/es/components/Accordion/Accordion.js +13 -11
- package/es/components/Accordion/Accordion.js.map +1 -1
- package/es/components/Accordion/Accordion.styles.js +1 -1
- package/es/components/Accordion/Accordion.styles.js.map +1 -1
- package/es/components/Accordion/{Accordion.styles_1mo1sxr.css → Accordion.styles_rsiff6.css} +1 -1
- package/es/components/Accordion/Accordion.tokens.js +2 -1
- package/es/components/Accordion/Accordion.tokens.js.map +1 -1
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
- package/es/components/Accordion/utils/index.js +5 -4
- package/es/components/Accordion/utils/index.js.map +1 -1
- package/es/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
- package/es/components/_Icon/Icon.assets/ChevronDownFill.js.map +1 -1
- package/es/index.css +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Accordion/Accordion.js +12 -10
- package/styled-components/cjs/components/Accordion/Accordion.styles.js +1 -1
- package/styled-components/cjs/components/Accordion/Accordion.tokens.js +2 -1
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
- package/styled-components/cjs/components/Accordion/utils/index.js +5 -4
- package/styled-components/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
- package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -4
- package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +11 -4
- package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +10 -4
- package/styled-components/es/components/Accordion/Accordion.js +13 -11
- package/styled-components/es/components/Accordion/Accordion.styles.js +1 -1
- package/styled-components/es/components/Accordion/Accordion.tokens.js +2 -1
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +21 -15
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +5 -5
- package/styled-components/es/components/Accordion/utils/index.js +5 -4
- package/styled-components/es/components/_Icon/Icon.assets/ChevronDownFill.js +3 -12
- package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -4
- package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +11 -4
- package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +10 -4
- package/types/components/Accordion/Accordion.d.ts +8 -2
- package/types/components/Accordion/Accordion.d.ts.map +1 -1
- package/types/components/Accordion/Accordion.tokens.d.ts +1 -0
- package/types/components/Accordion/Accordion.tokens.d.ts.map +1 -1
- package/types/components/Accordion/Accordion.types.d.ts +14 -6
- package/types/components/Accordion/Accordion.types.d.ts.map +1 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +1 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +11 -15
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +1 -1
- package/types/components/Accordion/utils/index.d.ts +6 -7
- package/types/components/Accordion/utils/index.d.ts.map +1 -1
- package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts +0 -4
- package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +4 -5
- package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +4 -1
- package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +1 -1
@@ -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
|
-
|
12
|
-
onChangeValue?: ((
|
13
|
-
|
14
|
-
|
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
|
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,
|
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
|
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
|
-
|
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
|
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
|
-
|
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
|
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"}
|