@semcore/tag 5.53.2 → 5.54.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
+ ## [5.54.0] - 2025-04-11
6
+
7
+ ### Changed
8
+
9
+ - Version minor update due to children dependencies update (`@semcore/icon` [4.60.2 ~> 4.61.0]).
10
+
5
11
  ## [5.53.2] - 2025-04-04
6
12
 
7
13
  ### Changed
package/lib/cjs/Tag.js CHANGED
@@ -27,29 +27,29 @@ var _uniqueID = _interopRequireDefault(require("@semcore/utils/lib/uniqueID"));
27
27
  var _keyboardFocusEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/keyboardFocusEnhance"));
28
28
  var _findComponent = require("@semcore/utils/lib/findComponent");
29
29
  /*__reshadow-styles__:"./style/tag.shadow.css"*/
30
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCircle_18vs0_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 var(--intergalactic-spacing-1x, 4px)}.___SCircle_18vs0_gg_:first-child{margin-left:0}.___SCircle_18vs0_gg_:last-child{margin-right:0}.___SCircle_18vs0_gg_._size_m_18vs0_gg_{width:16px;height:16px}.___SCircle_18vs0_gg_._size_l_18vs0_gg_,.___SCircle_18vs0_gg_._size_xl_18vs0_gg_{width:20px;height:20px}.___SAddon_18vs0_gg_,.___STagContainerClose_18vs0_gg_,.___STag_18vs0_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px)}.___SAddon_18vs0_gg_{flex-shrink:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_{padding-left:0;padding-right:0}.___STagContainerClose_18vs0_gg_,.___STag_18vs0_gg_{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);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_18vs0)}.___STagContainerClose_18vs0_gg_.__interactive_18vs0_gg_.__keyboardFocused_18vs0_gg_,.___STag_18vs0_gg_.__interactive_18vs0_gg_.__keyboardFocused_18vs0_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___STagContainerClose_18vs0_gg_::before,.___STag_18vs0_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_18vs0);opacity:.2;filter:brightness(150%)}.___STagContainerClose_18vs0_gg_::after,.___STag_18vs0_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_18vs0);opacity:.1;filter:brightness(150%)}.___STagContainerClose_18vs0_gg_:active,.___STagContainerClose_18vs0_gg_:focus,.___STag_18vs0_gg_:active,.___STag_18vs0_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_18vs0_gg_:hover,.___STag_18vs0_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_18vs0_gg_.__disabled_18vs0_gg_,.___STag_18vs0_gg_.__disabled_18vs0_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_18vs0_gg_.__interactiveView_18vs0_gg_{cursor:pointer}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_,.___STag_18vs0_gg_._size_m_18vs0_gg_{height:20px;min-width:20px}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:first-child,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SCircle_18vs0_gg_:first-child,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:first-child{margin-left:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:last-child,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SCircle_18vs0_gg_:last-child,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:last-child{margin-right:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_18vs0_gg_._size_l_18vs0_gg_,.___STagContainer_18vs0_gg_._size_l_18vs0_gg_ .___SAddon_18vs0_gg_,.___STag_18vs0_gg_._size_l_18vs0_gg_{height:28px;min-width:28px}.___STagContainerClose_18vs0_gg_._size_l_18vs0_gg_ .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_._size_l_18vs0_gg_ .___SAddon_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_l_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_,.___STag_18vs0_gg_._size_xl_18vs0_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_xl_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_::before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_::before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_:after,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_:after,.___STag_18vs0_gg_._theme_primary_18vs0_gg_:after{display:none}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before{opacity:.3}}.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_::before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_::before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_::before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_::before{opacity:.01}.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before{opacity:.1}}.___SClose_18vs0_gg_ path,.___STagContainerClose_18vs0_gg_._theme_additional-invert_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_secondary-invert_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_::after,.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_ svg path,.___STag_18vs0_gg_._theme_additional-invert_18vs0_gg_::after,.___STag_18vs0_gg_._theme_additional_18vs0_gg_::after,.___STag_18vs0_gg_._theme_secondary-invert_18vs0_gg_::after,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_::after{opacity:.5}.___STagContainerClose_18vs0_gg_._theme_primary-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_primary-invert_18vs0_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_18vs0_gg_._theme_additional-invert_18vs0_gg_,.___STagContainerClose_18vs0_gg_._theme_secondary-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_additional-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_secondary-invert_18vs0_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_18vs0_gg_._theme_additional_18vs0_gg_::after{border-style:dashed}.___SText_18vs0_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;outline:0;position:relative}.___SText_18vs0_gg_.__keyboardFocused_18vs0_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SText_18vs0_gg_:not(:only-child):first-child{padding-right:0}.___SText_18vs0_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_18vs0_gg_:not(:only-child):last-child{padding-left:0}.___SClose_18vs0_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SClose_18vs0_gg_:hover path{opacity:1}}.___SClose_18vs0_gg_,.___STagContainer_18vs0_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child),.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child)::after,.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child)::before,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child)::after,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child) .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child) .___SText_18vs0_gg_{padding-right:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child),.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child)::after,.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child)::before,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child)::after,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child) .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child) .___SText_18vs0_gg_{padding-left:0}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::after,.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::before{left:-1px}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_:hover svg path{opacity:1}}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "18vs0_gg_") /*__reshadow_css_end__*/, {
31
- "__SCircle": "___SCircle_18vs0_gg_",
32
- "_size_m": "_size_m_18vs0_gg_",
33
- "_size_l": "_size_l_18vs0_gg_",
34
- "_size_xl": "_size_xl_18vs0_gg_",
35
- "__SAddon": "___SAddon_18vs0_gg_",
36
- "__STagContainer": "___STagContainer_18vs0_gg_",
37
- "__STag": "___STag_18vs0_gg_",
38
- "_disabled": "__disabled_18vs0_gg_",
39
- "__STagContainerClose": "___STagContainerClose_18vs0_gg_",
40
- "_interactiveView": "__interactiveView_18vs0_gg_",
41
- "_theme_primary-invert": "_theme_primary-invert_18vs0_gg_",
42
- "_theme_secondary-invert": "_theme_secondary-invert_18vs0_gg_",
43
- "_theme_additional-invert": "_theme_additional-invert_18vs0_gg_",
44
- "__SText": "___SText_18vs0_gg_",
45
- "_keyboardFocused": "__keyboardFocused_18vs0_gg_",
46
- "--tag-color": "--tag-color_18vs0",
47
- "_interactive": "__interactive_18vs0_gg_",
48
- "_theme_primary": "_theme_primary_18vs0_gg_",
49
- "_active": "__active_18vs0_gg_",
50
- "_theme_secondary": "_theme_secondary_18vs0_gg_",
51
- "_theme_additional": "_theme_additional_18vs0_gg_",
52
- "__SClose": "___SClose_18vs0_gg_"
30
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCircle_17ogj_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 var(--intergalactic-spacing-1x, 4px)}.___SCircle_17ogj_gg_:first-child{margin-left:0}.___SCircle_17ogj_gg_:last-child{margin-right:0}.___SCircle_17ogj_gg_._size_m_17ogj_gg_{width:16px;height:16px}.___SCircle_17ogj_gg_._size_l_17ogj_gg_,.___SCircle_17ogj_gg_._size_xl_17ogj_gg_{width:20px;height:20px}.___SAddon_17ogj_gg_,.___STagContainerClose_17ogj_gg_,.___STag_17ogj_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px)}.___SAddon_17ogj_gg_{flex-shrink:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_{padding-left:0;padding-right:0}.___STagContainerClose_17ogj_gg_,.___STag_17ogj_gg_{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);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_17ogj)}.___STagContainerClose_17ogj_gg_.__interactive_17ogj_gg_.__keyboardFocused_17ogj_gg_,.___STag_17ogj_gg_.__interactive_17ogj_gg_.__keyboardFocused_17ogj_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___STagContainerClose_17ogj_gg_::before,.___STag_17ogj_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_17ogj);opacity:.2;filter:brightness(150%)}.___STagContainerClose_17ogj_gg_::after,.___STag_17ogj_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_17ogj);opacity:.1;filter:brightness(150%)}.___STagContainerClose_17ogj_gg_:active,.___STagContainerClose_17ogj_gg_:focus,.___STag_17ogj_gg_:active,.___STag_17ogj_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_17ogj_gg_:hover,.___STag_17ogj_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_17ogj_gg_.__disabled_17ogj_gg_,.___STag_17ogj_gg_.__disabled_17ogj_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_17ogj_gg_.__interactiveView_17ogj_gg_{cursor:pointer}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_,.___STag_17ogj_gg_._size_m_17ogj_gg_{height:20px;min-width:20px}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:first-child,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SCircle_17ogj_gg_:first-child,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:first-child{margin-left:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:last-child,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SCircle_17ogj_gg_:last-child,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:last-child{margin-right:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_17ogj_gg_._size_l_17ogj_gg_,.___STagContainer_17ogj_gg_._size_l_17ogj_gg_ .___SAddon_17ogj_gg_,.___STag_17ogj_gg_._size_l_17ogj_gg_{height:28px;min-width:28px}.___STagContainerClose_17ogj_gg_._size_l_17ogj_gg_ .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_._size_l_17ogj_gg_ .___SAddon_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_l_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_,.___STag_17ogj_gg_._size_xl_17ogj_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_xl_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_::before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_::before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_:after,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_:after,.___STag_17ogj_gg_._theme_primary_17ogj_gg_:after{display:none}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before{opacity:.3}}.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_::before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_::before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_::before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_::before{opacity:.01}.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before{opacity:.1}}.___SClose_17ogj_gg_ path,.___STagContainerClose_17ogj_gg_._theme_additional-invert_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_secondary-invert_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_::after,.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_ svg path,.___STag_17ogj_gg_._theme_additional-invert_17ogj_gg_::after,.___STag_17ogj_gg_._theme_additional_17ogj_gg_::after,.___STag_17ogj_gg_._theme_secondary-invert_17ogj_gg_::after,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_::after{opacity:.5}.___STagContainerClose_17ogj_gg_._theme_primary-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_primary-invert_17ogj_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_17ogj_gg_._theme_additional-invert_17ogj_gg_,.___STagContainerClose_17ogj_gg_._theme_secondary-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_additional-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_secondary-invert_17ogj_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_17ogj_gg_._theme_additional_17ogj_gg_::after{border-style:dashed}.___SText_17ogj_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;outline:0;position:relative}.___SText_17ogj_gg_.__keyboardFocused_17ogj_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SText_17ogj_gg_:not(:only-child):first-child{padding-right:0}.___SText_17ogj_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_17ogj_gg_:not(:only-child):last-child{padding-left:0}.___SClose_17ogj_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SClose_17ogj_gg_:hover path{opacity:1}}.___SClose_17ogj_gg_,.___STagContainer_17ogj_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child),.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child)::after,.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child)::before,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child)::after,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child) .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child) .___SText_17ogj_gg_{padding-right:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child),.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child)::after,.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child)::before,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child)::after,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child) .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child) .___SText_17ogj_gg_{padding-left:0}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::after,.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::before{left:-1px}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_:hover svg path{opacity:1}}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "17ogj_gg_") /*__reshadow_css_end__*/, {
31
+ "__SCircle": "___SCircle_17ogj_gg_",
32
+ "_size_m": "_size_m_17ogj_gg_",
33
+ "_size_l": "_size_l_17ogj_gg_",
34
+ "_size_xl": "_size_xl_17ogj_gg_",
35
+ "__SAddon": "___SAddon_17ogj_gg_",
36
+ "__STagContainer": "___STagContainer_17ogj_gg_",
37
+ "__STag": "___STag_17ogj_gg_",
38
+ "_disabled": "__disabled_17ogj_gg_",
39
+ "__STagContainerClose": "___STagContainerClose_17ogj_gg_",
40
+ "_interactiveView": "__interactiveView_17ogj_gg_",
41
+ "_theme_primary-invert": "_theme_primary-invert_17ogj_gg_",
42
+ "_theme_secondary-invert": "_theme_secondary-invert_17ogj_gg_",
43
+ "_theme_additional-invert": "_theme_additional-invert_17ogj_gg_",
44
+ "__SText": "___SText_17ogj_gg_",
45
+ "_keyboardFocused": "__keyboardFocused_17ogj_gg_",
46
+ "--tag-color": "--tag-color_17ogj",
47
+ "_interactive": "__interactive_17ogj_gg_",
48
+ "_theme_primary": "_theme_primary_17ogj_gg_",
49
+ "_active": "__active_17ogj_gg_",
50
+ "_theme_secondary": "_theme_secondary_17ogj_gg_",
51
+ "_theme_additional": "_theme_additional_17ogj_gg_",
52
+ "__SClose": "___SClose_17ogj_gg_"
53
53
  });
54
54
  var legacyThemeRecommendedMigration = {
55
55
  primary: {
package/lib/es6/Tag.js CHANGED
@@ -28,29 +28,29 @@ import keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhan
28
28
  import log from '@semcore/utils/lib/logger';
29
29
  import { isAdvanceMode } from '@semcore/utils/lib/findComponent';
30
30
  /*__reshadow-styles__:"./style/tag.shadow.css"*/
31
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_18vs0_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 var(--intergalactic-spacing-1x, 4px)}.___SCircle_18vs0_gg_:first-child{margin-left:0}.___SCircle_18vs0_gg_:last-child{margin-right:0}.___SCircle_18vs0_gg_._size_m_18vs0_gg_{width:16px;height:16px}.___SCircle_18vs0_gg_._size_l_18vs0_gg_,.___SCircle_18vs0_gg_._size_xl_18vs0_gg_{width:20px;height:20px}.___SAddon_18vs0_gg_,.___STagContainerClose_18vs0_gg_,.___STag_18vs0_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px)}.___SAddon_18vs0_gg_{flex-shrink:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_{padding-left:0;padding-right:0}.___STagContainerClose_18vs0_gg_,.___STag_18vs0_gg_{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);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_18vs0)}.___STagContainerClose_18vs0_gg_.__interactive_18vs0_gg_.__keyboardFocused_18vs0_gg_,.___STag_18vs0_gg_.__interactive_18vs0_gg_.__keyboardFocused_18vs0_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___STagContainerClose_18vs0_gg_::before,.___STag_18vs0_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_18vs0);opacity:.2;filter:brightness(150%)}.___STagContainerClose_18vs0_gg_::after,.___STag_18vs0_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_18vs0);opacity:.1;filter:brightness(150%)}.___STagContainerClose_18vs0_gg_:active,.___STagContainerClose_18vs0_gg_:focus,.___STag_18vs0_gg_:active,.___STag_18vs0_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_18vs0_gg_:hover,.___STag_18vs0_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_18vs0_gg_.__disabled_18vs0_gg_,.___STag_18vs0_gg_.__disabled_18vs0_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_18vs0_gg_.__interactiveView_18vs0_gg_{cursor:pointer}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_,.___STag_18vs0_gg_._size_m_18vs0_gg_{height:20px;min-width:20px}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:first-child,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SCircle_18vs0_gg_:first-child,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:first-child{margin-left:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:last-child,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SCircle_18vs0_gg_:last-child,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:last-child{margin-right:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_18vs0_gg_._size_l_18vs0_gg_,.___STagContainer_18vs0_gg_._size_l_18vs0_gg_ .___SAddon_18vs0_gg_,.___STag_18vs0_gg_._size_l_18vs0_gg_{height:28px;min-width:28px}.___STagContainerClose_18vs0_gg_._size_l_18vs0_gg_ .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_._size_l_18vs0_gg_ .___SAddon_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_l_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_,.___STag_18vs0_gg_._size_xl_18vs0_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_xl_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_::before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_::before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_:after,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_:after,.___STag_18vs0_gg_._theme_primary_18vs0_gg_:after{display:none}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before{opacity:.3}}.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_::before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_::before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_::before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_::before{opacity:.01}.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before{opacity:.1}}.___SClose_18vs0_gg_ path,.___STagContainerClose_18vs0_gg_._theme_additional-invert_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_secondary-invert_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_::after,.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_ svg path,.___STag_18vs0_gg_._theme_additional-invert_18vs0_gg_::after,.___STag_18vs0_gg_._theme_additional_18vs0_gg_::after,.___STag_18vs0_gg_._theme_secondary-invert_18vs0_gg_::after,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_::after{opacity:.5}.___STagContainerClose_18vs0_gg_._theme_primary-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_primary-invert_18vs0_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_18vs0_gg_._theme_additional-invert_18vs0_gg_,.___STagContainerClose_18vs0_gg_._theme_secondary-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_additional-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_secondary-invert_18vs0_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_18vs0_gg_._theme_additional_18vs0_gg_::after{border-style:dashed}.___SText_18vs0_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;outline:0;position:relative}.___SText_18vs0_gg_.__keyboardFocused_18vs0_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SText_18vs0_gg_:not(:only-child):first-child{padding-right:0}.___SText_18vs0_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_18vs0_gg_:not(:only-child):last-child{padding-left:0}.___SClose_18vs0_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SClose_18vs0_gg_:hover path{opacity:1}}.___SClose_18vs0_gg_,.___STagContainer_18vs0_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child),.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child)::after,.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child)::before,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child)::after,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child) .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child) .___SText_18vs0_gg_{padding-right:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child),.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child)::after,.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child)::before,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child)::after,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child) .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child) .___SText_18vs0_gg_{padding-left:0}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::after,.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::before{left:-1px}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_:hover svg path{opacity:1}}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "18vs0_gg_") /*__reshadow_css_end__*/, {
32
- "__SCircle": "___SCircle_18vs0_gg_",
33
- "_size_m": "_size_m_18vs0_gg_",
34
- "_size_l": "_size_l_18vs0_gg_",
35
- "_size_xl": "_size_xl_18vs0_gg_",
36
- "__SAddon": "___SAddon_18vs0_gg_",
37
- "__STagContainer": "___STagContainer_18vs0_gg_",
38
- "__STag": "___STag_18vs0_gg_",
39
- "_disabled": "__disabled_18vs0_gg_",
40
- "__STagContainerClose": "___STagContainerClose_18vs0_gg_",
41
- "_interactiveView": "__interactiveView_18vs0_gg_",
42
- "_theme_primary-invert": "_theme_primary-invert_18vs0_gg_",
43
- "_theme_secondary-invert": "_theme_secondary-invert_18vs0_gg_",
44
- "_theme_additional-invert": "_theme_additional-invert_18vs0_gg_",
45
- "__SText": "___SText_18vs0_gg_",
46
- "_keyboardFocused": "__keyboardFocused_18vs0_gg_",
47
- "--tag-color": "--tag-color_18vs0",
48
- "_interactive": "__interactive_18vs0_gg_",
49
- "_theme_primary": "_theme_primary_18vs0_gg_",
50
- "_active": "__active_18vs0_gg_",
51
- "_theme_secondary": "_theme_secondary_18vs0_gg_",
52
- "_theme_additional": "_theme_additional_18vs0_gg_",
53
- "__SClose": "___SClose_18vs0_gg_"
31
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_17ogj_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 var(--intergalactic-spacing-1x, 4px)}.___SCircle_17ogj_gg_:first-child{margin-left:0}.___SCircle_17ogj_gg_:last-child{margin-right:0}.___SCircle_17ogj_gg_._size_m_17ogj_gg_{width:16px;height:16px}.___SCircle_17ogj_gg_._size_l_17ogj_gg_,.___SCircle_17ogj_gg_._size_xl_17ogj_gg_{width:20px;height:20px}.___SAddon_17ogj_gg_,.___STagContainerClose_17ogj_gg_,.___STag_17ogj_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px)}.___SAddon_17ogj_gg_{flex-shrink:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_{padding-left:0;padding-right:0}.___STagContainerClose_17ogj_gg_,.___STag_17ogj_gg_{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);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_17ogj)}.___STagContainerClose_17ogj_gg_.__interactive_17ogj_gg_.__keyboardFocused_17ogj_gg_,.___STag_17ogj_gg_.__interactive_17ogj_gg_.__keyboardFocused_17ogj_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___STagContainerClose_17ogj_gg_::before,.___STag_17ogj_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_17ogj);opacity:.2;filter:brightness(150%)}.___STagContainerClose_17ogj_gg_::after,.___STag_17ogj_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_17ogj);opacity:.1;filter:brightness(150%)}.___STagContainerClose_17ogj_gg_:active,.___STagContainerClose_17ogj_gg_:focus,.___STag_17ogj_gg_:active,.___STag_17ogj_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_17ogj_gg_:hover,.___STag_17ogj_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_17ogj_gg_.__disabled_17ogj_gg_,.___STag_17ogj_gg_.__disabled_17ogj_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_17ogj_gg_.__interactiveView_17ogj_gg_{cursor:pointer}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_,.___STag_17ogj_gg_._size_m_17ogj_gg_{height:20px;min-width:20px}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:first-child,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SCircle_17ogj_gg_:first-child,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:first-child{margin-left:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:last-child,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SCircle_17ogj_gg_:last-child,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:last-child{margin-right:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_17ogj_gg_._size_l_17ogj_gg_,.___STagContainer_17ogj_gg_._size_l_17ogj_gg_ .___SAddon_17ogj_gg_,.___STag_17ogj_gg_._size_l_17ogj_gg_{height:28px;min-width:28px}.___STagContainerClose_17ogj_gg_._size_l_17ogj_gg_ .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_._size_l_17ogj_gg_ .___SAddon_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_l_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_,.___STag_17ogj_gg_._size_xl_17ogj_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_xl_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_::before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_::before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_:after,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_:after,.___STag_17ogj_gg_._theme_primary_17ogj_gg_:after{display:none}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before{opacity:.3}}.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_::before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_::before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_::before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_::before{opacity:.01}.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before{opacity:.1}}.___SClose_17ogj_gg_ path,.___STagContainerClose_17ogj_gg_._theme_additional-invert_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_secondary-invert_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_::after,.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_ svg path,.___STag_17ogj_gg_._theme_additional-invert_17ogj_gg_::after,.___STag_17ogj_gg_._theme_additional_17ogj_gg_::after,.___STag_17ogj_gg_._theme_secondary-invert_17ogj_gg_::after,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_::after{opacity:.5}.___STagContainerClose_17ogj_gg_._theme_primary-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_primary-invert_17ogj_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_17ogj_gg_._theme_additional-invert_17ogj_gg_,.___STagContainerClose_17ogj_gg_._theme_secondary-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_additional-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_secondary-invert_17ogj_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_17ogj_gg_._theme_additional_17ogj_gg_::after{border-style:dashed}.___SText_17ogj_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;outline:0;position:relative}.___SText_17ogj_gg_.__keyboardFocused_17ogj_gg_{box-shadow:var(--intergalactic-keyboard-focus,\n 0px 0px 0px 3px rgba(0, 143, 248, 0.5)\n );z-index:1}.___SText_17ogj_gg_:not(:only-child):first-child{padding-right:0}.___SText_17ogj_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_17ogj_gg_:not(:only-child):last-child{padding-left:0}.___SClose_17ogj_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SClose_17ogj_gg_:hover path{opacity:1}}.___SClose_17ogj_gg_,.___STagContainer_17ogj_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child),.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child)::after,.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child)::before,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child)::after,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child) .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child) .___SText_17ogj_gg_{padding-right:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child),.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child)::after,.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child)::before,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child)::after,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child) .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child) .___SText_17ogj_gg_{padding-left:0}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::after,.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::before{left:-1px}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_:hover svg path{opacity:1}}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "17ogj_gg_") /*__reshadow_css_end__*/, {
32
+ "__SCircle": "___SCircle_17ogj_gg_",
33
+ "_size_m": "_size_m_17ogj_gg_",
34
+ "_size_l": "_size_l_17ogj_gg_",
35
+ "_size_xl": "_size_xl_17ogj_gg_",
36
+ "__SAddon": "___SAddon_17ogj_gg_",
37
+ "__STagContainer": "___STagContainer_17ogj_gg_",
38
+ "__STag": "___STag_17ogj_gg_",
39
+ "_disabled": "__disabled_17ogj_gg_",
40
+ "__STagContainerClose": "___STagContainerClose_17ogj_gg_",
41
+ "_interactiveView": "__interactiveView_17ogj_gg_",
42
+ "_theme_primary-invert": "_theme_primary-invert_17ogj_gg_",
43
+ "_theme_secondary-invert": "_theme_secondary-invert_17ogj_gg_",
44
+ "_theme_additional-invert": "_theme_additional-invert_17ogj_gg_",
45
+ "__SText": "___SText_17ogj_gg_",
46
+ "_keyboardFocused": "__keyboardFocused_17ogj_gg_",
47
+ "--tag-color": "--tag-color_17ogj",
48
+ "_interactive": "__interactive_17ogj_gg_",
49
+ "_theme_primary": "_theme_primary_17ogj_gg_",
50
+ "_active": "__active_17ogj_gg_",
51
+ "_theme_secondary": "_theme_secondary_17ogj_gg_",
52
+ "_theme_additional": "_theme_additional_17ogj_gg_",
53
+ "__SClose": "___SClose_17ogj_gg_"
54
54
  });
55
55
  var legacyThemeRecommendedMigration = {
56
56
  primary: {
package/lib/esm/Tag.mjs CHANGED
@@ -1,58 +1,58 @@
1
- import m from "@babel/runtime/helpers/esm/objectSpread2";
2
- import A from "@babel/runtime/helpers/esm/classCallCheck";
3
- import k from "@babel/runtime/helpers/esm/createClass";
4
- import y from "@babel/runtime/helpers/esm/assertThisInitialized";
5
- import E from "@babel/runtime/helpers/esm/inherits";
6
- import V from "@babel/runtime/helpers/esm/createSuper";
1
+ import v from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import z from "@babel/runtime/helpers/esm/classCallCheck";
3
+ import A from "@babel/runtime/helpers/esm/createClass";
4
+ import T from "@babel/runtime/helpers/esm/assertThisInitialized";
5
+ import k from "@babel/runtime/helpers/esm/inherits";
6
+ import E from "@babel/runtime/helpers/esm/createSuper";
7
7
  import n from "@babel/runtime/helpers/esm/defineProperty";
8
8
  import { sstyled as X } from "@semcore/utils/lib/core/index";
9
- import D, { sstyled as p, assignProps as S, Component as I } from "@semcore/core";
9
+ import V, { sstyled as m, assignProps as p, Component as D } from "@semcore/core";
10
10
  import i from "react";
11
11
  import { Box as C } from "@semcore/flex-box";
12
12
  import Y from "@semcore/utils/lib/addonTextChildren";
13
- import R from "@semcore/utils/lib/logger";
14
- import F from "@semcore/icon/Close/m";
15
- import { localizedMessages as P } from "./translations/__intergalactic-dynamic-locales.mjs";
16
- import j from "@semcore/utils/lib/enhances/i18nEnhance";
17
- import M from "@semcore/utils/lib/enhances/resolveColorEnhance";
13
+ import N from "@semcore/utils/lib/logger";
14
+ import R from "@semcore/icon/Close/m";
15
+ import { localizedMessages as w } from "./translations/__intergalactic-dynamic-locales.mjs";
16
+ import F from "@semcore/utils/lib/enhances/i18nEnhance";
17
+ import I from "@semcore/utils/lib/enhances/resolveColorEnhance";
18
18
  import U from "@semcore/utils/lib/uniqueID";
19
- import K from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
19
+ import M from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
20
20
  import { isAdvanceMode as Z } from "@semcore/utils/lib/findComponent";
21
- var $ = (
21
+ var K = (
22
22
  /*__reshadow_css_start__*/
23
23
  (X.insert(
24
24
  /*__inner_css_start__*/
25
- `.___SCircle_18vs0_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 var(--intergalactic-spacing-1x, 4px)}.___SCircle_18vs0_gg_:first-child{margin-left:0}.___SCircle_18vs0_gg_:last-child{margin-right:0}.___SCircle_18vs0_gg_._size_m_18vs0_gg_{width:16px;height:16px}.___SCircle_18vs0_gg_._size_l_18vs0_gg_,.___SCircle_18vs0_gg_._size_xl_18vs0_gg_{width:20px;height:20px}.___SAddon_18vs0_gg_,.___STagContainerClose_18vs0_gg_,.___STag_18vs0_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px)}.___SAddon_18vs0_gg_{flex-shrink:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_{padding-left:0;padding-right:0}.___STagContainerClose_18vs0_gg_,.___STag_18vs0_gg_{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);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_18vs0)}.___STagContainerClose_18vs0_gg_.__interactive_18vs0_gg_.__keyboardFocused_18vs0_gg_,.___STag_18vs0_gg_.__interactive_18vs0_gg_.__keyboardFocused_18vs0_gg_{box-shadow:var(--intergalactic-keyboard-focus,
25
+ `.___SCircle_17ogj_gg_{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;margin:0 var(--intergalactic-spacing-1x, 4px)}.___SCircle_17ogj_gg_:first-child{margin-left:0}.___SCircle_17ogj_gg_:last-child{margin-right:0}.___SCircle_17ogj_gg_._size_m_17ogj_gg_{width:16px;height:16px}.___SCircle_17ogj_gg_._size_l_17ogj_gg_,.___SCircle_17ogj_gg_._size_xl_17ogj_gg_{width:20px;height:20px}.___SAddon_17ogj_gg_,.___STagContainerClose_17ogj_gg_,.___STag_17ogj_gg_{position:relative;display:inline-flex;align-items:center;justify-content:center;padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-1x, 4px)}.___SAddon_17ogj_gg_{flex-shrink:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_{padding-left:0;padding-right:0}.___STagContainerClose_17ogj_gg_,.___STag_17ogj_gg_{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);font-weight:var(--intergalactic-medium, 500);color:var(--tag-color_17ogj)}.___STagContainerClose_17ogj_gg_.__interactive_17ogj_gg_.__keyboardFocused_17ogj_gg_,.___STag_17ogj_gg_.__interactive_17ogj_gg_.__keyboardFocused_17ogj_gg_{box-shadow:var(--intergalactic-keyboard-focus,
26
26
  0px 0px 0px 3px rgba(0, 143, 248, 0.5)
27
- );z-index:1}.___STagContainerClose_18vs0_gg_::before,.___STag_18vs0_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_18vs0);opacity:.2;filter:brightness(150%)}.___STagContainerClose_18vs0_gg_::after,.___STag_18vs0_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_18vs0);opacity:.1;filter:brightness(150%)}.___STagContainerClose_18vs0_gg_:active,.___STagContainerClose_18vs0_gg_:focus,.___STag_18vs0_gg_:active,.___STag_18vs0_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_18vs0_gg_:hover,.___STag_18vs0_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_18vs0_gg_.__disabled_18vs0_gg_,.___STag_18vs0_gg_.__disabled_18vs0_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_18vs0_gg_.__interactiveView_18vs0_gg_{cursor:pointer}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_,.___STag_18vs0_gg_._size_m_18vs0_gg_{height:20px;min-width:20px}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:first-child,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SCircle_18vs0_gg_:first-child,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:first-child{margin-left:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:last-child,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SCircle_18vs0_gg_:last-child,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SCircle_18vs0_gg_:last-child{margin-right:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_18vs0_gg_._size_m_18vs0_gg_ .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_._size_m_18vs0_gg_ .___SAddon_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_m_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_18vs0_gg_._size_l_18vs0_gg_,.___STagContainer_18vs0_gg_._size_l_18vs0_gg_ .___SAddon_18vs0_gg_,.___STag_18vs0_gg_._size_l_18vs0_gg_{height:28px;min-width:28px}.___STagContainerClose_18vs0_gg_._size_l_18vs0_gg_ .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_._size_l_18vs0_gg_ .___SAddon_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_l_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_,.___STag_18vs0_gg_._size_xl_18vs0_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_ .___SText_18vs0_gg_,.___STag_18vs0_gg_._size_xl_18vs0_gg_ .___SText_18vs0_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_::before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_::before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_:after,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_:after,.___STag_18vs0_gg_._theme_primary_18vs0_gg_:after{display:none}.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STagContainer_18vs0_gg_._theme_primary_18vs0_gg_ .___SAddon_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_primary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before{opacity:.3}}.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_::before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_::before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_::before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_::before{opacity:.01}.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__active_18vs0_gg_:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:active:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__active_18vs0_gg_:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_additional_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_.__interactiveView_18vs0_gg_:hover:before{opacity:.1}}.___SClose_18vs0_gg_ path,.___STagContainerClose_18vs0_gg_._theme_additional-invert_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_additional_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_secondary-invert_18vs0_gg_::after,.___STagContainerClose_18vs0_gg_._theme_secondary_18vs0_gg_::after,.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_ svg path,.___STag_18vs0_gg_._theme_additional-invert_18vs0_gg_::after,.___STag_18vs0_gg_._theme_additional_18vs0_gg_::after,.___STag_18vs0_gg_._theme_secondary-invert_18vs0_gg_::after,.___STag_18vs0_gg_._theme_secondary_18vs0_gg_::after{opacity:.5}.___STagContainerClose_18vs0_gg_._theme_primary-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_primary-invert_18vs0_gg_{background-color:var(--intergalactic-tag-primary-white-normal,
27
+ );z-index:1}.___STagContainerClose_17ogj_gg_::before,.___STag_17ogj_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_17ogj);opacity:.2;filter:brightness(150%)}.___STagContainerClose_17ogj_gg_::after,.___STag_17ogj_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_17ogj);opacity:.1;filter:brightness(150%)}.___STagContainerClose_17ogj_gg_:active,.___STagContainerClose_17ogj_gg_:focus,.___STag_17ogj_gg_:active,.___STag_17ogj_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___STagContainerClose_17ogj_gg_:hover,.___STag_17ogj_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___STagContainerClose_17ogj_gg_.__disabled_17ogj_gg_,.___STag_17ogj_gg_.__disabled_17ogj_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___STag_17ogj_gg_.__interactiveView_17ogj_gg_{cursor:pointer}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_,.___STag_17ogj_gg_._size_m_17ogj_gg_{height:20px;min-width:20px}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:first-child,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SCircle_17ogj_gg_:first-child,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:first-child{margin-left:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:last-child,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SCircle_17ogj_gg_:last-child,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SCircle_17ogj_gg_:last-child{margin-right:calc(-1*var(--intergalactic-spacing-05x, 2px))}.___STagContainerClose_17ogj_gg_._size_m_17ogj_gg_ .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_._size_m_17ogj_gg_ .___SAddon_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_m_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___STagContainerClose_17ogj_gg_._size_l_17ogj_gg_,.___STagContainer_17ogj_gg_._size_l_17ogj_gg_ .___SAddon_17ogj_gg_,.___STag_17ogj_gg_._size_l_17ogj_gg_{height:28px;min-width:28px}.___STagContainerClose_17ogj_gg_._size_l_17ogj_gg_ .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_._size_l_17ogj_gg_ .___SAddon_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_l_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_,.___STag_17ogj_gg_._size_xl_17ogj_gg_{height:40px;min-width:40px;padding:0 var(--intergalactic-spacing-2x, 8px)}.___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_ .___SText_17ogj_gg_,.___STag_17ogj_gg_._size_xl_17ogj_gg_ .___SText_17ogj_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_::before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_::before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_::before{top:-1px;left:-1px;right:-1px;bottom:-1px}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_:after,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_:after,.___STag_17ogj_gg_._theme_primary_17ogj_gg_:after{display:none}.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before{opacity:.3}@media (hover:hover){.___STagContainerClose_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STagContainer_17ogj_gg_._theme_primary_17ogj_gg_ .___SAddon_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_primary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before{opacity:.3}}.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_::before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_::before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_::before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_::before{opacity:.01}.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__active_17ogj_gg_:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:active:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__active_17ogj_gg_:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:active:before{opacity:.1}@media (hover:hover){.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_additional_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_.__interactiveView_17ogj_gg_:hover:before{opacity:.1}}.___SClose_17ogj_gg_ path,.___STagContainerClose_17ogj_gg_._theme_additional-invert_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_additional_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_secondary-invert_17ogj_gg_::after,.___STagContainerClose_17ogj_gg_._theme_secondary_17ogj_gg_::after,.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_ svg path,.___STag_17ogj_gg_._theme_additional-invert_17ogj_gg_::after,.___STag_17ogj_gg_._theme_additional_17ogj_gg_::after,.___STag_17ogj_gg_._theme_secondary-invert_17ogj_gg_::after,.___STag_17ogj_gg_._theme_secondary_17ogj_gg_::after{opacity:.5}.___STagContainerClose_17ogj_gg_._theme_primary-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_primary-invert_17ogj_gg_{background-color:var(--intergalactic-tag-primary-white-normal,
28
28
  rgba(255, 255, 255, 0.15)
29
- );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_18vs0_gg_._theme_additional-invert_18vs0_gg_,.___STagContainerClose_18vs0_gg_._theme_secondary-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_additional-invert_18vs0_gg_,.___STag_18vs0_gg_._theme_secondary-invert_18vs0_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_18vs0_gg_._theme_additional_18vs0_gg_::after{border-style:dashed}.___SText_18vs0_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;outline:0;position:relative}.___SText_18vs0_gg_.__keyboardFocused_18vs0_gg_{box-shadow:var(--intergalactic-keyboard-focus,
29
+ );color:var(--intergalactic-text-primary-invert, #ffffff)}.___STagContainerClose_17ogj_gg_._theme_additional-invert_17ogj_gg_,.___STagContainerClose_17ogj_gg_._theme_secondary-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_additional-invert_17ogj_gg_,.___STag_17ogj_gg_._theme_secondary-invert_17ogj_gg_{color:var(--intergalactic-text-primary-invert, #ffffff)}.___STag_17ogj_gg_._theme_additional_17ogj_gg_::after{border-style:dashed}.___SText_17ogj_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;outline:0;position:relative}.___SText_17ogj_gg_.__keyboardFocused_17ogj_gg_{box-shadow:var(--intergalactic-keyboard-focus,
30
30
  0px 0px 0px 3px rgba(0, 143, 248, 0.5)
31
- );z-index:1}.___SText_18vs0_gg_:not(:only-child):first-child{padding-right:0}.___SText_18vs0_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_18vs0_gg_:not(:only-child):last-child{padding-left:0}.___SClose_18vs0_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SClose_18vs0_gg_:hover path{opacity:1}}.___SClose_18vs0_gg_,.___STagContainer_18vs0_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child),.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child)::after,.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child)::before,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child)::after,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:last-child) .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:last-child) .___SText_18vs0_gg_{padding-right:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child),.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child)::after,.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child)::before,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child)::after,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_18vs0_gg_ .___SAddon_18vs0_gg_:not(:first-child) .___SText_18vs0_gg_,.___STagContainer_18vs0_gg_ .___STag_18vs0_gg_:not(:first-child) .___SText_18vs0_gg_{padding-left:0}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::after,.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_::before{left:-1px}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_:hover svg path{opacity:1}}.___STagContainer_18vs0_gg_ .___STagContainerClose_18vs0_gg_._size_xl_18vs0_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}`,
32
- "18vs0_gg_"
31
+ );z-index:1}.___SText_17ogj_gg_:not(:only-child):first-child{padding-right:0}.___SText_17ogj_gg_:not(:first-child):not(:last-child){padding-left:0;padding-right:0}.___SText_17ogj_gg_:not(:only-child):last-child{padding-left:0}.___SClose_17ogj_gg_{cursor:pointer;flex-shrink:0;padding:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SClose_17ogj_gg_:hover path{opacity:1}}.___SClose_17ogj_gg_,.___STagContainer_17ogj_gg_{display:inline-flex;position:relative;align-items:center;justify-content:center}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child),.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child)::after,.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child)::before,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child)::after,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child)::before{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:last-child) .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:last-child) .___SText_17ogj_gg_{padding-right:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child),.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--intergalactic-spacing-05x, 2px)}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child)::after,.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child)::before,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child)::after,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child)::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_17ogj_gg_ .___SAddon_17ogj_gg_:not(:first-child) .___SText_17ogj_gg_,.___STagContainer_17ogj_gg_ .___STag_17ogj_gg_:not(:first-child) .___SText_17ogj_gg_{padding-left:0}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_{cursor:pointer;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:0;padding-right:0;min-width:20px}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::after,.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::before{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_::before{left:-1px}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_ svg{padding-left:0;padding-right:var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_:hover svg path{opacity:1}}.___STagContainer_17ogj_gg_ .___STagContainerClose_17ogj_gg_._size_xl_17ogj_gg_ svg{padding-left:var(--intergalactic-spacing-1x, 4px);padding-right:var(--intergalactic-spacing-2x, 8px)}`,
32
+ "17ogj_gg_"
33
33
  ), {
34
- __SCircle: "___SCircle_18vs0_gg_",
35
- _size_m: "_size_m_18vs0_gg_",
36
- _size_l: "_size_l_18vs0_gg_",
37
- _size_xl: "_size_xl_18vs0_gg_",
38
- __SAddon: "___SAddon_18vs0_gg_",
39
- __STagContainer: "___STagContainer_18vs0_gg_",
40
- __STag: "___STag_18vs0_gg_",
41
- _disabled: "__disabled_18vs0_gg_",
42
- __STagContainerClose: "___STagContainerClose_18vs0_gg_",
43
- _interactiveView: "__interactiveView_18vs0_gg_",
44
- "_theme_primary-invert": "_theme_primary-invert_18vs0_gg_",
45
- "_theme_secondary-invert": "_theme_secondary-invert_18vs0_gg_",
46
- "_theme_additional-invert": "_theme_additional-invert_18vs0_gg_",
47
- __SText: "___SText_18vs0_gg_",
48
- _keyboardFocused: "__keyboardFocused_18vs0_gg_",
49
- "--tag-color": "--tag-color_18vs0",
50
- _interactive: "__interactive_18vs0_gg_",
51
- _theme_primary: "_theme_primary_18vs0_gg_",
52
- _active: "__active_18vs0_gg_",
53
- _theme_secondary: "_theme_secondary_18vs0_gg_",
54
- _theme_additional: "_theme_additional_18vs0_gg_",
55
- __SClose: "___SClose_18vs0_gg_"
34
+ __SCircle: "___SCircle_17ogj_gg_",
35
+ _size_m: "_size_m_17ogj_gg_",
36
+ _size_l: "_size_l_17ogj_gg_",
37
+ _size_xl: "_size_xl_17ogj_gg_",
38
+ __SAddon: "___SAddon_17ogj_gg_",
39
+ __STagContainer: "___STagContainer_17ogj_gg_",
40
+ __STag: "___STag_17ogj_gg_",
41
+ _disabled: "__disabled_17ogj_gg_",
42
+ __STagContainerClose: "___STagContainerClose_17ogj_gg_",
43
+ _interactiveView: "__interactiveView_17ogj_gg_",
44
+ "_theme_primary-invert": "_theme_primary-invert_17ogj_gg_",
45
+ "_theme_secondary-invert": "_theme_secondary-invert_17ogj_gg_",
46
+ "_theme_additional-invert": "_theme_additional-invert_17ogj_gg_",
47
+ __SText: "___SText_17ogj_gg_",
48
+ _keyboardFocused: "__keyboardFocused_17ogj_gg_",
49
+ "--tag-color": "--tag-color_17ogj",
50
+ _interactive: "__interactive_17ogj_gg_",
51
+ _theme_primary: "_theme_primary_17ogj_gg_",
52
+ _active: "__active_17ogj_gg_",
53
+ _theme_secondary: "_theme_secondary_17ogj_gg_",
54
+ _theme_additional: "_theme_additional_17ogj_gg_",
55
+ __SClose: "___SClose_17ogj_gg_"
56
56
  })
57
57
  ), __ = {
58
58
  primary: {
@@ -65,275 +65,275 @@ var $ = (
65
65
  secondary: {
66
66
  muted: "gray-50"
67
67
  }
68
- }, x = /* @__PURE__ */ function(r) {
69
- E(g, r);
70
- var s = V(g);
71
- function g(o) {
68
+ }, y = /* @__PURE__ */ function(a) {
69
+ k(t, a);
70
+ var l = E(t);
71
+ function t(r) {
72
72
  var _, e;
73
- return A(this, g), e = s.call(this, o), n(y(e), "state", {
73
+ return z(this, t), e = l.call(this, r), n(T(e), "state", {
74
74
  focusable: "container"
75
- }), n(y(e), "handleCloseMount", function() {
75
+ }), n(T(e), "handleCloseMount", function() {
76
76
  e.setState({
77
77
  focusable: "text"
78
78
  });
79
- }), n(y(e), "handleCloseUnmount", function() {
79
+ }), n(T(e), "handleCloseUnmount", function() {
80
80
  e.setState({
81
81
  focusable: "container"
82
82
  });
83
- }), n(y(e), "handleKeyDown", function(t) {
84
- switch (t.key) {
83
+ }), n(T(e), "handleKeyDown", function(g) {
84
+ switch (g.key) {
85
85
  case " ":
86
86
  case "Enter":
87
- e.asProps.onClick && (t.preventDefault(), e.asProps.onClick(t));
87
+ e.asProps.onClick && (g.preventDefault(), e.asProps.onClick(g));
88
88
  break;
89
89
  }
90
- }), R.warn(o.use, `Property 'use' is deprecated, replace property to "theme='`.concat(o.use, "' color='").concat((_ = __[o.use]) === null || _ === void 0 ? void 0 : _[o.theme], `'"`), o["data-ui-name"] || h.displayName), e;
90
+ }), N.warn(r.use, `Property 'use' is deprecated, replace property to "theme='`.concat(r.use, "' color='").concat((_ = __[r.use]) === null || _ === void 0 ? void 0 : _[r.theme], `'"`), r["data-ui-name"] || h.displayName), e;
91
91
  }
92
- return k(g, [{
92
+ return A(t, [{
93
93
  key: "getCircleProps",
94
94
  value: function() {
95
- var _ = this.asProps, e = _.size, t = _.color, a = _.resolveColor;
95
+ var _ = this.asProps, e = _.size, g = _.color, o = _.resolveColor;
96
96
  return {
97
97
  size: e,
98
- color: t,
99
- resolveColor: a
98
+ color: g,
99
+ resolveColor: o
100
100
  };
101
101
  }
102
102
  }, {
103
103
  key: "getTextProps",
104
104
  value: function() {
105
- var _ = this.asProps.interactive, e = this.asProps.id || "igc-".concat(this.asProps.uid, "-tag"), t = this.state.focusable;
105
+ var _ = this.asProps.interactive, e = this.asProps.id || "igc-".concat(this.asProps.uid, "-tag"), g = this.state.focusable;
106
106
  return {
107
- tabIndex: t === "text" && _ ? 0 : -1,
107
+ tabIndex: g === "text" && _ ? 0 : -1,
108
108
  id: "".concat(e, "-text"),
109
- role: t === "text" && _ ? "button" : void 0
109
+ role: g === "text" && _ ? "button" : void 0
110
110
  };
111
111
  }
112
112
  }, {
113
113
  key: "getCloseProps",
114
114
  value: function() {
115
- var _ = this.asProps, e = _.getI18nText, t = _.color, a = _.resolveColor, l = this.asProps.id || "igc-".concat(this.asProps.uid, "-tag");
115
+ var _ = this.asProps, e = _.getI18nText, g = _.color, o = _.resolveColor, s = this.asProps.id || "igc-".concat(this.asProps.uid, "-tag");
116
116
  return {
117
117
  getI18nText: e,
118
- id: "".concat(l, "-clear"),
119
- "aria-labelledby": "".concat(l, "-clear ").concat(l, "-text"),
118
+ id: "".concat(s, "-clear"),
119
+ "aria-labelledby": "".concat(s, "-clear ").concat(s, "-text"),
120
120
  "aria-label": e("remove"),
121
121
  onMount: this.handleCloseMount,
122
122
  onUnmount: this.handleCloseUnmount,
123
- color: t,
124
- resolveColor: a
123
+ color: g,
124
+ resolveColor: o
125
125
  };
126
126
  }
127
127
  }, {
128
128
  key: "render",
129
129
  value: function() {
130
- var _ = this.asProps, e, t = C, a = this.asProps, l = a.Children, v = a.styles, c = a.color, d = a.interactive, u = a.disabled, f = a.addonLeft, N = a.addonRight, G = a.resolveColor, H = a.id, J = a.uid, O = this.state.focusable, Q = H || "igc-".concat(J, "-tag"), W = !u && d, z = !u && d && O === "container";
131
- return e = p(v), /* @__PURE__ */ i.createElement(t, e.cn("STag", m({}, S({
130
+ var _ = this.asProps, e, g = C, o = this.asProps, s = o.Children, c = o.styles, d = o.color, j = o.interactive, S = o.disabled, f = o.addonLeft, $ = o.addonRight, G = o.resolveColor, H = o.id, J = o.uid, O = this.state.focusable, Q = H || "igc-".concat(J, "-tag"), W = !S && j, P = !S && j && O === "container";
131
+ return e = m(c), /* @__PURE__ */ i.createElement(g, e.cn("STag", v({}, p({
132
132
  id: Q,
133
- "use:interactive": z,
133
+ "use:interactive": P,
134
134
  "use:interactiveView": W,
135
- "tag-color": G(c),
135
+ "tag-color": G(d),
136
136
  onKeyDown: this.handleKeyDown,
137
- "use:tabIndex": z ? 0 : -1,
138
- role: z ? "button" : void 0
137
+ "use:tabIndex": P ? 0 : -1,
138
+ role: P ? "button" : void 0
139
139
  }, _))), f ? /* @__PURE__ */ i.createElement(h.Addon, {
140
140
  tag: f
141
- }) : null, Y(l, h.Text, [h.Addon, T.Circle]), N ? /* @__PURE__ */ i.createElement(h.Addon, {
142
- tag: N
141
+ }) : null, Y(s, h.Text, [h.Addon, u.Circle]), $ ? /* @__PURE__ */ i.createElement(h.Addon, {
142
+ tag: $
143
143
  }) : null);
144
144
  }
145
- }]), g;
146
- }(I);
147
- n(x, "displayName", "Tag");
148
- n(x, "style", $);
149
- n(x, "enhance", [j(P), U(), M(), K()]);
150
- n(x, "defaultProps", {
145
+ }]), t;
146
+ }(D);
147
+ n(y, "displayName", "Tag");
148
+ n(y, "style", K);
149
+ n(y, "enhance", [F(w), U(), I(), M()]);
150
+ n(y, "defaultProps", {
151
151
  theme: "primary",
152
152
  color: "gray-500",
153
153
  size: "m",
154
- i18n: P,
154
+ i18n: w,
155
155
  locale: "en"
156
156
  });
157
- var b = /* @__PURE__ */ function(r) {
158
- E(g, r);
159
- var s = V(g);
160
- function g() {
161
- return A(this, g), s.apply(this, arguments);
157
+ var x = /* @__PURE__ */ function(a) {
158
+ k(t, a);
159
+ var l = E(t);
160
+ function t() {
161
+ return z(this, t), l.apply(this, arguments);
162
162
  }
163
- return k(g, [{
163
+ return A(t, [{
164
164
  key: "getTagProps",
165
165
  value: function() {
166
- var _ = this.asProps, e = _.size, t = _.theme, a = _.color, l = _.disabled, v = _.uid, c = _.id, d = _.interactive, u = _.resolveColor, f = c || "igc-".concat(v, "-tag");
166
+ var _ = this.asProps, e = _.size, g = _.theme, o = _.color, s = _.disabled, c = _.uid, d = _.id, j = _.interactive, S = _.resolveColor, f = d || "igc-".concat(c, "-tag");
167
167
  return {
168
168
  id: "".concat(f, "-text"),
169
- disabled: l,
169
+ disabled: s,
170
170
  size: e,
171
- theme: t,
172
- color: a,
173
- tag: d ? "button" : void 0,
174
- interactive: d,
175
- resolveColor: u
171
+ theme: g,
172
+ color: o,
173
+ tag: j ? "button" : void 0,
174
+ interactive: j,
175
+ resolveColor: S
176
176
  };
177
177
  }
178
178
  }, {
179
179
  key: "getCircleProps",
180
180
  value: function() {
181
- var _ = this.asProps, e = _.color, t = _.resolveColor, a = _.size;
181
+ var _ = this.asProps, e = _.color, g = _.resolveColor, o = _.size;
182
182
  return {
183
183
  color: e,
184
- resolveColor: t,
185
- size: a
184
+ resolveColor: g,
185
+ size: o
186
186
  };
187
187
  }
188
188
  }, {
189
189
  key: "getAddonProps",
190
190
  value: function() {
191
- var _ = this.asProps, e = _.color, t = _.resolveColor;
191
+ var _ = this.asProps, e = _.color, g = _.resolveColor;
192
192
  return {
193
193
  color: e,
194
- resolveColor: t
194
+ resolveColor: g
195
195
  };
196
196
  }
197
197
  }, {
198
198
  key: "getCloseProps",
199
199
  value: function() {
200
- var _ = this.asProps, e = _.size, t = _.theme, a = _.color, l = _.disabled, v = _.uid, c = _.id, d = _.getI18nText, u = _.resolveColor, f = c || "igc-".concat(v, "-tag");
200
+ var _ = this.asProps, e = _.size, g = _.theme, o = _.color, s = _.disabled, c = _.uid, d = _.id, j = _.getI18nText, S = _.resolveColor, f = d || "igc-".concat(c, "-tag");
201
201
  return {
202
- disabled: l,
202
+ disabled: s,
203
203
  size: e,
204
- theme: t,
205
- color: a,
204
+ theme: g,
205
+ color: o,
206
206
  id: "".concat(f, "-clear"),
207
207
  "aria-labelledby": "".concat(f, "-clear ").concat(f, "-text"),
208
- "aria-label": d("remove"),
209
- resolveColor: u
208
+ "aria-label": j("remove"),
209
+ resolveColor: S
210
210
  };
211
211
  }
212
212
  }, {
213
213
  key: "render",
214
214
  value: function() {
215
- var _ = this.asProps, e, t = C, a = this.asProps, l = a.styles, v = a.Children, c = a.forcedAdvancedMode, d = c || Z(v, ["InputTags." + h.Text.displayName, "InputTags." + h.Addon.displayName, "InputTags." + h.Close.displayName, "InputTags." + h.Circle.displayName, T.Tag.displayName, T.Addon.displayName, T.Close.displayName, T.Circle.displayName], !0);
216
- return e = p(l), /* @__PURE__ */ i.createElement(t, e.cn("STagContainer", m({}, S({}, _))), d ? /* @__PURE__ */ i.createElement(v, e.cn("Children", {})) : /* @__PURE__ */ i.createElement(T.Tag, null, /* @__PURE__ */ i.createElement(v, e.cn("Children", {}))));
215
+ var _ = this.asProps, e, g = C, o = this.asProps, s = o.styles, c = o.Children, d = o.forcedAdvancedMode, j = d || Z(c, ["InputTags." + h.Text.displayName, "InputTags." + h.Addon.displayName, "InputTags." + h.Close.displayName, "InputTags." + h.Circle.displayName, u.Tag.displayName, u.Addon.displayName, u.Close.displayName, u.Circle.displayName], !0);
216
+ return e = m(s), /* @__PURE__ */ i.createElement(g, e.cn("STagContainer", v({}, p({}, _))), j ? /* @__PURE__ */ i.createElement(c, e.cn("Children", {})) : /* @__PURE__ */ i.createElement(u.Tag, null, /* @__PURE__ */ i.createElement(c, e.cn("Children", {}))));
217
217
  }
218
- }]), g;
219
- }(I);
220
- n(b, "displayName", "TagContainer");
221
- n(b, "style", $);
222
- n(b, "enhance", [j(P), U(), M()]);
223
- n(b, "defaultProps", {
218
+ }]), t;
219
+ }(D);
220
+ n(x, "displayName", "TagContainer");
221
+ n(x, "style", K);
222
+ n(x, "enhance", [F(w), U(), I()]);
223
+ n(x, "defaultProps", {
224
224
  color: "gray-500",
225
225
  theme: "primary"
226
226
  });
227
- var w = /* @__PURE__ */ function(r) {
228
- E(g, r);
229
- var s = V(g);
230
- function g() {
231
- var o;
232
- A(this, g);
233
- for (var _ = arguments.length, e = new Array(_), t = 0; t < _; t++)
234
- e[t] = arguments[t];
235
- return o = s.call.apply(s, [this].concat(e)), n(y(o), "handleKeyDown", function(a) {
236
- var l = o.asProps, v = l.onKeyDown, c = l.onClick;
237
- if (v)
238
- return v(a);
239
- c && (a.key === "Enter" || a.key === " ") && (a.preventDefault(), c(a));
240
- }), o;
227
+ var b = /* @__PURE__ */ function(a) {
228
+ k(t, a);
229
+ var l = E(t);
230
+ function t() {
231
+ var r;
232
+ z(this, t);
233
+ for (var _ = arguments.length, e = new Array(_), g = 0; g < _; g++)
234
+ e[g] = arguments[g];
235
+ return r = l.call.apply(l, [this].concat(e)), n(T(r), "handleKeyDown", function(o) {
236
+ var s = r.asProps, c = s.onKeyDown, d = s.onClick;
237
+ if (c)
238
+ return c(o);
239
+ d && (o.key === "Enter" || o.key === " ") && (o.preventDefault(), d(o));
240
+ }), r;
241
241
  }
242
- return k(g, [{
242
+ return A(t, [{
243
243
  key: "render",
244
244
  value: function() {
245
- var _ = this.asProps, e, t = C, a = this.asProps, l = a.Children, v = a.styles, c = a.color, d = a.resolveColor;
246
- return e = p(v), /* @__PURE__ */ i.createElement(t, e.cn("STagContainerClose", m({}, S({
245
+ var _ = this.asProps, e, g = C, o = this.asProps, s = o.Children, c = o.styles, d = o.color, j = o.resolveColor;
246
+ return e = m(c), /* @__PURE__ */ i.createElement(g, e.cn("STagContainerClose", v({}, p({
247
247
  tag: "button",
248
248
  type: "button",
249
249
  interactive: !0,
250
250
  interactiveView: !0,
251
- "tag-color": d(c),
251
+ "tag-color": j(d),
252
252
  onKeyDown: this.handleKeyDown
253
- }, _))), /* @__PURE__ */ i.createElement(l, e.cn("Children", {})));
253
+ }, _))), /* @__PURE__ */ i.createElement(s, e.cn("Children", {})));
254
254
  }
255
- }]), g;
256
- }(I);
257
- n(w, "displayName", "CloseTagContainer");
258
- n(w, "style", $);
259
- n(w, "defaultProps", function() {
255
+ }]), t;
256
+ }(D);
257
+ n(b, "displayName", "CloseTagContainer");
258
+ n(b, "style", K);
259
+ n(b, "defaultProps", function() {
260
260
  return {
261
261
  theme: "primary",
262
262
  color: "gray-500",
263
263
  size: "m",
264
- i18n: P,
264
+ i18n: w,
265
265
  locale: "en",
266
266
  children: /* @__PURE__ */ i.createElement(B.Close, null)
267
267
  };
268
268
  });
269
- n(w, "enhance", [M(), K()]);
270
- function e_(r) {
271
- var s = arguments[0], g, o = C, _ = C, e = r.styles, t = r.color, a = r.resolveColor;
272
- return g = p(e), /* @__PURE__ */ i.createElement(o, g.cn("SAddon", {
273
- "tag-color": a(t)
274
- }), /* @__PURE__ */ i.createElement(_, g.cn("SCircle", m({}, S({}, s)))));
269
+ n(b, "enhance", [I(), M()]);
270
+ function e_(a) {
271
+ var l = arguments[0], t, r = C, _ = C, e = a.styles, g = a.color, o = a.resolveColor;
272
+ return t = m(e), /* @__PURE__ */ i.createElement(r, t.cn("SAddon", {
273
+ "tag-color": o(g)
274
+ }), /* @__PURE__ */ i.createElement(_, t.cn("SCircle", v({}, p({}, l)))));
275
275
  }
276
- function L(r) {
277
- var s = arguments[0], g, o = C, _ = r.styles;
278
- return g = p(_), /* @__PURE__ */ i.createElement(o, g.cn("SText", m({}, S({
276
+ function L(a) {
277
+ var l = arguments[0], t, r = C, _ = a.styles;
278
+ return t = m(_), /* @__PURE__ */ i.createElement(r, t.cn("SText", v({}, p({
279
279
  tag: "span"
280
- }, s))));
280
+ }, l))));
281
281
  }
282
- L.enhance = [K()];
283
- function t_(r) {
284
- var s = arguments[0], g, o = C, _ = r.styles;
282
+ L.enhance = [M()];
283
+ function g_(a) {
284
+ var l = arguments[0], t, r = C, _ = a.styles;
285
285
  i.useEffect(function() {
286
- var t;
287
- return (t = r.onMount) === null || t === void 0 || t.call(r), R.warn(!0, "Tag.Close is deprecated and will be removed in the next major release. Please, use TagContainer and TagContainer.Close", "Tag.Close"), function() {
288
- var a;
289
- return (a = r.onUnmount) === null || a === void 0 ? void 0 : a.call(r);
286
+ var g;
287
+ return (g = a.onMount) === null || g === void 0 || g.call(a), N.warn(!0, "Tag.Close is deprecated and will be removed in the next major release. Please, use TagContainer and TagContainer.Close", "Tag.Close"), function() {
288
+ var o;
289
+ return (o = a.onUnmount) === null || o === void 0 ? void 0 : o.call(a);
290
290
  };
291
291
  }, []);
292
- var e = i.useCallback(function(t) {
293
- if (r.onKeyDown)
294
- return r.onKeyDown(t);
295
- r.onClick && (t.key === "Enter" || t.key === " ") && (t.preventDefault(), r.onClick(t));
296
- }, [r.onKeyDown, r.onClick]);
297
- return g = p(_), /* @__PURE__ */ i.createElement(o, g.cn("SClose", m({}, S({
298
- tag: F,
292
+ var e = i.useCallback(function(g) {
293
+ if (a.onKeyDown)
294
+ return a.onKeyDown(g);
295
+ a.onClick && (g.key === "Enter" || g.key === " ") && (g.preventDefault(), a.onClick(g));
296
+ }, [a.onKeyDown, a.onClick]);
297
+ return t = m(_), /* @__PURE__ */ i.createElement(r, t.cn("SClose", v({}, p({
298
+ tag: R,
299
299
  interactive: !0,
300
300
  onKeyDown: e
301
- }, s))));
301
+ }, l))));
302
302
  }
303
- function q(r) {
304
- var s = arguments[0], g, o = C, _ = r.styles, e = r.color, t = r.resolveColor, a = i.useMemo(function() {
305
- if (typeof t == "function")
306
- return t(e);
307
- }, [e, t]);
308
- return g = p(_), /* @__PURE__ */ i.createElement(o, g.cn("SAddon", m({}, S({
303
+ function q(a) {
304
+ var l = arguments[0], t, r = C, _ = a.styles, e = a.color, g = a.resolveColor, o = i.useMemo(function() {
305
+ if (typeof g == "function")
306
+ return g(e);
307
+ }, [e, g]);
308
+ return t = m(_), /* @__PURE__ */ i.createElement(r, t.cn("SAddon", v({}, p({
309
309
  tag: "div",
310
- "tag-color": a
311
- }, s))));
310
+ "tag-color": o
311
+ }, l))));
312
312
  }
313
- function a_(r) {
314
- var s = arguments[0], g, o = C, _ = r.styles, e = r.color, t = r.resolveColor, a = i.useMemo(function() {
315
- if (typeof t == "function")
316
- return t(e);
317
- }, [e, t]);
318
- return g = p(_), /* @__PURE__ */ i.createElement(o, g.cn("SCircle", m({}, S({
313
+ function o_(a) {
314
+ var l = arguments[0], t, r = C, _ = a.styles, e = a.color, g = a.resolveColor, o = i.useMemo(function() {
315
+ if (typeof g == "function")
316
+ return g(e);
317
+ }, [e, g]);
318
+ return t = m(_), /* @__PURE__ */ i.createElement(r, t.cn("SCircle", v({}, p({
319
319
  tag: "span",
320
- "tag-color": a
321
- }, s))));
320
+ "tag-color": o
321
+ }, l))));
322
322
  }
323
- var h = D(x, {
323
+ var h = V(y, {
324
324
  Text: L,
325
325
  Addon: q,
326
- Close: t_,
327
- Circle: a_
328
- }), B = D(w, {
329
- Close: F
330
- }), T = D(b, {
326
+ Close: g_,
327
+ Circle: o_
328
+ }), B = V(b, {
329
+ Close: R
330
+ }), u = V(x, {
331
331
  Tag: h,
332
332
  Addon: q,
333
333
  Close: B,
334
334
  Circle: e_
335
335
  });
336
336
  export {
337
- T as TagContainer,
337
+ u as TagContainer,
338
338
  h as default
339
339
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/tag",
3
3
  "description": "Semrush Tag Component",
4
- "version": "5.53.2",
4
+ "version": "5.54.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",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@semcore/utils": "4.48.2",
18
- "@semcore/icon": "4.60.2",
18
+ "@semcore/icon": "4.61.0-prerelease.0",
19
19
  "@semcore/flex-box": "5.41.2"
20
20
  },
21
21
  "peerDependencies": {