@norges-domstoler/dds-components 0.0.0-dev-20241216081311 → 0.0.0-dev-20241216093930
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/package.json +19 -19
package/dist/index.d.mts
CHANGED
|
@@ -1246,7 +1246,7 @@ declare const Button: react.ForwardRefExoticComponent<Pick<Omit<react.ButtonHTML
|
|
|
1246
1246
|
onFocus?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
1247
1247
|
onBlur?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
1248
1248
|
onClick?: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
1249
|
-
type?: "submit" | "reset" | "button" | undefined;
|
|
1249
|
+
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
1250
1250
|
} & {
|
|
1251
1251
|
htmlProps?: Omit<react.ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type"> | undefined;
|
|
1252
1252
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -2729,13 +2729,13 @@ declare const CheckboxGroup: {
|
|
|
2729
2729
|
};
|
|
2730
2730
|
|
|
2731
2731
|
declare const RadioButton: react.ForwardRefExoticComponent<Pick<Omit<react.InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required">, "id" | "className"> & SelectionControlCommonProps & {
|
|
2732
|
-
"aria-describedby"?: string | undefined;
|
|
2732
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
2733
2733
|
onChange?: react.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
2734
|
-
name?: string | undefined;
|
|
2735
|
-
value?: string | readonly string[] |
|
|
2736
|
-
checked?: boolean | undefined;
|
|
2737
|
-
readOnly?: boolean | undefined;
|
|
2738
|
-
required?: boolean | undefined;
|
|
2734
|
+
name?: string | undefined | undefined;
|
|
2735
|
+
value?: string | number | readonly string[] | undefined;
|
|
2736
|
+
checked?: boolean | undefined | undefined;
|
|
2737
|
+
readOnly?: boolean | undefined | undefined;
|
|
2738
|
+
required?: boolean | undefined | undefined;
|
|
2739
2739
|
} & {
|
|
2740
2740
|
children?: react.ReactNode | undefined;
|
|
2741
2741
|
} & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1246,7 +1246,7 @@ declare const Button: react.ForwardRefExoticComponent<Pick<Omit<react.ButtonHTML
|
|
|
1246
1246
|
onFocus?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
1247
1247
|
onBlur?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
1248
1248
|
onClick?: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
1249
|
-
type?: "submit" | "reset" | "button" | undefined;
|
|
1249
|
+
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
1250
1250
|
} & {
|
|
1251
1251
|
htmlProps?: Omit<react.ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type"> | undefined;
|
|
1252
1252
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -2729,13 +2729,13 @@ declare const CheckboxGroup: {
|
|
|
2729
2729
|
};
|
|
2730
2730
|
|
|
2731
2731
|
declare const RadioButton: react.ForwardRefExoticComponent<Pick<Omit<react.InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required">, "id" | "className"> & SelectionControlCommonProps & {
|
|
2732
|
-
"aria-describedby"?: string | undefined;
|
|
2732
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
2733
2733
|
onChange?: react.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
2734
|
-
name?: string | undefined;
|
|
2735
|
-
value?: string | readonly string[] |
|
|
2736
|
-
checked?: boolean | undefined;
|
|
2737
|
-
readOnly?: boolean | undefined;
|
|
2738
|
-
required?: boolean | undefined;
|
|
2734
|
+
name?: string | undefined | undefined;
|
|
2735
|
+
value?: string | number | readonly string[] | undefined;
|
|
2736
|
+
checked?: boolean | undefined | undefined;
|
|
2737
|
+
readOnly?: boolean | undefined | undefined;
|
|
2738
|
+
required?: boolean | undefined | undefined;
|
|
2739
2739
|
} & {
|
|
2740
2740
|
children?: react.ReactNode | undefined;
|
|
2741
2741
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norges-domstoler/dds-components",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20241216093930",
|
|
4
4
|
"description": "React components used in Elsa - domstolenes designsystem",
|
|
5
5
|
"author": "Elsa team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"elsa"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@internationalized/date": "^3.
|
|
39
|
-
"@react-types/datepicker": "^3.
|
|
40
|
-
"@storybook/blocks": "8.4.
|
|
38
|
+
"@internationalized/date": "^3.6.0",
|
|
39
|
+
"@react-types/datepicker": "^3.9.0",
|
|
40
|
+
"@storybook/blocks": "8.4.7",
|
|
41
41
|
"@testing-library/dom": "^10.4.0",
|
|
42
42
|
"@testing-library/jest-dom": "^6.6.3",
|
|
43
|
-
"@testing-library/react": "^16.0
|
|
43
|
+
"@testing-library/react": "^16.1.0",
|
|
44
44
|
"@testing-library/user-event": "^14.5.2",
|
|
45
45
|
"@types/react": "^18.3.12",
|
|
46
46
|
"@types/react-dom": "^18.3.1",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
"react-dom": "^18.3.1",
|
|
53
53
|
"tsup": "^8.3.5",
|
|
54
54
|
"typed-css-modules": "^0.9.1",
|
|
55
|
-
"typescript": "^5.
|
|
55
|
+
"typescript": "^5.7.2",
|
|
56
56
|
"vite": "^5.4.11",
|
|
57
|
-
"vitest": "^2.1.
|
|
58
|
-
"@norges-domstoler/
|
|
59
|
-
"@norges-domstoler/
|
|
57
|
+
"vitest": "^2.1.8",
|
|
58
|
+
"@norges-domstoler/storybook-components": "0.0.0-dev-20241216093930",
|
|
59
|
+
"@norges-domstoler/dds-design-tokens": "0.0.0-dev-20241216093930"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@internationalized/date": "^3",
|
|
63
|
-
"@norges-domstoler/dds-design-tokens": "0.0.0-dev-
|
|
63
|
+
"@norges-domstoler/dds-design-tokens": "0.0.0-dev-20241216093930",
|
|
64
64
|
"react": "^16 || ^17 || ^18 || ^19",
|
|
65
65
|
"react-dom": "^16 || ^17 || ^18 || ^19"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@floating-ui/react-dom": "^2.1.2",
|
|
69
|
-
"@react-aria/button": "^3.
|
|
70
|
-
"@react-aria/calendar": "^3.
|
|
71
|
-
"@react-aria/datepicker": "^3.
|
|
72
|
-
"@react-aria/focus": "^3.
|
|
73
|
-
"@react-aria/i18n": "^3.12.
|
|
74
|
-
"@react-stately/calendar": "^3.
|
|
75
|
-
"@react-stately/datepicker": "^3.
|
|
76
|
-
"file-selector": "^2.1.
|
|
77
|
-
"react-select": "^5.
|
|
69
|
+
"@react-aria/button": "^3.11.0",
|
|
70
|
+
"@react-aria/calendar": "^3.6.0",
|
|
71
|
+
"@react-aria/datepicker": "^3.12.0",
|
|
72
|
+
"@react-aria/focus": "^3.19.0",
|
|
73
|
+
"@react-aria/i18n": "^3.12.4",
|
|
74
|
+
"@react-stately/calendar": "^3.6.0",
|
|
75
|
+
"@react-stately/datepicker": "^3.11.0",
|
|
76
|
+
"file-selector": "^2.1.2",
|
|
77
|
+
"react-select": "^5.9.0",
|
|
78
78
|
"@norges-domstoler/development-utils": "1.3.1"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": {
|