@jobber/components 9.16.1 → 9.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActivityIndicator-cjs.js +1 -1
- package/dist/ActivityIndicator-es.js +1 -1
- package/dist/AtlantisPortalContent-es.js +1 -1
- package/dist/AtlantisThemeContext/index.mjs +1 -1
- package/dist/AtlantisThemeContext-cjs.js +1 -1
- package/dist/AtlantisThemeContext-es.js +10 -10
- package/dist/Autocomplete-cjs.js +2 -2
- package/dist/Autocomplete-es.js +5 -5
- package/dist/Body-cjs.js +1 -1
- package/dist/Body-es.js +2 -2
- package/dist/BottomSheet-cjs.js +1 -1
- package/dist/BottomSheet-es.js +3 -3
- package/dist/Box-cjs.js +2 -2
- package/dist/Box-es.js +2 -2
- package/dist/Button/index.mjs +1 -1
- package/dist/Button-es.js +1 -1
- package/dist/Card-cjs.js +1 -1
- package/dist/Card-es.js +1 -1
- package/dist/Checkbox-cjs.js +1 -1
- package/dist/Checkbox-es.js +1 -1
- package/dist/Chip/index.mjs +1 -1
- package/dist/Chip-cjs.js +2 -2
- package/dist/Chip-es.js +2 -2
- package/dist/ChipDismissible-es.js +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
- package/dist/Combobox-cjs.js +3 -3
- package/dist/Combobox-es.js +6 -6
- package/dist/ComboboxPrimitive-cjs.js +1 -1
- package/dist/ComboboxPrimitive-es.js +3 -3
- package/dist/ComboboxSeparator-es.js +4 -4
- package/dist/Container-cjs.js +1 -1
- package/dist/Container-es.js +1 -1
- package/dist/Content-cjs.js +1 -1
- package/dist/Content-es.js +1 -1
- package/dist/ContentBlock-cjs.js +1 -1
- package/dist/ContentBlock-es.js +1 -1
- package/dist/Cover-cjs.js +1 -1
- package/dist/Cover-es.js +1 -1
- package/dist/DataList-es.js +3 -3
- package/dist/DataList.const-cjs.js +0 -1
- package/dist/DataList.const-es.js +1 -2
- package/dist/DataList.module-cjs.js +1 -1
- package/dist/DataList.module-es.js +1 -1
- package/dist/DataList.utils-es.js +6 -6
- package/dist/DataListAction-cjs.js +1 -1
- package/dist/DataListAction-es.js +1 -1
- package/dist/DataListActionsMenu-cjs.js +1 -1
- package/dist/DataListActionsMenu-es.js +2 -2
- package/dist/DataListBulkActions-cjs.js +1 -1
- package/dist/DataListBulkActions-es.js +1 -1
- package/dist/DataListEmptyState-cjs.js +1 -1
- package/dist/DataListEmptyState-es.js +1 -1
- package/dist/DataListHeaderTile-cjs.js +2 -2
- package/dist/DataListHeaderTile-es.js +2 -2
- package/dist/DataListItemActions-cjs.js +1 -1
- package/dist/DataListItemActions-es.js +2 -2
- package/dist/DataListLayoutActions-cjs.js +1 -1
- package/dist/DataListLayoutActions-es.js +2 -2
- package/dist/DataListLoadMore-cjs.js +1 -1
- package/dist/DataListLoadMore-es.js +1 -1
- package/dist/DataListLoadingState-cjs.js +1 -1
- package/dist/DataListLoadingState-es.js +2 -2
- package/dist/DataListOverflowFade-cjs.js +1 -1
- package/dist/DataListOverflowFade-es.js +1 -1
- package/dist/DataListSearch-cjs.js +1 -1
- package/dist/DataListSearch-es.js +1 -1
- package/dist/DataListSortingOptions-cjs.js +1 -1
- package/dist/DataListSortingOptions-es.js +1 -1
- package/dist/DataListStickyHeader-cjs.js +1 -1
- package/dist/DataListStickyHeader-es.js +1 -1
- package/dist/DataListTags-cjs.js +1 -1
- package/dist/DataListTags-es.js +1 -1
- package/dist/DataListTotalCount-cjs.js +1 -1
- package/dist/DataListTotalCount-es.js +2 -2
- package/dist/DataTable/index.mjs +1 -1
- package/dist/DataTable-cjs.js +3 -3
- package/dist/DataTable-es.js +5 -5
- package/dist/DataTableTable-cjs.js +2 -2
- package/dist/DataTableTable-es.js +3 -3
- package/dist/DatePicker-cjs.js +47 -20
- package/dist/DatePicker-es.js +58 -31
- package/dist/Disclosure-cjs.js +1 -1
- package/dist/Disclosure-es.js +1 -1
- package/dist/Divider-cjs.js +1 -1
- package/dist/Divider-es.js +1 -1
- package/dist/DrawerGrid-cjs.js +2 -2
- package/dist/DrawerGrid-es.js +2 -2
- package/dist/FeatureSwitch-cjs.js +1 -1
- package/dist/FeatureSwitch-es.js +1 -1
- package/dist/FieldDescription-es.js +2 -2
- package/dist/FilterPicker-cjs.js +1 -1
- package/dist/FilterPicker-es.js +1 -1
- package/dist/FilterPickerAction-cjs.js +1 -1
- package/dist/FilterPickerAction-es.js +1 -1
- package/dist/FilterPickerContent-cjs.js +1 -1
- package/dist/FilterPickerContent-es.js +2 -2
- package/dist/FilterPickerContentHeader-cjs.js +1 -1
- package/dist/FilterPickerContentHeader-es.js +1 -1
- package/dist/FilterPickerContentList-es.js +2 -2
- package/dist/FilterPickerContentSearch-cjs.js +1 -1
- package/dist/FilterPickerContentSearch-es.js +1 -1
- package/dist/FilterPickerLoadMore-cjs.js +1 -1
- package/dist/FilterPickerLoadMore-es.js +1 -1
- package/dist/FilterPickerOption-cjs.js +1 -1
- package/dist/FilterPickerOption-es.js +1 -1
- package/dist/FormField/index.mjs +1 -1
- package/dist/FormFieldWrapper-cjs.js +1 -1
- package/dist/FormFieldWrapper-es.js +2 -2
- package/dist/FormatFile-cjs.js +1 -6
- package/dist/FormatFile-es.js +1 -6
- package/dist/Frame-cjs.js +1 -1
- package/dist/Frame-es.js +1 -1
- package/dist/Glimmer/index.mjs +1 -1
- package/dist/Glimmer-cjs.js +1 -1
- package/dist/Glimmer-es.js +2 -2
- package/dist/Grid-cjs.js +1 -1
- package/dist/Grid-es.js +1 -1
- package/dist/GridCell-cjs.js +1 -1
- package/dist/GridCell-es.js +1 -1
- package/dist/HelperText-cjs.js +1 -1
- package/dist/HelperText-es.js +1 -1
- package/dist/InputAvatar-cjs.js +1 -1
- package/dist/InputAvatar-es.js +1 -1
- package/dist/InputEmail-es.js +1 -1
- package/dist/InputFile-cjs.js +3 -3
- package/dist/InputFile-es.js +3 -3
- package/dist/InputPhoneNumber-cjs.js +1 -1
- package/dist/InputPhoneNumber-es.js +2 -2
- package/dist/InputText-es.js +1 -1
- package/dist/InputTime-cjs.js +0 -1
- package/dist/InputTime-es.js +1 -2
- package/dist/InputValidation-cjs.js +1 -1
- package/dist/InputValidation-es.js +1 -1
- package/dist/InternalChipDismissible-cjs.js +1 -1
- package/dist/InternalChipDismissible-es.js +2 -2
- package/dist/LegacySelect-cjs.js +1 -1
- package/dist/LegacySelect-es.js +2 -2
- package/dist/LightBox-cjs.js +1 -1
- package/dist/LightBox-es.js +1 -1
- package/dist/Link-cjs.js +1 -1
- package/dist/Link-es.js +1 -1
- package/dist/List-cjs.js +3 -3
- package/dist/List-es.js +7 -7
- package/dist/Markdown-cjs.js +142 -142
- package/dist/Markdown-es.js +148 -148
- package/dist/Menu-cjs.js +3 -3
- package/dist/Menu-es.js +7 -7
- package/dist/MenuSubmenuTrigger-cjs.js +2 -5
- package/dist/MenuSubmenuTrigger-es.js +6 -9
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.mjs +2 -2
- package/dist/MultiSelect-cjs.js +2 -2
- package/dist/MultiSelect-es.js +2 -2
- package/dist/NumberFieldInput-es.js +1 -1
- package/dist/OverlaySeparator-cjs.js +1 -1
- package/dist/OverlaySeparator-es.js +1 -1
- package/dist/Popover-cjs.js +1 -1
- package/dist/Popover-es.js +2 -2
- package/dist/ProgressBar-cjs.js +1 -1
- package/dist/ProgressBar-es.js +1 -1
- package/dist/RadioGroup-cjs.js +1 -1
- package/dist/RadioGroup-es.js +1 -1
- package/dist/ScrollAreaViewport-es.js +3 -3
- package/dist/SegmentedControl-cjs.js +1 -1
- package/dist/SegmentedControl-es.js +2 -2
- package/dist/Select-es.js +2 -2
- package/dist/SelectGroupLabel-cjs.js +1 -4
- package/dist/SelectGroupLabel-es.js +6 -9
- package/dist/SelectPrimitive-cjs.js +1 -1
- package/dist/SelectPrimitive-es.js +2 -2
- package/dist/SideDrawer-cjs.js +1 -1
- package/dist/SideDrawer-es.js +1 -1
- package/dist/Spinner-cjs.js +1 -1
- package/dist/Spinner-es.js +1 -1
- package/dist/StatusIndicator-cjs.js +1 -1
- package/dist/StatusIndicator-es.js +1 -1
- package/dist/Switch-cjs.js +1 -1
- package/dist/Switch-es.js +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.mjs +1 -1
- package/dist/Tabs-cjs.js +1 -1
- package/dist/Tabs-es.js +6 -6
- package/dist/Thumbnail-cjs.js +1 -1
- package/dist/Thumbnail-es.js +2 -2
- package/dist/Tiles-cjs.js +1 -1
- package/dist/Tiles-es.js +1 -1
- package/dist/Tooltip-cjs.js +1 -1
- package/dist/Tooltip-es.js +2 -2
- package/dist/Typography-cjs.js +3 -3
- package/dist/Typography-es.js +3 -3
- package/dist/_baseEach-cjs.js +1 -1
- package/dist/_baseEach-es.js +7 -7
- package/dist/_baseFlatten-es.js +1 -1
- package/dist/_getAllKeys-cjs.js +2 -8
- package/dist/_getAllKeys-es.js +4 -10
- package/dist/_getTag-es.js +1 -1
- package/dist/_isIterateeCall-es.js +3 -3
- package/dist/_setToString-es.js +2 -2
- package/dist/buttonRenderAdapter-cjs.js +2 -2
- package/dist/buttonRenderAdapter-es.js +2 -2
- package/dist/debounce-es.js +4 -4
- package/dist/dialogReturnFocus-es.js +2 -2
- package/dist/docs/Icon/Icon.md +2 -0
- package/dist/floating-ui.react-es.js +2 -2
- package/dist/identity-es.js +5 -5
- package/dist/index.mjs +7 -7
- package/dist/isSymbol-es.js +1 -1
- package/dist/isTypedArray-cjs.js +4 -4
- package/dist/isTypedArray-es.js +6 -6
- package/dist/keysIn-cjs.js +2 -2
- package/dist/keysIn-es.js +5 -5
- package/dist/noop-es.js +4 -4
- package/dist/primitives/BottomSheet/index.mjs +1 -1
- package/dist/primitives/index.mjs +1 -1
- package/dist/scrollable-es.js +1 -1
- package/dist/showToast-cjs.js +1 -1
- package/dist/showToast-es.js +1 -1
- package/dist/unstyledPrimitives/index.cjs +3 -3
- package/dist/unstyledPrimitives/index.mjs +9 -9
- package/dist/useCompositeListItem-es.js +3 -3
- package/dist/useScrollLock-cjs.js +14 -14
- package/dist/useScrollLock-es.js +15 -15
- package/dist/useScrollToActive-cjs.js +1 -1
- package/dist/useScrollToActive-es.js +8 -8
- package/package.json +12 -7
package/dist/Menu-es.js
CHANGED
|
@@ -2,7 +2,7 @@ import React__default, { useState, useRef, useId, useMemo } from 'react';
|
|
|
2
2
|
import { useWindowDimensions, useRefocusOnActivator, useIsSmallScreen } from '@jobber/hooks';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
5
|
-
import { o as offset, f as flip, m as size, u as useFloating,
|
|
5
|
+
import { o as offset, f as flip, m as size, u as useFloating, a as autoUpdate, e as useDismiss, n as useListNavigation, g as useInteractions, F as FloatingPortal } from './floating-ui.react-es.js';
|
|
6
6
|
import { d as defineMessages, u as useAtlantisI18n } from './useAtlantisI18n-es.js';
|
|
7
7
|
import './AtlantisContext-es.js';
|
|
8
8
|
import { B as Button } from './Button-es.js';
|
|
@@ -13,15 +13,15 @@ import { c as calculateMaxHeight } from './maxHeight-es.js';
|
|
|
13
13
|
import { m as mergeProps } from './useRenderElement-es.js';
|
|
14
14
|
import { n as normalizeBaseUiButtonProps, i as isAtlantisButtonRenderTarget, s as stripNativeTypeFromButtonRenderTarget, r as renderAtlantisButtonTarget } from './buttonRenderAdapter-es.js';
|
|
15
15
|
import { O as OverlaySeparator } from './OverlaySeparator-es.js';
|
|
16
|
-
import {
|
|
16
|
+
import { B as BottomSheet } from './BottomSheet-es.js';
|
|
17
17
|
import './HelperText-es.js';
|
|
18
18
|
import './tslib.es6-es.js';
|
|
19
19
|
import './SelectPrimitive-es.js';
|
|
20
|
-
import {
|
|
20
|
+
import { f as DrawerTrigger } from './ScrollAreaViewport-es.js';
|
|
21
21
|
import { D as DrawerTitle, a as DrawerClose } from './DrawerTitle-es.js';
|
|
22
|
-
import { M as MenuTrigger$1, a as MenuLinkItem, b as MenuItem$1, c as MenuRadioItem$1, d as MenuRadioItemIndicator, e as MenuSubmenuTrigger$1, f as MenuRoot, g as
|
|
22
|
+
import { M as MenuTrigger$1, a as MenuLinkItem, b as MenuItem$1, c as MenuRadioItem$1, d as MenuRadioItemIndicator, e as MenuSubmenuTrigger$1, f as MenuRoot, g as MenuGroupLabel$1, h as MenuGroup$1, i as MenuPortal$1, j as MenuPositioner, k as MenuPopup, l as MenuSubmenuRoot, m as MenuRadioGroup$1, n as MenuBackdrop } from './MenuSubmenuTrigger-es.js';
|
|
23
23
|
|
|
24
|
-
var styles$2 = {"wrapper":"h-nk89U2n6Q-","floatingContainer":"krpkWzoaVcc-","menu":"_7sU7mp1w0jM-","legacySection":"_4x-vvEmn4gM-","
|
|
24
|
+
var styles$2 = {"wrapper":"h-nk89U2n6Q-","floatingContainer":"krpkWzoaVcc-","menu":"_7sU7mp1w0jM-","legacySection":"_4x-vvEmn4gM-","sectionHeader":"MZJgunQcmdQ-","legacyAction":"_-1GOlrzd098-","action":"NYXV5w4pd0c-","destructive":"baYK2zQ6-GA-","overlay":"A7T14ALVEKg-","fullWidth":"Lgbn9IRPI5Y-","screenReaderOnly":"o-ps580KdWI-"};
|
|
25
25
|
|
|
26
26
|
const SMALL_SCREEN_BREAKPOINT = 490;
|
|
27
27
|
const MENU_OFFSET = 6;
|
|
@@ -218,9 +218,9 @@ function MenuPortal({ children }) {
|
|
|
218
218
|
return React__default.createElement(FloatingPortal, null, children);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
var styles$1 = {"submenuHeader":"Vw9MFreevMU-","submenuTitle":"wpNMcBuNwwY-"
|
|
221
|
+
var styles$1 = {"submenuHeader":"Vw9MFreevMU-","submenuTitle":"wpNMcBuNwwY-"};
|
|
222
222
|
|
|
223
|
-
var styles = {"
|
|
223
|
+
var styles = {"floatingContainer":"ba-Kj6mvQUw-","composableBackdrop":"wqvf3hcDMM0-","menu":"-DayvgvIcVo-","separator":"jnggqK3YTIU-","triggerWrapper":"oRQQVVq-yxA-","composableMenu":"atokGnmWVls-","composableDropdownPopup":"Uk14qmg-Fqc-","composableDropdownScroller":"CJKnGqldjF0-","bottomSheetMenuContent":"J3CW8IU48RM-","composableItem":"zSMkwrZodBk-","composableItemNoLeadingSlot":"qbDWOwkPouM-","composableSection":"_353OIWGazfE-","composableGroup":"Q0ssxff-Qo4-","composableRadioGroup":"_2VyPM45lQBE-","composableGroupHeader":"BklkzNPbJ5Q-","composableGroupLabel":"_5-p9DbyRav4-","action":"M1BgN-oCmKw-","destructive":"U9ihZZavz9w-","bottomSheetSubmenuPopup":"nf47GCAYI-c-","menuHidden":"cuw8ct7rX6s-","bottomSheetSubmenuBody":"a6uZEXgX8sg-","screenReaderOnly":"Bzvkz60bwWE-"};
|
|
224
224
|
|
|
225
225
|
function mergeUnsafeProps(props) {
|
|
226
226
|
return mergeProps({
|
|
@@ -1426,7 +1426,7 @@ const MenuPopup = /*#__PURE__*/React__namespace.forwardRef(function MenuPopup(co
|
|
|
1426
1426
|
side,
|
|
1427
1427
|
align
|
|
1428
1428
|
} = useMenuPositionerContext();
|
|
1429
|
-
const insideToolbar = SelectGroupLabel.useToolbarRootContext(
|
|
1429
|
+
const insideToolbar = SelectGroupLabel.useToolbarRootContext() != null;
|
|
1430
1430
|
const open = store.useState('open');
|
|
1431
1431
|
const transitionStatus = store.useState('transitionStatus');
|
|
1432
1432
|
const popupProps = store.useState('popupProps');
|
|
@@ -1983,9 +1983,6 @@ const MenubarContext = /*#__PURE__*/React__namespace.createContext(null);
|
|
|
1983
1983
|
if (process.env.NODE_ENV !== "production") MenubarContext.displayName = "MenubarContext";
|
|
1984
1984
|
function useMenubarContext(optional) {
|
|
1985
1985
|
const context = React__namespace.useContext(MenubarContext);
|
|
1986
|
-
if (context === null && !optional) {
|
|
1987
|
-
throw new Error(process.env.NODE_ENV !== "production" ? 'Base UI: MenubarContext is missing. Menubar parts must be placed within <Menubar>.' : useRenderElement.formatErrorMessage(5));
|
|
1988
|
-
}
|
|
1989
1986
|
return context;
|
|
1990
1987
|
}
|
|
1991
1988
|
|
|
@@ -2929,7 +2926,7 @@ function useStickIfOpen(open, openReason) {
|
|
|
2929
2926
|
return stickIfOpen;
|
|
2930
2927
|
}
|
|
2931
2928
|
function useMenuParent() {
|
|
2932
|
-
const menubarContext = useMenubarContext(
|
|
2929
|
+
const menubarContext = useMenubarContext();
|
|
2933
2930
|
const parent = React__namespace.useMemo(() => {
|
|
2934
2931
|
if (menubarContext) {
|
|
2935
2932
|
return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { a as useRefWithInit, f as formatErrorMessage, u as useRenderElement, m as mergeProps, b as useMergedRefs, N as NOOP, E as EMPTY_OBJECT, c as EMPTY_ARRAY, w as warn } from './useRenderElement-es.js';
|
|
3
|
-
import { bl as isMouseLikePointerType, f as useTimeout, I as getWindow, bm as mergeCleanups,
|
|
3
|
+
import { bl as isMouseLikePointerType, f as useTimeout, I as getWindow, bm as mergeCleanups, bn as mac, a8 as webkit, z as addEventListener, au as isElement, bo as createAttribute, D as activeElement, o as ownerDocument, a0 as contains, bp as isTargetInsideEnabledTrigger, j as createChangeEventDetails, bq as triggerFocus, e as getTarget, br as isTypeableElement, bs as matchesFocusVisible, i as isHTMLElement, bt as triggerPress, bu as escapeKey, H as useOnMount, T as Timeout, aM as useFloatingTree, aJ as useFloatingParentNodeId, d as useStableCallback, c as useIsoLayoutEffect, bv as triggerHover, bw as isInteractiveElement, bx as getNodeChildren, w as useValueAsRef, q as popupTransitionStateMapping, by as dispatchClickWithModifiers, ad as itemPress, h as useButton, t as transitionStatusMapping, u as useBaseUiId, n as useOpenChangeComplete, X as outsidePress, s as FloatingFocusManager, a2 as FloatingPortal, a3 as DROPDOWN_COLLISION_AVOIDANCE, bz as useAnimationsFinished, bA as POPUP_COLLISION_AVOIDANCE, a4 as InternalBackdrop, a5 as inertValue, bB as FloatingNode, bC as siblingOpen, v as useControlled, m as useTransitionStatus, bD as FloatingTreeStore, aL as PopupTriggerMap, U as ReactStore, bE as fastComponent, aI as useId, bF as useFloatingNodeId, R as useOpenInteractionType, b8 as useImplicitActiveTrigger, b9 as useOpenStateTransitions, bG as attachPreventUnmountOnClose, b5 as setPopupOpenState, W as focusOut, aT as listNavigation, bH as useSyncedFloatingRootContext, p as imperativeAction, Z as useDismiss, a6 as useDirection, bI as TYPEAHEAD_RESET_MS, F as FOCUSABLE_POPUP_PROPS, b4 as usePopupInteractionProps, ba as PopupHandleAttachment, bJ as FloatingTree, bK as useCompositeRootContext, a as isLastTraversableNode, g as getParentNode, bL as isOutsideEvent, bM as getTabbableAfterElement, bN as getNextTabbable, bO as getTabbableBeforeElement, bP as fastComponentRef, bb as useTriggerDataForwarding, a1 as cancelOpen, Y as useClick, $ as pressableTriggerOpenStateMapping, bQ as FocusGuard, bR as PATIENT_CLICK_THRESHOLD, bS as useTriggerRegistration, S as SafeReact, be as triggerOpenStateMapping, bT as voiceOver } from './useScrollLock-es.js';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
-
import { A as useCompositeListItem, z as getDisabledMountTransitionStyles, w as useAnchorPositioning, v as useAnchoredPopupScrollLock, x as usePositioner, C as CompositeList,
|
|
5
|
+
import { A as useCompositeListItem, z as getDisabledMountTransitionStyles, w as useAnchorPositioning, v as useAnchoredPopupScrollLock, x as usePositioner, C as CompositeList, k as useListNavigation, l as useTypeahead, p as isMouseWithinBounds } from './useCompositeListItem-es.js';
|
|
6
6
|
import { u as useToolbarRootContext, l as isElementDisabled } from './SelectGroupLabel-es.js';
|
|
7
7
|
import { C as COMPOSITE_KEYS } from './scrollEdges-es.js';
|
|
8
|
-
import { N as NullStore,
|
|
8
|
+
import { N as NullStore, p as popupStoreSelectors, o as createInitialPopupStoreState, q as usePopupHandleStore } from './ScrollAreaViewport-es.js';
|
|
9
9
|
import * as ReactDOM from 'react-dom';
|
|
10
10
|
|
|
11
11
|
function resolveValue(value, pointerType) {
|
|
@@ -1404,7 +1404,7 @@ const MenuPopup = /*#__PURE__*/React.forwardRef(function MenuPopup(componentProp
|
|
|
1404
1404
|
side,
|
|
1405
1405
|
align
|
|
1406
1406
|
} = useMenuPositionerContext();
|
|
1407
|
-
const insideToolbar = useToolbarRootContext(
|
|
1407
|
+
const insideToolbar = useToolbarRootContext() != null;
|
|
1408
1408
|
const open = store.useState('open');
|
|
1409
1409
|
const transitionStatus = store.useState('transitionStatus');
|
|
1410
1410
|
const popupProps = store.useState('popupProps');
|
|
@@ -1961,9 +1961,6 @@ const MenubarContext = /*#__PURE__*/React.createContext(null);
|
|
|
1961
1961
|
if (process.env.NODE_ENV !== "production") MenubarContext.displayName = "MenubarContext";
|
|
1962
1962
|
function useMenubarContext(optional) {
|
|
1963
1963
|
const context = React.useContext(MenubarContext);
|
|
1964
|
-
if (context === null && !optional) {
|
|
1965
|
-
throw new Error(process.env.NODE_ENV !== "production" ? 'Base UI: MenubarContext is missing. Menubar parts must be placed within <Menubar>.' : formatErrorMessage(5));
|
|
1966
|
-
}
|
|
1967
1964
|
return context;
|
|
1968
1965
|
}
|
|
1969
1966
|
|
|
@@ -2907,7 +2904,7 @@ function useStickIfOpen(open, openReason) {
|
|
|
2907
2904
|
return stickIfOpen;
|
|
2908
2905
|
}
|
|
2909
2906
|
function useMenuParent() {
|
|
2910
|
-
const menubarContext = useMenubarContext(
|
|
2907
|
+
const menubarContext = useMenubarContext();
|
|
2911
2908
|
const parent = React.useMemo(() => {
|
|
2912
2909
|
if (menubarContext) {
|
|
2913
2910
|
return {
|
|
@@ -3085,4 +3082,4 @@ const MenuSubmenuTrigger = /*#__PURE__*/React.forwardRef(function MenuSubmenuTri
|
|
|
3085
3082
|
});
|
|
3086
3083
|
if (process.env.NODE_ENV !== "production") MenuSubmenuTrigger.displayName = "MenuSubmenuTrigger";
|
|
3087
3084
|
|
|
3088
|
-
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,
|
|
3085
|
+
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, MenuGroupLabel as g, MenuGroup as h, MenuPortal as i, MenuPositioner as j, MenuPopup as k, MenuSubmenuRoot as l, MenuRadioGroup as m, MenuBackdrop as n, useMenuPositionerContext as o, useMenuItem as p, itemMapping as q, createNullMenuStore as r, useMenuRootContext as u };
|
package/dist/Modal/index.cjs
CHANGED
|
@@ -31,7 +31,7 @@ require('../keysIn-cjs.js');
|
|
|
31
31
|
require('../_isIterateeCall-cjs.js');
|
|
32
32
|
require('../_setToString-cjs.js');
|
|
33
33
|
|
|
34
|
-
var styles$1 = {"container":"y3M-9xoEnk0-","containerFullScreen":"IsN-kBe8icY-","overlay":"zkyJp1mib-U-","modal":"gMPgiggaud8-","header":"_5sBzUnyOqD0-","closeButton":"_4gw63G7IYG0-","actionBar":"cwVJrrJkNDg-","leftAction":"MkD4pNUKeAA-","rightAction":"C-yC8JKpQLg-"
|
|
34
|
+
var styles$1 = {"container":"y3M-9xoEnk0-","containerFullScreen":"IsN-kBe8icY-","overlay":"zkyJp1mib-U-","modal":"gMPgiggaud8-","header":"_5sBzUnyOqD0-","closeButton":"_4gw63G7IYG0-","actionBar":"cwVJrrJkNDg-","leftAction":"MkD4pNUKeAA-","rightAction":"C-yC8JKpQLg-"};
|
|
35
35
|
|
|
36
36
|
var sizes = {"small":"BSZvIAUzFEU-","large":"-ydIALYVvGg-","fullScreen":"_9wD-TaKfDys-","spinning":"_10FfgKITqY0-"};
|
|
37
37
|
|
|
@@ -196,7 +196,7 @@ function useModalContext() {
|
|
|
196
196
|
return React.useContext(ModalContext);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
var styles = {"overlay":"cRhQeXmZobs-","overlayBackground":"PO6ZUDxQoFE-","modal":"OiqCKNmbHZ0-","modalWithStickyRegions":"_6dGKr5VVf9Y-","stickyHeaderRegion":"uo6BCADQuLU-","stickyActionsRegion":"Vq0y9ggAxtI-","modalBody":"zM9SWwAd5Dg-","header":"GDWGHwmjgAc-","closeButton":"KJlGo4z-E6Q-","actionBar":"ZGrhWCAymCw-","leftAction":"hOiEWds2Vq8-","rightAction":"K31NzxPZP9s-"
|
|
199
|
+
var styles = {"overlay":"cRhQeXmZobs-","overlayBackground":"PO6ZUDxQoFE-","modal":"OiqCKNmbHZ0-","modalWithStickyRegions":"_6dGKr5VVf9Y-","stickyHeaderRegion":"uo6BCADQuLU-","stickyActionsRegion":"Vq0y9ggAxtI-","modalBody":"zM9SWwAd5Dg-","header":"GDWGHwmjgAc-","closeButton":"KJlGo4z-E6Q-","actionBar":"ZGrhWCAymCw-","leftAction":"hOiEWds2Vq8-","rightAction":"K31NzxPZP9s-"};
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* @deprecated Use the `Dialog` component instead, which owns its own styling.
|
package/dist/Modal/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import '../keysIn-es.js';
|
|
|
29
29
|
import '../_isIterateeCall-es.js';
|
|
30
30
|
import '../_setToString-es.js';
|
|
31
31
|
|
|
32
|
-
var styles$1 = {"container":"y3M-9xoEnk0-","containerFullScreen":"IsN-kBe8icY-","overlay":"zkyJp1mib-U-","modal":"gMPgiggaud8-","header":"_5sBzUnyOqD0-","closeButton":"_4gw63G7IYG0-","actionBar":"cwVJrrJkNDg-","leftAction":"MkD4pNUKeAA-","rightAction":"C-yC8JKpQLg-"
|
|
32
|
+
var styles$1 = {"container":"y3M-9xoEnk0-","containerFullScreen":"IsN-kBe8icY-","overlay":"zkyJp1mib-U-","modal":"gMPgiggaud8-","header":"_5sBzUnyOqD0-","closeButton":"_4gw63G7IYG0-","actionBar":"cwVJrrJkNDg-","leftAction":"MkD4pNUKeAA-","rightAction":"C-yC8JKpQLg-"};
|
|
33
33
|
|
|
34
34
|
var sizes = {"small":"BSZvIAUzFEU-","large":"-ydIALYVvGg-","fullScreen":"_9wD-TaKfDys-","spinning":"_10FfgKITqY0-"};
|
|
35
35
|
|
|
@@ -194,7 +194,7 @@ function useModalContext() {
|
|
|
194
194
|
return useContext(ModalContext);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
var styles = {"overlay":"cRhQeXmZobs-","overlayBackground":"PO6ZUDxQoFE-","modal":"OiqCKNmbHZ0-","modalWithStickyRegions":"_6dGKr5VVf9Y-","stickyHeaderRegion":"uo6BCADQuLU-","stickyActionsRegion":"Vq0y9ggAxtI-","modalBody":"zM9SWwAd5Dg-","header":"GDWGHwmjgAc-","closeButton":"KJlGo4z-E6Q-","actionBar":"ZGrhWCAymCw-","leftAction":"hOiEWds2Vq8-","rightAction":"K31NzxPZP9s-"
|
|
197
|
+
var styles = {"overlay":"cRhQeXmZobs-","overlayBackground":"PO6ZUDxQoFE-","modal":"OiqCKNmbHZ0-","modalWithStickyRegions":"_6dGKr5VVf9Y-","stickyHeaderRegion":"uo6BCADQuLU-","stickyActionsRegion":"Vq0y9ggAxtI-","modalBody":"zM9SWwAd5Dg-","header":"GDWGHwmjgAc-","closeButton":"KJlGo4z-E6Q-","actionBar":"ZGrhWCAymCw-","leftAction":"hOiEWds2Vq8-","rightAction":"K31NzxPZP9s-"};
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* @deprecated Use the `Dialog` component instead, which owns its own styling.
|
package/dist/MultiSelect-cjs.js
CHANGED
|
@@ -6,9 +6,9 @@ var Checkbox = require('./Checkbox-cjs.js');
|
|
|
6
6
|
var Text = require('./Text-cjs.js');
|
|
7
7
|
var Icon = require('./Icon-cjs.js');
|
|
8
8
|
|
|
9
|
-
var styles$1 = {"multiSelectContainer":"bR1N0mdMeZU-","multiSelect":"_7naerR7479Q-","active":"SpV9TqBIR60-","small":"TdyW0RCheH4-","large":"eBeKgF0JxEQ-"
|
|
9
|
+
var styles$1 = {"multiSelectContainer":"bR1N0mdMeZU-","multiSelect":"_7naerR7479Q-","active":"SpV9TqBIR60-","small":"TdyW0RCheH4-","large":"eBeKgF0JxEQ-"};
|
|
10
10
|
|
|
11
|
-
var styles = {"dropDownMenuContainer":"zossMHCpMPU-","option":"poS49c-LqiU-","active":"NxmdtEQX0fQ-"
|
|
11
|
+
var styles = {"dropDownMenuContainer":"zossMHCpMPU-","option":"poS49c-LqiU-","active":"NxmdtEQX0fQ-"};
|
|
12
12
|
|
|
13
13
|
function DropDownMenu({ options, setOptions }) {
|
|
14
14
|
const [highlightedIndex, setHighlightedIndex] = React.useState(0);
|
package/dist/MultiSelect-es.js
CHANGED
|
@@ -4,9 +4,9 @@ import { C as Checkbox } from './Checkbox-es.js';
|
|
|
4
4
|
import { T as Text } from './Text-es.js';
|
|
5
5
|
import { I as Icon } from './Icon-es.js';
|
|
6
6
|
|
|
7
|
-
var styles$1 = {"multiSelectContainer":"bR1N0mdMeZU-","multiSelect":"_7naerR7479Q-","active":"SpV9TqBIR60-","small":"TdyW0RCheH4-","large":"eBeKgF0JxEQ-"
|
|
7
|
+
var styles$1 = {"multiSelectContainer":"bR1N0mdMeZU-","multiSelect":"_7naerR7479Q-","active":"SpV9TqBIR60-","small":"TdyW0RCheH4-","large":"eBeKgF0JxEQ-"};
|
|
8
8
|
|
|
9
|
-
var styles = {"dropDownMenuContainer":"zossMHCpMPU-","option":"poS49c-LqiU-","active":"NxmdtEQX0fQ-"
|
|
9
|
+
var styles = {"dropDownMenuContainer":"zossMHCpMPU-","option":"poS49c-LqiU-","active":"NxmdtEQX0fQ-"};
|
|
10
10
|
|
|
11
11
|
function DropDownMenu({ options, setOptions }) {
|
|
12
12
|
const [highlightedIndex, setHighlightedIndex] = useState(0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { v as useControlled, w as useValueAsRef, c as useIsoLayoutEffect, d as useStableCallback, x as
|
|
2
|
+
import { v as useControlled, w as useValueAsRef, c as useIsoLayoutEffect, d as useStableCallback, x as none, j as createChangeEventDetails, y as ios, z as addEventListener, B as visuallyHiddenInput, C as visuallyHidden, D as activeElement, o as ownerDocument, E as wheel, G as createGenericEventDetails, H as useOnMount, T as Timeout, f as useTimeout, I as getWindow, h as useButton, J as incrementPress, K as decrementPress, L as useValueChanged, S as SafeReact, M as inputPaste, N as keyboard, O as inputClear, P as inputChange, Q as inputBlur } from './useScrollLock-es.js';
|
|
3
3
|
import { f as formatErrorMessage, b as useMergedRefs, u as useRenderElement, a as useRefWithInit, N as NOOP, w as warn } from './useRenderElement-es.js';
|
|
4
4
|
import { f as fieldValidityMapping, b as useFieldRootContext, a as useFormContext, c as useLabelableId, u as useLabelableContext, d as useRegisterFieldControl } from './useCompositeListItem-es.js';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var Separator = require('./Separator-cjs.js');
|
|
7
7
|
|
|
8
|
-
var styles = {"separator":"P9RktRZz8u4-"
|
|
8
|
+
var styles = {"separator":"P9RktRZz8u4-"};
|
|
9
9
|
|
|
10
10
|
const OverlaySeparator = React.forwardRef(function OverlaySeparator(_a, ref) {
|
|
11
11
|
var { className } = _a, props = tslib_es6.__rest(_a, ["className"]);
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { S as Separator } from './Separator-es.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"separator":"P9RktRZz8u4-"
|
|
6
|
+
var styles = {"separator":"P9RktRZz8u4-"};
|
|
7
7
|
|
|
8
8
|
const OverlaySeparator = React__default.forwardRef(function OverlaySeparator(_a, ref) {
|
|
9
9
|
var { className } = _a, props = __rest(_a, ["className"]);
|
package/dist/Popover-cjs.js
CHANGED
|
@@ -71,7 +71,7 @@ function isHTMLElement(el) {
|
|
|
71
71
|
return (globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) && el instanceof Element;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
var styles = {"popover":"rY8OtuArIi0-","
|
|
74
|
+
var styles = {"popover":"rY8OtuArIi0-","dismissButton":"HyA0TM5soDM-","arrow":"uClo-5-xhAc-"};
|
|
75
75
|
|
|
76
76
|
const usePopoverStyles = () => {
|
|
77
77
|
return {
|
package/dist/Popover-es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from './tslib.es6-es.js';
|
|
2
2
|
import React__default, { useState, useMemo, createContext, useContext } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import {
|
|
4
|
+
import { o as offset, s as shift, l as limitShift, k as autoPlacement, f as flip, b as arrow, u as useFloating, a as autoUpdate, F as FloatingPortal } from './floating-ui.react-es.js';
|
|
5
5
|
import { useRefocusOnActivator } from '@jobber/hooks';
|
|
6
6
|
import { A as AtlantisPortalContent } from './AtlantisPortalContent-es.js';
|
|
7
7
|
import { d as defineMessages, u as useAtlantisI18n } from './useAtlantisI18n-es.js';
|
|
@@ -69,7 +69,7 @@ function isHTMLElement(el) {
|
|
|
69
69
|
return (globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) && el instanceof Element;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
var styles = {"popover":"rY8OtuArIi0-","
|
|
72
|
+
var styles = {"popover":"rY8OtuArIi0-","dismissButton":"HyA0TM5soDM-","arrow":"uClo-5-xhAc-"};
|
|
73
73
|
|
|
74
74
|
const usePopoverStyles = () => {
|
|
75
75
|
return {
|
package/dist/ProgressBar-cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ var classnames = require('classnames');
|
|
|
5
5
|
var useAtlantisI18n = require('./useAtlantisI18n-cjs.js');
|
|
6
6
|
require('./AtlantisContext-cjs.js');
|
|
7
7
|
|
|
8
|
-
var styles = {"ProgressBar":"p9AgTzIbTwY-","SteppedProgressBar":"w8NAw4ZMB6g-","wrapper":"d4oS-DGtcKA-"
|
|
8
|
+
var styles = {"ProgressBar":"p9AgTzIbTwY-","SteppedProgressBar":"w8NAw4ZMB6g-","wrapper":"d4oS-DGtcKA-"};
|
|
9
9
|
|
|
10
10
|
var sizes = {"smaller":"dylWWgubHwM-","small":"z92YJQrscvI-","base":"DKfNM1to61A-","spinning":"GHfs7cB4nQQ-"};
|
|
11
11
|
|
package/dist/ProgressBar-es.js
CHANGED
|
@@ -3,7 +3,7 @@ import classnames from 'classnames';
|
|
|
3
3
|
import { d as defineMessages, u as useAtlantisI18n } from './useAtlantisI18n-es.js';
|
|
4
4
|
import './AtlantisContext-es.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"ProgressBar":"p9AgTzIbTwY-","SteppedProgressBar":"w8NAw4ZMB6g-","wrapper":"d4oS-DGtcKA-"
|
|
6
|
+
var styles = {"ProgressBar":"p9AgTzIbTwY-","SteppedProgressBar":"w8NAw4ZMB6g-","wrapper":"d4oS-DGtcKA-"};
|
|
7
7
|
|
|
8
8
|
var sizes = {"smaller":"dylWWgubHwM-","small":"z92YJQrscvI-","base":"DKfNM1to61A-","spinning":"GHfs7cB4nQQ-"};
|
|
9
9
|
|
package/dist/RadioGroup-cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var Text = require('./Text-cjs.js');
|
|
6
6
|
|
|
7
|
-
var styles = {"radioGroup":"KZfSK2vhTyI-","directionHorizontal":"PbxbMNv8uwM-","input":"w1Rr3bk2t5g-","label":"gN41T07x0l0-","description":"Ke2WKKuvmRo-","children":"JZOA-psW-FI-"
|
|
7
|
+
var styles = {"radioGroup":"KZfSK2vhTyI-","directionHorizontal":"PbxbMNv8uwM-","input":"w1Rr3bk2t5g-","label":"gN41T07x0l0-","description":"Ke2WKKuvmRo-","children":"JZOA-psW-FI-"};
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* For rendering props only. To make updates to
|
package/dist/RadioGroup-es.js
CHANGED
|
@@ -2,7 +2,7 @@ import React__default, { useId } from 'react';
|
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { T as Text } from './Text-es.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"radioGroup":"KZfSK2vhTyI-","directionHorizontal":"PbxbMNv8uwM-","input":"w1Rr3bk2t5g-","label":"gN41T07x0l0-","description":"Ke2WKKuvmRo-","children":"JZOA-psW-FI-"
|
|
5
|
+
var styles = {"radioGroup":"KZfSK2vhTyI-","directionHorizontal":"PbxbMNv8uwM-","input":"w1Rr3bk2t5g-","label":"gN41T07x0l0-","description":"Ke2WKKuvmRo-","children":"JZOA-psW-FI-"};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* For rendering props only. To make updates to
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { E as EMPTY_OBJECT, N as NOOP, f as formatErrorMessage, u as useRenderElement, m as mergeProps } from './useRenderElement-es.js';
|
|
3
|
-
import { aK as FloatingRootStore, aL as PopupTriggerMap, b3 as shimExports,
|
|
3
|
+
import { aK as FloatingRootStore, aL as PopupTriggerMap, b3 as shimExports, t as transitionStatusMapping, ab as popupStateMapping, a2 as FloatingPortal, a4 as InternalBackdrop, a5 as inertValue, Z as useDismiss, b2 as useScrollLock, c as useIsoLayoutEffect, b4 as usePopupInteractionProps, e as getTarget, a0 as contains, U as ReactStore, b5 as setPopupOpenState, b6 as usePopupRootStore, b7 as usePopupRootSync, b8 as useImplicitActiveTrigger, b9 as useOpenStateTransitions, j as createChangeEventDetails, ba as PopupHandleAttachment, p as imperativeAction, u as useBaseUiId, bb as useTriggerDataForwarding, h as useButton, Y as useClick, bc as useOpenMethodTriggerProps, bd as CLICK_TRIGGER_IDENTIFIER, be as triggerOpenStateMapping, q as popupTransitionStateMapping, bf as CommonPopupDataAttributes, d as useStableCallback, o as ownerDocument, S as SafeReact, l as error, n as useOpenChangeComplete, F as FOCUSABLE_POPUP_PROPS, s as FloatingFocusManager, v as useControlled, x as none, bg as android, I as getWindow, z as addEventListener, bh as closeWatcher, a7 as useAnimationFrame, bi as TransitionStatusDataAttributes, D as activeElement, au as isElement, bj as swipe, bk as BASE_UI_SWIPE_IGNORE_SELECTOR, f as useTimeout, a6 as useDirection, a8 as webkit } from './useScrollLock-es.js';
|
|
4
4
|
import { c as clamp, C as COMPOSITE_KEYS, u as useCSPContext, s as styleDisableScrollbar, n as normalizeScrollOffset } from './scrollEdges-es.js';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
|
-
import {
|
|
7
|
+
import { h as hasScrollableAncestor, f as findScrollableTouchTarget } from './scrollable-es.js';
|
|
8
8
|
|
|
9
9
|
function getEmptyRootContext() {
|
|
10
10
|
return new FloatingRootStore({
|
|
@@ -3956,4 +3956,4 @@ function applyOverscrollThumb(thumbEl, sizeVar, scrollFromStart, maxScroll, cont
|
|
|
3956
3956
|
return offset + (overscroll > 0 ? size - nextSize : 0);
|
|
3957
3957
|
}
|
|
3958
3958
|
|
|
3959
|
-
export {
|
|
3959
|
+
export { getDisplacement as A, DrawerVirtualKeyboardContext as B, getElementAtPoint as C, DrawerContent as D, useScrollAreaRootContext as E, scrollAreaStateAttributesMapping as F, getOffset as G, useScrollAreaViewportContext as H, NullStore as N, ScrollAreaRoot as S, ScrollAreaViewport as a, DrawerPortal as b, DrawerBackdrop as c, DrawerViewport as d, DrawerPopup as e, DrawerTrigger as f, DrawerRoot as g, DialogTrigger as h, DialogPortal as i, DialogViewport as j, useDialogPortalContext as k, dialogStateAttributesMapping as l, useRenderDialogRoot as m, createNullDialogStore as n, createInitialPopupStoreState as o, popupStoreSelectors as p, usePopupHandleStore as q, useDrawerProviderContext as r, DrawerBackdropCssVars as s, DrawerPopupCssVars as t, useDialogRootContext as u, DrawerProviderContext as v, useDrawerRootContext as w, DrawerPopupDataAttributes as x, useSwipeDismiss as y, getElementTransform as z };
|
|
@@ -40,7 +40,7 @@ function SegmentedControlOption({ value, children, ariaLabel, }) {
|
|
|
40
40
|
React.createElement("label", { htmlFor: inputId }, children)));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
var styles = {"container":"FDDKTZkTdfM-","small":"V41prM1xcKI-","large":"DbXvfxdDF-c-"
|
|
43
|
+
var styles = {"container":"FDDKTZkTdfM-","small":"V41prM1xcKI-","large":"DbXvfxdDF-c-"};
|
|
44
44
|
|
|
45
45
|
const SegmentedControlBase = React.forwardRef(function SegmentedControlBase({ children, size = "base" }, ref) {
|
|
46
46
|
const optionCount = React.Children.count(children);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React__default, { createContext,
|
|
1
|
+
import React__default, { createContext, useState, useCallback, useContext, useMemo, useId, forwardRef, Children, useRef } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
|
|
4
4
|
const SegmentedControlContext = createContext({
|
|
@@ -38,7 +38,7 @@ function SegmentedControlOption({ value, children, ariaLabel, }) {
|
|
|
38
38
|
React__default.createElement("label", { htmlFor: inputId }, children)));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
var styles = {"container":"FDDKTZkTdfM-","small":"V41prM1xcKI-","large":"DbXvfxdDF-c-"
|
|
41
|
+
var styles = {"container":"FDDKTZkTdfM-","small":"V41prM1xcKI-","large":"DbXvfxdDF-c-"};
|
|
42
42
|
|
|
43
43
|
const SegmentedControlBase = forwardRef(function SegmentedControlBase({ children, size = "base" }, ref) {
|
|
44
44
|
const optionCount = Children.count(children);
|
package/dist/Select-es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React__default, { useState, useRef,
|
|
1
|
+
import React__default, { useId, useState, useRef, useImperativeHandle } from 'react';
|
|
2
2
|
import { useIsSmallScreen } from '@jobber/hooks';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { S as SelectPrimitive } from './SelectPrimitive-es.js';
|
|
5
|
-
import {
|
|
5
|
+
import { B as BottomSheet } from './BottomSheet-es.js';
|
|
6
6
|
import { I as Icon } from './Icon-es.js';
|
|
7
7
|
import { H as HelperText } from './HelperText-es.js';
|
|
8
8
|
import { c as FieldRoot, F as FieldLabel, a as FieldDescription, b as FieldError } from './FieldDescription-es.js';
|
|
@@ -30,9 +30,6 @@ const ToolbarRootContext = /*#__PURE__*/React__namespace.createContext(undefined
|
|
|
30
30
|
if (process.env.NODE_ENV !== "production") ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
31
31
|
function useToolbarRootContext(optional) {
|
|
32
32
|
const context = React__namespace.useContext(ToolbarRootContext);
|
|
33
|
-
if (context === undefined && !optional) {
|
|
34
|
-
throw new Error(process.env.NODE_ENV !== "production" ? 'Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.' : useRenderElement.formatErrorMessage(69));
|
|
35
|
-
}
|
|
36
33
|
return context;
|
|
37
34
|
}
|
|
38
35
|
|
|
@@ -1028,7 +1025,7 @@ const SelectPopup = /*#__PURE__*/React__namespace.forwardRef(function SelectPopu
|
|
|
1028
1025
|
isPositioned,
|
|
1029
1026
|
setControlledAlignItemWithTrigger
|
|
1030
1027
|
} = useSelectPositionerContext();
|
|
1031
|
-
const insideToolbar = useToolbarRootContext(
|
|
1028
|
+
const insideToolbar = useToolbarRootContext() != null;
|
|
1032
1029
|
const direction = useScrollLock.useDirection();
|
|
1033
1030
|
const {
|
|
1034
1031
|
nonce,
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { v as useControlled, m as useTransitionStatus, R as useOpenInteractionType, U as useStore, w as useValueAsRef, d as useStableCallback, c as useIsoLayoutEffect, L as useValueChanged,
|
|
3
|
-
import { f as formatErrorMessage, a as useRefWithInit, m as mergeProps, E as EMPTY_OBJECT, b as useMergedRefs,
|
|
4
|
-
import {
|
|
5
|
-
import { g as getMaxScrollOffset, n as normalizeScrollOffset, u as useCSPContext,
|
|
2
|
+
import { v as useControlled, m as useTransitionStatus, R as useOpenInteractionType, U as ReactStore, V as useStore, w as useValueAsRef, d as useStableCallback, c as useIsoLayoutEffect, L as useValueChanged, W as focusOut, X as outsidePress, n as useOpenChangeComplete, Y as useClick, Z as useDismiss, F as FOCUSABLE_POPUP_PROPS, B as visuallyHiddenInput, C as visuallyHidden, j as createChangeEventDetails, x as none, h as useButton, f as useTimeout, _ as getFloatingFocusElement, $ as pressableTriggerOpenStateMapping, o as ownerDocument, a0 as contains, a1 as cancelOpen, a2 as FloatingPortal, a3 as DROPDOWN_COLLISION_AVOIDANCE, a4 as InternalBackdrop, a5 as inertValue, a6 as useDirection, a7 as useAnimationFrame, I as getWindow, a8 as webkit, z as addEventListener, s as FloatingFocusManager, a9 as rectToClientRect, aa as windowResize, t as transitionStatusMapping, ab as popupStateMapping, ac as isVirtualClick, ad as itemPress, u as useBaseUiId } from './useScrollLock-es.js';
|
|
3
|
+
import { f as formatErrorMessage, c as EMPTY_ARRAY, a as useRefWithInit, m as mergeProps, E as EMPTY_OBJECT, b as useMergedRefs, u as useRenderElement } from './useRenderElement-es.js';
|
|
4
|
+
import { e as compareItemEquality, h as hasNullItemLabel, s as stringifyAsValue, g as defaultItemEquality, a as useFormContext, b as useFieldRootContext, c as useLabelableId, d as useRegisterFieldControl, i as findItemIndex, j as useFloatingRootContext, k as useListNavigation, l as useTypeahead, m as useOnFirstRender, n as areArraysEqual, o as stringifyAsLabel, u as useLabelableContext, f as fieldValidityMapping, p as isMouseWithinBounds, r as resolveAriaLabelledBy, q as resolveMultipleLabels, t as resolveSelectedLabel, v as useAnchoredPopupScrollLock, w as useAnchorPositioning, x as usePositioner, C as CompositeList, y as platform, z as getDisabledMountTransitionStyles, A as useCompositeListItem, B as removeItem } from './useCompositeListItem-es.js';
|
|
5
|
+
import { g as getMaxScrollOffset, n as normalizeScrollOffset, u as useCSPContext, S as SCROLL_EDGE_TOLERANCE_PX, c as clamp, s as styleDisableScrollbar, C as COMPOSITE_KEYS } from './scrollEdges-es.js';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
const ToolbarRootContext = /*#__PURE__*/React.createContext(undefined);
|
|
9
9
|
if (process.env.NODE_ENV !== "production") ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
10
10
|
function useToolbarRootContext(optional) {
|
|
11
11
|
const context = React.useContext(ToolbarRootContext);
|
|
12
|
-
if (context === undefined && !optional) {
|
|
13
|
-
throw new Error(process.env.NODE_ENV !== "production" ? 'Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.' : formatErrorMessage(69));
|
|
14
|
-
}
|
|
15
12
|
return context;
|
|
16
13
|
}
|
|
17
14
|
|
|
@@ -1007,7 +1004,7 @@ const SelectPopup = /*#__PURE__*/React.forwardRef(function SelectPopup(component
|
|
|
1007
1004
|
isPositioned,
|
|
1008
1005
|
setControlledAlignItemWithTrigger
|
|
1009
1006
|
} = useSelectPositionerContext();
|
|
1010
|
-
const insideToolbar = useToolbarRootContext(
|
|
1007
|
+
const insideToolbar = useToolbarRootContext() != null;
|
|
1011
1008
|
const direction = useDirection();
|
|
1012
1009
|
const {
|
|
1013
1010
|
nonce,
|
|
@@ -1760,4 +1757,4 @@ const SelectGroupLabel = /*#__PURE__*/React.forwardRef(function SelectGroupLabel
|
|
|
1760
1757
|
});
|
|
1761
1758
|
if (process.env.NODE_ENV !== "production") SelectGroupLabel.displayName = "SelectGroupLabel";
|
|
1762
1759
|
|
|
1763
|
-
export {
|
|
1760
|
+
export { SelectPortal as S, SelectRoot as a, SelectGroupLabel as b, SelectGroup as c, SelectItemIndicator as d, SelectItemText as e, SelectItem as f, SelectList as g, SelectPopup as h, SelectPositioner as i, SelectValue as j, SelectTrigger as k, isElementDisabled as l, usePreviousValue as m, useSelectRootContext as n, useSelectPositionerContext as o, selectors as s, useToolbarRootContext as u };
|
|
@@ -8,7 +8,7 @@ var Icon = require('./Icon-cjs.js');
|
|
|
8
8
|
var OverlaySeparator = require('./OverlaySeparator-cjs.js');
|
|
9
9
|
var SelectGroupLabel = require('./SelectGroupLabel-cjs.js');
|
|
10
10
|
|
|
11
|
-
var styles = {"trigger":"WQiJQH4jadQ-","value":"P2HhjOjxY34-","iconWrapper":"cxgFUCKcXcw-","iconRotate":"_3BEK4Z1gGis-","positioner":"g221yZJtRrU-","popup":"vifRnCQ18ss-","list":"WsOmdkQ0SWU-","item":"wQ2wXu1YH-k-","itemText":"_--Vi-17OUiU-","itemIndicator":"CfjooR3I8Jc-","separator":"lI5-MyBERFY-","group":"_21z9KBWR06w-","groupLabel":"ZhtKkgZiSQI-"
|
|
11
|
+
var styles = {"trigger":"WQiJQH4jadQ-","value":"P2HhjOjxY34-","iconWrapper":"cxgFUCKcXcw-","iconRotate":"_3BEK4Z1gGis-","positioner":"g221yZJtRrU-","popup":"vifRnCQ18ss-","list":"WsOmdkQ0SWU-","item":"wQ2wXu1YH-k-","itemText":"_--Vi-17OUiU-","itemIndicator":"CfjooR3I8Jc-","separator":"lI5-MyBERFY-","group":"_21z9KBWR06w-","groupLabel":"ZhtKkgZiSQI-"};
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* The offset (px) between the trigger bottom edge and the popup top edge,
|
|
@@ -4,9 +4,9 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { m as mergeClassName } from './mergeClassName-es.js';
|
|
5
5
|
import { I as Icon } from './Icon-es.js';
|
|
6
6
|
import { O as OverlaySeparator } from './OverlaySeparator-es.js';
|
|
7
|
-
import { S as
|
|
7
|
+
import { S as SelectPortal, a as SelectRoot, b as SelectGroupLabel, c as SelectGroup, d as SelectItemIndicator, e as SelectItemText, f as SelectItem, g as SelectList, h as SelectPopup, i as SelectPositioner, j as SelectValue, k as SelectTrigger } from './SelectGroupLabel-es.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"trigger":"WQiJQH4jadQ-","value":"P2HhjOjxY34-","iconWrapper":"cxgFUCKcXcw-","iconRotate":"_3BEK4Z1gGis-","positioner":"g221yZJtRrU-","popup":"vifRnCQ18ss-","list":"WsOmdkQ0SWU-","item":"wQ2wXu1YH-k-","itemText":"_--Vi-17OUiU-","itemIndicator":"CfjooR3I8Jc-","separator":"lI5-MyBERFY-","group":"_21z9KBWR06w-","groupLabel":"ZhtKkgZiSQI-"
|
|
9
|
+
var styles = {"trigger":"WQiJQH4jadQ-","value":"P2HhjOjxY34-","iconWrapper":"cxgFUCKcXcw-","iconRotate":"_3BEK4Z1gGis-","positioner":"g221yZJtRrU-","popup":"vifRnCQ18ss-","list":"WsOmdkQ0SWU-","item":"wQ2wXu1YH-k-","itemText":"_--Vi-17OUiU-","itemIndicator":"CfjooR3I8Jc-","separator":"lI5-MyBERFY-","group":"_21z9KBWR06w-","groupLabel":"ZhtKkgZiSQI-"};
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The offset (px) between the trigger bottom edge and the popup top edge,
|
package/dist/SideDrawer-cjs.js
CHANGED
|
@@ -48,7 +48,7 @@ function SideDrawerToolbar({ children }) {
|
|
|
48
48
|
return ReactDOM.createPortal(children, toolbarPortal);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
var styles = {"drawer":"cCwRgRAz4qk-","inline":"ONUfsWMLKdo-","container":"XipkpXgyzyg-","header":"LuqC0RF-R1U-","content":"vArEcEUxGxQ-","footer":"_4HzuRZKD9u8-","subtle":"v5Db-FCF2kU-","heading":"Eti1JL3rghE-","hasShadow":"PtbV1GtWwzY-","headerActions":"YCdqkhcLHfI-","hideWhenEmpty":"ZH2Mp84HhX8-","overlay":"Ro-pE7hx0wY-","reverseScroll":"gSN5nWDwGm4-","headerShadowListener":"tMeBAjf4vEA-","footerShadowListener":"-lPSZVGIIAs-","backButton":"XOqA4Hw6S6g-","backButtonVisible":"b4VHPS-RG34-"
|
|
51
|
+
var styles = {"drawer":"cCwRgRAz4qk-","inline":"ONUfsWMLKdo-","container":"XipkpXgyzyg-","header":"LuqC0RF-R1U-","content":"vArEcEUxGxQ-","footer":"_4HzuRZKD9u8-","subtle":"v5Db-FCF2kU-","heading":"Eti1JL3rghE-","hasShadow":"PtbV1GtWwzY-","headerActions":"YCdqkhcLHfI-","hideWhenEmpty":"ZH2Mp84HhX8-","overlay":"Ro-pE7hx0wY-","reverseScroll":"gSN5nWDwGm4-","headerShadowListener":"tMeBAjf4vEA-","footerShadowListener":"-lPSZVGIIAs-","backButton":"XOqA4Hw6S6g-","backButtonVisible":"b4VHPS-RG34-"};
|
|
52
52
|
|
|
53
53
|
const sideDrawerMessages = useAtlantisI18n.defineMessages({
|
|
54
54
|
Close: {
|
package/dist/SideDrawer-es.js
CHANGED
|
@@ -46,7 +46,7 @@ function SideDrawerToolbar({ children }) {
|
|
|
46
46
|
return createPortal(children, toolbarPortal);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
var styles = {"drawer":"cCwRgRAz4qk-","inline":"ONUfsWMLKdo-","container":"XipkpXgyzyg-","header":"LuqC0RF-R1U-","content":"vArEcEUxGxQ-","footer":"_4HzuRZKD9u8-","subtle":"v5Db-FCF2kU-","heading":"Eti1JL3rghE-","hasShadow":"PtbV1GtWwzY-","headerActions":"YCdqkhcLHfI-","hideWhenEmpty":"ZH2Mp84HhX8-","overlay":"Ro-pE7hx0wY-","reverseScroll":"gSN5nWDwGm4-","headerShadowListener":"tMeBAjf4vEA-","footerShadowListener":"-lPSZVGIIAs-","backButton":"XOqA4Hw6S6g-","backButtonVisible":"b4VHPS-RG34-"
|
|
49
|
+
var styles = {"drawer":"cCwRgRAz4qk-","inline":"ONUfsWMLKdo-","container":"XipkpXgyzyg-","header":"LuqC0RF-R1U-","content":"vArEcEUxGxQ-","footer":"_4HzuRZKD9u8-","subtle":"v5Db-FCF2kU-","heading":"Eti1JL3rghE-","hasShadow":"PtbV1GtWwzY-","headerActions":"YCdqkhcLHfI-","hideWhenEmpty":"ZH2Mp84HhX8-","overlay":"Ro-pE7hx0wY-","reverseScroll":"gSN5nWDwGm4-","headerShadowListener":"tMeBAjf4vEA-","footerShadowListener":"-lPSZVGIIAs-","backButton":"XOqA4Hw6S6g-","backButtonVisible":"b4VHPS-RG34-"};
|
|
50
50
|
|
|
51
51
|
const sideDrawerMessages = defineMessages({
|
|
52
52
|
Close: {
|
package/dist/Spinner-cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var common_messages = require('./common.messages-cjs.js');
|
|
|
6
6
|
require('./AtlantisContext-cjs.js');
|
|
7
7
|
var useAtlantisI18n = require('./useAtlantisI18n-cjs.js');
|
|
8
8
|
|
|
9
|
-
var styles = {"spinner":"_6hfmGZoXNyg-","
|
|
9
|
+
var styles = {"spinner":"_6hfmGZoXNyg-","small":"bMfynkzmlL4-","inline":"NA68eWblbLo-"};
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated Use `ActivityIndicator` instead.
|
package/dist/Spinner-es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { c as commonMessages } from './common.messages-es.js';
|
|
|
4
4
|
import './AtlantisContext-es.js';
|
|
5
5
|
import { u as useAtlantisI18n } from './useAtlantisI18n-es.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"spinner":"_6hfmGZoXNyg-","
|
|
7
|
+
var styles = {"spinner":"_6hfmGZoXNyg-","small":"bMfynkzmlL4-","inline":"NA68eWblbLo-"};
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use `ActivityIndicator` instead.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
|
|
5
|
-
var styles = {"statusIndicator":"WiSIdMrztSU-"
|
|
5
|
+
var styles = {"statusIndicator":"WiSIdMrztSU-"};
|
|
6
6
|
|
|
7
7
|
function StatusIndicator({ status }) {
|
|
8
8
|
return (React.createElement("span", { style: { backgroundColor: `var(--color-${status})` }, className: styles.statusIndicator, "data-testid": `ATL-Status-Indicator-${status}` }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
|
|
3
|
-
var styles = {"statusIndicator":"WiSIdMrztSU-"
|
|
3
|
+
var styles = {"statusIndicator":"WiSIdMrztSU-"};
|
|
4
4
|
|
|
5
5
|
function StatusIndicator({ status }) {
|
|
6
6
|
return (React__default.createElement("span", { style: { backgroundColor: `var(--color-${status})` }, className: styles.statusIndicator, "data-testid": `ATL-Status-Indicator-${status}` }));
|
package/dist/Switch-cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var Icon = require('./Icon-cjs.js');
|
|
6
6
|
|
|
7
|
-
var styles = {"switch":"rVg6dYYBFN4-","track":"yyISARGmmJo-","isChecked":"_40c6OIH33p8-","toggle":"zA0Fmn8IIZI-","disabled":"e-cSZjkHGw8-","
|
|
7
|
+
var styles = {"switch":"rVg6dYYBFN4-","track":"yyISARGmmJo-","isChecked":"_40c6OIH33p8-","toggle":"zA0Fmn8IIZI-","disabled":"e-cSZjkHGw8-","icon":"JS-CLzHa9-I-"};
|
|
8
8
|
|
|
9
9
|
function Switch({ value: providedValue, ariaLabel, name, disabled, onChange, }) {
|
|
10
10
|
const [statefulValue, setValue] = React.useState(false);
|
package/dist/Switch-es.js
CHANGED
|
@@ -2,7 +2,7 @@ import React__default, { useState } from 'react';
|
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { I as Icon } from './Icon-es.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"switch":"rVg6dYYBFN4-","track":"yyISARGmmJo-","isChecked":"_40c6OIH33p8-","toggle":"zA0Fmn8IIZI-","disabled":"e-cSZjkHGw8-","
|
|
5
|
+
var styles = {"switch":"rVg6dYYBFN4-","track":"yyISARGmmJo-","isChecked":"_40c6OIH33p8-","toggle":"zA0Fmn8IIZI-","disabled":"e-cSZjkHGw8-","icon":"JS-CLzHa9-I-"};
|
|
6
6
|
|
|
7
7
|
function Switch({ value: providedValue, ariaLabel, name, disabled, onChange, }) {
|
|
8
8
|
const [statefulValue, setValue] = useState(false);
|
package/dist/Table/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Body, C as Cell,
|
|
1
|
+
export { B as Body, C as Cell, a as CellCurrency, b as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from '../Body-es.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@jobber/formatters';
|
|
4
4
|
import 'classnames';
|
package/dist/Tabs/index.mjs
CHANGED
package/dist/Tabs-cjs.js
CHANGED
|
@@ -7,7 +7,7 @@ var debounce$1 = require('./debounce-cjs.js');
|
|
|
7
7
|
var isObjectLike = require('./isObjectLike-cjs.js');
|
|
8
8
|
var Typography = require('./Typography-cjs.js');
|
|
9
9
|
|
|
10
|
-
var styles = {"tabs":"cHJe2HsBNic-","overflow":"eQt1Jis30lo-","overflowRight":"_6Vf7pQfyKKk-","overflowLeft":"jyevrJK7Bcg-","tabRow":"LfIIg9bwrhQ-","tab":"DEdzikxlAkw-","selected":"VDB94VYoyB0-","tabContent":"htdKg6As4bY-"
|
|
10
|
+
var styles = {"tabs":"cHJe2HsBNic-","overflow":"eQt1Jis30lo-","overflowRight":"_6Vf7pQfyKKk-","overflowLeft":"jyevrJK7Bcg-","tabRow":"LfIIg9bwrhQ-","tab":"DEdzikxlAkw-","selected":"VDB94VYoyB0-","tabContent":"htdKg6As4bY-"};
|
|
11
11
|
|
|
12
12
|
var debounce = debounce$1.debounce_1,
|
|
13
13
|
isObject = isObjectLike.isObject_1;
|