@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
|
@@ -5,7 +5,7 @@ var classnames = require('classnames');
|
|
|
5
5
|
var tslib_es6 = require('./tslib.es6-cjs.js');
|
|
6
6
|
var Button = require('./Button-cjs.js');
|
|
7
7
|
|
|
8
|
-
var styles$1 = {"sortIcon":"NrRExUGE6GY-","inactive":"e3aVa36Y7W8-","active":"lDKd982Sr-w-"
|
|
8
|
+
var styles$1 = {"sortIcon":"NrRExUGE6GY-","inactive":"e3aVa36Y7W8-","active":"lDKd982Sr-w-"};
|
|
9
9
|
|
|
10
10
|
exports.SortDirection = void 0;
|
|
11
11
|
(function (SortDirection) {
|
|
@@ -39,7 +39,7 @@ function SortIcon({ direction }) {
|
|
|
39
39
|
React.createElement("path", { className: finalStyle.downArrowStyle, d: "M8.29292 13.3339C8.68345 12.9434 9.31661 12.9434 9.70714 13.3339L12.2968 15.8573L14.8787 13.3339C15.2692 12.9434 15.9024 12.9434 16.2929 13.3339C16.6834 13.7244 16.6834 14.3576 16.2929 14.7481L13 18.041C12.6095 18.4315 11.9763 18.4315 11.5858 18.041L8.29292 14.7481C7.9024 14.3576 7.9024 13.7244 8.29292 13.3339Z" }))));
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var styles = {"container":"_1-DPmbxOkZ8-","tableElement":"kJeYcsgg700-","header":"_5d2OcsTVgzU-","headerCell":"LTx0tCU3F2I-","sortableButton":"WTQCrd2d8nw-","focusArea":"RipbH3rRU-E-","alignCenter":"w4UHxTf-Z0Q-","alignEnd":"O7R9Tt281nY-","row":"sJQbtw-NEHU-","clickableRow":"J2p1EeT252A-","cell":"_1UpLYTK64uY-","footer":"qe-6UrAFLTo-","actions":"_2fZsLSaNPnI-","rowActions":"pElxuwpGmCI-","pagination":"thJ-CSoe0ps-"
|
|
42
|
+
var styles = {"container":"_1-DPmbxOkZ8-","tableElement":"kJeYcsgg700-","header":"_5d2OcsTVgzU-","headerCell":"LTx0tCU3F2I-","sortableButton":"WTQCrd2d8nw-","focusArea":"RipbH3rRU-E-","alignCenter":"w4UHxTf-Z0Q-","alignEnd":"O7R9Tt281nY-","row":"sJQbtw-NEHU-","clickableRow":"J2p1EeT252A-","cell":"_1UpLYTK64uY-","footer":"qe-6UrAFLTo-","actions":"_2fZsLSaNPnI-","rowActions":"pElxuwpGmCI-","pagination":"thJ-CSoe0ps-"};
|
|
43
43
|
|
|
44
44
|
function DataTableActions(props) {
|
|
45
45
|
return (React.createElement("div", Object.assign({}, props, { className: classnames(styles.actions, props.className) }), props.children));
|
|
@@ -3,7 +3,7 @@ import classnames from 'classnames';
|
|
|
3
3
|
import { _ as __rest } from './tslib.es6-es.js';
|
|
4
4
|
import { B as Button } from './Button-es.js';
|
|
5
5
|
|
|
6
|
-
var styles$1 = {"sortIcon":"NrRExUGE6GY-","inactive":"e3aVa36Y7W8-","active":"lDKd982Sr-w-"
|
|
6
|
+
var styles$1 = {"sortIcon":"NrRExUGE6GY-","inactive":"e3aVa36Y7W8-","active":"lDKd982Sr-w-"};
|
|
7
7
|
|
|
8
8
|
var SortDirection;
|
|
9
9
|
(function (SortDirection) {
|
|
@@ -37,7 +37,7 @@ function SortIcon({ direction }) {
|
|
|
37
37
|
React__default.createElement("path", { className: finalStyle.downArrowStyle, d: "M8.29292 13.3339C8.68345 12.9434 9.31661 12.9434 9.70714 13.3339L12.2968 15.8573L14.8787 13.3339C15.2692 12.9434 15.9024 12.9434 16.2929 13.3339C16.6834 13.7244 16.6834 14.3576 16.2929 14.7481L13 18.041C12.6095 18.4315 11.9763 18.4315 11.5858 18.041L8.29292 14.7481C7.9024 14.3576 7.9024 13.7244 8.29292 13.3339Z" }))));
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var styles = {"container":"_1-DPmbxOkZ8-","tableElement":"kJeYcsgg700-","header":"_5d2OcsTVgzU-","headerCell":"LTx0tCU3F2I-","sortableButton":"WTQCrd2d8nw-","focusArea":"RipbH3rRU-E-","alignCenter":"w4UHxTf-Z0Q-","alignEnd":"O7R9Tt281nY-","row":"sJQbtw-NEHU-","clickableRow":"J2p1EeT252A-","cell":"_1UpLYTK64uY-","footer":"qe-6UrAFLTo-","actions":"_2fZsLSaNPnI-","rowActions":"pElxuwpGmCI-","pagination":"thJ-CSoe0ps-"
|
|
40
|
+
var styles = {"container":"_1-DPmbxOkZ8-","tableElement":"kJeYcsgg700-","header":"_5d2OcsTVgzU-","headerCell":"LTx0tCU3F2I-","sortableButton":"WTQCrd2d8nw-","focusArea":"RipbH3rRU-E-","alignCenter":"w4UHxTf-Z0Q-","alignEnd":"O7R9Tt281nY-","row":"sJQbtw-NEHU-","clickableRow":"J2p1EeT252A-","cell":"_1UpLYTK64uY-","footer":"qe-6UrAFLTo-","actions":"_2fZsLSaNPnI-","rowActions":"pElxuwpGmCI-","pagination":"thJ-CSoe0ps-"};
|
|
41
41
|
|
|
42
42
|
function DataTableActions(props) {
|
|
43
43
|
return (React__default.createElement("div", Object.assign({}, props, { className: classnames(styles.actions, props.className) }), props.children));
|
|
@@ -114,4 +114,4 @@ function DataTableTable(props) {
|
|
|
114
114
|
return (React__default.createElement("table", Object.assign({}, rest, { className: classnames(styles.tableElement, className), style: Object.assign(Object.assign({}, style), { tableLayout: layout }) }), props.children));
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export { DataTableActions as D,
|
|
117
|
+
export { DataTableActions as D, SortDirection as S, SortIcon as a, DataTableBody as b, DataTableCell as c, DataTableContainer as d, DataTableFooter as e, DataTableHeader as f, DataTableHeaderCell as g, DataTablePagination as h, DataTablePaginationButton as i, DataTableRow as j, DataTableRowActions as k, DataTableSortableHeader as l, DataTableTable as m };
|
package/dist/DatePicker-cjs.js
CHANGED
|
@@ -1828,8 +1828,6 @@ const lightFormatters = {
|
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
1830
|
const dayPeriodEnum = {
|
|
1831
|
-
am: "am",
|
|
1832
|
-
pm: "pm",
|
|
1833
1831
|
midnight: "midnight",
|
|
1834
1832
|
noon: "noon",
|
|
1835
1833
|
morning: "morning",
|
|
@@ -6199,7 +6197,7 @@ function isWithinInterval(date, interval, options) {
|
|
|
6199
6197
|
* //=> Fri Aug 22 2014 00:00:00
|
|
6200
6198
|
*/
|
|
6201
6199
|
function subDays(date, amount, options) {
|
|
6202
|
-
return addDays(date, -
|
|
6200
|
+
return addDays(date, -1, options);
|
|
6203
6201
|
}
|
|
6204
6202
|
|
|
6205
6203
|
/**
|
|
@@ -6750,7 +6748,7 @@ function subMonths(date, amount, options) {
|
|
|
6750
6748
|
* //=> Sun Dec 01 2013 00:00:00
|
|
6751
6749
|
*/
|
|
6752
6750
|
function subQuarters(date, amount, options) {
|
|
6753
|
-
return addQuarters(date, -
|
|
6751
|
+
return addQuarters(date, -1, options);
|
|
6754
6752
|
}
|
|
6755
6753
|
|
|
6756
6754
|
/**
|
|
@@ -6780,7 +6778,7 @@ function subQuarters(date, amount, options) {
|
|
|
6780
6778
|
* //=> Mon Aug 04 2014 00:00:00
|
|
6781
6779
|
*/
|
|
6782
6780
|
function subWeeks(date, amount, options) {
|
|
6783
|
-
return addWeeks(date, -
|
|
6781
|
+
return addWeeks(date, -1, options);
|
|
6784
6782
|
}
|
|
6785
6783
|
|
|
6786
6784
|
/**
|
|
@@ -6974,10 +6972,7 @@ function parseDate(value, dateFormat, locale, strictParsing, refDate) {
|
|
|
6974
6972
|
for (var _i = 0, formats_1 = formats; _i < formats_1.length; _i++) {
|
|
6975
6973
|
var format_1 = formats_1[_i];
|
|
6976
6974
|
var parsedDate = parse(value, format_1, refDate, {
|
|
6977
|
-
locale: localeObject
|
|
6978
|
-
useAdditionalWeekYearTokens: true,
|
|
6979
|
-
useAdditionalDayOfYearTokens: true,
|
|
6980
|
-
});
|
|
6975
|
+
locale: localeObject});
|
|
6981
6976
|
if (isValid(parsedDate) &&
|
|
6982
6977
|
(!strictParsing || value === formatDate(parsedDate, format_1, locale))) {
|
|
6983
6978
|
return parsedDate;
|
|
@@ -7613,7 +7608,7 @@ function monthDisabledAfter(day, _a) {
|
|
|
7613
7608
|
function quarterDisabledBefore(date, _a) {
|
|
7614
7609
|
var _b = _a === void 0 ? {} : _a, minDate = _b.minDate, includeDates = _b.includeDates;
|
|
7615
7610
|
var firstDateOfYear = startOfYear(date);
|
|
7616
|
-
var previousQuarter = subQuarters(firstDateOfYear
|
|
7611
|
+
var previousQuarter = subQuarters(firstDateOfYear);
|
|
7617
7612
|
return ((minDate && differenceInCalendarQuarters(minDate, previousQuarter) > 0) ||
|
|
7618
7613
|
(includeDates &&
|
|
7619
7614
|
includeDates.every(function (includeDate) {
|
|
@@ -9113,7 +9108,7 @@ var Month = /** @class */ (function (_super) {
|
|
|
9113
9108
|
if (!_this.props.preSelection) {
|
|
9114
9109
|
break;
|
|
9115
9110
|
}
|
|
9116
|
-
_this.handleQuarterNavigation(quarter === 1 ? 4 : quarter - 1, subQuarters(_this.props.preSelection
|
|
9111
|
+
_this.handleQuarterNavigation(quarter === 1 ? 4 : quarter - 1, subQuarters(_this.props.preSelection));
|
|
9117
9112
|
break;
|
|
9118
9113
|
}
|
|
9119
9114
|
}
|
|
@@ -11618,11 +11613,11 @@ var DatePicker$1 = /** @class */ (function (_super) {
|
|
|
11618
11613
|
break;
|
|
11619
11614
|
case KeyType.ArrowLeft:
|
|
11620
11615
|
newCalculatedDate = showWeekPicker
|
|
11621
|
-
? subWeeks(date
|
|
11622
|
-
: subDays(date
|
|
11616
|
+
? subWeeks(date)
|
|
11617
|
+
: subDays(date);
|
|
11623
11618
|
break;
|
|
11624
11619
|
case KeyType.ArrowUp:
|
|
11625
|
-
newCalculatedDate = subWeeks(date
|
|
11620
|
+
newCalculatedDate = subWeeks(date);
|
|
11626
11621
|
break;
|
|
11627
11622
|
case KeyType.ArrowDown:
|
|
11628
11623
|
newCalculatedDate = addWeeks(date, 1);
|
|
@@ -12023,7 +12018,7 @@ var DatePicker$1 = /** @class */ (function (_super) {
|
|
|
12023
12018
|
var PRESELECT_CHANGE_VIA_INPUT = "input";
|
|
12024
12019
|
var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
|
|
12025
12020
|
|
|
12026
|
-
var styles = {"datePickerWrapper":"OmFI-Bfdzgw-","fullWidth":"HWDFy10kcYA-","datePicker":"Ma55F5Y-XhE-","inline":"_58kEbTu-IAA-","portalContainer":"LDxKi0E-1rg-","header":"Epg-Ub8Dn9A-","month":"Wx3NP8La95k-"
|
|
12021
|
+
var styles = {"datePickerWrapper":"OmFI-Bfdzgw-","fullWidth":"HWDFy10kcYA-","datePicker":"Ma55F5Y-XhE-","inline":"_58kEbTu-IAA-","portalContainer":"LDxKi0E-1rg-","header":"Epg-Ub8Dn9A-","month":"Wx3NP8La95k-"};
|
|
12027
12022
|
|
|
12028
12023
|
const datePickerMessages = useAtlantisI18n.defineMessages({
|
|
12029
12024
|
previousMonth: {
|
|
@@ -12193,10 +12188,10 @@ var _getAllKeysIn = getAllKeysIn$2;
|
|
|
12193
12188
|
|
|
12194
12189
|
/** Used for built-in method references. */
|
|
12195
12190
|
|
|
12196
|
-
var objectProto = Object.prototype;
|
|
12191
|
+
var objectProto$1 = Object.prototype;
|
|
12197
12192
|
|
|
12198
12193
|
/** Used to check objects for own properties. */
|
|
12199
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
12194
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
12200
12195
|
|
|
12201
12196
|
/**
|
|
12202
12197
|
* Initializes an array clone.
|
|
@@ -12210,7 +12205,7 @@ function initCloneArray$1(array) {
|
|
|
12210
12205
|
result = new array.constructor(length);
|
|
12211
12206
|
|
|
12212
12207
|
// Add properties assigned by `RegExp#exec`.
|
|
12213
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
|
12208
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$1.call(array, 'index')) {
|
|
12214
12209
|
result.index = array.index;
|
|
12215
12210
|
result.input = array.input;
|
|
12216
12211
|
}
|
|
@@ -12690,6 +12685,12 @@ var castPath$1 = _getAllKeys._castPath,
|
|
|
12690
12685
|
parent = _parent,
|
|
12691
12686
|
toKey = _getAllKeys._toKey;
|
|
12692
12687
|
|
|
12688
|
+
/** Used for built-in method references. */
|
|
12689
|
+
var objectProto = Object.prototype;
|
|
12690
|
+
|
|
12691
|
+
/** Used to check objects for own properties. */
|
|
12692
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
12693
|
+
|
|
12693
12694
|
/**
|
|
12694
12695
|
* The base implementation of `_.unset`.
|
|
12695
12696
|
*
|
|
@@ -12700,8 +12701,34 @@ var castPath$1 = _getAllKeys._castPath,
|
|
|
12700
12701
|
*/
|
|
12701
12702
|
function baseUnset$1(object, path) {
|
|
12702
12703
|
path = castPath$1(path, object);
|
|
12703
|
-
|
|
12704
|
-
|
|
12704
|
+
|
|
12705
|
+
// Prevent prototype pollution:
|
|
12706
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
12707
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
12708
|
+
var index = -1,
|
|
12709
|
+
length = path.length;
|
|
12710
|
+
|
|
12711
|
+
if (!length) {
|
|
12712
|
+
return true;
|
|
12713
|
+
}
|
|
12714
|
+
|
|
12715
|
+
while (++index < length) {
|
|
12716
|
+
var key = toKey(path[index]);
|
|
12717
|
+
|
|
12718
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
12719
|
+
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
12720
|
+
return false;
|
|
12721
|
+
}
|
|
12722
|
+
|
|
12723
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
12724
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
12725
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
12726
|
+
return false;
|
|
12727
|
+
}
|
|
12728
|
+
}
|
|
12729
|
+
|
|
12730
|
+
var obj = parent(object, path);
|
|
12731
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
12705
12732
|
}
|
|
12706
12733
|
|
|
12707
12734
|
var _baseUnset = baseUnset$1;
|
package/dist/DatePicker-es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React__default, { cloneElement,
|
|
1
|
+
import React__default, { cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, forwardRef, isValidElement, useState, useId } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { u as useFloating,
|
|
3
|
+
import { u as useFloating, a as autoUpdate, f as flip, o as offset, b as arrow, w as FloatingArrow, d as useFloatingNodeId, c as useFloatingParentNodeId, i as FloatingTree, j as FloatingNode, F as FloatingPortal } from './floating-ui.react-es.js';
|
|
4
4
|
import ReactDOM__default from 'react-dom';
|
|
5
5
|
import { e as enUS, u as useDateLocale } from './dateLocale-es.js';
|
|
6
6
|
import { useRefocusOnActivator } from '@jobber/hooks';
|
|
@@ -9,14 +9,14 @@ import { u as useAtlantisContext } from './AtlantisContext-es.js';
|
|
|
9
9
|
import { T as Typography } from './Typography-es.js';
|
|
10
10
|
import { B as Button } from './Button-es.js';
|
|
11
11
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
12
|
-
import { k as keys_1, g as _getSymbols,
|
|
12
|
+
import { k as keys_1, g as _getSymbols, s as stubArray_1, _ as _arrayPush, h as _baseGetAllKeys, c as _getAllKeys, b as _baseGet, d as _castPath, e as _toKey, a as _arrayMap } from './_getAllKeys-es.js';
|
|
13
13
|
import { c as _Stack } from './identity-es.js';
|
|
14
|
-
import { _ as _copyObject, k as keysIn_1, e as _getPrototype, f as _cloneArrayBuffer,
|
|
15
|
-
import {
|
|
14
|
+
import { _ as _copyObject, k as keysIn_1, e as _getPrototype, f as _cloneArrayBuffer, c as _cloneTypedArray, a as _copyArray, b as _cloneBufferExports, d as _initCloneObject, g as _assignValue, i as isPlainObject_1 } from './keysIn-es.js';
|
|
15
|
+
import { _ as _getTag } from './_getTag-es.js';
|
|
16
16
|
import { b as _Symbol, i as isObjectLike_1, a as isObject_1 } from './isObjectLike-es.js';
|
|
17
|
-
import { m as _nodeUtilExports, j as _baseUnary,
|
|
17
|
+
import { m as _nodeUtilExports, j as _baseUnary, b as isBufferExports, a as isArray_1 } from './isTypedArray-es.js';
|
|
18
18
|
import { _ as _baseFlatten } from './_baseFlatten-es.js';
|
|
19
|
-
import { _ as
|
|
19
|
+
import { _ as _setToString, a as _overRest } from './_setToString-es.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @module constants
|
|
@@ -1826,8 +1826,6 @@ const lightFormatters = {
|
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
1828
|
const dayPeriodEnum = {
|
|
1829
|
-
am: "am",
|
|
1830
|
-
pm: "pm",
|
|
1831
1829
|
midnight: "midnight",
|
|
1832
1830
|
noon: "noon",
|
|
1833
1831
|
morning: "morning",
|
|
@@ -6197,7 +6195,7 @@ function isWithinInterval(date, interval, options) {
|
|
|
6197
6195
|
* //=> Fri Aug 22 2014 00:00:00
|
|
6198
6196
|
*/
|
|
6199
6197
|
function subDays(date, amount, options) {
|
|
6200
|
-
return addDays(date, -
|
|
6198
|
+
return addDays(date, -1, options);
|
|
6201
6199
|
}
|
|
6202
6200
|
|
|
6203
6201
|
/**
|
|
@@ -6748,7 +6746,7 @@ function subMonths(date, amount, options) {
|
|
|
6748
6746
|
* //=> Sun Dec 01 2013 00:00:00
|
|
6749
6747
|
*/
|
|
6750
6748
|
function subQuarters(date, amount, options) {
|
|
6751
|
-
return addQuarters(date, -
|
|
6749
|
+
return addQuarters(date, -1, options);
|
|
6752
6750
|
}
|
|
6753
6751
|
|
|
6754
6752
|
/**
|
|
@@ -6778,7 +6776,7 @@ function subQuarters(date, amount, options) {
|
|
|
6778
6776
|
* //=> Mon Aug 04 2014 00:00:00
|
|
6779
6777
|
*/
|
|
6780
6778
|
function subWeeks(date, amount, options) {
|
|
6781
|
-
return addWeeks(date, -
|
|
6779
|
+
return addWeeks(date, -1, options);
|
|
6782
6780
|
}
|
|
6783
6781
|
|
|
6784
6782
|
/**
|
|
@@ -6972,10 +6970,7 @@ function parseDate(value, dateFormat, locale, strictParsing, refDate) {
|
|
|
6972
6970
|
for (var _i = 0, formats_1 = formats; _i < formats_1.length; _i++) {
|
|
6973
6971
|
var format_1 = formats_1[_i];
|
|
6974
6972
|
var parsedDate = parse(value, format_1, refDate, {
|
|
6975
|
-
locale: localeObject
|
|
6976
|
-
useAdditionalWeekYearTokens: true,
|
|
6977
|
-
useAdditionalDayOfYearTokens: true,
|
|
6978
|
-
});
|
|
6973
|
+
locale: localeObject});
|
|
6979
6974
|
if (isValid(parsedDate) &&
|
|
6980
6975
|
(!strictParsing || value === formatDate(parsedDate, format_1, locale))) {
|
|
6981
6976
|
return parsedDate;
|
|
@@ -7611,7 +7606,7 @@ function monthDisabledAfter(day, _a) {
|
|
|
7611
7606
|
function quarterDisabledBefore(date, _a) {
|
|
7612
7607
|
var _b = _a === void 0 ? {} : _a, minDate = _b.minDate, includeDates = _b.includeDates;
|
|
7613
7608
|
var firstDateOfYear = startOfYear(date);
|
|
7614
|
-
var previousQuarter = subQuarters(firstDateOfYear
|
|
7609
|
+
var previousQuarter = subQuarters(firstDateOfYear);
|
|
7615
7610
|
return ((minDate && differenceInCalendarQuarters(minDate, previousQuarter) > 0) ||
|
|
7616
7611
|
(includeDates &&
|
|
7617
7612
|
includeDates.every(function (includeDate) {
|
|
@@ -9111,7 +9106,7 @@ var Month = /** @class */ (function (_super) {
|
|
|
9111
9106
|
if (!_this.props.preSelection) {
|
|
9112
9107
|
break;
|
|
9113
9108
|
}
|
|
9114
|
-
_this.handleQuarterNavigation(quarter === 1 ? 4 : quarter - 1, subQuarters(_this.props.preSelection
|
|
9109
|
+
_this.handleQuarterNavigation(quarter === 1 ? 4 : quarter - 1, subQuarters(_this.props.preSelection));
|
|
9115
9110
|
break;
|
|
9116
9111
|
}
|
|
9117
9112
|
}
|
|
@@ -11616,11 +11611,11 @@ var DatePicker$1 = /** @class */ (function (_super) {
|
|
|
11616
11611
|
break;
|
|
11617
11612
|
case KeyType.ArrowLeft:
|
|
11618
11613
|
newCalculatedDate = showWeekPicker
|
|
11619
|
-
? subWeeks(date
|
|
11620
|
-
: subDays(date
|
|
11614
|
+
? subWeeks(date)
|
|
11615
|
+
: subDays(date);
|
|
11621
11616
|
break;
|
|
11622
11617
|
case KeyType.ArrowUp:
|
|
11623
|
-
newCalculatedDate = subWeeks(date
|
|
11618
|
+
newCalculatedDate = subWeeks(date);
|
|
11624
11619
|
break;
|
|
11625
11620
|
case KeyType.ArrowDown:
|
|
11626
11621
|
newCalculatedDate = addWeeks(date, 1);
|
|
@@ -12021,7 +12016,7 @@ var DatePicker$1 = /** @class */ (function (_super) {
|
|
|
12021
12016
|
var PRESELECT_CHANGE_VIA_INPUT = "input";
|
|
12022
12017
|
var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
|
|
12023
12018
|
|
|
12024
|
-
var styles = {"datePickerWrapper":"OmFI-Bfdzgw-","fullWidth":"HWDFy10kcYA-","datePicker":"Ma55F5Y-XhE-","inline":"_58kEbTu-IAA-","portalContainer":"LDxKi0E-1rg-","header":"Epg-Ub8Dn9A-","month":"Wx3NP8La95k-"
|
|
12019
|
+
var styles = {"datePickerWrapper":"OmFI-Bfdzgw-","fullWidth":"HWDFy10kcYA-","datePicker":"Ma55F5Y-XhE-","inline":"_58kEbTu-IAA-","portalContainer":"LDxKi0E-1rg-","header":"Epg-Ub8Dn9A-","month":"Wx3NP8La95k-"};
|
|
12025
12020
|
|
|
12026
12021
|
const datePickerMessages = defineMessages({
|
|
12027
12022
|
previousMonth: {
|
|
@@ -12191,10 +12186,10 @@ var _getAllKeysIn = getAllKeysIn$2;
|
|
|
12191
12186
|
|
|
12192
12187
|
/** Used for built-in method references. */
|
|
12193
12188
|
|
|
12194
|
-
var objectProto = Object.prototype;
|
|
12189
|
+
var objectProto$1 = Object.prototype;
|
|
12195
12190
|
|
|
12196
12191
|
/** Used to check objects for own properties. */
|
|
12197
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
12192
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
12198
12193
|
|
|
12199
12194
|
/**
|
|
12200
12195
|
* Initializes an array clone.
|
|
@@ -12208,7 +12203,7 @@ function initCloneArray$1(array) {
|
|
|
12208
12203
|
result = new array.constructor(length);
|
|
12209
12204
|
|
|
12210
12205
|
// Add properties assigned by `RegExp#exec`.
|
|
12211
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
|
12206
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$1.call(array, 'index')) {
|
|
12212
12207
|
result.index = array.index;
|
|
12213
12208
|
result.input = array.input;
|
|
12214
12209
|
}
|
|
@@ -12688,6 +12683,12 @@ var castPath$1 = _castPath,
|
|
|
12688
12683
|
parent = _parent,
|
|
12689
12684
|
toKey = _toKey;
|
|
12690
12685
|
|
|
12686
|
+
/** Used for built-in method references. */
|
|
12687
|
+
var objectProto = Object.prototype;
|
|
12688
|
+
|
|
12689
|
+
/** Used to check objects for own properties. */
|
|
12690
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
12691
|
+
|
|
12691
12692
|
/**
|
|
12692
12693
|
* The base implementation of `_.unset`.
|
|
12693
12694
|
*
|
|
@@ -12698,8 +12699,34 @@ var castPath$1 = _castPath,
|
|
|
12698
12699
|
*/
|
|
12699
12700
|
function baseUnset$1(object, path) {
|
|
12700
12701
|
path = castPath$1(path, object);
|
|
12701
|
-
|
|
12702
|
-
|
|
12702
|
+
|
|
12703
|
+
// Prevent prototype pollution:
|
|
12704
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
12705
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
12706
|
+
var index = -1,
|
|
12707
|
+
length = path.length;
|
|
12708
|
+
|
|
12709
|
+
if (!length) {
|
|
12710
|
+
return true;
|
|
12711
|
+
}
|
|
12712
|
+
|
|
12713
|
+
while (++index < length) {
|
|
12714
|
+
var key = toKey(path[index]);
|
|
12715
|
+
|
|
12716
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
12717
|
+
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
12718
|
+
return false;
|
|
12719
|
+
}
|
|
12720
|
+
|
|
12721
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
12722
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
12723
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
12724
|
+
return false;
|
|
12725
|
+
}
|
|
12726
|
+
}
|
|
12727
|
+
|
|
12728
|
+
var obj = parent(object, path);
|
|
12729
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
12703
12730
|
}
|
|
12704
12731
|
|
|
12705
12732
|
var _baseUnset = baseUnset$1;
|
|
@@ -12795,7 +12822,7 @@ var CLONE_DEEP_FLAG = 1,
|
|
|
12795
12822
|
* _.omit(object, ['a', 'c']);
|
|
12796
12823
|
* // => { 'b': '2' }
|
|
12797
12824
|
*/
|
|
12798
|
-
var omit = flatRest(function(object, paths) {
|
|
12825
|
+
var omit$1 = flatRest(function(object, paths) {
|
|
12799
12826
|
var result = {};
|
|
12800
12827
|
if (object == null) {
|
|
12801
12828
|
return result;
|
|
@@ -12817,15 +12844,15 @@ var omit = flatRest(function(object, paths) {
|
|
|
12817
12844
|
return result;
|
|
12818
12845
|
});
|
|
12819
12846
|
|
|
12820
|
-
var omit_1 = omit;
|
|
12847
|
+
var omit_1 = omit$1;
|
|
12821
12848
|
|
|
12822
|
-
var omit
|
|
12849
|
+
var omit = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
|
|
12823
12850
|
|
|
12824
12851
|
const DatePickerActivator = forwardRef(InternalActivator);
|
|
12825
12852
|
function InternalActivator(props, ref) {
|
|
12826
12853
|
const { t } = useAtlantisI18n(datePickerMessages);
|
|
12827
12854
|
const { activator, fullWidth } = props;
|
|
12828
|
-
const newActivatorProps = omit
|
|
12855
|
+
const newActivatorProps = omit(props, ["activator", "fullWidth"]);
|
|
12829
12856
|
if (activator) {
|
|
12830
12857
|
if (isValidElement(activator)) {
|
|
12831
12858
|
const isAComponent = typeof activator.type === "function";
|
package/dist/Disclosure-cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var jobberHooks = require('@jobber/hooks');
|
|
|
6
6
|
var Icon = require('./Icon-cjs.js');
|
|
7
7
|
var Typography = require('./Typography-cjs.js');
|
|
8
8
|
|
|
9
|
-
var styles = {"arrowIconWrapper":"VMuRkKeqAs8-","details":"fNHz-uKoICo-","summary":"_8BfGPs1d3OI-","summaryWrap":"lPbWm-JxIOc-","customSummaryWrap":"qCHHx-9sUDU-","content":"v4nYwpvvlh8-"
|
|
9
|
+
var styles = {"arrowIconWrapper":"VMuRkKeqAs8-","details":"fNHz-uKoICo-","summary":"_8BfGPs1d3OI-","summaryWrap":"lPbWm-JxIOc-","customSummaryWrap":"qCHHx-9sUDU-","content":"v4nYwpvvlh8-"};
|
|
10
10
|
|
|
11
11
|
function Disclosure({ children, title, defaultOpen = false, onToggle, open, UNSAFE_className = {}, UNSAFE_style = {}, }) {
|
|
12
12
|
var _a, _b, _c, _d;
|
package/dist/Disclosure-es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useResizeObserver, Breakpoints } from '@jobber/hooks';
|
|
|
4
4
|
import { I as Icon } from './Icon-es.js';
|
|
5
5
|
import { T as Typography } from './Typography-es.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"arrowIconWrapper":"VMuRkKeqAs8-","details":"fNHz-uKoICo-","summary":"_8BfGPs1d3OI-","summaryWrap":"lPbWm-JxIOc-","customSummaryWrap":"qCHHx-9sUDU-","content":"v4nYwpvvlh8-"
|
|
7
|
+
var styles = {"arrowIconWrapper":"VMuRkKeqAs8-","details":"fNHz-uKoICo-","summary":"_8BfGPs1d3OI-","summaryWrap":"lPbWm-JxIOc-","customSummaryWrap":"qCHHx-9sUDU-","content":"v4nYwpvvlh8-"};
|
|
8
8
|
|
|
9
9
|
function Disclosure({ children, title, defaultOpen = false, onToggle, open, UNSAFE_className = {}, UNSAFE_style = {}, }) {
|
|
10
10
|
var _a, _b, _c, _d;
|
package/dist/Divider-cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
|
|
6
|
-
var styles = {"divider":"XLgPB38fKeE-"
|
|
6
|
+
var styles = {"divider":"XLgPB38fKeE-"};
|
|
7
7
|
|
|
8
8
|
var sizes = {"base":"t44-9xW2xyI-","large":"DZLf49GmKvc-","larger":"D9ovrKetww8-","largest":"_8uEysWndSQc-","spinning":"XYvD7J9XpzM-"};
|
|
9
9
|
|
package/dist/Divider-es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"divider":"XLgPB38fKeE-"
|
|
4
|
+
var styles = {"divider":"XLgPB38fKeE-"};
|
|
5
5
|
|
|
6
6
|
var sizes = {"base":"t44-9xW2xyI-","large":"DZLf49GmKvc-","larger":"D9ovrKetww8-","largest":"_8uEysWndSQc-","spinning":"XYvD7J9XpzM-"};
|
|
7
7
|
|
package/dist/DrawerGrid-cjs.js
CHANGED
|
@@ -7,7 +7,7 @@ require('./AtlantisContext-cjs.js');
|
|
|
7
7
|
var Heading = require('./Heading-cjs.js');
|
|
8
8
|
var ButtonDismiss = require('./ButtonDismiss-cjs.js');
|
|
9
9
|
|
|
10
|
-
var styles$1 = {"container":"LNIwHwCs8gQ-","drawer":"iDSQR4mxUvM-","open":"y9lAhWPltyg-","header":"s830oNhRdZE-","heading":"MZuJ7od4r-o-","contentScroll":"I4XEGwkvw74-","content":"jZzp04L7Gao-"
|
|
10
|
+
var styles$1 = {"container":"LNIwHwCs8gQ-","drawer":"iDSQR4mxUvM-","open":"y9lAhWPltyg-","header":"s830oNhRdZE-","heading":"MZuJ7od4r-o-","contentScroll":"I4XEGwkvw74-","content":"jZzp04L7Gao-"};
|
|
11
11
|
|
|
12
12
|
const drawerMessages = useAtlantisI18n.defineMessages({
|
|
13
13
|
"Close {title}": {
|
|
@@ -32,7 +32,7 @@ function Header({ title, onRequestClose }) {
|
|
|
32
32
|
React.createElement(ButtonDismiss.ButtonDismiss, { onClick: onRequestClose, ariaLabel: t("Close {title}", { title }) })));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
var styles = {"drawerGrid":"_50Jq09W07gg-"
|
|
35
|
+
var styles = {"drawerGrid":"_50Jq09W07gg-"};
|
|
36
36
|
|
|
37
37
|
function DrawerGrid({ children }) {
|
|
38
38
|
return React.createElement("div", { className: styles.drawerGrid }, children);
|
package/dist/DrawerGrid-es.js
CHANGED
|
@@ -5,7 +5,7 @@ import './AtlantisContext-es.js';
|
|
|
5
5
|
import { H as Heading } from './Heading-es.js';
|
|
6
6
|
import { B as ButtonDismiss } from './ButtonDismiss-es.js';
|
|
7
7
|
|
|
8
|
-
var styles$1 = {"container":"LNIwHwCs8gQ-","drawer":"iDSQR4mxUvM-","open":"y9lAhWPltyg-","header":"s830oNhRdZE-","heading":"MZuJ7od4r-o-","contentScroll":"I4XEGwkvw74-","content":"jZzp04L7Gao-"
|
|
8
|
+
var styles$1 = {"container":"LNIwHwCs8gQ-","drawer":"iDSQR4mxUvM-","open":"y9lAhWPltyg-","header":"s830oNhRdZE-","heading":"MZuJ7od4r-o-","contentScroll":"I4XEGwkvw74-","content":"jZzp04L7Gao-"};
|
|
9
9
|
|
|
10
10
|
const drawerMessages = defineMessages({
|
|
11
11
|
"Close {title}": {
|
|
@@ -30,7 +30,7 @@ function Header({ title, onRequestClose }) {
|
|
|
30
30
|
React__default.createElement(ButtonDismiss, { onClick: onRequestClose, ariaLabel: t("Close {title}", { title }) })));
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
var styles = {"drawerGrid":"_50Jq09W07gg-"
|
|
33
|
+
var styles = {"drawerGrid":"_50Jq09W07gg-"};
|
|
34
34
|
|
|
35
35
|
function DrawerGrid({ children }) {
|
|
36
36
|
return React__default.createElement("div", { className: styles.drawerGrid }, children);
|
|
@@ -13,7 +13,7 @@ var Button = require('./Button-cjs.js');
|
|
|
13
13
|
var Emphasis = require('./Emphasis-cjs.js');
|
|
14
14
|
var Markdown = require('./Markdown-cjs.js');
|
|
15
15
|
|
|
16
|
-
var styles = {"container":"o-b2tWQIZvw-","content":"NZtPT-dXFeQ-","action":"tDW-yhISuqQ-","savedIndicator":"Y-aeIDV1dL4-","featureContent":"iXr88Nr7vpk-","enabled":"GSDyu-sASro-"
|
|
16
|
+
var styles = {"container":"o-b2tWQIZvw-","content":"NZtPT-dXFeQ-","action":"tDW-yhISuqQ-","savedIndicator":"Y-aeIDV1dL4-","featureContent":"iXr88Nr7vpk-","enabled":"GSDyu-sASro-"};
|
|
17
17
|
|
|
18
18
|
const featureSwitchMessages = useAtlantisI18n.defineMessages({
|
|
19
19
|
edit: {
|
package/dist/FeatureSwitch-es.js
CHANGED
|
@@ -11,7 +11,7 @@ import { B as Button } from './Button-es.js';
|
|
|
11
11
|
import { E as Emphasis } from './Emphasis-es.js';
|
|
12
12
|
import { M as Markdown } from './Markdown-es.js';
|
|
13
13
|
|
|
14
|
-
var styles = {"container":"o-b2tWQIZvw-","content":"NZtPT-dXFeQ-","action":"tDW-yhISuqQ-","savedIndicator":"Y-aeIDV1dL4-","featureContent":"iXr88Nr7vpk-","enabled":"GSDyu-sASro-"
|
|
14
|
+
var styles = {"container":"o-b2tWQIZvw-","content":"NZtPT-dXFeQ-","action":"tDW-yhISuqQ-","savedIndicator":"Y-aeIDV1dL4-","featureContent":"iXr88Nr7vpk-","enabled":"GSDyu-sASro-"};
|
|
15
15
|
|
|
16
16
|
const featureSwitchMessages = defineMessages({
|
|
17
17
|
edit: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { u as useBaseUiId, d as useStableCallback, c as useIsoLayoutEffect, S as SafeReact, l as error,
|
|
3
|
-
import { u as useLabelableContext, L as LabelableContext, a as useFormContext, D as DEFAULT_VALIDITY_STATE,
|
|
2
|
+
import { u as useBaseUiId, d as useStableCallback, c as useIsoLayoutEffect, S as SafeReact, l as error, m as useTransitionStatus, n as useOpenChangeComplete, t as transitionStatusMapping } from './useScrollLock-es.js';
|
|
3
|
+
import { u as useLabelableContext, L as LabelableContext, a as useFormContext, D as DEFAULT_VALIDITY_STATE, F as FieldRootContext, f as fieldValidityMapping, b as useFieldRootContext } from './useCompositeListItem-es.js';
|
|
4
4
|
import { f as formatErrorMessage, a as useRefWithInit, u as useRenderElement } from './useRenderElement-es.js';
|
|
5
5
|
import { g as getCombinedFieldValidityData, u as useFieldValidation, a as useFieldItemContext } from './useFieldValidation-es.js';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
package/dist/FilterPicker-cjs.js
CHANGED
|
@@ -10,7 +10,7 @@ var noop = require('./noop-cjs.js');
|
|
|
10
10
|
var jobberHooks = require('@jobber/hooks');
|
|
11
11
|
var FilterPickerActivator = require('./FilterPickerActivator-cjs.js');
|
|
12
12
|
|
|
13
|
-
var styles = {"overlay":"pWccl-Pw3hY-","wrapper":"CGh3PQqBZ1c-"
|
|
13
|
+
var styles = {"overlay":"pWccl-Pw3hY-","wrapper":"CGh3PQqBZ1c-"};
|
|
14
14
|
|
|
15
15
|
function useMakeFilterPickerHandlers(setOpen, open, setSearchValue, selectedOptions, shouldScroll, selectedStateSetter, multiSelect, onClose, onSearch) {
|
|
16
16
|
const handleClose = React.useCallback(() => {
|
package/dist/FilterPicker-es.js
CHANGED
|
@@ -8,7 +8,7 @@ import { n as noop } from './noop-es.js';
|
|
|
8
8
|
import { useDebounce } from '@jobber/hooks';
|
|
9
9
|
import { F as FilterPickerActivator } from './FilterPickerActivator-es.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"overlay":"pWccl-Pw3hY-","wrapper":"CGh3PQqBZ1c-"
|
|
11
|
+
var styles = {"overlay":"pWccl-Pw3hY-","wrapper":"CGh3PQqBZ1c-"};
|
|
12
12
|
|
|
13
13
|
function useMakeFilterPickerHandlers(setOpen, open, setSearchValue, selectedOptions, shouldScroll, selectedStateSetter, multiSelect, onClose, onSearch) {
|
|
14
14
|
const handleClose = useCallback(() => {
|
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var Typography = require('./Typography-cjs.js');
|
|
5
5
|
var FilterPickerProvider = require('./FilterPickerProvider-cjs.js');
|
|
6
6
|
|
|
7
|
-
var styles = {"actionContainer":"wnyB0d1ZE70-","actionButton":"mljM3ouZmbM-"
|
|
7
|
+
var styles = {"actionContainer":"wnyB0d1ZE70-","actionButton":"mljM3ouZmbM-"};
|
|
8
8
|
|
|
9
9
|
function FilterPickerAction(props) {
|
|
10
10
|
const { searchValue, handleClose } = React.useContext(FilterPickerProvider.FilterPickerContext);
|
|
@@ -2,7 +2,7 @@ import React__default, { useContext } from 'react';
|
|
|
2
2
|
import { T as Typography } from './Typography-es.js';
|
|
3
3
|
import { a as FilterPickerContext } from './FilterPickerProvider-es.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"actionContainer":"wnyB0d1ZE70-","actionButton":"mljM3ouZmbM-"
|
|
5
|
+
var styles = {"actionContainer":"wnyB0d1ZE70-","actionButton":"mljM3ouZmbM-"};
|
|
6
6
|
|
|
7
7
|
function FilterPickerAction(props) {
|
|
8
8
|
const { searchValue, handleClose } = useContext(FilterPickerContext);
|
|
@@ -10,7 +10,7 @@ var FilterPickerProvider = require('./FilterPickerProvider-cjs.js');
|
|
|
10
10
|
var jobberHooks = require('@jobber/hooks');
|
|
11
11
|
var constants = require('./constants-cjs.js');
|
|
12
12
|
|
|
13
|
-
var styles = {"content":"bog6pntD050-","hidden":"CLGExWp0HOc-","actions":"Tuw6ng4mYhg-","actionPadding":"uC0PW9BRcl4-"
|
|
13
|
+
var styles = {"content":"bog6pntD050-","hidden":"CLGExWp0HOc-","actions":"Tuw6ng4mYhg-","actionPadding":"uC0PW9BRcl4-"};
|
|
14
14
|
|
|
15
15
|
function useFilterPickerContent(open, selected) {
|
|
16
16
|
const { onClear, onSelectAll, shouldScroll } = React.useContext(FilterPickerProvider.FilterPickerContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useContext, useRef, useEffect, useMemo } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { c as useFloatingParentNodeId, d as useFloatingNodeId, u as useFloating, o as offset, f as flip, e as useDismiss, g as useInteractions,
|
|
3
|
+
import { c as useFloatingParentNodeId, d as useFloatingNodeId, u as useFloating, o as offset, f as flip, e as useDismiss, g as useInteractions, a as autoUpdate, i as FloatingTree, j as FloatingNode, F as FloatingPortal } from './floating-ui.react-es.js';
|
|
4
4
|
import { F as FilterPickerContentSearch } from './FilterPickerContentSearch-es.js';
|
|
5
5
|
import { F as FilterPickerContentList } from './FilterPickerContentList-es.js';
|
|
6
6
|
import { F as FilterPickerContentHeader } from './FilterPickerContentHeader-es.js';
|
|
@@ -8,7 +8,7 @@ import { a as FilterPickerContext } from './FilterPickerProvider-es.js';
|
|
|
8
8
|
import { useRefocusOnActivator, useFocusTrap } from '@jobber/hooks';
|
|
9
9
|
import { F as FILTER_PICKER_MENU_ID } from './constants-es.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"content":"bog6pntD050-","hidden":"CLGExWp0HOc-","actions":"Tuw6ng4mYhg-","actionPadding":"uC0PW9BRcl4-"
|
|
11
|
+
var styles = {"content":"bog6pntD050-","hidden":"CLGExWp0HOc-","actions":"Tuw6ng4mYhg-","actionPadding":"uC0PW9BRcl4-"};
|
|
12
12
|
|
|
13
13
|
function useFilterPickerContent(open, selected) {
|
|
14
14
|
const { onClear, onSelectAll, shouldScroll } = useContext(FilterPickerContext);
|
|
@@ -8,7 +8,7 @@ var FilterPicker_messages = require('./FilterPicker.messages-cjs.js');
|
|
|
8
8
|
var useAtlantisI18n = require('./useAtlantisI18n-cjs.js');
|
|
9
9
|
require('./AtlantisContext-cjs.js');
|
|
10
10
|
|
|
11
|
-
var styles = {"header":"qsCrV9XnUYQ-"
|
|
11
|
+
var styles = {"header":"qsCrV9XnUYQ-"};
|
|
12
12
|
|
|
13
13
|
function FilterPickerContentHeader(props) {
|
|
14
14
|
const { plural, t } = useAtlantisI18n.useAtlantisI18n(FilterPicker_messages.filterPickerMessages);
|
|
@@ -6,7 +6,7 @@ import { f as filterPickerMessages } from './FilterPicker.messages-es.js';
|
|
|
6
6
|
import { u as useAtlantisI18n } from './useAtlantisI18n-es.js';
|
|
7
7
|
import './AtlantisContext-es.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"header":"qsCrV9XnUYQ-"
|
|
9
|
+
var styles = {"header":"qsCrV9XnUYQ-"};
|
|
10
10
|
|
|
11
11
|
function FilterPickerContentHeader(props) {
|
|
12
12
|
const { plural, t } = useAtlantisI18n(filterPickerMessages);
|