@ardly/bunext 1.0.6 → 1.0.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.
- package/LICENSE +21 -0
- package/README.md +33 -16
- package/cli.mjs +126 -0
- package/package.json +14 -58
- package/.eslintrc.json +0 -8
- package/.prettierignore +0 -4
- package/STRUCTURE.md +0 -77
- package/bin/cli.mjs +0 -126
- package/components.json +0 -21
- package/next.config.ts +0 -22
- package/postcss.config.mjs +0 -8
- package/prettier.config.js +0 -7
- package/public/android-chrome-192x192.png +0 -0
- package/public/android-chrome-512x512.png +0 -0
- package/public/favicon.svg +0 -1
- package/public/loading-dots.gif +0 -0
- package/public/logo.svg +0 -1
- package/public/ogImage.webp +0 -0
- package/public/site.webmanifest +0 -19
- package/src/actions/placeholder.ts +0 -30
- package/src/actions/sampleAction.ts +0 -39
- package/src/app/(index)/intr/TestCard.tsx +0 -31
- package/src/app/(index)/intr/page.tsx +0 -17
- package/src/app/(index)/page.tsx +0 -156
- package/src/app/(index)/pagetr/page.tsx +0 -37
- package/src/app/error-wrapper.tsx +0 -32
- package/src/app/global-error.tsx +0 -53
- package/src/app/layout.tsx +0 -56
- package/src/app/loading.tsx +0 -11
- package/src/app/not-found.tsx +0 -45
- package/src/app/sitemap.ts +0 -14
- package/src/components/Providers/root-provider.tsx +0 -22
- package/src/components/Providers/theme-provider.tsx +0 -27
- package/src/components/TestComp.tsx +0 -11
- package/src/components/brand.tsx +0 -35
- package/src/components/navigation/footer.tsx +0 -32
- package/src/components/navigation/main-nav.tsx +0 -55
- package/src/components/navigation/mobile-nav.tsx +0 -154
- package/src/components/navigation/site-header.tsx +0 -67
- package/src/components/ui/avatar.tsx +0 -50
- package/src/components/ui/badge.tsx +0 -36
- package/src/components/ui/button.tsx +0 -56
- package/src/components/ui/card.tsx +0 -79
- package/src/components/ui/command.tsx +0 -153
- package/src/components/ui/dialog.tsx +0 -122
- package/src/components/ui/drawer.tsx +0 -118
- package/src/components/ui/dropdown-menu.tsx +0 -200
- package/src/components/ui/input.tsx +0 -22
- package/src/components/ui/label.tsx +0 -26
- package/src/components/ui/multi-select.tsx +0 -380
- package/src/components/ui/origin/multiselect.tsx +0 -645
- package/src/components/ui/popover.tsx +0 -31
- package/src/components/ui/radio-group.tsx +0 -44
- package/src/components/ui/separator.tsx +0 -31
- package/src/components/ui/skeleton.tsx +0 -15
- package/src/components/ui/themeSelector.tsx +0 -157
- package/src/components/ui/toast.tsx +0 -129
- package/src/components/ui/toaster.tsx +0 -31
- package/src/components/ui/tooltip.tsx +0 -39
- package/src/components/utils/ConditionalLink.tsx +0 -46
- package/src/components/utils/Image.tsx +0 -57
- package/src/components/utils/Img.tsx +0 -104
- package/src/components/utils/Spinner.tsx +0 -29
- package/src/components/utils/TopButton.tsx +0 -67
- package/src/components/utils/TransitionLink.tsx +0 -67
- package/src/components/utils/copy.tsx +0 -98
- package/src/components/utils/featureFlag.tsx +0 -22
- package/src/components/utils/icons.tsx +0 -155
- package/src/components/utils/share-modal.tsx +0 -159
- package/src/hooks/use-intersection.ts +0 -52
- package/src/hooks/use-lazy-load.ts +0 -33
- package/src/hooks/use-meta-color.ts +0 -25
- package/src/hooks/use-toast.ts +0 -191
- package/src/lib/config/featureflags.ts +0 -63
- package/src/lib/config/siteConfig.ts +0 -172
- package/src/lib/config/user.ts +0 -9
- package/src/lib/data/footer-data.ts +0 -85
- package/src/lib/data/nav-data.ts +0 -30
- package/src/lib/data/siteData.ts +0 -52
- package/src/lib/utils/index.ts +0 -190
- package/src/styles/customGlobal.css +0 -141
- package/src/styles/globals.css +0 -72
- package/src/styles/tailwind/base.ts +0 -46
- package/src/styles/tailwind/fonts/ClashDisplay-Bold.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Bold.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Bold.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Bold.woff2 +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Extralight.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Extralight.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Extralight.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Extralight.woff2 +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Light.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Light.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Light.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Light.woff2 +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Medium.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Medium.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Medium.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Medium.woff2 +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Regular.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Regular.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Regular.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Regular.woff2 +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Semibold.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Semibold.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Semibold.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Semibold.woff2 +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Variable.eot +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Variable.ttf +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Variable.woff +0 -0
- package/src/styles/tailwind/fonts/ClashDisplay-Variable.woff2 +0 -0
- package/src/styles/tailwind/fonts/GeistMonoVF.woff +0 -0
- package/src/styles/tailwind/fonts/GeistVF.woff +0 -0
- package/src/styles/tailwind/fonts.ts +0 -51
- package/src/styles/tailwind/tailwindUtils.ts +0 -29
- package/src/types/index.ts +0 -80
- package/tailwind.config.ts +0 -104
- package/tsconfig.json +0 -28
- package/vercel.json +0 -6
package/tailwind.config.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import type { Config } from 'tailwindcss'
|
|
2
|
-
// plugins
|
|
3
|
-
import tailwindcssAnimate from 'tailwindcss-animate'
|
|
4
|
-
// @ts-expect-error doesn't have ts types yet
|
|
5
|
-
import tailwindcssMotion from 'tailwindcss-motion'
|
|
6
|
-
// import fluid, { extract, screens, fontSize } from 'fluid-tailwind'
|
|
7
|
-
|
|
8
|
-
// custom configs
|
|
9
|
-
import { fontFamily } from 'tailwindcss/defaultTheme'
|
|
10
|
-
import { base } from './src/styles/tailwind/base'
|
|
11
|
-
import { utilities } from './src/styles/tailwind/tailwindUtils'
|
|
12
|
-
|
|
13
|
-
export default {
|
|
14
|
-
darkMode: ['class'],
|
|
15
|
-
content: {
|
|
16
|
-
files: [
|
|
17
|
-
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
|
|
18
|
-
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
|
|
19
|
-
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
|
|
20
|
-
],
|
|
21
|
-
// extract,
|
|
22
|
-
},
|
|
23
|
-
theme: {
|
|
24
|
-
// screens, //fluid tailwind uncomment this to use fluid tailwind
|
|
25
|
-
// fontSize, //fluid tailwind uncomment this to use fluid tailwind
|
|
26
|
-
container: {
|
|
27
|
-
center: true,
|
|
28
|
-
padding: {
|
|
29
|
-
DEFAULT: '1rem',
|
|
30
|
-
lg: '2rem',
|
|
31
|
-
xl: '3rem',
|
|
32
|
-
'2xl': '4rem',
|
|
33
|
-
},
|
|
34
|
-
screens: {
|
|
35
|
-
sm: '640px',
|
|
36
|
-
md: '768px',
|
|
37
|
-
lg: '1024px',
|
|
38
|
-
xl: '1280px',
|
|
39
|
-
'2xl': '1440px',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
extend: {
|
|
43
|
-
colors: {
|
|
44
|
-
background: 'hsl(var(--background))',
|
|
45
|
-
foreground: 'hsl(var(--foreground))',
|
|
46
|
-
card: {
|
|
47
|
-
DEFAULT: 'hsl(var(--card))',
|
|
48
|
-
foreground: 'hsl(var(--card-foreground))',
|
|
49
|
-
},
|
|
50
|
-
popover: {
|
|
51
|
-
DEFAULT: 'hsl(var(--popover))',
|
|
52
|
-
foreground: 'hsl(var(--popover-foreground))',
|
|
53
|
-
},
|
|
54
|
-
primary: {
|
|
55
|
-
DEFAULT: 'hsl(var(--primary))',
|
|
56
|
-
foreground: 'hsl(var(--primary-foreground))',
|
|
57
|
-
},
|
|
58
|
-
secondary: {
|
|
59
|
-
DEFAULT: 'hsl(var(--secondary))',
|
|
60
|
-
foreground: 'hsl(var(--secondary-foreground))',
|
|
61
|
-
},
|
|
62
|
-
muted: {
|
|
63
|
-
DEFAULT: 'hsl(var(--muted))',
|
|
64
|
-
foreground: 'hsl(var(--muted-foreground))',
|
|
65
|
-
},
|
|
66
|
-
accent: {
|
|
67
|
-
DEFAULT: 'hsl(var(--accent))',
|
|
68
|
-
foreground: 'hsl(var(--accent-foreground))',
|
|
69
|
-
},
|
|
70
|
-
destructive: {
|
|
71
|
-
DEFAULT: 'hsl(var(--destructive))',
|
|
72
|
-
foreground: 'hsl(var(--destructive-foreground))',
|
|
73
|
-
},
|
|
74
|
-
border: 'hsl(var(--border))',
|
|
75
|
-
input: 'hsl(var(--input))',
|
|
76
|
-
ring: 'hsl(var(--ring))',
|
|
77
|
-
chart: {
|
|
78
|
-
'1': 'hsl(var(--chart-1))',
|
|
79
|
-
'2': 'hsl(var(--chart-2))',
|
|
80
|
-
'3': 'hsl(var(--chart-3))',
|
|
81
|
-
'4': 'hsl(var(--chart-4))',
|
|
82
|
-
'5': 'hsl(var(--chart-5))',
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
borderRadius: {
|
|
86
|
-
lg: 'var(--radius)',
|
|
87
|
-
md: 'calc(var(--radius) - 2px)',
|
|
88
|
-
sm: 'calc(var(--radius) - 4px)',
|
|
89
|
-
},
|
|
90
|
-
fontFamily: {
|
|
91
|
-
sans: ['var(--font-inter)', ...fontFamily.sans],
|
|
92
|
-
clash: ['var(--font-clashDisplay)', ...fontFamily.sans],
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
plugins: [
|
|
98
|
-
tailwindcssAnimate,
|
|
99
|
-
tailwindcssMotion,
|
|
100
|
-
utilities,
|
|
101
|
-
base,
|
|
102
|
-
// fluid, //fluid tailwind uncomment this to use fluid tailwind
|
|
103
|
-
],
|
|
104
|
-
} satisfies Config
|
package/tsconfig.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2017",
|
|
4
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"noEmit": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"module": "esnext",
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"jsx": "preserve",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"plugins": [
|
|
17
|
-
{
|
|
18
|
-
"name": "next"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"baseUrl": ".",
|
|
22
|
-
"paths": {
|
|
23
|
-
"@/*": ["./src/*"]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
27
|
-
"exclude": ["node_modules"]
|
|
28
|
-
}
|