@maxio-com/react-ui-components 9.21.0 → 9.22.1
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/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/skills/maxio-react/SKILL.md +1 -0
- package/dist/skills/maxio-react/references/components-action-menu.md +17 -6
- package/dist/skills/maxio-react/references/components-avatar.md +3 -1
- package/dist/skills/maxio-react/references/components-breadcrumbs.md +2 -1
- package/dist/skills/maxio-react/references/components-buttons-button.md +18 -7
- package/dist/skills/maxio-react/references/components-buttons-iconbutton.md +3 -1
- package/dist/skills/maxio-react/references/components-card.md +13 -6
- package/dist/skills/maxio-react/references/components-chip.md +13 -5
- package/dist/skills/maxio-react/references/components-copy-to-clipboard.md +193 -0
- package/dist/skills/maxio-react/references/components-data-table.md +30 -14
- package/dist/skills/maxio-react/references/components-drawer.md +1 -1
- package/dist/skills/maxio-react/references/components-empty-state.md +15 -6
- package/dist/skills/maxio-react/references/components-flex.md +16 -8
- package/dist/skills/maxio-react/references/components-forms-checkbox.md +22 -9
- package/dist/skills/maxio-react/references/components-forms-combobox.md +23 -10
- package/dist/skills/maxio-react/references/components-forms-radio-group.md +16 -7
- package/dist/skills/maxio-react/references/components-forms-select.md +21 -9
- package/dist/skills/maxio-react/references/components-forms-textarea.md +10 -4
- package/dist/skills/maxio-react/references/components-forms-textfield.md +28 -12
- package/dist/skills/maxio-react/references/components-grid.md +5 -2
- package/dist/skills/maxio-react/references/components-icon.md +16 -7
- package/dist/skills/maxio-react/references/components-link.md +17 -6
- package/dist/skills/maxio-react/references/components-listbox.md +13 -5
- package/dist/skills/maxio-react/references/components-loading-spinner.md +7 -3
- package/dist/skills/maxio-react/references/components-logo.md +8 -4
- package/dist/skills/maxio-react/references/components-notifications-alert.md +6 -2
- package/dist/skills/maxio-react/references/components-notifications-banner.md +14 -7
- package/dist/skills/maxio-react/references/components-notifications-toast.md +7 -3
- package/dist/skills/maxio-react/references/components-pagination.md +8 -3
- package/dist/skills/maxio-react/references/components-popover.md +10 -3
- package/dist/skills/maxio-react/references/components-progressbar.md +3 -1
- package/dist/skills/maxio-react/references/components-segmentedcontrol.md +11 -5
- package/dist/skills/maxio-react/references/components-tabs.md +13 -4
- package/dist/skills/maxio-react/references/components-tag.md +9 -4
- package/dist/skills/maxio-react/references/components-tile.md +12 -5
- package/dist/skills/maxio-react/references/components-toggle.md +9 -5
- package/dist/skills/maxio-react/references/components-tooltip.md +15 -7
- package/dist/skills/maxio-react/references/components-typography-body.md +8 -3
- package/dist/skills/maxio-react/references/components-typography-code.md +5 -2
- package/dist/skills/maxio-react/references/components-typography-display.md +5 -2
- package/dist/skills/maxio-react/references/components-typography-heading.md +6 -2
- package/dist/skills/maxio-react/references/components-typography-label.md +5 -2
- package/dist/skills/maxio-react/references/deprecated-textinput.md +22 -10
- package/dist/skills/maxio-react/references/patterns-side-nav.md +3 -1
- package/dist/skills/maxio-react/references/patterns-top-bar.md +12 -4
- package/dist/temporary-typings/src/components/ActionList/ActionList.d.ts +5 -0
- package/dist/temporary-typings/src/components/ActionList/ActionList.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionList/components/ActionItem.d.ts +5 -0
- package/dist/temporary-typings/src/components/ActionList/components/ActionItem.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionList/components/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/ActionList/components/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionList/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/ActionList/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionList/types.d.ts +31 -0
- package/dist/temporary-typings/src/components/ActionList/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionList/utils.d.ts +4 -0
- package/dist/temporary-typings/src/components/ActionList/utils.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/Menu/Menu.d.ts +11 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/Menu/Menu.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/Menu/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/Menu/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts +5 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts +7 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts +9 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/contexts/MenuContext.d.ts +14 -0
- package/dist/temporary-typings/src/components/ActionMenu/contexts/MenuContext.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/contexts/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/ActionMenu/contexts/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/hooks/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/ActionMenu/hooks/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/hooks/useMenu.d.ts +2 -0
- package/dist/temporary-typings/src/components/ActionMenu/hooks/useMenu.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ActionMenu/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/ActionMenu/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Avatar/Avatar.d.ts +5 -0
- package/dist/temporary-typings/src/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Avatar/Avatar.stories.d.ts +7 -0
- package/dist/temporary-typings/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Avatar/Avatar.types.d.ts +6 -0
- package/dist/temporary-typings/src/components/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Avatar/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/Avatar/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/Breadcrumbs.d.ts +5 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/BreadcrumbsItem.d.ts +5 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/constants.d.ts +6 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/types.d.ts +6 -0
- package/dist/temporary-typings/src/components/Breadcrumbs/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/Button/Button.d.ts +5 -0
- package/dist/temporary-typings/src/components/Buttons/Button/Button.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/Button/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Buttons/Button/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/Button/types.d.ts +22 -0
- package/dist/temporary-typings/src/components/Buttons/Button/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/IconButton/IconButton.d.ts +5 -0
- package/dist/temporary-typings/src/components/Buttons/IconButton/IconButton.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/IconButton/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Buttons/IconButton/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/IconButton/types.d.ts +8 -0
- package/dist/temporary-typings/src/components/Buttons/IconButton/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Buttons/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Buttons/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Card/Card.d.ts +27 -0
- package/dist/temporary-typings/src/components/Card/Card.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Card/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Card/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Card/types.d.ts +5 -0
- package/dist/temporary-typings/src/components/Card/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Chip/Chip.d.ts +5 -0
- package/dist/temporary-typings/src/components/Chip/Chip.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Chip/Chip.types.d.ts +11 -0
- package/dist/temporary-typings/src/components/Chip/Chip.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Chip/DismissButton/DismissButton.d.ts +5 -0
- package/dist/temporary-typings/src/components/Chip/DismissButton/DismissButton.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Chip/DismissButton/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Chip/DismissButton/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Chip/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Chip/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/CopyToClipboard.d.ts +5 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/CopyToClipboard.types.d.ts +18 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/CopyToClipboard.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/useCopyToClipboard.d.ts +22 -0
- package/dist/temporary-typings/src/components/CopyToClipboard/useCopyToClipboard.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/DataTable.d.ts +6 -0
- package/dist/temporary-typings/src/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/DataTable.types.d.ts +62 -0
- package/dist/temporary-typings/src/components/DataTable/DataTable.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderCell/HeaderCell.d.ts +6 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderCell/HeaderCell.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderCell/HeaderCell.types.d.ts +9 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderCell/HeaderCell.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderCell/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderCell/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderControls/HeaderControls.d.ts +11 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderControls/HeaderControls.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderControls/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/HeaderControls/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowActions/RowActions.d.ts +7 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowActions/RowActions.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowActions/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowActions/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowControls/RowControls.d.ts +11 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowControls/RowControls.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowControls/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowControls/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts +12 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.d.ts +5 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts +10 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/Table/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableBody/TableBody.d.ts +5 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableBody/TableBody.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableBody/TableBody.types.d.ts +4 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableBody/TableBody.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableBody/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableBody/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableCell/TableCell.d.ts +11 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableCell/TableCell.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableCell/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableCell/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableHead/TableHead.d.ts +5 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableHead/TableHead.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableHead/TableHead.types.d.ts +4 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableHead/TableHead.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableHead/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableHead/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableRow/TableRow.d.ts +6 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableRow/TableRow.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableRow/TableRow.types.d.ts +11 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableRow/TableRow.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableRow/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/DataTable/components/TableRow/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/componentData.d.ts +26 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/componentData.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/customRowsData.d.ts +51 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/customRowsData.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/customerData.d.ts +51 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/customerData.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/expandedData.d.ts +90 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/expandedData.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/headerGroupsData.d.ts +40 -0
- package/dist/temporary-typings/src/components/DataTable/fixtures/headerGroupsData.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/hooks/useColumns.d.ts +33 -0
- package/dist/temporary-typings/src/components/DataTable/hooks/useColumns.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/hooks/useRowReordering.d.ts +38 -0
- package/dist/temporary-typings/src/components/DataTable/hooks/useRowReordering.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/index.d.ts +8 -0
- package/dist/temporary-typings/src/components/DataTable/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/utils/rowReorderAvailability.d.ts +17 -0
- package/dist/temporary-typings/src/components/DataTable/utils/rowReorderAvailability.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/DataTable/utils/rowReordering.d.ts +17 -0
- package/dist/temporary-typings/src/components/DataTable/utils/rowReordering.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Drawer/Drawer.d.ts +5 -0
- package/dist/temporary-typings/src/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Drawer/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Drawer/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Drawer/types.d.ts +17 -0
- package/dist/temporary-typings/src/components/Drawer/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/EmptyState/EmptyState.d.ts +5 -0
- package/dist/temporary-typings/src/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/EmptyState/EmptyState.types.d.ts +10 -0
- package/dist/temporary-typings/src/components/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/EmptyState/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/EmptyState/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Flex/Flex.d.ts +5 -0
- package/dist/temporary-typings/src/components/Flex/Flex.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Flex/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Flex/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Flex/types.d.ts +19 -0
- package/dist/temporary-typings/src/components/Flex/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Grid/Grid.d.ts +5 -0
- package/dist/temporary-typings/src/components/Grid/Grid.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Grid/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Grid/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Grid/types.d.ts +35 -0
- package/dist/temporary-typings/src/components/Grid/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Icon/Icon.d.ts +5 -0
- package/dist/temporary-typings/src/components/Icon/Icon.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Icon/Icon.types.d.ts +9 -0
- package/dist/temporary-typings/src/components/Icon/Icon.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Icon/constants.d.ts +6 -0
- package/dist/temporary-typings/src/components/Icon/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Icon/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/Icon/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Link/Link.d.ts +5 -0
- package/dist/temporary-typings/src/components/Link/Link.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Link/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Link/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Link/types.d.ts +16 -0
- package/dist/temporary-typings/src/components/Link/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ListBox/ListBox.d.ts +26 -0
- package/dist/temporary-typings/src/components/ListBox/ListBox.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ListBox/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/ListBox/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ListBox/types.d.ts +8 -0
- package/dist/temporary-typings/src/components/ListBox/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/LoadingSpinner/LoadingSpinner.d.ts +5 -0
- package/dist/temporary-typings/src/components/LoadingSpinner/LoadingSpinner.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/LoadingSpinner/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/LoadingSpinner/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/LoadingSpinner/types.d.ts +8 -0
- package/dist/temporary-typings/src/components/LoadingSpinner/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Logo/Logo.d.ts +5 -0
- package/dist/temporary-typings/src/components/Logo/Logo.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Logo/Logo.stories.d.ts +10 -0
- package/dist/temporary-typings/src/components/Logo/Logo.stories.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Logo/Logo.types.d.ts +7 -0
- package/dist/temporary-typings/src/components/Logo/Logo.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Logo/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/Logo/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.d.ts +5 -0
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.types.d.ts +14 -0
- package/dist/temporary-typings/src/components/Notifications/Alert/Alert.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Alert/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Notifications/Alert/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.d.ts +5 -0
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.types.d.ts +14 -0
- package/dist/temporary-typings/src/components/Notifications/Banner/Banner.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Banner/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Notifications/Banner/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/GlobalToastProvider/GlobalToastProvider.d.ts +9 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/GlobalToastProvider/GlobalToastProvider.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/GlobalToastProvider/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/GlobalToastProvider/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/GlobalToastProvider/types.d.ts +15 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/GlobalToastProvider/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.d.ts +5 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts +21 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/Toast/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastProvider/ToastProvider.d.ts +5 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastProvider/ToastProvider.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastProvider/ToastProvider.types.d.ts +8 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastProvider/ToastProvider.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastProvider/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastProvider/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastRegion/ToastRegion.d.ts +5 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastRegion/ToastRegion.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastRegion/ToastRegion.types.d.ts +8 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastRegion/ToastRegion.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastRegion/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/ToastRegion/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Notifications/Toast/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/OverlayTrigger.d.ts +20 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/OverlayTrigger.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/constants.d.ts +2 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/index.d.ts +5 -0
- package/dist/temporary-typings/src/components/OverlayTrigger/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Pagination/Pagination.d.ts +5 -0
- package/dist/temporary-typings/src/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Pagination/Pagination.types.d.ts +15 -0
- package/dist/temporary-typings/src/components/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Pagination/constants.d.ts +2 -0
- package/dist/temporary-typings/src/components/Pagination/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Pagination/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Pagination/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Popover/Popover.d.ts +5 -0
- package/dist/temporary-typings/src/components/Popover/Popover.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Popover/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Popover/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Popover/types.d.ts +7 -0
- package/dist/temporary-typings/src/components/Popover/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/temporary-typings/src/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/ProgressBar/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SegmentedControl/SegmentedControl.d.ts +12 -0
- package/dist/temporary-typings/src/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SegmentedControl/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SegmentedControl/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SegmentedControl/types.d.ts +10 -0
- package/dist/temporary-typings/src/components/SegmentedControl/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SectionName/SectionName.d.ts +13 -0
- package/dist/temporary-typings/src/components/SideNav/SectionName/SectionName.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SectionName/constants.d.ts +2 -0
- package/dist/temporary-typings/src/components/SideNav/SectionName/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SectionName/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/SectionName/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNav.d.ts +6 -0
- package/dist/temporary-typings/src/components/SideNav/SideNav.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/SideNavItem.d.ts +7 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/SideNavItem.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/SingleItem/SingleItem.d.ts +7 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/SingleItem/SingleItem.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/SingleItem/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/SingleItem/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItem/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItems.d.ts +4 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/SideNavItems.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavItems/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavSwitcher/SideNavSwitcher.d.ts +4 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavSwitcher/SideNavSwitcher.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavSwitcher/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavSwitcher/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavTopItem/SideNavTopItem.d.ts +4 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavTopItem/SideNavTopItem.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavTopItem/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/SideNav/SideNavTopItem/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/SideNavContext.d.ts +5 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/SideNavContext.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts +59 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/utils.d.ts +5 -0
- package/dist/temporary-typings/src/components/SideNav/contexts/utils.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/SideNav/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/SideNav/mocks.d.ts +6 -0
- package/dist/temporary-typings/src/components/SideNav/mocks.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/Tab/Tab.d.ts +5 -0
- package/dist/temporary-typings/src/components/Tabs/Tab/Tab.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/Tab/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tabs/Tab/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/Tab/types.d.ts +19 -0
- package/dist/temporary-typings/src/components/Tabs/Tab/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/TabList.d.ts +10 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/TabList.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/useTabOverflow.d.ts +16 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/useTabOverflow.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/utils.d.ts +7 -0
- package/dist/temporary-typings/src/components/Tabs/TabList/utils.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts +10 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanel/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanel/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanels/TabPanels.d.ts +7 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanels/TabPanels.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanels/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tabs/TabPanels/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/Tabs/Tabs.d.ts +6 -0
- package/dist/temporary-typings/src/components/Tabs/Tabs/Tabs.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/Tabs/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tabs/Tabs/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/TabsContext.d.ts +7 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/TabsContext.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/types.d.ts +15 -0
- package/dist/temporary-typings/src/components/Tabs/contexts/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tabs/index.d.ts +6 -0
- package/dist/temporary-typings/src/components/Tabs/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tag/Tag.d.ts +5 -0
- package/dist/temporary-typings/src/components/Tag/Tag.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tag/Tag.types.d.ts +14 -0
- package/dist/temporary-typings/src/components/Tag/Tag.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tag/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tag/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tile/Tile.d.ts +10 -0
- package/dist/temporary-typings/src/components/Tile/Tile.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tile/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tile/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Toggle/Toggle.d.ts +16 -0
- package/dist/temporary-typings/src/components/Toggle/Toggle.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Toggle/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Toggle/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tooltip/Tooltip.d.ts +11 -0
- package/dist/temporary-typings/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tooltip/constants.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tooltip/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tooltip/index.d.ts +7 -0
- package/dist/temporary-typings/src/components/Tooltip/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Tooltip/types.d.ts +2 -0
- package/dist/temporary-typings/src/components/Tooltip/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/TooltipTrigger.d.ts +13 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/TooltipTrigger.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/constants.d.ts +6 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/constants.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/utils.d.ts +4 -0
- package/dist/temporary-typings/src/components/TooltipTrigger/utils.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TopBar/TopBar.d.ts +5 -0
- package/dist/temporary-typings/src/components/TopBar/TopBar.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TopBar/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/TopBar/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/TopBar/types.d.ts +8 -0
- package/dist/temporary-typings/src/components/TopBar/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Body/Body.d.ts +10 -0
- package/dist/temporary-typings/src/components/Typography/Body/Body.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Body/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Typography/Body/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Code/Code.d.ts +8 -0
- package/dist/temporary-typings/src/components/Typography/Code/Code.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Code/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Typography/Code/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Display/Display.d.ts +9 -0
- package/dist/temporary-typings/src/components/Typography/Display/Display.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Display/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Typography/Display/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Heading/Heading.d.ts +8 -0
- package/dist/temporary-typings/src/components/Typography/Heading/Heading.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Heading/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Typography/Heading/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Label/Label.d.ts +9 -0
- package/dist/temporary-typings/src/components/Typography/Label/Label.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/Label/index.d.ts +4 -0
- package/dist/temporary-typings/src/components/Typography/Label/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/index.d.ts +12 -0
- package/dist/temporary-typings/src/components/Typography/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/Typography/types.d.ts +7 -0
- package/dist/temporary-typings/src/components/Typography/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/Checkbox.d.ts +5 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/InnerCheckbox/InnerCheckbox.d.ts +9 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/InnerCheckbox/InnerCheckbox.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/InnerCheckbox/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/InnerCheckbox/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/types.d.ts +10 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/Checkbox/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +13 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/CheckboxGroup/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/contexts/CheckboxGroupContext.d.ts +4 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/contexts/CheckboxGroupContext.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/contexts/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/contexts/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/Checkbox/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/ComboBox/ComboBox.d.ts +11 -0
- package/dist/temporary-typings/src/components/forms/ComboBox/ComboBox.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/ComboBox/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/ComboBox/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/ComboBox/types.d.ts +17 -0
- package/dist/temporary-typings/src/components/forms/ComboBox/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/FormErrorMessage/FormErrorMessage.d.ts +5 -0
- package/dist/temporary-typings/src/components/forms/FormErrorMessage/FormErrorMessage.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/FormErrorMessage/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/FormErrorMessage/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/FormHelperText/FormHelperText.d.ts +4 -0
- package/dist/temporary-typings/src/components/forms/FormHelperText/FormHelperText.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/FormHelperText/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/FormHelperText/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Radio/Radio.d.ts +10 -0
- package/dist/temporary-typings/src/components/forms/Radio/Radio.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Radio/RadioGroup.d.ts +15 -0
- package/dist/temporary-typings/src/components/forms/Radio/RadioGroup.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Radio/contexts/RadioGroupContext.d.ts +4 -0
- package/dist/temporary-typings/src/components/forms/Radio/contexts/RadioGroupContext.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Radio/contexts/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/Radio/contexts/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Radio/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/Radio/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Select/Select.d.ts +5 -0
- package/dist/temporary-typings/src/components/forms/Select/Select.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Select/index.d.ts +2 -0
- package/dist/temporary-typings/src/components/forms/Select/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/Select/types.d.ts +17 -0
- package/dist/temporary-typings/src/components/forms/Select/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextArea/TextArea.d.ts +5 -0
- package/dist/temporary-typings/src/components/forms/TextArea/TextArea.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextArea/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/TextArea/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextArea/types.d.ts +11 -0
- package/dist/temporary-typings/src/components/forms/TextArea/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextField/TextField.d.ts +5 -0
- package/dist/temporary-typings/src/components/forms/TextField/TextField.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextField/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/TextField/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextField/types.d.ts +15 -0
- package/dist/temporary-typings/src/components/forms/TextField/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextInput/TextInput.d.ts +18 -0
- package/dist/temporary-typings/src/components/forms/TextInput/TextInput.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/TextInput/index.d.ts +3 -0
- package/dist/temporary-typings/src/components/forms/TextInput/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/forms/index.d.ts +14 -0
- package/dist/temporary-typings/src/components/forms/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/components/index.d.ts +44 -0
- package/dist/temporary-typings/src/components/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/docs/html/index.d.ts +4 -0
- package/dist/temporary-typings/src/docs/html/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/docs/html/normalizeHtmlForDocs.d.ts +8 -0
- package/dist/temporary-typings/src/docs/html/normalizeHtmlForDocs.d.ts.map +1 -0
- package/dist/temporary-typings/src/docs/html/renderStoryToHtml.d.ts +25 -0
- package/dist/temporary-typings/src/docs/html/renderStoryToHtml.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/index.d.ts +5 -0
- package/dist/temporary-typings/src/hooks/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useElementResizeObserver/index.d.ts +3 -0
- package/dist/temporary-typings/src/hooks/useElementResizeObserver/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useElementResizeObserver/useElementResizeObserver.d.ts +3 -0
- package/dist/temporary-typings/src/hooks/useElementResizeObserver/useElementResizeObserver.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useHover/index.d.ts +3 -0
- package/dist/temporary-typings/src/hooks/useHover/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useHover/useHover.d.ts +3 -0
- package/dist/temporary-typings/src/hooks/useHover/useHover.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/index.d.ts +5 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/types.d.ts +8 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/types.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/useOverlayTrigger.d.ts +27 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/useOverlayTrigger.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/utils/composeInteractions.d.ts +4 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/utils/composeInteractions.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/utils/index.d.ts +3 -0
- package/dist/temporary-typings/src/hooks/useOverlayTrigger/utils/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useWindowSize/index.d.ts +3 -0
- package/dist/temporary-typings/src/hooks/useWindowSize/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/hooks/useWindowSize/useWindowSize.d.ts +5 -0
- package/dist/temporary-typings/src/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
- package/dist/temporary-typings/src/index.d.ts +4 -0
- package/dist/temporary-typings/src/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/patterns/AuthLayout/AuthLayout.d.ts +5 -0
- package/dist/temporary-typings/src/patterns/AuthLayout/AuthLayout.d.ts.map +1 -0
- package/dist/temporary-typings/src/patterns/AuthLayout/AuthLayout.types.d.ts +13 -0
- package/dist/temporary-typings/src/patterns/AuthLayout/AuthLayout.types.d.ts.map +1 -0
- package/dist/temporary-typings/src/patterns/AuthLayout/index.d.ts +3 -0
- package/dist/temporary-typings/src/patterns/AuthLayout/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/utils/index.d.ts +2 -0
- package/dist/temporary-typings/src/utils/index.d.ts.map +1 -0
- package/dist/temporary-typings/src/utils/utils.d.ts +3 -0
- package/dist/temporary-typings/src/utils/utils.d.ts.map +1 -0
- package/package.json +30 -31
- package/typings/index.d.ts +29 -53
|
@@ -31,6 +31,7 @@ Use this skill to build React components using `@maxio-com/react-ui-components`.
|
|
|
31
31
|
- [Components / Buttons / IconButton](references/components-buttons-iconbutton.md)
|
|
32
32
|
- [Components / Card](references/components-card.md)
|
|
33
33
|
- [Components / Chip](references/components-chip.md)
|
|
34
|
+
- [Components / Copy To Clipboard](references/components-copy-to-clipboard.md)
|
|
34
35
|
- [Components / Data Table](references/components-data-table.md)
|
|
35
36
|
- [Components / Drawer](references/components-drawer.md)
|
|
36
37
|
- [Components / Empty State](references/components-empty-state.md)
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Overview
|
|
6
6
|
|
|
7
|
-
ActionMenu groups related contextual actions behind a trigger. Use it for
|
|
7
|
+
ActionMenu groups related contextual actions behind a trigger. Use it for
|
|
8
|
+
secondary row, toolbar, or page actions that should stay available without
|
|
9
|
+
occupying persistent space.
|
|
8
10
|
|
|
9
11
|
#### When to Use
|
|
10
12
|
|
|
@@ -90,7 +92,9 @@ No props were emitted by reactDocgenTypescript for this component.
|
|
|
90
92
|
|
|
91
93
|
### Default
|
|
92
94
|
|
|
93
|
-
Use the default action menu for a small set of related actions behind a
|
|
95
|
+
Use the default action menu for a small set of related actions behind a
|
|
96
|
+
visible text trigger. The trigger needs an accessible name and controls the
|
|
97
|
+
menu list through generated `aria-controls` and `aria-labelledby` values.
|
|
94
98
|
|
|
95
99
|
```tsx
|
|
96
100
|
const Default = () => (
|
|
@@ -103,7 +107,9 @@ const Default = () => (
|
|
|
103
107
|
|
|
104
108
|
### Button Classes
|
|
105
109
|
|
|
106
|
-
Use MenuButton size and variant props when the trigger needs to match nearby
|
|
110
|
+
Use MenuButton size and variant props when the trigger needs to match nearby
|
|
111
|
+
button hierarchy. Keep the menu behavior the same; only the trigger styling
|
|
112
|
+
changes.
|
|
107
113
|
|
|
108
114
|
```tsx
|
|
109
115
|
const ButtonClasses = () => (
|
|
@@ -118,7 +124,9 @@ const ButtonClasses = () => (
|
|
|
118
124
|
|
|
119
125
|
### Internal State
|
|
120
126
|
|
|
121
|
-
Use the render-prop state when the trigger label, adjacent controls, or
|
|
127
|
+
Use the render-prop state when the trigger label, adjacent controls, or
|
|
128
|
+
custom content must react to the open state. Call `onClose` when custom
|
|
129
|
+
content dismisses the menu.
|
|
122
130
|
|
|
123
131
|
```tsx
|
|
124
132
|
const InternalState = () => (
|
|
@@ -137,7 +145,9 @@ const InternalState = () => (
|
|
|
137
145
|
|
|
138
146
|
### Content Align End
|
|
139
147
|
|
|
140
|
-
Use end alignment when the trigger sits near the right edge of a container or
|
|
148
|
+
Use end alignment when the trigger sits near the right edge of a container or
|
|
149
|
+
in a table row action area, so the menu stays visually connected to the
|
|
150
|
+
trigger without overflowing nearby content.
|
|
141
151
|
|
|
142
152
|
```tsx
|
|
143
153
|
const ContentAlignEnd = () => (
|
|
@@ -150,7 +160,8 @@ const ContentAlignEnd = () => (
|
|
|
150
160
|
|
|
151
161
|
### Icon Menu
|
|
152
162
|
|
|
153
|
-
Use an icon-only action menu in dense toolbars or repeated rows. Always
|
|
163
|
+
Use an icon-only action menu in dense toolbars or repeated rows. Always
|
|
164
|
+
provide an `aria-label` that describes the actions available in the menu.
|
|
154
165
|
|
|
155
166
|
```tsx
|
|
156
167
|
const IconMenu = () => (
|
|
@@ -59,7 +59,9 @@ import { AvatarComponent } from "@maxio-com/react-ui-components";
|
|
|
59
59
|
|
|
60
60
|
### Default
|
|
61
61
|
|
|
62
|
-
Use Avatar to show a known user's profile image in account menus, headers,
|
|
62
|
+
Use Avatar to show a known user's profile image in account menus, headers,
|
|
63
|
+
activity rows, or other identity-focused UI. Provide alt text that names the
|
|
64
|
+
person when the image identifies them.
|
|
63
65
|
|
|
64
66
|
```tsx
|
|
65
67
|
const Default = () => <AvatarComponent src={avatarSrc} alt="Profile photo for Alex Morgan" />;
|
|
@@ -68,7 +68,8 @@ No props were emitted by reactDocgenTypescript for this component.
|
|
|
68
68
|
|
|
69
69
|
### Default
|
|
70
70
|
|
|
71
|
-
Use Breadcrumbs when the current page sits inside a clear hierarchy.
|
|
71
|
+
Use Breadcrumbs when the current page sits inside a clear hierarchy.
|
|
72
|
+
Link parent pages and keep the final item as plain text for the current page.
|
|
72
73
|
|
|
73
74
|
```tsx
|
|
74
75
|
const Default = () => <Breadcrumbs>{[
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Overview
|
|
6
6
|
|
|
7
|
-
Button helps users complete a task, move through a workflow, or make a clear choice.
|
|
7
|
+
Button helps users complete a task, move through a workflow, or make a clear choice.
|
|
8
|
+
Use it for page actions by default, and provide `href` only when the button
|
|
9
|
+
needs to navigate with button-level emphasis.
|
|
8
10
|
|
|
9
11
|
#### When to Use
|
|
10
12
|
|
|
@@ -96,7 +98,9 @@ import { Button, Icon } from "@maxio-com/react-ui-components";
|
|
|
96
98
|
|
|
97
99
|
### Default
|
|
98
100
|
|
|
99
|
-
Use Button for actions that happen on the current page.
|
|
101
|
+
Use Button for actions that happen on the current page.
|
|
102
|
+
Prefer visible labels that describe the result of the action, and use
|
|
103
|
+
native button behavior for actions.
|
|
100
104
|
|
|
101
105
|
```tsx
|
|
102
106
|
const Default = () => <Button onClick={action('Clicked')}>Create invoice</Button>;
|
|
@@ -104,7 +108,9 @@ const Default = () => <Button onClick={action('Clicked')}>Create invoice</Button
|
|
|
104
108
|
|
|
105
109
|
### As Link
|
|
106
110
|
|
|
107
|
-
Use Button as navigation only when the destination still needs button-level
|
|
111
|
+
Use Button as navigation only when the destination still needs button-level
|
|
112
|
+
emphasis, such as a prominent next step in a workflow. Use Link for plain
|
|
113
|
+
text navigation.
|
|
108
114
|
|
|
109
115
|
```tsx
|
|
110
116
|
const AsLink = () => <Button href="/customers/123" variant="secondary">View customer</Button>;
|
|
@@ -112,7 +118,9 @@ const AsLink = () => <Button href="/customers/123" variant="secondary">View cust
|
|
|
112
118
|
|
|
113
119
|
### Destructive
|
|
114
120
|
|
|
115
|
-
Use danger variant for actions that remove data, cancel service, or are
|
|
121
|
+
Use danger variant for actions that remove data, cancel service, or are
|
|
122
|
+
difficult to reverse. Pair destructive actions with confirmation or
|
|
123
|
+
recovery guidance when the consequence is not obvious.
|
|
116
124
|
|
|
117
125
|
```tsx
|
|
118
126
|
const Destructive = () => <Button onClick={action('Deleted')} variant="danger">Delete invoice</Button>;
|
|
@@ -120,7 +128,8 @@ const Destructive = () => <Button onClick={action('Deleted')} variant="danger">D
|
|
|
120
128
|
|
|
121
129
|
### Loading
|
|
122
130
|
|
|
123
|
-
Use a loading button after the user starts an action and repeated activation
|
|
131
|
+
Use a loading button after the user starts an action and repeated activation
|
|
132
|
+
should be prevented. Keep the label connected to the action that is running.
|
|
124
133
|
|
|
125
134
|
```tsx
|
|
126
135
|
const Loading = () => <Button loading onClick={action('Submitted')} type="submit">Saving changes</Button>;
|
|
@@ -139,7 +148,8 @@ const WithElements = () => <Button
|
|
|
139
148
|
|
|
140
149
|
### Full Width
|
|
141
150
|
|
|
142
|
-
Use full-width buttons in constrained layouts where the action should align
|
|
151
|
+
Use full-width buttons in constrained layouts where the action should align
|
|
152
|
+
to the container width.
|
|
143
153
|
|
|
144
154
|
```tsx
|
|
145
155
|
const FullWidth = () => <div style={{ maxWidth: '20rem' }}>
|
|
@@ -150,7 +160,8 @@ const FullWidth = () => <div style={{ maxWidth: '20rem' }}>
|
|
|
150
160
|
|
|
151
161
|
### Variants
|
|
152
162
|
|
|
153
|
-
Use variants to set visual emphasis and action tone. Choose the lowest
|
|
163
|
+
Use variants to set visual emphasis and action tone. Choose the lowest
|
|
164
|
+
emphasis that still makes the action easy to find.
|
|
154
165
|
|
|
155
166
|
```tsx
|
|
156
167
|
const Variants = () => <>
|
|
@@ -91,7 +91,9 @@ import { Icon, IconButton } from "@maxio-com/react-ui-components";
|
|
|
91
91
|
|
|
92
92
|
### Default
|
|
93
93
|
|
|
94
|
-
Use IconButton for compact icon-only actions when surrounding context or an
|
|
94
|
+
Use IconButton for compact icon-only actions when surrounding context or an
|
|
95
|
+
accessible name makes the action clear. Every IconButton must include an
|
|
96
|
+
`aria-label` that describes the action outcome.
|
|
95
97
|
|
|
96
98
|
```tsx
|
|
97
99
|
const Default = () => <IconButton
|
|
@@ -68,7 +68,9 @@ import { Body, Button, Card, Flex, Heading } from "@maxio-com/react-ui-component
|
|
|
68
68
|
|
|
69
69
|
### Default
|
|
70
70
|
|
|
71
|
-
Use Default for a simple static content group. Always wrap the main content
|
|
71
|
+
Use Default for a simple static content group. Always wrap the main content
|
|
72
|
+
in Card.Body so spacing remains consistent if header or footer sections are
|
|
73
|
+
added later.
|
|
72
74
|
|
|
73
75
|
```tsx
|
|
74
76
|
const Default = () => <Card>
|
|
@@ -82,7 +84,8 @@ const Default = () => <Card>
|
|
|
82
84
|
|
|
83
85
|
### With Header
|
|
84
86
|
|
|
85
|
-
Use WithHeader when the card needs a visible title or section label.
|
|
87
|
+
Use WithHeader when the card needs a visible title or section label.
|
|
88
|
+
The heading level should fit the surrounding page hierarchy.
|
|
86
89
|
|
|
87
90
|
```tsx
|
|
88
91
|
const WithHeader = () => <Card>
|
|
@@ -99,7 +102,8 @@ const WithHeader = () => <Card>
|
|
|
99
102
|
|
|
100
103
|
### With Footer
|
|
101
104
|
|
|
102
|
-
Use WithFooter when the card includes actions that apply to the grouped
|
|
105
|
+
Use WithFooter when the card includes actions that apply to the grouped
|
|
106
|
+
content. Keep footer actions specific to this card.
|
|
103
107
|
|
|
104
108
|
```tsx
|
|
105
109
|
const WithFooter = () => <Card>
|
|
@@ -116,7 +120,8 @@ const WithFooter = () => <Card>
|
|
|
116
120
|
|
|
117
121
|
### Secondary
|
|
118
122
|
|
|
119
|
-
Use Secondary for supporting panels that should sit behind the primary card
|
|
123
|
+
Use Secondary for supporting panels that should sit behind the primary card
|
|
124
|
+
hierarchy while still grouping related content.
|
|
120
125
|
|
|
121
126
|
```tsx
|
|
122
127
|
const Secondary = () => <Card variant="secondary">
|
|
@@ -130,7 +135,8 @@ const Secondary = () => <Card variant="secondary">
|
|
|
130
135
|
|
|
131
136
|
### Full
|
|
132
137
|
|
|
133
|
-
Use Full when the card has a title, primary content, and local actions.
|
|
138
|
+
Use Full when the card has a title, primary content, and local actions.
|
|
139
|
+
Header, body, and footer sections should remain in that order.
|
|
134
140
|
|
|
135
141
|
```tsx
|
|
136
142
|
const Full = () => <Card>
|
|
@@ -153,7 +159,8 @@ const Full = () => <Card>
|
|
|
153
159
|
|
|
154
160
|
### Full Secondary
|
|
155
161
|
|
|
156
|
-
Use FullSecondary for lower-emphasis sections that still need the complete
|
|
162
|
+
Use FullSecondary for lower-emphasis sections that still need the complete
|
|
163
|
+
header, body, and footer composition.
|
|
157
164
|
|
|
158
165
|
```tsx
|
|
159
166
|
const FullSecondary = () => <Card variant="secondary">
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
### Overview
|
|
6
6
|
|
|
7
|
-
Chip is used for compact, interactive values such as applied filters that can
|
|
7
|
+
Chip is used for compact, interactive values such as applied filters that can
|
|
8
|
+
be selected, toggled, or dismissed without leaving the current context.
|
|
8
9
|
|
|
9
10
|
#### When to Use
|
|
10
11
|
|
|
@@ -82,7 +83,9 @@ import { Chip } from "@maxio-com/react-ui-components";
|
|
|
82
83
|
|
|
83
84
|
### Default
|
|
84
85
|
|
|
85
|
-
Use Chip for a selected, actionable value such as an applied filter.
|
|
86
|
+
Use Chip for a selected, actionable value such as an applied filter.
|
|
87
|
+
Include a dismiss button when users can remove that value from the current
|
|
88
|
+
context.
|
|
86
89
|
|
|
87
90
|
```tsx
|
|
88
91
|
const Default = (args: any) => {
|
|
@@ -97,7 +100,9 @@ const Default = (args: any) => {
|
|
|
97
100
|
|
|
98
101
|
### Selected
|
|
99
102
|
|
|
100
|
-
Use the selected state when the chip represents an active toggle, filter, or
|
|
103
|
+
Use the selected state when the chip represents an active toggle, filter, or
|
|
104
|
+
segmented choice. Keep `aria-pressed` synchronized with the visual selected
|
|
105
|
+
state in static HTML.
|
|
101
106
|
|
|
102
107
|
```tsx
|
|
103
108
|
const Selected = (args: any) => {
|
|
@@ -114,7 +119,8 @@ const Selected = (args: any) => {
|
|
|
114
119
|
|
|
115
120
|
### With Icons
|
|
116
121
|
|
|
117
|
-
Use icons only when they help identify the chip value faster. Icons are
|
|
122
|
+
Use icons only when they help identify the chip value faster. Icons are
|
|
123
|
+
supporting visuals; the visible label still provides the accessible name.
|
|
118
124
|
|
|
119
125
|
```tsx
|
|
120
126
|
const WithIcons = (args: any) => {
|
|
@@ -131,7 +137,9 @@ const WithIcons = (args: any) => {
|
|
|
131
137
|
|
|
132
138
|
### Controlled
|
|
133
139
|
|
|
134
|
-
Use controlled state when another component owns the selection, such as a
|
|
140
|
+
Use controlled state when another component owns the selection, such as a
|
|
141
|
+
filter menu, table toolbar, or saved view. Update `isSelected` from
|
|
142
|
+
`onChange` so visual and announced state stay in sync.
|
|
135
143
|
|
|
136
144
|
```tsx
|
|
137
145
|
const Controlled = (args: any) => {
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# CopyToClipboard
|
|
2
|
+
|
|
3
|
+
## Usage Guidelines
|
|
4
|
+
|
|
5
|
+
### Overview
|
|
6
|
+
|
|
7
|
+
CopyToClipboard writes a value to the clipboard and confirms it, so users can take
|
|
8
|
+
an identifier, key, or URL out of the interface without selecting text by
|
|
9
|
+
hand. It swaps to a check mark once copied, confirms in the tooltip, and
|
|
10
|
+
announces the result to screen readers.
|
|
11
|
+
|
|
12
|
+
Place the button directly beside the value it copies. It is ghost by default,
|
|
13
|
+
but accepts primary, secondary, and tertiary variants when more emphasis is
|
|
14
|
+
needed.
|
|
15
|
+
|
|
16
|
+
#### When to Use
|
|
17
|
+
|
|
18
|
+
- Use CopyToClipboard for values users need to move elsewhere but should not have to
|
|
19
|
+
select by hand: API keys, tokens, IDs, commit SHAs, clone URLs, invoice
|
|
20
|
+
numbers.
|
|
21
|
+
- Use the icon-only button inline, directly beside the value it copies. The
|
|
22
|
+
adjacent value says what will be copied and the control stays out of the way.
|
|
23
|
+
|
|
24
|
+
#### When Not to Use
|
|
25
|
+
|
|
26
|
+
- Do not use CopyToClipboard for actions that duplicate a record, such as
|
|
27
|
+
"Duplicate invoice". Use a [Button](components-buttons-button.md)
|
|
28
|
+
with explicit wording.
|
|
29
|
+
- Do not use CopyToClipboard to copy long prose or whole page regions; let users
|
|
30
|
+
select that text themselves.
|
|
31
|
+
- Do not use it as the only way to obtain a value. Keep the value visible or
|
|
32
|
+
otherwise reachable, since clipboard access can fail.
|
|
33
|
+
|
|
34
|
+
### Variants
|
|
35
|
+
|
|
36
|
+
| Variants | Purpose | Usage notes |
|
|
37
|
+
| :----------------- | :----------------------------- | :-------------------------------------------------------------------------- |
|
|
38
|
+
| Icon-only (inline) | Sits beside the value. | `copyLabel` supplies the accessible name; the tooltip is only a hover hint. |
|
|
39
|
+
| `sm` size | Table rows and dense metadata. | Pair with `Body size="sm"` so the icon matches the line height. |
|
|
40
|
+
| `lg` size | Larger copy actions. | Largest target area; use where the button is not crowded by other controls. |
|
|
41
|
+
|
|
42
|
+
The button is ghost by default so it does not compete with the value beside it.
|
|
43
|
+
Use `variant` to increase its emphasis when needed:
|
|
44
|
+
|
|
45
|
+
| `variant` | When to use |
|
|
46
|
+
| :---------- | :------------------------------------------------------------- |
|
|
47
|
+
| `ghost` | Default. Suits inline use beside the value being copied. |
|
|
48
|
+
| `tertiary` | Use when the copy control needs slightly more emphasis. |
|
|
49
|
+
| `secondary` | Copying is one of the main actions on the surface. |
|
|
50
|
+
| `primary` | Rare. Only when copying is _the_ action users came to perform. |
|
|
51
|
+
|
|
52
|
+
### Behavior
|
|
53
|
+
|
|
54
|
+
- **Mouse and touch**: pressing the button writes `value` to the clipboard and
|
|
55
|
+
the icon swaps to a check mark and the tooltip shows `copiedLabel`.
|
|
56
|
+
- **Keyboard**: the button is reachable with Tab and activates with Enter or
|
|
57
|
+
Space. Focus also opens the icon-only button's tooltip.
|
|
58
|
+
- **Callbacks**: a native `onClick` observes activation without replacing the
|
|
59
|
+
copy behavior. Use `onCopy` and `onCopyError` for the asynchronous result.
|
|
60
|
+
- **Copied state**: reverts automatically after `resetAfterMs` (2000 ms by
|
|
61
|
+
default). Pressing again restarts the timer. Changing `value` clears feedback
|
|
62
|
+
immediately so a new value is never presented as already copied.
|
|
63
|
+
- **Failure**: if the clipboard write is rejected — an insecure context, or
|
|
64
|
+
denied permission — the icon and tooltip show the failure,
|
|
65
|
+
`copyErrorLabel` is announced, and `onCopyError` fires. It never claims a copy
|
|
66
|
+
that did not happen.
|
|
67
|
+
- **Async values**: keep the button `disabled` until `value` is populated so
|
|
68
|
+
users cannot copy a placeholder.
|
|
69
|
+
- **Sizing**: `size` uses the shared IconButton sizing. Target areas are 28px,
|
|
70
|
+
32px, and 40px; the glyph remains 16px, consistent with
|
|
71
|
+
other icon buttons in the system.
|
|
72
|
+
|
|
73
|
+
### Accessibility
|
|
74
|
+
|
|
75
|
+
- The button takes its accessible name from `copyLabel`. A tooltip is
|
|
76
|
+
not an accessible name, so the label is always applied to the button itself.
|
|
77
|
+
- Success and failure are announced through a `role="status"`
|
|
78
|
+
`aria-live="polite"` region rather than the tooltip, because a tooltip is not
|
|
79
|
+
announced on press and may not be open when the user activates the button by
|
|
80
|
+
keyboard.
|
|
81
|
+
- The live region is rendered up front and filled after the copy, so the change
|
|
82
|
+
is announced. A region inserted together with its text is unreliable.
|
|
83
|
+
- Each attempt refreshes the live region, so repeated successful copies are
|
|
84
|
+
announced as separate actions.
|
|
85
|
+
- Icon changes are paired with announcement text and tooltip feedback, so
|
|
86
|
+
success and failure are never conveyed by the glyph alone.
|
|
87
|
+
|
|
88
|
+
### Content
|
|
89
|
+
|
|
90
|
+
- Keep `copyLabel` specific about what is copied — "Copy API key" beats "Copy"
|
|
91
|
+
when several copyable values sit near each other.
|
|
92
|
+
- Keep `copiedLabel` short; it is announced verbatim.
|
|
93
|
+
- Keep `copyErrorLabel` actionable and concise; "Copy failed" is the default.
|
|
94
|
+
- When showing a truncated value, keep `value` set to the full string so users
|
|
95
|
+
get the complete text.
|
|
96
|
+
|
|
97
|
+
### Related
|
|
98
|
+
|
|
99
|
+
- **[Button](components-buttons-button.md)**: use for actions
|
|
100
|
+
that are not clipboard copies.
|
|
101
|
+
- **[IconButton](components-buttons-iconbutton.md)**: use for
|
|
102
|
+
other icon-only actions; CopyToClipboard is a purpose-built wrapper around it.
|
|
103
|
+
- **[TooltipTrigger](components-tooltip.md)**: supplies the hover
|
|
104
|
+
and focus hint used here.
|
|
105
|
+
|
|
106
|
+
## React
|
|
107
|
+
|
|
108
|
+
```tsx
|
|
109
|
+
import { CopyToClipboard } from '@maxio-com/react-ui-components';
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Handling Failures
|
|
113
|
+
|
|
114
|
+
Clipboard writes reject in insecure contexts and when the user denies
|
|
115
|
+
permission. CopyToClipboard shows and announces `copyErrorLabel` in that case
|
|
116
|
+
and calls `onCopyError`, so consumers can also surface application-level
|
|
117
|
+
feedback when needed.
|
|
118
|
+
|
|
119
|
+
```tsx
|
|
120
|
+
<CopyToClipboard
|
|
121
|
+
value={apiKey}
|
|
122
|
+
copyLabel="Copy API key"
|
|
123
|
+
copyErrorLabel="API key could not be copied"
|
|
124
|
+
onCopyError={() => addToast({ sentiment: 'error', title: 'Could not copy' })}
|
|
125
|
+
/>
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Asynchronous Values
|
|
129
|
+
|
|
130
|
+
Keep the button disabled until the value exists, so users cannot copy a
|
|
131
|
+
placeholder.
|
|
132
|
+
|
|
133
|
+
```tsx
|
|
134
|
+
<CopyToClipboard value={token ?? ''} disabled={!token} copyLabel="Copy token" />
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Imports
|
|
138
|
+
|
|
139
|
+
```tsx
|
|
140
|
+
import { Body, CopyToClipboard, Flex } from "@maxio-com/react-ui-components";
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Prop Types
|
|
144
|
+
|
|
145
|
+
### CopyToClipboard
|
|
146
|
+
|
|
147
|
+
| Prop | Type | Required | Default | Description | Source |
|
|
148
|
+
| --- | --- | --- | --- | --- | --- |
|
|
149
|
+
| `copiedLabel` | `string` | no | `Copied!` | Success feedback after a copy, shown in the tooltip and announced to screen readers. | TypeLiteral |
|
|
150
|
+
| `copyErrorLabel` | `string` | no | `Copy failed` | Failure feedback after a copy, shown and announced like `copiedLabel`. | TypeLiteral |
|
|
151
|
+
| `copyLabel` | `string` | no | `Copy` | Accessible name for the button, and the idle tooltip text. | TypeLiteral |
|
|
152
|
+
| `disabled` | `boolean` | no | - | Prevents interaction, such as while the value is still loading. | TypeLiteral, ButtonHTMLAttributes |
|
|
153
|
+
| `onCopy` | `((value: string) => void)` | no | - | Called with the copied value once the clipboard write succeeds. | TypeLiteral |
|
|
154
|
+
| `onCopyError` | `((error: unknown) => void)` | no | - | Called when the clipboard write fails, such as in an insecure context or when permission is denied. The copied state is not entered. | TypeLiteral |
|
|
155
|
+
| `resetAfterMs` | `number` | no | `2000` | How long the copied state lasts before reverting, in milliseconds. | TypeLiteral |
|
|
156
|
+
| `size` | `"sm" \| "md" \| "lg"` | no | `md` | Changes the size of the button. | TypeLiteral |
|
|
157
|
+
| `tooltipPlacement` | `"top" \| "right" \| "bottom" \| "left" \| "top-start" \| "top-end" \| "right-start" \| "right-end" \| "bottom-start" \| "bottom-end" \| "left-start" \| "left-end"` | no | `top` | Where the tooltip is positioned relative to the button. | TypeLiteral |
|
|
158
|
+
| `value` | `string` | yes | - | Text written to the clipboard when the button is pressed. | TypeLiteral |
|
|
159
|
+
| `variant` | `"primary" \| "secondary" \| "tertiary" \| "ghost"` | no | `ghost` | Button variant. | TypeLiteral |
|
|
160
|
+
|
|
161
|
+
## Stories
|
|
162
|
+
|
|
163
|
+
### Default
|
|
164
|
+
|
|
165
|
+
An icon-only button sitting directly beside the value it copies. `copyLabel`
|
|
166
|
+
carries the accessible name.
|
|
167
|
+
|
|
168
|
+
```tsx
|
|
169
|
+
const Default = () => <Flex alignItems="center" gap={1}>
|
|
170
|
+
<Body size="sm" as="span">
|
|
171
|
+
{args.value}
|
|
172
|
+
</Body>
|
|
173
|
+
<CopyToClipboard
|
|
174
|
+
value={API_KEY}
|
|
175
|
+
onCopy={action('Copied')}
|
|
176
|
+
onCopyError={action('Copy failed')}
|
|
177
|
+
size="sm"
|
|
178
|
+
copyLabel="Copy API key" />
|
|
179
|
+
</Flex>;
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Disabled
|
|
183
|
+
|
|
184
|
+
Disable the button while there is nothing to copy yet, such as before a
|
|
185
|
+
generated secret has loaded.
|
|
186
|
+
|
|
187
|
+
```tsx
|
|
188
|
+
const Disabled = () => <CopyToClipboard
|
|
189
|
+
value={API_KEY}
|
|
190
|
+
onCopy={action('Copied')}
|
|
191
|
+
onCopyError={action('Copy failed')}
|
|
192
|
+
disabled />;
|
|
193
|
+
```
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Overview
|
|
6
6
|
|
|
7
|
-
Displays TanStack Table data with Maxio table semantics, styling, and common
|
|
7
|
+
Displays TanStack Table data with Maxio table semantics, styling, and common
|
|
8
|
+
interactions such as sorting, row selection, expansion, row actions, and
|
|
9
|
+
pinned columns.
|
|
8
10
|
|
|
9
11
|
DataTable uses TanStack Table for column, row, sorting, selection, expansion,
|
|
10
12
|
and pinning state while rendering Maxio table markup and classes.
|
|
@@ -243,7 +245,7 @@ import {
|
|
|
243
245
|
| `actions` | `((row: Row<TData>, table: Table<TData>) => ReactNode)` | no | - | render custom actions cell content | TypeLiteral |
|
|
244
246
|
| `actionsColumnSize` | `number` | no | - | width (in px) of the actions column; defaults to 40 | TypeLiteral |
|
|
245
247
|
| `aggregationFns` | `Record<string, AggregationFn<any>>` | no | - | - | TypeLiteral |
|
|
246
|
-
| `align` | `"
|
|
248
|
+
| `align` | `"right" \| "left"` | no | - | - | TypeLiteral |
|
|
247
249
|
| `enableExpanding` | `boolean \| "rowsOnly"` | no | - | Enable nested row expansion. Include `'rowsOnly'` for row-level toggles without group expand/collapse header control. | TypeLiteral |
|
|
248
250
|
| `enableRowReordering` | `boolean` | no | `false` | Enable controlled row reordering for small, non-paginated tables. Intended for approximately 100 total rows or fewer, including nested and collapsed rows. Nested row data must use the `subRows` property; custom `getSubRows` accessors are unsupported. | TypeLiteral |
|
|
249
251
|
| `enableSorting` | `boolean` | no | `false` | - | TypeLiteral |
|
|
@@ -266,7 +268,9 @@ import {
|
|
|
266
268
|
|
|
267
269
|
### Default
|
|
268
270
|
|
|
269
|
-
Use DataTable when a data set needs table semantics plus common interactions
|
|
271
|
+
Use DataTable when a data set needs table semantics plus common interactions
|
|
272
|
+
such as sorting, row selection, nested expansion, custom row actions, and
|
|
273
|
+
pinned action or control columns.
|
|
270
274
|
|
|
271
275
|
```tsx
|
|
272
276
|
const Default = () => <DataTable
|
|
@@ -281,7 +285,8 @@ const Default = () => <DataTable
|
|
|
281
285
|
|
|
282
286
|
### Sorting
|
|
283
287
|
|
|
284
|
-
Use sorting when users need to compare rows by one or more column values.
|
|
288
|
+
Use sorting when users need to compare rows by one or more column values.
|
|
289
|
+
Sortable headers cycle through ascending, descending, and unsorted states.
|
|
285
290
|
|
|
286
291
|
```tsx
|
|
287
292
|
const Sorting = () => <DataTable enableSorting />;
|
|
@@ -289,7 +294,8 @@ const Sorting = () => <DataTable enableSorting />;
|
|
|
289
294
|
|
|
290
295
|
### Selecting
|
|
291
296
|
|
|
292
|
-
Use row selection when users need to choose individual rows or select all
|
|
297
|
+
Use row selection when users need to choose individual rows or select all
|
|
298
|
+
rows in the current table state for a follow-up action.
|
|
293
299
|
|
|
294
300
|
```tsx
|
|
295
301
|
const Selecting = () => <DataTable enableRowSelection />;
|
|
@@ -297,7 +303,8 @@ const Selecting = () => <DataTable enableRowSelection />;
|
|
|
297
303
|
|
|
298
304
|
### Nested Rows
|
|
299
305
|
|
|
300
|
-
Use nested rows when child records share the same shape as their parent row.
|
|
306
|
+
Use nested rows when child records share the same shape as their parent row.
|
|
307
|
+
Include `subRows` on the data and enable expansion controls.
|
|
301
308
|
|
|
302
309
|
```tsx
|
|
303
310
|
const NestedRows = () => <DataTable enableExpanding />;
|
|
@@ -305,7 +312,9 @@ const NestedRows = () => <DataTable enableExpanding />;
|
|
|
305
312
|
|
|
306
313
|
### Row Reordering
|
|
307
314
|
|
|
308
|
-
Row reordering is controlled. Update the table data from `onRowReorder`.
|
|
315
|
+
Row reordering is controlled. Update the table data from `onRowReorder`.
|
|
316
|
+
Choose a row reorder mode to limit movement to siblings, preserve tree depth
|
|
317
|
+
while changing parents, or allow every valid destination.
|
|
309
318
|
|
|
310
319
|
```tsx
|
|
311
320
|
const RowReordering = () => {
|
|
@@ -339,7 +348,8 @@ const RowReordering = () => {
|
|
|
339
348
|
|
|
340
349
|
### Custom Rows
|
|
341
350
|
|
|
342
|
-
Use custom rows when an expanded row needs richer content than the standard
|
|
351
|
+
Use custom rows when an expanded row needs richer content than the standard
|
|
352
|
+
column layout while remaining connected to the parent row.
|
|
343
353
|
|
|
344
354
|
```tsx
|
|
345
355
|
const CustomRows = () => <DataTable
|
|
@@ -352,7 +362,8 @@ const CustomRows = () => <DataTable
|
|
|
352
362
|
|
|
353
363
|
### Actions
|
|
354
364
|
|
|
355
|
-
Use row actions for controls scoped to a single row. The actions cell is
|
|
365
|
+
Use row actions for controls scoped to a single row. The actions cell is
|
|
366
|
+
pinned to the right so those controls remain available while scrolling.
|
|
356
367
|
|
|
357
368
|
```tsx
|
|
358
369
|
const Actions = () => <DataTable data={customerData} columns={customerColumns} actions={rowActions()} />;
|
|
@@ -360,7 +371,8 @@ const Actions = () => <DataTable data={customerData} columns={customerColumns} a
|
|
|
360
371
|
|
|
361
372
|
### Row Action
|
|
362
373
|
|
|
363
|
-
Use row action behavior when the whole row should activate a primary row
|
|
374
|
+
Use row action behavior when the whole row should activate a primary row
|
|
375
|
+
destination or action while preserving keyboard access.
|
|
364
376
|
|
|
365
377
|
```tsx
|
|
366
378
|
const RowAction = () => <DataTable data={customerData} columns={customerColumns} onRowAction={logRowAction} />;
|
|
@@ -368,7 +380,8 @@ const RowAction = () => <DataTable data={customerData} columns={customerColumns}
|
|
|
368
380
|
|
|
369
381
|
### Components
|
|
370
382
|
|
|
371
|
-
Use component cells when mapped values need Maxio components such as links,
|
|
383
|
+
Use component cells when mapped values need Maxio components such as links,
|
|
384
|
+
tags, or other inline display elements.
|
|
372
385
|
|
|
373
386
|
```tsx
|
|
374
387
|
const Components = () => <DataTable pattern size="lg" />;
|
|
@@ -376,7 +389,8 @@ const Components = () => <DataTable pattern size="lg" />;
|
|
|
376
389
|
|
|
377
390
|
### Header Groups
|
|
378
391
|
|
|
379
|
-
Use header groups when related columns need a shared parent heading above
|
|
392
|
+
Use header groups when related columns need a shared parent heading above
|
|
393
|
+
their individual column headers.
|
|
380
394
|
|
|
381
395
|
```tsx
|
|
382
396
|
const HeaderGroups = () => <DataTable />;
|
|
@@ -384,7 +398,8 @@ const HeaderGroups = () => <DataTable />;
|
|
|
384
398
|
|
|
385
399
|
### Column Pinning
|
|
386
400
|
|
|
387
|
-
Use column pinning when important identifying columns or action columns must
|
|
401
|
+
Use column pinning when important identifying columns or action columns must
|
|
402
|
+
stay visible while the table scrolls horizontally.
|
|
388
403
|
|
|
389
404
|
```tsx
|
|
390
405
|
const ColumnPinning = () => <div style={{ overflowX: 'auto' }}>
|
|
@@ -404,7 +419,8 @@ const ColumnPinning = () => <div style={{ overflowX: 'auto' }}>
|
|
|
404
419
|
|
|
405
420
|
### Custom
|
|
406
421
|
|
|
407
|
-
Use the primitive table components only for simple static tables that do not
|
|
422
|
+
Use the primitive table components only for simple static tables that do not
|
|
423
|
+
need sorting, selection, expansion, pinning, or TanStack Table state.
|
|
408
424
|
|
|
409
425
|
```tsx
|
|
410
426
|
const Custom = () => (
|
|
@@ -69,7 +69,7 @@ import { Body, Button, DialogTrigger, Drawer } from "@maxio-com/react-ui-compone
|
|
|
69
69
|
| `footer` | `ReactNode` | no | - | - | DrawerProps |
|
|
70
70
|
| `onOpenChange` | `((open: boolean) => void)` | no | - | - | DrawerProps |
|
|
71
71
|
| `open` | `boolean` | no | - | - | DrawerProps |
|
|
72
|
-
| `placement` | `"
|
|
72
|
+
| `placement` | `"top" \| "right" \| "bottom" \| "left"` | no | `right` | - | DrawerProps |
|
|
73
73
|
| `size` | `"sm" \| "md" \| "lg" \| "xl" \| "full"` | no | `md` | - | DrawerProps |
|
|
74
74
|
| `title` | `string` | yes | - | - | DrawerProps |
|
|
75
75
|
|