@jobber/components 8.23.0 → 8.23.1
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/Autocomplete/index.cjs +1 -1
- package/dist/Autocomplete/index.mjs +1 -1
- package/dist/Card/index.cjs +4 -4
- package/dist/Card/index.mjs +4 -4
- package/dist/Chip/index.cjs +1 -1
- package/dist/Chip/index.mjs +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +1 -1
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
- package/dist/Chips/InternalChipDismissible/index.cjs +1 -1
- package/dist/Chips/InternalChipDismissible/index.mjs +1 -1
- package/dist/Chips/index.cjs +1 -1
- package/dist/Chips/index.mjs +1 -1
- package/dist/ComboboxChipRemove-cjs.js +668 -379
- package/dist/ComboboxChipRemove-es.js +508 -219
- package/dist/ConfirmationModal/index.cjs +1 -1
- package/dist/ConfirmationModal/index.mjs +1 -1
- package/dist/DataDump/index.cjs +4 -4
- package/dist/DataDump/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +1 -1
- package/dist/DataList/components/DataListActions/index.mjs +1 -1
- package/dist/DataList/components/DataListBulkActions/index.cjs +1 -1
- package/dist/DataList/components/DataListBulkActions/index.mjs +1 -1
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +1 -1
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +1 -1
- package/dist/DataList/components/DataListFilters/index.cjs +1 -1
- package/dist/DataList/components/DataListFilters/index.mjs +1 -1
- package/dist/DataList/components/DataListHeader/index.cjs +1 -1
- package/dist/DataList/components/DataListHeader/index.mjs +1 -1
- package/dist/DataList/components/DataListItem/index.cjs +1 -1
- package/dist/DataList/components/DataListItem/index.mjs +1 -1
- package/dist/DataList/components/DataListItemActions/index.cjs +1 -1
- package/dist/DataList/components/DataListItemActions/index.mjs +1 -1
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +1 -1
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +1 -1
- package/dist/DataList/components/DataListItems/index.cjs +1 -1
- package/dist/DataList/components/DataListItems/index.mjs +1 -1
- package/dist/DataList/components/DataListLayout/index.cjs +1 -1
- package/dist/DataList/components/DataListLayout/index.mjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.cjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.mjs +1 -1
- package/dist/DataList/index.cjs +1 -1
- package/dist/DataList/index.mjs +1 -1
- package/dist/DatePicker/index.cjs +1 -1
- package/dist/DatePicker/index.mjs +1 -1
- package/dist/Dialog/index.cjs +3 -3
- package/dist/Dialog/index.mjs +3 -3
- package/dist/DrawerDescription-cjs.js +32 -33
- package/dist/DrawerDescription-es.js +19 -20
- package/dist/DrawerTitle-cjs.js +7 -5
- package/dist/DrawerTitle-es.js +7 -5
- package/dist/FilterPicker/components/FilterPickerActivator/index.cjs +1 -1
- package/dist/FilterPicker/components/FilterPickerActivator/index.mjs +1 -1
- package/dist/FilterPicker/components/FilterPickerContent/index.cjs +1 -1
- package/dist/FilterPicker/components/FilterPickerContent/index.mjs +1 -1
- package/dist/FilterPicker/components/FilterPickerTrigger/index.cjs +1 -1
- package/dist/FilterPicker/components/FilterPickerTrigger/index.mjs +1 -1
- package/dist/FilterPicker/index.cjs +1 -1
- package/dist/FilterPicker/index.mjs +1 -1
- package/dist/FormFieldWrapper-cjs.js +2 -2
- package/dist/FormFieldWrapper-es.js +2 -2
- package/dist/FormatFile/index.cjs +1 -1
- package/dist/FormatFile/index.mjs +1 -1
- package/dist/Gallery/index.cjs +1 -1
- package/dist/Gallery/index.mjs +1 -1
- package/dist/InputDate/index.cjs +1 -1
- package/dist/InputDate/index.mjs +1 -1
- package/dist/InputNumberExperimental-cjs.js +319 -102
- package/dist/InputNumberExperimental-es.js +321 -104
- package/dist/LightBox/index.cjs +1 -1
- package/dist/LightBox/index.mjs +1 -1
- package/dist/Menu/index.cjs +4 -4
- package/dist/Menu/index.mjs +4 -4
- package/dist/MenuSubmenuTrigger-cjs.js +545 -498
- package/dist/MenuSubmenuTrigger-es.js +490 -443
- package/dist/Modal/index.cjs +1 -1
- package/dist/Modal/index.mjs +1 -1
- package/dist/NumberFieldInput-cjs.js +609 -496
- package/dist/NumberFieldInput-es.js +612 -498
- package/dist/Page/index.cjs +4 -4
- package/dist/Page/index.mjs +4 -4
- package/dist/Popover/index.cjs +1 -1
- package/dist/Popover/index.mjs +1 -1
- package/dist/ScrollAreaViewport-cjs.js +326 -601
- package/dist/ScrollAreaViewport-es.js +278 -548
- package/dist/SelectGroupLabel-cjs.js +494 -528
- package/dist/SelectGroupLabel-es.js +411 -445
- package/dist/Separator-cjs.js +1 -0
- package/dist/Separator-es.js +1 -0
- package/dist/Tooltip/index.cjs +1 -1
- package/dist/Tooltip/index.mjs +1 -1
- package/dist/docs/InputTime/InputTime.md +8 -0
- package/dist/docs/SelectPrimitive/SelectPrimitive.md +38 -25
- package/dist/floating-ui.react-cjs.js +586 -10
- package/dist/floating-ui.react-dom-cjs.js +92 -92
- package/dist/floating-ui.react-dom-es.js +1 -1
- package/dist/floating-ui.react-es.js +580 -4
- package/dist/floating-ui.utils-cjs.js +159 -0
- package/dist/floating-ui.utils-es.js +136 -0
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{ToolbarRootContext-cjs.js → isElementDisabled-cjs.js} +5 -0
- package/dist/{ToolbarRootContext-es.js → isElementDisabled-es.js} +5 -1
- package/dist/primitives/BottomSheet/index.cjs +3 -3
- package/dist/primitives/BottomSheet/index.mjs +3 -3
- package/dist/primitives/ComboboxPrimitive/index.cjs +2 -2
- package/dist/primitives/ComboboxPrimitive/index.mjs +2 -2
- package/dist/primitives/InputNumberExperimental/index.cjs +1 -1
- package/dist/primitives/InputNumberExperimental/index.mjs +1 -1
- package/dist/primitives/SelectPrimitive/index.cjs +5 -5
- package/dist/primitives/SelectPrimitive/index.mjs +5 -5
- package/dist/primitives/index.cjs +4 -4
- package/dist/primitives/index.mjs +4 -4
- package/dist/resolveAriaLabelledBy-cjs.js +5 -0
- package/dist/resolveAriaLabelledBy-es.js +5 -1
- package/dist/{CSPContext-cjs.js → scrollEdges-cjs.js} +30 -2
- package/dist/{CSPContext-es.js → scrollEdges-es.js} +28 -3
- package/dist/styles.css +9 -3
- package/dist/unstyledPrimitives/index.cjs +1217 -639
- package/dist/unstyledPrimitives/index.mjs +1163 -585
- package/dist/useButton-cjs.js +283 -317
- package/dist/useButton-es.js +277 -298
- package/dist/useCompositeListItem-cjs.js +328 -279
- package/dist/useCompositeListItem-es.js +293 -246
- package/dist/useLabel-cjs.js +11 -1
- package/dist/useLabel-es.js +11 -2
- package/dist/useLabelableId-cjs.js +37 -91
- package/dist/useLabelableId-es.js +37 -90
- package/dist/useRenderElement-cjs.js +81 -26
- package/dist/useRenderElement-es.js +81 -27
- package/dist/{InternalBackdrop-cjs.js → useScrollLock-cjs.js} +1286 -1220
- package/dist/{InternalBackdrop-es.js → useScrollLock-es.js} +1250 -1207
- package/package.json +3 -3
- package/dist/index.esm-cjs.js +0 -738
- package/dist/index.esm-es.js +0 -712
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { u as useDialogRootContext, j as useDialogPortalContext, k as DialogStore } from './ScrollAreaViewport-es.js';
|
|
3
3
|
import { u as useRenderElement } from './useRenderElement-es.js';
|
|
4
|
-
import { p as popupStateMapping, C as CommonPopupDataAttributes, F as FloatingFocusManager } from './
|
|
4
|
+
import { p as popupStateMapping, C as CommonPopupDataAttributes, c as createDefaultInitialFocus, F as FOCUSABLE_POPUP_PROPS, a as FloatingFocusManager } from './useScrollLock-es.js';
|
|
5
5
|
import { t as transitionStatusMapping, u as useBaseUiId, f as useOpenChangeComplete, d as createChangeEventDetails, i as imperativeAction } from './useButton-es.js';
|
|
6
|
-
import { C as COMPOSITE_KEYS } from './
|
|
6
|
+
import { C as COMPOSITE_KEYS } from './scrollEdges-es.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
const stateAttributesMapping$2 = {
|
|
@@ -21,6 +21,7 @@ const DialogBackdrop = /*#__PURE__*/React.forwardRef(function DialogBackdrop(com
|
|
|
21
21
|
const {
|
|
22
22
|
render,
|
|
23
23
|
className,
|
|
24
|
+
style,
|
|
24
25
|
forceRender = false,
|
|
25
26
|
...elementProps
|
|
26
27
|
} = componentProps;
|
|
@@ -62,6 +63,7 @@ const DialogDescription = /*#__PURE__*/React.forwardRef(function DialogDescripti
|
|
|
62
63
|
const {
|
|
63
64
|
render,
|
|
64
65
|
className,
|
|
66
|
+
style,
|
|
65
67
|
id: idProp,
|
|
66
68
|
...elementProps
|
|
67
69
|
} = componentProps;
|
|
@@ -134,10 +136,11 @@ const stateAttributesMapping$1 = {
|
|
|
134
136
|
*/
|
|
135
137
|
const DialogPopup = /*#__PURE__*/React.forwardRef(function DialogPopup(componentProps, forwardedRef) {
|
|
136
138
|
const {
|
|
139
|
+
render,
|
|
137
140
|
className,
|
|
141
|
+
style,
|
|
138
142
|
finalFocus,
|
|
139
143
|
initialFocus,
|
|
140
|
-
render,
|
|
141
144
|
...elementProps
|
|
142
145
|
} = componentProps;
|
|
143
146
|
const {
|
|
@@ -156,6 +159,8 @@ const DialogPopup = /*#__PURE__*/React.forwardRef(function DialogPopup(component
|
|
|
156
159
|
const titleElementId = store.useState('titleElementId');
|
|
157
160
|
const transitionStatus = store.useState('transitionStatus');
|
|
158
161
|
const role = store.useState('role');
|
|
162
|
+
const floatingId = floatingRootContext.useState('floatingId');
|
|
163
|
+
const popupId = elementProps.id ?? floatingId;
|
|
159
164
|
useDialogPortalContext();
|
|
160
165
|
useOpenChangeComplete({
|
|
161
166
|
open,
|
|
@@ -166,18 +171,9 @@ const DialogPopup = /*#__PURE__*/React.forwardRef(function DialogPopup(component
|
|
|
166
171
|
}
|
|
167
172
|
}
|
|
168
173
|
});
|
|
169
|
-
|
|
170
|
-
// Default initial focus logic:
|
|
171
|
-
// If opened by touch, focus the popup element to prevent the virtual keyboard from opening
|
|
172
|
-
// (this is required for Android specifically as iOS handles this automatically).
|
|
173
|
-
function defaultInitialFocus(interactionType) {
|
|
174
|
-
if (interactionType === 'touch') {
|
|
175
|
-
return store.context.popupRef.current;
|
|
176
|
-
}
|
|
177
|
-
return true;
|
|
178
|
-
}
|
|
179
|
-
const resolvedInitialFocus = initialFocus === undefined ? defaultInitialFocus : initialFocus;
|
|
174
|
+
const resolvedInitialFocus = initialFocus === undefined ? createDefaultInitialFocus(store.context.popupRef) : initialFocus;
|
|
180
175
|
const nestedDialogOpen = nestedOpenDialogCount > 0;
|
|
176
|
+
const setPopupElement = store.useStateSetter('popupElement');
|
|
181
177
|
const state = {
|
|
182
178
|
open,
|
|
183
179
|
nested,
|
|
@@ -187,10 +183,11 @@ const DialogPopup = /*#__PURE__*/React.forwardRef(function DialogPopup(component
|
|
|
187
183
|
const element = useRenderElement('div', componentProps, {
|
|
188
184
|
state,
|
|
189
185
|
props: [rootPopupProps, {
|
|
186
|
+
id: popupId,
|
|
190
187
|
'aria-labelledby': titleElementId ?? undefined,
|
|
191
188
|
'aria-describedby': descriptionElementId ?? undefined,
|
|
192
189
|
role,
|
|
193
|
-
|
|
190
|
+
...FOCUSABLE_POPUP_PROPS,
|
|
194
191
|
hidden: !mounted,
|
|
195
192
|
onKeyDown(event) {
|
|
196
193
|
if (COMPOSITE_KEYS.has(event.key)) {
|
|
@@ -201,7 +198,7 @@ const DialogPopup = /*#__PURE__*/React.forwardRef(function DialogPopup(component
|
|
|
201
198
|
[DialogPopupCssVars.nestedDialogs]: nestedOpenDialogCount
|
|
202
199
|
}
|
|
203
200
|
}, elementProps],
|
|
204
|
-
ref: [forwardedRef, store.context.popupRef,
|
|
201
|
+
ref: [forwardedRef, store.context.popupRef, setPopupElement],
|
|
205
202
|
stateAttributesMapping: stateAttributesMapping$1
|
|
206
203
|
});
|
|
207
204
|
return /*#__PURE__*/jsx(FloatingFocusManager, {
|
|
@@ -269,8 +266,9 @@ const stateAttributesMapping = {
|
|
|
269
266
|
*/
|
|
270
267
|
const DialogViewport = /*#__PURE__*/React.forwardRef(function DialogViewport(componentProps, forwardedRef) {
|
|
271
268
|
const {
|
|
272
|
-
className,
|
|
273
269
|
render,
|
|
270
|
+
className,
|
|
271
|
+
style,
|
|
274
272
|
children,
|
|
275
273
|
...elementProps
|
|
276
274
|
} = componentProps;
|
|
@@ -283,6 +281,7 @@ const DialogViewport = /*#__PURE__*/React.forwardRef(function DialogViewport(com
|
|
|
283
281
|
const transitionStatus = store.useState('transitionStatus');
|
|
284
282
|
const nestedOpenDialogCount = store.useState('nestedOpenDialogCount');
|
|
285
283
|
const mounted = store.useState('mounted');
|
|
284
|
+
const setViewportElement = store.useStateSetter('viewportElement');
|
|
286
285
|
const nestedDialogOpen = nestedOpenDialogCount > 0;
|
|
287
286
|
const state = {
|
|
288
287
|
open,
|
|
@@ -294,7 +293,7 @@ const DialogViewport = /*#__PURE__*/React.forwardRef(function DialogViewport(com
|
|
|
294
293
|
return useRenderElement('div', componentProps, {
|
|
295
294
|
enabled: shouldRender,
|
|
296
295
|
state,
|
|
297
|
-
ref: [forwardedRef,
|
|
296
|
+
ref: [forwardedRef, setViewportElement],
|
|
298
297
|
stateAttributesMapping,
|
|
299
298
|
props: [{
|
|
300
299
|
role: 'presentation',
|
|
@@ -323,7 +322,7 @@ class DialogHandle {
|
|
|
323
322
|
|
|
324
323
|
/**
|
|
325
324
|
* Opens the dialog and associates it with the trigger with the given id.
|
|
326
|
-
* The trigger, if provided, must be a
|
|
325
|
+
* The trigger, if provided, must be a matching Trigger component with this handle passed as a prop.
|
|
327
326
|
*
|
|
328
327
|
* This method should only be called in an event handler or an effect (not during rendering).
|
|
329
328
|
*
|
|
@@ -361,7 +360,7 @@ class DialogHandle {
|
|
|
361
360
|
* Indicates whether the dialog is currently open.
|
|
362
361
|
*/
|
|
363
362
|
get isOpen() {
|
|
364
|
-
return this.store.
|
|
363
|
+
return this.store.select('open');
|
|
365
364
|
}
|
|
366
365
|
}
|
|
367
366
|
|
package/dist/DrawerTitle-cjs.js
CHANGED
|
@@ -34,6 +34,7 @@ const DialogClose = /*#__PURE__*/React__namespace.forwardRef(function DialogClos
|
|
|
34
34
|
const {
|
|
35
35
|
render,
|
|
36
36
|
className,
|
|
37
|
+
style,
|
|
37
38
|
disabled = false,
|
|
38
39
|
nativeButton = true,
|
|
39
40
|
...elementProps
|
|
@@ -42,11 +43,6 @@ const DialogClose = /*#__PURE__*/React__namespace.forwardRef(function DialogClos
|
|
|
42
43
|
store
|
|
43
44
|
} = ScrollAreaViewport.useDialogRootContext();
|
|
44
45
|
const open = store.useState('open');
|
|
45
|
-
function handleClick(event) {
|
|
46
|
-
if (open) {
|
|
47
|
-
store.setOpen(false, useButton.createChangeEventDetails(useButton.closePress, event.nativeEvent));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
46
|
const {
|
|
51
47
|
getButtonProps,
|
|
52
48
|
buttonRef
|
|
@@ -57,6 +53,11 @@ const DialogClose = /*#__PURE__*/React__namespace.forwardRef(function DialogClos
|
|
|
57
53
|
const state = {
|
|
58
54
|
disabled
|
|
59
55
|
};
|
|
56
|
+
function handleClick(event) {
|
|
57
|
+
if (open) {
|
|
58
|
+
store.setOpen(false, useButton.createChangeEventDetails(useButton.closePress, event.nativeEvent));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
60
61
|
return useRenderElement.useRenderElement('button', componentProps, {
|
|
61
62
|
state,
|
|
62
63
|
ref: [forwardedRef, buttonRef],
|
|
@@ -77,6 +78,7 @@ const DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitl
|
|
|
77
78
|
const {
|
|
78
79
|
render,
|
|
79
80
|
className,
|
|
81
|
+
style,
|
|
80
82
|
id: idProp,
|
|
81
83
|
...elementProps
|
|
82
84
|
} = componentProps;
|
package/dist/DrawerTitle-es.js
CHANGED
|
@@ -13,6 +13,7 @@ const DialogClose = /*#__PURE__*/React.forwardRef(function DialogClose(component
|
|
|
13
13
|
const {
|
|
14
14
|
render,
|
|
15
15
|
className,
|
|
16
|
+
style,
|
|
16
17
|
disabled = false,
|
|
17
18
|
nativeButton = true,
|
|
18
19
|
...elementProps
|
|
@@ -21,11 +22,6 @@ const DialogClose = /*#__PURE__*/React.forwardRef(function DialogClose(component
|
|
|
21
22
|
store
|
|
22
23
|
} = useDialogRootContext();
|
|
23
24
|
const open = store.useState('open');
|
|
24
|
-
function handleClick(event) {
|
|
25
|
-
if (open) {
|
|
26
|
-
store.setOpen(false, createChangeEventDetails(closePress, event.nativeEvent));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
25
|
const {
|
|
30
26
|
getButtonProps,
|
|
31
27
|
buttonRef
|
|
@@ -36,6 +32,11 @@ const DialogClose = /*#__PURE__*/React.forwardRef(function DialogClose(component
|
|
|
36
32
|
const state = {
|
|
37
33
|
disabled
|
|
38
34
|
};
|
|
35
|
+
function handleClick(event) {
|
|
36
|
+
if (open) {
|
|
37
|
+
store.setOpen(false, createChangeEventDetails(closePress, event.nativeEvent));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
39
40
|
return useRenderElement('button', componentProps, {
|
|
40
41
|
state,
|
|
41
42
|
ref: [forwardedRef, buttonRef],
|
|
@@ -56,6 +57,7 @@ const DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(component
|
|
|
56
57
|
const {
|
|
57
58
|
render,
|
|
58
59
|
className,
|
|
60
|
+
style,
|
|
59
61
|
id: idProp,
|
|
60
62
|
...elementProps
|
|
61
63
|
} = componentProps;
|
|
@@ -17,7 +17,7 @@ require('../../../useChildComponent-cjs.js');
|
|
|
17
17
|
require('../../../Tooltip-cjs.js');
|
|
18
18
|
require('../../../floating-ui.react-cjs.js');
|
|
19
19
|
require('../../../floating-ui.utils.dom-cjs.js');
|
|
20
|
-
require('../../../
|
|
20
|
+
require('../../../floating-ui.utils-cjs.js');
|
|
21
21
|
require('react/jsx-runtime');
|
|
22
22
|
require('react-dom');
|
|
23
23
|
require('../../../floating-ui.react-dom-cjs.js');
|
|
@@ -15,7 +15,7 @@ import '../../../useChildComponent-es.js';
|
|
|
15
15
|
import '../../../Tooltip-es.js';
|
|
16
16
|
import '../../../floating-ui.react-es.js';
|
|
17
17
|
import '../../../floating-ui.utils.dom-es.js';
|
|
18
|
-
import '../../../
|
|
18
|
+
import '../../../floating-ui.utils-es.js';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import '../../../floating-ui.react-dom-es.js';
|
|
@@ -5,7 +5,7 @@ require('react');
|
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('../../../floating-ui.react-cjs.js');
|
|
7
7
|
require('../../../floating-ui.utils.dom-cjs.js');
|
|
8
|
-
require('../../../
|
|
8
|
+
require('../../../floating-ui.utils-cjs.js');
|
|
9
9
|
require('react/jsx-runtime');
|
|
10
10
|
require('react-dom');
|
|
11
11
|
require('../../../floating-ui.react-dom-cjs.js');
|
|
@@ -3,7 +3,7 @@ import 'react';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../floating-ui.react-es.js';
|
|
5
5
|
import '../../../floating-ui.utils.dom-es.js';
|
|
6
|
-
import '../../../
|
|
6
|
+
import '../../../floating-ui.utils-es.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import '../../../floating-ui.react-dom-es.js';
|
|
@@ -15,7 +15,7 @@ require('../../../Typography-cjs.js');
|
|
|
15
15
|
require('../../../Tooltip-cjs.js');
|
|
16
16
|
require('../../../floating-ui.react-cjs.js');
|
|
17
17
|
require('../../../floating-ui.utils.dom-cjs.js');
|
|
18
|
-
require('../../../
|
|
18
|
+
require('../../../floating-ui.utils-cjs.js');
|
|
19
19
|
require('react/jsx-runtime');
|
|
20
20
|
require('react-dom');
|
|
21
21
|
require('../../../floating-ui.react-dom-cjs.js');
|
|
@@ -13,7 +13,7 @@ import '../../../Typography-es.js';
|
|
|
13
13
|
import '../../../Tooltip-es.js';
|
|
14
14
|
import '../../../floating-ui.react-es.js';
|
|
15
15
|
import '../../../floating-ui.utils.dom-es.js';
|
|
16
|
-
import '../../../
|
|
16
|
+
import '../../../floating-ui.utils-es.js';
|
|
17
17
|
import 'react/jsx-runtime';
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
import '../../../floating-ui.react-dom-es.js';
|
|
@@ -7,7 +7,7 @@ require('../FilterPickerContent-cjs.js');
|
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('../floating-ui.react-cjs.js');
|
|
9
9
|
require('../floating-ui.utils.dom-cjs.js');
|
|
10
|
-
require('../
|
|
10
|
+
require('../floating-ui.utils-cjs.js');
|
|
11
11
|
require('react/jsx-runtime');
|
|
12
12
|
require('react-dom');
|
|
13
13
|
require('../floating-ui.react-dom-cjs.js');
|
|
@@ -5,7 +5,7 @@ import '../FilterPickerContent-es.js';
|
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../floating-ui.react-es.js';
|
|
7
7
|
import '../floating-ui.utils.dom-es.js';
|
|
8
|
-
import '../
|
|
8
|
+
import '../floating-ui.utils-es.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import '../floating-ui.react-dom-es.js';
|
|
@@ -11,7 +11,7 @@ var Text = require('./Text-cjs.js');
|
|
|
11
11
|
var useFormFieldFocus = require('./useFormFieldFocus-cjs.js');
|
|
12
12
|
var InputValidation = require('./InputValidation-cjs.js');
|
|
13
13
|
|
|
14
|
-
var formFieldStyles = {"container":"YL-mNv-Bl6g-","wrapper":"_8lhbGTQ-hhg-","disabled":"Tz9LK9ABKMk-","horizontalWrapper":"b5mv1x1H7YE-","textarea":"hGr6YW4AeLM-","safari":"QBCWi9GBgMs-","timeInputLabel":"_0pmqVa2zSE4-","miniLabel":"F1t76G6bDKo-","large":"_9tjyT9QUtP8-","text":"QmMiyoAWp-g-","invalid":"XWDSfe6weSY-","
|
|
14
|
+
var formFieldStyles = {"container":"YL-mNv-Bl6g-","wrapper":"_8lhbGTQ-hhg-","disabled":"Tz9LK9ABKMk-","horizontalWrapper":"b5mv1x1H7YE-","textarea":"hGr6YW4AeLM-","safari":"QBCWi9GBgMs-","timeInputLabel":"_0pmqVa2zSE4-","small":"Sw5O4I0lMJg-","miniLabel":"F1t76G6bDKo-","large":"_9tjyT9QUtP8-","text":"QmMiyoAWp-g-","invalid":"XWDSfe6weSY-","inline":"SaORbL7SYWY-","center":"ozy2UoT2vsg-","right":"_3TJdT91YD3c-","maxLength":"W6GrMqLy2qk-","inputWrapper":"-LmjnYRU0r0-","childrenWrapper":"yVXYv6hkuOA-","input":"vtSDcuzNr9Q-","emptyPhoneNumber":"MVhuQuzUBUs-","label":"Dgk00tzlODA-","select":"NwQGiWBWIsc-","externalLabel":"Qb8zQ8n-8vc-","postfix":"yTDzs9h1otI-","affixIcon":"m0YpdssD2dY-","suffix":"_-3mMnjSh6ok-","affixLabel":"-Wzcb0pBh5I-","description":"DHX5ijY3xIw-","toolbar":"AL-2brNI7dk-","spinning":"_8Rzv7CcDW80-"};
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @internal Reach out to UX Foundations if using this component since it is possible it might change
|
|
@@ -95,7 +95,7 @@ function useFormFieldWrapperStyles({ size, align, placeholder, value, invalid, e
|
|
|
95
95
|
[formFieldStyles.invalid]: invalid !== null && invalid !== void 0 ? invalid : error,
|
|
96
96
|
[formFieldStyles.disabled]: disabled,
|
|
97
97
|
[formFieldStyles.maxLength]: maxLength,
|
|
98
|
-
[formFieldStyles.timeInputLabel]: placeholder && type === "time" &&
|
|
98
|
+
[formFieldStyles.timeInputLabel]: placeholder && type === "time" && value === "",
|
|
99
99
|
});
|
|
100
100
|
const containerClasses = classnames(formFieldStyles.container, {
|
|
101
101
|
[formFieldStyles.inline]: inline,
|
|
@@ -9,7 +9,7 @@ import { T as Text } from './Text-es.js';
|
|
|
9
9
|
import { u as useFormFieldFocus } from './useFormFieldFocus-es.js';
|
|
10
10
|
import { I as InputValidation } from './InputValidation-es.js';
|
|
11
11
|
|
|
12
|
-
var formFieldStyles = {"container":"YL-mNv-Bl6g-","wrapper":"_8lhbGTQ-hhg-","disabled":"Tz9LK9ABKMk-","horizontalWrapper":"b5mv1x1H7YE-","textarea":"hGr6YW4AeLM-","safari":"QBCWi9GBgMs-","timeInputLabel":"_0pmqVa2zSE4-","miniLabel":"F1t76G6bDKo-","large":"_9tjyT9QUtP8-","text":"QmMiyoAWp-g-","invalid":"XWDSfe6weSY-","
|
|
12
|
+
var formFieldStyles = {"container":"YL-mNv-Bl6g-","wrapper":"_8lhbGTQ-hhg-","disabled":"Tz9LK9ABKMk-","horizontalWrapper":"b5mv1x1H7YE-","textarea":"hGr6YW4AeLM-","safari":"QBCWi9GBgMs-","timeInputLabel":"_0pmqVa2zSE4-","small":"Sw5O4I0lMJg-","miniLabel":"F1t76G6bDKo-","large":"_9tjyT9QUtP8-","text":"QmMiyoAWp-g-","invalid":"XWDSfe6weSY-","inline":"SaORbL7SYWY-","center":"ozy2UoT2vsg-","right":"_3TJdT91YD3c-","maxLength":"W6GrMqLy2qk-","inputWrapper":"-LmjnYRU0r0-","childrenWrapper":"yVXYv6hkuOA-","input":"vtSDcuzNr9Q-","emptyPhoneNumber":"MVhuQuzUBUs-","label":"Dgk00tzlODA-","select":"NwQGiWBWIsc-","externalLabel":"Qb8zQ8n-8vc-","postfix":"yTDzs9h1otI-","affixIcon":"m0YpdssD2dY-","suffix":"_-3mMnjSh6ok-","affixLabel":"-Wzcb0pBh5I-","description":"DHX5ijY3xIw-","toolbar":"AL-2brNI7dk-","spinning":"_8Rzv7CcDW80-"};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @internal Reach out to UX Foundations if using this component since it is possible it might change
|
|
@@ -93,7 +93,7 @@ function useFormFieldWrapperStyles({ size, align, placeholder, value, invalid, e
|
|
|
93
93
|
[formFieldStyles.invalid]: invalid !== null && invalid !== void 0 ? invalid : error,
|
|
94
94
|
[formFieldStyles.disabled]: disabled,
|
|
95
95
|
[formFieldStyles.maxLength]: maxLength,
|
|
96
|
-
[formFieldStyles.timeInputLabel]: placeholder && type === "time" &&
|
|
96
|
+
[formFieldStyles.timeInputLabel]: placeholder && type === "time" && value === "",
|
|
97
97
|
});
|
|
98
98
|
const containerClasses = classnames(formFieldStyles.container, {
|
|
99
99
|
[formFieldStyles.inline]: inline,
|
|
@@ -26,7 +26,7 @@ require('../noop-cjs.js');
|
|
|
26
26
|
require('../_commonjsHelpers-cjs.js');
|
|
27
27
|
require('../floating-ui.react-cjs.js');
|
|
28
28
|
require('../floating-ui.utils.dom-cjs.js');
|
|
29
|
-
require('../
|
|
29
|
+
require('../floating-ui.utils-cjs.js');
|
|
30
30
|
require('react/jsx-runtime');
|
|
31
31
|
require('../floating-ui.react-dom-cjs.js');
|
|
32
32
|
require('../identity-cjs.js');
|
|
@@ -24,7 +24,7 @@ import '../noop-es.js';
|
|
|
24
24
|
import '../_commonjsHelpers-es.js';
|
|
25
25
|
import '../floating-ui.react-es.js';
|
|
26
26
|
import '../floating-ui.utils.dom-es.js';
|
|
27
|
-
import '../
|
|
27
|
+
import '../floating-ui.utils-es.js';
|
|
28
28
|
import 'react/jsx-runtime';
|
|
29
29
|
import '../floating-ui.react-dom-es.js';
|
|
30
30
|
import '../identity-es.js';
|
package/dist/Gallery/index.cjs
CHANGED
|
@@ -21,7 +21,7 @@ require('../Heading-cjs.js');
|
|
|
21
21
|
require('../Tooltip-cjs.js');
|
|
22
22
|
require('../floating-ui.react-cjs.js');
|
|
23
23
|
require('../floating-ui.utils.dom-cjs.js');
|
|
24
|
-
require('../
|
|
24
|
+
require('../floating-ui.utils-cjs.js');
|
|
25
25
|
require('react/jsx-runtime');
|
|
26
26
|
require('../floating-ui.react-dom-cjs.js');
|
|
27
27
|
require('../AtlantisThemeContext-cjs.js');
|
package/dist/Gallery/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import '../Heading-es.js';
|
|
|
19
19
|
import '../Tooltip-es.js';
|
|
20
20
|
import '../floating-ui.react-es.js';
|
|
21
21
|
import '../floating-ui.utils.dom-es.js';
|
|
22
|
-
import '../
|
|
22
|
+
import '../floating-ui.utils-es.js';
|
|
23
23
|
import 'react/jsx-runtime';
|
|
24
24
|
import '../floating-ui.react-dom-es.js';
|
|
25
25
|
import '../AtlantisThemeContext-es.js';
|
package/dist/InputDate/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ require('classnames');
|
|
|
7
7
|
require('../clsx-cjs.js');
|
|
8
8
|
require('../floating-ui.react-cjs.js');
|
|
9
9
|
require('../floating-ui.utils.dom-cjs.js');
|
|
10
|
-
require('../
|
|
10
|
+
require('../floating-ui.utils-cjs.js');
|
|
11
11
|
require('react/jsx-runtime');
|
|
12
12
|
require('react-dom');
|
|
13
13
|
require('../floating-ui.react-dom-cjs.js');
|
package/dist/InputDate/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import 'classnames';
|
|
|
5
5
|
import '../clsx-es.js';
|
|
6
6
|
import '../floating-ui.react-es.js';
|
|
7
7
|
import '../floating-ui.utils.dom-es.js';
|
|
8
|
-
import '../
|
|
8
|
+
import '../floating-ui.utils-es.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import '../floating-ui.react-dom-es.js';
|