@semcore/icon 16.7.1 → 16.7.2-prerelease.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/color/Confluence/l/index.js +4 -4
  3. package/color/Confluence/l/index.mjs +4 -4
  4. package/color/Confluence/m/index.js +4 -4
  5. package/color/Confluence/m/index.mjs +4 -4
  6. package/color/GoogleGenerativeAIColored/l/index.js +2 -2
  7. package/color/GoogleGenerativeAIColored/l/index.mjs +2 -2
  8. package/color/GoogleGenerativeAIColored/m/index.js +2 -2
  9. package/color/GoogleGenerativeAIColored/m/index.mjs +2 -2
  10. package/color/MetaColored/l/index.js +4 -4
  11. package/color/MetaColored/l/index.mjs +4 -4
  12. package/color/MetaColored/m/index.js +4 -4
  13. package/color/MetaColored/m/index.mjs +4 -4
  14. package/color/MicrosoftOffice/l/index.js +10 -10
  15. package/color/MicrosoftOffice/l/index.mjs +10 -10
  16. package/color/MicrosoftOffice/m/index.js +10 -10
  17. package/color/MicrosoftOffice/m/index.mjs +10 -10
  18. package/lib/cjs/Icon.js +6 -6
  19. package/lib/cjs/Icon.js.map +1 -1
  20. package/lib/cjs/index.d.js.map +1 -1
  21. package/lib/es6/Icon.js +5 -5
  22. package/lib/es6/Icon.js.map +1 -1
  23. package/lib/es6/index.d.js.map +1 -1
  24. package/lib/esm/Icon.mjs +6 -6
  25. package/lib/types/index.d.ts +1 -1
  26. package/package.json +118 -118
  27. package/pay/Discover/l/index.js +1 -1
  28. package/pay/Discover/l/index.mjs +1 -1
  29. package/pay/Discover/m/index.js +1 -1
  30. package/pay/Discover/m/index.mjs +1 -1
  31. package/pay/JCB/l/index.js +10 -10
  32. package/pay/JCB/l/index.mjs +10 -10
  33. package/pay/JCB/m/index.js +10 -10
  34. package/pay/JCB/m/index.mjs +10 -10
  35. package/pay/Visa/l/index.js +2 -2
  36. package/pay/Visa/l/index.mjs +2 -2
  37. package/pay/Visa/m/index.js +2 -2
  38. package/pay/Visa/m/index.mjs +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","names":["_core","require","_keyboardFocusEnhance2","_interopRequireDefault","_hasLabels","_logger","_propsForElement","_ref","_useColorResolver","_flexBox","_classnames","_react","_excluded","styles","sstyled","insert","Icon","props","ref","_useBox","useBox","_objectSpread2","interactive","_useBox2","_slicedToArray2","SIcon","other","colorProps","color","resolveColor","useColorResolver","_keyboardFocusEnhance","keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties2","sstyles","_sstyles$cn","cn","className","style","onKeyDown","event","onClick","key","preventDefault","labelCheckRef","React","useRef","useEffect","process","env","NODE_ENV","logger","warn","current","hasLabels","displayName","forkedRef","useForkRef","createElement","_extends2","role","undefined","propsForElement","Object","assign","_default","exports","createBaseComponent"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import { createBaseComponent, sstyled } from '@semcore/core';\nimport keyboardFocusEnhance from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\nimport hasLabels from '@semcore/core/lib/utils/hasLabels';\nimport logger from '@semcore/core/lib/utils/logger';\nimport propsForElement from '@semcore/core/lib/utils/propsForElement';\nimport { useForkRef } from '@semcore/core/lib/utils/ref';\nimport { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';\nimport { useBox } from '@semcore/flex-box';\nimport cn from 'classnames';\nimport React from 'react';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n 'tag': 'svg',\n 'data-ui-name': 'Icon',\n 'width': 16,\n 'height': 16,\n 'viewBox': '0 0 16 16',\n 'focusable': props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const resolveColor = useColorResolver();\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'use:color': color,\n 'interactive': interactive,\n 'keyboardFocused': keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && propsEnhance.onClick && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n propsEnhance.onClick(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,gBAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AACA,IAAAO,iBAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,MAAA,GAAAR,sBAAA,CAAAF,OAAA;AAA0B,IAAAW,SAAA;AAAA;AAAA,IAAAC,MAAA,8BAAAb,KAAA,CAAAc,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;AAAA;AA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AAC,IAAAU,QAAA,GAAAC,OAAA,cAEX,IAAAC,yBAAmB,EAACtD,IAAI,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"Icon.js","names":["_core","require","_baseComponents","_keyboardFocusEnhance2","_interopRequireDefault","_hasLabels","_logger","_propsForElement","_ref","_useColorResolver","_classnames","_react","_excluded","styles","sstyled","insert","Icon","props","ref","_useBox","useBox","_objectSpread2","interactive","_useBox2","_slicedToArray2","SIcon","other","colorProps","color","resolveColor","useColorResolver","_keyboardFocusEnhance","keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties2","sstyles","_sstyles$cn","cn","className","style","onKeyDown","event","onClick","key","preventDefault","labelCheckRef","React","useRef","useEffect","process","env","NODE_ENV","logger","warn","current","hasLabels","displayName","forkedRef","useForkRef","createElement","_extends2","role","undefined","propsForElement","Object","assign","_default","exports","createBaseComponent"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import { useBox } from '@semcore/base-components';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport keyboardFocusEnhance from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\nimport hasLabels from '@semcore/core/lib/utils/hasLabels';\nimport logger from '@semcore/core/lib/utils/logger';\nimport propsForElement from '@semcore/core/lib/utils/propsForElement';\nimport { useForkRef } from '@semcore/core/lib/utils/ref';\nimport { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';\nimport cn from 'classnames';\nimport React from 'react';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n 'tag': 'svg',\n 'data-ui-name': 'Icon',\n 'width': 16,\n 'height': 16,\n 'viewBox': '0 0 16 16',\n 'focusable': props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const resolveColor = useColorResolver();\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'use:color': color,\n 'interactive': interactive,\n 'keyboardFocused': keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && propsEnhance.onClick && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n propsEnhance.onClick(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,eAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,UAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,OAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,gBAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAN,sBAAA,CAAAH,OAAA;AACA,IAAAU,MAAA,GAAAP,sBAAA,CAAAH,OAAA;AAA0B,IAAAW,SAAA;AAAA;AAAA,IAAAC,MAAA,8BAAAb,KAAA,CAAAc,OAAA,CAAAC,MAAA;AAAA;AAAA;EAA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C0C,WAAW,GAAG,MAAM;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEX,IAAAC,yBAAmB,EAACtD,IAAI,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/flex-box';\nimport { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface IIconProps extends IconProps, UnknownProperties {}\nexport type IconProps = BoxProps &\n KeyboardFocusProps & {\n /** Icon width */\n width?: string | number;\n /** Icon height */\n height?: string | number;\n /** SVG viewBox attribute */\n viewBox?: string;\n /** Make an icon interactive */\n interactive?: boolean;\n /** Icon color */\n color?: string;\n };\n\ndeclare const Icon: Intergalactic.Component<'svg', IconProps>;\n\nexport default Icon;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/base-components';\nimport { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface IIconProps extends IconProps, UnknownProperties {}\nexport type IconProps = BoxProps &\n KeyboardFocusProps & {\n /** Icon width */\n width?: string | number;\n /** Icon height */\n height?: string | number;\n /** SVG viewBox attribute */\n viewBox?: string;\n /** Make an icon interactive */\n interactive?: boolean;\n /** Icon color */\n color?: string;\n };\n\ndeclare const Icon: Intergalactic.Component<'svg', IconProps>;\n\nexport default Icon;\n"],"mappings":"","ignoreList":[]}
package/lib/es6/Icon.js CHANGED
@@ -4,6 +4,7 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
4
4
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
5
5
  import { sstyled as _sstyled } from "@semcore/core";
6
6
  var _excluded = ["keyboardFocused"];
7
+ import { useBox } from '@semcore/base-components';
7
8
  import { createBaseComponent, sstyled } from '@semcore/core';
8
9
  import keyboardFocusEnhance from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';
9
10
  import hasLabels from '@semcore/core/lib/utils/hasLabels';
@@ -11,16 +12,15 @@ import logger from '@semcore/core/lib/utils/logger';
11
12
  import propsForElement from '@semcore/core/lib/utils/propsForElement';
12
13
  import { useForkRef } from '@semcore/core/lib/utils/ref';
13
14
  import { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';
14
- import { useBox } from '@semcore/flex-box';
15
15
  import cn from 'classnames';
16
16
  import React from 'react';
17
17
  /*!__reshadow-styles__:"./style/icon.shadow.css"*/
18
- var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SIcon_yxgog_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_yxgog)}.___SIcon_yxgog_gg_.__interactive_yxgog_gg_{cursor:pointer}@media (hover:hover){.___SIcon_yxgog_gg_.__interactive_yxgog_gg_:hover{filter:brightness(.8)}}", /*__inner_css_end__*/"yxgog_gg_"),
18
+ var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SIcon_14s6y_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_14s6y)}.___SIcon_14s6y_gg_.__interactive_14s6y_gg_{cursor:pointer}@media (hover:hover){.___SIcon_14s6y_gg_.__interactive_14s6y_gg_:hover{filter:brightness(.8)}}", /*__inner_css_end__*/"14s6y_gg_"),
19
19
  /*__reshadow_css_end__*/
20
20
  {
21
- "__SIcon": "___SIcon_yxgog_gg_",
22
- "--color": "--color_yxgog",
23
- "_interactive": "__interactive_yxgog_gg_"
21
+ "__SIcon": "___SIcon_14s6y_gg_",
22
+ "--color": "--color_14s6y",
23
+ "_interactive": "__interactive_14s6y_gg_"
24
24
  });
25
25
  function Icon(props, ref) {
26
26
  var _useBox = useBox(_objectSpread({
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","names":["createBaseComponent","sstyled","keyboardFocusEnhance","hasLabels","logger","propsForElement","useForkRef","useColorResolver","useBox","cn","React","styles","_sstyled","insert","Icon","props","ref","_useBox","_objectSpread","interactive","_useBox2","_slicedToArray","SIcon","other","colorProps","color","resolveColor","_keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties","_excluded","sstyles","_sstyles$cn","className","style","onKeyDown","event","onClick","key","preventDefault","labelCheckRef","useRef","useEffect","process","env","NODE_ENV","warn","current","displayName","forkedRef","createElement","_extends","role","undefined","Object","assign"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import { createBaseComponent, sstyled } from '@semcore/core';\nimport keyboardFocusEnhance from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\nimport hasLabels from '@semcore/core/lib/utils/hasLabels';\nimport logger from '@semcore/core/lib/utils/logger';\nimport propsForElement from '@semcore/core/lib/utils/propsForElement';\nimport { useForkRef } from '@semcore/core/lib/utils/ref';\nimport { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';\nimport { useBox } from '@semcore/flex-box';\nimport cn from 'classnames';\nimport React from 'react';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n 'tag': 'svg',\n 'data-ui-name': 'Icon',\n 'width': 16,\n 'height': 16,\n 'viewBox': '0 0 16 16',\n 'focusable': props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const resolveColor = useColorResolver();\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'use:color': color,\n 'interactive': interactive,\n 'keyboardFocused': keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && propsEnhance.onClick && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n propsEnhance.onClick(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;AAAA,SAASA,mBAAmB,EAAEC,OAAO,QAAQ,eAAe;AAC5D,OAAOC,oBAAoB,MAAM,uDAAuD;AACxF,OAAOC,SAAS,MAAM,mCAAmC;AACzD,OAAOC,MAAM,MAAM,gCAAgC;AACnD,OAAOC,eAAe,MAAM,yCAAyC;AACrE,SAASC,UAAU,QAAQ,6BAA6B;AACxD,SAASC,gBAAgB,QAAQ,8CAA8C;AAC/E,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,OAAOC,EAAE,MAAM,YAAY;AAC3B,OAAOC,KAAK,MAAM,OAAO;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;AAAA;AAI1B,SAASC,IAAIA,CAACC,KAAK,EAAEC,GAAG,EAAE;EACxB,IAAAC,OAAA,GAAuBT,MAAM,CAAAU,aAAA;MAEzB,KAAK,EAAE,KAAK;MACZ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CAACG,cAAc,CAAC,CAAC;MACtBX,YAAY,CAACS,OAAO,CAACD,KAAK,CAAC;IAC7B;EACF;EAEA,IAAMI,aAAa,GAAGhC,KAAK,CAACiC,MAAM,CAAC,CAAC;EACpCjC,KAAK,CAACkC,SAAS,CAAC,YAAM;IACpB,IAAI,CAACzB,WAAW,EAAE;IAClB,IAAI0B,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;MACzC3C,MAAM,CAAC4C,IAAI,CACTN,aAAa,CAACO,OAAO,IAAI,CAAC9C,SAAS,CAACuC,aAAa,CAACO,OAAO,CAAC,gFAE1DlC,KAAK,CAAC,cAAc,CAAC,IAAID,IAAI,CAACoC,WAChC,CAAC;IACH;EACF,CAAC,EAAE,CAAC/B,WAAW,CAAC,CAAC;EACjB,IAAMgC,SAAS,GAAG7C,UAAU,CAACU,GAAG,EAAE0B,aAAa,CAAC;EAEhD,oBACEhC,KAAA,CAAA0C,aAAA,CAAC9B,KAAK,EAAA+B,QAAA;IACJC,IAAI,EAAEnC,WAAW,GAAG,QAAQ,GAAGoC,SAAU;IACzC,eAAapC,WAAW,GAAGoC,SAAS,GAAG;EAAO,GAC1ClD,eAAe,CAACyB,YAAY,CAAC;IACjCM,KAAK,EAAEoB,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAErB,KAAK,EAAEN,YAAY,CAACM,KAAK,CAAE;IACpDD,SAAS,EAAE1B,EAAE,CAAC0B,SAAS,EAAEL,YAAY,CAACK,SAAS,CAAC,IAAIoB,SAAU;IAC9DlB,SAAS,EAAEA,SAAU;IACrBrB,GAAG,EAAEmC;EAAU,EAChB,CAAC;AAEN;AAEArC,IAAI,CAACoC,WAAW,GAAG,MAAM;AAEzB,eAAelD,mBAAmB,CAACc,IAAI,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"Icon.js","names":["useBox","createBaseComponent","sstyled","keyboardFocusEnhance","hasLabels","logger","propsForElement","useForkRef","useColorResolver","cn","React","styles","_sstyled","insert","Icon","props","ref","_useBox","_objectSpread","interactive","_useBox2","_slicedToArray","SIcon","other","colorProps","color","resolveColor","_keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties","_excluded","sstyles","_sstyles$cn","className","style","onKeyDown","event","onClick","key","preventDefault","labelCheckRef","useRef","useEffect","process","env","NODE_ENV","warn","current","displayName","forkedRef","createElement","_extends","role","undefined","Object","assign"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import { useBox } from '@semcore/base-components';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport keyboardFocusEnhance from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\nimport hasLabels from '@semcore/core/lib/utils/hasLabels';\nimport logger from '@semcore/core/lib/utils/logger';\nimport propsForElement from '@semcore/core/lib/utils/propsForElement';\nimport { useForkRef } from '@semcore/core/lib/utils/ref';\nimport { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';\nimport cn from 'classnames';\nimport React from 'react';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n 'tag': 'svg',\n 'data-ui-name': 'Icon',\n 'width': 16,\n 'height': 16,\n 'viewBox': '0 0 16 16',\n 'focusable': props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const resolveColor = useColorResolver();\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'use:color': color,\n 'interactive': interactive,\n 'keyboardFocused': keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && propsEnhance.onClick && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n propsEnhance.onClick(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;AAAA,SAASA,MAAM,QAAQ,0BAA0B;AACjD,SAASC,mBAAmB,EAAEC,OAAO,QAAQ,eAAe;AAC5D,OAAOC,oBAAoB,MAAM,uDAAuD;AACxF,OAAOC,SAAS,MAAM,mCAAmC;AACzD,OAAOC,MAAM,MAAM,gCAAgC;AACnD,OAAOC,eAAe,MAAM,yCAAyC;AACrE,SAASC,UAAU,QAAQ,6BAA6B;AACxD,SAASC,gBAAgB,QAAQ,8CAA8C;AAC/E,OAAOC,EAAE,MAAM,YAAY;AAC3B,OAAOC,KAAK,MAAM,OAAO;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;AAAA;AAI1B,SAASC,IAAIA,CAACC,KAAK,EAAEC,GAAG,EAAE;EACxB,IAAAC,OAAA,GAAuBjB,MAAM,CAAAkB,aAAA;MAEzB,KAAK,EAAE,KAAK;MACZ,cAAc,EAAE,MAAM;MACtB,OAAO,EAAE,EAAE;MACX,QAAQ,EAAE,EAAE;MACZ,SAAS,EAAE,WAAW;MACtB,WAAW,EAAEH,KAAK,CAACI;IAAW,GAC3BJ,KAAK,GAEVC,GACF,CAAC;IAAAI,QAAA,GAAAC,cAAA,CAAAJ,OAAA;IAXMK,KAAK,GAAAF,QAAA;IAA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,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;MACzC1C,MAAM,CAAC2C,IAAI,CACTN,aAAa,CAACO,OAAO,IAAI,CAAC7C,SAAS,CAACsC,aAAa,CAACO,OAAO,CAAC,gFAE1DlC,KAAK,CAAC,cAAc,CAAC,IAAID,IAAI,CAACoC,WAChC,CAAC;IACH;EACF,CAAC,EAAE,CAAC/B,WAAW,CAAC,CAAC;EACjB,IAAMgC,SAAS,GAAG5C,UAAU,CAACS,GAAG,EAAE0B,aAAa,CAAC;EAEhD,oBACEhC,KAAA,CAAA0C,aAAA,CAAC9B,KAAK,EAAA+B,QAAA;IACJC,IAAI,EAAEnC,WAAW,GAAG,QAAQ,GAAGoC,SAAU;IACzC,eAAapC,WAAW,GAAGoC,SAAS,GAAG;EAAO,GAC1CjD,eAAe,CAACwB,YAAY,CAAC;IACjCM,KAAK,EAAEoB,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAErB,KAAK,EAAEN,YAAY,CAACM,KAAK,CAAE;IACpDD,SAAS,EAAE1B,EAAE,CAAC0B,SAAS,EAAEL,YAAY,CAACK,SAAS,CAAC,IAAIoB,SAAU;IAC9DlB,SAAS,EAAEA,SAAU;IACrBrB,GAAG,EAAEmC;EAAU,EAChB,CAAC;AAEN;AAEArC,IAAI,CAACoC,WAAW,GAAG,MAAM;AAEzB,eAAejD,mBAAmB,CAACa,IAAI,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/flex-box';\nimport { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface IIconProps extends IconProps, UnknownProperties {}\nexport type IconProps = BoxProps &\n KeyboardFocusProps & {\n /** Icon width */\n width?: string | number;\n /** Icon height */\n height?: string | number;\n /** SVG viewBox attribute */\n viewBox?: string;\n /** Make an icon interactive */\n interactive?: boolean;\n /** Icon color */\n color?: string;\n };\n\ndeclare const Icon: Intergalactic.Component<'svg', IconProps>;\n\nexport default Icon;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/base-components';\nimport { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface IIconProps extends IconProps, UnknownProperties {}\nexport type IconProps = BoxProps &\n KeyboardFocusProps & {\n /** Icon width */\n width?: string | number;\n /** Icon height */\n height?: string | number;\n /** SVG viewBox attribute */\n viewBox?: string;\n /** Make an icon interactive */\n interactive?: boolean;\n /** Icon color */\n color?: string;\n };\n\ndeclare const Icon: Intergalactic.Component<'svg', IconProps>;\n\nexport default Icon;\n"],"mappings":"","ignoreList":[]}
package/lib/esm/Icon.mjs CHANGED
@@ -3,13 +3,13 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
3
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
4
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
5
  import { createBaseComponent, sstyled } from "@semcore/core";
6
+ import { useBox } from "@semcore/base-components";
6
7
  import keyboardFocusEnhance from "@semcore/core/lib/utils/enhances/keyboardFocusEnhance";
7
8
  import hasLabels from "@semcore/core/lib/utils/hasLabels";
8
9
  import logger from "@semcore/core/lib/utils/logger";
9
10
  import propsForElement from "@semcore/core/lib/utils/propsForElement";
10
11
  import { useForkRef } from "@semcore/core/lib/utils/ref";
11
12
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
12
- import { useBox } from "@semcore/flex-box";
13
13
  import cn from "classnames";
14
14
  import React from "react";
15
15
  var _excluded = ["keyboardFocused"];
@@ -18,14 +18,14 @@ var styles = (
18
18
  /*__reshadow_css_start__*/
19
19
  (sstyled.insert(
20
20
  /*__inner_css_start__*/
21
- ".___SIcon_yxgog_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_yxgog)}.___SIcon_yxgog_gg_.__interactive_yxgog_gg_{cursor:pointer}@media (hover:hover){.___SIcon_yxgog_gg_.__interactive_yxgog_gg_:hover{filter:brightness(.8)}}",
21
+ ".___SIcon_14s6y_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_14s6y)}.___SIcon_14s6y_gg_.__interactive_14s6y_gg_{cursor:pointer}@media (hover:hover){.___SIcon_14s6y_gg_.__interactive_14s6y_gg_:hover{filter:brightness(.8)}}",
22
22
  /*__inner_css_end__*/
23
- "yxgog_gg_"
23
+ "14s6y_gg_"
24
24
  ), /*__reshadow_css_end__*/
25
25
  {
26
- "__SIcon": "___SIcon_yxgog_gg_",
27
- "--color": "--color_yxgog",
28
- "_interactive": "__interactive_yxgog_gg_"
26
+ "__SIcon": "___SIcon_14s6y_gg_",
27
+ "--color": "--color_14s6y",
28
+ "_interactive": "__interactive_14s6y_gg_"
29
29
  })
30
30
  );
31
31
  function Icon(props, ref) {
@@ -1,4 +1,4 @@
1
- import { BoxProps } from '@semcore/flex-box';
1
+ import { BoxProps } from '@semcore/base-components';
2
2
  import { Intergalactic, UnknownProperties } from '@semcore/core';
3
3
  import { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';
4
4
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/icon",
3
3
  "description": "Semrush Icon Component",
4
- "version": "16.7.1",
4
+ "version": "16.7.2-prerelease.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.mjs",
7
7
  "typings": "lib/types/index.d.ts",
@@ -9,11 +9,10 @@
9
9
  "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@semcore/flex-box": "16.0.9",
13
12
  "classnames": "2.2.6"
14
13
  },
15
14
  "peerDependencies": {
16
- "@semcore/base-components": "^16.0.0"
15
+ "@semcore/base-components": "^16.3.0-prerelease.0"
17
16
  },
18
17
  "repository": {
19
18
  "type": "git",
@@ -22,9 +21,10 @@
22
21
  },
23
22
  "devDependencies": {
24
23
  "@types/classnames": "2.2.6",
25
- "@semcore/base-components": "16.2.3",
24
+ "@semcore/icon-transform-svg": "1.1.0",
26
25
  "@semcore/testing-utils": "1.0.0",
27
- "@semcore/icon-transform-svg": "1.1.0"
26
+ "@semcore/core": "16.4.0-prerelease.0",
27
+ "@semcore/base-components": "16.3.0-prerelease.0"
28
28
  },
29
29
  "exports": {
30
30
  ".": {
@@ -362,16 +362,6 @@
362
362
  "import": "./color/GoogleDocs/l/index.mjs",
363
363
  "types": "./color/GoogleDocs/l/index.d.ts"
364
364
  },
365
- "./color/GoogleDataStudio/m": {
366
- "require": "./color/GoogleDataStudio/m/index.js",
367
- "import": "./color/GoogleDataStudio/m/index.mjs",
368
- "types": "./color/GoogleDataStudio/m/index.d.ts"
369
- },
370
- "./color/GoogleDataStudio/l": {
371
- "require": "./color/GoogleDataStudio/l/index.js",
372
- "import": "./color/GoogleDataStudio/l/index.mjs",
373
- "types": "./color/GoogleDataStudio/l/index.d.ts"
374
- },
375
365
  "./color/GoogleDisplayVideoAds/m": {
376
366
  "require": "./color/GoogleDisplayVideoAds/m/index.js",
377
367
  "import": "./color/GoogleDisplayVideoAds/m/index.mjs",
@@ -382,6 +372,16 @@
382
372
  "import": "./color/GoogleDisplayVideoAds/l/index.mjs",
383
373
  "types": "./color/GoogleDisplayVideoAds/l/index.d.ts"
384
374
  },
375
+ "./color/GoogleDataStudio/m": {
376
+ "require": "./color/GoogleDataStudio/m/index.js",
377
+ "import": "./color/GoogleDataStudio/m/index.mjs",
378
+ "types": "./color/GoogleDataStudio/m/index.d.ts"
379
+ },
380
+ "./color/GoogleDataStudio/l": {
381
+ "require": "./color/GoogleDataStudio/l/index.js",
382
+ "import": "./color/GoogleDataStudio/l/index.mjs",
383
+ "types": "./color/GoogleDataStudio/l/index.d.ts"
384
+ },
385
385
  "./color/GoogleColor/m": {
386
386
  "require": "./color/GoogleColor/m/index.js",
387
387
  "import": "./color/GoogleColor/m/index.mjs",
@@ -592,16 +592,6 @@
592
592
  "import": "./pay/Visa/l/index.mjs",
593
593
  "types": "./pay/Visa/l/index.d.ts"
594
594
  },
595
- "./pay/PayPal/m": {
596
- "require": "./pay/PayPal/m/index.js",
597
- "import": "./pay/PayPal/m/index.mjs",
598
- "types": "./pay/PayPal/m/index.d.ts"
599
- },
600
- "./pay/PayPal/l": {
601
- "require": "./pay/PayPal/l/index.js",
602
- "import": "./pay/PayPal/l/index.mjs",
603
- "types": "./pay/PayPal/l/index.d.ts"
604
- },
605
595
  "./pay/UnionPay/m": {
606
596
  "require": "./pay/UnionPay/m/index.js",
607
597
  "import": "./pay/UnionPay/m/index.mjs",
@@ -612,15 +602,25 @@
612
602
  "import": "./pay/UnionPay/l/index.mjs",
613
603
  "types": "./pay/UnionPay/l/index.d.ts"
614
604
  },
615
- "./pay/Discover/m": {
616
- "require": "./pay/Discover/m/index.js",
617
- "import": "./pay/Discover/m/index.mjs",
618
- "types": "./pay/Discover/m/index.d.ts"
605
+ "./pay/PayPal/m": {
606
+ "require": "./pay/PayPal/m/index.js",
607
+ "import": "./pay/PayPal/m/index.mjs",
608
+ "types": "./pay/PayPal/m/index.d.ts"
619
609
  },
620
- "./pay/Discover/l": {
621
- "require": "./pay/Discover/l/index.js",
622
- "import": "./pay/Discover/l/index.mjs",
623
- "types": "./pay/Discover/l/index.d.ts"
610
+ "./pay/PayPal/l": {
611
+ "require": "./pay/PayPal/l/index.js",
612
+ "import": "./pay/PayPal/l/index.mjs",
613
+ "types": "./pay/PayPal/l/index.d.ts"
614
+ },
615
+ "./pay/Mastercard/m": {
616
+ "require": "./pay/Mastercard/m/index.js",
617
+ "import": "./pay/Mastercard/m/index.mjs",
618
+ "types": "./pay/Mastercard/m/index.d.ts"
619
+ },
620
+ "./pay/Mastercard/l": {
621
+ "require": "./pay/Mastercard/l/index.js",
622
+ "import": "./pay/Mastercard/l/index.mjs",
623
+ "types": "./pay/Mastercard/l/index.d.ts"
624
624
  },
625
625
  "./pay/JCB/m": {
626
626
  "require": "./pay/JCB/m/index.js",
@@ -632,6 +632,16 @@
632
632
  "import": "./pay/JCB/l/index.mjs",
633
633
  "types": "./pay/JCB/l/index.d.ts"
634
634
  },
635
+ "./pay/Discover/m": {
636
+ "require": "./pay/Discover/m/index.js",
637
+ "import": "./pay/Discover/m/index.mjs",
638
+ "types": "./pay/Discover/m/index.d.ts"
639
+ },
640
+ "./pay/Discover/l": {
641
+ "require": "./pay/Discover/l/index.js",
642
+ "import": "./pay/Discover/l/index.mjs",
643
+ "types": "./pay/Discover/l/index.d.ts"
644
+ },
635
645
  "./pay/Diners/m": {
636
646
  "require": "./pay/Diners/m/index.js",
637
647
  "import": "./pay/Diners/m/index.mjs",
@@ -662,16 +672,6 @@
662
672
  "import": "./pay/AmericanExpress/l/index.mjs",
663
673
  "types": "./pay/AmericanExpress/l/index.d.ts"
664
674
  },
665
- "./pay/Mastercard/m": {
666
- "require": "./pay/Mastercard/m/index.js",
667
- "import": "./pay/Mastercard/m/index.mjs",
668
- "types": "./pay/Mastercard/m/index.d.ts"
669
- },
670
- "./pay/Mastercard/l": {
671
- "require": "./pay/Mastercard/l/index.js",
672
- "import": "./pay/Mastercard/l/index.mjs",
673
- "types": "./pay/Mastercard/l/index.d.ts"
674
- },
675
675
  "./platform/TrafficMarketToolkit": {
676
676
  "require": "./platform/TrafficMarketToolkit/index.js",
677
677
  "import": "./platform/TrafficMarketToolkit/index.mjs",
@@ -697,16 +697,16 @@
697
697
  "import": "./platform/PRToolkit/index.mjs",
698
698
  "types": "./platform/PRToolkit/index.d.ts"
699
699
  },
700
- "./platform/LocalToolkit": {
701
- "require": "./platform/LocalToolkit/index.js",
702
- "import": "./platform/LocalToolkit/index.mjs",
703
- "types": "./platform/LocalToolkit/index.d.ts"
704
- },
705
700
  "./platform/HomePlatform": {
706
701
  "require": "./platform/HomePlatform/index.js",
707
702
  "import": "./platform/HomePlatform/index.mjs",
708
703
  "types": "./platform/HomePlatform/index.d.ts"
709
704
  },
705
+ "./platform/LocalToolkit": {
706
+ "require": "./platform/LocalToolkit/index.js",
707
+ "import": "./platform/LocalToolkit/index.mjs",
708
+ "types": "./platform/LocalToolkit/index.d.ts"
709
+ },
710
710
  "./platform/EnterpriseSolutions": {
711
711
  "require": "./platform/EnterpriseSolutions/index.js",
712
712
  "import": "./platform/EnterpriseSolutions/index.mjs",
@@ -1097,16 +1097,6 @@
1097
1097
  "import": "./TopStories/l/index.mjs",
1098
1098
  "types": "./TopStories/l/index.d.ts"
1099
1099
  },
1100
- "./TimeNight/m": {
1101
- "require": "./TimeNight/m/index.js",
1102
- "import": "./TimeNight/m/index.mjs",
1103
- "types": "./TimeNight/m/index.d.ts"
1104
- },
1105
- "./TimeNight/l": {
1106
- "require": "./TimeNight/l/index.js",
1107
- "import": "./TimeNight/l/index.mjs",
1108
- "types": "./TimeNight/l/index.d.ts"
1109
- },
1110
1100
  "./TimeDay/m": {
1111
1101
  "require": "./TimeDay/m/index.js",
1112
1102
  "import": "./TimeDay/m/index.mjs",
@@ -1117,6 +1107,16 @@
1117
1107
  "import": "./TimeDay/l/index.mjs",
1118
1108
  "types": "./TimeDay/l/index.d.ts"
1119
1109
  },
1110
+ "./TimeNight/m": {
1111
+ "require": "./TimeNight/m/index.js",
1112
+ "import": "./TimeNight/m/index.mjs",
1113
+ "types": "./TimeNight/m/index.d.ts"
1114
+ },
1115
+ "./TimeNight/l": {
1116
+ "require": "./TimeNight/l/index.js",
1117
+ "import": "./TimeNight/l/index.mjs",
1118
+ "types": "./TimeNight/l/index.d.ts"
1119
+ },
1120
1120
  "./TimeClock/m": {
1121
1121
  "require": "./TimeClock/m/index.js",
1122
1122
  "import": "./TimeClock/m/index.mjs",
@@ -1217,16 +1217,6 @@
1217
1217
  "import": "./Text/l/index.mjs",
1218
1218
  "types": "./Text/l/index.d.ts"
1219
1219
  },
1220
- "./TagFilled/m": {
1221
- "require": "./TagFilled/m/index.js",
1222
- "import": "./TagFilled/m/index.mjs",
1223
- "types": "./TagFilled/m/index.d.ts"
1224
- },
1225
- "./TagFilled/l": {
1226
- "require": "./TagFilled/l/index.js",
1227
- "import": "./TagFilled/l/index.mjs",
1228
- "types": "./TagFilled/l/index.d.ts"
1229
- },
1230
1220
  "./Telescope/m": {
1231
1221
  "require": "./Telescope/m/index.js",
1232
1222
  "import": "./Telescope/m/index.mjs",
@@ -1237,6 +1227,16 @@
1237
1227
  "import": "./Telescope/l/index.mjs",
1238
1228
  "types": "./Telescope/l/index.d.ts"
1239
1229
  },
1230
+ "./TagFilled/m": {
1231
+ "require": "./TagFilled/m/index.js",
1232
+ "import": "./TagFilled/m/index.mjs",
1233
+ "types": "./TagFilled/m/index.d.ts"
1234
+ },
1235
+ "./TagFilled/l": {
1236
+ "require": "./TagFilled/l/index.js",
1237
+ "import": "./TagFilled/l/index.mjs",
1238
+ "types": "./TagFilled/l/index.d.ts"
1239
+ },
1240
1240
  "./Tag/m": {
1241
1241
  "require": "./Tag/m/index.js",
1242
1242
  "import": "./Tag/m/index.mjs",
@@ -1567,16 +1567,6 @@
1567
1567
  "import": "./SemrushRank/l/index.mjs",
1568
1568
  "types": "./SemrushRank/l/index.d.ts"
1569
1569
  },
1570
- "./Sellzone/m": {
1571
- "require": "./Sellzone/m/index.js",
1572
- "import": "./Sellzone/m/index.mjs",
1573
- "types": "./Sellzone/m/index.d.ts"
1574
- },
1575
- "./Sellzone/l": {
1576
- "require": "./Sellzone/l/index.js",
1577
- "import": "./Sellzone/l/index.mjs",
1578
- "types": "./Sellzone/l/index.d.ts"
1579
- },
1580
1570
  "./Semrush/m": {
1581
1571
  "require": "./Semrush/m/index.js",
1582
1572
  "import": "./Semrush/m/index.mjs",
@@ -1587,6 +1577,16 @@
1587
1577
  "import": "./Semrush/l/index.mjs",
1588
1578
  "types": "./Semrush/l/index.d.ts"
1589
1579
  },
1580
+ "./Sellzone/m": {
1581
+ "require": "./Sellzone/m/index.js",
1582
+ "import": "./Sellzone/m/index.mjs",
1583
+ "types": "./Sellzone/m/index.d.ts"
1584
+ },
1585
+ "./Sellzone/l": {
1586
+ "require": "./Sellzone/l/index.js",
1587
+ "import": "./Sellzone/l/index.mjs",
1588
+ "types": "./Sellzone/l/index.d.ts"
1589
+ },
1590
1590
  "./SeeResultsAbout/m": {
1591
1591
  "require": "./SeeResultsAbout/m/index.js",
1592
1592
  "import": "./SeeResultsAbout/m/index.mjs",
@@ -2027,16 +2027,6 @@
2027
2027
  "import": "./Pinterest/l/index.mjs",
2028
2028
  "types": "./Pinterest/l/index.d.ts"
2029
2029
  },
2030
- "./Pins/m": {
2031
- "require": "./Pins/m/index.js",
2032
- "import": "./Pins/m/index.mjs",
2033
- "types": "./Pins/m/index.d.ts"
2034
- },
2035
- "./Pins/l": {
2036
- "require": "./Pins/l/index.js",
2037
- "import": "./Pins/l/index.mjs",
2038
- "types": "./Pins/l/index.d.ts"
2039
- },
2040
2030
  "./PinUsd/m": {
2041
2031
  "require": "./PinUsd/m/index.js",
2042
2032
  "import": "./PinUsd/m/index.mjs",
@@ -2047,6 +2037,16 @@
2047
2037
  "import": "./PinUsd/l/index.mjs",
2048
2038
  "types": "./PinUsd/l/index.d.ts"
2049
2039
  },
2040
+ "./Pins/m": {
2041
+ "require": "./Pins/m/index.js",
2042
+ "import": "./Pins/m/index.mjs",
2043
+ "types": "./Pins/m/index.d.ts"
2044
+ },
2045
+ "./Pins/l": {
2046
+ "require": "./Pins/l/index.js",
2047
+ "import": "./Pins/l/index.mjs",
2048
+ "types": "./Pins/l/index.d.ts"
2049
+ },
2050
2050
  "./PinNo/m": {
2051
2051
  "require": "./PinNo/m/index.js",
2052
2052
  "import": "./PinNo/m/index.mjs",
@@ -2507,16 +2507,6 @@
2507
2507
  "import": "./LockYes/l/index.mjs",
2508
2508
  "types": "./LockYes/l/index.d.ts"
2509
2509
  },
2510
- "./ListNumber/m": {
2511
- "require": "./ListNumber/m/index.js",
2512
- "import": "./ListNumber/m/index.mjs",
2513
- "types": "./ListNumber/m/index.d.ts"
2514
- },
2515
- "./ListNumber/l": {
2516
- "require": "./ListNumber/l/index.js",
2517
- "import": "./ListNumber/l/index.mjs",
2518
- "types": "./ListNumber/l/index.d.ts"
2519
- },
2520
2510
  "./LockNo/m": {
2521
2511
  "require": "./LockNo/m/index.js",
2522
2512
  "import": "./LockNo/m/index.mjs",
@@ -2527,6 +2517,16 @@
2527
2517
  "import": "./LockNo/l/index.mjs",
2528
2518
  "types": "./LockNo/l/index.d.ts"
2529
2519
  },
2520
+ "./ListNumber/m": {
2521
+ "require": "./ListNumber/m/index.js",
2522
+ "import": "./ListNumber/m/index.mjs",
2523
+ "types": "./ListNumber/m/index.d.ts"
2524
+ },
2525
+ "./ListNumber/l": {
2526
+ "require": "./ListNumber/l/index.js",
2527
+ "import": "./ListNumber/l/index.mjs",
2528
+ "types": "./ListNumber/l/index.d.ts"
2529
+ },
2530
2530
  "./ListCheck/m": {
2531
2531
  "require": "./ListCheck/m/index.js",
2532
2532
  "import": "./ListCheck/m/index.mjs",
@@ -3747,16 +3747,6 @@
3747
3747
  "import": "./ChevronDoubleLeft/l/index.mjs",
3748
3748
  "types": "./ChevronDoubleLeft/l/index.d.ts"
3749
3749
  },
3750
- "./Checkbox/m": {
3751
- "require": "./Checkbox/m/index.js",
3752
- "import": "./Checkbox/m/index.mjs",
3753
- "types": "./Checkbox/m/index.d.ts"
3754
- },
3755
- "./Checkbox/l": {
3756
- "require": "./Checkbox/l/index.js",
3757
- "import": "./Checkbox/l/index.mjs",
3758
- "types": "./Checkbox/l/index.d.ts"
3759
- },
3760
3750
  "./ChevronDoubleDown/m": {
3761
3751
  "require": "./ChevronDoubleDown/m/index.js",
3762
3752
  "import": "./ChevronDoubleDown/m/index.mjs",
@@ -3767,6 +3757,16 @@
3767
3757
  "import": "./ChevronDoubleDown/l/index.mjs",
3768
3758
  "types": "./ChevronDoubleDown/l/index.d.ts"
3769
3759
  },
3760
+ "./Checkbox/m": {
3761
+ "require": "./Checkbox/m/index.js",
3762
+ "import": "./Checkbox/m/index.mjs",
3763
+ "types": "./Checkbox/m/index.d.ts"
3764
+ },
3765
+ "./Checkbox/l": {
3766
+ "require": "./Checkbox/l/index.js",
3767
+ "import": "./Checkbox/l/index.mjs",
3768
+ "types": "./Checkbox/l/index.d.ts"
3769
+ },
3770
3770
  "./CheckDouble/m": {
3771
3771
  "require": "./CheckDouble/m/index.js",
3772
3772
  "import": "./CheckDouble/m/index.mjs",
@@ -4297,16 +4297,6 @@
4297
4297
  "import": "./Airplane/l/index.mjs",
4298
4298
  "types": "./Airplane/l/index.d.ts"
4299
4299
  },
4300
- "./Adult/m": {
4301
- "require": "./Adult/m/index.js",
4302
- "import": "./Adult/m/index.mjs",
4303
- "types": "./Adult/m/index.d.ts"
4304
- },
4305
- "./Adult/l": {
4306
- "require": "./Adult/l/index.js",
4307
- "import": "./Adult/l/index.mjs",
4308
- "types": "./Adult/l/index.d.ts"
4309
- },
4310
4300
  "./AdobeExperienceCloud/m": {
4311
4301
  "require": "./AdobeExperienceCloud/m/index.js",
4312
4302
  "import": "./AdobeExperienceCloud/m/index.mjs",
@@ -4317,6 +4307,16 @@
4317
4307
  "import": "./AdobeExperienceCloud/l/index.mjs",
4318
4308
  "types": "./AdobeExperienceCloud/l/index.d.ts"
4319
4309
  },
4310
+ "./Adult/m": {
4311
+ "require": "./Adult/m/index.js",
4312
+ "import": "./Adult/m/index.mjs",
4313
+ "types": "./Adult/m/index.d.ts"
4314
+ },
4315
+ "./Adult/l": {
4316
+ "require": "./Adult/l/index.js",
4317
+ "import": "./Adult/l/index.mjs",
4318
+ "types": "./Adult/l/index.d.ts"
4319
+ },
4320
4320
  "./AddressPack/m": {
4321
4321
  "require": "./AddressPack/m/index.js",
4322
4322
  "import": "./AddressPack/m/index.mjs",
@@ -32,7 +32,7 @@ function RootDiscover(_ref, ref) {
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M17.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",
35
- fill: "url(#intergalactic-icon-Discover_l_a-16.7.1)",
35
+ fill: "url(#intergalactic-icon-Discover_l_a-16.7.2)",
36
36
  shapeRendering: "geometricPrecision"
37
37
  }), /*#__PURE__*/_react["default"].createElement("path", {
38
38
  fillRule: "evenodd",
@@ -21,7 +21,7 @@ function RootDiscover({
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M17.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",
24
- fill: "url(#intergalactic-icon-Discover_l_a-16.7.1)",
24
+ fill: "url(#intergalactic-icon-Discover_l_a-16.7.2)",
25
25
  shapeRendering: "geometricPrecision"
26
26
  }), /*#__PURE__*/React.createElement("path", {
27
27
  fillRule: "evenodd",
@@ -32,7 +32,7 @@ function RootDiscover(_ref, ref) {
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M11.48 9.33c.91 0 1.64-.74 1.64-1.66 0-.92-.73-1.67-1.64-1.67-.9 0-1.64.75-1.64 1.67 0 .92.74 1.66 1.64 1.66Z",
35
- fill: "url(#intergalactic-icon-Discover_m_a-16.7.1)",
35
+ fill: "url(#intergalactic-icon-Discover_m_a-16.7.2)",
36
36
  shapeRendering: "geometricPrecision"
37
37
  }), /*#__PURE__*/_react["default"].createElement("path", {
38
38
  fillRule: "evenodd",
@@ -21,7 +21,7 @@ function RootDiscover({
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M11.48 9.33c.91 0 1.64-.74 1.64-1.66 0-.92-.73-1.67-1.64-1.67-.9 0-1.64.75-1.64 1.67 0 .92.74 1.66 1.64 1.66Z",
24
- fill: "url(#intergalactic-icon-Discover_m_a-16.7.1)",
24
+ fill: "url(#intergalactic-icon-Discover_m_a-16.7.2)",
25
25
  shapeRendering: "geometricPrecision"
26
26
  }), /*#__PURE__*/React.createElement("path", {
27
27
  fillRule: "evenodd",