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