@versini/ui-styles 1.8.3 → 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.
- package/dist/index.js +6 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -4876,13 +4876,13 @@ const Uu = /* @__PURE__ */ cn(Hu), Wu = {
|
|
|
4876
4876
|
}, ju = {
|
|
4877
4877
|
'.av-text-area-wrapper label[aria-hidden="true"]': {
|
|
4878
4878
|
/* move the label inline */
|
|
4879
|
-
transform: "translate(
|
|
4879
|
+
transform: "translate(12px, 0) scale(1)",
|
|
4880
4880
|
transformOrigin: "top left",
|
|
4881
4881
|
transition: "var(--av-text-area-wrapper-transition, all 0.2s ease-out)"
|
|
4882
4882
|
},
|
|
4883
4883
|
/* move the label above the field (on focus) */
|
|
4884
4884
|
'.av-text-area:focus + label[aria-hidden="true"],\n .av-text-area:not(:placeholder-shown) + label[aria-hidden="true"]': {
|
|
4885
|
-
transform: "translate(
|
|
4885
|
+
transform: "translate(12px, var(--av-text-area-label, -25px)) scale(0.75)"
|
|
4886
4886
|
},
|
|
4887
4887
|
/* move the helper text below the field */
|
|
4888
4888
|
".av-text-area-helper-text": {
|
|
@@ -4895,17 +4895,17 @@ const Uu = /* @__PURE__ */ cn(Hu), Wu = {
|
|
|
4895
4895
|
}, Yu = {
|
|
4896
4896
|
'.av-text-input-wrapper label[aria-hidden="true"]': {
|
|
4897
4897
|
/* move the label inline */
|
|
4898
|
-
transform: "translate(
|
|
4898
|
+
transform: "translate(12px, 0) scale(1)",
|
|
4899
4899
|
transformOrigin: "top left",
|
|
4900
4900
|
transition: "var(--av-text-input-wrapper-transition, all 0.2s ease-out)"
|
|
4901
4901
|
},
|
|
4902
4902
|
/* move the label above the field (on focus) */
|
|
4903
4903
|
'.av-text-input:focus + label[aria-hidden="true"],\n .av-text-input:not(:placeholder-shown) + label[aria-hidden="true"]': {
|
|
4904
|
-
transform: "translate(
|
|
4904
|
+
transform: "translate(12px, var(--av-text-input-label, -37px)) scale(0.75)"
|
|
4905
4905
|
},
|
|
4906
4906
|
/* move the helper text below the field */
|
|
4907
4907
|
".av-text-input-helper-text": {
|
|
4908
|
-
transform: "translate(12px, var(--av-text-input-helper-text,
|
|
4908
|
+
transform: "translate(12px, var(--av-text-input-helper-text, 44px)) scale(0.75)",
|
|
4909
4909
|
transformOrigin: "top left"
|
|
4910
4910
|
}
|
|
4911
4911
|
}, Xu = () => {
|
|
@@ -4941,7 +4941,7 @@ const Uu = /* @__PURE__ */ cn(Hu), Wu = {
|
|
|
4941
4941
|
96
|
|
4942
4942
|
], t = [];
|
|
4943
4943
|
return e.forEach((r) => {
|
|
4944
|
-
t.push(`mt-${r}`), t.push(`mr-${r}`), t.push(`mb-${r}`), t.push(`ml-${r}`);
|
|
4944
|
+
t.push(`m-${r}`), t.push(`mt-${r}`), t.push(`mr-${r}`), t.push(`mb-${r}`), t.push(`ml-${r}`);
|
|
4945
4945
|
}), t;
|
|
4946
4946
|
}, Gu = Xu(), Wi = (e, t) => {
|
|
4947
4947
|
if (typeof e == "number") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-styles",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dev:js": "vite build --watch --mode development",
|
|
27
27
|
"dev:types": "tsup --watch src",
|
|
28
28
|
"dev": "npm-run-all clean --parallel dev:js dev:types",
|
|
29
|
-
"lint": "
|
|
29
|
+
"lint": "biome lint src",
|
|
30
30
|
"test:coverage": "vitest run --coverage",
|
|
31
31
|
"test:watch": "vitest",
|
|
32
32
|
"test": "cross-env-shell NODE_ENV=test vitest run"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"culori": "4.0.1",
|
|
37
37
|
"tailwindcss": "3.4.3"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8100a82c3c37ee81b3cd91a934b2ae40796307c6"
|
|
40
40
|
}
|