@planningcenter/tapestry 3.8.0-qa-1049.1 → 3.8.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/dist/componentRegistration.js +7 -1
- package/dist/componentRegistration.js.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +39 -39
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.js +145 -24
- package/dist/components/DataTable/DataTable.js.map +1 -1
- package/dist/components/DataTable/DataTableColumn.d.ts +112 -0
- package/dist/components/DataTable/DataTableColumn.d.ts.map +1 -0
- package/dist/components/DataTable/DataTableColumnTypes.d.ts +60 -0
- package/dist/components/DataTable/DataTableColumnTypes.d.ts.map +1 -0
- package/dist/components/DataTable/DataTableColumnTypes.js +167 -0
- package/dist/components/DataTable/DataTableColumnTypes.js.map +1 -0
- package/dist/components/DataTable/DataTableRow.d.ts +2 -0
- package/dist/components/DataTable/DataTableRow.d.ts.map +1 -0
- package/dist/components/DataTable/DataTableRow.js +9 -0
- package/dist/components/DataTable/DataTableRow.js.map +1 -0
- package/dist/components/DataTable/index.d.ts +2 -1
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/button-group/ButtonGroup.d.ts +35 -0
- package/dist/components/button-group/ButtonGroup.d.ts.map +1 -0
- package/dist/components/button-group/ButtonGroup.js +24 -0
- package/dist/components/button-group/ButtonGroup.js.map +1 -0
- package/dist/components/button-group/index.d.ts +4 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +2 -2
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.js.map +1 -1
- package/dist/components/combo-box/ComboBox.d.ts +1 -1
- package/dist/components/combo-box/ComboBox.d.ts.map +1 -1
- package/dist/components/combo-box/ComboBox.js.map +1 -1
- package/dist/components/date-picker/DatePicker.d.ts +2 -2
- package/dist/components/date-picker/DatePicker.d.ts.map +1 -1
- package/dist/components/date-picker/DatePicker.js +39 -39
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +9 -8
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/Dropdown.js +2 -2
- package/dist/components/dropdown/Dropdown.js.map +1 -1
- package/dist/components/input/Input.d.ts +1 -1
- package/dist/components/input/Input.d.ts.map +1 -1
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/input-text-base/InputTextBase.d.ts +1 -1
- package/dist/components/input-text-base/InputTextBase.d.ts.map +1 -1
- package/dist/components/input-text-base/InputTextBase.js.map +1 -1
- package/dist/components/modal/Modal.d.ts +20 -0
- package/dist/components/modal/Modal.d.ts.map +1 -0
- package/dist/components/modal/Modal.js +113 -0
- package/dist/components/modal/Modal.js.map +1 -0
- package/dist/components/modal/ModalBody.d.ts +21 -0
- package/dist/components/modal/ModalBody.d.ts.map +1 -0
- package/dist/components/modal/ModalBody.js +18 -0
- package/dist/components/modal/ModalBody.js.map +1 -0
- package/dist/components/modal/ModalContext.d.ts +9 -0
- package/dist/components/modal/ModalContext.d.ts.map +1 -0
- package/dist/components/modal/ModalContext.js +6 -0
- package/dist/components/modal/ModalContext.js.map +1 -0
- package/dist/components/modal/ModalFooter.d.ts +22 -0
- package/dist/components/modal/ModalFooter.d.ts.map +1 -0
- package/dist/components/modal/ModalFooter.js +21 -0
- package/dist/components/modal/ModalFooter.js.map +1 -0
- package/dist/components/modal/ModalHeader.d.ts +23 -0
- package/dist/components/modal/ModalHeader.d.ts.map +1 -0
- package/dist/components/modal/ModalHeader.js +32 -0
- package/dist/components/modal/ModalHeader.js.map +1 -0
- package/dist/components/modal/index.d.ts +10 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/number-stepper/NumberStepper.d.ts +1 -1
- package/dist/components/number-stepper/NumberStepper.d.ts.map +1 -1
- package/dist/components/number-stepper/NumberStepper.js +11 -11
- package/dist/components/number-stepper/NumberStepper.js.map +1 -1
- package/dist/components/radio/Radio.d.ts +2 -2
- package/dist/components/radio/Radio.d.ts.map +1 -1
- package/dist/components/radio/Radio.js.map +1 -1
- package/dist/components/radio-group/RadioGroup.d.ts +2 -2
- package/dist/components/radio-group/RadioGroup.d.ts.map +1 -1
- package/dist/components/radio-group/RadioGroup.js.map +1 -1
- package/dist/components/select/Select.d.ts +1 -1
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/select/Select.js +6 -6
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select/SelectNative.js +6 -6
- package/dist/components/select/SelectNative.js.map +1 -1
- package/dist/components/select/SelectOptions.js +9 -9
- package/dist/components/select/SelectOptions.js.map +1 -1
- package/dist/components/select/SelectPopover.js +14 -14
- package/dist/components/select/SelectPopover.js.map +1 -1
- package/dist/components/text-area/TextArea.d.ts +1 -1
- package/dist/components/text-area/TextArea.d.ts.map +1 -1
- package/dist/components/text-area/TextArea.js.map +1 -1
- package/dist/components/time-field/TimeField.d.ts +1 -1
- package/dist/components/time-field/TimeField.d.ts.map +1 -1
- package/dist/components/time-field/TimeField.js.map +1 -1
- package/dist/components/toggle-switch/ToggleSwitch.d.ts +2 -2
- package/dist/components/toggle-switch/ToggleSwitch.d.ts.map +1 -1
- package/dist/components/toggle-switch/ToggleSwitch.js.map +1 -1
- package/dist/ext/@internationalized/date/dist/private/DateFormatter.js +139 -0
- package/dist/ext/@internationalized/date/dist/private/DateFormatter.js.map +1 -0
- package/dist/index.css +159 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/packages/tapestry-render/dist/buildComponent-Dr2UOgFa.js.map +1 -0
- package/dist/packages/tapestry-render/dist/index.js.map +1 -0
- package/dist/packages/tapestry-render/dist/legacy.js.map +1 -0
- package/dist/packages/tapestry-render/dist/registry.js.map +1 -0
- package/dist/reactRender.css +4454 -4114
- package/dist/reactRender.css.map +1 -1
- package/dist/reactRender.js +2 -2
- package/dist/reactRenderLegacy.css +4454 -4114
- package/dist/reactRenderLegacy.css.map +1 -1
- package/dist/reactRenderLegacy.js +2 -2
- package/dist/unstable.css +374 -34
- package/dist/unstable.css.map +1 -1
- package/dist/unstable.js +5 -0
- package/dist/unstable.js.map +1 -1
- package/dist/utilities/Icon.js +2 -2
- package/dist/utilities/Icon.js.map +1 -1
- package/package.json +5 -5
- package/dist/tapestry-render/dist/buildComponent-Dr2UOgFa.js.map +0 -1
- package/dist/tapestry-render/dist/index.js.map +0 -1
- package/dist/tapestry-render/dist/legacy.js.map +0 -1
- package/dist/tapestry-render/dist/registry.js.map +0 -1
- /package/dist/{tapestry-render → packages/tapestry-render}/dist/buildComponent-Dr2UOgFa.js +0 -0
- /package/dist/{tapestry-render → packages/tapestry-render}/dist/index.js +0 -0
- /package/dist/{tapestry-render → packages/tapestry-render}/dist/legacy.js +0 -0
- /package/dist/{tapestry-render → packages/tapestry-render}/dist/registry.js +0 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/ let $12a3c853105e5a70$var$formatterCache = new Map();
|
|
12
|
+
class $12a3c853105e5a70$export$ad991b66133851cf {
|
|
13
|
+
constructor(locale, options = {}){
|
|
14
|
+
this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);
|
|
15
|
+
this.options = options;
|
|
16
|
+
}
|
|
17
|
+
/** Formats a date as a string according to the locale and format options passed to the constructor. */ format(value) {
|
|
18
|
+
return this.formatter.format(value);
|
|
19
|
+
}
|
|
20
|
+
/** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {
|
|
21
|
+
return this.formatter.formatToParts(value);
|
|
22
|
+
}
|
|
23
|
+
/** Formats a date range as a string. */ formatRange(start, end) {
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
if (typeof this.formatter.formatRange === 'function') // @ts-ignore
|
|
26
|
+
return this.formatter.formatRange(start, end);
|
|
27
|
+
if (end < start) throw new RangeError('End date must be >= start date');
|
|
28
|
+
// Very basic fallback for old browsers.
|
|
29
|
+
return `${this.formatter.format(start)} \u{2013} ${this.formatter.format(end)}`;
|
|
30
|
+
}
|
|
31
|
+
/** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
if (typeof this.formatter.formatRangeToParts === 'function') // @ts-ignore
|
|
34
|
+
return this.formatter.formatRangeToParts(start, end);
|
|
35
|
+
if (end < start) throw new RangeError('End date must be >= start date');
|
|
36
|
+
let startParts = this.formatter.formatToParts(start);
|
|
37
|
+
let endParts = this.formatter.formatToParts(end);
|
|
38
|
+
return [
|
|
39
|
+
...startParts.map((p)=>({
|
|
40
|
+
...p,
|
|
41
|
+
source: 'startRange'
|
|
42
|
+
})),
|
|
43
|
+
{
|
|
44
|
+
type: 'literal',
|
|
45
|
+
value: " \u2013 ",
|
|
46
|
+
source: 'shared'
|
|
47
|
+
},
|
|
48
|
+
...endParts.map((p)=>({
|
|
49
|
+
...p,
|
|
50
|
+
source: 'endRange'
|
|
51
|
+
}))
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
/** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {
|
|
55
|
+
let resolvedOptions = this.formatter.resolvedOptions();
|
|
56
|
+
if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {
|
|
57
|
+
if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);
|
|
58
|
+
resolvedOptions.hourCycle = this.resolvedHourCycle;
|
|
59
|
+
resolvedOptions.hour12 = this.resolvedHourCycle === 'h11' || this.resolvedHourCycle === 'h12';
|
|
60
|
+
}
|
|
61
|
+
// Safari uses a different name for the Ethiopic (Amete Alem) calendar.
|
|
62
|
+
// https://bugs.webkit.org/show_bug.cgi?id=241564
|
|
63
|
+
if (resolvedOptions.calendar === 'ethiopic-amete-alem') resolvedOptions.calendar = 'ethioaa';
|
|
64
|
+
return resolvedOptions;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
// There are multiple bugs involving the hour12 and hourCycle options in various browser engines.
|
|
68
|
+
// - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)
|
|
69
|
+
// rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)
|
|
70
|
+
// rather than h12 (12:00 - 11:59).
|
|
71
|
+
// - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal
|
|
72
|
+
// in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]
|
|
73
|
+
// [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791
|
|
74
|
+
// [2] https://github.com/tc39/ecma402/issues/402
|
|
75
|
+
// [3] https://bugs.webkit.org/show_bug.cgi?id=229313
|
|
76
|
+
// https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802
|
|
77
|
+
const $12a3c853105e5a70$var$hour12Preferences = {
|
|
78
|
+
true: {
|
|
79
|
+
// Only Japanese uses the h11 style for 12 hour time. All others use h12.
|
|
80
|
+
ja: 'h11'
|
|
81
|
+
},
|
|
82
|
+
false: {
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
function $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {
|
|
86
|
+
// Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.
|
|
87
|
+
// Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.
|
|
88
|
+
if (typeof options.hour12 === 'boolean' && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {
|
|
89
|
+
options = {
|
|
90
|
+
...options
|
|
91
|
+
};
|
|
92
|
+
let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split('-')[0]];
|
|
93
|
+
let defaultHourCycle = options.hour12 ? 'h12' : 'h23';
|
|
94
|
+
options.hourCycle = pref ?? defaultHourCycle;
|
|
95
|
+
delete options.hour12;
|
|
96
|
+
}
|
|
97
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');
|
|
98
|
+
if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);
|
|
99
|
+
let numberFormatter = new Intl.DateTimeFormat(locale, options);
|
|
100
|
+
$12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);
|
|
101
|
+
return numberFormatter;
|
|
102
|
+
}
|
|
103
|
+
let $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;
|
|
104
|
+
function $12a3c853105e5a70$var$hasBuggyHour12Behavior() {
|
|
105
|
+
if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat('en-US', {
|
|
106
|
+
hour: 'numeric',
|
|
107
|
+
hour12: false
|
|
108
|
+
}).format(new Date(2020, 2, 3, 0)) === '24';
|
|
109
|
+
return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;
|
|
110
|
+
}
|
|
111
|
+
let $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;
|
|
112
|
+
function $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {
|
|
113
|
+
if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {
|
|
114
|
+
hour: 'numeric',
|
|
115
|
+
hour12: false
|
|
116
|
+
}).resolvedOptions().hourCycle === 'h12';
|
|
117
|
+
return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;
|
|
118
|
+
}
|
|
119
|
+
function $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {
|
|
120
|
+
if (!options.timeStyle && !options.hour) return undefined;
|
|
121
|
+
// Work around buggy results in resolved hourCycle and hour12 options in WebKit.
|
|
122
|
+
// Format the minimum possible hour and maximum possible hour in a day and parse the results.
|
|
123
|
+
locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, '');
|
|
124
|
+
locale += (locale.includes('-u-') ? '' : '-u') + '-nu-latn';
|
|
125
|
+
let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {
|
|
126
|
+
...options,
|
|
127
|
+
timeZone: undefined // use local timezone
|
|
128
|
+
});
|
|
129
|
+
let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === 'hour').value, 10);
|
|
130
|
+
let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === 'hour').value, 10);
|
|
131
|
+
if (min === 0 && max === 23) return 'h23';
|
|
132
|
+
if (min === 24 && max === 23) return 'h24';
|
|
133
|
+
if (min === 0 && max === 11) return 'h11';
|
|
134
|
+
if (min === 12 && max === 11) return 'h12';
|
|
135
|
+
throw new Error('Unexpected hour cycle result');
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export { $12a3c853105e5a70$export$ad991b66133851cf as DateFormatter };
|
|
139
|
+
//# sourceMappingURL=DateFormatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateFormatter.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/DateFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ let $12a3c853105e5a70$var$formatterCache = new Map();\nclass $12a3c853105e5a70$export$ad991b66133851cf {\n constructor(locale, options = {}){\n this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);\n this.options = options;\n }\n /** Formats a date as a string according to the locale and format options passed to the constructor. */ format(value) {\n return this.formatter.format(value);\n }\n /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {\n return this.formatter.formatToParts(value);\n }\n /** Formats a date range as a string. */ formatRange(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRange === 'function') // @ts-ignore\n return this.formatter.formatRange(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n // Very basic fallback for old browsers.\n return `${this.formatter.format(start)} \\u{2013} ${this.formatter.format(end)}`;\n }\n /** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRangeToParts === 'function') // @ts-ignore\n return this.formatter.formatRangeToParts(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n let startParts = this.formatter.formatToParts(start);\n let endParts = this.formatter.formatToParts(end);\n return [\n ...startParts.map((p)=>({\n ...p,\n source: 'startRange'\n })),\n {\n type: 'literal',\n value: \" \\u2013 \",\n source: 'shared'\n },\n ...endParts.map((p)=>({\n ...p,\n source: 'endRange'\n }))\n ];\n }\n /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {\n let resolvedOptions = this.formatter.resolvedOptions();\n if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {\n if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);\n resolvedOptions.hourCycle = this.resolvedHourCycle;\n resolvedOptions.hour12 = this.resolvedHourCycle === 'h11' || this.resolvedHourCycle === 'h12';\n }\n // Safari uses a different name for the Ethiopic (Amete Alem) calendar.\n // https://bugs.webkit.org/show_bug.cgi?id=241564\n if (resolvedOptions.calendar === 'ethiopic-amete-alem') resolvedOptions.calendar = 'ethioaa';\n return resolvedOptions;\n }\n}\n// There are multiple bugs involving the hour12 and hourCycle options in various browser engines.\n// - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)\n// rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)\n// rather than h12 (12:00 - 11:59).\n// - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal\n// in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]\n// [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791\n// [2] https://github.com/tc39/ecma402/issues/402\n// [3] https://bugs.webkit.org/show_bug.cgi?id=229313\n// https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802\nconst $12a3c853105e5a70$var$hour12Preferences = {\n true: {\n // Only Japanese uses the h11 style for 12 hour time. All others use h12.\n ja: 'h11'\n },\n false: {\n }\n};\nfunction $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {\n // Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.\n // Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.\n if (typeof options.hour12 === 'boolean' && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {\n options = {\n ...options\n };\n let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split('-')[0]];\n let defaultHourCycle = options.hour12 ? 'h12' : 'h23';\n options.hourCycle = pref ?? defaultHourCycle;\n delete options.hour12;\n }\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);\n let numberFormatter = new Intl.DateTimeFormat(locale, options);\n $12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);\n return numberFormatter;\n}\nlet $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;\nfunction $12a3c853105e5a70$var$hasBuggyHour12Behavior() {\n if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat('en-US', {\n hour: 'numeric',\n hour12: false\n }).format(new Date(2020, 2, 3, 0)) === '24';\n return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;\n}\nlet $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;\nfunction $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {\n if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {\n hour: 'numeric',\n hour12: false\n }).resolvedOptions().hourCycle === 'h12';\n return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;\n}\nfunction $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {\n if (!options.timeStyle && !options.hour) return undefined;\n // Work around buggy results in resolved hourCycle and hour12 options in WebKit.\n // Format the minimum possible hour and maximum possible hour in a day and parse the results.\n locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, '');\n locale += (locale.includes('-u-') ? '' : '-u') + '-nu-latn';\n let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {\n ...options,\n timeZone: undefined // use local timezone\n });\n let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === 'hour').value, 10);\n let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === 'hour').value, 10);\n if (min === 0 && max === 23) return 'h23';\n if (min === 24 && max === 23) return 'h24';\n if (min === 0 && max === 11) return 'h11';\n if (min === 12 && max === 11) return 'h12';\n throw new Error('Unexpected hour cycle result');\n}\n\n\nexport {$12a3c853105e5a70$export$ad991b66133851cf as DateFormatter};\n//# sourceMappingURL=DateFormatter.mjs.map\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,oCAAoC,GAAG,IAAI,GAAG,EAAE;AACxD,MAAM,yCAAyC,CAAC;AAChD,IAAI,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,EAAE,CAAC;AACrC,QAAQ,IAAI,CAAC,SAAS,GAAG,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC;AACtF,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO;AAC9B,IAAI;AACJ,4GAA4G,MAAM,CAAC,KAAK,EAAE;AAC1H,QAAQ,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC;AAC3C,IAAI;AACJ,mGAAmG,aAAa,CAAC,KAAK,EAAE;AACxH,QAAQ,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC;AAClD,IAAI;AACJ,6CAA6C,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE;AACrE;AACA,QAAQ,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,KAAK,UAAU;AAC5D,QAAQ,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC;AACrD,Q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AAK,EAAE,EAAE,OAAO,KAAK;AAC9C,IAAI,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC;AACnD;;;;","x_google_ignoreList":[0]}
|
package/dist/index.css
CHANGED
|
@@ -2840,14 +2840,12 @@ tds-sidenav-section:not(.hydrated) > [slot="ssr"]{
|
|
|
2840
2840
|
}
|
|
2841
2841
|
|
|
2842
2842
|
.tds-loading-spinner{
|
|
2843
|
-
--tds-loading-spinner-size:1.25em;
|
|
2844
|
-
|
|
2845
2843
|
position:absolute;
|
|
2846
2844
|
right:0;
|
|
2847
2845
|
left:0;
|
|
2848
2846
|
visibility:var(--tds-loading-spinner-visibility, hidden);
|
|
2849
|
-
width:var(--tds-loading-spinner-size);
|
|
2850
|
-
height:var(--tds-loading-spinner-size);
|
|
2847
|
+
width:var(--tds-loading-spinner-size, 1.25em);
|
|
2848
|
+
height:var(--tds-loading-spinner-size, 1.25em);
|
|
2851
2849
|
margin:auto;
|
|
2852
2850
|
border:var(--tds-loading-spinner-track-width, 4px) solid var(--tds-loading-spinner-track-color, var(--t-fill-color-transparency-dark-020));
|
|
2853
2851
|
border-top-color:var(--tds-loading-spinner-color, currentcolor);
|
|
@@ -2868,6 +2866,33 @@ tds-sidenav-section:not(.hydrated) > [slot="ssr"]{
|
|
|
2868
2866
|
}
|
|
2869
2867
|
}
|
|
2870
2868
|
|
|
2869
|
+
.tds-button-group{
|
|
2870
|
+
display:inline-flex;
|
|
2871
|
+
}
|
|
2872
|
+
.tds-button-group > .tds-btn{
|
|
2873
|
+
--tds-button-group-item-z-index:1;
|
|
2874
|
+
|
|
2875
|
+
z-index:var(--tds-button-group-item-z-index);
|
|
2876
|
+
border-radius:0;
|
|
2877
|
+
}
|
|
2878
|
+
:is(.tds-button-group > .tds-btn):not(:first-child){
|
|
2879
|
+
margin-inline-start:calc(var(--tds-btn-border-width) * -1);
|
|
2880
|
+
}
|
|
2881
|
+
:is(.tds-button-group > .tds-btn):hover{
|
|
2882
|
+
--tds-button-group-item-z-index:2;
|
|
2883
|
+
}
|
|
2884
|
+
:is(.tds-button-group > .tds-btn):focus-visible{
|
|
2885
|
+
--tds-button-group-item-z-index:5;
|
|
2886
|
+
}
|
|
2887
|
+
.tds-button-group > .tds-btn:first-child{
|
|
2888
|
+
border-start-start-radius:var(--tds-btn-border-radius);
|
|
2889
|
+
border-end-start-radius:var(--tds-btn-border-radius);
|
|
2890
|
+
}
|
|
2891
|
+
.tds-button-group > .tds-btn:last-child{
|
|
2892
|
+
border-start-end-radius:var(--tds-btn-border-radius);
|
|
2893
|
+
border-end-end-radius:var(--tds-btn-border-radius);
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2871
2896
|
.tds-checkbox{
|
|
2872
2897
|
--tds-checkbox-font-size:var(--t-font-size-md);
|
|
2873
2898
|
--tds-checkbox-cursor:pointer;
|
|
@@ -4951,6 +4976,136 @@ a.tds-dropdown-item:is(:hover, :active){
|
|
|
4951
4976
|
line-height:1.35;
|
|
4952
4977
|
}
|
|
4953
4978
|
|
|
4979
|
+
.tds-modal{
|
|
4980
|
+
--tds-modal-width:600px;
|
|
4981
|
+
--tds-modal-opacity:0;
|
|
4982
|
+
--tds-modal-backdrop-opacity:0;
|
|
4983
|
+
--tds-modal-scale:.96;
|
|
4984
|
+
--tds-modal-transition-duration:var(--t-duration-200);
|
|
4985
|
+
--tds-modal-transition-timing-function:var(--t-ease-in);
|
|
4986
|
+
--tds-modal-transition:opacity var(--tds-modal-transition-duration) var(--tds-modal-transition-timing-function), scale var(--tds-modal-transition-duration) var(--tds-modal-transition-timing-function);
|
|
4987
|
+
--tds-modal-backdrop-transition:opacity var(--tds-modal-transition-duration) var(--tds-modal-transition-timing-function);
|
|
4988
|
+
|
|
4989
|
+
flex-direction:column;
|
|
4990
|
+
width:min(var(--tds-modal-width), calc(100% - 48px));
|
|
4991
|
+
padding-block:var(--t-spacing-3);
|
|
4992
|
+
padding-inline:0;
|
|
4993
|
+
background:var(--t-surface-color-card);
|
|
4994
|
+
|
|
4995
|
+
border:0;
|
|
4996
|
+
border-radius:var(--t-border-radius-lg);
|
|
4997
|
+
box-shadow:0 4px 18px 0 #0003;
|
|
4998
|
+
|
|
4999
|
+
opacity:var(--tds-modal-opacity);
|
|
5000
|
+
scale:var(--tds-modal-scale);
|
|
5001
|
+
transition:var(--tds-modal-transition);
|
|
5002
|
+
}
|
|
5003
|
+
|
|
5004
|
+
.tds-modal[open]{
|
|
5005
|
+
--tds-modal-opacity:1;
|
|
5006
|
+
--tds-modal-backdrop-opacity:1;
|
|
5007
|
+
--tds-modal-scale:1;
|
|
5008
|
+
--tds-modal-transition-duration:var(--t-duration-300);
|
|
5009
|
+
--tds-modal-transition-timing-function:var(--t-ease-out);
|
|
5010
|
+
|
|
5011
|
+
display:flex;
|
|
5012
|
+
}
|
|
5013
|
+
|
|
5014
|
+
.tds-modal::backdrop{
|
|
5015
|
+
background:hsl(0 0% 0% / 40%);
|
|
5016
|
+
opacity:var(--tds-modal-backdrop-opacity);
|
|
5017
|
+
transition:var(--tds-modal-backdrop-transition);
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
@starting-style{
|
|
5021
|
+
.tds-modal[open]{
|
|
5022
|
+
--tds-modal-opacity:0;
|
|
5023
|
+
--tds-modal-scale:.96;
|
|
5024
|
+
}
|
|
5025
|
+
|
|
5026
|
+
.tds-modal[open]::backdrop{
|
|
5027
|
+
--tds-modal-backdrop-opacity:0;
|
|
5028
|
+
}
|
|
5029
|
+
}
|
|
5030
|
+
|
|
5031
|
+
@media (prefers-reduced-motion: reduce){
|
|
5032
|
+
.tds-modal{
|
|
5033
|
+
--tds-modal-transition:none;
|
|
5034
|
+
--tds-modal-backdrop-transition:none;
|
|
5035
|
+
}
|
|
5036
|
+
}
|
|
5037
|
+
|
|
5038
|
+
.tds-modal--sm{
|
|
5039
|
+
--tds-modal-width:400px;
|
|
5040
|
+
}
|
|
5041
|
+
|
|
5042
|
+
.tds-modal--lg{
|
|
5043
|
+
--tds-modal-width:800px;
|
|
5044
|
+
}
|
|
5045
|
+
|
|
5046
|
+
.tds-modal--xl{
|
|
5047
|
+
--tds-modal-width:1000px;
|
|
5048
|
+
}
|
|
5049
|
+
|
|
5050
|
+
.tds-modal-header{
|
|
5051
|
+
display:grid;
|
|
5052
|
+
grid-template-columns:1fr auto;
|
|
5053
|
+
-moz-column-gap:var(--t-spacing-2);
|
|
5054
|
+
column-gap:var(--t-spacing-2);
|
|
5055
|
+
padding-block:0;
|
|
5056
|
+
padding-inline:var(--t-spacing-4);
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5059
|
+
.tds-modal-title{
|
|
5060
|
+
grid-row:1;
|
|
5061
|
+
grid-column:1;
|
|
5062
|
+
margin:0;
|
|
5063
|
+
font-size:var(--t-font-size-2xl);
|
|
5064
|
+
font-weight:var(--t-font-weight-medium);
|
|
5065
|
+
line-height:140%;
|
|
5066
|
+
color:var(--t-text-color-headline);
|
|
5067
|
+
}
|
|
5068
|
+
|
|
5069
|
+
.tds-modal-subtitle{
|
|
5070
|
+
grid-row:2;
|
|
5071
|
+
grid-column:1;
|
|
5072
|
+
margin:0;
|
|
5073
|
+
font-size:var(--t-font-size-md);
|
|
5074
|
+
font-weight:var(--t-font-weight-medium);
|
|
5075
|
+
line-height:140%;
|
|
5076
|
+
color:var(--t-text-color-secondary);
|
|
5077
|
+
}
|
|
5078
|
+
|
|
5079
|
+
.tds-modal-close{
|
|
5080
|
+
grid-row:1;
|
|
5081
|
+
grid-column:2;
|
|
5082
|
+
align-self:center;
|
|
5083
|
+
color:var(--t-icon-color-dim);
|
|
5084
|
+
}
|
|
5085
|
+
|
|
5086
|
+
.tds-modal-body{
|
|
5087
|
+
padding-block:var(--t-spacing-3);
|
|
5088
|
+
padding-inline:var(--t-spacing-4);
|
|
5089
|
+
}
|
|
5090
|
+
|
|
5091
|
+
.tds-modal-body--full-width{
|
|
5092
|
+
padding-inline:0;
|
|
5093
|
+
}
|
|
5094
|
+
|
|
5095
|
+
.tds-modal-footer{
|
|
5096
|
+
display:flex;
|
|
5097
|
+
gap:var(--t-spacing-2);
|
|
5098
|
+
align-items:center;
|
|
5099
|
+
justify-content:flex-end;
|
|
5100
|
+
padding-block-start:var(--t-spacing-3);
|
|
5101
|
+
padding-inline:var(--t-spacing-4);
|
|
5102
|
+
border-top:1px solid var(--t-border-color);
|
|
5103
|
+
}
|
|
5104
|
+
|
|
5105
|
+
.tds-modal-footer > [slot="start"]{
|
|
5106
|
+
margin-inline-end:auto;
|
|
5107
|
+
}
|
|
5108
|
+
|
|
4954
5109
|
.tds-number-stepper{
|
|
4955
5110
|
--tds-number-stepper-button-offset:4px;
|
|
4956
5111
|
--tds-number-stepper-button-gap:2px;
|