From e8a139ff9d3d453eba6d3ffcff61e2a4be65588f Mon Sep 17 00:00:00 2001 From: Gery Hirschfeld Date: Thu, 20 Oct 2022 11:43:20 +0200 Subject: [PATCH] fix: load used DS icons as default --- .build/optimize-icons.js | 2 +- packages/components/src/components.d.ts | 367 ++++++++++++++++++ .../src/components/bal-icon/bal-icon.tsx | 8 +- .../docs/bal-doc-app/bal-doc-app.tsx | 2 +- .../components/src/utils/config/config.ts | 25 +- .../components/src/utils/config/initialize.ts | 25 +- packages/icons/src/icons.ts | 141 ------- packages/icons/src/index.ts | 146 +++---- 8 files changed, 497 insertions(+), 219 deletions(-) delete mode 100644 packages/icons/src/icons.ts diff --git a/.build/optimize-icons.js b/.build/optimize-icons.js index b4f88e07b5..12e0de085d 100644 --- a/.build/optimize-icons.js +++ b/.build/optimize-icons.js @@ -80,7 +80,7 @@ const main = async () => { ] contents.forEach((value, key) => { - lines.push(`export const balIcon${upperFirst(camelCase(key))} = '${value}';`) + lines.push(`/*#__PURE__*/ export const balIcon${upperFirst(camelCase(key))} = '${value}';`) lines.push(``) }) diff --git a/packages/components/src/components.d.ts b/packages/components/src/components.d.ts index 5fbdda0fb8..3016fc4f01 100644 --- a/packages/components/src/components.d.ts +++ b/packages/components/src/components.d.ts @@ -529,9 +529,82 @@ export namespace Components { */ "value"?: string; } + interface BalDocApp { + } + interface BalDocBanner { + "status": string; + "subtitle": string; + } interface BalDocBannerStatus { "context": BannerStatusContext[]; } + interface BalDocColor { + "background": boolean; + "color": string; + "description": string; + "inverted": boolean; + "subject": string; + } + interface BalDocDownload { + "iconLeft": string; + "iconRight": string; + "link": string; + "subject": string; + "subtitle": string; + } + interface BalDocGithub { + "link": string; + } + interface BalDocIcons { + "icons": string; + } + interface BalDocImage { + "src": string; + "text": string; + } + interface BalDocLead { + } + interface BalDocLinkList { + "oneColumn": boolean; + } + interface BalDocLinkListItem { + "image": string; + "subject": string; + "template": '' | 'html5' | 'angular' | 'vue' | 'react'; + } + interface BalDocShades { + "color": string; + } + interface BalDocSupportColor { + "color": string; + } + interface BalDocTabs { + } + interface BalDocTokensBorder { + } + interface BalDocTokensBreakpoints { + } + interface BalDocTokensColors { + } + interface BalDocTokensFont { + } + interface BalDocTokensFontSizes { + } + interface BalDocTokensFontWeight { + } + interface BalDocTokensRadius { + } + interface BalDocTokensShadow { + } + interface BalDocTokensSpacing { + } + interface BalDocUsage { + } + interface BalDocUsageItem { + "image"?: boolean; + "subject"?: string; + "theme": 'do' | 'dont'; + } interface BalField { /** * If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants. @@ -2468,6 +2541,10 @@ export interface BalDatepickerCustomEvent extends CustomEvent { detail: T; target: HTMLBalDatepickerElement; } +export interface BalDocAppCustomEvent extends CustomEvent { + detail: T; + target: HTMLBalDocAppElement; +} export interface BalFileUploadCustomEvent extends CustomEvent { detail: T; target: HTMLBalFileUploadElement; @@ -2683,12 +2760,156 @@ declare global { prototype: HTMLBalDatepickerElement; new (): HTMLBalDatepickerElement; }; + interface HTMLBalDocAppElement extends Components.BalDocApp, HTMLStencilElement { + } + var HTMLBalDocAppElement: { + prototype: HTMLBalDocAppElement; + new (): HTMLBalDocAppElement; + }; + interface HTMLBalDocBannerElement extends Components.BalDocBanner, HTMLStencilElement { + } + var HTMLBalDocBannerElement: { + prototype: HTMLBalDocBannerElement; + new (): HTMLBalDocBannerElement; + }; interface HTMLBalDocBannerStatusElement extends Components.BalDocBannerStatus, HTMLStencilElement { } var HTMLBalDocBannerStatusElement: { prototype: HTMLBalDocBannerStatusElement; new (): HTMLBalDocBannerStatusElement; }; + interface HTMLBalDocColorElement extends Components.BalDocColor, HTMLStencilElement { + } + var HTMLBalDocColorElement: { + prototype: HTMLBalDocColorElement; + new (): HTMLBalDocColorElement; + }; + interface HTMLBalDocDownloadElement extends Components.BalDocDownload, HTMLStencilElement { + } + var HTMLBalDocDownloadElement: { + prototype: HTMLBalDocDownloadElement; + new (): HTMLBalDocDownloadElement; + }; + interface HTMLBalDocGithubElement extends Components.BalDocGithub, HTMLStencilElement { + } + var HTMLBalDocGithubElement: { + prototype: HTMLBalDocGithubElement; + new (): HTMLBalDocGithubElement; + }; + interface HTMLBalDocIconsElement extends Components.BalDocIcons, HTMLStencilElement { + } + var HTMLBalDocIconsElement: { + prototype: HTMLBalDocIconsElement; + new (): HTMLBalDocIconsElement; + }; + interface HTMLBalDocImageElement extends Components.BalDocImage, HTMLStencilElement { + } + var HTMLBalDocImageElement: { + prototype: HTMLBalDocImageElement; + new (): HTMLBalDocImageElement; + }; + interface HTMLBalDocLeadElement extends Components.BalDocLead, HTMLStencilElement { + } + var HTMLBalDocLeadElement: { + prototype: HTMLBalDocLeadElement; + new (): HTMLBalDocLeadElement; + }; + interface HTMLBalDocLinkListElement extends Components.BalDocLinkList, HTMLStencilElement { + } + var HTMLBalDocLinkListElement: { + prototype: HTMLBalDocLinkListElement; + new (): HTMLBalDocLinkListElement; + }; + interface HTMLBalDocLinkListItemElement extends Components.BalDocLinkListItem, HTMLStencilElement { + } + var HTMLBalDocLinkListItemElement: { + prototype: HTMLBalDocLinkListItemElement; + new (): HTMLBalDocLinkListItemElement; + }; + interface HTMLBalDocShadesElement extends Components.BalDocShades, HTMLStencilElement { + } + var HTMLBalDocShadesElement: { + prototype: HTMLBalDocShadesElement; + new (): HTMLBalDocShadesElement; + }; + interface HTMLBalDocSupportColorElement extends Components.BalDocSupportColor, HTMLStencilElement { + } + var HTMLBalDocSupportColorElement: { + prototype: HTMLBalDocSupportColorElement; + new (): HTMLBalDocSupportColorElement; + }; + interface HTMLBalDocTabsElement extends Components.BalDocTabs, HTMLStencilElement { + } + var HTMLBalDocTabsElement: { + prototype: HTMLBalDocTabsElement; + new (): HTMLBalDocTabsElement; + }; + interface HTMLBalDocTokensBorderElement extends Components.BalDocTokensBorder, HTMLStencilElement { + } + var HTMLBalDocTokensBorderElement: { + prototype: HTMLBalDocTokensBorderElement; + new (): HTMLBalDocTokensBorderElement; + }; + interface HTMLBalDocTokensBreakpointsElement extends Components.BalDocTokensBreakpoints, HTMLStencilElement { + } + var HTMLBalDocTokensBreakpointsElement: { + prototype: HTMLBalDocTokensBreakpointsElement; + new (): HTMLBalDocTokensBreakpointsElement; + }; + interface HTMLBalDocTokensColorsElement extends Components.BalDocTokensColors, HTMLStencilElement { + } + var HTMLBalDocTokensColorsElement: { + prototype: HTMLBalDocTokensColorsElement; + new (): HTMLBalDocTokensColorsElement; + }; + interface HTMLBalDocTokensFontElement extends Components.BalDocTokensFont, HTMLStencilElement { + } + var HTMLBalDocTokensFontElement: { + prototype: HTMLBalDocTokensFontElement; + new (): HTMLBalDocTokensFontElement; + }; + interface HTMLBalDocTokensFontSizesElement extends Components.BalDocTokensFontSizes, HTMLStencilElement { + } + var HTMLBalDocTokensFontSizesElement: { + prototype: HTMLBalDocTokensFontSizesElement; + new (): HTMLBalDocTokensFontSizesElement; + }; + interface HTMLBalDocTokensFontWeightElement extends Components.BalDocTokensFontWeight, HTMLStencilElement { + } + var HTMLBalDocTokensFontWeightElement: { + prototype: HTMLBalDocTokensFontWeightElement; + new (): HTMLBalDocTokensFontWeightElement; + }; + interface HTMLBalDocTokensRadiusElement extends Components.BalDocTokensRadius, HTMLStencilElement { + } + var HTMLBalDocTokensRadiusElement: { + prototype: HTMLBalDocTokensRadiusElement; + new (): HTMLBalDocTokensRadiusElement; + }; + interface HTMLBalDocTokensShadowElement extends Components.BalDocTokensShadow, HTMLStencilElement { + } + var HTMLBalDocTokensShadowElement: { + prototype: HTMLBalDocTokensShadowElement; + new (): HTMLBalDocTokensShadowElement; + }; + interface HTMLBalDocTokensSpacingElement extends Components.BalDocTokensSpacing, HTMLStencilElement { + } + var HTMLBalDocTokensSpacingElement: { + prototype: HTMLBalDocTokensSpacingElement; + new (): HTMLBalDocTokensSpacingElement; + }; + interface HTMLBalDocUsageElement extends Components.BalDocUsage, HTMLStencilElement { + } + var HTMLBalDocUsageElement: { + prototype: HTMLBalDocUsageElement; + new (): HTMLBalDocUsageElement; + }; + interface HTMLBalDocUsageItemElement extends Components.BalDocUsageItem, HTMLStencilElement { + } + var HTMLBalDocUsageItemElement: { + prototype: HTMLBalDocUsageItemElement; + new (): HTMLBalDocUsageItemElement; + }; interface HTMLBalFieldElement extends Components.BalField, HTMLStencilElement { } var HTMLBalFieldElement: { @@ -3225,7 +3446,31 @@ declare global { "bal-data-label": HTMLBalDataLabelElement; "bal-data-value": HTMLBalDataValueElement; "bal-datepicker": HTMLBalDatepickerElement; + "bal-doc-app": HTMLBalDocAppElement; + "bal-doc-banner": HTMLBalDocBannerElement; "bal-doc-banner-status": HTMLBalDocBannerStatusElement; + "bal-doc-color": HTMLBalDocColorElement; + "bal-doc-download": HTMLBalDocDownloadElement; + "bal-doc-github": HTMLBalDocGithubElement; + "bal-doc-icons": HTMLBalDocIconsElement; + "bal-doc-image": HTMLBalDocImageElement; + "bal-doc-lead": HTMLBalDocLeadElement; + "bal-doc-link-list": HTMLBalDocLinkListElement; + "bal-doc-link-list-item": HTMLBalDocLinkListItemElement; + "bal-doc-shades": HTMLBalDocShadesElement; + "bal-doc-support-color": HTMLBalDocSupportColorElement; + "bal-doc-tabs": HTMLBalDocTabsElement; + "bal-doc-tokens-border": HTMLBalDocTokensBorderElement; + "bal-doc-tokens-breakpoints": HTMLBalDocTokensBreakpointsElement; + "bal-doc-tokens-colors": HTMLBalDocTokensColorsElement; + "bal-doc-tokens-font": HTMLBalDocTokensFontElement; + "bal-doc-tokens-font-sizes": HTMLBalDocTokensFontSizesElement; + "bal-doc-tokens-font-weight": HTMLBalDocTokensFontWeightElement; + "bal-doc-tokens-radius": HTMLBalDocTokensRadiusElement; + "bal-doc-tokens-shadow": HTMLBalDocTokensShadowElement; + "bal-doc-tokens-spacing": HTMLBalDocTokensSpacingElement; + "bal-doc-usage": HTMLBalDocUsageElement; + "bal-doc-usage-item": HTMLBalDocUsageItemElement; "bal-field": HTMLBalFieldElement; "bal-field-control": HTMLBalFieldControlElement; "bal-field-hint": HTMLBalFieldHintElement; @@ -3854,9 +4099,83 @@ declare namespace LocalJSX { */ "value"?: string; } + interface BalDocApp { + "onBalAppLoad"?: (event: BalDocAppCustomEvent) => void; + } + interface BalDocBanner { + "status"?: string; + "subtitle"?: string; + } interface BalDocBannerStatus { "context"?: BannerStatusContext[]; } + interface BalDocColor { + "background"?: boolean; + "color"?: string; + "description"?: string; + "inverted"?: boolean; + "subject"?: string; + } + interface BalDocDownload { + "iconLeft"?: string; + "iconRight"?: string; + "link"?: string; + "subject"?: string; + "subtitle"?: string; + } + interface BalDocGithub { + "link"?: string; + } + interface BalDocIcons { + "icons"?: string; + } + interface BalDocImage { + "src"?: string; + "text"?: string; + } + interface BalDocLead { + } + interface BalDocLinkList { + "oneColumn"?: boolean; + } + interface BalDocLinkListItem { + "image"?: string; + "subject"?: string; + "template"?: '' | 'html5' | 'angular' | 'vue' | 'react'; + } + interface BalDocShades { + "color"?: string; + } + interface BalDocSupportColor { + "color"?: string; + } + interface BalDocTabs { + } + interface BalDocTokensBorder { + } + interface BalDocTokensBreakpoints { + } + interface BalDocTokensColors { + } + interface BalDocTokensFont { + } + interface BalDocTokensFontSizes { + } + interface BalDocTokensFontWeight { + } + interface BalDocTokensRadius { + } + interface BalDocTokensShadow { + } + interface BalDocTokensSpacing { + } + interface BalDocUsage { + } + interface BalDocUsageItem { + "image"?: boolean; + "subject"?: string; + "theme"?: 'do' | 'dont'; + } interface BalField { /** * If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants. @@ -5850,7 +6169,31 @@ declare namespace LocalJSX { "bal-data-label": BalDataLabel; "bal-data-value": BalDataValue; "bal-datepicker": BalDatepicker; + "bal-doc-app": BalDocApp; + "bal-doc-banner": BalDocBanner; "bal-doc-banner-status": BalDocBannerStatus; + "bal-doc-color": BalDocColor; + "bal-doc-download": BalDocDownload; + "bal-doc-github": BalDocGithub; + "bal-doc-icons": BalDocIcons; + "bal-doc-image": BalDocImage; + "bal-doc-lead": BalDocLead; + "bal-doc-link-list": BalDocLinkList; + "bal-doc-link-list-item": BalDocLinkListItem; + "bal-doc-shades": BalDocShades; + "bal-doc-support-color": BalDocSupportColor; + "bal-doc-tabs": BalDocTabs; + "bal-doc-tokens-border": BalDocTokensBorder; + "bal-doc-tokens-breakpoints": BalDocTokensBreakpoints; + "bal-doc-tokens-colors": BalDocTokensColors; + "bal-doc-tokens-font": BalDocTokensFont; + "bal-doc-tokens-font-sizes": BalDocTokensFontSizes; + "bal-doc-tokens-font-weight": BalDocTokensFontWeight; + "bal-doc-tokens-radius": BalDocTokensRadius; + "bal-doc-tokens-shadow": BalDocTokensShadow; + "bal-doc-tokens-spacing": BalDocTokensSpacing; + "bal-doc-usage": BalDocUsage; + "bal-doc-usage-item": BalDocUsageItem; "bal-field": BalField; "bal-field-control": BalFieldControl; "bal-field-hint": BalFieldHint; @@ -5962,7 +6305,31 @@ declare module "@stencil/core" { "bal-data-label": LocalJSX.BalDataLabel & JSXBase.HTMLAttributes; "bal-data-value": LocalJSX.BalDataValue & JSXBase.HTMLAttributes; "bal-datepicker": LocalJSX.BalDatepicker & JSXBase.HTMLAttributes; + "bal-doc-app": LocalJSX.BalDocApp & JSXBase.HTMLAttributes; + "bal-doc-banner": LocalJSX.BalDocBanner & JSXBase.HTMLAttributes; "bal-doc-banner-status": LocalJSX.BalDocBannerStatus & JSXBase.HTMLAttributes; + "bal-doc-color": LocalJSX.BalDocColor & JSXBase.HTMLAttributes; + "bal-doc-download": LocalJSX.BalDocDownload & JSXBase.HTMLAttributes; + "bal-doc-github": LocalJSX.BalDocGithub & JSXBase.HTMLAttributes; + "bal-doc-icons": LocalJSX.BalDocIcons & JSXBase.HTMLAttributes; + "bal-doc-image": LocalJSX.BalDocImage & JSXBase.HTMLAttributes; + "bal-doc-lead": LocalJSX.BalDocLead & JSXBase.HTMLAttributes; + "bal-doc-link-list": LocalJSX.BalDocLinkList & JSXBase.HTMLAttributes; + "bal-doc-link-list-item": LocalJSX.BalDocLinkListItem & JSXBase.HTMLAttributes; + "bal-doc-shades": LocalJSX.BalDocShades & JSXBase.HTMLAttributes; + "bal-doc-support-color": LocalJSX.BalDocSupportColor & JSXBase.HTMLAttributes; + "bal-doc-tabs": LocalJSX.BalDocTabs & JSXBase.HTMLAttributes; + "bal-doc-tokens-border": LocalJSX.BalDocTokensBorder & JSXBase.HTMLAttributes; + "bal-doc-tokens-breakpoints": LocalJSX.BalDocTokensBreakpoints & JSXBase.HTMLAttributes; + "bal-doc-tokens-colors": LocalJSX.BalDocTokensColors & JSXBase.HTMLAttributes; + "bal-doc-tokens-font": LocalJSX.BalDocTokensFont & JSXBase.HTMLAttributes; + "bal-doc-tokens-font-sizes": LocalJSX.BalDocTokensFontSizes & JSXBase.HTMLAttributes; + "bal-doc-tokens-font-weight": LocalJSX.BalDocTokensFontWeight & JSXBase.HTMLAttributes; + "bal-doc-tokens-radius": LocalJSX.BalDocTokensRadius & JSXBase.HTMLAttributes; + "bal-doc-tokens-shadow": LocalJSX.BalDocTokensShadow & JSXBase.HTMLAttributes; + "bal-doc-tokens-spacing": LocalJSX.BalDocTokensSpacing & JSXBase.HTMLAttributes; + "bal-doc-usage": LocalJSX.BalDocUsage & JSXBase.HTMLAttributes; + "bal-doc-usage-item": LocalJSX.BalDocUsageItem & JSXBase.HTMLAttributes; "bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes; "bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes; "bal-field-hint": LocalJSX.BalFieldHint & JSXBase.HTMLAttributes; diff --git a/packages/components/src/components/bal-icon/bal-icon.tsx b/packages/components/src/components/bal-icon/bal-icon.tsx index 230fe14358..d2b4dcde62 100644 --- a/packages/components/src/components/bal-icon/bal-icon.tsx +++ b/packages/components/src/components/bal-icon/bal-icon.tsx @@ -3,7 +3,13 @@ import upperFirst from 'lodash.upperfirst' import camelCase from 'lodash.camelcase' import { BalConfigObserver, Props } from '../../types' import { BEM } from '../../utils/bem' -import { attachComponentToConfig, BalConfigState, BalIcons, defaultConfig, detachComponentToConfig } from '../../config' +import { + attachComponentToConfig, + BalConfigState, + BalIcons, + defaultConfig, + detachComponentToConfig, +} from '../../utils/config' @Component({ tag: 'bal-icon', diff --git a/packages/components/src/components/docs/bal-doc-app/bal-doc-app.tsx b/packages/components/src/components/docs/bal-doc-app/bal-doc-app.tsx index 3f1bf65627..e56dd92de6 100644 --- a/packages/components/src/components/docs/bal-doc-app/bal-doc-app.tsx +++ b/packages/components/src/components/docs/bal-doc-app/bal-doc-app.tsx @@ -7,7 +7,7 @@ import { BalConfigState, detachComponentToConfig, updateBalIcons, -} from '../../../config' +} from '../../../utils/config' import { isBrowser } from '../../../utils/browser' @Component({ diff --git a/packages/components/src/utils/config/config.ts b/packages/components/src/utils/config/config.ts index 2350828b6d..221ad32e92 100644 --- a/packages/components/src/utils/config/config.ts +++ b/packages/components/src/utils/config/config.ts @@ -1,6 +1,18 @@ import { BALOISE_SESSION_KEY } from './config.const' import { BalConfig, BalConfigState, BalIcons, BalLanguage, BalRegion } from './config.types' import { BalConfigObserver } from './observable/observer' +import { + balIconClose, + balIconInfoCircle, + balIconPlus, + balIconNavGoLeft, + balIconNavGoRight, + balIconCaretLeft, + balIconCaretDown, + balIconCheck, + balIconDate, + balIconDocument, +} from '@baloise/design-system-icons/src' export class Config { private _componentObservers: BalConfigObserver[] = [] @@ -9,7 +21,18 @@ export class Config { region: 'CH', language: 'de', allowedLanguages: ['de', 'fr', 'it', 'en'], - icons: {}, + icons: { + balIconClose, + balIconInfoCircle, + balIconPlus, + balIconNavGoLeft, + balIconNavGoRight, + balIconCaretLeft, + balIconCaretDown, + balIconCheck, + balIconDate, + balIconDocument, + }, fallbackLanguage: 'de', } diff --git a/packages/components/src/utils/config/initialize.ts b/packages/components/src/utils/config/initialize.ts index c37ccf76c0..d6d92300a2 100644 --- a/packages/components/src/utils/config/initialize.ts +++ b/packages/components/src/utils/config/initialize.ts @@ -1,11 +1,34 @@ import { config, configFromSession } from './config' import { BalConfig, BalConfigState } from './config.types' +import { + balIconClose, + balIconInfoCircle, + balIconPlus, + balIconNavGoLeft, + balIconNavGoRight, + balIconCaretLeft, + balIconCaretDown, + balIconCheck, + balIconDate, + balIconDocument, +} from '@baloise/design-system-icons/src' export const defaultConfig: BalConfigState = { region: 'CH', language: 'de', allowedLanguages: ['de', 'fr', 'it', 'en'], - icons: {}, + icons: { + balIconClose, + balIconInfoCircle, + balIconPlus, + balIconNavGoLeft, + balIconNavGoRight, + balIconCaretLeft, + balIconCaretDown, + balIconCheck, + balIconDate, + balIconDocument, + }, fallbackLanguage: 'de', } diff --git a/packages/icons/src/icons.ts b/packages/icons/src/icons.ts deleted file mode 100644 index 6bbdafd05a..0000000000 --- a/packages/icons/src/icons.ts +++ /dev/null @@ -1,141 +0,0 @@ -// generated file by .build/optimize.js - -export const balIconAccount = ''; - -export const balIconAlertTriangle = ''; - -export const balIconAnswer = ''; - -export const balIconAudio = ''; - -export const balIconBack = ''; - -export const balIconCall = ''; - -export const balIconCaretDown = ''; - -export const balIconCaretLeft = ''; - -export const balIconCaretRight = ''; - -export const balIconCaretUp = ''; - -export const balIconCheckCircle = ''; - -export const balIconCheck = ''; - -export const balIconClock = ''; - -export const balIconClose = ''; - -export const balIconCode = ''; - -export const balIconConsultant = ''; - -export const balIconContact = ''; - -export const balIconCopy = ''; - -export const balIconDate = ''; - -export const balIconDelete = ''; - -export const balIconDesign = ''; - -export const balIconDocument = ''; - -export const balIconDownload = ''; - -export const balIconDuplicate = ''; - -export const balIconEdit = ''; - -export const balIconEyeClosed = ''; - -export const balIconFacebook = ''; - -export const balIconFile = ''; - -export const balIconGithub = ''; - -export const balIconInfoCircle = ''; - -export const balIconInstagram = ''; - -export const balIconLink = ''; - -export const balIconLinkedin = ''; - -export const balIconLocate = ''; - -export const balIconLocation = ''; - -export const balIconLogout = ''; - -export const balIconMenuBars = ''; - -export const balIconMenuDots = ''; - -export const balIconMessage = ''; - -export const balIconMinus = ''; - -export const balIconMobile = ''; - -export const balIconNavBack = ''; - -export const balIconNavGoDown = ''; - -export const balIconNavGoLeft = ''; - -export const balIconNavGoRight = ''; - -export const balIconNavGoUp = ''; - -export const balIconPdf = ''; - -export const balIconPicture = ''; - -export const balIconPinterest = ''; - -export const balIconPlus = ''; - -export const balIconPrint = ''; - -export const balIconReadOnly = ''; - -export const balIconRefresh = ''; - -export const balIconReply = ''; - -export const balIconSearch = ''; - -export const balIconSend = ''; - -export const balIconSettings = ''; - -export const balIconShareLink = ''; - -export const balIconShare = ''; - -export const balIconStarFull = ''; - -export const balIconStarHalf = ''; - -export const balIconStarShape = ''; - -export const balIconTrash = ''; - -export const balIconTwitter = ''; - -export const balIconUpload = ''; - -export const balIconUserCheck = ''; - -export const balIconVideo = ''; - -export const balIconWeb = ''; - -export const balIconXing = ''; - -export const balIconYoutube = ''; diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts index 9483e06518..a1a756a286 100644 --- a/packages/icons/src/index.ts +++ b/packages/icons/src/index.ts @@ -1,148 +1,148 @@ /* eslint-disable prettier/prettier */ // generated file by .build/optimize-icons.js -export const balIconAccount = ''; +/*#__PURE__*/ export const balIconAccount = ''; -export const balIconAlertTriangle = ''; +/*#__PURE__*/ export const balIconAlertTriangle = ''; -export const balIconAnswer = ''; +/*#__PURE__*/ export const balIconAnswer = ''; -export const balIconArrowsRoundLeft = ''; +/*#__PURE__*/ export const balIconArrowsRoundLeft = ''; -export const balIconAudio = ''; +/*#__PURE__*/ export const balIconAudio = ''; -export const balIconBack = ''; +/*#__PURE__*/ export const balIconBack = ''; -export const balIconCall = ''; +/*#__PURE__*/ export const balIconCall = ''; -export const balIconCaretDown = ''; +/*#__PURE__*/ export const balIconCaretDown = ''; -export const balIconCaretLeft = ''; +/*#__PURE__*/ export const balIconCaretLeft = ''; -export const balIconCaretRight = ''; +/*#__PURE__*/ export const balIconCaretRight = ''; -export const balIconCaretUp = ''; +/*#__PURE__*/ export const balIconCaretUp = ''; -export const balIconCheckCircle = ''; +/*#__PURE__*/ export const balIconCheckCircle = ''; -export const balIconCheck = ''; +/*#__PURE__*/ export const balIconCheck = ''; -export const balIconClock = ''; +/*#__PURE__*/ export const balIconClock = ''; -export const balIconClose = ''; +/*#__PURE__*/ export const balIconClose = ''; -export const balIconCode = ''; +/*#__PURE__*/ export const balIconCode = ''; -export const balIconConsultant = ''; +/*#__PURE__*/ export const balIconConsultant = ''; -export const balIconContact = ''; +/*#__PURE__*/ export const balIconContact = ''; -export const balIconCopy = ''; +/*#__PURE__*/ export const balIconCopy = ''; -export const balIconDate = ''; +/*#__PURE__*/ export const balIconDate = ''; -export const balIconDelete = ''; +/*#__PURE__*/ export const balIconDelete = ''; -export const balIconDesign = ''; +/*#__PURE__*/ export const balIconDesign = ''; -export const balIconDocument = ''; +/*#__PURE__*/ export const balIconDocument = ''; -export const balIconDownload = ''; +/*#__PURE__*/ export const balIconDownload = ''; -export const balIconDuplicate = ''; +/*#__PURE__*/ export const balIconDuplicate = ''; -export const balIconEdit = ''; +/*#__PURE__*/ export const balIconEdit = ''; -export const balIconEyeClosed = ''; +/*#__PURE__*/ export const balIconEyeClosed = ''; -export const balIconFacebook = ''; +/*#__PURE__*/ export const balIconFacebook = ''; -export const balIconFile = ''; +/*#__PURE__*/ export const balIconFile = ''; -export const balIconGithub = ''; +/*#__PURE__*/ export const balIconGithub = ''; -export const balIconHelpCustomerSupport = ''; +/*#__PURE__*/ export const balIconHelpCustomerSupport = ''; -export const balIconInfoCircle = ''; +/*#__PURE__*/ export const balIconInfoCircle = ''; -export const balIconInstagram = ''; +/*#__PURE__*/ export const balIconInstagram = ''; -export const balIconLink = ''; +/*#__PURE__*/ export const balIconLink = ''; -export const balIconLinkedin = ''; +/*#__PURE__*/ export const balIconLinkedin = ''; -export const balIconLocate = ''; +/*#__PURE__*/ export const balIconLocate = ''; -export const balIconLocation = ''; +/*#__PURE__*/ export const balIconLocation = ''; -export const balIconLogout = ''; +/*#__PURE__*/ export const balIconLogout = ''; -export const balIconMenuBars = ''; +/*#__PURE__*/ export const balIconMenuBars = ''; -export const balIconMenuDots = ''; +/*#__PURE__*/ export const balIconMenuDots = ''; -export const balIconMessage = ''; +/*#__PURE__*/ export const balIconMessage = ''; -export const balIconMinus = ''; +/*#__PURE__*/ export const balIconMinus = ''; -export const balIconMobile = ''; +/*#__PURE__*/ export const balIconMobile = ''; -export const balIconNavBack = ''; +/*#__PURE__*/ export const balIconNavBack = ''; -export const balIconNavGoDown = ''; +/*#__PURE__*/ export const balIconNavGoDown = ''; -export const balIconNavGoLeft = ''; +/*#__PURE__*/ export const balIconNavGoLeft = ''; -export const balIconNavGoRight = ''; +/*#__PURE__*/ export const balIconNavGoRight = ''; -export const balIconNavGoUp = ''; +/*#__PURE__*/ export const balIconNavGoUp = ''; -export const balIconPdf = ''; +/*#__PURE__*/ export const balIconPdf = ''; -export const balIconPicture = ''; +/*#__PURE__*/ export const balIconPicture = ''; -export const balIconPinterest = ''; +/*#__PURE__*/ export const balIconPinterest = ''; -export const balIconPlus = ''; +/*#__PURE__*/ export const balIconPlus = ''; -export const balIconPrint = ''; +/*#__PURE__*/ export const balIconPrint = ''; -export const balIconReadOnly = ''; +/*#__PURE__*/ export const balIconReadOnly = ''; -export const balIconRefresh = ''; +/*#__PURE__*/ export const balIconRefresh = ''; -export const balIconReply = ''; +/*#__PURE__*/ export const balIconReply = ''; -export const balIconSearch = ''; +/*#__PURE__*/ export const balIconSearch = ''; -export const balIconSend = ''; +/*#__PURE__*/ export const balIconSend = ''; -export const balIconSettings = ''; +/*#__PURE__*/ export const balIconSettings = ''; -export const balIconShareLink = ''; +/*#__PURE__*/ export const balIconShareLink = ''; -export const balIconShare = ''; +/*#__PURE__*/ export const balIconShare = ''; -export const balIconStarFull = ''; +/*#__PURE__*/ export const balIconStarFull = ''; -export const balIconStarHalf = ''; +/*#__PURE__*/ export const balIconStarHalf = ''; -export const balIconStarShape = ''; +/*#__PURE__*/ export const balIconStarShape = ''; -export const balIconTiktok = ''; +/*#__PURE__*/ export const balIconTiktok = ''; -export const balIconTrash = ''; +/*#__PURE__*/ export const balIconTrash = ''; -export const balIconTwitter = ''; +/*#__PURE__*/ export const balIconTwitter = ''; -export const balIconUpload = ''; +/*#__PURE__*/ export const balIconUpload = ''; -export const balIconUserCheck = ''; +/*#__PURE__*/ export const balIconUserCheck = ''; -export const balIconVideo = ''; +/*#__PURE__*/ export const balIconVideo = ''; -export const balIconWeb = ''; +/*#__PURE__*/ export const balIconWeb = ''; -export const balIconXing = ''; +/*#__PURE__*/ export const balIconXing = ''; -export const balIconYoutube = ''; +/*#__PURE__*/ export const balIconYoutube = '';