@ceed/ads 0.0.49 → 0.0.51
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 +23 -16
- package/framer/index.js +6 -7
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1401,13 +1401,18 @@ import { Popper } from "@mui/base/Popper";
|
|
|
1401
1401
|
|
|
1402
1402
|
// src/components/Input/Input.tsx
|
|
1403
1403
|
import React11 from "react";
|
|
1404
|
-
import {
|
|
1404
|
+
import {
|
|
1405
|
+
Input as JoyInput,
|
|
1406
|
+
FormControl,
|
|
1407
|
+
FormLabel,
|
|
1408
|
+
FormHelperText
|
|
1409
|
+
} from "@mui/joy";
|
|
1405
1410
|
import { motion as motion10 } from "framer-motion";
|
|
1406
1411
|
var MotionInput = motion10(JoyInput);
|
|
1407
1412
|
var Input = (props) => {
|
|
1408
1413
|
const { label, helperText, error, style, ...innerProps } = props;
|
|
1409
1414
|
if (label) {
|
|
1410
|
-
return /* @__PURE__ */ React11.createElement(FormControl, { error },
|
|
1415
|
+
return /* @__PURE__ */ React11.createElement(FormControl, { error }, /* @__PURE__ */ React11.createElement(FormLabel, null, label), /* @__PURE__ */ React11.createElement(MotionInput, { ...innerProps }), helperText && /* @__PURE__ */ React11.createElement(FormHelperText, null, helperText));
|
|
1411
1416
|
}
|
|
1412
1417
|
return /* @__PURE__ */ React11.createElement(MotionInput, { ...innerProps });
|
|
1413
1418
|
};
|
|
@@ -1430,21 +1435,21 @@ var DialogActions_default = DialogActions;
|
|
|
1430
1435
|
import { FormControl as JoyFormControl } from "@mui/joy";
|
|
1431
1436
|
import { motion as motion12 } from "framer-motion";
|
|
1432
1437
|
var MotionFormControl = motion12(JoyFormControl);
|
|
1433
|
-
var
|
|
1434
|
-
|
|
1438
|
+
var FormControl2 = MotionFormControl;
|
|
1439
|
+
FormControl2.displayName = "FormControl";
|
|
1435
1440
|
|
|
1436
1441
|
// src/components/FormControl/index.ts
|
|
1437
|
-
var FormControl_default =
|
|
1442
|
+
var FormControl_default = FormControl2;
|
|
1438
1443
|
|
|
1439
1444
|
// src/components/FormLabel/FormLabel.tsx
|
|
1440
1445
|
import { FormLabel as JoyFormLabel } from "@mui/joy";
|
|
1441
1446
|
import { motion as motion13 } from "framer-motion";
|
|
1442
1447
|
var MotionFormLabel = motion13(JoyFormLabel);
|
|
1443
|
-
var
|
|
1444
|
-
|
|
1448
|
+
var FormLabel2 = MotionFormLabel;
|
|
1449
|
+
FormLabel2.displayName = "FormLabel";
|
|
1445
1450
|
|
|
1446
1451
|
// src/components/FormLabel/index.ts
|
|
1447
|
-
var FormLabel_default =
|
|
1452
|
+
var FormLabel_default = FormLabel2;
|
|
1448
1453
|
|
|
1449
1454
|
// src/components/DatePicker/DatePicker.tsx
|
|
1450
1455
|
var StyledPopper = styled3(Popper, {
|
|
@@ -1909,8 +1914,8 @@ Dropdown.displayName = "Dropdown";
|
|
|
1909
1914
|
import { FormHelperText as JoyFormHelperText } from "@mui/joy";
|
|
1910
1915
|
import { motion as motion20 } from "framer-motion";
|
|
1911
1916
|
var MotionFormHelperText = motion20(JoyFormHelperText);
|
|
1912
|
-
var
|
|
1913
|
-
|
|
1917
|
+
var FormHelperText2 = MotionFormHelperText;
|
|
1918
|
+
FormHelperText2.displayName = "FormHelperText";
|
|
1914
1919
|
|
|
1915
1920
|
// src/components/Grid/Grid.tsx
|
|
1916
1921
|
import { Grid as JoyGrid } from "@mui/joy";
|
|
@@ -1965,17 +1970,19 @@ RadioList.displayName = "RadioList";
|
|
|
1965
1970
|
import React20 from "react";
|
|
1966
1971
|
import {
|
|
1967
1972
|
Select as JoySelect,
|
|
1968
|
-
Option as JoyOption
|
|
1973
|
+
Option as JoyOption,
|
|
1974
|
+
FormControl as FormControl3,
|
|
1975
|
+
FormLabel as FormLabel3,
|
|
1976
|
+
FormHelperText as FormHelperText3
|
|
1969
1977
|
} from "@mui/joy";
|
|
1970
1978
|
import { motion as motion24 } from "framer-motion";
|
|
1971
|
-
var MotionSelect = motion24(JoySelect);
|
|
1972
1979
|
var MotionOption = motion24(JoyOption);
|
|
1973
1980
|
var Option = MotionOption;
|
|
1974
1981
|
Option.displayName = "Option";
|
|
1975
1982
|
function Select(props) {
|
|
1976
1983
|
const { label, helperText, error, ...innerProps } = props;
|
|
1977
1984
|
if (label) {
|
|
1978
|
-
return /* @__PURE__ */ React20.createElement(
|
|
1985
|
+
return /* @__PURE__ */ React20.createElement(FormControl3, { error }, /* @__PURE__ */ React20.createElement(FormLabel3, null, label), /* @__PURE__ */ React20.createElement(JoySelect, { ...innerProps }), helperText && /* @__PURE__ */ React20.createElement(FormHelperText3, null, helperText));
|
|
1979
1986
|
}
|
|
1980
1987
|
return /* @__PURE__ */ React20.createElement(JoySelect, { ...innerProps });
|
|
1981
1988
|
}
|
|
@@ -2150,9 +2157,9 @@ export {
|
|
|
2150
2157
|
Divider,
|
|
2151
2158
|
Drawer,
|
|
2152
2159
|
Dropdown,
|
|
2153
|
-
FormControl,
|
|
2154
|
-
FormHelperText,
|
|
2155
|
-
FormLabel,
|
|
2160
|
+
FormControl2 as FormControl,
|
|
2161
|
+
FormHelperText2 as FormHelperText,
|
|
2162
|
+
FormLabel2 as FormLabel,
|
|
2156
2163
|
Grid,
|
|
2157
2164
|
IconButton,
|
|
2158
2165
|
Input,
|
package/framer/index.js
CHANGED
|
@@ -41913,10 +41913,10 @@ var MotionInput = motion10(Input_default);
|
|
|
41913
41913
|
var Input3 = (props) => {
|
|
41914
41914
|
const _a = props, { label, helperText, error, style: style4 } = _a, innerProps = __objRest(_a, ["label", "helperText", "error", "style"]);
|
|
41915
41915
|
if (label) {
|
|
41916
|
-
return /* @__PURE__ */ jsxs2(
|
|
41917
|
-
|
|
41916
|
+
return /* @__PURE__ */ jsxs2(FormControl_default, { error, children: [
|
|
41917
|
+
/* @__PURE__ */ jsx2(FormLabel_default, { children: label }),
|
|
41918
41918
|
/* @__PURE__ */ jsx2(MotionInput, __spreadValues({}, innerProps)),
|
|
41919
|
-
helperText && /* @__PURE__ */ jsx2(
|
|
41919
|
+
helperText && /* @__PURE__ */ jsx2(FormHelperText_default, { children: helperText })
|
|
41920
41920
|
] });
|
|
41921
41921
|
}
|
|
41922
41922
|
return /* @__PURE__ */ jsx2(MotionInput, __spreadValues({}, innerProps));
|
|
@@ -42459,17 +42459,16 @@ RadioList.displayName = "RadioList";
|
|
|
42459
42459
|
|
|
42460
42460
|
// src/components/Select/Select.tsx
|
|
42461
42461
|
import { motion as motion24 } from "framer-motion";
|
|
42462
|
-
var MotionSelect = motion24(Select_default);
|
|
42463
42462
|
var MotionOption = motion24(Option_default);
|
|
42464
42463
|
var Option3 = MotionOption;
|
|
42465
42464
|
Option3.displayName = "Option";
|
|
42466
42465
|
function Select3(props) {
|
|
42467
42466
|
const _a = props, { label, helperText, error } = _a, innerProps = __objRest(_a, ["label", "helperText", "error"]);
|
|
42468
42467
|
if (label) {
|
|
42469
|
-
return /* @__PURE__ */ jsxs2(
|
|
42470
|
-
|
|
42468
|
+
return /* @__PURE__ */ jsxs2(FormControl_default, { error, children: [
|
|
42469
|
+
/* @__PURE__ */ jsx2(FormLabel_default, { children: label }),
|
|
42471
42470
|
/* @__PURE__ */ jsx2(Select_default, __spreadValues({}, innerProps)),
|
|
42472
|
-
helperText && /* @__PURE__ */ jsx2(
|
|
42471
|
+
helperText && /* @__PURE__ */ jsx2(FormHelperText_default, { children: helperText })
|
|
42473
42472
|
] });
|
|
42474
42473
|
}
|
|
42475
42474
|
return /* @__PURE__ */ jsx2(Select_default, __spreadValues({}, innerProps));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ceed/ads",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@emotion/react": "^11.11.0",
|
|
34
34
|
"@emotion/styled": "^11.11.0",
|
|
35
|
+
"@mui/base": "5.0.0-beta.40",
|
|
35
36
|
"@mui/icons-material": "^5.0.0",
|
|
36
37
|
"@mui/joy": "^5.0.0-beta.32",
|
|
37
38
|
"framer-motion": "^11.0.3",
|