@appcorp/app-corp-vista 0.0.66 → 0.0.67

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,3 @@
1
+ import { FC } from 'react';
2
+ import { VistaTableCellV1Props } from '../../type/vista-table-cell-type';
3
+ export declare const VistaTableCellV1: FC<VistaTableCellV1Props>;
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.VistaTableCellV1 = void 0;
8
+ var react_1 = __importDefault(require("react"));
9
+ var react_copy_to_clipboard_1 = require("react-copy-to-clipboard");
10
+ var VistaTableCellV1 = function (_a) {
11
+ var id = _a.id, label = _a.label, isBold = _a.isBold;
12
+ return (react_1.default.createElement("div", { className: "flex items-center gap-2" },
13
+ react_1.default.createElement(react_copy_to_clipboard_1.CopyToClipboard, { text: id || label },
14
+ react_1.default.createElement("p", { className: "text-sm ".concat(isBold ? 'font-bold' : 'font-normal', " text-gray-900 dark:text-gray-300") }, label))));
15
+ };
16
+ exports.VistaTableCellV1 = VistaTableCellV1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",
@@ -58,6 +58,7 @@
58
58
  "@tailwindcss/postcss": "^4.0.3",
59
59
  "@types/node": "^22",
60
60
  "@types/react": "^19",
61
+ "@types/react-copy-to-clipboard": "^5.0.7",
61
62
  "@types/react-dom": "^19",
62
63
  "autoprefixer": "^10.4.20",
63
64
  "clsx": "^2.1.1",
@@ -75,6 +76,7 @@
75
76
  "next-themes": "^0.4.4",
76
77
  "postcss": "^8",
77
78
  "react": "^19",
79
+ "react-copy-to-clipboard": "^5.1.0",
78
80
  "react-dom": "^19",
79
81
  "storybook": "8.5.1",
80
82
  "swr": "^2.3.0",
@@ -0,0 +1,5 @@
1
+ export interface VistaTableCellV1Props {
2
+ id?: string;
3
+ isBold?: boolean;
4
+ label: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });