@salutejs/plasma-new-hope 0.231.0-canary.1603.12468946891.0 → 0.231.0-canary.1657.12468366213.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +4 -4
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +4 -4
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +4 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -4
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +4 -4
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +4 -4
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +4 -4
- package/cjs/components/Dropdown/Dropdown.css +4 -4
- package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.css +4 -4
- package/cjs/components/Flow/Flow.css +1 -0
- package/cjs/components/Flow/Flow.js +58 -0
- package/cjs/components/Flow/Flow.js.map +1 -0
- package/cjs/components/Flow/Flow.styles.js +9 -0
- package/cjs/components/Flow/Flow.styles.js.map +1 -0
- package/cjs/components/Flow/Flow.styles_1xdoipm.css +1 -0
- package/cjs/components/Pagination/Pagination.css +4 -4
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
- package/cjs/components/Popover/Popover.css +4 -4
- package/cjs/components/Popover/Popover.js +5 -9
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/components/Popover/Popover.styles.js +7 -7
- package/cjs/components/Popover/Popover.styles.js.map +1 -1
- package/cjs/components/Popover/{Popover.styles_gh4xvw.css → Popover.styles_mzmbre.css} +2 -2
- package/cjs/components/Popover/Popover.tokens.js +1 -2
- package/cjs/components/Popover/Popover.tokens.js.map +1 -1
- package/cjs/components/Portal/Portal.js +1 -1
- package/cjs/components/Portal/Portal.js.map +1 -1
- package/cjs/components/Range/Range.css +4 -4
- package/cjs/components/Select/Select.css +4 -4
- package/cjs/components/Select/ui/Target/Target.css +4 -4
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +4 -4
- package/cjs/components/Slider/Slider.css +4 -4
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +4 -4
- package/cjs/components/TextArea/ui/Hint/Hint.css +4 -4
- package/cjs/components/TextField/ui/Hint/Hint.css +4 -4
- package/cjs/index.css +6 -10
- package/cjs/index.js +3 -4
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Flow/Flow.js +66 -0
- package/emotion/cjs/components/Flow/Flow.styles.js +17 -0
- package/emotion/cjs/components/Flow/Flow.types.js +5 -0
- package/emotion/cjs/components/Flow/index.js +18 -0
- package/emotion/cjs/components/Popover/Popover.js +6 -10
- package/emotion/cjs/components/Popover/Popover.styles.js +16 -8
- package/emotion/cjs/components/Popover/Popover.template-doc.mdx +43 -128
- package/emotion/cjs/components/Popover/Popover.tokens.js +1 -2
- package/emotion/cjs/components/Portal/Portal.js +1 -1
- package/emotion/cjs/components/_Icon/index.js +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/Flow/Flow.config.js +10 -0
- package/emotion/cjs/examples/plasma_b2c/components/Flow/Flow.js +11 -0
- package/emotion/cjs/examples/plasma_b2c/components/Flow/Flow.stories.tsx +114 -0
- package/emotion/cjs/index.js +11 -11
- package/emotion/es/components/Flow/Flow.js +57 -0
- package/emotion/es/components/Flow/Flow.styles.js +11 -0
- package/emotion/es/components/Flow/Flow.types.js +1 -0
- package/emotion/es/components/Flow/index.js +1 -0
- package/emotion/es/components/Popover/Popover.js +7 -11
- package/emotion/es/components/Popover/Popover.styles.js +16 -8
- package/emotion/es/components/Popover/Popover.template-doc.mdx +43 -128
- package/emotion/es/components/Popover/Popover.tokens.js +1 -2
- package/emotion/es/components/Portal/Portal.js +1 -1
- package/emotion/es/components/_Icon/index.js +1 -2
- package/emotion/es/examples/plasma_b2c/components/Flow/Flow.config.js +4 -0
- package/emotion/es/examples/plasma_b2c/components/Flow/Flow.js +5 -0
- package/emotion/es/examples/plasma_b2c/components/Flow/Flow.stories.tsx +114 -0
- package/emotion/es/index.js +1 -1
- package/es/components/Autocomplete/Autocomplete.css +4 -4
- package/es/components/Combobox/ComboboxNew/Combobox.css +4 -4
- package/es/components/Combobox/ComboboxOld/Combobox.css +4 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -4
- package/es/components/DatePicker/RangeDate/RangeDate.css +4 -4
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +4 -4
- package/es/components/DatePicker/SingleDate/SingleDate.css +4 -4
- package/es/components/Dropdown/Dropdown.css +4 -4
- package/es/components/Dropdown/ui/DropdownOld/DropdownOld.css +4 -4
- package/es/components/Flow/Flow.css +1 -0
- package/es/components/Flow/Flow.js +53 -0
- package/es/components/Flow/Flow.js.map +1 -0
- package/es/components/Flow/Flow.styles.js +5 -0
- package/es/components/Flow/Flow.styles.js.map +1 -0
- package/es/components/Flow/Flow.styles_1xdoipm.css +1 -0
- package/es/components/Pagination/Pagination.css +4 -4
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
- package/es/components/Popover/Popover.css +4 -4
- package/es/components/Popover/Popover.js +7 -11
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/components/Popover/Popover.styles.js +7 -7
- package/es/components/Popover/Popover.styles.js.map +1 -1
- package/es/components/Popover/{Popover.styles_gh4xvw.css → Popover.styles_mzmbre.css} +2 -2
- package/es/components/Popover/Popover.tokens.js +1 -2
- package/es/components/Popover/Popover.tokens.js.map +1 -1
- package/es/components/Portal/Portal.js +1 -1
- package/es/components/Portal/Portal.js.map +1 -1
- package/es/components/Range/Range.css +4 -4
- package/es/components/Select/Select.css +4 -4
- package/es/components/Select/ui/Target/Target.css +4 -4
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +4 -4
- package/es/components/Slider/Slider.css +4 -4
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +4 -4
- package/es/components/TextArea/ui/Hint/Hint.css +4 -4
- package/es/components/TextField/ui/Hint/Hint.css +4 -4
- package/es/index.css +6 -10
- package/es/index.js +1 -2
- package/es/index.js.map +1 -1
- package/package.json +2 -3
- package/styled-components/cjs/components/ElasticGrid/ElasticGrid.js +5 -0
- package/styled-components/cjs/components/ElasticGrid/index.js +5 -0
- package/styled-components/cjs/components/Flow/Flow.js +66 -0
- package/styled-components/cjs/components/Flow/Flow.styles.js +8 -0
- package/styled-components/cjs/components/Flow/Flow.types.js +5 -0
- package/styled-components/cjs/components/Flow/index.js +18 -0
- package/styled-components/cjs/components/Popover/Popover.js +6 -10
- package/styled-components/cjs/components/Popover/Popover.styles.js +4 -4
- package/styled-components/cjs/components/Popover/Popover.template-doc.mdx +43 -128
- package/styled-components/cjs/components/Popover/Popover.tokens.js +1 -2
- package/styled-components/cjs/components/Portal/Portal.js +1 -1
- package/styled-components/cjs/components/_Icon/index.js +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Flow/Flow.config.js +10 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Flow/Flow.js +11 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Flow/Flow.stories.tsx +114 -0
- package/styled-components/cjs/index.js +11 -11
- package/styled-components/es/components/ElasticGrid/ElasticGrid.js +1 -0
- package/styled-components/es/components/ElasticGrid/index.js +1 -0
- package/styled-components/es/components/Flow/Flow.js +57 -0
- package/styled-components/es/components/Flow/Flow.styles.js +2 -0
- package/styled-components/es/components/Flow/Flow.types.js +1 -0
- package/styled-components/es/components/Flow/index.js +1 -0
- package/styled-components/es/components/Popover/Popover.js +7 -11
- package/styled-components/es/components/Popover/Popover.styles.js +4 -4
- package/styled-components/es/components/Popover/Popover.template-doc.mdx +43 -128
- package/styled-components/es/components/Popover/Popover.tokens.js +1 -2
- package/styled-components/es/components/Portal/Portal.js +1 -1
- package/styled-components/es/components/_Icon/index.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/Flow/Flow.config.js +4 -0
- package/styled-components/es/examples/plasma_b2c/components/Flow/Flow.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/Flow/Flow.stories.tsx +114 -0
- package/styled-components/es/index.js +1 -1
- package/types/components/ElasticGrid/ElasticGrid.d.ts +2 -0
- package/types/components/ElasticGrid/ElasticGrid.d.ts.map +1 -0
- package/types/components/ElasticGrid/index.d.ts +2 -0
- package/types/components/ElasticGrid/index.d.ts.map +1 -0
- package/types/components/Flow/Flow.d.ts +13 -0
- package/types/components/Flow/Flow.d.ts.map +1 -0
- package/types/components/Flow/Flow.styles.d.ts +2 -0
- package/types/components/Flow/Flow.styles.d.ts.map +1 -0
- package/types/components/Flow/Flow.types.d.ts +35 -0
- package/types/components/Flow/Flow.types.d.ts.map +1 -0
- package/types/components/Flow/index.d.ts +2 -0
- package/types/components/Flow/index.d.ts.map +1 -0
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/Popover/Popover.styles.d.ts +1 -1
- package/types/components/Popover/Popover.styles.d.ts.map +1 -1
- package/types/components/Popover/Popover.tokens.d.ts +0 -1
- package/types/components/Popover/Popover.tokens.d.ts.map +1 -1
- package/types/components/Popover/Popover.types.d.ts +4 -4
- package/types/components/Popover/Popover.types.d.ts.map +1 -1
- package/types/components/Portal/Portal.types.d.ts +1 -1
- package/types/components/Portal/Portal.types.d.ts.map +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Flow/Flow.config.d.ts +5 -0
- package/types/examples/plasma_b2c/components/Flow/Flow.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Flow/Flow.d.ts +3 -0
- package/types/examples/plasma_b2c/components/Flow/Flow.d.ts.map +1 -0
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Tree/Tree.css +0 -7
- package/cjs/components/Tree/Tree.js +0 -99
- package/cjs/components/Tree/Tree.js.map +0 -1
- package/cjs/components/Tree/Tree.styles.js +0 -43
- package/cjs/components/Tree/Tree.styles.js.map +0 -1
- package/cjs/components/Tree/Tree.styles_1mwgczn.css +0 -5
- package/cjs/components/Tree/Tree.tokens.js +0 -43
- package/cjs/components/Tree/Tree.tokens.js.map +0 -1
- package/cjs/components/Tree/utils/sizeToIconSize.js +0 -11
- package/cjs/components/Tree/utils/sizeToIconSize.js.map +0 -1
- package/cjs/components/_Icon/Icon.assets/Folder.js +0 -25
- package/cjs/components/_Icon/Icon.assets/Folder.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconFolder.js +0 -23
- package/cjs/components/_Icon/Icons/IconFolder.js.map +0 -1
- package/emotion/cjs/components/Tree/Tree.js +0 -100
- package/emotion/cjs/components/Tree/Tree.styles.js +0 -38
- package/emotion/cjs/components/Tree/Tree.template-doc.mdx +0 -103
- package/emotion/cjs/components/Tree/Tree.tokens.js +0 -41
- package/emotion/cjs/components/Tree/index.js +0 -19
- package/emotion/cjs/components/Tree/utils/index.js +0 -12
- package/emotion/cjs/components/Tree/utils/sizeToIconSize.js +0 -10
- package/emotion/cjs/components/_Icon/Icon.assets/Folder.js +0 -24
- package/emotion/cjs/components/_Icon/Icons/IconFolder.js +0 -22
- package/emotion/cjs/examples/plasma_b2c/components/Tree/Tree.config.js +0 -25
- package/emotion/cjs/examples/plasma_b2c/components/Tree/Tree.js +0 -13
- package/emotion/cjs/examples/plasma_b2c/components/Tree/Tree.stories.tsx +0 -117
- package/emotion/cjs/examples/plasma_web/components/Tree/Tree.config.js +0 -25
- package/emotion/cjs/examples/plasma_web/components/Tree/Tree.js +0 -13
- package/emotion/cjs/examples/plasma_web/components/Tree/Tree.stories.tsx +0 -117
- package/emotion/es/components/Tree/Tree.js +0 -91
- package/emotion/es/components/Tree/Tree.styles.js +0 -31
- package/emotion/es/components/Tree/Tree.template-doc.mdx +0 -103
- package/emotion/es/components/Tree/Tree.tokens.js +0 -35
- package/emotion/es/components/Tree/index.js +0 -2
- package/emotion/es/components/Tree/utils/index.js +0 -1
- package/emotion/es/components/Tree/utils/sizeToIconSize.js +0 -4
- package/emotion/es/components/_Icon/Icon.assets/Folder.js +0 -17
- package/emotion/es/components/_Icon/Icons/IconFolder.js +0 -15
- package/emotion/es/examples/plasma_b2c/components/Tree/Tree.config.js +0 -19
- package/emotion/es/examples/plasma_b2c/components/Tree/Tree.js +0 -8
- package/emotion/es/examples/plasma_b2c/components/Tree/Tree.stories.tsx +0 -117
- package/emotion/es/examples/plasma_web/components/Tree/Tree.config.js +0 -19
- package/emotion/es/examples/plasma_web/components/Tree/Tree.js +0 -8
- package/emotion/es/examples/plasma_web/components/Tree/Tree.stories.tsx +0 -117
- package/es/components/Tree/Tree.css +0 -7
- package/es/components/Tree/Tree.js +0 -94
- package/es/components/Tree/Tree.js.map +0 -1
- package/es/components/Tree/Tree.styles.js +0 -35
- package/es/components/Tree/Tree.styles.js.map +0 -1
- package/es/components/Tree/Tree.styles_1mwgczn.css +0 -5
- package/es/components/Tree/Tree.tokens.js +0 -38
- package/es/components/Tree/Tree.tokens.js.map +0 -1
- package/es/components/Tree/utils/sizeToIconSize.js +0 -7
- package/es/components/Tree/utils/sizeToIconSize.js.map +0 -1
- package/es/components/_Icon/Icon.assets/Folder.js +0 -21
- package/es/components/_Icon/Icon.assets/Folder.js.map +0 -1
- package/es/components/_Icon/Icons/IconFolder.js +0 -19
- package/es/components/_Icon/Icons/IconFolder.js.map +0 -1
- package/styled-components/cjs/components/Tree/Tree.js +0 -100
- package/styled-components/cjs/components/Tree/Tree.styles.js +0 -26
- package/styled-components/cjs/components/Tree/Tree.template-doc.mdx +0 -103
- package/styled-components/cjs/components/Tree/Tree.tokens.js +0 -41
- package/styled-components/cjs/components/Tree/index.js +0 -19
- package/styled-components/cjs/components/Tree/utils/index.js +0 -12
- package/styled-components/cjs/components/Tree/utils/sizeToIconSize.js +0 -10
- package/styled-components/cjs/components/_Icon/Icon.assets/Folder.js +0 -24
- package/styled-components/cjs/components/_Icon/Icons/IconFolder.js +0 -22
- package/styled-components/cjs/examples/plasma_b2c/components/Tree/Tree.config.js +0 -25
- package/styled-components/cjs/examples/plasma_b2c/components/Tree/Tree.js +0 -13
- package/styled-components/cjs/examples/plasma_b2c/components/Tree/Tree.stories.tsx +0 -117
- package/styled-components/cjs/examples/plasma_web/components/Tree/Tree.config.js +0 -25
- package/styled-components/cjs/examples/plasma_web/components/Tree/Tree.js +0 -13
- package/styled-components/cjs/examples/plasma_web/components/Tree/Tree.stories.tsx +0 -117
- package/styled-components/es/components/Tree/Tree.js +0 -91
- package/styled-components/es/components/Tree/Tree.styles.js +0 -18
- package/styled-components/es/components/Tree/Tree.template-doc.mdx +0 -103
- package/styled-components/es/components/Tree/Tree.tokens.js +0 -35
- package/styled-components/es/components/Tree/index.js +0 -2
- package/styled-components/es/components/Tree/utils/index.js +0 -1
- package/styled-components/es/components/Tree/utils/sizeToIconSize.js +0 -4
- package/styled-components/es/components/_Icon/Icon.assets/Folder.js +0 -17
- package/styled-components/es/components/_Icon/Icons/IconFolder.js +0 -15
- package/styled-components/es/examples/plasma_b2c/components/Tree/Tree.config.js +0 -19
- package/styled-components/es/examples/plasma_b2c/components/Tree/Tree.js +0 -8
- package/styled-components/es/examples/plasma_b2c/components/Tree/Tree.stories.tsx +0 -117
- package/styled-components/es/examples/plasma_web/components/Tree/Tree.config.js +0 -19
- package/styled-components/es/examples/plasma_web/components/Tree/Tree.js +0 -8
- package/styled-components/es/examples/plasma_web/components/Tree/Tree.stories.tsx +0 -117
- package/types/components/Tree/Tree.d.ts +0 -20
- package/types/components/Tree/Tree.d.ts.map +0 -1
- package/types/components/Tree/Tree.styles.d.ts +0 -7
- package/types/components/Tree/Tree.styles.d.ts.map +0 -1
- package/types/components/Tree/Tree.tokens.d.ts +0 -36
- package/types/components/Tree/Tree.tokens.d.ts.map +0 -1
- package/types/components/Tree/Tree.types.d.ts +0 -154
- package/types/components/Tree/Tree.types.d.ts.map +0 -1
- package/types/components/Tree/index.d.ts +0 -3
- package/types/components/Tree/index.d.ts.map +0 -1
- package/types/components/Tree/utils/index.d.ts +0 -2
- package/types/components/Tree/utils/index.d.ts.map +0 -1
- package/types/components/Tree/utils/sizeToIconSize.d.ts +0 -2
- package/types/components/Tree/utils/sizeToIconSize.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/Folder.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/Folder.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconFolder.d.ts +0 -4
- package/types/components/_Icon/Icons/IconFolder.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Tree/Tree.config.d.ts +0 -18
- package/types/examples/plasma_b2c/components/Tree/Tree.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Tree/Tree.d.ts +0 -13
- package/types/examples/plasma_b2c/components/Tree/Tree.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Tree/Tree.config.d.ts +0 -18
- package/types/examples/plasma_web/components/Tree/Tree.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Tree/Tree.d.ts +0 -13
- package/types/examples/plasma_web/components/Tree/Tree.d.ts.map +0 -1
- /package/emotion/cjs/components/{Tree/Tree.types.js → ElasticGrid/ElasticGrid.js} +0 -0
- /package/{styled-components/cjs/components/Tree/Tree.types.js → emotion/cjs/components/ElasticGrid/index.js} +0 -0
- /package/emotion/es/components/{Tree/Tree.types.js → ElasticGrid/ElasticGrid.js} +0 -0
- /package/{styled-components/es/components/Tree/Tree.types.js → emotion/es/components/ElasticGrid/index.js} +0 -0
@@ -12,6 +12,7 @@ export * from './components/Breadcrumbs';
|
|
12
12
|
export * from './components/Chip';
|
13
13
|
export * from './components/ChipGroup';
|
14
14
|
export * from './components/Cell';
|
15
|
+
export * from './components/Flow';
|
15
16
|
export * from './components/Link';
|
16
17
|
export * from './components/Spinner';
|
17
18
|
export * from './components/Checkbox';
|
@@ -65,5 +66,4 @@ export * from './components/Attach';
|
|
65
66
|
export * from './components/ViewContainer';
|
66
67
|
export * from './components/NumberInput';
|
67
68
|
export * from './components/Dropzone';
|
68
|
-
export * from './components/Tree';
|
69
69
|
export * from './components/Rating';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ElasticGrid.d.ts","sourceRoot":"","sources":["../../../src/components/ElasticGrid/ElasticGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ElasticGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { RootProps } from '../../engines';
|
3
|
+
import { FlowProps } from './Flow.types';
|
4
|
+
export declare const flowRoot: (Root: RootProps<HTMLDivElement, FlowProps>) => React.ForwardRefExoticComponent<FlowProps & React.RefAttributes<HTMLDivElement>>;
|
5
|
+
export declare const flowConfig: {
|
6
|
+
name: string;
|
7
|
+
tag: string;
|
8
|
+
layout: (Root: RootProps<HTMLDivElement, FlowProps>) => React.ForwardRefExoticComponent<FlowProps & React.RefAttributes<HTMLDivElement>>;
|
9
|
+
base: import("@linaria/core").LinariaClassName;
|
10
|
+
defaults: {};
|
11
|
+
variations: {};
|
12
|
+
};
|
13
|
+
//# sourceMappingURL=Flow.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["../../../src/components/Flow/Flow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAGzD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,qFAiD9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBAnDQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;CA0DlE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Flow.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Flow/Flow.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAoIhB,CAAC"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
2
|
+
export interface FlowProps {
|
3
|
+
children: ReactNode;
|
4
|
+
className?: string;
|
5
|
+
style?: CSSProperties;
|
6
|
+
orientation?: 'horizontal' | 'vertical';
|
7
|
+
/**
|
8
|
+
* Расположение элементов относительно выбранной ориентации
|
9
|
+
*/
|
10
|
+
arrangement?: 'start' | 'center' | 'end' | 'spaceBetween' | 'spaceAround';
|
11
|
+
/**
|
12
|
+
* Выравнивание элементов внутри строк по вертикали при горизонтальной ориентации,
|
13
|
+
* или внутри столбцов по горизонтали при вертикальной
|
14
|
+
*/
|
15
|
+
alignment?: 'start' | 'center' | 'end';
|
16
|
+
/**
|
17
|
+
* Фиксированный отступ между элементами по главной оси
|
18
|
+
*/
|
19
|
+
mainAxisGap?: string;
|
20
|
+
/**
|
21
|
+
* Фиксированный отступ между элементами по второстепенной оси
|
22
|
+
*/
|
23
|
+
crossAxisGap?: string;
|
24
|
+
/**
|
25
|
+
* Количество элементов по главной оси в отображении grid, при itemsPerLine > 0,
|
26
|
+
* иначе используется flex и flex-wrap
|
27
|
+
*/
|
28
|
+
itemsPerLine?: number;
|
29
|
+
/**
|
30
|
+
* Минимальный размер колонки для эластичной сетки с динамическим количеством растянутых столбцов
|
31
|
+
* `grid-template-columns: repeat(auto-fill, minmax(${minColWidth}, auto))`
|
32
|
+
*/
|
33
|
+
minColWidth?: string;
|
34
|
+
}
|
35
|
+
//# sourceMappingURL=Flow.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Flow.types.d.ts","sourceRoot":"","sources":["../../../src/components/Flow/Flow.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,WAAW,SAAS;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,cAAc,GAAG,aAAa,CAAC;IAC1E;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAKpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAMrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,+JA2PpE,CAAC;AAEN,eAAO,MAAM,aAAa;;;mBA7PQ,UAAU,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CA0QxE,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { PopoverProps } from './Popover.types';
|
3
|
-
export declare const StyledRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
3
|
export declare const StyledWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
|
+
export declare const StyledRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
5
|
export declare const StyledArrow: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
6
6
|
export declare const StyledPopover: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<PopoverProps, "zIndex">>;
|
7
7
|
//# sourceMappingURL=Popover.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,MAAM,UAAU,qKAItB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAcvB,CAAC;AAEF,eAAO,MAAM,aAAa,2KAuIzB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { HTMLAttributes, ReactNode,
|
1
|
+
import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
|
2
2
|
import { Placement as PopoverPlacement, ComputedPlacement as PopoverPlacementBasic } from '@popperjs/core';
|
3
3
|
export type { Placement as PopoverPlacement, ComputedPlacement as PopoverPlacementBasic } from '@popperjs/core';
|
4
4
|
export declare type PopoverTrigger = 'hover' | 'click';
|
@@ -32,11 +32,11 @@ export declare type CustomPopoverProps = {
|
|
32
32
|
/**
|
33
33
|
* В каком контейнере позиционируется(по умолчанию document), можно также указать id элемента или ref для него.
|
34
34
|
*/
|
35
|
-
frame?: 'document' | string | RefObject<HTMLElement>;
|
35
|
+
frame?: 'document' | string | React.RefObject<HTMLElement>;
|
36
36
|
/**
|
37
|
-
*
|
37
|
+
* Элемент, рядом с которым произойдет вызов всплывающего окна.
|
38
38
|
*/
|
39
|
-
target?: ReactNode
|
39
|
+
target?: ReactNode;
|
40
40
|
/**
|
41
41
|
* Есть ли стрелка над элементом.
|
42
42
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,
|
1
|
+
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE3G,YAAY,EAAE,SAAS,IAAI,gBAAgB,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAChH,oBAAY,cAAc,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Portal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Portal/Portal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,WAAW,GAAG;IACtB;;OAEG;IACH,SAAS,
|
1
|
+
{"version":3,"file":"Portal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Portal/Portal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,WAAW,GAAG;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW,GAAG,CAAC,MAAM,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
|
@@ -35,5 +35,4 @@ export { IconStarOutline24 } from './Icons/Icon.24/IconStarOutline';
|
|
35
35
|
export { IconStarFill36 } from './Icons/Icon.36/IconStarFill';
|
36
36
|
export { IconStarHalfFill36 } from './Icons/Icon.36/IconStarHalfFill';
|
37
37
|
export { IconStarOutline36 } from './Icons/Icon.36/IconStarOutline';
|
38
|
-
export { IconFolder } from './Icons/IconFolder';
|
39
38
|
//# 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,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,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,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,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,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAA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mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Flow.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Flow/Flow.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;CAGlB,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const Flow: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{}> & import("../../../../components/Flow/Flow.types").FlowProps & import("react").RefAttributes<HTMLDivElement>>;
|
3
|
+
//# sourceMappingURL=Flow.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Flow/Flow.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI,mMAA0B,CAAC"}
|
package/types/index.d.ts
CHANGED
@@ -10,6 +10,7 @@ export * from './components/Breadcrumbs';
|
|
10
10
|
export * from './components/Chip';
|
11
11
|
export * from './components/ChipGroup';
|
12
12
|
export * from './components/Cell';
|
13
|
+
export * from './components/Flow';
|
13
14
|
export * from './components/Link';
|
14
15
|
export * from './components/Spinner';
|
15
16
|
export * from './components/Checkbox';
|
@@ -63,6 +64,5 @@ export * from './components/Attach';
|
|
63
64
|
export * from './components/ViewContainer';
|
64
65
|
export * from './components/NumberInput';
|
65
66
|
export * from './components/Dropzone';
|
66
|
-
export * from './components/Tree';
|
67
67
|
export * from './components/Rating';
|
68
68
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAA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vC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
.IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
|
2
|
-
|
3
|
-
.Tree_styles_1mwgczn_io9xczg__70ed92a2{line-height:0;color:var(--plasma-tree-arrow-color);}.Tree_styles_1mwgczn_io9xczg__70ed92a2:hover{color:var(--plasma-tree-arrow-color-hover);}.Tree_styles_1mwgczn_io9xczg__70ed92a2:active{color:var(--plasma-tree-arrow-color-active);}
|
4
|
-
.Tree_styles_1mwgczn_smciu6q__70ed92a2{-webkit-transition:color 0.3s ease-in,-webkit-transform 0.15s ease-in;-webkit-transition:color 0.3s ease-in,transform 0.15s ease-in;transition:color 0.3s ease-in,transform 0.15s ease-in;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
|
5
|
-
.Tree_styles_1mwgczn_i1t4s7ru__70ed92a2{line-height:0;color:var(--plasma-tree-arrow-color);margin:var(--plasma-tree-icon-folder-margin);}
|
6
|
-
|
7
|
-
.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2,.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTreeList__70ed92a2{border:none !important;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-tree-item-height);padding:0;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeItemFilled__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2{padding:0 var(--plasma-tree-item-padding) !important;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeInverted__70ed92a2:not(tree-item-filled) .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2{padding:0 var(--plasma-tree-item-padding-tight);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2::before{content:'';position:absolute;z-index:-1;top:0.25rem;bottom:0.25rem;left:var(--plasma-tree-switcher-size);right:0;background:transparent;border-radius:var(--plasma-tree-item-border-radius);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2.Tree_styles_1mwgczn_rcTreeTreenodeDisabled__70ed92a2{opacity:var(--plasma-tree-item-disabled-opacity);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeItemFilled__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2::before{inset:0;border-radius:0;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2.Tree_styles_1mwgczn_rcTreeTreenodeSelected__70ed92a2::before{background:var(--plasma-tree-item-background-color) !important;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2:not(.Tree_styles_1mwgczn_rcTreeTreenodeDisabled__70ed92a2):hover::before{background:var(--plasma-tree-item-background-color-hover);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2:not(.Tree_styles_1mwgczn_rcTreeTreenodeDisabled__70ed92a2):active::before{background:var(--plasma-tree-item-background-color-active);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 .Tree_styles_1mwgczn_rcTreeNodeContentWrapper__70ed92a2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;height:auto;-webkit-flex:1;-ms-flex:1;flex:1;width:1px;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeSwitcher__70ed92a2{width:var(--plasma-tree-switcher-size);height:var(--plasma-tree-switcher-size);margin:var(--plasma-tree-switcher-margin);line-height:0;vertical-align:0;background:transparent;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeInverted__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeSwitcher__70ed92a2{margin:0;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeIconEle__70ed92a2{width:auto;height:auto;margin-right:0;vertical-align:0;background:transparent;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeSwitcher__70ed92a2.Tree_styles_1mwgczn_rcTreeSwitcher_open__70ed92a2 .Tree_styles_1mwgczn_arrow__70ed92a2{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeInverted__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeSwitcher__70ed92a2.Tree_styles_1mwgczn_rcTreeSwitcher_close__70ed92a2 .Tree_styles_1mwgczn_arrow__70ed92a2{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeInverted__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeSwitcher__70ed92a2.Tree_styles_1mwgczn_rcTreeSwitcher_open__70ed92a2 .Tree_styles_1mwgczn_arrow__70ed92a2{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeCheckbox__70ed92a2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;line-height:0;vertical-align:0;width:var(--plasma-tree-checkbox-size);height:var(--plasma-tree-checkbox-size);margin:var(--plasma-tree-checkbox-margin);background-image:none;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeCheckbox__70ed92a2::before{content:'';display:block;width:var(--plasma-tree-checkbox-inner-size);height:var(--plasma-tree-checkbox-inner-size);border:0.125rem solid var(--plasma-tree-checkbox-border-color);border-radius:var(--plasma-tree-checkbox-border-radius);box-sizing:border-box;background-size:contain;background-repeat:no-repeat;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeCheckboxChecked__70ed92a2::before{background-color:var(--plasma-tree-checkbox-background-color);border-color:var(--plasma-tree-checkbox-background-color);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath fill='white' d='m5.70711,8.15582c-0.39053,-0.39052 -1.02369,-0.39052 -1.41422,0c-0.39052,0.39053 -0.39052,1.02369 0,1.41422l3.70666,3.70666l6.71095,-6.70248c0.3908,-0.39027 0.3912,-1.02344 0.0009,-1.41421c-0.3903,-0.39077 -1.02344,-0.39117 -1.41421,-0.00089l-5.29674,5.29004l-2.29334,-2.29334z' /%3E%3C/svg%3E");}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeCheckbox__70ed92a2.Tree_styles_1mwgczn_rcTreeCheckboxIndeterminate__70ed92a2::before{background-color:var(--plasma-tree-checkbox-background-color);border-color:var(--plasma-tree-checkbox-background-color);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1z' fill='white'/%3E%3C/svg%3E");}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTreeTitle__70ed92a2{color:var(--plasma-tree-color);font-family:var(--plasma-tree-font-family);font-size:var(--plasma-tree-font-size);font-style:var(--plasma-tree-font-style);font-weight:var(--plasma-tree-font-weight);-webkit-letter-spacing:var(--plasma-tree-letter-spacing);-moz-letter-spacing:var(--plasma-tree-letter-spacing);-ms-letter-spacing:var(--plasma-tree-letter-spacing);letter-spacing:var(--plasma-tree-letter-spacing);line-height:var(--plasma-tree-line-height);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeInverted__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2 span.Tree_styles_1mwgczn_rcTreeSwitcher__70ed92a2{-webkit-order:1;-ms-flex-order:1;order:1;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTree__70ed92a2.Tree_styles_1mwgczn_treeInverted__70ed92a2 .Tree_styles_1mwgczn_rcTreeTreenode__70ed92a2::before{left:0;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTreeNodeSelected__70ed92a2{opacity:1;box-shadow:none;background:none;}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTreeNodeSelected__70ed92a2 .Tree_styles_1mwgczn_rcTreeTitle__70ed92a2{color:var(--plasma-tree-color-selected);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTreeNodeSelected__70ed92a2 .Tree_styles_1mwgczn_i1t4s7ru__70ed92a2{color:var(--plasma-tree-color-selected);}.Tree_styles_1mwgczn_b1un80r8__70ed92a2 .Tree_styles_1mwgczn_rcTreeIndentUnit__70ed92a2{width:var(--plasma-tree-item-indent);}
|
@@ -1,99 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var Tree = require('rc-tree');
|
7
|
-
require('rc-tree/assets/index.css');
|
8
|
-
var index = require('../../utils/index.js');
|
9
|
-
var Tree_styles = require('./Tree.styles.js');
|
10
|
-
var Tree_tokens = require('./Tree.tokens.js');
|
11
|
-
var sizeToIconSize = require('./utils/sizeToIconSize.js');
|
12
|
-
|
13
|
-
/**
|
14
|
-
* Многоуровневый раскрывающийся список в виде дерева.
|
15
|
-
*/
|
16
|
-
var treeRoot = function treeRoot(Root) {
|
17
|
-
return /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
18
|
-
var items = _ref.items,
|
19
|
-
_ref$arrowPlacement = _ref.arrowPlacement,
|
20
|
-
arrowPlacement = _ref$arrowPlacement === void 0 ? 'left' : _ref$arrowPlacement,
|
21
|
-
_ref$virtual = _ref.virtual,
|
22
|
-
virtual = _ref$virtual === void 0 ? false : _ref$virtual,
|
23
|
-
height = _ref.height,
|
24
|
-
size = _ref.size,
|
25
|
-
view = _ref.view,
|
26
|
-
_ref$fullWidthItemSel = _ref.fullWidthItemSelection,
|
27
|
-
fullWidthItemSelection = _ref$fullWidthItemSel === void 0 ? false : _ref$fullWidthItemSel,
|
28
|
-
_ref$multiple = _ref.multiple,
|
29
|
-
multiple = _ref$multiple === void 0 ? false : _ref$multiple,
|
30
|
-
_ref$defaultExpandAll = _ref.defaultExpandAll,
|
31
|
-
defaultExpandAll = _ref$defaultExpandAll === void 0 ? false : _ref$defaultExpandAll,
|
32
|
-
_ref$checkable = _ref.checkable,
|
33
|
-
checkable = _ref$checkable === void 0 ? false : _ref$checkable,
|
34
|
-
defaultCheckedKeys = _ref.defaultCheckedKeys,
|
35
|
-
defaultExpandedKeys = _ref.defaultExpandedKeys,
|
36
|
-
defaultSelectedKeys = _ref.defaultSelectedKeys,
|
37
|
-
className = _ref.className,
|
38
|
-
onTreeSelect = _ref.onTreeSelect,
|
39
|
-
onTreeCheck = _ref.onTreeCheck,
|
40
|
-
onTreeExpand = _ref.onTreeExpand,
|
41
|
-
_ref$hasIcon = _ref.hasIcon,
|
42
|
-
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
43
|
-
icon = _ref.icon;
|
44
|
-
var invertedClass = arrowPlacement === 'right' ? Tree_tokens.classes.treeInverted : undefined;
|
45
|
-
var itemFilledClass = fullWidthItemSelection ? Tree_tokens.classes.treeItemFilled : undefined;
|
46
|
-
return /*#__PURE__*/React.createElement(Root, {
|
47
|
-
view: view,
|
48
|
-
size: size,
|
49
|
-
ref: ref,
|
50
|
-
items: items
|
51
|
-
}, /*#__PURE__*/React.createElement(Tree, {
|
52
|
-
height: height,
|
53
|
-
virtual: virtual,
|
54
|
-
multiple: multiple,
|
55
|
-
checkable: checkable,
|
56
|
-
className: index.cx(className, invertedClass, itemFilledClass),
|
57
|
-
defaultExpandAll: defaultExpandAll,
|
58
|
-
style: {
|
59
|
-
border: '1px solid #000'
|
60
|
-
},
|
61
|
-
treeData: items,
|
62
|
-
defaultCheckedKeys: defaultCheckedKeys,
|
63
|
-
defaultExpandedKeys: defaultExpandedKeys,
|
64
|
-
defaultSelectedKeys: defaultSelectedKeys,
|
65
|
-
onSelect: onTreeSelect,
|
66
|
-
onCheck: onTreeCheck,
|
67
|
-
onExpand: onTreeExpand,
|
68
|
-
switcherIcon: function switcherIcon(node) {
|
69
|
-
if (node.isLeaf) {
|
70
|
-
return null;
|
71
|
-
}
|
72
|
-
return /*#__PURE__*/React.createElement(Tree_styles.IconArrowWrapper, null, /*#__PURE__*/React.createElement(Tree_styles.StyledArrow, {
|
73
|
-
size: sizeToIconSize.sizeToIconSize(size),
|
74
|
-
color: "inherit",
|
75
|
-
className: "arrow"
|
76
|
-
}));
|
77
|
-
},
|
78
|
-
icon: hasIcon && (icon || /*#__PURE__*/React.createElement(Tree_styles.IconFolderWrapper, null, /*#__PURE__*/React.createElement(Tree_styles.StyledFolder, {
|
79
|
-
size: sizeToIconSize.sizeToIconSize(size),
|
80
|
-
color: "inherit"
|
81
|
-
})))
|
82
|
-
}));
|
83
|
-
});
|
84
|
-
};
|
85
|
-
var treeConfig = {
|
86
|
-
name: 'Tree',
|
87
|
-
tag: 'div',
|
88
|
-
layout: treeRoot,
|
89
|
-
base: Tree_styles.base,
|
90
|
-
variations: {},
|
91
|
-
defaults: {
|
92
|
-
view: 'default',
|
93
|
-
size: 'm'
|
94
|
-
}
|
95
|
-
};
|
96
|
-
|
97
|
-
exports.treeConfig = treeConfig;
|
98
|
-
exports.treeRoot = treeRoot;
|
99
|
-
//# sourceMappingURL=Tree.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Tree.js","sources":["../../../src/components/Tree/Tree.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport Tree from 'rc-tree';\nimport 'rc-tree/assets/index.css';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { TreeProps } from './Tree.types';\nimport { IconArrowWrapper, StyledArrow, base, StyledFolder, IconFolderWrapper } from './Tree.styles';\nimport { sizeToIconSize } from './utils';\nimport { classes } from './Tree.tokens';\n\n/**\n * Многоуровневый раскрывающийся список в виде дерева.\n */\nexport const treeRoot = (Root: RootProps<HTMLDivElement, TreeProps>) =>\n forwardRef<HTMLDivElement, TreeProps>(\n (\n {\n items,\n arrowPlacement = 'left',\n virtual = false,\n height,\n size,\n view,\n fullWidthItemSelection = false,\n multiple = false,\n defaultExpandAll = false,\n checkable = false,\n defaultCheckedKeys,\n defaultExpandedKeys,\n defaultSelectedKeys,\n className,\n onTreeSelect,\n onTreeCheck,\n onTreeExpand,\n hasIcon = false,\n icon,\n },\n ref,\n ) => {\n const invertedClass = arrowPlacement === 'right' ? classes.treeInverted : undefined;\n const itemFilledClass = fullWidthItemSelection ? classes.treeItemFilled : undefined;\n\n return (\n <Root view={view} size={size} ref={ref} items={items}>\n <Tree\n height={height}\n virtual={virtual}\n multiple={multiple}\n checkable={checkable}\n className={cx(className, invertedClass, itemFilledClass)}\n defaultExpandAll={defaultExpandAll}\n style={{ border: '1px solid #000' }}\n treeData={items}\n defaultCheckedKeys={defaultCheckedKeys}\n defaultExpandedKeys={defaultExpandedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelect={onTreeSelect}\n onCheck={onTreeCheck}\n onExpand={onTreeExpand}\n switcherIcon={(node) => {\n if (node.isLeaf) {\n return null;\n }\n\n return (\n <IconArrowWrapper>\n <StyledArrow size={sizeToIconSize(size)} color=\"inherit\" className=\"arrow\" />\n </IconArrowWrapper>\n );\n }}\n icon={\n hasIcon &&\n (icon || (\n <IconFolderWrapper>\n <StyledFolder size={sizeToIconSize(size)} color=\"inherit\" />\n </IconFolderWrapper>\n ))\n }\n />\n </Root>\n );\n },\n );\n\nexport const treeConfig = {\n name: 'Tree',\n tag: 'div',\n layout: treeRoot,\n base,\n variations: {},\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["treeRoot","Root","forwardRef","_ref","ref","items","_ref$arrowPlacement","arrowPlacement","_ref$virtual","virtual","height","size","view","_ref$fullWidthItemSel","fullWidthItemSelection","_ref$multiple","multiple","_ref$defaultExpandAll","defaultExpandAll","_ref$checkable","checkable","defaultCheckedKeys","defaultExpandedKeys","defaultSelectedKeys","className","onTreeSelect","onTreeCheck","onTreeExpand","_ref$hasIcon","hasIcon","icon","invertedClass","classes","treeInverted","undefined","itemFilledClass","treeItemFilled","React","createElement","Tree","cx","style","border","treeData","onSelect","onCheck","onExpand","switcherIcon","node","isLeaf","IconArrowWrapper","StyledArrow","sizeToIconSize","color","IconFolderWrapper","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'__esModule', { value: true });
|
5
|
-
|
6
|
-
var react = require('@linaria/react');
|
7
|
-
var IconDisclosureRightCentered = require('../_Icon/Icons/IconDisclosureRightCentered.js');
|
8
|
-
var IconFolder = require('../_Icon/Icons/IconFolder.js');
|
9
|
-
|
10
|
-
var IconArrowWrapper = /*#__PURE__*/react.styled('div')({
|
11
|
-
name: "IconArrowWrapper",
|
12
|
-
"class": "io9xczg",
|
13
|
-
propsAsIs: false
|
14
|
-
});
|
15
|
-
var _exp4 = function _exp4() {
|
16
|
-
return IconDisclosureRightCentered.IconDisclosureRightCentered;
|
17
|
-
};
|
18
|
-
var StyledArrow = /*#__PURE__*/react.styled(_exp4())({
|
19
|
-
name: "StyledArrow",
|
20
|
-
"class": "smciu6q",
|
21
|
-
propsAsIs: true
|
22
|
-
});
|
23
|
-
var IconFolderWrapper = /*#__PURE__*/react.styled('div')({
|
24
|
-
name: "IconFolderWrapper",
|
25
|
-
"class": "i1t4s7ru",
|
26
|
-
propsAsIs: false
|
27
|
-
});
|
28
|
-
var _exp7 = function _exp7() {
|
29
|
-
return IconFolder.IconFolder;
|
30
|
-
};
|
31
|
-
var StyledFolder = /*#__PURE__*/react.styled(_exp7())({
|
32
|
-
name: "StyledFolder",
|
33
|
-
"class": "s1bgqryr",
|
34
|
-
propsAsIs: true
|
35
|
-
});
|
36
|
-
var base = "b1un80r8";
|
37
|
-
|
38
|
-
exports.IconArrowWrapper = IconArrowWrapper;
|
39
|
-
exports.IconFolderWrapper = IconFolderWrapper;
|
40
|
-
exports.StyledArrow = StyledArrow;
|
41
|
-
exports.StyledFolder = StyledFolder;
|
42
|
-
exports.base = base;
|
43
|
-
//# sourceMappingURL=Tree.styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Tree.styles.js","sources":["../../../src/components/Tree/Tree.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { applyEllipsis } from '../../mixins';\nimport { IconDisclosureRightCentered, IconFolder } from '../_Icon';\n\nimport { treeTokens as tokens, classes } from './Tree.tokens';\n\nexport const IconArrowWrapper = styled.div`\n line-height: 0;\n color: var(${tokens.arrowColor});\n\n &:hover {\n color: var(${tokens.arrowColorHover});\n }\n\n &:active {\n color: var(${tokens.arrowColorActive});\n }\n`;\n\nexport const StyledArrow = styled(IconDisclosureRightCentered)`\n transition: color 0.3s ease-in, transform 0.15s ease-in;\n pointer-events: none;\n user-select: none;\n`;\n\nexport const IconFolderWrapper = styled.div`\n line-height: 0;\n color: var(${tokens.arrowColor});\n margin: var(${tokens.iconFolderMargin});\n`;\n\nexport const StyledFolder = styled(IconFolder)``;\n\nexport const base = css`\n .rc-tree, .rc-tree-list {\n border: none !important;\n }\n\n .rc-tree .rc-tree-treenode {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(${tokens.itemHeight});\n padding: 0;\n }\n\n .rc-tree.${classes.treeItemFilled} .rc-tree-treenode {\n padding: 0 var(${tokens.itemPadding}) !important;\n }\n\n .rc-tree.${classes.treeInverted}:not(${classes.treeItemFilled}) .rc-tree-treenode {\n padding: 0 var(${tokens.itemPaddingTight});\n }\n\n .rc-tree .rc-tree-treenode::before {\n content: '';\n position: absolute;\n z-index: -1;\n top: 0.25rem;\n bottom: 0.25rem;\n left: var(${tokens.switcherSize});\n right: 0;\n background: transparent;\n border-radius: var(${tokens.itemBorderRadius});\n }\n\n .rc-tree .rc-tree-treenode.rc-tree-treenode-disabled {\n opacity: var(${tokens.itemDisabledOpacity});\n }\n\n .rc-tree.${classes.treeItemFilled} .rc-tree-treenode::before {\n inset: 0;\n border-radius: 0;\n }\n\n .rc-tree .rc-tree-treenode.rc-tree-treenode-selected::before {\n background: var(${tokens.itemBackgroundColor}) !important;\n }\n\n .rc-tree .rc-tree-treenode:not(.rc-tree-treenode-disabled):hover::before {\n background: var(${tokens.itemBackgroundColorHover});\n }\n\n .rc-tree .rc-tree-treenode:not(.rc-tree-treenode-disabled):active::before {\n background: var(${tokens.itemBackgroundColorActive});\n }\n\n .rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper {\n display: flex;\n align-items: center;\n align-self: stretch;\n height: auto;\n flex: 1;\n\n // Лайфхак для корректного обрезания текста\n width: 1px;\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-switcher {\n width: var(${tokens.switcherSize});\n height: var(${tokens.switcherSize});\n margin: var(${tokens.switcherMargin});\n line-height: 0;\n vertical-align: 0;\n background: transparent;\n }\n\n .rc-tree.${classes.treeInverted} .rc-tree-treenode span.rc-tree-switcher {\n margin: 0;\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-iconEle {\n width: auto;\n height: auto;\n margin-right: 0;\n vertical-align: 0;\n background: transparent;\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_open .arrow {\n transform: rotate(90deg);\n }\n\n .rc-tree.${classes.treeInverted} .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_close .arrow {\n transform: rotate(90deg);\n }\n\n .rc-tree.${classes.treeInverted} .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_open .arrow {\n transform: rotate(0);\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-checkbox {\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n vertical-align: 0;\n width: var(${tokens.checkboxSize});\n height: var(${tokens.checkboxSize});\n margin: var(${tokens.checkboxMargin});\n background-image: none;\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-checkbox::before {\n content: '';\n display: block;\n width: var(${tokens.checkboxInnerSize});\n height: var(${tokens.checkboxInnerSize});\n border: 0.125rem solid var(${tokens.checkboxBorderColor});\n border-radius: var(${tokens.checkboxBorderRadius});\n box-sizing: border-box;\n background-size: contain;\n background-repeat: no-repeat;\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-checkbox-checked::before {\n background-color: var(${tokens.checkboxBackgroundColor});\n border-color: var(${tokens.checkboxBackgroundColor});\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath fill='white' d='m5.70711,8.15582c-0.39053,-0.39052 -1.02369,-0.39052 -1.41422,0c-0.39052,0.39053 -0.39052,1.02369 0,1.41422l3.70666,3.70666l6.71095,-6.70248c0.3908,-0.39027 0.3912,-1.02344 0.0009,-1.41421c-0.3903,-0.39077 -1.02344,-0.39117 -1.41421,-0.00089l-5.29674,5.29004l-2.29334,-2.29334z' /%3E%3C/svg%3E\");\n }\n\n .rc-tree .rc-tree-treenode span.rc-tree-checkbox.rc-tree-checkbox-indeterminate::before {\n background-color: var(${tokens.checkboxBackgroundColor});\n border-color: var(${tokens.checkboxBackgroundColor});\n background-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1z' fill='white'/%3E%3C/svg%3E\");\n }\n\n .rc-tree-title {\n color: var(${tokens.color});\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n\n ${applyEllipsis()}\n }\n\n .rc-tree.tree-inverted .rc-tree-treenode span.rc-tree-switcher {\n order: 1;\n }\n\n .rc-tree.tree-inverted .rc-tree-treenode::before {\n left: 0;\n }\n\n .rc-tree-node-selected {\n opacity: 1;\n box-shadow: none;\n background: none;\n }\n\n .rc-tree-node-selected .rc-tree-title {\n color: var(${tokens.colorSelected});\n }\n\n .rc-tree-node-selected ${IconFolderWrapper} {\n color: var(${tokens.colorSelected});\n }\n\n .rc-tree-indent-unit {\n width: var(${tokens.itemIndent});\n }\n`;\n"],"names":["IconArrowWrapper","styled","name","class","propsAsIs","_exp4","IconDisclosureRightCentered","StyledArrow","IconFolderWrapper","_exp7","IconFolder","StyledFolder","base"],"mappings":";;;;;;;;AAQO,IAAMA,gBAAgB,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAWrC,EAAA;AAAC,IAAAC,KAAA,GAlBgBA,SAkBhBA,KAAAA,GAAA;AAAA,EAAA,OAEgCC,uDAA2B,CAAA;AAAA,CAAA,CAAA;AAAtD,IAAMC,WAAW,gBAAGN,YAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAIhC,EAAA;AAEM,IAAMI,iBAAiB,gBAAGP,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAAC,IAAAK,KAAA,GA9BgBA,SA8BhBA,KAAAA,GAAA;AAAA,EAAA,OAEiCC,qBAAU,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMC,YAAY,gBAAGV,YAAM,CAAAQ,KAAA,EAAA,CAAA,CAAA;AAAAP,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAc,EAAA;AAEzC,IAAMQ,IAAI,GA2KhB;;;;;;;;"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
.io9xczg{line-height:0;color:var(--plasma-tree-arrow-color);}.io9xczg:hover{color:var(--plasma-tree-arrow-color-hover);}.io9xczg:active{color:var(--plasma-tree-arrow-color-active);}
|
2
|
-
.smciu6q{-webkit-transition:color 0.3s ease-in,-webkit-transform 0.15s ease-in;-webkit-transition:color 0.3s ease-in,transform 0.15s ease-in;transition:color 0.3s ease-in,transform 0.15s ease-in;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
|
3
|
-
.i1t4s7ru{line-height:0;color:var(--plasma-tree-arrow-color);margin:var(--plasma-tree-icon-folder-margin);}
|
4
|
-
|
5
|
-
.b1un80r8 .rc-tree,.b1un80r8 .rc-tree-list{border:none !important;}.b1un80r8 .rc-tree .rc-tree-treenode{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-tree-item-height);padding:0;}.b1un80r8 .rc-tree.tree-item-filled .rc-tree-treenode{padding:0 var(--plasma-tree-item-padding) !important;}.b1un80r8 .rc-tree.tree-inverted:not(tree-item-filled) .rc-tree-treenode{padding:0 var(--plasma-tree-item-padding-tight);}.b1un80r8 .rc-tree .rc-tree-treenode::before{content:'';position:absolute;z-index:-1;top:0.25rem;bottom:0.25rem;left:var(--plasma-tree-switcher-size);right:0;background:transparent;border-radius:var(--plasma-tree-item-border-radius);}.b1un80r8 .rc-tree .rc-tree-treenode.rc-tree-treenode-disabled{opacity:var(--plasma-tree-item-disabled-opacity);}.b1un80r8 .rc-tree.tree-item-filled .rc-tree-treenode::before{inset:0;border-radius:0;}.b1un80r8 .rc-tree .rc-tree-treenode.rc-tree-treenode-selected::before{background:var(--plasma-tree-item-background-color) !important;}.b1un80r8 .rc-tree .rc-tree-treenode:not(.rc-tree-treenode-disabled):hover::before{background:var(--plasma-tree-item-background-color-hover);}.b1un80r8 .rc-tree .rc-tree-treenode:not(.rc-tree-treenode-disabled):active::before{background:var(--plasma-tree-item-background-color-active);}.b1un80r8 .rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;height:auto;-webkit-flex:1;-ms-flex:1;flex:1;width:1px;}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-switcher{width:var(--plasma-tree-switcher-size);height:var(--plasma-tree-switcher-size);margin:var(--plasma-tree-switcher-margin);line-height:0;vertical-align:0;background:transparent;}.b1un80r8 .rc-tree.tree-inverted .rc-tree-treenode span.rc-tree-switcher{margin:0;}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-iconEle{width:auto;height:auto;margin-right:0;vertical-align:0;background:transparent;}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_open .arrow{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.b1un80r8 .rc-tree.tree-inverted .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_close .arrow{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.b1un80r8 .rc-tree.tree-inverted .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_open .arrow{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-checkbox{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;line-height:0;vertical-align:0;width:var(--plasma-tree-checkbox-size);height:var(--plasma-tree-checkbox-size);margin:var(--plasma-tree-checkbox-margin);background-image:none;}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-checkbox::before{content:'';display:block;width:var(--plasma-tree-checkbox-inner-size);height:var(--plasma-tree-checkbox-inner-size);border:0.125rem solid var(--plasma-tree-checkbox-border-color);border-radius:var(--plasma-tree-checkbox-border-radius);box-sizing:border-box;background-size:contain;background-repeat:no-repeat;}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-checkbox-checked::before{background-color:var(--plasma-tree-checkbox-background-color);border-color:var(--plasma-tree-checkbox-background-color);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath fill='white' d='m5.70711,8.15582c-0.39053,-0.39052 -1.02369,-0.39052 -1.41422,0c-0.39052,0.39053 -0.39052,1.02369 0,1.41422l3.70666,3.70666l6.71095,-6.70248c0.3908,-0.39027 0.3912,-1.02344 0.0009,-1.41421c-0.3903,-0.39077 -1.02344,-0.39117 -1.41421,-0.00089l-5.29674,5.29004l-2.29334,-2.29334z' /%3E%3C/svg%3E");}.b1un80r8 .rc-tree .rc-tree-treenode span.rc-tree-checkbox.rc-tree-checkbox-indeterminate::before{background-color:var(--plasma-tree-checkbox-background-color);border-color:var(--plasma-tree-checkbox-background-color);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1z' fill='white'/%3E%3C/svg%3E");}.b1un80r8 .rc-tree-title{color:var(--plasma-tree-color);font-family:var(--plasma-tree-font-family);font-size:var(--plasma-tree-font-size);font-style:var(--plasma-tree-font-style);font-weight:var(--plasma-tree-font-weight);-webkit-letter-spacing:var(--plasma-tree-letter-spacing);-moz-letter-spacing:var(--plasma-tree-letter-spacing);-ms-letter-spacing:var(--plasma-tree-letter-spacing);letter-spacing:var(--plasma-tree-letter-spacing);line-height:var(--plasma-tree-line-height);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.b1un80r8 .rc-tree.tree-inverted .rc-tree-treenode span.rc-tree-switcher{-webkit-order:1;-ms-flex-order:1;order:1;}.b1un80r8 .rc-tree.tree-inverted .rc-tree-treenode::before{left:0;}.b1un80r8 .rc-tree-node-selected{opacity:1;box-shadow:none;background:none;}.b1un80r8 .rc-tree-node-selected .rc-tree-title{color:var(--plasma-tree-color-selected);}.b1un80r8 .rc-tree-node-selected .i1t4s7ru{color:var(--plasma-tree-color-selected);}.b1un80r8 .rc-tree-indent-unit{width:var(--plasma-tree-item-indent);}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var classes = {
|
6
|
-
treeInverted: 'tree-inverted',
|
7
|
-
treeItemFilled: 'tree-item-filled'
|
8
|
-
};
|
9
|
-
var treeTokens = {
|
10
|
-
arrowColor: '--plasma-tree-arrow-color',
|
11
|
-
arrowColorHover: '--plasma-tree-arrow-color-hover',
|
12
|
-
arrowColorActive: '--plasma-tree-arrow-color-active',
|
13
|
-
color: '--plasma-tree-color',
|
14
|
-
colorSelected: '--plasma-tree-color-selected',
|
15
|
-
fontFamily: '--plasma-tree-font-family',
|
16
|
-
fontSize: '--plasma-tree-font-size',
|
17
|
-
fontStyle: '--plasma-tree-font-style',
|
18
|
-
fontWeight: '--plasma-tree-font-weight',
|
19
|
-
letterSpacing: '--plasma-tree-letter-spacing',
|
20
|
-
lineHeight: '--plasma-tree-line-height',
|
21
|
-
itemHeight: '--plasma-tree-item-height',
|
22
|
-
itemPadding: '--plasma-tree-item-padding',
|
23
|
-
itemPaddingTight: '--plasma-tree-item-padding-tight',
|
24
|
-
itemIndent: '--plasma-tree-item-indent',
|
25
|
-
itemBorderRadius: '--plasma-tree-item-border-radius',
|
26
|
-
iconFolderMargin: '--plasma-tree-icon-folder-margin',
|
27
|
-
switcherMargin: '--plasma-tree-switcher-margin',
|
28
|
-
switcherSize: '--plasma-tree-switcher-size',
|
29
|
-
checkboxSize: '--plasma-tree-checkbox-size',
|
30
|
-
checkboxInnerSize: '--plasma-tree-checkbox-inner-size',
|
31
|
-
checkboxBorderRadius: '--plasma-tree-checkbox-border-radius',
|
32
|
-
checkboxMargin: '--plasma-tree-checkbox-margin',
|
33
|
-
checkboxBorderColor: '--plasma-tree-checkbox-border-color',
|
34
|
-
checkboxBackgroundColor: '--plasma-tree-checkbox-background-color',
|
35
|
-
itemBackgroundColor: '--plasma-tree-item-background-color',
|
36
|
-
itemBackgroundColorHover: '--plasma-tree-item-background-color-hover',
|
37
|
-
itemBackgroundColorActive: '--plasma-tree-item-background-color-active',
|
38
|
-
itemDisabledOpacity: '--plasma-tree-item-disabled-opacity'
|
39
|
-
};
|
40
|
-
|
41
|
-
exports.classes = classes;
|
42
|
-
exports.treeTokens = treeTokens;
|
43
|
-
//# sourceMappingURL=Tree.tokens.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Tree.tokens.js","sources":["../../../src/components/Tree/Tree.tokens.ts"],"sourcesContent":["export const classes = {\n treeInverted: 'tree-inverted',\n treeItemFilled: 'tree-item-filled',\n};\n\nexport const treeTokens = {\n arrowColor: '--plasma-tree-arrow-color',\n arrowColorHover: '--plasma-tree-arrow-color-hover',\n arrowColorActive: '--plasma-tree-arrow-color-active',\n color: '--plasma-tree-color',\n colorSelected: '--plasma-tree-color-selected',\n fontFamily: '--plasma-tree-font-family',\n fontSize: '--plasma-tree-font-size',\n fontStyle: '--plasma-tree-font-style',\n fontWeight: '--plasma-tree-font-weight',\n letterSpacing: '--plasma-tree-letter-spacing',\n lineHeight: '--plasma-tree-line-height',\n itemHeight: '--plasma-tree-item-height',\n itemPadding: '--plasma-tree-item-padding',\n itemPaddingTight: '--plasma-tree-item-padding-tight',\n itemIndent: '--plasma-tree-item-indent',\n itemBorderRadius: '--plasma-tree-item-border-radius',\n iconFolderMargin: '--plasma-tree-icon-folder-margin',\n switcherMargin: '--plasma-tree-switcher-margin',\n switcherSize: '--plasma-tree-switcher-size',\n checkboxSize: '--plasma-tree-checkbox-size',\n checkboxInnerSize: '--plasma-tree-checkbox-inner-size',\n checkboxBorderRadius: '--plasma-tree-checkbox-border-radius',\n checkboxMargin: '--plasma-tree-checkbox-margin',\n checkboxBorderColor: '--plasma-tree-checkbox-border-color',\n checkboxBackgroundColor: '--plasma-tree-checkbox-background-color',\n itemBackgroundColor: '--plasma-tree-item-background-color',\n itemBackgroundColorHover: '--plasma-tree-item-background-color-hover',\n itemBackgroundColorActive: '--plasma-tree-item-background-color-active',\n itemDisabledOpacity: '--plasma-tree-item-disabled-opacity',\n};\n"],"names":["classes","treeInverted","treeItemFilled","treeTokens","arrowColor","arrowColorHover","arrowColorActive","color","colorSelected","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","itemHeight","itemPadding","itemPaddingTight","itemIndent","itemBorderRadius","iconFolderMargin","switcherMargin","switcherSize","checkboxSize","checkboxInnerSize","checkboxBorderRadius","checkboxMargin","checkboxBorderColor","checkboxBackgroundColor","itemBackgroundColor","itemBackgroundColorHover","itemBackgroundColorActive","itemDisabledOpacity"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,YAAY,EAAE,eAAe;AAC7BC,EAAAA,cAAc,EAAE,kBAAA;AACpB,EAAC;AAEM,IAAMC,UAAU,GAAG;AACtBC,EAAAA,UAAU,EAAE,2BAA2B;AACvCC,EAAAA,eAAe,EAAE,iCAAiC;AAClDC,EAAAA,gBAAgB,EAAE,kCAAkC;AACpDC,EAAAA,KAAK,EAAE,qBAAqB;AAC5BC,EAAAA,aAAa,EAAE,8BAA8B;AAC7CC,EAAAA,UAAU,EAAE,2BAA2B;AACvCC,EAAAA,QAAQ,EAAE,yBAAyB;AACnCC,EAAAA,SAAS,EAAE,0BAA0B;AACrCC,EAAAA,UAAU,EAAE,2BAA2B;AACvCC,EAAAA,aAAa,EAAE,8BAA8B;AAC7CC,EAAAA,UAAU,EAAE,2BAA2B;AACvCC,EAAAA,UAAU,EAAE,2BAA2B;AACvCC,EAAAA,WAAW,EAAE,4BAA4B;AACzCC,EAAAA,gBAAgB,EAAE,kCAAkC;AACpDC,EAAAA,UAAU,EAAE,2BAA2B;AACvCC,EAAAA,gBAAgB,EAAE,kCAAkC;AACpDC,EAAAA,gBAAgB,EAAE,kCAAkC;AACpDC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,YAAY,EAAE,6BAA6B;AAC3CC,EAAAA,YAAY,EAAE,6BAA6B;AAC3CC,EAAAA,iBAAiB,EAAE,mCAAmC;AACtDC,EAAAA,oBAAoB,EAAE,sCAAsC;AAC5DC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,mBAAmB,EAAE,qCAAqC;AAC1DC,EAAAA,uBAAuB,EAAE,yCAAyC;AAClEC,EAAAA,mBAAmB,EAAE,qCAAqC;AAC1DC,EAAAA,wBAAwB,EAAE,2CAA2C;AACrEC,EAAAA,yBAAyB,EAAE,4CAA4C;AACvEC,EAAAA,mBAAmB,EAAE,qCAAA;AACzB;;;;;"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var sizeToIconSize = function sizeToIconSize(size) {
|
6
|
-
if (size === 'xs') return 'xs';
|
7
|
-
return 's';
|
8
|
-
};
|
9
|
-
|
10
|
-
exports.sizeToIconSize = sizeToIconSize;
|
11
|
-
//# sourceMappingURL=sizeToIconSize.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"sizeToIconSize.js","sources":["../../../../src/components/Tree/utils/sizeToIconSize.ts"],"sourcesContent":["export const sizeToIconSize = (size?: string) => {\n if (size === 'xs') return 'xs';\n\n return 's';\n};\n"],"names":["sizeToIconSize","size"],"mappings":";;;;IAAaA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,IAAa,EAAK;AAC7C,EAAA,IAAIA,IAAI,KAAK,IAAI,EAAE,OAAO,IAAI,CAAA;AAE9B,EAAA,OAAO,GAAG,CAAA;AACd;;;;"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
-
var React = require('react');
|
7
|
-
|
8
|
-
var _path;
|
9
|
-
var Folder = function Folder(props) {
|
10
|
-
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({
|
11
|
-
width: "100%",
|
12
|
-
height: "100%",
|
13
|
-
viewBox: "0 0 24 24",
|
14
|
-
fill: "none",
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
16
|
-
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
17
|
-
fillRule: "evenodd",
|
18
|
-
clipRule: "evenodd",
|
19
|
-
d: "M2.02752 9.75007H2V7.3191C1.99999 6.71538 1.99998 6.2171 2.03315 5.8112C2.06759 5.38963 2.14151 5.0021 2.32698 4.6381C2.6146 4.07361 3.07354 3.61467 3.63803 3.32705C4.00203 3.14158 4.38956 3.06766 4.81113 3.03322C5.21703 3.00005 5.7153 3.00006 6.31903 3.00007L9.10319 3.00004C9.69972 2.99971 10.1427 2.99947 10.5265 3.10229C11.5617 3.3797 12.3704 4.18834 12.6478 5.22362C12.7096 5.45422 12.7341 5.70621 12.7438 6.00007L16.4821 6.00007C17.2949 6.00006 17.9506 6.00006 18.4815 6.04344C19.0281 6.0881 19.5082 6.18246 19.9525 6.4088C20.6581 6.76832 21.2317 7.342 21.5913 8.04761C21.8176 8.49183 21.912 8.97197 21.9566 9.5186C22 10.0495 22 10.7051 22 11.5179V14.4822C22 15.295 22 15.9506 21.9566 16.4815C21.912 17.0282 21.8176 17.5083 21.5913 17.9525C21.2317 18.6581 20.6581 19.2318 19.9525 19.5913C19.5082 19.8177 19.0281 19.912 18.4815 19.9567C17.9506 20.0001 17.2949 20.0001 16.4821 20.0001H7.51793C6.70507 20.0001 6.04945 20.0001 5.51853 19.9567C4.9719 19.912 4.49176 19.8177 4.04754 19.5913C3.34193 19.2318 2.76825 18.6581 2.40873 17.9525C2.18239 17.5083 2.08803 17.0282 2.04336 16.4815C1.99999 15.9506 1.99999 15.295 2 14.4822V11.518C1.99999 10.8194 1.99999 10.237 2.02752 9.75007ZM9 4.50007C9.74577 4.50007 9.97152 4.50651 10.1382 4.55118C10.6559 4.68988 11.0602 5.09421 11.1989 5.61184C11.2228 5.70094 11.2357 5.80689 11.2426 6.00007L7.5179 6.00007C6.70506 6.00006 6.04944 6.00006 5.51853 6.04344C4.9719 6.0881 4.49176 6.18246 4.04754 6.4088C3.8551 6.50685 3.67247 6.62083 3.50133 6.74907C3.50368 6.4154 3.51019 6.15332 3.52816 5.93335C3.55503 5.60454 3.60372 5.43639 3.66349 5.31909C3.8073 5.03684 4.03677 4.80737 4.31902 4.66356C4.43631 4.6038 4.60447 4.5551 4.93328 4.52824C5.27085 4.50066 5.70757 4.50007 6.35 4.50007H9ZM4.72852 7.74531C4.92604 7.64467 5.18681 7.57554 5.64068 7.53845C6.10331 7.50066 6.69755 7.50007 7.55 7.50007H16.45C17.3025 7.50007 17.8967 7.50066 18.3593 7.53845C18.8132 7.57554 19.074 7.64467 19.2715 7.74531C19.6948 7.96102 20.039 8.30523 20.2548 8.72859C20.3554 8.92611 20.4245 9.18688 20.4616 9.64075C20.4994 10.1034 20.5 10.6976 20.5 11.5501V14.4501C20.5 15.3025 20.4994 15.8968 20.4616 16.3594C20.4245 16.8133 20.3554 17.074 20.2548 17.2716C20.039 17.6949 19.6948 18.0391 19.2715 18.2548C19.074 18.3555 18.8132 18.4246 18.3593 18.4617C17.8967 18.4995 17.3025 18.5001 16.45 18.5001H7.55C6.69755 18.5001 6.10331 18.4995 5.64068 18.4617C5.18681 18.4246 4.92604 18.3555 4.72852 18.2548C4.30516 18.0391 3.96095 17.6949 3.74524 17.2716C3.6446 17.074 3.57547 16.8133 3.53838 16.3594C3.50058 15.8968 3.5 15.3025 3.5 14.4501V11.5501C3.5 10.6976 3.50058 10.1034 3.53838 9.64075C3.57547 9.18688 3.6446 8.92611 3.74524 8.72859C3.96095 8.30523 4.30516 7.96102 4.72852 7.74531Z",
|
20
|
-
fill: "currentColor"
|
21
|
-
})));
|
22
|
-
};
|
23
|
-
|
24
|
-
exports.Folder = Folder;
|
25
|
-
//# sourceMappingURL=Folder.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Folder.js","sources":["../../../../src/components/_Icon/Icon.assets/Folder.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const Folder: React.FC<IconProps> = (props) => (\n <svg width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M2.02752 9.75007H2V7.3191C1.99999 6.71538 1.99998 6.2171 2.03315 5.8112C2.06759 5.38963 2.14151 5.0021 2.32698 4.6381C2.6146 4.07361 3.07354 3.61467 3.63803 3.32705C4.00203 3.14158 4.38956 3.06766 4.81113 3.03322C5.21703 3.00005 5.7153 3.00006 6.31903 3.00007L9.10319 3.00004C9.69972 2.99971 10.1427 2.99947 10.5265 3.10229C11.5617 3.3797 12.3704 4.18834 12.6478 5.22362C12.7096 5.45422 12.7341 5.70621 12.7438 6.00007L16.4821 6.00007C17.2949 6.00006 17.9506 6.00006 18.4815 6.04344C19.0281 6.0881 19.5082 6.18246 19.9525 6.4088C20.6581 6.76832 21.2317 7.342 21.5913 8.04761C21.8176 8.49183 21.912 8.97197 21.9566 9.5186C22 10.0495 22 10.7051 22 11.5179V14.4822C22 15.295 22 15.9506 21.9566 16.4815C21.912 17.0282 21.8176 17.5083 21.5913 17.9525C21.2317 18.6581 20.6581 19.2318 19.9525 19.5913C19.5082 19.8177 19.0281 19.912 18.4815 19.9567C17.9506 20.0001 17.2949 20.0001 16.4821 20.0001H7.51793C6.70507 20.0001 6.04945 20.0001 5.51853 19.9567C4.9719 19.912 4.49176 19.8177 4.04754 19.5913C3.34193 19.2318 2.76825 18.6581 2.40873 17.9525C2.18239 17.5083 2.08803 17.0282 2.04336 16.4815C1.99999 15.9506 1.99999 15.295 2 14.4822V11.518C1.99999 10.8194 1.99999 10.237 2.02752 9.75007ZM9 4.50007C9.74577 4.50007 9.97152 4.50651 10.1382 4.55118C10.6559 4.68988 11.0602 5.09421 11.1989 5.61184C11.2228 5.70094 11.2357 5.80689 11.2426 6.00007L7.5179 6.00007C6.70506 6.00006 6.04944 6.00006 5.51853 6.04344C4.9719 6.0881 4.49176 6.18246 4.04754 6.4088C3.8551 6.50685 3.67247 6.62083 3.50133 6.74907C3.50368 6.4154 3.51019 6.15332 3.52816 5.93335C3.55503 5.60454 3.60372 5.43639 3.66349 5.31909C3.8073 5.03684 4.03677 4.80737 4.31902 4.66356C4.43631 4.6038 4.60447 4.5551 4.93328 4.52824C5.27085 4.50066 5.70757 4.50007 6.35 4.50007H9ZM4.72852 7.74531C4.92604 7.64467 5.18681 7.57554 5.64068 7.53845C6.10331 7.50066 6.69755 7.50007 7.55 7.50007H16.45C17.3025 7.50007 17.8967 7.50066 18.3593 7.53845C18.8132 7.57554 19.074 7.64467 19.2715 7.74531C19.6948 7.96102 20.039 8.30523 20.2548 8.72859C20.3554 8.92611 20.4245 9.18688 20.4616 9.64075C20.4994 10.1034 20.5 10.6976 20.5 11.5501V14.4501C20.5 15.3025 20.4994 15.8968 20.4616 16.3594C20.4245 16.8133 20.3554 17.074 20.2548 17.2716C20.039 17.6949 19.6948 18.0391 19.2715 18.2548C19.074 18.3555 18.8132 18.4246 18.3593 18.4617C17.8967 18.4995 17.3025 18.5001 16.45 18.5001H7.55C6.69755 18.5001 6.10331 18.4995 5.64068 18.4617C5.18681 18.4246 4.92604 18.3555 4.72852 18.2548C4.30516 18.0391 3.96095 17.6949 3.74524 17.2716C3.6446 17.074 3.57547 16.8133 3.53838 16.3594C3.50058 15.8968 3.5 15.3025 3.5 14.4501V11.5501C3.5 10.6976 3.50058 10.1034 3.53838 9.64075C3.57547 9.18688 3.6446 8.92611 3.74524 8.72859C3.96095 8.30523 4.30516 7.96102 4.72852 7.74531Z\"\n fill=\"currentColor\"\n />\n </svg>\n);\n"],"names":["Folder","props","React","createElement","_extends","width","height","viewBox","fill","xmlns","_path","fillRule","clipRule","d"],"mappings":";;;;;;;;IAIaA,MAA2B,GAAG,SAA9BA,MAA2BA,CAAIC,KAAK,EAAA;AAAA,EAAA,oBAC7CC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,iCAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,MAAM,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAM;AAACC,IAAAA,KAAK,EAAC,4BAAA;GAAiCR,EAAAA,KAAK,GAAAS,KAAA,KAAAA,KAAA,gBACxGR,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIQ,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,CAAC,EAAC,2oFAA2oF;AAC7oFL,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAAA;;;;"}
|