@brightspot/ui 1.0.1-wc.4 → 1.2.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/README.md +7 -90
- package/dist/LucideDynamicLoader.d.ts +1 -0
- package/dist/LucideDynamicLoader.d.ts.map +1 -1
- package/dist/LucideDynamicLoader.js +2 -0
- package/dist/LucideDynamicLoader.js.map +1 -1
- package/dist/LucideDynamicLoader.ts +3 -0
- package/dist/components/avatar/Avatar.d.ts +82 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.js +162 -0
- package/dist/components/avatar/Avatar.js.map +1 -0
- package/dist/components/avatar/AvatarGroup.d.ts +70 -0
- package/dist/components/avatar/AvatarGroup.d.ts.map +1 -0
- package/dist/components/avatar/AvatarGroup.js +145 -0
- package/dist/components/avatar/AvatarGroup.js.map +1 -0
- package/dist/components/badge/Badge.d.ts +75 -0
- package/dist/components/badge/Badge.d.ts.map +1 -0
- package/dist/components/badge/Badge.js +118 -0
- package/dist/components/badge/Badge.js.map +1 -0
- package/dist/components/circular-progress/CircularProgress.d.ts +57 -0
- package/dist/components/circular-progress/CircularProgress.d.ts.map +1 -0
- package/dist/components/circular-progress/CircularProgress.js +173 -0
- package/dist/components/circular-progress/CircularProgress.js.map +1 -0
- package/dist/components/icon/Icon.d.ts +90 -0
- package/dist/components/icon/Icon.d.ts.map +1 -0
- package/dist/components/icon/Icon.js +172 -0
- package/dist/components/icon/Icon.js.map +1 -0
- package/dist/components/linear-progress/LinearProgress.d.ts +40 -0
- package/dist/components/linear-progress/LinearProgress.d.ts.map +1 -0
- package/dist/components/linear-progress/LinearProgress.js +95 -0
- package/dist/components/linear-progress/LinearProgress.js.map +1 -0
- package/dist/custom-elements.json +772 -0
- package/dist/global.d.ts +4 -0
- package/dist/storybook/assets/Avatar.stories-BlxrclP0.js +209 -0
- package/dist/storybook/assets/AvatarGroup.stories-E3VUvBae.js +211 -0
- package/dist/storybook/assets/Badge.stories-f4YvPz0W.js +121 -0
- package/dist/storybook/assets/Button.stories-N66xrq4q.js +63 -0
- package/dist/storybook/assets/CircularProgress.stories-zWyELtfc.js +451 -0
- package/dist/storybook/assets/{Color-64QXVMR3-BV_8WWIP.js → Color-64QXVMR3-B3Y5c9dl.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-CcpJ2Txp.js → Colors.stories-nEoNeHhf.js} +1 -1
- package/dist/storybook/assets/Events.stories-BP3ensxX.js +108 -0
- package/dist/storybook/assets/Heading.stories-DGqWaBpi.js +3 -0
- package/dist/storybook/assets/Icon.stories-BWWjh4NZ.js +245 -0
- package/dist/storybook/assets/LinearProgress.stories-DMVolkoE.js +397 -0
- package/dist/storybook/assets/ReadyMixin.stories-DavcxbQ0.js +55 -0
- package/dist/storybook/assets/ScrollShadow.stories-BmwSRNje.js +17 -0
- package/dist/storybook/assets/Throttle.stories-DBj-9rhV.js +303 -0
- package/dist/storybook/assets/{WithTooltip-SK46ZJ2J-DyavE1Bj.js → WithTooltip-SK46ZJ2J-DW4NXFWt.js} +5 -5
- package/dist/storybook/assets/formatter-OMEEQ6HG-BBn014aZ.js +1 -0
- package/dist/storybook/assets/iframe-CxsKJSj-.css +1 -0
- package/dist/storybook/assets/{iframe-mIh0R_Av.js → iframe-Z4F0Cgki.js} +87 -100
- package/dist/storybook/assets/{index-C8IjQgz6.js → index-BUj5S-B7.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-CAVLW7PM-36bUIV4n.js → syntaxhighlighter-CAVLW7PM-CsQveU1N.js} +1 -1
- package/dist/storybook/iframe.html +2 -2
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/tailwind-plugin-avatar.d.ts +2 -0
- package/dist/tailwind-plugin-avatar.d.ts.map +1 -0
- package/dist/tailwind-plugin-avatar.js +130 -0
- package/dist/tailwind-plugin-avatar.js.map +1 -0
- package/dist/tailwind-plugin-avatar.ts +181 -0
- package/dist/tailwind-plugin-badge.js +24 -9
- package/dist/tailwind-plugin-badge.js.map +1 -1
- package/dist/tailwind-plugin-badge.ts +30 -11
- package/dist/tailwind-plugin-button.js +14 -15
- package/dist/tailwind-plugin-button.js.map +1 -1
- package/dist/tailwind-plugin-button.ts +14 -17
- package/dist/tailwind-plugin-contrast.d.ts +2 -0
- package/dist/tailwind-plugin-contrast.d.ts.map +1 -0
- package/dist/tailwind-plugin-contrast.js +17 -0
- package/dist/tailwind-plugin-contrast.js.map +1 -0
- package/dist/tailwind-plugin-contrast.ts +18 -0
- package/dist/tailwind-plugin-icon.js +17 -10
- package/dist/tailwind-plugin-icon.js.map +1 -1
- package/dist/tailwind-plugin-icon.ts +17 -10
- package/dist/tailwind-plugin-ring-contrast.d.ts +2 -0
- package/dist/tailwind-plugin-ring-contrast.d.ts.map +1 -0
- package/dist/tailwind-plugin-ring-contrast.js +76 -0
- package/dist/tailwind-plugin-ring-contrast.js.map +1 -0
- package/dist/tailwind-plugin-ring-contrast.ts +90 -0
- package/dist/tailwind.config.d.ts +21 -0
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tailwind.config.js +27 -2
- package/dist/tailwind.config.js.map +1 -1
- package/dist/tailwind.config.ts +27 -2
- package/dist/{utils → util}/EventEmitterMixin.d.ts +23 -17
- package/dist/util/EventEmitterMixin.d.ts.map +1 -0
- package/dist/{utils → util}/EventEmitterMixin.js +7 -7
- package/dist/util/EventEmitterMixin.js.map +1 -0
- package/dist/util/ProgressMixin.d.ts +52 -0
- package/dist/util/ProgressMixin.d.ts.map +1 -0
- package/dist/util/ProgressMixin.js +190 -0
- package/dist/util/ProgressMixin.js.map +1 -0
- package/dist/util/ReadyMixin.d.ts +31 -0
- package/dist/util/ReadyMixin.d.ts.map +1 -0
- package/dist/util/ReadyMixin.js +42 -0
- package/dist/util/ReadyMixin.js.map +1 -0
- package/dist/util/aria.d.ts +3 -0
- package/dist/util/aria.d.ts.map +1 -0
- package/dist/util/aria.js +44 -0
- package/dist/util/aria.js.map +1 -0
- package/dist/util/svg.d.ts +9 -0
- package/dist/util/svg.d.ts.map +1 -1
- package/dist/util/svg.js +22 -0
- package/dist/util/svg.js.map +1 -1
- package/dist/util/throttle.d.ts +4 -0
- package/dist/util/throttle.d.ts.map +1 -0
- package/dist/util/throttle.js +30 -0
- package/dist/util/throttle.js.map +1 -0
- package/package.json +7 -6
- package/custom-elements.json +0 -214
- package/dist/components/widget/Widget.css +0 -118
- package/dist/components/widget/Widget.d.ts +0 -90
- package/dist/components/widget/Widget.d.ts.map +0 -1
- package/dist/components/widget/Widget.js +0 -196
- package/dist/components/widget/Widget.js.map +0 -1
- package/dist/components/widget/WidgetUtils.d.ts +0 -14
- package/dist/components/widget/WidgetUtils.d.ts.map +0 -1
- package/dist/components/widget/WidgetUtils.js +0 -42
- package/dist/components/widget/WidgetUtils.js.map +0 -1
- package/dist/storybook/assets/Badge.stories-cKvztBhm.js +0 -43
- package/dist/storybook/assets/Button.stories-BH3fEuOH.js +0 -63
- package/dist/storybook/assets/Heading.stories-cqZamo-6.js +0 -3
- package/dist/storybook/assets/Icon.stories-uPhO3RBG.js +0 -28543
- package/dist/storybook/assets/Loader.stories-D7Bl-LN9.js +0 -3
- package/dist/storybook/assets/ScrollShadow.stories-CWKYDYLk.js +0 -17
- package/dist/storybook/assets/Widget-CRTwFkFc.css +0 -1
- package/dist/storybook/assets/Widget.stories-CcjywoYR.js +0 -300
- package/dist/storybook/assets/formatter-OMEEQ6HG-DBJ97XaR.js +0 -1
- package/dist/storybook/assets/iframe-BdHEYpHD.css +0 -1
- package/dist/utils/EventEmitterMixin.d.ts.map +0 -1
- package/dist/utils/EventEmitterMixin.js.map +0 -1
|
@@ -0,0 +1,772 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/components/avatar/Avatar.ts",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "An avatar component for displaying user profile images with fallback support.\n\nAvatars display user profile images with automatic fallback to initials when\nthe image fails to load or is not provided.",
|
|
12
|
+
"name": "Avatar",
|
|
13
|
+
"cssProperties": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Custom size (overrides size prop)",
|
|
16
|
+
"name": "--avatar-size"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"description": "Fallback background color (default: purple-600)",
|
|
20
|
+
"name": "--avatar-bg-color"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"description": "How rounded is the avatar (default: circle)",
|
|
24
|
+
"name": "--avatar-corner-rounding"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "Optional ring border color",
|
|
28
|
+
"name": "--avatar-ring-color"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"description": "Ring border width (default: 2px)",
|
|
32
|
+
"name": "--avatar-ring-width"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"members": [
|
|
36
|
+
{
|
|
37
|
+
"kind": "field",
|
|
38
|
+
"name": "src",
|
|
39
|
+
"type": {
|
|
40
|
+
"text": "string"
|
|
41
|
+
},
|
|
42
|
+
"default": "''",
|
|
43
|
+
"description": "Image source URL",
|
|
44
|
+
"attribute": "src"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"kind": "field",
|
|
48
|
+
"name": "alt",
|
|
49
|
+
"type": {
|
|
50
|
+
"text": "string"
|
|
51
|
+
},
|
|
52
|
+
"default": "''",
|
|
53
|
+
"description": "Alt text for the image",
|
|
54
|
+
"attribute": "alt"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "field",
|
|
58
|
+
"name": "fallback",
|
|
59
|
+
"type": {
|
|
60
|
+
"text": "string"
|
|
61
|
+
},
|
|
62
|
+
"default": "''",
|
|
63
|
+
"description": "Fallback text (typically user initials)",
|
|
64
|
+
"attribute": "fallback"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"kind": "field",
|
|
68
|
+
"name": "size",
|
|
69
|
+
"type": {
|
|
70
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"
|
|
71
|
+
},
|
|
72
|
+
"default": "'md'",
|
|
73
|
+
"description": "Size variant.\n- 'xs': Extra small (1.5rem)\n- 'sm': Small (2.25rem)\n- 'md': Medium (2.5rem) - default\n- 'lg': Large (3rem)\n- 'xl': Extra large (3.5rem)\n- 'xxl': Extra extra large (4rem)",
|
|
74
|
+
"attribute": "size"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"events": [
|
|
78
|
+
{
|
|
79
|
+
"type": {
|
|
80
|
+
"text": "CustomEvent"
|
|
81
|
+
},
|
|
82
|
+
"description": "Fired after first render and initialization",
|
|
83
|
+
"name": "btu-avatar-ready"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": {
|
|
87
|
+
"text": "CustomEvent<{src: string}>"
|
|
88
|
+
},
|
|
89
|
+
"description": "Fired when image successfully loads",
|
|
90
|
+
"name": "btu-avatar-image-loaded"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": {
|
|
94
|
+
"text": "CustomEvent<{src: string, error: Event}>"
|
|
95
|
+
},
|
|
96
|
+
"description": "Fired when image fails to load",
|
|
97
|
+
"name": "btu-avatar-image-error"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"attributes": [
|
|
101
|
+
{
|
|
102
|
+
"name": "src",
|
|
103
|
+
"type": {
|
|
104
|
+
"text": "string"
|
|
105
|
+
},
|
|
106
|
+
"default": "''",
|
|
107
|
+
"description": "Image source URL",
|
|
108
|
+
"fieldName": "src",
|
|
109
|
+
"attribute": "src"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "alt",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "string"
|
|
115
|
+
},
|
|
116
|
+
"default": "''",
|
|
117
|
+
"description": "Alt text for the image",
|
|
118
|
+
"fieldName": "alt",
|
|
119
|
+
"attribute": "alt"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "fallback",
|
|
123
|
+
"type": {
|
|
124
|
+
"text": "string"
|
|
125
|
+
},
|
|
126
|
+
"default": "''",
|
|
127
|
+
"description": "Fallback text (typically user initials)",
|
|
128
|
+
"fieldName": "fallback",
|
|
129
|
+
"attribute": "fallback"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "size",
|
|
133
|
+
"type": {
|
|
134
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"
|
|
135
|
+
},
|
|
136
|
+
"default": "'md'",
|
|
137
|
+
"description": "Size variant.\n- 'xs': Extra small (1.5rem)\n- 'sm': Small (2.25rem)\n- 'md': Medium (2.5rem) - default\n- 'lg': Large (3rem)\n- 'xl': Extra large (3.5rem)\n- 'xxl': Extra extra large (4rem)",
|
|
138
|
+
"fieldName": "size",
|
|
139
|
+
"attribute": "size"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"mixins": [
|
|
143
|
+
{
|
|
144
|
+
"name": "EventEmitterMixin",
|
|
145
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "ReadyMixin",
|
|
149
|
+
"module": "/src/util/ReadyMixin.js"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"superclass": {
|
|
153
|
+
"name": "LitElement",
|
|
154
|
+
"package": "lit"
|
|
155
|
+
},
|
|
156
|
+
"tagName": "btu-avatar",
|
|
157
|
+
"customElement": true
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"exports": [
|
|
161
|
+
{
|
|
162
|
+
"kind": "js",
|
|
163
|
+
"name": "default",
|
|
164
|
+
"declaration": {
|
|
165
|
+
"name": "Avatar",
|
|
166
|
+
"module": "src/components/avatar/Avatar.ts"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"kind": "custom-element-definition",
|
|
171
|
+
"name": "btu-avatar",
|
|
172
|
+
"declaration": {
|
|
173
|
+
"name": "Avatar",
|
|
174
|
+
"module": "src/components/avatar/Avatar.ts"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"kind": "javascript-module",
|
|
181
|
+
"path": "src/components/avatar/AvatarGroup.ts",
|
|
182
|
+
"declarations": [
|
|
183
|
+
{
|
|
184
|
+
"kind": "class",
|
|
185
|
+
"description": "A container component for grouping multiple avatars with consistent styling.\n\nAvatarGroup wraps multiple avatar elements and provides:\n- Overflow handling (shows \"+N\" for excess avatars)\n- Consistent spacing and ring borders\n- Size inheritance for all child avatars",
|
|
186
|
+
"name": "AvatarGroup",
|
|
187
|
+
"members": [
|
|
188
|
+
{
|
|
189
|
+
"kind": "field",
|
|
190
|
+
"name": "max",
|
|
191
|
+
"type": {
|
|
192
|
+
"text": "number | undefined"
|
|
193
|
+
},
|
|
194
|
+
"description": "Maximum number of visible avatars. Remaining avatars shown as \"+N\"",
|
|
195
|
+
"attribute": "max"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "field",
|
|
199
|
+
"name": "size",
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "'xs' | 'sm' | 'md'"
|
|
202
|
+
},
|
|
203
|
+
"default": "'md'",
|
|
204
|
+
"description": "Size variant for all child avatars (unless individually overridden)",
|
|
205
|
+
"attribute": "size"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"kind": "method",
|
|
209
|
+
"name": "processAvatars",
|
|
210
|
+
"return": {
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "void"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"description": "Process all avatar children: apply size, handle overflow\nCall this method when avatars are dynamically added or removed"
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"events": [
|
|
219
|
+
{
|
|
220
|
+
"type": {
|
|
221
|
+
"text": "CustomEvent"
|
|
222
|
+
},
|
|
223
|
+
"description": "Fired after first render and initialization",
|
|
224
|
+
"name": "btu-avatar-group-ready"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": {
|
|
228
|
+
"text": "CustomEvent<{hidden: number}>"
|
|
229
|
+
},
|
|
230
|
+
"description": "Fired when avatars are hidden due to max limit",
|
|
231
|
+
"name": "btu-avatar-group-overflow"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"attributes": [
|
|
235
|
+
{
|
|
236
|
+
"name": "max",
|
|
237
|
+
"type": {
|
|
238
|
+
"text": "number | undefined"
|
|
239
|
+
},
|
|
240
|
+
"description": "Maximum number of visible avatars. Remaining avatars shown as \"+N\"",
|
|
241
|
+
"fieldName": "max",
|
|
242
|
+
"attribute": "max"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "size",
|
|
246
|
+
"type": {
|
|
247
|
+
"text": "'xs' | 'sm' | 'md'"
|
|
248
|
+
},
|
|
249
|
+
"default": "'md'",
|
|
250
|
+
"description": "Size variant for all child avatars (unless individually overridden)",
|
|
251
|
+
"fieldName": "size",
|
|
252
|
+
"attribute": "size"
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"mixins": [
|
|
256
|
+
{
|
|
257
|
+
"name": "EventEmitterMixin",
|
|
258
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "ReadyMixin",
|
|
262
|
+
"module": "/src/util/ReadyMixin.js"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"superclass": {
|
|
266
|
+
"name": "LitElement",
|
|
267
|
+
"package": "lit"
|
|
268
|
+
},
|
|
269
|
+
"tagName": "btu-avatar-group",
|
|
270
|
+
"customElement": true
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"exports": [
|
|
274
|
+
{
|
|
275
|
+
"kind": "js",
|
|
276
|
+
"name": "default",
|
|
277
|
+
"declaration": {
|
|
278
|
+
"name": "AvatarGroup",
|
|
279
|
+
"module": "src/components/avatar/AvatarGroup.ts"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"kind": "custom-element-definition",
|
|
284
|
+
"name": "btu-avatar-group",
|
|
285
|
+
"declaration": {
|
|
286
|
+
"name": "AvatarGroup",
|
|
287
|
+
"module": "src/components/avatar/AvatarGroup.ts"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "javascript-module",
|
|
294
|
+
"path": "src/components/badge/Badge.ts",
|
|
295
|
+
"declarations": [
|
|
296
|
+
{
|
|
297
|
+
"kind": "class",
|
|
298
|
+
"description": "A badge component for highlighting important information.\n\nBadges help highlight notifications, status, or new messages.\nPrimarily used for communicating secondary or additional information.",
|
|
299
|
+
"name": "Badge",
|
|
300
|
+
"cssProperties": [
|
|
301
|
+
{
|
|
302
|
+
"description": "Text color (overrides theme color)",
|
|
303
|
+
"name": "--badge-color-foreground"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"description": "Background color (overrides theme color)",
|
|
307
|
+
"name": "--badge-color-background"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"description": "Border radius size (overrides shape default, default: 999px)",
|
|
311
|
+
"name": "--badge-radius-size"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"description": "Horizontal padding (overrides size default)",
|
|
315
|
+
"name": "--badge-px"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"description": "Vertical padding (overrides size default)",
|
|
319
|
+
"name": "--badge-py"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"description": "Size of the dot affordance (default: 6px)",
|
|
323
|
+
"name": "--badge-dot-size"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"members": [
|
|
327
|
+
{
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "variant",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
|
|
332
|
+
},
|
|
333
|
+
"default": "'info'",
|
|
334
|
+
"description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
|
|
335
|
+
"attribute": "variant"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "field",
|
|
339
|
+
"name": "dot",
|
|
340
|
+
"type": {
|
|
341
|
+
"text": "boolean"
|
|
342
|
+
},
|
|
343
|
+
"default": "false",
|
|
344
|
+
"description": "Should a dot be displayed before the label?",
|
|
345
|
+
"attribute": "dot"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"kind": "field",
|
|
349
|
+
"name": "size",
|
|
350
|
+
"type": {
|
|
351
|
+
"text": "string"
|
|
352
|
+
},
|
|
353
|
+
"default": "'sm'",
|
|
354
|
+
"description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
|
|
355
|
+
"attribute": "size"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"events": [
|
|
359
|
+
{
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "CustomEvent"
|
|
362
|
+
},
|
|
363
|
+
"description": "Fired after first render and initialization",
|
|
364
|
+
"name": "btu-badge-ready"
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"attributes": [
|
|
368
|
+
{
|
|
369
|
+
"name": "variant",
|
|
370
|
+
"type": {
|
|
371
|
+
"text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
|
|
372
|
+
},
|
|
373
|
+
"default": "'info'",
|
|
374
|
+
"description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
|
|
375
|
+
"fieldName": "variant",
|
|
376
|
+
"attribute": "variant"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "dot",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "boolean"
|
|
382
|
+
},
|
|
383
|
+
"default": "false",
|
|
384
|
+
"description": "Should a dot be displayed before the label?",
|
|
385
|
+
"fieldName": "dot",
|
|
386
|
+
"attribute": "dot"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "size",
|
|
390
|
+
"type": {
|
|
391
|
+
"text": "string"
|
|
392
|
+
},
|
|
393
|
+
"default": "'sm'",
|
|
394
|
+
"description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
|
|
395
|
+
"fieldName": "size",
|
|
396
|
+
"attribute": "size"
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
"mixins": [
|
|
400
|
+
{
|
|
401
|
+
"name": "EventEmitterMixin",
|
|
402
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "ReadyMixin",
|
|
406
|
+
"module": "/src/util/ReadyMixin.js"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"superclass": {
|
|
410
|
+
"name": "LitElement",
|
|
411
|
+
"package": "lit"
|
|
412
|
+
},
|
|
413
|
+
"tagName": "btu-badge",
|
|
414
|
+
"customElement": true
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"exports": [
|
|
418
|
+
{
|
|
419
|
+
"kind": "js",
|
|
420
|
+
"name": "default",
|
|
421
|
+
"declaration": {
|
|
422
|
+
"name": "Badge",
|
|
423
|
+
"module": "src/components/badge/Badge.ts"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"kind": "custom-element-definition",
|
|
428
|
+
"name": "btu-badge",
|
|
429
|
+
"declaration": {
|
|
430
|
+
"name": "Badge",
|
|
431
|
+
"module": "src/components/badge/Badge.ts"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"kind": "javascript-module",
|
|
438
|
+
"path": "src/components/circular-progress/CircularProgress.ts",
|
|
439
|
+
"declarations": [
|
|
440
|
+
{
|
|
441
|
+
"kind": "class",
|
|
442
|
+
"description": "A circular progress indicator for showing loading states or progress.",
|
|
443
|
+
"name": "CircularProgress",
|
|
444
|
+
"cssProperties": [
|
|
445
|
+
{
|
|
446
|
+
"description": "Custom progress indicator color (overrides theme color)",
|
|
447
|
+
"name": "--progress-color"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"description": "Track/background color (overrides default gray-100)",
|
|
451
|
+
"name": "--track-color"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"description": "Custom size in pixels (overrides size preset)",
|
|
455
|
+
"name": "--progress-size"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"members": [
|
|
459
|
+
{
|
|
460
|
+
"kind": "field",
|
|
461
|
+
"name": "indeterminate",
|
|
462
|
+
"type": {
|
|
463
|
+
"text": "boolean"
|
|
464
|
+
},
|
|
465
|
+
"default": "true",
|
|
466
|
+
"description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
|
|
467
|
+
"attribute": "indeterminate"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"kind": "field",
|
|
471
|
+
"name": "size",
|
|
472
|
+
"type": {
|
|
473
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
474
|
+
},
|
|
475
|
+
"default": "'sm'",
|
|
476
|
+
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
477
|
+
"attribute": "size"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"events": [
|
|
481
|
+
{
|
|
482
|
+
"type": {
|
|
483
|
+
"text": "CustomEvent"
|
|
484
|
+
},
|
|
485
|
+
"description": "Fired after first render and initialization",
|
|
486
|
+
"name": "btu-progress-ready"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"type": {
|
|
490
|
+
"text": "CustomEvent"
|
|
491
|
+
},
|
|
492
|
+
"description": "Fired when determinate progress reaches 100",
|
|
493
|
+
"name": "btu-progress-complete"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"attributes": [
|
|
497
|
+
{
|
|
498
|
+
"name": "indeterminate",
|
|
499
|
+
"type": {
|
|
500
|
+
"text": "boolean"
|
|
501
|
+
},
|
|
502
|
+
"default": "true",
|
|
503
|
+
"description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
|
|
504
|
+
"fieldName": "indeterminate",
|
|
505
|
+
"attribute": "indeterminate"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "size",
|
|
509
|
+
"type": {
|
|
510
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
511
|
+
},
|
|
512
|
+
"default": "'sm'",
|
|
513
|
+
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
514
|
+
"fieldName": "size",
|
|
515
|
+
"attribute": "size"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"mixins": [
|
|
519
|
+
{
|
|
520
|
+
"name": "ProgressMixin",
|
|
521
|
+
"module": "/src/util/ProgressMixin.js"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "EventEmitterMixin",
|
|
525
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "ReadyMixin",
|
|
529
|
+
"module": "/src/util/ReadyMixin.js"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"superclass": {
|
|
533
|
+
"name": "LitElement",
|
|
534
|
+
"package": "lit"
|
|
535
|
+
},
|
|
536
|
+
"tagName": "btu-circular-progress",
|
|
537
|
+
"customElement": true
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
"exports": [
|
|
541
|
+
{
|
|
542
|
+
"kind": "js",
|
|
543
|
+
"name": "default",
|
|
544
|
+
"declaration": {
|
|
545
|
+
"name": "CircularProgress",
|
|
546
|
+
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"kind": "custom-element-definition",
|
|
551
|
+
"name": "btu-circular-progress",
|
|
552
|
+
"declaration": {
|
|
553
|
+
"name": "CircularProgress",
|
|
554
|
+
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
]
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "javascript-module",
|
|
561
|
+
"path": "src/components/icon/Icon.ts",
|
|
562
|
+
"declarations": [
|
|
563
|
+
{
|
|
564
|
+
"kind": "class",
|
|
565
|
+
"description": "An icon component for displaying Lucide icons.\n\nIcons inherit parent text color by default or can use gradient fills.\nAll icons are from the Lucide icon library (https://lucide.dev/icons/).\nSupports both direct SVG rendering and mask-based gradient fills.",
|
|
566
|
+
"name": "Icon",
|
|
567
|
+
"cssProperties": [
|
|
568
|
+
{
|
|
569
|
+
"description": "Icon size (overrides size default)",
|
|
570
|
+
"name": "--Icon-size"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"description": "Icon fill color for filled icons (e.g., \"currentColor\")",
|
|
574
|
+
"name": "--Icon-fill"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"description": "SVG data URI for mask-based rendering",
|
|
578
|
+
"name": "--Icon-svg"
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"members": [
|
|
582
|
+
{
|
|
583
|
+
"kind": "field",
|
|
584
|
+
"name": "tagName",
|
|
585
|
+
"static": true,
|
|
586
|
+
"readonly": true
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"kind": "field",
|
|
590
|
+
"name": "size",
|
|
591
|
+
"type": {
|
|
592
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
593
|
+
},
|
|
594
|
+
"default": "'md'",
|
|
595
|
+
"description": "Size of the icon.\n- 'xs': Extra small (0.75rem)\n- 'sm': Small (1rem)\n- 'md': Medium (1.25rem, default)\n- 'lg': Large (1.5rem)\n- 'xl': Extra large (1.75rem)",
|
|
596
|
+
"attribute": "size"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"kind": "field",
|
|
600
|
+
"name": "symbol",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "string"
|
|
603
|
+
},
|
|
604
|
+
"default": "'circle-dashed'",
|
|
605
|
+
"description": "Lucide icon name to display.\nSee https://lucide.dev/icons/ for available icons.",
|
|
606
|
+
"attribute": "symbol"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "field",
|
|
610
|
+
"name": "gradient",
|
|
611
|
+
"type": {
|
|
612
|
+
"text": "'ai' | 'error' | 'gray' | 'primary' | 'purple' | 'rose' | 'success' | 'teal' | 'warning' | undefined"
|
|
613
|
+
},
|
|
614
|
+
"description": "Theme color to use for gradient fill.\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.",
|
|
615
|
+
"attribute": "gradient"
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"events": [
|
|
619
|
+
{
|
|
620
|
+
"type": {
|
|
621
|
+
"text": "CustomEvent"
|
|
622
|
+
},
|
|
623
|
+
"description": "Fired after first render and initialization",
|
|
624
|
+
"name": "btu-icon-ready"
|
|
625
|
+
}
|
|
626
|
+
],
|
|
627
|
+
"attributes": [
|
|
628
|
+
{
|
|
629
|
+
"name": "size",
|
|
630
|
+
"type": {
|
|
631
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
632
|
+
},
|
|
633
|
+
"default": "'md'",
|
|
634
|
+
"description": "Size of the icon.\n- 'xs': Extra small (0.75rem)\n- 'sm': Small (1rem)\n- 'md': Medium (1.25rem, default)\n- 'lg': Large (1.5rem)\n- 'xl': Extra large (1.75rem)",
|
|
635
|
+
"fieldName": "size",
|
|
636
|
+
"attribute": "size"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "symbol",
|
|
640
|
+
"type": {
|
|
641
|
+
"text": "string"
|
|
642
|
+
},
|
|
643
|
+
"default": "'circle-dashed'",
|
|
644
|
+
"description": "Lucide icon name to display.\nSee https://lucide.dev/icons/ for available icons.",
|
|
645
|
+
"fieldName": "symbol",
|
|
646
|
+
"attribute": "symbol"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "gradient",
|
|
650
|
+
"type": {
|
|
651
|
+
"text": "'ai' | 'error' | 'gray' | 'primary' | 'purple' | 'rose' | 'success' | 'teal' | 'warning' | undefined"
|
|
652
|
+
},
|
|
653
|
+
"description": "Theme color to use for gradient fill.\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.",
|
|
654
|
+
"fieldName": "gradient",
|
|
655
|
+
"attribute": "gradient"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"mixins": [
|
|
659
|
+
{
|
|
660
|
+
"name": "EventEmitterMixin",
|
|
661
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "ReadyMixin",
|
|
665
|
+
"module": "/src/util/ReadyMixin.js"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"superclass": {
|
|
669
|
+
"name": "LitElement",
|
|
670
|
+
"package": "lit"
|
|
671
|
+
},
|
|
672
|
+
"tagName": "btu-icon",
|
|
673
|
+
"customElement": true
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"exports": [
|
|
677
|
+
{
|
|
678
|
+
"kind": "js",
|
|
679
|
+
"name": "default",
|
|
680
|
+
"declaration": {
|
|
681
|
+
"name": "Icon",
|
|
682
|
+
"module": "src/components/icon/Icon.ts"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"kind": "custom-element-definition",
|
|
687
|
+
"name": "btu-icon",
|
|
688
|
+
"declaration": {
|
|
689
|
+
"name": "Icon",
|
|
690
|
+
"module": "src/components/icon/Icon.ts"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"kind": "javascript-module",
|
|
697
|
+
"path": "src/components/linear-progress/LinearProgress.ts",
|
|
698
|
+
"declarations": [
|
|
699
|
+
{
|
|
700
|
+
"kind": "class",
|
|
701
|
+
"description": "A horizontal linear progress bar for showing task completion.",
|
|
702
|
+
"name": "LinearProgress",
|
|
703
|
+
"cssProperties": [
|
|
704
|
+
{
|
|
705
|
+
"description": "Custom progress bar color (overrides theme color)",
|
|
706
|
+
"name": "--progress-color"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"description": "Track/background color (overrides default gray-100)",
|
|
710
|
+
"name": "--track-color"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"members": [],
|
|
714
|
+
"events": [
|
|
715
|
+
{
|
|
716
|
+
"type": {
|
|
717
|
+
"text": "CustomEvent"
|
|
718
|
+
},
|
|
719
|
+
"description": "Fired after first render and initialization",
|
|
720
|
+
"name": "btu-progress-ready"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"type": {
|
|
724
|
+
"text": "CustomEvent"
|
|
725
|
+
},
|
|
726
|
+
"description": "Fired when progress reaches 100",
|
|
727
|
+
"name": "btu-progress-complete"
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"mixins": [
|
|
731
|
+
{
|
|
732
|
+
"name": "ProgressMixin",
|
|
733
|
+
"module": "/src/util/ProgressMixin.js"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "EventEmitterMixin",
|
|
737
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "ReadyMixin",
|
|
741
|
+
"module": "/src/util/ReadyMixin.js"
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"superclass": {
|
|
745
|
+
"name": "LitElement",
|
|
746
|
+
"package": "lit"
|
|
747
|
+
},
|
|
748
|
+
"tagName": "btu-linear-progress",
|
|
749
|
+
"customElement": true
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"exports": [
|
|
753
|
+
{
|
|
754
|
+
"kind": "js",
|
|
755
|
+
"name": "default",
|
|
756
|
+
"declaration": {
|
|
757
|
+
"name": "LinearProgress",
|
|
758
|
+
"module": "src/components/linear-progress/LinearProgress.ts"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"kind": "custom-element-definition",
|
|
763
|
+
"name": "btu-linear-progress",
|
|
764
|
+
"declaration": {
|
|
765
|
+
"name": "LinearProgress",
|
|
766
|
+
"module": "src/components/linear-progress/LinearProgress.ts"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
}
|