@semcore/tag 16.0.0 → 16.1.0-prerelease.0

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.0] - 2025-05-22
6
+
7
+ ### Changed
8
+
9
+ - Version minor update due to children dependencies update (`@semcore/icon` [16.0.0 ~> 16.1.0]).
10
+
5
11
  ## [16.0.0] - 2025-05-19
6
12
 
7
13
  ### Break
package/lib/cjs/Tag.js CHANGED
@@ -24,30 +24,30 @@ var _resolveColorEnhance = _interopRequireDefault(require("@semcore/core/lib/uti
24
24
  var _uniqueID = _interopRequireDefault(require("@semcore/core/lib/utils/uniqueID"));
25
25
  var _findComponent = require("@semcore/core/lib/utils/findComponent");
26
26
  /*!__reshadow-styles__:"./style/tag.shadow.css"*/
27
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAddon_1h1jn_gg_,.___SCircle_1h1jn_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_1h1jn_gg_{overflow:hidden;border-radius:50%}.___SCircle_1h1jn_gg_._size_m_1h1jn_gg_{width:12px;height:12px}.___SCircle_1h1jn_gg_._size_l_1h1jn_gg_{width:16px;height:16px}.___SCircle_1h1jn_gg_._size_xl_1h1jn_gg_{width:20px;height:20px}.___SAddon_1h1jn_gg_{flex-shrink:0;position:relative}.___SAddon_1h1jn_gg_:last-child{padding-right:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_{padding-left:0;padding-right:0}.___STagContainerClose_1h1jn_gg_,.___STag_1h1jn_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_1h1jn)}.___STagContainerClose_1h1jn_gg_.__interactive_1h1jn_gg_:focus-visible,.___STag_1h1jn_gg_.__interactive_1h1jn_gg_:focus-visible{z-index:1}.___STagContainerClose_1h1jn_gg_::before,.___STag_1h1jn_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_1h1jn);opacity:.2;filter:brightness(150%)}.___STagContainerClose_1h1jn_gg_::after,.___STag_1h1jn_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_1h1jn);opacity:.1;filter:brightness(150%)}.___STagContainerClose_1h1jn_gg_:active,.___STag_1h1jn_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_1h1jn_gg_:hover,.___STag_1h1jn_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_1h1jn_gg_.__disabled_1h1jn_gg_,.___STag_1h1jn_gg_.__disabled_1h1jn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_1h1jn_gg_.__interactiveView_1h1jn_gg_{cursor:pointer}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_,.___STag_1h1jn_gg_._size_m_1h1jn_gg_{height:20px;min-width:20px}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child,.___STag_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child{padding-left:0}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_1h1jn_gg_._size_l_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_l_1h1jn_gg_,.___STag_1h1jn_gg_._size_l_1h1jn_gg_{height:28px;min-width:28px}.___STagContainerClose_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_,.___STag_1h1jn_gg_._size_xl_1h1jn_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_xl_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_::before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_:after,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_:after,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_:after{display:none}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before{opacity:.3}}.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_::before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_::before{opacity:.01}.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before{opacity:.1}}.___SClose_1h1jn_gg_ path,.___STagContainerClose_1h1jn_gg_._theme_additional-invert_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_::after,.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_ svg path,.___STag_1h1jn_gg_._theme_additional-invert_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_::after{opacity:.5}.___STagContainerClose_1h1jn_gg_._theme_primary-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_primary-invert_1h1jn_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_1h1jn_gg_._theme_additional-invert_1h1jn_gg_,.___STagContainerClose_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_additional-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::after{border-style:dashed}.___SText_1h1jn_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_1h1jn_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_1h1jn_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_1h1jn_gg_:hover path{opacity:1}}.___SClose_1h1jn_gg_,.___STagContainer_1h1jn_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child),.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child)::after,.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child)::before,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child)::after,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child) .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child) .___SText_1h1jn_gg_{padding-right:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child),.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child)::after,.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child)::before,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child)::after,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child) .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child) .___SText_1h1jn_gg_{padding-left:0}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::after,.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::before{left:-1px}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_:hover svg path{opacity:1}}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"1h1jn_gg_"),
27
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAddon_nvwxc_gg_,.___SCircle_nvwxc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_nvwxc_gg_{overflow:hidden;border-radius:50%}.___SCircle_nvwxc_gg_._size_m_nvwxc_gg_{width:12px;height:12px}.___SCircle_nvwxc_gg_._size_l_nvwxc_gg_{width:16px;height:16px}.___SCircle_nvwxc_gg_._size_xl_nvwxc_gg_{width:20px;height:20px}.___SAddon_nvwxc_gg_{flex-shrink:0;position:relative}.___SAddon_nvwxc_gg_:last-child{padding-right:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_{padding-left:0;padding-right:0}.___STagContainerClose_nvwxc_gg_,.___STag_nvwxc_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_nvwxc)}.___STagContainerClose_nvwxc_gg_.__interactive_nvwxc_gg_:focus-visible,.___STag_nvwxc_gg_.__interactive_nvwxc_gg_:focus-visible{z-index:1}.___STagContainerClose_nvwxc_gg_::before,.___STag_nvwxc_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_nvwxc);opacity:.2;filter:brightness(150%)}.___STagContainerClose_nvwxc_gg_::after,.___STag_nvwxc_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_nvwxc);opacity:.1;filter:brightness(150%)}.___STagContainerClose_nvwxc_gg_:active,.___STag_nvwxc_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_nvwxc_gg_:hover,.___STag_nvwxc_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_nvwxc_gg_.__disabled_nvwxc_gg_,.___STag_nvwxc_gg_.__disabled_nvwxc_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_nvwxc_gg_.__interactiveView_nvwxc_gg_{cursor:pointer}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_,.___STag_nvwxc_gg_._size_m_nvwxc_gg_{height:20px;min-width:20px}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child,.___STag_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child{padding-left:0}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_nvwxc_gg_._size_l_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_l_nvwxc_gg_,.___STag_nvwxc_gg_._size_l_nvwxc_gg_{height:28px;min-width:28px}.___STagContainerClose_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_,.___STag_nvwxc_gg_._size_xl_nvwxc_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_xl_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_::before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_:after,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_:after,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_:after{display:none}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before{opacity:.3}}.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_::before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_::before{opacity:.01}.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before{opacity:.1}}.___SClose_nvwxc_gg_ path,.___STagContainerClose_nvwxc_gg_._theme_additional-invert_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_::after,.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_ svg path,.___STag_nvwxc_gg_._theme_additional-invert_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_::after{opacity:.5}.___STagContainerClose_nvwxc_gg_._theme_primary-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_primary-invert_nvwxc_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_nvwxc_gg_._theme_additional-invert_nvwxc_gg_,.___STagContainerClose_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_additional-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::after{border-style:dashed}.___SText_nvwxc_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_nvwxc_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_nvwxc_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_nvwxc_gg_:hover path{opacity:1}}.___SClose_nvwxc_gg_,.___STagContainer_nvwxc_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child),.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child)::after,.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child)::before,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child)::after,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child) .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child) .___SText_nvwxc_gg_{padding-right:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child),.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child)::after,.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child)::before,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child)::after,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child) .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child) .___SText_nvwxc_gg_{padding-left:0}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::after,.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::before{left:-1px}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_:hover svg path{opacity:1}}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"nvwxc_gg_"),
28
28
  /*__reshadow_css_end__*/
29
29
  {
30
- "__SCircle": "___SCircle_1h1jn_gg_",
31
- "_size_m": "_size_m_1h1jn_gg_",
32
- "_size_l": "_size_l_1h1jn_gg_",
33
- "_size_xl": "_size_xl_1h1jn_gg_",
34
- "__STagContainer": "___STagContainer_1h1jn_gg_",
35
- "__SAddon": "___SAddon_1h1jn_gg_",
36
- "__STag": "___STag_1h1jn_gg_",
37
- "_disabled": "__disabled_1h1jn_gg_",
38
- "__STagContainerClose": "___STagContainerClose_1h1jn_gg_",
39
- "_interactiveView": "__interactiveView_1h1jn_gg_",
40
- "_theme_primary-invert": "_theme_primary-invert_1h1jn_gg_",
41
- "_theme_secondary-invert": "_theme_secondary-invert_1h1jn_gg_",
42
- "_theme_additional-invert": "_theme_additional-invert_1h1jn_gg_",
43
- "__SText": "___SText_1h1jn_gg_",
44
- "--tag-color": "--tag-color_1h1jn",
45
- "_interactive": "__interactive_1h1jn_gg_",
46
- "_theme_primary": "_theme_primary_1h1jn_gg_",
47
- "_active": "__active_1h1jn_gg_",
48
- "_theme_secondary": "_theme_secondary_1h1jn_gg_",
49
- "_theme_additional": "_theme_additional_1h1jn_gg_",
50
- "__SClose": "___SClose_1h1jn_gg_"
30
+ "__SCircle": "___SCircle_nvwxc_gg_",
31
+ "_size_m": "_size_m_nvwxc_gg_",
32
+ "_size_l": "_size_l_nvwxc_gg_",
33
+ "_size_xl": "_size_xl_nvwxc_gg_",
34
+ "__STagContainer": "___STagContainer_nvwxc_gg_",
35
+ "__SAddon": "___SAddon_nvwxc_gg_",
36
+ "__STag": "___STag_nvwxc_gg_",
37
+ "_disabled": "__disabled_nvwxc_gg_",
38
+ "__STagContainerClose": "___STagContainerClose_nvwxc_gg_",
39
+ "_interactiveView": "__interactiveView_nvwxc_gg_",
40
+ "_theme_primary-invert": "_theme_primary-invert_nvwxc_gg_",
41
+ "_theme_secondary-invert": "_theme_secondary-invert_nvwxc_gg_",
42
+ "_theme_additional-invert": "_theme_additional-invert_nvwxc_gg_",
43
+ "__SText": "___SText_nvwxc_gg_",
44
+ "--tag-color": "--tag-color_nvwxc",
45
+ "_interactive": "__interactive_nvwxc_gg_",
46
+ "_theme_primary": "_theme_primary_nvwxc_gg_",
47
+ "_active": "__active_nvwxc_gg_",
48
+ "_theme_secondary": "_theme_secondary_nvwxc_gg_",
49
+ "_theme_additional": "_theme_additional_nvwxc_gg_",
50
+ "__SClose": "___SClose_nvwxc_gg_"
51
51
  });
52
52
  var legacyThemeRecommendedMigration = {
53
53
  primary: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IconProps } from '@semcore/icon';\nimport { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\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 KeyboardFocusProps & {\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 & KeyboardFocusProps & {};\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', KeyboardFocusProps>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\nexport default Tag;\nexport { TagContainer };\n"],"mappings":""}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IconProps } from '@semcore/icon';\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":""}
package/lib/es6/Tag.js CHANGED
@@ -25,30 +25,30 @@ import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEn
25
25
  import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
26
26
  import { isAdvanceMode } from '@semcore/core/lib/utils/findComponent';
27
27
  /*!__reshadow-styles__:"./style/tag.shadow.css"*/
28
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAddon_1h1jn_gg_,.___SCircle_1h1jn_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_1h1jn_gg_{overflow:hidden;border-radius:50%}.___SCircle_1h1jn_gg_._size_m_1h1jn_gg_{width:12px;height:12px}.___SCircle_1h1jn_gg_._size_l_1h1jn_gg_{width:16px;height:16px}.___SCircle_1h1jn_gg_._size_xl_1h1jn_gg_{width:20px;height:20px}.___SAddon_1h1jn_gg_{flex-shrink:0;position:relative}.___SAddon_1h1jn_gg_:last-child{padding-right:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_{padding-left:0;padding-right:0}.___STagContainerClose_1h1jn_gg_,.___STag_1h1jn_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_1h1jn)}.___STagContainerClose_1h1jn_gg_.__interactive_1h1jn_gg_:focus-visible,.___STag_1h1jn_gg_.__interactive_1h1jn_gg_:focus-visible{z-index:1}.___STagContainerClose_1h1jn_gg_::before,.___STag_1h1jn_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_1h1jn);opacity:.2;filter:brightness(150%)}.___STagContainerClose_1h1jn_gg_::after,.___STag_1h1jn_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_1h1jn);opacity:.1;filter:brightness(150%)}.___STagContainerClose_1h1jn_gg_:active,.___STag_1h1jn_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_1h1jn_gg_:hover,.___STag_1h1jn_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_1h1jn_gg_.__disabled_1h1jn_gg_,.___STag_1h1jn_gg_.__disabled_1h1jn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_1h1jn_gg_.__interactiveView_1h1jn_gg_{cursor:pointer}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_,.___STag_1h1jn_gg_._size_m_1h1jn_gg_{height:20px;min-width:20px}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child,.___STag_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child{padding-left:0}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_1h1jn_gg_._size_l_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_l_1h1jn_gg_,.___STag_1h1jn_gg_._size_l_1h1jn_gg_{height:28px;min-width:28px}.___STagContainerClose_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_,.___STag_1h1jn_gg_._size_xl_1h1jn_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_xl_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_::before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_:after,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_:after,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_:after{display:none}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before{opacity:.3}}.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_::before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_::before{opacity:.01}.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before{opacity:.1}}.___SClose_1h1jn_gg_ path,.___STagContainerClose_1h1jn_gg_._theme_additional-invert_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_::after,.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_ svg path,.___STag_1h1jn_gg_._theme_additional-invert_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_::after{opacity:.5}.___STagContainerClose_1h1jn_gg_._theme_primary-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_primary-invert_1h1jn_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_1h1jn_gg_._theme_additional-invert_1h1jn_gg_,.___STagContainerClose_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_additional-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::after{border-style:dashed}.___SText_1h1jn_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_1h1jn_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_1h1jn_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_1h1jn_gg_:hover path{opacity:1}}.___SClose_1h1jn_gg_,.___STagContainer_1h1jn_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child),.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child)::after,.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child)::before,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child)::after,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child) .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child) .___SText_1h1jn_gg_{padding-right:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child),.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child)::after,.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child)::before,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child)::after,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child) .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child) .___SText_1h1jn_gg_{padding-left:0}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::after,.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::before{left:-1px}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_:hover svg path{opacity:1}}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"1h1jn_gg_"),
28
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAddon_nvwxc_gg_,.___SCircle_nvwxc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_nvwxc_gg_{overflow:hidden;border-radius:50%}.___SCircle_nvwxc_gg_._size_m_nvwxc_gg_{width:12px;height:12px}.___SCircle_nvwxc_gg_._size_l_nvwxc_gg_{width:16px;height:16px}.___SCircle_nvwxc_gg_._size_xl_nvwxc_gg_{width:20px;height:20px}.___SAddon_nvwxc_gg_{flex-shrink:0;position:relative}.___SAddon_nvwxc_gg_:last-child{padding-right:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_{padding-left:0;padding-right:0}.___STagContainerClose_nvwxc_gg_,.___STag_nvwxc_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_nvwxc)}.___STagContainerClose_nvwxc_gg_.__interactive_nvwxc_gg_:focus-visible,.___STag_nvwxc_gg_.__interactive_nvwxc_gg_:focus-visible{z-index:1}.___STagContainerClose_nvwxc_gg_::before,.___STag_nvwxc_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_nvwxc);opacity:.2;filter:brightness(150%)}.___STagContainerClose_nvwxc_gg_::after,.___STag_nvwxc_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_nvwxc);opacity:.1;filter:brightness(150%)}.___STagContainerClose_nvwxc_gg_:active,.___STag_nvwxc_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_nvwxc_gg_:hover,.___STag_nvwxc_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_nvwxc_gg_.__disabled_nvwxc_gg_,.___STag_nvwxc_gg_.__disabled_nvwxc_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_nvwxc_gg_.__interactiveView_nvwxc_gg_{cursor:pointer}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_,.___STag_nvwxc_gg_._size_m_nvwxc_gg_{height:20px;min-width:20px}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child,.___STag_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child{padding-left:0}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_nvwxc_gg_._size_l_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_l_nvwxc_gg_,.___STag_nvwxc_gg_._size_l_nvwxc_gg_{height:28px;min-width:28px}.___STagContainerClose_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_,.___STag_nvwxc_gg_._size_xl_nvwxc_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_xl_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_::before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_:after,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_:after,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_:after{display:none}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before{opacity:.3}}.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_::before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_::before{opacity:.01}.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before{opacity:.1}}.___SClose_nvwxc_gg_ path,.___STagContainerClose_nvwxc_gg_._theme_additional-invert_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_::after,.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_ svg path,.___STag_nvwxc_gg_._theme_additional-invert_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_::after{opacity:.5}.___STagContainerClose_nvwxc_gg_._theme_primary-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_primary-invert_nvwxc_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_nvwxc_gg_._theme_additional-invert_nvwxc_gg_,.___STagContainerClose_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_additional-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::after{border-style:dashed}.___SText_nvwxc_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_nvwxc_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_nvwxc_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_nvwxc_gg_:hover path{opacity:1}}.___SClose_nvwxc_gg_,.___STagContainer_nvwxc_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child),.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child)::after,.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child)::before,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child)::after,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child) .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child) .___SText_nvwxc_gg_{padding-right:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child),.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child)::after,.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child)::before,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child)::after,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child) .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child) .___SText_nvwxc_gg_{padding-left:0}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::after,.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::before{left:-1px}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_:hover svg path{opacity:1}}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"nvwxc_gg_"),
29
29
  /*__reshadow_css_end__*/
30
30
  {
31
- "__SCircle": "___SCircle_1h1jn_gg_",
32
- "_size_m": "_size_m_1h1jn_gg_",
33
- "_size_l": "_size_l_1h1jn_gg_",
34
- "_size_xl": "_size_xl_1h1jn_gg_",
35
- "__STagContainer": "___STagContainer_1h1jn_gg_",
36
- "__SAddon": "___SAddon_1h1jn_gg_",
37
- "__STag": "___STag_1h1jn_gg_",
38
- "_disabled": "__disabled_1h1jn_gg_",
39
- "__STagContainerClose": "___STagContainerClose_1h1jn_gg_",
40
- "_interactiveView": "__interactiveView_1h1jn_gg_",
41
- "_theme_primary-invert": "_theme_primary-invert_1h1jn_gg_",
42
- "_theme_secondary-invert": "_theme_secondary-invert_1h1jn_gg_",
43
- "_theme_additional-invert": "_theme_additional-invert_1h1jn_gg_",
44
- "__SText": "___SText_1h1jn_gg_",
45
- "--tag-color": "--tag-color_1h1jn",
46
- "_interactive": "__interactive_1h1jn_gg_",
47
- "_theme_primary": "_theme_primary_1h1jn_gg_",
48
- "_active": "__active_1h1jn_gg_",
49
- "_theme_secondary": "_theme_secondary_1h1jn_gg_",
50
- "_theme_additional": "_theme_additional_1h1jn_gg_",
51
- "__SClose": "___SClose_1h1jn_gg_"
31
+ "__SCircle": "___SCircle_nvwxc_gg_",
32
+ "_size_m": "_size_m_nvwxc_gg_",
33
+ "_size_l": "_size_l_nvwxc_gg_",
34
+ "_size_xl": "_size_xl_nvwxc_gg_",
35
+ "__STagContainer": "___STagContainer_nvwxc_gg_",
36
+ "__SAddon": "___SAddon_nvwxc_gg_",
37
+ "__STag": "___STag_nvwxc_gg_",
38
+ "_disabled": "__disabled_nvwxc_gg_",
39
+ "__STagContainerClose": "___STagContainerClose_nvwxc_gg_",
40
+ "_interactiveView": "__interactiveView_nvwxc_gg_",
41
+ "_theme_primary-invert": "_theme_primary-invert_nvwxc_gg_",
42
+ "_theme_secondary-invert": "_theme_secondary-invert_nvwxc_gg_",
43
+ "_theme_additional-invert": "_theme_additional-invert_nvwxc_gg_",
44
+ "__SText": "___SText_nvwxc_gg_",
45
+ "--tag-color": "--tag-color_nvwxc",
46
+ "_interactive": "__interactive_nvwxc_gg_",
47
+ "_theme_primary": "_theme_primary_nvwxc_gg_",
48
+ "_active": "__active_nvwxc_gg_",
49
+ "_theme_secondary": "_theme_secondary_nvwxc_gg_",
50
+ "_theme_additional": "_theme_additional_nvwxc_gg_",
51
+ "__SClose": "___SClose_nvwxc_gg_"
52
52
  });
53
53
  var legacyThemeRecommendedMigration = {
54
54
  primary: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IconProps } from '@semcore/icon';\nimport { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\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 KeyboardFocusProps & {\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 & KeyboardFocusProps & {};\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', KeyboardFocusProps>;\n Addon: Intergalactic.Component<'div', TagAddonProps>;\n Circle: Intergalactic.Component<'div', TagAddonProps>;\n};\n\nexport default Tag;\nexport { TagContainer };\n"],"mappings":""}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IconProps } from '@semcore/icon';\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":""}
package/lib/esm/Tag.mjs CHANGED
@@ -21,32 +21,32 @@ var style = (
21
21
  /*__reshadow_css_start__*/
22
22
  (sstyled.insert(
23
23
  /*__inner_css_start__*/
24
- '.___SAddon_1h1jn_gg_,.___SCircle_1h1jn_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_1h1jn_gg_{overflow:hidden;border-radius:50%}.___SCircle_1h1jn_gg_._size_m_1h1jn_gg_{width:12px;height:12px}.___SCircle_1h1jn_gg_._size_l_1h1jn_gg_{width:16px;height:16px}.___SCircle_1h1jn_gg_._size_xl_1h1jn_gg_{width:20px;height:20px}.___SAddon_1h1jn_gg_{flex-shrink:0;position:relative}.___SAddon_1h1jn_gg_:last-child{padding-right:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_{padding-left:0;padding-right:0}.___STagContainerClose_1h1jn_gg_,.___STag_1h1jn_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_1h1jn)}.___STagContainerClose_1h1jn_gg_.__interactive_1h1jn_gg_:focus-visible,.___STag_1h1jn_gg_.__interactive_1h1jn_gg_:focus-visible{z-index:1}.___STagContainerClose_1h1jn_gg_::before,.___STag_1h1jn_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_1h1jn);opacity:.2;filter:brightness(150%)}.___STagContainerClose_1h1jn_gg_::after,.___STag_1h1jn_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_1h1jn);opacity:.1;filter:brightness(150%)}.___STagContainerClose_1h1jn_gg_:active,.___STag_1h1jn_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_1h1jn_gg_:hover,.___STag_1h1jn_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_1h1jn_gg_.__disabled_1h1jn_gg_,.___STag_1h1jn_gg_.__disabled_1h1jn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_1h1jn_gg_.__interactiveView_1h1jn_gg_{cursor:pointer}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_,.___STag_1h1jn_gg_._size_m_1h1jn_gg_{height:20px;min-width:20px}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child,.___STag_1h1jn_gg_._size_m_1h1jn_gg_ .___SAddon_1h1jn_gg_:first-child{padding-left:0}.___STagContainerClose_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_m_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_1h1jn_gg_._size_l_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_l_1h1jn_gg_,.___STag_1h1jn_gg_._size_l_1h1jn_gg_{height:28px;min-width:28px}.___STagContainerClose_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_l_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_,.___STag_1h1jn_gg_._size_xl_1h1jn_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_ .___SText_1h1jn_gg_,.___STag_1h1jn_gg_._size_xl_1h1jn_gg_ .___SText_1h1jn_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_::before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_:after,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_:after,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_:after{display:none}.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STagContainer_1h1jn_gg_._theme_primary_1h1jn_gg_ .___SAddon_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_primary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before{opacity:.3}}.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_::before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_::before{opacity:.01}.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__active_1h1jn_gg_:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_.__interactiveView_1h1jn_gg_:hover:before{opacity:.1}}.___SClose_1h1jn_gg_ path,.___STagContainerClose_1h1jn_gg_._theme_additional-invert_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_additional_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_::after,.___STagContainerClose_1h1jn_gg_._theme_secondary_1h1jn_gg_::after,.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_ svg path,.___STag_1h1jn_gg_._theme_additional-invert_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_::after,.___STag_1h1jn_gg_._theme_secondary_1h1jn_gg_::after{opacity:.5}.___STagContainerClose_1h1jn_gg_._theme_primary-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_primary-invert_1h1jn_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_1h1jn_gg_._theme_additional-invert_1h1jn_gg_,.___STagContainerClose_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_additional-invert_1h1jn_gg_,.___STag_1h1jn_gg_._theme_secondary-invert_1h1jn_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_1h1jn_gg_._theme_additional_1h1jn_gg_::after{border-style:dashed}.___SText_1h1jn_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_1h1jn_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_1h1jn_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_1h1jn_gg_:hover path{opacity:1}}.___SClose_1h1jn_gg_,.___STagContainer_1h1jn_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child),.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child)::after,.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child)::before,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child)::after,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:last-child) .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:last-child) .___SText_1h1jn_gg_{padding-right:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child),.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child)::after,.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child)::before,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child)::after,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___SAddon_1h1jn_gg_:not(:first-child) .___SText_1h1jn_gg_,.___STagContainer_1h1jn_gg_ .___STag_1h1jn_gg_:not(:first-child) .___SText_1h1jn_gg_{padding-left:0}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::after,.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_::before{left:-1px}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_:hover svg path{opacity:1}}.___STagContainer_1h1jn_gg_ .___STagContainerClose_1h1jn_gg_._size_xl_1h1jn_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}',
24
+ '.___SAddon_nvwxc_gg_,.___SCircle_nvwxc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SCircle_nvwxc_gg_{overflow:hidden;border-radius:50%}.___SCircle_nvwxc_gg_._size_m_nvwxc_gg_{width:12px;height:12px}.___SCircle_nvwxc_gg_._size_l_nvwxc_gg_{width:16px;height:16px}.___SCircle_nvwxc_gg_._size_xl_nvwxc_gg_{width:20px;height:20px}.___SAddon_nvwxc_gg_{flex-shrink:0;position:relative}.___SAddon_nvwxc_gg_:last-child{padding-right:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_{padding-left:0;padding-right:0}.___STagContainerClose_nvwxc_gg_,.___STag_nvwxc_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_nvwxc)}.___STagContainerClose_nvwxc_gg_.__interactive_nvwxc_gg_:focus-visible,.___STag_nvwxc_gg_.__interactive_nvwxc_gg_:focus-visible{z-index:1}.___STagContainerClose_nvwxc_gg_::before,.___STag_nvwxc_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_nvwxc);opacity:.2;filter:brightness(150%)}.___STagContainerClose_nvwxc_gg_::after,.___STag_nvwxc_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_nvwxc);opacity:.1;filter:brightness(150%)}.___STagContainerClose_nvwxc_gg_:active,.___STag_nvwxc_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_nvwxc_gg_:hover,.___STag_nvwxc_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_nvwxc_gg_.__disabled_nvwxc_gg_,.___STag_nvwxc_gg_.__disabled_nvwxc_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_nvwxc_gg_.__interactiveView_nvwxc_gg_{cursor:pointer}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_,.___STag_nvwxc_gg_._size_m_nvwxc_gg_{height:20px;min-width:20px}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child,.___STag_nvwxc_gg_._size_m_nvwxc_gg_ .___SAddon_nvwxc_gg_:first-child{padding-left:0}.___STagContainerClose_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_m_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_nvwxc_gg_._size_l_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_l_nvwxc_gg_,.___STag_nvwxc_gg_._size_l_nvwxc_gg_{height:28px;min-width:28px}.___STagContainerClose_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_l_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_,.___STag_nvwxc_gg_._size_xl_nvwxc_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_ .___SText_nvwxc_gg_,.___STag_nvwxc_gg_._size_xl_nvwxc_gg_ .___SText_nvwxc_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_::before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_:after,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_:after,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_:after{display:none}.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STagContainer_nvwxc_gg_._theme_primary_nvwxc_gg_ .___SAddon_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_primary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before{opacity:.3}}.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_::before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_::before{opacity:.01}.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__active_nvwxc_gg_:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_.__interactiveView_nvwxc_gg_:hover:before{opacity:.1}}.___SClose_nvwxc_gg_ path,.___STagContainerClose_nvwxc_gg_._theme_additional-invert_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_additional_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_::after,.___STagContainerClose_nvwxc_gg_._theme_secondary_nvwxc_gg_::after,.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_ svg path,.___STag_nvwxc_gg_._theme_additional-invert_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_::after,.___STag_nvwxc_gg_._theme_secondary_nvwxc_gg_::after{opacity:.5}.___STagContainerClose_nvwxc_gg_._theme_primary-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_primary-invert_nvwxc_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_nvwxc_gg_._theme_additional-invert_nvwxc_gg_,.___STagContainerClose_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_additional-invert_nvwxc_gg_,.___STag_nvwxc_gg_._theme_secondary-invert_nvwxc_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_nvwxc_gg_._theme_additional_nvwxc_gg_::after{border-style:dashed}.___SText_nvwxc_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_nvwxc_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_nvwxc_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)0}@media (hover:hover){.___SClose_nvwxc_gg_:hover path{opacity:1}}.___SClose_nvwxc_gg_,.___STagContainer_nvwxc_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child),.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child)::after,.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child)::before,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child)::after,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:last-child) .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:last-child) .___SText_nvwxc_gg_{padding-right:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child),.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child)::after,.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child)::before,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child)::after,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___SAddon_nvwxc_gg_:not(:first-child) .___SText_nvwxc_gg_,.___STagContainer_nvwxc_gg_ .___STag_nvwxc_gg_:not(:first-child) .___SText_nvwxc_gg_{padding-left:0}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::after,.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_::before{left:-1px}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_:hover svg path{opacity:1}}.___STagContainer_nvwxc_gg_ .___STagContainerClose_nvwxc_gg_._size_xl_nvwxc_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}',
25
25
  /*__inner_css_end__*/
26
- "1h1jn_gg_"
26
+ "nvwxc_gg_"
27
27
  ), /*__reshadow_css_end__*/
28
28
  {
29
- "__SCircle": "___SCircle_1h1jn_gg_",
30
- "_size_m": "_size_m_1h1jn_gg_",
31
- "_size_l": "_size_l_1h1jn_gg_",
32
- "_size_xl": "_size_xl_1h1jn_gg_",
33
- "__STagContainer": "___STagContainer_1h1jn_gg_",
34
- "__SAddon": "___SAddon_1h1jn_gg_",
35
- "__STag": "___STag_1h1jn_gg_",
36
- "_disabled": "__disabled_1h1jn_gg_",
37
- "__STagContainerClose": "___STagContainerClose_1h1jn_gg_",
38
- "_interactiveView": "__interactiveView_1h1jn_gg_",
39
- "_theme_primary-invert": "_theme_primary-invert_1h1jn_gg_",
40
- "_theme_secondary-invert": "_theme_secondary-invert_1h1jn_gg_",
41
- "_theme_additional-invert": "_theme_additional-invert_1h1jn_gg_",
42
- "__SText": "___SText_1h1jn_gg_",
43
- "--tag-color": "--tag-color_1h1jn",
44
- "_interactive": "__interactive_1h1jn_gg_",
45
- "_theme_primary": "_theme_primary_1h1jn_gg_",
46
- "_active": "__active_1h1jn_gg_",
47
- "_theme_secondary": "_theme_secondary_1h1jn_gg_",
48
- "_theme_additional": "_theme_additional_1h1jn_gg_",
49
- "__SClose": "___SClose_1h1jn_gg_"
29
+ "__SCircle": "___SCircle_nvwxc_gg_",
30
+ "_size_m": "_size_m_nvwxc_gg_",
31
+ "_size_l": "_size_l_nvwxc_gg_",
32
+ "_size_xl": "_size_xl_nvwxc_gg_",
33
+ "__STagContainer": "___STagContainer_nvwxc_gg_",
34
+ "__SAddon": "___SAddon_nvwxc_gg_",
35
+ "__STag": "___STag_nvwxc_gg_",
36
+ "_disabled": "__disabled_nvwxc_gg_",
37
+ "__STagContainerClose": "___STagContainerClose_nvwxc_gg_",
38
+ "_interactiveView": "__interactiveView_nvwxc_gg_",
39
+ "_theme_primary-invert": "_theme_primary-invert_nvwxc_gg_",
40
+ "_theme_secondary-invert": "_theme_secondary-invert_nvwxc_gg_",
41
+ "_theme_additional-invert": "_theme_additional-invert_nvwxc_gg_",
42
+ "__SText": "___SText_nvwxc_gg_",
43
+ "--tag-color": "--tag-color_nvwxc",
44
+ "_interactive": "__interactive_nvwxc_gg_",
45
+ "_theme_primary": "_theme_primary_nvwxc_gg_",
46
+ "_active": "__active_nvwxc_gg_",
47
+ "_theme_secondary": "_theme_secondary_nvwxc_gg_",
48
+ "_theme_additional": "_theme_additional_nvwxc_gg_",
49
+ "__SClose": "___SClose_nvwxc_gg_"
50
50
  })
51
51
  );
52
52
  var legacyThemeRecommendedMigration = {
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';
3
3
  import { BoxProps } from '@semcore/flex-box';
4
4
  import { IconProps } from '@semcore/icon';
5
- import { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';
6
5
 
7
6
  export type TagSize = 'xl' | 'l' | 'm';
8
7
  /** @deprecated */
@@ -19,39 +18,38 @@ export type TagUse = 'primary' | 'secondary';
19
18
 
20
19
  /** @deprecated */
21
20
  export interface ITagProps extends TagProps, UnknownProperties {}
22
- export type TagProps = BoxProps &
23
- KeyboardFocusProps & {
24
- /** Value responsible for tag availability
25
- */
26
- disabled?: boolean;
27
- /** Value responsible for tag activity
28
- */
29
- active?: boolean;
30
- /** Interactive tag
31
- */
32
- interactive?: boolean;
33
- /** Tag type
34
- * @default secondary
35
- * @deprecated v4.0.0
36
- * @use ITagProps.theme
37
- */
38
- use?: TagUse;
39
- /** Tag theme, there are several default themes or you can use your color
40
- * @default primary
41
- */
42
- theme?: TagTheme;
43
- /** Tag color text */
44
- color?: string;
45
- /** Tag size
46
- * @default m
47
- */
48
- size?: TagSize;
49
- /** Left addon tag */
50
- addonLeft?: React.ElementType;
51
- /** Right addon tag */
52
- addonRight?: React.ElementType;
53
- locale?: string;
54
- };
21
+ export type TagProps = BoxProps & {
22
+ /** Value responsible for tag availability
23
+ */
24
+ disabled?: boolean;
25
+ /** Value responsible for tag activity
26
+ */
27
+ active?: boolean;
28
+ /** Interactive tag
29
+ */
30
+ interactive?: boolean;
31
+ /** Tag type
32
+ * @default secondary
33
+ * @deprecated v4.0.0
34
+ * @use ITagProps.theme
35
+ */
36
+ use?: TagUse;
37
+ /** Tag theme, there are several default themes or you can use your color
38
+ * @default primary
39
+ */
40
+ theme?: TagTheme;
41
+ /** Tag color text */
42
+ color?: string;
43
+ /** Tag size
44
+ * @default m
45
+ */
46
+ size?: TagSize;
47
+ /** Left addon tag */
48
+ addonLeft?: React.ElementType;
49
+ /** Right addon tag */
50
+ addonRight?: React.ElementType;
51
+ locale?: string;
52
+ };
55
53
 
56
54
  /** @deprecated */
57
55
  export interface ITagCloseProps extends TagCloseProps, UnknownProperties {}
@@ -78,7 +76,7 @@ export type TagAddonProps = BoxProps & {};
78
76
 
79
77
  /** @deprecated */
80
78
  export interface ITagTextProps extends TagTextProps, UnknownProperties {}
81
- export type TagTextProps = BoxProps & KeyboardFocusProps & {};
79
+ export type TagTextProps = BoxProps & {};
82
80
 
83
81
  declare const Tag: Intergalactic.Component<'div', TagProps, TagContext> & {
84
82
  Text: Intergalactic.Component<'div', TagTextProps>;
@@ -88,7 +86,7 @@ declare const Tag: Intergalactic.Component<'div', TagProps, TagContext> & {
88
86
 
89
87
  declare const TagContainer: Intergalactic.Component<'div', TagProps, TagContext> & {
90
88
  Tag: typeof Tag;
91
- Close: Intergalactic.Component<'button', KeyboardFocusProps>;
89
+ Close: Intergalactic.Component<'button'>;
92
90
  Addon: Intergalactic.Component<'div', TagAddonProps>;
93
91
  Circle: Intergalactic.Component<'div', TagAddonProps>;
94
92
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/tag",
3
3
  "description": "Semrush Tag Component",
4
- "version": "16.0.0",
4
+ "version": "16.1.0-prerelease.0",
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.0",
18
- "@semcore/icon": "16.0.0"
17
+ "@semcore/flex-box": "16.0.0-prerelease.0",
18
+ "@semcore/icon": "16.1.0-prerelease.0"
19
19
  },
20
20
  "peerDependencies": {
21
- "@semcore/base-components": "^16.0.0"
21
+ "@semcore/base-components": "^16.0.0-prerelease.0"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",