@cerebruminc/cerebellum 13.6.2 → 13.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/AddButton-DyK-a7n4.js +25 -0
- package/lib/cjs/AddButton-DyK-a7n4.js.map +1 -0
- package/lib/cjs/AddButton.cjs +5 -7
- package/lib/cjs/AddButton.cjs.map +1 -1
- package/lib/cjs/AddMenu-M4Ajt8eK.js +52 -0
- package/lib/cjs/AddMenu-M4Ajt8eK.js.map +1 -0
- package/lib/cjs/AddMenu.cjs +23 -25
- package/lib/cjs/AddMenu.cjs.map +1 -1
- package/lib/cjs/AddressInput-ByNmJVXo.js +2227 -0
- package/lib/cjs/AddressInput-ByNmJVXo.js.map +1 -0
- package/lib/cjs/AddressInput.cjs +11 -13
- package/lib/cjs/AddressInput.cjs.map +1 -1
- package/lib/cjs/AlertCount-1SLZD_Q9.js +65 -0
- package/lib/cjs/AlertCount-1SLZD_Q9.js.map +1 -0
- package/lib/cjs/AlertCount.cjs +2 -4
- package/lib/cjs/AlertCount.cjs.map +1 -1
- package/lib/cjs/AltIdBack.cjs +8 -10
- package/lib/cjs/AltIdBack.cjs.map +1 -1
- package/lib/cjs/AltIdFront.cjs +8 -10
- package/lib/cjs/AltIdFront.cjs.map +1 -1
- package/lib/cjs/Arrow.cjs +8 -10
- package/lib/cjs/Arrow.cjs.map +1 -1
- package/lib/cjs/ArrowLong.cjs +8 -10
- package/lib/cjs/ArrowLong.cjs.map +1 -1
- package/lib/cjs/ArrowUp.cjs +8 -10
- package/lib/cjs/ArrowUp.cjs.map +1 -1
- package/lib/cjs/Assign.cjs +8 -10
- package/lib/cjs/Assign.cjs.map +1 -1
- package/lib/cjs/Attachment.cjs +8 -10
- package/lib/cjs/Attachment.cjs.map +1 -1
- package/lib/cjs/Avatar-BKFQ9CRV.js +59 -0
- package/lib/cjs/Avatar-BKFQ9CRV.js.map +1 -0
- package/lib/cjs/Avatar.cjs +2 -4
- package/lib/cjs/Avatar.cjs.map +1 -1
- package/lib/cjs/BackgroundCheck.cjs +8 -10
- package/lib/cjs/BackgroundCheck.cjs.map +1 -1
- package/lib/cjs/BellOutline.cjs +8 -10
- package/lib/cjs/BellOutline.cjs.map +1 -1
- package/lib/cjs/BodyLEmphasis.cjs +225 -227
- package/lib/cjs/BodyLEmphasis.cjs.map +1 -1
- package/lib/cjs/BodyLPrimary.cjs +1 -3
- package/lib/cjs/BodyLPrimary.cjs.map +1 -1
- package/lib/cjs/BodyLSecondary.cjs +1 -3
- package/lib/cjs/BodyLSecondary.cjs.map +1 -1
- package/lib/cjs/BodyMEmphasis.cjs +1 -3
- package/lib/cjs/BodyMEmphasis.cjs.map +1 -1
- package/lib/cjs/BodyMPrimary.cjs +1 -3
- package/lib/cjs/BodyMPrimary.cjs.map +1 -1
- package/lib/cjs/BodyMSecondary.cjs +1 -3
- package/lib/cjs/BodyMSecondary.cjs.map +1 -1
- package/lib/cjs/BodyMSemiBold.cjs +1 -3
- package/lib/cjs/BodyMSemiBold.cjs.map +1 -1
- package/lib/cjs/BodySEmphasis.cjs +1 -3
- package/lib/cjs/BodySEmphasis.cjs.map +1 -1
- package/lib/cjs/BodySPlaceholder.cjs +1 -3
- package/lib/cjs/BodySPlaceholder.cjs.map +1 -1
- package/lib/cjs/BodySPrimary.cjs +1 -3
- package/lib/cjs/BodySPrimary.cjs.map +1 -1
- package/lib/cjs/BodySSecondary.cjs +1 -3
- package/lib/cjs/BodySSecondary.cjs.map +1 -1
- package/lib/cjs/BodySSemiBold.cjs +1 -3
- package/lib/cjs/BodySSemiBold.cjs.map +1 -1
- package/lib/cjs/BodySTertiary.cjs +1 -3
- package/lib/cjs/BodySTertiary.cjs.map +1 -1
- package/lib/cjs/BodyXSEmphasis.cjs +1 -3
- package/lib/cjs/BodyXSEmphasis.cjs.map +1 -1
- package/lib/cjs/BodyXSPrimary.cjs +1 -3
- package/lib/cjs/BodyXSPrimary.cjs.map +1 -1
- package/lib/cjs/BodyXSSemiBold.cjs +1 -3
- package/lib/cjs/BodyXSSemiBold.cjs.map +1 -1
- package/lib/cjs/BodyXXSEmphasis.cjs +1 -3
- package/lib/cjs/BodyXXSEmphasis.cjs.map +1 -1
- package/lib/cjs/BodyXXSPrimary.cjs +1 -3
- package/lib/cjs/BodyXXSPrimary.cjs.map +1 -1
- package/lib/cjs/BodyXXSSecondary.cjs +1 -3
- package/lib/cjs/BodyXXSSecondary.cjs.map +1 -1
- package/lib/cjs/BoxedButton.cjs +6 -8
- package/lib/cjs/BoxedButton.cjs.map +1 -1
- package/lib/cjs/BoxedOutlineButton.cjs +6 -8
- package/lib/cjs/BoxedOutlineButton.cjs.map +1 -1
- package/lib/cjs/Button.cjs +268 -270
- package/lib/cjs/Button.cjs.map +1 -1
- package/lib/cjs/ButtonColorFamilyEnum.cjs +175 -176
- package/lib/cjs/ButtonColorFamilyEnum.cjs.map +1 -1
- package/lib/cjs/ButtonVariantEnum.cjs +8 -10
- package/lib/cjs/ButtonVariantEnum.cjs.map +1 -1
- package/lib/cjs/Calendar.cjs +8 -10
- package/lib/cjs/Calendar.cjs.map +1 -1
- package/lib/cjs/CaretDown.cjs +8 -10
- package/lib/cjs/CaretDown.cjs.map +1 -1
- package/lib/cjs/CaretLeft.cjs +8 -10
- package/lib/cjs/CaretLeft.cjs.map +1 -1
- package/lib/cjs/CaretRight.cjs +8 -10
- package/lib/cjs/CaretRight.cjs.map +1 -1
- package/lib/cjs/CaretUp.cjs +8 -10
- package/lib/cjs/CaretUp.cjs.map +1 -1
- package/lib/cjs/Cart.cjs +8 -10
- package/lib/cjs/Cart.cjs.map +1 -1
- package/lib/cjs/ChatBubbleLines.cjs +8 -10
- package/lib/cjs/ChatBubbleLines.cjs.map +1 -1
- package/lib/cjs/Check.cjs +8 -10
- package/lib/cjs/Check.cjs.map +1 -1
- package/lib/cjs/Checkbox-GaTqCUza.js +20 -0
- package/lib/cjs/Checkbox-GaTqCUza.js.map +1 -0
- package/lib/cjs/Checkbox.cjs +5 -7
- package/lib/cjs/Checkbox.cjs.map +1 -1
- package/lib/cjs/CheckboxCellWrapper.cjs +35 -37
- package/lib/cjs/CheckboxCellWrapper.cjs.map +1 -1
- package/lib/cjs/CheckboxEmpty.cjs +8 -10
- package/lib/cjs/CheckboxEmpty.cjs.map +1 -1
- package/lib/cjs/CheckboxFull.cjs +8 -10
- package/lib/cjs/CheckboxFull.cjs.map +1 -1
- package/lib/cjs/CheckboxGroup-CCwBqsry.js +41 -0
- package/lib/cjs/CheckboxGroup-CCwBqsry.js.map +1 -0
- package/lib/cjs/CheckboxGroup.cjs +11 -13
- package/lib/cjs/CheckboxGroup.cjs.map +1 -1
- package/lib/cjs/CheckboxItem-ouoi8dS5.js +52 -0
- package/lib/cjs/CheckboxItem-ouoi8dS5.js.map +1 -0
- package/lib/cjs/CheckboxItem.cjs +10 -12
- package/lib/cjs/CheckboxItem.cjs.map +1 -1
- package/lib/cjs/CheckboxStyles-B6boW0mF.js +42 -0
- package/lib/cjs/CheckboxStyles-B6boW0mF.js.map +1 -0
- package/lib/cjs/CheckedOff.cjs +8 -10
- package/lib/cjs/CheckedOff.cjs.map +1 -1
- package/lib/cjs/CheckmarkCircle.cjs +8 -10
- package/lib/cjs/CheckmarkCircle.cjs.map +1 -1
- package/lib/cjs/Clear.cjs +8 -10
- package/lib/cjs/Clear.cjs.map +1 -1
- package/lib/cjs/ClearableTag-CFY6i4CR.js +95 -0
- package/lib/cjs/ClearableTag-CFY6i4CR.js.map +1 -0
- package/lib/cjs/ClearableTag.cjs +7 -9
- package/lib/cjs/ClearableTag.cjs.map +1 -1
- package/lib/cjs/ClickOutHandler-B7H3qqXy.js +29 -0
- package/lib/cjs/ClickOutHandler-B7H3qqXy.js.map +1 -0
- package/lib/cjs/ClickOutHandler.cjs +2 -4
- package/lib/cjs/ClickOutHandler.cjs.map +1 -1
- package/lib/cjs/Clipboard.cjs +4 -6
- package/lib/cjs/Clipboard.cjs.map +1 -1
- package/lib/cjs/Close-Cj9_bp9v.js +16 -0
- package/lib/cjs/Close-Cj9_bp9v.js.map +1 -0
- package/lib/cjs/Close.cjs +4 -6
- package/lib/cjs/Close.cjs.map +1 -1
- package/lib/cjs/CloseCircle.cjs +8 -10
- package/lib/cjs/CloseCircle.cjs.map +1 -1
- package/lib/cjs/Code.cjs +8 -10
- package/lib/cjs/Code.cjs.map +1 -1
- package/lib/cjs/CodeDoc.cjs +8 -10
- package/lib/cjs/CodeDoc.cjs.map +1 -1
- package/lib/cjs/ColorButton-yo0_vR4u.js +65 -0
- package/lib/cjs/ColorButton-yo0_vR4u.js.map +1 -0
- package/lib/cjs/ColorButton.cjs +2 -4
- package/lib/cjs/ColorButton.cjs.map +1 -1
- package/lib/cjs/ColorDotDropdown-B2ydxdRM.js +46 -0
- package/lib/cjs/ColorDotDropdown-B2ydxdRM.js.map +1 -0
- package/lib/cjs/ColorDotDropdown.cjs +29 -31
- package/lib/cjs/ColorDotDropdown.cjs.map +1 -1
- package/lib/cjs/ColorPicker-Bj3iVq2f.js +53 -0
- package/lib/cjs/ColorPicker-Bj3iVq2f.js.map +1 -0
- package/lib/cjs/ColorPicker.cjs +10 -12
- package/lib/cjs/ColorPicker.cjs.map +1 -1
- package/lib/cjs/ColorPickerMenu-QcEQFWaZ.js +52 -0
- package/lib/cjs/ColorPickerMenu-QcEQFWaZ.js.map +1 -0
- package/lib/cjs/ColorPickerMenu.cjs +5 -7
- package/lib/cjs/ColorPickerMenu.cjs.map +1 -1
- package/lib/cjs/Communication.cjs +8 -10
- package/lib/cjs/Communication.cjs.map +1 -1
- package/lib/cjs/ConfigurableInput-DAIxNF8Q.js +77 -0
- package/lib/cjs/ConfigurableInput-DAIxNF8Q.js.map +1 -0
- package/lib/cjs/ConfigurableInput.cjs +17 -19
- package/lib/cjs/ConfigurableInput.cjs.map +1 -1
- package/lib/cjs/Configure.cjs +8 -10
- package/lib/cjs/Configure.cjs.map +1 -1
- package/lib/cjs/ConfirmModal-BWp0dFpK.js +79 -0
- package/lib/cjs/ConfirmModal-BWp0dFpK.js.map +1 -0
- package/lib/cjs/ConfirmModal.cjs +7 -9
- package/lib/cjs/ConfirmModal.cjs.map +1 -1
- package/lib/cjs/ConnotationColorEnum.cjs +9 -11
- package/lib/cjs/ConnotationColorEnum.cjs.map +1 -1
- package/lib/cjs/Contact.cjs +8 -10
- package/lib/cjs/Contact.cjs.map +1 -1
- package/lib/cjs/CountryDropdown-BZDWGWri.js +1646 -0
- package/lib/cjs/CountryDropdown-BZDWGWri.js.map +1 -0
- package/lib/cjs/CountryDropdown.cjs +29 -31
- package/lib/cjs/CountryDropdown.cjs.map +1 -1
- package/lib/cjs/CountryMaskEnum.cjs +9 -11
- package/lib/cjs/CountryMaskEnum.cjs.map +1 -1
- package/lib/cjs/CountyDropdown-Dklb-h1r.js +14 -0
- package/lib/cjs/CountyDropdown-Dklb-h1r.js.map +1 -0
- package/lib/cjs/CountyDropdown.cjs +29 -31
- package/lib/cjs/CountyDropdown.cjs.map +1 -1
- package/lib/cjs/CovidTest.cjs +8 -10
- package/lib/cjs/CovidTest.cjs.map +1 -1
- package/lib/cjs/CovidVaccineCard.cjs +8 -10
- package/lib/cjs/CovidVaccineCard.cjs.map +1 -1
- package/lib/cjs/CreditCard.cjs +8 -10
- package/lib/cjs/CreditCard.cjs.map +1 -1
- package/lib/cjs/CreditCardInput-DzVwizZh.js +36 -0
- package/lib/cjs/CreditCardInput-DzVwizZh.js.map +1 -0
- package/lib/cjs/CreditCardInput.cjs +11 -13
- package/lib/cjs/CreditCardInput.cjs.map +1 -1
- package/lib/cjs/CsvDoc.cjs +8 -10
- package/lib/cjs/CsvDoc.cjs.map +1 -1
- package/lib/cjs/CurrencyInput-BUgtVMR4.js +35 -0
- package/lib/cjs/CurrencyInput-BUgtVMR4.js.map +1 -0
- package/lib/cjs/CurrencyInput.cjs +11 -13
- package/lib/cjs/CurrencyInput.cjs.map +1 -1
- package/lib/cjs/Dashboard.cjs +8 -10
- package/lib/cjs/Dashboard.cjs.map +1 -1
- package/lib/cjs/DatePicker.cjs +56 -58
- package/lib/cjs/DatePicker.cjs.map +1 -1
- package/lib/cjs/Delete-BAgxXgLq.js +16 -0
- package/lib/cjs/Delete-BAgxXgLq.js.map +1 -0
- package/lib/cjs/Delete.cjs +4 -6
- package/lib/cjs/Delete.cjs.map +1 -1
- package/lib/cjs/DescriptiveDropdownInput-Bu49KYTf.js +115 -0
- package/lib/cjs/DescriptiveDropdownInput-Bu49KYTf.js.map +1 -0
- package/lib/cjs/DescriptiveDropdownInput.cjs +25 -27
- package/lib/cjs/DescriptiveDropdownInput.cjs.map +1 -1
- package/lib/cjs/DescriptiveSwitchMenu-QgN8DdRE.js +31 -0
- package/lib/cjs/DescriptiveSwitchMenu-QgN8DdRE.js.map +1 -0
- package/lib/cjs/DescriptiveSwitchMenu.cjs +14 -16
- package/lib/cjs/DescriptiveSwitchMenu.cjs.map +1 -1
- package/lib/cjs/DescriptiveSwitchMenuStyles-BaL5ldZM.js +59 -0
- package/lib/cjs/DescriptiveSwitchMenuStyles-BaL5ldZM.js.map +1 -0
- package/lib/cjs/DialogHandler.cjs +14 -16
- package/lib/cjs/DialogHandler.cjs.map +1 -1
- package/lib/cjs/Document.cjs +8 -10
- package/lib/cjs/Document.cjs.map +1 -1
- package/lib/cjs/Dollar.cjs +8 -10
- package/lib/cjs/Dollar.cjs.map +1 -1
- package/lib/cjs/Download.cjs +8 -10
- package/lib/cjs/Download.cjs.map +1 -1
- package/lib/cjs/DownloadDocument.cjs +8 -10
- package/lib/cjs/DownloadDocument.cjs.map +1 -1
- package/lib/cjs/Drag.cjs +8 -10
- package/lib/cjs/Drag.cjs.map +1 -1
- package/lib/cjs/Drawer-b6TWfb35.js +210 -0
- package/lib/cjs/Drawer-b6TWfb35.js.map +1 -0
- package/lib/cjs/Drawer.cjs +11 -13
- package/lib/cjs/Drawer.cjs.map +1 -1
- package/lib/cjs/DrawerDivider-CLZx0-FK.js +28 -0
- package/lib/cjs/DrawerDivider-CLZx0-FK.js.map +1 -0
- package/lib/cjs/DrawerDivider.cjs +2 -4
- package/lib/cjs/DrawerDivider.cjs.map +1 -1
- package/lib/cjs/DropdownButton-D5_tcXWL.js +39 -0
- package/lib/cjs/DropdownButton-D5_tcXWL.js.map +1 -0
- package/lib/cjs/DropdownButton.cjs +5 -7
- package/lib/cjs/DropdownButton.cjs.map +1 -1
- package/lib/cjs/DropdownInput-DmKWFzY0.js +72 -0
- package/lib/cjs/DropdownInput-DmKWFzY0.js.map +1 -0
- package/lib/cjs/DropdownInput.cjs +28 -30
- package/lib/cjs/DropdownInput.cjs.map +1 -1
- package/lib/cjs/DropdownInputStyles-B8RvsKz3.js +13 -0
- package/lib/cjs/DropdownInputStyles-B8RvsKz3.js.map +1 -0
- package/lib/cjs/DropzoneColorFamilyEnum.cjs +7 -9
- package/lib/cjs/DropzoneColorFamilyEnum.cjs.map +1 -1
- package/lib/cjs/Duplicate.cjs +8 -10
- package/lib/cjs/Duplicate.cjs.map +1 -1
- package/lib/cjs/Edit.cjs +8 -10
- package/lib/cjs/Edit.cjs.map +1 -1
- package/lib/cjs/EditEnum.cjs +12 -14
- package/lib/cjs/EditEnum.cjs.map +1 -1
- package/lib/cjs/Ellipsis.cjs +8 -10
- package/lib/cjs/Ellipsis.cjs.map +1 -1
- package/lib/cjs/Email.cjs +8 -10
- package/lib/cjs/Email.cjs.map +1 -1
- package/lib/cjs/EmailInput-CgWXJbFC.js +35 -0
- package/lib/cjs/EmailInput-CgWXJbFC.js.map +1 -0
- package/lib/cjs/EmailInput.cjs +11 -13
- package/lib/cjs/EmailInput.cjs.map +1 -1
- package/lib/cjs/Employee.cjs +8 -10
- package/lib/cjs/Employee.cjs.map +1 -1
- package/lib/cjs/Eye.cjs +8 -10
- package/lib/cjs/Eye.cjs.map +1 -1
- package/lib/cjs/EyeOff.cjs +8 -10
- package/lib/cjs/EyeOff.cjs.map +1 -1
- package/lib/cjs/Facebook.cjs +8 -10
- package/lib/cjs/Facebook.cjs.map +1 -1
- package/lib/cjs/File.cjs +8 -10
- package/lib/cjs/File.cjs.map +1 -1
- package/lib/cjs/FileComplete.cjs +8 -10
- package/lib/cjs/FileComplete.cjs.map +1 -1
- package/lib/cjs/FileError.cjs +8 -10
- package/lib/cjs/FileError.cjs.map +1 -1
- package/lib/cjs/FileTypeEnum.cjs +9 -11
- package/lib/cjs/FileTypeEnum.cjs.map +1 -1
- package/lib/cjs/Filter.cjs +8 -10
- package/lib/cjs/Filter.cjs.map +1 -1
- package/lib/cjs/Filters.cjs +8 -10
- package/lib/cjs/Filters.cjs.map +1 -1
- package/lib/cjs/FiltersBar-b1Fz93Xx.js +75 -0
- package/lib/cjs/FiltersBar-b1Fz93Xx.js.map +1 -0
- package/lib/cjs/FiltersBar.cjs +11 -13
- package/lib/cjs/FiltersBar.cjs.map +1 -1
- package/lib/cjs/Folder.cjs +8 -10
- package/lib/cjs/Folder.cjs.map +1 -1
- package/lib/cjs/FolderClosed.cjs +8 -10
- package/lib/cjs/FolderClosed.cjs.map +1 -1
- package/lib/cjs/FolderOpen.cjs +8 -10
- package/lib/cjs/FolderOpen.cjs.map +1 -1
- package/lib/cjs/Footer.cjs +75 -77
- package/lib/cjs/Footer.cjs.map +1 -1
- package/lib/cjs/Form.cjs +68 -70
- package/lib/cjs/Form.cjs.map +1 -1
- package/lib/cjs/FormFieldTypeEnum.cjs +151 -153
- package/lib/cjs/FormFieldTypeEnum.cjs.map +1 -1
- package/lib/cjs/FormStyles-Bk4djrGd.js +762 -0
- package/lib/cjs/FormStyles-Bk4djrGd.js.map +1 -0
- package/lib/cjs/FormWrapper.cjs +9 -11
- package/lib/cjs/FormWrapper.cjs.map +1 -1
- package/lib/cjs/FormikContainer-BbXSUxTV.js +1285 -0
- package/lib/cjs/FormikContainer-BbXSUxTV.js.map +1 -0
- package/lib/cjs/Gear.cjs +4 -6
- package/lib/cjs/Gear.cjs.map +1 -1
- package/lib/cjs/GitHub.cjs +8 -10
- package/lib/cjs/GitHub.cjs.map +1 -1
- package/lib/cjs/GlobalStyle.cjs +2 -4
- package/lib/cjs/GlobalStyle.cjs.map +1 -1
- package/lib/cjs/Grid.cjs +8 -10
- package/lib/cjs/Grid.cjs.map +1 -1
- package/lib/cjs/HeadingH1.cjs +1 -3
- package/lib/cjs/HeadingH1.cjs.map +1 -1
- package/lib/cjs/HeadingH2.cjs +1 -3
- package/lib/cjs/HeadingH2.cjs.map +1 -1
- package/lib/cjs/HeadingH3.cjs +1 -3
- package/lib/cjs/HeadingH3.cjs.map +1 -1
- package/lib/cjs/Heart.cjs +4 -6
- package/lib/cjs/Heart.cjs.map +1 -1
- package/lib/cjs/Help.cjs +8 -10
- package/lib/cjs/Help.cjs.map +1 -1
- package/lib/cjs/Home.cjs +8 -10
- package/lib/cjs/Home.cjs.map +1 -1
- package/lib/cjs/HorizontalTabMenu-B5_uISrl.js +187 -0
- package/lib/cjs/HorizontalTabMenu-B5_uISrl.js.map +1 -0
- package/lib/cjs/HorizontalTabMenu.cjs +4 -6
- package/lib/cjs/HorizontalTabMenu.cjs.map +1 -1
- package/lib/cjs/ID.cjs +8 -10
- package/lib/cjs/ID.cjs.map +1 -1
- package/lib/cjs/IconButton-CQJHjOTO.js +75 -0
- package/lib/cjs/IconButton-CQJHjOTO.js.map +1 -0
- package/lib/cjs/IconButton.cjs +2 -4
- package/lib/cjs/IconButton.cjs.map +1 -1
- package/lib/cjs/IconComponentStyles-L6hjDfi4.js +36 -0
- package/lib/cjs/IconComponentStyles-L6hjDfi4.js.map +1 -0
- package/lib/cjs/IconSwitcher-CM1qjyAO.js +89 -0
- package/lib/cjs/IconSwitcher-CM1qjyAO.js.map +1 -0
- package/lib/cjs/IconSwitcher.cjs +25 -27
- package/lib/cjs/IconSwitcher.cjs.map +1 -1
- package/lib/cjs/IconTile-kRS09jEv.js +85 -0
- package/lib/cjs/IconTile-kRS09jEv.js.map +1 -0
- package/lib/cjs/IconTile.cjs +15 -17
- package/lib/cjs/IconTile.cjs.map +1 -1
- package/lib/cjs/IdBack.cjs +8 -10
- package/lib/cjs/IdBack.cjs.map +1 -1
- package/lib/cjs/IdFront.cjs +8 -10
- package/lib/cjs/IdFront.cjs.map +1 -1
- package/lib/cjs/IdReverse.cjs +8 -10
- package/lib/cjs/IdReverse.cjs.map +1 -1
- package/lib/cjs/ImagePicker-DBpg5PVF.js +333 -0
- package/lib/cjs/ImagePicker-DBpg5PVF.js.map +1 -0
- package/lib/cjs/ImagePicker.cjs +20 -22
- package/lib/cjs/ImagePicker.cjs.map +1 -1
- package/lib/cjs/Inactive.cjs +8 -10
- package/lib/cjs/Inactive.cjs.map +1 -1
- package/lib/cjs/IndicatorDown.cjs +8 -10
- package/lib/cjs/IndicatorDown.cjs.map +1 -1
- package/lib/cjs/IndicatorSide.cjs +8 -10
- package/lib/cjs/IndicatorSide.cjs.map +1 -1
- package/lib/cjs/InfoCircle.cjs +8 -10
- package/lib/cjs/InfoCircle.cjs.map +1 -1
- package/lib/cjs/InlineCreditCardInput-l1rWbsjn.js +329 -0
- package/lib/cjs/InlineCreditCardInput-l1rWbsjn.js.map +1 -0
- package/lib/cjs/InlineCreditCardInput.cjs +6 -8
- package/lib/cjs/InlineCreditCardInput.cjs.map +1 -1
- package/lib/cjs/InlineCurrencyInput-Dyg1Ai9A.js +64 -0
- package/lib/cjs/InlineCurrencyInput-Dyg1Ai9A.js.map +1 -0
- package/lib/cjs/InlineCurrencyInput.cjs +6 -8
- package/lib/cjs/InlineCurrencyInput.cjs.map +1 -1
- package/lib/cjs/InlineDatePicker-DlMLKMx8.js +14942 -0
- package/lib/cjs/InlineDatePicker-DlMLKMx8.js.map +1 -0
- package/lib/cjs/InlineDatePicker.cjs +24 -26
- package/lib/cjs/InlineDatePicker.cjs.map +1 -1
- package/lib/cjs/InlineDescriptiveDropdown-D1C8Z3-r.js +89 -0
- package/lib/cjs/InlineDescriptiveDropdown-D1C8Z3-r.js.map +1 -0
- package/lib/cjs/InlineDescriptiveDropdown.cjs +22 -24
- package/lib/cjs/InlineDescriptiveDropdown.cjs.map +1 -1
- package/lib/cjs/InlineDropdown-m_K8wdY1.js +45 -0
- package/lib/cjs/InlineDropdown-m_K8wdY1.js.map +1 -0
- package/lib/cjs/InlineDropdown.cjs +22 -24
- package/lib/cjs/InlineDropdown.cjs.map +1 -1
- package/lib/cjs/InlineEmailInput-CaQD_vji.js +39 -0
- package/lib/cjs/InlineEmailInput-CaQD_vji.js.map +1 -0
- package/lib/cjs/InlineEmailInput.cjs +6 -8
- package/lib/cjs/InlineEmailInput.cjs.map +1 -1
- package/lib/cjs/InlineInput-Ct3Zz8pE.js +125 -0
- package/lib/cjs/InlineInput-Ct3Zz8pE.js.map +1 -0
- package/lib/cjs/InlineInput.cjs +5 -7
- package/lib/cjs/InlineInput.cjs.map +1 -1
- package/lib/cjs/InlineInputButton.cjs +150 -152
- package/lib/cjs/InlineInputButton.cjs.map +1 -1
- package/lib/cjs/InlinePasswordInput.cjs +12 -14
- package/lib/cjs/InlinePasswordInput.cjs.map +1 -1
- package/lib/cjs/InlinePhoneInput-Do7riIYk.js +66 -0
- package/lib/cjs/InlinePhoneInput-Do7riIYk.js.map +1 -0
- package/lib/cjs/InlinePhoneInput.cjs +7 -9
- package/lib/cjs/InlinePhoneInput.cjs.map +1 -1
- package/lib/cjs/InlineSsnInput.cjs +54 -56
- package/lib/cjs/InlineSsnInput.cjs.map +1 -1
- package/lib/cjs/InlineTextarea.cjs +68 -70
- package/lib/cjs/InlineTextarea.cjs.map +1 -1
- package/lib/cjs/InlineZipCodeInput.cjs +53 -55
- package/lib/cjs/InlineZipCodeInput.cjs.map +1 -1
- package/lib/cjs/Input-B9jY0opv.js +35 -0
- package/lib/cjs/Input-B9jY0opv.js.map +1 -0
- package/lib/cjs/InputButton.cjs +32 -34
- package/lib/cjs/InputButton.cjs.map +1 -1
- package/lib/cjs/InputTheme.cjs +9 -11
- package/lib/cjs/InputTheme.cjs.map +1 -1
- package/lib/cjs/Inputs-C0rtyojv.js +249 -0
- package/lib/cjs/Inputs-C0rtyojv.js.map +1 -0
- package/lib/cjs/InteriorSidebar-CS5rABfY.js +177 -0
- package/lib/cjs/InteriorSidebar-CS5rABfY.js.map +1 -0
- package/lib/cjs/InteriorSidebar.cjs +4 -6
- package/lib/cjs/InteriorSidebar.cjs.map +1 -1
- package/lib/cjs/Key.cjs +8 -10
- package/lib/cjs/Key.cjs.map +1 -1
- package/lib/cjs/LayoutSidebar.cjs +50 -52
- package/lib/cjs/LayoutSidebar.cjs.map +1 -1
- package/lib/cjs/Lightning.cjs +8 -10
- package/lib/cjs/Lightning.cjs.map +1 -1
- package/lib/cjs/LinkedIn.cjs +8 -10
- package/lib/cjs/LinkedIn.cjs.map +1 -1
- package/lib/cjs/List.cjs +8 -10
- package/lib/cjs/List.cjs.map +1 -1
- package/lib/cjs/Loading.cjs +10 -12
- package/lib/cjs/Loading.cjs.map +1 -1
- package/lib/cjs/LoadingEllipsis-BGo19b2l.js +51 -0
- package/lib/cjs/LoadingEllipsis-BGo19b2l.js.map +1 -0
- package/lib/cjs/LoadingEllipsis.cjs +2 -4
- package/lib/cjs/LoadingEllipsis.cjs.map +1 -1
- package/lib/cjs/Location.cjs +8 -10
- package/lib/cjs/Location.cjs.map +1 -1
- package/lib/cjs/LocationPin.cjs +8 -10
- package/lib/cjs/LocationPin.cjs.map +1 -1
- package/lib/cjs/Lock.cjs +8 -10
- package/lib/cjs/Lock.cjs.map +1 -1
- package/lib/cjs/LogOut.cjs +8 -10
- package/lib/cjs/LogOut.cjs.map +1 -1
- package/lib/cjs/LogoSidebar-CdpW9VkF.js +58 -0
- package/lib/cjs/LogoSidebar-CdpW9VkF.js.map +1 -0
- package/lib/cjs/LogoSidebar.cjs +8 -10
- package/lib/cjs/LogoSidebar.cjs.map +1 -1
- package/lib/cjs/Menu.cjs +8 -10
- package/lib/cjs/Menu.cjs.map +1 -1
- package/lib/cjs/MinusCircle.cjs +8 -10
- package/lib/cjs/MinusCircle.cjs.map +1 -1
- package/lib/cjs/Mobile.cjs +8 -10
- package/lib/cjs/Mobile.cjs.map +1 -1
- package/lib/cjs/Modal-C176dP-Y.js +131 -0
- package/lib/cjs/Modal-C176dP-Y.js.map +1 -0
- package/lib/cjs/Modal.cjs +5 -7
- package/lib/cjs/Modal.cjs.map +1 -1
- package/lib/cjs/Money.cjs +8 -10
- package/lib/cjs/Money.cjs.map +1 -1
- package/lib/cjs/MoreMenuButton-BRlteXt_.js +27 -0
- package/lib/cjs/MoreMenuButton-BRlteXt_.js.map +1 -0
- package/lib/cjs/MoreMenuButton.cjs +5 -7
- package/lib/cjs/MoreMenuButton.cjs.map +1 -1
- package/lib/cjs/MultiSelect-DLZB9I7y.js +87 -0
- package/lib/cjs/MultiSelect-DLZB9I7y.js.map +1 -0
- package/lib/cjs/MultiSelect.cjs +27 -29
- package/lib/cjs/MultiSelect.cjs.map +1 -1
- package/lib/cjs/NavLayout.cjs +18 -20
- package/lib/cjs/NavLayout.cjs.map +1 -1
- package/lib/cjs/No.cjs +8 -10
- package/lib/cjs/No.cjs.map +1 -1
- package/lib/cjs/NotFound.cjs +19 -21
- package/lib/cjs/NotFound.cjs.map +1 -1
- package/lib/cjs/Orders-Cic2XcxL.js +16 -0
- package/lib/cjs/Orders-Cic2XcxL.js.map +1 -0
- package/lib/cjs/Orders.cjs +4 -6
- package/lib/cjs/Orders.cjs.map +1 -1
- package/lib/cjs/OutlineButton.cjs +6 -8
- package/lib/cjs/OutlineButton.cjs.map +1 -1
- package/lib/cjs/PDF.cjs +8 -10
- package/lib/cjs/PDF.cjs.map +1 -1
- package/lib/cjs/Package.cjs +8 -10
- package/lib/cjs/Package.cjs.map +1 -1
- package/lib/cjs/PackageDownArrow.cjs +8 -10
- package/lib/cjs/PackageDownArrow.cjs.map +1 -1
- package/lib/cjs/PasswordInput.cjs +129 -131
- package/lib/cjs/PasswordInput.cjs.map +1 -1
- package/lib/cjs/Phone.cjs +8 -10
- package/lib/cjs/Phone.cjs.map +1 -1
- package/lib/cjs/PhoneCell.cjs +9 -11
- package/lib/cjs/PhoneCell.cjs.map +1 -1
- package/lib/cjs/PhoneInput-DdyCMyFL.js +36 -0
- package/lib/cjs/PhoneInput-DdyCMyFL.js.map +1 -0
- package/lib/cjs/PhoneInput.cjs +12 -14
- package/lib/cjs/PhoneInput.cjs.map +1 -1
- package/lib/cjs/PieChart-D3uL_1aI.js +78 -0
- package/lib/cjs/PieChart-D3uL_1aI.js.map +1 -0
- package/lib/cjs/PieChart.cjs +2 -4
- package/lib/cjs/PieChart.cjs.map +1 -1
- package/lib/cjs/PlusCircle.cjs +8 -10
- package/lib/cjs/PlusCircle.cjs.map +1 -1
- package/lib/cjs/PrimaryButton.cjs +6 -8
- package/lib/cjs/PrimaryButton.cjs.map +1 -1
- package/lib/cjs/Print.cjs +8 -10
- package/lib/cjs/Print.cjs.map +1 -1
- package/lib/cjs/Queue.cjs +8 -10
- package/lib/cjs/Queue.cjs.map +1 -1
- package/lib/cjs/RJSForm-D5a1QmqR.js +424 -0
- package/lib/cjs/RJSForm-D5a1QmqR.js.map +1 -0
- package/lib/cjs/RJSForm.cjs +54 -47
- package/lib/cjs/RJSForm.cjs.map +1 -1
- package/lib/cjs/RJSFormRenderer-Bd7li7nd.js +193 -0
- package/lib/cjs/RJSFormRenderer-Bd7li7nd.js.map +1 -0
- package/lib/cjs/RJSFormRenderer.cjs +6 -8
- package/lib/cjs/RJSFormRenderer.cjs.map +1 -1
- package/lib/cjs/Radio-C0Z72B-6.js +20 -0
- package/lib/cjs/Radio-C0Z72B-6.js.map +1 -0
- package/lib/cjs/Radio.cjs +5 -7
- package/lib/cjs/Radio.cjs.map +1 -1
- package/lib/cjs/RadioEmpty.cjs +8 -10
- package/lib/cjs/RadioEmpty.cjs.map +1 -1
- package/lib/cjs/RadioFull.cjs +8 -10
- package/lib/cjs/RadioFull.cjs.map +1 -1
- package/lib/cjs/RadioGroup-5iO3GXKb.js +60 -0
- package/lib/cjs/RadioGroup-5iO3GXKb.js.map +1 -0
- package/lib/cjs/RadioGroup.cjs +11 -13
- package/lib/cjs/RadioGroup.cjs.map +1 -1
- package/lib/cjs/RadioItem-BzjbTvVQ.js +44 -0
- package/lib/cjs/RadioItem-BzjbTvVQ.js.map +1 -0
- package/lib/cjs/RadioItem.cjs +10 -12
- package/lib/cjs/RadioItem.cjs.map +1 -1
- package/lib/cjs/RadioStyles-_VGV6k7E.js +33 -0
- package/lib/cjs/RadioStyles-_VGV6k7E.js.map +1 -0
- package/lib/cjs/Resend.cjs +8 -10
- package/lib/cjs/Resend.cjs.map +1 -1
- package/lib/cjs/ResizeEnum.cjs +6 -8
- package/lib/cjs/ResizeEnum.cjs.map +1 -1
- package/lib/cjs/Scroller.cjs +4 -6
- package/lib/cjs/Scroller.cjs.map +1 -1
- package/lib/cjs/Search.cjs +8 -10
- package/lib/cjs/Search.cjs.map +1 -1
- package/lib/cjs/SearchInput-C_l6yEs0.js +80 -0
- package/lib/cjs/SearchInput-C_l6yEs0.js.map +1 -0
- package/lib/cjs/SearchInput.cjs +7 -9
- package/lib/cjs/SearchInput.cjs.map +1 -1
- package/lib/cjs/SearchMenu-NMsXfJEh.js +346 -0
- package/lib/cjs/SearchMenu-NMsXfJEh.js.map +1 -0
- package/lib/cjs/SearchMenu.cjs +18 -20
- package/lib/cjs/SearchMenu.cjs.map +1 -1
- package/lib/cjs/SecondaryButton.cjs +6 -8
- package/lib/cjs/SecondaryButton.cjs.map +1 -1
- package/lib/cjs/Select-B3zSnn5l.js +222 -0
- package/lib/cjs/Select-B3zSnn5l.js.map +1 -0
- package/lib/cjs/Select.cjs +7 -9
- package/lib/cjs/Select.cjs.map +1 -1
- package/lib/cjs/SelectSearch-rP61quB9.js +183 -0
- package/lib/cjs/SelectSearch-rP61quB9.js.map +1 -0
- package/lib/cjs/SelectSearch.cjs +24 -26
- package/lib/cjs/SelectSearch.cjs.map +1 -1
- package/lib/cjs/Selfie.cjs +8 -10
- package/lib/cjs/Selfie.cjs.map +1 -1
- package/lib/cjs/SelfiePhone.cjs +8 -10
- package/lib/cjs/SelfiePhone.cjs.map +1 -1
- package/lib/cjs/Send.cjs +8 -10
- package/lib/cjs/Send.cjs.map +1 -1
- package/lib/cjs/Settings.cjs +4 -6
- package/lib/cjs/Settings.cjs.map +1 -1
- package/lib/cjs/ShortScroller.cjs +1 -3
- package/lib/cjs/ShortScroller.cjs.map +1 -1
- package/lib/cjs/SignDoc.cjs +8 -10
- package/lib/cjs/SignDoc.cjs.map +1 -1
- package/lib/cjs/SingleButton-z9mhwmpo.js +14 -0
- package/lib/cjs/SingleButton-z9mhwmpo.js.map +1 -0
- package/lib/cjs/SlideIn-C6k0qqHF.js +184 -0
- package/lib/cjs/SlideIn-C6k0qqHF.js.map +1 -0
- package/lib/cjs/SlideIn.cjs +3 -5
- package/lib/cjs/SlideIn.cjs.map +1 -1
- package/lib/cjs/SnackContainer-BxsaRAC6.js +263 -0
- package/lib/cjs/SnackContainer-BxsaRAC6.js.map +1 -0
- package/lib/cjs/SnackTypeEnum.cjs +9 -11
- package/lib/cjs/SnackTypeEnum.cjs.map +1 -1
- package/lib/cjs/Sort.cjs +8 -10
- package/lib/cjs/Sort.cjs.map +1 -1
- package/lib/cjs/Ssn.cjs +8 -10
- package/lib/cjs/Ssn.cjs.map +1 -1
- package/lib/cjs/SsnInput.cjs +30 -32
- package/lib/cjs/SsnInput.cjs.map +1 -1
- package/lib/cjs/Star.cjs +8 -10
- package/lib/cjs/Star.cjs.map +1 -1
- package/lib/cjs/StateDropdown-7JgSJRgF.js +15 -0
- package/lib/cjs/StateDropdown-7JgSJRgF.js.map +1 -0
- package/lib/cjs/StateDropdown.cjs +29 -31
- package/lib/cjs/StateDropdown.cjs.map +1 -1
- package/lib/cjs/Status.cjs +8 -10
- package/lib/cjs/Status.cjs.map +1 -1
- package/lib/cjs/StatusDropdown-CVN5JCOX.js +37 -0
- package/lib/cjs/StatusDropdown-CVN5JCOX.js.map +1 -0
- package/lib/cjs/StatusDropdown.cjs +30 -32
- package/lib/cjs/StatusDropdown.cjs.map +1 -1
- package/lib/cjs/StatusIndicator-bnoyQg0H.js +94 -0
- package/lib/cjs/StatusIndicator-bnoyQg0H.js.map +1 -0
- package/lib/cjs/StatusIndicator.cjs +3 -5
- package/lib/cjs/StatusIndicator.cjs.map +1 -1
- package/lib/cjs/Stepper-BapWr4l4.js +134 -0
- package/lib/cjs/Stepper-BapWr4l4.js.map +1 -0
- package/lib/cjs/Stepper.cjs +4 -6
- package/lib/cjs/Stepper.cjs.map +1 -1
- package/lib/cjs/Stop.cjs +8 -10
- package/lib/cjs/Stop.cjs.map +1 -1
- package/lib/cjs/SubOrg.cjs +8 -10
- package/lib/cjs/SubOrg.cjs.map +1 -1
- package/lib/cjs/SubheadingMPrimary.cjs +1 -3
- package/lib/cjs/SubheadingMPrimary.cjs.map +1 -1
- package/lib/cjs/SubheadingSEmphasis.cjs +1 -3
- package/lib/cjs/SubheadingSEmphasis.cjs.map +1 -1
- package/lib/cjs/SwitchTypeEnum.cjs +5 -7
- package/lib/cjs/SwitchTypeEnum.cjs.map +1 -1
- package/lib/cjs/Switcher.cjs +8 -10
- package/lib/cjs/Switcher.cjs.map +1 -1
- package/lib/cjs/Switches-BATetD_9.js +26 -0
- package/lib/cjs/Switches-BATetD_9.js.map +1 -0
- package/lib/cjs/TabModal-Bsbwwv0Y.js +126 -0
- package/lib/cjs/TabModal-Bsbwwv0Y.js.map +1 -0
- package/lib/cjs/TabModal.cjs +10 -12
- package/lib/cjs/TabModal.cjs.map +1 -1
- package/lib/cjs/TabModalPaddingEnum.cjs +5 -7
- package/lib/cjs/TabModalPaddingEnum.cjs.map +1 -1
- package/lib/cjs/Table.cjs +796 -803
- package/lib/cjs/Table.cjs.map +1 -1
- package/lib/cjs/TableFiltersPanel-BxcOHhYK.js +50 -0
- package/lib/cjs/TableFiltersPanel-BxcOHhYK.js.map +1 -0
- package/lib/cjs/TableFiltersPanel.cjs +21 -23
- package/lib/cjs/TableFiltersPanel.cjs.map +1 -1
- package/lib/cjs/TableOptionLabel.cjs +5 -7
- package/lib/cjs/TableOptionLabel.cjs.map +1 -1
- package/lib/cjs/TableStyles-DHUGhvTF.js +370 -0
- package/lib/cjs/TableStyles-DHUGhvTF.js.map +1 -0
- package/lib/cjs/Tenant.cjs +8 -10
- package/lib/cjs/Tenant.cjs.map +1 -1
- package/lib/cjs/TextButton.cjs +6 -8
- package/lib/cjs/TextButton.cjs.map +1 -1
- package/lib/cjs/TextLink-lFL9kG_1.js +181 -0
- package/lib/cjs/TextLink-lFL9kG_1.js.map +1 -0
- package/lib/cjs/TextLink.cjs +8 -10
- package/lib/cjs/TextLink.cjs.map +1 -1
- package/lib/cjs/TextStyleEnum.cjs +9 -11
- package/lib/cjs/TextStyleEnum.cjs.map +1 -1
- package/lib/cjs/TextVariantEnum.cjs +26 -28
- package/lib/cjs/TextVariantEnum.cjs.map +1 -1
- package/lib/cjs/Textarea.cjs +40 -42
- package/lib/cjs/Textarea.cjs.map +1 -1
- package/lib/cjs/ThemeProvider.cjs +20 -22
- package/lib/cjs/ThemeProvider.cjs.map +1 -1
- package/lib/cjs/Timer.cjs +8 -10
- package/lib/cjs/Timer.cjs.map +1 -1
- package/lib/cjs/Toast-qSYZftq3.js +279 -0
- package/lib/cjs/Toast-qSYZftq3.js.map +1 -0
- package/lib/cjs/Toggle-CNg3Ui59.js +17 -0
- package/lib/cjs/Toggle-CNg3Ui59.js.map +1 -0
- package/lib/cjs/Toggle.cjs +3 -5
- package/lib/cjs/Toggle.cjs.map +1 -1
- package/lib/cjs/ToggleButtons-D3TVeo2F.js +86 -0
- package/lib/cjs/ToggleButtons-D3TVeo2F.js.map +1 -0
- package/lib/cjs/ToggleButtons.cjs +2 -4
- package/lib/cjs/ToggleButtons.cjs.map +1 -1
- package/lib/cjs/ToggleCell.cjs +9 -11
- package/lib/cjs/ToggleCell.cjs.map +1 -1
- package/lib/cjs/ToggleGroup-B6VsJ3dc.js +42 -0
- package/lib/cjs/ToggleGroup-B6VsJ3dc.js.map +1 -0
- package/lib/cjs/ToggleGroup.cjs +12 -14
- package/lib/cjs/ToggleGroup.cjs.map +1 -1
- package/lib/cjs/ToggleItem-D0NRfATM.js +37 -0
- package/lib/cjs/ToggleItem-D0NRfATM.js.map +1 -0
- package/lib/cjs/ToggleItem.cjs +11 -13
- package/lib/cjs/ToggleItem.cjs.map +1 -1
- package/lib/cjs/ToggleStyles-BencC18V.js +69 -0
- package/lib/cjs/ToggleStyles-BencC18V.js.map +1 -0
- package/lib/cjs/Tooltip-D5zzqA46.js +151 -0
- package/lib/cjs/Tooltip-D5zzqA46.js.map +1 -0
- package/lib/cjs/Tooltip.cjs +4 -6
- package/lib/cjs/Tooltip.cjs.map +1 -1
- package/lib/cjs/TooltipLabel-BSTpUNR_.js +117 -0
- package/lib/cjs/TooltipLabel-BSTpUNR_.js.map +1 -0
- package/lib/cjs/TooltipLabel.cjs +8 -10
- package/lib/cjs/TooltipLabel.cjs.map +1 -1
- package/lib/cjs/TooltipOptions-BdPV6y9E.js +40 -0
- package/lib/cjs/TooltipOptions-BdPV6y9E.js.map +1 -0
- package/lib/cjs/TooltipOptions.cjs +6 -8
- package/lib/cjs/TooltipOptions.cjs.map +1 -1
- package/lib/cjs/TooltipOptionsStyles-CtUjmFH1.js +64 -0
- package/lib/cjs/TooltipOptionsStyles-CtUjmFH1.js.map +1 -0
- package/lib/cjs/Trash.cjs +4 -6
- package/lib/cjs/Trash.cjs.map +1 -1
- package/lib/cjs/Truncate-DSAmkPQL.js +53 -0
- package/lib/cjs/Truncate-DSAmkPQL.js.map +1 -0
- package/lib/cjs/Truncate.cjs +5 -7
- package/lib/cjs/Truncate.cjs.map +1 -1
- package/lib/cjs/TruncatePicker-BAm5WSXv.js +107 -0
- package/lib/cjs/TruncatePicker-BAm5WSXv.js.map +1 -0
- package/lib/cjs/Twitter.cjs +8 -10
- package/lib/cjs/Twitter.cjs.map +1 -1
- package/lib/cjs/Typography-C4TfiefU.js +29 -0
- package/lib/cjs/Typography-C4TfiefU.js.map +1 -0
- package/lib/cjs/Typography.cjs +7 -9
- package/lib/cjs/Typography.cjs.map +1 -1
- package/lib/cjs/USStatesEnum.cjs +9 -11
- package/lib/cjs/USStatesEnum.cjs.map +1 -1
- package/lib/cjs/Update.cjs +8 -10
- package/lib/cjs/Update.cjs.map +1 -1
- package/lib/cjs/Upload.cjs +8 -10
- package/lib/cjs/Upload.cjs.map +1 -1
- package/lib/cjs/UploadDocument.cjs +8 -10
- package/lib/cjs/UploadDocument.cjs.map +1 -1
- package/lib/cjs/UploadDropzone-DtcRukmb.js +260 -0
- package/lib/cjs/UploadDropzone-DtcRukmb.js.map +1 -0
- package/lib/cjs/UploadDropzone.cjs +14 -13
- package/lib/cjs/UploadDropzone.cjs.map +1 -1
- package/lib/cjs/User.cjs +8 -10
- package/lib/cjs/User.cjs.map +1 -1
- package/lib/cjs/UserAdd.cjs +8 -10
- package/lib/cjs/UserAdd.cjs.map +1 -1
- package/lib/cjs/UserCard.cjs +267 -273
- package/lib/cjs/UserCard.cjs.map +1 -1
- package/lib/cjs/UserCardModal.cjs +15 -17
- package/lib/cjs/UserCardModal.cjs.map +1 -1
- package/lib/cjs/UserInformationCard-DBrwY4Qg.js +225 -0
- package/lib/cjs/UserInformationCard-DBrwY4Qg.js.map +1 -0
- package/lib/cjs/UserInformationCard.cjs +12 -14
- package/lib/cjs/UserInformationCard.cjs.map +1 -1
- package/lib/cjs/UserOutline.cjs +8 -10
- package/lib/cjs/UserOutline.cjs.map +1 -1
- package/lib/cjs/UserRecords.cjs +8 -10
- package/lib/cjs/UserRecords.cjs.map +1 -1
- package/lib/cjs/UserSearch.cjs +8 -10
- package/lib/cjs/UserSearch.cjs.map +1 -1
- package/lib/cjs/VID.cjs +8 -10
- package/lib/cjs/VID.cjs.map +1 -1
- package/lib/cjs/VIDLogo.cjs +8 -10
- package/lib/cjs/VIDLogo.cjs.map +1 -1
- package/lib/cjs/Volunteer-g943UZe_.js +16 -0
- package/lib/cjs/Volunteer-g943UZe_.js.map +1 -0
- package/lib/cjs/Volunteer.cjs +4 -6
- package/lib/cjs/Volunteer.cjs.map +1 -1
- package/lib/cjs/Warning-Cq9lol9S.js +16 -0
- package/lib/cjs/Warning-Cq9lol9S.js.map +1 -0
- package/lib/cjs/Warning.cjs +4 -6
- package/lib/cjs/Warning.cjs.map +1 -1
- package/lib/cjs/WarningExclaim.cjs +4 -6
- package/lib/cjs/WarningExclaim.cjs.map +1 -1
- package/lib/cjs/X.cjs +4 -6
- package/lib/cjs/X.cjs.map +1 -1
- package/lib/cjs/ZipCodeInput.cjs +30 -32
- package/lib/cjs/ZipCodeInput.cjs.map +1 -1
- package/lib/cjs/_tslib-D1hVYMxL.js +120 -0
- package/lib/cjs/_tslib-D1hVYMxL.js.map +1 -0
- package/lib/cjs/addOrRemoveById.cjs +135 -137
- package/lib/cjs/addOrRemoveById.cjs.map +1 -1
- package/lib/cjs/addOrRemoveString.cjs +1 -3
- package/lib/cjs/addOrRemoveString.cjs.map +1 -1
- package/lib/cjs/altPostalCodeNames.cjs +29 -31
- package/lib/cjs/altPostalCodeNames.cjs.map +1 -1
- package/lib/cjs/altRegionNames.cjs +29 -31
- package/lib/cjs/altRegionNames.cjs.map +1 -1
- package/lib/cjs/applySsnMask.cjs +55 -57
- package/lib/cjs/applySsnMask.cjs.map +1 -1
- package/lib/cjs/applyZipCodeMask.cjs +53 -55
- package/lib/cjs/applyZipCodeMask.cjs.map +1 -1
- package/lib/cjs/brazilianPhoneMask.cjs +0 -2
- package/lib/cjs/brazilianPhoneMask.cjs.map +1 -1
- package/lib/cjs/cardValidationStateMachine.cjs +236 -238
- package/lib/cjs/cardValidationStateMachine.cjs.map +1 -1
- package/lib/cjs/cerebellumTheme.cjs +666 -666
- package/lib/cjs/colombianPhoneMask.cjs +0 -2
- package/lib/cjs/colombianPhoneMask.cjs.map +1 -1
- package/lib/cjs/colors-BudXQEyU.js +73 -0
- package/lib/cjs/colors-BudXQEyU.js.map +1 -0
- package/lib/cjs/colors.cjs +445 -446
- package/lib/cjs/colors.cjs.map +1 -1
- package/lib/cjs/compressImage.cjs +21 -27
- package/lib/cjs/compressImage.cjs.map +1 -1
- package/lib/cjs/convertHEICtoPNG.cjs +57 -63
- package/lib/cjs/convertHEICtoPNG.cjs.map +1 -1
- package/lib/cjs/cortexTheme.cjs +2 -2
- package/lib/cjs/countryList.cjs +29 -31
- package/lib/cjs/countryList.cjs.map +1 -1
- package/lib/cjs/countryLookup.cjs +29 -31
- package/lib/cjs/countryLookup.cjs.map +1 -1
- package/lib/cjs/filtering-BklQ4Sgb.js +52 -0
- package/lib/cjs/filtering-BklQ4Sgb.js.map +1 -0
- package/lib/cjs/focusAfter.cjs +16 -18
- package/lib/cjs/focusAfter.cjs.map +1 -1
- package/lib/cjs/formatBytesToString.cjs +33 -35
- package/lib/cjs/formatBytesToString.cjs.map +1 -1
- package/lib/cjs/formatNumberToString.cjs +0 -2
- package/lib/cjs/formatNumberToString.cjs.map +1 -1
- package/lib/cjs/getInitialsOnly.cjs +24 -26
- package/lib/cjs/getInitialsOnly.cjs.map +1 -1
- package/lib/cjs/getObjectById.cjs +1 -3
- package/lib/cjs/getObjectById.cjs.map +1 -1
- package/lib/cjs/getPosition.cjs +57 -59
- package/lib/cjs/getPosition.cjs.map +1 -1
- package/lib/cjs/gradients.cjs +2 -4
- package/lib/cjs/gradients.cjs.map +1 -1
- package/lib/cjs/helpers-BBAfnycp.js +6 -0
- package/lib/cjs/helpers-BBAfnycp.js.map +1 -0
- package/lib/cjs/helpers-C-IoiH8X.js +32 -0
- package/lib/cjs/helpers-C-IoiH8X.js.map +1 -0
- package/lib/cjs/higherContrast.cjs +0 -2
- package/lib/cjs/higherContrast.cjs.map +1 -1
- package/lib/cjs/index.cjs +399 -405
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/cjs/isEmptyObject.cjs +22 -24
- package/lib/cjs/isEmptyObject.cjs.map +1 -1
- package/lib/cjs/isUSStatesEnum.cjs +10 -12
- package/lib/cjs/isUSStatesEnum.cjs.map +1 -1
- package/lib/cjs/loadingPseudo.cjs +1 -3
- package/lib/cjs/loadingPseudo.cjs.map +1 -1
- package/lib/cjs/luhnCreditCardCheck.cjs +0 -2
- package/lib/cjs/luhnCreditCardCheck.cjs.map +1 -1
- package/lib/cjs/makeIdString.cjs +1 -3
- package/lib/cjs/makeIdString.cjs.map +1 -1
- package/lib/cjs/mexicanPhoneMask.cjs +0 -2
- package/lib/cjs/mexicanPhoneMask.cjs.map +1 -1
- package/lib/cjs/northAmericanNumberingPlanRegex.cjs +3 -5
- package/lib/cjs/northAmericanNumberingPlanRegex.cjs.map +1 -1
- package/lib/cjs/northAmericanPhoneMask.cjs +401 -403
- package/lib/cjs/northAmericanPhoneMask.cjs.map +1 -1
- package/lib/cjs/position-Ccz-m8HN.js +44 -0
- package/lib/cjs/position-Ccz-m8HN.js.map +1 -0
- package/lib/cjs/pressedEnter.cjs +72 -74
- package/lib/cjs/pressedEnter.cjs.map +1 -1
- package/lib/cjs/removeById.cjs +1 -3
- package/lib/cjs/removeById.cjs.map +1 -1
- package/lib/cjs/removeByIdArray.cjs +1 -3
- package/lib/cjs/removeByIdArray.cjs.map +1 -1
- package/lib/cjs/removeString.cjs +1 -3
- package/lib/cjs/removeString.cjs.map +1 -1
- package/lib/cjs/replaceObjectById.cjs +1 -3
- package/lib/cjs/replaceObjectById.cjs.map +1 -1
- package/lib/cjs/setAllKeysToValue.cjs +1 -3
- package/lib/cjs/setAllKeysToValue.cjs.map +1 -1
- package/lib/cjs/setObjectById.cjs +1 -3
- package/lib/cjs/setObjectById.cjs.map +1 -1
- package/lib/cjs/showLabel-BL7Pip23.js +25 -0
- package/lib/cjs/showLabel-BL7Pip23.js.map +1 -0
- package/lib/cjs/stateAbbreviationLookup.cjs +154 -156
- package/lib/cjs/stateAbbreviationLookup.cjs.map +1 -1
- package/lib/cjs/toggleObjectById.cjs +1 -3
- package/lib/cjs/toggleObjectById.cjs.map +1 -1
- package/lib/cjs/types-5wgDsApd.js +15 -0
- package/lib/cjs/types-5wgDsApd.js.map +1 -0
- package/lib/cjs/usCounties.cjs +3271 -3273
- package/lib/cjs/usCounties.cjs.map +1 -1
- package/lib/cjs/usStates.cjs +367 -369
- package/lib/cjs/usStates.cjs.map +1 -1
- package/lib/cjs/useFocus.cjs +7 -9
- package/lib/cjs/useFocus.cjs.map +1 -1
- package/lib/cjs/useIsomorphicLayoutEffect-kdlV9QVN.js +10 -0
- package/lib/cjs/useIsomorphicLayoutEffect-kdlV9QVN.js.map +1 -0
- package/lib/cjs/useMeasure-CX_PwyjW.js +427 -0
- package/lib/cjs/useMeasure-CX_PwyjW.js.map +1 -0
- package/lib/cjs/useMeasureWatchResize-DxokwDBK.js +69 -0
- package/lib/cjs/useMeasureWatchResize-DxokwDBK.js.map +1 -0
- package/lib/cjs/useMediaQuery.cjs +13 -15
- package/lib/cjs/useMediaQuery.cjs.map +1 -1
- package/lib/cjs/usePrevious.cjs +7 -9
- package/lib/cjs/usePrevious.cjs.map +1 -1
- package/lib/cjs/validateRegex.cjs +0 -2
- package/lib/cjs/validateRegex.cjs.map +1 -1
- package/lib/esm/AddButton-D3rUGbUd.js +23 -0
- package/lib/esm/AddButton-D3rUGbUd.js.map +1 -0
- package/lib/esm/AddButton.js +5 -5
- package/lib/esm/AddMenu-DxgYV6Rn.js +50 -0
- package/lib/esm/AddMenu-DxgYV6Rn.js.map +1 -0
- package/lib/esm/AddMenu.js +23 -23
- package/lib/esm/AddressInput-8qEW9hjG.js +2225 -0
- package/lib/esm/AddressInput-8qEW9hjG.js.map +1 -0
- package/lib/esm/AddressInput.js +11 -11
- package/lib/esm/AlertCount-vQlOlGEG.js +63 -0
- package/lib/esm/AlertCount-vQlOlGEG.js.map +1 -0
- package/lib/esm/AlertCount.js +2 -2
- package/lib/esm/AltIdBack.js +8 -8
- package/lib/esm/AltIdFront.js +8 -8
- package/lib/esm/Arrow.js +8 -8
- package/lib/esm/ArrowLong.js +8 -8
- package/lib/esm/ArrowUp.js +8 -8
- package/lib/esm/Assign.js +8 -8
- package/lib/esm/Attachment.js +8 -8
- package/lib/esm/Avatar-B7BnuAhC.js +57 -0
- package/lib/esm/Avatar-B7BnuAhC.js.map +1 -0
- package/lib/esm/Avatar.js +2 -2
- package/lib/esm/BackgroundCheck.js +8 -8
- package/lib/esm/BellOutline.js +8 -8
- package/lib/esm/BodyLEmphasis.js +225 -225
- package/lib/esm/BodyLPrimary.js +1 -1
- package/lib/esm/BodyLSecondary.js +1 -1
- package/lib/esm/BodyMEmphasis.js +1 -1
- package/lib/esm/BodyMPrimary.js +1 -1
- package/lib/esm/BodyMSecondary.js +1 -1
- package/lib/esm/BodyMSemiBold.js +1 -1
- package/lib/esm/BodySEmphasis.js +1 -1
- package/lib/esm/BodySPlaceholder.js +1 -1
- package/lib/esm/BodySPrimary.js +1 -1
- package/lib/esm/BodySSecondary.js +1 -1
- package/lib/esm/BodySSemiBold.js +1 -1
- package/lib/esm/BodySTertiary.js +1 -1
- package/lib/esm/BodyXSEmphasis.js +1 -1
- package/lib/esm/BodyXSPrimary.js +1 -1
- package/lib/esm/BodyXSSemiBold.js +1 -1
- package/lib/esm/BodyXXSEmphasis.js +1 -1
- package/lib/esm/BodyXXSPrimary.js +1 -1
- package/lib/esm/BodyXXSSecondary.js +1 -1
- package/lib/esm/BoxedButton.js +6 -6
- package/lib/esm/BoxedOutlineButton.js +6 -6
- package/lib/esm/Button.js +268 -268
- package/lib/esm/ButtonColorFamilyEnum.js +175 -174
- package/lib/esm/ButtonColorFamilyEnum.js.map +1 -1
- package/lib/esm/ButtonVariantEnum.js +8 -8
- package/lib/esm/Calendar.js +8 -8
- package/lib/esm/CaretDown.js +8 -8
- package/lib/esm/CaretLeft.js +8 -8
- package/lib/esm/CaretRight.js +8 -8
- package/lib/esm/CaretUp.js +8 -8
- package/lib/esm/Cart.js +8 -8
- package/lib/esm/ChatBubbleLines.js +8 -8
- package/lib/esm/Check.js +8 -8
- package/lib/esm/Checkbox-BdrC_AX0.js +18 -0
- package/lib/esm/Checkbox-BdrC_AX0.js.map +1 -0
- package/lib/esm/Checkbox.js +5 -5
- package/lib/esm/CheckboxCellWrapper.js +35 -35
- package/lib/esm/CheckboxEmpty.js +8 -8
- package/lib/esm/CheckboxFull.js +8 -8
- package/lib/esm/CheckboxGroup-0tAb80Ac.js +39 -0
- package/lib/esm/CheckboxGroup-0tAb80Ac.js.map +1 -0
- package/lib/esm/CheckboxGroup.js +11 -11
- package/lib/esm/CheckboxItem-B9mFb_La.js +50 -0
- package/lib/esm/CheckboxItem-B9mFb_La.js.map +1 -0
- package/lib/esm/CheckboxItem.js +10 -10
- package/lib/esm/CheckboxStyles-n0dZUWcQ.js +38 -0
- package/lib/esm/CheckboxStyles-n0dZUWcQ.js.map +1 -0
- package/lib/esm/CheckedOff.js +8 -8
- package/lib/esm/CheckmarkCircle.js +8 -8
- package/lib/esm/Clear.js +8 -8
- package/lib/esm/ClearableTag-DmNVOhZy.js +93 -0
- package/lib/esm/ClearableTag-DmNVOhZy.js.map +1 -0
- package/lib/esm/ClearableTag.js +7 -7
- package/lib/esm/ClickOutHandler-BC-P0Ij9.js +27 -0
- package/lib/esm/ClickOutHandler-BC-P0Ij9.js.map +1 -0
- package/lib/esm/ClickOutHandler.js +2 -2
- package/lib/esm/Clipboard.js +4 -4
- package/lib/esm/Close-CicbmKWl.js +14 -0
- package/lib/esm/Close-CicbmKWl.js.map +1 -0
- package/lib/esm/Close.js +4 -4
- package/lib/esm/CloseCircle.js +8 -8
- package/lib/esm/Code.js +8 -8
- package/lib/esm/CodeDoc.js +8 -8
- package/lib/esm/ColorButton-CR0v4h8V.js +63 -0
- package/lib/esm/ColorButton-CR0v4h8V.js.map +1 -0
- package/lib/esm/ColorButton.js +2 -2
- package/lib/esm/ColorDotDropdown-CmZyJnir.js +44 -0
- package/lib/esm/ColorDotDropdown-CmZyJnir.js.map +1 -0
- package/lib/esm/ColorDotDropdown.js +29 -29
- package/lib/esm/ColorPicker-B0Tuh3Rz.js +51 -0
- package/lib/esm/ColorPicker-B0Tuh3Rz.js.map +1 -0
- package/lib/esm/ColorPicker.js +10 -10
- package/lib/esm/ColorPickerMenu-CLSbtm7R.js +50 -0
- package/lib/esm/ColorPickerMenu-CLSbtm7R.js.map +1 -0
- package/lib/esm/ColorPickerMenu.js +5 -5
- package/lib/esm/Communication.js +8 -8
- package/lib/esm/ConfigurableInput-Jv3GVK5Q.js +75 -0
- package/lib/esm/ConfigurableInput-Jv3GVK5Q.js.map +1 -0
- package/lib/esm/ConfigurableInput.js +17 -17
- package/lib/esm/Configure.js +8 -8
- package/lib/esm/ConfirmModal-Big7bvo9.js +77 -0
- package/lib/esm/ConfirmModal-Big7bvo9.js.map +1 -0
- package/lib/esm/ConfirmModal.js +7 -7
- package/lib/esm/Contact.js +8 -8
- package/lib/esm/CountryDropdown-KZO0RvzW.js +1640 -0
- package/lib/esm/CountryDropdown-KZO0RvzW.js.map +1 -0
- package/lib/esm/CountryDropdown.js +29 -29
- package/lib/esm/CountyDropdown-BL-gaOZi.js +12 -0
- package/lib/esm/CountyDropdown-BL-gaOZi.js.map +1 -0
- package/lib/esm/CountyDropdown.js +29 -29
- package/lib/esm/CovidTest.js +8 -8
- package/lib/esm/CovidVaccineCard.js +8 -8
- package/lib/esm/CreditCard.js +8 -8
- package/lib/esm/CreditCardInput-oAP7rVHL.js +34 -0
- package/lib/esm/CreditCardInput-oAP7rVHL.js.map +1 -0
- package/lib/esm/CreditCardInput.js +11 -11
- package/lib/esm/CsvDoc.js +8 -8
- package/lib/esm/CurrencyInput-p1KwvN9e.js +33 -0
- package/lib/esm/CurrencyInput-p1KwvN9e.js.map +1 -0
- package/lib/esm/CurrencyInput.js +11 -11
- package/lib/esm/Dashboard.js +8 -8
- package/lib/esm/DatePicker.js +56 -56
- package/lib/esm/Delete-CMJExhyT.js +14 -0
- package/lib/esm/Delete-CMJExhyT.js.map +1 -0
- package/lib/esm/Delete.js +4 -4
- package/lib/esm/DescriptiveDropdownInput-Ddpx-Qnn.js +113 -0
- package/lib/esm/DescriptiveDropdownInput-Ddpx-Qnn.js.map +1 -0
- package/lib/esm/DescriptiveDropdownInput.js +25 -25
- package/lib/esm/DescriptiveSwitchMenu-DRBUVcRQ.js +29 -0
- package/lib/esm/DescriptiveSwitchMenu-DRBUVcRQ.js.map +1 -0
- package/lib/esm/DescriptiveSwitchMenu.js +13 -13
- package/lib/esm/DescriptiveSwitchMenuStyles-xYSR0MK8.js +53 -0
- package/lib/esm/DescriptiveSwitchMenuStyles-xYSR0MK8.js.map +1 -0
- package/lib/esm/DialogHandler.js +14 -14
- package/lib/esm/Document.js +8 -8
- package/lib/esm/Dollar.js +8 -8
- package/lib/esm/Download.js +8 -8
- package/lib/esm/DownloadDocument.js +8 -8
- package/lib/esm/Drag.js +8 -8
- package/lib/esm/Drawer-D_d5Xfo9.js +208 -0
- package/lib/esm/Drawer-D_d5Xfo9.js.map +1 -0
- package/lib/esm/Drawer.js +11 -11
- package/lib/esm/DrawerDivider-DvBgszbH.js +26 -0
- package/lib/esm/DrawerDivider-DvBgszbH.js.map +1 -0
- package/lib/esm/DrawerDivider.js +2 -2
- package/lib/esm/DropdownButton-D-Y0v1wd.js +37 -0
- package/lib/esm/DropdownButton-D-Y0v1wd.js.map +1 -0
- package/lib/esm/DropdownButton.js +5 -5
- package/lib/esm/DropdownInput-CS_MuCtV.js +70 -0
- package/lib/esm/DropdownInput-CS_MuCtV.js.map +1 -0
- package/lib/esm/DropdownInput.js +28 -28
- package/lib/esm/DropdownInputStyles-ZK_QJGAg.js +11 -0
- package/lib/esm/DropdownInputStyles-ZK_QJGAg.js.map +1 -0
- package/lib/esm/DropzoneColorFamilyEnum.js +7 -7
- package/lib/esm/Duplicate.js +8 -8
- package/lib/esm/Edit.js +8 -8
- package/lib/esm/EditEnum.js +12 -12
- package/lib/esm/Ellipsis.js +8 -8
- package/lib/esm/Email.js +8 -8
- package/lib/esm/EmailInput-DwCmNY4u.js +33 -0
- package/lib/esm/EmailInput-DwCmNY4u.js.map +1 -0
- package/lib/esm/EmailInput.js +11 -11
- package/lib/esm/Employee.js +8 -8
- package/lib/esm/Eye.js +8 -8
- package/lib/esm/EyeOff.js +8 -8
- package/lib/esm/Facebook.js +8 -8
- package/lib/esm/File.js +8 -8
- package/lib/esm/FileComplete.js +8 -8
- package/lib/esm/FileError.js +8 -8
- package/lib/esm/Filter.js +8 -8
- package/lib/esm/Filters.js +8 -8
- package/lib/esm/FiltersBar-Bcoyn0dn.js +73 -0
- package/lib/esm/FiltersBar-Bcoyn0dn.js.map +1 -0
- package/lib/esm/FiltersBar.js +11 -11
- package/lib/esm/Folder.js +8 -8
- package/lib/esm/FolderClosed.js +8 -8
- package/lib/esm/FolderOpen.js +8 -8
- package/lib/esm/Footer.js +75 -75
- package/lib/esm/Form.js +66 -66
- package/lib/esm/FormFieldTypeEnum.js +151 -151
- package/lib/esm/FormStyles-DVC8K098.js +706 -0
- package/lib/esm/FormStyles-DVC8K098.js.map +1 -0
- package/lib/esm/FormWrapper.js +9 -9
- package/lib/esm/FormikContainer-SHTVC4aE.js +1283 -0
- package/lib/esm/FormikContainer-SHTVC4aE.js.map +1 -0
- package/lib/esm/Gear.js +4 -4
- package/lib/esm/GitHub.js +8 -8
- package/lib/esm/GlobalStyle.js +2 -2
- package/lib/esm/Grid.js +8 -8
- package/lib/esm/HeadingH1.js +1 -1
- package/lib/esm/HeadingH2.js +1 -1
- package/lib/esm/HeadingH3.js +1 -1
- package/lib/esm/Heart.js +4 -4
- package/lib/esm/Help.js +8 -8
- package/lib/esm/Home.js +8 -8
- package/lib/esm/HorizontalTabMenu-BBLDmKph.js +185 -0
- package/lib/esm/HorizontalTabMenu-BBLDmKph.js.map +1 -0
- package/lib/esm/HorizontalTabMenu.js +4 -4
- package/lib/esm/ID.js +8 -8
- package/lib/esm/IconButton-E4owK8Nt.js +73 -0
- package/lib/esm/IconButton-E4owK8Nt.js.map +1 -0
- package/lib/esm/IconButton.js +2 -2
- package/lib/esm/IconComponentStyles-BBt1vuNf.js +31 -0
- package/lib/esm/IconComponentStyles-BBt1vuNf.js.map +1 -0
- package/lib/esm/IconSwitcher-BuS_F0hc.js +87 -0
- package/lib/esm/IconSwitcher-BuS_F0hc.js.map +1 -0
- package/lib/esm/IconSwitcher.js +25 -25
- package/lib/esm/IconTile-aUuzZ9RD.js +83 -0
- package/lib/esm/IconTile-aUuzZ9RD.js.map +1 -0
- package/lib/esm/IconTile.js +15 -15
- package/lib/esm/IdBack.js +8 -8
- package/lib/esm/IdFront.js +8 -8
- package/lib/esm/IdReverse.js +8 -8
- package/lib/esm/ImagePicker-DDpJeHBS.js +331 -0
- package/lib/esm/ImagePicker-DDpJeHBS.js.map +1 -0
- package/lib/esm/ImagePicker.js +20 -20
- package/lib/esm/Inactive.js +8 -8
- package/lib/esm/IndicatorDown.js +8 -8
- package/lib/esm/IndicatorSide.js +8 -8
- package/lib/esm/InfoCircle.js +8 -8
- package/lib/esm/InlineCreditCardInput-CuvkpMvL.js +326 -0
- package/lib/esm/InlineCreditCardInput-CuvkpMvL.js.map +1 -0
- package/lib/esm/InlineCreditCardInput.js +6 -6
- package/lib/esm/InlineCurrencyInput-DdD60vXr.js +61 -0
- package/lib/esm/InlineCurrencyInput-DdD60vXr.js.map +1 -0
- package/lib/esm/InlineCurrencyInput.js +6 -6
- package/lib/esm/InlineDatePicker-Bd98U3EC.js +14919 -0
- package/lib/esm/InlineDatePicker-Bd98U3EC.js.map +1 -0
- package/lib/esm/InlineDatePicker.js +24 -24
- package/lib/esm/InlineDescriptiveDropdown-BEjSuo-g.js +87 -0
- package/lib/esm/InlineDescriptiveDropdown-BEjSuo-g.js.map +1 -0
- package/lib/esm/InlineDescriptiveDropdown.js +22 -22
- package/lib/esm/InlineDropdown-D5Hb_kYI.js +43 -0
- package/lib/esm/InlineDropdown-D5Hb_kYI.js.map +1 -0
- package/lib/esm/InlineDropdown.js +22 -22
- package/lib/esm/InlineEmailInput-G3IrZCur.js +37 -0
- package/lib/esm/InlineEmailInput-G3IrZCur.js.map +1 -0
- package/lib/esm/InlineEmailInput.js +6 -6
- package/lib/esm/InlineInput-Ch6CfLME.js +123 -0
- package/lib/esm/InlineInput-Ch6CfLME.js.map +1 -0
- package/lib/esm/InlineInput.js +5 -5
- package/lib/esm/InlineInputButton.js +150 -150
- package/lib/esm/InlinePasswordInput.js +12 -12
- package/lib/esm/InlinePhoneInput-C6RRWhkg.js +64 -0
- package/lib/esm/InlinePhoneInput-C6RRWhkg.js.map +1 -0
- package/lib/esm/InlinePhoneInput.js +7 -7
- package/lib/esm/InlineSsnInput.js +54 -54
- package/lib/esm/InlineTextarea.js +68 -68
- package/lib/esm/InlineZipCodeInput.js +53 -53
- package/lib/esm/Input-DUMWuiRL.js +33 -0
- package/lib/esm/Input-DUMWuiRL.js.map +1 -0
- package/lib/esm/InputButton.js +32 -32
- package/lib/esm/Inputs-CDGsS9tQ.js +236 -0
- package/lib/esm/Inputs-CDGsS9tQ.js.map +1 -0
- package/lib/esm/InteriorSidebar-Dl9ocJkR.js +175 -0
- package/lib/esm/InteriorSidebar-Dl9ocJkR.js.map +1 -0
- package/lib/esm/InteriorSidebar.js +4 -4
- package/lib/esm/Key.js +8 -8
- package/lib/esm/LayoutSidebar.js +50 -50
- package/lib/esm/Lightning.js +8 -8
- package/lib/esm/LinkedIn.js +8 -8
- package/lib/esm/List.js +8 -8
- package/lib/esm/Loading.js +10 -10
- package/lib/esm/LoadingEllipsis-C1NXXo2M.js +49 -0
- package/lib/esm/LoadingEllipsis-C1NXXo2M.js.map +1 -0
- package/lib/esm/LoadingEllipsis.js +2 -2
- package/lib/esm/Location.js +8 -8
- package/lib/esm/LocationPin.js +8 -8
- package/lib/esm/Lock.js +8 -8
- package/lib/esm/LogOut.js +8 -8
- package/lib/esm/LogoSidebar-CkljY9N_.js +56 -0
- package/lib/esm/LogoSidebar-CkljY9N_.js.map +1 -0
- package/lib/esm/LogoSidebar.js +8 -8
- package/lib/esm/Menu.js +8 -8
- package/lib/esm/MinusCircle.js +8 -8
- package/lib/esm/Mobile.js +8 -8
- package/lib/esm/Modal-BnwCl3gD.js +129 -0
- package/lib/esm/Modal-BnwCl3gD.js.map +1 -0
- package/lib/esm/Modal.js +5 -5
- package/lib/esm/Money.js +8 -8
- package/lib/esm/MoreMenuButton-AVBRmQRG.js +25 -0
- package/lib/esm/MoreMenuButton-AVBRmQRG.js.map +1 -0
- package/lib/esm/MoreMenuButton.js +5 -5
- package/lib/esm/MultiSelect-BXptGI3E.js +85 -0
- package/lib/esm/MultiSelect-BXptGI3E.js.map +1 -0
- package/lib/esm/MultiSelect.js +27 -27
- package/lib/esm/NavLayout.js +18 -18
- package/lib/esm/No.js +8 -8
- package/lib/esm/NotFound.js +19 -19
- package/lib/esm/Orders-CAyQpS41.js +14 -0
- package/lib/esm/Orders-CAyQpS41.js.map +1 -0
- package/lib/esm/Orders.js +4 -4
- package/lib/esm/OutlineButton.js +6 -6
- package/lib/esm/PDF.js +8 -8
- package/lib/esm/Package.js +8 -8
- package/lib/esm/PackageDownArrow.js +8 -8
- package/lib/esm/PasswordInput.js +129 -129
- package/lib/esm/Phone.js +8 -8
- package/lib/esm/PhoneCell.js +9 -9
- package/lib/esm/PhoneInput-GKg1Jvt5.js +34 -0
- package/lib/esm/PhoneInput-GKg1Jvt5.js.map +1 -0
- package/lib/esm/PhoneInput.js +12 -12
- package/lib/esm/PieChart-d3DIlqrL.js +76 -0
- package/lib/esm/PieChart-d3DIlqrL.js.map +1 -0
- package/lib/esm/PieChart.js +2 -2
- package/lib/esm/PlusCircle.js +8 -8
- package/lib/esm/PrimaryButton.js +6 -6
- package/lib/esm/Print.js +8 -8
- package/lib/esm/Queue.js +8 -8
- package/lib/esm/RJSForm-D51pzpRZ.js +422 -0
- package/lib/esm/RJSForm-D51pzpRZ.js.map +1 -0
- package/lib/esm/RJSForm.js +53 -44
- package/lib/esm/RJSForm.js.map +1 -1
- package/lib/esm/RJSFormRenderer-D0CSfA10.js +191 -0
- package/lib/esm/RJSFormRenderer-D0CSfA10.js.map +1 -0
- package/lib/esm/RJSFormRenderer.js +6 -6
- package/lib/esm/Radio-DkEF92KD.js +18 -0
- package/lib/esm/Radio-DkEF92KD.js.map +1 -0
- package/lib/esm/Radio.js +5 -5
- package/lib/esm/RadioEmpty.js +8 -8
- package/lib/esm/RadioFull.js +8 -8
- package/lib/esm/RadioGroup-FQMelcMT.js +58 -0
- package/lib/esm/RadioGroup-FQMelcMT.js.map +1 -0
- package/lib/esm/RadioGroup.js +11 -11
- package/lib/esm/RadioItem-Re2hfx_M.js +42 -0
- package/lib/esm/RadioItem-Re2hfx_M.js.map +1 -0
- package/lib/esm/RadioItem.js +10 -10
- package/lib/esm/RadioStyles-BE77MqVD.js +30 -0
- package/lib/esm/RadioStyles-BE77MqVD.js.map +1 -0
- package/lib/esm/Resend.js +8 -8
- package/lib/esm/ResizeEnum.js +6 -6
- package/lib/esm/Scroller.js +4 -4
- package/lib/esm/Search.js +8 -8
- package/lib/esm/SearchInput-2TWxL_-B.js +78 -0
- package/lib/esm/SearchInput-2TWxL_-B.js.map +1 -0
- package/lib/esm/SearchInput.js +7 -7
- package/lib/esm/SearchMenu-h5HqVgJs.js +343 -0
- package/lib/esm/SearchMenu-h5HqVgJs.js.map +1 -0
- package/lib/esm/SearchMenu.js +18 -18
- package/lib/esm/SecondaryButton.js +6 -6
- package/lib/esm/Select-CLNLLXAt.js +220 -0
- package/lib/esm/Select-CLNLLXAt.js.map +1 -0
- package/lib/esm/Select.js +7 -7
- package/lib/esm/SelectSearch-IcWskIYw.js +181 -0
- package/lib/esm/SelectSearch-IcWskIYw.js.map +1 -0
- package/lib/esm/SelectSearch.js +24 -24
- package/lib/esm/Selfie.js +8 -8
- package/lib/esm/SelfiePhone.js +8 -8
- package/lib/esm/Send.js +8 -8
- package/lib/esm/Settings.js +4 -4
- package/lib/esm/ShortScroller.js +1 -1
- package/lib/esm/SignDoc.js +8 -8
- package/lib/esm/SingleButton-CEtpKZoX.js +12 -0
- package/lib/esm/SingleButton-CEtpKZoX.js.map +1 -0
- package/lib/esm/SlideIn-M1Hsy2X8.js +182 -0
- package/lib/esm/SlideIn-M1Hsy2X8.js.map +1 -0
- package/lib/esm/SlideIn.js +3 -3
- package/lib/esm/SnackContainer-_28dF_Od.js +261 -0
- package/lib/esm/SnackContainer-_28dF_Od.js.map +1 -0
- package/lib/esm/Sort.js +8 -8
- package/lib/esm/Ssn.js +8 -8
- package/lib/esm/SsnInput.js +30 -30
- package/lib/esm/Star.js +8 -8
- package/lib/esm/StateDropdown-T2VpQpbB.js +13 -0
- package/lib/esm/StateDropdown-T2VpQpbB.js.map +1 -0
- package/lib/esm/StateDropdown.js +29 -29
- package/lib/esm/Status.js +8 -8
- package/lib/esm/StatusDropdown-Cqfnwp2U.js +35 -0
- package/lib/esm/StatusDropdown-Cqfnwp2U.js.map +1 -0
- package/lib/esm/StatusDropdown.js +30 -30
- package/lib/esm/StatusIndicator-DjZwRqtf.js +92 -0
- package/lib/esm/StatusIndicator-DjZwRqtf.js.map +1 -0
- package/lib/esm/StatusIndicator.js +3 -3
- package/lib/esm/Stepper-SjYVItrB.js +132 -0
- package/lib/esm/Stepper-SjYVItrB.js.map +1 -0
- package/lib/esm/Stepper.js +4 -4
- package/lib/esm/Stop.js +8 -8
- package/lib/esm/SubOrg.js +8 -8
- package/lib/esm/SubheadingMPrimary.js +1 -1
- package/lib/esm/SubheadingSEmphasis.js +1 -1
- package/lib/esm/SwitchTypeEnum.js +5 -5
- package/lib/esm/Switcher.js +8 -8
- package/lib/esm/Switches-B1THrHNf.js +22 -0
- package/lib/esm/Switches-B1THrHNf.js.map +1 -0
- package/lib/esm/TabModal-D92Lplcm.js +124 -0
- package/lib/esm/TabModal-D92Lplcm.js.map +1 -0
- package/lib/esm/TabModal.js +9 -9
- package/lib/esm/TabModalPaddingEnum.js +5 -5
- package/lib/esm/Table.js +794 -794
- package/lib/esm/TableFiltersPanel-BJDOnRCp.js +48 -0
- package/lib/esm/TableFiltersPanel-BJDOnRCp.js.map +1 -0
- package/lib/esm/TableFiltersPanel.js +21 -21
- package/lib/esm/TableOptionLabel.js +5 -5
- package/lib/esm/TableStyles-CV496zka.js +324 -0
- package/lib/esm/TableStyles-CV496zka.js.map +1 -0
- package/lib/esm/Tenant.js +8 -8
- package/lib/esm/TextButton.js +6 -6
- package/lib/esm/TextLink-g0qDn7WU.js +179 -0
- package/lib/esm/TextLink-g0qDn7WU.js.map +1 -0
- package/lib/esm/TextLink.js +8 -8
- package/lib/esm/TextVariantEnum.js +26 -26
- package/lib/esm/Textarea.js +40 -40
- package/lib/esm/ThemeProvider.js +20 -20
- package/lib/esm/Timer.js +8 -8
- package/lib/esm/Toast-DKCosxm6.js +271 -0
- package/lib/esm/Toast-DKCosxm6.js.map +1 -0
- package/lib/esm/Toggle-BIsx-FLR.js +15 -0
- package/lib/esm/Toggle-BIsx-FLR.js.map +1 -0
- package/lib/esm/Toggle.js +3 -3
- package/lib/esm/ToggleButtons-CDss-zU6.js +84 -0
- package/lib/esm/ToggleButtons-CDss-zU6.js.map +1 -0
- package/lib/esm/ToggleButtons.js +2 -2
- package/lib/esm/ToggleCell.js +9 -9
- package/lib/esm/ToggleGroup-Bs_T_LX7.js +40 -0
- package/lib/esm/ToggleGroup-Bs_T_LX7.js.map +1 -0
- package/lib/esm/ToggleGroup.js +12 -12
- package/lib/esm/ToggleItem-DVT9aKc8.js +35 -0
- package/lib/esm/ToggleItem-DVT9aKc8.js.map +1 -0
- package/lib/esm/ToggleItem.js +11 -11
- package/lib/esm/ToggleStyles-C0cPBGbD.js +61 -0
- package/lib/esm/ToggleStyles-C0cPBGbD.js.map +1 -0
- package/lib/esm/Tooltip-C9UTZuIl.js +149 -0
- package/lib/esm/Tooltip-C9UTZuIl.js.map +1 -0
- package/lib/esm/Tooltip.js +4 -4
- package/lib/esm/TooltipLabel-DXvVAIEV.js +115 -0
- package/lib/esm/TooltipLabel-DXvVAIEV.js.map +1 -0
- package/lib/esm/TooltipLabel.js +8 -8
- package/lib/esm/TooltipOptions-CD4kY-7-.js +38 -0
- package/lib/esm/TooltipOptions-CD4kY-7-.js.map +1 -0
- package/lib/esm/TooltipOptions.js +6 -6
- package/lib/esm/TooltipOptionsStyles-CvVQ-ziJ.js +56 -0
- package/lib/esm/TooltipOptionsStyles-CvVQ-ziJ.js.map +1 -0
- package/lib/esm/Trash.js +4 -4
- package/lib/esm/Truncate-70b6FNIJ.js +50 -0
- package/lib/esm/Truncate-70b6FNIJ.js.map +1 -0
- package/lib/esm/Truncate.js +5 -5
- package/lib/esm/TruncatePicker-CMfshChw.js +105 -0
- package/lib/esm/TruncatePicker-CMfshChw.js.map +1 -0
- package/lib/esm/Twitter.js +8 -8
- package/lib/esm/Typography-B_i-tRD0.js +27 -0
- package/lib/esm/Typography-B_i-tRD0.js.map +1 -0
- package/lib/esm/Typography.js +6 -6
- package/lib/esm/Update.js +8 -8
- package/lib/esm/Upload.js +8 -8
- package/lib/esm/UploadDocument.js +8 -8
- package/lib/esm/UploadDropzone-hzxiCOFN.js +258 -0
- package/lib/esm/UploadDropzone-hzxiCOFN.js.map +1 -0
- package/lib/esm/UploadDropzone.js +13 -10
- package/lib/esm/UploadDropzone.js.map +1 -1
- package/lib/esm/User.js +8 -8
- package/lib/esm/UserAdd.js +8 -8
- package/lib/esm/UserCard.js +267 -267
- package/lib/esm/UserCardModal.js +15 -15
- package/lib/esm/UserInformationCard-BPZYRni_.js +223 -0
- package/lib/esm/UserInformationCard-BPZYRni_.js.map +1 -0
- package/lib/esm/UserInformationCard.js +12 -12
- package/lib/esm/UserOutline.js +8 -8
- package/lib/esm/UserRecords.js +8 -8
- package/lib/esm/UserSearch.js +8 -8
- package/lib/esm/VID.js +8 -8
- package/lib/esm/VIDLogo.js +8 -8
- package/lib/esm/Volunteer-MeQItm7s.js +14 -0
- package/lib/esm/Volunteer-MeQItm7s.js.map +1 -0
- package/lib/esm/Volunteer.js +4 -4
- package/lib/esm/Warning-8SRRDb85.js +14 -0
- package/lib/esm/Warning-8SRRDb85.js.map +1 -0
- package/lib/esm/Warning.js +4 -4
- package/lib/esm/WarningExclaim.js +4 -4
- package/lib/esm/X.js +4 -4
- package/lib/esm/ZipCodeInput.js +30 -30
- package/lib/esm/_tslib-Cea_sJmA.js +113 -0
- package/lib/esm/_tslib-Cea_sJmA.js.map +1 -0
- package/lib/esm/addOrRemoveById.js +135 -135
- package/lib/esm/addOrRemoveString.js +1 -1
- package/lib/esm/altPostalCodeNames.js +29 -29
- package/lib/esm/altRegionNames.js +29 -29
- package/lib/esm/applySsnMask.js +55 -55
- package/lib/esm/applyZipCodeMask.js +53 -53
- package/lib/esm/cardValidationStateMachine.js +236 -236
- package/lib/esm/cerebellumTheme.js +665 -665
- package/lib/esm/colors-D-UTb8yU.js +70 -0
- package/lib/esm/colors-D-UTb8yU.js.map +1 -0
- package/lib/esm/colors.js +445 -444
- package/lib/esm/colors.js.map +1 -1
- package/lib/esm/compressImage.js +21 -21
- package/lib/esm/convertHEICtoPNG.js +57 -57
- package/lib/esm/cortexTheme.js +1 -1
- package/lib/esm/countryList.js +29 -29
- package/lib/esm/countryLookup.js +29 -29
- package/lib/esm/filtering-D9dGwiF6.js +50 -0
- package/lib/esm/filtering-D9dGwiF6.js.map +1 -0
- package/lib/esm/focusAfter.js +16 -16
- package/lib/esm/formatBytesToString.js +33 -33
- package/lib/esm/getInitialsOnly.js +24 -24
- package/lib/esm/getObjectById.js +1 -1
- package/lib/esm/getPosition.js +57 -57
- package/lib/esm/gradients.js +2 -2
- package/lib/esm/helpers-DejVrTlX.js +30 -0
- package/lib/esm/helpers-DejVrTlX.js.map +1 -0
- package/lib/esm/helpers-NrTaiexf.js +4 -0
- package/lib/esm/helpers-NrTaiexf.js.map +1 -0
- package/lib/esm/index.js +385 -390
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/isEmptyObject.js +22 -22
- package/lib/esm/isUSStatesEnum.js +10 -10
- package/lib/esm/loadingPseudo.js +1 -1
- package/lib/esm/makeIdString.js +1 -1
- package/lib/esm/northAmericanNumberingPlanRegex.js +3 -3
- package/lib/esm/northAmericanPhoneMask.js +401 -401
- package/lib/esm/position-CVkhaRf7.js +40 -0
- package/lib/esm/position-CVkhaRf7.js.map +1 -0
- package/lib/esm/pressedEnter.js +72 -72
- package/lib/esm/removeById.js +1 -1
- package/lib/esm/removeByIdArray.js +1 -1
- package/lib/esm/removeString.js +1 -1
- package/lib/esm/replaceObjectById.js +1 -1
- package/lib/esm/setAllKeysToValue.js +1 -1
- package/lib/esm/setObjectById.js +1 -1
- package/lib/esm/showLabel-ClIsfTyB.js +23 -0
- package/lib/esm/showLabel-ClIsfTyB.js.map +1 -0
- package/lib/esm/stateAbbreviationLookup.js +154 -154
- package/lib/esm/toggleObjectById.js +1 -1
- package/lib/esm/types-BkWfiz7J.js +15 -0
- package/lib/esm/types-BkWfiz7J.js.map +1 -0
- package/lib/esm/usCounties.js +3271 -3271
- package/lib/esm/usStates.js +367 -367
- package/lib/esm/useFocus.js +7 -7
- package/lib/esm/useIsomorphicLayoutEffect-Br1zBZHl.js +8 -0
- package/lib/esm/useIsomorphicLayoutEffect-Br1zBZHl.js.map +1 -0
- package/lib/esm/useMeasure-D89v6c_A.js +422 -0
- package/lib/esm/useMeasure-D89v6c_A.js.map +1 -0
- package/lib/esm/useMeasureWatchResize-B9b4IJ01.js +67 -0
- package/lib/esm/useMeasureWatchResize-B9b4IJ01.js.map +1 -0
- package/lib/esm/useMediaQuery.js +13 -13
- package/lib/esm/usePrevious.js +7 -7
- package/lib/types/src/SharedStorybook/ComponentLabel.d.ts +10 -10
- package/lib/types/src/SharedStorybook/ComponentLabelStyles.d.ts +4 -5
- package/lib/types/src/SharedStorybook/DocStyles.d.ts +15 -16
- package/lib/types/src/SharedStorybook/DocsOnly.d.ts +3 -3
- package/lib/types/src/SharedStorybook/ExternalObjects.d.ts +6 -7
- package/lib/types/src/SharedStorybook/GridStyles.d.ts +5 -6
- package/lib/types/src/SharedStorybook/Layout.d.ts +10 -11
- package/lib/types/src/SharedStorybook/MoreMenuRowExample.d.ts +8 -9
- package/lib/types/src/SharedStorybook/Notes.d.ts +4 -5
- package/lib/types/src/SharedStorybook/TextGroup.d.ts +3 -3
- package/lib/types/src/SharedStorybook/TextGroupStyles.d.ts +5 -6
- package/lib/types/src/SharedStorybook/types.d.ts +57 -57
- package/lib/types/src/assets/CerebrumLogo.d.ts +1 -1
- package/lib/types/src/assets/EmptySearchIcon.d.ts +2 -2
- package/lib/types/src/assets/icons/Cerebrum.d.ts +2 -2
- package/lib/types/src/assets/icons/Cognition.d.ts +2 -2
- package/lib/types/src/assets/icons/Cortex.d.ts +2 -2
- package/lib/types/src/assets/icons/Neuron.d.ts +2 -2
- package/lib/types/src/codemods/formatMdxStorybook7Update.d.ts +7 -7
- package/lib/types/src/components/Accordion/Accordion.d.ts +3 -3
- package/lib/types/src/components/Accordion/AccordionStyles.d.ts +2 -3
- package/lib/types/src/components/Accordion/helpers.d.ts +2 -2
- package/lib/types/src/components/Accordion/index.d.ts +4 -4
- package/lib/types/src/components/Accordion/mocks.d.ts +4 -4
- package/lib/types/src/components/Accordion/types.d.ts +44 -44
- package/lib/types/src/components/AddressInput/AddressInput.d.ts +3 -3
- package/lib/types/src/components/AddressInput/AddressInputErrorBoundary.d.ts +10 -10
- package/lib/types/src/components/AddressInput/AddressInputStyles.d.ts +4 -5
- package/lib/types/src/components/AddressInput/index.d.ts +2 -2
- package/lib/types/src/components/AddressInput/types.d.ts +63 -63
- package/lib/types/src/components/AlertCount/AlertCount.d.ts +3 -3
- package/lib/types/src/components/AlertCount/AlertCountStyles.d.ts +3 -4
- package/lib/types/src/components/AlertCount/index.d.ts +3 -3
- package/lib/types/src/components/AlertCount/types.d.ts +34 -34
- package/lib/types/src/components/Avatar/Avatar.d.ts +3 -3
- package/lib/types/src/components/Avatar/AvatarStyles.d.ts +4 -5
- package/lib/types/src/components/Avatar/helpers.d.ts +3 -3
- package/lib/types/src/components/Avatar/index.d.ts +4 -4
- package/lib/types/src/components/Avatar/types.d.ts +38 -38
- package/lib/types/src/components/Button/BoxedButton.d.ts +3 -3
- package/lib/types/src/components/Button/BoxedOutlineButton.d.ts +3 -3
- package/lib/types/src/components/Button/Button.d.ts +3 -3
- package/lib/types/src/components/Button/ButtonComponentStyles.d.ts +15 -16
- package/lib/types/src/components/Button/OutlineButton.d.ts +3 -3
- package/lib/types/src/components/Button/PrimaryButton.d.ts +3 -3
- package/lib/types/src/components/Button/SecondaryButton.d.ts +3 -3
- package/lib/types/src/components/Button/SingleButton.d.ts +3 -3
- package/lib/types/src/components/Button/TextButton.d.ts +3 -3
- package/lib/types/src/components/Button/helpers.d.ts +19 -19
- package/lib/types/src/components/Button/index.d.ts +10 -10
- package/lib/types/src/components/Button/types.d.ts +189 -189
- package/lib/types/src/components/Checkbox/Checkbox.d.ts +3 -3
- package/lib/types/src/components/Checkbox/CheckboxStyles.d.ts +4 -5
- package/lib/types/src/components/Checkbox/index.d.ts +3 -3
- package/lib/types/src/components/Checkbox/types.d.ts +29 -29
- package/lib/types/src/components/CheckboxGroup/CheckboxGroup.d.ts +3 -3
- package/lib/types/src/components/CheckboxGroup/CheckboxGroupStyles.d.ts +3 -4
- package/lib/types/src/components/CheckboxGroup/index.d.ts +4 -4
- package/lib/types/src/components/CheckboxGroup/types.d.ts +52 -52
- package/lib/types/src/components/CheckboxItem/CheckboxItem.d.ts +3 -3
- package/lib/types/src/components/CheckboxItem/CheckboxItemStyles.d.ts +5 -6
- package/lib/types/src/components/CheckboxItem/index.d.ts +3 -3
- package/lib/types/src/components/CheckboxItem/types.d.ts +69 -69
- package/lib/types/src/components/ClearableTag/ClearableTag.d.ts +3 -3
- package/lib/types/src/components/ClearableTag/ClearableTagStyles.d.ts +8 -9
- package/lib/types/src/components/ClearableTag/index.d.ts +3 -3
- package/lib/types/src/components/ClearableTag/types.d.ts +52 -52
- package/lib/types/src/components/ClickOutHandler/ClickOutHandler.d.ts +3 -3
- package/lib/types/src/components/ClickOutHandler/ClickOutHandlerStyles.d.ts +2 -3
- package/lib/types/src/components/ClickOutHandler/ClickoutHandlerStoryStyles.d.ts +3 -4
- package/lib/types/src/components/ClickOutHandler/index.d.ts +3 -3
- package/lib/types/src/components/ClickOutHandler/types.d.ts +11 -12
- package/lib/types/src/components/ColorButton/ColorButton.d.ts +3 -3
- package/lib/types/src/components/ColorButton/ColorButtonStyles.d.ts +3 -4
- package/lib/types/src/components/ColorButton/index.d.ts +3 -3
- package/lib/types/src/components/ColorButton/types.d.ts +42 -42
- package/lib/types/src/components/ColorPickerMenu/ColorPickerMenu.d.ts +3 -3
- package/lib/types/src/components/ColorPickerMenu/ColorPickerMenuStyles.d.ts +3 -4
- package/lib/types/src/components/ColorPickerMenu/index.d.ts +3 -3
- package/lib/types/src/components/ColorPickerMenu/types.d.ts +33 -33
- package/lib/types/src/components/ConfigurableInput/ConfigurableInput.d.ts +3 -3
- package/lib/types/src/components/ConfigurableInput/ConfigurableInputStyles.d.ts +3 -4
- package/lib/types/src/components/ConfigurableInput/index.d.ts +3 -3
- package/lib/types/src/components/ConfigurableInput/mocks.d.ts +40 -40
- package/lib/types/src/components/ConfigurableInput/types.d.ts +59 -59
- package/lib/types/src/components/ConfirmModal/ConfirmModal.d.ts +3 -3
- package/lib/types/src/components/ConfirmModal/ConfirmModalStyles.d.ts +11 -12
- package/lib/types/src/components/ConfirmModal/index.d.ts +3 -3
- package/lib/types/src/components/ConfirmModal/types.d.ts +83 -83
- package/lib/types/src/components/CreditCardInput/CreditCardInput.d.ts +3 -3
- package/lib/types/src/components/CreditCardInput/index.d.ts +3 -3
- package/lib/types/src/components/CreditCardInput/types.d.ts +15 -16
- package/lib/types/src/components/CurrencyInput/CurrencyInput.d.ts +3 -3
- package/lib/types/src/components/CurrencyInput/index.d.ts +3 -3
- package/lib/types/src/components/CurrencyInput/types.d.ts +15 -16
- package/lib/types/src/components/DatePicker/CustomHeader.d.ts +4 -4
- package/lib/types/src/components/DatePicker/DatePicker.d.ts +3 -3
- package/lib/types/src/components/DatePicker/DatePickerStyles.d.ts +17 -18
- package/lib/types/src/components/DatePicker/InlineDatePicker.d.ts +3 -3
- package/lib/types/src/components/DatePicker/InputMask.d.ts +4 -4
- package/lib/types/src/components/DatePicker/helpers.d.ts +1 -1
- package/lib/types/src/components/DatePicker/index.d.ts +4 -4
- package/lib/types/src/components/DatePicker/types.d.ts +149 -150
- package/lib/types/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenu.d.ts +3 -3
- package/lib/types/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenuStyles.d.ts +10 -11
- package/lib/types/src/components/DescriptiveSwitchMenu/index.d.ts +4 -4
- package/lib/types/src/components/DescriptiveSwitchMenu/mocks/options.d.ts +35 -35
- package/lib/types/src/components/DescriptiveSwitchMenu/types.d.ts +55 -56
- package/lib/types/src/components/DigitalInput/DigitalInput.d.ts +3 -3
- package/lib/types/src/components/DigitalInput/DigitalInputStyles.d.ts +3 -4
- package/lib/types/src/components/DigitalInput/index.d.ts +4 -4
- package/lib/types/src/components/DigitalInput/types.d.ts +69 -69
- package/lib/types/src/components/Drawer/Drawer.d.ts +3 -3
- package/lib/types/src/components/Drawer/DrawerDivider/DrawerDivider.d.ts +3 -3
- package/lib/types/src/components/Drawer/DrawerDivider/DrawerDividerStyles.d.ts +2 -3
- package/lib/types/src/components/Drawer/DrawerDivider/index.d.ts +3 -3
- package/lib/types/src/components/Drawer/DrawerDivider/types.d.ts +12 -12
- package/lib/types/src/components/Drawer/DrawerStyles.d.ts +13 -14
- package/lib/types/src/components/Drawer/index.d.ts +3 -3
- package/lib/types/src/components/Drawer/mocks.d.ts +5 -5
- package/lib/types/src/components/Drawer/types.d.ts +92 -92
- package/lib/types/src/components/EmailInput/EmailInput.d.ts +3 -3
- package/lib/types/src/components/EmailInput/index.d.ts +3 -3
- package/lib/types/src/components/EmailInput/types.d.ts +15 -16
- package/lib/types/src/components/FiltersBar/FiltersBar.d.ts +3 -3
- package/lib/types/src/components/FiltersBar/FiltersBarStyles.d.ts +4 -5
- package/lib/types/src/components/FiltersBar/index.d.ts +3 -3
- package/lib/types/src/components/FiltersBar/mocks.d.ts +98 -98
- package/lib/types/src/components/FiltersBar/types.d.ts +30 -30
- package/lib/types/src/components/Footer/Footer.d.ts +3 -3
- package/lib/types/src/components/Footer/FooterStyles.d.ts +15 -16
- package/lib/types/src/components/Footer/index.d.ts +3 -3
- package/lib/types/src/components/Footer/types.d.ts +53 -53
- package/lib/types/src/components/Form/Form.d.ts +3 -3
- package/lib/types/src/components/Form/FormLoader.d.ts +9 -9
- package/lib/types/src/components/Form/FormStyles.d.ts +50 -51
- package/lib/types/src/components/Form/FormikContainer.d.ts +2 -2
- package/lib/types/src/components/Form/const.d.ts +9 -9
- package/lib/types/src/components/Form/fields/AddressField/AddressField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/CheckboxField/CheckboxField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/CheckboxGroupField/CheckboxGroupField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/ConfigurableInputField/ConfigurableInputField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/CountrySelectField/CountrySelectField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/CountrySelectField/DynamicLabelsExample.d.ts +1 -1
- package/lib/types/src/components/Form/fields/CountySelectField/CountySelectField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/CreditCardField/CreditCardField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/CurrencyField/CurrencyField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/DatePickerField/DatePickerField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/DescriptiveDropdownInputField/DescriptiveDropdownInputField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/DescriptiveDropdownInputField/helpers.d.ts +13 -13
- package/lib/types/src/components/Form/fields/EmailField/EmailField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/HiddenField/HiddenField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/ImagePickerField/ImagePickerField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/MultiSelectField/MultiSelectField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/NumberField/NumberField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/PasswordField/PasswordField.d.ts +3 -3
- package/lib/types/src/components/Form/fields/PhoneField/PhoneField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/RadioGroupField/RadioGroupField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/RemovableField/RemovableField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/SectionHeader/SectionHeader.d.ts +4 -4
- package/lib/types/src/components/Form/fields/SectionHeader/SectionHeaderStyles.d.ts +8 -9
- package/lib/types/src/components/Form/fields/SelectField/SelectField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/SocialSecurityField/SocialSecurityField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/SplitLineField/SplitLineField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/StateSelectField/StateSelectField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/TextField/TextField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/TextareaField/TextareaField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/ToggleField/ToggleField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/ToggleGroupField/ToggleGroupField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/ZipCodeField/ZipCodeField.d.ts +4 -4
- package/lib/types/src/components/Form/fields/index.d.ts +30 -30
- package/lib/types/src/components/Form/helpers.d.ts +19 -19
- package/lib/types/src/components/Form/index.d.ts +5 -5
- package/lib/types/src/components/Form/mocks/fields.d.ts +1361 -1361
- package/lib/types/src/components/Form/mocks/options.d.ts +9 -9
- package/lib/types/src/components/Form/mocks/switches.d.ts +16 -16
- package/lib/types/src/components/Form/mocks/testingComponents.d.ts +4 -4
- package/lib/types/src/components/Form/mocks/testingFields.d.ts +3319 -3319
- package/lib/types/src/components/Form/stories/DynamicFormsExample.d.ts +3 -3
- package/lib/types/src/components/Form/stories/ExternalSubmitExample.d.ts +3 -3
- package/lib/types/src/components/Form/types.d.ts +1244 -1244
- package/lib/types/src/components/HorizontalTabMenu/HorizontalTabMenu.d.ts +3 -3
- package/lib/types/src/components/HorizontalTabMenu/HorizontalTabMenuStyles.d.ts +11 -12
- package/lib/types/src/components/HorizontalTabMenu/index.d.ts +3 -3
- package/lib/types/src/components/HorizontalTabMenu/types.d.ts +107 -107
- package/lib/types/src/components/IconButton/IconButton.d.ts +3 -3
- package/lib/types/src/components/IconButton/IconButtonStyles.d.ts +3 -4
- package/lib/types/src/components/IconButton/index.d.ts +3 -3
- package/lib/types/src/components/IconButton/types.d.ts +44 -44
- package/lib/types/src/components/IconTile/IconTile.d.ts +3 -3
- package/lib/types/src/components/IconTile/IconTileStyles.d.ts +9 -10
- package/lib/types/src/components/IconTile/index.d.ts +3 -3
- package/lib/types/src/components/IconTile/types.d.ts +50 -50
- package/lib/types/src/components/Icons/AltIdBack.d.ts +2 -2
- package/lib/types/src/components/Icons/AltIdFront.d.ts +2 -2
- package/lib/types/src/components/Icons/Arrow.d.ts +2 -2
- package/lib/types/src/components/Icons/ArrowLong.d.ts +2 -2
- package/lib/types/src/components/Icons/ArrowUp.d.ts +2 -2
- package/lib/types/src/components/Icons/Assign.d.ts +2 -2
- package/lib/types/src/components/Icons/Attachment.d.ts +2 -2
- package/lib/types/src/components/Icons/BackgroundCheck.d.ts +2 -2
- package/lib/types/src/components/Icons/BellOutline.d.ts +2 -2
- package/lib/types/src/components/Icons/Calendar.d.ts +2 -2
- package/lib/types/src/components/Icons/CaretDown.d.ts +2 -2
- package/lib/types/src/components/Icons/CaretLeft.d.ts +2 -2
- package/lib/types/src/components/Icons/CaretRight.d.ts +2 -2
- package/lib/types/src/components/Icons/CaretUp.d.ts +2 -2
- package/lib/types/src/components/Icons/Cart.d.ts +2 -2
- package/lib/types/src/components/Icons/ChatBubbleLines.d.ts +2 -2
- package/lib/types/src/components/Icons/Check.d.ts +2 -2
- package/lib/types/src/components/Icons/CheckboxEmpty.d.ts +2 -2
- package/lib/types/src/components/Icons/CheckboxFull.d.ts +2 -2
- package/lib/types/src/components/Icons/CheckedOff.d.ts +2 -2
- package/lib/types/src/components/Icons/CheckmarkCircle.d.ts +2 -2
- package/lib/types/src/components/Icons/Clear.d.ts +2 -2
- package/lib/types/src/components/Icons/Close.d.ts +2 -2
- package/lib/types/src/components/Icons/CloseCircle.d.ts +2 -2
- package/lib/types/src/components/Icons/Code.d.ts +2 -2
- package/lib/types/src/components/Icons/CodeDoc.d.ts +2 -2
- package/lib/types/src/components/Icons/Communication.d.ts +2 -2
- package/lib/types/src/components/Icons/Configure.d.ts +2 -2
- package/lib/types/src/components/Icons/Contact.d.ts +2 -2
- package/lib/types/src/components/Icons/CovidTest.d.ts +2 -2
- package/lib/types/src/components/Icons/CovidVaccineCard.d.ts +2 -2
- package/lib/types/src/components/Icons/CreditCard.d.ts +2 -2
- package/lib/types/src/components/Icons/CsvDoc.d.ts +2 -2
- package/lib/types/src/components/Icons/Dashboard.d.ts +2 -2
- package/lib/types/src/components/Icons/Delete.d.ts +2 -2
- package/lib/types/src/components/Icons/DesktopSelfie.d.ts +2 -2
- package/lib/types/src/components/Icons/Document.d.ts +2 -2
- package/lib/types/src/components/Icons/Dollar.d.ts +2 -2
- package/lib/types/src/components/Icons/Download.d.ts +2 -2
- package/lib/types/src/components/Icons/DownloadDocument.d.ts +2 -2
- package/lib/types/src/components/Icons/Drag.d.ts +2 -2
- package/lib/types/src/components/Icons/Duplicate.d.ts +2 -2
- package/lib/types/src/components/Icons/Edit.d.ts +2 -2
- package/lib/types/src/components/Icons/Ellipsis.d.ts +2 -2
- package/lib/types/src/components/Icons/Email.d.ts +2 -2
- package/lib/types/src/components/Icons/Employee.d.ts +2 -2
- package/lib/types/src/components/Icons/Eye.d.ts +2 -2
- package/lib/types/src/components/Icons/EyeOff.d.ts +2 -2
- package/lib/types/src/components/Icons/Facebook.d.ts +2 -2
- package/lib/types/src/components/Icons/File.d.ts +2 -2
- package/lib/types/src/components/Icons/FileComplete.d.ts +2 -2
- package/lib/types/src/components/Icons/FileError.d.ts +2 -2
- package/lib/types/src/components/Icons/Filter.d.ts +2 -2
- package/lib/types/src/components/Icons/Filters.d.ts +2 -2
- package/lib/types/src/components/Icons/Folder.d.ts +2 -2
- package/lib/types/src/components/Icons/FolderClosed.d.ts +2 -2
- package/lib/types/src/components/Icons/FolderOpen.d.ts +2 -2
- package/lib/types/src/components/Icons/Gear.d.ts +2 -2
- package/lib/types/src/components/Icons/GitHub.d.ts +2 -2
- package/lib/types/src/components/Icons/Grid.d.ts +2 -2
- package/lib/types/src/components/Icons/Heart.d.ts +2 -2
- package/lib/types/src/components/Icons/Help.d.ts +2 -2
- package/lib/types/src/components/Icons/Home.d.ts +2 -2
- package/lib/types/src/components/Icons/ID.d.ts +2 -2
- package/lib/types/src/components/Icons/IconComponentStyles.d.ts +8 -9
- package/lib/types/src/components/Icons/IconList.d.ts +3 -3
- package/lib/types/src/components/Icons/IdBack.d.ts +2 -2
- package/lib/types/src/components/Icons/IdFront.d.ts +2 -2
- package/lib/types/src/components/Icons/IdReverse.d.ts +2 -2
- package/lib/types/src/components/Icons/Inactive.d.ts +2 -2
- package/lib/types/src/components/Icons/IndicatorDown.d.ts +2 -2
- package/lib/types/src/components/Icons/IndicatorSide.d.ts +2 -2
- package/lib/types/src/components/Icons/InfoCircle.d.ts +2 -2
- package/lib/types/src/components/Icons/Key.d.ts +2 -2
- package/lib/types/src/components/Icons/Lightning.d.ts +2 -2
- package/lib/types/src/components/Icons/LinkedIn.d.ts +2 -2
- package/lib/types/src/components/Icons/List.d.ts +2 -2
- package/lib/types/src/components/Icons/Location.d.ts +2 -2
- package/lib/types/src/components/Icons/LocationPin.d.ts +2 -2
- package/lib/types/src/components/Icons/Lock.d.ts +2 -2
- package/lib/types/src/components/Icons/LogOut.d.ts +2 -2
- package/lib/types/src/components/Icons/Menu.d.ts +2 -2
- package/lib/types/src/components/Icons/MinusCircle.d.ts +2 -2
- package/lib/types/src/components/Icons/Mobile.d.ts +2 -2
- package/lib/types/src/components/Icons/Money.d.ts +2 -2
- package/lib/types/src/components/Icons/No.d.ts +2 -2
- package/lib/types/src/components/Icons/Orders.d.ts +2 -2
- package/lib/types/src/components/Icons/PDF.d.ts +2 -2
- package/lib/types/src/components/Icons/Package.d.ts +2 -2
- package/lib/types/src/components/Icons/PackageDownArrow.d.ts +2 -2
- package/lib/types/src/components/Icons/Phone.d.ts +2 -2
- package/lib/types/src/components/Icons/PlusCircle.d.ts +2 -2
- package/lib/types/src/components/Icons/Print.d.ts +2 -2
- package/lib/types/src/components/Icons/Queue.d.ts +2 -2
- package/lib/types/src/components/Icons/RadioEmpty.d.ts +2 -2
- package/lib/types/src/components/Icons/RadioFull.d.ts +2 -2
- package/lib/types/src/components/Icons/Reporting.d.ts +2 -2
- package/lib/types/src/components/Icons/Resend.d.ts +2 -2
- package/lib/types/src/components/Icons/Search.d.ts +2 -2
- package/lib/types/src/components/Icons/Selfie.d.ts +2 -2
- package/lib/types/src/components/Icons/SelfiePhone.d.ts +2 -2
- package/lib/types/src/components/Icons/Send.d.ts +2 -2
- package/lib/types/src/components/Icons/Settings.d.ts +2 -2
- package/lib/types/src/components/Icons/Share.d.ts +2 -2
- package/lib/types/src/components/Icons/SignDoc.d.ts +2 -2
- package/lib/types/src/components/Icons/Sort.d.ts +2 -2
- package/lib/types/src/components/Icons/Ssn.d.ts +2 -2
- package/lib/types/src/components/Icons/Star.d.ts +2 -2
- package/lib/types/src/components/Icons/Status.d.ts +2 -2
- package/lib/types/src/components/Icons/Stop.d.ts +2 -2
- package/lib/types/src/components/Icons/SubOrg.d.ts +2 -2
- package/lib/types/src/components/Icons/Switcher.d.ts +2 -2
- package/lib/types/src/components/Icons/Tenant.d.ts +2 -2
- package/lib/types/src/components/Icons/Timer.d.ts +2 -2
- package/lib/types/src/components/Icons/Twitter.d.ts +2 -2
- package/lib/types/src/components/Icons/Update.d.ts +2 -2
- package/lib/types/src/components/Icons/Upload.d.ts +2 -2
- package/lib/types/src/components/Icons/UploadDocument.d.ts +2 -2
- package/lib/types/src/components/Icons/User.d.ts +2 -2
- package/lib/types/src/components/Icons/UserAdd.d.ts +2 -2
- package/lib/types/src/components/Icons/UserOutline.d.ts +2 -2
- package/lib/types/src/components/Icons/UserRecords.d.ts +2 -2
- package/lib/types/src/components/Icons/UserSearch.d.ts +2 -2
- package/lib/types/src/components/Icons/VID.d.ts +2 -2
- package/lib/types/src/components/Icons/VIDLogo.d.ts +2 -2
- package/lib/types/src/components/Icons/Volunteer.d.ts +2 -2
- package/lib/types/src/components/Icons/Warning.d.ts +2 -2
- package/lib/types/src/components/Icons/exportHack/ClipboardAndOrders.d.ts +2 -2
- package/lib/types/src/components/Icons/exportHack/CloseAndX.d.ts +2 -2
- package/lib/types/src/components/Icons/exportHack/DeleteAndTrash.d.ts +2 -2
- package/lib/types/src/components/Icons/exportHack/GearAndSettings.d.ts +2 -2
- package/lib/types/src/components/Icons/exportHack/HeartAndVolunteer.d.ts +2 -2
- package/lib/types/src/components/Icons/exportHack/WarningAndWarningExclaim.d.ts +2 -2
- package/lib/types/src/components/Icons/index.d.ts +131 -131
- package/lib/types/src/components/Icons/types.d.ts +27 -27
- package/lib/types/src/components/ImagePicker/ImagePicker.d.ts +3 -3
- package/lib/types/src/components/ImagePicker/ImagePickerStyles.d.ts +17 -18
- package/lib/types/src/components/ImagePicker/index.d.ts +3 -3
- package/lib/types/src/components/ImagePicker/types.d.ts +116 -116
- package/lib/types/src/components/InlineCreditCardInput/InlineCreditCardInput.d.ts +3 -3
- package/lib/types/src/components/InlineCreditCardInput/creditCardValidators.d.ts +3 -3
- package/lib/types/src/components/InlineCreditCardInput/helpers.d.ts +30 -30
- package/lib/types/src/components/InlineCreditCardInput/index.d.ts +4 -4
- package/lib/types/src/components/InlineCreditCardInput/types.d.ts +29 -29
- package/lib/types/src/components/InlineCurrencyInput/InlineCurrencyInput.d.ts +3 -3
- package/lib/types/src/components/InlineCurrencyInput/helpers.d.ts +5 -5
- package/lib/types/src/components/InlineCurrencyInput/index.d.ts +4 -4
- package/lib/types/src/components/InlineCurrencyInput/types.d.ts +17 -17
- package/lib/types/src/components/InlineEmailInput/InlineEmailInput.d.ts +3 -3
- package/lib/types/src/components/InlineEmailInput/index.d.ts +3 -3
- package/lib/types/src/components/InlineEmailInput/types.d.ts +9 -9
- package/lib/types/src/components/InlineInput/InlineInput.d.ts +3 -3
- package/lib/types/src/components/InlineInput/helpers.d.ts +2 -2
- package/lib/types/src/components/InlineInput/index.d.ts +3 -3
- package/lib/types/src/components/InlineInput/types.d.ts +140 -140
- package/lib/types/src/components/InlinePhoneInput/InlinePhoneInput.d.ts +3 -3
- package/lib/types/src/components/InlinePhoneInput/helpers.d.ts +2 -2
- package/lib/types/src/components/InlinePhoneInput/index.d.ts +4 -4
- package/lib/types/src/components/InlinePhoneInput/types.d.ts +33 -33
- package/lib/types/src/components/Input/Input.d.ts +3 -3
- package/lib/types/src/components/Input/helpers.d.ts +1 -1
- package/lib/types/src/components/Input/index.d.ts +3 -3
- package/lib/types/src/components/Input/types.d.ts +15 -16
- package/lib/types/src/components/InputButton/InlineInputButton.d.ts +3 -3
- package/lib/types/src/components/InputButton/InputButton.d.ts +3 -3
- package/lib/types/src/components/InputButton/InputButtonStyles.d.ts +11 -12
- package/lib/types/src/components/InputButton/helpers.d.ts +2 -2
- package/lib/types/src/components/InputButton/index.d.ts +4 -4
- package/lib/types/src/components/InputButton/types.d.ts +150 -150
- package/lib/types/src/components/InteriorSidebar/InteriorSidebar.d.ts +3 -3
- package/lib/types/src/components/InteriorSidebar/InteriorSidebarStyles.d.ts +10 -11
- package/lib/types/src/components/InteriorSidebar/index.d.ts +3 -3
- package/lib/types/src/components/InteriorSidebar/types.d.ts +107 -108
- package/lib/types/src/components/LabelledIconGroup/LabelledIconGroup.d.ts +3 -3
- package/lib/types/src/components/LabelledIconGroup/LabelledIconGroupStyles.d.ts +9 -10
- package/lib/types/src/components/LabelledIconGroup/index.d.ts +4 -4
- package/lib/types/src/components/LabelledIconGroup/mocks.d.ts +3 -3
- package/lib/types/src/components/LabelledIconGroup/types.d.ts +15 -15
- package/lib/types/src/components/LoadingEllipsis/LoadingEllipsis.d.ts +3 -3
- package/lib/types/src/components/LoadingEllipsis/LoadingEllipsisStyles.d.ts +3 -4
- package/lib/types/src/components/LoadingEllipsis/index.d.ts +3 -3
- package/lib/types/src/components/LoadingEllipsis/types.d.ts +23 -23
- package/lib/types/src/components/LogoSidebar/LogoSidebar.d.ts +3 -3
- package/lib/types/src/components/LogoSidebar/LogoSidebarStyles.d.ts +8 -9
- package/lib/types/src/components/LogoSidebar/index.d.ts +4 -4
- package/lib/types/src/components/LogoSidebar/mockLinks.d.ts +26 -26
- package/lib/types/src/components/LogoSidebar/types.d.ts +44 -44
- package/lib/types/src/components/Modal/Modal.d.ts +3 -3
- package/lib/types/src/components/Modal/index.d.ts +3 -3
- package/lib/types/src/components/Modal/modalStyles.d.ts +6 -7
- package/lib/types/src/components/Modal/types.d.ts +59 -59
- package/lib/types/src/components/PasswordInput/InlinePasswordInput.d.ts +3 -3
- package/lib/types/src/components/PasswordInput/PasswordInput.d.ts +5 -5
- package/lib/types/src/components/PasswordInput/PasswordInputStyles.d.ts +9 -10
- package/lib/types/src/components/PasswordInput/helpers.d.ts +2 -2
- package/lib/types/src/components/PasswordInput/index.d.ts +4 -4
- package/lib/types/src/components/PasswordInput/types.d.ts +10 -10
- package/lib/types/src/components/PhoneInput/PhoneInput.d.ts +3 -3
- package/lib/types/src/components/PhoneInput/index.d.ts +3 -3
- package/lib/types/src/components/PhoneInput/types.d.ts +15 -16
- package/lib/types/src/components/PieChart/PieChart.d.ts +3 -3
- package/lib/types/src/components/PieChart/PieChartStyles.d.ts +2 -3
- package/lib/types/src/components/PieChart/index.d.ts +4 -4
- package/lib/types/src/components/PieChart/types.d.ts +24 -24
- package/lib/types/src/components/RJSForm/RJSForm.d.ts +3 -3
- package/lib/types/src/components/RJSForm/RJSFormStyles.d.ts +8 -9
- package/lib/types/src/components/RJSForm/const.d.ts +3 -3
- package/lib/types/src/components/RJSForm/fields/ArrayField.d.ts +2 -2
- package/lib/types/src/components/RJSForm/fields/CheckboxField.d.ts +20 -20
- package/lib/types/src/components/RJSForm/fields/DateField.d.ts +20 -20
- package/lib/types/src/components/RJSForm/fields/FileField.d.ts +20 -0
- package/lib/types/src/components/RJSForm/fields/HiddenField.d.ts +25 -25
- package/lib/types/src/components/RJSForm/fields/NumberField.d.ts +20 -20
- package/lib/types/src/components/RJSForm/fields/PhoneField.d.ts +13 -13
- package/lib/types/src/components/RJSForm/fields/SelectField.d.ts +20 -20
- package/lib/types/src/components/RJSForm/fields/TextField.d.ts +20 -20
- package/lib/types/src/components/RJSForm/fields/index.d.ts +16 -14
- package/lib/types/src/components/RJSForm/helpers.d.ts +5 -5
- package/lib/types/src/components/RJSForm/index.d.ts +5 -5
- package/lib/types/src/components/RJSForm/mocks/array.d.ts +2 -2
- package/lib/types/src/components/RJSForm/mocks/covidExemption.d.ts +2 -2
- package/lib/types/src/components/RJSForm/mocks/covidVaccination.d.ts +2 -2
- package/lib/types/src/components/RJSForm/mocks/fileField.d.ts +4 -0
- package/lib/types/src/components/RJSForm/mocks/fluExemption.d.ts +2 -2
- package/lib/types/src/components/RJSForm/mocks/fluVaccination.d.ts +2 -2
- package/lib/types/src/components/RJSForm/mocks/hello.d.ts +10 -10
- package/lib/types/src/components/RJSForm/types.d.ts +44 -43
- package/lib/types/src/components/RJSFormRenderer/RJSFormRenderer.d.ts +3 -3
- package/lib/types/src/components/RJSFormRenderer/RJSFormRendererStyles.d.ts +6 -7
- package/lib/types/src/components/RJSFormRenderer/helpers/formatDate.d.ts +1 -1
- package/lib/types/src/components/RJSFormRenderer/helpers/isCheckbox.d.ts +2 -2
- package/lib/types/src/components/RJSFormRenderer/helpers/isDate.d.ts +2 -2
- package/lib/types/src/components/RJSFormRenderer/helpers/isPhone.d.ts +2 -2
- package/lib/types/src/components/RJSFormRenderer/helpers/orderSchemaKeys.d.ts +8 -8
- package/lib/types/src/components/RJSFormRenderer/index.d.ts +3 -3
- package/lib/types/src/components/RJSFormRenderer/mocks.d.ts +15 -15
- package/lib/types/src/components/RJSFormRenderer/types.d.ts +49 -49
- package/lib/types/src/components/Radio/Radio.d.ts +3 -3
- package/lib/types/src/components/Radio/RadioStyles.d.ts +3 -4
- package/lib/types/src/components/Radio/index.d.ts +3 -3
- package/lib/types/src/components/Radio/types.d.ts +27 -27
- package/lib/types/src/components/RadioGroup/RadioGroup.d.ts +3 -3
- package/lib/types/src/components/RadioGroup/RadioGroupStyles.d.ts +3 -4
- package/lib/types/src/components/RadioGroup/index.d.ts +4 -4
- package/lib/types/src/components/RadioGroup/types.d.ts +50 -50
- package/lib/types/src/components/RadioItem/RadioItem.d.ts +3 -3
- package/lib/types/src/components/RadioItem/RadioItemStyles.d.ts +5 -6
- package/lib/types/src/components/RadioItem/index.d.ts +3 -3
- package/lib/types/src/components/RadioItem/types.d.ts +41 -41
- package/lib/types/src/components/SearchMenu/SearchMenu.d.ts +3 -3
- package/lib/types/src/components/SearchMenu/SearchMenuStyles.d.ts +20 -20
- package/lib/types/src/components/SearchMenu/index.d.ts +4 -4
- package/lib/types/src/components/SearchMenu/types.d.ts +149 -149
- package/lib/types/src/components/Select/Select.d.ts +3 -3
- package/lib/types/src/components/Select/SelectStyles.d.ts +25 -26
- package/lib/types/src/components/Select/helpers.d.ts +3 -3
- package/lib/types/src/components/Select/index.d.ts +3 -3
- package/lib/types/src/components/Select/types.d.ts +155 -156
- package/lib/types/src/components/SelectSearch/SelectSearch.d.ts +3 -3
- package/lib/types/src/components/SelectSearch/SelectSearchStyles.d.ts +6 -7
- package/lib/types/src/components/SelectSearch/index.d.ts +3 -3
- package/lib/types/src/components/SelectSearch/mocks.d.ts +4 -4
- package/lib/types/src/components/SelectSearch/types.d.ts +81 -81
- package/lib/types/src/components/SlideIn/SlideIn.d.ts +3 -3
- package/lib/types/src/components/SlideIn/SlideInStyles.d.ts +5 -6
- package/lib/types/src/components/SlideIn/index.d.ts +3 -3
- package/lib/types/src/components/SlideIn/types.d.ts +75 -75
- package/lib/types/src/components/SnackContainer/Bar.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/Dialog.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/DialogHandler.d.ts +9 -9
- package/lib/types/src/components/SnackContainer/SnackContainer.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/Toast.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/helpers/hasId.d.ts +5 -5
- package/lib/types/src/components/SnackContainer/index.d.ts +5 -5
- package/lib/types/src/components/SnackContainer/reducer.d.ts +9 -9
- package/lib/types/src/components/SnackContainer/storybook/DuplicateIdExample.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/storybook/MultipleToastsExample.d.ts +1 -1
- package/lib/types/src/components/SnackContainer/storybook/SnackDialogExample.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/storybook/SnackbarExample.d.ts +1 -1
- package/lib/types/src/components/SnackContainer/storybook/ToastExample.d.ts +3 -3
- package/lib/types/src/components/SnackContainer/styles.d.ts +13 -14
- package/lib/types/src/components/SnackContainer/types.d.ts +170 -170
- package/lib/types/src/components/SsnInput/InlineSsnInput.d.ts +3 -3
- package/lib/types/src/components/SsnInput/SsnInput.d.ts +3 -3
- package/lib/types/src/components/SsnInput/helpers.d.ts +6 -6
- package/lib/types/src/components/SsnInput/index.d.ts +5 -5
- package/lib/types/src/components/SsnInput/types.d.ts +40 -41
- package/lib/types/src/components/StatusIndicator/StatusIndicator.d.ts +3 -3
- package/lib/types/src/components/StatusIndicator/StatusIndicatorStyles.d.ts +3 -4
- package/lib/types/src/components/StatusIndicator/index.d.ts +3 -3
- package/lib/types/src/components/StatusIndicator/types.d.ts +45 -45
- package/lib/types/src/components/Stepper/Stepper.d.ts +3 -3
- package/lib/types/src/components/Stepper/StepperStyles.d.ts +24 -25
- package/lib/types/src/components/Stepper/index.d.ts +4 -4
- package/lib/types/src/components/Stepper/mockSteps.d.ts +3 -3
- package/lib/types/src/components/Stepper/showFooterText.d.ts +4 -4
- package/lib/types/src/components/Stepper/types.d.ts +102 -102
- package/lib/types/src/components/TabModal/TabModal.d.ts +3 -3
- package/lib/types/src/components/TabModal/TabModalStyles.d.ts +11 -12
- package/lib/types/src/components/TabModal/examples/Stepper.d.ts +2 -2
- package/lib/types/src/components/TabModal/index.d.ts +4 -4
- package/lib/types/src/components/TabModal/mocks.d.ts +5 -5
- package/lib/types/src/components/TabModal/types.d.ts +80 -80
- package/lib/types/src/components/Table/CheckboxHeader.d.ts +4 -4
- package/lib/types/src/components/Table/EditCell.d.ts +4 -4
- package/lib/types/src/components/Table/LoadingRows.d.ts +2 -2
- package/lib/types/src/components/Table/NumberGrid.d.ts +4 -4
- package/lib/types/src/components/Table/Row.d.ts +4 -4
- package/lib/types/src/components/Table/Table.d.ts +3 -3
- package/lib/types/src/components/Table/TableOptionLabel.d.ts +3 -3
- package/lib/types/src/components/Table/TableStyles.d.ts +60 -61
- package/lib/types/src/components/Table/const.d.ts +2 -2
- package/lib/types/src/components/Table/examples/ClickableCells.d.ts +2 -2
- package/lib/types/src/components/Table/examples/ExampleStyles.d.ts +2 -3
- package/lib/types/src/components/Table/examples/ExternalPagination.d.ts +7 -7
- package/lib/types/src/components/Table/helpers.d.ts +11 -12
- package/lib/types/src/components/Table/index.d.ts +5 -5
- package/lib/types/src/components/Table/mocks/MockStyles.d.ts +10 -11
- package/lib/types/src/components/Table/mocks/bigTableRows.d.ts +12 -12
- package/lib/types/src/components/Table/mocks/mockColumns.d.ts +24 -24
- package/lib/types/src/components/Table/mocks/mockRows.d.ts +79 -79
- package/lib/types/src/components/Table/stories/templates.d.ts +2 -2
- package/lib/types/src/components/Table/stories/types.d.ts +10 -10
- package/lib/types/src/components/Table/tableReducer.d.ts +35 -35
- package/lib/types/src/components/Table/types.d.ts +523 -523
- package/lib/types/src/components/TextLink/TextLink.d.ts +3 -3
- package/lib/types/src/components/TextLink/TextLinkStyles.d.ts +8 -9
- package/lib/types/src/components/TextLink/helpers.d.ts +3 -4
- package/lib/types/src/components/TextLink/index.d.ts +3 -3
- package/lib/types/src/components/TextLink/types.d.ts +67 -67
- package/lib/types/src/components/Textarea/InlineTextarea.d.ts +3 -3
- package/lib/types/src/components/Textarea/ResizeIcon.d.ts +3 -3
- package/lib/types/src/components/Textarea/Textarea.d.ts +3 -3
- package/lib/types/src/components/Textarea/TextareaStyles.d.ts +6 -7
- package/lib/types/src/components/Textarea/helpers.d.ts +1 -1
- package/lib/types/src/components/Textarea/index.d.ts +5 -5
- package/lib/types/src/components/Textarea/types.d.ts +113 -113
- package/lib/types/src/components/ThemeProvider/ThemeProvider.d.ts +8 -8
- package/lib/types/src/components/Toggle/Toggle.d.ts +3 -3
- package/lib/types/src/components/Toggle/ToggleStyles.d.ts +8 -9
- package/lib/types/src/components/Toggle/index.d.ts +3 -3
- package/lib/types/src/components/Toggle/types.d.ts +75 -75
- package/lib/types/src/components/ToggleButtons/ToggleButtons.d.ts +3 -3
- package/lib/types/src/components/ToggleButtons/ToggleButtonsStyles.d.ts +5 -6
- package/lib/types/src/components/ToggleButtons/index.d.ts +3 -3
- package/lib/types/src/components/ToggleButtons/types.d.ts +56 -56
- package/lib/types/src/components/ToggleGroup/ToggleGroup.d.ts +3 -3
- package/lib/types/src/components/ToggleGroup/ToggleGroupStyles.d.ts +3 -4
- package/lib/types/src/components/ToggleGroup/index.d.ts +4 -4
- package/lib/types/src/components/ToggleGroup/types.d.ts +47 -47
- package/lib/types/src/components/ToggleItem/ToggleItem.d.ts +3 -3
- package/lib/types/src/components/ToggleItem/ToggleItemStyles.d.ts +6 -7
- package/lib/types/src/components/ToggleItem/index.d.ts +3 -3
- package/lib/types/src/components/ToggleItem/types.d.ts +54 -54
- package/lib/types/src/components/Tooltip/StoryTooltipExample.d.ts +3 -3
- package/lib/types/src/components/Tooltip/Tooltip.d.ts +3 -3
- package/lib/types/src/components/Tooltip/TooltipStyles.d.ts +10 -11
- package/lib/types/src/components/Tooltip/helpers.d.ts +3 -3
- package/lib/types/src/components/Tooltip/index.d.ts +3 -3
- package/lib/types/src/components/Tooltip/types.d.ts +48 -48
- package/lib/types/src/components/TooltipLabel/TooltipLabel.d.ts +3 -3
- package/lib/types/src/components/TooltipLabel/TooltipLabelStyles.d.ts +3 -4
- package/lib/types/src/components/TooltipLabel/index.d.ts +4 -4
- package/lib/types/src/components/TooltipLabel/types.d.ts +45 -45
- package/lib/types/src/components/TooltipOptions/StoryTooltipOptionsExample.d.ts +3 -3
- package/lib/types/src/components/TooltipOptions/TooltipOptions.d.ts +3 -3
- package/lib/types/src/components/TooltipOptions/TooltipOptionsStyles.d.ts +17 -18
- package/lib/types/src/components/TooltipOptions/index.d.ts +4 -4
- package/lib/types/src/components/TooltipOptions/mockOptions.d.ts +16 -16
- package/lib/types/src/components/TooltipOptions/types.d.ts +44 -44
- package/lib/types/src/components/Truncate/Truncate.d.ts +3 -3
- package/lib/types/src/components/Truncate/TruncateArray.d.ts +3 -3
- package/lib/types/src/components/Truncate/TruncatePicker.d.ts +3 -3
- package/lib/types/src/components/Truncate/TruncateStyles.d.ts +2 -3
- package/lib/types/src/components/Truncate/helpers.d.ts +1 -1
- package/lib/types/src/components/Truncate/index.d.ts +4 -4
- package/lib/types/src/components/Truncate/types.d.ts +40 -40
- package/lib/types/src/components/Typography/Typography.d.ts +3 -3
- package/lib/types/src/components/Typography/helpers.d.ts +10 -10
- package/lib/types/src/components/Typography/index.d.ts +3 -3
- package/lib/types/src/components/Typography/types.d.ts +52 -52
- package/lib/types/src/components/UploadDropzone/UploadDropzone.d.ts +3 -3
- package/lib/types/src/components/UploadDropzone/UploadDropzoneStyles.d.ts +18 -18
- package/lib/types/src/components/UploadDropzone/helpers.d.ts +5 -5
- package/lib/types/src/components/UploadDropzone/index.d.ts +4 -4
- package/lib/types/src/components/UploadDropzone/types.d.ts +89 -81
- package/lib/types/src/components/UserCard/UserCard.d.ts +3 -3
- package/lib/types/src/components/UserCard/UserCardModal.d.ts +2 -2
- package/lib/types/src/components/UserCard/UserCardStyles.d.ts +28 -29
- package/lib/types/src/components/UserCard/const.d.ts +4 -4
- package/lib/types/src/components/UserCard/index.d.ts +4 -4
- package/lib/types/src/components/UserCard/types.d.ts +120 -120
- package/lib/types/src/components/UserInformationCard/UserInformationCard.d.ts +3 -3
- package/lib/types/src/components/UserInformationCard/UserInformationCardStyles.d.ts +20 -21
- package/lib/types/src/components/UserInformationCard/helpers.d.ts +9 -9
- package/lib/types/src/components/UserInformationCard/index.d.ts +3 -3
- package/lib/types/src/components/UserInformationCard/types.d.ts +99 -99
- package/lib/types/src/components/ZipCodeInput/InlineZipCodeInput.d.ts +3 -3
- package/lib/types/src/components/ZipCodeInput/ZipCodeInput.d.ts +3 -3
- package/lib/types/src/components/ZipCodeInput/helpers.d.ts +5 -5
- package/lib/types/src/components/ZipCodeInput/index.d.ts +5 -5
- package/lib/types/src/components/ZipCodeInput/types.d.ts +36 -37
- package/lib/types/src/configuredComponents/AddButton/AddButton.d.ts +4 -4
- package/lib/types/src/configuredComponents/AddButton/AddButtonStyles.d.ts +1 -2
- package/lib/types/src/configuredComponents/AddButton/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/AddButton/types.d.ts +5 -5
- package/lib/types/src/configuredComponents/AddMenu/AddMenu.d.ts +3 -3
- package/lib/types/src/configuredComponents/AddMenu/AddMenuStyles.d.ts +2 -3
- package/lib/types/src/configuredComponents/AddMenu/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/AddMenu/types.d.ts +61 -61
- package/lib/types/src/configuredComponents/ColorDotDropdown/ColorDotDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/ColorDotDropdown/ColorDotDropdownStyles.d.ts +2 -3
- package/lib/types/src/configuredComponents/ColorDotDropdown/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/ColorDotDropdown/mocks.d.ts +12 -12
- package/lib/types/src/configuredComponents/ColorDotDropdown/types.d.ts +19 -19
- package/lib/types/src/configuredComponents/ColorPicker/ColorPicker.d.ts +3 -3
- package/lib/types/src/configuredComponents/ColorPicker/ColorPickerStyles.d.ts +1 -2
- package/lib/types/src/configuredComponents/ColorPicker/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/ColorPicker/types.d.ts +39 -39
- package/lib/types/src/configuredComponents/CountryDropdown/CountryDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/CountryDropdown/CountryDropdownStyles.d.ts +1 -2
- package/lib/types/src/configuredComponents/CountryDropdown/Flag.d.ts +3 -3
- package/lib/types/src/configuredComponents/CountryDropdown/countryList.d.ts +318 -318
- package/lib/types/src/configuredComponents/CountryDropdown/flagImports.d.ts +256 -256
- package/lib/types/src/configuredComponents/CountryDropdown/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/CountryDropdown/types.d.ts +7 -8
- package/lib/types/src/configuredComponents/CountyDropdown/CountyDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/CountyDropdown/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/CountyDropdown/types.d.ts +8 -9
- package/lib/types/src/configuredComponents/DescriptiveDropdownInput/DescriptiveDropdownInput.d.ts +3 -3
- package/lib/types/src/configuredComponents/DescriptiveDropdownInput/DescriptiveDropdownInputStyles.d.ts +2 -3
- package/lib/types/src/configuredComponents/DescriptiveDropdownInput/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/DescriptiveDropdownInput/types.d.ts +126 -126
- package/lib/types/src/configuredComponents/DropdownButton/DropdownButton.d.ts +3 -3
- package/lib/types/src/configuredComponents/DropdownButton/DropdownButtonStyles.d.ts +3 -4
- package/lib/types/src/configuredComponents/DropdownButton/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/DropdownButton/types.d.ts +8 -8
- package/lib/types/src/configuredComponents/DropdownInput/DropdownInput.d.ts +3 -3
- package/lib/types/src/configuredComponents/DropdownInput/DropdownInputStyles.d.ts +2 -3
- package/lib/types/src/configuredComponents/DropdownInput/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/DropdownInput/types.d.ts +139 -139
- package/lib/types/src/configuredComponents/IconSwitcher/IconSwitcher.d.ts +4 -4
- package/lib/types/src/configuredComponents/IconSwitcher/IconSwitcherStyles.d.ts +9 -10
- package/lib/types/src/configuredComponents/IconSwitcher/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/IconSwitcher/mocks.d.ts +31 -31
- package/lib/types/src/configuredComponents/IconSwitcher/types.d.ts +40 -40
- package/lib/types/src/configuredComponents/InlineDescriptiveDropdown/InlineDescriptiveDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/InlineDescriptiveDropdown/InlineDescriptiveDropdownStyles.d.ts +2 -3
- package/lib/types/src/configuredComponents/InlineDescriptiveDropdown/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/InlineDescriptiveDropdown/types.d.ts +79 -79
- package/lib/types/src/configuredComponents/InlineDropdown/InlineDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/InlineDropdown/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/InlineDropdown/types.d.ts +119 -119
- package/lib/types/src/configuredComponents/MoreMenuButton/MoreMenuButton.d.ts +3 -3
- package/lib/types/src/configuredComponents/MoreMenuButton/MoreMenuButtonStyles.d.ts +4 -5
- package/lib/types/src/configuredComponents/MoreMenuButton/RowExample.d.ts +2 -2
- package/lib/types/src/configuredComponents/MoreMenuButton/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/MoreMenuButton/types.d.ts +28 -29
- package/lib/types/src/configuredComponents/MultiSelect/MultiSelect.d.ts +3 -3
- package/lib/types/src/configuredComponents/MultiSelect/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/MultiSelect/types.d.ts +26 -26
- package/lib/types/src/configuredComponents/SearchInput/SearchInput.d.ts +6 -6
- package/lib/types/src/configuredComponents/SearchInput/SearchInputStyles.d.ts +4 -5
- package/lib/types/src/configuredComponents/SearchInput/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/SearchInput/types.d.ts +26 -26
- package/lib/types/src/configuredComponents/StateDropdown/StateDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/StateDropdown/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/StateDropdown/types.d.ts +7 -8
- package/lib/types/src/configuredComponents/StatusDropdown/StatusDropdown.d.ts +3 -3
- package/lib/types/src/configuredComponents/StatusDropdown/StatusDropdown.styles.d.ts +3 -4
- package/lib/types/src/configuredComponents/StatusDropdown/index.d.ts +3 -3
- package/lib/types/src/configuredComponents/StatusDropdown/types.d.ts +22 -23
- package/lib/types/src/configuredComponents/TableFiltersPanel/TableFiltersPanel.d.ts +2 -2
- package/lib/types/src/configuredComponents/TableFiltersPanel/index.d.ts +4 -4
- package/lib/types/src/configuredComponents/TableFiltersPanel/types.d.ts +34 -34
- package/lib/types/src/const/ColorGrid.d.ts +2 -2
- package/lib/types/src/const/ColorStyles.d.ts +8 -9
- package/lib/types/src/const/GlobalStyle.d.ts +1 -2
- package/lib/types/src/const/colors.d.ts +454 -454
- package/lib/types/src/const/connotationColors.d.ts +22 -22
- package/lib/types/src/const/dates.d.ts +5 -5
- package/lib/types/src/const/gradients.d.ts +3 -3
- package/lib/types/src/const/stateAbbreviationLookup.d.ts +2 -2
- package/lib/types/src/const/text.d.ts +25 -26
- package/lib/types/src/const/types.d.ts +17 -17
- package/lib/types/src/const/usCounties.d.ts +308 -308
- package/lib/types/src/const/usStates.d.ts +15 -15
- package/lib/types/src/examples/BigTable.d.ts +3 -3
- package/lib/types/src/examples/FormDelayed.d.ts +3 -3
- package/lib/types/src/examples/ParentSort.d.ts +2 -2
- package/lib/types/src/examples/TableFilters.d.ts +2 -2
- package/lib/types/src/examples/formElements.d.ts +3 -3
- package/lib/types/src/examples/tableComponentWrappers.d.ts +5 -5
- package/lib/types/src/helpers/accessibility.d.ts +9 -9
- package/lib/types/src/helpers/arrays.d.ts +14 -14
- package/lib/types/src/helpers/colors.d.ts +4 -4
- package/lib/types/src/helpers/compress-image.d.ts +1 -1
- package/lib/types/src/helpers/convert-heic-to-png.d.ts +1 -1
- package/lib/types/src/helpers/forEachObject.d.ts +7 -7
- package/lib/types/src/helpers/groupBy.d.ts +4 -4
- package/lib/types/src/helpers/inputMasks.d.ts +8 -8
- package/lib/types/src/helpers/lodash/debounce.d.ts +59 -59
- package/lib/types/src/helpers/lodash/isObject.d.ts +26 -26
- package/lib/types/src/helpers/lodash/isObjectLike.d.ts +25 -25
- package/lib/types/src/helpers/lodash/isSymbol.d.ts +18 -18
- package/lib/types/src/helpers/lodash/throttle.d.ts +49 -49
- package/lib/types/src/helpers/lodash/toNumber.d.ts +24 -24
- package/lib/types/src/helpers/lodash/uniqueId.d.ts +18 -18
- package/lib/types/src/helpers/numbers.d.ts +4 -4
- package/lib/types/src/helpers/phoneValidators.d.ts +2 -2
- package/lib/types/src/helpers/position.d.ts +3 -3
- package/lib/types/src/helpers/regex.d.ts +2 -2
- package/lib/types/src/helpers/types.d.ts +96 -96
- package/lib/types/src/helpers/typing.d.ts +2 -2
- package/lib/types/src/helpers/utils.d.ts +6 -6
- package/lib/types/src/hocs/PropsChecker.d.ts +19 -19
- package/lib/types/src/hocs/withTheme.d.ts +2 -2
- package/lib/types/src/hooks/useFocus.d.ts +1 -1
- package/lib/types/src/hooks/useIsomorphicLayoutEffect.d.ts +2 -2
- package/lib/types/src/hooks/useMeasure.d.ts +17 -17
- package/lib/types/src/hooks/useMeasureWatchResize.d.ts +4 -4
- package/lib/types/src/hooks/useMediaQuery.d.ts +1 -1
- package/lib/types/src/hooks/usePrevious.d.ts +1 -1
- package/lib/types/src/index.d.ts +235 -235
- package/lib/types/src/jest-setup.d.ts +3 -3
- package/lib/types/src/layout/LayoutSidebar/LayoutSidebar.d.ts +3 -3
- package/lib/types/src/layout/LayoutSidebar/LayoutSidebarStyles.d.ts +6 -7
- package/lib/types/src/layout/LayoutSidebar/index.d.ts +4 -4
- package/lib/types/src/layout/LayoutSidebar/types.d.ts +34 -34
- package/lib/types/src/layout/NavLayout/NavLayout.d.ts +13 -13
- package/lib/types/src/layout/NavLayout/index.d.ts +3 -3
- package/lib/types/src/pages/NotFound/NotFound.d.ts +3 -3
- package/lib/types/src/pages/NotFound/NotFoundStyles.d.ts +11 -12
- package/lib/types/src/pages/NotFound/index.d.ts +3 -3
- package/lib/types/src/pages/NotFound/types.d.ts +10 -10
- package/lib/types/src/sharedHelpers/filtering.d.ts +2 -2
- package/lib/types/src/sharedHelpers/position.d.ts +4 -4
- package/lib/types/src/sharedHelpers/showLabel.d.ts +12 -12
- package/lib/types/src/sharedHelpers/types.d.ts +21 -21
- package/lib/types/src/sharedMocks/options.d.ts +213 -213
- package/lib/types/src/sharedMocks/swatches.d.ts +12 -12
- package/lib/types/src/sharedStyle/Inputs.d.ts +19 -19
- package/lib/types/src/sharedStyle/Labels.d.ts +6 -7
- package/lib/types/src/sharedStyle/Loading.d.ts +3 -4
- package/lib/types/src/sharedStyle/Scroller.d.ts +3 -4
- package/lib/types/src/sharedStyle/Switches.d.ts +11 -12
- package/lib/types/src/sharedStyle/index.d.ts +4 -4
- package/lib/types/src/sharedStyle/mixins.d.ts +5 -5
- package/lib/types/src/sharedStyle/types.d.ts +120 -120
- package/lib/types/src/sharedTypes/enums.d.ts +115 -114
- package/lib/types/src/sharedTypes/types.d.ts +90 -90
- package/lib/types/src/theme.d.ts +640 -640
- package/package.json +7 -8
- package/lib/cjs/AddButton-9661ff47.js +0 -25
- package/lib/cjs/AddButton-9661ff47.js.map +0 -1
- package/lib/cjs/AddMenu-6bd2f72d.js +0 -52
- package/lib/cjs/AddMenu-6bd2f72d.js.map +0 -1
- package/lib/cjs/AddressInput-255cf7a6.js +0 -2231
- package/lib/cjs/AddressInput-255cf7a6.js.map +0 -1
- package/lib/cjs/AlertCount-86389451.js +0 -65
- package/lib/cjs/AlertCount-86389451.js.map +0 -1
- package/lib/cjs/Avatar-7fac3fa6.js +0 -59
- package/lib/cjs/Avatar-7fac3fa6.js.map +0 -1
- package/lib/cjs/Checkbox-0d70281a.js +0 -20
- package/lib/cjs/Checkbox-0d70281a.js.map +0 -1
- package/lib/cjs/CheckboxGroup-64300dff.js +0 -41
- package/lib/cjs/CheckboxGroup-64300dff.js.map +0 -1
- package/lib/cjs/CheckboxItem-dc3a29e8.js +0 -52
- package/lib/cjs/CheckboxItem-dc3a29e8.js.map +0 -1
- package/lib/cjs/CheckboxStyles-08f5ed2e.js +0 -42
- package/lib/cjs/CheckboxStyles-08f5ed2e.js.map +0 -1
- package/lib/cjs/ClearableTag-4bb2e28e.js +0 -95
- package/lib/cjs/ClearableTag-4bb2e28e.js.map +0 -1
- package/lib/cjs/ClickOutHandler-96f4b62a.js +0 -29
- package/lib/cjs/ClickOutHandler-96f4b62a.js.map +0 -1
- package/lib/cjs/Close-e95e8120.js +0 -16
- package/lib/cjs/Close-e95e8120.js.map +0 -1
- package/lib/cjs/ColorButton-6d3c2309.js +0 -65
- package/lib/cjs/ColorButton-6d3c2309.js.map +0 -1
- package/lib/cjs/ColorDotDropdown-b5eaf86a.js +0 -46
- package/lib/cjs/ColorDotDropdown-b5eaf86a.js.map +0 -1
- package/lib/cjs/ColorPicker-2800afbc.js +0 -53
- package/lib/cjs/ColorPicker-2800afbc.js.map +0 -1
- package/lib/cjs/ColorPickerMenu-d9ed4326.js +0 -52
- package/lib/cjs/ColorPickerMenu-d9ed4326.js.map +0 -1
- package/lib/cjs/ConfigurableInput-af34d82b.js +0 -77
- package/lib/cjs/ConfigurableInput-af34d82b.js.map +0 -1
- package/lib/cjs/ConfirmModal-06c256d7.js +0 -79
- package/lib/cjs/ConfirmModal-06c256d7.js.map +0 -1
- package/lib/cjs/CountryDropdown-956a78ec.js +0 -1668
- package/lib/cjs/CountryDropdown-956a78ec.js.map +0 -1
- package/lib/cjs/CountyDropdown-e7c8e350.js +0 -14
- package/lib/cjs/CountyDropdown-e7c8e350.js.map +0 -1
- package/lib/cjs/CreditCardInput-7a243cdd.js +0 -36
- package/lib/cjs/CreditCardInput-7a243cdd.js.map +0 -1
- package/lib/cjs/CurrencyInput-f4ff7788.js +0 -35
- package/lib/cjs/CurrencyInput-f4ff7788.js.map +0 -1
- package/lib/cjs/Delete-32a19298.js +0 -16
- package/lib/cjs/Delete-32a19298.js.map +0 -1
- package/lib/cjs/DescriptiveDropdownInput-88fa0a34.js +0 -115
- package/lib/cjs/DescriptiveDropdownInput-88fa0a34.js.map +0 -1
- package/lib/cjs/DescriptiveSwitchMenu-7985d6f9.js +0 -31
- package/lib/cjs/DescriptiveSwitchMenu-7985d6f9.js.map +0 -1
- package/lib/cjs/DescriptiveSwitchMenuStyles-cbced5ca.js +0 -59
- package/lib/cjs/DescriptiveSwitchMenuStyles-cbced5ca.js.map +0 -1
- package/lib/cjs/Drawer-42d09b45.js +0 -210
- package/lib/cjs/Drawer-42d09b45.js.map +0 -1
- package/lib/cjs/DrawerDivider-8f1e423f.js +0 -28
- package/lib/cjs/DrawerDivider-8f1e423f.js.map +0 -1
- package/lib/cjs/DropdownButton-23019d88.js +0 -39
- package/lib/cjs/DropdownButton-23019d88.js.map +0 -1
- package/lib/cjs/DropdownInput-a4f6d603.js +0 -73
- package/lib/cjs/DropdownInput-a4f6d603.js.map +0 -1
- package/lib/cjs/DropdownInputStyles-13901ba5.js +0 -13
- package/lib/cjs/DropdownInputStyles-13901ba5.js.map +0 -1
- package/lib/cjs/EmailInput-01366893.js +0 -35
- package/lib/cjs/EmailInput-01366893.js.map +0 -1
- package/lib/cjs/FiltersBar-6e566578.js +0 -75
- package/lib/cjs/FiltersBar-6e566578.js.map +0 -1
- package/lib/cjs/FormStyles-a4cade48.js +0 -763
- package/lib/cjs/FormStyles-a4cade48.js.map +0 -1
- package/lib/cjs/FormikContainer-4675bc1b.js +0 -1285
- package/lib/cjs/FormikContainer-4675bc1b.js.map +0 -1
- package/lib/cjs/HorizontalTabMenu-cc6abb8e.js +0 -187
- package/lib/cjs/HorizontalTabMenu-cc6abb8e.js.map +0 -1
- package/lib/cjs/IconButton-19840962.js +0 -75
- package/lib/cjs/IconButton-19840962.js.map +0 -1
- package/lib/cjs/IconComponentStyles-64e1c8e7.js +0 -36
- package/lib/cjs/IconComponentStyles-64e1c8e7.js.map +0 -1
- package/lib/cjs/IconSwitcher-58da33b4.js +0 -89
- package/lib/cjs/IconSwitcher-58da33b4.js.map +0 -1
- package/lib/cjs/IconTile-d628032c.js +0 -85
- package/lib/cjs/IconTile-d628032c.js.map +0 -1
- package/lib/cjs/ImagePicker-578649ca.js +0 -333
- package/lib/cjs/ImagePicker-578649ca.js.map +0 -1
- package/lib/cjs/InlineCreditCardInput-7adc4be2.js +0 -329
- package/lib/cjs/InlineCreditCardInput-7adc4be2.js.map +0 -1
- package/lib/cjs/InlineCurrencyInput-80065a0a.js +0 -64
- package/lib/cjs/InlineCurrencyInput-80065a0a.js.map +0 -1
- package/lib/cjs/InlineDatePicker-ae1465d0.js +0 -15536
- package/lib/cjs/InlineDatePicker-ae1465d0.js.map +0 -1
- package/lib/cjs/InlineDescriptiveDropdown-09aa6648.js +0 -89
- package/lib/cjs/InlineDescriptiveDropdown-09aa6648.js.map +0 -1
- package/lib/cjs/InlineDropdown-97eab20a.js +0 -45
- package/lib/cjs/InlineDropdown-97eab20a.js.map +0 -1
- package/lib/cjs/InlineEmailInput-7808ce37.js +0 -39
- package/lib/cjs/InlineEmailInput-7808ce37.js.map +0 -1
- package/lib/cjs/InlineInput-bf9600d9.js +0 -125
- package/lib/cjs/InlineInput-bf9600d9.js.map +0 -1
- package/lib/cjs/InlinePhoneInput-733d6737.js +0 -66
- package/lib/cjs/InlinePhoneInput-733d6737.js.map +0 -1
- package/lib/cjs/Input-4174f65d.js +0 -35
- package/lib/cjs/Input-4174f65d.js.map +0 -1
- package/lib/cjs/Inputs-0137c1dc.js +0 -249
- package/lib/cjs/Inputs-0137c1dc.js.map +0 -1
- package/lib/cjs/InteriorSidebar-4d2faae9.js +0 -177
- package/lib/cjs/InteriorSidebar-4d2faae9.js.map +0 -1
- package/lib/cjs/LoadingEllipsis-b9895744.js +0 -55
- package/lib/cjs/LoadingEllipsis-b9895744.js.map +0 -1
- package/lib/cjs/LogoSidebar-c9dd2535.js +0 -58
- package/lib/cjs/LogoSidebar-c9dd2535.js.map +0 -1
- package/lib/cjs/Modal-77e9f691.js +0 -135
- package/lib/cjs/Modal-77e9f691.js.map +0 -1
- package/lib/cjs/MoreMenuButton-6682f0b7.js +0 -27
- package/lib/cjs/MoreMenuButton-6682f0b7.js.map +0 -1
- package/lib/cjs/MultiSelect-d4fda37e.js +0 -87
- package/lib/cjs/MultiSelect-d4fda37e.js.map +0 -1
- package/lib/cjs/Orders-7a23fabe.js +0 -16
- package/lib/cjs/Orders-7a23fabe.js.map +0 -1
- package/lib/cjs/PhoneInput-57df009e.js +0 -36
- package/lib/cjs/PhoneInput-57df009e.js.map +0 -1
- package/lib/cjs/PieChart-b221fe62.js +0 -78
- package/lib/cjs/PieChart-b221fe62.js.map +0 -1
- package/lib/cjs/RJSForm-1d598c01.js +0 -371
- package/lib/cjs/RJSForm-1d598c01.js.map +0 -1
- package/lib/cjs/RJSFormRenderer-86eeb5af.js +0 -197
- package/lib/cjs/RJSFormRenderer-86eeb5af.js.map +0 -1
- package/lib/cjs/Radio-a65e26b9.js +0 -20
- package/lib/cjs/Radio-a65e26b9.js.map +0 -1
- package/lib/cjs/RadioGroup-00d244aa.js +0 -64
- package/lib/cjs/RadioGroup-00d244aa.js.map +0 -1
- package/lib/cjs/RadioItem-12ae46bf.js +0 -44
- package/lib/cjs/RadioItem-12ae46bf.js.map +0 -1
- package/lib/cjs/RadioStyles-12980dcd.js +0 -33
- package/lib/cjs/RadioStyles-12980dcd.js.map +0 -1
- package/lib/cjs/SearchInput-6feeaeda.js +0 -80
- package/lib/cjs/SearchInput-6feeaeda.js.map +0 -1
- package/lib/cjs/SearchMenu-b6ed0bc1.js +0 -346
- package/lib/cjs/SearchMenu-b6ed0bc1.js.map +0 -1
- package/lib/cjs/Select-f8e37a39.js +0 -220
- package/lib/cjs/Select-f8e37a39.js.map +0 -1
- package/lib/cjs/SelectSearch-066396a1.js +0 -183
- package/lib/cjs/SelectSearch-066396a1.js.map +0 -1
- package/lib/cjs/SingleButton-b80c82aa.js +0 -14
- package/lib/cjs/SingleButton-b80c82aa.js.map +0 -1
- package/lib/cjs/SlideIn-e0c6cb92.js +0 -188
- package/lib/cjs/SlideIn-e0c6cb92.js.map +0 -1
- package/lib/cjs/SnackContainer-7cf3a09c.js +0 -267
- package/lib/cjs/SnackContainer-7cf3a09c.js.map +0 -1
- package/lib/cjs/StateDropdown-61ecfb71.js +0 -15
- package/lib/cjs/StateDropdown-61ecfb71.js.map +0 -1
- package/lib/cjs/StatusDropdown-eb4f514a.js +0 -37
- package/lib/cjs/StatusDropdown-eb4f514a.js.map +0 -1
- package/lib/cjs/StatusIndicator-2b9e2baa.js +0 -94
- package/lib/cjs/StatusIndicator-2b9e2baa.js.map +0 -1
- package/lib/cjs/Stepper-96f82cc6.js +0 -138
- package/lib/cjs/Stepper-96f82cc6.js.map +0 -1
- package/lib/cjs/Switches-6717ab0c.js +0 -26
- package/lib/cjs/Switches-6717ab0c.js.map +0 -1
- package/lib/cjs/TabModal-d49d729e.js +0 -126
- package/lib/cjs/TabModal-d49d729e.js.map +0 -1
- package/lib/cjs/TableFiltersPanel-9bb64188.js +0 -51
- package/lib/cjs/TableFiltersPanel-9bb64188.js.map +0 -1
- package/lib/cjs/TableStyles-2f3e7c6c.js +0 -370
- package/lib/cjs/TableStyles-2f3e7c6c.js.map +0 -1
- package/lib/cjs/TextLink-eff403bf.js +0 -181
- package/lib/cjs/TextLink-eff403bf.js.map +0 -1
- package/lib/cjs/Toast-cbef3137.js +0 -283
- package/lib/cjs/Toast-cbef3137.js.map +0 -1
- package/lib/cjs/Toggle-a1f69317.js +0 -18
- package/lib/cjs/Toggle-a1f69317.js.map +0 -1
- package/lib/cjs/ToggleButtons-7c319cd1.js +0 -86
- package/lib/cjs/ToggleButtons-7c319cd1.js.map +0 -1
- package/lib/cjs/ToggleGroup-d7606af3.js +0 -42
- package/lib/cjs/ToggleGroup-d7606af3.js.map +0 -1
- package/lib/cjs/ToggleItem-71adad3f.js +0 -37
- package/lib/cjs/ToggleItem-71adad3f.js.map +0 -1
- package/lib/cjs/ToggleStyles-0f63af15.js +0 -69
- package/lib/cjs/ToggleStyles-0f63af15.js.map +0 -1
- package/lib/cjs/Tooltip-a1ee7f92.js +0 -155
- package/lib/cjs/Tooltip-a1ee7f92.js.map +0 -1
- package/lib/cjs/TooltipLabel-58cb810e.js +0 -121
- package/lib/cjs/TooltipLabel-58cb810e.js.map +0 -1
- package/lib/cjs/TooltipOptions-26a8bd11.js +0 -41
- package/lib/cjs/TooltipOptions-26a8bd11.js.map +0 -1
- package/lib/cjs/TooltipOptionsStyles-47c55372.js +0 -64
- package/lib/cjs/TooltipOptionsStyles-47c55372.js.map +0 -1
- package/lib/cjs/Truncate-a6cbf6cb.js +0 -53
- package/lib/cjs/Truncate-a6cbf6cb.js.map +0 -1
- package/lib/cjs/TruncatePicker-d5c6b904.js +0 -108
- package/lib/cjs/TruncatePicker-d5c6b904.js.map +0 -1
- package/lib/cjs/Typography-d267f540.js +0 -29
- package/lib/cjs/Typography-d267f540.js.map +0 -1
- package/lib/cjs/UploadDropzone-916a710d.js +0 -230
- package/lib/cjs/UploadDropzone-916a710d.js.map +0 -1
- package/lib/cjs/UserInformationCard-d143392a.js +0 -225
- package/lib/cjs/UserInformationCard-d143392a.js.map +0 -1
- package/lib/cjs/Volunteer-c58d9d7d.js +0 -16
- package/lib/cjs/Volunteer-c58d9d7d.js.map +0 -1
- package/lib/cjs/Warning-0428175d.js +0 -16
- package/lib/cjs/Warning-0428175d.js.map +0 -1
- package/lib/cjs/_tslib-955e611e.js +0 -120
- package/lib/cjs/_tslib-955e611e.js.map +0 -1
- package/lib/cjs/colors-92a8b0d4.js +0 -73
- package/lib/cjs/colors-92a8b0d4.js.map +0 -1
- package/lib/cjs/filtering-43f0db28.js +0 -52
- package/lib/cjs/filtering-43f0db28.js.map +0 -1
- package/lib/cjs/helpers-b07f14f3.js +0 -6
- package/lib/cjs/helpers-b07f14f3.js.map +0 -1
- package/lib/cjs/helpers-c20bdd58.js +0 -32
- package/lib/cjs/helpers-c20bdd58.js.map +0 -1
- package/lib/cjs/position-0d230ab8.js +0 -44
- package/lib/cjs/position-0d230ab8.js.map +0 -1
- package/lib/cjs/showLabel-8e3c09f1.js +0 -30
- package/lib/cjs/showLabel-8e3c09f1.js.map +0 -1
- package/lib/cjs/types-92e1c1ae.js +0 -14
- package/lib/cjs/types-92e1c1ae.js.map +0 -1
- package/lib/cjs/useIsomorphicLayoutEffect-e0094154.js +0 -10
- package/lib/cjs/useIsomorphicLayoutEffect-e0094154.js.map +0 -1
- package/lib/cjs/useMeasure-39ee8db4.js +0 -431
- package/lib/cjs/useMeasure-39ee8db4.js.map +0 -1
- package/lib/cjs/useMeasureWatchResize-53e7b85e.js +0 -69
- package/lib/cjs/useMeasureWatchResize-53e7b85e.js.map +0 -1
- package/lib/esm/AddButton-c6d11ff2.js +0 -23
- package/lib/esm/AddButton-c6d11ff2.js.map +0 -1
- package/lib/esm/AddMenu-0b35f9a6.js +0 -50
- package/lib/esm/AddMenu-0b35f9a6.js.map +0 -1
- package/lib/esm/AddressInput-fd2527ec.js +0 -2225
- package/lib/esm/AddressInput-fd2527ec.js.map +0 -1
- package/lib/esm/AlertCount-bcacbc72.js +0 -63
- package/lib/esm/AlertCount-bcacbc72.js.map +0 -1
- package/lib/esm/Avatar-746b2334.js +0 -57
- package/lib/esm/Avatar-746b2334.js.map +0 -1
- package/lib/esm/Checkbox-34317452.js +0 -18
- package/lib/esm/Checkbox-34317452.js.map +0 -1
- package/lib/esm/CheckboxGroup-3299714a.js +0 -39
- package/lib/esm/CheckboxGroup-3299714a.js.map +0 -1
- package/lib/esm/CheckboxItem-1fb8f629.js +0 -50
- package/lib/esm/CheckboxItem-1fb8f629.js.map +0 -1
- package/lib/esm/CheckboxStyles-737d1b2c.js +0 -38
- package/lib/esm/CheckboxStyles-737d1b2c.js.map +0 -1
- package/lib/esm/ClearableTag-926b8aff.js +0 -93
- package/lib/esm/ClearableTag-926b8aff.js.map +0 -1
- package/lib/esm/ClickOutHandler-31ab450e.js +0 -27
- package/lib/esm/ClickOutHandler-31ab450e.js.map +0 -1
- package/lib/esm/Close-51d14759.js +0 -14
- package/lib/esm/Close-51d14759.js.map +0 -1
- package/lib/esm/ColorButton-72185e9d.js +0 -63
- package/lib/esm/ColorButton-72185e9d.js.map +0 -1
- package/lib/esm/ColorDotDropdown-d0792f26.js +0 -44
- package/lib/esm/ColorDotDropdown-d0792f26.js.map +0 -1
- package/lib/esm/ColorPicker-4eda77f0.js +0 -51
- package/lib/esm/ColorPicker-4eda77f0.js.map +0 -1
- package/lib/esm/ColorPickerMenu-2d9f642b.js +0 -50
- package/lib/esm/ColorPickerMenu-2d9f642b.js.map +0 -1
- package/lib/esm/ConfigurableInput-4b979fae.js +0 -75
- package/lib/esm/ConfigurableInput-4b979fae.js.map +0 -1
- package/lib/esm/ConfirmModal-95e2889f.js +0 -77
- package/lib/esm/ConfirmModal-95e2889f.js.map +0 -1
- package/lib/esm/CountryDropdown-f8453646.js +0 -1640
- package/lib/esm/CountryDropdown-f8453646.js.map +0 -1
- package/lib/esm/CountyDropdown-f81bd05a.js +0 -12
- package/lib/esm/CountyDropdown-f81bd05a.js.map +0 -1
- package/lib/esm/CreditCardInput-750e795b.js +0 -34
- package/lib/esm/CreditCardInput-750e795b.js.map +0 -1
- package/lib/esm/CurrencyInput-61339bcc.js +0 -33
- package/lib/esm/CurrencyInput-61339bcc.js.map +0 -1
- package/lib/esm/Delete-717a8dd0.js +0 -14
- package/lib/esm/Delete-717a8dd0.js.map +0 -1
- package/lib/esm/DescriptiveDropdownInput-df1aba82.js +0 -113
- package/lib/esm/DescriptiveDropdownInput-df1aba82.js.map +0 -1
- package/lib/esm/DescriptiveSwitchMenu-ce762589.js +0 -29
- package/lib/esm/DescriptiveSwitchMenu-ce762589.js.map +0 -1
- package/lib/esm/DescriptiveSwitchMenuStyles-ef8e5a5f.js +0 -53
- package/lib/esm/DescriptiveSwitchMenuStyles-ef8e5a5f.js.map +0 -1
- package/lib/esm/Drawer-02d87e12.js +0 -208
- package/lib/esm/Drawer-02d87e12.js.map +0 -1
- package/lib/esm/DrawerDivider-5b10a31b.js +0 -26
- package/lib/esm/DrawerDivider-5b10a31b.js.map +0 -1
- package/lib/esm/DropdownButton-e8e6fcd6.js +0 -37
- package/lib/esm/DropdownButton-e8e6fcd6.js.map +0 -1
- package/lib/esm/DropdownInput-83cd3c97.js +0 -71
- package/lib/esm/DropdownInput-83cd3c97.js.map +0 -1
- package/lib/esm/DropdownInputStyles-fab99b6a.js +0 -11
- package/lib/esm/DropdownInputStyles-fab99b6a.js.map +0 -1
- package/lib/esm/EmailInput-e81624ef.js +0 -33
- package/lib/esm/EmailInput-e81624ef.js.map +0 -1
- package/lib/esm/FiltersBar-9b35d6b3.js +0 -73
- package/lib/esm/FiltersBar-9b35d6b3.js.map +0 -1
- package/lib/esm/FormStyles-b5460d88.js +0 -706
- package/lib/esm/FormStyles-b5460d88.js.map +0 -1
- package/lib/esm/FormikContainer-dd4c73a9.js +0 -1283
- package/lib/esm/FormikContainer-dd4c73a9.js.map +0 -1
- package/lib/esm/HorizontalTabMenu-3677fb67.js +0 -185
- package/lib/esm/HorizontalTabMenu-3677fb67.js.map +0 -1
- package/lib/esm/IconButton-58bf3c70.js +0 -73
- package/lib/esm/IconButton-58bf3c70.js.map +0 -1
- package/lib/esm/IconComponentStyles-091931ba.js +0 -31
- package/lib/esm/IconComponentStyles-091931ba.js.map +0 -1
- package/lib/esm/IconSwitcher-47c69441.js +0 -87
- package/lib/esm/IconSwitcher-47c69441.js.map +0 -1
- package/lib/esm/IconTile-62eb2e3c.js +0 -83
- package/lib/esm/IconTile-62eb2e3c.js.map +0 -1
- package/lib/esm/ImagePicker-d1d5f1f1.js +0 -331
- package/lib/esm/ImagePicker-d1d5f1f1.js.map +0 -1
- package/lib/esm/InlineCreditCardInput-b307cba3.js +0 -326
- package/lib/esm/InlineCreditCardInput-b307cba3.js.map +0 -1
- package/lib/esm/InlineCurrencyInput-e5cfe1c0.js +0 -61
- package/lib/esm/InlineCurrencyInput-e5cfe1c0.js.map +0 -1
- package/lib/esm/InlineDatePicker-240e7de9.js +0 -15507
- package/lib/esm/InlineDatePicker-240e7de9.js.map +0 -1
- package/lib/esm/InlineDescriptiveDropdown-471b7edc.js +0 -87
- package/lib/esm/InlineDescriptiveDropdown-471b7edc.js.map +0 -1
- package/lib/esm/InlineDropdown-380a7804.js +0 -43
- package/lib/esm/InlineDropdown-380a7804.js.map +0 -1
- package/lib/esm/InlineEmailInput-74e2b767.js +0 -37
- package/lib/esm/InlineEmailInput-74e2b767.js.map +0 -1
- package/lib/esm/InlineInput-b032bad6.js +0 -123
- package/lib/esm/InlineInput-b032bad6.js.map +0 -1
- package/lib/esm/InlinePhoneInput-0d43dce5.js +0 -64
- package/lib/esm/InlinePhoneInput-0d43dce5.js.map +0 -1
- package/lib/esm/Input-d853d5a7.js +0 -33
- package/lib/esm/Input-d853d5a7.js.map +0 -1
- package/lib/esm/Inputs-e6fa30e2.js +0 -236
- package/lib/esm/Inputs-e6fa30e2.js.map +0 -1
- package/lib/esm/InteriorSidebar-6dd14675.js +0 -175
- package/lib/esm/InteriorSidebar-6dd14675.js.map +0 -1
- package/lib/esm/LoadingEllipsis-505a407e.js +0 -49
- package/lib/esm/LoadingEllipsis-505a407e.js.map +0 -1
- package/lib/esm/LogoSidebar-7b5f0d5a.js +0 -56
- package/lib/esm/LogoSidebar-7b5f0d5a.js.map +0 -1
- package/lib/esm/Modal-af56544b.js +0 -129
- package/lib/esm/Modal-af56544b.js.map +0 -1
- package/lib/esm/MoreMenuButton-8cf02abc.js +0 -25
- package/lib/esm/MoreMenuButton-8cf02abc.js.map +0 -1
- package/lib/esm/MultiSelect-434080fb.js +0 -85
- package/lib/esm/MultiSelect-434080fb.js.map +0 -1
- package/lib/esm/Orders-93a9a095.js +0 -14
- package/lib/esm/Orders-93a9a095.js.map +0 -1
- package/lib/esm/PhoneInput-fe3c89ae.js +0 -34
- package/lib/esm/PhoneInput-fe3c89ae.js.map +0 -1
- package/lib/esm/PieChart-cbdf1de9.js +0 -76
- package/lib/esm/PieChart-cbdf1de9.js.map +0 -1
- package/lib/esm/RJSForm-e87b431c.js +0 -363
- package/lib/esm/RJSForm-e87b431c.js.map +0 -1
- package/lib/esm/RJSFormRenderer-1aac3758.js +0 -191
- package/lib/esm/RJSFormRenderer-1aac3758.js.map +0 -1
- package/lib/esm/Radio-7b1fcff6.js +0 -18
- package/lib/esm/Radio-7b1fcff6.js.map +0 -1
- package/lib/esm/RadioGroup-d5a02d77.js +0 -58
- package/lib/esm/RadioGroup-d5a02d77.js.map +0 -1
- package/lib/esm/RadioItem-f8d9d333.js +0 -42
- package/lib/esm/RadioItem-f8d9d333.js.map +0 -1
- package/lib/esm/RadioStyles-876d7b0d.js +0 -30
- package/lib/esm/RadioStyles-876d7b0d.js.map +0 -1
- package/lib/esm/SearchInput-ca23eec0.js +0 -78
- package/lib/esm/SearchInput-ca23eec0.js.map +0 -1
- package/lib/esm/SearchMenu-4b099b6e.js +0 -343
- package/lib/esm/SearchMenu-4b099b6e.js.map +0 -1
- package/lib/esm/Select-50bd5230.js +0 -218
- package/lib/esm/Select-50bd5230.js.map +0 -1
- package/lib/esm/SelectSearch-f92466e4.js +0 -181
- package/lib/esm/SelectSearch-f92466e4.js.map +0 -1
- package/lib/esm/SingleButton-d89a6255.js +0 -12
- package/lib/esm/SingleButton-d89a6255.js.map +0 -1
- package/lib/esm/SlideIn-5d9bbc24.js +0 -182
- package/lib/esm/SlideIn-5d9bbc24.js.map +0 -1
- package/lib/esm/SnackContainer-59530fd6.js +0 -261
- package/lib/esm/SnackContainer-59530fd6.js.map +0 -1
- package/lib/esm/StateDropdown-754e62b0.js +0 -13
- package/lib/esm/StateDropdown-754e62b0.js.map +0 -1
- package/lib/esm/StatusDropdown-924d386f.js +0 -35
- package/lib/esm/StatusDropdown-924d386f.js.map +0 -1
- package/lib/esm/StatusIndicator-5077b101.js +0 -92
- package/lib/esm/StatusIndicator-5077b101.js.map +0 -1
- package/lib/esm/Stepper-fa5b347f.js +0 -132
- package/lib/esm/Stepper-fa5b347f.js.map +0 -1
- package/lib/esm/Switches-8bf4af56.js +0 -22
- package/lib/esm/Switches-8bf4af56.js.map +0 -1
- package/lib/esm/TabModal-d7481f94.js +0 -124
- package/lib/esm/TabModal-d7481f94.js.map +0 -1
- package/lib/esm/TableFiltersPanel-c680b0ae.js +0 -49
- package/lib/esm/TableFiltersPanel-c680b0ae.js.map +0 -1
- package/lib/esm/TableStyles-c8b316c4.js +0 -324
- package/lib/esm/TableStyles-c8b316c4.js.map +0 -1
- package/lib/esm/TextLink-1f344858.js +0 -179
- package/lib/esm/TextLink-1f344858.js.map +0 -1
- package/lib/esm/Toast-662aab5f.js +0 -271
- package/lib/esm/Toast-662aab5f.js.map +0 -1
- package/lib/esm/Toggle-6c9273ec.js +0 -16
- package/lib/esm/Toggle-6c9273ec.js.map +0 -1
- package/lib/esm/ToggleButtons-40e5c1ba.js +0 -84
- package/lib/esm/ToggleButtons-40e5c1ba.js.map +0 -1
- package/lib/esm/ToggleGroup-8bee149c.js +0 -40
- package/lib/esm/ToggleGroup-8bee149c.js.map +0 -1
- package/lib/esm/ToggleItem-3fdc07d5.js +0 -35
- package/lib/esm/ToggleItem-3fdc07d5.js.map +0 -1
- package/lib/esm/ToggleStyles-c09980ea.js +0 -61
- package/lib/esm/ToggleStyles-c09980ea.js.map +0 -1
- package/lib/esm/Tooltip-b5c7d8b4.js +0 -149
- package/lib/esm/Tooltip-b5c7d8b4.js.map +0 -1
- package/lib/esm/TooltipLabel-cbd102e4.js +0 -115
- package/lib/esm/TooltipLabel-cbd102e4.js.map +0 -1
- package/lib/esm/TooltipOptions-bc33a550.js +0 -39
- package/lib/esm/TooltipOptions-bc33a550.js.map +0 -1
- package/lib/esm/TooltipOptionsStyles-ea26e01d.js +0 -56
- package/lib/esm/TooltipOptionsStyles-ea26e01d.js.map +0 -1
- package/lib/esm/Truncate-e3f27970.js +0 -50
- package/lib/esm/Truncate-e3f27970.js.map +0 -1
- package/lib/esm/TruncatePicker-b2b57019.js +0 -106
- package/lib/esm/TruncatePicker-b2b57019.js.map +0 -1
- package/lib/esm/Typography-fba9e1cb.js +0 -27
- package/lib/esm/Typography-fba9e1cb.js.map +0 -1
- package/lib/esm/UploadDropzone-cbef8f58.js +0 -228
- package/lib/esm/UploadDropzone-cbef8f58.js.map +0 -1
- package/lib/esm/UserInformationCard-dcbdeda8.js +0 -223
- package/lib/esm/UserInformationCard-dcbdeda8.js.map +0 -1
- package/lib/esm/Volunteer-9c416ca6.js +0 -14
- package/lib/esm/Volunteer-9c416ca6.js.map +0 -1
- package/lib/esm/Warning-09535167.js +0 -14
- package/lib/esm/Warning-09535167.js.map +0 -1
- package/lib/esm/_tslib-1a4c929e.js +0 -113
- package/lib/esm/_tslib-1a4c929e.js.map +0 -1
- package/lib/esm/colors-12bf079c.js +0 -70
- package/lib/esm/colors-12bf079c.js.map +0 -1
- package/lib/esm/filtering-ce417fc1.js +0 -50
- package/lib/esm/filtering-ce417fc1.js.map +0 -1
- package/lib/esm/helpers-829e2d00.js +0 -30
- package/lib/esm/helpers-829e2d00.js.map +0 -1
- package/lib/esm/helpers-e2f33583.js +0 -4
- package/lib/esm/helpers-e2f33583.js.map +0 -1
- package/lib/esm/position-70aef3e6.js +0 -40
- package/lib/esm/position-70aef3e6.js.map +0 -1
- package/lib/esm/showLabel-b80f881c.js +0 -24
- package/lib/esm/showLabel-b80f881c.js.map +0 -1
- package/lib/esm/types-20c5eba5.js +0 -14
- package/lib/esm/types-20c5eba5.js.map +0 -1
- package/lib/esm/useIsomorphicLayoutEffect-02f8ff90.js +0 -8
- package/lib/esm/useIsomorphicLayoutEffect-02f8ff90.js.map +0 -1
- package/lib/esm/useMeasure-c4c687e9.js +0 -422
- package/lib/esm/useMeasure-c4c687e9.js.map +0 -1
- package/lib/esm/useMeasureWatchResize-4cdcc697.js +0 -67
- package/lib/esm/useMeasureWatchResize-4cdcc697.js.map +0 -1
|
@@ -0,0 +1,2227 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _tslib = require('./_tslib-D1hVYMxL.js');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var InlineInput = require('./InlineInput-Ct3Zz8pE.js');
|
|
7
|
+
var Input = require('./Input-B9jY0opv.js');
|
|
8
|
+
var stateAbbreviationLookup = require('./stateAbbreviationLookup.cjs');
|
|
9
|
+
var BodyLEmphasis = require('./BodyLEmphasis.cjs');
|
|
10
|
+
var styled = require('styled-components');
|
|
11
|
+
|
|
12
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13
|
+
|
|
14
|
+
var dist = {};
|
|
15
|
+
|
|
16
|
+
var PlacesAutocomplete$1 = {};
|
|
17
|
+
|
|
18
|
+
var propTypes = {exports: {}};
|
|
19
|
+
|
|
20
|
+
var reactIs = {exports: {}};
|
|
21
|
+
|
|
22
|
+
var reactIs_production_min = {};
|
|
23
|
+
|
|
24
|
+
/** @license React v16.13.1
|
|
25
|
+
* react-is.production.min.js
|
|
26
|
+
*
|
|
27
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the MIT license found in the
|
|
30
|
+
* LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
var hasRequiredReactIs_production_min;
|
|
34
|
+
|
|
35
|
+
function requireReactIs_production_min () {
|
|
36
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
37
|
+
hasRequiredReactIs_production_min = 1;
|
|
38
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
39
|
+
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
40
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
41
|
+
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
42
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
43
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
44
|
+
return reactIs_production_min;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
var reactIs_development = {};
|
|
48
|
+
|
|
49
|
+
/** @license React v16.13.1
|
|
50
|
+
* react-is.development.js
|
|
51
|
+
*
|
|
52
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the MIT license found in the
|
|
55
|
+
* LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
var hasRequiredReactIs_development;
|
|
59
|
+
|
|
60
|
+
function requireReactIs_development () {
|
|
61
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
62
|
+
hasRequiredReactIs_development = 1;
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
if (process.env.NODE_ENV !== "production") {
|
|
67
|
+
(function() {
|
|
68
|
+
|
|
69
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
70
|
+
// nor polyfill, then a plain number is used for performance.
|
|
71
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
72
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
73
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
74
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
75
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
76
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
77
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
78
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
79
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
80
|
+
|
|
81
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
82
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
83
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
84
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
85
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
86
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
87
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
88
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
89
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
90
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
91
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
92
|
+
|
|
93
|
+
function isValidElementType(type) {
|
|
94
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
95
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function typeOf(object) {
|
|
99
|
+
if (typeof object === 'object' && object !== null) {
|
|
100
|
+
var $$typeof = object.$$typeof;
|
|
101
|
+
|
|
102
|
+
switch ($$typeof) {
|
|
103
|
+
case REACT_ELEMENT_TYPE:
|
|
104
|
+
var type = object.type;
|
|
105
|
+
|
|
106
|
+
switch (type) {
|
|
107
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
108
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
109
|
+
case REACT_FRAGMENT_TYPE:
|
|
110
|
+
case REACT_PROFILER_TYPE:
|
|
111
|
+
case REACT_STRICT_MODE_TYPE:
|
|
112
|
+
case REACT_SUSPENSE_TYPE:
|
|
113
|
+
return type;
|
|
114
|
+
|
|
115
|
+
default:
|
|
116
|
+
var $$typeofType = type && type.$$typeof;
|
|
117
|
+
|
|
118
|
+
switch ($$typeofType) {
|
|
119
|
+
case REACT_CONTEXT_TYPE:
|
|
120
|
+
case REACT_FORWARD_REF_TYPE:
|
|
121
|
+
case REACT_LAZY_TYPE:
|
|
122
|
+
case REACT_MEMO_TYPE:
|
|
123
|
+
case REACT_PROVIDER_TYPE:
|
|
124
|
+
return $$typeofType;
|
|
125
|
+
|
|
126
|
+
default:
|
|
127
|
+
return $$typeof;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
case REACT_PORTAL_TYPE:
|
|
133
|
+
return $$typeof;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return undefined;
|
|
138
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
139
|
+
|
|
140
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
141
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
142
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
143
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
144
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
145
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
146
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
147
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
148
|
+
var Memo = REACT_MEMO_TYPE;
|
|
149
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
150
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
151
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
152
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
153
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
154
|
+
|
|
155
|
+
function isAsyncMode(object) {
|
|
156
|
+
{
|
|
157
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
158
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
159
|
+
|
|
160
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
165
|
+
}
|
|
166
|
+
function isConcurrentMode(object) {
|
|
167
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
168
|
+
}
|
|
169
|
+
function isContextConsumer(object) {
|
|
170
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
171
|
+
}
|
|
172
|
+
function isContextProvider(object) {
|
|
173
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
174
|
+
}
|
|
175
|
+
function isElement(object) {
|
|
176
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
177
|
+
}
|
|
178
|
+
function isForwardRef(object) {
|
|
179
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
180
|
+
}
|
|
181
|
+
function isFragment(object) {
|
|
182
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
183
|
+
}
|
|
184
|
+
function isLazy(object) {
|
|
185
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
186
|
+
}
|
|
187
|
+
function isMemo(object) {
|
|
188
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
189
|
+
}
|
|
190
|
+
function isPortal(object) {
|
|
191
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
192
|
+
}
|
|
193
|
+
function isProfiler(object) {
|
|
194
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
195
|
+
}
|
|
196
|
+
function isStrictMode(object) {
|
|
197
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
198
|
+
}
|
|
199
|
+
function isSuspense(object) {
|
|
200
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
204
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
205
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
206
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
207
|
+
reactIs_development.Element = Element;
|
|
208
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
209
|
+
reactIs_development.Fragment = Fragment;
|
|
210
|
+
reactIs_development.Lazy = Lazy;
|
|
211
|
+
reactIs_development.Memo = Memo;
|
|
212
|
+
reactIs_development.Portal = Portal;
|
|
213
|
+
reactIs_development.Profiler = Profiler;
|
|
214
|
+
reactIs_development.StrictMode = StrictMode;
|
|
215
|
+
reactIs_development.Suspense = Suspense;
|
|
216
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
217
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
218
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
219
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
220
|
+
reactIs_development.isElement = isElement;
|
|
221
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
222
|
+
reactIs_development.isFragment = isFragment;
|
|
223
|
+
reactIs_development.isLazy = isLazy;
|
|
224
|
+
reactIs_development.isMemo = isMemo;
|
|
225
|
+
reactIs_development.isPortal = isPortal;
|
|
226
|
+
reactIs_development.isProfiler = isProfiler;
|
|
227
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
228
|
+
reactIs_development.isSuspense = isSuspense;
|
|
229
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
230
|
+
reactIs_development.typeOf = typeOf;
|
|
231
|
+
})();
|
|
232
|
+
}
|
|
233
|
+
return reactIs_development;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
var hasRequiredReactIs;
|
|
237
|
+
|
|
238
|
+
function requireReactIs () {
|
|
239
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
240
|
+
hasRequiredReactIs = 1;
|
|
241
|
+
|
|
242
|
+
if (process.env.NODE_ENV === 'production') {
|
|
243
|
+
reactIs.exports = requireReactIs_production_min();
|
|
244
|
+
} else {
|
|
245
|
+
reactIs.exports = requireReactIs_development();
|
|
246
|
+
}
|
|
247
|
+
return reactIs.exports;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/*
|
|
251
|
+
object-assign
|
|
252
|
+
(c) Sindre Sorhus
|
|
253
|
+
@license MIT
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
var objectAssign;
|
|
257
|
+
var hasRequiredObjectAssign;
|
|
258
|
+
|
|
259
|
+
function requireObjectAssign () {
|
|
260
|
+
if (hasRequiredObjectAssign) return objectAssign;
|
|
261
|
+
hasRequiredObjectAssign = 1;
|
|
262
|
+
/* eslint-disable no-unused-vars */
|
|
263
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
264
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
265
|
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
266
|
+
|
|
267
|
+
function toObject(val) {
|
|
268
|
+
if (val === null || val === undefined) {
|
|
269
|
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
return Object(val);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function shouldUseNative() {
|
|
276
|
+
try {
|
|
277
|
+
if (!Object.assign) {
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Detect buggy property enumeration order in older V8 versions.
|
|
282
|
+
|
|
283
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
284
|
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
285
|
+
test1[5] = 'de';
|
|
286
|
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
287
|
+
return false;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
291
|
+
var test2 = {};
|
|
292
|
+
for (var i = 0; i < 10; i++) {
|
|
293
|
+
test2['_' + String.fromCharCode(i)] = i;
|
|
294
|
+
}
|
|
295
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
296
|
+
return test2[n];
|
|
297
|
+
});
|
|
298
|
+
if (order2.join('') !== '0123456789') {
|
|
299
|
+
return false;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
303
|
+
var test3 = {};
|
|
304
|
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
305
|
+
test3[letter] = letter;
|
|
306
|
+
});
|
|
307
|
+
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
308
|
+
'abcdefghijklmnopqrst') {
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
return true;
|
|
313
|
+
} catch (err) {
|
|
314
|
+
// We don't expect any of the above to throw, but better to be safe.
|
|
315
|
+
return false;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
320
|
+
var from;
|
|
321
|
+
var to = toObject(target);
|
|
322
|
+
var symbols;
|
|
323
|
+
|
|
324
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
325
|
+
from = Object(arguments[s]);
|
|
326
|
+
|
|
327
|
+
for (var key in from) {
|
|
328
|
+
if (hasOwnProperty.call(from, key)) {
|
|
329
|
+
to[key] = from[key];
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
if (getOwnPropertySymbols) {
|
|
334
|
+
symbols = getOwnPropertySymbols(from);
|
|
335
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
336
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
337
|
+
to[symbols[i]] = from[symbols[i]];
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
return to;
|
|
344
|
+
};
|
|
345
|
+
return objectAssign;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
350
|
+
*
|
|
351
|
+
* This source code is licensed under the MIT license found in the
|
|
352
|
+
* LICENSE file in the root directory of this source tree.
|
|
353
|
+
*/
|
|
354
|
+
|
|
355
|
+
var ReactPropTypesSecret_1;
|
|
356
|
+
var hasRequiredReactPropTypesSecret;
|
|
357
|
+
|
|
358
|
+
function requireReactPropTypesSecret () {
|
|
359
|
+
if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
|
|
360
|
+
hasRequiredReactPropTypesSecret = 1;
|
|
361
|
+
|
|
362
|
+
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
363
|
+
|
|
364
|
+
ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
365
|
+
return ReactPropTypesSecret_1;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
var has;
|
|
369
|
+
var hasRequiredHas;
|
|
370
|
+
|
|
371
|
+
function requireHas () {
|
|
372
|
+
if (hasRequiredHas) return has;
|
|
373
|
+
hasRequiredHas = 1;
|
|
374
|
+
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
375
|
+
return has;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
380
|
+
*
|
|
381
|
+
* This source code is licensed under the MIT license found in the
|
|
382
|
+
* LICENSE file in the root directory of this source tree.
|
|
383
|
+
*/
|
|
384
|
+
|
|
385
|
+
var checkPropTypes_1;
|
|
386
|
+
var hasRequiredCheckPropTypes;
|
|
387
|
+
|
|
388
|
+
function requireCheckPropTypes () {
|
|
389
|
+
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
390
|
+
hasRequiredCheckPropTypes = 1;
|
|
391
|
+
|
|
392
|
+
var printWarning = function() {};
|
|
393
|
+
|
|
394
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
395
|
+
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
396
|
+
var loggedTypeFailures = {};
|
|
397
|
+
var has = requireHas();
|
|
398
|
+
|
|
399
|
+
printWarning = function(text) {
|
|
400
|
+
var message = 'Warning: ' + text;
|
|
401
|
+
if (typeof console !== 'undefined') {
|
|
402
|
+
console.error(message);
|
|
403
|
+
}
|
|
404
|
+
try {
|
|
405
|
+
// --- Welcome to debugging React ---
|
|
406
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
407
|
+
// to find the callsite that caused this warning to fire.
|
|
408
|
+
throw new Error(message);
|
|
409
|
+
} catch (x) { /**/ }
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Assert that the values match with the type specs.
|
|
415
|
+
* Error messages are memorized and will only be shown once.
|
|
416
|
+
*
|
|
417
|
+
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
418
|
+
* @param {object} values Runtime values that need to be type-checked
|
|
419
|
+
* @param {string} location e.g. "prop", "context", "child context"
|
|
420
|
+
* @param {string} componentName Name of the component for error messages.
|
|
421
|
+
* @param {?Function} getStack Returns the component stack.
|
|
422
|
+
* @private
|
|
423
|
+
*/
|
|
424
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
425
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
426
|
+
for (var typeSpecName in typeSpecs) {
|
|
427
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
428
|
+
var error;
|
|
429
|
+
// Prop type validation may throw. In case they do, we don't want to
|
|
430
|
+
// fail the render phase where it didn't fail before. So we log it.
|
|
431
|
+
// After these have been cleaned up, we'll let them throw.
|
|
432
|
+
try {
|
|
433
|
+
// This is intentionally an invariant that gets caught. It's the same
|
|
434
|
+
// behavior as without this statement except with a better message.
|
|
435
|
+
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
436
|
+
var err = Error(
|
|
437
|
+
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
438
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
439
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
440
|
+
);
|
|
441
|
+
err.name = 'Invariant Violation';
|
|
442
|
+
throw err;
|
|
443
|
+
}
|
|
444
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
445
|
+
} catch (ex) {
|
|
446
|
+
error = ex;
|
|
447
|
+
}
|
|
448
|
+
if (error && !(error instanceof Error)) {
|
|
449
|
+
printWarning(
|
|
450
|
+
(componentName || 'React class') + ': type specification of ' +
|
|
451
|
+
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
452
|
+
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
453
|
+
'You may have forgotten to pass an argument to the type checker ' +
|
|
454
|
+
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
455
|
+
'shape all require an argument).'
|
|
456
|
+
);
|
|
457
|
+
}
|
|
458
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
459
|
+
// Only monitor this failure once because there tends to be a lot of the
|
|
460
|
+
// same error.
|
|
461
|
+
loggedTypeFailures[error.message] = true;
|
|
462
|
+
|
|
463
|
+
var stack = getStack ? getStack() : '';
|
|
464
|
+
|
|
465
|
+
printWarning(
|
|
466
|
+
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
467
|
+
);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Resets warning cache when testing.
|
|
476
|
+
*
|
|
477
|
+
* @private
|
|
478
|
+
*/
|
|
479
|
+
checkPropTypes.resetWarningCache = function() {
|
|
480
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
481
|
+
loggedTypeFailures = {};
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
checkPropTypes_1 = checkPropTypes;
|
|
486
|
+
return checkPropTypes_1;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
491
|
+
*
|
|
492
|
+
* This source code is licensed under the MIT license found in the
|
|
493
|
+
* LICENSE file in the root directory of this source tree.
|
|
494
|
+
*/
|
|
495
|
+
|
|
496
|
+
var factoryWithTypeCheckers;
|
|
497
|
+
var hasRequiredFactoryWithTypeCheckers;
|
|
498
|
+
|
|
499
|
+
function requireFactoryWithTypeCheckers () {
|
|
500
|
+
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
|
501
|
+
hasRequiredFactoryWithTypeCheckers = 1;
|
|
502
|
+
|
|
503
|
+
var ReactIs = requireReactIs();
|
|
504
|
+
var assign = requireObjectAssign();
|
|
505
|
+
|
|
506
|
+
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
507
|
+
var has = requireHas();
|
|
508
|
+
var checkPropTypes = requireCheckPropTypes();
|
|
509
|
+
|
|
510
|
+
var printWarning = function() {};
|
|
511
|
+
|
|
512
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
513
|
+
printWarning = function(text) {
|
|
514
|
+
var message = 'Warning: ' + text;
|
|
515
|
+
if (typeof console !== 'undefined') {
|
|
516
|
+
console.error(message);
|
|
517
|
+
}
|
|
518
|
+
try {
|
|
519
|
+
// --- Welcome to debugging React ---
|
|
520
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
521
|
+
// to find the callsite that caused this warning to fire.
|
|
522
|
+
throw new Error(message);
|
|
523
|
+
} catch (x) {}
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
function emptyFunctionThatReturnsNull() {
|
|
528
|
+
return null;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
532
|
+
/* global Symbol */
|
|
533
|
+
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
534
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Returns the iterator method function contained on the iterable object.
|
|
538
|
+
*
|
|
539
|
+
* Be sure to invoke the function with the iterable as context:
|
|
540
|
+
*
|
|
541
|
+
* var iteratorFn = getIteratorFn(myIterable);
|
|
542
|
+
* if (iteratorFn) {
|
|
543
|
+
* var iterator = iteratorFn.call(myIterable);
|
|
544
|
+
* ...
|
|
545
|
+
* }
|
|
546
|
+
*
|
|
547
|
+
* @param {?object} maybeIterable
|
|
548
|
+
* @return {?function}
|
|
549
|
+
*/
|
|
550
|
+
function getIteratorFn(maybeIterable) {
|
|
551
|
+
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
552
|
+
if (typeof iteratorFn === 'function') {
|
|
553
|
+
return iteratorFn;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Collection of methods that allow declaration and validation of props that are
|
|
559
|
+
* supplied to React components. Example usage:
|
|
560
|
+
*
|
|
561
|
+
* var Props = require('ReactPropTypes');
|
|
562
|
+
* var MyArticle = React.createClass({
|
|
563
|
+
* propTypes: {
|
|
564
|
+
* // An optional string prop named "description".
|
|
565
|
+
* description: Props.string,
|
|
566
|
+
*
|
|
567
|
+
* // A required enum prop named "category".
|
|
568
|
+
* category: Props.oneOf(['News','Photos']).isRequired,
|
|
569
|
+
*
|
|
570
|
+
* // A prop named "dialog" that requires an instance of Dialog.
|
|
571
|
+
* dialog: Props.instanceOf(Dialog).isRequired
|
|
572
|
+
* },
|
|
573
|
+
* render: function() { ... }
|
|
574
|
+
* });
|
|
575
|
+
*
|
|
576
|
+
* A more formal specification of how these methods are used:
|
|
577
|
+
*
|
|
578
|
+
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
|
|
579
|
+
* decl := ReactPropTypes.{type}(.isRequired)?
|
|
580
|
+
*
|
|
581
|
+
* Each and every declaration produces a function with the same signature. This
|
|
582
|
+
* allows the creation of custom validation functions. For example:
|
|
583
|
+
*
|
|
584
|
+
* var MyLink = React.createClass({
|
|
585
|
+
* propTypes: {
|
|
586
|
+
* // An optional string or URI prop named "href".
|
|
587
|
+
* href: function(props, propName, componentName) {
|
|
588
|
+
* var propValue = props[propName];
|
|
589
|
+
* if (propValue != null && typeof propValue !== 'string' &&
|
|
590
|
+
* !(propValue instanceof URI)) {
|
|
591
|
+
* return new Error(
|
|
592
|
+
* 'Expected a string or an URI for ' + propName + ' in ' +
|
|
593
|
+
* componentName
|
|
594
|
+
* );
|
|
595
|
+
* }
|
|
596
|
+
* }
|
|
597
|
+
* },
|
|
598
|
+
* render: function() {...}
|
|
599
|
+
* });
|
|
600
|
+
*
|
|
601
|
+
* @internal
|
|
602
|
+
*/
|
|
603
|
+
|
|
604
|
+
var ANONYMOUS = '<<anonymous>>';
|
|
605
|
+
|
|
606
|
+
// Important!
|
|
607
|
+
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
608
|
+
var ReactPropTypes = {
|
|
609
|
+
array: createPrimitiveTypeChecker('array'),
|
|
610
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
611
|
+
bool: createPrimitiveTypeChecker('boolean'),
|
|
612
|
+
func: createPrimitiveTypeChecker('function'),
|
|
613
|
+
number: createPrimitiveTypeChecker('number'),
|
|
614
|
+
object: createPrimitiveTypeChecker('object'),
|
|
615
|
+
string: createPrimitiveTypeChecker('string'),
|
|
616
|
+
symbol: createPrimitiveTypeChecker('symbol'),
|
|
617
|
+
|
|
618
|
+
any: createAnyTypeChecker(),
|
|
619
|
+
arrayOf: createArrayOfTypeChecker,
|
|
620
|
+
element: createElementTypeChecker(),
|
|
621
|
+
elementType: createElementTypeTypeChecker(),
|
|
622
|
+
instanceOf: createInstanceTypeChecker,
|
|
623
|
+
node: createNodeChecker(),
|
|
624
|
+
objectOf: createObjectOfTypeChecker,
|
|
625
|
+
oneOf: createEnumTypeChecker,
|
|
626
|
+
oneOfType: createUnionTypeChecker,
|
|
627
|
+
shape: createShapeTypeChecker,
|
|
628
|
+
exact: createStrictShapeTypeChecker,
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
633
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
634
|
+
*/
|
|
635
|
+
/*eslint-disable no-self-compare*/
|
|
636
|
+
function is(x, y) {
|
|
637
|
+
// SameValue algorithm
|
|
638
|
+
if (x === y) {
|
|
639
|
+
// Steps 1-5, 7-10
|
|
640
|
+
// Steps 6.b-6.e: +0 != -0
|
|
641
|
+
return x !== 0 || 1 / x === 1 / y;
|
|
642
|
+
} else {
|
|
643
|
+
// Step 6.a: NaN == NaN
|
|
644
|
+
return x !== x && y !== y;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
/*eslint-enable no-self-compare*/
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* We use an Error-like object for backward compatibility as people may call
|
|
651
|
+
* PropTypes directly and inspect their output. However, we don't use real
|
|
652
|
+
* Errors anymore. We don't inspect their stack anyway, and creating them
|
|
653
|
+
* is prohibitively expensive if they are created too often, such as what
|
|
654
|
+
* happens in oneOfType() for any type before the one that matched.
|
|
655
|
+
*/
|
|
656
|
+
function PropTypeError(message, data) {
|
|
657
|
+
this.message = message;
|
|
658
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
659
|
+
this.stack = '';
|
|
660
|
+
}
|
|
661
|
+
// Make `instanceof Error` still work for returned errors.
|
|
662
|
+
PropTypeError.prototype = Error.prototype;
|
|
663
|
+
|
|
664
|
+
function createChainableTypeChecker(validate) {
|
|
665
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
666
|
+
var manualPropTypeCallCache = {};
|
|
667
|
+
var manualPropTypeWarningCount = 0;
|
|
668
|
+
}
|
|
669
|
+
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
670
|
+
componentName = componentName || ANONYMOUS;
|
|
671
|
+
propFullName = propFullName || propName;
|
|
672
|
+
|
|
673
|
+
if (secret !== ReactPropTypesSecret) {
|
|
674
|
+
if (throwOnDirectAccess) {
|
|
675
|
+
// New behavior only for users of `prop-types` package
|
|
676
|
+
var err = new Error(
|
|
677
|
+
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
678
|
+
'Use `PropTypes.checkPropTypes()` to call them. ' +
|
|
679
|
+
'Read more at http://fb.me/use-check-prop-types'
|
|
680
|
+
);
|
|
681
|
+
err.name = 'Invariant Violation';
|
|
682
|
+
throw err;
|
|
683
|
+
} else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
|
|
684
|
+
// Old behavior for people using React.PropTypes
|
|
685
|
+
var cacheKey = componentName + ':' + propName;
|
|
686
|
+
if (
|
|
687
|
+
!manualPropTypeCallCache[cacheKey] &&
|
|
688
|
+
// Avoid spamming the console because they are often not actionable except for lib authors
|
|
689
|
+
manualPropTypeWarningCount < 3
|
|
690
|
+
) {
|
|
691
|
+
printWarning(
|
|
692
|
+
'You are manually calling a React.PropTypes validation ' +
|
|
693
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
694
|
+
'and will throw in the standalone `prop-types` package. ' +
|
|
695
|
+
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
696
|
+
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
697
|
+
);
|
|
698
|
+
manualPropTypeCallCache[cacheKey] = true;
|
|
699
|
+
manualPropTypeWarningCount++;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
if (props[propName] == null) {
|
|
704
|
+
if (isRequired) {
|
|
705
|
+
if (props[propName] === null) {
|
|
706
|
+
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
|
|
707
|
+
}
|
|
708
|
+
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
|
|
709
|
+
}
|
|
710
|
+
return null;
|
|
711
|
+
} else {
|
|
712
|
+
return validate(props, propName, componentName, location, propFullName);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
var chainedCheckType = checkType.bind(null, false);
|
|
717
|
+
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
718
|
+
|
|
719
|
+
return chainedCheckType;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
function createPrimitiveTypeChecker(expectedType) {
|
|
723
|
+
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
724
|
+
var propValue = props[propName];
|
|
725
|
+
var propType = getPropType(propValue);
|
|
726
|
+
if (propType !== expectedType) {
|
|
727
|
+
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
728
|
+
// check, but we can offer a more precise error message here rather than
|
|
729
|
+
// 'of type `object`'.
|
|
730
|
+
var preciseType = getPreciseType(propValue);
|
|
731
|
+
|
|
732
|
+
return new PropTypeError(
|
|
733
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
734
|
+
{expectedType: expectedType}
|
|
735
|
+
);
|
|
736
|
+
}
|
|
737
|
+
return null;
|
|
738
|
+
}
|
|
739
|
+
return createChainableTypeChecker(validate);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
function createAnyTypeChecker() {
|
|
743
|
+
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
function createArrayOfTypeChecker(typeChecker) {
|
|
747
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
748
|
+
if (typeof typeChecker !== 'function') {
|
|
749
|
+
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
|
|
750
|
+
}
|
|
751
|
+
var propValue = props[propName];
|
|
752
|
+
if (!Array.isArray(propValue)) {
|
|
753
|
+
var propType = getPropType(propValue);
|
|
754
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
755
|
+
}
|
|
756
|
+
for (var i = 0; i < propValue.length; i++) {
|
|
757
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
|
|
758
|
+
if (error instanceof Error) {
|
|
759
|
+
return error;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
return null;
|
|
763
|
+
}
|
|
764
|
+
return createChainableTypeChecker(validate);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
function createElementTypeChecker() {
|
|
768
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
769
|
+
var propValue = props[propName];
|
|
770
|
+
if (!isValidElement(propValue)) {
|
|
771
|
+
var propType = getPropType(propValue);
|
|
772
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
|
|
773
|
+
}
|
|
774
|
+
return null;
|
|
775
|
+
}
|
|
776
|
+
return createChainableTypeChecker(validate);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
function createElementTypeTypeChecker() {
|
|
780
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
781
|
+
var propValue = props[propName];
|
|
782
|
+
if (!ReactIs.isValidElementType(propValue)) {
|
|
783
|
+
var propType = getPropType(propValue);
|
|
784
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
|
|
785
|
+
}
|
|
786
|
+
return null;
|
|
787
|
+
}
|
|
788
|
+
return createChainableTypeChecker(validate);
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
function createInstanceTypeChecker(expectedClass) {
|
|
792
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
793
|
+
if (!(props[propName] instanceof expectedClass)) {
|
|
794
|
+
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
795
|
+
var actualClassName = getClassName(props[propName]);
|
|
796
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
|
|
797
|
+
}
|
|
798
|
+
return null;
|
|
799
|
+
}
|
|
800
|
+
return createChainableTypeChecker(validate);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
function createEnumTypeChecker(expectedValues) {
|
|
804
|
+
if (!Array.isArray(expectedValues)) {
|
|
805
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
806
|
+
if (arguments.length > 1) {
|
|
807
|
+
printWarning(
|
|
808
|
+
'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
|
|
809
|
+
'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
|
|
810
|
+
);
|
|
811
|
+
} else {
|
|
812
|
+
printWarning('Invalid argument supplied to oneOf, expected an array.');
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
return emptyFunctionThatReturnsNull;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
819
|
+
var propValue = props[propName];
|
|
820
|
+
for (var i = 0; i < expectedValues.length; i++) {
|
|
821
|
+
if (is(propValue, expectedValues[i])) {
|
|
822
|
+
return null;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
827
|
+
var type = getPreciseType(value);
|
|
828
|
+
if (type === 'symbol') {
|
|
829
|
+
return String(value);
|
|
830
|
+
}
|
|
831
|
+
return value;
|
|
832
|
+
});
|
|
833
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
|
|
834
|
+
}
|
|
835
|
+
return createChainableTypeChecker(validate);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
function createObjectOfTypeChecker(typeChecker) {
|
|
839
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
840
|
+
if (typeof typeChecker !== 'function') {
|
|
841
|
+
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
|
|
842
|
+
}
|
|
843
|
+
var propValue = props[propName];
|
|
844
|
+
var propType = getPropType(propValue);
|
|
845
|
+
if (propType !== 'object') {
|
|
846
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
847
|
+
}
|
|
848
|
+
for (var key in propValue) {
|
|
849
|
+
if (has(propValue, key)) {
|
|
850
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
851
|
+
if (error instanceof Error) {
|
|
852
|
+
return error;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
return null;
|
|
857
|
+
}
|
|
858
|
+
return createChainableTypeChecker(validate);
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
862
|
+
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
863
|
+
process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
|
|
864
|
+
return emptyFunctionThatReturnsNull;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
868
|
+
var checker = arrayOfTypeCheckers[i];
|
|
869
|
+
if (typeof checker !== 'function') {
|
|
870
|
+
printWarning(
|
|
871
|
+
'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
|
|
872
|
+
'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
|
|
873
|
+
);
|
|
874
|
+
return emptyFunctionThatReturnsNull;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
879
|
+
var expectedTypes = [];
|
|
880
|
+
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
881
|
+
var checker = arrayOfTypeCheckers[i];
|
|
882
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
883
|
+
if (checkerResult == null) {
|
|
884
|
+
return null;
|
|
885
|
+
}
|
|
886
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
887
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
891
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
892
|
+
}
|
|
893
|
+
return createChainableTypeChecker(validate);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
function createNodeChecker() {
|
|
897
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
898
|
+
if (!isNode(props[propName])) {
|
|
899
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
|
|
900
|
+
}
|
|
901
|
+
return null;
|
|
902
|
+
}
|
|
903
|
+
return createChainableTypeChecker(validate);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
907
|
+
return new PropTypeError(
|
|
908
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
909
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
910
|
+
);
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
function createShapeTypeChecker(shapeTypes) {
|
|
914
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
915
|
+
var propValue = props[propName];
|
|
916
|
+
var propType = getPropType(propValue);
|
|
917
|
+
if (propType !== 'object') {
|
|
918
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
919
|
+
}
|
|
920
|
+
for (var key in shapeTypes) {
|
|
921
|
+
var checker = shapeTypes[key];
|
|
922
|
+
if (typeof checker !== 'function') {
|
|
923
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
924
|
+
}
|
|
925
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
926
|
+
if (error) {
|
|
927
|
+
return error;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
return null;
|
|
931
|
+
}
|
|
932
|
+
return createChainableTypeChecker(validate);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
function createStrictShapeTypeChecker(shapeTypes) {
|
|
936
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
937
|
+
var propValue = props[propName];
|
|
938
|
+
var propType = getPropType(propValue);
|
|
939
|
+
if (propType !== 'object') {
|
|
940
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
941
|
+
}
|
|
942
|
+
// We need to check all keys in case some are required but missing from props.
|
|
943
|
+
var allKeys = assign({}, props[propName], shapeTypes);
|
|
944
|
+
for (var key in allKeys) {
|
|
945
|
+
var checker = shapeTypes[key];
|
|
946
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
947
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
948
|
+
}
|
|
949
|
+
if (!checker) {
|
|
950
|
+
return new PropTypeError(
|
|
951
|
+
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
952
|
+
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
953
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
954
|
+
);
|
|
955
|
+
}
|
|
956
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
957
|
+
if (error) {
|
|
958
|
+
return error;
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
return null;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
return createChainableTypeChecker(validate);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
function isNode(propValue) {
|
|
968
|
+
switch (typeof propValue) {
|
|
969
|
+
case 'number':
|
|
970
|
+
case 'string':
|
|
971
|
+
case 'undefined':
|
|
972
|
+
return true;
|
|
973
|
+
case 'boolean':
|
|
974
|
+
return !propValue;
|
|
975
|
+
case 'object':
|
|
976
|
+
if (Array.isArray(propValue)) {
|
|
977
|
+
return propValue.every(isNode);
|
|
978
|
+
}
|
|
979
|
+
if (propValue === null || isValidElement(propValue)) {
|
|
980
|
+
return true;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
var iteratorFn = getIteratorFn(propValue);
|
|
984
|
+
if (iteratorFn) {
|
|
985
|
+
var iterator = iteratorFn.call(propValue);
|
|
986
|
+
var step;
|
|
987
|
+
if (iteratorFn !== propValue.entries) {
|
|
988
|
+
while (!(step = iterator.next()).done) {
|
|
989
|
+
if (!isNode(step.value)) {
|
|
990
|
+
return false;
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
} else {
|
|
994
|
+
// Iterator will provide entry [k,v] tuples rather than values.
|
|
995
|
+
while (!(step = iterator.next()).done) {
|
|
996
|
+
var entry = step.value;
|
|
997
|
+
if (entry) {
|
|
998
|
+
if (!isNode(entry[1])) {
|
|
999
|
+
return false;
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
} else {
|
|
1005
|
+
return false;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
return true;
|
|
1009
|
+
default:
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
function isSymbol(propType, propValue) {
|
|
1015
|
+
// Native Symbol.
|
|
1016
|
+
if (propType === 'symbol') {
|
|
1017
|
+
return true;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
// falsy value can't be a Symbol
|
|
1021
|
+
if (!propValue) {
|
|
1022
|
+
return false;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
// 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
|
|
1026
|
+
if (propValue['@@toStringTag'] === 'Symbol') {
|
|
1027
|
+
return true;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
// Fallback for non-spec compliant Symbols which are polyfilled.
|
|
1031
|
+
if (typeof Symbol === 'function' && propValue instanceof Symbol) {
|
|
1032
|
+
return true;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
return false;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
// Equivalent of `typeof` but with special handling for array and regexp.
|
|
1039
|
+
function getPropType(propValue) {
|
|
1040
|
+
var propType = typeof propValue;
|
|
1041
|
+
if (Array.isArray(propValue)) {
|
|
1042
|
+
return 'array';
|
|
1043
|
+
}
|
|
1044
|
+
if (propValue instanceof RegExp) {
|
|
1045
|
+
// Old webkits (at least until Android 4.0) return 'function' rather than
|
|
1046
|
+
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
|
|
1047
|
+
// passes PropTypes.object.
|
|
1048
|
+
return 'object';
|
|
1049
|
+
}
|
|
1050
|
+
if (isSymbol(propType, propValue)) {
|
|
1051
|
+
return 'symbol';
|
|
1052
|
+
}
|
|
1053
|
+
return propType;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
// This handles more types than `getPropType`. Only used for error messages.
|
|
1057
|
+
// See `createPrimitiveTypeChecker`.
|
|
1058
|
+
function getPreciseType(propValue) {
|
|
1059
|
+
if (typeof propValue === 'undefined' || propValue === null) {
|
|
1060
|
+
return '' + propValue;
|
|
1061
|
+
}
|
|
1062
|
+
var propType = getPropType(propValue);
|
|
1063
|
+
if (propType === 'object') {
|
|
1064
|
+
if (propValue instanceof Date) {
|
|
1065
|
+
return 'date';
|
|
1066
|
+
} else if (propValue instanceof RegExp) {
|
|
1067
|
+
return 'regexp';
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
return propType;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// Returns a string that is postfixed to a warning about an invalid type.
|
|
1074
|
+
// For example, "undefined" or "of type array"
|
|
1075
|
+
function getPostfixForTypeWarning(value) {
|
|
1076
|
+
var type = getPreciseType(value);
|
|
1077
|
+
switch (type) {
|
|
1078
|
+
case 'array':
|
|
1079
|
+
case 'object':
|
|
1080
|
+
return 'an ' + type;
|
|
1081
|
+
case 'boolean':
|
|
1082
|
+
case 'date':
|
|
1083
|
+
case 'regexp':
|
|
1084
|
+
return 'a ' + type;
|
|
1085
|
+
default:
|
|
1086
|
+
return type;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
// Returns class name of the object, if any.
|
|
1091
|
+
function getClassName(propValue) {
|
|
1092
|
+
if (!propValue.constructor || !propValue.constructor.name) {
|
|
1093
|
+
return ANONYMOUS;
|
|
1094
|
+
}
|
|
1095
|
+
return propValue.constructor.name;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
1099
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
1100
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1101
|
+
|
|
1102
|
+
return ReactPropTypes;
|
|
1103
|
+
};
|
|
1104
|
+
return factoryWithTypeCheckers;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1109
|
+
*
|
|
1110
|
+
* This source code is licensed under the MIT license found in the
|
|
1111
|
+
* LICENSE file in the root directory of this source tree.
|
|
1112
|
+
*/
|
|
1113
|
+
|
|
1114
|
+
var factoryWithThrowingShims;
|
|
1115
|
+
var hasRequiredFactoryWithThrowingShims;
|
|
1116
|
+
|
|
1117
|
+
function requireFactoryWithThrowingShims () {
|
|
1118
|
+
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
1119
|
+
hasRequiredFactoryWithThrowingShims = 1;
|
|
1120
|
+
|
|
1121
|
+
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
1122
|
+
|
|
1123
|
+
function emptyFunction() {}
|
|
1124
|
+
function emptyFunctionWithReset() {}
|
|
1125
|
+
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
1126
|
+
|
|
1127
|
+
factoryWithThrowingShims = function() {
|
|
1128
|
+
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1129
|
+
if (secret === ReactPropTypesSecret) {
|
|
1130
|
+
// It is still safe when called from React.
|
|
1131
|
+
return;
|
|
1132
|
+
}
|
|
1133
|
+
var err = new Error(
|
|
1134
|
+
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
1135
|
+
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
1136
|
+
'Read more at http://fb.me/use-check-prop-types'
|
|
1137
|
+
);
|
|
1138
|
+
err.name = 'Invariant Violation';
|
|
1139
|
+
throw err;
|
|
1140
|
+
} shim.isRequired = shim;
|
|
1141
|
+
function getShim() {
|
|
1142
|
+
return shim;
|
|
1143
|
+
} // Important!
|
|
1144
|
+
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1145
|
+
var ReactPropTypes = {
|
|
1146
|
+
array: shim,
|
|
1147
|
+
bigint: shim,
|
|
1148
|
+
bool: shim,
|
|
1149
|
+
func: shim,
|
|
1150
|
+
number: shim,
|
|
1151
|
+
object: shim,
|
|
1152
|
+
string: shim,
|
|
1153
|
+
symbol: shim,
|
|
1154
|
+
|
|
1155
|
+
any: shim,
|
|
1156
|
+
arrayOf: getShim,
|
|
1157
|
+
element: shim,
|
|
1158
|
+
elementType: shim,
|
|
1159
|
+
instanceOf: getShim,
|
|
1160
|
+
node: shim,
|
|
1161
|
+
objectOf: getShim,
|
|
1162
|
+
oneOf: getShim,
|
|
1163
|
+
oneOfType: getShim,
|
|
1164
|
+
shape: getShim,
|
|
1165
|
+
exact: getShim,
|
|
1166
|
+
|
|
1167
|
+
checkPropTypes: emptyFunctionWithReset,
|
|
1168
|
+
resetWarningCache: emptyFunction
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1172
|
+
|
|
1173
|
+
return ReactPropTypes;
|
|
1174
|
+
};
|
|
1175
|
+
return factoryWithThrowingShims;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1180
|
+
*
|
|
1181
|
+
* This source code is licensed under the MIT license found in the
|
|
1182
|
+
* LICENSE file in the root directory of this source tree.
|
|
1183
|
+
*/
|
|
1184
|
+
|
|
1185
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1186
|
+
var ReactIs = requireReactIs();
|
|
1187
|
+
|
|
1188
|
+
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1189
|
+
// http://fb.me/prop-types-in-prod
|
|
1190
|
+
var throwOnDirectAccess = true;
|
|
1191
|
+
propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
|
1192
|
+
} else {
|
|
1193
|
+
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1194
|
+
// http://fb.me/prop-types-in-prod
|
|
1195
|
+
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
var propTypesExports = propTypes.exports;
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
1202
|
+
* Build: `lodash modularize exports="npm" -o ./`
|
|
1203
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
1204
|
+
* Released under MIT license <https://lodash.com/license>
|
|
1205
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1206
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1207
|
+
*/
|
|
1208
|
+
|
|
1209
|
+
/** Used as the `TypeError` message for "Functions" methods. */
|
|
1210
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
1211
|
+
|
|
1212
|
+
/** Used as references for various `Number` constants. */
|
|
1213
|
+
var NAN = 0 / 0;
|
|
1214
|
+
|
|
1215
|
+
/** `Object#toString` result references. */
|
|
1216
|
+
var symbolTag = '[object Symbol]';
|
|
1217
|
+
|
|
1218
|
+
/** Used to match leading and trailing whitespace. */
|
|
1219
|
+
var reTrim = /^\s+|\s+$/g;
|
|
1220
|
+
|
|
1221
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
1222
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
1223
|
+
|
|
1224
|
+
/** Used to detect binary string values. */
|
|
1225
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
1226
|
+
|
|
1227
|
+
/** Used to detect octal string values. */
|
|
1228
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
1229
|
+
|
|
1230
|
+
/** Built-in method references without a dependency on `root`. */
|
|
1231
|
+
var freeParseInt = parseInt;
|
|
1232
|
+
|
|
1233
|
+
/** Detect free variable `global` from Node.js. */
|
|
1234
|
+
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
1235
|
+
|
|
1236
|
+
/** Detect free variable `self`. */
|
|
1237
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
1238
|
+
|
|
1239
|
+
/** Used as a reference to the global object. */
|
|
1240
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
1241
|
+
|
|
1242
|
+
/** Used for built-in method references. */
|
|
1243
|
+
var objectProto = Object.prototype;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Used to resolve the
|
|
1247
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
1248
|
+
* of values.
|
|
1249
|
+
*/
|
|
1250
|
+
var objectToString = objectProto.toString;
|
|
1251
|
+
|
|
1252
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1253
|
+
var nativeMax = Math.max,
|
|
1254
|
+
nativeMin = Math.min;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
1258
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
1259
|
+
*
|
|
1260
|
+
* @static
|
|
1261
|
+
* @memberOf _
|
|
1262
|
+
* @since 2.4.0
|
|
1263
|
+
* @category Date
|
|
1264
|
+
* @returns {number} Returns the timestamp.
|
|
1265
|
+
* @example
|
|
1266
|
+
*
|
|
1267
|
+
* _.defer(function(stamp) {
|
|
1268
|
+
* console.log(_.now() - stamp);
|
|
1269
|
+
* }, _.now());
|
|
1270
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
1271
|
+
*/
|
|
1272
|
+
var now = function() {
|
|
1273
|
+
return root.Date.now();
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
1278
|
+
* milliseconds have elapsed since the last time the debounced function was
|
|
1279
|
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
1280
|
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
1281
|
+
* Provide `options` to indicate whether `func` should be invoked on the
|
|
1282
|
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
1283
|
+
* with the last arguments provided to the debounced function. Subsequent
|
|
1284
|
+
* calls to the debounced function return the result of the last `func`
|
|
1285
|
+
* invocation.
|
|
1286
|
+
*
|
|
1287
|
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
1288
|
+
* invoked on the trailing edge of the timeout only if the debounced function
|
|
1289
|
+
* is invoked more than once during the `wait` timeout.
|
|
1290
|
+
*
|
|
1291
|
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
1292
|
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
1293
|
+
*
|
|
1294
|
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
1295
|
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
1296
|
+
*
|
|
1297
|
+
* @static
|
|
1298
|
+
* @memberOf _
|
|
1299
|
+
* @since 0.1.0
|
|
1300
|
+
* @category Function
|
|
1301
|
+
* @param {Function} func The function to debounce.
|
|
1302
|
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
1303
|
+
* @param {Object} [options={}] The options object.
|
|
1304
|
+
* @param {boolean} [options.leading=false]
|
|
1305
|
+
* Specify invoking on the leading edge of the timeout.
|
|
1306
|
+
* @param {number} [options.maxWait]
|
|
1307
|
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
1308
|
+
* @param {boolean} [options.trailing=true]
|
|
1309
|
+
* Specify invoking on the trailing edge of the timeout.
|
|
1310
|
+
* @returns {Function} Returns the new debounced function.
|
|
1311
|
+
* @example
|
|
1312
|
+
*
|
|
1313
|
+
* // Avoid costly calculations while the window size is in flux.
|
|
1314
|
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
1315
|
+
*
|
|
1316
|
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
1317
|
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
1318
|
+
* 'leading': true,
|
|
1319
|
+
* 'trailing': false
|
|
1320
|
+
* }));
|
|
1321
|
+
*
|
|
1322
|
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
1323
|
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
1324
|
+
* var source = new EventSource('/stream');
|
|
1325
|
+
* jQuery(source).on('message', debounced);
|
|
1326
|
+
*
|
|
1327
|
+
* // Cancel the trailing debounced invocation.
|
|
1328
|
+
* jQuery(window).on('popstate', debounced.cancel);
|
|
1329
|
+
*/
|
|
1330
|
+
function debounce(func, wait, options) {
|
|
1331
|
+
var lastArgs,
|
|
1332
|
+
lastThis,
|
|
1333
|
+
maxWait,
|
|
1334
|
+
result,
|
|
1335
|
+
timerId,
|
|
1336
|
+
lastCallTime,
|
|
1337
|
+
lastInvokeTime = 0,
|
|
1338
|
+
leading = false,
|
|
1339
|
+
maxing = false,
|
|
1340
|
+
trailing = true;
|
|
1341
|
+
|
|
1342
|
+
if (typeof func != 'function') {
|
|
1343
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1344
|
+
}
|
|
1345
|
+
wait = toNumber(wait) || 0;
|
|
1346
|
+
if (isObject(options)) {
|
|
1347
|
+
leading = !!options.leading;
|
|
1348
|
+
maxing = 'maxWait' in options;
|
|
1349
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
1350
|
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
function invokeFunc(time) {
|
|
1354
|
+
var args = lastArgs,
|
|
1355
|
+
thisArg = lastThis;
|
|
1356
|
+
|
|
1357
|
+
lastArgs = lastThis = undefined;
|
|
1358
|
+
lastInvokeTime = time;
|
|
1359
|
+
result = func.apply(thisArg, args);
|
|
1360
|
+
return result;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
function leadingEdge(time) {
|
|
1364
|
+
// Reset any `maxWait` timer.
|
|
1365
|
+
lastInvokeTime = time;
|
|
1366
|
+
// Start the timer for the trailing edge.
|
|
1367
|
+
timerId = setTimeout(timerExpired, wait);
|
|
1368
|
+
// Invoke the leading edge.
|
|
1369
|
+
return leading ? invokeFunc(time) : result;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
function remainingWait(time) {
|
|
1373
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
1374
|
+
timeSinceLastInvoke = time - lastInvokeTime,
|
|
1375
|
+
result = wait - timeSinceLastCall;
|
|
1376
|
+
|
|
1377
|
+
return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
function shouldInvoke(time) {
|
|
1381
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
1382
|
+
timeSinceLastInvoke = time - lastInvokeTime;
|
|
1383
|
+
|
|
1384
|
+
// Either this is the first call, activity has stopped and we're at the
|
|
1385
|
+
// trailing edge, the system time has gone backwards and we're treating
|
|
1386
|
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
1387
|
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
1388
|
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
function timerExpired() {
|
|
1392
|
+
var time = now();
|
|
1393
|
+
if (shouldInvoke(time)) {
|
|
1394
|
+
return trailingEdge(time);
|
|
1395
|
+
}
|
|
1396
|
+
// Restart the timer.
|
|
1397
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
function trailingEdge(time) {
|
|
1401
|
+
timerId = undefined;
|
|
1402
|
+
|
|
1403
|
+
// Only invoke if we have `lastArgs` which means `func` has been
|
|
1404
|
+
// debounced at least once.
|
|
1405
|
+
if (trailing && lastArgs) {
|
|
1406
|
+
return invokeFunc(time);
|
|
1407
|
+
}
|
|
1408
|
+
lastArgs = lastThis = undefined;
|
|
1409
|
+
return result;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
function cancel() {
|
|
1413
|
+
if (timerId !== undefined) {
|
|
1414
|
+
clearTimeout(timerId);
|
|
1415
|
+
}
|
|
1416
|
+
lastInvokeTime = 0;
|
|
1417
|
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
function flush() {
|
|
1421
|
+
return timerId === undefined ? result : trailingEdge(now());
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
function debounced() {
|
|
1425
|
+
var time = now(),
|
|
1426
|
+
isInvoking = shouldInvoke(time);
|
|
1427
|
+
|
|
1428
|
+
lastArgs = arguments;
|
|
1429
|
+
lastThis = this;
|
|
1430
|
+
lastCallTime = time;
|
|
1431
|
+
|
|
1432
|
+
if (isInvoking) {
|
|
1433
|
+
if (timerId === undefined) {
|
|
1434
|
+
return leadingEdge(lastCallTime);
|
|
1435
|
+
}
|
|
1436
|
+
if (maxing) {
|
|
1437
|
+
// Handle invocations in a tight loop.
|
|
1438
|
+
timerId = setTimeout(timerExpired, wait);
|
|
1439
|
+
return invokeFunc(lastCallTime);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
if (timerId === undefined) {
|
|
1443
|
+
timerId = setTimeout(timerExpired, wait);
|
|
1444
|
+
}
|
|
1445
|
+
return result;
|
|
1446
|
+
}
|
|
1447
|
+
debounced.cancel = cancel;
|
|
1448
|
+
debounced.flush = flush;
|
|
1449
|
+
return debounced;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* Checks if `value` is the
|
|
1454
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
1455
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
1456
|
+
*
|
|
1457
|
+
* @static
|
|
1458
|
+
* @memberOf _
|
|
1459
|
+
* @since 0.1.0
|
|
1460
|
+
* @category Lang
|
|
1461
|
+
* @param {*} value The value to check.
|
|
1462
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
1463
|
+
* @example
|
|
1464
|
+
*
|
|
1465
|
+
* _.isObject({});
|
|
1466
|
+
* // => true
|
|
1467
|
+
*
|
|
1468
|
+
* _.isObject([1, 2, 3]);
|
|
1469
|
+
* // => true
|
|
1470
|
+
*
|
|
1471
|
+
* _.isObject(_.noop);
|
|
1472
|
+
* // => true
|
|
1473
|
+
*
|
|
1474
|
+
* _.isObject(null);
|
|
1475
|
+
* // => false
|
|
1476
|
+
*/
|
|
1477
|
+
function isObject(value) {
|
|
1478
|
+
var type = typeof value;
|
|
1479
|
+
return !!value && (type == 'object' || type == 'function');
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
1484
|
+
* and has a `typeof` result of "object".
|
|
1485
|
+
*
|
|
1486
|
+
* @static
|
|
1487
|
+
* @memberOf _
|
|
1488
|
+
* @since 4.0.0
|
|
1489
|
+
* @category Lang
|
|
1490
|
+
* @param {*} value The value to check.
|
|
1491
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
1492
|
+
* @example
|
|
1493
|
+
*
|
|
1494
|
+
* _.isObjectLike({});
|
|
1495
|
+
* // => true
|
|
1496
|
+
*
|
|
1497
|
+
* _.isObjectLike([1, 2, 3]);
|
|
1498
|
+
* // => true
|
|
1499
|
+
*
|
|
1500
|
+
* _.isObjectLike(_.noop);
|
|
1501
|
+
* // => false
|
|
1502
|
+
*
|
|
1503
|
+
* _.isObjectLike(null);
|
|
1504
|
+
* // => false
|
|
1505
|
+
*/
|
|
1506
|
+
function isObjectLike(value) {
|
|
1507
|
+
return !!value && typeof value == 'object';
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
1512
|
+
*
|
|
1513
|
+
* @static
|
|
1514
|
+
* @memberOf _
|
|
1515
|
+
* @since 4.0.0
|
|
1516
|
+
* @category Lang
|
|
1517
|
+
* @param {*} value The value to check.
|
|
1518
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
1519
|
+
* @example
|
|
1520
|
+
*
|
|
1521
|
+
* _.isSymbol(Symbol.iterator);
|
|
1522
|
+
* // => true
|
|
1523
|
+
*
|
|
1524
|
+
* _.isSymbol('abc');
|
|
1525
|
+
* // => false
|
|
1526
|
+
*/
|
|
1527
|
+
function isSymbol(value) {
|
|
1528
|
+
return typeof value == 'symbol' ||
|
|
1529
|
+
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Converts `value` to a number.
|
|
1534
|
+
*
|
|
1535
|
+
* @static
|
|
1536
|
+
* @memberOf _
|
|
1537
|
+
* @since 4.0.0
|
|
1538
|
+
* @category Lang
|
|
1539
|
+
* @param {*} value The value to process.
|
|
1540
|
+
* @returns {number} Returns the number.
|
|
1541
|
+
* @example
|
|
1542
|
+
*
|
|
1543
|
+
* _.toNumber(3.2);
|
|
1544
|
+
* // => 3.2
|
|
1545
|
+
*
|
|
1546
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
1547
|
+
* // => 5e-324
|
|
1548
|
+
*
|
|
1549
|
+
* _.toNumber(Infinity);
|
|
1550
|
+
* // => Infinity
|
|
1551
|
+
*
|
|
1552
|
+
* _.toNumber('3.2');
|
|
1553
|
+
* // => 3.2
|
|
1554
|
+
*/
|
|
1555
|
+
function toNumber(value) {
|
|
1556
|
+
if (typeof value == 'number') {
|
|
1557
|
+
return value;
|
|
1558
|
+
}
|
|
1559
|
+
if (isSymbol(value)) {
|
|
1560
|
+
return NAN;
|
|
1561
|
+
}
|
|
1562
|
+
if (isObject(value)) {
|
|
1563
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
1564
|
+
value = isObject(other) ? (other + '') : other;
|
|
1565
|
+
}
|
|
1566
|
+
if (typeof value != 'string') {
|
|
1567
|
+
return value === 0 ? value : +value;
|
|
1568
|
+
}
|
|
1569
|
+
value = value.replace(reTrim, '');
|
|
1570
|
+
var isBinary = reIsBinary.test(value);
|
|
1571
|
+
return (isBinary || reIsOctal.test(value))
|
|
1572
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
1573
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
var lodash_debounce = debounce;
|
|
1577
|
+
|
|
1578
|
+
var helpers = {};
|
|
1579
|
+
|
|
1580
|
+
Object.defineProperty(helpers, "__esModule", {
|
|
1581
|
+
value: true
|
|
1582
|
+
});
|
|
1583
|
+
helpers.compose = function compose() {
|
|
1584
|
+
for (var _len = arguments.length, fns = Array(_len), _key = 0; _key < _len; _key++) {
|
|
1585
|
+
fns[_key] = arguments[_key];
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
return function () {
|
|
1589
|
+
for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
1590
|
+
args[_key2] = arguments[_key2];
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
fns.forEach(function (fn) {
|
|
1594
|
+
return fn && fn.apply(undefined, args);
|
|
1595
|
+
});
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
helpers.pick = function pick(obj) {
|
|
1600
|
+
for (var _len3 = arguments.length, props = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
1601
|
+
props[_key3 - 1] = arguments[_key3];
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
return props.reduce(function (newObj, prop) {
|
|
1605
|
+
if (obj && obj.hasOwnProperty(prop)) {
|
|
1606
|
+
newObj[prop] = obj[prop];
|
|
1607
|
+
}
|
|
1608
|
+
return newObj;
|
|
1609
|
+
}, {});
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1612
|
+
Object.defineProperty(PlacesAutocomplete$1, "__esModule", {
|
|
1613
|
+
value: true
|
|
1614
|
+
});
|
|
1615
|
+
|
|
1616
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
1617
|
+
|
|
1618
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
1619
|
+
|
|
1620
|
+
var _react = React;
|
|
1621
|
+
|
|
1622
|
+
var _react2 = _interopRequireDefault$1(_react);
|
|
1623
|
+
|
|
1624
|
+
var _propTypes = propTypesExports;
|
|
1625
|
+
|
|
1626
|
+
var _propTypes2 = _interopRequireDefault$1(_propTypes);
|
|
1627
|
+
|
|
1628
|
+
var _lodash = lodash_debounce;
|
|
1629
|
+
|
|
1630
|
+
var _lodash2 = _interopRequireDefault$1(_lodash);
|
|
1631
|
+
|
|
1632
|
+
var _helpers = helpers;
|
|
1633
|
+
|
|
1634
|
+
function _interopRequireDefault$1(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1635
|
+
|
|
1636
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1637
|
+
|
|
1638
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
1639
|
+
|
|
1640
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /*
|
|
1641
|
+
* Copyright (c) 2016-present, Ken Hibino.
|
|
1642
|
+
* Licensed under the MIT License (MIT).
|
|
1643
|
+
* See https://kenny-hibino.github.io/react-places-autocomplete
|
|
1644
|
+
*/
|
|
1645
|
+
|
|
1646
|
+
// transform snake_case to camelCase
|
|
1647
|
+
var formattedSuggestion = function formattedSuggestion(structured_formatting) {
|
|
1648
|
+
return {
|
|
1649
|
+
mainText: structured_formatting.main_text,
|
|
1650
|
+
secondaryText: structured_formatting.secondary_text
|
|
1651
|
+
};
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
var PlacesAutocomplete = function (_React$Component) {
|
|
1655
|
+
_inherits(PlacesAutocomplete, _React$Component);
|
|
1656
|
+
|
|
1657
|
+
function PlacesAutocomplete(props) {
|
|
1658
|
+
_classCallCheck(this, PlacesAutocomplete);
|
|
1659
|
+
|
|
1660
|
+
var _this = _possibleConstructorReturn(this, (PlacesAutocomplete.__proto__ || Object.getPrototypeOf(PlacesAutocomplete)).call(this, props));
|
|
1661
|
+
|
|
1662
|
+
_this.init = function () {
|
|
1663
|
+
if (!window.google) {
|
|
1664
|
+
throw new Error('[react-places-autocomplete]: Google Maps JavaScript API library must be loaded. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library');
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
if (!window.google.maps.places) {
|
|
1668
|
+
throw new Error('[react-places-autocomplete]: Google Maps Places library must be loaded. Please add `libraries=places` to the src URL. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library');
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
_this.autocompleteService = new window.google.maps.places.AutocompleteService();
|
|
1672
|
+
_this.autocompleteOK = window.google.maps.places.PlacesServiceStatus.OK;
|
|
1673
|
+
_this.setState(function (state) {
|
|
1674
|
+
if (state.ready) {
|
|
1675
|
+
return null;
|
|
1676
|
+
} else {
|
|
1677
|
+
return { ready: true };
|
|
1678
|
+
}
|
|
1679
|
+
});
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
_this.autocompleteCallback = function (predictions, status) {
|
|
1683
|
+
_this.setState({ loading: false });
|
|
1684
|
+
if (status !== _this.autocompleteOK) {
|
|
1685
|
+
_this.props.onError(status, _this.clearSuggestions);
|
|
1686
|
+
return;
|
|
1687
|
+
}
|
|
1688
|
+
var highlightFirstSuggestion = _this.props.highlightFirstSuggestion;
|
|
1689
|
+
|
|
1690
|
+
_this.setState({
|
|
1691
|
+
suggestions: predictions.map(function (p, idx) {
|
|
1692
|
+
return {
|
|
1693
|
+
id: p.id,
|
|
1694
|
+
description: p.description,
|
|
1695
|
+
placeId: p.place_id,
|
|
1696
|
+
active: highlightFirstSuggestion && idx === 0 ? true : false,
|
|
1697
|
+
index: idx,
|
|
1698
|
+
formattedSuggestion: formattedSuggestion(p.structured_formatting),
|
|
1699
|
+
matchedSubstrings: p.matched_substrings,
|
|
1700
|
+
terms: p.terms,
|
|
1701
|
+
types: p.types
|
|
1702
|
+
};
|
|
1703
|
+
})
|
|
1704
|
+
});
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
_this.fetchPredictions = function () {
|
|
1708
|
+
var value = _this.props.value;
|
|
1709
|
+
|
|
1710
|
+
if (value.length) {
|
|
1711
|
+
_this.setState({ loading: true });
|
|
1712
|
+
_this.autocompleteService.getPlacePredictions(_extends({}, _this.props.searchOptions, {
|
|
1713
|
+
input: value
|
|
1714
|
+
}), _this.autocompleteCallback);
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
_this.clearSuggestions = function () {
|
|
1719
|
+
_this.setState({ suggestions: [] });
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
_this.clearActive = function () {
|
|
1723
|
+
_this.setState({
|
|
1724
|
+
suggestions: _this.state.suggestions.map(function (suggestion) {
|
|
1725
|
+
return _extends({}, suggestion, {
|
|
1726
|
+
active: false
|
|
1727
|
+
});
|
|
1728
|
+
})
|
|
1729
|
+
});
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
_this.handleSelect = function (address, placeId, suggestion) {
|
|
1733
|
+
_this.clearSuggestions();
|
|
1734
|
+
if (_this.props.onSelect) {
|
|
1735
|
+
_this.props.onSelect(address, placeId, suggestion);
|
|
1736
|
+
} else {
|
|
1737
|
+
_this.props.onChange(address);
|
|
1738
|
+
}
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
_this.getActiveSuggestion = function () {
|
|
1742
|
+
return _this.state.suggestions.find(function (suggestion) {
|
|
1743
|
+
return suggestion.active;
|
|
1744
|
+
});
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
_this.selectActiveAtIndex = function (index) {
|
|
1748
|
+
var activeName = _this.state.suggestions.find(function (suggestion) {
|
|
1749
|
+
return suggestion.index === index;
|
|
1750
|
+
}).description;
|
|
1751
|
+
_this.setActiveAtIndex(index);
|
|
1752
|
+
_this.props.onChange(activeName);
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
_this.selectUserInputValue = function () {
|
|
1756
|
+
_this.clearActive();
|
|
1757
|
+
_this.props.onChange(_this.state.userInputValue);
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
_this.handleEnterKey = function () {
|
|
1761
|
+
var activeSuggestion = _this.getActiveSuggestion();
|
|
1762
|
+
if (activeSuggestion === undefined) {
|
|
1763
|
+
_this.handleSelect(_this.props.value, null, null);
|
|
1764
|
+
} else {
|
|
1765
|
+
_this.handleSelect(activeSuggestion.description, activeSuggestion.placeId, activeSuggestion);
|
|
1766
|
+
}
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
_this.handleDownKey = function () {
|
|
1770
|
+
if (_this.state.suggestions.length === 0) {
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
var activeSuggestion = _this.getActiveSuggestion();
|
|
1775
|
+
if (activeSuggestion === undefined) {
|
|
1776
|
+
_this.selectActiveAtIndex(0);
|
|
1777
|
+
} else if (activeSuggestion.index === _this.state.suggestions.length - 1) {
|
|
1778
|
+
_this.selectUserInputValue();
|
|
1779
|
+
} else {
|
|
1780
|
+
_this.selectActiveAtIndex(activeSuggestion.index + 1);
|
|
1781
|
+
}
|
|
1782
|
+
};
|
|
1783
|
+
|
|
1784
|
+
_this.handleUpKey = function () {
|
|
1785
|
+
if (_this.state.suggestions.length === 0) {
|
|
1786
|
+
return;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
var activeSuggestion = _this.getActiveSuggestion();
|
|
1790
|
+
if (activeSuggestion === undefined) {
|
|
1791
|
+
_this.selectActiveAtIndex(_this.state.suggestions.length - 1);
|
|
1792
|
+
} else if (activeSuggestion.index === 0) {
|
|
1793
|
+
_this.selectUserInputValue();
|
|
1794
|
+
} else {
|
|
1795
|
+
_this.selectActiveAtIndex(activeSuggestion.index - 1);
|
|
1796
|
+
}
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
_this.handleInputKeyDown = function (event) {
|
|
1800
|
+
/* eslint-disable indent */
|
|
1801
|
+
switch (event.key) {
|
|
1802
|
+
case 'Enter':
|
|
1803
|
+
event.preventDefault();
|
|
1804
|
+
_this.handleEnterKey();
|
|
1805
|
+
break;
|
|
1806
|
+
case 'ArrowDown':
|
|
1807
|
+
event.preventDefault(); // prevent the cursor from moving
|
|
1808
|
+
_this.handleDownKey();
|
|
1809
|
+
break;
|
|
1810
|
+
case 'ArrowUp':
|
|
1811
|
+
event.preventDefault(); // prevent the cursor from moving
|
|
1812
|
+
_this.handleUpKey();
|
|
1813
|
+
break;
|
|
1814
|
+
case 'Escape':
|
|
1815
|
+
_this.clearSuggestions();
|
|
1816
|
+
break;
|
|
1817
|
+
}
|
|
1818
|
+
/* eslint-enable indent */
|
|
1819
|
+
};
|
|
1820
|
+
|
|
1821
|
+
_this.setActiveAtIndex = function (index) {
|
|
1822
|
+
_this.setState({
|
|
1823
|
+
suggestions: _this.state.suggestions.map(function (suggestion, idx) {
|
|
1824
|
+
if (idx === index) {
|
|
1825
|
+
return _extends({}, suggestion, { active: true });
|
|
1826
|
+
} else {
|
|
1827
|
+
return _extends({}, suggestion, { active: false });
|
|
1828
|
+
}
|
|
1829
|
+
})
|
|
1830
|
+
});
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
_this.handleInputChange = function (event) {
|
|
1834
|
+
var value = event.target.value;
|
|
1835
|
+
|
|
1836
|
+
_this.props.onChange(value);
|
|
1837
|
+
_this.setState({ userInputValue: value });
|
|
1838
|
+
if (!value) {
|
|
1839
|
+
_this.clearSuggestions();
|
|
1840
|
+
return;
|
|
1841
|
+
}
|
|
1842
|
+
if (_this.props.shouldFetchSuggestions) {
|
|
1843
|
+
_this.debouncedFetchPredictions();
|
|
1844
|
+
}
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
_this.handleInputOnBlur = function () {
|
|
1848
|
+
if (!_this.mousedownOnSuggestion) {
|
|
1849
|
+
_this.clearSuggestions();
|
|
1850
|
+
}
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
_this.getActiveSuggestionId = function () {
|
|
1854
|
+
var activeSuggestion = _this.getActiveSuggestion();
|
|
1855
|
+
return activeSuggestion ? 'PlacesAutocomplete__suggestion-' + activeSuggestion.placeId : undefined;
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
_this.getIsExpanded = function () {
|
|
1859
|
+
return _this.state.suggestions.length > 0;
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
_this.getInputProps = function () {
|
|
1863
|
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1864
|
+
|
|
1865
|
+
if (options.hasOwnProperty('value')) {
|
|
1866
|
+
throw new Error('[react-places-autocomplete]: getInputProps does not accept `value`. Use `value` prop instead');
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
if (options.hasOwnProperty('onChange')) {
|
|
1870
|
+
throw new Error('[react-places-autocomplete]: getInputProps does not accept `onChange`. Use `onChange` prop instead');
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
var defaultInputProps = {
|
|
1874
|
+
type: 'text',
|
|
1875
|
+
autoComplete: 'off',
|
|
1876
|
+
role: 'combobox',
|
|
1877
|
+
'aria-autocomplete': 'list',
|
|
1878
|
+
'aria-expanded': _this.getIsExpanded(),
|
|
1879
|
+
'aria-activedescendant': _this.getActiveSuggestionId(),
|
|
1880
|
+
disabled: !_this.state.ready
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
return _extends({}, defaultInputProps, options, {
|
|
1884
|
+
onKeyDown: (0, _helpers.compose)(_this.handleInputKeyDown, options.onKeyDown),
|
|
1885
|
+
onBlur: (0, _helpers.compose)(_this.handleInputOnBlur, options.onBlur),
|
|
1886
|
+
value: _this.props.value,
|
|
1887
|
+
onChange: function onChange(event) {
|
|
1888
|
+
_this.handleInputChange(event);
|
|
1889
|
+
}
|
|
1890
|
+
});
|
|
1891
|
+
};
|
|
1892
|
+
|
|
1893
|
+
_this.getSuggestionItemProps = function (suggestion) {
|
|
1894
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1895
|
+
|
|
1896
|
+
var handleSuggestionMouseEnter = _this.handleSuggestionMouseEnter.bind(_this, suggestion.index);
|
|
1897
|
+
var handleSuggestionClick = _this.handleSuggestionClick.bind(_this, suggestion);
|
|
1898
|
+
|
|
1899
|
+
return _extends({}, options, {
|
|
1900
|
+
key: suggestion.id,
|
|
1901
|
+
id: _this.getActiveSuggestionId(),
|
|
1902
|
+
role: 'option',
|
|
1903
|
+
onMouseEnter: (0, _helpers.compose)(handleSuggestionMouseEnter, options.onMouseEnter),
|
|
1904
|
+
onMouseLeave: (0, _helpers.compose)(_this.handleSuggestionMouseLeave, options.onMouseLeave),
|
|
1905
|
+
onMouseDown: (0, _helpers.compose)(_this.handleSuggestionMouseDown, options.onMouseDown),
|
|
1906
|
+
onMouseUp: (0, _helpers.compose)(_this.handleSuggestionMouseUp, options.onMouseUp),
|
|
1907
|
+
onTouchStart: (0, _helpers.compose)(_this.handleSuggestionTouchStart, options.onTouchStart),
|
|
1908
|
+
onTouchEnd: (0, _helpers.compose)(_this.handleSuggestionMouseUp, options.onTouchEnd),
|
|
1909
|
+
onClick: (0, _helpers.compose)(handleSuggestionClick, options.onClick)
|
|
1910
|
+
});
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
_this.handleSuggestionMouseEnter = function (index) {
|
|
1914
|
+
_this.setActiveAtIndex(index);
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
_this.handleSuggestionMouseLeave = function () {
|
|
1918
|
+
_this.mousedownOnSuggestion = false;
|
|
1919
|
+
_this.clearActive();
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1922
|
+
_this.handleSuggestionMouseDown = function (event) {
|
|
1923
|
+
event.preventDefault();
|
|
1924
|
+
_this.mousedownOnSuggestion = true;
|
|
1925
|
+
};
|
|
1926
|
+
|
|
1927
|
+
_this.handleSuggestionTouchStart = function () {
|
|
1928
|
+
_this.mousedownOnSuggestion = true;
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
_this.handleSuggestionMouseUp = function () {
|
|
1932
|
+
_this.mousedownOnSuggestion = false;
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
_this.handleSuggestionClick = function (suggestion, event) {
|
|
1936
|
+
if (event && event.preventDefault) {
|
|
1937
|
+
event.preventDefault();
|
|
1938
|
+
}
|
|
1939
|
+
var description = suggestion.description,
|
|
1940
|
+
placeId = suggestion.placeId;
|
|
1941
|
+
|
|
1942
|
+
_this.handleSelect(description, placeId, suggestion);
|
|
1943
|
+
setTimeout(function () {
|
|
1944
|
+
_this.mousedownOnSuggestion = false;
|
|
1945
|
+
});
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
_this.state = {
|
|
1949
|
+
loading: false,
|
|
1950
|
+
suggestions: [],
|
|
1951
|
+
userInputValue: props.value,
|
|
1952
|
+
ready: !props.googleCallbackName
|
|
1953
|
+
};
|
|
1954
|
+
|
|
1955
|
+
_this.debouncedFetchPredictions = (0, _lodash2.default)(_this.fetchPredictions, props.debounce);
|
|
1956
|
+
return _this;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
_createClass(PlacesAutocomplete, [{
|
|
1960
|
+
key: 'componentDidMount',
|
|
1961
|
+
value: function componentDidMount() {
|
|
1962
|
+
var googleCallbackName = this.props.googleCallbackName;
|
|
1963
|
+
|
|
1964
|
+
if (googleCallbackName) {
|
|
1965
|
+
var isPlacesLoaded = window.google && window.google.maps && window.google.maps.places;
|
|
1966
|
+
if (!isPlacesLoaded) {
|
|
1967
|
+
window[googleCallbackName] = this.init;
|
|
1968
|
+
} else {
|
|
1969
|
+
this.init();
|
|
1970
|
+
}
|
|
1971
|
+
} else {
|
|
1972
|
+
this.init();
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
}, {
|
|
1976
|
+
key: 'componentWillUnmount',
|
|
1977
|
+
value: function componentWillUnmount() {
|
|
1978
|
+
var googleCallbackName = this.props.googleCallbackName;
|
|
1979
|
+
|
|
1980
|
+
if (googleCallbackName && window[googleCallbackName]) {
|
|
1981
|
+
delete window[googleCallbackName];
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
}, {
|
|
1985
|
+
key: 'render',
|
|
1986
|
+
value: function render() {
|
|
1987
|
+
return this.props.children({
|
|
1988
|
+
getInputProps: this.getInputProps,
|
|
1989
|
+
getSuggestionItemProps: this.getSuggestionItemProps,
|
|
1990
|
+
loading: this.state.loading,
|
|
1991
|
+
suggestions: this.state.suggestions
|
|
1992
|
+
});
|
|
1993
|
+
}
|
|
1994
|
+
}]);
|
|
1995
|
+
|
|
1996
|
+
return PlacesAutocomplete;
|
|
1997
|
+
}(_react2.default.Component);
|
|
1998
|
+
|
|
1999
|
+
PlacesAutocomplete.propTypes = {
|
|
2000
|
+
onChange: _propTypes2.default.func.isRequired,
|
|
2001
|
+
value: _propTypes2.default.string.isRequired,
|
|
2002
|
+
children: _propTypes2.default.func.isRequired,
|
|
2003
|
+
onError: _propTypes2.default.func,
|
|
2004
|
+
onSelect: _propTypes2.default.func,
|
|
2005
|
+
searchOptions: _propTypes2.default.shape({
|
|
2006
|
+
bounds: _propTypes2.default.object,
|
|
2007
|
+
componentRestrictions: _propTypes2.default.object,
|
|
2008
|
+
location: _propTypes2.default.object,
|
|
2009
|
+
offset: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),
|
|
2010
|
+
radius: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),
|
|
2011
|
+
types: _propTypes2.default.array
|
|
2012
|
+
}),
|
|
2013
|
+
debounce: _propTypes2.default.number,
|
|
2014
|
+
highlightFirstSuggestion: _propTypes2.default.bool,
|
|
2015
|
+
shouldFetchSuggestions: _propTypes2.default.bool,
|
|
2016
|
+
googleCallbackName: _propTypes2.default.string
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
PlacesAutocomplete.defaultProps = {
|
|
2020
|
+
/* eslint-disable no-unused-vars, no-console */
|
|
2021
|
+
onError: function onError(status, _clearSuggestions) {
|
|
2022
|
+
return console.error('[react-places-autocomplete]: error happened when fetching data from Google Maps API.\nPlease check the docs here (https://developers.google.com/maps/documentation/javascript/places#place_details_responses)\nStatus: ', status);
|
|
2023
|
+
},
|
|
2024
|
+
/* eslint-enable no-unused-vars, no-console */
|
|
2025
|
+
searchOptions: {},
|
|
2026
|
+
debounce: 200,
|
|
2027
|
+
highlightFirstSuggestion: false,
|
|
2028
|
+
shouldFetchSuggestions: true
|
|
2029
|
+
};
|
|
2030
|
+
|
|
2031
|
+
PlacesAutocomplete$1.default = PlacesAutocomplete;
|
|
2032
|
+
|
|
2033
|
+
var utils = {};
|
|
2034
|
+
|
|
2035
|
+
Object.defineProperty(utils, "__esModule", {
|
|
2036
|
+
value: true
|
|
2037
|
+
});
|
|
2038
|
+
utils.geocodeByAddress = function geocodeByAddress(address) {
|
|
2039
|
+
var geocoder = new window.google.maps.Geocoder();
|
|
2040
|
+
var OK = window.google.maps.GeocoderStatus.OK;
|
|
2041
|
+
|
|
2042
|
+
return new Promise(function (resolve, reject) {
|
|
2043
|
+
geocoder.geocode({ address: address }, function (results, status) {
|
|
2044
|
+
if (status !== OK) {
|
|
2045
|
+
reject(status);
|
|
2046
|
+
}
|
|
2047
|
+
resolve(results);
|
|
2048
|
+
});
|
|
2049
|
+
});
|
|
2050
|
+
};
|
|
2051
|
+
|
|
2052
|
+
utils.getLatLng = function getLatLng(result) {
|
|
2053
|
+
return new Promise(function (resolve, reject) {
|
|
2054
|
+
try {
|
|
2055
|
+
var latLng = {
|
|
2056
|
+
lat: result.geometry.location.lat(),
|
|
2057
|
+
lng: result.geometry.location.lng()
|
|
2058
|
+
};
|
|
2059
|
+
resolve(latLng);
|
|
2060
|
+
} catch (e) {
|
|
2061
|
+
reject(e);
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2066
|
+
utils.geocodeByPlaceId = function geocodeByPlaceId(placeId) {
|
|
2067
|
+
var geocoder = new window.google.maps.Geocoder();
|
|
2068
|
+
var OK = window.google.maps.GeocoderStatus.OK;
|
|
2069
|
+
|
|
2070
|
+
return new Promise(function (resolve, reject) {
|
|
2071
|
+
geocoder.geocode({ placeId: placeId }, function (results, status) {
|
|
2072
|
+
if (status !== OK) {
|
|
2073
|
+
reject(status);
|
|
2074
|
+
}
|
|
2075
|
+
resolve(results);
|
|
2076
|
+
});
|
|
2077
|
+
});
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
Object.defineProperty(dist, "__esModule", {
|
|
2081
|
+
value: true
|
|
2082
|
+
});
|
|
2083
|
+
dist.getLatLng = geocodeByPlaceId = dist.geocodeByPlaceId = geocodeByAddress = dist.geocodeByAddress = undefined;
|
|
2084
|
+
|
|
2085
|
+
var _PlacesAutocomplete = PlacesAutocomplete$1;
|
|
2086
|
+
|
|
2087
|
+
var _PlacesAutocomplete2 = _interopRequireDefault(_PlacesAutocomplete);
|
|
2088
|
+
|
|
2089
|
+
var _utils = utils;
|
|
2090
|
+
|
|
2091
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2092
|
+
|
|
2093
|
+
var geocodeByAddress = dist.geocodeByAddress = _utils.geocodeByAddress;
|
|
2094
|
+
var geocodeByPlaceId = dist.geocodeByPlaceId = _utils.geocodeByPlaceId;
|
|
2095
|
+
dist.getLatLng = _utils.getLatLng;
|
|
2096
|
+
var _default = dist.default = _PlacesAutocomplete2.default;
|
|
2097
|
+
|
|
2098
|
+
var AddressInputErrorBoundary = /** @class */ (function (_super) {
|
|
2099
|
+
_tslib.__extends(AddressInputErrorBoundary, _super);
|
|
2100
|
+
function AddressInputErrorBoundary(props) {
|
|
2101
|
+
var _this = _super.call(this, props) || this;
|
|
2102
|
+
_this.state = { hasError: false };
|
|
2103
|
+
return _this;
|
|
2104
|
+
}
|
|
2105
|
+
AddressInputErrorBoundary.getDerivedStateFromError = function () {
|
|
2106
|
+
// Update state so the next render will show the fallback UI.
|
|
2107
|
+
return { hasError: true };
|
|
2108
|
+
};
|
|
2109
|
+
AddressInputErrorBoundary.prototype.componentDidCatch = function (error, errorInfo) {
|
|
2110
|
+
// You can also log the error to an error reporting service
|
|
2111
|
+
console.error(error, errorInfo);
|
|
2112
|
+
};
|
|
2113
|
+
AddressInputErrorBoundary.prototype.render = function () {
|
|
2114
|
+
if (this.state.hasError) {
|
|
2115
|
+
// You can render any custom fallback UI
|
|
2116
|
+
return jsxRuntime.jsx(BodyLEmphasis.BodyMPrimary, { children: "AddressInput has failed. Make sure you have included a valid API key" });
|
|
2117
|
+
}
|
|
2118
|
+
return this.props.children;
|
|
2119
|
+
};
|
|
2120
|
+
return AddressInputErrorBoundary;
|
|
2121
|
+
}(React.Component));
|
|
2122
|
+
|
|
2123
|
+
var PlacesList = styled.styled.div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n box-shadow: 1px 2px 10px rgba(43, 52, 125, 0.3);\n background-color: white;\n border-radius: 7px;\n max-width: 100%;\n overflow: hidden;\n padding: 10px 15px;\n position: absolute;\n top: ", "px;\n z-index: 1;\n"], ["\n box-shadow: 1px 2px 10px rgba(43, 52, 125, 0.3);\n background-color: white;\n border-radius: 7px;\n max-width: 100%;\n overflow: hidden;\n padding: 10px 15px;\n position: absolute;\n top: ", "px;\n z-index: 1;\n"])), function (_a) {
|
|
2124
|
+
var $inline = _a.$inline, $inputHeight = _a.$inputHeight, theme = _a.theme;
|
|
2125
|
+
return ($inputHeight || theme.input.inputHeight) + ($inline ? 0 : 26);
|
|
2126
|
+
});
|
|
2127
|
+
var PlaceOption = styled.styled.div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n font-size: 14px;\n font-weight: 600;\n cursor: pointer;\n padding: 5px 0;\n line-height: 150%;\n"], ["\n font-size: 14px;\n font-weight: 600;\n cursor: pointer;\n padding: 5px 0;\n line-height: 150%;\n"])));
|
|
2128
|
+
var AddressInputContainer = styled.styled.div(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n position: relative;\n z-index: 2;\n"], ["\n position: relative;\n z-index: 2;\n"])));
|
|
2129
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
2130
|
+
|
|
2131
|
+
var AddressInput = function (props) {
|
|
2132
|
+
var disabled = props.disabled, inline = props.inline, inputHeight = props.inputHeight, name = props.name, onChange = props.onChange, onInputBlur = props.onInputBlur, onInputFocus = props.onInputFocus, onValueChange = props.onValueChange, _a = props.restrictToCountry, restrictToCountry = _a === void 0 ? "USA" : _a, streetAddressOnly = props.streetAddressOnly, value = props.value, verifyAddress = props.verifyAddress, _b = props.verifyAddressMessage, verifyAddressMessage = _b === void 0 ? "Address unverified - please double-check." : _b, showValidationMessage = props.showValidationMessage, validationMessage = props.validationMessage;
|
|
2133
|
+
var _c = React.useState(value || ""), address = _c[0], setAddress = _c[1];
|
|
2134
|
+
var _d = React.useState(false), hideSuggestions = _d[0], setHideSuggestions = _d[1];
|
|
2135
|
+
var _e = React.useState(showValidationMessage), showValidation = _e[0], setShowValidation = _e[1];
|
|
2136
|
+
var _f = React.useState(validationMessage), vMessage = _f[0], setVMessage = _f[1];
|
|
2137
|
+
var InputComponent = inline ? InlineInput.InlineInput : Input.Input;
|
|
2138
|
+
var handleChange = function (changeValue) {
|
|
2139
|
+
setAddress(changeValue);
|
|
2140
|
+
onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(changeValue);
|
|
2141
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({ target: { value: String(changeValue), name: name } });
|
|
2142
|
+
};
|
|
2143
|
+
var handleSelect = function (addressString, placeId, addressObject) { return _tslib.__awaiter(void 0, void 0, void 0, function () {
|
|
2144
|
+
var place, _a, postalCode, stateAbbreviation, details, desiredAddress;
|
|
2145
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
2146
|
+
return _tslib.__generator(this, function (_q) {
|
|
2147
|
+
switch (_q.label) {
|
|
2148
|
+
case 0: return [4 /*yield*/, geocodeByPlaceId(placeId)];
|
|
2149
|
+
case 1:
|
|
2150
|
+
place = (_q.sent())[0];
|
|
2151
|
+
_a = (place.address_components.find(function (c) { return c.types.includes("postal_code"); }) || {}).long_name, postalCode = _a === void 0 ? "" : _a;
|
|
2152
|
+
stateAbbreviation = (_d = (_b = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _b === void 0 ? void 0 : _b[((_c = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _c === void 0 ? void 0 : _c.length) - 2]) === null || _d === void 0 ? void 0 : _d.value;
|
|
2153
|
+
details = {
|
|
2154
|
+
city: (_g = (_e = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _e === void 0 ? void 0 : _e[((_f = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _f === void 0 ? void 0 : _f.length) - 3]) === null || _g === void 0 ? void 0 : _g.value,
|
|
2155
|
+
country: (_k = (_h = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _h === void 0 ? void 0 : _h[((_j = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _j === void 0 ? void 0 : _j.length) - 1]) === null || _k === void 0 ? void 0 : _k.value,
|
|
2156
|
+
state: stateAbbreviationLookup.stateAbbreviationLookup[stateAbbreviation],
|
|
2157
|
+
stateAbbreviation: (_o = (_l = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _l === void 0 ? void 0 : _l[((_m = addressObject === null || addressObject === void 0 ? void 0 : addressObject.terms) === null || _m === void 0 ? void 0 : _m.length) - 2]) === null || _o === void 0 ? void 0 : _o.value,
|
|
2158
|
+
street: (_p = addressObject === null || addressObject === void 0 ? void 0 : addressObject.formattedSuggestion) === null || _p === void 0 ? void 0 : _p.mainText,
|
|
2159
|
+
postalCode: postalCode,
|
|
2160
|
+
rawAddressObject: addressObject,
|
|
2161
|
+
};
|
|
2162
|
+
desiredAddress = streetAddressOnly ? details.street : addressString;
|
|
2163
|
+
setAddress(desiredAddress || "");
|
|
2164
|
+
onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(desiredAddress || "", details);
|
|
2165
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({ target: { value: desiredAddress || "", name: name } }, details);
|
|
2166
|
+
return [2 /*return*/];
|
|
2167
|
+
}
|
|
2168
|
+
});
|
|
2169
|
+
}); };
|
|
2170
|
+
var handleBlur = function (event) { return _tslib.__awaiter(void 0, void 0, void 0, function () {
|
|
2171
|
+
var results, placeId;
|
|
2172
|
+
return _tslib.__generator(this, function (_a) {
|
|
2173
|
+
switch (_a.label) {
|
|
2174
|
+
case 0:
|
|
2175
|
+
if (!verifyAddress) return [3 /*break*/, 4];
|
|
2176
|
+
_a.label = 1;
|
|
2177
|
+
case 1:
|
|
2178
|
+
_a.trys.push([1, 3, , 4]);
|
|
2179
|
+
setShowValidation(false);
|
|
2180
|
+
setVMessage("");
|
|
2181
|
+
return [4 /*yield*/, geocodeByAddress("".concat(address))];
|
|
2182
|
+
case 2:
|
|
2183
|
+
results = _a.sent();
|
|
2184
|
+
placeId = results[0].place_id;
|
|
2185
|
+
return [2 /*return*/, placeId];
|
|
2186
|
+
case 3:
|
|
2187
|
+
_a.sent();
|
|
2188
|
+
setShowValidation(true);
|
|
2189
|
+
setVMessage(verifyAddressMessage);
|
|
2190
|
+
return [3 /*break*/, 4];
|
|
2191
|
+
case 4:
|
|
2192
|
+
setHideSuggestions(true);
|
|
2193
|
+
onInputBlur === null || onInputBlur === void 0 ? void 0 : onInputBlur(event);
|
|
2194
|
+
return [2 /*return*/];
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2197
|
+
}); };
|
|
2198
|
+
var handleFocus = function (event) {
|
|
2199
|
+
setHideSuggestions(false);
|
|
2200
|
+
onInputFocus === null || onInputFocus === void 0 ? void 0 : onInputFocus(event);
|
|
2201
|
+
};
|
|
2202
|
+
React.useEffect(function () {
|
|
2203
|
+
setAddress(value || "");
|
|
2204
|
+
}, [value]);
|
|
2205
|
+
React.useEffect(function () {
|
|
2206
|
+
setShowValidation(showValidationMessage);
|
|
2207
|
+
setVMessage(validationMessage);
|
|
2208
|
+
}, [showValidationMessage, validationMessage]);
|
|
2209
|
+
return (jsxRuntime.jsx("div", { id: "outer-testid", children: jsxRuntime.jsx(AddressInputErrorBoundary, { children: jsxRuntime.jsx(_default, { value: address, onChange: handleChange,
|
|
2210
|
+
// Ignoring this because the addressObject is not documented in the react-places-autocomplete types
|
|
2211
|
+
// @ts-ignore
|
|
2212
|
+
onSelect: handleSelect, searchOptions: { componentRestrictions: { country: restrictToCountry || "" } }, children: function (_a) {
|
|
2213
|
+
var getInputProps = _a.getInputProps, suggestions = _a.suggestions, getSuggestionItemProps = _a.getSuggestionItemProps;
|
|
2214
|
+
return (jsxRuntime.jsxs(AddressInputContainer, { id: "address-input-id", children: [jsxRuntime.jsx(InputComponent, _tslib.__assign({}, props, getInputProps({
|
|
2215
|
+
onValueChange: handleChange,
|
|
2216
|
+
onInputBlur: handleBlur,
|
|
2217
|
+
onInputFocus: handleFocus,
|
|
2218
|
+
disabled: disabled,
|
|
2219
|
+
}), { showValidationMessage: showValidation, validationMessage: vMessage, noAutocomplete: true, value: address })), suggestions.length > 0 && address !== "" && !hideSuggestions && (jsxRuntime.jsx(PlacesList, { "data-testid": "address-drop-down", "$inline": inline, "$inputHeight": inputHeight, children: suggestions.map(function (suggestion) {
|
|
2220
|
+
return (React.createElement(PlaceOption, _tslib.__assign({}, getSuggestionItemProps(suggestion, {}), { key: suggestion.description }),
|
|
2221
|
+
jsxRuntime.jsx("span", { children: suggestion.description })));
|
|
2222
|
+
}) }))] }));
|
|
2223
|
+
} }) }) }));
|
|
2224
|
+
};
|
|
2225
|
+
|
|
2226
|
+
exports.AddressInput = AddressInput;
|
|
2227
|
+
//# sourceMappingURL=AddressInput-ByNmJVXo.js.map
|