@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.
@@ -1,26 +1,26 @@
1
1
  import { jsx as b } from "react/jsx-runtime";
2
- import { c as m } from "../../clsx-DB4S2d7J.js";
3
- import { forwardRef as _ } from "react";
4
- import '../../assets/Button.css';const c = "_button_1gimu_3", t = {
5
- button: c,
6
- "button--blank": "_button--blank_1gimu_36",
7
- "button--primary": "_button--primary_1gimu_53",
8
- "button--secondary": "_button--secondary_1gimu_69",
9
- "button--destructive-primary": "_button--destructive-primary_1gimu_85",
10
- "button--destructive-secondary": "_button--destructive-secondary_1gimu_103",
11
- "button--wide-column": "_button--wide-column_1gimu_121"
12
- }, p = _((o, n) => {
13
- const { children: u, type: r = "button", variant: e, displayColumn: i = !1, ...s } = o;
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: r,
18
+ type: u,
19
19
  ref: n,
20
- className: m(t.button, t[`button--${e}`], {
21
- [t["button--wide-column"]]: i
20
+ className: _(t.button, t[`button--${c}`], {
21
+ [t["button--wide-column"]]: e
22
22
  }),
23
- children: u
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.8.0",
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.1",
48
- "@storybook/addon-essentials": "^8.1.1",
49
- "@storybook/addon-interactions": "^8.1.1",
50
- "@storybook/addon-links": "^8.1.1",
51
- "@storybook/blocks": "^8.1.1",
52
- "@storybook/react": "^8.1.1",
53
- "@storybook/react-vite": "^8.1.1",
54
- "@storybook/test": "^8.1.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.9.0",
59
- "@typescript-eslint/parser": "^7.9.0",
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.15",
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.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",