pixelize-design-library 2.2.1 → 2.2.3

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.
@@ -0,0 +1,93 @@
1
+ /*!
2
+ * ApexCharts v4.7.0
3
+ * (c) 2018-2025 ApexCharts
4
+ * Released under the MIT License.
5
+ */
6
+
7
+ /*!
8
+ * @svgdotjs/svg.resize.js - An extension for svg.js which allows to resize elements which are selected
9
+ * @version 2.0.4
10
+ * https://github.com/svgdotjs/svg.resize.js
11
+ *
12
+ * @copyright [object Object]
13
+ * @license MIT
14
+ *
15
+ * BUILT: Fri Sep 13 2024 12:43:14 GMT+0200 (Central European Summer Time)
16
+ */
17
+
18
+ /*!
19
+ * @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
20
+ * @version 4.0.1
21
+ * https://github.com/svgdotjs/svg.select.js
22
+ *
23
+ * @copyright Ulrich-Matthias Schäfer
24
+ * @license MIT
25
+ *
26
+ * BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
27
+ */
28
+
29
+ /**
30
+ * @license React
31
+ * react-dom.production.min.js
32
+ *
33
+ * Copyright (c) Facebook, Inc. and its affiliates.
34
+ *
35
+ * This source code is licensed under the MIT license found in the
36
+ * LICENSE file in the root directory of this source tree.
37
+ */
38
+
39
+ /**
40
+ * @license React
41
+ * react-jsx-runtime.production.min.js
42
+ *
43
+ * Copyright (c) Facebook, Inc. and its affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */
48
+
49
+ /**
50
+ * @license React
51
+ * react.production.min.js
52
+ *
53
+ * Copyright (c) Facebook, Inc. and its affiliates.
54
+ *
55
+ * This source code is licensed under the MIT license found in the
56
+ * LICENSE file in the root directory of this source tree.
57
+ */
58
+
59
+ /**
60
+ * @license React
61
+ * scheduler.production.min.js
62
+ *
63
+ * Copyright (c) Facebook, Inc. and its affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */
68
+
69
+ /**
70
+ * @license React
71
+ * use-sync-external-store-with-selector.production.js
72
+ *
73
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
74
+ *
75
+ * This source code is licensed under the MIT license found in the
76
+ * LICENSE file in the root directory of this source tree.
77
+ */
78
+
79
+ /**
80
+ * @license lucide-react v0.487.0 - ISC
81
+ *
82
+ * This source code is licensed under the ISC license.
83
+ * See the LICENSE file in the root directory of this source tree.
84
+ */
85
+
86
+ /** @license React v16.13.1
87
+ * react-is.production.min.js
88
+ *
89
+ * Copyright (c) Facebook, Inc. and its affiliates.
90
+ *
91
+ * This source code is licensed under the MIT license found in the
92
+ * LICENSE file in the root directory of this source tree.
93
+ */
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <!-- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> -->
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <meta name="theme-color" content="#000000" />
9
+ <meta name="description" content="Web site created using create-react-app" />
10
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11
+ <!--
12
+ manifest.json provides metadata used when your web app is installed on a
13
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14
+ -->
15
+ <!-- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> -->
16
+ <!--
17
+ Notice the use of %PUBLIC_URL% in the tags above.
18
+ It will be replaced with the URL of the `public` folder during the build.
19
+ Only files inside the `public` folder can be referenced from the HTML.
20
+
21
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22
+ work correctly both with client-side routing and a non-root public URL.
23
+ Learn how to configure a non-root public URL by running `npm run build`.
24
+ -->
25
+ <title>Pixelize-Design-System</title>
26
+ </head>
27
+
28
+ <body>
29
+ <noscript>You need to enable JavaScript to run this app.</noscript>
30
+ <div id="root"></div>
31
+ <!--
32
+ This HTML file is a template.
33
+ If you open it directly in the browser, you will see an empty page.
34
+
35
+ You can add webfonts, meta tags, or analytics to this file.
36
+ The build step will place the bundled scripts into the <body> tag.
37
+
38
+ To begin the development, run `npm start` or `yarn start`.
39
+ To create a production bundle, use `npm run build` or `yarn build`.
40
+ -->
41
+ </body>
42
+
43
+ </html>
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var react_1 = __importDefault(require("react"));
18
+ var react_2 = require("@chakra-ui/react");
19
+ var Theme_1 = require("./Theme"); // Import your custom theme
20
+ var Toaster_1 = __importDefault(require("./Components/Toaster/Toaster"));
21
+ var withTheme = function (Component, theme) {
22
+ var customTheme = theme !== null && theme !== void 0 ? theme : Theme_1.lavender;
23
+ return function (props) { return (react_1.default.createElement(react_2.ChakraProvider, { theme: customTheme },
24
+ react_1.default.createElement(Toaster_1.default, null,
25
+ react_1.default.createElement(react_2.ColorModeScript, { initialColorMode: customTheme.config.initialColorMode }),
26
+ react_1.default.createElement(Component, __assign({}, props))))); };
27
+ };
28
+ exports.default = withTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "start": "react-scripts start",
24
24
  "build": "tsc && copyfiles -u 1 src/**/*.css src/assets/**/* dist/",
25
25
  "test": "react-scripts test",
26
- "remove": "rm -rf dist/Pages dist/App.js dist/App.d.ts dist/Layout.js dist/Layout.d.ts dist/withTheme.js dist/bootstrap.js dist/bootstrap.d.ts",
26
+ "remove": "rm -rf dist/Pages dist/App.js dist/App.d.ts dist/Layout.js dist/Layout.d.ts dist/bootstrap.js dist/bootstrap.d.ts",
27
27
  "eject": "react-scripts eject",
28
28
  "package": "npm version patch && npm run build && npm run remove && npm publish"
29
29
  },