@ioca/react 1.2.5 → 1.2.6

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.
@@ -63,6 +63,7 @@ interface IButtonToggle extends IButton {
63
63
  activeClass?: string;
64
64
  after?: ReactNode;
65
65
  disabled?: boolean;
66
+ toggable?: () => boolean | Promise<boolean>;
66
67
  onToggle?: (active: boolean) => void;
67
68
  }
68
69
  interface IButtonGroup {
@@ -715,6 +716,7 @@ interface ISwiper {
715
716
  autoplay?: boolean;
716
717
  pauseOnHover?: boolean;
717
718
  indicator?: boolean;
719
+ fixedIndicator?: boolean;
718
720
  itemHeight?: number;
719
721
  vertical?: boolean;
720
722
  prev?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ioca/react",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",