@takecasper/acuity-design-system 2.0.3 → 2.0.5

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
@@ -5375,7 +5375,7 @@ const ra = (...e) => pn(ce(...e)), zE = Wt(
5375
5375
  }
5376
5376
  }
5377
5377
  ), BE = Wt(
5378
- "preflight ds:inline-block ds:rounded focus-visible:ds:outline-none focus-visible:ds:ring-2 focus-visible:ds:ring-acuity-blue",
5378
+ "preflight ds:inline-block ds:rounded ds:focus-visible:outline-hidden ds:focus-visible:ring-2 ds:focus-visible:ring-acuity-blue",
5379
5379
  {
5380
5380
  variants: {
5381
5381
  size: {
@@ -5436,7 +5436,7 @@ const ra = (...e) => pn(ce(...e)), zE = Wt(
5436
5436
  }, WE = Wt(
5437
5437
  [
5438
5438
  "preflight",
5439
- "!ds:font-sans",
5439
+ "ds:font-sans!",
5440
5440
  "ds:rounded",
5441
5441
  "ds:text-base",
5442
5442
  "ds:font-semibold",
@@ -5444,11 +5444,10 @@ const ra = (...e) => pn(ce(...e)), zE = Wt(
5444
5444
  "ds:transition",
5445
5445
  "ds:duration-100",
5446
5446
  "ds:text-nowrap",
5447
- "focus-visible:ds:border",
5448
- "focus-visible:ds:ring",
5449
- "focus-visible:ds:ring-2",
5450
- "focus-visible:ds:outline-none",
5451
- "focus-visible:ds:ring-offset-2"
5447
+ "ds:focus-visible:border",
5448
+ "ds:focus-visible:ring-2",
5449
+ "ds:focus-visible:outline-hidden",
5450
+ "ds:focus-visible:ring-offset-2"
5452
5451
  ],
5453
5452
  {
5454
5453
  variants: {
@@ -5463,21 +5462,21 @@ const ra = (...e) => pn(ce(...e)), zE = Wt(
5463
5462
  disabled: {
5464
5463
  false: [
5465
5464
  "ds:text-neutrals-black",
5466
- "hover:ds:bg-neutrals-transparent-light",
5467
- "hover:ds:border-neutrals-transparent",
5468
- "active:ds:bg-neutrals-transparent-medium",
5469
- "active:ds:border-neutrals-transparent",
5470
- "focus-visible:ds:bg-neutrals-transparent-light",
5471
- "focus-visible:ds:border-neutrals-dark",
5472
- "focus-visible:ds:ring-neutrals-black"
5465
+ "ds:hover:bg-neutrals-transparent-light",
5466
+ "ds:hover:border-neutrals-transparent",
5467
+ "ds:active:bg-neutrals-transparent-medium",
5468
+ "ds:active:border-neutrals-transparent",
5469
+ "ds:focus-visible:bg-neutrals-transparent-light",
5470
+ "ds:focus-visible:border-neutrals-dark",
5471
+ "ds:focus-visible:ring-neutrals-black"
5473
5472
  ],
5474
5473
  true: [
5475
5474
  "ds:bg-neutrals-transparent-light",
5476
5475
  "ds:text-neutrals-dark",
5477
5476
  "ds:border-neutrals-transparent",
5478
5477
  "ds:cursor-not-allowed",
5479
- "focus-visible:ds:border-neutrals-light",
5480
- "focus-visible:ds:ring-neutrals-black"
5478
+ "ds:focus-visible:border-neutrals-light",
5479
+ "ds:focus-visible:ring-neutrals-black"
5481
5480
  ]
5482
5481
  }
5483
5482
  },
@@ -5538,7 +5537,7 @@ const ra = (...e) => pn(ce(...e)), zE = Wt(
5538
5537
  "div",
5539
5538
  {
5540
5539
  "aria-hidden": "true",
5541
- className: `${f ? "group-hover:ds:hidden" : "group-hover:ds:block group-active:ds:block"} ds:absolute ds:left-1/2 ds:top-[3.5rem] ds:z-10 ds:hidden ds:-translate-x-1/2 ds:cursor-default ds:text-nowrap ds:rounded ds:bg-neutrals-darker ds:px-2 ds:py-1 ds:text-sm ds:font-normal ds:text-neutrals-white ds:transition-all ds:duration-100 group-focus-visible:ds:block`,
5540
+ className: `${f ? "ds:group-hover:hidden" : "ds:group-hover:block ds:group-active:block"} ds:absolute ds:left-1/2 ds:top-[3.5rem] ds:z-10 ds:hidden ds:-translate-x-1/2 ds:cursor-default ds:text-nowrap ds:rounded ds:bg-neutrals-darker ds:px-2 ds:py-1 ds:text-sm ds:font-normal ds:text-neutrals-white ds:transition-all ds:duration-100 ds:group-focus-visible:block`,
5542
5541
  children: t
5543
5542
  }
5544
5543
  )
@@ -6203,32 +6202,31 @@ const cT = Wt("preflight !ds:font-sans", {
6203
6202
  ] }), fT = Wt(
6204
6203
  [
6205
6204
  "preflight",
6206
- "!ds:font-sans",
6205
+ "ds:font-sans!",
6207
6206
  "ds:inline-flex",
6208
6207
  "ds:items-center",
6209
6208
  "ds:gap-1",
6210
- "ds:flex-direction-row",
6211
6209
  "ds:cursor-pointer",
6212
6210
  "ds:text-acuity-blue",
6213
- "active:ds:text-acuity-blue-darkest",
6214
- "focus-visible:ds:outline-none",
6215
- "focus-visible:ds:border-2",
6216
- "focus-visible:ds:rounded",
6217
- "focus-visible:ds:border-acuity-blue",
6218
- "focus-visible:ds:px-[2px]",
6219
- "focus-visible:ds:py-[2px]",
6220
- "focus-visible:ds:-mx-[4px]",
6221
- "focus-visible:ds:-my-[4px]"
6211
+ "ds:active:text-acuity-blue-darkest",
6212
+ "ds:focus-visible:outline-hidden",
6213
+ "ds:focus-visible:border-2",
6214
+ "ds:focus-visible:rounded",
6215
+ "ds:focus-visible:border-acuity-blue",
6216
+ "ds:focus-visible:px-[2px]",
6217
+ "ds:focus-visible:py-[2px]",
6218
+ "ds:focus-visible:-mx-[4px]",
6219
+ "ds:focus-visible:-my-[4px]"
6222
6220
  ],
6223
6221
  {
6224
6222
  variants: {
6225
6223
  type: {
6226
- default: ["ds:font-bold", "hover:ds:underline"],
6224
+ default: ["ds:font-bold", "ds:hover:underline"],
6227
6225
  inline: [
6228
6226
  "ds:underline",
6229
- "hover:ds:no-underline",
6230
- "active:ds:no-underline",
6231
- "visited:ds:text-[#551A8B]"
6227
+ "ds:hover:no-underline",
6228
+ "ds:active:no-underline",
6229
+ "ds:visited:text-[#551A8B]"
6232
6230
  ]
6233
6231
  }
6234
6232
  }
@@ -7661,7 +7659,7 @@ const XY = ({
7661
7659
  as: "div",
7662
7660
  onClose: h,
7663
7661
  static: !0,
7664
- className: "preflight ds:relative ds:z-20 focus:ds:outline-none",
7662
+ className: "preflight ds:relative ds:z-20 ds:focus:outline-hidden",
7665
7663
  "aria-labelledby": "modal-title",
7666
7664
  children: [
7667
7665
  r !== "none" && /* @__PURE__ */ m.jsx(
@@ -7693,7 +7691,7 @@ const XY = ({
7693
7691
  leave: "ease-in duration-200",
7694
7692
  leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
7695
7693
  leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
7696
- children: /* @__PURE__ */ m.jsxs(Qv, { className: "ds:flex ds:max-h-[90vh] ds:min-w-full ds:max-w-full ds:transform ds:flex-col ds:rounded-lg ds:bg-neutrals-white ds:text-left ds:shadow-modal sm:ds:min-w-[15rem] sm:ds:max-w-[55%]", children: [
7694
+ children: /* @__PURE__ */ m.jsxs(Qv, { className: "ds:flex ds:max-h-[90vh] ds:min-w-full ds:max-w-full ds:transform ds:flex-col ds:rounded-lg ds:bg-neutrals-white ds:text-left ds:shadow-modal ds:sm:min-w-[15rem] ds:sm:max-w-[55%]", children: [
7697
7695
  /* @__PURE__ */ m.jsxs(
7698
7696
  "div",
7699
7697
  {
@@ -7930,7 +7928,7 @@ const XY = ({
7930
7928
  );
7931
7929
  return l.length < Ce.Children.toArray(e).length && console.error(
7932
7930
  "You can only pass <Tab> components with defined id and title as children of the <Tabs> component."
7933
- ), /* @__PURE__ */ m.jsxs("div", { className: `prelight ${o}`, ...i, children: [
7931
+ ), /* @__PURE__ */ m.jsxs("div", { className: `preflight ${o}`, ...i, children: [
7934
7932
  /* @__PURE__ */ m.jsx(
7935
7933
  "div",
7936
7934
  {