diff --git a/docs/functions/client_loader_container_loader_container.LoaderContainer.html b/docs/functions/client_loader_container_loader_container.LoaderContainer.html index bf42334e..cf8a3fec 100644 --- a/docs/functions/client_loader_container_loader_container.LoaderContainer.html +++ b/docs/functions/client_loader_container_loader_container.LoaderContainer.html @@ -1,2 +1,2 @@ LoaderContainer | React18 Loaders
\ No newline at end of file +

Parameters

Returns Element

\ No newline at end of file diff --git a/docs/functions/hooks_use_loader.useLoader.html b/docs/functions/hooks_use_loader.useLoader.html index 6f60a8e0..f43eb144 100644 --- a/docs/functions/hooks_use_loader.useLoader.html +++ b/docs/functions/hooks_use_loader.useLoader.html @@ -1 +1 @@ -useLoader | React18 Loaders
  • Returns {
        loading: boolean;
        setLoading: SetStateAction<boolean>;
    }

    • loading: boolean
    • setLoading: SetStateAction<boolean>
\ No newline at end of file +useLoader | React18 Loaders
  • Returns {
        loading: boolean;
        setLoading: SetStateAction<boolean>;
    }

    • loading: boolean
    • setLoading: SetStateAction<boolean>
\ No newline at end of file diff --git a/docs/functions/server_bars_bars1_bars1.Bars1.html b/docs/functions/server_bars_bars1_bars1.Bars1.html index 53d57402..ef465148 100644 --- a/docs/functions/server_bars_bars1_bars1.Bars1.html +++ b/docs/functions/server_bars_bars1_bars1.Bars1.html @@ -5,4 +5,4 @@
export function Bars1(props: BaseProps) {
return <Base {...props} loaderClass={styles.loader} />;
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/server_bars_bars2_bars2.Bars2.html b/docs/functions/server_bars_bars2_bars2.Bars2.html index d3d8c2d0..3ea301cb 100644 --- a/docs/functions/server_bars_bars2_bars2.Bars2.html +++ b/docs/functions/server_bars_bars2_bars2.Bars2.html @@ -5,4 +5,4 @@
export function Bars2(props: BaseProps) {
return <Base {...props} loaderClass={styles.loader} />;
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/server_common_base_base.Base.html b/docs/functions/server_common_base_base.Base.html index 27d4eeb4..e5de3164 100644 --- a/docs/functions/server_common_base_base.Base.html +++ b/docs/functions/server_common_base_base.Base.html @@ -1,3 +1,3 @@ Base | React18 Loaders
  • Base component to avoid code duplication

    default values should be specified in css files - so no need to set them in JSX

    -

    Parameters

    Returns Element

\ No newline at end of file +

Parameters

Returns Element

\ No newline at end of file diff --git a/docs/functions/server_dots_dots1_dots1.Dots1.html b/docs/functions/server_dots_dots1_dots1.Dots1.html index 09ba1b1a..e942e4eb 100644 --- a/docs/functions/server_dots_dots1_dots1.Dots1.html +++ b/docs/functions/server_dots_dots1_dots1.Dots1.html @@ -5,4 +5,4 @@
export function Dots1(props: BaseProps) {
return <Base {...props} loaderClass={styles.loader} />;
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/server_dots_dots2_dots2.Dots2.html b/docs/functions/server_dots_dots2_dots2.Dots2.html index 0cd055b5..e6d53d6d 100644 --- a/docs/functions/server_dots_dots2_dots2.Dots2.html +++ b/docs/functions/server_dots_dots2_dots2.Dots2.html @@ -5,4 +5,4 @@
export function Dots2(props: Dots2Props) {
return <Base {...props} loaderClass={styles.loader} />;
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/interfaces/client_loader_container_loader_container._internal_.LoaderContainerProps.html b/docs/interfaces/client_loader_container_loader_container._internal_.LoaderContainerProps.html index 8c4da9ab..d0087ccd 100644 --- a/docs/interfaces/client_loader_container_loader_container._internal_.LoaderContainerProps.html +++ b/docs/interfaces/client_loader_container_loader_container._internal_.LoaderContainerProps.html @@ -1,3 +1,3 @@ -LoaderContainerProps | React18 Loaders
interface LoaderContainerProps {
    children?: ReactNode;
    loading?: boolean;
}

Hierarchy

Properties

children? +LoaderContainerProps | React18 Loaders
interface LoaderContainerProps {
    children?: ReactNode;
    loading?: boolean;
}

Hierarchy

Properties

Properties

children?: ReactNode
loading?: boolean
\ No newline at end of file +

Properties

children?: ReactNode
loading?: boolean
\ No newline at end of file diff --git a/docs/interfaces/server_common_base_base.BaseProps.html b/docs/interfaces/server_common_base_base.BaseProps.html index e90f0912..960de14f 100644 --- a/docs/interfaces/server_common_base_base.BaseProps.html +++ b/docs/interfaces/server_common_base_base.BaseProps.html @@ -1,8 +1,8 @@ BaseProps | React18 Loaders

Interface declaring the common properties of the loaders

-
interface BaseProps {
    color?: string;
    height?: string | number;
    width?: string | number;
}

Hierarchy (view full)

Properties

interface BaseProps {
    color?: string;
    height?: string | number;
    width?: string | number;
}

Hierarchy (view full)

Properties

Properties

color?: string

Color of the dots - CSS compatible color

-
height?: string | number

height of the loader element in pixels or a string with a length unit.

-
width?: string | number

width of the loader element in pixels or a string with a length unit.

-
\ No newline at end of file +
height?: string | number

height of the loader element in pixels or a string with a length unit.

+
width?: string | number

width of the loader element in pixels or a string with a length unit.

+
\ No newline at end of file diff --git a/docs/interfaces/server_common_base_base._internal_.OtherProps.html b/docs/interfaces/server_common_base_base._internal_.OtherProps.html index f09dfeb7..cef53a8a 100644 --- a/docs/interfaces/server_common_base_base._internal_.OtherProps.html +++ b/docs/interfaces/server_common_base_base._internal_.OtherProps.html @@ -1,5 +1,5 @@ OtherProps | React18 Loaders

Other props - loaderClass is included here as we will extend BaseProps for other loaders

-
interface OtherProps {
    dotRadius?: string | number;
    loaderClass: string;
}

Properties

interface OtherProps {
    dotRadius?: string | number;
    loaderClass: string;
}

Properties

dotRadius?: string | number
loaderClass: string

Loader class name

-
\ No newline at end of file +

Properties

dotRadius?: string | number
loaderClass: string

Loader class name

+
\ No newline at end of file diff --git a/docs/interfaces/server_dots_dots2_dots2._internal_.Dots2Props.html b/docs/interfaces/server_dots_dots2_dots2._internal_.Dots2Props.html index 0cd04cd5..b347ce1c 100644 --- a/docs/interfaces/server_dots_dots2_dots2._internal_.Dots2Props.html +++ b/docs/interfaces/server_dots_dots2_dots2._internal_.Dots2Props.html @@ -1,10 +1,10 @@ Dots2Props | React18 Loaders

Interface declaring the common properties of the loaders

-
interface Dots2Props {
    color?: string;
    dotRadius?: string | number;
    height?: string | number;
    width?: string | number;
}

Hierarchy (view full)

Properties

interface Dots2Props {
    color?: string;
    dotRadius?: string | number;
    height?: string | number;
    width?: string | number;
}

Hierarchy (view full)

Properties

color?: string

Color of the dots - CSS compatible color

-
dotRadius?: string | number

Radius of the dots in pixels or a string with a length unit.

-
height?: string | number

height of the loader element in pixels or a string with a length unit.

-
width?: string | number

width of the loader element in pixels or a string with a length unit.

-
\ No newline at end of file +
dotRadius?: string | number

Radius of the dots in pixels or a string with a length unit.

+
height?: string | number

height of the loader element in pixels or a string with a length unit.

+
width?: string | number

width of the loader element in pixels or a string with a length unit.

+
\ No newline at end of file diff --git a/docs/modules/client_loader_container_loader_container.html b/docs/modules/client_loader_container_loader_container.html index 678dc27c..47891359 100644 --- a/docs/modules/client_loader_container_loader_container.html +++ b/docs/modules/client_loader_container_loader_container.html @@ -1,3 +1,3 @@ -client/loader-container/loader-container | React18 Loaders

Module client/loader-container/loader-container

Index

Modules

<internal> +client/loader-container/loader-container | React18 Loaders
\ No newline at end of file diff --git a/docs/modules/constants.html b/docs/modules/constants.html index 486b6199..ba78b3ce 100644 --- a/docs/modules/constants.html +++ b/docs/modules/constants.html @@ -1,2 +1,2 @@ -constants | React18 Loaders

Module constants

Index

Variables

LOADER_RGS_KEY +constants | React18 Loaders

Module constants

Index

Variables

\ No newline at end of file diff --git a/docs/modules/hooks_use_loader.html b/docs/modules/hooks_use_loader.html index d7679da3..1f726163 100644 --- a/docs/modules/hooks_use_loader.html +++ b/docs/modules/hooks_use_loader.html @@ -1,2 +1,2 @@ -hooks/use-loader | React18 Loaders

Module hooks/use-loader

Index

Functions

useLoader +hooks/use-loader | React18 Loaders

Module hooks/use-loader

Index

Functions

\ No newline at end of file diff --git a/docs/modules/server_bars_bars1_bars1.html b/docs/modules/server_bars_bars1_bars1.html index 8e79207b..0544be4b 100644 --- a/docs/modules/server_bars_bars1_bars1.html +++ b/docs/modules/server_bars_bars1_bars1.html @@ -1,2 +1,2 @@ -server/bars/bars1/bars1 | React18 Loaders

Module server/bars/bars1/bars1

Index

Functions

Bars1 +server/bars/bars1/bars1 | React18 Loaders

Module server/bars/bars1/bars1

Index

Functions

\ No newline at end of file diff --git a/docs/modules/server_bars_bars2_bars2.html b/docs/modules/server_bars_bars2_bars2.html index 8779f957..e38a6d4b 100644 --- a/docs/modules/server_bars_bars2_bars2.html +++ b/docs/modules/server_bars_bars2_bars2.html @@ -1,2 +1,2 @@ -server/bars/bars2/bars2 | React18 Loaders

Module server/bars/bars2/bars2

Index

Functions

Bars2 +server/bars/bars2/bars2 | React18 Loaders

Module server/bars/bars2/bars2

Index

Functions

\ No newline at end of file diff --git a/docs/modules/server_common_base_base.html b/docs/modules/server_common_base_base.html index 60a9fdfc..a3faf1fe 100644 --- a/docs/modules/server_common_base_base.html +++ b/docs/modules/server_common_base_base.html @@ -1,4 +1,4 @@ -server/common/base/base | React18 Loaders

Module server/common/base/base

Index

Modules

<internal> +server/common/base/base | React18 Loaders

Module server/common/base/base

Index

Modules

Interfaces

Functions

\ No newline at end of file diff --git a/docs/modules/server_dots_dots1_dots1.html b/docs/modules/server_dots_dots1_dots1.html index 1f4dc659..0f3f8cac 100644 --- a/docs/modules/server_dots_dots1_dots1.html +++ b/docs/modules/server_dots_dots1_dots1.html @@ -1,2 +1,2 @@ -server/dots/dots1/dots1 | React18 Loaders

Module server/dots/dots1/dots1

Index

Functions

Dots1 +server/dots/dots1/dots1 | React18 Loaders

Module server/dots/dots1/dots1

Index

Functions

\ No newline at end of file diff --git a/docs/modules/server_dots_dots2_dots2.html b/docs/modules/server_dots_dots2_dots2.html index 2f75446e..63e4332a 100644 --- a/docs/modules/server_dots_dots2_dots2.html +++ b/docs/modules/server_dots_dots2_dots2.html @@ -1,3 +1,3 @@ -server/dots/dots2/dots2 | React18 Loaders

Module server/dots/dots2/dots2

Index

Modules

<internal> +server/dots/dots2/dots2 | React18 Loaders

Module server/dots/dots2/dots2

Index

Modules

Functions

\ No newline at end of file diff --git a/docs/variables/constants.LOADER_RGS_KEY.html b/docs/variables/constants.LOADER_RGS_KEY.html index 87870d1b..4d5d9b08 100644 --- a/docs/variables/constants.LOADER_RGS_KEY.html +++ b/docs/variables/constants.LOADER_RGS_KEY.html @@ -1,2 +1,2 @@ LOADER_RGS_KEY | React18 Loaders

Variable LOADER_RGS_KEYConst

LOADER_RGS_KEY: "r18-loaders" = "r18-loaders"

const uuid = () => (Date.now() * Math.random()).toString(16).slice(2, 8);

-
\ No newline at end of file +
\ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c596b044..0b197711 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1505,8 +1505,8 @@ packages: '@rushstack/eslint-patch@1.10.3': resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==} - '@shikijs/core@1.10.0': - resolution: {integrity: sha512-BZcr6FCmPfP6TXaekvujZcnkFmJHZ/Yglu97r/9VjzVndQA56/F4WjUKtJRQUnK59Wi7p/UTAOekMfCJv7jnYg==} + '@shikijs/core@1.10.1': + resolution: {integrity: sha512-qdiJS5a/QGCff7VUFIqd0hDdWly9rDp8lhVmXVrS11aazX8LOTRLHAXkkEeONNsS43EcCd7gax9LLoOz4vlFQA==} '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -5004,8 +5004,8 @@ packages: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} - pkg-types@1.1.2: - resolution: {integrity: sha512-VEGf1he2DR5yowYRl0XJhWJq5ktm9gYIsH+y8sNJpHlxch7JPDaufgrsl4vYjd9hMUY8QVjoNncKbow9I7exyA==} + pkg-types@1.1.3: + resolution: {integrity: sha512-+JrgthZG6m3ckicaOB74TwQ+tBWsFl3qVQg7mN8ulwSOElJ7gBhKzj2VkCPnZ4NlF6kEquYU+RIYNVAvzd54UA==} plop@4.0.1: resolution: {integrity: sha512-5n8QU93kvL/ObOzBcPAB1siVFtAH1TZM6TntJ3JK5kXT0jIgnQV+j+uaOWWFJlg1cNkzLYm8klgASF65K36q9w==} @@ -5548,8 +5548,8 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - shiki@1.10.0: - resolution: {integrity: sha512-YD2sXQ+TMD/F9BimV9Jn0wj35pqOvywvOG/3PB6hGHyGKlM7TJ9tyJ02jOb2kF8F0HfJwKNYrh3sW7jEcuRlXA==} + shiki@1.10.1: + resolution: {integrity: sha512-uafV7WCgN4YYrccH6yxpnps6k38sSTlFRrwc4jycWmhWxJIm9dPrk+XkY1hZ2t0I7jmacMNb15Lf2fspa/Y3lg==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -6225,8 +6225,8 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - update-browserslist-db@1.0.16: - resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} + update-browserslist-db@1.1.0: + resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' @@ -7837,7 +7837,7 @@ snapshots: '@rushstack/eslint-patch@1.10.3': {} - '@shikijs/core@1.10.0': {} + '@shikijs/core@1.10.1': {} '@sinclair/typebox@0.27.8': {} @@ -8708,7 +8708,7 @@ snapshots: caniuse-lite: 1.0.30001639 electron-to-chromium: 1.4.816 node-releases: 2.0.14 - update-browserslist-db: 1.0.16(browserslist@4.23.1) + update-browserslist-db: 1.1.0(browserslist@4.23.1) bs-logger@0.2.6: dependencies: @@ -11194,7 +11194,7 @@ snapshots: local-pkg@0.5.0: dependencies: mlly: 1.7.1 - pkg-types: 1.1.2 + pkg-types: 1.1.3 locate-path@5.0.0: dependencies: @@ -12012,7 +12012,7 @@ snapshots: dependencies: acorn: 8.12.0 pathe: 1.1.2 - pkg-types: 1.1.2 + pkg-types: 1.1.3 ufo: 1.5.3 modern-ahocorasick@1.0.1: {} @@ -12471,7 +12471,7 @@ snapshots: dependencies: find-up: 4.1.0 - pkg-types@1.1.2: + pkg-types@1.1.3: dependencies: confbox: 0.1.7 mlly: 1.7.1 @@ -13091,9 +13091,9 @@ snapshots: shebang-regex@3.0.0: {} - shiki@1.10.0: + shiki@1.10.1: dependencies: - '@shikijs/core': 1.10.0 + '@shikijs/core': 1.10.1 side-channel@1.0.6: dependencies: @@ -13664,7 +13664,7 @@ snapshots: lunr: 2.3.9 markdown-it: 14.1.0 minimatch: 9.0.5 - shiki: 1.10.0 + shiki: 1.10.1 typescript: 5.5.3 yaml: 2.4.5 @@ -13822,7 +13822,7 @@ snapshots: unpipe@1.0.0: {} - update-browserslist-db@1.0.16(browserslist@4.23.1): + update-browserslist-db@1.1.0(browserslist@4.23.1): dependencies: browserslist: 4.23.1 escalade: 3.1.2