@reliability-design/web 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/rel-alert/rel-alert.ts +8 -1
- package/dist/components/rel-badge/rel-badge.ts +23 -6
- package/dist/components/rel-button/rel-button.ts +35 -0
- package/dist/components/rel-date-picker/rel-date-picker.ts +116 -14
- package/dist/components/rel-tab/rel-tab.ts +10 -4
- package/dist/components/rel-textfield/rel-textfield.ts +637 -397
- package/dist/components/rel-topbar/rel-topbar-actions.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar-brand.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar-dropdown-item.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar-dropdown.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar-item.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar-mobile-panel.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar-profile.ts +3 -0
- package/dist/components/rel-topbar/rel-topbar-utilities.ts +4 -0
- package/dist/components/rel-topbar/rel-topbar.ts +6 -0
- package/dist/index.d.mts +76 -1
- package/dist/index.d.ts +76 -1
- package/dist/index.js +482 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +483 -55
- package/dist/index.mjs.map +1 -1
- package/dist/styles/vars.css +17 -0
- package/dist/{vars-I2PC74XD.css → vars-F54UGCHM.css} +17 -0
- package/package.json +1 -1
package/dist/styles/vars.css
CHANGED
|
@@ -191,6 +191,18 @@
|
|
|
191
191
|
/* Keep expected/legacy token names working across components */
|
|
192
192
|
--rel-colors-primary-500: var(--rel-colors-blue-primary);
|
|
193
193
|
--rel-colors-gray-body: var(--rel-text-primary);
|
|
194
|
+
|
|
195
|
+
/* vars-v2 token family referenced by components (button, alert, badge,
|
|
196
|
+
checkbox, textfield, toast). These live only in vars-v2.css, whose
|
|
197
|
+
component-level import compiles to a no-op under the tsup `copy` loader,
|
|
198
|
+
so they must be declared here to resolve in the shipped stylesheet.
|
|
199
|
+
Values mirror src/styles/vars-v2.css. */
|
|
200
|
+
--rel-error-surface-default: #D50000;
|
|
201
|
+
--rel-error-surface-dark: #9C1E33;
|
|
202
|
+
--rel-error-text: #CC0000;
|
|
203
|
+
--rel-success-surface-dark: #00A86B;
|
|
204
|
+
--rel-warning-surface-dark: #F2915C;
|
|
205
|
+
--rel-gray-text-primary: #333333;
|
|
194
206
|
}
|
|
195
207
|
|
|
196
208
|
/* !!MANUAL_START!! */
|
|
@@ -316,6 +328,11 @@
|
|
|
316
328
|
--rel-colors-primary-500: var(--rel-colors-blue-primary);
|
|
317
329
|
--rel-colors-gray-body: var(--rel-text-primary);
|
|
318
330
|
|
|
331
|
+
/* vars-v2 token family — dark overrides. Shade tokens (-surface-dark,
|
|
332
|
+
-error-text) keep their single value from the light block. */
|
|
333
|
+
--rel-error-surface-default: #FF5252;
|
|
334
|
+
--rel-gray-text-primary: #F5F5F5;
|
|
335
|
+
|
|
319
336
|
/* ------------------ SEMANTIC ALIAS LAYER — DARK MODE OVERRIDES ------------------
|
|
320
337
|
Values sourced from tokens/semantic-colors.json § dark */
|
|
321
338
|
|
|
@@ -191,6 +191,18 @@
|
|
|
191
191
|
/* Keep expected/legacy token names working across components */
|
|
192
192
|
--rel-colors-primary-500: var(--rel-colors-blue-primary);
|
|
193
193
|
--rel-colors-gray-body: var(--rel-text-primary);
|
|
194
|
+
|
|
195
|
+
/* vars-v2 token family referenced by components (button, alert, badge,
|
|
196
|
+
checkbox, textfield, toast). These live only in vars-v2.css, whose
|
|
197
|
+
component-level import compiles to a no-op under the tsup `copy` loader,
|
|
198
|
+
so they must be declared here to resolve in the shipped stylesheet.
|
|
199
|
+
Values mirror src/styles/vars-v2.css. */
|
|
200
|
+
--rel-error-surface-default: #D50000;
|
|
201
|
+
--rel-error-surface-dark: #9C1E33;
|
|
202
|
+
--rel-error-text: #CC0000;
|
|
203
|
+
--rel-success-surface-dark: #00A86B;
|
|
204
|
+
--rel-warning-surface-dark: #F2915C;
|
|
205
|
+
--rel-gray-text-primary: #333333;
|
|
194
206
|
}
|
|
195
207
|
|
|
196
208
|
/* !!MANUAL_START!! */
|
|
@@ -316,6 +328,11 @@
|
|
|
316
328
|
--rel-colors-primary-500: var(--rel-colors-blue-primary);
|
|
317
329
|
--rel-colors-gray-body: var(--rel-text-primary);
|
|
318
330
|
|
|
331
|
+
/* vars-v2 token family — dark overrides. Shade tokens (-surface-dark,
|
|
332
|
+
-error-text) keep their single value from the light block. */
|
|
333
|
+
--rel-error-surface-default: #FF5252;
|
|
334
|
+
--rel-gray-text-primary: #F5F5F5;
|
|
335
|
+
|
|
319
336
|
/* ------------------ SEMANTIC ALIAS LAYER — DARK MODE OVERRIDES ------------------
|
|
320
337
|
Values sourced from tokens/semantic-colors.json § dark */
|
|
321
338
|
|