fermmap-shared 0.9.2 → 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 -4
- 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 -4
- 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 +1 -1
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";
|
|
@@ -2352,6 +2353,7 @@ function $92c9d60a35906344$export$29d11c0fe2fc51d8({ variant: variant = 'primary
|
|
|
2352
2353
|
|
|
2353
2354
|
|
|
2354
2355
|
|
|
2356
|
+
|
|
2355
2357
|
const $9317e67b0b0534b2$var$menuStyles = " gLYrGTd12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iWK72ub12 _nLeasBb12 Tp12 Qp12 Sp12 Rp12 Ng12";
|
|
2356
2358
|
const $9317e67b0b0534b2$var$menuItemStyles = function anonymous(props) {
|
|
2357
2359
|
let rules = " ";
|
|
@@ -2390,10 +2392,12 @@ const $9317e67b0b0534b2$var$menuItemStyles = function anonymous(props) {
|
|
|
2390
2392
|
if (props.isFocused) rules += ' gG3O2ub12';
|
|
2391
2393
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
2392
2394
|
else rules += ' g912';
|
|
2395
|
+
rules += ' _Xa12';
|
|
2393
2396
|
rules += ' ry12';
|
|
2394
2397
|
return rules;
|
|
2395
2398
|
};
|
|
2396
2399
|
const $9317e67b0b0534b2$var$dividerStyles = " FesY7Od12 gWK72ub12 Js12 Gs12";
|
|
2400
|
+
const $9317e67b0b0534b2$var$linkOutStyles = " sh12 eb12 IM12";
|
|
2397
2401
|
function $9317e67b0b0534b2$export$d9b273488cd8ce6f({ trigger: trigger, items: items, placement: placement = 'bottom end', 'aria-label': ariaLabel }) {
|
|
2398
2402
|
return (0, $3A86U$jsxs)((0, $3A86U$MenuTrigger), {
|
|
2399
2403
|
children: [
|
|
@@ -2403,15 +2407,26 @@ function $9317e67b0b0534b2$export$d9b273488cd8ce6f({ trigger: trigger, items: it
|
|
|
2403
2407
|
children: (0, $3A86U$jsx)((0, $3A86U$Menu), {
|
|
2404
2408
|
className: $9317e67b0b0534b2$var$menuStyles,
|
|
2405
2409
|
"aria-label": ariaLabel,
|
|
2406
|
-
children: items.map((item, index)=>item.id
|
|
2410
|
+
children: items.map((item, index)=>item.id.startsWith('divider') ? (0, $3A86U$jsx)((0, $3A86U$Separator), {
|
|
2407
2411
|
className: $9317e67b0b0534b2$var$dividerStyles
|
|
2408
2412
|
}, `divider-${index}`) : (0, $3A86U$jsxs)((0, $3A86U$MenuItem), {
|
|
2409
2413
|
id: item.id,
|
|
2414
|
+
href: item.href,
|
|
2415
|
+
target: item.href ? '_blank' : undefined,
|
|
2416
|
+
rel: item.href ? 'noopener noreferrer' : undefined,
|
|
2410
2417
|
onAction: item.onAction,
|
|
2411
|
-
className: $9317e67b0b0534b2$var$menuItemStyles
|
|
2418
|
+
className: $9317e67b0b0534b2$var$menuItemStyles({
|
|
2419
|
+
ishref: !!item.href
|
|
2420
|
+
}),
|
|
2412
2421
|
children: [
|
|
2413
2422
|
item.icon,
|
|
2414
|
-
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
|
+
})
|
|
2415
2430
|
]
|
|
2416
2431
|
}, item.id))
|
|
2417
2432
|
})
|
|
@@ -4068,7 +4083,8 @@ function $14dac782240849bf$export$93d4e7f90805808f() {
|
|
|
4068
4083
|
const $5035dda096f080f5$var$initialFilterState = {
|
|
4069
4084
|
category: null,
|
|
4070
4085
|
country: null,
|
|
4071
|
-
searchQuery: ''
|
|
4086
|
+
searchQuery: '',
|
|
4087
|
+
letterFilter: null
|
|
4072
4088
|
};
|
|
4073
4089
|
const $5035dda096f080f5$var$FilterContext = /*#__PURE__*/ (0, $3A86U$createContext)(undefined);
|
|
4074
4090
|
function $5035dda096f080f5$export$66b627500eff8faa({ children: children }) {
|