@indxsearch/systm 1.2.3 → 1.2.5
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/components/Checkbox/Checkbox.d.ts +2 -1
- package/dist/components/FilterPanelBase/FilterPanelBase.d.ts +2 -1
- package/dist/components/InputField/InputField.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +2 -0
- package/dist/components/RadioButton/RadioButton.d.ts +1 -0
- package/dist/components/SearchField/SearchField.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +3 -0
- package/dist/components/Slider/Slider.d.ts +3 -0
- package/dist/components/Table/Table.d.ts +3 -1
- package/dist/components/Table/TableCell.d.ts +3 -1
- package/dist/components/Table/TableIcon.d.ts +2 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +1 -0
- package/dist/index.es.js +2084 -1972
- package/dist/index.umd.js +9 -9
- package/dist/systm.css +1 -1
- package/package.json +1 -1
|
@@ -2,5 +2,6 @@ import React from 'react';
|
|
|
2
2
|
export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
3
|
label?: string;
|
|
4
4
|
score?: string;
|
|
5
|
+
'aria-label'?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare const Checkbox: ({ label, score, className, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const Checkbox: ({ label, score, className, id: providedId, "aria-label": ariaLabel, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ type Props = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
collapsible?: boolean;
|
|
7
7
|
collapsed?: boolean;
|
|
8
|
+
headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
8
9
|
};
|
|
9
|
-
export declare function FilterPanelBase({ title, children, className, collapsible, collapsed, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function FilterPanelBase({ title, children, className, collapsible, collapsed, headingLevel, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -6,4 +6,4 @@ export interface InputFieldProps extends React.InputHTMLAttributes<HTMLInputElem
|
|
|
6
6
|
isValid?: boolean;
|
|
7
7
|
variant?: 'default' | 'borderBottom';
|
|
8
8
|
}
|
|
9
|
-
export declare function InputField({ label, error, className, isValid, variant, ...props }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function InputField({ label, error, className, isValid, variant, id: providedId, ...props }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,5 +15,5 @@ export interface SearchFieldProps extends React.InputHTMLAttributes<HTMLInputEle
|
|
|
15
15
|
showFocusBorder?: boolean;
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare function SearchField({ label, error, className, showSearchIcon, searchIcon, searchIconColor, inputSize, showFocusBorder, children, ...props }: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function SearchField({ label, error, className, showSearchIcon, searchIcon, searchIconColor, inputSize, showFocusBorder, children, id: providedId, type, ...props }: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -13,6 +13,9 @@ interface BaseSliderProps {
|
|
|
13
13
|
highlightFaceted?: boolean;
|
|
14
14
|
onChange: (val: SingleValue | RangeValue) => void;
|
|
15
15
|
onFinalChange?: (val: SingleValue | RangeValue) => void;
|
|
16
|
+
label?: string;
|
|
17
|
+
'aria-label'?: string;
|
|
18
|
+
id?: string;
|
|
16
19
|
}
|
|
17
20
|
type SliderProps = (BaseSliderProps & {
|
|
18
21
|
value: SingleValue;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface TableProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
+
caption?: string;
|
|
5
|
+
'aria-label'?: string;
|
|
4
6
|
}
|
|
5
|
-
export declare function Table({ children }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function Table({ children, caption, 'aria-label': ariaLabel }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export {};
|
|
@@ -2,6 +2,8 @@ import React from 'react';
|
|
|
2
2
|
interface TableCellProps {
|
|
3
3
|
label?: string;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
isHeader?: boolean;
|
|
6
|
+
scope?: 'col' | 'row';
|
|
5
7
|
}
|
|
6
|
-
export declare function TableCell({ label, children }: TableCellProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function TableCell({ label, children, isHeader, scope }: TableCellProps): import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
export {};
|
|
@@ -5,6 +5,7 @@ interface IconProps {
|
|
|
5
5
|
}
|
|
6
6
|
interface TableIconProps {
|
|
7
7
|
children: React.ReactElement<IconProps>;
|
|
8
|
+
'aria-label'?: string;
|
|
8
9
|
}
|
|
9
|
-
export declare function TableIcon({ children }: TableIconProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function TableIcon({ children, 'aria-label': ariaLabel }: TableIconProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|