loon-bulma-react 2024.1.1 → 2024.1.3

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/index.d.cts CHANGED
@@ -580,7 +580,7 @@ declare const Hero: {
580
580
  Foot: {
581
581
  ({ children, narrow }: {
582
582
  children: React$1.ReactNode;
583
- narrow?: boolean | undefined;
583
+ narrow?: boolean;
584
584
  }): react_jsx_runtime.JSX.Element;
585
585
  /** Navigation ItemList voor In een Hero Foot. Parent should be <Hero.Foot> and children should be <Hero.Foot.NavItem>
586
586
  * @param props props
@@ -601,16 +601,16 @@ declare const Hero: {
601
601
  */
602
602
  NavItem: ({ children, active, title }: {
603
603
  children: React$1.ReactNode;
604
- active?: boolean | undefined;
605
- title?: string | undefined;
604
+ active?: boolean;
605
+ title?: string;
606
606
  }) => react_jsx_runtime.JSX.Element;
607
607
  NavLink: ({ children, active, title, to, target, rel, }: {
608
608
  children: React$1.ReactNode;
609
- active?: boolean | undefined;
610
- title?: string | undefined;
611
- to?: string | undefined;
612
- target?: string | undefined;
613
- rel?: string | undefined;
609
+ active?: boolean;
610
+ title?: string;
611
+ to?: string;
612
+ target?: AnchorTargetProp;
613
+ rel?: AnchorRelProp;
614
614
  }) => react_jsx_runtime.JSX.Element;
615
615
  };
616
616
  /** Top-bar van de hero met
@@ -637,9 +637,9 @@ declare const Hero: {
637
637
  */
638
638
  Button({ children, title, onClick, }: {
639
639
  children: React$1.ReactNode;
640
- /** @deprecated use `title` */ tooltip?: string | undefined;
641
- title?: string | undefined;
642
- onClick?: ((e: any) => void) | undefined;
640
+ /** @deprecated use `title` */ tooltip?: string;
641
+ title?: string;
642
+ onClick?: (e: any) => void;
643
643
  }): react_jsx_runtime.JSX.Element;
644
644
  /** Een link in de hero head
645
645
  * @param props props
@@ -648,11 +648,11 @@ declare const Hero: {
648
648
  */
649
649
  Link({ children, title, to, target, rel, }: {
650
650
  children: React$1.ReactNode;
651
- /** @deprecated use `title` */ tooltip?: string | undefined;
652
- title?: string | undefined;
653
- to?: string | undefined;
654
- target?: string | undefined;
655
- rel?: string | undefined;
651
+ /** @deprecated use `title` */ tooltip?: string;
652
+ title?: string;
653
+ to?: string;
654
+ target?: AnchorTargetProp;
655
+ rel?: AnchorRelProp;
656
656
  }): react_jsx_runtime.JSX.Element;
657
657
  };
658
658
  };
@@ -4789,8 +4789,9 @@ declare const ColorSchemeContext: React$1.Context<{
4789
4789
  scheme: ColorSchemeType;
4790
4790
  setScheme: (v: ColorSchemeType) => void;
4791
4791
  }>;
4792
- declare function ColorSchemeProvider({ children }: {
4792
+ declare function ColorSchemeProvider({ children, initialTheme }: {
4793
4793
  children: React$1.ReactNode;
4794
+ initialTheme?: ColorSchemeType | undefined;
4794
4795
  }): react_jsx_runtime.JSX.Element;
4795
4796
  declare function useColorScheme(): {
4796
4797
  scheme: ColorSchemeType;
package/dist/index.d.ts CHANGED
@@ -580,7 +580,7 @@ declare const Hero: {
580
580
  Foot: {
581
581
  ({ children, narrow }: {
582
582
  children: React$1.ReactNode;
583
- narrow?: boolean | undefined;
583
+ narrow?: boolean;
584
584
  }): react_jsx_runtime.JSX.Element;
585
585
  /** Navigation ItemList voor In een Hero Foot. Parent should be <Hero.Foot> and children should be <Hero.Foot.NavItem>
586
586
  * @param props props
@@ -601,16 +601,16 @@ declare const Hero: {
601
601
  */
602
602
  NavItem: ({ children, active, title }: {
603
603
  children: React$1.ReactNode;
604
- active?: boolean | undefined;
605
- title?: string | undefined;
604
+ active?: boolean;
605
+ title?: string;
606
606
  }) => react_jsx_runtime.JSX.Element;
607
607
  NavLink: ({ children, active, title, to, target, rel, }: {
608
608
  children: React$1.ReactNode;
609
- active?: boolean | undefined;
610
- title?: string | undefined;
611
- to?: string | undefined;
612
- target?: string | undefined;
613
- rel?: string | undefined;
609
+ active?: boolean;
610
+ title?: string;
611
+ to?: string;
612
+ target?: AnchorTargetProp;
613
+ rel?: AnchorRelProp;
614
614
  }) => react_jsx_runtime.JSX.Element;
615
615
  };
616
616
  /** Top-bar van de hero met
@@ -637,9 +637,9 @@ declare const Hero: {
637
637
  */
638
638
  Button({ children, title, onClick, }: {
639
639
  children: React$1.ReactNode;
640
- /** @deprecated use `title` */ tooltip?: string | undefined;
641
- title?: string | undefined;
642
- onClick?: ((e: any) => void) | undefined;
640
+ /** @deprecated use `title` */ tooltip?: string;
641
+ title?: string;
642
+ onClick?: (e: any) => void;
643
643
  }): react_jsx_runtime.JSX.Element;
644
644
  /** Een link in de hero head
645
645
  * @param props props
@@ -648,11 +648,11 @@ declare const Hero: {
648
648
  */
649
649
  Link({ children, title, to, target, rel, }: {
650
650
  children: React$1.ReactNode;
651
- /** @deprecated use `title` */ tooltip?: string | undefined;
652
- title?: string | undefined;
653
- to?: string | undefined;
654
- target?: string | undefined;
655
- rel?: string | undefined;
651
+ /** @deprecated use `title` */ tooltip?: string;
652
+ title?: string;
653
+ to?: string;
654
+ target?: AnchorTargetProp;
655
+ rel?: AnchorRelProp;
656
656
  }): react_jsx_runtime.JSX.Element;
657
657
  };
658
658
  };
@@ -4789,8 +4789,9 @@ declare const ColorSchemeContext: React$1.Context<{
4789
4789
  scheme: ColorSchemeType;
4790
4790
  setScheme: (v: ColorSchemeType) => void;
4791
4791
  }>;
4792
- declare function ColorSchemeProvider({ children }: {
4792
+ declare function ColorSchemeProvider({ children, initialTheme }: {
4793
4793
  children: React$1.ReactNode;
4794
+ initialTheme?: ColorSchemeType | undefined;
4794
4795
  }): react_jsx_runtime.JSX.Element;
4795
4796
  declare function useColorScheme(): {
4796
4797
  scheme: ColorSchemeType;