@danxbot/ui 6.3.2 → 6.3.4
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/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/types/components/Progress.d.ts +30 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23637,7 +23637,15 @@ const UC = pt({
|
|
|
23637
23637
|
* so this reuses an existing semantic slot instead of minting a new
|
|
23638
23638
|
* `--color-neutral` custom property for one tone.
|
|
23639
23639
|
*/
|
|
23640
|
-
neutral: { indicator: "bg-tertiary" }
|
|
23640
|
+
neutral: { indicator: "bg-tertiary" },
|
|
23641
|
+
/**
|
|
23642
|
+
* DX-3014 — a resolved-but-neither-pass-nor-fail state: a deliberately
|
|
23643
|
+
* deferred/withdrawn checklist item, a skipped quality gate. Reuses the
|
|
23644
|
+
* SAME `--color-info` token `Badge`/`Callout`/`Toast` already draw their
|
|
23645
|
+
* own "info" tone from, so a segmented ring's info arc never invents a
|
|
23646
|
+
* second blue that disagrees with the pill sitting next to it.
|
|
23647
|
+
*/
|
|
23648
|
+
info: { indicator: "bg-info" }
|
|
23641
23649
|
}
|
|
23642
23650
|
},
|
|
23643
23651
|
defaultVariants: { size: "md", tone: "accent" }
|
|
@@ -23727,7 +23735,9 @@ const GC = pt({
|
|
|
23727
23735
|
success: "text-success",
|
|
23728
23736
|
warning: "text-warning",
|
|
23729
23737
|
danger: "text-danger",
|
|
23730
|
-
neutral: "text-tertiary"
|
|
23738
|
+
neutral: "text-tertiary",
|
|
23739
|
+
// DX-3014 — see the matching `info` tone on `bar`'s variants above.
|
|
23740
|
+
info: "text-info"
|
|
23731
23741
|
}, qD = 4e-3, YD = 1e-9;
|
|
23732
23742
|
function XD(e, t) {
|
|
23733
23743
|
const n = e.reduce((c, u) => c + Math.max(0, u.value), 0), r = Math.max(0, n - t), o = (c) => t > 0 ? Math.max(0, c) / t : 0, s = [];
|