@ceed/ads 0.0.48 → 0.0.50
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 -2
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
|
@@ -40510,10 +40510,10 @@ var MotionInput = motion10(Input_default);
|
|
|
40510
40510
|
var Input3 = (props) => {
|
|
40511
40511
|
const _a = props, { label, helperText, error, style: style4 } = _a, innerProps = __objRest(_a, ["label", "helperText", "error", "style"]);
|
|
40512
40512
|
if (label) {
|
|
40513
|
-
return /* @__PURE__ */ jsxs2(
|
|
40514
|
-
|
|
40513
|
+
return /* @__PURE__ */ jsxs2(FormControl_default, { error, children: [
|
|
40514
|
+
/* @__PURE__ */ jsx2(FormLabel_default, { children: label }),
|
|
40515
40515
|
/* @__PURE__ */ jsx2(MotionInput, __spreadValues({}, innerProps)),
|
|
40516
|
-
helperText && /* @__PURE__ */ jsx2(
|
|
40516
|
+
helperText && /* @__PURE__ */ jsx2(FormHelperText_default, { children: helperText })
|
|
40517
40517
|
] });
|
|
40518
40518
|
}
|
|
40519
40519
|
return /* @__PURE__ */ jsx2(MotionInput, __spreadValues({}, innerProps));
|
|
@@ -41056,17 +41056,16 @@ RadioList.displayName = "RadioList";
|
|
|
41056
41056
|
|
|
41057
41057
|
// src/components/Select/Select.tsx
|
|
41058
41058
|
import { motion as motion24 } from "framer-motion";
|
|
41059
|
-
var MotionSelect = motion24(Select_default);
|
|
41060
41059
|
var MotionOption = motion24(Option_default);
|
|
41061
41060
|
var Option3 = MotionOption;
|
|
41062
41061
|
Option3.displayName = "Option";
|
|
41063
41062
|
function Select3(props) {
|
|
41064
41063
|
const _a = props, { label, helperText, error } = _a, innerProps = __objRest(_a, ["label", "helperText", "error"]);
|
|
41065
41064
|
if (label) {
|
|
41066
|
-
return /* @__PURE__ */ jsxs2(
|
|
41067
|
-
|
|
41065
|
+
return /* @__PURE__ */ jsxs2(FormControl_default, { error, children: [
|
|
41066
|
+
/* @__PURE__ */ jsx2(FormLabel_default, { children: label }),
|
|
41068
41067
|
/* @__PURE__ */ jsx2(Select_default, __spreadValues({}, innerProps)),
|
|
41069
|
-
helperText && /* @__PURE__ */ jsx2(
|
|
41068
|
+
helperText && /* @__PURE__ */ jsx2(FormHelperText_default, { children: helperText })
|
|
41070
41069
|
] });
|
|
41071
41070
|
}
|
|
41072
41071
|
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.50",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@emotion/react": "^11.11.0",
|
|
34
34
|
"@emotion/styled": "^11.11.0",
|
|
35
|
-
"@mui/icons-material": "^5.
|
|
35
|
+
"@mui/icons-material": "^5.0.0",
|
|
36
36
|
"@mui/joy": "^5.0.0-beta.32",
|
|
37
37
|
"framer-motion": "^11.0.3",
|
|
38
38
|
"react-imask": "^7.5.0"
|