@jobber/components 8.21.1 → 8.23.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/Dialog.d.ts +1 -0
- package/Dialog.js +17 -0
- package/dist/BottomSheet-cjs.js +34 -7
- package/dist/BottomSheet-es.js +34 -8
- package/dist/CSPContext-cjs.js +69 -0
- package/dist/CSPContext-es.js +46 -0
- package/dist/Card/index.cjs +3 -0
- package/dist/Card/index.mjs +3 -0
- package/dist/ComboboxChipRemove-cjs.js +54 -211
- package/dist/ComboboxChipRemove-es.js +8 -164
- package/dist/DataDump/index.cjs +3 -0
- package/dist/DataDump/index.mjs +3 -0
- package/dist/Dialog/Dialog.d.ts +3 -0
- package/dist/Dialog/Dialog.types.d.ts +205 -0
- package/dist/Dialog/DialogBottomSheet.d.ts +28 -0
- package/dist/Dialog/DialogModal.d.ts +20 -0
- package/dist/Dialog/constants.d.ts +1 -0
- package/dist/Dialog/dialogComposableShared.d.ts +53 -0
- package/dist/Dialog/dialogReturnFocus.d.ts +43 -0
- package/dist/Dialog/index.cjs +33 -0
- package/dist/Dialog/index.d.ts +4 -0
- package/dist/Dialog/index.mjs +25 -0
- package/dist/DrawerDescription-cjs.js +410 -0
- package/dist/DrawerDescription-es.js +383 -0
- package/dist/DrawerTitle-cjs.js +116 -0
- package/dist/DrawerTitle-es.js +92 -0
- package/dist/InputNumberExperimental-cjs.js +24 -23
- package/dist/InputNumberExperimental-es.js +3 -2
- package/dist/InternalBackdrop-es.js +3 -3
- package/dist/Menu/index.cjs +3 -0
- package/dist/Menu/index.mjs +3 -0
- package/dist/Menu-cjs.js +6 -4
- package/dist/Menu-es.js +6 -4
- package/dist/MenuSubmenuTrigger-cjs.js +53 -103
- package/dist/MenuSubmenuTrigger-es.js +55 -103
- package/dist/NumberFieldInput-cjs.js +9 -9
- package/dist/NumberFieldInput-es.js +3 -3
- package/dist/Page/index.cjs +3 -0
- package/dist/Page/index.mjs +3 -0
- package/dist/ScrollAreaViewport-cjs.js +921 -960
- package/dist/ScrollAreaViewport-es.js +917 -958
- package/dist/SelectGroupLabel-cjs.js +1924 -0
- package/dist/SelectGroupLabel-es.js +1888 -0
- package/dist/SelectPrimitive-cjs.js +112 -0
- package/dist/SelectPrimitive-es.js +110 -0
- package/dist/ToolbarRootContext-cjs.js +35 -0
- package/dist/ToolbarRootContext-es.js +14 -0
- package/dist/dialogReturnFocus-cjs.js +427 -0
- package/dist/dialogReturnFocus-es.js +423 -0
- package/dist/docs/SelectPrimitive/SelectPrimitive.md +326 -0
- package/dist/docs/index.md +1 -0
- package/dist/floating-ui.react-dom-cjs.js +1 -0
- package/dist/floating-ui.react-dom-es.js +2 -2
- package/dist/floating-ui.utils.dom-es.js +1 -1
- package/dist/index.cjs +15 -7
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +12 -7
- package/dist/primitives/BottomSheet/BottomSheet.d.ts +19 -1
- package/dist/primitives/BottomSheet/BottomSheet.types.d.ts +8 -0
- package/dist/primitives/BottomSheet/index.cjs +2 -0
- package/dist/primitives/BottomSheet/index.d.ts +1 -1
- package/dist/primitives/BottomSheet/index.mjs +2 -1
- package/dist/primitives/ComboboxPrimitive/index.cjs +3 -1
- package/dist/primitives/ComboboxPrimitive/index.mjs +3 -1
- package/dist/primitives/InputNumberExperimental/index.cjs +2 -1
- package/dist/primitives/InputNumberExperimental/index.mjs +2 -1
- package/dist/primitives/SelectPrimitive/SelectPrimitive.d.ts +63 -0
- package/dist/primitives/SelectPrimitive/index.cjs +29 -0
- package/dist/primitives/SelectPrimitive/index.d.ts +2 -0
- package/dist/primitives/SelectPrimitive/index.mjs +23 -0
- package/dist/primitives/SelectPrimitive/types.d.ts +16 -0
- package/dist/primitives/index.cjs +9 -1
- package/dist/primitives/index.d.ts +1 -0
- package/dist/primitives/index.mjs +8 -2
- package/dist/primitives/mergeClassName.d.ts +12 -0
- package/dist/resolveAriaLabelledBy-cjs.js +195 -0
- package/dist/resolveAriaLabelledBy-es.js +162 -0
- package/dist/styles.css +685 -0
- package/dist/unstyledPrimitives/index.cjs +434 -259
- package/dist/unstyledPrimitives/index.d.ts +2 -0
- package/dist/unstyledPrimitives/index.mjs +425 -252
- package/dist/useButton-cjs.js +2 -0
- package/dist/useButton-es.js +3 -2
- package/dist/useCompositeListItem-es.js +4 -4
- package/dist/useLabel-cjs.js +3 -329
- package/dist/useLabel-es.js +4 -299
- package/dist/useLabelableId-cjs.js +332 -0
- package/dist/useLabelableId-es.js +300 -0
- package/dist/useRenderElement-cjs.js +3 -0
- package/dist/useRenderElement-es.js +4 -1
- package/dist/utils/meta/meta.json +11 -1
- package/package.json +2 -2
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { a as useRefWithInit, f as formatErrorMessage, u as useRenderElement, m as mergeProps, b as useMergedRefs, E as EMPTY_OBJECT, c as EMPTY_ARRAY } from './useRenderElement-es.js';
|
|
3
|
+
import { H as createAttribute, b as useFloatingTree, u as useFloatingParentNodeId, J as getNodeChildren, p as popupStateMapping, F as FloatingFocusManager, y as FloatingPortal, K as POPUP_COLLISION_AVOIDANCE, I as InternalBackdrop, A as inertValue, L as FloatingNode, B as DROPDOWN_COLLISION_AVOIDANCE, o as createSelector, R as ReactStore, P as PopupTriggerMap, M as FloatingTreeStore, N as fastComponent, w as useOnFirstRender, O as useFloatingNodeId, q as useOpenInteractionType, z as useScrollLock, t as useDismiss, n as useDirection, T as TYPEAHEAD_RESET_MS, v as useInteractions, Q as FloatingTree, U as fastComponentRef, s as useClick, V as getTabbableBeforeElement, W as isOutsideEvent, X as getTabbableAfterElement, Y as getNextTabbable, x as pressableTriggerOpenStateMapping, Z as FocusGuard, _ as PATIENT_CLICK_THRESHOLD, G as triggerOpenStateMapping } from './InternalBackdrop-es.js';
|
|
4
|
+
import { a0 as isMouseLikePointerType, h as useTimeout, g as getTarget, a1 as isTypeableElement, a2 as matchesFocusVisible, a3 as isTargetInsideEnabledTrigger, d as createChangeEventDetails, a4 as triggerFocus, q as activeElement, r as contains, a5 as isMac, a6 as isSafari, o as ownerDocument, a7 as triggerPress, a8 as escapeKey, D as useOnMount, a9 as TYPEABLE_SELECTOR, T as Timeout, b as useStableCallback, a as useIsoLayoutEffect, aa as triggerHover, n as useValueAsRef, t as transitionStatusMapping, Z as itemPress, c as useButton, u as useBaseUiId, f as useOpenChangeComplete, U as outsidePress, ab as useAnimationsFinished, ac as siblingOpen, E as useControlled, k as useTransitionStatus, l as useId, y as focusOut, v as listNavigation, i as imperativeAction, ad as useCompositeRootContext, V as cancelOpen } from './useButton-es.js';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { e as useCompositeListItem, d as getDisabledMountTransitionStyles, c as useAnchorPositioning, f as adaptiveOrigin, C as CompositeList, a as useListNavigation, b as useTypeahead, g as getPseudoElementBounds } from './useCompositeListItem-es.js';
|
|
7
|
+
import { u as useToolbarRootContext } from './ToolbarRootContext-es.js';
|
|
8
|
+
import { C as COMPOSITE_KEYS } from './CSPContext-es.js';
|
|
9
|
+
import { o as getWindow, b as isElement, a as isHTMLElement, d as isLastTraversableNode, e as getParentNode } from './floating-ui.utils.dom-es.js';
|
|
10
|
+
import { p as popupStoreSelectors, l as createInitialPopupStoreState, m as useImplicitActiveTrigger, n as useOpenStateTransitions, o as useSyncedFloatingRootContext, q as useRole, r as useTriggerDataForwarding, s as useTriggerRegistration } from './ScrollAreaViewport-es.js';
|
|
9
11
|
import * as ReactDOM from 'react-dom';
|
|
10
12
|
|
|
11
13
|
function resolveValue(value, pointerType) {
|
|
@@ -912,92 +914,6 @@ function safePolygon(options = {}) {
|
|
|
912
914
|
return fn;
|
|
913
915
|
}
|
|
914
916
|
|
|
915
|
-
/**
|
|
916
|
-
* A button that closes the dialog.
|
|
917
|
-
* Renders a `<button>` element.
|
|
918
|
-
*
|
|
919
|
-
* Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)
|
|
920
|
-
*/
|
|
921
|
-
const DialogClose = /*#__PURE__*/React.forwardRef(function DialogClose(componentProps, forwardedRef) {
|
|
922
|
-
const {
|
|
923
|
-
render,
|
|
924
|
-
className,
|
|
925
|
-
disabled = false,
|
|
926
|
-
nativeButton = true,
|
|
927
|
-
...elementProps
|
|
928
|
-
} = componentProps;
|
|
929
|
-
const {
|
|
930
|
-
store
|
|
931
|
-
} = useDialogRootContext();
|
|
932
|
-
const open = store.useState('open');
|
|
933
|
-
function handleClick(event) {
|
|
934
|
-
if (open) {
|
|
935
|
-
store.setOpen(false, createChangeEventDetails(closePress, event.nativeEvent));
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
const {
|
|
939
|
-
getButtonProps,
|
|
940
|
-
buttonRef
|
|
941
|
-
} = useButton({
|
|
942
|
-
disabled,
|
|
943
|
-
native: nativeButton
|
|
944
|
-
});
|
|
945
|
-
const state = {
|
|
946
|
-
disabled
|
|
947
|
-
};
|
|
948
|
-
return useRenderElement('button', componentProps, {
|
|
949
|
-
state,
|
|
950
|
-
ref: [forwardedRef, buttonRef],
|
|
951
|
-
props: [{
|
|
952
|
-
onClick: handleClick
|
|
953
|
-
}, elementProps, getButtonProps]
|
|
954
|
-
});
|
|
955
|
-
});
|
|
956
|
-
if (process.env.NODE_ENV !== "production") DialogClose.displayName = "DialogClose";
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
* A button that closes the drawer.
|
|
960
|
-
* Renders a `<button>` element.
|
|
961
|
-
*
|
|
962
|
-
* Documentation: [Base UI Drawer](https://base-ui.com/react/components/drawer)
|
|
963
|
-
*/
|
|
964
|
-
const DrawerClose = DialogClose;
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* A heading that labels the dialog.
|
|
968
|
-
* Renders an `<h2>` element.
|
|
969
|
-
*
|
|
970
|
-
* Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)
|
|
971
|
-
*/
|
|
972
|
-
const DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(componentProps, forwardedRef) {
|
|
973
|
-
const {
|
|
974
|
-
render,
|
|
975
|
-
className,
|
|
976
|
-
id: idProp,
|
|
977
|
-
...elementProps
|
|
978
|
-
} = componentProps;
|
|
979
|
-
const {
|
|
980
|
-
store
|
|
981
|
-
} = useDialogRootContext();
|
|
982
|
-
const id = useBaseUiId(idProp);
|
|
983
|
-
store.useSyncedValueWithCleanup('titleElementId', id);
|
|
984
|
-
return useRenderElement('h2', componentProps, {
|
|
985
|
-
ref: forwardedRef,
|
|
986
|
-
props: [{
|
|
987
|
-
id
|
|
988
|
-
}, elementProps]
|
|
989
|
-
});
|
|
990
|
-
});
|
|
991
|
-
if (process.env.NODE_ENV !== "production") DialogTitle.displayName = "DialogTitle";
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* A heading that labels the drawer.
|
|
995
|
-
* Renders an `<h2>` element.
|
|
996
|
-
*
|
|
997
|
-
* Documentation: [Base UI Drawer](https://base-ui.com/react/components/drawer)
|
|
998
|
-
*/
|
|
999
|
-
const DrawerTitle = DialogTitle;
|
|
1000
|
-
|
|
1001
917
|
const MenuPositionerContext = /*#__PURE__*/React.createContext(undefined);
|
|
1002
918
|
if (process.env.NODE_ENV !== "production") MenuPositionerContext.displayName = "MenuPositionerContext";
|
|
1003
919
|
function useMenuPositionerContext(optional) {
|
|
@@ -1028,6 +944,52 @@ function useContextMenuRootContext(optional = true) {
|
|
|
1028
944
|
return context;
|
|
1029
945
|
}
|
|
1030
946
|
|
|
947
|
+
const stateAttributesMapping$1 = {
|
|
948
|
+
...popupStateMapping,
|
|
949
|
+
...transitionStatusMapping
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* An overlay displayed beneath the menu popup.
|
|
954
|
+
* Renders a `<div>` element.
|
|
955
|
+
*
|
|
956
|
+
* Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)
|
|
957
|
+
*/
|
|
958
|
+
const MenuBackdrop = /*#__PURE__*/React.forwardRef(function MenuBackdrop(componentProps, forwardedRef) {
|
|
959
|
+
const {
|
|
960
|
+
className,
|
|
961
|
+
render,
|
|
962
|
+
...elementProps
|
|
963
|
+
} = componentProps;
|
|
964
|
+
const {
|
|
965
|
+
store
|
|
966
|
+
} = useMenuRootContext();
|
|
967
|
+
const open = store.useState('open');
|
|
968
|
+
const mounted = store.useState('mounted');
|
|
969
|
+
const transitionStatus = store.useState('transitionStatus');
|
|
970
|
+
const lastOpenChangeReason = store.useState('lastOpenChangeReason');
|
|
971
|
+
const contextMenuContext = useContextMenuRootContext();
|
|
972
|
+
const state = {
|
|
973
|
+
open,
|
|
974
|
+
transitionStatus
|
|
975
|
+
};
|
|
976
|
+
return useRenderElement('div', componentProps, {
|
|
977
|
+
ref: contextMenuContext?.backdropRef ? [forwardedRef, contextMenuContext.backdropRef] : forwardedRef,
|
|
978
|
+
state,
|
|
979
|
+
stateAttributesMapping: stateAttributesMapping$1,
|
|
980
|
+
props: [{
|
|
981
|
+
role: 'presentation',
|
|
982
|
+
hidden: !mounted,
|
|
983
|
+
style: {
|
|
984
|
+
pointerEvents: lastOpenChangeReason === triggerHover ? 'none' : undefined,
|
|
985
|
+
userSelect: 'none',
|
|
986
|
+
WebkitUserSelect: 'none'
|
|
987
|
+
}
|
|
988
|
+
}, elementProps]
|
|
989
|
+
});
|
|
990
|
+
});
|
|
991
|
+
if (process.env.NODE_ENV !== "production") MenuBackdrop.displayName = "MenuBackdrop";
|
|
992
|
+
|
|
1031
993
|
/**
|
|
1032
994
|
* Returns common props shared by all menu item types.
|
|
1033
995
|
* This hook extracts the shared logic for id, role, tabIndex, onKeyDown,
|
|
@@ -1368,16 +1330,6 @@ const MenuLinkItem = /*#__PURE__*/React.forwardRef(function MenuLinkItem(compone
|
|
|
1368
1330
|
});
|
|
1369
1331
|
if (process.env.NODE_ENV !== "production") MenuLinkItem.displayName = "MenuLinkItem";
|
|
1370
1332
|
|
|
1371
|
-
const ToolbarRootContext = /*#__PURE__*/React.createContext(undefined);
|
|
1372
|
-
if (process.env.NODE_ENV !== "production") ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
1373
|
-
function useToolbarRootContext(optional) {
|
|
1374
|
-
const context = React.useContext(ToolbarRootContext);
|
|
1375
|
-
if (context === undefined && !optional) {
|
|
1376
|
-
throw new Error(process.env.NODE_ENV !== "production" ? 'Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.' : formatErrorMessage(69));
|
|
1377
|
-
}
|
|
1378
|
-
return context;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
1333
|
const stateAttributesMapping = {
|
|
1382
1334
|
...popupStateMapping,
|
|
1383
1335
|
...transitionStatusMapping
|
|
@@ -3045,4 +2997,4 @@ const MenuSubmenuTrigger = /*#__PURE__*/React.forwardRef(function SubmenuTrigger
|
|
|
3045
2997
|
});
|
|
3046
2998
|
if (process.env.NODE_ENV !== "production") MenuSubmenuTrigger.displayName = "MenuSubmenuTrigger";
|
|
3047
2999
|
|
|
3048
|
-
export {
|
|
3000
|
+
export { MenuTrigger as M, REGULAR_ITEM as R, MenuLinkItem as a, MenuItem as b, MenuRadioItem as c, MenuRadioItemIndicator as d, MenuSubmenuTrigger as e, MenuRoot as f, MenuPortal as g, MenuBackdrop as h, MenuPositioner as i, MenuPopup as j, MenuRadioGroup as k, MenuGroup as l, MenuSubmenuRoot as m, MenuGroupLabel as n, useMenuPositionerContext as o, useMenuItem as p, itemMapping as q, MenuStore as r, useMenuRootContext as u };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var useButton = require('./useButton-cjs.js');
|
|
5
5
|
var useRenderElement = require('./useRenderElement-cjs.js');
|
|
6
|
-
var
|
|
6
|
+
var useLabelableId = require('./useLabelableId-cjs.js');
|
|
7
7
|
var clamp = require('./clamp-cjs.js');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
var floatingUi_utils_dom = require('./floating-ui.utils.dom-cjs.js');
|
|
@@ -109,7 +109,7 @@ function useNumberFieldRootContext() {
|
|
|
109
109
|
const stateAttributesMapping$1 = {
|
|
110
110
|
inputValue: () => null,
|
|
111
111
|
value: () => null,
|
|
112
|
-
...
|
|
112
|
+
...useLabelableId.fieldValidityMapping
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
const HAN_NUMERALS = ['零', '〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'];
|
|
@@ -444,7 +444,7 @@ const NumberFieldRoot = /*#__PURE__*/React__namespace.forwardRef(function Number
|
|
|
444
444
|
state: fieldState,
|
|
445
445
|
validation,
|
|
446
446
|
shouldValidateOnChange
|
|
447
|
-
} =
|
|
447
|
+
} = useLabelableId.useFieldRootContext();
|
|
448
448
|
const disabled = fieldDisabled || disabledProp;
|
|
449
449
|
const name = fieldName ?? nameProp;
|
|
450
450
|
const step = stepProp === 'any' ? 1 : stepProp;
|
|
@@ -455,7 +455,7 @@ const NumberFieldRoot = /*#__PURE__*/React__namespace.forwardRef(function Number
|
|
|
455
455
|
const formatStyle = format?.style;
|
|
456
456
|
const inputRef = React__namespace.useRef(null);
|
|
457
457
|
const hiddenInputRef = useRenderElement.useMergedRefs(inputRefProp, validation.inputRef);
|
|
458
|
-
const id =
|
|
458
|
+
const id = useLabelableId.useLabelableId({
|
|
459
459
|
id: idProp
|
|
460
460
|
});
|
|
461
461
|
const [valueUnwrapped, setValueUnwrapped] = useButton.useControlled({
|
|
@@ -1204,7 +1204,7 @@ const NumberFieldDecrement = /*#__PURE__*/React__namespace.forwardRef(function N
|
|
|
1204
1204
|
if (process.env.NODE_ENV !== "production") NumberFieldDecrement.displayName = "NumberFieldDecrement";
|
|
1205
1205
|
|
|
1206
1206
|
const stateAttributesMapping = {
|
|
1207
|
-
...
|
|
1207
|
+
...useLabelableId.fieldValidityMapping,
|
|
1208
1208
|
...stateAttributesMapping$1
|
|
1209
1209
|
};
|
|
1210
1210
|
const NAVIGATE_KEYS = new Set(['Backspace', 'Delete', 'ArrowLeft', 'ArrowRight', 'Tab', 'Enter', 'Escape']);
|
|
@@ -1249,7 +1249,7 @@ const NumberFieldInput = /*#__PURE__*/React__namespace.forwardRef(function Numbe
|
|
|
1249
1249
|
} = useNumberFieldRootContext();
|
|
1250
1250
|
const {
|
|
1251
1251
|
clearErrors
|
|
1252
|
-
} =
|
|
1252
|
+
} = useLabelableId.useFormContext();
|
|
1253
1253
|
const {
|
|
1254
1254
|
validationMode,
|
|
1255
1255
|
setTouched,
|
|
@@ -1257,13 +1257,13 @@ const NumberFieldInput = /*#__PURE__*/React__namespace.forwardRef(function Numbe
|
|
|
1257
1257
|
invalid,
|
|
1258
1258
|
shouldValidateOnChange,
|
|
1259
1259
|
validation
|
|
1260
|
-
} =
|
|
1260
|
+
} = useLabelableId.useFieldRootContext();
|
|
1261
1261
|
const {
|
|
1262
1262
|
labelId
|
|
1263
|
-
} =
|
|
1263
|
+
} = useLabelableId.useLabelableContext();
|
|
1264
1264
|
const hasTouchedInputRef = React__namespace.useRef(false);
|
|
1265
1265
|
const blockRevalidationRef = React__namespace.useRef(false);
|
|
1266
|
-
|
|
1266
|
+
useLabelableId.useField({
|
|
1267
1267
|
id,
|
|
1268
1268
|
commit: validation.commit,
|
|
1269
1269
|
value,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { D as useOnMount, T as Timeout, E as useControlled, n as useValueAsRef, a as useIsoLayoutEffect, b as useStableCallback, h as useTimeout, F as isIOS, d as createChangeEventDetails, G as none, H as visuallyHiddenInput, I as visuallyHidden, J as inputChange, K as inputClear, L as inputBlur, M as inputPaste, N as createGenericEventDetails, o as ownerDocument, O as incrementPress, P as decrementPress, c as useButton, Q as useValueChanged, s as stopEvent, R as keyboard } from './useButton-es.js';
|
|
3
3
|
import { a as useRefWithInit, f as formatErrorMessage, b as useMergedRefs, u as useRenderElement } from './useRenderElement-es.js';
|
|
4
|
-
import { f as fieldValidityMapping, b as useFieldRootContext,
|
|
4
|
+
import { f as fieldValidityMapping, b as useFieldRootContext, c as useLabelableId, a as useFormContext, u as useLabelableContext, d as useField } from './useLabelableId-es.js';
|
|
5
5
|
import { c as clamp } from './clamp-es.js';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
-
import {
|
|
7
|
+
import { o as getWindow } from './floating-ui.utils.dom-es.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that forces a rerender.
|
package/dist/Page/index.cjs
CHANGED
|
@@ -32,11 +32,14 @@ require('../BottomSheet-cjs.js');
|
|
|
32
32
|
require('../ScrollAreaViewport-cjs.js');
|
|
33
33
|
require('../InternalBackdrop-cjs.js');
|
|
34
34
|
require('../useButton-cjs.js');
|
|
35
|
+
require('../CSPContext-cjs.js');
|
|
35
36
|
require('../clamp-cjs.js');
|
|
36
37
|
require('../OverlaySeparator-cjs.js');
|
|
37
38
|
require('../Separator-cjs.js');
|
|
39
|
+
require('../DrawerTitle-cjs.js');
|
|
38
40
|
require('../MenuSubmenuTrigger-cjs.js');
|
|
39
41
|
require('../useCompositeListItem-cjs.js');
|
|
42
|
+
require('../ToolbarRootContext-cjs.js');
|
|
40
43
|
require('../filterDataAttributes-cjs.js');
|
|
41
44
|
|
|
42
45
|
|
package/dist/Page/index.mjs
CHANGED
|
@@ -30,9 +30,12 @@ import '../BottomSheet-es.js';
|
|
|
30
30
|
import '../ScrollAreaViewport-es.js';
|
|
31
31
|
import '../InternalBackdrop-es.js';
|
|
32
32
|
import '../useButton-es.js';
|
|
33
|
+
import '../CSPContext-es.js';
|
|
33
34
|
import '../clamp-es.js';
|
|
34
35
|
import '../OverlaySeparator-es.js';
|
|
35
36
|
import '../Separator-es.js';
|
|
37
|
+
import '../DrawerTitle-es.js';
|
|
36
38
|
import '../MenuSubmenuTrigger-es.js';
|
|
37
39
|
import '../useCompositeListItem-es.js';
|
|
40
|
+
import '../ToolbarRootContext-es.js';
|
|
38
41
|
import '../filterDataAttributes-es.js';
|