@woosmap/ui 4.36.5 → 4.38.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 +1 -1
- package/src/components/Icon/Icon.js +2 -0
- package/src/icons/automotive.svg +1 -0
- package/src/styles/website/input.styl +68 -30
- package/.idea/encodings.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -18
- package/.idea/inspectionProfiles/profiles_settings.xml +0 -6
- package/.idea/misc.xml +0 -4
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/ui.iml +0 -15
- package/.idea/vcs.xml +0 -6
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import cl from 'classnames';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { ReactComponent as Autocomplete } from '../../icons/autocomplete.svg';
|
|
5
5
|
import { ReactComponent as AutocompleteCheck } from '../../icons/autocomplete-check.svg';
|
|
6
|
+
import { ReactComponent as Automotive } from '../../icons/automotive.svg';
|
|
6
7
|
import { ReactComponent as Buildings } from '../../icons/buildings.svg';
|
|
7
8
|
import { ReactComponent as Battery } from '../../icons/battery.svg';
|
|
8
9
|
import { ReactComponent as Blog } from '../../icons/blog.svg';
|
|
@@ -316,6 +317,7 @@ import { ReactComponent as IndoorWorkplace } from '../../icons/indoor-workplace.
|
|
|
316
317
|
const WebsiteIcons = {
|
|
317
318
|
autocomplete: Autocomplete,
|
|
318
319
|
'autocomplete-check': AutocompleteCheck,
|
|
320
|
+
automotive: Automotive,
|
|
319
321
|
battery: Battery,
|
|
320
322
|
blog: Blog,
|
|
321
323
|
book: Book,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="m57.268,28.566c-1.891,0-3.429,1.538-3.429,3.429s1.538,3.429,3.429,3.429h5.385c1.891,0,3.429-1.538,3.429-3.429s-1.538-3.429-3.429-3.429h-5.385Zm5.813,3.429c0,.236-.192.429-.429.429h-5.385c-.236,0-.429-.192-.429-.429s.192-.429.429-.429h5.385c.236,0,.429.192.429.429Z"/><path d="m34.068,47.674c2.655,0,4.844-2.036,5.088-4.629h21.688c.244,2.593,2.433,4.629,5.088,4.629,2.818,0,5.11-2.293,5.11-5.11v-16.491c0-1.736-.41-3.476-1.186-5.03l-4.229-8.473c-1.003-2.01-3.022-3.259-5.268-3.259h-20.718c-2.246,0-4.265,1.249-5.268,3.259l-4.229,8.473c-.775,1.555-1.186,3.294-1.186,5.03v16.491c0,2.817,2.292,5.11,5.11,5.11Zm-2.11-21.602c0-1.273.301-2.55.87-3.69l4.229-8.473c.492-.986,1.482-1.599,2.583-1.599h20.718c1.102,0,2.092.612,2.583,1.599l4.229,8.473c.569,1.141.87,2.417.87,3.69v16.491c0,1.164-.947,2.11-2.11,2.11s-2.11-.946-2.11-2.11v-1.019c0-.828-.671-1.5-1.5-1.5h-24.643c-.829,0-1.5.672-1.5,1.5v1.019c0,1.164-.947,2.11-2.11,2.11s-2.11-.946-2.11-2.11v-16.491Z"/><path d="m37.347,35.424h5.385c1.891,0,3.429-1.538,3.429-3.429s-1.538-3.429-3.429-3.429h-5.385c-1.891,0-3.429,1.538-3.429,3.429s1.538,3.429,3.429,3.429Zm0-3.857h5.385c.236,0,.429.192.429.429s-.192.429-.429.429h-5.385c-.236,0-.429-.192-.429-.429s.192-.429.429-.429Z"/><path d="m37.84,25.618h24.249c.784,0,1.507-.393,1.933-1.052.426-.658.488-1.479.167-2.194l-2.782-6.188c-.511-1.137-1.646-1.871-2.893-1.871h-17.097c-1.247,0-2.382.734-2.893,1.871l-2.782,6.188c-.322.716-.259,1.536.167,2.194.426.658,1.148,1.052,1.933,1.052Zm3.419-8.204c.028-.062.089-.102.157-.102h17.097c.067,0,.129.04.157.102l2.34,5.204h-22.09l2.34-5.204Z"/><path d="m84.92,53.341c-2.699-2.697-7.089-2.697-9.787,0l-8.932,8.933c-.479-3.352-3.361-5.939-6.842-5.939h-17.452c-3.279,0-6.45,1.182-8.929,3.328l-6.876,5.95-1.962-3.154-11.655,7.249,14.317,23.021,11.654-7.249-1.461-2.349h19.093c5.693,0,11.044-2.217,15.069-6.242l13.761-13.761c2.698-2.698,2.698-7.089,0-9.787Zm-57.154,35.255l-11.148-17.925,6.56-4.079,11.148,17.925-6.56,4.079Zm55.033-27.589l-13.761,13.761c-3.458,3.459-8.057,5.363-12.948,5.363h-20.959l-7.425-11.939,7.235-6.261c1.935-1.674,4.409-2.596,6.966-2.596h17.452c2.162,0,3.92,1.759,3.92,3.921s-1.758,3.92-3.92,3.92h-10.875v3h10.875c.307,0,.608-.027.905-.066v.066c1.469,0,2.85-.572,3.888-1.61l13.103-13.104c1.528-1.526,4.016-1.528,5.544,0,1.528,1.528,1.528,4.017,0,5.545Z"/></svg>
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
.input
|
|
2
2
|
width 100%
|
|
3
3
|
font-size 1.3rem
|
|
4
|
+
&:focus
|
|
5
|
+
.input__item
|
|
6
|
+
&:not([type=button]):not([type=checkbox]):not([type=radio])
|
|
7
|
+
border-color $secondary
|
|
8
|
+
.icon
|
|
9
|
+
transition none
|
|
10
|
+
stroke $secondary
|
|
4
11
|
&__container
|
|
5
12
|
position relative
|
|
6
13
|
&__label
|
|
@@ -19,53 +26,83 @@
|
|
|
19
26
|
&--iconed
|
|
20
27
|
&--password-toggle
|
|
21
28
|
.icon
|
|
22
|
-
|
|
29
|
+
stroke $inputBorderColor
|
|
30
|
+
fill none
|
|
23
31
|
position absolute
|
|
24
32
|
left 1rem
|
|
25
|
-
top .
|
|
26
|
-
|
|
27
|
-
trans()
|
|
28
|
-
left unset
|
|
29
|
-
right 1rem
|
|
30
|
-
cursor pointer
|
|
31
|
-
&:hover
|
|
32
|
-
&.showed
|
|
33
|
-
fill $dark60
|
|
33
|
+
top .8rem
|
|
34
|
+
stroke-width .14rem
|
|
34
35
|
&.input--large
|
|
35
36
|
.icon
|
|
36
37
|
left 1.2rem
|
|
37
38
|
top 1rem
|
|
38
|
-
&--password-toggle
|
|
39
|
-
left unset
|
|
40
|
-
right 1.2rem
|
|
41
39
|
&.input--filter
|
|
42
40
|
.icon
|
|
43
41
|
left -.4rem
|
|
44
42
|
top .7rem
|
|
45
|
-
&--password-toggle
|
|
46
|
-
left unset
|
|
47
|
-
right -.4rem
|
|
48
43
|
&.input--large
|
|
49
44
|
.icon
|
|
50
45
|
left -.4rem
|
|
51
46
|
top 1.1rem
|
|
52
|
-
&--password-toggle
|
|
53
|
-
left unset
|
|
54
|
-
right -.4rem
|
|
55
47
|
&.input--small
|
|
56
48
|
.icon
|
|
57
49
|
left -.4rem
|
|
58
50
|
top .3rem
|
|
59
|
-
&--password-toggle
|
|
60
|
-
left unset
|
|
61
|
-
right -.4rem
|
|
62
51
|
&.input--small
|
|
63
52
|
.icon
|
|
64
53
|
left .8rem
|
|
65
54
|
top .4rem
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
55
|
+
&--iconed
|
|
56
|
+
&.input--password-toggle
|
|
57
|
+
.password-toggle
|
|
58
|
+
position absolute
|
|
59
|
+
right 1rem
|
|
60
|
+
top .7rem
|
|
61
|
+
.icon
|
|
62
|
+
position relative
|
|
63
|
+
top auto
|
|
64
|
+
left auto
|
|
65
|
+
&.input--large
|
|
66
|
+
.password-toggle
|
|
67
|
+
right 1.2rem
|
|
68
|
+
top 1rem
|
|
69
|
+
.icon
|
|
70
|
+
position relative
|
|
71
|
+
top auto
|
|
72
|
+
left auto
|
|
73
|
+
&.input--small
|
|
74
|
+
.password-toggle
|
|
75
|
+
right .8rem
|
|
76
|
+
top .4rem
|
|
77
|
+
.icon
|
|
78
|
+
position relative
|
|
79
|
+
top auto
|
|
80
|
+
left auto
|
|
81
|
+
&.input--filter
|
|
82
|
+
.password-toggle
|
|
83
|
+
right -.4rem
|
|
84
|
+
top .7rem
|
|
85
|
+
.icon
|
|
86
|
+
position relative
|
|
87
|
+
top auto
|
|
88
|
+
left auto
|
|
89
|
+
&.input--large
|
|
90
|
+
.password-toggle
|
|
91
|
+
right -.4rem
|
|
92
|
+
top 1.1rem
|
|
93
|
+
.icon
|
|
94
|
+
position relative
|
|
95
|
+
top auto
|
|
96
|
+
left auto
|
|
97
|
+
&.input--small
|
|
98
|
+
.password-toggle
|
|
99
|
+
right -.4rem
|
|
100
|
+
top .3rem
|
|
101
|
+
.icon
|
|
102
|
+
position relative
|
|
103
|
+
top auto
|
|
104
|
+
left auto
|
|
105
|
+
|
|
69
106
|
&--checkbox
|
|
70
107
|
&--radio
|
|
71
108
|
position relative
|
|
@@ -118,28 +155,30 @@
|
|
|
118
155
|
&:focus
|
|
119
156
|
border-color $secondary
|
|
120
157
|
.input--iconed &
|
|
121
|
-
padding-left 4rem
|
|
122
158
|
.input--password-toggle &
|
|
123
|
-
padding-
|
|
159
|
+
padding-left 4rem
|
|
124
160
|
.input--large &
|
|
125
161
|
font-size $inputFontSizeLarge
|
|
126
162
|
line-height $inputLineHeightLarge
|
|
163
|
+
.input--password-toggle.input--large &
|
|
127
164
|
.input--iconed.input--large &
|
|
128
165
|
padding-left 4.6rem
|
|
129
|
-
.input--password-toggle
|
|
130
|
-
padding-right 4.6rem
|
|
166
|
+
.input--filter.input--password-toggle &
|
|
131
167
|
.input--filter.input--iconed &
|
|
132
168
|
padding-left 2.6rem
|
|
133
169
|
padding-bottom 0
|
|
170
|
+
.input--filter.input--password-toggle.input--large &
|
|
134
171
|
.input--filter.input--iconed.input--large &
|
|
135
172
|
padding-left 2.8rem
|
|
136
173
|
padding-bottom 0
|
|
174
|
+
.input--filter.input--password-toggle.input--small &
|
|
137
175
|
.input--filter.input--iconed.input--small &
|
|
138
176
|
padding-left 2.4rem
|
|
139
177
|
padding-bottom .4rem
|
|
140
178
|
.input--small &
|
|
141
179
|
font-size $inputFontSizeSmall
|
|
142
180
|
min-width $inputHeightSmall
|
|
181
|
+
.input--password-toggle.input--small &
|
|
143
182
|
.input--iconed.input--small &
|
|
144
183
|
padding-left 3.4rem
|
|
145
184
|
.input--noborder &
|
|
@@ -148,7 +187,6 @@
|
|
|
148
187
|
border-color $error
|
|
149
188
|
&:focus
|
|
150
189
|
border-color $secondary
|
|
151
|
-
|
|
152
190
|
&[type=textarea]
|
|
153
191
|
padding round($padding / 1.7) $padding
|
|
154
192
|
height $inputHeight * 2
|
package/.idea/encodings.xml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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>
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
package/.idea/prettier.xml
DELETED
package/.idea/ui.iml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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>
|