@strapi/design-system 1.14.0-typescript.2 → 1.14.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/BaseCheckbox/BaseCheckbox.js +2 -2
- package/dist/BaseCheckbox/BaseCheckbox.mjs +2 -2
- package/dist/FocusTrap/FocusTrap.js +3 -3
- package/dist/FocusTrap/FocusTrap.mjs +3 -3
- package/dist/Select/MultiSelect.js +1 -1
- package/dist/Select/MultiSelect.mjs +1 -1
- package/package.json +8 -8
- package/dist/Accordion/Accordion.d.ts +0 -56
- package/dist/Accordion/AccordionContent.d.ts +0 -3
- package/dist/Accordion/AccordionContext.d.ts +0 -12
- package/dist/Accordion/AccordionGroup.d.ts +0 -10
- package/dist/Accordion/AccordionToggle.d.ts +0 -22
- package/dist/Accordion/index.d.ts +0 -4
- package/dist/Accordion/utils.d.ts +0 -7
- package/dist/Alert/Alert.d.ts +0 -34
- package/dist/Alert/index.d.ts +0 -1
- package/dist/Alert/utils.d.ts +0 -10
- package/dist/Avatar/Avatar.d.ts +0 -22
- package/dist/Avatar/AvatarGroup.d.ts +0 -1
- package/dist/Avatar/__tests__/Avatar.spec.d.ts +0 -1
- package/dist/Avatar/constants.d.ts +0 -2
- package/dist/Avatar/index.d.ts +0 -2
- package/dist/Badge/Badge.d.ts +0 -13
- package/dist/Badge/index.d.ts +0 -1
- package/dist/BaseButton/BaseButton.d.ts +0 -52
- package/dist/BaseButton/index.d.ts +0 -1
- package/dist/BaseCheckbox/BaseCheckbox.d.ts +0 -27
- package/dist/BaseCheckbox/index.d.ts +0 -1
- package/dist/BaseCheckbox/utils.d.ts +0 -7
- package/dist/BaseLink/BaseLink.d.ts +0 -50
- package/dist/BaseLink/__tests__/BaseLink.spec.d.ts +0 -1
- package/dist/BaseLink/index.d.ts +0 -1
- package/dist/BaseRadio/BaseRadio.d.ts +0 -6
- package/dist/BaseRadio/RadioGroup.d.ts +0 -12
- package/dist/BaseRadio/context.d.ts +0 -9
- package/dist/BaseRadio/index.d.ts +0 -2
- package/dist/BaseRadio/utils.d.ts +0 -4
- package/dist/Box/Box.d.ts +0 -97
- package/dist/Box/__tests__/Box.spec.d.ts +0 -1
- package/dist/Box/index.d.ts +0 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +0 -17
- package/dist/Breadcrumbs/index.d.ts +0 -1
- package/dist/Button/Button.d.ts +0 -61
- package/dist/Button/__tests__/utils.spec.d.ts +0 -1
- package/dist/Button/constants.d.ts +0 -13
- package/dist/Button/index.d.ts +0 -1
- package/dist/Button/utils.d.ts +0 -18
- package/dist/Card/Card.d.ts +0 -5
- package/dist/Card/CardAction.d.ts +0 -8
- package/dist/Card/CardAsset.d.ts +0 -7
- package/dist/Card/CardBadge.d.ts +0 -3
- package/dist/Card/CardBody.d.ts +0 -3
- package/dist/Card/CardCheckbox.d.ts +0 -3
- package/dist/Card/CardContent.d.ts +0 -6
- package/dist/Card/CardContext.d.ts +0 -6
- package/dist/Card/CardHeader.d.ts +0 -3
- package/dist/Card/CardTimer.d.ts +0 -6
- package/dist/Card/CardTitle.d.ts +0 -5
- package/dist/Card/index.d.ts +0 -10
- package/dist/CarouselInput/Carousel.d.ts +0 -15
- package/dist/CarouselInput/CarouselActions.d.ts +0 -10
- package/dist/CarouselInput/CarouselImage.d.ts +0 -6
- package/dist/CarouselInput/CarouselInput.d.ts +0 -8
- package/dist/CarouselInput/CarouselSlide.d.ts +0 -7
- package/dist/CarouselInput/index.d.ts +0 -5
- package/dist/Checkbox/Checkbox.d.ts +0 -9
- package/dist/Checkbox/index.d.ts +0 -1
- package/dist/Combobox/Combobox.d.ts +0 -60
- package/dist/Combobox/ComboboxList.d.ts +0 -10
- package/dist/Combobox/ComboboxOption.d.ts +0 -3
- package/dist/Combobox/__tests__/Combobox.spec.d.ts +0 -1
- package/dist/Combobox/index.d.ts +0 -3
- package/dist/DatePicker/DatePicker.d.ts +0 -78
- package/dist/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
- package/dist/DatePicker/index.d.ts +0 -2
- package/dist/DateTimePicker/DateTimePicker.d.ts +0 -32
- package/dist/DateTimePicker/__tests__/DateTimePicker.spec.d.ts +0 -1
- package/dist/DateTimePicker/index.d.ts +0 -1
- package/dist/DesignSystemProvider.d.ts +0 -10
- package/dist/Dialog/Dialog.d.ts +0 -7
- package/dist/Dialog/DialogBody.d.ts +0 -6
- package/dist/Dialog/DialogFooter.d.ts +0 -6
- package/dist/Dialog/__tests__/Dialog.spec.d.ts +0 -1
- package/dist/Dialog/index.d.ts +0 -3
- package/dist/DismissibleLayer/index.d.ts +0 -3
- package/dist/Divider/Divider.d.ts +0 -9
- package/dist/Divider/index.d.ts +0 -1
- package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +0 -7
- package/dist/EmptyStateLayout/index.d.ts +0 -1
- package/dist/EmptyStateLayout/story-assets/Illo.d.ts +0 -1
- package/dist/Field/Field.d.ts +0 -14
- package/dist/Field/FieldAction.d.ts +0 -7
- package/dist/Field/FieldContext.d.ts +0 -10
- package/dist/Field/FieldError.d.ts +0 -1
- package/dist/Field/FieldHint.d.ts +0 -1
- package/dist/Field/FieldInput.d.ts +0 -61
- package/dist/Field/FieldLabel.d.ts +0 -11
- package/dist/Field/__tests__/Field.spec.d.ts +0 -1
- package/dist/Field/index.d.ts +0 -7
- package/dist/Flex/Flex.d.ts +0 -15
- package/dist/Flex/index.d.ts +0 -1
- package/dist/FocusTrap/FocusTrap.d.ts +0 -12
- package/dist/FocusTrap/index.d.ts +0 -1
- package/dist/Grid/Grid.d.ts +0 -7
- package/dist/Grid/GridItem.d.ts +0 -47
- package/dist/Grid/index.d.ts +0 -2
- package/dist/Icon/Icon.d.ts +0 -7
- package/dist/Icon/index.d.ts +0 -1
- package/dist/IconButton/IconButton.d.ts +0 -41
- package/dist/IconButton/index.d.ts +0 -1
- package/dist/JSONInput/JSONInput.d.ts +0 -15
- package/dist/JSONInput/__tests__/JSONInput.spec.d.ts +0 -1
- package/dist/JSONInput/index.d.ts +0 -1
- package/dist/JSONInput/utils/decorationExtension.d.ts +0 -7
- package/dist/KeyboardNavigable/KeyboardNavigable.d.ts +0 -6
- package/dist/KeyboardNavigable/index.d.ts +0 -1
- package/dist/Layout/ActionLayout.d.ts +0 -6
- package/dist/Layout/ContentLayout.d.ts +0 -5
- package/dist/Layout/GridLayout.d.ts +0 -1
- package/dist/Layout/HeaderLayout.d.ts +0 -18
- package/dist/Layout/Layout.d.ts +0 -6
- package/dist/Layout/TwoColsLayout.d.ts +0 -6
- package/dist/Layout/index.d.ts +0 -6
- package/dist/Link/Link.d.ts +0 -19
- package/dist/Link/index.d.ts +0 -1
- package/dist/LinkButton/LinkButton.d.ts +0 -23
- package/dist/LinkButton/index.d.ts +0 -1
- package/dist/LiveRegions/LiveRegions.d.ts +0 -1
- package/dist/LiveRegions/__tests__/LiveRegions.spec.d.ts +0 -1
- package/dist/LiveRegions/constants.d.ts +0 -5
- package/dist/LiveRegions/index.d.ts +0 -2
- package/dist/LiveRegions/useNotifyAT.d.ts +0 -5
- package/dist/Loader/Loader.d.ts +0 -6
- package/dist/Loader/index.d.ts +0 -1
- package/dist/Main/Main.d.ts +0 -5
- package/dist/Main/SkipToContent.d.ts +0 -4
- package/dist/Main/index.d.ts +0 -2
- package/dist/MainNav/MainNav.d.ts +0 -5
- package/dist/MainNav/MainNavContext.d.ts +0 -2
- package/dist/MainNav/NavBrand.d.ts +0 -8
- package/dist/MainNav/NavCondense.d.ts +0 -5
- package/dist/MainNav/NavFooter.d.ts +0 -5
- package/dist/MainNav/NavLink.d.ts +0 -9
- package/dist/MainNav/NavSection.d.ts +0 -11
- package/dist/MainNav/NavSections.d.ts +0 -10
- package/dist/MainNav/NavUser.d.ts +0 -7
- package/dist/MainNav/index.d.ts +0 -8
- package/dist/ModalLayout/ModalBody.d.ts +0 -2
- package/dist/ModalLayout/ModalContext.d.ts +0 -2
- package/dist/ModalLayout/ModalFooter.d.ts +0 -5
- package/dist/ModalLayout/ModalHeader.d.ts +0 -6
- package/dist/ModalLayout/ModalLayout.d.ts +0 -6
- package/dist/ModalLayout/__tests__/ModalLayout.spec.d.ts +0 -1
- package/dist/ModalLayout/index.d.ts +0 -4
- package/dist/NumberInput/NumberInput.d.ts +0 -11
- package/dist/NumberInput/index.d.ts +0 -1
- package/dist/Pagination/Pagination.d.ts +0 -8
- package/dist/Pagination/PaginationContext.d.ts +0 -6
- package/dist/Pagination/components.d.ts +0 -26
- package/dist/Pagination/index.d.ts +0 -2
- package/dist/Popover/Popover.d.ts +0 -21
- package/dist/Popover/__tests__/Popover.spec.d.ts +0 -1
- package/dist/Popover/index.d.ts +0 -3
- package/dist/Popover/primitives.d.ts +0 -3
- package/dist/Portal/Portal.d.ts +0 -6
- package/dist/Portal/index.d.ts +0 -1
- package/dist/ProgressBar/ProgressBar.d.ts +0 -11
- package/dist/ProgressBar/index.d.ts +0 -1
- package/dist/Radio/Radio.d.ts +0 -5
- package/dist/Radio/__tests__/Radio.spec.d.ts +0 -1
- package/dist/Radio/index.d.ts +0 -2
- package/dist/RawTable/RawCell.d.ts +0 -14
- package/dist/RawTable/RawTable.d.ts +0 -16
- package/dist/RawTable/RawTableContext.d.ts +0 -10
- package/dist/RawTable/RawTbody.d.ts +0 -5
- package/dist/RawTable/RawThead.d.ts +0 -5
- package/dist/RawTable/RawTr.d.ts +0 -5
- package/dist/RawTable/focusFocusable.d.ts +0 -1
- package/dist/RawTable/index.d.ts +0 -5
- package/dist/Searchbar/SearchForm.d.ts +0 -3
- package/dist/Searchbar/Searchbar.d.ts +0 -9
- package/dist/Searchbar/index.d.ts +0 -2
- package/dist/Select/MultiSelect.d.ts +0 -40
- package/dist/Select/MultiSelectNested.d.ts +0 -13
- package/dist/Select/OptGroup.d.ts +0 -9
- package/dist/Select/Option.d.ts +0 -13
- package/dist/Select/Select.d.ts +0 -18
- package/dist/Select/SelectList.d.ts +0 -25
- package/dist/Select/SelectParts.d.ts +0 -67
- package/dist/Select/SingleSelect.d.ts +0 -41
- package/dist/Select/__tests__/MultiSelect.spec.d.ts +0 -1
- package/dist/Select/__tests__/MultiSelectNested.spec.d.ts +0 -1
- package/dist/Select/__tests__/Select.spec.d.ts +0 -1
- package/dist/Select/__tests__/SingleSelect.spec.d.ts +0 -1
- package/dist/Select/index.d.ts +0 -17
- package/dist/SimpleMenu/SimpleMenu.d.ts +0 -33
- package/dist/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
- package/dist/SimpleMenu/index.d.ts +0 -1
- package/dist/SimpleMenu/utils.d.ts +0 -3
- package/dist/Stack/Stack.d.ts +0 -20
- package/dist/Stack/index.d.ts +0 -1
- package/dist/Status/Status.d.ts +0 -15
- package/dist/Status/__tests__/Status.spec.d.ts +0 -1
- package/dist/Status/index.d.ts +0 -1
- package/dist/SubNav/SubNav.d.ts +0 -6
- package/dist/SubNav/SubNavHeader.d.ts +0 -13
- package/dist/SubNav/SubNavLink.d.ts +0 -8
- package/dist/SubNav/SubNavLinkSection.d.ts +0 -7
- package/dist/SubNav/SubNavSection.d.ts +0 -9
- package/dist/SubNav/SubNavSectionLabel.d.ts +0 -8
- package/dist/SubNav/SubNavSections.d.ts +0 -10
- package/dist/SubNav/index.d.ts +0 -6
- package/dist/Switch/Switch.d.ts +0 -13
- package/dist/Switch/index.d.ts +0 -1
- package/dist/Table/Cell.d.ts +0 -8
- package/dist/Table/TFooter.d.ts +0 -7
- package/dist/Table/Table.d.ts +0 -7
- package/dist/Table/Tbody.d.ts +0 -2
- package/dist/Table/Thead.d.ts +0 -2
- package/dist/Table/Tr.d.ts +0 -2
- package/dist/Table/index.d.ts +0 -6
- package/dist/Tabs/TabGroup.d.ts +0 -13
- package/dist/Tabs/TabPanels.d.ts +0 -9
- package/dist/Tabs/Tabs.d.ts +0 -17
- package/dist/Tabs/TabsContext.d.ts +0 -10
- package/dist/Tabs/components.d.ts +0 -94
- package/dist/Tabs/index.d.ts +0 -3
- package/dist/Tag/Tag.d.ts +0 -5
- package/dist/Tag/__tests__/Tag.spec.d.ts +0 -1
- package/dist/Tag/index.d.ts +0 -1
- package/dist/TextButton/TextButton.d.ts +0 -8
- package/dist/TextButton/index.d.ts +0 -1
- package/dist/TextInput/TextInput.d.ts +0 -10
- package/dist/TextInput/__tests__/TextInput.spec.d.ts +0 -1
- package/dist/TextInput/index.d.ts +0 -1
- package/dist/Textarea/Textarea.d.ts +0 -17
- package/dist/Textarea/index.d.ts +0 -1
- package/dist/ThemeProvider/ThemeProvider.d.ts +0 -10
- package/dist/ThemeProvider/hooks.d.ts +0 -1
- package/dist/ThemeProvider/index.d.ts +0 -2
- package/dist/TimePicker/TimePicker.d.ts +0 -26
- package/dist/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
- package/dist/TimePicker/index.d.ts +0 -1
- package/dist/ToggleCheckbox/ToggleCheckbox.d.ts +0 -10
- package/dist/ToggleCheckbox/index.d.ts +0 -1
- package/dist/ToggleInput/ToggleInput.d.ts +0 -24
- package/dist/ToggleInput/__tests__/ToggleInput.spec.d.ts +0 -1
- package/dist/ToggleInput/index.d.ts +0 -1
- package/dist/Tooltip/Tooltip.d.ts +0 -11
- package/dist/Tooltip/__tests__/Tooltip.spec.d.ts +0 -1
- package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +0 -7
- package/dist/Tooltip/hooks/useTooltipLayout.d.ts +0 -5
- package/dist/Tooltip/index.d.ts +0 -1
- package/dist/Tooltip/utils/__tests__/positionTooltip.spec.d.ts +0 -1
- package/dist/Tooltip/utils/positionTooltip.d.ts +0 -5
- package/dist/Typography/Typography.d.ts +0 -19
- package/dist/Typography/__tests__/Typography.spec.d.ts +0 -1
- package/dist/Typography/constants.d.ts +0 -8
- package/dist/Typography/index.d.ts +0 -1
- package/dist/Typography/utils.d.ts +0 -9
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +0 -1
- package/dist/VisuallyHidden/index.d.ts +0 -1
- package/dist/helpers/__tests__/deprecations.spec.d.ts +0 -1
- package/dist/helpers/context.d.ts +0 -7
- package/dist/helpers/deprecations.d.ts +0 -2
- package/dist/helpers/getDefaultLocale.d.ts +0 -5
- package/dist/helpers/getFocusableNodes.d.ts +0 -10
- package/dist/helpers/handleResponsiveValues.d.ts +0 -17
- package/dist/helpers/keyboardKeys.d.ts +0 -17
- package/dist/helpers/objects.d.ts +0 -8
- package/dist/helpers/setOpacity.d.ts +0 -1
- package/dist/helpers/setTabIndexOnFirstItem.d.ts +0 -1
- package/dist/helpers/strings.d.ts +0 -1
- package/dist/helpers/theme.d.ts +0 -2
- package/dist/helpers/useElementOnScreen.d.ts +0 -6
- package/dist/helpers/useId.d.ts +0 -6
- package/dist/helpers/useIntersection.d.ts +0 -6
- package/dist/helpers/useLockScroll.d.ts +0 -7
- package/dist/helpers/usePrevious.d.ts +0 -6
- package/dist/helpers/useResizeObserver.d.ts +0 -6
- package/dist/hooks/__tests__/useId.spec.d.ts +0 -1
- package/dist/hooks/useComposeRefs.d.ts +0 -29
- package/dist/hooks/useControllableState.d.ts +0 -19
- package/dist/hooks/useDateFormatter.d.ts +0 -28
- package/dist/hooks/useElementOnScreen.d.ts +0 -1
- package/dist/hooks/useId.d.ts +0 -1
- package/dist/hooks/useIntersection.d.ts +0 -7
- package/dist/hooks/useLockScroll.d.ts +0 -2
- package/dist/hooks/usePrevious.d.ts +0 -1
- package/dist/hooks/useResizeObserver.d.ts +0 -2
- package/dist/index.d.ts +0 -66
- package/dist/themes/__tests__/extendTheme.spec.d.ts +0 -1
- package/dist/themes/colors.d.ts +0 -54
- package/dist/themes/common-theme.d.ts +0 -19
- package/dist/themes/darkTheme/dark-colors.d.ts +0 -4
- package/dist/themes/darkTheme/dark-shadows.d.ts +0 -4
- package/dist/themes/darkTheme/index.d.ts +0 -2
- package/dist/themes/extendTheme.d.ts +0 -2
- package/dist/themes/index.d.ts +0 -10
- package/dist/themes/lightTheme/index.d.ts +0 -2
- package/dist/themes/lightTheme/light-colors.d.ts +0 -4
- package/dist/themes/lightTheme/light-shadows.d.ts +0 -4
- package/dist/themes/sizes.d.ts +0 -21
- package/dist/themes/utils.d.ts +0 -12
- package/dist/types.d.ts +0 -3
- package/dist/v2/Breadcrumbs/Breadcrumbs.d.ts +0 -8
- package/dist/v2/Breadcrumbs/Crumb.d.ts +0 -8
- package/dist/v2/Breadcrumbs/CrumbLink.d.ts +0 -5
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.d.ts +0 -11
- package/dist/v2/Breadcrumbs/Divider.d.ts +0 -4
- package/dist/v2/Breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +0 -1
- package/dist/v2/Breadcrumbs/index.d.ts +0 -4
- package/dist/v2/Link/Link.d.ts +0 -11
- package/dist/v2/Link/index.d.ts +0 -1
- package/dist/v2/LinkButton/LinkButton.d.ts +0 -61
- package/dist/v2/LinkButton/index.d.ts +0 -1
- package/dist/v2/MainNav/MainNav.d.ts +0 -5
- package/dist/v2/MainNav/MainNavContext.d.ts +0 -2
- package/dist/v2/MainNav/NavBrand.d.ts +0 -9
- package/dist/v2/MainNav/NavCondense.d.ts +0 -5
- package/dist/v2/MainNav/NavFooter.d.ts +0 -5
- package/dist/v2/MainNav/NavLink.d.ts +0 -9
- package/dist/v2/MainNav/NavSection.d.ts +0 -9
- package/dist/v2/MainNav/NavSections.d.ts +0 -8
- package/dist/v2/MainNav/NavUser.d.ts +0 -8
- package/dist/v2/MainNav/index.d.ts +0 -8
- package/dist/v2/Pagination/Pagination.d.ts +0 -8
- package/dist/v2/Pagination/PaginationContext.d.ts +0 -6
- package/dist/v2/Pagination/components.d.ts +0 -16
- package/dist/v2/Pagination/index.d.ts +0 -2
- package/dist/v2/SimpleMenu/Menu.d.ts +0 -56
- package/dist/v2/SimpleMenu/SimpleMenu.d.ts +0 -62
- package/dist/v2/SimpleMenu/__tests__/Menu.spec.d.ts +0 -1
- package/dist/v2/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
- package/dist/v2/SimpleMenu/index.d.ts +0 -1
- package/dist/v2/SubNav/SubNav.d.ts +0 -6
- package/dist/v2/SubNav/SubNavHeader.d.ts +0 -13
- package/dist/v2/SubNav/SubNavLink.d.ts +0 -9
- package/dist/v2/SubNav/SubNavLinkSection.d.ts +0 -7
- package/dist/v2/SubNav/SubNavSection.d.ts +0 -9
- package/dist/v2/SubNav/SubNavSectionLabel.d.ts +0 -9
- package/dist/v2/SubNav/SubNavSections.d.ts +0 -8
- package/dist/v2/SubNav/index.d.ts +0 -6
- package/dist/v2/index.d.ts +0 -7
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/Dialog/index.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import * as DismissibleLayerPrimitive from '@radix-ui/react-dismissable-layer';
|
|
2
|
-
export declare const DismissibleLayer: import("react").ForwardRefExoticComponent<DismissibleLayerPrimitive.DismissableLayerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
export type DismissibleLayerProps = DismissibleLayerPrimitive.DismissableLayerProps;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '../Box';
|
|
2
|
-
export interface DividerProps extends Omit<BoxProps<'hr'>, 'as' | 'background'> {
|
|
3
|
-
/**
|
|
4
|
-
* @preserve
|
|
5
|
-
* @deprecated use `margin` style props instead
|
|
6
|
-
*/
|
|
7
|
-
unsetMargin?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Divider: ({ unsetMargin, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Divider/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Divider';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FlexProps } from '../Flex';
|
|
2
|
-
export interface EmptyStateLayoutProps extends Pick<FlexProps, 'hasRadius' | 'shadow'> {
|
|
3
|
-
action?: React.ReactNode;
|
|
4
|
-
content: string;
|
|
5
|
-
icon: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const EmptyStateLayout: ({ icon, content, action, hasRadius, shadow, }: EmptyStateLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './EmptyStateLayout';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Illo: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/Field/Field.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { BoxProps } from '../Box';
|
|
3
|
-
export interface FieldProps extends BoxProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
error?: string | boolean;
|
|
6
|
-
hint?: ReactNode;
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
/**
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
required?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const Field: import("react").ForwardRefExoticComponent<FieldProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { FlexProps } from '../Flex';
|
|
3
|
-
export interface FieldActionProps extends FlexProps<'button'> {
|
|
4
|
-
label: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const FieldAction: import("react").ForwardRefExoticComponent<FieldActionProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface FieldContextValue {
|
|
3
|
-
error?: string | boolean;
|
|
4
|
-
hint?: ReactNode;
|
|
5
|
-
name?: string;
|
|
6
|
-
id: string;
|
|
7
|
-
required: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const FieldContext: import("react").Context<FieldContextValue>;
|
|
10
|
-
export declare const useField: () => FieldContextValue;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FieldError: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FieldHint: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ChangeEventHandler } from 'react';
|
|
2
|
-
import { DefaultTheme } from 'styled-components';
|
|
3
|
-
export interface FieldInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
4
|
-
endAction?: React.ReactNode;
|
|
5
|
-
startAction?: React.ReactNode;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
size?: keyof DefaultTheme['sizes']['input'];
|
|
8
|
-
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
9
|
-
}
|
|
10
|
-
export declare const FieldInput: import("react").ForwardRefExoticComponent<FieldInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
-
export declare const InputWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("styled-components").CSSProperties, "cursor" | "display" | "pointerEvents" | "position" | "textAlign" | "textTransform" | "transform" | "zIndex" | "animation" | "overflow" | "transition"> & {
|
|
12
|
-
_hover?: ((theme: DefaultTheme) => string) | undefined;
|
|
13
|
-
background?: import("../types").DefaultThemeOrCSSProp<"colors", "background">;
|
|
14
|
-
basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
15
|
-
borderColor?: keyof import("../themes/colors").Colors | undefined;
|
|
16
|
-
color?: keyof import("../themes/colors").Colors | undefined;
|
|
17
|
-
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
18
|
-
fontSize?: import("../types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
|
|
19
|
-
grow?: import("csstype").Property.FlexGrow | undefined;
|
|
20
|
-
hasRadius?: boolean | undefined;
|
|
21
|
-
hiddenS?: boolean | undefined;
|
|
22
|
-
hiddenXS?: boolean | undefined;
|
|
23
|
-
padding?: import("../helpers/handleResponsiveValues").ResponsiveValue<"padding">;
|
|
24
|
-
paddingBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
|
|
25
|
-
paddingLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
|
|
26
|
-
paddingRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
|
|
27
|
-
paddingTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
|
|
28
|
-
marginLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
|
|
29
|
-
marginBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
|
|
30
|
-
marginRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
|
|
31
|
-
marginTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
|
|
32
|
-
shadow?: keyof import("../themes/colors").Shadows | undefined;
|
|
33
|
-
shrink?: import("csstype").Property.FlexShrink | undefined;
|
|
34
|
-
lineHeight?: import("../types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
|
|
35
|
-
width?: import("../types").DefaultThemeOrCSSProp<"spaces", "width">;
|
|
36
|
-
minWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
|
|
37
|
-
maxWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
|
|
38
|
-
height?: import("../types").DefaultThemeOrCSSProp<"spaces", "height">;
|
|
39
|
-
minHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
|
|
40
|
-
maxHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
|
|
41
|
-
top?: import("../types").DefaultThemeOrCSSProp<"spaces", "top">;
|
|
42
|
-
left?: import("../types").DefaultThemeOrCSSProp<"spaces", "left">;
|
|
43
|
-
bottom?: import("../types").DefaultThemeOrCSSProp<"spaces", "bottom">;
|
|
44
|
-
right?: import("../types").DefaultThemeOrCSSProp<"spaces", "right">;
|
|
45
|
-
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
46
|
-
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
47
|
-
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
48
|
-
children?: import("react").ReactNode;
|
|
49
|
-
as?: string | import("react").ComponentType<any> | undefined;
|
|
50
|
-
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
51
|
-
} & {
|
|
52
|
-
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
53
|
-
direction?: import("csstype").Property.FlexDirection | undefined;
|
|
54
|
-
gap?: any;
|
|
55
|
-
inline?: boolean | undefined;
|
|
56
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
57
|
-
wrap?: import("csstype").Property.FlexWrap | undefined;
|
|
58
|
-
} & {
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
hasError: boolean;
|
|
61
|
-
}, never>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TypographyProps } from '../Typography';
|
|
3
|
-
export interface FieldLabelProps extends TypographyProps<'label'> {
|
|
4
|
-
action?: ReactNode;
|
|
5
|
-
/**
|
|
6
|
-
* @preserve
|
|
7
|
-
* @deprecated "required" should be given to Field component to share the value across components
|
|
8
|
-
*/
|
|
9
|
-
required?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const FieldLabel: import("react").ForwardRefExoticComponent<FieldLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/Field/index.d.ts
DELETED
package/dist/Flex/Flex.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'styled-components';
|
|
2
|
-
import { BoxProps } from '../Box';
|
|
3
|
-
import { ResponsiveValue } from '../helpers/handleResponsiveValues';
|
|
4
|
-
export type FlexProps<TElement extends keyof JSX.IntrinsicElements = 'div'> = BoxProps<TElement> & {
|
|
5
|
-
alignItems?: CSSProperties['alignItems'];
|
|
6
|
-
direction?: CSSProperties['flexDirection'];
|
|
7
|
-
/**
|
|
8
|
-
* Supports responsive values
|
|
9
|
-
*/
|
|
10
|
-
gap?: ResponsiveValue;
|
|
11
|
-
inline?: boolean;
|
|
12
|
-
justifyContent?: CSSProperties['justifyContent'];
|
|
13
|
-
wrap?: CSSProperties['flexWrap'];
|
|
14
|
-
};
|
|
15
|
-
export declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, FlexProps<"div">, never>;
|
package/dist/Flex/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Flex';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export interface FocusTrapProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* A callback called on escape key. Useful to deactivate the focus trap.
|
|
5
|
-
*/
|
|
6
|
-
onEscape?: () => void;
|
|
7
|
-
/**
|
|
8
|
-
* A boolean value to define whether the focus should be restored or not.
|
|
9
|
-
*/
|
|
10
|
-
restoreFocus?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const FocusTrap: ({ onEscape, restoreFocus, ...props }: FocusTrapProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FocusTrap';
|
package/dist/Grid/Grid.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '../Box';
|
|
2
|
-
import { ResponsiveValue } from '../helpers/handleResponsiveValues';
|
|
3
|
-
export interface GridProps extends BoxProps {
|
|
4
|
-
gridCols?: number;
|
|
5
|
-
gap?: ResponsiveValue;
|
|
6
|
-
}
|
|
7
|
-
export declare const Grid: (props: GridProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Grid/GridItem.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '../Box';
|
|
2
|
-
export interface GridItemProps extends BoxProps {
|
|
3
|
-
col: number;
|
|
4
|
-
s?: number;
|
|
5
|
-
xs?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const GridItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("styled-components").CSSProperties, "cursor" | "display" | "pointerEvents" | "position" | "textAlign" | "textTransform" | "transform" | "zIndex" | "animation" | "overflow" | "transition"> & {
|
|
8
|
-
_hover?: ((theme: import("styled-components").DefaultTheme) => string) | undefined;
|
|
9
|
-
background?: import("../types").DefaultThemeOrCSSProp<"colors", "background">;
|
|
10
|
-
basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
11
|
-
borderColor?: keyof import("../themes/colors").Colors | undefined;
|
|
12
|
-
color?: keyof import("../themes/colors").Colors | undefined;
|
|
13
|
-
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
14
|
-
fontSize?: import("../types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
|
|
15
|
-
grow?: import("csstype").Property.FlexGrow | undefined;
|
|
16
|
-
hasRadius?: boolean | undefined;
|
|
17
|
-
hiddenS?: boolean | undefined;
|
|
18
|
-
hiddenXS?: boolean | undefined;
|
|
19
|
-
padding?: import("../helpers/handleResponsiveValues").ResponsiveValue<"padding">;
|
|
20
|
-
paddingBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
|
|
21
|
-
paddingLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
|
|
22
|
-
paddingRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
|
|
23
|
-
paddingTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
|
|
24
|
-
marginLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
|
|
25
|
-
marginBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
|
|
26
|
-
marginRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
|
|
27
|
-
marginTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
|
|
28
|
-
shadow?: keyof import("../themes/colors").Shadows | undefined;
|
|
29
|
-
shrink?: import("csstype").Property.FlexShrink | undefined;
|
|
30
|
-
lineHeight?: import("../types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
|
|
31
|
-
width?: import("../types").DefaultThemeOrCSSProp<"spaces", "width">;
|
|
32
|
-
minWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
|
|
33
|
-
maxWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
|
|
34
|
-
height?: import("../types").DefaultThemeOrCSSProp<"spaces", "height">;
|
|
35
|
-
minHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
|
|
36
|
-
maxHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
|
|
37
|
-
top?: import("../types").DefaultThemeOrCSSProp<"spaces", "top">;
|
|
38
|
-
left?: import("../types").DefaultThemeOrCSSProp<"spaces", "left">;
|
|
39
|
-
bottom?: import("../types").DefaultThemeOrCSSProp<"spaces", "bottom">;
|
|
40
|
-
right?: import("../types").DefaultThemeOrCSSProp<"spaces", "right">;
|
|
41
|
-
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
42
|
-
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
43
|
-
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
44
|
-
children?: import("react").ReactNode;
|
|
45
|
-
as?: string | import("react").ComponentType<any> | undefined;
|
|
46
|
-
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
47
|
-
} & GridItemProps, never>;
|
package/dist/Grid/index.d.ts
DELETED
package/dist/Icon/Icon.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DefaultTheme } from 'styled-components';
|
|
3
|
-
import { BoxProps } from '../Box';
|
|
4
|
-
export interface IconProps extends BoxProps {
|
|
5
|
-
colors?: (theme: DefaultTheme) => string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
|
package/dist/Icon/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Icon';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseButtonProps } from '../BaseButton';
|
|
3
|
-
declare const SIZES: readonly ["S", "M", "L"];
|
|
4
|
-
declare const VARIANTS: readonly ["tertiary", "secondary"];
|
|
5
|
-
type IconButtonSizes = (typeof SIZES)[number];
|
|
6
|
-
type Variant = (typeof VARIANTS)[number];
|
|
7
|
-
interface SharedIconButtonProps extends BaseButtonProps {
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @preserve
|
|
11
|
-
* @deprecated use `borderWidth={0}` instead
|
|
12
|
-
*/
|
|
13
|
-
noBorder?: boolean;
|
|
14
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
15
|
-
size?: IconButtonSizes;
|
|
16
|
-
variant?: Variant;
|
|
17
|
-
}
|
|
18
|
-
interface LabelOnlyProps extends SharedIconButtonProps {
|
|
19
|
-
label: string;
|
|
20
|
-
['aria-label']?: never;
|
|
21
|
-
}
|
|
22
|
-
interface AriaLabelOnlyProps extends SharedIconButtonProps {
|
|
23
|
-
label?: never;
|
|
24
|
-
['aria-label']: string;
|
|
25
|
-
}
|
|
26
|
-
interface IconOnlyProps {
|
|
27
|
-
icon: React.ReactNode;
|
|
28
|
-
children?: never;
|
|
29
|
-
}
|
|
30
|
-
interface ChildrenOnlyProps {
|
|
31
|
-
icon?: never;
|
|
32
|
-
children: React.ReactNode;
|
|
33
|
-
}
|
|
34
|
-
type ChildrenWithLabel = LabelOnlyProps & ChildrenOnlyProps;
|
|
35
|
-
type ChildrenWithAriaLabel = AriaLabelOnlyProps & ChildrenOnlyProps;
|
|
36
|
-
type IconWithLabel = LabelOnlyProps & IconOnlyProps;
|
|
37
|
-
type IconWithAriaLabel = AriaLabelOnlyProps & IconOnlyProps;
|
|
38
|
-
export type IconButtonProps = ChildrenWithLabel | ChildrenWithAriaLabel | IconWithLabel | IconWithAriaLabel;
|
|
39
|
-
export declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
40
|
-
export declare const IconButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Flex").FlexProps<"div">, never>;
|
|
41
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './IconButton';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FieldLabelProps, FieldProps } from '../Field';
|
|
3
|
-
import { FlexProps } from '../Flex';
|
|
4
|
-
interface JSONInputProps extends Omit<FlexProps, 'onChange'>, Pick<FieldProps, 'hint' | 'error' | 'required'> {
|
|
5
|
-
label?: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
labelAction?: FieldLabelProps['action'];
|
|
9
|
-
onChange?: (value: string) => void;
|
|
10
|
-
}
|
|
11
|
-
export interface JSONInputRef extends Partial<HTMLElement> {
|
|
12
|
-
focus(): void;
|
|
13
|
-
}
|
|
14
|
-
export declare const JSONInput: React.ForwardRefExoticComponent<JSONInputProps & React.RefAttributes<JSONInputRef>>;
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './JSONInput';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StateField, Range } from '@codemirror/state';
|
|
2
|
-
import { Decoration } from '@codemirror/view';
|
|
3
|
-
declare const addMarks: import("@codemirror/state").StateEffectType<Range<Decoration>[]>;
|
|
4
|
-
declare const filterMarks: import("@codemirror/state").StateEffectType<(from: number, to: number, value: Decoration) => boolean>;
|
|
5
|
-
declare const lineHighlightMark: Decoration;
|
|
6
|
-
declare const markField: StateField<import("@codemirror/view").DecorationSet>;
|
|
7
|
-
export { addMarks, filterMarks, lineHighlightMark, markField };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '../Box';
|
|
2
|
-
export interface KeyboardNavigableProps extends BoxProps {
|
|
3
|
-
tagName?: string;
|
|
4
|
-
attributeName?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const KeyboardNavigable: ({ tagName, attributeName, ...props }: KeyboardNavigableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './KeyboardNavigable';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GridLayout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TypographyProps } from '../Typography';
|
|
3
|
-
interface BaseHeaderLayoutProps extends TypographyProps {
|
|
4
|
-
navigationAction?: React.ReactNode;
|
|
5
|
-
primaryAction?: React.ReactNode;
|
|
6
|
-
secondaryAction?: React.ReactNode;
|
|
7
|
-
subtitle?: React.ReactNode;
|
|
8
|
-
sticky?: boolean;
|
|
9
|
-
width?: number;
|
|
10
|
-
}
|
|
11
|
-
interface HeaderLayoutProps extends BaseHeaderLayoutProps {
|
|
12
|
-
}
|
|
13
|
-
export declare const HeaderLayout: {
|
|
14
|
-
(props: HeaderLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const BaseHeaderLayout: React.ForwardRefExoticComponent<BaseHeaderLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export {};
|
package/dist/Layout/Layout.d.ts
DELETED
package/dist/Layout/index.d.ts
DELETED
package/dist/Link/Link.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NavLinkProps } from 'react-router-dom';
|
|
3
|
-
interface SharedLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
startIcon?: React.ReactNode;
|
|
6
|
-
endIcon?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
interface ToLinkProps extends SharedLinkProps {
|
|
9
|
-
to: NavLinkProps['to'];
|
|
10
|
-
href?: never;
|
|
11
|
-
}
|
|
12
|
-
interface HrefLinkProps extends SharedLinkProps {
|
|
13
|
-
href: string;
|
|
14
|
-
to?: never;
|
|
15
|
-
}
|
|
16
|
-
type LinkProps = ToLinkProps | HrefLinkProps;
|
|
17
|
-
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
18
|
-
export { Link };
|
|
19
|
-
export type { LinkProps, SharedLinkProps, ToLinkProps, HrefLinkProps };
|
package/dist/Link/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Link';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NavLinkProps } from 'react-router-dom';
|
|
3
|
-
import { BaseButtonProps } from '../BaseButton';
|
|
4
|
-
import { VARIANTS, BUTTON_SIZES } from '../Button/constants';
|
|
5
|
-
interface SharedLinkButtonProps extends BaseButtonProps {
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
endIcon?: React.ReactNode;
|
|
8
|
-
size?: (typeof BUTTON_SIZES)[number];
|
|
9
|
-
startIcon?: React.ReactNode;
|
|
10
|
-
variant?: (typeof VARIANTS)[number];
|
|
11
|
-
}
|
|
12
|
-
interface ToLinkButtonProps extends SharedLinkButtonProps {
|
|
13
|
-
to: NavLinkProps['to'];
|
|
14
|
-
href?: never;
|
|
15
|
-
}
|
|
16
|
-
interface HrefLinkButtonProps extends SharedLinkButtonProps {
|
|
17
|
-
href: string;
|
|
18
|
-
to?: never;
|
|
19
|
-
}
|
|
20
|
-
type LinkButtonProps = ToLinkButtonProps | HrefLinkButtonProps;
|
|
21
|
-
declare const LinkButton: React.ForwardRefExoticComponent<LinkButtonProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
22
|
-
export { LinkButton };
|
|
23
|
-
export type { LinkButtonProps, SharedLinkButtonProps, ToLinkButtonProps, HrefLinkButtonProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LinkButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LiveRegions: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/Loader/Loader.d.ts
DELETED
package/dist/Loader/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Loader';
|
package/dist/Main/Main.d.ts
DELETED
package/dist/Main/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface NavBrandProps {
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
title: string;
|
|
5
|
-
to?: string;
|
|
6
|
-
workplace: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const NavBrand: ({ workplace, title, icon, to }: NavBrandProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LinkProps } from 'react-router-dom';
|
|
3
|
-
export interface NavLinkProps extends LinkProps {
|
|
4
|
-
badgeAriaLabel: string;
|
|
5
|
-
badgeContent: string | number;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
icon: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const NavLink: ({ children, icon, badgeContent, badgeAriaLabel, ...props }: NavLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FlexProps } from '../Flex';
|
|
2
|
-
export interface NavSectionProps extends FlexProps {
|
|
3
|
-
label: string;
|
|
4
|
-
horizontal?: boolean;
|
|
5
|
-
/**
|
|
6
|
-
* @preserve
|
|
7
|
-
* @deprecated Use gap instead;
|
|
8
|
-
*/
|
|
9
|
-
spacing?: FlexProps['gap'];
|
|
10
|
-
}
|
|
11
|
-
export declare const NavSection: ({ label, children, spacing, horizontal, ...props }: NavSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FlexProps } from '../Flex';
|
|
2
|
-
export interface NavSectionsProps extends FlexProps {
|
|
3
|
-
horizontal?: boolean;
|
|
4
|
-
/**
|
|
5
|
-
* @preserve
|
|
6
|
-
* @deprecated Use gap instead;
|
|
7
|
-
*/
|
|
8
|
-
spacing?: FlexProps['gap'];
|
|
9
|
-
}
|
|
10
|
-
export declare const NavSections: ({ children, spacing, horizontal, ...props }: NavSectionsProps) => import("react/jsx-runtime").JSX.Element;
|