@digdir/designsystemet-react 1.16.0 → 1.16.1

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.
@@ -12,7 +12,7 @@ export declare const ComboboxIdReducer: (state: ComboboxIdContextType, action: C
12
12
  export declare const ComboboxIdDispatch: import("react").Context<Dispatch<SetActiveIndexAction>>;
13
13
  export declare const ComboboxIdProvider: ({ children }: {
14
14
  children: ReactNode;
15
- }) => import("react/jsx-runtime").JSX.Element;
15
+ }) => import("react").JSX.Element;
16
16
  export declare function useComboboxIdDispatch(): Dispatch<SetActiveIndexAction>;
17
17
  export declare function useComboboxId(): ComboboxIdContextType;
18
18
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxIdContext.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/ComboboxIdContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,gDAE5B,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,uBAAuB,GAAG,oBAAoB,CAAC;AAEpD,eAAO,MAAM,iBAAiB,GAC5B,OAAO,qBAAqB,EAC5B,QAAQ,uBAAuB,0BAWhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAI7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAYvE,CAAC;AAEF,wBAAgB,qBAAqB,mCAEpC;AAED,wBAAgB,aAAa,0BAE5B"}
1
+ {"version":3,"file":"ComboboxIdContext.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/ComboboxIdContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,gDAE5B,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,uBAAuB,GAAG,oBAAoB,CAAC;AAEpD,eAAO,MAAM,iBAAiB,GAC5B,OAAO,qBAAqB,EAC5B,QAAQ,uBAAuB,0BAWhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAI7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAYvE,CAAC;AAEF,wBAAgB,qBAAqB,mCAEpC;AAED,wBAAgB,aAAa,0BAE5B"}
@@ -3,7 +3,7 @@ type SelectedIconProps = {
3
3
  selected: boolean;
4
4
  };
5
5
  declare const SelectedIcon: {
6
- ({ multiple, selected }: SelectedIconProps): import("react/jsx-runtime").JSX.Element;
6
+ ({ multiple, selected }: SelectedIconProps): import("react").JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  export { SelectedIcon };
@@ -1,5 +1,5 @@
1
1
  declare const ComboboxChips: {
2
- (): import("react/jsx-runtime").JSX.Element;
2
+ (): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  };
5
5
  export default ComboboxChips;
@@ -6,7 +6,7 @@ type ComboboxErrorProps = {
6
6
  formFieldProps: ReturnType<typeof useFormField>;
7
7
  };
8
8
  declare const ComboboxError: {
9
- ({ size, error, formFieldProps }: ComboboxErrorProps): import("react/jsx-runtime").JSX.Element;
9
+ ({ size, error, formFieldProps }: ComboboxErrorProps): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export default ComboboxError;
@@ -8,7 +8,7 @@ type ComboboxInputProps = {
8
8
  handleKeyDown: (event: KeyboardEvent) => void;
9
9
  } & Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>;
10
10
  declare const ComboboxInput: {
11
- ({ hideClearButton, listId, error, hideChips, handleKeyDown, ...rest }: ComboboxInputProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ hideClearButton, listId, error, hideChips, handleKeyDown, ...rest }: ComboboxInputProps): import("react").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  export default ComboboxInput;
@@ -9,7 +9,7 @@ type ComboboxLabelProps = {
9
9
  formFieldProps: ReturnType<typeof useFormField>;
10
10
  };
11
11
  declare const ComboboxLabel: {
12
- ({ label, description, hideLabel, size, readOnly, formFieldProps, }: ComboboxLabelProps): import("react/jsx-runtime").JSX.Element;
12
+ ({ label, description, hideLabel, size, readOnly, formFieldProps, }: ComboboxLabelProps): import("react").JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  export default ComboboxLabel;
@@ -8,7 +8,7 @@ type ComboboxNativeProps = {
8
8
  name: ComboboxProps['name'];
9
9
  };
10
10
  declare const ComboboxNative: {
11
- ({ selectedOptions, multiple, name, }: ComboboxNativeProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ selectedOptions, multiple, name, }: ComboboxNativeProps): import("react").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  export default ComboboxNative;
@@ -15,7 +15,7 @@ export type DialogTriggerContextProps = {
15
15
  * </Dialog.TriggerContext>
16
16
  */
17
17
  export declare const DialogTriggerContext: {
18
- (rest: DialogTriggerContextProps): import("react/jsx-runtime").JSX.Element;
18
+ (rest: DialogTriggerContextProps): import("react").JSX.Element;
19
19
  displayName: string;
20
20
  };
21
21
  //# sourceMappingURL=dialog-trigger-context.d.ts.map
@@ -19,7 +19,7 @@ export type DropdownTriggerContextProps = {
19
19
  * </DropdownTriggerContext>
20
20
  */
21
21
  export declare const DropdownTriggerContext: {
22
- ({ children, }: DropdownTriggerContextProps): import("react/jsx-runtime").JSX.Element;
22
+ ({ children, }: DropdownTriggerContextProps): import("react").JSX.Element;
23
23
  displayName: string;
24
24
  };
25
25
  //# sourceMappingURL=dropdown-trigger-context.d.ts.map
@@ -14,7 +14,7 @@ export type PopoverTriggerContextProps = {
14
14
  * </PopoverTriggerContext>
15
15
  */
16
16
  export declare const PopoverTriggerContext: {
17
- ({ children, }: PopoverTriggerContextProps): import("react/jsx-runtime").JSX.Element;
17
+ ({ children, }: PopoverTriggerContextProps): import("react").JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  export declare const Context: import("react").Context<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@digdir/designsystemet-react",
3
3
  "type": "module",
4
- "version": "1.16.0",
4
+ "version": "1.16.1",
5
5
  "description": "React components for Designsystemet",
6
6
  "author": "Designsystemet team",
7
7
  "repository": {
@@ -37,33 +37,33 @@
37
37
  "dependencies": {
38
38
  "@floating-ui/dom": "^1.7.6",
39
39
  "@floating-ui/react": "0.26.23",
40
- "@navikt/aksel-icons": "^8.10.5",
41
- "@radix-ui/react-slot": "^1.2.4",
42
- "@tanstack/react-virtual": "^3.13.24",
40
+ "@navikt/aksel-icons": "^8.12.1",
41
+ "@radix-ui/react-slot": "^1.2.5",
42
+ "@tanstack/react-virtual": "^3.14.2",
43
43
  "clsx": "^2.1.1",
44
- "@digdir/designsystemet-types": "1.16.0",
45
- "@digdir/designsystemet-web": "1.16.0"
44
+ "@digdir/designsystemet-types": "1.16.1",
45
+ "@digdir/designsystemet-web": "1.16.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@rollup/plugin-commonjs": "29.0.2",
48
+ "@rollup/plugin-commonjs": "29.0.3",
49
49
  "@rollup/plugin-node-resolve": "16.0.3",
50
- "@storybook/addon-docs": "10.4.0",
51
- "@storybook/addon-vitest": "10.4.0",
52
- "@storybook/react-vite": "10.4.0",
50
+ "@storybook/addon-docs": "10.4.4",
51
+ "@storybook/addon-vitest": "10.4.4",
52
+ "@storybook/react-vite": "10.4.4",
53
53
  "@testing-library/jest-dom": "6.9.1",
54
54
  "@testing-library/react": "16.3.2",
55
55
  "@testing-library/user-event": "14.6.1",
56
- "@types/react": "19.2.14",
56
+ "@types/react": "19.2.17",
57
57
  "@types/react-dom": "19.2.3",
58
- "react": "19.2.6",
59
- "react-dom": "19.2.6",
58
+ "react": "19.2.7",
59
+ "react-dom": "19.2.7",
60
60
  "rimraf": "6.1.3",
61
- "rollup": "4.60.4",
61
+ "rollup": "4.62.0",
62
62
  "rollup-plugin-copy": "3.5.0",
63
- "storybook": "10.4.0",
64
- "tsx": "4.22.1",
63
+ "storybook": "10.4.4",
64
+ "tsx": "4.22.4",
65
65
  "typescript": "5.9.3",
66
- "@digdir/designsystemet-css": "^1.16.0"
66
+ "@digdir/designsystemet-css": "^1.16.1"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "pnpm run clean && tsc -b tsconfig.lib.json --emitDeclarationOnly false && rollup -c --bundleConfigAsCjs",