@razorpay/blade 11.38.1 → 11.40.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 (75) hide show
  1. package/build/lib/native/components/ActionList/ActionList.js +1 -1
  2. package/build/lib/native/components/ActionList/ActionList.js.map +1 -1
  3. package/build/lib/native/components/ActionList/ActionListBox.native.js +1 -1
  4. package/build/lib/native/components/ActionList/ActionListBox.native.js.map +1 -1
  5. package/build/lib/native/components/ActionList/ActionListItem.js +2 -1
  6. package/build/lib/native/components/ActionList/ActionListItem.js.map +1 -1
  7. package/build/lib/native/components/ActionList/styles/getBaseListBoxWrapperStyles.js +2 -2
  8. package/build/lib/native/components/ActionList/styles/getBaseListBoxWrapperStyles.js.map +1 -1
  9. package/build/lib/native/components/BaseMenu/BaseMenuItem/BaseMenuItem.js +2 -2
  10. package/build/lib/native/components/BaseMenu/BaseMenuItem/BaseMenuItem.js.map +1 -1
  11. package/build/lib/native/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js +2 -1
  12. package/build/lib/native/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js.map +1 -1
  13. package/build/lib/native/components/BaseMenu/BaseMenuItem/tokens.js +8 -0
  14. package/build/lib/native/components/BaseMenu/BaseMenuItem/tokens.js.map +1 -0
  15. package/build/lib/native/components/Icons/RayIcon/RayIcon.js +12 -0
  16. package/build/lib/native/components/Icons/RayIcon/RayIcon.js.map +1 -0
  17. package/build/lib/native/components/index.js +1 -0
  18. package/build/lib/native/components/index.js.map +1 -1
  19. package/build/lib/native/utils/useCallbackRef.js +3 -2
  20. package/build/lib/native/utils/useCallbackRef.js.map +1 -1
  21. package/build/lib/web/development/components/ActionList/ActionList.js +6 -4
  22. package/build/lib/web/development/components/ActionList/ActionList.js.map +1 -1
  23. package/build/lib/web/development/components/ActionList/ActionListBox.web.js +114 -3
  24. package/build/lib/web/development/components/ActionList/ActionListBox.web.js.map +1 -1
  25. package/build/lib/web/development/components/ActionList/ActionListItem.js +57 -60
  26. package/build/lib/web/development/components/ActionList/ActionListItem.js.map +1 -1
  27. package/build/lib/web/development/components/ActionList/styles/getBaseListBoxWrapperStyles.js +8 -4
  28. package/build/lib/web/development/components/ActionList/styles/getBaseListBoxWrapperStyles.js.map +1 -1
  29. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/BaseMenuItem.js +6 -7
  30. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/BaseMenuItem.js.map +1 -1
  31. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js +3 -2
  32. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js.map +1 -1
  33. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js +3 -2
  34. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js.map +1 -1
  35. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/tokens.js +26 -0
  36. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/tokens.js.map +1 -0
  37. package/build/lib/web/development/components/Icons/RayIcon/RayIcon.js +37 -0
  38. package/build/lib/web/development/components/Icons/RayIcon/RayIcon.js.map +1 -0
  39. package/build/lib/web/development/components/Icons/RayIcon/index.js +2 -0
  40. package/build/lib/web/development/components/Icons/RayIcon/index.js.map +1 -0
  41. package/build/lib/web/development/components/Icons/index.js +1 -0
  42. package/build/lib/web/development/components/Icons/index.js.map +1 -1
  43. package/build/lib/web/development/components/index.js +1 -0
  44. package/build/lib/web/development/components/index.js.map +1 -1
  45. package/build/lib/web/development/utils/useCallbackRef.js +11 -5
  46. package/build/lib/web/development/utils/useCallbackRef.js.map +1 -1
  47. package/build/lib/web/production/components/ActionList/ActionList.js +6 -4
  48. package/build/lib/web/production/components/ActionList/ActionList.js.map +1 -1
  49. package/build/lib/web/production/components/ActionList/ActionListBox.web.js +114 -3
  50. package/build/lib/web/production/components/ActionList/ActionListBox.web.js.map +1 -1
  51. package/build/lib/web/production/components/ActionList/ActionListItem.js +57 -60
  52. package/build/lib/web/production/components/ActionList/ActionListItem.js.map +1 -1
  53. package/build/lib/web/production/components/ActionList/styles/getBaseListBoxWrapperStyles.js +8 -4
  54. package/build/lib/web/production/components/ActionList/styles/getBaseListBoxWrapperStyles.js.map +1 -1
  55. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/BaseMenuItem.js +6 -7
  56. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/BaseMenuItem.js.map +1 -1
  57. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js +3 -2
  58. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js.map +1 -1
  59. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js +3 -2
  60. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js.map +1 -1
  61. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/tokens.js +26 -0
  62. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/tokens.js.map +1 -0
  63. package/build/lib/web/production/components/Icons/RayIcon/RayIcon.js +37 -0
  64. package/build/lib/web/production/components/Icons/RayIcon/RayIcon.js.map +1 -0
  65. package/build/lib/web/production/components/Icons/RayIcon/index.js +2 -0
  66. package/build/lib/web/production/components/Icons/RayIcon/index.js.map +1 -0
  67. package/build/lib/web/production/components/Icons/index.js +1 -0
  68. package/build/lib/web/production/components/Icons/index.js.map +1 -1
  69. package/build/lib/web/production/components/index.js +1 -0
  70. package/build/lib/web/production/components/index.js.map +1 -1
  71. package/build/lib/web/production/utils/useCallbackRef.js +11 -5
  72. package/build/lib/web/production/utils/useCallbackRef.js.map +1 -1
  73. package/build/types/components/index.d.ts +5 -2
  74. package/build/types/components/index.native.d.ts +5 -2
  75. package/package.json +4 -2
@@ -1 +1 @@
1
- {"version":3,"file":"BaseMenuItem.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/BaseMenuItem.tsx"],"sourcesContent":["import React from 'react';\nimport type { BaseMenuItemProps } from '../types';\nimport { BaseMenuItemContext } from '../BaseMenuContext';\nimport { StyledMenuItemContainer } from './StyledMenuItemContainer';\nimport { Box } from '~components/Box';\nimport { getTextProps, Text } from '~components/Typography';\nimport { size } from '~tokens/global';\nimport { makeSize } from '~utils';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport type { BladeElementRef } from '~utils/types';\nimport { BaseText } from '~components/Typography/BaseText';\nimport { useTruncationTitle } from '~utils/useTruncationTitle';\n\nconst menuItemTitleColor = {\n negative: {\n default: 'feedback.text.negative.intense',\n disabled: 'interactive.text.gray.disabled',\n },\n normal: { default: 'interactive.text.gray.normal', disabled: 'interactive.text.gray.disabled' },\n} as const;\n\nconst menuItemDescriptionColor = {\n default: 'interactive.text.gray.muted',\n disabled: 'interactive.text.gray.disabled',\n} as const;\n\n// This is the height of item excluding the description to make sure description comes at the bottom and other first row items are center aligned\nconst itemFirstRowHeight = makeSize(size[20]);\n\nconst _BaseMenuItem: React.ForwardRefRenderFunction<BladeElementRef, BaseMenuItemProps> = (\n {\n title,\n description,\n as,\n leading,\n trailing,\n titleSuffix,\n isDisabled,\n selectionType = 'single',\n isSelected,\n isVisible = true,\n color,\n role = 'menuitem',\n children,\n ...props\n },\n ref,\n): React.ReactElement => {\n const { containerRef, textRef } = useTruncationTitle({ content: title });\n return (\n <BaseMenuItemContext.Provider value={{ color, isDisabled }}>\n <StyledMenuItemContainer\n ref={ref as never}\n as={as}\n type=\"button\"\n disabled={isDisabled}\n {...makeAccessible({\n role,\n current: role === 'menuitem' || role === 'menuitemcheckbox' ? isSelected : undefined,\n disabled: isDisabled,\n selected: isSelected,\n })}\n color={color}\n isVisible={isVisible}\n isSelected={isSelected}\n isDisabled={isDisabled}\n selectionType={selectionType}\n {...props}\n >\n {children ? (\n children\n ) : (\n <Box display=\"flex\" alignItems=\"flex-start\" width=\"100%\" justifyContent=\"flex-start\">\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n alignItems=\"center\"\n height={itemFirstRowHeight}\n >\n {leading}\n </Box>\n <Box\n paddingLeft={leading ? 'spacing.3' : 'spacing.0'}\n paddingRight=\"spacing.3\"\n display=\"flex\"\n flexDirection=\"column\"\n >\n <Box\n display=\"flex\"\n alignItems=\"center\"\n flexDirection=\"row\"\n height={itemFirstRowHeight}\n ref={containerRef as never}\n >\n <BaseText\n as=\"p\"\n ref={textRef as never}\n truncateAfterLines={1}\n wordBreak=\"break-all\"\n {...getTextProps({\n size: 'medium',\n color:\n menuItemTitleColor[color === 'negative' ? 'negative' : 'normal'][\n isDisabled ? 'disabled' : 'default'\n ],\n weight: 'regular',\n })}\n >\n {title}\n </BaseText>\n {titleSuffix}\n </Box>\n <Box>\n {description ? (\n <Text\n color={menuItemDescriptionColor[isDisabled ? 'disabled' : 'default']}\n size=\"small\"\n >\n {description}\n </Text>\n ) : null}\n </Box>\n </Box>\n <Box marginLeft=\"auto\">{trailing}</Box>\n </Box>\n )}\n </StyledMenuItemContainer>\n </BaseMenuItemContext.Provider>\n );\n};\n\nconst BaseMenuItem = React.forwardRef(_BaseMenuItem);\n\nexport { BaseMenuItem };\n"],"names":["menuItemTitleColor","negative","disabled","normal","menuItemDescriptionColor","itemFirstRowHeight","makeSize","size","_BaseMenuItem","_ref","ref","title","description","as","leading","trailing","titleSuffix","isDisabled","_ref$selectionType","selectionType","isSelected","_ref$isVisible","isVisible","color","_ref$role","role","children","props","_objectWithoutProperties","_excluded","_useTruncationTitle","useTruncationTitle","content","containerRef","textRef","_jsx","BaseMenuItemContext","Provider","value","StyledMenuItemContainer","_objectSpread","type","makeAccessible","current","undefined","selected","_jsxs","Box","display","alignItems","width","justifyContent","height","paddingLeft","paddingRight","flexDirection","BaseText","truncateAfterLines","wordBreak","getTextProps","weight","Text","marginLeft","BaseMenuItem","React","forwardRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAMA,kBAAkB,GAAG;AACzBC,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AE,SAAA;AACV,aAAC,CAAC,CAAA,EAAA,EAAA,EAAA;AAAAlC,cAAAA,QAAA,EAEDf,KAAAA;aACO,CAAA,CAAC,EACVK,WAAW,CAAA;AAAA,WACT,CAAC,eACNmB,GAAA,CAACY,GAAG,EAAA;AAAArB,YAAAA,QAAA,EACDd,WAAW,gBACVuB,GAAA,CAAC0B,IAAI,EAAA;cACHtC,KAAK,EAAEnB,wBAAwB,CAACa,UAAU,GAAG,UAAU,GAAG,SAAS,CAAE;AACrEV,cAAAA,IAAI,EAAC,OAAO;AAAAmB,cAAAA,QAAA,EAEXd,WAAAA;AAAW,aACR,CAAC,GACL,IAAA;AAAI,WACL,CAAC,CAAA;AAAA,SACH,CAAC,eACNuB,GAAA,CAACY,GAAG,EAAA;AAACe,UAAAA,UAAU,EAAC,MAAM;AAAApC,UAAAA,QAAA,EAAEX,QAAAA;AAAQ,SAAM,CAAC,CAAA;OACpC,CAAA;KAEgB,CAAA,CAAA;AAAC,GACE,CAAC,CAAA;AAEnC,CAAC,CAAA;AAED,IAAMgD,YAAY,gBAAGC,cAAK,CAACC,UAAU,CAACzD,aAAa;;;;"}
1
+ {"version":3,"file":"BaseMenuItem.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/BaseMenuItem.tsx"],"sourcesContent":["import React from 'react';\nimport type { BaseMenuItemProps } from '../types';\nimport { BaseMenuItemContext } from '../BaseMenuContext';\nimport { StyledMenuItemContainer } from './StyledMenuItemContainer';\nimport { itemFirstRowHeight } from './tokens';\nimport { Box } from '~components/Box';\nimport { getTextProps, Text } from '~components/Typography';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport type { BladeElementRef } from '~utils/types';\nimport { BaseText } from '~components/Typography/BaseText';\nimport { useTruncationTitle } from '~utils/useTruncationTitle';\nimport { makeSize } from '~utils';\n\nconst menuItemTitleColor = {\n negative: {\n default: 'feedback.text.negative.intense',\n disabled: 'interactive.text.gray.disabled',\n },\n normal: { default: 'interactive.text.gray.normal', disabled: 'interactive.text.gray.disabled' },\n} as const;\n\nconst menuItemDescriptionColor = {\n default: 'interactive.text.gray.muted',\n disabled: 'interactive.text.gray.disabled',\n} as const;\n\n// This is the height of item excluding the description to make sure description comes at the bottom and other first row items are center aligned\n\nconst _BaseMenuItem: React.ForwardRefRenderFunction<BladeElementRef, BaseMenuItemProps> = (\n {\n title,\n description,\n as,\n leading,\n trailing,\n titleSuffix,\n isDisabled,\n selectionType = 'single',\n isSelected,\n isVisible = true,\n color,\n role = 'menuitem',\n children,\n ...props\n },\n ref,\n): React.ReactElement => {\n const { containerRef, textRef } = useTruncationTitle({ content: title });\n return (\n <BaseMenuItemContext.Provider value={{ color, isDisabled }}>\n <StyledMenuItemContainer\n ref={ref as never}\n as={as}\n type=\"button\"\n disabled={isDisabled}\n {...makeAccessible({\n role,\n current: role === 'menuitem' || role === 'menuitemcheckbox' ? isSelected : undefined,\n disabled: isDisabled,\n selected: isSelected,\n })}\n color={color}\n isVisible={isVisible}\n isSelected={isSelected}\n isDisabled={isDisabled}\n selectionType={selectionType}\n {...props}\n >\n {children ? (\n children\n ) : (\n <Box display=\"flex\" alignItems=\"flex-start\" width=\"100%\" justifyContent=\"flex-start\">\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n alignItems=\"center\"\n height={makeSize(itemFirstRowHeight)}\n >\n {leading}\n </Box>\n <Box\n paddingLeft={leading ? 'spacing.3' : 'spacing.0'}\n paddingRight=\"spacing.3\"\n display=\"flex\"\n flexDirection=\"column\"\n >\n <Box\n display=\"flex\"\n alignItems=\"center\"\n flexDirection=\"row\"\n height={makeSize(itemFirstRowHeight)}\n ref={containerRef as never}\n >\n <BaseText\n as=\"p\"\n ref={textRef as never}\n truncateAfterLines={1}\n wordBreak=\"break-all\"\n {...getTextProps({\n size: 'medium',\n color:\n menuItemTitleColor[color === 'negative' ? 'negative' : 'normal'][\n isDisabled ? 'disabled' : 'default'\n ],\n weight: 'regular',\n })}\n >\n {title}\n </BaseText>\n {titleSuffix}\n </Box>\n <Box>\n {description ? (\n <Text\n color={menuItemDescriptionColor[isDisabled ? 'disabled' : 'default']}\n size=\"small\"\n >\n {description}\n </Text>\n ) : null}\n </Box>\n </Box>\n <Box marginLeft=\"auto\">{trailing}</Box>\n </Box>\n )}\n </StyledMenuItemContainer>\n </BaseMenuItemContext.Provider>\n );\n};\n\nconst BaseMenuItem = React.forwardRef(_BaseMenuItem);\n\nexport { BaseMenuItem };\n"],"names":["menuItemTitleColor","negative","disabled","normal","menuItemDescriptionColor","_BaseMenuItem","_ref","ref","title","description","as","leading","trailing","titleSuffix","isDisabled","_ref$selectionType","selectionType","isSelected","_ref$isVisible","isVisible","color","_ref$role","role","children","props","_objectWithoutProperties","_excluded","_useTruncationTitle","useTruncationTitle","content","containerRef","textRef","_jsx","BaseMenuItemContext","Provider","value","StyledMenuItemContainer","_objectSpread","type","makeAccessible","current","undefined","selected","_jsxs","Box","display","alignItems","width","justifyContent","height","makeSize","itemFirstRowHeight","paddingLeft","paddingRight","flexDirection","BaseText","truncateAfterLines","wordBreak","getTextProps","size","weight","Text","marginLeft","BaseMenuItem","React","forwardRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAMA,kBAAkB,GAAG;AACzBC,EAAAA,QAAQ,EAAE;AACR,IAAA,SAAA,EAAS,gCAAgC;AACzCC,IAAAA,QAAQ,EAAE,gCAAA;GACX;AACDC,EAAAA,MAAM,EAAE;AAAE,IAAA,SAAA,EAAS,8BAA8B;AAAED,IAAAA,QAAQ,EAAE,gCAAA;AAAiC,GAAA;AAChG,CAAU,CAAA;AAEV,IAAME,wBAAwB,GAAG;AAC/B,EAAA,SAAA,EAAS,6BAA6B;AACtCF,EAAAA,QAAQ,EAAE,gCAAA;AACZ,CAAU,CAAA;;AAEV;;AAEA,IAAMG,aAAiF,GAAG,SAApFA,aAAiFA,CAAAC,IAAA,EAiBrFC,GAAG,EACoB;AAAA,EAAA,IAhBrBC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,WA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,UAAAA,QAAA,EAAEX,QAAAA;AAAQ,SAAM,CAAC,CAAA;OACpC,CAAA;KAEgB,CAAA,CAAA;AAAC,GACE,CAAC,CAAA;AAEnC,CAAC,CAAA;AAED,IAAMmD,YAAY,gBAAGC,cAAK,CAACC,UAAU,CAAC5D,aAAa;;;;"}
@@ -1,6 +1,7 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import styled from 'styled-components';
3
3
  import { getBaseMenuItemStyles } from './getBaseMenuItemStyles.js';
4
+ import { getItemPadding } from './tokens.js';
4
5
  import '../../../utils/index.js';
5
6
  import '../../../utils/getFocusRingStyles/index.js';
6
7
  import '../../Box/BaseBox/index.js';
@@ -18,12 +19,12 @@ var StyledMenuItemContainer = /*#__PURE__*/styled(BaseBox).withConfig({
18
19
  return _objectSpread(_objectSpread({}, getBaseMenuItemStyles({
19
20
  theme: props.theme
20
21
  })), {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
21
- padding: makeSize(props.theme.spacing[2]),
22
+ padding: makeSize(getItemPadding(props.theme).itemPaddingMobile),
22
23
  display: props.isVisible ? 'flex' : 'none'
23
24
  }, "@media ".concat(getMediaQuery({
24
25
  min: props.theme.breakpoints.m
25
26
  })), {
26
- padding: makeSize(props.theme.spacing[3])
27
+ padding: makeSize(getItemPadding(props.theme).itemPaddingDesktop)
27
28
  }), '&:hover:not([aria-disabled=true]), &[aria-expanded="true"]', {
28
29
  backgroundColor: props.color === 'negative' ? props.theme.colors.interactive.background.negative.faded : props.theme.colors.interactive.background.gray["default"]
29
30
  }), '&:focus-visible', getFocusRingStyles({
@@ -1 +1 @@
1
- {"version":3,"file":"StyledMenuItemContainer.web.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport type { StyledBaseMenuItemContainerProps } from '../types';\nimport { getBaseMenuItemStyles } from './getBaseMenuItemStyles';\nimport { getMediaQuery, makeSize } from '~utils';\nimport { getFocusRingStyles } from '~utils/getFocusRingStyles';\nimport BaseBox from '~components/Box/BaseBox';\n\nconst StyledMenuItemContainer = styled(BaseBox)<StyledBaseMenuItemContainerProps>((props) => {\n return {\n ...getBaseMenuItemStyles({ theme: props.theme }),\n padding: makeSize(props.theme.spacing[2]),\n display: props.isVisible ? 'flex' : 'none',\n [`@media ${getMediaQuery({ min: props.theme.breakpoints.m })}`]: {\n padding: makeSize(props.theme.spacing[3]),\n },\n '&:hover:not([aria-disabled=true]), &[aria-expanded=\"true\"]': {\n backgroundColor:\n props.color === 'negative'\n ? props.theme.colors.interactive.background.negative.faded\n : props.theme.colors.interactive.background.gray.default,\n },\n '&:focus-visible': getFocusRingStyles({ theme: props.theme }),\n '&.active-focus': props.isKeydownPressed\n ? getFocusRingStyles({ theme: props.theme })\n : undefined,\n '&[aria-selected=true]': {\n backgroundColor:\n props.selectionType === 'single'\n ? props.theme.colors.interactive.background.primary.faded\n : undefined,\n },\n '&[aria-selected=true]:hover': {\n backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted,\n },\n };\n});\n\nexport { StyledMenuItemContainer };\n"],"names":["StyledMenuItemContainer","styled","BaseBox","withConfig","displayName","componentId","props","_objectSpread","getBaseMenuItemStyles","theme","_defineProperty","padding","makeSize","spacing","display","isVisible","concat","getMediaQuery","min","breakpoints","m","backgroundColor","color","colors","interactive","background","negative","faded","gray","getFocusRingStyles","isKeydownPressed","undefined","selectionType","primary","fadedHighlighted"],"mappings":";;;;;;;;;;;;;AAOA,IAAMA,uBAAuB,gBAAGC,MAAM,CAACC,OAAO,CAAC,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,qDAAA;EAAAC,WAAA,EAAA,UAAA;AAAA,CAAmC,CAAA,CAAA,UAACC,KAAK,EAAK;AAC3F,EAAA,OAAAC,aAAA,CAAAA,aAAA,CAAA,EAAA,EACKC,qBAAqB,CAAC;IAAEC,KAAK,EAAEH,KAAK,CAACG,KAAAA;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AA,EACD,6BAA6B,EAAE;AAC7BV,IAAAA,eAAe,EAAEf,KAAK,CAACG,KAAK,CAACc,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACC,gBAAAA;GACpE,CAAA,CAAA,CAAA;AAEL,CAAC;;;;"}
1
+ {"version":3,"file":"StyledMenuItemContainer.web.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport type { StyledBaseMenuItemContainerProps } from '../types';\nimport { getBaseMenuItemStyles } from './getBaseMenuItemStyles';\nimport { getItemPadding } from './tokens';\nimport { getMediaQuery, makeSize } from '~utils';\nimport { getFocusRingStyles } from '~utils/getFocusRingStyles';\nimport BaseBox from '~components/Box/BaseBox';\n\nconst StyledMenuItemContainer = styled(BaseBox)<StyledBaseMenuItemContainerProps>((props) => {\n return {\n ...getBaseMenuItemStyles({ theme: props.theme }),\n padding: makeSize(getItemPadding(props.theme).itemPaddingMobile),\n display: props.isVisible ? 'flex' : 'none',\n [`@media ${getMediaQuery({ min: props.theme.breakpoints.m })}`]: {\n padding: makeSize(getItemPadding(props.theme).itemPaddingDesktop),\n },\n '&:hover:not([aria-disabled=true]), &[aria-expanded=\"true\"]': {\n backgroundColor:\n props.color === 'negative'\n ? props.theme.colors.interactive.background.negative.faded\n : props.theme.colors.interactive.background.gray.default,\n },\n '&:focus-visible': getFocusRingStyles({ theme: props.theme }),\n '&.active-focus': props.isKeydownPressed\n ? getFocusRingStyles({ theme: props.theme })\n : undefined,\n '&[aria-selected=true]': {\n backgroundColor:\n props.selectionType === 'single'\n ? props.theme.colors.interactive.background.primary.faded\n : undefined,\n },\n '&[aria-selected=true]:hover': {\n backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted,\n },\n };\n});\n\nexport { StyledMenuItemContainer };\n"],"names":["StyledMenuItemContainer","styled","BaseBox","withConfig","displayName","componentId","props","_objectSpread","getBaseMenuItemStyles","theme","_defineProperty","padding","makeSize","getItemPadding","itemPaddingMobile","display","isVisible","concat","getMediaQuery","min","breakpoints","m","itemPaddingDesktop","backgroundColor","color","colors","interactive","background","negative","faded","gray","getFocusRingStyles","isKeydownPressed","undefined","selectionType","primary","fadedHighlighted"],"mappings":";;;;;;;;;;;;;;AAQA,IAAMA,uBAAuB,gBAAGC,MAAM,CAACC,OAAO,CAAC,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,qDAAA;EAAAC,WAAA,EAAA,UAAA;AAAA,CAAmC,CAAA,CAAA,UAACC,KAAK,EAAK;AAC3F,EAAA,OAAAC,aAAA,CAAAA,aAAA,CAAA,EAAA,EACKC,qBAAqB,CAAC;IAAEC,KAAK,EAAEH,KAAK,CAACG,KAAAA;AAAM,GAAC,CAAC,CAAA,EAAA,EAAA,EAAAC,eAAA,CAAAA,eAAA,CAAAA,eAAA,CAAAA,eAAA,CAAAA,eAAA,CAAAA,eAAA,CAAA;IAChDC,OAAO,EAAEC,QAAQ,CAACC,cAAc,CAACP,KAAK,CAACG,KAAK,CAAC,CAACK,iBAAiB,CAAC;AAChEC,IAAAA,OAAO,EAAET,KAAK,CAACU,SAAS,GAAG,MAAM,GAAG,MAAA;GAAMC,EAAAA,SAAAA,CAAAA,MAAA,CAC/BC,aAAa,CAAC;AAAEC,IAAAA,GAAG,EAAEb,KAAK,CAACG,KAAK,CAACW,WAAW,CAACC,CAAAA;AAAE,GAAC,CAAC,CAAK,EAAA;IAC/DV,OAAO,EAAEC,QAAQ,CAACC,cAAc,CAACP,KAAK,CAACG,KAAK,CAAC,CAACa,kBAAkB,CAAA;GACjE,CAAA,EACD,4DAA4D,EAAE;AAC5DC,IAAAA,eAAe,EACbjB,KAAK,CAACkB,KAAK,KAAK,UAAU,GACtBlB,KAAK,CAACG,KAAK,CAACgB,MAAM,CAACC,WAAW,CAACC,UAAU,CAACC,QAAQ,CAACC,KAAK,GACxDvB,KAAK,CAACG,KAAK,CAACgB,MAAM,CAACC,WAAW,CAACC,UAAU,CAACG,IAAI,CAAA,SAAA,CAAA;AACtD,GAAC,CACD,EAAA,iBAAiB,EAAEC,kBAAkB,CAAC;IAAEtB,KAAK,EAAEH,KAAK,CAACG,KAAAA;GAAO,CAAC,GAC7D,gBAAgB,EAAEH,KAAK,CAAC0B,gBAAgB,GACpCD,kBAAkB,CAAC;IAAEtB,KAAK,EAAEH,KAAK,CAACG,KAAAA;AAAM,GAAC,CAAC,GAC1CwB,SAAS,CAAA,EACb,uBAAuB,EAAE;IACvBV,eAAe,EACbjB,KAAK,CAAC4B,aAAa,KAAK,QAAQ,GAC5B5B,KAAK,CAACG,KAAK,CAACgB,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACN,KAAK,GACvDI,SAAAA;GACP,CAAA,EACD,6BAA6B,EAAE;AAC7BV,IAAAA,eAAe,EAAEjB,KAAK,CAACG,KAAK,CAACgB,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACC,gBAAAA;GACpE,CAAA,CAAA,CAAA;AAEL,CAAC;;;;"}
@@ -1,3 +1,4 @@
1
+ import { getItemMargin } from './tokens.js';
1
2
  import '../../../utils/index.js';
2
3
  import '../../../utils/makeSize/index.js';
3
4
  import { makeBorderSize } from '../../../utils/makeBorderSize/makeBorderSize.js';
@@ -12,8 +13,8 @@ var getBaseMenuItemStyles = function getBaseMenuItemStyles(props) {
12
13
  textAlign: isReactNative() ? undefined : 'left',
13
14
  backgroundColor: 'transparent',
14
15
  borderRadius: makeSize(props.theme.border.radius.medium),
15
- marginTop: makeSize(props.theme.spacing[1]),
16
- marginBottom: makeSize(props.theme.spacing[1]),
16
+ marginTop: makeSize(getItemMargin(props.theme)),
17
+ marginBottom: makeSize(getItemMargin(props.theme)),
17
18
  textDecoration: 'none',
18
19
  cursor: 'pointer',
19
20
  width: '100%'
@@ -1 +1 @@
1
- {"version":3,"file":"getBaseMenuItemStyles.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.ts"],"sourcesContent":["import type { CSSObject } from 'styled-components';\nimport type { Theme } from '~components/BladeProvider';\nimport { isReactNative, makeBorderSize } from '~utils';\nimport { makeSize } from '~utils/makeSize';\n\nconst getBaseMenuItemStyles = (props: { theme: Theme }): CSSObject => {\n return {\n borderWidth: makeBorderSize(props.theme.border.width.none),\n display: 'flex',\n flexDirection: 'column',\n textAlign: isReactNative() ? undefined : 'left',\n backgroundColor: 'transparent',\n borderRadius: makeSize(props.theme.border.radius.medium),\n marginTop: makeSize(props.theme.spacing[1]),\n marginBottom: makeSize(props.theme.spacing[1]),\n textDecoration: 'none',\n cursor: 'pointer',\n width: '100%',\n };\n};\n\nexport { getBaseMenuItemStyles };\n"],"names":["getBaseMenuItemStyles","props","borderWidth","makeBorderSize","theme","border","width","none","display","flexDirection","textAlign","isReactNative","undefined","backgroundColor","borderRadius","makeSize","radius","medium","marginTop","spacing","marginBottom","textDecoration","cursor"],"mappings":";;;;;;AAKA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,KAAuB,EAAgB;EACpE,OAAO;AACLC,IAAAA,WAAW,EAAEC,cAAc,CAACF,KAAK,CAACG,KAAK,CAACC,MAAM,CAACC,KAAK,CAACC,IAAI,CAAC;AAC1DC,IAAAA,OAAO,EAAE,MAAM;AACfC,IAAAA,aAAa,EAAE,QAAQ;AACvBC,IAAAA,SAAS,EAAEC,aAAa,EAAE,GAAGC,SAAS,GAAG,MAAM;AAC/CC,IAAAA,eAAe,EAAE,aAAa;AAC9BC,IAAAA,YAAY,EAAEC,QAAQ,CAACd,KAAK,CAACG,KAAK,CAACC,MAAM,CAACW,MAAM,CAACC,MAAM,CAAC;IACxDC,SAAS,EAAEH,QAAQ,CAACd,KAAK,CAACG,KAAK,CAACe,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3CC,YAAY,EAAEL,QAAQ,CAACd,KAAK,CAACG,KAAK,CAACe,OAAO,CAAC,CAAC,CAAC,CAAC;AAC9CE,IAAAA,cAAc,EAAE,MAAM;AACtBC,IAAAA,MAAM,EAAE,SAAS;AACjBhB,IAAAA,KAAK,EAAE,MAAA;GACR,CAAA;AACH;;;;"}
1
+ {"version":3,"file":"getBaseMenuItemStyles.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.ts"],"sourcesContent":["import type { CSSObject } from 'styled-components';\nimport { getItemMargin } from './tokens';\nimport type { Theme } from '~components/BladeProvider';\nimport { isReactNative, makeBorderSize } from '~utils';\nimport { makeSize } from '~utils/makeSize';\n\nconst getBaseMenuItemStyles = (props: { theme: Theme }): CSSObject => {\n return {\n borderWidth: makeBorderSize(props.theme.border.width.none),\n display: 'flex',\n flexDirection: 'column',\n textAlign: isReactNative() ? undefined : 'left',\n backgroundColor: 'transparent',\n borderRadius: makeSize(props.theme.border.radius.medium),\n marginTop: makeSize(getItemMargin(props.theme)),\n marginBottom: makeSize(getItemMargin(props.theme)),\n textDecoration: 'none',\n cursor: 'pointer',\n width: '100%',\n };\n};\n\nexport { getBaseMenuItemStyles };\n"],"names":["getBaseMenuItemStyles","props","borderWidth","makeBorderSize","theme","border","width","none","display","flexDirection","textAlign","isReactNative","undefined","backgroundColor","borderRadius","makeSize","radius","medium","marginTop","getItemMargin","marginBottom","textDecoration","cursor"],"mappings":";;;;;;;AAMA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,KAAuB,EAAgB;EACpE,OAAO;AACLC,IAAAA,WAAW,EAAEC,cAAc,CAACF,KAAK,CAACG,KAAK,CAACC,MAAM,CAACC,KAAK,CAACC,IAAI,CAAC;AAC1DC,IAAAA,OAAO,EAAE,MAAM;AACfC,IAAAA,aAAa,EAAE,QAAQ;AACvBC,IAAAA,SAAS,EAAEC,aAAa,EAAE,GAAGC,SAAS,GAAG,MAAM;AAC/CC,IAAAA,eAAe,EAAE,aAAa;AAC9BC,IAAAA,YAAY,EAAEC,QAAQ,CAACd,KAAK,CAACG,KAAK,CAACC,MAAM,CAACW,MAAM,CAACC,MAAM,CAAC;IACxDC,SAAS,EAAEH,QAAQ,CAACI,aAAa,CAAClB,KAAK,CAACG,KAAK,CAAC,CAAC;IAC/CgB,YAAY,EAAEL,QAAQ,CAACI,aAAa,CAAClB,KAAK,CAACG,KAAK,CAAC,CAAC;AAClDiB,IAAAA,cAAc,EAAE,MAAM;AACtBC,IAAAA,MAAM,EAAE,SAAS;AACjBhB,IAAAA,KAAK,EAAE,MAAA;GACR,CAAA;AACH;;;;"}
@@ -0,0 +1,26 @@
1
+ import '../../../tokens/global/index.js';
2
+ import { size } from '../../../tokens/global/size.js';
3
+
4
+ var itemFirstRowHeight = size[20];
5
+ var getItemPadding = function getItemPadding(theme) {
6
+ return {
7
+ itemPaddingMobile: theme.spacing[2],
8
+ itemPaddingDesktop: theme.spacing[3]
9
+ };
10
+ };
11
+ var getItemMargin = function getItemMargin(theme) {
12
+ return theme.spacing[1];
13
+ };
14
+ var getItemHeight = function getItemHeight(theme) {
15
+ return {
16
+ itemHeightMobile:
17
+ // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
18
+ itemFirstRowHeight + getItemPadding(theme).itemPaddingMobile * 2 + getItemMargin(theme) * 2,
19
+ itemHeightDesktop:
20
+ // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
21
+ itemFirstRowHeight + getItemPadding(theme).itemPaddingDesktop * 2 + getItemMargin(theme) * 2
22
+ };
23
+ };
24
+
25
+ export { getItemHeight, getItemMargin, getItemPadding, itemFirstRowHeight };
26
+ //# sourceMappingURL=tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.js","sources":["../../../../../../../src/components/BaseMenu/BaseMenuItem/tokens.ts"],"sourcesContent":["import type { Theme } from '~components/BladeProvider';\nimport { size } from '~tokens/global';\n\nconst itemFirstRowHeight = size[20];\n\nconst getItemPadding = (\n theme: Theme,\n): {\n itemPaddingMobile: 4;\n itemPaddingDesktop: 8;\n} => {\n return {\n itemPaddingMobile: theme.spacing[2],\n itemPaddingDesktop: theme.spacing[3],\n };\n};\n\nconst getItemMargin = (theme: Theme): number => {\n return theme.spacing[1];\n};\n\nconst getItemHeight = (\n theme: Theme,\n): {\n itemHeightMobile: number;\n itemHeightDesktop: number;\n} => {\n return {\n itemHeightMobile:\n // eslint-disable-next-line @typescript-eslint/restrict-plus-operands\n itemFirstRowHeight + getItemPadding(theme).itemPaddingMobile * 2 + getItemMargin(theme) * 2,\n itemHeightDesktop:\n // eslint-disable-next-line @typescript-eslint/restrict-plus-operands\n itemFirstRowHeight + getItemPadding(theme).itemPaddingDesktop * 2 + getItemMargin(theme) * 2,\n };\n};\n\nexport { itemFirstRowHeight, getItemPadding, getItemMargin, getItemHeight };\n"],"names":["itemFirstRowHeight","size","getItemPadding","theme","itemPaddingMobile","spacing","itemPaddingDesktop","getItemMargin","getItemHeight","itemHeightMobile","itemHeightDesktop"],"mappings":";;;AAGA,IAAMA,kBAAkB,GAAGC,IAAI,CAAC,EAAE,EAAC;AAEnC,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAClBC,KAAY,EAIT;EACH,OAAO;AACLC,IAAAA,iBAAiB,EAAED,KAAK,CAACE,OAAO,CAAC,CAAC,CAAC;AACnCC,IAAAA,kBAAkB,EAAEH,KAAK,CAACE,OAAO,CAAC,CAAC,CAAA;GACpC,CAAA;AACH,EAAC;AAED,IAAME,aAAa,GAAG,SAAhBA,aAAaA,CAAIJ,KAAY,EAAa;AAC9C,EAAA,OAAOA,KAAK,CAACE,OAAO,CAAC,CAAC,CAAC,CAAA;AACzB,EAAC;AAED,IAAMG,aAAa,GAAG,SAAhBA,aAAaA,CACjBL,KAAY,EAIT;EACH,OAAO;IACLM,gBAAgB;AACd;AACAT,IAAAA,kBAAkB,GAAGE,cAAc,CAACC,KAAK,CAAC,CAACC,iBAAiB,GAAG,CAAC,GAAGG,aAAa,CAACJ,KAAK,CAAC,GAAG,CAAC;IAC7FO,iBAAiB;AACf;AACAV,IAAAA,kBAAkB,GAAGE,cAAc,CAACC,KAAK,CAAC,CAACG,kBAAkB,GAAG,CAAC,GAAGC,aAAa,CAACJ,KAAK,CAAC,GAAG,CAAA;GAC9F,CAAA;AACH;;;;"}
@@ -0,0 +1,37 @@
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import '../_Svg/index.js';
4
+ import '../useIconProps/index.js';
5
+ import { jsx } from 'react/jsx-runtime';
6
+ import useIconProps from '../useIconProps/useIconProps.js';
7
+ import Svg from '../_Svg/Svg/Svg.web.js';
8
+ import Path from '../_Svg/Path/Path.web.js';
9
+
10
+ var _excluded = ["size", "color"];
11
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
+ var RayIcon = function RayIcon(_ref) {
14
+ var size = _ref.size,
15
+ color = _ref.color,
16
+ styledProps = _objectWithoutProperties(_ref, _excluded);
17
+ var _useIconProps = useIconProps({
18
+ size: size,
19
+ color: color
20
+ }),
21
+ height = _useIconProps.height,
22
+ width = _useIconProps.width,
23
+ iconColor = _useIconProps.iconColor;
24
+ return /*#__PURE__*/jsx(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
25
+ width: width,
26
+ height: height,
27
+ viewBox: "0 0 24 24",
28
+ fill: "none",
29
+ children: /*#__PURE__*/jsx(Path, {
30
+ d: "M3 3H7.5H9.74999L12 12L14.25 3H16.5H21V7.5V9.75L12 12L21 14.25V16.5V21H16.5H14.25L12 12L9.74999 21H7.5H3V16.5V14.25L12 12L3 9.75V7.5V3Z",
31
+ fill: iconColor
32
+ })
33
+ }));
34
+ };
35
+
36
+ export { RayIcon as default };
37
+ //# sourceMappingURL=RayIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RayIcon.js","sources":["../../../../../../../src/components/Icons/RayIcon/RayIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\n\nconst RayIcon: IconComponent = ({ size, color, ...styledProps }) => {\n const { height, width, iconColor } = useIconProps({ size, color });\n\n return (\n <Svg {...styledProps} width={width} height={height} viewBox=\"0 0 24 24\" fill=\"none\">\n <Path\n d=\"M3 3H7.5H9.74999L12 12L14.25 3H16.5H21V7.5V9.75L12 12L21 14.25V16.5V21H16.5H14.25L12 12L9.74999 21H7.5H3V16.5V14.25L12 12L3 9.75V7.5V3Z\"\n fill={iconColor}\n />\n </Svg>\n );\n};\n\nexport default RayIcon;\n"],"names":["RayIcon","_ref","size","color","styledProps","_objectWithoutProperties","_excluded","_useIconProps","useIconProps","height","width","iconColor","_jsx","Svg","_objectSpread","viewBox","fill","children","Path","d"],"mappings":";;;;;;;;;;;;AAIA,IAAMA,OAAsB,GAAG,SAAzBA,OAAsBA,CAAAC,IAAA,EAAwC;AAAA,EAAA,IAAlCC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;AAAKC,IAAAA,WAAW,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;EAC3D,IAAAC,aAAA,GAAqCC,YAAY,CAAC;AAAEN,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,KAAK,EAALA,KAAAA;AAAM,KAAC,CAAC;IAA1DM,MAAM,GAAAF,aAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,aAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,aAAA,CAATI,SAAS,CAAA;EAEhC,oBACEC,GAAA,CAACC,GAAG,EAAAC,aAAA,CAAAA,aAAA,KAAKV,WAAW,CAAA,EAAA,EAAA,EAAA;AAAEM,IAAAA,KAAK,EAAEA,KAAM;AAACD,IAAAA,MAAM,EAAEA,MAAO;AAACM,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAM;IAAAC,QAAA,eACjFL,GAAA,CAACM,IAAI,EAAA;AACHC,MAAAA,CAAC,EAAC,yIAAyI;AAC3IH,MAAAA,IAAI,EAAEL,SAAAA;KACP,CAAA;AAAC,GAAA,CACC,CAAC,CAAA;AAEV;;;;"}
@@ -0,0 +1,2 @@
1
+ export { default } from './RayIcon.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -252,6 +252,7 @@ import './PowerIcon/index.js';
252
252
  import './PrinterIcon/index.js';
253
253
  import './QRCodeIcon/index.js';
254
254
  import './RadioIcon/index.js';
255
+ import './RayIcon/index.js';
255
256
  import './RazorpayIcon/index.js';
256
257
  import './RazorpayXIcon/index.js';
257
258
  import './RazorpayxPayrollIcon/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/components/Icons/index.ts"],"sourcesContent":["// This file is auto generated\n// Modify at blade/plop/icon/iconReexports.ts.hbs\nexport * from './types';\nexport { default as AcceptPaymentsIcon } from './AcceptPaymentsIcon';\nexport { default as ActivityIcon } from './ActivityIcon';\nexport { default as AddressBookIcon } from './AddressBookIcon';\nexport { default as AffordabilityIcon } from './AffordabilityIcon';\nexport { default as AirplayIcon } from './AirplayIcon';\nexport { default as AlertCircleIcon } from './AlertCircleIcon';\nexport { default as AlertOctagonIcon } from './AlertOctagonIcon';\nexport { default as AlertOnlyIcon } from './AlertOnlyIcon';\nexport { default as AlertTriangleIcon } from './AlertTriangleIcon';\nexport { default as AlignCenterIcon } from './AlignCenterIcon';\nexport { default as AlignJustifyIcon } from './AlignJustifyIcon';\nexport { default as AlignLeftIcon } from './AlignLeftIcon';\nexport { default as AlignRightIcon } from './AlignRightIcon';\nexport { default as AnchorIcon } from './AnchorIcon';\nexport { default as AnnouncementIcon } from './AnnouncementIcon';\nexport { default as ApertureIcon } from './ApertureIcon';\nexport { default as AppStoreIcon } from './AppStoreIcon';\nexport { default as ArrowDownIcon } from './ArrowDownIcon';\nexport { default as ArrowDownLeftIcon } from './ArrowDownLeftIcon';\nexport { default as ArrowDownRightIcon } from './ArrowDownRightIcon';\nexport { default as ArrowLeftIcon } from './ArrowLeftIcon';\nexport { default as ArrowRightIcon } from './ArrowRightIcon';\nexport { default as ArrowUpIcon } from './ArrowUpIcon';\nexport { default as ArrowUpLeftIcon } from './ArrowUpLeftIcon';\nexport { default as ArrowUpRightIcon } from './ArrowUpRightIcon';\nexport { default as AtSignIcon } from './AtSignIcon';\nexport { default as AttachmentIcon } from './AttachmentIcon';\nexport { default as AutomateAccountingIcon } from './AutomateAccountingIcon';\nexport { default as AutomatePayrollIcon } from './AutomatePayrollIcon';\nexport { default as AwardIcon } from './AwardIcon';\nexport { default as BankAccountVerificationIcon } from './BankAccountVerificationIcon';\nexport { default as BankIcon } from './BankIcon';\nexport { default as BarChartAltIcon } from './BarChartAltIcon';\nexport { default as BarChartIcon } from './BarChartIcon';\nexport { default as BarCodeIcon } from './BarCodeIcon';\nexport { default as Battery100PercentIcon } from './Battery100PercentIcon';\nexport { default as Battery20PercentIcon } from './Battery20PercentIcon';\nexport { default as Battery40PercentIcon } from './Battery40PercentIcon';\nexport { default as Battery60PercentIcon } from './Battery60PercentIcon';\nexport { default as Battery80PercentIcon } from './Battery80PercentIcon';\nexport { default as BatteryChargingIcon } from './BatteryChargingIcon';\nexport { default as BatteryIcon } from './BatteryIcon';\nexport { default as BellIcon } from './BellIcon';\nexport { default as BellOffIcon } from './BellOffIcon';\nexport { default as BfsiIcon } from './BfsiIcon';\nexport { default as BillIcon } from './BillIcon';\nexport { default as BillMeIcon } from './BillMeIcon';\nexport { default as BluetoothIcon } from './BluetoothIcon';\nexport { default as BoldIcon } from './BoldIcon';\nexport { default as BookIcon } from './BookIcon';\nexport { default as BookmarkIcon } from './BookmarkIcon';\nexport { default as BoxIcon } from './BoxIcon';\nexport { default as BriefcaseIcon } from './BriefcaseIcon';\nexport { default as BugIcon } from './BugIcon';\nexport { default as BuildingIcon } from './BuildingIcon';\nexport { default as BulkPayoutsIcon } from './BulkPayoutsIcon';\nexport { default as BusinessBankingIcon } from './BusinessBankingIcon';\nexport { default as BusinessSpendManagementIcon } from './BusinessSpendManagementIcon';\nexport { default as CalendarIcon } from './CalendarIcon';\nexport { default as CameraIcon } from './CameraIcon';\nexport { default as CameraOffIcon } from './CameraOffIcon';\nexport { default as CashIcon } from './CashIcon';\nexport { default as CastIcon } from './CastIcon';\nexport { default as CheckCircle2Icon } from './CheckCircle2Icon';\nexport { default as CheckCircleIcon } from './CheckCircleIcon';\nexport { default as CheckIcon } from './CheckIcon';\nexport { default as CheckSquareIcon } from './CheckSquareIcon';\nexport { default as ChevronDownIcon } from './ChevronDownIcon';\nexport { default as ChevronLeftIcon } from './ChevronLeftIcon';\nexport { default as ChevronRightIcon } from './ChevronRightIcon';\nexport { default as ChevronUpIcon } from './ChevronUpIcon';\nexport { default as ChevronsDownIcon } from './ChevronsDownIcon';\nexport { default as ChevronsLeftIcon } from './ChevronsLeftIcon';\nexport { default as ChevronsRightIcon } from './ChevronsRightIcon';\nexport { default as ChevronsUpIcon } from './ChevronsUpIcon';\nexport { default as ChromeIcon } from './ChromeIcon';\nexport { default as CircleIcon } from './CircleIcon';\nexport { default as ClipboardIcon } from './ClipboardIcon';\nexport { default as ClockIcon } from './ClockIcon';\nexport { default as CloseIcon } from './CloseIcon';\nexport { default as ClosedCaptioningIcon } from './ClosedCaptioningIcon';\nexport { default as CloudDrizzleIcon } from './CloudDrizzleIcon';\nexport { default as CloudIcon } from './CloudIcon';\nexport { default as CloudLightningIcon } from './CloudLightningIcon';\nexport { default as CloudOffIcon } from './CloudOffIcon';\nexport { default as CloudRainIcon } from './CloudRainIcon';\nexport { default as CloudSnowIcon } from './CloudSnowIcon';\nexport { default as CodeSnippetIcon } from './CodeSnippetIcon';\nexport { default as CodepenIcon } from './CodepenIcon';\nexport { default as CoinIcon } from './CoinIcon';\nexport { default as CoinsIcon } from './CoinsIcon';\nexport { default as CommandIcon } from './CommandIcon';\nexport { default as CompanyRegistrationIcon } from './CompanyRegistrationIcon';\nexport { default as CompassIcon } from './CompassIcon';\nexport { default as ConfettiIcon } from './ConfettiIcon';\nexport { default as ContactlessPaymentIcon } from './ContactlessPaymentIcon';\nexport { default as CookieIcon } from './CookieIcon';\nexport { default as CopyIcon } from './CopyIcon';\nexport { default as CopyrightIcon } from './CopyrightIcon';\nexport { default as CornerDownLeftIcon } from './CornerDownLeftIcon';\nexport { default as CornerDownRightIcon } from './CornerDownRightIcon';\nexport { default as CornerLeftDownIcon } from './CornerLeftDownIcon';\nexport { default as CornerLeftUpIcon } from './CornerLeftUpIcon';\nexport { default as CornerRightDownIcon } from './CornerRightDownIcon';\nexport { default as CornerRightUpIcon } from './CornerRightUpIcon';\nexport { default as CornerUpLeftIcon } from './CornerUpLeftIcon';\nexport { default as CornerUpRightIcon } from './CornerUpRightIcon';\nexport { default as CpuIcon } from './CpuIcon';\nexport { default as CreditCardIcon } from './CreditCardIcon';\nexport { default as CreditsAndLoansIcon } from './CreditsAndLoansIcon';\nexport { default as CropIcon } from './CropIcon';\nexport { default as CrosshairIcon } from './CrosshairIcon';\nexport { default as CurrentAccountIcon } from './CurrentAccountIcon';\nexport { default as CustomersIcon } from './CustomersIcon';\nexport { default as CutIcon } from './CutIcon';\nexport { default as DashboardIcon } from './DashboardIcon';\nexport { default as DeleteIcon } from './DeleteIcon';\nexport { default as DigitalLendingIcon } from './DigitalLendingIcon';\nexport { default as DisbursePaymentsIcon } from './DisbursePaymentsIcon';\nexport { default as DiscIcon } from './DiscIcon';\nexport { default as DollarIcon } from './DollarIcon';\nexport { default as DollarsIcon } from './DollarsIcon';\nexport { default as DotIcon } from './DotIcon';\nexport { default as DownloadCloudIcon } from './DownloadCloudIcon';\nexport { default as DownloadIcon } from './DownloadIcon';\nexport { default as DropletIcon } from './DropletIcon';\nexport { default as EcommerceIcon } from './EcommerceIcon';\nexport { default as EditComposeIcon } from './EditComposeIcon';\nexport { default as EditIcon } from './EditIcon';\nexport { default as EditInlineIcon } from './EditInlineIcon';\nexport { default as EducationIcon } from './EducationIcon';\nexport { default as EqualsIcon } from './EqualsIcon';\nexport { default as EscrowAccountIcon } from './EscrowAccountIcon';\nexport { default as ExportIcon } from './ExportIcon';\nexport { default as ExternalLinkIcon } from './ExternalLinkIcon';\nexport { default as EyeIcon } from './EyeIcon';\nexport { default as EyeOffIcon } from './EyeOffIcon';\nexport { default as FacebookIcon } from './FacebookIcon';\nexport { default as FastForwardIcon } from './FastForwardIcon';\nexport { default as FeatherIcon } from './FeatherIcon';\nexport { default as FigmaIcon } from './FigmaIcon';\nexport { default as FileIcon } from './FileIcon';\nexport { default as FileMinusIcon } from './FileMinusIcon';\nexport { default as FilePlusIcon } from './FilePlusIcon';\nexport { default as FileTextIcon } from './FileTextIcon';\nexport { default as FileZipIcon } from './FileZipIcon';\nexport { default as FilmIcon } from './FilmIcon';\nexport { default as FilterIcon } from './FilterIcon';\nexport { default as FlagIcon } from './FlagIcon';\nexport { default as FolderIcon } from './FolderIcon';\nexport { default as ForexManagementIcon } from './ForexManagementIcon';\nexport { default as FreelanceIcon } from './FreelanceIcon';\nexport { default as FullScreenEnterIcon } from './FullScreenEnterIcon';\nexport { default as FullScreenExitIcon } from './FullScreenExitIcon';\nexport { default as GithubIcon } from './GithubIcon';\nexport { default as GitlabIcon } from './GitlabIcon';\nexport { default as GlobeIcon } from './GlobeIcon';\nexport { default as GridIcon } from './GridIcon';\nexport { default as HashIcon } from './HashIcon';\nexport { default as HeadphoneIcon } from './HeadphoneIcon';\nexport { default as HeadphonesIcon } from './HeadphonesIcon';\nexport { default as HeadsetIcon } from './HeadsetIcon';\nexport { default as HeartIcon } from './HeartIcon';\nexport { default as HelpCircleIcon } from './HelpCircleIcon';\nexport { default as HistoryIcon } from './HistoryIcon';\nexport { default as HomeIcon } from './HomeIcon';\nexport { default as ImageIcon } from './ImageIcon';\nexport { default as InboxIcon } from './InboxIcon';\nexport { default as IndiaFlagIcon } from './IndiaFlagIcon';\nexport { default as InfoIcon } from './InfoIcon';\nexport { default as InstagramIcon } from './InstagramIcon';\nexport { default as InstantSettlementIcon } from './InstantSettlementIcon';\nexport { default as InternationalPaymentsIcon } from './InternationalPaymentsIcon';\nexport { default as InvoicesIcon } from './InvoicesIcon';\nexport { default as ItalicIcon } from './ItalicIcon';\nexport { default as LayersIcon } from './LayersIcon';\nexport { default as LayoutIcon } from './LayoutIcon';\nexport { default as LifeBuoyIcon } from './LifeBuoyIcon';\nexport { default as LinkIcon } from './LinkIcon';\nexport { default as ListIcon } from './ListIcon';\nexport { default as LoaderIcon } from './LoaderIcon';\nexport { default as LoansForBusinessesIcon } from './LoansForBusinessesIcon';\nexport { default as LockIcon } from './LockIcon';\nexport { default as LogInIcon } from './LogInIcon';\nexport { default as LogOutIcon } from './LogOutIcon';\nexport { default as MagicCheckoutIcon } from './MagicCheckoutIcon';\nexport { default as MagicKonnectIcon } from './MagicKonnectIcon';\nexport { default as MailIcon } from './MailIcon';\nexport { default as MailOpenIcon } from './MailOpenIcon';\nexport { default as MapIcon } from './MapIcon';\nexport { default as MapPinIcon } from './MapPinIcon';\nexport { default as MaximizeIcon } from './MaximizeIcon';\nexport { default as MenuDotsIcon } from './MenuDotsIcon';\nexport { default as MenuIcon } from './MenuIcon';\nexport { default as MessageCircleIcon } from './MessageCircleIcon';\nexport { default as MessageSquareIcon } from './MessageSquareIcon';\nexport { default as MicIcon } from './MicIcon';\nexport { default as MicOffIcon } from './MicOffIcon';\nexport { default as MinimizeIcon } from './MinimizeIcon';\nexport { default as MinusCircleIcon } from './MinusCircleIcon';\nexport { default as MinusIcon } from './MinusIcon';\nexport { default as MinusSquareIcon } from './MinusSquareIcon';\nexport { default as MobileAppIcon } from './MobileAppIcon';\nexport { default as MonitorIcon } from './MonitorIcon';\nexport { default as MoonIcon } from './MoonIcon';\nexport { default as MoreHorizontalIcon } from './MoreHorizontalIcon';\nexport { default as MoreIcon } from './MoreIcon';\nexport { default as MoreVerticalIcon } from './MoreVerticalIcon';\nexport { default as MoveIcon } from './MoveIcon';\nexport { default as MusicIcon } from './MusicIcon';\nexport { default as MyAccountIcon } from './MyAccountIcon';\nexport { default as NavigationIcon } from './NavigationIcon';\nexport { default as NoSignalIcon } from './NoSignalIcon';\nexport { default as OctagonIcon } from './OctagonIcon';\nexport { default as OffersIcon } from './OffersIcon';\nexport { default as OptimizerIcon } from './OptimizerIcon';\nexport { default as PackageIcon } from './PackageIcon';\nexport { default as PaperclipIcon } from './PaperclipIcon';\nexport { default as PauseCircleIcon } from './PauseCircleIcon';\nexport { default as PauseIcon } from './PauseIcon';\nexport { default as PaymentButtonIcon } from './PaymentButtonIcon';\nexport { default as PaymentButtonsIcon } from './PaymentButtonsIcon';\nexport { default as PaymentGatewayIcon } from './PaymentGatewayIcon';\nexport { default as PaymentLinkIcon } from './PaymentLinkIcon';\nexport { default as PaymentLinksIcon } from './PaymentLinksIcon';\nexport { default as PaymentPagesIcon } from './PaymentPagesIcon';\nexport { default as PayoutLinkIcon } from './PayoutLinkIcon';\nexport { default as PayrollAddonsIcon } from './PayrollAddonsIcon';\nexport { default as PayrollForCaIcon } from './PayrollForCaIcon';\nexport { default as PayrollForStartupOrSmeIcon } from './PayrollForStartupOrSmeIcon';\nexport { default as PercentIcon } from './PercentIcon';\nexport { default as PettyCashBudgetIcon } from './PettyCashBudgetIcon';\nexport { default as PhoneCallIcon } from './PhoneCallIcon';\nexport { default as PhoneForwardedIcon } from './PhoneForwardedIcon';\nexport { default as PhoneIcon } from './PhoneIcon';\nexport { default as PhoneIncomingIcon } from './PhoneIncomingIcon';\nexport { default as PhoneMissedIcon } from './PhoneMissedIcon';\nexport { default as PhoneOffIcon } from './PhoneOffIcon';\nexport { default as PhoneOutgoingIcon } from './PhoneOutgoingIcon';\nexport { default as PictureInPictureIcon } from './PictureInPictureIcon';\nexport { default as PieChartIcon } from './PieChartIcon';\nexport { default as PinIcon } from './PinIcon';\nexport { default as PlayCircleIcon } from './PlayCircleIcon';\nexport { default as PlayIcon } from './PlayIcon';\nexport { default as PlusCircleIcon } from './PlusCircleIcon';\nexport { default as PlusIcon } from './PlusIcon';\nexport { default as PlusSquareIcon } from './PlusSquareIcon';\nexport { default as PocketIcon } from './PocketIcon';\nexport { default as PosIcon } from './PosIcon';\nexport { default as PowerIcon } from './PowerIcon';\nexport { default as PrinterIcon } from './PrinterIcon';\nexport { default as QRCodeIcon } from './QRCodeIcon';\nexport { default as RadioIcon } from './RadioIcon';\nexport { default as RazorpayIcon } from './RazorpayIcon';\nexport { default as RazorpayXIcon } from './RazorpayXIcon';\nexport { default as RazorpayxPayrollIcon } from './RazorpayxPayrollIcon';\nexport { default as RefreshIcon } from './RefreshIcon';\nexport { default as RepeatIcon } from './RepeatIcon';\nexport { default as ReportsIcon } from './ReportsIcon';\nexport { default as ResizerIcon } from './ResizerIcon';\nexport { default as RewindIcon } from './RewindIcon';\nexport { default as RotateClockWiseIcon } from './RotateClockWiseIcon';\nexport { default as RotateCounterClockWiseIcon } from './RotateCounterClockWiseIcon';\nexport { default as RouteIcon } from './RouteIcon';\nexport { default as RoutesIcon } from './RoutesIcon';\nexport { default as RupeeIcon } from './RupeeIcon';\nexport { default as RupeesIcon } from './RupeesIcon';\nexport { default as SaasIcon } from './SaasIcon';\nexport { default as SaveIcon } from './SaveIcon';\nexport { default as ScissorsIcon } from './ScissorsIcon';\nexport { default as SearchIcon } from './SearchIcon';\nexport { default as SendIcon } from './SendIcon';\nexport { default as ServerIcon } from './ServerIcon';\nexport { default as SettingsIcon } from './SettingsIcon';\nexport { default as SettlementsIcon } from './SettlementsIcon';\nexport { default as ShareIcon } from './ShareIcon';\nexport { default as ShieldIcon } from './ShieldIcon';\nexport { default as ShoppingBagIcon } from './ShoppingBagIcon';\nexport { default as ShoppingCartIcon } from './ShoppingCartIcon';\nexport { default as ShuffleIcon } from './ShuffleIcon';\nexport { default as SidebarIcon } from './SidebarIcon';\nexport { default as Signal1BarIcon } from './Signal1BarIcon';\nexport { default as Signal2BarIcon } from './Signal2BarIcon';\nexport { default as Signal3BarIcon } from './Signal3BarIcon';\nexport { default as Signal4BarIcon } from './Signal4BarIcon';\nexport { default as SignalIcon } from './SignalIcon';\nexport { default as SimCardIcon } from './SimCardIcon';\nexport { default as SkipBackIcon } from './SkipBackIcon';\nexport { default as SkipForwardIcon } from './SkipForwardIcon';\nexport { default as SlackIcon } from './SlackIcon';\nexport { default as SlashIcon } from './SlashIcon';\nexport { default as SlidersIcon } from './SlidersIcon';\nexport { default as SmartCollectIcon } from './SmartCollectIcon';\nexport { default as SmartphoneIcon } from './SmartphoneIcon';\nexport { default as SolutionsIcon } from './SolutionsIcon';\nexport { default as SourceToPayIcon } from './SourceToPayIcon';\nexport { default as SparklesIcon } from './SparklesIcon';\nexport { default as SpeakerIcon } from './SpeakerIcon';\nexport { default as SquareIcon } from './SquareIcon';\nexport { default as StampIcon } from './StampIcon';\nexport { default as StarIcon } from './StarIcon';\nexport { default as StopCircleIcon } from './StopCircleIcon';\nexport { default as StorefrontIcon } from './StorefrontIcon';\nexport { default as SubscriptionsIcon } from './SubscriptionsIcon';\nexport { default as SunIcon } from './SunIcon';\nexport { default as SunriseIcon } from './SunriseIcon';\nexport { default as SunsetIcon } from './SunsetIcon';\nexport { default as TabletIcon } from './TabletIcon';\nexport { default as TagIcon } from './TagIcon';\nexport { default as TargetIcon } from './TargetIcon';\nexport { default as TaxPaymentsIcon } from './TaxPaymentsIcon';\nexport { default as TestIcon } from './TestIcon';\nexport { default as ThermometerIcon } from './ThermometerIcon';\nexport { default as ThumbsDownIcon } from './ThumbsDownIcon';\nexport { default as ThumbsUpIcon } from './ThumbsUpIcon';\nexport { default as TicketIcon } from './TicketIcon';\nexport { default as ToggleLeftIcon } from './ToggleLeftIcon';\nexport { default as ToggleRightIcon } from './ToggleRightIcon';\nexport { default as TokenHqIcon } from './TokenHqIcon';\nexport { default as TrademarkIcon } from './TrademarkIcon';\nexport { default as TrademarkRegisteredIcon } from './TrademarkRegisteredIcon';\nexport { default as TransactionsIcon } from './TransactionsIcon';\nexport { default as TrashIcon } from './TrashIcon';\nexport { default as TrendingDownIcon } from './TrendingDownIcon';\nexport { default as TrendingUpIcon } from './TrendingUpIcon';\nexport { default as TriangleIcon } from './TriangleIcon';\nexport { default as TvIcon } from './TvIcon';\nexport { default as TwitterIcon } from './TwitterIcon';\nexport { default as TypeIcon } from './TypeIcon';\nexport { default as UmbrellaIcon } from './UmbrellaIcon';\nexport { default as UnderlineIcon } from './UnderlineIcon';\nexport { default as UnlockIcon } from './UnlockIcon';\nexport { default as UpiAutopayIcon } from './UpiAutopayIcon';\nexport { default as UpiIcon } from './UpiIcon';\nexport { default as UploadCloudIcon } from './UploadCloudIcon';\nexport { default as UploadIcon } from './UploadIcon';\nexport { default as UserCheckIcon } from './UserCheckIcon';\nexport { default as UserIcon } from './UserIcon';\nexport { default as UserMinusIcon } from './UserMinusIcon';\nexport { default as UserPlusIcon } from './UserPlusIcon';\nexport { default as UserXIcon } from './UserXIcon';\nexport { default as UsersIcon } from './UsersIcon';\nexport { default as VendorPaymentsIcon } from './VendorPaymentsIcon';\nexport { default as VideoIcon } from './VideoIcon';\nexport { default as VideoOffIcon } from './VideoOffIcon';\nexport { default as ViewLiveDemoIcon } from './ViewLiveDemoIcon';\nexport { default as VoicemailIcon } from './VoicemailIcon';\nexport { default as VolumeHighIcon } from './VolumeHighIcon';\nexport { default as VolumeIcon } from './VolumeIcon';\nexport { default as VolumeLowIcon } from './VolumeLowIcon';\nexport { default as VolumeMuteIcon } from './VolumeMuteIcon';\nexport { default as WalletIcon } from './WalletIcon';\nexport { default as WatchIcon } from './WatchIcon';\nexport { default as WifiIcon } from './WifiIcon';\nexport { default as WifiOffIcon } from './WifiOffIcon';\nexport { default as WindIcon } from './WindIcon';\nexport { default as WorldwideIcon } from './WorldwideIcon';\nexport { default as XCircleIcon } from './XCircleIcon';\nexport { default as XSquareIcon } from './XSquareIcon';\nexport { default as YoutubeIcon } from './YoutubeIcon';\nexport { default as ZapIcon } from './ZapIcon';\nexport { default as ZoomInIcon } from './ZoomInIcon';\nexport { default as ZoomOutIcon } from './ZoomOutIcon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/components/Icons/index.ts"],"sourcesContent":["// This file is auto generated\n// Modify at blade/plop/icon/iconReexports.ts.hbs\nexport * from './types';\nexport { default as AcceptPaymentsIcon } from './AcceptPaymentsIcon';\nexport { default as ActivityIcon } from './ActivityIcon';\nexport { default as AddressBookIcon } from './AddressBookIcon';\nexport { default as AffordabilityIcon } from './AffordabilityIcon';\nexport { default as AirplayIcon } from './AirplayIcon';\nexport { default as AlertCircleIcon } from './AlertCircleIcon';\nexport { default as AlertOctagonIcon } from './AlertOctagonIcon';\nexport { default as AlertOnlyIcon } from './AlertOnlyIcon';\nexport { default as AlertTriangleIcon } from './AlertTriangleIcon';\nexport { default as AlignCenterIcon } from './AlignCenterIcon';\nexport { default as AlignJustifyIcon } from './AlignJustifyIcon';\nexport { default as AlignLeftIcon } from './AlignLeftIcon';\nexport { default as AlignRightIcon } from './AlignRightIcon';\nexport { default as AnchorIcon } from './AnchorIcon';\nexport { default as AnnouncementIcon } from './AnnouncementIcon';\nexport { default as ApertureIcon } from './ApertureIcon';\nexport { default as AppStoreIcon } from './AppStoreIcon';\nexport { default as ArrowDownIcon } from './ArrowDownIcon';\nexport { default as ArrowDownLeftIcon } from './ArrowDownLeftIcon';\nexport { default as ArrowDownRightIcon } from './ArrowDownRightIcon';\nexport { default as ArrowLeftIcon } from './ArrowLeftIcon';\nexport { default as ArrowRightIcon } from './ArrowRightIcon';\nexport { default as ArrowUpIcon } from './ArrowUpIcon';\nexport { default as ArrowUpLeftIcon } from './ArrowUpLeftIcon';\nexport { default as ArrowUpRightIcon } from './ArrowUpRightIcon';\nexport { default as AtSignIcon } from './AtSignIcon';\nexport { default as AttachmentIcon } from './AttachmentIcon';\nexport { default as AutomateAccountingIcon } from './AutomateAccountingIcon';\nexport { default as AutomatePayrollIcon } from './AutomatePayrollIcon';\nexport { default as AwardIcon } from './AwardIcon';\nexport { default as BankAccountVerificationIcon } from './BankAccountVerificationIcon';\nexport { default as BankIcon } from './BankIcon';\nexport { default as BarChartAltIcon } from './BarChartAltIcon';\nexport { default as BarChartIcon } from './BarChartIcon';\nexport { default as BarCodeIcon } from './BarCodeIcon';\nexport { default as Battery100PercentIcon } from './Battery100PercentIcon';\nexport { default as Battery20PercentIcon } from './Battery20PercentIcon';\nexport { default as Battery40PercentIcon } from './Battery40PercentIcon';\nexport { default as Battery60PercentIcon } from './Battery60PercentIcon';\nexport { default as Battery80PercentIcon } from './Battery80PercentIcon';\nexport { default as BatteryChargingIcon } from './BatteryChargingIcon';\nexport { default as BatteryIcon } from './BatteryIcon';\nexport { default as BellIcon } from './BellIcon';\nexport { default as BellOffIcon } from './BellOffIcon';\nexport { default as BfsiIcon } from './BfsiIcon';\nexport { default as BillIcon } from './BillIcon';\nexport { default as BillMeIcon } from './BillMeIcon';\nexport { default as BluetoothIcon } from './BluetoothIcon';\nexport { default as BoldIcon } from './BoldIcon';\nexport { default as BookIcon } from './BookIcon';\nexport { default as BookmarkIcon } from './BookmarkIcon';\nexport { default as BoxIcon } from './BoxIcon';\nexport { default as BriefcaseIcon } from './BriefcaseIcon';\nexport { default as BugIcon } from './BugIcon';\nexport { default as BuildingIcon } from './BuildingIcon';\nexport { default as BulkPayoutsIcon } from './BulkPayoutsIcon';\nexport { default as BusinessBankingIcon } from './BusinessBankingIcon';\nexport { default as BusinessSpendManagementIcon } from './BusinessSpendManagementIcon';\nexport { default as CalendarIcon } from './CalendarIcon';\nexport { default as CameraIcon } from './CameraIcon';\nexport { default as CameraOffIcon } from './CameraOffIcon';\nexport { default as CashIcon } from './CashIcon';\nexport { default as CastIcon } from './CastIcon';\nexport { default as CheckCircle2Icon } from './CheckCircle2Icon';\nexport { default as CheckCircleIcon } from './CheckCircleIcon';\nexport { default as CheckIcon } from './CheckIcon';\nexport { default as CheckSquareIcon } from './CheckSquareIcon';\nexport { default as ChevronDownIcon } from './ChevronDownIcon';\nexport { default as ChevronLeftIcon } from './ChevronLeftIcon';\nexport { default as ChevronRightIcon } from './ChevronRightIcon';\nexport { default as ChevronUpIcon } from './ChevronUpIcon';\nexport { default as ChevronsDownIcon } from './ChevronsDownIcon';\nexport { default as ChevronsLeftIcon } from './ChevronsLeftIcon';\nexport { default as ChevronsRightIcon } from './ChevronsRightIcon';\nexport { default as ChevronsUpIcon } from './ChevronsUpIcon';\nexport { default as ChromeIcon } from './ChromeIcon';\nexport { default as CircleIcon } from './CircleIcon';\nexport { default as ClipboardIcon } from './ClipboardIcon';\nexport { default as ClockIcon } from './ClockIcon';\nexport { default as CloseIcon } from './CloseIcon';\nexport { default as ClosedCaptioningIcon } from './ClosedCaptioningIcon';\nexport { default as CloudDrizzleIcon } from './CloudDrizzleIcon';\nexport { default as CloudIcon } from './CloudIcon';\nexport { default as CloudLightningIcon } from './CloudLightningIcon';\nexport { default as CloudOffIcon } from './CloudOffIcon';\nexport { default as CloudRainIcon } from './CloudRainIcon';\nexport { default as CloudSnowIcon } from './CloudSnowIcon';\nexport { default as CodeSnippetIcon } from './CodeSnippetIcon';\nexport { default as CodepenIcon } from './CodepenIcon';\nexport { default as CoinIcon } from './CoinIcon';\nexport { default as CoinsIcon } from './CoinsIcon';\nexport { default as CommandIcon } from './CommandIcon';\nexport { default as CompanyRegistrationIcon } from './CompanyRegistrationIcon';\nexport { default as CompassIcon } from './CompassIcon';\nexport { default as ConfettiIcon } from './ConfettiIcon';\nexport { default as ContactlessPaymentIcon } from './ContactlessPaymentIcon';\nexport { default as CookieIcon } from './CookieIcon';\nexport { default as CopyIcon } from './CopyIcon';\nexport { default as CopyrightIcon } from './CopyrightIcon';\nexport { default as CornerDownLeftIcon } from './CornerDownLeftIcon';\nexport { default as CornerDownRightIcon } from './CornerDownRightIcon';\nexport { default as CornerLeftDownIcon } from './CornerLeftDownIcon';\nexport { default as CornerLeftUpIcon } from './CornerLeftUpIcon';\nexport { default as CornerRightDownIcon } from './CornerRightDownIcon';\nexport { default as CornerRightUpIcon } from './CornerRightUpIcon';\nexport { default as CornerUpLeftIcon } from './CornerUpLeftIcon';\nexport { default as CornerUpRightIcon } from './CornerUpRightIcon';\nexport { default as CpuIcon } from './CpuIcon';\nexport { default as CreditCardIcon } from './CreditCardIcon';\nexport { default as CreditsAndLoansIcon } from './CreditsAndLoansIcon';\nexport { default as CropIcon } from './CropIcon';\nexport { default as CrosshairIcon } from './CrosshairIcon';\nexport { default as CurrentAccountIcon } from './CurrentAccountIcon';\nexport { default as CustomersIcon } from './CustomersIcon';\nexport { default as CutIcon } from './CutIcon';\nexport { default as DashboardIcon } from './DashboardIcon';\nexport { default as DeleteIcon } from './DeleteIcon';\nexport { default as DigitalLendingIcon } from './DigitalLendingIcon';\nexport { default as DisbursePaymentsIcon } from './DisbursePaymentsIcon';\nexport { default as DiscIcon } from './DiscIcon';\nexport { default as DollarIcon } from './DollarIcon';\nexport { default as DollarsIcon } from './DollarsIcon';\nexport { default as DotIcon } from './DotIcon';\nexport { default as DownloadCloudIcon } from './DownloadCloudIcon';\nexport { default as DownloadIcon } from './DownloadIcon';\nexport { default as DropletIcon } from './DropletIcon';\nexport { default as EcommerceIcon } from './EcommerceIcon';\nexport { default as EditComposeIcon } from './EditComposeIcon';\nexport { default as EditIcon } from './EditIcon';\nexport { default as EditInlineIcon } from './EditInlineIcon';\nexport { default as EducationIcon } from './EducationIcon';\nexport { default as EqualsIcon } from './EqualsIcon';\nexport { default as EscrowAccountIcon } from './EscrowAccountIcon';\nexport { default as ExportIcon } from './ExportIcon';\nexport { default as ExternalLinkIcon } from './ExternalLinkIcon';\nexport { default as EyeIcon } from './EyeIcon';\nexport { default as EyeOffIcon } from './EyeOffIcon';\nexport { default as FacebookIcon } from './FacebookIcon';\nexport { default as FastForwardIcon } from './FastForwardIcon';\nexport { default as FeatherIcon } from './FeatherIcon';\nexport { default as FigmaIcon } from './FigmaIcon';\nexport { default as FileIcon } from './FileIcon';\nexport { default as FileMinusIcon } from './FileMinusIcon';\nexport { default as FilePlusIcon } from './FilePlusIcon';\nexport { default as FileTextIcon } from './FileTextIcon';\nexport { default as FileZipIcon } from './FileZipIcon';\nexport { default as FilmIcon } from './FilmIcon';\nexport { default as FilterIcon } from './FilterIcon';\nexport { default as FlagIcon } from './FlagIcon';\nexport { default as FolderIcon } from './FolderIcon';\nexport { default as ForexManagementIcon } from './ForexManagementIcon';\nexport { default as FreelanceIcon } from './FreelanceIcon';\nexport { default as FullScreenEnterIcon } from './FullScreenEnterIcon';\nexport { default as FullScreenExitIcon } from './FullScreenExitIcon';\nexport { default as GithubIcon } from './GithubIcon';\nexport { default as GitlabIcon } from './GitlabIcon';\nexport { default as GlobeIcon } from './GlobeIcon';\nexport { default as GridIcon } from './GridIcon';\nexport { default as HashIcon } from './HashIcon';\nexport { default as HeadphoneIcon } from './HeadphoneIcon';\nexport { default as HeadphonesIcon } from './HeadphonesIcon';\nexport { default as HeadsetIcon } from './HeadsetIcon';\nexport { default as HeartIcon } from './HeartIcon';\nexport { default as HelpCircleIcon } from './HelpCircleIcon';\nexport { default as HistoryIcon } from './HistoryIcon';\nexport { default as HomeIcon } from './HomeIcon';\nexport { default as ImageIcon } from './ImageIcon';\nexport { default as InboxIcon } from './InboxIcon';\nexport { default as IndiaFlagIcon } from './IndiaFlagIcon';\nexport { default as InfoIcon } from './InfoIcon';\nexport { default as InstagramIcon } from './InstagramIcon';\nexport { default as InstantSettlementIcon } from './InstantSettlementIcon';\nexport { default as InternationalPaymentsIcon } from './InternationalPaymentsIcon';\nexport { default as InvoicesIcon } from './InvoicesIcon';\nexport { default as ItalicIcon } from './ItalicIcon';\nexport { default as LayersIcon } from './LayersIcon';\nexport { default as LayoutIcon } from './LayoutIcon';\nexport { default as LifeBuoyIcon } from './LifeBuoyIcon';\nexport { default as LinkIcon } from './LinkIcon';\nexport { default as ListIcon } from './ListIcon';\nexport { default as LoaderIcon } from './LoaderIcon';\nexport { default as LoansForBusinessesIcon } from './LoansForBusinessesIcon';\nexport { default as LockIcon } from './LockIcon';\nexport { default as LogInIcon } from './LogInIcon';\nexport { default as LogOutIcon } from './LogOutIcon';\nexport { default as MagicCheckoutIcon } from './MagicCheckoutIcon';\nexport { default as MagicKonnectIcon } from './MagicKonnectIcon';\nexport { default as MailIcon } from './MailIcon';\nexport { default as MailOpenIcon } from './MailOpenIcon';\nexport { default as MapIcon } from './MapIcon';\nexport { default as MapPinIcon } from './MapPinIcon';\nexport { default as MaximizeIcon } from './MaximizeIcon';\nexport { default as MenuDotsIcon } from './MenuDotsIcon';\nexport { default as MenuIcon } from './MenuIcon';\nexport { default as MessageCircleIcon } from './MessageCircleIcon';\nexport { default as MessageSquareIcon } from './MessageSquareIcon';\nexport { default as MicIcon } from './MicIcon';\nexport { default as MicOffIcon } from './MicOffIcon';\nexport { default as MinimizeIcon } from './MinimizeIcon';\nexport { default as MinusCircleIcon } from './MinusCircleIcon';\nexport { default as MinusIcon } from './MinusIcon';\nexport { default as MinusSquareIcon } from './MinusSquareIcon';\nexport { default as MobileAppIcon } from './MobileAppIcon';\nexport { default as MonitorIcon } from './MonitorIcon';\nexport { default as MoonIcon } from './MoonIcon';\nexport { default as MoreHorizontalIcon } from './MoreHorizontalIcon';\nexport { default as MoreIcon } from './MoreIcon';\nexport { default as MoreVerticalIcon } from './MoreVerticalIcon';\nexport { default as MoveIcon } from './MoveIcon';\nexport { default as MusicIcon } from './MusicIcon';\nexport { default as MyAccountIcon } from './MyAccountIcon';\nexport { default as NavigationIcon } from './NavigationIcon';\nexport { default as NoSignalIcon } from './NoSignalIcon';\nexport { default as OctagonIcon } from './OctagonIcon';\nexport { default as OffersIcon } from './OffersIcon';\nexport { default as OptimizerIcon } from './OptimizerIcon';\nexport { default as PackageIcon } from './PackageIcon';\nexport { default as PaperclipIcon } from './PaperclipIcon';\nexport { default as PauseCircleIcon } from './PauseCircleIcon';\nexport { default as PauseIcon } from './PauseIcon';\nexport { default as PaymentButtonIcon } from './PaymentButtonIcon';\nexport { default as PaymentButtonsIcon } from './PaymentButtonsIcon';\nexport { default as PaymentGatewayIcon } from './PaymentGatewayIcon';\nexport { default as PaymentLinkIcon } from './PaymentLinkIcon';\nexport { default as PaymentLinksIcon } from './PaymentLinksIcon';\nexport { default as PaymentPagesIcon } from './PaymentPagesIcon';\nexport { default as PayoutLinkIcon } from './PayoutLinkIcon';\nexport { default as PayrollAddonsIcon } from './PayrollAddonsIcon';\nexport { default as PayrollForCaIcon } from './PayrollForCaIcon';\nexport { default as PayrollForStartupOrSmeIcon } from './PayrollForStartupOrSmeIcon';\nexport { default as PercentIcon } from './PercentIcon';\nexport { default as PettyCashBudgetIcon } from './PettyCashBudgetIcon';\nexport { default as PhoneCallIcon } from './PhoneCallIcon';\nexport { default as PhoneForwardedIcon } from './PhoneForwardedIcon';\nexport { default as PhoneIcon } from './PhoneIcon';\nexport { default as PhoneIncomingIcon } from './PhoneIncomingIcon';\nexport { default as PhoneMissedIcon } from './PhoneMissedIcon';\nexport { default as PhoneOffIcon } from './PhoneOffIcon';\nexport { default as PhoneOutgoingIcon } from './PhoneOutgoingIcon';\nexport { default as PictureInPictureIcon } from './PictureInPictureIcon';\nexport { default as PieChartIcon } from './PieChartIcon';\nexport { default as PinIcon } from './PinIcon';\nexport { default as PlayCircleIcon } from './PlayCircleIcon';\nexport { default as PlayIcon } from './PlayIcon';\nexport { default as PlusCircleIcon } from './PlusCircleIcon';\nexport { default as PlusIcon } from './PlusIcon';\nexport { default as PlusSquareIcon } from './PlusSquareIcon';\nexport { default as PocketIcon } from './PocketIcon';\nexport { default as PosIcon } from './PosIcon';\nexport { default as PowerIcon } from './PowerIcon';\nexport { default as PrinterIcon } from './PrinterIcon';\nexport { default as QRCodeIcon } from './QRCodeIcon';\nexport { default as RadioIcon } from './RadioIcon';\nexport { default as RayIcon } from './RayIcon';\nexport { default as RazorpayIcon } from './RazorpayIcon';\nexport { default as RazorpayXIcon } from './RazorpayXIcon';\nexport { default as RazorpayxPayrollIcon } from './RazorpayxPayrollIcon';\nexport { default as RefreshIcon } from './RefreshIcon';\nexport { default as RepeatIcon } from './RepeatIcon';\nexport { default as ReportsIcon } from './ReportsIcon';\nexport { default as ResizerIcon } from './ResizerIcon';\nexport { default as RewindIcon } from './RewindIcon';\nexport { default as RotateClockWiseIcon } from './RotateClockWiseIcon';\nexport { default as RotateCounterClockWiseIcon } from './RotateCounterClockWiseIcon';\nexport { default as RouteIcon } from './RouteIcon';\nexport { default as RoutesIcon } from './RoutesIcon';\nexport { default as RupeeIcon } from './RupeeIcon';\nexport { default as RupeesIcon } from './RupeesIcon';\nexport { default as SaasIcon } from './SaasIcon';\nexport { default as SaveIcon } from './SaveIcon';\nexport { default as ScissorsIcon } from './ScissorsIcon';\nexport { default as SearchIcon } from './SearchIcon';\nexport { default as SendIcon } from './SendIcon';\nexport { default as ServerIcon } from './ServerIcon';\nexport { default as SettingsIcon } from './SettingsIcon';\nexport { default as SettlementsIcon } from './SettlementsIcon';\nexport { default as ShareIcon } from './ShareIcon';\nexport { default as ShieldIcon } from './ShieldIcon';\nexport { default as ShoppingBagIcon } from './ShoppingBagIcon';\nexport { default as ShoppingCartIcon } from './ShoppingCartIcon';\nexport { default as ShuffleIcon } from './ShuffleIcon';\nexport { default as SidebarIcon } from './SidebarIcon';\nexport { default as Signal1BarIcon } from './Signal1BarIcon';\nexport { default as Signal2BarIcon } from './Signal2BarIcon';\nexport { default as Signal3BarIcon } from './Signal3BarIcon';\nexport { default as Signal4BarIcon } from './Signal4BarIcon';\nexport { default as SignalIcon } from './SignalIcon';\nexport { default as SimCardIcon } from './SimCardIcon';\nexport { default as SkipBackIcon } from './SkipBackIcon';\nexport { default as SkipForwardIcon } from './SkipForwardIcon';\nexport { default as SlackIcon } from './SlackIcon';\nexport { default as SlashIcon } from './SlashIcon';\nexport { default as SlidersIcon } from './SlidersIcon';\nexport { default as SmartCollectIcon } from './SmartCollectIcon';\nexport { default as SmartphoneIcon } from './SmartphoneIcon';\nexport { default as SolutionsIcon } from './SolutionsIcon';\nexport { default as SourceToPayIcon } from './SourceToPayIcon';\nexport { default as SparklesIcon } from './SparklesIcon';\nexport { default as SpeakerIcon } from './SpeakerIcon';\nexport { default as SquareIcon } from './SquareIcon';\nexport { default as StampIcon } from './StampIcon';\nexport { default as StarIcon } from './StarIcon';\nexport { default as StopCircleIcon } from './StopCircleIcon';\nexport { default as StorefrontIcon } from './StorefrontIcon';\nexport { default as SubscriptionsIcon } from './SubscriptionsIcon';\nexport { default as SunIcon } from './SunIcon';\nexport { default as SunriseIcon } from './SunriseIcon';\nexport { default as SunsetIcon } from './SunsetIcon';\nexport { default as TabletIcon } from './TabletIcon';\nexport { default as TagIcon } from './TagIcon';\nexport { default as TargetIcon } from './TargetIcon';\nexport { default as TaxPaymentsIcon } from './TaxPaymentsIcon';\nexport { default as TestIcon } from './TestIcon';\nexport { default as ThermometerIcon } from './ThermometerIcon';\nexport { default as ThumbsDownIcon } from './ThumbsDownIcon';\nexport { default as ThumbsUpIcon } from './ThumbsUpIcon';\nexport { default as TicketIcon } from './TicketIcon';\nexport { default as ToggleLeftIcon } from './ToggleLeftIcon';\nexport { default as ToggleRightIcon } from './ToggleRightIcon';\nexport { default as TokenHqIcon } from './TokenHqIcon';\nexport { default as TrademarkIcon } from './TrademarkIcon';\nexport { default as TrademarkRegisteredIcon } from './TrademarkRegisteredIcon';\nexport { default as TransactionsIcon } from './TransactionsIcon';\nexport { default as TrashIcon } from './TrashIcon';\nexport { default as TrendingDownIcon } from './TrendingDownIcon';\nexport { default as TrendingUpIcon } from './TrendingUpIcon';\nexport { default as TriangleIcon } from './TriangleIcon';\nexport { default as TvIcon } from './TvIcon';\nexport { default as TwitterIcon } from './TwitterIcon';\nexport { default as TypeIcon } from './TypeIcon';\nexport { default as UmbrellaIcon } from './UmbrellaIcon';\nexport { default as UnderlineIcon } from './UnderlineIcon';\nexport { default as UnlockIcon } from './UnlockIcon';\nexport { default as UpiAutopayIcon } from './UpiAutopayIcon';\nexport { default as UpiIcon } from './UpiIcon';\nexport { default as UploadCloudIcon } from './UploadCloudIcon';\nexport { default as UploadIcon } from './UploadIcon';\nexport { default as UserCheckIcon } from './UserCheckIcon';\nexport { default as UserIcon } from './UserIcon';\nexport { default as UserMinusIcon } from './UserMinusIcon';\nexport { default as UserPlusIcon } from './UserPlusIcon';\nexport { default as UserXIcon } from './UserXIcon';\nexport { default as UsersIcon } from './UsersIcon';\nexport { default as VendorPaymentsIcon } from './VendorPaymentsIcon';\nexport { default as VideoIcon } from './VideoIcon';\nexport { default as VideoOffIcon } from './VideoOffIcon';\nexport { default as ViewLiveDemoIcon } from './ViewLiveDemoIcon';\nexport { default as VoicemailIcon } from './VoicemailIcon';\nexport { default as VolumeHighIcon } from './VolumeHighIcon';\nexport { default as VolumeIcon } from './VolumeIcon';\nexport { default as VolumeLowIcon } from './VolumeLowIcon';\nexport { default as VolumeMuteIcon } from './VolumeMuteIcon';\nexport { default as WalletIcon } from './WalletIcon';\nexport { default as WatchIcon } from './WatchIcon';\nexport { default as WifiIcon } from './WifiIcon';\nexport { default as WifiOffIcon } from './WifiOffIcon';\nexport { default as WindIcon } from './WindIcon';\nexport { default as WorldwideIcon } from './WorldwideIcon';\nexport { default as XCircleIcon } from './XCircleIcon';\nexport { default as XSquareIcon } from './XSquareIcon';\nexport { default as YoutubeIcon } from './YoutubeIcon';\nexport { default as ZapIcon } from './ZapIcon';\nexport { default as ZoomInIcon } from './ZoomInIcon';\nexport { default as ZoomOutIcon } from './ZoomOutIcon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA"}
@@ -359,6 +359,7 @@ export { default as PowerIcon } from './Icons/PowerIcon/PowerIcon.js';
359
359
  export { default as PrinterIcon } from './Icons/PrinterIcon/PrinterIcon.js';
360
360
  export { default as QRCodeIcon } from './Icons/QRCodeIcon/QRCodeIcon.js';
361
361
  export { default as RadioIcon } from './Icons/RadioIcon/RadioIcon.js';
362
+ export { default as RayIcon } from './Icons/RayIcon/RayIcon.js';
362
363
  export { default as RazorpayIcon } from './Icons/RazorpayIcon/RazorpayIcon.js';
363
364
  export { default as RazorpayXIcon } from './Icons/RazorpayXIcon/RazorpayXIcon.js';
364
365
  export { default as RazorpayxPayrollIcon } from './Icons/RazorpayxPayrollIcon/RazorpayxPayrollIcon.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,15 @@
1
- import { useRef, useInsertionEffect, useCallback } from 'react';
1
+ import React__default, { useRef, useCallback } from 'react';
2
+ import { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect.js';
2
3
 
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
3
5
  /* eslint-disable @typescript-eslint/explicit-function-return-type */
4
6
 
7
+ // Prevent webpack from importing this:
8
+ // https://github.com/webpack/webpack/issues/14814#issuecomment-1536757985
9
+ // https://github.com/radix-ui/primitives/issues/2796
10
+ var useReactInsertionEffect = React__default[' useInsertionEffect '.trim().toString()];
11
+ var useInsertionEffectFallback = useReactInsertionEffect || useIsomorphicLayoutEffect;
12
+
5
13
  /**
6
14
  * This hook is user-land implementation of the experimental `useEffectEvent` hook.
7
15
  * React docs: https://react.dev/learn/separating-events-from-effects#declaring-an-effect-event
@@ -10,10 +18,8 @@ import { useRef, useInsertionEffect, useCallback } from 'react';
10
18
  */
11
19
  function useCallbackRef(callback) {
12
20
  var deps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
13
- var callbackRef = useRef(function () {
14
- throw new Error('Cannot call an event handler while rendering.');
15
- });
16
- useInsertionEffect(function () {
21
+ var callbackRef = useRef(callback);
22
+ useInsertionEffectFallback(function () {
17
23
  callbackRef.current = callback;
18
24
  });
19
25
 
@@ -1 +1 @@
1
- {"version":3,"file":"useCallbackRef.js","sources":["../../../../../src/utils/useCallbackRef.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport { useCallback, useInsertionEffect, useRef } from 'react';\n\n/**\n * This hook is user-land implementation of the experimental `useEffectEvent` hook.\n * React docs: https://react.dev/learn/separating-events-from-effects#declaring-an-effect-event\n *\n * This hook is useful when you want to use a callback function inside a useEffect while keeping it \"fresh\" but you don't want to add it to the dependency array.\n */\nfunction useCallbackRef<Args extends unknown[], Return>(\n callback: ((...args: Args) => Return) | undefined,\n deps: React.DependencyList = [],\n) {\n const callbackRef = useRef<typeof callback>(() => {\n throw new Error('Cannot call an event handler while rendering.');\n });\n\n useInsertionEffect(() => {\n callbackRef.current = callback;\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return useCallback((...args: Args) => callbackRef.current?.(...args), deps);\n}\n\nexport { useCallbackRef };\n"],"names":["useCallbackRef","callback","deps","arguments","length","undefined","callbackRef","useRef","Error","useInsertionEffect","current","useCallback","_callbackRef$current","_len","args","Array","_key","call","apply","concat"],"mappings":";;AAAA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,cAAcA,CACrBC,QAAiD,EAEjD;AAAA,EAAA,IADAC,IAA0B,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE,CAAA;AAE/B,EAAA,IAAMG,WAAW,GAAGC,MAAM,CAAkB,YAAM;AAChD,IAAA,MAAM,IAAIC,KAAK,CAAC,+CAA+C,CAAC,CAAA;AAClE,GAAC,CAAC,CAAA;AAEFC,EAAAA,kBAAkB,CAAC,YAAM;IACvBH,WAAW,CAACI,OAAO,GAAGT,QAAQ,CAAA;AAChC,GAAC,CAAC,CAAA;;AAEF;AACA,EAAA,OAAOU,WAAW,CAAC,YAAA;AAAA,IAAA,IAAAC,oBAAA,CAAA;AAAA,IAAA,KAAA,IAAAC,IAAA,GAAAV,SAAA,CAAAC,MAAA,EAAIU,IAAI,GAAAC,IAAAA,KAAA,CAAAF,IAAA,GAAAG,IAAA,GAAA,CAAA,EAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA,EAAA,EAAA;AAAJF,MAAAA,IAAI,CAAAE,IAAA,CAAAb,GAAAA,SAAA,CAAAa,IAAA,CAAA,CAAA;AAAA,KAAA;IAAA,OAAAJ,CAAAA,oBAAA,GAAWN,WAAW,CAACI,OAAO,MAAAE,IAAAA,IAAAA,oBAAA,uBAAnBA,oBAAA,CAAAK,IAAA,CAAAC,KAAA,CAAAN,oBAAA,EAAA,CAAAN,WAAW,CAAAa,CAAAA,MAAA,CAAcL,IAAI,CAAC,CAAA,CAAA;AAAA,GAAA,EAAEZ,IAAI,CAAC,CAAA;AAC7E;;;;"}
1
+ {"version":3,"file":"useCallbackRef.js","sources":["../../../../../src/utils/useCallbackRef.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport React, { useCallback, useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';\n\n// Prevent webpack from importing this:\n// https://github.com/webpack/webpack/issues/14814#issuecomment-1536757985\n// https://github.com/radix-ui/primitives/issues/2796\nconst useReactInsertionEffect = (React as any)[' useInsertionEffect '.trim().toString()];\nconst useInsertionEffectFallback = useReactInsertionEffect || useIsomorphicLayoutEffect;\n\n/**\n * This hook is user-land implementation of the experimental `useEffectEvent` hook.\n * React docs: https://react.dev/learn/separating-events-from-effects#declaring-an-effect-event\n *\n * This hook is useful when you want to use a callback function inside a useEffect while keeping it \"fresh\" but you don't want to add it to the dependency array.\n */\nfunction useCallbackRef<Args extends unknown[], Return>(\n callback: ((...args: Args) => Return) | undefined,\n deps: React.DependencyList = [],\n) {\n const callbackRef = useRef<typeof callback>(callback);\n\n useInsertionEffectFallback(() => {\n callbackRef.current = callback;\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return useCallback((...args: Args) => callbackRef.current?.(...args), deps);\n}\n\nexport { useCallbackRef };\n"],"names":["useReactInsertionEffect","React","trim","toString","useInsertionEffectFallback","useIsomorphicLayoutEffect","useCallbackRef","callback","deps","arguments","length","undefined","callbackRef","useRef","current","useCallback","_callbackRef$current","_len","args","Array","_key","call","apply","concat"],"mappings":";;;AAAA;AACA;;AAIA;AACA;AACA;AACA,IAAMA,uBAAuB,GAAIC,cAAK,CAAS,sBAAsB,CAACC,IAAI,EAAE,CAACC,QAAQ,EAAE,CAAC,CAAA;AACxF,IAAMC,0BAA0B,GAAGJ,uBAAuB,IAAIK,yBAAyB,CAAA;;AAEvF;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,cAAcA,CACrBC,QAAiD,EAEjD;AAAA,EAAA,IADAC,IAA0B,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE,CAAA;AAE/B,EAAA,IAAMG,WAAW,GAAGC,MAAM,CAAkBN,QAAQ,CAAC,CAAA;AAErDH,EAAAA,0BAA0B,CAAC,YAAM;IAC/BQ,WAAW,CAACE,OAAO,GAAGP,QAAQ,CAAA;AAChC,GAAC,CAAC,CAAA;;AAEF;AACA,EAAA,OAAOQ,WAAW,CAAC,YAAA;AAAA,IAAA,IAAAC,oBAAA,CAAA;AAAA,IAAA,KAAA,IAAAC,IAAA,GAAAR,SAAA,CAAAC,MAAA,EAAIQ,IAAI,GAAAC,IAAAA,KAAA,CAAAF,IAAA,GAAAG,IAAA,GAAA,CAAA,EAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA,EAAA,EAAA;AAAJF,MAAAA,IAAI,CAAAE,IAAA,CAAAX,GAAAA,SAAA,CAAAW,IAAA,CAAA,CAAA;AAAA,KAAA;IAAA,OAAAJ,CAAAA,oBAAA,GAAWJ,WAAW,CAACE,OAAO,MAAAE,IAAAA,IAAAA,oBAAA,uBAAnBA,oBAAA,CAAAK,IAAA,CAAAC,KAAA,CAAAN,oBAAA,EAAA,CAAAJ,WAAW,CAAAW,CAAAA,MAAA,CAAcL,IAAI,CAAC,CAAA,CAAA;AAAA,GAAA,EAAEV,IAAI,CAAC,CAAA;AAC7E;;;;"}
@@ -3,7 +3,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
3
3
  import React__default from 'react';
4
4
  import { getActionListContainerRole, getActionListItemWrapperRole } from './getA11yRoles.js';
5
5
  import { getActionListProperties } from './actionListUtils.js';
6
- import { ActionListBox } from './ActionListBox.web.js';
6
+ import { ActionListVirtualizedBox, ActionListBox } from './ActionListBox.web.js';
7
7
  import { componentIds } from './componentIds.js';
8
8
  import { ActionListNoResults } from './ActionListNoResults.js';
9
9
  import { useDropdown } from '../Dropdown/useDropdown.js';
@@ -22,12 +22,13 @@ import { metaAttribute } from '../../utils/metaAttribute/metaAttribute.web.js';
22
22
  import { MetaConstants } from '../../utils/metaAttribute/metaConstants.js';
23
23
  import { assignWithoutSideEffects } from '../../utils/assignWithoutSideEffects/assignWithoutSideEffects.js';
24
24
 
25
- var _excluded = ["children", "testID"];
25
+ var _excluded = ["children", "testID", "isVirtualized"];
26
26
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27
27
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28
28
  var _ActionList = function _ActionList(_ref) {
29
29
  var children = _ref.children,
30
30
  testID = _ref.testID,
31
+ isVirtualized = _ref.isVirtualized,
31
32
  rest = _objectWithoutProperties(_ref, _excluded);
32
33
  var _useDropdown = useDropdown(),
33
34
  setOptions = _useDropdown.setOptions,
@@ -37,6 +38,7 @@ var _ActionList = function _ActionList(_ref) {
37
38
  dropdownTriggerer = _useDropdown.dropdownTriggerer,
38
39
  hasFooterAction = _useDropdown.hasFooterAction,
39
40
  filteredValues = _useDropdown.filteredValues;
41
+ var ActionListBox$1 = isVirtualized ? ActionListVirtualizedBox : ActionListBox;
40
42
  var _useBottomSheetContex = useBottomSheetContext(),
41
43
  isInBottomSheet = _useBottomSheetContex.isInBottomSheet;
42
44
  var _React$useMemo = React__default.useMemo(function () {
@@ -61,7 +63,7 @@ var _ActionList = function _ActionList(_ref) {
61
63
  // 1. We don't render the box wrapper styles which includes shadows, padding, border etc
62
64
  // 2. to ensure GorhomBottomSheetSectionList works as expected, if we add extra wrappers GorhomBottomSheet won't render the content inside
63
65
  // NOTE: That this also means inside BottomSheet, ActionList won't render any ActionListHeader or Footer.
64
- return isInBottomSheet ? /*#__PURE__*/jsx(ActionListBox, _objectSpread({
66
+ return isInBottomSheet ? /*#__PURE__*/jsx(ActionListBox$1, _objectSpread({
65
67
  isInBottomSheet: isInBottomSheet,
66
68
  actionListItemWrapperRole: actionListItemWrapperRole,
67
69
  childrenWithId: childrenWithId,
@@ -78,7 +80,7 @@ var _ActionList = function _ActionList(_ref) {
78
80
  name: MetaConstants.ActionList,
79
81
  testID: testID
80
82
  })), makeAnalyticsAttribute(rest)), {}, {
81
- children: /*#__PURE__*/jsx(ActionListBox, {
83
+ children: /*#__PURE__*/jsx(ActionListBox$1, {
82
84
  isInBottomSheet: isInBottomSheet,
83
85
  actionListItemWrapperRole: actionListItemWrapperRole,
84
86
  childrenWithId: childrenWithId,
@@ -1 +1 @@
1
- {"version":3,"file":"ActionList.js","sources":["../../../../../../src/components/ActionList/ActionList.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport { getActionListContainerRole, getActionListItemWrapperRole } from './getA11yRoles';\nimport { getActionListProperties } from './actionListUtils';\nimport { ActionListBox } from './ActionListBox';\nimport { componentIds } from './componentIds';\nimport { ActionListNoResults } from './ActionListNoResults';\nimport { useDropdown } from '~components/Dropdown/useDropdown';\nimport { useBottomSheetContext } from '~components/BottomSheet/BottomSheetContext';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport type { DataAnalyticsAttribute, TestID } from '~utils/types';\nimport BaseBox from '~components/Box/BaseBox';\nimport { metaAttribute, MetaConstants } from '~utils/metaAttribute';\nimport { dropdownComponentIds } from '~components/Dropdown/dropdownComponentIds';\nimport { makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\n\ntype ActionListProps = {\n children: React.ReactNode[];\n} & TestID &\n DataAnalyticsAttribute;\n\nconst _ActionList = ({ children, testID, ...rest }: ActionListProps): React.ReactElement => {\n const {\n setOptions,\n actionListItemRef,\n selectionType,\n dropdownBaseId,\n dropdownTriggerer,\n hasFooterAction,\n filteredValues,\n } = useDropdown();\n\n const { isInBottomSheet } = useBottomSheetContext();\n\n const { sectionData, childrenWithId, actionListOptions } = React.useMemo(\n () => getActionListProperties(children),\n [children],\n );\n\n React.useEffect(() => {\n setOptions(actionListOptions);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actionListOptions]);\n\n if (\n filteredValues.length <= 0 &&\n dropdownTriggerer === dropdownComponentIds.triggers.AutoComplete\n ) {\n return <ActionListNoResults />;\n }\n\n const actionListContainerRole = getActionListContainerRole(hasFooterAction, dropdownTriggerer);\n const actionListItemWrapperRole = getActionListItemWrapperRole(\n hasFooterAction,\n dropdownTriggerer,\n );\n const isMultiSelectable = selectionType === 'multiple';\n\n // If we are inside BottomSheet, we don't render The StyledActionList wrapper\n // This is to ensure:\n // 1. We don't render the box wrapper styles which includes shadows, padding, border etc\n // 2. to ensure GorhomBottomSheetSectionList works as expected, if we add extra wrappers GorhomBottomSheet won't render the content inside\n // NOTE: That this also means inside BottomSheet, ActionList won't render any ActionListHeader or Footer.\n return isInBottomSheet ? (\n <ActionListBox\n isInBottomSheet={isInBottomSheet}\n actionListItemWrapperRole={actionListItemWrapperRole}\n childrenWithId={childrenWithId}\n sectionData={sectionData}\n isMultiSelectable={isMultiSelectable}\n ref={actionListItemRef as any}\n {...makeAnalyticsAttribute(rest)}\n />\n ) : (\n <BaseBox\n id={`${dropdownBaseId}-actionlist`}\n {...makeAccessible({\n role: actionListContainerRole,\n multiSelectable: actionListContainerRole === 'listbox' ? isMultiSelectable : undefined,\n labelledBy: `${dropdownBaseId}-label`,\n })}\n {...metaAttribute({ name: MetaConstants.ActionList, testID })}\n {...makeAnalyticsAttribute(rest)}\n >\n <ActionListBox\n isInBottomSheet={isInBottomSheet}\n actionListItemWrapperRole={actionListItemWrapperRole}\n childrenWithId={childrenWithId}\n sectionData={sectionData}\n isMultiSelectable={isMultiSelectable}\n ref={actionListItemRef as any}\n />\n </BaseBox>\n );\n};\n\n/**\n * ### ActionList\n *\n * List of multiple actionable items. Can be used as menu items inside `Dropdown`,\n * `BottomSheet` and as selectable items when combined with `SelectInput`\n *\n * #### Usage\n *\n * ```jsx\n * <Dropdown>\n * <SelectInput label=\"Select Action\" />\n * <DropdownOverlay>\n * <DropdownHeader title=\"Header Title\" />\n * <ActionList>\n * <ActionListItem\n * title=\"Home\"\n * value=\"home\"\n * leading={<ActionListItemIcon icon={HomeIcon} />}\n * />\n * <ActionListItem\n * title=\"Pricing\"\n * value=\"pricing\"\n * leading={<ActionListItemAsset src=\"https://flagcdn.com/w20/in.png\" alt=\"India Flag\" />}\n * />\n * </ActionList>\n * <DropdownFooter><Button>Apply</Button></DropdownFooter>\n * </DropdownOverlay>\n * </Dropdown>\n * ```\n *\n */\nconst ActionList = assignWithoutSideEffects(React.memo(_ActionList), {\n displayName: componentIds.ActionList,\n componentId: componentIds.ActionList,\n});\n\nexport type { ActionListProps };\nexport { ActionList };\n"],"names":["_ActionList","_ref","children","testID","rest","_objectWithoutProperties","_excluded","_useDropdown","useDropdown","setOptions","actionListItemRef","selectionType","dropdownBaseId","dropdownTriggerer","hasFooterAction","filteredValues","_useBottomSheetContex","useBottomSheetContext","isInBottomSheet","_React$useMemo","React","useMemo","getActionListProperties","sectionData","childrenWithId","actionListOptions","useEffect","length","dropdownComponentIds","triggers","AutoComplete","_jsx","ActionListNoResults","actionListContainerRole","getActionListContainerRole","actionListItemWrapperRole","getActionListItemWrapperRole","isMultiSelectable","ActionListBox","_objectSpread","ref","makeAnalyticsAttribute","BaseBox","id","concat","makeAccessible","role","multiSelectable","undefined","labelledBy","metaAttribute","name","MetaConstants","ActionList","assignWithoutSideEffects","memo","displayName","componentIds","componentId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAA2E;AAAA,EAAA,IAArEC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,MAAM,GAAAF,IAAA,CAANE,MAAM;AAAKC,IAAAA,IAAI,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;AAC9C,EAAA,IAAAC,YAAA,GAQIC,WAAW,EAAE;IAPfC,UAAU,GAAAF,YAAA,CAAVE,UAAU;IACVC,iBAAiB,GAAAH,YAAA,CAAjBG,iBAAiB;IACjBC,aAAa,GAAAJ,YAAA,CAAbI,aAAa;IACbC,cAAc,GAAAL,YAAA,CAAdK,cAAc;IACdC,iBAAiB,GAAAN,YAAA,CAAjBM,iBAAiB;IACjBC,eAAe,GAAAP,YAAA,CAAfO,eAAe;IACfC,cAAc,GAAAR,YAAA,CAAdQ,cAAc,CAAA;AAGhB,EAAA,IAAAC,qBAAA,GAA4BC,qBAAqB,EAAE;IAA3CC,eAAe,GAAAF,qBAAA,CAAfE,eAAe,CAAA;AAEvB,EAAA,IAAAC,cAAA,GAA2DC,cAAK,CAACC,OAAO,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CAAAA,aAAA,CAAA;IACNI,EAAE,EAAA,EAAA,CAAAC,MAAA,CAAKhC,cAAc,EAAA,aAAA,CAAA;AAAc,GAAA,EAC/BiC,cAAc,CAAC;AACjBC,IAAAA,IAAI,EAAEb,uBAAuB;AAC7Bc,IAAAA,eAAe,EAAEd,uBAAuB,KAAK,SAAS,GAAGI,iBAAiB,GAAGW,SAAS;IACtFC,UAAU,EAAA,EAAA,CAAAL,MAAA,CAAKhC,cAAc,EAAA,QAAA,CAAA;GAC9B,CAAC,CACEsC,EAAAA,aAAa,CAAC;IAAEC,IAAI,EAAEC,aAAa,CAACC,UAAU;AAAElD,IAAAA,MAAM,EAANA,MAAAA;AAAO,GAAC,CAAC,CAAA,EACzDsC,sBAAsB,CAACrC,IAAI,CAAC,CAAA,EAAA,EAAA,EAAA;IAAAF,QAAA,eAEhC6B,GAAA,CAACO,aAAa,EAAA;AACZpB,MAAAA,eAAe,EAAEA,eAAgB;AACjCiB,MAAAA,yBAAyB,EAAEA,yBAA0B;AACrDX,MAAAA,cAAc,EAAEA,cAAe;AAC/BD,MAAAA,WAAW,EAAEA,WAAY;AACzBc,MAAAA,iBAAiB,EAAEA,iBAAkB;AACrCG,MAAAA,GAAG,EAAE9B,iBAAAA;KACN,CAAA;AAAC,GAAA,CACK,CACV,CAAA;AACH,CAAC,CAAA;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACM2C,IAAAA,UAAU,gBAAGC,wBAAwB,eAAClC,cAAK,CAACmC,IAAI,CAACvD,WAAW,CAAC,EAAE;EACnEwD,WAAW,EAAEC,YAAY,CAACJ,UAAU;EACpCK,WAAW,EAAED,YAAY,CAACJ,UAAAA;AAC5B,CAAC;;;;"}
1
+ {"version":3,"file":"ActionList.js","sources":["../../../../../../src/components/ActionList/ActionList.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport { getActionListContainerRole, getActionListItemWrapperRole } from './getA11yRoles';\nimport { getActionListProperties } from './actionListUtils';\nimport { ActionListBox as ActionListNormalBox, ActionListVirtualizedBox } from './ActionListBox';\nimport { componentIds } from './componentIds';\nimport { ActionListNoResults } from './ActionListNoResults';\nimport { useDropdown } from '~components/Dropdown/useDropdown';\nimport { useBottomSheetContext } from '~components/BottomSheet/BottomSheetContext';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport type { DataAnalyticsAttribute, TestID } from '~utils/types';\nimport BaseBox from '~components/Box/BaseBox';\nimport { metaAttribute, MetaConstants } from '~utils/metaAttribute';\nimport { dropdownComponentIds } from '~components/Dropdown/dropdownComponentIds';\nimport { makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\n\ntype ActionListProps = {\n children: React.ReactNode[];\n isVirtualized?: boolean;\n} & TestID &\n DataAnalyticsAttribute;\n\nconst _ActionList = ({\n children,\n testID,\n isVirtualized,\n ...rest\n}: ActionListProps): React.ReactElement => {\n const {\n setOptions,\n actionListItemRef,\n selectionType,\n dropdownBaseId,\n dropdownTriggerer,\n hasFooterAction,\n filteredValues,\n } = useDropdown();\n\n const ActionListBox = isVirtualized ? ActionListVirtualizedBox : ActionListNormalBox;\n\n const { isInBottomSheet } = useBottomSheetContext();\n\n const { sectionData, childrenWithId, actionListOptions } = React.useMemo(\n () => getActionListProperties(children),\n [children],\n );\n\n React.useEffect(() => {\n setOptions(actionListOptions);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [actionListOptions]);\n\n if (\n filteredValues.length <= 0 &&\n dropdownTriggerer === dropdownComponentIds.triggers.AutoComplete\n ) {\n return <ActionListNoResults />;\n }\n\n const actionListContainerRole = getActionListContainerRole(hasFooterAction, dropdownTriggerer);\n const actionListItemWrapperRole = getActionListItemWrapperRole(\n hasFooterAction,\n dropdownTriggerer,\n );\n const isMultiSelectable = selectionType === 'multiple';\n\n // If we are inside BottomSheet, we don't render The StyledActionList wrapper\n // This is to ensure:\n // 1. We don't render the box wrapper styles which includes shadows, padding, border etc\n // 2. to ensure GorhomBottomSheetSectionList works as expected, if we add extra wrappers GorhomBottomSheet won't render the content inside\n // NOTE: That this also means inside BottomSheet, ActionList won't render any ActionListHeader or Footer.\n return isInBottomSheet ? (\n <ActionListBox\n isInBottomSheet={isInBottomSheet}\n actionListItemWrapperRole={actionListItemWrapperRole}\n childrenWithId={childrenWithId}\n sectionData={sectionData}\n isMultiSelectable={isMultiSelectable}\n ref={actionListItemRef as any}\n {...makeAnalyticsAttribute(rest)}\n />\n ) : (\n <BaseBox\n id={`${dropdownBaseId}-actionlist`}\n {...makeAccessible({\n role: actionListContainerRole,\n multiSelectable: actionListContainerRole === 'listbox' ? isMultiSelectable : undefined,\n labelledBy: `${dropdownBaseId}-label`,\n })}\n {...metaAttribute({ name: MetaConstants.ActionList, testID })}\n {...makeAnalyticsAttribute(rest)}\n >\n <ActionListBox\n isInBottomSheet={isInBottomSheet}\n actionListItemWrapperRole={actionListItemWrapperRole}\n childrenWithId={childrenWithId}\n sectionData={sectionData}\n isMultiSelectable={isMultiSelectable}\n ref={actionListItemRef as any}\n />\n </BaseBox>\n );\n};\n\n/**\n * ### ActionList\n *\n * List of multiple actionable items. Can be used as menu items inside `Dropdown`,\n * `BottomSheet` and as selectable items when combined with `SelectInput`\n *\n * #### Usage\n *\n * ```jsx\n * <Dropdown>\n * <SelectInput label=\"Select Action\" />\n * <DropdownOverlay>\n * <DropdownHeader title=\"Header Title\" />\n * <ActionList>\n * <ActionListItem\n * title=\"Home\"\n * value=\"home\"\n * leading={<ActionListItemIcon icon={HomeIcon} />}\n * />\n * <ActionListItem\n * title=\"Pricing\"\n * value=\"pricing\"\n * leading={<ActionListItemAsset src=\"https://flagcdn.com/w20/in.png\" alt=\"India Flag\" />}\n * />\n * </ActionList>\n * <DropdownFooter><Button>Apply</Button></DropdownFooter>\n * </DropdownOverlay>\n * </Dropdown>\n * ```\n *\n */\nconst ActionList = assignWithoutSideEffects(React.memo(_ActionList), {\n displayName: componentIds.ActionList,\n componentId: componentIds.ActionList,\n});\n\nexport type { ActionListProps };\nexport { ActionList };\n"],"names":["_ActionList","_ref","children","testID","isVirtualized","rest","_objectWithoutProperties","_excluded","_useDropdown","useDropdown","setOptions","actionListItemRef","selectionType","dropdownBaseId","dropdownTriggerer","hasFooterAction","filteredValues","ActionListBox","ActionListVirtualizedBox","ActionListNormalBox","_useBottomSheetContex","useBottomSheetContext","isInBottomSheet","_React$useMemo","React","useMemo","getActionListProperties","sectionData","childrenWithId","actionListOptions","useEffect","length","dropdownComponentIds","triggers","AutoComplete","_jsx","ActionListNoResults","actionListContainerRole","getActionListContainerRole","actionListItemWrapperRole","getActionListItemWrapperRole","isMultiSelectable","_objectSpread","ref","makeAnalyticsAttribute","BaseBox","id","concat","makeAccessible","role","multiSelectable","undefined","labelledBy","metaAttribute","name","MetaConstants","ActionList","assignWithoutSideEffects","memo","displayName","componentIds","componentId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAK0B;AAAA,EAAA,IAJzCC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRC,MAAM,GAAAF,IAAA,CAANE,MAAM;IACNC,aAAa,GAAAH,IAAA,CAAbG,aAAa;AACVC,IAAAA,IAAI,GAAAC,wBAAA,CAAAL,IAAA,EAAAM,SAAA,CAAA,CAAA;AAEP,EAAA,IAAAC,YAAA,GAQIC,WAAW,EAAE;IAPfC,UAAU,GAAAF,YAAA,CAAVE,UAAU;IACVC,iBAAiB,GAAAH,YAAA,CAAjBG,iBAAiB;IACjBC,aAAa,GAAAJ,YAAA,CAAbI,aAAa;IACbC,cAAc,GAAAL,YAAA,CAAdK,cAAc;IACdC,iBAAiB,GAAAN,YAAA,CAAjBM,iBAAiB;IAC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