@woosmap/ui 4.45.0 → 4.46.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.45.0",
3
+ "version": "4.46.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -66,29 +66,32 @@ export const Default = Template.bind({});
66
66
  Default.args = {};
67
67
 
68
68
  const SimpleCardTemplate = () => (
69
- <SimpleCard isDemo title="My hotels in France" subtitle="18 assets - 12K queries">
70
- <Tooltip text="Localities" direction="n" product="LOCALITIES">
71
- <Label round size="nano" label="L" product="LOCALITIES" />
72
- </Tooltip>
73
- <Tooltip text="Stores" direction="n" product="STORES">
74
- <Label round size="nano" label="S" tooltip="Stores" product="STORES" />
75
- </Tooltip>
76
- <Tooltip text="Geolocation" direction="n" product="GEOLOCATION">
77
- <Label round size="nano" label="G" tooltip="Geolocation" product="GEOLOCATION" />
78
- </Tooltip>
79
- <Tooltip text="Distance" direction="n" product="DISTANCE">
80
- <Label round size="nano" label="D" tooltip="Distance" product="DISTANCE" />
81
- </Tooltip>
82
- <Tooltip text="Map" direction="n" product="MAP">
83
- <Label round size="nano" label="M" tooltip="Map" product="MAP" />
84
- </Tooltip>
85
- <Tooltip text="Mapping" direction="n" product="STORES">
86
- <Label round size="nano" label="Mg" tooltip="Mapping" product="STORES" />
87
- </Tooltip>
88
- <Tooltip text="Merchant" direction="n" product="MERCHANTS">
89
- <Label round size="nano" label="Me" tooltip="Merchant" product="MERCHANTS" />
90
- </Tooltip>
91
- </SimpleCard>
69
+ <>
70
+ <Button className="btn--demo mb--20" icon="play" label="Preview Demo" />
71
+ <SimpleCard isDemo title="My hotels in France" subtitle="18 assets - 12K queries">
72
+ <Tooltip text="Localities" direction="n" product="LOCALITIES">
73
+ <Label round size="nano" label="L" product="LOCALITIES" />
74
+ </Tooltip>
75
+ <Tooltip text="Stores" direction="n" product="STORES">
76
+ <Label round size="nano" label="S" tooltip="Stores" product="STORES" />
77
+ </Tooltip>
78
+ <Tooltip text="Geolocation" direction="n" product="GEOLOCATION">
79
+ <Label round size="nano" label="G" tooltip="Geolocation" product="GEOLOCATION" />
80
+ </Tooltip>
81
+ <Tooltip text="Distance" direction="n" product="DISTANCE">
82
+ <Label round size="nano" label="D" tooltip="Distance" product="DISTANCE" />
83
+ </Tooltip>
84
+ <Tooltip text="Map" direction="n" product="MAP">
85
+ <Label round size="nano" label="M" tooltip="Map" product="MAP" />
86
+ </Tooltip>
87
+ <Tooltip text="Mapping" direction="n" product="STORES">
88
+ <Label round size="nano" label="Mg" tooltip="Mapping" product="STORES" />
89
+ </Tooltip>
90
+ <Tooltip text="Merchant" direction="n" product="MERCHANTS">
91
+ <Label round size="nano" label="Me" tooltip="Merchant" product="MERCHANTS" />
92
+ </Tooltip>
93
+ </SimpleCard>
94
+ </>
92
95
  );
93
96
  export const Simple = SimpleCardTemplate.bind({});
94
97
  Simple.args = {};
@@ -24,9 +24,9 @@
24
24
  box-shadow none
25
25
  border .1rem solid $secondary60
26
26
  &--demo
27
- background-color rgba($demo, .20)
27
+ background-color $demoLight
28
28
  &.active
29
- background-color rgba($demo, .35)
29
+ background-color $demoActive
30
30
  box-shadow inset 0 0 .1rem $dark60
31
31
  .row-inactive &
32
32
  &.disabled
@@ -109,7 +109,9 @@ $favorite = #ffc200
109
109
 
110
110
  $modalBg = rgba(0, 11, 31, .85)
111
111
 
112
- $demo = #6f5dff
112
+ $demo = #628a7e
113
+ $demoLight = #deece8
114
+ $demoActive = #d9f1ea
113
115
 
114
116
  // Last activity
115
117
  $lastActivityUser = #FDA78D
@@ -81,7 +81,9 @@ $buttonHover = $success2
81
81
  $buttonBorderColor = #454545
82
82
  $borderColor = rgba($secondary, .24)
83
83
 
84
- $demo = #6f5dff
84
+ $demo = #628a7e
85
+ $demoLight = #deece8
86
+ $demoActive = #d9f1ea
85
87
 
86
88
  $special = #FF368B
87
89
  $special2 = #ff3260