@bcgov/design-system-react-components 0.8.1-pr840 → 0.8.1-pr849
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/README.md +2 -0
- package/dist/cjs/index.cjs +386 -246
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +385 -245
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +123 -66
- package/package.json +17 -15
package/dist/esm/index.js
CHANGED
|
@@ -61,7 +61,7 @@ styleInject(css_248z$E);
|
|
|
61
61
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
62
62
|
* governing permissions and limitations under the License.
|
|
63
63
|
*/
|
|
64
|
-
const $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? ($8WNJc$react).useLayoutEffect : ()=>{};
|
|
64
|
+
const $c4867b2f328c2698$export$e5c5a5f917a5871c$1 = typeof document !== 'undefined' ? ($8WNJc$react).useLayoutEffect : ()=>{};
|
|
65
65
|
|
|
66
66
|
/*
|
|
67
67
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -142,7 +142,7 @@ function $c7eafbbe1ea5834e$var$useModernSSRSafeId$1(defaultId) {
|
|
|
142
142
|
let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext$1.prefix}`;
|
|
143
143
|
return defaultId || `${prefix}-${id}`;
|
|
144
144
|
}
|
|
145
|
-
const $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId$1 : $c7eafbbe1ea5834e$var$useLegacySSRSafeId$1;
|
|
145
|
+
const $c7eafbbe1ea5834e$export$619500959fc48b26$1 = typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId$1 : $c7eafbbe1ea5834e$var$useLegacySSRSafeId$1;
|
|
146
146
|
function $c7eafbbe1ea5834e$var$getSnapshot$1() {
|
|
147
147
|
return false;
|
|
148
148
|
}
|
|
@@ -196,7 +196,7 @@ function $1a716630a9e3a599$export$14d238f342723f25(defaultValue) {
|
|
|
196
196
|
if (currValue.current === newValue.value) nextRef.current();
|
|
197
197
|
else setValue(newValue.value);
|
|
198
198
|
});
|
|
199
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
199
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
200
200
|
currValue.current = value;
|
|
201
201
|
// If there is an effect currently running, continue to the next yield.
|
|
202
202
|
if (effect.current) nextRef.current();
|
|
@@ -228,35 +228,35 @@ function $1a716630a9e3a599$export$14d238f342723f25(defaultValue) {
|
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing
|
|
231
|
-
let $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
232
|
-
let $390e54f620492c70$export$d41a04c74483c6ef = new Map();
|
|
231
|
+
let $390e54f620492c70$var$canUseDOM$1 = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
232
|
+
let $390e54f620492c70$export$d41a04c74483c6ef$1 = new Map();
|
|
233
233
|
// This allows us to clean up the idsUpdaterMap when the id is no longer used.
|
|
234
234
|
// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.
|
|
235
235
|
// This can happen in suspended components where mount/unmount is not called.
|
|
236
|
-
let $390e54f620492c70$var$registry;
|
|
237
|
-
if (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue)=>{
|
|
238
|
-
$390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);
|
|
236
|
+
let $390e54f620492c70$var$registry$1;
|
|
237
|
+
if (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry$1 = new FinalizationRegistry((heldValue)=>{
|
|
238
|
+
$390e54f620492c70$export$d41a04c74483c6ef$1.delete(heldValue);
|
|
239
239
|
});
|
|
240
|
-
function $390e54f620492c70$export$f680877a34711e37(defaultId) {
|
|
240
|
+
function $390e54f620492c70$export$f680877a34711e37$1(defaultId) {
|
|
241
241
|
let [value, setValue] = (useState)(defaultId);
|
|
242
242
|
let nextId = (useRef)(null);
|
|
243
|
-
let res = ($c7eafbbe1ea5834e$export$619500959fc48b26)(value);
|
|
243
|
+
let res = ($c7eafbbe1ea5834e$export$619500959fc48b26$1)(value);
|
|
244
244
|
let cleanupRef = (useRef)(null);
|
|
245
|
-
if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.register(cleanupRef, res);
|
|
246
|
-
if ($390e54f620492c70$var$canUseDOM) {
|
|
247
|
-
const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);
|
|
245
|
+
if ($390e54f620492c70$var$registry$1) $390e54f620492c70$var$registry$1.register(cleanupRef, res);
|
|
246
|
+
if ($390e54f620492c70$var$canUseDOM$1) {
|
|
247
|
+
const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef$1.get(res);
|
|
248
248
|
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
249
|
-
else $390e54f620492c70$export$d41a04c74483c6ef.set(res, [
|
|
249
|
+
else $390e54f620492c70$export$d41a04c74483c6ef$1.set(res, [
|
|
250
250
|
nextId
|
|
251
251
|
]);
|
|
252
252
|
}
|
|
253
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
253
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
254
254
|
let r = res;
|
|
255
255
|
return ()=>{
|
|
256
256
|
// In Suspense, the cleanup function may be not called
|
|
257
257
|
// when it is though, also remove it from the finalization registry.
|
|
258
|
-
if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.unregister(cleanupRef);
|
|
259
|
-
$390e54f620492c70$export$d41a04c74483c6ef.delete(r);
|
|
258
|
+
if ($390e54f620492c70$var$registry$1) $390e54f620492c70$var$registry$1.unregister(cleanupRef);
|
|
259
|
+
$390e54f620492c70$export$d41a04c74483c6ef$1.delete(r);
|
|
260
260
|
};
|
|
261
261
|
}, [
|
|
262
262
|
res
|
|
@@ -274,12 +274,12 @@ function $390e54f620492c70$export$f680877a34711e37(defaultId) {
|
|
|
274
274
|
}
|
|
275
275
|
function $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {
|
|
276
276
|
if (idA === idB) return idA;
|
|
277
|
-
let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef.get(idA);
|
|
277
|
+
let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef$1.get(idA);
|
|
278
278
|
if (setIdsA) {
|
|
279
279
|
setIdsA.forEach((ref)=>ref.current = idB);
|
|
280
280
|
return idB;
|
|
281
281
|
}
|
|
282
|
-
let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef.get(idB);
|
|
282
|
+
let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef$1.get(idB);
|
|
283
283
|
if (setIdsB) {
|
|
284
284
|
setIdsB.forEach((ref)=>ref.current = idA);
|
|
285
285
|
return idA;
|
|
@@ -287,7 +287,7 @@ function $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {
|
|
|
287
287
|
return idB;
|
|
288
288
|
}
|
|
289
289
|
function $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {
|
|
290
|
-
let id = $390e54f620492c70$export$f680877a34711e37();
|
|
290
|
+
let id = $390e54f620492c70$export$f680877a34711e37$1();
|
|
291
291
|
let [resolvedId, setResolvedId] = ($1a716630a9e3a599$export$14d238f342723f25)(id);
|
|
292
292
|
let updateId = (useCallback)(()=>{
|
|
293
293
|
setResolvedId(function*() {
|
|
@@ -298,7 +298,7 @@ function $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {
|
|
|
298
298
|
id,
|
|
299
299
|
setResolvedId
|
|
300
300
|
]);
|
|
301
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(updateId, [
|
|
301
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(updateId, [
|
|
302
302
|
id,
|
|
303
303
|
updateId,
|
|
304
304
|
...depArray
|
|
@@ -556,7 +556,7 @@ function $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(initialState = true) {
|
|
|
556
556
|
setHasSlot(!!el);
|
|
557
557
|
}, []);
|
|
558
558
|
// If the callback hasn't been called, then reset to false.
|
|
559
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
559
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
560
560
|
if (!hasRun.current) setHasSlot(false);
|
|
561
561
|
}, []);
|
|
562
562
|
return [
|
|
@@ -577,7 +577,7 @@ function $7230ffa83bc0c2cf$var$DOMElement(ElementType, props, forwardedRef) {
|
|
|
577
577
|
forwardedRef,
|
|
578
578
|
elementRef
|
|
579
579
|
]);
|
|
580
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
580
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
581
581
|
if (process.env.NODE_ENV !== 'production' && render) {
|
|
582
582
|
if (!elementRef.current) console.warn('Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?');
|
|
583
583
|
else if (elementRef.current.localName !== ElementType) console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${ElementType}>, got <${elementRef.current.localName}>. This may break the component behavior and accessibility.`);
|
|
@@ -898,7 +898,7 @@ function $a92dc41f639950be$export$715c682d09d639cc(onBlur) {
|
|
|
898
898
|
observer: null
|
|
899
899
|
});
|
|
900
900
|
// Clean up MutationObserver on unmount. See below.
|
|
901
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
901
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
902
902
|
const state = stateRef.current;
|
|
903
903
|
return ()=>{
|
|
904
904
|
if (state.observer) {
|
|
@@ -1491,7 +1491,7 @@ function $bb39c0fc1c19b34c$export$c57958e35f31ed73(target) {
|
|
|
1491
1491
|
|
|
1492
1492
|
// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,
|
|
1493
1493
|
// before all layout effects, but is available only in React 18 and later.
|
|
1494
|
-
const $fe16bffc7a557bf0$var$useEarlyEffect = ($8WNJc$react)['useInsertionEffect'] ?? ($c4867b2f328c2698$export$e5c5a5f917a5871c);
|
|
1494
|
+
const $fe16bffc7a557bf0$var$useEarlyEffect = ($8WNJc$react)['useInsertionEffect'] ?? ($c4867b2f328c2698$export$e5c5a5f917a5871c$1);
|
|
1495
1495
|
function $fe16bffc7a557bf0$export$7f54fc3180508a52(fn) {
|
|
1496
1496
|
const ref = (useRef)(null);
|
|
1497
1497
|
$fe16bffc7a557bf0$var$useEarlyEffect(()=>{
|
|
@@ -1551,7 +1551,7 @@ function $e8ac3c3f5d4bae7f$export$d6875122194c7b44(props, defaultLabel) {
|
|
|
1551
1551
|
let { id: id, 'aria-label': label, 'aria-labelledby': labelledBy } = props;
|
|
1552
1552
|
// If there is both an aria-label and aria-labelledby,
|
|
1553
1553
|
// combine them by pointing to the element itself.
|
|
1554
|
-
id = ($390e54f620492c70$export$f680877a34711e37)(id);
|
|
1554
|
+
id = ($390e54f620492c70$export$f680877a34711e37$1)(id);
|
|
1555
1555
|
if (labelledBy && label) {
|
|
1556
1556
|
let ids = new Set([
|
|
1557
1557
|
id,
|
|
@@ -2867,7 +2867,7 @@ function $8296dad1a4c5e0dc$export$8f71654801c2f7cd(props) {
|
|
|
2867
2867
|
* governing permissions and limitations under the License.
|
|
2868
2868
|
*/
|
|
2869
2869
|
function $b7115c395c64f7b5$export$4debdb1a3f0fa79e(context, ref) {
|
|
2870
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
2870
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
2871
2871
|
if (context && context.ref && ref) {
|
|
2872
2872
|
context.ref.current = ref.current;
|
|
2873
2873
|
return ()=>{
|
|
@@ -4909,8 +4909,8 @@ const $43a3b93638fe5db9$export$b04be29aa201d4f5 = /*#__PURE__*/ ($d7f64c32b702fe
|
|
|
4909
4909
|
|
|
4910
4910
|
function $0beb20c9744a2065$export$8467354a121f1b9f(props) {
|
|
4911
4911
|
let { id: id, label: label, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel, labelElementType: labelElementType = 'label' } = props;
|
|
4912
|
-
id = ($390e54f620492c70$export$f680877a34711e37)(id);
|
|
4913
|
-
let labelId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
4912
|
+
id = ($390e54f620492c70$export$f680877a34711e37$1)(id);
|
|
4913
|
+
let labelId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
4914
4914
|
let labelProps = {};
|
|
4915
4915
|
if (label) {
|
|
4916
4916
|
ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;
|
|
@@ -5748,8 +5748,8 @@ const $7705c033048f6da7$export$353f5b6fc5456de1 = /*#__PURE__*/ ($d7f64c32b702fe
|
|
|
5748
5748
|
values: renderValues,
|
|
5749
5749
|
defaultClassName: 'react-aria-Button'
|
|
5750
5750
|
});
|
|
5751
|
-
let buttonId = ($390e54f620492c70$export$f680877a34711e37)(buttonProps.id);
|
|
5752
|
-
let progressId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
5751
|
+
let buttonId = ($390e54f620492c70$export$f680877a34711e37$1)(buttonProps.id);
|
|
5752
|
+
let progressId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
5753
5753
|
let ariaLabelledby = buttonProps['aria-labelledby'];
|
|
5754
5754
|
if (isPending) {
|
|
5755
5755
|
// aria-labelledby wins over aria-label
|
|
@@ -9512,7 +9512,7 @@ let $121970af65029459$var$descriptionId = 0;
|
|
|
9512
9512
|
const $121970af65029459$var$descriptionNodes = new Map();
|
|
9513
9513
|
function $121970af65029459$export$f8aeda7b10753fa1(description) {
|
|
9514
9514
|
let [id, setId] = (useState)();
|
|
9515
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
9515
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
9516
9516
|
if (!description) return;
|
|
9517
9517
|
let desc = $121970af65029459$var$descriptionNodes.get(description);
|
|
9518
9518
|
if (!desc) {
|
|
@@ -11021,7 +11021,7 @@ function $876b6f32ca5a04c3$export$cbe85ee05b554577(props, state, ref) {
|
|
|
11021
11021
|
function $860f7da480e22816$export$b8473d3665f3a75a(props, state, ref) {
|
|
11022
11022
|
let { validationBehavior: validationBehavior, focus: focus } = props;
|
|
11023
11023
|
// This is a useLayoutEffect so that it runs before the useEffect in useFormValidationState, which commits the validation change.
|
|
11024
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
11024
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
11025
11025
|
if (validationBehavior === 'native' && ref?.current && !ref.current.disabled) {
|
|
11026
11026
|
let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(' ') || 'Invalid value.' : '';
|
|
11027
11027
|
ref.current.setCustomValidity(errorMessage);
|
|
@@ -12727,7 +12727,7 @@ function $cd2fa56213693c5e$export$23f548e970bdf099(props, state, inputRef) {
|
|
|
12727
12727
|
commit,
|
|
12728
12728
|
inputRef
|
|
12729
12729
|
]);
|
|
12730
|
-
let inputId = ($390e54f620492c70$export$f680877a34711e37)(id);
|
|
12730
|
+
let inputId = ($390e54f620492c70$export$f680877a34711e37$1)(id);
|
|
12731
12731
|
let { focusProps: focusProps } = ($1e74c67db218ce67$export$f8168d8dd8fd66e6)({
|
|
12732
12732
|
onBlur () {
|
|
12733
12733
|
commitAndAnnounce();
|
|
@@ -12905,8 +12905,8 @@ function $cd2fa56213693c5e$export$23f548e970bdf099(props, state, inputRef) {
|
|
|
12905
12905
|
let fieldLabel = props['aria-label'] || (typeof props.label === 'string' ? props.label : '');
|
|
12906
12906
|
let ariaLabelledby;
|
|
12907
12907
|
if (!fieldLabel) ariaLabelledby = props.label != null ? labelProps.id : props['aria-labelledby'];
|
|
12908
|
-
let incrementId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
12909
|
-
let decrementId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
12908
|
+
let incrementId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
12909
|
+
let decrementId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
12910
12910
|
let incrementButtonProps = ($bbaa08b3cd72f041$export$9d1611c77c2fe928)(incButtonProps, {
|
|
12911
12911
|
'aria-label': incrementAriaLabel || stringFormatter.format('increase', {
|
|
12912
12912
|
fieldLabel: fieldLabel
|
|
@@ -12953,7 +12953,7 @@ function $cd2fa56213693c5e$export$23f548e970bdf099(props, state, inputRef) {
|
|
|
12953
12953
|
}
|
|
12954
12954
|
let $cd2fa56213693c5e$var$numberInput = null;
|
|
12955
12955
|
function $cd2fa56213693c5e$var$useNativeValidation(state, validationBehavior, commitBehavior, inputRef, min, max, step, value) {
|
|
12956
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
12956
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
12957
12957
|
let input = inputRef.current;
|
|
12958
12958
|
if (commitBehavior !== 'validate' || state.realtimeValidation.isInvalid || !input || input.disabled) return;
|
|
12959
12959
|
// Create a native number input and use it to implement validation of min/max/step.
|
|
@@ -14009,7 +14009,7 @@ function $535772f9d2c1f38d$export$20e40289641fbbb6(props) {
|
|
|
14009
14009
|
}), [
|
|
14010
14010
|
scopeRef
|
|
14011
14011
|
]);
|
|
14012
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14012
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14013
14013
|
// If a new scope mounts outside the active scope, (e.g. DialogContainer launched from a menu),
|
|
14014
14014
|
// use the active scope as the parent instead of the parent from context. Layout effects run bottom
|
|
14015
14015
|
// up, so if the parent is not yet added to the tree, don't do this. Only the outer-most FocusScope
|
|
@@ -14026,13 +14026,13 @@ function $535772f9d2c1f38d$export$20e40289641fbbb6(props) {
|
|
|
14026
14026
|
node,
|
|
14027
14027
|
parentNode
|
|
14028
14028
|
]);
|
|
14029
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14029
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14030
14030
|
let node = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef);
|
|
14031
14031
|
if (node) node.contain = !!contain;
|
|
14032
14032
|
}, [
|
|
14033
14033
|
contain
|
|
14034
14034
|
]);
|
|
14035
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14035
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14036
14036
|
// Find all rendered nodes between the sentinels and add them to the scope.
|
|
14037
14037
|
let node = startRef.current?.nextSibling;
|
|
14038
14038
|
let nodes = [];
|
|
@@ -14070,7 +14070,7 @@ function $535772f9d2c1f38d$export$20e40289641fbbb6(props) {
|
|
|
14070
14070
|
]);
|
|
14071
14071
|
// This layout effect cleanup is so that the tree node is removed synchronously with react before the RAF
|
|
14072
14072
|
// in useRestoreFocus cleanup runs.
|
|
14073
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14073
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14074
14074
|
return ()=>{
|
|
14075
14075
|
// Scope may have been re-parented.
|
|
14076
14076
|
let parentScope = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef)?.parent?.scopeRef ?? null;
|
|
@@ -14200,7 +14200,7 @@ function $535772f9d2c1f38d$var$isTabbableRadio(element) {
|
|
|
14200
14200
|
function $535772f9d2c1f38d$var$useFocusContainment(scopeRef, contain) {
|
|
14201
14201
|
let focusedNode = (useRef)(undefined);
|
|
14202
14202
|
let raf = (useRef)(undefined);
|
|
14203
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14203
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14204
14204
|
let scope = scopeRef.current;
|
|
14205
14205
|
if (!contain) {
|
|
14206
14206
|
// if contain was changed, then we should cancel any ongoing waits to pull focus back into containment
|
|
@@ -14283,7 +14283,7 @@ function $535772f9d2c1f38d$var$useFocusContainment(scopeRef, contain) {
|
|
|
14283
14283
|
contain
|
|
14284
14284
|
]);
|
|
14285
14285
|
// This is a useLayoutEffect so it is guaranteed to run before our async synthetic blur
|
|
14286
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14286
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14287
14287
|
return ()=>{
|
|
14288
14288
|
if (raf.current) cancelAnimationFrame(raf.current);
|
|
14289
14289
|
};
|
|
@@ -14370,7 +14370,7 @@ function $535772f9d2c1f38d$var$useAutoFocus(scopeRef, autoFocus) {
|
|
|
14370
14370
|
function $535772f9d2c1f38d$var$useActiveScopeTracker(scopeRef, restore, contain) {
|
|
14371
14371
|
// tracks the active scope, in case restore and contain are both false.
|
|
14372
14372
|
// if either are true, this is tracked in useRestoreFocus or useFocusContainment.
|
|
14373
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14373
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14374
14374
|
if (restore || contain) return;
|
|
14375
14375
|
let scope = scopeRef.current;
|
|
14376
14376
|
const ownerDocument = ($d447af545b77c9f1$export$b204af158042fbac)(scope ? scope[0] : undefined);
|
|
@@ -14404,7 +14404,7 @@ function $535772f9d2c1f38d$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
14404
14404
|
const nodeToRestoreRef = (useRef)(typeof document !== 'undefined' ? ($23f2114a1b82827e$export$cd4e5573fbe2b576)(($d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined)) : null);
|
|
14405
14405
|
// restoring scopes should all track if they are active regardless of contain, but contain already tracks it plus logic to contain the focus
|
|
14406
14406
|
// restoring-non-containing scopes should only care if they become active so they can perform the restore
|
|
14407
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14407
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14408
14408
|
let scope = scopeRef.current;
|
|
14409
14409
|
const ownerDocument = ($d447af545b77c9f1$export$b204af158042fbac)(scope ? scope[0] : undefined);
|
|
14410
14410
|
if (!restoreFocus || contain) return;
|
|
@@ -14424,7 +14424,7 @@ function $535772f9d2c1f38d$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
14424
14424
|
scopeRef,
|
|
14425
14425
|
contain
|
|
14426
14426
|
]);
|
|
14427
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14427
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14428
14428
|
const ownerDocument = ($d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined);
|
|
14429
14429
|
if (!restoreFocus) return;
|
|
14430
14430
|
// Handle the Tab key so that tabbing out of the scope goes to the next element
|
|
@@ -14476,7 +14476,7 @@ function $535772f9d2c1f38d$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
14476
14476
|
contain
|
|
14477
14477
|
]);
|
|
14478
14478
|
// useLayoutEffect instead of useEffect so the active element is saved synchronously instead of asynchronously.
|
|
14479
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14479
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14480
14480
|
const ownerDocument = ($d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined);
|
|
14481
14481
|
if (!restoreFocus) return;
|
|
14482
14482
|
let treeNode = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef);
|
|
@@ -14734,7 +14734,7 @@ function $22bbea12c2567021$export$c3d8340acf92597f(collectionRef, key) {
|
|
|
14734
14734
|
}
|
|
14735
14735
|
const $22bbea12c2567021$var$collectionMap = new WeakMap();
|
|
14736
14736
|
function $22bbea12c2567021$export$881eb0d9f3605d9d(collection) {
|
|
14737
|
-
let id = ($390e54f620492c70$export$f680877a34711e37)();
|
|
14737
|
+
let id = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
14738
14738
|
$22bbea12c2567021$var$collectionMap.set(collection, id);
|
|
14739
14739
|
return id;
|
|
14740
14740
|
}
|
|
@@ -14823,13 +14823,13 @@ function $f5a4a9a3486154da$var$getStringForKey(key) {
|
|
|
14823
14823
|
function $a475cdc2445827b5$export$72ef708ab07251f1(effect, dependencies) {
|
|
14824
14824
|
const isInitialMount = (useRef)(true);
|
|
14825
14825
|
const lastDeps = (useRef)(null);
|
|
14826
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14826
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14827
14827
|
isInitialMount.current = true;
|
|
14828
14828
|
return ()=>{
|
|
14829
14829
|
isInitialMount.current = false;
|
|
14830
14830
|
};
|
|
14831
14831
|
}, []);
|
|
14832
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
14832
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
14833
14833
|
if (isInitialMount.current) isInitialMount.current = false;
|
|
14834
14834
|
else if (!lastDeps.current || dependencies.some((dep, i)=>!Object.is(dep, lastDeps[i]))) effect();
|
|
14835
14835
|
lastDeps.current = dependencies;
|
|
@@ -15569,7 +15569,7 @@ function $686593f99a1df089$export$50eacbbf140a3141(props, state, ref) {
|
|
|
15569
15569
|
onFocusWithinChange: props.onFocusChange
|
|
15570
15570
|
});
|
|
15571
15571
|
// Share list id and some props with child options.
|
|
15572
|
-
let id = ($390e54f620492c70$export$f680877a34711e37)(props.id);
|
|
15572
|
+
let id = ($390e54f620492c70$export$f680877a34711e37$1)(props.id);
|
|
15573
15573
|
($cd088b5c0d7b27b4$export$3585ede4d035bf14).set(state, {
|
|
15574
15574
|
id: id,
|
|
15575
15575
|
shouldUseVirtualFocus: props.shouldUseVirtualFocus,
|
|
@@ -15704,7 +15704,7 @@ function $7b01448eaad0fe7c$export$c24ed0104d07eab9(props) {
|
|
|
15704
15704
|
function $f6ba6936bfd098a0$export$ecf600387e221c37(options) {
|
|
15705
15705
|
let { id: id, selectionManager: manager, key: key, ref: ref, shouldSelectOnPressUp: shouldSelectOnPressUp, shouldUseVirtualFocus: shouldUseVirtualFocus, focus: focus, isDisabled: isDisabled, onAction: onAction, allowsDifferentPressOrigin: allowsDifferentPressOrigin, linkBehavior: linkBehavior = 'action' } = options;
|
|
15706
15706
|
let router = ($caaf0dd3060ed57c$export$9a302a45f65d0572)();
|
|
15707
|
-
id = ($390e54f620492c70$export$f680877a34711e37)(id);
|
|
15707
|
+
id = ($390e54f620492c70$export$f680877a34711e37$1)(id);
|
|
15708
15708
|
let onSelect = (e)=>{
|
|
15709
15709
|
if (e.pointerType === 'keyboard' && ($22bbea12c2567021$export$d3e3bd3e26688c04)(e)) manager.toggleSelection(key);
|
|
15710
15710
|
else {
|
|
@@ -16132,7 +16132,7 @@ function $dae966e193913d1b$export$497855f14858aa34(props, state, ref) {
|
|
|
16132
16132
|
*/
|
|
16133
16133
|
function $3d6c959d2ef57b72$export$c3f9f39876e4bc7(props) {
|
|
16134
16134
|
let { heading: heading, 'aria-label': ariaLabel } = props;
|
|
16135
|
-
let headingId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
16135
|
+
let headingId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
16136
16136
|
return {
|
|
16137
16137
|
itemProps: {
|
|
16138
16138
|
role: 'presentation'
|
|
@@ -17019,7 +17019,7 @@ function $0407362eaf54473e$export$ccaea96c28e8b9e7(props, ref) {
|
|
|
17019
17019
|
// Up to user discretion as to how to handle these multiple onLoadMore calls
|
|
17020
17020
|
if (entry.isIntersecting && onLoadMore) onLoadMore();
|
|
17021
17021
|
});
|
|
17022
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
17022
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
17023
17023
|
if (ref.current) {
|
|
17024
17024
|
// Tear down and set up a new IntersectionObserver when the collection changes so that we can properly trigger additional loadMores if there is room for more items
|
|
17025
17025
|
// Need to do this tear down and set up since using a large rootMargin will mean the observer's callback isn't called even when scrolling the item into view beause its visibility hasn't actually changed
|
|
@@ -18343,7 +18343,7 @@ function $b3526bc71400be8d$export$d39e1813b3bdd0e1(props) {
|
|
|
18343
18343
|
}, deps);
|
|
18344
18344
|
// Update position when anything changes
|
|
18345
18345
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
18346
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(updatePosition, deps);
|
|
18346
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(updatePosition, deps);
|
|
18347
18347
|
// Update position on window resize
|
|
18348
18348
|
$b3526bc71400be8d$var$useResize(updatePosition);
|
|
18349
18349
|
// Update position when the overlay changes size (might need to flip).
|
|
@@ -18359,7 +18359,7 @@ function $b3526bc71400be8d$export$d39e1813b3bdd0e1(props) {
|
|
|
18359
18359
|
// Reposition the overlay and do not close on scroll while the visual viewport is resizing.
|
|
18360
18360
|
// This will ensure that overlays adjust their positioning when the iOS virtual keyboard appears.
|
|
18361
18361
|
let isResizing = (useRef)(false);
|
|
18362
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
18362
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
18363
18363
|
let timeout;
|
|
18364
18364
|
let onResize = ()=>{
|
|
18365
18365
|
isResizing.current = true;
|
|
@@ -18421,7 +18421,7 @@ function $b3526bc71400be8d$export$d39e1813b3bdd0e1(props) {
|
|
|
18421
18421
|
};
|
|
18422
18422
|
}
|
|
18423
18423
|
function $b3526bc71400be8d$var$useResize(onResize) {
|
|
18424
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
18424
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
18425
18425
|
window.addEventListener('resize', onResize, false);
|
|
18426
18426
|
return ()=>{
|
|
18427
18427
|
window.removeEventListener('resize', onResize, false);
|
|
@@ -18646,7 +18646,7 @@ let $0644e3663365bfe5$var$preventScrollCount = 0;
|
|
|
18646
18646
|
let $0644e3663365bfe5$var$restore;
|
|
18647
18647
|
function $0644e3663365bfe5$export$ee0f7cc6afcd1c18(options = {}) {
|
|
18648
18648
|
let { isDisabled: isDisabled } = options;
|
|
18649
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
18649
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
18650
18650
|
if (isDisabled) return;
|
|
18651
18651
|
$0644e3663365bfe5$var$preventScrollCount++;
|
|
18652
18652
|
if ($0644e3663365bfe5$var$preventScrollCount === 1) {
|
|
@@ -19286,7 +19286,7 @@ function $d7a937236970dc7f$export$c6fdb837b070b4ff(props) {
|
|
|
19286
19286
|
function $d7a937236970dc7f$export$14c98a7594375490() {
|
|
19287
19287
|
let ctx = (useContext)($d7a937236970dc7f$export$a2200b96afd16271);
|
|
19288
19288
|
let setContain = ctx?.setContain;
|
|
19289
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
19289
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
19290
19290
|
setContain?.(true);
|
|
19291
19291
|
}, [
|
|
19292
19292
|
setContain
|
|
@@ -19354,7 +19354,7 @@ function $fcc7165e876206c6$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
|
19354
19354
|
//
|
|
19355
19355
|
// In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).
|
|
19356
19356
|
// This can happen when isReady starts as false (e.g. popovers prior to placement calculation).
|
|
19357
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
19357
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
19358
19358
|
if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {
|
|
19359
19359
|
for (let animation of ref.current.getAnimations())if (animation instanceof CSSTransition) animation.cancel();
|
|
19360
19360
|
}
|
|
@@ -19387,7 +19387,7 @@ function $fcc7165e876206c6$export$45fda7c47f93fd48(ref, isOpen) {
|
|
|
19387
19387
|
return isExiting;
|
|
19388
19388
|
}
|
|
19389
19389
|
function $fcc7165e876206c6$var$useAnimation(ref, isActive, onEnd) {
|
|
19390
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
19390
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
19391
19391
|
if (isActive && ref.current) {
|
|
19392
19392
|
if (!('getAnimations' in ref.current)) {
|
|
19393
19393
|
// JSDOM
|
|
@@ -19506,7 +19506,7 @@ function $542a13ca2fa5b484$var$PopoverInner({ state: state, isExiting: isExiting
|
|
|
19506
19506
|
// or a dialog is already nested inside the popover.
|
|
19507
19507
|
let shouldBeDialog = !props.isNonModal || props.trigger === 'SubmenuTrigger';
|
|
19508
19508
|
let [isDialog, setDialog] = (useState)(false);
|
|
19509
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
19509
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
19510
19510
|
if (ref.current) setDialog(shouldBeDialog && !ref.current.querySelector('[role=dialog]'));
|
|
19511
19511
|
}, [
|
|
19512
19512
|
ref,
|
|
@@ -19878,7 +19878,7 @@ function $f282e36c29c025e8$export$f9d5c8beee7d008d(props, state, ref) {
|
|
|
19878
19878
|
let ariaHasPopup = undefined;
|
|
19879
19879
|
if (type === 'menu') ariaHasPopup = true;
|
|
19880
19880
|
else if (type === 'listbox') ariaHasPopup = 'listbox';
|
|
19881
|
-
let overlayId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
19881
|
+
let overlayId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
19882
19882
|
return {
|
|
19883
19883
|
triggerProps: {
|
|
19884
19884
|
'aria-haspopup': ariaHasPopup,
|
|
@@ -19913,7 +19913,7 @@ function $parcel$interopDefault$9(a) {
|
|
|
19913
19913
|
|
|
19914
19914
|
function $f19b83c1486f45cc$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
19915
19915
|
let { type: type = 'menu', isDisabled: isDisabled, trigger: trigger = 'press' } = props;
|
|
19916
|
-
let menuTriggerId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
19916
|
+
let menuTriggerId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
19917
19917
|
let { triggerProps: triggerProps, overlayProps: overlayProps } = ($f282e36c29c025e8$export$f9d5c8beee7d008d)({
|
|
19918
19918
|
type: type
|
|
19919
19919
|
}, state, ref);
|
|
@@ -20282,7 +20282,7 @@ function $1a9c2c840fd36413$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
20282
20282
|
*/
|
|
20283
20283
|
function $7355d4e5c49461b6$export$73f7a44322579622(props) {
|
|
20284
20284
|
let { heading: heading, 'aria-label': ariaLabel } = props;
|
|
20285
|
-
let headingId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
20285
|
+
let headingId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
20286
20286
|
return {
|
|
20287
20287
|
itemProps: {
|
|
20288
20288
|
role: 'presentation'
|
|
@@ -20344,7 +20344,7 @@ function $eac5d44fa99b2e3b$export$85ec83e04c95f50a(options) {
|
|
|
20344
20344
|
menuRef,
|
|
20345
20345
|
preventPointerEvents
|
|
20346
20346
|
]);
|
|
20347
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
20347
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
20348
20348
|
let submenu = submenuRef.current;
|
|
20349
20349
|
let menu = menuRef.current;
|
|
20350
20350
|
if (isDisabled || !submenu || !isOpen || modality !== 'pointer' || !menu) {
|
|
@@ -20450,8 +20450,8 @@ function $eac5d44fa99b2e3b$export$85ec83e04c95f50a(options) {
|
|
|
20450
20450
|
|
|
20451
20451
|
function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
|
|
20452
20452
|
let { parentMenuRef: parentMenuRef, submenuRef: submenuRef, type: type = 'menu', isDisabled: isDisabled, delay: delay = 200, shouldUseVirtualFocus: shouldUseVirtualFocus } = props;
|
|
20453
|
-
let submenuTriggerId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
20454
|
-
let overlayId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
20453
|
+
let submenuTriggerId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
20454
|
+
let overlayId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
20455
20455
|
let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
|
|
20456
20456
|
let openTimeout = (useRef)(undefined);
|
|
20457
20457
|
let cancelOpenTimeout = (useCallback)(()=>{
|
|
@@ -20476,7 +20476,7 @@ function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
|
|
|
20476
20476
|
state,
|
|
20477
20477
|
cancelOpenTimeout
|
|
20478
20478
|
]);
|
|
20479
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
20479
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
20480
20480
|
return ()=>{
|
|
20481
20481
|
cancelOpenTimeout();
|
|
20482
20482
|
};
|
|
@@ -21425,7 +21425,7 @@ function $f2ff30fde7b014be$export$2e1e1122cf0cba88(props) {
|
|
|
21425
21425
|
// This is done in RAC instead of hooks because otherwise we cannot distinguish
|
|
21426
21426
|
// between context and props. Normally aria-labelledby overrides the title
|
|
21427
21427
|
// but when sent by context we want the title to win.
|
|
21428
|
-
triggerProps.id = ($390e54f620492c70$export$f680877a34711e37)();
|
|
21428
|
+
triggerProps.id = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
21429
21429
|
overlayProps['aria-labelledby'] = triggerProps.id;
|
|
21430
21430
|
return /*#__PURE__*/ ($8WNJc$react).createElement(($7230ffa83bc0c2cf$export$2881499e37b75b9a), {
|
|
21431
21431
|
values: [
|
|
@@ -23031,7 +23031,7 @@ function $d51706f903be7eab$export$1315d136e6f7581(segment, state, ref) {
|
|
|
23031
23031
|
break;
|
|
23032
23032
|
}
|
|
23033
23033
|
});
|
|
23034
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
23034
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
23035
23035
|
let element = ref.current;
|
|
23036
23036
|
return ()=>{
|
|
23037
23037
|
// If the focused segment is removed, focus the previous one, or the next one if there was no previous one.
|
|
@@ -23058,7 +23058,7 @@ function $d51706f903be7eab$export$1315d136e6f7581(segment, state, ref) {
|
|
|
23058
23058
|
state.segments
|
|
23059
23059
|
]);
|
|
23060
23060
|
if (segment !== firstSegment && !state.isInvalid) ariaDescribedBy = undefined;
|
|
23061
|
-
let id = ($390e54f620492c70$export$f680877a34711e37)();
|
|
23061
|
+
let id = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
23062
23062
|
let isEditable = !state.isDisabled && !state.isReadOnly && segment.isEditable;
|
|
23063
23063
|
// Prepend the label passed from the field to each segment name.
|
|
23064
23064
|
// This is needed because VoiceOver on iOS does not announce groups.
|
|
@@ -25034,9 +25034,9 @@ function $parcel$interopDefault$5(a) {
|
|
|
25034
25034
|
|
|
25035
25035
|
|
|
25036
25036
|
function $6902a2bb26917a07$export$42df105a73306d51(props, state, ref) {
|
|
25037
|
-
let buttonId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
25038
|
-
let dialogId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
25039
|
-
let fieldId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
25037
|
+
let buttonId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
25038
|
+
let dialogId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
25039
|
+
let fieldId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
25040
25040
|
let stringFormatter = ($cf2482eff2eeeec2$export$f12b703ca79dfbb1)((($parcel$interopDefault$5($0014db39426443c5$exports$1))), '@react-aria/datepicker');
|
|
25041
25041
|
let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;
|
|
25042
25042
|
let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = ($191c9b6d48a0a4e2$export$294aa081a6c6f55d)({
|
|
@@ -25483,8 +25483,8 @@ const $e539d00f123fdfd8$export$5109c6dd95d8fb00 = /*#__PURE__*/ (forwardRef)(fun
|
|
|
25483
25483
|
|
|
25484
25484
|
function $89a3495b7d82e671$export$6e3e27031a30522f(props, state, ref) {
|
|
25485
25485
|
let { isDisabled: isDisabled } = props;
|
|
25486
|
-
let triggerId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
25487
|
-
let panelId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
25486
|
+
let triggerId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
25487
|
+
let panelId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
25488
25488
|
let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
|
|
25489
25489
|
let raf = (useRef)(null);
|
|
25490
25490
|
let handleBeforeMatch = (useCallback)(()=>{
|
|
@@ -25503,7 +25503,7 @@ function $89a3495b7d82e671$export$6e3e27031a30522f(props, state, ref) {
|
|
|
25503
25503
|
// @ts-ignore https://github.com/facebook/react/pull/24741
|
|
25504
25504
|
($600b3cf69ae46262$export$90fc3a17d93f704c)(ref, 'beforematch', handleBeforeMatch);
|
|
25505
25505
|
let isExpandedRef = (useRef)(null);
|
|
25506
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
25506
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
25507
25507
|
// Cancel any pending RAF to prevent stale updates
|
|
25508
25508
|
if (raf.current) cancelAnimationFrame(raf.current);
|
|
25509
25509
|
if (ref.current && !isSSR) {
|
|
@@ -25718,7 +25718,7 @@ const $a3e16eab0ea4036c$export$74a362b31437ec83 = /*#__PURE__*/ (forwardRef)(fun
|
|
|
25718
25718
|
let { id: id, ...otherProps } = props;
|
|
25719
25719
|
// Generate an id if one wasn't provided.
|
|
25720
25720
|
// (can't pass id into useId since it can also be a number)
|
|
25721
|
-
let defaultId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
25721
|
+
let defaultId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
25722
25722
|
id ||= defaultId;
|
|
25723
25723
|
let isExpanded = groupState ? groupState.expandedKeys.has(id) : props.isExpanded;
|
|
25724
25724
|
let state = ($086b1fd51041276f$export$3fcbf6e4407997e0)({
|
|
@@ -26499,7 +26499,7 @@ function $2b2556a8276954c1$var$diffSelection(a, b) {
|
|
|
26499
26499
|
function $bf14c9739fda2eb3$export$eac1895992b9f3d6(ref, options) {
|
|
26500
26500
|
let isDisabled = options?.isDisabled;
|
|
26501
26501
|
let [hasTabbableChild, setHasTabbableChild] = (useState)(false);
|
|
26502
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
26502
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
26503
26503
|
if (ref?.current && !isDisabled) {
|
|
26504
26504
|
let update = ()=>{
|
|
26505
26505
|
if (ref.current) {
|
|
@@ -26609,7 +26609,7 @@ function $34d813d3524a584a$export$664f9155035607eb(props, state, ref) {
|
|
|
26609
26609
|
autoFocus: props.autoFocus,
|
|
26610
26610
|
escapeKeyBehavior: escapeKeyBehavior
|
|
26611
26611
|
});
|
|
26612
|
-
let id = ($390e54f620492c70$export$f680877a34711e37)(props.id);
|
|
26612
|
+
let id = ($390e54f620492c70$export$f680877a34711e37$1)(props.id);
|
|
26613
26613
|
($c1c90317e8bffe4d$export$5b9bb410392e3991).set(state, {
|
|
26614
26614
|
id: id,
|
|
26615
26615
|
onAction: onAction,
|
|
@@ -27564,7 +27564,7 @@ function $eecdee08e0d8a75f$export$62b9571f283ff5c2(props, state) {
|
|
|
27564
27564
|
state.setSelectedValue(nextElem.value);
|
|
27565
27565
|
}
|
|
27566
27566
|
};
|
|
27567
|
-
let groupName = ($390e54f620492c70$export$f680877a34711e37)(name);
|
|
27567
|
+
let groupName = ($390e54f620492c70$export$f680877a34711e37$1)(name);
|
|
27568
27568
|
($640b6b92b30fd41a$export$37b65e5b5444d35c).set(state, {
|
|
27569
27569
|
name: groupName,
|
|
27570
27570
|
form: form,
|
|
@@ -27890,7 +27890,7 @@ function $c0a45cd074520508$export$e64b2f635402ca43(props, state, ref) {
|
|
|
27890
27890
|
labelable: true
|
|
27891
27891
|
});
|
|
27892
27892
|
let triggerProps = ($bbaa08b3cd72f041$export$9d1611c77c2fe928)(typeSelectProps, menuTriggerProps, fieldProps);
|
|
27893
|
-
let valueId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
27893
|
+
let valueId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
27894
27894
|
$c0a45cd074520508$export$703601b7e90536f8.set(state, {
|
|
27895
27895
|
isDisabled: isDisabled,
|
|
27896
27896
|
isRequired: isRequired,
|
|
@@ -29014,7 +29014,7 @@ function $parcel$interopDefault$1(a) {
|
|
|
29014
29014
|
function $8b763916586fd6a6$export$3f568fff7dff2f03(props, state, ref) {
|
|
29015
29015
|
let { item: item } = props;
|
|
29016
29016
|
let stringFormatter = ($cf2482eff2eeeec2$export$f12b703ca79dfbb1)((($parcel$interopDefault$1($c861dd473ab3d00c$exports))), '@react-aria/tag');
|
|
29017
|
-
let buttonId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
29017
|
+
let buttonId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
29018
29018
|
let { onRemove: onRemove } = ($223860f9cb8a07a2$export$653eddfc964b0f8a).get(state) || {};
|
|
29019
29019
|
let { rowProps: rowProps, gridCellProps: gridCellProps, ...states } = ($be7bed9611dd7497$export$9610e69494fadfd2)({
|
|
29020
29020
|
node: item
|
|
@@ -29504,7 +29504,7 @@ function $afa781ff67c1cd08$export$fa142eb1681c520(props, ref) {
|
|
|
29504
29504
|
// should be safe because re-calling set state with the same value it already has is a no-op
|
|
29505
29505
|
// this will allow us to react should a parent re-render and change its role though
|
|
29506
29506
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
29507
|
-
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
29507
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c$1)(()=>{
|
|
29508
29508
|
setInToolbar(!!(ref.current && ref.current.parentElement?.closest('[role="toolbar"]')));
|
|
29509
29509
|
});
|
|
29510
29510
|
const { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
|
|
@@ -30011,7 +30011,7 @@ function $8c383cffc84c9982$export$1c4b08e0eca38426(props, state) {
|
|
|
30011
30011
|
|
|
30012
30012
|
function $85908aa8a35f0fac$export$a6da6c504e4bba8b(props, state, ref) {
|
|
30013
30013
|
let { isDisabled: isDisabled, trigger: trigger, shouldCloseOnPress: shouldCloseOnPress = true } = props;
|
|
30014
|
-
let tooltipId = ($390e54f620492c70$export$f680877a34711e37)();
|
|
30014
|
+
let tooltipId = ($390e54f620492c70$export$f680877a34711e37$1)();
|
|
30015
30015
|
let isHovered = (useRef)(false);
|
|
30016
30016
|
let isFocused = (useRef)(false);
|
|
30017
30017
|
let handleShow = ()=>{
|
|
@@ -30226,124 +30226,18 @@ function Button({ size = "medium", variant = "primary", danger = false, isIconBu
|
|
|
30226
30226
|
return (jsx($7705c033048f6da7$export$353f5b6fc5456de1, { className: `bcds-react-aria-Button ${size} ${variant} ${danger ? "danger" : ""} ${isIconButton ? "icon" : ""}`, ...props }));
|
|
30227
30227
|
}
|
|
30228
30228
|
|
|
30229
|
-
/*
|
|
30230
|
-
|
|
30231
|
-
|
|
30232
|
-
|
|
30233
|
-
|
|
30234
|
-
|
|
30235
|
-
|
|
30236
|
-
|
|
30237
|
-
|
|
30238
|
-
|
|
30239
|
-
|
|
30240
|
-
|
|
30241
|
-
}
|
|
30242
|
-
|
|
30243
|
-
var css_248z$B = ".bcds-react-aria-DisclosureGroup {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n gap: var(--layout-border-width-small);\n background-color: var(--surface-color-border-default);\n border: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n border-radius: var(--layout-border-radius-medium);\n overflow: hidden;\n}\n\n/* Override individual accordion item borders */\n.bcds-react-aria-DisclosureGroup > .bcds-react-aria-Disclosure {\n border: none;\n border-radius: var(--layout-border-radius-none);\n}\n\n/* Focus state */\n.bcds-react-aria-DisclosureGroup\n > .bcds-react-aria-Disclosure[data-focus-visible-within] {\n border-radius: var(--layout-border-radius-hair);\n outline-offset: calc(var(--layout-margin-hair) * -1);\n}\n\n/* Title styles */\n.bcds-react-aria-DisclosureGroup--Title {\n color: var(--typography-color-primary);\n margin: var(--layout-margin-medium) var(--layout-margin-none);\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h1 {\n font: var(--typography-bold-h1);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h2 {\n font: var(--typography-bold-h2);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h3 {\n font: var(--typography-bold-h3);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h4 {\n font: var(--typography-bold-h4);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h5 {\n font: var(--typography-bold-h5);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h6 {\n font: var(--typography-bold-h6);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > span {\n font: var(--typography-bold-large-body);\n}\n";
|
|
30244
|
-
styleInject(css_248z$B);
|
|
30245
|
-
|
|
30246
|
-
function AccordionGroup({ title, titleElement, children, ...props }) {
|
|
30247
|
-
function getTitle() {
|
|
30248
|
-
switch (titleElement) {
|
|
30249
|
-
case "h1":
|
|
30250
|
-
return jsx("h1", { children: title });
|
|
30251
|
-
case "h2":
|
|
30252
|
-
return jsx("h2", { children: title });
|
|
30253
|
-
case "h3":
|
|
30254
|
-
return jsx("h3", { children: title });
|
|
30255
|
-
case "h4":
|
|
30256
|
-
return jsx("h4", { children: title });
|
|
30257
|
-
case "h5":
|
|
30258
|
-
return jsx("h5", { children: title });
|
|
30259
|
-
case "h6":
|
|
30260
|
-
return jsx("h6", { children: title });
|
|
30261
|
-
default:
|
|
30262
|
-
return jsx("span", { children: title });
|
|
30263
|
-
}
|
|
30264
|
-
}
|
|
30265
|
-
return (jsxs(Fragment$1, { children: [title && (jsx("div", { className: "bcds-react-aria-DisclosureGroup--Title", children: getTitle() })), jsx($a3e16eab0ea4036c$export$944aceb4f8c89f10, { className: "bcds-react-aria-DisclosureGroup", ...props, children: children })] }));
|
|
30266
|
-
}
|
|
30267
|
-
|
|
30268
|
-
var css_248z$A = ".bcds-Alert-Banner {\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n}\n\n.bcds-Alert-Banner--Container {\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--layout-padding-medium);\n}\n\n.bcds-Alert-Banner--Icon {\n place-self: first baseline flex-start;\n padding-top: var(--layout-padding-xsmall);\n color: var(--icons-color-primary-invert);\n}\n\n.bcds-Alert-Banner--Content {\n display: inline-flex;\n gap: var(--layout-margin-medium);\n align-items: first baseline;\n flex-grow: 1;\n flex-wrap: wrap;\n color: var(--typography-color-primary-invert);\n}\n\n/* Layout */\n.bcds-Alert-Banner.fixed {\n padding: var(--layout-padding-none) var(--layout-padding-medium);\n}\n.bcds-Alert-Banner.fixed > .bcds-Alert-Banner--Container {\n max-width: 1100px;\n}\n.bcds-Alert-Banner.fluid {\n padding: var(--layout-padding-none) var(--layout-padding-large);\n}\n\n/* Sizing */\n.bcds-Alert-Banner.small > .bcds-Alert-Banner--Container {\n padding: var(--layout-padding-hair) var(--layout-padding-none);\n}\n.bcds-Alert-Banner.small .bcds-Alert-Banner--Content {\n font: var(--typography-regular-small-body);\n}\n\n.bcds-Alert-Banner.medium > .bcds-Alert-Banner--Container {\n padding: var(--layout-padding-small) var(--layout-padding-none);\n}\n.bcds-Alert-Banner.medium .bcds-Alert-Banner--Content {\n font: var(--typography-regular-body);\n}\n\n/* Close icon */\n.bcds-Alert-Banner--closeIcon {\n align-self: first baseline;\n}\n\n.bcds-Alert-Banner--closeIcon > .bcds-react-aria-Button[data-hovered] svg {\n color: var(--icons-color-primary);\n}\n\n.bcds-Alert-Banner--closeIcon svg {\n color: var(--icons-color-primary-invert);\n}\n\n/* Variants */\n\n/* Info theme */\n.bcds-Alert-Banner.info {\n background-color: var(--surface-color-background-dark-blue);\n}\n\n/* Success theme */\n.bcds-Alert-Banner.success {\n background-color: var(--support-border-color-success);\n}\n\n/* Warning theme */\n.bcds-Alert-Banner.warning {\n background-color: var(--support-border-color-warning);\n}\n\n.bcds-Alert-Banner.warning .bcds-Alert-Banner--Icon {\n color: var(--icons-color-primary);\n}\n\n.bcds-Alert-Banner.warning .bcds-Alert-Banner--Content {\n color: var(--typography-color-primary);\n}\n\n.bcds-Alert-Banner.warning .bcds-Alert-Banner--closeIcon svg {\n color: var(--icons-color-primary);\n}\n\n/* Danger theme */\n.bcds-Alert-Banner.danger {\n background-color: var(--support-border-color-danger);\n}\n\n/* Black theme */\n\n.bcds-Alert-Banner.black {\n background-color: var(--theme-gray-110);\n}\n";
|
|
30269
|
-
styleInject(css_248z$A);
|
|
30270
|
-
|
|
30271
|
-
/* This component implements the Circle Check icon from Font Awesome: https://fontawesome.com/icons/circle-check */
|
|
30272
|
-
function SvgCheckCircleIcon({ id = "check-icon" }) {
|
|
30273
|
-
return (jsx("svg", { id: id, width: "20", height: "20", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { children: jsx("path", { d: "M12.4688 7.46875C12.75 7.1875 13.2188 7.1875 13.5 7.5C13.8125 7.78125 13.8125 8.25 13.5 8.53125L9.5 12.5312C9.375 12.6875 9.1875 12.75 9 12.75C8.78125 12.75 8.59375 12.6875 8.4375 12.5312L6.4375 10.5312C6.125 10.25 6.125 9.78125 6.4375 9.46875C6.71875 9.1875 7.1875 9.1875 7.5 9.46875L9 10.9688L12.4688 7.46875ZM10 2C14.4062 2 18 5.59375 18 10C18 14.4375 14.4062 18 10 18C5.5625 18 2 14.4375 2 10C2 5.59375 5.5625 2 10 2ZM10 16.5C13.5625 16.5 16.5 13.5938 16.5 10C16.5 6.4375 13.5625 3.5 10 3.5C6.40625 3.5 3.5 6.4375 3.5 10C3.5 13.5938 6.40625 16.5 10 16.5Z", fill: "currentColor" }) }) }));
|
|
30274
|
-
}
|
|
30275
|
-
|
|
30276
|
-
/* This component implements the X Mark icon from Font Awesome: https://fontawesome.com/icons/xmark */
|
|
30277
|
-
function SvgCloseIcon({ id = "close-icon" }) {
|
|
30278
|
-
return (jsx("svg", { id: id, width: "20", height: "20", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { children: jsx("path", { d: "M16 5.21286L14.7871 4L10 8.78714L5.21286 4L4 5.21286L8.78714 10L4 14.7871L5.21286 16L10 11.2129L14.7871 16L16 14.7871L11.2129 10L16 5.21286Z", fill: "currentColor" }) }) }));
|
|
30279
|
-
}
|
|
30280
|
-
|
|
30281
|
-
/* This component implements the Circle Exclamation icon from Font Awesome: https://fontawesome.com/icons/circle-exclamation */
|
|
30282
|
-
function SvgExclamationCircleIcon({ id = "exclamation-icon-circle", }) {
|
|
30283
|
-
return (jsx("svg", { id: id, width: "20", height: "20", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { children: jsx("path", { d: "M9.99999 2C14.4062 2 18 5.59375 18 10C18 14.4375 14.4062 18 9.99999 18C5.56249 18 1.99998 14.4375 1.99998 10C1.99998 5.59375 5.56249 2 9.99999 2ZM9.99999 16.5C13.5625 16.5 16.5 13.5938 16.5 10C16.5 6.4375 13.5625 3.5 9.99999 3.5C6.40624 3.5 3.49999 6.4375 3.49999 10C3.49999 13.5938 6.40624 16.5 9.99999 16.5ZM9.99999 11.5C9.56249 11.5 9.24999 11.1875 9.24999 10.75V6.75C9.24999 6.34375 9.56249 6 9.99999 6C10.4062 6 10.75 6.34375 10.75 6.75V10.75C10.75 11.1875 10.4062 11.5 9.99999 11.5ZM9.99999 12.5625C10.5312 12.5625 10.9687 13 10.9687 13.5312C10.9687 14.0625 10.5312 14.5 9.99999 14.5C9.43749 14.5 8.99999 14.0625 8.99999 13.5312C8.99999 13 9.43749 12.5625 9.99999 12.5625Z", fill: "currentColor" }) }) }));
|
|
30284
|
-
}
|
|
30285
|
-
|
|
30286
|
-
/* This component implements the Triangle Exclamation icon from Font Awesome: https://fontawesome.com/icons/triangle-exclamation */
|
|
30287
|
-
function SvgExclamationIcon({ id = "exclamation-icon" }) {
|
|
30288
|
-
return (jsx("svg", { id: id, width: "20", height: "20", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { children: jsx("path", { d: "M17.835 15.0312C18.335 15.9062 17.71 17 16.6787 17H3.33499C2.30374 17 1.67874 15.9062 2.14749 15.0312L8.83499 3.65625C9.11624 3.21875 9.55373 3 10.0225 3C10.46 3 10.8975 3.21875 11.1787 3.65625L17.835 15.0312ZM3.64749 15.5H16.3663L9.99123 4.65625L3.64749 15.5ZM10.0225 12.5625C10.5537 12.5625 10.9912 13 10.9912 13.5312C10.9912 14.0625 10.5537 14.5 10.0225 14.5C9.45998 14.5 9.02249 14.0625 9.02249 13.5312C9.02249 13 9.45998 12.5625 10.0225 12.5625ZM9.27249 7.75C9.27249 7.34375 9.58498 7 10.0225 7C10.4287 7 10.7725 7.34375 10.7725 7.75V10.75C10.7725 11.1875 10.4287 11.5 10.0225 11.5C9.58498 11.5 9.27249 11.1875 9.27249 10.75V7.75Z", fill: "currentColor" }) }) }));
|
|
30289
|
-
}
|
|
30290
|
-
|
|
30291
|
-
/* This component implements the Circle Info icon from Font Awesome: https://fontawesome.com/icons/circle-info */
|
|
30292
|
-
function SvgInfoIcon({ id = "information-icon" }) {
|
|
30293
|
-
return (jsx("svg", { id: id, width: "20", height: "20", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: jsx("g", { children: jsx("path", { d: "M9.99999 2C14.4062 2 18 5.59375 18 10C18 14.4375 14.4062 18 9.99999 18C5.56249 18 1.99998 14.4375 1.99998 10C1.99998 5.59375 5.56249 2 9.99999 2ZM9.99999 16.5C13.5625 16.5 16.5 13.5938 16.5 10C16.5 6.4375 13.5625 3.5 9.99999 3.5C6.40624 3.5 3.49999 6.4375 3.49999 10C3.49999 13.5938 6.40624 16.5 9.99999 16.5ZM11.25 12.5C11.6562 12.5 12 12.8438 12 13.25C12 13.6875 11.6562 14 11.25 14H8.74999C8.31249 14 7.99999 13.6875 7.99999 13.25C7.99999 12.8438 8.31249 12.5 8.74999 12.5H9.24999V10.5H8.99999C8.56249 10.5 8.24999 10.1875 8.24999 9.75C8.24999 9.34375 8.56249 9 8.99999 9H9.99999C10.4062 9 10.75 9.34375 10.75 9.75V12.5H11.25ZM9.99999 8C9.43749 8 8.99999 7.5625 8.99999 7C8.99999 6.46875 9.43749 6 9.99999 6C10.5312 6 11 6.46875 11 7C11 7.5625 10.5312 8 9.99999 8Z", fill: "currentColor" }) }) }));
|
|
30294
|
-
}
|
|
30295
|
-
|
|
30296
|
-
/* Sets correct icon for theme */
|
|
30297
|
-
function getIcon$2(variant) {
|
|
30298
|
-
switch (variant) {
|
|
30299
|
-
case "info":
|
|
30300
|
-
return jsx(SvgInfoIcon, {});
|
|
30301
|
-
case "black":
|
|
30302
|
-
return jsx(SvgInfoIcon, {});
|
|
30303
|
-
case "success":
|
|
30304
|
-
return jsx(SvgCheckCircleIcon, {});
|
|
30305
|
-
case "warning":
|
|
30306
|
-
return jsx(SvgExclamationIcon, {});
|
|
30307
|
-
case "danger":
|
|
30308
|
-
return jsx(SvgExclamationCircleIcon, {});
|
|
30309
|
-
default:
|
|
30310
|
-
return;
|
|
30311
|
-
}
|
|
30312
|
-
}
|
|
30313
|
-
function AlertBanner({ variant = "info", size = "medium", layout = "fixed", isIconHidden = false, isCloseable = true, role = "status", onClose, children, customIcon, ...props }) {
|
|
30314
|
-
return (jsx("div", { className: `bcds-Alert-Banner ${variant} ${size} ${layout}`, ...props, children: jsxs("div", { className: "bcds-Alert-Banner--Container", children: [" ", !isIconHidden && (jsx("span", { className: "bcds-Alert-Banner--Icon", children: customIcon ? customIcon : getIcon$2(variant) })), jsx("div", { className: "bcds-Alert-Banner--Content", role: role, children: children }), isCloseable && (jsx("span", { className: "bcds-Alert-Banner--closeIcon", children: jsx(Button, { variant: "tertiary", isIconButton: true, size: "small", "aria-label": "Close this alert", type: "button", onPress: onClose, children: jsx(SvgCloseIcon, {}) }) }))] }) }));
|
|
30315
|
-
}
|
|
30316
|
-
|
|
30317
|
-
var css_248z$z = ".bcds-ButtonGroup {\n display: flex;\n gap: var(--layout-margin-small);\n flex-grow: 1;\n}\n\n.bcds-ButtonGroup.horizontal {\n flex-direction: row;\n}\n\n.bcds-ButtonGroup.vertical {\n flex-direction: column;\n}\n\n.bcds-ButtonGroup.start {\n justify-content: flex-start;\n}\n\n.bcds-ButtonGroup.center {\n justify-content: center;\n}\n\n.bcds-ButtonGroup.end {\n justify-content: flex-end;\n}\n";
|
|
30318
|
-
styleInject(css_248z$z);
|
|
30319
|
-
|
|
30320
|
-
function ButtonGroup({ orientation = "horizontal", alignment = "start", ariaLabel, children, ...props }) {
|
|
30321
|
-
return (jsx("div", { className: `bcds-ButtonGroup ${orientation} ${alignment}`, role: "group", "aria-label": ariaLabel, ...props, children: children }));
|
|
30322
|
-
}
|
|
30323
|
-
|
|
30324
|
-
var css_248z$y = ".bcds-react-aria-AlertDialog {\n display: flex;\n flex-direction: column;\n}\n\n/* Variant icons */\n.bcds-react-aria-AlertDialog.info .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-primary);\n}\n.bcds-react-aria-AlertDialog.confirmation .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-success);\n}\n.bcds-react-aria-AlertDialog.warning .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-warning);\n}\n.bcds-react-aria-AlertDialog.error .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-danger);\n}\n.bcds-react-aria-AlertDialog.destructive .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-danger);\n}\n\n.bcds-react-aria-AlertDialog--Header {\n display: inline-flex;\n flex-direction: row;\n gap: var(--layout-padding-small);\n justify-content: space-between;\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n border-bottom: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n}\n\n.bcds-react-aria-AlertDialog--Title {\n flex-grow: 1;\n font: var(--typography-bold-h5);\n color: var(--typography-color-primary);\n}\n\n.bcds-react-aria-AlertDialog--Icon {\n place-self: center flex-start;\n padding-top: var(--layout-padding-xsmall);\n}\n\n.bcds-react-aria-AlertDialog--closeIcon {\n justify-self: flex-end;\n color: var(--icons-color-primary);\n}\n\n.bcds-react-aria-AlertDialog--children {\n font: var(--typography-regular-body);\n color: var(--typography-color-primary);\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n border-bottom: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n}\n\n.bcds-react-aria-AlertDialog > .bcds-ButtonGroup {\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n}\n";
|
|
30325
|
-
styleInject(css_248z$y);
|
|
30326
|
-
|
|
30327
|
-
/* Sets correct left icon for selected variant */
|
|
30328
|
-
function getIcon$1(variant) {
|
|
30329
|
-
switch (variant) {
|
|
30330
|
-
case "info":
|
|
30331
|
-
return jsx(SvgInfoIcon, {});
|
|
30332
|
-
case "confirmation":
|
|
30333
|
-
return jsx(SvgCheckCircleIcon, {});
|
|
30334
|
-
case "warning":
|
|
30335
|
-
return jsx(SvgExclamationIcon, {});
|
|
30336
|
-
case "error":
|
|
30337
|
-
return jsx(SvgExclamationCircleIcon, {});
|
|
30338
|
-
case "destructive":
|
|
30339
|
-
return jsx(SvgExclamationCircleIcon, {});
|
|
30340
|
-
default:
|
|
30341
|
-
return;
|
|
30342
|
-
}
|
|
30343
|
-
}
|
|
30344
|
-
function AlertDialog({ children, variant = "info", role = "dialog", title, isCloseable = true, isIconHidden = false, buttons, ...props }) {
|
|
30345
|
-
return (jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, { className: `bcds-react-aria-AlertDialog ${variant}`, role: role, ...props, children: ({ close }) => (jsxs(Fragment$1, { children: [jsxs("div", { className: "bcds-react-aria-AlertDialog--Header", children: [!isIconHidden && (jsx("div", { className: "bcds-react-aria-AlertDialog--Icon", children: getIcon$1(variant) })), title && (jsx("div", { className: "bcds-react-aria-AlertDialog--Title", slot: "title", children: title })), isCloseable && (jsx("div", { className: "bcds-react-aria-AlertDialog--closeIcon", children: jsx(Button, { variant: "tertiary", isIconButton: true, size: "small", "aria-label": "Close", type: "button", onPress: close, children: jsx(SvgCloseIcon, {}) }) }))] }), children && (jsx("div", { className: "bcds-react-aria-AlertDialog--children", slot: "children", children: jsx(Fragment$1, { children: children }) })), buttons && (jsx(ButtonGroup, { alignment: "end", orientation: "horizontal", children: buttons }))] })) }));
|
|
30346
|
-
}
|
|
30229
|
+
/*
|
|
30230
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
30231
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
30232
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
30233
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
30234
|
+
*
|
|
30235
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
30236
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
30237
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
30238
|
+
* governing permissions and limitations under the License.
|
|
30239
|
+
*/
|
|
30240
|
+
const $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? ($8WNJc$react).useLayoutEffect : ()=>{};
|
|
30347
30241
|
|
|
30348
30242
|
/*
|
|
30349
30243
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -30424,7 +30318,7 @@ function $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {
|
|
|
30424
30318
|
let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext.prefix}`;
|
|
30425
30319
|
return defaultId || `${prefix}-${id}`;
|
|
30426
30320
|
}
|
|
30427
|
-
typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;
|
|
30321
|
+
const $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;
|
|
30428
30322
|
function $c7eafbbe1ea5834e$var$getSnapshot() {
|
|
30429
30323
|
return false;
|
|
30430
30324
|
}
|
|
@@ -30443,6 +30337,220 @@ function $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {
|
|
|
30443
30337
|
return (useContext)($c7eafbbe1ea5834e$var$IsSSRContext);
|
|
30444
30338
|
}
|
|
30445
30339
|
|
|
30340
|
+
/*
|
|
30341
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
30342
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
30343
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
30344
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
30345
|
+
*
|
|
30346
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
30347
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
30348
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
30349
|
+
* governing permissions and limitations under the License.
|
|
30350
|
+
*/
|
|
30351
|
+
|
|
30352
|
+
|
|
30353
|
+
|
|
30354
|
+
// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing
|
|
30355
|
+
let $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
30356
|
+
let $390e54f620492c70$export$d41a04c74483c6ef = new Map();
|
|
30357
|
+
// This allows us to clean up the idsUpdaterMap when the id is no longer used.
|
|
30358
|
+
// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.
|
|
30359
|
+
// This can happen in suspended components where mount/unmount is not called.
|
|
30360
|
+
let $390e54f620492c70$var$registry;
|
|
30361
|
+
if (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue)=>{
|
|
30362
|
+
$390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);
|
|
30363
|
+
});
|
|
30364
|
+
function $390e54f620492c70$export$f680877a34711e37(defaultId) {
|
|
30365
|
+
let [value, setValue] = (useState)(defaultId);
|
|
30366
|
+
let nextId = (useRef)(null);
|
|
30367
|
+
let res = ($c7eafbbe1ea5834e$export$619500959fc48b26)(value);
|
|
30368
|
+
let cleanupRef = (useRef)(null);
|
|
30369
|
+
if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.register(cleanupRef, res);
|
|
30370
|
+
if ($390e54f620492c70$var$canUseDOM) {
|
|
30371
|
+
const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);
|
|
30372
|
+
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
30373
|
+
else $390e54f620492c70$export$d41a04c74483c6ef.set(res, [
|
|
30374
|
+
nextId
|
|
30375
|
+
]);
|
|
30376
|
+
}
|
|
30377
|
+
($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
|
|
30378
|
+
let r = res;
|
|
30379
|
+
return ()=>{
|
|
30380
|
+
// In Suspense, the cleanup function may be not called
|
|
30381
|
+
// when it is though, also remove it from the finalization registry.
|
|
30382
|
+
if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.unregister(cleanupRef);
|
|
30383
|
+
$390e54f620492c70$export$d41a04c74483c6ef.delete(r);
|
|
30384
|
+
};
|
|
30385
|
+
}, [
|
|
30386
|
+
res
|
|
30387
|
+
]);
|
|
30388
|
+
// This cannot cause an infinite loop because the ref is always cleaned up.
|
|
30389
|
+
// eslint-disable-next-line
|
|
30390
|
+
(useEffect)(()=>{
|
|
30391
|
+
let newId = nextId.current;
|
|
30392
|
+
if (newId) setValue(newId);
|
|
30393
|
+
return ()=>{
|
|
30394
|
+
if (newId) nextId.current = null;
|
|
30395
|
+
};
|
|
30396
|
+
});
|
|
30397
|
+
return res;
|
|
30398
|
+
}
|
|
30399
|
+
|
|
30400
|
+
/**
|
|
30401
|
+
* Do not edit directly, this file was auto-generated.
|
|
30402
|
+
*/
|
|
30403
|
+
|
|
30404
|
+
const iconsSizeXsmall = "14px"; // Smallest icon size
|
|
30405
|
+
const iconsSizeSmall = "16px";
|
|
30406
|
+
const iconsSizeMedium = "20px"; // Default icon size
|
|
30407
|
+
const iconsSizeLarge = "24px";
|
|
30408
|
+
const iconsSizeXlarge = "32px"; // Largest icon size
|
|
30409
|
+
|
|
30410
|
+
const iconSizeMap = {
|
|
30411
|
+
xsmall: iconsSizeXsmall,
|
|
30412
|
+
small: iconsSizeSmall,
|
|
30413
|
+
medium: iconsSizeMedium,
|
|
30414
|
+
large: iconsSizeLarge,
|
|
30415
|
+
xlarge: iconsSizeXlarge,
|
|
30416
|
+
};
|
|
30417
|
+
function getIconSize(size = "medium") {
|
|
30418
|
+
return iconSizeMap[size];
|
|
30419
|
+
}
|
|
30420
|
+
|
|
30421
|
+
function SvgChevronUpIcon({ size = "medium", title, id, ...props }) {
|
|
30422
|
+
const iconSize = getIconSize(size);
|
|
30423
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30424
|
+
const isMeaningful = Boolean(title);
|
|
30425
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M4.21231 13.3146L9.52695 8.2226C9.6939 8.08348 9.86086 8 10.0278 8C10.1948 8 10.3339 8.05565 10.473 8.16695L15.7876 13.259C16.066 13.5372 16.066 13.9546 15.8155 14.2051C15.5651 14.4833 15.1477 14.4833 14.8694 14.2329L10.0278 9.61387L5.13054 14.2885C4.88011 14.539 4.43491 14.539 4.18448 14.2607C3.93405 13.9825 3.93405 13.5651 4.21231 13.3146Z", fill: "currentColor" })] }));
|
|
30426
|
+
}
|
|
30427
|
+
|
|
30428
|
+
function SvgChevronDownIcon({ size = "medium", title, id, ...props }) {
|
|
30429
|
+
const iconSize = getIconSize(size);
|
|
30430
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30431
|
+
const isMeaningful = Boolean(title);
|
|
30432
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M15.7882 9.15569L10.4858 14.236C10.3192 14.3748 10.1527 14.4303 10.0139 14.4303C9.84731 14.4303 9.68074 14.3748 9.54194 14.2637L4.21182 9.15569C3.9342 8.90584 3.9342 8.46167 4.18405 8.21182C4.4339 7.9342 4.87808 7.9342 5.12793 8.18405L10.0139 12.8479L14.872 8.18405C15.1219 7.9342 15.5661 7.9342 15.8159 8.21182C16.0658 8.46167 16.0658 8.90584 15.7882 9.15569Z", fill: "currentColor" })] }));
|
|
30433
|
+
}
|
|
30434
|
+
|
|
30435
|
+
function Accordion({ label, children, ...props }) {
|
|
30436
|
+
return (jsx($a3e16eab0ea4036c$export$74a362b31437ec83, { className: `bcds-react-aria-Disclosure`, ...props, children: ({ isExpanded }) => (jsxs(Fragment$1, { children: [jsxs(Button, { className: "bcds-react-aria-Disclosure--Button", size: "small", variant: "link", slot: "trigger", children: [label, isExpanded ? jsx(SvgChevronUpIcon, {}) : jsx(SvgChevronDownIcon, {})] }), jsx($a3e16eab0ea4036c$export$feabaa331e1d464c, { className: "bcds-react-aria-Disclosure--Panel", children: jsx(Fragment$1, { children: children }) })] })) }));
|
|
30437
|
+
}
|
|
30438
|
+
|
|
30439
|
+
var css_248z$B = ".bcds-react-aria-DisclosureGroup {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n gap: var(--layout-border-width-small);\n background-color: var(--surface-color-border-default);\n border: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n border-radius: var(--layout-border-radius-medium);\n overflow: hidden;\n}\n\n/* Override individual accordion item borders */\n.bcds-react-aria-DisclosureGroup > .bcds-react-aria-Disclosure {\n border: none;\n border-radius: var(--layout-border-radius-none);\n}\n\n/* Focus state */\n.bcds-react-aria-DisclosureGroup\n > .bcds-react-aria-Disclosure[data-focus-visible-within] {\n border-radius: var(--layout-border-radius-hair);\n outline-offset: calc(var(--layout-margin-hair) * -1);\n}\n\n/* Title styles */\n.bcds-react-aria-DisclosureGroup--Title {\n color: var(--typography-color-primary);\n margin: var(--layout-margin-medium) var(--layout-margin-none);\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h1 {\n font: var(--typography-bold-h1);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h2 {\n font: var(--typography-bold-h2);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h3 {\n font: var(--typography-bold-h3);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h4 {\n font: var(--typography-bold-h4);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h5 {\n font: var(--typography-bold-h5);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > h6 {\n font: var(--typography-bold-h6);\n margin-block: 0;\n}\n\n.bcds-react-aria-DisclosureGroup--Title > span {\n font: var(--typography-bold-large-body);\n}\n";
|
|
30440
|
+
styleInject(css_248z$B);
|
|
30441
|
+
|
|
30442
|
+
function AccordionGroup({ title, titleElement, children, ...props }) {
|
|
30443
|
+
function getTitle() {
|
|
30444
|
+
switch (titleElement) {
|
|
30445
|
+
case "h1":
|
|
30446
|
+
return jsx("h1", { children: title });
|
|
30447
|
+
case "h2":
|
|
30448
|
+
return jsx("h2", { children: title });
|
|
30449
|
+
case "h3":
|
|
30450
|
+
return jsx("h3", { children: title });
|
|
30451
|
+
case "h4":
|
|
30452
|
+
return jsx("h4", { children: title });
|
|
30453
|
+
case "h5":
|
|
30454
|
+
return jsx("h5", { children: title });
|
|
30455
|
+
case "h6":
|
|
30456
|
+
return jsx("h6", { children: title });
|
|
30457
|
+
default:
|
|
30458
|
+
return jsx("span", { children: title });
|
|
30459
|
+
}
|
|
30460
|
+
}
|
|
30461
|
+
return (jsxs(Fragment$1, { children: [title && (jsx("div", { className: "bcds-react-aria-DisclosureGroup--Title", children: getTitle() })), jsx($a3e16eab0ea4036c$export$944aceb4f8c89f10, { className: "bcds-react-aria-DisclosureGroup", ...props, children: children })] }));
|
|
30462
|
+
}
|
|
30463
|
+
|
|
30464
|
+
var css_248z$A = ".bcds-Alert-Banner {\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n}\n\n.bcds-Alert-Banner--Container {\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--layout-padding-medium);\n}\n\n.bcds-Alert-Banner--Icon {\n place-self: first baseline flex-start;\n padding-top: var(--layout-padding-xsmall);\n color: var(--icons-color-primary-invert);\n}\n\n.bcds-Alert-Banner--Content {\n display: inline-flex;\n gap: var(--layout-margin-medium);\n align-items: first baseline;\n flex-grow: 1;\n flex-wrap: wrap;\n color: var(--typography-color-primary-invert);\n}\n\n/* Layout */\n.bcds-Alert-Banner.fixed {\n padding: var(--layout-padding-none) var(--layout-padding-medium);\n}\n.bcds-Alert-Banner.fixed > .bcds-Alert-Banner--Container {\n max-width: 1100px;\n}\n.bcds-Alert-Banner.fluid {\n padding: var(--layout-padding-none) var(--layout-padding-large);\n}\n\n/* Sizing */\n.bcds-Alert-Banner.small > .bcds-Alert-Banner--Container {\n padding: var(--layout-padding-hair) var(--layout-padding-none);\n}\n.bcds-Alert-Banner.small .bcds-Alert-Banner--Content {\n font: var(--typography-regular-small-body);\n}\n\n.bcds-Alert-Banner.medium > .bcds-Alert-Banner--Container {\n padding: var(--layout-padding-small) var(--layout-padding-none);\n}\n.bcds-Alert-Banner.medium .bcds-Alert-Banner--Content {\n font: var(--typography-regular-body);\n}\n\n/* Close icon */\n.bcds-Alert-Banner--closeIcon {\n align-self: first baseline;\n}\n\n.bcds-Alert-Banner--closeIcon > .bcds-react-aria-Button[data-hovered] svg {\n color: var(--icons-color-primary);\n}\n\n.bcds-Alert-Banner--closeIcon svg {\n color: var(--icons-color-primary-invert);\n}\n\n/* Variants */\n\n/* Info theme */\n.bcds-Alert-Banner.info {\n background-color: var(--surface-color-background-dark-blue);\n}\n\n/* Success theme */\n.bcds-Alert-Banner.success {\n background-color: var(--support-border-color-success);\n}\n\n/* Warning theme */\n.bcds-Alert-Banner.warning {\n background-color: var(--support-border-color-warning);\n}\n\n.bcds-Alert-Banner.warning .bcds-Alert-Banner--Icon {\n color: var(--icons-color-primary);\n}\n\n.bcds-Alert-Banner.warning .bcds-Alert-Banner--Content {\n color: var(--typography-color-primary);\n}\n\n.bcds-Alert-Banner.warning .bcds-Alert-Banner--closeIcon svg {\n color: var(--icons-color-primary);\n}\n\n/* Danger theme */\n.bcds-Alert-Banner.danger {\n background-color: var(--support-border-color-danger);\n}\n\n/* Black theme */\n\n.bcds-Alert-Banner.black {\n background-color: var(--theme-gray-110);\n}\n";
|
|
30465
|
+
styleInject(css_248z$A);
|
|
30466
|
+
|
|
30467
|
+
function SvgCheckCircleIcon({ size = "medium", title, id, ...props }) {
|
|
30468
|
+
const iconSize = getIconSize(size);
|
|
30469
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30470
|
+
const isMeaningful = Boolean(title);
|
|
30471
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M12.4688 7.46875C12.75 7.1875 13.2188 7.1875 13.5 7.5C13.8125 7.78125 13.8125 8.25 13.5 8.53125L9.5 12.5312C9.375 12.6875 9.1875 12.75 9 12.75C8.78125 12.75 8.59375 12.6875 8.4375 12.5312L6.4375 10.5312C6.125 10.25 6.125 9.78125 6.4375 9.46875C6.71875 9.1875 7.1875 9.1875 7.5 9.46875L9 10.9688L12.4688 7.46875ZM10 2C14.4062 2 18 5.59375 18 10C18 14.4375 14.4062 18 10 18C5.5625 18 2 14.4375 2 10C2 5.59375 5.5625 2 10 2ZM10 16.5C13.5625 16.5 16.5 13.5938 16.5 10C16.5 6.4375 13.5625 3.5 10 3.5C6.40625 3.5 3.5 6.4375 3.5 10C3.5 13.5938 6.40625 16.5 10 16.5Z", fill: "currentColor" }) })] }));
|
|
30472
|
+
}
|
|
30473
|
+
|
|
30474
|
+
function SvgCloseIcon({ size = "medium", title, id, ...props }) {
|
|
30475
|
+
const iconSize = getIconSize(size);
|
|
30476
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30477
|
+
const isMeaningful = Boolean(title);
|
|
30478
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M16 5.21286L14.7871 4L10 8.78714L5.21286 4L4 5.21286L8.78714 10L4 14.7871L5.21286 16L10 11.2129L14.7871 16L16 14.7871L11.2129 10L16 5.21286Z", fill: "currentColor" }) })] }));
|
|
30479
|
+
}
|
|
30480
|
+
|
|
30481
|
+
function SvgExclamationCircleIcon({ size = "medium", title, id, ...props }) {
|
|
30482
|
+
const iconSize = getIconSize(size);
|
|
30483
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30484
|
+
const isMeaningful = Boolean(title);
|
|
30485
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M9.99999 2C14.4062 2 18 5.59375 18 10C18 14.4375 14.4062 18 9.99999 18C5.56249 18 1.99998 14.4375 1.99998 10C1.99998 5.59375 5.56249 2 9.99999 2ZM9.99999 16.5C13.5625 16.5 16.5 13.5938 16.5 10C16.5 6.4375 13.5625 3.5 9.99999 3.5C6.40624 3.5 3.49999 6.4375 3.49999 10C3.49999 13.5938 6.40624 16.5 9.99999 16.5ZM9.99999 11.5C9.56249 11.5 9.24999 11.1875 9.24999 10.75V6.75C9.24999 6.34375 9.56249 6 9.99999 6C10.4062 6 10.75 6.34375 10.75 6.75V10.75C10.75 11.1875 10.4062 11.5 9.99999 11.5ZM9.99999 12.5625C10.5312 12.5625 10.9687 13 10.9687 13.5312C10.9687 14.0625 10.5312 14.5 9.99999 14.5C9.43749 14.5 8.99999 14.0625 8.99999 13.5312C8.99999 13 9.43749 12.5625 9.99999 12.5625Z", fill: "currentColor" }) })] }));
|
|
30486
|
+
}
|
|
30487
|
+
|
|
30488
|
+
function SvgExclamationIcon({ size = "medium", title, id, ...props }) {
|
|
30489
|
+
const iconSize = getIconSize(size);
|
|
30490
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30491
|
+
const isMeaningful = Boolean(title);
|
|
30492
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M17.835 15.0312C18.335 15.9062 17.71 17 16.6787 17H3.33499C2.30374 17 1.67874 15.9062 2.14749 15.0312L8.83499 3.65625C9.11624 3.21875 9.55373 3 10.0225 3C10.46 3 10.8975 3.21875 11.1787 3.65625L17.835 15.0312ZM3.64749 15.5H16.3663L9.99123 4.65625L3.64749 15.5ZM10.0225 12.5625C10.5537 12.5625 10.9912 13 10.9912 13.5312C10.9912 14.0625 10.5537 14.5 10.0225 14.5C9.45998 14.5 9.02249 14.0625 9.02249 13.5312C9.02249 13 9.45998 12.5625 10.0225 12.5625ZM9.27249 7.75C9.27249 7.34375 9.58498 7 10.0225 7C10.4287 7 10.7725 7.34375 10.7725 7.75V10.75C10.7725 11.1875 10.4287 11.5 10.0225 11.5C9.58498 11.5 9.27249 11.1875 9.27249 10.75V7.75Z", fill: "currentColor" }) })] }));
|
|
30493
|
+
}
|
|
30494
|
+
|
|
30495
|
+
function SvgInfoIcon({ size = "medium", title, id, ...props }) {
|
|
30496
|
+
const iconSize = getIconSize(size);
|
|
30497
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
30498
|
+
const isMeaningful = Boolean(title);
|
|
30499
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M9.99999 2C14.4062 2 18 5.59375 18 10C18 14.4375 14.4062 18 9.99999 18C5.56249 18 1.99998 14.4375 1.99998 10C1.99998 5.59375 5.56249 2 9.99999 2ZM9.99999 16.5C13.5625 16.5 16.5 13.5938 16.5 10C16.5 6.4375 13.5625 3.5 9.99999 3.5C6.40624 3.5 3.49999 6.4375 3.49999 10C3.49999 13.5938 6.40624 16.5 9.99999 16.5ZM11.25 12.5C11.6562 12.5 12 12.8438 12 13.25C12 13.6875 11.6562 14 11.25 14H8.74999C8.31249 14 7.99999 13.6875 7.99999 13.25C7.99999 12.8438 8.31249 12.5 8.74999 12.5H9.24999V10.5H8.99999C8.56249 10.5 8.24999 10.1875 8.24999 9.75C8.24999 9.34375 8.56249 9 8.99999 9H9.99999C10.4062 9 10.75 9.34375 10.75 9.75V12.5H11.25ZM9.99999 8C9.43749 8 8.99999 7.5625 8.99999 7C8.99999 6.46875 9.43749 6 9.99999 6C10.5312 6 11 6.46875 11 7C11 7.5625 10.5312 8 9.99999 8Z", fill: "currentColor" }) })] }));
|
|
30500
|
+
}
|
|
30501
|
+
|
|
30502
|
+
/* Sets correct icon for theme */
|
|
30503
|
+
function getIcon$2(variant) {
|
|
30504
|
+
switch (variant) {
|
|
30505
|
+
case "info":
|
|
30506
|
+
return jsx(SvgInfoIcon, {});
|
|
30507
|
+
case "black":
|
|
30508
|
+
return jsx(SvgInfoIcon, {});
|
|
30509
|
+
case "success":
|
|
30510
|
+
return jsx(SvgCheckCircleIcon, {});
|
|
30511
|
+
case "warning":
|
|
30512
|
+
return jsx(SvgExclamationIcon, {});
|
|
30513
|
+
case "danger":
|
|
30514
|
+
return jsx(SvgExclamationCircleIcon, {});
|
|
30515
|
+
default:
|
|
30516
|
+
return;
|
|
30517
|
+
}
|
|
30518
|
+
}
|
|
30519
|
+
function AlertBanner({ variant = "info", size = "medium", layout = "fixed", isIconHidden = false, isCloseable = true, role = "status", onClose, children, customIcon, ...props }) {
|
|
30520
|
+
return (jsx("div", { className: `bcds-Alert-Banner ${variant} ${size} ${layout}`, ...props, children: jsxs("div", { className: "bcds-Alert-Banner--Container", children: [" ", !isIconHidden && (jsx("span", { className: "bcds-Alert-Banner--Icon", children: customIcon ? customIcon : getIcon$2(variant) })), jsx("div", { className: "bcds-Alert-Banner--Content", role: role, children: children }), isCloseable && (jsx("span", { className: "bcds-Alert-Banner--closeIcon", children: jsx(Button, { variant: "tertiary", isIconButton: true, size: "small", "aria-label": "Close this alert", type: "button", onPress: onClose, children: jsx(SvgCloseIcon, {}) }) }))] }) }));
|
|
30521
|
+
}
|
|
30522
|
+
|
|
30523
|
+
var css_248z$z = ".bcds-ButtonGroup {\n display: flex;\n gap: var(--layout-margin-small);\n flex-grow: 1;\n}\n\n.bcds-ButtonGroup.horizontal {\n flex-direction: row;\n}\n\n.bcds-ButtonGroup.vertical {\n flex-direction: column;\n}\n\n.bcds-ButtonGroup.start {\n justify-content: flex-start;\n}\n\n.bcds-ButtonGroup.center {\n justify-content: center;\n}\n\n.bcds-ButtonGroup.end {\n justify-content: flex-end;\n}\n";
|
|
30524
|
+
styleInject(css_248z$z);
|
|
30525
|
+
|
|
30526
|
+
function ButtonGroup({ orientation = "horizontal", alignment = "start", ariaLabel, children, ...props }) {
|
|
30527
|
+
return (jsx("div", { className: `bcds-ButtonGroup ${orientation} ${alignment}`, role: "group", "aria-label": ariaLabel, ...props, children: children }));
|
|
30528
|
+
}
|
|
30529
|
+
|
|
30530
|
+
var css_248z$y = ".bcds-react-aria-AlertDialog {\n display: flex;\n flex-direction: column;\n}\n\n/* Variant icons */\n.bcds-react-aria-AlertDialog.info .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-primary);\n}\n.bcds-react-aria-AlertDialog.confirmation .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-success);\n}\n.bcds-react-aria-AlertDialog.warning .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-warning);\n}\n.bcds-react-aria-AlertDialog.error .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-danger);\n}\n.bcds-react-aria-AlertDialog.destructive .bcds-react-aria-AlertDialog--Icon {\n color: var(--icons-color-danger);\n}\n\n.bcds-react-aria-AlertDialog--Header {\n display: inline-flex;\n flex-direction: row;\n gap: var(--layout-padding-small);\n justify-content: space-between;\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n border-bottom: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n}\n\n.bcds-react-aria-AlertDialog--Title {\n flex-grow: 1;\n font: var(--typography-bold-h5);\n color: var(--typography-color-primary);\n}\n\n.bcds-react-aria-AlertDialog--Icon {\n place-self: center flex-start;\n padding-top: var(--layout-padding-xsmall);\n}\n\n.bcds-react-aria-AlertDialog--closeIcon {\n justify-self: flex-end;\n color: var(--icons-color-primary);\n}\n\n.bcds-react-aria-AlertDialog--children {\n font: var(--typography-regular-body);\n color: var(--typography-color-primary);\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n border-bottom: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n}\n\n.bcds-react-aria-AlertDialog > .bcds-ButtonGroup {\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n}\n";
|
|
30531
|
+
styleInject(css_248z$y);
|
|
30532
|
+
|
|
30533
|
+
/* Sets correct left icon for selected variant */
|
|
30534
|
+
function getIcon$1(variant) {
|
|
30535
|
+
switch (variant) {
|
|
30536
|
+
case "info":
|
|
30537
|
+
return jsx(SvgInfoIcon, {});
|
|
30538
|
+
case "confirmation":
|
|
30539
|
+
return jsx(SvgCheckCircleIcon, {});
|
|
30540
|
+
case "warning":
|
|
30541
|
+
return jsx(SvgExclamationIcon, {});
|
|
30542
|
+
case "error":
|
|
30543
|
+
return jsx(SvgExclamationCircleIcon, {});
|
|
30544
|
+
case "destructive":
|
|
30545
|
+
return jsx(SvgExclamationCircleIcon, {});
|
|
30546
|
+
default:
|
|
30547
|
+
return;
|
|
30548
|
+
}
|
|
30549
|
+
}
|
|
30550
|
+
function AlertDialog({ children, variant = "info", role = "dialog", title, isCloseable = true, isIconHidden = false, buttons, ...props }) {
|
|
30551
|
+
return (jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, { className: `bcds-react-aria-AlertDialog ${variant}`, role: role, ...props, children: ({ close }) => (jsxs(Fragment$1, { children: [jsxs("div", { className: "bcds-react-aria-AlertDialog--Header", children: [!isIconHidden && (jsx("div", { className: "bcds-react-aria-AlertDialog--Icon", children: getIcon$1(variant) })), title && (jsx("div", { className: "bcds-react-aria-AlertDialog--Title", slot: "title", children: title })), isCloseable && (jsx("div", { className: "bcds-react-aria-AlertDialog--closeIcon", children: jsx(Button, { variant: "tertiary", isIconButton: true, size: "small", "aria-label": "Close", type: "button", onPress: close, children: jsx(SvgCloseIcon, {}) }) }))] }), children && (jsx("div", { className: "bcds-react-aria-AlertDialog--children", slot: "children", children: jsx(Fragment$1, { children: children }) })), buttons && (jsx(ButtonGroup, { alignment: "end", orientation: "horizontal", children: buttons }))] })) }));
|
|
30552
|
+
}
|
|
30553
|
+
|
|
30446
30554
|
/*
|
|
30447
30555
|
* Copyright 2020 Adobe. All rights reserved.
|
|
30448
30556
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -31472,14 +31580,18 @@ function Heading({ color = "primary", isUnstyled = false, ...props }) {
|
|
|
31472
31580
|
return (jsx($2ec61d1d4f780267$export$a8a3e93435678ff9, { className: isUnstyled ? undefined : `bcds-react-aria-Heading ${color}`, ...props }));
|
|
31473
31581
|
}
|
|
31474
31582
|
|
|
31475
|
-
|
|
31476
|
-
|
|
31477
|
-
|
|
31583
|
+
function SvgChevronLeftIcon({ size = "medium", title, id, ...props }) {
|
|
31584
|
+
const iconSize = getIconSize(size);
|
|
31585
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31586
|
+
const isMeaningful = Boolean(title);
|
|
31587
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 640 640", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M169.4 297.4C156.9 309.9 156.9 330.2 169.4 342.7L361.4 534.7C373.9 547.2 394.2 547.2 406.7 534.7C419.2 522.2 419.2 501.9 406.7 489.4L237.3 320L406.6 150.6C419.1 138.1 419.1 117.8 406.6 105.3C394.1 92.8 373.8 92.8 361.3 105.3L169.3 297.3z", fill: "currentColor" })] }));
|
|
31478
31588
|
}
|
|
31479
31589
|
|
|
31480
|
-
|
|
31481
|
-
|
|
31482
|
-
|
|
31590
|
+
function SvgChevronRightIcon({ size = "medium", title, id, ...props }) {
|
|
31591
|
+
const iconSize = getIconSize(size);
|
|
31592
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31593
|
+
const isMeaningful = Boolean(title);
|
|
31594
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 640 640", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z", fill: "currentColor" })] }));
|
|
31483
31595
|
}
|
|
31484
31596
|
|
|
31485
31597
|
function Calendar({ visibleDuration = { months: 1 }, ...props }) {
|
|
@@ -31499,20 +31611,24 @@ function Callout({ variant = "lightGrey", title, description, buttons, role = "n
|
|
|
31499
31611
|
return (jsx("div", { className: `bcds-Callout ${variant} ${isLeftBorderDisabled ? "noBorder" : ""}`, ...props, role: role, children: children ? (children) : (jsx(Fragment$1, { children: jsxs("div", { className: "bcds-Callout--Container", "aria-labelledby": "callout-title", role: role, children: [title && (jsx("span", { className: "bcds-Callout--Title", id: "callout-title", children: title })), description && (jsx("span", { className: "bcds-Callout--Description", children: description })), buttons && (jsx(ButtonGroup, { alignment: "start", orientation: "horizontal", children: buttons }))] }) })) }));
|
|
31500
31612
|
}
|
|
31501
31613
|
|
|
31502
|
-
|
|
31503
|
-
|
|
31504
|
-
|
|
31614
|
+
function SvgCheckIcon({ size = "medium", title, id, ...props }) {
|
|
31615
|
+
const iconSize = getIconSize(size);
|
|
31616
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31617
|
+
const isMeaningful = Boolean(title);
|
|
31618
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M9.09447 1.16176C8.67766 0.834916 8.07489 0.907409 7.74747 1.32376L3.63547 6.55676L2.21847 4.85676C1.87495 4.46651 1.2832 4.42064 0.883639 4.75329C0.484082 5.08594 0.421942 5.6762 0.743468 6.08476L2.92047 8.69776C2.94047 8.72176 2.96947 8.72976 2.99047 8.75176C3.0133 8.78196 3.03802 8.81068 3.06447 8.83776C3.10707 8.86542 3.15189 8.8895 3.19847 8.90976C3.23068 8.92977 3.26407 8.9478 3.29847 8.96376C3.41159 9.01295 3.53316 9.03977 3.65647 9.04276H3.65747C3.78585 9.04006 3.91238 9.01149 4.02947 8.95876C4.06502 8.9413 4.09942 8.92159 4.13247 8.89976C4.18141 8.87729 4.22826 8.85052 4.27247 8.81976C4.29837 8.79134 4.32242 8.76128 4.34447 8.72976C4.36447 8.70976 4.39347 8.69976 4.41247 8.67576L9.25747 2.50976C9.58477 2.09253 9.51178 1.48896 9.09447 1.16176V1.16176Z", fill: "currentColor" }) })] }));
|
|
31505
31619
|
}
|
|
31506
31620
|
|
|
31507
|
-
function SvgDashIcon
|
|
31508
|
-
|
|
31621
|
+
function SvgDashIcon({ title, id, ...props }) {
|
|
31622
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31623
|
+
const isMeaningful = Boolean(title);
|
|
31624
|
+
return (jsxs("svg", { id: id, width: "8", height: "10", viewBox: "0 0 8 2", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M6.99005 1.96004H1.01005C0.479855 1.96004 0.0500488 1.53023 0.0500488 1.00004C0.0500488 0.469846 0.479855 0.0400391 1.01005 0.0400391H6.99005C7.52024 0.0400391 7.95005 0.469846 7.95005 1.00004C7.95005 1.53023 7.52024 1.96004 6.99005 1.96004H6.99005Z", fill: "currentColor" })] }));
|
|
31509
31625
|
}
|
|
31510
31626
|
|
|
31511
31627
|
var css_248z$u = ".bcds-react-aria-Checkbox {\n cursor: pointer;\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n}\n\n/* Checkbox */\n.bcds-react-aria-Checkbox > .checkbox {\n align-self: first baseline;\n display: flex;\n margin-top: var(--layout-margin-hair);\n justify-content: space-around;\n width: var(--icons-size-small);\n height: var(--icons-size-small);\n min-width: var(--icons-size-small);\n background-color: var(--surface-color-secondary-default);\n border-color: var(--surface-color-border-medium);\n border-style: solid;\n border-width: var(--layout-border-width-small);\n border-radius: var(--layout-border-radius-small);\n}\n.bcds-react-aria-Checkbox > .checkbox > svg {\n align-self: center;\n}\n\n/* Label */\n.bcds-react-aria-Checkbox > .label {\n font: var(--typography-regular-small-body);\n color: var(--typography-color-secondary);\n}\n\n/* Focus */\n.bcds-react-aria-Checkbox[data-focus-visible] > .checkbox {\n outline: solid var(--layout-border-width-medium)\n var(--surface-color-border-active);\n outline-offset: var(--layout-margin-hair);\n}\n\n/* Hover */\n.bcds-react-aria-Checkbox[data-hovered] > .checkbox {\n border-color: var(--surface-color-border-dark);\n}\n.bcds-react-aria-Checkbox[data-selected][data-hovered] > .checkbox {\n background-color: var(--surface-color-primary-hover);\n border-color: var(--surface-color-primary-hover);\n}\n\n/* Pressed */\n.bcds-react-aria-Checkbox[data-pressed] > .checkbox {\n background-color: var(--surface-color-primary-default);\n}\n\n/* Selected */\n.bcds-react-aria-Checkbox[data-selected] > .checkbox {\n background-color: var(--surface-color-primary-default);\n border-color: var(--surface-color-primary-default);\n}\n.bcds-react-aria-Checkbox[data-selected] > .checkbox > svg {\n color: var(--icons-color-primary-invert);\n}\n\n/* Disabled */\n.bcds-react-aria-Checkbox[data-disabled] {\n cursor: not-allowed;\n}\n.bcds-react-aria-Checkbox[data-disabled] > .checkbox {\n border-color: var(--surface-color-border-medium);\n background-color: var(--surface-color-primary-disabled);\n}\n.bcds-react-aria-Checkbox[data-disabled] > .label {\n color: var(--typography-color-disabled);\n}\n.bcds-react-aria-Checkbox[data-selected][data-disabled] > .checkbox {\n border-color: var(--surface-color-primary-disabled);\n background-color: var(--surface-color-primary-disabled);\n}\n.bcds-react-aria-Checkbox[data-selected][data-disabled] > .checkbox > svg {\n color: var(--icons-color-disabled);\n}\n\n/* Indeterminate */\n.bcds-react-aria-Checkbox[data-indeterminate] > .checkbox {\n background-color: var(--surface-color-primary-default);\n border-color: var(--surface-color-primary-default);\n}\n.bcds-react-aria-Checkbox[data-indeterminate][data-disabled] > .checkbox {\n background-color: var(--surface-color-primary-disabled);\n border-color: var(--surface-color-primary-disabled);\n}\n.bcds-react-aria-Checkbox[data-indeterminate][data-invalid] > .checkbox {\n background-color: var(--surface-color-primary-danger-button-default);\n}\n.bcds-react-aria-Checkbox[data-indeterminate] > .checkbox > svg {\n color: var(--icons-color-primary-invert);\n align-self: center;\n vertical-align: middle;\n}\n.bcds-react-aria-Checkbox[data-indeterminate][data-disabled] > .checkbox > svg {\n color: var(--icons-color-disabled);\n}\n\n/* Read-only */\n.bcds-react-aria-Checkbox[data-readonly] {\n cursor: not-allowed;\n}\n\n/* Invalid */\n.bcds-react-aria-Checkbox[data-invalid] > .checkbox {\n border-color: var(--support-border-color-danger);\n}\n.bcds-react-aria-Checkbox[data-invalid] > .checkbox > svg {\n color: var(--icons-color-primary-invert);\n}\n.bcds-react-aria-Checkbox[data-selected][data-invalid] > .checkbox {\n background-color: var(--surface-color-primary-danger-button-default);\n}\n";
|
|
31512
31628
|
styleInject(css_248z$u);
|
|
31513
31629
|
|
|
31514
31630
|
function Checkbox({ value, children, ...props }) {
|
|
31515
|
-
return (jsx($ed8ccb2e23e76301$export$48513f6b9f8ce62d, { className: "bcds-react-aria-Checkbox", value: value, ...props, children: ({ isRequired, isSelected, isIndeterminate }) => (jsxs(Fragment$1, { children: [jsxs("div", { className: "checkbox", children: [isSelected && !isIndeterminate && jsx(SvgCheckIcon, {}), isIndeterminate && jsx(SvgDashIcon
|
|
31631
|
+
return (jsx($ed8ccb2e23e76301$export$48513f6b9f8ce62d, { className: "bcds-react-aria-Checkbox", value: value, ...props, children: ({ isRequired, isSelected, isIndeterminate }) => (jsxs(Fragment$1, { children: [jsxs("div", { className: "checkbox", children: [isSelected && !isIndeterminate && jsx(SvgCheckIcon, { size: "xsmall" }), isIndeterminate && jsx(SvgDashIcon, {})] }), jsxs("span", { className: "label", children: [jsx(Fragment$1, { children: children }), " ", isRequired && "(required)"] })] })) }));
|
|
31516
31632
|
}
|
|
31517
31633
|
|
|
31518
31634
|
var css_248z$t = ".bcds-react-aria-CheckboxGroup {\n display: flex;\n flex-direction: column;\n gap: var(--layout-margin-small);\n}\n\n/* Orientation */\n.bcds-react-aria-CheckboxGroup--options {\n display: flex;\n}\n\n.bcds-react-aria-CheckboxGroup--options.vertical {\n flex-direction: column;\n gap: var(--layout-margin-small);\n}\n\n.bcds-react-aria-CheckboxGroup--options.horizontal {\n flex-direction: row;\n gap: var(--layout-margin-medium);\n}\n.bcds-react-aria-CheckboxGroup--options.horizontal.flex-wrap-nowrap {\n flex-wrap: nowrap;\n}\n.bcds-react-aria-CheckboxGroup--options.horizontal.flex-wrap-wrap {\n flex-wrap: wrap;\n}\n.bcds-react-aria-CheckboxGroup--options.horizontal.flex-wrap-wrap-reverse {\n flex-wrap: wrap-reverse;\n}\n\n/* Parts */\n.bcds-react-aria-CheckboxGroup--label {\n font: var(--typography-regular-small-body);\n color: var(--typography-color-primary);\n}\n\n.bcds-react-aria-CheckboxGroup--description {\n font: var(--typography-regular-small-body);\n color: var(--typography-color-secondary);\n}\n\n.bcds-react-aria-CheckboxGroup--error {\n display: inline-flex;\n flex-direction: row;\n gap: var(--layout-margin-xsmall);\n font: var(--typography-regular-small-body);\n color: var(--typography-color-danger);\n}\n";
|
|
@@ -31539,9 +31655,11 @@ function Separator({ size = "medium", ...props }) {
|
|
|
31539
31655
|
return (jsx($e28ab3efe3e87743$export$1ff3c3f08ae963c0, { className: `bcds-react-aria-Separator ${size}`, ...props }));
|
|
31540
31656
|
}
|
|
31541
31657
|
|
|
31542
|
-
|
|
31543
|
-
|
|
31544
|
-
|
|
31658
|
+
function SvgCalendarIcon({ size = "medium", title, id, ...props }) {
|
|
31659
|
+
const iconSize = getIconSize(size);
|
|
31660
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31661
|
+
const isMeaningful = Boolean(title);
|
|
31662
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 640 640", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M216 64C229.3 64 240 74.7 240 88L240 128L400 128L400 88C400 74.7 410.7 64 424 64C437.3 64 448 74.7 448 88L448 128L480 128C515.3 128 544 156.7 544 192L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 192C96 156.7 124.7 128 160 128L192 128L192 88C192 74.7 202.7 64 216 64zM216 176L160 176C151.2 176 144 183.2 144 192L144 240L496 240L496 192C496 183.2 488.8 176 480 176L216 176zM144 288L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 288L144 288z", fill: "currentColor" })] }));
|
|
31545
31663
|
}
|
|
31546
31664
|
|
|
31547
31665
|
/* Generate format helper text, adapted from React Spectrum */
|
|
@@ -31574,8 +31692,10 @@ function DatePicker({ size = "medium", label, description, errorMessage, showFor
|
|
|
31574
31692
|
var css_248z$p = ".bcds-bc-logo--whiteFill {\n fill: #fff;\n stroke-width: 0;\n}\n\n.bcds-bc-logo--blueFill {\n fill: #234075;\n stroke-width: 0;\n}\n\n.bcds-bc-logo--goldFill {\n fill: #e3a82b;\n stroke-width: 0;\n}\n\n.bcds-bc-logo--noFill {\n fill: none;\n stroke-width: 0;\n}\n";
|
|
31575
31693
|
styleInject(css_248z$p);
|
|
31576
31694
|
|
|
31577
|
-
function SvgBcLogo({ id
|
|
31578
|
-
return (jsxs("svg", { id: id, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 847.65 327.01", children: [jsx("path", { d: "M109.59,226.32c44.7,0,106.54,25.17,151.41,25.17,32.02,0,63.26-8.54,81.04-21.13,1.24-7.39,1.9-14.97,1.9-22.72,0-75.13-60.91-136.04-136.04-136.04s-136.04,60.91-136.04,136.04c0,7.65.64,15.15,1.86,22.46,4.9-.91,21.57-3.79,35.87-3.79Z", className: "bcds-bc-logo--whiteFill" }), jsxs("g", { children: [jsxs("g", { children: [jsx("rect", { x: "415.4", y: "252.98", width: "314.66", height: "3.82", className: "bcds-bc-logo--goldFill" }), jsx("path", { d: "M423.47,116.64c0-6.39-.45-8.08-4.76-8.43l-3-.21c-.49-.39-.35-2.12.1-2.16,5.17-.46,11.69-.69,20.6-.69,6.04,0,11.79.43,16.1,2.42,4.12,1.81,7.28,5.26,7.28,10.79,0,6.22-4.03,9.41-9.77,11.83,0,.86.77,1.12,1.82,1.29,5.17.86,12.84,5.18,12.84,14.42,0,10.01-8.24,16.75-25.49,16.75-2.78,0-7.47-.26-11.5-.26s-7.47.17-11.02.26c-.57-.26-.77-1.64-.19-2.16l1.73-.26c5.08-.78,5.27-1.73,5.27-10.79v-32.8ZM431.32,128.12c0,2.42.1,2.59,4.98,2.42,9.77-.35,15.04-2.94,15.04-11.05s-7-11.65-14.28-11.65c-2.11,0-3.55.17-4.41.52-.96.26-1.34.69-1.34,2.24v17.52ZM431.32,148.14c0,3.11.19,7.51,2.01,9.41,1.82,1.98,4.7,2.42,7.57,2.42,8.53,0,15.04-3.45,15.04-12.08,0-6.82-3.83-14.76-19.07-14.76-5.17,0-5.56.52-5.56,2.24v12.77Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M531.26,125.14c0-7.82-.16-9.07-4.99-9.44l-2.05-.15c-.49-.29-.33-1.62.16-1.84,4.09.15,6.87.22,10.31.22s6.06-.07,10.15-.22c.49.22.65,1.55.16,1.84l-2.04.15c-4.83.37-4.99,1.62-4.99,9.44v26.25c0,7.82.16,8.85,4.99,9.36l2.04.22c.49.29.33,1.62-.16,1.84-4.09-.15-6.87-.22-10.15-.22-3.44,0-6.22.07-10.31.22-.49-.22-.66-1.4-.16-1.84l2.05-.22c4.83-.52,4.99-1.55,4.99-9.36v-26.25Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M576.66,151.53c0,7.74.15,8.85,4.6,9.22l2.45.22c.46.29.31,1.62-.15,1.84-4.37-.15-6.98-.22-10.05-.22s-5.75.07-10.66.22c-.46-.22-.62-1.47,0-1.84l2.76-.22c4.37-.37,4.75-1.48,4.75-9.22v-32.96c0-2.28,0-2.36-2.3-2.36h-4.22c-3.3,0-7.51.15-9.43,1.84-1.84,1.62-2.61,3.24-3.45,5.09-.62.44-1.69.07-1.99-.52,1.22-3.32,2.38-8.04,2.91-10.98.23-.15,1.23-.22,1.46,0,.46,2.36,2.99,2.29,6.52,2.29h31.05c4.14,0,4.83-.15,5.98-2.06.38-.15,1.23-.07,1.38.22-.84,3.02-1.38,9-1.15,11.21-.31.59-1.61.59-1.99.15-.23-1.84-.77-4.57-1.92-5.38-1.76-1.25-4.68-1.84-8.89-1.84h-5.44c-2.3,0-2.22.07-2.22,2.51v32.81Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M609.53,125.14c0-7.82-.16-9.07-4.99-9.44l-2.05-.15c-.49-.29-.33-1.62.16-1.84,4.09.15,6.87.22,10.31.22s6.05-.07,10.15-.22c.49.22.66,1.55.17,1.84l-2.05.15c-4.83.37-4.99,1.62-4.99,9.44v26.25c0,7.82.16,8.85,4.99,9.36l2.05.22c.49.29.33,1.62-.17,1.84-4.09-.15-6.87-.22-10.15-.22-3.44,0-6.22.07-10.31.22-.49-.22-.65-1.4-.16-1.84l2.05-.22c4.83-.52,4.99-1.55,4.99-9.36v-26.25Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M646.2,163.57c-7.31,0-11.92-1.92-13.57-2.73-1.04-1.62-2.18-6.86-2.35-10.32.44-.52,1.74-.66,2.09-.22,1.31,3.76,4.87,10.98,14.96,10.98,7.31,0,10.87-4.05,10.87-8.48,0-3.24-.78-6.86-7.13-10.32l-8.26-4.57c-4.35-2.43-9.4-6.64-9.4-12.68,0-7,6.44-12.68,17.75-12.68,2.7,0,5.83.44,8.09.96,1.13.29,2.35.44,3.04.44.78,1.77,1.57,5.9,1.57,9-.35.44-1.74.66-2.18.22-1.13-3.54-3.48-8.33-11.83-8.33s-10.35,4.79-10.35,8.18c0,4.28,4.18,7.38,7.39,9.07l6.96,3.69c5.48,2.88,10.88,7.15,10.88,14.16,0,8.11-7.22,13.64-18.53,13.64Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M689.99,138.78c-3.81,0-3.96.15-3.96,2.36v10.4c0,7.74.4,8.77,4.84,9.22l2.3.22c.48.29.32,1.62-.16,1.84-4.28-.15-6.98-.22-10.08-.22-3.41,0-6.11.15-9.2.22-.47-.22-.63-1.4-.16-1.84l1.35-.22c4.45-.74,4.6-1.48,4.6-9.22v-26.54c0-7.74-.55-8.99-4.68-9.29l-2.06-.15c-.48-.29-.32-1.62.16-1.84,3.89.07,6.58.22,10,.22,3.1,0,5.79-.07,9.2-.22.48.22.63,1.55.16,1.84l-1.51.15c-4.6.44-4.76,1.55-4.76,9.29v8.48c0,2.28.16,2.36,3.96,2.36h22.69c3.81,0,3.97-.07,3.97-2.36v-8.48c0-7.74-.16-8.85-4.84-9.29l-1.51-.15c-.48-.29-.32-1.62.16-1.84,3.65.15,6.35.22,9.6.22s5.79-.07,9.36-.22c.48.22.63,1.55.16,1.84l-1.66.15c-4.6.44-4.76,1.55-4.76,9.29v26.54c0,7.74.16,8.7,4.76,9.22l1.9.22c.47.29.32,1.62-.16,1.84-3.81-.15-6.51-.22-9.6-.22-3.25,0-6.11.07-9.6.22-.48-.22-.63-1.4-.16-1.84l1.51-.22c4.84-.74,4.84-1.48,4.84-9.22v-10.4c0-2.21-.16-2.36-3.97-2.36h-22.69Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M378.06,179.01c6.52-5.07,14.83-7.57,24.12-7.57,4.82,0,11.61.98,15.81,2.14,1.07.27,1.7.45,2.5.36.09,2.05.54,7.65,1.25,13.09-.45.62-1.79.71-2.41.18-1.34-6.05-5.36-13-18.31-13-13.67,0-25.28,8.64-25.28,27.06s11.88,29.02,26.53,29.02c11.52,0,16.62-7.48,18.67-12.73.63-.44,1.97-.27,2.32.36-.62,4.63-2.95,10.5-4.29,12.2-1.07.18-2.14.53-3.13.89-1.97.71-8.4,2.05-14.11,2.05-8.04,0-15.72-1.6-22.24-5.96-7.15-4.9-12.69-12.99-12.69-24.48,0-9.88,4.47-18.34,11.26-23.59Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M426.92,207.81c0-14.75,11.61-26.03,27.56-26.03,17.88,0,26.86,12.31,26.86,25.29,0,14.89-11.92,25.73-26.86,25.73-17.19,0-27.56-11.72-27.56-25ZM473.6,209.35c0-12.17-5.65-25.29-20.44-25.29-8.05,0-18.5,5.24-18.5,21.38,0,10.91,5.57,25.07,20.82,25.07,9.29,0,18.12-6.64,18.12-21.16Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M568.68,201.47c0-4.57-.16-13.05-1.49-15.26-.55-.89-1.95-1.4-3.91-1.55l-1.95-.15c-.47-.52-.31-1.47.15-1.77,2.97.15,5.86.22,8.91.22,3.28,0,5.39-.08,8.21-.22.62.37.55,1.33.16,1.77l-1.88.15c-1.95.15-3.44.81-3.91,1.77-1.09,2.43-1.09,10.91-1.09,15.04v8.33c0,6.42-1.1,13.2-5.47,17.62-3.36,3.47-9.14,5.38-14.93,5.38-5.39,0-10.79-.96-14.62-4.05-4.14-3.24-6.1-8.63-6.1-17.4v-17.4c0-7.67-.16-8.92-4.69-9.29l-1.96-.15c-.47-.29-.31-1.55.15-1.77,3.91.15,6.57.22,9.69.22s5.78-.08,9.61-.22c.47.22.63,1.47.16,1.77l-1.88.15c-4.53.37-4.69,1.62-4.69,9.29v15.93c0,11.87,3.91,19.69,15.87,19.69,11.33,0,15.63-8.41,15.63-19.61v-8.48Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M659.52,192.26c0-5.51-.35-6.93-4.23-7.22l-2.77-.27c-.31-.28-.48-1.78.09-1.82,4.67-.35,10.54-.59,18.57-.59,5.44,0,10.62.37,14.51,2.08,3.71,1.57,6.56,4.54,6.56,9.31,0,5.36-3.63,8.12-8.81,10.2,0,.75.69.97,1.64,1.12,4.67.74,11.58,4.47,11.58,12.44,0,8.64-7.43,14.45-22.98,14.45-2.5,0-6.74-.22-10.37-.22s-6.74.15-9.93.22c-.52-.22-.69-1.41-.17-1.86l1.55-.22c4.58-.67,4.75-1.49,4.75-9.31v-28.3ZM666.6,202.16c0,2.09.09,2.24,4.49,2.09,8.81-.3,13.56-2.53,13.56-9.53s-6.3-10.05-12.87-10.05c-1.9,0-3.2.15-3.97.45-.87.22-1.21.59-1.21,1.94v15.12ZM666.6,219.44c0,2.68.17,6.48,1.81,8.12,1.64,1.71,4.23,2.08,6.82,2.08,7.69,0,13.56-2.98,13.56-10.43,0-5.88-3.45-12.73-17.19-12.73-4.67,0-5.01.44-5.01,1.94v11.02Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M518.75,160.97l-2.05-.18c-.41-.04-.78-.1-1.13-.15-2.99-.53-4.19-3.2-5.6-5.67l-7.08-12.32c-1.22-2.05-2.53-4.82-5.33-5.21,7.25-.87,13.81-5.06,13.81-12.24,0-8.3-8.21-12.01-16.52-12.01-4.98,0-9.52.13-14.59.13-2.79,0-6.12-.13-8.92-.13-1.55,0-1.57.32-1.57,1.18,0,1.28.54.92,2.19,1.02,5.9.33,5.68,1.43,5.68,6.49v32.31c0,4.62.4,6-4.46,6.44,0,0-.74.08-1.17.12l-2.06.21c-.49.44-.33,1.62.16,1.84,1.09-.04,3.03-.12,3.03-.12,2.69-.08,5.38-.28,8.06-.28s5.29.21,7.95.29h0c.94.03,1.94.07,3.03.1.49-.22.66-1.4.16-1.84l-2.07-.2c-.42-.05-1.15-.11-1.15-.11-4.9-.33-4.6-1.71-4.6-6.46v-12.17c0-.71-.09-2.61.44-3.16.44-.48,1.22-.4,1.92-.4,6.64,0,6.55.63,9.7,6.16l8.56,15.4c.7,1.19,1.22,2.69,2.97,2.69h7.44c.94.03,1.92.06,3.01.1.49-.22.65-1.4.16-1.84ZM488.92,136.74c-1.49,0-4.46.55-4.46-1.42v-14.14c0-5.53.18-6.32,6.82-6.32,7.78,0,12.58,3.95,12.58,11.22,0,3.16-1.14,6.08-4.02,8.06-3.32,2.29-6.9,2.61-10.92,2.61Z", className: "bcds-bc-logo--blueFill" }), jsxs("g", { children: [jsx("path", { d: "M490.53,194.2c0-7.74-.16-8.92-5.27-9.29l-2.03-.15c-.49-.3-.32-1.62.16-1.84,4.54.15,7.3.22,10.54.22s5.92-.07,9.98-.22c.49.22.65,1.55.16,1.84l-1.95.15c-4.78.37-4.95,1.55-4.95,9.29v25.66c0,4.64.24,6.56,1.7,7.96.89.81,2.43,1.7,8.84,1.7,6.89,0,8.6-.3,9.9-.96,1.62-.89,3.73-3.54,5.35-7.3.49-.37,2.03-.07,2.03.44,0,.81-2.27,8.33-3.41,10.32-4.13-.15-11.84-.22-20.2-.22h-7.46c-3.41,0-6,.07-10.54.22-.49-.22-.65-1.4-.16-1.84l2.43-.22c4.7-.44,4.87-1.48,4.87-9.22v-26.54Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M707.79,194.34c0-7.81-.16-9.07-4.86-9.44l-1.99-.15c-.48-.3-.32-1.62.16-1.84,3.98.15,6.69.22,10.03.22s5.89-.07,9.87-.22c.48.22.64,1.55.16,1.84l-1.99.15c-4.7.37-4.86,1.62-4.86,9.44v26.25c0,7.82.16,8.85,4.86,9.36l1.99.22c.48.3.32,1.62-.16,1.84-3.98-.15-6.69-.22-9.87-.22-3.35,0-6.05.07-10.03.22-.48-.22-.64-1.4-.16-1.84l1.99-.22c4.7-.52,4.86-1.55,4.86-9.36v-26.25Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M644.16,229.94c-.41-.04-1.17-.1-1.17-.1-.84-.08-1.59-.2-2.19-.86-1.03-1.1-.95-4.23-.95-5.48v-32.31c0-1.41-.34-4.46.69-5.56.52-.58,1.59-.67,2.55-.73h0c.58-.05.6-.05,1.11-.07l2.05-.15c.49-.3.33-1.62-.16-1.84-1.09.04-2.09.02-3.03.05h0s-8.7,0-8.7,0c-.95,0-1.81,0-2.32,1.02l-17.73,36.92-15.66-35.67c-.52-1.25-.6-2.27-2.24-2.27h-9.05c-.94-.03-1.98-.02-3.08-.06-.49.22-.66,1.55-.16,1.84l2.05.15c.42.03,1.19.09,1.19.09,3.4.22,3.61.98,3.3,4.55l-2.67,34.65c-.23,3.48-.42,5.32-4.07,5.66,0,0-.77.1-1.19.14l-2.04.22c-.49.44-.33,1.62.16,1.84,1.08-.04,3-.1,3-.1,1.85-.09,3.73-.25,5.61-.25,2.03,0,4.06.19,6.1.27h0c.94.03,1.94.07,3.03.1.49-.22.66-1.4.16-1.84l-2.04-.22c-.54-.04-1.14-.1-1.14-.1-5.26-.36-5.14-4.07-4.81-8.62l2.5-32.23h.6l16.95,39.66c.17.55.43,1.49,1.29,1.49.78,0,1.03-.86,1.29-1.41l19.1-40.68h.6v35.44c0,1.41.17,4.3-1.29,5.4-.76.57-3.25.91-3.25.91-.34.05-.7.1-1.11.15l-2.04.22c-.49.44-.33,1.62.16,1.84,1.08-.04,2.99-.1,2.99-.1,2.77-.08,5.59-.28,8.41-.28,2.03,0,6,.19,6,.19.95.03,2.02.13,3.12.17.49-.22.66-1.4.16-1.84l-2.05-.22Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M777.13,230.14l-.28-.22c-.41-.04-.77-.09-1.11-.15-3.19-.71-4.43-4.55-5.61-7.29l-16.41-38.83c-.16-.47-.49-1.47-1.14-1.47-.89,0-1.14,1.08-1.38,1.7l-15.68,38.76c-.57,1.47-2.03,5.03-3.09,6.11-.81.83-1.86.99-2.99,1.1,0,0-.88.08-1.31.13l-1.93.2c-.49.44-.33,1.62.16,1.84,1.09-.04,3.03-.11,3.03-.11,2.14-.03,4.29-.3,6.44-.3,1.81,0,3.61.19,5.41.27,0,0,1.94.07,3.03.11.49-.22.65-1.4.16-1.84l-2.05-.22c-.41-.04-1.11-.11-1.11-.11-1.89-.21-4.24-.55-4.24-2.62,0-1.39.65-3.02,1.14-4.25l2.44-5.8c1.22-2.78.73-3.1,3.98-3.1h11.05c3.9,0,3.33,0,5.04,3.95l2.6,5.88c.41,1.01,1.14,2.71,1.14,3.79,0,1.94-2.12,2.07-4.11,2.24,0,0-.66.06-1.23.1l-1.97.14c-.49.44-.33,1.62.17,1.84,1.09-.04,3.03-.12,3.03-.12,2.31-.08,4.64-.26,6.87-.26,2.85,0,5.69.19,8.54.27h0c.93.03.14.06,1.22.1.49-.22.65-1.4.16-1.84ZM755.64,211.89h-9.57c-.33,0-3,.31-3-.47,0-.24.17-.7.25-.94l5.75-14.23c.17-.39.75-2.35,1.41-2.35.5,0,1.17,2.03,1.33,2.35l5.66,13.29c0,.16.58,1.41.58,1.72,0,.86-1.91.62-2.41.62Z", className: "bcds-bc-logo--blueFill" })] }), jsx("rect", { width: "847.65", height: "327.01", className: "bcds-bc-logo--noFill" })] }), jsxs("g", { children: [jsx("polygon", { points: "295.89 176.17 301.27 178.4 313.19 170.08 295.89 176.17", className: "bcds-bc-logo--goldFill" }), jsx("path", { d: "M95.46,166.88l-14.14-4.97.71-1.73,15.92,5.31.07-.04,2.1-1.19.84-.53-17.36-7.39.73-1.82,38.75,15.67,1.28-.53-38.44-18.73.86-1.76,40.73,18.96.56-.29-39.49-22.4.81-1.68,57.03,31.03c.47-.86,1.44-2.44,1.95-3.28-21.68-20.39-42.61-35.69-42.61-35.69,0,0,21.52,14.41,48.07,27.81.88-1.09,1.6-1.97,2.53-3.01l-48.65-42.83,1.31-1.34,39.27,33.47-36.38-36.43,1.36-1.41,40.84,39.47-38.02-42.2,1.45-1.31,35.14,37.63-32.07-40.41,1.38-1.26,41.11,50.03c1.06-.92,1.95-1.61,3.06-2.46-12.44-26.91-26.02-48.8-26.02-48.8,0,0,14.46,21.28,33.96,43.56,1.19-.67,2.4-1.31,3.63-1.92l-.21-.13-28.81-57.5,1.71-.75,23.87,45.74-20.08-47.41,1.79-.8,23.08,51.9-19.45-53.37,1.84-.67,18.49,48.05-14.6-49.49,1.75-.65,19.22,61.38-.04.16.05-.02c1.28-.43,2.58-.81,3.89-1.16-1.46-29.48-5.82-54.7-5.82-54.7,0,0,5.4,25,15.08,52.87,1.35-.17,2.71-.31,4.07-.4l-.04-.06h.17l-.1-.14-5.17-64.11,1.87-.06,5,51.35-.86-51.48,1.96-.07,1.96,56.77,1.96-56.77,1.96.07-.86,51.48,5-51.35,1.87.06-5.17,64.11-.1.14h.03v.02s.07,0,.07,0c1.34.08,2.66.22,3.98.38,9.67-27.84,15.06-52.8,15.06-52.8,0,0-4.35,25.14-5.82,54.57,1.32.35,2.63.73,3.91,1.15l19.15-61.16,1.76.65-14.6,49.48,18.49-48.05,1.84.67-19.45,53.37,23.08-51.9,1.79.8-20.08,47.41,23.87-45.74,1.71.75-28.71,57.3.05.02c1.18.58,2.34,1.19,3.49,1.83,19.42-22.21,33.79-43.37,33.79-43.37,0,0-13.49,21.74-25.89,48.52,1.11.84,2.19,1.7,3.24,2.6l40.63-49.49,1.39,1.26-32.08,40.41,35.14-37.63,1.45,1.31-38.02,42.2,40.84-39.47,1.36,1.41-36.38,36.43,39.27-33.47,1.31,1.34-48.06,42.35.03.03c.84.94,1.65,1.9,2.44,2.88,26.39-13.34,47.71-27.62,47.71-27.62,0,0-20.72,15.16-42.29,35.4.59.99,1.55,2.67,2.09,3.69l56.22-30.61.81,1.69-44.88,25.45,46.68-21.72.86,1.76-43.48,21.19.83.29,44.24-17.89.74,1.82-41.12,17.49.77.32,27.4-9.13,4.13-2.88,1.37,1.05,9.02-3.01.71,1.73-7.8,2.75,11.27,8.6,3.61,2.01c-14.49-60.58-68.98-105.62-134-105.62s-121.42,46.63-134.73,108.82c.17-.08.34-.16.51-.24l1.65-.75,1.01-.47,19.01-10.66Z", className: "bcds-bc-logo--goldFill" })] }), jsx("path", { d: "M72.5,233.02s20.32-4.06,37.29-4.06c44.7,0,106.54,25.17,151.41,25.17,32.91,0,65.02-9.03,82.51-22.19,1.37-7.79,2.08-15.8,2.08-23.98,0-11.08-1.32-21.85-3.79-32.17l-18.7-10.43-21.95,15.39-14.76-5.75c-5,2.53-35.83,23.15-35.83,23.15l-11.84-8.57-12.7-2.51-16.93-12.33-19.42,13.33s-21.67,12.58-22.41,12.58-26.14-20.13-26.14-20.13l-11.7-12.33c-1.99,1.26-9.95,4.91-9.95,4.91l-.41.11-7.7-2.38-9.35-4.96-28.41,12.88c-.17.08-.34.16-.51.24-2,9.34-3.06,19.03-3.06,28.96,0,8.56.79,16.93,2.28,25.06Z", className: "bcds-bc-logo--blueFill" })] })] }));
|
|
31695
|
+
function SvgBcLogo({ title, id, ...props }) {
|
|
31696
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31697
|
+
const isMeaningful = Boolean(title);
|
|
31698
|
+
return (jsxs("svg", { id: id, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 847.65 327.01", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M109.59,226.32c44.7,0,106.54,25.17,151.41,25.17,32.02,0,63.26-8.54,81.04-21.13,1.24-7.39,1.9-14.97,1.9-22.72,0-75.13-60.91-136.04-136.04-136.04s-136.04,60.91-136.04,136.04c0,7.65.64,15.15,1.86,22.46,4.9-.91,21.57-3.79,35.87-3.79Z", className: "bcds-bc-logo--whiteFill" }), jsxs("g", { children: [jsxs("g", { children: [jsx("rect", { x: "415.4", y: "252.98", width: "314.66", height: "3.82", className: "bcds-bc-logo--goldFill" }), jsx("path", { d: "M423.47,116.64c0-6.39-.45-8.08-4.76-8.43l-3-.21c-.49-.39-.35-2.12.1-2.16,5.17-.46,11.69-.69,20.6-.69,6.04,0,11.79.43,16.1,2.42,4.12,1.81,7.28,5.26,7.28,10.79,0,6.22-4.03,9.41-9.77,11.83,0,.86.77,1.12,1.82,1.29,5.17.86,12.84,5.18,12.84,14.42,0,10.01-8.24,16.75-25.49,16.75-2.78,0-7.47-.26-11.5-.26s-7.47.17-11.02.26c-.57-.26-.77-1.64-.19-2.16l1.73-.26c5.08-.78,5.27-1.73,5.27-10.79v-32.8ZM431.32,128.12c0,2.42.1,2.59,4.98,2.42,9.77-.35,15.04-2.94,15.04-11.05s-7-11.65-14.28-11.65c-2.11,0-3.55.17-4.41.52-.96.26-1.34.69-1.34,2.24v17.52ZM431.32,148.14c0,3.11.19,7.51,2.01,9.41,1.82,1.98,4.7,2.42,7.57,2.42,8.53,0,15.04-3.45,15.04-12.08,0-6.82-3.83-14.76-19.07-14.76-5.17,0-5.56.52-5.56,2.24v12.77Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M531.26,125.14c0-7.82-.16-9.07-4.99-9.44l-2.05-.15c-.49-.29-.33-1.62.16-1.84,4.09.15,6.87.22,10.31.22s6.06-.07,10.15-.22c.49.22.65,1.55.16,1.84l-2.04.15c-4.83.37-4.99,1.62-4.99,9.44v26.25c0,7.82.16,8.85,4.99,9.36l2.04.22c.49.29.33,1.62-.16,1.84-4.09-.15-6.87-.22-10.15-.22-3.44,0-6.22.07-10.31.22-.49-.22-.66-1.4-.16-1.84l2.05-.22c4.83-.52,4.99-1.55,4.99-9.36v-26.25Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M576.66,151.53c0,7.74.15,8.85,4.6,9.22l2.45.22c.46.29.31,1.62-.15,1.84-4.37-.15-6.98-.22-10.05-.22s-5.75.07-10.66.22c-.46-.22-.62-1.47,0-1.84l2.76-.22c4.37-.37,4.75-1.48,4.75-9.22v-32.96c0-2.28,0-2.36-2.3-2.36h-4.22c-3.3,0-7.51.15-9.43,1.84-1.84,1.62-2.61,3.24-3.45,5.09-.62.44-1.69.07-1.99-.52,1.22-3.32,2.38-8.04,2.91-10.98.23-.15,1.23-.22,1.46,0,.46,2.36,2.99,2.29,6.52,2.29h31.05c4.14,0,4.83-.15,5.98-2.06.38-.15,1.23-.07,1.38.22-.84,3.02-1.38,9-1.15,11.21-.31.59-1.61.59-1.99.15-.23-1.84-.77-4.57-1.92-5.38-1.76-1.25-4.68-1.84-8.89-1.84h-5.44c-2.3,0-2.22.07-2.22,2.51v32.81Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M609.53,125.14c0-7.82-.16-9.07-4.99-9.44l-2.05-.15c-.49-.29-.33-1.62.16-1.84,4.09.15,6.87.22,10.31.22s6.05-.07,10.15-.22c.49.22.66,1.55.17,1.84l-2.05.15c-4.83.37-4.99,1.62-4.99,9.44v26.25c0,7.82.16,8.85,4.99,9.36l2.05.22c.49.29.33,1.62-.17,1.84-4.09-.15-6.87-.22-10.15-.22-3.44,0-6.22.07-10.31.22-.49-.22-.65-1.4-.16-1.84l2.05-.22c4.83-.52,4.99-1.55,4.99-9.36v-26.25Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M646.2,163.57c-7.31,0-11.92-1.92-13.57-2.73-1.04-1.62-2.18-6.86-2.35-10.32.44-.52,1.74-.66,2.09-.22,1.31,3.76,4.87,10.98,14.96,10.98,7.31,0,10.87-4.05,10.87-8.48,0-3.24-.78-6.86-7.13-10.32l-8.26-4.57c-4.35-2.43-9.4-6.64-9.4-12.68,0-7,6.44-12.68,17.75-12.68,2.7,0,5.83.44,8.09.96,1.13.29,2.35.44,3.04.44.78,1.77,1.57,5.9,1.57,9-.35.44-1.74.66-2.18.22-1.13-3.54-3.48-8.33-11.83-8.33s-10.35,4.79-10.35,8.18c0,4.28,4.18,7.38,7.39,9.07l6.96,3.69c5.48,2.88,10.88,7.15,10.88,14.16,0,8.11-7.22,13.64-18.53,13.64Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M689.99,138.78c-3.81,0-3.96.15-3.96,2.36v10.4c0,7.74.4,8.77,4.84,9.22l2.3.22c.48.29.32,1.62-.16,1.84-4.28-.15-6.98-.22-10.08-.22-3.41,0-6.11.15-9.2.22-.47-.22-.63-1.4-.16-1.84l1.35-.22c4.45-.74,4.6-1.48,4.6-9.22v-26.54c0-7.74-.55-8.99-4.68-9.29l-2.06-.15c-.48-.29-.32-1.62.16-1.84,3.89.07,6.58.22,10,.22,3.1,0,5.79-.07,9.2-.22.48.22.63,1.55.16,1.84l-1.51.15c-4.6.44-4.76,1.55-4.76,9.29v8.48c0,2.28.16,2.36,3.96,2.36h22.69c3.81,0,3.97-.07,3.97-2.36v-8.48c0-7.74-.16-8.85-4.84-9.29l-1.51-.15c-.48-.29-.32-1.62.16-1.84,3.65.15,6.35.22,9.6.22s5.79-.07,9.36-.22c.48.22.63,1.55.16,1.84l-1.66.15c-4.6.44-4.76,1.55-4.76,9.29v26.54c0,7.74.16,8.7,4.76,9.22l1.9.22c.47.29.32,1.62-.16,1.84-3.81-.15-6.51-.22-9.6-.22-3.25,0-6.11.07-9.6.22-.48-.22-.63-1.4-.16-1.84l1.51-.22c4.84-.74,4.84-1.48,4.84-9.22v-10.4c0-2.21-.16-2.36-3.97-2.36h-22.69Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M378.06,179.01c6.52-5.07,14.83-7.57,24.12-7.57,4.82,0,11.61.98,15.81,2.14,1.07.27,1.7.45,2.5.36.09,2.05.54,7.65,1.25,13.09-.45.62-1.79.71-2.41.18-1.34-6.05-5.36-13-18.31-13-13.67,0-25.28,8.64-25.28,27.06s11.88,29.02,26.53,29.02c11.52,0,16.62-7.48,18.67-12.73.63-.44,1.97-.27,2.32.36-.62,4.63-2.95,10.5-4.29,12.2-1.07.18-2.14.53-3.13.89-1.97.71-8.4,2.05-14.11,2.05-8.04,0-15.72-1.6-22.24-5.96-7.15-4.9-12.69-12.99-12.69-24.48,0-9.88,4.47-18.34,11.26-23.59Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M426.92,207.81c0-14.75,11.61-26.03,27.56-26.03,17.88,0,26.86,12.31,26.86,25.29,0,14.89-11.92,25.73-26.86,25.73-17.19,0-27.56-11.72-27.56-25ZM473.6,209.35c0-12.17-5.65-25.29-20.44-25.29-8.05,0-18.5,5.24-18.5,21.38,0,10.91,5.57,25.07,20.82,25.07,9.29,0,18.12-6.64,18.12-21.16Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M568.68,201.47c0-4.57-.16-13.05-1.49-15.26-.55-.89-1.95-1.4-3.91-1.55l-1.95-.15c-.47-.52-.31-1.47.15-1.77,2.97.15,5.86.22,8.91.22,3.28,0,5.39-.08,8.21-.22.62.37.55,1.33.16,1.77l-1.88.15c-1.95.15-3.44.81-3.91,1.77-1.09,2.43-1.09,10.91-1.09,15.04v8.33c0,6.42-1.1,13.2-5.47,17.62-3.36,3.47-9.14,5.38-14.93,5.38-5.39,0-10.79-.96-14.62-4.05-4.14-3.24-6.1-8.63-6.1-17.4v-17.4c0-7.67-.16-8.92-4.69-9.29l-1.96-.15c-.47-.29-.31-1.55.15-1.77,3.91.15,6.57.22,9.69.22s5.78-.08,9.61-.22c.47.22.63,1.47.16,1.77l-1.88.15c-4.53.37-4.69,1.62-4.69,9.29v15.93c0,11.87,3.91,19.69,15.87,19.69,11.33,0,15.63-8.41,15.63-19.61v-8.48Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M659.52,192.26c0-5.51-.35-6.93-4.23-7.22l-2.77-.27c-.31-.28-.48-1.78.09-1.82,4.67-.35,10.54-.59,18.57-.59,5.44,0,10.62.37,14.51,2.08,3.71,1.57,6.56,4.54,6.56,9.31,0,5.36-3.63,8.12-8.81,10.2,0,.75.69.97,1.64,1.12,4.67.74,11.58,4.47,11.58,12.44,0,8.64-7.43,14.45-22.98,14.45-2.5,0-6.74-.22-10.37-.22s-6.74.15-9.93.22c-.52-.22-.69-1.41-.17-1.86l1.55-.22c4.58-.67,4.75-1.49,4.75-9.31v-28.3ZM666.6,202.16c0,2.09.09,2.24,4.49,2.09,8.81-.3,13.56-2.53,13.56-9.53s-6.3-10.05-12.87-10.05c-1.9,0-3.2.15-3.97.45-.87.22-1.21.59-1.21,1.94v15.12ZM666.6,219.44c0,2.68.17,6.48,1.81,8.12,1.64,1.71,4.23,2.08,6.82,2.08,7.69,0,13.56-2.98,13.56-10.43,0-5.88-3.45-12.73-17.19-12.73-4.67,0-5.01.44-5.01,1.94v11.02Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M518.75,160.97l-2.05-.18c-.41-.04-.78-.1-1.13-.15-2.99-.53-4.19-3.2-5.6-5.67l-7.08-12.32c-1.22-2.05-2.53-4.82-5.33-5.21,7.25-.87,13.81-5.06,13.81-12.24,0-8.3-8.21-12.01-16.52-12.01-4.98,0-9.52.13-14.59.13-2.79,0-6.12-.13-8.92-.13-1.55,0-1.57.32-1.57,1.18,0,1.28.54.92,2.19,1.02,5.9.33,5.68,1.43,5.68,6.49v32.31c0,4.62.4,6-4.46,6.44,0,0-.74.08-1.17.12l-2.06.21c-.49.44-.33,1.62.16,1.84,1.09-.04,3.03-.12,3.03-.12,2.69-.08,5.38-.28,8.06-.28s5.29.21,7.95.29h0c.94.03,1.94.07,3.03.1.49-.22.66-1.4.16-1.84l-2.07-.2c-.42-.05-1.15-.11-1.15-.11-4.9-.33-4.6-1.71-4.6-6.46v-12.17c0-.71-.09-2.61.44-3.16.44-.48,1.22-.4,1.92-.4,6.64,0,6.55.63,9.7,6.16l8.56,15.4c.7,1.19,1.22,2.69,2.97,2.69h7.44c.94.03,1.92.06,3.01.1.49-.22.65-1.4.16-1.84ZM488.92,136.74c-1.49,0-4.46.55-4.46-1.42v-14.14c0-5.53.18-6.32,6.82-6.32,7.78,0,12.58,3.95,12.58,11.22,0,3.16-1.14,6.08-4.02,8.06-3.32,2.29-6.9,2.61-10.92,2.61Z", className: "bcds-bc-logo--blueFill" }), jsxs("g", { children: [jsx("path", { d: "M490.53,194.2c0-7.74-.16-8.92-5.27-9.29l-2.03-.15c-.49-.3-.32-1.62.16-1.84,4.54.15,7.3.22,10.54.22s5.92-.07,9.98-.22c.49.22.65,1.55.16,1.84l-1.95.15c-4.78.37-4.95,1.55-4.95,9.29v25.66c0,4.64.24,6.56,1.7,7.96.89.81,2.43,1.7,8.84,1.7,6.89,0,8.6-.3,9.9-.96,1.62-.89,3.73-3.54,5.35-7.3.49-.37,2.03-.07,2.03.44,0,.81-2.27,8.33-3.41,10.32-4.13-.15-11.84-.22-20.2-.22h-7.46c-3.41,0-6,.07-10.54.22-.49-.22-.65-1.4-.16-1.84l2.43-.22c4.7-.44,4.87-1.48,4.87-9.22v-26.54Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M707.79,194.34c0-7.81-.16-9.07-4.86-9.44l-1.99-.15c-.48-.3-.32-1.62.16-1.84,3.98.15,6.69.22,10.03.22s5.89-.07,9.87-.22c.48.22.64,1.55.16,1.84l-1.99.15c-4.7.37-4.86,1.62-4.86,9.44v26.25c0,7.82.16,8.85,4.86,9.36l1.99.22c.48.3.32,1.62-.16,1.84-3.98-.15-6.69-.22-9.87-.22-3.35,0-6.05.07-10.03.22-.48-.22-.64-1.4-.16-1.84l1.99-.22c4.7-.52,4.86-1.55,4.86-9.36v-26.25Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M644.16,229.94c-.41-.04-1.17-.1-1.17-.1-.84-.08-1.59-.2-2.19-.86-1.03-1.1-.95-4.23-.95-5.48v-32.31c0-1.41-.34-4.46.69-5.56.52-.58,1.59-.67,2.55-.73h0c.58-.05.6-.05,1.11-.07l2.05-.15c.49-.3.33-1.62-.16-1.84-1.09.04-2.09.02-3.03.05h0s-8.7,0-8.7,0c-.95,0-1.81,0-2.32,1.02l-17.73,36.92-15.66-35.67c-.52-1.25-.6-2.27-2.24-2.27h-9.05c-.94-.03-1.98-.02-3.08-.06-.49.22-.66,1.55-.16,1.84l2.05.15c.42.03,1.19.09,1.19.09,3.4.22,3.61.98,3.3,4.55l-2.67,34.65c-.23,3.48-.42,5.32-4.07,5.66,0,0-.77.1-1.19.14l-2.04.22c-.49.44-.33,1.62.16,1.84,1.08-.04,3-.1,3-.1,1.85-.09,3.73-.25,5.61-.25,2.03,0,4.06.19,6.1.27h0c.94.03,1.94.07,3.03.1.49-.22.66-1.4.16-1.84l-2.04-.22c-.54-.04-1.14-.1-1.14-.1-5.26-.36-5.14-4.07-4.81-8.62l2.5-32.23h.6l16.95,39.66c.17.55.43,1.49,1.29,1.49.78,0,1.03-.86,1.29-1.41l19.1-40.68h.6v35.44c0,1.41.17,4.3-1.29,5.4-.76.57-3.25.91-3.25.91-.34.05-.7.1-1.11.15l-2.04.22c-.49.44-.33,1.62.16,1.84,1.08-.04,2.99-.1,2.99-.1,2.77-.08,5.59-.28,8.41-.28,2.03,0,6,.19,6,.19.95.03,2.02.13,3.12.17.49-.22.66-1.4.16-1.84l-2.05-.22Z", className: "bcds-bc-logo--blueFill" }), jsx("path", { d: "M777.13,230.14l-.28-.22c-.41-.04-.77-.09-1.11-.15-3.19-.71-4.43-4.55-5.61-7.29l-16.41-38.83c-.16-.47-.49-1.47-1.14-1.47-.89,0-1.14,1.08-1.38,1.7l-15.68,38.76c-.57,1.47-2.03,5.03-3.09,6.11-.81.83-1.86.99-2.99,1.1,0,0-.88.08-1.31.13l-1.93.2c-.49.44-.33,1.62.16,1.84,1.09-.04,3.03-.11,3.03-.11,2.14-.03,4.29-.3,6.44-.3,1.81,0,3.61.19,5.41.27,0,0,1.94.07,3.03.11.49-.22.65-1.4.16-1.84l-2.05-.22c-.41-.04-1.11-.11-1.11-.11-1.89-.21-4.24-.55-4.24-2.62,0-1.39.65-3.02,1.14-4.25l2.44-5.8c1.22-2.78.73-3.1,3.98-3.1h11.05c3.9,0,3.33,0,5.04,3.95l2.6,5.88c.41,1.01,1.14,2.71,1.14,3.79,0,1.94-2.12,2.07-4.11,2.24,0,0-.66.06-1.23.1l-1.97.14c-.49.44-.33,1.62.17,1.84,1.09-.04,3.03-.12,3.03-.12,2.31-.08,4.64-.26,6.87-.26,2.85,0,5.69.19,8.54.27h0c.93.03.14.06,1.22.1.49-.22.65-1.4.16-1.84ZM755.64,211.89h-9.57c-.33,0-3,.31-3-.47,0-.24.17-.7.25-.94l5.75-14.23c.17-.39.75-2.35,1.41-2.35.5,0,1.17,2.03,1.33,2.35l5.66,13.29c0,.16.58,1.41.58,1.72,0,.86-1.91.62-2.41.62Z", className: "bcds-bc-logo--blueFill" })] }), jsx("rect", { width: "847.65", height: "327.01", className: "bcds-bc-logo--noFill" })] }), jsxs("g", { children: [jsx("polygon", { points: "295.89 176.17 301.27 178.4 313.19 170.08 295.89 176.17", className: "bcds-bc-logo--goldFill" }), jsx("path", { d: "M95.46,166.88l-14.14-4.97.71-1.73,15.92,5.31.07-.04,2.1-1.19.84-.53-17.36-7.39.73-1.82,38.75,15.67,1.28-.53-38.44-18.73.86-1.76,40.73,18.96.56-.29-39.49-22.4.81-1.68,57.03,31.03c.47-.86,1.44-2.44,1.95-3.28-21.68-20.39-42.61-35.69-42.61-35.69,0,0,21.52,14.41,48.07,27.81.88-1.09,1.6-1.97,2.53-3.01l-48.65-42.83,1.31-1.34,39.27,33.47-36.38-36.43,1.36-1.41,40.84,39.47-38.02-42.2,1.45-1.31,35.14,37.63-32.07-40.41,1.38-1.26,41.11,50.03c1.06-.92,1.95-1.61,3.06-2.46-12.44-26.91-26.02-48.8-26.02-48.8,0,0,14.46,21.28,33.96,43.56,1.19-.67,2.4-1.31,3.63-1.92l-.21-.13-28.81-57.5,1.71-.75,23.87,45.74-20.08-47.41,1.79-.8,23.08,51.9-19.45-53.37,1.84-.67,18.49,48.05-14.6-49.49,1.75-.65,19.22,61.38-.04.16.05-.02c1.28-.43,2.58-.81,3.89-1.16-1.46-29.48-5.82-54.7-5.82-54.7,0,0,5.4,25,15.08,52.87,1.35-.17,2.71-.31,4.07-.4l-.04-.06h.17l-.1-.14-5.17-64.11,1.87-.06,5,51.35-.86-51.48,1.96-.07,1.96,56.77,1.96-56.77,1.96.07-.86,51.48,5-51.35,1.87.06-5.17,64.11-.1.14h.03v.02s.07,0,.07,0c1.34.08,2.66.22,3.98.38,9.67-27.84,15.06-52.8,15.06-52.8,0,0-4.35,25.14-5.82,54.57,1.32.35,2.63.73,3.91,1.15l19.15-61.16,1.76.65-14.6,49.48,18.49-48.05,1.84.67-19.45,53.37,23.08-51.9,1.79.8-20.08,47.41,23.87-45.74,1.71.75-28.71,57.3.05.02c1.18.58,2.34,1.19,3.49,1.83,19.42-22.21,33.79-43.37,33.79-43.37,0,0-13.49,21.74-25.89,48.52,1.11.84,2.19,1.7,3.24,2.6l40.63-49.49,1.39,1.26-32.08,40.41,35.14-37.63,1.45,1.31-38.02,42.2,40.84-39.47,1.36,1.41-36.38,36.43,39.27-33.47,1.31,1.34-48.06,42.35.03.03c.84.94,1.65,1.9,2.44,2.88,26.39-13.34,47.71-27.62,47.71-27.62,0,0-20.72,15.16-42.29,35.4.59.99,1.55,2.67,2.09,3.69l56.22-30.61.81,1.69-44.88,25.45,46.68-21.72.86,1.76-43.48,21.19.83.29,44.24-17.89.74,1.82-41.12,17.49.77.32,27.4-9.13,4.13-2.88,1.37,1.05,9.02-3.01.71,1.73-7.8,2.75,11.27,8.6,3.61,2.01c-14.49-60.58-68.98-105.62-134-105.62s-121.42,46.63-134.73,108.82c.17-.08.34-.16.51-.24l1.65-.75,1.01-.47,19.01-10.66Z", className: "bcds-bc-logo--goldFill" })] }), jsx("path", { d: "M72.5,233.02s20.32-4.06,37.29-4.06c44.7,0,106.54,25.17,151.41,25.17,32.91,0,65.02-9.03,82.51-22.19,1.37-7.79,2.08-15.8,2.08-23.98,0-11.08-1.32-21.85-3.79-32.17l-18.7-10.43-21.95,15.39-14.76-5.75c-5,2.53-35.83,23.15-35.83,23.15l-11.84-8.57-12.7-2.51-16.93-12.33-19.42,13.33s-21.67,12.58-22.41,12.58-26.14-20.13-26.14-20.13l-11.7-12.33c-1.99,1.26-9.95,4.91-9.95,4.91l-.41.11-7.7-2.38-9.35-4.96-28.41,12.88c-.17.08-.34.16-.51.24-2,9.34-3.06,19.03-3.06,28.96,0,8.56.79,16.93,2.28,25.06Z", className: "bcds-bc-logo--blueFill" })] })] }));
|
|
31579
31699
|
}
|
|
31580
31700
|
|
|
31581
31701
|
var css_248z$o = ".bcds-footer {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n width: 100%;\n}\n\n.bcds-footer > .bcds-footer--acknowledgement {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-top: var(--layout-border-width-large) solid var(--theme-gold-60);\n border-bottom: var(--layout-border-width-large) solid var(--theme-gold-60);\n background-color: var(--theme-gray-110);\n padding: var(--layout-padding-xlarge);\n}\n\n.bcds-footer\n > .bcds-footer--acknowledgement\n > .bcds-footer--acknowledgement-text {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: stretch;\n color: var(--typography-color-primary-invert);\n font: var(--typography-regular-small-body);\n max-width: 1100px;\n width: 100%;\n}\n\n.bcds-footer\n > .bcds-footer--acknowledgement\n > .bcds-footer--acknowledgement-text\n > p {\n margin: var(--layout-margin-none);\n}\n\n.bcds-footer > .bcds-footer--container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n background-color: var(--surface-color-background-light-gray);\n padding: var(--layout-padding-xlarge);\n}\n\n.bcds-footer > .bcds-footer--container > .bcds-footer--container-content {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: var(--layout-padding-xlarge);\n max-width: 1100px;\n width: 100%;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links {\n display: flex;\n flex-flow: row nowrap;\n align-items: flex-start;\n gap: var(--layout-padding-medium) var(--layout-padding-xlarge);\n justify-content: space-between;\n width: 100%;\n}\n\n/* `horizontal` class is the default, when no `children` prop is passed */\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links.horizontal {\n flex-direction: row;\n}\n\n/* `vertical` class is used when a `children` prop is passed */\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links.vertical {\n flex-direction: column;\n align-items: stretch;\n row-gap: var(--layout-padding-xlarge);\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo {\n display: flex;\n flex-direction: column;\n gap: var(--layout-padding-large);\n min-width: 324px;\n width: 576px;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo\n > #bcgov-logo-footer {\n width: 146px;\n min-width: 146px;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo\n > p {\n font: var(--typography-regular-small-body);\n margin: var(--layout-margin-none);\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo\n > p\n > a {\n color: var(--typography-color-secondary);\n font: var(--typography-regular-small-body);\n text-decoration: underline;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo\n > p\n > a:hover {\n text-decoration: none;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--links {\n margin: var(--layout-margin-none);\n}\n\n/*\n When Footer hasn't been passed `children`, expand the links container to take\n up 320px, as the default links are narrower.\n*/\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links.horizontal\n > .bcds-footer--links {\n min-width: 320px;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--links\n > .bcds-footer--links-title {\n display: block;\n font: var(--typography-bold-small-body);\n margin-bottom: var(--layout-padding-medium);\n text-transform: uppercase;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--links\n > ul {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: auto;\n gap: var(--layout-padding-small) var(--layout-padding-xlarge);\n list-style: none;\n margin: var(--layout-margin-none);\n padding: var(--layout-padding-none);\n}\n\n/*\n When a Footer has been passed `children`, the logo-links container fills the\n full width of the container, so there's room for 4 columns of links.\n*/\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links.vertical\n > .bcds-footer--links\n > ul {\n grid-template-columns: repeat(4, 1fr);\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--links\n > ul\n > li {\n font: var(--typography-regular-small-body);\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--links\n > ul\n > li\n > a {\n color: var(--typography-color-primary);\n text-decoration: none;\n}\n\n.bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--links\n > ul\n > li\n > a:hover {\n text-decoration: underline;\n}\n\n.bcds-footer > .bcds-footer--container > .bcds-footer--container-content > hr {\n background-color: var(--surface-color-border-dark);\n border: var(--layout-border-width-none);\n height: var(--layout-border-width-small);\n margin: var(--layout-margin-none);\n width: 100%;\n}\n\np.bcds-footer--copyright {\n color: var(--typography-color-secondary);\n font: var(--typography-regular-body);\n margin: var(--layout-margin-none);\n}\n\n/* Tablet */\n@media (width <= 991px) {\n /* Links drop beneath logo in the default configuration */\n .bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links {\n flex-wrap: wrap;\n }\n\n .bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo {\n max-width: 324px;\n }\n\n /*\n When the `children` prop is used with multiple FooterLinks components,\n only two columns of links appear on screen at once.\n */\n .bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links.vertical\n > .bcds-footer--links\n > ul {\n grid-template-columns: repeat(2, 1fr);\n }\n}\n\n/* Extra small screens */\n@media (width <= 575px) {\n .bcds-footer > .bcds-footer--acknowledgement {\n padding: var(--layout-padding-xlarge) var(--layout-padding-medium);\n }\n\n .bcds-footer > .bcds-footer--container {\n padding: var(--layout-padding-medium);\n }\n\n .bcds-footer > .bcds-footer--container > .bcds-footer--container-content {\n gap: var(--layout-padding-medium);\n }\n\n .bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links\n > .bcds-footer--logo {\n gap: var(--layout-padding-medium);\n }\n\n /*\n When the `children` prop is used with multiple FooterLinks components,\n only one column of links appear on screen at once.\n */\n .bcds-footer\n > .bcds-footer--container\n > .bcds-footer--container-content\n > .bcds-footer--logo-links.vertical\n > .bcds-footer--links\n > ul {\n grid-template-columns: repeat(1, 1fr);\n }\n}\n";
|
|
@@ -31716,7 +31836,7 @@ function MenuItem({ size = "medium", label, description, iconLeft, ...props }) {
|
|
|
31716
31836
|
if (typeof props.children === "function") {
|
|
31717
31837
|
return props.children(renderProps);
|
|
31718
31838
|
}
|
|
31719
|
-
return (jsxs(Fragment$1, { children: [iconLeft && (jsx("span", { className: "bcds-react-aria-MenuItem--Icon", children: iconLeft })), props.children, (label || description) && (jsxs("div", { className: "bcds-react-aria-MenuItem--Content", children: [label && jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "label", children: label }), description && jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "description", children: description })] })), renderProps.hasSubmenu && jsx(SvgChevronRightIcon, {}), renderProps.isSelected && jsx(SvgCheckIcon, {})] }));
|
|
31839
|
+
return (jsxs(Fragment$1, { children: [iconLeft && (jsx("span", { className: "bcds-react-aria-MenuItem--Icon", children: iconLeft })), props.children, (label || description) && (jsxs("div", { className: "bcds-react-aria-MenuItem--Content", children: [label && jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "label", children: label }), description && jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "description", children: description })] })), renderProps.hasSubmenu && jsx(SvgChevronRightIcon, {}), renderProps.isSelected && jsx(SvgCheckIcon, { size: "xsmall" })] }));
|
|
31720
31840
|
} }));
|
|
31721
31841
|
}
|
|
31722
31842
|
|
|
@@ -31867,42 +31987,62 @@ function Select({ items, sections, label, description, placeholder, size = "medi
|
|
|
31867
31987
|
// support different markup within the same component.
|
|
31868
31988
|
items: sections
|
|
31869
31989
|
? sections
|
|
31870
|
-
: [{ id: "section", header: "", items: items ? items : [] }], children: (section) => (jsxs($928221da08ecbc62$export$dca12b0bb56e4fc, { id: section.id, className: "bcds-react-aria-Section", children: [section?.header && (jsx($53e61d82d8b8611d$export$8b251419efc915eb, { className: "bcds-react-aria-Select--Header", children: section.header })), jsx($42ceafc619f9c3ba$export$fb8073518f34e6ec, { items: section.items, children: (item) => (jsx($928221da08ecbc62$export$a11e76429ed99b4, { id: item?.id ? item.id : item.label, className: `bcds-react-aria-Select--ListBoxItem ${item?.isDestructive ? "destructive" : ""}`, textValue: item.label, children: ({ isSelected }) => (jsxs(Fragment$1, { children: [item?.iconLeft && (jsx("div", { className: "bcds-react-aria-Select--ListBoxItem-icon", children: item.iconLeft })), jsxs("div", { className: "bcds-react-aria-Select--ListBoxItem-Text-container", children: [jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "label", className: "bcds-react-aria-Select--ListBoxItem-Text-label", children: item.label }), item.description && (jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "description", className: "bcds-react-aria-Select--ListBoxItem-Text-description", children: item.description }))] }), isSelected ? (jsx("div", { className: "bcds-react-aria-Select--ListBoxItem-icon", children: jsx(SvgCheckIcon, {}) })) : (item?.iconRight && (jsx("div", { className: "bcds-react-aria-Select--ListBoxItem-icon", children: item.iconRight })))] })) })) })] })) }) })] })) }));
|
|
31990
|
+
: [{ id: "section", header: "", items: items ? items : [] }], children: (section) => (jsxs($928221da08ecbc62$export$dca12b0bb56e4fc, { id: section.id, className: "bcds-react-aria-Section", children: [section?.header && (jsx($53e61d82d8b8611d$export$8b251419efc915eb, { className: "bcds-react-aria-Select--Header", children: section.header })), jsx($42ceafc619f9c3ba$export$fb8073518f34e6ec, { items: section.items, children: (item) => (jsx($928221da08ecbc62$export$a11e76429ed99b4, { id: item?.id ? item.id : item.label, className: `bcds-react-aria-Select--ListBoxItem ${item?.isDestructive ? "destructive" : ""}`, textValue: item.label, children: ({ isSelected }) => (jsxs(Fragment$1, { children: [item?.iconLeft && (jsx("div", { className: "bcds-react-aria-Select--ListBoxItem-icon", children: item.iconLeft })), jsxs("div", { className: "bcds-react-aria-Select--ListBoxItem-Text-container", children: [jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "label", className: "bcds-react-aria-Select--ListBoxItem-Text-label", children: item.label }), item.description && (jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "description", className: "bcds-react-aria-Select--ListBoxItem-Text-description", children: item.description }))] }), isSelected ? (jsx("div", { className: "bcds-react-aria-Select--ListBoxItem-icon", children: jsx(SvgCheckIcon, { size: "xsmall" }) })) : (item?.iconRight && (jsx("div", { className: "bcds-react-aria-Select--ListBoxItem-icon", children: item.iconRight })))] })) })) })] })) }) })] })) }));
|
|
31871
31991
|
}
|
|
31872
31992
|
|
|
31873
|
-
function SvgBcOutlineIcon({
|
|
31874
|
-
|
|
31993
|
+
function SvgBcOutlineIcon({ size = "medium", title, id, ...props }) {
|
|
31994
|
+
const iconSize = getIconSize(size);
|
|
31995
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
31996
|
+
const isMeaningful = Boolean(title);
|
|
31997
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 18 18", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsxs("g", { children: [jsx("path", { d: "M8.55494 17.9955C8.48489 17.9953 8.4157 17.9801 8.35199 17.951C8.28827 17.9219 8.23149 17.8795 8.18543 17.8268L7.40648 16.9832L6.22541 16.0636L5.199 15.4961C5.11007 15.4438 5.03665 15.3688 4.98625 15.2788C4.93585 15.1887 4.91028 15.0869 4.91217 14.9838V13.6103C4.90822 13.4748 4.9534 13.3423 5.03939 13.2374C5.12538 13.1325 5.24638 13.0622 5.3801 13.0395L5.90315 12.9832C5.85315 12.9105 5.81957 12.8278 5.80473 12.7408L5.47065 10.7162L4.85199 9.65994C4.77992 9.54214 4.75071 9.40308 4.76932 9.26624L5.06009 7.19318L4.03761 6.7708C3.97024 6.74182 3.90941 6.69953 3.85878 6.64647C3.80814 6.59342 3.76873 6.53069 3.74291 6.46204L2.8481 4.13645L2.06072 4.06615C1.97763 4.05479 1.89849 4.02362 1.82998 3.97527C1.76146 3.92691 1.70557 3.86279 1.66703 3.78831L0.0922668 0.863752C0.0326295 0.767506 0.000706201 0.65667 1.15824e-05 0.543447C-0.000683036 0.430224 0.0298779 0.319005 0.0883299 0.222035C0.14711 0.132622 0.233402 0.0647766 0.33416 0.0287553C0.434919 -0.00726609 0.544665 -0.00950484 0.646809 0.0223775C0.717673 0.042062 7.83223 2.31085 11.7298 1.5634C11.7994 1.5514 11.8709 1.55502 11.9389 1.57398C12.007 1.59295 12.0701 1.62679 12.1235 1.67307C12.2388 1.77389 12.3119 1.91446 12.3282 2.06676L13.0245 9.77692L13.6994 10.2111C13.7984 10.2792 13.8741 10.3762 13.9159 10.4889L14.1836 11.2324L15.3647 11.7251C15.4523 11.7653 15.5285 11.8268 15.5862 11.904C15.6439 11.9812 15.6812 12.0717 15.6948 12.1672L15.8326 13.0749L16.5131 13.5249C16.5697 13.5613 16.6179 13.6092 16.6549 13.6655L17.8922 15.4179C17.9503 15.5022 17.9865 15.5996 17.9975 15.7013C18.0085 15.803 17.9939 15.9059 17.9552 16.0006C17.9216 16.0925 17.8628 16.1731 17.7857 16.2333C17.7085 16.2934 17.616 16.3307 17.5187 16.3409L10.2529 16.9123C10.2067 17.0062 10.136 17.0859 10.0482 17.1429L8.81084 17.9252C8.73397 17.9725 8.64519 17.9969 8.55494 17.9955ZM5.97851 14.6356L6.76589 15.0619C6.79052 15.0739 6.81311 15.0896 6.83282 15.1086L8.07014 16.0827L8.13706 16.139L8.65224 16.7098L9.43962 16.2211L9.11342 15.5642L8.32604 14.8893L7.08872 14.0367L5.96389 14.1581L5.97851 14.6356ZM7.22539 12.8595C7.32381 12.8587 7.42002 12.8888 7.50041 12.9456L8.91601 13.9197L8.96719 13.959L9.85187 14.7414C9.91189 14.7939 9.95904 14.8595 9.98966 14.9331L10.3834 15.7588L16.4957 15.2768L15.9136 14.4551L15.1262 13.923C15.0604 13.8776 15.0044 13.8193 14.9618 13.7517C14.9191 13.684 14.8907 13.6084 14.8782 13.5294L14.7522 12.6857L13.6156 12.2161C13.5437 12.1851 13.4791 12.1395 13.4256 12.0823C13.3722 12.0251 13.3312 11.9575 13.3051 11.8837L13.0183 11.1014L12.2826 10.6166C12.2115 10.567 12.1521 10.5025 12.1085 10.4274C12.065 10.3524 12.0384 10.2688 12.0307 10.1824L11.3631 2.78271C8.21693 3.17641 3.76484 2.09432 1.6136 1.48916L2.40098 2.94413L3.24461 3.01837C3.34242 3.03086 3.43481 3.07037 3.5114 3.13246C3.588 3.19455 3.64577 3.27677 3.67823 3.36988L4.61015 5.78826L5.83341 6.27307C5.94925 6.32592 6.04441 6.41555 6.10411 6.52802C6.1638 6.6405 6.1847 6.76953 6.16355 6.8951L5.83341 9.20719L6.42844 10.192C6.46921 10.2576 6.49601 10.3309 6.50718 10.4074L6.86094 12.5513C6.8826 12.6703 6.8675 12.7932 6.81764 12.9034L7.18321 12.8601L7.22539 12.8595Z", fill: "currentColor" }), jsx("path", { d: "M4.04436 12.2499C3.95082 12.2486 3.8594 12.2218 3.78006 12.1722C3.70073 12.1226 3.63652 12.0522 3.59443 11.9687L2.23676 9.43722C2.19774 9.36465 2.17379 9.28495 2.16634 9.20289C2.1589 9.12084 2.16812 9.03813 2.19345 8.95973C2.21557 8.8832 2.2541 8.81242 2.30636 8.7523C2.35861 8.69218 2.42334 8.64416 2.49603 8.61159L3.4004 8.2179C3.46575 8.19146 3.53591 8.17896 3.60637 8.1812C3.67684 8.18345 3.74606 8.20039 3.80959 8.23094C3.87313 8.26149 3.92959 8.30498 3.97534 8.35862C4.02109 8.41225 4.05514 8.47486 4.0753 8.54241C4.12772 8.68078 4.12656 8.83374 4.07204 8.97129C4.01752 9.10884 3.91357 9.22106 3.78059 9.28593L3.44314 9.43047L4.48923 11.3866C4.56015 11.5165 4.58089 11.6679 4.54751 11.8122C4.51412 11.9564 4.42894 12.0833 4.30814 12.1689C4.23031 12.2217 4.13841 12.2499 4.04436 12.2499Z", fill: "currentColor" })] })] }));
|
|
31875
31998
|
}
|
|
31876
31999
|
|
|
31877
|
-
|
|
31878
|
-
|
|
31879
|
-
|
|
32000
|
+
function SvgBetaIcon({ size = "medium", title, id, ...props }) {
|
|
32001
|
+
const iconSize = getIconSize(size);
|
|
32002
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32003
|
+
const isMeaningful = Boolean(title);
|
|
32004
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 640 640", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M384 64L224 64C206.3 64 192 78.3 192 96C192 113.7 206.3 128 224 128L224 279.5L103.5 490.3C98.6 499 96 508.7 96 518.7C96 550.4 121.6 576 153.3 576L486.7 576C518.3 576 544 550.4 544 518.7C544 508.7 541.4 498.9 536.5 490.3L416 279.5L416 128C433.7 128 448 113.7 448 96C448 78.3 433.7 64 416 64L384 64zM288 279.5L288 128L352 128L352 279.5C352 290.6 354.9 301.6 360.4 311.3L402 384L238 384L279.6 311.3C285.1 301.6 288 290.7 288 279.5z", fill: "currentColor" }) })] }));
|
|
31880
32005
|
}
|
|
31881
32006
|
|
|
31882
|
-
|
|
31883
|
-
|
|
31884
|
-
|
|
32007
|
+
function SvgMinusIcon({ size = "medium", title, id, ...props }) {
|
|
32008
|
+
const iconSize = getIconSize(size);
|
|
32009
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32010
|
+
const isMeaningful = Boolean(title);
|
|
32011
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 640 640", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z", fill: "currentColor" })] }));
|
|
31885
32012
|
}
|
|
31886
32013
|
|
|
31887
|
-
function SvgPlaceholderIcon({ size =
|
|
31888
|
-
|
|
32014
|
+
function SvgPlaceholderIcon({ size = "medium", title, id, ...props }) {
|
|
32015
|
+
const iconSize = getIconSize(size);
|
|
32016
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32017
|
+
const isMeaningful = Boolean(title);
|
|
32018
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { id: "20px/Icon placeholder", clipPath: "url(#clip0_717_6325)", children: jsx("path", { id: "Icon", d: "M9.99996 18.3333C14.6023 18.3333 18.3333 14.6023 18.3333 9.99996C18.3333 5.39759 14.6023 1.66663 9.99996 1.66663C5.39759 1.66663 1.66663 5.39759 1.66663 9.99996C1.66663 14.6023 5.39759 18.3333 9.99996 18.3333Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_717_6325", children: jsx("rect", { width: "20", height: "20", fill: "white" }) }) })] }));
|
|
31889
32019
|
}
|
|
31890
32020
|
|
|
31891
|
-
|
|
31892
|
-
|
|
31893
|
-
|
|
32021
|
+
function SvgPlusIcon({ size = "medium", title, id, ...props }) {
|
|
32022
|
+
const iconSize = getIconSize(size);
|
|
32023
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32024
|
+
const isMeaningful = Boolean(title);
|
|
32025
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 640 640", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("path", { d: "M352 128C352 110.3 337.7 96 320 96C302.3 96 288 110.3 288 128L288 288L128 288C110.3 288 96 302.3 96 320C96 337.7 110.3 352 128 352L288 352L288 512C288 529.7 302.3 544 320 544C337.7 544 352 529.7 352 512L352 352L512 352C529.7 352 544 337.7 544 320C544 302.3 529.7 288 512 288L352 288L352 128z", fill: "currentColor" })] }));
|
|
31894
32026
|
}
|
|
31895
32027
|
|
|
31896
|
-
function SvgTooltipArrowUp({ id
|
|
31897
|
-
|
|
32028
|
+
function SvgTooltipArrowUp({ title, id, ...props }) {
|
|
32029
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32030
|
+
const isMeaningful = Boolean(title);
|
|
32031
|
+
return (jsxs("svg", { id: id, width: "19", height: "9", viewBox: "0 0 19 9", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M8.4188 1.41421C9.19985 0.633163 10.4662 0.633165 11.2472 1.41421L18.833 9L0.833008 9L8.4188 1.41421Z", fill: "currentColor" }) })] }));
|
|
31898
32032
|
}
|
|
31899
32033
|
|
|
31900
|
-
function SvgUpRightFromSquareIcon({ size =
|
|
31901
|
-
|
|
32034
|
+
function SvgUpRightFromSquareIcon({ size = "medium", title, id, ...props }) {
|
|
32035
|
+
const iconSize = getIconSize(size);
|
|
32036
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32037
|
+
const isMeaningful = Boolean(title);
|
|
32038
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "0 0 512 512", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M290.4 19.8C295.4 7.8 307.1 0 320 0L480 0c17.7 0 32 14.3 32 32l0 160c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9L400 157.3 246.6 310.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L354.7 112 297.4 54.6c-9.2-9.2-11.9-22.9-6.9-34.9zM0 176c0-44.2 35.8-80 80-80l80 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-80 0c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-80c0-17.7 14.3-32 32-32s32 14.3 32 32l0 80c0 44.2-35.8 80-80 80L80 512c-44.2 0-80-35.8-80-80L0 176z", fill: "currentColor" }) })] }));
|
|
31902
32039
|
}
|
|
31903
32040
|
|
|
31904
|
-
function SvgReactAriaIcon({
|
|
31905
|
-
|
|
32041
|
+
function SvgReactAriaIcon({ size = "medium", title, id, ...props }) {
|
|
32042
|
+
const iconSize = getIconSize(size);
|
|
32043
|
+
const titleId = $390e54f620492c70$export$f680877a34711e37();
|
|
32044
|
+
const isMeaningful = Boolean(title);
|
|
32045
|
+
return (jsxs("svg", { id: id, width: iconSize, height: iconSize, viewBox: "200 206 800 790", xmlns: "http://www.w3.org/2000/svg", role: isMeaningful ? "img" : undefined, "aria-labelledby": isMeaningful ? titleId : undefined, "aria-hidden": isMeaningful ? undefined : true, focusable: "false", ...props, children: [title && jsx("title", { id: titleId, children: title }), jsx("g", { children: jsx("path", { d: "M720.67 205.995C867.583 205.995 986.679 325.091 986.68 472.003C986.68 590.753 908.865 691.325 801.446 725.521L979.312 948.055C994.438 966.98 980.963 995 956.736 995H795.612C778.743 995 762.715 987.629 751.734 974.823L697.365 911.421L493.126 653.39C457.134 607.918 489.518 540.979 547.511 540.977L720.67 540.971C758.758 540.971 789.635 510.091 789.635 472.003C789.634 433.915 758.758 403.038 720.67 403.038H429.939C404.955 403.038 388.623 391.886 373.994 373.623L277.349 252.966C262.194 234.045 275.664 205.996 299.905 205.995H720.67Z M396.605 720.706C407.798 705.406 430.443 704.843 442.381 719.568L503.816 797.018H502.786L535.569 838.934C548.074 854.358 549.943 877.191 538.047 893.09L476.638 972.545C465.692 986.707 448.803 995 430.903 995H242.276C218.18 995 204.665 967.248 219.523 948.278L337.992 797.018H337.923L396.605 720.706Z", fill: "#7F57FF" }) })] }));
|
|
31906
32046
|
}
|
|
31907
32047
|
|
|
31908
32048
|
var css_248z$8 = "/* Medium size (default) */\n.bcds-react-aria-Text.medium {\n font: var(--typography-regular-body);\n}\n\n.bcds-react-aria-Text.medium b,\n.bcds-react-aria-Text.medium strong {\n font: var(--typography-bold-body);\n}\n\n.bcds-react-aria-Text.medium i,\n.bcds-react-aria-Text.medium em {\n font: var(--typography-italic-body);\n}\n\n/* Small size */\n.bcds-react-aria-Text.small {\n font: var(--typography-regular-small-body);\n}\n\n.bcds-react-aria-Text.small b,\n.bcds-react-aria-Text.small strong {\n font: var(--typography-bold-small-body);\n}\n\n.bcds-react-aria-Text.small i,\n.bcds-react-aria-Text.small em {\n font: var(--typography-italic-small-body);\n}\n\n/* Large size */\n.bcds-react-aria-Text.large {\n font: var(--typography-regular-large-body);\n}\n\n.bcds-react-aria-Text.large b,\n.bcds-react-aria-Text.large strong {\n font: var(--typography-bold-large-body);\n}\n\n.bcds-react-aria-Text.large i,\n.bcds-react-aria-Text.large em {\n font: var(--typography-italic-large-body);\n}\n\n/* Text color */\n.bcds-react-aria-Text.primary {\n color: var(--typography-color-primary);\n}\n.bcds-react-aria-Text.primaryInvert {\n color: var(--typography-color-primary-invert);\n}\n.bcds-react-aria-Text.secondary {\n color: var(--typography-color-secondary);\n}\n.bcds-react-aria-Text.secondaryInvert {\n color: var(--typography-color-secondary-invert);\n}\n.bcds-react-aria-Text.disabled {\n color: var(--typography-color-disabled);\n}\n.bcds-react-aria-Text.danger {\n color: var(--typography-color-danger);\n}\n";
|
|
@@ -31972,8 +32112,8 @@ var css_248z = ".bcds-react-aria-NumberField {\n display: flex;\n flex-directi
|
|
|
31972
32112
|
styleInject(css_248z);
|
|
31973
32113
|
|
|
31974
32114
|
function NumberField({ size = "medium", label, description, minValue = 0, errorMessage, ...props }) {
|
|
31975
|
-
return (jsx($10076bcc592bc574$export$63c5fa0b2fdccd2e, { className: `bcds-react-aria-NumberField ${size}`, minValue: minValue, ...props, children: ({ isRequired, isInvalid }) => (jsxs(Fragment$1, { children: [label && (jsxs($43a3b93638fe5db9$export$b04be29aa201d4f5, { className: "bcds-react-aria-NumberField--Label", children: [label, isRequired && (jsx("span", { className: "bcds-react-aria-NumberField--Label required", children: "(required)" }))] })), jsxs($3a442827418ebe87$export$eb2fcfdbd7ba97d4, { className: "bcds-react-aria-NumberField--Group", children: [jsx("div", { className: "bcds-react-aria-NumberField--Button", children: size == "small" ? (jsx(Button, { size: "small", slot: "decrement", variant: "tertiary", isIconButton: true, children: jsx(
|
|
32115
|
+
return (jsx($10076bcc592bc574$export$63c5fa0b2fdccd2e, { className: `bcds-react-aria-NumberField ${size}`, minValue: minValue, ...props, children: ({ isRequired, isInvalid }) => (jsxs(Fragment$1, { children: [label && (jsxs($43a3b93638fe5db9$export$b04be29aa201d4f5, { className: "bcds-react-aria-NumberField--Label", children: [label, isRequired && (jsx("span", { className: "bcds-react-aria-NumberField--Label required", children: "(required)" }))] })), jsxs($3a442827418ebe87$export$eb2fcfdbd7ba97d4, { className: "bcds-react-aria-NumberField--Group", children: [jsx("div", { className: "bcds-react-aria-NumberField--Button", children: size == "small" ? (jsx(Button, { size: "small", slot: "decrement", variant: "tertiary", isIconButton: true, children: jsx(SvgMinusIcon, {}) })) : (jsx(Button, { slot: "decrement", variant: "tertiary", isIconButton: true, children: jsx(SvgMinusIcon, {}) })) }), jsxs("div", { className: "bcds-react-aria-NumberField--InputContainer", children: [jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: "bcds-react-aria-NumberField--Input" }), isInvalid && jsx(SvgExclamationIcon, {})] }), jsx("div", { className: "bcds-react-aria-NumberField--Button", children: size == "small" ? (jsx(Button, { size: "small", slot: "increment", variant: "tertiary", isIconButton: true, children: jsx(SvgPlusIcon, {}) })) : (jsx(Button, { slot: "increment", variant: "tertiary", isIconButton: true, children: jsx(SvgPlusIcon, {}) })) })] }), description && (jsx(Text, { className: "bcds-react-aria-NumberField--Description", slot: "description", children: description })), isInvalid && (jsx($1f3c3b1a70cec653$export$f551688fc98f2e09, { className: "bcds-react-aria-NumberField--Error", children: errorMessage }))] })) }));
|
|
31976
32116
|
}
|
|
31977
32117
|
|
|
31978
|
-
export { Accordion, AccordionGroup, AlertBanner, AlertDialog, Button, ButtonGroup, Calendar, Callout, Checkbox, CheckboxGroup, DatePicker, Dialog, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as DialogTrigger, Footer, FooterLinks, Form, Header, Heading, InlineAlert, Link, Menu, MenuItem, $49319ee1285aa241$export$4b1545b4f2016d26 as MenuSection, $53e61d82d8b8611d$export$8b251419efc915eb as MenuSectionHeader, $49319ee1285aa241$export$27d2ad3c5815583e as MenuTrigger, Modal, NumberField, ProgressBar, ProgressCircle, Radio, RadioGroup, Select, Separator, Subheader, $49319ee1285aa241$export$ecabc99eeffab7ca as SubmenuTrigger, SvgBcLogo, SvgBcOutlineIcon, SvgBetaIcon, SvgCalendarIcon, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronLeftIcon, SvgChevronRightIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon
|
|
32118
|
+
export { Accordion, AccordionGroup, AlertBanner, AlertDialog, Button, ButtonGroup, Calendar, Callout, Checkbox, CheckboxGroup, DatePicker, Dialog, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as DialogTrigger, Footer, FooterLinks, Form, Header, Heading, InlineAlert, Link, Menu, MenuItem, $49319ee1285aa241$export$4b1545b4f2016d26 as MenuSection, $53e61d82d8b8611d$export$8b251419efc915eb as MenuSectionHeader, $49319ee1285aa241$export$27d2ad3c5815583e as MenuTrigger, Modal, NumberField, ProgressBar, ProgressCircle, Radio, RadioGroup, Select, Separator, Subheader, $49319ee1285aa241$export$ecabc99eeffab7ca as SubmenuTrigger, SvgBcLogo, SvgBcOutlineIcon, SvgBetaIcon, SvgCalendarIcon, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronLeftIcon, SvgChevronRightIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, SvgMinusIcon, SvgPlaceholderIcon, SvgPlusIcon, SvgReactAriaIcon, SvgTooltipArrowUp, SvgUpRightFromSquareIcon, Switch, Tag, TagGroup, TagList, Text, TextArea, TextField, TimeField, ToggleButton, ToggleButtonGroup, Tooltip, $05a50f7d78b03ad9$export$8c610744efcf8a1d as TooltipTrigger };
|
|
31979
32119
|
//# sourceMappingURL=index.js.map
|