@semcore/ui 12.1.0 → 12.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +158 -4
- package/README.md +38 -12
- package/icon/AppBlock/l/index.cjs +1 -0
- package/icon/AppBlock/l/index.d.ts +2 -0
- package/icon/AppBlock/l/index.js +2 -0
- package/icon/AppBlock/l/index.mjs +2 -0
- package/icon/AppBlock/m/index.cjs +1 -0
- package/icon/AppBlock/m/index.d.ts +2 -0
- package/icon/AppBlock/m/index.js +2 -0
- package/icon/AppBlock/m/index.mjs +2 -0
- package/icon/AppsBlock/l/index.cjs +1 -0
- package/icon/AppsBlock/l/index.d.ts +2 -0
- package/icon/AppsBlock/l/index.js +2 -0
- package/icon/AppsBlock/l/index.mjs +2 -0
- package/icon/AppsBlock/m/index.cjs +1 -0
- package/icon/AppsBlock/m/index.d.ts +2 -0
- package/icon/AppsBlock/m/index.js +2 -0
- package/icon/AppsBlock/m/index.mjs +2 -0
- package/icon/ClusteredList/l/index.cjs +1 -0
- package/icon/ClusteredList/l/index.d.ts +2 -0
- package/icon/ClusteredList/l/index.js +2 -0
- package/icon/ClusteredList/l/index.mjs +2 -0
- package/icon/ClusteredList/m/index.cjs +1 -0
- package/icon/ClusteredList/m/index.d.ts +2 -0
- package/icon/ClusteredList/m/index.js +2 -0
- package/icon/ClusteredList/m/index.mjs +2 -0
- package/illustration/index.cjs +1 -0
- package/illustration/index.d.ts +1 -0
- package/illustration/index.js +1 -0
- package/illustration/index.mjs +1 -0
- package/package.json +74 -73
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,161 @@
|
|
|
1
|
+
## [12.4.0] - 2022-07-25
|
|
2
|
+
|
|
3
|
+
### @semcore/d3-chart
|
|
4
|
+
|
|
5
|
+
- **Fixed** Fixed ability to change `tag` in render(prop) functions.
|
|
6
|
+
- **Fixed** Fixed `RadialTree` typings.
|
|
7
|
+
- **Fixed** Fixed `RadialTree` rendering in Safari.
|
|
8
|
+
- **Fixed** Fixed `RadialTree` radian labels rendering.
|
|
9
|
+
|
|
10
|
+
### @semcore/data-table
|
|
11
|
+
|
|
12
|
+
- **Changed** Add `onScroll` callback for `<Body/>`.
|
|
13
|
+
|
|
14
|
+
### @semcore/dropdown-menu
|
|
15
|
+
|
|
16
|
+
- **Fixed** Remove deprecated size (`xl`).
|
|
17
|
+
|
|
18
|
+
### @semcore/fullscreen-modal
|
|
19
|
+
|
|
20
|
+
- **Fixed** Fixed font family in Title
|
|
21
|
+
|
|
22
|
+
### @semcore/icon
|
|
23
|
+
|
|
24
|
+
- **Fixed** Renamed icon from `AppBlock` to `AppsBlock`. Old name is deprecated.
|
|
25
|
+
- **Added** Added icon `ClusteredList`.
|
|
26
|
+
- **Added** Added icon `AppsBlock`.
|
|
27
|
+
|
|
28
|
+
### @semcore/input
|
|
29
|
+
|
|
30
|
+
- **Changed** Fixed `Input.Addon` css classes were missing during server-side rendering.
|
|
31
|
+
- **Fixed** Fixed the reaction when interacting with the keyboard for the correct work of other components with keyboard support.
|
|
32
|
+
- **Fixed** Fixed applying `border-radius` for outline.
|
|
33
|
+
|
|
34
|
+
### @semcore/input-number
|
|
35
|
+
|
|
36
|
+
- **Fixed** Fixed rounding of float numbers.
|
|
37
|
+
|
|
38
|
+
### @semcore/neighbor-location
|
|
39
|
+
|
|
40
|
+
- **Fixed** Tuned up childildren elements counting (ignoring empty string).
|
|
41
|
+
|
|
42
|
+
### @semcore/popper
|
|
43
|
+
|
|
44
|
+
- **Fixed** Fixed possibility to insert render function into `Popper.Trigger`.
|
|
45
|
+
|
|
46
|
+
### @semcore/select
|
|
47
|
+
|
|
48
|
+
- **Fixed** Fixed color of Addon icons in `InputSearch`.
|
|
49
|
+
|
|
50
|
+
### @semcore/utils
|
|
51
|
+
|
|
52
|
+
- **Fixed** Fixed pcakage compatibility with ES modules.
|
|
53
|
+
|
|
54
|
+
## [12.3.0] - 2022-07-07
|
|
55
|
+
|
|
56
|
+
### @semcore/d3-chart
|
|
57
|
+
|
|
58
|
+
- **Added** Added index to Bubble chart
|
|
59
|
+
- **Added** Added property minimal height `hMin` for Bar (`<Bar hMin={...}/>`)
|
|
60
|
+
- **Added** Added property `active` for `Donut.Pie`
|
|
61
|
+
- **Fixed** Exclude props from html for `Tooltip.Dot`
|
|
62
|
+
- **Fixed** Recalculate position for `Dot` after update scale
|
|
63
|
+
- **Fixed** Optimization render `Dot`
|
|
64
|
+
|
|
65
|
+
### @semcore/data-table
|
|
66
|
+
|
|
67
|
+
- **Fixed** Fixed scrolling of table when enable virtual scrolling.
|
|
68
|
+
|
|
69
|
+
### @semcore/feedback-form
|
|
70
|
+
|
|
71
|
+
- **Fixed** Fixed feedback image.
|
|
72
|
+
|
|
73
|
+
### @semcore/icon
|
|
74
|
+
|
|
75
|
+
- **Added** Added icon `AppsBlock`.
|
|
76
|
+
|
|
77
|
+
### @semcore/illustration
|
|
78
|
+
|
|
79
|
+
- **Changed** Added react component `MailSent` put on path `@semcore/illustration/MailSent`
|
|
80
|
+
- **Changed** Illustration `MailSent` put on path `@semcore/illustration/svg/MailSent`
|
|
81
|
+
|
|
82
|
+
### @semcore/radio
|
|
83
|
+
|
|
84
|
+
- **Fixed** Change inherited TS type for Radio (IFlexProps -> IBoxProps)
|
|
85
|
+
|
|
86
|
+
### @semcore/widget-empty
|
|
87
|
+
|
|
88
|
+
- **Changed** Updated svg images for all charts, nothing found and congratulations states.
|
|
89
|
+
|
|
90
|
+
## [12.2.0] - 2022-06-24
|
|
91
|
+
|
|
92
|
+
### @semcore/breadcrumbs
|
|
93
|
+
|
|
94
|
+
- **Fixed** Fixed separator's margin.
|
|
95
|
+
|
|
96
|
+
### @semcore/chart
|
|
97
|
+
|
|
98
|
+
- **Changed** Changed type names from 'IPieProps' to 'IRechartsPieProps' so that there are no intersections with other components.
|
|
99
|
+
|
|
100
|
+
### @semcore/checkbox
|
|
101
|
+
|
|
102
|
+
- **Fixed** Fixed problem show `Checkbox` in `Modal` (Checkbox added scroll on page).
|
|
103
|
+
|
|
104
|
+
### @semcore/d3-chart
|
|
105
|
+
|
|
106
|
+
- **Changed** Changed type names from 'ITooltipProps' to 'ITooltipChartProps' so that there are no intersections with other components.
|
|
107
|
+
- **Changed** Changed type names from 'ITooltipContext' to 'ITooltipChartContext' so that there are no intersections with other components.
|
|
108
|
+
|
|
109
|
+
### @semcore/errors
|
|
110
|
+
|
|
111
|
+
- **Changed** Changed type names from 'iconNames' to 'iconNamesErrors' so that there are no intersections with other components.
|
|
112
|
+
|
|
113
|
+
### @semcore/feedback-form
|
|
114
|
+
|
|
115
|
+
- **Changed** Updated `react-final-form` to `6.5.2` to support React 17.
|
|
116
|
+
|
|
117
|
+
### @semcore/icon
|
|
118
|
+
|
|
119
|
+
- **Changed** Added files with the extension .mjs
|
|
120
|
+
|
|
121
|
+
### @semcore/inline-input
|
|
122
|
+
|
|
123
|
+
- **Fixed** Remove 4px vertical paddings.
|
|
124
|
+
|
|
125
|
+
### @semcore/notice-global
|
|
126
|
+
|
|
127
|
+
- **Changed** Changed type names from 'NoticeTheme' to 'NoticeGlobalTheme' so that there are no intersections with other components.
|
|
128
|
+
|
|
129
|
+
### @semcore/pills
|
|
130
|
+
|
|
131
|
+
- **Changed** Changed type names from 'IPopperHandlers' to 'IPillsHandlers' so that there are no intersections with other components.
|
|
132
|
+
|
|
133
|
+
### @semcore/progress-bar
|
|
134
|
+
|
|
135
|
+
- **Fixed** Theme prop doesn't work when styles has been post-processed
|
|
136
|
+
|
|
137
|
+
### @semcore/project-create
|
|
138
|
+
|
|
139
|
+
- **Changed** Updated `react-final-form` to `6.5.2` to support React 17.
|
|
140
|
+
|
|
141
|
+
### @semcore/tag
|
|
142
|
+
|
|
143
|
+
- **Fixed** Fixed non default colors resolving.
|
|
144
|
+
|
|
145
|
+
### @semcore/textarea
|
|
146
|
+
|
|
147
|
+
- **Fixed** Fixed textarea scroll to bottom on every resize.
|
|
148
|
+
|
|
149
|
+
### @semcore/utils
|
|
150
|
+
|
|
151
|
+
- **Changed** Changed type names from 'ChildrenType' to 'IfChildrenType' so that there are no intersections with other components.
|
|
152
|
+
HEAD
|
|
153
|
+
- **Changed** Update version dependency `@babel/runtime`.
|
|
154
|
+
|
|
155
|
+
### @semcore/widget-empty
|
|
156
|
+
|
|
157
|
+
- **Changed** Changed type names from 'iconNames' to 'iconNamesWidgetEmpty' so that there are no intersections with other components.
|
|
158
|
+
|
|
1
159
|
## [12.1.0] - 2022-05-31
|
|
2
160
|
|
|
3
161
|
### @semcore/button
|
|
@@ -32,10 +190,6 @@
|
|
|
32
190
|
|
|
33
191
|
- **Changed** Update version dependency `@babel/runtime`.
|
|
34
192
|
|
|
35
|
-
### @semcore/checkbox
|
|
36
|
-
|
|
37
|
-
- **Fixed** Fixed problem show `Checkbox` in `Modal` (Checkbox added scroll on page).
|
|
38
|
-
|
|
39
193
|
## [12.0.0] - 2022-05-19
|
|
40
194
|
|
|
41
195
|
### Global
|
package/README.md
CHANGED
|
@@ -1,15 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @semcore/ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/@semcore/ui)
|
|
4
|
+
[](https://www.npmjs.com/package/@semcore/ui)
|
|
5
|
+
[](https://github.com/semrush/intergalactic/blob/master/LICENSE)
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
> This is the design system package that reexports all other single component packages.
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
### 📖 [Component documentation](https://developer.semrush.com/intergalactic/internal/release/release-about/)
|
|
10
|
+
|
|
11
|
+
### 🏠 [Design system](https://developer.semrush.com/intergalactic/)
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install @semcore/ui
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
import ComponentName from '@semcore/ui/{{ component name }}';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 👤 Author
|
|
26
|
+
|
|
27
|
+
[UI-kit team](https://github.com/semrush/intergalactic/blob/master/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
|
|
28
|
+
|
|
29
|
+
## 🤝 Contributing
|
|
30
|
+
|
|
31
|
+
Contributions, issues and feature requests are welcome!
|
|
32
|
+
|
|
33
|
+
Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/master/CONTRIBUTING.md).
|
|
34
|
+
|
|
35
|
+
## Show your support
|
|
36
|
+
|
|
37
|
+
Give a ⭐️ if this project helped you!
|
|
38
|
+
|
|
39
|
+
## 📝 License
|
|
40
|
+
|
|
41
|
+
This project is [MIT](https://github.com/semrush/intergalactic/blob/master/LICENSE) licensed.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/icon/AppBlock/l');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/icon/AppBlock/m');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/icon/AppsBlock/l');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/icon/AppsBlock/m');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/icon/ClusteredList/l');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/icon/ClusteredList/m');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@semcore/illustration');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@semcore/illustration';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@semcore/illustration';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@semcore/illustration';
|
package/package.json
CHANGED
|
@@ -1,91 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/ui",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"scripts": {
|
|
8
|
-
"generate": "tsm generate.ts",
|
|
8
|
+
"generate": "tsm --require=../../.ci/tsm-filter-warnings.js generate.ts",
|
|
9
9
|
"test": "jest"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/accordion": "4.0.
|
|
13
|
-
"@semcore/animation": "1.5.
|
|
14
|
-
"@semcore/badge": "3.0.
|
|
15
|
-
"@semcore/base-trigger": "3.0.
|
|
16
|
-
"@semcore/breadcrumbs": "3.0.
|
|
17
|
-
"@semcore/breakpoints": "1.1.
|
|
18
|
-
"@semcore/button": "4.0.
|
|
19
|
-
"@semcore/card": "4.0.
|
|
20
|
-
"@semcore/carousel": "2.0.
|
|
21
|
-
"@semcore/chart": "5.
|
|
22
|
-
"@semcore/checkbox": "6.0.
|
|
23
|
-
"@semcore/core": "1.11.
|
|
24
|
-
"@semcore/counter": "2.0.
|
|
25
|
-
"@semcore/d3-chart": "2.
|
|
26
|
-
"@semcore/data-table": "3.
|
|
27
|
-
"@semcore/date-picker": "3.0.
|
|
28
|
-
"@semcore/divider": "3.0.
|
|
29
|
-
"@semcore/dot": "4.0.
|
|
30
|
-
"@semcore/drag-and-drop": "2.0.
|
|
31
|
-
"@semcore/dropdown": "3.0.
|
|
32
|
-
"@semcore/dropdown-menu": "3.0.
|
|
12
|
+
"@semcore/accordion": "4.0.9",
|
|
13
|
+
"@semcore/animation": "1.5.5",
|
|
14
|
+
"@semcore/badge": "3.0.5",
|
|
15
|
+
"@semcore/base-trigger": "3.0.11",
|
|
16
|
+
"@semcore/breadcrumbs": "3.0.10",
|
|
17
|
+
"@semcore/breakpoints": "1.1.9",
|
|
18
|
+
"@semcore/button": "4.0.9",
|
|
19
|
+
"@semcore/card": "4.0.10",
|
|
20
|
+
"@semcore/carousel": "2.0.9",
|
|
21
|
+
"@semcore/chart": "5.1.2",
|
|
22
|
+
"@semcore/checkbox": "6.0.7",
|
|
23
|
+
"@semcore/core": "1.11.9",
|
|
24
|
+
"@semcore/counter": "2.0.5",
|
|
25
|
+
"@semcore/d3-chart": "2.2.3",
|
|
26
|
+
"@semcore/data-table": "3.1.3",
|
|
27
|
+
"@semcore/date-picker": "3.0.13",
|
|
28
|
+
"@semcore/divider": "3.0.5",
|
|
29
|
+
"@semcore/dot": "4.0.8",
|
|
30
|
+
"@semcore/drag-and-drop": "2.0.10",
|
|
31
|
+
"@semcore/dropdown": "3.0.7",
|
|
32
|
+
"@semcore/dropdown-menu": "3.0.8",
|
|
33
33
|
"@semcore/email": "1.0.1",
|
|
34
|
-
"@semcore/errors": "3.
|
|
35
|
-
"@semcore/feature-popover": "3.0.
|
|
36
|
-
"@semcore/feedback-form": "5.
|
|
37
|
-
"@semcore/flags": "3.0.
|
|
38
|
-
"@semcore/flex-box": "4.5.
|
|
39
|
-
"@semcore/format-text": "3.0.
|
|
40
|
-
"@semcore/fullscreen-modal": "2.0.
|
|
41
|
-
"@semcore/grid": "4.1.
|
|
42
|
-
"@semcore/icon": "2.
|
|
43
|
-
"@semcore/
|
|
44
|
-
"@semcore/inline-
|
|
45
|
-
"@semcore/input": "3.0.
|
|
46
|
-
"@semcore/input
|
|
47
|
-
"@semcore/input-
|
|
48
|
-
"@semcore/input-
|
|
49
|
-
"@semcore/
|
|
50
|
-
"@semcore/
|
|
51
|
-
"@semcore/
|
|
52
|
-
"@semcore/
|
|
53
|
-
"@semcore/notice
|
|
54
|
-
"@semcore/notice-
|
|
55
|
-
"@semcore/
|
|
56
|
-
"@semcore/
|
|
57
|
-
"@semcore/
|
|
58
|
-
"@semcore/
|
|
59
|
-
"@semcore/
|
|
60
|
-
"@semcore/
|
|
61
|
-
"@semcore/
|
|
62
|
-
"@semcore/
|
|
63
|
-
"@semcore/
|
|
64
|
-
"@semcore/
|
|
65
|
-
"@semcore/
|
|
66
|
-
"@semcore/
|
|
67
|
-
"@semcore/
|
|
68
|
-
"@semcore/
|
|
69
|
-
"@semcore/
|
|
70
|
-
"@semcore/spin
|
|
71
|
-
"@semcore/
|
|
72
|
-
"@semcore/
|
|
73
|
-
"@semcore/
|
|
74
|
-
"@semcore/tab-
|
|
75
|
-
"@semcore/
|
|
76
|
-
"@semcore/
|
|
77
|
-
"@semcore/
|
|
78
|
-
"@semcore/
|
|
79
|
-
"@semcore/
|
|
80
|
-
"@semcore/
|
|
81
|
-
"@semcore/
|
|
82
|
-
"@semcore/
|
|
34
|
+
"@semcore/errors": "3.1.3",
|
|
35
|
+
"@semcore/feature-popover": "3.0.11",
|
|
36
|
+
"@semcore/feedback-form": "5.1.4",
|
|
37
|
+
"@semcore/flags": "3.0.5",
|
|
38
|
+
"@semcore/flex-box": "4.5.7",
|
|
39
|
+
"@semcore/format-text": "3.0.5",
|
|
40
|
+
"@semcore/fullscreen-modal": "2.0.12",
|
|
41
|
+
"@semcore/grid": "4.1.9",
|
|
42
|
+
"@semcore/icon": "2.29.2",
|
|
43
|
+
"@semcore/illustration": "1.0.2",
|
|
44
|
+
"@semcore/inline-edit": "2.0.5",
|
|
45
|
+
"@semcore/inline-input": "3.0.13",
|
|
46
|
+
"@semcore/input": "3.0.10",
|
|
47
|
+
"@semcore/input-mask": "4.0.10",
|
|
48
|
+
"@semcore/input-number": "4.0.11",
|
|
49
|
+
"@semcore/input-tags": "3.0.11",
|
|
50
|
+
"@semcore/link": "4.0.8",
|
|
51
|
+
"@semcore/modal": "3.0.10",
|
|
52
|
+
"@semcore/neighbor-location": "2.3.11",
|
|
53
|
+
"@semcore/notice": "4.1.6",
|
|
54
|
+
"@semcore/notice-bubble": "4.0.9",
|
|
55
|
+
"@semcore/notice-global": "1.1.4",
|
|
56
|
+
"@semcore/outside-click": "2.4.9",
|
|
57
|
+
"@semcore/pagination": "3.0.15",
|
|
58
|
+
"@semcore/pills": "4.1.3",
|
|
59
|
+
"@semcore/popper": "4.11.25",
|
|
60
|
+
"@semcore/portal": "2.3.8",
|
|
61
|
+
"@semcore/product-head": "3.0.5",
|
|
62
|
+
"@semcore/progress-bar": "3.0.6",
|
|
63
|
+
"@semcore/project-create": "5.1.7",
|
|
64
|
+
"@semcore/radio": "5.0.6",
|
|
65
|
+
"@semcore/scroll-area": "4.0.5",
|
|
66
|
+
"@semcore/select": "3.0.17",
|
|
67
|
+
"@semcore/side-panel": "2.0.10",
|
|
68
|
+
"@semcore/skeleton": "4.0.5",
|
|
69
|
+
"@semcore/slider": "3.0.5",
|
|
70
|
+
"@semcore/spin": "4.0.5",
|
|
71
|
+
"@semcore/spin-container": "6.0.5",
|
|
72
|
+
"@semcore/sticky": "2.2.8",
|
|
73
|
+
"@semcore/switch": "4.0.5",
|
|
74
|
+
"@semcore/tab-line": "3.0.5",
|
|
75
|
+
"@semcore/tab-panel": "3.0.4",
|
|
76
|
+
"@semcore/table": "3.0.10",
|
|
77
|
+
"@semcore/tag": "4.0.10",
|
|
78
|
+
"@semcore/textarea": "4.0.6",
|
|
79
|
+
"@semcore/time-picker": "3.0.19",
|
|
80
|
+
"@semcore/tooltip": "5.0.8",
|
|
81
|
+
"@semcore/typography": "4.0.10",
|
|
82
|
+
"@semcore/utils": "3.35.0",
|
|
83
|
+
"@semcore/widget-empty": "3.2.1"
|
|
83
84
|
},
|
|
84
85
|
"devDependencies": {
|
|
85
86
|
"fast-glob": "3.2.11",
|
|
86
87
|
"fs-extra": "9.0.1",
|
|
87
88
|
"jest": "26.5.3",
|
|
88
|
-
"tsm": "2.2.
|
|
89
|
+
"tsm": "2.2.2"
|
|
89
90
|
},
|
|
90
91
|
"jest": {
|
|
91
92
|
"preset": "@semcore/jest-preset-ui"
|