@jamsrui/alert 0.0.12 → 0.0.14

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.
@@ -1,23 +1,14 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { PropGetter, UIProps, SlotsToClassNames, UnknownTV } from '@jamsrui/utils';
3
+ import { PropGetter, UIProps } from '@jamsrui/utils';
4
4
  import { AlertContent } from './alert-content.mjs';
5
5
  import { AlertDescription } from './alert-description.mjs';
6
6
  import { AlertIcon } from './alert-icon.mjs';
7
7
  import { AlertTitle } from './alert-title.mjs';
8
- import { IconMapping } from './icons.mjs';
9
- import { AlertVariants, AlertSlots } from './styles.mjs';
8
+ import { AlertVariants } from './styles.mjs';
10
9
 
11
10
  declare const useAlert: (props: useAlert.Props) => {
12
- hideIcon: boolean | undefined;
13
11
  icon: react.ReactNode;
14
- endContent: react.ReactNode;
15
- slotProps: {
16
- title?: AlertTitle.Props;
17
- content?: AlertContent.Props;
18
- description?: AlertDescription.Props;
19
- icon?: AlertIcon.Props;
20
- } | undefined;
21
12
  getRootProps: PropGetter<Alert.Props>;
22
13
  getTitleProps: PropGetter<AlertTitle.Props>;
23
14
  getDescriptionProps: PropGetter<AlertDescription.Props>;
@@ -26,18 +17,6 @@ declare const useAlert: (props: useAlert.Props) => {
26
17
  };
27
18
  declare namespace useAlert {
28
19
  interface Props extends UIProps<"div">, AlertVariants {
29
- classNames?: SlotsToClassNames<AlertSlots>;
30
- endContent?: React.ReactNode;
31
- icon?: React.ReactNode;
32
- iconMapping?: Partial<IconMapping>;
33
- slotProps?: {
34
- title?: AlertTitle.Props;
35
- content?: AlertContent.Props;
36
- description?: AlertDescription.Props;
37
- icon?: AlertIcon.Props;
38
- };
39
- tv?: UnknownTV;
40
- hideIcon?: boolean;
41
20
  }
42
21
  }
43
22
 
@@ -1,14 +1,13 @@
1
- import { A as Alert } from './alert-BWQLCpUd.mjs';
2
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import './alert-description.mjs';
4
- import './alert-title.mjs';
5
- import './styles.mjs';
2
+ import { A as Alert } from './alert-BTqcLoKk.mjs';
6
3
  import 'react';
7
4
  import '@jamsrui/utils';
8
5
  import './alert-content.mjs';
9
- import './alert-icon.mjs';
10
- import './icons.mjs';
6
+ import './alert-description.mjs';
11
7
  import '@jamsrui/text';
8
+ import './alert-icon.mjs';
9
+ import './alert-title.mjs';
10
+ import './styles.mjs';
12
11
 
13
12
  declare const useAlertConfig: () => AlertConfig.Props;
14
13
  declare const AlertConfig: (props: Omit<Partial<AlertConfig.Props>, "children"> & {
@@ -1 +1 @@
1
- import{a,b}from"./chunk-SO2IDXD2.mjs";export{a as AlertConfig,b as useAlertConfig};
1
+ "use client";import{createConfigContext as e}from"@jamsrui/utils";const[o,r]=e({displayName:"AlertConfigContext"});export{o as AlertConfig,r as useAlertConfig};
@@ -1 +1 @@
1
- import{a}from"./chunk-SFDA3VBM.mjs";import"./chunk-EWVQT27P.mjs";export{a as AlertContent};
1
+ "use client";import{jsx as s}from"react/jsx-runtime";import{useAlertContext as n}from"./alert-context.mjs";const i=t=>{const{getContentProps:e}=n(),{children:o,...r}=t;return s("div",{...e(r),children:o})};export{i as AlertContent};
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { u as useAlert } from './alert-BWQLCpUd.mjs';
2
+ import { u as useAlert } from './alert-BTqcLoKk.mjs';
3
3
  import 'react';
4
4
  import '@jamsrui/utils';
5
5
  import './alert-content.mjs';
@@ -7,7 +7,6 @@ import './alert-description.mjs';
7
7
  import '@jamsrui/text';
8
8
  import './alert-icon.mjs';
9
9
  import './alert-title.mjs';
10
- import './icons.mjs';
11
10
  import './styles.mjs';
12
11
 
13
12
  declare const useAlertContext: () => AlertContextProvider.Type;
@@ -1 +1 @@
1
- import{a,b}from"./chunk-EWVQT27P.mjs";export{a as AlertContextProvider,b as useAlertContext};
1
+ import{jsx as x}from"react/jsx-runtime";import{createContext as n,use as l}from"react";const t=n(null),s=e=>{const{children:r,ctx:o}=e;return x(t,{value:o,children:r})},c=()=>{const e=l(t);if(!e)throw new Error("useAlertContext must be used within AlertContextProvider");return e};export{s as AlertContextProvider,c as useAlertContext};
@@ -1 +1 @@
1
- import{a}from"./chunk-UVM6MA45.mjs";import"./chunk-EWVQT27P.mjs";export{a as AlertDescription};
1
+ "use client";import{jsx as e}from"react/jsx-runtime";import{Text as n}from"@jamsrui/text";import{useAlertContext as s}from"./alert-context.mjs";const l=t=>{const{getDescriptionProps:r}=s(),{children:o,...p}=t;return e(n,{render:e("p",{}),...r(p),children:o})};export{l as AlertDescription};
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { UIProps } from '@jamsrui/utils';
3
3
 
4
- declare const AlertIcon: (props: AlertIcon.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
4
+ declare const AlertIcon: (props: AlertIcon.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
5
5
  declare namespace AlertIcon {
6
6
  interface Props extends UIProps<"span"> {
7
7
  }
@@ -1 +1 @@
1
- import{a}from"./chunk-6GTLJVPA.mjs";import"./chunk-EWVQT27P.mjs";export{a as AlertIcon};
1
+ "use client";import{useRenderElement as s}from"@jamsrui/hooks";import{useAlertContext as p}from"./alert-context.mjs";const i=e=>{const{getIconProps:r,icon:t}=p(),{children:o=t,...n}=e;return s("span",{props:[r(n),{children:o}]})};export{i as AlertIcon};
@@ -1 +1 @@
1
- import{a}from"./chunk-T373AY6M.mjs";import"./chunk-EWVQT27P.mjs";export{a as AlertTitle};
1
+ "use client";import{jsx as e}from"react/jsx-runtime";import{Text as n}from"@jamsrui/text";import{useAlertContext as p}from"./alert-context.mjs";const x=t=>{const{getTitleProps:r}=p(),{children:o,...l}=t;return e(n,{render:e("h3",{}),...r(l),children:o})};export{x as AlertTitle};
package/dist/alert.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import 'react/jsx-runtime';
2
- export { A as Alert } from './alert-BWQLCpUd.mjs';
2
+ export { A as Alert } from './alert-BTqcLoKk.mjs';
3
3
  import '@jamsrui/utils';
4
4
  import 'react';
5
5
  import './alert-content.mjs';
@@ -7,5 +7,4 @@ import './alert-description.mjs';
7
7
  import '@jamsrui/text';
8
8
  import './alert-icon.mjs';
9
9
  import './alert-title.mjs';
10
- import './icons.mjs';
11
10
  import './styles.mjs';
package/dist/alert.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-UHA5ASFH.mjs";import"./chunk-GDEGKV23.mjs";import"./chunk-U2HPND5Q.mjs";import"./chunk-SO2IDXD2.mjs";import"./chunk-SFDA3VBM.mjs";import"./chunk-6GTLJVPA.mjs";import"./chunk-EWVQT27P.mjs";import"./chunk-JNWZOJMD.mjs";export{a as Alert};
1
+ "use client";import{jsx as f}from"react/jsx-runtime";import{useRenderElement as n}from"@jamsrui/hooks";import{mergeConfigProps as m}from"@jamsrui/utils";import{useAlertConfig as i}from"./alert-config.mjs";import{AlertContextProvider as l}from"./alert-context.mjs";import{useAlert as c}from"./use-alert.mjs";const g=o=>{const r=i(),t=m(r,r,o),e=c(t),{getRootProps:s}=e,p=n("div",{props:[s({})]});return f(l,{ctx:e,children:p})};export{g as Alert};
package/dist/icons.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-JNWZOJMD.mjs";export{a as iconMappingDefault};
1
+ import{jsx as n}from"react/jsx-runtime";import{ErrorIcon as t,InfoIcon as o,SuccessIcon as a,WarningIcon as e}from"@jamsrui/icons";const c={danger:n(t,{}),info:n(o,{}),success:n(a,{}),warning:n(e,{}),default:n(o,{})};export{c as iconMappingDefault};
package/dist/index.d.mts CHANGED
@@ -1,12 +1,23 @@
1
- export { A as Alert, u as useAlert } from './alert-BWQLCpUd.mjs';
1
+ import * as react from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  export { AlertConfig, useAlertConfig } from './alert-config.mjs';
3
- export { AlertDescription } from './alert-description.mjs';
4
- export { AlertTitle } from './alert-title.mjs';
4
+ import { AlertDescription } from './alert-description.mjs';
5
+ import { AlertTitle } from './alert-title.mjs';
5
6
  export { alertStyles } from './styles.mjs';
6
- import 'react/jsx-runtime';
7
- import 'react';
8
- import '@jamsrui/utils';
9
- import './alert-content.mjs';
10
- import './alert-icon.mjs';
11
- import './icons.mjs';
7
+ import { A as Alert$1 } from './alert-BTqcLoKk.mjs';
8
+ export { u as useAlert } from './alert-BTqcLoKk.mjs';
9
+ import { AlertContent } from './alert-content.mjs';
10
+ import { AlertIcon } from './alert-icon.mjs';
12
11
  import '@jamsrui/text';
12
+ import '@jamsrui/utils';
13
+
14
+ type AlertProps = Alert$1.Props;
15
+ declare const Alert: ((props: Alert$1.Props) => react_jsx_runtime.JSX.Element) & {
16
+ Root: (props: Alert$1.Props) => react_jsx_runtime.JSX.Element;
17
+ Title: (props: AlertTitle.Props) => react_jsx_runtime.JSX.Element;
18
+ Description: (props: AlertDescription.Props) => react_jsx_runtime.JSX.Element;
19
+ Content: (props: AlertContent.Props) => react_jsx_runtime.JSX.Element;
20
+ Icon: (props: AlertIcon.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
21
+ };
22
+
23
+ export { Alert, AlertDescription, type AlertProps, AlertTitle };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{a as t}from"./chunk-UVM6MA45.mjs";import{a as o}from"./chunk-T373AY6M.mjs";import{a as p}from"./chunk-UHA5ASFH.mjs";import{a as f}from"./chunk-GDEGKV23.mjs";import{a as l}from"./chunk-U2HPND5Q.mjs";import{a as e,b as r}from"./chunk-SO2IDXD2.mjs";import"./chunk-SFDA3VBM.mjs";import"./chunk-6GTLJVPA.mjs";import"./chunk-EWVQT27P.mjs";import"./chunk-JNWZOJMD.mjs";export{p as Alert,e as AlertConfig,t as AlertDescription,o as AlertTitle,l as alertStyles,f as useAlert,r as useAlertConfig};
1
+ import{AlertConfig as x,useAlertConfig as C}from"./alert-config.mjs";import{AlertDescription as g}from"./alert-description.mjs";import{AlertTitle as R}from"./alert-title.mjs";import{alertStyles as u}from"./styles.mjs";import{useAlert as I}from"./use-alert.mjs";import{Alert as t}from"./alert.mjs";import{AlertContent as r}from"./alert-content.mjs";import{AlertDescription as o}from"./alert-description.mjs";import{AlertIcon as e}from"./alert-icon.mjs";import{AlertTitle as l}from"./alert-title.mjs";const f=Object.assign(t,{Root:t,Title:l,Description:o,Content:r,Icon:e});export{f as Alert,x as AlertConfig,g as AlertDescription,R as AlertTitle,u as alertStyles,I as useAlert,C as useAlertConfig};
package/dist/styles.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-U2HPND5Q.mjs";export{a as alertStyles};
1
+ import{radiusVariant as t,tv as r}from"@jamsrui/utils";const e=r({slots:{root:"alert__root relative flex gap-2 px-4 py-1.5 text-sm ring-1 ring-inset",icon:"alert__icon shrink-0 py-2",title:"alert__title",description:"alert__description",content:"alert__content flex flex-col grow py-2 gap-1"},variants:{variant:{bordered:{root:"alert--bordered border"},solid:{root:"alert--solid font-medium"},flat:{root:"alert--flat"}},status:{success:{root:"alert--success ring-success-border"},warning:{root:"alert--warning ring-warning-border"},danger:{root:"alert--danger ring-danger-border"},info:{root:"alert--info ring-primary-border"},default:{root:"alert--default ring-default-border"}},radius:t("root")},compoundVariants:[{status:"danger",variant:"solid",className:{root:"bg-danger text-danger-foreground"}},{status:"success",variant:"solid",className:{root:"bg-success text-success-foreground"}},{status:"info",variant:"solid",className:{root:"bg-primary text-primary-foreground"}},{status:"warning",variant:"solid",className:{root:"bg-warning text-warning-foreground"}},{status:"default",variant:"solid",className:{root:"bg-default text-default-foreground"}},{status:"success",variant:"flat",className:{root:"bg-success-flat text-success"}},{status:"info",variant:"flat",className:{root:"bg-primary-flat text-primary"}},{status:"warning",variant:"flat",className:{root:"bg-warning-flat text-warning"}},{status:"danger",variant:"flat",className:{root:"bg-danger-flat text-danger"}},{status:"default",variant:"flat",className:{root:"bg-default-flat text-foreground"}},{status:"danger",variant:"bordered",className:{root:"border-danger-stroke text-danger"}},{status:"success",variant:"bordered",className:{root:"border-success-stroke text-success"}},{status:"info",variant:"bordered",className:{root:"border-primary-stroke text-primary"}},{status:"warning",variant:"bordered",className:{root:"border-warning-stroke text-warning"}},{status:"default",variant:"bordered",className:{root:"border-default-stroke text-foreground"}}],defaultVariants:{status:"success",variant:"flat",radius:"md"}});export{e as alertStyles};
@@ -1,11 +1,10 @@
1
1
  import 'react';
2
2
  import '@jamsrui/utils';
3
- export { u as useAlert } from './alert-BWQLCpUd.mjs';
3
+ export { u as useAlert } from './alert-BTqcLoKk.mjs';
4
4
  import './alert-content.mjs';
5
5
  import './alert-description.mjs';
6
6
  import './alert-icon.mjs';
7
7
  import './alert-title.mjs';
8
- import './icons.mjs';
9
8
  import './styles.mjs';
10
9
  import 'react/jsx-runtime';
11
10
  import '@jamsrui/text';
@@ -1 +1 @@
1
- import{a}from"./chunk-GDEGKV23.mjs";import"./chunk-U2HPND5Q.mjs";import"./chunk-JNWZOJMD.mjs";export{a as useAlert};
1
+ import{useCallback as r,useMemo as d}from"react";import{cn as y,dataAttrDev as o,mapPropsVariants as u}from"@jamsrui/utils";import{iconMappingDefault as g}from"./icons.mjs";import{alertStyles as P}from"./styles.mjs";const x=A=>{const[N,s]=u(A,P.variantKeys),{...a}=N,e=P(s),{status:f="default"}=s,l=g[f],n=r(t=>({"data-slot":o("root"),role:"alert",...a,...t,className:e.root({className:y(t.className)})}),[a,e]),c=r(t=>({...t,"data-slot":o("title"),className:e.title({className:t.className}),variant:"h6"}),[e]),i=r(t=>({...t,"data-slot":o("description"),className:e.description({className:t.className})}),[e]),p=r(t=>({...t,"data-slot":o("content"),className:e.content({className:t.className})}),[e]),m=r(t=>({...t,"data-slot":o("icon"),className:e.icon({className:t.className})}),[e]);return d(()=>({icon:l,getRootProps:n,getTitleProps:c,getDescriptionProps:i,getContentProps:p,getIconProps:m}),[p,i,n,c,l,m])};export{x as useAlert};
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@jamsrui/alert",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/core": "^0.0.10",
9
- "@jamsrui/hooks": "^0.0.12",
10
- "@jamsrui/text": "^0.0.12",
11
- "@jamsrui/utils": "^0.0.12",
12
- "@jamsrui/icons": "^0.0.10"
8
+ "@jamsrui/hooks": "^0.0.14",
9
+ "@jamsrui/core": "^0.0.12",
10
+ "@jamsrui/icons": "^0.0.12",
11
+ "@jamsrui/utils": "^0.0.14",
12
+ "@jamsrui/text": "^0.0.14"
13
13
  },
14
14
  "exports": {
15
15
  ".": {
@@ -1 +0,0 @@
1
- import{b as e}from"./chunk-EWVQT27P.mjs";import{useRenderElement as c}from"@jamsrui/hooks";var m=r=>{let{getIconProps:o,hideIcon:t,icon:n}=e(),s=n,p=c("span",{props:[o(r),{children:s}]});return t?null:p};export{m as a};
@@ -1 +0,0 @@
1
- import{createContext as n,use as l}from"react";import{jsx as x}from"react/jsx-runtime";var t=n(null),s=e=>{let{children:r,ctx:o}=e;return x(t,{value:o,children:r})},c=()=>{let e=l(t);if(!e)throw new Error("useAlertContext must be used within AlertContextProvider");return e};export{s as a,c as b};
@@ -1 +0,0 @@
1
- import{a as c}from"./chunk-U2HPND5Q.mjs";import{a as I}from"./chunk-JNWZOJMD.mjs";import{useCallback as r,useMemo as M}from"react";import{cn as n,dataAttrDev as a,mapPropsVariants as S,mergeProps as l}from"@jamsrui/utils";var h=C=>{let[T,i]=S(C,c.variantKeys),{classNames:o,slotProps:t,tv:v=c,endContent:p,icon:D,iconMapping:G,hideIcon:m,...P}=T,s=v(i),{status:N="default"}=i,d=D??G?.[N]??I[N],A=r(e=>({"data-slot":a("root"),role:"alert",...P,...e,className:s.root({className:n(o?.root,e.className)})}),[o?.root,P,s]),f=r(e=>({...l(t?.title,e),"data-slot":a("title"),className:s.title({className:n(t?.title?.className,o?.title,e.className)}),variant:"h6"}),[o?.title,t?.title,s]),y=r(e=>({...l(t?.description,e),"data-slot":a("description"),className:s.description({className:n(t?.description?.className,o?.description,e.className)})}),[o?.description,t?.description,s]),g=r(e=>({...l(t?.content,e),"data-slot":a("content"),className:s.content({className:n(t?.content?.className,o?.content,e.className)})}),[o?.content,t?.content,s]),u=r(e=>({...l(t?.icon,e),"data-slot":a("icon"),className:s.icon({className:n(t?.icon?.className,o?.icon,e.className)})}),[o?.icon,t?.icon,s]);return M(()=>({hideIcon:m,icon:d,endContent:p,slotProps:t,getRootProps:A,getTitleProps:f,getDescriptionProps:y,getContentProps:g,getIconProps:u}),[p,g,y,A,f,m,d,t,u])};export{h as a};
@@ -1 +0,0 @@
1
- import{ErrorIcon as t,InfoIcon as o,SuccessIcon as a,WarningIcon as e}from"@jamsrui/icons";import{jsx as n}from"react/jsx-runtime";var c={danger:n(t,{}),info:n(o,{}),success:n(a,{}),warning:n(e,{}),default:n(o,{})};export{c as a};
@@ -1 +0,0 @@
1
- import{b as t}from"./chunk-EWVQT27P.mjs";import{mergeProps as s}from"@jamsrui/utils";import{jsx as i}from"react/jsx-runtime";var P=e=>{let{slotProps:o,getContentProps:r}=t(),{children:n,...p}=s(o?.content??{},e);return i("div",{...r(p),children:n})};export{P as a};
@@ -1 +0,0 @@
1
- import{createConfigContext as e}from"@jamsrui/utils";var[r,t]=e({displayName:"AlertConfigContext"});export{r as a,t as b};
@@ -1 +0,0 @@
1
- import{b as e}from"./chunk-EWVQT27P.mjs";import{Text as n}from"@jamsrui/text";import{jsx as t}from"react/jsx-runtime";var x=r=>{let{getTitleProps:o}=e(),{children:p,...l}=r;return t(n,{render:t("h3",{}),...o(l),children:p})};export{x as a};
@@ -1 +0,0 @@
1
- import{radiusVariant as t,tv as r}from"@jamsrui/utils";var e=r({slots:{root:"alert__root relative flex gap-2 px-4 py-1.5 text-sm ring-1 ring-inset",icon:"alert__icon shrink-0 py-2",title:"alert__title",description:"alert__description",content:"alert__content flex flex-col grow py-2 gap-1"},variants:{variant:{bordered:{root:"alert--bordered border"},solid:{root:"alert--solid font-medium"},flat:{root:"alert--flat"}},status:{success:{root:"alert--success ring-success-border"},warning:{root:"alert--warning ring-warning-border"},danger:{root:"alert--danger ring-danger-border"},info:{root:"alert--info ring-primary-border"},default:{root:"alert--default ring-default-border"}},radius:t("root")},compoundVariants:[{status:"danger",variant:"solid",className:{root:"bg-danger text-danger-foreground"}},{status:"success",variant:"solid",className:{root:"bg-success text-success-foreground"}},{status:"info",variant:"solid",className:{root:"bg-primary text-primary-foreground"}},{status:"warning",variant:"solid",className:{root:"bg-warning text-warning-foreground"}},{status:"default",variant:"solid",className:{root:"bg-default text-default-foreground"}},{status:"success",variant:"flat",className:{root:"bg-success-flat text-success"}},{status:"info",variant:"flat",className:{root:"bg-primary-flat text-primary"}},{status:"warning",variant:"flat",className:{root:"bg-warning-flat text-warning"}},{status:"danger",variant:"flat",className:{root:"bg-danger-flat text-danger"}},{status:"default",variant:"flat",className:{root:"bg-default-flat text-foreground"}},{status:"danger",variant:"bordered",className:{root:"border-danger-stroke text-danger"}},{status:"success",variant:"bordered",className:{root:"border-success-stroke text-success"}},{status:"info",variant:"bordered",className:{root:"border-primary-stroke text-primary"}},{status:"warning",variant:"bordered",className:{root:"border-warning-stroke text-warning"}},{status:"default",variant:"bordered",className:{root:"border-default-stroke text-foreground"}}],defaultVariants:{status:"success",variant:"flat",radius:"md"}});export{e as a};
@@ -1 +0,0 @@
1
- import{a as i}from"./chunk-GDEGKV23.mjs";import{b as n}from"./chunk-SO2IDXD2.mjs";import{a as m}from"./chunk-SFDA3VBM.mjs";import{a as p}from"./chunk-6GTLJVPA.mjs";import{a as s}from"./chunk-EWVQT27P.mjs";import{useRenderElement as C}from"@jamsrui/hooks";import{mergeConfigProps as x}from"@jamsrui/utils";import{Fragment as g,jsx as r,jsxs as u}from"react/jsx-runtime";var y=o=>{let{children:l}=o,e=n(),c=x(e,e,o),t=i(c),{endContent:d,getRootProps:f}=t,A=u(g,{children:[r(p,{}),r(m,{children:l}),d]}),P=C("div",{props:[f({}),{children:A}]});return r(s,{ctx:t,children:P})};export{y as a};
@@ -1 +0,0 @@
1
- import{b as e}from"./chunk-EWVQT27P.mjs";import{Text as s}from"@jamsrui/text";import{jsx as r}from"react/jsx-runtime";var x=t=>{let{getDescriptionProps:o}=e(),{children:p,...n}=t;return r(s,{render:r("p",{}),...o(n),children:p})};export{x as a};