reke-ui 0.4.1 → 0.4.2
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/custom-elements.json +105 -105
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -4,48 +4,48 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "src/components/reke-
|
|
7
|
+
"path": "src/components/reke-alert/reke-alert.ts",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "RekeAlert",
|
|
13
13
|
"cssProperties": [
|
|
14
14
|
{
|
|
15
|
-
"description": "
|
|
16
|
-
"name": "--reke-color-
|
|
17
|
-
"default": "#
|
|
15
|
+
"description": "Success variant color.",
|
|
16
|
+
"name": "--reke-color-primary",
|
|
17
|
+
"default": "#22C55E"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
"description": "
|
|
21
|
-
"name": "--reke-color-
|
|
22
|
-
"default": "#
|
|
20
|
+
"description": "Error variant color.",
|
|
21
|
+
"name": "--reke-color-danger",
|
|
22
|
+
"default": "#EF4444"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"description": "
|
|
26
|
-
"name": "--reke-color-
|
|
27
|
-
"default": "#
|
|
25
|
+
"description": "Warning variant color.",
|
|
26
|
+
"name": "--reke-color-warning",
|
|
27
|
+
"default": "#F59E0B"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
"description": "
|
|
31
|
-
"name": "--reke-color-
|
|
32
|
-
"default": "#
|
|
30
|
+
"description": "Info variant color.",
|
|
31
|
+
"name": "--reke-color-secondary",
|
|
32
|
+
"default": "#3B82F6"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"description": "
|
|
36
|
-
"name": "--reke-
|
|
37
|
-
"default": "
|
|
35
|
+
"description": "Alert border radius.",
|
|
36
|
+
"name": "--reke-radius",
|
|
37
|
+
"default": "4px"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
40
|
"cssParts": [
|
|
41
41
|
{
|
|
42
|
-
"description": "The
|
|
43
|
-
"name": "
|
|
42
|
+
"description": "The outer alert container.",
|
|
43
|
+
"name": "alert"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"slots": [
|
|
47
47
|
{
|
|
48
|
-
"description": "Default slot for
|
|
48
|
+
"description": "Default slot for alert content (icon + text, or just text).",
|
|
49
49
|
"name": ""
|
|
50
50
|
}
|
|
51
51
|
],
|
|
@@ -54,131 +54,124 @@
|
|
|
54
54
|
"kind": "field",
|
|
55
55
|
"name": "variant",
|
|
56
56
|
"type": {
|
|
57
|
-
"text": "
|
|
57
|
+
"text": "AlertVariant"
|
|
58
58
|
},
|
|
59
|
-
"default": "'
|
|
59
|
+
"default": "'info'",
|
|
60
60
|
"attribute": "variant",
|
|
61
61
|
"reflects": true
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"kind": "field",
|
|
65
|
-
"name": "
|
|
65
|
+
"name": "dismissible",
|
|
66
66
|
"type": {
|
|
67
|
-
"text": "
|
|
67
|
+
"text": "boolean"
|
|
68
68
|
},
|
|
69
|
-
"default": "
|
|
70
|
-
"attribute": "
|
|
69
|
+
"default": "false",
|
|
70
|
+
"attribute": "dismissible",
|
|
71
71
|
"reflects": true
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
"kind": "
|
|
75
|
-
"name": "
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
74
|
+
"kind": "method",
|
|
75
|
+
"name": "handleClose",
|
|
76
|
+
"privacy": "private"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"events": [
|
|
80
|
+
{
|
|
81
|
+
"description": "Fired when the alert is dismissed (only when dismissible).",
|
|
82
|
+
"name": "reke-close"
|
|
82
83
|
}
|
|
83
84
|
],
|
|
84
85
|
"attributes": [
|
|
85
86
|
{
|
|
86
87
|
"name": "variant",
|
|
87
88
|
"type": {
|
|
88
|
-
"text": "
|
|
89
|
+
"text": "AlertVariant"
|
|
89
90
|
},
|
|
90
|
-
"default": "'
|
|
91
|
+
"default": "'info'",
|
|
91
92
|
"fieldName": "variant"
|
|
92
93
|
},
|
|
93
94
|
{
|
|
94
|
-
"name": "
|
|
95
|
-
"type": {
|
|
96
|
-
"text": "BadgeSize"
|
|
97
|
-
},
|
|
98
|
-
"default": "'md'",
|
|
99
|
-
"fieldName": "size"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "shape",
|
|
95
|
+
"name": "dismissible",
|
|
103
96
|
"type": {
|
|
104
|
-
"text": "
|
|
97
|
+
"text": "boolean"
|
|
105
98
|
},
|
|
106
|
-
"default": "
|
|
107
|
-
"fieldName": "
|
|
99
|
+
"default": "false",
|
|
100
|
+
"fieldName": "dismissible"
|
|
108
101
|
}
|
|
109
102
|
],
|
|
110
103
|
"superclass": {
|
|
111
104
|
"name": "RekeElement",
|
|
112
105
|
"module": "/src/shared/base-element.js"
|
|
113
106
|
},
|
|
114
|
-
"tagName": "reke-
|
|
107
|
+
"tagName": "reke-alert",
|
|
115
108
|
"customElement": true,
|
|
116
|
-
"summary": "
|
|
109
|
+
"summary": "An inline alert with color variants. Content via default slot."
|
|
117
110
|
}
|
|
118
111
|
],
|
|
119
112
|
"exports": [
|
|
120
113
|
{
|
|
121
114
|
"kind": "js",
|
|
122
|
-
"name": "
|
|
115
|
+
"name": "RekeAlert",
|
|
123
116
|
"declaration": {
|
|
124
|
-
"name": "
|
|
125
|
-
"module": "src/components/reke-
|
|
117
|
+
"name": "RekeAlert",
|
|
118
|
+
"module": "src/components/reke-alert/reke-alert.ts"
|
|
126
119
|
}
|
|
127
120
|
},
|
|
128
121
|
{
|
|
129
122
|
"kind": "custom-element-definition",
|
|
130
|
-
"name": "reke-
|
|
123
|
+
"name": "reke-alert",
|
|
131
124
|
"declaration": {
|
|
132
|
-
"name": "
|
|
133
|
-
"module": "src/components/reke-
|
|
125
|
+
"name": "RekeAlert",
|
|
126
|
+
"module": "src/components/reke-alert/reke-alert.ts"
|
|
134
127
|
}
|
|
135
128
|
}
|
|
136
129
|
]
|
|
137
130
|
},
|
|
138
131
|
{
|
|
139
132
|
"kind": "javascript-module",
|
|
140
|
-
"path": "src/components/reke-
|
|
133
|
+
"path": "src/components/reke-badge/reke-badge.ts",
|
|
141
134
|
"declarations": [
|
|
142
135
|
{
|
|
143
136
|
"kind": "class",
|
|
144
137
|
"description": "",
|
|
145
|
-
"name": "
|
|
138
|
+
"name": "RekeBadge",
|
|
146
139
|
"cssProperties": [
|
|
147
140
|
{
|
|
148
|
-
"description": "
|
|
149
|
-
"name": "--reke-color-
|
|
150
|
-
"default": "#
|
|
141
|
+
"description": "Default variant background color.",
|
|
142
|
+
"name": "--reke-color-surface",
|
|
143
|
+
"default": "#1A1A1A"
|
|
151
144
|
},
|
|
152
145
|
{
|
|
153
|
-
"description": "
|
|
154
|
-
"name": "--reke-color-
|
|
155
|
-
"default": "#
|
|
146
|
+
"description": "Default variant text color.",
|
|
147
|
+
"name": "--reke-color-text",
|
|
148
|
+
"default": "#E5E5E5"
|
|
156
149
|
},
|
|
157
150
|
{
|
|
158
|
-
"description": "
|
|
159
|
-
"name": "--reke-color-
|
|
160
|
-
"default": "#
|
|
151
|
+
"description": "Default variant border color.",
|
|
152
|
+
"name": "--reke-color-border",
|
|
153
|
+
"default": "#252525"
|
|
161
154
|
},
|
|
162
155
|
{
|
|
163
|
-
"description": "
|
|
164
|
-
"name": "--reke-color-
|
|
165
|
-
"default": "#
|
|
156
|
+
"description": "Primary/success variant accent color.",
|
|
157
|
+
"name": "--reke-color-primary",
|
|
158
|
+
"default": "#22C55E"
|
|
166
159
|
},
|
|
167
160
|
{
|
|
168
|
-
"description": "
|
|
169
|
-
"name": "--reke-
|
|
170
|
-
"default": "
|
|
161
|
+
"description": "Danger variant accent color.",
|
|
162
|
+
"name": "--reke-color-danger",
|
|
163
|
+
"default": "#EF4444"
|
|
171
164
|
}
|
|
172
165
|
],
|
|
173
166
|
"cssParts": [
|
|
174
167
|
{
|
|
175
|
-
"description": "The
|
|
176
|
-
"name": "
|
|
168
|
+
"description": "The inner badge element.",
|
|
169
|
+
"name": "badge"
|
|
177
170
|
}
|
|
178
171
|
],
|
|
179
172
|
"slots": [
|
|
180
173
|
{
|
|
181
|
-
"description": "Default slot for
|
|
174
|
+
"description": "Default slot for badge text.",
|
|
182
175
|
"name": ""
|
|
183
176
|
}
|
|
184
177
|
],
|
|
@@ -187,76 +180,83 @@
|
|
|
187
180
|
"kind": "field",
|
|
188
181
|
"name": "variant",
|
|
189
182
|
"type": {
|
|
190
|
-
"text": "
|
|
183
|
+
"text": "BadgeVariant"
|
|
191
184
|
},
|
|
192
|
-
"default": "'
|
|
185
|
+
"default": "'default'",
|
|
193
186
|
"attribute": "variant",
|
|
194
187
|
"reflects": true
|
|
195
188
|
},
|
|
196
189
|
{
|
|
197
190
|
"kind": "field",
|
|
198
|
-
"name": "
|
|
191
|
+
"name": "size",
|
|
199
192
|
"type": {
|
|
200
|
-
"text": "
|
|
193
|
+
"text": "BadgeSize"
|
|
201
194
|
},
|
|
202
|
-
"default": "
|
|
203
|
-
"attribute": "
|
|
195
|
+
"default": "'md'",
|
|
196
|
+
"attribute": "size",
|
|
204
197
|
"reflects": true
|
|
205
198
|
},
|
|
206
199
|
{
|
|
207
|
-
"kind": "
|
|
208
|
-
"name": "
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
"
|
|
215
|
-
"name": "reke-close"
|
|
200
|
+
"kind": "field",
|
|
201
|
+
"name": "shape",
|
|
202
|
+
"type": {
|
|
203
|
+
"text": "BadgeShape"
|
|
204
|
+
},
|
|
205
|
+
"default": "'pill'",
|
|
206
|
+
"attribute": "shape",
|
|
207
|
+
"reflects": true
|
|
216
208
|
}
|
|
217
209
|
],
|
|
218
210
|
"attributes": [
|
|
219
211
|
{
|
|
220
212
|
"name": "variant",
|
|
221
213
|
"type": {
|
|
222
|
-
"text": "
|
|
214
|
+
"text": "BadgeVariant"
|
|
223
215
|
},
|
|
224
|
-
"default": "'
|
|
216
|
+
"default": "'default'",
|
|
225
217
|
"fieldName": "variant"
|
|
226
218
|
},
|
|
227
219
|
{
|
|
228
|
-
"name": "
|
|
220
|
+
"name": "size",
|
|
229
221
|
"type": {
|
|
230
|
-
"text": "
|
|
222
|
+
"text": "BadgeSize"
|
|
231
223
|
},
|
|
232
|
-
"default": "
|
|
233
|
-
"fieldName": "
|
|
224
|
+
"default": "'md'",
|
|
225
|
+
"fieldName": "size"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "shape",
|
|
229
|
+
"type": {
|
|
230
|
+
"text": "BadgeShape"
|
|
231
|
+
},
|
|
232
|
+
"default": "'pill'",
|
|
233
|
+
"fieldName": "shape"
|
|
234
234
|
}
|
|
235
235
|
],
|
|
236
236
|
"superclass": {
|
|
237
237
|
"name": "RekeElement",
|
|
238
238
|
"module": "/src/shared/base-element.js"
|
|
239
239
|
},
|
|
240
|
-
"tagName": "reke-
|
|
240
|
+
"tagName": "reke-badge",
|
|
241
241
|
"customElement": true,
|
|
242
|
-
"summary": "
|
|
242
|
+
"summary": "A badge component for displaying labels, statuses, and counts."
|
|
243
243
|
}
|
|
244
244
|
],
|
|
245
245
|
"exports": [
|
|
246
246
|
{
|
|
247
247
|
"kind": "js",
|
|
248
|
-
"name": "
|
|
248
|
+
"name": "RekeBadge",
|
|
249
249
|
"declaration": {
|
|
250
|
-
"name": "
|
|
251
|
-
"module": "src/components/reke-
|
|
250
|
+
"name": "RekeBadge",
|
|
251
|
+
"module": "src/components/reke-badge/reke-badge.ts"
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
"kind": "custom-element-definition",
|
|
256
|
-
"name": "reke-
|
|
256
|
+
"name": "reke-badge",
|
|
257
257
|
"declaration": {
|
|
258
|
-
"name": "
|
|
259
|
-
"module": "src/components/reke-
|
|
258
|
+
"name": "RekeBadge",
|
|
259
|
+
"module": "src/components/reke-badge/reke-badge.ts"
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
]
|