@semcore/button 4.1.0 → 4.2.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
+ ## [4.2.0] - 2022-10-10
6
+
7
+ ### Changed
8
+
9
+ - Added support for React 18 🔥
10
+
5
11
  ## [4.1.0] - 2022-10-07
6
12
 
7
13
  ### Changed
package/lib/cjs/Button.js CHANGED
@@ -58,36 +58,36 @@ var style = (
58
58
  /*__reshadow_css_start__*/
59
59
  _core.sstyled.insert(
60
60
  /*__inner_css_start__*/
61
- ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SButton_vfu4l_gg_ {\n position: relative;\n display: inline-block;\n align-items: center;\n justify-content: center;\n padding: 0;\n margin: 0;\n white-space: nowrap;\n font-family: Inter, sans-serif;\n line-height: normal;\n text-decoration: none;\n text-align: center;\n vertical-align: middle;\n border: 1px solid transparent;\n outline: 0;\n box-shadow: none;\n cursor: pointer;\n box-sizing: border-box;\n overflow: visible;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: manipulation;\n -webkit-tap-highlight-color: transparent;\n font-weight: 500;\n color: #6c6e79\n}\n\n.___SButton_vfu4l_gg_::-moz-focus-inner {\n padding: 0;\n border: none;\n }\n\n.___SButton_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_:hover,\n .___SButton_vfu4l_gg_:focus {\n outline: 0;\n text-decoration: none;\n }\n\n.___SButton_vfu4l_gg_.__disabled_vfu4l_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none; /* Disable link interactions */\n}\n\n.___SButton_vfu4l_gg_.__keyboardFocused_vfu4l_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n z-index: 1;\n}\n\n.___SButton_vfu4l_gg_._size_m_vfu4l_gg_ {\n height: 28px;\n min-width: 28px;\n border-radius: 6px;\n font-size: 14px;\n}\n\n.___SButton_vfu4l_gg_._size_l_vfu4l_gg_ {\n height: 40px;\n min-width: 40px;\n border-radius: 6px;\n font-size: 16px;\n}\n\n.___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_ {\n color: #ffffff;\n background-color: #008ff8\n}\n\n.___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_:hover {\n background-color: #006dca;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #044792;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_ {\n color: #ffffff;\n background-color: #009f81\n}\n\n.___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_:hover {\n background-color: #007c65;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #055345;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_ {\n background-color: #ff642d;\n color: #ffffff\n}\n\n.___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_:hover {\n background-color: #c33909;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #8b1500;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_ {\n background-color: #ff4953;\n color: #ffffff\n}\n\n.___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_:hover {\n background-color: #d1002f;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #8e0016;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_ {\n background-color: #fff;\n color: #191b23\n}\n\n.___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_:hover {\n background-color: #f4f5f9;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #e0e1e9;\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_ {\n color: #6c6e79;\n border-color: #c4c7cf;\n background-color: rgba(138, 142, 155, 0.1)\n}\n\n.___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_ {\n background-color: rgba(0, 143, 248, 0.05);\n color: #008ff8;\n border-color: #008ff8\n}\n\n.___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_:hover {\n background-color: rgba(0, 109, 202, 0.2);\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(0, 109, 202, 0.3);\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_ {\n background-color: rgba(255, 255, 255, 0.05);\n color: #fff;\n border-color: #fff\n}\n\n.___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_ {\n color: #006dca;\n background-color: transparent\n}\n\n.___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_:hover {\n background-color: rgba(0, 143, 248, 0.2);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(0, 143, 248, 0.3);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_ {\n color: #6c6e79;\n background-color: transparent\n}\n\n.___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_ {\n color: #fff;\n background-color: transparent\n}\n\n.___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_right_vfu4l_gg_ {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_ {\n border-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-info_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-success_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-warning_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-danger_vfu4l_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-invert_vfu4l_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_ {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-info_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-success_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-warning_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-danger_vfu4l_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-invert_vfu4l_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SSpin_vfu4l_gg_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.___SInner_vfu4l_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.___SInner_vfu4l_gg_.__loading_vfu4l_gg_ {\n visibility: hidden;\n}\n\n.___SText_vfu4l_gg_ {\n display: inline-flex;\n}\n\n.___SText_vfu4l_gg_._size_m_vfu4l_gg_ {\n margin-left: 8px;\n margin-right: 8px;\n line-height: 1.42;\n}\n\n.___SText_vfu4l_gg_._size_l_vfu4l_gg_ {\n margin-left: 12px;\n margin-right: 12px;\n line-height: 1.5;\n}\n\n.___SAddon_vfu4l_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.___SAddon_vfu4l_gg_._size_m_vfu4l_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_m_vfu4l_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_m_vfu4l_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n\n.___SAddon_vfu4l_gg_._size_l_vfu4l_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_l_vfu4l_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_l_vfu4l_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n"
61
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SButton_puhde_gg_ {\n position: relative;\n display: inline-block;\n align-items: center;\n justify-content: center;\n padding: 0;\n margin: 0;\n white-space: nowrap;\n font-family: Inter, sans-serif;\n line-height: normal;\n text-decoration: none;\n text-align: center;\n vertical-align: middle;\n border: 1px solid transparent;\n outline: 0;\n box-shadow: none;\n cursor: pointer;\n box-sizing: border-box;\n overflow: visible;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: manipulation;\n -webkit-tap-highlight-color: transparent;\n font-weight: 500;\n color: #6c6e79\n}\n\n.___SButton_puhde_gg_::-moz-focus-inner {\n padding: 0;\n border: none;\n }\n\n.___SButton_puhde_gg_:active,\n .___SButton_puhde_gg_:hover,\n .___SButton_puhde_gg_:focus {\n outline: 0;\n text-decoration: none;\n }\n\n.___SButton_puhde_gg_.__disabled_puhde_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none; /* Disable link interactions */\n}\n\n.___SButton_puhde_gg_.__keyboardFocused_puhde_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n z-index: 1;\n}\n\n.___SButton_puhde_gg_._size_m_puhde_gg_ {\n height: 28px;\n min-width: 28px;\n border-radius: 6px;\n font-size: 14px;\n}\n\n.___SButton_puhde_gg_._size_l_puhde_gg_ {\n height: 40px;\n min-width: 40px;\n border-radius: 6px;\n font-size: 16px;\n}\n\n.___SButton_puhde_gg_._theme_primary-info_puhde_gg_ {\n color: #ffffff;\n background-color: #008ff8\n}\n\n.___SButton_puhde_gg_._theme_primary-info_puhde_gg_:hover {\n background-color: #006dca;\n }\n\n.___SButton_puhde_gg_._theme_primary-info_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-info_puhde_gg_.__active_puhde_gg_ {\n background-color: #044792;\n }\n\n.___SButton_puhde_gg_._theme_primary-success_puhde_gg_ {\n color: #ffffff;\n background-color: #009f81\n}\n\n.___SButton_puhde_gg_._theme_primary-success_puhde_gg_:hover {\n background-color: #007c65;\n }\n\n.___SButton_puhde_gg_._theme_primary-success_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-success_puhde_gg_.__active_puhde_gg_ {\n background-color: #055345;\n }\n\n.___SButton_puhde_gg_._theme_primary-warning_puhde_gg_ {\n background-color: #ff642d;\n color: #ffffff\n}\n\n.___SButton_puhde_gg_._theme_primary-warning_puhde_gg_:hover {\n background-color: #c33909;\n }\n\n.___SButton_puhde_gg_._theme_primary-warning_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-warning_puhde_gg_.__active_puhde_gg_ {\n background-color: #8b1500;\n }\n\n.___SButton_puhde_gg_._theme_primary-danger_puhde_gg_ {\n background-color: #ff4953;\n color: #ffffff\n}\n\n.___SButton_puhde_gg_._theme_primary-danger_puhde_gg_:hover {\n background-color: #d1002f;\n }\n\n.___SButton_puhde_gg_._theme_primary-danger_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-danger_puhde_gg_.__active_puhde_gg_ {\n background-color: #8e0016;\n }\n\n.___SButton_puhde_gg_._theme_primary-invert_puhde_gg_ {\n background-color: #fff;\n color: #191b23\n}\n\n.___SButton_puhde_gg_._theme_primary-invert_puhde_gg_:hover {\n background-color: #f4f5f9;\n }\n\n.___SButton_puhde_gg_._theme_primary-invert_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-invert_puhde_gg_.__active_puhde_gg_ {\n background-color: #e0e1e9;\n }\n\n.___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_ {\n color: #6c6e79;\n border-color: #c4c7cf;\n background-color: rgba(138, 142, 155, 0.1)\n}\n\n.___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_secondary-info_puhde_gg_ {\n background-color: rgba(0, 143, 248, 0.05);\n color: #008ff8;\n border-color: #008ff8\n}\n\n.___SButton_puhde_gg_._theme_secondary-info_puhde_gg_:hover {\n background-color: rgba(0, 109, 202, 0.2);\n }\n\n.___SButton_puhde_gg_._theme_secondary-info_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_secondary-info_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(0, 109, 202, 0.3);\n }\n\n.___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_ {\n background-color: rgba(255, 255, 255, 0.05);\n color: #fff;\n border-color: #fff\n}\n\n.___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_ {\n color: #006dca;\n background-color: transparent\n}\n\n.___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_:hover {\n background-color: rgba(0, 143, 248, 0.2);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(0, 143, 248, 0.3);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_ {\n color: #6c6e79;\n background-color: transparent\n}\n\n.___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_ {\n color: #fff;\n background-color: transparent\n}\n\n.___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_puhde_gg_._neighborLocation_right_puhde_gg_ {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.___SButton_puhde_gg_._neighborLocation_both_puhde_gg_ {\n border-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-info_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-success_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-warning_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-danger_puhde_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-invert_puhde_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SButton_puhde_gg_._neighborLocation_left_puhde_gg_ {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-info_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-success_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-warning_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-danger_puhde_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-invert_puhde_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SSpin_puhde_gg_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.___SInner_puhde_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.___SInner_puhde_gg_.__loading_puhde_gg_ {\n visibility: hidden;\n}\n\n.___SText_puhde_gg_ {\n display: inline-flex;\n}\n\n.___SText_puhde_gg_._size_m_puhde_gg_ {\n margin-left: 8px;\n margin-right: 8px;\n line-height: 1.42;\n}\n\n.___SText_puhde_gg_._size_l_puhde_gg_ {\n margin-left: 12px;\n margin-right: 12px;\n line-height: 1.5;\n}\n\n.___SAddon_puhde_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.___SAddon_puhde_gg_._size_m_puhde_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_puhde_gg_._size_m_puhde_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_puhde_gg_._size_m_puhde_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n\n.___SAddon_puhde_gg_._size_l_puhde_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_puhde_gg_._size_l_puhde_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_puhde_gg_._size_l_puhde_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n"
62
62
  /*__inner_css_end__*/
63
- , "vfu4l_gg_")
63
+ , "puhde_gg_")
64
64
  /*__reshadow_css_end__*/
65
65
  , {
66
- "__SButton": "___SButton_vfu4l_gg_",
67
- "_disabled": "__disabled_vfu4l_gg_",
68
- "_keyboardFocused": "__keyboardFocused_vfu4l_gg_",
69
- "_size_m": "_size_m_vfu4l_gg_",
70
- "_size_l": "_size_l_vfu4l_gg_",
71
- "_theme_primary-info": "_theme_primary-info_vfu4l_gg_",
72
- "_active": "__active_vfu4l_gg_",
73
- "_theme_primary-success": "_theme_primary-success_vfu4l_gg_",
74
- "_theme_primary-warning": "_theme_primary-warning_vfu4l_gg_",
75
- "_theme_primary-danger": "_theme_primary-danger_vfu4l_gg_",
76
- "_theme_primary-invert": "_theme_primary-invert_vfu4l_gg_",
77
- "_theme_secondary-muted": "_theme_secondary-muted_vfu4l_gg_",
78
- "_theme_secondary-info": "_theme_secondary-info_vfu4l_gg_",
79
- "_theme_secondary-invert": "_theme_secondary-invert_vfu4l_gg_",
80
- "_theme_tertiary-info": "_theme_tertiary-info_vfu4l_gg_",
81
- "_theme_tertiary-muted": "_theme_tertiary-muted_vfu4l_gg_",
82
- "_theme_tertiary-invert": "_theme_tertiary-invert_vfu4l_gg_",
83
- "_neighborLocation_right": "_neighborLocation_right_vfu4l_gg_",
84
- "_neighborLocation_both": "_neighborLocation_both_vfu4l_gg_",
85
- "_neighborLocation_left": "_neighborLocation_left_vfu4l_gg_",
86
- "__SSpin": "___SSpin_vfu4l_gg_",
87
- "__SInner": "___SInner_vfu4l_gg_",
88
- "_loading": "__loading_vfu4l_gg_",
89
- "__SText": "___SText_vfu4l_gg_",
90
- "__SAddon": "___SAddon_vfu4l_gg_"
66
+ "__SButton": "___SButton_puhde_gg_",
67
+ "_disabled": "__disabled_puhde_gg_",
68
+ "_keyboardFocused": "__keyboardFocused_puhde_gg_",
69
+ "_size_m": "_size_m_puhde_gg_",
70
+ "_size_l": "_size_l_puhde_gg_",
71
+ "_theme_primary-info": "_theme_primary-info_puhde_gg_",
72
+ "_active": "__active_puhde_gg_",
73
+ "_theme_primary-success": "_theme_primary-success_puhde_gg_",
74
+ "_theme_primary-warning": "_theme_primary-warning_puhde_gg_",
75
+ "_theme_primary-danger": "_theme_primary-danger_puhde_gg_",
76
+ "_theme_primary-invert": "_theme_primary-invert_puhde_gg_",
77
+ "_theme_secondary-muted": "_theme_secondary-muted_puhde_gg_",
78
+ "_theme_secondary-info": "_theme_secondary-info_puhde_gg_",
79
+ "_theme_secondary-invert": "_theme_secondary-invert_puhde_gg_",
80
+ "_theme_tertiary-info": "_theme_tertiary-info_puhde_gg_",
81
+ "_theme_tertiary-muted": "_theme_tertiary-muted_puhde_gg_",
82
+ "_theme_tertiary-invert": "_theme_tertiary-invert_puhde_gg_",
83
+ "_neighborLocation_right": "_neighborLocation_right_puhde_gg_",
84
+ "_neighborLocation_both": "_neighborLocation_both_puhde_gg_",
85
+ "_neighborLocation_left": "_neighborLocation_left_puhde_gg_",
86
+ "__SSpin": "___SSpin_puhde_gg_",
87
+ "__SInner": "___SInner_puhde_gg_",
88
+ "_loading": "__loading_puhde_gg_",
89
+ "__SText": "___SText_puhde_gg_",
90
+ "__SAddon": "___SAddon_puhde_gg_"
91
91
  });
92
92
  var MAP_USE_DEFAULT_THEME = {
93
93
  primary: 'info',
package/lib/es6/Button.js CHANGED
@@ -33,36 +33,36 @@ var style = (
33
33
  /*__reshadow_css_start__*/
34
34
  _sstyled.insert(
35
35
  /*__inner_css_start__*/
36
- ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SButton_vfu4l_gg_ {\n position: relative;\n display: inline-block;\n align-items: center;\n justify-content: center;\n padding: 0;\n margin: 0;\n white-space: nowrap;\n font-family: Inter, sans-serif;\n line-height: normal;\n text-decoration: none;\n text-align: center;\n vertical-align: middle;\n border: 1px solid transparent;\n outline: 0;\n box-shadow: none;\n cursor: pointer;\n box-sizing: border-box;\n overflow: visible;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: manipulation;\n -webkit-tap-highlight-color: transparent;\n font-weight: 500;\n color: #6c6e79\n}\n\n.___SButton_vfu4l_gg_::-moz-focus-inner {\n padding: 0;\n border: none;\n }\n\n.___SButton_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_:hover,\n .___SButton_vfu4l_gg_:focus {\n outline: 0;\n text-decoration: none;\n }\n\n.___SButton_vfu4l_gg_.__disabled_vfu4l_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none; /* Disable link interactions */\n}\n\n.___SButton_vfu4l_gg_.__keyboardFocused_vfu4l_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n z-index: 1;\n}\n\n.___SButton_vfu4l_gg_._size_m_vfu4l_gg_ {\n height: 28px;\n min-width: 28px;\n border-radius: 6px;\n font-size: 14px;\n}\n\n.___SButton_vfu4l_gg_._size_l_vfu4l_gg_ {\n height: 40px;\n min-width: 40px;\n border-radius: 6px;\n font-size: 16px;\n}\n\n.___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_ {\n color: #ffffff;\n background-color: #008ff8\n}\n\n.___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_:hover {\n background-color: #006dca;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-info_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #044792;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_ {\n color: #ffffff;\n background-color: #009f81\n}\n\n.___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_:hover {\n background-color: #007c65;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-success_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #055345;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_ {\n background-color: #ff642d;\n color: #ffffff\n}\n\n.___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_:hover {\n background-color: #c33909;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-warning_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #8b1500;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_ {\n background-color: #ff4953;\n color: #ffffff\n}\n\n.___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_:hover {\n background-color: #d1002f;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-danger_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #8e0016;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_ {\n background-color: #fff;\n color: #191b23\n}\n\n.___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_:hover {\n background-color: #f4f5f9;\n }\n\n.___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_primary-invert_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: #e0e1e9;\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_ {\n color: #6c6e79;\n border-color: #c4c7cf;\n background-color: rgba(138, 142, 155, 0.1)\n}\n\n.___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_secondary-muted_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_ {\n background-color: rgba(0, 143, 248, 0.05);\n color: #008ff8;\n border-color: #008ff8\n}\n\n.___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_:hover {\n background-color: rgba(0, 109, 202, 0.2);\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_secondary-info_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(0, 109, 202, 0.3);\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_ {\n background-color: rgba(255, 255, 255, 0.05);\n color: #fff;\n border-color: #fff\n}\n\n.___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_secondary-invert_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_ {\n color: #006dca;\n background-color: transparent\n}\n\n.___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_:hover {\n background-color: rgba(0, 143, 248, 0.2);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_tertiary-info_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(0, 143, 248, 0.3);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_ {\n color: #6c6e79;\n background-color: transparent\n}\n\n.___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_tertiary-muted_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_ {\n color: #fff;\n background-color: transparent\n}\n\n.___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_:active,\n .___SButton_vfu4l_gg_._theme_tertiary-invert_vfu4l_gg_.__active_vfu4l_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_right_vfu4l_gg_ {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_ {\n border-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-info_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-success_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-warning_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-danger_vfu4l_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_both_vfu4l_gg_._theme_primary-invert_vfu4l_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_ {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-info_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-success_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-warning_vfu4l_gg_,\n .___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-danger_vfu4l_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_vfu4l_gg_._neighborLocation_left_vfu4l_gg_._theme_primary-invert_vfu4l_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SSpin_vfu4l_gg_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.___SInner_vfu4l_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.___SInner_vfu4l_gg_.__loading_vfu4l_gg_ {\n visibility: hidden;\n}\n\n.___SText_vfu4l_gg_ {\n display: inline-flex;\n}\n\n.___SText_vfu4l_gg_._size_m_vfu4l_gg_ {\n margin-left: 8px;\n margin-right: 8px;\n line-height: 1.42;\n}\n\n.___SText_vfu4l_gg_._size_l_vfu4l_gg_ {\n margin-left: 12px;\n margin-right: 12px;\n line-height: 1.5;\n}\n\n.___SAddon_vfu4l_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.___SAddon_vfu4l_gg_._size_m_vfu4l_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_m_vfu4l_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_m_vfu4l_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n\n.___SAddon_vfu4l_gg_._size_l_vfu4l_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_l_vfu4l_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_vfu4l_gg_._size_l_vfu4l_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n"
36
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SButton_puhde_gg_ {\n position: relative;\n display: inline-block;\n align-items: center;\n justify-content: center;\n padding: 0;\n margin: 0;\n white-space: nowrap;\n font-family: Inter, sans-serif;\n line-height: normal;\n text-decoration: none;\n text-align: center;\n vertical-align: middle;\n border: 1px solid transparent;\n outline: 0;\n box-shadow: none;\n cursor: pointer;\n box-sizing: border-box;\n overflow: visible;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: manipulation;\n -webkit-tap-highlight-color: transparent;\n font-weight: 500;\n color: #6c6e79\n}\n\n.___SButton_puhde_gg_::-moz-focus-inner {\n padding: 0;\n border: none;\n }\n\n.___SButton_puhde_gg_:active,\n .___SButton_puhde_gg_:hover,\n .___SButton_puhde_gg_:focus {\n outline: 0;\n text-decoration: none;\n }\n\n.___SButton_puhde_gg_.__disabled_puhde_gg_ {\n opacity: 0.3;\n cursor: default;\n pointer-events: none; /* Disable link interactions */\n}\n\n.___SButton_puhde_gg_.__keyboardFocused_puhde_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n z-index: 1;\n}\n\n.___SButton_puhde_gg_._size_m_puhde_gg_ {\n height: 28px;\n min-width: 28px;\n border-radius: 6px;\n font-size: 14px;\n}\n\n.___SButton_puhde_gg_._size_l_puhde_gg_ {\n height: 40px;\n min-width: 40px;\n border-radius: 6px;\n font-size: 16px;\n}\n\n.___SButton_puhde_gg_._theme_primary-info_puhde_gg_ {\n color: #ffffff;\n background-color: #008ff8\n}\n\n.___SButton_puhde_gg_._theme_primary-info_puhde_gg_:hover {\n background-color: #006dca;\n }\n\n.___SButton_puhde_gg_._theme_primary-info_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-info_puhde_gg_.__active_puhde_gg_ {\n background-color: #044792;\n }\n\n.___SButton_puhde_gg_._theme_primary-success_puhde_gg_ {\n color: #ffffff;\n background-color: #009f81\n}\n\n.___SButton_puhde_gg_._theme_primary-success_puhde_gg_:hover {\n background-color: #007c65;\n }\n\n.___SButton_puhde_gg_._theme_primary-success_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-success_puhde_gg_.__active_puhde_gg_ {\n background-color: #055345;\n }\n\n.___SButton_puhde_gg_._theme_primary-warning_puhde_gg_ {\n background-color: #ff642d;\n color: #ffffff\n}\n\n.___SButton_puhde_gg_._theme_primary-warning_puhde_gg_:hover {\n background-color: #c33909;\n }\n\n.___SButton_puhde_gg_._theme_primary-warning_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-warning_puhde_gg_.__active_puhde_gg_ {\n background-color: #8b1500;\n }\n\n.___SButton_puhde_gg_._theme_primary-danger_puhde_gg_ {\n background-color: #ff4953;\n color: #ffffff\n}\n\n.___SButton_puhde_gg_._theme_primary-danger_puhde_gg_:hover {\n background-color: #d1002f;\n }\n\n.___SButton_puhde_gg_._theme_primary-danger_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-danger_puhde_gg_.__active_puhde_gg_ {\n background-color: #8e0016;\n }\n\n.___SButton_puhde_gg_._theme_primary-invert_puhde_gg_ {\n background-color: #fff;\n color: #191b23\n}\n\n.___SButton_puhde_gg_._theme_primary-invert_puhde_gg_:hover {\n background-color: #f4f5f9;\n }\n\n.___SButton_puhde_gg_._theme_primary-invert_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_primary-invert_puhde_gg_.__active_puhde_gg_ {\n background-color: #e0e1e9;\n }\n\n.___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_ {\n color: #6c6e79;\n border-color: #c4c7cf;\n background-color: rgba(138, 142, 155, 0.1)\n}\n\n.___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_secondary-muted_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_secondary-info_puhde_gg_ {\n background-color: rgba(0, 143, 248, 0.05);\n color: #008ff8;\n border-color: #008ff8\n}\n\n.___SButton_puhde_gg_._theme_secondary-info_puhde_gg_:hover {\n background-color: rgba(0, 109, 202, 0.2);\n }\n\n.___SButton_puhde_gg_._theme_secondary-info_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_secondary-info_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(0, 109, 202, 0.3);\n }\n\n.___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_ {\n background-color: rgba(255, 255, 255, 0.05);\n color: #fff;\n border-color: #fff\n}\n\n.___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_secondary-invert_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_ {\n color: #006dca;\n background-color: transparent\n}\n\n.___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_:hover {\n background-color: rgba(0, 143, 248, 0.2);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_tertiary-info_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(0, 143, 248, 0.3);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_ {\n color: #6c6e79;\n background-color: transparent\n}\n\n.___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_:hover {\n background-color: rgba(138, 142, 155, 0.2);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_tertiary-muted_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(138, 142, 155, 0.3);\n color: #191b23;\n }\n\n.___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_ {\n color: #fff;\n background-color: transparent\n}\n\n.___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_:hover {\n background-color: rgba(255, 255, 255, 0.1);\n }\n\n.___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_:active,\n .___SButton_puhde_gg_._theme_tertiary-invert_puhde_gg_.__active_puhde_gg_ {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.___SButton_puhde_gg_._neighborLocation_right_puhde_gg_ {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.___SButton_puhde_gg_._neighborLocation_both_puhde_gg_ {\n border-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-info_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-success_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-warning_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-danger_puhde_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_puhde_gg_._neighborLocation_both_puhde_gg_._theme_primary-invert_puhde_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SButton_puhde_gg_._neighborLocation_left_puhde_gg_ {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n margin-left: -1px\n}\n\n.___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-info_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-success_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-warning_puhde_gg_,\n .___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-danger_puhde_gg_ {\n border-left-color: rgba(255, 255, 255, 0.5);\n }\n\n.___SButton_puhde_gg_._neighborLocation_left_puhde_gg_._theme_primary-invert_puhde_gg_ {\n border-left-color: rgba(0, 0, 0, 0.5);\n }\n\n.___SSpin_puhde_gg_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.___SInner_puhde_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.___SInner_puhde_gg_.__loading_puhde_gg_ {\n visibility: hidden;\n}\n\n.___SText_puhde_gg_ {\n display: inline-flex;\n}\n\n.___SText_puhde_gg_._size_m_puhde_gg_ {\n margin-left: 8px;\n margin-right: 8px;\n line-height: 1.42;\n}\n\n.___SText_puhde_gg_._size_l_puhde_gg_ {\n margin-left: 12px;\n margin-right: 12px;\n line-height: 1.5;\n}\n\n.___SAddon_puhde_gg_ {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.___SAddon_puhde_gg_._size_m_puhde_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_puhde_gg_._size_m_puhde_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_puhde_gg_._size_m_puhde_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n\n.___SAddon_puhde_gg_._size_l_puhde_gg_:not(:only-child):first-child {\n margin-left: 8px;\n }\n\n.___SAddon_puhde_gg_._size_l_puhde_gg_:not(:only-child):last-child {\n margin-right: 8px;\n }\n\n.___SAddon_puhde_gg_._size_l_puhde_gg_:only-child {\n margin-left: -4px;\n margin-right: -4px;\n }\n"
37
37
  /*__inner_css_end__*/
38
- , "vfu4l_gg_")
38
+ , "puhde_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
41
- "__SButton": "___SButton_vfu4l_gg_",
42
- "_disabled": "__disabled_vfu4l_gg_",
43
- "_keyboardFocused": "__keyboardFocused_vfu4l_gg_",
44
- "_size_m": "_size_m_vfu4l_gg_",
45
- "_size_l": "_size_l_vfu4l_gg_",
46
- "_theme_primary-info": "_theme_primary-info_vfu4l_gg_",
47
- "_active": "__active_vfu4l_gg_",
48
- "_theme_primary-success": "_theme_primary-success_vfu4l_gg_",
49
- "_theme_primary-warning": "_theme_primary-warning_vfu4l_gg_",
50
- "_theme_primary-danger": "_theme_primary-danger_vfu4l_gg_",
51
- "_theme_primary-invert": "_theme_primary-invert_vfu4l_gg_",
52
- "_theme_secondary-muted": "_theme_secondary-muted_vfu4l_gg_",
53
- "_theme_secondary-info": "_theme_secondary-info_vfu4l_gg_",
54
- "_theme_secondary-invert": "_theme_secondary-invert_vfu4l_gg_",
55
- "_theme_tertiary-info": "_theme_tertiary-info_vfu4l_gg_",
56
- "_theme_tertiary-muted": "_theme_tertiary-muted_vfu4l_gg_",
57
- "_theme_tertiary-invert": "_theme_tertiary-invert_vfu4l_gg_",
58
- "_neighborLocation_right": "_neighborLocation_right_vfu4l_gg_",
59
- "_neighborLocation_both": "_neighborLocation_both_vfu4l_gg_",
60
- "_neighborLocation_left": "_neighborLocation_left_vfu4l_gg_",
61
- "__SSpin": "___SSpin_vfu4l_gg_",
62
- "__SInner": "___SInner_vfu4l_gg_",
63
- "_loading": "__loading_vfu4l_gg_",
64
- "__SText": "___SText_vfu4l_gg_",
65
- "__SAddon": "___SAddon_vfu4l_gg_"
41
+ "__SButton": "___SButton_puhde_gg_",
42
+ "_disabled": "__disabled_puhde_gg_",
43
+ "_keyboardFocused": "__keyboardFocused_puhde_gg_",
44
+ "_size_m": "_size_m_puhde_gg_",
45
+ "_size_l": "_size_l_puhde_gg_",
46
+ "_theme_primary-info": "_theme_primary-info_puhde_gg_",
47
+ "_active": "__active_puhde_gg_",
48
+ "_theme_primary-success": "_theme_primary-success_puhde_gg_",
49
+ "_theme_primary-warning": "_theme_primary-warning_puhde_gg_",
50
+ "_theme_primary-danger": "_theme_primary-danger_puhde_gg_",
51
+ "_theme_primary-invert": "_theme_primary-invert_puhde_gg_",
52
+ "_theme_secondary-muted": "_theme_secondary-muted_puhde_gg_",
53
+ "_theme_secondary-info": "_theme_secondary-info_puhde_gg_",
54
+ "_theme_secondary-invert": "_theme_secondary-invert_puhde_gg_",
55
+ "_theme_tertiary-info": "_theme_tertiary-info_puhde_gg_",
56
+ "_theme_tertiary-muted": "_theme_tertiary-muted_puhde_gg_",
57
+ "_theme_tertiary-invert": "_theme_tertiary-invert_puhde_gg_",
58
+ "_neighborLocation_right": "_neighborLocation_right_puhde_gg_",
59
+ "_neighborLocation_both": "_neighborLocation_both_puhde_gg_",
60
+ "_neighborLocation_left": "_neighborLocation_left_puhde_gg_",
61
+ "__SSpin": "___SSpin_puhde_gg_",
62
+ "__SInner": "___SInner_puhde_gg_",
63
+ "_loading": "__loading_puhde_gg_",
64
+ "__SText": "___SText_puhde_gg_",
65
+ "__SAddon": "___SAddon_puhde_gg_"
66
66
  });
67
67
  export var MAP_USE_DEFAULT_THEME = {
68
68
  primary: 'info',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/button",
3
3
  "description": "Semrush Button Component",
4
- "version": "4.1.0",
4
+ "version": "4.2.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "peerDependencies": {
18
18
  "@semcore/core": "^1.11",
19
- "react": "16.8 - 17"
19
+ "react": "16.8 - 18"
20
20
  },
21
21
  "jest": {
22
22
  "preset": "@semcore/jest-preset-ui"
@@ -27,9 +27,9 @@
27
27
  "directory": "semcore/button"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/react": "16.8 - 17",
30
+ "@types/react": "18.0.21",
31
31
  "@semcore/jest-preset-ui": "1.0.0",
32
- "@semcore/icon": "^2.16"
32
+ "@semcore/icon": "*"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "pnpm semcore-builder --source=js",