fermmap-shared 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +831 -273
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +465 -433
- package/dist/main.css.map +1 -1
- package/dist/module.css +465 -433
- package/dist/module.css.map +1 -1
- package/dist/module.mjs +833 -273
- package/dist/module.mjs.map +1 -1
- package/dist/types.d.ts +258 -72
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/styles/variables.css +1 -0
package/dist/main.cjs
CHANGED
|
@@ -38,6 +38,8 @@ function $parcel$export(e, n, v, s) {
|
|
|
38
38
|
function $parcel$interopDefault(a) {
|
|
39
39
|
return a && a.__esModule ? a.default : a;
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
$parcel$export(module.exports, "localeMessages", () => $c5d9f7a2bd6c13d4$export$d0451c6199f2a163);
|
|
41
43
|
// Components
|
|
42
44
|
var $305101ddbb5f36e4$exports = {};
|
|
43
45
|
|
|
@@ -52,6 +54,7 @@ $parcel$export($305101ddbb5f36e4$exports, "Checkbox", () => $300c3c8c5b9089df$ex
|
|
|
52
54
|
$parcel$export($305101ddbb5f36e4$exports, "CloseButton", () => $5a568b5eb65bfe76$export$de65de8213222d10);
|
|
53
55
|
$parcel$export($305101ddbb5f36e4$exports, "ComboBox", () => $1c0dbf01eb96351a$export$72b9695b8216309a);
|
|
54
56
|
$parcel$export($305101ddbb5f36e4$exports, "DisclosureGroup", () => $3764d8bc3c612a35$export$944aceb4f8c89f10);
|
|
57
|
+
$parcel$export($305101ddbb5f36e4$exports, "FermentTypeBadge", () => $6a064977073da228$export$3dd2bd9a4b724d5b);
|
|
55
58
|
$parcel$export($305101ddbb5f36e4$exports, "FilterTabs", () => $75461c19e6a33bc7$export$221f31a87e5a826c);
|
|
56
59
|
$parcel$export($305101ddbb5f36e4$exports, "LabeledValue", () => $8cb76c7220c44b28$export$d1328f67a56fa517);
|
|
57
60
|
$parcel$export($305101ddbb5f36e4$exports, "Link", () => $e0bb5e496bf3f32a$export$a6c7ac8248d6e38a);
|
|
@@ -67,6 +70,7 @@ $parcel$export($305101ddbb5f36e4$exports, "SegmentedTabs", () => $461fcfe38bace8
|
|
|
67
70
|
$parcel$export($305101ddbb5f36e4$exports, "SegmentedTabList", () => $461fcfe38bace82f$export$9a31a1604f014635);
|
|
68
71
|
$parcel$export($305101ddbb5f36e4$exports, "SegmentedTab", () => $461fcfe38bace82f$export$460d6ec869d02044);
|
|
69
72
|
$parcel$export($305101ddbb5f36e4$exports, "Select", () => $24de22966748f2e6$export$ef9b1a59e592288f);
|
|
73
|
+
$parcel$export($305101ddbb5f36e4$exports, "SourceCategoryBadge", () => $e17150d3e28b39fb$export$64133607978931b);
|
|
70
74
|
$parcel$export($305101ddbb5f36e4$exports, "StatCard", () => $22c620249a5b4412$export$b5cddb1a6bf990a0);
|
|
71
75
|
$parcel$export($305101ddbb5f36e4$exports, "Switch", () => $ba215883a18b1d7f$export$b5d5cf8927ab7262);
|
|
72
76
|
$parcel$export($305101ddbb5f36e4$exports, "Table", () => $dd65cef98a3548c0$export$54ec01a60f47d33d);
|
|
@@ -156,9 +160,9 @@ const $e6839169613154d7$var$buttonStyles = function anonymous(props) {
|
|
|
156
160
|
rules += ' pp12';
|
|
157
161
|
rules += ' plc12';
|
|
158
162
|
} else {
|
|
159
|
-
if (props.variant === "navigation") rules += '
|
|
163
|
+
if (props.variant === "navigation") rules += ' pMbOPsb12';
|
|
160
164
|
else if (props.variant === "danger") rules += ' px12';
|
|
161
|
-
else if (props.variant === "secondary") rules += '
|
|
165
|
+
else if (props.variant === "secondary") rules += ' pMbOPsb12';
|
|
162
166
|
rules += ' plb12';
|
|
163
167
|
}
|
|
164
168
|
rules += ' sd12';
|
|
@@ -244,7 +248,7 @@ const $e6839169613154d7$export$353f5b6fc5456de1 = ({ children: children, variant
|
|
|
244
248
|
|
|
245
249
|
|
|
246
250
|
const $6ab530226d5e3153$export$298b9ad7287f04ba = " sd12 _ta12 Ue12 qe12";
|
|
247
|
-
const $6ab530226d5e3153$export$706e9cce604ae69d = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
251
|
+
const $6ab530226d5e3153$export$706e9cce604ae69d = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
248
252
|
const $6ab530226d5e3153$var$inputStyles = function anonymous(props) {
|
|
249
253
|
let rules = " ";
|
|
250
254
|
if (props.isFocusVisible) rules += ' _Lf12';
|
|
@@ -285,12 +289,13 @@ const $6ab530226d5e3153$var$inputStyles = function anonymous(props) {
|
|
|
285
289
|
rules += ' _xa12';
|
|
286
290
|
rules += ' _Fb12';
|
|
287
291
|
rules += ' _FnuYUwec12';
|
|
288
|
-
rules += '
|
|
292
|
+
rules += ' pMbOPsb12';
|
|
293
|
+
rules += ' pYFIK2bgNcPsb12';
|
|
289
294
|
rules += ' gqlRAZb12';
|
|
290
295
|
return rules;
|
|
291
296
|
};
|
|
292
297
|
const $6ab530226d5e3153$export$923a9dafaeef3fba = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12 Js12";
|
|
293
|
-
const $6ab530226d5e3153$export$bf233b285dc0c047 = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
298
|
+
const $6ab530226d5e3153$export$bf233b285dc0c047 = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 Js12";
|
|
294
299
|
function $6ab530226d5e3153$export$2c73285ae9390cec({ label: label, type: type = 'text', error: error, description: description, placeholder: placeholder, ...props }) {
|
|
295
300
|
return (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.TextField), {
|
|
296
301
|
className: $6ab530226d5e3153$export$298b9ad7287f04ba,
|
|
@@ -324,7 +329,7 @@ function $6ab530226d5e3153$export$2c73285ae9390cec({ label: label, type: type =
|
|
|
324
329
|
const $09cc2cf19505fddf$var$overlayStyles = " _Pb12 Wr12 _lr12 _Ar12 _zr12 g812 sd12 eb12 _Ca12 _Bb12";
|
|
325
330
|
const $09cc2cf19505fddf$var$modalStyles = " gqlRAZb12 oe12 ne12 ke12 je12 _nLeasBb12 Th12 Qh12 Sh12 Rh12 Z9ar6Zb12 ZnA12 ZoQAax0d12 LQAax0d12 _ZBuPDyb12";
|
|
326
331
|
const $09cc2cf19505fddf$var$headingStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-lcY1Ce12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12 po12 Jy12 Gx12 Iy12 Hy12";
|
|
327
|
-
const $09cc2cf19505fddf$var$messageStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
332
|
+
const $09cc2cf19505fddf$var$messageStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 Jy12 GA12 Iy12 Hy12";
|
|
328
333
|
const $09cc2cf19505fddf$var$buttonGroupStyles = " sd12 Ug12 qg12 _Cb12";
|
|
329
334
|
function $09cc2cf19505fddf$export$de466dd8317b0b75({ isOpen: isOpen, onClose: onClose, title: title, message: message, variant: variant = 'info', confirmLabel: confirmLabel = 'OK', cancelLabel: cancelLabel = 'Cancel', onConfirm: onConfirm, showCancel: showCancel = true, children: children }) {
|
|
330
335
|
const [isProcessing, setIsProcessing] = (0, $fs04y$react.useState)(false);
|
|
@@ -483,7 +488,7 @@ function $09cc2cf19505fddf$export$a551a871839880f9({ isOpen: isOpen, onClose: on
|
|
|
483
488
|
|
|
484
489
|
|
|
485
490
|
const $cfd85bddfbd540ef$var$containerStyles = " sd12 _ta12 Ub12 qb12 Za12";
|
|
486
|
-
const $cfd85bddfbd540ef$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
491
|
+
const $cfd85bddfbd540ef$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
487
492
|
const $cfd85bddfbd540ef$var$searchFieldStyles = " sd12 _ta12 Ub12 qb12";
|
|
488
493
|
const $cfd85bddfbd540ef$var$inputContainerStyles = " _Pc12 sd12 eb12";
|
|
489
494
|
const $cfd85bddfbd540ef$var$inputStyles = function anonymous(props) {
|
|
@@ -514,7 +519,8 @@ const $cfd85bddfbd540ef$var$inputStyles = function anonymous(props) {
|
|
|
514
519
|
rules += ' _xa12';
|
|
515
520
|
rules += ' _Fb12';
|
|
516
521
|
rules += ' _FnuYUwec12';
|
|
517
|
-
rules += '
|
|
522
|
+
rules += ' pMbOPsb12';
|
|
523
|
+
rules += ' pYFIK2bgNcPsb12';
|
|
518
524
|
rules += ' oc12';
|
|
519
525
|
rules += ' nc12';
|
|
520
526
|
rules += ' kc12';
|
|
@@ -532,7 +538,7 @@ const $cfd85bddfbd540ef$var$inputStyles = function anonymous(props) {
|
|
|
532
538
|
};
|
|
533
539
|
const $cfd85bddfbd540ef$var$searchIconStyles = " _Pa12 _Et12 WF12 _ZoL69hc12 _Ob12 pcsq3ub12";
|
|
534
540
|
const $cfd85bddfbd540ef$var$popoverStyles = " gLYrGTd12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iWK72ub12 _nLeasBb12 Js12 KwHzgQe12 _Na12 Pa12 _Bb12";
|
|
535
|
-
const $cfd85bddfbd540ef$var$listBoxStyles = " Tp12 Qp12 Sp12 Rp12";
|
|
541
|
+
const $cfd85bddfbd540ef$var$listBoxStyles = " Tp12 Qp12 Sp12 Rp12 KlMDJtd12 Pa12";
|
|
536
542
|
const $cfd85bddfbd540ef$var$listBoxItemStyles = function anonymous(props) {
|
|
537
543
|
let rules = " ";
|
|
538
544
|
if (props.isFocusVisible) rules += ' _Lf12';
|
|
@@ -557,9 +563,9 @@ const $cfd85bddfbd540ef$var$listBoxItemStyles = function anonymous(props) {
|
|
|
557
563
|
rules += ' _Fb12';
|
|
558
564
|
rules += ' _FnuYUwec12';
|
|
559
565
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
560
|
-
else if (props.isFocused) rules += '
|
|
561
|
-
else if (props.isHovered) rules += '
|
|
562
|
-
else rules += '
|
|
566
|
+
else if (props.isFocused) rules += ' ppxXPsb12';
|
|
567
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
568
|
+
else rules += ' pMbOPsb12';
|
|
563
569
|
rules += ' St12';
|
|
564
570
|
rules += ' Rt12';
|
|
565
571
|
rules += ' Tt12';
|
|
@@ -590,11 +596,16 @@ const $cfd85bddfbd540ef$var$selectedItemStyles = function anonymous(props) {
|
|
|
590
596
|
const $cfd85bddfbd540ef$var$checkboxStyles = " Zu12 Ft12 _va12";
|
|
591
597
|
const $cfd85bddfbd540ef$var$itemTextStyles = " _Nc12 Pc12 _Yb12 _7c12";
|
|
592
598
|
const $cfd85bddfbd540ef$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12";
|
|
593
|
-
function $cfd85bddfbd540ef$export$2f2b9559550c7bbc({ items: items, selectedKeys: selectedKeys, onSelectionChange: onSelectionChange, selectionMode: selectionMode = 'none', label: label, placeholder: placeholder, ariaLabel: ariaLabel, error: error, getItemText: getItemText = (item)=>item.name }) {
|
|
599
|
+
function $cfd85bddfbd540ef$export$2f2b9559550c7bbc({ items: items, selectedKeys: selectedKeys, onSelectionChange: onSelectionChange, selectionMode: selectionMode = 'none', label: label, placeholder: placeholder, ariaLabel: ariaLabel, error: error, getItemText: getItemText = (item)=>item.name, onInputChange: externalOnInputChange, isDisabled: isDisabled = false }) {
|
|
594
600
|
const [inputValue, setInputValue] = (0, $fs04y$react.useState)('');
|
|
595
601
|
const { contains: contains } = (0, $fs04y$reactariacomponents.useFilter)({
|
|
596
602
|
sensitivity: 'base'
|
|
597
603
|
});
|
|
604
|
+
// Call external callback when input changes
|
|
605
|
+
const handleInputChange = (value)=>{
|
|
606
|
+
setInputValue(value);
|
|
607
|
+
externalOnInputChange?.(value);
|
|
608
|
+
};
|
|
598
609
|
// Filter items based on input value
|
|
599
610
|
const filteredItems = (0, $fs04y$react.useMemo)(()=>{
|
|
600
611
|
if (!inputValue) return items;
|
|
@@ -628,11 +639,12 @@ function $cfd85bddfbd540ef$export$2f2b9559550c7bbc({ items: items, selectedKeys:
|
|
|
628
639
|
children: (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.Autocomplete), {
|
|
629
640
|
filter: contains,
|
|
630
641
|
inputValue: inputValue,
|
|
631
|
-
onInputChange:
|
|
642
|
+
onInputChange: handleInputChange,
|
|
632
643
|
children: [
|
|
633
644
|
(0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.SearchField), {
|
|
634
645
|
className: $cfd85bddfbd540ef$var$searchFieldStyles,
|
|
635
646
|
"aria-label": ariaLabel || label,
|
|
647
|
+
isDisabled: isDisabled,
|
|
636
648
|
children: [
|
|
637
649
|
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Label), {
|
|
638
650
|
className: $cfd85bddfbd540ef$var$labelStyles,
|
|
@@ -643,7 +655,9 @@ function $cfd85bddfbd540ef$export$2f2b9559550c7bbc({ items: items, selectedKeys:
|
|
|
643
655
|
children: [
|
|
644
656
|
(0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
645
657
|
className: $cfd85bddfbd540ef$var$searchIconStyles,
|
|
646
|
-
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsSearch))), {
|
|
658
|
+
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsSearch))), {
|
|
659
|
+
styles: " -_8sjo0b-tMbOPsb12 Zm12 Fn12"
|
|
660
|
+
})
|
|
647
661
|
}),
|
|
648
662
|
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Input), {
|
|
649
663
|
className: $cfd85bddfbd540ef$var$inputStyles,
|
|
@@ -669,7 +683,10 @@ function $cfd85bddfbd540ef$export$2f2b9559550c7bbc({ items: items, selectedKeys:
|
|
|
669
683
|
children: [
|
|
670
684
|
showCheckboxes && (0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
671
685
|
className: $cfd85bddfbd540ef$var$checkboxStyles,
|
|
672
|
-
children: isSelected &&
|
|
686
|
+
children: isSelected && // @ts-expect-error passing non-standard css value to icon color
|
|
687
|
+
(0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsCheckmarkCircle))), {
|
|
688
|
+
styles: " -_8sjo0b-tMbOPsb12 Zm12 Fn12"
|
|
689
|
+
})
|
|
673
690
|
}),
|
|
674
691
|
(0, $fs04y$reactjsxruntime.jsx)("span", {
|
|
675
692
|
className: $cfd85bddfbd540ef$var$itemTextStyles,
|
|
@@ -721,7 +738,7 @@ const $300c3c8c5b9089df$var$checkboxStyles = function anonymous(props) {
|
|
|
721
738
|
rules += ' _Fb12';
|
|
722
739
|
rules += ' _FnuYUwec12';
|
|
723
740
|
if (props.isDisabled) rules += ' pp12';
|
|
724
|
-
else rules += '
|
|
741
|
+
else rules += ' pMbOPsb12';
|
|
725
742
|
if (props.isDisabled) rules += ' ri12';
|
|
726
743
|
else rules += ' ry12';
|
|
727
744
|
rules += ' __ca12';
|
|
@@ -759,18 +776,18 @@ const $300c3c8c5b9089df$var$boxStyles = function anonymous(props) {
|
|
|
759
776
|
rules += ' Xb12';
|
|
760
777
|
rules += ' _2b12';
|
|
761
778
|
if (props.isDisabled) {
|
|
762
|
-
if (props.isSelected) rules += '
|
|
779
|
+
if (props.isSelected) rules += ' gH12';
|
|
763
780
|
else rules += ' gH12';
|
|
764
781
|
} else if (props.isSelected) {
|
|
765
|
-
if (props.isPressed) rules += '
|
|
766
|
-
else if (props.isHovered) rules += '
|
|
767
|
-
else rules += '
|
|
782
|
+
if (props.isPressed) rules += ' gpxXPsb12';
|
|
783
|
+
else if (props.isHovered) rules += ' gpxXPsb12';
|
|
784
|
+
else rules += ' gMbOPsb12';
|
|
768
785
|
} else rules += ' gqlRAZb12';
|
|
769
786
|
if (props.isDisabled) rules += ' iq12';
|
|
770
787
|
else if (props.isSelected) rules += ' iA12';
|
|
771
|
-
else if (props.isPressed) rules += '
|
|
772
|
-
else if (props.isHovered) rules += '
|
|
773
|
-
else rules += '
|
|
788
|
+
else if (props.isPressed) rules += ' ipxXPsb12';
|
|
789
|
+
else if (props.isHovered) rules += ' ipxXPsb12';
|
|
790
|
+
else rules += ' iMbOPsb12';
|
|
774
791
|
return rules;
|
|
775
792
|
};
|
|
776
793
|
const $300c3c8c5b9089df$var$dashStyles = " ZC4Nfn12 FlAZvq12 g4hn3s12 oa12 na12 ka12 ja12";
|
|
@@ -812,7 +829,7 @@ function $300c3c8c5b9089df$export$48513f6b9f8ce62d({ size: size = 'M', children:
|
|
|
812
829
|
|
|
813
830
|
|
|
814
831
|
const $59fb461a0a6fd889$var$progressBarStyles = " sd12 _ta12 Ub12 qb12 Za12";
|
|
815
|
-
const $59fb461a0a6fd889$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
832
|
+
const $59fb461a0a6fd889$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 sd12 _Ce12";
|
|
816
833
|
const $59fb461a0a6fd889$var$trackStyles = " Fg12 gG3O2ub12 og12 ng12 kg12 jg12 _Nc12 Pc12 _Pc12";
|
|
817
834
|
const $59fb461a0a6fd889$var$fillStyles = " Fb12 gT8lPsb12 og12 ng12 kg12 jg12";
|
|
818
835
|
const $59fb461a0a6fd889$var$indeterminateFillStyles = " Fb12 gT8lPsb12 og12 ng12 kg12 jg12 ZuvNfn12";
|
|
@@ -891,7 +908,7 @@ const $dd65cef98a3548c0$var$columnHeaderStyles = function anonymous(props) {
|
|
|
891
908
|
rules += ' _Fd12';
|
|
892
909
|
rules += ' _FezxGHba12';
|
|
893
910
|
rules += ' _FnuYUweb12';
|
|
894
|
-
rules += '
|
|
911
|
+
rules += ' pMbOPsb12';
|
|
895
912
|
if (props.allowsSorting) rules += ' ry12';
|
|
896
913
|
return rules;
|
|
897
914
|
};
|
|
@@ -937,12 +954,12 @@ const $dd65cef98a3548c0$var$cellStyles = function anonymous(props) {
|
|
|
937
954
|
rules += ' _xa12';
|
|
938
955
|
rules += ' _Fb12';
|
|
939
956
|
rules += ' _FnuYUwec12';
|
|
940
|
-
rules += '
|
|
957
|
+
rules += ' pMbOPsb12';
|
|
941
958
|
rules += ' hb12';
|
|
942
959
|
return rules;
|
|
943
960
|
};
|
|
944
961
|
const $dd65cef98a3548c0$var$checkboxCellStyles = " Tf12 Qf12 Sf12 Rf12 ZF12 hb12";
|
|
945
|
-
const $dd65cef98a3548c0$var$emptyStateStyles = " To12 Qo12 So12 Ro12 _Wa12 uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
962
|
+
const $dd65cef98a3548c0$var$emptyStateStyles = " To12 Qo12 So12 Ro12 _Wa12 uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
946
963
|
const $dd65cef98a3548c0$var$loadingStyles = " Th12 Qh12 Sh12 Rh12 sd12 _Ca12";
|
|
947
964
|
const $dd65cef98a3548c0$var$scrollTriggerStyles = " FesY7Od12 _Ob12";
|
|
948
965
|
function $dd65cef98a3548c0$export$54ec01a60f47d33d({ data: data, columns: columns, onRowAction: onRowAction, ariaLabel: ariaLabel, sortDescriptor: sortDescriptor, onSortChange: onSortChange, selectionMode: selectionMode = 'none', selectedKeys: selectedKeys, onSelectionChange: onSelectionChange, onLoadMore: onLoadMore, isLoadingMore: isLoadingMore }) {
|
|
@@ -1193,17 +1210,17 @@ const $5f63bea78c5270d1$var$badgeStyles = function anonymous(props) {
|
|
|
1193
1210
|
rules += ' _Fd12';
|
|
1194
1211
|
rules += ' _FezxGHba12';
|
|
1195
1212
|
rules += ' _FnuYUweb12';
|
|
1196
|
-
if (props.variant === "yogurt") rules += '
|
|
1197
|
-
else if (props.variant === "peach") rules += '
|
|
1198
|
-
else if (props.variant === "ginger") rules += '
|
|
1199
|
-
else if (props.variant === "berry") rules += '
|
|
1200
|
-
else if (props.variant === "cucumber") rules += '
|
|
1201
|
-
else if (props.variant === "plum") rules += '
|
|
1202
|
-
else if (props.variant === "pending") rules += '
|
|
1203
|
-
else if (props.variant === "cancelled") rules += '
|
|
1204
|
-
else if (props.variant === "failed") rules += '
|
|
1205
|
-
else if (props.variant === "running") rules += '
|
|
1206
|
-
else if (props.variant === "completed") rules += '
|
|
1213
|
+
if (props.variant === "yogurt") rules += ' ps9I3ub12';
|
|
1214
|
+
else if (props.variant === "peach") rules += ' pFOMTm12';
|
|
1215
|
+
else if (props.variant === "ginger") rules += ' pSxB4R12';
|
|
1216
|
+
else if (props.variant === "berry") rules += ' p0F3CZ12';
|
|
1217
|
+
else if (props.variant === "cucumber") rules += ' pUtl8yb12';
|
|
1218
|
+
else if (props.variant === "plum") rules += ' pMbOPsb12';
|
|
1219
|
+
else if (props.variant === "pending") rules += ' pMbOPsb12';
|
|
1220
|
+
else if (props.variant === "cancelled") rules += ' pMbOPsb12';
|
|
1221
|
+
else if (props.variant === "failed") rules += ' p0F3CZ12';
|
|
1222
|
+
else if (props.variant === "running") rules += ' pSxB4R12';
|
|
1223
|
+
else if (props.variant === "completed") rules += ' pUtl8yb12';
|
|
1207
1224
|
rules += ' sg12';
|
|
1208
1225
|
if (props.variant === "yogurt") rules += ' g3HF2ub12';
|
|
1209
1226
|
else if (props.variant === "peach") rules += ' ggnJSm12';
|
|
@@ -1220,10 +1237,12 @@ const $5f63bea78c5270d1$var$badgeStyles = function anonymous(props) {
|
|
|
1220
1237
|
};
|
|
1221
1238
|
function $5f63bea78c5270d1$export$37acb3580601e69a({ variant: variant, children: children }) {
|
|
1222
1239
|
return (0, $fs04y$reactjsxruntime.jsx)("span", {
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1240
|
+
children: (0, $fs04y$reactjsxruntime.jsx)("span", {
|
|
1241
|
+
className: $5f63bea78c5270d1$var$badgeStyles({
|
|
1242
|
+
variant: variant
|
|
1243
|
+
}),
|
|
1244
|
+
children: children
|
|
1245
|
+
})
|
|
1227
1246
|
});
|
|
1228
1247
|
}
|
|
1229
1248
|
|
|
@@ -1306,7 +1325,7 @@ const $5a568b5eb65bfe76$export$de65de8213222d10 = ({ onClose: onClose, ...props
|
|
|
1306
1325
|
id: 'ferment.detail.close'
|
|
1307
1326
|
}),
|
|
1308
1327
|
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsCloseCircle))), {
|
|
1309
|
-
styles: " Zp12 Fq12"
|
|
1328
|
+
styles: " -_8sjo0b-tMbOPsb12 Zp12 Fq12"
|
|
1310
1329
|
})
|
|
1311
1330
|
});
|
|
1312
1331
|
};
|
|
@@ -1317,7 +1336,7 @@ const $5a568b5eb65bfe76$export$de65de8213222d10 = ({ onClose: onClose, ...props
|
|
|
1317
1336
|
|
|
1318
1337
|
|
|
1319
1338
|
const $1c0dbf01eb96351a$var$comboBoxContainerStyles = " sd12 _ta12 Ub12 qb12 Nh12";
|
|
1320
|
-
const $1c0dbf01eb96351a$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
1339
|
+
const $1c0dbf01eb96351a$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
1321
1340
|
const $1c0dbf01eb96351a$var$inputWrapperStyles = " _Pc12 sd12 eb12";
|
|
1322
1341
|
const $1c0dbf01eb96351a$var$inputStyles = function anonymous(props) {
|
|
1323
1342
|
let rules = " ";
|
|
@@ -1342,15 +1361,18 @@ const $1c0dbf01eb96351a$var$inputStyles = function anonymous(props) {
|
|
|
1342
1361
|
rules += ' _xa12';
|
|
1343
1362
|
rules += ' _Fb12';
|
|
1344
1363
|
rules += ' _FnuYUwec12';
|
|
1345
|
-
if (props.isDisabled) rules += '
|
|
1346
|
-
else
|
|
1364
|
+
if (props.isDisabled) rules += ' pp12';
|
|
1365
|
+
else {
|
|
1366
|
+
rules += ' pMbOPsb12';
|
|
1367
|
+
rules += ' pYFIK2bgNcPsb12';
|
|
1368
|
+
}
|
|
1347
1369
|
rules += ' _ub12';
|
|
1348
1370
|
rules += ' _vb12';
|
|
1349
1371
|
rules += ' Se12';
|
|
1350
1372
|
rules += ' Rk12';
|
|
1351
1373
|
rules += ' Tt12';
|
|
1352
1374
|
rules += ' Qt12';
|
|
1353
|
-
if (props.isDisabled) rules += '
|
|
1375
|
+
if (props.isDisabled) rules += ' gqlRAZb12';
|
|
1354
1376
|
else if (props.isFocusVisible) rules += ' gG3O2ub12';
|
|
1355
1377
|
else rules += ' g3HF2ub12';
|
|
1356
1378
|
rules += ' oc12';
|
|
@@ -1362,8 +1384,8 @@ const $1c0dbf01eb96351a$var$inputStyles = function anonymous(props) {
|
|
|
1362
1384
|
rules += ' mb12';
|
|
1363
1385
|
rules += ' lb12';
|
|
1364
1386
|
rules += ' _jf12';
|
|
1365
|
-
if (props.isDisabled) rules += '
|
|
1366
|
-
else if (props.isFocusVisible) rules += '
|
|
1387
|
+
if (props.isDisabled) rules += ' ir12';
|
|
1388
|
+
else if (props.isFocusVisible) rules += ' iMbOPsb12';
|
|
1367
1389
|
else rules += ' iWK72ub12';
|
|
1368
1390
|
return rules;
|
|
1369
1391
|
};
|
|
@@ -1410,11 +1432,11 @@ const $1c0dbf01eb96351a$var$listBoxItemStyles = function anonymous(props) {
|
|
|
1410
1432
|
rules += ' _Fb12';
|
|
1411
1433
|
rules += ' _FnuYUwec12';
|
|
1412
1434
|
if (props.isDisabled) rules += ' pp12';
|
|
1413
|
-
else if (props.isSelected) rules += '
|
|
1435
|
+
else if (props.isSelected) rules += ' ppxXPsb12';
|
|
1414
1436
|
else if (props.isPressed) rules += ' ppxXPsb12';
|
|
1415
|
-
else if (props.isFocused) rules += '
|
|
1416
|
-
else if (props.isHovered) rules += '
|
|
1417
|
-
else rules += '
|
|
1437
|
+
else if (props.isFocused) rules += ' ppxXPsb12';
|
|
1438
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
1439
|
+
else rules += ' pMbOPsb12';
|
|
1418
1440
|
rules += ' St12';
|
|
1419
1441
|
rules += ' Rt12';
|
|
1420
1442
|
rules += ' Tp12';
|
|
@@ -1425,26 +1447,30 @@ const $1c0dbf01eb96351a$var$listBoxItemStyles = function anonymous(props) {
|
|
|
1425
1447
|
rules += ' ja12';
|
|
1426
1448
|
if (props.isDisabled) rules += ' ru12';
|
|
1427
1449
|
else rules += ' ry12';
|
|
1428
|
-
if (props.isDisabled) rules += '
|
|
1450
|
+
if (props.isDisabled) rules += ' gH12';
|
|
1429
1451
|
else if (props.isFocused) rules += ' gG3O2ub12';
|
|
1430
1452
|
else if (props.isSelected) rules += ' g05TOsb12';
|
|
1431
1453
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
1432
1454
|
else rules += ' g912';
|
|
1433
1455
|
return rules;
|
|
1434
1456
|
};
|
|
1435
|
-
const $1c0dbf01eb96351a$var$descriptionStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12
|
|
1457
|
+
const $1c0dbf01eb96351a$var$descriptionStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 pMbOPsb12";
|
|
1436
1458
|
const $1c0dbf01eb96351a$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 pnkUCZ12";
|
|
1437
1459
|
function $1c0dbf01eb96351a$export$72b9695b8216309a({ label: label, description: description, errorMessage: errorMessage, isRequired: isRequired = false, isDisabled: isDisabled = false, selectedKey: selectedKey, onSelectionChange: onSelectionChange, items: items, placeholder: placeholder, 'aria-label': ariaLabel, inputValue: controlledInputValue, onInputChange: controlledOnInputChange }) {
|
|
1438
1460
|
const [internalInputValue, setInternalInputValue] = (0, $fs04y$react.useState)('');
|
|
1439
|
-
//
|
|
1461
|
+
// Only sync input value with selected item when NOT using controlled input
|
|
1462
|
+
// (for async search, the parent controls inputValue)
|
|
1440
1463
|
(0, $fs04y$react.useEffect)(()=>{
|
|
1464
|
+
if (controlledInputValue !== undefined) // When using controlled input (search mode), don't sync with selection
|
|
1465
|
+
return;
|
|
1441
1466
|
if (selectedKey) {
|
|
1442
1467
|
const selected = items.find((item)=>item.id === selectedKey);
|
|
1443
1468
|
if (selected) setInternalInputValue(selected.label);
|
|
1444
1469
|
} else setInternalInputValue('');
|
|
1445
1470
|
}, [
|
|
1446
1471
|
selectedKey,
|
|
1447
|
-
items
|
|
1472
|
+
items,
|
|
1473
|
+
controlledInputValue
|
|
1448
1474
|
]);
|
|
1449
1475
|
// Use controlled inputValue if provided, otherwise use internal state
|
|
1450
1476
|
const effectiveInputValue = controlledInputValue !== undefined ? controlledInputValue : internalInputValue;
|
|
@@ -1472,7 +1498,9 @@ function $1c0dbf01eb96351a$export$72b9695b8216309a({ label: label, description:
|
|
|
1472
1498
|
}),
|
|
1473
1499
|
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Button), {
|
|
1474
1500
|
className: $1c0dbf01eb96351a$var$buttonStyles,
|
|
1475
|
-
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsChevronDown))), {
|
|
1501
|
+
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsChevronDown))), {
|
|
1502
|
+
styles: " -_8sjo0b-tMbOPsb12 Zm12 Fn12"
|
|
1503
|
+
})
|
|
1476
1504
|
})
|
|
1477
1505
|
]
|
|
1478
1506
|
}),
|
|
@@ -1545,9 +1573,13 @@ const $3764d8bc3c612a35$var$disclosureTriggerStyles = function anonymous(props)
|
|
|
1545
1573
|
rules += ' _FezxGHba12';
|
|
1546
1574
|
rules += ' _FnuYUweb12';
|
|
1547
1575
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
1548
|
-
else if (props.isFocusVisible) rules += '
|
|
1549
|
-
else if (props.isHovered) rules += '
|
|
1550
|
-
else rules += '
|
|
1576
|
+
else if (props.isFocusVisible) rules += ' ppxXPsb12';
|
|
1577
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
1578
|
+
else rules += ' pMbOPsb12';
|
|
1579
|
+
if (props.isPressed) rules += ' -_8sjo0b-ppxXPsb12';
|
|
1580
|
+
else if (props.isFocusVisible) rules += ' -_8sjo0b-ppxXPsb12';
|
|
1581
|
+
else if (props.isHovered) rules += ' -_8sjo0b-ppxXPsb12';
|
|
1582
|
+
else rules += ' -_8sjo0b-pMbOPsb12';
|
|
1551
1583
|
rules += ' sd12';
|
|
1552
1584
|
rules += ' eb12';
|
|
1553
1585
|
rules += ' Ue12';
|
|
@@ -1590,10 +1622,11 @@ function $3764d8bc3c612a35$export$944aceb4f8c89f10({ items: items, ...props }) {
|
|
|
1590
1622
|
...props,
|
|
1591
1623
|
className: $3764d8bc3c612a35$var$disclosureContainerStyles,
|
|
1592
1624
|
children: items.map((item)=>(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Disclosure), {
|
|
1625
|
+
id: item.id,
|
|
1593
1626
|
children: (0, $fs04y$reactjsxruntime.jsx)($3764d8bc3c612a35$var$DisclosureContents, {
|
|
1594
1627
|
...item
|
|
1595
|
-
}, item.id)
|
|
1596
|
-
}
|
|
1628
|
+
}, `${item.id}-contents`)
|
|
1629
|
+
}))
|
|
1597
1630
|
});
|
|
1598
1631
|
}
|
|
1599
1632
|
const $3764d8bc3c612a35$var$DisclosureContents = (item)=>{
|
|
@@ -1627,6 +1660,71 @@ const $3764d8bc3c612a35$var$DisclosureContents = (item)=>{
|
|
|
1627
1660
|
|
|
1628
1661
|
|
|
1629
1662
|
|
|
1663
|
+
/**
|
|
1664
|
+
* Get colors for a ferment category
|
|
1665
|
+
* Returns marker color (for map), badge background, and badge text color
|
|
1666
|
+
*
|
|
1667
|
+
* @example
|
|
1668
|
+
* const colors = getCategoryColors('dairy');
|
|
1669
|
+
* // { marker: 'var(--plum-500)', badge: 'plum' }
|
|
1670
|
+
*/ function $9df03defd63c82e0$export$2514cbae0d5c71c5(category) {
|
|
1671
|
+
const colorMap = {
|
|
1672
|
+
dairy: {
|
|
1673
|
+
marker: 'var(--yogurt-500)',
|
|
1674
|
+
badge: 'peach'
|
|
1675
|
+
},
|
|
1676
|
+
vegetable: {
|
|
1677
|
+
marker: 'var(--cucumber-500)',
|
|
1678
|
+
badge: 'cucumber'
|
|
1679
|
+
},
|
|
1680
|
+
beverage: {
|
|
1681
|
+
marker: 'var(--berry-500)',
|
|
1682
|
+
badge: 'berry'
|
|
1683
|
+
},
|
|
1684
|
+
grain: {
|
|
1685
|
+
marker: 'var(--ginger-500)',
|
|
1686
|
+
badge: 'ginger'
|
|
1687
|
+
},
|
|
1688
|
+
legume: {
|
|
1689
|
+
marker: 'var(--ginger-600)',
|
|
1690
|
+
badge: 'ginger'
|
|
1691
|
+
},
|
|
1692
|
+
meat: {
|
|
1693
|
+
marker: 'var(--berry-500)',
|
|
1694
|
+
badge: 'berry'
|
|
1695
|
+
},
|
|
1696
|
+
fish: {
|
|
1697
|
+
marker: 'var(--berry-500)',
|
|
1698
|
+
badge: 'berry'
|
|
1699
|
+
},
|
|
1700
|
+
condiment: {
|
|
1701
|
+
marker: 'var(--plum-500)',
|
|
1702
|
+
badge: 'plum'
|
|
1703
|
+
},
|
|
1704
|
+
other: {
|
|
1705
|
+
marker: 'var(--yogurt-500)',
|
|
1706
|
+
badge: 'peach'
|
|
1707
|
+
}
|
|
1708
|
+
};
|
|
1709
|
+
// Default to yogurt colors for unknown categories
|
|
1710
|
+
return colorMap[category.toLowerCase()] || {
|
|
1711
|
+
marker: 'var(--yogurt-500)',
|
|
1712
|
+
badge: 'yogurt'
|
|
1713
|
+
};
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
function $6a064977073da228$export$3dd2bd9a4b724d5b({ category: category }) {
|
|
1718
|
+
const colors = (0, $9df03defd63c82e0$export$2514cbae0d5c71c5)(category);
|
|
1719
|
+
return (0, $fs04y$reactjsxruntime.jsx)((0, $5f63bea78c5270d1$export$37acb3580601e69a), {
|
|
1720
|
+
variant: colors.badge,
|
|
1721
|
+
children: category
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
|
|
1727
|
+
|
|
1630
1728
|
|
|
1631
1729
|
const $75461c19e6a33bc7$var$filterContainerStyles = " sd12 Uh12 qh12 Tp12 Qp12 Sp12 Rp12 gG3O2ub12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iWK72ub12";
|
|
1632
1730
|
const $75461c19e6a33bc7$var$filterButtonStyles = function anonymous(props) {
|
|
@@ -1661,9 +1759,9 @@ const $75461c19e6a33bc7$var$filterButtonStyles = function anonymous(props) {
|
|
|
1661
1759
|
rules += ' _Fb12';
|
|
1662
1760
|
rules += ' _FnuYUwec12';
|
|
1663
1761
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
1664
|
-
else if (props.isFocusVisible) rules += '
|
|
1665
|
-
else if (props.isHovered) rules += '
|
|
1666
|
-
else rules += '
|
|
1762
|
+
else if (props.isFocusVisible) rules += ' ppxXPsb12';
|
|
1763
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
1764
|
+
else rules += ' pMbOPsb12';
|
|
1667
1765
|
rules += ' g912';
|
|
1668
1766
|
rules += ' _je12';
|
|
1669
1767
|
rules += ' ob12';
|
|
@@ -1733,19 +1831,89 @@ function $75461c19e6a33bc7$export$221f31a87e5a826c({ value: value, onChange: onC
|
|
|
1733
1831
|
|
|
1734
1832
|
|
|
1735
1833
|
|
|
1736
|
-
const $8cb76c7220c44b28$var$labeledValueStyles =
|
|
1737
|
-
|
|
1738
|
-
|
|
1834
|
+
const $8cb76c7220c44b28$var$labeledValueStyles = function anonymous(props) {
|
|
1835
|
+
let rules = " ";
|
|
1836
|
+
rules += ' uk12';
|
|
1837
|
+
rules += ' uch12';
|
|
1838
|
+
rules += ' udi12';
|
|
1839
|
+
rules += ' uea12';
|
|
1840
|
+
rules += ' ugb12';
|
|
1841
|
+
rules += ' uhd12';
|
|
1842
|
+
rules += ' uje12';
|
|
1843
|
+
rules += ' u2NhKxcl12';
|
|
1844
|
+
rules += ' uic12';
|
|
1845
|
+
rules += ' -_6BNtrc-d12';
|
|
1846
|
+
rules += ' vx12';
|
|
1847
|
+
rules += ' wb12';
|
|
1848
|
+
rules += ' xb12';
|
|
1849
|
+
rules += ' _xa12';
|
|
1850
|
+
rules += ' _Fb12';
|
|
1851
|
+
rules += ' _FnuYUwec12';
|
|
1852
|
+
rules += ' pMbOPsb12';
|
|
1853
|
+
rules += ' sd12';
|
|
1854
|
+
if (props.labelPosition === "side") rules += ' _tc12';
|
|
1855
|
+
else rules += ' _ta12';
|
|
1856
|
+
rules += ' Ue12';
|
|
1857
|
+
rules += ' qe12';
|
|
1858
|
+
if (props.labelPosition === "side") rules += ' eb12';
|
|
1859
|
+
return rules;
|
|
1860
|
+
};
|
|
1861
|
+
const $8cb76c7220c44b28$var$labeledValueLabelStyles = function anonymous(props) {
|
|
1862
|
+
let rules = " ";
|
|
1863
|
+
if (props.isBoldLabel) {
|
|
1864
|
+
rules += ' uk12';
|
|
1865
|
+
rules += ' uch12';
|
|
1866
|
+
rules += ' udi12';
|
|
1867
|
+
rules += ' uea12';
|
|
1868
|
+
rules += ' ugb12';
|
|
1869
|
+
rules += ' uhd12';
|
|
1870
|
+
rules += ' uje12';
|
|
1871
|
+
rules += ' u2NhKxcl12';
|
|
1872
|
+
rules += ' uic12';
|
|
1873
|
+
}
|
|
1874
|
+
if (props.isBoldLabel) {
|
|
1875
|
+
rules += ' -_6BNtrc-d12';
|
|
1876
|
+
rules += ' vx12';
|
|
1877
|
+
}
|
|
1878
|
+
if (props.isBoldLabel) {
|
|
1879
|
+
rules += ' wd12';
|
|
1880
|
+
rules += ' xd12';
|
|
1881
|
+
rules += ' _xa12';
|
|
1882
|
+
rules += ' wX0cczbc12';
|
|
1883
|
+
rules += ' xX0cczbc12';
|
|
1884
|
+
rules += ' _xX0cczba12';
|
|
1885
|
+
rules += ' wfd12';
|
|
1886
|
+
rules += ' xfd12';
|
|
1887
|
+
rules += ' _xfa12';
|
|
1888
|
+
rules += ' wfX0cczbc12';
|
|
1889
|
+
rules += ' xfX0cczbc12';
|
|
1890
|
+
rules += ' _xfX0cczba12';
|
|
1891
|
+
}
|
|
1892
|
+
if (props.isBoldLabel) {
|
|
1893
|
+
rules += ' _Fd12';
|
|
1894
|
+
rules += ' _FezxGHba12';
|
|
1895
|
+
rules += ' _FnuYUweb12';
|
|
1896
|
+
}
|
|
1897
|
+
rules += ' pMbOPsb12';
|
|
1898
|
+
return rules;
|
|
1899
|
+
};
|
|
1900
|
+
function $8cb76c7220c44b28$export$d1328f67a56fa517({ label: label, children: children, error: error, description: description, isBoldLabel: isBoldLabel = false, labelPosition: labelPosition = 'top', ...props }) {
|
|
1739
1901
|
return (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.TextField), {
|
|
1740
|
-
className: $8cb76c7220c44b28$var$labeledValueStyles
|
|
1902
|
+
className: $8cb76c7220c44b28$var$labeledValueStyles({
|
|
1903
|
+
labelPosition: labelPosition
|
|
1904
|
+
}),
|
|
1741
1905
|
...props,
|
|
1742
1906
|
children: [
|
|
1743
|
-
(0, $fs04y$reactjsxruntime.
|
|
1744
|
-
className:
|
|
1745
|
-
|
|
1907
|
+
(0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.Label), {
|
|
1908
|
+
className: $8cb76c7220c44b28$var$labeledValueLabelStyles({
|
|
1909
|
+
isBoldLabel: isBoldLabel
|
|
1910
|
+
}),
|
|
1911
|
+
children: [
|
|
1912
|
+
label,
|
|
1913
|
+
labelPosition === 'side' && ':'
|
|
1914
|
+
]
|
|
1746
1915
|
}),
|
|
1747
1916
|
(0, $fs04y$reactjsxruntime.jsx)("span", {
|
|
1748
|
-
className: $8cb76c7220c44b28$var$labeledValueValueStyles,
|
|
1749
1917
|
children: children
|
|
1750
1918
|
}),
|
|
1751
1919
|
description && !error && (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Text), {
|
|
@@ -1788,9 +1956,9 @@ const $e0bb5e496bf3f32a$var$linkStyles = function anonymous(props) {
|
|
|
1788
1956
|
rules += ' _xa12';
|
|
1789
1957
|
rules += ' _Fb12';
|
|
1790
1958
|
rules += ' _FnuYUwec12';
|
|
1791
|
-
if (props.isPressed) rules += '
|
|
1792
|
-
else if (props.isHovered) rules += '
|
|
1793
|
-
else rules += '
|
|
1959
|
+
if (props.isPressed) rules += ' ppxXPsb12';
|
|
1960
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
1961
|
+
else rules += ' pMbOPsb12';
|
|
1794
1962
|
rules += ' ry12';
|
|
1795
1963
|
if (props.isHovered) rules += ' g912';
|
|
1796
1964
|
else rules += ' g912';
|
|
@@ -1891,15 +2059,15 @@ const $0febc43943e0acfb$var$linkButtonStyles = function anonymous(props) {
|
|
|
1891
2059
|
rules += ' plc12';
|
|
1892
2060
|
} else {
|
|
1893
2061
|
if (props.variant === "inline") {
|
|
1894
|
-
if (props.isPressed) rules += '
|
|
1895
|
-
else if (props.isHovered) rules += '
|
|
1896
|
-
else rules += '
|
|
2062
|
+
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2063
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2064
|
+
else rules += ' pMbOPsb12';
|
|
1897
2065
|
} else if (props.variant === "navigation") {
|
|
1898
|
-
if (props.isPressed) rules += '
|
|
1899
|
-
else if (props.isHovered) rules += '
|
|
1900
|
-
else rules += '
|
|
2066
|
+
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2067
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2068
|
+
else rules += ' pMbOPsb12';
|
|
1901
2069
|
} else if (props.variant === "danger") rules += ' px12';
|
|
1902
|
-
else if (props.variant === "secondary") rules += '
|
|
2070
|
+
else if (props.variant === "secondary") rules += ' pMbOPsb12';
|
|
1903
2071
|
rules += ' plb12';
|
|
1904
2072
|
}
|
|
1905
2073
|
rules += ' sd12';
|
|
@@ -1929,31 +2097,32 @@ const $0febc43943e0acfb$var$linkButtonStyles = function anonymous(props) {
|
|
|
1929
2097
|
else rules += ' Rf12';
|
|
1930
2098
|
if (props.variant === "navigation") rules += ' ZJ12';
|
|
1931
2099
|
if (props.isDisabled) {
|
|
1932
|
-
if (props.isDisabled) rules += '
|
|
2100
|
+
if (props.isDisabled) rules += ' gH12';
|
|
1933
2101
|
else rules += ' gH12';
|
|
1934
2102
|
} else {
|
|
1935
2103
|
if (props.variant === "inline") {
|
|
1936
2104
|
if (props.isPressed) rules += ' gjpY2ub12';
|
|
1937
|
-
else if (props.
|
|
2105
|
+
else if (props.isFocusVisible) rules += ' gG3O2ub12';
|
|
2106
|
+
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
1938
2107
|
else rules += ' g912';
|
|
1939
2108
|
} else if (props.variant === "danger") {
|
|
1940
2109
|
if (props.isPressed) rules += ' gnkUCZ12';
|
|
1941
|
-
else if (props.
|
|
2110
|
+
else if (props.isFocusVisible) rules += ' gKYKCZ12';
|
|
1942
2111
|
else if (props.isHovered) rules += ' gKYKCZ12';
|
|
1943
2112
|
else rules += ' g7CBCZ12';
|
|
1944
2113
|
} else if (props.variant === "navigation") {
|
|
1945
2114
|
if (props.isPressed) rules += ' gjpY2ub12';
|
|
1946
|
-
else if (props.
|
|
2115
|
+
else if (props.isFocusVisible) rules += ' gG3O2ub12';
|
|
1947
2116
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
1948
2117
|
else rules += ' g912';
|
|
1949
2118
|
} else if (props.variant === "secondary") {
|
|
1950
2119
|
if (props.isPressed) rules += ' gWK72ub12';
|
|
1951
|
-
else if (props.
|
|
2120
|
+
else if (props.isFocusVisible) rules += ' gjpY2ub12';
|
|
1952
2121
|
else if (props.isHovered) rules += ' gjpY2ub12';
|
|
1953
2122
|
else rules += ' gG3O2ub12';
|
|
1954
2123
|
} else if (props.variant === "primary") {
|
|
1955
2124
|
if (props.isPressed) rules += ' ggNcPsb12';
|
|
1956
|
-
else if (props.
|
|
2125
|
+
else if (props.isFocusVisible) rules += ' ggNcPsb12';
|
|
1957
2126
|
else if (props.isHovered) rules += ' ggNcPsb12';
|
|
1958
2127
|
else rules += ' gDr3Osb12';
|
|
1959
2128
|
} else rules += ' gDr3Osb12';
|
|
@@ -2021,9 +2190,9 @@ const $0c771dca8e0e8649$var$menuItemStyles = function anonymous(props) {
|
|
|
2021
2190
|
rules += ' _Fb12';
|
|
2022
2191
|
rules += ' _FnuYUwec12';
|
|
2023
2192
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2024
|
-
else if (props.isFocused) rules += '
|
|
2025
|
-
else if (props.isHovered) rules += '
|
|
2026
|
-
else rules += '
|
|
2193
|
+
else if (props.isFocused) rules += ' ppxXPsb12';
|
|
2194
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2195
|
+
else rules += ' pMbOPsb12';
|
|
2027
2196
|
if (props.isFocused) rules += ' gG3O2ub12';
|
|
2028
2197
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
2029
2198
|
else rules += ' g912';
|
|
@@ -2135,7 +2304,7 @@ function $89a44c40dc4f72d5$export$ace2b65713be14d8({ validation: validation }) {
|
|
|
2135
2304
|
|
|
2136
2305
|
const $d1460dbc559e1751$var$popoverStyles = " gqlRAZb12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iDr3Osb12 Th12 Qh12 Sh12 Rh12 L6Neosc12 _nLeasBb12";
|
|
2137
2306
|
const $d1460dbc559e1751$var$dialogStyles = " KBxJurc12 _Na12 Pa12";
|
|
2138
|
-
const $d1460dbc559e1751$var$headingStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-g12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12
|
|
2307
|
+
const $d1460dbc559e1751$var$headingStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-g12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12 pMbOPsb12 Jy12 GC12 Iy12 Hy12";
|
|
2139
2308
|
function $d1460dbc559e1751$export$5b6b19405a83ff9d({ title: title, children: children }) {
|
|
2140
2309
|
return (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Popover), {
|
|
2141
2310
|
className: $d1460dbc559e1751$var$popoverStyles,
|
|
@@ -2159,7 +2328,7 @@ function $d1460dbc559e1751$export$5b6b19405a83ff9d({ title: title, children: chi
|
|
|
2159
2328
|
|
|
2160
2329
|
|
|
2161
2330
|
const $41157374edf6228b$var$radioGroupStyles = " sd12 _ta12 Ue12 qe12";
|
|
2162
|
-
const $41157374edf6228b$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 _Fb12 _FnuYUwec12
|
|
2331
|
+
const $41157374edf6228b$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 _Fb12 _FnuYUwec12 pMbOPsb12 Gv12";
|
|
2163
2332
|
const $41157374edf6228b$var$radioContainerStyles = " sd12 _ta12 Ug12 qg12";
|
|
2164
2333
|
const $41157374edf6228b$var$radioStyles = function anonymous(props) {
|
|
2165
2334
|
let rules = " ";
|
|
@@ -2189,9 +2358,9 @@ const $41157374edf6228b$var$radioStyles = function anonymous(props) {
|
|
|
2189
2358
|
rules += ' _Fb12';
|
|
2190
2359
|
rules += ' _FnuYUwec12';
|
|
2191
2360
|
if (props.isDisabled) rules += ' pp12';
|
|
2192
|
-
else if (props.isHovered) rules += '
|
|
2193
|
-
else if (props.isSelected) rules += '
|
|
2194
|
-
else rules += '
|
|
2361
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2362
|
+
else if (props.isSelected) rules += ' ppxXPsb12';
|
|
2363
|
+
else rules += ' pMbOPsb12';
|
|
2195
2364
|
rules += ' ry12';
|
|
2196
2365
|
rules += ' Tt12';
|
|
2197
2366
|
rules += ' Qt12';
|
|
@@ -2218,10 +2387,10 @@ const $41157374edf6228b$var$radioButtonStyles = function anonymous(props) {
|
|
|
2218
2387
|
rules += ' mc12';
|
|
2219
2388
|
rules += ' lc12';
|
|
2220
2389
|
rules += ' _jf12';
|
|
2221
|
-
if (props.isDisabled) rules += '
|
|
2390
|
+
if (props.isDisabled) rules += ' iq12';
|
|
2222
2391
|
else if (props.isHovered) rules += ' iDr3Osb12';
|
|
2223
2392
|
else if (props.isSelected) rules += ' iT8lPsb12';
|
|
2224
|
-
else rules += '
|
|
2393
|
+
else rules += ' igNcPsb12';
|
|
2225
2394
|
rules += ' sd12';
|
|
2226
2395
|
rules += ' eb12';
|
|
2227
2396
|
rules += ' _Ca12';
|
|
@@ -2295,6 +2464,7 @@ function $41157374edf6228b$export$a98f0dcb43a68a25({ label: label, options: opti
|
|
|
2295
2464
|
|
|
2296
2465
|
|
|
2297
2466
|
|
|
2467
|
+
|
|
2298
2468
|
const $1f2c2c3990efdd5e$var$searchFieldContainerStyles = "";
|
|
2299
2469
|
const $1f2c2c3990efdd5e$var$searchFieldStyles = " sd12 _ta12 Ub12 qb12";
|
|
2300
2470
|
const $1f2c2c3990efdd5e$var$searchInputContainerStyles = " _Pc12 sd12 eb12";
|
|
@@ -2326,7 +2496,8 @@ const $1f2c2c3990efdd5e$var$searchInputStyles = function anonymous(props) {
|
|
|
2326
2496
|
rules += ' _xa12';
|
|
2327
2497
|
rules += ' _Fb12';
|
|
2328
2498
|
rules += ' _FnuYUwec12';
|
|
2329
|
-
rules += '
|
|
2499
|
+
rules += ' pMbOPsb12';
|
|
2500
|
+
rules += ' pYFIK2bgNcPsb12';
|
|
2330
2501
|
rules += ' oc12';
|
|
2331
2502
|
rules += ' nc12';
|
|
2332
2503
|
rules += ' kc12';
|
|
@@ -2342,7 +2513,7 @@ const $1f2c2c3990efdd5e$var$searchInputStyles = function anonymous(props) {
|
|
|
2342
2513
|
else rules += ' g3HF2ub12';
|
|
2343
2514
|
return rules;
|
|
2344
2515
|
};
|
|
2345
|
-
const $1f2c2c3990efdd5e$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
2516
|
+
const $1f2c2c3990efdd5e$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 Gs12";
|
|
2346
2517
|
const $1f2c2c3990efdd5e$var$searchIconStyles = {
|
|
2347
2518
|
position: 'absolute',
|
|
2348
2519
|
left: 12,
|
|
@@ -2379,6 +2550,7 @@ const $1f2c2c3990efdd5e$var$clearButtonStyles = function anonymous(props) {
|
|
|
2379
2550
|
return rules;
|
|
2380
2551
|
};
|
|
2381
2552
|
function $1f2c2c3990efdd5e$export$b94867ecbd698f21({ value: value, onChange: onChange, label: label, placeholder: placeholder, ariaLabel: ariaLabel }) {
|
|
2553
|
+
const intl = (0, $25d82f0a3d474ebc$export$5aebe9a147f4d146)();
|
|
2382
2554
|
return (0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
2383
2555
|
className: $1f2c2c3990efdd5e$var$searchFieldContainerStyles,
|
|
2384
2556
|
children: (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.SearchField), {
|
|
@@ -2397,7 +2569,9 @@ function $1f2c2c3990efdd5e$export$b94867ecbd698f21({ value: value, onChange: onC
|
|
|
2397
2569
|
children: [
|
|
2398
2570
|
(0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
2399
2571
|
style: $1f2c2c3990efdd5e$var$searchIconStyles,
|
|
2400
|
-
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsSearch))), {
|
|
2572
|
+
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsSearch))), {
|
|
2573
|
+
styles: " -_8sjo0b-tMbOPsb12 Zm12 Fn12"
|
|
2574
|
+
})
|
|
2401
2575
|
}),
|
|
2402
2576
|
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Input), {
|
|
2403
2577
|
className: (renderProps)=>$1f2c2c3990efdd5e$var$searchInputStyles(renderProps) + ' ' + "zc3JFe",
|
|
@@ -2405,8 +2579,12 @@ function $1f2c2c3990efdd5e$export$b94867ecbd698f21({ value: value, onChange: onC
|
|
|
2405
2579
|
}),
|
|
2406
2580
|
!isEmpty && (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Button), {
|
|
2407
2581
|
className: $1f2c2c3990efdd5e$var$clearButtonStyles,
|
|
2408
|
-
"aria-label":
|
|
2409
|
-
|
|
2582
|
+
"aria-label": intl.formatMessage({
|
|
2583
|
+
id: 'ferments.search.clear'
|
|
2584
|
+
}),
|
|
2585
|
+
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsClose))), {
|
|
2586
|
+
styles: " -_8sjo0b-tMbOPsb12 Zu12 Ft12"
|
|
2587
|
+
})
|
|
2410
2588
|
})
|
|
2411
2589
|
]
|
|
2412
2590
|
})
|
|
@@ -2458,9 +2636,9 @@ const $7272752e0b828205$var$toggleButtonStyles = function anonymous(props) {
|
|
|
2458
2636
|
rules += ' _Fb12';
|
|
2459
2637
|
rules += ' _FnuYUwec12';
|
|
2460
2638
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2461
|
-
else if (props.isFocusVisible) rules += '
|
|
2462
|
-
else if (props.isHovered) rules += '
|
|
2463
|
-
else rules += '
|
|
2639
|
+
else if (props.isFocusVisible) rules += ' ppxXPsb12';
|
|
2640
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2641
|
+
else rules += ' pMbOPsb12';
|
|
2464
2642
|
rules += ' g912';
|
|
2465
2643
|
rules += ' _je12';
|
|
2466
2644
|
rules += ' ob12';
|
|
@@ -2470,9 +2648,9 @@ const $7272752e0b828205$var$toggleButtonStyles = function anonymous(props) {
|
|
|
2470
2648
|
rules += ' ry12';
|
|
2471
2649
|
rules += ' _9c12';
|
|
2472
2650
|
if (props.isPressed) rules += ' -_8sjo0b-ppxXPsb12';
|
|
2473
|
-
else if (props.isFocusVisible) rules += ' -_8sjo0b-
|
|
2474
|
-
else if (props.isHovered) rules += ' -_8sjo0b-
|
|
2475
|
-
else rules += ' -_8sjo0b-
|
|
2651
|
+
else if (props.isFocusVisible) rules += ' -_8sjo0b-ppxXPsb12';
|
|
2652
|
+
else if (props.isHovered) rules += ' -_8sjo0b-ppxXPsb12';
|
|
2653
|
+
else rules += ' -_8sjo0b-pMbOPsb12';
|
|
2476
2654
|
return rules;
|
|
2477
2655
|
};
|
|
2478
2656
|
const $7272752e0b828205$var$selectionIndicatorStyles = function anonymous(props) {
|
|
@@ -2491,7 +2669,7 @@ const $7272752e0b828205$var$selectionIndicatorStyles = function anonymous(props)
|
|
|
2491
2669
|
rules += ' mb12';
|
|
2492
2670
|
rules += ' lb12';
|
|
2493
2671
|
rules += ' _jf12';
|
|
2494
|
-
rules += '
|
|
2672
|
+
rules += ' iDr3Osb12';
|
|
2495
2673
|
rules += ' _nLeasBb12';
|
|
2496
2674
|
rules += ' _9a12';
|
|
2497
2675
|
if (props.isDisabled) rules += ' pp12';
|
|
@@ -2610,9 +2788,9 @@ const $461fcfe38bace82f$var$tabStyles = function anonymous(props) {
|
|
|
2610
2788
|
rules += ' _Fb12';
|
|
2611
2789
|
rules += ' _FnuYUwec12';
|
|
2612
2790
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2613
|
-
else if (props.isFocusVisible) rules += '
|
|
2614
|
-
else if (props.isHovered) rules += '
|
|
2615
|
-
else rules += '
|
|
2791
|
+
else if (props.isFocusVisible) rules += ' ppxXPsb12';
|
|
2792
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2793
|
+
else rules += ' pMbOPsb12';
|
|
2616
2794
|
rules += ' g912';
|
|
2617
2795
|
rules += ' _je12';
|
|
2618
2796
|
rules += ' ob12';
|
|
@@ -2682,7 +2860,7 @@ function $461fcfe38bace82f$export$460d6ec869d02044({ children: children, ...prop
|
|
|
2682
2860
|
|
|
2683
2861
|
|
|
2684
2862
|
const $24de22966748f2e6$var$selectContainerStyles = " sd12 _ta12 Ub12 qb12 Ng12";
|
|
2685
|
-
const $24de22966748f2e6$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
2863
|
+
const $24de22966748f2e6$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
2686
2864
|
const $24de22966748f2e6$var$buttonStyles = function anonymous(props) {
|
|
2687
2865
|
let rules = " ";
|
|
2688
2866
|
if (props.isFocusVisible) rules += ' _Lf12';
|
|
@@ -2725,9 +2903,10 @@ const $24de22966748f2e6$var$buttonStyles = function anonymous(props) {
|
|
|
2725
2903
|
rules += ' _Fb12';
|
|
2726
2904
|
rules += ' _FnuYUwec12';
|
|
2727
2905
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2728
|
-
else if (props.isFocused) rules += '
|
|
2729
|
-
else if (props.isHovered) rules += '
|
|
2730
|
-
else rules += '
|
|
2906
|
+
else if (props.isFocused) rules += ' ppxXPsb12';
|
|
2907
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2908
|
+
else rules += ' pMbOPsb12';
|
|
2909
|
+
rules += ' pYFIK2bgNcPsb12';
|
|
2731
2910
|
rules += ' ry12';
|
|
2732
2911
|
rules += ' sd12';
|
|
2733
2912
|
rules += ' eb12';
|
|
@@ -2758,11 +2937,11 @@ const $24de22966748f2e6$var$listBoxItemStyles = function anonymous(props) {
|
|
|
2758
2937
|
rules += ' _Fb12';
|
|
2759
2938
|
rules += ' _FnuYUwec12';
|
|
2760
2939
|
if (props.isDisabled) rules += ' pp12';
|
|
2761
|
-
else if (props.isSelected) rules += '
|
|
2940
|
+
else if (props.isSelected) rules += ' ppxXPsb12';
|
|
2762
2941
|
else if (props.isPressed) rules += ' ppxXPsb12';
|
|
2763
|
-
else if (props.isFocused) rules += '
|
|
2764
|
-
else if (props.isHovered) rules += '
|
|
2765
|
-
else rules += '
|
|
2942
|
+
else if (props.isFocused) rules += ' ppxXPsb12';
|
|
2943
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2944
|
+
else rules += ' pMbOPsb12';
|
|
2766
2945
|
rules += ' St12';
|
|
2767
2946
|
rules += ' Rt12';
|
|
2768
2947
|
rules += ' Tp12';
|
|
@@ -2773,7 +2952,7 @@ const $24de22966748f2e6$var$listBoxItemStyles = function anonymous(props) {
|
|
|
2773
2952
|
rules += ' ja12';
|
|
2774
2953
|
if (props.isDisabled) rules += ' ru12';
|
|
2775
2954
|
else rules += ' ry12';
|
|
2776
|
-
if (props.isDisabled) rules += '
|
|
2955
|
+
if (props.isDisabled) rules += ' gH12';
|
|
2777
2956
|
else if (props.isFocused) rules += ' gG3O2ub12';
|
|
2778
2957
|
else if (props.isSelected) rules += ' g05TOsb12';
|
|
2779
2958
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
@@ -2794,7 +2973,8 @@ function $24de22966748f2e6$export$ef9b1a59e592288f({ label: label, options: opti
|
|
|
2794
2973
|
children: [
|
|
2795
2974
|
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.SelectValue), {}),
|
|
2796
2975
|
(0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsChevronDown))), {
|
|
2797
|
-
"aria-hidden": "true"
|
|
2976
|
+
"aria-hidden": "true",
|
|
2977
|
+
styles: " -_8sjo0b-tMbOPsb12 Zm12 Fn12"
|
|
2798
2978
|
})
|
|
2799
2979
|
]
|
|
2800
2980
|
}),
|
|
@@ -2819,16 +2999,73 @@ function $24de22966748f2e6$export$ef9b1a59e592288f({ label: label, options: opti
|
|
|
2819
2999
|
|
|
2820
3000
|
|
|
2821
3001
|
|
|
3002
|
+
/**
|
|
3003
|
+
* Get badge color for a ferment source category
|
|
3004
|
+
* Returns badge variant for consistent color scheme
|
|
3005
|
+
*
|
|
3006
|
+
* @example
|
|
3007
|
+
* const colors = getSourceCategoryColors('recipes');
|
|
3008
|
+
* // { badge: 'ginger' }
|
|
3009
|
+
*/ function $ec54b006aa554aa9$export$8d65bcf2e041e7f5(sourceCategory) {
|
|
3010
|
+
const colorMap = {
|
|
3011
|
+
about: {
|
|
3012
|
+
badge: 'cucumber'
|
|
3013
|
+
},
|
|
3014
|
+
history: {
|
|
3015
|
+
badge: 'peach'
|
|
3016
|
+
},
|
|
3017
|
+
recipes: {
|
|
3018
|
+
badge: 'ginger'
|
|
3019
|
+
},
|
|
3020
|
+
tools: {
|
|
3021
|
+
badge: 'yogurt'
|
|
3022
|
+
},
|
|
3023
|
+
starters: {
|
|
3024
|
+
badge: 'ginger'
|
|
3025
|
+
},
|
|
3026
|
+
culture: {
|
|
3027
|
+
badge: 'peach'
|
|
3028
|
+
},
|
|
3029
|
+
scientific: {
|
|
3030
|
+
badge: 'berry'
|
|
3031
|
+
},
|
|
3032
|
+
commercial: {
|
|
3033
|
+
badge: 'yogurt'
|
|
3034
|
+
},
|
|
3035
|
+
course: {
|
|
3036
|
+
badge: 'plum'
|
|
3037
|
+
},
|
|
3038
|
+
general: {
|
|
3039
|
+
badge: 'cucumber'
|
|
3040
|
+
}
|
|
3041
|
+
};
|
|
3042
|
+
return colorMap[sourceCategory] || {
|
|
3043
|
+
badge: 'yogurt'
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
function $e17150d3e28b39fb$export$64133607978931b({ sourceCategory: sourceCategory }) {
|
|
3049
|
+
const colors = (0, $ec54b006aa554aa9$export$8d65bcf2e041e7f5)(sourceCategory);
|
|
3050
|
+
return (0, $fs04y$reactjsxruntime.jsx)((0, $5f63bea78c5270d1$export$37acb3580601e69a), {
|
|
3051
|
+
variant: colors.badge,
|
|
3052
|
+
children: sourceCategory
|
|
3053
|
+
});
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
|
|
2822
3059
|
|
|
2823
3060
|
|
|
2824
3061
|
|
|
2825
3062
|
const $22c620249a5b4412$var$cardStyles = " gqlRAZb12 oe12 ne12 ke12 je12 Th12 Qh12 Sh12 Rh12 _kb12 hb12 mb12 lb12 _jf12 i05TOsb12 sd12 _ta12 Ug12 qg12 eb12 _Wa12";
|
|
2826
|
-
const $22c620249a5b4412$var$cardTitleStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-e12 vx12 wd12 xd12 _xa12 wX0cczbc12 xX0cczbc12 _xX0cczba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12
|
|
2827
|
-
const $22c620249a5b4412$var$cardValueStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-snabcc12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12
|
|
2828
|
-
const $22c620249a5b4412$var$cardDescStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
2829
|
-
const $22c620249a5b4412$var$listPreviewStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
3063
|
+
const $22c620249a5b4412$var$cardTitleStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-e12 vx12 wd12 xd12 _xa12 wX0cczbc12 xX0cczbc12 _xX0cczba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 pMbOPsb12 Jy12 Gy12 Iy12 Hy12";
|
|
3064
|
+
const $22c620249a5b4412$var$cardValueStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-snabcc12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12 pMbOPsb12";
|
|
3065
|
+
const $22c620249a5b4412$var$cardDescStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 Jy12 Gy12 Iy12 Hy12";
|
|
3066
|
+
const $22c620249a5b4412$var$listPreviewStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 Jv12 Gy12 Iy12 Hy12";
|
|
2830
3067
|
const $22c620249a5b4412$var$listBoxStyles = " Tp12 Qp12 Sp12 Rp12";
|
|
2831
|
-
const $22c620249a5b4412$var$listBoxItemStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12
|
|
3068
|
+
const $22c620249a5b4412$var$listBoxItemStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12 St12 Rt12 Tp12 Qp12 oa12 na12 ka12 ja12 g912";
|
|
2832
3069
|
function $22c620249a5b4412$export$b5cddb1a6bf990a0({ title: title, value: value, description: description, list: list, listTitle: listTitle }) {
|
|
2833
3070
|
const intl = (0, $25d82f0a3d474ebc$export$5aebe9a147f4d146)();
|
|
2834
3071
|
return (0, $fs04y$reactjsxruntime.jsxs)("div", {
|
|
@@ -2878,6 +3115,7 @@ function $22c620249a5b4412$export$b5cddb1a6bf990a0({ title: title, value: value,
|
|
|
2878
3115
|
|
|
2879
3116
|
// For props: https://react-spectrum.adobe.com/react-aria/Switch.html#props
|
|
2880
3117
|
// For styling: https://react-spectrum.adobe.com/react-aria/Switch.html#styling
|
|
3118
|
+
const $ba215883a18b1d7f$var$switchWrapperStyles = " sd12 _ta12 Ub12 qb12";
|
|
2881
3119
|
const $ba215883a18b1d7f$var$switchContainerStyles = function anonymous(props) {
|
|
2882
3120
|
let rules = " ";
|
|
2883
3121
|
if (props.isFocusVisible) rules += ' _Lf12';
|
|
@@ -2891,90 +3129,394 @@ const $ba215883a18b1d7f$var$switchContainerStyles = function anonymous(props) {
|
|
|
2891
3129
|
rules += ' qe12';
|
|
2892
3130
|
rules += ' Rj12';
|
|
2893
3131
|
rules += ' ry12';
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
else
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
if (props.
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
if (props.
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
3132
|
+
if (props.size === "L") {
|
|
3133
|
+
rules += ' uk12';
|
|
3134
|
+
rules += ' uch12';
|
|
3135
|
+
rules += ' udi12';
|
|
3136
|
+
rules += ' uea12';
|
|
3137
|
+
rules += ' ugb12';
|
|
3138
|
+
rules += ' uhd12';
|
|
3139
|
+
rules += ' uje12';
|
|
3140
|
+
rules += ' u2NhKxcl12';
|
|
3141
|
+
rules += ' uic12';
|
|
3142
|
+
} else if (props.size === "M") {
|
|
3143
|
+
rules += ' uk12';
|
|
3144
|
+
rules += ' uch12';
|
|
3145
|
+
rules += ' udi12';
|
|
3146
|
+
rules += ' uea12';
|
|
3147
|
+
rules += ' ugb12';
|
|
3148
|
+
rules += ' uhd12';
|
|
3149
|
+
rules += ' uje12';
|
|
3150
|
+
rules += ' u2NhKxcl12';
|
|
3151
|
+
rules += ' uic12';
|
|
3152
|
+
} else if (props.size === "S") {
|
|
3153
|
+
rules += ' uk12';
|
|
3154
|
+
rules += ' uch12';
|
|
3155
|
+
rules += ' udi12';
|
|
3156
|
+
rules += ' uea12';
|
|
3157
|
+
rules += ' ugb12';
|
|
3158
|
+
rules += ' uhd12';
|
|
3159
|
+
rules += ' uje12';
|
|
3160
|
+
rules += ' u2NhKxcl12';
|
|
3161
|
+
rules += ' uic12';
|
|
3162
|
+
} else {
|
|
3163
|
+
rules += ' uk12';
|
|
3164
|
+
rules += ' uch12';
|
|
3165
|
+
rules += ' udi12';
|
|
3166
|
+
rules += ' uea12';
|
|
3167
|
+
rules += ' ugb12';
|
|
3168
|
+
rules += ' uhd12';
|
|
3169
|
+
rules += ' uje12';
|
|
3170
|
+
rules += ' u2NhKxcl12';
|
|
3171
|
+
rules += ' uic12';
|
|
3172
|
+
}
|
|
3173
|
+
if (props.size === "L") {
|
|
3174
|
+
rules += ' -_6BNtrc-d12';
|
|
3175
|
+
rules += ' vx12';
|
|
3176
|
+
} else if (props.size === "M") {
|
|
3177
|
+
rules += ' -_6BNtrc-c12';
|
|
3178
|
+
rules += ' vx12';
|
|
3179
|
+
} else if (props.size === "S") {
|
|
3180
|
+
rules += ' -_6BNtrc-b12';
|
|
3181
|
+
rules += ' vx12';
|
|
3182
|
+
} else {
|
|
3183
|
+
rules += ' -_6BNtrc-c12';
|
|
3184
|
+
rules += ' vx12';
|
|
3185
|
+
}
|
|
3186
|
+
if (props.size === "L") {
|
|
3187
|
+
rules += ' wb12';
|
|
3188
|
+
rules += ' xb12';
|
|
3189
|
+
rules += ' _xa12';
|
|
3190
|
+
} else if (props.size === "M") {
|
|
3191
|
+
rules += ' wb12';
|
|
3192
|
+
rules += ' xb12';
|
|
3193
|
+
rules += ' _xa12';
|
|
3194
|
+
} else if (props.size === "S") {
|
|
3195
|
+
rules += ' wb12';
|
|
3196
|
+
rules += ' xb12';
|
|
3197
|
+
rules += ' _xa12';
|
|
3198
|
+
} else {
|
|
3199
|
+
rules += ' wb12';
|
|
3200
|
+
rules += ' xb12';
|
|
3201
|
+
rules += ' _xa12';
|
|
3202
|
+
}
|
|
3203
|
+
if (props.size === "L") {
|
|
3204
|
+
rules += ' _Fd12';
|
|
3205
|
+
rules += ' _FezxGHba12';
|
|
3206
|
+
rules += ' _FnuYUweb12';
|
|
3207
|
+
} else if (props.size === "M") {
|
|
3208
|
+
rules += ' _Fd12';
|
|
3209
|
+
rules += ' _FezxGHba12';
|
|
3210
|
+
rules += ' _FnuYUweb12';
|
|
3211
|
+
} else if (props.size === "S") {
|
|
3212
|
+
rules += ' _Fd12';
|
|
3213
|
+
rules += ' _FezxGHba12';
|
|
3214
|
+
rules += ' _FnuYUweb12';
|
|
3215
|
+
} else {
|
|
3216
|
+
rules += ' _Fd12';
|
|
3217
|
+
rules += ' _FezxGHba12';
|
|
3218
|
+
rules += ' _FnuYUweb12';
|
|
3219
|
+
}
|
|
3220
|
+
if (props.isDisabled) rules += ' pgNcPsb12';
|
|
3221
|
+
else if (props.isPressed) rules += ' ppxXPsb12';
|
|
3222
|
+
else if (props.isFocusVisible) rules += ' ppxXPsb12';
|
|
3223
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
3224
|
+
else rules += ' pMbOPsb12';
|
|
3225
|
+
rules += ' og12';
|
|
3226
|
+
rules += ' ng12';
|
|
3227
|
+
rules += ' kg12';
|
|
3228
|
+
rules += ' jg12';
|
|
3229
|
+
return rules;
|
|
3230
|
+
};
|
|
3231
|
+
const $ba215883a18b1d7f$var$switchTrackStyles = function anonymous(props) {
|
|
3232
|
+
let rules = " ";
|
|
3233
|
+
if (props.size === "L") rules += ' Zrav34c12';
|
|
3234
|
+
else if (props.size === "M") rules += ' Zx12';
|
|
3235
|
+
else if (props.size === "S") rules += ' Zv12';
|
|
3236
|
+
else rules += ' Zx12';
|
|
3237
|
+
if (props.size === "L") rules += ' F8KB0xb12';
|
|
3238
|
+
else if (props.size === "M") rules += ' Fp12';
|
|
3239
|
+
else if (props.size === "S") rules += ' Fn12';
|
|
3240
|
+
else rules += ' Fp12';
|
|
3241
|
+
rules += ' og12';
|
|
3242
|
+
rules += ' ng12';
|
|
3243
|
+
rules += ' kg12';
|
|
3244
|
+
rules += ' jg12';
|
|
3245
|
+
rules += ' Tj12';
|
|
3246
|
+
rules += ' Qj12';
|
|
3247
|
+
rules += ' Sj12';
|
|
3248
|
+
rules += ' Rj12';
|
|
3249
|
+
rules += ' sd12';
|
|
3250
|
+
rules += ' eb12';
|
|
3251
|
+
if (props.isDisabled) rules += ' gH12';
|
|
3252
|
+
else if (props.isSelected) rules += ' gT8lPsb12';
|
|
3253
|
+
else rules += ' gWK72ub12';
|
|
3254
|
+
rules += ' _jlf12';
|
|
3255
|
+
rules += ' ila12';
|
|
3256
|
+
rules += ' _klb12';
|
|
3257
|
+
rules += ' hlb12';
|
|
3258
|
+
rules += ' mlb12';
|
|
3259
|
+
rules += ' llb12';
|
|
3260
|
+
return rules;
|
|
3261
|
+
};
|
|
3262
|
+
const $ba215883a18b1d7f$var$switchThumbStyles = function anonymous(props) {
|
|
3263
|
+
let rules = " ";
|
|
3264
|
+
if (props.size === "L") rules += ' Zo12';
|
|
3265
|
+
else if (props.size === "M") rules += ' Zm12';
|
|
3266
|
+
else if (props.size === "S") rules += ' Zu12';
|
|
3267
|
+
else rules += ' Zm12';
|
|
3268
|
+
if (props.size === "L") rules += ' Fp12';
|
|
3269
|
+
else if (props.size === "M") rules += ' Fn12';
|
|
3270
|
+
else if (props.size === "S") rules += ' Ft12';
|
|
3271
|
+
else rules += ' Fn12';
|
|
3272
|
+
rules += ' og12';
|
|
3273
|
+
rules += ' ng12';
|
|
3274
|
+
rules += ' kg12';
|
|
3275
|
+
rules += ' jg12';
|
|
3276
|
+
rules += ' gLYrGTd12';
|
|
3277
|
+
rules += ' glc12';
|
|
3278
|
+
if (props.isSelected) {
|
|
3279
|
+
if (props.size === "L") rules += ' _Zk0gaT12';
|
|
3280
|
+
else if (props.size === "M") rules += ' _Z4iY9S12';
|
|
3281
|
+
else if (props.size === "S") rules += ' _ZPbB5S12';
|
|
3282
|
+
else rules += ' _Z4iY9S12';
|
|
3283
|
+
} else rules += ' _Z0oDeud12';
|
|
3284
|
+
return rules;
|
|
3285
|
+
};
|
|
3286
|
+
const $ba215883a18b1d7f$var$errorStyles = function anonymous(props) {
|
|
3287
|
+
let rules = " ";
|
|
3288
|
+
if (props.size === "L") {
|
|
3289
|
+
rules += ' uk12';
|
|
3290
|
+
rules += ' uch12';
|
|
3291
|
+
rules += ' udi12';
|
|
3292
|
+
rules += ' uea12';
|
|
3293
|
+
rules += ' ugb12';
|
|
3294
|
+
rules += ' uhd12';
|
|
3295
|
+
rules += ' uje12';
|
|
3296
|
+
rules += ' u2NhKxcl12';
|
|
3297
|
+
rules += ' uic12';
|
|
3298
|
+
} else if (props.size === "M") {
|
|
3299
|
+
rules += ' uk12';
|
|
3300
|
+
rules += ' uch12';
|
|
3301
|
+
rules += ' udi12';
|
|
3302
|
+
rules += ' uea12';
|
|
3303
|
+
rules += ' ugb12';
|
|
3304
|
+
rules += ' uhd12';
|
|
3305
|
+
rules += ' uje12';
|
|
3306
|
+
rules += ' u2NhKxcl12';
|
|
3307
|
+
rules += ' uic12';
|
|
3308
|
+
} else if (props.size === "S") {
|
|
3309
|
+
rules += ' uk12';
|
|
3310
|
+
rules += ' uch12';
|
|
3311
|
+
rules += ' udi12';
|
|
3312
|
+
rules += ' uea12';
|
|
3313
|
+
rules += ' ugb12';
|
|
3314
|
+
rules += ' uhd12';
|
|
3315
|
+
rules += ' uje12';
|
|
3316
|
+
rules += ' u2NhKxcl12';
|
|
3317
|
+
rules += ' uic12';
|
|
3318
|
+
} else {
|
|
3319
|
+
rules += ' uk12';
|
|
3320
|
+
rules += ' uch12';
|
|
3321
|
+
rules += ' udi12';
|
|
3322
|
+
rules += ' uea12';
|
|
3323
|
+
rules += ' ugb12';
|
|
3324
|
+
rules += ' uhd12';
|
|
3325
|
+
rules += ' uje12';
|
|
3326
|
+
rules += ' u2NhKxcl12';
|
|
3327
|
+
rules += ' uic12';
|
|
3328
|
+
}
|
|
3329
|
+
if (props.size === "L") {
|
|
3330
|
+
rules += ' -_6BNtrc-c12';
|
|
3331
|
+
rules += ' vx12';
|
|
3332
|
+
} else if (props.size === "M") {
|
|
3333
|
+
rules += ' -_6BNtrc-b12';
|
|
3334
|
+
rules += ' vx12';
|
|
3335
|
+
} else if (props.size === "S") {
|
|
3336
|
+
rules += ' -_6BNtrc-a12';
|
|
3337
|
+
rules += ' vx12';
|
|
3338
|
+
} else {
|
|
3339
|
+
rules += ' -_6BNtrc-b12';
|
|
3340
|
+
rules += ' vx12';
|
|
3341
|
+
}
|
|
3342
|
+
if (props.size === "L") {
|
|
3343
|
+
rules += ' wb12';
|
|
3344
|
+
rules += ' xb12';
|
|
3345
|
+
rules += ' _xa12';
|
|
3346
|
+
} else if (props.size === "M") {
|
|
3347
|
+
rules += ' wb12';
|
|
3348
|
+
rules += ' xb12';
|
|
3349
|
+
rules += ' _xa12';
|
|
3350
|
+
} else if (props.size === "S") {
|
|
3351
|
+
rules += ' wb12';
|
|
3352
|
+
rules += ' xb12';
|
|
3353
|
+
rules += ' _xa12';
|
|
3354
|
+
} else {
|
|
3355
|
+
rules += ' wb12';
|
|
3356
|
+
rules += ' xb12';
|
|
3357
|
+
rules += ' _xa12';
|
|
3358
|
+
}
|
|
3359
|
+
if (props.size === "L") {
|
|
3360
|
+
rules += ' _Fd12';
|
|
3361
|
+
rules += ' _FezxGHba12';
|
|
3362
|
+
rules += ' _FnuYUweb12';
|
|
3363
|
+
} else if (props.size === "M") {
|
|
3364
|
+
rules += ' _Fd12';
|
|
3365
|
+
rules += ' _FezxGHba12';
|
|
3366
|
+
rules += ' _FnuYUweb12';
|
|
3367
|
+
} else if (props.size === "S") {
|
|
3368
|
+
rules += ' _Fd12';
|
|
3369
|
+
rules += ' _FezxGHba12';
|
|
3370
|
+
rules += ' _FnuYUweb12';
|
|
3371
|
+
} else {
|
|
3372
|
+
rules += ' _Fd12';
|
|
3373
|
+
rules += ' _FezxGHba12';
|
|
3374
|
+
rules += ' _FnuYUweb12';
|
|
3375
|
+
}
|
|
3376
|
+
rules += ' pKYKCZ12';
|
|
3377
|
+
return rules;
|
|
3378
|
+
};
|
|
3379
|
+
const $ba215883a18b1d7f$var$descriptionStyles = function anonymous(props) {
|
|
3380
|
+
let rules = " ";
|
|
3381
|
+
if (props.size === "L") {
|
|
3382
|
+
rules += ' uk12';
|
|
3383
|
+
rules += ' uch12';
|
|
3384
|
+
rules += ' udi12';
|
|
3385
|
+
rules += ' uea12';
|
|
3386
|
+
rules += ' ugb12';
|
|
3387
|
+
rules += ' uhd12';
|
|
3388
|
+
rules += ' uje12';
|
|
3389
|
+
rules += ' u2NhKxcl12';
|
|
3390
|
+
rules += ' uic12';
|
|
3391
|
+
} else if (props.size === "M") {
|
|
3392
|
+
rules += ' uk12';
|
|
3393
|
+
rules += ' uch12';
|
|
3394
|
+
rules += ' udi12';
|
|
3395
|
+
rules += ' uea12';
|
|
3396
|
+
rules += ' ugb12';
|
|
3397
|
+
rules += ' uhd12';
|
|
3398
|
+
rules += ' uje12';
|
|
3399
|
+
rules += ' u2NhKxcl12';
|
|
3400
|
+
rules += ' uic12';
|
|
3401
|
+
} else if (props.size === "S") {
|
|
3402
|
+
rules += ' uk12';
|
|
3403
|
+
rules += ' uch12';
|
|
3404
|
+
rules += ' udi12';
|
|
3405
|
+
rules += ' uea12';
|
|
3406
|
+
rules += ' ugb12';
|
|
3407
|
+
rules += ' uhd12';
|
|
3408
|
+
rules += ' uje12';
|
|
3409
|
+
rules += ' u2NhKxcl12';
|
|
3410
|
+
rules += ' uic12';
|
|
3411
|
+
} else {
|
|
3412
|
+
rules += ' uk12';
|
|
3413
|
+
rules += ' uch12';
|
|
3414
|
+
rules += ' udi12';
|
|
3415
|
+
rules += ' uea12';
|
|
3416
|
+
rules += ' ugb12';
|
|
3417
|
+
rules += ' uhd12';
|
|
3418
|
+
rules += ' uje12';
|
|
3419
|
+
rules += ' u2NhKxcl12';
|
|
3420
|
+
rules += ' uic12';
|
|
3421
|
+
}
|
|
3422
|
+
if (props.size === "L") {
|
|
3423
|
+
rules += ' -_6BNtrc-c12';
|
|
3424
|
+
rules += ' vx12';
|
|
3425
|
+
} else if (props.size === "M") {
|
|
3426
|
+
rules += ' -_6BNtrc-b12';
|
|
3427
|
+
rules += ' vx12';
|
|
3428
|
+
} else if (props.size === "S") {
|
|
3429
|
+
rules += ' -_6BNtrc-a12';
|
|
3430
|
+
rules += ' vx12';
|
|
3431
|
+
} else {
|
|
3432
|
+
rules += ' -_6BNtrc-b12';
|
|
3433
|
+
rules += ' vx12';
|
|
3434
|
+
}
|
|
3435
|
+
if (props.size === "L") {
|
|
3436
|
+
rules += ' wb12';
|
|
3437
|
+
rules += ' xb12';
|
|
3438
|
+
rules += ' _xa12';
|
|
3439
|
+
} else if (props.size === "M") {
|
|
3440
|
+
rules += ' wb12';
|
|
3441
|
+
rules += ' xb12';
|
|
3442
|
+
rules += ' _xa12';
|
|
3443
|
+
} else if (props.size === "S") {
|
|
3444
|
+
rules += ' wb12';
|
|
3445
|
+
rules += ' xb12';
|
|
3446
|
+
rules += ' _xa12';
|
|
3447
|
+
} else {
|
|
3448
|
+
rules += ' wb12';
|
|
3449
|
+
rules += ' xb12';
|
|
3450
|
+
rules += ' _xa12';
|
|
3451
|
+
}
|
|
3452
|
+
if (props.size === "L") {
|
|
3453
|
+
rules += ' _Fd12';
|
|
3454
|
+
rules += ' _FezxGHba12';
|
|
3455
|
+
rules += ' _FnuYUweb12';
|
|
3456
|
+
} else if (props.size === "M") {
|
|
3457
|
+
rules += ' _Fd12';
|
|
3458
|
+
rules += ' _FezxGHba12';
|
|
3459
|
+
rules += ' _FnuYUweb12';
|
|
3460
|
+
} else if (props.size === "S") {
|
|
3461
|
+
rules += ' _Fd12';
|
|
3462
|
+
rules += ' _FezxGHba12';
|
|
3463
|
+
rules += ' _FnuYUweb12';
|
|
3464
|
+
} else {
|
|
3465
|
+
rules += ' _Fd12';
|
|
3466
|
+
rules += ' _FezxGHba12';
|
|
3467
|
+
rules += ' _FnuYUweb12';
|
|
3468
|
+
}
|
|
3469
|
+
rules += ' pMbOPsb12';
|
|
3470
|
+
return rules;
|
|
3471
|
+
};
|
|
3472
|
+
const $ba215883a18b1d7f$export$b5d5cf8927ab7262 = ({ children: children, size: size = 'M', description: description, isDisabled: isDisabled, error: error, ...props })=>{
|
|
3473
|
+
return (0, $fs04y$reactjsxruntime.jsxs)("div", {
|
|
3474
|
+
className: $ba215883a18b1d7f$var$switchWrapperStyles,
|
|
3475
|
+
children: [
|
|
3476
|
+
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Switch), {
|
|
3477
|
+
isDisabled: isDisabled,
|
|
3478
|
+
...props,
|
|
3479
|
+
className: (renderProps)=>$ba215883a18b1d7f$var$switchContainerStyles({
|
|
3480
|
+
...renderProps,
|
|
3481
|
+
size: size,
|
|
3482
|
+
isDisabled: isDisabled
|
|
3483
|
+
}),
|
|
3484
|
+
children: (renderProps)=>(0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactjsxruntime.Fragment), {
|
|
3485
|
+
children: [
|
|
3486
|
+
(0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
3487
|
+
className: $ba215883a18b1d7f$var$switchTrackStyles({
|
|
3488
|
+
...renderProps,
|
|
3489
|
+
size: size,
|
|
3490
|
+
isDisabled: isDisabled
|
|
3491
|
+
}),
|
|
3492
|
+
children: (0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
3493
|
+
className: $ba215883a18b1d7f$var$switchThumbStyles({
|
|
3494
|
+
...renderProps,
|
|
3495
|
+
size: size,
|
|
3496
|
+
isDisabled: isDisabled
|
|
3497
|
+
})
|
|
3498
|
+
})
|
|
3499
|
+
}),
|
|
3500
|
+
children
|
|
3501
|
+
]
|
|
3502
|
+
})
|
|
3503
|
+
}),
|
|
3504
|
+
error && isDisabled && (0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
3505
|
+
className: $ba215883a18b1d7f$var$errorStyles({
|
|
3506
|
+
size: size
|
|
3507
|
+
}),
|
|
3508
|
+
children: error
|
|
3509
|
+
}),
|
|
3510
|
+
description && (0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
3511
|
+
className: $ba215883a18b1d7f$var$descriptionStyles({
|
|
3512
|
+
size: size
|
|
3513
|
+
}),
|
|
3514
|
+
children: description
|
|
3515
|
+
})
|
|
3516
|
+
]
|
|
3517
|
+
});
|
|
3518
|
+
};
|
|
3519
|
+
|
|
2978
3520
|
|
|
2979
3521
|
|
|
2980
3522
|
|
|
@@ -3013,10 +3555,10 @@ const $e00b7714d9bed1e1$var$tabStyles = function anonymous(props) {
|
|
|
3013
3555
|
}
|
|
3014
3556
|
rules += ' _Fb12';
|
|
3015
3557
|
rules += ' _FnuYUwec12';
|
|
3016
|
-
if (props.isDisabled) rules += '
|
|
3017
|
-
else if (props.isHovered) rules += '
|
|
3018
|
-
else if (props.isSelected) rules += '
|
|
3019
|
-
else rules += '
|
|
3558
|
+
if (props.isDisabled) rules += ' pp12';
|
|
3559
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
3560
|
+
else if (props.isSelected) rules += ' ppxXPsb12';
|
|
3561
|
+
else rules += ' pMbOPsb12';
|
|
3020
3562
|
if (props.isSelected) rules += ' gnKKOsb12';
|
|
3021
3563
|
else if (props.isHovered) rules += ' ghVis312';
|
|
3022
3564
|
else rules += ' g912';
|
|
@@ -3025,8 +3567,8 @@ const $e00b7714d9bed1e1$var$tabStyles = function anonymous(props) {
|
|
|
3025
3567
|
rules += ' ma12';
|
|
3026
3568
|
rules += ' la12';
|
|
3027
3569
|
rules += ' _jf12';
|
|
3028
|
-
if (props.isHovered) rules += '
|
|
3029
|
-
else if (props.isSelected) rules += '
|
|
3570
|
+
if (props.isHovered) rules += ' ipxXPsb12';
|
|
3571
|
+
else if (props.isSelected) rules += ' iMbOPsb12';
|
|
3030
3572
|
else rules += ' iA12';
|
|
3031
3573
|
if (props.isDisabled) rules += ' ru12';
|
|
3032
3574
|
else rules += ' ry12';
|
|
@@ -3158,7 +3700,8 @@ const $fad215bb6064e329$var$textareaStyles = function anonymous(props) {
|
|
|
3158
3700
|
rules += ' _xa12';
|
|
3159
3701
|
rules += ' _Fb12';
|
|
3160
3702
|
rules += ' _FnuYUwec12';
|
|
3161
|
-
rules += '
|
|
3703
|
+
rules += ' pMbOPsb12';
|
|
3704
|
+
rules += ' pYFIK2bgNcPsb12';
|
|
3162
3705
|
rules += ' gqlRAZb12';
|
|
3163
3706
|
rules += ' _Qc12';
|
|
3164
3707
|
rules += ' MhJySCb12';
|
|
@@ -3320,6 +3863,16 @@ function $8f5795e91d23efab$export$973ca22476b0e05f() {
|
|
|
3320
3863
|
|
|
3321
3864
|
|
|
3322
3865
|
|
|
3866
|
+
// Export all locale message files for i18n
|
|
3867
|
+
var $c6f2b9804e791467$exports = {};
|
|
3868
|
+
$c6f2b9804e791467$exports = JSON.parse("{\"app.title\":\"Global Ferments\",\"app.subtitle\":\"Explore Fermented Foods Around the World\",\"home.hello\":\"Hello World!\",\"home.description\":\"Next.js is running successfully with React Aria Components and React Spectrum S2. The foundation is set!\",\"home.checkHealth\":\"Check API Health\",\"home.healthChecking\":\"Checking health...\",\"home.healthClickPrompt\":\"Click the button to check API health\",\"health.status\":\"Status\",\"health.database\":\"Database\",\"health.time\":\"Time\",\"health.error\":\"Error\",\"health.siteUrls\":\"Site URLs\",\"health.apiEndpoints\":\"API Endpoints\",\"theme.toggle.label\":\"Dark Mode\",\"theme.toggle.ariaLabel\":\"Toggle dark mode\",\"features.map\":\"Coming soon: Interactive map with fermented foods\",\"features.browse\":\"Browse by region, category, and culture\",\"ferments.subtitle\":\"Explore and discover fermented foods from around the world\",\"ferments.loading\":\"Loading...\",\"ferments.count\":\"{count, plural, =0 {No ferments found} one {# ferment found} other {# ferments found}}\",\"ferments.filter.category\":\"Category\",\"ferments.filter.country\":\"Country\",\"ferments.filter.allCategories\":\"All Categories\",\"ferments.filter.allCountries\":\"All Countries\",\"ferments.filter.clear\":\"Clear Filters\",\"ferments.filter.loading\":\"Loading filters...\",\"ferments.filter.category.ariaLabel\":\"Filter by category\",\"ferments.filter.country.ariaLabel\":\"Filter by country\",\"ferments.search.placeholder\":\"Search ferments...\",\"ferments.search.label\":\"Search\",\"ferments.search.ariaLabel\":\"Search ferments by name or description\",\"ferments.search.clear\":\"Clear\",\"ferment.detail.backToBrowse\":\"Back to Browse\",\"ferment.detail.loading\":\"Loading ferment details...\",\"ferment.detail.notFound\":\"Ferment not found\",\"ferment.detail.error\":\"Failed to load ferment details\",\"ferment.detail.country\":\"Country\",\"ferment.detail.region\":\"Region\",\"ferment.detail.category\":\"Category\",\"ferment.detail.ingredients\":\"Ingredients\",\"ferment.detail.learnMore\":\"Learn More\",\"ferment.detail.viewSource\":\"View Source\",\"ferment.detail.location\":\"Location\",\"ferment.detail.coordinates\":\"Coordinates\",\"ferment.detail.relatedFerments\":\"Related Ferments\",\"ferment.detail.close\":\"Close\",\"map.loading\":\"Loading map...\",\"map.error.title\":\"Map Error\",\"map.error.load\":\"Failed to load ferments for map\",\"map.error.noToken\":\"Mapbox token not configured. Please set NEXT_PUBLIC_MAPBOX_TOKEN in your environment.\",\"map.error.init\":\"Failed to initialize map\",\"map.ariaLabel\":\"Interactive map showing fermented foods around the world\",\"map.marker.label\":\"{name} from {country}\",\"map.popup.viewDetails\":\"View details\",\"nav.map\":\"Map\",\"nav.list\":\"List\",\"nav.viewToggle.ariaLabel\":\"Switch between map and list views\",\"nav.about\":\"About\",\"common.back\":\"Back\",\"filterTabs.ariaLabel\":\"Filter options\",\"statCard.viewAll\":\"View all\",\"ferments.category.all\":\"All Categories\",\"ferments.category.vegetable\":\"Vegetable\",\"ferments.category.dairy\":\"Dairy\",\"ferments.category.grain\":\"Grain\",\"ferments.category.legume\":\"Legume\",\"ferments.category.beverage\":\"Beverage\",\"ferments.category.condiment\":\"Condiment\",\"ferments.category.protein\":\"Protein\",\"ferments.category.other\":\"Other\",\"sources.content_type.about\":\"About\",\"sources.content_type.history\":\"History\",\"sources.content_type.recipes\":\"Recipes\",\"sources.content_type.tools\":\"Tools & Equipment\",\"sources.content_type.starters\":\"Starters & Cultures\",\"sources.content_type.culture\":\"Cultural Context\",\"sources.content_type.scientific\":\"Scientific Research\",\"sources.content_type.commercial\":\"Commercial Products\",\"sources.content_type.course\":\"Courses & Tutorials\",\"sources.content_type.general\":\"General Information\"}");
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
const $c5d9f7a2bd6c13d4$export$d0451c6199f2a163 = {
|
|
3872
|
+
en: (0, (/*@__PURE__*/$parcel$interopDefault($c6f2b9804e791467$exports)))
|
|
3873
|
+
};
|
|
3874
|
+
|
|
3875
|
+
|
|
3323
3876
|
var $d44b0b07a2b9c664$exports = {};
|
|
3324
3877
|
// Hooks
|
|
3325
3878
|
var $c5b52867831f5132$exports = {};
|
|
@@ -3365,6 +3918,11 @@ var $0911ce1d49060a15$exports = {};
|
|
|
3365
3918
|
|
|
3366
3919
|
$parcel$export($0911ce1d49060a15$exports, "textFieldInputStyles", () => $53c8911eec26a318$export$457d6d213bf79459);
|
|
3367
3920
|
$parcel$export($0911ce1d49060a15$exports, "getCategoryColors", () => $9df03defd63c82e0$export$2514cbae0d5c71c5);
|
|
3921
|
+
$parcel$export($0911ce1d49060a15$exports, "getSourceCategoryColors", () => $ec54b006aa554aa9$export$8d65bcf2e041e7f5);
|
|
3922
|
+
$parcel$export($0911ce1d49060a15$exports, "getCategoryOptions", () => $dfdc7d5751a79ddf$export$3872f43ce732a9d5);
|
|
3923
|
+
$parcel$export($0911ce1d49060a15$exports, "getSourceCategoryOptions", () => $dfdc7d5751a79ddf$export$240a372764fd2451);
|
|
3924
|
+
$parcel$export($0911ce1d49060a15$exports, "FERMENT_CATEGORIES", () => $dfdc7d5751a79ddf$export$90169ffd4a6ec1f5);
|
|
3925
|
+
$parcel$export($0911ce1d49060a15$exports, "SOURCE_CATEGORIES", () => $dfdc7d5751a79ddf$export$2002190b63448c99);
|
|
3368
3926
|
$parcel$export($0911ce1d49060a15$exports, "api", () => $ace12160cbee4ea7$export$644d8ea042df96a6);
|
|
3369
3927
|
$parcel$export($0911ce1d49060a15$exports, "isBrowser", () => $de0c62f65c50224a$export$4e09c449d6c407f7);
|
|
3370
3928
|
$parcel$export($0911ce1d49060a15$exports, "isDocument", () => $de0c62f65c50224a$export$62858bae88b53fd0);
|
|
@@ -3386,62 +3944,62 @@ const $53c8911eec26a318$export$457d6d213bf79459 = ()=>({
|
|
|
3386
3944
|
borderRadius: 'lg',
|
|
3387
3945
|
font: 'body',
|
|
3388
3946
|
backgroundColor: 'layer-1',
|
|
3389
|
-
color:
|
|
3947
|
+
color: {
|
|
3948
|
+
default: '--plum-800',
|
|
3949
|
+
'::placeholder': '--plum-400'
|
|
3950
|
+
},
|
|
3390
3951
|
outline: 'none'
|
|
3391
3952
|
});
|
|
3392
3953
|
|
|
3393
3954
|
|
|
3955
|
+
|
|
3956
|
+
|
|
3394
3957
|
/**
|
|
3395
|
-
*
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
}
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
// Default to yogurt colors for unknown categories
|
|
3441
|
-
return colorMap[category.toLowerCase()] || {
|
|
3442
|
-
marker: 'var(--yogurt-500)',
|
|
3443
|
-
badge: 'yogurt'
|
|
3444
|
-
};
|
|
3958
|
+
* Ferment category values
|
|
3959
|
+
*/ const $dfdc7d5751a79ddf$export$90169ffd4a6ec1f5 = [
|
|
3960
|
+
'vegetable',
|
|
3961
|
+
'dairy',
|
|
3962
|
+
'grain',
|
|
3963
|
+
'legume',
|
|
3964
|
+
'beverage',
|
|
3965
|
+
'condiment',
|
|
3966
|
+
'protein',
|
|
3967
|
+
'other'
|
|
3968
|
+
];
|
|
3969
|
+
const $dfdc7d5751a79ddf$export$2002190b63448c99 = [
|
|
3970
|
+
'about',
|
|
3971
|
+
'history',
|
|
3972
|
+
'recipes',
|
|
3973
|
+
'tools',
|
|
3974
|
+
'starters',
|
|
3975
|
+
'culture',
|
|
3976
|
+
'scientific',
|
|
3977
|
+
'commercial',
|
|
3978
|
+
'course',
|
|
3979
|
+
'general'
|
|
3980
|
+
];
|
|
3981
|
+
function $dfdc7d5751a79ddf$export$3872f43ce732a9d5(includeAll = false) {
|
|
3982
|
+
const options = [];
|
|
3983
|
+
if (includeAll) options.push({
|
|
3984
|
+
id: 'all',
|
|
3985
|
+
label: 'ferments.category.all',
|
|
3986
|
+
value: null
|
|
3987
|
+
});
|
|
3988
|
+
$dfdc7d5751a79ddf$export$90169ffd4a6ec1f5.forEach((category)=>{
|
|
3989
|
+
options.push({
|
|
3990
|
+
id: category,
|
|
3991
|
+
label: `ferments.category.${category}`,
|
|
3992
|
+
value: category
|
|
3993
|
+
});
|
|
3994
|
+
});
|
|
3995
|
+
return options;
|
|
3996
|
+
}
|
|
3997
|
+
function $dfdc7d5751a79ddf$export$240a372764fd2451() {
|
|
3998
|
+
return $dfdc7d5751a79ddf$export$2002190b63448c99.map((category)=>({
|
|
3999
|
+
id: category,
|
|
4000
|
+
label: `sources.content_type.${category}`,
|
|
4001
|
+
value: category
|
|
4002
|
+
}));
|
|
3445
4003
|
}
|
|
3446
4004
|
|
|
3447
4005
|
|