@apexcura/ui-components 0.0.11-Beta130 → 0.0.11-Beta132

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.css CHANGED
@@ -341,9 +341,6 @@ video {
341
341
  .m-\[10px\] {
342
342
  margin: 10px;
343
343
  }
344
- .flex {
345
- display: flex;
346
- }
347
344
  .table {
348
345
  display: table;
349
346
  }
@@ -353,14 +350,6 @@ video {
353
350
  .w-\[126px\] {
354
351
  width: 126px;
355
352
  }
356
- .items-center {
357
- align-items: center;
358
- }
359
- .space-x-4 > :not([hidden]) ~ :not([hidden]) {
360
- --tw-space-x-reverse: 0;
361
- margin-right: calc(1rem * var(--tw-space-x-reverse));
362
- margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
363
- }
364
353
  .\!rounded-\[8px\] {
365
354
  border-radius: 8px !important;
366
355
  }
package/dist/index.d.mts CHANGED
@@ -44,6 +44,7 @@ type ElementType = {
44
44
  countClassName?: string;
45
45
  buttonClassName?: string;
46
46
  profileImageClassName?: string;
47
+ profileSubClassName?: string;
47
48
  };
48
49
 
49
50
  interface ElementExecuterProps$3 extends ElementType {
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ type ElementType = {
44
44
  countClassName?: string;
45
45
  buttonClassName?: string;
46
46
  profileImageClassName?: string;
47
+ profileSubClassName?: string;
47
48
  };
48
49
 
49
50
  interface ElementExecuterProps$3 extends ElementType {
package/dist/index.js CHANGED
@@ -550,11 +550,11 @@ var Notification = (props) => /* @__PURE__ */ import_react15.default.createEleme
550
550
 
551
551
  // src/Components/Profile.tsx
552
552
  var import_react16 = __toESM(require("react"));
553
- var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("div", { className: props.profile.className }, /* @__PURE__ */ import_react16.default.createElement("img", { src: props.profile.profileImage, alt: "profile", className: props.profile.profileImageClassName }), /* @__PURE__ */ import_react16.default.createElement("div", { className: "flex flex-column space-x-4" }, /* @__PURE__ */ import_react16.default.createElement("span", null, props.profile.primaryText), /* @__PURE__ */ import_react16.default.createElement("span", { className: props.profile.className }, props.profile.secondaryText)));
553
+ var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("div", { className: props.profile.className }, /* @__PURE__ */ import_react16.default.createElement("img", { src: props.profile.profileImage, alt: "profile", className: props.profile.profileImageClassName }), /* @__PURE__ */ import_react16.default.createElement("div", { className: props.profile.profileSubClassName }, /* @__PURE__ */ import_react16.default.createElement("span", null, props.profile.primaryText), /* @__PURE__ */ import_react16.default.createElement("span", { className: props.profile.className }, props.profile.secondaryText)));
554
554
 
555
555
  // src/Components/Navbar.tsx
556
556
  var Navbar = (props) => {
557
- return /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex space-between" }, /* @__PURE__ */ import_react17.default.createElement("span", { className: props.dashboard.className }, props.dashboard.label), /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex flex-end items-center space-x-4" }, /* @__PURE__ */ import_react17.default.createElement(Notification, { ...props }), /* @__PURE__ */ import_react17.default.createElement(Profile, { ...props })));
557
+ return /* @__PURE__ */ import_react17.default.createElement("div", null, /* @__PURE__ */ import_react17.default.createElement("span", { className: props.dashboard.className }, props.dashboard.label), /* @__PURE__ */ import_react17.default.createElement("div", { className: props.subContainerClassName }, /* @__PURE__ */ import_react17.default.createElement(Notification, { ...props }), /* @__PURE__ */ import_react17.default.createElement(Profile, { ...props })));
558
558
  };
559
559
  // Annotate the CommonJS export names for ESM import in node:
560
560
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -501,11 +501,11 @@ var Notification = (props) => /* @__PURE__ */ React14.createElement(Popover, { c
501
501
 
502
502
  // src/Components/Profile.tsx
503
503
  import React15 from "react";
504
- var Profile = (props) => /* @__PURE__ */ React15.createElement("div", { className: props.profile.className }, /* @__PURE__ */ React15.createElement("img", { src: props.profile.profileImage, alt: "profile", className: props.profile.profileImageClassName }), /* @__PURE__ */ React15.createElement("div", { className: "flex flex-column space-x-4" }, /* @__PURE__ */ React15.createElement("span", null, props.profile.primaryText), /* @__PURE__ */ React15.createElement("span", { className: props.profile.className }, props.profile.secondaryText)));
504
+ var Profile = (props) => /* @__PURE__ */ React15.createElement("div", { className: props.profile.className }, /* @__PURE__ */ React15.createElement("img", { src: props.profile.profileImage, alt: "profile", className: props.profile.profileImageClassName }), /* @__PURE__ */ React15.createElement("div", { className: props.profile.profileSubClassName }, /* @__PURE__ */ React15.createElement("span", null, props.profile.primaryText), /* @__PURE__ */ React15.createElement("span", { className: props.profile.className }, props.profile.secondaryText)));
505
505
 
506
506
  // src/Components/Navbar.tsx
507
507
  var Navbar = (props) => {
508
- return /* @__PURE__ */ React16.createElement("div", { className: "flex space-between" }, /* @__PURE__ */ React16.createElement("span", { className: props.dashboard.className }, props.dashboard.label), /* @__PURE__ */ React16.createElement("div", { className: "flex flex-end items-center space-x-4" }, /* @__PURE__ */ React16.createElement(Notification, { ...props }), /* @__PURE__ */ React16.createElement(Profile, { ...props })));
508
+ return /* @__PURE__ */ React16.createElement("div", null, /* @__PURE__ */ React16.createElement("span", { className: props.dashboard.className }, props.dashboard.label), /* @__PURE__ */ React16.createElement("div", { className: props.subContainerClassName }, /* @__PURE__ */ React16.createElement(Notification, { ...props }), /* @__PURE__ */ React16.createElement(Profile, { ...props })));
509
509
  };
510
510
  export {
511
511
  AddMoreTable,
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta130",
3
+ "version": "0.0.11-Beta132",
4
4
  "description": "Apex cura React components library",
5
-
6
5
  "keywords": [
7
6
  "apex cura",
8
7
  "input",
@@ -37,13 +36,10 @@
37
36
  "@types/react-global-configuration": "^1.3.3",
38
37
  "@types/testing-library__react": "^10.2.0",
39
38
  "antd": "^5.16.5",
40
- "autoprefixer": "^10.4.19",
41
39
  "jest": "^29.7.0",
42
40
  "jest-environment-jsdom": "^29.7.0",
43
- "postcss": "^8.4.38",
44
41
  "react": "^18.3.1",
45
42
  "react-dom": "^18.3.1",
46
- "tailwindcss": "^3.4.3",
47
43
  "ts-jest": "^29.1.2",
48
44
  "tsup": "^8.1.0",
49
45
  "typescript": "^5.4.5"
@@ -53,7 +49,10 @@
53
49
  },
54
50
  "dependencies": {
55
51
  "@tinymce/tinymce-react": "^5.0.1",
52
+ "autoprefixer": "^10.4.19",
56
53
  "esbuild": "^0.21.4",
57
- "postcss-import": "^16.1.0"
54
+ "postcss": "^8.4.38",
55
+ "postcss-import": "^16.1.0",
56
+ "tailwindcss": "^3.4.3"
58
57
  }
59
58
  }
package/postcss.config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
- plugins: [
3
- require('tailwindcss'),
4
- require('autoprefixer'),
5
- ],
6
- };
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ }
@@ -1,9 +1,10 @@
1
+ /** @type {import('tailwindcss').Config} */
1
2
  module.exports = {
2
- content: [
3
- "./src/**/*.{js,jsx,ts,tsx}", // Adjust this path according to your project structure
4
- ],
3
+
4
+ content: ['./src/**/*.{js,jsx,ts,tsx}'],
5
5
  theme: {
6
6
  extend: {},
7
7
  },
8
8
  plugins: [],
9
- };
9
+ }
10
+