@marigold/components 15.0.0 → 15.0.1
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/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +24 -23
- package/dist/index.mjs +24 -23
- package/package.json +26 -26
package/dist/index.d.mts
CHANGED
|
@@ -686,8 +686,8 @@ interface DrawerActions {
|
|
|
686
686
|
declare const DrawerActions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
|
|
687
687
|
|
|
688
688
|
interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
|
|
689
|
+
size?: 'xsmall' | 'small' | 'medium' | (string & {});
|
|
689
690
|
variant?: string;
|
|
690
|
-
size?: string;
|
|
691
691
|
/**
|
|
692
692
|
* Whether the overlay is open by default (controlled).
|
|
693
693
|
* @default undefined
|
|
@@ -697,6 +697,11 @@ interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpe
|
|
|
697
697
|
* Whether pressing the escape key closes the modal.
|
|
698
698
|
* @default true
|
|
699
699
|
*/
|
|
700
|
+
/**
|
|
701
|
+
* The placement of the drawer on the screen.
|
|
702
|
+
* @default right
|
|
703
|
+
*/
|
|
704
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
700
705
|
keyboardDismissable?: boolean;
|
|
701
706
|
/**
|
|
702
707
|
* Show the close button.
|
|
@@ -714,7 +719,7 @@ interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpe
|
|
|
714
719
|
role?: Exclude<AriaLandmarkRole, 'main'>;
|
|
715
720
|
}
|
|
716
721
|
declare const Drawer: {
|
|
717
|
-
({ children,
|
|
722
|
+
({ children, size, variant, open, keyboardDismissable, closeButton, role, placement, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
718
723
|
Trigger: ({ open, children, ...props }: DrawerTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
719
724
|
Title: ({ variant, size, children }: DrawerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
720
725
|
Content: ({ variant, size, children, }: DrawerContentProps) => react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -686,8 +686,8 @@ interface DrawerActions {
|
|
|
686
686
|
declare const DrawerActions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
|
|
687
687
|
|
|
688
688
|
interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
|
|
689
|
+
size?: 'xsmall' | 'small' | 'medium' | (string & {});
|
|
689
690
|
variant?: string;
|
|
690
|
-
size?: string;
|
|
691
691
|
/**
|
|
692
692
|
* Whether the overlay is open by default (controlled).
|
|
693
693
|
* @default undefined
|
|
@@ -697,6 +697,11 @@ interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpe
|
|
|
697
697
|
* Whether pressing the escape key closes the modal.
|
|
698
698
|
* @default true
|
|
699
699
|
*/
|
|
700
|
+
/**
|
|
701
|
+
* The placement of the drawer on the screen.
|
|
702
|
+
* @default right
|
|
703
|
+
*/
|
|
704
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
700
705
|
keyboardDismissable?: boolean;
|
|
701
706
|
/**
|
|
702
707
|
* Show the close button.
|
|
@@ -714,7 +719,7 @@ interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpe
|
|
|
714
719
|
role?: Exclude<AriaLandmarkRole, 'main'>;
|
|
715
720
|
}
|
|
716
721
|
declare const Drawer: {
|
|
717
|
-
({ children,
|
|
722
|
+
({ children, size, variant, open, keyboardDismissable, closeButton, role, placement, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
718
723
|
Trigger: ({ open, children, ...props }: DrawerTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
719
724
|
Title: ({ variant, size, children }: DrawerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
720
725
|
Content: ({ variant, size, children, }: DrawerContentProps) => react_jsx_runtime.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -977,8 +977,8 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
|
977
977
|
var AccordionHeader = ({ children }) => {
|
|
978
978
|
const { classNames: classNames3 } = useAccordionContext();
|
|
979
979
|
const { isExpanded } = (0, import_react3.useContext)(import_react_aria_components.DisclosureStateContext);
|
|
980
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_aria_components.Heading, {
|
|
981
|
-
children,
|
|
980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_aria_components.Heading, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_aria_components.Button, { slot: "trigger", className: classNames3.header, children: [
|
|
981
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex-1", children }),
|
|
982
982
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
983
983
|
ChevronDown,
|
|
984
984
|
{
|
|
@@ -2830,14 +2830,7 @@ var DrawerModal = ({
|
|
|
2830
2830
|
...props
|
|
2831
2831
|
}) => {
|
|
2832
2832
|
const isSmallScreen = (0, import_system47.useSmallScreen)();
|
|
2833
|
-
return isSmallScreen ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(MobileModal, { children }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2834
|
-
NonModal,
|
|
2835
|
-
{
|
|
2836
|
-
...props,
|
|
2837
|
-
className: (0, import_system47.cn)("fixed top-0 right-0 bottom-0", className),
|
|
2838
|
-
children
|
|
2839
|
-
}
|
|
2840
|
-
);
|
|
2833
|
+
return isSmallScreen ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(MobileModal, { children }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(NonModal, { ...props, className: (0, import_system47.cn)("fixed", className), children });
|
|
2841
2834
|
};
|
|
2842
2835
|
|
|
2843
2836
|
// src/Drawer/DrawerTitle.tsx
|
|
@@ -2874,16 +2867,21 @@ var DrawerTrigger = ({
|
|
|
2874
2867
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2875
2868
|
var Drawer = ({
|
|
2876
2869
|
children,
|
|
2870
|
+
size: size2 = "medium",
|
|
2877
2871
|
variant,
|
|
2878
|
-
size: size2,
|
|
2879
2872
|
open,
|
|
2880
2873
|
keyboardDismissable,
|
|
2881
2874
|
closeButton,
|
|
2882
2875
|
role = "complementary",
|
|
2876
|
+
placement = "right",
|
|
2883
2877
|
...props
|
|
2884
2878
|
}) => {
|
|
2885
2879
|
const ref = (0, import_react34.useRef)(null);
|
|
2886
|
-
const classNames3 = (0, import_system49.useClassNames)({
|
|
2880
|
+
const classNames3 = (0, import_system49.useClassNames)({
|
|
2881
|
+
component: "Drawer",
|
|
2882
|
+
variant,
|
|
2883
|
+
size: size2
|
|
2884
|
+
});
|
|
2887
2885
|
const ctx = (0, import_react34.useContext)(import_react_aria_components36.OverlayTriggerStateContext);
|
|
2888
2886
|
const isSmallScreen = (0, import_system49.useSmallScreen)();
|
|
2889
2887
|
const landmarkAria = (0, import_landmark.useLandmark)({ ...props, role }, ref);
|
|
@@ -2894,6 +2892,8 @@ var Drawer = ({
|
|
|
2894
2892
|
className: classNames3.overlay,
|
|
2895
2893
|
open,
|
|
2896
2894
|
keyboardDismissable,
|
|
2895
|
+
"data-testid": "drawer-modal",
|
|
2896
|
+
"data-placement": placement,
|
|
2897
2897
|
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2898
2898
|
import_react_aria_components36.Dialog,
|
|
2899
2899
|
{
|
|
@@ -2904,6 +2904,7 @@ var Drawer = ({
|
|
|
2904
2904
|
'grid [grid-template-areas:"title"_"content"_"actions"]',
|
|
2905
2905
|
classNames3.container
|
|
2906
2906
|
),
|
|
2907
|
+
"data-placement": placement,
|
|
2907
2908
|
children: [
|
|
2908
2909
|
closeButton && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2909
2910
|
CloseButton,
|
|
@@ -4015,7 +4016,7 @@ function _objectWithoutProperties(e, t) {
|
|
|
4015
4016
|
return i;
|
|
4016
4017
|
}
|
|
4017
4018
|
|
|
4018
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
4019
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
|
|
4019
4020
|
var import_react47 = require("react");
|
|
4020
4021
|
var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
4021
4022
|
function useStateManager(_ref3) {
|
|
@@ -4073,7 +4074,7 @@ function _extends() {
|
|
|
4073
4074
|
}, _extends.apply(null, arguments);
|
|
4074
4075
|
}
|
|
4075
4076
|
|
|
4076
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
4077
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/react-select.esm.js
|
|
4077
4078
|
var React11 = __toESM(require("react"));
|
|
4078
4079
|
var import_react54 = require("react");
|
|
4079
4080
|
|
|
@@ -4181,11 +4182,11 @@ function _toConsumableArray(r) {
|
|
|
4181
4182
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
4182
4183
|
}
|
|
4183
4184
|
|
|
4184
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
4185
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/Select-ef7c0426.esm.js
|
|
4185
4186
|
var React10 = __toESM(require("react"));
|
|
4186
4187
|
var import_react52 = require("react");
|
|
4187
4188
|
|
|
4188
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
4189
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.12_react@19.1.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
4189
4190
|
var React8 = __toESM(require("react"));
|
|
4190
4191
|
var import_react48 = require("react");
|
|
4191
4192
|
|
|
@@ -5359,7 +5360,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
5359
5360
|
var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
|
|
5360
5361
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
|
|
5361
5362
|
|
|
5362
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
5363
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.12_react@19.1.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
5363
5364
|
var isDevelopment3 = false;
|
|
5364
5365
|
var isBrowser4 = typeof document !== "undefined";
|
|
5365
5366
|
var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
|
|
@@ -5463,7 +5464,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
|
5463
5464
|
});
|
|
5464
5465
|
var Emotion$1 = Emotion;
|
|
5465
5466
|
|
|
5466
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
5467
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.12_react@19.1.1/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
5467
5468
|
var React9 = __toESM(require("react"));
|
|
5468
5469
|
var import_extends2 = __toESM(require_extends());
|
|
5469
5470
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
@@ -5514,7 +5515,7 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
5514
5515
|
}));
|
|
5515
5516
|
}
|
|
5516
5517
|
|
|
5517
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
5518
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5518
5519
|
var import_react51 = require("react");
|
|
5519
5520
|
var import_react_dom = require("react-dom");
|
|
5520
5521
|
|
|
@@ -5917,14 +5918,14 @@ function autoUpdate(reference, floating, update, options2) {
|
|
|
5917
5918
|
};
|
|
5918
5919
|
}
|
|
5919
5920
|
|
|
5920
|
-
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types+react@19.1.
|
|
5921
|
+
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types+react@19.1.12_react@19.1.1/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
|
|
5921
5922
|
var import_react49 = require("react");
|
|
5922
5923
|
var isClient = typeof document !== "undefined";
|
|
5923
5924
|
var noop = function noop2() {
|
|
5924
5925
|
};
|
|
5925
5926
|
var index = isClient ? import_react49.useLayoutEffect : noop;
|
|
5926
5927
|
|
|
5927
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
5928
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5928
5929
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
5929
5930
|
var noop3 = function noop4() {
|
|
5930
5931
|
};
|
|
@@ -6998,7 +6999,7 @@ function memoizeOne(resultFn, isEqual2) {
|
|
|
6998
6999
|
return memoized;
|
|
6999
7000
|
}
|
|
7000
7001
|
|
|
7001
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
7002
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/Select-ef7c0426.esm.js
|
|
7002
7003
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
|
|
7003
7004
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
7004
7005
|
}
|
|
@@ -9299,7 +9300,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
9299
9300
|
}(import_react52.Component);
|
|
9300
9301
|
Select.defaultProps = defaultProps;
|
|
9301
9302
|
|
|
9302
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
9303
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/react-select.esm.js
|
|
9303
9304
|
var import_objectSpread24 = __toESM(require_objectSpread2());
|
|
9304
9305
|
var import_slicedToArray3 = __toESM(require_slicedToArray());
|
|
9305
9306
|
var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
|
package/dist/index.mjs
CHANGED
|
@@ -884,8 +884,8 @@ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
|
884
884
|
var AccordionHeader = ({ children }) => {
|
|
885
885
|
const { classNames: classNames3 } = useAccordionContext();
|
|
886
886
|
const { isExpanded } = useContext2(DisclosureStateContext);
|
|
887
|
-
return /* @__PURE__ */ jsx2(Heading, {
|
|
888
|
-
children,
|
|
887
|
+
return /* @__PURE__ */ jsx2(Heading, { children: /* @__PURE__ */ jsxs(Button, { slot: "trigger", className: classNames3.header, children: [
|
|
888
|
+
/* @__PURE__ */ jsx2("div", { className: "flex-1", children }),
|
|
889
889
|
/* @__PURE__ */ jsx2(
|
|
890
890
|
ChevronDown,
|
|
891
891
|
{
|
|
@@ -2777,14 +2777,7 @@ var DrawerModal = ({
|
|
|
2777
2777
|
...props
|
|
2778
2778
|
}) => {
|
|
2779
2779
|
const isSmallScreen = useSmallScreen2();
|
|
2780
|
-
return isSmallScreen ? /* @__PURE__ */ jsx54(MobileModal, { children }) : /* @__PURE__ */ jsx54(
|
|
2781
|
-
NonModal,
|
|
2782
|
-
{
|
|
2783
|
-
...props,
|
|
2784
|
-
className: cn31("fixed top-0 right-0 bottom-0", className),
|
|
2785
|
-
children
|
|
2786
|
-
}
|
|
2787
|
-
);
|
|
2780
|
+
return isSmallScreen ? /* @__PURE__ */ jsx54(MobileModal, { children }) : /* @__PURE__ */ jsx54(NonModal, { ...props, className: cn31("fixed", className), children });
|
|
2788
2781
|
};
|
|
2789
2782
|
|
|
2790
2783
|
// src/Drawer/DrawerTitle.tsx
|
|
@@ -2821,16 +2814,21 @@ var DrawerTrigger = ({
|
|
|
2821
2814
|
import { jsx as jsx57, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2822
2815
|
var Drawer = ({
|
|
2823
2816
|
children,
|
|
2817
|
+
size: size2 = "medium",
|
|
2824
2818
|
variant,
|
|
2825
|
-
size: size2,
|
|
2826
2819
|
open,
|
|
2827
2820
|
keyboardDismissable,
|
|
2828
2821
|
closeButton,
|
|
2829
2822
|
role = "complementary",
|
|
2823
|
+
placement = "right",
|
|
2830
2824
|
...props
|
|
2831
2825
|
}) => {
|
|
2832
2826
|
const ref = useRef(null);
|
|
2833
|
-
const classNames3 = useClassNames34({
|
|
2827
|
+
const classNames3 = useClassNames34({
|
|
2828
|
+
component: "Drawer",
|
|
2829
|
+
variant,
|
|
2830
|
+
size: size2
|
|
2831
|
+
});
|
|
2834
2832
|
const ctx = useContext11(OverlayTriggerStateContext3);
|
|
2835
2833
|
const isSmallScreen = useSmallScreen3();
|
|
2836
2834
|
const landmarkAria = useLandmark({ ...props, role }, ref);
|
|
@@ -2841,6 +2839,8 @@ var Drawer = ({
|
|
|
2841
2839
|
className: classNames3.overlay,
|
|
2842
2840
|
open,
|
|
2843
2841
|
keyboardDismissable,
|
|
2842
|
+
"data-testid": "drawer-modal",
|
|
2843
|
+
"data-placement": placement,
|
|
2844
2844
|
children: /* @__PURE__ */ jsx57(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ jsxs20(
|
|
2845
2845
|
Dialog3,
|
|
2846
2846
|
{
|
|
@@ -2851,6 +2851,7 @@ var Drawer = ({
|
|
|
2851
2851
|
'grid [grid-template-areas:"title"_"content"_"actions"]',
|
|
2852
2852
|
classNames3.container
|
|
2853
2853
|
),
|
|
2854
|
+
"data-placement": placement,
|
|
2854
2855
|
children: [
|
|
2855
2856
|
closeButton && /* @__PURE__ */ jsx57(
|
|
2856
2857
|
CloseButton,
|
|
@@ -3990,7 +3991,7 @@ function _objectWithoutProperties(e, t) {
|
|
|
3990
3991
|
return i;
|
|
3991
3992
|
}
|
|
3992
3993
|
|
|
3993
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
3994
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
|
|
3994
3995
|
import { useState as useState4, useCallback } from "react";
|
|
3995
3996
|
var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
3996
3997
|
function useStateManager(_ref3) {
|
|
@@ -4048,7 +4049,7 @@ function _extends() {
|
|
|
4048
4049
|
}, _extends.apply(null, arguments);
|
|
4049
4050
|
}
|
|
4050
4051
|
|
|
4051
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
4052
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/react-select.esm.js
|
|
4052
4053
|
import * as React11 from "react";
|
|
4053
4054
|
import { forwardRef as forwardRef24, useMemo as useMemo5 } from "react";
|
|
4054
4055
|
|
|
@@ -4156,11 +4157,11 @@ function _toConsumableArray(r) {
|
|
|
4156
4157
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
4157
4158
|
}
|
|
4158
4159
|
|
|
4159
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
4160
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/Select-ef7c0426.esm.js
|
|
4160
4161
|
import * as React10 from "react";
|
|
4161
4162
|
import { useMemo as useMemo4, Fragment as Fragment7, useRef as useRef5, useCallback as useCallback3, useEffect, Component } from "react";
|
|
4162
4163
|
|
|
4163
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
4164
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.12_react@19.1.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
4164
4165
|
import * as React8 from "react";
|
|
4165
4166
|
import { useContext as useContext20, forwardRef as forwardRef23 } from "react";
|
|
4166
4167
|
|
|
@@ -5334,7 +5335,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
5334
5335
|
var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
|
|
5335
5336
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
|
|
5336
5337
|
|
|
5337
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
5338
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.12_react@19.1.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
5338
5339
|
var isDevelopment3 = false;
|
|
5339
5340
|
var isBrowser4 = typeof document !== "undefined";
|
|
5340
5341
|
var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
|
|
@@ -5438,7 +5439,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
|
5438
5439
|
});
|
|
5439
5440
|
var Emotion$1 = Emotion;
|
|
5440
5441
|
|
|
5441
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
5442
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.12_react@19.1.1/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
5442
5443
|
import * as React9 from "react";
|
|
5443
5444
|
var import_extends2 = __toESM(require_extends());
|
|
5444
5445
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
@@ -5489,7 +5490,7 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
5489
5490
|
}));
|
|
5490
5491
|
}
|
|
5491
5492
|
|
|
5492
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
5493
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5493
5494
|
import { useContext as useContext22, useRef as useRef4, useState as useState5, useMemo as useMemo3, useCallback as useCallback2, createContext as createContext11 } from "react";
|
|
5494
5495
|
import { createPortal } from "react-dom";
|
|
5495
5496
|
|
|
@@ -5892,14 +5893,14 @@ function autoUpdate(reference, floating, update, options2) {
|
|
|
5892
5893
|
};
|
|
5893
5894
|
}
|
|
5894
5895
|
|
|
5895
|
-
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types+react@19.1.
|
|
5896
|
+
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types+react@19.1.12_react@19.1.1/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
|
|
5896
5897
|
import { useLayoutEffect as useLayoutEffect2 } from "react";
|
|
5897
5898
|
var isClient = typeof document !== "undefined";
|
|
5898
5899
|
var noop = function noop2() {
|
|
5899
5900
|
};
|
|
5900
5901
|
var index = isClient ? useLayoutEffect2 : noop;
|
|
5901
5902
|
|
|
5902
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
5903
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5903
5904
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
5904
5905
|
var noop3 = function noop4() {
|
|
5905
5906
|
};
|
|
@@ -6973,7 +6974,7 @@ function memoizeOne(resultFn, isEqual2) {
|
|
|
6973
6974
|
return memoized;
|
|
6974
6975
|
}
|
|
6975
6976
|
|
|
6976
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
6977
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/Select-ef7c0426.esm.js
|
|
6977
6978
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
|
|
6978
6979
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
6979
6980
|
}
|
|
@@ -9274,7 +9275,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
9274
9275
|
}(Component);
|
|
9275
9276
|
Select.defaultProps = defaultProps;
|
|
9276
9277
|
|
|
9277
|
-
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.
|
|
9278
|
+
// ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.1.12_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-select/dist/react-select.esm.js
|
|
9278
9279
|
var import_objectSpread24 = __toESM(require_objectSpread2());
|
|
9279
9280
|
var import_slicedToArray3 = __toESM(require_slicedToArray());
|
|
9280
9281
|
var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/components",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"description": "Components for the Marigold Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -33,29 +33,29 @@
|
|
|
33
33
|
"directory": "packages/components"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@internationalized/date": "3.
|
|
37
|
-
"@react-aria/button": "3.14.
|
|
38
|
-
"@react-aria/calendar": "3.9.
|
|
39
|
-
"@react-aria/focus": "3.21.
|
|
40
|
-
"@react-aria/i18n": "3.12.
|
|
41
|
-
"@react-aria/interactions": "3.25.
|
|
42
|
-
"@react-aria/label": "3.7.
|
|
43
|
-
"@react-aria/landmark": "3.0.
|
|
44
|
-
"@react-aria/overlays": "3.
|
|
45
|
-
"@react-aria/selection": "3.25.
|
|
46
|
-
"@react-aria/ssr": "3.9.10",
|
|
47
|
-
"@react-aria/table": "3.17.
|
|
48
|
-
"@react-aria/utils": "3.30.
|
|
49
|
-
"@react-aria/visually-hidden": "3.8.
|
|
50
|
-
"@react-stately/collections": "3.12.
|
|
51
|
-
"@react-stately/data": "3.
|
|
52
|
-
"@react-stately/table": "3.
|
|
53
|
-
"@react-stately/tree": "3.9.
|
|
54
|
-
"@react-types/shared": "3.
|
|
55
|
-
"@react-types/table": "3.13.
|
|
56
|
-
"react-aria-components": "1.
|
|
57
|
-
"react-stately": "3.
|
|
58
|
-
"@marigold/system": "15.0.
|
|
36
|
+
"@internationalized/date": "^3.9.0",
|
|
37
|
+
"@react-aria/button": "^3.14.1",
|
|
38
|
+
"@react-aria/calendar": "^3.9.1",
|
|
39
|
+
"@react-aria/focus": "^3.21.1",
|
|
40
|
+
"@react-aria/i18n": "^3.12.12",
|
|
41
|
+
"@react-aria/interactions": "^3.25.5",
|
|
42
|
+
"@react-aria/label": "^3.7.21",
|
|
43
|
+
"@react-aria/landmark": "^3.0.6",
|
|
44
|
+
"@react-aria/overlays": "^3.29.1",
|
|
45
|
+
"@react-aria/selection": "^3.25.1",
|
|
46
|
+
"@react-aria/ssr": "^3.9.10",
|
|
47
|
+
"@react-aria/table": "^3.17.7",
|
|
48
|
+
"@react-aria/utils": "^3.30.1",
|
|
49
|
+
"@react-aria/visually-hidden": "^3.8.27",
|
|
50
|
+
"@react-stately/collections": "^3.12.7",
|
|
51
|
+
"@react-stately/data": "^3.14.0",
|
|
52
|
+
"@react-stately/table": "^3.15.0",
|
|
53
|
+
"@react-stately/tree": "^3.9.2",
|
|
54
|
+
"@react-types/shared": "^3.32.0",
|
|
55
|
+
"@react-types/table": "^3.13.3",
|
|
56
|
+
"react-aria-components": "^1.12.1",
|
|
57
|
+
"react-stately": "^3.41.0",
|
|
58
|
+
"@marigold/system": "15.0.1",
|
|
59
59
|
"@marigold/types": "1.3.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"react-dom": ">=17.0.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@types/react": "19.1.
|
|
66
|
+
"@types/react": "19.1.12",
|
|
67
67
|
"react": "19.1.1",
|
|
68
68
|
"react-dom": "19.1.1",
|
|
69
69
|
"tsup": "8.5.0",
|
|
70
|
-
"@marigold/icons": "1.3.
|
|
70
|
+
"@marigold/icons": "1.3.19",
|
|
71
71
|
"@marigold/tsconfig": "0.4.1"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|