@leafygreen-ui/icon 14.2.0 → 14.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/constants.mjs +1 -0
- package/dist/AIModel.js.map +1 -1
- package/dist/ActivityFeed.js.map +1 -1
- package/dist/AddFile.js.map +1 -1
- package/dist/AllProducts.js.map +1 -1
- package/dist/AnalyticsNode.js.map +1 -1
- package/dist/Apps.js.map +1 -1
- package/dist/Array.js.map +1 -1
- package/dist/ArrowDown.js.map +1 -1
- package/dist/ArrowLeft.js.map +1 -1
- package/dist/ArrowRight.js.map +1 -1
- package/dist/ArrowUp.js.map +1 -1
- package/dist/Beaker.js.map +1 -1
- package/dist/Bell.js.map +1 -1
- package/dist/Biometric.js.map +1 -1
- package/dist/Boolean.js.map +1 -1
- package/dist/Building.js.map +1 -1
- package/dist/Bulb.js.map +1 -1
- package/dist/Calendar.js.map +1 -1
- package/dist/Camera.js.map +1 -1
- package/dist/Cap.js.map +1 -1
- package/dist/CaretDown.js.map +1 -1
- package/dist/CaretLeft.js.map +1 -1
- package/dist/CaretRight.js.map +1 -1
- package/dist/CaretUp.js.map +1 -1
- package/dist/ChartFilled.js.map +1 -1
- package/dist/Charts.js.map +1 -1
- package/dist/Checkmark.js.map +1 -1
- package/dist/CheckmarkWithCircle.js.map +1 -1
- package/dist/ChevronDown.js.map +1 -1
- package/dist/ChevronLeft.js.map +1 -1
- package/dist/ChevronRight.js.map +1 -1
- package/dist/ChevronUp.js.map +1 -1
- package/dist/Circle.js.map +1 -1
- package/dist/Clock.js.map +1 -1
- package/dist/ClockWithArrow.js.map +1 -1
- package/dist/Clone.js.map +1 -1
- package/dist/Cloud.js.map +1 -1
- package/dist/Code.js.map +1 -1
- package/dist/CodeBlock.js.map +1 -1
- package/dist/Coin.js.map +1 -1
- package/dist/Colon.js.map +1 -1
- package/dist/Config.js.map +1 -1
- package/dist/Connect.js.map +1 -1
- package/dist/Copy.js.map +1 -1
- package/dist/CreditCard.js.map +1 -1
- package/dist/CurlyBraces.js.map +1 -1
- package/dist/Cursor.js.map +1 -1
- package/dist/Dashboard.js.map +1 -1
- package/dist/Database.js.map +1 -1
- package/dist/Diagram.js.map +1 -1
- package/dist/Diagram2.js.map +1 -1
- package/dist/Diagram3.js.map +1 -1
- package/dist/Disconnect.js.map +1 -1
- package/dist/Download.js.map +1 -1
- package/dist/Drag.js.map +1 -1
- package/dist/Edit.js.map +1 -1
- package/dist/Ellipsis.js.map +1 -1
- package/dist/Email.js.map +1 -1
- package/dist/EmptyDatabase.js.map +1 -1
- package/dist/EmptyFolder.js.map +1 -1
- package/dist/Eraser.js.map +1 -1
- package/dist/Escalation.js.map +1 -1
- package/dist/Export.js.map +1 -1
- package/dist/Favorite.js.map +1 -1
- package/dist/Federation.js.map +1 -1
- package/dist/File.js.map +1 -1
- package/dist/Filter.js.map +1 -1
- package/dist/Folder.js.map +1 -1
- package/dist/Format.js.map +1 -1
- package/dist/FullScreenEnter.js.map +1 -1
- package/dist/FullScreenExit.js.map +1 -1
- package/dist/Function.js.map +1 -1
- package/dist/Gauge.js.map +1 -1
- package/dist/GlobeAmericas.js.map +1 -1
- package/dist/GovernmentBuilding.js.map +1 -1
- package/dist/Guide.js.map +1 -1
- package/dist/Hash.js.map +1 -1
- package/dist/HiddenSecondaryNode.js.map +1 -1
- package/dist/Highlight.js.map +1 -1
- package/dist/Home.js.map +1 -1
- package/dist/HorizontalDrag.js.map +1 -1
- package/dist/Import.js.map +1 -1
- package/dist/ImportantWithCircle.js.map +1 -1
- package/dist/InfoWithCircle.js.map +1 -1
- package/dist/InternalEmployee.js.map +1 -1
- package/dist/InviteUser.js.map +1 -1
- package/dist/Key.js.map +1 -1
- package/dist/Laptop.js.map +1 -1
- package/dist/LightningBolt.js.map +1 -1
- package/dist/Link.js.map +1 -1
- package/dist/List.js.map +1 -1
- package/dist/Lock.js.map +1 -1
- package/dist/LogIn.js.map +1 -1
- package/dist/LogOut.js.map +1 -1
- package/dist/MagnifyingGlass.js.map +1 -1
- package/dist/Megaphone.js.map +1 -1
- package/dist/Menu.js.map +1 -1
- package/dist/Minus.js.map +1 -1
- package/dist/Mobile.js.map +1 -1
- package/dist/Moon.js.map +1 -1
- package/dist/MultiDirectionArrow.js.map +1 -1
- package/dist/MultiLayers.js.map +1 -1
- package/dist/NavCollapse.js.map +1 -1
- package/dist/NavExpand.js.map +1 -1
- package/dist/NoFilter.js.map +1 -1
- package/dist/NotAllowed.js.map +1 -1
- package/dist/Note.js.map +1 -1
- package/dist/NumberedList.js.map +1 -1
- package/dist/OpenNewTab.js.map +1 -1
- package/dist/OutlineFavorite.js.map +1 -1
- package/dist/Package.js.map +1 -1
- package/dist/Pause.js.map +1 -1
- package/dist/Pending.js.map +1 -1
- package/dist/Person.js.map +1 -1
- package/dist/PersonGroup.js.map +1 -1
- package/dist/PersonWithLock.js.map +1 -1
- package/dist/Pin.js.map +1 -1
- package/dist/Play.js.map +1 -1
- package/dist/Plus.js.map +1 -1
- package/dist/PlusWithCircle.js.map +1 -1
- package/dist/Primary.js.map +1 -1
- package/dist/Project.js.map +1 -1
- package/dist/QuestionMarkWithCircle.js.map +1 -1
- package/dist/Read.js.map +1 -1
- package/dist/Recommended.js.map +1 -1
- package/dist/Redo.js.map +1 -1
- package/dist/Refresh.js.map +1 -1
- package/dist/Relationship.js.map +1 -1
- package/dist/ReplicaSet.js.map +1 -1
- package/dist/Resize.js.map +1 -1
- package/dist/Resource.js.map +1 -1
- package/dist/Return.js.map +1 -1
- package/dist/Revert.js.map +1 -1
- package/dist/Router.js.map +1 -1
- package/dist/SMS.js.map +1 -1
- package/dist/Save.js.map +1 -1
- package/dist/SearchIndex.js.map +1 -1
- package/dist/Secondary.js.map +1 -1
- package/dist/Serverless.js.map +1 -1
- package/dist/Settings.js.map +1 -1
- package/dist/ShardedCluster.js.map +1 -1
- package/dist/Shell.js.map +1 -1
- package/dist/Shield.js.map +1 -1
- package/dist/Shirt.js.map +1 -1
- package/dist/Shortcut.js +2 -0
- package/dist/Shortcut.js.map +1 -0
- package/dist/SortAscending.js.map +1 -1
- package/dist/SortDescending.js.map +1 -1
- package/dist/Sparkle.js.map +1 -1
- package/dist/SplitHorizontal.js.map +1 -1
- package/dist/SplitVertical.js.map +1 -1
- package/dist/Stitch.js.map +1 -1
- package/dist/Stop.js.map +1 -1
- package/dist/Streaming.js.map +1 -1
- package/dist/String.js.map +1 -1
- package/dist/Sun.js.map +1 -1
- package/dist/Support.js.map +1 -1
- package/dist/Sweep.js.map +1 -1
- package/dist/Table.js.map +1 -1
- package/dist/Tag.js.map +1 -1
- package/dist/TemporaryTable.js.map +1 -1
- package/dist/ThumbsDown.js.map +1 -1
- package/dist/ThumbsUp.js.map +1 -1
- package/dist/TimeSeries.js.map +1 -1
- package/dist/TimeSeriesCollection.js.map +1 -1
- package/dist/Trash.js.map +1 -1
- package/dist/Undo.js.map +1 -1
- package/dist/University.js.map +1 -1
- package/dist/Unlock.js.map +1 -1
- package/dist/Unsorted.js.map +1 -1
- package/dist/UpDownCarets.js.map +1 -1
- package/dist/Upload.js.map +1 -1
- package/dist/VerticalEllipsis.js.map +1 -1
- package/dist/View.js.map +1 -1
- package/dist/Visibility.js.map +1 -1
- package/dist/VisibilityOff.js.map +1 -1
- package/dist/Warning.js.map +1 -1
- package/dist/Wizard.js.map +1 -1
- package/dist/Wrench.js.map +1 -1
- package/dist/Write.js.map +1 -1
- package/dist/X.js.map +1 -1
- package/dist/XWithCircle.js.map +1 -1
- package/dist/checksums.json +183 -0
- package/dist/esm/AIModel.js.map +1 -1
- package/dist/esm/ActivityFeed.js.map +1 -1
- package/dist/esm/AddFile.js.map +1 -1
- package/dist/esm/AllProducts.js.map +1 -1
- package/dist/esm/AnalyticsNode.js.map +1 -1
- package/dist/esm/Apps.js.map +1 -1
- package/dist/esm/Array.js.map +1 -1
- package/dist/esm/ArrowDown.js.map +1 -1
- package/dist/esm/ArrowLeft.js.map +1 -1
- package/dist/esm/ArrowRight.js.map +1 -1
- package/dist/esm/ArrowUp.js.map +1 -1
- package/dist/esm/Beaker.js.map +1 -1
- package/dist/esm/Bell.js.map +1 -1
- package/dist/esm/Biometric.js.map +1 -1
- package/dist/esm/Boolean.js.map +1 -1
- package/dist/esm/Building.js.map +1 -1
- package/dist/esm/Bulb.js.map +1 -1
- package/dist/esm/Calendar.js.map +1 -1
- package/dist/esm/Camera.js.map +1 -1
- package/dist/esm/Cap.js.map +1 -1
- package/dist/esm/CaretDown.js.map +1 -1
- package/dist/esm/CaretLeft.js.map +1 -1
- package/dist/esm/CaretRight.js.map +1 -1
- package/dist/esm/CaretUp.js.map +1 -1
- package/dist/esm/ChartFilled.js.map +1 -1
- package/dist/esm/Charts.js.map +1 -1
- package/dist/esm/Checkmark.js.map +1 -1
- package/dist/esm/CheckmarkWithCircle.js.map +1 -1
- package/dist/esm/ChevronDown.js.map +1 -1
- package/dist/esm/ChevronLeft.js.map +1 -1
- package/dist/esm/ChevronRight.js.map +1 -1
- package/dist/esm/ChevronUp.js.map +1 -1
- package/dist/esm/Circle.js.map +1 -1
- package/dist/esm/Clock.js.map +1 -1
- package/dist/esm/ClockWithArrow.js.map +1 -1
- package/dist/esm/Clone.js.map +1 -1
- package/dist/esm/Cloud.js.map +1 -1
- package/dist/esm/Code.js.map +1 -1
- package/dist/esm/CodeBlock.js.map +1 -1
- package/dist/esm/Coin.js.map +1 -1
- package/dist/esm/Colon.js.map +1 -1
- package/dist/esm/Config.js.map +1 -1
- package/dist/esm/Connect.js.map +1 -1
- package/dist/esm/Copy.js.map +1 -1
- package/dist/esm/CreditCard.js.map +1 -1
- package/dist/esm/CurlyBraces.js.map +1 -1
- package/dist/esm/Cursor.js.map +1 -1
- package/dist/esm/Dashboard.js.map +1 -1
- package/dist/esm/Database.js.map +1 -1
- package/dist/esm/Diagram.js.map +1 -1
- package/dist/esm/Diagram2.js.map +1 -1
- package/dist/esm/Diagram3.js.map +1 -1
- package/dist/esm/Disconnect.js.map +1 -1
- package/dist/esm/Download.js.map +1 -1
- package/dist/esm/Drag.js.map +1 -1
- package/dist/esm/Edit.js.map +1 -1
- package/dist/esm/Ellipsis.js.map +1 -1
- package/dist/esm/Email.js.map +1 -1
- package/dist/esm/EmptyDatabase.js.map +1 -1
- package/dist/esm/EmptyFolder.js.map +1 -1
- package/dist/esm/Eraser.js.map +1 -1
- package/dist/esm/Escalation.js.map +1 -1
- package/dist/esm/Export.js.map +1 -1
- package/dist/esm/Favorite.js.map +1 -1
- package/dist/esm/Federation.js.map +1 -1
- package/dist/esm/File.js.map +1 -1
- package/dist/esm/Filter.js.map +1 -1
- package/dist/esm/Folder.js.map +1 -1
- package/dist/esm/Format.js.map +1 -1
- package/dist/esm/FullScreenEnter.js.map +1 -1
- package/dist/esm/FullScreenExit.js.map +1 -1
- package/dist/esm/Function.js.map +1 -1
- package/dist/esm/Gauge.js.map +1 -1
- package/dist/esm/GlobeAmericas.js.map +1 -1
- package/dist/esm/GovernmentBuilding.js.map +1 -1
- package/dist/esm/Guide.js.map +1 -1
- package/dist/esm/Hash.js.map +1 -1
- package/dist/esm/HiddenSecondaryNode.js.map +1 -1
- package/dist/esm/Highlight.js.map +1 -1
- package/dist/esm/Home.js.map +1 -1
- package/dist/esm/HorizontalDrag.js.map +1 -1
- package/dist/esm/Import.js.map +1 -1
- package/dist/esm/ImportantWithCircle.js.map +1 -1
- package/dist/esm/InfoWithCircle.js.map +1 -1
- package/dist/esm/InternalEmployee.js.map +1 -1
- package/dist/esm/InviteUser.js.map +1 -1
- package/dist/esm/Key.js.map +1 -1
- package/dist/esm/Laptop.js.map +1 -1
- package/dist/esm/LightningBolt.js.map +1 -1
- package/dist/esm/Link.js.map +1 -1
- package/dist/esm/List.js.map +1 -1
- package/dist/esm/Lock.js.map +1 -1
- package/dist/esm/LogIn.js.map +1 -1
- package/dist/esm/LogOut.js.map +1 -1
- package/dist/esm/MagnifyingGlass.js.map +1 -1
- package/dist/esm/Megaphone.js.map +1 -1
- package/dist/esm/Menu.js.map +1 -1
- package/dist/esm/Minus.js.map +1 -1
- package/dist/esm/Mobile.js.map +1 -1
- package/dist/esm/Moon.js.map +1 -1
- package/dist/esm/MultiDirectionArrow.js.map +1 -1
- package/dist/esm/MultiLayers.js.map +1 -1
- package/dist/esm/NavCollapse.js.map +1 -1
- package/dist/esm/NavExpand.js.map +1 -1
- package/dist/esm/NoFilter.js.map +1 -1
- package/dist/esm/NotAllowed.js.map +1 -1
- package/dist/esm/Note.js.map +1 -1
- package/dist/esm/NumberedList.js.map +1 -1
- package/dist/esm/OpenNewTab.js.map +1 -1
- package/dist/esm/OutlineFavorite.js.map +1 -1
- package/dist/esm/Package.js.map +1 -1
- package/dist/esm/Pause.js.map +1 -1
- package/dist/esm/Pending.js.map +1 -1
- package/dist/esm/Person.js.map +1 -1
- package/dist/esm/PersonGroup.js.map +1 -1
- package/dist/esm/PersonWithLock.js.map +1 -1
- package/dist/esm/Pin.js.map +1 -1
- package/dist/esm/Play.js.map +1 -1
- package/dist/esm/Plus.js.map +1 -1
- package/dist/esm/PlusWithCircle.js.map +1 -1
- package/dist/esm/Primary.js.map +1 -1
- package/dist/esm/Project.js.map +1 -1
- package/dist/esm/QuestionMarkWithCircle.js.map +1 -1
- package/dist/esm/Read.js.map +1 -1
- package/dist/esm/Recommended.js.map +1 -1
- package/dist/esm/Redo.js.map +1 -1
- package/dist/esm/Refresh.js.map +1 -1
- package/dist/esm/Relationship.js.map +1 -1
- package/dist/esm/ReplicaSet.js.map +1 -1
- package/dist/esm/Resize.js.map +1 -1
- package/dist/esm/Resource.js.map +1 -1
- package/dist/esm/Return.js.map +1 -1
- package/dist/esm/Revert.js.map +1 -1
- package/dist/esm/Router.js.map +1 -1
- package/dist/esm/SMS.js.map +1 -1
- package/dist/esm/Save.js.map +1 -1
- package/dist/esm/SearchIndex.js.map +1 -1
- package/dist/esm/Secondary.js.map +1 -1
- package/dist/esm/Serverless.js.map +1 -1
- package/dist/esm/Settings.js.map +1 -1
- package/dist/esm/ShardedCluster.js.map +1 -1
- package/dist/esm/Shell.js.map +1 -1
- package/dist/esm/Shield.js.map +1 -1
- package/dist/esm/Shirt.js.map +1 -1
- package/dist/esm/Shortcut.js +2 -0
- package/dist/esm/Shortcut.js.map +1 -0
- package/dist/esm/SortAscending.js.map +1 -1
- package/dist/esm/SortDescending.js.map +1 -1
- package/dist/esm/Sparkle.js.map +1 -1
- package/dist/esm/SplitHorizontal.js.map +1 -1
- package/dist/esm/SplitVertical.js.map +1 -1
- package/dist/esm/Stitch.js.map +1 -1
- package/dist/esm/Stop.js.map +1 -1
- package/dist/esm/Streaming.js.map +1 -1
- package/dist/esm/String.js.map +1 -1
- package/dist/esm/Sun.js.map +1 -1
- package/dist/esm/Support.js.map +1 -1
- package/dist/esm/Sweep.js.map +1 -1
- package/dist/esm/Table.js.map +1 -1
- package/dist/esm/Tag.js.map +1 -1
- package/dist/esm/TemporaryTable.js.map +1 -1
- package/dist/esm/ThumbsDown.js.map +1 -1
- package/dist/esm/ThumbsUp.js.map +1 -1
- package/dist/esm/TimeSeries.js.map +1 -1
- package/dist/esm/TimeSeriesCollection.js.map +1 -1
- package/dist/esm/Trash.js.map +1 -1
- package/dist/esm/Undo.js.map +1 -1
- package/dist/esm/University.js.map +1 -1
- package/dist/esm/Unlock.js.map +1 -1
- package/dist/esm/Unsorted.js.map +1 -1
- package/dist/esm/UpDownCarets.js.map +1 -1
- package/dist/esm/Upload.js.map +1 -1
- package/dist/esm/VerticalEllipsis.js.map +1 -1
- package/dist/esm/View.js.map +1 -1
- package/dist/esm/Visibility.js.map +1 -1
- package/dist/esm/VisibilityOff.js.map +1 -1
- package/dist/esm/Warning.js.map +1 -1
- package/dist/esm/Wizard.js.map +1 -1
- package/dist/esm/Wrench.js.map +1 -1
- package/dist/esm/Write.js.map +1 -1
- package/dist/esm/X.js.map +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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/generated/AIModel.d.ts +2 -2
- package/dist/types/generated/ActivityFeed.d.ts +2 -2
- package/dist/types/generated/AddFile.d.ts +2 -2
- package/dist/types/generated/AllProducts.d.ts +2 -2
- package/dist/types/generated/AnalyticsNode.d.ts +2 -2
- package/dist/types/generated/Apps.d.ts +2 -2
- package/dist/types/generated/Array.d.ts +2 -2
- package/dist/types/generated/ArrowDown.d.ts +2 -2
- package/dist/types/generated/ArrowLeft.d.ts +2 -2
- package/dist/types/generated/ArrowRight.d.ts +2 -2
- package/dist/types/generated/ArrowUp.d.ts +2 -2
- package/dist/types/generated/Beaker.d.ts +2 -2
- package/dist/types/generated/Bell.d.ts +2 -2
- package/dist/types/generated/Biometric.d.ts +2 -2
- package/dist/types/generated/Boolean.d.ts +2 -2
- package/dist/types/generated/Building.d.ts +2 -2
- package/dist/types/generated/Bulb.d.ts +2 -2
- package/dist/types/generated/Calendar.d.ts +2 -2
- package/dist/types/generated/Camera.d.ts +2 -2
- package/dist/types/generated/Cap.d.ts +2 -2
- package/dist/types/generated/CaretDown.d.ts +2 -2
- package/dist/types/generated/CaretLeft.d.ts +2 -2
- package/dist/types/generated/CaretRight.d.ts +2 -2
- package/dist/types/generated/CaretUp.d.ts +2 -2
- package/dist/types/generated/ChartFilled.d.ts +2 -2
- package/dist/types/generated/Charts.d.ts +2 -2
- package/dist/types/generated/Checkmark.d.ts +2 -2
- package/dist/types/generated/CheckmarkWithCircle.d.ts +2 -2
- package/dist/types/generated/ChevronDown.d.ts +2 -2
- package/dist/types/generated/ChevronLeft.d.ts +2 -2
- package/dist/types/generated/ChevronRight.d.ts +2 -2
- package/dist/types/generated/ChevronUp.d.ts +2 -2
- package/dist/types/generated/Circle.d.ts +2 -2
- package/dist/types/generated/Clock.d.ts +2 -2
- package/dist/types/generated/ClockWithArrow.d.ts +2 -2
- package/dist/types/generated/Clone.d.ts +2 -2
- package/dist/types/generated/Cloud.d.ts +2 -2
- package/dist/types/generated/Code.d.ts +2 -2
- package/dist/types/generated/CodeBlock.d.ts +2 -2
- package/dist/types/generated/Coin.d.ts +2 -2
- package/dist/types/generated/Colon.d.ts +2 -2
- package/dist/types/generated/Config.d.ts +2 -2
- package/dist/types/generated/Connect.d.ts +2 -2
- package/dist/types/generated/Copy.d.ts +2 -2
- package/dist/types/generated/CreditCard.d.ts +2 -2
- package/dist/types/generated/CurlyBraces.d.ts +2 -2
- package/dist/types/generated/Cursor.d.ts +2 -2
- package/dist/types/generated/Dashboard.d.ts +2 -2
- package/dist/types/generated/Database.d.ts +2 -2
- package/dist/types/generated/Diagram.d.ts +2 -2
- package/dist/types/generated/Diagram2.d.ts +2 -2
- package/dist/types/generated/Diagram3.d.ts +2 -2
- package/dist/types/generated/Disconnect.d.ts +2 -2
- package/dist/types/generated/Download.d.ts +2 -2
- package/dist/types/generated/Drag.d.ts +2 -2
- package/dist/types/generated/Edit.d.ts +2 -2
- package/dist/types/generated/Ellipsis.d.ts +2 -2
- package/dist/types/generated/Email.d.ts +2 -2
- package/dist/types/generated/EmptyDatabase.d.ts +2 -2
- package/dist/types/generated/EmptyFolder.d.ts +2 -2
- package/dist/types/generated/Eraser.d.ts +2 -2
- package/dist/types/generated/Escalation.d.ts +2 -2
- package/dist/types/generated/Export.d.ts +2 -2
- package/dist/types/generated/Favorite.d.ts +2 -2
- package/dist/types/generated/Federation.d.ts +2 -2
- package/dist/types/generated/File.d.ts +2 -2
- package/dist/types/generated/Filter.d.ts +2 -2
- package/dist/types/generated/Folder.d.ts +2 -2
- package/dist/types/generated/Format.d.ts +2 -2
- package/dist/types/generated/FullScreenEnter.d.ts +2 -2
- package/dist/types/generated/FullScreenExit.d.ts +2 -2
- package/dist/types/generated/Function.d.ts +2 -2
- package/dist/types/generated/Gauge.d.ts +2 -2
- package/dist/types/generated/GlobeAmericas.d.ts +2 -2
- package/dist/types/generated/GovernmentBuilding.d.ts +2 -2
- package/dist/types/generated/Guide.d.ts +2 -2
- package/dist/types/generated/Hash.d.ts +2 -2
- package/dist/types/generated/HiddenSecondaryNode.d.ts +2 -2
- package/dist/types/generated/Highlight.d.ts +2 -2
- package/dist/types/generated/Home.d.ts +2 -2
- package/dist/types/generated/HorizontalDrag.d.ts +2 -2
- package/dist/types/generated/Import.d.ts +2 -2
- package/dist/types/generated/ImportantWithCircle.d.ts +2 -2
- package/dist/types/generated/InfoWithCircle.d.ts +2 -2
- package/dist/types/generated/InternalEmployee.d.ts +2 -2
- package/dist/types/generated/InviteUser.d.ts +2 -2
- package/dist/types/generated/Key.d.ts +2 -2
- package/dist/types/generated/Laptop.d.ts +2 -2
- package/dist/types/generated/LightningBolt.d.ts +2 -2
- package/dist/types/generated/Link.d.ts +2 -2
- package/dist/types/generated/List.d.ts +2 -2
- package/dist/types/generated/Lock.d.ts +2 -2
- package/dist/types/generated/LogIn.d.ts +2 -2
- package/dist/types/generated/LogOut.d.ts +2 -2
- package/dist/types/generated/MagnifyingGlass.d.ts +2 -2
- package/dist/types/generated/Megaphone.d.ts +2 -2
- package/dist/types/generated/Menu.d.ts +2 -2
- package/dist/types/generated/Minus.d.ts +2 -2
- package/dist/types/generated/Mobile.d.ts +2 -2
- package/dist/types/generated/Moon.d.ts +2 -2
- package/dist/types/generated/MultiDirectionArrow.d.ts +2 -2
- package/dist/types/generated/MultiLayers.d.ts +2 -2
- package/dist/types/generated/NavCollapse.d.ts +2 -2
- package/dist/types/generated/NavExpand.d.ts +2 -2
- package/dist/types/generated/NoFilter.d.ts +2 -2
- package/dist/types/generated/NotAllowed.d.ts +2 -2
- package/dist/types/generated/Note.d.ts +2 -2
- package/dist/types/generated/NumberedList.d.ts +2 -2
- package/dist/types/generated/OpenNewTab.d.ts +2 -2
- package/dist/types/generated/OutlineFavorite.d.ts +2 -2
- package/dist/types/generated/Package.d.ts +2 -2
- package/dist/types/generated/Pause.d.ts +2 -2
- package/dist/types/generated/Pending.d.ts +2 -2
- package/dist/types/generated/Person.d.ts +2 -2
- package/dist/types/generated/PersonGroup.d.ts +2 -2
- package/dist/types/generated/PersonWithLock.d.ts +2 -2
- package/dist/types/generated/Pin.d.ts +2 -2
- package/dist/types/generated/Play.d.ts +2 -2
- package/dist/types/generated/Plus.d.ts +2 -2
- package/dist/types/generated/PlusWithCircle.d.ts +2 -2
- package/dist/types/generated/Primary.d.ts +2 -2
- package/dist/types/generated/Project.d.ts +2 -2
- package/dist/types/generated/QuestionMarkWithCircle.d.ts +2 -2
- package/dist/types/generated/Read.d.ts +2 -2
- package/dist/types/generated/Recommended.d.ts +2 -2
- package/dist/types/generated/Redo.d.ts +2 -2
- package/dist/types/generated/Refresh.d.ts +2 -2
- package/dist/types/generated/Relationship.d.ts +2 -2
- package/dist/types/generated/ReplicaSet.d.ts +2 -2
- package/dist/types/generated/Resize.d.ts +2 -2
- package/dist/types/generated/Resource.d.ts +2 -2
- package/dist/types/generated/Return.d.ts +2 -2
- package/dist/types/generated/Revert.d.ts +2 -2
- package/dist/types/generated/Router.d.ts +2 -2
- package/dist/types/generated/SMS.d.ts +2 -2
- package/dist/types/generated/Save.d.ts +2 -2
- package/dist/types/generated/SearchIndex.d.ts +2 -2
- package/dist/types/generated/Secondary.d.ts +2 -2
- package/dist/types/generated/Serverless.d.ts +2 -2
- package/dist/types/generated/Settings.d.ts +2 -2
- package/dist/types/generated/ShardedCluster.d.ts +2 -2
- package/dist/types/generated/Shell.d.ts +2 -2
- package/dist/types/generated/Shield.d.ts +2 -2
- package/dist/types/generated/Shirt.d.ts +2 -2
- package/dist/types/generated/Shortcut.d.ts +17 -0
- package/dist/types/generated/Shortcut.d.ts.map +1 -0
- package/dist/types/generated/SortAscending.d.ts +2 -2
- package/dist/types/generated/SortDescending.d.ts +2 -2
- package/dist/types/generated/Sparkle.d.ts +2 -2
- package/dist/types/generated/SplitHorizontal.d.ts +2 -2
- package/dist/types/generated/SplitVertical.d.ts +2 -2
- package/dist/types/generated/Stitch.d.ts +2 -2
- package/dist/types/generated/Stop.d.ts +2 -2
- package/dist/types/generated/Streaming.d.ts +2 -2
- package/dist/types/generated/String.d.ts +2 -2
- package/dist/types/generated/Sun.d.ts +2 -2
- package/dist/types/generated/Support.d.ts +2 -2
- package/dist/types/generated/Sweep.d.ts +2 -2
- package/dist/types/generated/Table.d.ts +2 -2
- package/dist/types/generated/Tag.d.ts +2 -2
- package/dist/types/generated/TemporaryTable.d.ts +2 -2
- package/dist/types/generated/ThumbsDown.d.ts +2 -2
- package/dist/types/generated/ThumbsUp.d.ts +2 -2
- package/dist/types/generated/TimeSeries.d.ts +2 -2
- package/dist/types/generated/TimeSeriesCollection.d.ts +2 -2
- package/dist/types/generated/Trash.d.ts +2 -2
- package/dist/types/generated/Undo.d.ts +2 -2
- package/dist/types/generated/University.d.ts +2 -2
- package/dist/types/generated/Unlock.d.ts +2 -2
- package/dist/types/generated/Unsorted.d.ts +2 -2
- package/dist/types/generated/UpDownCarets.d.ts +2 -2
- package/dist/types/generated/Upload.d.ts +2 -2
- package/dist/types/generated/VerticalEllipsis.d.ts +2 -2
- package/dist/types/generated/View.d.ts +2 -2
- package/dist/types/generated/Visibility.d.ts +2 -2
- package/dist/types/generated/VisibilityOff.d.ts +2 -2
- package/dist/types/generated/Warning.d.ts +2 -2
- package/dist/types/generated/Wizard.d.ts +2 -2
- package/dist/types/generated/Wrench.d.ts +2 -2
- package/dist/types/generated/Write.d.ts +2 -2
- package/dist/types/generated/X.d.ts +2 -2
- package/dist/types/generated/XWithCircle.d.ts +2 -2
- package/dist/types/glyphs/index.d.ts +5 -1
- package/dist/types/glyphs/index.d.ts.map +1 -1
- package/dist/umd/AIModel.js.map +1 -1
- package/dist/umd/ActivityFeed.js.map +1 -1
- package/dist/umd/AddFile.js.map +1 -1
- package/dist/umd/AllProducts.js.map +1 -1
- package/dist/umd/AnalyticsNode.js.map +1 -1
- package/dist/umd/Apps.js.map +1 -1
- package/dist/umd/Array.js.map +1 -1
- package/dist/umd/ArrowDown.js.map +1 -1
- package/dist/umd/ArrowLeft.js.map +1 -1
- package/dist/umd/ArrowRight.js.map +1 -1
- package/dist/umd/ArrowUp.js.map +1 -1
- package/dist/umd/Beaker.js.map +1 -1
- package/dist/umd/Bell.js.map +1 -1
- package/dist/umd/Biometric.js.map +1 -1
- package/dist/umd/Boolean.js.map +1 -1
- package/dist/umd/Building.js.map +1 -1
- package/dist/umd/Bulb.js.map +1 -1
- package/dist/umd/Calendar.js.map +1 -1
- package/dist/umd/Camera.js.map +1 -1
- package/dist/umd/Cap.js.map +1 -1
- package/dist/umd/CaretDown.js.map +1 -1
- package/dist/umd/CaretLeft.js.map +1 -1
- package/dist/umd/CaretRight.js.map +1 -1
- package/dist/umd/CaretUp.js.map +1 -1
- package/dist/umd/ChartFilled.js.map +1 -1
- package/dist/umd/Charts.js.map +1 -1
- package/dist/umd/Checkmark.js.map +1 -1
- package/dist/umd/CheckmarkWithCircle.js.map +1 -1
- package/dist/umd/ChevronDown.js.map +1 -1
- package/dist/umd/ChevronLeft.js.map +1 -1
- package/dist/umd/ChevronRight.js.map +1 -1
- package/dist/umd/ChevronUp.js.map +1 -1
- package/dist/umd/Circle.js.map +1 -1
- package/dist/umd/Clock.js.map +1 -1
- package/dist/umd/ClockWithArrow.js.map +1 -1
- package/dist/umd/Clone.js.map +1 -1
- package/dist/umd/Cloud.js.map +1 -1
- package/dist/umd/Code.js.map +1 -1
- package/dist/umd/CodeBlock.js.map +1 -1
- package/dist/umd/Coin.js.map +1 -1
- package/dist/umd/Colon.js.map +1 -1
- package/dist/umd/Config.js.map +1 -1
- package/dist/umd/Connect.js.map +1 -1
- package/dist/umd/Copy.js.map +1 -1
- package/dist/umd/CreditCard.js.map +1 -1
- package/dist/umd/CurlyBraces.js.map +1 -1
- package/dist/umd/Cursor.js.map +1 -1
- package/dist/umd/Dashboard.js.map +1 -1
- package/dist/umd/Database.js.map +1 -1
- package/dist/umd/Diagram.js.map +1 -1
- package/dist/umd/Diagram2.js.map +1 -1
- package/dist/umd/Diagram3.js.map +1 -1
- package/dist/umd/Disconnect.js.map +1 -1
- package/dist/umd/Download.js.map +1 -1
- package/dist/umd/Drag.js.map +1 -1
- package/dist/umd/Edit.js.map +1 -1
- package/dist/umd/Ellipsis.js.map +1 -1
- package/dist/umd/Email.js.map +1 -1
- package/dist/umd/EmptyDatabase.js.map +1 -1
- package/dist/umd/EmptyFolder.js.map +1 -1
- package/dist/umd/Eraser.js.map +1 -1
- package/dist/umd/Escalation.js.map +1 -1
- package/dist/umd/Export.js.map +1 -1
- package/dist/umd/Favorite.js.map +1 -1
- package/dist/umd/Federation.js.map +1 -1
- package/dist/umd/File.js.map +1 -1
- package/dist/umd/Filter.js.map +1 -1
- package/dist/umd/Folder.js.map +1 -1
- package/dist/umd/Format.js.map +1 -1
- package/dist/umd/FullScreenEnter.js.map +1 -1
- package/dist/umd/FullScreenExit.js.map +1 -1
- package/dist/umd/Function.js.map +1 -1
- package/dist/umd/Gauge.js.map +1 -1
- package/dist/umd/GlobeAmericas.js.map +1 -1
- package/dist/umd/GovernmentBuilding.js.map +1 -1
- package/dist/umd/Guide.js.map +1 -1
- package/dist/umd/Hash.js.map +1 -1
- package/dist/umd/HiddenSecondaryNode.js.map +1 -1
- package/dist/umd/Highlight.js.map +1 -1
- package/dist/umd/Home.js.map +1 -1
- package/dist/umd/HorizontalDrag.js.map +1 -1
- package/dist/umd/Import.js.map +1 -1
- package/dist/umd/ImportantWithCircle.js.map +1 -1
- package/dist/umd/InfoWithCircle.js.map +1 -1
- package/dist/umd/InternalEmployee.js.map +1 -1
- package/dist/umd/InviteUser.js.map +1 -1
- package/dist/umd/Key.js.map +1 -1
- package/dist/umd/Laptop.js.map +1 -1
- package/dist/umd/LightningBolt.js.map +1 -1
- package/dist/umd/Link.js.map +1 -1
- package/dist/umd/List.js.map +1 -1
- package/dist/umd/Lock.js.map +1 -1
- package/dist/umd/LogIn.js.map +1 -1
- package/dist/umd/LogOut.js.map +1 -1
- package/dist/umd/MagnifyingGlass.js.map +1 -1
- package/dist/umd/Megaphone.js.map +1 -1
- package/dist/umd/Menu.js.map +1 -1
- package/dist/umd/Minus.js.map +1 -1
- package/dist/umd/Mobile.js.map +1 -1
- package/dist/umd/Moon.js.map +1 -1
- package/dist/umd/MultiDirectionArrow.js.map +1 -1
- package/dist/umd/MultiLayers.js.map +1 -1
- package/dist/umd/NavCollapse.js.map +1 -1
- package/dist/umd/NavExpand.js.map +1 -1
- package/dist/umd/NoFilter.js.map +1 -1
- package/dist/umd/NotAllowed.js.map +1 -1
- package/dist/umd/Note.js.map +1 -1
- package/dist/umd/NumberedList.js.map +1 -1
- package/dist/umd/OpenNewTab.js.map +1 -1
- package/dist/umd/OutlineFavorite.js.map +1 -1
- package/dist/umd/Package.js.map +1 -1
- package/dist/umd/Pause.js.map +1 -1
- package/dist/umd/Pending.js.map +1 -1
- package/dist/umd/Person.js.map +1 -1
- package/dist/umd/PersonGroup.js.map +1 -1
- package/dist/umd/PersonWithLock.js.map +1 -1
- package/dist/umd/Pin.js.map +1 -1
- package/dist/umd/Play.js.map +1 -1
- package/dist/umd/Plus.js.map +1 -1
- package/dist/umd/PlusWithCircle.js.map +1 -1
- package/dist/umd/Primary.js.map +1 -1
- package/dist/umd/Project.js.map +1 -1
- package/dist/umd/QuestionMarkWithCircle.js.map +1 -1
- package/dist/umd/Read.js.map +1 -1
- package/dist/umd/Recommended.js.map +1 -1
- package/dist/umd/Redo.js.map +1 -1
- package/dist/umd/Refresh.js.map +1 -1
- package/dist/umd/Relationship.js.map +1 -1
- package/dist/umd/ReplicaSet.js.map +1 -1
- package/dist/umd/Resize.js.map +1 -1
- package/dist/umd/Resource.js.map +1 -1
- package/dist/umd/Return.js.map +1 -1
- package/dist/umd/Revert.js.map +1 -1
- package/dist/umd/Router.js.map +1 -1
- package/dist/umd/SMS.js.map +1 -1
- package/dist/umd/Save.js.map +1 -1
- package/dist/umd/SearchIndex.js.map +1 -1
- package/dist/umd/Secondary.js.map +1 -1
- package/dist/umd/Serverless.js.map +1 -1
- package/dist/umd/Settings.js.map +1 -1
- package/dist/umd/ShardedCluster.js.map +1 -1
- package/dist/umd/Shell.js.map +1 -1
- package/dist/umd/Shield.js.map +1 -1
- package/dist/umd/Shirt.js.map +1 -1
- package/dist/umd/Shortcut.js +2 -0
- package/dist/umd/Shortcut.js.map +1 -0
- package/dist/umd/SortAscending.js.map +1 -1
- package/dist/umd/SortDescending.js.map +1 -1
- package/dist/umd/Sparkle.js.map +1 -1
- package/dist/umd/SplitHorizontal.js.map +1 -1
- package/dist/umd/SplitVertical.js.map +1 -1
- package/dist/umd/Stitch.js.map +1 -1
- package/dist/umd/Stop.js.map +1 -1
- package/dist/umd/Streaming.js.map +1 -1
- package/dist/umd/String.js.map +1 -1
- package/dist/umd/Sun.js.map +1 -1
- package/dist/umd/Support.js.map +1 -1
- package/dist/umd/Sweep.js.map +1 -1
- package/dist/umd/Table.js.map +1 -1
- package/dist/umd/Tag.js.map +1 -1
- package/dist/umd/TemporaryTable.js.map +1 -1
- package/dist/umd/ThumbsDown.js.map +1 -1
- package/dist/umd/ThumbsUp.js.map +1 -1
- package/dist/umd/TimeSeries.js.map +1 -1
- package/dist/umd/TimeSeriesCollection.js.map +1 -1
- package/dist/umd/Trash.js.map +1 -1
- package/dist/umd/Undo.js.map +1 -1
- package/dist/umd/University.js.map +1 -1
- package/dist/umd/Unlock.js.map +1 -1
- package/dist/umd/Unsorted.js.map +1 -1
- package/dist/umd/UpDownCarets.js.map +1 -1
- package/dist/umd/Upload.js.map +1 -1
- package/dist/umd/VerticalEllipsis.js.map +1 -1
- package/dist/umd/View.js.map +1 -1
- package/dist/umd/Visibility.js.map +1 -1
- package/dist/umd/VisibilityOff.js.map +1 -1
- package/dist/umd/Warning.js.map +1 -1
- package/dist/umd/Wizard.js.map +1 -1
- package/dist/umd/Wrench.js.map +1 -1
- package/dist/umd/Write.js.map +1 -1
- package/dist/umd/X.js.map +1 -1
- package/dist/umd/XWithCircle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +4 -4
- package/rollup.batch.config.mjs +1 -2
- package/scripts/build/compare-checksum.ts +80 -0
- package/scripts/{build-parallel.ts → build/index.ts} +36 -26
- package/scripts/{checksum.ts → prebuild/checksum.ts} +1 -1
- package/scripts/{prebuild.ts → prebuild/index.ts} +6 -4
- package/src/Icon.spec.tsx +1 -1
- package/src/generated/AIModel.tsx +2 -2
- package/src/generated/ActivityFeed.tsx +2 -2
- package/src/generated/AddFile.tsx +2 -2
- package/src/generated/AllProducts.tsx +2 -2
- package/src/generated/AnalyticsNode.tsx +2 -2
- package/src/generated/Apps.tsx +2 -2
- package/src/generated/Array.tsx +2 -2
- package/src/generated/ArrowDown.tsx +2 -2
- package/src/generated/ArrowLeft.tsx +2 -2
- package/src/generated/ArrowRight.tsx +2 -2
- package/src/generated/ArrowUp.tsx +2 -2
- package/src/generated/Beaker.tsx +2 -2
- package/src/generated/Bell.tsx +2 -2
- package/src/generated/Biometric.tsx +2 -2
- package/src/generated/Boolean.tsx +2 -2
- package/src/generated/Building.tsx +2 -2
- package/src/generated/Bulb.tsx +2 -2
- package/src/generated/Calendar.tsx +2 -2
- package/src/generated/Camera.tsx +2 -2
- package/src/generated/Cap.tsx +2 -2
- package/src/generated/CaretDown.tsx +2 -2
- package/src/generated/CaretLeft.tsx +2 -2
- package/src/generated/CaretRight.tsx +2 -2
- package/src/generated/CaretUp.tsx +2 -2
- package/src/generated/ChartFilled.tsx +2 -2
- package/src/generated/Charts.tsx +2 -2
- package/src/generated/Checkmark.tsx +2 -2
- package/src/generated/CheckmarkWithCircle.tsx +2 -2
- package/src/generated/ChevronDown.tsx +2 -2
- package/src/generated/ChevronLeft.tsx +2 -2
- package/src/generated/ChevronRight.tsx +2 -2
- package/src/generated/ChevronUp.tsx +2 -2
- package/src/generated/Circle.tsx +2 -2
- package/src/generated/Clock.tsx +2 -2
- package/src/generated/ClockWithArrow.tsx +2 -2
- package/src/generated/Clone.tsx +2 -2
- package/src/generated/Cloud.tsx +2 -2
- package/src/generated/Code.tsx +2 -2
- package/src/generated/CodeBlock.tsx +2 -2
- package/src/generated/Coin.tsx +2 -2
- package/src/generated/Colon.tsx +2 -2
- package/src/generated/Config.tsx +2 -2
- package/src/generated/Connect.tsx +2 -2
- package/src/generated/Copy.tsx +2 -2
- package/src/generated/CreditCard.tsx +2 -2
- package/src/generated/CurlyBraces.tsx +2 -2
- package/src/generated/Cursor.tsx +2 -2
- package/src/generated/Dashboard.tsx +2 -2
- package/src/generated/Database.tsx +2 -2
- package/src/generated/Diagram.tsx +2 -2
- package/src/generated/Diagram2.tsx +2 -2
- package/src/generated/Diagram3.tsx +2 -2
- package/src/generated/Disconnect.tsx +2 -2
- package/src/generated/Download.tsx +2 -2
- package/src/generated/Drag.tsx +2 -2
- package/src/generated/Edit.tsx +2 -2
- package/src/generated/Ellipsis.tsx +2 -2
- package/src/generated/Email.tsx +2 -2
- package/src/generated/EmptyDatabase.tsx +2 -2
- package/src/generated/EmptyFolder.tsx +2 -2
- package/src/generated/Eraser.tsx +2 -2
- package/src/generated/Escalation.tsx +2 -2
- package/src/generated/Export.tsx +2 -2
- package/src/generated/Favorite.tsx +2 -2
- package/src/generated/Federation.tsx +2 -2
- package/src/generated/File.tsx +2 -2
- package/src/generated/Filter.tsx +2 -2
- package/src/generated/Folder.tsx +2 -2
- package/src/generated/Format.tsx +2 -2
- package/src/generated/FullScreenEnter.tsx +2 -2
- package/src/generated/FullScreenExit.tsx +2 -2
- package/src/generated/Function.tsx +2 -2
- package/src/generated/Gauge.tsx +2 -2
- package/src/generated/GlobeAmericas.tsx +2 -2
- package/src/generated/GovernmentBuilding.tsx +2 -2
- package/src/generated/Guide.tsx +2 -2
- package/src/generated/Hash.tsx +2 -2
- package/src/generated/HiddenSecondaryNode.tsx +2 -2
- package/src/generated/Highlight.tsx +2 -2
- package/src/generated/Home.tsx +2 -2
- package/src/generated/HorizontalDrag.tsx +2 -2
- package/src/generated/Import.tsx +2 -2
- package/src/generated/ImportantWithCircle.tsx +2 -2
- package/src/generated/InfoWithCircle.tsx +2 -2
- package/src/generated/InternalEmployee.tsx +2 -2
- package/src/generated/InviteUser.tsx +2 -2
- package/src/generated/Key.tsx +2 -2
- package/src/generated/Laptop.tsx +2 -2
- package/src/generated/LightningBolt.tsx +2 -2
- package/src/generated/Link.tsx +2 -2
- package/src/generated/List.tsx +2 -2
- package/src/generated/Lock.tsx +2 -2
- package/src/generated/LogIn.tsx +2 -2
- package/src/generated/LogOut.tsx +2 -2
- package/src/generated/MagnifyingGlass.tsx +2 -2
- package/src/generated/Megaphone.tsx +2 -2
- package/src/generated/Menu.tsx +2 -2
- package/src/generated/Minus.tsx +2 -2
- package/src/generated/Mobile.tsx +2 -2
- package/src/generated/Moon.tsx +2 -2
- package/src/generated/MultiDirectionArrow.tsx +2 -2
- package/src/generated/MultiLayers.tsx +2 -2
- package/src/generated/NavCollapse.tsx +2 -2
- package/src/generated/NavExpand.tsx +2 -2
- package/src/generated/NoFilter.tsx +2 -2
- package/src/generated/NotAllowed.tsx +2 -2
- package/src/generated/Note.tsx +2 -2
- package/src/generated/NumberedList.tsx +2 -2
- package/src/generated/OpenNewTab.tsx +2 -2
- package/src/generated/OutlineFavorite.tsx +2 -2
- package/src/generated/Package.tsx +2 -2
- package/src/generated/Pause.tsx +2 -2
- package/src/generated/Pending.tsx +2 -2
- package/src/generated/Person.tsx +2 -2
- package/src/generated/PersonGroup.tsx +2 -2
- package/src/generated/PersonWithLock.tsx +2 -2
- package/src/generated/Pin.tsx +2 -2
- package/src/generated/Play.tsx +2 -2
- package/src/generated/Plus.tsx +2 -2
- package/src/generated/PlusWithCircle.tsx +2 -2
- package/src/generated/Primary.tsx +2 -2
- package/src/generated/Project.tsx +2 -2
- package/src/generated/QuestionMarkWithCircle.tsx +2 -2
- package/src/generated/Read.tsx +2 -2
- package/src/generated/Recommended.tsx +2 -2
- package/src/generated/Redo.tsx +2 -2
- package/src/generated/Refresh.tsx +2 -2
- package/src/generated/Relationship.tsx +2 -2
- package/src/generated/ReplicaSet.tsx +2 -2
- package/src/generated/Resize.tsx +2 -2
- package/src/generated/Resource.tsx +2 -2
- package/src/generated/Return.tsx +2 -2
- package/src/generated/Revert.tsx +2 -2
- package/src/generated/Router.tsx +2 -2
- package/src/generated/SMS.tsx +2 -2
- package/src/generated/Save.tsx +2 -2
- package/src/generated/SearchIndex.tsx +2 -2
- package/src/generated/Secondary.tsx +2 -2
- package/src/generated/Serverless.tsx +2 -2
- package/src/generated/Settings.tsx +2 -2
- package/src/generated/ShardedCluster.tsx +2 -2
- package/src/generated/Shell.tsx +2 -2
- package/src/generated/Shield.tsx +2 -2
- package/src/generated/Shirt.tsx +2 -2
- package/src/generated/Shortcut.tsx +39 -0
- package/src/generated/SortAscending.tsx +2 -2
- package/src/generated/SortDescending.tsx +2 -2
- package/src/generated/Sparkle.tsx +2 -2
- package/src/generated/SplitHorizontal.tsx +2 -2
- package/src/generated/SplitVertical.tsx +2 -2
- package/src/generated/Stitch.tsx +2 -2
- package/src/generated/Stop.tsx +2 -2
- package/src/generated/Streaming.tsx +2 -2
- package/src/generated/String.tsx +2 -2
- package/src/generated/Sun.tsx +2 -2
- package/src/generated/Support.tsx +2 -2
- package/src/generated/Sweep.tsx +2 -2
- package/src/generated/Table.tsx +2 -2
- package/src/generated/Tag.tsx +2 -2
- package/src/generated/TemporaryTable.tsx +2 -2
- package/src/generated/ThumbsDown.tsx +2 -2
- package/src/generated/ThumbsUp.tsx +2 -2
- package/src/generated/TimeSeries.tsx +2 -2
- package/src/generated/TimeSeriesCollection.tsx +2 -2
- package/src/generated/Trash.tsx +2 -2
- package/src/generated/Undo.tsx +2 -2
- package/src/generated/University.tsx +2 -2
- package/src/generated/Unlock.tsx +2 -2
- package/src/generated/Unsorted.tsx +2 -2
- package/src/generated/UpDownCarets.tsx +2 -2
- package/src/generated/Upload.tsx +2 -2
- package/src/generated/VerticalEllipsis.tsx +2 -2
- package/src/generated/View.tsx +2 -2
- package/src/generated/Visibility.tsx +2 -2
- package/src/generated/VisibilityOff.tsx +2 -2
- package/src/generated/Warning.tsx +2 -2
- package/src/generated/Wizard.tsx +2 -2
- package/src/generated/Wrench.tsx +2 -2
- package/src/generated/Write.tsx +2 -2
- package/src/generated/X.tsx +2 -2
- package/src/generated/XWithCircle.tsx +2 -2
- package/src/glyphs/Shortcut.svg +3 -0
- package/src/glyphs/index.ts +2 -0
- package/stories.js +1 -1
- /package/scripts/{postbuild.ts → postbuild/index.ts} +0 -0
- /package/scripts/{indexTemplate.ts → prebuild/indexTemplate.ts} +0 -0
- /package/scripts/{prebuild.types.ts → prebuild/prebuild.types.ts} +0 -0
- /package/scripts/{svgrTemplate.ts → prebuild/svgrTemplate.ts} +0 -0
package/dist/Upload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Upload.js","sources":["../../src/glyphCommon.ts","../../src/generated/Upload.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"Upload.js","sources":["../../src/glyphCommon.ts","../../src/generated/Upload.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 9ebaa9da1691027874fac15e22952e65\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UploadProps extends LGGlyph.ComponentProps {}\nconst Upload = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UploadProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Upload', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z\" fill={'currentColor'} /></svg>;\n};\nUpload.displayName = 'Upload';\nUpload.isGlyph = true;\nexport default Upload;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Upload","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height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BAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yuBACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalEllipsis.js","sources":["../../src/glyphCommon.ts","../../src/generated/VerticalEllipsis.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"VerticalEllipsis.js","sources":["../../src/glyphCommon.ts","../../src/generated/VerticalEllipsis.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 239e16625728652d9151c8428ba8445f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VerticalEllipsisProps extends LGGlyph.ComponentProps {}\nconst VerticalEllipsis = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VerticalEllipsisProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VerticalEllipsis', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z\" fill={'currentColor'} /></svg>;\n};\nVerticalEllipsis.displayName = 'VerticalEllipsis';\nVerticalEllipsis.isGlyph = true;\nexport default VerticalEllipsis;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VerticalEllipsis","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"46CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAmB,SAA0BC,GAC/C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,G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@@
|
|
|
1
|
-
{"version":3,"file":"View.js","sources":["../../src/glyphCommon.ts","../../src/generated/View.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"View.js","sources":["../../src/glyphCommon.ts","../../src/generated/View.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 packages/icon/scripts/prebuild/index.ts\n* @checksum f87fc7a006eb933a11293863cab27dd3\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ViewProps extends LGGlyph.ComponentProps {}\nconst View = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ViewProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'View', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M3 4H4.05V2H2.5C1.67157 2 1 2.67157 1 3.5V4.95H3V4ZM6.45 2H9.55V4H6.45V2ZM11.95 2H13.5C14.3284 2 15 2.67157 15 3.5V4.95H13V4H11.95V2ZM15 6.55V9.45H13V6.55H15ZM3 6.55V9.45H1V6.55H3ZM15 11.05V12.5C15 13.3284 14.3284 14 13.5 14H11.95V12H13V11.05H15ZM3 12V11.05H1V12.5C1 13.3284 1.67157 14 2.5 14H4.05V12H3ZM6.45 12H9.55V14H6.45V12Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M4.5 8C4.5 7.72386 4.72386 7.5 5 7.5H11C11.2761 7.5 11.5 7.72386 11.5 8C11.5 8.27614 11.2761 8.5 11 8.5H5C4.72386 8.5 4.5 8.27614 4.5 8Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 5.5C8.27614 5.5 8.5 5.72386 8.5 6L8.5 10C8.5 10.2761 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.2761 7.5 10L7.5 6C7.5 5.72386 7.72386 5.5 8 5.5Z\" fill={'currentColor'} /></svg>;\n};\nView.displayName = 'View';\nView.isGlyph = true;\nexport default View;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","View","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACt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V,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
|
package/dist/Visibility.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Visibility.js","sources":["../../src/glyphCommon.ts","../../src/generated/Visibility.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"Visibility.js","sources":["../../src/glyphCommon.ts","../../src/generated/Visibility.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 packages/icon/scripts/prebuild/index.ts\n* @checksum efa87b82b26822586200f5361818ac32\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityProps extends LGGlyph.ComponentProps {}\nconst Visibility = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Visibility', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z\" fill={'currentColor'} /></svg>;\n};\nVisibility.displayName = 'Visibility';\nVisibility.isGlyph = true;\nexport default Visibility;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Visibility","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"05CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,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BACH1B,KAAM,iBAEV,SACAR,EAAWmC,YAAc,aACzBnC,EAAWoC,SAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisibilityOff.js","sources":["../../src/glyphCommon.ts","../../src/generated/VisibilityOff.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"VisibilityOff.js","sources":["../../src/glyphCommon.ts","../../src/generated/VisibilityOff.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 4686cb5469447132aaeca8e6f9e818bb\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityOffProps extends LGGlyph.ComponentProps {}\nconst VisibilityOff = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityOffProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VisibilityOff', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M14.6012 1.26611C14.1924 0.894763 13.5467 0.912984 13.1681 1.31501L1.70391 13.4864C1.32524 13.8884 1.35699 14.522 1.76579 14.8934C2.17459 15.2647 2.82027 15.2465 3.19894 14.8445L4.99238 12.9404C5.88019 13.3349 6.88397 13.5871 8 13.5871C11.9337 13.5871 14.4728 10.4542 15.4548 8.99777L15.4984 8.93355C15.7132 8.61809 16 8.19691 16 7.58708C16 6.97724 15.7132 6.55606 15.4984 6.24061L15.4548 6.17639C15.0571 5.58653 14.404 4.72168 13.5062 3.90133L14.6631 2.67309C15.0418 2.27106 15.01 1.63747 14.6012 1.26611ZM11.6703 5.85054L10.9066 6.66133C11.0028 6.9529 11.0548 7.26402 11.0548 7.58708C11.0548 9.24393 9.68713 10.5871 8 10.5871C7.7543 10.5871 7.51537 10.5586 7.28646 10.5048L6.52258 11.3158C6.98061 11.491 7.47888 11.5871 8.00001 11.5871C7.62198 11.5871 7.24379 11.5419 6.86974 11.4611C7.23037 11.5422 7.60736 11.5871 8.00001 11.5871C10.2495 11.5871 12.0731 9.79622 12.0731 7.58708C12.0731 6.96482 11.9284 6.37575 11.6703 5.85054ZM8 1.58708C8.9189 1.58708 9.7617 1.75803 10.5263 2.03863L8.97905 3.68136C8.66462 3.62036 8.33812 3.58708 8.00001 3.58708C5.75051 3.58708 3.92692 5.37794 3.92692 7.58708C3.92692 8.02163 3.99748 8.43999 4.12796 8.83172L2.14338 10.9387C1.42423 10.2238 0.889162 9.50794 0.545171 8.99777L0.501581 8.93355C0.286781 8.61809 0 8.19691 0 7.58708C0 6.97725 0.286783 6.55607 0.501581 6.24061L0.545171 6.17639C1.52716 4.72 4.06625 1.58708 8 1.58708ZM8.00001 3.58708C8.32689 3.58708 8.6539 3.62086 8.97824 3.68222L8.96213 3.69932C8.65365 3.62596 8.33146 3.58708 8.00001 3.58708ZM8 4.58708C8.04143 4.58708 8.08266 4.58789 8.12369 4.58949L4.9663 7.94166C4.95236 7.82537 4.94519 7.70705 4.94519 7.58708C4.94519 5.93022 6.31287 4.58708 8 4.58708Z\" fill={'currentColor'} /></svg>;\n};\nVisibilityOff.displayName = 'VisibilityOff';\nVisibilityOff.isGlyph = true;\nexport default VisibilityOff;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VisibilityOff","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"m6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAgB,SAAuBC,GACzC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,gBAAiBU,EAAgBA,EAAgB,CACnGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8nDACH1B,KAAM,iBAEV,SACAR,EAAcmC,YAAc,gBAC5BnC,EAAcoC,SAAU"}
|
package/dist/Warning.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Warning.js","sources":["../../src/glyphCommon.ts","../../src/generated/Warning.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"Warning.js","sources":["../../src/glyphCommon.ts","../../src/generated/Warning.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 0b8b891370271731f8c7517da6de68b1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WarningProps extends LGGlyph.ComponentProps {}\nconst Warning = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WarningProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Warning', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z\" fill={'currentColor'} /></svg>;\n};\nWarning.displayName = 'Warning';\nWarning.isGlyph = true;\nexport default Warning;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Warning","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","is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,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,uZACH1B,KAAM,iBAEV,SACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU"}
|
package/dist/Wizard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wizard.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wizard.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"Wizard.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wizard.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 621109232fe4eba0158186a7f3e613b1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WizardProps extends LGGlyph.ComponentProps {}\nconst Wizard = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WizardProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Wizard', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M13.3273 3.27672C13.5149 2.89768 13.0912 2.47755 12.709 2.66362L10.1963 3.88661C10.0254 3.96982 9.81429 3.93162 9.67346 3.79198L7.60363 1.73961C7.28873 1.42736 6.7744 1.67771 6.85304 2.10495L7.36999 4.91317C7.40516 5.10424 7.31323 5.28994 7.14227 5.37315L4.62965 6.59614C4.24739 6.78221 4.35321 7.35705 4.78408 7.43504L7.61618 7.94762C7.80888 7.9825 7.96315 8.13547 7.99832 8.32654L8.51527 11.1348C8.59391 11.562 9.17365 11.6669 9.3613 11.2879L10.5947 8.79645C10.6786 8.62694 10.8659 8.53579 11.0586 8.57066L13.8907 9.08324C14.3216 9.16123 14.574 8.65123 14.2591 8.33898L12.1893 6.28661C12.0485 6.14697 12.01 5.93766 12.0939 5.76815L13.3273 3.27672ZM7 10.5C7.35311 10.1498 7.31222 9.54163 6.90867 9.14149C6.50512 8.74134 5.89174 8.7008 5.53863 9.05092L1.84025 12.7127C1.48714 13.0628 1.52803 13.6711 1.93158 14.0712C2.33513 14.4713 2.94851 14.5119 3.30162 14.1618L7 10.5Z\" fill={'currentColor'} /></svg>;\n};\nWizard.displayName = 'Wizard';\nWizard.isGlyph = true;\nexport default Wizard;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Wizard","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"84CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO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GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,02BACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
|
package/dist/Wrench.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wrench.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wrench.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"Wrench.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wrench.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 7b0fb2b0f6a23482503e067e117e3824\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WrenchProps extends LGGlyph.ComponentProps {}\nconst Wrench = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WrenchProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Wrench', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.625 9.75C13.0422 9.75 15 7.79219 15 5.375C15 4.95664 14.9398 4.55195 14.8305 4.16641C14.7457 3.87109 14.382 3.80547 14.166 4.02148L12.066 6.12148C12.0144 6.17315 11.9508 6.21071 11.8821 6.23144C11.8043 6.25491 11.7248 6.21773 11.6673 6.1603L9.8397 4.33267C9.78227 4.27523 9.74509 4.19569 9.76856 4.11794C9.78929 4.04924 9.82685 3.98565 9.87852 3.93398L11.9785 1.83398C12.1945 1.61797 12.1262 1.2543 11.8336 1.16953C11.448 1.06016 11.0434 1 10.625 1C8.20781 1 6.25 2.95781 6.25 5.375C6.25 5.82904 6.32027 6.26861 6.44822 6.68115C6.48333 6.79434 6.4563 6.9187 6.3725 7.0025L1.54414 11.8309C1.19687 12.1781 1 12.6512 1 13.1434C1 14.1688 1.83125 15 2.85664 15C3.34883 15 3.82188 14.8031 4.16914 14.4559L8.99671 9.62829C9.08092 9.54408 9.20602 9.51727 9.31967 9.55285C9.73197 9.68189 10.1713 9.75 10.625 9.75ZM2.75 14.125C3.23325 14.125 3.625 13.7332 3.625 13.25C3.625 12.7668 3.23325 12.375 2.75 12.375C2.26675 12.375 1.875 12.7668 1.875 13.25C1.875 13.7332 2.26675 14.125 2.75 14.125Z\" fill={'currentColor'} /></svg>;\n};\nWrench.displayName = 'Wrench';\nWrench.isGlyph = true;\nexport default Wrench;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Wrench","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"84CAOO,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B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,49BACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
|
package/dist/Write.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Write.js","sources":["../../src/glyphCommon.ts","../../src/generated/Write.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"Write.js","sources":["../../src/glyphCommon.ts","../../src/generated/Write.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 packages/icon/scripts/prebuild/index.ts\n* @checksum f09317c959afaf150c9a2f1eec6b0251\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WriteProps extends LGGlyph.ComponentProps {}\nconst Write = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WriteProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Write', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.71094 3.74943C7.98779 3.5624 7.17765 3.47059 6.375 3.47059C3.97108 3.47059 1.5 4.29411 1.5 6.03268C1.5 6.10964 1.50071 6.18476 1.50212 6.25809C1.50071 6.28953 1.5 6.32115 1.5 6.35294V6.55882C1.5 6.82855 1.62059 7.08757 1.88365 7.34157C2.15143 7.60013 2.54848 7.83326 3.04084 8.02823C4.02449 8.41774 5.29298 8.61764 6.375 8.61764C6.64212 8.61764 6.9206 8.60546 7.20335 8.58125C6.75934 8.06173 6.67036 7.35853 6.91542 6.76298C7.19331 6.08765 7.8543 5.63811 8.62053 5.63811H8.71094V3.74943Z\" fill={'currentColor'} /><path d=\"M8.06766 9.30516C7.49049 9.39617 6.91039 9.44117 6.375 9.44117C5.21336 9.44117 3.84123 9.22931 2.74517 8.7953C2.2802 8.61117 1.84763 8.38033 1.5 8.09498V9.85294C1.5 10.1227 1.62059 10.3817 1.88365 10.6357C2.15143 10.8943 2.54848 11.1274 3.04084 11.3223C4.02449 11.7119 5.29298 11.9118 6.375 11.9118C7.45702 11.9118 8.72551 11.7119 9.70916 11.3223C9.92835 11.2356 10.1286 11.1412 10.3071 11.0404C10.2351 10.9984 10.1654 10.9511 10.0985 10.8987L8.06766 9.30516Z\" fill={'currentColor'} /><path d=\"M11.25 11.3891C10.9024 11.6745 10.4698 11.9053 10.0048 12.0894C8.90877 12.5234 7.53664 12.7353 6.375 12.7353C5.21336 12.7353 3.84123 12.5234 2.74517 12.0894C2.2802 11.9053 1.84763 11.6745 1.5 11.3891V12.1177C1.5 12.1458 1.50056 12.1738 1.50166 12.2017C1.50056 12.2794 1.5 12.3581 1.5 12.4379C1.5 14.1765 3.97108 15 6.375 15C8.77892 15 11.25 14.1765 11.25 12.4379C11.25 12.3616 11.2493 12.2862 11.2479 12.2117C11.2493 12.1805 11.25 12.1492 11.25 12.1177V11.3891Z\" fill={'currentColor'} /><path d=\"M12.4886 2.29681V6.87341H13.8795C14.4529 6.87341 14.7183 7.51856 14.2849 7.85866L11.6554 9.92188C11.4227 10.1045 11.0773 10.1045 10.8446 9.92188L8.21511 7.85866C7.78167 7.51856 8.04714 6.87341 8.62053 6.87341H9.92969V2.29681C9.92969 1.5806 10.5025 1 11.2091 1C11.9157 1 12.4886 1.5806 12.4886 2.29681Z\" fill={'currentColor'} /></svg>;\n};\nWrite.displayName = 'Write';\nWrite.isGlyph = true;\nexport default Write;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Write","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6eACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gdACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gTACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
|
package/dist/X.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"X.js","sources":["../../src/glyphCommon.ts","../../src/generated/X.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"X.js","sources":["../../src/glyphCommon.ts","../../src/generated/X.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 packages/icon/scripts/prebuild/index.ts\n* @checksum fecbd2c1bac25c4d7d8d72184d4b4f8f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface XProps extends LGGlyph.ComponentProps {}\nconst X = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: XProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'X', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12.2028 3.40381C11.8123 3.01329 11.1791 3.01329 10.7886 3.40381L8.3137 5.87869L5.83883 3.40381C5.44831 3.01329 4.81514 3.01329 4.42462 3.40381L3.71751 4.11092C3.32699 4.50144 3.32699 5.13461 3.71751 5.52513L6.19238 8.00001L3.71751 10.4749C3.32699 10.8654 3.32699 11.4986 3.71751 11.8891L4.42462 12.5962C4.81514 12.9867 5.44831 12.9867 5.83883 12.5962L8.3137 10.1213L10.7886 12.5962C11.1791 12.9867 11.8123 12.9867 12.2028 12.5962L12.9099 11.8891C13.3004 11.4986 13.3004 10.8654 12.9099 10.4749L10.435 8.00001L12.9099 5.52513C13.3004 5.13461 13.3004 4.50144 12.9099 4.11092L12.2028 3.40381Z\" fill={'currentColor'} /></svg>;\n};\nX.displayName = 'X';\nX.isGlyph = true;\nexport default X;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","X","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"+3CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAI,SAAWC,GACjB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,IAAKU,EAAgBA,EAAgB,CACvFf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,ilBACH1B,KAAM,iBAEV,SACAR,EAAEmC,YAAc,IAChBnC,EAAEoC,SAAU"}
|
package/dist/XWithCircle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/XWithCircle.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"XWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/XWithCircle.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 packages/icon/scripts/prebuild/index.ts\n* @checksum bdfcd02d9d6c5e40fb838585a5eabcde\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface XWithCircleProps extends LGGlyph.ComponentProps {}\nconst XWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: XWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'XWithCircle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><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.41421 5.17157C9.80474 4.78105 10.4379 4.78105 10.8284 5.17157C11.219 5.5621 11.219 6.19526 10.8284 6.58579L9.41421 8L10.8284 9.41421C11.219 9.80474 11.219 10.4379 10.8284 10.8284C10.4379 11.219 9.80474 11.219 9.41421 10.8284L8 9.41421L6.58579 10.8284C6.19526 11.219 5.5621 11.219 5.17157 10.8284C4.78105 10.4379 4.78105 9.80474 5.17157 9.41421L6.58579 8L5.17157 6.58579C4.78105 6.19526 4.78105 5.5621 5.17157 5.17157C5.5621 4.78105 6.19526 4.78105 6.58579 5.17157L8 6.58579L9.41421 5.17157Z\" fill={'currentColor'} /></svg>;\n};\nXWithCircle.displayName = 'XWithCircle';\nXWithCircle.isGlyph = true;\nexport default XWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","XWithCircle","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"65CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAc,SAAqBC,GACrC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,cAAeU,EAAgBA,EAAgB,CACjGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,wlBACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"AIModel": "53f02cb2995565964b14b01e87973144",
|
|
3
|
+
"ActivityFeed": "cf849414b733e4414e044fb8d2518c61",
|
|
4
|
+
"AddFile": "a10dd524f8a6a4855cd41977e39da1ea",
|
|
5
|
+
"AllProducts": "0a2acf0e028271591a23844878cf5859",
|
|
6
|
+
"AnalyticsNode": "3dcfba25c0d76454330bcdd29aa51c6a",
|
|
7
|
+
"Apps": "05ed786ed00bde21a505bb7c5d39dbf1",
|
|
8
|
+
"Array": "d8df69e2ff08c5e4d5017c829851878d",
|
|
9
|
+
"ArrowDown": "d57ea12d093ff9f6f3571f50412ea812",
|
|
10
|
+
"ArrowLeft": "f377c2cf7f24d2775a9639a5c3a69e9c",
|
|
11
|
+
"ArrowRight": "7d70468ac5bba3349bbcef4a57012c13",
|
|
12
|
+
"ArrowUp": "117a622c21bea07e57fcb4d124a57b38",
|
|
13
|
+
"Beaker": "637fb4f7877cc523849a231b654a18c0",
|
|
14
|
+
"Bell": "a58b50dad9731cb5d2fe51979c226d1e",
|
|
15
|
+
"Biometric": "3db4b9837dff136264775ffc89a61f28",
|
|
16
|
+
"Boolean": "4596e98456907b7e703b69085363914c",
|
|
17
|
+
"Building": "99ae8faa7a6433f9801b3e49b676bad8",
|
|
18
|
+
"Bulb": "94d04669134826e68120109964de1921",
|
|
19
|
+
"Calendar": "02cc6a8a948b2e76f58fc70cdb944ccb",
|
|
20
|
+
"Camera": "e53acfab6cc6c6645cafb6d50e126622",
|
|
21
|
+
"Cap": "b6ea22ad4f5611f3a6d183528a2c0b55",
|
|
22
|
+
"CaretDown": "d1da8a20f634c1606dba791a31f3b5f0",
|
|
23
|
+
"CaretLeft": "6938875a0f26fa605f36ce7e73814536",
|
|
24
|
+
"CaretRight": "73fab6033a94eefecdbfc152fc32dfc6",
|
|
25
|
+
"CaretUp": "279ef1d89cbdbf315d3c056530a492cf",
|
|
26
|
+
"ChartFilled": "ba137729d66fc9006c86702692d8017d",
|
|
27
|
+
"Charts": "26deb328299b20cad996d516405513c9",
|
|
28
|
+
"Checkmark": "39cc7dcc0490db874fd685c31ce99462",
|
|
29
|
+
"CheckmarkWithCircle": "883764b6e84295f9ec05e2decaaf1a22",
|
|
30
|
+
"ChevronDown": "0a4f28aea802479977d248a87026c058",
|
|
31
|
+
"ChevronLeft": "130b5bdebe029583f2657731070cf1bb",
|
|
32
|
+
"ChevronRight": "a737d74547b63003e7eff842bd85bd63",
|
|
33
|
+
"ChevronUp": "d2d36d66b26210920e4b261cec7c1baa",
|
|
34
|
+
"Circle": "55b3280fe32c377f2e7b35dc011a71c9",
|
|
35
|
+
"Clock": "39909015498d726c92044b1c5afff04c",
|
|
36
|
+
"ClockWithArrow": "03c03a2612e60cdfbb1b3da1df48cab2",
|
|
37
|
+
"Clone": "03777b76de1f27a7f17b7482c94e0cf4",
|
|
38
|
+
"Cloud": "7d1bbcb89cb80371fc67e4c0e7ea7e7f",
|
|
39
|
+
"Code": "616c6a909df25f006540d0057ef79503",
|
|
40
|
+
"CodeBlock": "3151d58419f6d78d65558bd27c18571f",
|
|
41
|
+
"Coin": "d0a77f3c78fa5413c93171d89b7e0fa6",
|
|
42
|
+
"Colon": "f9ea6eef44ccf1ed9140a67800fd7508",
|
|
43
|
+
"Config": "528fb2295e40b457c01c234dabfb6f94",
|
|
44
|
+
"Connect": "5d92db7ff9ce05becc1c2aba31cb993e",
|
|
45
|
+
"Copy": "0964d48f6e0e1cf1cc9de88a123ada62",
|
|
46
|
+
"CreditCard": "c381e0b91e5dfb8cd1a8758f94eb7070",
|
|
47
|
+
"CurlyBraces": "1f978a80205914b056a6ff85eb725d27",
|
|
48
|
+
"Cursor": "bc678f142db4fcaec69e9b32a880423d",
|
|
49
|
+
"Dashboard": "b11def30b01c016ac12b2f6d20389b8d",
|
|
50
|
+
"Database": "22988140c159c8a078744fea8a160f5d",
|
|
51
|
+
"Diagram": "bd1a1016fdc7b171ddf22708ef224b1b",
|
|
52
|
+
"Diagram2": "b8a861e2423c46ef799ebe5157eb2a4a",
|
|
53
|
+
"Diagram3": "9ea31c0abbaf3ad874d337257d2d0cda",
|
|
54
|
+
"Disconnect": "857846c50462e8b4cf6f1bad508bfdc4",
|
|
55
|
+
"Download": "d09a8f0f663b7021014a6f2a9a97a3ab",
|
|
56
|
+
"Drag": "37439d8b2673a47405609434f91c03d5",
|
|
57
|
+
"Edit": "f9128e2eba30d7d2b2c2b8c29b889327",
|
|
58
|
+
"Ellipsis": "326e4c910279836a4baefab553a2e9d0",
|
|
59
|
+
"Email": "79c55cd5c1fb72daf913b3aa033a3c9e",
|
|
60
|
+
"EmptyDatabase": "4e4e79c56ba4a18e5a77777a36fc8e5f",
|
|
61
|
+
"EmptyFolder": "3a5cabf26eb5f1fb1cae0be47943e039",
|
|
62
|
+
"Eraser": "3dd9db56bb4fd82de2056a37c1b5235c",
|
|
63
|
+
"Escalation": "a528ec1f844a96b6935131a174285405",
|
|
64
|
+
"Export": "a2f78ae7926f2f33b9e3711ab3b25b93",
|
|
65
|
+
"Favorite": "65df2a680de09856f8f0aba289660f0b",
|
|
66
|
+
"Federation": "898efa29cfb1e977d22a9befbe566990",
|
|
67
|
+
"File": "2b3b61bf32cbb2693fabb2dd929c2785",
|
|
68
|
+
"Filter": "9a212f493bb78251c4ec35dfb40897a5",
|
|
69
|
+
"Folder": "c40c08035e2ac0acdc12b0f1ae1d7a4e",
|
|
70
|
+
"Format": "98ea4b68fc444f0503b6033f82a9eb8c",
|
|
71
|
+
"FullScreenEnter": "ab2c3e0c24ef6de92be982475764ad6d",
|
|
72
|
+
"FullScreenExit": "4967e54ad61111bacd553ac98f52ae3c",
|
|
73
|
+
"Function": "329ef68d2dcbe3f7c119d24d4f41b7c9",
|
|
74
|
+
"Gauge": "75028fda7c8775b59510869fb06417e4",
|
|
75
|
+
"GlobeAmericas": "a4edca06a9470e29522cdc5e4f409e44",
|
|
76
|
+
"GovernmentBuilding": "6cafda0751f859f1b09926bc54fd07ac",
|
|
77
|
+
"Guide": "b2cd92c54765d784115e74d8c7b46f19",
|
|
78
|
+
"Hash": "5793a6065781fe6ff9c115b49216bf85",
|
|
79
|
+
"HiddenSecondaryNode": "efbc1501ee7a29dfd139cfb6e266194c",
|
|
80
|
+
"Highlight": "38030960492b6f09d11dfa5ec3303e18",
|
|
81
|
+
"Home": "15dcc94f114862574869d00ac88d17c8",
|
|
82
|
+
"HorizontalDrag": "dc784b94e897aba8408b54c1cfeb62de",
|
|
83
|
+
"Import": "80f6bc4020fcbed6dfed0d6b8fe0da5e",
|
|
84
|
+
"ImportantWithCircle": "0152401af7129c5b0e96dab50f42c203",
|
|
85
|
+
"InfoWithCircle": "af143377e4e00df507002496520269f7",
|
|
86
|
+
"InternalEmployee": "d3138cfd4c68184472e7d7facfb32c9e",
|
|
87
|
+
"InviteUser": "d6b8056c7aeeabe5ec973b1b7b7c8e97",
|
|
88
|
+
"Key": "3b30b847a5189b71cbdec27c9e6b7024",
|
|
89
|
+
"Laptop": "05b6337f524b6506286e12788e896878",
|
|
90
|
+
"LightningBolt": "e5019b0b929a4e5ab8d2511babc2b548",
|
|
91
|
+
"Link": "8cdf11a02efa496f648bc4074501239e",
|
|
92
|
+
"List": "e9020fc00678b8eceaee81acad49e557",
|
|
93
|
+
"Lock": "8b8d8c1ef683fcbc0d0c341c95ff1cf9",
|
|
94
|
+
"LogIn": "cfa16342a699006e5556a099295a36b6",
|
|
95
|
+
"LogOut": "fe64c9d04dcf6b0f3fbb6a65386c9b89",
|
|
96
|
+
"MagnifyingGlass": "21730c38593d67f5adcf0381a26a398a",
|
|
97
|
+
"Megaphone": "c20956f1ed1e3411f0bc22696b2c9a4d",
|
|
98
|
+
"Menu": "5eeafaabcf337ccce6df21c715414af2",
|
|
99
|
+
"Minus": "4c3fcc89f4aade166a47d5ef8ab57ce3",
|
|
100
|
+
"Mobile": "c1351dae71ccee3a46a8479fddc429ec",
|
|
101
|
+
"Moon": "c1374bce5fd494b86738e28ad8e12642",
|
|
102
|
+
"MultiDirectionArrow": "6da78b071c3bedf28b61726e9b32003b",
|
|
103
|
+
"MultiLayers": "d8c9c1622c1b3dd37f7abd819b21224f",
|
|
104
|
+
"NavCollapse": "a58b2a48b3fefdcabda204b5cb073018",
|
|
105
|
+
"NavExpand": "94f907915a71a44810cd5824a936ff05",
|
|
106
|
+
"NoFilter": "0560eec431788ac1b0bc4a8b627d017a",
|
|
107
|
+
"NotAllowed": "be101d3b51528455ddc92b4219cb79ee",
|
|
108
|
+
"Note": "cb506fca05b020929888c6fbefa5f292",
|
|
109
|
+
"NumberedList": "8156c2816604436fd9eafcdb89d729c2",
|
|
110
|
+
"OpenNewTab": "c32f39ae1149c72c79fbe0e0798cc967",
|
|
111
|
+
"OutlineFavorite": "e6418e0ed89816904aacc21cc46ed2fc",
|
|
112
|
+
"Package": "12117e82c1417a8e38ddb24efb337087",
|
|
113
|
+
"Pause": "266ba4e768490608e5ffc9a2c7018cbf",
|
|
114
|
+
"Pending": "bceaaba5a83cf7ef738fe60714de7d4e",
|
|
115
|
+
"Person": "5038baccbc2352a653deac82f4be376c",
|
|
116
|
+
"PersonGroup": "d54d15c5d32b414ed1bfaedef6a83922",
|
|
117
|
+
"PersonWithLock": "fc2960f2a5891857f36c295e4deff30e",
|
|
118
|
+
"Pin": "2c805e958670a49dbf4976107cb1d7e6",
|
|
119
|
+
"Play": "d9d50787494be47109b455ca9866a9a8",
|
|
120
|
+
"Plus": "c3026ad9d0e19b5f1131a9377a4fcecf",
|
|
121
|
+
"PlusWithCircle": "1a7a14cc3a59a80fec78787f7509a78b",
|
|
122
|
+
"Primary": "0064376916e49bb5e6a230c8c694349d",
|
|
123
|
+
"Project": "2b0a89d16d58e28dd4de5df86f218f1f",
|
|
124
|
+
"QuestionMarkWithCircle": "812cc37cf992b8944a1e76885238bc88",
|
|
125
|
+
"Read": "7efba1388d9b46e41a86d1126a5813da",
|
|
126
|
+
"Recommended": "96ef1b6867526211b32c2b65b2385bd9",
|
|
127
|
+
"Redo": "3ac9cf2f18ffde3d372ad793ec9065ea",
|
|
128
|
+
"Refresh": "ddbd9ddf3600f89bb823bd8ca54b7012",
|
|
129
|
+
"Relationship": "9c5823ab48a87318c23eb1f547247042",
|
|
130
|
+
"ReplicaSet": "c0d3deebc7f178351ba255753cfa561d",
|
|
131
|
+
"Resize": "3b6be52eb246affec4a7e91046560e40",
|
|
132
|
+
"Resource": "b004027dc448692af9a4b974fba9186d",
|
|
133
|
+
"Return": "b070121729d644fba834172593263578",
|
|
134
|
+
"Revert": "a8a714bf006aff6130e5fe5ef73e2289",
|
|
135
|
+
"Router": "11d54fbfda6e1ca7a3c01f11169ba1d9",
|
|
136
|
+
"SMS": "e2261136895cfe7a8e3af6414ca88d1c",
|
|
137
|
+
"Save": "03ff40ba352e25ec3eec04a29994b12c",
|
|
138
|
+
"SearchIndex": "e03dad22ba70d8dfe7d375376709c237",
|
|
139
|
+
"Secondary": "90ec93a10b4d9b9504d2c33c17e757ec",
|
|
140
|
+
"Serverless": "a5e9694d4c021512e84affa5ff183391",
|
|
141
|
+
"Settings": "00856814e4867077412b80e6001a06a9",
|
|
142
|
+
"ShardedCluster": "c1a66787d335b489a1c6a173d6edd9b7",
|
|
143
|
+
"Shell": "e3ab9e582f5ec203efdea4f59c6dc88b",
|
|
144
|
+
"Shield": "35b61b94f1ebe7d7ef9ac7c2b16f6c80",
|
|
145
|
+
"Shirt": "fa9611a925b5f74587b4088edde6c9a6",
|
|
146
|
+
"Shortcut": "774afc25f3d7e56ef0e9ec09f0d702b4",
|
|
147
|
+
"SortAscending": "dde80423801b6674f3e98a4c05abe439",
|
|
148
|
+
"SortDescending": "13451d54da566fabe4d2905126bd7bcf",
|
|
149
|
+
"Sparkle": "c0f6126e124584ba74fd130130c5d966",
|
|
150
|
+
"SplitHorizontal": "2100e3b38d7a89b46e322afb6b0725f2",
|
|
151
|
+
"SplitVertical": "6de026e32989799f1611173f7bed5a54",
|
|
152
|
+
"Stitch": "2b63b4122d19a6e634931f50595e0743",
|
|
153
|
+
"Stop": "08d080ff6c5eb653a2d883ef391eb40d",
|
|
154
|
+
"Streaming": "2f3f3a13bd10461e1ad5b167f752f1a9",
|
|
155
|
+
"String": "d77bf987f8e26e579737f6bb37218786",
|
|
156
|
+
"Sun": "e91a4954e7ef16836e2571faa735a5ac",
|
|
157
|
+
"Support": "f04987594f5eabf9664dad255e88f42e",
|
|
158
|
+
"Sweep": "9fd4e8b39f3ac34ef1964405f7b0cb0e",
|
|
159
|
+
"Table": "bb1f84a24663c30b5bd96ca422b15285",
|
|
160
|
+
"Tag": "fa43431075d3dce59c3a40ce982ab8a8",
|
|
161
|
+
"TemporaryTable": "d5e40835c10a66dd4d253682f083fe92",
|
|
162
|
+
"ThumbsDown": "40c2e71448fd0f777ac1f1a4bf4cd1ea",
|
|
163
|
+
"ThumbsUp": "6fe500f838ac1be037b379e1564f683b",
|
|
164
|
+
"TimeSeries": "4a3c16a6cbeca7e78e1a087f7342de51",
|
|
165
|
+
"TimeSeriesCollection": "a6f92cb9f1a90c2d4e299a3ebd1892c1",
|
|
166
|
+
"Trash": "c4ebae22b74911dbd8167e0f6ac04990",
|
|
167
|
+
"Undo": "efb9a97a1f5ea1a24cb2b02616ef366d",
|
|
168
|
+
"University": "2b1b8aff1ff16c42bfded07604a5444f",
|
|
169
|
+
"Unlock": "3defc4114401da32a26fae5d0f2c0d00",
|
|
170
|
+
"Unsorted": "013d49818a07ff3a996a99d349e60243",
|
|
171
|
+
"UpDownCarets": "94ba6a01f003a6b001ad431e3784d801",
|
|
172
|
+
"Upload": "9ebaa9da1691027874fac15e22952e65",
|
|
173
|
+
"VerticalEllipsis": "239e16625728652d9151c8428ba8445f",
|
|
174
|
+
"View": "f87fc7a006eb933a11293863cab27dd3",
|
|
175
|
+
"Visibility": "efa87b82b26822586200f5361818ac32",
|
|
176
|
+
"VisibilityOff": "4686cb5469447132aaeca8e6f9e818bb",
|
|
177
|
+
"Warning": "0b8b891370271731f8c7517da6de68b1",
|
|
178
|
+
"Wizard": "621109232fe4eba0158186a7f3e613b1",
|
|
179
|
+
"Wrench": "7b0fb2b0f6a23482503e067e117e3824",
|
|
180
|
+
"Write": "f09317c959afaf150c9a2f1eec6b0251",
|
|
181
|
+
"X": "fecbd2c1bac25c4d7d8d72184d4b4f8f",
|
|
182
|
+
"XWithCircle": "bdfcd02d9d6c5e40fb838585a5eabcde"
|
|
183
|
+
}
|
package/dist/esm/AIModel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AIModel.js","sources":["../../src/glyphCommon.ts","../../src/generated/AIModel.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 packages/icon/scripts/prebuild.ts\n* @checksum
|
|
1
|
+
{"version":3,"file":"AIModel.js","sources":["../../src/glyphCommon.ts","../../src/generated/AIModel.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 53f02cb2995565964b14b01e87973144\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface AIModelProps extends LGGlyph.ComponentProps {}\nconst AIModel = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: AIModelProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'AIModel', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13.5625 5.30957V10.6895L8 13.4414L2.4375 10.6895V5.30957L8 2.55762L13.5625 5.30957Z\" stroke={'currentColor'} /><path d=\"M8 2L8 14\" stroke={'currentColor'} strokeWidth={0.5} /><path d=\"M3.09998 10.8594L12.5324 5.19998\" stroke={'currentColor'} strokeWidth={0.5} strokeLinecap=\"round\" /><path d=\"M3.19995 5.20001L12.6324 10.8595\" stroke={'currentColor'} strokeWidth={0.5} strokeLinecap=\"round\" /><circle cx={8} cy={2.75} r={1.75} fill={'currentColor'} /><circle cx={8} cy={2.75} r={1.75} stroke={'currentColor'} /><circle cx={8} cy={13.25} r={1.75} fill={'currentColor'} /><circle cx={8} cy={13.25} r={1.75} stroke={'currentColor'} /><circle cx={8} cy={8} r={1.75} fill={'currentColor'} /><circle cx={8} cy={8} r={1.75} stroke={'currentColor'} /><circle cx={13.25} cy={5} r={1.75} fill={'currentColor'} /><circle cx={13.25} cy={5} r={1.75} stroke={'currentColor'} /><circle cx={13.25} cy={10.75} r={1.75} fill={'currentColor'} /><circle cx={13.25} cy={10.75} r={1.75} stroke={'currentColor'} /><circle cx={2.75} cy={10.75} r={1.75} fill={'currentColor'} /><circle cx={2.75} cy={10.75} r={1.75} stroke={'currentColor'} /><circle cx={2.75} cy={5} r={1.75} fill={'currentColor'} /><circle cx={2.75} cy={5} r={1.75} stroke={'currentColor'} /></svg>;\n};\nAIModel.displayName = 'AIModel';\nAIModel.isGlyph = true;\nexport default AIModel;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","AIModel","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","stroke","strokeWidth","strokeLinecap","cy","r","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAU,SAAiBC,GAC7B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQ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