@semcore/tag 16.1.6 → 16.1.7-prerelease.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [16.1.7] - 2025-08-29
6
+
7
+ ### Changed
8
+
9
+ - Type description for `TagProps`.
10
+
5
11
  ## [16.1.6] - 2025-08-07
6
12
 
7
13
  ### Changed
package/lib/cjs/Tag.js CHANGED
@@ -26,30 +26,30 @@ var _react = _interopRequireDefault(require("react"));
26
26
  var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
27
27
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
28
28
  /*!__reshadow-styles__:"./style/tag.shadow.css"*/
29
- var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SAddon_1szcn_gg_,.___SCircle_1szcn_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_1szcn_gg_{overflow:hidden;border-radius:50%}.___SCircle_1szcn_gg_._size_m_1szcn_gg_{width:12px;height:12px}.___SCircle_1szcn_gg_._size_l_1szcn_gg_{width:16px;height:16px}.___SCircle_1szcn_gg_._size_xl_1szcn_gg_{width:20px;height:20px}.___SAddon_1szcn_gg_{flex-shrink:0;position:relative}.___SAddon_1szcn_gg_:last-child{padding-right:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_{padding-left:0;padding-right:0}.___STagContainerClose_1szcn_gg_,.___STag_1szcn_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-tag-rounded, 24px);padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_1szcn)}.___STagContainerClose_1szcn_gg_.__interactive_1szcn_gg_:focus-visible,.___STag_1szcn_gg_.__interactive_1szcn_gg_:focus-visible{z-index:1}.___STagContainerClose_1szcn_gg_::before,.___STag_1szcn_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--intergalactic-tag-rounded, 24px);background-color:var(--tag-color_1szcn);opacity:.2;filter:brightness(150%)}.___STagContainerClose_1szcn_gg_::after,.___STag_1szcn_gg_::after{content:\"\";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--intergalactic-tag-rounded, 24px);pointer-events:none;border:1px solid var(--tag-color_1szcn);opacity:.1;filter:brightness(150%)}.___STagContainerClose_1szcn_gg_:active,.___STag_1szcn_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_1szcn_gg_:hover,.___STag_1szcn_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_1szcn_gg_.__disabled_1szcn_gg_,.___STag_1szcn_gg_.__disabled_1szcn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_1szcn_gg_.__interactiveView_1szcn_gg_{cursor:pointer}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_,.___STag_1szcn_gg_._size_m_1szcn_gg_{height:20px;min-width:20px}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child,.___STag_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child{padding-left:0}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_1szcn_gg_._size_l_1szcn_gg_,.___STagContainer_1szcn_gg_._size_l_1szcn_gg_,.___STag_1szcn_gg_._size_l_1szcn_gg_{height:28px;min-width:28px}.___STagContainerClose_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_,.___STag_1szcn_gg_._size_xl_1szcn_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_xl_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_::before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_::before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_:after,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_:after,.___STag_1szcn_gg_._theme_primary_1szcn_gg_:after{display:none}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before{opacity:.3}}.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_::before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_::before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_::before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_::before{opacity:.01}.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before{opacity:.1}}.___SClose_1szcn_gg_ path,.___STagContainerClose_1szcn_gg_._theme_additional-invert_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_secondary-invert_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_::after,.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_ svg path,.___STag_1szcn_gg_._theme_additional-invert_1szcn_gg_::after,.___STag_1szcn_gg_._theme_additional_1szcn_gg_::after,.___STag_1szcn_gg_._theme_secondary-invert_1szcn_gg_::after,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_::after{opacity:.5}.___STagContainerClose_1szcn_gg_._theme_primary-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_primary-invert_1szcn_gg_{background-color:var(--intergalactic-tag-primary-white-normal,\n rgba(255, 255, 255, 0.15)\n );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_1szcn_gg_._theme_additional-invert_1szcn_gg_,.___STagContainerClose_1szcn_gg_._theme_secondary-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_additional-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_secondary-invert_1szcn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_1szcn_gg_._theme_additional_1szcn_gg_::after{border-style:dashed}.___SText_1szcn_gg_{display:inline-block;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.___SText_1szcn_gg_:focus-visible{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SClose_1szcn_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_1szcn_gg_:hover path{opacity:1}}.___SClose_1szcn_gg_,.___STagContainer_1szcn_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child),.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child)::after,.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child)::before,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child)::after,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child) .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child) .___SText_1szcn_gg_{padding-right:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child),.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child)::after,.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child)::before,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child)::after,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child) .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child) .___SText_1szcn_gg_{padding-left:0}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::after,.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::before{left:-1px}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_:hover svg path{opacity:1}}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"1szcn_gg_"),
29
+ var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SAddon_182pp_gg_,.___SCircle_182pp_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_182pp_gg_{overflow:hidden;border-radius:50%}.___SCircle_182pp_gg_._size_m_182pp_gg_{width:12px;height:12px}.___SCircle_182pp_gg_._size_l_182pp_gg_{width:16px;height:16px}.___SCircle_182pp_gg_._size_xl_182pp_gg_{width:20px;height:20px}.___SAddon_182pp_gg_{flex-shrink:0;position:relative}.___SAddon_182pp_gg_:last-child{padding-right:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_{padding-left:0;padding-right:0}.___STagContainerClose_182pp_gg_,.___STag_182pp_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-tag-rounded, 24px);padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_182pp)}.___STagContainerClose_182pp_gg_.__interactive_182pp_gg_:focus-visible,.___STag_182pp_gg_.__interactive_182pp_gg_:focus-visible{z-index:1}.___STagContainerClose_182pp_gg_::before,.___STag_182pp_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--intergalactic-tag-rounded, 24px);background-color:var(--tag-color_182pp);opacity:.2;filter:brightness(150%)}.___STagContainerClose_182pp_gg_::after,.___STag_182pp_gg_::after{content:\"\";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--intergalactic-tag-rounded, 24px);pointer-events:none;border:1px solid var(--tag-color_182pp);opacity:.1;filter:brightness(150%)}.___STagContainerClose_182pp_gg_:active,.___STag_182pp_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_182pp_gg_:hover,.___STag_182pp_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_182pp_gg_.__disabled_182pp_gg_,.___STag_182pp_gg_.__disabled_182pp_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_182pp_gg_.__interactiveView_182pp_gg_{cursor:pointer}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_,.___STagContainer_182pp_gg_._size_m_182pp_gg_,.___STag_182pp_gg_._size_m_182pp_gg_{height:20px;min-width:20px}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child,.___STagContainer_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child,.___STag_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child{padding-left:0}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_,.___STagContainer_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_182pp_gg_._size_l_182pp_gg_,.___STagContainer_182pp_gg_._size_l_182pp_gg_,.___STag_182pp_gg_._size_l_182pp_gg_{height:28px;min-width:28px}.___STagContainerClose_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_,.___STagContainer_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_182pp_gg_._size_xl_182pp_gg_,.___STag_182pp_gg_._size_xl_182pp_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_182pp_gg_._size_xl_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_xl_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_::before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_::before,.___STag_182pp_gg_._theme_primary_182pp_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_:after,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_:after,.___STag_182pp_gg_._theme_primary_182pp_gg_:after{display:none}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__active_182pp_gg_:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:hover:before{opacity:.3}}.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_::before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_::before,.___STag_182pp_gg_._theme_additional_182pp_gg_::before,.___STag_182pp_gg_._theme_secondary_182pp_gg_::before{opacity:.01}.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:hover:before{opacity:.1}}.___SClose_182pp_gg_ path,.___STagContainerClose_182pp_gg_._theme_additional-invert_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_secondary-invert_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_::after,.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_ svg path,.___STag_182pp_gg_._theme_additional-invert_182pp_gg_::after,.___STag_182pp_gg_._theme_additional_182pp_gg_::after,.___STag_182pp_gg_._theme_secondary-invert_182pp_gg_::after,.___STag_182pp_gg_._theme_secondary_182pp_gg_::after{opacity:.5}.___STagContainerClose_182pp_gg_._theme_primary-invert_182pp_gg_,.___STag_182pp_gg_._theme_primary-invert_182pp_gg_{background-color:var(--intergalactic-tag-primary-white-normal,\n rgba(255, 255, 255, 0.15)\n );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_182pp_gg_._theme_additional-invert_182pp_gg_,.___STagContainerClose_182pp_gg_._theme_secondary-invert_182pp_gg_,.___STag_182pp_gg_._theme_additional-invert_182pp_gg_,.___STag_182pp_gg_._theme_secondary-invert_182pp_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_182pp_gg_._theme_additional_182pp_gg_::after{border-style:dashed}.___SText_182pp_gg_{display:inline-block;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.___SText_182pp_gg_:focus-visible{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SClose_182pp_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_182pp_gg_:hover path{opacity:1}}.___SClose_182pp_gg_,.___STagContainer_182pp_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child),.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child)::after,.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child)::before,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child)::after,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child) .___SText_182pp_gg_,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child) .___SText_182pp_gg_{padding-right:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child),.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child)::after,.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child)::before,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child)::after,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child) .___SText_182pp_gg_,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child) .___SText_182pp_gg_{padding-left:0}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::after,.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::before{left:-1px}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_:hover svg path{opacity:1}}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_._size_xl_182pp_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"182pp_gg_"),
30
30
  /*__reshadow_css_end__*/
31
31
  {
32
- "__SCircle": "___SCircle_1szcn_gg_",
33
- "_size_m": "_size_m_1szcn_gg_",
34
- "_size_l": "_size_l_1szcn_gg_",
35
- "_size_xl": "_size_xl_1szcn_gg_",
36
- "__STagContainer": "___STagContainer_1szcn_gg_",
37
- "__SAddon": "___SAddon_1szcn_gg_",
38
- "__STag": "___STag_1szcn_gg_",
39
- "_disabled": "__disabled_1szcn_gg_",
40
- "__STagContainerClose": "___STagContainerClose_1szcn_gg_",
41
- "_interactiveView": "__interactiveView_1szcn_gg_",
42
- "_theme_primary-invert": "_theme_primary-invert_1szcn_gg_",
43
- "_theme_secondary-invert": "_theme_secondary-invert_1szcn_gg_",
44
- "_theme_additional-invert": "_theme_additional-invert_1szcn_gg_",
45
- "__SText": "___SText_1szcn_gg_",
46
- "--tag-color": "--tag-color_1szcn",
47
- "_interactive": "__interactive_1szcn_gg_",
48
- "_theme_primary": "_theme_primary_1szcn_gg_",
49
- "_active": "__active_1szcn_gg_",
50
- "_theme_secondary": "_theme_secondary_1szcn_gg_",
51
- "_theme_additional": "_theme_additional_1szcn_gg_",
52
- "__SClose": "___SClose_1szcn_gg_"
32
+ "__SCircle": "___SCircle_182pp_gg_",
33
+ "_size_m": "_size_m_182pp_gg_",
34
+ "_size_l": "_size_l_182pp_gg_",
35
+ "_size_xl": "_size_xl_182pp_gg_",
36
+ "__STagContainer": "___STagContainer_182pp_gg_",
37
+ "__SAddon": "___SAddon_182pp_gg_",
38
+ "__STag": "___STag_182pp_gg_",
39
+ "_disabled": "__disabled_182pp_gg_",
40
+ "__STagContainerClose": "___STagContainerClose_182pp_gg_",
41
+ "_interactiveView": "__interactiveView_182pp_gg_",
42
+ "_theme_primary-invert": "_theme_primary-invert_182pp_gg_",
43
+ "_theme_secondary-invert": "_theme_secondary-invert_182pp_gg_",
44
+ "_theme_additional-invert": "_theme_additional-invert_182pp_gg_",
45
+ "__SText": "___SText_182pp_gg_",
46
+ "--tag-color": "--tag-color_182pp",
47
+ "_interactive": "__interactive_182pp_gg_",
48
+ "_theme_primary": "_theme_primary_182pp_gg_",
49
+ "_active": "__active_182pp_gg_",
50
+ "_theme_secondary": "_theme_secondary_182pp_gg_",
51
+ "_theme_additional": "_theme_additional_182pp_gg_",
52
+ "__SClose": "___SClose_182pp_gg_"
53
53
  });
54
54
  var legacyThemeRecommendedMigration = {
55
55
  primary: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { IconProps } from '@semcore/icon';\nimport type React from 'react';\n\nexport type TagSize = 'xl' | 'l' | 'm';\n/** @deprecated */\nexport type TagThemeOld =\n | 'muted'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger'\n | 'invert'\n | 'additional';\nexport type TagTheme = 'primary' | 'secondary' | TagThemeOld;\nexport type TagUse = 'primary' | 'secondary';\n\n/** @deprecated */\nexport interface ITagProps extends TagProps, UnknownProperties {}\nexport type TagProps = BoxProps & {\n /** Value responsible for tag availability\n */\n disabled?: boolean;\n /** Value responsible for tag activity\n */\n active?: boolean;\n /** Interactive tag\n */\n interactive?: boolean;\n /** Tag type\n * @default secondary\n * @deprecated v4.0.0\n * @use ITagProps.theme\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default primary\n */\n theme?: TagTheme;\n /** Tag color text */\n color?: string;\n /** Tag size\n * @default m\n */\n size?: TagSize;\n /** Left addon tag */\n addonLeft?: React.ElementType;\n /** Right addon tag */\n addonRight?: React.ElementType;\n locale?: string;\n};\n\n/** @deprecated */\nexport interface ITagCloseProps extends TagCloseProps, UnknownProperties {}\nexport type TagCloseProps = IconProps & {\n /** Tag type\n * @default secondary\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default muted\n */\n theme?: TagTheme;\n};\n\n/** @deprecated */\nexport interface ITagContext extends TagContext, UnknownProperties {}\nexport type TagContext = TagProps & {\n getCloseProps?: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface ITagAddonProps extends TagAddonProps, UnknownProperties {}\nexport type TagAddonProps = BoxProps & {};\n\n/** @deprecated */\nexport interface ITagTextProps extends TagTextProps, UnknownProperties {}\nexport type TagTextProps = BoxProps & {};\n\ndeclare const Tag: Intergalactic.Component<'div', TagProps, TagContext> & {\n Text: Intergalactic.Component<'div', TagTextProps>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\ndeclare const TagContainer: Intergalactic.Component<'div', TagProps, TagContext> & {\n Tag: typeof Tag;\n Close: Intergalactic.Component<'button'>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\nexport default Tag;\nexport { TagContainer };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { IconProps } from '@semcore/icon';\nimport type React from 'react';\n\nexport type TagSize = 'xl' | 'l' | 'm';\n/** @deprecated */\nexport type TagThemeOld =\n | 'muted'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger'\n | 'invert'\n | 'additional';\nexport type TagTheme = 'primary' | 'secondary' | TagThemeOld;\nexport type TagUse = 'primary' | 'secondary';\n\n/** @deprecated */\nexport interface ITagProps extends TagProps, UnknownProperties {}\nexport type TagProps = BoxProps & {\n /** Value responsible for tag availability\n */\n disabled?: boolean;\n /** Value responsible for tag activity\n */\n active?: boolean;\n /** Interactive tag\n */\n interactive?: boolean;\n /** Tag type\n * @default secondary\n * @deprecated v4.0.0\n * @use ITagProps.theme\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default primary\n */\n theme?: TagTheme;\n /** Tag color text */\n color?: string;\n /** Tag size\n * @default m\n */\n size?: TagSize;\n /** Left addon tag */\n addonLeft?: React.ElementType;\n /** Right addon tag */\n addonRight?: React.ElementType;\n /** Specifies the locale for i18n support */\n locale?: string;\n};\n\n/** @deprecated */\nexport interface ITagCloseProps extends TagCloseProps, UnknownProperties {}\nexport type TagCloseProps = IconProps & {\n /** Tag type\n * @default secondary\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default muted\n */\n theme?: TagTheme;\n};\n\n/** @deprecated */\nexport interface ITagContext extends TagContext, UnknownProperties {}\nexport type TagContext = TagProps & {\n getCloseProps?: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface ITagAddonProps extends TagAddonProps, UnknownProperties {}\nexport type TagAddonProps = BoxProps & {};\n\n/** @deprecated */\nexport interface ITagTextProps extends TagTextProps, UnknownProperties {}\nexport type TagTextProps = BoxProps & {};\n\ndeclare const Tag: Intergalactic.Component<'div', TagProps, TagContext> & {\n Text: Intergalactic.Component<'div', TagTextProps>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\ndeclare const TagContainer: Intergalactic.Component<'div', TagProps, TagContext> & {\n Tag: typeof Tag;\n Close: Intergalactic.Component<'button'>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\nexport default Tag;\nexport { TagContainer };\n"],"mappings":"","ignoreList":[]}
package/lib/es6/Tag.js CHANGED
@@ -26,30 +26,30 @@ import { Box } from '@semcore/flex-box';
26
26
  import CloseM from '@semcore/icon/Close/m';
27
27
  import React from 'react';
28
28
  /*!__reshadow-styles__:"./style/tag.shadow.css"*/
29
- var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAddon_1szcn_gg_,.___SCircle_1szcn_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_1szcn_gg_{overflow:hidden;border-radius:50%}.___SCircle_1szcn_gg_._size_m_1szcn_gg_{width:12px;height:12px}.___SCircle_1szcn_gg_._size_l_1szcn_gg_{width:16px;height:16px}.___SCircle_1szcn_gg_._size_xl_1szcn_gg_{width:20px;height:20px}.___SAddon_1szcn_gg_{flex-shrink:0;position:relative}.___SAddon_1szcn_gg_:last-child{padding-right:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_{padding-left:0;padding-right:0}.___STagContainerClose_1szcn_gg_,.___STag_1szcn_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-tag-rounded, 24px);padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_1szcn)}.___STagContainerClose_1szcn_gg_.__interactive_1szcn_gg_:focus-visible,.___STag_1szcn_gg_.__interactive_1szcn_gg_:focus-visible{z-index:1}.___STagContainerClose_1szcn_gg_::before,.___STag_1szcn_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--intergalactic-tag-rounded, 24px);background-color:var(--tag-color_1szcn);opacity:.2;filter:brightness(150%)}.___STagContainerClose_1szcn_gg_::after,.___STag_1szcn_gg_::after{content:\"\";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--intergalactic-tag-rounded, 24px);pointer-events:none;border:1px solid var(--tag-color_1szcn);opacity:.1;filter:brightness(150%)}.___STagContainerClose_1szcn_gg_:active,.___STag_1szcn_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_1szcn_gg_:hover,.___STag_1szcn_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_1szcn_gg_.__disabled_1szcn_gg_,.___STag_1szcn_gg_.__disabled_1szcn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_1szcn_gg_.__interactiveView_1szcn_gg_{cursor:pointer}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_,.___STag_1szcn_gg_._size_m_1szcn_gg_{height:20px;min-width:20px}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child,.___STag_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child{padding-left:0}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_1szcn_gg_._size_l_1szcn_gg_,.___STagContainer_1szcn_gg_._size_l_1szcn_gg_,.___STag_1szcn_gg_._size_l_1szcn_gg_{height:28px;min-width:28px}.___STagContainerClose_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_,.___STag_1szcn_gg_._size_xl_1szcn_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_xl_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_::before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_::before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_:after,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_:after,.___STag_1szcn_gg_._theme_primary_1szcn_gg_:after{display:none}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before{opacity:.3}}.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_::before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_::before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_::before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_::before{opacity:.01}.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before{opacity:.1}}.___SClose_1szcn_gg_ path,.___STagContainerClose_1szcn_gg_._theme_additional-invert_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_secondary-invert_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_::after,.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_ svg path,.___STag_1szcn_gg_._theme_additional-invert_1szcn_gg_::after,.___STag_1szcn_gg_._theme_additional_1szcn_gg_::after,.___STag_1szcn_gg_._theme_secondary-invert_1szcn_gg_::after,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_::after{opacity:.5}.___STagContainerClose_1szcn_gg_._theme_primary-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_primary-invert_1szcn_gg_{background-color:var(--intergalactic-tag-primary-white-normal,\n rgba(255, 255, 255, 0.15)\n );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_1szcn_gg_._theme_additional-invert_1szcn_gg_,.___STagContainerClose_1szcn_gg_._theme_secondary-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_additional-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_secondary-invert_1szcn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_1szcn_gg_._theme_additional_1szcn_gg_::after{border-style:dashed}.___SText_1szcn_gg_{display:inline-block;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.___SText_1szcn_gg_:focus-visible{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SClose_1szcn_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_1szcn_gg_:hover path{opacity:1}}.___SClose_1szcn_gg_,.___STagContainer_1szcn_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child),.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child)::after,.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child)::before,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child)::after,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child) .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child) .___SText_1szcn_gg_{padding-right:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child),.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child)::after,.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child)::before,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child)::after,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child) .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child) .___SText_1szcn_gg_{padding-left:0}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::after,.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::before{left:-1px}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_:hover svg path{opacity:1}}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"1szcn_gg_"),
29
+ var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAddon_182pp_gg_,.___SCircle_182pp_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_182pp_gg_{overflow:hidden;border-radius:50%}.___SCircle_182pp_gg_._size_m_182pp_gg_{width:12px;height:12px}.___SCircle_182pp_gg_._size_l_182pp_gg_{width:16px;height:16px}.___SCircle_182pp_gg_._size_xl_182pp_gg_{width:20px;height:20px}.___SAddon_182pp_gg_{flex-shrink:0;position:relative}.___SAddon_182pp_gg_:last-child{padding-right:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_{padding-left:0;padding-right:0}.___STagContainerClose_182pp_gg_,.___STag_182pp_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-tag-rounded, 24px);padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_182pp)}.___STagContainerClose_182pp_gg_.__interactive_182pp_gg_:focus-visible,.___STag_182pp_gg_.__interactive_182pp_gg_:focus-visible{z-index:1}.___STagContainerClose_182pp_gg_::before,.___STag_182pp_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--intergalactic-tag-rounded, 24px);background-color:var(--tag-color_182pp);opacity:.2;filter:brightness(150%)}.___STagContainerClose_182pp_gg_::after,.___STag_182pp_gg_::after{content:\"\";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--intergalactic-tag-rounded, 24px);pointer-events:none;border:1px solid var(--tag-color_182pp);opacity:.1;filter:brightness(150%)}.___STagContainerClose_182pp_gg_:active,.___STag_182pp_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_182pp_gg_:hover,.___STag_182pp_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_182pp_gg_.__disabled_182pp_gg_,.___STag_182pp_gg_.__disabled_182pp_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_182pp_gg_.__interactiveView_182pp_gg_{cursor:pointer}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_,.___STagContainer_182pp_gg_._size_m_182pp_gg_,.___STag_182pp_gg_._size_m_182pp_gg_{height:20px;min-width:20px}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child,.___STagContainer_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child,.___STag_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child{padding-left:0}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_,.___STagContainer_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_182pp_gg_._size_l_182pp_gg_,.___STagContainer_182pp_gg_._size_l_182pp_gg_,.___STag_182pp_gg_._size_l_182pp_gg_{height:28px;min-width:28px}.___STagContainerClose_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_,.___STagContainer_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_182pp_gg_._size_xl_182pp_gg_,.___STag_182pp_gg_._size_xl_182pp_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_182pp_gg_._size_xl_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_xl_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_::before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_::before,.___STag_182pp_gg_._theme_primary_182pp_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_:after,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_:after,.___STag_182pp_gg_._theme_primary_182pp_gg_:after{display:none}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__active_182pp_gg_:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:hover:before{opacity:.3}}.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_::before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_::before,.___STag_182pp_gg_._theme_additional_182pp_gg_::before,.___STag_182pp_gg_._theme_secondary_182pp_gg_::before{opacity:.01}.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:hover:before{opacity:.1}}.___SClose_182pp_gg_ path,.___STagContainerClose_182pp_gg_._theme_additional-invert_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_secondary-invert_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_::after,.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_ svg path,.___STag_182pp_gg_._theme_additional-invert_182pp_gg_::after,.___STag_182pp_gg_._theme_additional_182pp_gg_::after,.___STag_182pp_gg_._theme_secondary-invert_182pp_gg_::after,.___STag_182pp_gg_._theme_secondary_182pp_gg_::after{opacity:.5}.___STagContainerClose_182pp_gg_._theme_primary-invert_182pp_gg_,.___STag_182pp_gg_._theme_primary-invert_182pp_gg_{background-color:var(--intergalactic-tag-primary-white-normal,\n rgba(255, 255, 255, 0.15)\n );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_182pp_gg_._theme_additional-invert_182pp_gg_,.___STagContainerClose_182pp_gg_._theme_secondary-invert_182pp_gg_,.___STag_182pp_gg_._theme_additional-invert_182pp_gg_,.___STag_182pp_gg_._theme_secondary-invert_182pp_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_182pp_gg_._theme_additional_182pp_gg_::after{border-style:dashed}.___SText_182pp_gg_{display:inline-block;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.___SText_182pp_gg_:focus-visible{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SClose_182pp_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_182pp_gg_:hover path{opacity:1}}.___SClose_182pp_gg_,.___STagContainer_182pp_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child),.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child)::after,.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child)::before,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child)::after,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child) .___SText_182pp_gg_,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child) .___SText_182pp_gg_{padding-right:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child),.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child)::after,.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child)::before,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child)::after,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child) .___SText_182pp_gg_,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child) .___SText_182pp_gg_{padding-left:0}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::after,.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::before{left:-1px}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_:hover svg path{opacity:1}}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_._size_xl_182pp_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"182pp_gg_"),
30
30
  /*__reshadow_css_end__*/
31
31
  {
32
- "__SCircle": "___SCircle_1szcn_gg_",
33
- "_size_m": "_size_m_1szcn_gg_",
34
- "_size_l": "_size_l_1szcn_gg_",
35
- "_size_xl": "_size_xl_1szcn_gg_",
36
- "__STagContainer": "___STagContainer_1szcn_gg_",
37
- "__SAddon": "___SAddon_1szcn_gg_",
38
- "__STag": "___STag_1szcn_gg_",
39
- "_disabled": "__disabled_1szcn_gg_",
40
- "__STagContainerClose": "___STagContainerClose_1szcn_gg_",
41
- "_interactiveView": "__interactiveView_1szcn_gg_",
42
- "_theme_primary-invert": "_theme_primary-invert_1szcn_gg_",
43
- "_theme_secondary-invert": "_theme_secondary-invert_1szcn_gg_",
44
- "_theme_additional-invert": "_theme_additional-invert_1szcn_gg_",
45
- "__SText": "___SText_1szcn_gg_",
46
- "--tag-color": "--tag-color_1szcn",
47
- "_interactive": "__interactive_1szcn_gg_",
48
- "_theme_primary": "_theme_primary_1szcn_gg_",
49
- "_active": "__active_1szcn_gg_",
50
- "_theme_secondary": "_theme_secondary_1szcn_gg_",
51
- "_theme_additional": "_theme_additional_1szcn_gg_",
52
- "__SClose": "___SClose_1szcn_gg_"
32
+ "__SCircle": "___SCircle_182pp_gg_",
33
+ "_size_m": "_size_m_182pp_gg_",
34
+ "_size_l": "_size_l_182pp_gg_",
35
+ "_size_xl": "_size_xl_182pp_gg_",
36
+ "__STagContainer": "___STagContainer_182pp_gg_",
37
+ "__SAddon": "___SAddon_182pp_gg_",
38
+ "__STag": "___STag_182pp_gg_",
39
+ "_disabled": "__disabled_182pp_gg_",
40
+ "__STagContainerClose": "___STagContainerClose_182pp_gg_",
41
+ "_interactiveView": "__interactiveView_182pp_gg_",
42
+ "_theme_primary-invert": "_theme_primary-invert_182pp_gg_",
43
+ "_theme_secondary-invert": "_theme_secondary-invert_182pp_gg_",
44
+ "_theme_additional-invert": "_theme_additional-invert_182pp_gg_",
45
+ "__SText": "___SText_182pp_gg_",
46
+ "--tag-color": "--tag-color_182pp",
47
+ "_interactive": "__interactive_182pp_gg_",
48
+ "_theme_primary": "_theme_primary_182pp_gg_",
49
+ "_active": "__active_182pp_gg_",
50
+ "_theme_secondary": "_theme_secondary_182pp_gg_",
51
+ "_theme_additional": "_theme_additional_182pp_gg_",
52
+ "__SClose": "___SClose_182pp_gg_"
53
53
  });
54
54
  import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
55
55
  var legacyThemeRecommendedMigration = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { IconProps } from '@semcore/icon';\nimport type React from 'react';\n\nexport type TagSize = 'xl' | 'l' | 'm';\n/** @deprecated */\nexport type TagThemeOld =\n | 'muted'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger'\n | 'invert'\n | 'additional';\nexport type TagTheme = 'primary' | 'secondary' | TagThemeOld;\nexport type TagUse = 'primary' | 'secondary';\n\n/** @deprecated */\nexport interface ITagProps extends TagProps, UnknownProperties {}\nexport type TagProps = BoxProps & {\n /** Value responsible for tag availability\n */\n disabled?: boolean;\n /** Value responsible for tag activity\n */\n active?: boolean;\n /** Interactive tag\n */\n interactive?: boolean;\n /** Tag type\n * @default secondary\n * @deprecated v4.0.0\n * @use ITagProps.theme\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default primary\n */\n theme?: TagTheme;\n /** Tag color text */\n color?: string;\n /** Tag size\n * @default m\n */\n size?: TagSize;\n /** Left addon tag */\n addonLeft?: React.ElementType;\n /** Right addon tag */\n addonRight?: React.ElementType;\n locale?: string;\n};\n\n/** @deprecated */\nexport interface ITagCloseProps extends TagCloseProps, UnknownProperties {}\nexport type TagCloseProps = IconProps & {\n /** Tag type\n * @default secondary\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default muted\n */\n theme?: TagTheme;\n};\n\n/** @deprecated */\nexport interface ITagContext extends TagContext, UnknownProperties {}\nexport type TagContext = TagProps & {\n getCloseProps?: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface ITagAddonProps extends TagAddonProps, UnknownProperties {}\nexport type TagAddonProps = BoxProps & {};\n\n/** @deprecated */\nexport interface ITagTextProps extends TagTextProps, UnknownProperties {}\nexport type TagTextProps = BoxProps & {};\n\ndeclare const Tag: Intergalactic.Component<'div', TagProps, TagContext> & {\n Text: Intergalactic.Component<'div', TagTextProps>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\ndeclare const TagContainer: Intergalactic.Component<'div', TagProps, TagContext> & {\n Tag: typeof Tag;\n Close: Intergalactic.Component<'button'>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\nexport default Tag;\nexport { TagContainer };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { IconProps } from '@semcore/icon';\nimport type React from 'react';\n\nexport type TagSize = 'xl' | 'l' | 'm';\n/** @deprecated */\nexport type TagThemeOld =\n | 'muted'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger'\n | 'invert'\n | 'additional';\nexport type TagTheme = 'primary' | 'secondary' | TagThemeOld;\nexport type TagUse = 'primary' | 'secondary';\n\n/** @deprecated */\nexport interface ITagProps extends TagProps, UnknownProperties {}\nexport type TagProps = BoxProps & {\n /** Value responsible for tag availability\n */\n disabled?: boolean;\n /** Value responsible for tag activity\n */\n active?: boolean;\n /** Interactive tag\n */\n interactive?: boolean;\n /** Tag type\n * @default secondary\n * @deprecated v4.0.0\n * @use ITagProps.theme\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default primary\n */\n theme?: TagTheme;\n /** Tag color text */\n color?: string;\n /** Tag size\n * @default m\n */\n size?: TagSize;\n /** Left addon tag */\n addonLeft?: React.ElementType;\n /** Right addon tag */\n addonRight?: React.ElementType;\n /** Specifies the locale for i18n support */\n locale?: string;\n};\n\n/** @deprecated */\nexport interface ITagCloseProps extends TagCloseProps, UnknownProperties {}\nexport type TagCloseProps = IconProps & {\n /** Tag type\n * @default secondary\n */\n use?: TagUse;\n /** Tag theme, there are several default themes or you can use your color\n * @default muted\n */\n theme?: TagTheme;\n};\n\n/** @deprecated */\nexport interface ITagContext extends TagContext, UnknownProperties {}\nexport type TagContext = TagProps & {\n getCloseProps?: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface ITagAddonProps extends TagAddonProps, UnknownProperties {}\nexport type TagAddonProps = BoxProps & {};\n\n/** @deprecated */\nexport interface ITagTextProps extends TagTextProps, UnknownProperties {}\nexport type TagTextProps = BoxProps & {};\n\ndeclare const Tag: Intergalactic.Component<'div', TagProps, TagContext> & {\n Text: Intergalactic.Component<'div', TagTextProps>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\ndeclare const TagContainer: Intergalactic.Component<'div', TagProps, TagContext> & {\n Tag: typeof Tag;\n Close: Intergalactic.Component<'button'>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\nexport default Tag;\nexport { TagContainer };\n"],"mappings":"","ignoreList":[]}
package/lib/esm/Tag.mjs CHANGED
@@ -25,32 +25,32 @@ var style = (
25
25
  /*__reshadow_css_start__*/
26
26
  (sstyled.insert(
27
27
  /*__inner_css_start__*/
28
- '.___SAddon_1szcn_gg_,.___SCircle_1szcn_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_1szcn_gg_{overflow:hidden;border-radius:50%}.___SCircle_1szcn_gg_._size_m_1szcn_gg_{width:12px;height:12px}.___SCircle_1szcn_gg_._size_l_1szcn_gg_{width:16px;height:16px}.___SCircle_1szcn_gg_._size_xl_1szcn_gg_{width:20px;height:20px}.___SAddon_1szcn_gg_{flex-shrink:0;position:relative}.___SAddon_1szcn_gg_:last-child{padding-right:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_{padding-left:0;padding-right:0}.___STagContainerClose_1szcn_gg_,.___STag_1szcn_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-tag-rounded, 24px);padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_1szcn)}.___STagContainerClose_1szcn_gg_.__interactive_1szcn_gg_:focus-visible,.___STag_1szcn_gg_.__interactive_1szcn_gg_:focus-visible{z-index:1}.___STagContainerClose_1szcn_gg_::before,.___STag_1szcn_gg_::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--intergalactic-tag-rounded, 24px);background-color:var(--tag-color_1szcn);opacity:.2;filter:brightness(150%)}.___STagContainerClose_1szcn_gg_::after,.___STag_1szcn_gg_::after{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--intergalactic-tag-rounded, 24px);pointer-events:none;border:1px solid var(--tag-color_1szcn);opacity:.1;filter:brightness(150%)}.___STagContainerClose_1szcn_gg_:active,.___STag_1szcn_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_1szcn_gg_:hover,.___STag_1szcn_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_1szcn_gg_.__disabled_1szcn_gg_,.___STag_1szcn_gg_.__disabled_1szcn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_1szcn_gg_.__interactiveView_1szcn_gg_{cursor:pointer}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_,.___STag_1szcn_gg_._size_m_1szcn_gg_{height:20px;min-width:20px}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child,.___STag_1szcn_gg_._size_m_1szcn_gg_ .___SAddon_1szcn_gg_:first-child{padding-left:0}.___STagContainerClose_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_m_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_1szcn_gg_._size_l_1szcn_gg_,.___STagContainer_1szcn_gg_._size_l_1szcn_gg_,.___STag_1szcn_gg_._size_l_1szcn_gg_{height:28px;min-width:28px}.___STagContainerClose_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_l_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_,.___STag_1szcn_gg_._size_xl_1szcn_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_ .___SText_1szcn_gg_,.___STag_1szcn_gg_._size_xl_1szcn_gg_ .___SText_1szcn_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_::before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_::before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_:after,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_:after,.___STag_1szcn_gg_._theme_primary_1szcn_gg_:after{display:none}.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STagContainer_1szcn_gg_._theme_primary_1szcn_gg_ .___SAddon_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_primary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before{opacity:.3}}.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_::before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_::before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_::before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_::before{opacity:.01}.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__active_1szcn_gg_:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:active:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__active_1szcn_gg_:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_additional_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_.__interactiveView_1szcn_gg_:hover:before{opacity:.1}}.___SClose_1szcn_gg_ path,.___STagContainerClose_1szcn_gg_._theme_additional-invert_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_additional_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_secondary-invert_1szcn_gg_::after,.___STagContainerClose_1szcn_gg_._theme_secondary_1szcn_gg_::after,.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_ svg path,.___STag_1szcn_gg_._theme_additional-invert_1szcn_gg_::after,.___STag_1szcn_gg_._theme_additional_1szcn_gg_::after,.___STag_1szcn_gg_._theme_secondary-invert_1szcn_gg_::after,.___STag_1szcn_gg_._theme_secondary_1szcn_gg_::after{opacity:.5}.___STagContainerClose_1szcn_gg_._theme_primary-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_primary-invert_1szcn_gg_{background-color:var(--intergalactic-tag-primary-white-normal,\n rgba(255, 255, 255, 0.15)\n );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_1szcn_gg_._theme_additional-invert_1szcn_gg_,.___STagContainerClose_1szcn_gg_._theme_secondary-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_additional-invert_1szcn_gg_,.___STag_1szcn_gg_._theme_secondary-invert_1szcn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_1szcn_gg_._theme_additional_1szcn_gg_::after{border-style:dashed}.___SText_1szcn_gg_{display:inline-block;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.___SText_1szcn_gg_:focus-visible{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SClose_1szcn_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_1szcn_gg_:hover path{opacity:1}}.___SClose_1szcn_gg_,.___STagContainer_1szcn_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child),.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child)::after,.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child)::before,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child)::after,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:last-child) .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:last-child) .___SText_1szcn_gg_{padding-right:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child),.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child)::after,.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child)::before,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child)::after,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___SAddon_1szcn_gg_:not(:first-child) .___SText_1szcn_gg_,.___STagContainer_1szcn_gg_ .___STag_1szcn_gg_:not(:first-child) .___SText_1szcn_gg_{padding-left:0}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::after,.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_::before{left:-1px}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_:hover svg path{opacity:1}}.___STagContainer_1szcn_gg_ .___STagContainerClose_1szcn_gg_._size_xl_1szcn_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}',
28
+ '.___SAddon_182pp_gg_,.___SCircle_182pp_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_182pp_gg_{overflow:hidden;border-radius:50%}.___SCircle_182pp_gg_._size_m_182pp_gg_{width:12px;height:12px}.___SCircle_182pp_gg_._size_l_182pp_gg_{width:16px;height:16px}.___SCircle_182pp_gg_._size_xl_182pp_gg_{width:20px;height:20px}.___SAddon_182pp_gg_{flex-shrink:0;position:relative}.___SAddon_182pp_gg_:last-child{padding-right:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_{padding-left:0;padding-right:0}.___STagContainerClose_182pp_gg_,.___STag_182pp_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid var(--intergalactic-bg-primary-neutral, #ffffff);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-tag-rounded, 24px);padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_182pp)}.___STagContainerClose_182pp_gg_.__interactive_182pp_gg_:focus-visible,.___STag_182pp_gg_.__interactive_182pp_gg_:focus-visible{z-index:1}.___STagContainerClose_182pp_gg_::before,.___STag_182pp_gg_::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:var(--intergalactic-tag-rounded, 24px);background-color:var(--tag-color_182pp);opacity:.2;filter:brightness(150%)}.___STagContainerClose_182pp_gg_::after,.___STag_182pp_gg_::after{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--intergalactic-tag-rounded, 24px);pointer-events:none;border:1px solid var(--tag-color_182pp);opacity:.1;filter:brightness(150%)}.___STagContainerClose_182pp_gg_:active,.___STag_182pp_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_182pp_gg_:hover,.___STag_182pp_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_182pp_gg_.__disabled_182pp_gg_,.___STag_182pp_gg_.__disabled_182pp_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_182pp_gg_.__interactiveView_182pp_gg_{cursor:pointer}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_,.___STagContainer_182pp_gg_._size_m_182pp_gg_,.___STag_182pp_gg_._size_m_182pp_gg_{height:20px;min-width:20px}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child,.___STagContainer_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child,.___STag_182pp_gg_._size_m_182pp_gg_ .___SAddon_182pp_gg_:first-child{padding-left:0}.___STagContainerClose_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_,.___STagContainer_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_m_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_182pp_gg_._size_l_182pp_gg_,.___STagContainer_182pp_gg_._size_l_182pp_gg_,.___STag_182pp_gg_._size_l_182pp_gg_{height:28px;min-width:28px}.___STagContainerClose_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_,.___STagContainer_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_l_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_182pp_gg_._size_xl_182pp_gg_,.___STag_182pp_gg_._size_xl_182pp_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_182pp_gg_._size_xl_182pp_gg_ .___SText_182pp_gg_,.___STag_182pp_gg_._size_xl_182pp_gg_ .___SText_182pp_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_::before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_::before,.___STag_182pp_gg_._theme_primary_182pp_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_:after,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_:after,.___STag_182pp_gg_._theme_primary_182pp_gg_:after{display:none}.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__active_182pp_gg_:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STagContainer_182pp_gg_._theme_primary_182pp_gg_ .___SAddon_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_primary_182pp_gg_.__interactiveView_182pp_gg_:hover:before{opacity:.3}}.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_::before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_::before,.___STag_182pp_gg_._theme_additional_182pp_gg_::before,.___STag_182pp_gg_._theme_secondary_182pp_gg_::before{opacity:.01}.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__active_182pp_gg_:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:active:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__active_182pp_gg_:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_additional_182pp_gg_.__interactiveView_182pp_gg_:hover:before,.___STag_182pp_gg_._theme_secondary_182pp_gg_.__interactiveView_182pp_gg_:hover:before{opacity:.1}}.___SClose_182pp_gg_ path,.___STagContainerClose_182pp_gg_._theme_additional-invert_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_additional_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_secondary-invert_182pp_gg_::after,.___STagContainerClose_182pp_gg_._theme_secondary_182pp_gg_::after,.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_ svg path,.___STag_182pp_gg_._theme_additional-invert_182pp_gg_::after,.___STag_182pp_gg_._theme_additional_182pp_gg_::after,.___STag_182pp_gg_._theme_secondary-invert_182pp_gg_::after,.___STag_182pp_gg_._theme_secondary_182pp_gg_::after{opacity:.5}.___STagContainerClose_182pp_gg_._theme_primary-invert_182pp_gg_,.___STag_182pp_gg_._theme_primary-invert_182pp_gg_{background-color:var(--intergalactic-tag-primary-white-normal,\n rgba(255, 255, 255, 0.15)\n );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_182pp_gg_._theme_additional-invert_182pp_gg_,.___STagContainerClose_182pp_gg_._theme_secondary-invert_182pp_gg_,.___STag_182pp_gg_._theme_additional-invert_182pp_gg_,.___STag_182pp_gg_._theme_secondary-invert_182pp_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_182pp_gg_._theme_additional_182pp_gg_::after{border-style:dashed}.___SText_182pp_gg_{display:inline-block;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.___SText_182pp_gg_:focus-visible{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SClose_182pp_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_182pp_gg_:hover path{opacity:1}}.___SClose_182pp_gg_,.___STagContainer_182pp_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child),.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child)::after,.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child)::before,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child)::after,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:last-child) .___SText_182pp_gg_,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:last-child) .___SText_182pp_gg_{padding-right:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child),.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child)::after,.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child)::before,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child)::after,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___SAddon_182pp_gg_:not(:first-child) .___SText_182pp_gg_,.___STagContainer_182pp_gg_ .___STag_182pp_gg_:not(:first-child) .___SText_182pp_gg_{padding-left:0}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::after,.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_::before{left:-1px}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_:hover svg path{opacity:1}}.___STagContainer_182pp_gg_ .___STagContainerClose_182pp_gg_._size_xl_182pp_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}',
29
29
  /*__inner_css_end__*/
30
- "1szcn_gg_"
30
+ "182pp_gg_"
31
31
  ), /*__reshadow_css_end__*/
32
32
  {
33
- "__SCircle": "___SCircle_1szcn_gg_",
34
- "_size_m": "_size_m_1szcn_gg_",
35
- "_size_l": "_size_l_1szcn_gg_",
36
- "_size_xl": "_size_xl_1szcn_gg_",
37
- "__STagContainer": "___STagContainer_1szcn_gg_",
38
- "__SAddon": "___SAddon_1szcn_gg_",
39
- "__STag": "___STag_1szcn_gg_",
40
- "_disabled": "__disabled_1szcn_gg_",
41
- "__STagContainerClose": "___STagContainerClose_1szcn_gg_",
42
- "_interactiveView": "__interactiveView_1szcn_gg_",
43
- "_theme_primary-invert": "_theme_primary-invert_1szcn_gg_",
44
- "_theme_secondary-invert": "_theme_secondary-invert_1szcn_gg_",
45
- "_theme_additional-invert": "_theme_additional-invert_1szcn_gg_",
46
- "__SText": "___SText_1szcn_gg_",
47
- "--tag-color": "--tag-color_1szcn",
48
- "_interactive": "__interactive_1szcn_gg_",
49
- "_theme_primary": "_theme_primary_1szcn_gg_",
50
- "_active": "__active_1szcn_gg_",
51
- "_theme_secondary": "_theme_secondary_1szcn_gg_",
52
- "_theme_additional": "_theme_additional_1szcn_gg_",
53
- "__SClose": "___SClose_1szcn_gg_"
33
+ "__SCircle": "___SCircle_182pp_gg_",
34
+ "_size_m": "_size_m_182pp_gg_",
35
+ "_size_l": "_size_l_182pp_gg_",
36
+ "_size_xl": "_size_xl_182pp_gg_",
37
+ "__STagContainer": "___STagContainer_182pp_gg_",
38
+ "__SAddon": "___SAddon_182pp_gg_",
39
+ "__STag": "___STag_182pp_gg_",
40
+ "_disabled": "__disabled_182pp_gg_",
41
+ "__STagContainerClose": "___STagContainerClose_182pp_gg_",
42
+ "_interactiveView": "__interactiveView_182pp_gg_",
43
+ "_theme_primary-invert": "_theme_primary-invert_182pp_gg_",
44
+ "_theme_secondary-invert": "_theme_secondary-invert_182pp_gg_",
45
+ "_theme_additional-invert": "_theme_additional-invert_182pp_gg_",
46
+ "__SText": "___SText_182pp_gg_",
47
+ "--tag-color": "--tag-color_182pp",
48
+ "_interactive": "__interactive_182pp_gg_",
49
+ "_theme_primary": "_theme_primary_182pp_gg_",
50
+ "_active": "__active_182pp_gg_",
51
+ "_theme_secondary": "_theme_secondary_182pp_gg_",
52
+ "_theme_additional": "_theme_additional_182pp_gg_",
53
+ "__SClose": "___SClose_182pp_gg_"
54
54
  })
55
55
  );
56
56
  var legacyThemeRecommendedMigration = {
@@ -48,6 +48,7 @@ export type TagProps = BoxProps & {
48
48
  addonLeft?: React.ElementType;
49
49
  /** Right addon tag */
50
50
  addonRight?: React.ElementType;
51
+ /** Specifies the locale for i18n support */
51
52
  locale?: string;
52
53
  };
53
54
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/tag",
3
3
  "description": "Semrush Tag Component",
4
- "version": "16.1.6",
4
+ "version": "16.1.7-prerelease.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,11 +14,11 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/flex-box": "16.0.6",
18
- "@semcore/icon": "16.5.0"
17
+ "@semcore/flex-box": "16.0.7-prerelease.1",
18
+ "@semcore/icon": "16.5.1-prerelease.1"
19
19
  },
20
20
  "peerDependencies": {
21
- "@semcore/base-components": "^16.0.0"
21
+ "@semcore/base-components": "^16.2.1-prerelease.1"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "directory": "semcore/tag"
27
27
  },
28
28
  "devDependencies": {
29
- "@semcore/core": "16.0.4",
29
+ "@semcore/core": "16.1.0-prerelease.1",
30
30
  "@semcore/testing-utils": "1.0.0"
31
31
  },
32
32
  "scripts": {