@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.
@@ -1054,24 +1054,27 @@ var r = function() {
1054
1054
  }, []).join(" ");
1055
1055
  };
1056
1056
 
1057
- // node_modules/.pnpm/@warp-ds+css@1.9.1/node_modules/@warp-ds/css/component-classes/index.js
1057
+ // node_modules/.pnpm/@warp-ds+css@1.9.3/node_modules/@warp-ds/css/component-classes/index.js
1058
1058
  var box = {
1059
1059
  box: "group block relative break-words last-child:mb-0 p-16 rounded-8",
1060
1060
  // Relative here enables w-clickable
1061
1061
  bleed: "-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",
1062
1062
  // We target L and R to override the default rounded-8
1063
1063
  info: "s-bg-info-subtle",
1064
- neutral: "bg-[--w-s-color-surface-sunken]",
1064
+ neutral: "s-surface-sunken",
1065
1065
  bordered: "border-2 s-border s-bg",
1066
- infoClickable: "hover:s-bg-info-subtle-hover active:s-bg-info-subtle-hover",
1067
- neutralClickable: "hover:s-bg-subtle-hover active:s-bg-subtle-hover",
1068
- borderedClickable: "hover:s-bg-hover active:s-bg-hover hover:s-border-hover active:s-border-hover"
1066
+ infoClickable: "hover:s-bg-info-subtle-hover active:s-bg-info-subtle-active",
1067
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1068
+ neutralClickable: "hover:s-bg-hover active:s-bg-active",
1069
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1070
+ borderedClickable: "hover:s-bg-hover active:s-bg-active hover:s-border-hover active:s-border-active"
1071
+ // Deprecated - Remove in v2 (after removing Clickable prop in the Box components)
1069
1072
  };
1070
1073
  var buttonReset = "focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 p-0 inline-block";
1071
1074
  var expandable = {
1072
1075
  expandable: "will-change-height",
1073
1076
  expandableTitle: "font-bold s-text",
1074
- expandableBox: "s-bg-subtle hover:s-bg-subtle-hover py-0 px-0 " + box.box,
1077
+ expandableBox: "s-surface-sunken hover:s-bg-hover active:s-bg-active py-0 px-0 " + box.box,
1075
1078
  expandableInfo: "s-bg-info-subtle! hover:s-bg-info-subtle-hover!",
1076
1079
  expandableBleed: box.bleed,
1077
1080
  chevron: "inline-block align-middle s-icon",
@@ -1112,7 +1115,7 @@ var buttonTypes = {
1112
1115
  utility: `border rounded-4 ${buttonDefaultStyling}`,
1113
1116
  negative: `border-0 rounded-8 ${buttonDefaultStyling}`,
1114
1117
  pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${buttonDefaultStyling}`,
1115
- link: `bg-transparent focusable ease-in-out inline active:underline hover:underline ${buttonColors.link}`
1118
+ link: `bg-transparent focusable ease-in-out inline active:underline hover:underline focus:underline ${buttonColors.link}`
1116
1119
  };
1117
1120
  var buttonSizes = {
1118
1121
  xsmall: "py-6 px-16",
@@ -1202,7 +1205,7 @@ var button = {
1202
1205
  pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`,
1203
1206
  link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`,
1204
1207
  linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`,
1205
- linkAsButton: "inline-block hover:no-underline text-center",
1208
+ linkAsButton: "inline-block active:no-underline hover:no-underline focus:no-underline text-center",
1206
1209
  a11y: "sr-only",
1207
1210
  fullWidth: "w-full max-w-full",
1208
1211
  contentWidth: "max-w-max"