@bi-digital/react 0.0.0-experimental-c293838

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.
Files changed (116) hide show
  1. package/README.md +1 -0
  2. package/dist/chunk-2C3XKBNM.js +1 -0
  3. package/dist/chunk-2C3XKBNM.js.map +1 -0
  4. package/dist/chunk-2PYB72CX.js +1 -0
  5. package/dist/chunk-2PYB72CX.js.map +1 -0
  6. package/dist/chunk-3XRBNC3R.js +32 -0
  7. package/dist/chunk-3XRBNC3R.js.map +1 -0
  8. package/dist/chunk-4WOE4T43.js +1 -0
  9. package/dist/chunk-4WOE4T43.js.map +1 -0
  10. package/dist/chunk-BBMVGCDE.js +1 -0
  11. package/dist/chunk-BBMVGCDE.js.map +1 -0
  12. package/dist/chunk-DT6EO53O.js +46 -0
  13. package/dist/chunk-DT6EO53O.js.map +1 -0
  14. package/dist/chunk-DZDPC6SE.js +1 -0
  15. package/dist/chunk-DZDPC6SE.js.map +1 -0
  16. package/dist/chunk-IT2O6DB2.js +53 -0
  17. package/dist/chunk-IT2O6DB2.js.map +1 -0
  18. package/dist/chunk-LLNHMZB2.js +1 -0
  19. package/dist/chunk-LLNHMZB2.js.map +1 -0
  20. package/dist/chunk-MXDZGWL4.js +33 -0
  21. package/dist/chunk-MXDZGWL4.js.map +1 -0
  22. package/dist/chunk-NLZRLXFN.js +30 -0
  23. package/dist/chunk-NLZRLXFN.js.map +1 -0
  24. package/dist/chunk-PD4PXDK2.js +1 -0
  25. package/dist/chunk-PD4PXDK2.js.map +1 -0
  26. package/dist/chunk-RAZCAHWX.js +1 -0
  27. package/dist/chunk-RAZCAHWX.js.map +1 -0
  28. package/dist/chunk-RELDFXH4.js +1 -0
  29. package/dist/chunk-RELDFXH4.js.map +1 -0
  30. package/dist/chunk-RONRQXS6.js +11 -0
  31. package/dist/chunk-RONRQXS6.js.map +1 -0
  32. package/dist/chunk-RVKE5NZR.js +1 -0
  33. package/dist/chunk-RVKE5NZR.js.map +1 -0
  34. package/dist/chunk-SGVCN25U.js +11 -0
  35. package/dist/chunk-SGVCN25U.js.map +1 -0
  36. package/dist/chunk-SHVA4JJZ.js +1 -0
  37. package/dist/chunk-SHVA4JJZ.js.map +1 -0
  38. package/dist/chunk-SX22Q2HZ.js +84 -0
  39. package/dist/chunk-SX22Q2HZ.js.map +1 -0
  40. package/dist/chunk-TUJK53CY.js +1 -0
  41. package/dist/chunk-TUJK53CY.js.map +1 -0
  42. package/dist/chunk-VPE7VEBG.js +8 -0
  43. package/dist/chunk-VPE7VEBG.js.map +1 -0
  44. package/dist/components/button/button.d.ts +59 -0
  45. package/dist/components/button/button.js +9 -0
  46. package/dist/components/button/button.js.map +1 -0
  47. package/dist/components/button/index.d.ts +4 -0
  48. package/dist/components/button/index.js +10 -0
  49. package/dist/components/button/index.js.map +1 -0
  50. package/dist/components/form/error-message/error-message.d.ts +10 -0
  51. package/dist/components/form/error-message/error-message.js +7 -0
  52. package/dist/components/form/error-message/error-message.js.map +1 -0
  53. package/dist/components/form/error-message/index.d.ts +3 -0
  54. package/dist/components/form/error-message/index.js +8 -0
  55. package/dist/components/form/error-message/index.js.map +1 -0
  56. package/dist/components/form/index.d.ts +6 -0
  57. package/dist/components/form/index.js +24 -0
  58. package/dist/components/form/index.js.map +1 -0
  59. package/dist/components/form/input/index.d.ts +5 -0
  60. package/dist/components/form/input/index.js +14 -0
  61. package/dist/components/form/input/index.js.map +1 -0
  62. package/dist/components/form/input/input.d.ts +11 -0
  63. package/dist/components/form/input/input.js +13 -0
  64. package/dist/components/form/input/input.js.map +1 -0
  65. package/dist/components/form/input-group/index.d.ts +4 -0
  66. package/dist/components/form/input-group/index.js +12 -0
  67. package/dist/components/form/input-group/index.js.map +1 -0
  68. package/dist/components/form/input-group/input-group.d.ts +27 -0
  69. package/dist/components/form/input-group/input-group.js +11 -0
  70. package/dist/components/form/input-group/input-group.js.map +1 -0
  71. package/dist/components/form/label/index.d.ts +3 -0
  72. package/dist/components/form/label/index.js +8 -0
  73. package/dist/components/form/label/index.js.map +1 -0
  74. package/dist/components/form/label/label.d.ts +23 -0
  75. package/dist/components/form/label/label.js +7 -0
  76. package/dist/components/form/label/label.js.map +1 -0
  77. package/dist/components/index.d.ts +11 -0
  78. package/dist/components/index.js +45 -0
  79. package/dist/components/index.js.map +1 -0
  80. package/dist/components/logo/index.d.ts +4 -0
  81. package/dist/components/logo/index.js +8 -0
  82. package/dist/components/logo/index.js.map +1 -0
  83. package/dist/components/logo/logo.d.ts +32 -0
  84. package/dist/components/logo/logo.js +7 -0
  85. package/dist/components/logo/logo.js.map +1 -0
  86. package/dist/components/navbar/index.d.ts +4 -0
  87. package/dist/components/navbar/index.js +10 -0
  88. package/dist/components/navbar/index.js.map +1 -0
  89. package/dist/components/navbar/navbar.d.ts +43 -0
  90. package/dist/components/navbar/navbar.js +9 -0
  91. package/dist/components/navbar/navbar.js.map +1 -0
  92. package/dist/components/spinner/index.d.ts +4 -0
  93. package/dist/components/spinner/index.js +8 -0
  94. package/dist/components/spinner/index.js.map +1 -0
  95. package/dist/components/spinner/spinner.d.ts +19 -0
  96. package/dist/components/spinner/spinner.js +7 -0
  97. package/dist/components/spinner/spinner.js.map +1 -0
  98. package/dist/main.d.ts +12 -0
  99. package/dist/main.js +51 -0
  100. package/dist/main.js.map +1 -0
  101. package/dist/utilities/hooks/index.d.ts +2 -0
  102. package/dist/utilities/hooks/index.js +8 -0
  103. package/dist/utilities/hooks/index.js.map +1 -0
  104. package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +5 -0
  105. package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +7 -0
  106. package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js.map +1 -0
  107. package/dist/utilities/index.d.ts +3 -0
  108. package/dist/utilities/index.js +9 -0
  109. package/dist/utilities/index.js.map +1 -0
  110. package/dist/utilities/types.d.ts +7 -0
  111. package/dist/utilities/types.js +1 -0
  112. package/dist/utilities/types.js.map +1 -0
  113. package/dist/vite-env.d.d.ts +1 -0
  114. package/dist/vite-env.d.js +1 -0
  115. package/dist/vite-env.d.js.map +1 -0
  116. package/package.json +50 -0
@@ -0,0 +1,24 @@
1
+ import "../../chunk-PD4PXDK2.js";
2
+ import "../../chunk-LLNHMZB2.js";
3
+ import {
4
+ Input
5
+ } from "../../chunk-DT6EO53O.js";
6
+ import "../../chunk-RAZCAHWX.js";
7
+ import {
8
+ InputGroup
9
+ } from "../../chunk-SX22Q2HZ.js";
10
+ import "../../chunk-RVKE5NZR.js";
11
+ import "../../chunk-RELDFXH4.js";
12
+ import {
13
+ Label
14
+ } from "../../chunk-3XRBNC3R.js";
15
+ import {
16
+ ErrorMessage
17
+ } from "../../chunk-SGVCN25U.js";
18
+ export {
19
+ ErrorMessage,
20
+ Input,
21
+ InputGroup,
22
+ Label
23
+ };
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,5 @@
1
+ export { Input, InputProps } from './input.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../input-group/input-group.js';
5
+ import '../error-message/error-message.js';
@@ -0,0 +1,14 @@
1
+ import "../../../chunk-LLNHMZB2.js";
2
+ import {
3
+ Input
4
+ } from "../../../chunk-DT6EO53O.js";
5
+ import "../../../chunk-RAZCAHWX.js";
6
+ import "../../../chunk-SX22Q2HZ.js";
7
+ import "../../../chunk-RVKE5NZR.js";
8
+ import "../../../chunk-RELDFXH4.js";
9
+ import "../../../chunk-3XRBNC3R.js";
10
+ import "../../../chunk-SGVCN25U.js";
11
+ export {
12
+ Input
13
+ };
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { InputHTMLAttributes, Ref } from 'react';
3
+ import { InputGroupProps } from '../input-group/input-group.js';
4
+ import '../error-message/error-message.js';
5
+
6
+ type InputProps = Omit<InputGroupProps & InputHTMLAttributes<HTMLInputElement>, 'children'> & {
7
+ ref?: Ref<HTMLInputElement>;
8
+ };
9
+ declare const Input: ({ dark, className, errorMessage, labelProps, label, id, style, stretch, disabled, readOnly, startAdornment, endAdornment, ref, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
10
+
11
+ export { Input, type InputProps };
@@ -0,0 +1,13 @@
1
+ import {
2
+ Input
3
+ } from "../../../chunk-DT6EO53O.js";
4
+ import "../../../chunk-RAZCAHWX.js";
5
+ import "../../../chunk-SX22Q2HZ.js";
6
+ import "../../../chunk-RVKE5NZR.js";
7
+ import "../../../chunk-RELDFXH4.js";
8
+ import "../../../chunk-3XRBNC3R.js";
9
+ import "../../../chunk-SGVCN25U.js";
10
+ export {
11
+ Input
12
+ };
13
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { InputGroup, InputGroupProps } from './input-group.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../error-message/error-message.js';
@@ -0,0 +1,12 @@
1
+ import "../../../chunk-RAZCAHWX.js";
2
+ import {
3
+ InputGroup
4
+ } from "../../../chunk-SX22Q2HZ.js";
5
+ import "../../../chunk-RVKE5NZR.js";
6
+ import "../../../chunk-RELDFXH4.js";
7
+ import "../../../chunk-3XRBNC3R.js";
8
+ import "../../../chunk-SGVCN25U.js";
9
+ export {
10
+ InputGroup
11
+ };
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,27 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ComponentProps, ReactNode, LabelHTMLAttributes, Ref } from 'react';
3
+ import { ErrorMessageProps } from '../error-message/error-message.js';
4
+
5
+ type InputGroupProps = ComponentProps<'div'> & {
6
+ dark?: boolean;
7
+ stretch?: boolean;
8
+ errorMessage?: ReactNode;
9
+ errorMessageProps?: Partial<ErrorMessageProps>;
10
+ labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
11
+ label: ReactNode;
12
+ disabled?: boolean;
13
+ readOnly?: boolean;
14
+ required?: boolean;
15
+ /**
16
+ * `children` must be a single input element.
17
+ */
18
+ children: Exclude<ReactNode, Iterable<ReactNode>>;
19
+ /** Add an adornment to the start of the input. */
20
+ startAdornment?: ReactNode;
21
+ /** Add an adornment to the end of the input. */
22
+ endAdornment?: ReactNode;
23
+ ref?: Ref<HTMLDivElement>;
24
+ };
25
+ declare const InputGroup: ({ id, className, style, dark, stretch, errorMessage, errorMessageProps, labelProps: { className: labelClassName, ...labelProps }, label, disabled, readOnly, required, children, startAdornment, endAdornment, ref, ...props }: InputGroupProps) => react_jsx_runtime.JSX.Element;
26
+
27
+ export { InputGroup, type InputGroupProps };
@@ -0,0 +1,11 @@
1
+ import {
2
+ InputGroup
3
+ } from "../../../chunk-SX22Q2HZ.js";
4
+ import "../../../chunk-RVKE5NZR.js";
5
+ import "../../../chunk-RELDFXH4.js";
6
+ import "../../../chunk-3XRBNC3R.js";
7
+ import "../../../chunk-SGVCN25U.js";
8
+ export {
9
+ InputGroup
10
+ };
11
+ //# sourceMappingURL=input-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,3 @@
1
+ export { Label, LabelProps } from './label.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
@@ -0,0 +1,8 @@
1
+ import "../../../chunk-RELDFXH4.js";
2
+ import {
3
+ Label
4
+ } from "../../../chunk-3XRBNC3R.js";
5
+ export {
6
+ Label
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,23 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ComponentProps } from 'react';
3
+
4
+ type LabelProps = ComponentProps<'label'> & {
5
+ /** The font style of the label. */
6
+ labelFontStyle?: 'regular' | 'bold';
7
+ htmlFor?: string;
8
+ required?: boolean;
9
+ disabled?: boolean;
10
+ /** Is the component displayed on a dark background. */
11
+ dark?: boolean;
12
+ /**
13
+ * The type of label. `label` is used for labeling specific elements. `legend` is a broad label used for a group of objects.
14
+ * @default 'label'
15
+ */
16
+ type?: 'label' | 'legend';
17
+ };
18
+ /**
19
+ * Accessible label component that can be used to display a label and help text for form fields.
20
+ */
21
+ declare const Label: ({ children, labelFontStyle, htmlFor, required, disabled, dark, className, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
22
+
23
+ export { Label, type LabelProps };
@@ -0,0 +1,7 @@
1
+ import {
2
+ Label
3
+ } from "../../../chunk-3XRBNC3R.js";
4
+ export {
5
+ Label
6
+ };
7
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ export { Button, ButtonProps } from './button/button.js';
2
+ export { ErrorMessage, ErrorMessageProps } from './form/error-message/error-message.js';
3
+ export { Input, InputProps } from './form/input/input.js';
4
+ export { InputGroup, InputGroupProps } from './form/input-group/input-group.js';
5
+ export { Label, LabelProps } from './form/label/label.js';
6
+ export { Logo, LogoProps } from './logo/logo.js';
7
+ export { Navbar, NavbarProps } from './navbar/navbar.js';
8
+ export { Spinner, SpinnerProps } from './spinner/spinner.js';
9
+ import 'react/jsx-runtime';
10
+ import 'react';
11
+ import '../utilities/types.js';
@@ -0,0 +1,45 @@
1
+ import "../chunk-2PYB72CX.js";
2
+ import "../chunk-4WOE4T43.js";
3
+ import {
4
+ Navbar
5
+ } from "../chunk-MXDZGWL4.js";
6
+ import "../chunk-SHVA4JJZ.js";
7
+ import {
8
+ Logo
9
+ } from "../chunk-NLZRLXFN.js";
10
+ import "../chunk-BBMVGCDE.js";
11
+ import {
12
+ Button
13
+ } from "../chunk-IT2O6DB2.js";
14
+ import "../chunk-2C3XKBNM.js";
15
+ import {
16
+ Spinner
17
+ } from "../chunk-RONRQXS6.js";
18
+ import "../chunk-PD4PXDK2.js";
19
+ import "../chunk-LLNHMZB2.js";
20
+ import {
21
+ Input
22
+ } from "../chunk-DT6EO53O.js";
23
+ import "../chunk-RAZCAHWX.js";
24
+ import {
25
+ InputGroup
26
+ } from "../chunk-SX22Q2HZ.js";
27
+ import "../chunk-RVKE5NZR.js";
28
+ import "../chunk-RELDFXH4.js";
29
+ import {
30
+ Label
31
+ } from "../chunk-3XRBNC3R.js";
32
+ import {
33
+ ErrorMessage
34
+ } from "../chunk-SGVCN25U.js";
35
+ export {
36
+ Button,
37
+ ErrorMessage,
38
+ Input,
39
+ InputGroup,
40
+ Label,
41
+ Logo,
42
+ Navbar,
43
+ Spinner
44
+ };
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { Logo, LogoProps } from './logo.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../../utilities/types.js';
@@ -0,0 +1,8 @@
1
+ import "../../chunk-SHVA4JJZ.js";
2
+ import {
3
+ Logo
4
+ } from "../../chunk-NLZRLXFN.js";
5
+ export {
6
+ Logo
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,32 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { HTMLAttributes, Ref } from 'react';
3
+ import { MergeRight } from '../../utilities/types.js';
4
+
5
+ type LogoProps = MergeRight<Omit<HTMLAttributes<HTMLSpanElement>, 'children'>, {
6
+ /**
7
+ * Determines if the logo should be displayed in the negative version,
8
+ * useful when displaying the logo on a dark background.
9
+ * @default false
10
+ */
11
+ dark?: boolean;
12
+ /**
13
+ * Determines if the international logo should be used.
14
+ * @default false
15
+ */
16
+ international?: boolean;
17
+ /**
18
+ * Determines if the logo text should be displayed vertically.
19
+ * Only applies when `international` is `true`.
20
+ * @default false
21
+ */
22
+ vertical?: boolean;
23
+ /**
24
+ * Determines the height of the logo.
25
+ * @default 'medium'
26
+ */
27
+ size?: 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl';
28
+ ref?: Ref<HTMLSpanElement>;
29
+ }>;
30
+ declare const Logo: ({ dark, international, vertical, size, className, ref, ...props }: LogoProps) => react_jsx_runtime.JSX.Element;
31
+
32
+ export { Logo, type LogoProps };
@@ -0,0 +1,7 @@
1
+ import {
2
+ Logo
3
+ } from "../../chunk-NLZRLXFN.js";
4
+ export {
5
+ Logo
6
+ };
7
+ //# sourceMappingURL=logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { Navbar, NavbarProps } from './navbar.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../../utilities/types.js';
@@ -0,0 +1,10 @@
1
+ import "../../chunk-4WOE4T43.js";
2
+ import {
3
+ Navbar
4
+ } from "../../chunk-MXDZGWL4.js";
5
+ import "../../chunk-SHVA4JJZ.js";
6
+ import "../../chunk-NLZRLXFN.js";
7
+ export {
8
+ Navbar
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,43 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { HTMLAttributes, ReactNode, Ref } from 'react';
3
+ import { MergeRight } from '../../utilities/types.js';
4
+
5
+ type NavbarProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
6
+ /**
7
+ * Determines if the navbar should be dark or light.
8
+ * @default false
9
+ */
10
+ dark?: boolean;
11
+ /**
12
+ * Skip link.
13
+ */
14
+ skipLink?: {
15
+ label: string;
16
+ href: string;
17
+ };
18
+ /**
19
+ * Text for menu area label.
20
+ */
21
+ menuAreaLabel: string;
22
+ /**
23
+ * Determines if the navbar should be fixed.
24
+ * @default false
25
+ */
26
+ fixed?: boolean;
27
+ /**
28
+ * Aria label for the home link.
29
+ */
30
+ homeAriaLabel: string;
31
+ /**
32
+ * Href for the home link.
33
+ */
34
+ homeHref: string;
35
+ /**
36
+ * Override the default logo
37
+ */
38
+ logo?: ReactNode;
39
+ ref?: Ref<HTMLElement>;
40
+ }>;
41
+ declare const Navbar: ({ dark, fixed, menuAreaLabel, homeAriaLabel, skipLink, homeHref, logo, children, className, ref, ...props }: NavbarProps) => react_jsx_runtime.JSX.Element;
42
+
43
+ export { Navbar, type NavbarProps };
@@ -0,0 +1,9 @@
1
+ import {
2
+ Navbar
3
+ } from "../../chunk-MXDZGWL4.js";
4
+ import "../../chunk-SHVA4JJZ.js";
5
+ import "../../chunk-NLZRLXFN.js";
6
+ export {
7
+ Navbar
8
+ };
9
+ //# sourceMappingURL=navbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { Spinner, SpinnerProps } from './spinner.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../../utilities/types.js';
@@ -0,0 +1,8 @@
1
+ import "../../chunk-2C3XKBNM.js";
2
+ import {
3
+ Spinner
4
+ } from "../../chunk-RONRQXS6.js";
5
+ export {
6
+ Spinner
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { HTMLAttributes } from 'react';
3
+ import { MergeRight } from '../../utilities/types.js';
4
+
5
+ type SpinnerProps = MergeRight<HTMLAttributes<HTMLSpanElement>, {
6
+ /**
7
+ * The color of the spinner.
8
+ * @default 'inherit'
9
+ */
10
+ color?: 'inherit' | 'black';
11
+ /**
12
+ * The size of the spinner.
13
+ * It sets the font-size as the width and height is `1em`. If not set, the spinner will inherit the font size of its parent.
14
+ */
15
+ size?: 'small' | 'medium' | 'large' | 'xl' | '2xl';
16
+ }>;
17
+ declare const Spinner: ({ color, size, className, ...props }: SpinnerProps) => react_jsx_runtime.JSX.Element;
18
+
19
+ export { Spinner, type SpinnerProps };
@@ -0,0 +1,7 @@
1
+ import {
2
+ Spinner
3
+ } from "../../chunk-RONRQXS6.js";
4
+ export {
5
+ Spinner
6
+ };
7
+ //# sourceMappingURL=spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/dist/main.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ export { Button, ButtonProps } from './components/button/button.js';
2
+ export { ErrorMessage, ErrorMessageProps } from './components/form/error-message/error-message.js';
3
+ export { Input, InputProps } from './components/form/input/input.js';
4
+ export { InputGroup, InputGroupProps } from './components/form/input-group/input-group.js';
5
+ export { Label, LabelProps } from './components/form/label/label.js';
6
+ export { Logo, LogoProps } from './components/logo/logo.js';
7
+ export { Navbar, NavbarProps } from './components/navbar/navbar.js';
8
+ export { Spinner, SpinnerProps } from './components/spinner/spinner.js';
9
+ export { useIsomorphicLayoutEffect } from './utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js';
10
+ export { MergeRight } from './utilities/types.js';
11
+ import 'react/jsx-runtime';
12
+ import 'react';
package/dist/main.js ADDED
@@ -0,0 +1,51 @@
1
+ import "./chunk-2PYB72CX.js";
2
+ import "./chunk-4WOE4T43.js";
3
+ import {
4
+ Navbar
5
+ } from "./chunk-MXDZGWL4.js";
6
+ import "./chunk-SHVA4JJZ.js";
7
+ import {
8
+ Logo
9
+ } from "./chunk-NLZRLXFN.js";
10
+ import "./chunk-TUJK53CY.js";
11
+ import "./chunk-DZDPC6SE.js";
12
+ import {
13
+ useIsomorphicLayoutEffect
14
+ } from "./chunk-VPE7VEBG.js";
15
+ import "./chunk-BBMVGCDE.js";
16
+ import {
17
+ Button
18
+ } from "./chunk-IT2O6DB2.js";
19
+ import "./chunk-2C3XKBNM.js";
20
+ import {
21
+ Spinner
22
+ } from "./chunk-RONRQXS6.js";
23
+ import "./chunk-PD4PXDK2.js";
24
+ import "./chunk-LLNHMZB2.js";
25
+ import {
26
+ Input
27
+ } from "./chunk-DT6EO53O.js";
28
+ import "./chunk-RAZCAHWX.js";
29
+ import {
30
+ InputGroup
31
+ } from "./chunk-SX22Q2HZ.js";
32
+ import "./chunk-RVKE5NZR.js";
33
+ import "./chunk-RELDFXH4.js";
34
+ import {
35
+ Label
36
+ } from "./chunk-3XRBNC3R.js";
37
+ import {
38
+ ErrorMessage
39
+ } from "./chunk-SGVCN25U.js";
40
+ export {
41
+ Button,
42
+ ErrorMessage,
43
+ Input,
44
+ InputGroup,
45
+ Label,
46
+ Logo,
47
+ Navbar,
48
+ Spinner,
49
+ useIsomorphicLayoutEffect
50
+ };
51
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,2 @@
1
+ export { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js';
2
+ import 'react';
@@ -0,0 +1,8 @@
1
+ import "../../chunk-DZDPC6SE.js";
2
+ import {
3
+ useIsomorphicLayoutEffect
4
+ } from "../../chunk-VPE7VEBG.js";
5
+ export {
6
+ useIsomorphicLayoutEffect
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,5 @@
1
+ import { useLayoutEffect } from 'react';
2
+
3
+ declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
4
+
5
+ export { useIsomorphicLayoutEffect };
@@ -0,0 +1,7 @@
1
+ import {
2
+ useIsomorphicLayoutEffect
3
+ } from "../../../chunk-VPE7VEBG.js";
4
+ export {
5
+ useIsomorphicLayoutEffect
6
+ };
7
+ //# sourceMappingURL=useIsomorphicLayoutEffect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,3 @@
1
+ export { useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js';
2
+ export { MergeRight } from './types.js';
3
+ import 'react';
@@ -0,0 +1,9 @@
1
+ import "../chunk-TUJK53CY.js";
2
+ import "../chunk-DZDPC6SE.js";
3
+ import {
4
+ useIsomorphicLayoutEffect
5
+ } from "../chunk-VPE7VEBG.js";
6
+ export {
7
+ useIsomorphicLayoutEffect
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Create a new type with the properties of the first type merged with the properties of the second type.
3
+ * If a key exists in both types, the property from the *second* type will be used.
4
+ */
5
+ type MergeRight<T1, T2> = Omit<T1, keyof T2> & T2;
6
+
7
+ export type { MergeRight };
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=vite-env.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}