@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.
@@ -1028,24 +1028,27 @@ var require_parser = __commonJS({
1028
1028
  import WarpElement from "@warp-ds/elements-core";
1029
1029
  import { css, html as html5 } from "lit";
1030
1030
 
1031
- // node_modules/.pnpm/@warp-ds+css@1.9.1/node_modules/@warp-ds/css/component-classes/index.js
1031
+ // node_modules/.pnpm/@warp-ds+css@1.9.3/node_modules/@warp-ds/css/component-classes/index.js
1032
1032
  var box = {
1033
1033
  box: "group block relative break-words last-child:mb-0 p-16 rounded-8",
1034
1034
  // Relative here enables w-clickable
1035
1035
  bleed: "-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",
1036
1036
  // We target L and R to override the default rounded-8
1037
1037
  info: "s-bg-info-subtle",
1038
- neutral: "bg-[--w-s-color-surface-sunken]",
1038
+ neutral: "s-surface-sunken",
1039
1039
  bordered: "border-2 s-border s-bg",
1040
- infoClickable: "hover:s-bg-info-subtle-hover active:s-bg-info-subtle-hover",
1041
- neutralClickable: "hover:s-bg-subtle-hover active:s-bg-subtle-hover",
1042
- borderedClickable: "hover:s-bg-hover active:s-bg-hover hover:s-border-hover active:s-border-hover"
1040
+ infoClickable: "hover:s-bg-info-subtle-hover active:s-bg-info-subtle-active",
1041
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1042
+ neutralClickable: "hover:s-bg-hover active:s-bg-active",
1043
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1044
+ borderedClickable: "hover:s-bg-hover active:s-bg-active hover:s-border-hover active:s-border-active"
1045
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1043
1046
  };
1044
1047
  var buttonReset = "focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 p-0 inline-block";
1045
1048
  var expandable = {
1046
1049
  expandable: "will-change-height",
1047
1050
  expandableTitle: "font-bold s-text",
1048
- expandableBox: "s-bg-subtle hover:s-bg-subtle-hover py-0 px-0 " + box.box,
1051
+ expandableBox: "s-surface-sunken hover:s-bg-hover active:s-bg-active py-0 px-0 " + box.box,
1049
1052
  expandableInfo: "s-bg-info-subtle! hover:s-bg-info-subtle-hover!",
1050
1053
  expandableBleed: box.bleed,
1051
1054
  chevron: "inline-block align-middle s-icon",
@@ -1086,7 +1089,7 @@ var buttonTypes = {
1086
1089
  utility: `border rounded-4 ${buttonDefaultStyling}`,
1087
1090
  negative: `border-0 rounded-8 ${buttonDefaultStyling}`,
1088
1091
  pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${buttonDefaultStyling}`,
1089
- link: `bg-transparent focusable ease-in-out inline active:underline hover:underline ${buttonColors.link}`
1092
+ link: `bg-transparent focusable ease-in-out inline active:underline hover:underline focus:underline ${buttonColors.link}`
1090
1093
  };
1091
1094
  var buttonSizes = {
1092
1095
  xsmall: "py-6 px-16",
@@ -1176,7 +1179,7 @@ var button = {
1176
1179
  pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`,
1177
1180
  link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`,
1178
1181
  linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`,
1179
- linkAsButton: "inline-block hover:no-underline text-center",
1182
+ linkAsButton: "inline-block active:no-underline hover:no-underline focus:no-underline text-center",
1180
1183
  a11y: "sr-only",
1181
1184
  fullWidth: "w-full max-w-full",
1182
1185
  contentWidth: "max-w-max"