@salutejs/plasma-new-hope 0.231.1-dev.0 → 0.231.2-canary.1603.12471850782.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/cjs/components/Tree/Tree.css +7 -0
  2. package/cjs/components/Tree/Tree.js +99 -0
  3. package/cjs/components/Tree/Tree.js.map +1 -0
  4. package/cjs/components/Tree/Tree.styles.js +43 -0
  5. package/cjs/components/Tree/Tree.styles.js.map +1 -0
  6. package/cjs/components/Tree/Tree.styles_1mwgczn.css +5 -0
  7. package/cjs/components/Tree/Tree.tokens.js +43 -0
  8. package/cjs/components/Tree/Tree.tokens.js.map +1 -0
  9. package/cjs/components/Tree/utils/sizeToIconSize.js +11 -0
  10. package/cjs/components/Tree/utils/sizeToIconSize.js.map +1 -0
  11. package/cjs/components/_Icon/Icon.assets/Folder.js +25 -0
  12. package/cjs/components/_Icon/Icon.assets/Folder.js.map +1 -0
  13. package/cjs/components/_Icon/Icons/IconFolder.js +23 -0
  14. package/cjs/components/_Icon/Icons/IconFolder.js.map +1 -0
  15. package/cjs/index.css +6 -0
  16. package/cjs/index.js +4 -0
  17. package/cjs/index.js.map +1 -1
  18. package/emotion/cjs/components/Tree/Tree.js +100 -0
  19. package/emotion/cjs/components/Tree/Tree.styles.js +38 -0
  20. package/emotion/cjs/components/Tree/Tree.template-doc.mdx +102 -0
  21. package/emotion/cjs/components/Tree/Tree.tokens.js +41 -0
  22. package/emotion/cjs/components/Tree/Tree.types.js +5 -0
  23. package/emotion/cjs/components/Tree/index.js +19 -0
  24. package/emotion/cjs/components/Tree/utils/index.js +12 -0
  25. package/emotion/cjs/components/Tree/utils/sizeToIconSize.js +10 -0
  26. package/emotion/cjs/components/_Icon/Icon.assets/Folder.js +24 -0
  27. package/emotion/cjs/components/_Icon/Icons/IconFolder.js +22 -0
  28. package/emotion/cjs/components/_Icon/index.js +8 -1
  29. package/emotion/cjs/examples/plasma_b2c/components/Tree/Tree.config.js +25 -0
  30. package/emotion/cjs/examples/plasma_b2c/components/Tree/Tree.js +11 -0
  31. package/emotion/cjs/examples/plasma_b2c/components/Tree/Tree.stories.tsx +117 -0
  32. package/emotion/cjs/examples/plasma_web/components/Tree/Tree.config.js +25 -0
  33. package/emotion/cjs/examples/plasma_web/components/Tree/Tree.js +11 -0
  34. package/emotion/cjs/examples/plasma_web/components/Tree/Tree.stories.tsx +117 -0
  35. package/emotion/cjs/index.js +11 -0
  36. package/emotion/es/components/Tree/Tree.js +91 -0
  37. package/emotion/es/components/Tree/Tree.styles.js +31 -0
  38. package/emotion/es/components/Tree/Tree.template-doc.mdx +102 -0
  39. package/emotion/es/components/Tree/Tree.tokens.js +35 -0
  40. package/emotion/es/components/Tree/Tree.types.js +1 -0
  41. package/emotion/es/components/Tree/index.js +2 -0
  42. package/emotion/es/components/Tree/utils/index.js +1 -0
  43. package/emotion/es/components/Tree/utils/sizeToIconSize.js +4 -0
  44. package/emotion/es/components/_Icon/Icon.assets/Folder.js +17 -0
  45. package/emotion/es/components/_Icon/Icons/IconFolder.js +15 -0
  46. package/emotion/es/components/_Icon/index.js +2 -1
  47. package/emotion/es/examples/plasma_b2c/components/Tree/Tree.config.js +19 -0
  48. package/emotion/es/examples/plasma_b2c/components/Tree/Tree.js +5 -0
  49. package/emotion/es/examples/plasma_b2c/components/Tree/Tree.stories.tsx +117 -0
  50. package/emotion/es/examples/plasma_web/components/Tree/Tree.config.js +19 -0
  51. package/emotion/es/examples/plasma_web/components/Tree/Tree.js +5 -0
  52. package/emotion/es/examples/plasma_web/components/Tree/Tree.stories.tsx +117 -0
  53. package/emotion/es/index.js +1 -0
  54. package/es/components/Tree/Tree.css +7 -0
  55. package/es/components/Tree/Tree.js +94 -0
  56. package/es/components/Tree/Tree.js.map +1 -0
  57. package/es/components/Tree/Tree.styles.js +35 -0
  58. package/es/components/Tree/Tree.styles.js.map +1 -0
  59. package/es/components/Tree/Tree.styles_1mwgczn.css +5 -0
  60. package/es/components/Tree/Tree.tokens.js +38 -0
  61. package/es/components/Tree/Tree.tokens.js.map +1 -0
  62. package/es/components/Tree/utils/sizeToIconSize.js +7 -0
  63. package/es/components/Tree/utils/sizeToIconSize.js.map +1 -0
  64. package/es/components/_Icon/Icon.assets/Folder.js +21 -0
  65. package/es/components/_Icon/Icon.assets/Folder.js.map +1 -0
  66. package/es/components/_Icon/Icons/IconFolder.js +19 -0
  67. package/es/components/_Icon/Icons/IconFolder.js.map +1 -0
  68. package/es/index.css +6 -0
  69. package/es/index.js +2 -0
  70. package/es/index.js.map +1 -1
  71. package/package.json +3 -2
  72. package/styled-components/cjs/components/Tree/Tree.js +100 -0
  73. package/styled-components/cjs/components/Tree/Tree.styles.js +26 -0
  74. package/styled-components/cjs/components/Tree/Tree.template-doc.mdx +102 -0
  75. package/styled-components/cjs/components/Tree/Tree.tokens.js +41 -0
  76. package/styled-components/cjs/components/Tree/Tree.types.js +5 -0
  77. package/styled-components/cjs/components/Tree/index.js +19 -0
  78. package/styled-components/cjs/components/Tree/utils/index.js +12 -0
  79. package/styled-components/cjs/components/Tree/utils/sizeToIconSize.js +10 -0
  80. package/styled-components/cjs/components/_Icon/Icon.assets/Folder.js +24 -0
  81. package/styled-components/cjs/components/_Icon/Icons/IconFolder.js +22 -0
  82. package/styled-components/cjs/components/_Icon/index.js +8 -1
  83. package/styled-components/cjs/examples/plasma_b2c/components/Tree/Tree.config.js +25 -0
  84. package/styled-components/cjs/examples/plasma_b2c/components/Tree/Tree.js +11 -0
  85. package/styled-components/cjs/examples/plasma_b2c/components/Tree/Tree.stories.tsx +117 -0
  86. package/styled-components/cjs/examples/plasma_web/components/Tree/Tree.config.js +25 -0
  87. package/styled-components/cjs/examples/plasma_web/components/Tree/Tree.js +11 -0
  88. package/styled-components/cjs/examples/plasma_web/components/Tree/Tree.stories.tsx +117 -0
  89. package/styled-components/cjs/index.js +11 -0
  90. package/styled-components/es/components/Tree/Tree.js +91 -0
  91. package/styled-components/es/components/Tree/Tree.styles.js +18 -0
  92. package/styled-components/es/components/Tree/Tree.template-doc.mdx +102 -0
  93. package/styled-components/es/components/Tree/Tree.tokens.js +35 -0
  94. package/styled-components/es/components/Tree/Tree.types.js +1 -0
  95. package/styled-components/es/components/Tree/index.js +2 -0
  96. package/styled-components/es/components/Tree/utils/index.js +1 -0
  97. package/styled-components/es/components/Tree/utils/sizeToIconSize.js +4 -0
  98. package/styled-components/es/components/_Icon/Icon.assets/Folder.js +17 -0
  99. package/styled-components/es/components/_Icon/Icons/IconFolder.js +15 -0
  100. package/styled-components/es/components/_Icon/index.js +2 -1
  101. package/styled-components/es/examples/plasma_b2c/components/Tree/Tree.config.js +19 -0
  102. package/styled-components/es/examples/plasma_b2c/components/Tree/Tree.js +5 -0
  103. package/styled-components/es/examples/plasma_b2c/components/Tree/Tree.stories.tsx +117 -0
  104. package/styled-components/es/examples/plasma_web/components/Tree/Tree.config.js +19 -0
  105. package/styled-components/es/examples/plasma_web/components/Tree/Tree.js +5 -0
  106. package/styled-components/es/examples/plasma_web/components/Tree/Tree.stories.tsx +117 -0
  107. package/styled-components/es/index.js +1 -0
  108. package/types/components/Tree/Tree.d.ts +20 -0
  109. package/types/components/Tree/Tree.d.ts.map +1 -0
  110. package/types/components/Tree/Tree.styles.d.ts +7 -0
  111. package/types/components/Tree/Tree.styles.d.ts.map +1 -0
  112. package/types/components/Tree/Tree.tokens.d.ts +36 -0
  113. package/types/components/Tree/Tree.tokens.d.ts.map +1 -0
  114. package/types/components/Tree/Tree.types.d.ts +154 -0
  115. package/types/components/Tree/Tree.types.d.ts.map +1 -0
  116. package/types/components/Tree/index.d.ts +3 -0
  117. package/types/components/Tree/index.d.ts.map +1 -0
  118. package/types/components/Tree/utils/index.d.ts +2 -0
  119. package/types/components/Tree/utils/index.d.ts.map +1 -0
  120. package/types/components/Tree/utils/sizeToIconSize.d.ts +2 -0
  121. package/types/components/Tree/utils/sizeToIconSize.d.ts.map +1 -0
  122. package/types/components/_Icon/Icon.assets/Folder.d.ts +4 -0
  123. package/types/components/_Icon/Icon.assets/Folder.d.ts.map +1 -0
  124. package/types/components/_Icon/Icons/IconFolder.d.ts +4 -0
  125. package/types/components/_Icon/Icons/IconFolder.d.ts.map +1 -0
  126. package/types/components/_Icon/index.d.ts +1 -0
  127. package/types/components/_Icon/index.d.ts.map +1 -1
  128. package/types/examples/plasma_b2c/components/Tree/Tree.config.d.ts +18 -0
  129. package/types/examples/plasma_b2c/components/Tree/Tree.config.d.ts.map +1 -0
  130. package/types/examples/plasma_b2c/components/Tree/Tree.d.ts +13 -0
  131. package/types/examples/plasma_b2c/components/Tree/Tree.d.ts.map +1 -0
  132. package/types/examples/plasma_web/components/Tree/Tree.config.d.ts +18 -0
  133. package/types/examples/plasma_web/components/Tree/Tree.config.d.ts.map +1 -0
  134. package/types/examples/plasma_web/components/Tree/Tree.d.ts +13 -0
  135. package/types/examples/plasma_web/components/Tree/Tree.d.ts.map +1 -0
  136. package/types/index.d.ts +1 -0
  137. package/types/index.d.ts.map +1 -1
@@ -0,0 +1,117 @@
1
+ import * as React from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { StoryObj, Meta } from '@storybook/react';
4
+
5
+ import { WithTheme } from '../../../_helpers';
6
+
7
+ import { Tree } from './Tree';
8
+
9
+ const treeData: any[] = [
10
+ {
11
+ title: 'Parent 1',
12
+ key: '0-0',
13
+ children: [
14
+ {
15
+ title: 'Parent 1-0',
16
+ key: '0-0-0',
17
+ children: [
18
+ {
19
+ title: 'Leaf',
20
+ key: '0-0-0-0',
21
+ disabled: true,
22
+ },
23
+ {
24
+ title: 'Leaf',
25
+ key: '0-0-0-1',
26
+ children: [
27
+ {
28
+ title: 'Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf',
29
+ key: '0-0-0-0-0',
30
+ },
31
+ {
32
+ title: 'Leaf',
33
+ key: '0-0-0-0-1',
34
+ },
35
+ ],
36
+ },
37
+ ],
38
+ },
39
+ {
40
+ title: 'Parent 1-1',
41
+ key: '0-0-1',
42
+ children: [{ title: 'Leaf', key: '0-0-1-0' }],
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ title: 'Parent 2',
48
+ key: '0-1',
49
+ children: [
50
+ {
51
+ title: 'Parent 2-0',
52
+ key: '0-1-0',
53
+ },
54
+ ],
55
+ },
56
+ ];
57
+
58
+ type StoryTreeProps = ComponentProps<typeof Tree>;
59
+
60
+ const size = ['xs', 's', 'm', 'l'];
61
+ const arrowPlacements = ['left', 'right'];
62
+
63
+ const meta: Meta<StoryTreeProps> = {
64
+ title: 'web/Data Entry/Tree',
65
+ decorators: [WithTheme],
66
+ component: Tree,
67
+ argTypes: {
68
+ size: {
69
+ control: 'select',
70
+ options: size,
71
+ },
72
+ checkable: {
73
+ control: 'boolean',
74
+ },
75
+ multiple: {
76
+ control: 'boolean',
77
+ },
78
+ arrowPlacement: {
79
+ options: arrowPlacements,
80
+ control: {
81
+ type: 'inline-radio',
82
+ },
83
+ },
84
+ defaultExpandAll: {
85
+ control: 'boolean',
86
+ },
87
+ fullWidthItemSelection: {
88
+ control: 'boolean',
89
+ },
90
+ height: {
91
+ control: 'number',
92
+ },
93
+ hasIcon: {
94
+ control: 'boolean',
95
+ },
96
+ },
97
+ args: {
98
+ size: 'm',
99
+ fullWidthItemSelection: false,
100
+ checkable: false,
101
+ multiple: false,
102
+ arrowPlacement: 'left',
103
+ defaultExpandAll: true,
104
+ height: undefined,
105
+ hasIcon: true,
106
+ },
107
+ };
108
+
109
+ export default meta;
110
+
111
+ const StoryDefault = (args: StoryTreeProps) => {
112
+ return <Tree {...args} items={treeData} />;
113
+ };
114
+
115
+ export const Default: StoryObj<StoryTreeProps> = {
116
+ render: (args) => <StoryDefault {...args} />,
117
+ };
@@ -65,4 +65,5 @@ export * from './components/Attach';
65
65
  export * from './components/ViewContainer';
66
66
  export * from './components/NumberInput';
67
67
  export * from './components/Dropzone';
68
+ export * from './components/Tree';
68
69
  export * from './components/Rating';
@@ -0,0 +1,7 @@
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);}
@@ -0,0 +1,94 @@
1
+ import React, { forwardRef } from 'react';
2
+ import Tree from 'rc-tree';
3
+ import 'rc-tree/assets/index.css';
4
+ import { cx } from '../../utils/index.js';
5
+ import { base, IconArrowWrapper, StyledArrow, IconFolderWrapper, StyledFolder } from './Tree.styles.js';
6
+ import { classes } from './Tree.tokens.js';
7
+ import { sizeToIconSize } from './utils/sizeToIconSize.js';
8
+
9
+ /**
10
+ * Многоуровневый раскрывающийся список в виде дерева.
11
+ */
12
+ var treeRoot = function treeRoot(Root) {
13
+ return /*#__PURE__*/forwardRef(function (_ref, ref) {
14
+ var items = _ref.items,
15
+ _ref$arrowPlacement = _ref.arrowPlacement,
16
+ arrowPlacement = _ref$arrowPlacement === void 0 ? 'left' : _ref$arrowPlacement,
17
+ _ref$virtual = _ref.virtual,
18
+ virtual = _ref$virtual === void 0 ? false : _ref$virtual,
19
+ height = _ref.height,
20
+ size = _ref.size,
21
+ view = _ref.view,
22
+ _ref$fullWidthItemSel = _ref.fullWidthItemSelection,
23
+ fullWidthItemSelection = _ref$fullWidthItemSel === void 0 ? false : _ref$fullWidthItemSel,
24
+ _ref$multiple = _ref.multiple,
25
+ multiple = _ref$multiple === void 0 ? false : _ref$multiple,
26
+ _ref$defaultExpandAll = _ref.defaultExpandAll,
27
+ defaultExpandAll = _ref$defaultExpandAll === void 0 ? false : _ref$defaultExpandAll,
28
+ _ref$checkable = _ref.checkable,
29
+ checkable = _ref$checkable === void 0 ? false : _ref$checkable,
30
+ defaultCheckedKeys = _ref.defaultCheckedKeys,
31
+ defaultExpandedKeys = _ref.defaultExpandedKeys,
32
+ defaultSelectedKeys = _ref.defaultSelectedKeys,
33
+ className = _ref.className,
34
+ onTreeSelect = _ref.onTreeSelect,
35
+ onTreeCheck = _ref.onTreeCheck,
36
+ onTreeExpand = _ref.onTreeExpand,
37
+ _ref$hasIcon = _ref.hasIcon,
38
+ hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
39
+ icon = _ref.icon;
40
+ var invertedClass = arrowPlacement === 'right' ? classes.treeInverted : undefined;
41
+ var itemFilledClass = fullWidthItemSelection ? classes.treeItemFilled : undefined;
42
+ return /*#__PURE__*/React.createElement(Root, {
43
+ view: view,
44
+ size: size,
45
+ ref: ref,
46
+ items: items
47
+ }, /*#__PURE__*/React.createElement(Tree, {
48
+ height: height,
49
+ virtual: virtual,
50
+ multiple: multiple,
51
+ checkable: checkable,
52
+ className: cx(className, invertedClass, itemFilledClass),
53
+ defaultExpandAll: defaultExpandAll,
54
+ style: {
55
+ border: '1px solid #000'
56
+ },
57
+ treeData: items,
58
+ defaultCheckedKeys: defaultCheckedKeys,
59
+ defaultExpandedKeys: defaultExpandedKeys,
60
+ defaultSelectedKeys: defaultSelectedKeys,
61
+ onSelect: onTreeSelect,
62
+ onCheck: onTreeCheck,
63
+ onExpand: onTreeExpand,
64
+ switcherIcon: function switcherIcon(node) {
65
+ if (node.isLeaf) {
66
+ return null;
67
+ }
68
+ return /*#__PURE__*/React.createElement(IconArrowWrapper, null, /*#__PURE__*/React.createElement(StyledArrow, {
69
+ size: sizeToIconSize(size),
70
+ color: "inherit",
71
+ className: "arrow"
72
+ }));
73
+ },
74
+ icon: hasIcon && (icon || /*#__PURE__*/React.createElement(IconFolderWrapper, null, /*#__PURE__*/React.createElement(StyledFolder, {
75
+ size: sizeToIconSize(size),
76
+ color: "inherit"
77
+ })))
78
+ }));
79
+ });
80
+ };
81
+ var treeConfig = {
82
+ name: 'Tree',
83
+ tag: 'div',
84
+ layout: treeRoot,
85
+ base: base,
86
+ variations: {},
87
+ defaults: {
88
+ view: 'default',
89
+ size: 'm'
90
+ }
91
+ };
92
+
93
+ export { treeConfig, treeRoot };
94
+ //# sourceMappingURL=Tree.js.map
@@ -0,0 +1 @@
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","StyledFolder","treeConfig","name","tag","layout","base","variations","defaults"],"mappings":"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"}
@@ -0,0 +1,35 @@
1
+ import './Tree.styles_1mwgczn.css';
2
+ import { styled } from '@linaria/react';
3
+ import { IconDisclosureRightCentered } from '../_Icon/Icons/IconDisclosureRightCentered.js';
4
+ import { IconFolder } from '../_Icon/Icons/IconFolder.js';
5
+
6
+ var IconArrowWrapper = /*#__PURE__*/styled('div')({
7
+ name: "IconArrowWrapper",
8
+ "class": "io9xczg",
9
+ propsAsIs: false
10
+ });
11
+ var _exp4 = function _exp4() {
12
+ return IconDisclosureRightCentered;
13
+ };
14
+ var StyledArrow = /*#__PURE__*/styled(_exp4())({
15
+ name: "StyledArrow",
16
+ "class": "smciu6q",
17
+ propsAsIs: true
18
+ });
19
+ var IconFolderWrapper = /*#__PURE__*/styled('div')({
20
+ name: "IconFolderWrapper",
21
+ "class": "i1t4s7ru",
22
+ propsAsIs: false
23
+ });
24
+ var _exp7 = function _exp7() {
25
+ return IconFolder;
26
+ };
27
+ var StyledFolder = /*#__PURE__*/styled(_exp7())({
28
+ name: "StyledFolder",
29
+ "class": "s1bgqryr",
30
+ propsAsIs: true
31
+ });
32
+ var base = "b1un80r8";
33
+
34
+ export { IconArrowWrapper, IconFolderWrapper, StyledArrow, StyledFolder, base };
35
+ //# sourceMappingURL=Tree.styles.js.map
@@ -0,0 +1 @@
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,MAAM,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,2BAA2B,CAAA;AAAA,CAAA,CAAA;AAAtD,IAAMC,WAAW,gBAAGN,MAAM,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,MAAM,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,UAAU,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMC,YAAY,gBAAGV,MAAM,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;;;;"}
@@ -0,0 +1,5 @@
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);}
@@ -0,0 +1,38 @@
1
+ var classes = {
2
+ treeInverted: 'tree-inverted',
3
+ treeItemFilled: 'tree-item-filled'
4
+ };
5
+ var treeTokens = {
6
+ arrowColor: '--plasma-tree-arrow-color',
7
+ arrowColorHover: '--plasma-tree-arrow-color-hover',
8
+ arrowColorActive: '--plasma-tree-arrow-color-active',
9
+ color: '--plasma-tree-color',
10
+ colorSelected: '--plasma-tree-color-selected',
11
+ fontFamily: '--plasma-tree-font-family',
12
+ fontSize: '--plasma-tree-font-size',
13
+ fontStyle: '--plasma-tree-font-style',
14
+ fontWeight: '--plasma-tree-font-weight',
15
+ letterSpacing: '--plasma-tree-letter-spacing',
16
+ lineHeight: '--plasma-tree-line-height',
17
+ itemHeight: '--plasma-tree-item-height',
18
+ itemPadding: '--plasma-tree-item-padding',
19
+ itemPaddingTight: '--plasma-tree-item-padding-tight',
20
+ itemIndent: '--plasma-tree-item-indent',
21
+ itemBorderRadius: '--plasma-tree-item-border-radius',
22
+ iconFolderMargin: '--plasma-tree-icon-folder-margin',
23
+ switcherMargin: '--plasma-tree-switcher-margin',
24
+ switcherSize: '--plasma-tree-switcher-size',
25
+ checkboxSize: '--plasma-tree-checkbox-size',
26
+ checkboxInnerSize: '--plasma-tree-checkbox-inner-size',
27
+ checkboxBorderRadius: '--plasma-tree-checkbox-border-radius',
28
+ checkboxMargin: '--plasma-tree-checkbox-margin',
29
+ checkboxBorderColor: '--plasma-tree-checkbox-border-color',
30
+ checkboxBackgroundColor: '--plasma-tree-checkbox-background-color',
31
+ itemBackgroundColor: '--plasma-tree-item-background-color',
32
+ itemBackgroundColorHover: '--plasma-tree-item-background-color-hover',
33
+ itemBackgroundColorActive: '--plasma-tree-item-background-color-active',
34
+ itemDisabledOpacity: '--plasma-tree-item-disabled-opacity'
35
+ };
36
+
37
+ export { classes, treeTokens };
38
+ //# sourceMappingURL=Tree.tokens.js.map
@@ -0,0 +1 @@
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;;;;"}
@@ -0,0 +1,7 @@
1
+ var sizeToIconSize = function sizeToIconSize(size) {
2
+ if (size === 'xs') return 'xs';
3
+ return 's';
4
+ };
5
+
6
+ export { sizeToIconSize };
7
+ //# sourceMappingURL=sizeToIconSize.js.map
@@ -0,0 +1 @@
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;;;;"}
@@ -0,0 +1,21 @@
1
+ import { extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+
4
+ var _path;
5
+ var Folder = function Folder(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ width: "100%",
8
+ height: "100%",
9
+ viewBox: "0 0 24 24",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
13
+ fillRule: "evenodd",
14
+ clipRule: "evenodd",
15
+ 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",
16
+ fill: "currentColor"
17
+ })));
18
+ };
19
+
20
+ export { Folder };
21
+ //# sourceMappingURL=Folder.js.map
@@ -0,0 +1 @@
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,QAAA,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;;;;"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { Folder } from '../Icon.assets/Folder.js';
3
+ import { IconRoot } from '../IconRoot.js';
4
+
5
+ var IconFolder = function IconFolder(_ref) {
6
+ var _ref$size = _ref.size,
7
+ size = _ref$size === void 0 ? 'xs' : _ref$size,
8
+ color = _ref.color,
9
+ className = _ref.className;
10
+ return /*#__PURE__*/React.createElement(IconRoot, {
11
+ className: className,
12
+ size: size,
13
+ color: color,
14
+ icon: Folder
15
+ });
16
+ };
17
+
18
+ export { IconFolder };
19
+ //# sourceMappingURL=IconFolder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconFolder.js","sources":["../../../../src/components/_Icon/Icons/IconFolder.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Folder } from '../Icon.assets/Folder';\nimport { IconRoot, IconProps } from '../IconRoot';\n\nexport const IconFolder: React.FC<IconProps> = ({ size = 'xs', color, className }) => {\n return <IconRoot className={className} size={size} color={color} icon={Folder} />;\n};\n"],"names":["IconFolder","_ref","_ref$size","size","color","className","React","createElement","IconRoot","icon","Folder"],"mappings":";;;;IAKaA,UAA+B,GAAG,SAAlCA,UAA+BA,CAAAC,IAAA,EAA0C;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAApCE,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,SAAA;IAAEE,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS,CAAA;AAC3E,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACC,QAAQ,EAAA;AAACH,IAAAA,SAAS,EAAEA,SAAU;AAACF,IAAAA,IAAI,EAAEA,IAAK;AAACC,IAAAA,KAAK,EAAEA,KAAM;AAACK,IAAAA,IAAI,EAAEC,MAAAA;AAAO,GAAE,CAAC,CAAA;AACrF;;;;"}
package/es/index.css CHANGED
@@ -855,6 +855,12 @@
855
855
  .Dropzone_styles_1its6my_d1r2tsr1__4bf7a496{visibility:hidden;position:absolute;z-index:-9999;opacity:0;}
856
856
  .Dropzone_styles_1its6my_h9wsl68__4bf7a496{display:none;}
857
857
 
858
+ .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);}
859
+ .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;}
860
+ .Tree_styles_1mwgczn_i1t4s7ru__70ed92a2{line-height:0;color:var(--plasma-tree-arrow-color);margin:var(--plasma-tree-icon-folder-margin);}
861
+
862
+ .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);}
863
+
858
864
  .Rating_styles_hi5qwl_b1s2z5a7__fbb4c466{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
859
865
 
860
866
  .Rating_styles_hi5qwl_w2w5s5q__fbb4c466{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:start;-webkit-box-align:start;-ms-flex-align:start;align-items:start;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
package/es/index.js CHANGED
@@ -209,6 +209,8 @@ export { numberInputConfig, numberInputRoot } from './components/NumberInput/Num
209
209
  export { classes as numberInputClasses, tokens as numberInputTokens } from './components/NumberInput/NumberInput.tokens.js';
210
210
  export { dropzoneConfig, dropzoneRoot } from './components/Dropzone/Dropzone.js';
211
211
  export { classes as dropzoneClasses, tokens as dropzoneTokens } from './components/Dropzone/Dropzone.tokens.js';
212
+ export { treeConfig } from './components/Tree/Tree.js';
213
+ export { treeTokens } from './components/Tree/Tree.tokens.js';
212
214
  export { ratingConfig, ratingRoot } from './components/Rating/Rating.js';
213
215
  export { classes as ratingClasses, tokens as ratingTokens } from './components/Rating/Rating.tokens.js';
214
216
  //# sourceMappingURL=index.js.map
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.231.1-dev.0",
3
+ "version": "0.231.2-canary.1603.12471850782.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./es/index.js",
@@ -138,6 +138,7 @@
138
138
  "dayjs": "1.11.11",
139
139
  "focus-visible": "5.2.0",
140
140
  "lodash.throttle": "4.1.1",
141
+ "rc-tree": "5.11.0",
141
142
  "react-draggable": "4.4.3",
142
143
  "react-popper": "2.3.0",
143
144
  "storeon": "3.1.5"
@@ -145,5 +146,5 @@
145
146
  "sideEffects": [
146
147
  "*.css"
147
148
  ],
148
- "gitHead": "db1bf70e3567af5de2534e2824101d40d3e05130"
149
+ "gitHead": "d8621c42c54dab1d834a4286021715e59329556a"
149
150
  }