@ardly/bunext 1.0.5 → 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.
Files changed (120) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +33 -16
  3. package/cli.mjs +126 -0
  4. package/package.json +14 -58
  5. package/.eslintrc.json +0 -8
  6. package/.prettierignore +0 -4
  7. package/STRUCTURE.md +0 -77
  8. package/bin/cli.mjs +0 -133
  9. package/bin/utils.mjs +0 -32
  10. package/components.json +0 -21
  11. package/next.config.ts +0 -22
  12. package/postcss.config.mjs +0 -8
  13. package/prettier.config.js +0 -7
  14. package/public/android-chrome-192x192.png +0 -0
  15. package/public/android-chrome-512x512.png +0 -0
  16. package/public/favicon.svg +0 -1
  17. package/public/loading-dots.gif +0 -0
  18. package/public/logo.svg +0 -1
  19. package/public/ogImage.webp +0 -0
  20. package/public/site.webmanifest +0 -19
  21. package/src/actions/placeholder.ts +0 -30
  22. package/src/actions/sampleAction.ts +0 -39
  23. package/src/app/(index)/intr/TestCard.tsx +0 -31
  24. package/src/app/(index)/intr/page.tsx +0 -17
  25. package/src/app/(index)/page.tsx +0 -156
  26. package/src/app/(index)/pagetr/page.tsx +0 -37
  27. package/src/app/error-wrapper.tsx +0 -32
  28. package/src/app/global-error.tsx +0 -53
  29. package/src/app/layout.tsx +0 -56
  30. package/src/app/loading.tsx +0 -11
  31. package/src/app/not-found.tsx +0 -45
  32. package/src/app/sitemap.ts +0 -14
  33. package/src/components/Providers/root-provider.tsx +0 -22
  34. package/src/components/Providers/theme-provider.tsx +0 -27
  35. package/src/components/TestComp.tsx +0 -11
  36. package/src/components/brand.tsx +0 -35
  37. package/src/components/navigation/footer.tsx +0 -32
  38. package/src/components/navigation/main-nav.tsx +0 -55
  39. package/src/components/navigation/mobile-nav.tsx +0 -154
  40. package/src/components/navigation/site-header.tsx +0 -67
  41. package/src/components/ui/avatar.tsx +0 -50
  42. package/src/components/ui/badge.tsx +0 -36
  43. package/src/components/ui/button.tsx +0 -56
  44. package/src/components/ui/card.tsx +0 -79
  45. package/src/components/ui/command.tsx +0 -153
  46. package/src/components/ui/dialog.tsx +0 -122
  47. package/src/components/ui/drawer.tsx +0 -118
  48. package/src/components/ui/dropdown-menu.tsx +0 -200
  49. package/src/components/ui/input.tsx +0 -22
  50. package/src/components/ui/label.tsx +0 -26
  51. package/src/components/ui/multi-select.tsx +0 -380
  52. package/src/components/ui/origin/multiselect.tsx +0 -645
  53. package/src/components/ui/popover.tsx +0 -31
  54. package/src/components/ui/radio-group.tsx +0 -44
  55. package/src/components/ui/separator.tsx +0 -31
  56. package/src/components/ui/skeleton.tsx +0 -15
  57. package/src/components/ui/themeSelector.tsx +0 -157
  58. package/src/components/ui/toast.tsx +0 -129
  59. package/src/components/ui/toaster.tsx +0 -31
  60. package/src/components/ui/tooltip.tsx +0 -39
  61. package/src/components/utils/ConditionalLink.tsx +0 -46
  62. package/src/components/utils/Image.tsx +0 -57
  63. package/src/components/utils/Img.tsx +0 -104
  64. package/src/components/utils/Spinner.tsx +0 -29
  65. package/src/components/utils/TopButton.tsx +0 -67
  66. package/src/components/utils/TransitionLink.tsx +0 -67
  67. package/src/components/utils/copy.tsx +0 -98
  68. package/src/components/utils/featureFlag.tsx +0 -22
  69. package/src/components/utils/icons.tsx +0 -155
  70. package/src/components/utils/share-modal.tsx +0 -159
  71. package/src/hooks/use-intersection.ts +0 -52
  72. package/src/hooks/use-lazy-load.ts +0 -33
  73. package/src/hooks/use-meta-color.ts +0 -25
  74. package/src/hooks/use-toast.ts +0 -191
  75. package/src/lib/config/featureflags.ts +0 -63
  76. package/src/lib/config/siteConfig.ts +0 -172
  77. package/src/lib/config/user.ts +0 -9
  78. package/src/lib/data/footer-data.ts +0 -85
  79. package/src/lib/data/nav-data.ts +0 -30
  80. package/src/lib/data/siteData.ts +0 -52
  81. package/src/lib/utils/index.ts +0 -190
  82. package/src/styles/customGlobal.css +0 -141
  83. package/src/styles/globals.css +0 -72
  84. package/src/styles/tailwind/base.ts +0 -46
  85. package/src/styles/tailwind/fonts/ClashDisplay-Bold.eot +0 -0
  86. package/src/styles/tailwind/fonts/ClashDisplay-Bold.ttf +0 -0
  87. package/src/styles/tailwind/fonts/ClashDisplay-Bold.woff +0 -0
  88. package/src/styles/tailwind/fonts/ClashDisplay-Bold.woff2 +0 -0
  89. package/src/styles/tailwind/fonts/ClashDisplay-Extralight.eot +0 -0
  90. package/src/styles/tailwind/fonts/ClashDisplay-Extralight.ttf +0 -0
  91. package/src/styles/tailwind/fonts/ClashDisplay-Extralight.woff +0 -0
  92. package/src/styles/tailwind/fonts/ClashDisplay-Extralight.woff2 +0 -0
  93. package/src/styles/tailwind/fonts/ClashDisplay-Light.eot +0 -0
  94. package/src/styles/tailwind/fonts/ClashDisplay-Light.ttf +0 -0
  95. package/src/styles/tailwind/fonts/ClashDisplay-Light.woff +0 -0
  96. package/src/styles/tailwind/fonts/ClashDisplay-Light.woff2 +0 -0
  97. package/src/styles/tailwind/fonts/ClashDisplay-Medium.eot +0 -0
  98. package/src/styles/tailwind/fonts/ClashDisplay-Medium.ttf +0 -0
  99. package/src/styles/tailwind/fonts/ClashDisplay-Medium.woff +0 -0
  100. package/src/styles/tailwind/fonts/ClashDisplay-Medium.woff2 +0 -0
  101. package/src/styles/tailwind/fonts/ClashDisplay-Regular.eot +0 -0
  102. package/src/styles/tailwind/fonts/ClashDisplay-Regular.ttf +0 -0
  103. package/src/styles/tailwind/fonts/ClashDisplay-Regular.woff +0 -0
  104. package/src/styles/tailwind/fonts/ClashDisplay-Regular.woff2 +0 -0
  105. package/src/styles/tailwind/fonts/ClashDisplay-Semibold.eot +0 -0
  106. package/src/styles/tailwind/fonts/ClashDisplay-Semibold.ttf +0 -0
  107. package/src/styles/tailwind/fonts/ClashDisplay-Semibold.woff +0 -0
  108. package/src/styles/tailwind/fonts/ClashDisplay-Semibold.woff2 +0 -0
  109. package/src/styles/tailwind/fonts/ClashDisplay-Variable.eot +0 -0
  110. package/src/styles/tailwind/fonts/ClashDisplay-Variable.ttf +0 -0
  111. package/src/styles/tailwind/fonts/ClashDisplay-Variable.woff +0 -0
  112. package/src/styles/tailwind/fonts/ClashDisplay-Variable.woff2 +0 -0
  113. package/src/styles/tailwind/fonts/GeistMonoVF.woff +0 -0
  114. package/src/styles/tailwind/fonts/GeistVF.woff +0 -0
  115. package/src/styles/tailwind/fonts.ts +0 -51
  116. package/src/styles/tailwind/tailwindUtils.ts +0 -29
  117. package/src/types/index.ts +0 -80
  118. package/tailwind.config.ts +0 -104
  119. package/tsconfig.json +0 -28
  120. package/vercel.json +0 -6
@@ -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
- }
package/vercel.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "installCommand": "bun install",
3
- "buildCommand": "bun run build",
4
- "framework": "nextjs",
5
- "redirects": [{ "source": "/home", "destination": "/" }]
6
- }