@uva-glass/component-library 1.13.0 → 1.14.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/components/{InputField/components → FieldHint}/FieldHint.d.ts +2 -3
- package/dist/components/{InputField/components → FieldHint}/FieldHint.js +2 -2
- package/dist/components/FieldHint/FieldHint.js.map +1 -0
- package/dist/components/FieldHint/FieldHint.stories.d.ts +6 -0
- package/dist/components/FieldHint/FieldHint.stories.js +33 -0
- package/dist/components/FieldHint/FieldHint.stories.js.map +1 -0
- package/dist/components/InputField/InputField.d.ts +0 -4
- package/dist/components/InputField/InputField.js +19 -23
- package/dist/components/InputField/InputField.js.map +1 -1
- package/dist/components/InputField/InputField.stories.d.ts +0 -2
- package/dist/components/InputField/InputField.stories.js +14 -42
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/index-Ca2Q7D5u.js.map +1 -1
- package/package.json +13 -13
- package/dist/components/InputField/components/FieldHint.js.map +0 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uva-glass/component-library",
|
|
3
3
|
"author": "Team Glass - Frontend vrienden",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.14.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"@semantic-release/git": "^10.0.1",
|
|
45
45
|
"@semantic-release/gitlab": "^13.1.0",
|
|
46
46
|
"@semantic-release/npm": "^12.0.1",
|
|
47
|
-
"@storybook/addon-a11y": "^8.1.
|
|
48
|
-
"@storybook/addon-essentials": "^8.1.
|
|
49
|
-
"@storybook/addon-interactions": "^8.1.
|
|
50
|
-
"@storybook/addon-links": "^8.1.
|
|
51
|
-
"@storybook/blocks": "^8.1.
|
|
52
|
-
"@storybook/react": "^8.1.
|
|
53
|
-
"@storybook/react-vite": "^8.1.
|
|
54
|
-
"@storybook/test": "^8.1.
|
|
47
|
+
"@storybook/addon-a11y": "^8.1.4",
|
|
48
|
+
"@storybook/addon-essentials": "^8.1.4",
|
|
49
|
+
"@storybook/addon-interactions": "^8.1.4",
|
|
50
|
+
"@storybook/addon-links": "^8.1.4",
|
|
51
|
+
"@storybook/blocks": "^8.1.4",
|
|
52
|
+
"@storybook/react": "^8.1.4",
|
|
53
|
+
"@storybook/react-vite": "^8.1.4",
|
|
54
|
+
"@storybook/test": "^8.1.4",
|
|
55
55
|
"@types/node": "^20.12.12",
|
|
56
56
|
"@types/react": "^18.3.3",
|
|
57
57
|
"@types/react-dom": "^18.3.0",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
59
|
-
"@typescript-eslint/parser": "^7.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
59
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
60
60
|
"@uva-glass/eslint-config": "^1.2.0",
|
|
61
61
|
"@uva-glass/stylelint-config": "^1.1.0",
|
|
62
62
|
"@vitejs/plugin-react": "^4.3.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"eslint": "^8.57.0",
|
|
65
65
|
"eslint-config-prettier": "^9.1.0",
|
|
66
66
|
"eslint-plugin-prettier": "^5.1.3",
|
|
67
|
-
"eslint-plugin-react": "^7.34.
|
|
67
|
+
"eslint-plugin-react": "^7.34.2",
|
|
68
68
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
69
69
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
70
70
|
"eslint-plugin-storybook": "^0.8.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react": "^18.3.1",
|
|
78
78
|
"react-dom": "^18.3.1",
|
|
79
79
|
"semantic-release": "^23.1.1",
|
|
80
|
-
"storybook": "^8.1.
|
|
80
|
+
"storybook": "^8.1.4",
|
|
81
81
|
"style-dictionary": "^3.9.2",
|
|
82
82
|
"stylelint": "^16.6.0",
|
|
83
83
|
"stylelint-config-recommended": "^14.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldHint.js","sources":["../../../../src/components/InputField/components/FieldHint.tsx"],"sourcesContent":["import styles from './FieldHint.module.css';\n\nimport { Spinner } from 'components/Spinner/Spinner';\n\ninterface Props {\n value?: string;\n spinnerAriaValueText: string;\n loading?: boolean;\n}\n\nexport function FieldHint({ value, spinnerAriaValueText, loading }: Props) {\n return (\n <span className={styles['field-hint']}>\n {value && <>{value}</>}\n {!value && loading && <Spinner ariaValueText={spinnerAriaValueText} />}\n </span>\n );\n}\n"],"names":["FieldHint","value","spinnerAriaValueText","loading","jsxs","styles","jsx","Spinner"],"mappings":";;;;;AAUO,SAASA,EAAU,EAAE,OAAAC,GAAO,sBAAAC,GAAsB,SAAAC,KAAkB;AACzE,SACG,gBAAAC,EAAA,QAAA,EAAK,WAAWC,EAAO,YAAY,GACjC,UAAA;AAAA,IAAAJ,4BAAY,UAAMA,EAAA,CAAA;AAAA,IAClB,CAACA,KAASE,KAAY,gBAAAG,EAAAC,GAAA,EAAQ,eAAeL,GAAsB;AAAA,EACtE,EAAA,CAAA;AAEJ;"}
|