@sbkbs/ui 1.0.4 → 1.0.5

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/utils/cn.js CHANGED
@@ -1,5 +1,5 @@
1
- import { clsx as r } from "../node_modules/clsx/dist/clsx.js";
2
- import { twMerge as t } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
1
+ import { clsx as r } from "clsx";
2
+ import { twMerge as t } from "tailwind-merge";
3
3
  const e = (...o) => t(r(o));
4
4
  export {
5
5
  e as cn
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@sbkbs/ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Biblioteca de componentes UI SBK BS",
5
5
  "type": "module",
6
6
  "main": "./dist/oficios-ui.umd.cjs",
7
- "module": "./dist/oficios-ui.js",
7
+ "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
- "import": "./dist/oficios-ui.js",
12
+ "import": "./dist/index.js",
13
13
  "require": "./dist/oficios-ui.umd.cjs",
14
- "default": "./dist/oficios-ui.js"
14
+ "default": "./dist/index.js"
15
15
  },
16
16
  "./theme.css": "./dist/theme.css",
17
17
  "./styles.css": "./dist/oficios-ui.css"
@@ -58,37 +58,36 @@
58
58
  "react-dom": ">=18.0.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@changesets/cli": "^2.30.0",
62
- "@eslint/js": "^10.0.1",
63
- "@playwright/test": "^1.55.0",
61
+ "@changesets/cli": "^2.31.0",
62
+ "@eslint/js": "^9.39.4",
63
+ "@playwright/test": "^1.59.1",
64
64
  "@storybook/addon-a11y": "^8.6.14",
65
65
  "@storybook/addon-essentials": "^8.6.14",
66
66
  "@storybook/react-vite": "^8.6.14",
67
+ "@tailwindcss/vite": "^4.2.2",
67
68
  "@testing-library/dom": "^10.4.1",
68
69
  "@testing-library/jest-dom": "^6.8.0",
69
70
  "@testing-library/react": "^16.3.0",
70
71
  "@types/node": "^25.6.0",
71
72
  "@types/react": "^18.2.43",
72
73
  "@types/react-dom": "^18.2.17",
73
- "@typescript-eslint/eslint-plugin": "^8.58.1",
74
- "@typescript-eslint/parser": "^8.58.1",
74
+ "@typescript-eslint/eslint-plugin": "^8.58.2",
75
+ "@typescript-eslint/parser": "^8.58.2",
75
76
  "@vitejs/plugin-react": "^5.0.4",
76
- "@vitest/coverage-v8": "^4.1.4",
77
- "autoprefixer": "^10.4.21",
77
+ "@vitest/coverage-v8": "^2.1.9",
78
78
  "eslint": "^9.39.4",
79
79
  "eslint-config-prettier": "^10.1.8",
80
80
  "eslint-plugin-jsx-a11y": "^6.10.2",
81
81
  "eslint-plugin-react": "^7.37.5",
82
- "eslint-plugin-react-hooks": "^7.0.1",
82
+ "eslint-plugin-react-hooks": "^7.1.1",
83
83
  "husky": "^9.1.7",
84
84
  "jsdom": "^26.1.0",
85
85
  "lint-staged": "^16.4.0",
86
- "postcss": "^8.5.6",
87
- "prettier": "^3.8.2",
86
+ "prettier": "^3.8.3",
88
87
  "react": "^18.2.0",
89
88
  "react-dom": "^18.2.0",
90
89
  "storybook": "^8.6.14",
91
- "tailwindcss": "^3.4.17",
90
+ "tailwindcss": "^4.2.2",
92
91
  "typescript": "^5.9.3",
93
92
  "vite": "^6.3.5",
94
93
  "vitest": "^2.1.8"
@@ -108,5 +107,8 @@
108
107
  "dependencies": {
109
108
  "clsx": "^2.1.1",
110
109
  "tailwind-merge": "^3.5.0"
110
+ },
111
+ "overrides": {
112
+ "vite": "$vite"
111
113
  }
112
114
  }
@@ -1,17 +0,0 @@
1
- function i(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number") t += r;
4
- else if (typeof r == "object") if (Array.isArray(r)) {
5
- var o = r.length;
6
- for (f = 0; f < o; f++) r[f] && (n = i(r[f])) && (t && (t += " "), t += n);
7
- } else for (n in r) r[n] && (t && (t += " "), t += n);
8
- return t;
9
- }
10
- function a() {
11
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = i(r)) && (t && (t += " "), t += f);
12
- return t;
13
- }
14
- export {
15
- a as clsx
16
- };
17
- //# sourceMappingURL=clsx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clsx.js","sources":["../../../../node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["r","e","t","f","n","clsx"],"mappings":"AAAA,SAASA,EAAEC,GAAE;AAAC,MAAIC,GAAEC,GAAEC,IAAE;AAAG,MAAa,OAAOH,KAAjB,YAA8B,OAAOA,KAAjB,SAAmB,CAAAG,KAAGH;AAAA,WAAoB,OAAOA,KAAjB,SAAmB,KAAG,MAAM,QAAQA,CAAC,GAAE;AAAC,QAAI,IAAEA,EAAE;AAAO,SAAIC,IAAE,GAAEA,IAAE,GAAEA,IAAI,CAAAD,EAAEC,CAAC,MAAIC,IAAEH,EAAEC,EAAEC,CAAC,CAAC,OAAKE,MAAIA,KAAG,MAAKA,KAAGD;AAAA,EAAE,MAAM,MAAIA,KAAKF,EAAE,CAAAA,EAAEE,CAAC,MAAIC,MAAIA,KAAG,MAAKA,KAAGD;AAAG,SAAOC;AAAC;AAAQ,SAASC,IAAM;AAAC,WAAQJ,GAAEC,GAAEC,IAAE,GAAEC,IAAE,IAAG,IAAE,UAAU,QAAOD,IAAE,GAAEA,IAAI,EAACF,IAAE,UAAUE,CAAC,OAAKD,IAAEF,EAAEC,CAAC,OAAKG,MAAIA,KAAG,MAAKA,KAAGF;AAAG,SAAOE;AAAC;","x_google_ignoreList":[0]}