@spothero/ui 14.5.0 → 14.5.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.
@@ -34349,6 +34349,15 @@ var disabledButtonHoverStyle = {
34349
34349
  color: 'gray.dark'
34350
34350
  }
34351
34351
  };
34352
+ var destructiveButtonStyles = {
34353
+ bg: 'white',
34354
+ borderColor: 'red.default',
34355
+ color: 'red.default',
34356
+ _hover: _objectSpread$8({
34357
+ borderColor: 'red.800',
34358
+ color: 'red.800'
34359
+ }, disabledButtonHoverStyle)
34360
+ };
34352
34361
  var variants$7 = {
34353
34362
  primary: {
34354
34363
  bg: 'primary.default',
@@ -34378,7 +34387,7 @@ var variants$7 = {
34378
34387
  borderColor: 'gray.medium',
34379
34388
  color: 'primary.default',
34380
34389
  _hover: _objectSpread$8({
34381
- borderColor: 'primary.default',
34390
+ borderColor: 'primary.600',
34382
34391
  color: 'primary.600'
34383
34392
  }, disabledButtonHoverStyle)
34384
34393
  },
@@ -34437,7 +34446,54 @@ var variants$7 = {
34437
34446
  opacity: '.7'
34438
34447
  }
34439
34448
  }
34440
- }
34449
+ },
34450
+ tertiary: {
34451
+ bg: 'none',
34452
+ borderWidth: 'none',
34453
+ borderRadius: 'unset',
34454
+ color: 'primary.default',
34455
+ textDecoration: 'underline',
34456
+ h: 'unset',
34457
+ m: 'unset',
34458
+ minW: 'unset',
34459
+ p: 'unset',
34460
+ lineHeight: 1,
34461
+ _disabled: {
34462
+ bg: 'none',
34463
+ color: 'gray.dark'
34464
+ },
34465
+ _hover: {
34466
+ color: 'primary.600',
34467
+ _disabled: {
34468
+ color: 'gray.dark'
34469
+ }
34470
+ }
34471
+ },
34472
+ tertiaryOnDark: {
34473
+ bg: 'none',
34474
+ borderRadius: 'unset',
34475
+ borderWidth: 'none',
34476
+ color: 'white',
34477
+ textDecoration: 'underline',
34478
+ h: 'unset',
34479
+ m: 'unset',
34480
+ minW: 'unset',
34481
+ p: 'unset',
34482
+ _disabled: {
34483
+ bg: 'none',
34484
+ color: 'white',
34485
+ opacity: '.7'
34486
+ },
34487
+ _hover: {
34488
+ color: 'white',
34489
+ opacity: '.8',
34490
+ _disabled: {
34491
+ opacity: '.7'
34492
+ }
34493
+ }
34494
+ },
34495
+ destructive: _objectSpread$8({}, destructiveButtonStyles),
34496
+ destructiveOnDark: _objectSpread$8({}, destructiveButtonStyles)
34441
34497
  };
34442
34498
  var defaultProps$5 = {
34443
34499
  size: null
@@ -34458,6 +34514,7 @@ var _default$P = merge$2(theme.components.Button, {
34458
34514
 
34459
34515
  reactHotLoader.register(baseStyle$8, "baseStyle", "/tmp/build/44cb8d9a/src/src/v2/components/Button/Button.styles.js");
34460
34516
  reactHotLoader.register(disabledButtonHoverStyle, "disabledButtonHoverStyle", "/tmp/build/44cb8d9a/src/src/v2/components/Button/Button.styles.js");
34517
+ reactHotLoader.register(destructiveButtonStyles, "destructiveButtonStyles", "/tmp/build/44cb8d9a/src/src/v2/components/Button/Button.styles.js");
34461
34518
  reactHotLoader.register(variants$7, "variants", "/tmp/build/44cb8d9a/src/src/v2/components/Button/Button.styles.js");
34462
34519
  reactHotLoader.register(defaultProps$5, "defaultProps", "/tmp/build/44cb8d9a/src/src/v2/components/Button/Button.styles.js");
34463
34520
  reactHotLoader.register(_default$P, "default", "/tmp/build/44cb8d9a/src/src/v2/components/Button/Button.styles.js");
@@ -34599,7 +34656,10 @@ var Button = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
34599
34656
  props = _objectWithoutProperties(_ref, _excluded$b);
34600
34657
 
34601
34658
  return /*#__PURE__*/React.createElement(Button$1, _extends({
34602
- iconSpacing: 2
34659
+ iconSpacing: 2,
34660
+ sx: {
34661
+ 'text-underline-offset': '1px'
34662
+ }
34603
34663
  }, props, (asAnchor || props.as === 'a') && anchorProps(isExternal), {
34604
34664
  ref: ref
34605
34665
  }));