@danxbot/ui 6.3.1 → 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 +13 -2
- package/dist/index.js.map +1 -1
- package/dist/types/components/Progress.d.ts +30 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -23210,6 +23210,7 @@ function W6({
|
|
|
23210
23210
|
label: "Open navigation",
|
|
23211
23211
|
hideTooltip: !0,
|
|
23212
23212
|
className: "lg:hidden",
|
|
23213
|
+
style: { "--tap-target": "44px" },
|
|
23213
23214
|
icon: /* @__PURE__ */ f(be, { name: "menu", size: "sm" })
|
|
23214
23215
|
}
|
|
23215
23216
|
)
|
|
@@ -23636,7 +23637,15 @@ const UC = pt({
|
|
|
23636
23637
|
* so this reuses an existing semantic slot instead of minting a new
|
|
23637
23638
|
* `--color-neutral` custom property for one tone.
|
|
23638
23639
|
*/
|
|
23639
|
-
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" }
|
|
23640
23649
|
}
|
|
23641
23650
|
},
|
|
23642
23651
|
defaultVariants: { size: "md", tone: "accent" }
|
|
@@ -23726,7 +23735,9 @@ const GC = pt({
|
|
|
23726
23735
|
success: "text-success",
|
|
23727
23736
|
warning: "text-warning",
|
|
23728
23737
|
danger: "text-danger",
|
|
23729
|
-
neutral: "text-tertiary"
|
|
23738
|
+
neutral: "text-tertiary",
|
|
23739
|
+
// DX-3014 — see the matching `info` tone on `bar`'s variants above.
|
|
23740
|
+
info: "text-info"
|
|
23730
23741
|
}, qD = 4e-3, YD = 1e-9;
|
|
23731
23742
|
function XD(e, t) {
|
|
23732
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 = [];
|