@canonical/react-ds-global 0.48.0 → 0.49.0
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/esm/lib/component/Button/Button.js +28 -12
- package/dist/esm/lib/component/Button/Button.js.map +1 -1
- package/dist/esm/lib/component/Button/styles.css +47 -17
- package/dist/types/lib/component/Button/Button.d.ts +4 -1
- package/dist/types/lib/component/Button/Button.d.ts.map +1 -1
- package/dist/types/lib/component/Button/types.d.ts +15 -4
- package/dist/types/lib/component/Button/types.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Spinner } from "../../subcomponent/Spinner/index.js";
|
|
3
3
|
import { Icon } from "../Icon/index.js";
|
|
4
4
|
import "./styles.css";
|
|
@@ -10,9 +10,12 @@ const componentCssClassName = "ds button";
|
|
|
10
10
|
*
|
|
11
11
|
* `import { Button } from "@canonical/react-ds-global";`
|
|
12
12
|
*
|
|
13
|
+
* Fragments: renders the button plus, when `loading` is controlled, a sibling
|
|
14
|
+
* status region, so the component has no single root element.
|
|
15
|
+
*
|
|
13
16
|
* @implements ds:global.component.button
|
|
14
17
|
*/
|
|
15
|
-
const Button = ({ id, className, children, style, importance = "primary", anticipation, variant, icon, loading =
|
|
18
|
+
const Button = ({ id, className, children, style, importance = "primary", anticipation, variant, icon, loading, loadingLabel = "Loading", disabled, onClick, ...props }) => {
|
|
16
19
|
// Booleans and nullish children render nothing; everything else (including
|
|
17
20
|
// the number 0) produces visible text that names the button.
|
|
18
21
|
const hasVisibleChildren = children != null && typeof children !== "boolean" && children !== "";
|
|
@@ -27,16 +30,29 @@ const Button = ({ id, className, children, style, importance = "primary", antici
|
|
|
27
30
|
// The icon slot only accepts a design-system icon name; the Icon component
|
|
28
31
|
// maps it to the @canonical/ds-assets sprite (decorative by default).
|
|
29
32
|
const iconElement = icon && (_jsx("span", { className: "icon", children: _jsx(Icon, { icon: icon }) }));
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.
|
|
39
|
-
|
|
33
|
+
// A loading button stays focusable (a natively disabled button would drop
|
|
34
|
+
// keyboard focus to the document) and is instead marked aria-disabled, with
|
|
35
|
+
// activation blocked here.
|
|
36
|
+
const isBlocked = loading === true && !disabled;
|
|
37
|
+
// Blocks activation while loading: preventDefault stops a form submission
|
|
38
|
+
// and the consumer's handler is not invoked.
|
|
39
|
+
const handleClick = (event) => {
|
|
40
|
+
if (loading) {
|
|
41
|
+
event.preventDefault();
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
onClick?.(event);
|
|
45
|
+
};
|
|
46
|
+
return (_jsxs(_Fragment, { children: [_jsxs("button", { id: id, className: [
|
|
47
|
+
componentCssClassName,
|
|
48
|
+
importance,
|
|
49
|
+
anticipation,
|
|
50
|
+
variant,
|
|
51
|
+
loading && "loading",
|
|
52
|
+
className,
|
|
53
|
+
]
|
|
54
|
+
.filter(Boolean)
|
|
55
|
+
.join(" "), style: style, "aria-busy": loading || undefined, "aria-disabled": isBlocked || undefined, disabled: disabled, ...props, onClick: handleClick, children: [iconElement, hasVisibleChildren && _jsx("span", { className: "label", children: children }), loading && (_jsx("span", { className: "loading-spinner", "aria-hidden": "true", children: _jsx(Spinner, {}) }))] }), loading !== undefined && (_jsx("span", { className: "ds button-loading-status", role: "status", children: loading ? loadingLabel : "" }))] }));
|
|
40
56
|
};
|
|
41
57
|
export default Button;
|
|
42
58
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../../src/lib/component/Button/Button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAE1C
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../../src/lib/component/Button/Button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAE1C;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,GAAG,CAAC,EACd,EAAE,EACF,SAAS,EACT,QAAQ,EACR,KAAK,EACL,UAAU,GAAG,SAAS,EACtB,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,OAAO,EACP,YAAY,GAAG,SAAS,EACxB,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACF,EAAsB,EAAE;IAC9B,2EAA2E;IAC3E,6DAA6D;IAC7D,MAAM,kBAAkB,GACtB,QAAQ,IAAI,IAAI,IAAI,OAAO,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,EAAE,CAAC;IAEvE,IACE,OAAO,OAAO,KAAK,WAAW;QAC9B,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY;QACrC,CAAC,IAAI,IAAI,OAAO,CAAC;QACjB,CAAC,kBAAkB;QACnB,CAAC,KAAK,CAAC,YAAY,CAAC;QACpB,CAAC,KAAK,CAAC,iBAAiB,CAAC,EACzB,CAAC;QACD,OAAO,CAAC,IAAI,CACV,gGAAgG,CACjG,CAAC;IACJ,CAAC;IAED,2EAA2E;IAC3E,sEAAsE;IACtE,MAAM,WAAW,GAAG,IAAI,IAAI,CAC1B,eAAM,SAAS,EAAC,MAAM,YACpB,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,GACf,CACR,CAAC;IAEF,0EAA0E;IAC1E,4EAA4E;IAC5E,2BAA2B;IAC3B,MAAM,SAAS,GAAG,OAAO,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC;IAEhD,0EAA0E;IAC1E,6CAA6C;IAC7C,MAAM,WAAW,GAA+C,CAAC,KAAK,EAAE,EAAE;QACxE,IAAI,OAAO,EAAE,CAAC;YACZ,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QACD,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACL,8BACE,kBACE,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;oBACT,qBAAqB;oBACrB,UAAU;oBACV,YAAY;oBACZ,OAAO;oBACP,OAAO,IAAI,SAAS;oBACpB,SAAS;iBACV;qBACE,MAAM,CAAC,OAAO,CAAC;qBACf,IAAI,CAAC,GAAG,CAAC,EACZ,KAAK,EAAE,KAAK,eACD,OAAO,IAAI,SAAS,mBAChB,SAAS,IAAI,SAAS,EACrC,QAAQ,EAAE,QAAQ,KACd,KAAK,EACT,OAAO,EAAE,WAAW,aAInB,WAAW,EACX,kBAAkB,IAAI,eAAM,SAAS,EAAC,OAAO,YAAE,QAAQ,GAAQ,EAC/D,OAAO,IAAI,CACV,eAAM,SAAS,EAAC,iBAAiB,iBAAa,MAAM,YAClD,KAAC,OAAO,KAAG,GACN,CACR,IACM,EAMR,OAAO,KAAK,SAAS,IAAI,CACxB,eAAM,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,QAAQ,YACrD,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,GACvB,CACR,IACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -73,10 +73,14 @@
|
|
|
73
73
|
the density seat below subtracts one constant. (The previous
|
|
74
74
|
width-multiplied toggle left the primary 2px shorter than the secondary
|
|
75
75
|
and seated its label ~1px high.) */
|
|
76
|
+
/* 100% when the importance shows a border, 0% when it does not. Every
|
|
77
|
+
border colour (enabled, disabled, loading) is mixed with transparent by
|
|
78
|
+
this amount, so a borderless importance stays borderless in all states. */
|
|
79
|
+
--button-outline-mix: calc(var(--modifier-outline, 0) * 100%);
|
|
76
80
|
border-color: color-mix(
|
|
77
81
|
in srgb,
|
|
78
82
|
var(--modifier-color-border, var(--button-color-border))
|
|
79
|
-
|
|
83
|
+
var(--button-outline-mix),
|
|
80
84
|
transparent
|
|
81
85
|
);
|
|
82
86
|
border-style: solid;
|
|
@@ -128,14 +132,14 @@
|
|
|
128
132
|
|
|
129
133
|
/* State fallbacks resolve to the default (primary) surface states when no
|
|
130
134
|
importance modifier supplies `--modifier-surface-*`. */
|
|
131
|
-
&:hover:not(:disabled) {
|
|
135
|
+
&:hover:not(:disabled, .loading) {
|
|
132
136
|
background-color: var(
|
|
133
137
|
--modifier-surface-hover,
|
|
134
138
|
var(--button-color-background-hover)
|
|
135
139
|
);
|
|
136
140
|
}
|
|
137
141
|
|
|
138
|
-
&:active:not(:disabled) {
|
|
142
|
+
&:active:not(:disabled, .loading) {
|
|
139
143
|
background-color: var(
|
|
140
144
|
--modifier-surface-active,
|
|
141
145
|
var(--button-color-background-active)
|
|
@@ -163,9 +167,14 @@
|
|
|
163
167
|
--modifier-surface-disabled,
|
|
164
168
|
var(--button-color-background-disabled)
|
|
165
169
|
);
|
|
166
|
-
border-color:
|
|
167
|
-
|
|
168
|
-
var(
|
|
170
|
+
border-color: color-mix(
|
|
171
|
+
in srgb,
|
|
172
|
+
var(
|
|
173
|
+
--modifier-color-border-disabled,
|
|
174
|
+
var(--color-border-highlighted-disabled)
|
|
175
|
+
)
|
|
176
|
+
var(--button-outline-mix),
|
|
177
|
+
transparent
|
|
169
178
|
);
|
|
170
179
|
}
|
|
171
180
|
}
|
|
@@ -201,20 +210,28 @@
|
|
|
201
210
|
Loading State
|
|
202
211
|
========================================================================== */
|
|
203
212
|
|
|
204
|
-
/* Loading
|
|
205
|
-
icon and label stay in the DOM (
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
213
|
+
/* Loading overlays a Spinner on the icon and label but keeps the button's
|
|
214
|
+
width: the icon and label stay in the DOM (transparent, so their box
|
|
215
|
+
still reserves space and the label still names the button;
|
|
216
|
+
`visibility: hidden` would remove it from the accessible name) and the
|
|
217
|
+
Spinner is centred on top. A loading button blocks activation, but it
|
|
218
|
+
must not *read* as disabled — it is working, not unavailable — so it
|
|
219
|
+
keeps the enabled surface, text and border colours, overriding the
|
|
220
|
+
:disabled greying above when both apply. */
|
|
210
221
|
.ds.button.loading {
|
|
222
|
+
cursor: progress;
|
|
211
223
|
color: var(--modifier-color-text, var(--button-color-text));
|
|
212
224
|
background-color: var(--modifier-surface, var(--button-color-background));
|
|
213
|
-
border-color:
|
|
225
|
+
border-color: color-mix(
|
|
226
|
+
in srgb,
|
|
227
|
+
var(--modifier-color-border, var(--button-color-border))
|
|
228
|
+
var(--button-outline-mix),
|
|
229
|
+
transparent
|
|
230
|
+
);
|
|
214
231
|
|
|
215
232
|
& > .icon,
|
|
216
233
|
& > .label {
|
|
217
|
-
|
|
234
|
+
opacity: 0;
|
|
218
235
|
}
|
|
219
236
|
|
|
220
237
|
& > .loading-spinner {
|
|
@@ -226,6 +243,20 @@
|
|
|
226
243
|
}
|
|
227
244
|
}
|
|
228
245
|
|
|
246
|
+
/* The status region announcing the loading label is visually hidden but
|
|
247
|
+
stays in the accessibility tree. */
|
|
248
|
+
.ds.button-loading-status {
|
|
249
|
+
position: absolute;
|
|
250
|
+
width: 1px;
|
|
251
|
+
height: 1px;
|
|
252
|
+
margin: -1px;
|
|
253
|
+
padding: 0;
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
clip-path: inset(50%);
|
|
256
|
+
white-space: nowrap;
|
|
257
|
+
border: 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
229
260
|
/* ==========================================================================
|
|
230
261
|
Link Variant
|
|
231
262
|
========================================================================== */
|
|
@@ -239,7 +270,7 @@
|
|
|
239
270
|
text-decoration: underline;
|
|
240
271
|
text-underline-offset: var(--tmp-dimension-underline-offset-link, 0.075em);
|
|
241
272
|
|
|
242
|
-
&:hover:not(:disabled) {
|
|
273
|
+
&:hover:not(:disabled, .loading) {
|
|
243
274
|
background-color: transparent;
|
|
244
275
|
border-color: transparent;
|
|
245
276
|
text-decoration-thickness: var(
|
|
@@ -248,7 +279,7 @@
|
|
|
248
279
|
);
|
|
249
280
|
}
|
|
250
281
|
|
|
251
|
-
&:active:not(:disabled) {
|
|
282
|
+
&:active:not(:disabled, .loading) {
|
|
252
283
|
background-color: transparent;
|
|
253
284
|
border-color: transparent;
|
|
254
285
|
}
|
|
@@ -328,7 +359,6 @@
|
|
|
328
359
|
box-sizing: border-box;
|
|
329
360
|
block-size: auto;
|
|
330
361
|
align-items: flex-start;
|
|
331
|
-
justify-content: flex-start;
|
|
332
362
|
line-height: var(--control-seat-line);
|
|
333
363
|
padding-block: var(--seat-before) var(--seat-after);
|
|
334
364
|
}
|
|
@@ -8,8 +8,11 @@ import "./styles.css";
|
|
|
8
8
|
*
|
|
9
9
|
* `import { Button } from "@canonical/react-ds-global";`
|
|
10
10
|
*
|
|
11
|
+
* Fragments: renders the button plus, when `loading` is controlled, a sibling
|
|
12
|
+
* status region, so the component has no single root element.
|
|
13
|
+
*
|
|
11
14
|
* @implements ds:global.component.button
|
|
12
15
|
*/
|
|
13
|
-
declare const Button: ({ id, className, children, style, importance, anticipation, variant, icon, loading, disabled, ...props }: Props) => React.ReactElement;
|
|
16
|
+
declare const Button: ({ id, className, children, style, importance, anticipation, variant, icon, loading, loadingLabel, disabled, onClick, ...props }: Props) => React.ReactElement;
|
|
14
17
|
export default Button;
|
|
15
18
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,MAAM,oIAcT,KAAK,KAAG,KAAK,CAAC,YAqFhB,CAAC;eAEa,MAAM"}
|
|
@@ -43,12 +43,23 @@ type OwnProps = {
|
|
|
43
43
|
*/
|
|
44
44
|
icon?: IconName;
|
|
45
45
|
/**
|
|
46
|
-
* Whether the button is in a loading (busy) state.
|
|
47
|
-
*
|
|
48
|
-
* the action cannot be triggered again
|
|
49
|
-
*
|
|
46
|
+
* Whether the button is in a loading (busy) state. Overlays a Spinner,
|
|
47
|
+
* marks the button `aria-busy` and `aria-disabled`, and blocks activation
|
|
48
|
+
* (clicks and form submission) so the action cannot be triggered again
|
|
49
|
+
* while it is in flight. The button stays focusable, so keyboard focus is
|
|
50
|
+
* not lost when loading starts.
|
|
51
|
+
*
|
|
52
|
+
* Passing `loading` (even as `false`) also renders a visually hidden
|
|
53
|
+
* `role="status"` region after the button that announces `loadingLabel`
|
|
54
|
+
* while loading. Pass it from the first render so the region exists before
|
|
55
|
+
* it is needed.
|
|
50
56
|
*/
|
|
51
57
|
loading?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Text announced by assistive technology when `loading` becomes true.
|
|
60
|
+
* @default "Loading"
|
|
61
|
+
*/
|
|
62
|
+
loadingLabel?: string;
|
|
52
63
|
};
|
|
53
64
|
type Props = OwnProps & Omit<ComponentProps<"button">, keyof OwnProps>;
|
|
54
65
|
export type { Props as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;;;GAKG;AACH,KAAK,QAAQ,GAAG;IACd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;;;GAKG;AACH,KAAK,QAAQ,GAAG;IACd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,QAAQ,CAAC,CAAC;AAEvE,YAAY,EAAE,KAAK,IAAI,OAAO,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/react-ds-global",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"test:vitest:watch": "vitest"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@canonical/ds-assets": "^0.
|
|
60
|
-
"@canonical/ds-utils": "^0.
|
|
61
|
-
"@canonical/react-hooks": "^0.
|
|
62
|
-
"@canonical/styles": "^0.
|
|
59
|
+
"@canonical/ds-assets": "^0.49.0",
|
|
60
|
+
"@canonical/ds-utils": "^0.49.0",
|
|
61
|
+
"@canonical/react-hooks": "^0.49.0",
|
|
62
|
+
"@canonical/styles": "^0.49.0",
|
|
63
63
|
"react": "^19.2.4",
|
|
64
64
|
"react-dom": "^19.2.4"
|
|
65
65
|
},
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
"@biomejs/biome": "2.6.9",
|
|
68
68
|
"@canonical/biome-config": "0.47.0",
|
|
69
69
|
"@canonical/design-tokens": "0.46.0",
|
|
70
|
-
"@canonical/ds-types": "^0.
|
|
71
|
-
"@canonical/router-core": "^0.
|
|
72
|
-
"@canonical/router-react": "^0.
|
|
73
|
-
"@canonical/storybook-addon-utils": "^0.
|
|
74
|
-
"@canonical/storybook-config": "^0.
|
|
75
|
-
"@canonical/storybook-helpers": "^0.
|
|
76
|
-
"@canonical/typescript-config-react": "^0.
|
|
77
|
-
"@canonical/vitest-config-react": "^0.
|
|
70
|
+
"@canonical/ds-types": "^0.49.0",
|
|
71
|
+
"@canonical/router-core": "^0.49.0",
|
|
72
|
+
"@canonical/router-react": "^0.49.0",
|
|
73
|
+
"@canonical/storybook-addon-utils": "^0.49.0",
|
|
74
|
+
"@canonical/storybook-config": "^0.49.0",
|
|
75
|
+
"@canonical/storybook-helpers": "^0.49.0",
|
|
76
|
+
"@canonical/typescript-config-react": "^0.49.0",
|
|
77
|
+
"@canonical/vitest-config-react": "^0.49.0",
|
|
78
78
|
"@canonical/webarchitect": "0.46.0",
|
|
79
79
|
"@chromatic-com/storybook": "^5.0.1",
|
|
80
80
|
"@storybook/addon-docs": "^10.6.0",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"vite": "^8.0.1",
|
|
94
94
|
"vitest": "^5.0.0"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "9b71099ded16351ee14432246e3d8190f48767ed"
|
|
97
97
|
}
|