@razorpay/blade 12.97.0 → 12.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/native/components/ActionList/ActionListItem.js +1 -0
- package/build/lib/native/components/ActionList/ActionListItem.js.map +1 -1
- package/build/lib/native/components/ActionList/ActionListNoResults.js +1 -0
- package/build/lib/native/components/ActionList/ActionListNoResults.js.map +1 -1
- package/build/lib/native/components/Alert/Alert.js +1 -0
- package/build/lib/native/components/Alert/Alert.js.map +1 -1
- package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +1 -0
- package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
- package/build/lib/native/components/BottomSheet/BottomSheetCommon.js +1 -0
- package/build/lib/native/components/BottomSheet/BottomSheetCommon.js.map +1 -1
- package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js +1 -0
- package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js +1 -0
- package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js.map +1 -1
- package/build/lib/native/components/FileUpload/FileUploadItem.js +1 -0
- package/build/lib/native/components/FileUpload/FileUploadItem.js.map +1 -1
- package/build/lib/native/components/Form/FormHint.js +1 -0
- package/build/lib/native/components/Form/FormHint.js.map +1 -1
- package/build/lib/native/components/Icons/ReticleIcon/ReticleIcon.js +13 -0
- package/build/lib/native/components/Icons/ReticleIcon/ReticleIcon.js.map +1 -0
- package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js +1 -0
- package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js.map +1 -1
- package/build/lib/native/components/Input/PasswordInput/PasswordInput.js +1 -0
- package/build/lib/native/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/native/components/Input/SearchInput/SearchInput.js +1 -0
- package/build/lib/native/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/native/components/Input/TextArea/TextArea.js +1 -0
- package/build/lib/native/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/native/components/Input/TextInput/TextInput.js +1 -0
- package/build/lib/native/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/native/components/Popover/PopoverCloseButton.js +1 -0
- package/build/lib/native/components/Popover/PopoverCloseButton.js.map +1 -1
- package/build/lib/native/components/QuickFilters/QuickFilter.js +1 -0
- package/build/lib/native/components/QuickFilters/QuickFilter.js.map +1 -1
- package/build/lib/native/components/Table/tokens.js +1 -0
- package/build/lib/native/components/Table/tokens.js.map +1 -1
- package/build/lib/native/components/Tag/Tag.js +1 -0
- package/build/lib/native/components/Tag/Tag.js.map +1 -1
- package/build/lib/native/components/index.js +1 -0
- package/build/lib/native/components/index.js.map +1 -1
- package/build/lib/web/development/_virtual/cloneDeep.js +1 -1
- package/build/lib/web/development/_virtual/cloneDeep3.js +1 -1
- package/build/lib/web/development/components/ActionList/ActionListBox.web.js +45 -21
- package/build/lib/web/development/components/ActionList/ActionListBox.web.js.map +1 -1
- package/build/lib/web/development/components/Icons/ReticleIcon/ReticleIcon.js +42 -0
- package/build/lib/web/development/components/Icons/ReticleIcon/ReticleIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/ReticleIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/ReticleIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/index.js +1 -0
- package/build/lib/web/development/components/Icons/index.js.map +1 -1
- package/build/lib/web/development/components/Input/PhoneNumberInput/CountrySelector.web.js +1 -1
- package/build/lib/web/development/components/Input/PhoneNumberInput/CountrySelector.web.js.map +1 -1
- package/build/lib/web/development/components/TimePicker/BaseTimePicker.web.js +8 -3
- package/build/lib/web/development/components/TimePicker/BaseTimePicker.web.js.map +1 -1
- package/build/lib/web/development/components/index.js +1 -0
- package/build/lib/web/development/components/index.js.map +1 -1
- package/build/lib/web/development/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +1 -1
- package/build/lib/web/development/node_modules/es-toolkit/dist/compat/predicate/matches.js +2 -2
- package/build/lib/web/development/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +2 -2
- package/build/lib/web/development/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -1
- package/build/lib/web/production/_virtual/cloneDeep.js +1 -1
- package/build/lib/web/production/_virtual/cloneDeep3.js +1 -1
- package/build/lib/web/production/components/ActionList/ActionListBox.web.js +45 -21
- package/build/lib/web/production/components/ActionList/ActionListBox.web.js.map +1 -1
- package/build/lib/web/production/components/Icons/ReticleIcon/ReticleIcon.js +42 -0
- package/build/lib/web/production/components/Icons/ReticleIcon/ReticleIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/ReticleIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/ReticleIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/index.js +1 -0
- package/build/lib/web/production/components/Icons/index.js.map +1 -1
- package/build/lib/web/production/components/Input/PhoneNumberInput/CountrySelector.web.js +1 -1
- package/build/lib/web/production/components/Input/PhoneNumberInput/CountrySelector.web.js.map +1 -1
- package/build/lib/web/production/components/TimePicker/BaseTimePicker.web.js +8 -3
- package/build/lib/web/production/components/TimePicker/BaseTimePicker.web.js.map +1 -1
- package/build/lib/web/production/components/index.js +1 -0
- package/build/lib/web/production/components/index.js.map +1 -1
- package/build/lib/web/production/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +1 -1
- package/build/lib/web/production/node_modules/es-toolkit/dist/compat/predicate/matches.js +2 -2
- package/build/lib/web/production/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +2 -2
- package/build/lib/web/production/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -1
- package/build/types/components/index.d.ts +8 -1
- package/build/types/components/index.native.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListBox.web.js","sources":["../../../../../../src/components/ActionList/ActionListBox.web.tsx"],"sourcesContent":["/* eslint-disable react/display-name */\nimport React, { useCallback } from 'react';\nimport type { VariableSizeList } from 'react-window';\nimport { VariableSizeList as VirtualizedList } from 'react-window';\nimport { StyledListBoxWrapper } from './styles/StyledListBoxWrapper';\nimport type { SectionData } from './actionListUtils';\nimport { actionListMaxHeight, getActionListPadding } from './styles/getBaseListBoxWrapperStyles';\nimport { componentIds } from './componentIds';\nimport { ActionListSectionTitle } from './ActionListItem';\nimport { useBottomSheetContext } from '~components/BottomSheet/BottomSheetContext';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport type { DataAnalyticsAttribute } from '~utils/types';\nimport { makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\nimport { useIsMobile } from '~utils/useIsMobile';\nimport {\n actionListSectionTitleHeight,\n actionListDividerHeight,\n getActionListItemHeight,\n} from '~components/BaseMenu/BaseMenuItem/tokens';\nimport { useTheme } from '~utils';\nimport type { Theme } from '~components/BladeProvider';\nimport { useDropdown } from '~components/Dropdown/useDropdown';\nimport { dropdownComponentIds } from '~components/Dropdown/dropdownComponentIds';\nimport { getComponentId } from '~utils/isValidAllowedChildren';\nimport { Divider } from '~components/Divider';\nimport type { ActionListItemProps } from '~components/ActionList';\n\ntype ActionListBoxProps = {\n childrenWithId?: React.ReactNode[] | null;\n sectionData: SectionData;\n actionListItemWrapperRole: 'listbox' | 'menu' | undefined;\n isMultiSelectable: boolean;\n isInBottomSheet: boolean;\n} & DataAnalyticsAttribute;\n\nconst _ActionListBox = React.forwardRef<HTMLDivElement, ActionListBoxProps>(\n ({ childrenWithId, actionListItemWrapperRole, isMultiSelectable, ...rest }, ref) => {\n const { isInBottomSheet } = useBottomSheetContext();\n\n return (\n <StyledListBoxWrapper\n isInBottomSheet={isInBottomSheet}\n ref={ref}\n {...makeAccessible({\n role: actionListItemWrapperRole,\n multiSelectable: actionListItemWrapperRole === 'listbox' ? isMultiSelectable : undefined,\n })}\n {...makeAnalyticsAttribute(rest)}\n >\n {childrenWithId}\n </StyledListBoxWrapper>\n );\n },\n);\n\nconst ActionListBox = assignWithoutSideEffects(React.memo(_ActionListBox), {\n displayName: 'ActionListBox',\n});\n\n/**\n * get the height of the item based on the componentId\n */\nconst getItemHeight = ({\n index,\n itemData,\n actionListItemHeight,\n}: {\n index: number;\n itemData: React.ReactNode[];\n actionListItemHeight: number;\n}): number => {\n if (getComponentId(itemData[index]) === componentIds.ActionListItem) {\n return actionListItemHeight;\n }\n\n if (getComponentId(itemData[index]) === componentIds.ActionListSectionTitle) {\n return actionListSectionTitleHeight;\n }\n // @ts-expect-error: key does exist\n if (itemData[index]?.key.includes('divider')) {\n return actionListDividerHeight;\n }\n return 0;\n};\n\n/**\n * Returns the height of item and height of container based on theme and device\n */\nconst getVirtualItemParams = ({\n theme,\n isMobile,\n itemCount,\n itemData,\n}: {\n theme: Theme;\n isMobile: boolean;\n itemCount: number;\n itemData: React.ReactNode[];\n}): {\n actionListItemHeight: number;\n actionListBoxHeight: number;\n} => {\n const itemHeightResponsive = getActionListItemHeight(theme);\n const actionListItemVerticalMargin = theme.spacing[1] * 2;\n const actionListPadding = getActionListPadding(theme);\n const actionListItemHeight =\n (isMobile ? itemHeightResponsive.itemHeightMobile : itemHeightResponsive.itemHeightDesktop) +\n actionListItemVerticalMargin;\n const shouldCalculateMinimumHeight = itemCount <= 10;\n const actionListBoxHeight = actionListMaxHeight - actionListPadding * 2;\n const actionListBoxMinHeight = shouldCalculateMinimumHeight\n ? itemData.reduce<number>((acc, _, index) => {\n const itemHeight = getItemHeight({ index, itemData, actionListItemHeight });\n return acc + itemHeight;\n }, 0)\n : actionListBoxHeight;\n const finalActionListBoxHeight = Math.min(actionListBoxHeight, actionListBoxMinHeight);\n\n return {\n actionListItemHeight,\n actionListBoxHeight: finalActionListBoxHeight,\n };\n};\n\n/**\n * Takes the children (ActionListItem) and returns the filtered items based on `filteredValues` state\n */\nconst useFilteredItems = (\n children: React.ReactNode[],\n): {\n itemData: React.ReactNode[];\n itemCount: number;\n} => {\n const childrenArray = React.Children.toArray(children); // Convert children to an array\n\n const { filteredValues, hasAutoCompleteInHeader, dropdownTriggerer } = useDropdown();\n\n const items = React.useMemo(() => {\n const hasAutoComplete =\n hasAutoCompleteInHeader || dropdownTriggerer === dropdownComponentIds.triggers.AutoComplete;\n\n if (!hasAutoComplete) {\n return childrenArray;\n }\n\n const filteredItems = childrenArray.reduce<React.ReactNode[]>((acc, item, index) => {\n if (getComponentId(item) === componentIds.ActionListSection) {\n const sectionTitle = (\n <ActionListSectionTitle\n key={index}\n // @ts-expect-error: props does exist\n title={item?.props.title}\n isInsideVirtualizedList\n />\n );\n // @ts-expect-error: props does exist\n const sectionChildren = item?.props.children;\n\n const divider =\n index !== childrenArray.length - 1 ? (\n <Divider marginX=\"spacing.3\" marginY=\"spacing.1\" key={`divider-${index}`} />\n ) : null;\n const filteredSectionChildren = sectionChildren.filter(\n (item: { props: { value: string } }) => filteredValues.includes(item.props.value),\n );\n if (filteredSectionChildren.length !== 0) {\n acc.push(sectionTitle, ...filteredSectionChildren, divider);\n }\n } else {\n // @ts-expect-error: props does exist\n const value = item?.props.value;\n if (filteredValues.includes(value)) {\n acc.push(item);\n }\n }\n return acc;\n }, []);\n\n return filteredItems;\n }, [filteredValues, hasAutoCompleteInHeader, dropdownTriggerer, childrenArray]);\n\n return {\n itemData: items,\n itemCount: items.length,\n };\n};\n\nconst VirtualListItem = React.memo(\n ({\n index,\n style,\n data,\n onVirtualizedFocus,\n }: {\n index: number;\n style: React.CSSProperties;\n data: React.ReactNode[];\n onVirtualizedFocus: (index: number) => void;\n }): React.ReactElement | null => {\n const currentItem = data[index];\n\n if (\n React.isValidElement(currentItem) &&\n getComponentId(currentItem) === componentIds.ActionListItem\n ) {\n // Clone the element passed via `data` and add the `_virtualizedIndex` prop\n const elementWithIndex = React.cloneElement(\n currentItem as React.ReactElement<ActionListItemProps>,\n {\n _virtualizedIndex: index,\n _onVirtualizedFocus: onVirtualizedFocus,\n },\n );\n\n return <div style={style}>{elementWithIndex}</div>;\n }\n\n return <div style={style}>{data[index]}</div>;\n },\n (prevProps, nextProps) => {\n // Custom comparison function to determine if component should update\n return (\n prevProps.index === nextProps.index &&\n prevProps.style === nextProps.style &&\n prevProps.data[prevProps.index] === nextProps.data[nextProps.index]\n );\n },\n);\n\nconst _ActionListVirtualizedBox = React.forwardRef<HTMLDivElement, ActionListBoxProps>(\n ({ childrenWithId, actionListItemWrapperRole, isMultiSelectable, ...rest }, ref) => {\n const virtualizedListRef = React.useRef<VariableSizeList>(null);\n const [visibleStartIndex, setVisibleStartIndex] = React.useState(0);\n const [visibleStopIndex, setVisibleStopIndex] = React.useState(0);\n const items = React.Children.toArray(childrenWithId); // Convert children to an array\n const { isInBottomSheet } = useBottomSheetContext();\n const { itemData, itemCount } = useFilteredItems(items);\n\n const isMobile = useIsMobile();\n const { theme } = useTheme();\n const { actionListItemHeight, actionListBoxHeight } = React.useMemo(\n () => getVirtualItemParams({ theme, isMobile, itemCount, itemData }),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [theme.name, isMobile, itemCount, itemData],\n );\n React.useEffect(() => {\n virtualizedListRef?.current?.resetAfterIndex(0);\n virtualizedListRef?.current?.scrollToItem(0);\n }, [itemCount]);\n\n return (\n <StyledListBoxWrapper\n isInBottomSheet={isInBottomSheet}\n // in case of virtualized list, we only render visible items. so css will hide divider for every last item visible. instead of hiding the last divider of the list.\n ref={ref}\n {...makeAccessible({\n role: actionListItemWrapperRole,\n multiSelectable: actionListItemWrapperRole === 'listbox' ? isMultiSelectable : undefined,\n })}\n {...makeAnalyticsAttribute(rest)}\n >\n <VirtualizedList<React.ReactNode[]>\n ref={virtualizedListRef}\n height={actionListBoxHeight}\n width=\"100%\"\n itemSize={(index) => getItemHeight({ index, itemData, actionListItemHeight })}\n itemCount={itemCount}\n itemData={itemData}\n itemKey={(index) =>\n // @ts-expect-error: props does exist\n itemData[index]?.props.value ??\n // @ts-expect-error: props does exist\n itemData[index]?.props.title ??\n // @ts-expect-error: props does exist\n itemData[index]?.props.key\n }\n onItemsRendered={({ visibleStartIndex, visibleStopIndex }) => {\n setVisibleStartIndex(visibleStartIndex);\n setVisibleStopIndex(visibleStopIndex);\n }}\n >\n {useCallback(\n ({ index, style, data }) => {\n return (\n <VirtualListItem\n index={index}\n style={style}\n data={data}\n onVirtualizedFocus={(index) => {\n // We need scroll Direction to determine the index to focus\n const scrollDirection =\n Math.round((visibleStartIndex + visibleStopIndex) / 2) > index\n ? 'top'\n : 'bottom';\n virtualizedListRef?.current?.resetAfterIndex(0);\n /**\n * we are scrolling to the item which is 3 items away from the current item.\n * since we can have 2 item sectoin header and divider which are not focusable.\n */\n virtualizedListRef?.current?.scrollToItem(\n index + (scrollDirection === 'top' ? -3 : 3),\n 'smart',\n );\n }}\n />\n );\n },\n [visibleStartIndex, visibleStopIndex],\n )}\n </VirtualizedList>\n </StyledListBoxWrapper>\n );\n },\n);\n\nconst ActionListVirtualizedBox = assignWithoutSideEffects(React.memo(_ActionListVirtualizedBox), {\n displayName: 'ActionListVirtualizedBox',\n});\n\nexport { ActionListBox, ActionListVirtualizedBox };\n"],"names":["_ActionListBox","React","forwardRef","_ref","ref","childrenWithId","actionListItemWrapperRole","isMultiSelectable","rest","_objectWithoutProperties","_excluded","_useBottomSheetContex","useBottomSheetContext","isInBottomSheet","_jsx","StyledListBoxWrapper","_objectSpread","makeAccessible","role","multiSelectable","undefined","makeAnalyticsAttribute","children","ActionListBox","assignWithoutSideEffects","memo","displayName","getItemHeight","_ref2","_itemData$index","index","itemData","actionListItemHeight","getComponentId","componentIds","ActionListItem","ActionListSectionTitle","actionListSectionTitleHeight","key","includes","actionListDividerHeight","getVirtualItemParams","_ref3","theme","isMobile","itemCount","itemHeightResponsive","getActionListItemHeight","actionListItemVerticalMargin","spacing","actionListPadding","getActionListPadding","itemHeightMobile","itemHeightDesktop","shouldCalculateMinimumHeight","actionListBoxHeight","actionListMaxHeight","actionListBoxMinHeight","reduce","acc","_","itemHeight","finalActionListBoxHeight","Math","min","useFilteredItems","childrenArray","Children","toArray","_useDropdown","useDropdown","filteredValues","hasAutoCompleteInHeader","dropdownTriggerer","items","useMemo","hasAutoComplete","dropdownComponentIds","triggers","AutoComplete","filteredItems","item","ActionListSection","sectionTitle","title","props","isInsideVirtualizedList","sectionChildren","divider","length","Divider","marginX","marginY","concat","filteredSectionChildren","filter","value","push","apply","_toConsumableArray","VirtualListItem","_ref4","style","data","onVirtualizedFocus","currentItem","isValidElement","elementWithIndex","cloneElement","_virtualizedIndex","_onVirtualizedFocus","prevProps","nextProps","_ActionListVirtualizedBox","_ref5","_excluded2","virtualizedListRef","useRef","_React$useState","useState","_React$useState2","_slicedToArray","visibleStartIndex","setVisibleStartIndex","_React$useState3","_React$useState4","visibleStopIndex","setVisibleStopIndex","_useBottomSheetContex2","_useFilteredItems","useIsMobile","_useTheme","useTheme","_React$useMemo","name","useEffect","_virtualizedListRef$c","_virtualizedListRef$c2","current","resetAfterIndex","scrollToItem","VirtualizedList","height","width","itemSize","itemKey","_ref6","_itemData$index$props","_itemData$index2","_itemData$index3","_itemData$index4","onItemsRendered","_ref7","useCallback","_ref8","_virtualizedListRef$c3","_virtualizedListRef$c4","scrollDirection","round","ActionListVirtualizedBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,IAAMA,cAAc,gBAAGC,cAAK,CAACC,UAAU,CACrC,UAAAC,IAAA,EAA4EC,GAAG,EAAK;AAAA,EAAA,IAAjFC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IAAEC,yBAAyB,GAAAH,IAAA,CAAzBG,yBAAyB;IAAEC,iBAAiB,GAAAJ,IAAA,CAAjBI,iBAAiB;AAAKC,IAAAA,IAAI,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA,CAAA,CAAA;AACtE,EAAA,IAAAC,qBAAA,GAA4BC,qBAAqB,EAAE;IAA3CC,eAAe,GAAAF,qBAAA,CAAfE,eAAe,CAAA;EAEv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,kBAAkB,EAAE,SAApBA,kBAAkBA,CAAG1E,KAAK,EAAK;YAAA,IAAA6H,sBAAA,EAAAC,sBAAA,CAAA;AAC7B;AACA,YAAA,IAAMC,eAAe,GACnB9F,IAAI,CAAC+F,KAAK,CAAC,CAACpC,iBAAiB,GAAGI,gBAAgB,IAAI,CAAC,CAAC,GAAGhG,KAAK,GAC1D,KAAK,GACL,QAAQ,CAAA;AACdsF,YAAAA,kBAAkB,aAAlBA,kBAAkB,KAAA,KAAA,CAAA,IAAA,CAAAuC,sBAAA,GAAlBvC,kBAAkB,CAAEsB,OAAO,MAAAiB,IAAAA,IAAAA,sBAAA,eAA3BA,sBAAA,CAA6BhB,eAAe,CAAC,CAAC,CAAC,CAAA;AAC/C;AACpB;AACA;AACA;AACoBvB,YAAAA,kBAAkB,KAAlBA,IAAAA,IAAAA,kBAAkB,KAAAwC,KAAAA,CAAAA,IAAAA,CAAAA,sBAAA,GAAlBxC,kBAAkB,CAAEsB,OAAO,MAAAkB,IAAAA,IAAAA,sBAAA,KAA3BA,KAAAA,CAAAA,IAAAA,sBAAA,CAA6BhB,YAAY,CACvC9G,KAAK,IAAI+H,eAAe,KAAK,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAC5C,OACF,CAAC,CAAA;AACH,WAAA;AAAE,SACH,CAAC,CAAA;AAEN,OAAC,EACD,CAACnC,iBAAiB,EAAEI,gBAAgB,CACtC,CAAA;KACe,CAAA;AAAC,GAAA,CACE,CAAC,CAAA;AAE3B,CACF,CAAC,CAAA;AAEKiC,IAAAA,wBAAwB,gBAAGvI,wBAAwB,cAACvB,cAAK,CAACwB,IAAI,CAACwF,yBAAyB,CAAC,EAAE;AAC/FvF,EAAAA,WAAW,EAAE,0BAAA;AACf,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ActionListBox.web.js","sources":["../../../../../../src/components/ActionList/ActionListBox.web.tsx"],"sourcesContent":["/* eslint-disable react/display-name */\nimport React, { useCallback } from 'react';\nimport type { VariableSizeList } from 'react-window';\nimport { VariableSizeList as VirtualizedList } from 'react-window';\nimport { StyledListBoxWrapper } from './styles/StyledListBoxWrapper';\nimport type { SectionData } from './actionListUtils';\nimport { actionListMaxHeight, getActionListPadding } from './styles/getBaseListBoxWrapperStyles';\nimport { componentIds } from './componentIds';\nimport { ActionListSectionTitle } from './ActionListItem';\nimport { useBottomSheetContext } from '~components/BottomSheet/BottomSheetContext';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport type { DataAnalyticsAttribute } from '~utils/types';\nimport { makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\nimport { useIsMobile } from '~utils/useIsMobile';\nimport {\n actionListSectionTitleHeight,\n actionListDividerHeight,\n getActionListItemHeight,\n} from '~components/BaseMenu/BaseMenuItem/tokens';\nimport { useTheme } from '~utils';\nimport type { Theme } from '~components/BladeProvider';\nimport { useDropdown } from '~components/Dropdown/useDropdown';\nimport { dropdownComponentIds } from '~components/Dropdown/dropdownComponentIds';\nimport { getComponentId } from '~utils/isValidAllowedChildren';\nimport { Divider } from '~components/Divider';\nimport type { ActionListItemProps } from '~components/ActionList';\n\ntype ActionListBoxProps = {\n childrenWithId?: React.ReactNode[] | null;\n sectionData: SectionData;\n actionListItemWrapperRole: 'listbox' | 'menu' | undefined;\n isMultiSelectable: boolean;\n isInBottomSheet: boolean;\n} & DataAnalyticsAttribute;\n\nconst _ActionListBox = React.forwardRef<HTMLDivElement, ActionListBoxProps>(\n ({ childrenWithId, actionListItemWrapperRole, isMultiSelectable, ...rest }, ref) => {\n const { isInBottomSheet } = useBottomSheetContext();\n\n return (\n <StyledListBoxWrapper\n isInBottomSheet={isInBottomSheet}\n ref={ref}\n {...makeAccessible({\n role: actionListItemWrapperRole,\n multiSelectable: actionListItemWrapperRole === 'listbox' ? isMultiSelectable : undefined,\n })}\n {...makeAnalyticsAttribute(rest)}\n >\n {childrenWithId}\n </StyledListBoxWrapper>\n );\n },\n);\n\nconst ActionListBox = assignWithoutSideEffects(React.memo(_ActionListBox), {\n displayName: 'ActionListBox',\n});\n\n/**\n * get the height of the item based on the componentId\n */\nconst getItemHeight = ({\n index,\n itemData,\n actionListItemHeight,\n}: {\n index: number;\n itemData: React.ReactNode[];\n actionListItemHeight: number;\n}): number => {\n if (getComponentId(itemData[index]) === componentIds.ActionListItem) {\n return actionListItemHeight;\n }\n\n if (getComponentId(itemData[index]) === componentIds.ActionListSectionTitle) {\n return actionListSectionTitleHeight;\n }\n // @ts-expect-error: key does exist\n if (itemData[index]?.key.includes('divider')) {\n return actionListDividerHeight;\n }\n return 0;\n};\n\n/**\n * Returns the height of item and height of container based on theme and device\n */\nconst getVirtualItemParams = ({\n theme,\n isMobile,\n itemCount,\n itemData,\n}: {\n theme: Theme;\n isMobile: boolean;\n itemCount: number;\n itemData: React.ReactNode[];\n}): {\n actionListItemHeight: number;\n actionListBoxHeight: number;\n} => {\n const itemHeightResponsive = getActionListItemHeight(theme);\n const actionListItemVerticalMargin = theme.spacing[1] * 2;\n const actionListPadding = getActionListPadding(theme);\n const actionListItemHeight =\n (isMobile ? itemHeightResponsive.itemHeightMobile : itemHeightResponsive.itemHeightDesktop) +\n actionListItemVerticalMargin;\n const shouldCalculateMinimumHeight = itemCount <= 10;\n const actionListBoxHeight = actionListMaxHeight - actionListPadding * 2;\n const actionListBoxMinHeight = shouldCalculateMinimumHeight\n ? itemData.reduce<number>((acc, _, index) => {\n const itemHeight = getItemHeight({ index, itemData, actionListItemHeight });\n return acc + itemHeight;\n }, 0)\n : actionListBoxHeight;\n const finalActionListBoxHeight = Math.min(actionListBoxHeight, actionListBoxMinHeight);\n\n return {\n actionListItemHeight,\n actionListBoxHeight: finalActionListBoxHeight,\n };\n};\n\n/**\n * Takes the children (ActionListItem) and returns the filtered items based on `filteredValues` state\n */\nconst useFilteredItems = (\n children: React.ReactNode[],\n): {\n itemData: React.ReactNode[];\n itemCount: number;\n} => {\n const childrenArray = React.Children.toArray(children); // Convert children to an array\n\n const { filteredValues, hasAutoCompleteInHeader, dropdownTriggerer } = useDropdown();\n\n const items = React.useMemo(() => {\n const hasAutoComplete =\n hasAutoCompleteInHeader || dropdownTriggerer === dropdownComponentIds.triggers.AutoComplete;\n\n if (!hasAutoComplete) {\n return childrenArray;\n }\n\n const filteredItems = childrenArray.reduce<React.ReactNode[]>((acc, item, index) => {\n if (getComponentId(item) === componentIds.ActionListSection) {\n const sectionTitle = (\n <ActionListSectionTitle\n key={index}\n // @ts-expect-error: props does exist\n title={item?.props.title}\n isInsideVirtualizedList\n />\n );\n // @ts-expect-error: props does exist\n const sectionChildren = item?.props.children;\n\n const divider =\n index !== childrenArray.length - 1 ? (\n <Divider marginX=\"spacing.3\" marginY=\"spacing.1\" key={`divider-${index}`} />\n ) : null;\n const filteredSectionChildren = sectionChildren.filter(\n (item: { props: { value: string } }) => filteredValues.includes(item.props.value),\n );\n if (filteredSectionChildren.length !== 0) {\n acc.push(sectionTitle, ...filteredSectionChildren, divider);\n }\n } else {\n // @ts-expect-error: props does exist\n const value = item?.props.value;\n if (filteredValues.includes(value)) {\n acc.push(item);\n }\n }\n return acc;\n }, []);\n\n return filteredItems;\n }, [filteredValues, hasAutoCompleteInHeader, dropdownTriggerer, childrenArray]);\n\n return {\n itemData: items,\n itemCount: items.length,\n };\n};\n\n/**\n * Custom outer element for VirtualizedList that enables scrolling inside BottomSheet.\n * - data-allow-scroll: tells BottomSheet's useDrag to not capture touch events on this element\n * - data-body-scroll-lock-ignore: allows this element to scroll even when body scroll is locked\n * - touchAction: 'pan-y' enables vertical touch scrolling (overrides parent's 'none')\n * - overscrollBehavior: 'contain' prevents scroll chaining to parent elements\n */\nconst BottomSheetCompatibleOuterElement = React.forwardRef<\n HTMLDivElement,\n React.HTMLProps<HTMLDivElement>\n>(({ style, ...props }, ref) => (\n <div\n ref={ref}\n {...props}\n data-allow-scroll=\"true\"\n data-body-scroll-lock-ignore=\"true\"\n style={{\n ...style,\n touchAction: 'pan-y',\n overscrollBehavior: 'contain',\n }}\n />\n));\n\nconst VirtualListItem = React.memo(\n ({\n index,\n style,\n data,\n onVirtualizedFocus,\n }: {\n index: number;\n style: React.CSSProperties;\n data: React.ReactNode[];\n onVirtualizedFocus: (index: number) => void;\n }): React.ReactElement | null => {\n const currentItem = data[index];\n\n if (\n React.isValidElement(currentItem) &&\n getComponentId(currentItem) === componentIds.ActionListItem\n ) {\n // Clone the element passed via `data` and add the `_virtualizedIndex` prop\n const elementWithIndex = React.cloneElement(\n currentItem as React.ReactElement<ActionListItemProps>,\n {\n _virtualizedIndex: index,\n _onVirtualizedFocus: onVirtualizedFocus,\n },\n );\n\n return <div style={style}>{elementWithIndex}</div>;\n }\n\n return <div style={style}>{data[index]}</div>;\n },\n (prevProps, nextProps) => {\n // Custom comparison function to determine if component should update\n return (\n prevProps.index === nextProps.index &&\n prevProps.style === nextProps.style &&\n prevProps.data[prevProps.index] === nextProps.data[nextProps.index]\n );\n },\n);\n\nconst _ActionListVirtualizedBox = React.forwardRef<HTMLDivElement, ActionListBoxProps>(\n ({ childrenWithId, actionListItemWrapperRole, isMultiSelectable, ...rest }, ref) => {\n const virtualizedListRef = React.useRef<VariableSizeList>(null);\n const [visibleStartIndex, setVisibleStartIndex] = React.useState(0);\n const [visibleStopIndex, setVisibleStopIndex] = React.useState(0);\n const items = React.Children.toArray(childrenWithId); // Convert children to an array\n const { isInBottomSheet } = useBottomSheetContext();\n const { itemData, itemCount } = useFilteredItems(items);\n\n const isMobile = useIsMobile();\n const { theme } = useTheme();\n const { actionListItemHeight, actionListBoxHeight } = React.useMemo(\n () => getVirtualItemParams({ theme, isMobile, itemCount, itemData }),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [theme.name, isMobile, itemCount, itemData],\n );\n React.useEffect(() => {\n virtualizedListRef?.current?.resetAfterIndex(0);\n virtualizedListRef?.current?.scrollToItem(0);\n }, [itemCount]);\n\n return (\n <StyledListBoxWrapper\n isInBottomSheet={isInBottomSheet}\n // in case of virtualized list, we only render visible items. so css will hide divider for every last item visible. instead of hiding the last divider of the list.\n ref={ref}\n {...makeAccessible({\n role: actionListItemWrapperRole,\n multiSelectable: actionListItemWrapperRole === 'listbox' ? isMultiSelectable : undefined,\n })}\n {...makeAnalyticsAttribute(rest)}\n >\n <VirtualizedList<React.ReactNode[]>\n ref={virtualizedListRef}\n height={actionListBoxHeight}\n width=\"100%\"\n itemSize={(index) => getItemHeight({ index, itemData, actionListItemHeight })}\n itemCount={itemCount}\n itemData={itemData}\n itemKey={(index) =>\n // @ts-expect-error: props does exist\n itemData[index]?.props.value ??\n // @ts-expect-error: props does exist\n itemData[index]?.props.title ??\n // @ts-expect-error: props does exist\n itemData[index]?.props.key\n }\n onItemsRendered={({ visibleStartIndex, visibleStopIndex }) => {\n setVisibleStartIndex(visibleStartIndex);\n setVisibleStopIndex(visibleStopIndex);\n }}\n outerElementType={isInBottomSheet ? BottomSheetCompatibleOuterElement : undefined}\n >\n {useCallback(\n ({ index, style, data }) => {\n return (\n <VirtualListItem\n index={index}\n style={style}\n data={data}\n onVirtualizedFocus={(index) => {\n // We need scroll Direction to determine the index to focus\n const scrollDirection =\n Math.round((visibleStartIndex + visibleStopIndex) / 2) > index\n ? 'top'\n : 'bottom';\n virtualizedListRef?.current?.resetAfterIndex(0);\n /**\n * we are scrolling to the item which is 3 items away from the current item.\n * since we can have 2 item sectoin header and divider which are not focusable.\n */\n virtualizedListRef?.current?.scrollToItem(\n index + (scrollDirection === 'top' ? -3 : 3),\n 'smart',\n );\n }}\n />\n );\n },\n [visibleStartIndex, visibleStopIndex],\n )}\n </VirtualizedList>\n </StyledListBoxWrapper>\n );\n },\n);\n\nconst ActionListVirtualizedBox = assignWithoutSideEffects(React.memo(_ActionListVirtualizedBox), {\n displayName: 'ActionListVirtualizedBox',\n});\n\nexport { ActionListBox, ActionListVirtualizedBox };\n"],"names":["_ActionListBox","React","forwardRef","_ref","ref","childrenWithId","actionListItemWrapperRole","isMultiSelectable","rest","_objectWithoutProperties","_excluded","_useBottomSheetContex","useBottomSheetContext","isInBottomSheet","_jsx","StyledListBoxWrapper","_objectSpread","makeAccessible","role","multiSelectable","undefined","makeAnalyticsAttribute","children","ActionListBox","assignWithoutSideEffects","memo","displayName","getItemHeight","_ref2","_itemData$index","index","itemData","actionListItemHeight","getComponentId","componentIds","ActionListItem","ActionListSectionTitle","actionListSectionTitleHeight","key","includes","actionListDividerHeight","getVirtualItemParams","_ref3","theme","isMobile","itemCount","itemHeightResponsive","getActionListItemHeight","actionListItemVerticalMargin","spacing","actionListPadding","getActionListPadding","itemHeightMobile","itemHeightDesktop","shouldCalculateMinimumHeight","actionListBoxHeight","actionListMaxHeight","actionListBoxMinHeight","reduce","acc","_","itemHeight","finalActionListBoxHeight","Math","min","useFilteredItems","childrenArray","Children","toArray","_useDropdown","useDropdown","filteredValues","hasAutoCompleteInHeader","dropdownTriggerer","items","useMemo","hasAutoComplete","dropdownComponentIds","triggers","AutoComplete","filteredItems","item","ActionListSection","sectionTitle","title","props","isInsideVirtualizedList","sectionChildren","divider","length","Divider","marginX","marginY","concat","filteredSectionChildren","filter","value","push","apply","_toConsumableArray","BottomSheetCompatibleOuterElement","_ref4","style","_excluded2","touchAction","overscrollBehavior","VirtualListItem","_ref5","data","onVirtualizedFocus","currentItem","isValidElement","elementWithIndex","cloneElement","_virtualizedIndex","_onVirtualizedFocus","prevProps","nextProps","_ActionListVirtualizedBox","_ref6","_excluded3","virtualizedListRef","useRef","_React$useState","useState","_React$useState2","_slicedToArray","visibleStartIndex","setVisibleStartIndex","_React$useState3","_React$useState4","visibleStopIndex","setVisibleStopIndex","_useBottomSheetContex2","_useFilteredItems","useIsMobile","_useTheme","useTheme","_React$useMemo","name","useEffect","_virtualizedListRef$c","_virtualizedListRef$c2","current","resetAfterIndex","scrollToItem","VirtualizedList","height","width","itemSize","itemKey","_ref7","_itemData$index$props","_itemData$index2","_itemData$index3","_itemData$index4","onItemsRendered","_ref8","outerElementType","useCallback","_ref9","_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';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
+
import '../_Svg/index.js';
|
|
4
|
+
import '../useIconProps/index.js';
|
|
5
|
+
import '../../../utils/assignWithoutSideEffects/index.js';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
import useIconProps from '../useIconProps/useIconProps.js';
|
|
8
|
+
import Svg from '../_Svg/Svg/Svg.web.js';
|
|
9
|
+
import Path from '../_Svg/Path/Path.web.js';
|
|
10
|
+
import { assignWithoutSideEffects } from '../../../utils/assignWithoutSideEffects/assignWithoutSideEffects.js';
|
|
11
|
+
|
|
12
|
+
var _excluded = ["size", "color"];
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
var _ReticleIcon = function _ReticleIcon(_ref) {
|
|
16
|
+
var size = _ref.size,
|
|
17
|
+
color = _ref.color,
|
|
18
|
+
styledProps = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
+
var _useIconProps = useIconProps({
|
|
20
|
+
size: size,
|
|
21
|
+
color: color
|
|
22
|
+
}),
|
|
23
|
+
height = _useIconProps.height,
|
|
24
|
+
width = _useIconProps.width,
|
|
25
|
+
iconColor = _useIconProps.iconColor;
|
|
26
|
+
return /*#__PURE__*/jsx(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
|
|
27
|
+
width: width,
|
|
28
|
+
height: height,
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
fill: "none",
|
|
31
|
+
children: /*#__PURE__*/jsx(Path, {
|
|
32
|
+
d: "M13.0254 23H10.9629V13.8789H13.0254V23ZM10.1211 13.0332H1V10.9707H10.1211V13.0332ZM23.001 13.0332H13.8799V10.9707H23.001V13.0332ZM13.0254 10.1211H10.9629V1H13.0254V10.1211Z",
|
|
33
|
+
fill: iconColor
|
|
34
|
+
})
|
|
35
|
+
}));
|
|
36
|
+
};
|
|
37
|
+
var ReticleIcon = /*#__PURE__*/assignWithoutSideEffects(_ReticleIcon, {
|
|
38
|
+
componentId: 'ReticleIcon'
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export { ReticleIcon as default };
|
|
42
|
+
//# sourceMappingURL=ReticleIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReticleIcon.js","sources":["../../../../../../../src/components/Icons/ReticleIcon/ReticleIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\n\nconst _ReticleIcon: 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=\"M13.0254 23H10.9629V13.8789H13.0254V23ZM10.1211 13.0332H1V10.9707H10.1211V13.0332ZM23.001 13.0332H13.8799V10.9707H23.001V13.0332ZM13.0254 10.1211H10.9629V1H13.0254V10.1211Z\"\n fill={iconColor}\n />\n </Svg>\n );\n};\n\nconst ReticleIcon = assignWithoutSideEffects(_ReticleIcon, {\n componentId: 'ReticleIcon',\n});\n\nexport default ReticleIcon;\n"],"names":["_ReticleIcon","_ref","size","color","styledProps","_objectWithoutProperties","_excluded","_useIconProps","useIconProps","height","width","iconColor","_jsx","Svg","_objectSpread","viewBox","fill","children","Path","d","ReticleIcon","assignWithoutSideEffects","componentId"],"mappings":";;;;;;;;;;;;;;AAKA,IAAMA,YAA2B,GAAG,SAA9BA,YAA2BA,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;EAChE,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,8KAA8K;AAChLH,MAAAA,IAAI,EAAEL,SAAAA;KACP,CAAA;AAAC,GAAA,CACC,CAAC,CAAA;AAEV,CAAC,CAAA;AAED,IAAMS,WAAW,gBAAGC,wBAAwB,CAACrB,YAAY,EAAE;AACzDsB,EAAAA,WAAW,EAAE,aAAA;AACf,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -317,6 +317,7 @@ import './RefreshIcon/index.js';
|
|
|
317
317
|
import './RepeatIcon/index.js';
|
|
318
318
|
import './ReportsIcon/index.js';
|
|
319
319
|
import './ResizerIcon/index.js';
|
|
320
|
+
import './ReticleIcon/index.js';
|
|
320
321
|
import './RewindIcon/index.js';
|
|
321
322
|
import './RotateClockWiseIcon/index.js';
|
|
322
323
|
import './RotateCounterClockWiseIcon/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 AcceptPaymentsFilledIcon } from './AcceptPaymentsFilledIcon';\nexport { default as AcceptPaymentsIcon } from './AcceptPaymentsIcon';\nexport { default as ActivityIcon } from './ActivityIcon';\nexport { default as AddressBookIcon } from './AddressBookIcon';\nexport { default as AffordabilityFilledIcon } from './AffordabilityFilledIcon';\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 AndroidIcon } from './AndroidIcon';\nexport { default as AnnouncementIcon } from './AnnouncementIcon';\nexport { default as ApertureIcon } from './ApertureIcon';\nexport { default as AppStoreIcon } from './AppStoreIcon';\nexport { default as AppleIcon } from './AppleIcon';\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 ArrowSquareDownIcon } from './ArrowSquareDownIcon';\nexport { default as ArrowSquareDownLeftIcon } from './ArrowSquareDownLeftIcon';\nexport { default as ArrowSquareDownRightIcon } from './ArrowSquareDownRightIcon';\nexport { default as ArrowSquareLeftIcon } from './ArrowSquareLeftIcon';\nexport { default as ArrowSquareRightIcon } from './ArrowSquareRightIcon';\nexport { default as ArrowSquareUpIcon } from './ArrowSquareUpIcon';\nexport { default as ArrowSquareUpLeftIcon } from './ArrowSquareUpLeftIcon';\nexport { default as ArrowSquareUpRightIcon } from './ArrowSquareUpRightIcon';\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 AutomatePayrollFilledIcon } from './AutomatePayrollFilledIcon';\nexport { default as AutomatePayrollIcon } from './AutomatePayrollIcon';\nexport { default as AwardIcon } from './AwardIcon';\nexport { default as BankAccountVerificationFilledIcon } from './BankAccountVerificationFilledIcon';\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 BfsiFilledIcon } from './BfsiFilledIcon';\nexport { default as BfsiIcon } from './BfsiIcon';\nexport { default as BillIcon } from './BillIcon';\nexport { default as BillMeFilledIcon } from './BillMeFilledIcon';\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 BulkPayoutsFilledIcon } from './BulkPayoutsFilledIcon';\nexport { default as BulkPayoutsIcon } from './BulkPayoutsIcon';\nexport { default as BusinessBankingIcon } from './BusinessBankingIcon';\nexport { default as BusinessSpendManagementFilledIcon } from './BusinessSpendManagementFilledIcon';\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 ChevronUpDownIcon } from './ChevronUpDownIcon';\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 CompanyRegistrationFilledIcon } from './CompanyRegistrationFilledIcon';\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 CreditsAndLoansFilledIcon } from './CreditsAndLoansFilledIcon';\nexport { default as CreditsAndLoansIcon } from './CreditsAndLoansIcon';\nexport { default as CropIcon } from './CropIcon';\nexport { default as CrosshairIcon } from './CrosshairIcon';\nexport { default as CurrentAccountFilledIcon } from './CurrentAccountFilledIcon';\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 DigitalLendingFilledIcon } from './DigitalLendingFilledIcon';\nexport { default as DigitalLendingIcon } from './DigitalLendingIcon';\nexport { default as DisbursePaymentsFilledIcon } from './DisbursePaymentsFilledIcon';\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 DragHandleIcon } from './DragHandleIcon';\nexport { default as DropletIcon } from './DropletIcon';\nexport { default as EcommerceFilledIcon } from './EcommerceFilledIcon';\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 EducationFilledIcon } from './EducationFilledIcon';\nexport { default as EducationIcon } from './EducationIcon';\nexport { default as EngageFilledIcon } from './EngageFilledIcon';\nexport { default as EngageIcon } from './EngageIcon';\nexport { default as EqualsIcon } from './EqualsIcon';\nexport { default as EscrowAccountFilledIcon } from './EscrowAccountFilledIcon';\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 FlaskIcon } from './FlaskIcon';\nexport { default as FolderIcon } from './FolderIcon';\nexport { default as ForexManagementFilledIcon } from './ForexManagementFilledIcon';\nexport { default as ForexManagementIcon } from './ForexManagementIcon';\nexport { default as FreelanceFilledIcon } from './FreelanceFilledIcon';\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 InstantSettlementFilledIcon } from './InstantSettlementFilledIcon';\nexport { default as InstantSettlementIcon } from './InstantSettlementIcon';\nexport { default as InternationalPaymentsFilledIcon } from './InternationalPaymentsFilledIcon';\nexport { default as InternationalPaymentsIcon } from './InternationalPaymentsIcon';\nexport { default as InvoicesFilledIcon } from './InvoicesFilledIcon';\nexport { default as InvoicesIcon } from './InvoicesIcon';\nexport { default as ItalicIcon } from './ItalicIcon';\nexport { default as KeyIcon } from './KeyIcon';\nexport { default as KeyboardIcon } from './KeyboardIcon';\nexport { default as LayersIcon } from './LayersIcon';\nexport { default as LayoutIcon } from './LayoutIcon';\nexport { default as LeftCircularCornerIcon } from './LeftCircularCornerIcon';\nexport { default as LifeBuoyIcon } from './LifeBuoyIcon';\nexport { default as LinkIcon } from './LinkIcon';\nexport { default as ListIcon } from './ListIcon';\nexport { default as ListSearchIcon } from './ListSearchIcon';\nexport { default as LoaderIcon } from './LoaderIcon';\nexport { default as LoansForBusinessesFilledIcon } from './LoansForBusinessesFilledIcon';\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 MagicCheckoutFilledIcon } from './MagicCheckoutFilledIcon';\nexport { default as MagicCheckoutIcon } from './MagicCheckoutIcon';\nexport { default as MagicKonnectFilledIcon } from './MagicKonnectFilledIcon';\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 MobileAppFilledIcon } from './MobileAppFilledIcon';\nexport { default as MobileAppIcon } from './MobileAppIcon';\nexport { default as MonitorIcon } from './MonitorIcon';\nexport { default as MoonIcon } from './MoonIcon';\nexport { default as MoreFilledIcon } from './MoreFilledIcon';\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 OptimizerFilledIcon } from './OptimizerFilledIcon';\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 PaymentButtonFilledIcon } from './PaymentButtonFilledIcon';\nexport { default as PaymentButtonIcon } from './PaymentButtonIcon';\nexport { default as PaymentButtonsIcon } from './PaymentButtonsIcon';\nexport { default as PaymentGatewayFilledIcon } from './PaymentGatewayFilledIcon';\nexport { default as PaymentGatewayIcon } from './PaymentGatewayIcon';\nexport { default as PaymentLinkFilledIcon } from './PaymentLinkFilledIcon';\nexport { default as PaymentLinkIcon } from './PaymentLinkIcon';\nexport { default as PaymentLinksIcon } from './PaymentLinksIcon';\nexport { default as PaymentPagesFilledIcon } from './PaymentPagesFilledIcon';\nexport { default as PaymentPagesIcon } from './PaymentPagesIcon';\nexport { default as PayoutLinkIcon } from './PayoutLinkIcon';\nexport { default as PayrollAddonsFilledIcon } from './PayrollAddonsFilledIcon';\nexport { default as PayrollAddonsIcon } from './PayrollAddonsIcon';\nexport { default as PayrollForCaFilledIcon } from './PayrollForCaFilledIcon';\nexport { default as PayrollForCaIcon } from './PayrollForCaIcon';\nexport { default as PayrollForStartupOrSmeFilledIcon } from './PayrollForStartupOrSmeFilledIcon';\nexport { default as PayrollForStartupOrSmeIcon } from './PayrollForStartupOrSmeIcon';\nexport { default as PercentIcon } from './PercentIcon';\nexport { default as PettyCashBudgetFilledIcon } from './PettyCashBudgetFilledIcon';\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 PosFilledIcon } from './PosFilledIcon';\nexport { default as PosIcon } from './PosIcon';\nexport { default as PowerIcon } from './PowerIcon';\nexport { default as PrinterIcon } from './PrinterIcon';\nexport { default as PromptIcon } from './PromptIcon';\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 RazorpayxPayrollFilledIcon } from './RazorpayxPayrollFilledIcon';\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 RouteFilledIcon } from './RouteFilledIcon';\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 SaasFilledIcon } from './SaasFilledIcon';\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 SmartCollectFilledIcon } from './SmartCollectFilledIcon';\nexport { default as SmartCollectIcon } from './SmartCollectIcon';\nexport { default as SmartphoneIcon } from './SmartphoneIcon';\nexport { default as SolutionsFilledIcon } from './SolutionsFilledIcon';\nexport { default as SolutionsIcon } from './SolutionsIcon';\nexport { default as SortIcon } from './SortIcon';\nexport { default as SourceToPayFilledIcon } from './SourceToPayFilledIcon';\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 SubscriptionsFilledIcon } from './SubscriptionsFilledIcon';\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 TaxPaymentsFilledIcon } from './TaxPaymentsFilledIcon';\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 TokenHqFilledIcon } from './TokenHqFilledIcon';\nexport { default as TokenHqIcon } from './TokenHqIcon';\nexport { default as TopLeftRoundedCornerIcon } from './TopLeftRoundedCornerIcon';\nexport { default as TopLeftSharpCornerIcon } from './TopLeftSharpCornerIcon';\nexport { default as TrademarkIcon } from './TrademarkIcon';\nexport { default as TrademarkRegisteredIcon } from './TrademarkRegisteredIcon';\nexport { default as TransactionsIcon } from './TransactionsIcon';\nexport { default as TranslateIcon } from './TranslateIcon';\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 UpiAutopayFilledIcon } from './UpiAutopayFilledIcon';\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 VendorPaymentsFilledIcon } from './VendorPaymentsFilledIcon';\nexport { default as VendorPaymentsIcon } from './VendorPaymentsIcon';\nexport { default as VideoIcon } from './VideoIcon';\nexport { default as VideoOffIcon } from './VideoOffIcon';\nexport { default as ViewLiveDemoFilledIcon } from './ViewLiveDemoFilledIcon';\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 VolumeOffIcon } from './VolumeOffIcon';\nexport { default as VolumeOnIcon } from './VolumeOnIcon';\nexport { default as WalletIcon } from './WalletIcon';\nexport { default as WatchIcon } from './WatchIcon';\nexport { default as WhatsAppIcon } from './WhatsAppIcon';\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 AcceptPaymentsFilledIcon } from './AcceptPaymentsFilledIcon';\nexport { default as AcceptPaymentsIcon } from './AcceptPaymentsIcon';\nexport { default as ActivityIcon } from './ActivityIcon';\nexport { default as AddressBookIcon } from './AddressBookIcon';\nexport { default as AffordabilityFilledIcon } from './AffordabilityFilledIcon';\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 AndroidIcon } from './AndroidIcon';\nexport { default as AnnouncementIcon } from './AnnouncementIcon';\nexport { default as ApertureIcon } from './ApertureIcon';\nexport { default as AppStoreIcon } from './AppStoreIcon';\nexport { default as AppleIcon } from './AppleIcon';\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 ArrowSquareDownIcon } from './ArrowSquareDownIcon';\nexport { default as ArrowSquareDownLeftIcon } from './ArrowSquareDownLeftIcon';\nexport { default as ArrowSquareDownRightIcon } from './ArrowSquareDownRightIcon';\nexport { default as ArrowSquareLeftIcon } from './ArrowSquareLeftIcon';\nexport { default as ArrowSquareRightIcon } from './ArrowSquareRightIcon';\nexport { default as ArrowSquareUpIcon } from './ArrowSquareUpIcon';\nexport { default as ArrowSquareUpLeftIcon } from './ArrowSquareUpLeftIcon';\nexport { default as ArrowSquareUpRightIcon } from './ArrowSquareUpRightIcon';\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 AutomatePayrollFilledIcon } from './AutomatePayrollFilledIcon';\nexport { default as AutomatePayrollIcon } from './AutomatePayrollIcon';\nexport { default as AwardIcon } from './AwardIcon';\nexport { default as BankAccountVerificationFilledIcon } from './BankAccountVerificationFilledIcon';\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 BfsiFilledIcon } from './BfsiFilledIcon';\nexport { default as BfsiIcon } from './BfsiIcon';\nexport { default as BillIcon } from './BillIcon';\nexport { default as BillMeFilledIcon } from './BillMeFilledIcon';\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 BulkPayoutsFilledIcon } from './BulkPayoutsFilledIcon';\nexport { default as BulkPayoutsIcon } from './BulkPayoutsIcon';\nexport { default as BusinessBankingIcon } from './BusinessBankingIcon';\nexport { default as BusinessSpendManagementFilledIcon } from './BusinessSpendManagementFilledIcon';\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 ChevronUpDownIcon } from './ChevronUpDownIcon';\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 CompanyRegistrationFilledIcon } from './CompanyRegistrationFilledIcon';\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 CreditsAndLoansFilledIcon } from './CreditsAndLoansFilledIcon';\nexport { default as CreditsAndLoansIcon } from './CreditsAndLoansIcon';\nexport { default as CropIcon } from './CropIcon';\nexport { default as CrosshairIcon } from './CrosshairIcon';\nexport { default as CurrentAccountFilledIcon } from './CurrentAccountFilledIcon';\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 DigitalLendingFilledIcon } from './DigitalLendingFilledIcon';\nexport { default as DigitalLendingIcon } from './DigitalLendingIcon';\nexport { default as DisbursePaymentsFilledIcon } from './DisbursePaymentsFilledIcon';\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 DragHandleIcon } from './DragHandleIcon';\nexport { default as DropletIcon } from './DropletIcon';\nexport { default as EcommerceFilledIcon } from './EcommerceFilledIcon';\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 EducationFilledIcon } from './EducationFilledIcon';\nexport { default as EducationIcon } from './EducationIcon';\nexport { default as EngageFilledIcon } from './EngageFilledIcon';\nexport { default as EngageIcon } from './EngageIcon';\nexport { default as EqualsIcon } from './EqualsIcon';\nexport { default as EscrowAccountFilledIcon } from './EscrowAccountFilledIcon';\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 FlaskIcon } from './FlaskIcon';\nexport { default as FolderIcon } from './FolderIcon';\nexport { default as ForexManagementFilledIcon } from './ForexManagementFilledIcon';\nexport { default as ForexManagementIcon } from './ForexManagementIcon';\nexport { default as FreelanceFilledIcon } from './FreelanceFilledIcon';\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 InstantSettlementFilledIcon } from './InstantSettlementFilledIcon';\nexport { default as InstantSettlementIcon } from './InstantSettlementIcon';\nexport { default as InternationalPaymentsFilledIcon } from './InternationalPaymentsFilledIcon';\nexport { default as InternationalPaymentsIcon } from './InternationalPaymentsIcon';\nexport { default as InvoicesFilledIcon } from './InvoicesFilledIcon';\nexport { default as InvoicesIcon } from './InvoicesIcon';\nexport { default as ItalicIcon } from './ItalicIcon';\nexport { default as KeyIcon } from './KeyIcon';\nexport { default as KeyboardIcon } from './KeyboardIcon';\nexport { default as LayersIcon } from './LayersIcon';\nexport { default as LayoutIcon } from './LayoutIcon';\nexport { default as LeftCircularCornerIcon } from './LeftCircularCornerIcon';\nexport { default as LifeBuoyIcon } from './LifeBuoyIcon';\nexport { default as LinkIcon } from './LinkIcon';\nexport { default as ListIcon } from './ListIcon';\nexport { default as ListSearchIcon } from './ListSearchIcon';\nexport { default as LoaderIcon } from './LoaderIcon';\nexport { default as LoansForBusinessesFilledIcon } from './LoansForBusinessesFilledIcon';\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 MagicCheckoutFilledIcon } from './MagicCheckoutFilledIcon';\nexport { default as MagicCheckoutIcon } from './MagicCheckoutIcon';\nexport { default as MagicKonnectFilledIcon } from './MagicKonnectFilledIcon';\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 MobileAppFilledIcon } from './MobileAppFilledIcon';\nexport { default as MobileAppIcon } from './MobileAppIcon';\nexport { default as MonitorIcon } from './MonitorIcon';\nexport { default as MoonIcon } from './MoonIcon';\nexport { default as MoreFilledIcon } from './MoreFilledIcon';\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 OptimizerFilledIcon } from './OptimizerFilledIcon';\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 PaymentButtonFilledIcon } from './PaymentButtonFilledIcon';\nexport { default as PaymentButtonIcon } from './PaymentButtonIcon';\nexport { default as PaymentButtonsIcon } from './PaymentButtonsIcon';\nexport { default as PaymentGatewayFilledIcon } from './PaymentGatewayFilledIcon';\nexport { default as PaymentGatewayIcon } from './PaymentGatewayIcon';\nexport { default as PaymentLinkFilledIcon } from './PaymentLinkFilledIcon';\nexport { default as PaymentLinkIcon } from './PaymentLinkIcon';\nexport { default as PaymentLinksIcon } from './PaymentLinksIcon';\nexport { default as PaymentPagesFilledIcon } from './PaymentPagesFilledIcon';\nexport { default as PaymentPagesIcon } from './PaymentPagesIcon';\nexport { default as PayoutLinkIcon } from './PayoutLinkIcon';\nexport { default as PayrollAddonsFilledIcon } from './PayrollAddonsFilledIcon';\nexport { default as PayrollAddonsIcon } from './PayrollAddonsIcon';\nexport { default as PayrollForCaFilledIcon } from './PayrollForCaFilledIcon';\nexport { default as PayrollForCaIcon } from './PayrollForCaIcon';\nexport { default as PayrollForStartupOrSmeFilledIcon } from './PayrollForStartupOrSmeFilledIcon';\nexport { default as PayrollForStartupOrSmeIcon } from './PayrollForStartupOrSmeIcon';\nexport { default as PercentIcon } from './PercentIcon';\nexport { default as PettyCashBudgetFilledIcon } from './PettyCashBudgetFilledIcon';\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 PosFilledIcon } from './PosFilledIcon';\nexport { default as PosIcon } from './PosIcon';\nexport { default as PowerIcon } from './PowerIcon';\nexport { default as PrinterIcon } from './PrinterIcon';\nexport { default as PromptIcon } from './PromptIcon';\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 RazorpayxPayrollFilledIcon } from './RazorpayxPayrollFilledIcon';\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 ReticleIcon } from './ReticleIcon';\nexport { default as RewindIcon } from './RewindIcon';\nexport { default as RotateClockWiseIcon } from './RotateClockWiseIcon';\nexport { default as RotateCounterClockWiseIcon } from './RotateCounterClockWiseIcon';\nexport { default as RouteFilledIcon } from './RouteFilledIcon';\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 SaasFilledIcon } from './SaasFilledIcon';\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 SmartCollectFilledIcon } from './SmartCollectFilledIcon';\nexport { default as SmartCollectIcon } from './SmartCollectIcon';\nexport { default as SmartphoneIcon } from './SmartphoneIcon';\nexport { default as SolutionsFilledIcon } from './SolutionsFilledIcon';\nexport { default as SolutionsIcon } from './SolutionsIcon';\nexport { default as SortIcon } from './SortIcon';\nexport { default as SourceToPayFilledIcon } from './SourceToPayFilledIcon';\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 SubscriptionsFilledIcon } from './SubscriptionsFilledIcon';\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 TaxPaymentsFilledIcon } from './TaxPaymentsFilledIcon';\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 TokenHqFilledIcon } from './TokenHqFilledIcon';\nexport { default as TokenHqIcon } from './TokenHqIcon';\nexport { default as TopLeftRoundedCornerIcon } from './TopLeftRoundedCornerIcon';\nexport { default as TopLeftSharpCornerIcon } from './TopLeftSharpCornerIcon';\nexport { default as TrademarkIcon } from './TrademarkIcon';\nexport { default as TrademarkRegisteredIcon } from './TrademarkRegisteredIcon';\nexport { default as TransactionsIcon } from './TransactionsIcon';\nexport { default as TranslateIcon } from './TranslateIcon';\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 UpiAutopayFilledIcon } from './UpiAutopayFilledIcon';\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 VendorPaymentsFilledIcon } from './VendorPaymentsFilledIcon';\nexport { default as VendorPaymentsIcon } from './VendorPaymentsIcon';\nexport { default as VideoIcon } from './VideoIcon';\nexport { default as VideoOffIcon } from './VideoOffIcon';\nexport { default as ViewLiveDemoFilledIcon } from './ViewLiveDemoFilledIcon';\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 VolumeOffIcon } from './VolumeOffIcon';\nexport { default as VolumeOnIcon } from './VolumeOnIcon';\nexport { default as WalletIcon } from './WalletIcon';\nexport { default as WatchIcon } from './WatchIcon';\nexport { default as WhatsAppIcon } from './WhatsAppIcon';\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"}
|
|
@@ -43,7 +43,7 @@ var CountrySelector = function CountrySelector(_ref) {
|
|
|
43
43
|
setIsDropdownOpen = _React$useState2[1];
|
|
44
44
|
var isMobile = useIsMobile();
|
|
45
45
|
var actionList = /*#__PURE__*/jsx(ActionList, {
|
|
46
|
-
isVirtualized:
|
|
46
|
+
isVirtualized: true,
|
|
47
47
|
children: countryData.map(function (country) {
|
|
48
48
|
return /*#__PURE__*/jsx(ActionListItem, {
|
|
49
49
|
leading: /*#__PURE__*/jsx(ActionListItemAsset, {
|
package/build/lib/web/development/components/Input/PhoneNumberInput/CountrySelector.web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountrySelector.web.js","sources":["../../../../../../../src/components/Input/PhoneNumberInput/CountrySelector.web.tsx"],"sourcesContent":["import type { CountryCodeType, getFlagsForAllCountries } from '@razorpay/i18nify-js';\nimport { getDialCodeByCountryCode, getFlagOfCountry } from '@razorpay/i18nify-js';\nimport React from 'react';\nimport { size as sizes } from '~tokens/global';\nimport { makeSize } from '~utils';\nimport {\n ActionList,\n ActionListItem,\n ActionListItemAsset,\n ActionListItemText,\n} from '~components/ActionList';\nimport { BottomSheet, BottomSheetBody, BottomSheetHeader } from '~components/BottomSheet';\nimport type { DropdownOverlayProps } from '~components/Dropdown';\nimport { Dropdown, DropdownOverlay, InputDropdownButton } from '~components/Dropdown';\nimport { useIsMobile } from '~utils/useIsMobile';\n\nconst countryNameFormatter = new Intl.DisplayNames(['en'], { type: 'region' });\n\ntype CountryData = {\n code: CountryCodeType;\n name: string;\n}[];\ntype CounterSelectorProps = {\n selectedCountry: CountryCodeType;\n inputWrapperRef: DropdownOverlayProps['referenceRef'];\n countryData: CountryData;\n onItemClick: (props: { name: string }) => void;\n flags: ReturnType<typeof getFlagsForAllCountries>;\n isDisabled?: boolean;\n size: 'xsmall' | 'small' | 'medium' | 'large';\n};\n\nconst flagSize = {\n xsmall: makeSize(sizes[16]),\n small: makeSize(sizes[16]),\n medium: makeSize(sizes[20]),\n large: makeSize(sizes[24]),\n} as const;\n\nconst CountrySelector = ({\n isDisabled,\n selectedCountry,\n inputWrapperRef,\n countryData,\n onItemClick,\n flags,\n size,\n}: CounterSelectorProps): React.ReactElement => {\n const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);\n const isMobile = useIsMobile();\n\n const actionList = (\n <ActionList isVirtualized={
|
|
1
|
+
{"version":3,"file":"CountrySelector.web.js","sources":["../../../../../../../src/components/Input/PhoneNumberInput/CountrySelector.web.tsx"],"sourcesContent":["import type { CountryCodeType, getFlagsForAllCountries } from '@razorpay/i18nify-js';\nimport { getDialCodeByCountryCode, getFlagOfCountry } from '@razorpay/i18nify-js';\nimport React from 'react';\nimport { size as sizes } from '~tokens/global';\nimport { makeSize } from '~utils';\nimport {\n ActionList,\n ActionListItem,\n ActionListItemAsset,\n ActionListItemText,\n} from '~components/ActionList';\nimport { BottomSheet, BottomSheetBody, BottomSheetHeader } from '~components/BottomSheet';\nimport type { DropdownOverlayProps } from '~components/Dropdown';\nimport { Dropdown, DropdownOverlay, InputDropdownButton } from '~components/Dropdown';\nimport { useIsMobile } from '~utils/useIsMobile';\n\nconst countryNameFormatter = new Intl.DisplayNames(['en'], { type: 'region' });\n\ntype CountryData = {\n code: CountryCodeType;\n name: string;\n}[];\ntype CounterSelectorProps = {\n selectedCountry: CountryCodeType;\n inputWrapperRef: DropdownOverlayProps['referenceRef'];\n countryData: CountryData;\n onItemClick: (props: { name: string }) => void;\n flags: ReturnType<typeof getFlagsForAllCountries>;\n isDisabled?: boolean;\n size: 'xsmall' | 'small' | 'medium' | 'large';\n};\n\nconst flagSize = {\n xsmall: makeSize(sizes[16]),\n small: makeSize(sizes[16]),\n medium: makeSize(sizes[20]),\n large: makeSize(sizes[24]),\n} as const;\n\nconst CountrySelector = ({\n isDisabled,\n selectedCountry,\n inputWrapperRef,\n countryData,\n onItemClick,\n flags,\n size,\n}: CounterSelectorProps): React.ReactElement => {\n const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);\n const isMobile = useIsMobile();\n\n const actionList = (\n <ActionList isVirtualized={true}>\n {countryData.map((country) => {\n return (\n <ActionListItem\n key={country.code}\n leading={<ActionListItemAsset src={flags[country.code]['4X3']} alt={country.name} />}\n title={country.name}\n value={country.code}\n trailing={\n <ActionListItemText>{getDialCodeByCountryCode(country.code)}</ActionListItemText>\n }\n />\n );\n })}\n </ActionList>\n );\n\n const flagImage = (\n <img\n loading=\"lazy\"\n role=\"presentation\"\n width={flagSize[size]}\n src={getFlagOfCountry(selectedCountry)['4X3']}\n alt=\"\"\n />\n );\n\n return (\n <Dropdown isOpen={isDropdownOpen} onOpenChange={setIsDropdownOpen}>\n <InputDropdownButton\n value={selectedCountry}\n onChange={({ value }) => onItemClick({ name: value })}\n accessibilityLabel={`${countryNameFormatter.of(selectedCountry)} - Select Country`}\n isDisabled={isDisabled}\n size={size}\n leading={flagImage}\n />\n {isMobile ? (\n <BottomSheet>\n <BottomSheetHeader title=\"Select A Country\" />\n <BottomSheetBody>{actionList}</BottomSheetBody>\n </BottomSheet>\n ) : (\n <DropdownOverlay referenceRef={inputWrapperRef}>{actionList}</DropdownOverlay>\n )}\n </Dropdown>\n );\n};\n\nexport { CountrySelector, countryNameFormatter };\n"],"names":["countryNameFormatter","Intl","DisplayNames","type","flagSize","xsmall","makeSize","sizes","small","medium","large","CountrySelector","_ref","isDisabled","selectedCountry","inputWrapperRef","countryData","onItemClick","flags","size","_React$useState","React","useState","_React$useState2","_slicedToArray","isDropdownOpen","setIsDropdownOpen","isMobile","useIsMobile","actionList","_jsx","ActionList","isVirtualized","children","map","country","ActionListItem","leading","ActionListItemAsset","src","code","alt","name","title","value","trailing","ActionListItemText","getDialCodeByCountryCode","flagImage","loading","role","width","getFlagOfCountry","_jsxs","Dropdown","isOpen","onOpenChange","InputDropdownButton","onChange","_ref2","accessibilityLabel","concat","of","BottomSheet","BottomSheetHeader","BottomSheetBody","DropdownOverlay","referenceRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgBMA,IAAAA,oBAAoB,GAAG,IAAIC,IAAI,CAACC,YAAY,CAAC,CAAC,IAAI,CAAC,EAAE;AAAEC,EAAAA,IAAI,EAAE,QAAA;AAAS,CAAC,EAAC;AAgB9E,IAAMC,QAAQ,GAAG;AACfC,EAAAA,MAAM,EAAEC,QAAQ,CAACC,IAAK,CAAC,EAAE,CAAC,CAAC;AAC3BC,EAAAA,KAAK,EAAEF,QAAQ,CAACC,IAAK,CAAC,EAAE,CAAC,CAAC;AAC1BE,EAAAA,MAAM,EAAEH,QAAQ,CAACC,IAAK,CAAC,EAAE,CAAC,CAAC;AAC3BG,EAAAA,KAAK,EAAEJ,QAAQ,CAACC,IAAK,CAAC,EAAE,CAAC,CAAA;AAC3B,CAAU,CAAA;AAEV,IAAMI,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EAQ2B;AAAA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CAAC,gBAEdC,GAAA,CAACoC,eAAe,EAAA;AAACC,MAAAA,YAAY,EAAEpD,eAAgB;AAAAkB,MAAAA,QAAA,EAAEJ,UAAAA;AAAU,KAAkB,CAC9E,CAAA;AAAA,GACO,CAAC,CAAA;AAEf;;;;"}
|
|
@@ -16,6 +16,7 @@ import { usePopup } from '../DatePicker/usePopup.js';
|
|
|
16
16
|
import '../Box/styledProps/index.js';
|
|
17
17
|
import '../../utils/metaAttribute/index.js';
|
|
18
18
|
import '../../tokens/global/index.js';
|
|
19
|
+
import { componentZIndices } from '../../utils/componentZIndices.js';
|
|
19
20
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
21
|
import useTheme from '../BladeProvider/useTheme.js';
|
|
21
22
|
import { size } from '../../tokens/global/size.js';
|
|
@@ -30,7 +31,7 @@ import { BottomSheetHeader } from '../BottomSheet/BottomSheetHeader.web.js';
|
|
|
30
31
|
import { BottomSheetBody } from '../BottomSheet/BottomSheetBody.web.js';
|
|
31
32
|
import { assignWithoutSideEffects } from '../../utils/assignWithoutSideEffects/assignWithoutSideEffects.js';
|
|
32
33
|
|
|
33
|
-
var _excluded = ["value", "defaultValue", "onChange", "onApply", "isOpen", "defaultIsOpen", "onOpenChange", "label", "labelPosition", "accessibilityLabel", "errorText", "helpText", "isDisabled", "isRequired", "successText", "validationState", "size", "autoFocus", "necessityIndicator", "name", "placeholder", "showFooterActions", "timeFormat", "minuteStep", "labelSuffix", "labelTrailing", "testID"];
|
|
34
|
+
var _excluded = ["value", "defaultValue", "onChange", "onApply", "isOpen", "defaultIsOpen", "onOpenChange", "label", "labelPosition", "accessibilityLabel", "errorText", "helpText", "isDisabled", "isRequired", "successText", "validationState", "size", "autoFocus", "necessityIndicator", "name", "placeholder", "showFooterActions", "timeFormat", "minuteStep", "labelSuffix", "labelTrailing", "testID", "zIndex"];
|
|
34
35
|
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; }
|
|
35
36
|
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; }
|
|
36
37
|
var _BaseTimePicker = function _BaseTimePicker(_ref) {
|
|
@@ -66,6 +67,8 @@ var _BaseTimePicker = function _BaseTimePicker(_ref) {
|
|
|
66
67
|
labelSuffix = _ref.labelSuffix,
|
|
67
68
|
labelTrailing = _ref.labelTrailing,
|
|
68
69
|
testID = _ref.testID,
|
|
70
|
+
_ref$zIndex = _ref.zIndex,
|
|
71
|
+
zIndex = _ref$zIndex === void 0 ? componentZIndices.popover : _ref$zIndex,
|
|
69
72
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
70
73
|
var referenceRef = useRef(null);
|
|
71
74
|
var isMobile = useIsMobile();
|
|
@@ -222,11 +225,13 @@ var _BaseTimePicker = function _BaseTimePicker(_ref) {
|
|
|
222
225
|
children: /*#__PURE__*/jsx(FloatingFocusManager, {
|
|
223
226
|
initialFocus: -1,
|
|
224
227
|
context: context,
|
|
225
|
-
guards:
|
|
228
|
+
guards: true,
|
|
226
229
|
order: ['reference', 'content'],
|
|
230
|
+
returnFocus: true,
|
|
227
231
|
children: /*#__PURE__*/jsx(BaseBox, _objectSpread(_objectSpread(_objectSpread({
|
|
228
232
|
ref: refs.setFloating,
|
|
229
|
-
style: floatingStyles
|
|
233
|
+
style: floatingStyles,
|
|
234
|
+
zIndex: zIndex
|
|
230
235
|
}, getFloatingProps()), makeAccessible({
|
|
231
236
|
labelledBy: titleId
|
|
232
237
|
})), {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTimePicker.web.js","sources":["../../../../../../src/components/TimePicker/BaseTimePicker.web.tsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { FloatingFocusManager, FloatingPortal } from '@floating-ui/react';\nimport type { TimePickerProps } from './types';\nimport { TimeInput } from './TimeInput.web';\nimport { useTimePickerState } from './useTimePickerState';\nimport { TimePickerContent } from './TimePickerContent';\nimport type { DataAnalyticsAttribute } from '~utils/types';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { BottomSheet, BottomSheetBody, BottomSheetHeader } from '~components/BottomSheet';\nimport BaseBox from '~components/Box/BaseBox';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport { useId } from '~utils/useId';\nimport { useIsMobile } from '~utils/useIsMobile';\nimport { useTheme, getPopupBoxShadowString } from '~utils';\nimport { usePopup } from '~components/DatePicker/usePopup';\nimport { getStyledProps } from '~components/Box/styledProps';\nimport { metaAttribute, MetaConstants } from '~utils/metaAttribute';\nimport { size as sizeTokens } from '~tokens/global';\n\nconst _BaseTimePicker = ({\n value,\n defaultValue,\n onChange,\n onApply,\n isOpen,\n defaultIsOpen,\n onOpenChange,\n label,\n labelPosition = 'top',\n accessibilityLabel,\n errorText,\n helpText,\n isDisabled,\n isRequired,\n successText,\n validationState,\n size = 'medium',\n autoFocus,\n necessityIndicator,\n name,\n placeholder,\n showFooterActions = true,\n timeFormat = '12h',\n minuteStep = 1,\n labelSuffix,\n labelTrailing,\n testID,\n ...props\n}: TimePickerProps & StyledPropsBlade & DataAnalyticsAttribute): React.ReactElement => {\n const referenceRef = useRef<HTMLElement>(null);\n const isMobile = useIsMobile();\n const { theme } = useTheme();\n const titleId = useId('timepicker-title');\n const { colorScheme } = useTheme();\n\n const {\n timeValue,\n setTimeValue,\n internalTimeValue,\n setInternalTimeValue,\n selectedHour,\n selectedMinute,\n selectedPeriod,\n isOpen: isDropdownOpen,\n setIsOpen: setIsDropdownOpen,\n onApply: handleApply,\n onCancel: handleCancel,\n createCompleteTime,\n } = useTimePickerState({\n value,\n defaultValue,\n onChange,\n isOpen,\n defaultIsOpen,\n onOpenChange,\n timeFormat,\n showFooterActions,\n onApply,\n });\n\n const {\n refs,\n context,\n isMounted,\n floatingStyles,\n animationStyles,\n getReferenceProps,\n getFloatingProps,\n } = usePopup({\n enabled: !isMobile,\n placement: 'bottom-start',\n open: isDropdownOpen,\n onOpenChange: (isOpen, _, reason) => {\n if (isDisabled) return;\n setIsDropdownOpen(isOpen);\n if (reason === 'escape-key') {\n handleCancel();\n }\n },\n referenceRef,\n // crossAxisOffset calculation for left label positioning:\n // Medium: 120px (label width) + 12px (padding) = 132px\n // Large: 176px (label width) + 16px (padding) = 192px\n crossAxisOffset:\n labelPosition === 'left' ? (size === 'large' ? sizeTokens[192] : sizeTokens[132]) : 0,\n });\n\n // Fix for React Aria contentEditable focus issue with Floating UI\n // React Aria's contentEditable segments don't properly trigger Floating UI's dismiss\n // See: https://github.com/adobe/react-spectrum/issues/3164\n React.useEffect(() => {\n const handleClick = (e: MouseEvent): void => {\n const target = e.target as Node;\n const isClickOnInput = referenceRef.current?.contains(target);\n const isClickOnDropdown = refs.floating.current?.contains(target);\n\n // On mobile, also check if click is inside TimePicker content (BottomSheet)\n const isClickOnTimePickerContent = (target as Element).closest?.('.timepicker-content');\n\n // Only close dropdown if click is outside input, dropdown, and TimePicker content\n // This ensures clicking different segments within the input keeps dropdown open\n if (isDropdownOpen && !isClickOnInput && !isClickOnDropdown) {\n if (isClickOnTimePickerContent && showFooterActions) {\n // Inside TimePicker with footer actions - don't close\n return;\n }\n handleApply();\n }\n };\n\n if (isDropdownOpen) {\n document.addEventListener('click', handleClick);\n return () => document.removeEventListener('click', handleClick);\n }\n return undefined;\n }, [isDropdownOpen, showFooterActions, handleCancel, handleApply]);\n\n // Mobile: Blur input when bottom sheet opens\n React.useEffect(() => {\n if (isMobile && isDropdownOpen) {\n // Find the currently focused time segment and blur it\n\n const activeElement = document.activeElement as HTMLElement | null;\n if (activeElement && 'blur' in activeElement && typeof activeElement.blur === 'function') {\n setTimeout(() => {\n activeElement.blur();\n }, 0);\n }\n }\n }, [isMobile, isDropdownOpen]);\n\n const content = (\n <TimePickerContent\n selectedTime={timeValue}\n setSelectedTime={setTimeValue}\n selectedHour={selectedHour}\n selectedMinute={selectedMinute}\n selectedPeriod={selectedPeriod}\n timeFormat={timeFormat}\n minuteStep={minuteStep}\n showFooterActions={showFooterActions}\n onApply={handleApply}\n onCancel={handleCancel}\n />\n );\n\n return (\n <BaseBox\n width=\"100%\"\n {...getStyledProps(props)}\n {...metaAttribute({ name: MetaConstants.TimePicker })}\n >\n <TimeInput\n ref={referenceRef}\n inputRef={refs.setReference}\n referenceProps={getReferenceProps()}\n timeValue={timeValue}\n internalTimeValue={internalTimeValue}\n onChange={setTimeValue}\n onTimeValueChange={(timeValue) => {\n if (timeValue) {\n setInternalTimeValue(timeValue);\n }\n }}\n createCompleteTime={createCompleteTime}\n label={label}\n helpText={helpText}\n errorText={errorText}\n successText={successText}\n validationState={validationState}\n isDisabled={isDisabled}\n isRequired={isRequired}\n necessityIndicator={necessityIndicator}\n autoFocus={autoFocus} // eslint-disable-line jsx-a11y/no-autofocus\n name={name}\n placeholder={placeholder}\n size={size}\n labelPosition={labelPosition}\n labelSuffix={labelSuffix}\n labelTrailing={labelTrailing}\n timeFormat={timeFormat}\n isDropdownOpen={isDropdownOpen}\n setIsDropdownOpen={setIsDropdownOpen}\n testID={testID}\n accessibilityLabel={accessibilityLabel}\n {...props}\n />\n\n {!isMobile && isMounted && (\n <FloatingPortal>\n <FloatingFocusManager\n initialFocus={-1}\n context={context}\n guards={false}\n order={['reference', 'content']}\n >\n <BaseBox\n ref={refs.setFloating}\n style={floatingStyles}\n {...getFloatingProps()}\n {...makeAccessible({ labelledBy: titleId })}\n >\n <BaseBox\n borderRadius=\"medium\"\n overflow=\"hidden\"\n border=\"none\"\n style={{\n ...animationStyles,\n background: theme.colors.popup.background.gray.moderate,\n boxShadow: getPopupBoxShadowString(theme, colorScheme),\n backdropFilter: `blur(${theme.backdropBlur.high}px)`,\n }}\n >\n {content}\n </BaseBox>\n </BaseBox>\n </FloatingFocusManager>\n </FloatingPortal>\n )}\n\n {/* Mobile Bottom Sheet */}\n {isMobile && !isDisabled && (\n <BottomSheet snapPoints={[0.6, 0.6, 1]} isOpen={isDropdownOpen} onDismiss={handleCancel}>\n <BottomSheetHeader title=\"Select Time\" />\n <BottomSheetBody>{content}</BottomSheetBody>\n </BottomSheet>\n )}\n </BaseBox>\n );\n};\n\nconst BaseTimePicker = assignWithoutSideEffects(_BaseTimePicker, {\n displayName: 'BaseTimePicker',\n componentId: 'BaseTimePicker',\n});\n\nexport { BaseTimePicker };\n"],"names":["_BaseTimePicker","_ref","value","defaultValue","onChange","onApply","isOpen","defaultIsOpen","onOpenChange","label","_ref$labelPosition","labelPosition","accessibilityLabel","errorText","helpText","isDisabled","isRequired","successText","validationState","_ref$size","size","autoFocus","necessityIndicator","name","placeholder","_ref$showFooterAction","showFooterActions","_ref$timeFormat","timeFormat","_ref$minuteStep","minuteStep","labelSuffix","labelTrailing","testID","props","_objectWithoutProperties","_excluded","referenceRef","useRef","isMobile","useIsMobile","_useTheme","useTheme","theme","titleId","useId","_useTheme2","colorScheme","_useTimePickerState","useTimePickerState","timeValue","setTimeValue","internalTimeValue","setInternalTimeValue","selectedHour","selectedMinute","selectedPeriod","isDropdownOpen","setIsDropdownOpen","setIsOpen","handleApply","handleCancel","onCancel","createCompleteTime","_usePopup","usePopup","enabled","placement","open","_","reason","crossAxisOffset","sizeTokens","refs","context","isMounted","floatingStyles","animationStyles","getReferenceProps","getFloatingProps","React","useEffect","handleClick","e","_referenceRef$current","_refs$floating$curren","_closest","_ref2","target","isClickOnInput","current","contains","isClickOnDropdown","floating","isClickOnTimePickerContent","closest","call","document","addEventListener","removeEventListener","undefined","activeElement","blur","setTimeout","content","_jsx","TimePickerContent","selectedTime","setSelectedTime","_jsxs","BaseBox","_objectSpread","width","getStyledProps","metaAttribute","MetaConstants","TimePicker","children","TimeInput","ref","inputRef","setReference","referenceProps","onTimeValueChange","FloatingPortal","FloatingFocusManager","initialFocus","guards","order","setFloating","style","makeAccessible","labelledBy","borderRadius","overflow","border","background","colors","popup","gray","moderate","boxShadow","getPopupBoxShadowString","backdropFilter","concat","backdropBlur","high","BottomSheet","snapPoints","onDismiss","BottomSheetHeader","title","BottomSheetBody","BaseTimePicker","assignWithoutSideEffects","displayName","componentId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EA6BkE;AAAA,EAAA,IA5BrFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IACZC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;IACPC,MAAM,GAAAL,IAAA,CAANK,MAAM;IACNC,aAAa,GAAAN,IAAA,CAAbM,aAAa;IACbC,YAAY,GAAAP,IAAA,CAAZO,YAAY;IACZC,KAAK,GAAAR,IAAA,CAALQ,KAAK;IAAAC,kBAAA,GAAAT,IAAA,CACLU,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,kBAAA;IACrBE,kBAAkB,GAAAX,IAAA,CAAlBW,kBAAkB;IAClBC,SAAS,GAAAZ,IAAA,CAATY,SAAS;IACTC,QAAQ,GAAAb,IAAA,CAARa,QAAQ;IACRC,UAAU,GAAAd,IAAA,CAAVc,UAAU;IACVC,UAAU,GAAAf,IAAA,CAAVe,UAAU;IACVC,WAAW,GAAAhB,IAAA,CAAXgB,WAAW;IACXC,eAAe,GAAAjB,IAAA,CAAfiB,eAAe;IAAAC,SAAA,GAAAlB,IAAA,CACfmB,IAAI;AAAJA,IAAAA,MAA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;AACjBC,YAAAA,MAAM,EAAC,MAAM;AACbL,YAAAA,KAAK,EAAAnB,aAAA,CAAAA,aAAA,KACAlC,eAAe,CAAA,EAAA,EAAA,EAAA;cAClB2D,UAAU,EAAE7F,KAAK,CAAC8F,MAAM,CAACC,KAAK,CAACF,UAAU,CAACG,IAAI,CAACC,QAAQ;AACvDC,cAAAA,SAAS,EAAEC,uBAAuB,CAACnG,KAAK,EAAEI,WAAW,CAAC;AACtDgG,cAAAA,cAAc,UAAAC,MAAA,CAAUrG,KAAK,CAACsG,YAAY,CAACC,IAAI,EAAA,KAAA,CAAA;aAC/C,CAAA;AAAA7B,YAAAA,QAAA,EAEDb,OAAAA;WACM,CAAA;SACF,CAAA,CAAA;OACW,CAAA;KACR,CACjB,EAGAjE,QAAQ,IAAI,CAACxB,UAAU,iBACtB8F,IAAA,CAACsC,WAAW,EAAA;AAACC,MAAAA,UAAU,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAE;AAAC9I,MAAAA,MAAM,EAAEmD,cAAe;AAAC4F,MAAAA,SAAS,EAAExF,YAAa;MAAAwD,QAAA,EAAA,cACtFZ,GAAA,CAAC6C,iBAAiB,EAAA;AAACC,QAAAA,KAAK,EAAC,aAAA;AAAa,OAAE,CAAC,eACzC9C,GAAA,CAAC+C,eAAe,EAAA;AAAAnC,QAAAA,QAAA,EAAEb,OAAAA;AAAO,OAAkB,CAAC,CAAA;AAAA,KACjC,CACd,CAAA;AAAA,GAAA,CACM,CAAC,CAAA;AAEd,CAAC,CAAA;AAED,IAAMiD,cAAc,gBAAGC,wBAAwB,CAAC1J,eAAe,EAAE;AAC/D2J,EAAAA,WAAW,EAAE,gBAAgB;AAC7BC,EAAAA,WAAW,EAAE,gBAAA;AACf,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"BaseTimePicker.web.js","sources":["../../../../../../src/components/TimePicker/BaseTimePicker.web.tsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { FloatingFocusManager, FloatingPortal } from '@floating-ui/react';\nimport type { TimePickerProps } from './types';\nimport { TimeInput } from './TimeInput.web';\nimport { useTimePickerState } from './useTimePickerState';\nimport { TimePickerContent } from './TimePickerContent';\nimport type { DataAnalyticsAttribute } from '~utils/types';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { BottomSheet, BottomSheetBody, BottomSheetHeader } from '~components/BottomSheet';\nimport BaseBox from '~components/Box/BaseBox';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport { useId } from '~utils/useId';\nimport { useIsMobile } from '~utils/useIsMobile';\nimport { useTheme, getPopupBoxShadowString } from '~utils';\nimport { usePopup } from '~components/DatePicker/usePopup';\nimport { getStyledProps } from '~components/Box/styledProps';\nimport { metaAttribute, MetaConstants } from '~utils/metaAttribute';\nimport { size as sizeTokens } from '~tokens/global';\nimport { componentZIndices } from '~utils/componentZIndices';\n\nconst _BaseTimePicker = ({\n value,\n defaultValue,\n onChange,\n onApply,\n isOpen,\n defaultIsOpen,\n onOpenChange,\n label,\n labelPosition = 'top',\n accessibilityLabel,\n errorText,\n helpText,\n isDisabled,\n isRequired,\n successText,\n validationState,\n size = 'medium',\n autoFocus,\n necessityIndicator,\n name,\n placeholder,\n showFooterActions = true,\n timeFormat = '12h',\n minuteStep = 1,\n labelSuffix,\n labelTrailing,\n testID,\n zIndex = componentZIndices.popover,\n ...props\n}: TimePickerProps & StyledPropsBlade & DataAnalyticsAttribute): React.ReactElement => {\n const referenceRef = useRef<HTMLElement>(null);\n const isMobile = useIsMobile();\n const { theme } = useTheme();\n const titleId = useId('timepicker-title');\n const { colorScheme } = useTheme();\n\n const {\n timeValue,\n setTimeValue,\n internalTimeValue,\n setInternalTimeValue,\n selectedHour,\n selectedMinute,\n selectedPeriod,\n isOpen: isDropdownOpen,\n setIsOpen: setIsDropdownOpen,\n onApply: handleApply,\n onCancel: handleCancel,\n createCompleteTime,\n } = useTimePickerState({\n value,\n defaultValue,\n onChange,\n isOpen,\n defaultIsOpen,\n onOpenChange,\n timeFormat,\n showFooterActions,\n onApply,\n });\n\n const {\n refs,\n context,\n isMounted,\n floatingStyles,\n animationStyles,\n getReferenceProps,\n getFloatingProps,\n } = usePopup({\n enabled: !isMobile,\n placement: 'bottom-start',\n open: isDropdownOpen,\n onOpenChange: (isOpen, _, reason) => {\n if (isDisabled) return;\n setIsDropdownOpen(isOpen);\n if (reason === 'escape-key') {\n handleCancel();\n }\n },\n referenceRef,\n // crossAxisOffset calculation for left label positioning:\n // Medium: 120px (label width) + 12px (padding) = 132px\n // Large: 176px (label width) + 16px (padding) = 192px\n crossAxisOffset:\n labelPosition === 'left' ? (size === 'large' ? sizeTokens[192] : sizeTokens[132]) : 0,\n });\n\n // Fix for React Aria contentEditable focus issue with Floating UI\n // React Aria's contentEditable segments don't properly trigger Floating UI's dismiss\n // See: https://github.com/adobe/react-spectrum/issues/3164\n React.useEffect(() => {\n const handleClick = (e: MouseEvent): void => {\n const target = e.target as Node;\n const isClickOnInput = referenceRef.current?.contains(target);\n const isClickOnDropdown = refs.floating.current?.contains(target);\n\n // On mobile, also check if click is inside TimePicker content (BottomSheet)\n const isClickOnTimePickerContent = (target as Element).closest?.('.timepicker-content');\n\n // Only close dropdown if click is outside input, dropdown, and TimePicker content\n // This ensures clicking different segments within the input keeps dropdown open\n if (isDropdownOpen && !isClickOnInput && !isClickOnDropdown) {\n if (isClickOnTimePickerContent && showFooterActions) {\n // Inside TimePicker with footer actions - don't close\n return;\n }\n handleApply();\n }\n };\n\n if (isDropdownOpen) {\n document.addEventListener('click', handleClick);\n return () => document.removeEventListener('click', handleClick);\n }\n return undefined;\n }, [isDropdownOpen, showFooterActions, handleCancel, handleApply]);\n\n // Mobile: Blur input when bottom sheet opens\n React.useEffect(() => {\n if (isMobile && isDropdownOpen) {\n // Find the currently focused time segment and blur it\n\n const activeElement = document.activeElement as HTMLElement | null;\n if (activeElement && 'blur' in activeElement && typeof activeElement.blur === 'function') {\n setTimeout(() => {\n activeElement.blur();\n }, 0);\n }\n }\n }, [isMobile, isDropdownOpen]);\n\n const content = (\n <TimePickerContent\n selectedTime={timeValue}\n setSelectedTime={setTimeValue}\n selectedHour={selectedHour}\n selectedMinute={selectedMinute}\n selectedPeriod={selectedPeriod}\n timeFormat={timeFormat}\n minuteStep={minuteStep}\n showFooterActions={showFooterActions}\n onApply={handleApply}\n onCancel={handleCancel}\n />\n );\n\n return (\n <BaseBox\n width=\"100%\"\n {...getStyledProps(props)}\n {...metaAttribute({ name: MetaConstants.TimePicker })}\n >\n <TimeInput\n ref={referenceRef}\n inputRef={refs.setReference}\n referenceProps={getReferenceProps()}\n timeValue={timeValue}\n internalTimeValue={internalTimeValue}\n onChange={setTimeValue}\n onTimeValueChange={(timeValue) => {\n if (timeValue) {\n setInternalTimeValue(timeValue);\n }\n }}\n createCompleteTime={createCompleteTime}\n label={label}\n helpText={helpText}\n errorText={errorText}\n successText={successText}\n validationState={validationState}\n isDisabled={isDisabled}\n isRequired={isRequired}\n necessityIndicator={necessityIndicator}\n autoFocus={autoFocus} // eslint-disable-line jsx-a11y/no-autofocus\n name={name}\n placeholder={placeholder}\n size={size}\n labelPosition={labelPosition}\n labelSuffix={labelSuffix}\n labelTrailing={labelTrailing}\n timeFormat={timeFormat}\n isDropdownOpen={isDropdownOpen}\n setIsDropdownOpen={setIsDropdownOpen}\n testID={testID}\n accessibilityLabel={accessibilityLabel}\n {...props}\n />\n\n {!isMobile && isMounted && (\n <FloatingPortal>\n <FloatingFocusManager\n initialFocus={-1}\n context={context}\n guards={true}\n order={['reference', 'content']}\n returnFocus\n >\n <BaseBox\n ref={refs.setFloating}\n style={floatingStyles}\n zIndex={zIndex}\n {...getFloatingProps()}\n {...makeAccessible({ labelledBy: titleId })}\n >\n <BaseBox\n borderRadius=\"medium\"\n overflow=\"hidden\"\n border=\"none\"\n style={{\n ...animationStyles,\n background: theme.colors.popup.background.gray.moderate,\n boxShadow: getPopupBoxShadowString(theme, colorScheme),\n backdropFilter: `blur(${theme.backdropBlur.high}px)`,\n }}\n >\n {content}\n </BaseBox>\n </BaseBox>\n </FloatingFocusManager>\n </FloatingPortal>\n )}\n\n {/* Mobile Bottom Sheet */}\n {isMobile && !isDisabled && (\n <BottomSheet snapPoints={[0.6, 0.6, 1]} isOpen={isDropdownOpen} onDismiss={handleCancel}>\n <BottomSheetHeader title=\"Select Time\" />\n <BottomSheetBody>{content}</BottomSheetBody>\n </BottomSheet>\n )}\n </BaseBox>\n );\n};\n\nconst BaseTimePicker = assignWithoutSideEffects(_BaseTimePicker, {\n displayName: 'BaseTimePicker',\n componentId: 'BaseTimePicker',\n});\n\nexport { BaseTimePicker };\n"],"names":["_BaseTimePicker","_ref","value","defaultValue","onChange","onApply","isOpen","defaultIsOpen","onOpenChange","label","_ref$labelPosition","labelPosition","accessibilityLabel","errorText","helpText","isDisabled","isRequired","successText","validationState","_ref$size","size","autoFocus","necessityIndicator","name","placeholder","_ref$showFooterAction","showFooterActions","_ref$timeFormat","timeFormat","_ref$minuteStep","minuteStep","labelSuffix","labelTrailing","testID","_ref$zIndex","zIndex","componentZIndices","popover","props","_objectWithoutProperties","_excluded","referenceRef","useRef","isMobile","useIsMobile","_useTheme","useTheme","theme","titleId","useId","_useTheme2","colorScheme","_useTimePickerState","useTimePickerState","timeValue","setTimeValue","internalTimeValue","setInternalTimeValue","selectedHour","selectedMinute","selectedPeriod","isDropdownOpen","setIsDropdownOpen","setIsOpen","handleApply","handleCancel","onCancel","createCompleteTime","_usePopup","usePopup","enabled","placement","open","_","reason","crossAxisOffset","sizeTokens","refs","context","isMounted","floatingStyles","animationStyles","getReferenceProps","getFloatingProps","React","useEffect","handleClick","e","_referenceRef$current","_refs$floating$curren","_closest","_ref2","target","isClickOnInput","current","contains","isClickOnDropdown","floating","isClickOnTimePickerContent","closest","call","document","addEventListener","removeEventListener","undefined","activeElement","blur","setTimeout","content","_jsx","TimePickerContent","selectedTime","setSelectedTime","_jsxs","BaseBox","_objectSpread","width","getStyledProps","metaAttribute","MetaConstants","TimePicker","children","TimeInput","ref","inputRef","setReference","referenceProps","onTimeValueChange","FloatingPortal","FloatingFocusManager","initialFocus","guards","order","returnFocus","setFloating","style","makeAccessible","labelledBy","borderRadius","overflow","border","background","colors","popup","gray","moderate","boxShadow","getPopupBoxShadowString","backdropFilter","concat","backdropBlur","high","BottomSheet","snapPoints","onDismiss","BottomSheetHeader","title","BottomSheetBody","BaseTimePicker","assignWithoutSideEffects","displayName","componentId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EA8BkE;AAAA,EAAA,IA7BrFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IACZC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;IACPC,MAAM,GAAAL,IAAA,CAANK,MAAM;IACNC,aAAa,GAAAN,IAAA,CAAbM,aAAa;IACbC,YAAY,GAAAP,IAAA,CAAZO,YAAY;IACZC,KAAK,GAAAR,IAAA,CAALQ,KAAK;IAAAC,kBAAA,GAAAT,IAAA,CACLU,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,kBAAA;IACrBE,kBAAkB,GAAAX,IAAA,CAAlBW,kBAAkB;IAClBC,SAAS,GAAAZ,IAAA,CAATY,SAAS;IACTC,QAAQ,GAAAb,IAAA,CAARa,QAAQ;IACRC,UAAU,GAAAd,IAAA,CAAVc,UAAU;IACVC,UAAU,GAAAf,IAAA,CAAVe,UAAU;IACVC,WAAW,GAAAhB,IAAA,CAAXgB,WAAW;IACXC,eAAe,GAAAjB,IAAA,CAAfiB,eAAe;IAAAC,SAAA,GAAAlB,IAAA,CACfmB,IAAI;AAAJA,IAAAA,MAAI,GAAAD,SAAA,KAAG,KAAA,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AW,EAAE,gBAAA;AACf,CAAC;;;;"}
|
|
@@ -467,6 +467,7 @@ export { default as RefreshIcon } from './Icons/RefreshIcon/RefreshIcon.js';
|
|
|
467
467
|
export { default as RepeatIcon } from './Icons/RepeatIcon/RepeatIcon.js';
|
|
468
468
|
export { default as ReportsIcon } from './Icons/ReportsIcon/ReportsIcon.js';
|
|
469
469
|
export { default as ResizerIcon } from './Icons/ResizerIcon/ResizerIcon.js';
|
|
470
|
+
export { default as ReticleIcon } from './Icons/ReticleIcon/ReticleIcon.js';
|
|
470
471
|
export { default as RewindIcon } from './Icons/RewindIcon/RewindIcon.js';
|
|
471
472
|
export { default as RotateClockWiseIcon } from './Icons/RotateClockWiseIcon/RotateClockWiseIcon.js';
|
|
472
473
|
export { default as RotateCounterClockWiseIcon } from './Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.js';
|
|
2
|
-
import { __exports as cloneDeep$1 } from '../../../../../_virtual/
|
|
2
|
+
import { __exports as cloneDeep$1 } from '../../../../../_virtual/cloneDeep2.js';
|
|
3
3
|
import '../../../../../_virtual/cloneDeepWith.js';
|
|
4
4
|
import { __exports as cloneDeepWith } from '../../../../../_virtual/cloneDeepWith2.js';
|
|
5
5
|
|