@transferwise/components 0.0.0-experimental-463fe0b
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/LICENSE.md +13 -0
- package/README.md +59 -0
- package/build/es/no-polyfill/accordion/Accordion.js +1 -0
- package/build/es/no-polyfill/accordion/AccordionItem/AccordionItem.js +1 -0
- package/build/es/no-polyfill/accordion/AccordionItem/index.js +1 -0
- package/build/es/no-polyfill/accordion/index.js +1 -0
- package/build/es/no-polyfill/actionButton/ActionButton.js +1 -0
- package/build/es/no-polyfill/actionButton/ActionButton.spec.js +1 -0
- package/build/es/no-polyfill/actionButton/ActionButton.story.js +1 -0
- package/build/es/no-polyfill/actionButton/index.js +1 -0
- package/build/es/no-polyfill/actionOption/ActionOption.js +1 -0
- package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -0
- package/build/es/no-polyfill/actionOption/index.js +1 -0
- package/build/es/no-polyfill/alert/Alert.js +1 -0
- package/build/es/no-polyfill/alert/index.js +1 -0
- package/build/es/no-polyfill/alert/inlineMarkdown/InlineMarkdown.js +1 -0
- package/build/es/no-polyfill/alert/inlineMarkdown/index.js +1 -0
- package/build/es/no-polyfill/alert/withArrow/alertArrowPositions.js +2 -0
- package/build/es/no-polyfill/alert/withArrow/index.js +1 -0
- package/build/es/no-polyfill/alert/withArrow/withArrow.js +1 -0
- package/build/es/no-polyfill/avatar/Avatar.js +1 -0
- package/build/es/no-polyfill/avatar/avatarTypes.js +2 -0
- package/build/es/no-polyfill/avatar/index.js +1 -0
- package/build/es/no-polyfill/avatarWrapper/AvatarWrapper.js +1 -0
- package/build/es/no-polyfill/avatarWrapper/index.js +1 -0
- package/build/es/no-polyfill/badge/Badge.js +1 -0
- package/build/es/no-polyfill/badge/index.js +1 -0
- package/build/es/no-polyfill/body/Body.js +3 -0
- package/build/es/no-polyfill/body/Body.spec.js +1 -0
- package/build/es/no-polyfill/body/Body.story.js +1 -0
- package/build/es/no-polyfill/body/index.js +1 -0
- package/build/es/no-polyfill/button/Button.js +7 -0
- package/build/es/no-polyfill/button/classMap.js +1 -0
- package/build/es/no-polyfill/button/index.js +1 -0
- package/build/es/no-polyfill/button/legacyUtils/index.js +1 -0
- package/build/es/no-polyfill/button/legacyUtils/legacyUtils.js +4 -0
- package/build/es/no-polyfill/card/Card.js +1 -0
- package/build/es/no-polyfill/card/index.js +1 -0
- package/build/es/no-polyfill/checkbox/Checkbox.js +1 -0
- package/build/es/no-polyfill/checkbox/index.js +1 -0
- package/build/es/no-polyfill/checkboxButton/CheckboxButton.js +1 -0
- package/build/es/no-polyfill/checkboxButton/CheckboxButton.spec.js +1 -0
- package/build/es/no-polyfill/checkboxButton/CheckboxButton.story.js +1 -0
- package/build/es/no-polyfill/checkboxButton/index.js +1 -0
- package/build/es/no-polyfill/checkboxOption/CheckboxOption.js +1 -0
- package/build/es/no-polyfill/checkboxOption/CheckboxOption.spec.js +1 -0
- package/build/es/no-polyfill/checkboxOption/CheckboxOption.story.js +1 -0
- package/build/es/no-polyfill/checkboxOption/index.js +1 -0
- package/build/es/no-polyfill/chevron/Chevron.js +1 -0
- package/build/es/no-polyfill/chevron/index.js +1 -0
- package/build/es/no-polyfill/chips/Chip.js +1 -0
- package/build/es/no-polyfill/chips/Chips.js +1 -0
- package/build/es/no-polyfill/chips/Chips.messages.js +1 -0
- package/build/es/no-polyfill/chips/Chips.spec.js +1 -0
- package/build/es/no-polyfill/chips/Chips.story.js +1 -0
- package/build/es/no-polyfill/chips/index.js +1 -0
- package/build/es/no-polyfill/circularButton/CircularButton.js +1 -0
- package/build/es/no-polyfill/circularButton/index.js +1 -0
- package/build/es/no-polyfill/common/DOMOperations/DOMOperations.js +9 -0
- package/build/es/no-polyfill/common/DOMOperations/index.js +1 -0
- package/build/es/no-polyfill/common/Option/Option.js +1 -0
- package/build/es/no-polyfill/common/Option/index.js +1 -0
- package/build/es/no-polyfill/common/RadioButton/RadioButton.js +1 -0
- package/build/es/no-polyfill/common/RadioButton/index.js +1 -0
- package/build/es/no-polyfill/common/bottomSheet/BottomSheet.js +10 -0
- package/build/es/no-polyfill/common/bottomSheet/BottomSheet.spec.js +1 -0
- package/build/es/no-polyfill/common/bottomSheet/index.js +1 -0
- package/build/es/no-polyfill/common/closeButton/CloseButton.js +1 -0
- package/build/es/no-polyfill/common/closeButton/CloseButton.messages.js +1 -0
- package/build/es/no-polyfill/common/closeButton/index.js +1 -0
- package/build/es/no-polyfill/common/commonProps.js +0 -0
- package/build/es/no-polyfill/common/dateUtils/getDayNames/getDayNames.js +2 -0
- package/build/es/no-polyfill/common/dateUtils/getDayNames/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/getMonthNames/getMonthNames.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/getMonthNames/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/isDateValid/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/isDateValid/isDateValid.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/isMonthAndYearFormat/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/isWithinRange/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/isWithinRange/isWithinRange.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/moveToWithinRange/index.js +1 -0
- package/build/es/no-polyfill/common/dateUtils/moveToWithinRange/moveToWithinRange.js +2 -0
- package/build/es/no-polyfill/common/deviceDetection/deviceDetection.js +1 -0
- package/build/es/no-polyfill/common/deviceDetection/index.js +1 -0
- package/build/es/no-polyfill/common/direction.js +1 -0
- package/build/es/no-polyfill/common/domHelpers/documentIosClick.js +5 -0
- package/build/es/no-polyfill/common/domHelpers/index.js +1 -0
- package/build/es/no-polyfill/common/fakeEvents.js +1 -0
- package/build/es/no-polyfill/common/fileType.js +1 -0
- package/build/es/no-polyfill/common/flowHeader/FlowHeader.js +1 -0
- package/build/es/no-polyfill/common/flowHeader/index.js +1 -0
- package/build/es/no-polyfill/common/focusBoundary/FocusBoundary.js +1 -0
- package/build/es/no-polyfill/common/focusBoundary/FocusBoundary.spec.js +1 -0
- package/build/es/no-polyfill/common/focusBoundary/index.js +1 -0
- package/build/es/no-polyfill/common/focusBoundary/utils/getFocusableElements.js +6 -0
- package/build/es/no-polyfill/common/focusBoundary/utils/index.js +1 -0
- package/build/es/no-polyfill/common/focusBoundary/utils/resetFocus.js +6 -0
- package/build/es/no-polyfill/common/historyNavigator/historyNavigator.js +1 -0
- package/build/es/no-polyfill/common/historyNavigator/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/useClientWidth/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/useClientWidth/useClientWidth.js +5 -0
- package/build/es/no-polyfill/common/hooks/useConditionalListener/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/useConditionalListener/useConditionalListener.js +1 -0
- package/build/es/no-polyfill/common/hooks/useDirection/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/useDirection/useDirection.js +1 -0
- package/build/es/no-polyfill/common/hooks/useHasIntersected/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/useHasIntersected/useHasIntersected.js +11 -0
- package/build/es/no-polyfill/common/hooks/useLayout/index.js +1 -0
- package/build/es/no-polyfill/common/hooks/useLayout/useLayout.js +1 -0
- package/build/es/no-polyfill/common/index.js +2 -0
- package/build/es/no-polyfill/common/key.js +1 -0
- package/build/es/no-polyfill/common/keyCodes.js +5 -0
- package/build/es/no-polyfill/common/locale/index.js +37 -0
- package/build/es/no-polyfill/common/panel/Panel.js +10 -0
- package/build/es/no-polyfill/common/panel/index.js +1 -0
- package/build/es/no-polyfill/common/propsValues/breakpoint.js +1 -0
- package/build/es/no-polyfill/common/propsValues/control.js +1 -0
- package/build/es/no-polyfill/common/propsValues/dateMode.js +1 -0
- package/build/es/no-polyfill/common/propsValues/layouts.js +1 -0
- package/build/es/no-polyfill/common/propsValues/markdownNodeType.js +1 -0
- package/build/es/no-polyfill/common/propsValues/monthFormat.js +1 -0
- package/build/es/no-polyfill/common/propsValues/position.js +1 -0
- package/build/es/no-polyfill/common/propsValues/profileType.js +1 -0
- package/build/es/no-polyfill/common/propsValues/scroll.js +1 -0
- package/build/es/no-polyfill/common/propsValues/sentiment.js +1 -0
- package/build/es/no-polyfill/common/propsValues/size.js +1 -0
- package/build/es/no-polyfill/common/propsValues/status.js +1 -0
- package/build/es/no-polyfill/common/propsValues/type.js +3 -0
- package/build/es/no-polyfill/common/propsValues/typography.js +1 -0
- package/build/es/no-polyfill/common/propsValues/variant.js +1 -0
- package/build/es/no-polyfill/common/propsValues/width.js +1 -0
- package/build/es/no-polyfill/common/requirements.js +3 -0
- package/build/es/no-polyfill/common/responsivePanel/ResponsivePanel.js +1 -0
- package/build/es/no-polyfill/common/responsivePanel/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/formatWithPattern/formatWithPattern.js +2 -0
- package/build/es/no-polyfill/common/textFormat/formatWithPattern/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getCountOfSymbolsInSelection/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getCursorPositionAfterKeystroke/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js +2 -0
- package/build/es/no-polyfill/common/textFormat/getDistanceToSymbol/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js +1 -0
- package/build/es/no-polyfill/common/textFormat/getSymbolsInPatternWithPosition/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/unformatWithPattern/index.js +1 -0
- package/build/es/no-polyfill/common/textFormat/unformatWithPattern/unformatWithPattern.js +1 -0
- package/build/es/no-polyfill/common/theme.js +1 -0
- package/build/es/no-polyfill/criticalBanner/CriticalCommsBanner.js +1 -0
- package/build/es/no-polyfill/criticalBanner/CriticalCommsBanner.story.js +1 -0
- package/build/es/no-polyfill/criticalBanner/index.js +1 -0
- package/build/es/no-polyfill/dateInput/DateInput.js +4 -0
- package/build/es/no-polyfill/dateInput/DateInput.messages.js +1 -0
- package/build/es/no-polyfill/dateInput/index.js +1 -0
- package/build/es/no-polyfill/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +2 -0
- package/build/es/no-polyfill/dateInput/utils/convertToLocalMidnight/index.js +1 -0
- package/build/es/no-polyfill/dateInput/utils/explodeDate/explodeDate.js +1 -0
- package/build/es/no-polyfill/dateInput/utils/explodeDate/index.js +1 -0
- package/build/es/no-polyfill/dateInput/utils/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/DateLookup.js +3 -0
- package/build/es/no-polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
- package/build/es/no-polyfill/dateLookup/dateHeader/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/dateTrigger/DateTrigger.js +1 -0
- package/build/es/no-polyfill/dateLookup/dateTrigger/DateTrigger.messages.js +1 -0
- package/build/es/no-polyfill/dateLookup/dateTrigger/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -0
- package/build/es/no-polyfill/dateLookup/dayCalendar/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/dayCalendar/table/DayCalendarTable.js +4 -0
- package/build/es/no-polyfill/dateLookup/dayCalendar/table/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/getStartOfDay/getStartOfDay.js +5 -0
- package/build/es/no-polyfill/dateLookup/getStartOfDay/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -0
- package/build/es/no-polyfill/dateLookup/monthCalendar/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/monthCalendar/table/MonthCalendarTable.js +1 -0
- package/build/es/no-polyfill/dateLookup/monthCalendar/table/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/tableLink/TableLink.js +2 -0
- package/build/es/no-polyfill/dateLookup/tableLink/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -0
- package/build/es/no-polyfill/dateLookup/yearCalendar/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/yearCalendar/table/YearCalendarTable.js +1 -0
- package/build/es/no-polyfill/dateLookup/yearCalendar/table/index.js +1 -0
- package/build/es/no-polyfill/decision/Decision.js +5 -0
- package/build/es/no-polyfill/decision/decisionEnums.js +3 -0
- package/build/es/no-polyfill/decision/index.js +1 -0
- package/build/es/no-polyfill/definitionList/DefinitionList.js +1 -0
- package/build/es/no-polyfill/definitionList/index.js +1 -0
- package/build/es/no-polyfill/dimmer/Dimmer.js +6 -0
- package/build/es/no-polyfill/dimmer/Dimmer.story.js +1 -0
- package/build/es/no-polyfill/dimmer/dimmerManager/DimmerManager.js +5 -0
- package/build/es/no-polyfill/dimmer/dimmerManager/index.js +1 -0
- package/build/es/no-polyfill/dimmer/index.js +1 -0
- package/build/es/no-polyfill/display/Display.js +1 -0
- package/build/es/no-polyfill/display/Display.story.js +2 -0
- package/build/es/no-polyfill/display/index.js +1 -0
- package/build/es/no-polyfill/drawer/Drawer.js +1 -0
- package/build/es/no-polyfill/drawer/index.js +1 -0
- package/build/es/no-polyfill/dropFade/DropFade.js +3 -0
- package/build/es/no-polyfill/dropFade/DropFade.story.js +1 -0
- package/build/es/no-polyfill/dropFade/index.js +1 -0
- package/build/es/no-polyfill/dynamicFieldDefinitionList/DynamicFieldDefinitionList.js +1 -0
- package/build/es/no-polyfill/dynamicFieldDefinitionList/FormattedValue/FormattedValue.js +8 -0
- package/build/es/no-polyfill/dynamicFieldDefinitionList/FormattedValue/index.js +1 -0
- package/build/es/no-polyfill/dynamicFieldDefinitionList/index.js +1 -0
- package/build/es/no-polyfill/dynamicFieldDefinitionList/utils/createDefinitions.js +2 -0
- package/build/es/no-polyfill/dynamicFieldDefinitionList/utils/text-format.js +1 -0
- package/build/es/no-polyfill/emphasis/Emphasis.js +2 -0
- package/build/es/no-polyfill/emphasis/EmphasisHtmlTransformer.js +7 -0
- package/build/es/no-polyfill/emphasis/index.js +1 -0
- package/build/es/no-polyfill/flowNavigation/FlowNavigation.js +2 -0
- package/build/es/no-polyfill/flowNavigation/animatedLabel/AnimatedLabel.js +1 -0
- package/build/es/no-polyfill/flowNavigation/animatedLabel/index.js +1 -0
- package/build/es/no-polyfill/flowNavigation/backButton/BackButton.js +1 -0
- package/build/es/no-polyfill/flowNavigation/backButton/index.js +1 -0
- package/build/es/no-polyfill/flowNavigation/index.js +1 -0
- package/build/es/no-polyfill/header/Header.js +5 -0
- package/build/es/no-polyfill/header/Header.spec.js +1 -0
- package/build/es/no-polyfill/header/Header.story.js +2 -0
- package/build/es/no-polyfill/header/index.js +1 -0
- package/build/es/no-polyfill/i18n/cs.json +44 -0
- package/build/es/no-polyfill/i18n/de.json +44 -0
- package/build/es/no-polyfill/i18n/en.json +41 -0
- package/build/es/no-polyfill/i18n/es.json +44 -0
- package/build/es/no-polyfill/i18n/fr.json +44 -0
- package/build/es/no-polyfill/i18n/hu.json +44 -0
- package/build/es/no-polyfill/i18n/id.json +44 -0
- package/build/es/no-polyfill/i18n/index.js +1 -0
- package/build/es/no-polyfill/i18n/it.json +44 -0
- package/build/es/no-polyfill/i18n/ja.json +44 -0
- package/build/es/no-polyfill/i18n/pl.json +44 -0
- package/build/es/no-polyfill/i18n/pt.json +44 -0
- package/build/es/no-polyfill/i18n/ro.json +44 -0
- package/build/es/no-polyfill/i18n/ru.json +44 -0
- package/build/es/no-polyfill/i18n/th.json +44 -0
- package/build/es/no-polyfill/i18n/tr.json +44 -0
- package/build/es/no-polyfill/i18n/uk.json +44 -0
- package/build/es/no-polyfill/i18n/zh-CN.json +44 -0
- package/build/es/no-polyfill/i18n/zh.json +44 -0
- package/build/es/no-polyfill/image/Image.js +12 -0
- package/build/es/no-polyfill/image/index.js +1 -0
- package/build/es/no-polyfill/index.js +13 -0
- package/build/es/no-polyfill/info/Info.js +1 -0
- package/build/es/no-polyfill/info/index.js +1 -0
- package/build/es/no-polyfill/info/infoPresentations.js +2 -0
- package/build/es/no-polyfill/inlineAlert/InlineAlert.js +1 -0
- package/build/es/no-polyfill/inlineAlert/index.js +1 -0
- package/build/es/no-polyfill/inputWithDisplayFormat/InputWithDisplayFormat.js +1 -0
- package/build/es/no-polyfill/inputWithDisplayFormat/index.js +1 -0
- package/build/es/no-polyfill/inputs/Input.js +1 -0
- package/build/es/no-polyfill/inputs/TextArea.js +1 -0
- package/build/es/no-polyfill/inputs/_common.js +2 -0
- package/build/es/no-polyfill/instructionsList/InstructionsList.js +3 -0
- package/build/es/no-polyfill/instructionsList/index.js +1 -0
- package/build/es/no-polyfill/link/Link.js +5 -0
- package/build/es/no-polyfill/link/Link.spec.js +1 -0
- package/build/es/no-polyfill/link/Link.story.js +1 -0
- package/build/es/no-polyfill/link/index.js +1 -0
- package/build/es/no-polyfill/loader/Loader.js +11 -0
- package/build/es/no-polyfill/loader/index.js +1 -0
- package/build/es/no-polyfill/logo/Logo.js +1 -0
- package/build/es/no-polyfill/logo/index.js +1 -0
- package/build/es/no-polyfill/logo/logoTypes.js +2 -0
- package/build/es/no-polyfill/logo/svg/flag-inverse.svg +1 -0
- package/build/es/no-polyfill/logo/svg/flag.svg +1 -0
- package/build/es/no-polyfill/logo/svg/logo-business-inverse.svg +1 -0
- package/build/es/no-polyfill/logo/svg/logo-business.svg +1 -0
- package/build/es/no-polyfill/logo/svg/logo-inverse.svg +1 -0
- package/build/es/no-polyfill/logo/svg/logo.svg +1 -0
- package/build/es/no-polyfill/markdown/Markdown.js +1 -0
- package/build/es/no-polyfill/markdown/index.js +1 -0
- package/build/es/no-polyfill/modal/Modal.js +1 -0
- package/build/es/no-polyfill/modal/Modal.story.js +1 -0
- package/build/es/no-polyfill/modal/index.js +1 -0
- package/build/es/no-polyfill/money/Money.js +1 -0
- package/build/es/no-polyfill/money/index.js +1 -0
- package/build/es/no-polyfill/moneyInput/MoneyInput.js +5 -0
- package/build/es/no-polyfill/moneyInput/MoneyInput.messages.js +1 -0
- package/build/es/no-polyfill/moneyInput/currencyFormatting.js +4 -0
- package/build/es/no-polyfill/moneyInput/index.js +1 -0
- package/build/es/no-polyfill/navigationOption/NavigationOption.js +1 -0
- package/build/es/no-polyfill/navigationOption/index.js +1 -0
- package/build/es/no-polyfill/navigationOptionsList/NavigationOptionsList.js +1 -0
- package/build/es/no-polyfill/navigationOptionsList/index.js +1 -0
- package/build/es/no-polyfill/nudge/Nudge.js +1 -0
- package/build/es/no-polyfill/nudge/index.js +1 -0
- package/build/es/no-polyfill/overlayHeader/OverlayHeader.js +1 -0
- package/build/es/no-polyfill/overlayHeader/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/PhoneNumberInput.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/data/countries.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/cleanNumber/cleanNumber.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/cleanNumber/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/explodeNumberModel/index.js +7 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/filterOptionsForQuery/index.js +7 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/findCountryByCode/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/findCountryByPrefix/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/groupCountriesByPrefix/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/isOptionAndFitsQuery.js +7 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/isStringNumeric/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/isStringNumeric/isStringNumeric.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/isValidPhoneNumber/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js +6 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/longestMatchingPrefix/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/setDefaultPrefix/index.js +11 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/sortArrayByProperty/index.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js +2 -0
- package/build/es/no-polyfill/popover/Popover.js +4 -0
- package/build/es/no-polyfill/popover/index.js +1 -0
- package/build/es/no-polyfill/processIndicator/ProcessIndicator.js +12 -0
- package/build/es/no-polyfill/processIndicator/index.js +1 -0
- package/build/es/no-polyfill/progress/Progress.js +1 -0
- package/build/es/no-polyfill/progress/index.js +1 -0
- package/build/es/no-polyfill/progressBar/ProgressBar.js +1 -0
- package/build/es/no-polyfill/progressBar/ProgressBar.story.js +1 -0
- package/build/es/no-polyfill/progressBar/index.js +1 -0
- package/build/es/no-polyfill/provider/Provider.js +1 -0
- package/build/es/no-polyfill/provider/Provider.spec.js +1 -0
- package/build/es/no-polyfill/provider/Provider.story.js +1 -0
- package/build/es/no-polyfill/provider/direction/DirectionProvider.js +1 -0
- package/build/es/no-polyfill/provider/direction/DirectionProvider.spec.js +1 -0
- package/build/es/no-polyfill/provider/direction/index.js +1 -0
- package/build/es/no-polyfill/provider/index.js +1 -0
- package/build/es/no-polyfill/provider/language/LanguageProvider.js +1 -0
- package/build/es/no-polyfill/provider/language/LanguageProvider.spec.js +1 -0
- package/build/es/no-polyfill/provider/language/index.js +1 -0
- package/build/es/no-polyfill/radio/Radio.js +1 -0
- package/build/es/no-polyfill/radio/index.js +1 -0
- package/build/es/no-polyfill/radioGroup/RadioGroup.js +2 -0
- package/build/es/no-polyfill/radioGroup/index.js +1 -0
- package/build/es/no-polyfill/radioOption/RadioOption.js +1 -0
- package/build/es/no-polyfill/radioOption/index.js +1 -0
- package/build/es/no-polyfill/section/Section.js +5 -0
- package/build/es/no-polyfill/section/Section.spec.js +1 -0
- package/build/es/no-polyfill/section/Section.story.js +1 -0
- package/build/es/no-polyfill/section/index.js +1 -0
- package/build/es/no-polyfill/select/Select.js +16 -0
- package/build/es/no-polyfill/select/Select.messages.js +1 -0
- package/build/es/no-polyfill/select/index.js +1 -0
- package/build/es/no-polyfill/select/option/Option.js +2 -0
- package/build/es/no-polyfill/select/option/index.js +1 -0
- package/build/es/no-polyfill/select/searchBox/SearchBox.js +1 -0
- package/build/es/no-polyfill/select/searchBox/index.js +1 -0
- package/build/es/no-polyfill/sizeSwapper/SizeSwapper.js +5 -0
- package/build/es/no-polyfill/sizeSwapper/index.js +1 -0
- package/build/es/no-polyfill/slidingPanel/SlidingPanel.js +2 -0
- package/build/es/no-polyfill/slidingPanel/index.js +1 -0
- package/build/es/no-polyfill/snackbar/Snackbar.js +1 -0
- package/build/es/no-polyfill/snackbar/SnackbarContext.js +1 -0
- package/build/es/no-polyfill/snackbar/SnackbarProvider.js +1 -0
- package/build/es/no-polyfill/snackbar/index.js +1 -0
- package/build/es/no-polyfill/snackbar/useSnackbar.js +1 -0
- package/build/es/no-polyfill/statusIcon/StatusIcon.js +1 -0
- package/build/es/no-polyfill/statusIcon/index.js +1 -0
- package/build/es/no-polyfill/stepper/Stepper.js +1 -0
- package/build/es/no-polyfill/stepper/deviceDetection.js +4 -0
- package/build/es/no-polyfill/stepper/index.js +1 -0
- package/build/es/no-polyfill/sticky/Sticky.js +1 -0
- package/build/es/no-polyfill/sticky/index.js +1 -0
- package/build/es/no-polyfill/summary/Summary.js +1 -0
- package/build/es/no-polyfill/summary/Summary.messages.js +1 -0
- package/build/es/no-polyfill/summary/index.js +1 -0
- package/build/es/no-polyfill/switch/Switch.js +1 -0
- package/build/es/no-polyfill/switch/Switch.story.js +1 -0
- package/build/es/no-polyfill/switch/index.js +1 -0
- package/build/es/no-polyfill/switchOption/SwitchOption.js +1 -0
- package/build/es/no-polyfill/switchOption/SwitchOption.story.js +1 -0
- package/build/es/no-polyfill/switchOption/index.js +1 -0
- package/build/es/no-polyfill/tabs/Tab.js +1 -0
- package/build/es/no-polyfill/tabs/TabList.js +1 -0
- package/build/es/no-polyfill/tabs/TabPanel.js +1 -0
- package/build/es/no-polyfill/tabs/Tabs.js +1 -0
- package/build/es/no-polyfill/tabs/index.js +1 -0
- package/build/es/no-polyfill/tabs/utils.js +5 -0
- package/build/es/no-polyfill/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +1 -0
- package/build/es/no-polyfill/textareaWithDisplayFormat/index.js +1 -0
- package/build/es/no-polyfill/tile/Tile.js +1 -0
- package/build/es/no-polyfill/tile/index.js +1 -0
- package/build/es/no-polyfill/title/Title.js +1 -0
- package/build/es/no-polyfill/title/Title.spec.js +1 -0
- package/build/es/no-polyfill/title/Title.story.js +1 -0
- package/build/es/no-polyfill/title/index.js +1 -0
- package/build/es/no-polyfill/tooltip/Tooltip.js +8 -0
- package/build/es/no-polyfill/tooltip/Tooltip.spec.js +1 -0
- package/build/es/no-polyfill/tooltip/Tooltip.story.js +1 -0
- package/build/es/no-polyfill/tooltip/index.js +1 -0
- package/build/es/no-polyfill/typeahead/Typeahead.js +1 -0
- package/build/es/no-polyfill/typeahead/index.js +1 -0
- package/build/es/no-polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -0
- package/build/es/no-polyfill/typeahead/typeaheadOption/TypeaheadOption.js +1 -0
- package/build/es/no-polyfill/typeahead/util/highlight.js +1 -0
- package/build/es/no-polyfill/upload/Upload.js +12 -0
- package/build/es/no-polyfill/upload/Upload.messages.js +1 -0
- package/build/es/no-polyfill/upload/index.js +1 -0
- package/build/es/no-polyfill/upload/steps/completeStep/completeStep.js +1 -0
- package/build/es/no-polyfill/upload/steps/completeStep/index.js +1 -0
- package/build/es/no-polyfill/upload/steps/index.js +1 -0
- package/build/es/no-polyfill/upload/steps/mediaUploadStep/index.js +1 -0
- package/build/es/no-polyfill/upload/steps/mediaUploadStep/mediaUploadStep.js +1 -0
- package/build/es/no-polyfill/upload/steps/processingStep/index.js +1 -0
- package/build/es/no-polyfill/upload/steps/processingStep/processingStep.js +1 -0
- package/build/es/no-polyfill/upload/steps/uploadImageStep/index.js +1 -0
- package/build/es/no-polyfill/upload/steps/uploadImageStep/uploadImageStep.js +1 -0
- package/build/es/no-polyfill/upload/uploadSteps.js +2 -0
- package/build/es/no-polyfill/upload/utils/asyncFileRead/asyncFileRead.js +1 -0
- package/build/es/no-polyfill/upload/utils/asyncFileRead/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/getFileType/getFileType.js +1 -0
- package/build/es/no-polyfill/upload/utils/getFileType/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/getSupportedSpotMimeTypes/getSupportedSpotMimeTypes.js +2 -0
- package/build/es/no-polyfill/upload/utils/getSupportedSpotMimeTypes/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/isSizeValid/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/isSizeValid/isSizeValid.js +1 -0
- package/build/es/no-polyfill/upload/utils/isTypeValid/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/isTypeValid/isTypeValid.js +1 -0
- package/build/es/no-polyfill/upload/utils/postData/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/postData/postData.js +1 -0
- package/build/es/no-polyfill/upload/utils/requestMedia/index.js +1 -0
- package/build/es/no-polyfill/upload/utils/requestMedia/requestMedia.js +1 -0
- package/build/es/no-polyfill/uploadInput/UploadInput.js +8 -0
- package/build/es/no-polyfill/uploadInput/UploadInput.messages.js +1 -0
- package/build/es/no-polyfill/uploadInput/UploadInput.spec.js +1 -0
- package/build/es/no-polyfill/uploadInput/UploadInput.story.js +1 -0
- package/build/es/no-polyfill/uploadInput/index.js +1 -0
- package/build/es/no-polyfill/uploadInput/types.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.messages.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.spec.js +3 -0
- package/build/es/no-polyfill/uploadInput/uploadButton/defaults.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadButton/getAllowedFileTypes.js +3 -0
- package/build/es/no-polyfill/uploadInput/uploadButton/getAllowedFileTypes.spec.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.js +2 -0
- package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.messages.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.spec.js +1 -0
- package/build/es/no-polyfill/uploadInput/uploadItem/UploadItemBody.js +1 -0
- package/build/es/no-polyfill/utilities/deprecatedProperty/deprecatedProperty.js +1 -0
- package/build/es/no-polyfill/utilities/deprecatedProperty/index.js +1 -0
- package/build/es/no-polyfill/utilities/index.js +1 -0
- package/build/es/no-polyfill/utilities/logActionRequired.js +1 -0
- package/build/es/no-polyfill/utils.js +0 -0
- package/build/es/no-polyfill/withDisplayFormat/WithDisplayFormat.js +8 -0
- package/build/es/no-polyfill/withDisplayFormat/index.js +1 -0
- package/build/es/no-polyfill/withNextPortal/withNextPortal.js +1 -0
- package/build/es/polyfill/accordion/Accordion.js +1 -0
- package/build/es/polyfill/accordion/AccordionItem/AccordionItem.js +1 -0
- package/build/es/polyfill/accordion/AccordionItem/index.js +1 -0
- package/build/es/polyfill/accordion/index.js +1 -0
- package/build/es/polyfill/actionButton/ActionButton.js +1 -0
- package/build/es/polyfill/actionButton/ActionButton.spec.js +1 -0
- package/build/es/polyfill/actionButton/ActionButton.story.js +1 -0
- package/build/es/polyfill/actionButton/index.js +1 -0
- package/build/es/polyfill/actionOption/ActionOption.js +1 -0
- package/build/es/polyfill/actionOption/ActionOption.story.js +1 -0
- package/build/es/polyfill/actionOption/index.js +1 -0
- package/build/es/polyfill/alert/Alert.js +1 -0
- package/build/es/polyfill/alert/index.js +1 -0
- package/build/es/polyfill/alert/inlineMarkdown/InlineMarkdown.js +1 -0
- package/build/es/polyfill/alert/inlineMarkdown/index.js +1 -0
- package/build/es/polyfill/alert/withArrow/alertArrowPositions.js +2 -0
- package/build/es/polyfill/alert/withArrow/index.js +1 -0
- package/build/es/polyfill/alert/withArrow/withArrow.js +1 -0
- package/build/es/polyfill/avatar/Avatar.js +1 -0
- package/build/es/polyfill/avatar/avatarTypes.js +2 -0
- package/build/es/polyfill/avatar/index.js +1 -0
- package/build/es/polyfill/avatarWrapper/AvatarWrapper.js +1 -0
- package/build/es/polyfill/avatarWrapper/index.js +1 -0
- package/build/es/polyfill/badge/Badge.js +1 -0
- package/build/es/polyfill/badge/index.js +1 -0
- package/build/es/polyfill/body/Body.js +3 -0
- package/build/es/polyfill/body/Body.spec.js +1 -0
- package/build/es/polyfill/body/Body.story.js +1 -0
- package/build/es/polyfill/body/index.js +1 -0
- package/build/es/polyfill/button/Button.js +7 -0
- package/build/es/polyfill/button/classMap.js +1 -0
- package/build/es/polyfill/button/index.js +1 -0
- package/build/es/polyfill/button/legacyUtils/index.js +1 -0
- package/build/es/polyfill/button/legacyUtils/legacyUtils.js +4 -0
- package/build/es/polyfill/card/Card.js +1 -0
- package/build/es/polyfill/card/index.js +1 -0
- package/build/es/polyfill/checkbox/Checkbox.js +1 -0
- package/build/es/polyfill/checkbox/index.js +1 -0
- package/build/es/polyfill/checkboxButton/CheckboxButton.js +1 -0
- package/build/es/polyfill/checkboxButton/CheckboxButton.spec.js +1 -0
- package/build/es/polyfill/checkboxButton/CheckboxButton.story.js +1 -0
- package/build/es/polyfill/checkboxButton/index.js +1 -0
- package/build/es/polyfill/checkboxOption/CheckboxOption.js +1 -0
- package/build/es/polyfill/checkboxOption/CheckboxOption.spec.js +1 -0
- package/build/es/polyfill/checkboxOption/CheckboxOption.story.js +1 -0
- package/build/es/polyfill/checkboxOption/index.js +1 -0
- package/build/es/polyfill/chevron/Chevron.js +1 -0
- package/build/es/polyfill/chevron/index.js +1 -0
- package/build/es/polyfill/chips/Chip.js +1 -0
- package/build/es/polyfill/chips/Chips.js +1 -0
- package/build/es/polyfill/chips/Chips.messages.js +1 -0
- package/build/es/polyfill/chips/Chips.spec.js +1 -0
- package/build/es/polyfill/chips/Chips.story.js +1 -0
- package/build/es/polyfill/chips/index.js +1 -0
- package/build/es/polyfill/circularButton/CircularButton.js +1 -0
- package/build/es/polyfill/circularButton/index.js +1 -0
- package/build/es/polyfill/common/DOMOperations/DOMOperations.js +9 -0
- package/build/es/polyfill/common/DOMOperations/index.js +1 -0
- package/build/es/polyfill/common/Option/Option.js +1 -0
- package/build/es/polyfill/common/Option/index.js +1 -0
- package/build/es/polyfill/common/RadioButton/RadioButton.js +1 -0
- package/build/es/polyfill/common/RadioButton/index.js +1 -0
- package/build/es/polyfill/common/bottomSheet/BottomSheet.js +10 -0
- package/build/es/polyfill/common/bottomSheet/BottomSheet.spec.js +1 -0
- package/build/es/polyfill/common/bottomSheet/index.js +1 -0
- package/build/es/polyfill/common/closeButton/CloseButton.js +1 -0
- package/build/es/polyfill/common/closeButton/CloseButton.messages.js +1 -0
- package/build/es/polyfill/common/closeButton/index.js +1 -0
- package/build/es/polyfill/common/commonProps.js +0 -0
- package/build/es/polyfill/common/dateUtils/getDayNames/getDayNames.js +2 -0
- package/build/es/polyfill/common/dateUtils/getDayNames/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/getMonthNames/getMonthNames.js +1 -0
- package/build/es/polyfill/common/dateUtils/getMonthNames/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/isDateValid/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/isDateValid/isDateValid.js +1 -0
- package/build/es/polyfill/common/dateUtils/isMonthAndYearFormat/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js +1 -0
- package/build/es/polyfill/common/dateUtils/isWithinRange/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/isWithinRange/isWithinRange.js +1 -0
- package/build/es/polyfill/common/dateUtils/moveToWithinRange/index.js +1 -0
- package/build/es/polyfill/common/dateUtils/moveToWithinRange/moveToWithinRange.js +2 -0
- package/build/es/polyfill/common/deviceDetection/deviceDetection.js +1 -0
- package/build/es/polyfill/common/deviceDetection/index.js +1 -0
- package/build/es/polyfill/common/direction.js +1 -0
- package/build/es/polyfill/common/domHelpers/documentIosClick.js +5 -0
- package/build/es/polyfill/common/domHelpers/index.js +1 -0
- package/build/es/polyfill/common/fakeEvents.js +1 -0
- package/build/es/polyfill/common/fileType.js +1 -0
- package/build/es/polyfill/common/flowHeader/FlowHeader.js +1 -0
- package/build/es/polyfill/common/flowHeader/index.js +1 -0
- package/build/es/polyfill/common/focusBoundary/FocusBoundary.js +1 -0
- package/build/es/polyfill/common/focusBoundary/FocusBoundary.spec.js +1 -0
- package/build/es/polyfill/common/focusBoundary/index.js +1 -0
- package/build/es/polyfill/common/focusBoundary/utils/getFocusableElements.js +6 -0
- package/build/es/polyfill/common/focusBoundary/utils/index.js +1 -0
- package/build/es/polyfill/common/focusBoundary/utils/resetFocus.js +6 -0
- package/build/es/polyfill/common/historyNavigator/historyNavigator.js +1 -0
- package/build/es/polyfill/common/historyNavigator/index.js +1 -0
- package/build/es/polyfill/common/hooks/index.js +1 -0
- package/build/es/polyfill/common/hooks/useClientWidth/index.js +1 -0
- package/build/es/polyfill/common/hooks/useClientWidth/useClientWidth.js +5 -0
- package/build/es/polyfill/common/hooks/useConditionalListener/index.js +1 -0
- package/build/es/polyfill/common/hooks/useConditionalListener/useConditionalListener.js +1 -0
- package/build/es/polyfill/common/hooks/useDirection/index.js +1 -0
- package/build/es/polyfill/common/hooks/useDirection/useDirection.js +1 -0
- package/build/es/polyfill/common/hooks/useHasIntersected/index.js +1 -0
- package/build/es/polyfill/common/hooks/useHasIntersected/useHasIntersected.js +11 -0
- package/build/es/polyfill/common/hooks/useLayout/index.js +1 -0
- package/build/es/polyfill/common/hooks/useLayout/useLayout.js +1 -0
- package/build/es/polyfill/common/index.js +2 -0
- package/build/es/polyfill/common/key.js +1 -0
- package/build/es/polyfill/common/keyCodes.js +5 -0
- package/build/es/polyfill/common/locale/index.js +37 -0
- package/build/es/polyfill/common/panel/Panel.js +10 -0
- package/build/es/polyfill/common/panel/index.js +1 -0
- package/build/es/polyfill/common/propsValues/breakpoint.js +1 -0
- package/build/es/polyfill/common/propsValues/control.js +1 -0
- package/build/es/polyfill/common/propsValues/dateMode.js +1 -0
- package/build/es/polyfill/common/propsValues/layouts.js +1 -0
- package/build/es/polyfill/common/propsValues/markdownNodeType.js +1 -0
- package/build/es/polyfill/common/propsValues/monthFormat.js +1 -0
- package/build/es/polyfill/common/propsValues/position.js +1 -0
- package/build/es/polyfill/common/propsValues/profileType.js +1 -0
- package/build/es/polyfill/common/propsValues/scroll.js +1 -0
- package/build/es/polyfill/common/propsValues/sentiment.js +1 -0
- package/build/es/polyfill/common/propsValues/size.js +1 -0
- package/build/es/polyfill/common/propsValues/status.js +1 -0
- package/build/es/polyfill/common/propsValues/type.js +3 -0
- package/build/es/polyfill/common/propsValues/typography.js +1 -0
- package/build/es/polyfill/common/propsValues/variant.js +1 -0
- package/build/es/polyfill/common/propsValues/width.js +1 -0
- package/build/es/polyfill/common/requirements.js +3 -0
- package/build/es/polyfill/common/responsivePanel/ResponsivePanel.js +1 -0
- package/build/es/polyfill/common/responsivePanel/index.js +1 -0
- package/build/es/polyfill/common/textFormat/formatWithPattern/formatWithPattern.js +2 -0
- package/build/es/polyfill/common/textFormat/formatWithPattern/index.js +1 -0
- package/build/es/polyfill/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js +1 -0
- package/build/es/polyfill/common/textFormat/getCountOfSymbolsInSelection/index.js +1 -0
- package/build/es/polyfill/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js +1 -0
- package/build/es/polyfill/common/textFormat/getCursorPositionAfterKeystroke/index.js +1 -0
- package/build/es/polyfill/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js +2 -0
- package/build/es/polyfill/common/textFormat/getDistanceToSymbol/index.js +1 -0
- package/build/es/polyfill/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js +1 -0
- package/build/es/polyfill/common/textFormat/getSymbolsInPatternWithPosition/index.js +1 -0
- package/build/es/polyfill/common/textFormat/index.js +1 -0
- package/build/es/polyfill/common/textFormat/unformatWithPattern/index.js +1 -0
- package/build/es/polyfill/common/textFormat/unformatWithPattern/unformatWithPattern.js +1 -0
- package/build/es/polyfill/common/theme.js +1 -0
- package/build/es/polyfill/criticalBanner/CriticalCommsBanner.js +1 -0
- package/build/es/polyfill/criticalBanner/CriticalCommsBanner.story.js +1 -0
- package/build/es/polyfill/criticalBanner/index.js +1 -0
- package/build/es/polyfill/dateInput/DateInput.js +4 -0
- package/build/es/polyfill/dateInput/DateInput.messages.js +1 -0
- package/build/es/polyfill/dateInput/index.js +1 -0
- package/build/es/polyfill/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +2 -0
- package/build/es/polyfill/dateInput/utils/convertToLocalMidnight/index.js +1 -0
- package/build/es/polyfill/dateInput/utils/explodeDate/explodeDate.js +1 -0
- package/build/es/polyfill/dateInput/utils/explodeDate/index.js +1 -0
- package/build/es/polyfill/dateInput/utils/index.js +1 -0
- package/build/es/polyfill/dateLookup/DateLookup.js +3 -0
- package/build/es/polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
- package/build/es/polyfill/dateLookup/dateHeader/index.js +1 -0
- package/build/es/polyfill/dateLookup/dateTrigger/DateTrigger.js +1 -0
- package/build/es/polyfill/dateLookup/dateTrigger/DateTrigger.messages.js +1 -0
- package/build/es/polyfill/dateLookup/dateTrigger/index.js +1 -0
- package/build/es/polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -0
- package/build/es/polyfill/dateLookup/dayCalendar/index.js +1 -0
- package/build/es/polyfill/dateLookup/dayCalendar/table/DayCalendarTable.js +4 -0
- package/build/es/polyfill/dateLookup/dayCalendar/table/index.js +1 -0
- package/build/es/polyfill/dateLookup/getStartOfDay/getStartOfDay.js +5 -0
- package/build/es/polyfill/dateLookup/getStartOfDay/index.js +1 -0
- package/build/es/polyfill/dateLookup/index.js +1 -0
- package/build/es/polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -0
- package/build/es/polyfill/dateLookup/monthCalendar/index.js +1 -0
- package/build/es/polyfill/dateLookup/monthCalendar/table/MonthCalendarTable.js +1 -0
- package/build/es/polyfill/dateLookup/monthCalendar/table/index.js +1 -0
- package/build/es/polyfill/dateLookup/tableLink/TableLink.js +2 -0
- package/build/es/polyfill/dateLookup/tableLink/index.js +1 -0
- package/build/es/polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -0
- package/build/es/polyfill/dateLookup/yearCalendar/index.js +1 -0
- package/build/es/polyfill/dateLookup/yearCalendar/table/YearCalendarTable.js +1 -0
- package/build/es/polyfill/dateLookup/yearCalendar/table/index.js +1 -0
- package/build/es/polyfill/decision/Decision.js +5 -0
- package/build/es/polyfill/decision/decisionEnums.js +3 -0
- package/build/es/polyfill/decision/index.js +1 -0
- package/build/es/polyfill/definitionList/DefinitionList.js +1 -0
- package/build/es/polyfill/definitionList/index.js +1 -0
- package/build/es/polyfill/dimmer/Dimmer.js +6 -0
- package/build/es/polyfill/dimmer/Dimmer.story.js +1 -0
- package/build/es/polyfill/dimmer/dimmerManager/DimmerManager.js +5 -0
- package/build/es/polyfill/dimmer/dimmerManager/index.js +1 -0
- package/build/es/polyfill/dimmer/index.js +1 -0
- package/build/es/polyfill/display/Display.js +1 -0
- package/build/es/polyfill/display/Display.story.js +2 -0
- package/build/es/polyfill/display/index.js +1 -0
- package/build/es/polyfill/drawer/Drawer.js +1 -0
- package/build/es/polyfill/drawer/index.js +1 -0
- package/build/es/polyfill/dropFade/DropFade.js +3 -0
- package/build/es/polyfill/dropFade/DropFade.story.js +1 -0
- package/build/es/polyfill/dropFade/index.js +1 -0
- package/build/es/polyfill/dynamicFieldDefinitionList/DynamicFieldDefinitionList.js +1 -0
- package/build/es/polyfill/dynamicFieldDefinitionList/FormattedValue/FormattedValue.js +8 -0
- package/build/es/polyfill/dynamicFieldDefinitionList/FormattedValue/index.js +1 -0
- package/build/es/polyfill/dynamicFieldDefinitionList/index.js +1 -0
- package/build/es/polyfill/dynamicFieldDefinitionList/utils/createDefinitions.js +2 -0
- package/build/es/polyfill/dynamicFieldDefinitionList/utils/text-format.js +1 -0
- package/build/es/polyfill/emphasis/Emphasis.js +2 -0
- package/build/es/polyfill/emphasis/EmphasisHtmlTransformer.js +7 -0
- package/build/es/polyfill/emphasis/index.js +1 -0
- package/build/es/polyfill/flowNavigation/FlowNavigation.js +2 -0
- package/build/es/polyfill/flowNavigation/animatedLabel/AnimatedLabel.js +1 -0
- package/build/es/polyfill/flowNavigation/animatedLabel/index.js +1 -0
- package/build/es/polyfill/flowNavigation/backButton/BackButton.js +1 -0
- package/build/es/polyfill/flowNavigation/backButton/index.js +1 -0
- package/build/es/polyfill/flowNavigation/index.js +1 -0
- package/build/es/polyfill/header/Header.js +5 -0
- package/build/es/polyfill/header/Header.spec.js +1 -0
- package/build/es/polyfill/header/Header.story.js +2 -0
- package/build/es/polyfill/header/index.js +1 -0
- package/build/es/polyfill/i18n/cs.json +44 -0
- package/build/es/polyfill/i18n/de.json +44 -0
- package/build/es/polyfill/i18n/en.json +41 -0
- package/build/es/polyfill/i18n/es.json +44 -0
- package/build/es/polyfill/i18n/fr.json +44 -0
- package/build/es/polyfill/i18n/hu.json +44 -0
- package/build/es/polyfill/i18n/id.json +44 -0
- package/build/es/polyfill/i18n/index.js +1 -0
- package/build/es/polyfill/i18n/it.json +44 -0
- package/build/es/polyfill/i18n/ja.json +44 -0
- package/build/es/polyfill/i18n/pl.json +44 -0
- package/build/es/polyfill/i18n/pt.json +44 -0
- package/build/es/polyfill/i18n/ro.json +44 -0
- package/build/es/polyfill/i18n/ru.json +44 -0
- package/build/es/polyfill/i18n/th.json +44 -0
- package/build/es/polyfill/i18n/tr.json +44 -0
- package/build/es/polyfill/i18n/uk.json +44 -0
- package/build/es/polyfill/i18n/zh-CN.json +44 -0
- package/build/es/polyfill/i18n/zh.json +44 -0
- package/build/es/polyfill/image/Image.js +12 -0
- package/build/es/polyfill/image/index.js +1 -0
- package/build/es/polyfill/index.js +13 -0
- package/build/es/polyfill/info/Info.js +1 -0
- package/build/es/polyfill/info/index.js +1 -0
- package/build/es/polyfill/info/infoPresentations.js +2 -0
- package/build/es/polyfill/inlineAlert/InlineAlert.js +1 -0
- package/build/es/polyfill/inlineAlert/index.js +1 -0
- package/build/es/polyfill/inputWithDisplayFormat/InputWithDisplayFormat.js +1 -0
- package/build/es/polyfill/inputWithDisplayFormat/index.js +1 -0
- package/build/es/polyfill/inputs/Input.js +1 -0
- package/build/es/polyfill/inputs/TextArea.js +1 -0
- package/build/es/polyfill/inputs/_common.js +2 -0
- package/build/es/polyfill/instructionsList/InstructionsList.js +3 -0
- package/build/es/polyfill/instructionsList/index.js +1 -0
- package/build/es/polyfill/link/Link.js +5 -0
- package/build/es/polyfill/link/Link.spec.js +1 -0
- package/build/es/polyfill/link/Link.story.js +1 -0
- package/build/es/polyfill/link/index.js +1 -0
- package/build/es/polyfill/loader/Loader.js +11 -0
- package/build/es/polyfill/loader/index.js +1 -0
- package/build/es/polyfill/logo/Logo.js +1 -0
- package/build/es/polyfill/logo/index.js +1 -0
- package/build/es/polyfill/logo/logoTypes.js +2 -0
- package/build/es/polyfill/logo/svg/flag-inverse.svg +1 -0
- package/build/es/polyfill/logo/svg/flag.svg +1 -0
- package/build/es/polyfill/logo/svg/logo-business-inverse.svg +1 -0
- package/build/es/polyfill/logo/svg/logo-business.svg +1 -0
- package/build/es/polyfill/logo/svg/logo-inverse.svg +1 -0
- package/build/es/polyfill/logo/svg/logo.svg +1 -0
- package/build/es/polyfill/markdown/Markdown.js +1 -0
- package/build/es/polyfill/markdown/index.js +1 -0
- package/build/es/polyfill/modal/Modal.js +1 -0
- package/build/es/polyfill/modal/Modal.story.js +1 -0
- package/build/es/polyfill/modal/index.js +1 -0
- package/build/es/polyfill/money/Money.js +1 -0
- package/build/es/polyfill/money/index.js +1 -0
- package/build/es/polyfill/moneyInput/MoneyInput.js +5 -0
- package/build/es/polyfill/moneyInput/MoneyInput.messages.js +1 -0
- package/build/es/polyfill/moneyInput/currencyFormatting.js +4 -0
- package/build/es/polyfill/moneyInput/index.js +1 -0
- package/build/es/polyfill/navigationOption/NavigationOption.js +1 -0
- package/build/es/polyfill/navigationOption/index.js +1 -0
- package/build/es/polyfill/navigationOptionsList/NavigationOptionsList.js +1 -0
- package/build/es/polyfill/navigationOptionsList/index.js +1 -0
- package/build/es/polyfill/nudge/Nudge.js +1 -0
- package/build/es/polyfill/nudge/index.js +1 -0
- package/build/es/polyfill/overlayHeader/OverlayHeader.js +1 -0
- package/build/es/polyfill/overlayHeader/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/PhoneNumberInput.js +1 -0
- package/build/es/polyfill/phoneNumberInput/data/countries.js +1 -0
- package/build/es/polyfill/phoneNumberInput/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/cleanNumber/cleanNumber.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/cleanNumber/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/explodeNumberModel/index.js +7 -0
- package/build/es/polyfill/phoneNumberInput/utils/filterOptionsForQuery/index.js +7 -0
- package/build/es/polyfill/phoneNumberInput/utils/findCountryByCode/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/findCountryByPrefix/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/groupCountriesByPrefix/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/isOptionAndFitsQuery.js +7 -0
- package/build/es/polyfill/phoneNumberInput/utils/isStringNumeric/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/isStringNumeric/isStringNumeric.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/isValidPhoneNumber/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js +6 -0
- package/build/es/polyfill/phoneNumberInput/utils/longestMatchingPrefix/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/setDefaultPrefix/index.js +11 -0
- package/build/es/polyfill/phoneNumberInput/utils/sortArrayByProperty/index.js +1 -0
- package/build/es/polyfill/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js +2 -0
- package/build/es/polyfill/popover/Popover.js +4 -0
- package/build/es/polyfill/popover/index.js +1 -0
- package/build/es/polyfill/processIndicator/ProcessIndicator.js +12 -0
- package/build/es/polyfill/processIndicator/index.js +1 -0
- package/build/es/polyfill/progress/Progress.js +1 -0
- package/build/es/polyfill/progress/index.js +1 -0
- package/build/es/polyfill/progressBar/ProgressBar.js +1 -0
- package/build/es/polyfill/progressBar/ProgressBar.story.js +1 -0
- package/build/es/polyfill/progressBar/index.js +1 -0
- package/build/es/polyfill/provider/Provider.js +1 -0
- package/build/es/polyfill/provider/Provider.spec.js +1 -0
- package/build/es/polyfill/provider/Provider.story.js +1 -0
- package/build/es/polyfill/provider/direction/DirectionProvider.js +1 -0
- package/build/es/polyfill/provider/direction/DirectionProvider.spec.js +1 -0
- package/build/es/polyfill/provider/direction/index.js +1 -0
- package/build/es/polyfill/provider/index.js +1 -0
- package/build/es/polyfill/provider/language/LanguageProvider.js +1 -0
- package/build/es/polyfill/provider/language/LanguageProvider.spec.js +1 -0
- package/build/es/polyfill/provider/language/index.js +1 -0
- package/build/es/polyfill/radio/Radio.js +1 -0
- package/build/es/polyfill/radio/index.js +1 -0
- package/build/es/polyfill/radioGroup/RadioGroup.js +2 -0
- package/build/es/polyfill/radioGroup/index.js +1 -0
- package/build/es/polyfill/radioOption/RadioOption.js +1 -0
- package/build/es/polyfill/radioOption/index.js +1 -0
- package/build/es/polyfill/section/Section.js +5 -0
- package/build/es/polyfill/section/Section.spec.js +1 -0
- package/build/es/polyfill/section/Section.story.js +1 -0
- package/build/es/polyfill/section/index.js +1 -0
- package/build/es/polyfill/select/Select.js +16 -0
- package/build/es/polyfill/select/Select.messages.js +1 -0
- package/build/es/polyfill/select/index.js +1 -0
- package/build/es/polyfill/select/option/Option.js +2 -0
- package/build/es/polyfill/select/option/index.js +1 -0
- package/build/es/polyfill/select/searchBox/SearchBox.js +1 -0
- package/build/es/polyfill/select/searchBox/index.js +1 -0
- package/build/es/polyfill/sizeSwapper/SizeSwapper.js +5 -0
- package/build/es/polyfill/sizeSwapper/index.js +1 -0
- package/build/es/polyfill/slidingPanel/SlidingPanel.js +2 -0
- package/build/es/polyfill/slidingPanel/index.js +1 -0
- package/build/es/polyfill/snackbar/Snackbar.js +1 -0
- package/build/es/polyfill/snackbar/SnackbarContext.js +1 -0
- package/build/es/polyfill/snackbar/SnackbarProvider.js +1 -0
- package/build/es/polyfill/snackbar/index.js +1 -0
- package/build/es/polyfill/snackbar/useSnackbar.js +1 -0
- package/build/es/polyfill/statusIcon/StatusIcon.js +1 -0
- package/build/es/polyfill/statusIcon/index.js +1 -0
- package/build/es/polyfill/stepper/Stepper.js +1 -0
- package/build/es/polyfill/stepper/deviceDetection.js +4 -0
- package/build/es/polyfill/stepper/index.js +1 -0
- package/build/es/polyfill/sticky/Sticky.js +1 -0
- package/build/es/polyfill/sticky/index.js +1 -0
- package/build/es/polyfill/summary/Summary.js +1 -0
- package/build/es/polyfill/summary/Summary.messages.js +1 -0
- package/build/es/polyfill/summary/index.js +1 -0
- package/build/es/polyfill/switch/Switch.js +1 -0
- package/build/es/polyfill/switch/Switch.story.js +1 -0
- package/build/es/polyfill/switch/index.js +1 -0
- package/build/es/polyfill/switchOption/SwitchOption.js +1 -0
- package/build/es/polyfill/switchOption/SwitchOption.story.js +1 -0
- package/build/es/polyfill/switchOption/index.js +1 -0
- package/build/es/polyfill/tabs/Tab.js +1 -0
- package/build/es/polyfill/tabs/TabList.js +1 -0
- package/build/es/polyfill/tabs/TabPanel.js +1 -0
- package/build/es/polyfill/tabs/Tabs.js +1 -0
- package/build/es/polyfill/tabs/index.js +1 -0
- package/build/es/polyfill/tabs/utils.js +5 -0
- package/build/es/polyfill/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +1 -0
- package/build/es/polyfill/textareaWithDisplayFormat/index.js +1 -0
- package/build/es/polyfill/tile/Tile.js +1 -0
- package/build/es/polyfill/tile/index.js +1 -0
- package/build/es/polyfill/title/Title.js +1 -0
- package/build/es/polyfill/title/Title.spec.js +1 -0
- package/build/es/polyfill/title/Title.story.js +1 -0
- package/build/es/polyfill/title/index.js +1 -0
- package/build/es/polyfill/tooltip/Tooltip.js +8 -0
- package/build/es/polyfill/tooltip/Tooltip.spec.js +1 -0
- package/build/es/polyfill/tooltip/Tooltip.story.js +1 -0
- package/build/es/polyfill/tooltip/index.js +1 -0
- package/build/es/polyfill/typeahead/Typeahead.js +1 -0
- package/build/es/polyfill/typeahead/index.js +1 -0
- package/build/es/polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -0
- package/build/es/polyfill/typeahead/typeaheadOption/TypeaheadOption.js +1 -0
- package/build/es/polyfill/typeahead/util/highlight.js +1 -0
- package/build/es/polyfill/upload/Upload.js +12 -0
- package/build/es/polyfill/upload/Upload.messages.js +1 -0
- package/build/es/polyfill/upload/index.js +1 -0
- package/build/es/polyfill/upload/steps/completeStep/completeStep.js +1 -0
- package/build/es/polyfill/upload/steps/completeStep/index.js +1 -0
- package/build/es/polyfill/upload/steps/index.js +1 -0
- package/build/es/polyfill/upload/steps/mediaUploadStep/index.js +1 -0
- package/build/es/polyfill/upload/steps/mediaUploadStep/mediaUploadStep.js +1 -0
- package/build/es/polyfill/upload/steps/processingStep/index.js +1 -0
- package/build/es/polyfill/upload/steps/processingStep/processingStep.js +1 -0
- package/build/es/polyfill/upload/steps/uploadImageStep/index.js +1 -0
- package/build/es/polyfill/upload/steps/uploadImageStep/uploadImageStep.js +1 -0
- package/build/es/polyfill/upload/uploadSteps.js +2 -0
- package/build/es/polyfill/upload/utils/asyncFileRead/asyncFileRead.js +1 -0
- package/build/es/polyfill/upload/utils/asyncFileRead/index.js +1 -0
- package/build/es/polyfill/upload/utils/getFileType/getFileType.js +1 -0
- package/build/es/polyfill/upload/utils/getFileType/index.js +1 -0
- package/build/es/polyfill/upload/utils/getSupportedSpotMimeTypes/getSupportedSpotMimeTypes.js +2 -0
- package/build/es/polyfill/upload/utils/getSupportedSpotMimeTypes/index.js +1 -0
- package/build/es/polyfill/upload/utils/index.js +1 -0
- package/build/es/polyfill/upload/utils/isSizeValid/index.js +1 -0
- package/build/es/polyfill/upload/utils/isSizeValid/isSizeValid.js +1 -0
- package/build/es/polyfill/upload/utils/isTypeValid/index.js +1 -0
- package/build/es/polyfill/upload/utils/isTypeValid/isTypeValid.js +1 -0
- package/build/es/polyfill/upload/utils/postData/index.js +1 -0
- package/build/es/polyfill/upload/utils/postData/postData.js +1 -0
- package/build/es/polyfill/upload/utils/requestMedia/index.js +1 -0
- package/build/es/polyfill/upload/utils/requestMedia/requestMedia.js +1 -0
- package/build/es/polyfill/uploadInput/UploadInput.js +8 -0
- package/build/es/polyfill/uploadInput/UploadInput.messages.js +1 -0
- package/build/es/polyfill/uploadInput/UploadInput.spec.js +1 -0
- package/build/es/polyfill/uploadInput/UploadInput.story.js +1 -0
- package/build/es/polyfill/uploadInput/index.js +1 -0
- package/build/es/polyfill/uploadInput/types.js +1 -0
- package/build/es/polyfill/uploadInput/uploadButton/UploadButton.js +1 -0
- package/build/es/polyfill/uploadInput/uploadButton/UploadButton.messages.js +1 -0
- package/build/es/polyfill/uploadInput/uploadButton/UploadButton.spec.js +3 -0
- package/build/es/polyfill/uploadInput/uploadButton/defaults.js +1 -0
- package/build/es/polyfill/uploadInput/uploadButton/getAllowedFileTypes.js +3 -0
- package/build/es/polyfill/uploadInput/uploadButton/getAllowedFileTypes.spec.js +1 -0
- package/build/es/polyfill/uploadInput/uploadItem/UploadItem.js +2 -0
- package/build/es/polyfill/uploadInput/uploadItem/UploadItem.messages.js +1 -0
- package/build/es/polyfill/uploadInput/uploadItem/UploadItem.spec.js +1 -0
- package/build/es/polyfill/uploadInput/uploadItem/UploadItemBody.js +1 -0
- package/build/es/polyfill/utilities/deprecatedProperty/deprecatedProperty.js +1 -0
- package/build/es/polyfill/utilities/deprecatedProperty/index.js +1 -0
- package/build/es/polyfill/utilities/index.js +1 -0
- package/build/es/polyfill/utilities/logActionRequired.js +1 -0
- package/build/es/polyfill/utils.js +0 -0
- package/build/es/polyfill/withDisplayFormat/WithDisplayFormat.js +8 -0
- package/build/es/polyfill/withDisplayFormat/index.js +1 -0
- package/build/es/polyfill/withNextPortal/withNextPortal.js +1 -0
- package/build/i18n/cs.json +44 -0
- package/build/i18n/de.json +44 -0
- package/build/i18n/en.json +41 -0
- package/build/i18n/es.json +44 -0
- package/build/i18n/fr.json +44 -0
- package/build/i18n/hu.json +44 -0
- package/build/i18n/id.json +44 -0
- package/build/i18n/it.json +44 -0
- package/build/i18n/ja.json +44 -0
- package/build/i18n/pl.json +44 -0
- package/build/i18n/pt.json +44 -0
- package/build/i18n/ro.json +44 -0
- package/build/i18n/ru.json +44 -0
- package/build/i18n/th.json +44 -0
- package/build/i18n/tr.json +44 -0
- package/build/i18n/uk.json +44 -0
- package/build/i18n/zh-CN.json +44 -0
- package/build/i18n/zh.json +44 -0
- package/build/main.css +1 -0
- package/build/styles/accordion/Accordion.css +1 -0
- package/build/styles/actionButton/ActionButton.css +1 -0
- package/build/styles/avatar/Avatar.css +1 -0
- package/build/styles/badge/Badge.css +1 -0
- package/build/styles/button/Button.css +1 -0
- package/build/styles/card/Card.css +1 -0
- package/build/styles/checkboxButton/CheckboxButton.css +1 -0
- package/build/styles/chips/Chip.css +1 -0
- package/build/styles/circularButton/CircularButton.css +1 -0
- package/build/styles/common/Option/Option.css +1 -0
- package/build/styles/common/RadioButton/RadioButton.css +1 -0
- package/build/styles/common/bottomSheet/BottomSheet.css +1 -0
- package/build/styles/common/closeButton/CloseButton.css +1 -0
- package/build/styles/common/panel/Panel.css +1 -0
- package/build/styles/criticalBanner/CriticalCommsBanner.css +1 -0
- package/build/styles/dateInput/DateInput.css +1 -0
- package/build/styles/dateLookup/DateLookup.css +1 -0
- package/build/styles/dateLookup/dateTrigger/DateTrigger.css +1 -0
- package/build/styles/decision/Decision.css +1 -0
- package/build/styles/definitionList/DefinitionList.css +1 -0
- package/build/styles/dimmer/Dimmer.css +1 -0
- package/build/styles/drawer/Drawer.css +1 -0
- package/build/styles/dropFade/DropFade.css +1 -0
- package/build/styles/dynamicFieldDefinitionList/FormattedValue/FormattedValue.css +1 -0
- package/build/styles/emphasis/Emphasis.css +1 -0
- package/build/styles/flowNavigation/FlowNavigation.css +1 -0
- package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +1 -0
- package/build/styles/flowNavigation/backButton/BackButton.css +1 -0
- package/build/styles/header/Header.css +1 -0
- package/build/styles/image/Image.css +1 -0
- package/build/styles/info/Info.css +1 -0
- package/build/styles/inputs/Input.css +1 -0
- package/build/styles/inputs/TextArea.css +1 -0
- package/build/styles/instructionsList/InstructionsList.css +1 -0
- package/build/styles/link/Link.css +1 -0
- package/build/styles/loader/Loader.css +1 -0
- package/build/styles/logo/Logo.css +1 -0
- package/build/styles/main.css +1 -0
- package/build/styles/modal/Modal.css +1 -0
- package/build/styles/moneyInput/MoneyInput.css +1 -0
- package/build/styles/navigationOption/NavigationOption.css +1 -0
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +1 -0
- package/build/styles/nudge/Nudge.css +1 -0
- package/build/styles/overlayHeader/OverlayHeader.css +1 -0
- package/build/styles/phoneNumberInput/PhoneNumberInput.css +1 -0
- package/build/styles/popover/Popover.css +1 -0
- package/build/styles/progress/Progress.css +1 -0
- package/build/styles/progressBar/ProgressBar.css +1 -0
- package/build/styles/section/Section.css +1 -0
- package/build/styles/select/Select.css +1 -0
- package/build/styles/slidingPanel/SlidingPanel.css +1 -0
- package/build/styles/snackbar/Snackbar.css +1 -0
- package/build/styles/statusIcon/StatusIcon.css +1 -0
- package/build/styles/stepper/Stepper.css +1 -0
- package/build/styles/summary/Summary.css +1 -0
- package/build/styles/switch/Switch.css +1 -0
- package/build/styles/tabs/Tabs.css +1 -0
- package/build/styles/tile/Tile.css +1 -0
- package/build/styles/tooltip/Tooltip.css +1 -0
- package/build/styles/typeahead/Typeahead.css +1 -0
- package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +1 -0
- package/build/styles/upload/Upload.css +1 -0
- package/build/styles/uploadInput/UploadInput.css +1 -0
- package/build/styles/uploadInput/uploadButton/UploadButton.css +1 -0
- package/build/styles/uploadInput/uploadItem/UploadItem.css +1 -0
- package/build/types/accordion/Accordion.d.ts +22 -0
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts +30 -0
- package/build/types/accordion/AccordionItem/index.d.ts +1 -0
- package/build/types/accordion/index.d.ts +1 -0
- package/build/types/actionButton/ActionButton.d.ts +14 -0
- package/build/types/actionButton/ActionButton.spec.d.ts +1 -0
- package/build/types/actionButton/ActionButton.story.d.ts +11 -0
- package/build/types/actionButton/index.d.ts +2 -0
- package/build/types/actionOption/ActionOption.d.ts +16 -0
- package/build/types/actionOption/ActionOption.story.d.ts +8 -0
- package/build/types/actionOption/index.d.ts +1 -0
- package/build/types/alert/Alert.d.ts +54 -0
- package/build/types/alert/index.d.ts +1 -0
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +12 -0
- package/build/types/alert/inlineMarkdown/index.d.ts +1 -0
- package/build/types/alert/withArrow/alertArrowPositions.d.ts +8 -0
- package/build/types/alert/withArrow/index.d.ts +2 -0
- package/build/types/alert/withArrow/withArrow.d.ts +10 -0
- package/build/types/avatar/Avatar.d.ts +22 -0
- package/build/types/avatar/avatarTypes.d.ts +6 -0
- package/build/types/avatar/index.d.ts +2 -0
- package/build/types/avatarWrapper/AvatarWrapper.d.ts +27 -0
- package/build/types/avatarWrapper/index.d.ts +2 -0
- package/build/types/badge/Badge.d.ts +10 -0
- package/build/types/badge/index.d.ts +1 -0
- package/build/types/body/Body.d.ts +13 -0
- package/build/types/body/Body.spec.d.ts +1 -0
- package/build/types/body/Body.story.d.ts +11 -0
- package/build/types/body/index.d.ts +1 -0
- package/build/types/button/Button.d.ts +27 -0
- package/build/types/button/classMap.d.ts +10 -0
- package/build/types/button/index.d.ts +2 -0
- package/build/types/button/legacyUtils/index.d.ts +1 -0
- package/build/types/button/legacyUtils/legacyUtils.d.ts +6 -0
- package/build/types/card/Card.d.ts +20 -0
- package/build/types/card/index.d.ts +1 -0
- package/build/types/checkbox/Checkbox.d.ts +20 -0
- package/build/types/checkbox/index.d.ts +2 -0
- package/build/types/checkboxButton/CheckboxButton.d.ts +4 -0
- package/build/types/checkboxButton/CheckboxButton.spec.d.ts +1 -0
- package/build/types/checkboxButton/CheckboxButton.story.d.ts +6 -0
- package/build/types/checkboxButton/index.d.ts +1 -0
- package/build/types/checkboxOption/CheckboxOption.d.ts +24 -0
- package/build/types/checkboxOption/CheckboxOption.spec.d.ts +1 -0
- package/build/types/checkboxOption/CheckboxOption.story.d.ts +8 -0
- package/build/types/checkboxOption/index.d.ts +1 -0
- package/build/types/chevron/Chevron.d.ts +17 -0
- package/build/types/chevron/index.d.ts +1 -0
- package/build/types/chips/Chip.d.ts +15 -0
- package/build/types/chips/Chips.d.ts +22 -0
- package/build/types/chips/Chips.messages.d.ts +8 -0
- package/build/types/chips/Chips.spec.d.ts +1 -0
- package/build/types/chips/Chips.story.d.ts +9 -0
- package/build/types/chips/index.d.ts +2 -0
- package/build/types/circularButton/CircularButton.d.ts +20 -0
- package/build/types/circularButton/index.d.ts +1 -0
- package/build/types/common/DOMOperations/DOMOperations.d.ts +2 -0
- package/build/types/common/DOMOperations/index.d.ts +3 -0
- package/build/types/common/Option/Option.d.ts +28 -0
- package/build/types/common/Option/index.d.ts +1 -0
- package/build/types/common/RadioButton/RadioButton.d.ts +35 -0
- package/build/types/common/RadioButton/index.d.ts +1 -0
- package/build/types/common/bottomSheet/BottomSheet.d.ts +14 -0
- package/build/types/common/bottomSheet/BottomSheet.spec.d.ts +1 -0
- package/build/types/common/bottomSheet/index.d.ts +1 -0
- package/build/types/common/closeButton/CloseButton.d.ts +10 -0
- package/build/types/common/closeButton/CloseButton.messages.d.ts +8 -0
- package/build/types/common/closeButton/index.d.ts +2 -0
- package/build/types/common/commonProps.d.ts +20 -0
- package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts +1 -0
- package/build/types/common/dateUtils/getDayNames/index.d.ts +1 -0
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts +1 -0
- package/build/types/common/dateUtils/getMonthNames/index.d.ts +1 -0
- package/build/types/common/dateUtils/index.d.ts +6 -0
- package/build/types/common/dateUtils/isDateValid/index.d.ts +1 -0
- package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts +2 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts +1 -0
- package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +1 -0
- package/build/types/common/dateUtils/isWithinRange/index.d.ts +1 -0
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts +1 -0
- package/build/types/common/dateUtils/moveToWithinRange/index.d.ts +1 -0
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +1 -0
- package/build/types/common/deviceDetection/deviceDetection.d.ts +1 -0
- package/build/types/common/deviceDetection/index.d.ts +1 -0
- package/build/types/common/direction.d.ts +6 -0
- package/build/types/common/domHelpers/documentIosClick.d.ts +2 -0
- package/build/types/common/domHelpers/index.d.ts +6 -0
- package/build/types/common/fileType.d.ts +6 -0
- package/build/types/common/flowHeader/FlowHeader.d.ts +2 -0
- package/build/types/common/flowHeader/index.d.ts +1 -0
- package/build/types/common/focusBoundary/FocusBoundary.d.ts +6 -0
- package/build/types/common/focusBoundary/FocusBoundary.spec.d.ts +1 -0
- package/build/types/common/focusBoundary/index.d.ts +1 -0
- package/build/types/common/focusBoundary/utils/getFocusableElements.d.ts +1 -0
- package/build/types/common/focusBoundary/utils/index.d.ts +2 -0
- package/build/types/common/focusBoundary/utils/resetFocus.d.ts +1 -0
- package/build/types/common/historyNavigator/historyNavigator.d.ts +11 -0
- package/build/types/common/historyNavigator/index.d.ts +1 -0
- package/build/types/common/hooks/index.d.ts +5 -0
- package/build/types/common/hooks/useClientWidth/index.d.ts +1 -0
- package/build/types/common/hooks/useClientWidth/useClientWidth.d.ts +9 -0
- package/build/types/common/hooks/useConditionalListener/index.d.ts +1 -0
- package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts +9 -0
- package/build/types/common/hooks/useDirection/index.d.ts +1 -0
- package/build/types/common/hooks/useDirection/useDirection.d.ts +5 -0
- package/build/types/common/hooks/useHasIntersected/index.d.ts +1 -0
- package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts +4 -0
- package/build/types/common/hooks/useLayout/index.d.ts +1 -0
- package/build/types/common/hooks/useLayout/useLayout.d.ts +8 -0
- package/build/types/common/index.d.ts +25 -0
- package/build/types/common/key.d.ts +8 -0
- package/build/types/common/keyCodes.d.ts +15 -0
- package/build/types/common/locale/index.d.ts +52 -0
- package/build/types/common/panel/Panel.d.ts +25 -0
- package/build/types/common/panel/index.d.ts +1 -0
- package/build/types/common/propsValues/breakpoint.d.ts +7 -0
- package/build/types/common/propsValues/control.d.ts +16 -0
- package/build/types/common/propsValues/dateMode.d.ts +4 -0
- package/build/types/common/propsValues/layouts.d.ts +9 -0
- package/build/types/common/propsValues/markdownNodeType.d.ts +18 -0
- package/build/types/common/propsValues/monthFormat.d.ts +4 -0
- package/build/types/common/propsValues/position.d.ts +16 -0
- package/build/types/common/propsValues/profileType.d.ts +4 -0
- package/build/types/common/propsValues/scroll.d.ts +6 -0
- package/build/types/common/propsValues/sentiment.d.ts +19 -0
- package/build/types/common/propsValues/size.d.ts +12 -0
- package/build/types/common/propsValues/status.d.ts +9 -0
- package/build/types/common/propsValues/type.d.ts +13 -0
- package/build/types/common/propsValues/typography.d.ts +37 -0
- package/build/types/common/propsValues/variant.d.ts +4 -0
- package/build/types/common/propsValues/width.d.ts +4 -0
- package/build/types/common/requirements.d.ts +2 -0
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts +14 -0
- package/build/types/common/responsivePanel/index.d.ts +1 -0
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts +2 -0
- package/build/types/common/textFormat/formatWithPattern/index.d.ts +1 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +2 -0
- package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts +1 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +2 -0
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts +1 -0
- package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +2 -0
- package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts +1 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +2 -0
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts +1 -0
- package/build/types/common/textFormat/index.d.ts +6 -0
- package/build/types/common/textFormat/unformatWithPattern/index.d.ts +1 -0
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts +2 -0
- package/build/types/common/theme.d.ts +19 -0
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts +12 -0
- package/build/types/criticalBanner/CriticalCommsBanner.story.d.ts +8 -0
- package/build/types/criticalBanner/index.d.ts +1 -0
- package/build/types/dateInput/DateInput.d.ts +37 -0
- package/build/types/dateInput/DateInput.messages.d.ts +19 -0
- package/build/types/dateInput/index.d.ts +2 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +1 -0
- package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts +1 -0
- package/build/types/dateInput/utils/explodeDate/explodeDate.d.ts +5 -0
- package/build/types/dateInput/utils/explodeDate/index.d.ts +1 -0
- package/build/types/dateInput/utils/index.d.ts +2 -0
- package/build/types/dateLookup/DateLookup.d.ts +26 -0
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts +21 -0
- package/build/types/dateLookup/dateHeader/index.d.ts +1 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +32 -0
- package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts +8 -0
- package/build/types/dateLookup/dateTrigger/index.d.ts +1 -0
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts +4 -0
- package/build/types/dateLookup/dayCalendar/index.d.ts +1 -0
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts +4 -0
- package/build/types/dateLookup/dayCalendar/table/index.d.ts +1 -0
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts +1 -0
- package/build/types/dateLookup/getStartOfDay/index.d.ts +1 -0
- package/build/types/dateLookup/index.d.ts +1 -0
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts +4 -0
- package/build/types/dateLookup/monthCalendar/index.d.ts +1 -0
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +27 -0
- package/build/types/dateLookup/monthCalendar/table/index.d.ts +1 -0
- package/build/types/dateLookup/tableLink/TableLink.d.ts +26 -0
- package/build/types/dateLookup/tableLink/index.d.ts +1 -0
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +29 -0
- package/build/types/dateLookup/yearCalendar/index.d.ts +1 -0
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +27 -0
- package/build/types/dateLookup/yearCalendar/table/index.d.ts +1 -0
- package/build/types/decision/Decision.d.ts +52 -0
- package/build/types/decision/decisionEnums.d.ts +8 -0
- package/build/types/decision/index.d.ts +2 -0
- package/build/types/definitionList/DefinitionList.d.ts +24 -0
- package/build/types/definitionList/index.d.ts +1 -0
- package/build/types/dimmer/Dimmer.d.ts +33 -0
- package/build/types/dimmer/Dimmer.story.d.ts +17 -0
- package/build/types/dimmer/dimmerManager/DimmerManager.d.ts +13 -0
- package/build/types/dimmer/dimmerManager/index.d.ts +1 -0
- package/build/types/dimmer/index.d.ts +1 -0
- package/build/types/display/Display.d.ts +10 -0
- package/build/types/display/Display.story.d.ts +7 -0
- package/build/types/display/index.d.ts +1 -0
- package/build/types/drawer/Drawer.d.ts +36 -0
- package/build/types/drawer/index.d.ts +1 -0
- package/build/types/dropFade/DropFade.d.ts +6 -0
- package/build/types/dropFade/DropFade.story.d.ts +10 -0
- package/build/types/dropFade/index.d.ts +1 -0
- package/build/types/dynamicFieldDefinitionList/DynamicFieldDefinitionList.d.ts +21 -0
- package/build/types/dynamicFieldDefinitionList/FormattedValue/FormattedValue.d.ts +11 -0
- package/build/types/dynamicFieldDefinitionList/FormattedValue/index.d.ts +1 -0
- package/build/types/dynamicFieldDefinitionList/index.d.ts +1 -0
- package/build/types/dynamicFieldDefinitionList/utils/createDefinitions.d.ts +1 -0
- package/build/types/dynamicFieldDefinitionList/utils/text-format.d.ts +1 -0
- package/build/types/emphasis/Emphasis.d.ts +6 -0
- package/build/types/emphasis/EmphasisHtmlTransformer.d.ts +16 -0
- package/build/types/emphasis/index.d.ts +1 -0
- package/build/types/flowNavigation/FlowNavigation.d.ts +34 -0
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts +17 -0
- package/build/types/flowNavigation/animatedLabel/index.d.ts +1 -0
- package/build/types/flowNavigation/backButton/BackButton.d.ts +19 -0
- package/build/types/flowNavigation/backButton/index.d.ts +2 -0
- package/build/types/flowNavigation/index.d.ts +1 -0
- package/build/types/header/Header.d.ts +28 -0
- package/build/types/header/Header.spec.d.ts +1 -0
- package/build/types/header/Header.story.d.ts +10 -0
- package/build/types/header/index.d.ts +1 -0
- package/build/types/i18n/index.d.ts +2 -0
- package/build/types/image/Image.d.ts +20 -0
- package/build/types/image/index.d.ts +1 -0
- package/build/types/index.d.ts +112 -0
- package/build/types/info/Info.d.ts +35 -0
- package/build/types/info/index.d.ts +2 -0
- package/build/types/info/infoPresentations.d.ts +4 -0
- package/build/types/inlineAlert/InlineAlert.d.ts +15 -0
- package/build/types/inlineAlert/index.d.ts +1 -0
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts +11 -0
- package/build/types/inputWithDisplayFormat/index.d.ts +1 -0
- package/build/types/inputs/Input.d.ts +13 -0
- package/build/types/inputs/TextArea.d.ts +10 -0
- package/build/types/inputs/_common.d.ts +5 -0
- package/build/types/instructionsList/InstructionsList.d.ts +8 -0
- package/build/types/instructionsList/index.d.ts +2 -0
- package/build/types/link/Link.d.ts +12 -0
- package/build/types/link/Link.spec.d.ts +1 -0
- package/build/types/link/Link.story.d.ts +9 -0
- package/build/types/link/index.d.ts +1 -0
- package/build/types/loader/Loader.d.ts +26 -0
- package/build/types/loader/index.d.ts +2 -0
- package/build/types/logo/Logo.d.ts +23 -0
- package/build/types/logo/index.d.ts +2 -0
- package/build/types/logo/logoTypes.d.ts +4 -0
- package/build/types/markdown/Markdown.d.ts +25 -0
- package/build/types/markdown/index.d.ts +1 -0
- package/build/types/modal/Modal.d.ts +14 -0
- package/build/types/modal/Modal.story.d.ts +10 -0
- package/build/types/modal/index.d.ts +2 -0
- package/build/types/money/Money.d.ts +11 -0
- package/build/types/money/index.d.ts +1 -0
- package/build/types/moneyInput/MoneyInput.d.ts +31 -0
- package/build/types/moneyInput/MoneyInput.messages.d.ts +7 -0
- package/build/types/moneyInput/currencyFormatting.d.ts +3 -0
- package/build/types/moneyInput/index.d.ts +1 -0
- package/build/types/navigationOption/NavigationOption.d.ts +4 -0
- package/build/types/navigationOption/index.d.ts +1 -0
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +10 -0
- package/build/types/navigationOptionsList/index.d.ts +1 -0
- package/build/types/nudge/Nudge.d.ts +20 -0
- package/build/types/nudge/index.d.ts +1 -0
- package/build/types/overlayHeader/OverlayHeader.d.ts +18 -0
- package/build/types/overlayHeader/index.d.ts +1 -0
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +23 -0
- package/build/types/phoneNumberInput/data/countries.d.ts +14 -0
- package/build/types/phoneNumberInput/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts +5 -0
- package/build/types/phoneNumberInput/utils/filterOptionsForQuery/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/index.d.ts +12 -0
- package/build/types/phoneNumberInput/utils/isOptionAndFitsQuery/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/isOptionAndFitsQuery/isOptionAndFitsQuery.d.ts +2 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts +1 -0
- package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts +1 -0
- package/build/types/popover/Popover.d.ts +20 -0
- package/build/types/popover/index.d.ts +1 -0
- package/build/types/processIndicator/ProcessIndicator.d.ts +19 -0
- package/build/types/processIndicator/index.d.ts +2 -0
- package/build/types/progress/Progress.d.ts +11 -0
- package/build/types/progress/index.d.ts +1 -0
- package/build/types/progressBar/ProgressBar.d.ts +14 -0
- package/build/types/progressBar/ProgressBar.story.d.ts +6 -0
- package/build/types/progressBar/index.d.ts +1 -0
- package/build/types/provider/Provider.d.ts +19 -0
- package/build/types/provider/Provider.spec.d.ts +1 -0
- package/build/types/provider/Provider.story.d.ts +19 -0
- package/build/types/provider/direction/DirectionProvider.d.ts +8 -0
- package/build/types/provider/direction/DirectionProvider.spec.d.ts +1 -0
- package/build/types/provider/direction/index.d.ts +1 -0
- package/build/types/provider/index.d.ts +3 -0
- package/build/types/provider/language/LanguageProvider.d.ts +7 -0
- package/build/types/provider/language/LanguageProvider.spec.d.ts +1 -0
- package/build/types/provider/language/index.d.ts +1 -0
- package/build/types/radio/Radio.d.ts +21 -0
- package/build/types/radio/index.d.ts +2 -0
- package/build/types/radioGroup/RadioGroup.d.ts +26 -0
- package/build/types/radioGroup/index.d.ts +1 -0
- package/build/types/radioOption/RadioOption.d.ts +23 -0
- package/build/types/radioOption/index.d.ts +1 -0
- package/build/types/section/Section.d.ts +12 -0
- package/build/types/section/Section.spec.d.ts +1 -0
- package/build/types/section/Section.story.d.ts +15 -0
- package/build/types/section/index.d.ts +1 -0
- package/build/types/select/Select.d.ts +94 -0
- package/build/types/select/Select.messages.d.ts +7 -0
- package/build/types/select/index.d.ts +2 -0
- package/build/types/select/option/Option.d.ts +13 -0
- package/build/types/select/option/index.d.ts +2 -0
- package/build/types/select/searchBox/SearchBox.d.ts +7 -0
- package/build/types/select/searchBox/index.d.ts +1 -0
- package/build/types/sizeSwapper/SizeSwapper.d.ts +2 -0
- package/build/types/sizeSwapper/index.d.ts +1 -0
- package/build/types/slidingPanel/SlidingPanel.d.ts +17 -0
- package/build/types/slidingPanel/index.d.ts +1 -0
- package/build/types/snackbar/Snackbar.d.ts +22 -0
- package/build/types/snackbar/SnackbarContext.d.ts +2 -0
- package/build/types/snackbar/SnackbarProvider.d.ts +12 -0
- package/build/types/snackbar/useSnackbar.d.ts +2 -0
- package/build/types/statusIcon/StatusIcon.d.ts +8 -0
- package/build/types/statusIcon/index.d.ts +1 -0
- package/build/types/stepper/Stepper.d.ts +18 -0
- package/build/types/stepper/deviceDetection.d.ts +1 -0
- package/build/types/stepper/index.d.ts +2 -0
- package/build/types/sticky/Sticky.d.ts +14 -0
- package/build/types/sticky/index.d.ts +1 -0
- package/build/types/summary/Summary.d.ts +71 -0
- package/build/types/summary/Summary.messages.d.ts +19 -0
- package/build/types/summary/index.d.ts +1 -0
- package/build/types/switch/Switch.d.ts +17 -0
- package/build/types/switch/Switch.story.d.ts +15 -0
- package/build/types/switch/index.d.ts +1 -0
- package/build/types/switchOption/SwitchOption.d.ts +17 -0
- package/build/types/switchOption/SwitchOption.story.d.ts +22 -0
- package/build/types/switchOption/index.d.ts +1 -0
- package/build/types/tabs/Tab.d.ts +2 -0
- package/build/types/tabs/TabList.d.ts +9 -0
- package/build/types/tabs/TabPanel.d.ts +15 -0
- package/build/types/tabs/Tabs.d.ts +30 -0
- package/build/types/tabs/index.d.ts +1 -0
- package/build/types/tabs/utils.d.ts +7 -0
- package/build/types/test-utils/GlobalsDecorator.d.ts +4 -0
- package/build/types/test-utils/fake-data.d.ts +5 -0
- package/build/types/test-utils/index.d.ts +103 -0
- package/build/types/test-utils/story-config.d.ts +54 -0
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts +11 -0
- package/build/types/textareaWithDisplayFormat/index.d.ts +1 -0
- package/build/types/tile/Tile.d.ts +38 -0
- package/build/types/tile/index.d.ts +1 -0
- package/build/types/title/Title.d.ts +14 -0
- package/build/types/title/Title.spec.d.ts +1 -0
- package/build/types/title/Title.story.d.ts +8 -0
- package/build/types/title/index.d.ts +1 -0
- package/build/types/tooltip/Tooltip.d.ts +9 -0
- package/build/types/tooltip/Tooltip.spec.d.ts +1 -0
- package/build/types/tooltip/Tooltip.story.d.ts +20 -0
- package/build/types/tooltip/index.d.ts +2 -0
- package/build/types/typeahead/Typeahead.d.ts +57 -0
- package/build/types/typeahead/index.d.ts +2 -0
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts +46 -0
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +18 -0
- package/build/types/typeahead/util/highlight.d.ts +1 -0
- package/build/types/upload/Upload.d.ts +55 -0
- package/build/types/upload/Upload.messages.d.ts +61 -0
- package/build/types/upload/index.d.ts +2 -0
- package/build/types/upload/steps/completeStep/completeStep.d.ts +19 -0
- package/build/types/upload/steps/completeStep/index.d.ts +1 -0
- package/build/types/upload/steps/index.d.ts +4 -0
- package/build/types/upload/steps/mediaUploadStep/index.d.ts +1 -0
- package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +23 -0
- package/build/types/upload/steps/processingStep/index.d.ts +1 -0
- package/build/types/upload/steps/processingStep/processingStep.d.ts +14 -0
- package/build/types/upload/steps/uploadImageStep/index.d.ts +1 -0
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +21 -0
- package/build/types/upload/uploadSteps.d.ts +4 -0
- package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts +1 -0
- package/build/types/upload/utils/asyncFileRead/index.d.ts +1 -0
- package/build/types/upload/utils/getFileType/getFileType.d.ts +1 -0
- package/build/types/upload/utils/getFileType/index.d.ts +1 -0
- package/build/types/upload/utils/getSupportedSpotMimeTypes/getSupportedSpotMimeTypes.d.ts +1 -0
- package/build/types/upload/utils/getSupportedSpotMimeTypes/index.d.ts +1 -0
- package/build/types/upload/utils/index.d.ts +7 -0
- package/build/types/upload/utils/isSizeValid/index.d.ts +1 -0
- package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts +1 -0
- package/build/types/upload/utils/isTypeValid/index.d.ts +1 -0
- package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts +1 -0
- package/build/types/upload/utils/postData/index.d.ts +1 -0
- package/build/types/upload/utils/postData/postData.d.ts +1 -0
- package/build/types/upload/utils/requestMedia/index.d.ts +1 -0
- package/build/types/upload/utils/requestMedia/requestMedia.d.ts +1 -0
- package/build/types/uploadInput/UploadInput.d.ts +75 -0
- package/build/types/uploadInput/UploadInput.messages.d.ts +38 -0
- package/build/types/uploadInput/UploadInput.spec.d.ts +1 -0
- package/build/types/uploadInput/UploadInput.story.d.ts +20 -0
- package/build/types/uploadInput/index.d.ts +1 -0
- package/build/types/uploadInput/types.d.ts +46 -0
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts +53 -0
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts +28 -0
- package/build/types/uploadInput/uploadButton/UploadButton.spec.d.ts +1 -0
- package/build/types/uploadInput/uploadButton/defaults.d.ts +3 -0
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts +3 -0
- package/build/types/uploadInput/uploadButton/getAllowedFileTypes.spec.d.ts +1 -0
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts +24 -0
- package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts +33 -0
- package/build/types/uploadInput/uploadItem/UploadItem.spec.d.ts +1 -0
- package/build/types/uploadInput/uploadItem/UploadItemBody.d.ts +8 -0
- package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts +7 -0
- package/build/types/utilities/deprecatedProperty/index.d.ts +1 -0
- package/build/types/utilities/index.d.ts +2 -0
- package/build/types/utilities/logActionRequired.d.ts +2 -0
- package/build/types/utils.d.ts +1 -0
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +89 -0
- package/build/types/withDisplayFormat/index.d.ts +1 -0
- package/build/types/withNextPortal/withNextPortal.d.ts +2 -0
- package/build/umd/no-polyfill/main.js +1 -0
- package/build/umd/polyfill/main.js +1 -0
- package/package.json +161 -0
- package/scripts/generate-type-declarations.js +79 -0
- package/scripts/neptune-upgrader.js +114 -0
- package/upgrades/2021-02-v34-35.js +193 -0
- package/upgrades/2021-04-v35-36-typescript-support.js +290 -0
- package/upgrades/utils/index.js +17 -0
package/package.json
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@transferwise/components",
|
|
3
|
+
"version": "0.0.0-experimental-463fe0b",
|
|
4
|
+
"description": "Neptune React components",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"main": "./build/umd/polyfill/main.js",
|
|
7
|
+
"module": "./build/es/polyfill/index.js",
|
|
8
|
+
"types": "./build/types/index.d.ts",
|
|
9
|
+
"style": "./build/main.css",
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"*.css"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
"build",
|
|
15
|
+
"scripts",
|
|
16
|
+
"upgrades"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"fullname": "transferwise/neptune",
|
|
21
|
+
"url": "git+https://github.com/transferwise/neptune-web.git"
|
|
22
|
+
},
|
|
23
|
+
"bin": {
|
|
24
|
+
"neptune-upgrade-util": "scripts/neptune-upgrader.js"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@formatjs/cli": "^4.8.3",
|
|
28
|
+
"@rollup/plugin-babel": "^5.2.2",
|
|
29
|
+
"@rollup/plugin-commonjs": "^11.0.2",
|
|
30
|
+
"@rollup/plugin-image": "^3.0.1",
|
|
31
|
+
"@rollup/plugin-json": "^4.0.3",
|
|
32
|
+
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
33
|
+
"@storybook/addon-a11y": "^7.0.6",
|
|
34
|
+
"@storybook/addon-actions": "^7.0.6",
|
|
35
|
+
"@storybook/addon-essentials": "^7.0.6",
|
|
36
|
+
"@storybook/addon-interactions": "^7.0.6",
|
|
37
|
+
"@storybook/addon-knobs": "^7.0.0",
|
|
38
|
+
"@storybook/addon-viewport": "^7.0.6",
|
|
39
|
+
"@storybook/addons": "^7.0.0",
|
|
40
|
+
"@storybook/api": "^7.0.0",
|
|
41
|
+
"@storybook/components": "^7.0.0",
|
|
42
|
+
"@storybook/core-events": "^7.0.0",
|
|
43
|
+
"@storybook/react": "^7.0.6",
|
|
44
|
+
"@storybook/react-webpack5": "^7.0.6",
|
|
45
|
+
"@storybook/testing-library": "^0.1.0",
|
|
46
|
+
"@storybook/theming": "^7.0.0",
|
|
47
|
+
"@testing-library/dom": "^7.21.4",
|
|
48
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
49
|
+
"@testing-library/react": "^12.0.0",
|
|
50
|
+
"@testing-library/react-hooks": "^8.0.0",
|
|
51
|
+
"@testing-library/user-event": "^13.2.1",
|
|
52
|
+
"@transferwise/icons": "^3.2.3",
|
|
53
|
+
"@transferwise/neptune-tokens": "^8.4.0",
|
|
54
|
+
"@types/jest": "^26.0.20",
|
|
55
|
+
"@types/jscodeshift": "^0.11.0",
|
|
56
|
+
"@types/node": "^14.14.31",
|
|
57
|
+
"@types/react-transition-group": "4.4.5",
|
|
58
|
+
"@types/testing-library__jest-dom": "^5.14.5",
|
|
59
|
+
"@wise/art": "^2.0.1",
|
|
60
|
+
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
|
|
61
|
+
"babel-plugin-inline-react-svg": "^2.0.1",
|
|
62
|
+
"enzyme": "^3.11.0",
|
|
63
|
+
"html-loader": "^1.3.2",
|
|
64
|
+
"jest": "^27.0.6",
|
|
65
|
+
"jest-cli": "^27.0.6",
|
|
66
|
+
"jest-fetch-mock": "^3.0.3",
|
|
67
|
+
"lodash.times": "^4.3.2",
|
|
68
|
+
"npm-watch": "^0.11.0",
|
|
69
|
+
"react-intl": "^5.10.0",
|
|
70
|
+
"rollup": "^2.34.0",
|
|
71
|
+
"rollup-plugin-uglify": "^6.0.4",
|
|
72
|
+
"storybook": "^7.0.6",
|
|
73
|
+
"@transferwise/less-config": "3.0.6",
|
|
74
|
+
"@transferwise/neptune-css": "0.0.0-experimental-463fe0b",
|
|
75
|
+
"@wise/components-theming": "0.7.5"
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"@transferwise/icons": "^3.2.3",
|
|
79
|
+
"@transferwise/neptune-css": "0.0.0-experimental-463fe0b",
|
|
80
|
+
"@wise/art": "^2",
|
|
81
|
+
"@wise/components-theming": "0.5 - 0.7",
|
|
82
|
+
"currency-flags": "^4.0.2",
|
|
83
|
+
"prop-types": "^15.7.2",
|
|
84
|
+
"react": ">=16.14",
|
|
85
|
+
"react-dom": ">=16.14",
|
|
86
|
+
"react-intl": "^5.10.0 || ^6"
|
|
87
|
+
},
|
|
88
|
+
"peerDependenciesMeta": {
|
|
89
|
+
"currency-flags": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"prop-types": {
|
|
93
|
+
"optional": true
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"dependencies": {
|
|
97
|
+
"@babel/runtime": "^7.18.3",
|
|
98
|
+
"@formatjs/intl-locale": "^2.4.14",
|
|
99
|
+
"@popperjs/core": "^2.6.0",
|
|
100
|
+
"@react-spring/web": "~9.6.1",
|
|
101
|
+
"@transferwise/formatting": "^2.1.0",
|
|
102
|
+
"@transferwise/neptune-validation": "^3.0.12",
|
|
103
|
+
"classnames": "^2.2.6",
|
|
104
|
+
"commonmark": "0.29.1",
|
|
105
|
+
"core-js": "^3.8.0",
|
|
106
|
+
"inquirer": "^8.1.1",
|
|
107
|
+
"inquirer-file-tree-selection-prompt": "^1.0.7",
|
|
108
|
+
"jscodeshift": "^0.11.0",
|
|
109
|
+
"lodash.clamp": "^4.0.3",
|
|
110
|
+
"lodash.debounce": "^4.0.8",
|
|
111
|
+
"lodash.difference": "^4.5.0",
|
|
112
|
+
"lodash.throttle": "^4.1.1",
|
|
113
|
+
"lodash.topairs": "^4.3.0",
|
|
114
|
+
"react-merge-refs": "^1.1.0",
|
|
115
|
+
"react-popper": "^2.2.4",
|
|
116
|
+
"react-required-if": "^1.0.3",
|
|
117
|
+
"react-transition-group": "^4.4.2"
|
|
118
|
+
},
|
|
119
|
+
"watch": {
|
|
120
|
+
"build:crowdin-source-file": "src/**/*.messages.js"
|
|
121
|
+
},
|
|
122
|
+
"resolutions": {
|
|
123
|
+
"**/remark-parse/trim": "0.0.3",
|
|
124
|
+
"**/chokidar/glob-parent": "5.1.2",
|
|
125
|
+
"**/fast-glob/glob-parent": "5.1.2"
|
|
126
|
+
},
|
|
127
|
+
"publishConfig": {
|
|
128
|
+
"access": "public"
|
|
129
|
+
},
|
|
130
|
+
"scripts": {
|
|
131
|
+
"dev": "npm-run-all --parallel dev:*",
|
|
132
|
+
"dev:watch-less": "gulp watchLess --dest=src",
|
|
133
|
+
"dev:translations": "npx npm-watch",
|
|
134
|
+
"sb:dev": "storybook dev -p 3001",
|
|
135
|
+
"sb:build": "storybook build",
|
|
136
|
+
"build-css": "gulp compileLess --dest=src",
|
|
137
|
+
"build": "npm-run-all build:*",
|
|
138
|
+
"build:clean": "rm -rf lib build",
|
|
139
|
+
"build:crowdin-source-file": "formatjs extract 'src/**/*.messages.+(js|ts|tsx)' --out-file src/i18n/en.json --format simple && prettier --find-config-path --write src/i18n/*.json",
|
|
140
|
+
"build:es": "NODE_ENV=es babel src --extensions '.tsx,.js,.ts' -d build/es/polyfill --ignore '**/*.spec.js','**/*.story.js','**/__mocks__','**/test-utils'",
|
|
141
|
+
"build:es-nopolyfill": "NODE_ENV=es-nopolyfill babel src --extensions '.tsx,.js,.ts' -d build/es/no-polyfill --ignore '**/*.spec.js','**/*.story.js','**/__mocks__','**/test-utils'",
|
|
142
|
+
"build:umd": "NODE_ENV=umd rollup -c",
|
|
143
|
+
"build:umd-nopolyfill": "NODE_ENV=umd-nopolyfill rollup -c",
|
|
144
|
+
"build:generate-types": "tsc && node ./scripts/generate-type-declarations.js",
|
|
145
|
+
"build:copy-files": "cpx 'src/**/!(db)/*.{json,svg}' build/es/polyfill & cpx 'src/**/!(db)/*.{json,svg}' build/es/no-polyfill",
|
|
146
|
+
"build:copy-css": "cpx 'src/main.css' build/ & cpx 'src/**/*.css' build/styles/",
|
|
147
|
+
"build:copy-lang": "cpx 'src/i18n/*.json' build/i18n && cpx 'src/i18n/index.js' build/i18n",
|
|
148
|
+
"docs": "pnpm build",
|
|
149
|
+
"test": "jest --env=jsdom --maxWorkers=4",
|
|
150
|
+
"test:watch": "jest --watch --env=jsdom",
|
|
151
|
+
"test:visual": "build-storybook && percy storybook ./storybook-static",
|
|
152
|
+
"lint": "pnpm run lint:check",
|
|
153
|
+
"lint:check": "npm-run-all --parallel lint:check:*",
|
|
154
|
+
"lint:check:format": "prettier --check --ignore-path ../../.prettierignore . || echo \"Prettier failed. Remove this to make this a failure\"",
|
|
155
|
+
"lint:check:js+ts": "eslint --ext .js,.jsx,.mjs,.ts,.tsx,.mts --ignore-path ../../.gitignore .",
|
|
156
|
+
"lint:check:types": "tsc --noEmit --emitDeclarationOnly false",
|
|
157
|
+
"lint:fix": "npm-run-all --serial lint:fix:*",
|
|
158
|
+
"lint:fix:format": "prettier --write --ignore-path ../../.prettierignore .",
|
|
159
|
+
"lint:fix:js+ts": "pnpm run lint:check:js+ts --fix"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
|
|
3
|
+
const { generateFromFile } = require('react-to-typescript-definitions');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* dir where we would place generated `.d.ts` files
|
|
7
|
+
* (same folder as we specifing in `tsconfig.json` via `declarationDir`)
|
|
8
|
+
*/
|
|
9
|
+
const typesDistFolder = 'build/types';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* list of JS files that uses prop-types (basically React components)
|
|
13
|
+
* and that are exposed from `@transferwise/components` library
|
|
14
|
+
*/
|
|
15
|
+
const jsFiles = [
|
|
16
|
+
{ filename: 'Provider', folder: 'provider' },
|
|
17
|
+
{ filename: 'Checkbox', folder: 'checkbox' },
|
|
18
|
+
{ filename: 'Radio', folder: 'radio' },
|
|
19
|
+
{ filename: 'Select', folder: 'select' },
|
|
20
|
+
{ filename: 'MoneyInput', folder: 'moneyInput' },
|
|
21
|
+
{ filename: 'Stepper', folder: 'stepper' },
|
|
22
|
+
{ filename: 'FlowNavigation', folder: 'flowNavigation' },
|
|
23
|
+
{ filename: 'Popover', folder: 'popover' },
|
|
24
|
+
{ filename: 'Money', folder: 'money' },
|
|
25
|
+
{ filename: 'RadioOption', folder: 'radioOption' },
|
|
26
|
+
{ filename: 'NavigationOptionsList', folder: 'navigationOptionsList' },
|
|
27
|
+
{ filename: 'DateLookup', folder: 'dateLookup' },
|
|
28
|
+
{ filename: 'PhoneNumberInput', folder: 'phoneNumberInput' },
|
|
29
|
+
{ filename: 'DateInput', folder: 'dateInput' },
|
|
30
|
+
{ filename: 'ProcessIndicator', folder: 'processIndicator' },
|
|
31
|
+
{ filename: 'Upload', folder: 'upload' },
|
|
32
|
+
{ filename: 'DefinitionList', folder: 'definitionList' },
|
|
33
|
+
{ filename: 'DynamicFieldDefinitionList', folder: 'dynamicFieldDefinitionList' },
|
|
34
|
+
{ filename: 'Avatar', folder: 'avatar' },
|
|
35
|
+
{ filename: 'CircularButton', folder: 'circularButton' },
|
|
36
|
+
{ filename: 'Info', folder: 'info' },
|
|
37
|
+
{ filename: 'RadioGroup', folder: 'radioGroup' },
|
|
38
|
+
{ filename: 'Alert', folder: 'alert' },
|
|
39
|
+
{ filename: 'InputWithDisplayFormat', folder: 'inputWithDisplayFormat' },
|
|
40
|
+
{ filename: 'TextareaWithDisplayFormat', folder: 'textareaWithDisplayFormat' },
|
|
41
|
+
{ filename: 'Chevron', folder: 'chevron' },
|
|
42
|
+
{ filename: 'Accordion', folder: 'accordion' },
|
|
43
|
+
{ filename: 'SlidingPanel', folder: 'slidingPanel' },
|
|
44
|
+
{ filename: 'Drawer', folder: 'drawer' },
|
|
45
|
+
{ filename: 'Sticky', folder: 'sticky' },
|
|
46
|
+
{ filename: 'Typeahead', folder: 'typeahead' },
|
|
47
|
+
{ filename: 'Snackbar', folder: 'snackbar' },
|
|
48
|
+
{ filename: 'SnackbarProvider', folder: 'snackbar' },
|
|
49
|
+
{ filename: 'Tabs', folder: 'tabs' },
|
|
50
|
+
{ filename: 'OverlayHeader', folder: 'overlayHeader' },
|
|
51
|
+
{ filename: 'Image', folder: 'image' },
|
|
52
|
+
{ filename: 'Markdown', folder: 'markdown' },
|
|
53
|
+
{ filename: 'Card', folder: 'card' },
|
|
54
|
+
{ filename: 'Summary', folder: 'summary' },
|
|
55
|
+
{ filename: 'Decision', folder: 'decision' },
|
|
56
|
+
{ filename: 'Nudge', folder: 'nudge' },
|
|
57
|
+
{ filename: 'InlineAlert', folder: 'inlineAlert' },
|
|
58
|
+
{ filename: 'AvatarWrapper', folder: 'avatarWrapper' },
|
|
59
|
+
{ filename: 'Logo', folder: 'logo' },
|
|
60
|
+
];
|
|
61
|
+
|
|
62
|
+
jsFiles.forEach(({ filename, folder }) => {
|
|
63
|
+
const filePath = `${folder}/${filename}`;
|
|
64
|
+
|
|
65
|
+
// generate types declration content
|
|
66
|
+
let fileTypeDeclrationContent = null;
|
|
67
|
+
try {
|
|
68
|
+
fileTypeDeclrationContent = generateFromFile(null, `src/${filePath}.js`, {
|
|
69
|
+
babylonPlugins: ['optionalChaining', 'nullishCoalescingOperator'],
|
|
70
|
+
});
|
|
71
|
+
} catch (error) {
|
|
72
|
+
/* eslint-disable no-console */
|
|
73
|
+
console.log(`Error while generating types for '${filePath}'`);
|
|
74
|
+
throw error;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// write content into .d.ts files
|
|
78
|
+
fs.writeFileSync(`${typesDistFolder}/${filePath}.d.ts`, fileTypeDeclrationContent);
|
|
79
|
+
});
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/* eslint-disable no-console */
|
|
3
|
+
|
|
4
|
+
const { exec } = require('child_process');
|
|
5
|
+
const path = require('path');
|
|
6
|
+
|
|
7
|
+
const inquirer = require('inquirer');
|
|
8
|
+
const inquirerFileTreeSelection = require('inquirer-file-tree-selection-prompt');
|
|
9
|
+
|
|
10
|
+
inquirer.registerPrompt('file-tree-selection', inquirerFileTreeSelection);
|
|
11
|
+
|
|
12
|
+
const IGNORE_PATTERN = '**/node_modules/*';
|
|
13
|
+
const EXTENSIONS = {
|
|
14
|
+
JS: 'js & jsx',
|
|
15
|
+
TSX: 'tsx',
|
|
16
|
+
BOTH: 'js,jsx & tsx',
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const fetchSettings = () => {
|
|
20
|
+
const questions = [
|
|
21
|
+
{
|
|
22
|
+
name: 'transform',
|
|
23
|
+
type: 'file-tree-selection',
|
|
24
|
+
root: path.join(__dirname, '../upgrades'),
|
|
25
|
+
message: '✨ Which upgrade would you like to run?',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'list',
|
|
29
|
+
name: 'extension',
|
|
30
|
+
message: '✨ What file extensions should I look at?',
|
|
31
|
+
choices: Object.values(EXTENSIONS),
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'files',
|
|
35
|
+
type: 'file-tree-selection',
|
|
36
|
+
onlyShowDir: true,
|
|
37
|
+
root: process.cwd(),
|
|
38
|
+
message: '✨ And what directory would you like to transform?',
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
return inquirer.prompt(questions);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const fetchOptions = () => {
|
|
45
|
+
const questions = [
|
|
46
|
+
{
|
|
47
|
+
name: 'dry',
|
|
48
|
+
type: 'confirm',
|
|
49
|
+
message: '✨ Dry run? (no changes are made to files)',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'verbose',
|
|
53
|
+
type: 'confirm',
|
|
54
|
+
message: '✨ Extra logging?',
|
|
55
|
+
default: false,
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
return inquirer.prompt(questions);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const okToProceed = () => {
|
|
62
|
+
const questions = [
|
|
63
|
+
{
|
|
64
|
+
name: 'confirm',
|
|
65
|
+
type: 'confirm',
|
|
66
|
+
message: 'Does everything look ok?',
|
|
67
|
+
},
|
|
68
|
+
];
|
|
69
|
+
return inquirer.prompt(questions);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const run = async () => {
|
|
73
|
+
const { transform, extension, files } = await fetchSettings();
|
|
74
|
+
const { dry, verbose } = await fetchOptions();
|
|
75
|
+
|
|
76
|
+
console.log(`✨ Please review the following:`);
|
|
77
|
+
console.log(`✨ Upgrade script: ${transform}`);
|
|
78
|
+
console.log(`✨ File extension(s): ${extension}`);
|
|
79
|
+
console.log(`✨ Directory: ${files}`);
|
|
80
|
+
console.log(`✨ Dry run: ${dry}`);
|
|
81
|
+
|
|
82
|
+
const { confirm } = await okToProceed();
|
|
83
|
+
|
|
84
|
+
const options = `${dry ? '-d' : ''} ${verbose ? '-v=2' : ''}`;
|
|
85
|
+
|
|
86
|
+
const handleOutput = (error, stdout, stderr) => {
|
|
87
|
+
if (error) {
|
|
88
|
+
console.log(stderr);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
console.log(stdout);
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
const codeshiftPath = path.join(__dirname, '../node_modules/.bin/jscodeshift');
|
|
95
|
+
|
|
96
|
+
const coreCommand = `${codeshiftPath} ${files} -t=${transform} ${options}`;
|
|
97
|
+
|
|
98
|
+
if (confirm) {
|
|
99
|
+
console.log('🚀 Running codemod, please wait a few seconds...');
|
|
100
|
+
if (extension === EXTENSIONS.BOTH || extension === EXTENSIONS.JS) {
|
|
101
|
+
exec(`${coreCommand} --extensions=js,jsx --ignore-pattern='${IGNORE_PATTERN}'`, handleOutput);
|
|
102
|
+
}
|
|
103
|
+
if (extension === EXTENSIONS.BOTH || extension === EXTENSIONS.TSX) {
|
|
104
|
+
exec(
|
|
105
|
+
`${coreCommand} --parser=tsx --extensions=tsx --ignore-pattern='${IGNORE_PATTERN}'`,
|
|
106
|
+
handleOutput,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
console.log('👋 Exiting');
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
run();
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { log } from './utils';
|
|
2
|
+
|
|
3
|
+
const TYPE_REPLACEMENTS = {
|
|
4
|
+
primary: 'Button.Type.ACCENT',
|
|
5
|
+
secondary: 'Button.Type.ACCENT',
|
|
6
|
+
link: 'Button.Type.ACCENT',
|
|
7
|
+
danger: 'Button.Type.NEGATIVE',
|
|
8
|
+
pay: 'Button.Type.POSITIVE',
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const PRIORITY_ADDITIONS = {
|
|
12
|
+
secondary: 'Button.Priority.SECONDARY',
|
|
13
|
+
link: 'Button.Priority.TERTIARY',
|
|
14
|
+
danger: 'Button.Priority.SECONDARY',
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const transform = (file, api, options) => {
|
|
18
|
+
const printOptions = options.printOptions || {
|
|
19
|
+
quote: 'single',
|
|
20
|
+
trailingComma: true,
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const j = api.jscodeshift;
|
|
24
|
+
const root = j(file.source);
|
|
25
|
+
|
|
26
|
+
log('All aboard the transformation train 🚂', 2);
|
|
27
|
+
log(
|
|
28
|
+
'Upgrading instances of Button from @transferwise/components. Please refer to components/upgrades/2021-02-v34-35.js for details.',
|
|
29
|
+
1,
|
|
30
|
+
);
|
|
31
|
+
log(`Using the ${options.parser} parser.`, 2);
|
|
32
|
+
|
|
33
|
+
const literalType = options.parser === 'tsx' ? 'StringLiteral' : 'Literal';
|
|
34
|
+
|
|
35
|
+
// First, ensure they are importing Button from our package
|
|
36
|
+
const buttonImports = root
|
|
37
|
+
.find(j.ImportDeclaration, {
|
|
38
|
+
source: {
|
|
39
|
+
type: literalType,
|
|
40
|
+
value: '@transferwise/components',
|
|
41
|
+
},
|
|
42
|
+
})
|
|
43
|
+
.find(j.Identifier, {
|
|
44
|
+
name: 'Button',
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
if (buttonImports.size() === 0) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
log('Found import of Button from @transferwise/components, continuing 🛤', 1);
|
|
52
|
+
|
|
53
|
+
const buttons = root.findJSXElements('Button');
|
|
54
|
+
|
|
55
|
+
log('Adding priorities for literal types', 2);
|
|
56
|
+
|
|
57
|
+
// Add in priorities for literal types such as <Button type="secondary"/> => <Button type="secondary" priority={Button.Priority.SECONDARY} />
|
|
58
|
+
buttons
|
|
59
|
+
.find(j.JSXAttribute, {
|
|
60
|
+
name: {
|
|
61
|
+
type: 'JSXIdentifier',
|
|
62
|
+
name: 'type',
|
|
63
|
+
},
|
|
64
|
+
value: {
|
|
65
|
+
type: 'Literal',
|
|
66
|
+
},
|
|
67
|
+
})
|
|
68
|
+
.replaceWith((nodePath) => {
|
|
69
|
+
const priority = PRIORITY_ADDITIONS[nodePath.value.value.value]; // 😅
|
|
70
|
+
|
|
71
|
+
if (!priority) {
|
|
72
|
+
return nodePath.value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return [
|
|
76
|
+
nodePath.value,
|
|
77
|
+
j.jsxAttribute(
|
|
78
|
+
j.jsxIdentifier('priority'),
|
|
79
|
+
j.jsxExpressionContainer(j.identifier(priority)),
|
|
80
|
+
),
|
|
81
|
+
];
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
log('Adding priorities for expressive types', 2);
|
|
85
|
+
|
|
86
|
+
// Add in priorities for expressive types such as <Button type={Button.Type.SECONDARY}/> => <Button type={Button.Type.SECONDARY} priority={Button.Priority.SECONDARY} />
|
|
87
|
+
buttons
|
|
88
|
+
.find(j.JSXAttribute, {
|
|
89
|
+
name: {
|
|
90
|
+
type: 'JSXIdentifier',
|
|
91
|
+
name: 'type',
|
|
92
|
+
},
|
|
93
|
+
value: {
|
|
94
|
+
type: 'JSXExpressionContainer',
|
|
95
|
+
expression: {
|
|
96
|
+
type: 'MemberExpression',
|
|
97
|
+
object: {
|
|
98
|
+
type: 'MemberExpression',
|
|
99
|
+
object: {
|
|
100
|
+
name: 'Button',
|
|
101
|
+
type: 'Identifier',
|
|
102
|
+
},
|
|
103
|
+
property: {
|
|
104
|
+
name: 'Type',
|
|
105
|
+
type: 'Identifier',
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
})
|
|
111
|
+
.replaceWith((nodePath) => {
|
|
112
|
+
const type = nodePath.value.value.expression.property.name;
|
|
113
|
+
|
|
114
|
+
const priority = PRIORITY_ADDITIONS[type.toLowerCase()];
|
|
115
|
+
|
|
116
|
+
if (!priority) {
|
|
117
|
+
return nodePath.value;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return [
|
|
121
|
+
nodePath.value,
|
|
122
|
+
j.jsxAttribute(
|
|
123
|
+
j.jsxIdentifier('priority'),
|
|
124
|
+
j.jsxExpressionContainer(j.identifier(priority)),
|
|
125
|
+
),
|
|
126
|
+
];
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
log('Replacing deprecated literal types', 2);
|
|
130
|
+
|
|
131
|
+
// Replace literal types such as <Button type="primary"/> => <Button type={Button.Type.ACCENT} />
|
|
132
|
+
buttons
|
|
133
|
+
.find(j.JSXAttribute, {
|
|
134
|
+
name: {
|
|
135
|
+
type: 'JSXIdentifier',
|
|
136
|
+
name: 'type',
|
|
137
|
+
},
|
|
138
|
+
value: {
|
|
139
|
+
type: 'Literal',
|
|
140
|
+
},
|
|
141
|
+
})
|
|
142
|
+
.find(j.Literal)
|
|
143
|
+
.replaceWith((nodePath) => {
|
|
144
|
+
const type = TYPE_REPLACEMENTS[nodePath.value.value];
|
|
145
|
+
|
|
146
|
+
if (!type) {
|
|
147
|
+
return nodePath.value;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return j.jsxExpressionContainer(j.identifier(type));
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
log('Replacing deprecated expressive types', 2);
|
|
154
|
+
|
|
155
|
+
// Replace expressive types such as <Button type={Button.Type.PRIMARY}/> => <Button type={Button.Type.ACCENT} />
|
|
156
|
+
buttons
|
|
157
|
+
.find(j.JSXAttribute, {
|
|
158
|
+
name: {
|
|
159
|
+
type: 'JSXIdentifier',
|
|
160
|
+
name: 'type',
|
|
161
|
+
},
|
|
162
|
+
value: {
|
|
163
|
+
type: 'JSXExpressionContainer',
|
|
164
|
+
},
|
|
165
|
+
})
|
|
166
|
+
.find(j.MemberExpression, {
|
|
167
|
+
object: {
|
|
168
|
+
type: 'MemberExpression',
|
|
169
|
+
object: {
|
|
170
|
+
name: 'Button',
|
|
171
|
+
type: 'Identifier',
|
|
172
|
+
},
|
|
173
|
+
property: {
|
|
174
|
+
name: 'Type',
|
|
175
|
+
type: 'Identifier',
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
})
|
|
179
|
+
.replaceWith((node) => {
|
|
180
|
+
const type = node.value.property.name.toLowerCase();
|
|
181
|
+
|
|
182
|
+
if (!TYPE_REPLACEMENTS[type]) {
|
|
183
|
+
return node.value;
|
|
184
|
+
}
|
|
185
|
+
return j.jsxIdentifier(TYPE_REPLACEMENTS[type]);
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
log('Transformation complete, printing to source.', 1);
|
|
189
|
+
|
|
190
|
+
return root.toSource(printOptions);
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export default transform;
|