rn-iconify 1.0.0 → 2.0.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/README.md +47 -235
- package/babel.js +14 -0
- package/lib/commonjs/IconRenderer.js +91 -4
- package/lib/commonjs/IconRenderer.js.map +1 -1
- package/lib/commonjs/accessibility/AccessibilityProvider.js +189 -0
- package/lib/commonjs/accessibility/AccessibilityProvider.js.map +1 -0
- package/lib/commonjs/accessibility/index.js +87 -0
- package/lib/commonjs/accessibility/index.js.map +1 -0
- package/lib/commonjs/accessibility/types.js +6 -0
- package/lib/commonjs/accessibility/types.js.map +1 -0
- package/lib/commonjs/accessibility/useAccessibleIcon.js +119 -0
- package/lib/commonjs/accessibility/useAccessibleIcon.js.map +1 -0
- package/lib/commonjs/accessibility/utils.js +231 -0
- package/lib/commonjs/accessibility/utils.js.map +1 -0
- package/lib/commonjs/alias/Icon.js +113 -0
- package/lib/commonjs/alias/Icon.js.map +1 -0
- package/lib/commonjs/alias/IconAliasContext.js +177 -0
- package/lib/commonjs/alias/IconAliasContext.js.map +1 -0
- package/lib/commonjs/alias/createIconAliases.js +222 -0
- package/lib/commonjs/alias/createIconAliases.js.map +1 -0
- package/lib/commonjs/alias/index.js +57 -0
- package/lib/commonjs/alias/index.js.map +1 -0
- package/lib/commonjs/alias/types.js +6 -0
- package/lib/commonjs/alias/types.js.map +1 -0
- package/lib/commonjs/animated/AnimatedIcon.js +116 -0
- package/lib/commonjs/animated/AnimatedIcon.js.map +1 -0
- package/lib/commonjs/animated/index.js +76 -0
- package/lib/commonjs/animated/index.js.map +1 -0
- package/lib/commonjs/animated/presets.js +220 -0
- package/lib/commonjs/animated/presets.js.map +1 -0
- package/lib/commonjs/animated/types.js +71 -0
- package/lib/commonjs/animated/types.js.map +1 -0
- package/lib/commonjs/animated/useIconAnimation.js +313 -0
- package/lib/commonjs/animated/useIconAnimation.js.map +1 -0
- package/lib/commonjs/babel/ast-utils.js +214 -0
- package/lib/commonjs/babel/ast-utils.js.map +1 -0
- package/lib/commonjs/babel/cache-writer.js +281 -0
- package/lib/commonjs/babel/cache-writer.js.map +1 -0
- package/lib/commonjs/babel/collector.js +219 -0
- package/lib/commonjs/babel/collector.js.map +1 -0
- package/lib/commonjs/babel/index.js +104 -0
- package/lib/commonjs/babel/index.js.map +1 -0
- package/lib/commonjs/babel/plugin.js +226 -0
- package/lib/commonjs/babel/plugin.js.map +1 -0
- package/lib/commonjs/babel/types.js +485 -0
- package/lib/commonjs/babel/types.js.map +1 -0
- package/lib/commonjs/bundle/index.js +213 -0
- package/lib/commonjs/bundle/index.js.map +1 -0
- package/lib/commonjs/cache/CacheManager.js +105 -6
- package/lib/commonjs/cache/CacheManager.js.map +1 -1
- package/lib/commonjs/cli/commands/analyze.js +171 -0
- package/lib/commonjs/cli/commands/analyze.js.map +1 -0
- package/lib/commonjs/cli/commands/bundle.js +214 -0
- package/lib/commonjs/cli/commands/bundle.js.map +1 -0
- package/lib/commonjs/cli/index.js +142 -0
- package/lib/commonjs/cli/index.js.map +1 -0
- package/lib/commonjs/cli/parser.js +260 -0
- package/lib/commonjs/cli/parser.js.map +1 -0
- package/lib/commonjs/cli/types.js +42 -0
- package/lib/commonjs/cli/types.js.map +1 -0
- package/lib/commonjs/config/ConfigManager.js +182 -0
- package/lib/commonjs/config/ConfigManager.js.map +1 -0
- package/lib/commonjs/config/index.js +44 -0
- package/lib/commonjs/config/index.js.map +1 -0
- package/lib/commonjs/config/types.js +55 -0
- package/lib/commonjs/config/types.js.map +1 -0
- package/lib/commonjs/createIconSet.js +49 -11
- package/lib/commonjs/createIconSet.js.map +1 -1
- package/lib/commonjs/explorer/IconExplorer.js +827 -0
- package/lib/commonjs/explorer/IconExplorer.js.map +1 -0
- package/lib/commonjs/explorer/iconSets.js +303 -0
- package/lib/commonjs/explorer/iconSets.js.map +1 -0
- package/lib/commonjs/explorer/index.js +93 -0
- package/lib/commonjs/explorer/index.js.map +1 -0
- package/lib/commonjs/explorer/types.js +6 -0
- package/lib/commonjs/explorer/types.js.map +1 -0
- package/lib/commonjs/explorer/useExplorer.js +359 -0
- package/lib/commonjs/explorer/useExplorer.js.map +1 -0
- package/lib/commonjs/index.js +618 -12
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/navigation/createDrawerIcon.js +129 -0
- package/lib/commonjs/navigation/createDrawerIcon.js.map +1 -0
- package/lib/commonjs/navigation/createHeaderIcon.js +185 -0
- package/lib/commonjs/navigation/createHeaderIcon.js.map +1 -0
- package/lib/commonjs/navigation/createTabBarIcon.js +178 -0
- package/lib/commonjs/navigation/createTabBarIcon.js.map +1 -0
- package/lib/commonjs/navigation/index.js +83 -0
- package/lib/commonjs/navigation/index.js.map +1 -0
- package/lib/commonjs/navigation/types.js +94 -0
- package/lib/commonjs/navigation/types.js.map +1 -0
- package/lib/commonjs/navigation/useNavigationIcon.js +128 -0
- package/lib/commonjs/navigation/useNavigationIcon.js.map +1 -0
- package/lib/commonjs/network/IconifyAPI.js +154 -14
- package/lib/commonjs/network/IconifyAPI.js.map +1 -1
- package/lib/commonjs/network/index.js +18 -0
- package/lib/commonjs/network/index.js.map +1 -1
- package/lib/commonjs/performance/PerformanceMonitor.js +327 -0
- package/lib/commonjs/performance/PerformanceMonitor.js.map +1 -0
- package/lib/commonjs/performance/index.js +43 -0
- package/lib/commonjs/performance/index.js.map +1 -0
- package/lib/commonjs/performance/types.js +2 -0
- package/lib/commonjs/performance/types.js.map +1 -0
- package/lib/commonjs/placeholder/PlaceholderFactory.js +111 -0
- package/lib/commonjs/placeholder/PlaceholderFactory.js.map +1 -0
- package/lib/commonjs/placeholder/Pulse.js +77 -0
- package/lib/commonjs/placeholder/Pulse.js.map +1 -0
- package/lib/commonjs/placeholder/Shimmer.js +95 -0
- package/lib/commonjs/placeholder/Shimmer.js.map +1 -0
- package/lib/commonjs/placeholder/Skeleton.js +52 -0
- package/lib/commonjs/placeholder/Skeleton.js.map +1 -0
- package/lib/commonjs/placeholder/index.js +41 -0
- package/lib/commonjs/placeholder/index.js.map +1 -0
- package/lib/commonjs/placeholder/types.js +40 -0
- package/lib/commonjs/placeholder/types.js.map +1 -0
- package/lib/commonjs/theme/IconThemeProvider.js +96 -0
- package/lib/commonjs/theme/IconThemeProvider.js.map +1 -0
- package/lib/commonjs/theme/context.js +53 -0
- package/lib/commonjs/theme/context.js.map +1 -0
- package/lib/commonjs/theme/index.js +52 -0
- package/lib/commonjs/theme/index.js.map +1 -0
- package/lib/commonjs/theme/types.js +39 -0
- package/lib/commonjs/theme/types.js.map +1 -0
- package/lib/commonjs/theme/useIconTheme.js +121 -0
- package/lib/commonjs/theme/useIconTheme.js.map +1 -0
- package/lib/module/IconRenderer.js +92 -5
- package/lib/module/IconRenderer.js.map +1 -1
- package/lib/module/accessibility/AccessibilityProvider.js +179 -0
- package/lib/module/accessibility/AccessibilityProvider.js.map +1 -0
- package/lib/module/accessibility/index.js +42 -0
- package/lib/module/accessibility/index.js.map +1 -0
- package/lib/module/accessibility/types.js +2 -0
- package/lib/module/accessibility/types.js.map +1 -0
- package/lib/module/accessibility/useAccessibleIcon.js +112 -0
- package/lib/module/accessibility/useAccessibleIcon.js.map +1 -0
- package/lib/module/accessibility/utils.js +221 -0
- package/lib/module/accessibility/utils.js.map +1 -0
- package/lib/module/alias/Icon.js +105 -0
- package/lib/module/alias/Icon.js.map +1 -0
- package/lib/module/alias/IconAliasContext.js +166 -0
- package/lib/module/alias/IconAliasContext.js.map +1 -0
- package/lib/module/alias/createIconAliases.js +213 -0
- package/lib/module/alias/createIconAliases.js.map +1 -0
- package/lib/module/alias/index.js +45 -0
- package/lib/module/alias/index.js.map +1 -0
- package/lib/module/alias/types.js +2 -0
- package/lib/module/alias/types.js.map +1 -0
- package/lib/module/animated/AnimatedIcon.js +109 -0
- package/lib/module/animated/AnimatedIcon.js.map +1 -0
- package/lib/module/animated/index.js +80 -0
- package/lib/module/animated/index.js.map +1 -0
- package/lib/module/animated/presets.js +209 -0
- package/lib/module/animated/presets.js.map +1 -0
- package/lib/module/animated/types.js +65 -0
- package/lib/module/animated/types.js.map +1 -0
- package/lib/module/animated/useIconAnimation.js +306 -0
- package/lib/module/animated/useIconAnimation.js.map +1 -0
- package/lib/module/babel/ast-utils.js +201 -0
- package/lib/module/babel/ast-utils.js.map +1 -0
- package/lib/module/babel/cache-writer.js +269 -0
- package/lib/module/babel/cache-writer.js.map +1 -0
- package/lib/module/babel/collector.js +214 -0
- package/lib/module/babel/collector.js.map +1 -0
- package/lib/module/babel/index.js +51 -0
- package/lib/module/babel/index.js.map +1 -0
- package/lib/module/babel/plugin.js +220 -0
- package/lib/module/babel/plugin.js.map +1 -0
- package/lib/module/babel/types.js +476 -0
- package/lib/module/babel/types.js.map +1 -0
- package/lib/module/bundle/index.js +205 -0
- package/lib/module/bundle/index.js.map +1 -0
- package/lib/module/cache/CacheManager.js +106 -6
- package/lib/module/cache/CacheManager.js.map +1 -1
- package/lib/module/cli/commands/analyze.js +166 -0
- package/lib/module/cli/commands/analyze.js.map +1 -0
- package/lib/module/cli/commands/bundle.js +208 -0
- package/lib/module/cli/commands/bundle.js.map +1 -0
- package/lib/module/cli/index.js +140 -0
- package/lib/module/cli/index.js.map +1 -0
- package/lib/module/cli/parser.js +251 -0
- package/lib/module/cli/parser.js.map +1 -0
- package/lib/module/cli/types.js +36 -0
- package/lib/module/cli/types.js.map +1 -0
- package/lib/module/components/index.js +27 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/config/ConfigManager.js +173 -0
- package/lib/module/config/ConfigManager.js.map +1 -0
- package/lib/module/config/index.js +28 -0
- package/lib/module/config/index.js.map +1 -0
- package/lib/module/config/types.js +49 -0
- package/lib/module/config/types.js.map +1 -0
- package/lib/module/createIconSet.js +49 -11
- package/lib/module/createIconSet.js.map +1 -1
- package/lib/module/explorer/IconExplorer.js +817 -0
- package/lib/module/explorer/IconExplorer.js.map +1 -0
- package/lib/module/explorer/iconSets.js +291 -0
- package/lib/module/explorer/iconSets.js.map +1 -0
- package/lib/module/explorer/index.js +42 -0
- package/lib/module/explorer/index.js.map +1 -0
- package/lib/module/explorer/types.js +2 -0
- package/lib/module/explorer/types.js.map +1 -0
- package/lib/module/explorer/useExplorer.js +353 -0
- package/lib/module/explorer/useExplorer.js.map +1 -0
- package/lib/module/index.js +26 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigation/createDrawerIcon.js +121 -0
- package/lib/module/navigation/createDrawerIcon.js.map +1 -0
- package/lib/module/navigation/createHeaderIcon.js +175 -0
- package/lib/module/navigation/createHeaderIcon.js.map +1 -0
- package/lib/module/navigation/createTabBarIcon.js +168 -0
- package/lib/module/navigation/createTabBarIcon.js.map +1 -0
- package/lib/module/navigation/index.js +59 -0
- package/lib/module/navigation/index.js.map +1 -0
- package/lib/module/navigation/types.js +88 -0
- package/lib/module/navigation/types.js.map +1 -0
- package/lib/module/navigation/useNavigationIcon.js +121 -0
- package/lib/module/navigation/useNavigationIcon.js.map +1 -0
- package/lib/module/network/IconifyAPI.js +152 -14
- package/lib/module/network/IconifyAPI.js.map +1 -1
- package/lib/module/network/index.js +1 -1
- package/lib/module/network/index.js.map +1 -1
- package/lib/module/performance/PerformanceMonitor.js +317 -0
- package/lib/module/performance/PerformanceMonitor.js.map +1 -0
- package/lib/module/performance/index.js +26 -0
- package/lib/module/performance/index.js.map +1 -0
- package/lib/module/performance/types.js +2 -0
- package/lib/module/performance/types.js.map +1 -0
- package/lib/module/placeholder/PlaceholderFactory.js +105 -0
- package/lib/module/placeholder/PlaceholderFactory.js.map +1 -0
- package/lib/module/placeholder/Pulse.js +70 -0
- package/lib/module/placeholder/Pulse.js.map +1 -0
- package/lib/module/placeholder/Shimmer.js +88 -0
- package/lib/module/placeholder/Shimmer.js.map +1 -0
- package/lib/module/placeholder/Skeleton.js +45 -0
- package/lib/module/placeholder/Skeleton.js.map +1 -0
- package/lib/module/placeholder/index.js +15 -0
- package/lib/module/placeholder/index.js.map +1 -0
- package/lib/module/placeholder/types.js +34 -0
- package/lib/module/placeholder/types.js.map +1 -0
- package/lib/module/theme/IconThemeProvider.js +89 -0
- package/lib/module/theme/IconThemeProvider.js.map +1 -0
- package/lib/module/theme/context.js +47 -0
- package/lib/module/theme/context.js.map +1 -0
- package/lib/module/theme/index.js +19 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/types.js +33 -0
- package/lib/module/theme/types.js.map +1 -0
- package/lib/module/theme/useIconTheme.js +114 -0
- package/lib/module/theme/useIconTheme.js.map +1 -0
- package/lib/typescript/IconRenderer.d.ts +1 -1
- package/lib/typescript/IconRenderer.d.ts.map +1 -1
- package/lib/typescript/accessibility/AccessibilityProvider.d.ts +57 -0
- package/lib/typescript/accessibility/AccessibilityProvider.d.ts.map +1 -0
- package/lib/typescript/accessibility/index.d.ts +37 -0
- package/lib/typescript/accessibility/index.d.ts.map +1 -0
- package/lib/typescript/accessibility/types.d.ts +130 -0
- package/lib/typescript/accessibility/types.d.ts.map +1 -0
- package/lib/typescript/accessibility/useAccessibleIcon.d.ts +111 -0
- package/lib/typescript/accessibility/useAccessibleIcon.d.ts.map +1 -0
- package/lib/typescript/accessibility/utils.d.ts +29 -0
- package/lib/typescript/accessibility/utils.d.ts.map +1 -0
- package/lib/typescript/alias/Icon.d.ts +38 -0
- package/lib/typescript/alias/Icon.d.ts.map +1 -0
- package/lib/typescript/alias/IconAliasContext.d.ts +52 -0
- package/lib/typescript/alias/IconAliasContext.d.ts.map +1 -0
- package/lib/typescript/alias/createIconAliases.d.ts +77 -0
- package/lib/typescript/alias/createIconAliases.d.ts.map +1 -0
- package/lib/typescript/alias/index.d.ts +36 -0
- package/lib/typescript/alias/index.d.ts.map +1 -0
- package/lib/typescript/alias/types.d.ts +115 -0
- package/lib/typescript/alias/types.d.ts.map +1 -0
- package/lib/typescript/animated/AnimatedIcon.d.ts +45 -0
- package/lib/typescript/animated/AnimatedIcon.d.ts.map +1 -0
- package/lib/typescript/animated/index.d.ts +70 -0
- package/lib/typescript/animated/index.d.ts.map +1 -0
- package/lib/typescript/animated/presets.d.ts +35 -0
- package/lib/typescript/animated/presets.d.ts.map +1 -0
- package/lib/typescript/animated/types.d.ts +196 -0
- package/lib/typescript/animated/types.d.ts.map +1 -0
- package/lib/typescript/animated/useIconAnimation.d.ts +64 -0
- package/lib/typescript/animated/useIconAnimation.d.ts.map +1 -0
- package/lib/typescript/babel/ast-utils.d.ts +52 -0
- package/lib/typescript/babel/ast-utils.d.ts.map +1 -0
- package/lib/typescript/babel/cache-writer.d.ts +56 -0
- package/lib/typescript/babel/cache-writer.d.ts.map +1 -0
- package/lib/typescript/babel/collector.d.ts +107 -0
- package/lib/typescript/babel/collector.d.ts.map +1 -0
- package/lib/typescript/babel/index.d.ts +47 -0
- package/lib/typescript/babel/index.d.ts.map +1 -0
- package/lib/typescript/babel/plugin.d.ts +17 -0
- package/lib/typescript/babel/plugin.d.ts.map +1 -0
- package/lib/typescript/babel/types.d.ts +129 -0
- package/lib/typescript/babel/types.d.ts.map +1 -0
- package/lib/typescript/bundle/index.d.ts +161 -0
- package/lib/typescript/bundle/index.d.ts.map +1 -0
- package/lib/typescript/cache/CacheManager.d.ts +52 -4
- package/lib/typescript/cache/CacheManager.d.ts.map +1 -1
- package/lib/typescript/cli/commands/analyze.d.ts +10 -0
- package/lib/typescript/cli/commands/analyze.d.ts.map +1 -0
- package/lib/typescript/cli/commands/bundle.d.ts +10 -0
- package/lib/typescript/cli/commands/bundle.d.ts.map +1 -0
- package/lib/typescript/cli/index.d.ts +7 -0
- package/lib/typescript/cli/index.d.ts.map +1 -0
- package/lib/typescript/cli/parser.d.ts +18 -0
- package/lib/typescript/cli/parser.d.ts.map +1 -0
- package/lib/typescript/cli/types.d.ts +157 -0
- package/lib/typescript/cli/types.d.ts.map +1 -0
- package/lib/typescript/components/Academicons.d.ts +1 -1
- package/lib/typescript/components/AkarIcons.d.ts +1 -1
- package/lib/typescript/components/AntDesign.d.ts +1 -1
- package/lib/typescript/components/Arcticons.d.ts +1 -1
- package/lib/typescript/components/Basil.d.ts +1 -1
- package/lib/typescript/components/Bi.d.ts +1 -1
- package/lib/typescript/components/BitcoinIcons.d.ts +1 -1
- package/lib/typescript/components/Bpmn.d.ts +1 -1
- package/lib/typescript/components/Brandico.d.ts +1 -1
- package/lib/typescript/components/Bx.d.ts +1 -1
- package/lib/typescript/components/Bxl.d.ts +1 -1
- package/lib/typescript/components/Bxs.d.ts +1 -1
- package/lib/typescript/components/Bytesize.d.ts +1 -1
- package/lib/typescript/components/Carbon.d.ts +1 -1
- package/lib/typescript/components/Catppuccin.d.ts +1 -1
- package/lib/typescript/components/Cbi.d.ts +1 -1
- package/lib/typescript/components/Charm.d.ts +1 -1
- package/lib/typescript/components/Ci.d.ts +1 -1
- package/lib/typescript/components/Cib.d.ts +1 -1
- package/lib/typescript/components/Cif.d.ts +1 -1
- package/lib/typescript/components/Cil.d.ts +1 -1
- package/lib/typescript/components/CircleFlags.d.ts +1 -1
- package/lib/typescript/components/Circum.d.ts +1 -1
- package/lib/typescript/components/Clarity.d.ts +1 -1
- package/lib/typescript/components/Codex.d.ts +1 -1
- package/lib/typescript/components/Codicon.d.ts +1 -1
- package/lib/typescript/components/Covid.d.ts +1 -1
- package/lib/typescript/components/Cryptocurrency.d.ts +1 -1
- package/lib/typescript/components/CryptocurrencyColor.d.ts +1 -1
- package/lib/typescript/components/Cuida.d.ts +1 -1
- package/lib/typescript/components/Dashicons.d.ts +1 -1
- package/lib/typescript/components/Devicon.d.ts +1 -1
- package/lib/typescript/components/DeviconPlain.d.ts +1 -1
- package/lib/typescript/components/DinkieIcons.d.ts +1 -1
- package/lib/typescript/components/DuoIcons.d.ts +1 -1
- package/lib/typescript/components/Ei.d.ts +1 -1
- package/lib/typescript/components/El.d.ts +1 -1
- package/lib/typescript/components/EmojioneMonotone.d.ts +1 -1
- package/lib/typescript/components/Entypo.d.ts +1 -1
- package/lib/typescript/components/EntypoSocial.d.ts +1 -1
- package/lib/typescript/components/EosIcons.d.ts +1 -1
- package/lib/typescript/components/Ep.d.ts +1 -1
- package/lib/typescript/components/Et.d.ts +1 -1
- package/lib/typescript/components/Eva.d.ts +1 -1
- package/lib/typescript/components/F7.d.ts +1 -1
- package/lib/typescript/components/Fa.d.ts +1 -1
- package/lib/typescript/components/Fa6Brands.d.ts +1 -1
- package/lib/typescript/components/Fa6Regular.d.ts +1 -1
- package/lib/typescript/components/Fa6Solid.d.ts +1 -1
- package/lib/typescript/components/Fa7Brands.d.ts +1 -1
- package/lib/typescript/components/Fa7Regular.d.ts +1 -1
- package/lib/typescript/components/Fa7Solid.d.ts +1 -1
- package/lib/typescript/components/FaBrands.d.ts +1 -1
- package/lib/typescript/components/FaRegular.d.ts +1 -1
- package/lib/typescript/components/FaSolid.d.ts +1 -1
- package/lib/typescript/components/Fad.d.ts +1 -1
- package/lib/typescript/components/Famicons.d.ts +1 -1
- package/lib/typescript/components/Fe.d.ts +1 -1
- package/lib/typescript/components/Feather.d.ts +1 -1
- package/lib/typescript/components/FileIcons.d.ts +1 -1
- package/lib/typescript/components/Flag.d.ts +1 -1
- package/lib/typescript/components/Flagpack.d.ts +1 -1
- package/lib/typescript/components/FlatUi.d.ts +1 -1
- package/lib/typescript/components/Flowbite.d.ts +1 -1
- package/lib/typescript/components/Fluent.d.ts +1 -1
- package/lib/typescript/components/FluentColor.d.ts +1 -1
- package/lib/typescript/components/FluentEmoji.d.ts +1 -1
- package/lib/typescript/components/FluentEmojiFlat.d.ts +1 -1
- package/lib/typescript/components/FluentEmojiHighContrast.d.ts +1 -1
- package/lib/typescript/components/FluentMdl2.d.ts +1 -1
- package/lib/typescript/components/Fontelico.d.ts +1 -1
- package/lib/typescript/components/Fontisto.d.ts +1 -1
- package/lib/typescript/components/Formkit.d.ts +1 -1
- package/lib/typescript/components/Foundation.d.ts +1 -1
- package/lib/typescript/components/Gala.d.ts +1 -1
- package/lib/typescript/components/GameIcons.d.ts +1 -1
- package/lib/typescript/components/Garden.d.ts +1 -1
- package/lib/typescript/components/Geo.d.ts +1 -1
- package/lib/typescript/components/Gg.d.ts +1 -1
- package/lib/typescript/components/Gis.d.ts +1 -1
- package/lib/typescript/components/GravityUi.d.ts +1 -1
- package/lib/typescript/components/Gridicons.d.ts +1 -1
- package/lib/typescript/components/GrommetIcons.d.ts +1 -1
- package/lib/typescript/components/Guidance.d.ts +1 -1
- package/lib/typescript/components/Healthicons.d.ts +1 -1
- package/lib/typescript/components/Heroicons.d.ts +1 -1
- package/lib/typescript/components/HeroiconsOutline.d.ts +1 -1
- package/lib/typescript/components/HeroiconsSolid.d.ts +1 -1
- package/lib/typescript/components/Hugeicons.d.ts +1 -1
- package/lib/typescript/components/Humbleicons.d.ts +1 -1
- package/lib/typescript/components/Ic.d.ts +1 -1
- package/lib/typescript/components/IcomoonFree.d.ts +1 -1
- package/lib/typescript/components/IconPark.d.ts +1 -1
- package/lib/typescript/components/IconParkOutline.d.ts +1 -1
- package/lib/typescript/components/IconParkSolid.d.ts +1 -1
- package/lib/typescript/components/IconParkTwotone.d.ts +1 -1
- package/lib/typescript/components/Iconamoon.d.ts +1 -1
- package/lib/typescript/components/Iconoir.d.ts +1 -1
- package/lib/typescript/components/Icons8.d.ts +1 -1
- package/lib/typescript/components/Il.d.ts +1 -1
- package/lib/typescript/components/Ion.d.ts +1 -1
- package/lib/typescript/components/Iwwa.d.ts +1 -1
- package/lib/typescript/components/Ix.d.ts +1 -1
- package/lib/typescript/components/Jam.d.ts +1 -1
- package/lib/typescript/components/La.d.ts +1 -1
- package/lib/typescript/components/LetsIcons.d.ts +1 -1
- package/lib/typescript/components/LineMd.d.ts +1 -1
- package/lib/typescript/components/Lineicons.d.ts +1 -1
- package/lib/typescript/components/Logos.d.ts +1 -1
- package/lib/typescript/components/Ls.d.ts +1 -1
- package/lib/typescript/components/Lsicon.d.ts +1 -1
- package/lib/typescript/components/Lucide.d.ts +1 -1
- package/lib/typescript/components/LucideLab.d.ts +1 -1
- package/lib/typescript/components/Mage.d.ts +1 -1
- package/lib/typescript/components/Majesticons.d.ts +1 -1
- package/lib/typescript/components/Maki.d.ts +1 -1
- package/lib/typescript/components/Map.d.ts +1 -1
- package/lib/typescript/components/Marketeq.d.ts +1 -1
- package/lib/typescript/components/MaterialIconTheme.d.ts +1 -1
- package/lib/typescript/components/MaterialSymbols.d.ts +1 -1
- package/lib/typescript/components/MaterialSymbolsLight.d.ts +1 -1
- package/lib/typescript/components/Mdi.d.ts +1 -1
- package/lib/typescript/components/MdiLight.d.ts +1 -1
- package/lib/typescript/components/MedicalIcon.d.ts +1 -1
- package/lib/typescript/components/Memory.d.ts +1 -1
- package/lib/typescript/components/Meteocons.d.ts +1 -1
- package/lib/typescript/components/MeteorIcons.d.ts +1 -1
- package/lib/typescript/components/Mi.d.ts +1 -1
- package/lib/typescript/components/Mingcute.d.ts +1 -1
- package/lib/typescript/components/MonoIcons.d.ts +1 -1
- package/lib/typescript/components/Mynaui.d.ts +1 -1
- package/lib/typescript/components/Nimbus.d.ts +1 -1
- package/lib/typescript/components/Nonicons.d.ts +1 -1
- package/lib/typescript/components/Nrk.d.ts +1 -1
- package/lib/typescript/components/Octicon.d.ts +1 -1
- package/lib/typescript/components/Oi.d.ts +1 -1
- package/lib/typescript/components/Ooui.d.ts +1 -1
- package/lib/typescript/components/Oui.d.ts +1 -1
- package/lib/typescript/components/Pajamas.d.ts +1 -1
- package/lib/typescript/components/Pepicons.d.ts +1 -1
- package/lib/typescript/components/PepiconsPencil.d.ts +1 -1
- package/lib/typescript/components/PepiconsPop.d.ts +1 -1
- package/lib/typescript/components/PepiconsPrint.d.ts +1 -1
- package/lib/typescript/components/Ph.d.ts +1 -1
- package/lib/typescript/components/Picon.d.ts +1 -1
- package/lib/typescript/components/Pixel.d.ts +1 -1
- package/lib/typescript/components/Pixelarticons.d.ts +1 -1
- package/lib/typescript/components/Prime.d.ts +1 -1
- package/lib/typescript/components/Proicons.d.ts +1 -1
- package/lib/typescript/components/Ps.d.ts +1 -1
- package/lib/typescript/components/QlementineIcons.d.ts +1 -1
- package/lib/typescript/components/Quill.d.ts +1 -1
- package/lib/typescript/components/RadixIcons.d.ts +1 -1
- package/lib/typescript/components/Raphael.d.ts +1 -1
- package/lib/typescript/components/Ri.d.ts +1 -1
- package/lib/typescript/components/RivetIcons.d.ts +1 -1
- package/lib/typescript/components/Roentgen.d.ts +1 -1
- package/lib/typescript/components/Si.d.ts +1 -1
- package/lib/typescript/components/SiGlyph.d.ts +1 -1
- package/lib/typescript/components/Sidekickicons.d.ts +1 -1
- package/lib/typescript/components/SimpleIcons.d.ts +1 -1
- package/lib/typescript/components/SimpleLineIcons.d.ts +1 -1
- package/lib/typescript/components/SkillIcons.d.ts +1 -1
- package/lib/typescript/components/Solar.d.ts +1 -1
- package/lib/typescript/components/Stash.d.ts +1 -1
- package/lib/typescript/components/Streamline.d.ts +1 -1
- package/lib/typescript/components/StreamlineBlock.d.ts +1 -1
- package/lib/typescript/components/StreamlineColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineCyber.d.ts +1 -1
- package/lib/typescript/components/StreamlineCyberColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineEmojis.d.ts +1 -1
- package/lib/typescript/components/StreamlineFlex.d.ts +1 -1
- package/lib/typescript/components/StreamlineFlexColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineFreehand.d.ts +1 -1
- package/lib/typescript/components/StreamlineFreehandColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineKameleonColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineLogos.d.ts +1 -1
- package/lib/typescript/components/StreamlinePixel.d.ts +1 -1
- package/lib/typescript/components/StreamlinePlump.d.ts +1 -1
- package/lib/typescript/components/StreamlinePlumpColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineSharp.d.ts +1 -1
- package/lib/typescript/components/StreamlineSharpColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineStickiesColor.d.ts +1 -1
- package/lib/typescript/components/StreamlineUltimate.d.ts +1 -1
- package/lib/typescript/components/StreamlineUltimateColor.d.ts +1 -1
- package/lib/typescript/components/Subway.d.ts +1 -1
- package/lib/typescript/components/SvgSpinners.d.ts +1 -1
- package/lib/typescript/components/SystemUicons.d.ts +1 -1
- package/lib/typescript/components/Tabler.d.ts +1 -1
- package/lib/typescript/components/Tdesign.d.ts +1 -1
- package/lib/typescript/components/Teenyicons.d.ts +1 -1
- package/lib/typescript/components/Temaki.d.ts +1 -1
- package/lib/typescript/components/Token.d.ts +1 -1
- package/lib/typescript/components/TokenBranded.d.ts +1 -1
- package/lib/typescript/components/Topcoat.d.ts +1 -1
- package/lib/typescript/components/Typcn.d.ts +1 -1
- package/lib/typescript/components/Uil.d.ts +1 -1
- package/lib/typescript/components/Uim.d.ts +1 -1
- package/lib/typescript/components/Uis.d.ts +1 -1
- package/lib/typescript/components/Uit.d.ts +1 -1
- package/lib/typescript/components/Uiw.d.ts +1 -1
- package/lib/typescript/components/Unjs.d.ts +1 -1
- package/lib/typescript/components/Vaadin.d.ts +1 -1
- package/lib/typescript/components/Vs.d.ts +1 -1
- package/lib/typescript/components/VscodeIcons.d.ts +1 -1
- package/lib/typescript/components/Websymbol.d.ts +1 -1
- package/lib/typescript/components/Weui.d.ts +1 -1
- package/lib/typescript/components/Whh.d.ts +1 -1
- package/lib/typescript/components/Wi.d.ts +1 -1
- package/lib/typescript/components/Wpf.d.ts +1 -1
- package/lib/typescript/components/Zmdi.d.ts +1 -1
- package/lib/typescript/components/Zondicons.d.ts +1 -1
- package/lib/typescript/components/index.d.ts +38 -1
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/config/ConfigManager.d.ts +102 -0
- package/lib/typescript/config/ConfigManager.d.ts.map +1 -0
- package/lib/typescript/config/index.d.ts +22 -0
- package/lib/typescript/config/index.d.ts.map +1 -0
- package/lib/typescript/config/types.d.ts +112 -0
- package/lib/typescript/config/types.d.ts.map +1 -0
- package/lib/typescript/createIconSet.d.ts +1 -1
- package/lib/typescript/createIconSet.d.ts.map +1 -1
- package/lib/typescript/explorer/IconExplorer.d.ts +54 -0
- package/lib/typescript/explorer/IconExplorer.d.ts.map +1 -0
- package/lib/typescript/explorer/iconSets.d.ts +35 -0
- package/lib/typescript/explorer/iconSets.d.ts.map +1 -0
- package/lib/typescript/explorer/index.d.ts +33 -0
- package/lib/typescript/explorer/index.d.ts.map +1 -0
- package/lib/typescript/explorer/types.d.ts +329 -0
- package/lib/typescript/explorer/types.d.ts.map +1 -0
- package/lib/typescript/explorer/useExplorer.d.ts +18 -0
- package/lib/typescript/explorer/useExplorer.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +25 -4
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/navigation/createDrawerIcon.d.ts +74 -0
- package/lib/typescript/navigation/createDrawerIcon.d.ts.map +1 -0
- package/lib/typescript/navigation/createHeaderIcon.d.ts +145 -0
- package/lib/typescript/navigation/createHeaderIcon.d.ts.map +1 -0
- package/lib/typescript/navigation/createTabBarIcon.d.ts +99 -0
- package/lib/typescript/navigation/createTabBarIcon.d.ts.map +1 -0
- package/lib/typescript/navigation/index.d.ts +51 -0
- package/lib/typescript/navigation/index.d.ts.map +1 -0
- package/lib/typescript/navigation/types.d.ts +149 -0
- package/lib/typescript/navigation/types.d.ts.map +1 -0
- package/lib/typescript/navigation/useNavigationIcon.d.ts +91 -0
- package/lib/typescript/navigation/useNavigationIcon.d.ts.map +1 -0
- package/lib/typescript/network/IconifyAPI.d.ts +32 -0
- package/lib/typescript/network/IconifyAPI.d.ts.map +1 -1
- package/lib/typescript/network/index.d.ts +2 -1
- package/lib/typescript/network/index.d.ts.map +1 -1
- package/lib/typescript/performance/PerformanceMonitor.d.ts +76 -0
- package/lib/typescript/performance/PerformanceMonitor.d.ts.map +1 -0
- package/lib/typescript/performance/index.d.ts +21 -0
- package/lib/typescript/performance/index.d.ts.map +1 -0
- package/lib/typescript/performance/types.d.ts +156 -0
- package/lib/typescript/performance/types.d.ts.map +1 -0
- package/lib/typescript/placeholder/PlaceholderFactory.d.ts +44 -0
- package/lib/typescript/placeholder/PlaceholderFactory.d.ts.map +1 -0
- package/lib/typescript/placeholder/Pulse.d.ts +18 -0
- package/lib/typescript/placeholder/Pulse.d.ts.map +1 -0
- package/lib/typescript/placeholder/Shimmer.d.ts +19 -0
- package/lib/typescript/placeholder/Shimmer.d.ts.map +1 -0
- package/lib/typescript/placeholder/Skeleton.d.ts +18 -0
- package/lib/typescript/placeholder/Skeleton.d.ts.map +1 -0
- package/lib/typescript/placeholder/index.d.ts +12 -0
- package/lib/typescript/placeholder/index.d.ts.map +1 -0
- package/lib/typescript/placeholder/types.d.ts +63 -0
- package/lib/typescript/placeholder/types.d.ts.map +1 -0
- package/lib/typescript/theme/IconThemeProvider.d.ts +64 -0
- package/lib/typescript/theme/IconThemeProvider.d.ts.map +1 -0
- package/lib/typescript/theme/context.d.ts +24 -0
- package/lib/typescript/theme/context.d.ts.map +1 -0
- package/lib/typescript/theme/index.d.ts +10 -0
- package/lib/typescript/theme/index.d.ts.map +1 -0
- package/lib/typescript/theme/types.d.ts +85 -0
- package/lib/typescript/theme/types.d.ts.map +1 -0
- package/lib/typescript/theme/useIconTheme.d.ts +78 -0
- package/lib/typescript/theme/useIconTheme.d.ts.map +1 -0
- package/lib/typescript/types/index.d.ts +58 -1
- package/lib/typescript/types/index.d.ts.map +1 -1
- package/package.json +41 -3
- package/src/IconRenderer.tsx +91 -4
- package/src/accessibility/AccessibilityProvider.tsx +220 -0
- package/src/accessibility/index.ts +63 -0
- package/src/accessibility/types.ts +152 -0
- package/src/accessibility/useAccessibleIcon.ts +220 -0
- package/src/accessibility/utils.ts +180 -0
- package/src/alias/Icon.tsx +113 -0
- package/src/alias/IconAliasContext.tsx +180 -0
- package/src/alias/createIconAliases.tsx +233 -0
- package/src/alias/index.ts +59 -0
- package/src/alias/types.ts +132 -0
- package/src/animated/AnimatedIcon.tsx +116 -0
- package/src/animated/index.ts +97 -0
- package/src/animated/presets.ts +211 -0
- package/src/animated/types.ts +239 -0
- package/src/animated/useIconAnimation.ts +383 -0
- package/src/babel/ast-utils.ts +219 -0
- package/src/babel/cache-writer.ts +323 -0
- package/src/babel/collector.ts +224 -0
- package/src/babel/index.ts +60 -0
- package/src/babel/plugin.ts +254 -0
- package/src/babel/types.ts +717 -0
- package/src/bundle/index.ts +313 -0
- package/src/cache/CacheManager.ts +123 -6
- package/src/cli/commands/analyze.ts +195 -0
- package/src/cli/commands/bundle.ts +231 -0
- package/src/cli/index.ts +153 -0
- package/src/cli/parser.ts +275 -0
- package/src/cli/types.ts +187 -0
- package/src/components/index.ts +52 -1
- package/src/config/ConfigManager.ts +196 -0
- package/src/config/index.ts +34 -0
- package/src/config/types.ts +149 -0
- package/src/createIconSet.tsx +48 -9
- package/src/explorer/IconExplorer.tsx +844 -0
- package/src/explorer/iconSets.ts +334 -0
- package/src/explorer/index.ts +64 -0
- package/src/explorer/types.ts +392 -0
- package/src/explorer/useExplorer.ts +390 -0
- package/src/index.ts +218 -9
- package/src/navigation/createDrawerIcon.tsx +113 -0
- package/src/navigation/createHeaderIcon.tsx +213 -0
- package/src/navigation/createTabBarIcon.tsx +180 -0
- package/src/navigation/index.ts +80 -0
- package/src/navigation/types.ts +155 -0
- package/src/navigation/useNavigationIcon.tsx +156 -0
- package/src/network/IconifyAPI.ts +182 -14
- package/src/network/index.ts +11 -1
- package/src/performance/PerformanceMonitor.ts +367 -0
- package/src/performance/index.ts +39 -0
- package/src/performance/types.ts +185 -0
- package/src/placeholder/PlaceholderFactory.tsx +133 -0
- package/src/placeholder/Pulse.tsx +86 -0
- package/src/placeholder/Shimmer.tsx +104 -0
- package/src/placeholder/Skeleton.tsx +52 -0
- package/src/placeholder/index.ts +21 -0
- package/src/placeholder/types.ts +78 -0
- package/src/theme/IconThemeProvider.tsx +94 -0
- package/src/theme/context.ts +51 -0
- package/src/theme/index.ts +19 -0
- package/src/theme/types.ts +108 -0
- package/src/theme/useIconTheme.ts +119 -0
- package/src/types/index.ts +78 -1
- package/lib/commonjs/components/Phosphor.js +0 -493
- package/lib/commonjs/components/Phosphor.js.map +0 -1
- package/lib/module/components/Phosphor.js +0 -488
- package/lib/module/components/Phosphor.js.map +0 -1
- package/lib/typescript/components/Phosphor.d.ts +0 -472
- package/lib/typescript/components/Phosphor.d.ts.map +0 -1
- package/src/components/Phosphor.tsx +0 -506
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useIconTheme Hook
|
|
3
|
+
* Access and modify icon theme from any component
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { useContext, useMemo } from 'react';
|
|
7
|
+
import { IconThemeContext } from './context';
|
|
8
|
+
import type { IconTheme, IconThemeContextValue } from './types';
|
|
9
|
+
import { DEFAULT_ICON_THEME } from './types';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* useIconTheme
|
|
13
|
+
*
|
|
14
|
+
* Hook to access and modify the icon theme.
|
|
15
|
+
* Must be used within an IconThemeProvider.
|
|
16
|
+
*
|
|
17
|
+
* @returns Current theme and setTheme function
|
|
18
|
+
*
|
|
19
|
+
* @example Access current theme
|
|
20
|
+
* ```tsx
|
|
21
|
+
* function MyComponent() {
|
|
22
|
+
* const { theme } = useIconTheme();
|
|
23
|
+
* console.log('Current icon size:', theme.size);
|
|
24
|
+
* return <Text>Icon color: {theme.color}</Text>;
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @example Update theme dynamically
|
|
29
|
+
* ```tsx
|
|
30
|
+
* function ThemeToggle() {
|
|
31
|
+
* const { theme, setTheme } = useIconTheme();
|
|
32
|
+
*
|
|
33
|
+
* const toggleDarkMode = () => {
|
|
34
|
+
* setTheme(prev => ({
|
|
35
|
+
* ...prev,
|
|
36
|
+
* color: prev.color === '#000000' ? '#ffffff' : '#000000',
|
|
37
|
+
* }));
|
|
38
|
+
* };
|
|
39
|
+
*
|
|
40
|
+
* return <Button onPress={toggleDarkMode} title="Toggle Dark Mode" />;
|
|
41
|
+
* }
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export function useIconTheme(): IconThemeContextValue {
|
|
45
|
+
const context = useContext(IconThemeContext);
|
|
46
|
+
return context;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* useIconThemeValue
|
|
51
|
+
*
|
|
52
|
+
* Get a specific theme value with automatic fallback to default.
|
|
53
|
+
* Useful when you need just one property.
|
|
54
|
+
*
|
|
55
|
+
* @param key - Theme property key
|
|
56
|
+
* @returns The theme value or default
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```tsx
|
|
60
|
+
* function MyIcon() {
|
|
61
|
+
* const defaultSize = useIconThemeValue('size');
|
|
62
|
+
* const defaultColor = useIconThemeValue('color');
|
|
63
|
+
* return <Text>Default: {defaultSize}px, {defaultColor}</Text>;
|
|
64
|
+
* }
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export function useIconThemeValue<K extends keyof IconTheme>(
|
|
68
|
+
key: K
|
|
69
|
+
): NonNullable<IconTheme[K]> | undefined {
|
|
70
|
+
const { theme } = useIconTheme();
|
|
71
|
+
const value = theme[key];
|
|
72
|
+
if (value !== undefined) {
|
|
73
|
+
return value as NonNullable<IconTheme[K]>;
|
|
74
|
+
}
|
|
75
|
+
const defaultValue = DEFAULT_ICON_THEME[key as keyof typeof DEFAULT_ICON_THEME];
|
|
76
|
+
return defaultValue as NonNullable<IconTheme[K]> | undefined;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* useMergedIconProps
|
|
81
|
+
*
|
|
82
|
+
* Merges component props with theme defaults.
|
|
83
|
+
* Props take precedence over theme values.
|
|
84
|
+
*
|
|
85
|
+
* @param props - Component props
|
|
86
|
+
* @returns Merged props with theme defaults
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```tsx
|
|
90
|
+
* function CustomIcon({ size, color, ...rest }: IconProps) {
|
|
91
|
+
* const mergedProps = useMergedIconProps({ size, color });
|
|
92
|
+
* // mergedProps.size = props.size ?? theme.size ?? 24
|
|
93
|
+
* // mergedProps.color = props.color ?? theme.color ?? '#000000'
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
export function useMergedIconProps<T extends Partial<IconTheme>>(
|
|
98
|
+
props: T
|
|
99
|
+
): T & Required<Pick<IconTheme, 'size' | 'color'>> & Omit<IconTheme, 'size' | 'color'> {
|
|
100
|
+
const { theme } = useIconTheme();
|
|
101
|
+
|
|
102
|
+
return useMemo(() => {
|
|
103
|
+
return {
|
|
104
|
+
...props,
|
|
105
|
+
size: props.size ?? theme.size ?? DEFAULT_ICON_THEME.size,
|
|
106
|
+
color: props.color ?? theme.color ?? DEFAULT_ICON_THEME.color,
|
|
107
|
+
placeholder: props.placeholder ?? theme.placeholder,
|
|
108
|
+
placeholderColor:
|
|
109
|
+
props.placeholderColor ?? theme.placeholderColor ?? DEFAULT_ICON_THEME.placeholderColor,
|
|
110
|
+
placeholderDuration:
|
|
111
|
+
props.placeholderDuration ??
|
|
112
|
+
theme.placeholderDuration ??
|
|
113
|
+
DEFAULT_ICON_THEME.placeholderDuration,
|
|
114
|
+
rotate: props.rotate ?? theme.rotate ?? DEFAULT_ICON_THEME.rotate,
|
|
115
|
+
flip: props.flip ?? theme.flip,
|
|
116
|
+
fallbackDelay: props.fallbackDelay ?? theme.fallbackDelay ?? DEFAULT_ICON_THEME.fallbackDelay,
|
|
117
|
+
} as T & Required<Pick<IconTheme, 'size' | 'color'>> & Omit<IconTheme, 'size' | 'color'>;
|
|
118
|
+
}, [props, theme]);
|
|
119
|
+
}
|
package/src/types/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { ViewStyle, StyleProp } from 'react-native';
|
|
3
|
+
import type { PlaceholderType } from '../placeholder/types';
|
|
4
|
+
import type { AnimationType, AnimationEasing } from '../animated/types';
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
7
|
* Icon transformation rotation values
|
|
@@ -61,15 +63,36 @@ export interface IconProps<T extends string = string> {
|
|
|
61
63
|
|
|
62
64
|
/**
|
|
63
65
|
* Fallback component shown while the icon is loading
|
|
66
|
+
* @deprecated Use `placeholder` instead for built-in animated placeholders
|
|
64
67
|
*/
|
|
65
68
|
fallback?: ReactNode;
|
|
66
69
|
|
|
67
70
|
/**
|
|
68
|
-
* Delay in milliseconds before showing the fallback
|
|
71
|
+
* Delay in milliseconds before showing the fallback/placeholder
|
|
69
72
|
* @default 0
|
|
70
73
|
*/
|
|
71
74
|
fallbackDelay?: number;
|
|
72
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Placeholder shown while the icon is loading
|
|
78
|
+
* Can be a preset ('skeleton', 'pulse', 'shimmer') or a custom ReactNode
|
|
79
|
+
* @example 'shimmer'
|
|
80
|
+
* @example <ActivityIndicator size="small" />
|
|
81
|
+
*/
|
|
82
|
+
placeholder?: PlaceholderType;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Placeholder background color
|
|
86
|
+
* @default '#E1E1E1'
|
|
87
|
+
*/
|
|
88
|
+
placeholderColor?: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Placeholder animation duration in milliseconds
|
|
92
|
+
* @default 1000
|
|
93
|
+
*/
|
|
94
|
+
placeholderDuration?: number;
|
|
95
|
+
|
|
73
96
|
/**
|
|
74
97
|
* Called when the icon loads successfully
|
|
75
98
|
*/
|
|
@@ -89,6 +112,48 @@ export interface IconProps<T extends string = string> {
|
|
|
89
112
|
* Test ID for testing purposes
|
|
90
113
|
*/
|
|
91
114
|
testID?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Animation to apply to the icon
|
|
118
|
+
* Can be a preset ('spin', 'pulse', 'bounce', 'shake', 'ping', 'wiggle')
|
|
119
|
+
* or a custom animation configuration
|
|
120
|
+
* @example 'spin'
|
|
121
|
+
* @example { type: 'rotate', duration: 2000, easing: 'linear' }
|
|
122
|
+
*/
|
|
123
|
+
animate?: AnimationType;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Animation duration in milliseconds (overrides preset default)
|
|
127
|
+
*/
|
|
128
|
+
animationDuration?: number;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Whether the animation should loop
|
|
132
|
+
* @default true for most presets
|
|
133
|
+
*/
|
|
134
|
+
animationLoop?: boolean;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Animation easing function
|
|
138
|
+
*/
|
|
139
|
+
animationEasing?: AnimationEasing;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Delay before animation starts (ms)
|
|
143
|
+
* @default 0
|
|
144
|
+
*/
|
|
145
|
+
animationDelay?: number;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Whether to start animation automatically
|
|
149
|
+
* @default true
|
|
150
|
+
*/
|
|
151
|
+
autoPlay?: boolean;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Callback when animation completes (for non-looping animations)
|
|
155
|
+
*/
|
|
156
|
+
onAnimationComplete?: () => void;
|
|
92
157
|
}
|
|
93
158
|
|
|
94
159
|
/**
|
|
@@ -149,3 +214,15 @@ export interface IconRendererProps extends Omit<IconProps<string>, 'name'> {
|
|
|
149
214
|
*/
|
|
150
215
|
iconName: string;
|
|
151
216
|
}
|
|
217
|
+
|
|
218
|
+
// Re-export placeholder types for convenience
|
|
219
|
+
export type { PlaceholderType, PlaceholderConfig, PlaceholderPreset } from '../placeholder/types';
|
|
220
|
+
|
|
221
|
+
// Re-export animation types for convenience
|
|
222
|
+
export type {
|
|
223
|
+
AnimationType,
|
|
224
|
+
AnimationPreset,
|
|
225
|
+
AnimationConfig,
|
|
226
|
+
AnimationEasing,
|
|
227
|
+
AnimationControls,
|
|
228
|
+
} from '../animated/types';
|
|
@@ -1,493 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Phosphor = void 0;
|
|
7
|
-
var _createIconSet = require("../createIconSet");
|
|
8
|
-
/**
|
|
9
|
-
* Phosphor Icons (ph)
|
|
10
|
-
* https://icon-sets.iconify.design/ph/
|
|
11
|
-
*
|
|
12
|
-
* 7000+ icons - MIT License
|
|
13
|
-
* Flexible icon family for interfaces, diagrams, presentations
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* import { Phosphor } from 'rn-iconify';
|
|
18
|
-
* <Phosphor name="house" size={24} color="blue" />
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
// Phosphor icons (full list generated via scripts/generate-components.ts)
|
|
23
|
-
const phosphorIconNames = {
|
|
24
|
-
// Navigation & Actions (Regular weight)
|
|
25
|
-
house: true,
|
|
26
|
-
'house-simple': true,
|
|
27
|
-
list: true,
|
|
28
|
-
x: true,
|
|
29
|
-
check: true,
|
|
30
|
-
plus: true,
|
|
31
|
-
minus: true,
|
|
32
|
-
'arrow-left': true,
|
|
33
|
-
'arrow-right': true,
|
|
34
|
-
'arrow-up': true,
|
|
35
|
-
'arrow-down': true,
|
|
36
|
-
'caret-left': true,
|
|
37
|
-
'caret-right': true,
|
|
38
|
-
'caret-up': true,
|
|
39
|
-
'caret-down': true,
|
|
40
|
-
'caret-double-left': true,
|
|
41
|
-
'caret-double-right': true,
|
|
42
|
-
'caret-double-up': true,
|
|
43
|
-
'caret-double-down': true,
|
|
44
|
-
'arrow-square-left': true,
|
|
45
|
-
'arrow-square-right': true,
|
|
46
|
-
'arrow-square-up': true,
|
|
47
|
-
'arrow-square-down': true,
|
|
48
|
-
'arrow-circle-left': true,
|
|
49
|
-
'arrow-circle-right': true,
|
|
50
|
-
'arrow-circle-up': true,
|
|
51
|
-
'arrow-circle-down': true,
|
|
52
|
-
// User & Account
|
|
53
|
-
user: true,
|
|
54
|
-
'user-circle': true,
|
|
55
|
-
'user-square': true,
|
|
56
|
-
'user-plus': true,
|
|
57
|
-
'user-minus': true,
|
|
58
|
-
'user-check': true,
|
|
59
|
-
users: true,
|
|
60
|
-
'users-three': true,
|
|
61
|
-
'users-four': true,
|
|
62
|
-
'identification-card': true,
|
|
63
|
-
'identification-badge': true,
|
|
64
|
-
// Communication
|
|
65
|
-
envelope: true,
|
|
66
|
-
'envelope-open': true,
|
|
67
|
-
'envelope-simple': true,
|
|
68
|
-
'envelope-simple-open': true,
|
|
69
|
-
phone: true,
|
|
70
|
-
'phone-call': true,
|
|
71
|
-
'phone-incoming': true,
|
|
72
|
-
'phone-outgoing': true,
|
|
73
|
-
'phone-slash': true,
|
|
74
|
-
chat: true,
|
|
75
|
-
'chat-circle': true,
|
|
76
|
-
'chat-dots': true,
|
|
77
|
-
'chat-text': true,
|
|
78
|
-
chats: true,
|
|
79
|
-
'chats-circle': true,
|
|
80
|
-
'paper-plane': true,
|
|
81
|
-
'paper-plane-right': true,
|
|
82
|
-
'paper-plane-tilt': true,
|
|
83
|
-
// Media
|
|
84
|
-
play: true,
|
|
85
|
-
'play-circle': true,
|
|
86
|
-
pause: true,
|
|
87
|
-
'pause-circle': true,
|
|
88
|
-
stop: true,
|
|
89
|
-
'stop-circle': true,
|
|
90
|
-
'skip-back': true,
|
|
91
|
-
'skip-forward': true,
|
|
92
|
-
rewind: true,
|
|
93
|
-
'fast-forward': true,
|
|
94
|
-
'speaker-high': true,
|
|
95
|
-
'speaker-low': true,
|
|
96
|
-
'speaker-none': true,
|
|
97
|
-
'speaker-slash': true,
|
|
98
|
-
'speaker-simple-high': true,
|
|
99
|
-
'speaker-simple-low': true,
|
|
100
|
-
'speaker-simple-none': true,
|
|
101
|
-
'speaker-simple-slash': true,
|
|
102
|
-
'music-note': true,
|
|
103
|
-
'music-notes': true,
|
|
104
|
-
'music-notes-plus': true,
|
|
105
|
-
headphones: true,
|
|
106
|
-
microphone: true,
|
|
107
|
-
'microphone-slash': true,
|
|
108
|
-
'video-camera': true,
|
|
109
|
-
'video-camera-slash': true,
|
|
110
|
-
// Files & Folders
|
|
111
|
-
file: true,
|
|
112
|
-
'file-text': true,
|
|
113
|
-
'file-plus': true,
|
|
114
|
-
'file-minus': true,
|
|
115
|
-
'file-arrow-down': true,
|
|
116
|
-
'file-arrow-up': true,
|
|
117
|
-
files: true,
|
|
118
|
-
folder: true,
|
|
119
|
-
'folder-open': true,
|
|
120
|
-
'folder-plus': true,
|
|
121
|
-
'folder-minus': true,
|
|
122
|
-
'folder-simple': true,
|
|
123
|
-
'folder-simple-plus': true,
|
|
124
|
-
'folder-simple-minus': true,
|
|
125
|
-
download: true,
|
|
126
|
-
'download-simple': true,
|
|
127
|
-
upload: true,
|
|
128
|
-
'upload-simple': true,
|
|
129
|
-
'floppy-disk': true,
|
|
130
|
-
archive: true,
|
|
131
|
-
'archive-box': true,
|
|
132
|
-
trash: true,
|
|
133
|
-
'trash-simple': true,
|
|
134
|
-
// UI Elements
|
|
135
|
-
gear: true,
|
|
136
|
-
'gear-six': true,
|
|
137
|
-
sliders: true,
|
|
138
|
-
'sliders-horizontal': true,
|
|
139
|
-
'magnifying-glass': true,
|
|
140
|
-
'magnifying-glass-plus': true,
|
|
141
|
-
'magnifying-glass-minus': true,
|
|
142
|
-
funnel: true,
|
|
143
|
-
'funnel-simple': true,
|
|
144
|
-
'sort-ascending': true,
|
|
145
|
-
'sort-descending': true,
|
|
146
|
-
'list-bullets': true,
|
|
147
|
-
'list-numbers': true,
|
|
148
|
-
'list-checks': true,
|
|
149
|
-
'squares-four': true,
|
|
150
|
-
'grid-four': true,
|
|
151
|
-
layout: true,
|
|
152
|
-
sidebar: true,
|
|
153
|
-
'sidebar-simple': true,
|
|
154
|
-
'arrows-out': true,
|
|
155
|
-
'arrows-in': true,
|
|
156
|
-
'dots-three': true,
|
|
157
|
-
'dots-three-vertical': true,
|
|
158
|
-
'dots-three-outline': true,
|
|
159
|
-
'dots-three-outline-vertical': true,
|
|
160
|
-
'dots-six': true,
|
|
161
|
-
'dots-six-vertical': true,
|
|
162
|
-
'dots-nine': true,
|
|
163
|
-
// Alerts & Status
|
|
164
|
-
warning: true,
|
|
165
|
-
'warning-circle': true,
|
|
166
|
-
'warning-octagon': true,
|
|
167
|
-
info: true,
|
|
168
|
-
question: true,
|
|
169
|
-
'check-circle': true,
|
|
170
|
-
'check-square': true,
|
|
171
|
-
'x-circle': true,
|
|
172
|
-
'x-square': true,
|
|
173
|
-
bell: true,
|
|
174
|
-
'bell-simple': true,
|
|
175
|
-
'bell-ringing': true,
|
|
176
|
-
'bell-slash': true,
|
|
177
|
-
// Social
|
|
178
|
-
heart: true,
|
|
179
|
-
'heart-straight': true,
|
|
180
|
-
'heart-break': true,
|
|
181
|
-
star: true,
|
|
182
|
-
'star-half': true,
|
|
183
|
-
'star-four': true,
|
|
184
|
-
'thumbs-up': true,
|
|
185
|
-
'thumbs-down': true,
|
|
186
|
-
share: true,
|
|
187
|
-
'share-network': true,
|
|
188
|
-
export: true,
|
|
189
|
-
bookmark: true,
|
|
190
|
-
'bookmark-simple': true,
|
|
191
|
-
bookmarks: true,
|
|
192
|
-
'bookmarks-simple': true,
|
|
193
|
-
flag: true,
|
|
194
|
-
'flag-banner': true,
|
|
195
|
-
trophy: true,
|
|
196
|
-
medal: true,
|
|
197
|
-
crown: true,
|
|
198
|
-
'crown-simple': true,
|
|
199
|
-
// Editing
|
|
200
|
-
pencil: true,
|
|
201
|
-
'pencil-simple': true,
|
|
202
|
-
'pencil-line': true,
|
|
203
|
-
pen: true,
|
|
204
|
-
'pen-nib': true,
|
|
205
|
-
'pen-nib-straight': true,
|
|
206
|
-
eraser: true,
|
|
207
|
-
copy: true,
|
|
208
|
-
'copy-simple': true,
|
|
209
|
-
clipboard: true,
|
|
210
|
-
'clipboard-text': true,
|
|
211
|
-
scissors: true,
|
|
212
|
-
'text-aa': true,
|
|
213
|
-
'text-b': true,
|
|
214
|
-
'text-italic': true,
|
|
215
|
-
'text-underline': true,
|
|
216
|
-
'text-strikethrough': true,
|
|
217
|
-
'text-align-left': true,
|
|
218
|
-
'text-align-center': true,
|
|
219
|
-
'text-align-right': true,
|
|
220
|
-
'text-align-justify': true,
|
|
221
|
-
// Shopping
|
|
222
|
-
'shopping-cart': true,
|
|
223
|
-
'shopping-cart-simple': true,
|
|
224
|
-
'shopping-bag': true,
|
|
225
|
-
'shopping-bag-open': true,
|
|
226
|
-
handbag: true,
|
|
227
|
-
'handbag-simple': true,
|
|
228
|
-
'credit-card': true,
|
|
229
|
-
wallet: true,
|
|
230
|
-
receipt: true,
|
|
231
|
-
tag: true,
|
|
232
|
-
'tag-simple': true,
|
|
233
|
-
barcode: true,
|
|
234
|
-
'qr-code': true,
|
|
235
|
-
percent: true,
|
|
236
|
-
'currency-dollar': true,
|
|
237
|
-
'currency-dollar-simple': true,
|
|
238
|
-
// Date & Time
|
|
239
|
-
calendar: true,
|
|
240
|
-
'calendar-blank': true,
|
|
241
|
-
'calendar-check': true,
|
|
242
|
-
'calendar-plus': true,
|
|
243
|
-
'calendar-minus': true,
|
|
244
|
-
'calendar-x': true,
|
|
245
|
-
clock: true,
|
|
246
|
-
'clock-afternoon': true,
|
|
247
|
-
timer: true,
|
|
248
|
-
alarm: true,
|
|
249
|
-
hourglass: true,
|
|
250
|
-
'hourglass-simple': true,
|
|
251
|
-
watch: true,
|
|
252
|
-
// Location
|
|
253
|
-
'map-pin': true,
|
|
254
|
-
'map-pin-line': true,
|
|
255
|
-
'map-trifold': true,
|
|
256
|
-
'navigation-arrow': true,
|
|
257
|
-
compass: true,
|
|
258
|
-
globe: true,
|
|
259
|
-
'globe-simple': true,
|
|
260
|
-
'globe-hemisphere-east': true,
|
|
261
|
-
'globe-hemisphere-west': true,
|
|
262
|
-
// Weather
|
|
263
|
-
sun: true,
|
|
264
|
-
'sun-dim': true,
|
|
265
|
-
moon: true,
|
|
266
|
-
'moon-stars': true,
|
|
267
|
-
cloud: true,
|
|
268
|
-
'cloud-sun': true,
|
|
269
|
-
'cloud-moon': true,
|
|
270
|
-
'cloud-rain': true,
|
|
271
|
-
'cloud-snow': true,
|
|
272
|
-
'cloud-lightning': true,
|
|
273
|
-
'cloud-fog': true,
|
|
274
|
-
umbrella: true,
|
|
275
|
-
'umbrella-simple': true,
|
|
276
|
-
wind: true,
|
|
277
|
-
thermometer: true,
|
|
278
|
-
'thermometer-simple': true,
|
|
279
|
-
drop: true,
|
|
280
|
-
drops: true,
|
|
281
|
-
snowflake: true,
|
|
282
|
-
rainbow: true,
|
|
283
|
-
// Security
|
|
284
|
-
lock: true,
|
|
285
|
-
'lock-simple': true,
|
|
286
|
-
'lock-open': true,
|
|
287
|
-
'lock-simple-open': true,
|
|
288
|
-
key: true,
|
|
289
|
-
password: true,
|
|
290
|
-
shield: true,
|
|
291
|
-
'shield-check': true,
|
|
292
|
-
'shield-checkered': true,
|
|
293
|
-
'shield-slash': true,
|
|
294
|
-
eye: true,
|
|
295
|
-
'eye-slash': true,
|
|
296
|
-
'eye-closed': true,
|
|
297
|
-
fingerprint: true,
|
|
298
|
-
'fingerprint-simple': true,
|
|
299
|
-
// Tech & Devices
|
|
300
|
-
'device-mobile': true,
|
|
301
|
-
'device-mobile-speaker': true,
|
|
302
|
-
'device-tablet': true,
|
|
303
|
-
'device-tablet-speaker': true,
|
|
304
|
-
laptop: true,
|
|
305
|
-
desktop: true,
|
|
306
|
-
monitor: true,
|
|
307
|
-
television: true,
|
|
308
|
-
'television-simple': true,
|
|
309
|
-
printer: true,
|
|
310
|
-
keyboard: true,
|
|
311
|
-
mouse: true,
|
|
312
|
-
cpu: true,
|
|
313
|
-
'hard-drive': true,
|
|
314
|
-
'hard-drives': true,
|
|
315
|
-
database: true,
|
|
316
|
-
'wifi-high': true,
|
|
317
|
-
'wifi-low': true,
|
|
318
|
-
'wifi-medium': true,
|
|
319
|
-
'wifi-none': true,
|
|
320
|
-
'wifi-slash': true,
|
|
321
|
-
bluetooth: true,
|
|
322
|
-
'bluetooth-connected': true,
|
|
323
|
-
'bluetooth-slash': true,
|
|
324
|
-
'battery-empty': true,
|
|
325
|
-
'battery-low': true,
|
|
326
|
-
'battery-medium': true,
|
|
327
|
-
'battery-high': true,
|
|
328
|
-
'battery-full': true,
|
|
329
|
-
'battery-charging': true,
|
|
330
|
-
'battery-charging-vertical': true,
|
|
331
|
-
plug: true,
|
|
332
|
-
plugs: true,
|
|
333
|
-
'plugs-connected': true,
|
|
334
|
-
power: true,
|
|
335
|
-
// Images & Design
|
|
336
|
-
camera: true,
|
|
337
|
-
'camera-slash': true,
|
|
338
|
-
image: true,
|
|
339
|
-
'image-square': true,
|
|
340
|
-
images: true,
|
|
341
|
-
'images-square': true,
|
|
342
|
-
palette: true,
|
|
343
|
-
'paint-brush': true,
|
|
344
|
-
'paint-brush-broad': true,
|
|
345
|
-
'paint-brush-household': true,
|
|
346
|
-
'paint-bucket': true,
|
|
347
|
-
'paint-roller': true,
|
|
348
|
-
'drop-half': true,
|
|
349
|
-
'drop-half-bottom': true,
|
|
350
|
-
eyedropper: true,
|
|
351
|
-
'eyedropper-sample': true,
|
|
352
|
-
crop: true,
|
|
353
|
-
'arrows-out-simple': true,
|
|
354
|
-
'arrows-clockwise': true,
|
|
355
|
-
'arrows-counter-clockwise': true,
|
|
356
|
-
'flip-horizontal': true,
|
|
357
|
-
'flip-vertical': true,
|
|
358
|
-
stack: true,
|
|
359
|
-
'stack-simple': true,
|
|
360
|
-
square: true,
|
|
361
|
-
circle: true,
|
|
362
|
-
triangle: true,
|
|
363
|
-
hexagon: true,
|
|
364
|
-
octagon: true,
|
|
365
|
-
polygon: true,
|
|
366
|
-
rectangle: true,
|
|
367
|
-
parallelogram: true,
|
|
368
|
-
// Misc
|
|
369
|
-
link: true,
|
|
370
|
-
'link-simple': true,
|
|
371
|
-
'link-break': true,
|
|
372
|
-
'link-simple-break': true,
|
|
373
|
-
'arrow-square-out': true,
|
|
374
|
-
paperclip: true,
|
|
375
|
-
'paperclip-horizontal': true,
|
|
376
|
-
code: true,
|
|
377
|
-
'code-simple': true,
|
|
378
|
-
terminal: true,
|
|
379
|
-
'terminal-window': true,
|
|
380
|
-
hash: true,
|
|
381
|
-
'hash-straight': true,
|
|
382
|
-
lightning: true,
|
|
383
|
-
'lightning-slash': true,
|
|
384
|
-
flame: true,
|
|
385
|
-
fire: true,
|
|
386
|
-
'fire-simple': true,
|
|
387
|
-
lightbulb: true,
|
|
388
|
-
'lightbulb-filament': true,
|
|
389
|
-
rocket: true,
|
|
390
|
-
'rocket-launch': true,
|
|
391
|
-
target: true,
|
|
392
|
-
crosshair: true,
|
|
393
|
-
'crosshair-simple': true,
|
|
394
|
-
activity: true,
|
|
395
|
-
pulse: true,
|
|
396
|
-
heartbeat: true,
|
|
397
|
-
'trend-up': true,
|
|
398
|
-
'trend-down': true,
|
|
399
|
-
'chart-bar': true,
|
|
400
|
-
'chart-bar-horizontal': true,
|
|
401
|
-
'chart-line': true,
|
|
402
|
-
'chart-line-up': true,
|
|
403
|
-
'chart-pie': true,
|
|
404
|
-
'chart-pie-slice': true,
|
|
405
|
-
'chart-donut': true,
|
|
406
|
-
spinner: true,
|
|
407
|
-
'spinner-gap': true,
|
|
408
|
-
'circle-notch': true,
|
|
409
|
-
repeat: true,
|
|
410
|
-
'repeat-once': true,
|
|
411
|
-
shuffle: true,
|
|
412
|
-
'shuffle-simple': true,
|
|
413
|
-
infinity: true,
|
|
414
|
-
command: true,
|
|
415
|
-
option: true,
|
|
416
|
-
backspace: true,
|
|
417
|
-
'sign-in': true,
|
|
418
|
-
'sign-out': true,
|
|
419
|
-
door: true,
|
|
420
|
-
'door-open': true,
|
|
421
|
-
gift: true,
|
|
422
|
-
confetti: true,
|
|
423
|
-
'party-popper': true,
|
|
424
|
-
coffee: true,
|
|
425
|
-
'beer-bottle': true,
|
|
426
|
-
wine: true,
|
|
427
|
-
martini: true,
|
|
428
|
-
'fork-knife': true,
|
|
429
|
-
knife: true,
|
|
430
|
-
'cooking-pot': true,
|
|
431
|
-
'bowl-food': true,
|
|
432
|
-
hamburger: true,
|
|
433
|
-
pizza: true,
|
|
434
|
-
pill: true,
|
|
435
|
-
'first-aid': true,
|
|
436
|
-
'first-aid-kit': true,
|
|
437
|
-
stethoscope: true,
|
|
438
|
-
syringe: true,
|
|
439
|
-
briefcase: true,
|
|
440
|
-
buildings: true,
|
|
441
|
-
building: true,
|
|
442
|
-
'building-office': true,
|
|
443
|
-
storefront: true,
|
|
444
|
-
bank: true,
|
|
445
|
-
factory: true,
|
|
446
|
-
warehouse: true,
|
|
447
|
-
garage: true,
|
|
448
|
-
car: true,
|
|
449
|
-
'car-simple': true,
|
|
450
|
-
taxi: true,
|
|
451
|
-
bus: true,
|
|
452
|
-
train: true,
|
|
453
|
-
'train-simple': true,
|
|
454
|
-
airplane: true,
|
|
455
|
-
'airplane-takeoff': true,
|
|
456
|
-
'airplane-landing': true,
|
|
457
|
-
boat: true,
|
|
458
|
-
bicycle: true,
|
|
459
|
-
motorcycle: true,
|
|
460
|
-
scooter: true,
|
|
461
|
-
footprints: true,
|
|
462
|
-
person: true,
|
|
463
|
-
'person-simple': true,
|
|
464
|
-
'person-simple-run': true,
|
|
465
|
-
'person-simple-walk': true,
|
|
466
|
-
baby: true,
|
|
467
|
-
cat: true,
|
|
468
|
-
dog: true,
|
|
469
|
-
bird: true,
|
|
470
|
-
fish: true,
|
|
471
|
-
'fish-simple': true,
|
|
472
|
-
butterfly: true,
|
|
473
|
-
bug: true,
|
|
474
|
-
'bug-beetle': true,
|
|
475
|
-
'bug-droid': true,
|
|
476
|
-
spider: true,
|
|
477
|
-
leaf: true,
|
|
478
|
-
flower: true,
|
|
479
|
-
'flower-lotus': true,
|
|
480
|
-
'flower-tulip': true,
|
|
481
|
-
tree: true,
|
|
482
|
-
'tree-evergreen': true,
|
|
483
|
-
'tree-palm': true,
|
|
484
|
-
plant: true,
|
|
485
|
-
'potted-plant': true,
|
|
486
|
-
cactus: true,
|
|
487
|
-
mountains: true,
|
|
488
|
-
mountain: true,
|
|
489
|
-
waves: true,
|
|
490
|
-
wave: true
|
|
491
|
-
};
|
|
492
|
-
const Phosphor = exports.Phosphor = (0, _createIconSet.createIconSet)('ph', phosphorIconNames);
|
|
493
|
-
//# sourceMappingURL=Phosphor.js.map
|