@kubex/zinc 1.1.18 → 1.1.20
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/dist/custom-elements.json +113 -76
- package/dist/vscode.html-custom-data.json +29 -12
- package/dist/web-types.json +47 -25
- package/dist/zn.d.ts +9 -1
- package/dist/zn.min.js +73 -73
- package/docs/pages/components/status-indicator.md +29 -1
- package/package.json +1 -1
- package/src/components/chat-message/chat-message.component.ts +1 -1
- package/src/components/chat-message/chat-message.scss +12 -3
- package/src/components/status-indicator/status-indicator.component.ts +19 -1
- package/src/components/status-indicator/status-indicator.scss +100 -0
|
@@ -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",
|
|
@@ -223,79 +296,6 @@
|
|
|
223
296
|
}
|
|
224
297
|
]
|
|
225
298
|
},
|
|
226
|
-
{
|
|
227
|
-
"kind": "javascript-module",
|
|
228
|
-
"path": "components/action-bar/action-bar.js",
|
|
229
|
-
"declarations": [
|
|
230
|
-
{
|
|
231
|
-
"kind": "class",
|
|
232
|
-
"description": "",
|
|
233
|
-
"name": "ZnActionBar",
|
|
234
|
-
"cssProperties": [
|
|
235
|
-
{
|
|
236
|
-
"description": "An example CSS custom property.",
|
|
237
|
-
"name": "--example"
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"cssParts": [
|
|
241
|
-
{
|
|
242
|
-
"description": "The component's base wrapper.",
|
|
243
|
-
"name": "base"
|
|
244
|
-
}
|
|
245
|
-
],
|
|
246
|
-
"slots": [
|
|
247
|
-
{
|
|
248
|
-
"description": "The default slot.",
|
|
249
|
-
"name": ""
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"description": "An example slot.",
|
|
253
|
-
"name": "example"
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
|
-
"members": [
|
|
257
|
-
{
|
|
258
|
-
"kind": "field",
|
|
259
|
-
"name": "localize",
|
|
260
|
-
"privacy": "private",
|
|
261
|
-
"readonly": true,
|
|
262
|
-
"default": "new LocalizeController(this)"
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
"events": [
|
|
266
|
-
{
|
|
267
|
-
"description": "Emitted as an example.",
|
|
268
|
-
"name": "zn-event-name"
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"superclass": {
|
|
272
|
-
"name": "ZincElement",
|
|
273
|
-
"module": "/src/internal/zinc-element"
|
|
274
|
-
},
|
|
275
|
-
"summary": "Short summary of the component's intended use.",
|
|
276
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
277
|
-
"tagName": "zn-action-bar",
|
|
278
|
-
"customElement": true,
|
|
279
|
-
"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 */",
|
|
280
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
281
|
-
"status": "experimental",
|
|
282
|
-
"since": "1.0",
|
|
283
|
-
"dependencies": [
|
|
284
|
-
"zn-example"
|
|
285
|
-
]
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
"exports": [
|
|
289
|
-
{
|
|
290
|
-
"kind": "js",
|
|
291
|
-
"name": "default",
|
|
292
|
-
"declaration": {
|
|
293
|
-
"name": "ZnActionBar",
|
|
294
|
-
"module": "components/action-bar/action-bar.js"
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
]
|
|
298
|
-
},
|
|
299
299
|
{
|
|
300
300
|
"kind": "javascript-module",
|
|
301
301
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -31964,20 +31964,57 @@
|
|
|
31964
31964
|
"kind": "field",
|
|
31965
31965
|
"name": "type",
|
|
31966
31966
|
"type": {
|
|
31967
|
-
"text": "'success' | 'error' | 'warning' | 'info'"
|
|
31967
|
+
"text": "'success' | 'error' | 'warning' | 'info' | 'disabled'"
|
|
31968
31968
|
},
|
|
31969
31969
|
"default": "'info'",
|
|
31970
31970
|
"attribute": "type"
|
|
31971
|
+
},
|
|
31972
|
+
{
|
|
31973
|
+
"kind": "field",
|
|
31974
|
+
"name": "altType",
|
|
31975
|
+
"type": {
|
|
31976
|
+
"text": "'success' | 'error' | 'warning' | 'info' | 'disabled' | undefined"
|
|
31977
|
+
},
|
|
31978
|
+
"description": "A secondary status type. When set, the indicator animates between `type`\nand this colour to represent a status transitioning between two states\n(e.g. `warning` and `disabled`).",
|
|
31979
|
+
"attribute": "alt-type"
|
|
31980
|
+
},
|
|
31981
|
+
{
|
|
31982
|
+
"kind": "field",
|
|
31983
|
+
"name": "glow",
|
|
31984
|
+
"type": {
|
|
31985
|
+
"text": "boolean"
|
|
31986
|
+
},
|
|
31987
|
+
"default": "false",
|
|
31988
|
+
"description": "Animates a throbbing glow effect around the indicator.",
|
|
31989
|
+
"attribute": "glow",
|
|
31990
|
+
"reflects": true
|
|
31971
31991
|
}
|
|
31972
31992
|
],
|
|
31973
31993
|
"attributes": [
|
|
31974
31994
|
{
|
|
31975
31995
|
"name": "type",
|
|
31976
31996
|
"type": {
|
|
31977
|
-
"text": "'success' | 'error' | 'warning' | 'info'"
|
|
31997
|
+
"text": "'success' | 'error' | 'warning' | 'info' | 'disabled'"
|
|
31978
31998
|
},
|
|
31979
31999
|
"default": "'info'",
|
|
31980
32000
|
"fieldName": "type"
|
|
32001
|
+
},
|
|
32002
|
+
{
|
|
32003
|
+
"name": "alt-type",
|
|
32004
|
+
"type": {
|
|
32005
|
+
"text": "'success' | 'error' | 'warning' | 'info' | 'disabled' | undefined"
|
|
32006
|
+
},
|
|
32007
|
+
"description": "A secondary status type. When set, the indicator animates between `type`\nand this colour to represent a status transitioning between two states\n(e.g. `warning` and `disabled`).",
|
|
32008
|
+
"fieldName": "altType"
|
|
32009
|
+
},
|
|
32010
|
+
{
|
|
32011
|
+
"name": "glow",
|
|
32012
|
+
"type": {
|
|
32013
|
+
"text": "boolean"
|
|
32014
|
+
},
|
|
32015
|
+
"default": "false",
|
|
32016
|
+
"description": "Animates a throbbing glow effect around the indicator.",
|
|
32017
|
+
"fieldName": "glow"
|
|
31981
32018
|
}
|
|
31982
32019
|
],
|
|
31983
32020
|
"superclass": {
|
|
@@ -37118,7 +37155,7 @@
|
|
|
37118
37155
|
"package": {
|
|
37119
37156
|
"name": "@kubex/zinc",
|
|
37120
37157
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
37121
|
-
"version": "1.1.
|
|
37158
|
+
"version": "1.1.20",
|
|
37122
37159
|
"author": "",
|
|
37123
37160
|
"license": "MIT"
|
|
37124
37161
|
}
|
|
@@ -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.",
|
|
@@ -52,17 +63,6 @@
|
|
|
52
63
|
}
|
|
53
64
|
]
|
|
54
65
|
},
|
|
55
|
-
{
|
|
56
|
-
"name": "zn-action-bar",
|
|
57
|
-
"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.",
|
|
58
|
-
"attributes": [],
|
|
59
|
-
"references": [
|
|
60
|
-
{
|
|
61
|
-
"name": "Documentation",
|
|
62
|
-
"url": "https://zinc.style/components/action-bar"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
66
|
{
|
|
67
67
|
"name": "zn-animated-button",
|
|
68
68
|
"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",
|
|
@@ -3484,8 +3484,25 @@
|
|
|
3484
3484
|
{ "name": "success" },
|
|
3485
3485
|
{ "name": "error" },
|
|
3486
3486
|
{ "name": "warning" },
|
|
3487
|
-
{ "name": "info" }
|
|
3487
|
+
{ "name": "info" },
|
|
3488
|
+
{ "name": "disabled" }
|
|
3488
3489
|
]
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"name": "alt-type",
|
|
3493
|
+
"description": "A secondary status type. When set, the indicator animates between `type`\nand this colour to represent a status transitioning between two states\n(e.g. `warning` and `disabled`).",
|
|
3494
|
+
"values": [
|
|
3495
|
+
{ "name": "success" },
|
|
3496
|
+
{ "name": "error" },
|
|
3497
|
+
{ "name": "warning" },
|
|
3498
|
+
{ "name": "info" },
|
|
3499
|
+
{ "name": "disabled" }
|
|
3500
|
+
]
|
|
3501
|
+
},
|
|
3502
|
+
{
|
|
3503
|
+
"name": "glow",
|
|
3504
|
+
"description": "Animates a throbbing glow effect around the indicator.",
|
|
3505
|
+
"values": []
|
|
3489
3506
|
}
|
|
3490
3507
|
],
|
|
3491
3508
|
"references": [
|
package/dist/web-types.json
CHANGED
|
@@ -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.1.
|
|
4
|
+
"version": "1.1.20",
|
|
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.",
|
|
@@ -78,28 +100,6 @@
|
|
|
78
100
|
]
|
|
79
101
|
}
|
|
80
102
|
},
|
|
81
|
-
{
|
|
82
|
-
"name": "zn-action-bar",
|
|
83
|
-
"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.",
|
|
84
|
-
"doc-url": "",
|
|
85
|
-
"attributes": [],
|
|
86
|
-
"slots": [
|
|
87
|
-
{ "name": "", "description": "The default slot." },
|
|
88
|
-
{ "name": "example", "description": "An example slot." }
|
|
89
|
-
],
|
|
90
|
-
"events": [
|
|
91
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
92
|
-
],
|
|
93
|
-
"js": {
|
|
94
|
-
"properties": [],
|
|
95
|
-
"events": [
|
|
96
|
-
{
|
|
97
|
-
"name": "zn-event-name",
|
|
98
|
-
"description": "Emitted as an example."
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
103
|
{
|
|
104
104
|
"name": "zn-animated-button",
|
|
105
105
|
"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",
|
|
@@ -8148,9 +8148,21 @@
|
|
|
8148
8148
|
{
|
|
8149
8149
|
"name": "type",
|
|
8150
8150
|
"value": {
|
|
8151
|
-
"type": "'success' | 'error' | 'warning' | 'info'",
|
|
8151
|
+
"type": "'success' | 'error' | 'warning' | 'info' | 'disabled'",
|
|
8152
8152
|
"default": "'info'"
|
|
8153
8153
|
}
|
|
8154
|
+
},
|
|
8155
|
+
{
|
|
8156
|
+
"name": "alt-type",
|
|
8157
|
+
"description": "A secondary status type. When set, the indicator animates between `type`\nand this colour to represent a status transitioning between two states\n(e.g. `warning` and `disabled`).",
|
|
8158
|
+
"value": {
|
|
8159
|
+
"type": "'success' | 'error' | 'warning' | 'info' | 'disabled' | undefined"
|
|
8160
|
+
}
|
|
8161
|
+
},
|
|
8162
|
+
{
|
|
8163
|
+
"name": "glow",
|
|
8164
|
+
"description": "Animates a throbbing glow effect around the indicator.",
|
|
8165
|
+
"value": { "type": "boolean", "default": "false" }
|
|
8154
8166
|
}
|
|
8155
8167
|
],
|
|
8156
8168
|
"events": [],
|
|
@@ -8158,7 +8170,17 @@
|
|
|
8158
8170
|
"properties": [
|
|
8159
8171
|
{
|
|
8160
8172
|
"name": "type",
|
|
8161
|
-
"type": "'success' | 'error' | 'warning' | 'info'"
|
|
8173
|
+
"type": "'success' | 'error' | 'warning' | 'info' | 'disabled'"
|
|
8174
|
+
},
|
|
8175
|
+
{
|
|
8176
|
+
"name": "altType",
|
|
8177
|
+
"description": "A secondary status type. When set, the indicator animates between `type`\nand this colour to represent a status transitioning between two states\n(e.g. `warning` and `disabled`).",
|
|
8178
|
+
"type": "'success' | 'error' | 'warning' | 'info' | 'disabled' | undefined"
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
"name": "glow",
|
|
8182
|
+
"description": "Animates a throbbing glow effect around the indicator.",
|
|
8183
|
+
"type": "boolean"
|
|
8162
8184
|
}
|
|
8163
8185
|
],
|
|
8164
8186
|
"events": []
|
package/dist/zn.d.ts
CHANGED
|
@@ -7499,7 +7499,15 @@ declare module "components/status-indicator/status-indicator.component" {
|
|
|
7499
7499
|
*/
|
|
7500
7500
|
export default class ZnStatusIndicator extends ZincElement {
|
|
7501
7501
|
static styles: CSSResultGroup;
|
|
7502
|
-
type: 'success' | 'error' | 'warning' | 'info';
|
|
7502
|
+
type: 'success' | 'error' | 'warning' | 'info' | 'disabled';
|
|
7503
|
+
/**
|
|
7504
|
+
* A secondary status type. When set, the indicator animates between `type`
|
|
7505
|
+
* and this colour to represent a status transitioning between two states
|
|
7506
|
+
* (e.g. `warning` and `disabled`).
|
|
7507
|
+
*/
|
|
7508
|
+
altType?: 'success' | 'error' | 'warning' | 'info' | 'disabled';
|
|
7509
|
+
/** Animates a throbbing glow effect around the indicator. */
|
|
7510
|
+
glow: boolean;
|
|
7503
7511
|
render(): import("lit-html").TemplateResult<1>;
|
|
7504
7512
|
}
|
|
7505
7513
|
}
|