@sebgroup/green-react 1.12.3 → 1.14.0
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/index.esm.d.ts +1 -0
- package/{index.js → index.esm.js} +1490 -405
- package/package.json +5 -6
- package/src/lib/accordion/accordion-item.d.ts +1 -1
- package/src/lib/accordion/accordion.d.ts +1 -1
- package/src/lib/alert-ribbon/alert-ribbon.d.ts +1 -1
- package/src/lib/badge/badge.d.ts +1 -1
- package/src/lib/card/card.d.ts +1 -1
- package/src/lib/datepicker/datepicker.d.ts +1 -1
- package/src/lib/dropdown/dropdown.d.ts +1 -1
- package/src/lib/form/button/button.d.ts +1 -1
- package/src/lib/form/buttonGroup/buttonGroup.d.ts +1 -1
- package/src/lib/form/formContext.d.ts +1 -1
- package/src/lib/form/group/group.d.ts +1 -1
- package/src/lib/form/iconButton/iconButton.d.ts +1 -1
- package/src/lib/form/input/input.d.ts +2 -2
- package/src/lib/form/radioButton/radioGroup.d.ts +3 -5
- package/src/lib/form/text/text.d.ts +1 -1
- package/src/lib/formItem/formItem.d.ts +3 -5
- package/src/lib/icons/bankId.d.ts +1 -1
- package/src/lib/icons/check.d.ts +1 -1
- package/src/lib/icons/chevronDown.d.ts +1 -1
- package/src/lib/icons/infoCircle.d.ts +1 -1
- package/src/lib/icons/square-exclamation.d.ts +1 -1
- package/src/lib/icons/square-info.d.ts +1 -1
- package/src/lib/icons/times.d.ts +1 -1
- package/src/lib/layout/flexbox/flexbox.d.ts +1 -1
- package/src/lib/link/link.d.ts +1 -1
- package/src/lib/list/list.d.ts +1 -1
- package/src/lib/list/listItem.d.ts +1 -1
- package/src/lib/list/valueList.d.ts +6 -6
- package/src/lib/modal/modal.d.ts +1 -1
- package/src/lib/navbar/navbar.d.ts +1 -1
- package/src/lib/select/select.d.ts +5 -4
- package/src/lib/slider/slider.d.ts +1 -1
- package/src/lib/stepper/stepper.d.ts +1 -1
- package/src/lib/tabs/tabs.d.ts +1 -1
- package/src/types/props/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebgroup/green-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^17 || ^18",
|
|
6
6
|
"react-dom": "^17 || ^18"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@sebgroup/chlorophyll": "^1.
|
|
10
|
-
"@sebgroup/extract": "^1.
|
|
9
|
+
"@sebgroup/chlorophyll": "^1.15.3",
|
|
10
|
+
"@sebgroup/extract": "^1.5.2",
|
|
11
11
|
"classnames": "^2.3.2"
|
|
12
12
|
},
|
|
13
13
|
"description": "React components built on top of @sebgroup/chlorophyll.",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"url": "https://github.com/sebgroup/green/labels/react"
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://sebgroup.github.io/green/latest/react/",
|
|
29
|
-
"module": "./index.js",
|
|
30
|
-
"main": "./index.js",
|
|
29
|
+
"module": "./index.esm.js",
|
|
31
30
|
"type": "module",
|
|
32
|
-
"
|
|
31
|
+
"main": "./index.esm.js"
|
|
33
32
|
}
|
|
@@ -13,5 +13,5 @@ export interface AccordionItemInterface {
|
|
|
13
13
|
onOpen?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
14
14
|
onClose?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
15
15
|
}
|
|
16
|
-
declare const AccordionItem: ({ item, index, uuid }: AccordionItemProps) => JSX.Element;
|
|
16
|
+
declare const AccordionItem: ({ item, index, uuid }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default AccordionItem;
|
|
@@ -2,5 +2,5 @@ import { AccordionItemInterface } from './accordion-item';
|
|
|
2
2
|
export interface AccordionInterface {
|
|
3
3
|
items: AccordionItemInterface[];
|
|
4
4
|
}
|
|
5
|
-
export declare const Accordion: ({ items }: AccordionInterface) => JSX.Element;
|
|
5
|
+
export declare const Accordion: ({ items }: AccordionInterface) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default Accordion;
|
|
@@ -12,5 +12,5 @@ export interface AlertRibbonProps {
|
|
|
12
12
|
['aria-live']?: AriaAttributes['aria-live'];
|
|
13
13
|
closeAriaLabel?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function AlertRibbon({ type, header, footer, children, closeText, isCloseable, onClose, role, 'aria-live': ariaLive, closeAriaLabel, }: AlertRibbonProps): JSX.Element;
|
|
15
|
+
export declare function AlertRibbon({ type, header, footer, children, closeText, isCloseable, onClose, role, 'aria-live': ariaLive, closeAriaLabel, }: AlertRibbonProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default AlertRibbon;
|
package/src/lib/badge/badge.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export interface BadgeProps extends HTMLProps<HTMLSpanElement> {
|
|
|
8
8
|
customColor?: string;
|
|
9
9
|
customBackgroundColor?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare function Badge({ children, badgeType, isCloseable, closeText, customColor, customBackgroundColor, ...props }: BadgeProps): JSX.Element | null;
|
|
11
|
+
export declare function Badge({ children, badgeType, isCloseable, closeText, customColor, customBackgroundColor, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
12
|
export default Badge;
|
package/src/lib/card/card.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export interface CardProps {
|
|
|
4
4
|
header?: ReactNode;
|
|
5
5
|
footer?: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare function Card({ children, header, footer }: CardProps): JSX.Element;
|
|
7
|
+
export declare function Card({ children, header, footer }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default Card;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DatepickerOptions } from '@sebgroup/extract';
|
|
2
|
-
export declare const Datepicker: (options?: DatepickerOptions) => JSX.Element;
|
|
2
|
+
export declare const Datepicker: (options?: DatepickerOptions) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,5 @@ import { DropdownArgs, OnChange } from '@sebgroup/extract';
|
|
|
2
2
|
export interface DropdownProps extends DropdownArgs {
|
|
3
3
|
onChange?: OnChange;
|
|
4
4
|
}
|
|
5
|
-
export declare const Dropdown: ({ compareWith, display, id, informationLabel, label, loop, multiSelect, onChange, options, searchFilter, searchable, texts, useValue, validator, value, }: DropdownProps) => JSX.Element;
|
|
5
|
+
export declare const Dropdown: ({ compareWith, display, id, informationLabel, label, loop, multiSelect, onChange, options, searchFilter, searchable, texts, useValue, validator, value, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default Dropdown;
|
|
@@ -9,5 +9,5 @@ export interface ButtonProps {
|
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
size?: ButtonSize;
|
|
11
11
|
}
|
|
12
|
-
export declare function Button({ children, variant, onClick, disabled, active, type, size }: ButtonProps): JSX.Element;
|
|
12
|
+
export declare function Button({ children, variant, onClick, disabled, active, type, size }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default Button;
|
|
@@ -7,5 +7,5 @@ interface ButtonGroupProps {
|
|
|
7
7
|
variant?: ButtonVariant;
|
|
8
8
|
id?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const ButtonGroup: ({ children, selectedIndex, variant, id, }: ButtonGroupProps) => JSX.Element;
|
|
10
|
+
export declare const ButtonGroup: ({ children, selectedIndex, variant, id, }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default ButtonGroup;
|
|
@@ -9,5 +9,5 @@ interface FormContextReturnType {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const FormContext: React.Context<FormContextReturnType>;
|
|
11
11
|
export declare const useFormContext: () => FormContextReturnType;
|
|
12
|
-
export declare const FormProvider: ({ children, direction, formSize, onSubmit, onFormSubmit, ...props }: React.PropsWithChildren<FormProps>) => JSX.Element;
|
|
12
|
+
export declare const FormProvider: ({ children, direction, formSize, onSubmit, onFormSubmit, ...props }: React.PropsWithChildren<FormProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -6,5 +6,5 @@ export interface GroupProps {
|
|
|
6
6
|
invalid?: boolean;
|
|
7
7
|
id?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function Group({ id, children, error, groupBorder, }: GroupProps): JSX.Element;
|
|
9
|
+
export declare function Group({ id, children, error, groupBorder, }: GroupProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default Group;
|
|
@@ -8,5 +8,5 @@ interface IconButtonInterface {
|
|
|
8
8
|
'aria-controls'?: string;
|
|
9
9
|
size?: 'small' | 'normal';
|
|
10
10
|
}
|
|
11
|
-
declare const IconButton: ({ children, onClick, ...props }: IconButtonInterface) => JSX.Element;
|
|
11
|
+
declare const IconButton: ({ children, onClick, ...props }: IconButtonInterface) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default IconButton;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { InputHTMLAttributes } from 'react';
|
|
2
2
|
import { IValidator } from '@sebgroup/extract';
|
|
3
3
|
import { CheckboxProps, NumberInputProps, RadioButtonProps, TextInputProps } from '../types';
|
|
4
|
-
export declare type Renderer = (type: string, props: InputHTMLAttributes<HTMLInputElement>, onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void, onChangeInput?: (value: string) => string, label?: string, info?: string, validator?: IValidator, expandableInfo?: React.ReactNode, expandableInfoButtonLabel?: string, testId?: string) => JSX.Element;
|
|
4
|
+
export declare type Renderer = (type: string, props: InputHTMLAttributes<HTMLInputElement>, onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void, onChangeInput?: (value: string) => string, label?: string, info?: string | React.ReactNode, validator?: IValidator, expandableInfo?: React.ReactNode, expandableInfoButtonLabel?: string, testId?: string) => JSX.Element;
|
|
5
5
|
export declare const RenderInput: Renderer;
|
|
6
6
|
export declare const TextInput: ({ label, info, testId, onChange, onChangeInput, validator, expandableInfo, expandableInfoButtonLabel, ...props }: TextInputProps) => JSX.Element;
|
|
7
7
|
export declare const EmailInput: ({ label, info, onChange, onChangeInput, validator, testId, ...props }: TextInputProps) => JSX.Element;
|
|
8
8
|
export declare const NumberInput: ({ label, info, onChange, onChangeInput, validator, expandableInfo, expandableInfoButtonLabel, testId, ...props }: NumberInputProps) => JSX.Element;
|
|
9
|
-
export declare const Checkbox: ({ label, onChange, validator, testId, ...props }: CheckboxProps) => JSX.Element;
|
|
9
|
+
export declare const Checkbox: ({ label, onChange, validator, testId, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare const RadioButton: React.ForwardRefExoticComponent<Omit<RadioButtonProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IValidator, IExpandableInformation } from '@sebgroup/extract';
|
|
3
|
-
export interface RadioGroupProps extends IExpandableInformation {
|
|
4
|
-
label?: string;
|
|
2
|
+
import { IValidator, IExpandableInformation, ILabelAndLabelInformation } from '@sebgroup/extract';
|
|
3
|
+
export interface RadioGroupProps extends IExpandableInformation, ILabelAndLabelInformation {
|
|
5
4
|
title?: string;
|
|
6
|
-
labelInformation?: string;
|
|
7
5
|
valueSelected?: string;
|
|
8
6
|
description?: string;
|
|
9
7
|
defaultSelected?: string;
|
|
@@ -13,5 +11,5 @@ export interface RadioGroupProps extends IExpandableInformation {
|
|
|
13
11
|
name?: string;
|
|
14
12
|
horizontal?: boolean;
|
|
15
13
|
}
|
|
16
|
-
export declare const RadioGroup: ({ defaultSelected, valueSelected, label, title, labelInformation, description, expandableInfo, expandableInfoButtonLabel, validator, onChangeRadio, onChange, name, horizontal, children, }: React.PropsWithChildren<RadioGroupProps>) => JSX.Element;
|
|
14
|
+
export declare const RadioGroup: ({ defaultSelected, valueSelected, label, title, labelInformation, description, expandableInfo, expandableInfoButtonLabel, validator, onChangeRadio, onChange, name, horizontal, children, }: React.PropsWithChildren<RadioGroupProps>) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
export default RadioGroup;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
interface TextProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const Text: ({ children }: TextProps) => JSX.Element;
|
|
5
|
+
export declare const Text: ({ children }: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default Text;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { IExpandableInformation, IValidator } from '@sebgroup/extract';
|
|
1
|
+
import { IExpandableInformation, ILabelAndLabelInformation, IValidator } from '@sebgroup/extract';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
interface FormItemProps extends IExpandableInformation {
|
|
3
|
+
interface FormItemProps extends IExpandableInformation, ILabelAndLabelInformation {
|
|
4
4
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
5
|
onChangeInput?: (value: string) => string;
|
|
6
|
-
label?: string;
|
|
7
|
-
labelInformation?: string;
|
|
8
6
|
validator?: IValidator;
|
|
9
7
|
inputId?: string;
|
|
10
8
|
children: ReactNode;
|
|
11
9
|
role?: string;
|
|
12
10
|
}
|
|
13
|
-
export declare const FormItem: ({ expandableInfo, label, labelInformation, validator, inputId, children, expandableInfoButtonLabel, role, }: FormItemProps) => JSX.Element;
|
|
11
|
+
export declare const FormItem: ({ expandableInfo, label, labelInformation, validator, inputId, children, expandableInfoButtonLabel, role, }: FormItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
12
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const BankId: ({ fill, focusable, title, ...props }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const BankId: ({ fill, focusable, title, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
package/src/lib/icons/check.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const Check: ({ focusable, title }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const Check: ({ focusable, title }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const ChevronDown: ({ focusable, title }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const ChevronDown: ({ focusable, title }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const InfoCircle: ({ focusable, title, ...props }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const InfoCircle: ({ focusable, title, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const SquareExclamation: ({ focusable, title, ...props }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const SquareExclamation: ({ focusable, title, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const SquareInfo: ({ focusable, title, ...props }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const SquareInfo: ({ focusable, title, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
package/src/lib/icons/times.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from '../../types/props';
|
|
2
|
-
export declare const Times: ({ focusable, title }: IconProps) => JSX.Element;
|
|
2
|
+
export declare const Times: ({ focusable, title }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,5 +9,5 @@ export interface FlexboxProps extends HTMLProps<HTMLDivElement> {
|
|
|
9
9
|
flexWrap?: FlexWrapType;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare const Flexbox: ({ alignContent, alignItems, alignSelf, children, justifyContent, flexDirection, flexWrap, className, ...props }: PropsWithChildren<FlexboxProps>) => JSX.Element;
|
|
12
|
+
export declare const Flexbox: ({ alignContent, alignItems, alignSelf, children, justifyContent, flexDirection, flexWrap, className, ...props }: PropsWithChildren<FlexboxProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default Flexbox;
|
package/src/lib/link/link.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { ButtonVariant } from '@sebgroup/extract';
|
|
|
3
3
|
interface LinkProps extends HTMLProps<HTMLAnchorElement> {
|
|
4
4
|
button?: boolean | ButtonVariant;
|
|
5
5
|
}
|
|
6
|
-
export declare const Link: ({ button, children, ...props }: PropsWithChildren<LinkProps>) => JSX.Element;
|
|
6
|
+
export declare const Link: ({ button, children, ...props }: PropsWithChildren<LinkProps>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Link;
|
package/src/lib/list/list.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export interface TableListProps {
|
|
|
10
10
|
title: string;
|
|
11
11
|
definition: string[];
|
|
12
12
|
}
|
|
13
|
-
export declare const List: ({ listType, tableCaption, tableData, children, ...props }: ListProps) => JSX.Element;
|
|
13
|
+
export declare const List: ({ listType, tableCaption, tableData, children, ...props }: ListProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default List;
|
|
@@ -6,5 +6,5 @@ interface ListItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
|
6
6
|
tableRowData?: TableListProps;
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare const ListItem: ({ listType, tableRowData, children, ...props }: ListItemProps) => JSX.Element;
|
|
9
|
+
declare const ListItem: ({ listType, tableRowData, children, ...props }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default ListItem;
|
|
@@ -6,12 +6,12 @@ interface ValueListProps {
|
|
|
6
6
|
interface ValueListItemProps {
|
|
7
7
|
children: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const Label: ({ children }: ValueListItemProps) => JSX.Element;
|
|
10
|
-
export declare const Value: ({ children }: ValueListItemProps) => JSX.Element;
|
|
11
|
-
export declare const List: ({ children, inverted }: ValueListProps) => JSX.Element;
|
|
9
|
+
export declare const Label: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Value: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const List: ({ children, inverted }: ValueListProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
declare const _default: {
|
|
13
|
-
List: ({ children, inverted }: ValueListProps) => JSX.Element;
|
|
14
|
-
Label: ({ children }: ValueListItemProps) => JSX.Element;
|
|
15
|
-
Value: ({ children }: ValueListItemProps) => JSX.Element;
|
|
13
|
+
List: ({ children, inverted }: ValueListProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
Label: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
Value: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
export default _default;
|
package/src/lib/modal/modal.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export interface ModalProps {
|
|
|
13
13
|
onConfirm?: ModalEventListener;
|
|
14
14
|
onDismiss?: ModalEventListener;
|
|
15
15
|
}
|
|
16
|
-
export declare const Modal: ({ type, isOpen, ...props }: ModalProps) => JSX.Element | null;
|
|
16
|
+
export declare const Modal: ({ type, isOpen, ...props }: ModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
17
17
|
export default Modal;
|
|
@@ -8,5 +8,5 @@ export interface NavProps extends HTMLAttributes<HTMLElement> {
|
|
|
8
8
|
variant?: NavbarVariant;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
}
|
|
11
|
-
export declare const Navbar: ({ children, variant, title, titleLink, brandLink, brandAriaLabel, }: NavProps) => JSX.Element;
|
|
11
|
+
export declare const Navbar: ({ children, variant, title, titleLink, brandLink, brandAriaLabel, }: NavProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default Navbar;
|
|
@@ -11,6 +11,7 @@ export interface SelectProps extends SelectorAttributesProps, LabelProps {
|
|
|
11
11
|
testId?: string;
|
|
12
12
|
expandableInfo?: string;
|
|
13
13
|
expandableInfoButtonLabel?: string;
|
|
14
|
+
name?: string;
|
|
14
15
|
}
|
|
15
16
|
interface OptionProps {
|
|
16
17
|
children: string;
|
|
@@ -31,11 +32,11 @@ interface OptionGroupProps {
|
|
|
31
32
|
disabled?: boolean;
|
|
32
33
|
}
|
|
33
34
|
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
34
|
-
export declare const Option: ({ value, children, ...rest }: OptionProps) => JSX.Element;
|
|
35
|
-
export declare const OptionGroup: ({ label, disabled, children, }: OptionGroupProps) => JSX.Element;
|
|
35
|
+
export declare const Option: ({ value, children, ...rest }: OptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare const OptionGroup: ({ label, disabled, children, }: OptionGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
37
|
declare const _default: {
|
|
37
38
|
Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
38
|
-
Option: ({ value, children, ...rest }: OptionProps) => JSX.Element;
|
|
39
|
-
OptionGroup: ({ label, disabled, children, }: OptionGroupProps) => JSX.Element;
|
|
39
|
+
Option: ({ value, children, ...rest }: OptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
OptionGroup: ({ label, disabled, children, }: OptionGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
41
|
};
|
|
41
42
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SliderProps } from '../../types';
|
|
2
|
-
export declare function Slider({ name, value, defaultValue, min, max, minMaxFormat, showMinMax, step, label, instruction, errorMessage, hasTextbox, unitLabel, disabled, onChange, enableClamping, onClamp, }: SliderProps): JSX.Element;
|
|
2
|
+
export declare function Slider({ name, value, defaultValue, min, max, minMaxFormat, showMinMax, step, label, instruction, errorMessage, hasTextbox, unitLabel, disabled, onChange, enableClamping, onClamp, enterKeyHint, }: SliderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Slider;
|
|
@@ -6,4 +6,4 @@ export interface StepperProps extends StepperArgs {
|
|
|
6
6
|
statusMessage?: string;
|
|
7
7
|
validator?: IValidator;
|
|
8
8
|
}
|
|
9
|
-
export declare function Stepper({ label, description, statusMessage, validator, ...stepperArgs }: StepperProps): JSX.Element;
|
|
9
|
+
export declare function Stepper({ label, description, statusMessage, validator, ...stepperArgs }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
package/src/lib/tabs/tabs.d.ts
CHANGED
|
@@ -22,5 +22,5 @@ export interface TabProps {
|
|
|
22
22
|
selected?: boolean;
|
|
23
23
|
}
|
|
24
24
|
export declare const Tab: (props: PropsWithChildren<TabProps>) => null;
|
|
25
|
-
export declare const Tabs: ({ list, onTabChange, children }: TabsProps) => JSX.Element;
|
|
25
|
+
export declare const Tabs: ({ list, onTabChange, children }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export default Tabs;
|
|
@@ -30,6 +30,7 @@ export interface SliderProps {
|
|
|
30
30
|
onChange?: (value: number) => void;
|
|
31
31
|
enableClamping?: boolean;
|
|
32
32
|
onClamp?: (value: number) => void;
|
|
33
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
33
34
|
/**
|
|
34
35
|
* @deprecated Use `value` instead
|
|
35
36
|
*/
|