@salutejs/plasma-new-hope 0.88.0-canary.1222.9283214118.0 → 0.88.0-canary.1223.9301566220.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 +42 -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 +96 -0
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +49 -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/components/_Icon/Icon.assets/Minus.js +21 -0
- package/styled-components/cjs/components/_Icon/Icons/IconMinus.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +8 -1
- 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 +75 -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 +36 -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 +87 -0
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +42 -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/components/_Icon/Icon.assets/Minus.js +14 -0
- package/styled-components/es/components/_Icon/Icons/IconMinus.js +15 -0
- package/styled-components/es/components/_Icon/index.js +2 -1
- 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 +75 -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 +37 -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 +13 -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/components/_Icon/Icon.assets/Minus.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/Minus.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconMinus.d.ts +4 -0
- package/types/components/_Icon/Icons/IconMinus.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +1 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- 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,75 @@
|
|
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
|
+
};
|
@@ -0,0 +1,35 @@
|
|
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
|
@@ -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,37 @@
|
|
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
|
@@ -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;;;;;;;;CAQnB,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;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"}
|
@@ -0,0 +1,13 @@
|
|
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
|
@@ -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,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"}
|
@@ -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 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -7,4 +7,5 @@ export { IconChevronDown } from './Icons/IconChevronDown';
|
|
7
7
|
export { IconClose } from './Icons/IconClose';
|
8
8
|
export { IconCross } from './Icons/IconCross';
|
9
9
|
export { IconDone } from './Icons/IconDone';
|
10
|
+
export { IconMinus } from './Icons/IconMinus';
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
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
|
@@ -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
|
+
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
|
@@ -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
|
+
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
|
@@ -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
|
+
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
|
@@ -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"}
|