@servicetitan/anvil2 2.0.1 → 2.0.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/CHANGELOG.md +8 -0
- package/dist/{Combobox-Bb79Jl9I.js → Combobox-OUK7p5gp.js} +2 -2
- package/dist/{Combobox-Bb79Jl9I.js.map → Combobox-OUK7p5gp.js.map} +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DataTable-CLr0j95O.js → DataTable-BPJeSvOx.js} +8 -8
- package/dist/DataTable-BPJeSvOx.js.map +1 -0
- package/dist/{DateFieldRange-BlpxUPPk.js → DateFieldRange-CanMYRgZ.js} +2 -2
- package/dist/{DateFieldRange-BlpxUPPk.js.map → DateFieldRange-CanMYRgZ.js.map} +1 -1
- package/dist/DateFieldRange.js +1 -1
- package/dist/{DateFieldSingle-DanvgyeQ.js → DateFieldSingle-CShe2aHZ.js} +2 -2
- package/dist/{DateFieldSingle-DanvgyeQ.js.map → DateFieldSingle-CShe2aHZ.js.map} +1 -1
- package/dist/DateFieldSingle.js +1 -1
- package/dist/{DateFieldYearless-rUMXjN0L.js → DateFieldYearless-MBQ233Xa.js} +2 -2
- package/dist/{DateFieldYearless-rUMXjN0L.js.map → DateFieldYearless-MBQ233Xa.js.map} +1 -1
- package/dist/DateFieldYearless.js +1 -1
- package/dist/{DateFieldYearlessRange-Cw71mA-Q.js → DateFieldYearlessRange-BBtaFzsE.js} +2 -2
- package/dist/{DateFieldYearlessRange-Cw71mA-Q.js.map → DateFieldYearlessRange-BBtaFzsE.js.map} +1 -1
- package/dist/DateFieldYearlessRange.js +1 -1
- package/dist/{ListView-CBmaHOY-.js → ListView-CRDUPrbQ.js} +11 -9
- package/dist/ListView-CRDUPrbQ.js.map +1 -0
- package/dist/ListView.js +1 -1
- package/dist/{Page-CjuKnpSO.js → Page-C5nExhiH.js} +2 -2
- package/dist/{Page-CjuKnpSO.js.map → Page-C5nExhiH.js.map} +1 -1
- package/dist/Page.js +1 -1
- package/dist/{Popover-U2Eu7v1Q.js → Popover-CJLSDpgR.js} +9 -8
- package/dist/Popover-CJLSDpgR.js.map +1 -0
- package/dist/Popover.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/{TimeField-063-mjFa.js → TimeField-BeaCSkdZ.js} +2 -2
- package/dist/{TimeField-063-mjFa.js.map → TimeField-BeaCSkdZ.js.map} +1 -1
- package/dist/TimeField.js +1 -1
- package/dist/{Toolbar-DWeZEpeV.js → Toolbar-Cjo7eAhI.js} +6 -6
- package/dist/{Toolbar-DWeZEpeV.js.map → Toolbar-Cjo7eAhI.js.map} +1 -1
- package/dist/Toolbar.js +1 -1
- package/dist/{YearlessDateInputWithPicker-D6HHhE_H.js → YearlessDateInputWithPicker-BVRZlf9Y.js} +2 -2
- package/dist/{YearlessDateInputWithPicker-D6HHhE_H.js.map → YearlessDateInputWithPicker-BVRZlf9Y.js.map} +1 -1
- package/dist/beta/components/Table/formatters/dateFormatter.d.ts +1 -1
- package/dist/beta/components/Table/formatters/dateTimeFormatter.d.ts +1 -1
- package/dist/beta/components/Table/formatters/yearlessDateFormatter.d.ts +2 -2
- package/dist/beta.js +2 -2
- package/dist/components/Popover/internal/PopoverContext.d.ts +0 -1
- package/dist/components/Popover/internal/usePopoverContext.d.ts +0 -1
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/dist/DataTable-CLr0j95O.js.map +0 -1
- package/dist/ListView-CBmaHOY-.js.map +0 -1
- package/dist/Popover-U2Eu7v1Q.js.map +0 -1
package/dist/Combobox.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, C as default } from './Combobox-
|
|
1
|
+
export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, C as default } from './Combobox-OUK7p5gp.js';
|
|
2
2
|
export { u as useInfiniteCombobox } from './useInfiniteCombobox-WcRgC9p6.js';
|
|
3
3
|
//# sourceMappingURL=Combobox.js.map
|
|
@@ -13,9 +13,9 @@ import { I as Icon } from './Icon-BckjFkbw.js';
|
|
|
13
13
|
import { S as SrOnly } from './SrOnly-CrdBTl6E.js';
|
|
14
14
|
import { M as Menu } from './Menu-Dh0q__vE.js';
|
|
15
15
|
import { m as mergeRefs } from './useMergeRefs-Dfmtq9cI.js';
|
|
16
|
-
import { P as Popover } from './Popover-
|
|
16
|
+
import { P as Popover } from './Popover-CJLSDpgR.js';
|
|
17
17
|
import { S as SearchField } from './SearchField-0DZvPwPZ.js';
|
|
18
|
-
import { L as ListView } from './ListView-
|
|
18
|
+
import { L as ListView } from './ListView-CRDUPrbQ.js';
|
|
19
19
|
import { S as SvgError } from './error-DR_wWdYY.js';
|
|
20
20
|
import { T as Tooltip } from './Tooltip-CIsvQwWo.js';
|
|
21
21
|
import { flushSync } from 'react-dom';
|
|
@@ -194,7 +194,7 @@ const timeFormatPresets = {
|
|
|
194
194
|
medium: { hour: "2-digit", minute: "2-digit", second: "2-digit" }
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
const dateFormatter = (value, { locale = "en-US", format = "
|
|
197
|
+
const dateFormatter = (value, { locale = "en-US", format = "short" } = {}) => {
|
|
198
198
|
if (value == null) {
|
|
199
199
|
return null;
|
|
200
200
|
}
|
|
@@ -215,7 +215,7 @@ const hasTimezoneInfo = (isoString) => {
|
|
|
215
215
|
};
|
|
216
216
|
const dateTimeFormatter = (value, {
|
|
217
217
|
locale = "en-US",
|
|
218
|
-
dateFormat = "
|
|
218
|
+
dateFormat = "short",
|
|
219
219
|
timeFormat = "short",
|
|
220
220
|
timeZone
|
|
221
221
|
} = {}) => {
|
|
@@ -250,9 +250,9 @@ const dateTimeFormatter = (value, {
|
|
|
250
250
|
const dateOptions = typeof dateFormat === "string" ? dateFormatPresets[dateFormat] : dateFormat;
|
|
251
251
|
const timeOptions = typeof timeFormat === "string" ? timeFormat === "none" ? {} : timeFormatPresets[timeFormat] : timeFormat;
|
|
252
252
|
const formatOptions = {
|
|
253
|
+
...includeTimezone && { timeZoneName: "short" },
|
|
253
254
|
...dateOptions,
|
|
254
|
-
...timeOptions
|
|
255
|
-
...includeTimezone && { timeZoneName: "short" }
|
|
255
|
+
...timeOptions
|
|
256
256
|
};
|
|
257
257
|
return localizedDateTime.toLocaleString(formatOptions);
|
|
258
258
|
};
|
|
@@ -305,7 +305,7 @@ const formatPresets = {
|
|
|
305
305
|
short: { month: "short", day: "2-digit" },
|
|
306
306
|
long: { month: "long", day: "2-digit" }
|
|
307
307
|
};
|
|
308
|
-
const yearlessDateFormatter = (value, { locale = "en-US", format = "
|
|
308
|
+
const yearlessDateFormatter = (value, { locale = "en-US", format = "short" } = {}) => {
|
|
309
309
|
if (value == null) {
|
|
310
310
|
return null;
|
|
311
311
|
}
|
|
@@ -6508,4 +6508,4 @@ function DataTableInner(props, ref) {
|
|
|
6508
6508
|
const DataTable = forwardRef(DataTableInner);
|
|
6509
6509
|
|
|
6510
6510
|
export { DataTable as D, chipsFormatter as a, booleanFormatter as b, createColumnHelper$1 as c, currencyFormatter as d, dateFormatter as e, dateTimeFormatter as f, dateFormatPresets as g, timeFormatter as h, numberFormatter as n, percentFormatter as p, timeFormatPresets as t, yearlessDateFormatter as y };
|
|
6511
|
-
//# sourceMappingURL=DataTable-
|
|
6511
|
+
//# sourceMappingURL=DataTable-BPJeSvOx.js.map
|