@berachain/config 0.1.13 → 0.1.15-beta.1
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/dist/bepolia.cjs +8 -1
- package/dist/bepolia.d.cts +4 -5
- package/dist/bepolia.d.ts +4 -5
- package/dist/bepolia.mjs +8 -1
- package/dist/chunk-2JZ7QJEW.cjs +84 -0
- package/dist/chunk-2XYRGOX3.mjs +64 -0
- package/dist/chunk-3K6IUX3G.mjs +25 -0
- package/dist/chunk-3XMRQ4AF.cjs +169 -0
- package/dist/chunk-6TL5ZQOM.cjs +75 -0
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-7P6ASYW6.mjs +9 -0
- package/dist/chunk-ADH7F47T.cjs +26 -0
- package/dist/chunk-AMUU2OH4.cjs +158 -0
- package/dist/chunk-AP2XG6GJ.mjs +84 -0
- package/dist/chunk-BM46XQJA.mjs +55 -0
- package/dist/chunk-CAOMAWN5.mjs +26 -0
- package/dist/chunk-EYYJ2UZT.cjs +10 -0
- package/dist/chunk-JHPXZOPW.mjs +158 -0
- package/dist/chunk-JZA34W4G.cjs +138 -0
- package/dist/chunk-KJXYSGNH.mjs +10 -0
- package/dist/chunk-KYJQS3T5.mjs +138 -0
- package/dist/chunk-LALEUPWL.mjs +8 -0
- package/dist/chunk-NQ3UKQHW.mjs +75 -0
- package/dist/chunk-NX4FI7G3.cjs +64 -0
- package/dist/chunk-ONKAV4AG.cjs +25 -0
- package/dist/chunk-SWEAJ6OD.mjs +169 -0
- package/dist/chunk-WRTYGXJM.cjs +55 -0
- package/dist/chunk-YT7WZDGI.cjs +8 -0
- package/dist/index.cjs +11 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +11 -1
- package/dist/internal/edge-config/index.cjs +37 -1
- package/dist/internal/edge-config/index.d.cts +1 -1
- package/dist/internal/edge-config/index.d.ts +1 -1
- package/dist/internal/edge-config/index.mjs +37 -1
- package/dist/internal/flags/index.cjs +206 -1
- package/dist/internal/flags/index.d.cts +3 -1
- package/dist/internal/flags/index.d.ts +3 -1
- package/dist/internal/flags/index.mjs +206 -1
- package/dist/internal/header-sources.cjs +283 -11
- package/dist/internal/header-sources.mjs +283 -11
- package/dist/internal/index.cjs +40 -1
- package/dist/internal/index.d.cts +14 -18
- package/dist/internal/index.d.ts +14 -18
- package/dist/internal/index.mjs +40 -1
- package/dist/internal/maintenance.cjs +26 -1
- package/dist/internal/maintenance.mjs +26 -1
- package/dist/internal/nextjs/index.cjs +85 -1
- package/dist/internal/nextjs/index.d.cts +1 -1
- package/dist/internal/nextjs/index.d.ts +1 -1
- package/dist/internal/nextjs/index.mjs +85 -1
- package/dist/internal/nextjs/utils/index.cjs +39 -1
- package/dist/internal/nextjs/utils/index.mjs +39 -1
- package/dist/internal/sentry/index.cjs +11 -1
- package/dist/internal/sentry/index.mjs +11 -1
- package/dist/internal/sentry/sentry.client.config.cjs +59 -1
- package/dist/internal/sentry/sentry.client.config.mjs +59 -1
- package/dist/internal/tailwind/index.cjs +239 -1
- package/dist/internal/tailwind/index.mjs +239 -1
- package/dist/internal/tsup/index.cjs +73 -1
- package/dist/internal/tsup/index.mjs +73 -1
- package/dist/internal/wagmi/index.cjs +60 -1
- package/dist/internal/wagmi/index.mjs +60 -1
- package/dist/mainnet.cjs +10 -1
- package/dist/mainnet.d.cts +4 -5
- package/dist/mainnet.d.ts +4 -5
- package/dist/mainnet.mjs +10 -1
- package/dist/sentry.edge.config-F4334LEP.cjs +24 -0
- package/dist/sentry.edge.config-JU55FF2U.mjs +24 -0
- package/dist/sentry.server.config-KFRT37Q3.cjs +24 -0
- package/dist/sentry.server.config-M77KFJ6J.mjs +24 -0
- package/dist/{types-MT3NuQb7.d.cts → types-ClIxAUdh.d.cts} +0 -5
- package/dist/{types-MT3NuQb7.d.ts → types-ClIxAUdh.d.ts} +0 -5
- package/package.json +2 -2
- package/dist/chunk-276AZYTL.cjs +0 -1
- package/dist/chunk-2OLL4MUY.cjs +0 -1
- package/dist/chunk-3KQLFIHT.cjs +0 -2
- package/dist/chunk-3WZ7JUD6.cjs +0 -1
- package/dist/chunk-4EBBM3AH.mjs +0 -1
- package/dist/chunk-4VDLQK6F.cjs +0 -1
- package/dist/chunk-7BJPOGJ3.cjs +0 -1
- package/dist/chunk-DL645PXT.mjs +0 -1
- package/dist/chunk-DUO7UEQD.cjs +0 -1
- package/dist/chunk-DVULZ7ID.cjs +0 -1
- package/dist/chunk-FVNATITS.mjs +0 -1
- package/dist/chunk-JW76KOHH.mjs +0 -1
- package/dist/chunk-JYSZ2GU3.cjs +0 -1
- package/dist/chunk-JZXLCA2E.mjs +0 -1
- package/dist/chunk-MS6UGFXI.mjs +0 -1
- package/dist/chunk-O243TIHY.mjs +0 -1
- package/dist/chunk-S2A3Z34I.mjs +0 -2
- package/dist/chunk-SU5YRBAA.mjs +0 -1
- package/dist/chunk-TQ67UFXV.cjs +0 -1
- package/dist/chunk-VWV244JK.mjs +0 -1
- package/dist/chunk-XBV7BAIE.cjs +0 -1
- package/dist/chunk-XO2H4NRK.mjs +0 -1
- package/dist/chunk-YQK5O5ZL.cjs +0 -1
- package/dist/chunk-ZA2X4K7Z.mjs +0 -1
- package/dist/sentry.edge.config-DS2KE3CX.cjs +0 -1
- package/dist/sentry.edge.config-OEQTPQ2L.mjs +0 -1
- package/dist/sentry.server.config-KRS7OUMO.mjs +0 -1
- package/dist/sentry.server.config-RNY6FTJT.cjs +0 -1
|
@@ -1 +1,239 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-75ZPJI57.cjs');
|
|
2
|
+
|
|
3
|
+
// src/internal/tailwind/index.ts
|
|
4
|
+
var _containerqueries = require('@tailwindcss/container-queries'); var _containerqueries2 = _interopRequireDefault(_containerqueries);
|
|
5
|
+
var _typography = require('@tailwindcss/typography'); var _typography2 = _interopRequireDefault(_typography);
|
|
6
|
+
var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);
|
|
7
|
+
|
|
8
|
+
// src/internal/tailwind/config.ts
|
|
9
|
+
var _colors = require('tailwindcss/colors'); var _colors2 = _interopRequireDefault(_colors);
|
|
10
|
+
var _defaultTheme = require('tailwindcss/defaultTheme');
|
|
11
|
+
var configWithNoPlugins = {
|
|
12
|
+
darkMode: ["class"],
|
|
13
|
+
safelist: ["dark", "light"],
|
|
14
|
+
// These are relative to the project using the config
|
|
15
|
+
content: [
|
|
16
|
+
"src/**/*.{js,ts,jsx,tsx,mdx}",
|
|
17
|
+
"../../packages/ui/src/*.{ts,tsx}",
|
|
18
|
+
"../../packages/ui/src/**/*.{ts,tsx}",
|
|
19
|
+
"../../packages/shared-ui/src/*.{ts,tsx}",
|
|
20
|
+
"../../packages/shared-ui/src/**/*.{ts,tsx}"
|
|
21
|
+
],
|
|
22
|
+
theme: {
|
|
23
|
+
fontSize: {
|
|
24
|
+
xs: ["0.75rem", { lineHeight: "1rem" }],
|
|
25
|
+
md: ["1rem", { lineHeight: "1.5rem", fontWeight: "600" }],
|
|
26
|
+
sm: ["0.875rem", { lineHeight: "1.5rem" }],
|
|
27
|
+
xl: ["1.25rem", { lineHeight: "1.75rem" }],
|
|
28
|
+
lg: ["1.125rem", { lineHeight: "2rem" }],
|
|
29
|
+
"2xl": ["1.5rem", { lineHeight: "2rem" }],
|
|
30
|
+
"3xl": ["2rem", { lineHeight: "3rem" }],
|
|
31
|
+
"4xl": ["2.5rem", { lineHeight: "3rem" }],
|
|
32
|
+
"5xl": ["3rem", { lineHeight: "1" }],
|
|
33
|
+
"6xl": ["3.75rem", { lineHeight: "1" }],
|
|
34
|
+
"7xl": ["4.5rem", { lineHeight: "1" }],
|
|
35
|
+
"8xl": ["6rem", { lineHeight: "1" }],
|
|
36
|
+
"9xl": ["8rem", { lineHeight: "1" }],
|
|
37
|
+
/**
|
|
38
|
+
* Typography sizes
|
|
39
|
+
*/
|
|
40
|
+
h1: [
|
|
41
|
+
"3rem",
|
|
42
|
+
{ lineHeight: "3.5rem", fontWeight: "700", letterSpacing: "-0.125rem" }
|
|
43
|
+
],
|
|
44
|
+
h2: [
|
|
45
|
+
"1.875rem",
|
|
46
|
+
{
|
|
47
|
+
lineHeight: "2.5rem",
|
|
48
|
+
fontWeight: "600",
|
|
49
|
+
letterSpacing: "-0.01406rem"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
h3: ["1.5rem", { lineHeight: "2rem", fontWeight: "600" }],
|
|
53
|
+
h4: [
|
|
54
|
+
"1.25rem",
|
|
55
|
+
{
|
|
56
|
+
lineHeight: "1.5rem",
|
|
57
|
+
fontWeight: "600",
|
|
58
|
+
letterSpacing: "-0.0625rem"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
base: ["0.875rem", { lineHeight: "1.25rem", fontWeight: "600" }],
|
|
62
|
+
small: ["0.75rem", { lineHeight: "1rem", fontWeight: "500" }]
|
|
63
|
+
},
|
|
64
|
+
spacing: {
|
|
65
|
+
0: "0px",
|
|
66
|
+
"2xs": "0.25rem",
|
|
67
|
+
xs: "0.5rem",
|
|
68
|
+
sm: "0.75rem",
|
|
69
|
+
md: "1rem",
|
|
70
|
+
base: "1.5rem",
|
|
71
|
+
lg: "2rem",
|
|
72
|
+
xl: "2.5rem",
|
|
73
|
+
"2xl": "3rem",
|
|
74
|
+
"3xl": "3.5rem",
|
|
75
|
+
"4xl": "4rem",
|
|
76
|
+
"5xl": "6rem",
|
|
77
|
+
"6xl": "8rem"
|
|
78
|
+
},
|
|
79
|
+
borderRadius: {
|
|
80
|
+
none: "0px",
|
|
81
|
+
"2xs": "0.125rem",
|
|
82
|
+
xs: "0.25rem",
|
|
83
|
+
sm: "0.5rem",
|
|
84
|
+
md: "0.75rem",
|
|
85
|
+
lg: "1rem",
|
|
86
|
+
xl: "1.5rem",
|
|
87
|
+
"2xl": "2rem",
|
|
88
|
+
full: "9999px"
|
|
89
|
+
},
|
|
90
|
+
aspectRatio: {
|
|
91
|
+
auto: "auto",
|
|
92
|
+
square: "1 / 1",
|
|
93
|
+
video: "16 / 9",
|
|
94
|
+
1: "1",
|
|
95
|
+
2: "2",
|
|
96
|
+
3: "3",
|
|
97
|
+
4: "4",
|
|
98
|
+
5: "5",
|
|
99
|
+
6: "6",
|
|
100
|
+
7: "7",
|
|
101
|
+
8: "8",
|
|
102
|
+
9: "9",
|
|
103
|
+
10: "10",
|
|
104
|
+
11: "11",
|
|
105
|
+
12: "12",
|
|
106
|
+
13: "13",
|
|
107
|
+
14: "14",
|
|
108
|
+
15: "15",
|
|
109
|
+
16: "16"
|
|
110
|
+
},
|
|
111
|
+
container: {
|
|
112
|
+
center: true,
|
|
113
|
+
padding: {
|
|
114
|
+
DEFAULT: "1rem",
|
|
115
|
+
md: "2rem",
|
|
116
|
+
lg: "4rem"
|
|
117
|
+
},
|
|
118
|
+
screens: {
|
|
119
|
+
// xs: "360px",
|
|
120
|
+
sm: "640px",
|
|
121
|
+
md: "768px",
|
|
122
|
+
lg: "1024px",
|
|
123
|
+
xl: "1280px",
|
|
124
|
+
"2xl": "1536px"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
colors: {
|
|
128
|
+
hover: "hsl(var(--hover) / <alpha-value>)",
|
|
129
|
+
background: {
|
|
130
|
+
DEFAULT: "hsl(var(--background) / <alpha-value>)",
|
|
131
|
+
secondary: "hsl(var(--background-secondary) / <alpha-value>)"
|
|
132
|
+
},
|
|
133
|
+
foreground: "hsl(var(--foreground) / <alpha-value>)",
|
|
134
|
+
muted: {
|
|
135
|
+
DEFAULT: "hsl(var(--muted) / <alpha-value>)",
|
|
136
|
+
foreground: "hsl(var(--muted-foreground) / <alpha-value>)"
|
|
137
|
+
},
|
|
138
|
+
primary: {
|
|
139
|
+
DEFAULT: "hsl(var(--primary) / <alpha-value>)",
|
|
140
|
+
foreground: "hsl(var(--primary-foreground) / <alpha-value>)"
|
|
141
|
+
},
|
|
142
|
+
accent: {
|
|
143
|
+
DEFAULT: "hsl(var(--accent) / <alpha-value>)",
|
|
144
|
+
foreground: "hsl(var(--accent-foreground) / <alpha-value>)",
|
|
145
|
+
faucet: "#326FE5",
|
|
146
|
+
beratrail: "#96532C",
|
|
147
|
+
berps: "#41D6E0",
|
|
148
|
+
bend: "#8C7FEB",
|
|
149
|
+
honey: "#EC8A19",
|
|
150
|
+
hub: "#FEDB71"
|
|
151
|
+
},
|
|
152
|
+
border: {
|
|
153
|
+
DEFAULT: "hsl(var(--border) / <alpha-value>)",
|
|
154
|
+
hover: "hsl(var(--border-hover) / <alpha-value>)"
|
|
155
|
+
},
|
|
156
|
+
input: "hsl(var(--input) / <alpha-value>)",
|
|
157
|
+
destructive: {
|
|
158
|
+
DEFAULT: "hsl(var(--destructive) / <alpha-value>)",
|
|
159
|
+
foreground: "hsl(var(--destructive-foreground) / <alpha-value>)"
|
|
160
|
+
},
|
|
161
|
+
warning: {
|
|
162
|
+
DEFAULT: "hsl(var(--warning) / <alpha-value>)",
|
|
163
|
+
foreground: "hsl(var(--warning-foreground) / <alpha-value>)"
|
|
164
|
+
},
|
|
165
|
+
info: {
|
|
166
|
+
DEFAULT: "hsl(var(--info) / <alpha-value>)",
|
|
167
|
+
foreground: "hsl(var(--info-foreground) / <alpha-value>)"
|
|
168
|
+
},
|
|
169
|
+
success: {
|
|
170
|
+
DEFAULT: "hsl(var(--success) / <alpha-value>)",
|
|
171
|
+
foreground: "hsl(var(--success-foreground) / <alpha-value>)"
|
|
172
|
+
},
|
|
173
|
+
ring: "hsl(var(--ring) / <alpha-value>)",
|
|
174
|
+
white: _colors2.default.white,
|
|
175
|
+
black: _colors2.default.black,
|
|
176
|
+
inherit: _colors2.default.inherit,
|
|
177
|
+
transparent: _colors2.default.transparent,
|
|
178
|
+
current: _colors2.default.current
|
|
179
|
+
},
|
|
180
|
+
extend: {
|
|
181
|
+
letterSpacing: {
|
|
182
|
+
tight1: "-0.03125rem",
|
|
183
|
+
tight2: "-0.0625rem"
|
|
184
|
+
},
|
|
185
|
+
minHeight: {
|
|
186
|
+
minimum: "calc(100vh - 191px)",
|
|
187
|
+
"screen-250": "calc(100vh - 214px)"
|
|
188
|
+
},
|
|
189
|
+
maxWidth: {
|
|
190
|
+
"1280": "1280px"
|
|
191
|
+
},
|
|
192
|
+
borderColor: {
|
|
193
|
+
DEFAULT: "hsl(var(--border) / <alpha-value>)"
|
|
194
|
+
},
|
|
195
|
+
padding: {
|
|
196
|
+
start: "106px",
|
|
197
|
+
"start-lg": "154px"
|
|
198
|
+
},
|
|
199
|
+
fontFamily: {
|
|
200
|
+
sans: ["var(--font-sans)", ..._defaultTheme.fontFamily.sans],
|
|
201
|
+
honey: ["var(--font-honey)", ..._defaultTheme.fontFamily.sans]
|
|
202
|
+
},
|
|
203
|
+
keyframes: {
|
|
204
|
+
"fade-in": {
|
|
205
|
+
from: {
|
|
206
|
+
opacity: "0"
|
|
207
|
+
},
|
|
208
|
+
to: {
|
|
209
|
+
opacity: "1"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"accordion-down": {
|
|
213
|
+
from: { height: "0" },
|
|
214
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
215
|
+
},
|
|
216
|
+
"accordion-up": {
|
|
217
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
218
|
+
to: { height: "0" }
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
animation: {
|
|
222
|
+
"fade-in": "fade-in 0.5s linear forwards",
|
|
223
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
224
|
+
"accordion-up": "accordion-up 0.2s ease-out"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
// src/internal/tailwind/index.ts
|
|
231
|
+
var config = {
|
|
232
|
+
...configWithNoPlugins,
|
|
233
|
+
plugins: [_tailwindcssanimate2.default, _containerqueries2.default, _typography2.default]
|
|
234
|
+
};
|
|
235
|
+
var tailwind_default = config;
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
exports.config = config; exports.default = tailwind_default;
|
|
@@ -1 +1,239 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import "../../chunk-7P6ASYW6.mjs";
|
|
2
|
+
|
|
3
|
+
// src/internal/tailwind/index.ts
|
|
4
|
+
import containerQueries from "@tailwindcss/container-queries";
|
|
5
|
+
import typography from "@tailwindcss/typography";
|
|
6
|
+
import animate from "tailwindcss-animate";
|
|
7
|
+
|
|
8
|
+
// src/internal/tailwind/config.ts
|
|
9
|
+
import colors from "tailwindcss/colors";
|
|
10
|
+
import { fontFamily } from "tailwindcss/defaultTheme";
|
|
11
|
+
var configWithNoPlugins = {
|
|
12
|
+
darkMode: ["class"],
|
|
13
|
+
safelist: ["dark", "light"],
|
|
14
|
+
// These are relative to the project using the config
|
|
15
|
+
content: [
|
|
16
|
+
"src/**/*.{js,ts,jsx,tsx,mdx}",
|
|
17
|
+
"../../packages/ui/src/*.{ts,tsx}",
|
|
18
|
+
"../../packages/ui/src/**/*.{ts,tsx}",
|
|
19
|
+
"../../packages/shared-ui/src/*.{ts,tsx}",
|
|
20
|
+
"../../packages/shared-ui/src/**/*.{ts,tsx}"
|
|
21
|
+
],
|
|
22
|
+
theme: {
|
|
23
|
+
fontSize: {
|
|
24
|
+
xs: ["0.75rem", { lineHeight: "1rem" }],
|
|
25
|
+
md: ["1rem", { lineHeight: "1.5rem", fontWeight: "600" }],
|
|
26
|
+
sm: ["0.875rem", { lineHeight: "1.5rem" }],
|
|
27
|
+
xl: ["1.25rem", { lineHeight: "1.75rem" }],
|
|
28
|
+
lg: ["1.125rem", { lineHeight: "2rem" }],
|
|
29
|
+
"2xl": ["1.5rem", { lineHeight: "2rem" }],
|
|
30
|
+
"3xl": ["2rem", { lineHeight: "3rem" }],
|
|
31
|
+
"4xl": ["2.5rem", { lineHeight: "3rem" }],
|
|
32
|
+
"5xl": ["3rem", { lineHeight: "1" }],
|
|
33
|
+
"6xl": ["3.75rem", { lineHeight: "1" }],
|
|
34
|
+
"7xl": ["4.5rem", { lineHeight: "1" }],
|
|
35
|
+
"8xl": ["6rem", { lineHeight: "1" }],
|
|
36
|
+
"9xl": ["8rem", { lineHeight: "1" }],
|
|
37
|
+
/**
|
|
38
|
+
* Typography sizes
|
|
39
|
+
*/
|
|
40
|
+
h1: [
|
|
41
|
+
"3rem",
|
|
42
|
+
{ lineHeight: "3.5rem", fontWeight: "700", letterSpacing: "-0.125rem" }
|
|
43
|
+
],
|
|
44
|
+
h2: [
|
|
45
|
+
"1.875rem",
|
|
46
|
+
{
|
|
47
|
+
lineHeight: "2.5rem",
|
|
48
|
+
fontWeight: "600",
|
|
49
|
+
letterSpacing: "-0.01406rem"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
h3: ["1.5rem", { lineHeight: "2rem", fontWeight: "600" }],
|
|
53
|
+
h4: [
|
|
54
|
+
"1.25rem",
|
|
55
|
+
{
|
|
56
|
+
lineHeight: "1.5rem",
|
|
57
|
+
fontWeight: "600",
|
|
58
|
+
letterSpacing: "-0.0625rem"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
base: ["0.875rem", { lineHeight: "1.25rem", fontWeight: "600" }],
|
|
62
|
+
small: ["0.75rem", { lineHeight: "1rem", fontWeight: "500" }]
|
|
63
|
+
},
|
|
64
|
+
spacing: {
|
|
65
|
+
0: "0px",
|
|
66
|
+
"2xs": "0.25rem",
|
|
67
|
+
xs: "0.5rem",
|
|
68
|
+
sm: "0.75rem",
|
|
69
|
+
md: "1rem",
|
|
70
|
+
base: "1.5rem",
|
|
71
|
+
lg: "2rem",
|
|
72
|
+
xl: "2.5rem",
|
|
73
|
+
"2xl": "3rem",
|
|
74
|
+
"3xl": "3.5rem",
|
|
75
|
+
"4xl": "4rem",
|
|
76
|
+
"5xl": "6rem",
|
|
77
|
+
"6xl": "8rem"
|
|
78
|
+
},
|
|
79
|
+
borderRadius: {
|
|
80
|
+
none: "0px",
|
|
81
|
+
"2xs": "0.125rem",
|
|
82
|
+
xs: "0.25rem",
|
|
83
|
+
sm: "0.5rem",
|
|
84
|
+
md: "0.75rem",
|
|
85
|
+
lg: "1rem",
|
|
86
|
+
xl: "1.5rem",
|
|
87
|
+
"2xl": "2rem",
|
|
88
|
+
full: "9999px"
|
|
89
|
+
},
|
|
90
|
+
aspectRatio: {
|
|
91
|
+
auto: "auto",
|
|
92
|
+
square: "1 / 1",
|
|
93
|
+
video: "16 / 9",
|
|
94
|
+
1: "1",
|
|
95
|
+
2: "2",
|
|
96
|
+
3: "3",
|
|
97
|
+
4: "4",
|
|
98
|
+
5: "5",
|
|
99
|
+
6: "6",
|
|
100
|
+
7: "7",
|
|
101
|
+
8: "8",
|
|
102
|
+
9: "9",
|
|
103
|
+
10: "10",
|
|
104
|
+
11: "11",
|
|
105
|
+
12: "12",
|
|
106
|
+
13: "13",
|
|
107
|
+
14: "14",
|
|
108
|
+
15: "15",
|
|
109
|
+
16: "16"
|
|
110
|
+
},
|
|
111
|
+
container: {
|
|
112
|
+
center: true,
|
|
113
|
+
padding: {
|
|
114
|
+
DEFAULT: "1rem",
|
|
115
|
+
md: "2rem",
|
|
116
|
+
lg: "4rem"
|
|
117
|
+
},
|
|
118
|
+
screens: {
|
|
119
|
+
// xs: "360px",
|
|
120
|
+
sm: "640px",
|
|
121
|
+
md: "768px",
|
|
122
|
+
lg: "1024px",
|
|
123
|
+
xl: "1280px",
|
|
124
|
+
"2xl": "1536px"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
colors: {
|
|
128
|
+
hover: "hsl(var(--hover) / <alpha-value>)",
|
|
129
|
+
background: {
|
|
130
|
+
DEFAULT: "hsl(var(--background) / <alpha-value>)",
|
|
131
|
+
secondary: "hsl(var(--background-secondary) / <alpha-value>)"
|
|
132
|
+
},
|
|
133
|
+
foreground: "hsl(var(--foreground) / <alpha-value>)",
|
|
134
|
+
muted: {
|
|
135
|
+
DEFAULT: "hsl(var(--muted) / <alpha-value>)",
|
|
136
|
+
foreground: "hsl(var(--muted-foreground) / <alpha-value>)"
|
|
137
|
+
},
|
|
138
|
+
primary: {
|
|
139
|
+
DEFAULT: "hsl(var(--primary) / <alpha-value>)",
|
|
140
|
+
foreground: "hsl(var(--primary-foreground) / <alpha-value>)"
|
|
141
|
+
},
|
|
142
|
+
accent: {
|
|
143
|
+
DEFAULT: "hsl(var(--accent) / <alpha-value>)",
|
|
144
|
+
foreground: "hsl(var(--accent-foreground) / <alpha-value>)",
|
|
145
|
+
faucet: "#326FE5",
|
|
146
|
+
beratrail: "#96532C",
|
|
147
|
+
berps: "#41D6E0",
|
|
148
|
+
bend: "#8C7FEB",
|
|
149
|
+
honey: "#EC8A19",
|
|
150
|
+
hub: "#FEDB71"
|
|
151
|
+
},
|
|
152
|
+
border: {
|
|
153
|
+
DEFAULT: "hsl(var(--border) / <alpha-value>)",
|
|
154
|
+
hover: "hsl(var(--border-hover) / <alpha-value>)"
|
|
155
|
+
},
|
|
156
|
+
input: "hsl(var(--input) / <alpha-value>)",
|
|
157
|
+
destructive: {
|
|
158
|
+
DEFAULT: "hsl(var(--destructive) / <alpha-value>)",
|
|
159
|
+
foreground: "hsl(var(--destructive-foreground) / <alpha-value>)"
|
|
160
|
+
},
|
|
161
|
+
warning: {
|
|
162
|
+
DEFAULT: "hsl(var(--warning) / <alpha-value>)",
|
|
163
|
+
foreground: "hsl(var(--warning-foreground) / <alpha-value>)"
|
|
164
|
+
},
|
|
165
|
+
info: {
|
|
166
|
+
DEFAULT: "hsl(var(--info) / <alpha-value>)",
|
|
167
|
+
foreground: "hsl(var(--info-foreground) / <alpha-value>)"
|
|
168
|
+
},
|
|
169
|
+
success: {
|
|
170
|
+
DEFAULT: "hsl(var(--success) / <alpha-value>)",
|
|
171
|
+
foreground: "hsl(var(--success-foreground) / <alpha-value>)"
|
|
172
|
+
},
|
|
173
|
+
ring: "hsl(var(--ring) / <alpha-value>)",
|
|
174
|
+
white: colors.white,
|
|
175
|
+
black: colors.black,
|
|
176
|
+
inherit: colors.inherit,
|
|
177
|
+
transparent: colors.transparent,
|
|
178
|
+
current: colors.current
|
|
179
|
+
},
|
|
180
|
+
extend: {
|
|
181
|
+
letterSpacing: {
|
|
182
|
+
tight1: "-0.03125rem",
|
|
183
|
+
tight2: "-0.0625rem"
|
|
184
|
+
},
|
|
185
|
+
minHeight: {
|
|
186
|
+
minimum: "calc(100vh - 191px)",
|
|
187
|
+
"screen-250": "calc(100vh - 214px)"
|
|
188
|
+
},
|
|
189
|
+
maxWidth: {
|
|
190
|
+
"1280": "1280px"
|
|
191
|
+
},
|
|
192
|
+
borderColor: {
|
|
193
|
+
DEFAULT: "hsl(var(--border) / <alpha-value>)"
|
|
194
|
+
},
|
|
195
|
+
padding: {
|
|
196
|
+
start: "106px",
|
|
197
|
+
"start-lg": "154px"
|
|
198
|
+
},
|
|
199
|
+
fontFamily: {
|
|
200
|
+
sans: ["var(--font-sans)", ...fontFamily.sans],
|
|
201
|
+
honey: ["var(--font-honey)", ...fontFamily.sans]
|
|
202
|
+
},
|
|
203
|
+
keyframes: {
|
|
204
|
+
"fade-in": {
|
|
205
|
+
from: {
|
|
206
|
+
opacity: "0"
|
|
207
|
+
},
|
|
208
|
+
to: {
|
|
209
|
+
opacity: "1"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"accordion-down": {
|
|
213
|
+
from: { height: "0" },
|
|
214
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
215
|
+
},
|
|
216
|
+
"accordion-up": {
|
|
217
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
218
|
+
to: { height: "0" }
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
animation: {
|
|
222
|
+
"fade-in": "fade-in 0.5s linear forwards",
|
|
223
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
224
|
+
"accordion-up": "accordion-up 0.2s ease-out"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
// src/internal/tailwind/index.ts
|
|
231
|
+
var config = {
|
|
232
|
+
...configWithNoPlugins,
|
|
233
|
+
plugins: [animate, containerQueries, typography]
|
|
234
|
+
};
|
|
235
|
+
var tailwind_default = config;
|
|
236
|
+
export {
|
|
237
|
+
config,
|
|
238
|
+
tailwind_default as default
|
|
239
|
+
};
|
|
@@ -1 +1,73 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('../../chunk-75ZPJI57.cjs');
|
|
2
|
+
|
|
3
|
+
// src/internal/tsup/index.ts
|
|
4
|
+
var _child_process = require('child_process');
|
|
5
|
+
var _tsup = require('tsup');
|
|
6
|
+
function applyDefaultConfig(userConfig, opts) {
|
|
7
|
+
if (Array.isArray(userConfig)) {
|
|
8
|
+
return userConfig.map((c) => applyDefaultConfig(c, opts));
|
|
9
|
+
}
|
|
10
|
+
const isPrepublish = process.argv.includes("--prepublish");
|
|
11
|
+
const sourcemap = process.argv.includes("--sourcemap");
|
|
12
|
+
const hasCjs = isPrepublish || process.argv.includes("--cjs");
|
|
13
|
+
const hasEsm = isPrepublish || !hasCjs || process.argv.includes("--esm");
|
|
14
|
+
const format = [];
|
|
15
|
+
if (hasEsm) {
|
|
16
|
+
format.push("esm");
|
|
17
|
+
}
|
|
18
|
+
if (hasCjs) {
|
|
19
|
+
format.push("cjs");
|
|
20
|
+
}
|
|
21
|
+
const minify = isPrepublish || process.argv.includes("--minify");
|
|
22
|
+
const isDeclarationOnly = typeof opts.dts === "object" && opts.dts.only;
|
|
23
|
+
const defaultConfig = {
|
|
24
|
+
format,
|
|
25
|
+
clean: !opts.watch && // if we're only running check-types, we won't clean dist so that running processes are not interrupted
|
|
26
|
+
!isDeclarationOnly,
|
|
27
|
+
splitting: true,
|
|
28
|
+
outExtension({ format: format2 }) {
|
|
29
|
+
return { js: format2 === "esm" ? ".mjs" : ".cjs" };
|
|
30
|
+
},
|
|
31
|
+
outDir: "dist",
|
|
32
|
+
skipNodeModulesBundle: true,
|
|
33
|
+
noExternal: ["@berachain/utils"],
|
|
34
|
+
minify,
|
|
35
|
+
// Whether to minify the output
|
|
36
|
+
sourcemap: process.env.UPLOAD_SOURCEMAPS === "true" || sourcemap,
|
|
37
|
+
// Whether to generate sourcemaps
|
|
38
|
+
// Whether to generate TypeScript declaration files.
|
|
39
|
+
// Be careful and add this to turbo.json or some builds might fail when using turbo remote cache
|
|
40
|
+
dts: process.env.VERCEL !== "1",
|
|
41
|
+
async onSuccess() {
|
|
42
|
+
_child_process.execSync.call(void 0,
|
|
43
|
+
`find dist -name "*.cjs" -exec perl -pi -e 's/return await /return await /g' {} +`
|
|
44
|
+
);
|
|
45
|
+
},
|
|
46
|
+
esbuildOptions: (esbuildOptions, o) => {
|
|
47
|
+
esbuildOptions.jsx = "automatic";
|
|
48
|
+
esbuildOptions.sourceRoot = "";
|
|
49
|
+
_optionalChain([userConfig, 'access', _ => _.esbuildOptions, 'optionalCall', _2 => _2(esbuildOptions, o)]);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
return {
|
|
53
|
+
...defaultConfig,
|
|
54
|
+
...userConfig
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
var beraTsupConfig = (config) => {
|
|
58
|
+
return _tsup.defineConfig.call(void 0, async (opts) => {
|
|
59
|
+
let userConfig;
|
|
60
|
+
if (typeof config === "function") {
|
|
61
|
+
userConfig = await config(opts);
|
|
62
|
+
} else {
|
|
63
|
+
userConfig = config;
|
|
64
|
+
}
|
|
65
|
+
if (Array.isArray(userConfig)) {
|
|
66
|
+
return userConfig.map((c) => applyDefaultConfig(c, opts));
|
|
67
|
+
}
|
|
68
|
+
return applyDefaultConfig(userConfig, opts);
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
exports.beraTsupConfig = beraTsupConfig;
|
|
@@ -1 +1,73 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import "../../chunk-7P6ASYW6.mjs";
|
|
2
|
+
|
|
3
|
+
// src/internal/tsup/index.ts
|
|
4
|
+
import { execSync } from "child_process";
|
|
5
|
+
import { defineConfig } from "tsup";
|
|
6
|
+
function applyDefaultConfig(userConfig, opts) {
|
|
7
|
+
if (Array.isArray(userConfig)) {
|
|
8
|
+
return userConfig.map((c) => applyDefaultConfig(c, opts));
|
|
9
|
+
}
|
|
10
|
+
const isPrepublish = process.argv.includes("--prepublish");
|
|
11
|
+
const sourcemap = process.argv.includes("--sourcemap");
|
|
12
|
+
const hasCjs = isPrepublish || process.argv.includes("--cjs");
|
|
13
|
+
const hasEsm = isPrepublish || !hasCjs || process.argv.includes("--esm");
|
|
14
|
+
const format = [];
|
|
15
|
+
if (hasEsm) {
|
|
16
|
+
format.push("esm");
|
|
17
|
+
}
|
|
18
|
+
if (hasCjs) {
|
|
19
|
+
format.push("cjs");
|
|
20
|
+
}
|
|
21
|
+
const minify = isPrepublish || process.argv.includes("--minify");
|
|
22
|
+
const isDeclarationOnly = typeof opts.dts === "object" && opts.dts.only;
|
|
23
|
+
const defaultConfig = {
|
|
24
|
+
format,
|
|
25
|
+
clean: !opts.watch && // if we're only running check-types, we won't clean dist so that running processes are not interrupted
|
|
26
|
+
!isDeclarationOnly,
|
|
27
|
+
splitting: true,
|
|
28
|
+
outExtension({ format: format2 }) {
|
|
29
|
+
return { js: format2 === "esm" ? ".mjs" : ".cjs" };
|
|
30
|
+
},
|
|
31
|
+
outDir: "dist",
|
|
32
|
+
skipNodeModulesBundle: true,
|
|
33
|
+
noExternal: ["@berachain/utils"],
|
|
34
|
+
minify,
|
|
35
|
+
// Whether to minify the output
|
|
36
|
+
sourcemap: process.env.UPLOAD_SOURCEMAPS === "true" || sourcemap,
|
|
37
|
+
// Whether to generate sourcemaps
|
|
38
|
+
// Whether to generate TypeScript declaration files.
|
|
39
|
+
// Be careful and add this to turbo.json or some builds might fail when using turbo remote cache
|
|
40
|
+
dts: process.env.VERCEL !== "1",
|
|
41
|
+
async onSuccess() {
|
|
42
|
+
execSync(
|
|
43
|
+
`find dist -name "*.cjs" -exec perl -pi -e 's/returnawait /return await /g' {} +`
|
|
44
|
+
);
|
|
45
|
+
},
|
|
46
|
+
esbuildOptions: (esbuildOptions, o) => {
|
|
47
|
+
esbuildOptions.jsx = "automatic";
|
|
48
|
+
esbuildOptions.sourceRoot = "";
|
|
49
|
+
userConfig.esbuildOptions?.(esbuildOptions, o);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
return {
|
|
53
|
+
...defaultConfig,
|
|
54
|
+
...userConfig
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
var beraTsupConfig = (config) => {
|
|
58
|
+
return defineConfig(async (opts) => {
|
|
59
|
+
let userConfig;
|
|
60
|
+
if (typeof config === "function") {
|
|
61
|
+
userConfig = await config(opts);
|
|
62
|
+
} else {
|
|
63
|
+
userConfig = config;
|
|
64
|
+
}
|
|
65
|
+
if (Array.isArray(userConfig)) {
|
|
66
|
+
return userConfig.map((c) => applyDefaultConfig(c, opts));
|
|
67
|
+
}
|
|
68
|
+
return applyDefaultConfig(userConfig, opts);
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
beraTsupConfig
|
|
73
|
+
};
|