@cerebruminc/cerebellum 11.2.0 → 11.2.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/lib/cjs/{CheckboxGroup-0b818a73.js → CheckboxGroup-61c52880.js} +2 -2
- package/lib/cjs/CheckboxGroup-61c52880.js.map +1 -0
- package/lib/cjs/CheckboxGroup.cjs +1 -1
- package/lib/cjs/Form.cjs +3 -3
- package/lib/cjs/{FormikContainer-22c468a8.js → FormikContainer-b5e70eec.js} +3 -3
- package/lib/cjs/{FormikContainer-22c468a8.js.map → FormikContainer-b5e70eec.js.map} +1 -1
- package/lib/cjs/{IconSwitcher-9156a7d0.js → IconSwitcher-a79777ca.js} +4 -1
- package/lib/cjs/IconSwitcher-a79777ca.js.map +1 -0
- package/lib/cjs/IconSwitcher.cjs +1 -1
- package/lib/cjs/{ToggleGroup-528f2152.js → ToggleGroup-9d2d1f75.js} +2 -2
- package/lib/cjs/ToggleGroup-9d2d1f75.js.map +1 -0
- package/lib/cjs/ToggleGroup.cjs +1 -1
- package/lib/cjs/index.cjs +4 -4
- package/lib/esm/{CheckboxGroup-c82d22bd.js → CheckboxGroup-05dc484c.js} +2 -2
- package/lib/esm/CheckboxGroup-05dc484c.js.map +1 -0
- package/lib/esm/CheckboxGroup.js +1 -1
- package/lib/esm/Form.js +3 -3
- package/lib/esm/{FormikContainer-b1005e89.js → FormikContainer-b144e3b9.js} +3 -3
- package/lib/esm/{FormikContainer-b1005e89.js.map → FormikContainer-b144e3b9.js.map} +1 -1
- package/lib/esm/{IconSwitcher-74f97895.js → IconSwitcher-8cff450c.js} +4 -1
- package/lib/esm/IconSwitcher-8cff450c.js.map +1 -0
- package/lib/esm/IconSwitcher.js +1 -1
- package/lib/esm/{ToggleGroup-b78d47b9.js → ToggleGroup-87825bf3.js} +3 -3
- package/lib/esm/ToggleGroup-87825bf3.js.map +1 -0
- package/lib/esm/ToggleGroup.js +1 -1
- package/lib/esm/index.js +4 -4
- package/lib/types/src/SharedStorybook/ComponentLabel.d.ts +4 -4
- package/lib/types/src/SharedStorybook/DocStyles.d.ts +3 -3
- package/lib/types/src/assets/CerebrumLogo.d.ts +1 -1
- package/lib/types/src/assets/EmptySearchIcon.d.ts +1 -1
- package/lib/types/src/components/AddressInput/AddressInputErrorBoundary.d.ts +1 -1
- package/lib/types/src/components/Button/ButtonComponentStyles.d.ts +2 -2
- package/lib/types/src/components/Button/types.d.ts +2 -2
- package/lib/types/src/components/CheckboxGroup/types.d.ts +2 -2
- package/lib/types/src/components/CheckboxItem/types.d.ts +2 -2
- package/lib/types/src/components/ConfirmModal/ConfirmModalStyles.d.ts +2 -2
- package/lib/types/src/components/ConfirmModal/types.d.ts +3 -3
- package/lib/types/src/components/ConfirmationModal/Button/Button.d.ts +2 -2
- package/lib/types/src/components/CreditCardInput/types.d.ts +2 -2
- package/lib/types/src/components/CurrencyInput/types.d.ts +2 -2
- package/lib/types/src/components/DatePicker/DatePickerStyles.d.ts +3 -3
- package/lib/types/src/components/DatePicker/types.d.ts +2 -2
- package/lib/types/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenuStyles.d.ts +2 -2
- package/lib/types/src/components/DescriptiveSwitchMenu/mocks/options.d.ts +4 -4
- package/lib/types/src/components/DescriptiveSwitchMenu/types.d.ts +2 -2
- package/lib/types/src/components/DigitalInput/types.d.ts +2 -2
- package/lib/types/src/components/Drawer/mocks.d.ts +5 -5
- package/lib/types/src/components/Drawer/types.d.ts +4 -4
- package/lib/types/src/components/EmailInput/types.d.ts +2 -2
- package/lib/types/src/components/Footer/FooterStyles.d.ts +1 -1
- package/lib/types/src/components/Form/Form.d.ts +1 -1
- package/lib/types/src/components/Form/FormLoader.d.ts +1 -1
- package/lib/types/src/components/Form/FormStyles.d.ts +7 -7
- package/lib/types/src/components/Form/FormikContainer.d.ts +1 -1
- package/lib/types/src/components/Form/mocks/fields.d.ts +1 -1
- package/lib/types/src/components/Form/types.d.ts +2 -2
- package/lib/types/src/components/IconTile/IconTileStyles.d.ts +1 -1
- package/lib/types/src/components/ImagePicker/ImagePickerStyles.d.ts +1 -1
- package/lib/types/src/components/ImagePicker/types.d.ts +2 -2
- package/lib/types/src/components/InlineInput/types.d.ts +1 -1
- package/lib/types/src/components/Input/types.d.ts +2 -2
- package/lib/types/src/components/InputButton/InputButtonStyles.d.ts +2 -2
- package/lib/types/src/components/InputButton/types.d.ts +1 -1
- package/lib/types/src/components/InteriorSidebar/types.d.ts +2 -2
- package/lib/types/src/components/LabelledIconGroup/LabelledIconGroupStyles.d.ts +1 -1
- package/lib/types/src/components/PhoneInput/types.d.ts +2 -2
- package/lib/types/src/components/RJSForm/fields/ArrayField.d.ts +1 -1
- package/lib/types/src/components/RadioGroup/types.d.ts +2 -2
- package/lib/types/src/components/RadioItem/RadioItemStyles.d.ts +1 -1
- package/lib/types/src/components/RadioItem/types.d.ts +2 -2
- package/lib/types/src/components/SearchMenu/SearchMenuStyles.d.ts +2 -2
- package/lib/types/src/components/SearchMenu/types.d.ts +2 -2
- package/lib/types/src/components/Select/SelectStyles.d.ts +1 -1
- package/lib/types/src/components/Select/types.d.ts +2 -2
- package/lib/types/src/components/SnackContainer/storybook/MultipleToastsExample.d.ts +1 -1
- package/lib/types/src/components/SnackContainer/storybook/SnackDialogExample.d.ts +1 -1
- package/lib/types/src/components/SnackContainer/storybook/SnackbarExample.d.ts +1 -1
- package/lib/types/src/components/SnackContainer/storybook/ToastExample.d.ts +1 -1
- package/lib/types/src/components/SsnInput/types.d.ts +2 -2
- package/lib/types/src/components/Stepper/StepperStyles.d.ts +3 -3
- package/lib/types/src/components/Stepper/showFooterText.d.ts +1 -1
- package/lib/types/src/components/TabModal/examples/Stepper.d.ts +1 -1
- package/lib/types/src/components/TabModal/mocks.d.ts +1 -1
- package/lib/types/src/components/TabModal/types.d.ts +3 -3
- package/lib/types/src/components/Table/LoadingRows.d.ts +1 -1
- package/lib/types/src/components/Table/TableStyles.d.ts +8 -8
- package/lib/types/src/components/Table/examples/ClickableCells.d.ts +1 -1
- package/lib/types/src/components/Table/examples/ExternalPagination.d.ts +1 -1
- package/lib/types/src/components/Table/helpers.d.ts +2 -2
- package/lib/types/src/components/Table/mocks/MockStyles.d.ts +2 -2
- package/lib/types/src/components/Table/mocks/mockColumns.d.ts +1 -1
- package/lib/types/src/components/Table/stories/templates.d.ts +2 -2
- package/lib/types/src/components/Table/types.d.ts +5 -4
- package/lib/types/src/components/TextLink/helpers.d.ts +2 -3
- package/lib/types/src/components/TextLink/types.d.ts +2 -2
- package/lib/types/src/components/Textarea/TextareaStyles.d.ts +1 -1
- package/lib/types/src/components/Textarea/types.d.ts +2 -2
- package/lib/types/src/components/ToggleGroup/types.d.ts +2 -2
- package/lib/types/src/components/ToggleItem/types.d.ts +2 -2
- package/lib/types/src/components/Tooltip/Tooltip.d.ts +2 -2
- package/lib/types/src/components/Tooltip/TooltipStyles.d.ts +1 -1
- package/lib/types/src/components/TooltipOptions/TooltipOptionsStyles.d.ts +2 -2
- package/lib/types/src/components/TooltipOptions/mockOptions.d.ts +3 -3
- package/lib/types/src/components/TooltipOptions/types.d.ts +3 -3
- package/lib/types/src/components/UploadDropzone/UploadDropzoneStyles.d.ts +1 -1
- package/lib/types/src/components/UploadDropzone/helpers.d.ts +1 -1
- package/lib/types/src/components/UserCard/UserCardModal.d.ts +1 -1
- package/lib/types/src/components/UserCard/UserCardStyles.d.ts +5 -5
- package/lib/types/src/components/UserInformationCard/UserInformationCardStyles.d.ts +3 -3
- package/lib/types/src/components/ZipCodeInput/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/AddMenu/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/CountyDropdown/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/DescriptiveDropdownInput/types.d.ts +1 -1
- package/lib/types/src/configuredComponents/DropdownButton/DropdownButtonStyles.d.ts +1 -1
- package/lib/types/src/configuredComponents/DropdownInput/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/IconSwitcher/IconSwitcherStyles.d.ts +2 -2
- package/lib/types/src/configuredComponents/InlineDropdown/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/MoreMenuButton/RowExample.d.ts +1 -1
- package/lib/types/src/configuredComponents/StateDropdown/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/StatusDropdown/types.d.ts +2 -2
- package/lib/types/src/configuredComponents/TableFiltersPanel/TableFiltersPanel.d.ts +1 -1
- package/lib/types/src/layout/NavLayout/NavLayout.d.ts +1 -1
- package/lib/types/src/pages/NotFound/NotFoundStyles.d.ts +2 -2
- package/lib/types/src/sharedHelpers/showLabel.d.ts +3 -3
- package/lib/types/src/sharedMocks/options.d.ts +6 -6
- package/lib/types/src/sharedStyle/Inputs.d.ts +2 -2
- package/lib/types/src/sharedStyle/Labels.d.ts +1 -1
- package/lib/types/src/sharedStyle/Switches.d.ts +3 -3
- package/lib/types/src/sharedTypes/types.d.ts +3 -3
- package/package.json +4 -4
- package/lib/cjs/CheckboxGroup-0b818a73.js.map +0 -1
- package/lib/cjs/IconSwitcher-9156a7d0.js.map +0 -1
- package/lib/cjs/ToggleGroup-528f2152.js.map +0 -1
- package/lib/esm/CheckboxGroup-c82d22bd.js.map +0 -1
- package/lib/esm/IconSwitcher-74f97895.js.map +0 -1
- package/lib/esm/ToggleGroup-b78d47b9.js.map +0 -1
|
@@ -13,7 +13,7 @@ export declare const Options: import("styled-components").IStyledComponent<"web"
|
|
|
13
13
|
export declare const SearchInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>>;
|
|
14
14
|
export declare const SearchWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
15
15
|
export declare const SearchIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
16
|
-
export declare const ClearIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
16
|
+
export declare const ClearIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
17
17
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
18
18
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, keyof import("react").Component<any, {}, any>>;
|
|
19
19
|
export declare const DeselectWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DeselectWrapperProps>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { OptionType, RenderOptionLabelProps } from "../../sharedTypes/types";
|
|
3
3
|
export interface SelectType {
|
|
4
4
|
/** The id of the default option */
|
|
@@ -46,7 +46,7 @@ export interface SelectType {
|
|
|
46
46
|
/** Search will include the middle of words */
|
|
47
47
|
innerSearch?: boolean;
|
|
48
48
|
/** Text that will always appear inside of the select button */
|
|
49
|
-
label?:
|
|
49
|
+
label?: React.ReactNode;
|
|
50
50
|
/** The field in `options` to use for the option text */
|
|
51
51
|
labelField?: string;
|
|
52
52
|
/** Label color */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MultipleToastsExample: () => JSX.Element;
|
|
1
|
+
export declare const MultipleToastsExample: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SnackbarExample: () => JSX.Element;
|
|
1
|
+
export declare const SnackbarExample: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CaretPositionType } from "../../sharedTypes/types";
|
|
2
3
|
import { InlineInputType } from "../InlineInput";
|
|
3
|
-
import { FC } from "react";
|
|
4
4
|
export interface InlineSsnInputType extends Omit<InlineInputType, "LeadingIcon" | "TrailingIcon" | "trailingIconColor" | "trailingIconFunction" | "numberArrows" | "step" | "trailingText" | "trailingTextColor" | "onChange" | "onValueChange" | "value" | "type" | "leadingIconColor"> {
|
|
5
5
|
/** Color of the SSN icon */
|
|
6
6
|
iconColor?: string;
|
|
@@ -27,7 +27,7 @@ export interface SsnInputType extends Omit<InlineSsnInputType, "trailingTextColo
|
|
|
27
27
|
/** The helper text color. Also used for trailing text. THEME PROP: default is colors.COOL_GREY_60 */
|
|
28
28
|
helperTextColor?: string;
|
|
29
29
|
/** A label for your input. Not required, but strongly recommended. */
|
|
30
|
-
inputLabel?:
|
|
30
|
+
inputLabel?: React.ReactNode;
|
|
31
31
|
/** The label color. THEME PROPS: default is colors.COOL_GREY_80 */
|
|
32
32
|
labelColor?: string;
|
|
33
33
|
/** A message for when the input fails validation. Only displays if `showValidationMessage: true` */
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { ActiveRadioProps, BodyProps, CheckBoxProps, FooterProps, FooterImageProps, HeaderProps, StepperBaseProps, StepProps, StepTextProps, SubTitleProps, TitleProps } from "./types";
|
|
3
3
|
export declare const StepperBase: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, StepperBaseProps>>;
|
|
4
4
|
export declare const Header: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HeaderProps>>;
|
|
5
|
-
export declare const Title: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
5
|
+
export declare const Title: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
6
6
|
ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
|
|
7
7
|
}, TitleProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
8
|
-
export declare const SubTitle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
8
|
+
export declare const SubTitle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
10
10
|
}, SubTitleProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
11
11
|
export declare const Body: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BodyProps>>;
|
|
@@ -13,7 +13,7 @@ export declare const Step: import("styled-components").IStyledComponent<"web", i
|
|
|
13
13
|
export declare const StepIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
14
14
|
export declare const CheckBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CheckBoxProps>>;
|
|
15
15
|
export declare const ActiveRadio: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ActiveRadioProps>>;
|
|
16
|
-
export declare const StepText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
16
|
+
export declare const StepText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
17
17
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
18
18
|
}, StepTextProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
19
19
|
export declare const Footer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FooterProps>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const Stepper: (props: any) => JSX.Element;
|
|
1
|
+
export declare const Stepper: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default Stepper;
|
|
@@ -2,4 +2,4 @@ import { TabModalTabType } from "./types";
|
|
|
2
2
|
export declare const tabs: Array<TabModalTabType>;
|
|
3
3
|
export declare const tabsWithDifferentWidths: Array<TabModalTabType>;
|
|
4
4
|
export declare const manyTabs: Array<TabModalTabType>;
|
|
5
|
-
export declare const tabHeader: JSX.Element;
|
|
5
|
+
export declare const tabHeader: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RefObject } from "react";
|
|
2
2
|
import { MenuOptionType } from "../../sharedTypes/types";
|
|
3
3
|
export interface TabModalType {
|
|
4
4
|
/** Overrides active option if passed. Useful for stepper components. Must match `id` field in `tabs` */
|
|
@@ -44,10 +44,10 @@ export interface TabModalType {
|
|
|
44
44
|
/** The color for the vertical sidebar active color. It has no effect on the horizontal menu. Overrides the theme styling for the tabs */
|
|
45
45
|
tabColorLight?: string;
|
|
46
46
|
/** Modal title */
|
|
47
|
-
title?:
|
|
47
|
+
title?: React.ReactNode;
|
|
48
48
|
}
|
|
49
49
|
export interface TabModalTabType extends MenuOptionType {
|
|
50
|
-
payload:
|
|
50
|
+
payload: React.ReactNode;
|
|
51
51
|
}
|
|
52
52
|
export interface ModalContentProps {
|
|
53
53
|
$width: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LoadingRowsProps } from "./types";
|
|
2
|
-
export declare const LoadingRows: ({ columns, fetchingAnimationHeight, fetchingRowsNumber, rowHeight }: LoadingRowsProps) => JSX.Element;
|
|
2
|
+
export declare const LoadingRows: ({ columns, fetchingAnimationHeight, fetchingRowsNumber, rowHeight }: LoadingRowsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,10 +15,10 @@ export declare const CellContents: import("styled-components").IStyledComponent<
|
|
|
15
15
|
export declare const OptionsMenu: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OptionsMenuProps>>;
|
|
16
16
|
export declare const HighlightTip: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, HighlightTipProps>>;
|
|
17
17
|
export declare const CheckboxCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
18
|
-
export declare const RadioCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
18
|
+
export declare const RadioCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
19
19
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
20
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, keyof import("react").Component<any, {}, any>>;
|
|
21
|
-
export declare const CheckboxHeaderCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
21
|
+
export declare const CheckboxHeaderCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
22
22
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
23
23
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, keyof import("react").Component<any, {}, any>>;
|
|
24
24
|
export declare const EditControls: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -29,16 +29,16 @@ export declare const AddRowButton: import("styled-components").IStyledComponent<
|
|
|
29
29
|
export declare const AddRowButtonClip: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddRowButtonProps>>;
|
|
30
30
|
export declare const AcceptButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddRowButtonProps>>;
|
|
31
31
|
export declare const CancelButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddRowButtonProps>>;
|
|
32
|
-
export declare const AddRowValidationMessage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
32
|
+
export declare const AddRowValidationMessage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
33
33
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
34
34
|
}, AddRowValidationMessageProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
35
35
|
export declare const Center: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
|
|
36
36
|
export declare const NoResults: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
37
37
|
export declare const NoResultsImage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
38
|
-
export declare const NoResultsHeader: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
38
|
+
export declare const NoResultsHeader: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
39
39
|
ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
|
|
40
40
|
}, NoResultsHeaderProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
41
|
-
export declare const NoResultsText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
41
|
+
export declare const NoResultsText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
42
42
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
43
43
|
}, NoResultsTextProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
44
44
|
export declare const ClickShield: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -46,12 +46,12 @@ export declare const PaginationFooter: import("styled-components").IStyledCompon
|
|
|
46
46
|
export declare const PaginationBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
47
47
|
export declare const LinkBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
48
48
|
export declare const MenuBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
49
|
-
export declare const PreviousPageInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
49
|
+
export declare const PreviousPageInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
50
50
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
51
51
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, keyof import("react").Component<any, {}, any>>;
|
|
52
|
-
export declare const NextPageInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("styled-components/dist/types").FastOmit<
|
|
52
|
+
export declare const NextPageInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
53
53
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
54
|
-
}, never>, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
54
|
+
}, never>, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
55
55
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
56
56
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>;
|
|
57
57
|
export declare const Results: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableType } from "./../types";
|
|
2
|
-
export declare const ClickableCells: (tableProps: TableType) => JSX.Element;
|
|
2
|
+
export declare const ClickableCells: (tableProps: TableType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TextStyleEnum } from "../../sharedTypes/enums";
|
|
3
3
|
import { PageResultsType, SetCorrectValueTypeProps, SortRowsPropsType } from "./types";
|
|
4
4
|
export declare const findDefaultSort: ({ columns, filterFunction }: {
|
|
5
5
|
columns: any;
|
|
6
6
|
filterFunction: any;
|
|
7
7
|
}) => string;
|
|
8
|
-
export declare const setTextEmphasis: (textStyle
|
|
8
|
+
export declare const setTextEmphasis: (textStyle?: TextStyleEnum | undefined) => import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>;
|
|
9
9
|
export declare const pageResults: (props: PageResultsType) => import("./types").RowType[];
|
|
10
10
|
export declare const isUsableInitialValue: ({ initialValue, editType }: SetCorrectValueTypeProps) => boolean | undefined;
|
|
11
11
|
export declare const setCorrectValueType: ({ initialValue, editType }: SetCorrectValueTypeProps) => string | number | boolean | string[] | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const DateBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>;
|
|
3
|
-
export declare const StatusBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
3
|
+
export declare const StatusBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
5
5
|
}, {
|
|
6
6
|
$isOffline?: boolean | undefined;
|
|
7
7
|
}>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>, keyof import("react").Component<any, {}, any>>;
|
|
8
|
-
export declare const CenterBold: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
8
|
+
export declare const CenterBold: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../../const/types").TextProps> & import("../../../const/types").TextProps, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
10
10
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
11
11
|
export declare const GrowthPadding: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
|
|
@@ -8,7 +8,7 @@ export declare const Price: FC<ComponentWrapperType>;
|
|
|
8
8
|
export declare const Status: FC<ComponentWrapperType>;
|
|
9
9
|
export declare const IdWrapper: FC<ComponentWrapperType>;
|
|
10
10
|
export declare const Priority: FC<ComponentWrapperType>;
|
|
11
|
-
export default function RenderCounter(): JSX.Element;
|
|
11
|
+
export default function RenderCounter(): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare const simpleColumns: Array<ColumnType>;
|
|
13
13
|
export declare const renderColumns: Array<ColumnType>;
|
|
14
14
|
export declare const dragColumns: Array<ColumnType>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CellClickTemplate: (args: any) => JSX.Element;
|
|
2
|
-
export declare const CellClickAndEditTemplate: (args: any) => JSX.Element;
|
|
1
|
+
export declare const CellClickTemplate: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const CellClickAndEditTemplate: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -43,9 +43,9 @@ export interface TableType {
|
|
|
43
43
|
/** Disables sorting for the whole `Table`. Overrides individual column settings */
|
|
44
44
|
disableSortAll?: boolean;
|
|
45
45
|
/** Used to set the row altOptions dynamically. */
|
|
46
|
-
dynamicAltOptions?: (props: DynamicOptionsProps) =>
|
|
46
|
+
dynamicAltOptions?: (props: DynamicOptionsProps) => TableOptionType[] | undefined;
|
|
47
47
|
/** Used to set the row options dynamically. */
|
|
48
|
-
dynamicOptions?: (props: DynamicOptionsProps) =>
|
|
48
|
+
dynamicOptions?: (props: DynamicOptionsProps) => TableOptionType[] | undefined;
|
|
49
49
|
/** Enables the edit rows feature. You must also use `onEdit` to handle the returned data */
|
|
50
50
|
editable?: boolean;
|
|
51
51
|
/** This is called before `onEdit` is called to validate the edited row. If it passes, `onEdit` is called and the changes to the row will be visible. If it fails, FLAG_DESCRIBE_VALIDATION */
|
|
@@ -184,7 +184,7 @@ export interface ColumnType {
|
|
|
184
184
|
editPlaceholder?: string;
|
|
185
185
|
editType?: EditEnum;
|
|
186
186
|
HeaderComponentWrapper?: ComponentType<HeaderComponentWrapperType>;
|
|
187
|
-
label:
|
|
187
|
+
label: React.ReactNode;
|
|
188
188
|
leftPadding?: number;
|
|
189
189
|
minWidth?: number;
|
|
190
190
|
radioFilters?: boolean;
|
|
@@ -203,7 +203,7 @@ export interface RowType {
|
|
|
203
203
|
}
|
|
204
204
|
export interface TableOptionType {
|
|
205
205
|
id: string;
|
|
206
|
-
label:
|
|
206
|
+
label: React.ReactNode;
|
|
207
207
|
}
|
|
208
208
|
export interface HeaderComponentWrapperType {
|
|
209
209
|
clickHeader?: (column: ColumnType, sortAsc: boolean) => void;
|
|
@@ -220,6 +220,7 @@ export interface ComponentWrapperType {
|
|
|
220
220
|
row: RowType;
|
|
221
221
|
rowIndex?: number;
|
|
222
222
|
rows: Array<RowType>;
|
|
223
|
+
children?: React.ReactNode;
|
|
223
224
|
}
|
|
224
225
|
export interface CalcRowBackgroundProps {
|
|
225
226
|
row: RowType;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TextStyleEnum } from "../../sharedTypes/enums";
|
|
3
|
-
import { LinkProps } from "./types";
|
|
4
3
|
export declare const setCaretFill: (textStyle: TextStyleEnum | undefined) => string;
|
|
5
|
-
export declare const setTextEmphasisHoverable: (textStyle: TextStyleEnum | undefined) =>
|
|
4
|
+
export declare const setTextEmphasisHoverable: (textStyle: TextStyleEnum | undefined) => import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, import("./types").LinkProps>>;
|
|
@@ -32,7 +32,7 @@ export interface TextLinkType {
|
|
|
32
32
|
/** If provided, uses this as a solid background color instead of an outline on focus */
|
|
33
33
|
solidFocus?: string;
|
|
34
34
|
/** The text for the button. Uses text components from the textStyle enum if a string */
|
|
35
|
-
text:
|
|
35
|
+
text: React.ReactNode;
|
|
36
36
|
/** Overrides the textStyle enum color. Useful for colorful TextLinks. Disabled buttons will not use this. */
|
|
37
37
|
textColorOverride?: string;
|
|
38
38
|
/** Overrides the textStyle enum color when hovering. Useful for colorful TextLinks. Disabled buttons will not use this. */
|
|
@@ -64,4 +64,4 @@ export interface LinkProps {
|
|
|
64
64
|
$underline?: boolean;
|
|
65
65
|
}
|
|
66
66
|
/** Checks if text is a string, then assumes that Text is a functional component. This relies on a matching type check in previous code. */
|
|
67
|
-
export declare const isFC: (Text:
|
|
67
|
+
export declare const isFC: (Text: unknown, text: React.ReactNode) => Text is FC<LinkProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TextareaProps, WrapperProps } from "./types";
|
|
3
3
|
export declare const PositionWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WrapperProps>>;
|
|
4
|
-
export declare const TextareaLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
4
|
+
export declare const TextareaLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, keyof import("../../sharedStyle/types").LabelProps> & import("../../sharedStyle/types").LabelProps, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLLabelElement | null) => void) | import("react").RefObject<HTMLLabelElement> | null | undefined;
|
|
6
6
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, import("../../sharedStyle/types").LabelProps>>, keyof import("react").Component<any, {}, any>>;
|
|
7
7
|
export declare const TextareaElement: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, TextareaProps>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FocusEvent, KeyboardEvent, RefObject } from "react";
|
|
2
2
|
import { InputTheme } from "../../sharedTypes/enums";
|
|
3
3
|
export interface InlineTextareaType {
|
|
4
4
|
/** Restricts Textarea to this number of characters. No limit applied if undefined. */
|
|
@@ -70,7 +70,7 @@ export interface TextareaType extends Omit<InlineTextareaType, "textareaRef" | "
|
|
|
70
70
|
/** Descriptive text for your input. Keep it short & concise */
|
|
71
71
|
helperText?: string;
|
|
72
72
|
/** A label for Textarea. Not required, but strongly recommended. */
|
|
73
|
-
inputLabel?:
|
|
73
|
+
inputLabel?: React.ReactNode;
|
|
74
74
|
/** Makes the `validationMessage` visible */
|
|
75
75
|
showValidationMessage?: boolean;
|
|
76
76
|
/** A message when validation fails. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEvent
|
|
1
|
+
import { ChangeEvent } from "react";
|
|
2
2
|
import { SwitchGroupSwitchType } from "../../sharedTypes/types";
|
|
3
3
|
import { ToggleItemType } from "../ToggleItem";
|
|
4
4
|
export interface ToggleGroupType extends Omit<ToggleItemType, "active" | "label" | "disabled" | "id"> {
|
|
@@ -23,7 +23,7 @@ export interface ToggleGroupType extends Omit<ToggleItemType, "active" | "label"
|
|
|
23
23
|
/** Displays an error message under the last toggle */
|
|
24
24
|
showValidationMessage?: boolean;
|
|
25
25
|
/** The label for ToggleGroup. Not required, but strongly recommended. */
|
|
26
|
-
toggleGroupLabel?:
|
|
26
|
+
toggleGroupLabel?: React.ReactNode;
|
|
27
27
|
/** An array of toggle objects, one for each toggle. See below for details. */
|
|
28
28
|
toggles: Array<SwitchGroupSwitchType>;
|
|
29
29
|
/** Color of the ToggleGroup's lable, if it exists */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEvent
|
|
1
|
+
import { ChangeEvent } from "react";
|
|
2
2
|
export interface ToggleItemType {
|
|
3
3
|
/** Is the toggle active or not */
|
|
4
4
|
active: boolean;
|
|
@@ -25,7 +25,7 @@ export interface ToggleItemType {
|
|
|
25
25
|
/** The knob color. THEME PROP: default is colors.WHITE */
|
|
26
26
|
knobColor?: string;
|
|
27
27
|
/** Text to accompany the checkbox */
|
|
28
|
-
label?:
|
|
28
|
+
label?: React.ReactNode;
|
|
29
29
|
/** The label color. THEME PROP: default is colors.COOL_GREY_100 */
|
|
30
30
|
labelColor?: string;
|
|
31
31
|
/** Maximum width the label can take for the truncate component */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { TooltipType } from "./types";
|
|
3
|
-
export declare const Tooltip:
|
|
3
|
+
export declare const Tooltip: (props: TooltipType) => React.ReactPortal | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BaseProps, TargetProps } from "./types";
|
|
3
3
|
export declare const TooltipBase: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BaseProps>>;
|
|
4
|
-
export declare const HiddenTooltip: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
4
|
+
export declare const HiddenTooltip: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof BaseProps> & BaseProps, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
6
6
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BaseProps>>, keyof import("react").Component<any, {}, any>>;
|
|
7
7
|
export declare const Text: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { IconContainerProps, OptionProps } from "./types";
|
|
3
3
|
export declare const TooltipOptionRow: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
|
|
4
4
|
export declare const TooltipOptionIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, IconContainerProps>>;
|
|
5
|
-
export declare const TooltipOptionText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
5
|
+
export declare const TooltipOptionText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
6
6
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
7
7
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
8
|
-
export declare const Header: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
8
|
+
export declare const Header: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
10
10
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
11
11
|
export declare const HeaderBalance: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -3,14 +3,14 @@ export declare const options: {
|
|
|
3
3
|
id: string;
|
|
4
4
|
}[];
|
|
5
5
|
export declare const componentOptions: {
|
|
6
|
-
name: JSX.Element;
|
|
6
|
+
name: import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
id: string;
|
|
8
8
|
}[];
|
|
9
9
|
export declare const iconOptions: {
|
|
10
10
|
id: string;
|
|
11
|
-
label: JSX.Element;
|
|
11
|
+
label: import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
}[];
|
|
13
13
|
export declare const altTooltipOptions: {
|
|
14
14
|
id: string;
|
|
15
|
-
label: JSX.Element;
|
|
15
|
+
label: import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
}[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MouseEvent } from "react";
|
|
2
2
|
import { PositionType } from "../../sharedTypes/types";
|
|
3
3
|
export interface TooltipOptionsType {
|
|
4
4
|
/** A second group of options. These will appear below a separator line under the options */
|
|
@@ -31,8 +31,8 @@ export interface TooltipOptionsType {
|
|
|
31
31
|
width?: number;
|
|
32
32
|
}
|
|
33
33
|
export interface OptionsShape {
|
|
34
|
-
name?:
|
|
35
|
-
label?:
|
|
34
|
+
name?: React.ReactNode;
|
|
35
|
+
label?: React.ReactNode;
|
|
36
36
|
[otherValues: string]: any;
|
|
37
37
|
}
|
|
38
38
|
export interface IconContainerProps {
|
|
@@ -12,7 +12,7 @@ export declare const ItemIconBox: import("styled-components").IStyledComponent<"
|
|
|
12
12
|
export declare const LinkStyle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, LinkStyleProps>>;
|
|
13
13
|
export declare const RightAligned: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
14
14
|
export declare const TextSection: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextSectionProps>>;
|
|
15
|
-
export declare const TextSectionDragging: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<
|
|
15
|
+
export declare const TextSectionDragging: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof TextSectionProps> & TextSectionProps, "ref"> & {
|
|
16
16
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
17
|
}, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextSectionProps>>, keyof import("react").Component<any, {}, any>>;
|
|
18
18
|
export declare const UploadIconBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileTypeEnum } from "../../sharedTypes/enums";
|
|
2
2
|
import { ArrayOfStringsType } from "./types";
|
|
3
3
|
export declare const mimeTypeMap: Map<string, string[]>;
|
|
4
|
-
export declare const defaultDescripion: (linkColor: string, filetypes: ArrayOfStringsType, disabled?: boolean | undefined) => JSX.Element;
|
|
4
|
+
export declare const defaultDescripion: (linkColor: string, filetypes: ArrayOfStringsType, disabled?: boolean | undefined) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare const createAcceptObject: (types: Array<FileTypeEnum>) => ArrayOfStringsType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UserCardModalType } from "./types";
|
|
2
|
-
export declare const UserCardModal: (props: UserCardModalType) => JSX.Element;
|
|
2
|
+
export declare const UserCardModal: (props: UserCardModalType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,24 +3,24 @@ import { AvatarWrapperProps, DividerProps, EmailProps, GradientHeaderProps, Name
|
|
|
3
3
|
export declare const UserCardBase: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, UserCardBaseProps>>;
|
|
4
4
|
export declare const GradientHeader: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, GradientHeaderProps>>;
|
|
5
5
|
export declare const AvatarWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AvatarWrapperProps>>;
|
|
6
|
-
export declare const UserDetails: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
6
|
+
export declare const UserDetails: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../../sharedStyle/types").ScrollerProps> & import("../../sharedStyle/types").ScrollerProps, "ref"> & {
|
|
7
7
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
8
|
}, UserDetailsProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("../../sharedStyle/types").ScrollerProps>>, keyof import("react").Component<any, {}, any>>;
|
|
9
|
-
export declare const Name: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
9
|
+
export declare const Name: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
10
10
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
11
11
|
}, NameProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
12
|
-
export declare const Email: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
12
|
+
export declare const Email: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
13
13
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
14
14
|
}, EmailProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
15
15
|
export declare const Divider: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, DividerProps>>;
|
|
16
16
|
export declare const Option: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OptionProps>>;
|
|
17
17
|
export declare const OptionIconBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OptionIconBoxProps>>;
|
|
18
18
|
export declare const OptionIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OptionIconProps>>;
|
|
19
|
-
export declare const OptionText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
19
|
+
export declare const OptionText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
|
|
20
20
|
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
21
21
|
}, OptionTextProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
|
|
22
22
|
export declare const Organization: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OrganizationProps>>;
|
|
23
|
-
export declare const OrganizationIconBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<
|
|
23
|
+
export declare const OrganizationIconBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$iconSize"> & OptionIconBoxProps, "ref"> & {
|
|
24
24
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
25
25
|
}, OrganizationIconProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OptionIconBoxProps>>, keyof import("react").Component<any, {}, any>>;
|
|
26
26
|
export declare const OrganizationIcon: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OrganizationIconProps>>;
|