@semcore/ui 16.0.0-prerelease.14 → 16.0.0-prerelease.16
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 +18 -281
- package/data-table/index.d.ts +0 -1
- package/data-table/index.js +0 -1
- package/data-table/index.mjs +0 -1
- package/generate-reexport.ts +47 -0
- package/package.json +5396 -75
package/CHANGELOG.md
CHANGED
|
@@ -1,304 +1,41 @@
|
|
|
1
|
-
## [
|
|
2
|
-
|
|
3
|
-
### @semcore/accordion
|
|
4
|
-
|
|
5
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
6
|
-
|
|
7
|
-
### @semcore/add-filter
|
|
8
|
-
|
|
9
|
-
- **Added** Major version.
|
|
10
|
-
|
|
11
|
-
### @semcore/animation
|
|
12
|
-
|
|
13
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
14
|
-
|
|
15
|
-
### @semcore/badge
|
|
16
|
-
|
|
17
|
-
- **Added** Major version.
|
|
18
|
-
|
|
19
|
-
### @semcore/base-trigger
|
|
20
|
-
|
|
21
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
22
|
-
- **Added** `tabIndex` in `BaseTrigger` to fix focus [issue on webkit](https://bugs.webkit.org/show_bug.cgi?id=229895).
|
|
23
|
-
|
|
24
|
-
### @semcore/breadcrumbs
|
|
25
|
-
|
|
26
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
27
|
-
|
|
28
|
-
### @semcore/breakpoints
|
|
29
|
-
|
|
30
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
1
|
+
## [15.128.0] - 2025-04-04
|
|
31
2
|
|
|
32
3
|
### @semcore/bulk-textarea
|
|
33
4
|
|
|
34
|
-
- **Added**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- **
|
|
39
|
-
|
|
40
|
-
### @semcore/card
|
|
41
|
-
|
|
42
|
-
- **Added** Major version.
|
|
43
|
-
|
|
44
|
-
### @semcore/carousel
|
|
45
|
-
|
|
46
|
-
- **Added** Major version.
|
|
47
|
-
|
|
48
|
-
### @semcore/checkbox
|
|
49
|
-
|
|
50
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
51
|
-
|
|
52
|
-
### @semcore/color-picker
|
|
53
|
-
|
|
54
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
55
|
-
- **Deprecated** `Item` element for `ColorPicker.Colors` and `PaletteManager.Colors`.
|
|
56
|
-
|
|
57
|
-
### @semcore/core
|
|
58
|
-
|
|
59
|
-
- **Added** `utils` functions as part of Core.
|
|
60
|
-
- **Added** `LastInteractionType` class to check last interaction was from keyboard or mouse.
|
|
61
|
-
|
|
62
|
-
### @semcore/counter
|
|
63
|
-
|
|
64
|
-
- **Added** Major version.
|
|
65
|
-
|
|
66
|
-
### @semcore/d3-chart
|
|
67
|
-
|
|
68
|
-
- **Added** Major version.
|
|
69
|
-
|
|
70
|
-
### @semcore/data-table
|
|
71
|
-
|
|
72
|
-
- **Added** Major version.
|
|
73
|
-
|
|
74
|
-
### @semcore/date-picker
|
|
75
|
-
|
|
76
|
-
- **Added** Major version.
|
|
77
|
-
|
|
78
|
-
### @semcore/divider
|
|
79
|
-
|
|
80
|
-
- **Added** Major version.
|
|
81
|
-
|
|
82
|
-
### @semcore/dot
|
|
83
|
-
|
|
84
|
-
- **Added** Major version.
|
|
85
|
-
|
|
86
|
-
### @semcore/drag-and-drop
|
|
87
|
-
|
|
88
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
89
|
-
|
|
90
|
-
### @semcore/dropdown
|
|
91
|
-
|
|
92
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
93
|
-
|
|
94
|
-
### @semcore/dropdown-menu
|
|
95
|
-
|
|
96
|
-
- **Added** Major version.
|
|
97
|
-
|
|
98
|
-
### @semcore/ellipsis
|
|
99
|
-
|
|
100
|
-
- **Added** Major version.
|
|
101
|
-
|
|
102
|
-
### @semcore/errors
|
|
103
|
-
|
|
104
|
-
- **Added** Major version.
|
|
105
|
-
|
|
106
|
-
### @semcore/feature-popover
|
|
107
|
-
|
|
108
|
-
- **Added** Major version.
|
|
5
|
+
- **Added** New type for value/onChange. It could be `string` or `string[]`, depends on type of `value` property. `string` by default.
|
|
6
|
+
- **Fixed** Error if after processing the inserted value it will be empty array.
|
|
7
|
+
- **Fixed** Error with empty `utf` characters in `onChange` / `lineProcessing`.
|
|
8
|
+
- **Fixed** Cursor position after focusing a non-empty field.
|
|
9
|
+
- **Fixed** Blinking previous error after clicking on another line with error.
|
|
109
10
|
|
|
110
11
|
### @semcore/feedback-form
|
|
111
12
|
|
|
112
|
-
- **Changed**
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
- **Added** Major version.
|
|
117
|
-
|
|
118
|
-
### @semcore/flex-box
|
|
119
|
-
|
|
120
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
121
|
-
|
|
122
|
-
### @semcore/format-text
|
|
123
|
-
|
|
124
|
-
- **Deprecated** Full package.
|
|
125
|
-
|
|
126
|
-
### @semcore/fullscreen-modal
|
|
127
|
-
|
|
128
|
-
- **Added** Major version.
|
|
129
|
-
|
|
130
|
-
### @semcore/grid
|
|
131
|
-
|
|
132
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
133
|
-
|
|
134
|
-
### @semcore/i18n-unplugin
|
|
135
|
-
|
|
136
|
-
- **Added** Major version.
|
|
137
|
-
|
|
138
|
-
### @semcore/icon
|
|
139
|
-
|
|
140
|
-
- **Removed** External icons.
|
|
13
|
+
- **Changed** Email in FeedbackRating error notice as a link.
|
|
14
|
+
- **Changed** Star icons in Slider component.
|
|
15
|
+
- **Changed** Close feedback form behavior - the rating value is cleared.
|
|
16
|
+
- **Changed** It is impossible to open a form with an empty rating.
|
|
141
17
|
|
|
142
18
|
### @semcore/illustration
|
|
143
19
|
|
|
144
|
-
- **Added**
|
|
145
|
-
|
|
146
|
-
### @semcore/inline-edit
|
|
147
|
-
|
|
148
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
149
|
-
|
|
150
|
-
### @semcore/inline-input
|
|
151
|
-
|
|
152
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
153
|
-
|
|
154
|
-
### @semcore/input
|
|
155
|
-
|
|
156
|
-
- **Changed** Focus ring depends on `:focus-visible`.
|
|
157
|
-
|
|
158
|
-
### @semcore/input-mask
|
|
159
|
-
|
|
160
|
-
- **Deprecated** Full package.
|
|
161
|
-
|
|
162
|
-
### @semcore/input-number
|
|
163
|
-
|
|
164
|
-
- **Added** Major version.
|
|
165
|
-
|
|
166
|
-
### @semcore/input-tags
|
|
167
|
-
|
|
168
|
-
- **Added** Major version.
|
|
169
|
-
|
|
170
|
-
### @semcore/link
|
|
171
|
-
|
|
172
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
173
|
-
|
|
174
|
-
### @semcore/mini-chart
|
|
175
|
-
|
|
176
|
-
- **Added** Major version.
|
|
177
|
-
|
|
178
|
-
### @semcore/modal
|
|
179
|
-
|
|
180
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property for `Close` modal button.
|
|
181
|
-
|
|
182
|
-
### @semcore/neighbor-location
|
|
183
|
-
|
|
184
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
185
|
-
|
|
186
|
-
### @semcore/notice
|
|
187
|
-
|
|
188
|
-
- **Added** Major version.
|
|
189
|
-
|
|
190
|
-
### @semcore/notice-bubble
|
|
191
|
-
|
|
192
|
-
- **Changed** `ViewInfo` component to use `Button` instead of `Hint.Trigger`.
|
|
193
|
-
|
|
194
|
-
### @semcore/notice-global
|
|
195
|
-
|
|
196
|
-
- **Added** Major version.
|
|
20
|
+
- **Added** Exports in `package.json` for correct ESM build.
|
|
197
21
|
|
|
198
22
|
### @semcore/outside-click
|
|
199
23
|
|
|
200
|
-
- **
|
|
201
|
-
|
|
202
|
-
### @semcore/pagination
|
|
203
|
-
|
|
204
|
-
- **Added** Major version.
|
|
205
|
-
|
|
206
|
-
### @semcore/pills
|
|
207
|
-
|
|
208
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
209
|
-
|
|
210
|
-
### @semcore/popper
|
|
211
|
-
|
|
212
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
213
|
-
|
|
214
|
-
### @semcore/portal
|
|
215
|
-
|
|
216
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
217
|
-
|
|
218
|
-
### @semcore/product-head
|
|
219
|
-
|
|
220
|
-
- **Added** Major version.
|
|
221
|
-
|
|
222
|
-
### @semcore/progress-bar
|
|
223
|
-
|
|
224
|
-
- **Added** Major version.
|
|
225
|
-
|
|
226
|
-
### @semcore/radio
|
|
227
|
-
|
|
228
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
229
|
-
|
|
230
|
-
### @semcore/scroll-area
|
|
231
|
-
|
|
232
|
-
- **Deprecated** Import it from `@semcore/core`.
|
|
24
|
+
- **Fixed** Closing in some rare cases.
|
|
233
25
|
|
|
234
26
|
### @semcore/select
|
|
235
27
|
|
|
236
|
-
- **
|
|
237
|
-
|
|
238
|
-
### @semcore/side-panel
|
|
239
|
-
|
|
240
|
-
- **Added** Major version.
|
|
241
|
-
|
|
242
|
-
### @semcore/skeleton
|
|
243
|
-
|
|
244
|
-
- **Added** Major version.
|
|
245
|
-
|
|
246
|
-
### @semcore/slider
|
|
247
|
-
|
|
248
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
249
|
-
|
|
250
|
-
### @semcore/spin
|
|
251
|
-
|
|
252
|
-
- **Added** Major version.
|
|
253
|
-
|
|
254
|
-
### @semcore/spin-container
|
|
255
|
-
|
|
256
|
-
- **Added** Major version.
|
|
257
|
-
|
|
258
|
-
### @semcore/sticky
|
|
259
|
-
|
|
260
|
-
- **Deprecated** Full package.
|
|
261
|
-
|
|
262
|
-
### @semcore/switch
|
|
28
|
+
- **Fixed** Double call of `onChange` in InputSearch component.
|
|
263
29
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
### @semcore/tab-line
|
|
267
|
-
|
|
268
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
269
|
-
|
|
270
|
-
### @semcore/tab-panel
|
|
271
|
-
|
|
272
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
273
|
-
|
|
274
|
-
### @semcore/tag
|
|
275
|
-
|
|
276
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
277
|
-
- **Removed** `Tag.Close` component. Use `TagContainer.Close`.
|
|
278
|
-
|
|
279
|
-
### @semcore/textarea
|
|
280
|
-
|
|
281
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
282
|
-
|
|
283
|
-
### @semcore/time-picker
|
|
284
|
-
|
|
285
|
-
- **Changed** `keyboardFocusEnhance` to css `:focus-visible` property.
|
|
286
|
-
|
|
287
|
-
### @semcore/tooltip
|
|
288
|
-
|
|
289
|
-
- **Added** Major version.
|
|
290
|
-
|
|
291
|
-
### @semcore/typography
|
|
292
|
-
|
|
293
|
-
- **Removed** `Hint` component. Use `secondary` `ButtonLink` instead of it.
|
|
30
|
+
### @semcore/utils
|
|
294
31
|
|
|
295
|
-
|
|
32
|
+
- **Added** `setRef` and `getDisplayName` utils to the exports list.
|
|
296
33
|
|
|
297
|
-
|
|
34
|
+
## [15.127.0] - 2025-03-28
|
|
298
35
|
|
|
299
|
-
### @semcore/
|
|
36
|
+
### @semcore/button
|
|
300
37
|
|
|
301
|
-
- **
|
|
38
|
+
- **Added** New `brand` theme. `warning` theme was deprecated.
|
|
302
39
|
|
|
303
40
|
## [15.126.1] - 2025-03-20
|
|
304
41
|
|
package/data-table/index.d.ts
CHANGED
package/data-table/index.js
CHANGED
package/data-table/index.mjs
CHANGED
package/generate-reexport.ts
CHANGED
|
@@ -12,6 +12,14 @@ const dirname = path.resolve(filename, '..');
|
|
|
12
12
|
const components = fs.readJSONSync(path.resolve(dirname, './components.json'));
|
|
13
13
|
const JSXParser = Parser.extend(acornJSX());
|
|
14
14
|
|
|
15
|
+
type PackageExportItem = {
|
|
16
|
+
require: string;
|
|
17
|
+
import: string;
|
|
18
|
+
types?: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const packageJsonExports: Record<string, PackageExportItem> = {};
|
|
22
|
+
|
|
15
23
|
const hasExportDefault = async (dependency: string) => {
|
|
16
24
|
const require = createRequire(import.meta.url);
|
|
17
25
|
|
|
@@ -97,6 +105,12 @@ const GENERATOR = {
|
|
|
97
105
|
for (const util of utils) {
|
|
98
106
|
if (util.endsWith('.css')) {
|
|
99
107
|
await fs.outputFile(`./${name}/lib/${util}`, `@import '${dependency}/lib/${util}';`);
|
|
108
|
+
|
|
109
|
+
packageJsonExports[`./utils/lib/${util}`] = {
|
|
110
|
+
require: `./utils/lib/${util}`,
|
|
111
|
+
import: `./utils/lib/${util}`,
|
|
112
|
+
};
|
|
113
|
+
|
|
100
114
|
continue;
|
|
101
115
|
}
|
|
102
116
|
if (util.endsWith('.d.js')) {
|
|
@@ -127,8 +141,19 @@ const GENERATOR = {
|
|
|
127
141
|
template(dependency, utilNameWithoutExtention),
|
|
128
142
|
);
|
|
129
143
|
}
|
|
144
|
+
|
|
145
|
+
packageJsonExports[`./${name}/lib/${utilNameWithoutExtention}`] = {
|
|
146
|
+
require: `./${name}/lib/${utilNameWithoutExtention}.cjs`,
|
|
147
|
+
import: `./${name}/lib/${utilNameWithoutExtention}.mjs`,
|
|
148
|
+
types: `./${name}/lib/${utilNameWithoutExtention}.d.ts`,
|
|
149
|
+
};
|
|
130
150
|
}
|
|
131
151
|
await fs.copy(`${utilsPath}/style`, `./${name}/style`);
|
|
152
|
+
|
|
153
|
+
packageJsonExports['./utils/style/var'] = {
|
|
154
|
+
require: './utils/style/var.css',
|
|
155
|
+
import: './utils/style/var.css',
|
|
156
|
+
};
|
|
132
157
|
},
|
|
133
158
|
ICONS: async (dependency: string, name: string) => {
|
|
134
159
|
const require = createRequire(import.meta.url);
|
|
@@ -181,6 +206,16 @@ const GENERATOR = {
|
|
|
181
206
|
template(path.normalize(`${dependency}/${icon}/${subFile}`)),
|
|
182
207
|
);
|
|
183
208
|
}
|
|
209
|
+
|
|
210
|
+
const illustrationPath = `./${name}/${icon}${
|
|
211
|
+
subFile && subFile !== '.' ? `/${subFile}` : ''
|
|
212
|
+
}`;
|
|
213
|
+
|
|
214
|
+
packageJsonExports[illustrationPath] = {
|
|
215
|
+
require: `${illustrationPath}/index.cjs`,
|
|
216
|
+
import: `${illustrationPath}/index.mjs`,
|
|
217
|
+
types: `${illustrationPath}/index.d.ts`,
|
|
218
|
+
};
|
|
184
219
|
}
|
|
185
220
|
}
|
|
186
221
|
},
|
|
@@ -193,6 +228,12 @@ const GENERATOR = {
|
|
|
193
228
|
: EXPORT_TEMPLATES[extension].NAMED;
|
|
194
229
|
await fs.outputFile(`./${name}/index.${extension}`, template(dependency));
|
|
195
230
|
}
|
|
231
|
+
|
|
232
|
+
packageJsonExports[`./${name}`] = {
|
|
233
|
+
require: `./${name}/index.cjs`,
|
|
234
|
+
import: `./${name}/index.mjs`,
|
|
235
|
+
types: `./${name}/index.d.ts`,
|
|
236
|
+
};
|
|
196
237
|
},
|
|
197
238
|
};
|
|
198
239
|
|
|
@@ -204,6 +245,12 @@ const generateFiles = async (packages: string[]) => {
|
|
|
204
245
|
if (name === 'icon') await GENERATOR.ICONS(dep, name);
|
|
205
246
|
if (name === 'illustration') await GENERATOR.ICONS(dep, name);
|
|
206
247
|
await GENERATOR.OTHER(dep, name);
|
|
248
|
+
|
|
249
|
+
const packageJson = await fs.readJson(path.resolve(dirname, 'package.json'));
|
|
250
|
+
|
|
251
|
+
packageJson.exports = packageJsonExports;
|
|
252
|
+
|
|
253
|
+
await fs.writeJson(path.resolve(dirname, 'package.json'), packageJson, { spaces: 2 });
|
|
207
254
|
}
|
|
208
255
|
};
|
|
209
256
|
|