pixelize-design-library 2.1.13 → 2.1.14

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.
@@ -74,7 +74,7 @@ var TimePicker = function (_a) {
74
74
  var handleAmpmToggle = function () {
75
75
  var newMeridiem = ampm === "AM" ? "PM" : "AM";
76
76
  var displayHr = hour % 12 === 0 ? 12 : hour % 12;
77
- // const newHr = convertTo24Hour(displayHr, newMeridiem);
77
+ var newHr = convertTo24Hour(displayHr, newMeridiem);
78
78
  setAmpm(newMeridiem);
79
79
  setHour(displayHr);
80
80
  updateTime(displayHr, minute, newMeridiem);
@@ -80,7 +80,7 @@ var rrr = function (start, limit) {
80
80
  return Array.from({ length: end - start }, function (_, index) { return ({
81
81
  id: (start + index).toString(),
82
82
  label: "Option ".concat(start + index),
83
- view: react_1.default.createElement(react_2.Box, null, " demo"),
83
+ view: (react_1.default.createElement(react_2.Box, null, " demo"))
84
84
  }); });
85
85
  };
86
86
  var delay = function (ms) { return new Promise(function (resolve) { return setTimeout(resolve, ms); }); };
@@ -89,7 +89,7 @@ var SearchSelect = function () {
89
89
  var _b = (0, react_1.useState)(rrr(1, 50)), soptions = _b[0], setSoptions = _b[1]; // initial 50
90
90
  var _c = (0, react_1.useState)(""), search = _c[0], setSearch = _c[1];
91
91
  var _d = (0, react_1.useState)(false), paginationLoading = _d[0], setpaginationLoading = _d[1];
92
- // const [customSelectValue, setCustomSelectValue] = useState<any>({});
92
+ var _e = (0, react_1.useState)({}), customSelectValue = _e[0], setCustomSelectValue = _e[1];
93
93
  return (react_1.default.createElement("div", null,
94
94
  react_1.default.createElement(SearchSelect_1.default
95
95
  // width={"250px"}
package/package.json CHANGED
@@ -1,15 +1,21 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "dependencies": {
9
+ "@chakra-ui/react": "^2.8.2",
9
10
  "@hello-pangea/dnd": "^18.0.1",
11
+ "framer-motion": "^11.2.2",
10
12
  "jodit-react": "^4.1.2",
13
+ "lucide-react": "^0.487.0",
14
+ "react": "^18.3.1",
11
15
  "react-apexcharts": "^1.4.1",
12
16
  "react-datepicker": "^7.3.0",
17
+ "react-dom": "^18.3.1",
18
+ "react-scripts": "^5.0.1",
13
19
  "react-window": "^1.8.11",
14
20
  "react-dropzone": "^14.3.8"
15
21
  },
@@ -41,6 +47,8 @@
41
47
  "devDependencies": {
42
48
  "@babel/core": "^7.24.5",
43
49
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
50
+ "@emotion/react": "^11.11.4",
51
+ "@emotion/styled": "^11.11.5",
44
52
  "@testing-library/jest-dom": "^5.17.0",
45
53
  "@testing-library/react": "^13.4.0",
46
54
  "@testing-library/user-event": "^13.5.0",
@@ -58,15 +66,5 @@
58
66
  "tailwindcss": "^3.4.17",
59
67
  "typescript": "^4.9.5",
60
68
  "webpack": "^5.91.0"
61
- },
62
- "peerDependencies": {
63
- "react": "^18.3.1",
64
- "react-dom": "^18.3.1",
65
- "@chakra-ui/react": "^2.8.2",
66
- "@emotion/react": "^11.11.4",
67
- "@emotion/styled": "^11.11.5",
68
- "react-scripts": "^5.0.1",
69
- "lucide-react": "^0.487.0",
70
- "framer-motion": "^11.2.2"
71
69
  }
72
70
  }