@flamingo-stack/openframe-frontend-core 0.0.781 → 0.0.783

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 (217) hide show
  1. package/dist/case-study-card-WYZPBDDM.cjs +23 -0
  2. package/dist/{chunk-RJX33Y4Q.cjs → chunk-3INHO6GP.cjs} +22 -22
  3. package/dist/{chunk-TH5X2BXK.cjs → chunk-3PKORICR.cjs} +115 -115
  4. package/dist/{chunk-JHDPEYZH.cjs → chunk-4DKPNN2A.cjs} +17 -17
  5. package/dist/{chunk-L4XOCV7S.cjs → chunk-4DQ4CNAG.cjs} +10 -10
  6. package/dist/{chunk-HTSRCFXP.cjs → chunk-4MQASMIU.cjs} +7 -7
  7. package/dist/{chunk-3VINTJPE.cjs → chunk-5WMRVMXH.cjs} +5 -5
  8. package/dist/{chunk-OHXB6HUX.cjs → chunk-5XAWVXNI.cjs} +320 -320
  9. package/dist/{chunk-HLZUBJPL.cjs → chunk-62TMGBRO.cjs} +197 -197
  10. package/dist/{chunk-B6EQVH7D.cjs → chunk-6NEWJ6I2.cjs} +51 -51
  11. package/dist/{chunk-FWJ5YECN.cjs → chunk-7OJMOG34.cjs} +546 -544
  12. package/dist/{chunk-63OCO2G5.cjs → chunk-A3UZFFR3.cjs} +4 -4
  13. package/dist/{chunk-XHJI7R4J.cjs → chunk-AFSVWR3X.cjs} +46 -46
  14. package/dist/{chunk-LDGR5VCK.cjs → chunk-APO7GMZQ.cjs} +4 -4
  15. package/dist/{chunk-PID7LUDP.cjs → chunk-BAJB3JF3.cjs} +31 -31
  16. package/dist/{chunk-T7SDYBST.cjs → chunk-BE4OUWTA.cjs} +54 -54
  17. package/dist/{chunk-ZV6RQNXE.cjs → chunk-CBKXU77H.cjs} +46 -46
  18. package/dist/{chunk-IYU2ZH2J.cjs → chunk-CS5SZJFV.cjs} +2 -2
  19. package/dist/{chunk-Q7HXTF2C.cjs → chunk-DYF6XB27.cjs} +4 -4
  20. package/dist/{chunk-AKCBLZAO.cjs → chunk-E2ZZOYSM.cjs} +74 -62
  21. package/dist/{chunk-57NE7SHG.cjs → chunk-EFCWHAYC.cjs} +8 -8
  22. package/dist/{chunk-KWV23THO.cjs → chunk-EHQ2UGT4.cjs} +14 -14
  23. package/dist/{chunk-DJTPDK3W.cjs → chunk-F2FFJWOQ.cjs} +4 -4
  24. package/dist/{chunk-CDBFQVPA.cjs → chunk-FLS6DZEN.cjs} +46 -43
  25. package/dist/{chunk-VZKAAXU3.cjs → chunk-FS7CBRF4.cjs} +23 -23
  26. package/dist/{chunk-X6TXMWBV.cjs → chunk-H3RHAN6B.cjs} +61 -61
  27. package/dist/{chunk-HPGCUYAZ.cjs → chunk-KRXHRL3W.cjs} +110 -110
  28. package/dist/{chunk-D46WFWWI.cjs → chunk-LGISRUGF.cjs} +41 -39
  29. package/dist/{chunk-2OYKOHFK.cjs → chunk-LUWYWYNC.cjs} +2 -2
  30. package/dist/{chunk-N6YCOBLK.cjs → chunk-MGEUZRNQ.cjs} +101 -9
  31. package/dist/{chunk-YEJWNHD3.cjs → chunk-MKF6XX5A.cjs} +63 -63
  32. package/dist/{chunk-3IHGS44W.cjs → chunk-N2SVJJLU.cjs} +5 -5
  33. package/dist/{chunk-TZ6MTHUC.cjs → chunk-N5TPRCSS.cjs} +60 -60
  34. package/dist/{chunk-YNDH72VU.cjs → chunk-NNNRN4OF.cjs} +14 -14
  35. package/dist/{chunk-JQWYXC2E.cjs → chunk-ODDUGLYF.cjs} +110 -110
  36. package/dist/{chunk-T4ZVKEDP.cjs → chunk-OMTH355I.cjs} +3 -3
  37. package/dist/{chunk-OFX6XEVN.cjs → chunk-PQSTPJQQ.cjs} +13 -13
  38. package/dist/{chunk-YKJ4JN6T.cjs → chunk-RL45AU2C.cjs} +42 -42
  39. package/dist/{chunk-DIY4SJZI.cjs → chunk-RT6QATX4.cjs} +19 -19
  40. package/dist/{chunk-ODZ5XGWA.cjs → chunk-THOGSAFH.cjs} +2076 -2052
  41. package/dist/{chunk-UONQCE5N.cjs → chunk-TS6TISIF.cjs} +209 -208
  42. package/dist/{chunk-SMEX3BWO.cjs → chunk-UPQMFK5B.cjs} +7 -7
  43. package/dist/{chunk-5PBWAF2D.cjs → chunk-URFAMWCA.cjs} +44 -44
  44. package/dist/{chunk-VDTLVFCV.cjs → chunk-WHNI4QTG.cjs} +13 -13
  45. package/dist/{chunk-EYNQE2XN.cjs → chunk-WS7IDGEL.cjs} +6 -6
  46. package/dist/{chunk-QD7SKYCQ.cjs → chunk-WSBWP7IW.cjs} +3 -3
  47. package/dist/{chunk-RYIWADIB.cjs → chunk-XAA5LUHC.cjs} +12 -12
  48. package/dist/{chunk-XYKVOBIP.cjs → chunk-XKDJ5ISQ.cjs} +3 -3
  49. package/dist/{chunk-A7FSNBNV.cjs → chunk-YU23M33V.cjs} +173 -172
  50. package/dist/{chunk-ZPYFPLPD.cjs → chunk-YXZOP726.cjs} +10 -10
  51. package/dist/{chunk-4XDYSGRL.cjs → chunk-ZFOMRALU.cjs} +17 -17
  52. package/dist/{chunk-AFJEUBDS.cjs → chunk-ZJS45HQZ.cjs} +29 -29
  53. package/dist/{cloud-tenants-UAFVHKX7.cjs → cloud-tenants-QYW3MPPP.cjs} +32 -32
  54. package/dist/components/calendar.cjs +10 -10
  55. package/dist/components/case-studies/index.cjs +52 -52
  56. package/dist/components/category-card.d.ts.map +1 -1
  57. package/dist/components/category-card.js +1 -0
  58. package/dist/components/chat/ask-display.js +2 -2
  59. package/dist/components/chat/chat-context-memory-bar.js +2 -2
  60. package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
  61. package/dist/components/chat/chat-context-picker.js +4 -2
  62. package/dist/components/chat/chat-input.d.ts.map +1 -1
  63. package/dist/components/chat/chat-input.js +2 -1
  64. package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
  65. package/dist/components/chat/chat-nav-sidebar.js +12 -1
  66. package/dist/components/chat/embeddable-chat.js +120 -98
  67. package/dist/components/chat/guide-mode-banner.js +1 -1
  68. package/dist/components/chat/index.cjs +26 -26
  69. package/dist/components/chat/mingo-welcome.js +1 -1
  70. package/dist/components/contact/index.cjs +33 -33
  71. package/dist/components/docs/index.cjs +36 -36
  72. package/dist/components/embeds/index.cjs +33 -33
  73. package/dist/components/faq/index.cjs +34 -34
  74. package/dist/components/features/capability-explorer.d.ts.map +1 -1
  75. package/dist/components/features/capability-explorer.js +11 -1
  76. package/dist/components/features/command-box.js +1 -1
  77. package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -1
  78. package/dist/components/features/devices/devices-grid-filters.js +15 -4
  79. package/dist/components/features/filters-dropdown.d.ts.map +1 -1
  80. package/dist/components/features/filters-dropdown.js +6 -5
  81. package/dist/components/features/index.cjs +32 -32
  82. package/dist/components/features/model-token-rates.js +1 -1
  83. package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
  84. package/dist/components/features/notifications/notification-drawer.js +1 -0
  85. package/dist/components/features/notifications/notification-tile.js +1 -1
  86. package/dist/components/features/paths-display.js +1 -1
  87. package/dist/components/features/remote-session/remote-session-events.d.ts.map +1 -1
  88. package/dist/components/features/remote-session/remote-session-events.js +1 -0
  89. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +1 -1
  90. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +1 -1
  91. package/dist/components/features/select-button.js +0 -1
  92. package/dist/components/features/tags-selector.js +1 -1
  93. package/dist/components/help-center-pages/index.cjs +163 -163
  94. package/dist/components/index.cjs +205 -204
  95. package/dist/components/loading/loading-region.d.ts.map +1 -1
  96. package/dist/components/loading/loading-region.js +2 -2
  97. package/dist/components/meeting-scheduler/index.cjs +187 -187
  98. package/dist/components/navigation/index.cjs +35 -35
  99. package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
  100. package/dist/components/navigation/mobile-burger-menu.js +2 -1
  101. package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
  102. package/dist/components/navigation/multi-level-navigation.js +4 -2
  103. package/dist/components/navigation/navigation-sidebar-item.js +3 -3
  104. package/dist/components/onboarding-guides/index.cjs +35 -35
  105. package/dist/components/product-demo/index.cjs +45 -45
  106. package/dist/components/related-content/index.cjs +17 -17
  107. package/dist/components/tickets/index.cjs +39 -39
  108. package/dist/components/ui/allowed-domains-input.d.ts.map +1 -1
  109. package/dist/components/ui/allowed-domains-input.js +1 -0
  110. package/dist/components/ui/button/button-styles.d.ts +12 -4
  111. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  112. package/dist/components/ui/button/button-styles.js +99 -7
  113. package/dist/components/ui/button/button.d.ts +1 -1
  114. package/dist/components/ui/button/button.d.ts.map +1 -1
  115. package/dist/components/ui/button/button.js +3 -0
  116. package/dist/components/ui/file-manager/file-manager-breadcrumb.d.ts.map +1 -1
  117. package/dist/components/ui/file-manager/file-manager-breadcrumb.js +1 -0
  118. package/dist/components/ui/file-manager/index.cjs +56 -55
  119. package/dist/components/ui/file-upload.d.ts.map +1 -1
  120. package/dist/components/ui/file-upload.js +5 -3
  121. package/dist/components/ui/hidden-tags-popup.js +1 -1
  122. package/dist/components/ui/hover-dropdown.js +1 -1
  123. package/dist/components/ui/index.cjs +32 -32
  124. package/dist/components/ui/info-card.js +1 -1
  125. package/dist/components/ui/info-section.d.ts.map +1 -1
  126. package/dist/components/ui/info-section.js +1 -0
  127. package/dist/components/ui/loading-scope.d.ts.map +1 -1
  128. package/dist/components/ui/loading-scope.js +2 -2
  129. package/dist/components/ui/modal-v2.js +1 -1
  130. package/dist/components/ui/organization-card.d.ts.map +1 -1
  131. package/dist/components/ui/organization-card.js +2 -1
  132. package/dist/components/ui/page-actions.d.ts +2 -2
  133. package/dist/components/ui/page-actions.d.ts.map +1 -1
  134. package/dist/components/ui/password-input.js +1 -1
  135. package/dist/components/ui/service-card.js +3 -3
  136. package/dist/components/ui/tab-selector.d.ts.map +1 -1
  137. package/dist/components/ui/tab-selector.js +3 -3
  138. package/dist/components/ui/test-run.d.ts.map +1 -1
  139. package/dist/components/ui/test-run.js +2 -1
  140. package/dist/components/ui/textarea.d.ts.map +1 -1
  141. package/dist/components/ui/textarea.js +2 -1
  142. package/dist/components/ui/ticket-attachments-list.d.ts.map +1 -1
  143. package/dist/components/ui/ticket-attachments-list.js +3 -2
  144. package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
  145. package/dist/components/ui/ticket-info-section.js +1 -0
  146. package/dist/components/ui/ticket-note-card.d.ts.map +1 -1
  147. package/dist/components/ui/ticket-note-card.js +6 -4
  148. package/dist/components/ui/ticket-status-config-row.d.ts.map +1 -1
  149. package/dist/components/ui/ticket-status-config-row.js +1 -10
  150. package/dist/components/ui/toaster.js +1 -1
  151. package/dist/components/vendor-display-button.js +1 -1
  152. package/dist/{devices-TDKCKWRP.cjs → devices-DMMMEO2B.cjs} +33 -33
  153. package/dist/embed-shims/index.cjs +4 -4
  154. package/dist/embed-shims/next-image.cjs +4 -4
  155. package/dist/{embeddable-chat-HEL4Z2FL.cjs → embeddable-chat-OSSPL7L4.cjs} +226 -204
  156. package/dist/hooks/index.cjs +10 -10
  157. package/dist/index.cjs +48 -48
  158. package/dist/{knowledge-A5KJ4CAD.cjs → knowledge-XQQXVV6C.cjs} +33 -33
  159. package/dist/{logs-6WRBPIMM.cjs → logs-BHKMDCBP.cjs} +41 -41
  160. package/dist/{policies-ICRXHW3H.cjs → policies-5IY7QUED.cjs} +36 -36
  161. package/dist/{remote-session-MEV5JL2Z.cjs → remote-session-IEOWFBF7.cjs} +17 -17
  162. package/dist/{scripts-AZVCZE6C.cjs → scripts-ZQXRBGVK.cjs} +39 -39
  163. package/dist/{software-update-4ZBCGJGA.cjs → software-update-RGFRYL3N.cjs} +36 -36
  164. package/dist/{tickets-board-BJPQD3HE.cjs → tickets-board-EYKLSB36.cjs} +17 -17
  165. package/dist/{video-file-player-DETXW4OJ.cjs → video-file-player-ZU666VUY.cjs} +14 -14
  166. package/package.json +1 -1
  167. package/src/components/category-card.tsx +2 -0
  168. package/src/components/chat/ask-display.tsx +2 -2
  169. package/src/components/chat/chat-context-memory-bar.tsx +2 -2
  170. package/src/components/chat/chat-context-picker.tsx +4 -2
  171. package/src/components/chat/chat-input.tsx +3 -1
  172. package/src/components/chat/chat-nav-sidebar.tsx +10 -1
  173. package/src/components/chat/embeddable-chat.tsx +21 -4
  174. package/src/components/chat/guide-mode-banner.tsx +1 -1
  175. package/src/components/chat/mingo-welcome.tsx +1 -1
  176. package/src/components/features/capability-explorer.tsx +8 -1
  177. package/src/components/features/command-box.tsx +1 -1
  178. package/src/components/features/devices/devices-grid-filters.tsx +8 -1
  179. package/src/components/features/filters-dropdown.tsx +6 -1
  180. package/src/components/features/model-token-rates.tsx +1 -1
  181. package/src/components/features/notifications/notification-drawer.tsx +1 -0
  182. package/src/components/features/notifications/notification-tile.tsx +1 -1
  183. package/src/components/features/paths-display.tsx +1 -1
  184. package/src/components/features/remote-session/remote-session-events.tsx +2 -0
  185. package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +1 -1
  186. package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +1 -1
  187. package/src/components/features/select-button.tsx +2 -2
  188. package/src/components/features/tags-selector.tsx +1 -1
  189. package/src/components/loading/loading-region.tsx +4 -1
  190. package/src/components/navigation/mobile-burger-menu.tsx +3 -1
  191. package/src/components/navigation/multi-level-navigation.tsx +6 -2
  192. package/src/components/navigation/navigation-sidebar-item.tsx +5 -5
  193. package/src/components/ui/allowed-domains-input.tsx +1 -0
  194. package/src/components/ui/button/button-styles.ts +106 -9
  195. package/src/components/ui/button/button.tsx +3 -0
  196. package/src/components/ui/file-manager/file-manager-breadcrumb.tsx +1 -0
  197. package/src/components/ui/file-upload.tsx +5 -3
  198. package/src/components/ui/hidden-tags-popup.tsx +1 -1
  199. package/src/components/ui/hover-dropdown.tsx +1 -1
  200. package/src/components/ui/info-card.tsx +1 -1
  201. package/src/components/ui/info-section.tsx +2 -0
  202. package/src/components/ui/loading-scope.tsx +2 -1
  203. package/src/components/ui/modal-v2.tsx +1 -1
  204. package/src/components/ui/organization-card.tsx +3 -1
  205. package/src/components/ui/page-actions.tsx +14 -2
  206. package/src/components/ui/password-input.tsx +1 -1
  207. package/src/components/ui/service-card.tsx +3 -3
  208. package/src/components/ui/tab-selector.tsx +5 -3
  209. package/src/components/ui/test-run.tsx +2 -1
  210. package/src/components/ui/textarea.tsx +3 -1
  211. package/src/components/ui/ticket-attachments-list.tsx +3 -2
  212. package/src/components/ui/ticket-info-section.tsx +1 -0
  213. package/src/components/ui/ticket-note-card.tsx +6 -4
  214. package/src/components/ui/ticket-status-config-row.tsx +1 -6
  215. package/src/components/ui/toaster.tsx +1 -1
  216. package/src/components/vendor-display-button.tsx +1 -1
  217. package/dist/case-study-card-CYJ3JXU6.cjs +0 -23
@@ -15,39 +15,39 @@
15
15
 
16
16
 
17
17
 
18
- var _chunkHPGCUYAZcjs = require('../../chunk-HPGCUYAZ.cjs');
19
- require('../../chunk-5PBWAF2D.cjs');
20
- require('../../chunk-XHJI7R4J.cjs');
21
- require('../../chunk-ZPYFPLPD.cjs');
22
- require('../../chunk-PID7LUDP.cjs');
23
- require('../../chunk-DIY4SJZI.cjs');
18
+ var _chunkKRXHRL3Wcjs = require('../../chunk-KRXHRL3W.cjs');
19
+ require('../../chunk-URFAMWCA.cjs');
20
+ require('../../chunk-AFSVWR3X.cjs');
21
+ require('../../chunk-YXZOP726.cjs');
22
+ require('../../chunk-BAJB3JF3.cjs');
23
+ require('../../chunk-RT6QATX4.cjs');
24
24
  require('../../chunk-HEVW75L3.cjs');
25
25
 
26
26
 
27
27
 
28
28
 
29
- var _chunkLDGR5VCKcjs = require('../../chunk-LDGR5VCK.cjs');
30
- require('../../chunk-ODZ5XGWA.cjs');
31
- require('../../chunk-YEJWNHD3.cjs');
32
- require('../../chunk-4XDYSGRL.cjs');
33
- require('../../chunk-UONQCE5N.cjs');
29
+ var _chunkAPO7GMZQcjs = require('../../chunk-APO7GMZQ.cjs');
30
+ require('../../chunk-THOGSAFH.cjs');
31
+ require('../../chunk-MKF6XX5A.cjs');
32
+ require('../../chunk-ZFOMRALU.cjs');
33
+ require('../../chunk-TS6TISIF.cjs');
34
34
  require('../../chunk-HQQE74RO.cjs');
35
35
  require('../../chunk-DEY6XXGO.cjs');
36
- require('../../chunk-ZV6RQNXE.cjs');
36
+ require('../../chunk-CBKXU77H.cjs');
37
37
  require('../../chunk-VXAKQRV7.cjs');
38
38
  require('../../chunk-24I6RFVU.cjs');
39
39
  require('../../chunk-A6P6DHEZ.cjs');
40
40
  require('../../chunk-MZ4KBSH7.cjs');
41
- require('../../chunk-SMEX3BWO.cjs');
41
+ require('../../chunk-UPQMFK5B.cjs');
42
42
 
43
43
 
44
44
 
45
- var _chunkHLZUBJPLcjs = require('../../chunk-HLZUBJPL.cjs');
46
- require('../../chunk-FWJ5YECN.cjs');
47
- require('../../chunk-T7SDYBST.cjs');
48
- require('../../chunk-QD7SKYCQ.cjs');
49
- require('../../chunk-AKCBLZAO.cjs');
50
- require('../../chunk-VZKAAXU3.cjs');
45
+ var _chunk62TMGBROcjs = require('../../chunk-62TMGBRO.cjs');
46
+ require('../../chunk-7OJMOG34.cjs');
47
+ require('../../chunk-BE4OUWTA.cjs');
48
+ require('../../chunk-WSBWP7IW.cjs');
49
+ require('../../chunk-E2ZZOYSM.cjs');
50
+ require('../../chunk-FS7CBRF4.cjs');
51
51
  require('../../chunk-ZOZR3QI2.cjs');
52
52
  require('../../chunk-OMV5S5PI.cjs');
53
53
  require('../../chunk-KHPX3KU4.cjs');
@@ -1836,21 +1836,21 @@ require('../../chunk-LMBYZITR.cjs');
1836
1836
  require('../../chunk-TMVC7S2R.cjs');
1837
1837
  require('../../chunk-IYHH5EIO.cjs');
1838
1838
  require('../../chunk-XIBCMGBW.cjs');
1839
- require('../../chunk-3IHGS44W.cjs');
1839
+ require('../../chunk-N2SVJJLU.cjs');
1840
1840
  require('../../chunk-OJZBZH56.cjs');
1841
- require('../../chunk-2OYKOHFK.cjs');
1841
+ require('../../chunk-LUWYWYNC.cjs');
1842
1842
  require('../../chunk-JKX2C3I2.cjs');
1843
1843
  require('../../chunk-7DNL734S.cjs');
1844
1844
  require('../../chunk-WWUSFOJ7.cjs');
1845
1845
  require('../../chunk-SKI6NKOE.cjs');
1846
1846
  require('../../chunk-EWPR7662.cjs');
1847
- require('../../chunk-JHDPEYZH.cjs');
1848
- require('../../chunk-OHXB6HUX.cjs');
1849
- require('../../chunk-JQWYXC2E.cjs');
1850
- require('../../chunk-Q7HXTF2C.cjs');
1851
- require('../../chunk-HTSRCFXP.cjs');
1852
- require('../../chunk-RYIWADIB.cjs');
1853
- require('../../chunk-AFJEUBDS.cjs');
1847
+ require('../../chunk-4DKPNN2A.cjs');
1848
+ require('../../chunk-5XAWVXNI.cjs');
1849
+ require('../../chunk-ODDUGLYF.cjs');
1850
+ require('../../chunk-DYF6XB27.cjs');
1851
+ require('../../chunk-4MQASMIU.cjs');
1852
+ require('../../chunk-XAA5LUHC.cjs');
1853
+ require('../../chunk-ZJS45HQZ.cjs');
1854
1854
  require('../../chunk-S5C3OZCO.cjs');
1855
1855
  require('../../chunk-32ASZMTV.cjs');
1856
1856
  require('../../chunk-OOYBIS7D.cjs');
@@ -1859,25 +1859,25 @@ require('../../chunk-6VOOPMP5.cjs');
1859
1859
  require('../../chunk-ORO54HDF.cjs');
1860
1860
  require('../../chunk-RUHKTWGB.cjs');
1861
1861
  require('../../chunk-BLH2SFOO.cjs');
1862
- require('../../chunk-DJTPDK3W.cjs');
1862
+ require('../../chunk-F2FFJWOQ.cjs');
1863
1863
  require('../../chunk-7PNRXJX2.cjs');
1864
1864
  require('../../chunk-NTPX5GXI.cjs');
1865
1865
  require('../../chunk-AQXKXZWB.cjs');
1866
1866
  require('../../chunk-V4FXUIMH.cjs');
1867
1867
  require('../../chunk-SZHDXXMK.cjs');
1868
- require('../../chunk-IYU2ZH2J.cjs');
1868
+ require('../../chunk-CS5SZJFV.cjs');
1869
1869
  require('../../chunk-5GJM7VRR.cjs');
1870
- require('../../chunk-3VINTJPE.cjs');
1870
+ require('../../chunk-5WMRVMXH.cjs');
1871
1871
  require('../../chunk-UJ7AXHRZ.cjs');
1872
- require('../../chunk-KWV23THO.cjs');
1873
- require('../../chunk-T4ZVKEDP.cjs');
1874
- require('../../chunk-L4XOCV7S.cjs');
1872
+ require('../../chunk-EHQ2UGT4.cjs');
1873
+ require('../../chunk-OMTH355I.cjs');
1874
+ require('../../chunk-4DQ4CNAG.cjs');
1875
1875
  require('../../chunk-Z74QE57T.cjs');
1876
1876
  require('../../chunk-XZJCBIYR.cjs');
1877
- require('../../chunk-63OCO2G5.cjs');
1878
- require('../../chunk-YNDH72VU.cjs');
1879
- require('../../chunk-CDBFQVPA.cjs');
1880
- require('../../chunk-N6YCOBLK.cjs');
1877
+ require('../../chunk-A3UZFFR3.cjs');
1878
+ require('../../chunk-NNNRN4OF.cjs');
1879
+ require('../../chunk-FLS6DZEN.cjs');
1880
+ require('../../chunk-MGEUZRNQ.cjs');
1881
1881
  require('../../chunk-V45KLJQP.cjs');
1882
1882
  require('../../chunk-KHKPLOU4.cjs');
1883
1883
 
@@ -1901,4 +1901,4 @@ require('../../chunk-KHKPLOU4.cjs');
1901
1901
 
1902
1902
 
1903
1903
 
1904
- exports.HelpCenterCard = _chunkHPGCUYAZcjs.HelpCenterCard; exports.HelpCenterCreateForm = _chunkHPGCUYAZcjs.HelpCenterCreateForm; exports.HelpCenterList = _chunkHPGCUYAZcjs.HelpCenterList; exports.TICKET_OPEN_PARAM = _chunkHLZUBJPLcjs.TICKET_OPEN_PARAM; exports.TICKET_TOAST_COPY = _chunkHPGCUYAZcjs.TOAST_COPY; exports.TicketCenter = _chunkHPGCUYAZcjs.TicketCenter; exports.TicketDetailDrawer = _chunkHPGCUYAZcjs.TicketDetailDrawer; exports.TicketLinkedDeliveryCard = _chunkHPGCUYAZcjs.TicketLinkedDeliveryCard; exports.TicketLiveProvider = _chunkLDGR5VCKcjs.TicketLiveProvider; exports.TicketOpenForm = _chunkHPGCUYAZcjs.TicketOpenForm; exports.TicketReplyComposer = _chunkHPGCUYAZcjs.TicketReplyComposer; exports.TicketRow = _chunkHPGCUYAZcjs.TicketRow; exports.buildTicketOpenHref = _chunkHLZUBJPLcjs.buildTicketOpenHref; exports.isOptimistic = _chunkHPGCUYAZcjs.isOptimistic; exports.mapTicketActionError = _chunkHPGCUYAZcjs.mapTicketActionError; exports.useOptionalTicketLive = _chunkLDGR5VCKcjs.useOptionalTicketLive; exports.useTicketActions = _chunkHPGCUYAZcjs.useTicketActions; exports.useTicketEngagements = _chunkHPGCUYAZcjs.useTicketEngagements; exports.useTicketLive = _chunkLDGR5VCKcjs.useTicketLive; exports.useTicketsList = _chunkHPGCUYAZcjs.useTicketsList;
1904
+ exports.HelpCenterCard = _chunkKRXHRL3Wcjs.HelpCenterCard; exports.HelpCenterCreateForm = _chunkKRXHRL3Wcjs.HelpCenterCreateForm; exports.HelpCenterList = _chunkKRXHRL3Wcjs.HelpCenterList; exports.TICKET_OPEN_PARAM = _chunk62TMGBROcjs.TICKET_OPEN_PARAM; exports.TICKET_TOAST_COPY = _chunkKRXHRL3Wcjs.TOAST_COPY; exports.TicketCenter = _chunkKRXHRL3Wcjs.TicketCenter; exports.TicketDetailDrawer = _chunkKRXHRL3Wcjs.TicketDetailDrawer; exports.TicketLinkedDeliveryCard = _chunkKRXHRL3Wcjs.TicketLinkedDeliveryCard; exports.TicketLiveProvider = _chunkAPO7GMZQcjs.TicketLiveProvider; exports.TicketOpenForm = _chunkKRXHRL3Wcjs.TicketOpenForm; exports.TicketReplyComposer = _chunkKRXHRL3Wcjs.TicketReplyComposer; exports.TicketRow = _chunkKRXHRL3Wcjs.TicketRow; exports.buildTicketOpenHref = _chunk62TMGBROcjs.buildTicketOpenHref; exports.isOptimistic = _chunkKRXHRL3Wcjs.isOptimistic; exports.mapTicketActionError = _chunkKRXHRL3Wcjs.mapTicketActionError; exports.useOptionalTicketLive = _chunkAPO7GMZQcjs.useOptionalTicketLive; exports.useTicketActions = _chunkKRXHRL3Wcjs.useTicketActions; exports.useTicketEngagements = _chunkKRXHRL3Wcjs.useTicketEngagements; exports.useTicketLive = _chunkAPO7GMZQcjs.useTicketLive; exports.useTicketsList = _chunkKRXHRL3Wcjs.useTicketsList;
@@ -1 +1 @@
1
- {"version":3,"file":"allowed-domains-input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/allowed-domains-input.tsx"],"names":[],"mappings":"AASA,UAAU,wBAAwB;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,mBAAmB,qHAoHxB,CAAC;AAIF,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"allowed-domains-input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/allowed-domains-input.tsx"],"names":[],"mappings":"AASA,UAAU,wBAAwB;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,mBAAmB,qHAqHxB,CAAC;AAIF,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,wBAAwB,EAAE,CAAC"}
@@ -92,6 +92,7 @@ const AllowedDomainsInput = forwardRef(
92
92
  size: "compact",
93
93
  noPaddingX: true,
94
94
  type: "button",
95
+ "data-tone": "primary",
95
96
  onClick: addDomain,
96
97
  disabled,
97
98
  leftIcon: /* @__PURE__ */ jsx(PlusCircle, {}),
@@ -1,12 +1,13 @@
1
1
  export declare const buttonSurfaceClasses: {
2
2
  readonly accent: "bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent-hover active:bg-ods-accent-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled";
3
- readonly outline: "bg-ods-card text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-ods-card disabled:text-ods-text-disabled aria-disabled:bg-ods-card aria-disabled:text-ods-text-disabled";
3
+ readonly outline: "bg-ods-card text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-ods-card disabled:text-ods-text-disabled aria-disabled:bg-ods-card aria-disabled:text-ods-text-disabled data-[tone=accent]:hover:bg-ods-accent";
4
4
  readonly transparent: "bg-transparent text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled";
5
5
  readonly destructive: "bg-ods-error text-ods-text-on-accent hover:bg-ods-error-hover active:bg-ods-error-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled";
6
6
  readonly warning: "bg-ods-warning text-ods-text-on-accent hover:bg-ods-warning-hover active:bg-ods-warning-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled";
7
7
  readonly inverted: "bg-ods-text-primary text-ods-bg hover:bg-ods-text-secondary active:bg-ods-text-secondary disabled:bg-ods-disabled aria-disabled:bg-ods-disabled";
8
8
  readonly glyph: "bg-transparent text-ods-text-primary hover:bg-transparent active:bg-transparent disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled";
9
- readonly link: "bg-transparent text-ods-text-secondary hover:bg-transparent hover:text-ods-accent active:bg-transparent active:text-ods-accent-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled";
9
+ readonly link: string;
10
+ readonly bare: string;
10
11
  readonly overlay: "rounded-full bg-ods-overlay text-ods-text-primary backdrop-blur-sm hover:text-ods-accent active:text-ods-accent-active disabled:text-ods-text-disabled aria-disabled:text-ods-text-disabled";
11
12
  };
12
13
  export declare const outlineBorderClasses = "border border-ods-border hover:border-ods-border-hover active:border-ods-border-active disabled:border-ods-border aria-disabled:border-ods-border";
@@ -47,14 +48,21 @@ export type ButtonSizeKey = keyof typeof BUTTON_SIZE_CLASS;
47
48
  * - `data-state="active"` (Radix's convention): the selected row, tab or chip;
48
49
  * - `data-state="open"` / `aria-expanded="true"`: the field whose popup is open;
49
50
  * - `data-invalid`: the field that failed validation (the marker every field exposes);
50
- * - `aria-pressed="true"`: the pressed chip.
51
+ * - `aria-pressed="true"`: the pressed chip;
52
+ * - `aria-selected="true"`: the chosen field (a choice drawn as a field);
53
+ * - `aria-busy="true"`: the rail entry whose route is committing.
51
54
  *
52
- * A call site's `className` on a kind is layout only (width, flex, position, margin).
55
+ * Where a kind has a second look for the same state (a selected row marked with the accent rather than the hover
56
+ * surface, the segmented control's accent segment), the control names it with `data-tone`, declared on the kind below.
57
+ *
58
+ * A call site's `className` on a kind is layout only (width, flex, position, margin): never a colour.
53
59
  */
54
60
  export declare const BUTTON_KIND_CLASS: {
55
61
  readonly field: string;
56
62
  readonly row: string;
63
+ readonly rail: string;
57
64
  readonly tab: string;
65
+ readonly segment: string;
58
66
  readonly chip: string;
59
67
  readonly card: string;
60
68
  readonly cell: string;
@@ -1 +1 @@
1
- {"version":3,"file":"button-styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/button-styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;;;;;;;;;CAmCvB,CAAC;AAEX,eAAO,MAAM,oBAAoB,sJACoH,CAAC;AAWtJ,eAAO,MAAM,qBAAqB,0DAA0D,CAAC;AAW7F,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;;;CAM3B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;CAuCpB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAM3D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB;;;;;;;CA2DpB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,iBAAiB,CAAC"}
1
+ {"version":3,"file":"button-styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/button-styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAoEvB,CAAC;AAEX,eAAO,MAAM,oBAAoB,sJACoH,CAAC;AAWtJ,eAAO,MAAM,qBAAqB,0DAA0D,CAAC;AAW7F,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;;;CAM3B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;CAuCpB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAM3D;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;CAsHpB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,iBAAiB,CAAC"}
@@ -1,7 +1,8 @@
1
1
  "use client";
2
2
  const buttonSurfaceClasses = {
3
3
  accent: "bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent-hover active:bg-ods-accent-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled",
4
- outline: "bg-ods-card text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-ods-card disabled:text-ods-text-disabled aria-disabled:bg-ods-card aria-disabled:text-ods-text-disabled",
4
+ // `data-tone="accent"`: the accent fill on hover (a card's "view" action).
5
+ outline: "bg-ods-card text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-ods-card disabled:text-ods-text-disabled aria-disabled:bg-ods-card aria-disabled:text-ods-text-disabled data-[tone=accent]:hover:bg-ods-accent",
5
6
  transparent: "bg-transparent text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled",
6
7
  destructive: "bg-ods-error text-ods-text-on-accent hover:bg-ods-error-hover active:bg-ods-error-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled",
7
8
  warning: "bg-ods-warning text-ods-text-on-accent hover:bg-ods-warning-hover active:bg-ods-warning-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled",
@@ -20,7 +21,39 @@ const buttonSurfaceClasses = {
20
21
  // hover, and no surface in any state. Promoted to a variant because the
21
22
  // disclosure toggle was a primitive <button> restating these classes. Pair
22
23
  // with size="compact" and noPaddingX so the label aligns with the text above.
23
- link: "bg-transparent text-ods-text-secondary hover:bg-transparent hover:text-ods-accent active:bg-transparent active:text-ods-accent-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled",
24
+ //
25
+ // States, from the element's attributes: `data-state="active"` holds the accent (a filter trigger with filters
26
+ // applied). `data-tone="neutral"` takes the primary text on hover instead of the accent (a secondary text action:
27
+ // "Select all", "Mark all read"); `data-tone="primary"` sits in the primary text and takes the accent on hover (a
28
+ // value that opens something: an info row's link, a breadcrumb).
29
+ link: [
30
+ "bg-transparent text-ods-text-secondary hover:bg-transparent hover:text-ods-accent active:bg-transparent active:text-ods-accent-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled",
31
+ "data-[tone=neutral]:hover:text-ods-text-primary",
32
+ "data-[tone=primary]:text-ods-text-primary data-[tone=primary]:hover:text-ods-accent",
33
+ "data-[state=active]:text-ods-accent data-[state=active]:hover:text-ods-accent data-[tone=neutral]:data-[state=active]:hover:text-ods-accent"
34
+ ].join(" "),
35
+ // A bare glyph control with no surface (a composer's send / add-context, a copy, a close, a field's clear): the
36
+ // secondary text, the primary on hover and keyboard focus, faded when disabled. Distinct from `transparent`, which
37
+ // is primary text on a hover fill. States, from the element's attributes:
38
+ // - `aria-expanded="true"`: its popup is open, the glyph stays lit (primary);
39
+ // - `data-state="active"`: the glyph is armed (the composer's send while the editor has focus), the accent;
40
+ // - `data-tone="accent"`: a trigger that opens and presses in the accent (the composer's add-context);
41
+ // - `data-tone="danger"`: a removal that takes the error colour on hover;
42
+ // - `data-tone="error"` / `data-tone="success"`: a glyph drawn in that colour (an error's copy, a done state),
43
+ // dimmed on hover;
44
+ // - `data-tone="field"`: a field's adornment, lit in the accent while the field (the enclosing `group`) has focus
45
+ // and in the error colour while it is invalid (`data-invalid` on the group).
46
+ bare: [
47
+ "bg-transparent text-ods-text-secondary outline-none hover:bg-transparent hover:text-ods-text-primary focus-visible:text-ods-text-primary active:bg-transparent",
48
+ "aria-expanded:text-ods-text-primary",
49
+ "data-[state=active]:text-ods-accent",
50
+ "data-[tone=accent]:aria-expanded:text-ods-accent data-[tone=accent]:active:text-ods-accent",
51
+ "data-[tone=danger]:hover:text-ods-error",
52
+ "data-[tone=error]:text-ods-error data-[tone=error]:hover:text-ods-error data-[tone=error]:hover:opacity-80",
53
+ "data-[tone=success]:text-ods-success data-[tone=success]:hover:text-ods-success data-[tone=success]:hover:opacity-80",
54
+ "data-[tone=field]:group-has-[textarea:focus]:text-ods-accent data-[tone=field]:focus-visible:text-ods-accent data-[tone=field]:group-data-[invalid]:text-ods-error",
55
+ "disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-40 disabled:hover:text-ods-text-secondary aria-disabled:opacity-40"
56
+ ].join(" "),
24
57
  // Chrome that sits ON media (video cards, image lightboxes): a scrim disc so
25
58
  // the glyph stays legible over an arbitrary frame. Promoted to a variant
26
59
  // because the walkthrough card, its theater and the bite cards were each
@@ -91,22 +124,62 @@ const BUTTON_KIND_CLASS = {
91
124
  "h-11 rounded-[6px] md:h-12",
92
125
  "border-ods-border bg-ods-card text-ods-text-primary text-h4 transition-colors duration-200",
93
126
  "enabled:hover:border-ods-border-hover enabled:hover:bg-ods-bg-hover enabled:active:border-ods-border-active enabled:active:bg-ods-bg-active",
127
+ // Open: the accent border, held under the cursor (a hover must not read as closing it).
94
128
  "data-[state=open]:border-ods-accent aria-expanded:border-ods-accent",
95
- "data-[invalid]:border-ods-error enabled:data-[invalid]:hover:border-ods-error",
129
+ "enabled:data-[state=open]:hover:border-ods-accent enabled:aria-expanded:hover:border-ods-accent",
130
+ // Selected (a choice drawn as a field, `aria-selected="true"`): the accent border on the accent's light fill,
131
+ // whose hover and press are the fill's own steps.
132
+ "aria-selected:border-ods-accent aria-selected:bg-ods-open-yellow-light",
133
+ "enabled:aria-selected:hover:border-ods-accent enabled:aria-selected:hover:bg-ods-open-yellow-light-hover",
134
+ "enabled:aria-selected:active:border-ods-accent enabled:aria-selected:active:bg-ods-open-yellow-light-action",
135
+ // Invalid wins over open.
136
+ "data-[invalid]:border-ods-error enabled:data-[invalid]:hover:border-ods-error enabled:data-[invalid]:active:border-ods-error",
137
+ "data-[invalid]:data-[state=open]:border-ods-error data-[invalid]:aria-expanded:border-ods-error",
138
+ "enabled:data-[invalid]:data-[state=open]:hover:border-ods-error enabled:data-[invalid]:aria-expanded:hover:border-ods-error",
96
139
  "disabled:cursor-not-allowed disabled:bg-ods-bg disabled:text-ods-text-disabled disabled:[&_svg]:text-ods-text-disabled",
97
140
  "outline-none focus-visible:border-ods-accent",
98
141
  "[&_svg]:shrink-0"
99
142
  ].join(" "),
100
143
  // A clickable row of a list, a menu or a navigation: full width, its content on the left, the hover and the
101
- // selected surface of the list.
144
+ // selected surface of the list. The selected row (`data-state="active"`) takes the hover surface; a list that marks
145
+ // its selection differently names its look with `data-tone` (the attribute, on the row and on its skeleton):
146
+ // - `accent`: the accent's secondary fill, no hover surface (a chat list's open conversation);
147
+ // - `link`: the accent text, no surface at all (a chat rail's navigation entries);
148
+ // - `surface`: the raised surface, the hover still showing over it (a filter dropdown's checked option);
149
+ // - `muted`: the border-grey fill, held under the cursor (a timeline's current event, a docs tree's open page);
150
+ // - `card`: a card with its border, no hover over it; idle rows keep a transparent border (a capability list);
151
+ // - `framed`: every row a bordered card, the selected one with the accent border (the mobile menu's entries).
102
152
  row: [
103
153
  "flex w-full items-center gap-[var(--spacing-system-s)] rounded-md px-[var(--spacing-system-m)] py-[var(--spacing-system-s)] text-left",
104
154
  "bg-transparent text-ods-text-primary text-h4 transition-colors duration-150",
105
- "hover:bg-ods-bg-hover active:bg-ods-bg-active data-[state=active]:bg-ods-bg-active",
155
+ "hover:bg-ods-bg-hover active:bg-ods-bg-active data-[state=active]:bg-ods-bg-hover",
156
+ "data-[tone=accent]:hover:bg-transparent data-[tone=accent]:active:bg-transparent",
157
+ "data-[tone=accent]:data-[state=active]:bg-ods-accent-secondary data-[tone=accent]:data-[state=active]:hover:bg-ods-accent-secondary data-[tone=accent]:data-[state=active]:active:bg-ods-accent-secondary",
158
+ "data-[tone=link]:hover:bg-transparent data-[tone=link]:active:bg-transparent data-[tone=link]:data-[state=active]:bg-transparent data-[tone=link]:data-[state=active]:text-ods-accent",
159
+ "data-[tone=surface]:data-[state=active]:bg-ods-bg-surface data-[tone=surface]:data-[state=active]:hover:bg-ods-bg-hover",
160
+ "data-[tone=muted]:data-[state=active]:bg-ods-border",
161
+ "data-[tone=card]:border data-[tone=card]:border-transparent data-[tone=card]:data-[state=active]:border-ods-border data-[tone=card]:data-[state=active]:bg-ods-card",
162
+ "data-[tone=framed]:border data-[tone=framed]:border-ods-border data-[tone=framed]:bg-ods-card data-[tone=framed]:data-[state=active]:border-ods-accent data-[tone=framed]:data-[state=active]:bg-ods-card data-[tone=framed]:data-[state=active]:hover:bg-ods-bg-hover",
106
163
  "disabled:cursor-not-allowed disabled:text-ods-text-disabled disabled:hover:bg-transparent",
107
164
  KIND_FOCUS_INSET,
108
165
  "[&_svg]:shrink-0"
109
166
  ].join(" "),
167
+ // A navigation rail's entry (the app sidebar): the row's box with the rail's two layers. The hover is a wash on its
168
+ // own layer (`::after`), so it can fade while the current page switches in a single frame: the current page's entry
169
+ // (`data-state="active"`) takes the accent's light fill, the accent text and glyphs and the accent bar on its leading
170
+ // edge (`::before`). An entry whose route is still committing (`aria-busy="true"`) holds the hover wash and nothing
171
+ // else.
172
+ rail: [
173
+ "relative isolate flex w-full items-center justify-start gap-[var(--spacing-system-s)] px-[var(--spacing-system-m)] py-[var(--spacing-system-s)] text-left",
174
+ "bg-transparent text-ods-text-primary text-h4 [&_svg]:fill-ods-text-secondary",
175
+ "after:pointer-events-none after:absolute after:inset-0 after:-z-10 after:bg-ods-bg-hover after:opacity-0 after:transition-opacity after:duration-150 after:content-['']",
176
+ "before:absolute before:bottom-0 before:left-0 before:top-0 before:w-1 before:content-['']",
177
+ "hover:after:opacity-100 aria-busy:after:opacity-100",
178
+ "data-[state=active]:bg-ods-open-yellow-light data-[state=active]:text-ods-accent data-[state=active]:[&_svg]:fill-ods-accent data-[state=active]:before:bg-ods-accent data-[state=active]:after:opacity-0",
179
+ "disabled:cursor-not-allowed disabled:text-ods-text-secondary disabled:opacity-50 disabled:after:opacity-0",
180
+ KIND_FOCUS_INSET,
181
+ "[&_svg]:shrink-0"
182
+ ].join(" "),
110
183
  // A tab of a tab strip or a tab list: secondary until it is the open one. A strip that marks its open and hovered
111
184
  // tab with the accent fade (the admin strip) says so on each tab with `data-emphasis="fade"`. ODS colour vars hold
112
185
  // hex values, so a Tailwind alpha modifier would produce no CSS; color-mix() derives the 10% stop from the token.
@@ -120,12 +193,29 @@ const BUTTON_KIND_CLASS = {
120
193
  KIND_FOCUS_INSET,
121
194
  "[&_svg]:shrink-0"
122
195
  ].join(" "),
196
+ // A segment of a segmented control (`TabSelector`): the label on the strip, a hover fill, and the selected segment
197
+ // (`data-state="active"`) filled with the raised surface; `data-tone="accent"` fills it with the accent instead. A
198
+ // disabled selected segment keeps the raised surface with secondary text.
199
+ segment: [
200
+ "flex items-center justify-center gap-[var(--spacing-system-xs)] whitespace-nowrap rounded-xs p-[var(--spacing-system-xsf)]",
201
+ "bg-transparent text-ods-text-primary text-h4 transition-colors duration-200",
202
+ "hover:bg-ods-bg-hover",
203
+ "data-[state=active]:cursor-default data-[state=active]:bg-ods-bg-surface data-[state=active]:text-ods-text-primary data-[state=active]:hover:bg-ods-bg-surface",
204
+ "data-[tone=accent]:data-[state=active]:bg-ods-accent data-[tone=accent]:data-[state=active]:text-ods-text-on-accent data-[tone=accent]:data-[state=active]:hover:bg-ods-accent",
205
+ "disabled:cursor-not-allowed disabled:bg-transparent disabled:text-ods-text-secondary disabled:hover:bg-transparent",
206
+ "disabled:data-[state=active]:bg-ods-bg-surface disabled:data-[state=active]:text-ods-text-secondary disabled:data-[state=active]:hover:bg-ods-bg-surface",
207
+ "disabled:data-[tone=accent]:data-[state=active]:bg-ods-bg-surface disabled:data-[tone=accent]:data-[state=active]:text-ods-text-secondary disabled:data-[tone=accent]:data-[state=active]:hover:bg-ods-bg-surface",
208
+ KIND_FOCUS_INSET,
209
+ "[&_svg]:shrink-0"
210
+ ].join(" "),
123
211
  // A choice drawn as a pill (a filter, a quick question, an answer option): bordered, the accent when picked.
124
212
  chip: [
125
213
  "inline-flex h-8 items-center gap-[var(--spacing-system-xxs)] rounded-full border px-[var(--spacing-system-sf)]",
126
214
  "border-ods-border bg-ods-card text-ods-text-primary text-h6 transition-colors duration-200",
127
215
  "hover:border-ods-border-hover hover:bg-ods-bg-hover",
128
216
  "aria-pressed:border-ods-accent data-[state=active]:border-ods-accent",
217
+ // `data-tone="accent"`: a pill that links somewhere takes the accent border on hover (a vendor pill).
218
+ "data-[tone=accent]:hover:border-ods-accent",
129
219
  "disabled:cursor-not-allowed disabled:text-ods-text-disabled disabled:hover:bg-ods-card",
130
220
  KIND_FOCUS,
131
221
  "[&_svg]:h-4 [&_svg]:w-4 [&_svg]:shrink-0"
@@ -134,11 +224,13 @@ const BUTTON_KIND_CLASS = {
134
224
  // content is the look; the button gives it the click, the keyboard and the focus ring.
135
225
  card: ["relative block w-full rounded-md text-left text-ods-text-primary", KIND_FOCUS].join(" "),
136
226
  // A cell of a bar (a header's or a chat's top bar): the bar's full height, an icon or a short label, secondary
137
- // until hovered or pressed.
227
+ // until hovered. The current cell (`data-state="active"`: the header's open section) takes the pressed surface and
228
+ // the primary text.
138
229
  cell: [
139
230
  "flex h-full shrink-0 items-center justify-center gap-[var(--spacing-system-xsf)] px-[var(--spacing-system-m)]",
140
231
  "bg-transparent text-ods-text-secondary text-h4 transition-colors duration-200",
141
- "hover:bg-ods-bg-hover hover:text-ods-text-primary aria-pressed:text-ods-accent aria-expanded:text-ods-text-primary data-[state=active]:text-ods-accent",
232
+ "hover:bg-ods-bg-hover hover:text-ods-text-primary aria-expanded:text-ods-text-primary",
233
+ "data-[state=active]:bg-ods-bg-active data-[state=active]:text-ods-text-primary",
142
234
  KIND_FOCUS_INSET,
143
235
  "[&_svg]:h-6 [&_svg]:w-6 [&_svg]:shrink-0"
144
236
  ].join(" ")
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  /** The `icon-sm` button's size (its `h-8 w-8`), for a layout that must leave room for one. */
4
4
  export declare const BUTTON_ICON_SM_SIZE = "2rem";
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "accent" | "link" | "cell" | "row" | "tab" | "outline" | "transparent" | "destructive" | "warning" | "inverted" | "glyph" | "overlay" | "field" | "chip" | "card" | null | undefined;
6
+ variant?: "accent" | "link" | "cell" | "row" | "tab" | "bare" | "outline" | "transparent" | "destructive" | "warning" | "inverted" | "glyph" | "overlay" | "field" | "rail" | "segment" | "chip" | "card" | null | undefined;
7
7
  size?: "wrap" | "small" | "default" | "icon" | "small-legacy" | "compact" | "icon-sm" | "icon-inline" | "icon-glyph" | null | undefined;
8
8
  font?: "bold" | "regular" | null | undefined;
9
9
  fullWidth?: boolean | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/button.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,QAAA,MAAM,cAAc;;;;;;;8EA2FnB,CAAC;AAgGF,8HAA8H;AAC9H,KAAK,oBAAoB,GAAG,cAAc,CAAC;AAE3C,KAAK,UAAU,GACb,OAAO,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,oBAAoB,CAAC;AAEjH,UAAU,WACR,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,CAAC;IACxG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB;;wCAEgC;QAChC,GAAG,CAAC,EAAE,UAAU,GAAG,qBAAqB,CAAC;QACzC,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;KACtD,GAAG,IAAI,CAAC;IACT,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAaD,QAAA,MAAM,MAAM,uFAyNV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/button.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,QAAA,MAAM,cAAc;;;;;;;8EA8FnB,CAAC;AAgGF,8HAA8H;AAC9H,KAAK,oBAAoB,GAAG,cAAc,CAAC;AAE3C,KAAK,UAAU,GACb,OAAO,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,oBAAoB,CAAC;AAEjH,UAAU,WACR,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,CAAC;IACxG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB;;wCAEgC;QAChC,GAAG,CAAC,EAAE,UAAU,GAAG,qBAAqB,CAAC;QACzC,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;KACtD,GAAG,IAAI,CAAC;IACT,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAaD,QAAA,MAAM,MAAM,uFAyNV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -36,11 +36,14 @@ const buttonVariants = cva(
36
36
  glyph: buttonSurfaceClasses.glyph,
37
37
  overlay: buttonSurfaceClasses.overlay,
38
38
  link: buttonSurfaceClasses.link,
39
+ bare: buttonSurfaceClasses.bare,
39
40
  // The kinds that are not a plain push button own their whole box (`BUTTON_KIND_CLASS`); resolved
40
41
  // before this map is read, so `size` never reaches them. The entries only type the prop.
41
42
  field: "",
42
43
  row: "",
44
+ rail: "",
43
45
  tab: "",
46
+ segment: "",
44
47
  chip: "",
45
48
  card: "",
46
49
  cell: ""
@@ -1 +1 @@
1
- {"version":3,"file":"file-manager-breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/file-manager/file-manager-breadcrumb.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAE1D,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,0BAA0B,qBAqBlG"}
1
+ {"version":3,"file":"file-manager-breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/file-manager/file-manager-breadcrumb.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAE1D,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,0BAA0B,qBAsBlG"}
@@ -14,6 +14,7 @@ function FileManagerBreadcrumb({ items, onItemClick, className }) {
14
14
  size: "compact",
15
15
  noPaddingX: true,
16
16
  type: "button",
17
+ "data-tone": "primary",
17
18
  "aria-current": index === items.length - 1 ? "page" : void 0,
18
19
  onClick: () => onItemClick?.(item.path),
19
20
  className: "shrink-0",