@procore/core-react 11.25.0 → 11.25.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/Avatar/Avatar.d.ts +1 -1
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.d.ts +7 -7
- package/dist/AvatarStack/AvatarStack.styles.d.ts +1 -1
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.d.ts +1 -1
- package/dist/Calendar/Calendar.styles.js +8 -8
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ContactItem/ContactItem.styles.d.ts +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.d.ts +3 -3
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.d.ts +2 -2
- package/dist/DropdownFlyout/DropdownFlyout.helpers.d.ts +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.d.ts +2 -2
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.d.ts +1 -1
- package/dist/FileList/FileList.styles.js +4 -4
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.d.ts +2 -2
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +2 -2
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.js +2 -2
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.d.ts +71 -71
- package/dist/Form/Form.styles.js +16 -16
- package/dist/Form/stories/util.d.ts +3 -3
- package/dist/Grid/Grid.d.ts +1 -1
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/Menu/Menu.d.ts +4 -4
- package/dist/MenuImperative/MenuImperative.d.ts +3 -3
- package/dist/MenuImperative/MenuImperative.styles.js +10 -10
- package/dist/Modal/ChildRegistry.context.d.ts +1 -1
- package/dist/Modal/Modal.d.ts +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/Modal/storyHelpers.d.ts +2 -2
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/NextTile/NextTile.d.ts +1 -1
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.d.ts +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js +9 -3
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.types.d.ts +2 -1
- package/dist/OverlayTrigger/OverlayTrigger.types.js.map +1 -1
- package/dist/OverlayTrigger/a11yPresets.d.ts +48 -48
- package/dist/PageLayout/PageLayout.d.ts +1 -1
- package/dist/PageLayout/PageLayout.styles.js +13 -13
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +2 -2
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.d.ts +1 -1
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.d.ts +2 -2
- package/dist/Section/Section.styles.js +6 -6
- package/dist/SegmentedController/SegmentedController.d.ts +2 -2
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.js +3 -1
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Select/Select.types.d.ts +3 -2
- package/dist/Select/Select.types.js.map +1 -1
- package/dist/Semantic/Semantic.styles.d.ts +1 -1
- package/dist/Semantic/Semantic.styles.js +8 -8
- package/dist/Sidebar/Sidebar.styles.js +7 -7
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SuperSelect/SuperSelect.components.d.ts +29 -29
- package/dist/SuperSelect/SuperSelect.d.ts +29 -29
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/SuperSelect/useSuperSelect.d.ts +87 -87
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tabs/Tabs.styles.js +8 -8
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditor/TextEditor.d.ts +3 -3
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.d.ts +3 -3
- package/dist/Thumbnail/Thumbnail.hooks.d.ts +226 -210
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/Thumbnail/ThumbnailCaption.d.ts +2 -2
- package/dist/Thumbnail/ThumbnailDocumentIcon.d.ts +2 -2
- package/dist/Thumbnail/ThumbnailPreview.d.ts +2 -2
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +2 -2
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.styles.d.ts +1 -1
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ActionIcon.d.ts +2 -2
- package/dist/ToolHeader/ToolHeader.d.ts +2 -2
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.styles.js +9 -9
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.colors.story.d.ts +2 -2
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.d.ts +2 -2
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_hooks/Analytics.d.ts +1 -1
- package/dist/_hooks/Anchor.d.ts +1 -1
- package/dist/_hooks/BoundingRect.d.ts +1 -1
- package/dist/_hooks/Buffer.d.ts +1 -1
- package/dist/_hooks/ClickOutside.d.ts +3 -2
- package/dist/_hooks/ClickOutside.js +8 -3
- package/dist/_hooks/ClickOutside.js.map +1 -1
- package/dist/_hooks/DateTime/DateTime.d.ts +1 -1
- package/dist/_hooks/DelayedToggle.d.ts +1 -1
- package/dist/_hooks/Event.d.ts +1 -1
- package/dist/_hooks/EventListener.js +14 -4
- package/dist/_hooks/EventListener.js.map +1 -1
- package/dist/_hooks/I18n.d.ts +1 -1
- package/dist/_hooks/InjectedScript.d.ts +1 -1
- package/dist/_hooks/ListNavigation.d.ts +1 -1
- package/dist/_hooks/TextEntry.d.ts +1 -1
- package/dist/_hooks/Timer.d.ts +1 -1
- package/dist/_hooks/Trigger.d.ts +1 -1
- package/dist/_hooks/Visibility.d.ts +1 -1
- package/dist/_hooks/ZIndex.d.ts +1 -1
- package/dist/_hooks/__tests__/EventListener.test.js +46 -0
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +13 -13
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +11 -11
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
- package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
- package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
- package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
- package/dist/_typedoc/Flex/Flex.types.json +27 -27
- package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
- package/dist/_typedoc/Form/Form.types.json +764 -724
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +4 -4
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +41 -41
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +40 -30
- package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +27 -27
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +56 -46
- package/dist/_typedoc/Popover/Popover.types.json +14 -14
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +14 -14
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
- package/dist/_typedoc/Select/Select.types.json +75 -55
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +106 -96
- package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
- package/dist/_typedoc/Tile/Tile.types.json +30 -30
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
- package/dist/_typedoc/Token/Token.types.json +4 -4
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +86 -86
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +8 -8
- package/dist/_typedoc/_utils/types.json +3 -3
- package/package.json +1 -1
package/dist/Form/Form.d.ts
CHANGED
|
@@ -7,24 +7,24 @@ export declare const FormContext: React.Context<FormContextAPI>;
|
|
|
7
7
|
export declare function useFormContext<Values = any>(): FormikContextType<Values> & FormContextAPI;
|
|
8
8
|
export declare function getPrimitiveValue(value: any, getId?: (option: any) => string | number): string | number;
|
|
9
9
|
export declare function useField<Value = any>({ disabled: _disabled, error: _error, getId, required: _required, name, validate, view: _view, }?: FieldConfig): FormFieldAPI<Value>;
|
|
10
|
-
declare function Form_<Values = any>({ initialValues, onSubmit: _onSubmit, disabled, enableConfirmNavigation, variant, validationSchema, view, ...props }: FormProps<Values>): JSX.Element;
|
|
11
|
-
export declare function FormForm({ children, className, onKeyDown, style, ...props }: React.ComponentPropsWithoutRef<typeof FormikForm>): JSX.Element;
|
|
12
|
-
export declare function FormErrorBanner({ item, i18nScope, ...rest }: FormErrorBannerProps & DivAttributes): JSX.Element | null;
|
|
10
|
+
declare function Form_<Values = any>({ initialValues, onSubmit: _onSubmit, disabled, enableConfirmNavigation, variant, validationSchema, view, ...props }: FormProps<Values>): React.JSX.Element;
|
|
11
|
+
export declare function FormForm({ children, className, onKeyDown, style, ...props }: React.ComponentPropsWithoutRef<typeof FormikForm>): React.JSX.Element;
|
|
12
|
+
export declare function FormErrorBanner({ item, i18nScope, ...rest }: FormErrorBannerProps & DivAttributes): React.JSX.Element | null;
|
|
13
13
|
export declare function isEmptyField(val: any): boolean;
|
|
14
14
|
export declare function WXPField<Value, ComponentProps extends FormFieldValueComponentProps<Value>>({ as: AsComponent, children, colStart, colWidth, disabled, description, error, label, name, required, tooltip, validate, view, inlineLabel: singleCheckboxInlineLabel, inlineDescription: singleCheckboxInlineDescription, ...props }: BaseFieldProps<Value, ComponentProps> & Pick<FormCheckboxProps, 'inlineLabel' | 'inlineDescription'> & {
|
|
15
15
|
getId?: OptionList<Value>['getId'];
|
|
16
|
-
}): JSX.Element;
|
|
16
|
+
}): React.JSX.Element;
|
|
17
17
|
export declare function TraditionalField<Value, ComponentProps extends FormFieldValueComponentProps<Value>>({ as: AsComponent, children, colWidth, disabled, error, label, name, required, tooltip, validate, view, ...props }: TraditionalBaseFieldProps<Value, ComponentProps> & {
|
|
18
18
|
getId?: OptionList<Value>['getId'];
|
|
19
|
-
}): JSX.Element;
|
|
20
|
-
export declare function Row({ children, ...props }: Props): JSX.Element;
|
|
21
|
-
export declare function BaseField<Value, ComponentProps extends FormFieldValueComponentProps<Value>>(props: BaseFieldProps<Value, ComponentProps> | TraditionalBaseFieldProps<Value, ComponentProps>): JSX.Element;
|
|
19
|
+
}): React.JSX.Element;
|
|
20
|
+
export declare function Row({ children, ...props }: Props): React.JSX.Element;
|
|
21
|
+
export declare function BaseField<Value, ComponentProps extends FormFieldValueComponentProps<Value>>(props: BaseFieldProps<Value, ComponentProps> | TraditionalBaseFieldProps<Value, ComponentProps>): React.JSX.Element;
|
|
22
22
|
export declare function makeField<Value, FieldTypeProps extends FormFieldProps<Value>, ComponentProps extends FormFieldValueComponentProps<Value>>(editComponent: ComponentWithFieldProp<Value, ComponentProps>, showComponent: ComponentWithFieldProp<Value, ComponentProps>, options?: {
|
|
23
23
|
emptyState: boolean;
|
|
24
|
-
}): (({ children, ...props }: FieldTypeProps) => JSX.Element) & {
|
|
25
|
-
Create: (props: ViewFieldProps<Value, FieldTypeProps, ComponentProps>) => JSX.Element | null;
|
|
26
|
-
Read: (props: ViewFieldProps<Value, FieldTypeProps, ComponentProps>) => JSX.Element | null;
|
|
27
|
-
Update: (props: ViewFieldProps<Value, FieldTypeProps, ComponentProps>) => JSX.Element | null;
|
|
24
|
+
}): (({ children, ...props }: FieldTypeProps) => React.JSX.Element) & {
|
|
25
|
+
Create: (props: ViewFieldProps<Value, FieldTypeProps, ComponentProps>) => React.JSX.Element | null;
|
|
26
|
+
Read: (props: ViewFieldProps<Value, FieldTypeProps, ComponentProps>) => React.JSX.Element | null;
|
|
27
|
+
Update: (props: ViewFieldProps<Value, FieldTypeProps, ComponentProps>) => React.JSX.Element | null;
|
|
28
28
|
};
|
|
29
29
|
export declare function withDefaultEmptyState<Value, TProps extends FormFieldValueComponentProps>(OutputComponent: ComponentWithFieldProp<Value, TProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<TProps> & React.RefAttributes<HTMLSpanElement>>;
|
|
30
30
|
export declare const TextInput: React.ForwardRefExoticComponent<FieldTextComponentProps<string> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -61,91 +61,91 @@ export declare const GroupSelectOutput: React.ForwardRefExoticComponent<FieldGro
|
|
|
61
61
|
export declare const TieredSelectInput: React.ForwardRefExoticComponent<FieldTieredSelectComponentProps<FieldTieredSelectValueType> & React.RefAttributes<HTMLDivElement>>;
|
|
62
62
|
export declare const TieredSelectOutput: React.ForwardRefExoticComponent<FieldTieredSelectComponentProps<FieldTieredSelectValueType> & React.RefAttributes<HTMLSpanElement>>;
|
|
63
63
|
export declare const Form: typeof Form_ & {
|
|
64
|
-
Checkboxes: (({ children, ...props }: FormCheckboxesProps<FieldCheckboxesValueType>) => JSX.Element) & {
|
|
65
|
-
Create: (props: ViewFieldProps<FieldCheckboxesValueType, FormCheckboxesProps<FieldCheckboxesValueType>, FieldCheckboxesComponentProps<FieldCheckboxesValueType>>) => JSX.Element | null;
|
|
66
|
-
Read: (props: ViewFieldProps<FieldCheckboxesValueType, FormCheckboxesProps<FieldCheckboxesValueType>, FieldCheckboxesComponentProps<FieldCheckboxesValueType>>) => JSX.Element | null;
|
|
67
|
-
Update: (props: ViewFieldProps<FieldCheckboxesValueType, FormCheckboxesProps<FieldCheckboxesValueType>, FieldCheckboxesComponentProps<FieldCheckboxesValueType>>) => JSX.Element | null;
|
|
64
|
+
Checkboxes: (({ children, ...props }: FormCheckboxesProps<FieldCheckboxesValueType>) => React.JSX.Element) & {
|
|
65
|
+
Create: (props: ViewFieldProps<FieldCheckboxesValueType, FormCheckboxesProps<FieldCheckboxesValueType>, FieldCheckboxesComponentProps<FieldCheckboxesValueType>>) => React.JSX.Element | null;
|
|
66
|
+
Read: (props: ViewFieldProps<FieldCheckboxesValueType, FormCheckboxesProps<FieldCheckboxesValueType>, FieldCheckboxesComponentProps<FieldCheckboxesValueType>>) => React.JSX.Element | null;
|
|
67
|
+
Update: (props: ViewFieldProps<FieldCheckboxesValueType, FormCheckboxesProps<FieldCheckboxesValueType>, FieldCheckboxesComponentProps<FieldCheckboxesValueType>>) => React.JSX.Element | null;
|
|
68
68
|
};
|
|
69
|
-
Checkbox: (({ children, ...props }: FormCheckboxProps<boolean>) => JSX.Element) & {
|
|
70
|
-
Create: (props: ViewFieldProps<boolean, FormCheckboxProps<boolean>, FieldCheckboxComponentProps<boolean>>) => JSX.Element | null;
|
|
71
|
-
Read: (props: ViewFieldProps<boolean, FormCheckboxProps<boolean>, FieldCheckboxComponentProps<boolean>>) => JSX.Element | null;
|
|
72
|
-
Update: (props: ViewFieldProps<boolean, FormCheckboxProps<boolean>, FieldCheckboxComponentProps<boolean>>) => JSX.Element | null;
|
|
69
|
+
Checkbox: (({ children, ...props }: FormCheckboxProps<boolean>) => React.JSX.Element) & {
|
|
70
|
+
Create: (props: ViewFieldProps<boolean, FormCheckboxProps<boolean>, FieldCheckboxComponentProps<boolean>>) => React.JSX.Element | null;
|
|
71
|
+
Read: (props: ViewFieldProps<boolean, FormCheckboxProps<boolean>, FieldCheckboxComponentProps<boolean>>) => React.JSX.Element | null;
|
|
72
|
+
Update: (props: ViewFieldProps<boolean, FormCheckboxProps<boolean>, FieldCheckboxComponentProps<boolean>>) => React.JSX.Element | null;
|
|
73
73
|
};
|
|
74
|
-
Currency: (({ children, ...props }: FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>) => JSX.Element) & {
|
|
75
|
-
Create: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>, FieldCurrencyComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => JSX.Element | null;
|
|
76
|
-
Read: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>, FieldCurrencyComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => JSX.Element | null;
|
|
77
|
-
Update: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>, FieldCurrencyComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => JSX.Element | null;
|
|
74
|
+
Currency: (({ children, ...props }: FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>) => React.JSX.Element) & {
|
|
75
|
+
Create: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>, FieldCurrencyComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => React.JSX.Element | null;
|
|
76
|
+
Read: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>, FieldCurrencyComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => React.JSX.Element | null;
|
|
77
|
+
Update: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormCurrencyProps<import("../NumberInput/NumberInput.types").InputValue>, FieldCurrencyComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => React.JSX.Element | null;
|
|
78
78
|
};
|
|
79
|
-
DateSelect: (({ children, ...props }: FormDateProps<FieldDateValueType>) => JSX.Element) & {
|
|
80
|
-
Create: (props: ViewFieldProps<FieldDateValueType, FormDateProps<FieldDateValueType>, FieldDateComponentProps<FieldDateValueType>>) => JSX.Element | null;
|
|
81
|
-
Read: (props: ViewFieldProps<FieldDateValueType, FormDateProps<FieldDateValueType>, FieldDateComponentProps<FieldDateValueType>>) => JSX.Element | null;
|
|
82
|
-
Update: (props: ViewFieldProps<FieldDateValueType, FormDateProps<FieldDateValueType>, FieldDateComponentProps<FieldDateValueType>>) => JSX.Element | null;
|
|
79
|
+
DateSelect: (({ children, ...props }: FormDateProps<FieldDateValueType>) => React.JSX.Element) & {
|
|
80
|
+
Create: (props: ViewFieldProps<FieldDateValueType, FormDateProps<FieldDateValueType>, FieldDateComponentProps<FieldDateValueType>>) => React.JSX.Element | null;
|
|
81
|
+
Read: (props: ViewFieldProps<FieldDateValueType, FormDateProps<FieldDateValueType>, FieldDateComponentProps<FieldDateValueType>>) => React.JSX.Element | null;
|
|
82
|
+
Update: (props: ViewFieldProps<FieldDateValueType, FormDateProps<FieldDateValueType>, FieldDateComponentProps<FieldDateValueType>>) => React.JSX.Element | null;
|
|
83
83
|
};
|
|
84
84
|
ErrorBanner: typeof FormErrorBanner;
|
|
85
85
|
Field: (({ children, ...props }: FormFieldProps<any> & {
|
|
86
86
|
[key: string]: unknown;
|
|
87
|
-
}) => JSX.Element) & {
|
|
87
|
+
}) => React.JSX.Element) & {
|
|
88
88
|
Create: (props: ViewFieldProps<any, FormFieldProps<any> & {
|
|
89
89
|
[key: string]: unknown;
|
|
90
|
-
}, FormFieldValueComponentProps<any> & InputProps>) => JSX.Element | null;
|
|
90
|
+
}, FormFieldValueComponentProps<any> & InputProps>) => React.JSX.Element | null;
|
|
91
91
|
Read: (props: ViewFieldProps<any, FormFieldProps<any> & {
|
|
92
92
|
[key: string]: unknown;
|
|
93
|
-
}, FormFieldValueComponentProps<any> & InputProps>) => JSX.Element | null;
|
|
93
|
+
}, FormFieldValueComponentProps<any> & InputProps>) => React.JSX.Element | null;
|
|
94
94
|
Update: (props: ViewFieldProps<any, FormFieldProps<any> & {
|
|
95
95
|
[key: string]: unknown;
|
|
96
|
-
}, FormFieldValueComponentProps<any> & InputProps>) => JSX.Element | null;
|
|
96
|
+
}, FormFieldValueComponentProps<any> & InputProps>) => React.JSX.Element | null;
|
|
97
97
|
};
|
|
98
98
|
Form: typeof FormForm;
|
|
99
|
-
GroupSelect: (({ children, ...props }: FormGroupSelectProps<FieldGroupSelectValueType>) => JSX.Element) & {
|
|
100
|
-
Create: (props: ViewFieldProps<FieldGroupSelectValueType, FormGroupSelectProps<FieldGroupSelectValueType>, FieldGroupSelectComponentProps<FieldGroupSelectValueType>>) => JSX.Element | null;
|
|
101
|
-
Read: (props: ViewFieldProps<FieldGroupSelectValueType, FormGroupSelectProps<FieldGroupSelectValueType>, FieldGroupSelectComponentProps<FieldGroupSelectValueType>>) => JSX.Element | null;
|
|
102
|
-
Update: (props: ViewFieldProps<FieldGroupSelectValueType, FormGroupSelectProps<FieldGroupSelectValueType>, FieldGroupSelectComponentProps<FieldGroupSelectValueType>>) => JSX.Element | null;
|
|
99
|
+
GroupSelect: (({ children, ...props }: FormGroupSelectProps<FieldGroupSelectValueType>) => React.JSX.Element) & {
|
|
100
|
+
Create: (props: ViewFieldProps<FieldGroupSelectValueType, FormGroupSelectProps<FieldGroupSelectValueType>, FieldGroupSelectComponentProps<FieldGroupSelectValueType>>) => React.JSX.Element | null;
|
|
101
|
+
Read: (props: ViewFieldProps<FieldGroupSelectValueType, FormGroupSelectProps<FieldGroupSelectValueType>, FieldGroupSelectComponentProps<FieldGroupSelectValueType>>) => React.JSX.Element | null;
|
|
102
|
+
Update: (props: ViewFieldProps<FieldGroupSelectValueType, FormGroupSelectProps<FieldGroupSelectValueType>, FieldGroupSelectComponentProps<FieldGroupSelectValueType>>) => React.JSX.Element | null;
|
|
103
103
|
};
|
|
104
|
-
MultiSelect: (({ children, ...props }: FormMultiSelectProps<FieldMultiSelectValueType>) => JSX.Element) & {
|
|
105
|
-
Create: (props: ViewFieldProps<FieldMultiSelectValueType, FormMultiSelectProps<FieldMultiSelectValueType>, FieldMultiSelectComponentProps<FieldMultiSelectValueType>>) => JSX.Element | null;
|
|
106
|
-
Read: (props: ViewFieldProps<FieldMultiSelectValueType, FormMultiSelectProps<FieldMultiSelectValueType>, FieldMultiSelectComponentProps<FieldMultiSelectValueType>>) => JSX.Element | null;
|
|
107
|
-
Update: (props: ViewFieldProps<FieldMultiSelectValueType, FormMultiSelectProps<FieldMultiSelectValueType>, FieldMultiSelectComponentProps<FieldMultiSelectValueType>>) => JSX.Element | null;
|
|
104
|
+
MultiSelect: (({ children, ...props }: FormMultiSelectProps<FieldMultiSelectValueType>) => React.JSX.Element) & {
|
|
105
|
+
Create: (props: ViewFieldProps<FieldMultiSelectValueType, FormMultiSelectProps<FieldMultiSelectValueType>, FieldMultiSelectComponentProps<FieldMultiSelectValueType>>) => React.JSX.Element | null;
|
|
106
|
+
Read: (props: ViewFieldProps<FieldMultiSelectValueType, FormMultiSelectProps<FieldMultiSelectValueType>, FieldMultiSelectComponentProps<FieldMultiSelectValueType>>) => React.JSX.Element | null;
|
|
107
|
+
Update: (props: ViewFieldProps<FieldMultiSelectValueType, FormMultiSelectProps<FieldMultiSelectValueType>, FieldMultiSelectComponentProps<FieldMultiSelectValueType>>) => React.JSX.Element | null;
|
|
108
108
|
};
|
|
109
|
-
Number: (({ children, ...props }: FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>) => JSX.Element) & {
|
|
110
|
-
Create: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>, FieldNumberComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => JSX.Element | null;
|
|
111
|
-
Read: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>, FieldNumberComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => JSX.Element | null;
|
|
112
|
-
Update: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>, FieldNumberComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => JSX.Element | null;
|
|
109
|
+
Number: (({ children, ...props }: FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>) => React.JSX.Element) & {
|
|
110
|
+
Create: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>, FieldNumberComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => React.JSX.Element | null;
|
|
111
|
+
Read: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>, FieldNumberComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => React.JSX.Element | null;
|
|
112
|
+
Update: (props: ViewFieldProps<import("../NumberInput/NumberInput.types").InputValue, FormNumberProps<import("../NumberInput/NumberInput.types").InputValue>, FieldNumberComponentProps<import("../NumberInput/NumberInput.types").InputValue>>) => React.JSX.Element | null;
|
|
113
113
|
};
|
|
114
|
-
PillSelect: (({ children, ...props }: FormPillSelectProps<any>) => JSX.Element) & {
|
|
115
|
-
Create: (props: ViewFieldProps<any, FormPillSelectProps<any>, FieldPillSelectComponentProps<any>>) => JSX.Element | null;
|
|
116
|
-
Read: (props: ViewFieldProps<any, FormPillSelectProps<any>, FieldPillSelectComponentProps<any>>) => JSX.Element | null;
|
|
117
|
-
Update: (props: ViewFieldProps<any, FormPillSelectProps<any>, FieldPillSelectComponentProps<any>>) => JSX.Element | null;
|
|
114
|
+
PillSelect: (({ children, ...props }: FormPillSelectProps<any>) => React.JSX.Element) & {
|
|
115
|
+
Create: (props: ViewFieldProps<any, FormPillSelectProps<any>, FieldPillSelectComponentProps<any>>) => React.JSX.Element | null;
|
|
116
|
+
Read: (props: ViewFieldProps<any, FormPillSelectProps<any>, FieldPillSelectComponentProps<any>>) => React.JSX.Element | null;
|
|
117
|
+
Update: (props: ViewFieldProps<any, FormPillSelectProps<any>, FieldPillSelectComponentProps<any>>) => React.JSX.Element | null;
|
|
118
118
|
};
|
|
119
|
-
RadioButtons: (({ children, ...props }: FormRadioButtonsProps<any>) => JSX.Element) & {
|
|
120
|
-
Create: (props: ViewFieldProps<any, FormRadioButtonsProps<any>, FieldRadioButtonsComponentProps<any>>) => JSX.Element | null;
|
|
121
|
-
Read: (props: ViewFieldProps<any, FormRadioButtonsProps<any>, FieldRadioButtonsComponentProps<any>>) => JSX.Element | null;
|
|
122
|
-
Update: (props: ViewFieldProps<any, FormRadioButtonsProps<any>, FieldRadioButtonsComponentProps<any>>) => JSX.Element | null;
|
|
119
|
+
RadioButtons: (({ children, ...props }: FormRadioButtonsProps<any>) => React.JSX.Element) & {
|
|
120
|
+
Create: (props: ViewFieldProps<any, FormRadioButtonsProps<any>, FieldRadioButtonsComponentProps<any>>) => React.JSX.Element | null;
|
|
121
|
+
Read: (props: ViewFieldProps<any, FormRadioButtonsProps<any>, FieldRadioButtonsComponentProps<any>>) => React.JSX.Element | null;
|
|
122
|
+
Update: (props: ViewFieldProps<any, FormRadioButtonsProps<any>, FieldRadioButtonsComponentProps<any>>) => React.JSX.Element | null;
|
|
123
123
|
};
|
|
124
|
-
RichText: (({ children, ...props }: FormRichTextProps<string>) => JSX.Element) & {
|
|
125
|
-
Create: (props: ViewFieldProps<string, FormRichTextProps<string>, FieldRichTextComponentProps<string>>) => JSX.Element | null;
|
|
126
|
-
Read: (props: ViewFieldProps<string, FormRichTextProps<string>, FieldRichTextComponentProps<string>>) => JSX.Element | null;
|
|
127
|
-
Update: (props: ViewFieldProps<string, FormRichTextProps<string>, FieldRichTextComponentProps<string>>) => JSX.Element | null;
|
|
124
|
+
RichText: (({ children, ...props }: FormRichTextProps<string>) => React.JSX.Element) & {
|
|
125
|
+
Create: (props: ViewFieldProps<string, FormRichTextProps<string>, FieldRichTextComponentProps<string>>) => React.JSX.Element | null;
|
|
126
|
+
Read: (props: ViewFieldProps<string, FormRichTextProps<string>, FieldRichTextComponentProps<string>>) => React.JSX.Element | null;
|
|
127
|
+
Update: (props: ViewFieldProps<string, FormRichTextProps<string>, FieldRichTextComponentProps<string>>) => React.JSX.Element | null;
|
|
128
128
|
};
|
|
129
129
|
Row: typeof Row;
|
|
130
|
-
Select: (({ children, ...props }: FormSelectProps<any, any, any>) => JSX.Element) & {
|
|
131
|
-
Create: (props: ViewFieldProps<any, FormSelectProps<any, any, any>, FieldSelectComponentProps<any, any, any>>) => JSX.Element | null;
|
|
132
|
-
Read: (props: ViewFieldProps<any, FormSelectProps<any, any, any>, FieldSelectComponentProps<any, any, any>>) => JSX.Element | null;
|
|
133
|
-
Update: (props: ViewFieldProps<any, FormSelectProps<any, any, any>, FieldSelectComponentProps<any, any, any>>) => JSX.Element | null;
|
|
130
|
+
Select: (({ children, ...props }: FormSelectProps<any, any, any>) => React.JSX.Element) & {
|
|
131
|
+
Create: (props: ViewFieldProps<any, FormSelectProps<any, any, any>, FieldSelectComponentProps<any, any, any>>) => React.JSX.Element | null;
|
|
132
|
+
Read: (props: ViewFieldProps<any, FormSelectProps<any, any, any>, FieldSelectComponentProps<any, any, any>>) => React.JSX.Element | null;
|
|
133
|
+
Update: (props: ViewFieldProps<any, FormSelectProps<any, any, any>, FieldSelectComponentProps<any, any, any>>) => React.JSX.Element | null;
|
|
134
134
|
};
|
|
135
|
-
Text: (({ children, ...props }: FormTextProps<string>) => JSX.Element) & {
|
|
136
|
-
Create: (props: ViewFieldProps<string, FormTextProps<string>, FieldTextComponentProps<string>>) => JSX.Element | null;
|
|
137
|
-
Read: (props: ViewFieldProps<string, FormTextProps<string>, FieldTextComponentProps<string>>) => JSX.Element | null;
|
|
138
|
-
Update: (props: ViewFieldProps<string, FormTextProps<string>, FieldTextComponentProps<string>>) => JSX.Element | null;
|
|
135
|
+
Text: (({ children, ...props }: FormTextProps<string>) => React.JSX.Element) & {
|
|
136
|
+
Create: (props: ViewFieldProps<string, FormTextProps<string>, FieldTextComponentProps<string>>) => React.JSX.Element | null;
|
|
137
|
+
Read: (props: ViewFieldProps<string, FormTextProps<string>, FieldTextComponentProps<string>>) => React.JSX.Element | null;
|
|
138
|
+
Update: (props: ViewFieldProps<string, FormTextProps<string>, FieldTextComponentProps<string>>) => React.JSX.Element | null;
|
|
139
139
|
};
|
|
140
|
-
TextArea: (({ children, ...props }: FormTextAreaProps<string>) => JSX.Element) & {
|
|
141
|
-
Create: (props: ViewFieldProps<string, FormTextAreaProps<string>, FieldTextAreaComponentProps<string>>) => JSX.Element | null;
|
|
142
|
-
Read: (props: ViewFieldProps<string, FormTextAreaProps<string>, FieldTextAreaComponentProps<string>>) => JSX.Element | null;
|
|
143
|
-
Update: (props: ViewFieldProps<string, FormTextAreaProps<string>, FieldTextAreaComponentProps<string>>) => JSX.Element | null;
|
|
140
|
+
TextArea: (({ children, ...props }: FormTextAreaProps<string>) => React.JSX.Element) & {
|
|
141
|
+
Create: (props: ViewFieldProps<string, FormTextAreaProps<string>, FieldTextAreaComponentProps<string>>) => React.JSX.Element | null;
|
|
142
|
+
Read: (props: ViewFieldProps<string, FormTextAreaProps<string>, FieldTextAreaComponentProps<string>>) => React.JSX.Element | null;
|
|
143
|
+
Update: (props: ViewFieldProps<string, FormTextAreaProps<string>, FieldTextAreaComponentProps<string>>) => React.JSX.Element | null;
|
|
144
144
|
};
|
|
145
|
-
TieredSelect: (({ children, ...props }: FormTieredSelectProps<FieldTieredSelectValueType>) => JSX.Element) & {
|
|
146
|
-
Create: (props: ViewFieldProps<FieldTieredSelectValueType, FormTieredSelectProps<FieldTieredSelectValueType>, FieldTieredSelectComponentProps<FieldTieredSelectValueType>>) => JSX.Element | null;
|
|
147
|
-
Read: (props: ViewFieldProps<FieldTieredSelectValueType, FormTieredSelectProps<FieldTieredSelectValueType>, FieldTieredSelectComponentProps<FieldTieredSelectValueType>>) => JSX.Element | null;
|
|
148
|
-
Update: (props: ViewFieldProps<FieldTieredSelectValueType, FormTieredSelectProps<FieldTieredSelectValueType>, FieldTieredSelectComponentProps<FieldTieredSelectValueType>>) => JSX.Element | null;
|
|
145
|
+
TieredSelect: (({ children, ...props }: FormTieredSelectProps<FieldTieredSelectValueType>) => React.JSX.Element) & {
|
|
146
|
+
Create: (props: ViewFieldProps<FieldTieredSelectValueType, FormTieredSelectProps<FieldTieredSelectValueType>, FieldTieredSelectComponentProps<FieldTieredSelectValueType>>) => React.JSX.Element | null;
|
|
147
|
+
Read: (props: ViewFieldProps<FieldTieredSelectValueType, FormTieredSelectProps<FieldTieredSelectValueType>, FieldTieredSelectComponentProps<FieldTieredSelectValueType>>) => React.JSX.Element | null;
|
|
148
|
+
Update: (props: ViewFieldProps<FieldTieredSelectValueType, FormTieredSelectProps<FieldTieredSelectValueType>, FieldTieredSelectComponentProps<FieldTieredSelectValueType>>) => React.JSX.Element | null;
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
export {};
|
package/dist/Form/Form.styles.js
CHANGED
|
@@ -26,7 +26,7 @@ function applyStylesOnlyToIE11(styles) {
|
|
|
26
26
|
}
|
|
27
27
|
export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
|
|
28
28
|
displayName: "StyledFormFieldMain",
|
|
29
|
-
componentId: "core-
|
|
29
|
+
componentId: "core-11_25_1__sc-ncj3pf-0"
|
|
30
30
|
})(["-ms-grid-row:2;grid-row:2;", " ", " ", ""], function (_ref) {
|
|
31
31
|
var $colStart = _ref.$colStart,
|
|
32
32
|
$colEnd = _ref.$colEnd,
|
|
@@ -38,15 +38,15 @@ export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
|
|
|
38
38
|
}, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n ")));
|
|
39
39
|
export var StyledLabel = /*#__PURE__*/styled(Label).withConfig({
|
|
40
40
|
displayName: "StyledLabel",
|
|
41
|
-
componentId: "core-
|
|
41
|
+
componentId: "core-11_25_1__sc-ncj3pf-1"
|
|
42
42
|
})(["word-wrap:break-word;word-break:break-word;"]);
|
|
43
43
|
export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
|
|
44
44
|
displayName: "StyledDescription",
|
|
45
|
-
componentId: "core-
|
|
45
|
+
componentId: "core-11_25_1__sc-ncj3pf-2"
|
|
46
46
|
})(["", " color:", ";word-wrap:break-word;word-break:break-word;"], getTypographyIntent('body'), colors.gray45);
|
|
47
47
|
export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescription).withConfig({
|
|
48
48
|
displayName: "StyledCheckboxInlineDescription",
|
|
49
|
-
componentId: "core-
|
|
49
|
+
componentId: "core-11_25_1__sc-ncj3pf-3"
|
|
50
50
|
})(["margin-top:", "px;", ""], spacing.xs, function (_ref3) {
|
|
51
51
|
var $read = _ref3.$read;
|
|
52
52
|
if (!$read) {
|
|
@@ -55,7 +55,7 @@ export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescripti
|
|
|
55
55
|
});
|
|
56
56
|
export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withConfig({
|
|
57
57
|
displayName: "StyledFormFieldHeader",
|
|
58
|
-
componentId: "core-
|
|
58
|
+
componentId: "core-11_25_1__sc-ncj3pf-4"
|
|
59
59
|
})(["-ms-grid-row:1;grid-row:1;align-self:end;margin-bottom:", "px;", " ", " * + ", "{margin-top:", "px;}"], spacing.xs, function (_ref4) {
|
|
60
60
|
var $colStart = _ref4.$colStart,
|
|
61
61
|
$colEnd = _ref4.$colEnd,
|
|
@@ -64,7 +64,7 @@ export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withCo
|
|
|
64
64
|
}, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:first-child {\n padding-left: 0;\n }\n\n ").concat(StyledFormFieldMain, " {\n padding-left: ").concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n }\n ")), StyledDescription, spacing.xs);
|
|
65
65
|
export var StyledFormFieldRequiredMark = /*#__PURE__*/styled(Required).withConfig({
|
|
66
66
|
displayName: "StyledFormFieldRequiredMark",
|
|
67
|
-
componentId: "core-
|
|
67
|
+
componentId: "core-11_25_1__sc-ncj3pf-5"
|
|
68
68
|
})(["padding-left:", "px;vertical-align:top;"], spacing.xs);
|
|
69
69
|
export var dataQaFieldTooltipIcon = 'form-field-tooltip-icon';
|
|
70
70
|
export var StyledFormFieldTooltipIcon = /*#__PURE__*/styled(Help).attrs(function () {
|
|
@@ -73,19 +73,19 @@ export var StyledFormFieldTooltipIcon = /*#__PURE__*/styled(Help).attrs(function
|
|
|
73
73
|
};
|
|
74
74
|
}).withConfig({
|
|
75
75
|
displayName: "StyledFormFieldTooltipIcon",
|
|
76
|
-
componentId: "core-
|
|
76
|
+
componentId: "core-11_25_1__sc-ncj3pf-6"
|
|
77
77
|
})(["margin-left:", "px;color:", ";vertical-align:middle;&:focus-visible{border-radius:50%;", " outline-offset:0;}"], spacing.sm, colors.gray45, getGapOutlineFocus);
|
|
78
78
|
export var StyledFormFieldErrorIcon = /*#__PURE__*/styled(Error).withConfig({
|
|
79
79
|
displayName: "StyledFormFieldErrorIcon",
|
|
80
|
-
componentId: "core-
|
|
80
|
+
componentId: "core-11_25_1__sc-ncj3pf-7"
|
|
81
81
|
})(["vertical-align:sub;"]);
|
|
82
82
|
export var StyledFormFieldBanner = /*#__PURE__*/styled.div.withConfig({
|
|
83
83
|
displayName: "StyledFormFieldBanner",
|
|
84
|
-
componentId: "core-
|
|
84
|
+
componentId: "core-11_25_1__sc-ncj3pf-8"
|
|
85
85
|
})(["display:flex;align-items:flex-start;min-height:22px;margin-top:", "px;margin-bottom:2px;word-break:break-word;word-wrap:break-word;color:", ";", ""], spacing.xs, colors.red50, getTypographyIntent('body'));
|
|
86
86
|
export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
|
|
87
87
|
displayName: "StyledTraditionalFormColumn",
|
|
88
|
-
componentId: "core-
|
|
88
|
+
componentId: "core-11_25_1__sc-ncj3pf-9"
|
|
89
89
|
})(["padding:", ";align-self:center;height:100%;&:nth-child(1){-ms-grid-column:1;}&:nth-child(2){-ms-grid-column:2;}&:nth-child(3){-ms-grid-column:3;}&:nth-child(4){-ms-grid-column:4;}", " ", ""], traditionalPadding, function (_ref5) {
|
|
90
90
|
var _ref5$$fullWidth = _ref5.$fullWidth,
|
|
91
91
|
$fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
|
|
@@ -97,22 +97,22 @@ export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
|
|
|
97
97
|
});
|
|
98
98
|
export var StyledTraditionalFormLabel = /*#__PURE__*/styled(Typography).withConfig({
|
|
99
99
|
displayName: "StyledTraditionalFormLabel",
|
|
100
|
-
componentId: "core-
|
|
100
|
+
componentId: "core-11_25_1__sc-ncj3pf-10"
|
|
101
101
|
})(["display:inline-block;word-break:break-word;word-wrap:break-word;", ""], function (_ref7) {
|
|
102
102
|
var $view = _ref7.$view;
|
|
103
103
|
return ['create', 'update'].includes($view) && css(["padding-top:", "px;"], spacing.sm);
|
|
104
104
|
});
|
|
105
105
|
export var StyledFormOutputTextArea = /*#__PURE__*/styled.span.withConfig({
|
|
106
106
|
displayName: "StyledFormOutputTextArea",
|
|
107
|
-
componentId: "core-
|
|
107
|
+
componentId: "core-11_25_1__sc-ncj3pf-11"
|
|
108
108
|
})(["white-space:pre-wrap;"]);
|
|
109
109
|
export var StyledFormOutputFiledset = /*#__PURE__*/styled.fieldset.withConfig({
|
|
110
110
|
displayName: "StyledFormOutputFiledset",
|
|
111
|
-
componentId: "core-
|
|
111
|
+
componentId: "core-11_25_1__sc-ncj3pf-12"
|
|
112
112
|
})(["border:none;padding:0;margin-top:", "px;"], spacing.xs);
|
|
113
113
|
export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
|
|
114
114
|
displayName: "StyledFormRow",
|
|
115
|
-
componentId: "core-
|
|
115
|
+
componentId: "core-11_25_1__sc-ncj3pf-13"
|
|
116
116
|
})(["", ""], function (_ref8) {
|
|
117
117
|
var _ref8$$traditional = _ref8.$traditional,
|
|
118
118
|
$traditional = _ref8$$traditional === void 0 ? false : _ref8$$traditional,
|
|
@@ -123,10 +123,10 @@ export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
123
123
|
var formWrapper = /*#__PURE__*/css(["display:inherit;flex-direction:inherit;height:inherit;max-height:inherit;"]);
|
|
124
124
|
export var StyledFormikForm = /*#__PURE__*/styled(FormikForm).withConfig({
|
|
125
125
|
displayName: "StyledFormikForm",
|
|
126
|
-
componentId: "core-
|
|
126
|
+
componentId: "core-11_25_1__sc-ncj3pf-14"
|
|
127
127
|
})(["", ""], formWrapper);
|
|
128
128
|
export var StyledForm = /*#__PURE__*/styled.div.withConfig({
|
|
129
129
|
displayName: "StyledForm",
|
|
130
|
-
componentId: "core-
|
|
130
|
+
componentId: "core-11_25_1__sc-ncj3pf-15"
|
|
131
131
|
})(["", ""], formWrapper);
|
|
132
132
|
//# sourceMappingURL=Form.styles.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Form } from '../../index';
|
|
3
3
|
import type { PillColor } from '../../Pill';
|
|
4
|
-
export declare function FormDebugger(props?: any): JSX.Element;
|
|
4
|
+
export declare function FormDebugger(props?: any): React.JSX.Element;
|
|
5
5
|
interface SingleFormProps {
|
|
6
6
|
component?: any;
|
|
7
7
|
debug?: boolean;
|
|
@@ -15,7 +15,7 @@ interface DemoFormProps {
|
|
|
15
15
|
view?: React.ComponentProps<typeof Form>['view'];
|
|
16
16
|
enableConfirmNavigation?: React.ComponentProps<typeof Form>['enableConfirmNavigation'];
|
|
17
17
|
}
|
|
18
|
-
export declare const DemoForm: ({ view, enableConfirmNavigation, }: DemoFormProps) => JSX.Element;
|
|
18
|
+
export declare const DemoForm: ({ view, enableConfirmNavigation, }: DemoFormProps) => React.JSX.Element;
|
|
19
19
|
/** All variations for a field. views, with values, no values, text variations, etc.
|
|
20
20
|
* @example
|
|
21
21
|
* <BaseCRU
|
|
@@ -25,7 +25,7 @@ export declare const DemoForm: ({ view, enableConfirmNavigation, }: DemoFormProp
|
|
|
25
25
|
*/
|
|
26
26
|
export declare function BaseCRU<Element extends React.JSXElementConstructor<any>>(props: Omit<SingleFormProps, 'component'> & {
|
|
27
27
|
component: Element;
|
|
28
|
-
} & Omit<React.ComponentProps<Element>, 'name'>): JSX.Element;
|
|
28
|
+
} & Omit<React.ComponentProps<Element>, 'name'>): React.JSX.Element;
|
|
29
29
|
export declare const formGroupSelectOptions: {
|
|
30
30
|
id: number;
|
|
31
31
|
label: string;
|
package/dist/Grid/Grid.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { GridColProps, GridProps, GridRowProps } from './Grid.types';
|
|
3
|
-
declare function BaseGrid({ gutterX, gutterY, colStackCap, ...props }: GridProps): JSX.Element;
|
|
3
|
+
declare function BaseGrid({ gutterX, gutterY, colStackCap, ...props }: GridProps): React.JSX.Element;
|
|
4
4
|
export declare const Grid: typeof BaseGrid & {
|
|
5
5
|
Row: React.ForwardRefExoticComponent<GridRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
Col: React.ForwardRefExoticComponent<GridColProps & React.RefAttributes<HTMLDivElement>>;
|
package/dist/Grid/Grid.styles.js
CHANGED
|
@@ -75,7 +75,7 @@ var getRowGutterVertical = function getRowGutterVertical(gutterY, breakpoint) {
|
|
|
75
75
|
};
|
|
76
76
|
export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
|
|
77
77
|
displayName: "StyledGridRow",
|
|
78
|
-
componentId: "core-
|
|
78
|
+
componentId: "core-11_25_1__sc-8pinsp-0"
|
|
79
79
|
})(["", " display:flex;flex-wrap:wrap;"], function (_ref) {
|
|
80
80
|
var $gutterX = _ref.$gutterX,
|
|
81
81
|
$gutterY = _ref.$gutterY;
|
|
@@ -87,7 +87,7 @@ export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
87
87
|
});
|
|
88
88
|
export var StyledGridCol = /*#__PURE__*/styled.div.withConfig({
|
|
89
89
|
displayName: "StyledGridCol",
|
|
90
|
-
componentId: "core-
|
|
90
|
+
componentId: "core-11_25_1__sc-8pinsp-1"
|
|
91
91
|
})(["flex-shrink:0;width:100%;max-width:100%;", ""], function (_ref2) {
|
|
92
92
|
var $span = _ref2.$span,
|
|
93
93
|
$offset = _ref2.$offset,
|
|
@@ -3,7 +3,7 @@ import { MultiSelect } from '../MultiSelect/MultiSelect';
|
|
|
3
3
|
import { colors } from '../_styles/colors';
|
|
4
4
|
export var StyledGroupSelectOption = /*#__PURE__*/styled(MultiSelect.Option).withConfig({
|
|
5
5
|
displayName: "StyledGroupSelectOption",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_25_1__sc-u5gu8j-0"
|
|
7
7
|
})(["", ""], function (_ref) {
|
|
8
8
|
var disabled = _ref.disabled;
|
|
9
9
|
return disabled && css(["color:", ";cursor:not-allowed;a,a:hover{color:", ";text-decoration:none;}"], colors.gray70, colors.gray70);
|
|
@@ -16,6 +16,6 @@ export function getInputStyles(_ref) {
|
|
|
16
16
|
}
|
|
17
17
|
export var StyledInput = /*#__PURE__*/styled.input.withConfig({
|
|
18
18
|
displayName: "StyledInput",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-11_25_1__sc-12sjkxg-0"
|
|
20
20
|
})(["", " padding:0 ", "px;&::-ms-clear{display:none;}&[type='number']{-moz-appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}}"], getInputStyles, spacing.md);
|
|
21
21
|
//# sourceMappingURL=Input.styles.js.map
|
package/dist/Link/Link.styles.js
CHANGED
|
@@ -17,6 +17,6 @@ function getLinkColors(_ref) {
|
|
|
17
17
|
}
|
|
18
18
|
export var StyledLink = /*#__PURE__*/styled.a.withConfig({
|
|
19
19
|
displayName: "StyledLink",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-11_25_1__sc-jfowrl-0"
|
|
21
21
|
})(["text-decoration:underline;&:hover{cursor:pointer;text-decoration:underline;}", " &.focus,&:focus{", ";}", ""], focusable, getBorderRadius('md'), getLinkColors);
|
|
22
22
|
//# sourceMappingURL=Link.styles.js.map
|
|
@@ -3,19 +3,19 @@ import { colors } from '../_styles/colors';
|
|
|
3
3
|
import { spacing } from '../_styles/spacing';
|
|
4
4
|
export var StyledListPageMain = /*#__PURE__*/styled.div.withConfig({
|
|
5
5
|
displayName: "StyledListPageMain",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_25_1__sc-1eq7fzi-0"
|
|
7
7
|
})(["display:flex;flex:1 0 auto;flex-direction:column;min-width:0;padding:", "px ", "px;width:100%;"], spacing.lg, spacing.xl);
|
|
8
8
|
export var StyledListPageBanner = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledListPageBanner",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_25_1__sc-1eq7fzi-1"
|
|
11
11
|
})(["flex:0 0 auto;"]);
|
|
12
12
|
export var StyledListPageToolHeader = /*#__PURE__*/styled.div.withConfig({
|
|
13
13
|
displayName: "StyledListPageToolHeader",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-11_25_1__sc-1eq7fzi-2"
|
|
15
15
|
})(["flex:0 0 auto;padding-bottom:", "px;"], spacing.lg);
|
|
16
16
|
export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
displayName: "StyledListPageControl",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-11_25_1__sc-1eq7fzi-3"
|
|
19
19
|
})(["flex:", ";", " ", ""], function (_ref) {
|
|
20
20
|
var $block = _ref.$block;
|
|
21
21
|
return $block ? '1 0 auto' : '0 0 auto';
|
|
@@ -32,18 +32,18 @@ export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
|
|
|
32
32
|
});
|
|
33
33
|
export var StyledListPageContentControls = /*#__PURE__*/styled.div.withConfig({
|
|
34
34
|
displayName: "StyledListPageContentControls",
|
|
35
|
-
componentId: "core-
|
|
35
|
+
componentId: "core-11_25_1__sc-1eq7fzi-4"
|
|
36
36
|
})(["align-items:center;display:flex;flex:0 0 auto;justify-content:space-between;padding:", "px 0;", " + ", "{margin-left:", "px;}"], spacing.md, StyledListPageControl, StyledListPageControl, spacing.lg);
|
|
37
37
|
export var StyledListPageBody = /*#__PURE__*/styled.div.withConfig({
|
|
38
38
|
displayName: "StyledListPageBody",
|
|
39
|
-
componentId: "core-
|
|
39
|
+
componentId: "core-11_25_1__sc-1eq7fzi-5"
|
|
40
40
|
})(["display:flex;flex:1 0 auto;padding-top:", "px;"], spacing.md);
|
|
41
41
|
export var StyledListPageBodyContent = /*#__PURE__*/styled.div.withConfig({
|
|
42
42
|
displayName: "StyledListPageBodyContent",
|
|
43
|
-
componentId: "core-
|
|
43
|
+
componentId: "core-11_25_1__sc-1eq7fzi-6"
|
|
44
44
|
})(["flex:1 1 auto;"]);
|
|
45
45
|
export var StyledListPage = /*#__PURE__*/styled.div.withConfig({
|
|
46
46
|
displayName: "StyledListPage",
|
|
47
|
-
componentId: "core-
|
|
47
|
+
componentId: "core-11_25_1__sc-1eq7fzi-7"
|
|
48
48
|
})(["display:flex;flex-direction:row;height:100%;width:100%;", " + ", "{padding-top:", "px;}", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", ",", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", "{padding-top:0;}"], StyledListPageBanner, StyledListPageToolHeader, spacing.lg, StyledListPageContentControls, StyledListPageContentControls, colors.gray85, StyledListPageToolHeader, StyledListPageContentControls, StyledListPageToolHeader, StyledListPageBody, colors.gray85, StyledListPageContentControls, StyledListPageBody);
|
|
49
49
|
//# sourceMappingURL=ListPage.styles.js.map
|
|
@@ -7,11 +7,11 @@ export var loaderTransitionDuration = 250;
|
|
|
7
7
|
var movingStripes = /*#__PURE__*/keyframes(["from{background-position:", "px 0;}100%{background-position:0 ", "px;}"], backgroundSize, backgroundSize);
|
|
8
8
|
export var StyledLoader = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledLoader",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_25_1__sc-wgvjj9-0"
|
|
11
11
|
})(["display:block;height:100%;left:0;min-width:12px;position:absolute;transition:width ", "ms ease-out;top:0;"], loaderTransitionDuration);
|
|
12
12
|
export var StyledGradient = /*#__PURE__*/styled.div.withConfig({
|
|
13
13
|
displayName: "StyledGradient",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-11_25_1__sc-wgvjj9-1"
|
|
15
15
|
})(["height:100%;", ""], function (_ref) {
|
|
16
16
|
var $animated = _ref.$animated;
|
|
17
17
|
return $animated ? css(["animation:", " 0.5s linear infinite;background-image:linear-gradient( 45deg,", " 26%,", " 25%,", " 51%,", " 50%,", " 76%,", " 75%,", " );background-size:", "px ", "px;"], movingStripes, color1, color2, color2, color1, color1, color2, color2, backgroundSize, backgroundSize) : css(["background-color:", ";"], colors.blue50);
|
package/dist/Menu/Menu.d.ts
CHANGED
|
@@ -19,10 +19,10 @@ export declare function useMenuHookContext(): MenuHook;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const Menu_: React.ForwardRefExoticComponent<MenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
21
|
export declare const Group: React.ForwardRefExoticComponent<DivAttributes & MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
export declare const Item: React.ForwardRefExoticComponent<
|
|
22
|
+
export declare const Item: React.ForwardRefExoticComponent<Omit<DivAttributes & MenuItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
23
|
export declare const Options: React.ForwardRefExoticComponent<MenuOptionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
24
|
export declare const Search: {
|
|
25
|
-
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): JSX.Element;
|
|
25
|
+
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): React.JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
export declare const Header: React.ForwardRefExoticComponent<DivAttributes & MenuHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -31,10 +31,10 @@ export declare const Menu: React.ForwardRefExoticComponent<MenuProps & React.Ref
|
|
|
31
31
|
Footer: React.ForwardRefExoticComponent<DivAttributes & MenuFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
32
|
Group: React.ForwardRefExoticComponent<DivAttributes & MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
33
|
Header: React.ForwardRefExoticComponent<DivAttributes & MenuHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
Item: React.ForwardRefExoticComponent<
|
|
34
|
+
Item: React.ForwardRefExoticComponent<Omit<DivAttributes & MenuItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
35
|
Options: React.ForwardRefExoticComponent<MenuOptionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
36
|
Search: {
|
|
37
|
-
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): JSX.Element;
|
|
37
|
+
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): React.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -30,7 +30,7 @@ interface ControlNavigationReturn {
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const useMenuImperativeControlNavigation: (ref: React.RefObject<MenuRef>, enable?: boolean, options?: ControlNavigationProps) => ControlNavigationReturn;
|
|
32
32
|
export declare const Group: React.ForwardRefExoticComponent<DivAttributes & GroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
export declare function Droppable({ id, children }: DroppableProps): JSX.Element;
|
|
33
|
+
export declare function Droppable({ id, children }: DroppableProps): React.JSX.Element;
|
|
34
34
|
export declare namespace Droppable {
|
|
35
35
|
var displayName: string;
|
|
36
36
|
}
|
|
@@ -38,7 +38,7 @@ export declare const Item: PolymorphicAs.ComponentWithForwardedRef<MenuItemProps
|
|
|
38
38
|
export declare const CheckboxItem: React.ForwardRefExoticComponent<(DivAttributes & (ItemProps | ItemWithDraggingProps) & Omit<CheckboxProps, "checked">) & React.RefAttributes<HTMLDivElement>>;
|
|
39
39
|
export declare const Options: React.ForwardRefExoticComponent<OptionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
40
|
export declare const Search: {
|
|
41
|
-
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): JSX.Element;
|
|
41
|
+
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): React.JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
44
|
export declare const Header: React.ForwardRefExoticComponent<DivAttributes & HeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -52,7 +52,7 @@ export declare const MenuImperative: React.ForwardRefExoticComponent<MenuProps &
|
|
|
52
52
|
Item: PolymorphicAs.ComponentWithForwardedRef<MenuItemProps, "div">;
|
|
53
53
|
Options: React.ForwardRefExoticComponent<OptionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
54
54
|
Search: {
|
|
55
|
-
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): JSX.Element;
|
|
55
|
+
({ className, i18nScope, placeholder, onChange: _onChange, ...props }: MenuSearchProps): React.JSX.Element;
|
|
56
56
|
displayName: string;
|
|
57
57
|
};
|
|
58
58
|
};
|