@jobber/components 6.123.1 → 6.123.2
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/AtlantisThemeContext-cjs.js +1 -1
- package/dist/AtlantisThemeContext-es.js +9 -9
- package/dist/Autocomplete/Autocomplete.types.d.ts +33 -0
- package/dist/Autocomplete/index.cjs +5 -5
- package/dist/Autocomplete/index.mjs +8 -8
- package/dist/Autocomplete/useAutocomplete.d.ts +2 -57
- 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 +1 -1
- 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/index.cjs +1 -1
- package/dist/Checkbox/index.mjs +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 +1 -1
- package/dist/Combobox-es.js +1 -1
- package/dist/ComboboxAction-cjs.js +1 -1
- package/dist/ComboboxAction-es.js +1 -1
- package/dist/ComboboxContent-cjs.js +1 -1
- package/dist/ComboboxContent-es.js +2 -2
- package/dist/ComboboxContentHeader-cjs.js +1 -1
- package/dist/ComboboxContentHeader-es.js +1 -1
- package/dist/ComboboxContentList-es.js +1 -1
- package/dist/ComboboxContentSearch-cjs.js +1 -1
- package/dist/ComboboxContentSearch-es.js +1 -1
- package/dist/ComboboxLoadMore-cjs.js +1 -1
- package/dist/ComboboxLoadMore-es.js +1 -1
- package/dist/ComboboxOption-cjs.js +1 -1
- package/dist/ComboboxOption-es.js +1 -1
- 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/Countdown-cjs.js +7 -3
- package/dist/Countdown-es.js +8 -4
- 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/DataListContext-cjs.js +6 -5
- package/dist/DataListContext-es.js +6 -5
- 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 +266 -81
- package/dist/DatePicker-es.js +268 -83
- package/dist/DayOfMonthSelect-cjs.js +5 -5
- package/dist/DayOfMonthSelect-es.js +6 -6
- package/dist/DescriptionList-cjs.js +1 -1
- package/dist/DescriptionList-es.js +1 -1
- 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/DrawerRoot-cjs.js +10 -48
- package/dist/DrawerRoot-es.js +12 -50
- package/dist/FeatureSwitch-cjs.js +1 -1
- package/dist/FeatureSwitch-es.js +1 -1
- package/dist/FormField/index.mjs +1 -1
- package/dist/FormField-cjs.js +1 -1
- package/dist/FormField-es.js +2 -2
- package/dist/FormatEmail-cjs.js +1 -1
- package/dist/FormatEmail-es.js +1 -1
- 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/InputAvatar-cjs.js +1 -1
- package/dist/InputAvatar-es.js +1 -1
- package/dist/InputDate/index.mjs +1 -1
- package/dist/InputEmail/index.mjs +1 -1
- package/dist/InputFile-cjs.js +8 -3
- package/dist/InputFile-es.js +8 -3
- package/dist/InputNumber/index.cjs +181 -69
- package/dist/InputNumber/index.mjs +184 -72
- package/dist/InputPassword-es.js +1 -1
- package/dist/InputPhoneNumber/index.cjs +1 -1
- package/dist/InputPhoneNumber/index.mjs +2 -2
- package/dist/InputText/InputText.d.ts +2 -70
- package/dist/InputText/index.mjs +1 -1
- package/dist/InputTime/index.cjs +0 -1
- package/dist/InputTime/index.mjs +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/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 +604 -961
- package/dist/Markdown-es.js +610 -967
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu-cjs.js +859 -629
- package/dist/Menu-es.js +855 -625
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.mjs +2 -2
- package/dist/Modal/useModal.d.ts +9 -29
- package/dist/MultiSelect-cjs.js +2 -2
- package/dist/MultiSelect-es.js +2 -2
- 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/RecurringSelect/components/index.mjs +1 -1
- package/dist/RecurringSelect/index.cjs +1 -0
- package/dist/RecurringSelect/index.mjs +1 -0
- package/dist/RecurringSelect-cjs.js +1 -1
- package/dist/RecurringSelect-es.js +2 -2
- package/dist/SegmentedControl-cjs.js +1 -1
- package/dist/SegmentedControl-es.js +2 -2
- package/dist/Select/index.cjs +1 -1
- package/dist/Select/index.mjs +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/Text-cjs2.js +365 -175
- package/dist/Text-es2.js +361 -175
- 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/debounce-es.js +4 -4
- package/dist/floating-ui.react-cjs.js +35 -16
- package/dist/floating-ui.react-dom-es.js +2 -2
- package/dist/floating-ui.react-es.js +37 -18
- package/dist/identity-es.js +5 -5
- package/dist/index-cjs.js +6 -6
- package/dist/index-es.js +6 -6
- package/dist/index.esm-es.js +1 -1
- package/dist/index.mjs +6 -6
- 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/omit-cjs.js +37 -5
- package/dist/omit-es.js +46 -14
- package/dist/showToast-cjs.js +1 -1
- package/dist/showToast-es.js +1 -1
- package/dist/styles.css +56 -124
- package/dist/unstyledPrimitives/index.mjs +3 -3
- package/dist/useScrollToActive-cjs.js +1 -1
- package/dist/useScrollToActive-es.js +8 -8
- package/package.json +32 -15
- package/rollup.config.mjs +4 -1
|
@@ -4,9 +4,9 @@ var React = require('react');
|
|
|
4
4
|
var RadioGroup = require('./RadioGroup-cjs.js');
|
|
5
5
|
var Text = require('./Text-cjs.js');
|
|
6
6
|
|
|
7
|
-
var styles$3 = {"container":"-R-TvZ9aU9g-"
|
|
7
|
+
var styles$3 = {"container":"-R-TvZ9aU9g-"};
|
|
8
8
|
|
|
9
|
-
var checkboxStyles = {"checkboxWrapper":"HgFD6w2VXzo-","dayCheckboxInput":"XGjk9DHJAmw-","dayCheckbox":"zulupkPyEs8-"
|
|
9
|
+
var checkboxStyles = {"checkboxWrapper":"HgFD6w2VXzo-","dayCheckboxInput":"XGjk9DHJAmw-","dayCheckbox":"zulupkPyEs8-"};
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated RecurringSelect will be removed in the next major version
|
|
@@ -83,7 +83,7 @@ function WeeklySelect({ onChange, selectedDays, disabled, }) {
|
|
|
83
83
|
})));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
var styles$2 = {"radioContainer":"cr0irYOHA5k-"
|
|
86
|
+
var styles$2 = {"radioContainer":"cr0irYOHA5k-"};
|
|
87
87
|
|
|
88
88
|
function MonthlySelect({ disabled, onChange, selectedMonthOption, }) {
|
|
89
89
|
return (React.createElement("div", { className: styles$2.radioContainer },
|
|
@@ -92,7 +92,7 @@ function MonthlySelect({ disabled, onChange, selectedMonthOption, }) {
|
|
|
92
92
|
React.createElement(RadioGroup.RadioOption, { disabled: disabled, value: exports.DurationPeriod.WeekDayOfMonth, label: "Day of week" }))));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
var styles$1 = {"container":"Qup9qglgfQ8-","parentContainer":"FxW4kmZLd44-"
|
|
95
|
+
var styles$1 = {"container":"Qup9qglgfQ8-","parentContainer":"FxW4kmZLd44-"};
|
|
96
96
|
|
|
97
97
|
function MonthlyDayOfWeekSelect({ disabled, selectedWeeks, onChange, }) {
|
|
98
98
|
const orderString = ["1st", "2nd", "3rd", "4th"];
|
|
@@ -109,7 +109,7 @@ function MonthlyDayOfWeekSelect({ disabled, selectedWeeks, onChange, }) {
|
|
|
109
109
|
})));
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
var styles = {"container":"_4d0IFF7M5S0-"
|
|
112
|
+
var styles = {"container":"_4d0IFF7M5S0-"};
|
|
113
113
|
|
|
114
114
|
const daysInMonth = [...Array.from({ length: 31 }, (_, i) => i + 1), "LAST"];
|
|
115
115
|
function DayOfMonthSelect({ selectedDays, disabled, onChange, }) {
|
|
@@ -2,9 +2,9 @@ import React__default, { useId } from 'react';
|
|
|
2
2
|
import { R as RadioGroup, a as RadioOption } from './RadioGroup-es.js';
|
|
3
3
|
import { T as Text } from './Text-es.js';
|
|
4
4
|
|
|
5
|
-
var styles$3 = {"container":"-R-TvZ9aU9g-"
|
|
5
|
+
var styles$3 = {"container":"-R-TvZ9aU9g-"};
|
|
6
6
|
|
|
7
|
-
var checkboxStyles = {"checkboxWrapper":"HgFD6w2VXzo-","dayCheckboxInput":"XGjk9DHJAmw-","dayCheckbox":"zulupkPyEs8-"
|
|
7
|
+
var checkboxStyles = {"checkboxWrapper":"HgFD6w2VXzo-","dayCheckboxInput":"XGjk9DHJAmw-","dayCheckbox":"zulupkPyEs8-"};
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated RecurringSelect will be removed in the next major version
|
|
@@ -81,7 +81,7 @@ function WeeklySelect({ onChange, selectedDays, disabled, }) {
|
|
|
81
81
|
})));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
var styles$2 = {"radioContainer":"cr0irYOHA5k-"
|
|
84
|
+
var styles$2 = {"radioContainer":"cr0irYOHA5k-"};
|
|
85
85
|
|
|
86
86
|
function MonthlySelect({ disabled, onChange, selectedMonthOption, }) {
|
|
87
87
|
return (React__default.createElement("div", { className: styles$2.radioContainer },
|
|
@@ -90,7 +90,7 @@ function MonthlySelect({ disabled, onChange, selectedMonthOption, }) {
|
|
|
90
90
|
React__default.createElement(RadioOption, { disabled: disabled, value: DurationPeriod.WeekDayOfMonth, label: "Day of week" }))));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
var styles$1 = {"container":"Qup9qglgfQ8-","parentContainer":"FxW4kmZLd44-"
|
|
93
|
+
var styles$1 = {"container":"Qup9qglgfQ8-","parentContainer":"FxW4kmZLd44-"};
|
|
94
94
|
|
|
95
95
|
function MonthlyDayOfWeekSelect({ disabled, selectedWeeks, onChange, }) {
|
|
96
96
|
const orderString = ["1st", "2nd", "3rd", "4th"];
|
|
@@ -107,7 +107,7 @@ function MonthlyDayOfWeekSelect({ disabled, selectedWeeks, onChange, }) {
|
|
|
107
107
|
})));
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
var styles = {"container":"_4d0IFF7M5S0-"
|
|
110
|
+
var styles = {"container":"_4d0IFF7M5S0-"};
|
|
111
111
|
|
|
112
112
|
const daysInMonth = [...Array.from({ length: 31 }, (_, i) => i + 1), "LAST"];
|
|
113
113
|
function DayOfMonthSelect({ selectedDays, disabled, onChange, }) {
|
|
@@ -133,4 +133,4 @@ function DayOfMonthSelect({ selectedDays, disabled, onChange, }) {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
export { DurationPeriod as D,
|
|
136
|
+
export { DurationPeriod as D, MonthlyDayOfWeekSelect as M, WeekDay as W, DayOfMonthSelect as a, MonthlySelect as b, WeeklySelect as c, isMonthly as i, typeInitialStateMap as t };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var Typography = require('./Typography-cjs.js');
|
|
5
5
|
|
|
6
|
-
var styles = {"descriptionList":"BkruJ2-bRWg-","termGroup":"tpCvfS7kyDQ-"
|
|
6
|
+
var styles = {"descriptionList":"BkruJ2-bRWg-","termGroup":"tpCvfS7kyDQ-"};
|
|
7
7
|
|
|
8
8
|
function DescriptionList({ data }) {
|
|
9
9
|
return (React.createElement("dl", { className: styles.descriptionList }, data.map(([term, description], i) => (React.createElement("div", { key: `${term}-${i}`, className: styles.termGroup },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { T as Typography } from './Typography-es.js';
|
|
3
3
|
|
|
4
|
-
var styles = {"descriptionList":"BkruJ2-bRWg-","termGroup":"tpCvfS7kyDQ-"
|
|
4
|
+
var styles = {"descriptionList":"BkruJ2-bRWg-","termGroup":"tpCvfS7kyDQ-"};
|
|
5
5
|
|
|
6
6
|
function DescriptionList({ data }) {
|
|
7
7
|
return (React__default.createElement("dl", { className: styles.descriptionList }, data.map(([term, description], i) => (React__default.createElement("div", { key: `${term}-${i}`, className: styles.termGroup },
|
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
|
@@ -5,7 +5,7 @@ var classnames = require('classnames');
|
|
|
5
5
|
var Heading = require('./Heading-cjs.js');
|
|
6
6
|
var ButtonDismiss = require('./ButtonDismiss-cjs.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
|
function Drawer({ title, children, open = true, onRequestClose, id, }) {
|
|
11
11
|
const drawerClassNames = classnames(styles$1.container, open && styles$1.open);
|
|
@@ -22,7 +22,7 @@ function Header({ title, onRequestClose }) {
|
|
|
22
22
|
React.createElement(ButtonDismiss.ButtonDismiss, { onClick: onRequestClose, ariaLabel: `Close ${title || "drawer"}` })));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
var styles = {"drawerGrid":"_50Jq09W07gg-"
|
|
25
|
+
var styles = {"drawerGrid":"_50Jq09W07gg-"};
|
|
26
26
|
|
|
27
27
|
function DrawerGrid({ children }) {
|
|
28
28
|
return React.createElement("div", { className: styles.drawerGrid }, children);
|
package/dist/DrawerGrid-es.js
CHANGED
|
@@ -3,7 +3,7 @@ import classnames from 'classnames';
|
|
|
3
3
|
import { H as Heading } from './Heading-es.js';
|
|
4
4
|
import { B as ButtonDismiss } from './ButtonDismiss-es.js';
|
|
5
5
|
|
|
6
|
-
var styles$1 = {"container":"LNIwHwCs8gQ-","drawer":"iDSQR4mxUvM-","open":"y9lAhWPltyg-","header":"s830oNhRdZE-","heading":"MZuJ7od4r-o-","contentScroll":"I4XEGwkvw74-","content":"jZzp04L7Gao-"
|
|
6
|
+
var styles$1 = {"container":"LNIwHwCs8gQ-","drawer":"iDSQR4mxUvM-","open":"y9lAhWPltyg-","header":"s830oNhRdZE-","heading":"MZuJ7od4r-o-","contentScroll":"I4XEGwkvw74-","content":"jZzp04L7Gao-"};
|
|
7
7
|
|
|
8
8
|
function Drawer({ title, children, open = true, onRequestClose, id, }) {
|
|
9
9
|
const drawerClassNames = classnames(styles$1.container, open && styles$1.open);
|
|
@@ -20,7 +20,7 @@ function Header({ title, onRequestClose }) {
|
|
|
20
20
|
React__default.createElement(ButtonDismiss, { onClick: onRequestClose, ariaLabel: `Close ${title || "drawer"}` })));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
var styles = {"drawerGrid":"_50Jq09W07gg-"
|
|
23
|
+
var styles = {"drawerGrid":"_50Jq09W07gg-"};
|
|
24
24
|
|
|
25
25
|
function DrawerGrid({ children }) {
|
|
26
26
|
return React__default.createElement("div", { className: styles.drawerGrid }, children);
|
package/dist/DrawerRoot-cjs.js
CHANGED
|
@@ -3448,42 +3448,7 @@ const createSelector = (a, b, c, d, e, f, ...other) => {
|
|
|
3448
3448
|
throw new Error(process.env.NODE_ENV !== "production" ? 'Unsupported number of selectors' : useRenderElement.formatErrorMessage(1));
|
|
3449
3449
|
}
|
|
3450
3450
|
let selector;
|
|
3451
|
-
if (a
|
|
3452
|
-
selector = (state, a1, a2, a3) => {
|
|
3453
|
-
const va = a(state, a1, a2, a3);
|
|
3454
|
-
const vb = b(state, a1, a2, a3);
|
|
3455
|
-
const vc = c(state, a1, a2, a3);
|
|
3456
|
-
const vd = d(state, a1, a2, a3);
|
|
3457
|
-
const ve = e(state, a1, a2, a3);
|
|
3458
|
-
return f(va, vb, vc, vd, ve, a1, a2, a3);
|
|
3459
|
-
};
|
|
3460
|
-
} else if (a && b && c && d && e) {
|
|
3461
|
-
selector = (state, a1, a2, a3) => {
|
|
3462
|
-
const va = a(state, a1, a2, a3);
|
|
3463
|
-
const vb = b(state, a1, a2, a3);
|
|
3464
|
-
const vc = c(state, a1, a2, a3);
|
|
3465
|
-
const vd = d(state, a1, a2, a3);
|
|
3466
|
-
return e(va, vb, vc, vd, a1, a2, a3);
|
|
3467
|
-
};
|
|
3468
|
-
} else if (a && b && c && d) {
|
|
3469
|
-
selector = (state, a1, a2, a3) => {
|
|
3470
|
-
const va = a(state, a1, a2, a3);
|
|
3471
|
-
const vb = b(state, a1, a2, a3);
|
|
3472
|
-
const vc = c(state, a1, a2, a3);
|
|
3473
|
-
return d(va, vb, vc, a1, a2, a3);
|
|
3474
|
-
};
|
|
3475
|
-
} else if (a && b && c) {
|
|
3476
|
-
selector = (state, a1, a2, a3) => {
|
|
3477
|
-
const va = a(state, a1, a2, a3);
|
|
3478
|
-
const vb = b(state, a1, a2, a3);
|
|
3479
|
-
return c(va, vb, a1, a2, a3);
|
|
3480
|
-
};
|
|
3481
|
-
} else if (a && b) {
|
|
3482
|
-
selector = (state, a1, a2, a3) => {
|
|
3483
|
-
const va = a(state, a1, a2, a3);
|
|
3484
|
-
return b(va, a1, a2, a3);
|
|
3485
|
-
};
|
|
3486
|
-
} else if (a) {
|
|
3451
|
+
if (a) {
|
|
3487
3452
|
selector = a;
|
|
3488
3453
|
} else {
|
|
3489
3454
|
throw /* minify-error-disabled */new Error('Missing arguments');
|
|
@@ -3530,14 +3495,14 @@ function requireWithSelector_production () {
|
|
|
3530
3495
|
) {
|
|
3531
3496
|
var instRef = useRef(null);
|
|
3532
3497
|
if (null === instRef.current) {
|
|
3533
|
-
var inst = { hasValue:
|
|
3498
|
+
var inst = { hasValue: false, value: null };
|
|
3534
3499
|
instRef.current = inst;
|
|
3535
3500
|
} else inst = instRef.current;
|
|
3536
3501
|
instRef = useMemo(
|
|
3537
3502
|
function () {
|
|
3538
3503
|
function memoizedSelector(nextSnapshot) {
|
|
3539
3504
|
if (!hasMemo) {
|
|
3540
|
-
hasMemo =
|
|
3505
|
+
hasMemo = true;
|
|
3541
3506
|
memoizedSnapshot = nextSnapshot;
|
|
3542
3507
|
nextSnapshot = selector(nextSnapshot);
|
|
3543
3508
|
if (void 0 !== isEqual && inst.hasValue) {
|
|
@@ -3555,7 +3520,7 @@ function requireWithSelector_production () {
|
|
|
3555
3520
|
memoizedSnapshot = nextSnapshot;
|
|
3556
3521
|
return (memoizedSelection = nextSelection);
|
|
3557
3522
|
}
|
|
3558
|
-
var hasMemo =
|
|
3523
|
+
var hasMemo = false,
|
|
3559
3524
|
memoizedSnapshot,
|
|
3560
3525
|
memoizedSelection,
|
|
3561
3526
|
maybeGetServerSnapshot =
|
|
@@ -3576,7 +3541,7 @@ function requireWithSelector_production () {
|
|
|
3576
3541
|
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
3577
3542
|
useEffect(
|
|
3578
3543
|
function () {
|
|
3579
|
-
inst.hasValue =
|
|
3544
|
+
inst.hasValue = true;
|
|
3580
3545
|
inst.value = value;
|
|
3581
3546
|
},
|
|
3582
3547
|
[value]
|
|
@@ -3630,14 +3595,14 @@ function requireWithSelector_development () {
|
|
|
3630
3595
|
) {
|
|
3631
3596
|
var instRef = useRef(null);
|
|
3632
3597
|
if (null === instRef.current) {
|
|
3633
|
-
var inst = { hasValue:
|
|
3598
|
+
var inst = { hasValue: false, value: null };
|
|
3634
3599
|
instRef.current = inst;
|
|
3635
3600
|
} else inst = instRef.current;
|
|
3636
3601
|
instRef = useMemo(
|
|
3637
3602
|
function () {
|
|
3638
3603
|
function memoizedSelector(nextSnapshot) {
|
|
3639
3604
|
if (!hasMemo) {
|
|
3640
|
-
hasMemo =
|
|
3605
|
+
hasMemo = true;
|
|
3641
3606
|
memoizedSnapshot = nextSnapshot;
|
|
3642
3607
|
nextSnapshot = selector(nextSnapshot);
|
|
3643
3608
|
if (void 0 !== isEqual && inst.hasValue) {
|
|
@@ -3656,7 +3621,7 @@ function requireWithSelector_development () {
|
|
|
3656
3621
|
memoizedSnapshot = nextSnapshot;
|
|
3657
3622
|
return (memoizedSelection = nextSelection);
|
|
3658
3623
|
}
|
|
3659
|
-
var hasMemo =
|
|
3624
|
+
var hasMemo = false,
|
|
3660
3625
|
memoizedSnapshot,
|
|
3661
3626
|
memoizedSelection,
|
|
3662
3627
|
maybeGetServerSnapshot =
|
|
@@ -3677,7 +3642,7 @@ function requireWithSelector_development () {
|
|
|
3677
3642
|
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
3678
3643
|
useEffect(
|
|
3679
3644
|
function () {
|
|
3680
|
-
inst.hasValue =
|
|
3645
|
+
inst.hasValue = true;
|
|
3681
3646
|
inst.value = value;
|
|
3682
3647
|
},
|
|
3683
3648
|
[value]
|
|
@@ -5176,10 +5141,7 @@ function DialogRoot(props) {
|
|
|
5176
5141
|
useDialogRoot({
|
|
5177
5142
|
store,
|
|
5178
5143
|
actionsRef,
|
|
5179
|
-
parentContext: parentDialogRootContext?.store.context
|
|
5180
|
-
onOpenChange,
|
|
5181
|
-
triggerIdProp
|
|
5182
|
-
});
|
|
5144
|
+
parentContext: parentDialogRootContext?.store.context});
|
|
5183
5145
|
const contextValue = React__namespace.useMemo(() => ({
|
|
5184
5146
|
store
|
|
5185
5147
|
}), [store]);
|
package/dist/DrawerRoot-es.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { a as useRefWithInit, E as EMPTY_OBJECT, N as NOOP, u as useRenderElement, b as useMergedRefs, f as formatErrorMessage, i as isReactVersionAtLeast } from './useRenderElement-es.js';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
-
import { i as isShadowRoot, a as isHTMLElement,
|
|
5
|
+
import { i as isShadowRoot, a as isHTMLElement, m as getComputedStyle$1, f as floor, t as tabbable, J as getWindow, Q as isOverflowElement, d as getNodeName, c as isNode, e as isTabbable, h as focusable, j as isWebKit$1, b as isElement, k as isLastTraversableNode, l as getParentNode } from './index.esm-es.js';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import { s as shimExports } from './index-es.js';
|
|
8
8
|
|
|
@@ -3427,42 +3427,7 @@ const createSelector = (a, b, c, d, e, f, ...other) => {
|
|
|
3427
3427
|
throw new Error(process.env.NODE_ENV !== "production" ? 'Unsupported number of selectors' : formatErrorMessage(1));
|
|
3428
3428
|
}
|
|
3429
3429
|
let selector;
|
|
3430
|
-
if (a
|
|
3431
|
-
selector = (state, a1, a2, a3) => {
|
|
3432
|
-
const va = a(state, a1, a2, a3);
|
|
3433
|
-
const vb = b(state, a1, a2, a3);
|
|
3434
|
-
const vc = c(state, a1, a2, a3);
|
|
3435
|
-
const vd = d(state, a1, a2, a3);
|
|
3436
|
-
const ve = e(state, a1, a2, a3);
|
|
3437
|
-
return f(va, vb, vc, vd, ve, a1, a2, a3);
|
|
3438
|
-
};
|
|
3439
|
-
} else if (a && b && c && d && e) {
|
|
3440
|
-
selector = (state, a1, a2, a3) => {
|
|
3441
|
-
const va = a(state, a1, a2, a3);
|
|
3442
|
-
const vb = b(state, a1, a2, a3);
|
|
3443
|
-
const vc = c(state, a1, a2, a3);
|
|
3444
|
-
const vd = d(state, a1, a2, a3);
|
|
3445
|
-
return e(va, vb, vc, vd, a1, a2, a3);
|
|
3446
|
-
};
|
|
3447
|
-
} else if (a && b && c && d) {
|
|
3448
|
-
selector = (state, a1, a2, a3) => {
|
|
3449
|
-
const va = a(state, a1, a2, a3);
|
|
3450
|
-
const vb = b(state, a1, a2, a3);
|
|
3451
|
-
const vc = c(state, a1, a2, a3);
|
|
3452
|
-
return d(va, vb, vc, a1, a2, a3);
|
|
3453
|
-
};
|
|
3454
|
-
} else if (a && b && c) {
|
|
3455
|
-
selector = (state, a1, a2, a3) => {
|
|
3456
|
-
const va = a(state, a1, a2, a3);
|
|
3457
|
-
const vb = b(state, a1, a2, a3);
|
|
3458
|
-
return c(va, vb, a1, a2, a3);
|
|
3459
|
-
};
|
|
3460
|
-
} else if (a && b) {
|
|
3461
|
-
selector = (state, a1, a2, a3) => {
|
|
3462
|
-
const va = a(state, a1, a2, a3);
|
|
3463
|
-
return b(va, a1, a2, a3);
|
|
3464
|
-
};
|
|
3465
|
-
} else if (a) {
|
|
3430
|
+
if (a) {
|
|
3466
3431
|
selector = a;
|
|
3467
3432
|
} else {
|
|
3468
3433
|
throw /* minify-error-disabled */new Error('Missing arguments');
|
|
@@ -3509,14 +3474,14 @@ function requireWithSelector_production () {
|
|
|
3509
3474
|
) {
|
|
3510
3475
|
var instRef = useRef(null);
|
|
3511
3476
|
if (null === instRef.current) {
|
|
3512
|
-
var inst = { hasValue:
|
|
3477
|
+
var inst = { hasValue: false, value: null };
|
|
3513
3478
|
instRef.current = inst;
|
|
3514
3479
|
} else inst = instRef.current;
|
|
3515
3480
|
instRef = useMemo(
|
|
3516
3481
|
function () {
|
|
3517
3482
|
function memoizedSelector(nextSnapshot) {
|
|
3518
3483
|
if (!hasMemo) {
|
|
3519
|
-
hasMemo =
|
|
3484
|
+
hasMemo = true;
|
|
3520
3485
|
memoizedSnapshot = nextSnapshot;
|
|
3521
3486
|
nextSnapshot = selector(nextSnapshot);
|
|
3522
3487
|
if (void 0 !== isEqual && inst.hasValue) {
|
|
@@ -3534,7 +3499,7 @@ function requireWithSelector_production () {
|
|
|
3534
3499
|
memoizedSnapshot = nextSnapshot;
|
|
3535
3500
|
return (memoizedSelection = nextSelection);
|
|
3536
3501
|
}
|
|
3537
|
-
var hasMemo =
|
|
3502
|
+
var hasMemo = false,
|
|
3538
3503
|
memoizedSnapshot,
|
|
3539
3504
|
memoizedSelection,
|
|
3540
3505
|
maybeGetServerSnapshot =
|
|
@@ -3555,7 +3520,7 @@ function requireWithSelector_production () {
|
|
|
3555
3520
|
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
3556
3521
|
useEffect(
|
|
3557
3522
|
function () {
|
|
3558
|
-
inst.hasValue =
|
|
3523
|
+
inst.hasValue = true;
|
|
3559
3524
|
inst.value = value;
|
|
3560
3525
|
},
|
|
3561
3526
|
[value]
|
|
@@ -3609,14 +3574,14 @@ function requireWithSelector_development () {
|
|
|
3609
3574
|
) {
|
|
3610
3575
|
var instRef = useRef(null);
|
|
3611
3576
|
if (null === instRef.current) {
|
|
3612
|
-
var inst = { hasValue:
|
|
3577
|
+
var inst = { hasValue: false, value: null };
|
|
3613
3578
|
instRef.current = inst;
|
|
3614
3579
|
} else inst = instRef.current;
|
|
3615
3580
|
instRef = useMemo(
|
|
3616
3581
|
function () {
|
|
3617
3582
|
function memoizedSelector(nextSnapshot) {
|
|
3618
3583
|
if (!hasMemo) {
|
|
3619
|
-
hasMemo =
|
|
3584
|
+
hasMemo = true;
|
|
3620
3585
|
memoizedSnapshot = nextSnapshot;
|
|
3621
3586
|
nextSnapshot = selector(nextSnapshot);
|
|
3622
3587
|
if (void 0 !== isEqual && inst.hasValue) {
|
|
@@ -3635,7 +3600,7 @@ function requireWithSelector_development () {
|
|
|
3635
3600
|
memoizedSnapshot = nextSnapshot;
|
|
3636
3601
|
return (memoizedSelection = nextSelection);
|
|
3637
3602
|
}
|
|
3638
|
-
var hasMemo =
|
|
3603
|
+
var hasMemo = false,
|
|
3639
3604
|
memoizedSnapshot,
|
|
3640
3605
|
memoizedSelection,
|
|
3641
3606
|
maybeGetServerSnapshot =
|
|
@@ -3656,7 +3621,7 @@ function requireWithSelector_development () {
|
|
|
3656
3621
|
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
3657
3622
|
useEffect(
|
|
3658
3623
|
function () {
|
|
3659
|
-
inst.hasValue =
|
|
3624
|
+
inst.hasValue = true;
|
|
3660
3625
|
inst.value = value;
|
|
3661
3626
|
},
|
|
3662
3627
|
[value]
|
|
@@ -5155,10 +5120,7 @@ function DialogRoot(props) {
|
|
|
5155
5120
|
useDialogRoot({
|
|
5156
5121
|
store,
|
|
5157
5122
|
actionsRef,
|
|
5158
|
-
parentContext: parentDialogRootContext?.store.context
|
|
5159
|
-
onOpenChange,
|
|
5160
|
-
triggerIdProp
|
|
5161
|
-
});
|
|
5123
|
+
parentContext: parentDialogRootContext?.store.context});
|
|
5162
5124
|
const contextValue = React.useMemo(() => ({
|
|
5163
5125
|
store
|
|
5164
5126
|
}), [store]);
|
|
@@ -6053,4 +6015,4 @@ function DrawerProviderReporter() {
|
|
|
6053
6015
|
return null;
|
|
6054
6016
|
}
|
|
6055
6017
|
|
|
6056
|
-
export { CommonPopupDataAttributes as $,
|
|
6018
|
+
export { CommonPopupDataAttributes as $, stopEvent as A, listNavigation as B, createGridCellMap as C, DrawerPortal as D, isListIndexDisabled as E, FloatingRootStore as F, getGridNavigatedIndex as G, getGridCellIndexOfCorner as H, ARROW_DOWN$1 as I, ARROW_LEFT$1 as J, ARROW_RIGHT$1 as K, getGridCellIndices as L, findNonDisabledListIndex as M, getTarget as N, focusOut 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, useDialogPortalContext as a0, transitionStatusMapping as a1, popupStateMapping as a2, DialogStore as a3, imperativeAction as a4, createSelector as a5, useControlled as a6, Store as a7, useStore as a8, useTransitionStatus 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, TransitionStatusDataAttributes as aL, DrawerViewportContext as aM, BASE_UI_SWIPE_IGNORE_SELECTOR as aN, DRAWER_CONTENT_ATTRIBUTE as aO, useOpenInteractionType as aa, createGenericEventDetails as ab, inputClear as ac, inputChange as ad, outsidePress as ae, itemPress as af, none as ag, useOpenChangeComplete as ah, useValueChanged as ai, useDismiss as aj, useOnFirstRender as ak, visuallyHiddenInput as al, visuallyHidden as am, inputPress as an, pressableTriggerOpenStateMapping as ao, isFirefox as ap, escapeKey as aq, isAndroid as ar, clearPress as as, FloatingPortal as at, DISABLED_TRANSITIONS_STYLE as au, DROPDOWN_COLLISION_AVOIDANCE as av, useScrollLock as aw, InternalBackdrop as ax, inertValue 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, isClickLikeEvent as j, createChangeEventDetails as k, isTypeableElement as l, useFloatingParentNodeId as m, useFloatingTree as n, getFloatingFocusElement as o, useValueAsRef as p, isTypeableCombobox as q, enqueueFocus as r, isIndexOutOfListBounds as s, triggerPress as t, useStableCallback as u, getMinListIndex as v, getMaxListIndex as w, activeElement as x, ownerDocument as y, contains as z };
|
|
@@ -11,7 +11,7 @@ var Button = require('./Button-cjs.js');
|
|
|
11
11
|
var Emphasis = require('./Emphasis-cjs.js');
|
|
12
12
|
var Markdown = require('./Markdown-cjs.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
|
function FeatureSwitch({ children, description, disabled = false, enabled, externalLink = false, onEdit, onSwitch, hasSaveIndicator = false, title, }) {
|
|
17
17
|
const [savedIndicator, setSavedIndicator] = React.useState(false);
|
package/dist/FeatureSwitch-es.js
CHANGED
|
@@ -9,7 +9,7 @@ import { B as Button } from './Button-es.js';
|
|
|
9
9
|
import { E as Emphasis } from './Emphasis-es.js';
|
|
10
10
|
import { M as Markdown } from './Markdown-es.js';
|
|
11
11
|
|
|
12
|
-
var styles = {"container":"o-b2tWQIZvw-","content":"NZtPT-dXFeQ-","action":"tDW-yhISuqQ-","savedIndicator":"Y-aeIDV1dL4-","featureContent":"iXr88Nr7vpk-","enabled":"GSDyu-sASro-"
|
|
12
|
+
var styles = {"container":"o-b2tWQIZvw-","content":"NZtPT-dXFeQ-","action":"tDW-yhISuqQ-","savedIndicator":"Y-aeIDV1dL4-","featureContent":"iXr88Nr7vpk-","enabled":"GSDyu-sASro-"};
|
|
13
13
|
|
|
14
14
|
function FeatureSwitch({ children, description, disabled = false, enabled, externalLink = false, onEdit, onSwitch, hasSaveIndicator = false, title, }) {
|
|
15
15
|
const [savedIndicator, setSavedIndicator] = useState(false);
|
package/dist/FormField/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AffixIcon,
|
|
1
|
+
export { A as AffixIcon, a as AffixLabel, F as FormField, b as FormFieldInputHorizontalWrapper, c as FormFieldInputWrapperStyles, d as FormFieldLabel, e as FormFieldWrapper, f as FormFieldWrapperMain, g as FormFieldWrapperToolbar, u as useAtlantisFormField, h as useAtlantisFormFieldActions, i as useAtlantisFormFieldName, j as useAtlantisReactHookForm, k as useFormFieldWrapperStyles } from '../FormField-es.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@jobber/hooks';
|
|
4
4
|
import 'framer-motion';
|
package/dist/FormField-cjs.js
CHANGED
|
@@ -54,7 +54,7 @@ function FormFieldDescription({ id, description, visible = true, }) {
|
|
|
54
54
|
return (React.createElement("div", { id: id, className: formFieldStyles.description }, useStringFormat ? (React.createElement(Text.Text, { size: "small", variation: "subdued" }, description)) : (description)));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var styles = {"clearInput":"YmRTd-KeXv4-"
|
|
57
|
+
var styles = {"clearInput":"YmRTd-KeXv4-"};
|
|
58
58
|
|
|
59
59
|
function ClearAction({ onClick, visible, }) {
|
|
60
60
|
if (!visible)
|
package/dist/FormField-es.js
CHANGED
|
@@ -52,7 +52,7 @@ function FormFieldDescription({ id, description, visible = true, }) {
|
|
|
52
52
|
return (React__default.createElement("div", { id: id, className: formFieldStyles.description }, useStringFormat ? (React__default.createElement(Text, { size: "small", variation: "subdued" }, description)) : (description)));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
var styles = {"clearInput":"YmRTd-KeXv4-"
|
|
55
|
+
var styles = {"clearInput":"YmRTd-KeXv4-"};
|
|
56
56
|
|
|
57
57
|
function ClearAction({ onClick, visible, }) {
|
|
58
58
|
if (!visible)
|
|
@@ -458,4 +458,4 @@ function setAutocomplete(autocompleteSetting) {
|
|
|
458
458
|
return autocompleteSetting;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
export { AffixIcon as A,
|
|
461
|
+
export { AffixIcon as A, FormField as F, AffixLabel as a, FormFieldInputHorizontalWrapper as b, FormFieldInputWrapperStyles as c, FormFieldLabel as d, FormFieldWrapper as e, FormFieldWrapperMain as f, FormFieldWrapperToolbar as g, useAtlantisFormFieldActions as h, useAtlantisFormFieldName as i, useAtlantisReactHookForm as j, useFormFieldWrapperStyles as k, formFieldStyles as l, FormFieldPostFix as m, mergeRefs as n, useAtlantisFormField as u };
|
package/dist/FormatEmail-cjs.js
CHANGED
package/dist/FormatEmail-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 = {"email":"ViFkIUcS6PM-"
|
|
4
|
+
var styles = {"email":"ViFkIUcS6PM-"};
|
|
5
5
|
|
|
6
6
|
function FormatEmail({ email }) {
|
|
7
7
|
const className = classnames(styles.email);
|
package/dist/FormatFile-cjs.js
CHANGED
|
@@ -52,12 +52,7 @@ function isHoverable({ display, isComplete, onClick, onDelete, }) {
|
|
|
52
52
|
function FormatFile({ file, display = "expanded", displaySize = "base", onDelete, onClick, }) {
|
|
53
53
|
const [deleteConfirmationOpen, setDeleteConfirmationOpen] = React.useState(false);
|
|
54
54
|
const { isComplete, fileSize } = useFormatFile({
|
|
55
|
-
file
|
|
56
|
-
display,
|
|
57
|
-
displaySize,
|
|
58
|
-
onClick,
|
|
59
|
-
onDelete,
|
|
60
|
-
});
|
|
55
|
+
file});
|
|
61
56
|
const { wrapperClassNames, detailsClassNames, progressClassNames, thumbnailContainerClassNames, deleteButtonContainerClassNames, } = useFormatFileStyles({
|
|
62
57
|
display,
|
|
63
58
|
displaySize,
|
package/dist/FormatFile-es.js
CHANGED
|
@@ -50,12 +50,7 @@ function isHoverable({ display, isComplete, onClick, onDelete, }) {
|
|
|
50
50
|
function FormatFile({ file, display = "expanded", displaySize = "base", onDelete, onClick, }) {
|
|
51
51
|
const [deleteConfirmationOpen, setDeleteConfirmationOpen] = useState(false);
|
|
52
52
|
const { isComplete, fileSize } = useFormatFile({
|
|
53
|
-
file
|
|
54
|
-
display,
|
|
55
|
-
displaySize,
|
|
56
|
-
onClick,
|
|
57
|
-
onDelete,
|
|
58
|
-
});
|
|
53
|
+
file});
|
|
59
54
|
const { wrapperClassNames, detailsClassNames, progressClassNames, thumbnailContainerClassNames, deleteButtonContainerClassNames, } = useFormatFileStyles({
|
|
60
55
|
display,
|
|
61
56
|
displaySize,
|
package/dist/Frame-cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
|
|
6
|
-
var styles = {"frame":"S15iRxwj9UU-"
|
|
6
|
+
var styles = {"frame":"S15iRxwj9UU-"};
|
|
7
7
|
|
|
8
8
|
function Frame({ children, aspectX = 16, aspectY = 9, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
9
9
|
return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { className: classnames(styles.frame, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container), style: Object.assign({ "--public-frame-numerator": aspectX, "--public-frame-denominator": aspectY }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container) }), children));
|
package/dist/Frame-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 = {"frame":"S15iRxwj9UU-"
|
|
4
|
+
var styles = {"frame":"S15iRxwj9UU-"};
|
|
5
5
|
|
|
6
6
|
function Frame({ children, aspectX = 16, aspectY = 9, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
7
7
|
return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { className: classnames(styles.frame, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container), style: Object.assign({ "--public-frame-numerator": aspectX, "--public-frame-denominator": aspectY }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container) }), children));
|
package/dist/Glimmer/index.mjs
CHANGED
package/dist/Glimmer-cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var Content = require('./Content-cjs.js');
|
|
7
7
|
|
|
8
|
-
var styles = {"glimmer":"-lyJkOGbceo-","reverseTheme":"NH-8hViLjFA-","header":"_6-ozsHDHcVI-","button":"_7AvaYGpXkLU-","buttonFill":"sm9yBV3e4Qg-"
|
|
8
|
+
var styles = {"glimmer":"-lyJkOGbceo-","reverseTheme":"NH-8hViLjFA-","header":"_6-ozsHDHcVI-","button":"_7AvaYGpXkLU-","buttonFill":"sm9yBV3e4Qg-"};
|
|
9
9
|
|
|
10
10
|
var sizes = {"small":"bjemHBSLuQ0-","base":"MXFqgzJq5jw-","large":"B2DzIy8pibk-","larger":"-ll1bKXJm9s-","largest":"jieKjQ6-Scs-","auto":"_8qp0RoxJfHE-","spinning":"ADVQ641JXWE-"};
|
|
11
11
|
|
package/dist/Glimmer-es.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { C as Content } from './Content-es.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"glimmer":"-lyJkOGbceo-","reverseTheme":"NH-8hViLjFA-","header":"_6-ozsHDHcVI-","button":"_7AvaYGpXkLU-","buttonFill":"sm9yBV3e4Qg-"
|
|
6
|
+
var styles = {"glimmer":"-lyJkOGbceo-","reverseTheme":"NH-8hViLjFA-","header":"_6-ozsHDHcVI-","button":"_7AvaYGpXkLU-","buttonFill":"sm9yBV3e4Qg-"};
|
|
7
7
|
|
|
8
8
|
var sizes = {"small":"bjemHBSLuQ0-","base":"MXFqgzJq5jw-","large":"B2DzIy8pibk-","larger":"-ll1bKXJm9s-","largest":"jieKjQ6-Scs-","auto":"_8qp0RoxJfHE-","spinning":"ADVQ641JXWE-"};
|
|
9
9
|
|
|
@@ -50,4 +50,4 @@ Glimmer.Button = function GlimmerButton(_a) {
|
|
|
50
50
|
React__default.createElement(Glimmer, Object.assign({}, props, { size: "auto" }))));
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { GLIMMER_TEST_ID as G, Glimmer as a };
|
package/dist/Grid-cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ var classnames = require('classnames');
|
|
|
5
5
|
var GridCell = require('./GridCell-cjs.js');
|
|
6
6
|
var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
7
7
|
|
|
8
|
-
var styles = {"grid":"_0X4jj5NERa4-","gap":"d3vl57tdCWA-"
|
|
8
|
+
var styles = {"grid":"_0X4jj5NERa4-","gap":"d3vl57tdCWA-"};
|
|
9
9
|
|
|
10
10
|
var alignments = {"center":"V-24AGDyie4-","start":"H0zdYNTapmM-","end":"O5VtcGWRV3M-","stretch":"wVv5gaWrouI-","spinning":"DcsVgHCowbg-"};
|
|
11
11
|
|