@warp-ds/elements 1.3.3-next.1 → 1.3.4-next.1

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.
@@ -1554,18 +1554,21 @@ var messages5 = JSON.parse('{"pill.aria.openFilter":"Avaa suodatin","pill.aria.r
1554
1554
  // packages/pill/locales/nb/messages.mjs
1555
1555
  var messages6 = JSON.parse('{"pill.aria.openFilter":"\xC5pne filter","pill.aria.removeFilter":["Fjern filter ",["label"]]}');
1556
1556
 
1557
- // node_modules/.pnpm/@warp-ds+css@1.9.1/node_modules/@warp-ds/css/component-classes/index.js
1557
+ // node_modules/.pnpm/@warp-ds+css@1.9.3/node_modules/@warp-ds/css/component-classes/index.js
1558
1558
  var box = {
1559
1559
  box: "group block relative break-words last-child:mb-0 p-16 rounded-8",
1560
1560
  // Relative here enables w-clickable
1561
1561
  bleed: "-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",
1562
1562
  // We target L and R to override the default rounded-8
1563
1563
  info: "s-bg-info-subtle",
1564
- neutral: "bg-[--w-s-color-surface-sunken]",
1564
+ neutral: "s-surface-sunken",
1565
1565
  bordered: "border-2 s-border s-bg",
1566
- infoClickable: "hover:s-bg-info-subtle-hover active:s-bg-info-subtle-hover",
1567
- neutralClickable: "hover:s-bg-subtle-hover active:s-bg-subtle-hover",
1568
- borderedClickable: "hover:s-bg-hover active:s-bg-hover hover:s-border-hover active:s-border-hover"
1566
+ infoClickable: "hover:s-bg-info-subtle-hover active:s-bg-info-subtle-active",
1567
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1568
+ neutralClickable: "hover:s-bg-hover active:s-bg-active",
1569
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1570
+ borderedClickable: "hover:s-bg-hover active:s-bg-active hover:s-border-hover active:s-border-active"
1571
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1569
1572
  };
1570
1573
  var pill = {
1571
1574
  pill: "flex items-center",
@@ -1582,7 +1585,7 @@ var buttonReset = "focus:outline-none appearance-none cursor-pointer bg-transpar
1582
1585
  var expandable = {
1583
1586
  expandable: "will-change-height",
1584
1587
  expandableTitle: "font-bold s-text",
1585
- expandableBox: "s-bg-subtle hover:s-bg-subtle-hover py-0 px-0 " + box.box,
1588
+ expandableBox: "s-surface-sunken hover:s-bg-hover active:s-bg-active py-0 px-0 " + box.box,
1586
1589
  expandableInfo: "s-bg-info-subtle! hover:s-bg-info-subtle-hover!",
1587
1590
  expandableBleed: box.bleed,
1588
1591
  chevron: "inline-block align-middle s-icon",
@@ -1623,7 +1626,7 @@ var buttonTypes = {
1623
1626
  utility: `border rounded-4 ${buttonDefaultStyling}`,
1624
1627
  negative: `border-0 rounded-8 ${buttonDefaultStyling}`,
1625
1628
  pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${buttonDefaultStyling}`,
1626
- link: `bg-transparent focusable ease-in-out inline active:underline hover:underline ${buttonColors.link}`
1629
+ link: `bg-transparent focusable ease-in-out inline active:underline hover:underline focus:underline ${buttonColors.link}`
1627
1630
  };
1628
1631
  var buttonSizes = {
1629
1632
  xsmall: "py-6 px-16",
@@ -1713,7 +1716,7 @@ var button = {
1713
1716
  pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`,
1714
1717
  link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`,
1715
1718
  linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`,
1716
- linkAsButton: "inline-block hover:no-underline text-center",
1719
+ linkAsButton: "inline-block active:no-underline hover:no-underline focus:no-underline text-center",
1717
1720
  a11y: "sr-only",
1718
1721
  fullWidth: "w-full max-w-full",
1719
1722
  contentWidth: "max-w-max"