@fpkit/acss 0.5.12 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +89 -0
- package/libs/{chunk-DV56L5YX.cjs → chunk-2LTJ7HHX.cjs} +4 -4
- package/libs/{chunk-EQ67LF46.js → chunk-2Y7W75TT.js} +3 -3
- package/libs/{chunk-KKLTUJFB.cjs → chunk-3MKLDCKQ.cjs} +5 -5
- package/libs/chunk-3MKLDCKQ.cjs.map +1 -0
- package/libs/{chunk-X3EVB7VS.cjs → chunk-5S4ORA4C.cjs} +3 -3
- package/libs/{chunk-O6QZBB6G.js → chunk-772NRB75.js} +5 -5
- package/libs/chunk-772NRB75.js.map +1 -0
- package/libs/{chunk-6BVXFW7U.cjs → chunk-AHDJGCG5.cjs} +3 -3
- package/libs/{chunk-E3XP6BEX.cjs → chunk-B7F5FS6D.cjs} +3 -3
- package/libs/chunk-D4YLRWAO.cjs +18 -0
- package/libs/chunk-D4YLRWAO.cjs.map +1 -0
- package/libs/chunk-ETFLFC2S.js +10 -0
- package/libs/chunk-ETFLFC2S.js.map +1 -0
- package/libs/chunk-GZ4QFPRY.js +9 -0
- package/libs/chunk-GZ4QFPRY.js.map +1 -0
- package/libs/{chunk-LHVJKDMA.cjs → chunk-J32EZPYD.cjs} +3 -3
- package/libs/chunk-JJ43O4Y5.js +8 -0
- package/libs/chunk-JJ43O4Y5.js.map +1 -0
- package/libs/chunk-KUKIVRC2.js +7 -0
- package/libs/chunk-KUKIVRC2.js.map +1 -0
- package/libs/chunk-L75OQKEI.cjs +13 -0
- package/libs/chunk-L75OQKEI.cjs.map +1 -0
- package/libs/{chunk-LL7HTLMS.cjs → chunk-M5RRNTVX.cjs} +3 -3
- package/libs/{chunk-LIQJ7ZZR.js → chunk-NGTJDDFO.js} +2 -2
- package/libs/chunk-OK5QEIMD.cjs +17 -0
- package/libs/chunk-OK5QEIMD.cjs.map +1 -0
- package/libs/chunk-P2DC76ZZ.cjs +18 -0
- package/libs/chunk-P2DC76ZZ.cjs.map +1 -0
- package/libs/chunk-PQ2K3BM6.cjs +17 -0
- package/libs/chunk-PQ2K3BM6.cjs.map +1 -0
- package/libs/{chunk-QCMV4VQZ.js → chunk-QLZWHAMK.js} +2 -2
- package/libs/{chunk-BIP2NY53.js → chunk-RIVUMPOG.js} +2 -2
- package/libs/{chunk-ICCKQ2GC.cjs → chunk-ROZI23GS.cjs} +4 -4
- package/libs/{chunk-NHYXGV3L.js → chunk-SMYRLO3E.js} +2 -2
- package/libs/{chunk-5ZM4XL44.js → chunk-TYRCEX2L.js} +2 -2
- package/libs/chunk-VUH3FXGJ.js +11 -0
- package/libs/chunk-VUH3FXGJ.js.map +1 -0
- package/libs/{chunk-PPOOBUOS.js → chunk-XBA562WW.js} +2 -2
- package/libs/{chunk-QVV34QEH.cjs → chunk-XTQKWY7W.cjs} +3 -3
- package/libs/{chunk-YWOYVRFT.js → chunk-ZANSFMTD.js} +3 -3
- package/libs/components/alert/alert.css +1 -1
- package/libs/components/alert/alert.css.map +1 -1
- package/libs/components/alert/alert.min.css +2 -2
- package/libs/components/badge/badge.css +1 -1
- package/libs/components/badge/badge.css.map +1 -1
- package/libs/components/badge/badge.min.css +2 -2
- package/libs/components/breadcrumbs/breadcrumb.cjs +9 -5
- package/libs/components/breadcrumbs/breadcrumb.d.cts +271 -32
- package/libs/components/breadcrumbs/breadcrumb.d.ts +271 -32
- package/libs/components/breadcrumbs/breadcrumb.js +3 -3
- package/libs/components/button.cjs +4 -4
- package/libs/components/button.d.cts +2 -2
- package/libs/components/button.d.ts +2 -2
- package/libs/components/button.js +2 -2
- package/libs/components/buttons/button.css +1 -1
- package/libs/components/buttons/button.css.map +1 -1
- package/libs/components/buttons/button.min.css +2 -2
- package/libs/components/card.cjs +7 -7
- package/libs/components/card.d.cts +277 -33
- package/libs/components/card.d.ts +277 -33
- package/libs/components/card.js +2 -2
- package/libs/components/cards/card.css +1 -1
- package/libs/components/cards/card.css.map +1 -1
- package/libs/components/cards/card.min.css +2 -2
- package/libs/components/details/details.css +1 -1
- package/libs/components/details/details.css.map +1 -1
- package/libs/components/details/details.min.css +2 -2
- package/libs/components/dialog/dialog.cjs +7 -7
- package/libs/components/dialog/dialog.css +1 -1
- package/libs/components/dialog/dialog.css.map +1 -1
- package/libs/components/dialog/dialog.d.cts +88 -34
- package/libs/components/dialog/dialog.d.ts +88 -34
- package/libs/components/dialog/dialog.js +5 -5
- package/libs/components/dialog/dialog.min.css +2 -2
- package/libs/components/form/fields.cjs +4 -4
- package/libs/components/form/fields.d.cts +2 -2
- package/libs/components/form/fields.d.ts +2 -2
- package/libs/components/form/fields.js +2 -2
- package/libs/components/form/textarea.cjs +4 -4
- package/libs/components/form/textarea.d.cts +2 -2
- package/libs/components/form/textarea.d.ts +2 -2
- package/libs/components/form/textarea.js +2 -2
- package/libs/components/heading/heading.cjs +3 -3
- package/libs/components/heading/heading.d.cts +3 -14
- package/libs/components/heading/heading.d.ts +3 -14
- package/libs/components/heading/heading.js +2 -2
- package/libs/components/icons/icon.cjs +4 -4
- package/libs/components/icons/icon.d.cts +148 -4
- package/libs/components/icons/icon.d.ts +148 -4
- package/libs/components/icons/icon.js +2 -2
- package/libs/components/images/img.css +1 -1
- package/libs/components/images/img.css.map +1 -1
- package/libs/components/images/img.min.css +2 -2
- package/libs/components/link/link.cjs +4 -4
- package/libs/components/link/link.d.cts +2 -2
- package/libs/components/link/link.d.ts +2 -2
- package/libs/components/link/link.js +2 -2
- package/libs/components/list/list.cjs +5 -5
- package/libs/components/list/list.d.cts +3 -3
- package/libs/components/list/list.d.ts +3 -3
- package/libs/components/list/list.js +2 -2
- package/libs/components/modal.cjs +4 -4
- package/libs/components/modal.js +3 -3
- package/libs/components/nav/nav.cjs +7 -7
- package/libs/components/nav/nav.d.cts +2 -2
- package/libs/components/nav/nav.d.ts +2 -2
- package/libs/components/nav/nav.js +3 -3
- package/libs/components/text/text.cjs +5 -5
- package/libs/components/text/text.d.cts +2 -2
- package/libs/components/text/text.d.ts +2 -2
- package/libs/components/text/text.js +2 -2
- package/libs/heading-3648c538.d.ts +250 -0
- package/libs/hooks.cjs +7 -0
- package/libs/hooks.d.cts +5 -0
- package/libs/hooks.d.ts +5 -0
- package/libs/hooks.js +3 -0
- package/libs/icons.cjs +3 -3
- package/libs/icons.d.cts +1 -1
- package/libs/icons.d.ts +1 -1
- package/libs/icons.js +2 -2
- package/libs/index.cjs +112 -91
- package/libs/index.cjs.map +1 -1
- package/libs/index.css +1 -1
- package/libs/index.css.map +1 -1
- package/libs/index.d.cts +515 -31
- package/libs/index.d.ts +515 -31
- package/libs/index.js +31 -19
- package/libs/index.js.map +1 -1
- package/libs/ui-645f95b5.d.ts +285 -0
- package/package.json +2 -83
- package/src/components/README-UI.mdx +416 -0
- package/src/components/alert/ACCESSIBILITY.md +319 -0
- package/src/components/alert/README.mdx +475 -19
- package/src/components/alert/alert.scss +113 -6
- package/src/components/alert/alert.stories.tsx +372 -0
- package/src/components/alert/alert.test.tsx +762 -0
- package/src/components/alert/alert.tsx +331 -66
- package/src/components/alert/views/alert-actions.tsx +13 -0
- package/src/components/alert/views/alert-content.tsx +17 -0
- package/src/components/alert/views/alert-icon.tsx +53 -0
- package/src/components/alert/views/alert-screen-reader-text.tsx +30 -0
- package/src/components/alert/views/alert-title.tsx +23 -0
- package/src/components/alert/views/alert-view.tsx +158 -0
- package/src/components/alert/views/index.ts +12 -0
- package/src/components/badge/badge.mdx +186 -49
- package/src/components/badge/badge.scss +20 -2
- package/src/components/badge/badge.stories.tsx +160 -14
- package/src/components/badge/badge.test.tsx +179 -0
- package/src/components/badge/badge.tsx +97 -4
- package/src/components/breadcrumbs/README.mdx +364 -45
- package/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap +152 -0
- package/src/components/breadcrumbs/breadcrumb.stories.tsx +7 -3
- package/src/components/breadcrumbs/breadcrumb.test.tsx +490 -0
- package/src/components/breadcrumbs/breadcrumb.tsx +427 -170
- package/src/components/buttons/button.scss +34 -31
- package/src/components/buttons/button.stories.tsx +35 -0
- package/src/components/cards/README.mdx +657 -0
- package/src/components/cards/card.scss +22 -0
- package/src/components/cards/card.stories.tsx +167 -5
- package/src/components/cards/card.test.tsx +360 -20
- package/src/components/cards/card.tsx +200 -79
- package/src/components/cards/card.types.ts +135 -0
- package/src/components/cards/card.utils.ts +79 -0
- package/src/components/details/ACCESSIBILITY-REVIEW-LIVE.md +1050 -0
- package/src/components/details/ACCESSIBILITY-REVIEW.md +502 -0
- package/src/components/details/README.mdx +437 -69
- package/src/components/details/details.scss +16 -7
- package/src/components/details/details.test.tsx +385 -0
- package/src/components/details/details.tsx +101 -69
- package/src/components/details/details.types.ts +76 -0
- package/src/components/dialog/README.mdx +513 -110
- package/src/components/dialog/dialog-modal.tsx +79 -56
- package/src/components/dialog/dialog.scss +53 -3
- package/src/components/dialog/dialog.stories.tsx +10 -7
- package/src/components/dialog/dialog.test.tsx +450 -0
- package/src/components/dialog/dialog.tsx +69 -59
- package/src/components/dialog/dialog.types.ts +133 -0
- package/src/components/dialog/views/dialog-footer.tsx +54 -11
- package/src/components/dialog/views/dialog-header.tsx +20 -15
- package/src/components/heading/heading.stories.tsx +44 -4
- package/src/components/heading/heading.tsx +89 -23
- package/src/components/icons/README.mdx +332 -0
- package/src/components/icons/icon.stories.tsx +74 -1
- package/src/components/icons/icon.tsx +89 -1
- package/src/components/icons/types.ts +47 -0
- package/src/components/images/README.mdx +340 -24
- package/src/components/images/img.scss +19 -3
- package/src/components/images/img.stories.tsx +424 -15
- package/src/components/images/img.test.tsx +354 -25
- package/src/components/images/img.tsx +186 -63
- package/src/components/images/img.types.ts +211 -0
- package/src/components/title/MIGRATION.md +199 -0
- package/src/components/title/README.md +326 -0
- package/src/components/title/README.mdx +452 -0
- package/src/components/title/title.stories.tsx +393 -0
- package/src/components/title/title.test.tsx +251 -0
- package/src/components/title/title.tsx +219 -0
- package/src/components/ui.stories.tsx +894 -0
- package/src/components/ui.test.tsx +559 -0
- package/src/components/ui.tsx +266 -15
- package/src/components/word-count/README.md +240 -0
- package/src/hooks.ts +1 -0
- package/src/index.ts +10 -2
- package/src/sass/_properties.scss +1 -0
- package/src/styles/alert/alert.css +94 -4
- package/src/styles/alert/alert.css.map +1 -1
- package/src/styles/badge/badge.css +20 -2
- package/src/styles/badge/badge.css.map +1 -1
- package/src/styles/buttons/button.css +31 -31
- package/src/styles/buttons/button.css.map +1 -1
- package/src/styles/cards/card.css +16 -0
- package/src/styles/cards/card.css.map +1 -1
- package/src/styles/details/details.css +19 -8
- package/src/styles/details/details.css.map +1 -1
- package/src/styles/dialog/dialog.css +43 -2
- package/src/styles/dialog/dialog.css.map +1 -1
- package/src/styles/images/img.css +15 -3
- package/src/styles/images/img.css.map +1 -1
- package/src/styles/index.css +240 -51
- package/src/styles/index.css.map +1 -1
- package/src/test/setup.d.ts +9 -0
- package/src/test/setup.ts +53 -1
- package/libs/chunk-6TE5QEVE.cjs +0 -13
- package/libs/chunk-6TE5QEVE.cjs.map +0 -1
- package/libs/chunk-7K76RW2A.cjs +0 -18
- package/libs/chunk-7K76RW2A.cjs.map +0 -1
- package/libs/chunk-BSPKFLO4.js +0 -8
- package/libs/chunk-BSPKFLO4.js.map +0 -1
- package/libs/chunk-BV5CLH44.cjs +0 -18
- package/libs/chunk-BV5CLH44.cjs.map +0 -1
- package/libs/chunk-DKGJHKGW.js +0 -9
- package/libs/chunk-DKGJHKGW.js.map +0 -1
- package/libs/chunk-ECLD37WN.cjs +0 -16
- package/libs/chunk-ECLD37WN.cjs.map +0 -1
- package/libs/chunk-HYBZBN4G.js +0 -8
- package/libs/chunk-HYBZBN4G.js.map +0 -1
- package/libs/chunk-KKLTUJFB.cjs.map +0 -1
- package/libs/chunk-M5QL5TAE.cjs +0 -14
- package/libs/chunk-M5QL5TAE.cjs.map +0 -1
- package/libs/chunk-NE6YXTMC.js +0 -7
- package/libs/chunk-NE6YXTMC.js.map +0 -1
- package/libs/chunk-O6QZBB6G.js.map +0 -1
- package/libs/chunk-SXVZSWX6.js +0 -11
- package/libs/chunk-SXVZSWX6.js.map +0 -1
- package/libs/ui-9a6f9f8d.d.ts +0 -24
- package/src/components/cards/README.md +0 -80
- package/src/components/dialog/hooks/useClickOutside.ts +0 -33
- /package/libs/{chunk-DV56L5YX.cjs.map → chunk-2LTJ7HHX.cjs.map} +0 -0
- /package/libs/{chunk-EQ67LF46.js.map → chunk-2Y7W75TT.js.map} +0 -0
- /package/libs/{chunk-X3EVB7VS.cjs.map → chunk-5S4ORA4C.cjs.map} +0 -0
- /package/libs/{chunk-6BVXFW7U.cjs.map → chunk-AHDJGCG5.cjs.map} +0 -0
- /package/libs/{chunk-E3XP6BEX.cjs.map → chunk-B7F5FS6D.cjs.map} +0 -0
- /package/libs/{chunk-LHVJKDMA.cjs.map → chunk-J32EZPYD.cjs.map} +0 -0
- /package/libs/{chunk-LL7HTLMS.cjs.map → chunk-M5RRNTVX.cjs.map} +0 -0
- /package/libs/{chunk-LIQJ7ZZR.js.map → chunk-NGTJDDFO.js.map} +0 -0
- /package/libs/{chunk-QCMV4VQZ.js.map → chunk-QLZWHAMK.js.map} +0 -0
- /package/libs/{chunk-BIP2NY53.js.map → chunk-RIVUMPOG.js.map} +0 -0
- /package/libs/{chunk-ICCKQ2GC.cjs.map → chunk-ROZI23GS.cjs.map} +0 -0
- /package/libs/{chunk-NHYXGV3L.js.map → chunk-SMYRLO3E.js.map} +0 -0
- /package/libs/{chunk-5ZM4XL44.js.map → chunk-TYRCEX2L.js.map} +0 -0
- /package/libs/{chunk-PPOOBUOS.js.map → chunk-XBA562WW.js.map} +0 -0
- /package/libs/{chunk-QVV34QEH.cjs.map → chunk-XTQKWY7W.cjs.map} +0 -0
- /package/libs/{chunk-YWOYVRFT.js.map → chunk-ZANSFMTD.js.map} +0 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { U as UI } from './ui-645f95b5.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Valid HTML heading levels for semantic document structure.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Heading levels establish the document outline and hierarchy for screen readers.
|
|
9
|
+
* Always maintain proper heading order (don't skip levels) for WCAG 2.1 compliance.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* // ✅ GOOD: Proper heading hierarchy
|
|
13
|
+
* <Title level="h1">Main Page Title</Title>
|
|
14
|
+
* <Title level="h2">Section Heading</Title>
|
|
15
|
+
* <Title level="h3">Subsection Heading</Title>
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // ❌ BAD: Skipping heading levels
|
|
19
|
+
* <Title level="h1">Main Title</Title>
|
|
20
|
+
* <Title level="h4">Skipped h2 and h3</Title>
|
|
21
|
+
*/
|
|
22
|
+
type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
23
|
+
/**
|
|
24
|
+
* Props for the Title component.
|
|
25
|
+
*
|
|
26
|
+
* @typeParam TLevel - The heading level to render (h1-h6)
|
|
27
|
+
*
|
|
28
|
+
* @property {HeadingLevel} level - The semantic heading level (h1-h6). Defaults to "h2".
|
|
29
|
+
* @property {React.ReactNode} children - The text or elements to render inside the heading.
|
|
30
|
+
* @property {string} [id] - Unique identifier for the heading, useful for anchor links.
|
|
31
|
+
* @property {React.CSSProperties} [styles] - Inline styles to apply to the heading.
|
|
32
|
+
* @property {string} [ui] - Data attribute for UI framework styling hooks.
|
|
33
|
+
* @property {string} [className] - CSS class names to apply.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* This interface extends the polymorphic UI component props, providing full access
|
|
37
|
+
* to native HTML heading attributes and ARIA properties for accessibility.
|
|
38
|
+
*
|
|
39
|
+
* For AI assistants: This component ensures semantic HTML structure for document
|
|
40
|
+
* outlines, which is critical for screen reader navigation and SEO.
|
|
41
|
+
*/
|
|
42
|
+
type TitleProps$1 = {
|
|
43
|
+
/**
|
|
44
|
+
* The semantic heading level to render.
|
|
45
|
+
*
|
|
46
|
+
* @default "h2"
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* Choose the appropriate level based on your document structure:
|
|
50
|
+
* - h1: Page title (typically one per page)
|
|
51
|
+
* - h2: Major sections
|
|
52
|
+
* - h3-h6: Subsections and nested content
|
|
53
|
+
*
|
|
54
|
+
* WCAG 2.1 requires proper heading hierarchy for screen reader users.
|
|
55
|
+
*/
|
|
56
|
+
level?: HeadingLevel;
|
|
57
|
+
/**
|
|
58
|
+
* The content to display in the heading.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* Can be text, elements, or a combination. Ensure text content is meaningful
|
|
62
|
+
* and descriptive for users navigating with screen readers.
|
|
63
|
+
*/
|
|
64
|
+
children: React__default.ReactNode;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier for the heading element.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Useful for:
|
|
70
|
+
* - Creating anchor links to sections
|
|
71
|
+
* - ARIA relationships (aria-labelledby, aria-describedby)
|
|
72
|
+
* - Testing and automation
|
|
73
|
+
*/
|
|
74
|
+
id?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Data attribute for UI framework styling hooks.
|
|
77
|
+
*
|
|
78
|
+
* @remarks
|
|
79
|
+
* Used by fpkit's CSS system to apply component-specific styles.
|
|
80
|
+
* Automatically prefixed with "data-ui" when rendered.
|
|
81
|
+
*/
|
|
82
|
+
ui?: string;
|
|
83
|
+
/**
|
|
84
|
+
* CSS class names to apply to the heading.
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Prefer using the `ui` prop for fpkit styling, and this for
|
|
88
|
+
* utility classes or custom overrides.
|
|
89
|
+
*/
|
|
90
|
+
className?: string;
|
|
91
|
+
} & React__default.ComponentPropsWithoutRef<typeof UI>;
|
|
92
|
+
/**
|
|
93
|
+
* Title - A semantic heading component for document structure and hierarchy.
|
|
94
|
+
*
|
|
95
|
+
* The Title component renders semantic HTML headings (h1-h6) with proper
|
|
96
|
+
* accessibility support. It ensures WCAG 2.1 AA compliance by maintaining
|
|
97
|
+
* semantic document structure for screen readers and assistive technologies.
|
|
98
|
+
*
|
|
99
|
+
* ## Key Features
|
|
100
|
+
*
|
|
101
|
+
* - **Semantic HTML**: Renders actual heading elements (h1-h6) for proper document outline
|
|
102
|
+
* - **Accessibility**: Full ARIA support and keyboard navigation
|
|
103
|
+
* - **Flexible Styling**: Supports fpkit's UI system, custom classes, and inline styles
|
|
104
|
+
* - **Type Safety**: Fully typed with TypeScript for developer experience
|
|
105
|
+
* - **Performance**: Memoized to prevent unnecessary re-renders
|
|
106
|
+
*
|
|
107
|
+
* ## Accessibility Considerations
|
|
108
|
+
*
|
|
109
|
+
* ### WCAG 2.1 AA Compliance
|
|
110
|
+
*
|
|
111
|
+
* - **1.3.1 Info and Relationships (Level A)**: Semantic heading elements preserve
|
|
112
|
+
* document structure for screen readers
|
|
113
|
+
* - **2.4.6 Headings and Labels (Level AA)**: Headings should be descriptive and
|
|
114
|
+
* properly ordered
|
|
115
|
+
* - **2.4.10 Section Headings (Level AAA)**: Use headings to organize content
|
|
116
|
+
*
|
|
117
|
+
* ### Best Practices
|
|
118
|
+
*
|
|
119
|
+
* 1. **Maintain Heading Hierarchy**: Don't skip levels (e.g., h1 → h3)
|
|
120
|
+
* 2. **One h1 Per Page**: Use h1 for the main page title only
|
|
121
|
+
* 3. **Descriptive Text**: Headings should clearly describe the following content
|
|
122
|
+
* 4. **Avoid Empty Headings**: Always provide meaningful text content
|
|
123
|
+
*
|
|
124
|
+
* ## Usage Examples
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* // Basic usage with default h2
|
|
128
|
+
* <Title>Section Heading</Title>
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* // Page title with explicit h1
|
|
132
|
+
* <Title level="h1">Welcome to Our Application</Title>
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* // Subsection with custom styling
|
|
136
|
+
* <Title
|
|
137
|
+
* level="h3"
|
|
138
|
+
* id="getting-started"
|
|
139
|
+
* className="text-primary"
|
|
140
|
+
* >
|
|
141
|
+
* Getting Started
|
|
142
|
+
* </Title>
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* // With fpkit UI data attribute
|
|
146
|
+
* <Title level="h2" ui="section-title">
|
|
147
|
+
* Features Overview
|
|
148
|
+
* </Title>
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* // Accessible heading with aria-label for context
|
|
152
|
+
* <Title level="h2" aria-label="User dashboard overview">
|
|
153
|
+
* Dashboard
|
|
154
|
+
* </Title>
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* // Complex heading with mixed content
|
|
158
|
+
* <Title level="h2" id="stats">
|
|
159
|
+
* <Icon name="chart" aria-hidden="true" />
|
|
160
|
+
* <span>Statistics</span>
|
|
161
|
+
* </Title>
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* // ✅ GOOD: Proper heading hierarchy
|
|
165
|
+
* <Title level="h1">Page Title</Title>
|
|
166
|
+
* <Title level="h2">Main Section</Title>
|
|
167
|
+
* <Title level="h3">Subsection</Title>
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* // ❌ BAD: Skipping heading levels (accessibility violation)
|
|
171
|
+
* <Title level="h1">Page Title</Title>
|
|
172
|
+
* <Title level="h4">Skipped h2 and h3</Title>
|
|
173
|
+
*
|
|
174
|
+
* @param {TitleProps} props - Component props
|
|
175
|
+
* @returns {React.ReactElement} A semantic heading element
|
|
176
|
+
*
|
|
177
|
+
* @see {@link https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html WCAG 1.3.1}
|
|
178
|
+
* @see {@link https://www.w3.org/WAI/WCAG21/Understanding/headings-and-labels.html WCAG 2.4.6}
|
|
179
|
+
*/
|
|
180
|
+
declare const Title: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<TitleProps$1, "ref"> & React__default.RefAttributes<HTMLHeadingElement>>>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @deprecated Use `Title` component instead. This component will be removed in v3.0.0.
|
|
184
|
+
*
|
|
185
|
+
* @remarks
|
|
186
|
+
* The `Heading` component has been deprecated in favor of the new `Title` component
|
|
187
|
+
* which offers improved API design and better accessibility features.
|
|
188
|
+
*
|
|
189
|
+
* **Migration Guide:**
|
|
190
|
+
* - Rename `Heading` → `Title`
|
|
191
|
+
* - Rename prop `type` → `level`
|
|
192
|
+
* - Default level changed from `h3` → `h2` (update if you relied on the default)
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* // Before (deprecated):
|
|
196
|
+
* <Heading type="h2">Section Title</Heading>
|
|
197
|
+
*
|
|
198
|
+
* // After:
|
|
199
|
+
* <Title level="h2">Section Title</Title>
|
|
200
|
+
*
|
|
201
|
+
* @see {@link Title} for the new component
|
|
202
|
+
*/
|
|
203
|
+
type TitleProps = {
|
|
204
|
+
/**
|
|
205
|
+
* @deprecated Use `level` prop on the `Title` component instead.
|
|
206
|
+
*/
|
|
207
|
+
children: React__default.ReactNode;
|
|
208
|
+
/**
|
|
209
|
+
* @deprecated Use `level` prop on the `Title` component instead.
|
|
210
|
+
*/
|
|
211
|
+
type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated Use `ui` prop on the `Title` component.
|
|
214
|
+
*/
|
|
215
|
+
ui?: string;
|
|
216
|
+
} & Omit<React__default.ComponentPropsWithoutRef<typeof Title>, 'level'>;
|
|
217
|
+
/**
|
|
218
|
+
* Heading - Deprecated component wrapper for Title.
|
|
219
|
+
*
|
|
220
|
+
* @deprecated Use {@link Title} component instead. Will be removed in v3.0.0.
|
|
221
|
+
*
|
|
222
|
+
* This component provides backwards compatibility for existing code using
|
|
223
|
+
* the old `Heading` component API. It forwards all props to the new `Title`
|
|
224
|
+
* component with appropriate prop name mapping.
|
|
225
|
+
*
|
|
226
|
+
* **Breaking Changes in v3.0.0:**
|
|
227
|
+
* - This component will be removed
|
|
228
|
+
* - Migrate to `Title` component before upgrading
|
|
229
|
+
*
|
|
230
|
+
* **Migration Steps:**
|
|
231
|
+
* 1. Replace all `<Heading>` imports with `<Title>`
|
|
232
|
+
* 2. Rename `type` prop to `level`
|
|
233
|
+
* 3. Review default behavior (default changed from h3 to h2)
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* // Old API (still works but deprecated):
|
|
237
|
+
* import { Heading } from '@fpkit/acss';
|
|
238
|
+
* <Heading type="h2">Section</Heading>
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* // New API (recommended):
|
|
242
|
+
* import { Title } from '@fpkit/acss';
|
|
243
|
+
* <Title level="h2">Section</Title>
|
|
244
|
+
*
|
|
245
|
+
* @param {TitleProps} props - Component props (maps old API to new)
|
|
246
|
+
* @returns {React.ReactElement} The rendered Title component
|
|
247
|
+
*/
|
|
248
|
+
declare const Heading: React__default.ForwardRefExoticComponent<Omit<TitleProps, "ref"> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
249
|
+
|
|
250
|
+
export { HeadingLevel as H, Title as T, TitleProps$1 as a, Heading as b, TitleProps as c };
|
package/libs/hooks.cjs
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkOK5QEIMD_cjs = require('./chunk-OK5QEIMD.cjs');
|
|
3
4
|
var chunkPDD4N5P5_cjs = require('./chunk-PDD4N5P5.cjs');
|
|
5
|
+
require('./chunk-5S4ORA4C.cjs');
|
|
6
|
+
require('./chunk-L75OQKEI.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
6
9
|
|
|
10
|
+
Object.defineProperty(exports, 'useBreadcrumbSegments', {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkOK5QEIMD_cjs.a; }
|
|
13
|
+
});
|
|
7
14
|
Object.defineProperty(exports, 'usePopover', {
|
|
8
15
|
enumerable: true,
|
|
9
16
|
get: function () { return chunkPDD4N5P5_cjs.a; }
|
package/libs/hooks.d.cts
CHANGED
package/libs/hooks.d.ts
CHANGED
package/libs/hooks.js
CHANGED
package/libs/icons.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk3MKLDCKQ_cjs = require('./chunk-3MKLDCKQ.cjs');
|
|
4
|
+
require('./chunk-L75OQKEI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, 'Icon', {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk3MKLDCKQ_cjs.a; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=out.js.map
|
|
13
13
|
//# sourceMappingURL=icons.cjs.map
|
package/libs/icons.d.cts
CHANGED
package/libs/icons.d.ts
CHANGED
package/libs/icons.js
CHANGED
package/libs/index.cjs
CHANGED
|
@@ -1,162 +1,183 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var chunk6BVXFW7U_cjs = require('./chunk-6BVXFW7U.cjs');
|
|
3
|
+
var chunkM5RRNTVX_cjs = require('./chunk-M5RRNTVX.cjs');
|
|
4
|
+
var chunkAHDJGCG5_cjs = require('./chunk-AHDJGCG5.cjs');
|
|
6
5
|
var chunkLT5KZ2QW_cjs = require('./chunk-LT5KZ2QW.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
var chunkD4YLRWAO_cjs = require('./chunk-D4YLRWAO.cjs');
|
|
7
|
+
var chunk2LTJ7HHX_cjs = require('./chunk-2LTJ7HHX.cjs');
|
|
8
|
+
var chunkXTQKWY7W_cjs = require('./chunk-XTQKWY7W.cjs');
|
|
10
9
|
var chunkG55UJ53G_cjs = require('./chunk-G55UJ53G.cjs');
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
10
|
+
var chunkB7F5FS6D_cjs = require('./chunk-B7F5FS6D.cjs');
|
|
11
|
+
var chunkPQ2K3BM6_cjs = require('./chunk-PQ2K3BM6.cjs');
|
|
12
|
+
var chunkOK5QEIMD_cjs = require('./chunk-OK5QEIMD.cjs');
|
|
13
13
|
require('./chunk-PDD4N5P5.cjs');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
14
|
+
var chunk3MKLDCKQ_cjs = require('./chunk-3MKLDCKQ.cjs');
|
|
15
|
+
var chunkP2DC76ZZ_cjs = require('./chunk-P2DC76ZZ.cjs');
|
|
16
|
+
var chunkROZI23GS_cjs = require('./chunk-ROZI23GS.cjs');
|
|
17
|
+
var chunkJ32EZPYD_cjs = require('./chunk-J32EZPYD.cjs');
|
|
18
18
|
var chunkIYUN2EW3_cjs = require('./chunk-IYUN2EW3.cjs');
|
|
19
19
|
var chunkS7BABR7Z_cjs = require('./chunk-S7BABR7Z.cjs');
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
20
|
+
var chunk5S4ORA4C_cjs = require('./chunk-5S4ORA4C.cjs');
|
|
21
|
+
var chunkL75OQKEI_cjs = require('./chunk-L75OQKEI.cjs');
|
|
22
|
+
var u = require('react');
|
|
23
23
|
|
|
24
24
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var u__default = /*#__PURE__*/_interopDefault(u);
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var M=({src:e="//",alt:t,width:s=480,height:n,styles:r,loading:l="lazy",placeholder:m,fetchpriority:c="low",decoding:d="auto",srcSet:T,sizes:x,onError:y,onLoad:P,...C})=>{let h=u.useMemo(()=>{let o=typeof s=="number"?s:480,p=typeof n=="number"?n:Math.round(o*.75),i=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${o} ${p}">
|
|
29
|
+
<defs>
|
|
30
|
+
<linearGradient id="grad-${o}-${p}" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
31
|
+
<stop offset="0%" style="stop-color:#6366f1;stop-opacity:1" />
|
|
32
|
+
<stop offset="50%" style="stop-color:#8b5cf6;stop-opacity:1" />
|
|
33
|
+
<stop offset="100%" style="stop-color:#ec4899;stop-opacity:1" />
|
|
34
|
+
</linearGradient>
|
|
35
|
+
</defs>
|
|
36
|
+
<rect width="${o}" height="${p}" fill="url(#grad-${o}-${p})"/>
|
|
37
|
+
<circle cx="${o*.15}" cy="${p*.2}" r="${Math.min(o,p)*.08}" fill="rgba(255,255,255,0.2)"/>
|
|
38
|
+
<path d="M0,${p*.75} Q${o*.25},${p*.65} ${o*.5},${p*.75} T${o},${p*.75} L${o},${p} L0,${p} Z" fill="rgba(0,0,0,0.15)"/>
|
|
39
|
+
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="system-ui,-apple-system,sans-serif" font-size="${Math.max(16,Math.min(o,p)*.05)}" font-weight="500" fill="rgba(255,255,255,0.9)">${o}\xD7${p}</text>
|
|
40
|
+
</svg>`;return `data:image/svg+xml,${encodeURIComponent(i)}`},[s,n]),w=m??h;return u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"img",src:e,alt:t,width:s,height:n||"auto",loading:l,style:r,srcSet:T,sizes:x,onError:o=>{y&&y(o),o.defaultPrevented||o.currentTarget.src!==w&&(o.currentTarget.src=w);},onLoad:o=>{P?.(o);},decoding:d,...C,...c&&{fetchpriority:c}})};M.displayName="Img";var V=e=>{let[t,s]=u.useState([]),[n,r]=u.useState(e),[l,m]=u.useState(!1),[c,d]=u.useState(!1),[T,x]=u.useState(null);return u.useEffect(()=>{let f=()=>{let o=window.speechSynthesis.getVoices();s(o);let p=o.find(i=>i.name==="Google US English");if(p)r(p);else {let i=o.find($=>$.lang.startsWith("en-"));i&&r(i);}};return f(),window.speechSynthesis.onvoiceschanged=f,()=>{window.speechSynthesis.onvoiceschanged=null;}},[]),{speak:(f,o={},p)=>{let i=new SpeechSynthesisUtterance(f);i.lang=o.lang??"en-US",i.pitch=o.pitch??1,i.rate=o.rate??1,i.voice=n??o.voice??null,i.onend=()=>{m(!1),d(!1),p&&p();},"speechSynthesis"in window?(window.speechSynthesis.speak(i),x(i),m(!0),d(!1)):console.error("Speech synthesis not supported");},pause:()=>{l&&!c&&(window.speechSynthesis.pause(),d(!0));},resume:()=>{l&&c&&(window.speechSynthesis.resume(),d(!1));},cancel:()=>{l&&(window.speechSynthesis.cancel(),m(!1),d(!1));},isSpeaking:l,isPaused:c,availableVoices:t,changeVoice:f=>{r(f);},currentVoice:n,getAvailableLanguages:()=>[...new Set(t.map(f=>f.lang))]}};var pe=({children:e,onClick:t})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"button",type:"button",className:"tts-border","data-btn":"sm text pill",onClick:t},e),U=u__default.default.memo(pe),L=({label:e,isSpeaking:t,isPaused:s,onSpeak:n,onPause:r,onResume:l,onCancel:m})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"div","data-tts":!0},e&&u__default.default.createElement("p",null,e),!t&&u__default.default.createElement(U,{"aria-label":"Speak",onClick:n},u__default.default.createElement(chunk3MKLDCKQ_cjs.b.PlaySolid,{size:16})),t&&!s&&u__default.default.createElement(U,{"aria-label":"Pause",onClick:r},u__default.default.createElement(chunk3MKLDCKQ_cjs.b.PauseSolid,{size:16})),s&&u__default.default.createElement(U,{"aria-label":"Resume",onClick:l},u__default.default.createElement(chunk3MKLDCKQ_cjs.b.ResumeSolid,{size:16})),u__default.default.createElement(U,{"aria-label":"Stop",onClick:m},u__default.default.createElement(chunk3MKLDCKQ_cjs.b.StopSolid,{size:16})));L.displayName="TextToSpeechControls";L.TTSButton=U;var H=L;var z=({initialText:e="",showTextInput:t=!1,voice:s,pitch:n=1,rate:r=1,language:l,label:m,onEnd:c})=>{let{speak:d,pause:T,resume:x,cancel:y,isSpeaking:P,isPaused:C,getAvailableLanguages:h,availableVoices:w}=V(),[I,f]=u.useState(e);console.log(h()),u.useEffect(()=>{f(e);},[e]);let o=()=>{I.trim()!==""&&d(I,{voice:s,pitch:n,rate:r},i);},p=$=>{f($.target.value);},i=()=>{c&&c();};return u__default.default.createElement(u__default.default.Fragment,null,t&&u__default.default.createElement(chunkM5RRNTVX_cjs.b,{value:I,onChange:p}),u__default.default.createElement(H,{label:m,isSpeaking:P,isPaused:C,onSpeak:o,onPause:T,onResume:x,onCancel:y}))};z.displayName="TextToSpeechComponent";var S=e=>u__default.default.createElement(u__default.default.Fragment,null,e),ce=({id:e,children:t,headerBackground:s,styles:n,classes:r,...l})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"header",id:e,styles:n,className:r,...l},s,u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"section"},t)),me=({id:e,children:t,styles:s,classes:n,...r})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"main",id:e,styles:s,...r,className:n},t),de=({id:e,classes:t,children:s,styles:n={},...r})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"footer",id:e,className:t,styles:n,...r},u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"section"},s||"Copyright \xA9 2022")),fe=({id:e,children:t,styles:s={},classes:n,...r})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"aside",id:e,styles:s,className:n,...r},u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"section"},t)),ue=({id:e,children:t,styles:s,classes:n,...r})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"section",id:e,styles:s,className:n,...r},t),ge=({id:e,children:t,styles:s,classes:n,...r})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"article",id:e,styles:s,className:n,...r},t);S.displayName="Landmarks";S.Header=ce;S.Main=me;S.Footer=de;S.Aside=fe;S.Section=ue;S.Article=ge;var A=({id:e,styles:t,classes:s,children:n,variant:r,...l})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"sup",id:e,styles:t,className:s,"data-badge":r||void 0,role:"status",...l},u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"span"},n));A.displayName="Badge";var xe=({elm:e="span",role:t="note",children:s,styles:n,...r})=>u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:e,role:t,styles:n,...r},s);xe.displayName="Tag";var ye=u__default.default.forwardRef(({summary:e,icon:t,styles:s,classes:n,ariaLabel:r,name:l,open:m,onPointerDown:c,onToggle:d,children:T,...x},y)=>{let P=u.useCallback(h=>{c?.(h);},[c]),C=u.useCallback(h=>{d?.(h);},[d]);return u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"details",styles:s,classes:n,onToggle:C,ref:y,open:m,"aria-label":r,name:l,...x},u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"summary",onPointerDown:P},t,e),u__default.default.createElement(chunkL75OQKEI_cjs.a,{as:"section"},T))});ye.displayName="Details";
|
|
29
41
|
|
|
30
|
-
Object.defineProperty(exports, 'Breadcrumb', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunkECLD37WN_cjs.a; }
|
|
33
|
-
});
|
|
34
42
|
Object.defineProperty(exports, 'Textarea', {
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkM5RRNTVX_cjs.a; }
|
|
37
45
|
});
|
|
38
46
|
Object.defineProperty(exports, 'Field', {
|
|
39
|
-
|
|
40
|
-
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkAHDJGCG5_cjs.a; }
|
|
41
49
|
});
|
|
42
50
|
Object.defineProperty(exports, 'Caption', {
|
|
43
|
-
|
|
44
|
-
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkLT5KZ2QW_cjs.a; }
|
|
45
53
|
});
|
|
46
54
|
Object.defineProperty(exports, 'TBL', {
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunkLT5KZ2QW_cjs.i; }
|
|
49
57
|
});
|
|
50
58
|
Object.defineProperty(exports, 'Table', {
|
|
51
|
-
|
|
52
|
-
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunkLT5KZ2QW_cjs.f; }
|
|
53
61
|
});
|
|
54
62
|
Object.defineProperty(exports, 'Tbody', {
|
|
55
|
-
|
|
56
|
-
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunkLT5KZ2QW_cjs.c; }
|
|
57
65
|
});
|
|
58
66
|
Object.defineProperty(exports, 'Td', {
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunkLT5KZ2QW_cjs.e; }
|
|
61
69
|
});
|
|
62
70
|
Object.defineProperty(exports, 'Thead', {
|
|
63
|
-
|
|
64
|
-
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkLT5KZ2QW_cjs.b; }
|
|
65
73
|
});
|
|
66
74
|
Object.defineProperty(exports, 'Tr', {
|
|
67
|
-
|
|
68
|
-
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkLT5KZ2QW_cjs.d; }
|
|
69
77
|
});
|
|
70
78
|
Object.defineProperty(exports, 'Dialog', {
|
|
71
|
-
|
|
72
|
-
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkD4YLRWAO_cjs.a; }
|
|
73
81
|
});
|
|
74
82
|
Object.defineProperty(exports, 'Nav', {
|
|
75
|
-
|
|
76
|
-
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunk2LTJ7HHX_cjs.c; }
|
|
77
85
|
});
|
|
78
86
|
Object.defineProperty(exports, 'NavItem', {
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunk2LTJ7HHX_cjs.b; }
|
|
81
89
|
});
|
|
82
90
|
Object.defineProperty(exports, 'NavList', {
|
|
83
|
-
|
|
84
|
-
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunk2LTJ7HHX_cjs.a; }
|
|
85
93
|
});
|
|
86
94
|
Object.defineProperty(exports, 'List', {
|
|
87
|
-
|
|
88
|
-
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkXTQKWY7W_cjs.b; }
|
|
89
97
|
});
|
|
90
98
|
Object.defineProperty(exports, 'Popover', {
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return chunkG55UJ53G_cjs.b; }
|
|
93
101
|
});
|
|
94
102
|
Object.defineProperty(exports, 'Text', {
|
|
95
|
-
|
|
96
|
-
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunkB7F5FS6D_cjs.a; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, 'Heading', {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunkPQ2K3BM6_cjs.b; }
|
|
97
109
|
});
|
|
98
110
|
Object.defineProperty(exports, 'Title', {
|
|
99
|
-
|
|
100
|
-
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunkPQ2K3BM6_cjs.a; }
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, 'Breadcrumb', {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () { return chunkOK5QEIMD_cjs.b; }
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, 'useBreadcrumbSegments', {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function () { return chunkOK5QEIMD_cjs.a; }
|
|
101
121
|
});
|
|
102
122
|
Object.defineProperty(exports, 'Icon', {
|
|
103
|
-
|
|
104
|
-
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () { return chunk3MKLDCKQ_cjs.a; }
|
|
105
125
|
});
|
|
106
126
|
Object.defineProperty(exports, 'Card', {
|
|
107
|
-
|
|
108
|
-
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunkP2DC76ZZ_cjs.d; }
|
|
109
129
|
});
|
|
110
130
|
Object.defineProperty(exports, 'CardContent', {
|
|
111
|
-
|
|
112
|
-
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunkP2DC76ZZ_cjs.b; }
|
|
113
133
|
});
|
|
114
134
|
Object.defineProperty(exports, 'CardFooter', {
|
|
115
|
-
|
|
116
|
-
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunkP2DC76ZZ_cjs.c; }
|
|
117
137
|
});
|
|
118
138
|
Object.defineProperty(exports, 'CardTitle', {
|
|
119
|
-
|
|
120
|
-
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () { return chunkP2DC76ZZ_cjs.a; }
|
|
121
141
|
});
|
|
122
142
|
Object.defineProperty(exports, 'Modal', {
|
|
123
|
-
|
|
124
|
-
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return chunkROZI23GS_cjs.a; }
|
|
125
145
|
});
|
|
126
146
|
Object.defineProperty(exports, 'Button', {
|
|
127
|
-
|
|
128
|
-
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return chunkJ32EZPYD_cjs.a; }
|
|
129
149
|
});
|
|
130
150
|
Object.defineProperty(exports, 'Input', {
|
|
131
|
-
|
|
132
|
-
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return chunkIYUN2EW3_cjs.a; }
|
|
133
153
|
});
|
|
134
154
|
Object.defineProperty(exports, 'Box', {
|
|
135
|
-
|
|
136
|
-
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return chunkS7BABR7Z_cjs.a; }
|
|
137
157
|
});
|
|
138
158
|
Object.defineProperty(exports, 'FP', {
|
|
139
|
-
|
|
140
|
-
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () { return chunkS7BABR7Z_cjs.a; }
|
|
141
161
|
});
|
|
142
162
|
Object.defineProperty(exports, 'Link', {
|
|
143
|
-
|
|
144
|
-
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () { return chunk5S4ORA4C_cjs.a; }
|
|
145
165
|
});
|
|
146
166
|
Object.defineProperty(exports, 'To', {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
});
|
|
150
|
-
exports.Article =
|
|
151
|
-
exports.Aside =
|
|
152
|
-
exports.
|
|
153
|
-
exports.
|
|
154
|
-
exports.
|
|
155
|
-
exports.
|
|
156
|
-
exports.
|
|
157
|
-
exports.
|
|
158
|
-
exports.
|
|
159
|
-
exports.
|
|
160
|
-
exports.
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () { return chunk5S4ORA4C_cjs.b; }
|
|
169
|
+
});
|
|
170
|
+
exports.Article = ge;
|
|
171
|
+
exports.Aside = fe;
|
|
172
|
+
exports.Badge = A;
|
|
173
|
+
exports.Details = ye;
|
|
174
|
+
exports.Footer = de;
|
|
175
|
+
exports.Header = ce;
|
|
176
|
+
exports.Img = M;
|
|
177
|
+
exports.Landmarks = S;
|
|
178
|
+
exports.Main = me;
|
|
179
|
+
exports.Section = ue;
|
|
180
|
+
exports.Tag = xe;
|
|
181
|
+
exports.TextToSpeech = z;
|
|
161
182
|
//# sourceMappingURL=out.js.map
|
|
162
183
|
//# sourceMappingURL=index.cjs.map
|