@sbkbs/ui 1.0.4 → 1.0.6
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/README.md +115 -115
- package/dist/components/Avatar/Avatar.d.ts +11 -0
- package/dist/components/Footer/Footer.d.ts +2 -2
- package/dist/components/Footer/Footer.js +104 -39
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Header/Header.d.ts +11 -5
- package/dist/components/Header/Header.js +158 -98
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +12 -0
- package/dist/components/Spinner/Spinner.d.ts +7 -0
- package/dist/components/Stepper/Stepper.js +71 -46
- package/dist/components/Stepper/Stepper.js.map +1 -1
- package/dist/oficios-ui.css +1 -0
- package/dist/oficios-ui.umd.cjs +1 -1
- package/dist/oficios-ui.umd.cjs.map +1 -1
- package/dist/sbk-icon.png +0 -0
- package/dist/theme.css +2 -0
- package/dist/utils/cn.js +2 -2
- package/package.json +21 -16
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2925
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/ui.css +0 -1
|
Binary file
|
package/dist/theme.css
CHANGED
package/dist/utils/cn.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { clsx as r } from "
|
|
2
|
-
import { twMerge as t } from "
|
|
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.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Biblioteca de componentes UI SBK BS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/oficios-ui.umd.cjs",
|
|
7
|
-
"module": "./dist/
|
|
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/
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
13
|
"require": "./dist/oficios-ui.umd.cjs",
|
|
14
|
-
"default": "./dist/
|
|
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,38 @@
|
|
|
58
58
|
"react-dom": ">=18.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@changesets/cli": "^2.
|
|
62
|
-
"@eslint/js": "^
|
|
63
|
-
"@playwright/test": "^1.
|
|
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/postcss": "^4.2.4",
|
|
68
|
+
"@tailwindcss/vite": "^4.2.2",
|
|
67
69
|
"@testing-library/dom": "^10.4.1",
|
|
68
70
|
"@testing-library/jest-dom": "^6.8.0",
|
|
69
71
|
"@testing-library/react": "^16.3.0",
|
|
70
72
|
"@types/node": "^25.6.0",
|
|
71
73
|
"@types/react": "^18.2.43",
|
|
72
74
|
"@types/react-dom": "^18.2.17",
|
|
73
|
-
"@typescript-eslint/eslint-plugin": "^8.58.
|
|
74
|
-
"@typescript-eslint/parser": "^8.58.
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^8.58.2",
|
|
76
|
+
"@typescript-eslint/parser": "^8.58.2",
|
|
75
77
|
"@vitejs/plugin-react": "^5.0.4",
|
|
76
|
-
"@vitest/coverage-v8": "^
|
|
77
|
-
"autoprefixer": "^10.
|
|
78
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
79
|
+
"autoprefixer": "^10.5.0",
|
|
78
80
|
"eslint": "^9.39.4",
|
|
79
81
|
"eslint-config-prettier": "^10.1.8",
|
|
80
82
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
81
83
|
"eslint-plugin-react": "^7.37.5",
|
|
82
|
-
"eslint-plugin-react-hooks": "^7.
|
|
84
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
83
85
|
"husky": "^9.1.7",
|
|
84
86
|
"jsdom": "^26.1.0",
|
|
85
87
|
"lint-staged": "^16.4.0",
|
|
86
|
-
"
|
|
87
|
-
"prettier": "^3.8.2",
|
|
88
|
+
"prettier": "^3.8.3",
|
|
88
89
|
"react": "^18.2.0",
|
|
89
90
|
"react-dom": "^18.2.0",
|
|
90
91
|
"storybook": "^8.6.14",
|
|
91
|
-
"tailwindcss": "^
|
|
92
|
+
"tailwindcss": "^4.2.2",
|
|
92
93
|
"typescript": "^5.9.3",
|
|
93
94
|
"vite": "^6.3.5",
|
|
94
95
|
"vitest": "^2.1.8"
|
|
@@ -108,5 +109,9 @@
|
|
|
108
109
|
"dependencies": {
|
|
109
110
|
"clsx": "^2.1.1",
|
|
110
111
|
"tailwind-merge": "^3.5.0"
|
|
111
|
-
}
|
|
112
|
+
},
|
|
113
|
+
"overrides": {
|
|
114
|
+
"vite": "$vite"
|
|
115
|
+
},
|
|
116
|
+
"packageManager": "npm@11.12.1"
|
|
112
117
|
}
|
|
@@ -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]}
|