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