@digdir/designsystemet-react 0.0.0-test-20250430125130 → 0.0.0-test-20250528090858
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/cjs/components/ErrorSummary/ErrorSummary.js +2 -2
- package/dist/cjs/components/ErrorSummary/ErrorSummaryItem.js +5 -1
- package/dist/cjs/components/Field/index.js +1 -1
- package/dist/cjs/components/MultiSuggestion/index.js +7 -7
- package/dist/cjs/components/Tooltip/Tooltip.js +1 -3
- package/dist/esm/components/ErrorSummary/ErrorSummary.js +2 -2
- package/dist/esm/components/ErrorSummary/ErrorSummaryItem.js +5 -1
- package/dist/esm/components/Field/index.js +1 -1
- package/dist/esm/components/MultiSuggestion/index.js +7 -7
- package/dist/esm/components/Tooltip/Tooltip.js +1 -3
- package/dist/types/colors.d.ts +1 -1
- package/dist/types/components/ErrorSummary/ErrorSummary.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts +5 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts.map +1 -1
- package/dist/types/components/Field/index.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts +0 -2
- package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -1
- package/package.json +17 -17
|
@@ -26,11 +26,11 @@ const ErrorSummaryContext = react.createContext({
|
|
|
26
26
|
* </ErrorSummary.List>
|
|
27
27
|
* </ErrorSummary>
|
|
28
28
|
*/
|
|
29
|
-
const ErrorSummary = react.forwardRef(function ErrorSummary({ asChild,
|
|
29
|
+
const ErrorSummary = react.forwardRef(function ErrorSummary({ asChild, className, ...rest }, ref) {
|
|
30
30
|
const randomId = react.useId();
|
|
31
31
|
const [headingId, setHeadingId] = react.useState(randomId);
|
|
32
32
|
const Component = asChild ? reactSlot.Slot : 'div';
|
|
33
|
-
return (jsxRuntime.jsx(ErrorSummaryContext.Provider, { value: { headingId, setHeadingId }, children: jsxRuntime.jsx(Component, {
|
|
33
|
+
return (jsxRuntime.jsx(ErrorSummaryContext.Provider, { value: { headingId, setHeadingId }, children: jsxRuntime.jsx(Component, { tabIndex: -1, "aria-labelledby": headingId, className: cl('ds-error-summary', className), ref: ref, ...rest }) }));
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
exports.ErrorSummary = ErrorSummary;
|
|
@@ -10,7 +10,11 @@ var ListItem = require('../List/ListItem.js');
|
|
|
10
10
|
* ErrorSummaryItem component, used to display an error link in the ErrorSummary.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
|
-
* <ErrorSummary.Item
|
|
13
|
+
* <ErrorSummary.Item>
|
|
14
|
+
* <ErrorSummary.Link href="#">
|
|
15
|
+
* Link to error
|
|
16
|
+
* </ErrorSummary.Link>
|
|
17
|
+
* </ErrorSummary.Item>
|
|
14
18
|
*/
|
|
15
19
|
const ErrorSummaryItem = react.forwardRef(function ErrorSummaryItem({ ...rest }, ref) {
|
|
16
20
|
return jsxRuntime.jsx(ListItem.ListItem, { ref: ref, ...rest });
|
|
@@ -10,7 +10,7 @@ var FieldDescription = require('./FieldDescription.js');
|
|
|
10
10
|
* Field component, used to wrap a form field.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
|
-
* <Field
|
|
13
|
+
* <Field>
|
|
14
14
|
* <Label>Kort beskrivelse</Label>
|
|
15
15
|
* <Field.Description>Beskrivelse</Field.Description>
|
|
16
16
|
* <Input />
|
|
@@ -17,13 +17,13 @@ const MultiSuggestion = Object.assign(MultiSuggestion$1.MultiSuggestion, {
|
|
|
17
17
|
Empty: MultiSuggestionEmpty.MultiSuggestionEmpty,
|
|
18
18
|
Clear: MultiSuggestionClear.MultiSuggestionClear,
|
|
19
19
|
});
|
|
20
|
-
MultiSuggestion.displayName = '
|
|
21
|
-
MultiSuggestion.Input.displayName = '
|
|
22
|
-
MultiSuggestion.List.displayName = '
|
|
23
|
-
MultiSuggestion.Option.displayName = '
|
|
24
|
-
MultiSuggestion.Chips.displayName = '
|
|
25
|
-
MultiSuggestion.Empty.displayName = '
|
|
26
|
-
MultiSuggestion.Clear.displayName = '
|
|
20
|
+
MultiSuggestion.displayName = 'EXPERIMENTAL_MultiSuggestion';
|
|
21
|
+
MultiSuggestion.Input.displayName = 'EXPERIMENTAL_MultiSuggestion.Input';
|
|
22
|
+
MultiSuggestion.List.displayName = 'EXPERIMENTAL_MultiSuggestion.List';
|
|
23
|
+
MultiSuggestion.Option.displayName = 'EXPERIMENTAL_MultiSuggestion.Option';
|
|
24
|
+
MultiSuggestion.Chips.displayName = 'EXPERIMENTAL_MultiSuggestion.Chips';
|
|
25
|
+
MultiSuggestion.Empty.displayName = 'EXPERIMENTAL_MultiSuggestion.Empty';
|
|
26
|
+
MultiSuggestion.Clear.displayName = 'EXPERIMENTAL_MultiSuggestion.Clear';
|
|
27
27
|
|
|
28
28
|
exports.EXPERIMENTAL_MultiSuggestionChips = MultiSuggestionChips.MultiSuggestionChips;
|
|
29
29
|
exports.EXPERIMENTAL_MultiSuggestionClear = MultiSuggestionClear.MultiSuggestionClear;
|
|
@@ -89,9 +89,7 @@ const Tooltip = react.forwardRef(function Tooltip({ id, children, content, place
|
|
|
89
89
|
? 'popoverTargetAction'
|
|
90
90
|
: 'popovertargetaction']: 'show',
|
|
91
91
|
};
|
|
92
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ChildContainer, { ref: triggerRef, ...popoverProps, onMouseEnter: setOpen, onMouseLeave: setClose, onFocus: setOpen, onBlur: setClose, children: children }), jsxRuntime.jsx("
|
|
93
|
-
// @ts-ignore @types/react-dom does not understand popover yet
|
|
94
|
-
popover: 'manual', ...rest, children: content })] }));
|
|
92
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ChildContainer, { ref: triggerRef, ...popoverProps, onMouseEnter: setOpen, onMouseLeave: setClose, onFocus: setOpen, onBlur: setClose, children: children }), jsxRuntime.jsx("span", { ref: mergedRefs, role: 'tooltip', className: cl('ds-tooltip', className), id: id ?? randomTooltipId, popover: 'manual', ...rest, children: content })] }));
|
|
95
93
|
});
|
|
96
94
|
const arrowPseudoElement = {
|
|
97
95
|
name: 'ArrowPseudoElement',
|
|
@@ -24,11 +24,11 @@ const ErrorSummaryContext = createContext({
|
|
|
24
24
|
* </ErrorSummary.List>
|
|
25
25
|
* </ErrorSummary>
|
|
26
26
|
*/
|
|
27
|
-
const ErrorSummary = forwardRef(function ErrorSummary({ asChild,
|
|
27
|
+
const ErrorSummary = forwardRef(function ErrorSummary({ asChild, className, ...rest }, ref) {
|
|
28
28
|
const randomId = useId();
|
|
29
29
|
const [headingId, setHeadingId] = useState(randomId);
|
|
30
30
|
const Component = asChild ? Slot : 'div';
|
|
31
|
-
return (jsx(ErrorSummaryContext.Provider, { value: { headingId, setHeadingId }, children: jsx(Component, {
|
|
31
|
+
return (jsx(ErrorSummaryContext.Provider, { value: { headingId, setHeadingId }, children: jsx(Component, { tabIndex: -1, "aria-labelledby": headingId, className: cl('ds-error-summary', className), ref: ref, ...rest }) }));
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
export { ErrorSummary, ErrorSummaryContext };
|
|
@@ -8,7 +8,11 @@ import { ListItem } from '../List/ListItem.js';
|
|
|
8
8
|
* ErrorSummaryItem component, used to display an error link in the ErrorSummary.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* <ErrorSummary.Item
|
|
11
|
+
* <ErrorSummary.Item>
|
|
12
|
+
* <ErrorSummary.Link href="#">
|
|
13
|
+
* Link to error
|
|
14
|
+
* </ErrorSummary.Link>
|
|
15
|
+
* </ErrorSummary.Item>
|
|
12
16
|
*/
|
|
13
17
|
const ErrorSummaryItem = forwardRef(function ErrorSummaryItem({ ...rest }, ref) {
|
|
14
18
|
return jsx(ListItem, { ref: ref, ...rest });
|
|
@@ -8,7 +8,7 @@ import { FieldDescription } from './FieldDescription.js';
|
|
|
8
8
|
* Field component, used to wrap a form field.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* <Field
|
|
11
|
+
* <Field>
|
|
12
12
|
* <Label>Kort beskrivelse</Label>
|
|
13
13
|
* <Field.Description>Beskrivelse</Field.Description>
|
|
14
14
|
* <Input />
|
|
@@ -15,12 +15,12 @@ const MultiSuggestion = Object.assign(MultiSuggestion$1, {
|
|
|
15
15
|
Empty: MultiSuggestionEmpty,
|
|
16
16
|
Clear: MultiSuggestionClear,
|
|
17
17
|
});
|
|
18
|
-
MultiSuggestion.displayName = '
|
|
19
|
-
MultiSuggestion.Input.displayName = '
|
|
20
|
-
MultiSuggestion.List.displayName = '
|
|
21
|
-
MultiSuggestion.Option.displayName = '
|
|
22
|
-
MultiSuggestion.Chips.displayName = '
|
|
23
|
-
MultiSuggestion.Empty.displayName = '
|
|
24
|
-
MultiSuggestion.Clear.displayName = '
|
|
18
|
+
MultiSuggestion.displayName = 'EXPERIMENTAL_MultiSuggestion';
|
|
19
|
+
MultiSuggestion.Input.displayName = 'EXPERIMENTAL_MultiSuggestion.Input';
|
|
20
|
+
MultiSuggestion.List.displayName = 'EXPERIMENTAL_MultiSuggestion.List';
|
|
21
|
+
MultiSuggestion.Option.displayName = 'EXPERIMENTAL_MultiSuggestion.Option';
|
|
22
|
+
MultiSuggestion.Chips.displayName = 'EXPERIMENTAL_MultiSuggestion.Chips';
|
|
23
|
+
MultiSuggestion.Empty.displayName = 'EXPERIMENTAL_MultiSuggestion.Empty';
|
|
24
|
+
MultiSuggestion.Clear.displayName = 'EXPERIMENTAL_MultiSuggestion.Clear';
|
|
25
25
|
|
|
26
26
|
export { MultiSuggestion as EXPERIMENTAL_MultiSuggestion, MultiSuggestionChips as EXPERIMENTAL_MultiSuggestionChips, MultiSuggestionClear as EXPERIMENTAL_MultiSuggestionClear, MultiSuggestionEmpty as EXPERIMENTAL_MultiSuggestionEmpty, MultiSuggestionInput as EXPERIMENTAL_MultiSuggestionInput, MultiSuggestionList as EXPERIMENTAL_MultiSuggestionList, MultiSuggestionOption as EXPERIMENTAL_MultiSuggestionOption };
|
|
@@ -87,9 +87,7 @@ const Tooltip = forwardRef(function Tooltip({ id, children, content, placement =
|
|
|
87
87
|
? 'popoverTargetAction'
|
|
88
88
|
: 'popovertargetaction']: 'show',
|
|
89
89
|
};
|
|
90
|
-
return (jsxs(Fragment$1, { children: [jsx(ChildContainer, { ref: triggerRef, ...popoverProps, onMouseEnter: setOpen, onMouseLeave: setClose, onFocus: setOpen, onBlur: setClose, children: children }), jsx("
|
|
91
|
-
// @ts-ignore @types/react-dom does not understand popover yet
|
|
92
|
-
popover: 'manual', ...rest, children: content })] }));
|
|
90
|
+
return (jsxs(Fragment$1, { children: [jsx(ChildContainer, { ref: triggerRef, ...popoverProps, onMouseEnter: setOpen, onMouseLeave: setClose, onFocus: setOpen, onBlur: setClose, children: children }), jsx("span", { ref: mergedRefs, role: 'tooltip', className: cl('ds-tooltip', className), id: id ?? randomTooltipId, popover: 'manual', ...rest, children: content })] }));
|
|
93
91
|
});
|
|
94
92
|
const arrowPseudoElement = {
|
|
95
93
|
name: 'ArrowPseudoElement',
|
package/dist/types/colors.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ type EmptyObject = {
|
|
|
3
3
|
[emptyObjectSymbol]?: never;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
|
-
* Base interface for available colors in
|
|
6
|
+
* Base interface for available colors in Designsystemet.
|
|
7
7
|
* The CLI will generate augmentations of this interface to allow
|
|
8
8
|
* type safety of custom color names.
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorSummary/ErrorSummary.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,uBAAuB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAG9B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,YAAY,EAAE,YAAY,CAAC,CAAC;AAEtE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY;cAnBb,KAAK,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"ErrorSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorSummary/ErrorSummary.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,uBAAuB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAG9B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,YAAY,EAAE,YAAY,CAAC,CAAC;AAEtE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY;cAnBb,KAAK,CAAC,SAAS;4GAsC1B,CAAC"}
|
|
@@ -4,7 +4,11 @@ export type ErrorSummaryItemProps = ListItemProps;
|
|
|
4
4
|
* ErrorSummaryItem component, used to display an error link in the ErrorSummary.
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
|
-
* <ErrorSummary.Item
|
|
7
|
+
* <ErrorSummary.Item>
|
|
8
|
+
* <ErrorSummary.Link href="#">
|
|
9
|
+
* Link to error
|
|
10
|
+
* </ErrorSummary.Link>
|
|
11
|
+
* </ErrorSummary.Item>
|
|
8
12
|
*/
|
|
9
13
|
export declare const ErrorSummaryItem: React.ForwardRefExoticComponent<{
|
|
10
14
|
asChild?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorSummaryItem.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorSummary/ErrorSummaryItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC;AAElD
|
|
1
|
+
{"version":3,"file":"ErrorSummaryItem.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorSummary/ErrorSummaryItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC;AAElD;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB;;+EAK3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAWzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,MAAM,MAAM,YAAY,GAAG,UAAU,CACnC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,cAAc,CAAC,cAAc,CAAC,EACjE;IACE;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,GAAG,MAAM,CAAC;IAC/D;;QAEI;IACJ,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CACF,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,OAAO;IA1ChB;;;;;OAKG;cACO,CAAC,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,GAAG,MAAM;IAC9D;;QAEI;aACK,MAAM;IACf;;;OAGG;gBACS,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;IAC/C;;;OAGG;oBACa,OAAO;IACvB;;;OAGG;WACI,OAAO;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAWzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,MAAM,MAAM,YAAY,GAAG,UAAU,CACnC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,cAAc,CAAC,cAAc,CAAC,EACjE;IACE;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,GAAG,MAAM,CAAC;IAC/D;;QAEI;IACJ,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CACF,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,OAAO;IA1ChB;;;;;OAKG;cACO,CAAC,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,GAAG,MAAM;IAC9D;;QAEI;aACK,MAAM;IACf;;;OAGG;gBACS,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;IAC/C;;;OAGG;oBACa,OAAO;IACvB;;;OAGG;WACI,OAAO;kCA8IjB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -190,8 +190,6 @@ export declare const useRovingFocus: (value: string) => {
|
|
|
190
190
|
onProgressCapture?: React.ReactEventHandler<T> | undefined;
|
|
191
191
|
onRateChange?: React.ReactEventHandler<T> | undefined;
|
|
192
192
|
onRateChangeCapture?: React.ReactEventHandler<T> | undefined;
|
|
193
|
-
onResize?: React.ReactEventHandler<T> | undefined;
|
|
194
|
-
onResizeCapture?: React.ReactEventHandler<T> | undefined;
|
|
195
193
|
onSeeked?: React.ReactEventHandler<T> | undefined;
|
|
196
194
|
onSeekedCapture?: React.ReactEventHandler<T> | undefined;
|
|
197
195
|
onSeeking?: React.ReactEventHandler<T> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRovingFocus.d.ts","sourceRoot":"","sources":["../../../src/utilities/RovingFocus/useRovingFocus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,wEAAwE;AACxE,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;;qBAcvB,CAAC,SAAS,WAAW,SAAS,cAAc,CAAC,CAAC,CAAC;uBAE/C,WAAW,GAAG,IAAI;uBAOlB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;qBAOxB,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"useRovingFocus.d.ts","sourceRoot":"","sources":["../../../src/utilities/RovingFocus/useRovingFocus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,wEAAwE;AACxE,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;;qBAcvB,CAAC,SAAS,WAAW,SAAS,cAAc,CAAC,CAAC,CAAC;uBAE/C,WAAW,GAAG,IAAI;uBAOlB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;qBAOxB,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQrC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digdir/designsystemet-react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-test-
|
|
4
|
+
"version": "0.0.0-test-20250528090858",
|
|
5
5
|
"description": "React components for Designsystemet",
|
|
6
6
|
"author": "Designsystemet team",
|
|
7
7
|
"repository": {
|
|
@@ -36,40 +36,40 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@floating-ui/dom": "^1.
|
|
39
|
+
"@floating-ui/dom": "^1.7.0",
|
|
40
40
|
"@floating-ui/react": "0.26.23",
|
|
41
|
-
"@navikt/aksel-icons": "^7.
|
|
42
|
-
"@radix-ui/react-slot": "^1.
|
|
43
|
-
"@tanstack/react-virtual": "^3.13.
|
|
41
|
+
"@navikt/aksel-icons": "^7.22.0",
|
|
42
|
+
"@radix-ui/react-slot": "^1.2.2",
|
|
43
|
+
"@tanstack/react-virtual": "^3.13.8",
|
|
44
44
|
"@u-elements/u-datalist": "^0.1.5",
|
|
45
45
|
"@u-elements/u-details": "^0.1.1",
|
|
46
46
|
"@u-elements/u-tags": "^0.1.4",
|
|
47
47
|
"clsx": "^2.1.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"tsx": "4.19.4",
|
|
51
50
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
52
51
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
52
|
+
"@storybook/blocks": "^8.6.14",
|
|
53
|
+
"@storybook/preview-api": "^8.6.14",
|
|
54
|
+
"@storybook/react": "^8.6.14",
|
|
55
|
+
"@storybook/test": "^8.6.14",
|
|
56
|
+
"@storybook/types": "^8.6.14",
|
|
53
57
|
"@testing-library/dom": "^10.4.0",
|
|
54
58
|
"@testing-library/jest-dom": "^6.6.3",
|
|
55
59
|
"@testing-library/react": "^16.3.0",
|
|
56
60
|
"@testing-library/user-event": "^14.6.1",
|
|
57
|
-
"@types/react": "^19.1.
|
|
58
|
-
"@types/react-dom": "^19.1.
|
|
61
|
+
"@types/react": "^19.1.4",
|
|
62
|
+
"@types/react-dom": "^19.1.5",
|
|
59
63
|
"copyfiles": "^2.4.1",
|
|
60
|
-
"jsdom": "^26.
|
|
64
|
+
"jsdom": "^26.1.0",
|
|
61
65
|
"react": "^19.1.0",
|
|
62
66
|
"react-dom": "^19.1.0",
|
|
63
67
|
"rimraf": "^6.0.1",
|
|
64
|
-
"rollup": "^4.
|
|
68
|
+
"rollup": "^4.41.0",
|
|
65
69
|
"rollup-plugin-copy": "^3.5.0",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"@
|
|
69
|
-
"@storybook/react": "^8.6.12",
|
|
70
|
-
"@storybook/blocks": "^8.6.12",
|
|
71
|
-
"@storybook/preview-api": "^8.6.12",
|
|
72
|
-
"@digdir/designsystemet-css": "^0.0.0-test-20250430125130"
|
|
70
|
+
"tsx": "4.19.4",
|
|
71
|
+
"typescript": "^5.8.3",
|
|
72
|
+
"@digdir/designsystemet-css": "^0.0.0-test-20250528090858"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"build": "pnpm run clean && tsc -b tsconfig.lib.json --emitDeclarationOnly false && rollup -c --bundleConfigAsCjs",
|