@yakad/ui 1.3.95 → 1.3.97

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.
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import "./globals.css";
3
2
  export type DarkStyle = "light" | "dark" | "system";
4
3
  export type ThemeColor = "green" | "red" | "yellow" | "blue" | "purple";
5
4
  export interface ThemeProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  "use strict";
3
2
  var __rest = (this && this.__rest) || function (s, e) {
4
3
  var t = {};
@@ -19,9 +18,8 @@ exports.Theme = void 0;
19
18
  const jsx_runtime_1 = require("react/jsx-runtime");
20
19
  const react_1 = require("react");
21
20
  const classnames_1 = __importDefault(require("classnames"));
22
- require("./globals.css");
23
- const boxing_module_css_1 = __importDefault(require("../boxing.module.css"));
24
21
  const Theme_module_css_1 = __importDefault(require("./Theme.module.css"));
22
+ const boxing_module_css_1 = __importDefault(require("../boxing.module.css"));
25
23
  exports.Theme = (0, react_1.forwardRef)((_a, ref) => {
26
24
  var { align, darkstyle = "system", color = "blue", zoom = 100, className, children } = _a, restProps = __rest(_a, ["align", "darkstyle", "color", "zoom", "className", "children"]);
27
25
  const zoomPercentage = zoom ? (zoom / 100) * 62.5 : 62.5;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import "./globals.css";
1
2
  export * from "./Screen/Screen";
2
3
  export * from "./AppBar/AppBar";
3
4
  export * from "./Main/Main";
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ require("./globals.css");
17
18
  // Layout & Structure
18
19
  __exportStar(require("./Screen/Screen"), exports);
19
20
  __exportStar(require("./AppBar/AppBar"), exports);
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@yakad/ui",
3
- "version": "1.3.95",
3
+ "version": "1.3.97",
4
4
  "private": false,
5
5
  "author": "Natiq",
6
6
  "description": "UI components for NextJS/React",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
9
+ "sideEffects": [
10
+ "dist/globals.css"
11
+ ],
9
12
  "keywords": [
10
13
  "yakad",
11
14
  "react",
File without changes