@graphcommerce/next-ui 3.9.0 → 3.11.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/AppShell/AppShellHeader/index.tsx +5 -6
- package/AppShell/DesktopNavBar.tsx +1 -1
- package/AppShell/ForwardButton.tsx +8 -3
- package/AppShell/FullPageShellBase.tsx +1 -1
- package/AppShell/MenuFab.tsx +6 -3
- package/Blog/BlogTitle/index.tsx +1 -1
- package/Button/index.tsx +11 -4
- package/ButtonLink/index.tsx +2 -1
- package/CHANGELOG.md +59 -0
- package/ChipMenu/index.tsx +4 -12
- package/ContainerWithHeader/index.tsx +1 -1
- package/Form/InputCheckmark.tsx +13 -2
- package/FramerScroller/components/SidebarGallery.tsx +70 -58
- package/FramerScroller/components/SidebarSlider.tsx +24 -22
- package/IconHeader/index.tsx +2 -6
- package/Pagination/index.tsx +10 -6
- package/Row/ParagraphWithSidebarSlide/index.tsx +5 -34
- package/Row/RowImageTextBoxed/index.tsx +2 -2
- package/Row/index.tsx +1 -4
- package/StarRatingField/index.tsx +15 -15
- package/SvgImage/SvgImageSimple.tsx +51 -21
- package/TextInputNumber/index.tsx +3 -2
- package/Theme/types.ts +0 -13
- package/Title/index.tsx +2 -9
- package/UspList/UspListItem.tsx +18 -11
- package/UspList/index.tsx +4 -3
- package/icons/accessibility-human.svg +1 -0
- package/icons/accessibility.svg +1 -0
- package/icons/activity.svg +1 -0
- package/icons/add-to-list.svg +1 -0
- package/icons/add.svg +1 -0
- package/icons/alarm.svg +1 -0
- package/icons/align-center.svg +1 -0
- package/icons/align-left.svg +1 -0
- package/icons/align-right.svg +1 -0
- package/icons/anchor.svg +1 -0
- package/icons/aperture.svg +1 -0
- package/icons/apps-alt.svg +1 -0
- package/icons/apps.svg +1 -0
- package/icons/arrow-down-circle.svg +1 -0
- package/icons/arrow-down.svg +1 -0
- package/icons/arrow-left-bottom.svg +1 -0
- package/icons/arrow-left-circle.svg +1 -0
- package/icons/arrow-left-top.svg +1 -0
- package/icons/arrow-left.svg +1 -0
- package/icons/arrow-right-bottom.svg +1 -0
- package/icons/arrow-right-circle.svg +1 -0
- package/icons/arrow-right-top.svg +1 -0
- package/icons/arrow-right.svg +1 -0
- package/icons/arrow-up-circle.svg +1 -0
- package/icons/arrow-up.svg +1 -0
- package/icons/back-alt.svg +1 -0
- package/icons/back-left.svg +1 -0
- package/icons/back-right.svg +1 -0
- package/icons/back.svg +1 -0
- package/icons/bag.svg +1 -0
- package/icons/basket.svg +1 -0
- package/icons/basketball.svg +1 -0
- package/icons/battery-alt.svg +1 -0
- package/icons/battery-charging.svg +1 -0
- package/icons/battery-full.svg +1 -0
- package/icons/battery-low.svg +1 -0
- package/icons/battery-medium.svg +1 -0
- package/icons/battery.svg +1 -0
- package/icons/bell.svg +1 -0
- package/icons/bike.svg +1 -0
- package/icons/bin.svg +1 -0
- package/icons/bluetooth.svg +1 -0
- package/icons/bolt.svg +1 -0
- package/icons/book-opened.svg +1 -0
- package/icons/book.svg +1 -0
- package/icons/bookmark.svg +1 -0
- package/icons/box-alt.svg +1 -0
- package/icons/box-alt2.svg +1 -0
- package/icons/box.svg +1 -0
- package/icons/brightness.svg +1 -0
- package/icons/bug.svg +1 -0
- package/icons/calendar-add.svg +1 -0
- package/icons/calendar-decline.svg +1 -0
- package/icons/calendar-event.svg +1 -0
- package/icons/calendar.svg +1 -0
- package/icons/camera-rear.svg +1 -0
- package/icons/camera.svg +1 -0
- package/icons/cancel.svg +1 -0
- package/icons/car-alt.svg +1 -0
- package/icons/car.svg +1 -0
- package/icons/cards.svg +1 -0
- package/icons/cart-add.svg +1 -0
- package/icons/cart.svg +1 -0
- package/icons/celluar.svg +1 -0
- package/icons/chart.svg +1 -0
- package/icons/chat-add.svg +1 -0
- package/icons/chat-alt.svg +1 -0
- package/icons/chat-remove.svg +1 -0
- package/icons/chat-warning.svg +1 -0
- package/icons/chat.svg +1 -0
- package/icons/checkbox-intermediate.svg +1 -0
- package/icons/checkbox.svg +1 -0
- package/icons/chevron-down.svg +1 -0
- package/icons/chevron-left.svg +1 -0
- package/icons/chevron-right.svg +1 -0
- package/icons/chevron-up.svg +1 -0
- package/icons/chevrons-down.svg +1 -0
- package/icons/chevrons-left.svg +1 -0
- package/icons/chevrons-right.svg +1 -0
- package/icons/chevrons-up.svg +1 -0
- package/icons/circle.svg +1 -0
- package/icons/clip.svg +1 -0
- package/icons/clipboard.svg +1 -0
- package/icons/close.svg +1 -0
- package/icons/cloud-crossed.svg +1 -0
- package/icons/cloud-upload.svg +1 -0
- package/icons/cloud.svg +1 -0
- package/icons/code-alt.svg +1 -0
- package/icons/code.svg +1 -0
- package/icons/coffee.svg +1 -0
- package/icons/colours.svg +1 -0
- package/icons/component.svg +1 -0
- package/icons/contact-book.svg +1 -0
- package/icons/contrast.svg +1 -0
- package/icons/control-centre.svg +1 -0
- package/icons/controls-alt.svg +1 -0
- package/icons/controls-vertical-alt.svg +1 -0
- package/icons/controls.svg +1 -0
- package/icons/copy.svg +1 -0
- package/icons/credit-card.svg +1 -0
- package/icons/crop.svg +1 -0
- package/icons/crossing.svg +1 -0
- package/icons/cup.svg +1 -0
- package/icons/cursor.svg +1 -0
- package/icons/cut.svg +1 -0
- package/icons/danger.svg +1 -0
- package/icons/dashboard.svg +1 -0
- package/icons/delete.svg +1 -0
- package/icons/dialpad.svg +1 -0
- package/icons/diamond.svg +1 -0
- package/icons/direction-left.svg +1 -0
- package/icons/direction-right.svg +1 -0
- package/icons/directions-left.svg +1 -0
- package/icons/directions-right.svg +1 -0
- package/icons/disc.svg +1 -0
- package/icons/dolar.svg +1 -0
- package/icons/download.svg +1 -0
- package/icons/drop.svg +1 -0
- package/icons/ear.svg +1 -0
- package/icons/edit.svg +1 -0
- package/icons/ellypsis-vertical.svg +1 -0
- package/icons/ellypsis.svg +1 -0
- package/icons/entrance.svg +1 -0
- package/icons/envelope-alt.svg +1 -0
- package/icons/envelope.svg +1 -0
- package/icons/error.svg +1 -0
- package/icons/exit.svg +1 -0
- package/icons/explore.svg +1 -0
- package/icons/extension.svg +1 -0
- package/icons/eye-closed.svg +1 -0
- package/icons/eye-crossed.svg +1 -0
- package/icons/eye.svg +1 -0
- package/icons/favourite.svg +1 -0
- package/icons/feather.svg +1 -0
- package/icons/feed.svg +1 -0
- package/icons/file.svg +1 -0
- package/icons/film.svg +1 -0
- package/icons/filter.svg +1 -0
- package/icons/fit.svg +1 -0
- package/icons/flag.svg +1 -0
- package/icons/flower.svg +1 -0
- package/icons/folder-add.svg +1 -0
- package/icons/folder-remove.svg +1 -0
- package/icons/folder-warning.svg +1 -0
- package/icons/folder.svg +1 -0
- package/icons/forward.svg +1 -0
- package/icons/glasses.svg +1 -0
- package/icons/grid-alt.svg +1 -0
- package/icons/grid-small.svg +1 -0
- package/icons/grid.svg +1 -0
- package/icons/hamburger.svg +1 -0
- package/icons/happy-face.svg +1 -0
- package/icons/hash.svg +1 -0
- package/icons/hdr.svg +1 -0
- package/icons/headphones.svg +1 -0
- package/icons/hearing-disability.svg +1 -0
- package/icons/help.svg +1 -0
- package/icons/history.svg +1 -0
- package/icons/home-alt.svg +1 -0
- package/icons/home-alt2.svg +1 -0
- package/icons/home.svg +1 -0
- package/icons/horn.svg +1 -0
- package/icons/hourglass.svg +1 -0
- package/icons/image.svg +1 -0
- package/icons/inbox-alt.svg +1 -0
- package/icons/inbox.svg +1 -0
- package/icons/index.tsx +36 -42
- package/icons/info.svg +1 -0
- package/icons/iphone.svg +1 -0
- package/icons/justify.svg +1 -0
- package/icons/key.svg +1 -0
- package/icons/language.svg +1 -0
- package/icons/laptop.svg +1 -0
- package/icons/layers.svg +1 -0
- package/icons/layout-left.svg +1 -0
- package/icons/layout-right.svg +1 -0
- package/icons/lightbulb.svg +1 -0
- package/icons/line-chart.svg +1 -0
- package/icons/link.svg +1 -0
- package/icons/list-alt.svg +1 -0
- package/icons/list-view.svg +1 -0
- package/icons/list.svg +1 -0
- package/icons/location.svg +1 -0
- package/icons/lock-alt-open.svg +1 -0
- package/icons/lock-alt.svg +1 -0
- package/icons/lock-open.svg +1 -0
- package/icons/lock.svg +1 -0
- package/icons/map.svg +1 -0
- package/icons/marker.svg +1 -0
- package/icons/mask.svg +1 -0
- package/icons/maximise.svg +1 -0
- package/icons/microphone.svg +1 -0
- package/icons/minimise.svg +1 -0
- package/icons/minus.svg +1 -0
- package/icons/moon.svg +1 -0
- package/icons/mouse.svg +1 -0
- package/icons/music.svg +1 -0
- package/icons/mute.svg +1 -0
- package/icons/neutral-face.svg +1 -0
- package/icons/new.svg +1 -0
- package/icons/news.svg +1 -0
- package/icons/next-alt.svg +1 -0
- package/icons/next.svg +1 -0
- package/icons/night-mode.svg +1 -0
- package/icons/no-entry.svg +1 -0
- package/icons/not-allowed.svg +1 -0
- package/icons/notebook.svg +1 -0
- package/icons/octagon.svg +1 -0
- package/icons/ok-circle.svg +1 -0
- package/icons/ok.svg +1 -0
- package/icons/origin.svg +1 -0
- package/icons/pan.svg +1 -0
- package/icons/paperclip.svg +1 -0
- package/icons/pause-circle.svg +1 -0
- package/icons/pause.svg +1 -0
- package/icons/pen.svg +1 -0
- package/icons/people.svg +1 -0
- package/icons/person-add.svg +1 -0
- package/icons/person-alt.svg +1 -0
- package/icons/person.svg +1 -0
- package/icons/phone.svg +1 -0
- package/icons/pie-chart.svg +1 -0
- package/icons/pizza.svg +1 -0
- package/icons/placeholder.svg +1 -0
- package/icons/plane.svg +1 -0
- package/icons/play.svg +1 -0
- package/icons/plus.svg +1 -0
- package/icons/poll.svg +1 -0
- package/icons/power.svg +1 -0
- package/icons/presentation.svg +1 -0
- package/icons/previous-alt.svg +1 -0
- package/icons/previous.svg +1 -0
- package/icons/print.svg +1 -0
- package/icons/qr.svg +1 -0
- package/icons/radio-button-selected.svg +1 -0
- package/icons/radio-button.svg +1 -0
- package/icons/radio.svg +1 -0
- package/icons/rain.svg +1 -0
- package/icons/rectangle.svg +1 -0
- package/icons/redo.svg +1 -0
- package/icons/refresh.svg +1 -0
- package/icons/remove.svg +1 -0
- package/icons/repeat.svg +1 -0
- package/icons/restaurant.svg +1 -0
- package/icons/return.svg +1 -0
- package/icons/retweet.svg +1 -0
- package/icons/rocket.svg +1 -0
- package/icons/rotate.svg +1 -0
- package/icons/rss.svg +1 -0
- package/icons/sad-face.svg +1 -0
- package/icons/save.svg +1 -0
- package/icons/search.svg +1 -0
- package/icons/send.svg +1 -0
- package/icons/settings.svg +1 -0
- package/icons/share-android.svg +1 -0
- package/icons/share-ios.svg +1 -0
- package/icons/share.svg +1 -0
- package/icons/shield.svg +1 -0
- package/icons/shift.svg +1 -0
- package/icons/shuffle.svg +1 -0
- package/icons/sign-language.svg +1 -0
- package/icons/signal-alt.svg +1 -0
- package/icons/signal.svg +1 -0
- package/icons/skull.svg +1 -0
- package/icons/smartphone.svg +1 -0
- package/icons/snow.svg +1 -0
- package/icons/sort-down.svg +1 -0
- package/icons/sort-up.svg +1 -0
- package/icons/sorting.svg +1 -0
- package/icons/sounds.svg +1 -0
- package/icons/spam.svg +1 -0
- package/icons/stack.svg +1 -0
- package/icons/star.svg +1 -0
- package/icons/stats-alt.svg +1 -0
- package/icons/stats.svg +1 -0
- package/icons/sticker.svg +1 -0
- package/icons/stop.svg +1 -0
- package/icons/stopwatch.svg +1 -0
- package/icons/suitcase-alt.svg +1 -0
- package/icons/suitcase.svg +1 -0
- package/icons/sun-cloud.svg +1 -0
- package/icons/sun.svg +1 -0
- package/icons/sunset.svg +1 -0
- package/icons/support-alt.svg +1 -0
- package/icons/support.svg +1 -0
- package/icons/swap-horizontal.svg +1 -0
- package/icons/swap-vertical.svg +1 -0
- package/icons/switch-off.svg +1 -0
- package/icons/switch-on.svg +1 -0
- package/icons/table-horizontal.svg +1 -0
- package/icons/table-vertical.svg +1 -0
- package/icons/tag-alt.svg +1 -0
- package/icons/tag.svg +1 -0
- package/icons/text.svg +1 -0
- package/icons/thermometer.svg +1 -0
- package/icons/thumb-down.svg +1 -0
- package/icons/thumb-up.svg +1 -0
- package/icons/thunder.svg +1 -0
- package/icons/time.svg +1 -0
- package/icons/timer.svg +1 -0
- package/icons/tool.svg +1 -0
- package/icons/train.svg +1 -0
- package/icons/transport.svg +1 -0
- package/icons/trending-down.svg +1 -0
- package/icons/trending-up.svg +1 -0
- package/icons/turn-left.svg +1 -0
- package/icons/turn-right.svg +1 -0
- package/icons/tv.svg +1 -0
- package/icons/typography.svg +1 -0
- package/icons/umbrella.svg +1 -0
- package/icons/undo.svg +1 -0
- package/icons/upload.svg +1 -0
- package/icons/user.svg +1 -0
- package/icons/verified.svg +1 -0
- package/icons/vertical.svg +1 -0
- package/icons/video.svg +1 -0
- package/icons/voicemail.svg +1 -0
- package/icons/volume-loud.svg +1 -0
- package/icons/volume-off.svg +1 -0
- package/icons/volume-quiet.svg +1 -0
- package/icons/walking.svg +1 -0
- package/icons/wallpaper.svg +1 -0
- package/icons/watch.svg +1 -0
- package/icons/wheelchair.svg +1 -0
- package/icons/wifi.svg +1 -0
- package/icons/window.svg +1 -0
- package/icons/wine.svg +1 -0
- package/icons/zoom-in.svg +1 -0
- package/icons/zoom-out.svg +1 -0
- package/index.ts +0 -2
- package/package.json +11 -11
- package/icons/icon_addresses.svg +0 -17
- package/icons/icon_arrow_back.svg +0 -1
- package/icons/icon_arrow_forward.svg +0 -1
- package/icons/icon_box.svg +0 -6
- package/icons/icon_chat.svg +0 -1
- package/icons/icon_checkmark.svg +0 -1
- package/icons/icon_checkmark_green.svg +0 -1
- package/icons/icon_chevron_back.svg +0 -8
- package/icons/icon_chevron_down.svg +0 -8
- package/icons/icon_chevron_left.svg +0 -8
- package/icons/icon_chevron_right.svg +0 -8
- package/icons/icon_chevron_up.svg +0 -8
- package/icons/icon_close.svg +0 -6
- package/icons/icon_close_circle.svg +0 -1
- package/icons/icon_customer_service.svg +0 -6
- package/icons/icon_email.svg +0 -1
- package/icons/icon_email_outline.svg +0 -6
- package/icons/icon_fullscreen.svg +0 -1
- package/icons/icon_fullscreen_exit.svg +0 -1
- package/icons/icon_heart.svg +0 -15
- package/icons/icon_home.svg +0 -6
- package/icons/icon_id.svg +0 -6
- package/icons/icon_invoice_red.svg +0 -7
- package/icons/icon_location_red.svg +0 -7
- package/icons/icon_lock.svg +0 -6
- package/icons/icon_menu.svg +0 -1
- package/icons/icon_min.svg +0 -1
- package/icons/icon_newspaper.svg +0 -6
- package/icons/icon_party.svg +0 -7
- package/icons/icon_person.svg +0 -6
- package/icons/icon_person_alt.svg +0 -6
- package/icons/icon_person_alt_big.svg +0 -15
- package/icons/icon_phone.svg +0 -1
- package/icons/icon_plus.svg +0 -1
- package/icons/icon_sad_face.svg +0 -11
- package/icons/icon_sad_shoppingbag.svg +0 -16
- package/icons/icon_search.svg +0 -1
- package/icons/icon_shopping_bag.svg +0 -7
- package/icons/icon_shutdown.svg +0 -6
- package/icons/icon_star.svg +0 -6
- package/icons/icon_star_filled_muted.svg +0 -6
- package/icons/icon_star_yellow.svg +0 -6
- package/useIntersectionObserver/index.tsx +0 -31
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { ContainerProps, makeStyles, Theme } from '@material-ui/core'
|
|
2
|
-
import { m, useSpring, useTransform, useViewportScroll } from 'framer-motion'
|
|
3
|
-
import React, { useEffect, useRef, useState } from 'react'
|
|
4
2
|
import Row from '..'
|
|
5
3
|
import { UseStyles } from '../../Styles'
|
|
6
4
|
|
|
@@ -32,7 +30,7 @@ const useStyles = makeStyles(
|
|
|
32
30
|
},
|
|
33
31
|
},
|
|
34
32
|
copy: {
|
|
35
|
-
color:
|
|
33
|
+
color: theme.palette.secondary.contrastText,
|
|
36
34
|
display: 'grid',
|
|
37
35
|
zIndex: 1,
|
|
38
36
|
justifyItems: 'start',
|
|
@@ -54,7 +52,9 @@ const useStyles = makeStyles(
|
|
|
54
52
|
},
|
|
55
53
|
},
|
|
56
54
|
slidingItems: {
|
|
57
|
-
|
|
55
|
+
'& > *': {
|
|
56
|
+
height: 'auto !important',
|
|
57
|
+
},
|
|
58
58
|
},
|
|
59
59
|
}),
|
|
60
60
|
{ name: 'ParagraphWithSidebarSlide' },
|
|
@@ -71,33 +71,6 @@ export default function ParagraphWithSidebarSlide(props: ParagraphWithSidebarSli
|
|
|
71
71
|
const { background, slidingItems, children, ...containerProps } = props
|
|
72
72
|
const classes = useStyles(props)
|
|
73
73
|
|
|
74
|
-
const [windowHeight, setHeight] = useState(0)
|
|
75
|
-
const [itemY, setItemY] = useState(0)
|
|
76
|
-
const [parentHeight, setParentHeight] = useState(0)
|
|
77
|
-
const sidebar = useRef<HTMLDivElement>(null)
|
|
78
|
-
|
|
79
|
-
useEffect(() => {
|
|
80
|
-
if (!sidebar.current) return () => {}
|
|
81
|
-
const ro = new ResizeObserver(([entry]) => {
|
|
82
|
-
if (entry.target instanceof HTMLElement) {
|
|
83
|
-
setParentHeight(entry.target.offsetHeight)
|
|
84
|
-
setHeight(window.innerHeight)
|
|
85
|
-
setItemY(entry.target.offsetTop)
|
|
86
|
-
}
|
|
87
|
-
})
|
|
88
|
-
ro.observe(sidebar.current)
|
|
89
|
-
return () => ro.disconnect()
|
|
90
|
-
}, [])
|
|
91
|
-
|
|
92
|
-
const { scrollY } = useViewportScroll()
|
|
93
|
-
const y = useSpring(
|
|
94
|
-
useTransform(
|
|
95
|
-
scrollY,
|
|
96
|
-
[itemY - windowHeight / 4, itemY + windowHeight / 2],
|
|
97
|
-
[0, parentHeight > windowHeight / 2 ? windowHeight / 2 : 0],
|
|
98
|
-
),
|
|
99
|
-
)
|
|
100
|
-
|
|
101
74
|
return (
|
|
102
75
|
<Row maxWidth={false} {...containerProps}>
|
|
103
76
|
<div className={classes.wrapper}>
|
|
@@ -105,9 +78,7 @@ export default function ParagraphWithSidebarSlide(props: ParagraphWithSidebarSli
|
|
|
105
78
|
<div className={classes.copy}>{children}</div>
|
|
106
79
|
{background}
|
|
107
80
|
</div>
|
|
108
|
-
<
|
|
109
|
-
{slidingItems}
|
|
110
|
-
</m.div>
|
|
81
|
+
<div className={classes.slidingItems}>{slidingItems}</div>
|
|
111
82
|
</div>
|
|
112
83
|
</Row>
|
|
113
84
|
)
|
package/Row/index.tsx
CHANGED
|
@@ -2,10 +2,7 @@ import { Container, styled } from '@material-ui/core'
|
|
|
2
2
|
|
|
3
3
|
const Row = styled(Container)(
|
|
4
4
|
({ theme }) => ({
|
|
5
|
-
marginBottom: theme.spacings.
|
|
6
|
-
[theme.breakpoints.up('md')]: {
|
|
7
|
-
marginBottom: `${theme.spacings.xl}`,
|
|
8
|
-
},
|
|
5
|
+
marginBottom: theme.spacings.xl,
|
|
9
6
|
}),
|
|
10
7
|
{ name: 'Row' },
|
|
11
8
|
)
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { makeStyles, Theme } from '@material-ui/core'
|
|
2
2
|
import { Rating, RatingProps } from '@material-ui/lab'
|
|
3
3
|
import React from 'react'
|
|
4
|
+
import { SvgImageSimple } from '..'
|
|
4
5
|
import SvgImage from '../SvgImage'
|
|
5
|
-
import {
|
|
6
|
+
import { iconStar } from '../icons'
|
|
6
7
|
|
|
7
8
|
export type StarRatingFieldProps = {
|
|
8
9
|
id?: string
|
|
@@ -12,9 +13,15 @@ export type StarRatingFieldProps = {
|
|
|
12
13
|
|
|
13
14
|
const useStyles = makeStyles(
|
|
14
15
|
(theme: Theme) => ({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
iconStar: {
|
|
17
|
+
fill: '#FFDA1C',
|
|
18
|
+
stroke: '#FFDA1C',
|
|
19
|
+
margin: 3,
|
|
20
|
+
},
|
|
21
|
+
iconStarEmpty: {
|
|
22
|
+
fill: theme.palette.text.disabled,
|
|
23
|
+
stroke: theme.palette.text.disabled,
|
|
24
|
+
margin: 3,
|
|
18
25
|
},
|
|
19
26
|
}),
|
|
20
27
|
{
|
|
@@ -32,22 +39,15 @@ export default function StarRatingField(props: StarRatingFieldProps) {
|
|
|
32
39
|
max={5}
|
|
33
40
|
size='small'
|
|
34
41
|
emptyIcon={
|
|
35
|
-
<
|
|
36
|
-
src={
|
|
37
|
-
size={iconSize}
|
|
42
|
+
<SvgImageSimple
|
|
43
|
+
src={iconStar}
|
|
38
44
|
alt='star'
|
|
39
45
|
loading='eager'
|
|
40
|
-
|
|
46
|
+
className={classes.iconStarEmpty}
|
|
41
47
|
/>
|
|
42
48
|
}
|
|
43
49
|
icon={
|
|
44
|
-
<
|
|
45
|
-
src={iconStarYellow}
|
|
46
|
-
size={iconSize}
|
|
47
|
-
alt='star'
|
|
48
|
-
loading='eager'
|
|
49
|
-
classes={{ root: classes.icon }}
|
|
50
|
-
/>
|
|
50
|
+
<SvgImageSimple src={iconStar} alt='star' loading='eager' className={classes.iconStar} />
|
|
51
51
|
}
|
|
52
52
|
onChange={(event, value) => {
|
|
53
53
|
onChange(id ?? '', value ?? 0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Image, ImageProps } from '@graphcommerce/image'
|
|
1
|
+
import { Image, ImageProps, isStaticImport, isStaticRequire } from '@graphcommerce/image'
|
|
2
2
|
import { makeStyles, capitalize, Theme } from '@material-ui/core'
|
|
3
3
|
import clsx from 'clsx'
|
|
4
4
|
import { forwardRef } from 'react'
|
|
@@ -9,47 +9,75 @@ export type SvgImageShade = 'muted' | 'default' | 'inverted'
|
|
|
9
9
|
const useStyles = makeStyles(
|
|
10
10
|
(theme: Theme) => ({
|
|
11
11
|
image: {
|
|
12
|
-
display: 'block',
|
|
13
|
-
flexShrink: 0,
|
|
14
12
|
userSelect: 'none',
|
|
15
|
-
width: 24,
|
|
16
|
-
height:
|
|
13
|
+
width: responsiveVal(22, 24),
|
|
14
|
+
height: responsiveVal(22, 24),
|
|
15
|
+
strokeWidth: 1.8,
|
|
16
|
+
strokeLinecap: 'square',
|
|
17
|
+
strokeLinejoin: 'miter',
|
|
18
|
+
stroke: theme.palette.text.primary,
|
|
19
|
+
fill: 'none',
|
|
17
20
|
},
|
|
18
|
-
/* Styles applied to the element if `size='inherit'`. */
|
|
19
21
|
sizeInherit: {
|
|
20
22
|
fontSize: 'inherit',
|
|
21
23
|
},
|
|
22
|
-
/* Styles applied to the element if `size='small'`. */
|
|
23
24
|
sizeSmall: {
|
|
24
|
-
width:
|
|
25
|
+
width: responsiveVal(13, 16),
|
|
26
|
+
height: responsiveVal(13, 16),
|
|
27
|
+
strokeWidth: 2.3,
|
|
25
28
|
},
|
|
26
|
-
/* Styles applied to the element if `size='large'`. */
|
|
27
29
|
sizeLarge: {
|
|
28
|
-
width: responsiveVal(
|
|
30
|
+
width: responsiveVal(24, 28),
|
|
31
|
+
height: responsiveVal(24, 28),
|
|
32
|
+
strokeWidth: 1.4,
|
|
33
|
+
},
|
|
34
|
+
sizeXl: {
|
|
35
|
+
width: responsiveVal(38, 42),
|
|
36
|
+
height: responsiveVal(38, 42),
|
|
37
|
+
strokeWidth: 1.8,
|
|
38
|
+
},
|
|
39
|
+
sizeXxl: {
|
|
40
|
+
width: responsiveVal(96, 148),
|
|
41
|
+
height: responsiveVal(96, 148),
|
|
42
|
+
strokeWidth: 1,
|
|
43
|
+
},
|
|
44
|
+
muted: {
|
|
45
|
+
stroke: theme.palette.text.disabled,
|
|
46
|
+
},
|
|
47
|
+
inverted: {
|
|
48
|
+
stroke: theme.palette.background.default,
|
|
29
49
|
},
|
|
30
|
-
muted: { filter: `invert(75%)` },
|
|
31
|
-
inverted: { filter: `invert(100%)` },
|
|
32
50
|
}),
|
|
33
51
|
{ name: 'SvgImageSimple' },
|
|
34
52
|
)
|
|
35
53
|
|
|
36
54
|
type SvgImageSimpleProps = Omit<ImageProps, 'fixed'> & {
|
|
37
55
|
/** The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size. */
|
|
38
|
-
size?: 'default' | 'inherit' | 'large' | 'medium' | 'small'
|
|
39
|
-
|
|
56
|
+
size?: 'default' | 'inherit' | 'xxl' | 'xl' | 'large' | 'medium' | 'small'
|
|
57
|
+
fill?: boolean
|
|
40
58
|
muted?: boolean
|
|
41
59
|
inverted?: boolean
|
|
42
60
|
}
|
|
43
61
|
|
|
44
62
|
const SvgImageSimple = forwardRef<HTMLImageElement, SvgImageSimpleProps>((props, ref) => {
|
|
45
|
-
const {
|
|
63
|
+
const {
|
|
64
|
+
className,
|
|
65
|
+
size = 'medium',
|
|
66
|
+
muted,
|
|
67
|
+
inverted,
|
|
68
|
+
fill,
|
|
69
|
+
layout = 'fixed',
|
|
70
|
+
...imageProps
|
|
71
|
+
} = props
|
|
46
72
|
const classes = useStyles()
|
|
47
73
|
|
|
74
|
+
let src = imageProps.src
|
|
75
|
+
let staticSrc = ''
|
|
76
|
+
if (isStaticImport(src)) staticSrc = (isStaticRequire(src) ? src.default : src).src
|
|
77
|
+
src = typeof src === 'string' ? src : staticSrc
|
|
78
|
+
|
|
48
79
|
return (
|
|
49
|
-
<
|
|
50
|
-
{...imageProps}
|
|
51
|
-
ref={ref}
|
|
52
|
-
layout={layout}
|
|
80
|
+
<svg
|
|
53
81
|
className={clsx(
|
|
54
82
|
className,
|
|
55
83
|
classes.image,
|
|
@@ -57,8 +85,10 @@ const SvgImageSimple = forwardRef<HTMLImageElement, SvgImageSimpleProps>((props,
|
|
|
57
85
|
muted && classes.muted,
|
|
58
86
|
inverted && classes.inverted,
|
|
59
87
|
)}
|
|
60
|
-
|
|
61
|
-
|
|
88
|
+
aria-hidden='true'
|
|
89
|
+
>
|
|
90
|
+
<use href={`${src}#icon`}></use>
|
|
91
|
+
</svg>
|
|
62
92
|
)
|
|
63
93
|
})
|
|
64
94
|
SvgImageSimple.displayName = 'SvgImageSimple'
|
|
@@ -13,6 +13,7 @@ import React, { ChangeEvent, Ref, useCallback, useEffect, useRef, useState } fro
|
|
|
13
13
|
import { UseStyles } from '../Styles'
|
|
14
14
|
import responsiveVal from '../Styles/responsiveVal'
|
|
15
15
|
import SvgImage from '../SvgImage'
|
|
16
|
+
import SvgImageSimple from '../SvgImage/SvgImageSimple'
|
|
16
17
|
import { iconMin, iconPlus } from '../icons'
|
|
17
18
|
|
|
18
19
|
const useStyles = makeStyles(
|
|
@@ -133,7 +134,7 @@ export default function TextInputNumber(props: TextInputNumberProps) {
|
|
|
133
134
|
{...DownProps}
|
|
134
135
|
>
|
|
135
136
|
{DownProps.children ?? (
|
|
136
|
-
<
|
|
137
|
+
<SvgImageSimple src={iconMin} size='small' alt='Step down' loading='eager' />
|
|
137
138
|
)}
|
|
138
139
|
</IconButton>
|
|
139
140
|
),
|
|
@@ -151,7 +152,7 @@ export default function TextInputNumber(props: TextInputNumberProps) {
|
|
|
151
152
|
{...UpProps}
|
|
152
153
|
>
|
|
153
154
|
{UpProps.children ?? (
|
|
154
|
-
<
|
|
155
|
+
<SvgImageSimple src={iconPlus} size='small' alt='Step up' loading='eager' />
|
|
155
156
|
)}
|
|
156
157
|
</IconButton>
|
|
157
158
|
),
|
package/Theme/types.ts
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
export {}
|
|
2
2
|
|
|
3
3
|
declare module '@material-ui/core/styles/createPalette' {
|
|
4
|
-
// interface PaletteOptions {
|
|
5
|
-
// tertiary: PaletteColorOptions
|
|
6
|
-
// }
|
|
7
|
-
// interface Palette {
|
|
8
|
-
// tertiary: PaletteColor & ColorPartial
|
|
9
|
-
// }
|
|
10
|
-
|
|
11
|
-
interface SimplePaletteColorOptions {
|
|
12
|
-
mutedText: string
|
|
13
|
-
}
|
|
14
|
-
interface PaletteColor {
|
|
15
|
-
mutedText: string
|
|
16
|
-
}
|
|
17
4
|
interface TypeBackground {
|
|
18
5
|
highlight: string
|
|
19
6
|
}
|
package/Title/index.tsx
CHANGED
|
@@ -3,6 +3,7 @@ import clsx from 'clsx'
|
|
|
3
3
|
import React from 'react'
|
|
4
4
|
import { UseStyles } from '../Styles'
|
|
5
5
|
import SvgImage, { SvgImageProps } from '../SvgImage'
|
|
6
|
+
import SvgImageSimple from '../SvgImage/SvgImageSimple'
|
|
6
7
|
|
|
7
8
|
const useStyles = makeStyles(
|
|
8
9
|
(theme: Theme) => ({
|
|
@@ -47,15 +48,7 @@ const Title = React.forwardRef<HTMLDivElement, TitleProps>((props, ref) => {
|
|
|
47
48
|
|
|
48
49
|
return (
|
|
49
50
|
<div className={clsx(classes.container, small && classes.small)}>
|
|
50
|
-
{icon &&
|
|
51
|
-
<SvgImage
|
|
52
|
-
src={icon}
|
|
53
|
-
size={small ? 30 : 56}
|
|
54
|
-
mobileSize={small ? 20 : 56}
|
|
55
|
-
loading='eager'
|
|
56
|
-
classes={{ root: small ? undefined : classes.icon }}
|
|
57
|
-
/>
|
|
58
|
-
)}
|
|
51
|
+
{icon && <SvgImageSimple src={icon} loading='eager' size='xl' />}
|
|
59
52
|
<Typography
|
|
60
53
|
ref={ref}
|
|
61
54
|
variant={variant || (small ? 'h6' : 'h3')}
|
package/UspList/UspListItem.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { makeStyles, Theme } from '@material-ui/core'
|
|
2
2
|
import clsx from 'clsx'
|
|
3
3
|
import React from 'react'
|
|
4
|
+
import { responsiveVal } from '..'
|
|
4
5
|
import { UseStyles } from '../Styles'
|
|
5
6
|
|
|
6
7
|
const useStyles = makeStyles(
|
|
@@ -8,20 +9,26 @@ const useStyles = makeStyles(
|
|
|
8
9
|
root: {
|
|
9
10
|
display: 'grid',
|
|
10
11
|
gridAutoFlow: 'column',
|
|
11
|
-
maxWidth: 'max-content',
|
|
12
12
|
alignItems: 'center',
|
|
13
|
-
gridTemplateColumns:
|
|
14
|
-
},
|
|
15
|
-
gap: {
|
|
13
|
+
gridTemplateColumns: `${responsiveVal(22, 32)} auto`,
|
|
16
14
|
gap: theme.spacings.xs,
|
|
15
|
+
'& > p': {
|
|
16
|
+
...theme.typography.body2,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
icon: {
|
|
20
|
+
'& > * > img': {
|
|
21
|
+
display: 'block',
|
|
22
|
+
},
|
|
17
23
|
},
|
|
18
|
-
|
|
24
|
+
smallCopy: {
|
|
19
25
|
'& > p': {
|
|
20
|
-
|
|
26
|
+
...theme.typography.body2,
|
|
21
27
|
},
|
|
22
28
|
},
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
smallIcons: {
|
|
30
|
+
gridTemplateColumns: `${responsiveVal(10, 14)} auto`,
|
|
31
|
+
gap: theme.spacings.xxs,
|
|
25
32
|
},
|
|
26
33
|
}),
|
|
27
34
|
{ name: 'UspListItem' },
|
|
@@ -38,9 +45,9 @@ export default function UspListItem(props: UspListItemProps) {
|
|
|
38
45
|
const classes = useStyles()
|
|
39
46
|
|
|
40
47
|
return (
|
|
41
|
-
<li className={clsx(classes.root, size === '
|
|
42
|
-
<div>{icon}</div>
|
|
43
|
-
<div className={classes
|
|
48
|
+
<li className={clsx(classes.root, size === 'small' && classes.smallIcons)}>
|
|
49
|
+
<div className={classes.icon}>{icon}</div>
|
|
50
|
+
<div className={clsx(size === 'small' && classes.smallCopy)}>{text}</div>
|
|
44
51
|
</li>
|
|
45
52
|
)
|
|
46
53
|
}
|
package/UspList/index.tsx
CHANGED
|
@@ -11,9 +11,10 @@ const useStyles = makeStyles(
|
|
|
11
11
|
margin: 0,
|
|
12
12
|
display: 'grid',
|
|
13
13
|
alignContent: 'start',
|
|
14
|
+
rowGap: theme.spacings.xs,
|
|
14
15
|
},
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
small: {
|
|
17
|
+
rowGap: 3,
|
|
17
18
|
},
|
|
18
19
|
}),
|
|
19
20
|
{ name: 'UspList' },
|
|
@@ -28,5 +29,5 @@ export default function UspList(props: UspListProps) {
|
|
|
28
29
|
const { children, size } = props
|
|
29
30
|
const classes = useStyles()
|
|
30
31
|
|
|
31
|
-
return <ul className={clsx(classes.root, size
|
|
32
|
+
return <ul className={clsx(classes.root, size === 'small' && classes.small)}>{children}</ul>
|
|
32
33
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" xmlns="http://www.w3.org/2000/svg" aria-labelledby="accessibilityHumanIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="accessibilityHumanIconTitle">Accessibility features</title> <symbol id="icon" viewBox="0 0 24 24"> <circle cx="12" cy="3" r="1"/> <path d="M16 21L12 13M12 13V7M12 13L8 21M12 7L18 9M12 7L6 9"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" xmlns="http://www.w3.org/2000/svg" aria-labelledby="accessibilityIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="accessibilityIconTitle">A11Y (accessibility)</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M2 16L2.8 14M6 16L5.2 14M5.2 14L4 11L2.8 14M5.2 14H2.8"/> <path d="M20 13L22 10M20 13L18 10M20 13L20 16"/> <path d="M8 12L10 10V16"/> <path d="M13 12L15 10V16"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="activityIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="activityIconTitle">Activity</title> <symbol id="icon" viewBox="0 0 24 24"> <polyline points="21 14 18 14 15 7 10 17 7 11 5 14 3 14"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" fill="none" xmlns="http://www.w3.org/2000/svg" aria-labelledby="addToListIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" color="#2329D6"> <title id="addToListIconTitle">Add To List</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M6 10H18"/> <path d="M6 6H18"/> <path d="M6 14H10"/> <path d="M14 16H18"/> <path d="M16 14L16 18"/> <path d="M6 18H10"/> </symbol></svg>
|
package/icons/add.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="addIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="addIconTitle">Add</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M17 12L7 12M12 17L12 7"/> <circle cx="12" cy="12" r="10"/> </symbol></svg>
|
package/icons/alarm.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="alarmIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="alarmIconTitle">Alarm</title> <symbol id="icon" viewBox="0 0 24 24"> <circle cx="12" cy="13" r="9"/> <polyline points="12 8 12 13 15 16"/> <path d="M19 2L22 5M2 5L5 2"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="alignCenterIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="alignCenterIconTitle">Align Center</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M8 10L16 10M6 6L18 6M6 14L18 14M8 18L16 18"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="alignLeftIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="alignLeftIconTitle">Align Left</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M6 10L14 10M6 6L18 6M6 14L18 14M6 18L14 18"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="alignRightIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="alignRightIconTitle">Align Right</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M10 10h8M6 6h12M6 14h12m-8 4h8"/> </symbol></svg>
|
package/icons/anchor.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="anchorIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="anchorIconTitle">Anchor</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M12 20L12 7M9 10L15 10"/> <circle cx="12" cy="5" r="2"/> <path d="M20,14 C18.6666667,18 16,20 12,20 C8,20 5.33333333,18 4,14"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="apertureIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="apertureIconTitle">Aperture</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"/> <g stroke-linecap="round"> <path d="M3 16H14.3164"/> <path d="M4.03589 6.20575L9.68257 15.9861"/> <path d="M13.0359 2.20575L7.37891 12.004"/> <path d="M10.9641 21.7942L16.6146 12.0074"/> <path d="M19.9641 17.7942L14.3086 7.99866"/> <path d="M21 7.98721H9.71844"/> </g> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" xmlns="http://www.w3.org/2000/svg" aria-labelledby="appsAltIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="appsAltIconTitle">Apps drawer</title> <symbol id="icon" viewBox="0 0 24 24"> <rect x="5" y="5" width="2" height="2"/> <rect x="11" y="5" width="2" height="2"/> <rect x="17" y="5" width="2" height="2"/> <rect x="5" y="11" width="2" height="2"/> <rect x="11" y="11" width="2" height="2"/> <rect x="17" y="11" width="2" height="2"/> <rect x="5" y="17" width="2" height="2"/> <rect x="11" y="17" width="2" height="2"/> <rect x="17" y="17" width="2" height="2"/> </symbol></svg>
|
package/icons/apps.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" xmlns="http://www.w3.org/2000/svg" aria-labelledby="appsIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="appsIconTitle">Apps drawer</title> <symbol id="icon" viewBox="0 0 24 24"> <circle cx="6" cy="6" r="1"/> <circle cx="12" cy="6" r="1"/> <circle cx="18" cy="6" r="1"/> <circle cx="6" cy="12" r="1"/> <circle cx="12" cy="12" r="1"/> <circle cx="18" cy="12" r="1"/> <circle cx="6" cy="18" r="1"/> <circle cx="12" cy="18" r="1"/> <circle cx="18" cy="18" r="1"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="circleArrowDownIconTitle" fill="none" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" color="#2329D6"> <title id="circleArrowDownIconTitle">Arrow Down</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M15 13.5l-3 3-3-3"/> <path d="M12 15V7.5"/> <path stroke-linecap="round" d="M12 16.5V15v1.5z"/> <circle cx="12" cy="12" r="10"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowDownIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowDownIconTitle">Arrow Down</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M6 15l6 6 6-6"/> <path d="M12 3v17"/> <path stroke-linecap="round" d="M12 21v-1"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowLeftBottomIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowLeftBottomIconTitle">Arrow Left Bottom</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M5 11v8h8"/> <path stroke-linecap="round" d="M5 19l1-1"/> <path d="M6 18L19 5"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="circleArrowLeftIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="circleArrowLeftIconTitle">Arrow Left</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M10.5 15l-3-3 3-3"/> <path d="M16.5 12H9"/> <path stroke-linecap="round" d="M7.5 12H9"/> <circle cx="12" cy="12" r="10"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowLeftTopIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowLeftTopIconTitle"/> <path d="M5 13V5h8"/> <path stroke-linecap="round" d="M5 5l1 1"/> <path d="M6 6l13 13"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowLeftIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowLeftIconTitle">Arrow Left</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M9 6l-6 6 6 6"/> <path d="M21 12H4"/> <path stroke-linecap="round" d="M3 12h1"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowRightBottomIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowRightBottomIconTitle">Arrow Right Bottom</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M19 11v8h-8"/> <path stroke-linecap="round" d="M19 19l-1-1"/> <path d="M18 18L5 5"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="circleArrowRightIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="circleArrowRightIconTitle">Arrow Right</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M13.5 9l3 3-3 3"/> <path d="M7.5 12H15"/> <path stroke-linecap="round" d="M16.5 12H15"/> <circle cx="12" cy="12" r="10"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowRightTopIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowRightTopIconTitle">Arrow Right Top</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M19 13V5h-8"/> <path stroke-linecap="round" d="M19 5l-1 1"/> <path d="M18 6L5 19"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowRightIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowRightIconTitle">Arrow Right</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M15 18l6-6-6-6"/> <path d="M3 12h17"/> <path stroke-linecap="round" d="M21 12h-1"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowUpIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowUpIconTitle">Arrow Up</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M9 10.5l3-3 3 3"/> <path d="M12 16.5V9"/> <path stroke-linecap="round" d="M12 7.5V9"/> <circle cx="12" cy="12" r="10"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="arrowUpIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="arrowUpIconTitle">Arrow Up</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M18 9l-6-6-6 6"/> <path d="M12 21V4"/> <path stroke-linecap="round" d="M12 3v1"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="backAltIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="backAltIconTitle">Back</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M4 12l15-9v18z"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="backLeftIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="backLeftIconTitle">Turn back</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M5,17 L5,15 C5,10.0294373 8.80557963,6 13.5,6 C18.1944204,6 22,10.0294373 22,15"/> <polyline points="8 15 5 18 2 15"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="backRightIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="backRightIconTitle">Turn Back</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M19,17 L19,15 C19,10.0294373 15.1944204,6 10.5,6 C5.80557963,6 2,10.0294373 2,15"/> <polyline points="16 15 19 18 22 15"/> </symbol></svg>
|
package/icons/back.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="backIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="backIconTitle">Backwards</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M14 14.74L21 19V5l-7 4.26V5L2 12l12 7v-4.26z"/> </symbol></svg>
|
package/icons/bag.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="bagIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="bagIconTitle">Bag</title> <symbol id="icon" viewBox="0 0 24 24"><rect width="14" height="12" x="5" y="7"/> <path d="M8 7a4 4 0 1 1 8 0"/> </symbol></svg>
|
package/icons/basket.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="basketIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="basketIconTitle">Basket</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M14 4l6 6-1.372 9H5.372L4 10l6-6"/> <path stroke-linecap="round" d="M4 10h16"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" fill="none" xmlns="http://www.w3.org/2000/svg" aria-labelledby="basketballIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" color="#2329D6"> <title id="basketballIconTitle">Basketball</title> <symbol id="icon" viewBox="0 0 24 24"> <g stroke-linecap="butt"> <path d="M3.00476 7.71673C6.03818 6.81589 9.99791 7.74841 13.2448 10.4315C16.5425 13.1566 18.2053 16.9442 17.8244 20.1241"/> <path d="M10.102 21.7996C9.33937 19.3589 10.0106 15.6137 12.0776 12.0335C14.1385 8.46402 17.0351 6.01413 19.5251 5.44463"/> <path d="M11.4419 2C11.2615 3.94419 10.5157 6.2298 9.22541 8.46468C7.29158 11.8142 4.64753 14.1615 2.40135 14.7854"/> </g> <circle cx="12" cy="12" r="10"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="batteryAltIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="batteryAltIconTitle">Battery</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M14 3h-4"/> <path d="M6 4v17h12V4z"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="batteryChargingIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="batteryChargingIconTitle">BatteryCharging</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M21 14v-4"/> <path d="M20 6H4v12h16z"/> <polyline points="12 9 14 12 10 12 12 15"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="batteryFullIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="batteryFullIconTitle">Battery Full</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M21 14v-4"/> <path d="M20 6H4v12h16z"/> <path d="M12 14v-4m4 4v-4m-8 4v-4"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="batteryLowIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="batteryLowIconTitle">Battery Low</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M21 14v-4"/> <path d="M20 6H4v12h16z"/> <path d="M8 14v-4"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="batteryMediumIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="batteryMediumIconTitle">Battery 66%</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M21 14v-4"/> <path d="M20 6H4v12h16z"/> <path d="M12 14v-4m-4 4v-4"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="batteryIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="batteryIconTitle">Battery</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M21 14v-4"/> <path d="M20 6H4v12h16z"/> </symbol></svg>
|
package/icons/bell.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="bellIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="bellIconTitle">Bell</title> <symbol id="icon" viewBox="0 0 24 24"> <path stroke-linejoin="round" d="M10.5,4.5 C12.1666667,4.5 13.8333333,4.5 15.5,4.5 C17.5,4.5 18.8333333,3.83333333 19.5,2.5 L19.5,18.5 C18.8333333,17.1666667 17.5,16.5 15.5,16.5 C13.8333333,16.5 12.1666667,16.5 10.5,16.5 L10.5,16.5 C7.1862915,16.5 4.5,13.8137085 4.5,10.5 L4.5,10.5 C4.5,7.1862915 7.1862915,4.5 10.5,4.5 Z" transform="rotate(90 12 10.5)"/> <path d="M11,21 C12.1045695,21 13,20.1045695 13,19 C13,17.8954305 12.1045695,17 11,17" transform="rotate(90 12 19)"/> </symbol></svg>
|
package/icons/bike.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="48px" height="48px" fill="none" xmlns="http://www.w3.org/2000/svg" aria-labelledby="bikeIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" color="#2329D6"> <title id="bikeIconTitle">Bike</title> <symbol id="icon" viewBox="0 0 24 24"> <circle cx="14" cy="6" r="1"/> <path d="M12 18V14L9 12L12 9L14 11L16 12"/> <circle cx="6" cy="17" r="3"/> <circle cx="18" cy="17" r="3"/> </symbol></svg>
|
package/icons/bin.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="binIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="binIconTitle">Bin</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M19 6L5 6M14 5L10 5M6 10L6 20C6 20.6666667 6.33333333 21 7 21 7.66666667 21 11 21 17 21 17.6666667 21 18 20.6666667 18 20 18 19.3333333 18 16 18 10"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="bluetoothIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="bluetoothIconTitle">Bluetooth</title> <symbol id="icon" viewBox="0 0 24 24"> <polyline points="7 17 17 7 12 2 12 22 17 17 7 7"/> </symbol></svg>
|
package/icons/bolt.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="boltIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="boltIconTitle">Bolt</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M5 14l8-11v7h5l-8 11v-7z"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="bookOpenedIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="bookOpenedIconTitle">Book</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M12 6s-2-2-4-2-5 2-5 2v14s3-2 5-2 4 2 4 2c1.333-1.333 2.667-2 4-2 1.333 0 3 .667 5 2V6c-2-1.333-3.667-2-5-2-1.333 0-2.667.667-4 2z"/> <path stroke-linecap="round" d="M12 6v14"/> </symbol></svg>
|
package/icons/book.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="bookIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="bookIconTitle">Book</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M19 3v18H8a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h11z"/> <path d="M5 18a3 3 0 0 1 3-3h11"/> </symbol></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" aria-labelledby="bookmarkIconTitle" stroke="#2329D6" stroke-width="1" stroke-linecap="square" stroke-linejoin="miter" fill="none" color="#2329D6"> <title id="bookmarkIconTitle">Bookmark</title> <symbol id="icon" viewBox="0 0 24 24"> <path d="M17,6.65881537 L17,19.5857864 L12,16.4078051 L7,19.5857864 L7,6.65881537 C7,5.19039219 8.11928813,4 9.5,4 L14.5,4 C15.8807119,4 17,5.19039219 17,6.65881537 Z"/> </symbol></svg>
|