@public-ui/kolibri-cli 3.0.9-rc.0 → 3.0.9-rc.2
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/README.md
CHANGED
|
@@ -27,6 +27,14 @@ yarn add -g @public-ui/kolibri-cli
|
|
|
27
27
|
|
|
28
28
|
> **Important:** Install exactly the CLI version you want to upgrade to. The migration tool compares your locally installed `@public-ui/components` version with the CLI version to decide which migration tasks must run and in which order.
|
|
29
29
|
|
|
30
|
+
## Quickstart (Happy Path)
|
|
31
|
+
|
|
32
|
+
1. Install the CLI version that matches your target `@public-ui/components` release (see above).
|
|
33
|
+
2. Run the migration in your project root: `kolibri migrate .`.
|
|
34
|
+
3. Review the changes: `git status` and `git diff`.
|
|
35
|
+
4. Format updated files: `pnpm format`.
|
|
36
|
+
5. Commit the result and continue development.
|
|
37
|
+
|
|
30
38
|
## Usage
|
|
31
39
|
|
|
32
40
|
The `KoliBri` CLI is intended to be executed in your project root directory. Use the `kolibri` command to start the CLI.
|
|
@@ -69,27 +77,92 @@ If errors occur in our packages, we would like to ask you to create an issue und
|
|
|
69
77
|
|
|
70
78
|
With the `migrate` command you can migrate your project to the latest version of `KoliBri`.
|
|
71
79
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
80
|
+
The migration runner registers tasks in the following order and executes only those whose semantic version ranges match your
|
|
81
|
+
project: common tasks (`*`), v1 tasks (`^1`), v2 tasks (`^2` / `>=2.1.7 <3`), v3 tasks (`>=2 <4`), v4 tasks (`^4`) and
|
|
82
|
+
asset-related tasks (`^1`). All tasks are enabled by default. If you need to disable a noisy task or explicitly re-enable a
|
|
83
|
+
previously deactivated one for better migratability, set the corresponding flag in `.kolibri.config.json` under
|
|
84
|
+
`migrate.tasks` to `false` or `true`.
|
|
85
|
+
|
|
86
|
+
#### Migration tasks and version ranges
|
|
87
|
+
|
|
88
|
+
- **Common tasks (`*`)**
|
|
89
|
+
- Add `.kolibri.migrate.json` to `.gitignore`.
|
|
90
|
+
- Add `save-exact=true` to `.npmrc`.
|
|
91
|
+
- Configure `html.customData` in `.vscode/settings.json` to point to `@public-ui/components/vscode-custom-data.json`.
|
|
92
|
+
- **Version 1 tasks (`^1`, unless noted)**
|
|
93
|
+
- `kol-abbr`: rename `_align` → `_tooltip-align`; rename `_title` → `_label`.
|
|
94
|
+
- `kol-accordion`: rename `_heading` → `_label`; mark removed slot `header`; rename slot `content` to the default slot.
|
|
95
|
+
- `kol-alert`: rename `_heading` → `_label`.
|
|
96
|
+
- `kol-badge`: remove `_icon-only`; rename `_icon-only` → `_hide-label`; remove `_hide-label`; rename `_icon` → `_icons`.
|
|
97
|
+
- `kol-breadcrumb`: rename `_aria-label` → `_label`.
|
|
98
|
+
- `kol-button`: remove `_aria-current`; remove `_aria-label`; rename `_icon-only` → `_hide-label`; rename `_icon` → `_icons`;
|
|
99
|
+
refactor `_icon-align` into `_icons` (**`^2`**).
|
|
100
|
+
- `kol-button-link`: remove `_aria-current`; remove `_aria-label`; rename `_icon-only` → `_hide-label`; rename `_icon` →
|
|
101
|
+
`_icons`.
|
|
102
|
+
- `kol-card`: rename `_heading` → `_label`; rename `_headline` → `_label`; mark removed slots `footer` and `header`; rename
|
|
103
|
+
slot `content` to the default slot.
|
|
104
|
+
- `kol-details`: rename `_summary` → `_label`.
|
|
105
|
+
- `kol-icon`: rename `_aria-label` → `_label`; remove `_part`; rename `_icon` → `_icons`.
|
|
106
|
+
- `kol-input`: rename `_icon` → `_icons`.
|
|
107
|
+
- `kol-input-checkbox`: rename `_type` → `_variant`; rename `_icon` → `_icons`.
|
|
108
|
+
- `kol-input-color`: rename `_list` → `_suggestions`; rename `_icon` → `_icons`.
|
|
109
|
+
- `kol-input-date` / `kol-date`: rename `_list` → `_suggestions`; rename `_icon` → `_icons`.
|
|
110
|
+
- `kol-input-email`: rename `_list` → `_suggestions`; rename `_icon` → `_icons`; remove `_size`.
|
|
111
|
+
- `kol-input-file`: rename `_icon` → `_icons`.
|
|
112
|
+
- `kol-input-number`: rename `_list` → `_suggestions`; rename `_icon` → `_icons`; remove `_type`.
|
|
113
|
+
- `kol-input-password`: rename `_icon` → `_icons`; remove `_size`.
|
|
114
|
+
- `kol-input-radio`: rename `_list` → `_options`.
|
|
115
|
+
- `kol-input-range`: rename `_list` → `_suggestions`; rename `_icon` → `_icons`.
|
|
116
|
+
- `kol-input-text`: rename `_list` → `_suggestions`; rename `_icon` → `_icons`; remove `_size`.
|
|
117
|
+
- `kol-link`: remove `_aria-controls`, `_aria-expanded`, `_aria-label`, `_aria-selected`, `_disabled`, `_selector`, `_stealth`,
|
|
118
|
+
`_use-case`; rename `_aria-current` → `_listen-aria-current`; rename `_icon-only` → `_hide-label`; rename `_icon` → `_icons`;
|
|
119
|
+
refactor `_icon-align` (**`^2`**).
|
|
120
|
+
- `kol-link-button`: remove `_aria-controls`, `_aria-expanded`, `_aria-label`, `_aria-selected`, `_disabled`; rename
|
|
121
|
+
`_aria-current` → `_listen-aria-current`; rename `_icon-only` → `_hide-label`; rename `_icon` → `_icons`.
|
|
122
|
+
- `kol-link-group`: rename `_aria-label` → `_label`; rename `_heading` → `_label`; remove `_heading`; remove `_ordered`.
|
|
123
|
+
- `kol-logo`: rename `_abbr` → `_org`.
|
|
124
|
+
- `kol-modal`: rename `_aria-label` → `_label`.
|
|
125
|
+
- `kol-nav`: rename `_aria-label` → `_label`; rename `_compact` → `_hide-label`; remove `_variant`.
|
|
126
|
+
- `kol-pagination`: rename `_count` → `_total`; rename `_total` → `_max`.
|
|
127
|
+
- `kol-progress`: rename `_type` → `_variant`.
|
|
128
|
+
- `kol-quote`: rename `_caption` → `_label`.
|
|
129
|
+
- `kol-select`: rename `_height` → `_rows`; rename `_list` → `_options`; rename `_icon` → `_icons`; remove `_size`.
|
|
130
|
+
- `kol-skip-nav`: rename `_aria-label` → `_label`.
|
|
131
|
+
- `kol-span`: rename `_icon-only` → `_hide-label`; rename `_icon` → `_icons`.
|
|
132
|
+
- `kol-split-button`: remove `_aria-label`, `_access-key`, `_show-dropdown`; remove `_show`.
|
|
133
|
+
- `kol-symbol`: rename `_aria-label` → `_label`.
|
|
134
|
+
- `kol-table`: rename `_caption` → `_label`.
|
|
135
|
+
- `kol-tabs`: rename `_aria-label` → `_label`; rename `_tab-align` → `_align`; rename `_icon` → `_icons`; rename `_icon-only`
|
|
136
|
+
→ `_hide-label`.
|
|
137
|
+
- `kol-toast`: remove `_show-duration`; rename `_heading` → `_label`.
|
|
138
|
+
- `kol-version`: rename `_version` → `_label`.
|
|
139
|
+
- Expert slot migrations: move `innerText` to `_label` for `kol-heading`, `kol-input-*`, `kol-link`, `kol-select`,
|
|
140
|
+
`kol-textarea` (**`^1`**).
|
|
141
|
+
- Slot removals: mark removed `kol-accordion` `header`, `kol-card` `footer`/`header` (**`^1`**).
|
|
142
|
+
- Slot renames: `kol-accordion` / `kol-card` slot `content` → default slot (**`^1`**).
|
|
143
|
+
- Refactor `_label={false}` to empty string (**`>=1.6 <=1.7`**).
|
|
144
|
+
- **Version 2 tasks**
|
|
145
|
+
- `kol-card`: remove `_has-footer` (**`^2`**).
|
|
146
|
+
- `kol-link-group`: remove `_level` (**`^2`**).
|
|
147
|
+
- `kol-table`: rename tag `kol-table` → `kol-table-stateful` (**`>=2.1.7 <3`**).
|
|
148
|
+
- **Version 3 tasks (`>=2 <4`)**
|
|
149
|
+
- `kol-abbr`: remove `_tooltip-align`.
|
|
150
|
+
- `kol-input-file`: remove `_value`.
|
|
151
|
+
- `kol-modal`: remove `_active-element`.
|
|
152
|
+
- `kol-textarea`: `_resize="both"` → `_resize="vertical"`; `_resize="horizontal"` → `_resize="none"`.
|
|
153
|
+
- `kol-toaster`: rename `alertVariant` → `variant`; rename `defaultAlertType` → `defaultVariant`.
|
|
154
|
+
- All inputs (`kol-combobox`, `kol-input-*`, `kol-select`, `kol-single-select`, `kol-textarea`): remove `_alert`; rename
|
|
155
|
+
`_hide-error` → `_hide-msg`; refactor `_error` → `_msg`.
|
|
156
|
+
- **Version 4 tasks (`^4`)**
|
|
157
|
+
- Remove `_id` from `kol-button`, `kol-button-link`, `kol-combobox`, `kol-input-*`, `kol-popover-button`, `kol-select`,
|
|
158
|
+
`kol-single-select`, `kol-split-button`, `kol-textarea`, `kol-tooltip`.
|
|
159
|
+
- Remove `_label` and `_variant` keys from `_msg` objects.
|
|
160
|
+
- `kol-toast`: remove `variant` from `enqueue()` calls.
|
|
161
|
+
- `kol-toaster`: remove `defaultVariant` option from `getInstance()` calls.
|
|
162
|
+
- **Asset tasks (`^1`)**
|
|
163
|
+
- Remove old `cpy-cli`/`rimraf` versions and reinstall pinned ones.
|
|
164
|
+
- Add `scripts.prepare` to copy component assets into the project and remove `public/assets/codicons` before copying.
|
|
165
|
+
- Inject the Codicon stylesheet link into `index.html` (or warn if the file is missing).
|
|
93
166
|
|
|
94
167
|
#### Theme Migration
|
|
95
168
|
|
|
@@ -183,53 +256,124 @@ You can configure the migration with the `.kolibri.config.json` file in your pro
|
|
|
183
256
|
"tasks": {
|
|
184
257
|
".gitignore-add-rule-.kolibri.migrate.json": true,
|
|
185
258
|
".npmrc-add-rule-save-exact=true": true,
|
|
186
|
-
"
|
|
259
|
+
"add--cpy-cli,rimraf": true,
|
|
260
|
+
"exec-npx cpy \"node_modules/@public-ui/components/assets/**/*\" \"public/assets\" --dot": true,
|
|
261
|
+
"kol-abbr-remove-property-_tooltip-align": true,
|
|
187
262
|
"kol-abbr-rename-property-_align-to-_tooltip-align": true,
|
|
188
263
|
"kol-abbr-rename-property-_title-to-_label": true,
|
|
264
|
+
"kol-accordion-mark-removed-slot-header": true,
|
|
189
265
|
"kol-accordion-rename-property-_heading-to-_label": true,
|
|
266
|
+
"kol-accordion-rename-slot-content-to-": true,
|
|
190
267
|
"kol-alert-rename-property-_heading-to-_label": true,
|
|
191
|
-
"kol-badge-rename-property-_icon-only-to-_hide-label": true,
|
|
192
268
|
"kol-badge-remove-property-_hide-label": true,
|
|
193
269
|
"kol-badge-remove-property-_icon-only": true,
|
|
270
|
+
"kol-badge-rename-property-_icon-only-to-_hide-label": true,
|
|
194
271
|
"kol-badge-rename-property-_icon-to-_icons": true,
|
|
195
272
|
"kol-breadcrumb-rename-property-_aria-label-to-_label": true,
|
|
273
|
+
"kol-button-link-remove-property-_access-key": true,
|
|
196
274
|
"kol-button-link-remove-property-_aria-current": true,
|
|
197
275
|
"kol-button-link-remove-property-_aria-label": true,
|
|
276
|
+
"kol-button-link-remove-property-_id": true,
|
|
277
|
+
"kol-button-link-rename-property-_aria-current-to-_listen-aria-current": true,
|
|
198
278
|
"kol-button-link-rename-property-_icon-only-to-_hide-label": true,
|
|
199
279
|
"kol-button-link-rename-property-_icon-to-_icons": true,
|
|
280
|
+
"kol-button-remove-property-_access-key": true,
|
|
200
281
|
"kol-button-remove-property-_aria-current": true,
|
|
201
282
|
"kol-button-remove-property-_aria-label": true,
|
|
202
283
|
"kol-button-remove-property-_icon-align": true,
|
|
284
|
+
"kol-button-remove-property-_id": true,
|
|
203
285
|
"kol-button-rename-property-_icon-only-to-_hide-label": true,
|
|
286
|
+
"refactor-property-icon-align": true,
|
|
204
287
|
"kol-button-rename-property-_icon-to-_icons": true,
|
|
288
|
+
"kol-card-mark-removed-slot-footer": true,
|
|
289
|
+
"kol-card-mark-removed-slot-header": true,
|
|
290
|
+
"kol-card-remove-property-_has-footer": true,
|
|
205
291
|
"kol-card-rename-property-_heading-to-_label": true,
|
|
206
292
|
"kol-card-rename-property-_headline-to-_label": true,
|
|
293
|
+
"kol-card-rename-slot-content-to-": true,
|
|
294
|
+
"kol-checkbox-rename-property-_type-to-_variant": true,
|
|
295
|
+
"kol-color-rename-property-_icon-to-_icons": true,
|
|
296
|
+
"kol-color-rename-property-_list-to-_suggestions": true,
|
|
297
|
+
"kol-combobox-refactor-property-error-to-msg": true,
|
|
298
|
+
"kol-combobox-remove-property-_alert": true,
|
|
299
|
+
"kol-combobox-remove-property-_id": true,
|
|
300
|
+
"kol-combobox-rename-property-_hide-error-to-_hide-msg": true,
|
|
301
|
+
"kol-date-rename-property-_list-to-_suggestions": true,
|
|
207
302
|
"kol-details-rename-property-_summary-to-_label": true,
|
|
303
|
+
"kol-heading-move-innerText-to-property-_label": true,
|
|
208
304
|
"kol-icon-remove-property-_part": true,
|
|
209
305
|
"kol-icon-rename-property-_aria-label-to-_label": true,
|
|
210
306
|
"kol-icon-rename-property-_icon-to-_icons": true,
|
|
307
|
+
"kol-input-checkbox-move-innerText-to-property-_label": true,
|
|
308
|
+
"kol-input-checkbox-refactor-property-error-to-msg": true,
|
|
309
|
+
"kol-input-checkbox-remove-property-_alert": true,
|
|
310
|
+
"kol-input-checkbox-remove-property-_id": true,
|
|
311
|
+
"kol-input-checkbox-rename-property-_hide-error-to-_hide-msg": true,
|
|
211
312
|
"kol-input-checkbox-rename-property-_icon-to-_icons": true,
|
|
212
|
-
"kol-checkbox-rename-property-_type-to-_variant": true,
|
|
213
|
-
"kol-color-
|
|
214
|
-
"kol-color-
|
|
313
|
+
"kol-input-checkbox-rename-property-_type-to-_variant": true,
|
|
314
|
+
"kol-input-color-move-innerText-to-property-_label": true,
|
|
315
|
+
"kol-input-color-refactor-property-error-to-msg": true,
|
|
316
|
+
"kol-input-color-remove-property-_alert": true,
|
|
317
|
+
"kol-input-color-remove-property-_id": true,
|
|
318
|
+
"kol-input-color-rename-property-_hide-error-to-_hide-msg": true,
|
|
319
|
+
"kol-input-date-move-innerText-to-property-_label": true,
|
|
320
|
+
"kol-input-date-refactor-property-error-to-msg": true,
|
|
321
|
+
"kol-input-date-remove-property-_alert": true,
|
|
322
|
+
"kol-input-date-remove-property-_id": true,
|
|
323
|
+
"kol-input-date-rename-property-_hide-error-to-_hide-msg": true,
|
|
215
324
|
"kol-input-date-rename-property-_icon-to-_icons": true,
|
|
216
|
-
"kol-
|
|
325
|
+
"kol-input-email-move-innerText-to-property-_label": true,
|
|
326
|
+
"kol-input-email-refactor-property-error-to-msg": true,
|
|
327
|
+
"kol-input-email-remove-property-_alert": true,
|
|
328
|
+
"kol-input-email-remove-property-_id": true,
|
|
329
|
+
"kol-input-email-remove-property-_size": true,
|
|
330
|
+
"kol-input-email-rename-property-_hide-error-to-_hide-msg": true,
|
|
217
331
|
"kol-input-email-rename-property-_icon-to-_icons": true,
|
|
218
332
|
"kol-input-email-rename-property-_list-to-_suggestions": true,
|
|
219
|
-
"kol-input-
|
|
333
|
+
"kol-input-file-move-innerText-to-property-_label": true,
|
|
334
|
+
"kol-input-file-refactor-property-error-to-msg": true,
|
|
335
|
+
"kol-input-file-remove-property-_alert": true,
|
|
336
|
+
"kol-input-file-remove-property-_id": true,
|
|
337
|
+
"kol-input-file-remove-property-_value": true,
|
|
338
|
+
"kol-input-file-rename-property-_hide-error-to-_hide-msg": true,
|
|
220
339
|
"kol-input-file-rename-property-_icon-to-_icons": true,
|
|
340
|
+
"kol-input-number-move-innerText-to-property-_label": true,
|
|
341
|
+
"kol-input-number-refactor-property-error-to-msg": true,
|
|
342
|
+
"kol-input-number-remove-property-_alert": true,
|
|
343
|
+
"kol-input-number-remove-property-_id": true,
|
|
344
|
+
"kol-input-number-remove-property-_type": true,
|
|
345
|
+
"kol-input-number-rename-property-_hide-error-to-_hide-msg": true,
|
|
221
346
|
"kol-input-number-rename-property-_icon-to-_icons": true,
|
|
222
347
|
"kol-input-number-rename-property-_list-to-_suggestions": true,
|
|
223
|
-
"kol-input-
|
|
224
|
-
"kol-input-password-
|
|
348
|
+
"kol-input-password-move-innerText-to-property-_label": true,
|
|
349
|
+
"kol-input-password-refactor-property-error-to-msg": true,
|
|
350
|
+
"kol-input-password-remove-property-_alert": true,
|
|
351
|
+
"kol-input-password-remove-property-_id": true,
|
|
225
352
|
"kol-input-password-remove-property-_size": true,
|
|
353
|
+
"kol-input-password-rename-property-_hide-error-to-_hide-msg": true,
|
|
354
|
+
"kol-input-password-rename-property-_icon-to-_icons": true,
|
|
355
|
+
"kol-input-radio-move-innerText-to-property-_label": true,
|
|
356
|
+
"kol-input-radio-refactor-property-error-to-msg": true,
|
|
357
|
+
"kol-input-radio-remove-property-_alert": true,
|
|
358
|
+
"kol-input-radio-remove-property-_id": true,
|
|
359
|
+
"kol-input-radio-rename-property-_hide-error-to-_hide-msg": true,
|
|
226
360
|
"kol-input-radio-rename-property-_list-to-_options": true,
|
|
361
|
+
"kol-input-range-move-innerText-to-property-_label": true,
|
|
362
|
+
"kol-input-range-refactor-property-error-to-msg": true,
|
|
363
|
+
"kol-input-range-remove-property-_alert": true,
|
|
364
|
+
"kol-input-range-remove-property-_id": true,
|
|
365
|
+
"kol-input-range-rename-property-_hide-error-to-_hide-msg": true,
|
|
227
366
|
"kol-input-range-rename-property-_icon-to-_icons": true,
|
|
228
367
|
"kol-input-range-rename-property-_list-to-_suggestions": true,
|
|
229
368
|
"kol-input-rename-property-_icon-to-_icons": true,
|
|
369
|
+
"kol-input-text-move-innerText-to-property-_label": true,
|
|
370
|
+
"kol-input-text-refactor-property-error-to-msg": true,
|
|
371
|
+
"kol-input-text-remove-property-_alert": true,
|
|
372
|
+
"kol-input-text-remove-property-_id": true,
|
|
373
|
+
"kol-input-text-remove-property-_size": true,
|
|
374
|
+
"kol-input-text-rename-property-_hide-error-to-_hide-msg": true,
|
|
230
375
|
"kol-input-text-rename-property-_icon-to-_icons": true,
|
|
231
376
|
"kol-input-text-rename-property-_list-to-_suggestions": true,
|
|
232
|
-
"kol-input-text-remove-property-_size": true,
|
|
233
377
|
"kol-link-button-remove-property-_aria-controls": true,
|
|
234
378
|
"kol-link-button-remove-property-_aria-expanded": true,
|
|
235
379
|
"kol-link-button-remove-property-_aria-label": true,
|
|
@@ -238,16 +382,17 @@ You can configure the migration with the `.kolibri.config.json` file in your pro
|
|
|
238
382
|
"kol-link-button-rename-property-_aria-current-to-_listen-aria-current": true,
|
|
239
383
|
"kol-link-button-rename-property-_icon-only-to-_hide-label": true,
|
|
240
384
|
"kol-link-button-rename-property-_icon-to-_icons": true,
|
|
241
|
-
"kol-link-group-rename-property-_heading-to-_label": true,
|
|
242
385
|
"kol-link-group-remove-property-_heading": true,
|
|
386
|
+
"kol-link-group-remove-property-_level": true,
|
|
243
387
|
"kol-link-group-remove-property-_ordered": true,
|
|
244
388
|
"kol-link-group-rename-property-_aria-label-to-_label": true,
|
|
389
|
+
"kol-link-group-rename-property-_heading-to-_label": true,
|
|
390
|
+
"kol-link-move-innerText-to-property-_label": true,
|
|
245
391
|
"kol-link-remove-property-_aria-controls": true,
|
|
246
392
|
"kol-link-remove-property-_aria-expanded": true,
|
|
247
393
|
"kol-link-remove-property-_aria-label": true,
|
|
248
394
|
"kol-link-remove-property-_aria-selected": true,
|
|
249
395
|
"kol-link-remove-property-_disabled": true,
|
|
250
|
-
"kol-link-remove-property-_icon-align": true,
|
|
251
396
|
"kol-link-remove-property-_selector": true,
|
|
252
397
|
"kol-link-remove-property-_stealth": true,
|
|
253
398
|
"kol-link-remove-property-_use-case": true,
|
|
@@ -255,69 +400,74 @@ You can configure the migration with the `.kolibri.config.json` file in your pro
|
|
|
255
400
|
"kol-link-rename-property-_icon-only-to-_hide-label": true,
|
|
256
401
|
"kol-link-rename-property-_icon-to-_icons": true,
|
|
257
402
|
"kol-logo-rename-property-_abbr-to-_org": true,
|
|
403
|
+
"kol-modal-remove-property-_active-element": true,
|
|
258
404
|
"kol-modal-rename-property-_aria-label-to-_label": true,
|
|
405
|
+
"kol-nav-remove-property-_has-compact-button": true,
|
|
259
406
|
"kol-nav-remove-property-_variant": true,
|
|
260
407
|
"kol-nav-rename-property-_aria-label-to-_label": true,
|
|
261
408
|
"kol-nav-rename-property-_compact-to-_hide-label": true,
|
|
262
409
|
"kol-pagination-rename-property-_count-to-_total": true,
|
|
263
410
|
"kol-pagination-rename-property-_total-to-_max": true,
|
|
411
|
+
"kol-popover-button-remove-property-_id": true,
|
|
264
412
|
"kol-progress-rename-property-_type-to-_variant": true,
|
|
265
413
|
"kol-quote-rename-property-_caption-to-_label": true,
|
|
414
|
+
"kol-select-move-innerText-to-property-_label": true,
|
|
415
|
+
"kol-select-refactor-property-error-to-msg": true,
|
|
416
|
+
"kol-select-remove-property-_alert": true,
|
|
417
|
+
"kol-select-remove-property-_id": true,
|
|
418
|
+
"kol-select-remove-property-_size": true,
|
|
266
419
|
"kol-select-rename-property-_height-to-_rows": true,
|
|
420
|
+
"kol-select-rename-property-_hide-error-to-_hide-msg": true,
|
|
267
421
|
"kol-select-rename-property-_icon-to-_icons": true,
|
|
268
422
|
"kol-select-rename-property-_list-to-_options": true,
|
|
269
|
-
"kol-select-
|
|
423
|
+
"kol-single-select-refactor-property-error-to-msg": true,
|
|
424
|
+
"kol-single-select-remove-property-_alert": true,
|
|
425
|
+
"kol-single-select-remove-property-_id": true,
|
|
426
|
+
"kol-single-select-rename-property-_hide-error-to-_hide-msg": true,
|
|
270
427
|
"kol-skip-nav-rename-property-_aria-label-to-_label": true,
|
|
271
428
|
"kol-span-rename-property-_icon-only-to-_hide-label": true,
|
|
272
429
|
"kol-span-rename-property-_icon-to-_icons": true,
|
|
273
|
-
"kol-split-button-remove-property-_aria-label": true,
|
|
274
430
|
"kol-split-button-remove-property-_access-key": true,
|
|
275
|
-
"kol-split-button-remove-property-
|
|
431
|
+
"kol-split-button-remove-property-_aria-label": true,
|
|
432
|
+
"kol-split-button-remove-property-_id": true,
|
|
276
433
|
"kol-split-button-remove-property-_show": true,
|
|
434
|
+
"kol-split-button-remove-property-_show-dropdown": true,
|
|
277
435
|
"kol-symbol-rename-property-_aria-label-to-_label": true,
|
|
278
436
|
"kol-table-rename-property-_caption-to-_label": true,
|
|
279
437
|
"kol-tabs-rename-property-_aria-label-to-_label": true,
|
|
438
|
+
"kol-tabs-rename-property-_icon-only-to-_hide-label": true,
|
|
280
439
|
"kol-tabs-rename-property-_icon-to-_icons": true,
|
|
281
440
|
"kol-tabs-rename-property-_tab-align-to-_align": true,
|
|
282
|
-
"kol-
|
|
441
|
+
"kol-textarea-move-innerText-to-property-_label": true,
|
|
442
|
+
"kol-textarea-refactor-property-error-to-msg": true,
|
|
443
|
+
"kol-textarea-remove-property-_alert": true,
|
|
444
|
+
"kol-textarea-remove-property-_id": true,
|
|
445
|
+
"kol-textarea-rename-property-_hide-error-to-_hide-msg": true,
|
|
446
|
+
"kol-textarea-update-property-_resize-value-both-to-vertical": true,
|
|
447
|
+
"kol-textarea-update-property-_resize-value-horizontal-to-none": true,
|
|
283
448
|
"kol-toast-remove-property-_show-duration": true,
|
|
284
449
|
"kol-toast-rename-property-_heading-to-_label": true,
|
|
450
|
+
"kol-tooltip-remove-property-_id": true,
|
|
285
451
|
"kol-version-rename-property-_version-to-_label": true,
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"kol-input-date-move-innerText-to-property-_label": true,
|
|
290
|
-
"kol-input-email-move-innerText-to-property-_label": true,
|
|
291
|
-
"kol-input-file-move-innerText-to-property-_label": true,
|
|
292
|
-
"kol-input-number-move-innerText-to-property-_label": true,
|
|
293
|
-
"kol-input-password-move-innerText-to-property-_label": true,
|
|
294
|
-
"kol-input-radio-move-innerText-to-property-_label": true,
|
|
295
|
-
"kol-input-range-move-innerText-to-property-_label": true,
|
|
296
|
-
"kol-input-text-move-innerText-to-property-_label": true,
|
|
297
|
-
"kol-link-move-innerText-to-property-_label": true,
|
|
298
|
-
"kol-select-move-innerText-to-property-_label": true,
|
|
299
|
-
"kol-textarea-move-innerText-to-property-_label": true,
|
|
300
|
-
"kol-accordion-mark-removed-slot-header": true,
|
|
301
|
-
"kol-card-mark-removed-slot-footer": true,
|
|
302
|
-
"kol-card-mark-removed-slot-header": true,
|
|
303
|
-
"kol-accordion-rename-slot-content-to-": true,
|
|
304
|
-
"kol-card-rename-slot-content-to-": true,
|
|
452
|
+
"merge-html-codicon-in-index.html": true,
|
|
453
|
+
"package.json-reconfigure-scripts.prepare": true,
|
|
454
|
+
"refactor-property-icon-align": true,
|
|
305
455
|
"refactor-property-label-replace-false": true,
|
|
306
|
-
"kol-card-remove-property-_has-footer": true,
|
|
307
|
-
"kol-link-group-remove-property-_level": true,
|
|
308
456
|
"remove--cpy-cli,rimraf": true,
|
|
309
|
-
"
|
|
310
|
-
"package.json-reconfigure-scripts.prepare": true,
|
|
457
|
+
"remove-msg-props": true,
|
|
311
458
|
"remove-public/assets/codicons": true,
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
"kol-
|
|
315
|
-
"
|
|
459
|
+
"remove-toast-variant-^4": true,
|
|
460
|
+
"remove-toaster-get-instance-options-^4": true,
|
|
461
|
+
"rename-tag-name-kol-table-to-kol-table-stateful": true,
|
|
462
|
+
"toaster-rename-properties": true,
|
|
463
|
+
"vscode-settings-reconfigure-html.customData": true
|
|
316
464
|
}
|
|
317
465
|
}
|
|
318
466
|
}
|
|
319
467
|
```
|
|
320
468
|
|
|
469
|
+
> The `exec-npx cpy` task copies the packaged component assets into your project's `public/assets` folder; leave it enabled unless your build already handles asset copying in a different location.
|
|
470
|
+
|
|
321
471
|
## Troubleshooting
|
|
322
472
|
|
|
323
473
|
If the migration failed, you can reset the migration with `git reset --hard HEAD~1`.
|
|
@@ -55,14 +55,6 @@ class GenericUpdatePropertyValueTask extends abstract_task_1.AbstractTask {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
exports.GenericUpdatePropertyValueTask = GenericUpdatePropertyValueTask;
|
|
58
|
-
// Helper function to update attribute values in HTML strings
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param htmlString
|
|
62
|
-
* @param tagRegExp
|
|
63
|
-
* @param oldValue
|
|
64
|
-
* @param newValue
|
|
65
|
-
*/
|
|
66
58
|
function updateAttributeValue(htmlString, tagRegExp, oldValue, newValue) {
|
|
67
59
|
return htmlString.replace(tagRegExp, (match) => {
|
|
68
60
|
return match.replace(`="${oldValue}"`, `="${newValue}"`).replace(`='${oldValue}'`, `='${newValue}'`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/kolibri-cli",
|
|
3
|
-
"version": "3.0.9-rc.
|
|
3
|
+
"version": "3.0.9-rc.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typed-bem": "1.0.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/node": "24.10.
|
|
35
|
+
"@types/node": "24.10.4",
|
|
36
36
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
37
37
|
"@typescript-eslint/parser": "7.18.0",
|
|
38
38
|
"cpy-cli": "6.0.0",
|
|
@@ -40,17 +40,16 @@
|
|
|
40
40
|
"eslint": "8.57.1",
|
|
41
41
|
"eslint-config-prettier": "9.1.2",
|
|
42
42
|
"eslint-plugin-html": "8.1.3",
|
|
43
|
-
"eslint-plugin-jsdoc": "50.8.0",
|
|
44
43
|
"eslint-plugin-json": "3.1.0",
|
|
45
44
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
46
45
|
"eslint-plugin-react": "7.37.5",
|
|
47
|
-
"knip": "5.
|
|
46
|
+
"knip": "5.73.4",
|
|
48
47
|
"mocha": "11.7.5",
|
|
49
48
|
"nodemon": "3.1.11",
|
|
50
49
|
"rimraf": "6.1.2",
|
|
51
50
|
"ts-node": "10.9.2",
|
|
52
51
|
"typescript": "5.9.3",
|
|
53
|
-
"@public-ui/components": "3.0.9-rc.
|
|
52
|
+
"@public-ui/components": "3.0.9-rc.2"
|
|
54
53
|
},
|
|
55
54
|
"files": [
|
|
56
55
|
"dist"
|