@woosmap/ui 4.35.0 → 4.36.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/.idea/encodings.xml +6 -0
- package/.idea/inspectionProfiles/Project_Default.xml +18 -0
- package/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- package/.idea/misc.xml +4 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +6 -0
- package/.idea/ui.iml +15 -0
- package/.idea/vcs.xml +6 -0
- package/package.json +1 -1
- package/src/components/Button/Button.js +9 -6
- package/src/components/Button/Button.stories.js +3 -3
- package/src/components/Button/ButtonSwitch.js +1 -1
- package/src/components/Card/Card.js +1 -1
- package/src/components/Card/Card.styl +2 -2
- package/src/components/Card/SimpleCard.js +2 -0
- package/src/components/Demo/skeletondemo.styl +1 -1
- package/src/components/Dropdown/Dropdown.js +1 -1
- package/src/components/Flash/Flash.js +1 -1
- package/src/components/Flash/Flash.stories.js +3 -3
- package/src/components/Flash/Flash.styl +7 -7
- package/src/components/Icon/Icon.js +25 -95
- package/src/components/Icon/Icon.stories.js +2 -2
- package/src/components/Icon/Icon.test.js +3 -3
- package/src/components/Icon/icon-story.styl +13 -1
- package/src/components/Input/Input.js +24 -8
- package/src/components/Input/Input.stories.js +2 -2
- package/src/components/Label/Label.js +3 -2
- package/src/components/Label/Label.styl +5 -5
- package/src/components/Modal/Modal.styl +1 -1
- package/src/components/ServiceMessage/ServiceMessage.styl +2 -2
- package/src/components/SnackBar/SnackBar.styl +1 -1
- package/src/components/Stepper/Stepper.styl +1 -1
- package/src/components/Tab/Tab.stories.js +1 -1
- package/src/icons/add-circle.svg +1 -1
- package/src/icons/add.svg +1 -1
- package/src/icons/admin-key.svg +1 -1
- package/src/icons/admin-tool.svg +1 -1
- package/src/icons/administration-tool.svg +1 -1
- package/src/icons/agenda.svg +1 -1
- package/src/icons/alphabetical-order-reversed.svg +1 -1
- package/src/icons/alphabetical-order.svg +1 -1
- package/src/icons/arrow-bottom.svg +1 -1
- package/src/icons/arrow-left.svg +1 -1
- package/src/icons/arrow-right.svg +1 -1
- package/src/icons/arrow-top.svg +1 -1
- package/src/icons/asset.svg +1 -1
- package/src/icons/big-commerce.svg +1 -1
- package/src/icons/bulb.svg +1 -1
- package/src/icons/caret-bottom.svg +1 -1
- package/src/icons/caret-left.svg +1 -1
- package/src/icons/caret-right.svg +1 -1
- package/src/icons/caret-top.svg +1 -1
- package/src/icons/charts.svg +1 -1
- package/src/icons/check.svg +1 -1
- package/src/icons/clock-reversed.svg +1 -1
- package/src/icons/clock.svg +1 -1
- package/src/icons/close.svg +1 -1
- package/src/icons/code.svg +1 -1
- package/src/icons/company.svg +1 -1
- package/src/icons/copy.svg +1 -1
- package/src/icons/dashboard.svg +1 -1
- package/src/icons/delete.svg +1 -1
- package/src/icons/documentation.svg +1 -1
- package/src/icons/dollar.svg +1 -1
- package/src/icons/dot-fill.svg +1 -1
- package/src/icons/dot.svg +1 -1
- package/src/icons/edit.svg +1 -1
- package/src/icons/email.svg +1 -1
- package/src/icons/expand.svg +1 -1
- package/src/icons/export.svg +1 -1
- package/src/icons/eye-crossed-out.svg +1 -1
- package/src/icons/eye.svg +1 -1
- package/src/icons/flag.svg +1 -1
- package/src/icons/forbidden.svg +1 -1
- package/src/icons/globe.svg +1 -1
- package/src/icons/hourglass.svg +1 -1
- package/src/icons/import.svg +1 -1
- package/src/icons/indoor-3dobject_chair.svg +1 -1
- package/src/icons/indoor-3dobject_closet.svg +1 -1
- package/src/icons/indoor-3dobject_hanger.svg +1 -1
- package/src/icons/indoor-3dobject_rack.svg +1 -1
- package/src/icons/indoor-3dobject_sofa.svg +1 -1
- package/src/icons/indoor-3dobject_table.svg +1 -1
- package/src/icons/indoor-accessories.svg +1 -1
- package/src/icons/indoor-administration.svg +1 -1
- package/src/icons/indoor-airline_transfers.svg +1 -1
- package/src/icons/indoor-airlines_counter.svg +1 -1
- package/src/icons/indoor-alcohol.svg +1 -1
- package/src/icons/indoor-amenity.svg +1 -1
- package/src/icons/indoor-arrival.svg +1 -0
- package/src/icons/indoor-art.svg +1 -1
- package/src/icons/indoor-assembly_point.svg +1 -1
- package/src/icons/indoor-atm.svg +1 -1
- package/src/icons/indoor-baggage_belt.svg +1 -1
- package/src/icons/indoor-baggage_claim.svg +1 -1
- package/src/icons/indoor-baggage_secure_wrap.svg +1 -1
- package/src/icons/indoor-baggage_service.svg +1 -1
- package/src/icons/indoor-bakery.svg +1 -1
- package/src/icons/indoor-bank.svg +1 -1
- package/src/icons/indoor-bar.svg +1 -1
- package/src/icons/indoor-barrier.svg +1 -1
- package/src/icons/indoor-beauty.svg +1 -1
- package/src/icons/indoor-bench.svg +1 -1
- package/src/icons/indoor-building.svg +1 -1
- package/src/icons/indoor-bureau_de_change.svg +1 -1
- package/src/icons/indoor-cafe.svg +1 -1
- package/src/icons/indoor-car_rental.svg +1 -1
- package/src/icons/indoor-cash_register.svg +1 -1
- package/src/icons/indoor-checkin.svg +1 -1
- package/src/icons/indoor-class.svg +1 -1
- package/src/icons/indoor-clothes.svg +1 -1
- package/src/icons/indoor-convinience_store.svg +1 -1
- package/src/icons/indoor-cosmetics.svg +1 -1
- package/src/icons/indoor-default.svg +1 -1
- package/src/icons/indoor-defibrillator.svg +1 -0
- package/src/icons/indoor-department_store.svg +1 -1
- package/src/icons/indoor-device_charging_station.svg +1 -1
- package/src/icons/indoor-dining.svg +1 -1
- package/src/icons/indoor-disability.svg +1 -1
- package/src/icons/indoor-doctors.svg +1 -1
- package/src/icons/indoor-door.svg +1 -1
- package/src/icons/indoor-drinking_water.svg +1 -1
- package/src/icons/indoor-duty_free.svg +1 -1
- package/src/icons/indoor-electronics.svg +1 -1
- package/src/icons/indoor-elevator.svg +1 -1
- package/src/icons/indoor-entertainment.svg +1 -1
- package/src/icons/indoor-entrance.svg +1 -1
- package/src/icons/indoor-escalator.svg +1 -1
- package/src/icons/indoor-exit-emergency.svg +1 -0
- package/src/icons/indoor-fashion_accessories.svg +1 -1
- package/src/icons/indoor-fast_food.svg +1 -1
- package/src/icons/indoor-fire_extinguisher.svg +1 -1
- package/src/icons/indoor-flight_ticket.svg +1 -1
- package/src/icons/indoor-florist.svg +1 -1
- package/src/icons/indoor-food_court.svg +1 -1
- package/src/icons/indoor-gate.svg +1 -1
- package/src/icons/indoor-gift.svg +1 -1
- package/src/icons/indoor-information.svg +1 -1
- package/src/icons/indoor-interior_decoration.svg +1 -1
- package/src/icons/indoor-jewelry.svg +1 -1
- package/src/icons/indoor-kitchen.svg +1 -1
- package/src/icons/indoor-laboratory.svg +1 -1
- package/src/icons/indoor-level.svg +1 -1
- package/src/icons/indoor-lounge.svg +1 -1
- package/src/icons/indoor-meeting.svg +1 -1
- package/src/icons/indoor-newsagent.svg +1 -1
- package/src/icons/indoor-parking.svg +1 -1
- package/src/icons/indoor-pharmacy.svg +1 -1
- package/src/icons/indoor-place_of_worship.svg +1 -1
- package/src/icons/indoor-plane.svg +1 -1
- package/src/icons/indoor-post_office.svg +1 -1
- package/src/icons/indoor-rails.svg +1 -1
- package/src/icons/indoor-ramp.svg +1 -1
- package/src/icons/indoor-reception_desk.svg +1 -1
- package/src/icons/indoor-restaurant.svg +1 -1
- package/src/icons/indoor-room.svg +1 -1
- package/src/icons/indoor-security.svg +1 -1
- package/src/icons/indoor-server.svg +1 -1
- package/src/icons/indoor-shoes.svg +1 -1
- package/src/icons/indoor-shop.svg +1 -1
- package/src/icons/indoor-shower.svg +1 -1
- package/src/icons/indoor-smoking_area.svg +1 -1
- package/src/icons/indoor-stairs.svg +1 -1
- package/src/icons/indoor-storage.svg +1 -1
- package/src/icons/indoor-supermarket.svg +1 -1
- package/src/icons/indoor-taxi.svg +1 -1
- package/src/icons/indoor-technical.svg +1 -1
- package/src/icons/indoor-telephone.svg +1 -1
- package/src/icons/indoor-terrace.svg +1 -1
- package/src/icons/indoor-toilets.svg +1 -1
- package/src/icons/indoor-train.svg +1 -1
- package/src/icons/indoor-transports.svg +1 -1
- package/src/icons/indoor-travel_agency.svg +1 -1
- package/src/icons/indoor-underwear.svg +1 -1
- package/src/icons/indoor-venue.svg +1 -1
- package/src/icons/indoor-waste_basket.svg +1 -1
- package/src/icons/indoor-workplace.svg +1 -1
- package/src/icons/info.svg +1 -1
- package/src/icons/latitude.svg +1 -1
- package/src/icons/longitude.svg +1 -1
- package/src/icons/manage.svg +1 -1
- package/src/icons/marker.svg +1 -1
- package/src/icons/member.svg +1 -1
- package/src/icons/members.svg +1 -1
- package/src/icons/menu-vertical.svg +1 -1
- package/src/icons/phone.svg +1 -1
- package/src/icons/product-activated.svg +1 -1
- package/src/icons/product-add.svg +1 -1
- package/src/icons/products.svg +1 -1
- package/src/icons/projects.svg +1 -1
- package/src/icons/question.svg +1 -1
- package/src/icons/search.svg +1 -1
- package/src/icons/see-page.svg +1 -1
- package/src/icons/settings.svg +1 -1
- package/src/icons/shield.svg +1 -1
- package/src/icons/shortcut.svg +1 -1
- package/src/icons/social-facebook.svg +1 -1
- package/src/icons/social-github.svg +1 -1
- package/src/icons/social-google.svg +1 -1
- package/src/icons/social-linkedin.svg +1 -1
- package/src/icons/social-twitter.svg +1 -1
- package/src/icons/star-filled.svg +1 -1
- package/src/icons/star.svg +1 -1
- package/src/icons/support.svg +1 -1
- package/src/icons/switch.svg +1 -1
- package/src/icons/time.svg +1 -1
- package/src/icons/user.svg +1 -1
- package/src/icons/view-card.svg +1 -1
- package/src/icons/view-list.svg +1 -1
- package/src/icons/warning.svg +1 -1
- package/src/icons/woosmap.svg +1 -1
- package/src/styles/console/button.styl +62 -48
- package/src/styles/console/icon.styl +12 -1
- package/src/styles/console/input.styl +70 -1
- package/src/styles/console/mixins.styl +1 -1
- package/src/icons/access.svg +0 -1
- package/src/icons/administration.svg +0 -1
- package/src/icons/archive.svg +0 -1
- package/src/icons/arrow-link.svg +0 -1
- package/src/icons/asset-add-file.svg +0 -1
- package/src/icons/asset-add.svg +0 -1
- package/src/icons/bank.svg +0 -1
- package/src/icons/beaker.svg +0 -1
- package/src/icons/bell.svg +0 -1
- package/src/icons/bookmark.svg +0 -1
- package/src/icons/chat.svg +0 -1
- package/src/icons/check-circle.svg +0 -1
- package/src/icons/check-square.svg +0 -1
- package/src/icons/checked.svg +0 -1
- package/src/icons/close-thick.svg +0 -1
- package/src/icons/credit-card.svg +0 -1
- package/src/icons/details.svg +0 -1
- package/src/icons/download.svg +0 -1
- package/src/icons/enter.svg +0 -1
- package/src/icons/exchange.svg +0 -1
- package/src/icons/home-user.svg +0 -1
- package/src/icons/indoor-defibrilator.svg +0 -1
- package/src/icons/indoor-emmergency_exit.svg +0 -1
- package/src/icons/label.svg +0 -1
- package/src/icons/leave.svg +0 -1
- package/src/icons/location.svg +0 -1
- package/src/icons/menu-circle-horizontal.svg +0 -1
- package/src/icons/menu-circle-vertical.svg +0 -1
- package/src/icons/menu-horizontal.svg +0 -1
- package/src/icons/metrics.svg +0 -1
- package/src/icons/more.svg +0 -1
- package/src/icons/organization.svg +0 -1
- package/src/icons/organizations.svg +0 -1
- package/src/icons/platform.svg +0 -1
- package/src/icons/prize.svg +0 -1
- package/src/icons/puzzle.svg +0 -1
- package/src/icons/receipt.svg +0 -1
- package/src/icons/star-fiiled.svg +0 -1
- package/src/icons/tool.svg +0 -1
- package/src/icons/view-mini-card.svg +0 -1
|
@@ -113,103 +113,66 @@ import { ReactComponent as WorldTime } from '../../icons/world-time.svg';
|
|
|
113
113
|
import { ReactComponent as WinPrize } from '../../icons/win-prize.svg';
|
|
114
114
|
import { ReactComponent as Zoom } from '../../icons/zoom.svg';
|
|
115
115
|
|
|
116
|
-
import { ReactComponent as Access } from '../../icons/access.svg';
|
|
117
116
|
import { ReactComponent as Add } from '../../icons/add.svg';
|
|
118
117
|
import { ReactComponent as AddCircle } from '../../icons/add-circle.svg';
|
|
119
|
-
import { ReactComponent as Administration } from '../../icons/administration.svg';
|
|
120
118
|
import { ReactComponent as AdministrationTool } from '../../icons/administration-tool.svg';
|
|
121
119
|
import { ReactComponent as AdminKey } from '../../icons/admin-key.svg';
|
|
122
120
|
import { ReactComponent as AdminTool } from '../../icons/admin-tool.svg';
|
|
123
121
|
import { ReactComponent as Agenda } from '../../icons/agenda.svg';
|
|
124
122
|
import { ReactComponent as AlphabeticalOrder } from '../../icons/alphabetical-order.svg';
|
|
125
123
|
import { ReactComponent as AlphabeticalOrderReversed } from '../../icons/alphabetical-order-reversed.svg';
|
|
126
|
-
import { ReactComponent as Archive } from '../../icons/archive.svg';
|
|
127
124
|
import { ReactComponent as ArrowBotton } from '../../icons/arrow-bottom.svg';
|
|
128
125
|
import { ReactComponent as ArrowLeft } from '../../icons/arrow-left.svg';
|
|
129
126
|
import { ReactComponent as ArrowRight } from '../../icons/arrow-right.svg';
|
|
130
127
|
import { ReactComponent as ArrowTop } from '../../icons/arrow-top.svg';
|
|
131
|
-
import { ReactComponent as ArrowLink } from '../../icons/arrow-link.svg';
|
|
132
128
|
import { ReactComponent as Asset } from '../../icons/asset.svg';
|
|
133
|
-
import { ReactComponent as AssetAddFile } from '../../icons/asset-add-file.svg';
|
|
134
|
-
import { ReactComponent as AssetAdd } from '../../icons/asset-add.svg';
|
|
135
|
-
import { ReactComponent as Bank } from '../../icons/bank.svg';
|
|
136
|
-
import { ReactComponent as Beaker } from '../../icons/beaker.svg';
|
|
137
|
-
import { ReactComponent as Bell } from '../../icons/bell.svg';
|
|
138
129
|
import { ReactComponent as BigCommerce } from '../../icons/big-commerce.svg';
|
|
139
|
-
import { ReactComponent as Bookmark } from '../../icons/bookmark.svg';
|
|
140
130
|
import { ReactComponent as Bulb } from '../../icons/bulb.svg';
|
|
141
131
|
import { ReactComponent as CaretBotton } from '../../icons/caret-bottom.svg';
|
|
142
132
|
import { ReactComponent as CaretLeft } from '../../icons/caret-left.svg';
|
|
143
133
|
import { ReactComponent as CaretRight } from '../../icons/caret-right.svg';
|
|
144
134
|
import { ReactComponent as CaretTop } from '../../icons/caret-top.svg';
|
|
145
135
|
import { ReactComponent as Charts } from '../../icons/charts.svg';
|
|
146
|
-
import { ReactComponent as Chat } from '../../icons/chat.svg';
|
|
147
136
|
import { ReactComponent as Check } from '../../icons/check.svg';
|
|
148
|
-
import { ReactComponent as Checked } from '../../icons/checked.svg';
|
|
149
|
-
import { ReactComponent as CheckCircle } from '../../icons/check-circle.svg';
|
|
150
|
-
import { ReactComponent as CheckSquare } from '../../icons/check-square.svg';
|
|
151
137
|
import { ReactComponent as Clock } from '../../icons/clock.svg';
|
|
152
138
|
import { ReactComponent as ClockReversed } from '../../icons/clock-reversed.svg';
|
|
153
139
|
import { ReactComponent as Close } from '../../icons/close.svg';
|
|
154
|
-
import { ReactComponent as CloseThick } from '../../icons/close-thick.svg';
|
|
155
140
|
import { ReactComponent as Code } from '../../icons/code.svg';
|
|
156
141
|
import { ReactComponent as Company } from '../../icons/company.svg';
|
|
157
142
|
import { ReactComponent as Copy } from '../../icons/copy.svg';
|
|
158
|
-
import { ReactComponent as CreditCard } from '../../icons/credit-card.svg';
|
|
159
143
|
import { ReactComponent as Cube } from '../../icons/cube.svg';
|
|
160
144
|
import { ReactComponent as Dashboard } from '../../icons/dashboard.svg';
|
|
161
145
|
import { ReactComponent as Delete } from '../../icons/delete.svg';
|
|
162
|
-
import { ReactComponent as Details } from '../../icons/details.svg';
|
|
163
146
|
import { ReactComponent as Documentation } from '../../icons/documentation.svg';
|
|
164
147
|
import { ReactComponent as Dollar } from '../../icons/dollar.svg';
|
|
165
|
-
import { ReactComponent as DotFill } from '../../icons/dot-fill.svg';
|
|
166
148
|
import { ReactComponent as Dot } from '../../icons/dot.svg';
|
|
167
|
-
import { ReactComponent as
|
|
149
|
+
import { ReactComponent as DotFill } from '../../icons/dot-fill.svg';
|
|
168
150
|
import { ReactComponent as Edit } from '../../icons/edit.svg';
|
|
169
151
|
import { ReactComponent as Email } from '../../icons/email.svg';
|
|
170
|
-
import { ReactComponent as Enter } from '../../icons/enter.svg';
|
|
171
152
|
import { ReactComponent as Eye } from '../../icons/eye.svg';
|
|
172
153
|
import { ReactComponent as EyeCrossedOut } from '../../icons/eye-crossed-out.svg';
|
|
173
|
-
import { ReactComponent as Exchange } from '../../icons/exchange.svg';
|
|
174
154
|
import { ReactComponent as Expand } from '../../icons/expand.svg';
|
|
175
155
|
import { ReactComponent as Export } from '../../icons/export.svg';
|
|
176
156
|
import { ReactComponent as Flag } from '../../icons/flag.svg';
|
|
177
157
|
import { ReactComponent as Forbidden } from '../../icons/forbidden.svg';
|
|
178
|
-
|
|
179
158
|
import { ReactComponent as Globe } from '../../icons/globe.svg';
|
|
180
|
-
import { ReactComponent as Home } from '../../icons/home.svg';
|
|
181
159
|
import { ReactComponent as Hourglass } from '../../icons/hourglass.svg';
|
|
182
|
-
import { ReactComponent as HomeUser } from '../../icons/home-user.svg';
|
|
183
160
|
import { ReactComponent as Import } from '../../icons/import.svg';
|
|
184
161
|
import { ReactComponent as Info } from '../../icons/info.svg';
|
|
185
|
-
import { ReactComponent as Label } from '../../icons/label.svg';
|
|
186
162
|
import { ReactComponent as Latitude } from '../../icons/latitude.svg';
|
|
187
163
|
import { ReactComponent as Load } from '../../icons/load.svg';
|
|
188
|
-
import { ReactComponent as Leave } from '../../icons/leave.svg';
|
|
189
|
-
import { ReactComponent as Location } from '../../icons/location.svg';
|
|
190
164
|
import { ReactComponent as Longitude } from '../../icons/longitude.svg';
|
|
191
165
|
import { ReactComponent as Manage } from '../../icons/manage.svg';
|
|
192
166
|
import { ReactComponent as Marker } from '../../icons/marker.svg';
|
|
193
167
|
import { ReactComponent as Members } from '../../icons/members.svg';
|
|
194
168
|
import { ReactComponent as Member } from '../../icons/member.svg';
|
|
195
169
|
import { ReactComponent as MenuVertical } from '../../icons/menu-vertical.svg';
|
|
196
|
-
import { ReactComponent as MenuCircleVertical } from '../../icons/menu-circle-vertical.svg';
|
|
197
|
-
import { ReactComponent as MenuHorizontal } from '../../icons/menu-horizontal.svg';
|
|
198
|
-
import { ReactComponent as MenuCircleHorizontal } from '../../icons/menu-circle-horizontal.svg';
|
|
199
|
-
import { ReactComponent as Metrics } from '../../icons/metrics.svg';
|
|
200
|
-
import { ReactComponent as More } from '../../icons/more.svg';
|
|
201
|
-
import { ReactComponent as Organization } from '../../icons/organization.svg';
|
|
202
|
-
import { ReactComponent as Organizations } from '../../icons/organizations.svg';
|
|
203
170
|
import { ReactComponent as Phone } from '../../icons/phone.svg';
|
|
204
|
-
import { ReactComponent as Platform } from '../../icons/platform.svg';
|
|
205
|
-
import { ReactComponent as Prize } from '../../icons/prize.svg';
|
|
206
171
|
import { ReactComponent as ProductActivated } from '../../icons/product-activated.svg';
|
|
207
172
|
import { ReactComponent as ProductAdd } from '../../icons/product-add.svg';
|
|
208
173
|
import { ReactComponent as Products } from '../../icons/products.svg';
|
|
209
174
|
import { ReactComponent as Projects } from '../../icons/projects.svg';
|
|
210
|
-
import { ReactComponent as Puzzle } from '../../icons/puzzle.svg';
|
|
211
175
|
import { ReactComponent as Question } from '../../icons/question.svg';
|
|
212
|
-
import { ReactComponent as Receipt } from '../../icons/receipt.svg';
|
|
213
176
|
import { ReactComponent as Search } from '../../icons/search.svg';
|
|
214
177
|
import { ReactComponent as SeePage } from '../../icons/see-page.svg';
|
|
215
178
|
import { ReactComponent as Settings } from '../../icons/settings.svg';
|
|
@@ -221,11 +184,9 @@ import { ReactComponent as Support } from '../../icons/support.svg';
|
|
|
221
184
|
import { ReactComponent as Switch } from '../../icons/switch.svg';
|
|
222
185
|
import { ReactComponent as Team } from '../../icons/team.svg';
|
|
223
186
|
import { ReactComponent as Time } from '../../icons/time.svg';
|
|
224
|
-
import { ReactComponent as Tool } from '../../icons/tool.svg';
|
|
225
187
|
import { ReactComponent as User } from '../../icons/user.svg';
|
|
226
188
|
import { ReactComponent as ViewCard } from '../../icons/view-card.svg';
|
|
227
189
|
import { ReactComponent as ViewList } from '../../icons/view-list.svg';
|
|
228
|
-
import { ReactComponent as ViewMiniCard } from '../../icons/view-mini-card.svg';
|
|
229
190
|
import { ReactComponent as Warning } from '../../icons/warning.svg';
|
|
230
191
|
import { ReactComponent as Woosmap } from '../../icons/woosmap.svg';
|
|
231
192
|
import { ReactComponent as Address } from '../../icons/address.svg';
|
|
@@ -233,6 +194,7 @@ import { ReactComponent as Distance } from '../../icons/distance.svg';
|
|
|
233
194
|
import { ReactComponent as Geolocation } from '../../icons/geolocation.svg';
|
|
234
195
|
import { ReactComponent as Localities } from '../../icons/localities.svg';
|
|
235
196
|
import { ReactComponent as Map } from '../../icons/map.svg';
|
|
197
|
+
|
|
236
198
|
import { ReactComponent as Merchant } from '../../icons/merchant.svg';
|
|
237
199
|
import { ReactComponent as Stores } from '../../icons/stores.svg';
|
|
238
200
|
import { ReactComponent as Traffic } from '../../icons/traffic.svg';
|
|
@@ -245,8 +207,8 @@ import { ReactComponent as Showcases } from '../../icons/showcases.svg';
|
|
|
245
207
|
import { ReactComponent as Indoor } from '../../icons/indoor.svg';
|
|
246
208
|
|
|
247
209
|
import { ReactComponent as SocialFacebook } from '../../icons/social-facebook.svg';
|
|
248
|
-
import { ReactComponent as
|
|
249
|
-
import { ReactComponent as
|
|
210
|
+
import { ReactComponent as SocialGithub } from '../../icons/social-github.svg';
|
|
211
|
+
import { ReactComponent as SocialGoogle } from '../../icons/social-google.svg';
|
|
250
212
|
import { ReactComponent as SocialLinkedin } from '../../icons/social-linkedin.svg';
|
|
251
213
|
import { ReactComponent as SocialTwitter } from '../../icons/social-twitter.svg';
|
|
252
214
|
|
|
@@ -262,6 +224,7 @@ import { ReactComponent as IndoorAirlineTransfers } from '../../icons/indoor-air
|
|
|
262
224
|
import { ReactComponent as IndoorAirlinesCounter } from '../../icons/indoor-airlines_counter.svg';
|
|
263
225
|
import { ReactComponent as IndoorAlcohol } from '../../icons/indoor-alcohol.svg';
|
|
264
226
|
import { ReactComponent as IndoorAmenity } from '../../icons/indoor-amenity.svg';
|
|
227
|
+
import { ReactComponent as IndoorArrival } from '../../icons/indoor-arrival.svg';
|
|
265
228
|
import { ReactComponent as IndoorArt } from '../../icons/indoor-art.svg';
|
|
266
229
|
import { ReactComponent as IndoorAssemblyPoint } from '../../icons/indoor-assembly_point.svg';
|
|
267
230
|
import { ReactComponent as IndoorAtm } from '../../icons/indoor-atm.svg';
|
|
@@ -286,7 +249,7 @@ import { ReactComponent as IndoorClothes } from '../../icons/indoor-clothes.svg'
|
|
|
286
249
|
import { ReactComponent as IndoorConvinienceStore } from '../../icons/indoor-convinience_store.svg';
|
|
287
250
|
import { ReactComponent as IndoorCosmetics } from '../../icons/indoor-cosmetics.svg';
|
|
288
251
|
import { ReactComponent as IndoorDefault } from '../../icons/indoor-default.svg';
|
|
289
|
-
import { ReactComponent as
|
|
252
|
+
import { ReactComponent as IndoorDefibrillator } from '../../icons/indoor-defibrillator.svg';
|
|
290
253
|
import { ReactComponent as IndoorDepartmentStore } from '../../icons/indoor-department_store.svg';
|
|
291
254
|
import { ReactComponent as IndoorDeviceChargingStation } from '../../icons/indoor-device_charging_station.svg';
|
|
292
255
|
import { ReactComponent as IndoorDining } from '../../icons/indoor-dining.svg';
|
|
@@ -297,10 +260,10 @@ import { ReactComponent as IndoorDrinkingWater } from '../../icons/indoor-drinki
|
|
|
297
260
|
import { ReactComponent as IndoorDutyFree } from '../../icons/indoor-duty_free.svg';
|
|
298
261
|
import { ReactComponent as IndoorElectronics } from '../../icons/indoor-electronics.svg';
|
|
299
262
|
import { ReactComponent as IndoorElevator } from '../../icons/indoor-elevator.svg';
|
|
300
|
-
import { ReactComponent as
|
|
263
|
+
import { ReactComponent as IndoorExitEmergency } from '../../icons/indoor-exit-emergency.svg';
|
|
301
264
|
import { ReactComponent as IndoorEntertainment } from '../../icons/indoor-entertainment.svg';
|
|
302
265
|
import { ReactComponent as IndoorEntrance } from '../../icons/indoor-entrance.svg';
|
|
303
|
-
import { ReactComponent as
|
|
266
|
+
import { ReactComponent as IndoorConveyingForward } from '../../icons/indoor-escalator.svg';
|
|
304
267
|
import { ReactComponent as IndoorFashionAccessories } from '../../icons/indoor-fashion_accessories.svg';
|
|
305
268
|
import { ReactComponent as IndoorFastFood } from '../../icons/indoor-fast_food.svg';
|
|
306
269
|
import { ReactComponent as IndoorFireExtinguisher } from '../../icons/indoor-fire_extinguisher.svg';
|
|
@@ -465,62 +428,42 @@ const WebsiteIcons = {
|
|
|
465
428
|
};
|
|
466
429
|
|
|
467
430
|
const ConsoleIcons = {
|
|
468
|
-
access: Access,
|
|
469
431
|
'add-circle': AddCircle,
|
|
470
432
|
add: Add,
|
|
471
433
|
'admin-key': AdminKey,
|
|
472
434
|
'admin-tool': AdminTool,
|
|
473
435
|
'administration-tool': AdministrationTool,
|
|
474
|
-
administration: Administration,
|
|
475
436
|
agenda: Agenda,
|
|
476
|
-
'alphabetical-order-reversed': AlphabeticalOrderReversed,
|
|
477
437
|
'alphabetical-order': AlphabeticalOrder,
|
|
478
|
-
|
|
438
|
+
'alphabetical-order-reversed': AlphabeticalOrderReversed,
|
|
479
439
|
'arrow-bottom': ArrowBotton,
|
|
480
440
|
'arrow-left': ArrowLeft,
|
|
481
|
-
'arrow-link': ArrowLink,
|
|
482
441
|
'arrow-right': ArrowRight,
|
|
483
442
|
'arrow-top': ArrowTop,
|
|
484
|
-
'asset-add-file': AssetAddFile,
|
|
485
|
-
'asset-add': AssetAdd,
|
|
486
443
|
asset: Asset,
|
|
487
|
-
bank: Bank,
|
|
488
|
-
beaker: Beaker,
|
|
489
|
-
bell: Bell,
|
|
490
444
|
'big-commerce': BigCommerce,
|
|
491
|
-
bookmark: Bookmark,
|
|
492
445
|
bulb: Bulb,
|
|
493
446
|
'caret-bottom': CaretBotton,
|
|
494
447
|
'caret-left': CaretLeft,
|
|
495
448
|
'caret-right': CaretRight,
|
|
496
449
|
'caret-top': CaretTop,
|
|
497
450
|
charts: Charts,
|
|
498
|
-
chat: Chat,
|
|
499
|
-
'check-circle': CheckCircle,
|
|
500
|
-
'check-square': CheckSquare,
|
|
501
451
|
check: Check,
|
|
502
|
-
checked: Checked,
|
|
503
|
-
'clock-reversed': ClockReversed,
|
|
504
452
|
clock: Clock,
|
|
505
|
-
'
|
|
453
|
+
'clock-reversed': ClockReversed,
|
|
506
454
|
close: Close,
|
|
507
455
|
code: Code,
|
|
508
456
|
company: Company,
|
|
509
457
|
copy: Copy,
|
|
510
|
-
'credit-card': CreditCard,
|
|
511
458
|
cube: Cube,
|
|
512
459
|
dashboard: Dashboard,
|
|
513
460
|
delete: Delete,
|
|
514
|
-
details: Details,
|
|
515
461
|
documentation: Documentation,
|
|
516
462
|
dollar: Dollar,
|
|
517
|
-
'dot-fill': DotFill,
|
|
518
463
|
dot: Dot,
|
|
519
|
-
|
|
464
|
+
'dot-fill': DotFill,
|
|
520
465
|
edit: Edit,
|
|
521
466
|
email: Email,
|
|
522
|
-
enter: Enter,
|
|
523
|
-
exchange: Exchange,
|
|
524
467
|
expand: Expand,
|
|
525
468
|
export: Export,
|
|
526
469
|
'eye-crossed-out': EyeCrossedOut,
|
|
@@ -528,47 +471,31 @@ const ConsoleIcons = {
|
|
|
528
471
|
flag: Flag,
|
|
529
472
|
forbidden: Forbidden,
|
|
530
473
|
globe: Globe,
|
|
531
|
-
'home-user': HomeUser,
|
|
532
|
-
home: Home,
|
|
533
474
|
hourglass: Hourglass,
|
|
534
475
|
import: Import,
|
|
535
476
|
info: Info,
|
|
536
|
-
label: Label,
|
|
537
477
|
latitude: Latitude,
|
|
538
|
-
leave: Leave,
|
|
539
478
|
load: Load,
|
|
540
|
-
location: Location,
|
|
541
479
|
longitude: Longitude,
|
|
542
480
|
manage: Manage,
|
|
543
481
|
marker: Marker,
|
|
544
482
|
member: Member,
|
|
545
483
|
members: Members,
|
|
546
|
-
'menu-circle-horizontal': MenuCircleHorizontal,
|
|
547
|
-
'menu-circle-vertical': MenuCircleVertical,
|
|
548
|
-
'menu-horizontal': MenuHorizontal,
|
|
549
484
|
'menu-vertical': MenuVertical,
|
|
550
|
-
metrics: Metrics,
|
|
551
|
-
more: More,
|
|
552
|
-
organization: Organization,
|
|
553
|
-
organizations: Organizations,
|
|
554
485
|
phone: Phone,
|
|
555
|
-
platform: Platform,
|
|
556
|
-
prize: Prize,
|
|
557
486
|
'product-activated': ProductActivated,
|
|
558
487
|
'product-add': ProductAdd,
|
|
559
488
|
products: Products,
|
|
560
489
|
projects: Projects,
|
|
561
|
-
puzzle: Puzzle,
|
|
562
490
|
question: Question,
|
|
563
|
-
receipt: Receipt,
|
|
564
491
|
search: Search,
|
|
565
492
|
'see-page': SeePage,
|
|
566
493
|
settings: Settings,
|
|
567
494
|
shield: Shield,
|
|
568
495
|
shortcut: Shortcut,
|
|
569
496
|
'social-facebook': SocialFacebook,
|
|
570
|
-
'social-github':
|
|
571
|
-
'social-google':
|
|
497
|
+
'social-github': SocialGithub,
|
|
498
|
+
'social-google': SocialGoogle,
|
|
572
499
|
'social-linkedin': SocialLinkedin,
|
|
573
500
|
'social-twitter': SocialTwitter,
|
|
574
501
|
'star-filled': StarFilled,
|
|
@@ -577,11 +504,9 @@ const ConsoleIcons = {
|
|
|
577
504
|
switch: Switch,
|
|
578
505
|
team: Team,
|
|
579
506
|
time: Time,
|
|
580
|
-
tool: Tool,
|
|
581
507
|
user: User,
|
|
582
508
|
'view-card': ViewCard,
|
|
583
509
|
'view-list': ViewList,
|
|
584
|
-
'view-mini-card': ViewMiniCard,
|
|
585
510
|
warning: Warning,
|
|
586
511
|
woosmap: Woosmap,
|
|
587
512
|
|
|
@@ -597,6 +522,7 @@ const ConsoleIcons = {
|
|
|
597
522
|
'indoor-airlines_counter': IndoorAirlinesCounter,
|
|
598
523
|
'indoor-alcohol': IndoorAlcohol,
|
|
599
524
|
'indoor-amenity': IndoorAmenity,
|
|
525
|
+
'indoor-arrival': IndoorArrival,
|
|
600
526
|
'indoor-art': IndoorArt,
|
|
601
527
|
'indoor-assembly_point': IndoorAssemblyPoint,
|
|
602
528
|
'indoor-atm': IndoorAtm,
|
|
@@ -621,7 +547,7 @@ const ConsoleIcons = {
|
|
|
621
547
|
'indoor-convinience_store': IndoorConvinienceStore,
|
|
622
548
|
'indoor-cosmetics': IndoorCosmetics,
|
|
623
549
|
'indoor-default': IndoorDefault,
|
|
624
|
-
'indoor-
|
|
550
|
+
'indoor-defibrillator': IndoorDefibrillator,
|
|
625
551
|
'indoor-department_store': IndoorDepartmentStore,
|
|
626
552
|
'indoor-device_charging_station': IndoorDeviceChargingStation,
|
|
627
553
|
'indoor-dining': IndoorDining,
|
|
@@ -632,10 +558,10 @@ const ConsoleIcons = {
|
|
|
632
558
|
'indoor-duty_free': IndoorDutyFree,
|
|
633
559
|
'indoor-electronics': IndoorElectronics,
|
|
634
560
|
'indoor-elevator': IndoorElevator,
|
|
635
|
-
'indoor-
|
|
561
|
+
'indoor-exit-emergency': IndoorExitEmergency,
|
|
636
562
|
'indoor-entertainment': IndoorEntertainment,
|
|
637
563
|
'indoor-entrance': IndoorEntrance,
|
|
638
|
-
'indoor-
|
|
564
|
+
'indoor-conveying-forward': IndoorConveyingForward,
|
|
639
565
|
'indoor-fashion_accessories': IndoorFashionAccessories,
|
|
640
566
|
'indoor-fast_food': IndoorFastFood,
|
|
641
567
|
'indoor-fire_extinguisher': IndoorFireExtinguisher,
|
|
@@ -712,12 +638,12 @@ const Icons = {
|
|
|
712
638
|
|
|
713
639
|
class Icon extends Component {
|
|
714
640
|
render() {
|
|
715
|
-
const { icon, size, className, title, testId } = this.props;
|
|
641
|
+
const { icon, size, className, isFill, isLoad, title, testId } = this.props;
|
|
716
642
|
const IconComponent = Object.keys(Icons).includes(icon) ? Icons[icon] : Woosmap;
|
|
717
|
-
|
|
643
|
+
const classes = cl('icon', { 'icon--fill': isFill }, { 'icon--load': isLoad }, className);
|
|
718
644
|
return (
|
|
719
645
|
<IconComponent
|
|
720
|
-
className={
|
|
646
|
+
className={classes}
|
|
721
647
|
data-testid={`${testId}-${icon}`}
|
|
722
648
|
width={size}
|
|
723
649
|
height={size}
|
|
@@ -728,16 +654,20 @@ class Icon extends Component {
|
|
|
728
654
|
}
|
|
729
655
|
|
|
730
656
|
Icon.defaultProps = {
|
|
731
|
-
size:
|
|
657
|
+
size: 22,
|
|
732
658
|
className: null,
|
|
733
659
|
title: null,
|
|
734
660
|
testId: 'icon',
|
|
661
|
+
isFill: false,
|
|
662
|
+
isLoad: false,
|
|
735
663
|
};
|
|
736
664
|
|
|
737
665
|
Icon.propTypes = {
|
|
738
666
|
size: PropTypes.number,
|
|
739
667
|
className: PropTypes.string,
|
|
740
668
|
icon: PropTypes.string.isRequired,
|
|
669
|
+
isFill: PropTypes.bool,
|
|
670
|
+
isLoad: PropTypes.bool,
|
|
741
671
|
title: PropTypes.string,
|
|
742
672
|
testId: PropTypes.string,
|
|
743
673
|
};
|
|
@@ -10,7 +10,7 @@ export default Story;
|
|
|
10
10
|
|
|
11
11
|
const Template = () => (
|
|
12
12
|
<div>
|
|
13
|
-
<Icon size={64} icon="
|
|
13
|
+
<Icon size={64} icon="marker" />
|
|
14
14
|
</div>
|
|
15
15
|
);
|
|
16
16
|
|
|
@@ -30,6 +30,6 @@ const drawIcon = (icon) => (
|
|
|
30
30
|
|
|
31
31
|
export const All = () => <div className="flex-wrap">{Object.keys(Icons).map(drawIcon)}</div>;
|
|
32
32
|
export const Website = () => <div className="flex-wrap">{Object.keys(WebsiteIcons).map(drawIcon)}</div>;
|
|
33
|
-
export const Console = () => <div className="flex-wrap">{Object.keys(ConsoleIcons).map(drawIcon)}</div>;
|
|
33
|
+
export const Console = () => <div className="flex-wrap icon-console">{Object.keys(ConsoleIcons).map(drawIcon)}</div>;
|
|
34
34
|
export const Products = () => <div className="flex-wrap">{Object.keys(ProductsIcons).map(drawIcon)}</div>;
|
|
35
35
|
export const NotExisting = () => <div className="flex-wrap">{drawIcon('not-existing-icon')}</div>;
|
|
@@ -5,13 +5,13 @@ import '@testing-library/jest-dom/extend-expect';
|
|
|
5
5
|
import Icon from './Icon';
|
|
6
6
|
|
|
7
7
|
it('renders an icon component', () => {
|
|
8
|
-
const { getByTestId } = render(<Icon icon="
|
|
8
|
+
const { getByTestId } = render(<Icon icon="marker" size={64} />);
|
|
9
9
|
|
|
10
|
-
const result = getByTestId('icon-
|
|
10
|
+
const result = getByTestId('icon-marker');
|
|
11
11
|
|
|
12
12
|
expect(result).toHaveClass('icon');
|
|
13
13
|
expect(result).toHaveAttribute('width', '64');
|
|
14
|
-
expect(result).toHaveTextContent('
|
|
14
|
+
expect(result).toHaveTextContent('marker');
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
const isIconRendered = (icon) => {
|
|
@@ -15,4 +15,16 @@
|
|
|
15
15
|
&__name
|
|
16
16
|
margin-top 1rem
|
|
17
17
|
&:hover
|
|
18
|
-
background-color $primary10
|
|
18
|
+
background-color $primary10
|
|
19
|
+
.icon-console
|
|
20
|
+
.icon
|
|
21
|
+
trans()
|
|
22
|
+
stroke $secondary
|
|
23
|
+
stroke-linecap round
|
|
24
|
+
stroke-linejoin round
|
|
25
|
+
&:not(.icon--fill)
|
|
26
|
+
fill none
|
|
27
|
+
&--fill
|
|
28
|
+
stroke-width: 0
|
|
29
|
+
stroke $secondary
|
|
30
|
+
|
|
@@ -43,6 +43,7 @@ export default class Input extends Component {
|
|
|
43
43
|
onBlur,
|
|
44
44
|
onFocus,
|
|
45
45
|
icon,
|
|
46
|
+
isInputIconFill,
|
|
46
47
|
enableTogglePassword,
|
|
47
48
|
} = this.props;
|
|
48
49
|
|
|
@@ -52,20 +53,20 @@ export default class Input extends Component {
|
|
|
52
53
|
|
|
53
54
|
switch (iconSize) {
|
|
54
55
|
case 'normal':
|
|
55
|
-
iconSize =
|
|
56
|
+
iconSize = 22;
|
|
56
57
|
break;
|
|
57
58
|
case 'large':
|
|
58
|
-
iconSize =
|
|
59
|
+
iconSize = 24;
|
|
59
60
|
break;
|
|
60
61
|
case 'small':
|
|
61
|
-
iconSize =
|
|
62
|
+
iconSize = 20;
|
|
62
63
|
break;
|
|
63
64
|
default:
|
|
64
|
-
iconSize =
|
|
65
|
+
iconSize = 22;
|
|
65
66
|
}
|
|
66
67
|
return (
|
|
67
68
|
<div className="input__container">
|
|
68
|
-
{icon ? <Icon icon={icon} size={iconSize} /> : null}
|
|
69
|
+
{icon ? <Icon icon={icon} isFill={isInputIconFill} size={iconSize} /> : null}
|
|
69
70
|
{React.createElement(type === 'textarea' ? 'textarea' : 'input', {
|
|
70
71
|
className: cl('input__item', {
|
|
71
72
|
error,
|
|
@@ -90,13 +91,14 @@ export default class Input extends Component {
|
|
|
90
91
|
<span
|
|
91
92
|
onKeyDown={() => ({})}
|
|
92
93
|
role="button"
|
|
94
|
+
className="password-toggle"
|
|
93
95
|
tabIndex={0}
|
|
94
96
|
onClick={() => this.setState({ showPassword: !showPassword })}
|
|
95
97
|
>
|
|
96
98
|
<Icon
|
|
97
99
|
icon={showPassword ? 'eye-crossed-out' : 'eye'}
|
|
98
100
|
size={iconSize}
|
|
99
|
-
className={
|
|
101
|
+
className={{ showed: showPassword }}
|
|
100
102
|
/>
|
|
101
103
|
</span>
|
|
102
104
|
)}
|
|
@@ -105,7 +107,19 @@ export default class Input extends Component {
|
|
|
105
107
|
};
|
|
106
108
|
|
|
107
109
|
render() {
|
|
108
|
-
const {
|
|
110
|
+
const {
|
|
111
|
+
hideLabel,
|
|
112
|
+
error,
|
|
113
|
+
label,
|
|
114
|
+
className,
|
|
115
|
+
size,
|
|
116
|
+
type,
|
|
117
|
+
icon,
|
|
118
|
+
enableTogglePassword,
|
|
119
|
+
isFilter,
|
|
120
|
+
isNoBorder,
|
|
121
|
+
disabled,
|
|
122
|
+
} = this.props;
|
|
109
123
|
const errorComponent = error ? (
|
|
110
124
|
<span className="input__error" data-testid="input-error">
|
|
111
125
|
{error}
|
|
@@ -116,7 +130,7 @@ export default class Input extends Component {
|
|
|
116
130
|
isFilter && type !== 'checkbox' && type !== 'radio' && type !== 'textarea' ? 'input--filter' : null,
|
|
117
131
|
isNoBorder && type !== 'checkbox' && type !== 'radio' && type !== 'textarea' ? 'input--noborder' : null,
|
|
118
132
|
{ 'input--iconed': icon },
|
|
119
|
-
{ 'input--password-toggle': type === 'password' },
|
|
133
|
+
{ 'input--password-toggle': enableTogglePassword && type === 'password' },
|
|
120
134
|
`input--${size}`,
|
|
121
135
|
type === 'checkbox' || type === 'radio' ? `input--${type}` : null,
|
|
122
136
|
disabled ? 'input--disabled' : null,
|
|
@@ -167,6 +181,7 @@ Input.propTypes = {
|
|
|
167
181
|
onFocus: PropTypes.func,
|
|
168
182
|
onPressEnter: PropTypes.func,
|
|
169
183
|
enableTogglePassword: PropTypes.bool,
|
|
184
|
+
isInputIconFill: PropTypes.bool,
|
|
170
185
|
};
|
|
171
186
|
|
|
172
187
|
Input.defaultProps = {
|
|
@@ -192,4 +207,5 @@ Input.defaultProps = {
|
|
|
192
207
|
onBlur: null,
|
|
193
208
|
onFocus: null,
|
|
194
209
|
enableTogglePassword: false,
|
|
210
|
+
isInputIconFill: false,
|
|
195
211
|
};
|
|
@@ -76,7 +76,7 @@ const Template = (args) => {
|
|
|
76
76
|
type="password"
|
|
77
77
|
label="Password with icon"
|
|
78
78
|
hideLabel={hideLabel}
|
|
79
|
-
icon="
|
|
79
|
+
icon="marker"
|
|
80
80
|
/>
|
|
81
81
|
<Input
|
|
82
82
|
placeholder="Type password"
|
|
@@ -86,7 +86,7 @@ const Template = (args) => {
|
|
|
86
86
|
enableTogglePassword
|
|
87
87
|
/>
|
|
88
88
|
<Input
|
|
89
|
-
icon="
|
|
89
|
+
icon="shield"
|
|
90
90
|
placeholder="Type password"
|
|
91
91
|
type="password"
|
|
92
92
|
label="Password with icon and toggle"
|
|
@@ -43,8 +43,9 @@ export default class Label extends Component {
|
|
|
43
43
|
{closable && (
|
|
44
44
|
<Button
|
|
45
45
|
type="link-flex"
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
className="icon--thicker"
|
|
47
|
+
iconSize={10}
|
|
48
|
+
icon="close"
|
|
48
49
|
onClick={closeCb}
|
|
49
50
|
testId={`${testId}-button`}
|
|
50
51
|
/>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
margin .2rem 0
|
|
13
13
|
word-break break-all
|
|
14
14
|
.icon
|
|
15
|
-
|
|
15
|
+
stroke $light
|
|
16
16
|
&--round
|
|
17
17
|
br(50)
|
|
18
18
|
sq($buttonHeight)
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
text-shadow none
|
|
135
135
|
.btn
|
|
136
136
|
.icon
|
|
137
|
-
|
|
137
|
+
stroke $secondary70
|
|
138
138
|
&:hover
|
|
139
139
|
.icon
|
|
140
|
-
|
|
140
|
+
stroke $secondary70 !important
|
|
141
141
|
&--white
|
|
142
142
|
background-color $light
|
|
143
143
|
color $secondary
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
border .1rem solid $borderColor
|
|
146
146
|
.btn
|
|
147
147
|
.icon
|
|
148
|
-
|
|
148
|
+
stroke $secondary40
|
|
149
149
|
&:hover
|
|
150
150
|
.icon
|
|
151
|
-
|
|
151
|
+
stroke $secondary40 !important
|
|
@@ -35,7 +35,7 @@ const Template = () => (
|
|
|
35
35
|
<div title="Types & tags" icon="shield" iconSize="30">
|
|
36
36
|
My 4th tab content
|
|
37
37
|
</div>
|
|
38
|
-
<div title="Custom fields" icon="
|
|
38
|
+
<div title="Custom fields" icon="marker" iconSize="30">
|
|
39
39
|
My 5th tab content
|
|
40
40
|
</div>
|
|
41
41
|
<div title="Localized names" icon="asset" iconSize="30">
|
package/src/icons/add-circle.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><line x1="12.009" y1="16.206" x2="12.01" y2="7.798"/><line x1="16.213" y1="12.002" x2="7.806" y2="12.002"/><circle cx="12.009" cy="12.002" r="9.386"/></svg>
|
package/src/icons/add.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><line x1="11.995" y1="17.482" x2="11.996" y2="6.53"/><line x1="17.471" y1="12.006" x2="6.519" y2="12.005"/></svg>
|
package/src/icons/admin-key.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m13.468,3.541h-3.761c-1.655,0-3.183.883-4.011,2.316l-2.292,3.971c-.827,1.433-.827,3.198,0,4.631l2.292,3.971c.827,1.433,2.356,2.316,4.011,2.316h4.585c1.655,0,3.183-.883,4.011-2.316l2.292-3.971c.827-1.433.827-3.198,0-4.631l-.208-.361"/><path d="m12.479,9.095c-1.36-.521-2.957-.239-4.053.857-1.486,1.486-1.486,3.896,0,5.383s3.896,1.486,5.383,0c1.129-1.129,1.395-2.789.81-4.174l3.178-3.178.108-1.233,1.257-.133.168-1.42,1.801-.549-1.309-2.897-7.344,7.344Z"/><circle cx="10.854" cy="12.907" r="1.268"/></svg>
|