@flamingo-stack/openframe-frontend-core 0.0.840 → 0.0.842

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 (67) hide show
  1. package/dist/build/route-styles.cjs +3 -1
  2. package/dist/build/style-sources.cjs +15 -2
  3. package/dist/build/style-sources.d.ts +3 -0
  4. package/dist/{case-study-card-TK7ZCNLM.cjs → case-study-card-VN3JBNF5.cjs} +3 -3
  5. package/dist/{chunk-RSJYTQEA.cjs → chunk-23DVVS4I.cjs} +104 -104
  6. package/dist/{chunk-GMK4JGC2.cjs → chunk-2HRQU4ZL.cjs} +44 -44
  7. package/dist/{chunk-HXTZZE3R.cjs → chunk-3ONBCAD2.cjs} +59 -59
  8. package/dist/{chunk-DGY5KEPY.cjs → chunk-4ASUUB3A.cjs} +83 -83
  9. package/dist/{chunk-WCOSGDGA.cjs → chunk-4R4HAFXI.cjs} +2 -2
  10. package/dist/{chunk-INBFKUZA.cjs → chunk-5CPEMPNP.cjs} +15 -15
  11. package/dist/{chunk-CCRXBFNL.cjs → chunk-6HFTSVVC.cjs} +8 -8
  12. package/dist/{chunk-FHI4I3TQ.cjs → chunk-6M764K5Z.cjs} +12 -12
  13. package/dist/{chunk-275AQ6LC.cjs → chunk-7UZYI4GV.cjs} +4 -4
  14. package/dist/{chunk-SOCCHWDK.cjs → chunk-BHOVF4KP.cjs} +2 -2
  15. package/dist/{chunk-WVNUCKB7.cjs → chunk-CNMXP77I.cjs} +4 -4
  16. package/dist/{chunk-Q6WUHYOG.cjs → chunk-CQQRGM6D.cjs} +85 -85
  17. package/dist/{chunk-TD4CC4KV.cjs → chunk-EUEPGHY4.cjs} +6 -6
  18. package/dist/{chunk-DYDQLS2R.cjs → chunk-GQJXOX5S.cjs} +213 -213
  19. package/dist/{chunk-AT6D7BAZ.cjs → chunk-IVM35OAW.cjs} +3 -3
  20. package/dist/{chunk-JM2XA7VY.cjs → chunk-IVS23CAK.cjs} +15 -15
  21. package/dist/{chunk-ZAO5SYBJ.cjs → chunk-MWQOM2EI.cjs} +4 -4
  22. package/dist/{chunk-WI7EXAZT.cjs → chunk-NMLNZCK2.cjs} +2 -2
  23. package/dist/{chunk-APNONOHY.cjs → chunk-PZNWIJRZ.cjs} +13 -10
  24. package/dist/{chunk-MYAPG3FQ.cjs → chunk-QPJUQ5YU.cjs} +21 -21
  25. package/dist/{chunk-VBH2RCFM.cjs → chunk-RAFWT3WG.cjs} +78 -78
  26. package/dist/{chunk-JUEAZCD6.cjs → chunk-RSZZTB5T.cjs} +54 -54
  27. package/dist/{chunk-7WKRMJI6.cjs → chunk-SC36S7DJ.cjs} +2 -2
  28. package/dist/{chunk-UZPYYHF5.cjs → chunk-SOTTMZ6U.cjs} +19 -19
  29. package/dist/{chunk-E7M54JWW.cjs → chunk-SSSI2RBV.cjs} +14 -14
  30. package/dist/{chunk-Z35PL3UR.cjs → chunk-WOYARKPQ.cjs} +34 -34
  31. package/dist/{chunk-EV6BPF47.cjs → chunk-WPMJUYW3.cjs} +143 -143
  32. package/dist/{chunk-FRL2ZN4O.cjs → chunk-XCVH5BCZ.cjs} +6 -6
  33. package/dist/{chunk-IELPVUPR.cjs → chunk-YNKXXDOI.cjs} +23 -23
  34. package/dist/{chunk-GUKFMMDZ.cjs → chunk-ZOWAYKDN.cjs} +3 -3
  35. package/dist/{cloud-tenants-PV63RZ73.cjs → cloud-tenants-U6Y2UZVF.cjs} +11 -11
  36. package/dist/components/case-studies/index.cjs +26 -26
  37. package/dist/components/chat/index.cjs +8 -8
  38. package/dist/components/contact/index.cjs +12 -12
  39. package/dist/components/docs/index.cjs +15 -15
  40. package/dist/components/embeds/index.cjs +12 -12
  41. package/dist/components/faq/index.cjs +13 -13
  42. package/dist/components/features/index.cjs +11 -11
  43. package/dist/components/help-center-pages/index.cjs +105 -105
  44. package/dist/components/index.cjs +65 -65
  45. package/dist/components/meeting-scheduler/index.cjs +50 -50
  46. package/dist/components/navigation/index.cjs +14 -14
  47. package/dist/components/onboarding-guides/index.cjs +14 -14
  48. package/dist/components/product-demo/index.cjs +20 -20
  49. package/dist/components/related-content/index.cjs +7 -7
  50. package/dist/components/tickets/index.cjs +18 -18
  51. package/dist/components/ui/index.cjs +11 -11
  52. package/dist/{devices-VECG5JNC.cjs → devices-HB4GEMJH.cjs} +12 -12
  53. package/dist/{embeddable-chat-VRYAQQF6.cjs → embeddable-chat-C6DUH2JL.cjs} +78 -78
  54. package/dist/hooks/index.cjs +4 -4
  55. package/dist/index.cjs +15 -15
  56. package/dist/{knowledge-YJSDJIXT.cjs → knowledge-I53Z6DV7.cjs} +12 -12
  57. package/dist/{logs-42JG3NZ5.cjs → logs-SFLAZIQG.cjs} +18 -18
  58. package/dist/platform-domains.cjs +14 -10
  59. package/dist/platform-domains.d.ts +12 -7
  60. package/dist/platform-domains.d.ts.map +1 -1
  61. package/dist/platform-domains.js +14 -10
  62. package/dist/{policies-D4QNVJ26.cjs → policies-EIAGQO6T.cjs} +15 -15
  63. package/dist/{scripts-4VFYBXBE.cjs → scripts-SNJ4UVRF.cjs} +16 -16
  64. package/dist/{software-update-OSDZQ5CP.cjs → software-update-AZFRUC5N.cjs} +14 -14
  65. package/dist/utils/index.cjs +13 -10
  66. package/package.json +1 -1
  67. package/src/platform-domains.ts +28 -20
@@ -112,7 +112,9 @@ async function stylesheetBuilder({ root, input, config }) {
112
112
  const postcss = require(require.resolve('postcss', { paths: [root, __dirname] }));
113
113
  const loadConfig = require(require.resolve('tailwindcss/loadConfig', { paths: [root, __dirname] }));
114
114
  const source = readInput(resolve(root, input), root);
115
- const appConfig = loadConfig(resolve(root, config));
115
+ const { APP_TAILWIND_CONFIG } = require('./style-sources.cjs');
116
+ const loaded = loadConfig(resolve(root, config));
117
+ const appConfig = loaded[APP_TAILWIND_CONFIG] ?? loaded;
116
118
  const minify = minifier(root);
117
119
  const from = resolve(root, input);
118
120
  return async content => {
@@ -259,6 +259,12 @@ if (require.main === module) {
259
259
  );
260
260
  }
261
261
 
262
+ /**
263
+ * The config `withRouteStylesTailwind` was given. The route step runs inside `next build`, under the same
264
+ * `NEXT_STYLES=routes`, so the config it loads is the wrapped one: the complete sheet is built from this.
265
+ */
266
+ const APP_TAILWIND_CONFIG = Symbol.for('next-styles.app-tailwind-config');
267
+
262
268
  /**
263
269
  * The Tailwind config of the stylesheet the root layout imports, for `next-styles build`: under it that sheet is
264
270
  * built with no utilities (its tokens, preflight and the app's own rules), because each route's utilities arrive
@@ -269,7 +275,14 @@ if (require.main === module) {
269
275
  */
270
276
  function withRouteStylesTailwind(config) {
271
277
  if (process.env.NEXT_STYLES !== 'routes') return config;
272
- return { ...config, content: [{ raw: '', extension: 'html' }], safelist: [] };
278
+ return { ...config, content: [{ raw: '', extension: 'html' }], safelist: [], [APP_TAILWIND_CONFIG]: config };
273
279
  }
274
280
 
275
- module.exports = { appStyleSources, routePaths, servedRouteFiles, LAZY_STYLED, withRouteStylesTailwind };
281
+ module.exports = {
282
+ appStyleSources,
283
+ routePaths,
284
+ servedRouteFiles,
285
+ LAZY_STYLED,
286
+ withRouteStylesTailwind,
287
+ APP_TAILWIND_CONFIG,
288
+ };
@@ -13,3 +13,6 @@ export function appStyleSources(options: AppStyleSourcesOptions): string[];
13
13
 
14
14
  /** The root sheet's Tailwind config: no utilities under `next-styles build` (each route brings its own). */
15
15
  export function withRouteStylesTailwind<T extends object>(config: T): T;
16
+
17
+ /** Where a config wrapped by {@link withRouteStylesTailwind} keeps the app's own (the complete sheet's). */
18
+ export const APP_TAILWIND_CONFIG: unique symbol;
@@ -2,12 +2,12 @@
2
2
  "use client";
3
3
 
4
4
 
5
- var _chunkTD4CC4KVcjs = require('./chunk-TD4CC4KV.cjs');
5
+ var _chunkEUEPGHY4cjs = require('./chunk-EUEPGHY4.cjs');
6
6
  require('./chunk-JBTH3O2C.cjs');
7
7
  require('./chunk-USUVHAQ7.cjs');
8
8
  require('./chunk-S5C3OZCO.cjs');
9
9
  require('./chunk-4IYNDV3G.cjs');
10
- require('./chunk-APNONOHY.cjs');
10
+ require('./chunk-PZNWIJRZ.cjs');
11
11
  require('./chunk-FX35L4Y6.cjs');
12
12
  require('./chunk-JQCQCE6U.cjs');
13
13
  require('./chunk-NTPX5GXI.cjs');
@@ -20,4 +20,4 @@ require('./chunk-63A4GZMB.cjs');
20
20
  require('./chunk-V45KLJQP.cjs');
21
21
 
22
22
 
23
- exports.CaseStudyCard = _chunkTD4CC4KVcjs.CaseStudyCard;
23
+ exports.CaseStudyCard = _chunkEUEPGHY4cjs.CaseStudyCard;