@gardenfi/garden-book 0.0.2
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/README.md +0 -0
- package/dist/components/card/card.d.ts +6 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/styles.css +1 -0
- package/dist/ui.cjs.js +1 -0
- package/dist/ui.es.js +8 -0
- package/dist/ui.umd.js +1 -0
- package/package.json +69 -0
package/README.md
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Card } from './card';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Card } from './components/card';
|
package/dist/styles.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.mb-2{margin-bottom:.5rem}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.border-none{border-style:none}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:640px){.sm\:max-w-xs{max-width:20rem}}@media (min-width:1024px){.lg\:max-w-sm{max-width:24rem}}@media (min-width:1280px){.xl\:max-w-md{max-width:28rem}}
|
package/dist/ui.cjs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=({title:s,description:d})=>e.jsx("div",{className:"",children:e.jsx("div",{className:"bg-white rounded-lg shadow-lg overflow-hidden sm:max-w-xs lg:max-w-sm xl:max-w-md",children:e.jsxs("div",{className:"px-6 py-4",children:[e.jsx("h2",{className:"font-sans text-red-700 font-bold text-xl mb-2",children:s}),e.jsx("p",{className:"bg-white border-none rounded-none font-sans text-gray-700 text-base",children:d})]})})});exports.Card=n;
|
package/dist/ui.es.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
const r = ({ title: s, description: d }) => /* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e("div", { className: "bg-white rounded-lg shadow-lg overflow-hidden sm:max-w-xs lg:max-w-sm xl:max-w-md", children: /* @__PURE__ */ a("div", { className: "px-6 py-4", children: [
|
|
3
|
+
/* @__PURE__ */ e("h2", { className: "font-sans text-red-700 font-bold text-xl mb-2", children: s }),
|
|
4
|
+
/* @__PURE__ */ e("p", { className: "bg-white border-none rounded-none font-sans text-gray-700 text-base", children: d })
|
|
5
|
+
] }) }) });
|
|
6
|
+
export {
|
|
7
|
+
r as Card
|
|
8
|
+
};
|
package/dist/ui.umd.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.ui={},n.jsxRuntime))})(this,function(n,e){"use strict";const s=({title:d,description:t})=>e.jsx("div",{className:"",children:e.jsx("div",{className:"bg-white rounded-lg shadow-lg overflow-hidden sm:max-w-xs lg:max-w-sm xl:max-w-md",children:e.jsxs("div",{className:"px-6 py-4",children:[e.jsx("h2",{className:"font-sans text-red-700 font-bold text-xl mb-2",children:d}),e.jsx("p",{className:"bg-white border-none rounded-none font-sans text-gray-700 text-base",children:t})]})})});n.Card=s,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gardenfi/garden-book",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./dist/ui.es.js",
|
|
9
|
+
"require": "./dist/ui.umd.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./styles.css": {
|
|
13
|
+
"require": "./dist/styles.css",
|
|
14
|
+
"default": "./dist/styles.css"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "tsc && vite build && yarn build:css",
|
|
23
|
+
"build:css": "tailwindcss -m -i ./src/tailwind-entry.css -o ./dist/styles.css",
|
|
24
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
25
|
+
"preview": "vite preview",
|
|
26
|
+
"storybook": "concurrently \"yarn storybook:css\" \"storybook dev -p 6006\"",
|
|
27
|
+
"storybook:css": "tailwindcss -w -i ./src/tailwind-entry.css -o ./src/index.css",
|
|
28
|
+
"build-storybook": "concurrently \"yarn build-storybook:css\" \"storybook build\"",
|
|
29
|
+
"build-storybook:css": "tailwindcss -m -i ./src/tailwind-entry.css -o ./src/index.css"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^18.2.0",
|
|
33
|
+
"react-dom": "^18.2.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@chromatic-com/storybook": "^1.3.3",
|
|
37
|
+
"@storybook/addon-essentials": "^8.0.9",
|
|
38
|
+
"@storybook/addon-interactions": "^8.0.9",
|
|
39
|
+
"@storybook/addon-links": "^8.0.9",
|
|
40
|
+
"@storybook/addon-onboarding": "^8.0.9",
|
|
41
|
+
"@storybook/blocks": "^8.0.9",
|
|
42
|
+
"@storybook/react": "^8.0.9",
|
|
43
|
+
"@storybook/react-vite": "^8.0.9",
|
|
44
|
+
"@storybook/test": "^8.0.9",
|
|
45
|
+
"@types/react": "^18.2.66",
|
|
46
|
+
"@types/react-dom": "^18.2.22",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
48
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
49
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
50
|
+
"concurrently": "^8.2.2",
|
|
51
|
+
"eslint": "^8.57.0",
|
|
52
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
53
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
54
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
55
|
+
"storybook": "^8.0.9",
|
|
56
|
+
"tailwindcss": "^3.4.3",
|
|
57
|
+
"typescript": "^5.2.2",
|
|
58
|
+
"vite": "^5.2.0",
|
|
59
|
+
"vite-plugin-dts": "^3.9.0"
|
|
60
|
+
},
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"class-variance-authority": "^0.7.0",
|
|
66
|
+
"clsx": "^2.1.1",
|
|
67
|
+
"tailwind-merge": "^2.4.0"
|
|
68
|
+
}
|
|
69
|
+
}
|