@fpkit/acss 6.4.1 → 6.4.3
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/libs/components/dialog/dialog.d.cts +1 -1
- package/libs/components/dialog/dialog.d.ts +1 -1
- package/libs/{dialog-6c6b3588.d.ts → dialog-5cef1073.d.ts} +1 -1
- package/libs/index.cjs +33 -34
- package/libs/index.cjs.map +1 -1
- package/libs/index.d.cts +3 -32
- package/libs/index.d.ts +3 -32
- package/libs/index.js +9 -10
- package/libs/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -1
package/libs/index.d.cts
CHANGED
|
@@ -13,8 +13,8 @@ export { default as List } from './components/list/list.cjs';
|
|
|
13
13
|
export { Modal, ModalProps } from './components/modal.cjs';
|
|
14
14
|
export { default as Popover, PopoverProps } from './components/popover/popover.cjs';
|
|
15
15
|
export { RenderTable as TBL, TableProps } from './components/tables/table.cjs';
|
|
16
|
-
import { D as DialogModalProps } from './dialog-
|
|
17
|
-
export { a as Dialog } from './dialog-
|
|
16
|
+
import { D as DialogModalProps } from './dialog-5cef1073.js';
|
|
17
|
+
export { a as Dialog, b as DialogProps } from './dialog-5cef1073.js';
|
|
18
18
|
import { U as UI } from './ui-993fc2e2.js';
|
|
19
19
|
import { C as ComponentProps$1 } from './component-props-50e69975.js';
|
|
20
20
|
export { Nav, NavComponent, NavItem, NavItemProps, NavList, NavListProps, NavProps } from './components/nav/nav.cjs';
|
|
@@ -864,35 +864,6 @@ declare const Img: {
|
|
|
864
864
|
*/
|
|
865
865
|
declare const DialogModal: React$1.FC<DialogModalProps>;
|
|
866
866
|
|
|
867
|
-
/**
|
|
868
|
-
* Props for the TextToSpeechComponent.
|
|
869
|
-
* @interface TextToSpeechComponentProps
|
|
870
|
-
*/
|
|
871
|
-
interface TextToSpeechComponentProps {
|
|
872
|
-
/** Initial text to be spoken. Defaults to an empty string. */
|
|
873
|
-
initialText?: string;
|
|
874
|
-
/** Whether to show the text input field. Defaults to true. */
|
|
875
|
-
showTextInput?: boolean;
|
|
876
|
-
/** The voice to be used for speech synthesis. */
|
|
877
|
-
voice?: SpeechSynthesisVoice | undefined;
|
|
878
|
-
/** The pitch of the voice. Defaults to 1. */
|
|
879
|
-
pitch?: number;
|
|
880
|
-
/** The rate of speech. Defaults to 1. */
|
|
881
|
-
rate?: number;
|
|
882
|
-
/** The language to be used for speech synthesis. */
|
|
883
|
-
language?: string;
|
|
884
|
-
/** Player label */
|
|
885
|
-
label?: string | React$1.ReactNode;
|
|
886
|
-
/** Callback function to be called when speech ends. */
|
|
887
|
-
onEnd?: () => void;
|
|
888
|
-
}
|
|
889
|
-
/**
|
|
890
|
-
* A component that converts text to speech using the Web Speech API.
|
|
891
|
-
* @param {TextToSpeechComponentProps} props - The props for the component.
|
|
892
|
-
* @returns {JSX.Element} The rendered TextToSpeechComponent.
|
|
893
|
-
*/
|
|
894
|
-
declare const TextToSpeech: React$1.FC<TextToSpeechComponentProps>;
|
|
895
|
-
|
|
896
867
|
type ComponentProps = React$1.ComponentProps<typeof UI>;
|
|
897
868
|
/**
|
|
898
869
|
* Renders children elements without any wrapping component.
|
|
@@ -2963,4 +2934,4 @@ type FPComponent = {
|
|
|
2963
2934
|
*/
|
|
2964
2935
|
declare const FP: FPComponent;
|
|
2965
2936
|
|
|
2966
|
-
export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, ButtonProps, Caption, Checkbox, CheckboxProps, Cluster, ClusterProps, Col, ColProps, ComponentProps$1 as ComponentProps, Details, DialogModal, FP, Fieldset, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, IconButton, IconButtonProps, Img, ImgProps, InputProps, Landmarks, Main, ResponsiveFlexProps, Row, RowProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td,
|
|
2937
|
+
export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, ButtonProps, Caption, Checkbox, CheckboxProps, Cluster, ClusterProps, Col, ColProps, ComponentProps$1 as ComponentProps, Details, DialogModal, DialogModalProps, FP, Fieldset, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, IconButton, IconButtonProps, Img, ImgProps, InputProps, Landmarks, Main, ResponsiveFlexProps, Row, RowProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td, Thead, Tr, UI };
|
package/libs/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export { default as List } from './components/list/list.js';
|
|
|
13
13
|
export { Modal, ModalProps } from './components/modal.js';
|
|
14
14
|
export { default as Popover, PopoverProps } from './components/popover/popover.js';
|
|
15
15
|
export { RenderTable as TBL, TableProps } from './components/tables/table.js';
|
|
16
|
-
import { D as DialogModalProps } from './dialog-
|
|
17
|
-
export { a as Dialog } from './dialog-
|
|
16
|
+
import { D as DialogModalProps } from './dialog-5cef1073.js';
|
|
17
|
+
export { a as Dialog, b as DialogProps } from './dialog-5cef1073.js';
|
|
18
18
|
import { U as UI } from './ui-993fc2e2.js';
|
|
19
19
|
import { C as ComponentProps$1 } from './component-props-50e69975.js';
|
|
20
20
|
export { Nav, NavComponent, NavItem, NavItemProps, NavList, NavListProps, NavProps } from './components/nav/nav.js';
|
|
@@ -864,35 +864,6 @@ declare const Img: {
|
|
|
864
864
|
*/
|
|
865
865
|
declare const DialogModal: React$1.FC<DialogModalProps>;
|
|
866
866
|
|
|
867
|
-
/**
|
|
868
|
-
* Props for the TextToSpeechComponent.
|
|
869
|
-
* @interface TextToSpeechComponentProps
|
|
870
|
-
*/
|
|
871
|
-
interface TextToSpeechComponentProps {
|
|
872
|
-
/** Initial text to be spoken. Defaults to an empty string. */
|
|
873
|
-
initialText?: string;
|
|
874
|
-
/** Whether to show the text input field. Defaults to true. */
|
|
875
|
-
showTextInput?: boolean;
|
|
876
|
-
/** The voice to be used for speech synthesis. */
|
|
877
|
-
voice?: SpeechSynthesisVoice | undefined;
|
|
878
|
-
/** The pitch of the voice. Defaults to 1. */
|
|
879
|
-
pitch?: number;
|
|
880
|
-
/** The rate of speech. Defaults to 1. */
|
|
881
|
-
rate?: number;
|
|
882
|
-
/** The language to be used for speech synthesis. */
|
|
883
|
-
language?: string;
|
|
884
|
-
/** Player label */
|
|
885
|
-
label?: string | React$1.ReactNode;
|
|
886
|
-
/** Callback function to be called when speech ends. */
|
|
887
|
-
onEnd?: () => void;
|
|
888
|
-
}
|
|
889
|
-
/**
|
|
890
|
-
* A component that converts text to speech using the Web Speech API.
|
|
891
|
-
* @param {TextToSpeechComponentProps} props - The props for the component.
|
|
892
|
-
* @returns {JSX.Element} The rendered TextToSpeechComponent.
|
|
893
|
-
*/
|
|
894
|
-
declare const TextToSpeech: React$1.FC<TextToSpeechComponentProps>;
|
|
895
|
-
|
|
896
867
|
type ComponentProps = React$1.ComponentProps<typeof UI>;
|
|
897
868
|
/**
|
|
898
869
|
* Renders children elements without any wrapping component.
|
|
@@ -2963,4 +2934,4 @@ type FPComponent = {
|
|
|
2963
2934
|
*/
|
|
2964
2935
|
declare const FP: FPComponent;
|
|
2965
2936
|
|
|
2966
|
-
export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, ButtonProps, Caption, Checkbox, CheckboxProps, Cluster, ClusterProps, Col, ColProps, ComponentProps$1 as ComponentProps, Details, DialogModal, FP, Fieldset, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, IconButton, IconButtonProps, Img, ImgProps, InputProps, Landmarks, Main, ResponsiveFlexProps, Row, RowProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td,
|
|
2937
|
+
export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, ButtonProps, Caption, Checkbox, CheckboxProps, Cluster, ClusterProps, Col, ColProps, ComponentProps$1 as ComponentProps, Details, DialogModal, DialogModalProps, FP, Fieldset, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, IconButton, IconButtonProps, Img, ImgProps, InputProps, Landmarks, Main, ResponsiveFlexProps, Row, RowProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td, Thead, Tr, UI };
|
package/libs/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { b as b$3 } from './chunk-6ADHES7B.js';
|
|
2
1
|
export { a as Textarea } from './chunk-6ADHES7B.js';
|
|
3
2
|
export { a as Field } from './chunk-MAG46S3P.js';
|
|
4
3
|
export { a as Caption, i as TBL, f as Table, c as Tbody, e as Td, b as Thead, d as Tr } from './chunk-FMIM3332.js';
|
|
@@ -24,22 +23,22 @@ import './chunk-75QHTLFO.js';
|
|
|
24
23
|
export { d as Link, d as To } from './chunk-M5ES7OWP.js';
|
|
25
24
|
import { a } from './chunk-4KJP3L35.js';
|
|
26
25
|
export { a as UI } from './chunk-4KJP3L35.js';
|
|
27
|
-
import
|
|
26
|
+
import v, { useCallback, useMemo, useState, useRef, useEffect } from 'react';
|
|
28
27
|
|
|
29
|
-
var
|
|
28
|
+
var L=({icon:e,label:t,variant:o="icon",type:r="button",...s})=>v.createElement(a$2,{variant:o,"data-icon-btn":t?"has-label":"icon",...s,type:r},e,t&&v.createElement("span",{"data-icon-label":!0},t));L.displayName="IconButton";var ze={default:"",info:"Information: ",success:"Success: ",warning:"Warning: ",error:"Error: "},O=({severity:e})=>{let t=ze[e];return t?v.createElement("span",{className:"sr-only"},t):null};var Oe=(e,t)=>({info:v.createElement(b$1.InfoSolid,{...t}),success:v.createElement(b$1.SuccessSolid,{...t}),warning:v.createElement(b$1.WarnSolid,{...t}),error:v.createElement(b$1.AlertSolid,{...t}),default:v.createElement(b$1.AlertSquareSolid,{...t})})[e],_=({severity:e,iconProps:t,hideIcon:o})=>{if(o)return null;let r=Oe(e,t);return v.createElement(a,{"aria-hidden":"true",className:"alert-icon"},r)};var W=({title:e,titleLevel:t})=>{if(!e)return null;let o=t?`h${t}`:"strong";return v.createElement(a,{as:o,className:"alert-title"},e)};var J=({children:e,contentType:t})=>t==="node"?v.createElement(v.Fragment,null,e):v.createElement(a,{as:"p"},e);var K=({actions:e})=>e?v.createElement(a,{as:"div",className:"alert-actions"},e):null;var te=v.memo(({onDismiss:e,iconSize:t=16})=>v.createElement(b,{type:"button",onClick:e,"aria-label":"Close alert",className:"alert-dismiss","data-btn":"icon sm"},v.createElement(b$1,null,v.createElement(b$1.Close,{size:t})))),oe=te;te.displayName="DismissButton";var qe={default:"polite",info:"polite",success:"polite",warning:"polite",error:"assertive"},D=v.forwardRef(({severity:e,variant:t,isVisible:o,dismissible:r,onDismiss:s,onInteractionStart:l,onInteractionEnd:a$1,autoFocus:i,title:p,titleLevel:d,children:m,contentType:c,actions:g,hideIcon:h,iconProps:P,...x},y)=>v.createElement(a,{as:"div",ref:y,role:"alert","aria-live":qe[e],"aria-atomic":"true",className:`alert alert-${e}`,"data-alert":e,"data-visible":o,"data-variant":t,tabIndex:i?-1:void 0,onMouseEnter:l,onMouseLeave:a$1,onFocus:l,onBlur:a$1,...x},v.createElement(O,{severity:e}),v.createElement(_,{severity:e,iconProps:P,hideIcon:h}),v.createElement(a,{as:"div",classes:"alert-message"},v.createElement(W,{title:p,titleLevel:d}),v.createElement(J,{contentType:c},m),v.createElement(K,{actions:g})),r&&v.createElement(oe,{onDismiss:s})));D.displayName="AlertView";var Je=({open:e,onDismiss:t,dismissible:o,autoHideDuration:r,pauseOnHover:s,autoFocus:l,alertRef:a})=>{let[i,p]=v.useState(e),[d,m]=v.useState(e),[c,g]=v.useState(!1),h=v.useCallback(()=>{p(!1),setTimeout(()=>{m(!1),t?.();},300);},[t]);v.useEffect(()=>{e?(m(!0),p(!0)):p(!1);},[e]),v.useEffect(()=>{if(!r||!i||c)return;let y=setTimeout(()=>{h();},r);return ()=>clearTimeout(y)},[r,i,c,h]),v.useEffect(()=>{if(!o||!i)return;let y=I=>{I.key==="Escape"&&h();};return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[o,i,h]),v.useEffect(()=>{l&&i&&a.current&&a.current.focus();},[l,i,a]);let P=v.useCallback(()=>{s&&r&&g(!0);},[s,r]),x=v.useCallback(()=>{s&&r&&g(!1);},[s,r]);return {isVisible:i,shouldRender:d,handleDismiss:h,handleInteractionStart:P,handleInteractionEnd:x}},re=({open:e,severity:t="default",children:o,title:r,dismissible:s=!1,onDismiss:l,iconSize:a,iconProps:i,hideIcon:p,autoHideDuration:d,pauseOnHover:m=!0,titleLevel:c=3,actions:g,autoFocus:h=!1,variant:P="outlined",contentType:x="text",...y})=>{let I=v.useRef(null),{isVisible:u,shouldRender:f,handleDismiss:$,handleInteractionStart:b,handleInteractionEnd:w}=Je({open:e,onDismiss:l,dismissible:s,autoHideDuration:d,pauseOnHover:m,autoFocus:h,alertRef:I});if(!f)return null;let M={size:a||16,...i};return v.createElement(D,{ref:I,severity:t,variant:P,isVisible:u,dismissible:s,onDismiss:$,onInteractionStart:b,onInteractionEnd:w,autoFocus:h,title:r,titleLevel:c,contentType:x,actions:g,hideIcon:p,iconProps:M,...y},o)};re.displayName="Alert";var se=v.forwardRef(({id:e,label:t,checked:o,defaultChecked:r,value:s="on",onChange:l,classes:a,inputClasses:i,styles:p,size:d,name:m,disabled:c,required:g,validationState:h,errorMessage:P,hintText:x,onBlur:y,onFocus:I,autoFocus:u,...f},$)=>{let b=v.useCallback(Te=>{l?.(Te.target.checked);},[l]),w=o!==void 0,M=w?{checked:o}:{},Ee=!w&&r!==void 0?{defaultChecked:r}:{},j=v.useRef(w);return v.useEffect(()=>{process.env.NODE_ENV==="development"&&(j.current!==w&&console.warn(`Checkbox with id="${e}" is changing from ${j.current?"controlled":"uncontrolled"} to ${w?"controlled":"uncontrolled"}. This is likely a bug. Decide between using "checked" (controlled) or "defaultChecked" (uncontrolled) and stick with it.`),j.current=w);},[w,e]),v.createElement("div",{className:a,style:p,"data-checkbox-size":d},v.createElement(a$1,{ref:$,type:"checkbox",id:e,name:m,value:s,...M,...Ee,classes:i||"checkbox-input",disabled:c,required:g,validationState:h,errorMessage:P,hintText:x,onChange:b,onBlur:y,onFocus:I,autoFocus:u,...f}),v.createElement("label",{htmlFor:e,className:"checkbox-label"},t,g&&v.createElement("span",{className:"checkbox-required","aria-label":"required"}," *")))});se.displayName="Checkbox";var ne=({src:e="//",alt:t,width:o=480,height:r,styles:s,loading:l="lazy",placeholder:a$1,fetchpriority:i="low",decoding:p="auto",srcSet:d,sizes:m,onError:c,onLoad:g,...h})=>{let P=useMemo(()=>{let u=typeof o=="number"?o:480,f=typeof r=="number"?r:Math.round(u*.75),$=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${u} ${f}">
|
|
30
29
|
<defs>
|
|
31
|
-
<linearGradient id="grad-${
|
|
30
|
+
<linearGradient id="grad-${u}-${f}" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
32
31
|
<stop offset="0%" style="stop-color:#6366f1;stop-opacity:1" />
|
|
33
32
|
<stop offset="50%" style="stop-color:#8b5cf6;stop-opacity:1" />
|
|
34
33
|
<stop offset="100%" style="stop-color:#ec4899;stop-opacity:1" />
|
|
35
34
|
</linearGradient>
|
|
36
35
|
</defs>
|
|
37
|
-
<rect width="${
|
|
38
|
-
<circle cx="${
|
|
39
|
-
<path d="M0,${
|
|
40
|
-
<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(
|
|
41
|
-
</svg>`;return `data:image/svg+xml,${encodeURIComponent($)}`},[o,s]),m=a$1??b;return S.createElement(a,{as:"img",src:e,alt:t,width:o,height:s||"auto",loading:n,style:r,srcSet:y,sizes:x,onError:c=>{f&&f(c),c.defaultPrevented||c.currentTarget.src!==m&&(c.currentTarget.src=m);},onLoad:c=>{I?.(c);},decoding:p,...g,...l&&{fetchpriority:l}})};fe.displayName="Img";var de=({isAlertDialog:e=!1,onClose:t,dialogTitle:o,dialogLabel:s,btnLabel:r="Open Dialog",btnSize:n="sm",btnOnClick:a,children:l,onConfirm:p,confirmLabel:y="Confirm",cancelLabel:x="Cancel",className:f,hideFooter:I=!1,btnProps:g,icon:b$1})=>{let[m,d]=useState(!1),h=useRef(null),c=useCallback(P=>{d(P),!P&&t&&t();},[t]),u=useCallback(()=>{h.current=document.activeElement,d(!0),a&&a();},[a]);useEffect(()=>{if(!m&&h.current){let P=setTimeout(()=>{h.current?.focus();},100);return ()=>clearTimeout(P)}},[m]);let $={type:"button",onClick:u,"aria-haspopup":"dialog",...g};return S.createElement(S.Fragment,null,b$1?S.createElement(V,{icon:b$1,"aria-label":r,label:r,size:n,...$}):S.createElement(b,{"data-btn":n,...$},r),S.createElement(b$2,{isOpen:m,onOpenChange:c,dialogTitle:o,dialogLabel:s,className:f,isAlertDialog:e,onConfirm:p,confirmLabel:y,cancelLabel:x,hideFooter:I},l))};de.displayName="DialogModal";var ue=e=>{let[t,o]=useState([]),[s,r]=useState(e),[n,a]=useState(!1),[l,p]=useState(!1);return useEffect(()=>{let m=()=>{let d=window.speechSynthesis.getVoices();o(d);let h=d.find(c=>c.name==="Google US English");if(h)r(h);else {let c=d.find(u=>u.lang.startsWith("en-"));c&&r(c);}};return m(),window.speechSynthesis.onvoiceschanged=m,()=>{window.speechSynthesis.onvoiceschanged=null;}},[]),{speak:(m,d={},h)=>{let c=new SpeechSynthesisUtterance(m);c.lang=d.lang??"en-US",c.pitch=d.pitch??1,c.rate=d.rate??1,c.voice=s??d.voice??null,c.onend=()=>{a(!1),p(!1),h&&h();},"speechSynthesis"in window?(window.speechSynthesis.speak(c),a(!0),p(!1)):a(!1);},pause:()=>{n&&!l&&(window.speechSynthesis.pause(),p(!0));},resume:()=>{n&&l&&(window.speechSynthesis.resume(),p(!1));},cancel:()=>{n&&(window.speechSynthesis.cancel(),a(!1),p(!1));},isSpeaking:n,isPaused:l,availableVoices:t,changeVoice:m=>{r(m);},currentVoice:s,getAvailableLanguages:()=>[...new Set(t.map(m=>m.lang))]}};var ct=({children:e,onClick:t})=>S.createElement(a,{as:"button",type:"button",className:"tts-border","data-btn":"sm text pill",onClick:t},e),A=S.memo(ct),ee=({label:e,isSpeaking:t,isPaused:o,onSpeak:s,onPause:r,onResume:n,onCancel:a$1})=>S.createElement(a,{as:"div","data-tts":!0},e&&S.createElement("p",null,e),!t&&S.createElement(A,{"aria-label":"Speak",onClick:s},S.createElement(b$1.PlaySolid,{size:16})),t&&!o&&S.createElement(A,{"aria-label":"Pause",onClick:r},S.createElement(b$1.PauseSolid,{size:16})),o&&S.createElement(A,{"aria-label":"Resume",onClick:n},S.createElement(b$1.ResumeSolid,{size:16})),S.createElement(A,{"aria-label":"Stop",onClick:a$1},S.createElement(b$1.StopSolid,{size:16})));ee.displayName="TextToSpeechControls";ee.TTSButton=A;var xe=ee;var ye=({initialText:e="",showTextInput:t=!1,voice:o,pitch:s=1,rate:r=1,label:n,onEnd:a})=>{let{speak:l,pause:p,resume:y,cancel:x,isSpeaking:f,isPaused:I}=ue(),[g,b]=useState(e);useEffect(()=>{b(e);},[e]);let m=()=>{g.trim()!==""&&l(g,{voice:o,pitch:s,rate:r},h);},d=c=>{b(c.target.value);},h=()=>{a&&a();};return S.createElement(S.Fragment,null,t&&S.createElement(b$3,{value:g,onChange:d}),S.createElement(xe,{label:n,isSpeaking:f,isPaused:I,onSpeak:m,onPause:p,onResume:y,onCancel:x}))};ye.displayName="TextToSpeechComponent";var F=e=>S.createElement(S.Fragment,null,e),dt=({id:e,children:t,headerBackground:o,styles:s,classes:r,...n})=>S.createElement(a,{as:"header",id:e,styles:s,className:r,...n},o,S.createElement(a,{as:"section"},t)),ut=({id:e,children:t,styles:o,classes:s,...r})=>S.createElement(a,{as:"main",id:e,styles:o,...r,className:s},t),xt=({id:e,classes:t,children:o,styles:s={},...r})=>S.createElement(a,{as:"footer",id:e,className:t,styles:s,...r},S.createElement(a,{as:"section"},o||"Copyright \xA9 2022")),yt=({id:e,children:t,styles:o={},classes:s,...r})=>S.createElement(a,{as:"aside",id:e,styles:o,className:s,...r},S.createElement(a,{as:"section"},t)),ht=({id:e,children:t,styles:o,classes:s,...r})=>S.createElement(a,{as:"section",id:e,styles:o,className:s,...r},t),gt=({id:e,children:t,styles:o,classes:s,...r})=>S.createElement(a,{as:"article",id:e,styles:o,className:s,...r},t),It=({id:e,children:t,legend:o,description:s,descriptionId:r,styles:n,classes:a$1,...l})=>{let p=r||(s?`${e}-desc`:void 0);return S.createElement(a,{as:"fieldset",id:e,styles:n,className:a$1,"aria-describedby":p,...l},o&&S.createElement(a,{as:"legend"},o),s&&S.createElement("p",{id:p,className:"fieldset-description"},s),t)};F.displayName="Landmarks";F.Header=dt;F.Main=ut;F.Footer=xt;F.Aside=yt;F.Section=ht;F.Article=gt;F.Fieldset=It;var ge=S.forwardRef(({padding:e,paddingInline:t,paddingBlock:o,margin:s,marginInline:r,marginBlock:n,width:a$1,maxWidth:l,radius:p,as:y="div",className:x,classes:f,children:I,...g},b)=>{let m=[];e&&m.push(`box-padding-${e}`),t&&m.push(`box-padding-inline-${t}`),o&&m.push(`box-padding-block-${o}`),s&&m.push(`box-margin-${s}`),r&&m.push(`box-margin-inline-${r}`),n&&m.push(`box-margin-block-${n}`),a$1&&m.push(`box-width-${a$1}`),l&&m.push(`box-max-width-${l}`),p&&m.push(`box-radius-${p}`);let d=[...m,x,f].filter(Boolean).join(" ");return S.createElement(a,{as:y,ref:b,classes:d||void 0,...g},I)});ge.displayName="Box";var be=S.forwardRef(({gap:e,direction:t="vertical",align:o,justify:s,wrap:r,as:n="div",className:a$1,classes:l,children:p,...y},x)=>{let f=["stack"];t==="horizontal"?f.push("stack-horizontal"):f.push("stack-vertical"),e&&f.push(`stack-gap-${e}`),o&&f.push(`stack-align-${o}`),s&&f.push(`stack-justify-${s}`),r&&f.push(`stack-${r}`);let I=[...f,a$1,l].filter(Boolean).join(" ");return S.createElement(a,{as:n,ref:x,classes:I,...y},p)});be.displayName="Stack";var ve=S.forwardRef(({gap:e,justify:t,align:o,as:s="div",className:r,classes:n,children:a$1,...l},p)=>{let y=["cluster"];e&&y.push(`cluster-gap-${e}`),t&&y.push(`cluster-justify-${t}`),o&&y.push(`cluster-align-${o}`);let x=[...y,r,n].filter(Boolean).join(" ");return S.createElement(a,{as:s,ref:p,classes:x,...l},a$1)});ve.displayName="Cluster";var Se=S.forwardRef(({columns:e,auto:t,minColumnWidth:o,gap:s,gapX:r,gapY:n,justifyItems:a$1,alignItems:l,as:p="div",className:y,classes:x,children:f,style:I,styles:g,...b},m)=>{let d=["grid"];e&&d.push(`grid-cols-${e}`),t&&d.push(`grid-auto-${t}`),s&&d.push(`grid-gap-${s}`),r&&d.push(`grid-gap-x-${r}`),n&&d.push(`grid-gap-y-${n}`),a$1&&d.push(`grid-justify-items-${a$1}`),l&&d.push(`grid-align-items-${l}`);let h=[...d,y,x].filter(Boolean).join(" "),c={...I||{},...g||{}};return t&&o&&(c.gridTemplateColumns=`repeat(auto-${t}, minmax(${o}, 1fr))`),S.createElement(a,{as:p,ref:m,classes:h,style:Object.keys(c).length>0?c:void 0,...b},f)});Se.displayName="Grid";var te=S.forwardRef(({span:e,rowSpan:t,as:o="div",className:s,classes:r,children:n,...a$1},l)=>{let p=[];e&&p.push(`grid-col-span-${e}`),t&&p.push(`grid-row-span-${t}`);let y=[...p,s,r].filter(Boolean).join(" ");return S.createElement(a,{as:o,ref:l,classes:y,...a$1},n)});te.displayName="GridItem";var Ce=Se;Ce.Item=te;var bt=Ce;var we=S.forwardRef(({gap:e,justify:t,align:o,wrap:s,alwaysProportional:r=!1,as:n="div",className:a$1,classes:l,children:p,...y},x)=>{process.env.NODE_ENV==="development"&&r&&console.warn('[fpkit] Row: alwaysProportional is deprecated and will be removed in v5.0.0. Use responsive column utilities instead: className="col-sm-6 col-md-4"');let f=["col-row"];e&&f.push(`col-row-gap-${e}`),t&&f.push(`col-row-justify-${t}`),o&&f.push(`col-row-align-${o}`),s&&s!=="wrap"&&f.push(`col-row-${s}`),r&&f.push("col-row-proportional");let I=[...f,a$1,l].filter(Boolean).join(" ");return S.createElement(a,{as:n,ref:x,classes:I,...y},p)});we.displayName="Row";var Ee=S.forwardRef(({span:e,offset:t,order:o,auto:s=!1,as:r="div",className:n,classes:a$1,children:l,...p},y)=>{let x=[];s?x.push("col-auto"):e==="flex"?x.push("col-flex"):e&&x.push(`col-${e}`),t!==void 0&&x.push(`col-offset-${t}`),o!==void 0&&x.push(`col-order-${o}`);let f=[...x,n,a$1].filter(Boolean).join(" ");return S.createElement(a,{as:r,ref:y,classes:f,...p},l)});Ee.displayName="Col";var L=(e,t="")=>{let o=[];if(e.direction){let s={row:"flex-row","row-reverse":"flex-row-reverse",column:"flex-col","column-reverse":"flex-col-reverse"};o.push(`${t}${s[e.direction]}`);}if(e.wrap){let s={wrap:"flex-wrap",nowrap:"flex-nowrap","wrap-reverse":"flex-wrap-reverse"};o.push(`${t}${s[e.wrap]}`);}if(e.gap&&o.push(`${t}gap-${e.gap}`),e.rowGap&&o.push(`${t}row-gap-${e.rowGap}`),e.colGap&&o.push(`${t}col-gap-${e.colGap}`),e.justify){let s={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"};o.push(`${t}${s[e.justify]}`);}if(e.align){let s={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"};o.push(`${t}${s[e.align]}`);}if(e.alignContent){let s={start:"content-start",end:"content-end",center:"content-center",between:"content-between",around:"content-around",evenly:"content-evenly",stretch:"content-stretch"};o.push(`${t}${s[e.alignContent]}`);}return o},ke=S.forwardRef((e,t)=>{let{variant:o,inline:s=!1,as:r="div",className:n="",styles:a$1,children:l,sm:p,md:y,lg:x,xl:f,direction:I,wrap:g,gap:b,rowGap:m,colGap:d,justify:h,align:c,alignContent:u,...$}=e,P=[];if(P.push(s?"flex-inline":"flex"),o){let U={center:"flex-center",between:"flex-between",around:"flex-around",stack:"flex-stack",spread:"flex-spread"};P.push(U[o]);}P.push(...L({direction:I,wrap:g,gap:b,rowGap:m,colGap:d,justify:h,align:c,alignContent:u})),p&&P.push(...L(p,"sm:")),y&&P.push(...L(y,"md:")),x&&P.push(...L(x,"lg:")),f&&P.push(...L(f,"xl:"));let w=[...P,n].filter(Boolean).join(" ");return S.createElement(a,{as:r,ref:t,classes:w,styles:a$1,...$},l)});ke.displayName="Flex";var Fe=S.forwardRef((e,t)=>{let{grow:o,shrink:s,basis:r,flex:n,alignSelf:a$1,order:l,as:p="div",className:y="",styles:x,children:f,sm:I,md:g,lg:b,xl:m,...d}=e,h=[];if(n){let u={1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"};h.push(u[n]);}if(o!==void 0&&h.push(`flex-grow-${o}`),s!==void 0&&h.push(`flex-shrink-${s}`),r){let u={auto:"flex-basis-auto",0:"flex-basis-0",full:"flex-basis-full"};h.push(u[r]);}if(a$1){let u={auto:"self-auto",start:"self-start",end:"self-end",center:"self-center",baseline:"self-baseline",stretch:"self-stretch"};h.push(u[a$1]);}if(l){let u={first:"order-first",last:"order-last",none:"order-none"};h.push(u[l]);}if(I?.flex){let u={1:"flex-1",auto:"flex-auto",none:"flex-none"};h.push(`sm:${u[I.flex]}`);}if(g?.flex){let u={1:"flex-1",auto:"flex-auto",none:"flex-none"};h.push(`md:${u[g.flex]}`);}if(b?.flex){let u={1:"flex-1",auto:"flex-auto",none:"flex-none"};h.push(`lg:${u[b.flex]}`);}if(m?.flex){let u={1:"flex-1",auto:"flex-auto",none:"flex-none"};h.push(`xl:${u[m.flex]}`);}let c=[...h,y].filter(Boolean).join(" ");return S.createElement(a,{as:p,ref:t,classes:c,styles:x,...d},f)});Fe.displayName="Flex.Item";var Ne=S.forwardRef((e,t)=>{let{as:o="div",className:s="",styles:r,...n}=e,a$1=["flex-1",s].filter(Boolean).join(" ");return S.createElement(a,{as:o,ref:t,classes:a$1,styles:r,...n})});Ne.displayName="Flex.Spacer";var oe=ke;oe.Item=Fe;oe.Spacer=Ne;var Pt=oe;var Ue=({id:e,styles:t,classes:o,children:s,variant:r,...n})=>S.createElement(a,{as:"sup",id:e,styles:t,className:o,"data-badge":r||void 0,role:"status",...n},S.createElement(a,{as:"span"},s));Ue.displayName="Badge";var St=({elm:e="span",role:t="note",variant:o,children:s,styles:r,...n})=>S.createElement(a,{as:e,role:t,"data-tag":o||void 0,styles:r,...n},s);St.displayName="Tag";var Ct=S.forwardRef(({summary:e,icon:t,styles:o,classes:s,ariaLabel:r,name:n,open:a$1,onPointerDown:l,onToggle:p,children:y,...x},f)=>{let I=useCallback(b=>{l?.(b);},[l]),g=useCallback(b=>{p?.(b);},[p]);return S.createElement(a,{as:"details",styles:o,classes:s,onToggle:g,ref:f,open:a$1,"aria-label":r,name:n,...x},S.createElement(a,{as:"summary",onPointerDown:I},t,e),S.createElement(a,{as:"section"},y))});Ct.displayName="Details";
|
|
36
|
+
<rect width="${u}" height="${f}" fill="url(#grad-${u}-${f})"/>
|
|
37
|
+
<circle cx="${u*.15}" cy="${f*.2}" r="${Math.min(u,f)*.08}" fill="rgba(255,255,255,0.2)"/>
|
|
38
|
+
<path d="M0,${f*.75} Q${u*.25},${f*.65} ${u*.5},${f*.75} T${u},${f*.75} L${u},${f} L0,${f} 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(u,f)*.05)}" font-weight="500" fill="rgba(255,255,255,0.9)">${u}\xD7${f}</text>
|
|
40
|
+
</svg>`;return `data:image/svg+xml,${encodeURIComponent($)}`},[o,r]),x=a$1??P;return v.createElement(a,{as:"img",src:e,alt:t,width:o,height:r||"auto",loading:l,style:s,srcSet:d,sizes:m,onError:u=>{c&&c(u),u.defaultPrevented||u.currentTarget.src!==x&&(u.currentTarget.src=x);},onLoad:u=>{g?.(u);},decoding:p,...h,...i&&{fetchpriority:i}})};ne.displayName="Img";var ae=({isAlertDialog:e=!1,onClose:t,dialogTitle:o,dialogLabel:r,btnLabel:s="Open Dialog",btnSize:l="sm",btnOnClick:a,children:i,onConfirm:p,confirmLabel:d="Confirm",cancelLabel:m="Cancel",className:c,hideFooter:g=!1,btnProps:h,icon:P})=>{let[x,y]=useState(!1),I=useRef(null),u=useCallback(b=>{y(b),!b&&t&&t();},[t]),f=useCallback(()=>{I.current=document.activeElement,y(!0),a&&a();},[a]);useEffect(()=>{if(!x&&I.current){let b=setTimeout(()=>{I.current?.focus();},100);return ()=>clearTimeout(b)}},[x]);let $={type:"button",onClick:f,"aria-haspopup":"dialog",...h};return v.createElement(v.Fragment,null,P?v.createElement(L,{icon:P,"aria-label":s,label:s,size:l,...$}):v.createElement(b,{"data-btn":l,...$},s),v.createElement(b$2,{isOpen:x,onOpenChange:u,dialogTitle:o,dialogLabel:r,className:c,isAlertDialog:e,onConfirm:p,confirmLabel:d,cancelLabel:m,hideFooter:g},i))};ae.displayName="DialogModal";var S=e=>v.createElement(v.Fragment,null,e),et=({id:e,children:t,headerBackground:o,styles:r,classes:s,...l})=>v.createElement(a,{as:"header",id:e,styles:r,className:s,...l},o,v.createElement(a,{as:"section"},t)),tt=({id:e,children:t,styles:o,classes:r,...s})=>v.createElement(a,{as:"main",id:e,styles:o,...s,className:r},t),ot=({id:e,classes:t,children:o,styles:r={},...s})=>v.createElement(a,{as:"footer",id:e,className:t,styles:r,...s},v.createElement(a,{as:"section"},o||"Copyright \xA9 2022")),rt=({id:e,children:t,styles:o={},classes:r,...s})=>v.createElement(a,{as:"aside",id:e,styles:o,className:r,...s},v.createElement(a,{as:"section"},t)),st=({id:e,children:t,styles:o,classes:r,...s})=>v.createElement(a,{as:"section",id:e,styles:o,className:r,...s},t),nt=({id:e,children:t,styles:o,classes:r,...s})=>v.createElement(a,{as:"article",id:e,styles:o,className:r,...s},t),lt=({id:e,children:t,legend:o,description:r,descriptionId:s,styles:l,classes:a$1,...i})=>{let p=s||(r?`${e}-desc`:void 0);return v.createElement(a,{as:"fieldset",id:e,styles:l,className:a$1,"aria-describedby":p,...i},o&&v.createElement(a,{as:"legend"},o),r&&v.createElement("p",{id:p,className:"fieldset-description"},r),t)};S.displayName="Landmarks";S.Header=et;S.Main=tt;S.Footer=ot;S.Aside=rt;S.Section=st;S.Article=nt;S.Fieldset=lt;var pe=v.forwardRef(({padding:e,paddingInline:t,paddingBlock:o,margin:r,marginInline:s,marginBlock:l,width:a$1,maxWidth:i,radius:p,as:d="div",className:m,classes:c,children:g,...h},P)=>{let x=[];e&&x.push(`box-padding-${e}`),t&&x.push(`box-padding-inline-${t}`),o&&x.push(`box-padding-block-${o}`),r&&x.push(`box-margin-${r}`),s&&x.push(`box-margin-inline-${s}`),l&&x.push(`box-margin-block-${l}`),a$1&&x.push(`box-width-${a$1}`),i&&x.push(`box-max-width-${i}`),p&&x.push(`box-radius-${p}`);let y=[...x,m,c].filter(Boolean).join(" ");return v.createElement(a,{as:d,ref:P,classes:y||void 0,...h},g)});pe.displayName="Box";var fe=v.forwardRef(({gap:e,direction:t="vertical",align:o,justify:r,wrap:s,as:l="div",className:a$1,classes:i,children:p,...d},m)=>{let c=["stack"];t==="horizontal"?c.push("stack-horizontal"):c.push("stack-vertical"),e&&c.push(`stack-gap-${e}`),o&&c.push(`stack-align-${o}`),r&&c.push(`stack-justify-${r}`),s&&c.push(`stack-${s}`);let g=[...c,a$1,i].filter(Boolean).join(" ");return v.createElement(a,{as:l,ref:m,classes:g,...d},p)});fe.displayName="Stack";var de=v.forwardRef(({gap:e,justify:t,align:o,as:r="div",className:s,classes:l,children:a$1,...i},p)=>{let d=["cluster"];e&&d.push(`cluster-gap-${e}`),t&&d.push(`cluster-justify-${t}`),o&&d.push(`cluster-align-${o}`);let m=[...d,s,l].filter(Boolean).join(" ");return v.createElement(a,{as:r,ref:p,classes:m,...i},a$1)});de.displayName="Cluster";var ue=v.forwardRef(({columns:e,auto:t,minColumnWidth:o,gap:r,gapX:s,gapY:l,justifyItems:a$1,alignItems:i,as:p="div",className:d,classes:m,children:c,style:g,styles:h,...P},x)=>{let y=["grid"];e&&y.push(`grid-cols-${e}`),t&&y.push(`grid-auto-${t}`),r&&y.push(`grid-gap-${r}`),s&&y.push(`grid-gap-x-${s}`),l&&y.push(`grid-gap-y-${l}`),a$1&&y.push(`grid-justify-items-${a$1}`),i&&y.push(`grid-align-items-${i}`);let I=[...y,d,m].filter(Boolean).join(" "),u={...g||{},...h||{}};return t&&o&&(u.gridTemplateColumns=`repeat(auto-${t}, minmax(${o}, 1fr))`),v.createElement(a,{as:p,ref:x,classes:I,style:Object.keys(u).length>0?u:void 0,...P},c)});ue.displayName="Grid";var X=v.forwardRef(({span:e,rowSpan:t,as:o="div",className:r,classes:s,children:l,...a$1},i)=>{let p=[];e&&p.push(`grid-col-span-${e}`),t&&p.push(`grid-row-span-${t}`);let d=[...p,r,s].filter(Boolean).join(" ");return v.createElement(a,{as:o,ref:i,classes:d,...a$1},l)});X.displayName="GridItem";var xe=ue;xe.Item=X;var at=xe;var ge=v.forwardRef(({gap:e,justify:t,align:o,wrap:r,alwaysProportional:s=!1,as:l="div",className:a$1,classes:i,children:p,...d},m)=>{process.env.NODE_ENV==="development"&&s&&console.warn('[fpkit] Row: alwaysProportional is deprecated and will be removed in v5.0.0. Use responsive column utilities instead: className="col-sm-6 col-md-4"');let c=["col-row"];e&&c.push(`col-row-gap-${e}`),t&&c.push(`col-row-justify-${t}`),o&&c.push(`col-row-align-${o}`),r&&r!=="wrap"&&c.push(`col-row-${r}`),s&&c.push("col-row-proportional");let g=[...c,a$1,i].filter(Boolean).join(" ");return v.createElement(a,{as:l,ref:m,classes:g,...d},p)});ge.displayName="Row";var Ie=v.forwardRef(({span:e,offset:t,order:o,auto:r=!1,as:s="div",className:l,classes:a$1,children:i,...p},d)=>{let m=[];r?m.push("col-auto"):e==="flex"?m.push("col-flex"):e&&m.push(`col-${e}`),t!==void 0&&m.push(`col-offset-${t}`),o!==void 0&&m.push(`col-order-${o}`);let c=[...m,l,a$1].filter(Boolean).join(" ");return v.createElement(a,{as:s,ref:d,classes:c,...p},i)});Ie.displayName="Col";var U=(e,t="")=>{let o=[];if(e.direction){let r={row:"flex-row","row-reverse":"flex-row-reverse",column:"flex-col","column-reverse":"flex-col-reverse"};o.push(`${t}${r[e.direction]}`);}if(e.wrap){let r={wrap:"flex-wrap",nowrap:"flex-nowrap","wrap-reverse":"flex-wrap-reverse"};o.push(`${t}${r[e.wrap]}`);}if(e.gap&&o.push(`${t}gap-${e.gap}`),e.rowGap&&o.push(`${t}row-gap-${e.rowGap}`),e.colGap&&o.push(`${t}col-gap-${e.colGap}`),e.justify){let r={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"};o.push(`${t}${r[e.justify]}`);}if(e.align){let r={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"};o.push(`${t}${r[e.align]}`);}if(e.alignContent){let r={start:"content-start",end:"content-end",center:"content-center",between:"content-between",around:"content-around",evenly:"content-evenly",stretch:"content-stretch"};o.push(`${t}${r[e.alignContent]}`);}return o},Pe=v.forwardRef((e,t)=>{let{variant:o,inline:r=!1,as:s="div",className:l="",styles:a$1,children:i,sm:p,md:d,lg:m,xl:c,direction:g,wrap:h,gap:P,rowGap:x,colGap:y,justify:I,align:u,alignContent:f,...$}=e,b=[];if(b.push(r?"flex-inline":"flex"),o){let M={center:"flex-center",between:"flex-between",around:"flex-around",stack:"flex-stack",spread:"flex-spread"};b.push(M[o]);}b.push(...U({direction:g,wrap:h,gap:P,rowGap:x,colGap:y,justify:I,align:u,alignContent:f})),p&&b.push(...U(p,"sm:")),d&&b.push(...U(d,"md:")),m&&b.push(...U(m,"lg:")),c&&b.push(...U(c,"xl:"));let w=[...b,l].filter(Boolean).join(" ");return v.createElement(a,{as:s,ref:t,classes:w,styles:a$1,...$},i)});Pe.displayName="Flex";var be=v.forwardRef((e,t)=>{let{grow:o,shrink:r,basis:s,flex:l,alignSelf:a$1,order:i,as:p="div",className:d="",styles:m,children:c,sm:g,md:h,lg:P,xl:x,...y}=e,I=[];if(l){let f={1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"};I.push(f[l]);}if(o!==void 0&&I.push(`flex-grow-${o}`),r!==void 0&&I.push(`flex-shrink-${r}`),s){let f={auto:"flex-basis-auto",0:"flex-basis-0",full:"flex-basis-full"};I.push(f[s]);}if(a$1){let f={auto:"self-auto",start:"self-start",end:"self-end",center:"self-center",baseline:"self-baseline",stretch:"self-stretch"};I.push(f[a$1]);}if(i){let f={first:"order-first",last:"order-last",none:"order-none"};I.push(f[i]);}if(g?.flex){let f={1:"flex-1",auto:"flex-auto",none:"flex-none"};I.push(`sm:${f[g.flex]}`);}if(h?.flex){let f={1:"flex-1",auto:"flex-auto",none:"flex-none"};I.push(`md:${f[h.flex]}`);}if(P?.flex){let f={1:"flex-1",auto:"flex-auto",none:"flex-none"};I.push(`lg:${f[P.flex]}`);}if(x?.flex){let f={1:"flex-1",auto:"flex-auto",none:"flex-none"};I.push(`xl:${f[x.flex]}`);}let u=[...I,d].filter(Boolean).join(" ");return v.createElement(a,{as:p,ref:t,classes:u,styles:m,...y},c)});be.displayName="Flex.Item";var ve=v.forwardRef((e,t)=>{let{as:o="div",className:r="",styles:s,...l}=e,a$1=["flex-1",r].filter(Boolean).join(" ");return v.createElement(a,{as:o,ref:t,classes:a$1,styles:s,...l})});ve.displayName="Flex.Spacer";var Q=Pe;Q.Item=be;Q.Spacer=ve;var it=Q;var we=({id:e,styles:t,classes:o,children:r,variant:s,...l})=>v.createElement(a,{as:"sup",id:e,styles:t,className:o,"data-badge":s||void 0,role:"status",...l},v.createElement(a,{as:"span"},r));we.displayName="Badge";var ct=({elm:e="span",role:t="note",variant:o,children:r,styles:s,...l})=>v.createElement(a,{as:e,role:t,"data-tag":o||void 0,styles:s,...l},r);ct.displayName="Tag";var ft=v.forwardRef(({summary:e,icon:t,styles:o,classes:r,ariaLabel:s,name:l,open:a$1,onPointerDown:i,onToggle:p,children:d,...m},c)=>{let g=useCallback(P=>{i?.(P);},[i]),h=useCallback(P=>{p?.(P);},[p]);return v.createElement(a,{as:"details",styles:o,classes:r,onToggle:h,ref:c,open:a$1,"aria-label":s,name:l,...m},v.createElement(a,{as:"summary",onPointerDown:g},t,e),v.createElement(a,{as:"section"},d))});ft.displayName="Details";
|
|
42
41
|
|
|
43
|
-
export {
|
|
42
|
+
export { re as Alert, nt as Article, rt as Aside, we as Badge, pe as Box, se as Checkbox, de as Cluster, Ie as Col, ft as Details, ae as DialogModal, lt as Fieldset, it as Flex, ot as Footer, at as Grid, X as GridItem, et as Header, L as IconButton, ne as Img, S as Landmarks, tt as Main, ge as Row, st as Section, fe as Stack, ct as Tag };
|
|
44
43
|
//# sourceMappingURL=out.js.map
|
|
45
44
|
//# sourceMappingURL=index.js.map
|