@zonos/amino 5.5.29 → 5.5.31
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/all.d.ts +768 -0
- package/components/avatar/AvatarBase.d.ts +73 -0
- package/components/avatar/ImageAvatar.d.ts +56 -0
- package/components/avatar/UserAvatar.d.ts +35 -0
- package/components/badge/Badge.d.ts +72 -0
- package/components/banner/Banner.d.ts +83 -0
- package/components/button/Button.d.ts +140 -0
- package/components/button/ButtonIcon.d.ts +5 -0
- package/components/button/MenuButton.d.ts +19 -0
- package/components/button/RippleGroup.d.ts +21 -0
- package/components/button/_Ripple.d.ts +15 -0
- package/components/button/button-group/ButtonGroup.d.ts +9 -0
- package/components/button/useRipple.d.ts +17 -0
- package/components/card/Card.d.ts +68 -0
- package/components/checkbox/Checkbox.d.ts +86 -0
- package/components/collapse/Collapse.d.ts +87 -0
- package/components/connection-map/ConnectionMap.d.ts +75 -0
- package/components/country-multi-select/CountryMultiSelectExpanded.d.ts +123 -0
- package/components/country-multi-select/CountryMultiSelectExpandedOption.d.ts +23 -0
- package/components/cover-sheet/CoverSheet.d.ts +119 -0
- package/components/cover-sheet/CoverSheetActions.d.ts +115 -0
- package/components/currency/Currency.d.ts +40 -0
- package/components/currency/DualCurrency.d.ts +33 -0
- package/components/danger-zone/DangerZone.d.ts +71 -0
- package/components/dialog/BaseDialog.d.ts +49 -0
- package/components/dialog/Dialog.d.ts +105 -0
- package/components/dialog/DismissableDialog.d.ts +21 -0
- package/components/dialog/alert/AlertContext.d.ts +12 -0
- package/components/dialog/alert/AlertDialog.d.ts +6 -0
- package/components/dialog/alert/useAlert.d.ts +1 -0
- package/components/dialog/announcement/AnnouncementDialog.d.ts +28 -0
- package/components/dialog/confirm/ConfirmContext.d.ts +13 -0
- package/components/dialog/confirm/ConfirmDialog.d.ts +8 -0
- package/components/dialog/confirm/useConfirm.d.ts +1 -0
- package/components/divider/Divider.d.ts +58 -0
- package/components/drop-zone/DropZone.d.ts +178 -0
- package/components/file-upload/FileUpload.d.ts +112 -0
- package/components/filter/FilterWrapper.d.ts +115 -0
- package/components/filter/filter-amount/FilterAmount.d.ts +55 -0
- package/components/filter/filter-amount/filterAmountReducer.d.ts +20 -0
- package/components/filter/filter-date/DateControls.d.ts +11 -0
- package/components/filter/filter-date/DateControlsWrapper.d.ts +13 -0
- package/components/filter/filter-date/FilterDate.d.ts +64 -0
- package/components/filter/filter-date/_DateControls/_IsAfter.d.ts +2 -0
- package/components/filter/filter-date/_DateControls/_IsBefore.d.ts +2 -0
- package/components/filter/filter-date/_DateControls/_IsBeforeOrOn.d.ts +2 -0
- package/components/filter/filter-date/_DateControls/_IsBetween.d.ts +3 -0
- package/components/filter/filter-date/_DateControls/_IsEqualTo.d.ts +2 -0
- package/components/filter/filter-date/_DateControls/_IsInTheLast.d.ts +2 -0
- package/components/filter/filter-date/_DateControls/_IsOnOrAfter.d.ts +2 -0
- package/components/filter/filter-date/filterDateReducer.d.ts +24 -0
- package/components/filter/filter-multi-select/FilterMultiSelect.d.ts +64 -0
- package/components/filter/filter-select/FilterSelect.d.ts +88 -0
- package/components/filter/filter-text/FilterText.d.ts +48 -0
- package/components/filter/useFilterWrapper.d.ts +154 -0
- package/components/flex/Flex.d.ts +108 -0
- package/components/glow/GlowWrapper.d.ts +84 -0
- package/components/help-text/HelpText.d.ts +79 -0
- package/components/input/Input.d.ts +112 -0
- package/components/input/MultiInput.d.ts +94 -0
- package/components/input/input-simple/InputSimple.d.ts +130 -0
- package/components/input/input-simple/input-type/_DateInput.d.ts +20 -0
- package/components/input/input-simple/input-type/_InputBase.d.ts +125 -0
- package/components/input/input-simple/input-type/_NumberInput.d.ts +21 -0
- package/components/input/input-simple/input-type/_PasswordInput.d.ts +20 -0
- package/components/input/input-simple/input-type/_TimeInput.d.ts +20 -0
- package/components/input/input-type/_DateInput.d.ts +20 -0
- package/components/input/input-type/_FloatLabelInput.d.ts +127 -0
- package/components/input/input-type/_NumberInput.d.ts +21 -0
- package/components/input/input-type/_PasswordInput.d.ts +20 -0
- package/components/input/input-type/_TimeInput.d.ts +20 -0
- package/components/layout/Layout.d.ts +98 -0
- package/components/layout/NavigationGroup.d.ts +160 -0
- package/components/lightbox/LightBox.d.ts +90 -0
- package/components/list/CollapsibleList.d.ts +101 -0
- package/components/list/List.d.ts +88 -0
- package/components/list-item/ListItem.d.ts +35 -0
- package/components/menu/Menu.d.ts +51 -0
- package/components/menu/MenuItem.d.ts +74 -0
- package/components/nested-data-table/NestedDataTable.d.ts +121 -0
- package/components/nested-data-table/NestedDataTableHasura.d.ts +19 -0
- package/components/nested-data-table/_Filter.d.ts +7 -0
- package/components/nested-data-table/_TableData.d.ts +16 -0
- package/components/pivot-table/PivotTable.d.ts +130 -0
- package/components/progress-bar/ProgressBar.d.ts +58 -0
- package/components/radio/Radio.d.ts +76 -0
- package/components/radio/RadioGroup.d.ts +105 -0
- package/components/rest-state/RestState.d.ts +72 -0
- package/components/rich-card-select/RichCardStateSelect.d.ts +75 -0
- package/components/rich-checkbox/RichCheckbox.d.ts +104 -0
- package/components/rich-radio/RichRadio.d.ts +177 -0
- package/components/rounded-icon/RoundedIcon.d.ts +56 -0
- package/components/section/HSection.d.ts +87 -0
- package/components/section/VSection.d.ts +94 -0
- package/components/section/_SectionHeader.d.ts +9 -0
- package/components/section/_SectionInnerWrapper.d.ts +7 -0
- package/components/section/_SectionSubheader.d.ts +7 -0
- package/components/select/CountryMultiSelect.d.ts +89 -0
- package/components/select/CountrySelect.d.ts +102 -0
- package/components/select/MultiSelect.d.ts +27 -0
- package/components/select/Select.d.ts +127 -0
- package/components/select/_StyledReactSelect.d.ts +22 -0
- package/components/simple-table/SimpleTable.d.ts +242 -0
- package/components/simple-table/SimpleTableRow.d.ts +34 -0
- package/components/skeleton/Skeleton.d.ts +50 -0
- package/components/slide-over/SlideOver.d.ts +112 -0
- package/components/spinner/Spinner.d.ts +55 -0
- package/components/split-panel/SplitPanel.d.ts +113 -0
- package/components/stack/HStack.d.ts +44 -0
- package/components/stack/Stack.d.ts +64 -0
- package/components/stack/VStack.d.ts +53 -0
- package/components/surface/Surface.d.ts +65 -0
- package/components/switch/Switch.d.ts +86 -0
- package/components/table/Table.d.ts +121 -0
- package/components/table/TableBody.d.ts +6 -0
- package/components/table/TableCell.d.ts +11 -0
- package/components/table/TableFooter.d.ts +6 -0
- package/components/table/TableHead.d.ts +6 -0
- package/components/table/TableRow.d.ts +15 -0
- package/components/table/TableRowCollapse.d.ts +19 -0
- package/components/tabs/Tabs.d.ts +76 -0
- package/components/tag/Tag.d.ts +46 -0
- package/components/text/Text.d.ts +159 -0
- package/components/text-avatar/TextAvatar.d.ts +25 -0
- package/components/textarea/Textarea.d.ts +141 -0
- package/components/theme-select/ThemeSelect.d.ts +28 -0
- package/components/thumbnail/Thumbnail.d.ts +64 -0
- package/components/toast/Toast.d.ts +97 -0
- package/components/toast/ToastContext.d.ts +17 -0
- package/components/toggle/Toggle.d.ts +118 -0
- package/components/tooltip/Tooltip.d.ts +37 -0
- package/icons/AIDuotoneIcon.d.ts +5 -0
- package/icons/AIIcon.d.ts +2 -0
- package/icons/ArrowDownDuotoneIcon.d.ts +2 -0
- package/icons/ArrowDownIcon.d.ts +2 -0
- package/icons/ArrowLeftDuotoneIcon.d.ts +2 -0
- package/icons/ArrowLeftIcon.d.ts +2 -0
- package/icons/ArrowRightDuotoneIcon.d.ts +2 -0
- package/icons/ArrowRightIcon.d.ts +2 -0
- package/icons/ArrowSwapDuotoneIcon.d.ts +5 -0
- package/icons/ArrowSwapIcon.d.ts +2 -0
- package/icons/ArrowUpDuotoneIcon.d.ts +2 -0
- package/icons/ArrowUpIcon.d.ts +2 -0
- package/icons/BagDuotoneIcon.d.ts +5 -0
- package/icons/BagIcon.d.ts +2 -0
- package/icons/BankDuotoneIcon.d.ts +5 -0
- package/icons/BankIcon.d.ts +2 -0
- package/icons/BellDuotoneIcon.d.ts +5 -0
- package/icons/BellIcon.d.ts +2 -0
- package/icons/BellOffDuotoneIcon.d.ts +5 -0
- package/icons/BellOffIcon.d.ts +2 -0
- package/icons/BookDuotoneIcon.d.ts +5 -0
- package/icons/BookIcon.d.ts +2 -0
- package/icons/BookmarkAddDuotoneIcon.d.ts +5 -0
- package/icons/BookmarkAddIcon.d.ts +2 -0
- package/icons/BookmarkCheckDuotoneIcon.d.ts +5 -0
- package/icons/BookmarkCheckIcon.d.ts +2 -0
- package/icons/BookmarkDuotoneIcon.d.ts +2 -0
- package/icons/BookmarkIcon.d.ts +2 -0
- package/icons/BookmarkOffDuotoneIcon.d.ts +5 -0
- package/icons/BookmarkOffIcon.d.ts +2 -0
- package/icons/BookmarkRemoveDuotoneIcon.d.ts +5 -0
- package/icons/BookmarkRemoveIcon.d.ts +2 -0
- package/icons/BookmarkSubtractDuotoneIcon.d.ts +5 -0
- package/icons/BookmarkSubtractIcon.d.ts +2 -0
- package/icons/BoxesDuotoneIcon.d.ts +5 -0
- package/icons/BoxesIcon.d.ts +2 -0
- package/icons/BufferDuotoneIcon.d.ts +5 -0
- package/icons/BufferIcon.d.ts +2 -0
- package/icons/CalculatorDuotoneIcon.d.ts +5 -0
- package/icons/CalculatorIcon.d.ts +2 -0
- package/icons/CalendarDuotoneIcon.d.ts +5 -0
- package/icons/CalendarIcon.d.ts +2 -0
- package/icons/CardDuotoneIcon.d.ts +5 -0
- package/icons/CardIcon.d.ts +2 -0
- package/icons/CaretDownDuotoneIcon.d.ts +2 -0
- package/icons/CaretDownIcon.d.ts +2 -0
- package/icons/CaretLeftDuotoneIcon.d.ts +2 -0
- package/icons/CaretLeftIcon.d.ts +2 -0
- package/icons/CaretRightDuotoneIcon.d.ts +2 -0
- package/icons/CaretRightIcon.d.ts +2 -0
- package/icons/CaretUpDuotoneIcon.d.ts +2 -0
- package/icons/CaretUpIcon.d.ts +2 -0
- package/icons/CartDuotoneIcon.d.ts +5 -0
- package/icons/CartIcon.d.ts +2 -0
- package/icons/ChartDuotoneIcon.d.ts +5 -0
- package/icons/ChartIcon.d.ts +2 -0
- package/icons/CheckCircleDuotoneIcon.d.ts +5 -0
- package/icons/CheckCircleIcon.d.ts +2 -0
- package/icons/CheckmarkDuotoneIcon.d.ts +2 -0
- package/icons/CheckmarkIcon.d.ts +2 -0
- package/icons/CheckoutDuotoneIcon.d.ts +5 -0
- package/icons/CheckoutIcon.d.ts +2 -0
- package/icons/ChevronDownCircleDuotoneIcon.d.ts +5 -0
- package/icons/ChevronDownCircleIcon.d.ts +2 -0
- package/icons/ChevronDownDuotoneIcon.d.ts +2 -0
- package/icons/ChevronDownIcon.d.ts +2 -0
- package/icons/ChevronLeftCircleDuotoneIcon.d.ts +5 -0
- package/icons/ChevronLeftCircleIcon.d.ts +2 -0
- package/icons/ChevronLeftDuotoneIcon.d.ts +2 -0
- package/icons/ChevronLeftIcon.d.ts +2 -0
- package/icons/ChevronRightCircleDuotoneIcon.d.ts +5 -0
- package/icons/ChevronRightCircleIcon.d.ts +2 -0
- package/icons/ChevronRightDuotoneIcon.d.ts +2 -0
- package/icons/ChevronRightIcon.d.ts +2 -0
- package/icons/ChevronUpCircleDuotoneIcon.d.ts +2 -0
- package/icons/ChevronUpCircleIcon.d.ts +2 -0
- package/icons/ChevronUpDuotoneIcon.d.ts +2 -0
- package/icons/ChevronUpIcon.d.ts +2 -0
- package/icons/CircleDuotoneIcon.d.ts +2 -0
- package/icons/CircleIcon.d.ts +2 -0
- package/icons/ClassifyDuotoneIcon.d.ts +5 -0
- package/icons/ClassifyIcon.d.ts +2 -0
- package/icons/ClearDuotoneIcon.d.ts +5 -0
- package/icons/ClearIcon.d.ts +2 -0
- package/icons/ClockDuotoneIcon.d.ts +5 -0
- package/icons/ClockIcon.d.ts +2 -0
- package/icons/CodeCircleDuotoneIcon.d.ts +5 -0
- package/icons/CodeCircleIcon.d.ts +2 -0
- package/icons/CodeDuotoneIcon.d.ts +5 -0
- package/icons/CodeIcon.d.ts +2 -0
- package/icons/CoinsDuotoneIcon.d.ts +5 -0
- package/icons/CoinsIcon.d.ts +2 -0
- package/icons/CollectDuotoneIcon.d.ts +5 -0
- package/icons/CollectIcon.d.ts +2 -0
- package/icons/CommentDuotoneIcon.d.ts +5 -0
- package/icons/CommentIcon.d.ts +2 -0
- package/icons/CopilotDuotoneIcon.d.ts +5 -0
- package/icons/CopilotIcon.d.ts +2 -0
- package/icons/CopyDuotoneIcon.d.ts +5 -0
- package/icons/CopyIDIcon.d.ts +2 -0
- package/icons/CopyIcon.d.ts +2 -0
- package/icons/CubeDuotoneIcon.d.ts +5 -0
- package/icons/CubeIcon.d.ts +2 -0
- package/icons/DashboardDuotoneIcon.d.ts +5 -0
- package/icons/DashboardIcon.d.ts +2 -0
- package/icons/DiamondDuotoneIcon.d.ts +2 -0
- package/icons/DiamondIcon.d.ts +2 -0
- package/icons/DislikeDuotoneIcon.d.ts +5 -0
- package/icons/DislikeIcon.d.ts +2 -0
- package/icons/DocsDuotoneIcon.d.ts +5 -0
- package/icons/DocsIcon.d.ts +2 -0
- package/icons/DollarDuotoneIcon.d.ts +5 -0
- package/icons/DollarIcon.d.ts +2 -0
- package/icons/DoubleChevronDuotoneIcon.d.ts +5 -0
- package/icons/DoubleChevronIcon.d.ts +2 -0
- package/icons/DragDuotoneIcon.d.ts +5 -0
- package/icons/DragIcon.d.ts +2 -0
- package/icons/EditDuotoneIcon.d.ts +5 -0
- package/icons/EditIcon.d.ts +2 -0
- package/icons/ExclamationMarkDuotoneIcon.d.ts +5 -0
- package/icons/ExclamationMarkIcon.d.ts +2 -0
- package/icons/ExportDuotoneIcon.d.ts +5 -0
- package/icons/ExportIcon.d.ts +2 -0
- package/icons/ExternalDuotoneIcon.d.ts +5 -0
- package/icons/ExternalIcon.d.ts +2 -0
- package/icons/EyeDuotoneIcon.d.ts +5 -0
- package/icons/EyeIcon.d.ts +2 -0
- package/icons/EyeOffDuotoneIcon.d.ts +5 -0
- package/icons/EyeOffIcon.d.ts +2 -0
- package/icons/FileDuotoneIcon.d.ts +5 -0
- package/icons/FileIcon.d.ts +2 -0
- package/icons/FileUploadDuotoneIcon.d.ts +5 -0
- package/icons/FileUploadIcon.d.ts +2 -0
- package/icons/FilterDuotoneIcon.d.ts +5 -0
- package/icons/FilterIcon.d.ts +2 -0
- package/icons/FolderListDuotoneIcon.d.ts +5 -0
- package/icons/FolderListIcon.d.ts +2 -0
- package/icons/FolderUploadDuotoneIcon.d.ts +5 -0
- package/icons/FolderUploadIcon.d.ts +2 -0
- package/icons/FusionDuotoneIcon.d.ts +5 -0
- package/icons/FusionIcon.d.ts +2 -0
- package/icons/GlobeDuotoneIcon.d.ts +5 -0
- package/icons/GlobeIcon.d.ts +2 -0
- package/icons/GraphQLDuotoneIcon.d.ts +2 -0
- package/icons/GraphQLIcon.d.ts +2 -0
- package/icons/GridDuotoneIcon.d.ts +5 -0
- package/icons/GridIcon.d.ts +2 -0
- package/icons/HelloDuotoneIcon.d.ts +5 -0
- package/icons/HelloIcon.d.ts +2 -0
- package/icons/HelpDuotoneIcon.d.ts +5 -0
- package/icons/HelpIcon.d.ts +2 -0
- package/icons/HexagonDuotoneIcon.d.ts +2 -0
- package/icons/HexagonIcon.d.ts +2 -0
- package/icons/HomeDuotoneIcon.d.ts +5 -0
- package/icons/HomeIcon.d.ts +2 -0
- package/icons/ImageDuotoneIcon.d.ts +5 -0
- package/icons/ImageIcon.d.ts +2 -0
- package/icons/ImportDuotoneIcon.d.ts +5 -0
- package/icons/ImportIcon.d.ts +2 -0
- package/icons/InfoDuotoneIcon.d.ts +5 -0
- package/icons/InfoIcon.d.ts +2 -0
- package/icons/IntegrationDuotoneIcon.d.ts +5 -0
- package/icons/IntegrationIcon.d.ts +2 -0
- package/icons/LandedCostDuotoneIcon.d.ts +5 -0
- package/icons/LandedCostIcon.d.ts +2 -0
- package/icons/LaptopDuotoneIcon.d.ts +5 -0
- package/icons/LaptopIcon.d.ts +2 -0
- package/icons/LeftPanelClosedDuotoneIcon.d.ts +5 -0
- package/icons/LeftPanelClosedIcon.d.ts +2 -0
- package/icons/LeftPanelOpenDuotoneIcon.d.ts +5 -0
- package/icons/LeftPanelOpenIcon.d.ts +2 -0
- package/icons/LightDuotoneIcon.d.ts +5 -0
- package/icons/LightIcon.d.ts +2 -0
- package/icons/LikeDuotoneIcon.d.ts +5 -0
- package/icons/LikeIcon.d.ts +2 -0
- package/icons/LineDownDuotoneIcon.d.ts +5 -0
- package/icons/LineDownIcon.d.ts +2 -0
- package/icons/LineUpDuotoneIcon.d.ts +5 -0
- package/icons/LineUpIcon.d.ts +2 -0
- package/icons/LinkDuotoneIcon.d.ts +5 -0
- package/icons/LinkIcon.d.ts +2 -0
- package/icons/LocationDuotoneIcon.d.ts +5 -0
- package/icons/LocationIcon.d.ts +2 -0
- package/icons/LockDuotoneIcon.d.ts +5 -0
- package/icons/LockIcon.d.ts +2 -0
- package/icons/LoginDuotoneIcon.d.ts +5 -0
- package/icons/LoginIcon.d.ts +2 -0
- package/icons/LogoutDuotoneIcon.d.ts +5 -0
- package/icons/LogoutIcon.d.ts +2 -0
- package/icons/MailDuotoneIcon.d.ts +5 -0
- package/icons/MailIcon.d.ts +2 -0
- package/icons/MaximizeDuotoneIcon.d.ts +5 -0
- package/icons/MaximizeIcon.d.ts +2 -0
- package/icons/MenuDuotoneIcon.d.ts +5 -0
- package/icons/MenuIcon.d.ts +2 -0
- package/icons/MinimizeDuotoneIcon.d.ts +5 -0
- package/icons/MinimizeIcon.d.ts +2 -0
- package/icons/MinusCircleDuotoneIcon.d.ts +5 -0
- package/icons/MinusCircleIcon.d.ts +2 -0
- package/icons/MinusDuotoneIcon.d.ts +2 -0
- package/icons/MinusIcon.d.ts +2 -0
- package/icons/MobileDuotoneIcon.d.ts +5 -0
- package/icons/MobileIcon.d.ts +2 -0
- package/icons/MoneyDuotoneIcon.d.ts +5 -0
- package/icons/MoneyIcon.d.ts +2 -0
- package/icons/MonitorDuotoneIcon.d.ts +5 -0
- package/icons/MonitorIcon.d.ts +2 -0
- package/icons/NightDuotoneIcon.d.ts +2 -0
- package/icons/NightIcon.d.ts +2 -0
- package/icons/NoteIcon.d.ts +2 -0
- package/icons/PaletteDuotoneIcon.d.ts +5 -0
- package/icons/PaletteIcon.d.ts +2 -0
- package/icons/PauseCircleDuotoneIcon.d.ts +5 -0
- package/icons/PauseCircleIcon.d.ts +2 -0
- package/icons/PenDuotoneIcon.d.ts +5 -0
- package/icons/PenIcon.d.ts +2 -0
- package/icons/PercentBadgeDuotoneIcon.d.ts +5 -0
- package/icons/PercentBadgeIcon.d.ts +2 -0
- package/icons/PercentDuotoneIcon.d.ts +5 -0
- package/icons/PercentIcon.d.ts +2 -0
- package/icons/PlaneDuotoneIcon.d.ts +5 -0
- package/icons/PlaneIcon.d.ts +2 -0
- package/icons/PlayCircleDuotoneIcon.d.ts +5 -0
- package/icons/PlayCircleIcon.d.ts +2 -0
- package/icons/PlayDuotoneIcon.d.ts +2 -0
- package/icons/PlayIcon.d.ts +2 -0
- package/icons/PlusCircleDuotoneIcon.d.ts +5 -0
- package/icons/PlusCircleIcon.d.ts +2 -0
- package/icons/PlusDuotoneIcon.d.ts +2 -0
- package/icons/PlusIcon.d.ts +2 -0
- package/icons/PrepayDuotoneIcon.d.ts +5 -0
- package/icons/PrepayIcon.d.ts +2 -0
- package/icons/PrinterDuotoneIcon.d.ts +5 -0
- package/icons/PrinterIcon.d.ts +2 -0
- package/icons/RadioIcon.d.ts +2 -0
- package/icons/RateDuotoneIcon.d.ts +5 -0
- package/icons/RateIcon.d.ts +2 -0
- package/icons/ReceiptDuotoneIcon.d.ts +5 -0
- package/icons/ReceiptIcon.d.ts +2 -0
- package/icons/RefreshDuotoneIcon.d.ts +5 -0
- package/icons/RefreshIcon.d.ts +2 -0
- package/icons/RemoveCircleDuotoneIcon.d.ts +5 -0
- package/icons/RemoveCircleIcon.d.ts +2 -0
- package/icons/RemoveDuotoneIcon.d.ts +2 -0
- package/icons/RemoveIcon.d.ts +2 -0
- package/icons/RestrictDuotoneIcon.d.ts +5 -0
- package/icons/RestrictIcon.d.ts +2 -0
- package/icons/RightPanelClosedDuotoneIcon.d.ts +5 -0
- package/icons/RightPanelClosedIcon.d.ts +2 -0
- package/icons/RightPanelOpenDuotoneIcon.d.ts +5 -0
- package/icons/RightPanelOpenIcon.d.ts +2 -0
- package/icons/RocketDuotoneIcon.d.ts +5 -0
- package/icons/RocketIcon.d.ts +2 -0
- package/icons/RulesIcon.d.ts +2 -0
- package/icons/ScanDuotoneIcon.d.ts +5 -0
- package/icons/ScanIcon.d.ts +2 -0
- package/icons/ScreenDuotoneIcon.d.ts +5 -0
- package/icons/ScreenIcon.d.ts +2 -0
- package/icons/SearchDuotoneIcon.d.ts +5 -0
- package/icons/SearchIcon.d.ts +2 -0
- package/icons/SendDuotoneIcon.d.ts +5 -0
- package/icons/SendIcon.d.ts +2 -0
- package/icons/SettingsDuotoneIcon.d.ts +5 -0
- package/icons/SettingsIcon.d.ts +2 -0
- package/icons/ShoppingListDuotoneIcon.d.ts +5 -0
- package/icons/ShoppingListIcon.d.ts +2 -0
- package/icons/ShoppingTagDuotoneIcon.d.ts +5 -0
- package/icons/ShoppingTagIcon.d.ts +2 -0
- package/icons/SquareDuotoneIcon.d.ts +2 -0
- package/icons/SquareIcon.d.ts +2 -0
- package/icons/StarDuotoneIcon.d.ts +2 -0
- package/icons/StarIcon.d.ts +2 -0
- package/icons/StarOffDuotoneIcon.d.ts +5 -0
- package/icons/StarOffIcon.d.ts +2 -0
- package/icons/StarsDuotoneIcon.d.ts +5 -0
- package/icons/StarsIcon.d.ts +2 -0
- package/icons/SunnyDuotoneIcon.d.ts +5 -0
- package/icons/SunnyIcon.d.ts +2 -0
- package/icons/TagDuotoneIcon.d.ts +5 -0
- package/icons/TagIcon.d.ts +2 -0
- package/icons/TaxDuotoneIcon.d.ts +5 -0
- package/icons/TaxIcon.d.ts +2 -0
- package/icons/ThreeDotDuotoneIcon.d.ts +2 -0
- package/icons/ThreeDotIcon.d.ts +2 -0
- package/icons/TotalLandedCostDuotoneIcon.d.ts +5 -0
- package/icons/TotalLandedCostIcon.d.ts +2 -0
- package/icons/TrashCanDuotoneIcon.d.ts +5 -0
- package/icons/TrashCanIcon.d.ts +2 -0
- package/icons/TriangleDuotoneIcon.d.ts +2 -0
- package/icons/TriangleIcon.d.ts +2 -0
- package/icons/TruckDuotoneIcon.d.ts +5 -0
- package/icons/TruckIcon.d.ts +2 -0
- package/icons/UFODuotoneIcon.d.ts +5 -0
- package/icons/UFOIcon.d.ts +2 -0
- package/icons/UserDuotoneIcon.d.ts +5 -0
- package/icons/UserIcon.d.ts +2 -0
- package/icons/UsersIcon.d.ts +2 -0
- package/icons/UtahDuotoneIcon.d.ts +2 -0
- package/icons/UtahIcon.d.ts +2 -0
- package/icons/WarningDuotoneIcon.d.ts +5 -0
- package/icons/WarningIcon.d.ts +2 -0
- package/icons/custom/AvatarIcon.d.ts +2 -0
- package/icons/custom/logo/ZonosIcon.d.ts +2 -0
- package/icons/custom/logo/ZonosLogoIcon.d.ts +2 -0
- package/icons/custom/logo/ZonosWordmark.d.ts +2 -0
- package/icons/custom/products/CheckoutColorIcon.d.ts +2 -0
- package/icons/custom/products/ClassifyColorIcon.d.ts +2 -0
- package/icons/custom/products/ClearColorIcon.d.ts +2 -0
- package/icons/custom/products/CollectColorIcon.d.ts +2 -0
- package/icons/custom/products/CounterCompanionColorIcon.d.ts +2 -0
- package/icons/custom/products/DashboardColorIcon.d.ts +2 -0
- package/icons/custom/products/HelloColorIcon.d.ts +2 -0
- package/icons/custom/products/InclusivePricingColorIcon.d.ts +2 -0
- package/icons/custom/products/LandedCostColorIcon.d.ts +2 -0
- package/icons/custom/products/PrepayColorIcon.d.ts +2 -0
- package/icons/custom/products/RateColorIcon.d.ts +2 -0
- package/icons/custom/products/RestrictColorIcon.d.ts +2 -0
- package/icons/custom/products/ScreenColorIcon.d.ts +2 -0
- package/icons/custom/products/TaxColorIcon.d.ts +2 -0
- package/icons/custom/theme/ThemeDarkIcon.d.ts +3 -0
- package/icons/custom/theme/ThemeLightIcon.d.ts +3 -0
- package/icons/custom/us-states/AlabamaIcon.d.ts +2 -0
- package/icons/custom/us-states/AlaskaIcon.d.ts +2 -0
- package/icons/custom/us-states/ArizonaIcon.d.ts +2 -0
- package/icons/custom/us-states/ArkansasIcon.d.ts +2 -0
- package/icons/custom/us-states/CaliforniaIcon.d.ts +2 -0
- package/icons/custom/us-states/ColoradoIcon.d.ts +2 -0
- package/icons/custom/us-states/ConnecticutIcon.d.ts +2 -0
- package/icons/custom/us-states/DelawareIcon.d.ts +2 -0
- package/icons/custom/us-states/FloridaIcon.d.ts +2 -0
- package/icons/custom/us-states/GeorgiaIcon.d.ts +2 -0
- package/icons/custom/us-states/HawaiiIcon.d.ts +2 -0
- package/icons/custom/us-states/IdahoIcon.d.ts +2 -0
- package/icons/custom/us-states/IllinoisIcon.d.ts +2 -0
- package/icons/custom/us-states/IndianaIcon.d.ts +2 -0
- package/icons/custom/us-states/IowaIcon.d.ts +2 -0
- package/icons/custom/us-states/KansasIcon.d.ts +2 -0
- package/icons/custom/us-states/KentuckyIcon.d.ts +2 -0
- package/icons/custom/us-states/LouisianaIcon.d.ts +2 -0
- package/icons/custom/us-states/MaineIcon.d.ts +2 -0
- package/icons/custom/us-states/MarylandIcon.d.ts +2 -0
- package/icons/custom/us-states/MassachusettsIcon.d.ts +2 -0
- package/icons/custom/us-states/MichiganIcon.d.ts +2 -0
- package/icons/custom/us-states/MinnesotaIcon.d.ts +2 -0
- package/icons/custom/us-states/MississippiIcon.d.ts +2 -0
- package/icons/custom/us-states/MissouriIcon.d.ts +2 -0
- package/icons/custom/us-states/MontanaIcon.d.ts +2 -0
- package/icons/custom/us-states/NebraskaIcon.d.ts +2 -0
- package/icons/custom/us-states/NevadaIcon.d.ts +2 -0
- package/icons/custom/us-states/NewHampshireIcon.d.ts +2 -0
- package/icons/custom/us-states/NewJerseyIcon.d.ts +2 -0
- package/icons/custom/us-states/NewMexicoIcon.d.ts +2 -0
- package/icons/custom/us-states/NewYorkIcon.d.ts +2 -0
- package/icons/custom/us-states/NorthCarolinaIcon.d.ts +2 -0
- package/icons/custom/us-states/NorthDakotaIcon.d.ts +2 -0
- package/icons/custom/us-states/OhioIcon.d.ts +2 -0
- package/icons/custom/us-states/OklahomaIcon.d.ts +2 -0
- package/icons/custom/us-states/OregonIcon.d.ts +2 -0
- package/icons/custom/us-states/PennsylvaniaIcon.d.ts +2 -0
- package/icons/custom/us-states/PuertoRicoIcon.d.ts +2 -0
- package/icons/custom/us-states/RhodeIslandIcon.d.ts +2 -0
- package/icons/custom/us-states/SouthCarolinaIcon.d.ts +2 -0
- package/icons/custom/us-states/SouthDakotaIcon.d.ts +2 -0
- package/icons/custom/us-states/TennesseeIcon.d.ts +2 -0
- package/icons/custom/us-states/TexasIcon.d.ts +2 -0
- package/icons/custom/us-states/UtahIcon.d.ts +2 -0
- package/icons/custom/us-states/VermontIcon.d.ts +2 -0
- package/icons/custom/us-states/VirginiaIcon.d.ts +2 -0
- package/icons/custom/us-states/WashingtonIcon.d.ts +2 -0
- package/icons/custom/us-states/WestVirginiaIcon.d.ts +2 -0
- package/icons/custom/us-states/WisconsinIcon.d.ts +2 -0
- package/icons/custom/us-states/WyomingIcon.d.ts +2 -0
- package/icons/flag-icon/FlagIcon.d.ts +13 -0
- package/icons/flag-icon/_FlagIconBase.d.ts +10 -0
- package/icons/flags/AD.d.ts +7 -0
- package/icons/flags/AE.d.ts +7 -0
- package/icons/flags/AF.d.ts +7 -0
- package/icons/flags/AG.d.ts +7 -0
- package/icons/flags/AI.d.ts +7 -0
- package/icons/flags/AL.d.ts +7 -0
- package/icons/flags/AM.d.ts +7 -0
- package/icons/flags/AO.d.ts +7 -0
- package/icons/flags/AQ.d.ts +7 -0
- package/icons/flags/AR.d.ts +7 -0
- package/icons/flags/AS.d.ts +7 -0
- package/icons/flags/AT.d.ts +7 -0
- package/icons/flags/AU.d.ts +7 -0
- package/icons/flags/AW.d.ts +7 -0
- package/icons/flags/AX.d.ts +7 -0
- package/icons/flags/AZ.d.ts +7 -0
- package/icons/flags/BA.d.ts +7 -0
- package/icons/flags/BB.d.ts +7 -0
- package/icons/flags/BD.d.ts +7 -0
- package/icons/flags/BE.d.ts +7 -0
- package/icons/flags/BF.d.ts +7 -0
- package/icons/flags/BG.d.ts +7 -0
- package/icons/flags/BH.d.ts +7 -0
- package/icons/flags/BI.d.ts +7 -0
- package/icons/flags/BJ.d.ts +7 -0
- package/icons/flags/BL.d.ts +7 -0
- package/icons/flags/BM.d.ts +7 -0
- package/icons/flags/BN.d.ts +7 -0
- package/icons/flags/BO.d.ts +7 -0
- package/icons/flags/BQ.d.ts +7 -0
- package/icons/flags/BR.d.ts +7 -0
- package/icons/flags/BS.d.ts +7 -0
- package/icons/flags/BT.d.ts +7 -0
- package/icons/flags/BV.d.ts +7 -0
- package/icons/flags/BW.d.ts +7 -0
- package/icons/flags/BY.d.ts +7 -0
- package/icons/flags/BZ.d.ts +7 -0
- package/icons/flags/CA.d.ts +7 -0
- package/icons/flags/CC.d.ts +7 -0
- package/icons/flags/CD.d.ts +7 -0
- package/icons/flags/CF.d.ts +7 -0
- package/icons/flags/CG.d.ts +7 -0
- package/icons/flags/CH.d.ts +7 -0
- package/icons/flags/CI.d.ts +7 -0
- package/icons/flags/CK.d.ts +7 -0
- package/icons/flags/CL.d.ts +7 -0
- package/icons/flags/CM.d.ts +7 -0
- package/icons/flags/CN.d.ts +7 -0
- package/icons/flags/CO.d.ts +7 -0
- package/icons/flags/CR.d.ts +7 -0
- package/icons/flags/CU.d.ts +7 -0
- package/icons/flags/CV.d.ts +7 -0
- package/icons/flags/CW.d.ts +7 -0
- package/icons/flags/CX.d.ts +7 -0
- package/icons/flags/CY.d.ts +7 -0
- package/icons/flags/CZ.d.ts +7 -0
- package/icons/flags/DE.d.ts +7 -0
- package/icons/flags/DJ.d.ts +7 -0
- package/icons/flags/DK.d.ts +7 -0
- package/icons/flags/DM.d.ts +7 -0
- package/icons/flags/DO.d.ts +7 -0
- package/icons/flags/DZ.d.ts +7 -0
- package/icons/flags/Default.d.ts +7 -0
- package/icons/flags/EC.d.ts +7 -0
- package/icons/flags/EE.d.ts +7 -0
- package/icons/flags/EG.d.ts +7 -0
- package/icons/flags/EH.d.ts +7 -0
- package/icons/flags/ER.d.ts +7 -0
- package/icons/flags/ES.d.ts +7 -0
- package/icons/flags/ET.d.ts +7 -0
- package/icons/flags/FI.d.ts +7 -0
- package/icons/flags/FJ.d.ts +7 -0
- package/icons/flags/FK.d.ts +7 -0
- package/icons/flags/FM.d.ts +7 -0
- package/icons/flags/FO.d.ts +7 -0
- package/icons/flags/FR.d.ts +7 -0
- package/icons/flags/GA.d.ts +7 -0
- package/icons/flags/GB.d.ts +7 -0
- package/icons/flags/GD.d.ts +7 -0
- package/icons/flags/GE.d.ts +7 -0
- package/icons/flags/GF.d.ts +7 -0
- package/icons/flags/GG.d.ts +7 -0
- package/icons/flags/GH.d.ts +7 -0
- package/icons/flags/GI.d.ts +7 -0
- package/icons/flags/GL.d.ts +7 -0
- package/icons/flags/GM.d.ts +7 -0
- package/icons/flags/GN.d.ts +7 -0
- package/icons/flags/GP.d.ts +7 -0
- package/icons/flags/GQ.d.ts +7 -0
- package/icons/flags/GR.d.ts +7 -0
- package/icons/flags/GS.d.ts +7 -0
- package/icons/flags/GT.d.ts +7 -0
- package/icons/flags/GU.d.ts +7 -0
- package/icons/flags/GW.d.ts +7 -0
- package/icons/flags/GY.d.ts +7 -0
- package/icons/flags/HK.d.ts +7 -0
- package/icons/flags/HM.d.ts +7 -0
- package/icons/flags/HN.d.ts +7 -0
- package/icons/flags/HR.d.ts +7 -0
- package/icons/flags/HT.d.ts +7 -0
- package/icons/flags/HU.d.ts +7 -0
- package/icons/flags/IC.d.ts +7 -0
- package/icons/flags/ID.d.ts +7 -0
- package/icons/flags/IE.d.ts +7 -0
- package/icons/flags/IL.d.ts +7 -0
- package/icons/flags/IM.d.ts +7 -0
- package/icons/flags/IN.d.ts +7 -0
- package/icons/flags/IO.d.ts +7 -0
- package/icons/flags/IQ.d.ts +7 -0
- package/icons/flags/IR.d.ts +7 -0
- package/icons/flags/IS.d.ts +7 -0
- package/icons/flags/IT.d.ts +7 -0
- package/icons/flags/JE.d.ts +7 -0
- package/icons/flags/JM.d.ts +7 -0
- package/icons/flags/JO.d.ts +7 -0
- package/icons/flags/JP.d.ts +7 -0
- package/icons/flags/KE.d.ts +7 -0
- package/icons/flags/KG.d.ts +7 -0
- package/icons/flags/KH.d.ts +7 -0
- package/icons/flags/KI.d.ts +7 -0
- package/icons/flags/KM.d.ts +7 -0
- package/icons/flags/KN.d.ts +7 -0
- package/icons/flags/KP.d.ts +7 -0
- package/icons/flags/KR.d.ts +7 -0
- package/icons/flags/KW.d.ts +7 -0
- package/icons/flags/KY.d.ts +7 -0
- package/icons/flags/KZ.d.ts +7 -0
- package/icons/flags/LA.d.ts +7 -0
- package/icons/flags/LB.d.ts +7 -0
- package/icons/flags/LC.d.ts +7 -0
- package/icons/flags/LI.d.ts +7 -0
- package/icons/flags/LK.d.ts +7 -0
- package/icons/flags/LR.d.ts +7 -0
- package/icons/flags/LS.d.ts +7 -0
- package/icons/flags/LT.d.ts +7 -0
- package/icons/flags/LU.d.ts +7 -0
- package/icons/flags/LV.d.ts +7 -0
- package/icons/flags/LY.d.ts +7 -0
- package/icons/flags/MA.d.ts +7 -0
- package/icons/flags/MC.d.ts +7 -0
- package/icons/flags/MD.d.ts +7 -0
- package/icons/flags/ME.d.ts +7 -0
- package/icons/flags/MF.d.ts +7 -0
- package/icons/flags/MG.d.ts +7 -0
- package/icons/flags/MH.d.ts +7 -0
- package/icons/flags/MK.d.ts +7 -0
- package/icons/flags/ML.d.ts +7 -0
- package/icons/flags/MM.d.ts +7 -0
- package/icons/flags/MN.d.ts +7 -0
- package/icons/flags/MO.d.ts +7 -0
- package/icons/flags/MP.d.ts +7 -0
- package/icons/flags/MQ.d.ts +7 -0
- package/icons/flags/MR.d.ts +7 -0
- package/icons/flags/MS.d.ts +7 -0
- package/icons/flags/MT.d.ts +7 -0
- package/icons/flags/MU.d.ts +7 -0
- package/icons/flags/MV.d.ts +7 -0
- package/icons/flags/MW.d.ts +7 -0
- package/icons/flags/MX.d.ts +7 -0
- package/icons/flags/MY.d.ts +7 -0
- package/icons/flags/MZ.d.ts +7 -0
- package/icons/flags/NA.d.ts +7 -0
- package/icons/flags/NC.d.ts +7 -0
- package/icons/flags/NE.d.ts +7 -0
- package/icons/flags/NF.d.ts +7 -0
- package/icons/flags/NG.d.ts +7 -0
- package/icons/flags/NI.d.ts +7 -0
- package/icons/flags/NL.d.ts +7 -0
- package/icons/flags/NO.d.ts +7 -0
- package/icons/flags/NP.d.ts +7 -0
- package/icons/flags/NR.d.ts +7 -0
- package/icons/flags/NU.d.ts +7 -0
- package/icons/flags/NZ.d.ts +7 -0
- package/icons/flags/OM.d.ts +7 -0
- package/icons/flags/PA.d.ts +7 -0
- package/icons/flags/PE.d.ts +7 -0
- package/icons/flags/PF.d.ts +7 -0
- package/icons/flags/PG.d.ts +7 -0
- package/icons/flags/PH.d.ts +7 -0
- package/icons/flags/PK.d.ts +7 -0
- package/icons/flags/PL.d.ts +7 -0
- package/icons/flags/PM.d.ts +7 -0
- package/icons/flags/PN.d.ts +7 -0
- package/icons/flags/PR.d.ts +7 -0
- package/icons/flags/PS.d.ts +7 -0
- package/icons/flags/PT.d.ts +7 -0
- package/icons/flags/PW.d.ts +7 -0
- package/icons/flags/PY.d.ts +7 -0
- package/icons/flags/QA.d.ts +7 -0
- package/icons/flags/RE.d.ts +7 -0
- package/icons/flags/RO.d.ts +7 -0
- package/icons/flags/RS.d.ts +7 -0
- package/icons/flags/RU.d.ts +7 -0
- package/icons/flags/RW.d.ts +7 -0
- package/icons/flags/SA.d.ts +7 -0
- package/icons/flags/SB.d.ts +7 -0
- package/icons/flags/SC.d.ts +7 -0
- package/icons/flags/SD.d.ts +7 -0
- package/icons/flags/SE.d.ts +7 -0
- package/icons/flags/SG.d.ts +7 -0
- package/icons/flags/SH.d.ts +7 -0
- package/icons/flags/SI.d.ts +7 -0
- package/icons/flags/SJ.d.ts +7 -0
- package/icons/flags/SK.d.ts +7 -0
- package/icons/flags/SL.d.ts +7 -0
- package/icons/flags/SM.d.ts +7 -0
- package/icons/flags/SN.d.ts +7 -0
- package/icons/flags/SO.d.ts +7 -0
- package/icons/flags/SR.d.ts +7 -0
- package/icons/flags/SS.d.ts +7 -0
- package/icons/flags/ST.d.ts +7 -0
- package/icons/flags/SV.d.ts +7 -0
- package/icons/flags/SX.d.ts +7 -0
- package/icons/flags/SY.d.ts +7 -0
- package/icons/flags/SZ.d.ts +7 -0
- package/icons/flags/TC.d.ts +7 -0
- package/icons/flags/TD.d.ts +7 -0
- package/icons/flags/TF.d.ts +7 -0
- package/icons/flags/TG.d.ts +7 -0
- package/icons/flags/TH.d.ts +7 -0
- package/icons/flags/TJ.d.ts +7 -0
- package/icons/flags/TK.d.ts +7 -0
- package/icons/flags/TL.d.ts +7 -0
- package/icons/flags/TM.d.ts +7 -0
- package/icons/flags/TN.d.ts +7 -0
- package/icons/flags/TO.d.ts +7 -0
- package/icons/flags/TR.d.ts +7 -0
- package/icons/flags/TT.d.ts +7 -0
- package/icons/flags/TV.d.ts +7 -0
- package/icons/flags/TW.d.ts +7 -0
- package/icons/flags/TZ.d.ts +7 -0
- package/icons/flags/UA.d.ts +7 -0
- package/icons/flags/UG.d.ts +7 -0
- package/icons/flags/UM.d.ts +7 -0
- package/icons/flags/US.d.ts +7 -0
- package/icons/flags/UY.d.ts +7 -0
- package/icons/flags/UZ.d.ts +7 -0
- package/icons/flags/VA.d.ts +7 -0
- package/icons/flags/VC.d.ts +7 -0
- package/icons/flags/VE.d.ts +7 -0
- package/icons/flags/VG.d.ts +7 -0
- package/icons/flags/VI.d.ts +7 -0
- package/icons/flags/VN.d.ts +7 -0
- package/icons/flags/VU.d.ts +7 -0
- package/icons/flags/WF.d.ts +7 -0
- package/icons/flags/WS.d.ts +7 -0
- package/icons/flags/YE.d.ts +7 -0
- package/icons/flags/YT.d.ts +7 -0
- package/icons/flags/ZA.d.ts +7 -0
- package/icons/flags/ZM.d.ts +7 -0
- package/icons/flags/ZW.d.ts +7 -0
- package/icons/flags/_FlagIndex.d.ts +251 -0
- package/icons/icon-base/_IconBase.d.ts +6 -0
- package/icons/icon-base/_StateIconBase.d.ts +6 -0
- package/icons/icon-base/_ThemeIconBase.d.ts +8 -0
- package/package.json +1 -1
- package/styles/constants/theme.d.ts +534 -0
- package/styles/devices.d.ts +10 -0
- package/tools/mcp/client.d.ts +37 -0
- package/tools/mcp/index.d.ts +3 -0
- package/tools/mcp/tools.d.ts +37 -0
- package/tools/mcp/types.d.ts +124 -0
- package/tsconfig.emitDeclarationOnly.tsbuildinfo +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/BaseProps.d.ts +7 -0
- package/types/Color.d.ts +5 -0
- package/types/Depth.d.ts +1 -0
- package/types/GeoJsonWorld.d.ts +21 -0
- package/types/GridSpacing.d.ts +2 -0
- package/types/IconProps.d.ts +10 -0
- package/types/Intent.d.ts +1 -0
- package/types/ReactComponent.d.ts +2 -0
- package/types/SectionLayout.d.ts +1 -0
- package/types/SelectOption.d.ts +12 -0
- package/types/Size.d.ts +1 -0
- package/types/Theme.d.ts +3 -0
- package/types/UnitedStates.d.ts +12 -0
- package/types/UploadedFile.d.ts +5 -0
- package/types/Variant.d.ts +1 -0
- package/types/deep/Deep.test-d.d.ts +1 -0
- package/types/deep/DeepKeyof.d.ts +18 -0
- package/types/deep/DeepKeyofAtIndex.d.ts +12 -0
- package/types/deep/DeepKeyofAtIndex.test-d.d.ts +1 -0
- package/types/deep/DeepReducerActions.d.ts +25 -0
- package/types/deep/deep.d.ts +4 -0
- package/utils/_extractQueryParams.d.ts +5 -0
- package/utils/addIndex.d.ts +6 -0
- package/utils/changeDeepProperty.d.ts +45 -0
- package/utils/changeDeepPropertyAtIndex.d.ts +69 -0
- package/utils/countryPhoneCodes.d.ts +4 -0
- package/utils/flattenRow.d.ts +8 -0
- package/utils/formatCurrency.d.ts +49 -0
- package/utils/getAminoColor.d.ts +2 -0
- package/utils/getCountryCodeByName.d.ts +2 -0
- package/utils/getCountryUrls.d.ts +1 -0
- package/utils/getFuzzySearch.d.ts +8 -0
- package/utils/getHashId.d.ts +2 -0
- package/utils/getIsInternalLink.d.ts +8 -0
- package/utils/getProductDetails.d.ts +19 -0
- package/utils/getTestId.d.ts +5 -0
- package/utils/handleFetch.d.ts +23 -0
- package/utils/hooks/action-pivot-table/useHasuraGqlPagination.d.ts +13 -0
- package/utils/hooks/useAminoTheme.d.ts +12 -0
- package/utils/hooks/useCountryOptions.d.ts +71 -0
- package/utils/hooks/useDropdown.d.ts +31 -0
- package/utils/hooks/useHeightAdjustTextarea.d.ts +15 -0
- package/utils/hooks/useNotify.d.ts +5 -0
- package/utils/hooks/usePrevious.d.ts +1 -0
- package/utils/hooks/useStateUrl.d.ts +24 -0
- package/utils/hooks/useStorage.d.ts +19 -0
- package/utils/hooks/useSwr.d.ts +1 -0
- package/utils/hooks/useSwrt.d.ts +29 -0
- package/utils/isKeyInObj.d.ts +5 -0
- package/utils/jsonParse.d.ts +1 -0
- package/utils/multiinput/parseStringIntoTags.d.ts +2 -0
- package/utils/prepCountryOptions.d.ts +19 -0
- package/utils/prepRegionCountryOptions.d.ts +5 -0
- package/utils/setupNestedData.d.ts +2 -0
- package/utils/storage.d.ts +21 -0
- package/utils/truncateText.d.ts +25 -0
- package/utils/unitedStates.d.ts +2 -0
- package/utils/useCopyText.d.ts +12 -0
package/types/Color.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const colorPrefixes: readonly ["blue", "cyan", "green", "orange", "purple", "red", "gray", "glass"];
|
|
2
|
+
export declare const colorContrasts: readonly ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
3
|
+
export type ColorContrast = (typeof colorContrasts)[number];
|
|
4
|
+
export type ColorPrefix = (typeof colorPrefixes)[number];
|
|
5
|
+
export type Color = 'gray0' | 'gray50' | 'glass0' | 'glass50' | `${ColorPrefix}${ColorContrast}` | 'gray950' | 'gray1000' | 'glass950' | 'glass1000';
|
package/types/Depth.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Depth = 'depth4' | 'depth8' | 'depth16' | 'depth64';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { BBox } from 'geojson';
|
|
2
|
+
import type { Arc, MultiPolygon, Polygon, Transform } from 'topojson-specification';
|
|
3
|
+
type Properties = {
|
|
4
|
+
name: string;
|
|
5
|
+
};
|
|
6
|
+
type Geometry = (Polygon | MultiPolygon) & {
|
|
7
|
+
properties: Properties;
|
|
8
|
+
};
|
|
9
|
+
export type GeoJsonWorld = {
|
|
10
|
+
arcs: Arc[];
|
|
11
|
+
bbox: BBox;
|
|
12
|
+
objects: {
|
|
13
|
+
countries: {
|
|
14
|
+
geometries: Geometry[];
|
|
15
|
+
type: 'GeometryCollection';
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
transform: Transform;
|
|
19
|
+
type: 'Topology';
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Intent = 'default' | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger' | 'error';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SectionLayout = 'vertical' | 'horizontal';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type SelectValue = string | number | null;
|
|
3
|
+
export type SelectOption<V extends SelectValue = SelectValue> = {
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
label: string;
|
|
7
|
+
/**
|
|
8
|
+
* For checkboxes
|
|
9
|
+
*/
|
|
10
|
+
labelDescription?: string;
|
|
11
|
+
value: V;
|
|
12
|
+
};
|
package/types/Size.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Size = 'sm' | 'md' | 'lg' | 'xl';
|
package/types/Theme.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type UnitedStatesCode = 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'PR' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY';
|
|
3
|
+
type UnitedStatesName = 'Alabama' | 'Alaska' | 'Arizona' | 'Arkansas' | 'California' | 'Colorado' | 'Connecticut' | 'Delaware' | 'Florida' | 'Georgia' | 'Hawaii' | 'Idaho' | 'Illinois' | 'Indiana' | 'Iowa' | 'Kansas' | 'Kentucky' | 'Louisiana' | 'Maine' | 'Maryland' | 'Massachusetts' | 'Michigan' | 'Minnesota' | 'Mississippi' | 'Missouri' | 'Montana' | 'Nebraska' | 'Nevada' | 'New Hampshire' | 'New Jersey' | 'New Mexico' | 'New York' | 'North Carolina' | 'North Dakota' | 'Ohio' | 'Oklahoma' | 'Oregon' | 'Pennsylvania' | 'Puerto Rico' | 'Rhode Island' | 'South Carolina' | 'South Dakota' | 'Tennessee' | 'Texas' | 'Utah' | 'Vermont' | 'Virginia' | 'Washington' | 'West Virginia' | 'Wisconsin' | 'Wyoming';
|
|
4
|
+
type UnitedStatesRegions = 'Midwest' | 'Northeast' | 'South' | 'Territories' | 'West';
|
|
5
|
+
export type UnitedState = {
|
|
6
|
+
code: UnitedStatesCode;
|
|
7
|
+
highlighted?: boolean;
|
|
8
|
+
icon: ReactNode;
|
|
9
|
+
name: UnitedStatesName;
|
|
10
|
+
region: UnitedStatesRegions;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Variant = 'danger' | 'inlineLink' | 'inverted' | 'link' | 'plain' | 'primary' | 'standard' | 'subtle' | 'success' | 'text' | 'warning' | 'purple' | 'cyan';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DeepPrev, DeepRecursionLimited, DeepRecursiveDepth } from "./deep";
|
|
2
|
+
type Delimiter = '.';
|
|
3
|
+
/**
|
|
4
|
+
* Constructs a union of all possible keys with primitive values, with nested properties separated with a delimiter.
|
|
5
|
+
*
|
|
6
|
+
* Default recursion depth limit is 4.
|
|
7
|
+
*
|
|
8
|
+
* @example 'person.age'
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export type DeepKeyof<T extends object, Depth extends DeepRecursiveDepth = 4> = DeepRecursionLimited<Depth, {
|
|
12
|
+
[K in Extract<keyof T, string>]: T[K] extends Array<unknown> ? K : T[K] extends object ? `${K}${Delimiter}${DeepKeyof<T[K], DeepPrev[Depth]>}` : K;
|
|
13
|
+
}[Extract<keyof T, string>]>;
|
|
14
|
+
/**
|
|
15
|
+
* Extracts a type for a field given a property path string.
|
|
16
|
+
*/
|
|
17
|
+
export type DeepPropertyType<T extends object, KeyPath extends DeepKeyof<T, Depth>, Depth extends DeepRecursiveDepth = 4> = DeepRecursionLimited<Depth, KeyPath extends `${infer Top}${Delimiter}${infer Rest}` ? Top extends keyof T ? T[Top] extends object ? Rest extends DeepKeyof<T[Top], DeepPrev[Depth]> ? DeepPropertyType<T[Top], Rest, DeepPrev[Depth]> : never : never : never : KeyPath extends keyof T ? T[KeyPath] : never>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DeepPrev, DeepRecursionLimited, DeepRecursiveDepth } from "./deep";
|
|
2
|
+
type DeepKeyofObjAndArray<T extends object, Depth extends DeepRecursiveDepth = 4> = DeepRecursionLimited<Depth, {
|
|
3
|
+
[K in Extract<keyof T, string>]: T[K] extends unknown[] ? T[K][number] extends object ? `${K}[number].${DeepKeyofObjAndArray<T[K][number], DeepPrev[Depth]>}` : `${K}[number]` : T[K] extends object ? `${K}.${DeepKeyofObjAndArray<T[K], DeepPrev[Depth]>}` : K;
|
|
4
|
+
}[Extract<keyof T, string>]>;
|
|
5
|
+
export type DeepKeyofAtIndex<T extends object, Depth extends DeepRecursiveDepth = 4> = {
|
|
6
|
+
[Path in DeepKeyofObjAndArray<T, Depth>]: Path extends `${string}[number]${string}` ? Path : Path extends `${string}[number]` ? Path : never;
|
|
7
|
+
}[DeepKeyofObjAndArray<T, Depth>];
|
|
8
|
+
/**
|
|
9
|
+
* Extracts a type for a field given a property path string.
|
|
10
|
+
*/
|
|
11
|
+
export type DeepPropertyTypeAtIndex<T extends object, KeyPath extends DeepKeyofObjAndArray<T, Depth>, Depth extends DeepRecursiveDepth = 4> = DeepRecursionLimited<Depth, KeyPath extends `${infer Top}.${infer Rest}` ? Top extends `${infer ArrayField}[number]` ? ArrayField extends keyof T ? T[ArrayField] extends unknown[] ? T[ArrayField][number] extends object ? Rest extends DeepKeyofObjAndArray<T[ArrayField][number], DeepPrev[Depth]> ? DeepPropertyTypeAtIndex<T[ArrayField][number], Rest, DeepPrev[Depth]> : never : never : never : never : Top extends keyof T ? T[Top] extends object ? Rest extends DeepKeyofObjAndArray<T[Top], DeepPrev[Depth]> ? DeepPropertyTypeAtIndex<T[Top], Rest, DeepPrev[Depth]> : never : never : never : KeyPath extends `${infer ArrayField}[number]` ? ArrayField extends keyof T ? T[ArrayField] extends unknown[] ? T[ArrayField][number] : never : never : KeyPath extends keyof T ? T[KeyPath] : never>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { DeepRecursiveDepth } from "./deep";
|
|
2
|
+
import type { DeepKeyof, DeepPropertyType } from "./DeepKeyof";
|
|
3
|
+
import type { DeepKeyofAtIndex, DeepPropertyTypeAtIndex } from "./DeepKeyofAtIndex";
|
|
4
|
+
/**
|
|
5
|
+
* Default depth of 4
|
|
6
|
+
*/
|
|
7
|
+
export type DeepReducerActions<T extends object, Depth extends DeepRecursiveDepth = 4> = DeepReducerWithoutArrayActions<T, Depth> | DeepReducerWithArrayActions<T, Depth>;
|
|
8
|
+
/**
|
|
9
|
+
* Default depth of 4
|
|
10
|
+
*/
|
|
11
|
+
export type DeepReducerWithArrayActions<T extends object, Depth extends DeepRecursiveDepth = 4> = {
|
|
12
|
+
[Name in DeepKeyofAtIndex<T, Depth>]: {
|
|
13
|
+
index: number;
|
|
14
|
+
name: Name;
|
|
15
|
+
type: 'changeAtIndex';
|
|
16
|
+
value: DeepPropertyTypeAtIndex<T, Name, Depth>;
|
|
17
|
+
};
|
|
18
|
+
}[DeepKeyofAtIndex<T, Depth>];
|
|
19
|
+
export type DeepReducerWithoutArrayActions<T extends object, Depth extends DeepRecursiveDepth = 4> = {
|
|
20
|
+
[Name in DeepKeyof<T, Depth>]: {
|
|
21
|
+
name: Name;
|
|
22
|
+
type: 'change';
|
|
23
|
+
value: DeepPropertyType<T, Name, Depth>;
|
|
24
|
+
};
|
|
25
|
+
}[DeepKeyof<T, Depth>];
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { DeepRecursiveDepth } from "../types/deep/deep";
|
|
2
|
+
import type { DeepKeyof, DeepPropertyType } from "../types/deep/DeepKeyof";
|
|
3
|
+
/**
|
|
4
|
+
* Will change a nested property on an object, and return a copy of the object with only that property changed.
|
|
5
|
+
*
|
|
6
|
+
* If a leaf field is optional, and not specified on the initial object, it will add it.
|
|
7
|
+
*
|
|
8
|
+
* Uses lodash `set` internally. @link https://lodash.com/docs/4.17.15#set
|
|
9
|
+
*
|
|
10
|
+
* @param propertyPath The path to the property, with nested keys separated by the delimiter.
|
|
11
|
+
* @param value The value to change it to.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* const t: T = {
|
|
15
|
+
my: {
|
|
16
|
+
friend: {
|
|
17
|
+
paul: {
|
|
18
|
+
age: 32,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const out = changeDeepProperty({
|
|
25
|
+
obj: t,
|
|
26
|
+
propertyPath: 'my.friend.paul.age',
|
|
27
|
+
value: 40
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
// Output:
|
|
31
|
+
out === {
|
|
32
|
+
my: {
|
|
33
|
+
friend: {
|
|
34
|
+
paul: {
|
|
35
|
+
age: 40,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
*/
|
|
41
|
+
export declare const changeDeepProperty: <T extends Record<string, unknown>, P extends DeepKeyof<T, Depth>, Depth extends DeepRecursiveDepth = 4>({ obj, propertyPath, value, }: {
|
|
42
|
+
obj: T;
|
|
43
|
+
propertyPath: P;
|
|
44
|
+
value: DeepPropertyType<T, P, Depth>;
|
|
45
|
+
}) => T;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { DeepRecursiveDepth } from "../types/deep/deep";
|
|
2
|
+
import type { DeepKeyofAtIndex, DeepPropertyTypeAtIndex } from "../types/deep/DeepKeyofAtIndex";
|
|
3
|
+
/**
|
|
4
|
+
* Will change a nested property on an object (with array), and return a copy of the object with only that property changed.
|
|
5
|
+
*
|
|
6
|
+
* If a leaf field is optional, and not specified on the initial object, it will add it.
|
|
7
|
+
*
|
|
8
|
+
* **KeyPath only suggest on the field path that has array**
|
|
9
|
+
*
|
|
10
|
+
* Uses lodash `set` internally. @link https://lodash.com/docs/4.17.15#set
|
|
11
|
+
*
|
|
12
|
+
* @param propertyPath The path to the property, with nested keys separated by the delimiter.
|
|
13
|
+
* @param index Position of desired field want to set
|
|
14
|
+
* @param value The value to change it to.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const t = {
|
|
18
|
+
my: {
|
|
19
|
+
friend: {
|
|
20
|
+
paul: {
|
|
21
|
+
age: 32,
|
|
22
|
+
childrens: [
|
|
23
|
+
{
|
|
24
|
+
name: "Janny",
|
|
25
|
+
sex: "MALE",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "Kicha",
|
|
29
|
+
sex: "FEMALE"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const out = changeDeepPropertyAtIndex(
|
|
38
|
+
obj: t, propertyPath: 'my.friend.paul.childrens[number].name',
|
|
39
|
+
index: 1, value:
|
|
40
|
+
"Ketchup"
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
// Output:
|
|
44
|
+
out === {
|
|
45
|
+
my: {
|
|
46
|
+
friend: {
|
|
47
|
+
paul: {
|
|
48
|
+
age: 32,
|
|
49
|
+
childrenName: [
|
|
50
|
+
{
|
|
51
|
+
name: "Janny";
|
|
52
|
+
sex: "MALE",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "Ketchup" // <== Change here
|
|
56
|
+
sex: "FEMALE"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
*/
|
|
64
|
+
export declare const changeDeepPropertyAtIndex: <T extends object, P extends DeepKeyofAtIndex<T, Depth>, Depth extends DeepRecursiveDepth = 4>({ index, obj, propertyPath, value, }: {
|
|
65
|
+
index: number;
|
|
66
|
+
obj: T;
|
|
67
|
+
propertyPath: P;
|
|
68
|
+
value: DeepPropertyTypeAtIndex<T, P, Depth>;
|
|
69
|
+
}) => T;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type Value = string | number | boolean;
|
|
2
|
+
type Params = {
|
|
3
|
+
currentVal: [string, unknown];
|
|
4
|
+
prev: Record<string, unknown>;
|
|
5
|
+
previousKey?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const flattenRow: ({ currentVal: [key, value], prev, previousKey, }: Params) => Record<string, unknown> | Value;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
type FormatCurrencyParams = {
|
|
2
|
+
code: string;
|
|
3
|
+
/**
|
|
4
|
+
* Keep the currency symbol and separators. Defualt is to remove them.
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
keepDecorators?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* If you don't want thousands separators, set useGrouping to false.
|
|
10
|
+
*/
|
|
11
|
+
options?: Intl.NumberFormatOptions;
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const formatCurrency: ({ code, options, value, }: FormatCurrencyParams) => string;
|
|
15
|
+
type DualCurrencyParams = {
|
|
16
|
+
conversionRate?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @default 'USD'
|
|
19
|
+
*/
|
|
20
|
+
foreignCode?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @default 'USD'
|
|
23
|
+
*/
|
|
24
|
+
localCode?: string;
|
|
25
|
+
value: number;
|
|
26
|
+
/**
|
|
27
|
+
* For when the value is already in the foreign currency, and the conversion needs to be reversed.
|
|
28
|
+
* The rate can stay the same.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
valueIsForeign?: boolean;
|
|
32
|
+
};
|
|
33
|
+
type DualCurrency = {
|
|
34
|
+
foreign: {
|
|
35
|
+
amount: number;
|
|
36
|
+
code: string;
|
|
37
|
+
value: string;
|
|
38
|
+
} | null;
|
|
39
|
+
local: {
|
|
40
|
+
amount: number;
|
|
41
|
+
code: string;
|
|
42
|
+
value: string;
|
|
43
|
+
} | null;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Just returns values, presentation is up to implementation
|
|
47
|
+
*/
|
|
48
|
+
export declare const getDualCurrency: ({ conversionRate, foreignCode, localCode, value, valueIsForeign, }: DualCurrencyParams) => DualCurrency;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { Color } from "../types/Color";
|
|
2
|
+
export declare const getAminoColor: (color?: Color | "inherit") => "var(--amino-glass-0)" | "var(--amino-glass-50)" | "var(--amino-glass-100)" | "var(--amino-glass-200)" | "var(--amino-glass-300)" | "var(--amino-glass-400)" | "var(--amino-glass-500)" | "var(--amino-glass-600)" | "var(--amino-glass-700)" | "var(--amino-glass-800)" | "var(--amino-glass-900)" | "var(--amino-glass-950)" | "var(--amino-glass-1000)" | "var(--amino-gray-0)" | "var(--amino-gray-50)" | "var(--amino-gray-100)" | "var(--amino-gray-200)" | "var(--amino-gray-300)" | "var(--amino-gray-400)" | "var(--amino-gray-500)" | "var(--amino-gray-600)" | "var(--amino-gray-700)" | "var(--amino-gray-800)" | "var(--amino-gray-900)" | "var(--amino-gray-950)" | "var(--amino-gray-1000)" | "var(--amino-blue-50)" | "var(--amino-blue-100)" | "var(--amino-blue-200)" | "var(--amino-blue-300)" | "var(--amino-blue-400)" | "var(--amino-blue-500)" | "var(--amino-blue-600)" | "var(--amino-blue-700)" | "var(--amino-blue-800)" | "var(--amino-blue-900)" | "var(--amino-blue-950)" | "var(--amino-cyan-50)" | "var(--amino-cyan-100)" | "var(--amino-cyan-200)" | "var(--amino-cyan-300)" | "var(--amino-cyan-400)" | "var(--amino-cyan-500)" | "var(--amino-cyan-600)" | "var(--amino-cyan-700)" | "var(--amino-cyan-800)" | "var(--amino-cyan-900)" | "var(--amino-cyan-950)" | "var(--amino-red-50)" | "var(--amino-red-100)" | "var(--amino-red-200)" | "var(--amino-red-300)" | "var(--amino-red-400)" | "var(--amino-red-500)" | "var(--amino-red-600)" | "var(--amino-red-700)" | "var(--amino-red-800)" | "var(--amino-red-900)" | "var(--amino-red-950)" | "var(--amino-orange-50)" | "var(--amino-orange-100)" | "var(--amino-orange-200)" | "var(--amino-orange-300)" | "var(--amino-orange-400)" | "var(--amino-orange-500)" | "var(--amino-orange-600)" | "var(--amino-orange-700)" | "var(--amino-orange-800)" | "var(--amino-orange-900)" | "var(--amino-orange-950)" | "var(--amino-green-50)" | "var(--amino-green-100)" | "var(--amino-green-200)" | "var(--amino-green-300)" | "var(--amino-green-400)" | "var(--amino-green-500)" | "var(--amino-green-600)" | "var(--amino-green-700)" | "var(--amino-green-800)" | "var(--amino-green-900)" | "var(--amino-green-950)" | "var(--amino-purple-50)" | "var(--amino-purple-100)" | "var(--amino-purple-200)" | "var(--amino-purple-300)" | "var(--amino-purple-400)" | "var(--amino-purple-500)" | "var(--amino-purple-600)" | "var(--amino-purple-700)" | "var(--amino-purple-800)" | "var(--amino-purple-900)" | "var(--amino-purple-950)" | "inherit" | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getCountryUrls: () => string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ColorPrefix } from "../types/Color";
|
|
3
|
+
export type Product = 'checkout' | 'classify' | 'clear' | 'counter-companion' | 'dashboard' | 'prepay' | 'collect' | 'hello' | 'inclusive-pricing' | 'landed-cost' | 'rate' | 'restrict' | 'screen' | 'tax';
|
|
4
|
+
export type ProductName = 'Checkout' | 'Classify' | 'Clear' | 'Counter Companion' | 'Dashboard' | 'Prepay' | 'Collect' | 'Hello' | 'Inclusive Pricing' | 'Landed Cost' | 'Rate' | 'Restrict' | 'Screen' | 'Tax';
|
|
5
|
+
type Params = {
|
|
6
|
+
/**
|
|
7
|
+
* @default 24
|
|
8
|
+
*/
|
|
9
|
+
iconSize?: number;
|
|
10
|
+
product?: Product;
|
|
11
|
+
};
|
|
12
|
+
type Return = {
|
|
13
|
+
color: ColorPrefix;
|
|
14
|
+
gradient: string;
|
|
15
|
+
icon: ReactNode;
|
|
16
|
+
name: ProductName;
|
|
17
|
+
};
|
|
18
|
+
export declare const getProductDetails: ({ iconSize, product, }: Params) => Return;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type JsonError = {
|
|
2
|
+
errorId?: number;
|
|
3
|
+
message: string;
|
|
4
|
+
type: string;
|
|
5
|
+
};
|
|
6
|
+
export type HandleFetchReturn<ResponseBody> = {
|
|
7
|
+
errors: JsonError[];
|
|
8
|
+
json: NoInfer<ResponseBody> | null;
|
|
9
|
+
response: Response | null;
|
|
10
|
+
};
|
|
11
|
+
export type FetcherReturn<ResponseBody> = {
|
|
12
|
+
json: NoInfer<ResponseBody> | null;
|
|
13
|
+
response: Response | null;
|
|
14
|
+
};
|
|
15
|
+
export declare const handleRequest: <ResponseBody>(url: string, options?: RequestInit) => Promise<HandleFetchReturn<ResponseBody>>;
|
|
16
|
+
export type RequestOptions<ResponseBody, RequestBody> = {
|
|
17
|
+
body?: NoInfer<RequestBody>;
|
|
18
|
+
testExpectedData?: (data: ResponseBody) => boolean;
|
|
19
|
+
} & Omit<RequestInit, 'body'>;
|
|
20
|
+
export declare const handleFetch: <ResponseBody, RequestBody = unknown>(url: string, _opts?: RequestOptions<ResponseBody, RequestBody> & {
|
|
21
|
+
logRequestIfError?: boolean;
|
|
22
|
+
}) => Promise<HandleFetchReturn<ResponseBody>>;
|
|
23
|
+
export declare const fetcher: <ResponseBody, RequestBody = unknown>(url: string, options?: RequestOptions<ResponseBody, RequestBody>) => Promise<FetcherReturn<ResponseBody>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
actionName: string;
|
|
3
|
+
query: string;
|
|
4
|
+
setCachingKey: (key: string) => void;
|
|
5
|
+
setQuery: (query: string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const useHasuraGqlPagination: ({ actionName, query, setCachingKey, setQuery, }: Props) => {
|
|
8
|
+
currentPage: number;
|
|
9
|
+
handlePagination: (page: number) => void;
|
|
10
|
+
limit: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Theme } from "../../types/Theme";
|
|
2
|
+
type Params = {
|
|
3
|
+
/** Use with root to override a theme in localStorage */
|
|
4
|
+
override?: Theme;
|
|
5
|
+
/** Whether to modify the root HTML element */
|
|
6
|
+
root?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const useAminoTheme: (params?: Params) => {
|
|
9
|
+
aminoTheme: "day" | "night";
|
|
10
|
+
setAminoTheme: (value: "day" | "night") => void;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { SelectOption } from "../../types/SelectOption";
|
|
3
|
+
export declare const regions: readonly ["Africa", "Americas", "Asia", "Central America", "Europe", "North America", "Oceania", "South America"];
|
|
4
|
+
type Region = (typeof regions)[number];
|
|
5
|
+
declare const schemaCountry: z.ZodObject<{
|
|
6
|
+
active: z.ZodBoolean;
|
|
7
|
+
code: z.ZodString;
|
|
8
|
+
code3: z.ZodNullable<z.ZodString>;
|
|
9
|
+
currencyCode: z.ZodString;
|
|
10
|
+
displayName: z.ZodString;
|
|
11
|
+
fraudRisk: z.ZodNumber;
|
|
12
|
+
label: z.ZodString;
|
|
13
|
+
languageCode: z.ZodNullable<z.ZodString>;
|
|
14
|
+
numericCode: z.ZodNullable<z.ZodString>;
|
|
15
|
+
phoneCode: z.ZodArray<z.ZodString, "many">;
|
|
16
|
+
region: z.ZodEnum<["Africa", "Americas", "Asia", "Central America", "Europe", "North America", "Oceania", "South America"]>;
|
|
17
|
+
upsCode: z.ZodNullable<z.ZodString>;
|
|
18
|
+
value: z.ZodString;
|
|
19
|
+
zipRegex: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
code: string;
|
|
22
|
+
label: string;
|
|
23
|
+
region: "Africa" | "Americas" | "Asia" | "Central America" | "Europe" | "North America" | "Oceania" | "South America";
|
|
24
|
+
active: boolean;
|
|
25
|
+
displayName: string;
|
|
26
|
+
value: string;
|
|
27
|
+
code3: string | null;
|
|
28
|
+
currencyCode: string;
|
|
29
|
+
fraudRisk: number;
|
|
30
|
+
languageCode: string | null;
|
|
31
|
+
numericCode: string | null;
|
|
32
|
+
phoneCode: string[];
|
|
33
|
+
upsCode: string | null;
|
|
34
|
+
zipRegex: string | null;
|
|
35
|
+
}, {
|
|
36
|
+
code: string;
|
|
37
|
+
label: string;
|
|
38
|
+
region: "Africa" | "Americas" | "Asia" | "Central America" | "Europe" | "North America" | "Oceania" | "South America";
|
|
39
|
+
active: boolean;
|
|
40
|
+
displayName: string;
|
|
41
|
+
value: string;
|
|
42
|
+
code3: string | null;
|
|
43
|
+
currencyCode: string;
|
|
44
|
+
fraudRisk: number;
|
|
45
|
+
languageCode: string | null;
|
|
46
|
+
numericCode: string | null;
|
|
47
|
+
phoneCode: string[];
|
|
48
|
+
upsCode: string | null;
|
|
49
|
+
zipRegex: string | null;
|
|
50
|
+
}>;
|
|
51
|
+
/** @desc /api/address/getCountries */
|
|
52
|
+
export type Country<CountryCode extends string = string> = z.infer<typeof schemaCountry> & {
|
|
53
|
+
code: CountryCode;
|
|
54
|
+
};
|
|
55
|
+
export type CountryOption<CountryCode extends string = string> = {
|
|
56
|
+
phoneCode: string[];
|
|
57
|
+
} & Country<CountryCode> & SelectOption<CountryCode>;
|
|
58
|
+
export type RegionCountryOption = {
|
|
59
|
+
label: Region;
|
|
60
|
+
options: CountryOption[];
|
|
61
|
+
};
|
|
62
|
+
export type UnavailableCountry = {
|
|
63
|
+
code: string;
|
|
64
|
+
message: string;
|
|
65
|
+
};
|
|
66
|
+
/** @desc /api/address/getCountries */
|
|
67
|
+
export type GetCountriesResponse<CountryCode extends string = string> = {
|
|
68
|
+
[key: string]: Country<CountryCode>;
|
|
69
|
+
};
|
|
70
|
+
export declare const useCountryOptions: <TCountryCode extends string>(dashboardUrl: string) => CountryOption<TCountryCode>[];
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type ExtendedRefs, type Placement, type UseFloatingOptions } from '@floating-ui/react';
|
|
2
|
+
export type UseDropdownParams = {
|
|
3
|
+
/**
|
|
4
|
+
* Passed to `useFloating`.
|
|
5
|
+
* @link https://floating-ui.com/docs/useFloating
|
|
6
|
+
*/
|
|
7
|
+
floatingOptions?: Partial<UseFloatingOptions>;
|
|
8
|
+
/**
|
|
9
|
+
* @default 0
|
|
10
|
+
*/
|
|
11
|
+
offsetCrossAxis?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @default 0
|
|
14
|
+
*/
|
|
15
|
+
offsetMainAxis?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @default 'bottom-start'
|
|
18
|
+
*/
|
|
19
|
+
placement?: Placement;
|
|
20
|
+
startOpen?: boolean;
|
|
21
|
+
};
|
|
22
|
+
type Return<WrapperRef extends HTMLElement = HTMLDivElement, TriggerRef extends HTMLElement = HTMLButtonElement> = {
|
|
23
|
+
floatingStyles: React.CSSProperties;
|
|
24
|
+
refs: ExtendedRefs<TriggerRef>;
|
|
25
|
+
setVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
26
|
+
visibility: 'visible' | 'hidden';
|
|
27
|
+
visible: boolean;
|
|
28
|
+
wrapperRef: React.RefObject<WrapperRef>;
|
|
29
|
+
};
|
|
30
|
+
export declare const useDropdown: <WrapperRef extends HTMLElement = HTMLDivElement, TriggerRef extends HTMLElement = HTMLButtonElement>(params?: UseDropdownParams) => Return<WrapperRef, TriggerRef>;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
2
|
+
type TextareaParams = {
|
|
3
|
+
additionalHeight?: number;
|
|
4
|
+
initialRows?: number;
|
|
5
|
+
maxRows?: number;
|
|
6
|
+
ref: MutableRefObject<HTMLTextAreaElement | null>;
|
|
7
|
+
shouldExpand: boolean;
|
|
8
|
+
textareaValue: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* This hook is used to adjust the height of textarea to the defined `maxRows`. It will
|
|
12
|
+
* expand the height of textarea up to `maxRows` and then it will add scroll bar.
|
|
13
|
+
*/
|
|
14
|
+
export declare const useHeightAdjustTextarea: ({ additionalHeight, initialRows, maxRows, ref, shouldExpand, textareaValue, }: TextareaParams) => void;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const usePrevious: <T>(value: T) => T | undefined;
|