@takecasper/acuity-design-system 1.27.6 → 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/index.es.js CHANGED
@@ -656,7 +656,7 @@ const es = ({
656
656
  /* @__PURE__ */ i.jsx(
657
657
  "path",
658
658
  {
659
- d: "M12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21Z",
659
+ d: "M12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2C9.34784 2 6.8043 3.05357 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C6.8043 20.9464 9.34784 22 12 22Z",
660
660
  stroke: a ? "transparent" : "currentColor",
661
661
  fill: a ? "#157393" : "none",
662
662
  strokeWidth: s,
@@ -667,7 +667,7 @@ const es = ({
667
667
  /* @__PURE__ */ i.jsx(
668
668
  "path",
669
669
  {
670
- d: "M12 16.9998V12.9998",
670
+ d: "M12 17.5553V13.1108",
671
671
  stroke: a ? "white" : "currentColor",
672
672
  strokeWidth: s,
673
673
  strokeLinecap: "round",
@@ -677,7 +677,7 @@ const es = ({
677
677
  /* @__PURE__ */ i.jsx(
678
678
  "path",
679
679
  {
680
- d: "M12 9.05994C11.8674 9.05994 11.7402 9.00726 11.6465 8.91349C11.5527 8.81972 11.5 8.69254 11.5 8.55994C11.5 8.42733 11.5527 8.30015 11.6465 8.20638C11.7402 8.11262 11.8674 8.05994 12 8.05994",
680
+ d: "M12 8.7333C11.8527 8.7333 11.7114 8.67477 11.6072 8.57058C11.503 8.4664 11.4445 8.32509 11.4445 8.17775C11.4445 8.03041 11.503 7.8891 11.6072 7.78491C11.7114 7.68072 11.8527 7.62219 12 7.62219",
681
681
  stroke: a ? "white" : "currentColor",
682
682
  strokeWidth: s,
683
683
  strokeLinecap: "round",
@@ -687,7 +687,7 @@ const es = ({
687
687
  /* @__PURE__ */ i.jsx(
688
688
  "path",
689
689
  {
690
- d: "M12 9.05994C12.1326 9.05994 12.2598 9.00726 12.3536 8.91349C12.4473 8.81972 12.5 8.69254 12.5 8.55994C12.5 8.42733 12.4473 8.30015 12.3536 8.20638C12.2598 8.11262 12.1326 8.05994 12 8.05994",
690
+ d: "M12 8.7333C12.1473 8.7333 12.2887 8.67477 12.3928 8.57058C12.497 8.4664 12.5556 8.32509 12.5556 8.17775C12.5556 8.03041 12.497 7.8891 12.3928 7.78491C12.2887 7.68072 12.1473 7.62219 12 7.62219",
691
691
  stroke: a ? "white" : "currentColor",
692
692
  strokeWidth: s,
693
693
  strokeLinecap: "round",
@@ -7462,7 +7462,7 @@ const Yi = ({
7462
7462
  {
7463
7463
  state: "default",
7464
7464
  hasMarginBottom: !0,
7465
- className: ["ds-mb-6", "ds-pb-2"]
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-pb-6", "ds-mt-2"],
7474
- success: [
7475
- "ds-text-success-green-dark",
7476
- "ds-h-6",
7477
- "ds-truncate",
7478
- "ds-text-sm",
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"],