@salutejs/plasma-new-hope 0.88.0-canary.1222.9283214118.0 → 0.88.0-canary.1223.9286484439.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/styled-components/cjs/components/Accordion/Accordion.js +50 -0
- package/styled-components/cjs/components/Accordion/Accordion.styles.js +9 -0
- package/styled-components/cjs/components/Accordion/Accordion.tokens.js +41 -0
- package/styled-components/cjs/components/Accordion/Accordion.types.js +5 -0
- package/styled-components/cjs/components/Accordion/index.js +38 -0
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +89 -0
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +46 -0
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.types.js +5 -0
- package/styled-components/cjs/components/Accordion/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Accordion/variations/_size/tokens.json +6 -0
- package/styled-components/cjs/components/Accordion/variations/_stretching/base.js +8 -0
- package/styled-components/cjs/components/Accordion/variations/_stretching/tokens.json +1 -0
- package/styled-components/cjs/components/Accordion/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Accordion/variations/_view/tokens.json +8 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +30 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.js +17 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +75 -0
- package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.config.js +30 -0
- package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.js +17 -0
- package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +90 -0
- package/styled-components/es/components/Accordion/Accordion.js +41 -0
- package/styled-components/es/components/Accordion/Accordion.styles.js +3 -0
- package/styled-components/es/components/Accordion/Accordion.tokens.js +35 -0
- package/styled-components/es/components/Accordion/Accordion.types.js +1 -0
- package/styled-components/es/components/Accordion/index.js +3 -0
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +80 -0
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +39 -0
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.types.js +1 -0
- package/styled-components/es/components/Accordion/variations/_size/base.js +2 -0
- package/styled-components/es/components/Accordion/variations/_size/tokens.json +6 -0
- package/styled-components/es/components/Accordion/variations/_stretching/base.js +2 -0
- package/styled-components/es/components/Accordion/variations/_stretching/tokens.json +1 -0
- package/styled-components/es/components/Accordion/variations/_view/base.js +2 -0
- package/styled-components/es/components/Accordion/variations/_view/tokens.json +8 -0
- package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +24 -0
- package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.js +6 -0
- package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +75 -0
- package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.config.js +24 -0
- package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.js +6 -0
- package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +90 -0
- package/types/components/Accordion/Accordion.d.ts +35 -0
- package/types/components/Accordion/Accordion.d.ts.map +1 -0
- package/types/components/Accordion/Accordion.styles.d.ts +2 -0
- package/types/components/Accordion/Accordion.styles.d.ts.map +1 -0
- package/types/components/Accordion/Accordion.tokens.d.ts +36 -0
- package/types/components/Accordion/Accordion.tokens.d.ts.map +1 -0
- package/types/components/Accordion/Accordion.types.d.ts +24 -0
- package/types/components/Accordion/Accordion.types.d.ts.map +1 -0
- package/types/components/Accordion/index.d.ts +5 -0
- package/types/components/Accordion/index.d.ts.map +1 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +4 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +12 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +1 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +39 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +1 -0
- package/types/components/Accordion/variations/_size/base.d.ts +2 -0
- package/types/components/Accordion/variations/_size/base.d.ts.map +1 -0
- package/types/components/Accordion/variations/_stretching/base.d.ts +2 -0
- package/types/components/Accordion/variations/_stretching/base.d.ts.map +1 -0
- package/types/components/Accordion/variations/_view/base.d.ts +2 -0
- package/types/components/Accordion/variations/_view/base.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts +23 -0
- package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +26 -0
- package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts +23 -0
- package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +26 -0
- package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +1 -0
@@ -0,0 +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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Accordion.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAchB,CAAC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
export declare const classes: {
|
2
|
+
filledStretching: string;
|
3
|
+
fixedStretching: string;
|
4
|
+
accordionRoot: string;
|
5
|
+
accordionItem: string;
|
6
|
+
clearAccordionItem: string;
|
7
|
+
accordionItemShowBody: string;
|
8
|
+
};
|
9
|
+
export declare const tokens: {
|
10
|
+
accordionGap: string;
|
11
|
+
accordionWidth: string;
|
12
|
+
accordionBackground: string;
|
13
|
+
accordionItemBackground: string;
|
14
|
+
accordionItemBorderRadius: string;
|
15
|
+
accordionItemPaddingTop: string;
|
16
|
+
accordionItemPaddingRight: string;
|
17
|
+
accordionItemPaddingBottom: string;
|
18
|
+
accordionItemPaddingLeft: string;
|
19
|
+
accordionItemGap: string;
|
20
|
+
accordionItemFocus: string;
|
21
|
+
accordionItemTitleColor: string;
|
22
|
+
accordionItemTitleFontFamily: string;
|
23
|
+
accordionItemTitleFontSize: string;
|
24
|
+
accordionItemTitleFontStyle: string;
|
25
|
+
accordionItemTitleFontWeight: string;
|
26
|
+
accordionItemTitleLetterSpacing: string;
|
27
|
+
accordionItemTitleLineHeight: string;
|
28
|
+
accordionItemTextColor: string;
|
29
|
+
accordionItemTextFontFamily: string;
|
30
|
+
accordionItemTextFontSize: string;
|
31
|
+
accordionItemTextFontStyle: string;
|
32
|
+
accordionItemTextFontWeight: string;
|
33
|
+
accordionItemTextLetterSpacing: string;
|
34
|
+
accordionItemTextLineHeight: string;
|
35
|
+
};
|
36
|
+
//# sourceMappingURL=Accordion.tokens.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Accordion.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BlB,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
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
|
@@ -0,0 +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"}
|
@@ -0,0 +1,5 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +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;AAiB1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAqEvF,CAAC"}
|
@@ -0,0 +1,12 @@
|
|
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 StyledClose: import("styled-components").StyledComponent<import("react").FC<import("../../../_Icon/IconRoot").IconProps>, any, {}, never>;
|
12
|
+
//# sourceMappingURL=AccordionItem.styles.d.ts.map
|
@@ -0,0 +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,oEAOvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oEAStC,CAAC;AAEF,eAAO,MAAM,oBAAoB,oEAQhC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oEAUtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,oEAW/B,CAAC;AAEF,eAAO,MAAM,WAAW,8HAIvB,CAAC;AAEF,eAAO,MAAM,WAAW,8HAOvB,CAAC"}
|
@@ -0,0 +1,39 @@
|
|
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
|
@@ -0,0 +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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/variations/_stretching/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
};
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
secondary: 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
|
@@ -0,0 +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"}
|
@@ -0,0 +1,26 @@
|
|
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
|
+
secondary: 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
|
@@ -0,0 +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"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
};
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
secondary: 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
|
@@ -0,0 +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"}
|
@@ -0,0 +1,26 @@
|
|
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
|
+
secondary: 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
|
@@ -0,0 +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"}
|