@uva-glass/component-library 3.0.1 → 3.0.2
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/assets/Chip.css +1 -1
- package/dist/components/Chip/Chip.js +7 -7
- package/package.json +18 -18
package/dist/assets/Chip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._chip_3qe3v_1{align-items:center;background-color:var(--color-white);border:1px solid var(--color-grey-200);border-radius:1rem;cursor:pointer;display:grid;font-family:inherit;grid-template-columns:auto 1fr;min-height:2rem;padding:0 0 0 1rem;-webkit-user-select:none;user-select:none;width:fit-content}._chip_3qe3v_1:hover{background-color:var(--color-grey-200)}._chip_3qe3v_1:focus-visible{outline:.125rem dotted var(--color-cobalt);outline-offset:.125rem}._chip__label_3qe3v_25{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}._chip__close-button_3qe3v_32{margin:0 .5rem}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Icon as
|
|
3
|
-
import '../../assets/Chip.css';const t = "
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as i } from "../Icon/Icon.js";
|
|
3
|
+
import '../../assets/Chip.css';const t = "_chip_3qe3v_1", l = "_chip__label_3qe3v_25", c = {
|
|
4
4
|
chip: t,
|
|
5
|
-
chip__label:
|
|
6
|
-
"chip__close-button": "_chip__close-
|
|
7
|
-
}, h = ({ label: _, onDelete:
|
|
5
|
+
chip__label: l,
|
|
6
|
+
"chip__close-button": "_chip__close-button_3qe3v_32"
|
|
7
|
+
}, h = ({ label: _, onDelete: e }) => /* @__PURE__ */ o("button", { className: c.chip, onClick: () => e(_), children: [
|
|
8
8
|
/* @__PURE__ */ s("span", { className: c.chip__label, children: _ }),
|
|
9
|
-
/* @__PURE__ */ s(
|
|
9
|
+
/* @__PURE__ */ s(i, { name: "Cross", size: 20, className: c["chip__close-button"] })
|
|
10
10
|
] });
|
|
11
11
|
export {
|
|
12
12
|
h as Chip
|
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": "3.0.
|
|
5
|
+
"version": "3.0.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
"@semantic-release/git": "^10.0.1",
|
|
50
50
|
"@semantic-release/gitlab": "^13.2.4",
|
|
51
51
|
"@semantic-release/npm": "^12.0.1",
|
|
52
|
-
"@storybook/addon-a11y": "^8.5.
|
|
53
|
-
"@storybook/addon-essentials": "^8.5.
|
|
54
|
-
"@storybook/addon-links": "^8.5.
|
|
55
|
-
"@storybook/blocks": "^8.5.
|
|
56
|
-
"@storybook/manager-api": "^8.5.
|
|
57
|
-
"@storybook/preview-api": "^8.5.
|
|
58
|
-
"@storybook/react-vite": "^8.5.
|
|
59
|
-
"@storybook/react": "^8.5.
|
|
60
|
-
"@storybook/test": "^8.5.
|
|
61
|
-
"@types/node": "^22.
|
|
52
|
+
"@storybook/addon-a11y": "^8.5.2",
|
|
53
|
+
"@storybook/addon-essentials": "^8.5.2",
|
|
54
|
+
"@storybook/addon-links": "^8.5.2",
|
|
55
|
+
"@storybook/blocks": "^8.5.2",
|
|
56
|
+
"@storybook/manager-api": "^8.5.2",
|
|
57
|
+
"@storybook/preview-api": "^8.5.2",
|
|
58
|
+
"@storybook/react-vite": "^8.5.2",
|
|
59
|
+
"@storybook/react": "^8.5.2",
|
|
60
|
+
"@storybook/test": "^8.5.2",
|
|
61
|
+
"@types/node": "^22.12.0",
|
|
62
62
|
"@types/react-dom": "^19.0.3",
|
|
63
|
-
"@types/react": "^19.0.
|
|
64
|
-
"@uva-glass/eslint-config": "^1.3.
|
|
65
|
-
"@uva-glass/stylelint-config": "^1.
|
|
63
|
+
"@types/react": "^19.0.8",
|
|
64
|
+
"@uva-glass/eslint-config": "^1.3.2",
|
|
65
|
+
"@uva-glass/stylelint-config": "^1.2.0",
|
|
66
66
|
"@vitejs/plugin-react": "^4.3.4",
|
|
67
67
|
"clsx": "^2.1.1",
|
|
68
68
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
@@ -76,19 +76,19 @@
|
|
|
76
76
|
"react-router": "^7.1.3",
|
|
77
77
|
"react": "^18.3.1",
|
|
78
78
|
"semantic-release": "^24.2.1",
|
|
79
|
-
"storybook": "^8.5.
|
|
80
|
-
"style-dictionary": "^4.3.
|
|
79
|
+
"storybook": "^8.5.2",
|
|
80
|
+
"style-dictionary": "^4.3.2",
|
|
81
81
|
"stylelint-config-recommended": "^15.0.0",
|
|
82
82
|
"stylelint-config-standard": "^37.0.0",
|
|
83
83
|
"stylelint-order": "^6.0.4",
|
|
84
|
-
"stylelint": "^16.
|
|
84
|
+
"stylelint": "^16.14.1",
|
|
85
85
|
"typescript": "^5.7.3",
|
|
86
86
|
"vite-plugin-dts": "^4.5.0",
|
|
87
87
|
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
88
88
|
"vite-plugin-static-copy": "^2.2.0",
|
|
89
89
|
"vite-plugin-svgr": "^4.3.0",
|
|
90
90
|
"vite-tsconfig-paths": "^5.1.4",
|
|
91
|
-
"vite": "^6.0.
|
|
91
|
+
"vite": "^6.0.11"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@lexical/link": "^0.23.1",
|