@berachain/config 0.1.0 → 0.1.1-5.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.
Files changed (107) hide show
  1. package/dist/bepolia.cjs +8 -1
  2. package/dist/bepolia.d.cts +25 -7
  3. package/dist/bepolia.d.ts +25 -7
  4. package/dist/bepolia.mjs +8 -1
  5. package/dist/chunk-2JZ7QJEW.cjs +84 -0
  6. package/dist/chunk-2XYRGOX3.mjs +64 -0
  7. package/dist/chunk-3K6IUX3G.mjs +25 -0
  8. package/dist/chunk-3XMRQ4AF.cjs +169 -0
  9. package/dist/chunk-6TL5ZQOM.cjs +75 -0
  10. package/dist/chunk-75ZPJI57.cjs +9 -0
  11. package/dist/chunk-7P6ASYW6.mjs +9 -0
  12. package/dist/chunk-ADH7F47T.cjs +26 -0
  13. package/dist/chunk-AMUU2OH4.cjs +158 -0
  14. package/dist/chunk-AP2XG6GJ.mjs +84 -0
  15. package/dist/chunk-BM46XQJA.mjs +55 -0
  16. package/dist/chunk-CAOMAWN5.mjs +26 -0
  17. package/dist/chunk-EYYJ2UZT.cjs +10 -0
  18. package/dist/chunk-JHPXZOPW.mjs +158 -0
  19. package/dist/chunk-JZA34W4G.cjs +138 -0
  20. package/dist/chunk-KJXYSGNH.mjs +10 -0
  21. package/dist/chunk-KYJQS3T5.mjs +138 -0
  22. package/dist/chunk-LALEUPWL.mjs +8 -0
  23. package/dist/chunk-NQ3UKQHW.mjs +75 -0
  24. package/dist/chunk-NX4FI7G3.cjs +64 -0
  25. package/dist/chunk-ONKAV4AG.cjs +25 -0
  26. package/dist/chunk-SWEAJ6OD.mjs +169 -0
  27. package/dist/chunk-WRTYGXJM.cjs +55 -0
  28. package/dist/chunk-YT7WZDGI.cjs +8 -0
  29. package/dist/index.cjs +11 -1
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.mjs +11 -1
  33. package/dist/internal/edge-config/index.cjs +37 -1
  34. package/dist/internal/edge-config/index.d.cts +1 -1
  35. package/dist/internal/edge-config/index.d.ts +1 -1
  36. package/dist/internal/edge-config/index.mjs +37 -1
  37. package/dist/internal/flags/index.cjs +206 -1
  38. package/dist/internal/flags/index.d.cts +7 -1
  39. package/dist/internal/flags/index.d.ts +7 -1
  40. package/dist/internal/flags/index.mjs +206 -1
  41. package/dist/internal/header-sources.cjs +283 -11
  42. package/dist/internal/header-sources.mjs +283 -11
  43. package/dist/internal/index.cjs +40 -1
  44. package/dist/internal/index.d.cts +105 -31
  45. package/dist/internal/index.d.ts +105 -31
  46. package/dist/internal/index.mjs +40 -1
  47. package/dist/internal/maintenance.cjs +26 -1
  48. package/dist/internal/maintenance.mjs +26 -1
  49. package/dist/internal/nextjs/index.cjs +85 -1
  50. package/dist/internal/nextjs/index.d.cts +1 -1
  51. package/dist/internal/nextjs/index.d.ts +1 -1
  52. package/dist/internal/nextjs/index.mjs +85 -1
  53. package/dist/internal/nextjs/utils/index.cjs +39 -1
  54. package/dist/internal/nextjs/utils/index.mjs +39 -1
  55. package/dist/internal/sentry/index.cjs +11 -1
  56. package/dist/internal/sentry/index.mjs +11 -1
  57. package/dist/internal/sentry/sentry.client.config.cjs +59 -1
  58. package/dist/internal/sentry/sentry.client.config.mjs +59 -1
  59. package/dist/internal/tailwind/index.cjs +239 -1
  60. package/dist/internal/tailwind/index.mjs +239 -1
  61. package/dist/internal/tsup/index.cjs +73 -1
  62. package/dist/internal/tsup/index.mjs +73 -1
  63. package/dist/internal/wagmi/index.cjs +60 -1
  64. package/dist/internal/wagmi/index.d.cts +1 -18
  65. package/dist/internal/wagmi/index.d.ts +1 -18
  66. package/dist/internal/wagmi/index.mjs +60 -1
  67. package/dist/mainnet.cjs +10 -1
  68. package/dist/mainnet.d.cts +27 -8
  69. package/dist/mainnet.d.ts +27 -8
  70. package/dist/mainnet.mjs +10 -1
  71. package/dist/sentry.edge.config-F4334LEP.cjs +24 -0
  72. package/dist/sentry.edge.config-JU55FF2U.mjs +24 -0
  73. package/dist/sentry.server.config-KFRT37Q3.cjs +24 -0
  74. package/dist/sentry.server.config-M77KFJ6J.mjs +24 -0
  75. package/dist/{types-BU1W-0Vo.d.cts → types-ClIxAUdh.d.cts} +21 -8
  76. package/dist/{types-BU1W-0Vo.d.ts → types-ClIxAUdh.d.ts} +21 -8
  77. package/package.json +38 -40
  78. package/postcss.json +6 -0
  79. package/LICENSE +0 -21
  80. package/dist/chunk-2OLL4MUY.cjs +0 -1
  81. package/dist/chunk-3KQLFIHT.cjs +0 -2
  82. package/dist/chunk-3PKORKPM.mjs +0 -1
  83. package/dist/chunk-4VDLQK6F.cjs +0 -1
  84. package/dist/chunk-DFPDQR4M.cjs +0 -1
  85. package/dist/chunk-DL645PXT.mjs +0 -1
  86. package/dist/chunk-DUO7UEQD.cjs +0 -1
  87. package/dist/chunk-DVULZ7ID.cjs +0 -1
  88. package/dist/chunk-E6JOUU2U.mjs +0 -1
  89. package/dist/chunk-FVNATITS.mjs +0 -1
  90. package/dist/chunk-H6BDBYQ5.cjs +0 -1
  91. package/dist/chunk-HLI3RPDQ.cjs +0 -1
  92. package/dist/chunk-JVJKB7V7.mjs +0 -1
  93. package/dist/chunk-JYSZ2GU3.cjs +0 -1
  94. package/dist/chunk-JZXLCA2E.mjs +0 -1
  95. package/dist/chunk-MS6UGFXI.mjs +0 -1
  96. package/dist/chunk-O243TIHY.mjs +0 -1
  97. package/dist/chunk-O5LUKC6Z.mjs +0 -1
  98. package/dist/chunk-OQFLFE3X.cjs +0 -1
  99. package/dist/chunk-S2A3Z34I.mjs +0 -2
  100. package/dist/chunk-U2GGNVRS.cjs +0 -1
  101. package/dist/chunk-UNNCJ44D.mjs +0 -1
  102. package/dist/chunk-WDALG65T.mjs +0 -1
  103. package/dist/chunk-WU7DCIYT.cjs +0 -1
  104. package/dist/sentry.edge.config-34TBZ2J6.cjs +0 -1
  105. package/dist/sentry.edge.config-3QO3DLYV.mjs +0 -1
  106. package/dist/sentry.server.config-S53O6JTA.mjs +0 -1
  107. package/dist/sentry.server.config-WQX4KCNG.cjs +0 -1
@@ -1 +1,39 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOQFLFE3Xcjs = require('../../../chunk-OQFLFE3X.cjs');require('../../../chunk-4VDLQK6F.cjs');function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of _chunkOQFLFE3Xcjs.a){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch (e2){return!1}}exports.isAllowedImageUrl = i;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk2JZ7QJEWcjs = require('../../../chunk-2JZ7QJEW.cjs');
4
+ require('../../../chunk-75ZPJI57.cjs');
5
+
6
+ // src/internal/nextjs/utils/index.ts
7
+ function globToRegExp(glob) {
8
+ let re = glob.replace(/([.+?^=!:${}()|[\]/\\])/g, "\\$1");
9
+ re = re.replace(/\*\*/g, "___DOUBLE_STAR___");
10
+ re = re.replace(/\*/g, "[^/]+");
11
+ re = re.replace(/___DOUBLE_STAR___/g, ".*");
12
+ if (!re.startsWith("^")) re = `^${re}`;
13
+ if (!re.endsWith("$")) re = `${re}$`;
14
+ return new RegExp(re);
15
+ }
16
+ var normalizeHostname = (hostname) => hostname.replace(/^https?:\/\//, "");
17
+ function isAllowedImageUrl(urlString) {
18
+ try {
19
+ if (!urlString) return false;
20
+ const url = new URL(urlString);
21
+ for (const pattern of _chunk2JZ7QJEWcjs.IMAGE_REMOTE_PATTERNS) {
22
+ if (pattern.protocol && url.protocol.replace(":", "") !== pattern.protocol)
23
+ continue;
24
+ if (normalizeHostname(url.hostname) !== normalizeHostname(pattern.hostname))
25
+ continue;
26
+ if (!pattern.pathname) return true;
27
+ const pathnameRegex = globToRegExp(pattern.pathname);
28
+ if (pathnameRegex.test(url.pathname)) {
29
+ return true;
30
+ }
31
+ }
32
+ return false;
33
+ } catch (e) {
34
+ return false;
35
+ }
36
+ }
37
+
38
+
39
+ exports.isAllowedImageUrl = isAllowedImageUrl;
@@ -1 +1,39 @@
1
- import{a as r}from"../../../chunk-JVJKB7V7.mjs";import"../../../chunk-JZXLCA2E.mjs";function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of r){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch{return!1}}export{i as isAllowedImageUrl};
1
+ import {
2
+ IMAGE_REMOTE_PATTERNS
3
+ } from "../../../chunk-AP2XG6GJ.mjs";
4
+ import "../../../chunk-7P6ASYW6.mjs";
5
+
6
+ // src/internal/nextjs/utils/index.ts
7
+ function globToRegExp(glob) {
8
+ let re = glob.replace(/([.+?^=!:${}()|[\]/\\])/g, "\\$1");
9
+ re = re.replace(/\*\*/g, "___DOUBLE_STAR___");
10
+ re = re.replace(/\*/g, "[^/]+");
11
+ re = re.replace(/___DOUBLE_STAR___/g, ".*");
12
+ if (!re.startsWith("^")) re = `^${re}`;
13
+ if (!re.endsWith("$")) re = `${re}$`;
14
+ return new RegExp(re);
15
+ }
16
+ var normalizeHostname = (hostname) => hostname.replace(/^https?:\/\//, "");
17
+ function isAllowedImageUrl(urlString) {
18
+ try {
19
+ if (!urlString) return false;
20
+ const url = new URL(urlString);
21
+ for (const pattern of IMAGE_REMOTE_PATTERNS) {
22
+ if (pattern.protocol && url.protocol.replace(":", "") !== pattern.protocol)
23
+ continue;
24
+ if (normalizeHostname(url.hostname) !== normalizeHostname(pattern.hostname))
25
+ continue;
26
+ if (!pattern.pathname) return true;
27
+ const pathnameRegex = globToRegExp(pattern.pathname);
28
+ if (pathnameRegex.test(url.pathname)) {
29
+ return true;
30
+ }
31
+ }
32
+ return false;
33
+ } catch {
34
+ return false;
35
+ }
36
+ }
37
+ export {
38
+ isAllowedImageUrl
39
+ };
@@ -1 +1,11 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWU7DCIYTcjs = require('../../chunk-WU7DCIYT.cjs');require('../../chunk-4VDLQK6F.cjs');exports.onRequestError = _chunkWU7DCIYTcjs.c; exports.registerSentry = _chunkWU7DCIYTcjs.a; exports.withSentryConfig = _chunkWU7DCIYTcjs.b;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunk6TL5ZQOMcjs = require('../../chunk-6TL5ZQOM.cjs');
6
+ require('../../chunk-75ZPJI57.cjs');
7
+
8
+
9
+
10
+
11
+ exports.onRequestError = _chunk6TL5ZQOMcjs.onRequestError; exports.registerSentry = _chunk6TL5ZQOMcjs.registerSentry; exports.withSentryConfig = _chunk6TL5ZQOMcjs.withSentryConfig;
@@ -1 +1,11 @@
1
- import{a,b,c}from"../../chunk-UNNCJ44D.mjs";import"../../chunk-JZXLCA2E.mjs";export{c as onRequestError,a as registerSentry,b as withSentryConfig};
1
+ import {
2
+ onRequestError,
3
+ registerSentry,
4
+ withSentryConfig
5
+ } from "../../chunk-NQ3UKQHW.mjs";
6
+ import "../../chunk-7P6ASYW6.mjs";
7
+ export {
8
+ onRequestError,
9
+ registerSentry,
10
+ withSentryConfig
11
+ };
@@ -1 +1,59 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkJYSZ2GU3cjs = require('../../chunk-JYSZ2GU3.cjs');require('../../chunk-DFPDQR4M.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');_chunkJYSZ2GU3cjs.d&&console.log("[@berachain/config] sentryDebug init",process.env.NEXT_PUBLIC_SENTRY_DSN);function s(o,n={}){return o.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tunnel:"/monitoring-tunnel",tracesSampleRate:_chunkJYSZ2GU3cjs.b,debug:_chunkJYSZ2GU3cjs.d,environment:_chunkJYSZ2GU3cjs.a,...n,ignoreErrors:[..._nullishCoalesce(n.ignoreErrors, () => ([])),"Cannot set property ethereum of #<Window> which has only a getter","Cannot destructure property 'register' of 'undefined' as it is undefined.","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.","The provider is disconnected from all chains."]})}exports.initSentryClient = s;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+
4
+
5
+ var _chunkONKAV4AGcjs = require('../../chunk-ONKAV4AG.cjs');
6
+ require('../../chunk-WRTYGXJM.cjs');
7
+ require('../../chunk-ADH7F47T.cjs');
8
+ require('../../chunk-EYYJ2UZT.cjs');
9
+ require('../../chunk-75ZPJI57.cjs');
10
+
11
+ // src/internal/sentry/sentry.client.config.ts
12
+ if (_chunkONKAV4AGcjs.sentryDebug) {
13
+ console.log(
14
+ "[@berachain/config] sentryDebug init",
15
+ process.env.NEXT_PUBLIC_SENTRY_DSN
16
+ );
17
+ }
18
+ function initSentryClient(Sentry, opt = {}) {
19
+ return Sentry.init({
20
+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
21
+ tunnel: "/monitoring-tunnel",
22
+ // Adjust this value in production, or use tracesSampler for greater control
23
+ tracesSampleRate: _chunkONKAV4AGcjs.tracesSampleRate,
24
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
25
+ debug: _chunkONKAV4AGcjs.sentryDebug,
26
+ environment: _chunkONKAV4AGcjs.sentryEnvironment,
27
+ ...opt,
28
+ // You can remove this option if you're not planning to use the Sentry Session Replay feature:
29
+ // integrations: [],
30
+ ignoreErrors: [
31
+ ..._nullishCoalesce(opt.ignoreErrors, () => ( [])),
32
+ // Browser extension - window global injection conflicts (ethereum, tron, solana, etc.)
33
+ /Cannot (set|assign to read only) property .+ of (object )?'?#<Window>/,
34
+ // Browser extension - proxy trap conflicts (e.g. TronLink tronlinkParams)
35
+ /'set' on proxy: trap returned falsish for property/,
36
+ // Browser extension - property descriptor redefinition
37
+ /Invalid property descriptor\. Cannot both specify accessors and a value or writable attribute/,
38
+ // Chrome extension messaging called from page context
39
+ /chrome\.runtime\.sendMessage\(\) called from a webpage/,
40
+ // Chrome extension port errors
41
+ "Could not establish connection. Receiving end does not exist.",
42
+ "Attempting to use a disconnected port object",
43
+ // WalletConnect authorization / session errors
44
+ /The source .+ has not been authorized yet/,
45
+ /No matching key\. session topic doesn't exist/,
46
+ // Wallet connection failures
47
+ /Failed to connect to MetaMask/,
48
+ "not found rainbowkit",
49
+ // WalletConnect
50
+ "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
51
+ // wagmi
52
+ "The provider is disconnected from all chains.",
53
+ "Cannot destructure property 'register' of 'undefined' as it is undefined."
54
+ ]
55
+ });
56
+ }
57
+
58
+
59
+ exports.initSentryClient = initSentryClient;
@@ -1 +1,59 @@
1
- import{a as t,b as r,d as e}from"../../chunk-DL645PXT.mjs";import"../../chunk-O5LUKC6Z.mjs";import"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";e&&console.log("[@berachain/config] sentryDebug init",process.env.NEXT_PUBLIC_SENTRY_DSN);function s(o,n={}){return o.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tunnel:"/monitoring-tunnel",tracesSampleRate:r,debug:e,environment:t,...n,ignoreErrors:[...n.ignoreErrors??[],"Cannot set property ethereum of #<Window> which has only a getter","Cannot destructure property 'register' of 'undefined' as it is undefined.","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.","The provider is disconnected from all chains."]})}export{s as initSentryClient};
1
+ import {
2
+ sentryDebug,
3
+ sentryEnvironment,
4
+ tracesSampleRate
5
+ } from "../../chunk-3K6IUX3G.mjs";
6
+ import "../../chunk-BM46XQJA.mjs";
7
+ import "../../chunk-CAOMAWN5.mjs";
8
+ import "../../chunk-KJXYSGNH.mjs";
9
+ import "../../chunk-7P6ASYW6.mjs";
10
+
11
+ // src/internal/sentry/sentry.client.config.ts
12
+ if (sentryDebug) {
13
+ console.log(
14
+ "[@berachain/config] sentryDebug init",
15
+ process.env.NEXT_PUBLIC_SENTRY_DSN
16
+ );
17
+ }
18
+ function initSentryClient(Sentry, opt = {}) {
19
+ return Sentry.init({
20
+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
21
+ tunnel: "/monitoring-tunnel",
22
+ // Adjust this value in production, or use tracesSampler for greater control
23
+ tracesSampleRate,
24
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
25
+ debug: sentryDebug,
26
+ environment: sentryEnvironment,
27
+ ...opt,
28
+ // You can remove this option if you're not planning to use the Sentry Session Replay feature:
29
+ // integrations: [],
30
+ ignoreErrors: [
31
+ ...opt.ignoreErrors ?? [],
32
+ // Browser extension - window global injection conflicts (ethereum, tron, solana, etc.)
33
+ /Cannot (set|assign to read only) property .+ of (object )?'?#<Window>/,
34
+ // Browser extension - proxy trap conflicts (e.g. TronLink tronlinkParams)
35
+ /'set' on proxy: trap returned falsish for property/,
36
+ // Browser extension - property descriptor redefinition
37
+ /Invalid property descriptor\. Cannot both specify accessors and a value or writable attribute/,
38
+ // Chrome extension messaging called from page context
39
+ /chrome\.runtime\.sendMessage\(\) called from a webpage/,
40
+ // Chrome extension port errors
41
+ "Could not establish connection. Receiving end does not exist.",
42
+ "Attempting to use a disconnected port object",
43
+ // WalletConnect authorization / session errors
44
+ /The source .+ has not been authorized yet/,
45
+ /No matching key\. session topic doesn't exist/,
46
+ // Wallet connection failures
47
+ /Failed to connect to MetaMask/,
48
+ "not found rainbowkit",
49
+ // WalletConnect
50
+ "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
51
+ // wagmi
52
+ "The provider is disconnected from all chains.",
53
+ "Cannot destructure property 'register' of 'undefined' as it is undefined."
54
+ ]
55
+ });
56
+ }
57
+ export {
58
+ initSentryClient
59
+ };
@@ -1 +1,239 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-4VDLQK6F.cjs');var _containerqueries = require('@tailwindcss/container-queries'); var _containerqueries2 = _interopRequireDefault(_containerqueries);var _typography = require('@tailwindcss/typography'); var _typography2 = _interopRequireDefault(_typography);var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);var _colors = require('tailwindcss/colors'); var _colors2 = _interopRequireDefault(_colors);var _defaultTheme = require('tailwindcss/defaultTheme');var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],md:["1rem",{lineHeight:"1.5rem",fontWeight:"600"}],sm:["0.875rem",{lineHeight:"1.5rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],lg:["1.125rem",{lineHeight:"2rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],h1:["3rem",{lineHeight:"3.5rem",fontWeight:"700",letterSpacing:"-0.125rem"}],h2:["1.875rem",{lineHeight:"2.5rem",fontWeight:"600",letterSpacing:"-0.01406rem"}],h3:["1.5rem",{lineHeight:"2rem",fontWeight:"600"}],h4:["1.25rem",{lineHeight:"1.5rem",fontWeight:"600",letterSpacing:"-0.0625rem"}],base:["0.875rem",{lineHeight:"1.25rem",fontWeight:"600"}],small:["0.75rem",{lineHeight:"1rem",fontWeight:"500"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:_colors2.default.white,black:_colors2.default.black,inherit:_colors2.default.inherit,transparent:_colors2.default.transparent,current:_colors2.default.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",..._defaultTheme.fontFamily.sans],honey:["var(--font-honey)",..._defaultTheme.fontFamily.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};var n={...a,plugins:[_tailwindcssanimate2.default,_containerqueries2.default,_typography2.default]},p= exports.default =n;exports.config = n; exports.default = p;
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;