Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
LMO-2052 | New icons (#407)
Browse files Browse the repository at this point in the history
* Add new icons for LMO-2052

* Version changed to 7.23.0
  • Loading branch information
chrisfls committed Jun 8, 2022
1 parent aafeff5 commit 3919cf4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "PaackEng/paack-ui",
"summary": "Paack's Design System applied over Elm UI",
"license": "BSD-3-Clause",
"version": "7.22.0",
"version": "7.23.0",
"exposed-modules": [
"UI.Alert",
"UI.Analytics",
Expand Down
2 changes: 2 additions & 0 deletions showcase/src/Icons.elm
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ icons =
, ( Icon.arrowShapeUp, "arrowShapeUp" )
, ( Icon.arrowCurveLeft, "arrowCurveLeft" )
, ( Icon.arrowDown, "arrowDown" )
, ( Icon.arrowDownBold, "arrowDownBold" )
, ( Icon.arrowLeft, "arrowLeft" )
, ( Icon.arrowRight, "arrowRight" )
, ( Icon.arrowUp, "arrowUp" )
, ( Icon.arrowUpBoldNegative, "arrowUpBoldNegative" )
, ( Icon.bell, "bell" )
, ( Icon.bicycle, "bicycle" )
, ( Icon.bike, "bike" )
Expand Down
24 changes: 22 additions & 2 deletions src/UI/Icon.elm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module UI.Icon exposing
( svgSpriteImport
, Icon
, addCircle, add, arrowCurveLeft, arrowDown, arrowLeft, arrowRight, arrowShapeUp, arrowUp, bell, bicycle, bike, bluetooth, boltDisabled, bolt, boxFilled, boxOutlined, boxesFilled, boxesOutlined, calendar, camera, car, cellular, checkmarkCircle, checkmarkRoundedRectangle, checkmark, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clockIssue, clockLocked, clock, closeCircle, closeRoundedRectangle, close, coins, collapse, crosshair, currencyNote, directions, download, eBike, eCar, eVan, edit, ellipsis, emailFill, emailOutline, empty, expand, eyeHide, eye, filter, firstPage, fix, flag, folder, food, frozen, gVan, grocery, groups, hamburger, hand, home, hourglass, info, keys, lastPage, legacyApis, legacyHistorical, legacyLabelPrinter, legacyReport, legacyRetailerDashboard, legacySignOut, list, location, lock, logout, map, mapPinRadius, mapPin, messageLock, messageOTP, message, microphoneMute, microphone, minus, move, notepad, notes, notification, otp, personAssign, personAssigned, personError, personRemove, personUnassign, person, personsAdd, personsNotApplicable, persons, phoneEndCall, phoneStartCall, placeholder, printerError, printer, redo, reload, remove, report, reporting, reset, return, scanBarcode, scanGroup, scanPackage, scanSpace, scan, search, settings, shelves, sort, spaceError, spaceSearch, space, speakerMute, speaker, store, tag, trash, truck, undo, van, walk, warning, waves, webhook
, addCircle, add, arrowCurveLeft, arrowDown, arrowDownBold, arrowLeft, arrowRight, arrowShapeUp, arrowUp, arrowUpBoldNegative, bell, bicycle, bike, bluetooth, boltDisabled, bolt, boxFilled, boxOutlined, boxesFilled, boxesOutlined, calendar, camera, car, cellular, checkmarkCircle, checkmarkRoundedRectangle, checkmark, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clockIssue, clockLocked, clock, closeCircle, closeRoundedRectangle, close, coins, collapse, crosshair, currencyNote, directions, download, eBike, eCar, eVan, edit, ellipsis, emailFill, emailOutline, empty, expand, eyeHide, eye, filter, firstPage, fix, flag, folder, food, frozen, gVan, grocery, groups, hamburger, hand, home, hourglass, info, keys, lastPage, legacyApis, legacyHistorical, legacyLabelPrinter, legacyReport, legacyRetailerDashboard, legacySignOut, list, location, lock, logout, map, mapPinRadius, mapPin, messageLock, messageOTP, message, microphoneMute, microphone, minus, move, notepad, notes, notification, otp, personAssign, personAssigned, personError, personRemove, personUnassign, person, personsAdd, personsNotApplicable, persons, phoneEndCall, phoneStartCall, placeholder, printerError, printer, redo, reload, remove, report, reporting, reset, return, scanBarcode, scanGroup, scanPackage, scanSpace, scan, search, settings, shelves, sort, spaceError, spaceSearch, space, speakerMute, speaker, store, tag, trash, truck, undo, van, walk, warning, waves, webhook
, fixing, loader
, assignPerson, boxes, check, configure, delete, done, eventLog, fixIssues, insert, moreActions, nextContent, notifications, paackSpaces, packages, phone, pause, previousContent, print, sandwichMenu, searchSpace, seeMore, sortDecreasing, sortIncreasing, success, toggle, toggleDown, toggleUp, unassignPerson, wait
, getHint
Expand Down Expand Up @@ -37,7 +37,7 @@ An icon can be created and rendered as in the following pipeline:
## Current names
@docs addCircle, add, arrowCurveLeft, arrowDown, arrowLeft, arrowRight, arrowShapeUp, arrowUp, bell, bicycle, bike, bluetooth, boltDisabled, bolt, boxFilled, boxOutlined, boxesFilled, boxesOutlined, calendar, camera, car, cellular, checkmarkCircle, checkmarkRoundedRectangle, checkmark, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clockIssue, clockLocked, clock, closeCircle, closeRoundedRectangle, close, coins, collapse, crosshair, currencyNote, directions, download, eBike, eCar, eVan, edit, ellipsis, emailFill, emailOutline, empty, expand, eyeHide, eye, filter, firstPage, fix, flag, folder, food, frozen, gVan, grocery, groups, hamburger, hand, home, hourglass, info, keys, lastPage, legacyApis, legacyHistorical, legacyLabelPrinter, legacyReport, legacyRetailerDashboard, legacySignOut, list, location, lock, logout, map, mapPinRadius, mapPin, messageLock, messageOTP, message, microphoneMute, microphone, minus, move, notepad, notes, notification, otp, personAssign, personAssigned, personError, personRemove, personUnassign, person, personsAdd, personsNotApplicable, persons, phoneEndCall, phoneStartCall, placeholder, printerError, printer, redo, reload, remove, report, reporting, reset, return, scanBarcode, scanGroup, scanPackage, scanSpace, scan, search, settings, shelves, sort, spaceError, spaceSearch, space, speakerMute, speaker, store, tag, trash, truck, undo, van, walk, warning, waves, webhook
@docs addCircle, add, arrowCurveLeft, arrowDown, arrowDownBold, arrowLeft, arrowRight, arrowShapeUp, arrowUp, arrowUpBoldNegative, bell, bicycle, bike, bluetooth, boltDisabled, bolt, boxFilled, boxOutlined, boxesFilled, boxesOutlined, calendar, camera, car, cellular, checkmarkCircle, checkmarkRoundedRectangle, checkmark, chevronDown, chevronLeft, chevronRight, chevronUp, circle, clockIssue, clockLocked, clock, closeCircle, closeRoundedRectangle, close, coins, collapse, crosshair, currencyNote, directions, download, eBike, eCar, eVan, edit, ellipsis, emailFill, emailOutline, empty, expand, eyeHide, eye, filter, firstPage, fix, flag, folder, food, frozen, gVan, grocery, groups, hamburger, hand, home, hourglass, info, keys, lastPage, legacyApis, legacyHistorical, legacyLabelPrinter, legacyReport, legacyRetailerDashboard, legacySignOut, list, location, lock, logout, map, mapPinRadius, mapPin, messageLock, messageOTP, message, microphoneMute, microphone, minus, move, notepad, notes, notification, otp, personAssign, personAssigned, personError, personRemove, personUnassign, person, personsAdd, personsNotApplicable, persons, phoneEndCall, phoneStartCall, placeholder, printerError, printer, redo, reload, remove, report, reporting, reset, return, scanBarcode, scanGroup, scanPackage, scanSpace, scan, search, settings, shelves, sort, spaceError, spaceSearch, space, speakerMute, speaker, store, tag, trash, truck, undo, van, walk, warning, waves, webhook
## Special
Expand Down Expand Up @@ -208,6 +208,16 @@ arrowDown =
defaultInit "Arrow-Down"


{-| Icon constructor.
Icon.arrowDownBold "Accessibility hint"
-}
arrowDownBold : String -> Icon
arrowDownBold =
defaultInit "Arrow-Down-Bold"


{-| Icon constructor.
Icon.arrowLeft "Accessibility hint"
Expand Down Expand Up @@ -248,6 +258,16 @@ arrowUp =
defaultInit "Arrow-Up"


{-| Icon constructor.
Icon.arrowUpBoldNegative "Accessibility hint"
-}
arrowUpBoldNegative : String -> Icon
arrowUpBoldNegative =
defaultInit "Arrow-Up-Bold-Negative"


{-| Icon constructor.
Icon.bell "Accessibility hint"
Expand Down

0 comments on commit 3919cf4

Please sign in to comment.