@box/blueprint-web 6.22.0 → 6.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib-esm/index.js
CHANGED
|
@@ -30,12 +30,13 @@ export { LoadingIndicator } from './loading-indicator/loading-indicator.js';
|
|
|
30
30
|
export { Modal } from './modal/modal.js';
|
|
31
31
|
export { Calendar } from './primitives/calendar/calendar.js';
|
|
32
32
|
export { CalendarDate, CalendarDateTime, DateFormatter, Time, ZonedDateTime } from './primitives/calendar/classes.util.js';
|
|
33
|
+
export { fromAbsolute } from './primitives/calendar/from-absolute.util.js';
|
|
33
34
|
export { getLocalTimeZone } from './primitives/calendar/get-local-timezone.util.js';
|
|
34
|
-
export { parseAbsolute } from './primitives/calendar/parse-absolute.util.js';
|
|
35
35
|
export { parseAbsoluteToLocal } from './primitives/calendar/parse-absolute-to-local.util.js';
|
|
36
|
+
export { parseAbsolute } from './primitives/calendar/parse-absolute.util.js';
|
|
36
37
|
export { parseDate } from './primitives/calendar/parse-date.util.js';
|
|
37
|
-
export { toCalendarDate } from './primitives/calendar/to-calendar-date.util.js';
|
|
38
38
|
export { toCalendarDateTime } from './primitives/calendar/to-calendar-date-time.util.js';
|
|
39
|
+
export { toCalendarDate } from './primitives/calendar/to-calendar-date.util.js';
|
|
39
40
|
export { toZoned } from './primitives/calendar/to-zoned.util.js';
|
|
40
41
|
export { FilterChip } from './primitives/chips/filter-chip/index.js';
|
|
41
42
|
export { ContextMenu } from './primitives/context-menu/index.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { fromAbsolute as fromAbsolute$1 } from '@internationalized/date';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Takes a Unix epoch (milliseconds since 1970) and converts it to the provided time zone.
|
|
5
|
+
* @param value
|
|
6
|
+
* @param timezone
|
|
7
|
+
*/
|
|
8
|
+
const fromAbsolute = (value, timezone) => fromAbsolute$1(value, timezone);
|
|
9
|
+
|
|
10
|
+
export { fromAbsolute };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export { Calendar } from './calendar';
|
|
2
2
|
export * from './classes.util';
|
|
3
|
+
export { fromAbsolute } from './from-absolute.util';
|
|
3
4
|
export { getLocalTimeZone } from './get-local-timezone.util';
|
|
4
|
-
export { parseAbsolute } from './parse-absolute.util';
|
|
5
5
|
export { parseAbsoluteToLocal } from './parse-absolute-to-local.util';
|
|
6
|
+
export { parseAbsolute } from './parse-absolute.util';
|
|
6
7
|
export { parseDate } from './parse-date.util';
|
|
7
|
-
export { toCalendarDate } from './to-calendar-date.util';
|
|
8
8
|
export { toCalendarDateTime } from './to-calendar-date-time.util';
|
|
9
|
+
export { toCalendarDate } from './to-calendar-date.util';
|
|
9
10
|
export { toZoned } from './to-zoned.util';
|
|
10
11
|
export { type CalendarProps } from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.23.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@box/storybook-utils": "^0.0.3"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "980203727ade3ef58d6f94018d61cea19dada698",
|
|
61
61
|
"module": "lib-esm/index.js",
|
|
62
62
|
"main": "lib-esm/index.js",
|
|
63
63
|
"exports": {
|