@uva-glass/component-library 1.8.0 → 1.9.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/assets/Button.css +1 -1
- package/dist/components/Button/Button.js +16 -16
- package/package.json +13 -13
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import '../../assets/Button.css';const
|
|
5
|
-
button:
|
|
6
|
-
"button--blank": "_button--
|
|
7
|
-
"button--primary": "_button--
|
|
8
|
-
"button--secondary": "_button--
|
|
9
|
-
"button--destructive-primary": "_button--destructive-
|
|
10
|
-
"button--destructive-secondary": "_button--destructive-
|
|
11
|
-
"button--wide-column": "_button--wide-
|
|
12
|
-
}, p =
|
|
13
|
-
const { children:
|
|
2
|
+
import { c as _ } from "../../clsx-DB4S2d7J.js";
|
|
3
|
+
import { forwardRef as a } from "react";
|
|
4
|
+
import '../../assets/Button.css';const i = "_button_gc28t_3", t = {
|
|
5
|
+
button: i,
|
|
6
|
+
"button--blank": "_button--blank_gc28t_37",
|
|
7
|
+
"button--primary": "_button--primary_gc28t_54",
|
|
8
|
+
"button--secondary": "_button--secondary_gc28t_70",
|
|
9
|
+
"button--destructive-primary": "_button--destructive-primary_gc28t_86",
|
|
10
|
+
"button--destructive-secondary": "_button--destructive-secondary_gc28t_104",
|
|
11
|
+
"button--wide-column": "_button--wide-column_gc28t_122"
|
|
12
|
+
}, p = a((o, n) => {
|
|
13
|
+
const { children: r, type: u = "button", variant: c, displayColumn: e = !1, ...s } = o;
|
|
14
14
|
return /* @__PURE__ */ b(
|
|
15
15
|
"button",
|
|
16
16
|
{
|
|
17
17
|
...s,
|
|
18
|
-
type:
|
|
18
|
+
type: u,
|
|
19
19
|
ref: n,
|
|
20
|
-
className:
|
|
21
|
-
[t["button--wide-column"]]:
|
|
20
|
+
className: _(t.button, t[`button--${c}`], {
|
|
21
|
+
[t["button--wide-column"]]: e
|
|
22
22
|
}),
|
|
23
|
-
children:
|
|
23
|
+
children: r
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
});
|
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.9.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.2",
|
|
48
|
+
"@storybook/addon-essentials": "^8.1.2",
|
|
49
|
+
"@storybook/addon-interactions": "^8.1.2",
|
|
50
|
+
"@storybook/addon-links": "^8.1.2",
|
|
51
|
+
"@storybook/blocks": "^8.1.2",
|
|
52
|
+
"@storybook/react": "^8.1.2",
|
|
53
|
+
"@storybook/react-vite": "^8.1.2",
|
|
54
|
+
"@storybook/test": "^8.1.2",
|
|
55
55
|
"@types/node": "^20.12.12",
|
|
56
56
|
"@types/react": "^18.3.2",
|
|
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.10.0",
|
|
59
|
+
"@typescript-eslint/parser": "^7.10.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.2.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
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",
|
|
71
|
-
"glob": "^10.3.
|
|
71
|
+
"glob": "^10.3.16",
|
|
72
72
|
"jest": "^29.7.0",
|
|
73
73
|
"jest-environment-jsdom": "^29.7.0",
|
|
74
74
|
"jest-junit": "^16.0.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.2",
|
|
81
81
|
"style-dictionary": "^3.9.2",
|
|
82
82
|
"stylelint": "^16.5.0",
|
|
83
83
|
"stylelint-config-recommended": "^14.0.0",
|