@foodpilot/foods 0.3.135 → 0.3.137
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.
|
@@ -2,7 +2,7 @@ import { FlexibleString } from '../../../../innerComponents/FlexibleTypography';
|
|
|
2
2
|
import { FlexibleButtonType } from '../../../../innerComponents/FlexibleButton';
|
|
3
3
|
export type InitHeaderProps = {
|
|
4
4
|
title: FlexibleString;
|
|
5
|
-
actionButton
|
|
5
|
+
actionButton?: FlexibleButtonType;
|
|
6
6
|
cancelButton?: FlexibleButtonType;
|
|
7
7
|
};
|
|
8
8
|
export declare const InitHeader: (props: InitHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/main.js
CHANGED
|
@@ -67311,7 +67311,7 @@ const _T = (e) => {
|
|
|
67311
67311
|
) }, `select-${h}`);
|
|
67312
67312
|
})
|
|
67313
67313
|
] });
|
|
67314
|
-
}, ode = (e, t, n, o, r) => e.length === 0 ? t : n === null ? r : o(n), rde = (e) => {
|
|
67314
|
+
}, ode = (e, t, n, o, r) => e.length === 0 ? n !== null ? o(n) : t : n === null ? r : o(n), rde = (e) => {
|
|
67315
67315
|
const { textOptions: t, disabled: n, closeOnSelect: o, setSearch: r, disableOnEmpty: i } = h0(), s = Ce(), [a, c] = Ne(null), d = () => c(null), u = a !== null, { selectedOption: p } = e, h = u ? /* @__PURE__ */ f.jsx(E7, {}) : /* @__PURE__ */ f.jsx(T7, {}), g = u ? { border: `2px solid ${s.custom.grey[2800]}` } : {}, m = ode(
|
|
67316
67316
|
e.options,
|
|
67317
67317
|
t.emptyOptionsText,
|
|
@@ -67568,7 +67568,7 @@ const _T = (e) => {
|
|
|
67568
67568
|
}
|
|
67569
67569
|
}
|
|
67570
67570
|
),
|
|
67571
|
-
/* @__PURE__ */ f.jsx(
|
|
67571
|
+
n && /* @__PURE__ */ f.jsx(
|
|
67572
67572
|
uc,
|
|
67573
67573
|
{
|
|
67574
67574
|
buttonOptions: n,
|