@szum-tech/design-system 2.0.2 → 2.0.3

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/index.cjs CHANGED
@@ -61,7 +61,7 @@ function AvatarFallback({ className, ref, ...props }) {
61
61
  }
62
62
  var buttonCva = classVarianceAuthority.cva(
63
63
  [
64
- "inline-flex items-center justify-center align-middle no-underline transition-colors duration-300 ease-in-out cursor-pointer",
64
+ "inline-flex cursor-pointer items-center justify-center align-middle no-underline transition-colors duration-300 ease-in-out",
65
65
  "select-none appearance-none rounded-sm border font-sans font-medium tracking-[.02857em]",
66
66
  "aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled:opacity-50"
67
67
  ],
@@ -354,8 +354,8 @@ function ButtonContent({
354
354
  const EndIcon = isEndLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkG4TX2R77_cjs.LoadingIcon, { "aria-label": "Loading" }) : endIcon || null;
355
355
  const endIconStyles = iconCva({ size, loading: isEndLoading });
356
356
  const endIconContainerStyles = iconContainerCva({ size, site: "right" });
357
- const LeadingIcon = StartIcon ? /* @__PURE__ */ jsxRuntime.jsx("span", { title: "asdfads", className: startIconContainerStyles, role: isStartLoading ? "progressbar" : void 0, children: React__namespace.cloneElement(StartIcon, { className: startIconStyles }) }) : null;
358
- const TrailingIcon = EndIcon ? /* @__PURE__ */ jsxRuntime.jsx("span", { title: "asdfas", className: endIconContainerStyles, role: isEndLoading ? "progressbar" : void 0, children: React__namespace.cloneElement(EndIcon, { className: endIconStyles }) }) : null;
357
+ const LeadingIcon = StartIcon ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: startIconContainerStyles, role: isStartLoading ? "progressbar" : void 0, children: React__namespace.cloneElement(StartIcon, { className: startIconStyles }) }) : null;
358
+ const TrailingIcon = EndIcon ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: endIconContainerStyles, role: isEndLoading ? "progressbar" : void 0, children: React__namespace.cloneElement(EndIcon, { className: endIconStyles }) }) : null;
359
359
  return React__namespace.isValidElement(children) ? React__namespace.cloneElement(
360
360
  children,
361
361
  props,
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ function AvatarFallback({ className, ref, ...props }) {
40
40
  }
41
41
  var buttonCva = cva(
42
42
  [
43
- "inline-flex items-center justify-center align-middle no-underline transition-colors duration-300 ease-in-out cursor-pointer",
43
+ "inline-flex cursor-pointer items-center justify-center align-middle no-underline transition-colors duration-300 ease-in-out",
44
44
  "select-none appearance-none rounded-sm border font-sans font-medium tracking-[.02857em]",
45
45
  "aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled:opacity-50"
46
46
  ],
@@ -333,8 +333,8 @@ function ButtonContent({
333
333
  const EndIcon = isEndLoading ? /* @__PURE__ */ jsx(LoadingIcon, { "aria-label": "Loading" }) : endIcon || null;
334
334
  const endIconStyles = iconCva({ size, loading: isEndLoading });
335
335
  const endIconContainerStyles = iconContainerCva({ size, site: "right" });
336
- const LeadingIcon = StartIcon ? /* @__PURE__ */ jsx("span", { title: "asdfads", className: startIconContainerStyles, role: isStartLoading ? "progressbar" : void 0, children: React.cloneElement(StartIcon, { className: startIconStyles }) }) : null;
337
- const TrailingIcon = EndIcon ? /* @__PURE__ */ jsx("span", { title: "asdfas", className: endIconContainerStyles, role: isEndLoading ? "progressbar" : void 0, children: React.cloneElement(EndIcon, { className: endIconStyles }) }) : null;
336
+ const LeadingIcon = StartIcon ? /* @__PURE__ */ jsx("span", { className: startIconContainerStyles, role: isStartLoading ? "progressbar" : void 0, children: React.cloneElement(StartIcon, { className: startIconStyles }) }) : null;
337
+ const TrailingIcon = EndIcon ? /* @__PURE__ */ jsx("span", { className: endIconContainerStyles, role: isEndLoading ? "progressbar" : void 0, children: React.cloneElement(EndIcon, { className: endIconStyles }) }) : null;
338
338
  return React.isValidElement(children) ? React.cloneElement(
339
339
  children,
340
340
  props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szum-tech/design-system",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -90,51 +90,53 @@
90
90
  "class-variance-authority": "^0.7.1",
91
91
  "clsx": "^2.1.1",
92
92
  "radix-ui": "^1.1.3",
93
- "tailwind-merge": "^3.0.1",
93
+ "tailwind-merge": "^3.0.2",
94
94
  "tailwindcss-animate": "^1.0.7"
95
95
  },
96
96
  "devDependencies": {
97
- "@hookform/resolvers": "^3.10.0",
97
+ "@hookform/resolvers": "^4.1.2",
98
98
  "@radix-ui/react-icons": "^1.3.2",
99
- "@storybook/addon-a11y": "^8.5.3",
100
- "@storybook/addon-docs": "^8.5.3",
101
- "@storybook/addon-essentials": "^8.5.3",
102
- "@storybook/addon-interactions": "^8.5.3",
103
- "@storybook/react": "^8.5.3",
104
- "@storybook/react-vite": "^8.5.3",
105
- "@storybook/theming": "^8.5.3",
99
+ "@storybook/addon-a11y": "^8.6.3",
100
+ "@storybook/addon-docs": "^8.6.3",
101
+ "@storybook/addon-essentials": "^8.6.3",
102
+ "@storybook/addon-interactions": "^8.6.3",
103
+ "@storybook/react": "^8.6.3",
104
+ "@storybook/react-vite": "^8.6.3",
105
+ "@storybook/theming": "^8.6.3",
106
106
  "@szum-tech/eslint-config": "^2.1.5",
107
107
  "@szum-tech/prettier-config": "^1.5.0",
108
108
  "@szum-tech/semantic-release-config": "^2.2.2",
109
- "@tailwindcss/postcss": "^4.0.5",
109
+ "@tailwindcss/postcss": "^4.0.9",
110
110
  "@testing-library/dom": "^10.4.0",
111
111
  "@testing-library/jest-dom": "^6.6.3",
112
112
  "@testing-library/react": "^16.2.0",
113
113
  "@testing-library/user-event": "^14.6.1",
114
- "@types/react": "^19.0.8",
115
- "@types/react-dom": "^19.0.3",
116
- "@vitest/coverage-v8": "^3.0.5",
117
- "@vitest/ui": "^3.0.4",
114
+ "@types/node": "^22.13.8",
115
+ "@types/react": "^19.0.10",
116
+ "@types/react-dom": "^19.0.4",
117
+ "@vitejs/plugin-react": "^4.3.4",
118
+ "@vitest/coverage-v8": "^3.0.7",
119
+ "@vitest/ui": "^3.0.7",
118
120
  "cpy-cli": "^5.0.0",
119
- "eslint": "^9.20.0",
120
- "happy-dom": "^17.0.2",
121
- "postcss": "^8.5.1",
122
- "prettier": "^3.5.0",
121
+ "eslint": "^9.21.0",
122
+ "happy-dom": "^17.1.8",
123
+ "postcss": "^8.5.3",
124
+ "prettier": "^3.5.2",
123
125
  "react": "^19.0.0",
124
126
  "react-docgen-typescript": "^2.2.2",
125
127
  "react-dom": "^19.0.0",
126
128
  "react-hook-form": "^7.54.2",
127
- "semantic-release": "^24.2.2",
129
+ "semantic-release": "^24.2.3",
128
130
  "serve": "^14.2.4",
129
131
  "storybook": "^8.5.3",
130
132
  "storybook-dark-mode": "^4.0.2",
131
133
  "tailwindcss": "^4.0.5",
132
- "tsup": "^8.3.6",
134
+ "tsup": "^8.4.0",
133
135
  "typescript": "^5.7.3",
134
- "vite": "^6.1.0",
136
+ "vite": "^6.2.0",
135
137
  "vite-tsconfig-paths": "^5.1.4",
136
138
  "vitest": "^3.0.5",
137
- "zod": "^3.24.1"
139
+ "zod": "^3.24.2"
138
140
  },
139
141
  "peerDependencies": {
140
142
  "react": "^19.0.0",