@zohodesk/icons 1.0.0-beta.11 → 1.0.0-beta.110
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 +390 -0
- package/{assets → assets_final}/fonts/gs-zdfonts.svg +0 -0
- package/{assets → assets_final}/fonts/gs-zdfonts.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviBold.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviBold.woff2 +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviExtrabold.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviExtrabold.woff2 +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviLight.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviLight.woff2 +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviMedium.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviMedium.woff2 +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviRegular.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviRegular.woff2 +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviSemibold.woff +0 -0
- package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviSemibold.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-addforms +0 -0
- package/{assets → assets_final}/fonts/zd-addforms.svg +0 -0
- package/{assets → assets_final}/fonts/zd-addforms.woff +0 -0
- package/{assets → assets_final}/fonts/zd-addforms.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-automate.svg +0 -0
- package/{assets → assets_final}/fonts/zd-automate.woff +0 -0
- package/{assets → assets_final}/fonts/zd-automate.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-channels.svg +6 -0
- package/{assets → assets_final}/fonts/zd-channels.woff +0 -0
- package/assets_final/fonts/zd-channels.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-common.svg +5 -3
- package/{assets → assets_final}/fonts/zd-common.woff +0 -0
- package/assets_final/fonts/zd-common.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-community.svg +1 -0
- package/{assets → assets_final}/fonts/zd-community.woff +0 -0
- package/assets_final/fonts/zd-community.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-customers.svg +0 -0
- package/{assets → assets_final}/fonts/zd-customers.woff +0 -0
- package/{assets → assets_final}/fonts/zd-customers.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-customize.svg +2 -0
- package/{assets → assets_final}/fonts/zd-customize.woff +0 -0
- package/assets_final/fonts/zd-customize.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-font-icon-portallist.svg +0 -0
- package/{assets → assets_final}/fonts/zd-font-icon-portallist.woff +0 -0
- package/{assets → assets_final}/fonts/zd-font-icon-portallist.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-gamescope.svg +0 -0
- package/{assets → assets_final}/fonts/zd-gamescope.woff +0 -0
- package/{assets → assets_final}/fonts/zd-gamescope.woff2 +0 -0
- package/assets_final/fonts/zd-gcFonts.svg +245 -0
- package/assets_final/fonts/zd-gcFonts.woff +0 -0
- package/assets_final/fonts/zd-gcFonts.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-gettingstarted.svg +2 -2
- package/{assets → assets_final}/fonts/zd-gettingstarted.woff +0 -0
- package/assets_final/fonts/zd-gettingstarted.woff2 +0 -0
- package/assets_final/fonts/zd-integrations.svg +17 -0
- package/assets_final/fonts/zd-integrations.woff +0 -0
- package/assets_final/fonts/zd-integrations.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-kb.svg +0 -0
- package/{assets → assets_final}/fonts/zd-kb.woff +0 -0
- package/{assets → assets_final}/fonts/zd-kb.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-kbeditortools.svg +0 -0
- package/{assets → assets_final}/fonts/zd-kbeditortools.woff +0 -0
- package/{assets → assets_final}/fonts/zd-kbeditortools.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-logo.svg +1 -1
- package/{assets → assets_final}/fonts/zd-logo.woff +0 -0
- package/assets_final/fonts/zd-logo.woff2 +0 -0
- package/assets_final/fonts/zd-mobile-marketplace.svg +14 -0
- package/assets_final/fonts/zd-mobile-marketplace.woff +0 -0
- package/assets_final/fonts/zd-mobile-marketplace.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-organization.svg +0 -0
- package/{assets → assets_final}/fonts/zd-organization.woff +0 -0
- package/{assets → assets_final}/fonts/zd-organization.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-others.svg +4 -0
- package/{assets → assets_final}/fonts/zd-others.woff +0 -0
- package/assets_final/fonts/zd-others.woff2 +0 -0
- package/assets_final/fonts/zd-rCallBar.svg +22 -0
- package/assets_final/fonts/zd-rCallBar.woff +0 -0
- package/assets_final/fonts/zd-rCallBar.woff2 +0 -0
- package/assets_final/fonts/zd-rChannels.svg +56 -0
- package/assets_final/fonts/zd-rChannels.woff +0 -0
- package/assets_final/fonts/zd-rChannels.woff2 +0 -0
- package/assets_final/fonts/zd-rCustomize.svg +40 -0
- package/assets_final/fonts/zd-rCustomize.woff +0 -0
- package/assets_final/fonts/zd-rCustomize.woff2 +0 -0
- package/assets_final/fonts/zd-rExportFiles.svg +161 -0
- package/assets_final/fonts/zd-rExportFiles.woff +0 -0
- package/assets_final/fonts/zd-rExportFiles.woff2 +0 -0
- package/assets_final/fonts/zd-rGeneral.svg +181 -0
- package/assets_final/fonts/zd-rGeneral.woff +0 -0
- package/assets_final/fonts/zd-rGeneral.woff2 +0 -0
- package/assets_final/fonts/zd-rIntegrations.svg +49 -0
- package/assets_final/fonts/zd-rIntegrations.woff +0 -0
- package/assets_final/fonts/zd-rIntegrations.woff2 +0 -0
- package/assets_final/fonts/zd-rLhs.svg +84 -0
- package/assets_final/fonts/zd-rLhs.woff +0 -0
- package/assets_final/fonts/zd-rLhs.woff2 +0 -0
- package/assets_final/fonts/zd-rMarketplace.svg +40 -0
- package/assets_final/fonts/zd-rMarketplace.woff +0 -0
- package/assets_final/fonts/zd-rMarketplace.woff2 +0 -0
- package/assets_final/fonts/zd-rReports.svg +55 -0
- package/assets_final/fonts/zd-rReports.woff +0 -0
- package/assets_final/fonts/zd-rReports.woff2 +0 -0
- package/assets_final/fonts/zd-rSetup.svg +63 -0
- package/assets_final/fonts/zd-rSetup.woff +0 -0
- package/assets_final/fonts/zd-rSetup.woff2 +0 -0
- package/assets_final/fonts/zd-rTickets.svg +108 -0
- package/assets_final/fonts/zd-rTickets.woff +0 -0
- package/assets_final/fonts/zd-rTickets.woff2 +0 -0
- package/assets_final/fonts/zd-rTopband.svg +51 -0
- package/assets_final/fonts/zd-rTopband.woff +0 -0
- package/assets_final/fonts/zd-rTopband.woff2 +0 -0
- package/assets_final/fonts/zd-rTwotone.svg +226 -0
- package/assets_final/fonts/zd-rTwotone.woff +0 -0
- package/assets_final/fonts/zd-rTwotone.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-reports.svg +50 -1
- package/{assets → assets_final}/fonts/zd-reports.woff +0 -0
- package/assets_final/fonts/zd-reports.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-setup.svg +3 -1
- package/{assets → assets_final}/fonts/zd-setup.woff +0 -0
- package/assets_final/fonts/zd-setup.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-social.svg +0 -0
- package/{assets → assets_final}/fonts/zd-social.woff +0 -0
- package/assets_final/fonts/zd-social.woff2 +0 -0
- package/assets_final/fonts/zd-ticket-channels.svg +68 -0
- package/assets_final/fonts/zd-ticket-channels.woff +0 -0
- package/assets_final/fonts/zd-ticket-channels.woff2 +0 -0
- package/assets_final/fonts/zd-tickets.svg +281 -0
- package/{assets → assets_final}/fonts/zd-tickets.woff +0 -0
- package/assets_final/fonts/zd-tickets.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-topband.svg +3 -1
- package/{assets → assets_final}/fonts/zd-topband.woff +0 -0
- package/assets_final/fonts/zd-topband.woff2 +0 -0
- package/{assets → assets_final}/fonts/zd-zohohc-kb-articlenotes-font-icon.svg +0 -0
- package/{assets → assets_final}/fonts/zd-zohohc-kb-articlenotes-font-icon.woff +0 -0
- package/{assets → assets_final}/fonts/zd-zohohc-kb-articlenotes-font-icon.woff2 +0 -0
- package/assets_final/react/zd-font-rCallBar.module.css +53 -0
- package/assets_final/react/zd-font-rChannels.module.css +209 -0
- package/assets_final/react/zd-font-rCustomize.module.css +107 -0
- package/assets_final/react/zd-font-rExportFiles.module.css +716 -0
- package/assets_final/react/zd-font-rGeneral.module.css +632 -0
- package/assets_final/react/zd-font-rIntegrations.module.css +197 -0
- package/assets_final/react/zd-font-rLhs.module.css +387 -0
- package/assets_final/react/zd-font-rMarketplace.module.css +154 -0
- package/assets_final/react/zd-font-rReports.module.css +196 -0
- package/assets_final/react/zd-font-rSetup.module.css +206 -0
- package/assets_final/react/zd-font-rTickets.module.css +350 -0
- package/assets_final/react/zd-font-rTopband.module.css +165 -0
- package/assets_final/react/zd-font-rTwotone.module.css +1008 -0
- package/{assets/css/zd-font-addforms.module.css → assets_final/react/zd-font-react-addforms.module.css} +3 -2
- package/{assets/css/zd-font-automate.module.css → assets_final/react/zd-font-react-automate.module.css} +3 -2
- package/{assets/css/zd-font-channels.module.css → assets_final/react/zd-font-react-channels.module.css} +28 -3
- package/{assets/css/zd-font-channels.plain.css → assets_final/react/zd-font-react-channels.plain.css} +28 -3
- package/{assets/css/zd-font-common.module.css → assets_final/react/zd-font-react-common.module.css} +11 -3
- package/{assets/css/zd-font-common.plain.css → assets_final/react/zd-font-react-common.plain.css} +11 -3
- package/{assets/css/zd-font-community.module.css → assets_final/react/zd-font-react-community.module.css} +7 -3
- package/{assets/css/zd-font-customers.module.css → assets_final/react/zd-font-react-customers.module.css} +3 -2
- package/{assets/css/zd-font-customize.module.css → assets_final/react/zd-font-react-customize.module.css} +10 -3
- package/{assets/css/zd-font-gamescope.module.css → assets_final/react/zd-font-react-gamescope.module.css} +3 -2
- package/assets_final/react/zd-font-react-gcFonts.module.css +1040 -0
- package/{assets/css/zd-font-gettingstarted.module.css → assets_final/react/zd-font-react-gettingstarted.module.css} +4 -2
- package/assets_final/react/zd-font-react-integrations.module.css +50 -0
- package/{assets/css/zd-font-kb.module.css → assets_final/react/zd-font-react-kb.module.css} +3 -2
- package/{assets/css/zd-font-logo.module.css → assets_final/react/zd-font-react-logo.module.css} +3 -2
- package/{assets/css/zd-font-organization.module.css → assets_final/react/zd-font-react-organization.module.css} +3 -2
- package/{assets/css/zd-font-organization.plain.css → assets_final/react/zd-font-react-organization.plain.css} +3 -2
- package/{assets/css/zd-font-others.module.css → assets_final/react/zd-font-react-others.module.css} +22 -3
- package/{assets/css/zd-font-reports.module.css → assets_final/react/zd-font-react-reports.module.css} +211 -3
- package/{assets/css/zd-font-setup.plain.css → assets_final/react/zd-font-react-setup.module.css} +10 -3
- package/{assets/css/zd-font-setup.module.css → assets_final/react/zd-font-react-setup.plain.css} +10 -3
- package/{assets/css/zd-font-social.module.css → assets_final/react/zd-font-react-social.module.css} +3 -2
- package/assets_final/react/zd-font-react-ticket-channels.module.css +259 -0
- package/{assets/css/zd-font-tickets.plain.css → assets_final/react/zd-font-react-tickets.module.css} +329 -265
- package/{assets/css/zd-font-tickets.module.css → assets_final/react/zd-font-react-tickets.plain.css} +329 -265
- package/{assets/css/zd-font-topband.plain.css → assets_final/react/zd-font-react-topband.module.css} +11 -3
- package/{assets/css/zd-font-topband.module.css → assets_final/react/zd-font-react-topband.plain.css} +11 -3
- package/es/Icon/CustomIcons.js +111 -0
- package/es/Icon/FontFactory.js +869 -39
- package/es/Icon/FontIcon.js +63 -69
- package/es/Icon/Icon.module.css +43 -0
- package/es/Icon/asyncComponent.js +53 -69
- package/es/Icon/docs/Icon__default.docs.js +28 -70
- package/es/Icon/index.js +188 -70
- package/es/Icon/props/defaultProps.js +3 -0
- package/es/Icon/props/propTypes.js +17 -0
- package/es/common/{docStyle.module.css → IcondocStyle.module.css} +2 -4
- package/es/index.js +2 -4
- package/lib/Icon/CustomIcons.js +97 -0
- package/lib/Icon/FontFactory.js +750 -41
- package/lib/Icon/FontIcon.js +83 -62
- package/lib/Icon/Icon.module.css +43 -0
- package/lib/Icon/asyncComponent.js +45 -27
- package/lib/Icon/docs/Icon__default.docs.js +52 -63
- package/lib/Icon/index.js +193 -67
- package/lib/Icon/props/defaultProps.js +10 -0
- package/lib/Icon/props/propTypes.js +28 -0
- package/lib/common/{docStyle.module.css → IcondocStyle.module.css} +2 -4
- package/lib/index.js +22 -37
- package/package.json +71 -8
- package/assets/css/font-icon-portallist.module.css +0 -25
- package/assets/css/kbeditortools.module.css +0 -359
- package/assets/css/zd-font-common-styles.module.css +0 -15
- package/assets/css/zohohc-kb-articlenotes-font-icon.module.css +0 -44
- package/assets/fonts/zd-channels.woff2 +0 -0
- package/assets/fonts/zd-common.woff2 +0 -0
- package/assets/fonts/zd-community.woff2 +0 -0
- package/assets/fonts/zd-customize.woff2 +0 -0
- package/assets/fonts/zd-gettingstarted.woff2 +0 -0
- package/assets/fonts/zd-logo.woff2 +0 -0
- package/assets/fonts/zd-others.woff2 +0 -0
- package/assets/fonts/zd-reports.woff2 +0 -0
- package/assets/fonts/zd-setup.woff2 +0 -0
- package/assets/fonts/zd-social.woff2 +0 -0
- package/assets/fonts/zd-tickets.svg +0 -266
- package/assets/fonts/zd-tickets.woff2 +0 -0
- package/assets/fonts/zd-topband.woff2 +0 -0
- package/es/FontIcon/AddformsFontIcon.js +0 -123
- package/es/FontIcon/AutomateFontIcon.js +0 -106
- package/es/FontIcon/ChannelsFontIcon.js +0 -166
- package/es/FontIcon/CommonFontIcon.js +0 -230
- package/es/FontIcon/CommunityFontIcon.js +0 -134
- package/es/FontIcon/CustomersFontIcon.js +0 -95
- package/es/FontIcon/CustomizeFontIcon.js +0 -157
- package/es/FontIcon/FontFactory.js +0 -1234
- package/es/FontIcon/FontIcon.js +0 -412
- package/es/FontIcon/FontIcon.module.css +0 -35
- package/es/FontIcon/FontIconAll.js +0 -115
- package/es/FontIcon/GamescopeFontIcon.js +0 -111
- package/es/FontIcon/GettingstartedFontIcon.js +0 -153
- package/es/FontIcon/KnowledgeBaseFontIcon.js +0 -429
- package/es/FontIcon/LogoFontIcon.js +0 -96
- package/es/FontIcon/OrganizationFontIcon.js +0 -113
- package/es/FontIcon/OthersFontIcon.js +0 -125
- package/es/FontIcon/ReportsFontIcon.js +0 -148
- package/es/FontIcon/SetupFontIcon.js +0 -192
- package/es/FontIcon/SocialFontIcon.js +0 -193
- package/es/FontIcon/TicketsFontIcon.js +0 -285
- package/es/FontIcon/TopbandFontIcon.js +0 -283
- package/es/FontIcon/__tests__/FontIcon.spec.js +0 -274
- package/es/FontIcon/__tests__/__snapshots__/FontIcon.spec.js.snap +0 -241
- package/es/FontIcon/docs/AddformsFontIcon__default.docs.js +0 -64
- package/es/FontIcon/docs/AutomateFontIcon__default.docs.js +0 -63
- package/es/FontIcon/docs/ChannelsFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/CommonFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/CommunityFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/CustomersFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/CustomizeFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/FontIconAll__All.docs.js +0 -81
- package/es/FontIcon/docs/GamescopeFontIcon__default.docs.js +0 -63
- package/es/FontIcon/docs/GettingstartedFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/KnowledgeBaseFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/LogoFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/OrganizationFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/OthersFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/ReportsFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/SetupFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/SocialFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/TicketsFontIcon__default.docs.js +0 -62
- package/es/FontIcon/docs/TopbandFontIcon__default.docs.js +0 -62
- package/es/FontIcon/index.js +0 -18
- package/es/Icon/AddformsFontIcon.js +0 -113
- package/es/Icon/AutomateFontIcon.js +0 -96
- package/es/Icon/ChannelsFontIcon.js +0 -156
- package/es/Icon/CommonFontIcon.js +0 -222
- package/es/Icon/CommunityFontIcon.js +0 -124
- package/es/Icon/CustomersFontIcon.js +0 -85
- package/es/Icon/CustomizeFontIcon.js +0 -147
- package/es/Icon/FontIcon.module.css +0 -25
- package/es/Icon/GamescopeFontIcon.js +0 -101
- package/es/Icon/GettingstartedFontIcon.js +0 -144
- package/es/Icon/KnowledgeBaseFontIcon.js +0 -419
- package/es/Icon/OrganizationFontIcon.js +0 -103
- package/es/Icon/OthersFontIcon.js +0 -116
- package/es/Icon/ReportsFontIcon.js +0 -138
- package/es/Icon/SetupFontIcon.js +0 -182
- package/es/Icon/SocialFontIcon.js +0 -183
- package/es/Icon/TicketsFontIcon.js +0 -282
- package/es/Icon/TopbandFontIcon.js +0 -273
- package/es/docs.js +0 -20
- package/lib/FontIcon/AddformsFontIcon.js +0 -147
- package/lib/FontIcon/AutomateFontIcon.js +0 -128
- package/lib/FontIcon/ChannelsFontIcon.js +0 -188
- package/lib/FontIcon/CommonFontIcon.js +0 -254
- package/lib/FontIcon/CommunityFontIcon.js +0 -158
- package/lib/FontIcon/CustomersFontIcon.js +0 -119
- package/lib/FontIcon/CustomizeFontIcon.js +0 -181
- package/lib/FontIcon/FontFactory.js +0 -1239
- package/lib/FontIcon/FontIcon.js +0 -437
- package/lib/FontIcon/FontIcon.module.css +0 -35
- package/lib/FontIcon/FontIconAll.js +0 -128
- package/lib/FontIcon/GamescopeFontIcon.js +0 -133
- package/lib/FontIcon/GettingstartedFontIcon.js +0 -175
- package/lib/FontIcon/KnowledgeBaseFontIcon.js +0 -453
- package/lib/FontIcon/LogoFontIcon.js +0 -118
- package/lib/FontIcon/OrganizationFontIcon.js +0 -137
- package/lib/FontIcon/OthersFontIcon.js +0 -149
- package/lib/FontIcon/ReportsFontIcon.js +0 -172
- package/lib/FontIcon/SetupFontIcon.js +0 -216
- package/lib/FontIcon/SocialFontIcon.js +0 -217
- package/lib/FontIcon/TicketsFontIcon.js +0 -310
- package/lib/FontIcon/TopbandFontIcon.js +0 -305
- package/lib/FontIcon/__tests__/FontIcon.spec.js +0 -342
- package/lib/FontIcon/__tests__/__snapshots__/FontIcon.spec.js.snap +0 -241
- package/lib/FontIcon/docs/AddformsFontIcon__default.docs.js +0 -84
- package/lib/FontIcon/docs/AutomateFontIcon__default.docs.js +0 -83
- package/lib/FontIcon/docs/ChannelsFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/CommonFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/CommunityFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/CustomersFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/CustomizeFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/FontIconAll__All.docs.js +0 -100
- package/lib/FontIcon/docs/GamescopeFontIcon__default.docs.js +0 -83
- package/lib/FontIcon/docs/GettingstartedFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/KnowledgeBaseFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/LogoFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/OrganizationFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/OthersFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/ReportsFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/SetupFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/SocialFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/TicketsFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/docs/TopbandFontIcon__default.docs.js +0 -82
- package/lib/FontIcon/index.js +0 -169
- package/lib/Icon/AddformsFontIcon.js +0 -137
- package/lib/Icon/AutomateFontIcon.js +0 -118
- package/lib/Icon/ChannelsFontIcon.js +0 -178
- package/lib/Icon/CommonFontIcon.js +0 -246
- package/lib/Icon/CommunityFontIcon.js +0 -148
- package/lib/Icon/CustomersFontIcon.js +0 -109
- package/lib/Icon/CustomizeFontIcon.js +0 -171
- package/lib/Icon/FontIcon.module.css +0 -25
- package/lib/Icon/GamescopeFontIcon.js +0 -123
- package/lib/Icon/GettingstartedFontIcon.js +0 -166
- package/lib/Icon/KnowledgeBaseFontIcon.js +0 -443
- package/lib/Icon/OrganizationFontIcon.js +0 -127
- package/lib/Icon/OthersFontIcon.js +0 -140
- package/lib/Icon/ReportsFontIcon.js +0 -162
- package/lib/Icon/SetupFontIcon.js +0 -206
- package/lib/Icon/SocialFontIcon.js +0 -207
- package/lib/Icon/TicketsFontIcon.js +0 -307
- package/lib/Icon/TopbandFontIcon.js +0 -295
- package/lib/docs.js +0 -178
|
Binary file
|
|
Binary file
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import _typeof from 'babel-runtime/helpers/typeof';
|
|
2
|
-
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
|
|
3
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
4
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
5
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
6
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
7
|
-
/* eslint css-modules/no-unused-class: [2, { markAsUsed: [
|
|
8
|
-
'icon-addAccounts',
|
|
9
|
-
'icon-addCalls',
|
|
10
|
-
'icon-addCases',
|
|
11
|
-
'icon-addContacts',
|
|
12
|
-
'icon-addContracts',
|
|
13
|
-
'icon-addEvents',
|
|
14
|
-
'icon-addProducts',
|
|
15
|
-
'icon-addTasks',
|
|
16
|
-
'icon-addTimeEntry',
|
|
17
|
-
'icon-addTopic',
|
|
18
|
-
'icon-addtopicpin',
|
|
19
|
-
'icon-avatar40x40',
|
|
20
|
-
'icon-default-account',
|
|
21
|
-
'icon-default-contact',
|
|
22
|
-
'icon-editAccounts',
|
|
23
|
-
'icon-editCalls',
|
|
24
|
-
'icon-editCases',
|
|
25
|
-
'icon-editContacts',
|
|
26
|
-
'icon-editContracts',
|
|
27
|
-
'icon-editEvents',
|
|
28
|
-
'icon-editProducts',
|
|
29
|
-
'icon-editTasks',
|
|
30
|
-
'icon-editTimeEntry',
|
|
31
|
-
'icon-addClone',
|
|
32
|
-
'icon-addMail',
|
|
33
|
-
'path1',
|
|
34
|
-
'path2',
|
|
35
|
-
'path3',
|
|
36
|
-
'path4',
|
|
37
|
-
'path5',
|
|
38
|
-
'path6'] }] */
|
|
39
|
-
import React from 'react';
|
|
40
|
-
import PropTypes from 'prop-types';
|
|
41
|
-
import iconContent from '../../assets/css/zd-font-addforms.module.css';
|
|
42
|
-
import FontIcon from './FontIcon';
|
|
43
|
-
import { FontFactory } from './FontFactory';
|
|
44
|
-
|
|
45
|
-
var AddformsFontIcon = function (_React$Component) {
|
|
46
|
-
_inherits(AddformsFontIcon, _React$Component);
|
|
47
|
-
|
|
48
|
-
function AddformsFontIcon() {
|
|
49
|
-
_classCallCheck(this, AddformsFontIcon);
|
|
50
|
-
|
|
51
|
-
return _possibleConstructorReturn(this, (AddformsFontIcon.__proto__ || _Object$getPrototypeOf(AddformsFontIcon)).apply(this, arguments));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
_createClass(AddformsFontIcon, [{
|
|
55
|
-
key: 'render',
|
|
56
|
-
value: function render() {
|
|
57
|
-
var _props = this.props,
|
|
58
|
-
name = _props.name,
|
|
59
|
-
size = _props.size,
|
|
60
|
-
color = _props.color,
|
|
61
|
-
hoverColor = _props.hoverColor,
|
|
62
|
-
onClick = _props.onClick,
|
|
63
|
-
isBold = _props.isBold,
|
|
64
|
-
iconClass = _props.iconClass,
|
|
65
|
-
title = _props.title,
|
|
66
|
-
dataId = _props.dataId;
|
|
67
|
-
|
|
68
|
-
var pathName = _typeof(FontFactory.AddformsFontIcon[name]) === 'object' ? FontFactory.AddformsFontIcon[name][0] : FontFactory.AddformsFontIcon[name];
|
|
69
|
-
return React.createElement(FontIcon, {
|
|
70
|
-
color: color,
|
|
71
|
-
hoverColor: hoverColor,
|
|
72
|
-
iconClass: iconClass,
|
|
73
|
-
iconContent: iconContent,
|
|
74
|
-
isBold: isBold,
|
|
75
|
-
name: FontFactory.AddformsFontIcon[name],
|
|
76
|
-
onClick: onClick,
|
|
77
|
-
pathName: iconContent[pathName],
|
|
78
|
-
size: size,
|
|
79
|
-
title: title,
|
|
80
|
-
dataId: dataId
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
}]);
|
|
84
|
-
|
|
85
|
-
return AddformsFontIcon;
|
|
86
|
-
}(React.Component);
|
|
87
|
-
|
|
88
|
-
export default AddformsFontIcon;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
AddformsFontIcon.defaultProps = {
|
|
92
|
-
isBold: false,
|
|
93
|
-
size: '10'
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
AddformsFontIcon.propTypes = {
|
|
97
|
-
color: PropTypes.string,
|
|
98
|
-
dataId: PropTypes.string,
|
|
99
|
-
hoverColor: PropTypes.string,
|
|
100
|
-
iconClass: PropTypes.string,
|
|
101
|
-
isBold: PropTypes.bool,
|
|
102
|
-
name: PropTypes.string.isRequired,
|
|
103
|
-
onClick: PropTypes.func,
|
|
104
|
-
size: PropTypes.string,
|
|
105
|
-
title: PropTypes.string
|
|
106
|
-
};
|
|
107
|
-
AddformsFontIcon.propTypesDescription = {
|
|
108
|
-
name: ' ',
|
|
109
|
-
isBold: ' ',
|
|
110
|
-
hoverColor: ' ',
|
|
111
|
-
size: ' ',
|
|
112
|
-
color: ' ',
|
|
113
|
-
iconClass: ' ',
|
|
114
|
-
onClick: ' ',
|
|
115
|
-
title: ' '
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
if (false) {
|
|
119
|
-
AddformsFontIcon.docs = {
|
|
120
|
-
componentGroup: 'FontIcon',
|
|
121
|
-
folderName: 'Style Guide'
|
|
122
|
-
};
|
|
123
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import _typeof from 'babel-runtime/helpers/typeof';
|
|
2
|
-
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
|
|
3
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
4
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
5
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
6
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
7
|
-
/* eslint css-modules/no-unused-class: [2, { markAsUsed: [
|
|
8
|
-
'icon-transition',
|
|
9
|
-
'icon-current-stats',
|
|
10
|
-
'icon-eye-blocked',
|
|
11
|
-
'icon-draganddrop-small',
|
|
12
|
-
'icon-duetime1',
|
|
13
|
-
'icon-exclamation-black',
|
|
14
|
-
'icon-news',
|
|
15
|
-
'icon-setup-fields1',
|
|
16
|
-
'path1',
|
|
17
|
-
'path2',
|
|
18
|
-
'path3']
|
|
19
|
-
}] */
|
|
20
|
-
|
|
21
|
-
import React from 'react';
|
|
22
|
-
import PropTypes from 'prop-types';
|
|
23
|
-
import iconContent from '../../assets/css/zd-font-automate.module.css';
|
|
24
|
-
import FontIcon from './FontIcon';
|
|
25
|
-
import { FontFactory } from './FontFactory';
|
|
26
|
-
|
|
27
|
-
var AutomateFontIcon = function (_React$Component) {
|
|
28
|
-
_inherits(AutomateFontIcon, _React$Component);
|
|
29
|
-
|
|
30
|
-
function AutomateFontIcon() {
|
|
31
|
-
_classCallCheck(this, AutomateFontIcon);
|
|
32
|
-
|
|
33
|
-
return _possibleConstructorReturn(this, (AutomateFontIcon.__proto__ || _Object$getPrototypeOf(AutomateFontIcon)).apply(this, arguments));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
_createClass(AutomateFontIcon, [{
|
|
37
|
-
key: 'render',
|
|
38
|
-
value: function render() {
|
|
39
|
-
var _props = this.props,
|
|
40
|
-
name = _props.name,
|
|
41
|
-
size = _props.size,
|
|
42
|
-
color = _props.color,
|
|
43
|
-
hoverColor = _props.hoverColor,
|
|
44
|
-
onClick = _props.onClick,
|
|
45
|
-
iconClass = _props.iconClass,
|
|
46
|
-
isBold = _props.isBold,
|
|
47
|
-
title = _props.title,
|
|
48
|
-
dataId = _props.dataId;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
var pathName = _typeof(FontFactory.AutomateFontIcon[name]) === 'object' ? FontFactory.AutomateFontIcon[name][0] : FontFactory.AutomateFontIcon[name];
|
|
52
|
-
return React.createElement(FontIcon, {
|
|
53
|
-
color: color,
|
|
54
|
-
hoverColor: hoverColor,
|
|
55
|
-
iconClass: iconClass,
|
|
56
|
-
iconContent: iconContent,
|
|
57
|
-
isBold: isBold,
|
|
58
|
-
name: FontFactory.AutomateFontIcon[name],
|
|
59
|
-
onClick: onClick,
|
|
60
|
-
pathName: iconContent[pathName],
|
|
61
|
-
size: size,
|
|
62
|
-
title: title,
|
|
63
|
-
dataId: dataId
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
}]);
|
|
67
|
-
|
|
68
|
-
return AutomateFontIcon;
|
|
69
|
-
}(React.Component);
|
|
70
|
-
|
|
71
|
-
export default AutomateFontIcon;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
AutomateFontIcon.defaultProps = {
|
|
75
|
-
isBold: false,
|
|
76
|
-
size: '10'
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
AutomateFontIcon.propTypes = {
|
|
80
|
-
color: PropTypes.string,
|
|
81
|
-
dataId: PropTypes.string,
|
|
82
|
-
hoverColor: PropTypes.string,
|
|
83
|
-
iconClass: PropTypes.string,
|
|
84
|
-
isBold: PropTypes.bool,
|
|
85
|
-
name: PropTypes.string.isRequired,
|
|
86
|
-
onClick: PropTypes.func,
|
|
87
|
-
size: PropTypes.string,
|
|
88
|
-
title: PropTypes.string
|
|
89
|
-
};
|
|
90
|
-
AutomateFontIcon.propTypesDescription = {
|
|
91
|
-
name: ' ',
|
|
92
|
-
isBold: ' ',
|
|
93
|
-
hoverColor: ' ',
|
|
94
|
-
size: ' ',
|
|
95
|
-
color: ' ',
|
|
96
|
-
iconClass: ' ',
|
|
97
|
-
onClick: ' ',
|
|
98
|
-
title: ' '
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
if (false) {
|
|
102
|
-
AutomateFontIcon.docs = {
|
|
103
|
-
componentGroup: 'FontIcon',
|
|
104
|
-
folderName: 'Style Guide'
|
|
105
|
-
};
|
|
106
|
-
}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import _typeof from 'babel-runtime/helpers/typeof';
|
|
2
|
-
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
|
|
3
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
4
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
5
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
6
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
7
|
-
/* eslint css-modules/no-unused-class: [2, { markAsUsed: [
|
|
8
|
-
'icon-denied',
|
|
9
|
-
'icon-no-widgets',
|
|
10
|
-
'icon-drag-up-down-01',
|
|
11
|
-
'icon-drag-left',
|
|
12
|
-
'icon-navicon',
|
|
13
|
-
'icon-edit1',
|
|
14
|
-
'icon-collapse1',
|
|
15
|
-
'icon-ASAP-setup',
|
|
16
|
-
'icon-androidd',
|
|
17
|
-
'icon-apple',
|
|
18
|
-
'icon-ASAP-empty',
|
|
19
|
-
'icon-ASAP_setup',
|
|
20
|
-
'icon-book3',
|
|
21
|
-
'icon-call-out2',
|
|
22
|
-
'icon-call-outbound',
|
|
23
|
-
'icon-close2',
|
|
24
|
-
'icon-css5',
|
|
25
|
-
'icon-download',
|
|
26
|
-
'icon-android',
|
|
27
|
-
'icon-draw12',
|
|
28
|
-
'icon-font-edit',
|
|
29
|
-
'icon-gear',
|
|
30
|
-
'icon-html9',
|
|
31
|
-
'icon-inapp-embed',
|
|
32
|
-
'icon-inapplist',
|
|
33
|
-
'icon-key',
|
|
34
|
-
'icon-lock-01',
|
|
35
|
-
'icon-modownarrow',
|
|
36
|
-
'icon-moicons-01',
|
|
37
|
-
'icon-moicons-02',
|
|
38
|
-
'icon-moicons-03',
|
|
39
|
-
'icon-moicons-mute',
|
|
40
|
-
'icon-momissed',
|
|
41
|
-
'icon-mopause',
|
|
42
|
-
'icon-mopause3',
|
|
43
|
-
'icon-pencil2',
|
|
44
|
-
'icon-sort',
|
|
45
|
-
'icon-tab-custom',
|
|
46
|
-
'icon-telephone98',
|
|
47
|
-
'icon-telephony-ONhold',
|
|
48
|
-
'icon-unlock-01',
|
|
49
|
-
'icon-upload',
|
|
50
|
-
'icon-webform',
|
|
51
|
-
'path1',
|
|
52
|
-
'path2',
|
|
53
|
-
'path3',
|
|
54
|
-
'path4',
|
|
55
|
-
'path5',
|
|
56
|
-
'path6',
|
|
57
|
-
'path7',
|
|
58
|
-
'path8',
|
|
59
|
-
'path9',
|
|
60
|
-
'path10',
|
|
61
|
-
'path11',
|
|
62
|
-
'path12',
|
|
63
|
-
'path13',
|
|
64
|
-
'path14',
|
|
65
|
-
'path15',
|
|
66
|
-
'path16',
|
|
67
|
-
'path17',
|
|
68
|
-
'path18',
|
|
69
|
-
'path19',
|
|
70
|
-
'path20',
|
|
71
|
-
'path21',
|
|
72
|
-
'path22',
|
|
73
|
-
'path23',
|
|
74
|
-
'path24',
|
|
75
|
-
'path25',
|
|
76
|
-
'path26',
|
|
77
|
-
'path27',
|
|
78
|
-
'path28',
|
|
79
|
-
'path29']
|
|
80
|
-
}] */
|
|
81
|
-
|
|
82
|
-
import React from 'react';
|
|
83
|
-
import PropTypes from 'prop-types';
|
|
84
|
-
import iconContent from '../../assets/css/zd-font-channels.module.css';
|
|
85
|
-
import FontIcon from './FontIcon';
|
|
86
|
-
import { FontFactory } from './FontFactory';
|
|
87
|
-
|
|
88
|
-
var ChannelsFontIcon = function (_React$PureComponent) {
|
|
89
|
-
_inherits(ChannelsFontIcon, _React$PureComponent);
|
|
90
|
-
|
|
91
|
-
function ChannelsFontIcon() {
|
|
92
|
-
_classCallCheck(this, ChannelsFontIcon);
|
|
93
|
-
|
|
94
|
-
return _possibleConstructorReturn(this, (ChannelsFontIcon.__proto__ || _Object$getPrototypeOf(ChannelsFontIcon)).apply(this, arguments));
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
_createClass(ChannelsFontIcon, [{
|
|
98
|
-
key: 'render',
|
|
99
|
-
value: function render() {
|
|
100
|
-
var _props = this.props,
|
|
101
|
-
name = _props.name,
|
|
102
|
-
size = _props.size,
|
|
103
|
-
color = _props.color,
|
|
104
|
-
hoverColor = _props.hoverColor,
|
|
105
|
-
onClick = _props.onClick,
|
|
106
|
-
iconClass = _props.iconClass,
|
|
107
|
-
isBold = _props.isBold,
|
|
108
|
-
title = _props.title,
|
|
109
|
-
dataId = _props.dataId;
|
|
110
|
-
|
|
111
|
-
var pathName = _typeof(FontFactory.ChannelsFontIcon[name]) === 'object' ? FontFactory.ChannelsFontIcon[name][0] : FontFactory.ChannelsFontIcon[name];
|
|
112
|
-
return React.createElement(FontIcon, {
|
|
113
|
-
color: color,
|
|
114
|
-
hoverColor: hoverColor,
|
|
115
|
-
iconClass: iconClass,
|
|
116
|
-
iconContent: iconContent,
|
|
117
|
-
isBold: isBold,
|
|
118
|
-
name: FontFactory.ChannelsFontIcon[name],
|
|
119
|
-
onClick: onClick,
|
|
120
|
-
pathName: iconContent[pathName],
|
|
121
|
-
size: size,
|
|
122
|
-
title: title,
|
|
123
|
-
dataId: dataId
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
}]);
|
|
127
|
-
|
|
128
|
-
return ChannelsFontIcon;
|
|
129
|
-
}(React.PureComponent);
|
|
130
|
-
|
|
131
|
-
export default ChannelsFontIcon;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
ChannelsFontIcon.defaultProps = {
|
|
135
|
-
isBold: false,
|
|
136
|
-
size: '10'
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
ChannelsFontIcon.propTypes = {
|
|
140
|
-
color: PropTypes.string,
|
|
141
|
-
dataId: PropTypes.string,
|
|
142
|
-
hoverColor: PropTypes.string,
|
|
143
|
-
iconClass: PropTypes.string,
|
|
144
|
-
isBold: PropTypes.bool,
|
|
145
|
-
name: PropTypes.string.isRequired,
|
|
146
|
-
onClick: PropTypes.func,
|
|
147
|
-
size: PropTypes.string,
|
|
148
|
-
title: PropTypes.string
|
|
149
|
-
};
|
|
150
|
-
ChannelsFontIcon.propTypesDescription = {
|
|
151
|
-
name: ' ',
|
|
152
|
-
isBold: ' ',
|
|
153
|
-
hoverColor: ' ',
|
|
154
|
-
size: ' ',
|
|
155
|
-
color: ' ',
|
|
156
|
-
iconClass: ' ',
|
|
157
|
-
onClick: ' ',
|
|
158
|
-
title: ' '
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
if (false) {
|
|
162
|
-
ChannelsFontIcon.docs = {
|
|
163
|
-
componentGroup: 'FontIcon',
|
|
164
|
-
folderName: 'Style Guide'
|
|
165
|
-
};
|
|
166
|
-
}
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import _typeof from 'babel-runtime/helpers/typeof';
|
|
2
|
-
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
|
|
3
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
4
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
5
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
6
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
7
|
-
/* eslint css-modules/no-unused-class: [2, { markAsUsed: [
|
|
8
|
-
'icon-statusChange',
|
|
9
|
-
'icon-alarm-clock',
|
|
10
|
-
'icon-salesforce',
|
|
11
|
-
'icon-arrows-1',
|
|
12
|
-
'icon-iphone',
|
|
13
|
-
'icon-unarchive',
|
|
14
|
-
'icon-archive',
|
|
15
|
-
'icon-marketplace',
|
|
16
|
-
'icon-blueprint',
|
|
17
|
-
'icon-bcarr',
|
|
18
|
-
'icon-checkmarks',
|
|
19
|
-
'icon-comments-new-2',
|
|
20
|
-
'icon-arrow-right3',
|
|
21
|
-
'icon-delete2',
|
|
22
|
-
'icon-desk_dislike-new',
|
|
23
|
-
'icon-desk_like-new',
|
|
24
|
-
'icon-sh2',
|
|
25
|
-
'icon-file-openoffice',
|
|
26
|
-
'icon-task-meeting',
|
|
27
|
-
'icon-deactive-user',
|
|
28
|
-
'icon-add-new',
|
|
29
|
-
'icon-arrowup-single',
|
|
30
|
-
'icon-file-pdf',
|
|
31
|
-
'icon-agent1',
|
|
32
|
-
'icon-ics',
|
|
33
|
-
'icon-ai',
|
|
34
|
-
'icon-Quicksetupgear',
|
|
35
|
-
'icon-calendar-icons',
|
|
36
|
-
'icon-books',
|
|
37
|
-
'icon-arrow-down-single',
|
|
38
|
-
'icon-ch-email',
|
|
39
|
-
'icon-task_overdue-new',
|
|
40
|
-
'icon-arrow-left',
|
|
41
|
-
'icon-completed_task1',
|
|
42
|
-
'icon-circlePlus',
|
|
43
|
-
'icon-circlePlus3',
|
|
44
|
-
'icon-arrow-left3',
|
|
45
|
-
'icon-clip',
|
|
46
|
-
'icon-dislike-new',
|
|
47
|
-
'icon-clip2',
|
|
48
|
-
'icon-clock33',
|
|
49
|
-
'icon-task-time-entry',
|
|
50
|
-
'icon-telephone',
|
|
51
|
-
'icon-TelephonyDashboard',
|
|
52
|
-
'icon-tick8',
|
|
53
|
-
'icon-ticknew',
|
|
54
|
-
'icon-Time-tracker',
|
|
55
|
-
'icon-timeline2',
|
|
56
|
-
'icon-TPCRM05-01',
|
|
57
|
-
'icon-twitter4',
|
|
58
|
-
'icon-txt',
|
|
59
|
-
'icon-update-success',
|
|
60
|
-
'icon-video',
|
|
61
|
-
'icon-xls',
|
|
62
|
-
'icon-xml',
|
|
63
|
-
'icon-comment-thick',
|
|
64
|
-
'icon-createdtime2',
|
|
65
|
-
'icon-dwg',
|
|
66
|
-
'icon-Checkbox-type',
|
|
67
|
-
'icon-closedtime1',
|
|
68
|
-
'icon-comments_1',
|
|
69
|
-
'icon-email-dft',
|
|
70
|
-
'icon-cloud',
|
|
71
|
-
'icon-exclamation-lightborder',
|
|
72
|
-
'icon-chrome',
|
|
73
|
-
'icon-css',
|
|
74
|
-
'icon-close1',
|
|
75
|
-
'icon-information',
|
|
76
|
-
'icon-exclamation-thincircle',
|
|
77
|
-
'icon-circle-cross',
|
|
78
|
-
'icon-css52',
|
|
79
|
-
'icon-information57',
|
|
80
|
-
'icon-exclamation',
|
|
81
|
-
'icon-circle-minus',
|
|
82
|
-
'icon-dislike',
|
|
83
|
-
'icon-doc',
|
|
84
|
-
'icon-exe',
|
|
85
|
-
'icon-circleminus3',
|
|
86
|
-
'icon-exe2',
|
|
87
|
-
'icon-task-call',
|
|
88
|
-
'icon-unknown',
|
|
89
|
-
'icon-file-excel',
|
|
90
|
-
'icon-file-music',
|
|
91
|
-
'icon-clock',
|
|
92
|
-
'icon-file-picture',
|
|
93
|
-
'icon-file-text2',
|
|
94
|
-
'icon-help-round',
|
|
95
|
-
'icon-file-video',
|
|
96
|
-
'icon-file-word',
|
|
97
|
-
'icon-file-zip',
|
|
98
|
-
'icon-firefox',
|
|
99
|
-
'icon-game06',
|
|
100
|
-
'icon-geometry',
|
|
101
|
-
'icon-globe2',
|
|
102
|
-
'icon-help',
|
|
103
|
-
'icon-html',
|
|
104
|
-
'icon-IE',
|
|
105
|
-
'icon-imageicn',
|
|
106
|
-
'icon-images',
|
|
107
|
-
'icon-inbox',
|
|
108
|
-
'icon-info',
|
|
109
|
-
'icon-info31',
|
|
110
|
-
'icon-Invoice',
|
|
111
|
-
'icon-mp3',
|
|
112
|
-
'icon-like',
|
|
113
|
-
'icon-mp4',
|
|
114
|
-
'icon-like2-new',
|
|
115
|
-
'icon-pdf',
|
|
116
|
-
'icon-like2',
|
|
117
|
-
'icon-menu57',
|
|
118
|
-
'icon-Myinfo',
|
|
119
|
-
'icon-overdue2',
|
|
120
|
-
'icon-pin-dark',
|
|
121
|
-
'icon-ppt',
|
|
122
|
-
'icon-ppt2',
|
|
123
|
-
'icon-psd',
|
|
124
|
-
'icon-questionfile',
|
|
125
|
-
'icon-re-invite',
|
|
126
|
-
'icon-reload',
|
|
127
|
-
'icon-spam',
|
|
128
|
-
'icon-task-none',
|
|
129
|
-
'icon-xml2',
|
|
130
|
-
'icon-zip3',
|
|
131
|
-
'icon-ch-phone',
|
|
132
|
-
'icon-On-hold',
|
|
133
|
-
'icon-css5',
|
|
134
|
-
'icon-twilio',
|
|
135
|
-
'path1',
|
|
136
|
-
'path2',
|
|
137
|
-
'path3',
|
|
138
|
-
'path4',
|
|
139
|
-
'path5',
|
|
140
|
-
'path6',
|
|
141
|
-
'path7',
|
|
142
|
-
'path8',
|
|
143
|
-
'path9'
|
|
144
|
-
]}] */
|
|
145
|
-
import React from 'react';
|
|
146
|
-
import PropTypes from 'prop-types';
|
|
147
|
-
import iconContent from '../../assets/css/zd-font-common.module.css';
|
|
148
|
-
import FontIcon from './FontIcon';
|
|
149
|
-
import { FontFactory } from './FontFactory';
|
|
150
|
-
|
|
151
|
-
var CommonFontIcon = function (_React$Component) {
|
|
152
|
-
_inherits(CommonFontIcon, _React$Component);
|
|
153
|
-
|
|
154
|
-
function CommonFontIcon() {
|
|
155
|
-
_classCallCheck(this, CommonFontIcon);
|
|
156
|
-
|
|
157
|
-
return _possibleConstructorReturn(this, (CommonFontIcon.__proto__ || _Object$getPrototypeOf(CommonFontIcon)).apply(this, arguments));
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
_createClass(CommonFontIcon, [{
|
|
161
|
-
key: 'render',
|
|
162
|
-
value: function render() {
|
|
163
|
-
var _props = this.props,
|
|
164
|
-
name = _props.name,
|
|
165
|
-
size = _props.size,
|
|
166
|
-
color = _props.color,
|
|
167
|
-
hoverColor = _props.hoverColor,
|
|
168
|
-
onClick = _props.onClick,
|
|
169
|
-
iconClass = _props.iconClass,
|
|
170
|
-
isBold = _props.isBold,
|
|
171
|
-
title = _props.title,
|
|
172
|
-
dataId = _props.dataId;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
var pathName = _typeof(FontFactory.CommonFontIcon[name]) === 'object' ? FontFactory.CommonFontIcon[name][0] : FontFactory.CommonFontIcon[name];
|
|
176
|
-
return React.createElement(FontIcon, {
|
|
177
|
-
color: color,
|
|
178
|
-
hoverColor: hoverColor,
|
|
179
|
-
iconClass: iconClass,
|
|
180
|
-
iconContent: iconContent,
|
|
181
|
-
isBold: isBold,
|
|
182
|
-
name: FontFactory.CommonFontIcon[name],
|
|
183
|
-
onClick: onClick,
|
|
184
|
-
pathName: iconContent[pathName],
|
|
185
|
-
size: size,
|
|
186
|
-
title: title,
|
|
187
|
-
dataId: dataId
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
}]);
|
|
191
|
-
|
|
192
|
-
return CommonFontIcon;
|
|
193
|
-
}(React.Component);
|
|
194
|
-
|
|
195
|
-
export default CommonFontIcon;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
CommonFontIcon.defaultProps = {
|
|
199
|
-
isBold: false,
|
|
200
|
-
size: '10'
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
CommonFontIcon.propTypes = {
|
|
204
|
-
color: PropTypes.string,
|
|
205
|
-
dataId: PropTypes.string,
|
|
206
|
-
hoverColor: PropTypes.string,
|
|
207
|
-
iconClass: PropTypes.string,
|
|
208
|
-
isBold: PropTypes.bool,
|
|
209
|
-
name: PropTypes.string.isRequired,
|
|
210
|
-
onClick: PropTypes.func,
|
|
211
|
-
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
212
|
-
title: PropTypes.string
|
|
213
|
-
};
|
|
214
|
-
CommonFontIcon.propTypesDescription = {
|
|
215
|
-
name: ' ',
|
|
216
|
-
isBold: ' ',
|
|
217
|
-
hoverColor: ' ',
|
|
218
|
-
size: ' ',
|
|
219
|
-
color: ' ',
|
|
220
|
-
iconClass: ' ',
|
|
221
|
-
onClick: ' ',
|
|
222
|
-
title: ' '
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
if (false) {
|
|
226
|
-
CommonFontIcon.docs = {
|
|
227
|
-
componentGroup: 'FontIcon',
|
|
228
|
-
folderName: 'Style Guide'
|
|
229
|
-
};
|
|
230
|
-
}
|