@ui5/create-webcomponents-package 0.0.0-c41f1b293 → 0.0.0-c48b38fdc
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 +504 -0
- package/README.md +5 -3
- package/create-package.js +2 -2
- package/package.json +1 -1
- package/template/bundle.esm.js +0 -2
- package/template/src/MyFirstComponent.hbs +6 -1
- package/template/src/MyFirstComponent.js +8 -6
- package/template/src/MyFirstComponent.ts +9 -11
- package/template/src/i18n/messagebundle.properties +1 -1
- package/template/src/i18n/messagebundle_de.properties +1 -1
- package/template/src/i18n/messagebundle_en.properties +1 -1
- package/template/src/i18n/messagebundle_es.properties +1 -1
- package/template/src/i18n/messagebundle_fr.properties +1 -1
- package/template/src/themes/MyFirstComponent.css +6 -1
- package/template/test/pages/css/index.css +2 -2
- package/template/test/pages/index.html +5 -5
- package/template/tsconfig.json +1 -0
- package/template/config/postcss.components/postcss.config.js +0 -1
- package/template/config/postcss.themes/postcss.config.js +0 -1
- package/template/config/vite.config.js +0 -4
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,510 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [1.24.3](https://github.com/SAP/ui5-webcomponents/compare/v1.24.2...v1.24.3) (2024-05-14)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [1.24.0](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.4...v1.24.0) (2024-04-04)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
# [1.24.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.3...v1.24.0-rc.4) (2024-04-04)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
# [1.24.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.2...v1.24.0-rc.3) (2024-03-28)
|
31
|
+
|
32
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
# [1.24.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.1...v1.24.0-rc.2) (2024-03-21)
|
39
|
+
|
40
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
# [1.24.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.24.0-rc.0...v1.24.0-rc.1) (2024-03-15)
|
47
|
+
|
48
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
# [1.24.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.23.1...v1.24.0-rc.0) (2024-03-14)
|
55
|
+
|
56
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
## [1.23.1](https://github.com/SAP/ui5-webcomponents/compare/v1.23.1-rc.0...v1.23.1) (2024-03-08)
|
63
|
+
|
64
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
## [1.23.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0...v1.23.1-rc.0) (2024-03-07)
|
71
|
+
|
72
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
# [1.23.0](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.5...v1.23.0) (2024-03-06)
|
79
|
+
|
80
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
# [1.23.0-rc.5](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.4...v1.23.0-rc.5) (2024-02-29)
|
87
|
+
|
88
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
# [1.23.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.3...v1.23.0-rc.4) (2024-02-26)
|
95
|
+
|
96
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
# [1.23.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.2...v1.23.0-rc.3) (2024-02-22)
|
103
|
+
|
104
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
# [1.23.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.1...v1.23.0-rc.2) (2024-02-20)
|
111
|
+
|
112
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
# [1.23.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.23.0-rc.0...v1.23.0-rc.1) (2024-02-19)
|
119
|
+
|
120
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
# [1.23.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.22.1-rc.0...v1.23.0-rc.0) (2024-02-15)
|
127
|
+
|
128
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
## [1.22.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0...v1.22.1-rc.0) (2024-02-08)
|
135
|
+
|
136
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
# [1.22.0](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.3...v1.22.0) (2024-02-05)
|
143
|
+
|
144
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
# [1.22.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.2...v1.22.0-rc.3) (2024-02-01)
|
151
|
+
|
152
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
# [1.22.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.1...v1.22.0-rc.2) (2024-01-25)
|
159
|
+
|
160
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
# [1.22.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.0...v1.22.0-rc.1) (2024-01-18)
|
167
|
+
|
168
|
+
|
169
|
+
### Bug Fixes
|
170
|
+
|
171
|
+
* broken test page ([#8097](https://github.com/SAP/ui5-webcomponents/issues/8097)) ([6903367](https://github.com/SAP/ui5-webcomponents/commit/6903367c290b84490c74a6ef56b074aa0a2fc729))
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
# [1.22.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0...v1.22.0-rc.0) (2024-01-11)
|
178
|
+
|
179
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
# [1.21.0](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0-rc.5...v1.21.0) (2024-01-05)
|
186
|
+
|
187
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
# [1.21.0-rc.5](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0-rc.4...v1.21.0-rc.5) (2024-01-04)
|
194
|
+
|
195
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
# [1.21.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0-rc.3...v1.21.0-rc.4) (2023-12-28)
|
202
|
+
|
203
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
# [1.21.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0-rc.2...v1.21.0-rc.3) (2023-12-21)
|
210
|
+
|
211
|
+
|
212
|
+
### Features
|
213
|
+
|
214
|
+
* **tools:** Optimize build by switching css processing to esbuild ([#8008](https://github.com/SAP/ui5-webcomponents/issues/8008)) ([b4d411f](https://github.com/SAP/ui5-webcomponents/commit/b4d411f00f8d74ccecb2d02254126243faf53dfd))
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
# [1.21.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0-rc.1...v1.21.0-rc.2) (2023-12-14)
|
221
|
+
|
222
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
# [1.21.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.21.0-rc.0...v1.21.0-rc.1) (2023-12-08)
|
229
|
+
|
230
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
# [1.21.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0...v1.21.0-rc.0) (2023-12-07)
|
237
|
+
|
238
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
# [1.20.0](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0-rc.3...v1.20.0) (2023-12-04)
|
245
|
+
|
246
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
# [1.20.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0-rc.2...v1.20.0-rc.3) (2023-11-30)
|
253
|
+
|
254
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
# [1.20.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0-rc.1...v1.20.0-rc.2) (2023-11-23)
|
261
|
+
|
262
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
# [1.20.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.20.0-rc.0...v1.20.0-rc.1) (2023-11-16)
|
269
|
+
|
270
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
# [1.20.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.19.0...v1.20.0-rc.0) (2023-11-09)
|
277
|
+
|
278
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
# [1.19.0](https://github.com/SAP/ui5-webcomponents/compare/v1.19.0-rc.3...v1.19.0) (2023-11-02)
|
285
|
+
|
286
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
# [1.19.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.19.0-rc.2...v1.19.0-rc.3) (2023-11-02)
|
293
|
+
|
294
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
# [1.19.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.19.0-rc.1...v1.19.0-rc.2) (2023-10-26)
|
301
|
+
|
302
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
# [1.19.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.19.0-rc.0...v1.19.0-rc.1) (2023-10-19)
|
309
|
+
|
310
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
# [1.19.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.18.1-rc.0...v1.19.0-rc.0) (2023-10-12)
|
317
|
+
|
318
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
## [1.18.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.18.0...v1.18.1-rc.0) (2023-10-05)
|
325
|
+
|
326
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
# [1.18.0](https://github.com/SAP/ui5-webcomponents/compare/v1.18.0-rc.2...v1.18.0) (2023-10-02)
|
333
|
+
|
334
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
# [1.18.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.18.0-rc.1...v1.18.0-rc.2) (2023-09-28)
|
341
|
+
|
342
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
# [1.18.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.18.0-rc.0...v1.18.0-rc.1) (2023-09-21)
|
349
|
+
|
350
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
# [1.18.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.17.0...v1.18.0-rc.0) (2023-09-07)
|
357
|
+
|
358
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
# [1.17.0](https://github.com/SAP/ui5-webcomponents/compare/v1.17.0-rc.2...v1.17.0) (2023-09-01)
|
365
|
+
|
366
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
# [1.17.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.17.0-rc.1...v1.17.0-rc.2) (2023-08-24)
|
373
|
+
|
374
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
# [1.17.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.17.0-rc.0...v1.17.0-rc.1) (2023-08-17)
|
381
|
+
|
382
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
# [1.17.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0...v1.17.0-rc.0) (2023-08-10)
|
389
|
+
|
390
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
# [1.16.0](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0-rc.4...v1.16.0) (2023-08-03)
|
397
|
+
|
398
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
# [1.16.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0-rc.3...v1.16.0-rc.4) (2023-08-03)
|
405
|
+
|
406
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
# [1.16.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0-rc.2...v1.16.0-rc.3) (2023-07-27)
|
413
|
+
|
414
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
# [1.16.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0-rc.1...v1.16.0-rc.2) (2023-07-20)
|
421
|
+
|
422
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
# [1.16.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0-rc.0...v1.16.0-rc.1) (2023-07-13)
|
429
|
+
|
430
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
# [1.16.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.15.1...v1.16.0-rc.0) (2023-07-06)
|
437
|
+
|
438
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
## [1.15.1](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0...v1.15.1) (2023-06-30)
|
445
|
+
|
446
|
+
|
447
|
+
### Bug Fixes
|
448
|
+
|
449
|
+
* **framework:** fix links in starting page of new pkg [ci skip] ([475fed5](https://github.com/SAP/ui5-webcomponents/commit/475fed55504f4a15e8b26aaf3c9e4d73b55976ec))
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
# [1.15.0](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.2...v1.15.0) (2023-06-30)
|
456
|
+
|
457
|
+
|
458
|
+
### Bug Fixes
|
459
|
+
|
460
|
+
* fix image in `create-webcomponent-package` ([#7253](https://github.com/SAP/ui5-webcomponents/issues/7253)) ([3317e64](https://github.com/SAP/ui5-webcomponents/commit/3317e64b911f992abf34b88a48e6003a723f7b9e))
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
# [1.15.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.1...v1.15.0-rc.2) (2023-06-22)
|
467
|
+
|
468
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
# [1.15.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.0...v1.15.0-rc.1) (2023-06-15)
|
475
|
+
|
476
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
# [1.15.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0...v1.15.0-rc.0) (2023-06-08)
|
487
|
+
|
488
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
# [1.14.0](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0-rc.2...v1.14.0) (2023-06-01)
|
495
|
+
|
496
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
# [1.14.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0-rc.1...v1.14.0-rc.2) (2023-06-01)
|
503
|
+
|
504
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
|
6
510
|
# [1.14.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0-rc.0...v1.14.0-rc.1) (2023-05-25)
|
7
511
|
|
8
512
|
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
package/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|

|
2
2
|
|
3
|
+
|
3
4
|
# UI5 Web Components - Create Package
|
4
5
|
|
5
6
|
[](https://www.npmjs.com/package/@ui5/webcomponents)
|
@@ -18,8 +19,8 @@ Usage:
|
|
18
19
|
|
19
20
|
Options:
|
20
21
|
--name <string> - defines the package name
|
21
|
-
--
|
22
|
-
--tag <string> - defines the tag name of the sample web component that will be created in your new package. The tag will be derived from the component name if not provided.
|
22
|
+
--component-name <string> - defines the component class name that will be created in your new package
|
23
|
+
--tag <string> - defines the tag name of the sample web component that will be created in your new package. The tag will be derived from the component name if not provided.
|
23
24
|
--enable-typescript - enables TypeScript support for the package
|
24
25
|
--skip - skips configuration and generates package with a default value for each parameter that wasn't passed
|
25
26
|
```
|
@@ -34,6 +35,7 @@ Usage:
|
|
34
35
|
yarn create @ui5/webcomponents-package [OPTIONS]
|
35
36
|
Options:
|
36
37
|
--name <string> - defines the package name
|
38
|
+
--component-name <string> - defines the component class name that will be created in your new package
|
37
39
|
--tag <string> - defines the tag name of the sample web component that will be created in your new package
|
38
40
|
--enable-typescript - enables TypeScript support for the package
|
39
41
|
--skip - skips configuration and generates package with a default value for each parameter that wasn't passed
|
@@ -48,7 +50,7 @@ components package.
|
|
48
50
|
- [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/)
|
49
51
|
|
50
52
|
## Support
|
51
|
-
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://
|
53
|
+
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://ui5-slack-invite.cfapps.eu10.hana.ondemand.com/).
|
52
54
|
|
53
55
|
## Contribute
|
54
56
|
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/docs/6-contributing/02-conventions-and-guidelines.md).
|
package/create-package.js
CHANGED
@@ -72,7 +72,7 @@ const copyFile = (vars, sourcePath, destPath) => {
|
|
72
72
|
return;
|
73
73
|
}
|
74
74
|
|
75
|
-
if (isLogo) {
|
75
|
+
if (isLogo(sourcePath)) {
|
76
76
|
fs.copyFileSync(sourcePath, destPath);
|
77
77
|
return;
|
78
78
|
}
|
@@ -154,7 +154,7 @@ const generateFilesContent = (packageName, componentName, namespace, typescript,
|
|
154
154
|
};
|
155
155
|
|
156
156
|
if (typescript) {
|
157
|
-
packageContent.devDependencies.typescript = "
|
157
|
+
packageContent.devDependencies.typescript = "5.2.2";
|
158
158
|
}
|
159
159
|
|
160
160
|
// Update package.json
|
package/package.json
CHANGED
package/template/bundle.esm.js
CHANGED
@@ -6,7 +6,6 @@ import { getLanguage } from "@ui5/webcomponents-base/dist/config/Language.js";
|
|
6
6
|
import { getCalendarType } from "@ui5/webcomponents-base/dist/config/CalendarType.js";
|
7
7
|
import { getTheme, setTheme } from "@ui5/webcomponents-base/dist/config/Theme.js";
|
8
8
|
import { getNoConflict, setNoConflict } from "@ui5/webcomponents-base/dist/config/NoConflict.js";
|
9
|
-
import { getRTL } from "@ui5/webcomponents-base/dist/config/RTL.js";
|
10
9
|
import { getFirstDayOfWeek } from "@ui5/webcomponents-base/dist/config/FormatSettings.js";
|
11
10
|
|
12
11
|
// Enable additional themes and i18n texts
|
@@ -25,7 +24,6 @@ window["sap-ui-webcomponents-bundle"] = {
|
|
25
24
|
getNoConflict,
|
26
25
|
setNoConflict,
|
27
26
|
getCalendarType,
|
28
|
-
getRTL,
|
29
27
|
getFirstDayOfWeek,
|
30
28
|
},
|
31
29
|
};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
2
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
3
3
|
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
4
|
+
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
|
4
5
|
|
5
6
|
// Template
|
6
7
|
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js";
|
@@ -8,7 +9,7 @@ import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACK
|
|
8
9
|
// Styles
|
9
10
|
import INIT_PACKAGE_VAR_CLASS_NAMECss from "./generated/themes/INIT_PACKAGE_VAR_CLASS_NAME.css.js";
|
10
11
|
|
11
|
-
import {
|
12
|
+
import { COUNT } from "./generated/i18n/i18n-defaults.js";
|
12
13
|
|
13
14
|
/**
|
14
15
|
* @public
|
@@ -17,12 +18,13 @@ const metadata = {
|
|
17
18
|
tag: "INIT_PACKAGE_VAR_TAG",
|
18
19
|
properties: /** @lends INIT_PACKAGE_VAR_NAMESPACE.INIT_PACKAGE_VAR_CLASS_NAME.prototype */ {
|
19
20
|
/**
|
20
|
-
* Defines the
|
21
|
-
* @type {
|
21
|
+
* Defines the count of the component.
|
22
|
+
* @type { sap.ui.webc.base.types.Integer }
|
22
23
|
* @defaultvalue 0
|
23
24
|
* @public
|
24
25
|
*/
|
25
|
-
|
26
|
+
count: {
|
27
|
+
type: Integer,
|
26
28
|
defaultValue: 0,
|
27
29
|
},
|
28
30
|
},
|
@@ -67,11 +69,11 @@ class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
|
|
67
69
|
}
|
68
70
|
|
69
71
|
onClick() {
|
70
|
-
this.
|
72
|
+
this.count++;
|
71
73
|
}
|
72
74
|
|
73
75
|
get counterText() {
|
74
|
-
return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(
|
76
|
+
return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(COUNT);
|
75
77
|
}
|
76
78
|
}
|
77
79
|
|
@@ -4,6 +4,7 @@ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
|
4
4
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
5
5
|
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
6
6
|
import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
7
|
+
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
|
7
8
|
|
8
9
|
// Template
|
9
10
|
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js";
|
@@ -11,7 +12,7 @@ import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACK
|
|
11
12
|
// Styles
|
12
13
|
import INIT_PACKAGE_VAR_CLASS_NAMECss from "./generated/themes/INIT_PACKAGE_VAR_CLASS_NAME.css.js";
|
13
14
|
|
14
|
-
import {
|
15
|
+
import { COUNT } from "./generated/i18n/i18n-defaults.js";
|
15
16
|
|
16
17
|
/**
|
17
18
|
* @class
|
@@ -21,9 +22,7 @@ import { COUNTER } from "./generated/i18n/i18n-defaults.js";
|
|
21
22
|
* The <code>INIT_PACKAGE_VAR_TAG</code> component is a demo component that displays some text.
|
22
23
|
*
|
23
24
|
* @constructor
|
24
|
-
* @
|
25
|
-
* @extends sap.ui.webc.base.UI5Element
|
26
|
-
* @tagname INIT_PACKAGE_VAR_TAG
|
25
|
+
* @extends UI5Element
|
27
26
|
* @public
|
28
27
|
*/
|
29
28
|
@customElement({
|
@@ -40,20 +39,19 @@ class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
|
|
40
39
|
}
|
41
40
|
|
42
41
|
/**
|
43
|
-
* Defines the component
|
44
|
-
* @
|
42
|
+
* Defines the component count.
|
43
|
+
* @default 0
|
45
44
|
* @public
|
46
|
-
* @type { number }
|
47
45
|
*/
|
48
|
-
@property({ defaultValue: 0 })
|
49
|
-
|
46
|
+
@property({ validator: Integer, defaultValue: 0 })
|
47
|
+
count!: number;
|
50
48
|
|
51
49
|
onClick() {
|
52
|
-
this.
|
50
|
+
this.count++;
|
53
51
|
}
|
54
52
|
|
55
53
|
get counterText() {
|
56
|
-
return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(
|
54
|
+
return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(COUNT);
|
57
55
|
}
|
58
56
|
}
|
59
57
|
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
COUNT=Zählung
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
COUNT=Count
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
COUNT=Cuenta
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
COUNT=Comte
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
.root {
|
2
|
+
display: inline-flex;
|
3
|
+
align-items: center;
|
4
|
+
justify-content: center;
|
5
|
+
flex-direction: column;
|
2
6
|
padding: 0 2rem;
|
3
7
|
color: var(--sapAvatar_6_TextColor);
|
4
8
|
background-color: var(--sapAvatar_6_Background);
|
@@ -9,4 +13,5 @@
|
|
9
13
|
line-height: 3rem;
|
10
14
|
font-size: 1.25rem;
|
11
15
|
user-select: none;
|
16
|
+
cursor: pointer;
|
12
17
|
}
|
@@ -15,7 +15,7 @@ h2 {
|
|
15
15
|
margin-bottom: 0.5rem;
|
16
16
|
}
|
17
17
|
|
18
|
-
.app, .app-
|
18
|
+
.app, .app-settings, .app-docs, .app-first-component {
|
19
19
|
display: flex;
|
20
20
|
align-items: center;
|
21
21
|
justify-content: center;
|
@@ -33,4 +33,4 @@ h2 {
|
|
33
33
|
a {
|
34
34
|
margin: 0.25rem;
|
35
35
|
color: var(--sapLinkColor);
|
36
|
-
}
|
36
|
+
}
|
@@ -14,21 +14,21 @@
|
|
14
14
|
"language": "EN"
|
15
15
|
}
|
16
16
|
</script>
|
17
|
-
|
17
|
+
|
18
18
|
<link rel="stylesheet" type="text/css" href="./css/index.css">
|
19
19
|
<script src="../../bundle.esm.js" type="module"></script>
|
20
20
|
</head>
|
21
21
|
|
22
22
|
<body>
|
23
23
|
<div class="app">
|
24
|
-
<a href="https://sap.github.io/ui5-webcomponents/playground/getting-started" target="_blank"><img src="./img/logo.png" alt="logo"/></a>
|
24
|
+
<a href="https://sap.github.io/ui5-webcomponents/playground/?path=/docs/docs-getting-started-first-steps--docs" target="_blank"><img src="./img/logo.png" alt="logo"/></a>
|
25
25
|
|
26
26
|
<div class="app-first-component">
|
27
27
|
<h1>Hooray! It's Your First Web Component!</h1>
|
28
28
|
<div> <pre><INIT_PACKAGE_VAR_TAG></INIT_PACKAGE_VAR_TAG> </pre></div>
|
29
29
|
<INIT_PACKAGE_VAR_TAG id="myFirstComponent"></INIT_PACKAGE_VAR_TAG>
|
30
30
|
</div>
|
31
|
-
|
31
|
+
|
32
32
|
<div class="app-settings">
|
33
33
|
|
34
34
|
<h2>Switch themes</h2>
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<a class="link" href="?sap-ui-theme=sap_horizon_hcb">Horizon High Contrast Black</a>
|
39
39
|
<a class="link" href="?sap-ui-theme=sap_horizon_hcw">Horizon High Contrast White</a>
|
40
40
|
</div>
|
41
|
-
|
41
|
+
|
42
42
|
<h2>Switch language</h2>
|
43
43
|
<div>
|
44
44
|
<a class="link" href="?sap-ui-language=en">English</a>
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
<div class="app-docs">
|
52
52
|
<h2>Documentation</h2>
|
53
|
-
<a class="link" href="https://sap.github.io/ui5-webcomponents/playground/development">Custom Component Development</a>
|
53
|
+
<a class="link" href="https://sap.github.io/ui5-webcomponents/playground/?path=/docs/docs-development-custom-ui5-web-components-packages--docs">Custom Component Development</a>
|
54
54
|
</div>
|
55
55
|
</div>
|
56
56
|
</body>
|
package/template/tsconfig.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/postcss.components.js"); // eslint-disable-line
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/postcss.themes.js"); // eslint-disable-line
|