@indxsearch/systm 1.2.2 → 1.2.4

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.
@@ -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;
@@ -8,5 +8,7 @@ export interface PopoverProps {
8
8
  side?: 'top' | 'right' | 'bottom' | 'left';
9
9
  sideOffset?: number;
10
10
  className?: string;
11
+ 'aria-label'?: string;
12
+ 'aria-describedby'?: string;
11
13
  }
12
14
  export declare const Popover: React.FC<PopoverProps>;
@@ -7,6 +7,7 @@ type RadioButtonProps = {
7
7
  checked?: boolean;
8
8
  onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
9
9
  disabled?: boolean;
10
+ 'aria-label'?: string;
10
11
  };
11
12
  export declare const RadioButton: React.FC<RadioButtonProps>;
12
13
  export {};
@@ -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 {};
@@ -10,5 +10,8 @@ export interface SelectProps {
10
10
  placeholder?: string;
11
11
  className?: string;
12
12
  disabled?: boolean;
13
+ label?: string;
14
+ 'aria-label'?: string;
15
+ id?: string;
13
16
  }
14
17
  export declare const Select: React.FC<SelectProps>;
@@ -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 {};
@@ -5,6 +5,7 @@ type ToggleSwitchProps = {
5
5
  onChange: (checked: boolean) => void;
6
6
  disabled?: boolean;
7
7
  label?: string;
8
+ 'aria-label'?: string;
8
9
  };
9
10
  export declare const ToggleSwitch: React.FC<ToggleSwitchProps>;
10
11
  export {};