@appcorp/app-corp-vista 0.3.5 → 0.3.7

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,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { VistaStatsV1Props } from '../type/vista-stats-type';
2
+ import { VistaStatsV1Props } from '../../type/vista-stats-type';
3
3
  export declare const VistaStatsV1: FC<VistaStatsV1Props>;
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.VistaStatsV1 = void 0;
7
7
  var react_1 = __importDefault(require("react"));
8
- var class_names_1 = require("../utils/class-names");
8
+ var class_names_1 = require("../../utils/class-names");
9
9
  var VistaStatsV1 = function (_a) {
10
10
  var containerClassName = _a.containerClassName,
11
11
  // isLoading = false,
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { VistaStatsV2Props } from '../type/vista-stats-type';
2
+ import { VistaStatsV2Props } from '../../type/vista-stats-type';
3
3
  export declare const VistaStatsV2: FC<VistaStatsV2Props>;
@@ -5,10 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.VistaStatsV2 = void 0;
7
7
  var react_1 = __importDefault(require("react"));
8
- var vista_shimmer_v1_1 = require("../atoms/vista-shimmer-v1/vista-shimmer-v1");
8
+ var vista_shimmer_v1_1 = require("../../atoms/vista-shimmer-v1/vista-shimmer-v1");
9
9
  var VistaStatsV2 = function (_a) {
10
- var items = _a.items, containerClassName = _a.containerClassName, _b = _a.isLoading, isLoading = _b === void 0 ? false : _b;
11
- return (react_1.default.createElement("div", { className: "bg-gray-100 dark:bg-gray-900 rounded-lg ".concat(containerClassName) },
10
+ var containerClassName = _a.containerClassName, _b = _a.isLoading, isLoading = _b === void 0 ? false : _b, items = _a.items;
11
+ return (react_1.default.createElement("div", { className: "border border-gray-300 rounded-lg ".concat(containerClassName) },
12
12
  react_1.default.createElement("div", { className: "mx-auto" },
13
13
  react_1.default.createElement("div", { className: "grid grid-cols-1 gap-px sm:grid-cols-2 lg:grid-cols-4" }, items
14
14
  .sort(function (a, b) { return a.order - b.order; })
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { VistaStatsV3Props } from '../type/vista-stats-type';
2
+ import { VistaStatsV3Props } from '../../type/vista-stats-type';
3
3
  export declare const VistaStatsV3: FC<VistaStatsV3Props>;
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { VistaStatsV4Props } from '../type/vista-stats-type';
2
+ import { VistaStatsV4Props } from '../../type/vista-stats-type';
3
3
  export declare const VistaStatsV4: FC<VistaStatsV4Props>;
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.VistaStatsV4 = void 0;
37
37
  var react_1 = __importStar(require("react"));
38
38
  var solid_1 = require("@heroicons/react/20/solid");
39
- var class_names_1 = require("../utils/class-names");
39
+ var class_names_1 = require("../../utils/class-names");
40
40
  var VistaStatsV4 = function (_a) {
41
41
  var items = _a.items;
42
42
  return (react_1.default.createElement("div", null,
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { VistaStatsV5Props } from '../type/vista-stats-type';
2
+ import { VistaStatsV5Props } from '../../type/vista-stats-type';
3
3
  export declare const VistaStatsV5: FC<VistaStatsV5Props>;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.VistaStatsV5 = void 0;
7
7
  var react_1 = __importDefault(require("react"));
8
8
  var solid_1 = require("@heroicons/react/20/solid");
9
- var class_names_1 = require("../utils/class-names");
9
+ var class_names_1 = require("../../utils/class-names");
10
10
  var VistaStatsV5 = function (_a) {
11
11
  var items = _a.items;
12
12
  return (react_1.default.createElement("div", null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
6
6
  "build:next": "next build",
@@ -43,7 +43,7 @@
43
43
  "@react-jvectormap/core": "^1.0.4",
44
44
  "@react-jvectormap/world": "^1.1.2",
45
45
  "@react-pakistan/react-icon-collection": "^3.5.0",
46
- "@react-pakistan/util-functions": "^1.24.41",
46
+ "@react-pakistan/util-functions": "^1.24.47",
47
47
  "@remixicon/react": "^4.6.0",
48
48
  "@storybook/addon-links": "^9",
49
49
  "@storybook/addon-onboarding": "^9",