@semcore/button 4.0.4 → 4.0.7
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 +18 -0
- package/README.md +67 -0
- package/lib/cjs/Button.js +1 -1
- package/lib/es6/Button.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [4.0.7] - 2022-07-07
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0]).
|
|
10
|
+
|
|
11
|
+
## [4.0.6] - 2022-06-02
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0]).
|
|
16
|
+
|
|
17
|
+
## [4.0.5] - 2022-05-31
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2]).
|
|
22
|
+
|
|
5
23
|
## [4.0.4] - 2022-05-27
|
|
6
24
|
|
|
7
25
|
### Fixed
|
package/README.md
CHANGED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# @semcore/button
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/@semcore/button)
|
|
4
|
+
[](https://www.npmjs.com/package/@semcore/button)
|
|
5
|
+
[](https://github.com/semrush/intergalactic/blob/master/LICENSE)
|
|
6
|
+
|
|
7
|
+
> This component is part of the Intergalactic design system
|
|
8
|
+
|
|
9
|
+
### 📖 [Component documentation](https://developer.semrush.com/intergalactic/components/button/)
|
|
10
|
+
|
|
11
|
+
### 🏠 [Design system](https://developer.semrush.com/intergalactic/)
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install @semcore/ui
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
import Button from '@semcore/ui/button';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<details>
|
|
26
|
+
<summary>Alternative installation and use</summary>
|
|
27
|
+
|
|
28
|
+
**We do not recommend this usage path due to possible dependency and update issues.**
|
|
29
|
+
|
|
30
|
+
### Install
|
|
31
|
+
|
|
32
|
+
You can only install one package from the design system
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npm install @semcore/button @semcore/core
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
`@semcore/core` - _is the basic package by which we create our components, and it contains all of the common logic
|
|
39
|
+
of the components that is discussed below. There should only be one version of the package in the project._
|
|
40
|
+
|
|
41
|
+
### Usage
|
|
42
|
+
|
|
43
|
+
You can use the package the same way but without `/ui/` in the import path.
|
|
44
|
+
|
|
45
|
+
</details>
|
|
46
|
+
|
|
47
|
+
```jsx
|
|
48
|
+
import Button from '@semcore/button';
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## 👤 Author
|
|
52
|
+
|
|
53
|
+
[UI-kit team](https://github.com/semrush/intergalactic/blob/master/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
|
|
54
|
+
|
|
55
|
+
## 🤝 Contributing
|
|
56
|
+
|
|
57
|
+
Contributions, issues and feature requests are welcome!
|
|
58
|
+
|
|
59
|
+
Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/master/CONTRIBUTING.md).
|
|
60
|
+
|
|
61
|
+
## Show your support
|
|
62
|
+
|
|
63
|
+
Give a ⭐️ if this project helped you!
|
|
64
|
+
|
|
65
|
+
## 📝 License
|
|
66
|
+
|
|
67
|
+
This project is [MIT](https://github.com/semrush/intergalactic/blob/master/LICENSE) licensed.
|
package/lib/cjs/Button.js
CHANGED
|
@@ -52,7 +52,7 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".___SButton_1gip4_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:Inter,sans-serif;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:500;color:#6c6e79}.___SButton_1gip4_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_1gip4_gg_:active,.___SButton_1gip4_gg_:focus,.___SButton_1gip4_gg_:hover{outline:0;text-decoration:none}.___SButton_1gip4_gg_.__disabled_1gip4_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SButton_1gip4_gg_.__keyboardFocused_1gip4_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2);z-index:1}.___SButton_1gip4_gg_._size_m_1gip4_gg_{height:28px;min-width:28px;border-radius:6px;font-size:14px}.___SButton_1gip4_gg_._size_l_1gip4_gg_{height:40px;min-width:40px;border-radius:6px;font-size:16px}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_{color:#ffffff;background-color:#008ff8}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:hover{background-color:#006dca}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_.__active_1gip4_gg_{background-color:#044792}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_{color:#ffffff;background-color:#009f81}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:hover{background-color:#007c65}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_.__active_1gip4_gg_{background-color:#055345}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_{background-color:#
|
|
55
|
+
".___SButton_1gip4_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:Inter,sans-serif;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:500;color:#6c6e79}.___SButton_1gip4_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_1gip4_gg_:active,.___SButton_1gip4_gg_:focus,.___SButton_1gip4_gg_:hover{outline:0;text-decoration:none}.___SButton_1gip4_gg_.__disabled_1gip4_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SButton_1gip4_gg_.__keyboardFocused_1gip4_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2);z-index:1}.___SButton_1gip4_gg_._size_m_1gip4_gg_{height:28px;min-width:28px;border-radius:6px;font-size:14px}.___SButton_1gip4_gg_._size_l_1gip4_gg_{height:40px;min-width:40px;border-radius:6px;font-size:16px}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_{color:#ffffff;background-color:#008ff8}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:hover{background-color:#006dca}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_.__active_1gip4_gg_{background-color:#044792}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_{color:#ffffff;background-color:#009f81}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:hover{background-color:#007c65}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_.__active_1gip4_gg_{background-color:#055345}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_{background-color:#ff642d;color:#ffffff}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_:hover{background-color:#c33909}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_.__active_1gip4_gg_{background-color:#8b1500}.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_{background-color:#ff4953;color:#ffffff}.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_:hover{background-color:#d1002f}.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_.__active_1gip4_gg_{background-color:#8e0016}.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_{background-color:#fff;color:#191b23}.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_:hover{background-color:#f4f5f9}.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_.__active_1gip4_gg_{background-color:#e0e1e9}.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_{color:#6c6e79;border-color:#c4c7cf;background-color:rgba(138,142,155,.1)}.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_:hover{background-color:rgba(138,142,155,.2);color:#191b23}.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(138,142,155,.3);color:#191b23}.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_{background-color:rgba(0,143,248,.05);color:#008ff8;border-color:#008ff8}.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_:hover{background-color:rgba(0,109,202,.2)}.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(0,109,202,.3)}.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_{background-color:hsla(0,0%,100%,.05);color:#fff;border-color:#fff}.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_.__active_1gip4_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_{color:#006dca;background-color:transparent}.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_:hover{background-color:rgba(0,143,248,.2)}.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(0,143,248,.3)}.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_{color:#6c6e79;background-color:transparent}.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_:hover{background-color:rgba(138,142,155,.2);color:#191b23}.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(138,142,155,.3);color:#191b23}.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_{color:#fff;background-color:transparent}.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_.__active_1gip4_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1gip4_gg_._neighborLocation_right_1gip4_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_{border-radius:0;margin-left:-1px}.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-danger_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-info_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-success_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-warning_1gip4_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-invert_1gip4_gg_{border-left-color:rgba(0,0,0,.5)}.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-danger_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-info_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-success_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-warning_1gip4_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-invert_1gip4_gg_{border-left-color:rgba(0,0,0,.5)}.___SSpin_1gip4_gg_{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.___SInner_1gip4_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SInner_1gip4_gg_.__loading_1gip4_gg_{visibility:hidden}.___SText_1gip4_gg_{display:inline-flex}.___SText_1gip4_gg_._size_m_1gip4_gg_{margin-left:8px;margin-right:8px;line-height:1.42}.___SText_1gip4_gg_._size_l_1gip4_gg_{margin-left:12px;margin-right:12px;line-height:1.5}.___SAddon_1gip4_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_1gip4_gg_._size_m_1gip4_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1gip4_gg_._size_m_1gip4_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1gip4_gg_._size_m_1gip4_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_1gip4_gg_._size_l_1gip4_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1gip4_gg_._size_l_1gip4_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1gip4_gg_._size_l_1gip4_gg_:only-child{margin-left:-4px;margin-right:-4px}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
57
|
, "1cgyyq3_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
package/lib/es6/Button.js
CHANGED
|
@@ -30,7 +30,7 @@ var style = (
|
|
|
30
30
|
/*__reshadow_css_start__*/
|
|
31
31
|
_sstyled.insert(
|
|
32
32
|
/*__inner_css_start__*/
|
|
33
|
-
".___SButton_1gip4_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:Inter,sans-serif;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:500;color:#6c6e79}.___SButton_1gip4_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_1gip4_gg_:active,.___SButton_1gip4_gg_:focus,.___SButton_1gip4_gg_:hover{outline:0;text-decoration:none}.___SButton_1gip4_gg_.__disabled_1gip4_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SButton_1gip4_gg_.__keyboardFocused_1gip4_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2);z-index:1}.___SButton_1gip4_gg_._size_m_1gip4_gg_{height:28px;min-width:28px;border-radius:6px;font-size:14px}.___SButton_1gip4_gg_._size_l_1gip4_gg_{height:40px;min-width:40px;border-radius:6px;font-size:16px}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_{color:#ffffff;background-color:#008ff8}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:hover{background-color:#006dca}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_.__active_1gip4_gg_{background-color:#044792}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_{color:#ffffff;background-color:#009f81}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:hover{background-color:#007c65}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_.__active_1gip4_gg_{background-color:#055345}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_{background-color:#
|
|
33
|
+
".___SButton_1gip4_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:Inter,sans-serif;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:500;color:#6c6e79}.___SButton_1gip4_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_1gip4_gg_:active,.___SButton_1gip4_gg_:focus,.___SButton_1gip4_gg_:hover{outline:0;text-decoration:none}.___SButton_1gip4_gg_.__disabled_1gip4_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SButton_1gip4_gg_.__keyboardFocused_1gip4_gg_{box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2);z-index:1}.___SButton_1gip4_gg_._size_m_1gip4_gg_{height:28px;min-width:28px;border-radius:6px;font-size:14px}.___SButton_1gip4_gg_._size_l_1gip4_gg_{height:40px;min-width:40px;border-radius:6px;font-size:16px}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_{color:#ffffff;background-color:#008ff8}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:hover{background-color:#006dca}.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-info_1gip4_gg_.__active_1gip4_gg_{background-color:#044792}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_{color:#ffffff;background-color:#009f81}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:hover{background-color:#007c65}.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-success_1gip4_gg_.__active_1gip4_gg_{background-color:#055345}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_{background-color:#ff642d;color:#ffffff}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_:hover{background-color:#c33909}.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-warning_1gip4_gg_.__active_1gip4_gg_{background-color:#8b1500}.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_{background-color:#ff4953;color:#ffffff}.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_:hover{background-color:#d1002f}.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-danger_1gip4_gg_.__active_1gip4_gg_{background-color:#8e0016}.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_{background-color:#fff;color:#191b23}.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_:hover{background-color:#f4f5f9}.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_primary-invert_1gip4_gg_.__active_1gip4_gg_{background-color:#e0e1e9}.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_{color:#6c6e79;border-color:#c4c7cf;background-color:rgba(138,142,155,.1)}.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_:hover{background-color:rgba(138,142,155,.2);color:#191b23}.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_secondary-muted_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(138,142,155,.3);color:#191b23}.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_{background-color:rgba(0,143,248,.05);color:#008ff8;border-color:#008ff8}.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_:hover{background-color:rgba(0,109,202,.2)}.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_secondary-info_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(0,109,202,.3)}.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_{background-color:hsla(0,0%,100%,.05);color:#fff;border-color:#fff}.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_secondary-invert_1gip4_gg_.__active_1gip4_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_{color:#006dca;background-color:transparent}.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_:hover{background-color:rgba(0,143,248,.2)}.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_tertiary-info_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(0,143,248,.3)}.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_{color:#6c6e79;background-color:transparent}.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_:hover{background-color:rgba(138,142,155,.2);color:#191b23}.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_tertiary-muted_1gip4_gg_.__active_1gip4_gg_{background-color:rgba(138,142,155,.3);color:#191b23}.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_{color:#fff;background-color:transparent}.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_:hover{background-color:hsla(0,0%,100%,.1)}.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_:active,.___SButton_1gip4_gg_._theme_tertiary-invert_1gip4_gg_.__active_1gip4_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1gip4_gg_._neighborLocation_right_1gip4_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_{border-radius:0;margin-left:-1px}.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-danger_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-info_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-success_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-warning_1gip4_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1gip4_gg_._neighborLocation_both_1gip4_gg_._theme_primary-invert_1gip4_gg_{border-left-color:rgba(0,0,0,.5)}.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-danger_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-info_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-success_1gip4_gg_,.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-warning_1gip4_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1gip4_gg_._neighborLocation_left_1gip4_gg_._theme_primary-invert_1gip4_gg_{border-left-color:rgba(0,0,0,.5)}.___SSpin_1gip4_gg_{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.___SInner_1gip4_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SInner_1gip4_gg_.__loading_1gip4_gg_{visibility:hidden}.___SText_1gip4_gg_{display:inline-flex}.___SText_1gip4_gg_._size_m_1gip4_gg_{margin-left:8px;margin-right:8px;line-height:1.42}.___SText_1gip4_gg_._size_l_1gip4_gg_{margin-left:12px;margin-right:12px;line-height:1.5}.___SAddon_1gip4_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_1gip4_gg_._size_m_1gip4_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1gip4_gg_._size_m_1gip4_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1gip4_gg_._size_m_1gip4_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_1gip4_gg_._size_l_1gip4_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1gip4_gg_._size_l_1gip4_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1gip4_gg_._size_l_1gip4_gg_:only-child{margin-left:-4px;margin-right:-4px}"
|
|
34
34
|
/*__inner_css_end__*/
|
|
35
35
|
, "1cgyyq3_gg_")
|
|
36
36
|
/*__reshadow_css_end__*/
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/button",
|
|
3
3
|
"description": "SEMRush Button Component",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.7",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
|
-
"author": "
|
|
9
|
+
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "build --source=js",
|