fermmap-shared 0.9.1 → 0.9.3
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 +20 -5
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +176 -168
- package/dist/main.css.map +1 -1
- package/dist/module.css +176 -168
- package/dist/module.css.map +1 -1
- package/dist/module.mjs +20 -5
- package/dist/module.mjs.map +1 -1
- package/dist/types.d.ts +155 -32
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -3
package/dist/module.mjs
CHANGED
|
@@ -8,6 +8,7 @@ import $3A86U$reactspectrums2iconsCheckmarkCircle from "@react-spectrum/s2/icons
|
|
|
8
8
|
import $3A86U$reactspectrums2iconsCloseCircle from "@react-spectrum/s2/icons/CloseCircle";
|
|
9
9
|
import $3A86U$reactspectrums2iconsChevronDown from "@react-spectrum/s2/icons/ChevronDown";
|
|
10
10
|
import $3A86U$reactspectrums2iconsChevronRight from "@react-spectrum/s2/icons/ChevronRight";
|
|
11
|
+
import $3A86U$reactspectrums2iconsExportTo from "@react-spectrum/s2/icons/ExportTo";
|
|
11
12
|
import $3A86U$reactspectrums2iconsClose from "@react-spectrum/s2/icons/Close";
|
|
12
13
|
import {useRouter as $3A86U$useRouter} from "next/navigation";
|
|
13
14
|
import $3A86U$reactspectrums2iconsGlobeGrid from "@react-spectrum/s2/icons/GlobeGrid";
|
|
@@ -1639,7 +1640,6 @@ function $7e3a08a0d5ffc4c6$export$a6c7ac8248d6e38a({ children: children, href: h
|
|
|
1639
1640
|
}
|
|
1640
1641
|
|
|
1641
1642
|
|
|
1642
|
-
'use client';
|
|
1643
1643
|
const $60effdf45f810c51$var$bannerStyles = " _Pb12 _lr12 _Er12 _Rr12 gpxXPsb12 px12 Tf12 Qf12 Sf12 Soh12 Rf12 Roh12 _nLeasBb12 _9unpurc12 sd12 _ta12 _toc12 ee12 eob12 _Ce12 Ul12 ql12";
|
|
1644
1644
|
const $60effdf45f810c51$var$messageStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pLYrGTd12 Jy12 Gy12 Iy12 Hy12 _ub12";
|
|
1645
1645
|
const $60effdf45f810c51$var$actionsStyles = " sd12 Ue12 qe12 eb12 _va12 _wb12";
|
|
@@ -2353,6 +2353,7 @@ function $92c9d60a35906344$export$29d11c0fe2fc51d8({ variant: variant = 'primary
|
|
|
2353
2353
|
|
|
2354
2354
|
|
|
2355
2355
|
|
|
2356
|
+
|
|
2356
2357
|
const $9317e67b0b0534b2$var$menuStyles = " gLYrGTd12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iWK72ub12 _nLeasBb12 Tp12 Qp12 Sp12 Rp12 Ng12";
|
|
2357
2358
|
const $9317e67b0b0534b2$var$menuItemStyles = function anonymous(props) {
|
|
2358
2359
|
let rules = " ";
|
|
@@ -2391,10 +2392,12 @@ const $9317e67b0b0534b2$var$menuItemStyles = function anonymous(props) {
|
|
|
2391
2392
|
if (props.isFocused) rules += ' gG3O2ub12';
|
|
2392
2393
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
2393
2394
|
else rules += ' g912';
|
|
2395
|
+
rules += ' _Xa12';
|
|
2394
2396
|
rules += ' ry12';
|
|
2395
2397
|
return rules;
|
|
2396
2398
|
};
|
|
2397
2399
|
const $9317e67b0b0534b2$var$dividerStyles = " FesY7Od12 gWK72ub12 Js12 Gs12";
|
|
2400
|
+
const $9317e67b0b0534b2$var$linkOutStyles = " sh12 eb12 IM12";
|
|
2398
2401
|
function $9317e67b0b0534b2$export$d9b273488cd8ce6f({ trigger: trigger, items: items, placement: placement = 'bottom end', 'aria-label': ariaLabel }) {
|
|
2399
2402
|
return (0, $3A86U$jsxs)((0, $3A86U$MenuTrigger), {
|
|
2400
2403
|
children: [
|
|
@@ -2404,15 +2407,26 @@ function $9317e67b0b0534b2$export$d9b273488cd8ce6f({ trigger: trigger, items: it
|
|
|
2404
2407
|
children: (0, $3A86U$jsx)((0, $3A86U$Menu), {
|
|
2405
2408
|
className: $9317e67b0b0534b2$var$menuStyles,
|
|
2406
2409
|
"aria-label": ariaLabel,
|
|
2407
|
-
children: items.map((item, index)=>item.id
|
|
2410
|
+
children: items.map((item, index)=>item.id.startsWith('divider') ? (0, $3A86U$jsx)((0, $3A86U$Separator), {
|
|
2408
2411
|
className: $9317e67b0b0534b2$var$dividerStyles
|
|
2409
2412
|
}, `divider-${index}`) : (0, $3A86U$jsxs)((0, $3A86U$MenuItem), {
|
|
2410
2413
|
id: item.id,
|
|
2414
|
+
href: item.href,
|
|
2415
|
+
target: item.href ? '_blank' : undefined,
|
|
2416
|
+
rel: item.href ? 'noopener noreferrer' : undefined,
|
|
2411
2417
|
onAction: item.onAction,
|
|
2412
|
-
className: $9317e67b0b0534b2$var$menuItemStyles
|
|
2418
|
+
className: $9317e67b0b0534b2$var$menuItemStyles({
|
|
2419
|
+
ishref: !!item.href
|
|
2420
|
+
}),
|
|
2413
2421
|
children: [
|
|
2414
2422
|
item.icon,
|
|
2415
|
-
item.label
|
|
2423
|
+
item.label,
|
|
2424
|
+
item.href && (0, $3A86U$jsx)("span", {
|
|
2425
|
+
className: $9317e67b0b0534b2$var$linkOutStyles,
|
|
2426
|
+
children: (0, $3A86U$jsx)((0, $3A86U$reactspectrums2iconsExportTo), {
|
|
2427
|
+
styles: " Zu12 Ft12"
|
|
2428
|
+
})
|
|
2429
|
+
})
|
|
2416
2430
|
]
|
|
2417
2431
|
}, item.id))
|
|
2418
2432
|
})
|
|
@@ -4069,7 +4083,8 @@ function $14dac782240849bf$export$93d4e7f90805808f() {
|
|
|
4069
4083
|
const $5035dda096f080f5$var$initialFilterState = {
|
|
4070
4084
|
category: null,
|
|
4071
4085
|
country: null,
|
|
4072
|
-
searchQuery: ''
|
|
4086
|
+
searchQuery: '',
|
|
4087
|
+
letterFilter: null
|
|
4073
4088
|
};
|
|
4074
4089
|
const $5035dda096f080f5$var$FilterContext = /*#__PURE__*/ (0, $3A86U$createContext)(undefined);
|
|
4075
4090
|
function $5035dda096f080f5$export$66b627500eff8faa({ children: children }) {
|