@mieweb/ui 0.10.0-dev.24 → 0.10.0-dev.26

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 (147) hide show
  1. package/dist/brands/bluehive.cjs +3 -3
  2. package/dist/brands/bluehive.css +3 -0
  3. package/dist/brands/bluehive.js +1 -1
  4. package/dist/brands/index.cjs +9 -9
  5. package/dist/brands/index.js +3 -3
  6. package/dist/{chunk-YQDA366U.js → chunk-33DEVA3P.js} +2 -2
  7. package/dist/{chunk-YQDA366U.js.map → chunk-33DEVA3P.js.map} +1 -1
  8. package/dist/{chunk-WNJRS7Y7.cjs → chunk-3ZWCIPFT.cjs} +4 -2
  9. package/dist/chunk-3ZWCIPFT.cjs.map +1 -0
  10. package/dist/{chunk-J5CSLNCN.cjs → chunk-6VFDHJSO.cjs} +2 -2
  11. package/dist/{chunk-J5CSLNCN.cjs.map → chunk-6VFDHJSO.cjs.map} +1 -1
  12. package/dist/{chunk-ZTW4KODY.js → chunk-6ZPTZTKN.js} +3 -3
  13. package/dist/{chunk-ZTW4KODY.js.map → chunk-6ZPTZTKN.js.map} +1 -1
  14. package/dist/{chunk-SQ2D7AON.cjs → chunk-AAYXCZMV.cjs} +6 -6
  15. package/dist/{chunk-SQ2D7AON.cjs.map → chunk-AAYXCZMV.cjs.map} +1 -1
  16. package/dist/{chunk-WCDJFMZO.cjs → chunk-ADW7ZYCY.cjs} +1235 -495
  17. package/dist/chunk-ADW7ZYCY.cjs.map +1 -0
  18. package/dist/{chunk-2G75X6TS.cjs → chunk-AHHFFXJR.cjs} +3 -3
  19. package/dist/{chunk-2G75X6TS.cjs.map → chunk-AHHFFXJR.cjs.map} +1 -1
  20. package/dist/{chunk-HQ4CGVWX.cjs → chunk-B2X732V3.cjs} +7 -7
  21. package/dist/{chunk-HQ4CGVWX.cjs.map → chunk-B2X732V3.cjs.map} +1 -1
  22. package/dist/{chunk-UAMXCMST.cjs → chunk-CFI3TQMA.cjs} +3 -3
  23. package/dist/{chunk-UAMXCMST.cjs.map → chunk-CFI3TQMA.cjs.map} +1 -1
  24. package/dist/{chunk-2ABWFQQH.js → chunk-CRS2CQWM.js} +4 -4
  25. package/dist/{chunk-2ABWFQQH.js.map → chunk-CRS2CQWM.js.map} +1 -1
  26. package/dist/{chunk-MZNCLXXU.js → chunk-D22GE27K.js} +3 -3
  27. package/dist/{chunk-MZNCLXXU.js.map → chunk-D22GE27K.js.map} +1 -1
  28. package/dist/{chunk-IH55BEB3.js → chunk-DZFGTWYF.js} +6 -6
  29. package/dist/{chunk-IH55BEB3.js.map → chunk-DZFGTWYF.js.map} +1 -1
  30. package/dist/{chunk-TF7YWJHU.js → chunk-E2PBPQGS.js} +3 -3
  31. package/dist/{chunk-TF7YWJHU.js.map → chunk-E2PBPQGS.js.map} +1 -1
  32. package/dist/chunk-FBCDYTWM.js +385 -0
  33. package/dist/chunk-FBCDYTWM.js.map +1 -0
  34. package/dist/{chunk-R2O72G6Z.cjs → chunk-HC3NAN55.cjs} +7 -7
  35. package/dist/{chunk-R2O72G6Z.cjs.map → chunk-HC3NAN55.cjs.map} +1 -1
  36. package/dist/{chunk-DSB4DKWG.js → chunk-K34DXMLZ.js} +2 -2
  37. package/dist/{chunk-DSB4DKWG.js.map → chunk-K34DXMLZ.js.map} +1 -1
  38. package/dist/{chunk-Z5V7SAZ4.js → chunk-KFEN2SRZ.js} +3 -3
  39. package/dist/{chunk-Z5V7SAZ4.js.map → chunk-KFEN2SRZ.js.map} +1 -1
  40. package/dist/{chunk-MQPG3KVK.cjs → chunk-KGKBZN3T.cjs} +2 -2
  41. package/dist/{chunk-MQPG3KVK.cjs.map → chunk-KGKBZN3T.cjs.map} +1 -1
  42. package/dist/{chunk-G45FBKKV.js → chunk-P4VGVJVI.js} +4 -4
  43. package/dist/{chunk-G45FBKKV.js.map → chunk-P4VGVJVI.js.map} +1 -1
  44. package/dist/{chunk-3T7QGLNB.js → chunk-PJEL5ZZV.js} +4 -2
  45. package/dist/chunk-PJEL5ZZV.js.map +1 -0
  46. package/dist/{chunk-LJZKEMAH.cjs → chunk-R5Z7AOVU.cjs} +10 -10
  47. package/dist/{chunk-LJZKEMAH.cjs.map → chunk-R5Z7AOVU.cjs.map} +1 -1
  48. package/dist/{chunk-RJ6NTJHC.js → chunk-SRMTRD7F.js} +3 -3
  49. package/dist/{chunk-RJ6NTJHC.js.map → chunk-SRMTRD7F.js.map} +1 -1
  50. package/dist/{chunk-KHSFJTEX.js → chunk-T4JYUICS.js} +1177 -444
  51. package/dist/chunk-T4JYUICS.js.map +1 -0
  52. package/dist/{chunk-NJ6MY6V5.js → chunk-T5BBZQ66.js} +3 -3
  53. package/dist/{chunk-NJ6MY6V5.js.map → chunk-T5BBZQ66.js.map} +1 -1
  54. package/dist/{chunk-VYPPQPSZ.cjs → chunk-TJCX4OML.cjs} +3 -3
  55. package/dist/{chunk-VYPPQPSZ.cjs.map → chunk-TJCX4OML.cjs.map} +1 -1
  56. package/dist/{chunk-TAXD5ADA.cjs → chunk-UEDTZYGI.cjs} +3 -3
  57. package/dist/{chunk-TAXD5ADA.cjs.map → chunk-UEDTZYGI.cjs.map} +1 -1
  58. package/dist/{chunk-UQ3VVR6A.cjs → chunk-UPWIJC6I.cjs} +3 -3
  59. package/dist/{chunk-UQ3VVR6A.cjs.map → chunk-UPWIJC6I.cjs.map} +1 -1
  60. package/dist/{chunk-QNDP6PE5.cjs → chunk-VCCGR4J3.cjs} +92 -3
  61. package/dist/chunk-VCCGR4J3.cjs.map +1 -0
  62. package/dist/{chunk-S7WCHDBO.js → chunk-VCI2Y7ST.js} +3 -3
  63. package/dist/{chunk-S7WCHDBO.js.map → chunk-VCI2Y7ST.js.map} +1 -1
  64. package/dist/{chunk-Z4JR23IB.cjs → chunk-VOQJHSXN.cjs} +9 -9
  65. package/dist/{chunk-Z4JR23IB.cjs.map → chunk-VOQJHSXN.cjs.map} +1 -1
  66. package/dist/{chunk-EK3BCET6.js → chunk-WFVE36PO.js} +92 -3
  67. package/dist/chunk-WFVE36PO.js.map +1 -0
  68. package/dist/chunk-XI74P5F2.cjs +424 -0
  69. package/dist/chunk-XI74P5F2.cjs.map +1 -0
  70. package/dist/components/BoardView/index.d.cts +2 -90
  71. package/dist/components/BoardView/index.d.ts +2 -90
  72. package/dist/components/CalendarView/index.d.cts +1 -1
  73. package/dist/components/CalendarView/index.d.ts +1 -1
  74. package/dist/components/CountryCodeDropdown/index.cjs +5 -5
  75. package/dist/components/CountryCodeDropdown/index.js +2 -2
  76. package/dist/components/Dropdown/index.cjs +9 -9
  77. package/dist/components/Dropdown/index.js +2 -2
  78. package/dist/components/GanttView/index.d.cts +1 -1
  79. package/dist/components/GanttView/index.d.ts +1 -1
  80. package/dist/components/GlossaryTooltip/index.cjs +3 -3
  81. package/dist/components/GlossaryTooltip/index.js +2 -2
  82. package/dist/components/Markdown/index.cjs +15 -15
  83. package/dist/components/Markdown/index.js +3 -3
  84. package/dist/components/MediaEditor/index.cjs +10 -10
  85. package/dist/components/MediaEditor/index.js +5 -5
  86. package/dist/components/RadialExplorer/index.cjs +1 -1
  87. package/dist/components/RadialExplorer/index.js +1 -1
  88. package/dist/components/RichTextEditor/index.cjs +6 -6
  89. package/dist/components/RichTextEditor/index.js +3 -3
  90. package/dist/components/Select/index.cjs +4 -4
  91. package/dist/components/Select/index.js +2 -2
  92. package/dist/components/SourceTip/index.cjs +3 -3
  93. package/dist/components/SourceTip/index.js +2 -2
  94. package/dist/components/SuperChat/index.cjs +11 -11
  95. package/dist/components/SuperChat/index.js +4 -4
  96. package/dist/components/SuperChat/plugins/index.cjs +5 -5
  97. package/dist/components/SuperChat/plugins/index.js +4 -4
  98. package/dist/components/ViewSet/index.d.cts +1 -101
  99. package/dist/components/ViewSet/index.d.ts +1 -101
  100. package/dist/components/ViewSwitcher/index.d.cts +4 -57
  101. package/dist/components/ViewSwitcher/index.d.ts +4 -57
  102. package/dist/datavis.cjs +1 -1
  103. package/dist/datavis.js +1 -1
  104. package/dist/deck.cjs +3360 -0
  105. package/dist/deck.cjs.map +1 -0
  106. package/dist/deck.d.cts +712 -0
  107. package/dist/deck.d.ts +712 -0
  108. package/dist/deck.js +3316 -0
  109. package/dist/deck.js.map +1 -0
  110. package/dist/esheet.cjs +10 -10
  111. package/dist/esheet.js +7 -7
  112. package/dist/hooks/index.cjs +15 -15
  113. package/dist/hooks/index.js +3 -3
  114. package/dist/icons-wBacj6BW.d.cts +142 -0
  115. package/dist/icons-wBacj6BW.d.ts +142 -0
  116. package/dist/index-DoYYWsNc.d.cts +127 -0
  117. package/dist/index-DoYYWsNc.d.ts +127 -0
  118. package/dist/index.cjs +604 -551
  119. package/dist/index.cjs.map +1 -1
  120. package/dist/index.d.cts +313 -4
  121. package/dist/index.d.ts +313 -4
  122. package/dist/index.js +60 -59
  123. package/dist/index.js.map +1 -1
  124. package/dist/maps.cjs +160 -0
  125. package/dist/maps.cjs.map +1 -0
  126. package/dist/maps.d.cts +42 -0
  127. package/dist/maps.d.ts +42 -0
  128. package/dist/maps.js +138 -0
  129. package/dist/maps.js.map +1 -0
  130. package/dist/styles/effects.css +100 -0
  131. package/dist/styles/init.css +3 -0
  132. package/dist/styles.css +1 -1
  133. package/dist/tailwind-preset.cjs +4 -4
  134. package/dist/tailwind-preset.js +1 -1
  135. package/dist/templates.cjs +82 -29
  136. package/dist/templates.d.cts +316 -142
  137. package/dist/templates.d.ts +316 -142
  138. package/dist/templates.js +2 -1
  139. package/dist/{types-C3HQe74F.d.cts → types-DsdZvEI1.d.cts} +7 -1
  140. package/dist/{types-C3HQe74F.d.ts → types-DsdZvEI1.d.ts} +7 -1
  141. package/package.json +27 -1
  142. package/dist/chunk-3T7QGLNB.js.map +0 -1
  143. package/dist/chunk-EK3BCET6.js.map +0 -1
  144. package/dist/chunk-KHSFJTEX.js.map +0 -1
  145. package/dist/chunk-QNDP6PE5.cjs.map +0 -1
  146. package/dist/chunk-WCDJFMZO.cjs.map +0 -1
  147. package/dist/chunk-WNJRS7Y7.cjs.map +0 -1
package/dist/esheet.cjs CHANGED
@@ -1,27 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var chunkHQ4CGVWX_cjs = require('./chunk-HQ4CGVWX.cjs');
4
- require('./chunk-BSDBI6H7.cjs');
3
+ var chunkB2X732V3_cjs = require('./chunk-B2X732V3.cjs');
5
4
  require('./chunk-WWJIW2IH.cjs');
5
+ require('./chunk-BSDBI6H7.cjs');
6
6
  require('./chunk-G7EQ3JPX.cjs');
7
7
  require('./chunk-AIJAFPGJ.cjs');
8
- require('./chunk-UQ3VVR6A.cjs');
8
+ require('./chunk-UPWIJC6I.cjs');
9
9
  require('./chunk-ZSGEGISB.cjs');
10
10
  require('./chunk-MJWFNV3L.cjs');
11
+ require('./chunk-T4L7Q5FA.cjs');
11
12
  require('./chunk-I44YNYI6.cjs');
12
13
  require('./chunk-Z5S5JEJD.cjs');
13
14
  require('./chunk-YVPC65ZJ.cjs');
15
+ require('./chunk-NNEFAUHV.cjs');
16
+ require('./chunk-FHY3K6PL.cjs');
14
17
  require('./chunk-FSGEDDF2.cjs');
15
18
  require('./chunk-AOHJILLU.cjs');
16
19
  require('./chunk-CW75IKA6.cjs');
17
- require('./chunk-T4L7Q5FA.cjs');
18
- require('./chunk-NNEFAUHV.cjs');
19
- require('./chunk-FHY3K6PL.cjs');
20
20
  require('./chunk-SCV7C55E.cjs');
21
21
  require('./chunk-L7L5S2HO.cjs');
22
22
  require('./chunk-6HFFWEM3.cjs');
23
- require('./chunk-YVL3XATO.cjs');
24
23
  require('./chunk-X6A27RGO.cjs');
24
+ require('./chunk-YVL3XATO.cjs');
25
25
  require('./chunk-DXEPYK3I.cjs');
26
26
  require('./chunk-IEY3ZJIT.cjs');
27
27
  require('./chunk-S5RVSXDV.cjs');
@@ -81,7 +81,7 @@ function MedicationListField({
81
81
  return definition.medications ?? [];
82
82
  }, [response?.answer, definition.medications]);
83
83
  return /* @__PURE__ */ jsxRuntime.jsx(
84
- chunkHQ4CGVWX_cjs.MedicationReconciliation,
84
+ chunkB2X732V3_cjs.MedicationReconciliation,
85
85
  {
86
86
  medications,
87
87
  onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
@@ -138,7 +138,7 @@ function AllergyListField({
138
138
  codeLookup
139
139
  }) {
140
140
  const definition = field.definition;
141
- const ambientCodeLookup = chunkHQ4CGVWX_cjs.useCodeLookupConfig();
141
+ const ambientCodeLookup = chunkB2X732V3_cjs.useCodeLookupConfig();
142
142
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
143
143
  const value = React__namespace.useMemo(() => {
144
144
  if (response?.answer) return parseValue2(response.answer);
@@ -148,7 +148,7 @@ function AllergyListField({
148
148
  onResponse({ answer: JSON.stringify(next) });
149
149
  };
150
150
  return /* @__PURE__ */ jsxRuntime.jsx(
151
- chunkHQ4CGVWX_cjs.AllergyManager,
151
+ chunkB2X732V3_cjs.AllergyManager,
152
152
  {
153
153
  allergies: value.allergies,
154
154
  onChange: (allergies) => commit({
package/dist/esheet.js CHANGED
@@ -1,25 +1,25 @@
1
- import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-IH55BEB3.js';
2
- import './chunk-H3YO5GBM.js';
1
+ import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-DZFGTWYF.js';
3
2
  import './chunk-FJ7YPVKV.js';
3
+ import './chunk-H3YO5GBM.js';
4
4
  import './chunk-EPSB4WTL.js';
5
5
  import './chunk-I3WGZPI6.js';
6
- import './chunk-S7WCHDBO.js';
6
+ import './chunk-VCI2Y7ST.js';
7
7
  import './chunk-7IBZA7G6.js';
8
8
  import './chunk-QYSUYB3S.js';
9
+ import './chunk-ENMXHZNE.js';
9
10
  import './chunk-6NZXWKUE.js';
10
11
  import './chunk-3IMM2PM4.js';
11
12
  import './chunk-7ZVTLTJF.js';
13
+ import './chunk-4SMSH4OY.js';
14
+ import './chunk-T4ME7QCT.js';
12
15
  import './chunk-62ZOA6PX.js';
13
16
  import './chunk-WSNMQQ4P.js';
14
17
  import './chunk-RC2YMOMS.js';
15
- import './chunk-ENMXHZNE.js';
16
- import './chunk-4SMSH4OY.js';
17
- import './chunk-T4ME7QCT.js';
18
18
  import './chunk-VSQF22GL.js';
19
19
  import './chunk-BKSPDTX4.js';
20
20
  import './chunk-HB7C7NB5.js';
21
- import './chunk-BMSG4NBH.js';
22
21
  import './chunk-7YO7DNUV.js';
22
+ import './chunk-BMSG4NBH.js';
23
23
  import './chunk-GVM6DTR5.js';
24
24
  import './chunk-F4N67NAF.js';
25
25
  import './chunk-TQONQSJO.js';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkLHBWRMNC_cjs = require('../chunk-LHBWRMNC.cjs');
4
- var chunkIXFC7LK2_cjs = require('../chunk-IXFC7LK2.cjs');
5
4
  var chunk2O7D6F67_cjs = require('../chunk-2O7D6F67.cjs');
5
+ var chunkIXFC7LK2_cjs = require('../chunk-IXFC7LK2.cjs');
6
6
  var chunkVPTASZ2O_cjs = require('../chunk-VPTASZ2O.cjs');
7
7
  var chunk7IKLGH3Z_cjs = require('../chunk-7IKLGH3Z.cjs');
8
8
  var chunkNPKPCYAT_cjs = require('../chunk-NPKPCYAT.cjs');
9
9
  require('../chunk-NUFUV43P.cjs');
10
10
  var chunkJYZW2PZS_cjs = require('../chunk-JYZW2PZS.cjs');
11
11
  var chunkYVPC65ZJ_cjs = require('../chunk-YVPC65ZJ.cjs');
12
- var chunkFSGEDDF2_cjs = require('../chunk-FSGEDDF2.cjs');
13
- var chunkAOHJILLU_cjs = require('../chunk-AOHJILLU.cjs');
14
12
  var chunkNNEFAUHV_cjs = require('../chunk-NNEFAUHV.cjs');
15
13
  var chunkFHY3K6PL_cjs = require('../chunk-FHY3K6PL.cjs');
14
+ var chunkFSGEDDF2_cjs = require('../chunk-FSGEDDF2.cjs');
15
+ var chunkAOHJILLU_cjs = require('../chunk-AOHJILLU.cjs');
16
16
  require('../chunk-SCV7C55E.cjs');
17
17
  var chunk6HFFWEM3_cjs = require('../chunk-6HFFWEM3.cjs');
18
18
  var chunkNMBYU7D7_cjs = require('../chunk-NMBYU7D7.cjs');
@@ -92,14 +92,14 @@ Object.defineProperty(exports, "useMediaQuery", {
92
92
  enumerable: true,
93
93
  get: function () { return chunkLHBWRMNC_cjs.useMediaQuery; }
94
94
  });
95
- Object.defineProperty(exports, "useYouTubeHoverPreview", {
96
- enumerable: true,
97
- get: function () { return chunkIXFC7LK2_cjs.useYouTubeHoverPreview; }
98
- });
99
95
  Object.defineProperty(exports, "useTheme", {
100
96
  enumerable: true,
101
97
  get: function () { return chunk2O7D6F67_cjs.useTheme; }
102
98
  });
99
+ Object.defineProperty(exports, "useYouTubeHoverPreview", {
100
+ enumerable: true,
101
+ get: function () { return chunkIXFC7LK2_cjs.useYouTubeHoverPreview; }
102
+ });
103
103
  Object.defineProperty(exports, "useStickToBottom", {
104
104
  enumerable: true,
105
105
  get: function () { return chunkVPTASZ2O_cjs.useStickToBottom; }
@@ -164,14 +164,6 @@ Object.defineProperty(exports, "useLiveAnnouncement", {
164
164
  enumerable: true,
165
165
  get: function () { return chunkYVPC65ZJ_cjs.useLiveAnnouncement; }
166
166
  });
167
- Object.defineProperty(exports, "useClickOutside", {
168
- enumerable: true,
169
- get: function () { return chunkFSGEDDF2_cjs.useClickOutside; }
170
- });
171
- Object.defineProperty(exports, "useAnchoredPosition", {
172
- enumerable: true,
173
- get: function () { return chunkAOHJILLU_cjs.useAnchoredPosition; }
174
- });
175
167
  Object.defineProperty(exports, "useFocusTrap", {
176
168
  enumerable: true,
177
169
  get: function () { return chunkNNEFAUHV_cjs.useFocusTrap; }
@@ -180,6 +172,14 @@ Object.defineProperty(exports, "useEscapeKey", {
180
172
  enumerable: true,
181
173
  get: function () { return chunkFHY3K6PL_cjs.useEscapeKey; }
182
174
  });
175
+ Object.defineProperty(exports, "useClickOutside", {
176
+ enumerable: true,
177
+ get: function () { return chunkFSGEDDF2_cjs.useClickOutside; }
178
+ });
179
+ Object.defineProperty(exports, "useAnchoredPosition", {
180
+ enumerable: true,
181
+ get: function () { return chunkAOHJILLU_cjs.useAnchoredPosition; }
182
+ });
183
183
  Object.defineProperty(exports, "usePrefersReducedMotion", {
184
184
  enumerable: true,
185
185
  get: function () { return chunk6HFFWEM3_cjs.usePrefersReducedMotion; }
@@ -1,16 +1,16 @@
1
1
  export { KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, RTL_LOCALES, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useMediaQuery } from '../chunk-GBUVIGD5.js';
2
- export { useYouTubeHoverPreview } from '../chunk-POWS35OT.js';
3
2
  export { useTheme } from '../chunk-KJZNEVYM.js';
3
+ export { useYouTubeHoverPreview } from '../chunk-POWS35OT.js';
4
4
  export { useStickToBottom, useStreamEndedBelowFold } from '../chunk-BM35CACB.js';
5
5
  export { useScrollSpy } from '../chunk-WBGUYSWY.js';
6
6
  export { DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, buildPlaybackSegments, getSpeedAtIndex, initEditableWords, insertSilences, useTranscriptEdits } from '../chunk-UUI7WXI5.js';
7
7
  import '../chunk-6CGM5H4J.js';
8
8
  export { useMediaTransport } from '../chunk-SQHMGT4W.js';
9
9
  export { dragIndicatorClasses, reorderIds, useDragReorder, useLiveAnnouncement } from '../chunk-7ZVTLTJF.js';
10
- export { useClickOutside } from '../chunk-62ZOA6PX.js';
11
- export { useAnchoredPosition } from '../chunk-WSNMQQ4P.js';
12
10
  export { useFocusTrap } from '../chunk-4SMSH4OY.js';
13
11
  export { useEscapeKey } from '../chunk-T4ME7QCT.js';
12
+ export { useClickOutside } from '../chunk-62ZOA6PX.js';
13
+ export { useAnchoredPosition } from '../chunk-WSNMQQ4P.js';
14
14
  import '../chunk-VSQF22GL.js';
15
15
  export { usePrefersReducedMotion } from '../chunk-HB7C7NB5.js';
16
16
  export { isDarkMode, useIsDarkMode } from '../chunk-RUGHNFQG.js';
@@ -0,0 +1,142 @@
1
+ import * as React from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as lucide_react from 'lucide-react';
4
+
5
+ /** A navigational call to action. Always rendered as a real anchor so it is crawlable. */
6
+ interface TemplateLink {
7
+ label: string;
8
+ href: string;
9
+ /** Rendered as `data-track` for the site's analytics to pick up. */
10
+ trackingId?: string;
11
+ }
12
+ interface TemplateImage {
13
+ src: string;
14
+ alt: string;
15
+ width?: number;
16
+ height?: number;
17
+ }
18
+ /**
19
+ * Surface a section sits on. `brand` is a saturated primary band with light
20
+ * text in both colour modes; the others follow the active theme.
21
+ */
22
+ type SectionTone = 'default' | 'muted' | 'brand';
23
+ type SectionAlign = 'start' | 'center';
24
+ /** Props a site's image component receives, e.g. an adapter around `next/image`. */
25
+ interface TemplateImageProps extends TemplateImage {
26
+ className?: string;
27
+ /** True for the likely LCP image (the hero); load it eagerly at high priority. */
28
+ priority?: boolean;
29
+ }
30
+ /** Props a site's link component receives, e.g. `next/link`. */
31
+ interface TemplateLinkProps {
32
+ href: string;
33
+ className?: string;
34
+ children?: React.ReactNode;
35
+ tabIndex?: number;
36
+ 'aria-current'?: 'page';
37
+ 'data-slot'?: string;
38
+ 'data-track'?: string;
39
+ }
40
+ /**
41
+ * Swap the plain `<img>` and `<a>` the sections render for the site's own,
42
+ * so pages get optimized images and client-side navigation.
43
+ */
44
+ interface TemplateComponents {
45
+ Image?: React.ComponentType<TemplateImageProps>;
46
+ Link?: React.ComponentType<TemplateLinkProps>;
47
+ }
48
+ /** Fields every landing section shares. Everything except `components` is JSON-serializable. */
49
+ interface SectionBaseProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title' | 'children'> {
50
+ /** Anchor id for in-page links (`#faq`). */
51
+ id?: string;
52
+ /** Short label above the heading. */
53
+ eyebrow?: string;
54
+ /** Section heading, rendered as an `<h2>`. */
55
+ title?: string;
56
+ /** Supporting paragraph under the heading. */
57
+ description?: string;
58
+ tone?: SectionTone;
59
+ align?: SectionAlign;
60
+ /** Site image and link components; `LandingPage` passes its own to every section. */
61
+ components?: TemplateComponents;
62
+ }
63
+
64
+ type TemplateIconComponent = React.ComponentType<{
65
+ className?: string;
66
+ strokeWidth?: number;
67
+ 'aria-hidden'?: boolean | 'true' | 'false';
68
+ }>;
69
+ /** Extra icon tokens a site maps to its own components; merged over the built-ins. */
70
+ type TemplateIconRegistry = Record<string, TemplateIconComponent>;
71
+ /**
72
+ * Built-in icon tokens. Page data names an icon by token (`"shield-check"`)
73
+ * rather than holding a component, so it stays JSON-serializable.
74
+ */
75
+ declare const templateIcons: {
76
+ activity: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
77
+ award: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
78
+ 'badge-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
79
+ bell: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
80
+ briefcase: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
81
+ building: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
82
+ calendar: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
83
+ 'calendar-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
84
+ 'chart-column': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
85
+ 'chart-line': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
86
+ 'circle-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
87
+ 'clipboard-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
88
+ clock: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
89
+ cloud: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
90
+ database: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
91
+ 'dollar-sign': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
92
+ factory: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
93
+ 'file-text': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
94
+ flask: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
95
+ globe: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
96
+ 'graduation-cap': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
97
+ handshake: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
98
+ 'hard-hat': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
99
+ headset: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
100
+ 'heart-pulse': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
101
+ hospital: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
102
+ layers: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
103
+ leaf: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
104
+ lightbulb: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
105
+ lock: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
106
+ mail: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
107
+ 'map-pin': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
108
+ 'message-square': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
109
+ microscope: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
110
+ phone: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
111
+ plane: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
112
+ plug: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
113
+ rocket: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
114
+ scale: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
115
+ search: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
116
+ settings: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
117
+ shield: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
118
+ 'shield-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
119
+ smartphone: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
120
+ sparkles: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
121
+ stethoscope: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
122
+ syringe: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
123
+ target: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
124
+ timer: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
125
+ 'trending-up': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
126
+ truck: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
127
+ 'user-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
128
+ users: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
129
+ workflow: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
130
+ wrench: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
131
+ zap: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
132
+ };
133
+ type TemplateIconName = keyof typeof templateIcons;
134
+ interface TemplateIconProps {
135
+ /** A built-in token, a token from `icons`, or a lettermark of up to four characters. */
136
+ name: string;
137
+ icons?: TemplateIconRegistry;
138
+ className?: string;
139
+ }
140
+ declare function TemplateIcon({ name, icons, className }: TemplateIconProps): react_jsx_runtime.JSX.Element | null;
141
+
142
+ export { type SectionBaseProps as S, type TemplateLink as T, type TemplateIconRegistry as a, type TemplateImage as b, type TemplateComponents as c, type SectionAlign as d, type SectionTone as e, TemplateIcon as f, type TemplateIconComponent as g, type TemplateIconName as h, type TemplateIconProps as i, type TemplateImageProps as j, type TemplateLinkProps as k, templateIcons as t };
@@ -0,0 +1,142 @@
1
+ import * as React from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as lucide_react from 'lucide-react';
4
+
5
+ /** A navigational call to action. Always rendered as a real anchor so it is crawlable. */
6
+ interface TemplateLink {
7
+ label: string;
8
+ href: string;
9
+ /** Rendered as `data-track` for the site's analytics to pick up. */
10
+ trackingId?: string;
11
+ }
12
+ interface TemplateImage {
13
+ src: string;
14
+ alt: string;
15
+ width?: number;
16
+ height?: number;
17
+ }
18
+ /**
19
+ * Surface a section sits on. `brand` is a saturated primary band with light
20
+ * text in both colour modes; the others follow the active theme.
21
+ */
22
+ type SectionTone = 'default' | 'muted' | 'brand';
23
+ type SectionAlign = 'start' | 'center';
24
+ /** Props a site's image component receives, e.g. an adapter around `next/image`. */
25
+ interface TemplateImageProps extends TemplateImage {
26
+ className?: string;
27
+ /** True for the likely LCP image (the hero); load it eagerly at high priority. */
28
+ priority?: boolean;
29
+ }
30
+ /** Props a site's link component receives, e.g. `next/link`. */
31
+ interface TemplateLinkProps {
32
+ href: string;
33
+ className?: string;
34
+ children?: React.ReactNode;
35
+ tabIndex?: number;
36
+ 'aria-current'?: 'page';
37
+ 'data-slot'?: string;
38
+ 'data-track'?: string;
39
+ }
40
+ /**
41
+ * Swap the plain `<img>` and `<a>` the sections render for the site's own,
42
+ * so pages get optimized images and client-side navigation.
43
+ */
44
+ interface TemplateComponents {
45
+ Image?: React.ComponentType<TemplateImageProps>;
46
+ Link?: React.ComponentType<TemplateLinkProps>;
47
+ }
48
+ /** Fields every landing section shares. Everything except `components` is JSON-serializable. */
49
+ interface SectionBaseProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title' | 'children'> {
50
+ /** Anchor id for in-page links (`#faq`). */
51
+ id?: string;
52
+ /** Short label above the heading. */
53
+ eyebrow?: string;
54
+ /** Section heading, rendered as an `<h2>`. */
55
+ title?: string;
56
+ /** Supporting paragraph under the heading. */
57
+ description?: string;
58
+ tone?: SectionTone;
59
+ align?: SectionAlign;
60
+ /** Site image and link components; `LandingPage` passes its own to every section. */
61
+ components?: TemplateComponents;
62
+ }
63
+
64
+ type TemplateIconComponent = React.ComponentType<{
65
+ className?: string;
66
+ strokeWidth?: number;
67
+ 'aria-hidden'?: boolean | 'true' | 'false';
68
+ }>;
69
+ /** Extra icon tokens a site maps to its own components; merged over the built-ins. */
70
+ type TemplateIconRegistry = Record<string, TemplateIconComponent>;
71
+ /**
72
+ * Built-in icon tokens. Page data names an icon by token (`"shield-check"`)
73
+ * rather than holding a component, so it stays JSON-serializable.
74
+ */
75
+ declare const templateIcons: {
76
+ activity: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
77
+ award: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
78
+ 'badge-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
79
+ bell: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
80
+ briefcase: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
81
+ building: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
82
+ calendar: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
83
+ 'calendar-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
84
+ 'chart-column': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
85
+ 'chart-line': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
86
+ 'circle-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
87
+ 'clipboard-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
88
+ clock: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
89
+ cloud: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
90
+ database: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
91
+ 'dollar-sign': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
92
+ factory: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
93
+ 'file-text': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
94
+ flask: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
95
+ globe: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
96
+ 'graduation-cap': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
97
+ handshake: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
98
+ 'hard-hat': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
99
+ headset: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
100
+ 'heart-pulse': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
101
+ hospital: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
102
+ layers: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
103
+ leaf: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
104
+ lightbulb: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
105
+ lock: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
106
+ mail: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
107
+ 'map-pin': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
108
+ 'message-square': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
109
+ microscope: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
110
+ phone: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
111
+ plane: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
112
+ plug: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
113
+ rocket: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
114
+ scale: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
115
+ search: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
116
+ settings: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
117
+ shield: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
118
+ 'shield-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
119
+ smartphone: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
120
+ sparkles: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
121
+ stethoscope: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
122
+ syringe: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
123
+ target: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
124
+ timer: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
125
+ 'trending-up': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
126
+ truck: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
127
+ 'user-check': React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
128
+ users: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
129
+ workflow: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
130
+ wrench: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
131
+ zap: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
132
+ };
133
+ type TemplateIconName = keyof typeof templateIcons;
134
+ interface TemplateIconProps {
135
+ /** A built-in token, a token from `icons`, or a lettermark of up to four characters. */
136
+ name: string;
137
+ icons?: TemplateIconRegistry;
138
+ className?: string;
139
+ }
140
+ declare function TemplateIcon({ name, icons, className }: TemplateIconProps): react_jsx_runtime.JSX.Element | null;
141
+
142
+ export { type SectionBaseProps as S, type TemplateLink as T, type TemplateIconRegistry as a, type TemplateImage as b, type TemplateComponents as c, type SectionAlign as d, type SectionTone as e, TemplateIcon as f, type TemplateIconComponent as g, type TemplateIconName as h, type TemplateIconProps as i, type TemplateImageProps as j, type TemplateLinkProps as k, templateIcons as t };
@@ -0,0 +1,127 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ /**
6
+ * The contract every component in the `Modules/Views` family reads through.
7
+ *
8
+ * A page describes its collection once — which field is the id, the title, the
9
+ * status, the start date — and every view understands it. That is the whole
10
+ * reason the family exists: without it each view needs its own adapter and you
11
+ * end up re-implementing the same board per entity.
12
+ *
13
+ * Views are headless. Nothing here fetches, subscribes, or navigates.
14
+ * See CONTRIBUTING → "Modules: headless data components".
15
+ */
16
+
17
+ /**
18
+ * Which layout is on screen. `overview` and `table` are rendered by the host
19
+ * through `ViewSet` slots rather than by a component in this family — a tabular
20
+ * collection is `DataVisNitroGrid`, and an overview is domain content.
21
+ */
22
+ type ViewId = 'overview' | 'list' | 'board' | 'calendar' | 'gantt' | 'roadmap' | 'table';
23
+ /**
24
+ * A semantic colour name, resolved to `--mieweb-*` tokens by each view.
25
+ *
26
+ * Accessors return one of these rather than a class string so a caller cannot
27
+ * hardcode a palette that breaks under another brand or in dark mode.
28
+ */
29
+ type Accent = 'primary' | 'success' | 'warning' | 'destructive' | 'info' | 'neutral';
30
+ /** A named stage: a board column, and the segments of a stage bar. */
31
+ interface Stage {
32
+ id: string;
33
+ label: string;
34
+ accent?: Accent;
35
+ }
36
+ /**
37
+ * How a view reads one item. Only `getId` and `getTitle` are always required;
38
+ * each view documents which of the rest it needs (a board needs `getStatus`, a
39
+ * Gantt needs `getStart`) and renders an explanatory empty state without them.
40
+ */
41
+ interface ViewAccessors<T> {
42
+ getId: (item: T) => string;
43
+ getTitle: (item: T) => string;
44
+ /** Secondary line under the title. */
45
+ getSubtitle?: (item: T) => string | undefined;
46
+ /** Board column and list group; matched against `Stage['id']`. */
47
+ getStatus?: (item: T) => string;
48
+ /** Gantt bar start, calendar placement. */
49
+ getStart?: (item: T) => Date | string | null | undefined;
50
+ /** Gantt bar end, calendar span. Falls back to the start when absent. */
51
+ getEnd?: (item: T) => Date | string | null | undefined;
52
+ /** Swimlane in a roadmap, row group in a Gantt. */
53
+ getGroup?: (item: T) => string | undefined;
54
+ getAccent?: (item: T) => Accent;
55
+ }
56
+ /** Strings a view renders. Every one is overridable; the defaults are English. */
57
+ interface ViewLabels {
58
+ /** Accessible name of the view switcher group. */
59
+ viewSwitcher: string;
60
+ loading: string;
61
+ empty: string;
62
+ error: string;
63
+ /** Action on the error state. */
64
+ retry: string;
65
+ /** Heading for the group a record with no status or group falls into. */
66
+ ungrouped: string;
67
+ }
68
+ /**
69
+ * Props every view accepts. Views are controlled: selection, the active view and
70
+ * filter state live in the page, and every change is handed back.
71
+ */
72
+ interface ViewBaseProps<T> {
73
+ items: T[];
74
+ accessors: ViewAccessors<T>;
75
+ loading?: boolean;
76
+ error?: Error | null;
77
+ selectedId?: string | null;
78
+ /** Called when the user activates an item. */
79
+ onOpen?: (id: string, item: T) => void;
80
+ /** Return a URL to render each item as a real anchor — middle-clickable and crawlable. */
81
+ getHref?: (id: string, item: T) => string;
82
+ /** Render one item. Receives the active view so one function can serve several. */
83
+ renderItem?: (item: T, context: {
84
+ view: ViewId;
85
+ }) => React.ReactNode;
86
+ /** Replaces the built-in empty state. */
87
+ emptyState?: React.ReactNode;
88
+ labels?: Partial<ViewLabels>;
89
+ /** Pins "today" so stories, tests and visual snapshots stay deterministic. */
90
+ now?: Date;
91
+ className?: string;
92
+ }
93
+
94
+ interface ViewOption {
95
+ id: ViewId;
96
+ /** Overrides the built-in English label. */
97
+ label?: string;
98
+ /** Overrides the built-in icon. */
99
+ icon?: React.ComponentType<{
100
+ className?: string;
101
+ 'aria-hidden'?: boolean;
102
+ }>;
103
+ disabled?: boolean;
104
+ }
105
+ interface ViewSwitcherProps extends VariantProps<typeof viewSwitcherVariants> {
106
+ /** Views to offer, in order. Accepts bare ids or `ViewOption`s. */
107
+ views: readonly (ViewId | ViewOption)[];
108
+ value: ViewId;
109
+ onValueChange: (view: ViewId) => void;
110
+ /** Accessible name of the group. */
111
+ label?: string;
112
+ /** Show labels beside the icons. `responsive` hides them below `sm`. */
113
+ showLabels?: boolean | 'responsive';
114
+ className?: string;
115
+ classNames?: Partial<Record<'option' | 'activeOption', string>>;
116
+ }
117
+ declare const viewSwitcherVariants: (props?: ({
118
+ size?: "sm" | "md" | null | undefined;
119
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
120
+ /**
121
+ * Keyboard model is a radio group: one tab stop, arrows move *and* select.
122
+ * Every option is visible, so moving the selection is the whole interaction —
123
+ * there is nothing to "commit" afterwards.
124
+ */
125
+ declare const ViewSwitcher: React.ForwardRefExoticComponent<ViewSwitcherProps & React.RefAttributes<HTMLDivElement>>;
126
+
127
+ export { type Stage as S, type ViewBaseProps as V, type ViewLabels as a, type ViewId as b, type ViewOption as c, ViewSwitcher as d, type ViewSwitcherProps as e, viewSwitcherVariants as v };