@aristobyte-ui/label 1.0.68 → 1.0.72
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.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -12
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts","../../../node_modules/clsx/dist/clsx.mjs","../components/Label.tsx"],"sourcesContent":["export * from \"./components\";\n","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;","\"use client\";\n\nimport * as React from \"react\";\nimport clsx from \"clsx\";\n\nexport interface ILabel {\n text: string;\n variant?:\n | \"default\"\n | \"primary\"\n | \"secondary\"\n | \"success\"\n | \"error\"\n | \"warning\";\n size?: \"xsm\" | \"sm\" | \"md\" | \"lg\" | \"xlg\";\n radius?: \"none\" | \"sm\" | \"md\" | \"lg\" | \"full\";\n className?: string;\n color?: string;\n backgroundColor?: string;\n borderColor?: string;\n}\n\nexport const Label: React.FC<ILabel> = ({\n text,\n variant = \"default\",\n size = \"md\",\n radius = \"md\",\n className = \"\",\n color,\n backgroundColor,\n borderColor,\n}) => {\n const labelClass = clsx(\n \"label\",\n `label-${variant}-solid`, // default to solid appearance; could make this configurable\n `label-${size}`,\n `label-radius-${radius}`,\n className\n );\n\n return (\n <label\n className={labelClass}\n style={{\n color,\n backgroundColor,\n borderColor,\n }}\n >\n {text}\n </label>\n );\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../index.ts","../../../node_modules/clsx/dist/clsx.mjs","../components/Label.tsx"],"sourcesContent":["export * from \"./components\";\n","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;","\"use client\";\n\nimport * as React from \"react\";\nimport clsx from \"clsx\";\n\nexport interface ILabel {\n text: string;\n variant?:\n | \"default\"\n | \"primary\"\n | \"secondary\"\n | \"success\"\n | \"error\"\n | \"warning\";\n size?: \"xsm\" | \"sm\" | \"md\" | \"lg\" | \"xlg\";\n radius?: \"none\" | \"sm\" | \"md\" | \"lg\" | \"full\";\n className?: string;\n color?: string;\n backgroundColor?: string;\n borderColor?: string;\n}\n\nexport const Label: React.FC<ILabel> = ({\n text,\n variant = \"default\",\n size = \"md\",\n radius = \"md\",\n className = \"\",\n color,\n backgroundColor,\n borderColor,\n}) => {\n const labelClass = clsx(\n \"label\",\n `label-${variant}-solid`, // default to solid appearance; could make this configurable\n `label-${size}`,\n `label-radius-${radius}`,\n className\n );\n\n return (\n <label\n className={labelClass}\n style={{\n color,\n backgroundColor,\n borderColor,\n }}\n >\n {text}\n </label>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAC,IAAO,eAAQ;;;ACyC3X;AAnBG,IAAM,QAA0B,CAAC;AAAA,EACtC;AAAA,EACA,UAAU;AAAA,EACV,OAAO;AAAA,EACP,SAAS;AAAA,EACT,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,aAAa;AAAA,IACjB;AAAA,IACA,SAAS,OAAO;AAAA;AAAA,IAChB,SAAS,IAAI;AAAA,IACb,gBAAgB,MAAM;AAAA,IACtB;AAAA,EACF;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/clsx/dist/clsx.mjs","../components/Label.tsx"],"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;","\"use client\";\n\nimport * as React from \"react\";\nimport clsx from \"clsx\";\n\nexport interface ILabel {\n text: string;\n variant?:\n | \"default\"\n | \"primary\"\n | \"secondary\"\n | \"success\"\n | \"error\"\n | \"warning\";\n size?: \"xsm\" | \"sm\" | \"md\" | \"lg\" | \"xlg\";\n radius?: \"none\" | \"sm\" | \"md\" | \"lg\" | \"full\";\n className?: string;\n color?: string;\n backgroundColor?: string;\n borderColor?: string;\n}\n\nexport const Label: React.FC<ILabel> = ({\n text,\n variant = \"default\",\n size = \"md\",\n radius = \"md\",\n className = \"\",\n color,\n backgroundColor,\n borderColor,\n}) => {\n const labelClass = clsx(\n \"label\",\n `label-${variant}-solid`, // default to solid appearance; could make this configurable\n `label-${size}`,\n `label-radius-${radius}`,\n className\n );\n\n return (\n <label\n className={labelClass}\n style={{\n color,\n backgroundColor,\n borderColor,\n }}\n >\n {text}\n </label>\n );\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/clsx/dist/clsx.mjs","../components/Label.tsx"],"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;","\"use client\";\n\nimport * as React from \"react\";\nimport clsx from \"clsx\";\n\nexport interface ILabel {\n text: string;\n variant?:\n | \"default\"\n | \"primary\"\n | \"secondary\"\n | \"success\"\n | \"error\"\n | \"warning\";\n size?: \"xsm\" | \"sm\" | \"md\" | \"lg\" | \"xlg\";\n radius?: \"none\" | \"sm\" | \"md\" | \"lg\" | \"full\";\n className?: string;\n color?: string;\n backgroundColor?: string;\n borderColor?: string;\n}\n\nexport const Label: React.FC<ILabel> = ({\n text,\n variant = \"default\",\n size = \"md\",\n radius = \"md\",\n className = \"\",\n color,\n backgroundColor,\n borderColor,\n}) => {\n const labelClass = clsx(\n \"label\",\n `label-${variant}-solid`, // default to solid appearance; could make this configurable\n `label-${size}`,\n `label-radius-${radius}`,\n className\n );\n\n return (\n <label\n className={labelClass}\n style={{\n color,\n backgroundColor,\n borderColor,\n }}\n >\n {text}\n </label>\n );\n};\n"],"mappings":";;;AAAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAC,IAAO,eAAQ;;;ACyC3X;AAnBG,IAAM,QAA0B,CAAC;AAAA,EACtC;AAAA,EACA,UAAU;AAAA,EACV,OAAO;AAAA,EACP,SAAS;AAAA,EACT,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,aAAa;AAAA,IACjB;AAAA,IACA,SAAS,OAAO;AAAA;AAAA,IAChB,SAAS,IAAI;AAAA,IACb,gBAAgB,MAAM;AAAA,IACtB;AAAA,EACF;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aristobyte-ui/label",
|
|
3
3
|
"description": "AristoByteUI Label component: a reusable, styled label for forms and UI elements.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.72",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"author": "AristoByte <info@aristobyte.com>",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"button",
|
|
28
28
|
"ripple",
|
|
29
29
|
"typescript",
|
|
30
|
-
"scss",
|
|
31
30
|
"react",
|
|
32
31
|
"ui-component",
|
|
33
32
|
"component-library",
|
|
@@ -56,24 +55,18 @@
|
|
|
56
55
|
"check-types": "tsc --noEmit"
|
|
57
56
|
},
|
|
58
57
|
"dependencies": {
|
|
59
|
-
"@aristobyte-ui/utils": "^1.0.
|
|
60
|
-
"esbuild-sass-plugin": "^3.3.1",
|
|
58
|
+
"@aristobyte-ui/utils": "^1.0.72",
|
|
61
59
|
"react": "^19.1.0",
|
|
62
|
-
"react-dom": "^19.1.0"
|
|
63
|
-
"sass": "^1.89.0",
|
|
64
|
-
"tsup": "^8.5.0"
|
|
60
|
+
"react-dom": "^19.1.0"
|
|
65
61
|
},
|
|
66
62
|
"devDependencies": {
|
|
67
|
-
"@aristobyte-ui/eslint-config": "^1.0.
|
|
68
|
-
"@aristobyte-ui/typescript-config": "^1.0.
|
|
63
|
+
"@aristobyte-ui/eslint-config": "^1.0.72",
|
|
64
|
+
"@aristobyte-ui/typescript-config": "^1.0.72",
|
|
69
65
|
"@turbo/gen": "^2.5.0",
|
|
70
66
|
"@types/node": "^24.3.0",
|
|
71
67
|
"@types/react": "19.1.0",
|
|
72
68
|
"@types/react-dom": "19.1.1",
|
|
73
|
-
"autoprefixer": "^10.4.21",
|
|
74
69
|
"eslint": "^9.27.0",
|
|
75
|
-
"postcss": "^8.5.3",
|
|
76
|
-
"sass-embedded": "^1.91.0",
|
|
77
70
|
"tsup": "^8.5.0",
|
|
78
71
|
"typescript": "^5.8.3"
|
|
79
72
|
}
|