@arc-ui/components 12.1.0 → 13.0.0
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/lib/Alert/styles.css +1 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +3 -3
- package/lib/Banner/Banner.mjs +3 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +6 -6
- package/lib/Breadcrumbs/Breadcrumbs.mjs +6 -6
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +1 -1
- package/lib/Button/Button.mjs +1 -1
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +6 -3
- package/lib/ButtonGroup/ButtonGroup.mjs +6 -3
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +1 -1
- package/lib/ButtonV2/ButtonV2.mjs +1 -1
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +5 -5
- package/lib/Calendar/Calendar.mjs +5 -5
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/CardHeading.cjs +1 -1
- package/lib/CardHeading/CardHeading.mjs +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +1 -1
- package/lib/Carousel/Carousel.mjs +1 -1
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +7 -7
- package/lib/Checkbox/Checkbox.mjs +8 -8
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.cjs +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.mjs +1 -1
- package/lib/CheckboxIcon/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +13 -13
- package/lib/ComboBox/ComboBox.mjs +14 -14
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.mjs +4 -4
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +7 -7
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +7 -7
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +16 -16
- package/lib/DatePicker/DatePicker.mjs +17 -17
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +36 -28
- package/lib/Drawer/Drawer.mjs +36 -28
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +2 -2
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +2 -2
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +2 -2
- package/lib/GradientPageBackground/GradientPageBackground.mjs +2 -2
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +3 -3
- package/lib/HeroBanner/HeroBanner.mjs +3 -3
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +3 -3
- package/lib/HeroButton/HeroButton.mjs +4 -4
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +1 -1
- package/lib/HorizontalCard/HorizontalCard.mjs +1 -1
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +4 -4
- package/lib/ImpactCard/ImpactCard.mjs +4 -4
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +6 -6
- package/lib/InformationCard/InformationCard.mjs +6 -6
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +5 -5
- package/lib/MediaCard/MediaCard.mjs +5 -5
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +17 -16
- package/lib/Menu/Menu.mjs +17 -16
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +7 -7
- package/lib/Modal/Modal.mjs +7 -7
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +17 -17
- package/lib/NavigationHeader/NavigationHeader.mjs +18 -18
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/Popover.cjs +7 -7
- package/lib/Popover/Popover.mjs +7 -7
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/ProgressBar.cjs +2 -2
- package/lib/ProgressBar/ProgressBar.mjs +2 -2
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +1 -1
- package/lib/ProgressStepper/ProgressStepper.mjs +1 -1
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +4 -4
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +5 -5
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +6 -6
- package/lib/RadioCardGroup/RadioCardGroup.mjs +7 -7
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +6 -6
- package/lib/RadioGroup/RadioGroup.mjs +7 -7
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/Rule.cjs +1 -1
- package/lib/Rule/Rule.mjs +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +1 -1
- package/lib/ScrollToTop/ScrollToTop.mjs +1 -1
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +6 -6
- package/lib/Select/Select.mjs +6 -6
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticHeading/styles.css +1 -1
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.mjs +1 -1
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +9 -6
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +9 -6
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/SkipLink.cjs +2 -2
- package/lib/SkipLink/SkipLink.mjs +3 -3
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.mjs +1 -1
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +9 -9
- package/lib/TabbedBanner/TabbedBanner.mjs +12 -12
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.mjs +3 -3
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +1 -1
- package/lib/TemplateBanner/TemplateBanner.mjs +1 -1
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +3 -3
- package/lib/TextArea/TextArea.mjs +4 -4
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +4 -4
- package/lib/TextInput/TextInput.mjs +4 -4
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +1 -1
- package/lib/Theme/Theme.mjs +1 -1
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +1 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/Toast.mjs +2 -2
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +3 -3
- package/lib/Tooltip/Tooltip.mjs +3 -3
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +4 -4
- package/lib/TypographyCard/TypographyCard.mjs +4 -4
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +3 -3
- package/lib/VideoPlayer/VideoPlayer.mjs +3 -3
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Button-BN4jUsg5.cjs → Button-CrevzrTg.cjs} +3 -3
- package/lib/_shared/cjs/{ButtonV2-bUu36xW8.cjs → ButtonV2-CxyploaQ.cjs} +3 -3
- package/lib/_shared/cjs/{Calendar-D_jZ0cgf.cjs → Calendar-CdLn9iv6.cjs} +6 -6
- package/lib/_shared/cjs/{CardHeading-lGy1u6eD.cjs → CardHeading-C84m67_F.cjs} +2 -2
- package/lib/_shared/cjs/{CheckboxIcon-BTkdXfpp.cjs → CheckboxIcon-BzY1S_ud.cjs} +6 -5
- package/lib/_shared/cjs/{Combination-6m6aOXZq.cjs → Combination-Cm62lfyr.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherDropdown-BLXyhXVS.cjs → ContentSwitcherDropdown-6IGRpV54.cjs} +2 -2
- package/lib/_shared/cjs/{ContentSwitcherList-DgychllS.cjs → ContentSwitcherList-Di7RS8ue.cjs} +20 -9
- package/lib/_shared/cjs/{Popover-CYcqjefw.cjs → Popover-BtvRErpC.cjs} +7 -4
- package/lib/_shared/cjs/{ProgressStepper-mTgKZYEl.cjs → ProgressStepper-Cs6vX7Th.cjs} +3 -3
- package/lib/_shared/cjs/{Rule-jmvOpci7.cjs → Rule-essaguo_.cjs} +2 -2
- package/lib/_shared/cjs/{TemplateBanner-CzDAL0lq.cjs → TemplateBanner-DyXBKuMw.cjs} +2 -2
- package/lib/_shared/cjs/{TextInput-BHzuoI7E.cjs → TextInput-C_K2PLf5.cjs} +6 -6
- package/lib/_shared/cjs/{Tooltip-CEb7YEP2.cjs → Tooltip-CdmWvrnr.cjs} +2 -2
- package/lib/_shared/cjs/{arc-breakpoints-DFPoWNR4.cjs → arc-breakpoints-uADxN-b4.cjs} +1 -1
- package/lib/_shared/cjs/{index-BGGFOAAx.cjs → index-BBDa9gnQ.cjs} +2 -2
- package/lib/_shared/cjs/{index-D9onmVh5.cjs → index-BDUrOKEW.cjs} +3 -3
- package/lib/_shared/cjs/{index-CklPiHsS.cjs → index-B_WZUATb.cjs} +2 -2
- package/lib/_shared/cjs/{index-B11wQrRa.cjs → index-BdJeAKfz.cjs} +1 -1
- package/lib/_shared/cjs/{index-CDVpHNP8.cjs → index-Dgn0408w.cjs} +4 -4
- package/lib/_shared/cjs/{index-DXNM3D1d.cjs → index-DlWZZNwu.cjs} +2 -2
- package/lib/_shared/cjs/{index-BWfgSvRQ.cjs → index-DsqYRMfM.cjs} +4 -4
- package/lib/_shared/cjs/{index-KrMgv4q_.cjs → index-WO7l1Mfx.cjs} +3 -3
- package/lib/_shared/cjs/{index.es-B2ZfX2D7.cjs → index.es-BAsay4oe.cjs} +1 -1
- package/lib/_shared/esm/{Button-DTiOFT9M.mjs → Button-Benn9Qop.mjs} +4 -4
- package/lib/_shared/esm/{ButtonV2-ByW5P8Hq.mjs → ButtonV2-CgjYgfZA.mjs} +4 -4
- package/lib/_shared/esm/{Calendar-wG6UVDgO.mjs → Calendar-CzFIMyD1.mjs} +7 -7
- package/lib/_shared/esm/{CardHeading-CfPEEmBO.mjs → CardHeading-CV14vmox.mjs} +2 -2
- package/lib/_shared/esm/{CheckboxIcon-BcVQe6mC.mjs → CheckboxIcon-CzRn1j8X.mjs} +6 -5
- package/lib/_shared/esm/{Combination-BQ4XBtF-.mjs → Combination-BW0YAEZD.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-ckPG4pry.mjs → ContentSwitcherDropdown-CwoMd63a.mjs} +2 -2
- package/lib/_shared/esm/{ContentSwitcherList-CWZcMblg.mjs → ContentSwitcherList-Bvp9Zl85.mjs} +22 -11
- package/lib/_shared/esm/{Popover-BHCEpLSa.mjs → Popover-DRQSgAog.mjs} +7 -4
- package/lib/_shared/esm/{ProgressStepper-DxZrJR0q.mjs → ProgressStepper-DTPHHVFe.mjs} +4 -4
- package/lib/_shared/esm/{Rule-I1w3EaZi.mjs → Rule-Bz3QPezk.mjs} +3 -3
- package/lib/_shared/esm/{TemplateBanner-CZSTdma0.mjs → TemplateBanner-BPzuH5bz.mjs} +2 -2
- package/lib/_shared/esm/{TextInput-CZaNXVHl.mjs → TextInput-BCvKXfM_.mjs} +8 -8
- package/lib/_shared/esm/{Tooltip-BpSzN3Tx.mjs → Tooltip-DY8nS1to.mjs} +2 -2
- package/lib/_shared/esm/{arc-breakpoints-TEKN0W5t.mjs → arc-breakpoints-ChQgbftE.mjs} +1 -1
- package/lib/_shared/esm/{index-u47CK8Y0.mjs → index-B3ewsmrD.mjs} +2 -2
- package/lib/_shared/esm/{index-GCEHSsY8.mjs → index-BMmvMegf.mjs} +2 -2
- package/lib/_shared/esm/{index-DXHprNQ6.mjs → index-C_mwuZg6.mjs} +1 -1
- package/lib/_shared/esm/{index-BWkI4Dwz.mjs → index-CfXVJXLq.mjs} +3 -3
- package/lib/_shared/esm/{index-CWHcEz3_.mjs → index-Cgsjp3NL.mjs} +1 -1
- package/lib/_shared/esm/{index-CN4hP3Wu.mjs → index-CjeQnMcn.mjs} +3 -3
- package/lib/_shared/esm/{index-BFKdmv_g.mjs → index-DNvlT7G_.mjs} +3 -3
- package/lib/_shared/esm/{index-Do2wfP-X.mjs → index-Dd3yZ_Kk.mjs} +4 -4
- package/lib/_shared/esm/{index-vnVJe9rH.mjs → index-Dfz5UgHo.mjs} +4 -4
- package/lib/_shared/esm/{index-Bz2JQq34.mjs → index-DkAfUbDx.mjs} +2 -2
- package/lib/_shared/esm/{index-6HtUz28p.mjs → index-Drb5ngQr.mjs} +1 -1
- package/lib/_shared/esm/{index.es-Co1d96HB.mjs → index.es-99J0r2va.mjs} +1 -1
- package/lib/index.cjs +185 -156
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +938 -247
- package/lib/index.d.mts +938 -247
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +186 -157
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +2 -2
- package/package.json +12 -12
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import { R as Root2, A as Anchor2, T as Trigger, P as Portal, C as Content2, a as PopoverArrow } from './index-
|
|
4
|
+
import { R as Root2, A as Anchor2, T as Trigger, P as Portal, C as Content2, a as PopoverArrow } from './index-Dd3yZ_Kk.mjs';
|
|
5
5
|
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
6
|
-
import { e as useThemeElement } from './index-
|
|
6
|
+
import { e as useThemeElement } from './index-DkAfUbDx.mjs';
|
|
7
7
|
import { S as Surface } from './Surface-C69KVzkY.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Use `Popover` to display content in a portal, triggered by a button.
|
|
11
11
|
*/
|
|
12
12
|
var Popover = function (_a) {
|
|
13
|
-
var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, minHeight = _a.minHeight, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, _f = _a.constrainToViewport, constrainToViewport = _f === void 0 ? true : _f, side = _a.side, _g = _a.sideOffset, sideOffset = _g === void 0 ? 0 : _g, _h = _a.zIndex, zIndex = _h === void 0 ? 100 : _h, _j = _a.hideWhenDetached, hideWhenDetached = _j === void 0 ? false : _j, _k = _a.useBespokeTrigger, useBespokeTrigger = _k === void 0 ? false : _k, props = __rest(_a, ["align", "ariaLabel", "alignOffset", "arrow", "background", "children", "content", "asChild", "maxWidth", "minHeight", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenAutoFocus", "onPointerDownOutside", "onOpenChange", "open", "constrainToViewport", "side", "sideOffset", "zIndex", "hideWhenDetached", "useBespokeTrigger"]);
|
|
14
|
-
var
|
|
13
|
+
var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, minHeight = _a.minHeight, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, _f = _a.constrainToViewport, constrainToViewport = _f === void 0 ? true : _f, side = _a.side, _g = _a.sideOffset, sideOffset = _g === void 0 ? 0 : _g, _h = _a.zIndex, zIndex = _h === void 0 ? 100 : _h, _j = _a.hideWhenDetached, hideWhenDetached = _j === void 0 ? false : _j, _k = _a.useBespokeTrigger, useBespokeTrigger = _k === void 0 ? false : _k, _l = _a.isFluidToViewport, isFluidToViewport = _l === void 0 ? false : _l, _m = _a.contentMargin, contentMargin = _m === void 0 ? false : _m, _o = _a.isFullBleed, isFullBleed = _o === void 0 ? false : _o, props = __rest(_a, ["align", "ariaLabel", "alignOffset", "arrow", "background", "children", "content", "asChild", "maxWidth", "minHeight", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenAutoFocus", "onPointerDownOutside", "onOpenChange", "open", "constrainToViewport", "side", "sideOffset", "zIndex", "hideWhenDetached", "useBespokeTrigger", "isFluidToViewport", "contentMargin", "isFullBleed"]);
|
|
14
|
+
var _p = useThemeElement(), themeElement = _p[0], setThemeElement = _p[1];
|
|
15
15
|
var alignOffsetDefault = align === "center" ? 0 : -16;
|
|
16
16
|
return (React__default.createElement("div", __assign({ className: "arc-Popover" }, filterAttrs(props)),
|
|
17
17
|
React__default.createElement(Root2, { open: open, onOpenChange: onOpenChange },
|
|
@@ -25,6 +25,9 @@ var Popover = function (_a) {
|
|
|
25
25
|
"arc-Popover-content--dark": background === "dark",
|
|
26
26
|
"arc-Popover-content--brand": background === "brand",
|
|
27
27
|
"arc-Popover-content--constrainToViewport": constrainToViewport,
|
|
28
|
+
"arc-Popover-content--isFluidToViewport": isFluidToViewport,
|
|
29
|
+
"arc-Popover-content--contentMargin": contentMargin,
|
|
30
|
+
"arc-Popover-content--isFullBleed": isFullBleed,
|
|
28
31
|
}), style: { maxWidth: maxWidth, minHeight: minHeight }, "aria-labelledby": "popover-content" },
|
|
29
32
|
content && React__default.createElement("div", { id: "popover-content" }, content),
|
|
30
33
|
arrow && (React__default.createElement(PopoverArrow, { className: "arc-Popover-arrow" })))))))))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
|
-
import React__default, { useId
|
|
2
|
+
import React__default, { useId } from 'react';
|
|
3
3
|
import { g as getDefaultExportFromCjs, c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
5
|
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
@@ -191,8 +191,8 @@ var ProgressStepperItem = function (_a) {
|
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
/** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
|
|
194
|
-
var ProgressStepper =
|
|
195
|
-
var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, currentStep = _a.currentStep, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
|
|
194
|
+
var ProgressStepper = function (_a) {
|
|
195
|
+
var ref = _a.ref, children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, currentStep = _a.currentStep, props = __rest(_a, ["ref", "children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
|
|
196
196
|
var items = React__default.Children.toArray(children);
|
|
197
197
|
var getStepStatus = function (item) {
|
|
198
198
|
var _a;
|
|
@@ -202,6 +202,6 @@ var ProgressStepper = forwardRef(function (_a, ref) {
|
|
|
202
202
|
"arc-ProgressStepper--vertical": direction === "vertical",
|
|
203
203
|
}) }, filterAttrs(props)), items.map(function (item, index) { return (React__default.createElement(React__default.Fragment, { key: "StepperItem-".concat(index) },
|
|
204
204
|
React__default.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, ariaLabel: item.props.ariaLabel, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, invertLabelPosition: invertLabelPosition, direction: direction, isExpandable: isExpandable, size: size, isViewing: currentStep !== undefined ? currentStep === index : undefined, previousStep: getStepStatus(items[index - 1]) }, filterAttrs(item.props))))); })));
|
|
205
|
-
}
|
|
205
|
+
};
|
|
206
206
|
|
|
207
207
|
export { ProgressStepper as P, ProgressStepperItem as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
@@ -7,9 +7,9 @@ import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
|
7
7
|
/**
|
|
8
8
|
* Use `Rule` to display a horizontal or vertical rule.
|
|
9
9
|
*/
|
|
10
|
-
var Rule = function (_a
|
|
10
|
+
var Rule = function (_a) {
|
|
11
11
|
var _b;
|
|
12
|
-
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
12
|
+
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c, props = __rest(_a, ["orientation"]);
|
|
13
13
|
var surface = useContext(Context).surface;
|
|
14
14
|
return (React__default.createElement("hr", __assign({ className: classNames((_b = {
|
|
15
15
|
"arc-Rule": true
|
|
@@ -21,7 +21,7 @@ var BannerRow = function (_a) {
|
|
|
21
21
|
|
|
22
22
|
/** Use `TemplateBanner` as a base structure for banner components; other banner variants extend or consume this template. */
|
|
23
23
|
var TemplateBanner = function (_a) {
|
|
24
|
-
var heading = _a.heading, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, label = _a.label, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, text = _a.text, img = _a.img, _d = _a.contentRatio, contentRatio = _d === void 0 ? "1/1" : _d, children = _a.children, _e = _a.alignment, alignment = _e === void 0 ? "center" : _e, additionalTopMargin = _a.additionalTopMargin, _f = _a.minHeight, minHeight = _f === void 0 ? 454 : _f, minHeightM = _a.minHeightM, minHeightL = _a.minHeightL, minHeightXL = _a.minHeightXL, _g = _a.headingSize, headingSize = _g === void 0 ? "xl" : _g, _h = _a.isReversed, isReversed = _h === void 0 ? false : _h, _j = _a.isElevated, isElevated = _j === void 0 ? false : _j, _k = _a.headingLevel, headingLevel = _k === void 0 ? "2" : _k, _l = _a.type, type =
|
|
24
|
+
var heading = _a.heading, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, label = _a.label, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, text = _a.text, img = _a.img, _d = _a.contentRatio, contentRatio = _d === void 0 ? "1/1" : _d, children = _a.children, _e = _a.alignment, alignment = _e === void 0 ? "center" : _e, additionalTopMargin = _a.additionalTopMargin, _f = _a.minHeight, minHeight = _f === void 0 ? 454 : _f, minHeightM = _a.minHeightM, minHeightL = _a.minHeightL, minHeightXL = _a.minHeightXL, _g = _a.headingSize, headingSize = _g === void 0 ? "xl" : _g, _h = _a.isReversed, isReversed = _h === void 0 ? false : _h, _j = _a.isElevated, isElevated = _j === void 0 ? false : _j, _k = _a.headingLevel, headingLevel = _k === void 0 ? "2" : _k, _l = _a.headingWordWrap, headingWordWrap = _l === void 0 ? false : _l, _m = _a.type, type = _m === void 0 ? "light" : _m, props = __rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "headingWordWrap", "type"]);
|
|
25
25
|
var backgrounds = {
|
|
26
26
|
dark: "dark-brand-02",
|
|
27
27
|
light: "light-white",
|
|
@@ -66,7 +66,7 @@ var TemplateBanner = function (_a) {
|
|
|
66
66
|
label && (React__default.createElement(React__default.Fragment, null,
|
|
67
67
|
React__default.createElement(Heading, { level: labelLevel, fontStyle: "overline", isWordWrap: false }, label),
|
|
68
68
|
React__default.createElement(VerticalSpace, { size: "8" }))),
|
|
69
|
-
React__default.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap:
|
|
69
|
+
React__default.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: headingWordWrap }, heading),
|
|
70
70
|
text && (React__default.createElement(React__default.Fragment, null,
|
|
71
71
|
React__default.createElement(VerticalSpace, { size: "16" }),
|
|
72
72
|
React__default.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React__default, {
|
|
1
|
+
import { a as __assign, _ as __rest } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
|
+
import React__default, { useState, useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
5
|
import { u as useAriaDescribedby, F as FormControl } from './FormControl-DopDD_nC.mjs';
|
|
@@ -7,7 +7,7 @@ import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
|
7
7
|
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
8
8
|
import { S as Spinner } from './Spinner-DvngCIwx.mjs';
|
|
9
9
|
import { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
10
|
-
import { T as Tooltip } from './Tooltip-
|
|
10
|
+
import { T as Tooltip } from './Tooltip-DY8nS1to.mjs';
|
|
11
11
|
import { T as ThemeIcon } from './ThemeIcon-B0n6cKRb.mjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -108,9 +108,9 @@ var TrailingSlot = function (_a) {
|
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
/** Use `TextInput` as a single-line field that allows users to enter short text, such as names, email, search queries or passwords. */
|
|
111
|
-
var TextInputComponent =
|
|
111
|
+
var TextInputComponent = function (_a) {
|
|
112
112
|
var _b;
|
|
113
|
-
var _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _j = _a.size, size = _j === void 0 ? "m" : _j, leadingSlot = _a.leadingSlot, trailingSlot = _a.trailingSlot, _k = _a.inputAlignment, inputAlignment = _k === void 0 ? "left" : _k, width = _a.width, autoComplete = _a.autoComplete, isLoading = _a.isLoading, isErrorAlert = _a.isErrorAlert, prefix = _a.prefix, suffix = _a.suffix, clearButton = _a.clearButton, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "maxLength", "minLength", "name", "onBlur", "onFocus", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "size", "leadingSlot", "trailingSlot", "inputAlignment", "width", "autoComplete", "isLoading", "isErrorAlert", "prefix", "suffix", "clearButton"]);
|
|
113
|
+
var ref = _a.ref, _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _j = _a.size, size = _j === void 0 ? "m" : _j, leadingSlot = _a.leadingSlot, trailingSlot = _a.trailingSlot, _k = _a.inputAlignment, inputAlignment = _k === void 0 ? "left" : _k, width = _a.width, autoComplete = _a.autoComplete, isLoading = _a.isLoading, isErrorAlert = _a.isErrorAlert, prefix = _a.prefix, suffix = _a.suffix, clearButton = _a.clearButton, props = __rest(_a, ["ref", "defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "maxLength", "minLength", "name", "onBlur", "onFocus", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "size", "leadingSlot", "trailingSlot", "inputAlignment", "width", "autoComplete", "isLoading", "isErrorAlert", "prefix", "suffix", "clearButton"]);
|
|
114
114
|
var _l = useState(false), showPasswordToggle = _l[0], setShowPasswordToggle = _l[1];
|
|
115
115
|
var inferredInputProps = useNumericInput({
|
|
116
116
|
inputMode: inputMode,
|
|
@@ -149,11 +149,11 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
149
149
|
isLoading ||
|
|
150
150
|
(clearButton === null || clearButton === void 0 ? void 0 : clearButton.onClick)) && (React__default.createElement(TrailingSlot, { showPassword: showPassword, isReadOnly: isReadOnly, isLoading: isLoading, clearButton: clearButton, trailingSlot: trailingSlot, isPasswordVisible: showPasswordToggle, onTogglePassword: function () { return setShowPasswordToggle(function (prev) { return !prev; }); }, size: size, isDisabled: isDisabled })),
|
|
151
151
|
suffix && (React__default.createElement("span", { className: "arc-TextInput-suffix arc-TextInput-affixes", "aria-hidden": true }, suffix))))));
|
|
152
|
-
}
|
|
152
|
+
};
|
|
153
153
|
/**
|
|
154
154
|
* Use `TextInput` to allow users to enter short form text.
|
|
155
155
|
*/
|
|
156
|
-
var TextInput =
|
|
157
|
-
var TextInputWithPlaceHolder =
|
|
156
|
+
var TextInput = function (props) { return (React__default.createElement(TextInputComponent, __assign({}, props))); };
|
|
157
|
+
var TextInputWithPlaceHolder = function (props) { return React__default.createElement(TextInputComponent, __assign({}, props)); };
|
|
158
158
|
|
|
159
159
|
export { InputIcon as I, TextInput as T, TextInputWithPlaceHolder as a };
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { g as useEscapeKeydown, f as useCallbackRef, b as useLayoutEffect2, c as createContextScope$1, a as useId, u as useControllableState, e as useThemeElement } from './index-
|
|
5
|
+
import { g as useEscapeKeydown, f as useCallbackRef, b as useLayoutEffect2, c as createContextScope$1, a as useId, u as useControllableState, e as useThemeElement } from './index-DkAfUbDx.mjs';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import ReactDOM__default from 'react-dom';
|
|
8
8
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
9
|
-
import { u as useSize, a as useFloating, b as autoUpdate, o as offset, s as shift,
|
|
9
|
+
import { u as useSize, a as useFloating, b as autoUpdate, o as offset, s as shift, f as flip, c as size, d as arrow, h as hide, l as limitShift } from './index-Cgsjp3NL.mjs';
|
|
10
10
|
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
11
11
|
import { S as Surface } from './Surface-C69KVzkY.mjs';
|
|
12
12
|
import { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ArcSizeBreakpointsS, a as ArcSizeBreakpointsM, b as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, d as ArcSizeBreakpointsXxl, e as ArcSizeBreakpointsXs } from './index.es-
|
|
1
|
+
import { A as ArcSizeBreakpointsS, a as ArcSizeBreakpointsM, b as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, d as ArcSizeBreakpointsXxl, e as ArcSizeBreakpointsXs } from './index.es-99J0r2va.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Provides an object of breakpoints for responsive designs.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { c as createContextScope } from './index-
|
|
5
|
-
import { u as useComposedRefs, S as Slot } from './Combination-
|
|
4
|
+
import { c as createContextScope } from './index-DkAfUbDx.mjs';
|
|
5
|
+
import { u as useComposedRefs, S as Slot } from './Combination-BW0YAEZD.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
function createCollection(name) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useComposedRefs } from './Combination-
|
|
4
|
-
import { b as useLayoutEffect2 } from './index-
|
|
3
|
+
import { u as useComposedRefs } from './Combination-BW0YAEZD.mjs';
|
|
4
|
+
import { b as useLayoutEffect2 } from './index-DkAfUbDx.mjs';
|
|
5
5
|
|
|
6
6
|
function useStateMachine(initialState, machine) {
|
|
7
7
|
return React.useReducer((state, event) => {
|
|
@@ -361,4 +361,4 @@ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp ,
|
|
|
361
361
|
return uncontrolledState;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
export { $c512c27ab02ef895$export$50c7b4e9d9f19c1 as $, _extends as _, $6ed0406888f73fc4$export$c7b2cbe3552a0d05 as a, $5e63c961fc1ce211$export$8c6ed5c666ac1360 as b, $9f79659886946c16$export$e5c5a5f917a5871c as c, $
|
|
364
|
+
export { $c512c27ab02ef895$export$50c7b4e9d9f19c1 as $, _extends as _, $6ed0406888f73fc4$export$c7b2cbe3552a0d05 as a, $5e63c961fc1ce211$export$8c6ed5c666ac1360 as b, $9f79659886946c16$export$e5c5a5f917a5871c as c, $71cd76cc60e0454e$export$6f32135080cb4c3 as d, $b1b2314f5f9a1d84$export$25bec8c6f54ee79a as e, $8927f6f2acc4f386$export$250ffa63cdc0d034 as f, $e42e1063c40fb3ef$export$b9ecd428b558ff10 as g, $8927f6f2acc4f386$export$6d1a0317bde7de7f as h };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as $9f79659886946c16$export$e5c5a5f917a5871c, $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1,
|
|
1
|
+
import { c as $9f79659886946c16$export$e5c5a5f917a5871c, $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, _ as _extends, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, f as $8927f6f2acc4f386$export$250ffa63cdc0d034, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from './index-C_mwuZg6.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { useContext, createContext, forwardRef,
|
|
4
|
-
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2, a as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-
|
|
3
|
+
import { useContext, createContext, forwardRef, createElement, useRef, useState, useEffect, useCallback } from 'react';
|
|
4
|
+
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2, a as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-Drb5ngQr.mjs';
|
|
5
5
|
|
|
6
6
|
const $1746a345f3d73bb7$var$useReactId = React['useId'.toString()] || (()=>undefined
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useLayoutEffect, useEffect } from 'react';
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
|
-
import { b as useLayoutEffect2 } from './index-
|
|
4
|
+
import { b as useLayoutEffect2 } from './index-DkAfUbDx.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Custom positioning reference element.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, R as ReactRemoveScroll, S as Slot, h as hideOthers, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-
|
|
4
|
-
import { c as createContextScope, d as createContext2, u as useControllableState, a as useId } from './index-
|
|
5
|
-
import { P as Presence } from './index-
|
|
3
|
+
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, R as ReactRemoveScroll, S as Slot, h as hideOthers, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-BW0YAEZD.mjs';
|
|
4
|
+
import { c as createContextScope, d as createContext2, u as useControllableState, a as useId } from './index-DkAfUbDx.mjs';
|
|
5
|
+
import { P as Presence } from './index-BMmvMegf.mjs';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var DIALOG_NAME = "Dialog";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useSize, a as useFloating, b as autoUpdate, o as offset, s as shift, f as flip, c as size, d as arrow, h as hide, l as limitShift } from './index-
|
|
4
|
-
import { P as Primitive, u as useComposedRefs } from './Combination-
|
|
3
|
+
import { u as useSize, a as useFloating, b as autoUpdate, o as offset, s as shift, f as flip, c as size, d as arrow, h as hide, l as limitShift } from './index-Cgsjp3NL.mjs';
|
|
4
|
+
import { P as Primitive, u as useComposedRefs } from './Combination-BW0YAEZD.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { c as createContextScope, f as useCallbackRef, b as useLayoutEffect2 } from './index-
|
|
6
|
+
import { c as createContextScope, f as useCallbackRef, b as useLayoutEffect2 } from './index-DkAfUbDx.mjs';
|
|
7
7
|
|
|
8
8
|
// packages/react/arrow/src/arrow.tsx
|
|
9
9
|
var NAME = "Arrow";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, h as hideOthers, R as ReactRemoveScroll, S as Slot, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-
|
|
4
|
-
import { c as createContextScope, u as useControllableState, a as useId } from './index-
|
|
5
|
-
import { c as createPopperScope, A as Anchor, C as Content, a as Arrow, R as Root2$1 } from './index-
|
|
6
|
-
import { P as Presence } from './index-
|
|
3
|
+
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, h as hideOthers, R as ReactRemoveScroll, S as Slot, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-BW0YAEZD.mjs';
|
|
4
|
+
import { c as createContextScope, u as useControllableState, a as useId } from './index-DkAfUbDx.mjs';
|
|
5
|
+
import { c as createPopperScope, A as Anchor, C as Content, a as Arrow, R as Root2$1 } from './index-DNvlT7G_.mjs';
|
|
6
|
+
import { P as Presence } from './index-BMmvMegf.mjs';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
var POPOVER_NAME = "Popover";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
|
-
import { P as Primitive, u as useComposedRefs, c as composeEventHandlers, h as hideOthers, a as useFocusGuards, R as ReactRemoveScroll, S as Slot, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-
|
|
5
|
-
import { c as createCollection, u as useDirection } from './index-
|
|
6
|
-
import { c as createContextScope, b as useLayoutEffect2, a as useId, f as useCallbackRef, u as useControllableState } from './index-
|
|
7
|
-
import { c as createPopperScope, A as Anchor, C as Content, a as Arrow, R as Root2$1 } from './index-
|
|
4
|
+
import { P as Primitive, u as useComposedRefs, c as composeEventHandlers, h as hideOthers, a as useFocusGuards, R as ReactRemoveScroll, S as Slot, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-BW0YAEZD.mjs';
|
|
5
|
+
import { c as createCollection, u as useDirection } from './index-B3ewsmrD.mjs';
|
|
6
|
+
import { c as createContextScope, b as useLayoutEffect2, a as useId, f as useCallbackRef, u as useControllableState } from './index-DkAfUbDx.mjs';
|
|
7
|
+
import { c as createPopperScope, A as Anchor, C as Content, a as Arrow, R as Root2$1 } from './index-DNvlT7G_.mjs';
|
|
8
8
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// packages/core/number/src/number.ts
|
|
@@ -119,9 +119,9 @@ var count = 0;
|
|
|
119
119
|
function useId(deterministicId) {
|
|
120
120
|
const [id, setId] = React.useState(useReactId());
|
|
121
121
|
useLayoutEffect2(() => {
|
|
122
|
-
|
|
122
|
+
setId((reactId) => reactId ?? String(count++));
|
|
123
123
|
}, [deterministicId]);
|
|
124
|
-
return
|
|
124
|
+
return (id ? `radix-${id}` : "");
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
// packages/react/use-controllable-state/src/useControllableState.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { Children, cloneElement, useState, useRef, useEffect, useCallback, useReducer } from 'react';
|
|
2
|
-
import { $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, b as $5e63c961fc1ce211$export$8c6ed5c666ac1360, c as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-
|
|
2
|
+
import { $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, b as $5e63c961fc1ce211$export$8c6ed5c666ac1360, c as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-C_mwuZg6.mjs';
|
|
3
3
|
import { flushSync } from 'react-dom';
|
|
4
4
|
|
|
5
5
|
// We have resorted to returning slots directly rather than exposing primitives that can then
|