@jobber/components 7.4.0 → 7.5.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/dist/DrawerRoot-cjs.js
CHANGED
|
@@ -144,13 +144,19 @@ const itemPress = 'item-press';
|
|
|
144
144
|
const closePress = 'close-press';
|
|
145
145
|
const clearPress = 'clear-press';
|
|
146
146
|
const chipRemovePress = 'chip-remove-press';
|
|
147
|
+
const incrementPress = 'increment-press';
|
|
148
|
+
const decrementPress = 'decrement-press';
|
|
147
149
|
const inputChange = 'input-change';
|
|
148
150
|
const inputClear = 'input-clear';
|
|
151
|
+
const inputBlur = 'input-blur';
|
|
152
|
+
const inputPaste = 'input-paste';
|
|
149
153
|
const inputPress = 'input-press';
|
|
150
154
|
const focusOut = 'focus-out';
|
|
151
155
|
const escapeKey = 'escape-key';
|
|
152
156
|
const closeWatcher = 'close-watcher';
|
|
153
157
|
const listNavigation = 'list-navigation';
|
|
158
|
+
const keyboard = 'keyboard';
|
|
159
|
+
const scrub = 'scrub';
|
|
154
160
|
const imperativeAction = 'imperative-action';
|
|
155
161
|
const swipe = 'swipe';
|
|
156
162
|
|
|
@@ -173,7 +179,7 @@ const swipe = 'swipe';
|
|
|
173
179
|
function createChangeEventDetails(reason, event, trigger, customProperties) {
|
|
174
180
|
let canceled = false;
|
|
175
181
|
let allowPropagation = false;
|
|
176
|
-
const custom = useRenderElement.EMPTY_OBJECT;
|
|
182
|
+
const custom = customProperties ?? useRenderElement.EMPTY_OBJECT;
|
|
177
183
|
const details = {
|
|
178
184
|
reason,
|
|
179
185
|
event: event ?? new Event('base-ui'),
|
|
@@ -6102,6 +6108,7 @@ exports.InternalBackdrop = InternalBackdrop;
|
|
|
6102
6108
|
exports.PopupTriggerMap = PopupTriggerMap;
|
|
6103
6109
|
exports.SafeReact = SafeReact;
|
|
6104
6110
|
exports.Store = Store;
|
|
6111
|
+
exports.Timeout = Timeout;
|
|
6105
6112
|
exports.TransitionStatusDataAttributes = TransitionStatusDataAttributes;
|
|
6106
6113
|
exports.activeElement = activeElement;
|
|
6107
6114
|
exports.chipRemovePress = chipRemovePress;
|
|
@@ -6113,6 +6120,7 @@ exports.createChangeEventDetails = createChangeEventDetails;
|
|
|
6113
6120
|
exports.createGenericEventDetails = createGenericEventDetails;
|
|
6114
6121
|
exports.createGridCellMap = createGridCellMap;
|
|
6115
6122
|
exports.createSelector = createSelector;
|
|
6123
|
+
exports.decrementPress = decrementPress;
|
|
6116
6124
|
exports.enqueueFocus = enqueueFocus;
|
|
6117
6125
|
exports.escapeKey = escapeKey;
|
|
6118
6126
|
exports.findNonDisabledListIndex = findNonDisabledListIndex;
|
|
@@ -6125,14 +6133,18 @@ exports.getMaxListIndex = getMaxListIndex;
|
|
|
6125
6133
|
exports.getMinListIndex = getMinListIndex;
|
|
6126
6134
|
exports.getTarget = getTarget;
|
|
6127
6135
|
exports.imperativeAction = imperativeAction;
|
|
6136
|
+
exports.incrementPress = incrementPress;
|
|
6128
6137
|
exports.inertValue = inertValue;
|
|
6138
|
+
exports.inputBlur = inputBlur;
|
|
6129
6139
|
exports.inputChange = inputChange;
|
|
6130
6140
|
exports.inputClear = inputClear;
|
|
6141
|
+
exports.inputPaste = inputPaste;
|
|
6131
6142
|
exports.inputPress = inputPress;
|
|
6132
6143
|
exports.isAndroid = isAndroid;
|
|
6133
6144
|
exports.isClickLikeEvent = isClickLikeEvent;
|
|
6134
6145
|
exports.isElementVisible = isElementVisible;
|
|
6135
6146
|
exports.isFirefox = isFirefox;
|
|
6147
|
+
exports.isIOS = isIOS;
|
|
6136
6148
|
exports.isIndexOutOfListBounds = isIndexOutOfListBounds;
|
|
6137
6149
|
exports.isListIndexDisabled = isListIndexDisabled;
|
|
6138
6150
|
exports.isMouseLikePointerType = isMouseLikePointerType;
|
|
@@ -6140,13 +6152,16 @@ exports.isTypeableCombobox = isTypeableCombobox;
|
|
|
6140
6152
|
exports.isTypeableElement = isTypeableElement;
|
|
6141
6153
|
exports.isVirtualClick = isVirtualClick;
|
|
6142
6154
|
exports.isVirtualPointerEvent = isVirtualPointerEvent;
|
|
6155
|
+
exports.isWebKit = isWebKit;
|
|
6143
6156
|
exports.itemPress = itemPress;
|
|
6157
|
+
exports.keyboard = keyboard;
|
|
6144
6158
|
exports.listNavigation = listNavigation;
|
|
6145
6159
|
exports.none = none;
|
|
6146
6160
|
exports.outsidePress = outsidePress;
|
|
6147
6161
|
exports.ownerDocument = ownerDocument;
|
|
6148
6162
|
exports.popupStateMapping = popupStateMapping;
|
|
6149
6163
|
exports.pressableTriggerOpenStateMapping = pressableTriggerOpenStateMapping;
|
|
6164
|
+
exports.scrub = scrub;
|
|
6150
6165
|
exports.stopEvent = stopEvent;
|
|
6151
6166
|
exports.swipe = swipe;
|
|
6152
6167
|
exports.transitionStatusMapping = transitionStatusMapping;
|
|
@@ -6166,6 +6181,7 @@ exports.useId = useId;
|
|
|
6166
6181
|
exports.useInteractions = useInteractions;
|
|
6167
6182
|
exports.useIsoLayoutEffect = useIsoLayoutEffect;
|
|
6168
6183
|
exports.useOnFirstRender = useOnFirstRender;
|
|
6184
|
+
exports.useOnMount = useOnMount;
|
|
6169
6185
|
exports.useOpenChangeComplete = useOpenChangeComplete;
|
|
6170
6186
|
exports.useOpenInteractionType = useOpenInteractionType;
|
|
6171
6187
|
exports.useScrollLock = useScrollLock;
|
package/dist/DrawerRoot-es.js
CHANGED
|
@@ -123,13 +123,19 @@ const itemPress = 'item-press';
|
|
|
123
123
|
const closePress = 'close-press';
|
|
124
124
|
const clearPress = 'clear-press';
|
|
125
125
|
const chipRemovePress = 'chip-remove-press';
|
|
126
|
+
const incrementPress = 'increment-press';
|
|
127
|
+
const decrementPress = 'decrement-press';
|
|
126
128
|
const inputChange = 'input-change';
|
|
127
129
|
const inputClear = 'input-clear';
|
|
130
|
+
const inputBlur = 'input-blur';
|
|
131
|
+
const inputPaste = 'input-paste';
|
|
128
132
|
const inputPress = 'input-press';
|
|
129
133
|
const focusOut = 'focus-out';
|
|
130
134
|
const escapeKey = 'escape-key';
|
|
131
135
|
const closeWatcher = 'close-watcher';
|
|
132
136
|
const listNavigation = 'list-navigation';
|
|
137
|
+
const keyboard = 'keyboard';
|
|
138
|
+
const scrub = 'scrub';
|
|
133
139
|
const imperativeAction = 'imperative-action';
|
|
134
140
|
const swipe = 'swipe';
|
|
135
141
|
|
|
@@ -152,7 +158,7 @@ const swipe = 'swipe';
|
|
|
152
158
|
function createChangeEventDetails(reason, event, trigger, customProperties) {
|
|
153
159
|
let canceled = false;
|
|
154
160
|
let allowPropagation = false;
|
|
155
|
-
const custom = EMPTY_OBJECT;
|
|
161
|
+
const custom = customProperties ?? EMPTY_OBJECT;
|
|
156
162
|
const details = {
|
|
157
163
|
reason,
|
|
158
164
|
event: event ?? new Event('base-ui'),
|
|
@@ -6053,4 +6059,4 @@ function DrawerProviderReporter() {
|
|
|
6053
6059
|
return null;
|
|
6054
6060
|
}
|
|
6055
6061
|
|
|
6056
|
-
export { CommonPopupDataAttributes as $, listNavigation as A, createGridCellMap as B, isListIndexDisabled as C, DrawerPortal as D, getGridNavigatedIndex as E, FloatingRootStore as F, getGridCellIndices as G, getGridCellIndexOfCorner as H, ARROW_DOWN$1 as I, ARROW_LEFT$1 as J, ARROW_RIGHT$1 as K, findNonDisabledListIndex as L, getTarget as M, focusOut as N, enqueueFocus as O, PopupTriggerMap as P, isVirtualClick as Q, isVirtualPointerEvent as R, SafeReact as S, ARROW_UP$1 as T, isElementVisible as U, useDialogRootContext as V, closePress as W, useTriggerDataForwarding as X, useInteractions as Y, CLICK_TRIGGER_IDENTIFIER as Z, triggerOpenStateMapping as _, DrawerBackdrop as a, popupStateMapping as a0, transitionStatusMapping as a1, useDialogPortalContext as a2, DialogStore as a3, imperativeAction as a4, createSelector as a5, useControlled as a6, useStore as a7, useTransitionStatus as a8, useOpenInteractionType as a9, chipRemovePress as aA, useDrawerProviderContext as aB, DrawerBackdropCssVars as aC, DrawerPopupCssVars as aD, DrawerProviderContext as aE, clamp as aF, useDrawerRootContext as aG, useTriggerRegistration as aH, DrawerPopupDataAttributes as aI, swipe as aJ, useDrawerSnapPoints as aK, DrawerViewportContext as aL, BASE_UI_SWIPE_IGNORE_SELECTOR as aM, TransitionStatusDataAttributes as aN, DRAWER_CONTENT_ATTRIBUTE as aO, createGenericEventDetails as aa, inputClear as ab, inputChange as ac, outsidePress as ad, itemPress as ae, useOpenChangeComplete as af, useValueChanged as ag,
|
|
6062
|
+
export { CommonPopupDataAttributes as $, listNavigation as A, createGridCellMap as B, isListIndexDisabled as C, DrawerPortal as D, getGridNavigatedIndex as E, FloatingRootStore as F, getGridCellIndices as G, getGridCellIndexOfCorner as H, ARROW_DOWN$1 as I, ARROW_LEFT$1 as J, ARROW_RIGHT$1 as K, findNonDisabledListIndex as L, getTarget as M, focusOut as N, enqueueFocus as O, PopupTriggerMap as P, isVirtualClick as Q, isVirtualPointerEvent as R, SafeReact as S, ARROW_UP$1 as T, isElementVisible as U, useDialogRootContext as V, closePress as W, useTriggerDataForwarding as X, useInteractions as Y, CLICK_TRIGGER_IDENTIFIER as Z, triggerOpenStateMapping as _, DrawerBackdrop as a, popupStateMapping as a0, transitionStatusMapping as a1, useDialogPortalContext as a2, DialogStore as a3, imperativeAction as a4, createSelector as a5, useControlled as a6, useStore as a7, useTransitionStatus as a8, useOpenInteractionType as a9, chipRemovePress as aA, useDrawerProviderContext as aB, DrawerBackdropCssVars as aC, DrawerPopupCssVars as aD, DrawerProviderContext as aE, clamp as aF, useDrawerRootContext as aG, useTriggerRegistration as aH, DrawerPopupDataAttributes as aI, swipe as aJ, useDrawerSnapPoints as aK, DrawerViewportContext as aL, BASE_UI_SWIPE_IGNORE_SELECTOR as aM, TransitionStatusDataAttributes as aN, DRAWER_CONTENT_ATTRIBUTE as aO, useOnMount as aP, Timeout as aQ, isIOS as aR, inputBlur as aS, inputPaste as aT, incrementPress as aU, decrementPress as aV, keyboard as aW, scrub as aX, isWebKit as aY, createGenericEventDetails as aa, inputClear as ab, inputChange as ac, outsidePress as ad, itemPress as ae, useOpenChangeComplete as af, useValueChanged as ag, none as ah, inputPress as ai, useDismiss as aj, useOnFirstRender as ak, visuallyHiddenInput as al, visuallyHidden as am, Store as an, pressableTriggerOpenStateMapping as ao, isAndroid as ap, isFirefox as aq, escapeKey as ar, clearPress as as, FloatingPortal as at, DISABLED_TRANSITIONS_STYLE as au, useScrollLock as av, InternalBackdrop as aw, inertValue as ax, DROPDOWN_COLLISION_AVOIDANCE as ay, FloatingFocusManager as az, DrawerPopup as b, DrawerContent as c, DrawerRoot as d, useIsoLayoutEffect as e, useId as f, useAnimationFrame as g, useTimeout as h, isMouseLikePointerType as i, isTypeableElement as j, createChangeEventDetails as k, isClickLikeEvent as l, useFloatingParentNodeId as m, useFloatingTree as n, getFloatingFocusElement as o, useValueAsRef as p, isTypeableCombobox as q, isIndexOutOfListBounds as r, getMinListIndex as s, triggerPress as t, useStableCallback as u, getMaxListIndex as v, activeElement as w, ownerDocument as x, contains as y, stopEvent as z };
|