tintora 0.0.0-stage → 0.0.0

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 type { ButtonHTMLAttributes } from 'react';
2
+ import './Button.css';
3
+ export declare function Button({ className, ...props }: ButtonHTMLAttributes<HTMLButtonElement>): import("react").JSX.Element;
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react/jsx-runtime");function t({className:t=``,...n}){return(0,e.jsx)(`button`,{className:`tintora-button ${t}`,...n})}exports.Button=t;
@@ -0,0 +1 @@
1
+ export { Button } from "./Button/Button";
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ //#region src/Button/Button.tsx
3
+ function t({ className: t = "", ...n }) {
4
+ return /* @__PURE__ */ e("button", {
5
+ className: `tintora-button ${t}`,
6
+ ...n
7
+ });
8
+ }
9
+ //#endregion
10
+ export { t as Button };
@@ -0,0 +1,2 @@
1
+ .tintora-button{color:#fff;cursor:pointer;background:#111;border:0;border-radius:.375rem;padding:.5rem 1rem}
2
+ /*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,70 @@
1
1
  {
2
2
  "name": "tintora",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.0",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "sideEffects": [
7
+ "**/*.css"
8
+ ],
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "main": "./dist/index.cjs",
13
+ "module": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js",
19
+ "require": "./dist/index.cjs"
20
+ },
21
+ "./style.css": "./dist/tintora.css"
22
+ },
23
+ "peerDependencies": {
24
+ "react": ">=18",
25
+ "react-dom": ">=18"
26
+ },
27
+ "devDependencies": {
28
+ "@commitlint/cli": "^21.2.3",
29
+ "@commitlint/config-conventional": "^21.2.3",
30
+ "@eslint/js": "^9.39.5",
31
+ "@storybook/addon-docs": "^10.6.1",
32
+ "@storybook/react-vite": "^10.6.1",
33
+ "@types/react": "^19.3.0",
34
+ "@types/react-dom": "^19.3.0",
35
+ "@vitejs/plugin-react": "^6.1.2",
36
+ "eslint": "^9.39.5",
37
+ "eslint-config-prettier": "^10.1.8",
38
+ "eslint-plugin-jsx-a11y": "^6.10.2",
39
+ "eslint-plugin-react": "^7.37.5",
40
+ "eslint-plugin-react-hooks": "^7.1.1",
41
+ "eslint-plugin-storybook": "^10.6.1",
42
+ "globals": "^17.13.0",
43
+ "husky": "^9.1.7",
44
+ "lint-staged": "^17.6.0",
45
+ "prettier": "^3.9.10",
46
+ "react": "^19.3.0",
47
+ "react-dom": "^19.3.0",
48
+ "storybook": "^10.6.1",
49
+ "typescript": "^6.0.3",
50
+ "typescript-eslint": "^8.71.1",
51
+ "vite": "^8.3.4"
52
+ },
53
+ "devEngines": {
54
+ "packageManager": {
55
+ "name": "pnpm",
56
+ "version": "12.11.2",
57
+ "onFail": "download"
58
+ }
59
+ },
60
+ "scripts": {
61
+ "build": "vite build && tsc --noEmit false --emitDeclarationOnly --declaration --rootDir src --outDir dist",
62
+ "dev": "vite build --watch",
63
+ "storybook": "storybook dev -p 6006",
64
+ "build-storybook": "storybook build",
65
+ "typecheck": "tsc --noEmit",
66
+ "lint": "eslint .",
67
+ "format": "prettier --write .",
68
+ "format:check": "prettier --check ."
69
+ }
6
70
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.