@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
@@ -211,7 +211,7 @@ export function HoverDropdown({
211
211
  const secondaryAction = item.secondaryAction;
212
212
  const secondary = secondaryAction ? (
213
213
  <Button
214
- variant="transparent"
214
+ variant="bare"
215
215
  size="icon-sm"
216
216
  type="button"
217
217
  onClick={e => {
@@ -303,7 +303,7 @@ function InfoCardValueRow({
303
303
  {icon}
304
304
  {copyable && (
305
305
  <Button
306
- variant="transparent"
306
+ variant="bare"
307
307
  size="icon-inline"
308
308
  type="button"
309
309
  onClick={() => copy(value)}
@@ -87,6 +87,8 @@ function TextValue({ value }: { value: InfoSectionTextValue }) {
87
87
  size="compact"
88
88
  noPaddingX
89
89
  type="button"
90
+ // The value reads in the primary text and takes the accent on hover.
91
+ data-tone="primary"
90
92
  href={href}
91
93
  openInNewTab={openInNewTab}
92
94
  onClick={href ? undefined : onClick}
@@ -121,12 +121,13 @@ export function AnnouncedLoadingScope({
121
121
  children: ReactNode;
122
122
  }) {
123
123
  const outer = useLoadingScope();
124
+ // The status follows the content, so in a `space-y-*` stack it never pushes the content down (see LoadingRegion).
124
125
  return (
125
126
  <>
126
- {status && active && !outer && <LoadingStatus label={label} />}
127
127
  <LoadingScope active={active} as={as} className={className}>
128
128
  {children}
129
129
  </LoadingScope>
130
+ {status && active && !outer && <LoadingStatus label={label} />}
130
131
  </>
131
132
  );
132
133
  }
@@ -376,7 +376,7 @@ const ModalHeader = forwardRef<HTMLDivElement, ModalHeaderProps>(({ children, cl
376
376
  <div className="flex min-w-0 flex-1 flex-col">{children}</div>
377
377
  {onClose && (
378
378
  <Button
379
- variant="transparent"
379
+ variant="bare"
380
380
  size="icon-sm"
381
381
  type="button"
382
382
  onClick={onClose}
@@ -189,7 +189,9 @@ export function OrganizationCard({
189
189
  {/* Action button (top-right) - only if no device count */}
190
190
  {!deviceCount && showActionButton && actionButton && (
191
191
  <Button
192
- variant={actionButton.variant === 'primary' ? 'accent' : 'transparent'}
192
+ variant={actionButton.variant === 'primary' ? 'accent' : 'bare'}
193
+ // The secondary action is a removal: the error colour on hover.
194
+ data-tone={actionButton.variant === 'primary' ? undefined : 'danger'}
193
195
  size="icon-sm"
194
196
  type="button"
195
197
  className="absolute right-2 top-2 z-10"
@@ -18,10 +18,22 @@ export type PageActionButton = {
18
18
  /** Click handler. Optional when `href` or `submenu` is provided. */
19
19
  onClick?: () => void;
20
20
  icon?: React.ReactNode;
21
- /** `overlay` and `glyph` are media chrome and `link` an inline text action; none is a page action, and SplitButton has no divider colour for them. */
21
+ /** `overlay` and `glyph` are media chrome, `link` an inline text action and `bare` a glyph control; none is a page action, and SplitButton has no divider colour for them. */
22
22
  variant?: Exclude<
23
23
  ButtonProps['variant'],
24
- 'overlay' | 'glyph' | 'link' | 'inverted' | 'field' | 'row' | 'tab' | 'chip' | 'card' | 'cell'
24
+ | 'overlay'
25
+ | 'glyph'
26
+ | 'link'
27
+ | 'bare'
28
+ | 'inverted'
29
+ | 'field'
30
+ | 'row'
31
+ | 'rail'
32
+ | 'tab'
33
+ | 'segment'
34
+ | 'chip'
35
+ | 'card'
36
+ | 'cell'
25
37
  >;
26
38
  disabled?: boolean;
27
39
  /**
@@ -23,7 +23,7 @@ const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>(({ disabl
23
23
  className={cn('[&_input]:text-ellipsis', className)}
24
24
  endAdornment={
25
25
  <Button
26
- variant="transparent"
26
+ variant="bare"
27
27
  size="icon-sm"
28
28
  type="button"
29
29
  tabIndex={-1}
@@ -187,7 +187,7 @@ function ServiceCardRowItem({ row, loading: loadingProp }: { row: ServiceCardRow
187
187
  <div className={SERVICE_CARD_ACTIONS_CLASS}>
188
188
  {actions.reveal && (
189
189
  <Button
190
- variant="transparent"
190
+ variant="bare"
191
191
  size="icon-sm"
192
192
  type="button"
193
193
  disabled={loading}
@@ -205,7 +205,7 @@ function ServiceCardRowItem({ row, loading: loadingProp }: { row: ServiceCardRow
205
205
 
206
206
  {actions.copy && (
207
207
  <Button
208
- variant="transparent"
208
+ variant="bare"
209
209
  size="icon-sm"
210
210
  type="button"
211
211
  disabled={loading}
@@ -219,7 +219,7 @@ function ServiceCardRowItem({ row, loading: loadingProp }: { row: ServiceCardRow
219
219
 
220
220
  {actions.open && row.href && (
221
221
  <Button
222
- variant="transparent"
222
+ variant="bare"
223
223
  size="icon-sm"
224
224
  type="button"
225
225
  disabled={loading}
@@ -88,7 +88,9 @@ export function TabSelector({
88
88
 
89
89
  return (
90
90
  <Button
91
- variant="tab"
91
+ // A segment of the control: the selected one is filled (the accent in `primary`, the raised surface in
92
+ // `secondary`), from its `data-state` and `data-tone`.
93
+ variant="segment"
92
94
  key={item.id}
93
95
  type="button"
94
96
  disabled={isDisabled}
@@ -96,10 +98,10 @@ export function TabSelector({
96
98
  aria-label={!item.label ? item.ariaLabel : undefined}
97
99
  aria-pressed={isActive}
98
100
  data-state={isActive ? 'active' : undefined}
99
- data-emphasis={variant === 'primary' ? 'fade' : undefined}
101
+ data-tone={variant === 'primary' ? 'accent' : undefined}
100
102
  // scrollable: intrinsic widths must sum past the container or nothing ever overflows (flex-1's basis-0
101
103
  // defeats the scroll).
102
- className={cn('h-full whitespace-nowrap', scrollable ? 'flex-none' : 'flex-1')}
104
+ className={cn('h-full', scrollable ? 'flex-none shrink-0 basis-auto' : 'flex-1')}
103
105
  >
104
106
  {item.icon && (
105
107
  <span className="flex size-4 shrink-0 items-center justify-center content-md:size-6">{item.icon}</span>
@@ -164,7 +164,8 @@ export function TestRunErrorBanner({ error, className }: { error: string; classN
164
164
  >
165
165
  <p className="min-w-0 break-words text-ods-error text-h4">{error}</p>
166
166
  <Button
167
- variant="transparent"
167
+ variant="bare"
168
+ data-tone="error"
168
169
  size="icon-sm"
169
170
  type="button"
170
171
  aria-label="Copy error message"
@@ -207,7 +207,9 @@ const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>((allProps, ref)
207
207
 
208
208
  {endIconAsButton ? (
209
209
  <Button
210
- variant="transparent"
210
+ // A field adornment: lit in the accent while the field has focus, the error colour while it is invalid.
211
+ variant="bare"
212
+ data-tone="field"
211
213
  size="icon-sm"
212
214
  type="button"
213
215
  aria-label={endIconButtonProps?.['aria-label'] ?? 'Submit'}
@@ -67,7 +67,8 @@ export function TicketAttachmentsList({ attachments, className, size = 'default'
67
67
  </div>
68
68
  {attachment.onDelete && (
69
69
  <Button
70
- variant="transparent"
70
+ variant="bare"
71
+ data-tone="danger"
71
72
  size="icon-sm"
72
73
  type="button"
73
74
  onClick={attachment.onDelete}
@@ -79,7 +80,7 @@ export function TicketAttachmentsList({ attachments, className, size = 'default'
79
80
  )}
80
81
  {attachment.onDownload && (
81
82
  <Button
82
- variant="transparent"
83
+ variant="bare"
83
84
  size="icon-sm"
84
85
  type="button"
85
86
  onClick={attachment.onDownload}
@@ -109,6 +109,7 @@ function InfoCell({
109
109
  size="compact"
110
110
  noPaddingX
111
111
  type="button"
112
+ data-tone="primary"
112
113
  onClick={onClick}
113
114
  className="min-w-0 max-w-full justify-start"
114
115
  title={value}
@@ -66,7 +66,8 @@ export function TicketNoteCard({ note, onEdit, onDelete, className }: TicketNote
66
66
  <Input value={editText} onChange={e => setEditText(e.target.value)} onKeyDown={handleKeyDown} autoFocus />
67
67
  </div>
68
68
  <Button
69
- variant="transparent"
69
+ variant="bare"
70
+ data-tone="success"
70
71
  size="icon-sm"
71
72
  type="button"
72
73
  onClick={handleSave}
@@ -77,7 +78,7 @@ export function TicketNoteCard({ note, onEdit, onDelete, className }: TicketNote
77
78
  <CheckIcon className="text-ods-success" />
78
79
  </Button>
79
80
  <Button
80
- variant="transparent"
81
+ variant="bare"
81
82
  size="icon-sm"
82
83
  type="button"
83
84
  onClick={handleCancel}
@@ -100,7 +101,8 @@ export function TicketNoteCard({ note, onEdit, onDelete, className }: TicketNote
100
101
  <div className="flex shrink-0 items-center gap-4">
101
102
  {onDelete && (
102
103
  <Button
103
- variant="transparent"
104
+ variant="bare"
105
+ data-tone="danger"
104
106
  size="icon-sm"
105
107
  type="button"
106
108
  onClick={() => onDelete(note.id)}
@@ -111,7 +113,7 @@ export function TicketNoteCard({ note, onEdit, onDelete, className }: TicketNote
111
113
  )}
112
114
  {onEdit && (
113
115
  <Button
114
- variant="transparent"
116
+ variant="bare"
115
117
  size="icon-sm"
116
118
  type="button"
117
119
  onClick={() => setIsEditing(true)}
@@ -246,12 +246,7 @@ export function TicketStatusConfigRow({
246
246
  {isSystem ? (
247
247
  <div className="flex w-11 justify-center content-md:w-12">
248
248
  <TouchFriendlyTooltip content={systemTooltip}>
249
- <Button
250
- variant="transparent"
251
- size="icon-sm"
252
- type="button"
253
- aria-label={systemTooltip ?? 'System status'}
254
- >
249
+ <Button variant="bare" size="icon-sm" type="button" aria-label={systemTooltip ?? 'System status'}>
255
250
  <InfoCircleIcon size={24} />
256
251
  </Button>
257
252
  </TouchFriendlyTooltip>
@@ -76,7 +76,7 @@ function ToastHeader({
76
76
 
77
77
  {dismissible ? (
78
78
  <Button
79
- variant="transparent"
79
+ variant="bare"
80
80
  size="icon-sm"
81
81
  type="button"
82
82
  aria-label="Close"
@@ -66,7 +66,7 @@ export function VendorDisplayButton({ vendor, onClick, variant = 'default', exte
66
66
 
67
67
  // Default variant
68
68
  return (
69
- <Button variant="chip" onClick={handleClick} className={VENDOR_DISPLAY_BUTTON_LAYOUT_CLASS}>
69
+ <Button variant="chip" data-tone="accent" onClick={handleClick} className={VENDOR_DISPLAY_BUTTON_LAYOUT_CLASS}>
70
70
  {logoUrl ? (
71
71
  <div className={cn(VENDOR_DISPLAY_BUTTON_LOGO_CLASS, 'border border-ods-border bg-ods-card')}>
72
72
  <Image src={logoSrc} alt={`${vendor.title} logo`} width={20} height={20} className="rounded object-cover" />
@@ -1,23 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
- "use client";
3
-
4
-
5
- var _chunkJQWYXC2Ecjs = require('./chunk-JQWYXC2E.cjs');
6
- require('./chunk-Q7HXTF2C.cjs');
7
- require('./chunk-HTSRCFXP.cjs');
8
- require('./chunk-S5C3OZCO.cjs');
9
- require('./chunk-4IYNDV3G.cjs');
10
- require('./chunk-DJTPDK3W.cjs');
11
- require('./chunk-7PNRXJX2.cjs');
12
- require('./chunk-NTPX5GXI.cjs');
13
- require('./chunk-IYU2ZH2J.cjs');
14
- require('./chunk-5GJM7VRR.cjs');
15
- require('./chunk-3VINTJPE.cjs');
16
- require('./chunk-UJ7AXHRZ.cjs');
17
- require('./chunk-YNDH72VU.cjs');
18
- require('./chunk-CDBFQVPA.cjs');
19
- require('./chunk-N6YCOBLK.cjs');
20
- require('./chunk-V45KLJQP.cjs');
21
-
22
-
23
- exports.CaseStudyCard = _chunkJQWYXC2Ecjs.CaseStudyCard;