@woosmap/ui 4.15.0 → 4.16.1

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.
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,18 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ <inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
6
+ <option name="ignoredPackages">
7
+ <value>
8
+ <list size="4">
9
+ <item index="0" class="java.lang.String" itemvalue="Fabric" />
10
+ <item index="1" class="java.lang.String" itemvalue="PyYAML" />
11
+ <item index="2" class="java.lang.String" itemvalue="Jinja2" />
12
+ <item index="3" class="java.lang.String" itemvalue="github3.py" />
13
+ </list>
14
+ </value>
15
+ </option>
16
+ </inspection_tool>
17
+ </profile>
18
+ </component>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
package/.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
4
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/ui.iml" filepath="$PROJECT_DIR$/.idea/ui.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myRunOnReformat" value="true" />
5
+ </component>
6
+ </project>
package/.idea/ui.iml ADDED
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ <component name="TemplatesService">
9
+ <option name="TEMPLATE_FOLDERS">
10
+ <list>
11
+ <option value="$MODULE_DIR$/node_modules/@storybook/core/dist/server/templates" />
12
+ </list>
13
+ </option>
14
+ </component>
15
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.15.0",
3
+ "version": "4.16.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -135,6 +135,7 @@ import { ReactComponent as AssetAdd } from '../../icons/asset-add.svg';
135
135
  import { ReactComponent as Bank } from '../../icons/bank.svg';
136
136
  import { ReactComponent as Beaker } from '../../icons/beaker.svg';
137
137
  import { ReactComponent as Bell } from '../../icons/bell.svg';
138
+ import { ReactComponent as BigCommerce } from '../../icons/big-commerce.svg';
138
139
  import { ReactComponent as Bookmark } from '../../icons/bookmark.svg';
139
140
  import { ReactComponent as Bulb } from '../../icons/bulb.svg';
140
141
  import { ReactComponent as CaretBotton } from '../../icons/caret-bottom.svg';
@@ -484,6 +485,7 @@ const ConsoleIcons = {
484
485
  bank: Bank,
485
486
  beaker: Beaker,
486
487
  bell: Bell,
488
+ 'big-commerce': BigCommerce,
487
489
  bookmark: Bookmark,
488
490
  bulb: Bulb,
489
491
  'caret-bottom': CaretBotton,
@@ -73,7 +73,24 @@ Label.defaultProps = {
73
73
  Label.propTypes = {
74
74
  label: PropTypes.string,
75
75
  testId: PropTypes.string,
76
- color: PropTypes.oneOf(['bleu', 'mauve', 'green', 'grey', 'orange', 'red', 'dark', 'white', undefined, '']),
76
+ color: PropTypes.oneOf([
77
+ 'blue',
78
+ 'lightblue',
79
+ 'mauve',
80
+ 'lightmauve',
81
+ 'green',
82
+ 'lightgreen',
83
+ 'grey',
84
+ 'lightgrey',
85
+ 'orange',
86
+ 'lightorange',
87
+ 'red',
88
+ 'lightred',
89
+ 'dark',
90
+ 'white',
91
+ undefined,
92
+ '',
93
+ ]),
77
94
  className: PropTypes.string,
78
95
  product: PropTypes.oneOf([
79
96
  'localities',
@@ -100,22 +100,52 @@
100
100
  background-color $co-owner
101
101
  &--blue
102
102
  background-color $labelBlue
103
+ &--lightblue
104
+ background-color $labelLightBlue
103
105
  &--mauve
104
106
  background-color $labelMauve
107
+ &--lightmauve
108
+ background-color $labelLightMauve
105
109
  &--green
106
110
  background-color $labelGreen
111
+ &--lightgreen
112
+ background-color $labelLightGreen
107
113
  &--grey
108
114
  background-color $labelGrey
115
+ &--lightgrey
116
+ background-color $labelLightGrey
109
117
  &--orange
110
118
  background-color $labelOrange
119
+ &--lightorange
120
+ background-color $labelLightOrange
111
121
  &--red
112
- background-color $labelRed
122
+ ackground-color $labelRed
123
+ &--lightred
124
+ background-color $labelLightRed
113
125
  &--dark
114
126
  background-color $secondary
127
+ &--lightred
128
+ &--lightorange
129
+ &--lightgrey
130
+ &--lightgreen
131
+ &--lightmauve
132
+ &--lightblue
133
+ color $secondary
134
+ text-shadow none
135
+ .btn
136
+ .icon
137
+ fill $secondary70
138
+ &:hover
139
+ .icon
140
+ fill $secondary70 !important
115
141
  &--white
116
142
  background-color $light
117
143
  color $secondary
118
144
  text-shadow none
119
145
  border .1rem solid $borderColor
120
- .icon
121
- fill $secondary40
146
+ .btn
147
+ .icon
148
+ fill $secondary40
149
+ &:hover
150
+ .icon
151
+ fill $secondary40 !important
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m12.472,13.215h2.213c.63,0,1.028-.346,1.028-.905,0-.525-.399-.905-1.028-.905h-2.213c-.073,0-.136.063-.136.126v1.553c.01.073.063.126.136.126v.005Zm0,3.578h2.287c.703,0,1.122-.356,1.122-.986,0-.548-.399-.986-1.122-.986h-2.287c-.073,0-.136.063-.136.126v1.71c.01.084.063.136.136.136ZM20.57,3.27l-6.546,6.526h1.07c1.668,0,2.654,1.049,2.654,2.193,0,.905-.609,1.563-1.261,1.857-.105.042-.105.192.01.231.755.293,1.29,1.08,1.29,2.004,0,1.301-.871,2.339-2.56,2.339h-4.634c-.073,0-.136-.063-.136-.126v-4.941l-7.186,7.154c-.094.094-.032.262.105.262h17.278c.063,0,.115-.055.115-.115V3.365c.032-.115-.115-.178-.199-.094h0Z"/></svg>
@@ -145,12 +145,23 @@ $progressRed = #FF3260
145
145
 
146
146
 
147
147
  // Labels
148
- $labelBlue = #52a6e2
148
+ $labelBlue = #c6e5f4
149
+ $labelLightBlue = #52a6e2
150
+
149
151
  $labelMauve = #7d74c7
152
+ $labelLightMauve = #dbd9ff
153
+
150
154
  $labelGreen = #47bb90
155
+ $labelLightGreen = #c5f9e4
156
+
151
157
  $labelGrey = #7a86a7
158
+ $labelLightGrey = #dee7fc
159
+
152
160
  $labelOrange = #dc9d40
161
+ $labelLightOrange = #f4d6ae
162
+
153
163
  $labelRed = #dc4e7e
164
+ $labelLightRed = #f7c6d9
154
165
 
155
166
  // Metric
156
167
  $metricsProjects = rgba(71, 72, 107, 1) // #47486b