@leafygreen-ui/icon 11.12.1 → 11.12.2
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/CHANGELOG.md +6 -0
- package/dist/ActivityFeed.js +1 -1
- package/dist/ActivityFeed.js.map +1 -1
- package/dist/AddFile.js +1 -1
- package/dist/AddFile.js.map +1 -1
- package/dist/Apps.js +1 -1
- package/dist/Apps.js.map +1 -1
- package/dist/Array.js +1 -1
- package/dist/Array.js.map +1 -1
- package/dist/ArrowDown.js +1 -1
- package/dist/ArrowDown.js.map +1 -1
- package/dist/ArrowLeft.js +1 -1
- package/dist/ArrowLeft.js.map +1 -1
- package/dist/ArrowRight.js +1 -1
- package/dist/ArrowRight.js.map +1 -1
- package/dist/ArrowUp.js +1 -1
- package/dist/ArrowUp.js.map +1 -1
- package/dist/Beaker.js +1 -1
- package/dist/Beaker.js.map +1 -1
- package/dist/Bell.js +1 -1
- package/dist/Bell.js.map +1 -1
- package/dist/Biometric.js +1 -1
- package/dist/Biometric.js.map +1 -1
- package/dist/Building.js +1 -1
- package/dist/Building.js.map +1 -1
- package/dist/Bulb.js +1 -1
- package/dist/Bulb.js.map +1 -1
- package/dist/Calendar.js +1 -1
- package/dist/Calendar.js.map +1 -1
- package/dist/CaretDown.js +1 -1
- package/dist/CaretDown.js.map +1 -1
- package/dist/CaretLeft.js +1 -1
- package/dist/CaretLeft.js.map +1 -1
- package/dist/CaretRight.js +1 -1
- package/dist/CaretRight.js.map +1 -1
- package/dist/CaretUp.js +1 -1
- package/dist/CaretUp.js.map +1 -1
- package/dist/Charts.js +1 -1
- package/dist/Charts.js.map +1 -1
- package/dist/Checkmark.js +1 -1
- package/dist/Checkmark.js.map +1 -1
- package/dist/CheckmarkWithCircle.js +1 -1
- package/dist/CheckmarkWithCircle.js.map +1 -1
- package/dist/ChevronDown.js +1 -1
- package/dist/ChevronDown.js.map +1 -1
- package/dist/ChevronLeft.js +1 -1
- package/dist/ChevronLeft.js.map +1 -1
- package/dist/ChevronRight.js +1 -1
- package/dist/ChevronRight.js.map +1 -1
- package/dist/ChevronUp.js +1 -1
- package/dist/ChevronUp.js.map +1 -1
- package/dist/Clock.js +1 -1
- package/dist/Clock.js.map +1 -1
- package/dist/ClockWithArrow.js +1 -1
- package/dist/ClockWithArrow.js.map +1 -1
- package/dist/Clone.js +1 -1
- package/dist/Clone.js.map +1 -1
- package/dist/Cloud.js +1 -1
- package/dist/Cloud.js.map +1 -1
- package/dist/Code.js +1 -1
- package/dist/Code.js.map +1 -1
- package/dist/Connect.js +1 -1
- package/dist/Connect.js.map +1 -1
- package/dist/Copy.js +1 -1
- package/dist/Copy.js.map +1 -1
- package/dist/CreditCard.js +1 -1
- package/dist/CreditCard.js.map +1 -1
- package/dist/CurlyBraces.js +1 -1
- package/dist/CurlyBraces.js.map +1 -1
- package/dist/Cursor.js +1 -1
- package/dist/Cursor.js.map +1 -1
- package/dist/Database.js +1 -1
- package/dist/Database.js.map +1 -1
- package/dist/Diagram.js +1 -1
- package/dist/Diagram.js.map +1 -1
- package/dist/Diagram2.js +1 -1
- package/dist/Diagram2.js.map +1 -1
- package/dist/Diagram3.js +1 -1
- package/dist/Diagram3.js.map +1 -1
- package/dist/Disconnect.js +1 -1
- package/dist/Disconnect.js.map +1 -1
- package/dist/Download.js +1 -1
- package/dist/Download.js.map +1 -1
- package/dist/Edit.js +1 -1
- package/dist/Edit.js.map +1 -1
- package/dist/Ellipsis.js +1 -1
- package/dist/Ellipsis.js.map +1 -1
- package/dist/Email.js +1 -1
- package/dist/Email.js.map +1 -1
- package/dist/Export.js +1 -1
- package/dist/Export.js.map +1 -1
- package/dist/Favorite.js +1 -1
- package/dist/Favorite.js.map +1 -1
- package/dist/File.js +1 -1
- package/dist/File.js.map +1 -1
- package/dist/Filter.js +1 -1
- package/dist/Filter.js.map +1 -1
- package/dist/Folder.js +1 -1
- package/dist/Folder.js.map +1 -1
- package/dist/FullScreenEnter.js +1 -1
- package/dist/FullScreenEnter.js.map +1 -1
- package/dist/FullScreenExit.js +1 -1
- package/dist/FullScreenExit.js.map +1 -1
- package/dist/GlobeAmericas.js +1 -1
- package/dist/GlobeAmericas.js.map +1 -1
- package/dist/GovernmentBuilding.js +1 -1
- package/dist/GovernmentBuilding.js.map +1 -1
- package/dist/Home.js +1 -1
- package/dist/Home.js.map +1 -1
- package/dist/Import.js +1 -1
- package/dist/Import.js.map +1 -1
- package/dist/ImportantWithCircle.js +1 -1
- package/dist/ImportantWithCircle.js.map +1 -1
- package/dist/InfoWithCircle.js +1 -1
- package/dist/InfoWithCircle.js.map +1 -1
- package/dist/InviteUser.js +1 -1
- package/dist/InviteUser.js.map +1 -1
- package/dist/Key.js +1 -1
- package/dist/Key.js.map +1 -1
- package/dist/Laptop.js +1 -1
- package/dist/Laptop.js.map +1 -1
- package/dist/Link.js +1 -1
- package/dist/Link.js.map +1 -1
- package/dist/Lock.js +1 -1
- package/dist/Lock.js.map +1 -1
- package/dist/MagnifyingGlass.js +1 -1
- package/dist/MagnifyingGlass.js.map +1 -1
- package/dist/Megaphone.js +1 -1
- package/dist/Megaphone.js.map +1 -1
- package/dist/Menu.js +1 -1
- package/dist/Menu.js.map +1 -1
- package/dist/Minus.js +1 -1
- package/dist/Minus.js.map +1 -1
- package/dist/NotAllowed.js +1 -1
- package/dist/NotAllowed.js.map +1 -1
- package/dist/Note.js +1 -1
- package/dist/Note.js.map +1 -1
- package/dist/OpenNewTab.js +1 -1
- package/dist/OpenNewTab.js.map +1 -1
- package/dist/Pause.js +1 -1
- package/dist/Pause.js.map +1 -1
- package/dist/Person.js +1 -1
- package/dist/Person.js.map +1 -1
- package/dist/PersonGroup.js +1 -1
- package/dist/PersonGroup.js.map +1 -1
- package/dist/PersonWithLock.js +1 -1
- package/dist/PersonWithLock.js.map +1 -1
- package/dist/Play.js +1 -1
- package/dist/Play.js.map +1 -1
- package/dist/Plus.js +1 -1
- package/dist/Plus.js.map +1 -1
- package/dist/PlusWithCircle.js +1 -1
- package/dist/PlusWithCircle.js.map +1 -1
- package/dist/QuestionMarkWithCircle.js +1 -1
- package/dist/QuestionMarkWithCircle.js.map +1 -1
- package/dist/Redo.js +1 -1
- package/dist/Redo.js.map +1 -1
- package/dist/Refresh.js +1 -1
- package/dist/Refresh.js.map +1 -1
- package/dist/Relationship.js +1 -1
- package/dist/Relationship.js.map +1 -1
- package/dist/ReplicaSet.js +1 -1
- package/dist/ReplicaSet.js.map +1 -1
- package/dist/SMS.js +1 -1
- package/dist/SMS.js.map +1 -1
- package/dist/Save.js +1 -1
- package/dist/Save.js.map +1 -1
- package/dist/Serverless.js +1 -1
- package/dist/Serverless.js.map +1 -1
- package/dist/Settings.js +1 -1
- package/dist/Settings.js.map +1 -1
- package/dist/ShardedCluster.js +1 -1
- package/dist/ShardedCluster.js.map +1 -1
- package/dist/Shell.js +1 -1
- package/dist/Shell.js.map +1 -1
- package/dist/SortAscending.js +1 -1
- package/dist/SortAscending.js.map +1 -1
- package/dist/SortDescending.js +1 -1
- package/dist/SortDescending.js.map +1 -1
- package/dist/SplitHorizontal.js +1 -1
- package/dist/SplitHorizontal.js.map +1 -1
- package/dist/SplitVertical.js +1 -1
- package/dist/SplitVertical.js.map +1 -1
- package/dist/Stitch.js +1 -1
- package/dist/Stitch.js.map +1 -1
- package/dist/Support.js +1 -1
- package/dist/Support.js.map +1 -1
- package/dist/Sweep.js +1 -1
- package/dist/Sweep.js.map +1 -1
- package/dist/Table.js +1 -1
- package/dist/Table.js.map +1 -1
- package/dist/TimeSeries.js +1 -1
- package/dist/TimeSeries.js.map +1 -1
- package/dist/Trash.js +1 -1
- package/dist/Trash.js.map +1 -1
- package/dist/Undo.js +1 -1
- package/dist/Undo.js.map +1 -1
- package/dist/University.js +1 -1
- package/dist/University.js.map +1 -1
- package/dist/Unlock.js +1 -1
- package/dist/Unlock.js.map +1 -1
- package/dist/Unsorted.js +1 -1
- package/dist/Unsorted.js.map +1 -1
- package/dist/UpDownCarets.js +1 -1
- package/dist/UpDownCarets.js.map +1 -1
- package/dist/Upload.js +1 -1
- package/dist/Upload.js.map +1 -1
- package/dist/VerticalEllipsis.js +1 -1
- package/dist/VerticalEllipsis.js.map +1 -1
- package/dist/Visibility.js +1 -1
- package/dist/Visibility.js.map +1 -1
- package/dist/VisibilityOff.js +1 -1
- package/dist/VisibilityOff.js.map +1 -1
- package/dist/Warning.js +1 -1
- package/dist/Warning.js.map +1 -1
- package/dist/X.js +1 -1
- package/dist/X.js.map +1 -1
- package/dist/XWithCircle.js +1 -1
- package/dist/XWithCircle.js.map +1 -1
- package/dist/createGlyphComponent.d.ts +1 -1
- package/dist/createGlyphComponent.d.ts.map +1 -1
- package/dist/createIconComponent.d.ts +1 -1
- package/dist/createIconComponent.d.ts.map +1 -1
- package/dist/esm/ActivityFeed.js +1 -1
- package/dist/esm/ActivityFeed.js.map +1 -1
- package/dist/esm/AddFile.js +1 -1
- package/dist/esm/AddFile.js.map +1 -1
- package/dist/esm/Apps.js +1 -1
- package/dist/esm/Apps.js.map +1 -1
- package/dist/esm/Array.js +1 -1
- package/dist/esm/Array.js.map +1 -1
- package/dist/esm/ArrowDown.js +1 -1
- package/dist/esm/ArrowDown.js.map +1 -1
- package/dist/esm/ArrowLeft.js +1 -1
- package/dist/esm/ArrowLeft.js.map +1 -1
- package/dist/esm/ArrowRight.js +1 -1
- package/dist/esm/ArrowRight.js.map +1 -1
- package/dist/esm/ArrowUp.js +1 -1
- package/dist/esm/ArrowUp.js.map +1 -1
- package/dist/esm/Beaker.js +1 -1
- package/dist/esm/Beaker.js.map +1 -1
- package/dist/esm/Bell.js +1 -1
- package/dist/esm/Bell.js.map +1 -1
- package/dist/esm/Biometric.js +1 -1
- package/dist/esm/Biometric.js.map +1 -1
- package/dist/esm/Building.js +1 -1
- package/dist/esm/Building.js.map +1 -1
- package/dist/esm/Bulb.js +1 -1
- package/dist/esm/Bulb.js.map +1 -1
- package/dist/esm/Calendar.js +1 -1
- package/dist/esm/Calendar.js.map +1 -1
- package/dist/esm/CaretDown.js +1 -1
- package/dist/esm/CaretDown.js.map +1 -1
- package/dist/esm/CaretLeft.js +1 -1
- package/dist/esm/CaretLeft.js.map +1 -1
- package/dist/esm/CaretRight.js +1 -1
- package/dist/esm/CaretRight.js.map +1 -1
- package/dist/esm/CaretUp.js +1 -1
- package/dist/esm/CaretUp.js.map +1 -1
- package/dist/esm/Charts.js +1 -1
- package/dist/esm/Charts.js.map +1 -1
- package/dist/esm/Checkmark.js +1 -1
- package/dist/esm/Checkmark.js.map +1 -1
- package/dist/esm/CheckmarkWithCircle.js +1 -1
- package/dist/esm/CheckmarkWithCircle.js.map +1 -1
- package/dist/esm/ChevronDown.js +1 -1
- package/dist/esm/ChevronDown.js.map +1 -1
- package/dist/esm/ChevronLeft.js +1 -1
- package/dist/esm/ChevronLeft.js.map +1 -1
- package/dist/esm/ChevronRight.js +1 -1
- package/dist/esm/ChevronRight.js.map +1 -1
- package/dist/esm/ChevronUp.js +1 -1
- package/dist/esm/ChevronUp.js.map +1 -1
- package/dist/esm/Clock.js +1 -1
- package/dist/esm/Clock.js.map +1 -1
- package/dist/esm/ClockWithArrow.js +1 -1
- package/dist/esm/ClockWithArrow.js.map +1 -1
- package/dist/esm/Clone.js +1 -1
- package/dist/esm/Clone.js.map +1 -1
- package/dist/esm/Cloud.js +1 -1
- package/dist/esm/Cloud.js.map +1 -1
- package/dist/esm/Code.js +1 -1
- package/dist/esm/Code.js.map +1 -1
- package/dist/esm/Connect.js +1 -1
- package/dist/esm/Connect.js.map +1 -1
- package/dist/esm/Copy.js +1 -1
- package/dist/esm/Copy.js.map +1 -1
- package/dist/esm/CreditCard.js +1 -1
- package/dist/esm/CreditCard.js.map +1 -1
- package/dist/esm/CurlyBraces.js +1 -1
- package/dist/esm/CurlyBraces.js.map +1 -1
- package/dist/esm/Cursor.js +1 -1
- package/dist/esm/Cursor.js.map +1 -1
- package/dist/esm/Database.js +1 -1
- package/dist/esm/Database.js.map +1 -1
- package/dist/esm/Diagram.js +1 -1
- package/dist/esm/Diagram.js.map +1 -1
- package/dist/esm/Diagram2.js +1 -1
- package/dist/esm/Diagram2.js.map +1 -1
- package/dist/esm/Diagram3.js +1 -1
- package/dist/esm/Diagram3.js.map +1 -1
- package/dist/esm/Disconnect.js +1 -1
- package/dist/esm/Disconnect.js.map +1 -1
- package/dist/esm/Download.js +1 -1
- package/dist/esm/Download.js.map +1 -1
- package/dist/esm/Edit.js +1 -1
- package/dist/esm/Edit.js.map +1 -1
- package/dist/esm/Ellipsis.js +1 -1
- package/dist/esm/Ellipsis.js.map +1 -1
- package/dist/esm/Email.js +1 -1
- package/dist/esm/Email.js.map +1 -1
- package/dist/esm/Export.js +1 -1
- package/dist/esm/Export.js.map +1 -1
- package/dist/esm/Favorite.js +1 -1
- package/dist/esm/Favorite.js.map +1 -1
- package/dist/esm/File.js +1 -1
- package/dist/esm/File.js.map +1 -1
- package/dist/esm/Filter.js +1 -1
- package/dist/esm/Filter.js.map +1 -1
- package/dist/esm/Folder.js +1 -1
- package/dist/esm/Folder.js.map +1 -1
- package/dist/esm/FullScreenEnter.js +1 -1
- package/dist/esm/FullScreenEnter.js.map +1 -1
- package/dist/esm/FullScreenExit.js +1 -1
- package/dist/esm/FullScreenExit.js.map +1 -1
- package/dist/esm/GlobeAmericas.js +1 -1
- package/dist/esm/GlobeAmericas.js.map +1 -1
- package/dist/esm/GovernmentBuilding.js +1 -1
- package/dist/esm/GovernmentBuilding.js.map +1 -1
- package/dist/esm/Home.js +1 -1
- package/dist/esm/Home.js.map +1 -1
- package/dist/esm/Import.js +1 -1
- package/dist/esm/Import.js.map +1 -1
- package/dist/esm/ImportantWithCircle.js +1 -1
- package/dist/esm/ImportantWithCircle.js.map +1 -1
- package/dist/esm/InfoWithCircle.js +1 -1
- package/dist/esm/InfoWithCircle.js.map +1 -1
- package/dist/esm/InviteUser.js +1 -1
- package/dist/esm/InviteUser.js.map +1 -1
- package/dist/esm/Key.js +1 -1
- package/dist/esm/Key.js.map +1 -1
- package/dist/esm/Laptop.js +1 -1
- package/dist/esm/Laptop.js.map +1 -1
- package/dist/esm/Link.js +1 -1
- package/dist/esm/Link.js.map +1 -1
- package/dist/esm/Lock.js +1 -1
- package/dist/esm/Lock.js.map +1 -1
- package/dist/esm/MagnifyingGlass.js +1 -1
- package/dist/esm/MagnifyingGlass.js.map +1 -1
- package/dist/esm/Megaphone.js +1 -1
- package/dist/esm/Megaphone.js.map +1 -1
- package/dist/esm/Menu.js +1 -1
- package/dist/esm/Menu.js.map +1 -1
- package/dist/esm/Minus.js +1 -1
- package/dist/esm/Minus.js.map +1 -1
- package/dist/esm/NotAllowed.js +1 -1
- package/dist/esm/NotAllowed.js.map +1 -1
- package/dist/esm/Note.js +1 -1
- package/dist/esm/Note.js.map +1 -1
- package/dist/esm/OpenNewTab.js +1 -1
- package/dist/esm/OpenNewTab.js.map +1 -1
- package/dist/esm/Pause.js +1 -1
- package/dist/esm/Pause.js.map +1 -1
- package/dist/esm/Person.js +1 -1
- package/dist/esm/Person.js.map +1 -1
- package/dist/esm/PersonGroup.js +1 -1
- package/dist/esm/PersonGroup.js.map +1 -1
- package/dist/esm/PersonWithLock.js +1 -1
- package/dist/esm/PersonWithLock.js.map +1 -1
- package/dist/esm/Play.js +1 -1
- package/dist/esm/Play.js.map +1 -1
- package/dist/esm/Plus.js +1 -1
- package/dist/esm/Plus.js.map +1 -1
- package/dist/esm/PlusWithCircle.js +1 -1
- package/dist/esm/PlusWithCircle.js.map +1 -1
- package/dist/esm/QuestionMarkWithCircle.js +1 -1
- package/dist/esm/QuestionMarkWithCircle.js.map +1 -1
- package/dist/esm/Redo.js +1 -1
- package/dist/esm/Redo.js.map +1 -1
- package/dist/esm/Refresh.js +1 -1
- package/dist/esm/Refresh.js.map +1 -1
- package/dist/esm/Relationship.js +1 -1
- package/dist/esm/Relationship.js.map +1 -1
- package/dist/esm/ReplicaSet.js +1 -1
- package/dist/esm/ReplicaSet.js.map +1 -1
- package/dist/esm/SMS.js +1 -1
- package/dist/esm/SMS.js.map +1 -1
- package/dist/esm/Save.js +1 -1
- package/dist/esm/Save.js.map +1 -1
- package/dist/esm/Serverless.js +1 -1
- package/dist/esm/Serverless.js.map +1 -1
- package/dist/esm/Settings.js +1 -1
- package/dist/esm/Settings.js.map +1 -1
- package/dist/esm/ShardedCluster.js +1 -1
- package/dist/esm/ShardedCluster.js.map +1 -1
- package/dist/esm/Shell.js +1 -1
- package/dist/esm/Shell.js.map +1 -1
- package/dist/esm/SortAscending.js +1 -1
- package/dist/esm/SortAscending.js.map +1 -1
- package/dist/esm/SortDescending.js +1 -1
- package/dist/esm/SortDescending.js.map +1 -1
- package/dist/esm/SplitHorizontal.js +1 -1
- package/dist/esm/SplitHorizontal.js.map +1 -1
- package/dist/esm/SplitVertical.js +1 -1
- package/dist/esm/SplitVertical.js.map +1 -1
- package/dist/esm/Stitch.js +1 -1
- package/dist/esm/Stitch.js.map +1 -1
- package/dist/esm/Support.js +1 -1
- package/dist/esm/Support.js.map +1 -1
- package/dist/esm/Sweep.js +1 -1
- package/dist/esm/Sweep.js.map +1 -1
- package/dist/esm/Table.js +1 -1
- package/dist/esm/Table.js.map +1 -1
- package/dist/esm/TimeSeries.js +1 -1
- package/dist/esm/TimeSeries.js.map +1 -1
- package/dist/esm/Trash.js +1 -1
- package/dist/esm/Trash.js.map +1 -1
- package/dist/esm/Undo.js +1 -1
- package/dist/esm/Undo.js.map +1 -1
- package/dist/esm/University.js +1 -1
- package/dist/esm/University.js.map +1 -1
- package/dist/esm/Unlock.js +1 -1
- package/dist/esm/Unlock.js.map +1 -1
- package/dist/esm/Unsorted.js +1 -1
- package/dist/esm/Unsorted.js.map +1 -1
- package/dist/esm/UpDownCarets.js +1 -1
- package/dist/esm/UpDownCarets.js.map +1 -1
- package/dist/esm/Upload.js +1 -1
- package/dist/esm/Upload.js.map +1 -1
- package/dist/esm/VerticalEllipsis.js +1 -1
- package/dist/esm/VerticalEllipsis.js.map +1 -1
- package/dist/esm/Visibility.js +1 -1
- package/dist/esm/Visibility.js.map +1 -1
- package/dist/esm/VisibilityOff.js +1 -1
- package/dist/esm/VisibilityOff.js.map +1 -1
- package/dist/esm/Warning.js +1 -1
- package/dist/esm/Warning.js.map +1 -1
- package/dist/esm/X.js +1 -1
- package/dist/esm/X.js.map +1 -1
- package/dist/esm/XWithCircle.js +1 -1
- package/dist/esm/XWithCircle.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/generated/ActivityFeed.d.ts.map +1 -1
- package/dist/generated/AddFile.d.ts.map +1 -1
- package/dist/generated/Apps.d.ts.map +1 -1
- package/dist/generated/Array.d.ts.map +1 -1
- package/dist/generated/ArrowDown.d.ts.map +1 -1
- package/dist/generated/ArrowLeft.d.ts.map +1 -1
- package/dist/generated/ArrowRight.d.ts.map +1 -1
- package/dist/generated/ArrowUp.d.ts.map +1 -1
- package/dist/generated/Beaker.d.ts.map +1 -1
- package/dist/generated/Bell.d.ts.map +1 -1
- package/dist/generated/Biometric.d.ts.map +1 -1
- package/dist/generated/Building.d.ts.map +1 -1
- package/dist/generated/Bulb.d.ts.map +1 -1
- package/dist/generated/Calendar.d.ts.map +1 -1
- package/dist/generated/CaretDown.d.ts.map +1 -1
- package/dist/generated/CaretLeft.d.ts.map +1 -1
- package/dist/generated/CaretRight.d.ts.map +1 -1
- package/dist/generated/CaretUp.d.ts.map +1 -1
- package/dist/generated/Charts.d.ts.map +1 -1
- package/dist/generated/Checkmark.d.ts.map +1 -1
- package/dist/generated/CheckmarkWithCircle.d.ts.map +1 -1
- package/dist/generated/ChevronDown.d.ts.map +1 -1
- package/dist/generated/ChevronLeft.d.ts.map +1 -1
- package/dist/generated/ChevronRight.d.ts.map +1 -1
- package/dist/generated/ChevronUp.d.ts.map +1 -1
- package/dist/generated/Clock.d.ts.map +1 -1
- package/dist/generated/ClockWithArrow.d.ts.map +1 -1
- package/dist/generated/Clone.d.ts.map +1 -1
- package/dist/generated/Cloud.d.ts.map +1 -1
- package/dist/generated/Code.d.ts.map +1 -1
- package/dist/generated/Connect.d.ts.map +1 -1
- package/dist/generated/Copy.d.ts.map +1 -1
- package/dist/generated/CreditCard.d.ts.map +1 -1
- package/dist/generated/CurlyBraces.d.ts.map +1 -1
- package/dist/generated/Cursor.d.ts.map +1 -1
- package/dist/generated/Database.d.ts.map +1 -1
- package/dist/generated/Diagram.d.ts.map +1 -1
- package/dist/generated/Diagram2.d.ts.map +1 -1
- package/dist/generated/Diagram3.d.ts.map +1 -1
- package/dist/generated/Disconnect.d.ts.map +1 -1
- package/dist/generated/Download.d.ts.map +1 -1
- package/dist/generated/Edit.d.ts.map +1 -1
- package/dist/generated/Ellipsis.d.ts.map +1 -1
- package/dist/generated/Email.d.ts.map +1 -1
- package/dist/generated/Export.d.ts.map +1 -1
- package/dist/generated/Favorite.d.ts.map +1 -1
- package/dist/generated/File.d.ts.map +1 -1
- package/dist/generated/Filter.d.ts.map +1 -1
- package/dist/generated/Folder.d.ts.map +1 -1
- package/dist/generated/FullScreenEnter.d.ts.map +1 -1
- package/dist/generated/FullScreenExit.d.ts.map +1 -1
- package/dist/generated/GlobeAmericas.d.ts.map +1 -1
- package/dist/generated/GovernmentBuilding.d.ts.map +1 -1
- package/dist/generated/Home.d.ts.map +1 -1
- package/dist/generated/Import.d.ts.map +1 -1
- package/dist/generated/ImportantWithCircle.d.ts.map +1 -1
- package/dist/generated/InfoWithCircle.d.ts.map +1 -1
- package/dist/generated/InviteUser.d.ts.map +1 -1
- package/dist/generated/Key.d.ts.map +1 -1
- package/dist/generated/Laptop.d.ts.map +1 -1
- package/dist/generated/Link.d.ts.map +1 -1
- package/dist/generated/Lock.d.ts.map +1 -1
- package/dist/generated/MagnifyingGlass.d.ts.map +1 -1
- package/dist/generated/Megaphone.d.ts.map +1 -1
- package/dist/generated/Menu.d.ts.map +1 -1
- package/dist/generated/Minus.d.ts.map +1 -1
- package/dist/generated/NotAllowed.d.ts.map +1 -1
- package/dist/generated/Note.d.ts.map +1 -1
- package/dist/generated/OpenNewTab.d.ts.map +1 -1
- package/dist/generated/Pause.d.ts.map +1 -1
- package/dist/generated/Person.d.ts.map +1 -1
- package/dist/generated/PersonGroup.d.ts.map +1 -1
- package/dist/generated/PersonWithLock.d.ts.map +1 -1
- package/dist/generated/Play.d.ts.map +1 -1
- package/dist/generated/Plus.d.ts.map +1 -1
- package/dist/generated/PlusWithCircle.d.ts.map +1 -1
- package/dist/generated/QuestionMarkWithCircle.d.ts.map +1 -1
- package/dist/generated/Redo.d.ts.map +1 -1
- package/dist/generated/Refresh.d.ts.map +1 -1
- package/dist/generated/Relationship.d.ts.map +1 -1
- package/dist/generated/ReplicaSet.d.ts.map +1 -1
- package/dist/generated/SMS.d.ts.map +1 -1
- package/dist/generated/Save.d.ts.map +1 -1
- package/dist/generated/Serverless.d.ts.map +1 -1
- package/dist/generated/Settings.d.ts.map +1 -1
- package/dist/generated/ShardedCluster.d.ts.map +1 -1
- package/dist/generated/Shell.d.ts.map +1 -1
- package/dist/generated/SortAscending.d.ts.map +1 -1
- package/dist/generated/SortDescending.d.ts.map +1 -1
- package/dist/generated/SplitHorizontal.d.ts.map +1 -1
- package/dist/generated/SplitVertical.d.ts.map +1 -1
- package/dist/generated/Stitch.d.ts.map +1 -1
- package/dist/generated/Support.d.ts.map +1 -1
- package/dist/generated/Sweep.d.ts.map +1 -1
- package/dist/generated/Table.d.ts.map +1 -1
- package/dist/generated/TimeSeries.d.ts.map +1 -1
- package/dist/generated/Trash.d.ts.map +1 -1
- package/dist/generated/Undo.d.ts.map +1 -1
- package/dist/generated/University.d.ts.map +1 -1
- package/dist/generated/Unlock.d.ts.map +1 -1
- package/dist/generated/Unsorted.d.ts.map +1 -1
- package/dist/generated/UpDownCarets.d.ts.map +1 -1
- package/dist/generated/Upload.d.ts.map +1 -1
- package/dist/generated/VerticalEllipsis.d.ts.map +1 -1
- package/dist/generated/Visibility.d.ts.map +1 -1
- package/dist/generated/VisibilityOff.d.ts.map +1 -1
- package/dist/generated/Warning.d.ts.map +1 -1
- package/dist/generated/X.d.ts.map +1 -1
- package/dist/generated/XWithCircle.d.ts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/isComponentGlyph.d.ts.map +1 -1
- package/dist/types/LGGlyph.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/Icon.spec.tsx +9 -7
- package/src/Icon.story.tsx +4 -2
- package/src/createGlyphComponent.tsx +4 -2
- package/src/createIconComponent.tsx +2 -1
- package/src/generated/ActivityFeed.tsx +4 -3
- package/src/generated/AddFile.tsx +4 -3
- package/src/generated/Apps.tsx +4 -3
- package/src/generated/Array.tsx +4 -3
- package/src/generated/ArrowDown.tsx +4 -3
- package/src/generated/ArrowLeft.tsx +4 -3
- package/src/generated/ArrowRight.tsx +4 -3
- package/src/generated/ArrowUp.tsx +4 -3
- package/src/generated/Beaker.tsx +4 -3
- package/src/generated/Bell.tsx +4 -3
- package/src/generated/Biometric.tsx +4 -3
- package/src/generated/Building.tsx +4 -3
- package/src/generated/Bulb.tsx +4 -3
- package/src/generated/Calendar.tsx +4 -3
- package/src/generated/CaretDown.tsx +4 -3
- package/src/generated/CaretLeft.tsx +4 -3
- package/src/generated/CaretRight.tsx +4 -3
- package/src/generated/CaretUp.tsx +4 -3
- package/src/generated/Charts.tsx +4 -3
- package/src/generated/Checkmark.tsx +4 -3
- package/src/generated/CheckmarkWithCircle.tsx +4 -3
- package/src/generated/ChevronDown.tsx +4 -3
- package/src/generated/ChevronLeft.tsx +4 -3
- package/src/generated/ChevronRight.tsx +4 -3
- package/src/generated/ChevronUp.tsx +4 -3
- package/src/generated/Clock.tsx +4 -3
- package/src/generated/ClockWithArrow.tsx +4 -3
- package/src/generated/Clone.tsx +4 -3
- package/src/generated/Cloud.tsx +4 -3
- package/src/generated/Code.tsx +4 -3
- package/src/generated/Connect.tsx +4 -3
- package/src/generated/Copy.tsx +4 -3
- package/src/generated/CreditCard.tsx +4 -3
- package/src/generated/CurlyBraces.tsx +4 -3
- package/src/generated/Cursor.tsx +4 -3
- package/src/generated/Database.tsx +4 -3
- package/src/generated/Diagram.tsx +4 -3
- package/src/generated/Diagram2.tsx +4 -3
- package/src/generated/Diagram3.tsx +4 -3
- package/src/generated/Disconnect.tsx +4 -3
- package/src/generated/Download.tsx +4 -3
- package/src/generated/Edit.tsx +4 -3
- package/src/generated/Ellipsis.tsx +4 -3
- package/src/generated/Email.tsx +4 -3
- package/src/generated/Export.tsx +4 -3
- package/src/generated/Favorite.tsx +4 -3
- package/src/generated/File.tsx +4 -3
- package/src/generated/Filter.tsx +4 -3
- package/src/generated/Folder.tsx +4 -3
- package/src/generated/FullScreenEnter.tsx +4 -3
- package/src/generated/FullScreenExit.tsx +4 -3
- package/src/generated/GlobeAmericas.tsx +4 -3
- package/src/generated/GovernmentBuilding.tsx +4 -3
- package/src/generated/Home.tsx +4 -3
- package/src/generated/Import.tsx +4 -3
- package/src/generated/ImportantWithCircle.tsx +4 -3
- package/src/generated/InfoWithCircle.tsx +4 -3
- package/src/generated/InviteUser.tsx +4 -3
- package/src/generated/Key.tsx +4 -3
- package/src/generated/Laptop.tsx +4 -3
- package/src/generated/Link.tsx +4 -3
- package/src/generated/Lock.tsx +4 -3
- package/src/generated/MagnifyingGlass.tsx +4 -3
- package/src/generated/Megaphone.tsx +4 -3
- package/src/generated/Menu.tsx +4 -3
- package/src/generated/Minus.tsx +4 -3
- package/src/generated/NotAllowed.tsx +4 -3
- package/src/generated/Note.tsx +4 -3
- package/src/generated/OpenNewTab.tsx +4 -3
- package/src/generated/Pause.tsx +4 -3
- package/src/generated/Person.tsx +4 -3
- package/src/generated/PersonGroup.tsx +4 -3
- package/src/generated/PersonWithLock.tsx +4 -3
- package/src/generated/Play.tsx +4 -3
- package/src/generated/Plus.tsx +4 -3
- package/src/generated/PlusWithCircle.tsx +4 -3
- package/src/generated/QuestionMarkWithCircle.tsx +4 -3
- package/src/generated/Redo.tsx +4 -3
- package/src/generated/Refresh.tsx +4 -3
- package/src/generated/Relationship.tsx +4 -3
- package/src/generated/ReplicaSet.tsx +4 -3
- package/src/generated/SMS.tsx +4 -3
- package/src/generated/Save.tsx +4 -3
- package/src/generated/Serverless.tsx +4 -3
- package/src/generated/Settings.tsx +4 -3
- package/src/generated/ShardedCluster.tsx +4 -3
- package/src/generated/Shell.tsx +4 -3
- package/src/generated/SortAscending.tsx +4 -3
- package/src/generated/SortDescending.tsx +4 -3
- package/src/generated/SplitHorizontal.tsx +4 -3
- package/src/generated/SplitVertical.tsx +4 -3
- package/src/generated/Stitch.tsx +4 -3
- package/src/generated/Support.tsx +4 -3
- package/src/generated/Sweep.tsx +4 -3
- package/src/generated/Table.tsx +4 -3
- package/src/generated/TimeSeries.tsx +4 -3
- package/src/generated/Trash.tsx +4 -3
- package/src/generated/Undo.tsx +4 -3
- package/src/generated/University.tsx +4 -3
- package/src/generated/Unlock.tsx +4 -3
- package/src/generated/Unsorted.tsx +4 -3
- package/src/generated/UpDownCarets.tsx +4 -3
- package/src/generated/Upload.tsx +4 -3
- package/src/generated/VerticalEllipsis.tsx +4 -3
- package/src/generated/Visibility.tsx +4 -3
- package/src/generated/VisibilityOff.tsx +4 -3
- package/src/generated/Warning.tsx +4 -3
- package/src/generated/X.tsx +4 -3
- package/src/generated/XWithCircle.tsx +4 -3
- package/src/glyphs/index.ts +2 -2
- package/src/index.ts +5 -5
- package/src/isComponentGlyph.ts +1 -0
- package/src/types/LGGlyph.ts +1 -0
- package/src/types/index.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/tsdoc.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernmentBuilding.js","sources":["../../src/glyphCommon.ts","../../src/generated/GovernmentBuilding.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"GovernmentBuilding.js","sources":["../../src/glyphCommon.ts","../../src/generated/GovernmentBuilding.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum 53811a53b6deeb5961e8601d954270d5\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface GovernmentBuildingProps extends LGGlyph.ComponentProps {}\n\nconst GovernmentBuilding = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: GovernmentBuildingProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'GovernmentBuilding', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M11 5V4C11 2.34315 9.65685 1 8 1C6.34315 1 5 2.34315 5 4V5H11Z\"\n fill={'currentColor'}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M1.5 6C1.22386 6 1 6.22386 1 6.5C1 6.77614 1.22386 7 1.5 7H2V13H1.5C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14H14.5C14.7761 14 15 13.7761 15 13.5C15 13.2239 14.7761 13 14.5 13H14V7H14.5C14.7761 7 15 6.77614 15 6.5C15 6.22386 14.7761 6 14.5 6H1.5ZM4.5 8.5C4.5 8.22386 4.72386 8 5 8C5.27614 8 5.5 8.22386 5.5 8.5V11.5C5.5 11.7761 5.27614 12 5 12C4.72386 12 4.5 11.7761 4.5 11.5V8.5ZM8 8C7.72386 8 7.5 8.22386 7.5 8.5V11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5V8.5C8.5 8.22386 8.27614 8 8 8ZM10.5 8.5C10.5 8.22386 10.7239 8 11 8C11.2761 8 11.5 8.22386 11.5 8.5V11.5C11.5 11.7761 11.2761 12 11 12C10.7239 12 10.5 11.7761 10.5 11.5V8.5Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nGovernmentBuilding.displayName = 'GovernmentBuilding';\nGovernmentBuilding.isGlyph = true;\nGovernmentBuilding.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default GovernmentBuilding;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","GovernmentBuilding","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","fillRule","clipRule","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAqB,SAA4BC,GACnD,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,sBAEjDW,EAFwEpB,EAAwB,CACjGI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iEACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,6pBACHzB,KAAM,mBAIVT,EAAmBqC,YAAc,qBACjCrC,EAAmBsC,SAAU,EAC7BtC,EAAmBuC,UAAY,CAC7B9B,KAAM+B,EAAUC,OAChBpC,KAAMmC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDtC,UAAWqC,EAAUC"}
|
package/dist/esm/Home.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as a from"react";function t(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function n(){return n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},n.apply(this,arguments)}function i(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l,a,t={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],r.indexOf(l)>=0||(t[l]=e[l]);return t}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],u=function(l){var u,p=l.className,m=l.size,y=void 0===m?16:m,d=l.title,g=l["aria-label"],v=l["aria-labelledby"],O=l.fill,C=l.role,h=void 0===C?"img":C,j=i(l,b),w=e(c||(c=o(["\n color: ",";\n "])),O),L=e(f||(f=o(["\n flex-shrink: 0;\n "]))),x=function(e,r,l){var a,n,i=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return i||o||c?(t(a={},"aria-labelledby",o),t(a,"aria-label",i),t(a,"title",c),a):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Home",(t(u={title:d},"aria-label",g),t(u,"aria-labelledby",v),u));return a.createElement("svg",n({className:r(t({},w,null!=O),L,p),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:h},x,j,{viewBox:"0 0 16 16"}),a.createElement("path",{d:"M7.51983 2.40012C7.79797 2.16834 8.20197 2.16834 8.48011 2.40012L13.6105 6.67544C13.8247 6.85396 13.8515 7.17322 13.67 7.38494L13.4531 7.63803C13.2794 7.84067 12.9772 7.87116 12.7665 7.70731L8.30694 4.23876C8.12638 4.09833 7.87356 4.09833 7.693 4.23876L3.23344 7.70731C3.02277 7.87116 2.72054 7.84067 2.54684 7.63803L2.32992 7.38494C2.14844 7.17322 2.17523 6.85396 2.38945 6.67544L7.51983 2.40012Z",fill:"currentColor"}),a.createElement("path",{d:"M7.68467 5.42969L3.99997 8.31593V13.2378C3.99997 13.6587 4.33576 14 4.74997 14H6.49997C6.77611 14 6.99997 13.7762 6.99997 13.5V11.4593C6.99997 11.1786 7.22383 10.9511 7.49997 10.9511H8.49997C8.77611 10.9511 8.99997 11.1786 8.99997 11.4593V13.5C8.99997 13.7762 9.22383 14 9.49997 14H11.25C11.6642 14 12 13.6587 12 13.2378V8.31593L8.31527 5.42969C8.13157 5.27801 7.86838 5.27801 7.68467 5.42969Z",fill:"currentColor"}))};u.displayName="Home",u.isGlyph=!0,u.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{u as default};
|
|
2
2
|
//# sourceMappingURL=Home.js.map
|
package/dist/esm/Home.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Home.js","sources":["../../src/glyphCommon.ts","../../src/generated/Home.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"Home.js","sources":["../../src/glyphCommon.ts","../../src/generated/Home.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum 022b4139e6ed3a8cf7f6211052199e78\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HomeProps extends LGGlyph.ComponentProps {}\n\nconst Home = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HomeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Home', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M7.51983 2.40012C7.79797 2.16834 8.20197 2.16834 8.48011 2.40012L13.6105 6.67544C13.8247 6.85396 13.8515 7.17322 13.67 7.38494L13.4531 7.63803C13.2794 7.84067 12.9772 7.87116 12.7665 7.70731L8.30694 4.23876C8.12638 4.09833 7.87356 4.09833 7.693 4.23876L3.23344 7.70731C3.02277 7.87116 2.72054 7.84067 2.54684 7.63803L2.32992 7.38494C2.14844 7.17322 2.17523 6.85396 2.38945 6.67544L7.51983 2.40012Z\"\n fill={'currentColor'}\n />\n <path\n d=\"M7.68467 5.42969L3.99997 8.31593V13.2378C3.99997 13.6587 4.33576 14 4.74997 14H6.49997C6.77611 14 6.99997 13.7762 6.99997 13.5V11.4593C6.99997 11.1786 7.22383 10.9511 7.49997 10.9511H8.49997C8.77611 10.9511 8.99997 11.1786 8.99997 11.4593V13.5C8.99997 13.7762 9.22383 14 9.49997 14H11.25C11.6642 14 12 13.6587 12 13.2378V8.31593L8.31527 5.42969C8.13157 5.27801 7.86838 5.27801 7.68467 5.42969Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nHome.displayName = 'Home';\nHome.isGlyph = true;\nHome.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default Home;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Home","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAO,SAAcC,GACvB,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,QAEjDW,EAF0DpB,EAAwB,CACnFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gZACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,4YACHzB,KAAM,mBAIVT,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU,EACfpC,EAAKqC,UAAY,CACf5B,KAAM6B,EAAUC,OAChBlC,KAAMiC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDpC,UAAWmC,EAAUC"}
|
package/dist/esm/Import.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as t from"react";function a(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function n(){return n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&(e[t]=l[t])}return e},n.apply(this,arguments)}function i(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l,t,a={},n=Object.keys(e);for(t=0;t<n.length;t++)l=n[t],r.indexOf(l)>=0||(a[l]=e[l]);return a}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(t=0;t<n.length;t++)l=n[t],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],u=function(l){var u,p=l.className,m=l.size,y=void 0===m?16:m,d=l.title,C=l["aria-label"],g=l["aria-labelledby"],v=l.fill,O=l.role,h=void 0===O?"img":O,j=i(l,b),w=e(c||(c=o(["\n color: ",";\n "])),v),V=e(f||(f=o(["\n flex-shrink: 0;\n "]))),x=function(e,r,l){var t,n,i=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return i||o||c?(a(t={},"aria-labelledby",o),a(t,"aria-label",i),a(t,"title",c),t):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Import",(a(u={title:d},"aria-label",C),a(u,"aria-labelledby",g),u));return t.createElement("svg",n({className:r(a({},w,null!=v),V,p),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:h},x,j,{viewBox:"0 0 16 16"}),t.createElement("path",{d:"M11.6225 8.79871C11.7258 8.69129 11.7258 8.52138 11.6225 8.41396L8.81811 5.49829C8.64501 5.31832 8.34095 5.4409 8.34095 5.69066V7.09645C6.48177 7.0133 5 5.47969 5 3.6V3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5V3.6C2 7.13668 4.82458 10.0136 8.34095 10.0981V11.522C8.34095 11.7718 8.64501 11.8944 8.81811 11.7144L11.6225 8.79871Z",fill:"currentColor"}),t.createElement("path",{d:"M3.95001 11C3.95001 10.5858 4.2858 10.25 4.70001 10.25C5.11423 10.25 5.45001 10.5858 5.45001 11L5.45001 12.75C5.45001 13.0262 5.67387 13.25 5.95001 13.25H12.814C13.0901 13.25 13.314 13.0262 13.314 12.75V5.88602C13.314 5.60988 13.0901 5.38602 12.814 5.38602L10.8711 5.38602C10.4569 5.38602 10.1211 5.05024 10.1211 4.63602C10.1211 4.22181 10.4569 3.88602 10.8711 3.88602H12.814C13.9186 3.88602 14.814 4.78145 14.814 5.88602V12.75C14.814 13.8546 13.9186 14.75 12.814 14.75H5.95001C4.84544 14.75 3.95001 13.8546 3.95001 12.75V11Z",fill:"currentColor"}))};u.displayName="Import",u.isGlyph=!0,u.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{u as default};
|
|
2
2
|
//# sourceMappingURL=Import.js.map
|
package/dist/esm/Import.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Import.js","sources":["../../src/glyphCommon.ts","../../src/generated/Import.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"Import.js","sources":["../../src/glyphCommon.ts","../../src/generated/Import.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum fa31fe9276740e33f7934af02e153f43\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ImportProps extends LGGlyph.ComponentProps {}\n\nconst Import = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ImportProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Import', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M11.6225 8.79871C11.7258 8.69129 11.7258 8.52138 11.6225 8.41396L8.81811 5.49829C8.64501 5.31832 8.34095 5.4409 8.34095 5.69066V7.09645C6.48177 7.0133 5 5.47969 5 3.6V3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5V3.6C2 7.13668 4.82458 10.0136 8.34095 10.0981V11.522C8.34095 11.7718 8.64501 11.8944 8.81811 11.7144L11.6225 8.79871Z\"\n fill={'currentColor'}\n />\n <path\n d=\"M3.95001 11C3.95001 10.5858 4.2858 10.25 4.70001 10.25C5.11423 10.25 5.45001 10.5858 5.45001 11L5.45001 12.75C5.45001 13.0262 5.67387 13.25 5.95001 13.25H12.814C13.0901 13.25 13.314 13.0262 13.314 12.75V5.88602C13.314 5.60988 13.0901 5.38602 12.814 5.38602L10.8711 5.38602C10.4569 5.38602 10.1211 5.05024 10.1211 4.63602C10.1211 4.22181 10.4569 3.88602 10.8711 3.88602H12.814C13.9186 3.88602 14.814 4.78145 14.814 5.88602V12.75C14.814 13.8546 13.9186 14.75 12.814 14.75H5.95001C4.84544 14.75 3.95001 13.8546 3.95001 12.75V11Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nImport.displayName = 'Import';\nImport.isGlyph = true;\nImport.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default Import;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Import","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAS,SAAgBC,GAC3B,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,UAEjDW,EAF4DpB,EAAwB,CACrFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,uVACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ghBACHzB,KAAM,mBAIVT,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU,EACjBpC,EAAOqC,UAAY,CACjB5B,KAAM6B,EAAUC,OAChBlC,KAAMiC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDpC,UAAWmC,EAAUC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as t from"react";function a(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function i(){return i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&(e[t]=l[t])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l,t,a={},i=Object.keys(e);for(t=0;t<i.length;t++)l=i[t],r.indexOf(l)>=0||(a[l]=e[l]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)l=i[t],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(l){var b,p=l.className,m=l.size,y=void 0===m?16:m,d=l.title,g=l["aria-label"],v=l["aria-labelledby"],O=l.fill,h=l.role,C=void 0===h?"img":h,j=n(l,u),w=e(c||(c=o(["\n color: ",";\n "])),O),x=e(f||(f=o(["\n flex-shrink: 0;\n "]))),z=function(e,r,l){var t,i,n=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return n||o||c?(a(t={},"aria-labelledby",o),a(t,"aria-label",n),a(t,"title",c),t):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"ImportantWithCircle",(a(b={title:d},"aria-label",g),a(b,"aria-labelledby",v),b));return t.createElement("svg",i({className:r(a({},w,null!=O),x,p),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:C},z,j,{viewBox:"0 0 16 16"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.5C9 9.05228 8.55228 9.5 8 9.5C7.44772 9.5 7 9.05228 7 8.5V4.5ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5Z",fill:"currentColor"}))};b.displayName="ImportantWithCircle",b.isGlyph=!0,b.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{b as default};
|
|
2
2
|
//# sourceMappingURL=ImportantWithCircle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportantWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/ImportantWithCircle.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"ImportantWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/ImportantWithCircle.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum bd2241ab70fd4417a1d27921c75b3444\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ImportantWithCircleProps extends LGGlyph.ComponentProps {}\n\nconst ImportantWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ImportantWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ImportantWithCircle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.5C9 9.05228 8.55228 9.5 8 9.5C7.44772 9.5 7 9.05228 7 8.5V4.5ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nImportantWithCircle.displayName = 'ImportantWithCircle';\nImportantWithCircle.isGlyph = true;\nImportantWithCircle.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default ImportantWithCircle;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ImportantWithCircle","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAsB,SAA6BC,GACrD,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,uBAEjDW,EAFyEpB,EAAwB,CAClGI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,0WACH3B,KAAM,mBAIVT,EAAoBqC,YAAc,sBAClCrC,EAAoBsC,SAAU,EAC9BtC,EAAoBuC,UAAY,CAC9B9B,KAAM+B,EAAUC,OAChBpC,KAAMmC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDtC,UAAWqC,EAAUC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as a from"react";function t(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function i(){return i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l,a,t={},i=Object.keys(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||(t[l]=e[l]);return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(l){var b,p=l.className,m=l.size,y=void 0===m?16:m,d=l.title,g=l["aria-label"],v=l["aria-labelledby"],C=l.fill,O=l.role,h=void 0===O?"img":O,j=n(l,u),w=e(c||(c=o(["\n color: ",";\n "])),C),x=e(f||(f=o(["\n flex-shrink: 0;\n "]))),z=function(e,r,l){var a,i,n=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return n||o||c?(t(a={},"aria-labelledby",o),t(a,"aria-label",n),t(a,"title",c),a):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"InfoWithCircle",(t(b={title:d},"aria-label",g),t(b,"aria-labelledby",v),b));return a.createElement("svg",i({className:r(t({},w,null!=C),x,p),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:h},z,j,{viewBox:"0 0 16 16"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM9 4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4C7 3.44772 7.44772 3 8 3C8.55228 3 9 3.44772 9 4ZM8 6C8.55228 6 9 6.44772 9 7V11H9.5C9.77614 11 10 11.2239 10 11.5C10 11.7761 9.77614 12 9.5 12H6.5C6.22386 12 6 11.7761 6 11.5C6 11.2239 6.22386 11 6.5 11H7V7H6.5C6.22386 7 6 6.77614 6 6.5C6 6.22386 6.22386 6 6.5 6H8Z",fill:"currentColor"}))};b.displayName="InfoWithCircle",b.isGlyph=!0,b.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{b as default};
|
|
2
2
|
//# sourceMappingURL=InfoWithCircle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/InfoWithCircle.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"InfoWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/InfoWithCircle.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum 04b3375423146662fea5fabfac0e3c52\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InfoWithCircleProps extends LGGlyph.ComponentProps {}\n\nconst InfoWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InfoWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InfoWithCircle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM9 4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4C7 3.44772 7.44772 3 8 3C8.55228 3 9 3.44772 9 4ZM8 6C8.55228 6 9 6.44772 9 7V11H9.5C9.77614 11 10 11.2239 10 11.5C10 11.7761 9.77614 12 9.5 12H6.5C6.22386 12 6 11.7761 6 11.5C6 11.2239 6.22386 11 6.5 11H7V7H6.5C6.22386 7 6 6.77614 6 6.5C6 6.22386 6.22386 6 6.5 6H8Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nInfoWithCircle.displayName = 'InfoWithCircle';\nInfoWithCircle.isGlyph = true;\nInfoWithCircle.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default InfoWithCircle;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InfoWithCircle","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,kBAEjDW,EAFoEpB,EAAwB,CAC7FI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yaACH3B,KAAM,mBAIVT,EAAeqC,YAAc,iBAC7BrC,EAAesC,SAAU,EACzBtC,EAAeuC,UAAY,CACzB9B,KAAM+B,EAAUC,OAChBpC,KAAMmC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDtC,UAAWqC,EAAUC"}
|
package/dist/esm/InviteUser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as t from"react";function a(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function n(){return n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&(e[t]=l[t])}return e},n.apply(this,arguments)}function i(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l,t,a={},n=Object.keys(e);for(t=0;t<n.length;t++)l=n[t],r.indexOf(l)>=0||(a[l]=e[l]);return a}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(t=0;t<n.length;t++)l=n[t],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,s,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(l){var b,p=l.className,C=l.size,m=void 0===C?16:C,y=l.title,d=l["aria-label"],g=l["aria-labelledby"],v=l.fill,O=l.role,h=void 0===O?"img":O,j=i(l,u),w=e(c||(c=o(["\n color: ",";\n "])),v),x=e(s||(s=o(["\n flex-shrink: 0;\n "]))),z=function(e,r,l){var t,n,i=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return i||o||c?(a(t={},"aria-labelledby",o),a(t,"aria-label",i),a(t,"title",c),t):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"InviteUser",(a(b={title:y},"aria-label",d),a(b,"aria-labelledby",g),b));return t.createElement("svg",n({className:r(a({},w,null!=v),x,p),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:h},z,j,{viewBox:"0 0 16 16"}),t.createElement("path",{d:"M8.41809 7.42809C9.37085 6.8027 10 5.72482 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 5.76853 3.67485 6.87944 4.68512 7.49329C5.21431 7.81484 5.83553 8 6.5 8C7.20817 8 7.86722 7.78968 8.41809 7.42809Z",fill:"currentColor"}),t.createElement("path",{d:"M3.091 8.56241C3.39921 8.20507 3.92858 8.22348 4.34253 8.45005C4.98309 8.80067 5.71827 9 6.5 9C7.28173 9 8.01691 8.80067 8.65747 8.45005C9.07142 8.22348 9.60079 8.20507 9.909 8.56241C10.0194 8.6904 10.1227 8.82467 10.2183 8.96461C9.77928 9.33148 9.5 9.88313 9.5 10.5C8.39543 10.5 7.5 11.3954 7.5 12.5C7.5 13.0973 7.76188 13.6335 8.17709 14H2V11.5C2 10.3773 2.41111 9.3507 3.091 8.56241Z",fill:"currentColor"}),t.createElement("path",{d:"M10.5 10.5C10.5 10.272 10.5763 10.0618 10.7048 9.89357C10.8875 9.65434 11.1757 9.5 11.5 9.5C12.0523 9.5 12.5 9.94772 12.5 10.5V11.5H13.5C14.0523 11.5 14.5 11.9477 14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H12.5V14.5C12.5 15.0523 12.0523 15.5 11.5 15.5C10.9477 15.5 10.5 15.0523 10.5 14.5V13.5H9.5C8.94772 13.5 8.5 13.0523 8.5 12.5C8.5 11.9477 8.94772 11.5 9.5 11.5H10.5V10.5Z",fill:"currentColor"}))};b.displayName="InviteUser",b.isGlyph=!0,b.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{b as default};
|
|
2
2
|
//# sourceMappingURL=InviteUser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InviteUser.js","sources":["../../src/glyphCommon.ts","../../src/generated/InviteUser.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"InviteUser.js","sources":["../../src/glyphCommon.ts","../../src/generated/InviteUser.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum 17d398227eca1ad62e7ce6dc0d33a4be\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InviteUserProps extends LGGlyph.ComponentProps {}\n\nconst InviteUser = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InviteUserProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InviteUser', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M8.41809 7.42809C9.37085 6.8027 10 5.72482 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 5.76853 3.67485 6.87944 4.68512 7.49329C5.21431 7.81484 5.83553 8 6.5 8C7.20817 8 7.86722 7.78968 8.41809 7.42809Z\"\n fill={'currentColor'}\n />\n <path\n d=\"M3.091 8.56241C3.39921 8.20507 3.92858 8.22348 4.34253 8.45005C4.98309 8.80067 5.71827 9 6.5 9C7.28173 9 8.01691 8.80067 8.65747 8.45005C9.07142 8.22348 9.60079 8.20507 9.909 8.56241C10.0194 8.6904 10.1227 8.82467 10.2183 8.96461C9.77928 9.33148 9.5 9.88313 9.5 10.5C8.39543 10.5 7.5 11.3954 7.5 12.5C7.5 13.0973 7.76188 13.6335 8.17709 14H2V11.5C2 10.3773 2.41111 9.3507 3.091 8.56241Z\"\n fill={'currentColor'}\n />\n <path\n d=\"M10.5 10.5C10.5 10.272 10.5763 10.0618 10.7048 9.89357C10.8875 9.65434 11.1757 9.5 11.5 9.5C12.0523 9.5 12.5 9.94772 12.5 10.5V11.5H13.5C14.0523 11.5 14.5 11.9477 14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H12.5V14.5C12.5 15.0523 12.0523 15.5 11.5 15.5C10.9477 15.5 10.5 15.0523 10.5 14.5V13.5H9.5C8.94772 13.5 8.5 13.0523 8.5 12.5C8.5 11.9477 8.94772 11.5 9.5 11.5H10.5V10.5Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nInviteUser.displayName = 'InviteUser';\nInviteUser.isGlyph = true;\nInviteUser.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default InviteUser;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InviteUser","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAa,SAAoBC,GACnC,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,cAEjDW,EAFgEpB,EAAwB,CACzFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sNACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,qYACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6XACHzB,KAAM,mBAIVT,EAAWmC,YAAc,aACzBnC,EAAWoC,SAAU,EACrBpC,EAAWqC,UAAY,CACrB5B,KAAM6B,EAAUC,OAChBlC,KAAMiC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDpC,UAAWmC,EAAUC"}
|
package/dist/esm/Key.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as a from"react";function t(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function i(){return i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l,a,t={},i=Object.keys(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||(t[l]=e[l]);return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(l){var b,p=l.className,y=l.size,m=void 0===y?16:y,d=l.title,g=l["aria-label"],v=l["aria-labelledby"],O=l.fill,C=l.role,h=void 0===C?"img":C,j=n(l,u),w=e(c||(c=o(["\n color: ",";\n "])),O),x=e(f||(f=o(["\n flex-shrink: 0;\n "]))),z=function(e,r,l){var a,i,n=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return n||o||c?(t(a={},"aria-labelledby",o),t(a,"aria-label",n),t(a,"title",c),a):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Key",(t(b={title:d},"aria-label",g),t(b,"aria-labelledby",v),b));return a.createElement("svg",i({className:r(t({},w,null!=O),x,p),height:"number"==typeof m?m:s[m],width:"number"==typeof m?m:s[m],role:h},z,j,{viewBox:"0 0 16 16"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 10C6.55427 10 7.08222 9.88726 7.56215 9.68347L8.87868 11L8.43934 11.4393C7.85355 12.0251 7.85355 12.9749 8.43934 13.5607C9.02513 14.1464 9.97487 14.1464 10.5607 13.5607L11 13.1213L11.4393 13.5607C12.0251 14.1464 12.9749 14.1464 13.5607 13.5607C14.1464 12.9749 14.1464 12.0251 13.5607 11.4393L9.68347 7.56215C9.88726 7.08222 10 6.55427 10 6C10 3.79086 8.20914 2 6 2C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10ZM5.25 6.5C5.94036 6.5 6.5 5.94036 6.5 5.25C6.5 4.55964 5.94036 4 5.25 4C4.55964 4 4 4.55964 4 5.25C4 5.94036 4.55964 6.5 5.25 6.5Z",fill:"currentColor"}))};b.displayName="Key",b.isGlyph=!0,b.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{b as default};
|
|
2
2
|
//# sourceMappingURL=Key.js.map
|
package/dist/esm/Key.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Key.js","sources":["../../src/glyphCommon.ts","../../src/generated/Key.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"Key.js","sources":["../../src/glyphCommon.ts","../../src/generated/Key.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum 62766b7196c6f18418899163792ce31d\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface KeyProps extends LGGlyph.ComponentProps {}\n\nconst Key = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: KeyProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Key', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M6 10C6.55427 10 7.08222 9.88726 7.56215 9.68347L8.87868 11L8.43934 11.4393C7.85355 12.0251 7.85355 12.9749 8.43934 13.5607C9.02513 14.1464 9.97487 14.1464 10.5607 13.5607L11 13.1213L11.4393 13.5607C12.0251 14.1464 12.9749 14.1464 13.5607 13.5607C14.1464 12.9749 14.1464 12.0251 13.5607 11.4393L9.68347 7.56215C9.88726 7.08222 10 6.55427 10 6C10 3.79086 8.20914 2 6 2C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10ZM5.25 6.5C5.94036 6.5 6.5 5.94036 6.5 5.25C6.5 4.55964 5.94036 4 5.25 4C4.55964 4 4 4.55964 4 5.25C4 5.94036 4.55964 6.5 5.25 6.5Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nKey.displayName = 'Key';\nKey.isGlyph = true;\nKey.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default Key;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Key","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAM,SAAaC,GACrB,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,OAEjDW,EAFyDpB,EAAwB,CAClFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,uiBACH3B,KAAM,mBAIVT,EAAIqC,YAAc,MAClBrC,EAAIsC,SAAU,EACdtC,EAAIuC,UAAY,CACd9B,KAAM+B,EAAUC,OAChBpC,KAAMmC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDtC,UAAWqC,EAAUC"}
|
package/dist/esm/Laptop.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as t from"react";function a(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function n(){return n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&(e[t]=l[t])}return e},n.apply(this,arguments)}function i(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l,t,a={},n=Object.keys(e);for(t=0;t<n.length;t++)l=n[t],r.indexOf(l)>=0||(a[l]=e[l]);return a}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(t=0;t<n.length;t++)l=n[t],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,p={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s,b=l.className,m=l.size,d=void 0===m?16:m,y=l.title,g=l["aria-label"],v=l["aria-labelledby"],C=l.fill,O=l.role,h=void 0===O?"img":O,j=i(l,u),w=e(c||(c=o(["\n color: ",";\n "])),C),H=e(f||(f=o(["\n flex-shrink: 0;\n "]))),L=function(e,r,l){var t,n,i=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return i||o||c?(a(t={},"aria-labelledby",o),a(t,"aria-label",i),a(t,"title",c),t):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Laptop",(a(s={title:y},"aria-label",g),a(s,"aria-labelledby",v),s));return t.createElement("svg",n({className:r(a({},w,null!=C),H,b),height:"number"==typeof d?d:p[d],width:"number"==typeof d?d:p[d],role:h},L,j,{viewBox:"0 0 16 16"}),t.createElement("path",{d:"M5 6C5 5.72386 5.22386 5.5 5.5 5.5H10.5C10.7761 5.5 11 5.72386 11 6C11 6.27614 10.7761 6.5 10.5 6.5H5.5C5.22386 6.5 5 6.27614 5 6Z",fill:"currentColor"}),t.createElement("path",{d:"M5.5 7.5C5.22386 7.5 5 7.72386 5 8C5 8.27614 5.22386 8.5 5.5 8.5H8.5C8.77614 8.5 9 8.27614 9 8C9 7.72386 8.77614 7.5 8.5 7.5H5.5Z",fill:"currentColor"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2.5C2.44772 2.5 2 2.94772 2 3.5V11.313L1.7092 11.8035C1.68453 11.8351 1.66251 11.869 1.64218 11.9037L1 13C1 13.5523 1.44772 14 2 14L14 14C14.5523 14 15 13.5523 15 13L14.3578 11.9037C14.3375 11.869 14.3155 11.8351 14.2908 11.8035L14 11.313V3.5C14 2.94772 13.5523 2.5 13 2.5H3ZM12.5 4H3.5V10.5H12.5V4Z",fill:"currentColor"}))};s.displayName="Laptop",s.isGlyph=!0,s.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{s as default};
|
|
2
2
|
//# sourceMappingURL=Laptop.js.map
|
package/dist/esm/Laptop.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Laptop.js","sources":["../../src/glyphCommon.ts","../../src/generated/Laptop.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"Laptop.js","sources":["../../src/glyphCommon.ts","../../src/generated/Laptop.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum 75e322b0aa9d44942307b103ca0c0e9d\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LaptopProps extends LGGlyph.ComponentProps {}\n\nconst Laptop = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LaptopProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Laptop', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M5 6C5 5.72386 5.22386 5.5 5.5 5.5H10.5C10.7761 5.5 11 5.72386 11 6C11 6.27614 10.7761 6.5 10.5 6.5H5.5C5.22386 6.5 5 6.27614 5 6Z\"\n fill={'currentColor'}\n />\n <path\n d=\"M5.5 7.5C5.22386 7.5 5 7.72386 5 8C5 8.27614 5.22386 8.5 5.5 8.5H8.5C8.77614 8.5 9 8.27614 9 8C9 7.72386 8.77614 7.5 8.5 7.5H5.5Z\"\n fill={'currentColor'}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3 2.5C2.44772 2.5 2 2.94772 2 3.5V11.313L1.7092 11.8035C1.68453 11.8351 1.66251 11.869 1.64218 11.9037L1 13C1 13.5523 1.44772 14 2 14L14 14C14.5523 14 15 13.5523 15 13L14.3578 11.9037C14.3375 11.869 14.3155 11.8351 14.2908 11.8035L14 11.313V3.5C14 2.94772 13.5523 2.5 13 2.5H3ZM12.5 4H3.5V10.5H12.5V4Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nLaptop.displayName = 'Laptop';\nLaptop.isGlyph = true;\nLaptop.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default Laptop;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Laptop","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","fillRule","clipRule","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAS,SAAgBC,GAC3B,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,UAEjDW,EAF4DpB,EAAwB,CACrFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,qIACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oIACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,iTACHzB,KAAM,mBAIVT,EAAOqC,YAAc,SACrBrC,EAAOsC,SAAU,EACjBtC,EAAOuC,UAAY,CACjB9B,KAAM+B,EAAUC,OAChBpC,KAAMmC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDtC,UAAWqC,EAAUC"}
|
package/dist/esm/Link.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as a from"react";function t(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function n(){return n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},n.apply(this,arguments)}function i(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l,a,t={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],r.indexOf(l)>=0||(t[l]=e[l]);return t}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],u=function(l){var u,p=l.className,m=l.size,y=void 0===m?16:m,C=l.title,d=l["aria-label"],g=l["aria-labelledby"],v=l.fill,O=l.role,h=void 0===O?"img":O,L=i(l,b),j=e(c||(c=o(["\n color: ",";\n "])),v),w=e(f||(f=o(["\n flex-shrink: 0;\n "]))),x=function(e,r,l){var a,n,i=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return i||o||c?(t(a={},"aria-labelledby",o),t(a,"aria-label",i),t(a,"title",c),a):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Link",(t(u={title:C},"aria-label",d),t(u,"aria-labelledby",g),u));return a.createElement("svg",n({className:r(t({},j,null!=v),w,p),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:h},x,L,{viewBox:"0 0 16 16"}),a.createElement("path",{d:"M6.03867 9.95309C5.91948 9.8323 5.81065 9.70512 5.71217 9.57265L7.16282 8.12843C7.2355 8.27756 7.33323 8.41753 7.45605 8.54199C8.06167 9.15571 9.04795 9.1601 9.65896 8.55179L12.5432 5.68033C13.1542 5.07203 13.1586 4.08138 12.553 3.46767C11.9473 2.85395 10.9611 2.84956 10.3501 3.45786L9.97109 3.83515C9.5797 4.22481 8.94791 4.222 8.55996 3.82887C8.17202 3.43574 8.17482 2.80115 8.56622 2.41149L8.94518 2.03421C10.339 0.646579 12.5888 0.656589 13.9703 2.05657C15.3519 3.45655 15.3419 5.71635 13.9481 7.10399L11.0638 9.97545C9.67003 11.3631 7.42018 11.3531 6.03867 9.95309Z",fill:"currentColor"}),a.createElement("path",{d:"M9.96133 6.04691C10.0805 6.1677 10.1894 6.29488 10.2878 6.42735L8.83718 7.87157C8.7645 7.72244 8.66677 7.58247 8.54395 7.45801C7.93833 6.84429 6.95205 6.83991 6.34104 7.44821L3.45679 10.3197C2.84578 10.928 2.84141 11.9186 3.44703 12.5323C4.05265 13.1461 5.03893 13.1504 5.64994 12.5421L6.02891 12.1649C6.4203 11.7752 7.05209 11.778 7.44004 12.1711C7.82798 12.5643 7.82518 13.1988 7.43378 13.5885L7.05482 13.9658C5.66101 15.3534 3.41117 15.3434 2.02965 13.9434C0.648136 12.5435 0.658103 10.2836 2.05191 8.89601L4.93616 6.02455C6.32997 4.63692 8.57982 4.64693 9.96133 6.04691Z",fill:"currentColor"}))};u.displayName="Link",u.isGlyph=!0,u.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{u as default};
|
|
2
2
|
//# sourceMappingURL=Link.js.map
|
package/dist/esm/Link.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","sources":["../../src/glyphCommon.ts","../../src/generated/Link.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"Link.js","sources":["../../src/glyphCommon.ts","../../src/generated/Link.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum a9de1e870eacc8a6d3d130f5c6cf40aa\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LinkProps extends LGGlyph.ComponentProps {}\n\nconst Link = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LinkProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Link', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M6.03867 9.95309C5.91948 9.8323 5.81065 9.70512 5.71217 9.57265L7.16282 8.12843C7.2355 8.27756 7.33323 8.41753 7.45605 8.54199C8.06167 9.15571 9.04795 9.1601 9.65896 8.55179L12.5432 5.68033C13.1542 5.07203 13.1586 4.08138 12.553 3.46767C11.9473 2.85395 10.9611 2.84956 10.3501 3.45786L9.97109 3.83515C9.5797 4.22481 8.94791 4.222 8.55996 3.82887C8.17202 3.43574 8.17482 2.80115 8.56622 2.41149L8.94518 2.03421C10.339 0.646579 12.5888 0.656589 13.9703 2.05657C15.3519 3.45655 15.3419 5.71635 13.9481 7.10399L11.0638 9.97545C9.67003 11.3631 7.42018 11.3531 6.03867 9.95309Z\"\n fill={'currentColor'}\n />\n <path\n d=\"M9.96133 6.04691C10.0805 6.1677 10.1894 6.29488 10.2878 6.42735L8.83718 7.87157C8.7645 7.72244 8.66677 7.58247 8.54395 7.45801C7.93833 6.84429 6.95205 6.83991 6.34104 7.44821L3.45679 10.3197C2.84578 10.928 2.84141 11.9186 3.44703 12.5323C4.05265 13.1461 5.03893 13.1504 5.64994 12.5421L6.02891 12.1649C6.4203 11.7752 7.05209 11.778 7.44004 12.1711C7.82798 12.5643 7.82518 13.1988 7.43378 13.5885L7.05482 13.9658C5.66101 15.3534 3.41117 15.3434 2.02965 13.9434C0.648136 12.5435 0.658103 10.2836 2.05191 8.89601L4.93616 6.02455C6.32997 4.63692 8.57982 4.64693 9.96133 6.04691Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nLink.displayName = 'Link';\nLink.isGlyph = true;\nLink.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default Link;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Link","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAO,SAAcC,GACvB,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,QAEjDW,EAF0DpB,EAAwB,CACnFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8jBACHzB,KAAM,iBACSkB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ikBACHzB,KAAM,mBAIVT,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU,EACfpC,EAAKqC,UAAY,CACf5B,KAAM6B,EAAUC,OAChBlC,KAAMiC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDpC,UAAWmC,EAAUC"}
|
package/dist/esm/Lock.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as a from"react";function t(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function i(){return i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l,a,t={},i=Object.keys(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||(t[l]=e[l]);return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,s={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(l){var b,p=l.className,m=l.size,y=void 0===m?16:m,d=l.title,g=l["aria-label"],v=l["aria-labelledby"],O=l.fill,C=l.role,h=void 0===C?"img":C,j=n(l,u),w=e(c||(c=o(["\n color: ",";\n "])),O),V=e(f||(f=o(["\n flex-shrink: 0;\n "]))),x=function(e,r,l){var a,i,n=l["aria-label"],o=l["aria-labelledby"],c=l.title;switch(e){case"img":return n||o||c?(t(a={},"aria-labelledby",o),t(a,"aria-label",n),t(a,"title",c),a):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Lock",(t(b={title:d},"aria-label",g),t(b,"aria-labelledby",v),b));return a.createElement("svg",i({className:r(t({},w,null!=O),V,p),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:h},x,j,{viewBox:"0 0 16 16"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 7V5C4 2.79086 5.79086 1 8 1C10.2091 1 12 2.79086 12 5V7C12.5523 7 13 7.44772 13 8V14C13 14.5523 12.5523 15 12 15H4C3.44772 15 3 14.5523 3 14V8C3 7.44772 3.44772 7 4 7ZM6 5C6 3.89543 6.89543 3 8 3C9.10457 3 10 3.89543 10 5V7H6V5ZM8.58667 10.8099C8.83712 10.6282 9 10.3331 9 10C9 9.44771 8.55228 9 8 9C7.44772 9 7 9.44771 7 10C7 10.3361 7.16577 10.6334 7.42 10.8147V12.6667C7.42 12.9888 7.68117 13.25 8.00333 13.25C8.3255 13.25 8.58667 12.9888 8.58667 12.6667V10.8099Z",fill:"currentColor"}))};b.displayName="Lock",b.isGlyph=!0,b.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{b as default};
|
|
2
2
|
//# sourceMappingURL=Lock.js.map
|
package/dist/esm/Lock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Lock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Lock.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum
|
|
1
|
+
{"version":3,"file":"Lock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Lock.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n * This is a generated file. Do not modify it manually.\n *\n * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts\n * @checksum d66d21f5b02af2172746e85eded387d8\n */\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LockProps extends LGGlyph.ComponentProps {}\n\nconst Lock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Lock', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n });\n return (\n <svg\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n noFlexShrink,\n className,\n )}\n height={typeof size === 'number' ? size : sizeMap[size]}\n width={typeof size === 'number' ? size : sizeMap[size]}\n role={role}\n {...accessibleProps}\n {...props}\n viewBox=\"0 0 16 16\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M4 7V5C4 2.79086 5.79086 1 8 1C10.2091 1 12 2.79086 12 5V7C12.5523 7 13 7.44772 13 8V14C13 14.5523 12.5523 15 12 15H4C3.44772 15 3 14.5523 3 14V8C3 7.44772 3.44772 7 4 7ZM6 5C6 3.89543 6.89543 3 8 3C9.10457 3 10 3.89543 10 5V7H6V5ZM8.58667 10.8099C8.83712 10.6282 9 10.3331 9 10C9 9.44771 8.55228 9 8 9C7.44772 9 7 9.44771 7 10C7 10.3361 7.16577 10.6334 7.42 10.8147V12.6667C7.42 12.9888 7.68117 13.25 8.00333 13.25C8.3255 13.25 8.58667 12.9888 8.58667 12.6667V10.8099Z\"\n fill={'currentColor'}\n />\n </svg>\n );\n};\n\nLock.displayName = 'Lock';\nLock.isGlyph = true;\nLock.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default Lock;\n"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Lock","_ref","_generateAccessiblePr","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","_ref2","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"q5BAOO,ICFHA,EAAiBC,EDEVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICJV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAapFC,EAAO,SAAcC,GACvB,IAAIC,EAEAC,EAAYF,EAAKE,UACjBC,EAAYH,EAAKI,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQL,EAAKK,MACbC,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBQ,EAAOR,EAAKQ,KACZC,EAAYT,EAAKU,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBZ,EAAMF,GAEvCe,EAAYC,EAAIvB,IAAoBA,EAAkBwB,EAAuB,CAAC,gBAAiB,WAAYP,GAC3GQ,EAAeF,EAAItB,IAAqBA,EAAmBuB,EAAuB,CAAC,gCACnFE,EDvBC,SAAiCP,EAAMQ,EAAWlB,GACvD,IAAImB,EAuBwBC,EArBxBd,EAAYN,EAAK,cACjBO,EAAiBP,EAAK,mBACtBK,EAAQL,EAAKK,MAEjB,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,GAMnBgB,EAAZF,EAAQ,GAA2B,kBAAmBZ,GAAiBc,EAAgBF,EAAO,aAAcb,GAAYe,EAAgBF,EAAO,QAASd,GAAQc,GAL9J,CACL,cAaoBC,EAbQF,EAc7B,GAAGI,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,KCGWC,CAAwBf,EAAM,QAEjDW,EAF0DpB,EAAwB,CACnFI,MAAOA,GACiC,aAAcC,GAAYe,EAAgBpB,EAAuB,kBAAmBM,GAAiBN,IAC/I,OAAoByB,EAAMC,cAAc,MAAOC,EAAS,CACtD1B,UAAW2B,EAAGR,EAAgB,GAAIR,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E4B,OAAwB,iBAAT1B,EAAoBA,EAAOX,EAAQW,GAClD2B,MAAuB,iBAAT3B,EAAoBA,EAAOX,EAAQW,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBqB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,wdACH3B,KAAM,mBAIVT,EAAKqC,YAAc,OACnBrC,EAAKsC,SAAU,EACftC,EAAKuC,UAAY,CACf9B,KAAM+B,EAAUC,OAChBpC,KAAMmC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDtC,UAAWqC,EAAUC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{css as e,cx as r}from"@leafygreen-ui/emotion";import l from"prop-types";import*as a from"react";function t(e,r,l){return r in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function i(){return i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l,a,t={},i=Object.keys(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||(t[l]=e[l]);return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var s,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(l){var b,p=l.className,y=l.size,m=void 0===y?16:y,d=l.title,g=l["aria-label"],v=l["aria-labelledby"],O=l.fill,h=l.role,C=void 0===h?"img":h,j=n(l,u),w=e(s||(s=o(["\n color: ",";\n "])),O),x=e(c||(c=o(["\n flex-shrink: 0;\n "]))),z=function(e,r,l){var a,i,n=l["aria-label"],o=l["aria-labelledby"],s=l.title;switch(e){case"img":return n||o||s?(t(a={},"aria-labelledby",o),t(a,"aria-label",n),t(a,"title",s),a):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"MagnifyingGlass",(t(b={title:d},"aria-label",g),t(b,"aria-labelledby",v),b));return a.createElement("svg",i({className:r(t({},w,null!=O),x,p),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:C},z,j,{viewBox:"0 0 16 16"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.3234 9.81874C4.07618 11.5715 6.75062 11.8398 8.78588 10.6244L12.93 14.7685C13.4377 15.2762 14.2608 15.2762 14.7685 14.7685C15.2762 14.2608 15.2762 13.4377 14.7685 12.93L10.6244 8.78588C11.8398 6.75062 11.5715 4.07619 9.81873 2.32341C7.74896 0.253628 4.39318 0.253628 2.3234 2.32341C0.253624 4.39319 0.253624 7.74896 2.3234 9.81874ZM7.98026 4.16188C9.03467 5.2163 9.03467 6.92585 7.98026 7.98026C6.92584 9.03468 5.2163 9.03468 4.16188 7.98026C3.10746 6.92585 3.10746 5.2163 4.16188 4.16188C5.2163 3.10747 6.92584 3.10747 7.98026 4.16188Z",fill:"currentColor"}))};b.displayName="MagnifyingGlass",b.isGlyph=!0,b.propTypes={fill:l.string,size:l.oneOfType([l.number,l.string]),className:l.string};export{b as default};
|
|
2
2
|
//# sourceMappingURL=MagnifyingGlass.js.map
|