@kystverket/styrbord 1.3.18 → 1.3.21
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.
|
@@ -169,18 +169,18 @@ export declare const Disabled: {
|
|
|
169
169
|
onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
170
170
|
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
171
171
|
onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
172
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
173
|
-
onChangeCapture?: React.
|
|
172
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
173
|
+
onChangeCapture?: React.ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
174
174
|
onBeforeInput?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
175
|
-
onBeforeInputCapture?: React.
|
|
176
|
-
onInput?: React.
|
|
177
|
-
onInputCapture?: React.
|
|
178
|
-
onReset?: React.
|
|
179
|
-
onResetCapture?: React.
|
|
180
|
-
onSubmit?: React.
|
|
181
|
-
onSubmitCapture?: React.
|
|
182
|
-
onInvalid?: React.
|
|
183
|
-
onInvalidCapture?: React.
|
|
175
|
+
onBeforeInputCapture?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
176
|
+
onInput?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
177
|
+
onInputCapture?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
178
|
+
onReset?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
179
|
+
onResetCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
180
|
+
onSubmit?: React.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
181
|
+
onSubmitCapture?: React.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
182
|
+
onInvalid?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
183
|
+
onInvalidCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
184
184
|
onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
185
185
|
onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
186
186
|
onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
@@ -484,18 +484,18 @@ export declare const Disabled: {
|
|
|
484
484
|
onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
485
485
|
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
486
486
|
onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
487
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
488
|
-
onChangeCapture?: React.
|
|
487
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
488
|
+
onChangeCapture?: React.ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
489
489
|
onBeforeInput?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
490
|
-
onBeforeInputCapture?: React.
|
|
491
|
-
onInput?: React.
|
|
492
|
-
onInputCapture?: React.
|
|
493
|
-
onReset?: React.
|
|
494
|
-
onResetCapture?: React.
|
|
495
|
-
onSubmit?: React.
|
|
496
|
-
onSubmitCapture?: React.
|
|
497
|
-
onInvalid?: React.
|
|
498
|
-
onInvalidCapture?: React.
|
|
490
|
+
onBeforeInputCapture?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
491
|
+
onInput?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
492
|
+
onInputCapture?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
493
|
+
onReset?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
494
|
+
onResetCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
495
|
+
onSubmit?: React.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
496
|
+
onSubmitCapture?: React.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
497
|
+
onInvalid?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
498
|
+
onInvalidCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
499
499
|
onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
500
500
|
onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
501
501
|
onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
@@ -799,18 +799,18 @@ export declare const Disabled: {
|
|
|
799
799
|
onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
800
800
|
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
801
801
|
onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
802
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
803
|
-
onChangeCapture?: React.
|
|
802
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
803
|
+
onChangeCapture?: React.ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
804
804
|
onBeforeInput?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
805
|
-
onBeforeInputCapture?: React.
|
|
806
|
-
onInput?: React.
|
|
807
|
-
onInputCapture?: React.
|
|
808
|
-
onReset?: React.
|
|
809
|
-
onResetCapture?: React.
|
|
810
|
-
onSubmit?: React.
|
|
811
|
-
onSubmitCapture?: React.
|
|
812
|
-
onInvalid?: React.
|
|
813
|
-
onInvalidCapture?: React.
|
|
805
|
+
onBeforeInputCapture?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
806
|
+
onInput?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
807
|
+
onInputCapture?: React.InputEventHandler<HTMLInputElement> | undefined;
|
|
808
|
+
onReset?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
809
|
+
onResetCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
810
|
+
onSubmit?: React.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
811
|
+
onSubmitCapture?: React.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
812
|
+
onInvalid?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
813
|
+
onInvalidCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
814
814
|
onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
815
815
|
onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
816
816
|
onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kystverket/styrbord",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/Kystverket/styrbord.git"
|
|
8
|
+
"url": "git+https://github.com/Kystverket/styrbord.git"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
@@ -25,93 +25,18 @@
|
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "tsc && vite build",
|
|
28
|
-
"build:watch": "tsc && vite build --watch",
|
|
29
|
-
"dev": "vite",
|
|
30
28
|
"test": "echo \"Warning: no test specified\" && exit 0",
|
|
31
29
|
"build:css": "sass src/css/index.scss dist/index.css --style=compressed",
|
|
32
30
|
"storybook": "storybook dev -p 6006",
|
|
33
|
-
"build
|
|
31
|
+
"storybook:build": "storybook build",
|
|
34
32
|
"pretty:check": "npx prettier . --check",
|
|
35
33
|
"pretty:fix": "npx prettier . --write",
|
|
36
|
-
"lint": "npx eslint .",
|
|
37
|
-
"lint:fix": "npx eslint --fix ."
|
|
38
|
-
"lint:pkg": "npm exec -- publint"
|
|
34
|
+
"lint:check": "npx eslint .",
|
|
35
|
+
"lint:fix": "npx eslint --fix ."
|
|
39
36
|
},
|
|
40
37
|
"author": "",
|
|
41
38
|
"license": "ISC",
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"react": "^19.0.0",
|
|
46
|
-
"react-dom": "^19.0.0"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@chromatic-com/storybook": "^1.9.0",
|
|
50
|
-
"@eslint/js": "^9.22.0",
|
|
51
|
-
"@kystverket/styrbord-tokens": "^0.3.11",
|
|
52
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
53
|
-
"@storybook/addon-essentials": "^8.6.13",
|
|
54
|
-
"@storybook/addon-interactions": "^8.6.13",
|
|
55
|
-
"@storybook/addon-links": "^8.6.13",
|
|
56
|
-
"@storybook/addon-onboarding": "^8.6.13",
|
|
57
|
-
"@storybook/blocks": "^8.6.13",
|
|
58
|
-
"@storybook/manager-api": "^8.6.13",
|
|
59
|
-
"@storybook/react-vite": "^8.6.13",
|
|
60
|
-
"@storybook/react": "^8.6.13",
|
|
61
|
-
"@storybook/test": "^8.6.13",
|
|
62
|
-
"@storybook/theming": "^8.6.13",
|
|
63
|
-
"@storybook/types": "^8.6.13",
|
|
64
|
-
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
|
65
|
-
"@types/node": "^20.17.24",
|
|
66
|
-
"@types/react-dom": "^19.0.0",
|
|
67
|
-
"@types/react-syntax-highlighter": "^15.5.13",
|
|
68
|
-
"@types/react": "^19.0.0",
|
|
69
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
70
|
-
"clsx": "^2.1.1",
|
|
71
|
-
"esbuild": "^0.24.2",
|
|
72
|
-
"eslint-plugin-css": "^0.11.0",
|
|
73
|
-
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
74
|
-
"eslint-plugin-react": "^7.37.4",
|
|
75
|
-
"eslint-plugin-storybook": "^0.11.4",
|
|
76
|
-
"eslint": "^9.22.0",
|
|
77
|
-
"globals": "^13.24.0",
|
|
78
|
-
"jiti": "^2.4.2",
|
|
79
|
-
"postcss": "^8.5.3",
|
|
80
|
-
"prettier": "^3.5.3",
|
|
81
|
-
"publint": "^0.2.12",
|
|
82
|
-
"react-dom": "^19.0.0",
|
|
83
|
-
"react-syntax-highlighter": "^15.6.1",
|
|
84
|
-
"react": "^19.0.0",
|
|
85
|
-
"rollup-plugin-preserve-use-client": "^3.0.1",
|
|
86
|
-
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
87
|
-
"sass": "^1.85.1",
|
|
88
|
-
"storybook-addon-tag-badges": "^1.4.0",
|
|
89
|
-
"storybook": "^8.6.13",
|
|
90
|
-
"tslib": "^2.8.1",
|
|
91
|
-
"typescript-eslint": "^8.26.1",
|
|
92
|
-
"typescript": "^5.8.2",
|
|
93
|
-
"vite-plugin-svgr": "^4.5.0",
|
|
94
|
-
"vite": "^5.4.14"
|
|
95
|
-
},
|
|
96
|
-
"eslintConfig": {
|
|
97
|
-
"extends": [
|
|
98
|
-
"plugin:storybook/recommended"
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
|
-
"dependencies": {
|
|
102
|
-
"@material-symbols/font-400": "^0.39.0",
|
|
103
|
-
"date-fns": "^4.1.0",
|
|
104
|
-
"exifr": "^7.1.3",
|
|
105
|
-
"react-datepicker": "^8.4.0",
|
|
106
|
-
"uuid": "^11.1.0"
|
|
107
|
-
},
|
|
108
|
-
"//": "Override is a workaround until issue is resolved for typescript > 5.8.0 - https://github.com/storybookjs/eslint-plugin-storybook/issues/193",
|
|
109
|
-
"overrides": {
|
|
110
|
-
"eslint-plugin-storybook": {
|
|
111
|
-
"typescript": "$typescript"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"optionalDependencies": {
|
|
115
|
-
"@rollup/rollup-darwin-arm64": "^4.43.0"
|
|
116
|
-
}
|
|
39
|
+
"dependencies": {},
|
|
40
|
+
"peerDependencies": {},
|
|
41
|
+
"devDependencies": {}
|
|
117
42
|
}
|