@lax-wp/design-system 0.3.82 → 0.3.84

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.
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- interface IconButtonProps {
2
+ export interface IconButtonProps {
3
3
  children: ReactNode;
4
4
  className?: string;
5
5
  onClick?(event: React.MouseEvent<HTMLButtonElement>): void;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IRadioProps {
3
+ className?: string;
4
+ isChecked?: boolean;
5
+ onSelect?: (e: React.MouseEvent<HTMLInputElement>) => void;
6
+ }
7
+ declare const Radio: React.FC<IRadioProps>;
8
+ export default Radio;
@@ -24,6 +24,5 @@ export type TSearchBarProps = Omit<HTMLAttributes<HTMLInputElement>, 'onChange'>
24
24
  searchConfig?: TSearchConfig;
25
25
  hideSearchIcon?: boolean;
26
26
  allowAStarSearch?: boolean;
27
- isDark?: boolean;
28
27
  };
29
28
  export declare const SearchBar: FC<TSearchBarProps>;
package/dist/index.d.ts CHANGED
@@ -123,6 +123,10 @@ export { default as Button } from "./components/button/Button";
123
123
  export type { IButtonProps, IButtonStatus, IButtonAppearance, } from "./components/button/Button";
124
124
  export { OptionButton } from "./components/buttons/option-button/OptionButton";
125
125
  export type { OptionButtonProps, } from "./components/buttons/option-button/OptionButton";
126
+ export { default as IconButton } from "./components/button/IconButton";
127
+ export type { IconButtonProps, } from "./components/button/IconButton";
128
+ export { default as Radio } from "./components/button/Radio";
129
+ export type { IRadioProps, } from "./components/button/Radio";
126
130
  export { FloatingBar } from "./components/floating-bar/FloatingBar";
127
131
  export type { FloatingBarProps, FloatingBarActionConfig, FloatingBarDeleteConfig, FloatingBarSize, FloatingBarPosition, FloatingBarTheme, } from "./components/floating-bar/FloatingBar";
128
132
  export { SearchBar } from "./components/forms/search-bar/SearchBar";