@fpkit/acss 0.5.9 → 0.5.12

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 (250) hide show
  1. package/README.md +425 -18
  2. package/libs/chunk-23ANBDCR.js +8 -0
  3. package/libs/chunk-23ANBDCR.js.map +1 -0
  4. package/libs/chunk-5M57K4SW.js +8 -0
  5. package/libs/chunk-5M57K4SW.js.map +1 -0
  6. package/libs/chunk-5ZM4XL44.js +8 -0
  7. package/libs/chunk-5ZM4XL44.js.map +1 -0
  8. package/libs/chunk-6BVXFW7U.cjs +15 -0
  9. package/libs/chunk-6BVXFW7U.cjs.map +1 -0
  10. package/libs/chunk-6TE5QEVE.cjs +13 -0
  11. package/libs/chunk-6TE5QEVE.cjs.map +1 -0
  12. package/libs/chunk-7K76RW2A.cjs +18 -0
  13. package/libs/chunk-7K76RW2A.cjs.map +1 -0
  14. package/libs/chunk-BHRQBJRY.js +8 -0
  15. package/libs/chunk-BHRQBJRY.js.map +1 -0
  16. package/libs/chunk-BIP2NY53.js +8 -0
  17. package/libs/chunk-BIP2NY53.js.map +1 -0
  18. package/libs/chunk-BSPKFLO4.js +8 -0
  19. package/libs/chunk-BSPKFLO4.js.map +1 -0
  20. package/libs/chunk-BV5CLH44.cjs +18 -0
  21. package/libs/chunk-BV5CLH44.cjs.map +1 -0
  22. package/libs/chunk-DKGJHKGW.js +9 -0
  23. package/libs/chunk-DKGJHKGW.js.map +1 -0
  24. package/libs/chunk-DV56L5YX.cjs +18 -0
  25. package/libs/chunk-DV56L5YX.cjs.map +1 -0
  26. package/libs/chunk-E3XP6BEX.cjs +16 -0
  27. package/libs/chunk-E3XP6BEX.cjs.map +1 -0
  28. package/libs/chunk-ECLD37WN.cjs +16 -0
  29. package/libs/chunk-ECLD37WN.cjs.map +1 -0
  30. package/libs/chunk-EQ67LF46.js +9 -0
  31. package/libs/chunk-EQ67LF46.js.map +1 -0
  32. package/libs/chunk-G55UJ53G.cjs +16 -0
  33. package/libs/chunk-G55UJ53G.cjs.map +1 -0
  34. package/libs/chunk-HYBZBN4G.js +8 -0
  35. package/libs/chunk-HYBZBN4G.js.map +1 -0
  36. package/libs/chunk-ICCKQ2GC.cjs +15 -0
  37. package/libs/chunk-ICCKQ2GC.cjs.map +1 -0
  38. package/libs/chunk-IYUN2EW3.cjs +15 -0
  39. package/libs/chunk-IYUN2EW3.cjs.map +1 -0
  40. package/libs/chunk-KKLTUJFB.cjs +31 -0
  41. package/libs/chunk-KKLTUJFB.cjs.map +1 -0
  42. package/libs/chunk-LHVJKDMA.cjs +15 -0
  43. package/libs/chunk-LHVJKDMA.cjs.map +1 -0
  44. package/libs/chunk-LIQJ7ZZR.js +8 -0
  45. package/libs/chunk-LIQJ7ZZR.js.map +1 -0
  46. package/libs/chunk-LL7HTLMS.cjs +15 -0
  47. package/libs/chunk-LL7HTLMS.cjs.map +1 -0
  48. package/libs/chunk-LT5KZ2QW.cjs +22 -0
  49. package/libs/chunk-LT5KZ2QW.cjs.map +1 -0
  50. package/libs/chunk-M5QL5TAE.cjs +14 -0
  51. package/libs/chunk-M5QL5TAE.cjs.map +1 -0
  52. package/libs/chunk-NE6YXTMC.js +7 -0
  53. package/libs/chunk-NE6YXTMC.js.map +1 -0
  54. package/libs/chunk-NHYXGV3L.js +8 -0
  55. package/libs/chunk-NHYXGV3L.js.map +1 -0
  56. package/libs/chunk-O6QZBB6G.js +9 -0
  57. package/libs/chunk-O6QZBB6G.js.map +1 -0
  58. package/libs/chunk-P7TTEYCD.js +7 -0
  59. package/libs/chunk-P7TTEYCD.js.map +1 -0
  60. package/libs/chunk-PPOOBUOS.js +8 -0
  61. package/libs/chunk-PPOOBUOS.js.map +1 -0
  62. package/libs/chunk-QCMV4VQZ.js +8 -0
  63. package/libs/chunk-QCMV4VQZ.js.map +1 -0
  64. package/libs/chunk-QVV34QEH.cjs +32 -0
  65. package/libs/chunk-QVV34QEH.cjs.map +1 -0
  66. package/libs/chunk-S7BABR7Z.cjs +13 -0
  67. package/libs/chunk-S7BABR7Z.cjs.map +1 -0
  68. package/libs/chunk-SXVZSWX6.js +11 -0
  69. package/libs/chunk-SXVZSWX6.js.map +1 -0
  70. package/libs/chunk-X3EVB7VS.cjs +15 -0
  71. package/libs/chunk-X3EVB7VS.cjs.map +1 -0
  72. package/libs/chunk-YWOYVRFT.js +9 -0
  73. package/libs/chunk-YWOYVRFT.js.map +1 -0
  74. package/libs/component-props-a8a2f97e.d.ts +38 -0
  75. package/libs/components/breadcrumbs/breadcrumb.cjs +20 -0
  76. package/libs/components/breadcrumbs/breadcrumb.cjs.map +1 -0
  77. package/libs/components/breadcrumbs/breadcrumb.d.cts +51 -0
  78. package/libs/components/breadcrumbs/breadcrumb.d.ts +51 -0
  79. package/libs/components/breadcrumbs/breadcrumb.js +5 -0
  80. package/libs/components/breadcrumbs/breadcrumb.js.map +1 -0
  81. package/libs/components/button.cjs +19 -0
  82. package/libs/components/button.cjs.map +1 -0
  83. package/libs/components/button.d.cts +16 -0
  84. package/libs/components/button.d.ts +16 -0
  85. package/libs/components/button.js +4 -0
  86. package/libs/components/button.js.map +1 -0
  87. package/libs/components/card.cjs +31 -0
  88. package/libs/components/card.cjs.map +1 -0
  89. package/libs/components/card.d.cts +58 -0
  90. package/libs/components/card.d.ts +58 -0
  91. package/libs/components/card.js +4 -0
  92. package/libs/components/card.js.map +1 -0
  93. package/libs/components/details/details.css +1 -1
  94. package/libs/components/details/details.css.map +1 -1
  95. package/libs/components/details/details.min.css +2 -2
  96. package/libs/components/dialog/dialog.cjs +22 -0
  97. package/libs/components/dialog/dialog.cjs.map +1 -0
  98. package/libs/components/dialog/dialog.d.cts +51 -0
  99. package/libs/components/dialog/dialog.d.ts +51 -0
  100. package/libs/components/dialog/dialog.js +7 -0
  101. package/libs/components/dialog/dialog.js.map +1 -0
  102. package/libs/components/form/fields.cjs +19 -0
  103. package/libs/components/form/fields.cjs.map +1 -0
  104. package/libs/components/form/fields.d.cts +24 -0
  105. package/libs/components/form/fields.d.ts +24 -0
  106. package/libs/components/form/fields.js +4 -0
  107. package/libs/components/form/fields.js.map +1 -0
  108. package/libs/components/form/inputs.cjs +19 -0
  109. package/libs/components/form/inputs.cjs.map +1 -0
  110. package/libs/components/form/inputs.d.cts +2 -0
  111. package/libs/components/form/inputs.d.ts +2 -0
  112. package/libs/components/form/inputs.js +4 -0
  113. package/libs/components/form/inputs.js.map +1 -0
  114. package/libs/components/form/textarea.cjs +19 -0
  115. package/libs/components/form/textarea.cjs.map +1 -0
  116. package/libs/components/form/textarea.d.cts +29 -0
  117. package/libs/components/form/textarea.d.ts +29 -0
  118. package/libs/components/form/textarea.js +4 -0
  119. package/libs/components/form/textarea.js.map +1 -0
  120. package/libs/components/heading/heading.cjs +10 -0
  121. package/libs/components/heading/heading.cjs.map +1 -0
  122. package/libs/components/heading/heading.d.cts +14 -0
  123. package/libs/components/heading/heading.d.ts +14 -0
  124. package/libs/components/heading/heading.js +4 -0
  125. package/libs/components/heading/heading.js.map +1 -0
  126. package/libs/components/icons/icon.cjs +19 -0
  127. package/libs/components/icons/icon.cjs.map +1 -0
  128. package/libs/{icons-31ace3de.d.ts → components/icons/icon.d.cts} +4 -58
  129. package/libs/components/icons/icon.d.ts +301 -0
  130. package/libs/components/icons/icon.js +4 -0
  131. package/libs/components/icons/icon.js.map +1 -0
  132. package/libs/components/link/link.cjs +19 -0
  133. package/libs/components/link/link.cjs.map +1 -0
  134. package/libs/components/link/link.d.cts +19 -0
  135. package/libs/components/link/link.d.ts +19 -0
  136. package/libs/components/link/link.js +4 -0
  137. package/libs/components/link/link.js.map +1 -0
  138. package/libs/components/list/list.cjs +23 -0
  139. package/libs/components/list/list.cjs.map +1 -0
  140. package/libs/components/list/list.d.cts +39 -0
  141. package/libs/components/list/list.d.ts +39 -0
  142. package/libs/components/list/list.js +4 -0
  143. package/libs/components/list/list.js.map +1 -0
  144. package/libs/components/modal.cjs +14 -0
  145. package/libs/components/modal.cjs.map +1 -0
  146. package/libs/components/modal.d.cts +35 -0
  147. package/libs/components/modal.d.ts +35 -0
  148. package/libs/components/modal.js +5 -0
  149. package/libs/components/modal.js.map +1 -0
  150. package/libs/components/nav/nav.cjs +28 -0
  151. package/libs/components/nav/nav.cjs.map +1 -0
  152. package/libs/components/nav/nav.d.cts +44 -0
  153. package/libs/components/nav/nav.d.ts +44 -0
  154. package/libs/components/nav/nav.js +5 -0
  155. package/libs/components/nav/nav.js.map +1 -0
  156. package/libs/components/popover/popover.cjs +23 -0
  157. package/libs/components/popover/popover.cjs.map +1 -0
  158. package/libs/components/popover/popover.d.cts +40 -0
  159. package/libs/components/popover/popover.d.ts +40 -0
  160. package/libs/components/popover/popover.js +4 -0
  161. package/libs/components/popover/popover.js.map +1 -0
  162. package/libs/components/tables/table.cjs +21 -0
  163. package/libs/components/tables/table.cjs.map +1 -0
  164. package/libs/components/tables/table.d.cts +36 -0
  165. package/libs/components/tables/table.d.ts +36 -0
  166. package/libs/components/tables/table.js +4 -0
  167. package/libs/components/tables/table.js.map +1 -0
  168. package/libs/components/text/text.cjs +23 -0
  169. package/libs/components/text/text.cjs.map +1 -0
  170. package/libs/components/text/text.d.cts +30 -0
  171. package/libs/components/text/text.d.ts +30 -0
  172. package/libs/components/text/text.js +4 -0
  173. package/libs/components/text/text.js.map +1 -0
  174. package/libs/icons.cjs +3 -2
  175. package/libs/icons.d.cts +3 -1
  176. package/libs/icons.d.ts +3 -1
  177. package/libs/icons.js +2 -1
  178. package/libs/index.cjs +152 -61
  179. package/libs/index.cjs.map +1 -1
  180. package/libs/index.css +1 -1
  181. package/libs/index.css.map +1 -1
  182. package/libs/index.d.cts +65 -472
  183. package/libs/index.d.ts +65 -472
  184. package/libs/index.js +24 -7
  185. package/libs/index.js.map +1 -1
  186. package/libs/inputs-f3a216db.d.ts +45 -0
  187. package/libs/ui-9a6f9f8d.d.ts +24 -0
  188. package/package.json +87 -2
  189. package/src/components/README.mdx +1 -1
  190. package/src/components/alert/README.mdx +1 -1
  191. package/src/components/alert/alert.stories.tsx +2 -2
  192. package/src/components/alert/elements/README.mdx +1 -1
  193. package/src/components/alert/elements/dismiss-button.stories.tsx +2 -2
  194. package/src/components/badge/badge.mdx +1 -1
  195. package/src/components/badge/badge.stories.tsx +2 -2
  196. package/src/components/badge/badge.tsx +11 -19
  197. package/src/components/breadcrumbs/README.mdx +1 -1
  198. package/src/components/breadcrumbs/breadcrumb.stories.tsx +2 -2
  199. package/src/components/button.ts +2 -0
  200. package/src/components/buttons/README.mdx +1 -1
  201. package/src/components/buttons/button.stories.tsx +2 -2
  202. package/src/components/buttons/button.test.tsx +1 -1
  203. package/src/components/card.ts +2 -0
  204. package/src/components/cards/README.md +80 -0
  205. package/src/components/cards/card.stories.tsx +2 -2
  206. package/src/components/details/README.mdx +1 -1
  207. package/src/components/details/details.scss +7 -0
  208. package/src/components/details/details.stories.tsx +2 -2
  209. package/src/components/details/details.tsx +11 -18
  210. package/src/components/dialog/README.mdx +1 -1
  211. package/src/components/dialog/dialog-modal.stories.tsx +2 -2
  212. package/src/components/dialog/dialog-modal.tsx +1 -1
  213. package/src/components/dialog/dialog.stories.tsx +2 -2
  214. package/src/components/dialog/views/README.mdx +1 -1
  215. package/src/components/dialog/views/dialog-header.stories.tsx +2 -2
  216. package/src/components/form/form.stories.tsx +2 -2
  217. package/src/components/form/input.stories.tsx +2 -2
  218. package/src/components/form/select.stories.tsx +2 -2
  219. package/src/components/fp.test.tsx +52 -50
  220. package/src/components/heading/heading.stories.tsx +2 -2
  221. package/src/components/heading/heading.tsx +12 -24
  222. package/src/components/icons/icon.stories.tsx +1 -1
  223. package/src/components/images/figure.stories.tsx +2 -2
  224. package/src/components/images/img.stories.tsx +2 -2
  225. package/src/components/layout/footer.stories.tsx +10 -19
  226. package/src/components/layout/landmarks.stories.tsx +22 -24
  227. package/src/components/layout/main.stories.tsx +21 -25
  228. package/src/components/link/link.stories.tsx +2 -2
  229. package/src/components/list/list.stories.tsx +2 -2
  230. package/src/components/modal.ts +1 -0
  231. package/src/components/nav/nav.stories.tsx +2 -2
  232. package/src/components/popover/popover.stories.tsx +2 -2
  233. package/src/components/progress/progress.stories.tsx +1 -1
  234. package/src/components/tag/tag.stories.tsx +2 -2
  235. package/src/components/text/text.stories.tsx +2 -2
  236. package/src/components/text/text.tsx +50 -49
  237. package/src/components/text-to-speech/TextToSpeech.stories.tsx +1 -1
  238. package/src/decorators/instructions.tsx +2 -1
  239. package/src/index.ts +43 -19
  240. package/src/patterns/page/page-header.stories.tsx +2 -2
  241. package/src/styles/details/details.css +8 -0
  242. package/src/styles/details/details.css.map +1 -1
  243. package/src/styles/index.css +8 -0
  244. package/src/styles/index.css.map +1 -1
  245. package/libs/chunk-PWVRDQ3R.js +0 -8
  246. package/libs/chunk-PWVRDQ3R.js.map +0 -1
  247. package/libs/chunk-SVS4MX3U.cjs +0 -31
  248. package/libs/chunk-SVS4MX3U.cjs.map +0 -1
  249. package/src/components/cards/README.mdx +0 -133
  250. package/src/components/text/README.mdx +0 -98
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var chunkX3EVB7VS_cjs = require('../../chunk-X3EVB7VS.cjs');
6
+ require('../../chunk-6TE5QEVE.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, 'Link', {
11
+ enumerable: true,
12
+ get: function () { return chunkX3EVB7VS_cjs.a; }
13
+ });
14
+ Object.defineProperty(exports, 'default', {
15
+ enumerable: true,
16
+ get: function () { return chunkX3EVB7VS_cjs.b; }
17
+ });
18
+ //# sourceMappingURL=out.js.map
19
+ //# sourceMappingURL=link.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { F as FP } from '../../ui-9a6f9f8d.js';
2
+ import React__default from 'react';
3
+
4
+ type LinkProps = {
5
+ href?: string;
6
+ target?: string;
7
+ rel?: string;
8
+ children: React__default.ReactNode;
9
+ styles?: React__default.CSSProperties;
10
+ prefetch?: boolean;
11
+ btnStyle?: string;
12
+ onPointerDown?: (event: React__default.PointerEvent<HTMLAnchorElement>) => void;
13
+ } & React__default.ComponentProps<typeof FP> & React__default.ComponentProps<"a">;
14
+ declare const Link: {
15
+ ({ href, target, rel, children, styles, prefetch, btnStyle, onPointerDown, ...props }: LinkProps): React__default.JSX.Element;
16
+ displayName: string;
17
+ };
18
+
19
+ export { Link, LinkProps, Link as default };
@@ -0,0 +1,19 @@
1
+ import { F as FP } from '../../ui-9a6f9f8d.js';
2
+ import React__default from 'react';
3
+
4
+ type LinkProps = {
5
+ href?: string;
6
+ target?: string;
7
+ rel?: string;
8
+ children: React__default.ReactNode;
9
+ styles?: React__default.CSSProperties;
10
+ prefetch?: boolean;
11
+ btnStyle?: string;
12
+ onPointerDown?: (event: React__default.PointerEvent<HTMLAnchorElement>) => void;
13
+ } & React__default.ComponentProps<typeof FP> & React__default.ComponentProps<"a">;
14
+ declare const Link: {
15
+ ({ href, target, rel, children, styles, prefetch, btnStyle, onPointerDown, ...props }: LinkProps): React__default.JSX.Element;
16
+ displayName: string;
17
+ };
18
+
19
+ export { Link, LinkProps, Link as default };
@@ -0,0 +1,4 @@
1
+ export { a as Link, b as default } from '../../chunk-5ZM4XL44.js';
2
+ import '../../chunk-NE6YXTMC.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var chunkQVV34QEH_cjs = require('../../chunk-QVV34QEH.cjs');
6
+ require('../../chunk-6TE5QEVE.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, 'List', {
11
+ enumerable: true,
12
+ get: function () { return chunkQVV34QEH_cjs.b; }
13
+ });
14
+ Object.defineProperty(exports, 'ListItem', {
15
+ enumerable: true,
16
+ get: function () { return chunkQVV34QEH_cjs.a; }
17
+ });
18
+ Object.defineProperty(exports, 'default', {
19
+ enumerable: true,
20
+ get: function () { return chunkQVV34QEH_cjs.c; }
21
+ });
22
+ //# sourceMappingURL=out.js.map
23
+ //# sourceMappingURL=list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ import * as React from 'react';
2
+ import { F as FP } from '../../ui-9a6f9f8d.js';
3
+
4
+ type ListProps = {
5
+ /** Type of list to render (default: 'ul') */
6
+ type?: 'ul' | 'ol' | 'dl';
7
+ /** variant of list to render (default: 'none') */
8
+ variant?: string;
9
+ } & React.ComponentProps<typeof FP>;
10
+ type ListItemProps = {
11
+ /** Type of list item to render (default: 'li') */
12
+ type?: 'li' | 'dt' | 'dd';
13
+ } & React.ComponentProps<typeof FP>;
14
+ /**
15
+ * ListItem component
16
+ * @param type - HTML tag type for the list item (default: 'li')
17
+ * @param styles - CSS styles object
18
+ * @param children - Child elements to be rendered inside the list item
19
+ * @param props - Additional props to be passed to the underlying HTML element
20
+ * @returns A React component that renders a list item
21
+ */
22
+ declare const ListItem: ({ type, id, styles, children, classes, ...props }: ListItemProps) => React.JSX.Element;
23
+ /**
24
+ * List component renders a list element with provided props
25
+ * @param children - Child elements to render inside the list
26
+ * @param classes - CSS classes to apply
27
+ * @param type - Type of list element (default: 'ul')
28
+ * @param variant - Variant for styling purposes
29
+ * @param styles - Inline styles object
30
+ * @param role - ARIA role
31
+ * @param props - Additional props to pass to underlying element
32
+ */
33
+ declare const List: {
34
+ ({ children, classes, type, variant, styles, role, ...props }: ListProps): React.JSX.Element;
35
+ displayName: string;
36
+ ListItem: ({ type, id, styles, children, classes, ...props }: ListItemProps) => React.JSX.Element;
37
+ };
38
+
39
+ export { List, ListItem, ListItemProps, List as default };
@@ -0,0 +1,39 @@
1
+ import * as React from 'react';
2
+ import { F as FP } from '../../ui-9a6f9f8d.js';
3
+
4
+ type ListProps = {
5
+ /** Type of list to render (default: 'ul') */
6
+ type?: 'ul' | 'ol' | 'dl';
7
+ /** variant of list to render (default: 'none') */
8
+ variant?: string;
9
+ } & React.ComponentProps<typeof FP>;
10
+ type ListItemProps = {
11
+ /** Type of list item to render (default: 'li') */
12
+ type?: 'li' | 'dt' | 'dd';
13
+ } & React.ComponentProps<typeof FP>;
14
+ /**
15
+ * ListItem component
16
+ * @param type - HTML tag type for the list item (default: 'li')
17
+ * @param styles - CSS styles object
18
+ * @param children - Child elements to be rendered inside the list item
19
+ * @param props - Additional props to be passed to the underlying HTML element
20
+ * @returns A React component that renders a list item
21
+ */
22
+ declare const ListItem: ({ type, id, styles, children, classes, ...props }: ListItemProps) => React.JSX.Element;
23
+ /**
24
+ * List component renders a list element with provided props
25
+ * @param children - Child elements to render inside the list
26
+ * @param classes - CSS classes to apply
27
+ * @param type - Type of list element (default: 'ul')
28
+ * @param variant - Variant for styling purposes
29
+ * @param styles - Inline styles object
30
+ * @param role - ARIA role
31
+ * @param props - Additional props to pass to underlying element
32
+ */
33
+ declare const List: {
34
+ ({ children, classes, type, variant, styles, role, ...props }: ListProps): React.JSX.Element;
35
+ displayName: string;
36
+ ListItem: ({ type, id, styles, children, classes, ...props }: ListItemProps) => React.JSX.Element;
37
+ };
38
+
39
+ export { List, ListItem, ListItemProps, List as default };
@@ -0,0 +1,4 @@
1
+ export { b as List, a as ListItem, c as default } from '../../chunk-NHYXGV3L.js';
2
+ import '../../chunk-NE6YXTMC.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var chunkICCKQ2GC_cjs = require('../chunk-ICCKQ2GC.cjs');
4
+ require('../chunk-LHVJKDMA.cjs');
5
+ require('../chunk-6TE5QEVE.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, 'Modal', {
10
+ enumerable: true,
11
+ get: function () { return chunkICCKQ2GC_cjs.a; }
12
+ });
13
+ //# sourceMappingURL=out.js.map
14
+ //# sourceMappingURL=modal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ import React__default from 'react';
2
+ import { C as ComponentProps } from '../component-props-a8a2f97e.js';
3
+
4
+ interface ModalProps extends ComponentProps {
5
+ /**
6
+ * The child component/content for open button
7
+ */
8
+ openChild?: React__default.ReactNode;
9
+ /**
10
+ * The child component/content for close button
11
+ */
12
+ closeChild?: React__default.ReactNode;
13
+ /**
14
+ * The child component/content for modal header
15
+ */
16
+ modalHeader?: React__default.ReactNode;
17
+ /**
18
+ * The child component/content for modal footer
19
+ */
20
+ modalFooter?: React__default.ReactNode;
21
+ /**
22
+ * The child component/content for modal body
23
+ */
24
+ children: React__default.ReactNode;
25
+ /**
26
+ * Open modal on mount when set to true
27
+ */
28
+ showOpen?: boolean;
29
+ }
30
+ declare const Modal: {
31
+ ({ openChild, closeChild, modalHeader, modalFooter, children, showOpen, ...props }: ModalProps): React__default.JSX.Element;
32
+ displayName: string;
33
+ };
34
+
35
+ export { Modal, ModalProps };
@@ -0,0 +1,35 @@
1
+ import React__default from 'react';
2
+ import { C as ComponentProps } from '../component-props-a8a2f97e.js';
3
+
4
+ interface ModalProps extends ComponentProps {
5
+ /**
6
+ * The child component/content for open button
7
+ */
8
+ openChild?: React__default.ReactNode;
9
+ /**
10
+ * The child component/content for close button
11
+ */
12
+ closeChild?: React__default.ReactNode;
13
+ /**
14
+ * The child component/content for modal header
15
+ */
16
+ modalHeader?: React__default.ReactNode;
17
+ /**
18
+ * The child component/content for modal footer
19
+ */
20
+ modalFooter?: React__default.ReactNode;
21
+ /**
22
+ * The child component/content for modal body
23
+ */
24
+ children: React__default.ReactNode;
25
+ /**
26
+ * Open modal on mount when set to true
27
+ */
28
+ showOpen?: boolean;
29
+ }
30
+ declare const Modal: {
31
+ ({ openChild, closeChild, modalHeader, modalFooter, children, showOpen, ...props }: ModalProps): React__default.JSX.Element;
32
+ displayName: string;
33
+ };
34
+
35
+ export { Modal, ModalProps };
@@ -0,0 +1,5 @@
1
+ export { a as Modal } from '../chunk-YWOYVRFT.js';
2
+ import '../chunk-QCMV4VQZ.js';
3
+ import '../chunk-NE6YXTMC.js';
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=modal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var chunkDV56L5YX_cjs = require('../../chunk-DV56L5YX.cjs');
6
+ require('../../chunk-QVV34QEH.cjs');
7
+ require('../../chunk-6TE5QEVE.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, 'Nav', {
12
+ enumerable: true,
13
+ get: function () { return chunkDV56L5YX_cjs.c; }
14
+ });
15
+ Object.defineProperty(exports, 'NavItem', {
16
+ enumerable: true,
17
+ get: function () { return chunkDV56L5YX_cjs.b; }
18
+ });
19
+ Object.defineProperty(exports, 'NavList', {
20
+ enumerable: true,
21
+ get: function () { return chunkDV56L5YX_cjs.a; }
22
+ });
23
+ Object.defineProperty(exports, 'default', {
24
+ enumerable: true,
25
+ get: function () { return chunkDV56L5YX_cjs.d; }
26
+ });
27
+ //# sourceMappingURL=out.js.map
28
+ //# sourceMappingURL=nav.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ import { F as FP } from '../../ui-9a6f9f8d.js';
2
+ import List from '../list/list.cjs';
3
+ import React__default from 'react';
4
+
5
+ type NavListProps = React__default.ComponentProps<typeof List> & {
6
+ isBlock?: boolean;
7
+ };
8
+ type NavItemProps = React__default.ComponentProps<typeof List.ListItem>;
9
+ type NavProps = React__default.ComponentProps<typeof FP>;
10
+ /**
11
+ * Renders a NavList component.
12
+ * @param {Object} props - The props for the component.
13
+ * @param {ReactNode} props.children - The child elements.
14
+ * @param {Object} props - Additional props to spread to the List component.
15
+ * @returns {JSX.Element} The rendered NavList component.
16
+ */
17
+ declare const NavList: ({ isBlock, children, ...props }: NavListProps) => React__default.JSX.Element;
18
+ /**
19
+ * Renders a NavItem component.
20
+ * @param {Object} props - The props for the component.
21
+ * @param {string} [props.id] - The id for the component.
22
+ * @param {Object} [props.styles] - The styles for the component.
23
+ * @param {string} [props.classes] - The classes for the component.
24
+ * @param {ReactNode} props.children - The child elements.
25
+ * @param {boolean} [props.inline=true] - Whether the item should display inline.
26
+ * @param {Object} props - Additional props to spread to the ListItem component.
27
+ * @returns {JSX.Element} The rendered NavItem component.
28
+ */
29
+ declare const NavItem: ({ id, styles, classes, children, ...props }: NavItemProps) => React__default.JSX.Element;
30
+ /**
31
+ * Renders a Nav component.
32
+ * @param {Object} props - The props for the component.
33
+ * @param {ReactNode} props.children - The child elements.
34
+ * @param {Object} props - Additional props to spread to the UI component.
35
+ * @returns {JSX.Element} The rendered Nav component.
36
+ */
37
+ declare const Nav: {
38
+ ({ children, ...props }: NavProps): React__default.JSX.Element;
39
+ displayName: string;
40
+ List: ({ isBlock, children, ...props }: NavListProps) => React__default.JSX.Element;
41
+ Item: ({ id, styles, classes, children, ...props }: NavItemProps) => React__default.JSX.Element;
42
+ };
43
+
44
+ export { Nav, NavItem, NavItemProps, NavList, NavListProps, NavProps, Nav as default };
@@ -0,0 +1,44 @@
1
+ import { F as FP } from '../../ui-9a6f9f8d.js';
2
+ import List from '../list/list.js';
3
+ import React__default from 'react';
4
+
5
+ type NavListProps = React__default.ComponentProps<typeof List> & {
6
+ isBlock?: boolean;
7
+ };
8
+ type NavItemProps = React__default.ComponentProps<typeof List.ListItem>;
9
+ type NavProps = React__default.ComponentProps<typeof FP>;
10
+ /**
11
+ * Renders a NavList component.
12
+ * @param {Object} props - The props for the component.
13
+ * @param {ReactNode} props.children - The child elements.
14
+ * @param {Object} props - Additional props to spread to the List component.
15
+ * @returns {JSX.Element} The rendered NavList component.
16
+ */
17
+ declare const NavList: ({ isBlock, children, ...props }: NavListProps) => React__default.JSX.Element;
18
+ /**
19
+ * Renders a NavItem component.
20
+ * @param {Object} props - The props for the component.
21
+ * @param {string} [props.id] - The id for the component.
22
+ * @param {Object} [props.styles] - The styles for the component.
23
+ * @param {string} [props.classes] - The classes for the component.
24
+ * @param {ReactNode} props.children - The child elements.
25
+ * @param {boolean} [props.inline=true] - Whether the item should display inline.
26
+ * @param {Object} props - Additional props to spread to the ListItem component.
27
+ * @returns {JSX.Element} The rendered NavItem component.
28
+ */
29
+ declare const NavItem: ({ id, styles, classes, children, ...props }: NavItemProps) => React__default.JSX.Element;
30
+ /**
31
+ * Renders a Nav component.
32
+ * @param {Object} props - The props for the component.
33
+ * @param {ReactNode} props.children - The child elements.
34
+ * @param {Object} props - Additional props to spread to the UI component.
35
+ * @returns {JSX.Element} The rendered Nav component.
36
+ */
37
+ declare const Nav: {
38
+ ({ children, ...props }: NavProps): React__default.JSX.Element;
39
+ displayName: string;
40
+ List: ({ isBlock, children, ...props }: NavListProps) => React__default.JSX.Element;
41
+ Item: ({ id, styles, classes, children, ...props }: NavItemProps) => React__default.JSX.Element;
42
+ };
43
+
44
+ export { Nav, NavItem, NavItemProps, NavList, NavListProps, NavProps, Nav as default };
@@ -0,0 +1,5 @@
1
+ export { c as Nav, b as NavItem, a as NavList, d as default } from '../../chunk-EQ67LF46.js';
2
+ import '../../chunk-NHYXGV3L.js';
3
+ import '../../chunk-NE6YXTMC.js';
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=nav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var chunkG55UJ53G_cjs = require('../../chunk-G55UJ53G.cjs');
6
+ require('../../chunk-PDD4N5P5.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, 'Popover', {
11
+ enumerable: true,
12
+ get: function () { return chunkG55UJ53G_cjs.b; }
13
+ });
14
+ Object.defineProperty(exports, 'default', {
15
+ enumerable: true,
16
+ get: function () { return chunkG55UJ53G_cjs.c; }
17
+ });
18
+ Object.defineProperty(exports, 'defaultStyles', {
19
+ enumerable: true,
20
+ get: function () { return chunkG55UJ53G_cjs.a; }
21
+ });
22
+ //# sourceMappingURL=out.js.map
23
+ //# sourceMappingURL=popover.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ import React__default from 'react';
2
+
3
+ /**
4
+ * Interface for props accepted by the Popover component
5
+ *
6
+ * @property {ReactNode} children - The content to show in the popover
7
+ * @property {ReactNode} [content] - Optional alternative content for popover
8
+ */
9
+ type PopoverProps = {
10
+ children: React__default.ReactNode;
11
+ popoverTrigger: React__default.ReactNode;
12
+ styles?: {};
13
+ };
14
+ declare const defaultStyles: React__default.CSSProperties;
15
+ /**
16
+ * Popover component to display popover content.
17
+ *
18
+ * @param props - The props for the component
19
+ * @param props.children - The content to show in the popover
20
+ * @param props.popoverTrigger - The element that triggers the popover on hover
21
+ *
22
+ * @returns JSX.Element - The rendered JSX element for the Popover
23
+ * @example - <Popover popoverTrigger={<button>Hover here</button>}>Popover content</Popover>
24
+ *
25
+ * The component uses the usePopover hook to handle popover visibility and positioning.
26
+ *
27
+ * It renders the triggerElement, and conditionally renders the popover content
28
+ * positioned absolutely when visible.
29
+ *
30
+ * Inline styles handle visuals like background, border, padding, etc.
31
+ *
32
+ * Transforms and opacity animate the enter/exit transition of the popover.
33
+ */
34
+ declare const Popover: {
35
+ ({ children, popoverTrigger, styles, ...props }: PopoverProps): JSX.Element;
36
+ displayName: string;
37
+ styles: React__default.CSSProperties;
38
+ };
39
+
40
+ export { Popover, PopoverProps, Popover as default, defaultStyles };
@@ -0,0 +1,40 @@
1
+ import React__default from 'react';
2
+
3
+ /**
4
+ * Interface for props accepted by the Popover component
5
+ *
6
+ * @property {ReactNode} children - The content to show in the popover
7
+ * @property {ReactNode} [content] - Optional alternative content for popover
8
+ */
9
+ type PopoverProps = {
10
+ children: React__default.ReactNode;
11
+ popoverTrigger: React__default.ReactNode;
12
+ styles?: {};
13
+ };
14
+ declare const defaultStyles: React__default.CSSProperties;
15
+ /**
16
+ * Popover component to display popover content.
17
+ *
18
+ * @param props - The props for the component
19
+ * @param props.children - The content to show in the popover
20
+ * @param props.popoverTrigger - The element that triggers the popover on hover
21
+ *
22
+ * @returns JSX.Element - The rendered JSX element for the Popover
23
+ * @example - <Popover popoverTrigger={<button>Hover here</button>}>Popover content</Popover>
24
+ *
25
+ * The component uses the usePopover hook to handle popover visibility and positioning.
26
+ *
27
+ * It renders the triggerElement, and conditionally renders the popover content
28
+ * positioned absolutely when visible.
29
+ *
30
+ * Inline styles handle visuals like background, border, padding, etc.
31
+ *
32
+ * Transforms and opacity animate the enter/exit transition of the popover.
33
+ */
34
+ declare const Popover: {
35
+ ({ children, popoverTrigger, styles, ...props }: PopoverProps): JSX.Element;
36
+ displayName: string;
37
+ styles: React__default.CSSProperties;
38
+ };
39
+
40
+ export { Popover, PopoverProps, Popover as default, defaultStyles };
@@ -0,0 +1,4 @@
1
+ export { b as Popover, c as default, a as defaultStyles } from '../../chunk-23ANBDCR.js';
2
+ import '../../chunk-GCGKYLDG.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var chunkLT5KZ2QW_cjs = require('../../chunk-LT5KZ2QW.cjs');
4
+ require('../../chunk-S7BABR7Z.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, 'RenderBody', {
9
+ enumerable: true,
10
+ get: function () { return chunkLT5KZ2QW_cjs.h; }
11
+ });
12
+ Object.defineProperty(exports, 'RenderHead', {
13
+ enumerable: true,
14
+ get: function () { return chunkLT5KZ2QW_cjs.g; }
15
+ });
16
+ Object.defineProperty(exports, 'RenderTable', {
17
+ enumerable: true,
18
+ get: function () { return chunkLT5KZ2QW_cjs.i; }
19
+ });
20
+ //# sourceMappingURL=out.js.map
21
+ //# sourceMappingURL=table.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ import { C as ComponentProps } from '../../component-props-a8a2f97e.js';
2
+ import React__default from 'react';
3
+
4
+ interface TableProps extends ComponentProps {
5
+ tblHead: React__default.ReactNode;
6
+ tblBody: React__default.ReactNode;
7
+ tblCaption?: React__default.ReactNode;
8
+ }
9
+ type dataType = {
10
+ id: number;
11
+ items: string[];
12
+ }[];
13
+ /**
14
+ * Render the `thead` by passing an array of names
15
+ */
16
+ declare const RenderHead: {
17
+ (data: []): React__default.JSX.Element;
18
+ displayName: string;
19
+ };
20
+ /**
21
+ * Render the table body `tr`, `td` with the data provided
22
+ */
23
+ declare const RenderBody: {
24
+ (data: {}[]): React__default.JSX.Element;
25
+ displayName: string;
26
+ };
27
+ /**
28
+ * Render the table placing `caption`, `thead` and `tbody` in the correct order
29
+ * caption is optional
30
+ */
31
+ declare const RenderTable: {
32
+ ({ tblBody, tblCaption, tblHead }: TableProps): React__default.JSX.Element;
33
+ displayName: string;
34
+ };
35
+
36
+ export { RenderBody, RenderHead, RenderTable, TableProps, dataType };
@@ -0,0 +1,36 @@
1
+ import { C as ComponentProps } from '../../component-props-a8a2f97e.js';
2
+ import React__default from 'react';
3
+
4
+ interface TableProps extends ComponentProps {
5
+ tblHead: React__default.ReactNode;
6
+ tblBody: React__default.ReactNode;
7
+ tblCaption?: React__default.ReactNode;
8
+ }
9
+ type dataType = {
10
+ id: number;
11
+ items: string[];
12
+ }[];
13
+ /**
14
+ * Render the `thead` by passing an array of names
15
+ */
16
+ declare const RenderHead: {
17
+ (data: []): React__default.JSX.Element;
18
+ displayName: string;
19
+ };
20
+ /**
21
+ * Render the table body `tr`, `td` with the data provided
22
+ */
23
+ declare const RenderBody: {
24
+ (data: {}[]): React__default.JSX.Element;
25
+ displayName: string;
26
+ };
27
+ /**
28
+ * Render the table placing `caption`, `thead` and `tbody` in the correct order
29
+ * caption is optional
30
+ */
31
+ declare const RenderTable: {
32
+ ({ tblBody, tblCaption, tblHead }: TableProps): React__default.JSX.Element;
33
+ displayName: string;
34
+ };
35
+
36
+ export { RenderBody, RenderHead, RenderTable, TableProps, dataType };
@@ -0,0 +1,4 @@
1
+ export { h as RenderBody, g as RenderHead, i as RenderTable } from '../../chunk-5M57K4SW.js';
2
+ import '../../chunk-P7TTEYCD.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}