@woosmap/ui 4.54.0 → 4.56.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.54.0",
3
+ "version": "4.56.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -24,7 +24,7 @@ const Template = (args) => {
24
24
  <Button icon="add" />
25
25
  <Button label={label} />
26
26
  <Button label={label} icon="marker" iconRight />
27
- <Button label={label} isLoading />
27
+ <Button label={label} className="btn--demo" isLoading />
28
28
  <Button label={label} disabled />
29
29
  </div>
30
30
  <div className="flex mbi">
@@ -642,6 +642,10 @@
642
642
  &:disabled
643
643
  &:hover
644
644
  background-color $demo
645
+ &.btn--loading
646
+ &:hover
647
+ background-color $demo !important
648
+
645
649
  &--small
646
650
  buttonSmall()
647
651
  &.btn--group
@@ -48,10 +48,11 @@ box()
48
48
  hover()
49
49
  &:not(.btn--group):not(.btn--switch)
50
50
  &:hover
51
- background-color $buttonHover
52
- color $light
53
- .icon
54
- stroke $light
51
+ &:not(:disabled)
52
+ background-color $buttonHover
53
+ color $light
54
+ .icon
55
+ stroke $light
55
56
  disableHoverEffect()
56
57
  &:hover
57
58
  background-color $primary