@ark-ui/react
Advanced tools
Comparing version 0.0.0-rc-20221106094212 to 0.0.0-rc-20221106114650
@@ -121,3 +121,3 @@ "use strict"; | ||
var import_react = require("@polymorphic-factory/react"); | ||
var atlas = (0, import_react.polymorphicFactory)(); | ||
var ark = (0, import_react.polymorphicFactory)(); | ||
@@ -223,3 +223,3 @@ // src/split-props.ts | ||
value: accordion2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -250,3 +250,3 @@ ref | ||
const mergedProps = (0, import_react8.mergeProps)(getTriggerProps(context), props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -261,3 +261,3 @@ ref | ||
var AccordionIcon = (0, import_react9.forwardRef)((props, ref) => { | ||
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ark.div, { | ||
...props, | ||
@@ -279,3 +279,3 @@ ref | ||
value: { value, disabled, ...itemState }, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -296,3 +296,3 @@ ref, | ||
const mergedProps = (0, import_react13.mergeProps)(getContentProps(context), props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -359,3 +359,3 @@ ref | ||
value: checkbox2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(atlas.label, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ark.label, { | ||
...mergedProps, | ||
@@ -374,3 +374,3 @@ ref | ||
const mergedProps = (0, import_react19.mergeProps)(controlProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -388,3 +388,3 @@ ref | ||
const mergedProps = (0, import_react21.mergeProps)(inputProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(atlas.input, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ark.input, { | ||
...mergedProps, | ||
@@ -402,3 +402,3 @@ ref | ||
const mergedProps = (0, import_react23.mergeProps)(labelProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(atlas.label, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ark.label, { | ||
...mergedProps, | ||
@@ -447,3 +447,3 @@ ref | ||
const mergedProps = (0, import_react27.mergeProps)(backdropProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -461,3 +461,3 @@ ref | ||
const mergedProps = (0, import_react29.mergeProps)(closeButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -475,3 +475,3 @@ ref | ||
const mergedProps = (0, import_react31.mergeProps)(contentProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -489,3 +489,3 @@ ref | ||
const mergedProps = (0, import_react33.mergeProps)(descriptionProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(atlas.p, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ark.p, { | ||
...mergedProps, | ||
@@ -502,3 +502,3 @@ ref | ||
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_portal.Portal, { | ||
type: "atlas-portal", | ||
type: "ark-portal", | ||
...props | ||
@@ -515,3 +515,3 @@ }) : null; | ||
const mergedProps = (0, import_react35.mergeProps)(titleProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(atlas.h2, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ark.h2, { | ||
...mergedProps, | ||
@@ -528,3 +528,3 @@ ref | ||
const { triggerProps } = useDialogContext(); | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(atlas.span, { | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ark.span, { | ||
...triggerProps, | ||
@@ -542,3 +542,3 @@ children | ||
const mergedProps = (0, import_react38.mergeProps)(underlayProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -608,3 +608,3 @@ ref | ||
value: editable2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -623,3 +623,3 @@ ref | ||
const mergedProps = (0, import_react44.mergeProps)(areaProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -638,3 +638,3 @@ ref | ||
const mergedProps = (0, import_react46.mergeProps)(cancelButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -652,3 +652,3 @@ ref | ||
const api = useEditableContext(); | ||
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ark.div, { | ||
...divProps, | ||
@@ -667,3 +667,3 @@ ref, | ||
const mergedProps = (0, import_react49.mergeProps)(editButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -681,3 +681,3 @@ ref | ||
const mergedProps = (0, import_react51.mergeProps)(inputProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(atlas.input, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ark.input, { | ||
...mergedProps, | ||
@@ -695,3 +695,3 @@ ref | ||
const mergedProps = (0, import_react53.mergeProps)(previewProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(atlas.span, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ark.span, { | ||
...mergedProps, | ||
@@ -710,3 +710,3 @@ ref | ||
const mergedProps = (0, import_react55.mergeProps)(submitButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -785,3 +785,3 @@ ref | ||
value: pinInput2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -801,3 +801,3 @@ ref | ||
const mergedProps = (0, import_react61.mergeProps)(decrementButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -816,3 +816,3 @@ ref | ||
const mergedProps = (0, import_react63.mergeProps)(inputProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(atlas.input, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ark.input, { | ||
...mergedProps, | ||
@@ -831,3 +831,3 @@ ref | ||
const mergedProps = (0, import_react65.mergeProps)(incrementButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -887,3 +887,3 @@ ref | ||
value: pagination2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(atlas.nav, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ark.nav, { | ||
...mergedProps, | ||
@@ -904,3 +904,3 @@ ref, | ||
const mergedProps = (0, import_react71.mergeProps)(getEllipsisProps({ index }), spanProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(atlas.span, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ark.span, { | ||
...mergedProps, | ||
@@ -919,3 +919,3 @@ ref | ||
const mergedProps = (0, import_react73.mergeProps)(getItemProps({ type: "page", value }), anchorProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(atlas.a, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ark.a, { | ||
href: `#${value}`, | ||
@@ -934,3 +934,3 @@ ...mergedProps, | ||
const mergedProps = (0, import_react75.mergeProps)(nextItemProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(atlas.a, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ark.a, { | ||
href: "#next", | ||
@@ -949,3 +949,3 @@ ...mergedProps, | ||
const mergedProps = (0, import_react77.mergeProps)(prevItemProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(atlas.a, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ark.a, { | ||
href: "#previous", | ||
@@ -1014,3 +1014,3 @@ ...mergedProps, | ||
value: pinInput2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1030,3 +1030,3 @@ ref | ||
const mergedProps = (0, import_react83.mergeProps)(getInputProps({ index }), inputProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(atlas.input, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ark.input, { | ||
...mergedProps, | ||
@@ -1075,3 +1075,3 @@ ref | ||
const mergedProps = (0, import_react87.mergeProps)(arrowProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1089,3 +1089,3 @@ ref | ||
const mergedProps = (0, import_react89.mergeProps)(closeButtonProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -1103,3 +1103,3 @@ ref | ||
const mergedProps = (0, import_react91.mergeProps)(contentProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1117,3 +1117,3 @@ ref | ||
const mergedProps = (0, import_react93.mergeProps)(descriptionProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1131,3 +1131,3 @@ ref | ||
const mergedProps = (0, import_react95.mergeProps)(innerArrowProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1145,3 +1145,3 @@ ref | ||
const mergedProps = (0, import_react97.mergeProps)(positionerProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1159,3 +1159,3 @@ ref | ||
const mergedProps = (0, import_react99.mergeProps)(titleProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1172,3 +1172,3 @@ ref | ||
const { triggerProps } = usePopoverContext(); | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(atlas.span, { | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ark.span, { | ||
...triggerProps, | ||
@@ -1214,3 +1214,3 @@ children | ||
const mergedProps = (0, import_react104.mergeProps)(pressableProps, divProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -1247,3 +1247,3 @@ ref | ||
value: { value, disabled, invalid, readonly }, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(atlas.label, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ark.label, { | ||
...mergedProps, | ||
@@ -1263,3 +1263,3 @@ ref | ||
const mergedProps = (0, import_react108.mergeProps)(getItemControlProps(context), props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1313,3 +1313,3 @@ ref | ||
value: radioGroup, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1328,3 +1328,3 @@ ref | ||
const mergedProps = (0, import_react114.mergeProps)(labelProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(atlas.label, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ark.label, { | ||
...mergedProps, | ||
@@ -1343,3 +1343,3 @@ ref | ||
const mergedProps = (0, import_react116.mergeProps)(getItemInputProps(context), props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(atlas.input, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ark.input, { | ||
...mergedProps, | ||
@@ -1358,3 +1358,3 @@ ref | ||
const mergedProps = (0, import_react118.mergeProps)(getItemLabelProps(context), props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(atlas.span, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ark.span, { | ||
...mergedProps, | ||
@@ -1419,7 +1419,7 @@ ref | ||
value: rating2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(ark.div, { | ||
...mergedProps, | ||
children: [ | ||
props.children, | ||
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(atlas.input, { | ||
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ark.input, { | ||
...rating2.inputProps, | ||
@@ -1442,3 +1442,3 @@ ref | ||
const mergedProps = (0, import_react124.mergeProps)(api.itemGroupProps, divProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1469,3 +1469,3 @@ ref, | ||
const mergedProps = (0, import_react126.mergeProps)(getItemProps({ index }), divProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(atlas.span, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ark.span, { | ||
...mergedProps, | ||
@@ -1487,3 +1487,3 @@ ref, | ||
const mergedProps = (0, import_react128.mergeProps)(labelProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(atlas.label, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ark.label, { | ||
...mergedProps, | ||
@@ -1511,3 +1511,3 @@ ref | ||
const mergedProps = (0, import_react130.mergeProps)(getTriggerProps(tabProps), buttonProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(atlas.button, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ark.button, { | ||
...mergedProps, | ||
@@ -1525,3 +1525,3 @@ ref | ||
const mergedProps = (0, import_react132.mergeProps)(indicatorProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1539,3 +1539,3 @@ ref | ||
const mergedProps = (0, import_react134.mergeProps)(triggerGroupProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1554,3 +1554,3 @@ ref | ||
const mergedProps = (0, import_react136.mergeProps)(getContentProps(tabContentProps), divProps); | ||
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1568,3 +1568,3 @@ ref | ||
const mergedProps = (0, import_react138.mergeProps)(contentGroupProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1610,3 +1610,3 @@ ref | ||
value: tabs2, | ||
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(atlas.div, { | ||
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1656,3 +1656,3 @@ ref | ||
const mergedProps = (0, import_react146.mergeProps)(arrowProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1670,3 +1670,3 @@ ref | ||
const mergedProps = (0, import_react148.mergeProps)(contentProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1684,3 +1684,3 @@ ref | ||
const mergedProps = (0, import_react150.mergeProps)(innerArrowProps, props); | ||
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(atlas.div, { | ||
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1698,3 +1698,3 @@ ref | ||
const mergedProps = (0, import_react152.mergeProps)(positionerProps, props); | ||
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(atlas.div, { | ||
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ark.div, { | ||
...mergedProps, | ||
@@ -1711,3 +1711,3 @@ ref | ||
const { triggerProps } = useTooltipContext(); | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(atlas.span, { | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ark.span, { | ||
...triggerProps, | ||
@@ -1714,0 +1714,0 @@ children |
@@ -23,3 +23,3 @@ import * as _polymorphic_factory_react from '@polymorphic-factory/react'; | ||
declare type HTMLAtlasProps<T extends ElementType> = HTMLPolymorphicProps<T>; | ||
declare type HTMLArkProps<T extends ElementType> = HTMLPolymorphicProps<T>; | ||
@@ -62,9 +62,9 @@ /** | ||
declare type AccordionProps = Assign<HTMLAtlasProps<'div'>, UseAccordionProps>; | ||
declare type AccordionProps = Assign<HTMLArkProps<'div'>, UseAccordionProps>; | ||
declare const Accordion: _polymorphic_factory_react.ComponentWithAs<"div", AccordionProps>; | ||
declare type AccordionButtonProps = HTMLAtlasProps<'button'>; | ||
declare type AccordionButtonProps = HTMLArkProps<'button'>; | ||
declare const AccordionButton: _polymorphic_factory_react.ComponentWithAs<"button", AccordionButtonProps>; | ||
declare type AccordionIconProps = HTMLAtlasProps<'div'>; | ||
declare type AccordionIconProps = HTMLArkProps<'div'>; | ||
declare const AccordionIcon: _polymorphic_factory_react.ComponentWithAs<"div", AccordionIconProps>; | ||
@@ -74,3 +74,3 @@ | ||
declare type AccordionItemProps = HTMLAtlasProps<'div'> & { | ||
declare type AccordionItemProps = HTMLArkProps<'div'> & { | ||
value: string; | ||
@@ -88,3 +88,3 @@ disabled?: boolean; | ||
declare type AccordionPanelProps = HTMLAtlasProps<'div'>; | ||
declare type AccordionPanelProps = HTMLArkProps<'div'>; | ||
declare const AccordionPanel: _polymorphic_factory_react.ComponentWithAs<"div", AccordionPanelProps>; | ||
@@ -111,12 +111,12 @@ | ||
declare type CheckboxProps = Assign<HTMLAtlasProps<'label'>, UseCheckboxProps>; | ||
declare type CheckboxProps = Assign<HTMLArkProps<'label'>, UseCheckboxProps>; | ||
declare const Checkbox: _polymorphic_factory_react.ComponentWithAs<"label", CheckboxProps>; | ||
declare type CheckboxControlProps = HTMLAtlasProps<'div'>; | ||
declare type CheckboxControlProps = HTMLArkProps<'div'>; | ||
declare const CheckboxControl: _polymorphic_factory_react.ComponentWithAs<"div", CheckboxControlProps>; | ||
declare type CheckboxInputProps = HTMLAtlasProps<'input'>; | ||
declare type CheckboxInputProps = HTMLArkProps<'input'>; | ||
declare const CheckboxInput: _polymorphic_factory_react.ComponentWithAs<"input", CheckboxInputProps>; | ||
declare type CheckboxLabelProps = HTMLAtlasProps<'label'>; | ||
declare type CheckboxLabelProps = HTMLArkProps<'label'>; | ||
declare const CheckboxLabel: _polymorphic_factory_react.ComponentWithAs<"label", CheckboxLabelProps>; | ||
@@ -129,12 +129,12 @@ | ||
declare type DialogBackdropProps = HTMLAtlasProps<'div'>; | ||
declare type DialogBackdropProps = HTMLArkProps<'div'>; | ||
declare const DialogBackdrop: _polymorphic_factory_react.ComponentWithAs<"div", DialogBackdropProps>; | ||
declare type DialogCloseButtonProps = HTMLAtlasProps<'button'>; | ||
declare type DialogCloseButtonProps = HTMLArkProps<'button'>; | ||
declare const DialogCloseButton: _polymorphic_factory_react.ComponentWithAs<"button", DialogCloseButtonProps>; | ||
declare type DialogContentProps = HTMLAtlasProps<'div'>; | ||
declare type DialogContentProps = HTMLArkProps<'div'>; | ||
declare const DialogContent: _polymorphic_factory_react.ComponentWithAs<"div", DialogContentProps>; | ||
declare type DialogDescriptionProps = HTMLAtlasProps<'p'>; | ||
declare type DialogDescriptionProps = HTMLArkProps<'p'>; | ||
declare const DialogDescription: _polymorphic_factory_react.ComponentWithAs<"p", DialogDescriptionProps>; | ||
@@ -145,3 +145,3 @@ | ||
declare type DialogTitleProps = HTMLAtlasProps<'h2'>; | ||
declare type DialogTitleProps = HTMLArkProps<'h2'>; | ||
declare const DialogTitle: _polymorphic_factory_react.ComponentWithAs<"h2", DialogTitleProps>; | ||
@@ -154,3 +154,3 @@ | ||
declare type DialogUnderlayProps = HTMLAtlasProps<'div'>; | ||
declare type DialogUnderlayProps = HTMLArkProps<'div'>; | ||
declare const DialogUnderlay: _polymorphic_factory_react.ComponentWithAs<"div", DialogUnderlayProps>; | ||
@@ -182,9 +182,9 @@ | ||
declare type EditableProps = Assign<HTMLAtlasProps<'div'>, UseEditableProps>; | ||
declare type EditableProps = Assign<HTMLArkProps<'div'>, UseEditableProps>; | ||
declare const Editable: _polymorphic_factory_react.ComponentWithAs<"div", EditableProps>; | ||
declare type EditableAreaProps = HTMLAtlasProps<'div'>; | ||
declare type EditableAreaProps = HTMLArkProps<'div'>; | ||
declare const EditableArea: _polymorphic_factory_react.ComponentWithAs<"div", EditableAreaProps>; | ||
declare type EditableCancelButtonProps = HTMLAtlasProps<'button'>; | ||
declare type EditableCancelButtonProps = HTMLArkProps<'button'>; | ||
declare const EditableCancelButton: _polymorphic_factory_react.ComponentWithAs<"button", EditableCancelButtonProps>; | ||
@@ -194,3 +194,3 @@ | ||
declare type EditableControlsProps = Omit<HTMLAtlasProps<'div'>, 'children'> & { | ||
declare type EditableControlsProps = Omit<HTMLArkProps<'div'>, 'children'> & { | ||
children: (context: EditableContext) => ReactNode; | ||
@@ -200,12 +200,12 @@ }; | ||
declare type EditableEditButtonProps = HTMLAtlasProps<'button'>; | ||
declare type EditableEditButtonProps = HTMLArkProps<'button'>; | ||
declare const EditableEditButton: _polymorphic_factory_react.ComponentWithAs<"button", EditableEditButtonProps>; | ||
declare type EditableInputProps = HTMLAtlasProps<'input'>; | ||
declare type EditableInputProps = HTMLArkProps<'input'>; | ||
declare const EditableInput: _polymorphic_factory_react.ComponentWithAs<"input", EditableInputProps>; | ||
declare type EditablePreviewProps = HTMLAtlasProps<'span'>; | ||
declare type EditablePreviewProps = HTMLArkProps<'span'>; | ||
declare const EditablePreview: _polymorphic_factory_react.ComponentWithAs<"span", EditablePreviewProps>; | ||
declare type EditableSubmitButtonProps = HTMLAtlasProps<'button'>; | ||
declare type EditableSubmitButtonProps = HTMLArkProps<'button'>; | ||
declare const EditableSubmitButton: _polymorphic_factory_react.ComponentWithAs<"button", EditableSubmitButtonProps>; | ||
@@ -217,12 +217,12 @@ | ||
declare type NumberInputProps = Assign<HTMLAtlasProps<'div'>, UseNumberInputProps>; | ||
declare type NumberInputProps = Assign<HTMLArkProps<'div'>, UseNumberInputProps>; | ||
declare const NumberInput: _polymorphic_factory_react.ComponentWithAs<"div", NumberInputProps>; | ||
declare type NumberInputDecrementButtonProps = HTMLAtlasProps<'button'>; | ||
declare type NumberInputDecrementButtonProps = HTMLArkProps<'button'>; | ||
declare const NumberInputDecrementButton: _polymorphic_factory_react.ComponentWithAs<"button", NumberInputDecrementButtonProps>; | ||
declare type NumberInputFieldProps = HTMLAtlasProps<'input'>; | ||
declare type NumberInputFieldProps = HTMLArkProps<'input'>; | ||
declare const NumberInputField: _polymorphic_factory_react.ComponentWithAs<"input", NumberInputFieldProps>; | ||
declare type NumberInputIncrementButtonProps = HTMLAtlasProps<'button'>; | ||
declare type NumberInputIncrementButtonProps = HTMLArkProps<'button'>; | ||
declare const NumberInputIncrementButton: _polymorphic_factory_react.ComponentWithAs<"button", NumberInputIncrementButtonProps>; | ||
@@ -264,3 +264,3 @@ | ||
declare type PaginationProps = Assign<Assign<HTMLAtlasProps<'nav'>, UsePaginationProps>, { | ||
declare type PaginationProps = Assign<Assign<HTMLArkProps<'nav'>, UsePaginationProps>, { | ||
children: ReactNode | ((pages: UsePaginationReturn) => ReactNode); | ||
@@ -334,3 +334,3 @@ }>; | ||
declare type PaginationEllipsisProps = Assign<HTMLAtlasProps<'span'>, { | ||
declare type PaginationEllipsisProps = Assign<HTMLArkProps<'span'>, { | ||
index: number; | ||
@@ -340,3 +340,3 @@ }>; | ||
declare type PaginationItemProps = Assign<HTMLAtlasProps<'a'>, { | ||
declare type PaginationItemProps = Assign<HTMLArkProps<'a'>, { | ||
value: number; | ||
@@ -346,6 +346,6 @@ }>; | ||
declare type PaginationNextItemProps = HTMLAtlasProps<'a'>; | ||
declare type PaginationNextItemProps = HTMLArkProps<'a'>; | ||
declare const PaginationNextItem: _polymorphic_factory_react.ComponentWithAs<"a", PaginationNextItemProps>; | ||
declare type PaginationPrevItemProps = HTMLAtlasProps<'a'>; | ||
declare type PaginationPrevItemProps = HTMLArkProps<'a'>; | ||
declare const PaginationPrevItem: _polymorphic_factory_react.ComponentWithAs<"a", PaginationPrevItemProps>; | ||
@@ -373,3 +373,3 @@ | ||
declare type PinInputProps = Assign<HTMLAtlasProps<'div'>, UsePinInputProps>; | ||
declare type PinInputProps = Assign<HTMLArkProps<'div'>, UsePinInputProps>; | ||
declare const PinInput: _polymorphic_factory_react.ComponentWithAs<"div", PinInputProps>; | ||
@@ -379,3 +379,3 @@ | ||
index: number; | ||
} & HTMLAtlasProps<'input'>; | ||
} & HTMLArkProps<'input'>; | ||
declare const PinInputField: _polymorphic_factory_react.ComponentWithAs<"input", PinInputFieldProps>; | ||
@@ -404,21 +404,21 @@ | ||
declare type PopoverArrowProps = HTMLAtlasProps<'div'>; | ||
declare type PopoverArrowProps = HTMLArkProps<'div'>; | ||
declare const PopoverArrow: _polymorphic_factory_react.ComponentWithAs<"div", PopoverArrowProps>; | ||
declare type PopoverCloseButtonProps = HTMLAtlasProps<'button'>; | ||
declare type PopoverCloseButtonProps = HTMLArkProps<'button'>; | ||
declare const PopoverCloseButton: _polymorphic_factory_react.ComponentWithAs<"button", PopoverCloseButtonProps>; | ||
declare type PopoverContentProps = HTMLAtlasProps<'div'>; | ||
declare type PopoverContentProps = HTMLArkProps<'div'>; | ||
declare const PopoverContent: _polymorphic_factory_react.ComponentWithAs<"div", PopoverContentProps>; | ||
declare type PopoverDescriptionProps = HTMLAtlasProps<'div'>; | ||
declare type PopoverDescriptionProps = HTMLArkProps<'div'>; | ||
declare const PopoverDescription: _polymorphic_factory_react.ComponentWithAs<"div", PopoverDescriptionProps>; | ||
declare type PopoverInnerArrowProps = HTMLAtlasProps<'div'>; | ||
declare type PopoverInnerArrowProps = HTMLArkProps<'div'>; | ||
declare const PopoverInnerArrow: _polymorphic_factory_react.ComponentWithAs<"div", PopoverInnerArrowProps>; | ||
declare type PopoverPositionerProps = HTMLAtlasProps<'div'>; | ||
declare type PopoverPositionerProps = HTMLArkProps<'div'>; | ||
declare const PopoverPositioner: _polymorphic_factory_react.ComponentWithAs<"div", PopoverPositionerProps>; | ||
declare type PopoverTitleProps = HTMLAtlasProps<'div'>; | ||
declare type PopoverTitleProps = HTMLArkProps<'div'>; | ||
declare const PopoverTitle: _polymorphic_factory_react.ComponentWithAs<"div", PopoverTitleProps>; | ||
@@ -438,3 +438,3 @@ | ||
declare type PressableProps = Assign<HTMLAtlasProps<'button'>, UsePressableProps>; | ||
declare type PressableProps = Assign<HTMLArkProps<'button'>, UsePressableProps>; | ||
declare const Pressable: _polymorphic_factory_react.ComponentWithAs<"button", PressableProps>; | ||
@@ -444,6 +444,6 @@ | ||
declare type RadioProps = Omit<HTMLAtlasProps<'label'>, keyof RadioContext> & RadioContext; | ||
declare type RadioProps = Omit<HTMLArkProps<'label'>, keyof RadioContext> & RadioContext; | ||
declare const Radio: _polymorphic_factory_react.ComponentWithAs<"label", RadioProps>; | ||
declare type RadioControlProps = HTMLAtlasProps<'div'>; | ||
declare type RadioControlProps = HTMLArkProps<'div'>; | ||
declare const RadioControl: _polymorphic_factory_react.ComponentWithAs<"div", RadioControlProps>; | ||
@@ -491,12 +491,12 @@ | ||
declare type RadioGroupProps = Assign<HTMLAtlasProps<'div'>, UseRadioGroupProps>; | ||
declare type RadioGroupProps = Assign<HTMLArkProps<'div'>, UseRadioGroupProps>; | ||
declare const RadioGroup: _polymorphic_factory_react.ComponentWithAs<"div", UseRadioGroupProps>; | ||
declare type RadioGroupLabelProps = HTMLAtlasProps<'label'>; | ||
declare type RadioGroupLabelProps = HTMLArkProps<'label'>; | ||
declare const RadioGroupLabel: _polymorphic_factory_react.ComponentWithAs<"label", RadioGroupLabelProps>; | ||
declare type RadioInputProps = HTMLAtlasProps<'input'>; | ||
declare type RadioInputProps = HTMLArkProps<'input'>; | ||
declare const RadioInput: _polymorphic_factory_react.ComponentWithAs<"input", RadioInputProps>; | ||
declare type RadioLabelProps = HTMLAtlasProps<'span'>; | ||
declare type RadioLabelProps = HTMLArkProps<'span'>; | ||
declare const RadioLabel: _polymorphic_factory_react.ComponentWithAs<"span", RadioLabelProps>; | ||
@@ -530,3 +530,3 @@ | ||
declare type RatingProps = Assign<HTMLAtlasProps<'input'>, UseRatingProps>; | ||
declare type RatingProps = Assign<HTMLArkProps<'input'>, UseRatingProps>; | ||
declare const Rating: _polymorphic_factory_react.ComponentWithAs<"input", RatingProps>; | ||
@@ -536,3 +536,3 @@ | ||
declare type RatingGroupProps = Omit<HTMLAtlasProps<'div'>, 'children'> & { | ||
declare type RatingGroupProps = Omit<HTMLArkProps<'div'>, 'children'> & { | ||
children: ReactNode | ((context: RatingContext) => ReactNode); | ||
@@ -546,3 +546,3 @@ renderIcon?: never; | ||
declare type RenderIconFn = (state: RatingItemContext) => ReactNode; | ||
declare type RatingItemProps = Omit<HTMLAtlasProps<'span'>, 'children'> & { | ||
declare type RatingItemProps = Omit<HTMLArkProps<'span'>, 'children'> & { | ||
index: number; | ||
@@ -553,18 +553,18 @@ children: ReactNode | RenderIconFn; | ||
declare type RatingLabelProps = HTMLAtlasProps<'label'>; | ||
declare type RatingLabelProps = HTMLArkProps<'label'>; | ||
declare const RatingLabel: _polymorphic_factory_react.ComponentWithAs<"label", RatingLabelProps>; | ||
declare type TabProps = Assign<HTMLAtlasProps<'button'>, Parameters<ReturnType<typeof connect$2>['getTriggerProps']>[0]>; | ||
declare type TabProps = Assign<HTMLArkProps<'button'>, Parameters<ReturnType<typeof connect$2>['getTriggerProps']>[0]>; | ||
declare const Tab: _polymorphic_factory_react.ComponentWithAs<"button", TabProps>; | ||
declare type TabIndicatorProps = HTMLAtlasProps<'div'>; | ||
declare type TabIndicatorProps = HTMLArkProps<'div'>; | ||
declare const TabIndicator: _polymorphic_factory_react.ComponentWithAs<"div", TabIndicatorProps>; | ||
declare type TabListProps = HTMLAtlasProps<'div'>; | ||
declare type TabListProps = HTMLArkProps<'div'>; | ||
declare const TabList: _polymorphic_factory_react.ComponentWithAs<"div", TabListProps>; | ||
declare type TabPanelProps = Assign<HTMLAtlasProps<'div'>, Parameters<ReturnType<typeof connect$2>['getContentProps']>[0]>; | ||
declare type TabPanelProps = Assign<HTMLArkProps<'div'>, Parameters<ReturnType<typeof connect$2>['getContentProps']>[0]>; | ||
declare const TabPanel: _polymorphic_factory_react.ComponentWithAs<"div", TabPanelProps>; | ||
declare type TabPanelsProps = HTMLAtlasProps<'div'>; | ||
declare type TabPanelsProps = HTMLArkProps<'div'>; | ||
declare const TabPanels: _polymorphic_factory_react.ComponentWithAs<"div", TabPanelsProps>; | ||
@@ -596,3 +596,3 @@ | ||
declare type TabsProps = Assign<HTMLAtlasProps<'div'>, UseTabsProps>; | ||
declare type TabsProps = Assign<HTMLArkProps<'div'>, UseTabsProps>; | ||
declare const Tabs: _polymorphic_factory_react.ComponentWithAs<"div", TabsProps>; | ||
@@ -622,12 +622,12 @@ | ||
declare type TooltipArrowProps = HTMLAtlasProps<'div'>; | ||
declare type TooltipArrowProps = HTMLArkProps<'div'>; | ||
declare const TooltipArrow: _polymorphic_factory_react.ComponentWithAs<"div", TooltipArrowProps>; | ||
declare type TooltipContentProps = HTMLAtlasProps<'div'>; | ||
declare type TooltipContentProps = HTMLArkProps<'div'>; | ||
declare const TooltipContent: _polymorphic_factory_react.ComponentWithAs<"div", TooltipContentProps>; | ||
declare type TooltipInnerArrowProps = HTMLAtlasProps<'div'>; | ||
declare type TooltipInnerArrowProps = HTMLArkProps<'div'>; | ||
declare const TooltipInnerArrow: _polymorphic_factory_react.ComponentWithAs<"div", TooltipInnerArrowProps>; | ||
declare type TooltipPositionerProps = HTMLAtlasProps<'div'>; | ||
declare type TooltipPositionerProps = HTMLArkProps<'div'>; | ||
declare const TooltipPositioner: _polymorphic_factory_react.ComponentWithAs<"div", TooltipPositionerProps>; | ||
@@ -634,0 +634,0 @@ |
@@ -7,3 +7,3 @@ // src/accordion/accordion.tsx | ||
import { polymorphicFactory } from "@polymorphic-factory/react"; | ||
var atlas = polymorphicFactory(); | ||
var ark = polymorphicFactory(); | ||
@@ -109,3 +109,3 @@ // src/split-props.ts | ||
value: accordion2, | ||
children: /* @__PURE__ */ jsx(atlas.div, { | ||
children: /* @__PURE__ */ jsx(ark.div, { | ||
...mergedProps, | ||
@@ -136,3 +136,3 @@ ref | ||
const mergedProps = mergeProps2(getTriggerProps(context), props); | ||
return /* @__PURE__ */ jsx2(atlas.button, { | ||
return /* @__PURE__ */ jsx2(ark.button, { | ||
...mergedProps, | ||
@@ -147,3 +147,3 @@ ref | ||
var AccordionIcon = forwardRef3((props, ref) => { | ||
return /* @__PURE__ */ jsx3(atlas.div, { | ||
return /* @__PURE__ */ jsx3(ark.div, { | ||
...props, | ||
@@ -165,3 +165,3 @@ ref | ||
value: { value, disabled, ...itemState }, | ||
children: /* @__PURE__ */ jsx4(atlas.div, { | ||
children: /* @__PURE__ */ jsx4(ark.div, { | ||
...mergedProps, | ||
@@ -182,3 +182,3 @@ ref, | ||
const mergedProps = mergeProps4(getContentProps(context), props); | ||
return /* @__PURE__ */ jsx5(atlas.div, { | ||
return /* @__PURE__ */ jsx5(ark.div, { | ||
...mergedProps, | ||
@@ -245,3 +245,3 @@ ref | ||
value: checkbox2, | ||
children: /* @__PURE__ */ jsx6(atlas.label, { | ||
children: /* @__PURE__ */ jsx6(ark.label, { | ||
...mergedProps, | ||
@@ -260,3 +260,3 @@ ref | ||
const mergedProps = mergeProps6(controlProps, props); | ||
return /* @__PURE__ */ jsx7(atlas.div, { | ||
return /* @__PURE__ */ jsx7(ark.div, { | ||
...mergedProps, | ||
@@ -274,3 +274,3 @@ ref | ||
const mergedProps = mergeProps7(inputProps, props); | ||
return /* @__PURE__ */ jsx8(atlas.input, { | ||
return /* @__PURE__ */ jsx8(ark.input, { | ||
...mergedProps, | ||
@@ -288,3 +288,3 @@ ref | ||
const mergedProps = mergeProps8(labelProps, props); | ||
return /* @__PURE__ */ jsx9(atlas.label, { | ||
return /* @__PURE__ */ jsx9(ark.label, { | ||
...mergedProps, | ||
@@ -333,3 +333,3 @@ ref | ||
const mergedProps = mergeProps9(backdropProps, props); | ||
return /* @__PURE__ */ jsx11(atlas.div, { | ||
return /* @__PURE__ */ jsx11(ark.div, { | ||
...mergedProps, | ||
@@ -347,3 +347,3 @@ ref | ||
const mergedProps = mergeProps10(closeButtonProps, props); | ||
return /* @__PURE__ */ jsx12(atlas.button, { | ||
return /* @__PURE__ */ jsx12(ark.button, { | ||
...mergedProps, | ||
@@ -361,3 +361,3 @@ ref | ||
const mergedProps = mergeProps11(contentProps, props); | ||
return /* @__PURE__ */ jsx13(atlas.div, { | ||
return /* @__PURE__ */ jsx13(ark.div, { | ||
...mergedProps, | ||
@@ -375,3 +375,3 @@ ref | ||
const mergedProps = mergeProps12(descriptionProps, props); | ||
return /* @__PURE__ */ jsx14(atlas.p, { | ||
return /* @__PURE__ */ jsx14(ark.p, { | ||
...mergedProps, | ||
@@ -388,3 +388,3 @@ ref | ||
return isOpen ? /* @__PURE__ */ jsx15(Portal, { | ||
type: "atlas-portal", | ||
type: "ark-portal", | ||
...props | ||
@@ -401,3 +401,3 @@ }) : null; | ||
const mergedProps = mergeProps13(titleProps, props); | ||
return /* @__PURE__ */ jsx16(atlas.h2, { | ||
return /* @__PURE__ */ jsx16(ark.h2, { | ||
...mergedProps, | ||
@@ -414,3 +414,3 @@ ref | ||
const { triggerProps } = useDialogContext(); | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx17(atlas.span, { | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx17(ark.span, { | ||
...triggerProps, | ||
@@ -428,3 +428,3 @@ children | ||
const mergedProps = mergeProps14(underlayProps, props); | ||
return /* @__PURE__ */ jsx18(atlas.div, { | ||
return /* @__PURE__ */ jsx18(ark.div, { | ||
...mergedProps, | ||
@@ -494,3 +494,3 @@ ref | ||
value: editable2, | ||
children: /* @__PURE__ */ jsx19(atlas.div, { | ||
children: /* @__PURE__ */ jsx19(ark.div, { | ||
...mergedProps, | ||
@@ -509,3 +509,3 @@ ref | ||
const mergedProps = mergeProps16(areaProps, props); | ||
return /* @__PURE__ */ jsx20(atlas.div, { | ||
return /* @__PURE__ */ jsx20(ark.div, { | ||
...mergedProps, | ||
@@ -524,3 +524,3 @@ ref | ||
const mergedProps = mergeProps17(cancelButtonProps, props); | ||
return /* @__PURE__ */ jsx21(atlas.button, { | ||
return /* @__PURE__ */ jsx21(ark.button, { | ||
...mergedProps, | ||
@@ -538,3 +538,3 @@ ref | ||
const api = useEditableContext(); | ||
return /* @__PURE__ */ jsx22(atlas.div, { | ||
return /* @__PURE__ */ jsx22(ark.div, { | ||
...divProps, | ||
@@ -553,3 +553,3 @@ ref, | ||
const mergedProps = mergeProps18(editButtonProps, props); | ||
return /* @__PURE__ */ jsx23(atlas.button, { | ||
return /* @__PURE__ */ jsx23(ark.button, { | ||
...mergedProps, | ||
@@ -567,3 +567,3 @@ ref | ||
const mergedProps = mergeProps19(inputProps, props); | ||
return /* @__PURE__ */ jsx24(atlas.input, { | ||
return /* @__PURE__ */ jsx24(ark.input, { | ||
...mergedProps, | ||
@@ -581,3 +581,3 @@ ref | ||
const mergedProps = mergeProps20(previewProps, props); | ||
return /* @__PURE__ */ jsx25(atlas.span, { | ||
return /* @__PURE__ */ jsx25(ark.span, { | ||
...mergedProps, | ||
@@ -596,3 +596,3 @@ ref | ||
const mergedProps = mergeProps21(submitButtonProps, props); | ||
return /* @__PURE__ */ jsx26(atlas.button, { | ||
return /* @__PURE__ */ jsx26(ark.button, { | ||
...mergedProps, | ||
@@ -671,3 +671,3 @@ ref | ||
value: pinInput2, | ||
children: /* @__PURE__ */ jsx27(atlas.div, { | ||
children: /* @__PURE__ */ jsx27(ark.div, { | ||
...mergedProps, | ||
@@ -687,3 +687,3 @@ ref | ||
const mergedProps = mergeProps23(decrementButtonProps, props); | ||
return /* @__PURE__ */ jsx28(atlas.button, { | ||
return /* @__PURE__ */ jsx28(ark.button, { | ||
...mergedProps, | ||
@@ -702,3 +702,3 @@ ref | ||
const mergedProps = mergeProps24(inputProps, props); | ||
return /* @__PURE__ */ jsx29(atlas.input, { | ||
return /* @__PURE__ */ jsx29(ark.input, { | ||
...mergedProps, | ||
@@ -717,3 +717,3 @@ ref | ||
const mergedProps = mergeProps25(incrementButtonProps, props); | ||
return /* @__PURE__ */ jsx30(atlas.button, { | ||
return /* @__PURE__ */ jsx30(ark.button, { | ||
...mergedProps, | ||
@@ -773,3 +773,3 @@ ref | ||
value: pagination2, | ||
children: /* @__PURE__ */ jsx31(atlas.nav, { | ||
children: /* @__PURE__ */ jsx31(ark.nav, { | ||
...mergedProps, | ||
@@ -790,3 +790,3 @@ ref, | ||
const mergedProps = mergeProps27(getEllipsisProps({ index }), spanProps); | ||
return /* @__PURE__ */ jsx32(atlas.span, { | ||
return /* @__PURE__ */ jsx32(ark.span, { | ||
...mergedProps, | ||
@@ -805,3 +805,3 @@ ref | ||
const mergedProps = mergeProps28(getItemProps({ type: "page", value }), anchorProps); | ||
return /* @__PURE__ */ jsx33(atlas.a, { | ||
return /* @__PURE__ */ jsx33(ark.a, { | ||
href: `#${value}`, | ||
@@ -820,3 +820,3 @@ ...mergedProps, | ||
const mergedProps = mergeProps29(nextItemProps, props); | ||
return /* @__PURE__ */ jsx34(atlas.a, { | ||
return /* @__PURE__ */ jsx34(ark.a, { | ||
href: "#next", | ||
@@ -835,3 +835,3 @@ ...mergedProps, | ||
const mergedProps = mergeProps30(prevItemProps, props); | ||
return /* @__PURE__ */ jsx35(atlas.a, { | ||
return /* @__PURE__ */ jsx35(ark.a, { | ||
href: "#previous", | ||
@@ -900,3 +900,3 @@ ...mergedProps, | ||
value: pinInput2, | ||
children: /* @__PURE__ */ jsx36(atlas.div, { | ||
children: /* @__PURE__ */ jsx36(ark.div, { | ||
...mergedProps, | ||
@@ -916,3 +916,3 @@ ref | ||
const mergedProps = mergeProps32(getInputProps({ index }), inputProps); | ||
return /* @__PURE__ */ jsx37(atlas.input, { | ||
return /* @__PURE__ */ jsx37(ark.input, { | ||
...mergedProps, | ||
@@ -961,3 +961,3 @@ ref | ||
const mergedProps = mergeProps33(arrowProps, props); | ||
return /* @__PURE__ */ jsx39(atlas.div, { | ||
return /* @__PURE__ */ jsx39(ark.div, { | ||
...mergedProps, | ||
@@ -975,3 +975,3 @@ ref | ||
const mergedProps = mergeProps34(closeButtonProps, props); | ||
return /* @__PURE__ */ jsx40(atlas.button, { | ||
return /* @__PURE__ */ jsx40(ark.button, { | ||
...mergedProps, | ||
@@ -989,3 +989,3 @@ ref | ||
const mergedProps = mergeProps35(contentProps, props); | ||
return /* @__PURE__ */ jsx41(atlas.div, { | ||
return /* @__PURE__ */ jsx41(ark.div, { | ||
...mergedProps, | ||
@@ -1003,3 +1003,3 @@ ref | ||
const mergedProps = mergeProps36(descriptionProps, props); | ||
return /* @__PURE__ */ jsx42(atlas.div, { | ||
return /* @__PURE__ */ jsx42(ark.div, { | ||
...mergedProps, | ||
@@ -1017,3 +1017,3 @@ ref | ||
const mergedProps = mergeProps37(innerArrowProps, props); | ||
return /* @__PURE__ */ jsx43(atlas.div, { | ||
return /* @__PURE__ */ jsx43(ark.div, { | ||
...mergedProps, | ||
@@ -1031,3 +1031,3 @@ ref | ||
const mergedProps = mergeProps38(positionerProps, props); | ||
return /* @__PURE__ */ jsx44(atlas.div, { | ||
return /* @__PURE__ */ jsx44(ark.div, { | ||
...mergedProps, | ||
@@ -1045,3 +1045,3 @@ ref | ||
const mergedProps = mergeProps39(titleProps, props); | ||
return /* @__PURE__ */ jsx45(atlas.div, { | ||
return /* @__PURE__ */ jsx45(ark.div, { | ||
...mergedProps, | ||
@@ -1058,3 +1058,3 @@ ref | ||
const { triggerProps } = usePopoverContext(); | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx46(atlas.span, { | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx46(ark.span, { | ||
...triggerProps, | ||
@@ -1100,3 +1100,3 @@ children | ||
const mergedProps = mergeProps40(pressableProps, divProps); | ||
return /* @__PURE__ */ jsx47(atlas.button, { | ||
return /* @__PURE__ */ jsx47(ark.button, { | ||
...mergedProps, | ||
@@ -1133,3 +1133,3 @@ ref | ||
value: { value, disabled, invalid, readonly }, | ||
children: /* @__PURE__ */ jsx48(atlas.label, { | ||
children: /* @__PURE__ */ jsx48(ark.label, { | ||
...mergedProps, | ||
@@ -1149,3 +1149,3 @@ ref | ||
const mergedProps = mergeProps42(getItemControlProps(context), props); | ||
return /* @__PURE__ */ jsx49(atlas.div, { | ||
return /* @__PURE__ */ jsx49(ark.div, { | ||
...mergedProps, | ||
@@ -1199,3 +1199,3 @@ ref | ||
value: radioGroup, | ||
children: /* @__PURE__ */ jsx50(atlas.div, { | ||
children: /* @__PURE__ */ jsx50(ark.div, { | ||
...mergedProps, | ||
@@ -1214,3 +1214,3 @@ ref | ||
const mergedProps = mergeProps44(labelProps, props); | ||
return /* @__PURE__ */ jsx51(atlas.label, { | ||
return /* @__PURE__ */ jsx51(ark.label, { | ||
...mergedProps, | ||
@@ -1229,3 +1229,3 @@ ref | ||
const mergedProps = mergeProps45(getItemInputProps(context), props); | ||
return /* @__PURE__ */ jsx52(atlas.input, { | ||
return /* @__PURE__ */ jsx52(ark.input, { | ||
...mergedProps, | ||
@@ -1244,3 +1244,3 @@ ref | ||
const mergedProps = mergeProps46(getItemLabelProps(context), props); | ||
return /* @__PURE__ */ jsx53(atlas.span, { | ||
return /* @__PURE__ */ jsx53(ark.span, { | ||
...mergedProps, | ||
@@ -1305,7 +1305,7 @@ ref | ||
value: rating2, | ||
children: /* @__PURE__ */ jsxs(atlas.div, { | ||
children: /* @__PURE__ */ jsxs(ark.div, { | ||
...mergedProps, | ||
children: [ | ||
props.children, | ||
/* @__PURE__ */ jsx54(atlas.input, { | ||
/* @__PURE__ */ jsx54(ark.input, { | ||
...rating2.inputProps, | ||
@@ -1328,3 +1328,3 @@ ref | ||
const mergedProps = mergeProps48(api.itemGroupProps, divProps); | ||
return /* @__PURE__ */ jsx55(atlas.div, { | ||
return /* @__PURE__ */ jsx55(ark.div, { | ||
...mergedProps, | ||
@@ -1355,3 +1355,3 @@ ref, | ||
const mergedProps = mergeProps49(getItemProps({ index }), divProps); | ||
return /* @__PURE__ */ jsx56(atlas.span, { | ||
return /* @__PURE__ */ jsx56(ark.span, { | ||
...mergedProps, | ||
@@ -1373,3 +1373,3 @@ ref, | ||
const mergedProps = mergeProps50(labelProps, props); | ||
return /* @__PURE__ */ jsx57(atlas.label, { | ||
return /* @__PURE__ */ jsx57(ark.label, { | ||
...mergedProps, | ||
@@ -1397,3 +1397,3 @@ ref | ||
const mergedProps = mergeProps51(getTriggerProps(tabProps), buttonProps); | ||
return /* @__PURE__ */ jsx58(atlas.button, { | ||
return /* @__PURE__ */ jsx58(ark.button, { | ||
...mergedProps, | ||
@@ -1411,3 +1411,3 @@ ref | ||
const mergedProps = mergeProps52(indicatorProps, props); | ||
return /* @__PURE__ */ jsx59(atlas.div, { | ||
return /* @__PURE__ */ jsx59(ark.div, { | ||
...mergedProps, | ||
@@ -1425,3 +1425,3 @@ ref | ||
const mergedProps = mergeProps53(triggerGroupProps, props); | ||
return /* @__PURE__ */ jsx60(atlas.div, { | ||
return /* @__PURE__ */ jsx60(ark.div, { | ||
...mergedProps, | ||
@@ -1440,3 +1440,3 @@ ref | ||
const mergedProps = mergeProps54(getContentProps(tabContentProps), divProps); | ||
return /* @__PURE__ */ jsx61(atlas.div, { | ||
return /* @__PURE__ */ jsx61(ark.div, { | ||
...mergedProps, | ||
@@ -1454,3 +1454,3 @@ ref | ||
const mergedProps = mergeProps55(contentGroupProps, props); | ||
return /* @__PURE__ */ jsx62(atlas.div, { | ||
return /* @__PURE__ */ jsx62(ark.div, { | ||
...mergedProps, | ||
@@ -1496,3 +1496,3 @@ ref | ||
value: tabs2, | ||
children: /* @__PURE__ */ jsx63(atlas.div, { | ||
children: /* @__PURE__ */ jsx63(ark.div, { | ||
...mergedProps, | ||
@@ -1542,3 +1542,3 @@ ref | ||
const mergedProps = mergeProps57(arrowProps, props); | ||
return /* @__PURE__ */ jsx65(atlas.div, { | ||
return /* @__PURE__ */ jsx65(ark.div, { | ||
...mergedProps, | ||
@@ -1556,3 +1556,3 @@ ref | ||
const mergedProps = mergeProps58(contentProps, props); | ||
return /* @__PURE__ */ jsx66(atlas.div, { | ||
return /* @__PURE__ */ jsx66(ark.div, { | ||
...mergedProps, | ||
@@ -1570,3 +1570,3 @@ ref | ||
const mergedProps = mergeProps59(innerArrowProps, props); | ||
return /* @__PURE__ */ jsx67(atlas.div, { | ||
return /* @__PURE__ */ jsx67(ark.div, { | ||
...mergedProps, | ||
@@ -1584,3 +1584,3 @@ ref | ||
const mergedProps = mergeProps60(positionerProps, props); | ||
return isOpen ? /* @__PURE__ */ jsx68(atlas.div, { | ||
return isOpen ? /* @__PURE__ */ jsx68(ark.div, { | ||
...mergedProps, | ||
@@ -1597,3 +1597,3 @@ ref | ||
const { triggerProps } = useTooltipContext(); | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx69(atlas.span, { | ||
return typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx69(ark.span, { | ||
...triggerProps, | ||
@@ -1600,0 +1600,0 @@ children |
{ | ||
"name": "@ark-ui/react", | ||
"version": "0.0.0-rc-20221106094212", | ||
"version": "0.0.0-rc-20221106114650", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
140612