@dreamcommerce/aurora 3.0.0-293 → 3.0.0-294

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.
@@ -172,7 +172,7 @@ _rollupPluginBabelHelpers.defineProperty(ColorPickerUtils, "findVariable", funct
172
172
  return (_Object$values$find = Object.values(variables).find(function (v) {
173
173
  var variableTiny = _ColorPickerUtils.getTinyColorInstance(v.value);
174
174
  var colorTiny = _ColorPickerUtils.getTinyColorInstance(color);
175
- return variableTiny.toHexString() === colorTiny.toHexString();
175
+ return variableTiny.toHex8String() === colorTiny.toHex8String();
176
176
  })) === null || _Object$values$find === void 0 ? void 0 : _Object$values$find.name;
177
177
  });
178
178
  _rollupPluginBabelHelpers.defineProperty(ColorPickerUtils, "normalizeLinearGradient", function (color) {
@@ -24,7 +24,7 @@ var SegmentedControlItem = /*#__PURE__*/React__default['default'].forwardRef(fun
24
24
  var context = React__default['default'].useContext(segmented_control_context.SegmentedControlContext);
25
25
  return /*#__PURE__*/React__default['default'].createElement(ToggleGroupPrimitive.Item, _rollupPluginBabelHelpers.objectSpread2({
26
26
  ref: ref,
27
- className: cn.cn("[&:not(:last-child)]:after:aurora-content-[''] focus last:aurora-rounded-r-4 first:aurora-rounded-l-4 [&:not(:last-child)]:after:aurora-absolute [&:not(:last-child)]:after:aurora-block [&:not(:last-child)]:after:aurora-w-px [&:not(:last-child)]:after:aurora-bg-active [&:not(:last-child)]:after:aurora--right-px [&:not(:last-child)]:after:aurora-h-3/6\n aurora-relative aurora-flex aurora-item aurora-basis-full aurora-items-center aurora-justify-center aurora-gap-2 hover:aurora-bg-active aurora-cursor-pointer aurora-transition-[background-color] aurora-duration-300\n data-[state=on]:aurora-bg data-[state=on]:aurora-font-semibold\n data-[state=on]:before:aurora-content-[''] data-[state=on]:before:aurora-block data-[state=on]:before:aurora-absolute data-[state=on]:before:aurora--left-px data-[state=on]:before:aurora--right-px data-[state=on]:before:aurora--top-px data-[state=on]:before:aurora--bottom-px data-[state=on]:before:aurora-border-active data-[state=on]:before:aurora-border-2 data-[state=on]:before:aurora-rounded-4 data-[state=on]:before:aurora-z-10\n [&[data-state=off]_svg]:!aurora-fill-subtle aurora-whitespace-nowrap", segmented_control_item_variants.segmentedControlItemVariants({
27
+ className: cn.cn("[&:not(:last-child)]:after:aurora-content-[''] focus last:aurora-rounded-r-4 first:aurora-rounded-l-4 [&:not(:last-child)]:after:aurora-absolute [&:not(:last-child)]:after:aurora-block [&:not(:last-child)]:after:aurora-w-px [&:not(:last-child)]:after:aurora-bg-active [&:not(:last-child)]:after:aurora--right-px [&:not(:last-child)]:after:aurora-h-3/6\n aurora-relative aurora-flex aurora-item aurora-basis-full aurora-items-center aurora-justify-center aurora-gap-2 hover:aurora-bg-active aurora-cursor-pointer aurora-transition-[background-color] aurora-duration-300\n data-[state=on]:aurora-bg data-[state=on]:aurora-font-semibold\n data-[state=on]:before:aurora-content-[''] data-[state=on]:before:aurora-block data-[state=on]:before:aurora-absolute data-[state=on]:before:aurora--left-px data-[state=on]:before:aurora--right-px data-[state=on]:before:aurora--top-px data-[state=on]:before:aurora--bottom-px data-[state=on]:before:aurora-border-active data-[state=on]:before:aurora-border-2 data-[state=on]:before:aurora-rounded-4 data-[state=on]:before:aurora-z-10\n [&[data-state=off]_svg]:!aurora-fill aurora-whitespace-nowrap", segmented_control_item_variants.segmentedControlItemVariants({
28
28
  size: (_context$size = context.size) !== null && _context$size !== void 0 ? _context$size : size,
29
29
  variant: (_context$variant = context.variant) !== null && _context$variant !== void 0 ? _context$variant : variant
30
30
  }), className)
@@ -168,7 +168,7 @@ _defineProperty(ColorPickerUtils, "findVariable", function (variables, color) {
168
168
  return (_Object$values$find = Object.values(variables).find(function (v) {
169
169
  var variableTiny = _ColorPickerUtils.getTinyColorInstance(v.value);
170
170
  var colorTiny = _ColorPickerUtils.getTinyColorInstance(color);
171
- return variableTiny.toHexString() === colorTiny.toHexString();
171
+ return variableTiny.toHex8String() === colorTiny.toHex8String();
172
172
  })) === null || _Object$values$find === void 0 ? void 0 : _Object$values$find.name;
173
173
  });
174
174
  _defineProperty(ColorPickerUtils, "normalizeLinearGradient", function (color) {
@@ -16,7 +16,7 @@ var SegmentedControlItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
16
16
  var context = React.useContext(SegmentedControlContext);
17
17
  return /*#__PURE__*/React.createElement(Item, _objectSpread2({
18
18
  ref: ref,
19
- className: cn("[&:not(:last-child)]:after:aurora-content-[''] focus last:aurora-rounded-r-4 first:aurora-rounded-l-4 [&:not(:last-child)]:after:aurora-absolute [&:not(:last-child)]:after:aurora-block [&:not(:last-child)]:after:aurora-w-px [&:not(:last-child)]:after:aurora-bg-active [&:not(:last-child)]:after:aurora--right-px [&:not(:last-child)]:after:aurora-h-3/6\n aurora-relative aurora-flex aurora-item aurora-basis-full aurora-items-center aurora-justify-center aurora-gap-2 hover:aurora-bg-active aurora-cursor-pointer aurora-transition-[background-color] aurora-duration-300\n data-[state=on]:aurora-bg data-[state=on]:aurora-font-semibold\n data-[state=on]:before:aurora-content-[''] data-[state=on]:before:aurora-block data-[state=on]:before:aurora-absolute data-[state=on]:before:aurora--left-px data-[state=on]:before:aurora--right-px data-[state=on]:before:aurora--top-px data-[state=on]:before:aurora--bottom-px data-[state=on]:before:aurora-border-active data-[state=on]:before:aurora-border-2 data-[state=on]:before:aurora-rounded-4 data-[state=on]:before:aurora-z-10\n [&[data-state=off]_svg]:!aurora-fill-subtle aurora-whitespace-nowrap", segmentedControlItemVariants({
19
+ className: cn("[&:not(:last-child)]:after:aurora-content-[''] focus last:aurora-rounded-r-4 first:aurora-rounded-l-4 [&:not(:last-child)]:after:aurora-absolute [&:not(:last-child)]:after:aurora-block [&:not(:last-child)]:after:aurora-w-px [&:not(:last-child)]:after:aurora-bg-active [&:not(:last-child)]:after:aurora--right-px [&:not(:last-child)]:after:aurora-h-3/6\n aurora-relative aurora-flex aurora-item aurora-basis-full aurora-items-center aurora-justify-center aurora-gap-2 hover:aurora-bg-active aurora-cursor-pointer aurora-transition-[background-color] aurora-duration-300\n data-[state=on]:aurora-bg data-[state=on]:aurora-font-semibold\n data-[state=on]:before:aurora-content-[''] data-[state=on]:before:aurora-block data-[state=on]:before:aurora-absolute data-[state=on]:before:aurora--left-px data-[state=on]:before:aurora--right-px data-[state=on]:before:aurora--top-px data-[state=on]:before:aurora--bottom-px data-[state=on]:before:aurora-border-active data-[state=on]:before:aurora-border-2 data-[state=on]:before:aurora-rounded-4 data-[state=on]:before:aurora-z-10\n [&[data-state=off]_svg]:!aurora-fill aurora-whitespace-nowrap", segmentedControlItemVariants({
20
20
  size: (_context$size = context.size) !== null && _context$size !== void 0 ? _context$size : size,
21
21
  variant: (_context$variant = context.variant) !== null && _context$variant !== void 0 ? _context$variant : variant
22
22
  }), className)