@kubex/zinc 1.0.118 → 1.0.119

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.
@@ -47,6 +47,79 @@
47
47
  }
48
48
  ]
49
49
  },
50
+ {
51
+ "kind": "javascript-module",
52
+ "path": "components/action-bar/action-bar.js",
53
+ "declarations": [
54
+ {
55
+ "kind": "class",
56
+ "description": "",
57
+ "name": "ZnActionBar",
58
+ "cssProperties": [
59
+ {
60
+ "description": "An example CSS custom property.",
61
+ "name": "--example"
62
+ }
63
+ ],
64
+ "cssParts": [
65
+ {
66
+ "description": "The component's base wrapper.",
67
+ "name": "base"
68
+ }
69
+ ],
70
+ "slots": [
71
+ {
72
+ "description": "The default slot.",
73
+ "name": ""
74
+ },
75
+ {
76
+ "description": "An example slot.",
77
+ "name": "example"
78
+ }
79
+ ],
80
+ "members": [
81
+ {
82
+ "kind": "field",
83
+ "name": "localize",
84
+ "privacy": "private",
85
+ "readonly": true,
86
+ "default": "new LocalizeController(this)"
87
+ }
88
+ ],
89
+ "events": [
90
+ {
91
+ "description": "Emitted as an example.",
92
+ "name": "zn-event-name"
93
+ }
94
+ ],
95
+ "superclass": {
96
+ "name": "ZincElement",
97
+ "module": "/src/internal/zinc-element"
98
+ },
99
+ "summary": "Short summary of the component's intended use.",
100
+ "tagNameWithoutPrefix": "action-bar",
101
+ "tagName": "zn-action-bar",
102
+ "customElement": true,
103
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
104
+ "documentation": "https://zinc.style/components/action-bar",
105
+ "status": "experimental",
106
+ "since": "1.0",
107
+ "dependencies": [
108
+ "zn-example"
109
+ ]
110
+ }
111
+ ],
112
+ "exports": [
113
+ {
114
+ "kind": "js",
115
+ "name": "default",
116
+ "declaration": {
117
+ "name": "ZnActionBar",
118
+ "module": "components/action-bar/action-bar.js"
119
+ }
120
+ }
121
+ ]
122
+ },
50
123
  {
51
124
  "kind": "javascript-module",
52
125
  "path": "components/alert/alert.js",
@@ -205,79 +278,6 @@
205
278
  }
206
279
  ]
207
280
  },
208
- {
209
- "kind": "javascript-module",
210
- "path": "components/action-bar/action-bar.js",
211
- "declarations": [
212
- {
213
- "kind": "class",
214
- "description": "",
215
- "name": "ZnActionBar",
216
- "cssProperties": [
217
- {
218
- "description": "An example CSS custom property.",
219
- "name": "--example"
220
- }
221
- ],
222
- "cssParts": [
223
- {
224
- "description": "The component's base wrapper.",
225
- "name": "base"
226
- }
227
- ],
228
- "slots": [
229
- {
230
- "description": "The default slot.",
231
- "name": ""
232
- },
233
- {
234
- "description": "An example slot.",
235
- "name": "example"
236
- }
237
- ],
238
- "members": [
239
- {
240
- "kind": "field",
241
- "name": "localize",
242
- "privacy": "private",
243
- "readonly": true,
244
- "default": "new LocalizeController(this)"
245
- }
246
- ],
247
- "events": [
248
- {
249
- "description": "Emitted as an example.",
250
- "name": "zn-event-name"
251
- }
252
- ],
253
- "superclass": {
254
- "name": "ZincElement",
255
- "module": "/src/internal/zinc-element"
256
- },
257
- "summary": "Short summary of the component's intended use.",
258
- "tagNameWithoutPrefix": "action-bar",
259
- "tagName": "zn-action-bar",
260
- "customElement": true,
261
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
262
- "documentation": "https://zinc.style/components/action-bar",
263
- "status": "experimental",
264
- "since": "1.0",
265
- "dependencies": [
266
- "zn-example"
267
- ]
268
- }
269
- ],
270
- "exports": [
271
- {
272
- "kind": "js",
273
- "name": "default",
274
- "declaration": {
275
- "name": "ZnActionBar",
276
- "module": "components/action-bar/action-bar.js"
277
- }
278
- }
279
- ]
280
- },
281
281
  {
282
282
  "kind": "javascript-module",
283
283
  "path": "components/animated-button/animated-button.js",
@@ -31222,6 +31222,114 @@
31222
31222
  }
31223
31223
  ]
31224
31224
  },
31225
+ {
31226
+ "kind": "javascript-module",
31227
+ "path": "components/tab/tab.js",
31228
+ "declarations": [
31229
+ {
31230
+ "kind": "class",
31231
+ "description": "",
31232
+ "name": "ZnTab",
31233
+ "slots": [
31234
+ {
31235
+ "description": "The tab panel content.",
31236
+ "name": ""
31237
+ }
31238
+ ],
31239
+ "members": [
31240
+ {
31241
+ "kind": "field",
31242
+ "name": "caption",
31243
+ "type": {
31244
+ "text": "string"
31245
+ },
31246
+ "attribute": "caption"
31247
+ },
31248
+ {
31249
+ "kind": "field",
31250
+ "name": "priority",
31251
+ "type": {
31252
+ "text": "number"
31253
+ },
31254
+ "attribute": "priority"
31255
+ },
31256
+ {
31257
+ "kind": "field",
31258
+ "name": "uri",
31259
+ "type": {
31260
+ "text": "string"
31261
+ },
31262
+ "attribute": "uri"
31263
+ },
31264
+ {
31265
+ "kind": "field",
31266
+ "name": "selected",
31267
+ "type": {
31268
+ "text": "boolean"
31269
+ },
31270
+ "default": "false",
31271
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
31272
+ "attribute": "selected",
31273
+ "reflects": true
31274
+ }
31275
+ ],
31276
+ "attributes": [
31277
+ {
31278
+ "name": "caption",
31279
+ "type": {
31280
+ "text": "string"
31281
+ },
31282
+ "fieldName": "caption"
31283
+ },
31284
+ {
31285
+ "name": "priority",
31286
+ "type": {
31287
+ "text": "number"
31288
+ },
31289
+ "fieldName": "priority"
31290
+ },
31291
+ {
31292
+ "name": "uri",
31293
+ "type": {
31294
+ "text": "string"
31295
+ },
31296
+ "fieldName": "uri"
31297
+ },
31298
+ {
31299
+ "name": "selected",
31300
+ "type": {
31301
+ "text": "boolean"
31302
+ },
31303
+ "default": "false",
31304
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
31305
+ "fieldName": "selected"
31306
+ }
31307
+ ],
31308
+ "superclass": {
31309
+ "name": "ZincElement",
31310
+ "module": "/src/internal/zinc-element"
31311
+ },
31312
+ "summary": "Defines a tab panel for use inside zn-page.",
31313
+ "tagNameWithoutPrefix": "tab",
31314
+ "tagName": "zn-tab",
31315
+ "customElement": true,
31316
+ "jsDoc": "/**\n * @summary Defines a tab panel for use inside zn-page.\n * @documentation https://zinc.style/components/tab\n * @status experimental\n * @since 1.0\n *\n * @slot - The tab panel content.\n */",
31317
+ "documentation": "https://zinc.style/components/tab",
31318
+ "status": "experimental",
31319
+ "since": "1.0"
31320
+ }
31321
+ ],
31322
+ "exports": [
31323
+ {
31324
+ "kind": "js",
31325
+ "name": "default",
31326
+ "declaration": {
31327
+ "name": "ZnTab",
31328
+ "module": "components/tab/tab.js"
31329
+ }
31330
+ }
31331
+ ]
31332
+ },
31225
31333
  {
31226
31334
  "kind": "javascript-module",
31227
31335
  "path": "components/table/table.js",
@@ -31486,114 +31594,6 @@
31486
31594
  }
31487
31595
  ]
31488
31596
  },
31489
- {
31490
- "kind": "javascript-module",
31491
- "path": "components/tab/tab.js",
31492
- "declarations": [
31493
- {
31494
- "kind": "class",
31495
- "description": "",
31496
- "name": "ZnTab",
31497
- "slots": [
31498
- {
31499
- "description": "The tab panel content.",
31500
- "name": ""
31501
- }
31502
- ],
31503
- "members": [
31504
- {
31505
- "kind": "field",
31506
- "name": "caption",
31507
- "type": {
31508
- "text": "string"
31509
- },
31510
- "attribute": "caption"
31511
- },
31512
- {
31513
- "kind": "field",
31514
- "name": "priority",
31515
- "type": {
31516
- "text": "number"
31517
- },
31518
- "attribute": "priority"
31519
- },
31520
- {
31521
- "kind": "field",
31522
- "name": "uri",
31523
- "type": {
31524
- "text": "string"
31525
- },
31526
- "attribute": "uri"
31527
- },
31528
- {
31529
- "kind": "field",
31530
- "name": "selected",
31531
- "type": {
31532
- "text": "boolean"
31533
- },
31534
- "default": "false",
31535
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
31536
- "attribute": "selected",
31537
- "reflects": true
31538
- }
31539
- ],
31540
- "attributes": [
31541
- {
31542
- "name": "caption",
31543
- "type": {
31544
- "text": "string"
31545
- },
31546
- "fieldName": "caption"
31547
- },
31548
- {
31549
- "name": "priority",
31550
- "type": {
31551
- "text": "number"
31552
- },
31553
- "fieldName": "priority"
31554
- },
31555
- {
31556
- "name": "uri",
31557
- "type": {
31558
- "text": "string"
31559
- },
31560
- "fieldName": "uri"
31561
- },
31562
- {
31563
- "name": "selected",
31564
- "type": {
31565
- "text": "boolean"
31566
- },
31567
- "default": "false",
31568
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
31569
- "fieldName": "selected"
31570
- }
31571
- ],
31572
- "superclass": {
31573
- "name": "ZincElement",
31574
- "module": "/src/internal/zinc-element"
31575
- },
31576
- "summary": "Defines a tab panel for use inside zn-page.",
31577
- "tagNameWithoutPrefix": "tab",
31578
- "tagName": "zn-tab",
31579
- "customElement": true,
31580
- "jsDoc": "/**\n * @summary Defines a tab panel for use inside zn-page.\n * @documentation https://zinc.style/components/tab\n * @status experimental\n * @since 1.0\n *\n * @slot - The tab panel content.\n */",
31581
- "documentation": "https://zinc.style/components/tab",
31582
- "status": "experimental",
31583
- "since": "1.0"
31584
- }
31585
- ],
31586
- "exports": [
31587
- {
31588
- "kind": "js",
31589
- "name": "default",
31590
- "declaration": {
31591
- "name": "ZnTab",
31592
- "module": "components/tab/tab.js"
31593
- }
31594
- }
31595
- ]
31596
- },
31597
31597
  {
31598
31598
  "kind": "javascript-module",
31599
31599
  "path": "components/tabs/tabs.js",
@@ -35700,7 +35700,7 @@
35700
35700
  "package": {
35701
35701
  "name": "@kubex/zinc",
35702
35702
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
35703
- "version": "1.0.118",
35703
+ "version": "1.0.119",
35704
35704
  "author": "",
35705
35705
  "license": "MIT"
35706
35706
  }
@@ -13,6 +13,17 @@
13
13
  }
14
14
  ]
15
15
  },
16
+ {
17
+ "name": "zn-action-bar",
18
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
19
+ "attributes": [],
20
+ "references": [
21
+ {
22
+ "name": "Documentation",
23
+ "url": "https://zinc.style/components/action-bar"
24
+ }
25
+ ]
26
+ },
16
27
  {
17
28
  "name": "zn-alert",
18
29
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -48,17 +59,6 @@
48
59
  }
49
60
  ]
50
61
  },
51
- {
52
- "name": "zn-action-bar",
53
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
54
- "attributes": [],
55
- "references": [
56
- {
57
- "name": "Documentation",
58
- "url": "https://zinc.style/components/action-bar"
59
- }
60
- ]
61
- },
62
62
  {
63
63
  "name": "zn-animated-button",
64
64
  "description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
@@ -3337,6 +3337,23 @@
3337
3337
  }
3338
3338
  ]
3339
3339
  },
3340
+ {
3341
+ "name": "zn-tab",
3342
+ "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
3343
+ "attributes": [
3344
+ { "name": "caption", "values": [] },
3345
+ { "name": "priority", "values": [] },
3346
+ { "name": "uri", "values": [] },
3347
+ {
3348
+ "name": "selected",
3349
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
3350
+ "values": []
3351
+ }
3352
+ ],
3353
+ "references": [
3354
+ { "name": "Documentation", "url": "https://zinc.style/components/tab" }
3355
+ ]
3356
+ },
3340
3357
  {
3341
3358
  "name": "zn-table",
3342
3359
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -3355,23 +3372,6 @@
3355
3372
  }
3356
3373
  ]
3357
3374
  },
3358
- {
3359
- "name": "zn-tab",
3360
- "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
3361
- "attributes": [
3362
- { "name": "caption", "values": [] },
3363
- { "name": "priority", "values": [] },
3364
- { "name": "uri", "values": [] },
3365
- {
3366
- "name": "selected",
3367
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
3368
- "values": []
3369
- }
3370
- ],
3371
- "references": [
3372
- { "name": "Documentation", "url": "https://zinc.style/components/tab" }
3373
- ]
3374
- },
3375
3375
  {
3376
3376
  "name": "zn-tabs",
3377
3377
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@kubex/zinc",
4
- "version": "1.0.118",
4
+ "version": "1.0.119",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -15,6 +15,28 @@
15
15
  "events": [],
16
16
  "js": { "properties": [], "events": [] }
17
17
  },
18
+ {
19
+ "name": "zn-action-bar",
20
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
21
+ "doc-url": "",
22
+ "attributes": [],
23
+ "slots": [
24
+ { "name": "", "description": "The default slot." },
25
+ { "name": "example", "description": "An example slot." }
26
+ ],
27
+ "events": [
28
+ { "name": "zn-event-name", "description": "Emitted as an example." }
29
+ ],
30
+ "js": {
31
+ "properties": [],
32
+ "events": [
33
+ {
34
+ "name": "zn-event-name",
35
+ "description": "Emitted as an example."
36
+ }
37
+ ]
38
+ }
39
+ },
18
40
  {
19
41
  "name": "zn-alert",
20
42
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -70,28 +92,6 @@
70
92
  ]
71
93
  }
72
94
  },
73
- {
74
- "name": "zn-action-bar",
75
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
76
- "doc-url": "",
77
- "attributes": [],
78
- "slots": [
79
- { "name": "", "description": "The default slot." },
80
- { "name": "example", "description": "An example slot." }
81
- ],
82
- "events": [
83
- { "name": "zn-event-name", "description": "Emitted as an example." }
84
- ],
85
- "js": {
86
- "properties": [],
87
- "events": [
88
- {
89
- "name": "zn-event-name",
90
- "description": "Emitted as an example."
91
- }
92
- ]
93
- }
94
- },
95
95
  {
96
96
  "name": "zn-animated-button",
97
97
  "description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
@@ -7822,6 +7822,36 @@
7822
7822
  "events": []
7823
7823
  }
7824
7824
  },
7825
+ {
7826
+ "name": "zn-tab",
7827
+ "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
7828
+ "doc-url": "",
7829
+ "attributes": [
7830
+ { "name": "caption", "value": { "type": "string" } },
7831
+ { "name": "priority", "value": { "type": "number" } },
7832
+ { "name": "uri", "value": { "type": "string" } },
7833
+ {
7834
+ "name": "selected",
7835
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
7836
+ "value": { "type": "boolean", "default": "false" }
7837
+ }
7838
+ ],
7839
+ "slots": [{ "name": "", "description": "The tab panel content." }],
7840
+ "events": [],
7841
+ "js": {
7842
+ "properties": [
7843
+ { "name": "caption", "type": "string" },
7844
+ { "name": "priority", "type": "number" },
7845
+ { "name": "uri", "type": "string" },
7846
+ {
7847
+ "name": "selected",
7848
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
7849
+ "type": "boolean"
7850
+ }
7851
+ ],
7852
+ "events": []
7853
+ }
7854
+ },
7825
7855
  {
7826
7856
  "name": "zn-table",
7827
7857
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -7873,36 +7903,6 @@
7873
7903
  ]
7874
7904
  }
7875
7905
  },
7876
- {
7877
- "name": "zn-tab",
7878
- "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
7879
- "doc-url": "",
7880
- "attributes": [
7881
- { "name": "caption", "value": { "type": "string" } },
7882
- { "name": "priority", "value": { "type": "number" } },
7883
- { "name": "uri", "value": { "type": "string" } },
7884
- {
7885
- "name": "selected",
7886
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
7887
- "value": { "type": "boolean", "default": "false" }
7888
- }
7889
- ],
7890
- "slots": [{ "name": "", "description": "The tab panel content." }],
7891
- "events": [],
7892
- "js": {
7893
- "properties": [
7894
- { "name": "caption", "type": "string" },
7895
- { "name": "priority", "type": "number" },
7896
- { "name": "uri", "type": "string" },
7897
- {
7898
- "name": "selected",
7899
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
7900
- "type": "boolean"
7901
- }
7902
- ],
7903
- "events": []
7904
- }
7905
- },
7906
7906
  {
7907
7907
  "name": "zn-tabs",
7908
7908
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
package/dist/zn.min.js CHANGED
@@ -210,7 +210,7 @@ function print() { __p += __j.call(arguments, '') }
210
210
  class="${ie({"button-group":!0,"button-group--grow":this.grow,"button-group--start":this.start,"button-group--gap":this.gap})}"
211
211
  role="group">
212
212
  <slot @slotchange=${this.handleSlotChange}></slot>
213
- </div>`}};Wo.styles=Q(ice),b([w({})],Wo.prototype,"direction",2),b([w({type:Boolean})],Wo.prototype,"grow",2),b([w({type:Boolean})],Wo.prototype,"wrap",2),b([w({type:Boolean})],Wo.prototype,"start",2),b([w({type:Boolean})],Wo.prototype,"gap",2),b([ce("slot")],Wo.prototype,"defaultSlot",2);var wp=Wo;Wo.define("zn-button-group");var oce=J`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:inline-block;vertical-align:middle}.chip{display:inline-flex;border-radius:7px;padding:var(--zn-spacing-3x-small) var(--zn-spacing-x-small);text-align:center;font-size:12px;gap:4px;width:-moz-fit-content;width:fit-content;margin:1px;justify-content:center;align-items:center;border:1px solid transparent;line-height:24px;white-space:nowrap}.chip--flush{padding:0}.chip--flush-x{padding-inline:0}.chip--flush-y{padding-block:0}.chip--primary{color:rgba(var(--zn-primary),0.9);border-color:rgb(var(--zn-primary));background:rgba(var(--zn-primary),0.1)}.chip--error{color:rgb(var(--zn-color-error));border-color:rgb(var(--zn-color-error));background:rgba(var(--zn-color-error),0.1)}.chip--info{color:rgb(var(--zn-color-info));border-color:rgb(var(--zn-color-info));background:rgba(var(--zn-color-info),0.1)}.chip--warning{color:rgb(var(--zn-color-warning));border-color:rgb(var(--zn-color-warning));background:rgba(var(--zn-color-warning),0.1)}.chip--success{color:rgb(var(--zn-color-success));border-color:rgb(var(--zn-color-success));background:rgba(var(--zn-color-success),0.1)}.chip--neutral{color:rgb(var(--zn-text));border-color:rgb(var(--zn-border-color));background:rgba(var(--zn-border-color),0.1)}.chip--transparent{color:rgb(var(--zn-text));border-color:transparent;background:transparent}.chip--custom{color:rgb(var(--zn-text));border-color:hsl(from var(--chip-color-override,inherit) h s l/0.6);background-color:hsl(from var(--chip-color-override,inherit) h s l/0.1)}.chip__value{overflow:hidden;text-overflow:ellipsis}.chip__caption{opacity:0.7;font-weight:600}.chip__caption::after{content:":"}.chip--small{font-size:var(--zn-font-size-small);padding:var(--zn-spacing-2x-small) var(--zn-spacing-x-small);line-height:var(--zn-line-height-dense)}.chip--medium{font-size:var(--zn-font-size-medium);padding:var(--zn-spacing-2x-small) var(--zn-spacing-small)}.chip--large{font-size:var(--zn-font-size-large);padding:var(--zn-spacing-x-small) var(--zn-spacing-x-large)}.chip--no-content{padding:var(--zn-spacing-3x-small) var(--zn-spacing-2x-small)}.chip--with-icon{padding-left:var(--zn-spacing-2x-small)}`;var Vi=class extends X{constructor(){super(...arguments);this.icon="";this.caption="";this.iconSize=18;this.type="neutral";this.flush=!1;this.flushX=!1;this.flushY=!1;this.hasSlotController=new Je(this,"[default]","action")}render(){let t=this.hasSlotController.test("[default]");return T`
213
+ </div>`}};Wo.styles=Q(ice),b([w({})],Wo.prototype,"direction",2),b([w({type:Boolean})],Wo.prototype,"grow",2),b([w({type:Boolean})],Wo.prototype,"wrap",2),b([w({type:Boolean})],Wo.prototype,"start",2),b([w({type:Boolean})],Wo.prototype,"gap",2),b([ce("slot")],Wo.prototype,"defaultSlot",2);var wp=Wo;Wo.define("zn-button-group");var oce=J`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:inline-block;vertical-align:middle}.chip{display:inline-flex;border-radius:7px;padding:var(--zn-spacing-3x-small) var(--zn-spacing-x-small);text-align:center;font-size:12px;gap:4px;width:-moz-fit-content;width:fit-content;margin:1px;justify-content:center;align-items:center;border:1px solid transparent;line-height:24px;white-space:nowrap;text-transform:uppercase}.chip--flush{padding:0}.chip--flush-x{padding-inline:0}.chip--flush-y{padding-block:0}.chip--primary{color:rgba(var(--zn-primary),0.9);border-color:rgb(var(--zn-primary));background:rgba(var(--zn-primary),0.1)}.chip--error{color:rgb(var(--zn-color-error));border-color:rgb(var(--zn-color-error));background:rgba(var(--zn-color-error),0.1)}.chip--info{color:rgb(var(--zn-color-info));border-color:rgb(var(--zn-color-info));background:rgba(var(--zn-color-info),0.1)}.chip--warning{color:rgb(var(--zn-color-warning));border-color:rgb(var(--zn-color-warning));background:rgba(var(--zn-color-warning),0.1)}.chip--success{color:rgb(var(--zn-color-success));border-color:rgb(var(--zn-color-success));background:rgba(var(--zn-color-success),0.1)}.chip--neutral{color:rgb(var(--zn-text));border-color:rgb(var(--zn-border-color));background:rgba(var(--zn-border-color),0.1)}.chip--transparent{color:rgb(var(--zn-text));border-color:transparent;background:transparent}.chip--custom{color:rgb(var(--zn-text));border-color:hsl(from var(--chip-color-override,inherit) h s l/0.6);background-color:hsl(from var(--chip-color-override,inherit) h s l/0.1)}.chip__value{overflow:hidden;text-overflow:ellipsis}.chip__caption{opacity:0.7;font-weight:600}.chip__caption::after{content:":"}.chip--small{font-size:var(--zn-font-size-small);padding:var(--zn-spacing-2x-small) var(--zn-spacing-x-small);line-height:var(--zn-line-height-dense)}.chip--medium{font-size:var(--zn-font-size-medium);padding:var(--zn-spacing-2x-small) var(--zn-spacing-small)}.chip--large{font-size:var(--zn-font-size-large);padding:var(--zn-spacing-x-small) var(--zn-spacing-x-large)}.chip--no-content{padding:var(--zn-spacing-3x-small) var(--zn-spacing-2x-small)}.chip--with-icon{padding-left:var(--zn-spacing-2x-small)}`;var Vi=class extends X{constructor(){super(...arguments);this.icon="";this.caption="";this.iconSize=18;this.type="neutral";this.flush=!1;this.flushX=!1;this.flushY=!1;this.hasSlotController=new Je(this,"[default]","action")}render(){let t=this.hasSlotController.test("[default]");return T`
214
214
  <div class="${ie({chip:!0,"chip--with-content":t,"chip--no-content":!t,"chip--with-icon":this.icon,"chip--flush":this.flush,"chip--flush-x":this.flushX,"chip--flush-y":this.flushY,"chip--info":this.type==="info","chip--success":this.type==="success","chip--warning":this.type==="warning","chip--error":this.type==="error","chip--primary":this.type==="primary","chip--transparent":this.type==="transparent","chip--custom":this.type==="custom","chip--neutral":this.type==="neutral","chip--small":this.size==="small","chip--medium":this.size==="medium","chip--large":this.size==="large"})}">
215
215
  ${this.icon?T`
216
216
  <zn-icon src="${this.icon}" size="${this.iconSize}"></zn-icon>`:""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubex/zinc",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
4
4
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
5
5
  "keywords": [
6
6
  "web components",
@@ -19,6 +19,7 @@
19
19
  border: 1px solid transparent;
20
20
  line-height: 24px;
21
21
  white-space: nowrap;
22
+ text-transform: uppercase;
22
23
 
23
24
  &--flush {
24
25
  padding: 0;