@namroodinc/liquid-editorial 0.13.3 → 0.13.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/README.md +22 -1
- package/UPGRADING.md +18 -0
- package/dist/chunks/ProgressBar-BzdsY7oR.js +120 -0
- package/dist/chunks/ProgressBar-BzdsY7oR.js.map +1 -0
- package/dist/chunks/ProgressBar-C3F4HPIQ.cjs +2 -0
- package/dist/chunks/ProgressBar-C3F4HPIQ.cjs.map +1 -0
- package/dist/components/ProgressBar/index.cjs +1 -0
- package/dist/components/ProgressBar/index.d.cts +5 -0
- package/dist/components/ProgressBar/index.d.cts.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +5 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.js +1 -0
- package/dist/components/ProgressBar/progress.d.cts +29 -0
- package/dist/components/ProgressBar/progress.d.cts.map +1 -0
- package/dist/components/ProgressBar/progress.d.ts +29 -0
- package/dist/components/ProgressBar/progress.d.ts.map +1 -0
- package/dist/components/ProgressBar/style.css +171 -0
- package/dist/components/ProgressBar/types.d.cts +35 -0
- package/dist/components/ProgressBar/types.d.cts.map +1 -0
- package/dist/components/ProgressBar/types.d.ts +35 -0
- package/dist/components/ProgressBar/types.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -16
- package/dist/styles.css +1 -0
- package/dist/tokens.css +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ Field supplies labels and validation relationships. Button supplies action styli
|
|
|
77
77
|
|
|
78
78
|
## Component catalogue
|
|
79
79
|
|
|
80
|
-
All **
|
|
80
|
+
All **52 families** and **104 runtime exports** are listed below, including compound components, hooks and helpers. Each family links to a practical guide and its source stories. Run Storybook locally for interactive examples; this README does not assume a hosted Storybook. Exported TypeScript declarations provide the detailed prop reference.
|
|
81
81
|
|
|
82
82
|
### Collection and editing catalogue
|
|
83
83
|
|
|
@@ -106,6 +106,7 @@ All **51 families** and **103 runtime exports** are listed below, including comp
|
|
|
106
106
|
| [Icon](#icon) | `Icon`, `icons`, `iconNames` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/Icon/Icon.stories.tsx) |
|
|
107
107
|
| [Avatar](#avatar) | `Avatar`, `AvatarGroup` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/Avatar/Avatar.stories.tsx) |
|
|
108
108
|
| [Skeleton](#skeleton) | `Skeleton`, `SkeletonText` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/Skeleton/Skeleton.stories.tsx) |
|
|
109
|
+
| [ProgressBar](#progressbar) | `ProgressBar` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/ProgressBar/ProgressBar.stories.tsx) |
|
|
109
110
|
| [Time](#time) | `Time`, `formatRelativeTime`, `formatAbsoluteDate`, `formatAbsoluteTime` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/Time/Time.stories.tsx) |
|
|
110
111
|
|
|
111
112
|
### Fields and editors catalogue
|
|
@@ -584,6 +585,26 @@ import { Skeleton, SkeletonText } from "@namroodinc/liquid-editorial";
|
|
|
584
585
|
|
|
585
586
|
Individual Skeleton placeholders are hidden from assistive technology. SkeletonText provides a busy status named “Loading”; its label can be overridden. The containing UI owns loading state and the switch to real content.
|
|
586
587
|
|
|
588
|
+
### ProgressBar
|
|
589
|
+
|
|
590
|
+
Show progress for a task or usage for a quota. Import `ProgressBar` and its `ProgressBarProps`, `ProgressBarSize`, and `ProgressBarTone` types from the package root or `components/ProgressBar`.
|
|
591
|
+
|
|
592
|
+
```tsx
|
|
593
|
+
import { ProgressBar } from "@namroodinc/liquid-editorial";
|
|
594
|
+
|
|
595
|
+
<ProgressBar label="Uploading images" value={12} max={20} hint="12 of 20 uploaded" />;
|
|
596
|
+
<ProgressBar label="Processing video" />;
|
|
597
|
+
<ProgressBar label="Storage used" value={7.2} max={10} tone="usage" valueText="7.2 of 10 GB" />;
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
The default size is `md` and the default tone is `primary`. Choose `sm` for compact rows or `lg` for page-level tasks. Pair `success`, `warning`, and `danger` with status wording in `valueText` or `hint`. `usage` follows LimitReading’s scale. Its fill mixes from success through warning to danger, and its reading takes warning ink from 85% and danger at the limit. A usage reading also shows an overage, such as 120%, while the fill and `aria-valuenow` stop at `max`.
|
|
601
|
+
|
|
602
|
+
The range starts at zero and `max` defaults to 100. The bar clamps finite values to the range. Omit `value` when progress is unknown. Non-finite values and negative or non-finite maxima also render an indeterminate bar. A `max` of 0 is an empty task and reads as complete. The visual reading defaults to a percentage beside the label. It shows at least 1% once work starts and at most 99% until it finishes. Use `showValue` to control its visibility and `valueText` to supply a custom visual and accessible reading. Blank `valueText` falls back to the percentage. Pass `aria-label` or `aria-labelledby` when the label is visually absent.
|
|
603
|
+
|
|
604
|
+
`className`, `style`, and `hidden` apply to the whole component. The ref and other HTML attributes belong to the track. The hint is linked to it as an accessible description. The owning application handles live announcements, cancellation, and retry.
|
|
605
|
+
|
|
606
|
+
The fill and sweep start at the inline edge for the current text direction. With reduced motion, an indeterminate bar shows a still, centred segment. In forced-colours mode, the track is outlined and the fill uses the system highlight colour.
|
|
607
|
+
|
|
587
608
|
### Time
|
|
588
609
|
|
|
589
610
|
A semantic time element with relative text and an absolute tooltip on hover/focus, sharing Avatar's tooltip behaviour (pointer transfer, keyboard focus, Escape). `format` defaults to `"auto"`; `"absolute"` always displays the date. Relative formatting ages to an absolute date after a week, and future dates display as absolute dates.
|
package/UPGRADING.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.13.4
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
|
|
9
|
+
`ProgressBar` displays task progress and quota usage with three track heights, five tones, and determinate and indeterminate states. It follows the active theme, text direction, reduced-motion preference, and forced-colours mode. The `usage` tone shares LimitReading’s fill scale and reading colours, and shows an overage beyond `max`.
|
|
10
|
+
|
|
11
|
+
### Adoption
|
|
12
|
+
|
|
13
|
+
Import `ProgressBar` from the package root or `@namroodinc/liquid-editorial/components/ProgressBar` and load the package stylesheet. Supply a visible `label` or an ARIA name. Set `value` and, for a range other than 0–100, `max`. Omit `value` while the total is unknown. A `max` of 0 reads as complete, so `value={done} max={total}` needs no special case for an empty task. Use `valueText` for custom units or status wording and `hint` for supporting details. Blank `valueText` falls back to the percentage. Put layout `className`, `style`, and `hidden` on the component; they apply to the label, track and hint together. The ref, `id`, ARIA and data attributes go to the track. The application owns any live announcements.
|
|
14
|
+
|
|
15
|
+
### Compatibility
|
|
16
|
+
|
|
17
|
+
The component and the `--progress-height-sm`, `--progress-height-lg`, and `--progress-sweep-width` tokens are additive. The heights are 4px, 6px, and 8px at any root font size. Wherever a bar renders, including theme and subtree overrides, the `md` height follows `--slider-track-height` and the sweep duration follows `--skeleton-duration`. Set `--progress-height-md` or `--progress-sweep-duration` to override either one.
|
|
18
|
+
|
|
19
|
+
### Verification
|
|
20
|
+
|
|
21
|
+
Check the accessible name, value, and optional hint in your rendered task UI. Check the fill at zero, at a partial value, and at completion in both themes. Check that a nearly finished task reads 99% rather than 100%. In RTL, check that the fill and sweep start at the inline start. With reduced motion emulated, check that an indeterminate bar shows a still, centred segment. With forced colours emulated, check that the track is outlined and the fill is visible.
|
|
22
|
+
|
|
5
23
|
## 0.13.3
|
|
6
24
|
|
|
7
25
|
## 0.13.2
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { n as e } from "./limit-s9zfxIMC.js";
|
|
2
|
+
import { Stack as t } from "../components/Grid/index.js";
|
|
3
|
+
import { forwardRef as n, useId as r } from "react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/ProgressBar/progress.ts
|
|
6
|
+
function o(e, t) {
|
|
7
|
+
if (e === void 0 || !Number.isFinite(e) || !Number.isFinite(t) || t < 0) return;
|
|
8
|
+
if (t === 0) return {
|
|
9
|
+
current: 0,
|
|
10
|
+
percent: 100,
|
|
11
|
+
ratio: 1
|
|
12
|
+
};
|
|
13
|
+
let n = Math.min(Math.max(e, 0), t);
|
|
14
|
+
return {
|
|
15
|
+
current: n,
|
|
16
|
+
percent: n / t * 100,
|
|
17
|
+
ratio: e / t
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function s(e) {
|
|
21
|
+
let t = Math.round(e);
|
|
22
|
+
return e > 100 ? `${Math.max(t, 101)}%` : `${e > 0 && e < 100 ? Math.min(Math.max(t, 1), 99) : t}%`;
|
|
23
|
+
}
|
|
24
|
+
function c(t, { max: n, usesUsageTone: r, valueText: i }) {
|
|
25
|
+
let a = i?.trim() ? i : void 0;
|
|
26
|
+
if (!t) return {
|
|
27
|
+
reading: a,
|
|
28
|
+
valueText: a,
|
|
29
|
+
usage: void 0
|
|
30
|
+
};
|
|
31
|
+
let o = s(r ? Math.max(t.percent, t.ratio * 100) : t.percent), c = n === 0 || r && t.ratio > 1;
|
|
32
|
+
return {
|
|
33
|
+
reading: a ?? o,
|
|
34
|
+
valueText: a ?? (c ? o : void 0),
|
|
35
|
+
usage: r ? e({
|
|
36
|
+
count: t.ratio,
|
|
37
|
+
max: 1
|
|
38
|
+
}) : void 0
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function l(e, t) {
|
|
42
|
+
let n = { "--progress-width": `${e}%` };
|
|
43
|
+
if (!t) return n;
|
|
44
|
+
let r = e <= 60;
|
|
45
|
+
return {
|
|
46
|
+
...n,
|
|
47
|
+
"--progress-mix": `${r ? e / 60 * 100 : (e - 60) / 40 * 100}%`,
|
|
48
|
+
"--progress-from": r ? "var(--color-success)" : "var(--color-warning)",
|
|
49
|
+
"--progress-to": r ? "var(--color-warning)" : "var(--color-danger)"
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/components/ProgressBar/index.tsx
|
|
54
|
+
function u(e) {
|
|
55
|
+
return typeof e == "string" ? e.trim() !== "" : e != null && typeof e != "boolean";
|
|
56
|
+
}
|
|
57
|
+
function d({ label: e, labelId: t, reading: n, showValue: r = !!t }) {
|
|
58
|
+
let o = r && u(n);
|
|
59
|
+
return !t && !o ? null : /* @__PURE__ */ a("div", {
|
|
60
|
+
className: "ds-progress__header",
|
|
61
|
+
children: [t && /* @__PURE__ */ i("span", {
|
|
62
|
+
className: "ds-progress__label",
|
|
63
|
+
id: t,
|
|
64
|
+
children: e
|
|
65
|
+
}), o && /* @__PURE__ */ i("span", {
|
|
66
|
+
className: "ds-progress__reading",
|
|
67
|
+
"aria-hidden": "true",
|
|
68
|
+
children: n
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
var f = n(function({ value: e, max: n = 100, label: s, showValue: f, valueText: p, hint: m, size: h = "md", tone: g = "primary", className: _, style: v, hidden: y, "aria-label": b, "aria-labelledby": x, "aria-describedby": S, ...C }, w) {
|
|
73
|
+
let T = r(), E = u(s) ? `${T}-label` : void 0, D = u(m) ? `${T}-hint` : void 0, O = g === "usage", k = o(e, n), A = c(k, {
|
|
74
|
+
max: n,
|
|
75
|
+
usesUsageTone: O,
|
|
76
|
+
valueText: p
|
|
77
|
+
});
|
|
78
|
+
return /* @__PURE__ */ a(t, {
|
|
79
|
+
className: ["ds-progress", _].filter(Boolean).join(" "),
|
|
80
|
+
style: v,
|
|
81
|
+
hidden: y,
|
|
82
|
+
gap: "sm",
|
|
83
|
+
"data-size": h,
|
|
84
|
+
"data-tone": g,
|
|
85
|
+
"data-usage": A.usage,
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ i(d, {
|
|
88
|
+
label: s,
|
|
89
|
+
labelId: E,
|
|
90
|
+
reading: A.reading,
|
|
91
|
+
showValue: f
|
|
92
|
+
}),
|
|
93
|
+
/* @__PURE__ */ i("div", {
|
|
94
|
+
...C,
|
|
95
|
+
ref: w,
|
|
96
|
+
className: "ds-progress__track",
|
|
97
|
+
style: k && l(k.percent, O),
|
|
98
|
+
"data-indeterminate": !k || void 0,
|
|
99
|
+
role: "progressbar",
|
|
100
|
+
"aria-label": b,
|
|
101
|
+
"aria-labelledby": x || (b ? void 0 : E),
|
|
102
|
+
"aria-describedby": [S, D].filter(Boolean).join(" ") || void 0,
|
|
103
|
+
"aria-valuemin": k && 0,
|
|
104
|
+
"aria-valuemax": k && n,
|
|
105
|
+
"aria-valuenow": k?.current,
|
|
106
|
+
"aria-valuetext": A.valueText,
|
|
107
|
+
children: /* @__PURE__ */ i("span", { className: "ds-progress__fill" })
|
|
108
|
+
}),
|
|
109
|
+
D && /* @__PURE__ */ i("div", {
|
|
110
|
+
className: "ds-progress__hint",
|
|
111
|
+
id: D,
|
|
112
|
+
children: m
|
|
113
|
+
})
|
|
114
|
+
]
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
//#endregion
|
|
118
|
+
export { f as t };
|
|
119
|
+
|
|
120
|
+
//# sourceMappingURL=ProgressBar-BzdsY7oR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar-BzdsY7oR.js","names":["limitTone","readProgress","value","max","current","formatPercent","rounded","percent","describeProgress","customText","valueText","progress","percentText","usesUsageTone","derivesWrongPercent","progressStyle","width","isBelowWarning","hasContent","node","ProgressHeader","labelId","showsReading","showValue","reading","label","ProgressBar","forwardRef","ariaLabel","labelledBy","describedBy","rest","id","useId","hintId","hint","tone","Stack","className","size"],"sources":["../../src/components/ProgressBar/progress.ts","../../src/components/ProgressBar/index.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\nimport { limitTone } from \"../LimitReading/limit\";\n\nexport interface Progress {\n /** The value clamped to the range, for `aria-valuenow`. */\n current: number;\n /** The clamped fill, from 0 to 100. */\n percent: number;\n /** The unclamped share of the range, so usage can show an overage. */\n ratio: number;\n}\n\n/** A zero range is an empty task, so it is complete. Other unusable input is indeterminate. */\nexport function readProgress(value: number | undefined, max: number): Progress | undefined {\n if (value === undefined || !Number.isFinite(value) || !Number.isFinite(max) || max < 0) {\n return undefined;\n }\n if (max === 0) {\n return { current: 0, percent: 100, ratio: 1 };\n }\n\n const current = Math.min(Math.max(value, 0), max);\n return { current, percent: (current / max) * 100, ratio: value / max };\n}\n\n/** Rounds without reporting a started task as 0%, an unfinished one as 100%, or an overage as 100%. */\nfunction formatPercent(percent: number) {\n const rounded = Math.round(percent);\n if (percent > 100) {\n return `${Math.max(rounded, 101)}%`;\n }\n return `${percent > 0 && percent < 100 ? Math.min(Math.max(rounded, 1), 99) : rounded}%`;\n}\n\ninterface ReadingOptions {\n max: number;\n usesUsageTone: boolean;\n valueText: string | undefined;\n}\n\n/** The visible reading, the accessible value text, and the usage level. Blank text is ignored. */\nexport function describeProgress(\n progress: Progress | undefined,\n { max, usesUsageTone, valueText }: ReadingOptions,\n) {\n const customText = valueText?.trim() ? valueText : undefined;\n if (!progress) {\n return { reading: customText, valueText: customText, usage: undefined };\n }\n\n // Usage shows an overage; the fill and aria-valuenow stay within the range.\n const percentText = formatPercent(\n usesUsageTone ? Math.max(progress.percent, progress.ratio * 100) : progress.percent,\n );\n // Assistive technology derives a percentage from the range unless value text replaces it.\n const derivesWrongPercent = max === 0 || (usesUsageTone && progress.ratio > 1);\n return {\n reading: customText ?? percentText,\n valueText: customText ?? (derivesWrongPercent ? percentText : undefined),\n // LimitReading's thresholds: warning from 85% and danger at or above the limit.\n usage: usesUsageTone ? limitTone({ count: progress.ratio, max: 1 }) : undefined,\n };\n}\n\nexport function progressStyle(percent: number, usesUsageTone: boolean): CSSProperties {\n const width = { \"--progress-width\": `${percent}%` };\n if (!usesUsageTone) {\n return width as CSSProperties;\n }\n\n const isBelowWarning = percent <= 60;\n return {\n ...width,\n \"--progress-mix\": `${isBelowWarning ? (percent / 60) * 100 : ((percent - 60) / 40) * 100}%`,\n \"--progress-from\": isBelowWarning ? \"var(--color-success)\" : \"var(--color-warning)\",\n \"--progress-to\": isBelowWarning ? \"var(--color-warning)\" : \"var(--color-danger)\",\n } as CSSProperties;\n}\n","import { forwardRef, useId, type ReactNode } from \"react\";\nimport { Stack } from \"../Grid\";\nimport { describeProgress, progressStyle, readProgress } from \"./progress\";\nimport type { ProgressBarProps } from \"./types\";\nimport \"./style.css\";\n\nexport type { ProgressBarProps, ProgressBarSize, ProgressBarTone } from \"./types\";\n\nfunction hasContent(node: ReactNode) {\n return typeof node === \"string\" ? node.trim() !== \"\" : node != null && typeof node !== \"boolean\";\n}\n\ninterface ProgressHeaderProps extends Pick<ProgressBarProps, \"label\" | \"showValue\"> {\n labelId: string | undefined;\n reading: string | undefined;\n}\n\nfunction ProgressHeader({\n label,\n labelId,\n reading,\n showValue = Boolean(labelId),\n}: ProgressHeaderProps) {\n const showsReading = showValue && hasContent(reading);\n if (!labelId && !showsReading) {\n return null;\n }\n\n return (\n <div className=\"ds-progress__header\">\n {labelId && (\n <span\n className=\"ds-progress__label\"\n id={labelId}\n >\n {label}\n </span>\n )}\n {showsReading && (\n <span\n className=\"ds-progress__reading\"\n aria-hidden=\"true\"\n >\n {reading}\n </span>\n )}\n </div>\n );\n}\n\n/** A passive reading of task progress. The owning application manages announcements. */\nexport const ProgressBar = forwardRef<HTMLDivElement, ProgressBarProps>(function ProgressBar(\n {\n value,\n max = 100,\n label,\n showValue,\n valueText,\n hint,\n size = \"md\",\n tone = \"primary\",\n className,\n style,\n hidden,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": labelledBy,\n \"aria-describedby\": describedBy,\n ...rest\n },\n ref,\n) {\n const id = useId();\n const labelId = hasContent(label) ? `${id}-label` : undefined;\n const hintId = hasContent(hint) ? `${id}-hint` : undefined;\n const usesUsageTone = tone === \"usage\";\n const progress = readProgress(value, max);\n const reading = describeProgress(progress, { max, usesUsageTone, valueText });\n\n return (\n <Stack\n className={[\"ds-progress\", className].filter(Boolean).join(\" \")}\n style={style}\n hidden={hidden}\n gap=\"sm\"\n data-size={size}\n data-tone={tone}\n data-usage={reading.usage}\n >\n <ProgressHeader\n label={label}\n labelId={labelId}\n reading={reading.reading}\n showValue={showValue}\n />\n <div\n {...rest}\n ref={ref}\n className=\"ds-progress__track\"\n style={progress && progressStyle(progress.percent, usesUsageTone)}\n data-indeterminate={!progress || undefined}\n role=\"progressbar\"\n aria-label={ariaLabel}\n aria-labelledby={labelledBy || (ariaLabel ? undefined : labelId)}\n aria-describedby={[describedBy, hintId].filter(Boolean).join(\" \") || undefined}\n aria-valuemin={progress && 0}\n aria-valuemax={progress && max}\n aria-valuenow={progress?.current}\n aria-valuetext={reading.valueText}\n >\n <span className=\"ds-progress__fill\" />\n </div>\n {hintId && (\n <div\n className=\"ds-progress__hint\"\n id={hintId}\n >\n {hint}\n </div>\n )}\n </Stack>\n );\n});\n"],"mappings":";;;;;AAaA,SAAgBC,EAAa,GAA2B,GAAmC;CACzF,IAAIC,MAAU,KAAA,KAAa,CAAC,OAAO,SAASA,CAAK,KAAK,CAAC,OAAO,SAASC,CAAG,KAAKA,IAAM,GACnF;CAEF,IAAIA,MAAQ,GACV,OAAO;EAAE,SAAS;EAAG,SAAS;EAAK,OAAO;CAAE;CAG9C,IAAMC,IAAU,KAAK,IAAI,KAAK,IAAIF,GAAO,CAAC,GAAGC,CAAG;CAChD,OAAO;EAAE;EAAS,SAAUC,IAAUD,IAAO;EAAK,OAAOD,IAAQC;CAAI;AACvE;AAGA,SAASE,EAAc,GAAiB;CACtC,IAAMC,IAAU,KAAK,MAAMC,CAAO;CAIlC,OAHIA,IAAU,MACL,GAAG,KAAK,IAAID,GAAS,GAAG,EAAE,KAE5B,GAAGC,IAAU,KAAKA,IAAU,MAAM,KAAK,IAAI,KAAK,IAAID,GAAS,CAAC,GAAG,EAAE,IAAIA,EAAQ;AACxF;AASA,SAAgBE,EACd,GACA,EAAE,QAAK,kBAAe,gBACtB;CAC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|
|
|
1
|
+
const e=require("./limit-BNo4dlRj.cjs"),t=require("../components/Grid/index.cjs");let n=require("react"),r=require("react/jsx-runtime");function i(e,t){if(e===void 0||!Number.isFinite(e)||!Number.isFinite(t)||t<0)return;if(t===0)return{current:0,percent:100,ratio:1};let n=Math.min(Math.max(e,0),t);return{current:n,percent:n/t*100,ratio:e/t}}function a(e){let t=Math.round(e);return e>100?`${Math.max(t,101)}%`:`${e>0&&e<100?Math.min(Math.max(t,1),99):t}%`}function o(t,{max:n,usesUsageTone:r,valueText:i}){let o=i?.trim()?i:void 0;if(!t)return{reading:o,valueText:o,usage:void 0};let s=a(r?Math.max(t.percent,t.ratio*100):t.percent),c=n===0||r&&t.ratio>1;return{reading:o??s,valueText:o??(c?s:void 0),usage:r?e.n({count:t.ratio,max:1}):void 0}}function s(e,t){let n={"--progress-width":`${e}%`};if(!t)return n;let r=e<=60;return{...n,"--progress-mix":`${r?e/60*100:(e-60)/40*100}%`,"--progress-from":r?`var(--color-success)`:`var(--color-warning)`,"--progress-to":r?`var(--color-warning)`:`var(--color-danger)`}}function c(e){return typeof e==`string`?e.trim()!==``:e!=null&&typeof e!=`boolean`}function l({label:e,labelId:t,reading:n,showValue:i=!!t}){let a=i&&c(n);return!t&&!a?null:(0,r.jsxs)(`div`,{className:`ds-progress__header`,children:[t&&(0,r.jsx)(`span`,{className:`ds-progress__label`,id:t,children:e}),a&&(0,r.jsx)(`span`,{className:`ds-progress__reading`,"aria-hidden":`true`,children:n})]})}var u=(0,n.forwardRef)(function({value:e,max:a=100,label:u,showValue:d,valueText:f,hint:p,size:m=`md`,tone:h=`primary`,className:g,style:_,hidden:v,"aria-label":y,"aria-labelledby":b,"aria-describedby":x,...S},C){let w=(0,n.useId)(),T=c(u)?`${w}-label`:void 0,E=c(p)?`${w}-hint`:void 0,D=h===`usage`,O=i(e,a),k=o(O,{max:a,usesUsageTone:D,valueText:f});return(0,r.jsxs)(t.Stack,{className:[`ds-progress`,g].filter(Boolean).join(` `),style:_,hidden:v,gap:`sm`,"data-size":m,"data-tone":h,"data-usage":k.usage,children:[(0,r.jsx)(l,{label:u,labelId:T,reading:k.reading,showValue:d}),(0,r.jsx)(`div`,{...S,ref:C,className:`ds-progress__track`,style:O&&s(O.percent,D),"data-indeterminate":!O||void 0,role:`progressbar`,"aria-label":y,"aria-labelledby":b||(y?void 0:T),"aria-describedby":[x,E].filter(Boolean).join(` `)||void 0,"aria-valuemin":O&&0,"aria-valuemax":O&&a,"aria-valuenow":O?.current,"aria-valuetext":k.valueText,children:(0,r.jsx)(`span`,{className:`ds-progress__fill`})}),E&&(0,r.jsx)(`div`,{className:`ds-progress__hint`,id:E,children:p})]})});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
|
|
2
|
+
//# sourceMappingURL=ProgressBar-C3F4HPIQ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar-C3F4HPIQ.cjs","names":["limitTone","forwardRef","useId","Stack","require_limit","require_components_Grid_index","react","react_jsx_runtime","readProgress","value","max","current","formatPercent","rounded","percent","describeProgress","customText","valueText","progress","percentText","usesUsageTone","derivesWrongPercent","progressStyle","width","isBelowWarning","hasContent","node","ProgressHeader","labelId","showsReading","showValue","reading","label","ProgressBar","ariaLabel","labelledBy","describedBy","rest","id","hintId","hint","tone","className","size"],"sources":["../../src/components/ProgressBar/progress.ts","../../src/components/ProgressBar/index.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\nimport { limitTone } from \"../LimitReading/limit\";\n\nexport interface Progress {\n /** The value clamped to the range, for `aria-valuenow`. */\n current: number;\n /** The clamped fill, from 0 to 100. */\n percent: number;\n /** The unclamped share of the range, so usage can show an overage. */\n ratio: number;\n}\n\n/** A zero range is an empty task, so it is complete. Other unusable input is indeterminate. */\nexport function readProgress(value: number | undefined, max: number): Progress | undefined {\n if (value === undefined || !Number.isFinite(value) || !Number.isFinite(max) || max < 0) {\n return undefined;\n }\n if (max === 0) {\n return { current: 0, percent: 100, ratio: 1 };\n }\n\n const current = Math.min(Math.max(value, 0), max);\n return { current, percent: (current / max) * 100, ratio: value / max };\n}\n\n/** Rounds without reporting a started task as 0%, an unfinished one as 100%, or an overage as 100%. */\nfunction formatPercent(percent: number) {\n const rounded = Math.round(percent);\n if (percent > 100) {\n return `${Math.max(rounded, 101)}%`;\n }\n return `${percent > 0 && percent < 100 ? Math.min(Math.max(rounded, 1), 99) : rounded}%`;\n}\n\ninterface ReadingOptions {\n max: number;\n usesUsageTone: boolean;\n valueText: string | undefined;\n}\n\n/** The visible reading, the accessible value text, and the usage level. Blank text is ignored. */\nexport function describeProgress(\n progress: Progress | undefined,\n { max, usesUsageTone, valueText }: ReadingOptions,\n) {\n const customText = valueText?.trim() ? valueText : undefined;\n if (!progress) {\n return { reading: customText, valueText: customText, usage: undefined };\n }\n\n // Usage shows an overage; the fill and aria-valuenow stay within the range.\n const percentText = formatPercent(\n usesUsageTone ? Math.max(progress.percent, progress.ratio * 100) : progress.percent,\n );\n // Assistive technology derives a percentage from the range unless value text replaces it.\n const derivesWrongPercent = max === 0 || (usesUsageTone && progress.ratio > 1);\n return {\n reading: customText ?? percentText,\n valueText: customText ?? (derivesWrongPercent ? percentText : undefined),\n // LimitReading's thresholds: warning from 85% and danger at or above the limit.\n usage: usesUsageTone ? limitTone({ count: progress.ratio, max: 1 }) : undefined,\n };\n}\n\nexport function progressStyle(percent: number, usesUsageTone: boolean): CSSProperties {\n const width = { \"--progress-width\": `${percent}%` };\n if (!usesUsageTone) {\n return width as CSSProperties;\n }\n\n const isBelowWarning = percent <= 60;\n return {\n ...width,\n \"--progress-mix\": `${isBelowWarning ? (percent / 60) * 100 : ((percent - 60) / 40) * 100}%`,\n \"--progress-from\": isBelowWarning ? \"var(--color-success)\" : \"var(--color-warning)\",\n \"--progress-to\": isBelowWarning ? \"var(--color-warning)\" : \"var(--color-danger)\",\n } as CSSProperties;\n}\n","import { forwardRef, useId, type ReactNode } from \"react\";\nimport { Stack } from \"../Grid\";\nimport { describeProgress, progressStyle, readProgress } from \"./progress\";\nimport type { ProgressBarProps } from \"./types\";\nimport \"./style.css\";\n\nexport type { ProgressBarProps, ProgressBarSize, ProgressBarTone } from \"./types\";\n\nfunction hasContent(node: ReactNode) {\n return typeof node === \"string\" ? node.trim() !== \"\" : node != null && typeof node !== \"boolean\";\n}\n\ninterface ProgressHeaderProps extends Pick<ProgressBarProps, \"label\" | \"showValue\"> {\n labelId: string | undefined;\n reading: string | undefined;\n}\n\nfunction ProgressHeader({\n label,\n labelId,\n reading,\n showValue = Boolean(labelId),\n}: ProgressHeaderProps) {\n const showsReading = showValue && hasContent(reading);\n if (!labelId && !showsReading) {\n return null;\n }\n\n return (\n <div className=\"ds-progress__header\">\n {labelId && (\n <span\n className=\"ds-progress__label\"\n id={labelId}\n >\n {label}\n </span>\n )}\n {showsReading && (\n <span\n className=\"ds-progress__reading\"\n aria-hidden=\"true\"\n >\n {reading}\n </span>\n )}\n </div>\n );\n}\n\n/** A passive reading of task progress. The owning application manages announcements. */\nexport const ProgressBar = forwardRef<HTMLDivElement, ProgressBarProps>(function ProgressBar(\n {\n value,\n max = 100,\n label,\n showValue,\n valueText,\n hint,\n size = \"md\",\n tone = \"primary\",\n className,\n style,\n hidden,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": labelledBy,\n \"aria-describedby\": describedBy,\n ...rest\n },\n ref,\n) {\n const id = useId();\n const labelId = hasContent(label) ? `${id}-label` : undefined;\n const hintId = hasContent(hint) ? `${id}-hint` : undefined;\n const usesUsageTone = tone === \"usage\";\n const progress = readProgress(value, max);\n const reading = describeProgress(progress, { max, usesUsageTone, valueText });\n\n return (\n <Stack\n className={[\"ds-progress\", className].filter(Boolean).join(\" \")}\n style={style}\n hidden={hidden}\n gap=\"sm\"\n data-size={size}\n data-tone={tone}\n data-usage={reading.usage}\n >\n <ProgressHeader\n label={label}\n labelId={labelId}\n reading={reading.reading}\n showValue={showValue}\n />\n <div\n {...rest}\n ref={ref}\n className=\"ds-progress__track\"\n style={progress && progressStyle(progress.percent, usesUsageTone)}\n data-indeterminate={!progress || undefined}\n role=\"progressbar\"\n aria-label={ariaLabel}\n aria-labelledby={labelledBy || (ariaLabel ? undefined : labelId)}\n aria-describedby={[describedBy, hintId].filter(Boolean).join(\" \") || undefined}\n aria-valuemin={progress && 0}\n aria-valuemax={progress && max}\n aria-valuenow={progress?.current}\n aria-valuetext={reading.valueText}\n >\n <span className=\"ds-progress__fill\" />\n </div>\n {hintId && (\n <div\n className=\"ds-progress__hint\"\n id={hintId}\n >\n {hint}\n </div>\n )}\n </Stack>\n );\n});\n"],"mappings":"A,wIAaA,SAAgBQ,EAAa,EAA2B,EAAmC,CACzF,GAAIC,IAAU,IAAA,IAAa,CAAC,OAAO,SAASA,CAAK,GAAK,CAAC,OAAO,SAASC,CAAG,GAAKA,EAAM,EACnF,OAEF,GAAIA,IAAQ,EACV,MAAO,CAAE,QAAS,EAAG,QAAS,IAAK,MAAO,CAAE,EAG9C,IAAMC,EAAU,KAAK,IAAI,KAAK,IAAIF,EAAO,CAAC,EAAGC,CAAG,EAChD,MAAO,CAAE,UAAS,QAAUC,EAAUD,EAAO,IAAK,MAAOD,EAAQC,CAAI,CACvE,CAGA,SAASE,EAAc,EAAiB,CACtC,IAAMC,EAAU,KAAK,MAAMC,CAAO,EAIlC,OAHIA,EAAU,IACL,GAAG,KAAK,IAAID,EAAS,GAAG,EAAE,GAE5B,GAAGC,EAAU,GAAKA,EAAU,IAAM,KAAK,IAAI,KAAK,IAAID,EAAS,CAAC,EAAG,EAAE,EAAIA,EAAQ,EACxF,CASA,SAAgBE,EACd,EACA,CAAE,MAAK,gBAAe,aACtB,CACA,IAAMC,EAAaC,GAAW,KAAK,EAAIA,EAAY,IAAA,GACnD,GAAI,CAACC,EACH,MAAO,CAAE,QAASF,EAAY,UAAWA,EAAY,MAAO,IAAA,EAAU,EAIxE,IAAMG,EAAcP,EAClBQ,EAAgB,KAAK,IAAIF,EAAS,QAASA,EAAS,M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C,E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/ProgressBar-C3F4HPIQ.cjs");exports.ProgressBar=e.t;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ProgressBarProps } from "./types.cjs";
|
|
2
|
+
export type { ProgressBarProps, ProgressBarSize, ProgressBarTone } from "./types.cjs";
|
|
3
|
+
/** A passive reading of task progress. The owning application manages announcements. */
|
|
4
|
+
export declare const ProgressBar: import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/ProgressBar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,aAAa,CAAC;AAErB,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA4ClF,wFAAwF;AACxF,eAAO,MAAM,WAAW,6GAsEtB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ProgressBarProps } from "./types.js";
|
|
2
|
+
export type { ProgressBarProps, ProgressBarSize, ProgressBarTone } from "./types.js";
|
|
3
|
+
/** A passive reading of task progress. The owning application manages announcements. */
|
|
4
|
+
export declare const ProgressBar: import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,aAAa,CAAC;AAErB,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA4ClF,wFAAwF;AACxF,eAAO,MAAM,WAAW,6GAsEtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as ProgressBar } from "../../chunks/ProgressBar-BzdsY7oR.js";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export interface Progress {
|
|
3
|
+
/** The value clamped to the range, for `aria-valuenow`. */
|
|
4
|
+
current: number;
|
|
5
|
+
/** The clamped fill, from 0 to 100. */
|
|
6
|
+
percent: number;
|
|
7
|
+
/** The unclamped share of the range, so usage can show an overage. */
|
|
8
|
+
ratio: number;
|
|
9
|
+
}
|
|
10
|
+
/** A zero range is an empty task, so it is complete. Other unusable input is indeterminate. */
|
|
11
|
+
export declare function readProgress(value: number | undefined, max: number): Progress | undefined;
|
|
12
|
+
interface ReadingOptions {
|
|
13
|
+
max: number;
|
|
14
|
+
usesUsageTone: boolean;
|
|
15
|
+
valueText: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
/** The visible reading, the accessible value text, and the usage level. Blank text is ignored. */
|
|
18
|
+
export declare function describeProgress(progress: Progress | undefined, { max, usesUsageTone, valueText }: ReadingOptions): {
|
|
19
|
+
reading: string | undefined;
|
|
20
|
+
valueText: string | undefined;
|
|
21
|
+
usage: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
reading: string;
|
|
24
|
+
valueText: string | undefined;
|
|
25
|
+
usage: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare function progressStyle(percent: number, usesUsageTone: boolean): CSSProperties;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=progress.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.cts","sourceRoot":"","sources":["../../../src/components/ProgressBar/progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,WAAW,QAAQ;IACvB,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+FAA+F;AAC/F,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAUzF;AAWD,UAAU,cAAc;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,kGAAkG;AAClG,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,EAAE,EAAE,cAAc;;;;;;;;EAmBlD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,GAAG,aAAa,CAapF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
export interface Progress {
|
|
3
|
+
/** The value clamped to the range, for `aria-valuenow`. */
|
|
4
|
+
current: number;
|
|
5
|
+
/** The clamped fill, from 0 to 100. */
|
|
6
|
+
percent: number;
|
|
7
|
+
/** The unclamped share of the range, so usage can show an overage. */
|
|
8
|
+
ratio: number;
|
|
9
|
+
}
|
|
10
|
+
/** A zero range is an empty task, so it is complete. Other unusable input is indeterminate. */
|
|
11
|
+
export declare function readProgress(value: number | undefined, max: number): Progress | undefined;
|
|
12
|
+
interface ReadingOptions {
|
|
13
|
+
max: number;
|
|
14
|
+
usesUsageTone: boolean;
|
|
15
|
+
valueText: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
/** The visible reading, the accessible value text, and the usage level. Blank text is ignored. */
|
|
18
|
+
export declare function describeProgress(progress: Progress | undefined, { max, usesUsageTone, valueText }: ReadingOptions): {
|
|
19
|
+
reading: string | undefined;
|
|
20
|
+
valueText: string | undefined;
|
|
21
|
+
usage: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
reading: string;
|
|
24
|
+
valueText: string | undefined;
|
|
25
|
+
usage: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare function progressStyle(percent: number, usesUsageTone: boolean): CSSProperties;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,WAAW,QAAQ;IACvB,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+FAA+F;AAC/F,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAUzF;AAWD,UAAU,cAAc;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,kGAAkG;AAClG,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,EAAE,EAAE,cAAc;;;;;;;;EAmBlD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,GAAG,aAAa,CAapF"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.ds-progress {
|
|
3
|
+
/* Resolved per bar, so scoped Slider and Skeleton overrides reach it. */
|
|
4
|
+
--progress-height: var(--progress-height-md, var(--slider-track-height));
|
|
5
|
+
--progress-fill: var(--color-primary);
|
|
6
|
+
--progress-ink: var(--color-text-muted);
|
|
7
|
+
--progress-weight: var(--font-weight-regular);
|
|
8
|
+
--progress-sign: 1;
|
|
9
|
+
|
|
10
|
+
min-inline-size: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Transforms are physical, so the fill and sweep turn with the text direction. */
|
|
14
|
+
.ds-progress:dir(rtl) {
|
|
15
|
+
--progress-sign: -1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ds-progress[data-size="sm"] {
|
|
19
|
+
--progress-height: var(--progress-height-sm);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ds-progress[data-size="lg"] {
|
|
23
|
+
--progress-height: var(--progress-height-lg);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ds-progress[data-tone="success"] {
|
|
27
|
+
--progress-fill: var(--color-success);
|
|
28
|
+
--progress-ink: var(--color-success-text);
|
|
29
|
+
--progress-weight: var(--font-weight-semibold);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ds-progress[data-tone="warning"] {
|
|
33
|
+
--progress-fill: var(--color-warning);
|
|
34
|
+
--progress-ink: var(--color-warning-text);
|
|
35
|
+
--progress-weight: var(--font-weight-semibold);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ds-progress[data-tone="danger"] {
|
|
39
|
+
--progress-fill: var(--color-danger);
|
|
40
|
+
--progress-ink: var(--color-danger-text);
|
|
41
|
+
--progress-weight: var(--font-weight-semibold);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Usage readings match LimitReading's text: warning from 85%, danger at the limit. */
|
|
45
|
+
.ds-progress[data-usage="warning"] {
|
|
46
|
+
--progress-ink: var(--color-warning-text);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ds-progress[data-usage="danger"] {
|
|
50
|
+
--progress-ink: var(--color-danger-text);
|
|
51
|
+
--progress-weight: var(--font-weight-semibold);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ds-progress__header {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: baseline;
|
|
57
|
+
gap: var(--space-3);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ds-progress__label {
|
|
61
|
+
min-inline-size: 0;
|
|
62
|
+
color: var(--color-text);
|
|
63
|
+
font-size: var(--font-size-sm);
|
|
64
|
+
font-weight: var(--font-weight-semibold);
|
|
65
|
+
overflow-wrap: break-word;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ds-progress__reading {
|
|
69
|
+
flex: none;
|
|
70
|
+
margin-inline-start: auto;
|
|
71
|
+
color: var(--progress-ink);
|
|
72
|
+
font-family: var(--font-mono);
|
|
73
|
+
font-size: var(--font-size-xs);
|
|
74
|
+
font-variant-numeric: tabular-nums;
|
|
75
|
+
font-weight: var(--progress-weight);
|
|
76
|
+
text-align: end;
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ds-progress__track {
|
|
81
|
+
--field-paint: var(--field-hover);
|
|
82
|
+
|
|
83
|
+
position: relative;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
block-size: var(--progress-height);
|
|
86
|
+
border-radius: var(--radius-pill);
|
|
87
|
+
background: var(--field-hover);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* The fill spans the track and moves only by transform, which keeps it off
|
|
91
|
+
* the main thread. A determinate bar slides it back by the unfilled share,
|
|
92
|
+
* and the track clips the rest. */
|
|
93
|
+
.ds-progress__fill {
|
|
94
|
+
position: absolute;
|
|
95
|
+
inset: 0;
|
|
96
|
+
border-radius: inherit;
|
|
97
|
+
transform: translateX(calc(var(--progress-sign) * (var(--progress-width, 0%) - 100%)));
|
|
98
|
+
transition: transform var(--duration-base) var(--ease-standard);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ds-progress__fill::before {
|
|
102
|
+
content: "";
|
|
103
|
+
position: absolute;
|
|
104
|
+
inset-block: 0;
|
|
105
|
+
inset-inline-start: 0;
|
|
106
|
+
inline-size: 100%;
|
|
107
|
+
border-radius: inherit;
|
|
108
|
+
background: var(--progress-fill);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ds-progress[data-tone="usage"] > .ds-progress__track:not([data-indeterminate]) {
|
|
112
|
+
--progress-fill: color-mix(
|
|
113
|
+
in oklch,
|
|
114
|
+
var(--progress-to) var(--progress-mix),
|
|
115
|
+
var(--progress-from)
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* An indeterminate bar paints one segment and carries it from just before
|
|
120
|
+
* the inline start to just past the inline end. */
|
|
121
|
+
.ds-progress__track[data-indeterminate] > .ds-progress__fill {
|
|
122
|
+
transition: none;
|
|
123
|
+
animation: ds-progress-sweep var(--progress-sweep-duration, var(--skeleton-duration))
|
|
124
|
+
var(--ease-panel) infinite;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ds-progress__track[data-indeterminate] > .ds-progress__fill::before {
|
|
128
|
+
inline-size: var(--progress-sweep-width);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ds-progress__hint {
|
|
132
|
+
color: var(--color-text-muted);
|
|
133
|
+
font-size: var(--font-size-xs);
|
|
134
|
+
line-height: var(--line-height-body);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@keyframes ds-progress-sweep {
|
|
138
|
+
from {
|
|
139
|
+
transform: translateX(calc(var(--progress-sign) * -1 * var(--progress-sweep-width)));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
to {
|
|
143
|
+
transform: translateX(calc(var(--progress-sign) * 100%));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (prefers-reduced-motion: reduce) {
|
|
148
|
+
.ds-progress__fill {
|
|
149
|
+
transition: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* A still, centred segment reads neither as a value nor as completion. */
|
|
153
|
+
.ds-progress__track[data-indeterminate] > .ds-progress__fill {
|
|
154
|
+
animation: none;
|
|
155
|
+
transform: translateX(calc(var(--progress-sign) * (50% - var(--progress-sweep-width) / 2)));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Forced colours replace backgrounds with Canvas, so outline the track and
|
|
160
|
+
* paint the fill in the system highlight. */
|
|
161
|
+
@media (forced-colors: active) {
|
|
162
|
+
.ds-progress__track {
|
|
163
|
+
outline: 1px solid canvastext;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ds-progress__fill::before {
|
|
167
|
+
background: highlight;
|
|
168
|
+
forced-color-adjust: none;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type ProgressBarSize = "sm" | "md" | "lg";
|
|
3
|
+
export type ProgressBarTone = "primary" | "success" | "warning" | "danger" | "usage";
|
|
4
|
+
/**
|
|
5
|
+
* `className`, `style` and `hidden` apply to the whole component. The ref and
|
|
6
|
+
* every other HTML attribute belong to the progress track.
|
|
7
|
+
*/
|
|
8
|
+
export interface ProgressBarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "role" | "aria-valuemin" | "aria-valuemax" | "aria-valuenow" | "aria-valuetext"> {
|
|
9
|
+
/** Omit for indeterminate progress. Finite values are clamped to the range. */
|
|
10
|
+
value?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Defaults to 100. A maximum of 0 is an empty task and reads as complete. A
|
|
13
|
+
* negative or non-finite maximum makes progress indeterminate.
|
|
14
|
+
*/
|
|
15
|
+
max?: number;
|
|
16
|
+
/** Use `aria-label` or `aria-labelledby` when omitting the visible label. */
|
|
17
|
+
label?: ReactNode;
|
|
18
|
+
/** Show the reading in the header. Defaults to whether a visible label is present. */
|
|
19
|
+
showValue?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Replaces the visible percentage and supplies `aria-valuetext`. Blank text
|
|
22
|
+
* falls back to the percentage.
|
|
23
|
+
*/
|
|
24
|
+
valueText?: string;
|
|
25
|
+
/** Supporting content displayed below the track and linked through `aria-describedby`. */
|
|
26
|
+
hint?: ReactNode;
|
|
27
|
+
/** Defaults to `md`, the Slider track height. */
|
|
28
|
+
size?: ProgressBarSize;
|
|
29
|
+
/**
|
|
30
|
+
* Defaults to `primary`. Use words alongside status tones. `usage` follows
|
|
31
|
+
* LimitReading's colour scale and shows an overage beyond `max`.
|
|
32
|
+
*/
|
|
33
|
+
tone?: ProgressBarTone;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../../src/components/ProgressBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErF;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,MAAM,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,gBAAgB,CAC7F;IACC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6EAA6E;IAC7E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,sFAAsF;IACtF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iDAAiD;IACjD,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type ProgressBarSize = "sm" | "md" | "lg";
|
|
3
|
+
export type ProgressBarTone = "primary" | "success" | "warning" | "danger" | "usage";
|
|
4
|
+
/**
|
|
5
|
+
* `className`, `style` and `hidden` apply to the whole component. The ref and
|
|
6
|
+
* every other HTML attribute belong to the progress track.
|
|
7
|
+
*/
|
|
8
|
+
export interface ProgressBarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "role" | "aria-valuemin" | "aria-valuemax" | "aria-valuenow" | "aria-valuetext"> {
|
|
9
|
+
/** Omit for indeterminate progress. Finite values are clamped to the range. */
|
|
10
|
+
value?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Defaults to 100. A maximum of 0 is an empty task and reads as complete. A
|
|
13
|
+
* negative or non-finite maximum makes progress indeterminate.
|
|
14
|
+
*/
|
|
15
|
+
max?: number;
|
|
16
|
+
/** Use `aria-label` or `aria-labelledby` when omitting the visible label. */
|
|
17
|
+
label?: ReactNode;
|
|
18
|
+
/** Show the reading in the header. Defaults to whether a visible label is present. */
|
|
19
|
+
showValue?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Replaces the visible percentage and supplies `aria-valuetext`. Blank text
|
|
22
|
+
* falls back to the percentage.
|
|
23
|
+
*/
|
|
24
|
+
valueText?: string;
|
|
25
|
+
/** Supporting content displayed below the track and linked through `aria-describedby`. */
|
|
26
|
+
hint?: ReactNode;
|
|
27
|
+
/** Defaults to `md`, the Slider track height. */
|
|
28
|
+
size?: ProgressBarSize;
|
|
29
|
+
/**
|
|
30
|
+
* Defaults to `primary`. Use words alongside status tones. `usage` follows
|
|
31
|
+
* LimitReading's colour scale and shows an overage beyond `max`.
|
|
32
|
+
*/
|
|
33
|
+
tone?: ProgressBarTone;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErF;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,MAAM,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,gBAAgB,CAC7F;IACC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6EAA6E;IAC7E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,sFAAsF;IACtF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iDAAiD;IACjD,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunks/Icon-3ucBRgrd.cjs"),t=require("./components/Button/index.cjs"),n=require("./chunks/Drawer-DdIH9jpe.cjs"),r=require("./chunks/overlayLayer-iGhuAByk.cjs"),i=require("./components/SideNav/index.cjs"),a=require("./components/TopNav/index.cjs"),o=require("./components/AppShell/index.cjs"),s=require("./components/ButtonGroup/index.cjs"),c=require("./components/Badge/index.cjs"),l=require("./components/LimitReading/index.cjs"),u=require("./components/Field/index.cjs"),d=require("./components/Modal/index.cjs"),f=require("./components/TextField/index.cjs"),p=require("./chunks/RichTextEditor-DU9CVeRD.cjs"),m=require("./components/Popover/index.cjs"),h=require("./components/Menu/index.cjs"),g=require("./components/Skeleton/index.cjs"),_=require("./components/Banner/index.cjs"),v=require("./chunks/LoadState-BXLG-SkQ.cjs"),y=require("./components/FieldAffix/index.cjs"),b=require("./components/SearchField/index.cjs"),x=require("./components/Grid/index.cjs"),S=require("./components/Choice/index.cjs"),C=require("./components/Container/index.cjs"),w=require("./components/SortableList/index.cjs"),T=require("./chunks/EntryPicker-B4dAsObz.cjs"),E=require("./chunks/NumberField-BrWFmPkW.cjs"),D=require("./components/Select/index.cjs"),O=require("./components/Switch/index.cjs"),k=require("./chunks/Slider-BfvNPjRJ.cjs"),A=require("./chunks/ColourField-DFvRASVe.cjs"),j=require("./chunks/DatePicker-ClOqS6oH.cjs"),M=require("./components/TagsInput/index.cjs"),N=require("./components/SelectionCard/index.cjs"),P=require("./chunks/FormEditor-BGzE-rqk.cjs"),F=require("./chunks/Board-CQ1GTuRB.cjs"),I=require("./chunks/Avatar-BY0dAItT.cjs"),L=require("./components/Table/index.cjs"),
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunks/Icon-3ucBRgrd.cjs"),t=require("./components/Button/index.cjs"),n=require("./chunks/Drawer-DdIH9jpe.cjs"),r=require("./chunks/overlayLayer-iGhuAByk.cjs"),i=require("./components/SideNav/index.cjs"),a=require("./components/TopNav/index.cjs"),o=require("./components/AppShell/index.cjs"),s=require("./components/ButtonGroup/index.cjs"),c=require("./components/Badge/index.cjs"),l=require("./components/LimitReading/index.cjs"),u=require("./components/Field/index.cjs"),d=require("./components/Modal/index.cjs"),f=require("./components/TextField/index.cjs"),p=require("./chunks/RichTextEditor-DU9CVeRD.cjs"),m=require("./components/Popover/index.cjs"),h=require("./components/Menu/index.cjs"),g=require("./components/Skeleton/index.cjs"),_=require("./components/Banner/index.cjs"),v=require("./chunks/LoadState-BXLG-SkQ.cjs"),y=require("./components/FieldAffix/index.cjs"),b=require("./components/SearchField/index.cjs"),x=require("./components/Grid/index.cjs"),S=require("./components/Choice/index.cjs"),C=require("./components/Container/index.cjs"),w=require("./components/SortableList/index.cjs"),T=require("./chunks/EntryPicker-B4dAsObz.cjs"),E=require("./chunks/NumberField-BrWFmPkW.cjs"),D=require("./components/Select/index.cjs"),O=require("./components/Switch/index.cjs"),k=require("./chunks/Slider-BfvNPjRJ.cjs"),A=require("./chunks/ColourField-DFvRASVe.cjs"),j=require("./chunks/DatePicker-ClOqS6oH.cjs"),M=require("./components/TagsInput/index.cjs"),N=require("./components/SelectionCard/index.cjs"),P=require("./chunks/FormEditor-BGzE-rqk.cjs"),F=require("./chunks/Board-CQ1GTuRB.cjs"),I=require("./chunks/Avatar-BY0dAItT.cjs"),L=require("./chunks/ProgressBar-C3F4HPIQ.cjs"),R=require("./components/Table/index.cjs"),z=require("./components/Toast/index.cjs"),B=require("./components/SubNav/index.cjs"),V=require("./components/Stepper/index.cjs"),H=require("./components/AssetCard/index.cjs"),U=require("./components/AssetGrid/index.cjs"),W=require("./components/ImageCropper/index.cjs"),G=require("./components/Time/index.cjs"),K=require("./components/Pagination/index.cjs"),q=require("./components/EditLayout/index.cjs"),J=require("./chunks/CollectionView-CIJdNwcq.cjs"),Y=require("./components/EditSection/index.cjs"),X=require("./components/PageHeader/index.cjs"),Z=require("./components/MetaList/index.cjs"),Q=require("./chunks/Wizard-B_CPW1V6.cjs");exports.AppShell=o.AppShell,exports.AssetCard=H.AssetCard,exports.AssetCardSkeleton=H.AssetCardSkeleton,exports.AssetGrid=U.AssetGrid,exports.AssetGridEmpty=U.AssetGridEmpty,exports.Avatar=I.t,exports.AvatarGroup=I.n,exports.Badge=c.Badge,exports.Banner=_.Banner,exports.Board=F.t,exports.BoardCard=F.n,exports.BoardColumn=F.r,exports.Button=t.Button,exports.ButtonGroup=s.ButtonGroup,exports.Calendar=j.t,exports.Checkbox=S.Checkbox,exports.CheckboxCard=N.CheckboxCard,exports.ChoiceGroup=S.ChoiceGroup,exports.CollectionEmpty=J.n,exports.CollectionView=J.t,exports.ColourField=A.t,exports.ColourPanel=A.n,exports.Container=C.Container,exports.DateField=j.n,exports.DateRangeField=j.r,exports.Drawer=n.t,exports.EditLayout=q.EditLayout,exports.EditSection=Y.EditSection,exports.EntryPicker=T.t,exports.Field=u.Field,exports.FieldAffix=y.FieldAffix,exports.FormEditor=P.t,exports.Grid=x.Grid,exports.GridItem=x.GridItem,exports.Icon=e.t,exports.ImageCropper=W.ImageCropper,exports.LimitReading=l.LimitReading,exports.LoadError=v.r,exports.LoadState=v.t,exports.Menu=h.Menu,exports.MenuItem=h.MenuItem,exports.MenuLabel=h.MenuLabel,exports.MenuSeparator=h.MenuSeparator,exports.MetaList=Z.MetaList,exports.Modal=d.Modal,exports.NumberField=E.t,exports.NumberRangeField=E.n,exports.OverlayLayer=r.n,exports.PageHeader=X.PageHeader,exports.Pagination=K.Pagination,exports.Popover=m.Popover,exports.ProgressBar=L.t,exports.Radio=S.Radio,exports.RadioCard=N.RadioCard,exports.RangeSlider=k.t,exports.ReviewTable=Q.n,exports.RichTextEditor=p.t,exports.SearchField=b.SearchField,exports.Select=D.Select,exports.SelectionCardGroup=N.SelectionCardGroup,exports.SideNav=i.SideNav,exports.SideNavFooter=i.SideNavFooter,exports.SideNavHeader=i.SideNavHeader,exports.SideNavItem=i.SideNavItem,exports.SideNavSection=i.SideNavSection,exports.Skeleton=g.Skeleton,exports.SkeletonText=g.SkeletonText,exports.Slider=k.n,exports.SortableList=w.SortableList,exports.SortableListItem=w.SortableListItem,exports.Stack=x.Stack,exports.Stepper=V.Stepper,exports.SubNav=B.SubNav,exports.SubNavButton=B.SubNavButton,exports.SubNavItem=B.SubNavItem,exports.Switch=O.Switch,exports.Table=R.Table,exports.TableBody=R.TableBody,exports.TableCell=R.TableCell,exports.TableEmpty=R.TableEmpty,exports.TableFrame=R.TableFrame,exports.TableHead=R.TableHead,exports.TableHeaderCell=R.TableHeaderCell,exports.TableRow=R.TableRow,exports.TableToolbar=R.TableToolbar,exports.TagsInput=M.TagsInput,exports.TextArea=f.TextArea,exports.TextField=f.TextField,exports.Time=G.Time,exports.Toast=z.Toast,exports.ToastProvider=z.ToastProvider,exports.TopNav=a.TopNav,exports.TopNavItem=a.TopNavItem,exports.Wizard=Q.t,exports.cropToBlob=W.cropToBlob,exports.formatAbsoluteDate=G.formatAbsoluteDate,exports.formatAbsoluteTime=G.formatAbsoluteTime,exports.formatIsoDate=j.i,exports.formatRelativeTime=G.formatRelativeTime,exports.iconNames=e.n,exports.icons=e.r,exports.useSideNavCollapsed=i.useSideNavCollapsed,exports.useToast=z.useToast,exports.validateFormValues=P.n;
|
package/dist/index.d.cts
CHANGED
|
@@ -26,6 +26,8 @@ export { Field } from "./components/Field/index.cjs";
|
|
|
26
26
|
export type { FieldBinding, FieldLimit, FieldLimitOptions, FieldProps, FieldRenderProps, FieldSize, } from "./components/Field/index.cjs";
|
|
27
27
|
export { LimitReading } from "./components/LimitReading/index.cjs";
|
|
28
28
|
export type { LimitReadingProps, LimitReadingSize, LimitReadingDisplay, LimitReadingTone, } from "./components/LimitReading/index.cjs";
|
|
29
|
+
export { ProgressBar } from "./components/ProgressBar/index.cjs";
|
|
30
|
+
export type { ProgressBarProps, ProgressBarSize, ProgressBarTone } from "./components/ProgressBar/index.cjs";
|
|
29
31
|
export { TextField, TextArea } from "./components/TextField/index.cjs";
|
|
30
32
|
export type { TextFieldProps, TextAreaProps } from "./components/TextField/index.cjs";
|
|
31
33
|
export { Checkbox, Radio, ChoiceGroup } from "./components/Choice/index.cjs";
|
package/dist/index.d.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,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export { Field } from "./components/Field/index.js";
|
|
|
26
26
|
export type { FieldBinding, FieldLimit, FieldLimitOptions, FieldProps, FieldRenderProps, FieldSize, } from "./components/Field/index.js";
|
|
27
27
|
export { LimitReading } from "./components/LimitReading/index.js";
|
|
28
28
|
export type { LimitReadingProps, LimitReadingSize, LimitReadingDisplay, LimitReadingTone, } from "./components/LimitReading/index.js";
|
|
29
|
+
export { ProgressBar } from "./components/ProgressBar/index.js";
|
|
30
|
+
export type { ProgressBarProps, ProgressBarSize, ProgressBarTone } from "./components/ProgressBar/index.js";
|
|
29
31
|
export { TextField, TextArea } from "./components/TextField/index.js";
|
|
30
32
|
export type { TextFieldProps, TextAreaProps } from "./components/TextField/index.js";
|
|
31
33
|
export { Checkbox, Radio, ChoiceGroup } from "./components/Choice/index.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,E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AU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -35,19 +35,20 @@ import { CheckboxCard as ie, RadioCard as ae, SelectionCardGroup as oe } from ".
|
|
|
35
35
|
import { n as se, t as ce } from "./chunks/FormEditor-ChH4e5sB.js";
|
|
36
36
|
import { n as le, r as ue, t as de } from "./chunks/Board-DUX76d2R.js";
|
|
37
37
|
import { n as fe, t as pe } from "./chunks/Avatar-UjhjcHh5.js";
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
|
|
38
|
+
import { t as me } from "./chunks/ProgressBar-BzdsY7oR.js";
|
|
39
|
+
import { Table as he, TableBody as ge, TableCell as _e, TableEmpty as ve, TableFrame as ye, TableHead as be, TableHeaderCell as xe, TableRow as Se, TableToolbar as Ce } from "./components/Table/index.js";
|
|
40
|
+
import { Toast as we, ToastProvider as Te, useToast as Ee } from "./components/Toast/index.js";
|
|
41
|
+
import { SubNav as De, SubNavButton as Oe, SubNavItem as ke } from "./components/SubNav/index.js";
|
|
42
|
+
import { Stepper as Ae } from "./components/Stepper/index.js";
|
|
43
|
+
import { AssetCard as je, AssetCardSkeleton as Me } from "./components/AssetCard/index.js";
|
|
44
|
+
import { AssetGrid as Ne, AssetGridEmpty as Pe } from "./components/AssetGrid/index.js";
|
|
45
|
+
import { ImageCropper as Fe, cropToBlob as Ie } from "./components/ImageCropper/index.js";
|
|
46
|
+
import { Time as Le, formatAbsoluteDate as Re, formatAbsoluteTime as ze, formatRelativeTime as Be } from "./components/Time/index.js";
|
|
47
|
+
import { Pagination as Ve } from "./components/Pagination/index.js";
|
|
48
|
+
import { EditLayout as He } from "./components/EditLayout/index.js";
|
|
49
|
+
import { n as Ue, t as We } from "./chunks/CollectionView-JRNdXHti.js";
|
|
50
|
+
import { EditSection as Ge } from "./components/EditSection/index.js";
|
|
51
|
+
import { PageHeader as Ke } from "./components/PageHeader/index.js";
|
|
52
|
+
import { MetaList as qe } from "./components/MetaList/index.js";
|
|
53
|
+
import { n as Je, t as Ye } from "./chunks/Wizard-C1iR5z44.js";
|
|
54
|
+
export { m as AppShell, je as AssetCard, Me as AssetCardSkeleton, Ne as AssetGrid, Pe as AssetGridEmpty, pe as Avatar, fe as AvatarGroup, g as Badge, A as Banner, de as Board, le as BoardCard, ue as BoardColumn, r as Button, h as ButtonGroup, ne as Calendar, R as Checkbox, ie as CheckboxCard, z as ChoiceGroup, Ue as CollectionEmpty, We as CollectionView, Q as ColourField, Z as ColourPanel, V as Container, ee as DateField, te as DateRangeField, i as Drawer, He as EditLayout, Ge as EditSection, W as EntryPicker, v as Field, N as FieldAffix, ce as FormEditor, F as Grid, I as GridItem, n as Icon, Fe as ImageCropper, _ as LimitReading, j as LoadError, M as LoadState, w as Menu, T as MenuItem, E as MenuLabel, D as MenuSeparator, qe as MetaList, y as Modal, K as NumberField, G as NumberRangeField, a as OverlayLayer, Ke as PageHeader, Ve as Pagination, C as Popover, me as ProgressBar, B as Radio, ae as RadioCard, X as RangeSlider, Je as ReviewTable, S as RichTextEditor, P as SearchField, q as Select, oe as SelectionCardGroup, o as SideNav, s as SideNavFooter, c as SideNavHeader, l as SideNavItem, u as SideNavSection, O as Skeleton, k as SkeletonText, Y as Slider, H as SortableList, U as SortableListItem, L as Stack, Ae as Stepper, De as SubNav, Oe as SubNavButton, ke as SubNavItem, J as Switch, he as Table, ge as TableBody, _e as TableCell, ve as TableEmpty, ye as TableFrame, be as TableHead, xe as TableHeaderCell, Se as TableRow, Ce as TableToolbar, re as TagsInput, b as TextArea, x as TextField, Le as Time, we as Toast, Te as ToastProvider, f as TopNav, p as TopNavItem, Ye as Wizard, Ie as cropToBlob, Re as formatAbsoluteDate, ze as formatAbsoluteTime, $ as formatIsoDate, Be as formatRelativeTime, e as iconNames, t as icons, d as useSideNavCollapsed, Ee as useToast, se as validateFormValues };
|
package/dist/styles.css
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
@import "./components/AssetCard/style.css";
|
|
32
32
|
@import "./components/AssetGrid/style.css";
|
|
33
33
|
@import "./components/Slider/style.css";
|
|
34
|
+
@import "./components/ProgressBar/style.css";
|
|
34
35
|
@import "./components/ImageCropper/style.css";
|
|
35
36
|
@import "./components/SortableList/style.css";
|
|
36
37
|
@import "./components/EntryPicker/style.css";
|
package/dist/tokens.css
CHANGED
|
@@ -83,6 +83,15 @@
|
|
|
83
83
|
--slider-track-height: 6px;
|
|
84
84
|
--slider-thumb-size: 20px;
|
|
85
85
|
|
|
86
|
+
/* Progress bars — three track heights and one indeterminate sweep. Heights
|
|
87
|
+
* share the Slider track's px unit so their order survives any root font
|
|
88
|
+
* size. Where each bar renders, the md height follows
|
|
89
|
+
* --slider-track-height and the sweep follows --skeleton-duration unless
|
|
90
|
+
* --progress-height-md or --progress-sweep-duration is set. */
|
|
91
|
+
--progress-height-sm: 4px;
|
|
92
|
+
--progress-height-lg: 8px;
|
|
93
|
+
--progress-sweep-width: 40%;
|
|
94
|
+
|
|
86
95
|
/* Switch — the only control whose knob moves; the frame never does. */
|
|
87
96
|
--switch-width: 44px;
|
|
88
97
|
--switch-height: 24px;
|