@salutejs/plasma-new-hope 0.261.0-canary.1760.13180340956.0 → 0.261.0-canary.1762.13182430055.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Drawer/Drawer.css +5 -5
- package/cjs/components/Drawer/Drawer.js +1 -5
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.css +5 -5
- package/cjs/components/Panel/Panel.css +2 -2
- package/cjs/components/Panel/Panel.js +6 -7
- package/cjs/components/Panel/Panel.js.map +1 -1
- package/cjs/components/Panel/Panel.styles.js +2 -12
- package/cjs/components/Panel/Panel.styles.js.map +1 -1
- package/cjs/components/Panel/Panel.styles_2oh0yk.css +1 -0
- package/cjs/components/Panel/Panel.tokens.js +0 -15
- package/cjs/components/Panel/Panel.tokens.js.map +1 -1
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +3 -3
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +9 -9
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
- package/{es/components/Panel/ui/PanelHeader/PanelHeader.styles_16qje7n.css → cjs/components/Panel/ui/PanelHeader/PanelHeader.styles_8c7krd.css} +1 -1
- package/cjs/components/Panel/variations/_view/base.js +1 -1
- package/cjs/components/Panel/variations/_view/base.js.map +1 -1
- package/cjs/components/Panel/variations/_view/base_10gjs6e.css +1 -0
- package/cjs/index.css +5 -5
- package/emotion/cjs/components/Checkbox/Checkbox.template-doc.mdx +4 -0
- package/emotion/cjs/components/Drawer/Drawer.js +1 -5
- package/emotion/cjs/components/Panel/Panel.js +6 -7
- package/emotion/cjs/components/Panel/Panel.styles.js +1 -4
- package/emotion/cjs/components/Panel/Panel.tokens.js +1 -6
- package/emotion/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +4 -4
- package/emotion/cjs/components/Panel/variations/_view/base.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -11
- package/emotion/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +0 -10
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +0 -10
- package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +0 -10
- package/emotion/es/components/Checkbox/Checkbox.template-doc.mdx +4 -0
- package/emotion/es/components/Drawer/Drawer.js +1 -5
- package/emotion/es/components/Panel/Panel.js +7 -8
- package/emotion/es/components/Panel/Panel.styles.js +1 -4
- package/emotion/es/components/Panel/Panel.tokens.js +0 -5
- package/emotion/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +5 -5
- package/emotion/es/components/Panel/variations/_view/base.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -11
- package/emotion/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +0 -10
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +0 -10
- package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Panel/Panel.stories.tsx +0 -10
- package/es/components/Drawer/Drawer.css +5 -5
- package/es/components/Drawer/Drawer.js +1 -5
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Drawer/ui/DrawerContent/DrawerContent.css +5 -5
- package/es/components/Panel/Panel.css +2 -2
- package/es/components/Panel/Panel.js +8 -9
- package/es/components/Panel/Panel.js.map +1 -1
- package/es/components/Panel/Panel.styles.js +2 -12
- package/es/components/Panel/Panel.styles.js.map +1 -1
- package/es/components/Panel/Panel.styles_2oh0yk.css +1 -0
- package/es/components/Panel/Panel.tokens.js +1 -14
- package/es/components/Panel/Panel.tokens.js.map +1 -1
- package/es/components/Panel/ui/PanelHeader/PanelHeader.css +3 -3
- package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +9 -9
- package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
- package/{cjs/components/Panel/ui/PanelHeader/PanelHeader.styles_16qje7n.css → es/components/Panel/ui/PanelHeader/PanelHeader.styles_8c7krd.css} +1 -1
- package/es/components/Panel/variations/_view/base.js +1 -1
- package/es/components/Panel/variations/_view/base.js.map +1 -1
- package/es/components/Panel/variations/_view/base_10gjs6e.css +1 -0
- package/es/index.css +5 -5
- package/package.json +2 -2
- package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +4 -0
- package/styled-components/cjs/components/Drawer/Drawer.js +1 -5
- package/styled-components/cjs/components/Panel/Panel.js +6 -7
- package/styled-components/cjs/components/Panel/Panel.styles.js +1 -4
- package/styled-components/cjs/components/Panel/Panel.tokens.js +1 -6
- package/styled-components/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -1
- package/styled-components/cjs/components/Panel/variations/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -11
- package/styled-components/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +0 -10
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +0 -10
- package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +0 -10
- package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +4 -0
- package/styled-components/es/components/Drawer/Drawer.js +1 -5
- package/styled-components/es/components/Panel/Panel.js +7 -8
- package/styled-components/es/components/Panel/Panel.styles.js +1 -4
- package/styled-components/es/components/Panel/Panel.tokens.js +0 -5
- package/styled-components/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +2 -2
- package/styled-components/es/components/Panel/variations/_view/base.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -11
- package/styled-components/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +0 -10
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +0 -10
- package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Panel/Panel.stories.tsx +0 -10
- package/types/components/Drawer/Drawer.d.ts +0 -4
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.types.d.ts +0 -8
- package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
- package/types/components/Panel/Panel.d.ts.map +1 -1
- package/types/components/Panel/Panel.styles.d.ts +1 -3
- package/types/components/Panel/Panel.styles.d.ts.map +1 -1
- package/types/components/Panel/Panel.tokens.d.ts +0 -5
- package/types/components/Panel/Panel.tokens.d.ts.map +1 -1
- package/types/components/Panel/Panel.types.d.ts +0 -8
- package/types/components/Panel/Panel.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Avatar/Avatar.d.ts +4 -4
- package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Drawer/Drawer.d.ts +0 -2
- package/types/examples/plasma_b2c/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Avatar/Avatar.d.ts +4 -4
- package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts +1 -1
- package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts +1 -1
- package/types/examples/plasma_web/components/Drawer/Drawer.d.ts +0 -2
- package/types/examples/plasma_web/components/Drawer/Drawer.d.ts.map +1 -1
- package/cjs/components/Panel/Panel.styles_1g0gq8z.css +0 -1
- package/cjs/components/Panel/variations/_view/base_lwq4bq.css +0 -1
- package/es/components/Panel/Panel.styles_1g0gq8z.css +0 -1
- package/es/components/Panel/variations/_view/base_lwq4bq.css +0 -1
@@ -3,12 +3,9 @@ import type { ComponentProps } from 'react';
|
|
3
3
|
import type { StoryObj, Meta } from '@storybook/react';
|
4
4
|
import { action } from '@storybook/addon-actions';
|
5
5
|
|
6
|
-
import {
|
7
|
-
import { mergeConfig } from '../../../../engines';
|
8
|
-
import { WithTheme, argTypesFromConfig } from '../../../_helpers';
|
6
|
+
import { WithTheme } from '../../../_helpers';
|
9
7
|
import { Link } from '../Link/Link';
|
10
8
|
|
11
|
-
import { config } from './Checkbox.config';
|
12
9
|
import { Checkbox } from './Checkbox';
|
13
10
|
|
14
11
|
const onChange = action('onChange');
|
@@ -19,7 +16,20 @@ const meta: Meta<typeof Checkbox> = {
|
|
19
16
|
title: 'b2c/Data Entry/Checkbox',
|
20
17
|
decorators: [WithTheme],
|
21
18
|
component: Checkbox,
|
22
|
-
argTypes:
|
19
|
+
argTypes: {
|
20
|
+
view: {
|
21
|
+
options: ['accent'],
|
22
|
+
control: {
|
23
|
+
type: 'radio',
|
24
|
+
},
|
25
|
+
},
|
26
|
+
size: {
|
27
|
+
options: ['m', 's'],
|
28
|
+
control: {
|
29
|
+
type: 'radio',
|
30
|
+
},
|
31
|
+
},
|
32
|
+
},
|
23
33
|
args: {
|
24
34
|
view: 'accent',
|
25
35
|
size: 'm',
|
@@ -14,7 +14,7 @@ import type { ClosePlacementType } from '../../../../components/Drawer';
|
|
14
14
|
import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from './Drawer';
|
15
15
|
|
16
16
|
export default {
|
17
|
-
title: 'b2c/Overlay/
|
17
|
+
title: 'b2c/Overlay/Divider',
|
18
18
|
decorators: [WithTheme],
|
19
19
|
argTypes: {
|
20
20
|
placement: {
|
@@ -85,16 +85,6 @@ export default {
|
|
85
85
|
type: 'select',
|
86
86
|
},
|
87
87
|
},
|
88
|
-
customBackgroundColor: {
|
89
|
-
control: {
|
90
|
-
type: 'color',
|
91
|
-
},
|
92
|
-
},
|
93
|
-
customContentBackgroundColor: {
|
94
|
-
control: {
|
95
|
-
type: 'color',
|
96
|
-
},
|
97
|
-
},
|
98
88
|
},
|
99
89
|
} as Meta;
|
100
90
|
|
@@ -47,16 +47,6 @@ export default {
|
|
47
47
|
},
|
48
48
|
table: { defaultValue: { summary: 'right' } },
|
49
49
|
},
|
50
|
-
customBackgroundColor: {
|
51
|
-
control: {
|
52
|
-
type: 'color',
|
53
|
-
},
|
54
|
-
},
|
55
|
-
customContentBackgroundColor: {
|
56
|
-
control: {
|
57
|
-
type: 'color',
|
58
|
-
},
|
59
|
-
},
|
60
50
|
},
|
61
51
|
} as Meta;
|
62
52
|
|