@zonos/amino 5.5.30 → 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
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { Column } from 'react-data-grid';
|
|
3
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
4
|
+
import type { flattenRow } from "../../utils/flattenRow";
|
|
5
|
+
type ColumnType<TRow> = Column<TRow, Record<string, unknown>>;
|
|
6
|
+
export type ColumnCell<TRow extends Record<string, unknown>> = NonNullable<ColumnType<TRow>['renderCell']>;
|
|
7
|
+
export type CustomColumnCells<TRow extends Record<string, unknown>> = {
|
|
8
|
+
[key in keyof TRow]?: ColumnCell<TRow>;
|
|
9
|
+
};
|
|
10
|
+
type Props<TRow extends Record<string, unknown>> = BaseProps & {
|
|
11
|
+
/**
|
|
12
|
+
* Current page number for pagination
|
|
13
|
+
*/
|
|
14
|
+
currentPage?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Custom rendering functions for specific column cells
|
|
17
|
+
*/
|
|
18
|
+
customColumnCells?: CustomColumnCells<TRow>;
|
|
19
|
+
/**
|
|
20
|
+
* Custom function to flatten nested objects in table data
|
|
21
|
+
* If not provided, the default flattenRow from "src/utils/flattenRow.ts" will be used
|
|
22
|
+
*/
|
|
23
|
+
customFlattenRow?: typeof flattenRow;
|
|
24
|
+
/**
|
|
25
|
+
* Handler function for page changes in pagination
|
|
26
|
+
* @param page - The new page number
|
|
27
|
+
*/
|
|
28
|
+
handlePagination?: (page: number) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Whether there is a next page available for pagination
|
|
31
|
+
*/
|
|
32
|
+
hasNextPage?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether there is a previous page available for pagination
|
|
35
|
+
*/
|
|
36
|
+
hasPreviousPage?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether data is currently being fetched
|
|
39
|
+
*/
|
|
40
|
+
isFetching: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Custom component to display while data is loading
|
|
43
|
+
*/
|
|
44
|
+
loadingComponent?: ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Custom component to display when there is no data or an error state
|
|
47
|
+
*/
|
|
48
|
+
restState?: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Data to be displayed in the table
|
|
51
|
+
*/
|
|
52
|
+
tableData: TRow[];
|
|
53
|
+
/**
|
|
54
|
+
* Optional title for the table
|
|
55
|
+
*/
|
|
56
|
+
title?: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* A data table component that can display nested data structures with pagination support.
|
|
60
|
+
* Automatically extracts and displays nested object properties in a tabular format,
|
|
61
|
+
* with support for custom cell rendering and pagination controls.
|
|
62
|
+
*
|
|
63
|
+
* @example Basic usage
|
|
64
|
+
* ```tsx
|
|
65
|
+
* type User = {
|
|
66
|
+
* id: number;
|
|
67
|
+
* name: string;
|
|
68
|
+
* details: {
|
|
69
|
+
* email: string;
|
|
70
|
+
* phone: string;
|
|
71
|
+
* };
|
|
72
|
+
* };
|
|
73
|
+
*
|
|
74
|
+
* const [users, setUsers] = useState<User[]>([]);
|
|
75
|
+
* const [loading, setLoading] = useState(true);
|
|
76
|
+
*
|
|
77
|
+
* useEffect(() => {
|
|
78
|
+
* fetchUsers().then(data => {
|
|
79
|
+
* setUsers(data);
|
|
80
|
+
* setLoading(false);
|
|
81
|
+
* });
|
|
82
|
+
* }, []);
|
|
83
|
+
*
|
|
84
|
+
* <NestedDataTable
|
|
85
|
+
* isFetching={loading}
|
|
86
|
+
* tableData={users}
|
|
87
|
+
* title="User List"
|
|
88
|
+
* />
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @example With custom cell rendering
|
|
92
|
+
* ```tsx
|
|
93
|
+
* <NestedDataTable
|
|
94
|
+
* customColumnCells={{
|
|
95
|
+
* name: props => <strong>{props.row.name}</strong>,
|
|
96
|
+
* 'details.email': props => <a href={`mailto:${props.row.details.email}`}>{props.row.details.email}</a>
|
|
97
|
+
* }}
|
|
98
|
+
* isFetching={loading}
|
|
99
|
+
* tableData={users}
|
|
100
|
+
* title="User List with Custom Formatting"
|
|
101
|
+
* />
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @example With pagination
|
|
105
|
+
* ```tsx
|
|
106
|
+
* const [page, setPage] = useState(1);
|
|
107
|
+
* const [hasMore, setHasMore] = useState(true);
|
|
108
|
+
*
|
|
109
|
+
* <NestedDataTable
|
|
110
|
+
* currentPage={page}
|
|
111
|
+
* handlePagination={setPage}
|
|
112
|
+
* hasNextPage={hasMore}
|
|
113
|
+
* hasPreviousPage={page > 1}
|
|
114
|
+
* isFetching={loading}
|
|
115
|
+
* tableData={users}
|
|
116
|
+
* title="Paginated User List"
|
|
117
|
+
* />
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
export declare const NestedDataTable: <TRow extends Record<string, unknown> | Record<string, unknown>>({ currentPage, customColumnCells, customFlattenRow, handlePagination, hasNextPage, hasPreviousPage, isFetching, loadingComponent, restState, style, tableData, title, }: Props<TRow>) => import("react").JSX.Element;
|
|
121
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { flattenRow } from "../../utils/flattenRow";
|
|
2
|
+
type Props = {
|
|
3
|
+
/**
|
|
4
|
+
* @param customFlattenRow
|
|
5
|
+
* @description Custom flattenRow function, if not provided, the default flattenRow (flattenRow - "src/utils/flattenRow.ts") will be used
|
|
6
|
+
*/
|
|
7
|
+
customFlattenRow?: typeof flattenRow;
|
|
8
|
+
isFetching: boolean;
|
|
9
|
+
query: string;
|
|
10
|
+
/**
|
|
11
|
+
* @param cachingKey key to be used for caching response in Swr
|
|
12
|
+
*/
|
|
13
|
+
setCachingKey: (cachingKey: string) => void;
|
|
14
|
+
setQuery: (query: string) => void;
|
|
15
|
+
tableData: Record<string, unknown> | Record<string, unknown>[];
|
|
16
|
+
title: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const NestedDataTableHasura: ({ customFlattenRow, isFetching, query, setCachingKey, setQuery, tableData, title, }: Props) => import("react").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Column } from 'react-data-grid';
|
|
2
|
+
import type { RowWithIndex } from "../pivot-table/PivotTable";
|
|
3
|
+
export declare const Filter: ({ columns, hiddenColumns, setHiddenColumns, }: {
|
|
4
|
+
columns: Column<RowWithIndex, Record<string, unknown>>[];
|
|
5
|
+
hiddenColumns: string[];
|
|
6
|
+
setHiddenColumns: (hiddenColumns: string[]) => void;
|
|
7
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { Column } from 'react-data-grid';
|
|
3
|
+
import { type RowWithIndex } from "../pivot-table/PivotTable";
|
|
4
|
+
import { flattenRow } from "../../utils/flattenRow";
|
|
5
|
+
type ColumnType = Column<RowWithIndex, Record<string, unknown>>;
|
|
6
|
+
type ColumnCell = Parameters<NonNullable<ColumnType['renderCell']>>;
|
|
7
|
+
type Props<TRow extends Record<string, unknown>> = {
|
|
8
|
+
customColumnCells?: {
|
|
9
|
+
[key in keyof TRow]?: (props: ColumnCell[0]) => ReactNode;
|
|
10
|
+
};
|
|
11
|
+
customFlattenRow?: typeof flattenRow;
|
|
12
|
+
noFilter?: boolean;
|
|
13
|
+
tableDataArr: TRow[];
|
|
14
|
+
};
|
|
15
|
+
export declare const TableData: <TRow extends Record<string, unknown>>({ customColumnCells, customFlattenRow, noFilter, tableDataArr, }: Props<TRow>) => import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { type Column, type DataGridProps } from 'react-data-grid';
|
|
2
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
3
|
+
export type KeyValue = string | number;
|
|
4
|
+
type RowData = Record<string, unknown>;
|
|
5
|
+
type OverrideColumn<TRow extends RowData> = {
|
|
6
|
+
key: keyof TRow extends string ? keyof TRow | (string & {
|
|
7
|
+
_placeholder?: never;
|
|
8
|
+
}) : never;
|
|
9
|
+
};
|
|
10
|
+
export type ColumnProps<TRow extends RowData, TSummaryRow = unknown> = Exclude<Column<TRow, TSummaryRow>, 'key'> & OverrideColumn<TRow>;
|
|
11
|
+
type OverrideProps<TRow extends RowData, TSummaryRow> = {
|
|
12
|
+
columns: ColumnProps<TRow, TSummaryRow>[];
|
|
13
|
+
rows: TRow[];
|
|
14
|
+
/**
|
|
15
|
+
* @default string
|
|
16
|
+
*/
|
|
17
|
+
tableHeight?: string;
|
|
18
|
+
};
|
|
19
|
+
export type NestedRowData = {
|
|
20
|
+
_expandedData: Record<string, unknown>[];
|
|
21
|
+
_expandedKey: string;
|
|
22
|
+
};
|
|
23
|
+
export type RowWithIndex<Row extends RowData = RowData> = Row & {
|
|
24
|
+
_itemIndex?: number;
|
|
25
|
+
} & NestedRowData;
|
|
26
|
+
type Props<TRow extends RowWithIndex, TSummaryRow, TRowKey extends KeyValue> = BaseProps & Omit<DataGridProps<TRow, TSummaryRow, TRowKey>, keyof OverrideProps<TRow, TSummaryRow>> & OverrideProps<TRow, TSummaryRow>;
|
|
27
|
+
/**
|
|
28
|
+
* PivotTable component renders tabular data with advanced features like sorting, indexing, and custom renderers.
|
|
29
|
+
* Built on top of react-data-grid with added functionality and styling consistent with Amino design.
|
|
30
|
+
*
|
|
31
|
+
* @example Basic usage
|
|
32
|
+
* const columns = [
|
|
33
|
+
* { key: 'id', name: 'ID', width: 80 },
|
|
34
|
+
* { key: 'name', name: 'Name', width: 200 },
|
|
35
|
+
* { key: 'email', name: 'Email', width: 200 },
|
|
36
|
+
* { key: 'status', name: 'Status', width: 120 }
|
|
37
|
+
* ];
|
|
38
|
+
*
|
|
39
|
+
* const rows = [
|
|
40
|
+
* { id: 1, name: 'John Doe', email: 'john@example.com', status: 'Active' },
|
|
41
|
+
* { id: 2, name: 'Jane Smith', email: 'jane@example.com', status: 'Inactive' },
|
|
42
|
+
* { id: 3, name: 'Bob Johnson', email: 'bob@example.com', status: 'Active' }
|
|
43
|
+
* ];
|
|
44
|
+
*
|
|
45
|
+
* <PivotTable
|
|
46
|
+
* columns={columns}
|
|
47
|
+
* rows={rows}
|
|
48
|
+
* />
|
|
49
|
+
*
|
|
50
|
+
* @example With custom height
|
|
51
|
+
* <PivotTable
|
|
52
|
+
* columns={columns}
|
|
53
|
+
* rows={rows}
|
|
54
|
+
* tableHeight="400px"
|
|
55
|
+
* />
|
|
56
|
+
*
|
|
57
|
+
* @example With sorting
|
|
58
|
+
* const [sortColumns, setSortColumns] = useState<readonly SortColumn[]>([]);
|
|
59
|
+
*
|
|
60
|
+
* <PivotTable
|
|
61
|
+
* columns={columns}
|
|
62
|
+
* rows={rows}
|
|
63
|
+
* sortColumns={sortColumns}
|
|
64
|
+
* onSortColumnsChange={setSortColumns}
|
|
65
|
+
* />
|
|
66
|
+
*
|
|
67
|
+
* @example With custom cell renderer
|
|
68
|
+
* const columns = [
|
|
69
|
+
* { key: 'id', name: 'ID' },
|
|
70
|
+
* { key: 'name', name: 'Name' },
|
|
71
|
+
* {
|
|
72
|
+
* key: 'status',
|
|
73
|
+
* name: 'Status',
|
|
74
|
+
* renderCell: ({ row }) => (
|
|
75
|
+
* <Badge
|
|
76
|
+
* color={row.status === 'Active' ? 'success' : 'warning'}
|
|
77
|
+
* >
|
|
78
|
+
* {row.status}
|
|
79
|
+
* </Badge>
|
|
80
|
+
* )
|
|
81
|
+
* }
|
|
82
|
+
* ];
|
|
83
|
+
*
|
|
84
|
+
* <PivotTable columns={columns} rows={rows} />
|
|
85
|
+
*
|
|
86
|
+
* @example With row selection
|
|
87
|
+
* const [selectedRows, setSelectedRows] = useState<ReadonlySet<number>>(new Set());
|
|
88
|
+
*
|
|
89
|
+
* <PivotTable
|
|
90
|
+
* columns={columns}
|
|
91
|
+
* rows={rows}
|
|
92
|
+
* selectedRows={selectedRows}
|
|
93
|
+
* onSelectedRowsChange={setSelectedRows}
|
|
94
|
+
* />
|
|
95
|
+
*
|
|
96
|
+
* @example With expandable rows
|
|
97
|
+
* // This example assumes you have configured the Master Detail view
|
|
98
|
+
* // with the appropriate row renderer in the renderers prop
|
|
99
|
+
* const rows = [
|
|
100
|
+
* {
|
|
101
|
+
* id: 1,
|
|
102
|
+
* name: 'John Doe',
|
|
103
|
+
* _expandedKey: 'orders',
|
|
104
|
+
* _expandedData: [
|
|
105
|
+
* { id: 101, product: 'Widget', price: 19.99 },
|
|
106
|
+
* { id: 102, product: 'Gadget', price: 24.99 }
|
|
107
|
+
* ]
|
|
108
|
+
* },
|
|
109
|
+
* // ... more rows
|
|
110
|
+
* ];
|
|
111
|
+
*
|
|
112
|
+
* <PivotTable
|
|
113
|
+
* columns={columns}
|
|
114
|
+
* rows={rows}
|
|
115
|
+
* expandableRows
|
|
116
|
+
* />
|
|
117
|
+
*
|
|
118
|
+
* @example With header filters
|
|
119
|
+
* <PivotTable
|
|
120
|
+
* columns={columns.map(col => ({
|
|
121
|
+
* ...col,
|
|
122
|
+
* headerRenderer: props => (
|
|
123
|
+
* <FilterHeader {...props} onFilterChange={handleFilterChange} />
|
|
124
|
+
* )
|
|
125
|
+
* }))}
|
|
126
|
+
* rows={filteredRows}
|
|
127
|
+
* />
|
|
128
|
+
*/
|
|
129
|
+
export declare const PivotTable: <TRow extends RowWithIndex, TSummaryRow = unknown, TRowKey extends KeyValue = KeyValue>({ columns, onSortColumnsChange, renderers: _renderers, rows, sortColumns: _sortColumns, style, tableHeight, ...rest }: Props<TRow, TSummaryRow, TRowKey>) => import("react").JSX.Element;
|
|
130
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
2
|
+
import type { Color } from "../../types/Color";
|
|
3
|
+
export type ProgressBarProps = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* The color style of the progress bar
|
|
6
|
+
* - Can be a specific Color from the theme
|
|
7
|
+
* - 'greenToRed': Color transitions from green (0-20%) to orange (20-80%) to red (80-100%)
|
|
8
|
+
* - 'redToGreen': Color transitions from red (0-20%) to orange (20-80%) to green (80-100%)
|
|
9
|
+
* @default 'blue600'
|
|
10
|
+
*/
|
|
11
|
+
colorStyle?: 'greenToRed' | 'redToGreen' | Color;
|
|
12
|
+
/**
|
|
13
|
+
* The progress percentage, from 0 to 100
|
|
14
|
+
* Values less than 0 will be treated as 0, and values greater than 100 will be treated as 100
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
progress?: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* A progress bar component that displays a horizontal bar to visualize completion or loading progress.
|
|
21
|
+
* Supports different color styles and percentage-based progress values.
|
|
22
|
+
*
|
|
23
|
+
* @example Basic usage
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <ProgressBar progress={75} />
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @example With different color styles
|
|
29
|
+
* ```tsx
|
|
30
|
+
* <VStack spacing={16}>
|
|
31
|
+
* <ProgressBar colorStyle="blue600" progress={60} />
|
|
32
|
+
* <ProgressBar colorStyle="green600" progress={60} />
|
|
33
|
+
* <ProgressBar colorStyle="red600" progress={60} />
|
|
34
|
+
* </VStack>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @example With dynamic coloring based on progress
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <VStack spacing={16}>
|
|
40
|
+
* <Text>Green to Red (higher is worse)</Text>
|
|
41
|
+
* <ProgressBar colorStyle="greenToRed" progress={80} />
|
|
42
|
+
*
|
|
43
|
+
* <Text>Red to Green (higher is better)</Text>
|
|
44
|
+
* <ProgressBar colorStyle="redToGreen" progress={80} />
|
|
45
|
+
* </VStack>
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @example With custom styling
|
|
49
|
+
* ```tsx
|
|
50
|
+
* <ProgressBar
|
|
51
|
+
* className="custom-progress"
|
|
52
|
+
* colorStyle="orange600"
|
|
53
|
+
* progress={45}
|
|
54
|
+
* style={{ height: '8px', borderRadius: '4px' }}
|
|
55
|
+
* />
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare const ProgressBar: ({ className, colorStyle, progress, style, }: ProgressBarProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
3
|
+
export type RadioProps = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Determines if the radio button is selected
|
|
6
|
+
*/
|
|
7
|
+
checked: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Sets the radio button to a disabled state
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Label text or element to display next to the radio button
|
|
15
|
+
*/
|
|
16
|
+
label?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Function called when the radio button state changes
|
|
19
|
+
*/
|
|
20
|
+
onChange: (checked: boolean) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Value associated with this radio button, used for form submission
|
|
23
|
+
*/
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Radio component provides a single radio button for use in forms or as part of a RadioGroup.
|
|
28
|
+
* It includes an animated selection indicator and optional label.
|
|
29
|
+
*
|
|
30
|
+
* @example Basic usage
|
|
31
|
+
* ```tsx
|
|
32
|
+
* const [checked, setChecked] = useState(false);
|
|
33
|
+
*
|
|
34
|
+
* <Radio
|
|
35
|
+
* checked={checked}
|
|
36
|
+
* onChange={setChecked}
|
|
37
|
+
* value="option1"
|
|
38
|
+
* label="Select this option"
|
|
39
|
+
* />
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @example With disabled state
|
|
43
|
+
* ```tsx
|
|
44
|
+
* <Radio
|
|
45
|
+
* checked={true}
|
|
46
|
+
* disabled={true}
|
|
47
|
+
* onChange={() => {}}
|
|
48
|
+
* value="disabled-option"
|
|
49
|
+
* label="This option cannot be changed"
|
|
50
|
+
* />
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @example With ReactNode label
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <Radio
|
|
56
|
+
* checked={checked}
|
|
57
|
+
* onChange={setChecked}
|
|
58
|
+
* value="option-with-jsx"
|
|
59
|
+
* label={<>Custom <strong>formatted</strong> label</>}
|
|
60
|
+
* />
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @example In a form
|
|
64
|
+
* ```tsx
|
|
65
|
+
* <form onSubmit={handleSubmit}>
|
|
66
|
+
* <Radio
|
|
67
|
+
* checked={formData.agreeToTerms}
|
|
68
|
+
* onChange={(checked) => setFormData({...formData, agreeToTerms: checked})}
|
|
69
|
+
* value="agree"
|
|
70
|
+
* label="I agree to the terms and conditions"
|
|
71
|
+
* />
|
|
72
|
+
* <Button type="submit">Submit</Button>
|
|
73
|
+
* </form>
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
export declare const Radio: ({ checked, className, disabled, label, onChange, style, value, }: RadioProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
3
|
+
export type RadioGroupItem<T extends string = string> = {
|
|
4
|
+
/**
|
|
5
|
+
* Text or element to display as the radio option label
|
|
6
|
+
*/
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Value associated with this radio option
|
|
10
|
+
*/
|
|
11
|
+
value: T;
|
|
12
|
+
};
|
|
13
|
+
export type RadioGroupProps<T extends string = string> = BaseProps & {
|
|
14
|
+
/**
|
|
15
|
+
* Sets all radio buttons in the group to a disabled state
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Value to be pre-selected when the component mounts
|
|
21
|
+
*/
|
|
22
|
+
initialValue?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Array of radio options to display
|
|
25
|
+
*/
|
|
26
|
+
items: RadioGroupItem<T>[];
|
|
27
|
+
/**
|
|
28
|
+
* Function called when a radio option is selected
|
|
29
|
+
*/
|
|
30
|
+
onChange: (newValue: T) => void;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* RadioGroup component provides a group of radio buttons where only one option can be selected at a time.
|
|
34
|
+
* It manages the selection state internally while exposing the selected value through the onChange callback.
|
|
35
|
+
*
|
|
36
|
+
* @example Basic usage
|
|
37
|
+
* ```tsx
|
|
38
|
+
* const [selected, setSelected] = useState('option1');
|
|
39
|
+
*
|
|
40
|
+
* const options = [
|
|
41
|
+
* { label: 'Option One', value: 'option1' },
|
|
42
|
+
* { label: 'Option Two', value: 'option2' },
|
|
43
|
+
* { label: 'Option Three', value: 'option3' }
|
|
44
|
+
* ];
|
|
45
|
+
*
|
|
46
|
+
* <RadioGroup
|
|
47
|
+
* items={options}
|
|
48
|
+
* initialValue={selected}
|
|
49
|
+
* onChange={setSelected}
|
|
50
|
+
* />
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @example With disabled state
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <RadioGroup
|
|
56
|
+
* items={[
|
|
57
|
+
* { label: 'Yes', value: 'yes' },
|
|
58
|
+
* { label: 'No', value: 'no' }
|
|
59
|
+
* ]}
|
|
60
|
+
* initialValue="yes"
|
|
61
|
+
* onChange={handleChange}
|
|
62
|
+
* disabled={true}
|
|
63
|
+
* />
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @example With custom styled labels
|
|
67
|
+
* ```tsx
|
|
68
|
+
* const customOptions = [
|
|
69
|
+
* {
|
|
70
|
+
* label: <span><strong>Business</strong> - For commercial use</span>,
|
|
71
|
+
* value: 'business'
|
|
72
|
+
* },
|
|
73
|
+
* {
|
|
74
|
+
* label: <span><strong>Personal</strong> - For individual use</span>,
|
|
75
|
+
* value: 'personal'
|
|
76
|
+
* }
|
|
77
|
+
* ];
|
|
78
|
+
*
|
|
79
|
+
* <RadioGroup
|
|
80
|
+
* items={customOptions}
|
|
81
|
+
* initialValue="business"
|
|
82
|
+
* onChange={handleAccountTypeChange}
|
|
83
|
+
* />
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @example With type-safe values using generics
|
|
87
|
+
* ```tsx
|
|
88
|
+
* type ShippingMethod = 'standard' | 'express' | 'overnight';
|
|
89
|
+
*
|
|
90
|
+
* const [shipping, setShipping] = useState<ShippingMethod>('standard');
|
|
91
|
+
*
|
|
92
|
+
* const shippingOptions: RadioGroupItem<ShippingMethod>[] = [
|
|
93
|
+
* { label: 'Standard (3-5 days)', value: 'standard' },
|
|
94
|
+
* { label: 'Express (2-3 days)', value: 'express' },
|
|
95
|
+
* { label: 'Overnight (1 day)', value: 'overnight' }
|
|
96
|
+
* ];
|
|
97
|
+
*
|
|
98
|
+
* <RadioGroup<ShippingMethod>
|
|
99
|
+
* items={shippingOptions}
|
|
100
|
+
* initialValue={shipping}
|
|
101
|
+
* onChange={setShipping}
|
|
102
|
+
* />
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare const RadioGroup: <T extends string = string>({ className, disabled, initialValue, items, onChange, style, }: RadioGroupProps<T>) => import("react").JSX.Element;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
3
|
+
export type RestStateProps = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Action element to display below the subtitle, typically a button
|
|
6
|
+
*/
|
|
7
|
+
action?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* URL of an image to display above the text content
|
|
10
|
+
*/
|
|
11
|
+
icon?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Primary text displayed in the rest state
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* Secondary text displayed below the label
|
|
18
|
+
*/
|
|
19
|
+
subtitle?: ReactNode;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* RestState component provides a placeholder view for empty states, loading states,
|
|
23
|
+
* errors, or success messages with optional icon and action.
|
|
24
|
+
*
|
|
25
|
+
* @example Basic usage
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <RestState
|
|
28
|
+
* label="No results found"
|
|
29
|
+
* subtitle="Try adjusting your search criteria"
|
|
30
|
+
* />
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example With action button
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <RestState
|
|
36
|
+
* label="No items yet"
|
|
37
|
+
* subtitle="Create your first item to get started"
|
|
38
|
+
* action={<Button onClick={handleAddItem} variant="primary">Add Item</Button>}
|
|
39
|
+
* />
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @example With icon
|
|
43
|
+
* ```tsx
|
|
44
|
+
* <RestState
|
|
45
|
+
* icon="/path/to/empty-state-illustration.svg"
|
|
46
|
+
* label="Your cart is empty"
|
|
47
|
+
* subtitle="Browse our products to add items to your cart"
|
|
48
|
+
* action={<Button onClick={handleBrowseProducts}>Browse Products</Button>}
|
|
49
|
+
* />
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @example Error state
|
|
53
|
+
* ```tsx
|
|
54
|
+
* <RestState
|
|
55
|
+
* icon="/path/to/error-illustration.svg"
|
|
56
|
+
* label="Something went wrong"
|
|
57
|
+
* subtitle="We couldn't load your data. Please try again later."
|
|
58
|
+
* action={<Button onClick={handleRetry}>Retry</Button>}
|
|
59
|
+
* />
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @example Success state
|
|
63
|
+
* ```tsx
|
|
64
|
+
* <RestState
|
|
65
|
+
* icon="/path/to/success-illustration.svg"
|
|
66
|
+
* label="Payment successful!"
|
|
67
|
+
* subtitle="Your order has been processed and will be shipped soon."
|
|
68
|
+
* action={<Button onClick={handleViewOrder}>View Order</Button>}
|
|
69
|
+
* />
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export declare const RestState: ({ action, className, icon, label, style, subtitle, }: RestStateProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { BaseProps } from "../../types/BaseProps";
|
|
2
|
+
import type { UnitedState } from "../../types/UnitedStates";
|
|
3
|
+
export type RichCardStateSelectProps<T extends UnitedState = UnitedState> = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Handler called when a state card is clicked
|
|
6
|
+
* @param selectedState The state object that was selected
|
|
7
|
+
*/
|
|
8
|
+
onClick: (selectedState: T) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Array of state objects to display
|
|
11
|
+
* Each state object should have code, name, region, and optional highlighted and icon properties
|
|
12
|
+
*/
|
|
13
|
+
states: T[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A component that displays US states organized by region in a card-based interface.
|
|
17
|
+
* Each state is represented as a clickable card, grouped by geographic region.
|
|
18
|
+
*
|
|
19
|
+
* @example Basic usage
|
|
20
|
+
* ```tsx
|
|
21
|
+
* import type { UnitedState } from 'src/types/UnitedStates';
|
|
22
|
+
*
|
|
23
|
+
* const [selectedState, setSelectedState] = useState<UnitedState | null>(null);
|
|
24
|
+
*
|
|
25
|
+
* const states: UnitedState[] = [
|
|
26
|
+
* { code: 'CA', name: 'California', region: 'West' },
|
|
27
|
+
* { code: 'NY', name: 'New York', region: 'Northeast' },
|
|
28
|
+
* { code: 'TX', name: 'Texas', region: 'South' },
|
|
29
|
+
* { code: 'IL', name: 'Illinois', region: 'Midwest' }
|
|
30
|
+
* ];
|
|
31
|
+
*
|
|
32
|
+
* <RichCardStateSelect
|
|
33
|
+
* onClick={setSelectedState}
|
|
34
|
+
* states={states}
|
|
35
|
+
* />
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @example With highlighted state
|
|
39
|
+
* ```tsx
|
|
40
|
+
* const states = [
|
|
41
|
+
* { code: 'CA', name: 'California', region: 'West', highlighted: true },
|
|
42
|
+
* { code: 'NY', name: 'New York', region: 'Northeast' },
|
|
43
|
+
* { code: 'TX', name: 'Texas', region: 'South' }
|
|
44
|
+
* ];
|
|
45
|
+
*
|
|
46
|
+
* <RichCardStateSelect
|
|
47
|
+
* onClick={handleStateSelect}
|
|
48
|
+
* states={states}
|
|
49
|
+
* />
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @example With icons
|
|
53
|
+
* ```tsx
|
|
54
|
+
* const states = [
|
|
55
|
+
* {
|
|
56
|
+
* code: 'CA',
|
|
57
|
+
* name: 'California',
|
|
58
|
+
* region: 'West',
|
|
59
|
+
* icon: <FlagIcon code="US-CA" />
|
|
60
|
+
* },
|
|
61
|
+
* {
|
|
62
|
+
* code: 'NY',
|
|
63
|
+
* name: 'New York',
|
|
64
|
+
* region: 'Northeast',
|
|
65
|
+
* icon: <FlagIcon code="US-NY" />
|
|
66
|
+
* }
|
|
67
|
+
* ];
|
|
68
|
+
*
|
|
69
|
+
* <RichCardStateSelect
|
|
70
|
+
* onClick={handleStateSelect}
|
|
71
|
+
* states={states}
|
|
72
|
+
* />
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export declare const RichCardStateSelect: <T extends UnitedState = UnitedState>({ className, onClick, states, style, }: RichCardStateSelectProps<T>) => import("react").JSX.Element;
|