@rarui/components 1.1.0-rc.1 → 1.1.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 CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  `@rarui/components` components is a component library built with [Stencil](https://stenciljs.com/docs/introduction).
4
4
 
5
+ ## 2025-05-23 `1.1.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added new exhibition `Avatar` component. ([#109](https://git.rarolabs.com.br/frontend/rarui/pull/109) by [@junior](https://git.rarolabs.com.br/junior))
10
+ - Added new exhibition `Badge` component. ([#109](https://git.rarolabs.com.br/frontend/rarui/pull/109) by [@junior](https://git.rarolabs.com.br/junior))
11
+
12
+ #### 🛠 Breaking changes
13
+
14
+ - Removed `TabsItem` component. ([#109](https://git.rarolabs.com.br/frontend/rarui/pull/109) by [@junior](https://git.rarolabs.com.br/junior))
15
+
5
16
  ## 2024-08-06 `1.0.0`
6
17
 
7
18
  #### 🎉 New features
@@ -0,0 +1,585 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Avatar/src/Avatar.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "RaruiAvatar",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "size",
17
+ "type": {
18
+ "text": "AvatarProps[\"size\"] | undefined"
19
+ },
20
+ "default": "\"medium\"",
21
+ "attribute": "size"
22
+ }
23
+ ],
24
+ "attributes": [
25
+ {
26
+ "name": "size",
27
+ "type": {
28
+ "text": "AvatarProps[\"size\"] | undefined"
29
+ },
30
+ "default": "\"medium\"",
31
+ "fieldName": "size"
32
+ }
33
+ ],
34
+ "superclass": {
35
+ "name": "LitElement",
36
+ "package": "lit"
37
+ },
38
+ "tagName": "rarui-avatar",
39
+ "customElement": true
40
+ }
41
+ ],
42
+ "exports": [
43
+ {
44
+ "kind": "js",
45
+ "name": "RaruiAvatar",
46
+ "declaration": {
47
+ "name": "RaruiAvatar",
48
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Avatar/src/Avatar.ts"
49
+ }
50
+ },
51
+ {
52
+ "kind": "custom-element-definition",
53
+ "name": "rarui-avatar",
54
+ "declaration": {
55
+ "name": "RaruiAvatar",
56
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Avatar/src/Avatar.ts"
57
+ }
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "kind": "javascript-module",
63
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Badge/src/Badge.ts",
64
+ "declarations": [
65
+ {
66
+ "kind": "class",
67
+ "description": "",
68
+ "name": "RaruiBagde",
69
+ "members": [
70
+ {
71
+ "kind": "field",
72
+ "name": "appearance",
73
+ "type": {
74
+ "text": "\"brand\" | \"danger\" | \"success\" | \"warning\" | \"info\" | \"neutral\" | \"inverted\""
75
+ },
76
+ "default": "\"brand\"",
77
+ "description": "Determines the visual style of the badge, influencing its color scheme and appearance.",
78
+ "attribute": "appearance"
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "variant",
83
+ "type": {
84
+ "text": "\"solid\" | \"outlined\""
85
+ },
86
+ "default": "\"solid\"",
87
+ "description": "Defines the visual variant of the badge, affecting its background style.",
88
+ "attribute": "variant"
89
+ },
90
+ {
91
+ "kind": "field",
92
+ "name": "size",
93
+ "type": {
94
+ "text": "\"large\" | \"medium\" | \"small\" | \"dot\""
95
+ },
96
+ "default": "\"medium\"",
97
+ "description": "Specifies the size of the badge, controlling its dimensions.",
98
+ "attribute": "size"
99
+ }
100
+ ],
101
+ "attributes": [
102
+ {
103
+ "name": "appearance",
104
+ "type": {
105
+ "text": "\"brand\" | \"danger\" | \"success\" | \"warning\" | \"info\" | \"neutral\" | \"inverted\""
106
+ },
107
+ "default": "\"brand\"",
108
+ "description": "Determines the visual style of the badge, influencing its color scheme and appearance.",
109
+ "fieldName": "appearance"
110
+ },
111
+ {
112
+ "name": "variant",
113
+ "type": {
114
+ "text": "\"solid\" | \"outlined\""
115
+ },
116
+ "default": "\"solid\"",
117
+ "description": "Defines the visual variant of the badge, affecting its background style.",
118
+ "fieldName": "variant"
119
+ },
120
+ {
121
+ "name": "size",
122
+ "type": {
123
+ "text": "\"large\" | \"medium\" | \"small\" | \"dot\""
124
+ },
125
+ "default": "\"medium\"",
126
+ "description": "Specifies the size of the badge, controlling its dimensions.",
127
+ "fieldName": "size"
128
+ }
129
+ ],
130
+ "superclass": {
131
+ "name": "LitElement",
132
+ "package": "lit"
133
+ },
134
+ "tagName": "rarui-badge",
135
+ "customElement": true
136
+ }
137
+ ],
138
+ "exports": [
139
+ {
140
+ "kind": "js",
141
+ "name": "RaruiBagde",
142
+ "declaration": {
143
+ "name": "RaruiBagde",
144
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Badge/src/Badge.ts"
145
+ }
146
+ },
147
+ {
148
+ "kind": "custom-element-definition",
149
+ "name": "rarui-badge",
150
+ "declaration": {
151
+ "name": "RaruiBagde",
152
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Badge/src/Badge.ts"
153
+ }
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "kind": "javascript-module",
159
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Title/src/Title.ts",
160
+ "declarations": [
161
+ {
162
+ "kind": "class",
163
+ "description": "",
164
+ "name": "RaruiTitle",
165
+ "members": [
166
+ {
167
+ "kind": "field",
168
+ "name": "sprinkleAttrs",
169
+ "type": {
170
+ "text": "Record<string, string>"
171
+ }
172
+ },
173
+ {
174
+ "kind": "field",
175
+ "name": "as",
176
+ "type": {
177
+ "text": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | undefined"
178
+ },
179
+ "default": "\"h1\"",
180
+ "attribute": "as"
181
+ }
182
+ ],
183
+ "attributes": [
184
+ {
185
+ "name": "as",
186
+ "type": {
187
+ "text": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | undefined"
188
+ },
189
+ "default": "\"h1\"",
190
+ "fieldName": "as"
191
+ }
192
+ ],
193
+ "superclass": {
194
+ "name": "LitElement",
195
+ "package": "lit"
196
+ },
197
+ "tagName": "rarui-title",
198
+ "customElement": true
199
+ }
200
+ ],
201
+ "exports": [
202
+ {
203
+ "kind": "js",
204
+ "name": "RaruiTitle",
205
+ "declaration": {
206
+ "name": "RaruiTitle",
207
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Title/src/Title.ts"
208
+ }
209
+ },
210
+ {
211
+ "kind": "custom-element-definition",
212
+ "name": "rarui-title",
213
+ "declaration": {
214
+ "name": "RaruiTitle",
215
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Title/src/Title.ts"
216
+ }
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "kind": "javascript-module",
222
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Text/src/Text.ts",
223
+ "declarations": [
224
+ {
225
+ "kind": "class",
226
+ "description": "",
227
+ "name": "RaruiText",
228
+ "members": [
229
+ {
230
+ "kind": "field",
231
+ "name": "sprinkleAttrs",
232
+ "type": {
233
+ "text": "Record<string, string>"
234
+ }
235
+ },
236
+ {
237
+ "kind": "field",
238
+ "name": "\"line-clamp\"",
239
+ "type": {
240
+ "text": "string | undefined"
241
+ },
242
+ "attribute": "\"line-clamp\""
243
+ }
244
+ ],
245
+ "attributes": [
246
+ {
247
+ "name": "\"line-clamp\"",
248
+ "type": {
249
+ "text": "string | undefined"
250
+ },
251
+ "fieldName": "\"line-clamp\""
252
+ }
253
+ ],
254
+ "superclass": {
255
+ "name": "LitElement",
256
+ "package": "lit"
257
+ },
258
+ "tagName": "rarui-text",
259
+ "customElement": true
260
+ }
261
+ ],
262
+ "exports": [
263
+ {
264
+ "kind": "js",
265
+ "name": "RaruiText",
266
+ "declaration": {
267
+ "name": "RaruiText",
268
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Text/src/Text.ts"
269
+ }
270
+ },
271
+ {
272
+ "kind": "custom-element-definition",
273
+ "name": "rarui-text",
274
+ "declaration": {
275
+ "name": "RaruiText",
276
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/exhibition/Text/src/Text.ts"
277
+ }
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "kind": "javascript-module",
283
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/input/Button/src/Button.ts",
284
+ "declarations": [
285
+ {
286
+ "kind": "class",
287
+ "description": "",
288
+ "name": "RaruiButton",
289
+ "members": [
290
+ {
291
+ "kind": "field",
292
+ "name": "appearance",
293
+ "type": {
294
+ "text": "ButtonVariants[\"appearance\"]"
295
+ },
296
+ "default": "\"brand\"",
297
+ "attribute": "appearance"
298
+ },
299
+ {
300
+ "kind": "field",
301
+ "name": "size",
302
+ "type": {
303
+ "text": "ButtonVariants[\"size\"]"
304
+ },
305
+ "default": "\"large\"",
306
+ "attribute": "size"
307
+ },
308
+ {
309
+ "kind": "field",
310
+ "name": "variant",
311
+ "type": {
312
+ "text": "ButtonVariants[\"variant\"]"
313
+ },
314
+ "default": "\"solid\"",
315
+ "attribute": "variant"
316
+ },
317
+ {
318
+ "kind": "field",
319
+ "name": "full",
320
+ "type": {
321
+ "text": "ButtonVariants[\"full\"]"
322
+ },
323
+ "attribute": "full"
324
+ },
325
+ {
326
+ "kind": "field",
327
+ "name": "disabled",
328
+ "type": {
329
+ "text": "boolean"
330
+ },
331
+ "default": "false",
332
+ "attribute": "disabled"
333
+ }
334
+ ],
335
+ "attributes": [
336
+ {
337
+ "name": "appearance",
338
+ "type": {
339
+ "text": "ButtonVariants[\"appearance\"]"
340
+ },
341
+ "default": "\"brand\"",
342
+ "fieldName": "appearance"
343
+ },
344
+ {
345
+ "name": "size",
346
+ "type": {
347
+ "text": "ButtonVariants[\"size\"]"
348
+ },
349
+ "default": "\"large\"",
350
+ "fieldName": "size"
351
+ },
352
+ {
353
+ "name": "variant",
354
+ "type": {
355
+ "text": "ButtonVariants[\"variant\"]"
356
+ },
357
+ "default": "\"solid\"",
358
+ "fieldName": "variant"
359
+ },
360
+ {
361
+ "name": "full",
362
+ "type": {
363
+ "text": "ButtonVariants[\"full\"]"
364
+ },
365
+ "fieldName": "full"
366
+ },
367
+ {
368
+ "name": "disabled",
369
+ "type": {
370
+ "text": "boolean"
371
+ },
372
+ "default": "false",
373
+ "fieldName": "disabled"
374
+ }
375
+ ],
376
+ "superclass": {
377
+ "name": "LitElement",
378
+ "package": "lit"
379
+ },
380
+ "tagName": "rarui-button",
381
+ "customElement": true
382
+ }
383
+ ],
384
+ "exports": [
385
+ {
386
+ "kind": "js",
387
+ "name": "RaruiButton",
388
+ "declaration": {
389
+ "name": "RaruiButton",
390
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/input/Button/src/Button.ts"
391
+ }
392
+ },
393
+ {
394
+ "kind": "custom-element-definition",
395
+ "name": "rarui-button",
396
+ "declaration": {
397
+ "name": "RaruiButton",
398
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/input/Button/src/Button.ts"
399
+ }
400
+ }
401
+ ]
402
+ },
403
+ {
404
+ "kind": "javascript-module",
405
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/navigation/Tabs/src/Tabs.ts",
406
+ "declarations": [
407
+ {
408
+ "kind": "class",
409
+ "description": "",
410
+ "name": "RaruiTabs",
411
+ "members": [
412
+ {
413
+ "kind": "field",
414
+ "name": "position",
415
+ "type": {
416
+ "text": "TabsVariants[\"position\"]"
417
+ },
418
+ "default": "\"left\"",
419
+ "attribute": "position"
420
+ },
421
+ {
422
+ "kind": "field",
423
+ "name": "defaultTab",
424
+ "type": {
425
+ "text": "number"
426
+ },
427
+ "default": "0",
428
+ "attribute": "defaultTab"
429
+ },
430
+ {
431
+ "kind": "field",
432
+ "name": "full",
433
+ "type": {
434
+ "text": "TabsVariants[\"full\"]"
435
+ },
436
+ "attribute": "full"
437
+ },
438
+ {
439
+ "kind": "field",
440
+ "name": "underlined",
441
+ "type": {
442
+ "text": "TabsVariants[\"underlined\"]"
443
+ },
444
+ "attribute": "underlined"
445
+ },
446
+ {
447
+ "kind": "field",
448
+ "name": "selected",
449
+ "attribute": "selected"
450
+ },
451
+ {
452
+ "kind": "field",
453
+ "name": "items",
454
+ "type": {
455
+ "text": "HTMLElement[]"
456
+ },
457
+ "privacy": "private"
458
+ },
459
+ {
460
+ "kind": "method",
461
+ "name": "selectTab",
462
+ "parameters": [
463
+ {
464
+ "name": "index",
465
+ "type": {
466
+ "text": "number"
467
+ }
468
+ }
469
+ ]
470
+ },
471
+ {
472
+ "kind": "method",
473
+ "name": "updateTabVisibility",
474
+ "privacy": "private"
475
+ }
476
+ ],
477
+ "attributes": [
478
+ {
479
+ "name": "position",
480
+ "type": {
481
+ "text": "TabsVariants[\"position\"]"
482
+ },
483
+ "default": "\"left\"",
484
+ "fieldName": "position"
485
+ },
486
+ {
487
+ "name": "defaultTab",
488
+ "type": {
489
+ "text": "number"
490
+ },
491
+ "default": "0",
492
+ "fieldName": "defaultTab"
493
+ },
494
+ {
495
+ "name": "full",
496
+ "type": {
497
+ "text": "TabsVariants[\"full\"]"
498
+ },
499
+ "fieldName": "full"
500
+ },
501
+ {
502
+ "name": "underlined",
503
+ "type": {
504
+ "text": "TabsVariants[\"underlined\"]"
505
+ },
506
+ "fieldName": "underlined"
507
+ },
508
+ {
509
+ "name": "selected",
510
+ "fieldName": "selected"
511
+ }
512
+ ],
513
+ "superclass": {
514
+ "name": "LitElement",
515
+ "package": "lit"
516
+ },
517
+ "tagName": "rarui-tabs",
518
+ "customElement": true
519
+ }
520
+ ],
521
+ "exports": [
522
+ {
523
+ "kind": "js",
524
+ "name": "RaruiTabs",
525
+ "declaration": {
526
+ "name": "RaruiTabs",
527
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/navigation/Tabs/src/Tabs.ts"
528
+ }
529
+ },
530
+ {
531
+ "kind": "custom-element-definition",
532
+ "name": "rarui-tabs",
533
+ "declaration": {
534
+ "name": "RaruiTabs",
535
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/navigation/Tabs/src/Tabs.ts"
536
+ }
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "kind": "javascript-module",
542
+ "path": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/layout/Box/src/Box.ts",
543
+ "declarations": [
544
+ {
545
+ "kind": "class",
546
+ "description": "",
547
+ "name": "RaruiBox",
548
+ "members": [
549
+ {
550
+ "kind": "field",
551
+ "name": "sprinkleAttrs",
552
+ "type": {
553
+ "text": "Record<string, string>"
554
+ }
555
+ }
556
+ ],
557
+ "superclass": {
558
+ "name": "LitElement",
559
+ "package": "lit"
560
+ },
561
+ "tagName": "rarui-box",
562
+ "customElement": true
563
+ }
564
+ ],
565
+ "exports": [
566
+ {
567
+ "kind": "js",
568
+ "name": "RaruiBox",
569
+ "declaration": {
570
+ "name": "RaruiBox",
571
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/layout/Box/src/Box.ts"
572
+ }
573
+ },
574
+ {
575
+ "kind": "custom-element-definition",
576
+ "name": "rarui-box",
577
+ "declaration": {
578
+ "name": "RaruiBox",
579
+ "module": "/Users/juniorconquista/Desktop/Workdir/rarui-gitlab/packages/implementations/web-components/src/layout/Box/src/Box.ts"
580
+ }
581
+ }
582
+ ]
583
+ }
584
+ ]
585
+ }