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/main.cjs
CHANGED
|
@@ -8,6 +8,7 @@ var $fs04y$reactspectrums2iconsCheckmarkCircle = require("@react-spectrum/s2/ico
|
|
|
8
8
|
var $fs04y$reactspectrums2iconsCloseCircle = require("@react-spectrum/s2/icons/CloseCircle");
|
|
9
9
|
var $fs04y$reactspectrums2iconsChevronDown = require("@react-spectrum/s2/icons/ChevronDown");
|
|
10
10
|
var $fs04y$reactspectrums2iconsChevronRight = require("@react-spectrum/s2/icons/ChevronRight");
|
|
11
|
+
var $fs04y$reactspectrums2iconsExportTo = require("@react-spectrum/s2/icons/ExportTo");
|
|
11
12
|
var $fs04y$reactspectrums2iconsClose = require("@react-spectrum/s2/icons/Close");
|
|
12
13
|
var $fs04y$nextnavigation = require("next/navigation");
|
|
13
14
|
var $fs04y$reactspectrums2iconsGlobeGrid = require("@react-spectrum/s2/icons/GlobeGrid");
|
|
@@ -2354,6 +2355,7 @@ function $0febc43943e0acfb$export$29d11c0fe2fc51d8({ variant: variant = 'primary
|
|
|
2354
2355
|
|
|
2355
2356
|
|
|
2356
2357
|
|
|
2358
|
+
|
|
2357
2359
|
const $0c771dca8e0e8649$var$menuStyles = " gLYrGTd12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iWK72ub12 _nLeasBb12 Tp12 Qp12 Sp12 Rp12 Ng12";
|
|
2358
2360
|
const $0c771dca8e0e8649$var$menuItemStyles = function anonymous(props) {
|
|
2359
2361
|
let rules = " ";
|
|
@@ -2392,10 +2394,12 @@ const $0c771dca8e0e8649$var$menuItemStyles = function anonymous(props) {
|
|
|
2392
2394
|
if (props.isFocused) rules += ' gG3O2ub12';
|
|
2393
2395
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
2394
2396
|
else rules += ' g912';
|
|
2397
|
+
rules += ' _Xa12';
|
|
2395
2398
|
rules += ' ry12';
|
|
2396
2399
|
return rules;
|
|
2397
2400
|
};
|
|
2398
2401
|
const $0c771dca8e0e8649$var$dividerStyles = " FesY7Od12 gWK72ub12 Js12 Gs12";
|
|
2402
|
+
const $0c771dca8e0e8649$var$linkOutStyles = " sh12 eb12 IM12";
|
|
2399
2403
|
function $0c771dca8e0e8649$export$d9b273488cd8ce6f({ trigger: trigger, items: items, placement: placement = 'bottom end', 'aria-label': ariaLabel }) {
|
|
2400
2404
|
return (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.MenuTrigger), {
|
|
2401
2405
|
children: [
|
|
@@ -2405,15 +2409,26 @@ function $0c771dca8e0e8649$export$d9b273488cd8ce6f({ trigger: trigger, items: it
|
|
|
2405
2409
|
children: (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Menu), {
|
|
2406
2410
|
className: $0c771dca8e0e8649$var$menuStyles,
|
|
2407
2411
|
"aria-label": ariaLabel,
|
|
2408
|
-
children: items.map((item, index)=>item.id
|
|
2412
|
+
children: items.map((item, index)=>item.id.startsWith('divider') ? (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Separator), {
|
|
2409
2413
|
className: $0c771dca8e0e8649$var$dividerStyles
|
|
2410
2414
|
}, `divider-${index}`) : (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.MenuItem), {
|
|
2411
2415
|
id: item.id,
|
|
2416
|
+
href: item.href,
|
|
2417
|
+
target: item.href ? '_blank' : undefined,
|
|
2418
|
+
rel: item.href ? 'noopener noreferrer' : undefined,
|
|
2412
2419
|
onAction: item.onAction,
|
|
2413
|
-
className: $0c771dca8e0e8649$var$menuItemStyles
|
|
2420
|
+
className: $0c771dca8e0e8649$var$menuItemStyles({
|
|
2421
|
+
ishref: !!item.href
|
|
2422
|
+
}),
|
|
2414
2423
|
children: [
|
|
2415
2424
|
item.icon,
|
|
2416
|
-
item.label
|
|
2425
|
+
item.label,
|
|
2426
|
+
item.href && (0, $fs04y$reactjsxruntime.jsx)("span", {
|
|
2427
|
+
className: $0c771dca8e0e8649$var$linkOutStyles,
|
|
2428
|
+
children: (0, $fs04y$reactjsxruntime.jsx)((0, ($parcel$interopDefault($fs04y$reactspectrums2iconsExportTo))), {
|
|
2429
|
+
styles: " Zu12 Ft12"
|
|
2430
|
+
})
|
|
2431
|
+
})
|
|
2417
2432
|
]
|
|
2418
2433
|
}, item.id))
|
|
2419
2434
|
})
|
|
@@ -4070,7 +4085,8 @@ function $3a1d0d18027ba81c$export$93d4e7f90805808f() {
|
|
|
4070
4085
|
const $8f5795e91d23efab$var$initialFilterState = {
|
|
4071
4086
|
category: null,
|
|
4072
4087
|
country: null,
|
|
4073
|
-
searchQuery: ''
|
|
4088
|
+
searchQuery: '',
|
|
4089
|
+
letterFilter: null
|
|
4074
4090
|
};
|
|
4075
4091
|
const $8f5795e91d23efab$var$FilterContext = /*#__PURE__*/ (0, $fs04y$react.createContext)(undefined);
|
|
4076
4092
|
function $8f5795e91d23efab$export$66b627500eff8faa({ children: children }) {
|