@takecasper/acuity-design-system 1.27.7 → 1.27.8
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/assets/index.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8 -11
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -7462,7 +7462,7 @@ const Yi = ({
|
|
|
7462
7462
|
{
|
|
7463
7463
|
state: "default",
|
|
7464
7464
|
hasMarginBottom: !0,
|
|
7465
|
-
className: ["ds-mb-6"
|
|
7465
|
+
className: ["ds-mb-6"]
|
|
7466
7466
|
}
|
|
7467
7467
|
]
|
|
7468
7468
|
}
|
|
@@ -7470,15 +7470,12 @@ const Yi = ({
|
|
|
7470
7470
|
variants: {
|
|
7471
7471
|
state: {
|
|
7472
7472
|
default: ["ds-text-neutrals-black", "ds-mt-2"],
|
|
7473
|
-
error: ["ds-text-danger-red", "ds-
|
|
7474
|
-
success: [
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
"ds-mt-1",
|
|
7480
|
-
"ds-mb-1"
|
|
7481
|
-
]
|
|
7473
|
+
error: ["ds-text-danger-red", "ds-mt-2"],
|
|
7474
|
+
success: ["ds-text-success-green-dark", "ds-truncate", "ds-text-sm", "ds-mt-1"]
|
|
7475
|
+
},
|
|
7476
|
+
hasMarginBottom: {
|
|
7477
|
+
true: ["ds-mb-6"],
|
|
7478
|
+
false: ["ds-mb-0"]
|
|
7482
7479
|
},
|
|
7483
7480
|
disabled: {
|
|
7484
7481
|
true: "!ds-text-neutrals-dark"
|
|
@@ -7538,7 +7535,7 @@ const Yi = ({
|
|
|
7538
7535
|
}
|
|
7539
7536
|
) })
|
|
7540
7537
|
] }),
|
|
7541
|
-
p && /* @__PURE__ */ i.jsx("p", { className: cl({ state: r }), children: a })
|
|
7538
|
+
p && /* @__PURE__ */ i.jsx("p", { className: cl({ state: r, hasMarginBottom: u }), children: a })
|
|
7542
7539
|
] });
|
|
7543
7540
|
}, ft = ul, fl = A(
|
|
7544
7541
|
["preflight", "ds-form-input", "ds-rounded", "ds-p-2", "!ds-border", "!ds-font-sans"],
|