@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
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # @bi-digital/react
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-2C3XKBNM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-2PYB72CX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,32 @@
1
+ // src/components/form/label/label.tsx
2
+ import clsx from "clsx";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var Label = ({
5
+ children,
6
+ labelFontStyle,
7
+ htmlFor,
8
+ required,
9
+ disabled,
10
+ dark,
11
+ className,
12
+ ...props
13
+ }) => {
14
+ return /* @__PURE__ */ jsx(
15
+ "label",
16
+ {
17
+ ...props,
18
+ className: clsx("bi-label", className),
19
+ "data-dark": dark,
20
+ "data-required": required,
21
+ "data-font-style": labelFontStyle,
22
+ "aria-disabled": disabled,
23
+ htmlFor,
24
+ children
25
+ }
26
+ );
27
+ };
28
+
29
+ export {
30
+ Label
31
+ };
32
+ //# sourceMappingURL=chunk-3XRBNC3R.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/form/label/label.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport { ComponentProps } from 'react';\n\nexport type LabelProps = ComponentProps<'label'> & {\n /** The font style of the label. */\n labelFontStyle?: 'regular' | 'bold';\n htmlFor?: string;\n required?: boolean;\n disabled?: boolean;\n /** Is the component displayed on a dark background. */\n dark?: boolean;\n /**\n * The type of label. `label` is used for labeling specific elements. `legend` is a broad label used for a group of objects.\n * @default 'label'\n */\n type?: 'label' | 'legend';\n};\n\n/**\n * Accessible label component that can be used to display a label and help text for form fields.\n */\nexport const Label = ({\n children,\n labelFontStyle,\n htmlFor,\n required,\n disabled,\n dark,\n className,\n ...props\n}: LabelProps) => {\n return (\n <label\n {...props}\n className={clsx('bi-label', className)}\n data-dark={dark}\n data-required={required}\n data-font-style={labelFontStyle}\n aria-disabled={disabled}\n htmlFor={htmlFor}\n >\n {children}\n </label>\n );\n};\n"],"mappings":";AAAA,OAAO,UAAU;AAgCb;AAXG,IAAM,QAAQ,CAAC;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAkB;AAChB,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,KAAK,YAAY,SAAS;AAAA,MACrC,aAAW;AAAA,MACX,iBAAe;AAAA,MACf,mBAAiB;AAAA,MACjB,iBAAe;AAAA,MACf;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-4WOE4T43.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-BBMVGCDE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,46 @@
1
+ import {
2
+ InputGroup
3
+ } from "./chunk-SX22Q2HZ.js";
4
+
5
+ // src/components/form/input/input.tsx
6
+ import { jsx } from "react/jsx-runtime";
7
+ var Input = ({
8
+ dark = false,
9
+ className,
10
+ errorMessage,
11
+ labelProps,
12
+ label,
13
+ id,
14
+ style,
15
+ stretch,
16
+ disabled,
17
+ readOnly,
18
+ startAdornment,
19
+ endAdornment,
20
+ ref,
21
+ ...props
22
+ }) => {
23
+ return /* @__PURE__ */ jsx(
24
+ InputGroup,
25
+ {
26
+ className,
27
+ disabled,
28
+ dark,
29
+ stretch,
30
+ errorMessage,
31
+ id,
32
+ label,
33
+ labelProps,
34
+ readOnly,
35
+ style,
36
+ startAdornment,
37
+ endAdornment,
38
+ children: /* @__PURE__ */ jsx("input", { ...props, className: "bi-input", disabled, readOnly, ref })
39
+ }
40
+ );
41
+ };
42
+
43
+ export {
44
+ Input
45
+ };
46
+ //# sourceMappingURL=chunk-DT6EO53O.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/form/input/input.tsx"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react';\nimport { InputGroup } from '../input-group';\nimport type { InputGroupProps } from '../input-group';\n\nexport type InputProps = Omit<InputGroupProps & InputHTMLAttributes<HTMLInputElement>, 'children'> & {\n ref?: Ref<HTMLInputElement>;\n};\n\nexport const Input = ({\n dark = false,\n className,\n errorMessage,\n labelProps,\n label,\n id,\n style,\n stretch,\n disabled,\n readOnly,\n startAdornment,\n endAdornment,\n ref,\n ...props\n}: InputProps) => {\n return (\n <InputGroup\n className={className}\n disabled={disabled}\n dark={dark}\n stretch={stretch}\n errorMessage={errorMessage}\n id={id}\n label={label}\n labelProps={labelProps}\n readOnly={readOnly}\n style={style}\n startAdornment={startAdornment}\n endAdornment={endAdornment}\n >\n <input {...props} className='bi-input' disabled={disabled} readOnly={readOnly} ref={ref} />\n </InputGroup>\n );\n};\n"],"mappings":";;;;;AAuCM;AA/BC,IAAM,QAAQ,CAAC;AAAA,EACpB,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAkB;AAChB,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MAEA,8BAAC,WAAO,GAAG,OAAO,WAAU,YAAW,UAAoB,UAAoB,KAAU;AAAA;AAAA,EAC3F;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-DZDPC6SE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,53 @@
1
+ import {
2
+ Spinner
3
+ } from "./chunk-RONRQXS6.js";
4
+
5
+ // src/components/button/button.tsx
6
+ import clsx from "clsx/lite";
7
+ import { Slot, Slottable } from "@radix-ui/react-slot";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ var Button = ({
10
+ asChild,
11
+ variant = "filled",
12
+ size = "medium",
13
+ stretch,
14
+ dark,
15
+ submitting,
16
+ icon,
17
+ children,
18
+ className,
19
+ startIcon,
20
+ endIcon,
21
+ active,
22
+ ref,
23
+ ...props
24
+ }) => {
25
+ const Component = asChild ? Slot : "button";
26
+ return /* @__PURE__ */ jsxs(
27
+ Component,
28
+ {
29
+ "aria-busy": Boolean(submitting) || void 0,
30
+ "aria-disabled": Boolean(submitting) || void 0,
31
+ className: clsx("bi-button", className),
32
+ "data-variant": variant,
33
+ "data-size": size,
34
+ "data-stretch": stretch || void 0,
35
+ "data-dark": dark || void 0,
36
+ "data-icon": icon || void 0,
37
+ "data-active": active || void 0,
38
+ ref,
39
+ type: asChild ? void 0 : "button",
40
+ ...props,
41
+ children: [
42
+ !icon && (submitting ? /* @__PURE__ */ jsx(Spinner, { "aria-hidden": "true", className: "bi-button--start-icon" }) : startIcon && /* @__PURE__ */ jsx("span", { className: "bi-button--start-icon", children: startIcon })),
43
+ /* @__PURE__ */ jsx(Slottable, { children: icon && submitting ? /* @__PURE__ */ jsx(Spinner, { "aria-hidden": "true" }) : children }),
44
+ !icon && endIcon && /* @__PURE__ */ jsx("span", { className: "bi-button--end-icon", children: endIcon })
45
+ ]
46
+ }
47
+ );
48
+ };
49
+
50
+ export {
51
+ Button
52
+ };
53
+ //# sourceMappingURL=chunk-IT2O6DB2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/button/button.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Spinner } from '../spinner';\nimport { MergeRight } from '../../utilities';\n\nexport type ButtonProps = MergeRight<\n ButtonHTMLAttributes<HTMLButtonElement>,\n {\n /**\n * The button size.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The button variant.\n * @default 'filled'\n */\n variant?: 'filled' | 'outlined' | 'text' | 'flat';\n /**\n * Stretch the button to the full width.\n * @default false\n */\n stretch?: boolean;\n /**\n * Is the component displayed on a dark background.\n * @default false\n */\n dark?: boolean;\n /**\n * Display a loading animation with the Spinner-component.\n * Replaces the `startIcon` if used\n * @default false\n */\n submitting?: boolean;\n /**\n * Display as icon-button, only use when showing an icon as the label.\n * Not compatible with the icon-slots or `stretch`.\n * Always provide a descriptive aria-label for accessibility when set to true.\n * @default false\n */\n icon?: boolean;\n /** Set an icon before the button label, no effect if `icon=true` */\n startIcon?: ReactNode;\n /** Set an icon after the button label, no effect if `icon=true` */\n endIcon?: ReactNode;\n /** Make the button active by showing an active state. */\n active?: boolean;\n ref?: Ref<HTMLButtonElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n /**\n * Specify the type of button. Unset when `asChild` is true\n * @default 'button'\n */\n type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];\n }\n>;\n\nexport const Button = ({\n asChild,\n variant = 'filled',\n size = 'medium',\n stretch,\n dark,\n submitting,\n icon,\n children,\n className,\n startIcon,\n endIcon,\n active,\n ref,\n ...props\n}: ButtonProps) => {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n aria-busy={Boolean(submitting) || undefined}\n aria-disabled={Boolean(submitting) || undefined}\n className={clsx('bi-button', className)}\n data-variant={variant}\n data-size={size}\n data-stretch={stretch || undefined}\n data-dark={dark || undefined}\n data-icon={icon || undefined}\n data-active={active || undefined}\n ref={ref}\n /* don't set type when we use `asChild` */\n type={asChild ? undefined : 'button'}\n /* if consumers set type, our default does not set anything, as `rest` contains this */\n {...props}\n >\n {!icon &&\n (submitting ? (\n <Spinner aria-hidden='true' className='bi-button--start-icon' />\n ) : (\n startIcon && <span className='bi-button--start-icon'>{startIcon}</span>\n ))}\n <Slottable>{icon && submitting ? <Spinner aria-hidden='true' /> : children}</Slottable>\n {!icon && endIcon && <span className='bi-button--end-icon'>{endIcon}</span>}\n </Component>\n );\n};\n"],"mappings":";;;;;AAAA,OAAO,UAAU;AAEjB,SAAS,MAAM,iBAAiB;AA+E5B,SAkBM,KAlBN;AAnBG,IAAM,SAAS,CAAC;AAAA,EACrB;AAAA,EACA,UAAU;AAAA,EACV,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAmB;AACjB,QAAM,YAAY,UAAU,OAAO;AAEnC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAW,QAAQ,UAAU,KAAK;AAAA,MAClC,iBAAe,QAAQ,UAAU,KAAK;AAAA,MACtC,WAAW,KAAK,aAAa,SAAS;AAAA,MACtC,gBAAc;AAAA,MACd,aAAW;AAAA,MACX,gBAAc,WAAW;AAAA,MACzB,aAAW,QAAQ;AAAA,MACnB,aAAW,QAAQ;AAAA,MACnB,eAAa,UAAU;AAAA,MACvB;AAAA,MAEA,MAAM,UAAU,SAAY;AAAA,MAE3B,GAAG;AAAA,MAEH;AAAA,SAAC,SACC,aACC,oBAAC,WAAQ,eAAY,QAAO,WAAU,yBAAwB,IAE9D,aAAa,oBAAC,UAAK,WAAU,yBAAyB,qBAAU;AAAA,QAEpE,oBAAC,aAAW,kBAAQ,aAAa,oBAAC,WAAQ,eAAY,QAAO,IAAK,UAAS;AAAA,QAC1E,CAAC,QAAQ,WAAW,oBAAC,UAAK,WAAU,uBAAuB,mBAAQ;AAAA;AAAA;AAAA,EACtE;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-LLNHMZB2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,33 @@
1
+ import {
2
+ Logo
3
+ } from "./chunk-NLZRLXFN.js";
4
+
5
+ // src/components/navbar/navbar.tsx
6
+ import clsx from "clsx";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ var Navbar = ({
9
+ dark = false,
10
+ fixed = false,
11
+ menuAreaLabel,
12
+ homeAriaLabel,
13
+ skipLink,
14
+ homeHref,
15
+ logo,
16
+ children,
17
+ className,
18
+ ref,
19
+ ...props
20
+ }) => {
21
+ return /* @__PURE__ */ jsxs("nav", { ...props, className: clsx("bi-navbar", className), "data-fixed": fixed, "data-dark": dark, ref, children: [
22
+ skipLink && /* @__PURE__ */ jsx("a", { className: "bi-navbar__skip-link", href: skipLink.href, children: skipLink.label }),
23
+ /* @__PURE__ */ jsxs("header", { className: "bi-navbar__header", "aria-label": menuAreaLabel, children: [
24
+ /* @__PURE__ */ jsx("a", { "aria-label": homeAriaLabel, href: homeHref, children: logo || /* @__PURE__ */ jsx(Logo, { dark }) }),
25
+ children
26
+ ] })
27
+ ] });
28
+ };
29
+
30
+ export {
31
+ Navbar
32
+ };
33
+ //# sourceMappingURL=chunk-MXDZGWL4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/navbar/navbar.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { Logo } from '../logo';\nimport { MergeRight } from '../../utilities';\n\nexport type NavbarProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Determines if the navbar should be dark or light.\n * @default false\n */\n dark?: boolean;\n /**\n * Skip link.\n */\n skipLink?: { label: string; href: string };\n /**\n * Text for menu area label.\n */\n menuAreaLabel: string;\n /**\n * Determines if the navbar should be fixed.\n * @default false\n */\n fixed?: boolean;\n /**\n * Aria label for the home link.\n */\n homeAriaLabel: string;\n /**\n * Href for the home link.\n */\n homeHref: string;\n /**\n * Override the default logo\n */\n logo?: ReactNode;\n ref?: Ref<HTMLElement>;\n }\n>;\n\nexport const Navbar = ({\n dark = false,\n fixed = false,\n menuAreaLabel,\n homeAriaLabel,\n skipLink,\n homeHref,\n logo,\n children,\n className,\n ref,\n ...props\n}: NavbarProps) => {\n return (\n <nav {...props} className={clsx('bi-navbar', className)} data-fixed={fixed} data-dark={dark} ref={ref}>\n {skipLink && (\n <a className='bi-navbar__skip-link' href={skipLink.href}>\n {skipLink.label}\n </a>\n )}\n <header className='bi-navbar__header' aria-label={menuAreaLabel}>\n <a aria-label={homeAriaLabel} href={homeHref}>\n {logo || <Logo dark={dark} />}\n </a>\n {children}\n </header>\n </nav>\n );\n};\n"],"mappings":";;;;;AAAA,OAAO,UAAU;AA0DT,cAIF,YAJE;AAhBD,IAAM,SAAS,CAAC;AAAA,EACrB,OAAO;AAAA,EACP,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAmB;AACjB,SACE,qBAAC,SAAK,GAAG,OAAO,WAAW,KAAK,aAAa,SAAS,GAAG,cAAY,OAAO,aAAW,MAAM,KAC1F;AAAA,gBACC,oBAAC,OAAE,WAAU,wBAAuB,MAAM,SAAS,MAChD,mBAAS,OACZ;AAAA,IAEF,qBAAC,YAAO,WAAU,qBAAoB,cAAY,eAChD;AAAA,0BAAC,OAAE,cAAY,eAAe,MAAM,UACjC,kBAAQ,oBAAC,QAAK,MAAY,GAC7B;AAAA,MACC;AAAA,OACH;AAAA,KACF;AAEJ;","names":[]}
@@ -0,0 +1,30 @@
1
+ // src/components/logo/logo.tsx
2
+ import clsx from "clsx";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var Logo = ({
5
+ dark = false,
6
+ international = false,
7
+ vertical = false,
8
+ size = "medium",
9
+ className,
10
+ ref,
11
+ ...props
12
+ }) => {
13
+ return /* @__PURE__ */ jsx(
14
+ "span",
15
+ {
16
+ ...props,
17
+ className: clsx("bi-logo", className),
18
+ "data-dark": dark,
19
+ "data-international": international,
20
+ "data-vertical": vertical,
21
+ "data-size": size,
22
+ ref
23
+ }
24
+ );
25
+ };
26
+
27
+ export {
28
+ Logo
29
+ };
30
+ //# sourceMappingURL=chunk-NLZRLXFN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/logo/logo.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { HTMLAttributes, Ref } from 'react';\nimport { MergeRight } from '../../utilities';\n\nexport type LogoProps = MergeRight<\n Omit<HTMLAttributes<HTMLSpanElement>, 'children'>,\n {\n /**\n * Determines if the logo should be displayed in the negative version,\n * useful when displaying the logo on a dark background.\n * @default false\n */\n dark?: boolean;\n /**\n * Determines if the international logo should be used.\n * @default false\n */\n international?: boolean;\n /**\n * Determines if the logo text should be displayed vertically.\n * Only applies when `international` is `true`.\n * @default false\n */\n vertical?: boolean;\n /**\n * Determines the height of the logo.\n * @default 'medium'\n */\n size?: 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl';\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\nexport const Logo = ({\n dark = false,\n international = false,\n vertical = false,\n size = 'medium',\n className,\n ref,\n ...props\n}: LogoProps) => {\n return (\n <span\n {...props}\n className={clsx('bi-logo', className)}\n data-dark={dark}\n data-international={international}\n data-vertical={vertical}\n data-size={size}\n ref={ref}\n />\n );\n};\n"],"mappings":";AAAA,OAAO,UAAU;AA2Cb;AAVG,IAAM,OAAO,CAAC;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAiB;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,KAAK,WAAW,SAAS;AAAA,MACpC,aAAW;AAAA,MACX,sBAAoB;AAAA,MACpB,iBAAe;AAAA,MACf,aAAW;AAAA,MACX;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-PD4PXDK2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-RAZCAHWX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-RELDFXH4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ // src/components/spinner/spinner.tsx
2
+ import clsx from "clsx";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var Spinner = ({ color = "inherit", size, className, ...props }) => {
5
+ return /* @__PURE__ */ jsx("span", { className: clsx("bi-spinner", className), "data-size": size, "data-color": color, ...props });
6
+ };
7
+
8
+ export {
9
+ Spinner
10
+ };
11
+ //# sourceMappingURL=chunk-RONRQXS6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/spinner/spinner.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { HTMLAttributes } from 'react';\nimport { MergeRight } from '../../utilities';\n\nexport type SpinnerProps = MergeRight<\n HTMLAttributes<HTMLSpanElement>,\n {\n /**\n * The color of the spinner.\n * @default 'inherit'\n */\n color?: 'inherit' | 'black';\n /**\n * The size of the spinner.\n * 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.\n */\n size?: 'small' | 'medium' | 'large' | 'xl' | '2xl';\n }\n>;\n\nexport const Spinner = ({ color = 'inherit', size, className, ...props }: SpinnerProps) => {\n return <span className={clsx('bi-spinner', className)} data-size={size} data-color={color} {...props} />;\n};\n"],"mappings":";AAAA,OAAO,UAAU;AAqBR;AADF,IAAM,UAAU,CAAC,EAAE,QAAQ,WAAW,MAAM,WAAW,GAAG,MAAM,MAAoB;AACzF,SAAO,oBAAC,UAAK,WAAW,KAAK,cAAc,SAAS,GAAG,aAAW,MAAM,cAAY,OAAQ,GAAG,OAAO;AACxG;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-RVKE5NZR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ // src/components/form/error-message/error-message.tsx
2
+ import clsx from "clsx";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var ErrorMessage = ({ children, id, className, ref, ...props }) => {
5
+ return /* @__PURE__ */ jsx("div", { "aria-live": "polite", className: clsx("bi-error-message", className), id, ref, ...props, children });
6
+ };
7
+
8
+ export {
9
+ ErrorMessage
10
+ };
11
+ //# sourceMappingURL=chunk-SGVCN25U.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/form/error-message/error-message.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { ComponentProps, Ref } from 'react';\n\nexport type ErrorMessageProps = Omit<ComponentProps<'div'>, 'id'> & {\n id: string;\n ref?: Ref<HTMLElement>;\n};\n\nexport const ErrorMessage = ({ children, id, className, ref, ...props }: ErrorMessageProps) => {\n return (\n <div aria-live='polite' className={clsx('bi-error-message', className as undefined)} id={id} ref={ref} {...props}>\n {children}\n </div>\n );\n};\n"],"mappings":";AAAA,OAAO,UAAU;AAUb;AAFG,IAAM,eAAe,CAAC,EAAE,UAAU,IAAI,WAAW,KAAK,GAAG,MAAM,MAAyB;AAC7F,SACE,oBAAC,SAAI,aAAU,UAAS,WAAW,KAAK,oBAAoB,SAAsB,GAAG,IAAQ,KAAW,GAAG,OACxG,UACH;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-SHVA4JJZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,84 @@
1
+ import {
2
+ Label
3
+ } from "./chunk-3XRBNC3R.js";
4
+ import {
5
+ ErrorMessage
6
+ } from "./chunk-SGVCN25U.js";
7
+
8
+ // src/components/form/input-group/input-group.tsx
9
+ import { useId, Children, isValidElement, cloneElement } from "react";
10
+ import clsx from "clsx";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
+ var InputGroup = ({
13
+ id,
14
+ className,
15
+ style,
16
+ dark = false,
17
+ stretch = false,
18
+ errorMessage,
19
+ errorMessageProps,
20
+ labelProps: { className: labelClassName, ...labelProps } = {},
21
+ label,
22
+ disabled,
23
+ readOnly,
24
+ required,
25
+ children,
26
+ startAdornment,
27
+ endAdornment,
28
+ ref,
29
+ ...props
30
+ }) => {
31
+ const errorMessageId = useId();
32
+ const inputId = useId();
33
+ const renderInput = () => {
34
+ const inputProps = {
35
+ "aria-describedby": errorMessage ? errorMessageId : void 0,
36
+ "aria-invalid": errorMessage ? true : void 0,
37
+ id: id ?? inputId,
38
+ className: "bi-input"
39
+ };
40
+ const input = Children.toArray(children)[0];
41
+ if (!isValidElement(input)) {
42
+ return;
43
+ }
44
+ return cloneElement(input, {
45
+ ...inputProps,
46
+ ...input.props,
47
+ className: `${inputProps.className} ${input.props.className ?? ""}`
48
+ });
49
+ };
50
+ return /* @__PURE__ */ jsxs(
51
+ "div",
52
+ {
53
+ className: clsx("bi-input-group", className),
54
+ "data-dark": dark,
55
+ "data-stretch": stretch,
56
+ ref,
57
+ style,
58
+ ...props,
59
+ children: [
60
+ /* @__PURE__ */ jsx(Label, { className: labelClassName, required, ...labelProps, htmlFor: id ?? inputId, children: label }),
61
+ /* @__PURE__ */ jsxs(
62
+ "div",
63
+ {
64
+ className: clsx("bi-input-group__input-wrapper"),
65
+ "data-disabled": disabled,
66
+ "data-readonly": readOnly,
67
+ "data-error": errorMessage ? true : void 0,
68
+ children: [
69
+ startAdornment && /* @__PURE__ */ jsx("span", { "data-start-adornment": "true", children: startAdornment }),
70
+ renderInput(),
71
+ endAdornment && /* @__PURE__ */ jsx("span", { "data-end-adornment": "true", children: endAdornment })
72
+ ]
73
+ }
74
+ ),
75
+ /* @__PURE__ */ jsx(ErrorMessage, { id: errorMessageId, ...errorMessageProps, children: errorMessage })
76
+ ]
77
+ }
78
+ );
79
+ };
80
+
81
+ export {
82
+ InputGroup
83
+ };
84
+ //# sourceMappingURL=chunk-SX22Q2HZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/form/input-group/input-group.tsx"],"sourcesContent":["import { useId, Children, isValidElement, cloneElement } from 'react';\nimport type { ComponentProps, LabelHTMLAttributes, ReactNode, Ref } from 'react';\nimport clsx from 'clsx';\nimport { ErrorMessage, type ErrorMessageProps } from '../error-message';\nimport { Label } from '../label';\n\ninterface InputProps {\n 'aria-describedby'?: string;\n 'aria-invalid'?: boolean;\n id?: string;\n className?: string;\n}\n\nexport type InputGroupProps = ComponentProps<'div'> & {\n dark?: boolean;\n stretch?: boolean;\n errorMessage?: ReactNode;\n errorMessageProps?: Partial<ErrorMessageProps>;\n labelProps?: LabelHTMLAttributes<HTMLLabelElement>;\n label: ReactNode;\n disabled?: boolean;\n readOnly?: boolean;\n required?: boolean;\n /**\n * `children` must be a single input element.\n */\n children: Exclude<ReactNode, Iterable<ReactNode>>;\n /** Add an adornment to the start of the input. */\n startAdornment?: ReactNode;\n /** Add an adornment to the end of the input. */\n endAdornment?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n};\n\nexport const InputGroup = ({\n id,\n className,\n style,\n dark = false,\n stretch = false,\n errorMessage,\n errorMessageProps,\n labelProps: { className: labelClassName, ...labelProps } = {},\n label,\n disabled,\n readOnly,\n required,\n children,\n startAdornment,\n endAdornment,\n ref,\n ...props\n}: InputGroupProps) => {\n const errorMessageId = useId();\n const inputId = useId();\n\n const renderInput = () => {\n const inputProps: InputProps = {\n 'aria-describedby': errorMessage ? errorMessageId : undefined,\n 'aria-invalid': errorMessage ? true : undefined,\n id: id ?? inputId,\n className: 'bi-input',\n };\n\n const input: ReactNode = Children.toArray(children)[0];\n\n if (!isValidElement<InputProps>(input)) {\n return;\n }\n\n return cloneElement<InputProps>(input, {\n ...inputProps,\n ...input.props,\n className: `${inputProps.className} ${input.props.className ?? ''}`,\n });\n };\n\n return (\n <div\n className={clsx('bi-input-group', className)}\n data-dark={dark}\n data-stretch={stretch}\n ref={ref}\n style={style}\n {...props}\n >\n <Label className={labelClassName} required={required} {...labelProps} htmlFor={id ?? inputId}>\n {label}\n </Label>\n <div\n className={clsx('bi-input-group__input-wrapper')}\n data-disabled={disabled}\n data-readonly={readOnly}\n data-error={errorMessage ? true : undefined}\n >\n {startAdornment && <span data-start-adornment='true'>{startAdornment}</span>}\n {renderInput()}\n {endAdornment && <span data-end-adornment='true'>{endAdornment}</span>}\n </div>\n <ErrorMessage id={errorMessageId} {...errorMessageProps}>\n {errorMessage}\n </ErrorMessage>\n </div>\n );\n};\n"],"mappings":";;;;;;;;AAAA,SAAS,OAAO,UAAU,gBAAgB,oBAAoB;AAE9D,OAAO,UAAU;AAoFX,cAGA,YAHA;AApDC,IAAM,aAAa,CAAC;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA,YAAY,EAAE,WAAW,gBAAgB,GAAG,WAAW,IAAI,CAAC;AAAA,EAC5D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAuB;AACrB,QAAM,iBAAiB,MAAM;AAC7B,QAAM,UAAU,MAAM;AAEtB,QAAM,cAAc,MAAM;AACxB,UAAM,aAAyB;AAAA,MAC7B,oBAAoB,eAAe,iBAAiB;AAAA,MACpD,gBAAgB,eAAe,OAAO;AAAA,MACtC,IAAI,MAAM;AAAA,MACV,WAAW;AAAA,IACb;AAEA,UAAM,QAAmB,SAAS,QAAQ,QAAQ,EAAE,CAAC;AAErD,QAAI,CAAC,eAA2B,KAAK,GAAG;AACtC;AAAA,IACF;AAEA,WAAO,aAAyB,OAAO;AAAA,MACrC,GAAG;AAAA,MACH,GAAG,MAAM;AAAA,MACT,WAAW,GAAG,WAAW,SAAS,IAAI,MAAM,MAAM,aAAa,EAAE;AAAA,IACnE,CAAC;AAAA,EACH;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,KAAK,kBAAkB,SAAS;AAAA,MAC3C,aAAW;AAAA,MACX,gBAAc;AAAA,MACd;AAAA,MACA;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,4BAAC,SAAM,WAAW,gBAAgB,UAAqB,GAAG,YAAY,SAAS,MAAM,SAClF,iBACH;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW,KAAK,+BAA+B;AAAA,YAC/C,iBAAe;AAAA,YACf,iBAAe;AAAA,YACf,cAAY,eAAe,OAAO;AAAA,YAEjC;AAAA,gCAAkB,oBAAC,UAAK,wBAAqB,QAAQ,0BAAe;AAAA,cACpE,YAAY;AAAA,cACZ,gBAAgB,oBAAC,UAAK,sBAAmB,QAAQ,wBAAa;AAAA;AAAA;AAAA,QACjE;AAAA,QACA,oBAAC,gBAAa,IAAI,gBAAiB,GAAG,mBACnC,wBACH;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-TUJK53CY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ // src/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts
2
+ import { useEffect, useLayoutEffect } from "react";
3
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect;
4
+
5
+ export {
6
+ useIsomorphicLayoutEffect
7
+ };
8
+ //# sourceMappingURL=chunk-VPE7VEBG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts"],"sourcesContent":["// https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect\n\nimport { useEffect, useLayoutEffect } from 'react';\n\nexport const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n"],"mappings":";AAEA,SAAS,WAAW,uBAAuB;AAEpC,IAAM,4BAA4B,OAAO,WAAW,cAAc,kBAAkB;","names":[]}
@@ -0,0 +1,59 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ButtonHTMLAttributes, ReactNode, Ref } from 'react';
3
+ import { MergeRight } from '../../utilities/types.js';
4
+
5
+ type ButtonProps = MergeRight<ButtonHTMLAttributes<HTMLButtonElement>, {
6
+ /**
7
+ * The button size.
8
+ * @default 'medium'
9
+ */
10
+ size?: 'small' | 'medium' | 'large';
11
+ /**
12
+ * The button variant.
13
+ * @default 'filled'
14
+ */
15
+ variant?: 'filled' | 'outlined' | 'text' | 'flat';
16
+ /**
17
+ * Stretch the button to the full width.
18
+ * @default false
19
+ */
20
+ stretch?: boolean;
21
+ /**
22
+ * Is the component displayed on a dark background.
23
+ * @default false
24
+ */
25
+ dark?: boolean;
26
+ /**
27
+ * Display a loading animation with the Spinner-component.
28
+ * Replaces the `startIcon` if used
29
+ * @default false
30
+ */
31
+ submitting?: boolean;
32
+ /**
33
+ * Display as icon-button, only use when showing an icon as the label.
34
+ * Not compatible with the icon-slots or `stretch`.
35
+ * Always provide a descriptive aria-label for accessibility when set to true.
36
+ * @default false
37
+ */
38
+ icon?: boolean;
39
+ /** Set an icon before the button label, no effect if `icon=true` */
40
+ startIcon?: ReactNode;
41
+ /** Set an icon after the button label, no effect if `icon=true` */
42
+ endIcon?: ReactNode;
43
+ /** Make the button active by showing an active state. */
44
+ active?: boolean;
45
+ ref?: Ref<HTMLButtonElement>;
46
+ /**
47
+ * Change the default rendered element for the one passed as a child, merging their props and behavior.
48
+ * @default false
49
+ */
50
+ asChild?: boolean;
51
+ /**
52
+ * Specify the type of button. Unset when `asChild` is true
53
+ * @default 'button'
54
+ */
55
+ type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
56
+ }>;
57
+ declare const Button: ({ asChild, variant, size, stretch, dark, submitting, icon, children, className, startIcon, endIcon, active, ref, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
58
+
59
+ export { Button, type ButtonProps };
@@ -0,0 +1,9 @@
1
+ import {
2
+ Button
3
+ } from "../../chunk-IT2O6DB2.js";
4
+ import "../../chunk-2C3XKBNM.js";
5
+ import "../../chunk-RONRQXS6.js";
6
+ export {
7
+ Button
8
+ };
9
+ //# sourceMappingURL=button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { Button, ButtonProps } from './button.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../../utilities/types.js';
@@ -0,0 +1,10 @@
1
+ import "../../chunk-BBMVGCDE.js";
2
+ import {
3
+ Button
4
+ } from "../../chunk-IT2O6DB2.js";
5
+ import "../../chunk-2C3XKBNM.js";
6
+ import "../../chunk-RONRQXS6.js";
7
+ export {
8
+ Button
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ComponentProps, Ref } from 'react';
3
+
4
+ type ErrorMessageProps = Omit<ComponentProps<'div'>, 'id'> & {
5
+ id: string;
6
+ ref?: Ref<HTMLElement>;
7
+ };
8
+ declare const ErrorMessage: ({ children, id, className, ref, ...props }: ErrorMessageProps) => react_jsx_runtime.JSX.Element;
9
+
10
+ export { ErrorMessage, type ErrorMessageProps };
@@ -0,0 +1,7 @@
1
+ import {
2
+ ErrorMessage
3
+ } from "../../../chunk-SGVCN25U.js";
4
+ export {
5
+ ErrorMessage
6
+ };
7
+ //# sourceMappingURL=error-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,3 @@
1
+ export { ErrorMessage, ErrorMessageProps } from './error-message.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
@@ -0,0 +1,8 @@
1
+ import "../../../chunk-RVKE5NZR.js";
2
+ import {
3
+ ErrorMessage
4
+ } from "../../../chunk-SGVCN25U.js";
5
+ export {
6
+ ErrorMessage
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,6 @@
1
+ export { ErrorMessage, ErrorMessageProps } from './error-message/error-message.js';
2
+ export { Input, InputProps } from './input/input.js';
3
+ export { InputGroup, InputGroupProps } from './input-group/input-group.js';
4
+ export { Label, LabelProps } from './label/label.js';
5
+ import 'react/jsx-runtime';
6
+ import 'react';