@ceed/cds 1.12.2 → 1.13.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.
@@ -1,11 +1,2 @@
1
- import React from 'react';
2
- declare const Sheet: import("framer-motion").CustomDomComponent<{
3
- children?: React.ReactNode;
4
- color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").SheetPropsColorOverrides> | undefined;
5
- invertedColors?: boolean | undefined;
6
- sx?: import("@mui/joy/styles/types").SxProps | undefined;
7
- variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").SheetPropsVariantOverrides> | undefined;
8
- } & import("@mui/joy").SheetSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
10
- }, "children" | "color" | "variant" | "sx" | "invertedColors" | keyof import("@mui/joy").SheetSlotsAndSlotProps>>;
1
+ declare const Sheet: import("@mui/types").OverridableComponent<import("@mui/joy").SheetTypeMap<{}, "div">>;
11
2
  export { Sheet };
package/dist/index.cjs CHANGED
@@ -2188,7 +2188,7 @@ var Resizer = (ref, targetRef = ref) => /* @__PURE__ */ import_react18.default.c
2188
2188
  // src/components/DataTable/components.tsx
2189
2189
  var import_react24 = __toESM(require("react"));
2190
2190
  var import_joy32 = require("@mui/joy");
2191
- var import_framer_motion22 = require("framer-motion");
2191
+ var import_framer_motion21 = require("framer-motion");
2192
2192
 
2193
2193
  // src/components/DatePicker/DatePicker.tsx
2194
2194
  var import_react19 = __toESM(require("react"));
@@ -2199,18 +2199,15 @@ var import_base2 = require("@mui/base");
2199
2199
 
2200
2200
  // src/components/Sheet/Sheet.tsx
2201
2201
  var import_joy25 = require("@mui/joy");
2202
- var import_framer_motion17 = require("framer-motion");
2203
- var MotionSheet = (0, import_framer_motion17.motion)(import_joy25.Sheet);
2204
- var Sheet = MotionSheet;
2205
- Sheet.displayName = "Sheet";
2202
+ var Sheet = import_joy25.Sheet;
2206
2203
 
2207
2204
  // src/components/Sheet/index.ts
2208
2205
  var Sheet_default = Sheet;
2209
2206
 
2210
2207
  // src/components/DialogActions/DialogActions.tsx
2211
2208
  var import_joy26 = require("@mui/joy");
2212
- var import_framer_motion18 = require("framer-motion");
2213
- var MotionDialogActions = (0, import_framer_motion18.motion)(import_joy26.DialogActions);
2209
+ var import_framer_motion17 = require("framer-motion");
2210
+ var MotionDialogActions = (0, import_framer_motion17.motion)(import_joy26.DialogActions);
2214
2211
  var StyledDialogActions = (0, import_joy26.styled)(MotionDialogActions)(({ theme }) => ({
2215
2212
  padding: theme.spacing(2),
2216
2213
  gap: theme.spacing(2),
@@ -2566,8 +2563,8 @@ var DatePicker_default = DatePicker;
2566
2563
  // src/components/Textarea/Textarea.tsx
2567
2564
  var import_react20 = __toESM(require("react"));
2568
2565
  var import_joy28 = require("@mui/joy");
2569
- var import_framer_motion19 = require("framer-motion");
2570
- var MotionTextarea = (0, import_framer_motion19.motion)(import_joy28.Textarea);
2566
+ var import_framer_motion18 = require("framer-motion");
2567
+ var MotionTextarea = (0, import_framer_motion18.motion)(import_joy28.Textarea);
2571
2568
  var Textarea = (props) => {
2572
2569
  const {
2573
2570
  label,
@@ -2620,8 +2617,8 @@ var Textarea_default = Textarea;
2620
2617
  // src/components/Select/Select.tsx
2621
2618
  var import_react21 = __toESM(require("react"));
2622
2619
  var import_joy29 = require("@mui/joy");
2623
- var import_framer_motion20 = require("framer-motion");
2624
- var MotionOption = (0, import_framer_motion20.motion)(import_joy29.Option);
2620
+ var import_framer_motion19 = require("framer-motion");
2621
+ var MotionOption = (0, import_framer_motion19.motion)(import_joy29.Option);
2625
2622
  var Option = MotionOption;
2626
2623
  Option.displayName = "Option";
2627
2624
  function Select(props) {
@@ -2703,8 +2700,8 @@ var import_joy33 = require("@mui/joy");
2703
2700
  // src/components/Tooltip/Tooltip.tsx
2704
2701
  var import_react22 = __toESM(require("react"));
2705
2702
  var import_joy30 = require("@mui/joy");
2706
- var import_framer_motion21 = require("framer-motion");
2707
- var MotionTooltip = (0, import_framer_motion21.motion)(import_joy30.Tooltip);
2703
+ var import_framer_motion20 = require("framer-motion");
2704
+ var MotionTooltip = (0, import_framer_motion20.motion)(import_joy30.Tooltip);
2708
2705
  var Tooltip = (props) => {
2709
2706
  return /* @__PURE__ */ import_react22.default.createElement(MotionTooltip, { ...props });
2710
2707
  };
@@ -2845,7 +2842,7 @@ var HeadCell = (props) => {
2845
2842
  const sortIcon = (0, import_react24.useMemo)(() => {
2846
2843
  const isSorted = !!sort;
2847
2844
  const isVisible = sortable && (isSorted || isHovered);
2848
- return /* @__PURE__ */ import_react24.default.createElement(import_framer_motion22.AnimatePresence, { mode: "wait" }, isVisible && /* @__PURE__ */ import_react24.default.createElement(
2845
+ return /* @__PURE__ */ import_react24.default.createElement(import_framer_motion21.AnimatePresence, { mode: "wait" }, isVisible && /* @__PURE__ */ import_react24.default.createElement(
2849
2846
  MotionSortIcon,
2850
2847
  {
2851
2848
  key: "sort-icon",
@@ -4369,8 +4366,8 @@ DateRangePicker.displayName = "DateRangePicker";
4369
4366
  // src/components/Drawer/Drawer.tsx
4370
4367
  var import_react30 = __toESM(require("react"));
4371
4368
  var import_joy37 = require("@mui/joy");
4372
- var import_framer_motion23 = require("framer-motion");
4373
- var MotionDrawer = (0, import_framer_motion23.motion)(import_joy37.Drawer);
4369
+ var import_framer_motion22 = require("framer-motion");
4370
+ var MotionDrawer = (0, import_framer_motion22.motion)(import_joy37.Drawer);
4374
4371
  var StyledDrawer = (0, import_joy37.styled)(MotionDrawer)(({ theme, size = "md" }) => ({
4375
4372
  "--Drawer-horizontalSize": {
4376
4373
  sm: "360px",
@@ -4391,8 +4388,8 @@ Drawer.displayName = "Drawer";
4391
4388
 
4392
4389
  // src/components/DialogContent/DialogContent.tsx
4393
4390
  var import_joy38 = require("@mui/joy");
4394
- var import_framer_motion24 = require("framer-motion");
4395
- var MotionDialogContent = (0, import_framer_motion24.motion)(import_joy38.DialogContent);
4391
+ var import_framer_motion23 = require("framer-motion");
4392
+ var MotionDialogContent = (0, import_framer_motion23.motion)(import_joy38.DialogContent);
4396
4393
  var StyledDialogContent = (0, import_joy38.styled)(MotionDialogContent)(({ theme }) => ({
4397
4394
  padding: theme.spacing(0, 6, 5)
4398
4395
  }));
@@ -4404,8 +4401,8 @@ var DialogContent_default = DialogContent;
4404
4401
 
4405
4402
  // src/components/DialogTitle/DialogTitle.tsx
4406
4403
  var import_joy39 = require("@mui/joy");
4407
- var import_framer_motion25 = require("framer-motion");
4408
- var MotionDialogTitle = (0, import_framer_motion25.motion)(import_joy39.DialogTitle);
4404
+ var import_framer_motion24 = require("framer-motion");
4405
+ var MotionDialogTitle = (0, import_framer_motion24.motion)(import_joy39.DialogTitle);
4409
4406
  var StyledDialogTitle = (0, import_joy39.styled)(MotionDialogTitle)(({ theme }) => ({
4410
4407
  padding: theme.spacing(4, 6)
4411
4408
  }));
@@ -4421,8 +4418,8 @@ var import_react32 = __toESM(require("react"));
4421
4418
  // src/components/Modal/Modal.tsx
4422
4419
  var import_react31 = __toESM(require("react"));
4423
4420
  var import_joy40 = require("@mui/joy");
4424
- var import_framer_motion26 = require("framer-motion");
4425
- var MotionModal = (0, import_framer_motion26.motion)(import_joy40.Modal);
4421
+ var import_framer_motion25 = require("framer-motion");
4422
+ var MotionModal = (0, import_framer_motion25.motion)(import_joy40.Modal);
4426
4423
  var Modal = MotionModal;
4427
4424
  Modal.displayName = "Modal";
4428
4425
  var StyledModalDialog = (0, import_joy40.styled)(import_joy40.ModalDialog)({
@@ -4431,7 +4428,7 @@ var StyledModalDialog = (0, import_joy40.styled)(import_joy40.ModalDialog)({
4431
4428
  var ModalDialog = StyledModalDialog;
4432
4429
  ModalDialog.displayName = "ModalDialog";
4433
4430
  var ModalClose = import_joy40.ModalClose;
4434
- var MotionModalOverflow = (0, import_framer_motion26.motion)(import_joy40.ModalOverflow);
4431
+ var MotionModalOverflow = (0, import_framer_motion25.motion)(import_joy40.ModalOverflow);
4435
4432
  var ModalOverflow = MotionModalOverflow;
4436
4433
  ModalOverflow.displayName = "ModalOverflow";
4437
4434
  function ModalFrame(props) {
@@ -4457,8 +4454,8 @@ DialogFrame.displayName = "DialogFrame";
4457
4454
  // src/components/Divider/Divider.tsx
4458
4455
  var import_react33 = __toESM(require("react"));
4459
4456
  var import_joy42 = require("@mui/joy");
4460
- var import_framer_motion27 = require("framer-motion");
4461
- var MotionDivider = (0, import_framer_motion27.motion)(import_joy42.Divider);
4457
+ var import_framer_motion26 = require("framer-motion");
4458
+ var MotionDivider = (0, import_framer_motion26.motion)(import_joy42.Divider);
4462
4459
  var Divider = (props) => {
4463
4460
  return /* @__PURE__ */ import_react33.default.createElement(MotionDivider, { ...props });
4464
4461
  };
@@ -5367,11 +5364,11 @@ PercentageInput.displayName = "PercentageInput";
5367
5364
 
5368
5365
  // src/components/Radio/Radio.tsx
5369
5366
  var import_joy54 = require("@mui/joy");
5370
- var import_framer_motion28 = require("framer-motion");
5371
- var MotionRadio = (0, import_framer_motion28.motion)(import_joy54.Radio);
5367
+ var import_framer_motion27 = require("framer-motion");
5368
+ var MotionRadio = (0, import_framer_motion27.motion)(import_joy54.Radio);
5372
5369
  var Radio = MotionRadio;
5373
5370
  Radio.displayName = "Radio";
5374
- var MotionRadioGroup = (0, import_framer_motion28.motion)(import_joy54.RadioGroup);
5371
+ var MotionRadioGroup = (0, import_framer_motion27.motion)(import_joy54.RadioGroup);
5375
5372
  var RadioGroup = MotionRadioGroup;
5376
5373
  RadioGroup.displayName = "RadioGroup";
5377
5374
 
@@ -5387,7 +5384,7 @@ RadioList.displayName = "RadioList";
5387
5384
  var import_react44 = __toESM(require("react"));
5388
5385
  var import_joy55 = require("@mui/joy");
5389
5386
  var import_Check = __toESM(require("@mui/icons-material/Check"));
5390
- var import_framer_motion29 = require("framer-motion");
5387
+ var import_framer_motion28 = require("framer-motion");
5391
5388
  var Step = (0, import_joy55.styled)(import_joy55.Step)({});
5392
5389
  Step.displayName = "Step";
5393
5390
  var StepIndicator = (0, import_joy55.styled)(import_joy55.StepIndicator)({});
@@ -5400,7 +5397,7 @@ var StyledStepper = (0, import_joy55.styled)(import_joy55.Stepper)(({ theme }) =
5400
5397
  fontSize: "var(--ceed-fontSize-xs)"
5401
5398
  }
5402
5399
  }));
5403
- var MotionStepper = (0, import_framer_motion29.motion)(StyledStepper);
5400
+ var MotionStepper = (0, import_framer_motion28.motion)(StyledStepper);
5404
5401
  function Stepper(props) {
5405
5402
  const {
5406
5403
  steps,
@@ -5463,9 +5460,9 @@ Stepper.displayName = "Stepper";
5463
5460
  // src/components/Switch/Switch.tsx
5464
5461
  var import_react45 = __toESM(require("react"));
5465
5462
  var import_joy56 = require("@mui/joy");
5466
- var import_framer_motion30 = require("framer-motion");
5467
- var MotionSwitch = (0, import_framer_motion30.motion)(import_joy56.Switch);
5468
- var StyledThumb = (0, import_joy56.styled)(import_framer_motion30.motion.div)({
5463
+ var import_framer_motion29 = require("framer-motion");
5464
+ var MotionSwitch = (0, import_framer_motion29.motion)(import_joy56.Switch);
5465
+ var StyledThumb = (0, import_joy56.styled)(import_framer_motion29.motion.div)({
5469
5466
  "--Icon-fontSize": "calc(var(--Switch-thumbSize) * 0.75)",
5470
5467
  display: "inline-flex",
5471
5468
  justifyContent: "center",
package/dist/index.js CHANGED
@@ -2138,18 +2138,15 @@ import { FocusTrap, ClickAwayListener, Popper as Popper2 } from "@mui/base";
2138
2138
 
2139
2139
  // src/components/Sheet/Sheet.tsx
2140
2140
  import { Sheet as JoySheet } from "@mui/joy";
2141
- import { motion as motion17 } from "framer-motion";
2142
- var MotionSheet = motion17(JoySheet);
2143
- var Sheet = MotionSheet;
2144
- Sheet.displayName = "Sheet";
2141
+ var Sheet = JoySheet;
2145
2142
 
2146
2143
  // src/components/Sheet/index.ts
2147
2144
  var Sheet_default = Sheet;
2148
2145
 
2149
2146
  // src/components/DialogActions/DialogActions.tsx
2150
2147
  import { DialogActions as JoyDialogActions, styled as styled9 } from "@mui/joy";
2151
- import { motion as motion18 } from "framer-motion";
2152
- var MotionDialogActions = motion18(JoyDialogActions);
2148
+ import { motion as motion17 } from "framer-motion";
2149
+ var MotionDialogActions = motion17(JoyDialogActions);
2153
2150
  var StyledDialogActions = styled9(MotionDialogActions)(({ theme }) => ({
2154
2151
  padding: theme.spacing(2),
2155
2152
  gap: theme.spacing(2),
@@ -2505,8 +2502,8 @@ var DatePicker_default = DatePicker;
2505
2502
  // src/components/Textarea/Textarea.tsx
2506
2503
  import React18 from "react";
2507
2504
  import { Textarea as JoyTextarea } from "@mui/joy";
2508
- import { motion as motion19 } from "framer-motion";
2509
- var MotionTextarea = motion19(JoyTextarea);
2505
+ import { motion as motion18 } from "framer-motion";
2506
+ var MotionTextarea = motion18(JoyTextarea);
2510
2507
  var Textarea = (props) => {
2511
2508
  const {
2512
2509
  label,
@@ -2559,8 +2556,8 @@ var Textarea_default = Textarea;
2559
2556
  // src/components/Select/Select.tsx
2560
2557
  import React19, { useMemo as useMemo7 } from "react";
2561
2558
  import { Select as JoySelect, Option as JoyOption } from "@mui/joy";
2562
- import { motion as motion20 } from "framer-motion";
2563
- var MotionOption = motion20(JoyOption);
2559
+ import { motion as motion19 } from "framer-motion";
2560
+ var MotionOption = motion19(JoyOption);
2564
2561
  var Option = MotionOption;
2565
2562
  Option.displayName = "Option";
2566
2563
  function Select(props) {
@@ -2642,8 +2639,8 @@ import { Link } from "@mui/joy";
2642
2639
  // src/components/Tooltip/Tooltip.tsx
2643
2640
  import React20 from "react";
2644
2641
  import { Tooltip as JoyTooltip } from "@mui/joy";
2645
- import { motion as motion21 } from "framer-motion";
2646
- var MotionTooltip = motion21(JoyTooltip);
2642
+ import { motion as motion20 } from "framer-motion";
2643
+ var MotionTooltip = motion20(JoyTooltip);
2647
2644
  var Tooltip = (props) => {
2648
2645
  return /* @__PURE__ */ React20.createElement(MotionTooltip, { ...props });
2649
2646
  };
@@ -4308,8 +4305,8 @@ DateRangePicker.displayName = "DateRangePicker";
4308
4305
  // src/components/Drawer/Drawer.tsx
4309
4306
  import React27 from "react";
4310
4307
  import { Drawer as JoyDrawer, styled as styled15, drawerClasses } from "@mui/joy";
4311
- import { motion as motion22 } from "framer-motion";
4312
- var MotionDrawer = motion22(JoyDrawer);
4308
+ import { motion as motion21 } from "framer-motion";
4309
+ var MotionDrawer = motion21(JoyDrawer);
4313
4310
  var StyledDrawer = styled15(MotionDrawer)(({ theme, size = "md" }) => ({
4314
4311
  "--Drawer-horizontalSize": {
4315
4312
  sm: "360px",
@@ -4330,8 +4327,8 @@ Drawer.displayName = "Drawer";
4330
4327
 
4331
4328
  // src/components/DialogContent/DialogContent.tsx
4332
4329
  import { DialogContent as JoyDialogContent, styled as styled16 } from "@mui/joy";
4333
- import { motion as motion23 } from "framer-motion";
4334
- var MotionDialogContent = motion23(JoyDialogContent);
4330
+ import { motion as motion22 } from "framer-motion";
4331
+ var MotionDialogContent = motion22(JoyDialogContent);
4335
4332
  var StyledDialogContent = styled16(MotionDialogContent)(({ theme }) => ({
4336
4333
  padding: theme.spacing(0, 6, 5)
4337
4334
  }));
@@ -4343,8 +4340,8 @@ var DialogContent_default = DialogContent;
4343
4340
 
4344
4341
  // src/components/DialogTitle/DialogTitle.tsx
4345
4342
  import { DialogTitle as JoyDialogTitle, styled as styled17 } from "@mui/joy";
4346
- import { motion as motion24 } from "framer-motion";
4347
- var MotionDialogTitle = motion24(JoyDialogTitle);
4343
+ import { motion as motion23 } from "framer-motion";
4344
+ var MotionDialogTitle = motion23(JoyDialogTitle);
4348
4345
  var StyledDialogTitle = styled17(MotionDialogTitle)(({ theme }) => ({
4349
4346
  padding: theme.spacing(4, 6)
4350
4347
  }));
@@ -4366,8 +4363,8 @@ import {
4366
4363
  ModalOverflow as JoyModalOverflow,
4367
4364
  styled as styled18
4368
4365
  } from "@mui/joy";
4369
- import { motion as motion25 } from "framer-motion";
4370
- var MotionModal = motion25(JoyModal);
4366
+ import { motion as motion24 } from "framer-motion";
4367
+ var MotionModal = motion24(JoyModal);
4371
4368
  var Modal = MotionModal;
4372
4369
  Modal.displayName = "Modal";
4373
4370
  var StyledModalDialog = styled18(JoyModalDialog)({
@@ -4376,7 +4373,7 @@ var StyledModalDialog = styled18(JoyModalDialog)({
4376
4373
  var ModalDialog = StyledModalDialog;
4377
4374
  ModalDialog.displayName = "ModalDialog";
4378
4375
  var ModalClose = JoyModalClose;
4379
- var MotionModalOverflow = motion25(JoyModalOverflow);
4376
+ var MotionModalOverflow = motion24(JoyModalOverflow);
4380
4377
  var ModalOverflow = MotionModalOverflow;
4381
4378
  ModalOverflow.displayName = "ModalOverflow";
4382
4379
  function ModalFrame(props) {
@@ -4402,8 +4399,8 @@ DialogFrame.displayName = "DialogFrame";
4402
4399
  // src/components/Divider/Divider.tsx
4403
4400
  import React30 from "react";
4404
4401
  import { Divider as JoyDivider } from "@mui/joy";
4405
- import { motion as motion26 } from "framer-motion";
4406
- var MotionDivider = motion26(JoyDivider);
4402
+ import { motion as motion25 } from "framer-motion";
4403
+ var MotionDivider = motion25(JoyDivider);
4407
4404
  var Divider = (props) => {
4408
4405
  return /* @__PURE__ */ React30.createElement(MotionDivider, { ...props });
4409
4406
  };
@@ -5325,11 +5322,11 @@ PercentageInput.displayName = "PercentageInput";
5325
5322
 
5326
5323
  // src/components/Radio/Radio.tsx
5327
5324
  import { Radio as JoyRadio, RadioGroup as JoyRadioGroup } from "@mui/joy";
5328
- import { motion as motion27 } from "framer-motion";
5329
- var MotionRadio = motion27(JoyRadio);
5325
+ import { motion as motion26 } from "framer-motion";
5326
+ var MotionRadio = motion26(JoyRadio);
5330
5327
  var Radio = MotionRadio;
5331
5328
  Radio.displayName = "Radio";
5332
- var MotionRadioGroup = motion27(JoyRadioGroup);
5329
+ var MotionRadioGroup = motion26(JoyRadioGroup);
5333
5330
  var RadioGroup = MotionRadioGroup;
5334
5331
  RadioGroup.displayName = "RadioGroup";
5335
5332
 
@@ -5352,7 +5349,7 @@ import {
5352
5349
  styled as styled26
5353
5350
  } from "@mui/joy";
5354
5351
  import CheckIcon from "@mui/icons-material/Check";
5355
- import { motion as motion28 } from "framer-motion";
5352
+ import { motion as motion27 } from "framer-motion";
5356
5353
  var Step = styled26(JoyStep)({});
5357
5354
  Step.displayName = "Step";
5358
5355
  var StepIndicator = styled26(JoyStepIndicator)({});
@@ -5365,7 +5362,7 @@ var StyledStepper = styled26(JoyStepper)(({ theme }) => ({
5365
5362
  fontSize: "var(--ceed-fontSize-xs)"
5366
5363
  }
5367
5364
  }));
5368
- var MotionStepper = motion28(StyledStepper);
5365
+ var MotionStepper = motion27(StyledStepper);
5369
5366
  function Stepper(props) {
5370
5367
  const {
5371
5368
  steps,
@@ -5428,9 +5425,9 @@ Stepper.displayName = "Stepper";
5428
5425
  // src/components/Switch/Switch.tsx
5429
5426
  import React42 from "react";
5430
5427
  import { Switch as JoySwitch, styled as styled27, switchClasses } from "@mui/joy";
5431
- import { motion as motion29 } from "framer-motion";
5432
- var MotionSwitch = motion29(JoySwitch);
5433
- var StyledThumb = styled27(motion29.div)({
5428
+ import { motion as motion28 } from "framer-motion";
5429
+ var MotionSwitch = motion28(JoySwitch);
5430
+ var StyledThumb = styled27(motion28.div)({
5434
5431
  "--Icon-fontSize": "calc(var(--Switch-thumbSize) * 0.75)",
5435
5432
  display: "inline-flex",
5436
5433
  justifyContent: "center",