@apptify-labs/ui 1.0.0 → 1.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/package.json +8 -2
- package/.storybook/main.ts +0 -27
- package/.storybook/preview.tsx +0 -15
- package/.turbo/turbo-build.log +0 -19
- package/STORYBOOK.md +0 -112
- package/dist/index.d.mts +0 -33
- package/dist/index.d.ts +0 -33
- package/dist/index.js +0 -182
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -136
- package/dist/index.mjs.map +0 -1
- package/postcss.config.js +0 -6
- package/src/components/card/card.stories.tsx +0 -38
- package/src/components/card/card.tsx +0 -75
- package/src/components/card/index.ts +0 -1
- package/src/components/input/index.ts +0 -1
- package/src/components/input/input.stories.tsx +0 -40
- package/src/components/input/input.tsx +0 -24
- package/src/components/label/index.ts +0 -1
- package/src/components/label/label.stories.tsx +0 -22
- package/src/components/label/label.tsx +0 -23
- package/src/components/separator/index.ts +0 -1
- package/src/components/separator/separator.stories.tsx +0 -36
- package/src/components/separator/separator.tsx +0 -28
- package/src/index.ts +0 -5
- package/src/styles.css +0 -69
- package/src/utils/cn.ts +0 -14
- package/src/utils/index.ts +0 -1
- package/storybook-static/assets/Color-YHDXOIA2-kSxZo1Vy.js +0 -1
- package/storybook-static/assets/DocsRenderer-CFRXHY34-DsDoVbDP.js +0 -575
- package/storybook-static/assets/card.stories-1IXkTbkW.js +0 -20
- package/storybook-static/assets/chunk-XP5HYGXS-rhzvizV_.js +0 -1
- package/storybook-static/assets/client-CN6oaCdP.js +0 -33
- package/storybook-static/assets/entry-preview-Ct7_9bu-.js +0 -2
- package/storybook-static/assets/entry-preview-docs-pv-Qwe_M.js +0 -46
- package/storybook-static/assets/iframe-CbRAOl5a.js +0 -211
- package/storybook-static/assets/index-B3ijS-tw.js +0 -11
- package/storybook-static/assets/index-DH-M5T-F.js +0 -240
- package/storybook-static/assets/index-DHO77v_d.js +0 -1
- package/storybook-static/assets/index-DrFu-skq.js +0 -6
- package/storybook-static/assets/index-DzGJhHoF.js +0 -9
- package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +0 -9
- package/storybook-static/assets/preview-B8lJiyuQ.js +0 -34
- package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
- package/storybook-static/assets/preview-BIuR4HGU.js +0 -240
- package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
- package/storybook-static/assets/preview-B_o1KE33.css +0 -1
- package/storybook-static/assets/preview-CM32KvaH.js +0 -1
- package/storybook-static/assets/preview-CvbIS5ZJ.js +0 -1
- package/storybook-static/assets/preview-Cy3uZJAu.js +0 -2
- package/storybook-static/assets/preview-DD_OYowb.js +0 -1
- package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
- package/storybook-static/assets/preview-DHQbi4pV.js +0 -1
- package/storybook-static/assets/react-18-BeIp0fAf.js +0 -1
- package/storybook-static/assets/test-utils-BxnH6twK.js +0 -9
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -666
- package/storybook-static/index.html +0 -177
- package/storybook-static/index.json +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +0 -1
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -405
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +0 -245
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js +0 -222
- package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +0 -1052
- package/storybook-static/sb-manager/globals-runtime.js +0 -41775
- package/storybook-static/sb-manager/globals.js +0 -48
- package/storybook-static/sb-manager/runtime.js +0 -12048
- package/tailwind.config.js +0 -103
- package/tsconfig.json +0 -21
- package/tsup.config.ts +0 -12
package/tailwind.config.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
const { colors, radius, shadows, fontFamilies } = require("@apptify-labs/tokens");
|
|
2
|
-
|
|
3
|
-
/** @type {import('tailwindcss').Config} */
|
|
4
|
-
module.exports = {
|
|
5
|
-
darkMode: "class",
|
|
6
|
-
content: ["./src/**/*.{ts,tsx}"],
|
|
7
|
-
theme: {
|
|
8
|
-
extend: {
|
|
9
|
-
colors: {
|
|
10
|
-
border: "hsl(var(--border))",
|
|
11
|
-
input: "hsl(var(--input))",
|
|
12
|
-
ring: "hsl(var(--ring))",
|
|
13
|
-
background: "hsl(var(--background))",
|
|
14
|
-
foreground: "hsl(var(--foreground))",
|
|
15
|
-
primary: {
|
|
16
|
-
DEFAULT: "hsl(var(--primary))",
|
|
17
|
-
foreground: "hsl(var(--primary-foreground))",
|
|
18
|
-
},
|
|
19
|
-
secondary: {
|
|
20
|
-
DEFAULT: "hsl(var(--secondary))",
|
|
21
|
-
foreground: "hsl(var(--secondary-foreground))",
|
|
22
|
-
},
|
|
23
|
-
destructive: {
|
|
24
|
-
DEFAULT: "hsl(var(--destructive))",
|
|
25
|
-
foreground: "hsl(var(--destructive-foreground))",
|
|
26
|
-
},
|
|
27
|
-
muted: {
|
|
28
|
-
DEFAULT: "hsl(var(--muted))",
|
|
29
|
-
foreground: "hsl(var(--muted-foreground))",
|
|
30
|
-
},
|
|
31
|
-
accent: {
|
|
32
|
-
DEFAULT: "hsl(var(--accent))",
|
|
33
|
-
foreground: "hsl(var(--accent-foreground))",
|
|
34
|
-
},
|
|
35
|
-
popover: {
|
|
36
|
-
DEFAULT: "hsl(var(--popover))",
|
|
37
|
-
foreground: "hsl(var(--popover-foreground))",
|
|
38
|
-
},
|
|
39
|
-
card: {
|
|
40
|
-
DEFAULT: "hsl(var(--card))",
|
|
41
|
-
foreground: "hsl(var(--card-foreground))",
|
|
42
|
-
},
|
|
43
|
-
success: {
|
|
44
|
-
DEFAULT: colors.success[500],
|
|
45
|
-
foreground: "#ffffff",
|
|
46
|
-
},
|
|
47
|
-
warning: {
|
|
48
|
-
DEFAULT: colors.warning[500],
|
|
49
|
-
foreground: "#ffffff",
|
|
50
|
-
},
|
|
51
|
-
info: {
|
|
52
|
-
DEFAULT: colors.info[500],
|
|
53
|
-
foreground: "#ffffff",
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
borderRadius: {
|
|
57
|
-
lg: "var(--radius)",
|
|
58
|
-
md: "calc(var(--radius) - 2px)",
|
|
59
|
-
sm: "calc(var(--radius) - 4px)",
|
|
60
|
-
},
|
|
61
|
-
fontFamily: {
|
|
62
|
-
sans: [fontFamilies.sans],
|
|
63
|
-
mono: [fontFamilies.mono],
|
|
64
|
-
},
|
|
65
|
-
boxShadow: shadows,
|
|
66
|
-
keyframes: {
|
|
67
|
-
"accordion-down": {
|
|
68
|
-
from: { height: "0" },
|
|
69
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
70
|
-
},
|
|
71
|
-
"accordion-up": {
|
|
72
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
73
|
-
to: { height: "0" },
|
|
74
|
-
},
|
|
75
|
-
"fade-in": {
|
|
76
|
-
from: { opacity: "0" },
|
|
77
|
-
to: { opacity: "1" },
|
|
78
|
-
},
|
|
79
|
-
"fade-out": {
|
|
80
|
-
from: { opacity: "1" },
|
|
81
|
-
to: { opacity: "0" },
|
|
82
|
-
},
|
|
83
|
-
"slide-in-from-top": {
|
|
84
|
-
from: { transform: "translateY(-100%)" },
|
|
85
|
-
to: { transform: "translateY(0)" },
|
|
86
|
-
},
|
|
87
|
-
"slide-in-from-bottom": {
|
|
88
|
-
from: { transform: "translateY(100%)" },
|
|
89
|
-
to: { transform: "translateY(0)" },
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
animation: {
|
|
93
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
94
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
95
|
-
"fade-in": "fade-in 0.2s ease-out",
|
|
96
|
-
"fade-out": "fade-out 0.2s ease-out",
|
|
97
|
-
"slide-in-from-top": "slide-in-from-top 0.3s ease-out",
|
|
98
|
-
"slide-in-from-bottom": "slide-in-from-bottom 0.3s ease-out",
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
plugins: [],
|
|
103
|
-
};
|
package/tsconfig.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es2022",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"moduleResolution": "bundler",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"outDir": "./dist",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"jsx": "react-jsx",
|
|
14
|
-
"lib": ["dom", "dom.iterable", "es2022"],
|
|
15
|
-
"paths": {
|
|
16
|
-
"@/*": ["./src/*"]
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"include": ["src/**/*"],
|
|
20
|
-
"exclude": ["node_modules", "dist"]
|
|
21
|
-
}
|
package/tsup.config.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "tsup";
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry: ["src/index.ts"],
|
|
5
|
-
format: ["cjs", "esm"],
|
|
6
|
-
dts: true,
|
|
7
|
-
splitting: false,
|
|
8
|
-
sourcemap: true,
|
|
9
|
-
clean: true,
|
|
10
|
-
external: ["react", "react-dom"],
|
|
11
|
-
injectStyle: false,
|
|
12
|
-
});
|