reke-ui 0.4.2 → 0.4.3

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.
@@ -4,48 +4,48 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "src/components/reke-alert/reke-alert.ts",
7
+ "path": "src/components/reke-badge/reke-badge.ts",
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
11
  "description": "",
12
- "name": "RekeAlert",
12
+ "name": "RekeBadge",
13
13
  "cssProperties": [
14
14
  {
15
- "description": "Success variant color.",
16
- "name": "--reke-color-primary",
17
- "default": "#22C55E"
15
+ "description": "Default variant background color.",
16
+ "name": "--reke-color-surface",
17
+ "default": "#1A1A1A"
18
18
  },
19
19
  {
20
- "description": "Error variant color.",
21
- "name": "--reke-color-danger",
22
- "default": "#EF4444"
20
+ "description": "Default variant text color.",
21
+ "name": "--reke-color-text",
22
+ "default": "#E5E5E5"
23
23
  },
24
24
  {
25
- "description": "Warning variant color.",
26
- "name": "--reke-color-warning",
27
- "default": "#F59E0B"
25
+ "description": "Default variant border color.",
26
+ "name": "--reke-color-border",
27
+ "default": "#252525"
28
28
  },
29
29
  {
30
- "description": "Info variant color.",
31
- "name": "--reke-color-secondary",
32
- "default": "#3B82F6"
30
+ "description": "Primary/success variant accent color.",
31
+ "name": "--reke-color-primary",
32
+ "default": "#22C55E"
33
33
  },
34
34
  {
35
- "description": "Alert border radius.",
36
- "name": "--reke-radius",
37
- "default": "4px"
35
+ "description": "Danger variant accent color.",
36
+ "name": "--reke-color-danger",
37
+ "default": "#EF4444"
38
38
  }
39
39
  ],
40
40
  "cssParts": [
41
41
  {
42
- "description": "The outer alert container.",
43
- "name": "alert"
42
+ "description": "The inner badge element.",
43
+ "name": "badge"
44
44
  }
45
45
  ],
46
46
  "slots": [
47
47
  {
48
- "description": "Default slot for alert content (icon + text, or just text).",
48
+ "description": "Default slot for badge text.",
49
49
  "name": ""
50
50
  }
51
51
  ],
@@ -54,124 +54,131 @@
54
54
  "kind": "field",
55
55
  "name": "variant",
56
56
  "type": {
57
- "text": "AlertVariant"
57
+ "text": "BadgeVariant"
58
58
  },
59
- "default": "'info'",
59
+ "default": "'default'",
60
60
  "attribute": "variant",
61
61
  "reflects": true
62
62
  },
63
63
  {
64
64
  "kind": "field",
65
- "name": "dismissible",
65
+ "name": "size",
66
66
  "type": {
67
- "text": "boolean"
67
+ "text": "BadgeSize"
68
68
  },
69
- "default": "false",
70
- "attribute": "dismissible",
69
+ "default": "'md'",
70
+ "attribute": "size",
71
71
  "reflects": true
72
72
  },
73
73
  {
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"
74
+ "kind": "field",
75
+ "name": "shape",
76
+ "type": {
77
+ "text": "BadgeShape"
78
+ },
79
+ "default": "'pill'",
80
+ "attribute": "shape",
81
+ "reflects": true
83
82
  }
84
83
  ],
85
84
  "attributes": [
86
85
  {
87
86
  "name": "variant",
88
87
  "type": {
89
- "text": "AlertVariant"
88
+ "text": "BadgeVariant"
90
89
  },
91
- "default": "'info'",
90
+ "default": "'default'",
92
91
  "fieldName": "variant"
93
92
  },
94
93
  {
95
- "name": "dismissible",
94
+ "name": "size",
96
95
  "type": {
97
- "text": "boolean"
96
+ "text": "BadgeSize"
98
97
  },
99
- "default": "false",
100
- "fieldName": "dismissible"
98
+ "default": "'md'",
99
+ "fieldName": "size"
100
+ },
101
+ {
102
+ "name": "shape",
103
+ "type": {
104
+ "text": "BadgeShape"
105
+ },
106
+ "default": "'pill'",
107
+ "fieldName": "shape"
101
108
  }
102
109
  ],
103
110
  "superclass": {
104
111
  "name": "RekeElement",
105
112
  "module": "/src/shared/base-element.js"
106
113
  },
107
- "tagName": "reke-alert",
114
+ "tagName": "reke-badge",
108
115
  "customElement": true,
109
- "summary": "An inline alert with color variants. Content via default slot."
116
+ "summary": "A badge component for displaying labels, statuses, and counts."
110
117
  }
111
118
  ],
112
119
  "exports": [
113
120
  {
114
121
  "kind": "js",
115
- "name": "RekeAlert",
122
+ "name": "RekeBadge",
116
123
  "declaration": {
117
- "name": "RekeAlert",
118
- "module": "src/components/reke-alert/reke-alert.ts"
124
+ "name": "RekeBadge",
125
+ "module": "src/components/reke-badge/reke-badge.ts"
119
126
  }
120
127
  },
121
128
  {
122
129
  "kind": "custom-element-definition",
123
- "name": "reke-alert",
130
+ "name": "reke-badge",
124
131
  "declaration": {
125
- "name": "RekeAlert",
126
- "module": "src/components/reke-alert/reke-alert.ts"
132
+ "name": "RekeBadge",
133
+ "module": "src/components/reke-badge/reke-badge.ts"
127
134
  }
128
135
  }
129
136
  ]
130
137
  },
131
138
  {
132
139
  "kind": "javascript-module",
133
- "path": "src/components/reke-badge/reke-badge.ts",
140
+ "path": "src/components/reke-alert/reke-alert.ts",
134
141
  "declarations": [
135
142
  {
136
143
  "kind": "class",
137
144
  "description": "",
138
- "name": "RekeBadge",
145
+ "name": "RekeAlert",
139
146
  "cssProperties": [
140
147
  {
141
- "description": "Default variant background color.",
142
- "name": "--reke-color-surface",
143
- "default": "#1A1A1A"
148
+ "description": "Success variant color.",
149
+ "name": "--reke-color-primary",
150
+ "default": "#22C55E"
144
151
  },
145
152
  {
146
- "description": "Default variant text color.",
147
- "name": "--reke-color-text",
148
- "default": "#E5E5E5"
153
+ "description": "Error variant color.",
154
+ "name": "--reke-color-danger",
155
+ "default": "#EF4444"
149
156
  },
150
157
  {
151
- "description": "Default variant border color.",
152
- "name": "--reke-color-border",
153
- "default": "#252525"
158
+ "description": "Warning variant color.",
159
+ "name": "--reke-color-warning",
160
+ "default": "#F59E0B"
154
161
  },
155
162
  {
156
- "description": "Primary/success variant accent color.",
157
- "name": "--reke-color-primary",
158
- "default": "#22C55E"
163
+ "description": "Info variant color.",
164
+ "name": "--reke-color-secondary",
165
+ "default": "#3B82F6"
159
166
  },
160
167
  {
161
- "description": "Danger variant accent color.",
162
- "name": "--reke-color-danger",
163
- "default": "#EF4444"
168
+ "description": "Alert border radius.",
169
+ "name": "--reke-radius",
170
+ "default": "4px"
164
171
  }
165
172
  ],
166
173
  "cssParts": [
167
174
  {
168
- "description": "The inner badge element.",
169
- "name": "badge"
175
+ "description": "The outer alert container.",
176
+ "name": "alert"
170
177
  }
171
178
  ],
172
179
  "slots": [
173
180
  {
174
- "description": "Default slot for badge text.",
181
+ "description": "Default slot for alert content (icon + text, or just text).",
175
182
  "name": ""
176
183
  }
177
184
  ],
@@ -180,83 +187,76 @@
180
187
  "kind": "field",
181
188
  "name": "variant",
182
189
  "type": {
183
- "text": "BadgeVariant"
190
+ "text": "AlertVariant"
184
191
  },
185
- "default": "'default'",
192
+ "default": "'info'",
186
193
  "attribute": "variant",
187
194
  "reflects": true
188
195
  },
189
196
  {
190
197
  "kind": "field",
191
- "name": "size",
198
+ "name": "dismissible",
192
199
  "type": {
193
- "text": "BadgeSize"
200
+ "text": "boolean"
194
201
  },
195
- "default": "'md'",
196
- "attribute": "size",
202
+ "default": "false",
203
+ "attribute": "dismissible",
197
204
  "reflects": true
198
205
  },
199
206
  {
200
- "kind": "field",
201
- "name": "shape",
202
- "type": {
203
- "text": "BadgeShape"
204
- },
205
- "default": "'pill'",
206
- "attribute": "shape",
207
- "reflects": true
207
+ "kind": "method",
208
+ "name": "handleClose",
209
+ "privacy": "private"
210
+ }
211
+ ],
212
+ "events": [
213
+ {
214
+ "description": "Fired when the alert is dismissed (only when dismissible).",
215
+ "name": "reke-close"
208
216
  }
209
217
  ],
210
218
  "attributes": [
211
219
  {
212
220
  "name": "variant",
213
221
  "type": {
214
- "text": "BadgeVariant"
222
+ "text": "AlertVariant"
215
223
  },
216
- "default": "'default'",
224
+ "default": "'info'",
217
225
  "fieldName": "variant"
218
226
  },
219
227
  {
220
- "name": "size",
221
- "type": {
222
- "text": "BadgeSize"
223
- },
224
- "default": "'md'",
225
- "fieldName": "size"
226
- },
227
- {
228
- "name": "shape",
228
+ "name": "dismissible",
229
229
  "type": {
230
- "text": "BadgeShape"
230
+ "text": "boolean"
231
231
  },
232
- "default": "'pill'",
233
- "fieldName": "shape"
232
+ "default": "false",
233
+ "fieldName": "dismissible"
234
234
  }
235
235
  ],
236
236
  "superclass": {
237
237
  "name": "RekeElement",
238
238
  "module": "/src/shared/base-element.js"
239
239
  },
240
- "tagName": "reke-badge",
240
+ "tagName": "reke-alert",
241
241
  "customElement": true,
242
- "summary": "A badge component for displaying labels, statuses, and counts."
242
+ "summary": "An inline alert with color variants. Content via default slot."
243
243
  }
244
244
  ],
245
245
  "exports": [
246
246
  {
247
247
  "kind": "js",
248
- "name": "RekeBadge",
248
+ "name": "RekeAlert",
249
249
  "declaration": {
250
- "name": "RekeBadge",
251
- "module": "src/components/reke-badge/reke-badge.ts"
250
+ "name": "RekeAlert",
251
+ "module": "src/components/reke-alert/reke-alert.ts"
252
252
  }
253
253
  },
254
254
  {
255
255
  "kind": "custom-element-definition",
256
- "name": "reke-badge",
256
+ "name": "reke-alert",
257
257
  "declaration": {
258
- "name": "RekeBadge",
259
- "module": "src/components/reke-badge/reke-badge.ts"
258
+ "name": "RekeAlert",
259
+ "module": "src/components/reke-alert/reke-alert.ts"
260
260
  }
261
261
  }
262
262
  ]
@@ -3494,6 +3494,178 @@
3494
3494
  }
3495
3495
  ]
3496
3496
  },
3497
+ {
3498
+ "kind": "javascript-module",
3499
+ "path": "src/components/reke-progress/reke-progress.ts",
3500
+ "declarations": [
3501
+ {
3502
+ "kind": "class",
3503
+ "description": "",
3504
+ "name": "RekeProgress",
3505
+ "cssProperties": [
3506
+ {
3507
+ "description": "Height of the bar.",
3508
+ "name": "--reke-progress-height",
3509
+ "default": "4px"
3510
+ },
3511
+ {
3512
+ "description": "Border radius of the track and segments.",
3513
+ "name": "--reke-progress-radius",
3514
+ "default": "9999px"
3515
+ },
3516
+ {
3517
+ "description": "Background color of the empty track.",
3518
+ "name": "--reke-progress-track-color",
3519
+ "default": "#2A2A2A"
3520
+ },
3521
+ {
3522
+ "description": "Default fill color when `color` is not set.",
3523
+ "name": "--reke-progress-color",
3524
+ "default": "#22C55E"
3525
+ }
3526
+ ],
3527
+ "cssParts": [
3528
+ {
3529
+ "description": "The outer track element carrying the progressbar role.",
3530
+ "name": "track"
3531
+ },
3532
+ {
3533
+ "description": "Each filled segment inside the track.",
3534
+ "name": "segment"
3535
+ }
3536
+ ],
3537
+ "members": [
3538
+ {
3539
+ "kind": "field",
3540
+ "name": "value",
3541
+ "type": {
3542
+ "text": "number"
3543
+ },
3544
+ "default": "0",
3545
+ "description": "Fill percentage used in single-bar mode. Normalized to 0-100 on update, so\nthe property and its reflected attribute always match what is rendered.\nNon-finite input becomes 0.",
3546
+ "attribute": "value",
3547
+ "reflects": true
3548
+ },
3549
+ {
3550
+ "kind": "field",
3551
+ "name": "color",
3552
+ "type": {
3553
+ "text": "string"
3554
+ },
3555
+ "default": "''",
3556
+ "description": "Fill color for single-bar and indeterminate modes. Empty means the token default.",
3557
+ "attribute": "color",
3558
+ "reflects": true
3559
+ },
3560
+ {
3561
+ "kind": "field",
3562
+ "name": "segments",
3563
+ "type": {
3564
+ "text": "RekeProgressSegment[]"
3565
+ },
3566
+ "default": "[]",
3567
+ "description": "Multi-segment mode. Max 3 segments; each value is that segment's width in percent.\nA NON-EMPTY array takes precedence over `value`; an empty array renders the\nsingle-value bar."
3568
+ },
3569
+ {
3570
+ "kind": "field",
3571
+ "name": "indeterminate",
3572
+ "type": {
3573
+ "text": "boolean"
3574
+ },
3575
+ "default": "false",
3576
+ "description": "Animated loading bar. Ignores `value` and `segments`.",
3577
+ "attribute": "indeterminate",
3578
+ "reflects": true
3579
+ },
3580
+ {
3581
+ "kind": "field",
3582
+ "name": "hostLabel",
3583
+ "type": {
3584
+ "text": "string | null"
3585
+ },
3586
+ "privacy": "private",
3587
+ "default": "null",
3588
+ "description": "Mirror of the host `aria-label` attribute, forwarded to the inner progressbar.\nDeclared as a reactive property (not a public API prop) so Lit observes the\nattribute and re-renders when it changes. The name differs from the native\n`ariaLabel` DOM property to avoid fighting native ARIA reflection.",
3589
+ "attribute": "aria-label"
3590
+ },
3591
+ {
3592
+ "kind": "method",
3593
+ "name": "resolveSegments",
3594
+ "privacy": "private",
3595
+ "return": {
3596
+ "type": {
3597
+ "text": "{ list: RekeProgressSegment[]; total: number }"
3598
+ }
3599
+ },
3600
+ "description": "Visible segments with accumulated width clamped at 100%."
3601
+ }
3602
+ ],
3603
+ "attributes": [
3604
+ {
3605
+ "name": "value",
3606
+ "type": {
3607
+ "text": "number"
3608
+ },
3609
+ "default": "0",
3610
+ "description": "Fill percentage used in single-bar mode. Normalized to 0-100 on update, so\nthe property and its reflected attribute always match what is rendered.\nNon-finite input becomes 0.",
3611
+ "fieldName": "value"
3612
+ },
3613
+ {
3614
+ "name": "color",
3615
+ "type": {
3616
+ "text": "string"
3617
+ },
3618
+ "default": "''",
3619
+ "description": "Fill color for single-bar and indeterminate modes. Empty means the token default.",
3620
+ "fieldName": "color"
3621
+ },
3622
+ {
3623
+ "name": "indeterminate",
3624
+ "type": {
3625
+ "text": "boolean"
3626
+ },
3627
+ "default": "false",
3628
+ "description": "Animated loading bar. Ignores `value` and `segments`.",
3629
+ "fieldName": "indeterminate"
3630
+ },
3631
+ {
3632
+ "name": "aria-label",
3633
+ "type": {
3634
+ "text": "string | null"
3635
+ },
3636
+ "default": "null",
3637
+ "description": "Mirror of the host `aria-label` attribute, forwarded to the inner progressbar.\nDeclared as a reactive property (not a public API prop) so Lit observes the\nattribute and re-renders when it changes. The name differs from the native\n`ariaLabel` DOM property to avoid fighting native ARIA reflection.",
3638
+ "fieldName": "hostLabel"
3639
+ }
3640
+ ],
3641
+ "superclass": {
3642
+ "name": "RekeElement",
3643
+ "module": "/src/shared/base-element.js"
3644
+ },
3645
+ "tagName": "reke-progress",
3646
+ "customElement": true,
3647
+ "summary": "A thin progress bar supporting single-value, multi-segment, and indeterminate modes."
3648
+ }
3649
+ ],
3650
+ "exports": [
3651
+ {
3652
+ "kind": "js",
3653
+ "name": "RekeProgress",
3654
+ "declaration": {
3655
+ "name": "RekeProgress",
3656
+ "module": "src/components/reke-progress/reke-progress.ts"
3657
+ }
3658
+ },
3659
+ {
3660
+ "kind": "custom-element-definition",
3661
+ "name": "reke-progress",
3662
+ "declaration": {
3663
+ "name": "RekeProgress",
3664
+ "module": "src/components/reke-progress/reke-progress.ts"
3665
+ }
3666
+ }
3667
+ ]
3668
+ },
3497
3669
  {
3498
3670
  "kind": "javascript-module",
3499
3671
  "path": "src/components/reke-select/reke-select.ts",
@@ -0,0 +1,54 @@
1
+ import { type PropertyValues } from 'lit';
2
+ import { RekeElement } from '../../shared/base-element.js';
3
+ export type RekeProgressSegment = {
4
+ value: number;
5
+ color: string;
6
+ };
7
+ /**
8
+ * @tag reke-progress
9
+ * @summary A thin progress bar supporting single-value, multi-segment, and indeterminate modes.
10
+ *
11
+ * @csspart track - The outer track element carrying the progressbar role.
12
+ * @csspart segment - Each filled segment inside the track.
13
+ *
14
+ * @cssprop [--reke-progress-height=4px] - Height of the bar.
15
+ * @cssprop [--reke-progress-radius=9999px] - Border radius of the track and segments.
16
+ * @cssprop [--reke-progress-track-color=#2A2A2A] - Background color of the empty track.
17
+ * @cssprop [--reke-progress-color=#22C55E] - Default fill color when `color` is not set.
18
+ */
19
+ export declare class RekeProgress extends RekeElement {
20
+ static styles: import("lit").CSSResult[];
21
+ /**
22
+ * Fill percentage used in single-bar mode. Normalized to 0-100 on update, so
23
+ * the property and its reflected attribute always match what is rendered.
24
+ * Non-finite input becomes 0.
25
+ */
26
+ value: number;
27
+ /** Fill color for single-bar and indeterminate modes. Empty means the token default. */
28
+ color: string;
29
+ /**
30
+ * Multi-segment mode. Max 3 segments; each value is that segment's width in percent.
31
+ * A NON-EMPTY array takes precedence over `value`; an empty array renders the
32
+ * single-value bar.
33
+ */
34
+ segments: RekeProgressSegment[];
35
+ /** Animated loading bar. Ignores `value` and `segments`. */
36
+ indeterminate: boolean;
37
+ /**
38
+ * Mirror of the host `aria-label` attribute, forwarded to the inner progressbar.
39
+ * Declared as a reactive property (not a public API prop) so Lit observes the
40
+ * attribute and re-renders when it changes. The name differs from the native
41
+ * `ariaLabel` DOM property to avoid fighting native ARIA reflection.
42
+ */
43
+ private hostLabel;
44
+ protected willUpdate(changed: PropertyValues<this>): void;
45
+ /** Visible segments with accumulated width clamped at 100%. */
46
+ private resolveSegments;
47
+ render(): import("lit-html").TemplateResult<1>;
48
+ }
49
+ declare global {
50
+ interface HTMLElementTagNameMap {
51
+ 'reke-progress': RekeProgress;
52
+ }
53
+ }
54
+ //# sourceMappingURL=reke-progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reke-progress.d.ts","sourceRoot":"","sources":["../../../src/components/reke-progress/reke-progress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGzD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AASF;;;;;;;;;;;GAWG;AACH,qBACa,YAAa,SAAQ,WAAW;IAC3C,OAAgB,MAAM,4BAAU;IAEhC;;;;OAIG;IAEH,KAAK,SAAK;IAEV,wFAAwF;IAExF,KAAK,SAAM;IAEX;;;;OAIG;IAEH,QAAQ,EAAE,mBAAmB,EAAE,CAAM;IAErC,4DAA4D;IAE5D,aAAa,UAAS;IAEtB;;;;;OAKG;IAEH,OAAO,CAAC,SAAS,CAAuB;cAErB,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IASlE,+DAA+D;IAC/D,OAAO,CAAC,eAAe;IAUd,MAAM;CAoDhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,YAAY,CAAC;KAC/B;CACF"}
@@ -0,0 +1,81 @@
1
+ import { RekeElement as e } from "../../shared/base-element.js";
2
+ import { __decorate as t } from "../../_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js";
3
+ import { styles as n } from "./reke-progress.styles.js";
4
+ import { html as r, nothing as i } from "lit";
5
+ import { customElement as a, property as o } from "lit/decorators.js";
6
+ import { styleMap as s } from "lit/directives/style-map.js";
7
+ //#region src/components/reke-progress/reke-progress.ts
8
+ var c = 3;
9
+ function l(e) {
10
+ return Number.isFinite(e) ? Math.min(100, Math.max(0, e)) : 0;
11
+ }
12
+ var u = class extends e {
13
+ constructor(...e) {
14
+ super(...e), this.value = 0, this.color = "", this.segments = [], this.indeterminate = !1, this.hostLabel = null;
15
+ }
16
+ static {
17
+ this.styles = n;
18
+ }
19
+ willUpdate(e) {
20
+ if (e.has("value")) {
21
+ let e = l(Number(this.value));
22
+ this.value !== e && (this.value = e);
23
+ }
24
+ }
25
+ resolveSegments() {
26
+ let e = 0;
27
+ return {
28
+ list: this.segments.slice(0, c).map((t) => {
29
+ let n = Math.min(l(t.value), 100 - e);
30
+ return e += n, {
31
+ value: n,
32
+ color: t.color
33
+ };
34
+ }),
35
+ total: e
36
+ };
37
+ }
38
+ render() {
39
+ let { list: e, total: t } = this.resolveSegments(), n = e.length > 0, a = l(this.value), o = this.indeterminate ? i : n ? t : a;
40
+ return r`
41
+ <div
42
+ part="track"
43
+ class="track"
44
+ role="progressbar"
45
+ aria-label=${this.hostLabel ?? i}
46
+ aria-valuemin="0"
47
+ aria-valuemax="100"
48
+ aria-valuenow=${o}
49
+ >
50
+ ${this.indeterminate ? r`<div
51
+ part="segment"
52
+ class="segment segment--indeterminate"
53
+ style=${s({ backgroundColor: this.color || void 0 })}
54
+ ></div>` : n ? e.map((e) => r`<div
55
+ part="segment"
56
+ class="segment"
57
+ style=${s({
58
+ width: `${e.value}%`,
59
+ backgroundColor: e.color || void 0
60
+ })}
61
+ ></div>`) : r`<div
62
+ part="segment"
63
+ class="segment"
64
+ style=${s({
65
+ width: `${a}%`,
66
+ backgroundColor: this.color || void 0
67
+ })}
68
+ ></div>`}
69
+ </div>
70
+ `;
71
+ }
72
+ };
73
+ t([o({
74
+ type: Number,
75
+ reflect: !0
76
+ })], u.prototype, "value", void 0), t([o({ reflect: !0 })], u.prototype, "color", void 0), t([o({ attribute: !1 })], u.prototype, "segments", void 0), t([o({
77
+ type: Boolean,
78
+ reflect: !0
79
+ })], u.prototype, "indeterminate", void 0), t([o({ attribute: "aria-label" })], u.prototype, "hostLabel", void 0), u = t([a("reke-progress")], u);
80
+ //#endregion
81
+ export { u as RekeProgress };
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult[];
2
+ //# sourceMappingURL=reke-progress.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reke-progress.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-progress/reke-progress.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAmElB,CAAC"}
@@ -0,0 +1,70 @@
1
+ import { tailwindStyles as e } from "../../shared/tailwind-styles.js";
2
+ import { css as t } from "lit";
3
+ //#region src/components/reke-progress/reke-progress.styles.ts
4
+ var n = [e, t`
5
+ :host {
6
+ display: block;
7
+ width: 100%;
8
+ }
9
+
10
+ .track {
11
+ position: relative;
12
+ display: flex;
13
+ width: 100%;
14
+ overflow: hidden;
15
+ height: var(--reke-progress-height, 4px);
16
+ border-radius: var(--reke-progress-radius, 9999px);
17
+ background-color: var(--reke-progress-track-color, #2A2A2A);
18
+ }
19
+
20
+ .segment {
21
+ height: 100%;
22
+ background-color: var(--reke-progress-color, #22C55E);
23
+ transition: width var(--reke-transition-normal, 0.2s ease);
24
+ }
25
+
26
+ .segment:first-child {
27
+ border-top-left-radius: var(--reke-progress-radius, 9999px);
28
+ border-bottom-left-radius: var(--reke-progress-radius, 9999px);
29
+ }
30
+
31
+ .segment:last-child {
32
+ border-top-right-radius: var(--reke-progress-radius, 9999px);
33
+ border-bottom-right-radius: var(--reke-progress-radius, 9999px);
34
+ }
35
+
36
+ /* === Indeterminate === */
37
+
38
+ .segment--indeterminate {
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ width: 40%;
43
+ border-radius: var(--reke-progress-radius, 9999px);
44
+ transition: none;
45
+ animation: reke-progress-slide 1.4s ease-in-out infinite;
46
+ }
47
+
48
+ @keyframes reke-progress-slide {
49
+ from {
50
+ transform: translateX(-100%);
51
+ }
52
+ to {
53
+ transform: translateX(250%);
54
+ }
55
+ }
56
+
57
+ @media (prefers-reduced-motion: reduce) {
58
+ .segment--indeterminate {
59
+ animation: none;
60
+ width: 100%;
61
+ opacity: 0.6;
62
+ }
63
+
64
+ .segment {
65
+ transition: none;
66
+ }
67
+ }
68
+ `];
69
+ //#endregion
70
+ export { n as styles };
package/dist/index.d.ts CHANGED
@@ -23,6 +23,8 @@ export type { MenuItemVariant } from './components/reke-menu-item/reke-menu-item
23
23
  export { RekeMenuItem } from './components/reke-menu-item/reke-menu-item.js';
24
24
  export type { PieChartDatum, PieChartSelectDetail, PieChartVariant, } from './components/reke-pie-chart/reke-pie-chart.js';
25
25
  export { RekePieChart } from './components/reke-pie-chart/reke-pie-chart.js';
26
+ export type { RekeProgressSegment } from './components/reke-progress/reke-progress.js';
27
+ export { RekeProgress } from './components/reke-progress/reke-progress.js';
26
28
  export type { SelectSize } from './components/reke-select/reke-select.js';
27
29
  export { RekeSelect } from './components/reke-select/reke-select.js';
28
30
  export type { Cleanup, ExpandedRowElement, GetRowKey, RowKey, TableColumn, TableRow, } from './components/reke-table/reke-table.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,uCAAuC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,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,YAAY,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -13,10 +13,11 @@ import { RekeInput as d } from "./components/reke-input/reke-input.js";
13
13
  import { RekeMenu as f } from "./components/reke-menu/reke-menu.js";
14
14
  import { RekeMenuItem as p } from "./components/reke-menu-item/reke-menu-item.js";
15
15
  import { RekePieChart as m } from "./components/reke-pie-chart/reke-pie-chart.js";
16
- import { RekeSelect as h } from "./components/reke-select/reke-select.js";
17
- import { RekeTable as g } from "./components/reke-table/reke-table.js";
18
- import { RekeTextarea as _ } from "./components/reke-textarea/reke-textarea.js";
19
- import { RekeToast as v } from "./components/reke-toast/reke-toast.js";
20
- import { RekeToggle as y } from "./components/reke-toggle/reke-toggle.js";
21
- import { RekeTooltip as b } from "./components/reke-tooltip/reke-tooltip.js";
22
- export { t as RekeAlert, n as RekeBadge, r as RekeButton, i as RekeCard, a as RekeCheckbox, o as RekeChip, s as RekeCombobox, c as RekeDateRange, l as RekeDialog, e as RekeElement, u as RekeFileUpload, d as RekeInput, f as RekeMenu, p as RekeMenuItem, m as RekePieChart, h as RekeSelect, g as RekeTable, _ as RekeTextarea, v as RekeToast, y as RekeToggle, b as RekeTooltip };
16
+ import { RekeProgress as h } from "./components/reke-progress/reke-progress.js";
17
+ import { RekeSelect as g } from "./components/reke-select/reke-select.js";
18
+ import { RekeTable as _ } from "./components/reke-table/reke-table.js";
19
+ import { RekeTextarea as v } from "./components/reke-textarea/reke-textarea.js";
20
+ import { RekeToast as y } from "./components/reke-toast/reke-toast.js";
21
+ import { RekeToggle as b } from "./components/reke-toggle/reke-toggle.js";
22
+ import { RekeTooltip as x } from "./components/reke-tooltip/reke-tooltip.js";
23
+ export { t as RekeAlert, n as RekeBadge, r as RekeButton, i as RekeCard, a as RekeCheckbox, o as RekeChip, s as RekeCombobox, c as RekeDateRange, l as RekeDialog, e as RekeElement, u as RekeFileUpload, d as RekeInput, f as RekeMenu, p as RekeMenuItem, m as RekePieChart, h as RekeProgress, g as RekeSelect, _ as RekeTable, v as RekeTextarea, y as RekeToast, b as RekeToggle, x as RekeTooltip };
package/dist/react.d.ts CHANGED
@@ -12,6 +12,7 @@ import { RekeFileUpload } from './components/reke-file-upload/reke-file-upload.j
12
12
  import { RekeInput } from './components/reke-input/reke-input.js';
13
13
  import { RekeMenu } from './components/reke-menu/reke-menu.js';
14
14
  import { RekeMenuItem } from './components/reke-menu-item/reke-menu-item.js';
15
+ import { RekeProgress } from './components/reke-progress/reke-progress.js';
15
16
  import { RekeSelect } from './components/reke-select/reke-select.js';
16
17
  import { RekeTextarea } from './components/reke-textarea/reke-textarea.js';
17
18
  import { RekeToast } from './components/reke-toast/reke-toast.js';
@@ -47,6 +48,8 @@ export declare const Toggle: import("@lit/react").ReactWebComponent<RekeToggle,
47
48
  }>>;
48
49
  }>;
49
50
  export declare const Badge: import("@lit/react").ReactWebComponent<RekeBadge, {}>;
51
+ export declare const Progress: import("@lit/react").ReactWebComponent<RekeProgress, {}>;
52
+ export type { RekeProgressSegment } from './components/reke-progress/reke-progress.js';
50
53
  export declare const Card: import("@lit/react").ReactWebComponent<RekeCard, {}>;
51
54
  export declare const Tooltip: import("@lit/react").ReactWebComponent<RekeTooltip, {}>;
52
55
  export declare const Dialog: import("@lit/react").ReactWebComponent<RekeDialog, {
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["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,MAAM,UAAU;sBAKqB,SAAS,CAAC,WAAW,CAAC;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC;qBACxC,SAAS,CAAC,WAAW,CAAC;EAE9D,CAAC;AAEH,eAAO,MAAM,KAAK;iBAKe,SAAS,CAAC,WAAW,CAAC;EAErD,CAAC;AAEH,eAAO,MAAM,KAAK;iBAKe,SAAS,CAAC,WAAW,CAAC;kBACpB,SAAS,CAAC,WAAW,CAAC;EAEvD,CAAC;AAEH,eAAO,MAAM,IAAI;iBAKgB,SAAS,CAAC,WAAW,CAAC;mBAClB,SAAS,CAAC,WAAW,CAAC;EAEzD,CAAC"}
package/dist/react.js CHANGED
@@ -11,123 +11,128 @@ import { RekeFileUpload as l } from "./components/reke-file-upload/reke-file-upl
11
11
  import { RekeInput as u } from "./components/reke-input/reke-input.js";
12
12
  import { RekeMenu as d } from "./components/reke-menu/reke-menu.js";
13
13
  import { RekeMenuItem as f } from "./components/reke-menu-item/reke-menu-item.js";
14
- import { RekeSelect as p } from "./components/reke-select/reke-select.js";
15
- import { RekeTextarea as m } from "./components/reke-textarea/reke-textarea.js";
16
- import { RekeToast as h } from "./components/reke-toast/reke-toast.js";
17
- import { RekeToggle as g } from "./components/reke-toggle/reke-toggle.js";
18
- import { RekeTooltip as _ } from "./components/reke-tooltip/reke-tooltip.js";
19
- import { Table as v } from "./react-bridge/table.js";
20
- import { createComponent as y } from "@lit/react";
21
- import b from "react";
14
+ import { RekeProgress as p } from "./components/reke-progress/reke-progress.js";
15
+ import { RekeSelect as m } from "./components/reke-select/reke-select.js";
16
+ import { RekeTextarea as h } from "./components/reke-textarea/reke-textarea.js";
17
+ import { RekeToast as g } from "./components/reke-toast/reke-toast.js";
18
+ import { RekeToggle as _ } from "./components/reke-toggle/reke-toggle.js";
19
+ import { RekeTooltip as v } from "./components/reke-tooltip/reke-tooltip.js";
20
+ import { Table as y } from "./react-bridge/table.js";
21
+ import { createComponent as b } from "@lit/react";
22
+ import x from "react";
22
23
  //#region src/react.ts
23
- var x = y({
24
+ var S = b({
24
25
  tagName: "reke-button",
25
26
  elementClass: n,
26
- react: b,
27
+ react: x,
27
28
  events: { onRekeClick: "reke-click" }
28
- }), S = y({
29
+ }), C = b({
29
30
  tagName: "reke-input",
30
31
  elementClass: u,
31
- react: b,
32
+ react: x,
32
33
  events: {
33
34
  onRekeInput: "reke-input",
34
35
  onRekeChange: "reke-change"
35
36
  }
36
- }), C = y({
37
+ }), w = b({
37
38
  tagName: "reke-textarea",
38
- elementClass: m,
39
- react: b,
39
+ elementClass: h,
40
+ react: x,
40
41
  events: {
41
42
  onRekeInput: "reke-input",
42
43
  onRekeChange: "reke-change"
43
44
  }
44
- }), w = y({
45
+ }), T = b({
45
46
  tagName: "reke-checkbox",
46
47
  elementClass: i,
47
- react: b,
48
+ react: x,
48
49
  events: { onRekeChange: "reke-change" }
49
- }), T = y({
50
+ }), E = b({
50
51
  tagName: "reke-toggle",
51
- elementClass: g,
52
- react: b,
52
+ elementClass: _,
53
+ react: x,
53
54
  events: { onRekeChange: "reke-change" }
54
- }), E = y({
55
+ }), D = b({
55
56
  tagName: "reke-badge",
56
57
  elementClass: t,
57
- react: b
58
- }), D = y({
58
+ react: x
59
+ }), O = b({
60
+ tagName: "reke-progress",
61
+ elementClass: p,
62
+ react: x
63
+ }), k = b({
59
64
  tagName: "reke-card",
60
65
  elementClass: r,
61
- react: b
62
- }), O = y({
66
+ react: x
67
+ }), A = b({
63
68
  tagName: "reke-tooltip",
64
- elementClass: _,
65
- react: b
66
- }), k = y({
69
+ elementClass: v,
70
+ react: x
71
+ }), j = b({
67
72
  tagName: "reke-dialog",
68
73
  elementClass: c,
69
- react: b,
74
+ react: x,
70
75
  events: { onRekeClose: "reke-close" }
71
- }), A = y({
76
+ }), M = b({
72
77
  tagName: "reke-menu",
73
78
  elementClass: d,
74
- react: b,
79
+ react: x,
75
80
  events: { onRekeClose: "reke-close" }
76
- }), j = y({
81
+ }), N = b({
77
82
  tagName: "reke-menu-item",
78
83
  elementClass: f,
79
- react: b,
84
+ react: x,
80
85
  events: { onRekeSelect: "reke-select" }
81
- }), M = y({
86
+ }), P = b({
82
87
  tagName: "reke-select",
83
- elementClass: p,
84
- react: b,
88
+ elementClass: m,
89
+ react: x,
85
90
  events: { onRekeChange: "reke-change" }
86
- }), N = y({
91
+ }), F = b({
87
92
  tagName: "reke-combobox",
88
93
  elementClass: o,
89
- react: b,
94
+ react: x,
90
95
  events: {
91
96
  onRekeChange: "reke-change",
92
97
  onRekeSearch: "reke-search"
93
98
  }
94
- }), P = y({
99
+ }), I = b({
95
100
  tagName: "reke-date-range",
96
101
  elementClass: s,
97
- react: b,
102
+ react: x,
98
103
  events: {
99
104
  onRekeChange: "reke-change",
100
105
  onRekePreset: "reke-preset"
101
106
  }
102
- }), F = y({
107
+ }), L = b({
103
108
  tagName: "reke-file-upload",
104
109
  elementClass: l,
105
- react: b,
110
+ react: x,
106
111
  events: {
107
112
  onRekeFileSelect: "reke-file-select",
108
113
  onRekeFileClear: "reke-file-clear"
109
114
  }
110
- }), I = y({
115
+ }), R = b({
111
116
  tagName: "reke-alert",
112
117
  elementClass: e,
113
- react: b,
118
+ react: x,
114
119
  events: { onRekeClose: "reke-close" }
115
- }), L = y({
120
+ }), z = b({
116
121
  tagName: "reke-toast",
117
- elementClass: h,
118
- react: b,
122
+ elementClass: g,
123
+ react: x,
119
124
  events: {
120
125
  onRekeClose: "reke-close",
121
126
  onRekeAction: "reke-action"
122
127
  }
123
- }), R = y({
128
+ }), B = b({
124
129
  tagName: "reke-chip",
125
130
  elementClass: a,
126
- react: b,
131
+ react: x,
127
132
  events: {
128
133
  onRekeClick: "reke-click",
129
134
  onRekeDismiss: "reke-dismiss"
130
135
  }
131
136
  });
132
137
  //#endregion
133
- export { I as Alert, E as Badge, x as Button, D as Card, w as Checkbox, R as Chip, N as Combobox, P as DateRange, k as Dialog, F as FileUpload, S as Input, A as Menu, j as MenuItem, M as Select, v as Table, C as Textarea, L as Toast, T as Toggle, O as Tooltip };
138
+ export { R as Alert, D as Badge, S as Button, k as Card, T as Checkbox, B as Chip, F as Combobox, I as DateRange, j as Dialog, L as FileUpload, C as Input, M as Menu, N as MenuItem, O as Progress, P as Select, y as Table, w as Textarea, z as Toast, E as Toggle, A as Tooltip };
@@ -1,4 +1,4 @@
1
1
  //#region src/shared/tailwind.css?inline
2
- var e = "/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.row-0{grid-row:0}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}";
2
+ var e = "/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.row-0{grid-row:0}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}";
3
3
  //#endregion
4
4
  export { e as default };
@@ -78,6 +78,11 @@
78
78
  /* Chip prefix size */
79
79
  --reke-chip-prefix-size: 16px;
80
80
 
81
+ /* Progress bar */
82
+ --reke-progress-height: 4px;
83
+ --reke-progress-radius: 9999px;
84
+ --reke-progress-color: var(--reke-color-primary);
85
+
81
86
  /* Glow shadows — themed per accent color */
82
87
  --reke-shadow-glow-primary: 0 0 20px color-mix(in srgb, var(--reke-color-primary, #22C55E) 35%, transparent);
83
88
  --reke-shadow-glow-secondary: 0 0 20px color-mix(in srgb, var(--reke-color-secondary, #3B82F6) 35%, transparent);
@@ -106,6 +111,7 @@
106
111
  --reke-color-text-ghost: #737373;
107
112
  --reke-color-text-disabled: #3B3B3B;
108
113
  --reke-color-text-label: #8A8A8A;
114
+ --reke-progress-track-color: #2A2A2A;
109
115
  --reke-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
110
116
  --reke-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
111
117
  }
@@ -127,6 +133,7 @@
127
133
  --reke-color-text-ghost: #9A9A9A;
128
134
  --reke-color-text-disabled: #C0C0C0;
129
135
  --reke-color-text-label: #666666;
136
+ --reke-progress-track-color: #E0E0E0;
130
137
  --reke-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
131
138
  --reke-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
132
139
  }
@@ -186,6 +193,7 @@
186
193
  --reke-color-text-ghost: #9A9A9A;
187
194
  --reke-color-text-disabled: #C0C0C0;
188
195
  --reke-color-text-label: #666666;
196
+ --reke-progress-track-color: #E0E0E0;
189
197
  --reke-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
190
198
  --reke-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
191
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reke-ui",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Web Component library built with Lit 3 — dark & light themes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -37,6 +37,10 @@
37
37
  "types": "./dist/components/reke-pie-chart/reke-pie-chart.d.ts",
38
38
  "default": "./dist/components/reke-pie-chart/reke-pie-chart.js"
39
39
  },
40
+ "./progress": {
41
+ "types": "./dist/components/reke-progress/reke-progress.d.ts",
42
+ "default": "./dist/components/reke-progress/reke-progress.js"
43
+ },
40
44
  "./textarea": {
41
45
  "types": "./dist/components/reke-textarea/reke-textarea.d.ts",
42
46
  "default": "./dist/components/reke-textarea/reke-textarea.js"