@ceed/ads 0.0.74 → 0.0.75
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.js +15 -15
- package/framer/index.js +15 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -173,11 +173,11 @@ var FormHelperText_default = FormHelperText;
|
|
|
173
173
|
|
|
174
174
|
// src/components/Autocomplete/Autocomplete.tsx
|
|
175
175
|
function Autocomplete(props) {
|
|
176
|
-
const { label, error, helperText, color, size, ...innerProps } = props;
|
|
176
|
+
const { label, error, helperText, color, size, disabled, ...innerProps } = props;
|
|
177
177
|
if (label) {
|
|
178
|
-
return /* @__PURE__ */ React2.createElement(FormControl_default, { color, size, error }, /* @__PURE__ */ React2.createElement(FormLabel_default, null, label), /* @__PURE__ */ React2.createElement(JoyAutocomplete, { ...innerProps }), helperText && /* @__PURE__ */ React2.createElement(FormHelperText_default, null, helperText));
|
|
178
|
+
return /* @__PURE__ */ React2.createElement(FormControl_default, { color, size, error, disabled }, /* @__PURE__ */ React2.createElement(FormLabel_default, null, label), /* @__PURE__ */ React2.createElement(JoyAutocomplete, { ...innerProps }), helperText && /* @__PURE__ */ React2.createElement(FormHelperText_default, null, helperText));
|
|
179
179
|
}
|
|
180
|
-
return /* @__PURE__ */ React2.createElement(JoyAutocomplete, { ...innerProps, color, size });
|
|
180
|
+
return /* @__PURE__ */ React2.createElement(JoyAutocomplete, { ...innerProps, color, size, disabled });
|
|
181
181
|
}
|
|
182
182
|
Autocomplete.displayName = "Autocomplete";
|
|
183
183
|
|
|
@@ -1623,11 +1623,11 @@ import { Input as JoyInput } from "@mui/joy";
|
|
|
1623
1623
|
import { motion as motion15 } from "framer-motion";
|
|
1624
1624
|
var MotionInput = motion15(JoyInput);
|
|
1625
1625
|
var Input = (props) => {
|
|
1626
|
-
const { label, helperText, error, style, size, color, ...innerProps } = props;
|
|
1626
|
+
const { label, helperText, error, style, size, color, disabled, ...innerProps } = props;
|
|
1627
1627
|
if (label) {
|
|
1628
|
-
return /* @__PURE__ */ React14.createElement(FormControl_default, { color, size, error }, /* @__PURE__ */ React14.createElement(FormLabel_default, null, label), /* @__PURE__ */ React14.createElement(MotionInput, { ...innerProps }), helperText && /* @__PURE__ */ React14.createElement(FormHelperText_default, null, helperText));
|
|
1628
|
+
return /* @__PURE__ */ React14.createElement(FormControl_default, { color, size, error, disabled }, /* @__PURE__ */ React14.createElement(FormLabel_default, null, label), /* @__PURE__ */ React14.createElement(MotionInput, { ...innerProps }), helperText && /* @__PURE__ */ React14.createElement(FormHelperText_default, null, helperText));
|
|
1629
1629
|
}
|
|
1630
|
-
return /* @__PURE__ */ React14.createElement(MotionInput, { color, size, ...innerProps });
|
|
1630
|
+
return /* @__PURE__ */ React14.createElement(MotionInput, { color, size, disabled, ...innerProps });
|
|
1631
1631
|
};
|
|
1632
1632
|
Input.displayName = "Input";
|
|
1633
1633
|
|
|
@@ -1803,7 +1803,7 @@ var DatePicker = forwardRef4(
|
|
|
1803
1803
|
)))
|
|
1804
1804
|
)));
|
|
1805
1805
|
if (label) {
|
|
1806
|
-
return /* @__PURE__ */ React15.createElement(FormControl_default, { error, size: "sm" }, /* @__PURE__ */ React15.createElement(FormLabel_default, null, label), picker, helperText && /* @__PURE__ */ React15.createElement(FormHelperText_default, null, helperText));
|
|
1806
|
+
return /* @__PURE__ */ React15.createElement(FormControl_default, { disabled, error, size: "sm" }, /* @__PURE__ */ React15.createElement(FormLabel_default, null, label), picker, helperText && /* @__PURE__ */ React15.createElement(FormHelperText_default, null, helperText));
|
|
1807
1807
|
}
|
|
1808
1808
|
return picker;
|
|
1809
1809
|
}
|
|
@@ -2000,7 +2000,7 @@ var DateRangePicker = forwardRef5(
|
|
|
2000
2000
|
)))
|
|
2001
2001
|
)));
|
|
2002
2002
|
if (label) {
|
|
2003
|
-
return /* @__PURE__ */ React16.createElement(FormControl_default, { error, size: "sm" }, /* @__PURE__ */ React16.createElement(FormLabel_default, null, label), picker, helperText && /* @__PURE__ */ React16.createElement(FormHelperText_default, null, helperText));
|
|
2003
|
+
return /* @__PURE__ */ React16.createElement(FormControl_default, { disabled, error, size: "sm" }, /* @__PURE__ */ React16.createElement(FormLabel_default, null, label), picker, helperText && /* @__PURE__ */ React16.createElement(FormHelperText_default, null, helperText));
|
|
2004
2004
|
}
|
|
2005
2005
|
return picker;
|
|
2006
2006
|
}
|
|
@@ -2294,7 +2294,7 @@ var MonthRangePicker = forwardRef6(
|
|
|
2294
2294
|
)))
|
|
2295
2295
|
)));
|
|
2296
2296
|
if (label) {
|
|
2297
|
-
return /* @__PURE__ */ React21.createElement(FormControl_default, { error, size: "sm" }, /* @__PURE__ */ React21.createElement(FormLabel_default, null, label), picker, helperText && /* @__PURE__ */ React21.createElement(FormHelperText_default, null, helperText));
|
|
2297
|
+
return /* @__PURE__ */ React21.createElement(FormControl_default, { disabled, error, size: "sm" }, /* @__PURE__ */ React21.createElement(FormLabel_default, null, label), picker, helperText && /* @__PURE__ */ React21.createElement(FormHelperText_default, null, helperText));
|
|
2298
2298
|
}
|
|
2299
2299
|
return picker;
|
|
2300
2300
|
}
|
|
@@ -2330,16 +2330,16 @@ var MotionOption = motion24(JoyOption);
|
|
|
2330
2330
|
var Option = MotionOption;
|
|
2331
2331
|
Option.displayName = "Option";
|
|
2332
2332
|
function Select(props) {
|
|
2333
|
-
const { label, helperText, error, size, color, ...innerProps } = props;
|
|
2333
|
+
const { label, helperText, error, size, color, disabled, ...innerProps } = props;
|
|
2334
2334
|
if (label) {
|
|
2335
|
-
return /* @__PURE__ */ React23.createElement(FormControl_default, { size, color, error }, /* @__PURE__ */ React23.createElement(FormLabel_default, null, label), /* @__PURE__ */ React23.createElement(
|
|
2335
|
+
return /* @__PURE__ */ React23.createElement(FormControl_default, { disabled, size, color, error }, /* @__PURE__ */ React23.createElement(FormLabel_default, null, label), /* @__PURE__ */ React23.createElement(
|
|
2336
2336
|
JoySelect,
|
|
2337
2337
|
{
|
|
2338
2338
|
...innerProps
|
|
2339
2339
|
}
|
|
2340
2340
|
), helperText && /* @__PURE__ */ React23.createElement(FormHelperText_default, null, helperText));
|
|
2341
2341
|
}
|
|
2342
|
-
return /* @__PURE__ */ React23.createElement(JoySelect, { size, color, ...innerProps });
|
|
2342
|
+
return /* @__PURE__ */ React23.createElement(JoySelect, { disabled, size, color, ...innerProps });
|
|
2343
2343
|
}
|
|
2344
2344
|
Select.displayName = "Select";
|
|
2345
2345
|
|
|
@@ -2412,11 +2412,11 @@ import { Textarea as JoyTextarea } from "@mui/joy";
|
|
|
2412
2412
|
import { motion as motion27 } from "framer-motion";
|
|
2413
2413
|
var MotionTextarea = motion27(JoyTextarea);
|
|
2414
2414
|
var Textarea = (props) => {
|
|
2415
|
-
const { label, error, helperText, color, size, ...innerProps } = props;
|
|
2415
|
+
const { label, error, helperText, color, size, disabled, ...innerProps } = props;
|
|
2416
2416
|
if (label) {
|
|
2417
|
-
return /* @__PURE__ */ React25.createElement(FormControl_default, { color, size, error }, /* @__PURE__ */ React25.createElement(FormLabel_default, null, label), /* @__PURE__ */ React25.createElement(MotionTextarea, { ...innerProps }), helperText && /* @__PURE__ */ React25.createElement(FormHelperText_default, null, helperText));
|
|
2417
|
+
return /* @__PURE__ */ React25.createElement(FormControl_default, { disabled, color, size, error }, /* @__PURE__ */ React25.createElement(FormLabel_default, null, label), /* @__PURE__ */ React25.createElement(MotionTextarea, { ...innerProps }), helperText && /* @__PURE__ */ React25.createElement(FormHelperText_default, null, helperText));
|
|
2418
2418
|
}
|
|
2419
|
-
return /* @__PURE__ */ React25.createElement(MotionTextarea, { color, size, ...innerProps });
|
|
2419
|
+
return /* @__PURE__ */ React25.createElement(MotionTextarea, { disabled, color, size, ...innerProps });
|
|
2420
2420
|
};
|
|
2421
2421
|
Textarea.displayName = "Textarea";
|
|
2422
2422
|
|
package/framer/index.js
CHANGED
|
@@ -34641,15 +34641,15 @@ var FormHelperText_default2 = FormHelperText3;
|
|
|
34641
34641
|
|
|
34642
34642
|
// src/components/Autocomplete/Autocomplete.tsx
|
|
34643
34643
|
function Autocomplete3(props) {
|
|
34644
|
-
const _a = props, { label, error, helperText, color: color2, size } = _a, innerProps = __objRest(_a, ["label", "error", "helperText", "color", "size"]);
|
|
34644
|
+
const _a = props, { label, error, helperText, color: color2, size, disabled } = _a, innerProps = __objRest(_a, ["label", "error", "helperText", "color", "size", "disabled"]);
|
|
34645
34645
|
if (label) {
|
|
34646
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { color: color2, size, error, children: [
|
|
34646
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { color: color2, size, error, disabled, children: [
|
|
34647
34647
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
34648
34648
|
/* @__PURE__ */ jsx2(Autocomplete_default, __spreadValues({}, innerProps)),
|
|
34649
34649
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
34650
34650
|
] });
|
|
34651
34651
|
}
|
|
34652
|
-
return /* @__PURE__ */ jsx2(Autocomplete_default, __spreadProps(__spreadValues({}, innerProps), { color: color2, size }));
|
|
34652
|
+
return /* @__PURE__ */ jsx2(Autocomplete_default, __spreadProps(__spreadValues({}, innerProps), { color: color2, size, disabled }));
|
|
34653
34653
|
}
|
|
34654
34654
|
Autocomplete3.displayName = "Autocomplete";
|
|
34655
34655
|
|
|
@@ -40735,15 +40735,15 @@ var CalendarToday_default = createSvgIcon2(/* @__PURE__ */ _jsx106("path", {
|
|
|
40735
40735
|
import { motion as motion15 } from "framer-motion";
|
|
40736
40736
|
var MotionInput = motion15(Input_default);
|
|
40737
40737
|
var Input3 = (props) => {
|
|
40738
|
-
const _a = props, { label, helperText, error, style: style4, size, color: color2 } = _a, innerProps = __objRest(_a, ["label", "helperText", "error", "style", "size", "color"]);
|
|
40738
|
+
const _a = props, { label, helperText, error, style: style4, size, color: color2, disabled } = _a, innerProps = __objRest(_a, ["label", "helperText", "error", "style", "size", "color", "disabled"]);
|
|
40739
40739
|
if (label) {
|
|
40740
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { color: color2, size, error, children: [
|
|
40740
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { color: color2, size, error, disabled, children: [
|
|
40741
40741
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
40742
40742
|
/* @__PURE__ */ jsx2(MotionInput, __spreadValues({}, innerProps)),
|
|
40743
40743
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
40744
40744
|
] });
|
|
40745
40745
|
}
|
|
40746
|
-
return /* @__PURE__ */ jsx2(MotionInput, __spreadValues({ color: color2, size }, innerProps));
|
|
40746
|
+
return /* @__PURE__ */ jsx2(MotionInput, __spreadValues({ color: color2, size, disabled }, innerProps));
|
|
40747
40747
|
};
|
|
40748
40748
|
Input3.displayName = "Input";
|
|
40749
40749
|
|
|
@@ -40923,7 +40923,7 @@ var DatePicker = forwardRef84(
|
|
|
40923
40923
|
) })
|
|
40924
40924
|
] });
|
|
40925
40925
|
if (label) {
|
|
40926
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { error, size: "sm", children: [
|
|
40926
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { disabled, error, size: "sm", children: [
|
|
40927
40927
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
40928
40928
|
picker,
|
|
40929
40929
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
@@ -41125,7 +41125,7 @@ var DateRangePicker = forwardRef85(
|
|
|
41125
41125
|
) })
|
|
41126
41126
|
] });
|
|
41127
41127
|
if (label) {
|
|
41128
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { error, size: "sm", children: [
|
|
41128
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { disabled, error, size: "sm", children: [
|
|
41129
41129
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
41130
41130
|
picker,
|
|
41131
41131
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
@@ -41413,7 +41413,7 @@ var MonthRangePicker = forwardRef86(
|
|
|
41413
41413
|
) })
|
|
41414
41414
|
] });
|
|
41415
41415
|
if (label) {
|
|
41416
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { error, size: "sm", children: [
|
|
41416
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { disabled, error, size: "sm", children: [
|
|
41417
41417
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
41418
41418
|
picker,
|
|
41419
41419
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
@@ -41446,9 +41446,9 @@ var MotionOption = motion24(Option_default);
|
|
|
41446
41446
|
var Option3 = MotionOption;
|
|
41447
41447
|
Option3.displayName = "Option";
|
|
41448
41448
|
function Select3(props) {
|
|
41449
|
-
const _a = props, { label, helperText, error, size, color: color2 } = _a, innerProps = __objRest(_a, ["label", "helperText", "error", "size", "color"]);
|
|
41449
|
+
const _a = props, { label, helperText, error, size, color: color2, disabled } = _a, innerProps = __objRest(_a, ["label", "helperText", "error", "size", "color", "disabled"]);
|
|
41450
41450
|
if (label) {
|
|
41451
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { size, color: color2, error, children: [
|
|
41451
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { disabled, size, color: color2, error, children: [
|
|
41452
41452
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
41453
41453
|
/* @__PURE__ */ jsx2(
|
|
41454
41454
|
Select_default,
|
|
@@ -41457,7 +41457,7 @@ function Select3(props) {
|
|
|
41457
41457
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
41458
41458
|
] });
|
|
41459
41459
|
}
|
|
41460
|
-
return /* @__PURE__ */ jsx2(Select_default, __spreadValues({ size, color: color2 }, innerProps));
|
|
41460
|
+
return /* @__PURE__ */ jsx2(Select_default, __spreadValues({ disabled, size, color: color2 }, innerProps));
|
|
41461
41461
|
}
|
|
41462
41462
|
Select3.displayName = "Select";
|
|
41463
41463
|
|
|
@@ -41519,15 +41519,15 @@ TabPanel3.displayName = "TabPanel";
|
|
|
41519
41519
|
import { motion as motion27 } from "framer-motion";
|
|
41520
41520
|
var MotionTextarea = motion27(Textarea_default);
|
|
41521
41521
|
var Textarea3 = (props) => {
|
|
41522
|
-
const _a = props, { label, error, helperText, color: color2, size } = _a, innerProps = __objRest(_a, ["label", "error", "helperText", "color", "size"]);
|
|
41522
|
+
const _a = props, { label, error, helperText, color: color2, size, disabled } = _a, innerProps = __objRest(_a, ["label", "error", "helperText", "color", "size", "disabled"]);
|
|
41523
41523
|
if (label) {
|
|
41524
|
-
return /* @__PURE__ */ jsxs2(FormControl_default2, { color: color2, size, error, children: [
|
|
41524
|
+
return /* @__PURE__ */ jsxs2(FormControl_default2, { disabled, color: color2, size, error, children: [
|
|
41525
41525
|
/* @__PURE__ */ jsx2(FormLabel_default2, { children: label }),
|
|
41526
41526
|
/* @__PURE__ */ jsx2(MotionTextarea, __spreadValues({}, innerProps)),
|
|
41527
41527
|
helperText && /* @__PURE__ */ jsx2(FormHelperText_default2, { children: helperText })
|
|
41528
41528
|
] });
|
|
41529
41529
|
}
|
|
41530
|
-
return /* @__PURE__ */ jsx2(MotionTextarea, __spreadValues({ color: color2, size }, innerProps));
|
|
41530
|
+
return /* @__PURE__ */ jsx2(MotionTextarea, __spreadValues({ disabled, color: color2, size }, innerProps));
|
|
41531
41531
|
};
|
|
41532
41532
|
Textarea3.displayName = "Textarea";
|
|
41533
41533
|
|