@flamingo-stack/openframe-frontend-core 0.0.781 → 0.0.782
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.
- package/dist/case-study-card-WYZPBDDM.cjs +23 -0
- package/dist/{chunk-D46WFWWI.cjs → chunk-2EXD2RSC.cjs} +41 -39
- package/dist/{chunk-RJX33Y4Q.cjs → chunk-3INHO6GP.cjs} +22 -22
- package/dist/{chunk-JHDPEYZH.cjs → chunk-4DKPNN2A.cjs} +17 -17
- package/dist/{chunk-L4XOCV7S.cjs → chunk-4DQ4CNAG.cjs} +10 -10
- package/dist/{chunk-HTSRCFXP.cjs → chunk-4MQASMIU.cjs} +7 -7
- package/dist/{chunk-3VINTJPE.cjs → chunk-5WMRVMXH.cjs} +5 -5
- package/dist/{chunk-OHXB6HUX.cjs → chunk-5XAWVXNI.cjs} +320 -320
- package/dist/{chunk-VDTLVFCV.cjs → chunk-7DKDVJMR.cjs} +13 -13
- package/dist/{chunk-FWJ5YECN.cjs → chunk-7OJMOG34.cjs} +546 -544
- package/dist/{chunk-63OCO2G5.cjs → chunk-A3UZFFR3.cjs} +4 -4
- package/dist/{chunk-ODZ5XGWA.cjs → chunk-A4YUTS6Q.cjs} +2076 -2052
- package/dist/{chunk-T7SDYBST.cjs → chunk-BE4OUWTA.cjs} +54 -54
- package/dist/{chunk-YKJ4JN6T.cjs → chunk-C42BXIY7.cjs} +42 -42
- package/dist/{chunk-HPGCUYAZ.cjs → chunk-C5UUWXHE.cjs} +110 -110
- package/dist/{chunk-ZV6RQNXE.cjs → chunk-CBKXU77H.cjs} +46 -46
- package/dist/{chunk-IYU2ZH2J.cjs → chunk-CS5SZJFV.cjs} +2 -2
- package/dist/{chunk-Q7HXTF2C.cjs → chunk-DYF6XB27.cjs} +4 -4
- package/dist/{chunk-AKCBLZAO.cjs → chunk-E2ZZOYSM.cjs} +74 -62
- package/dist/{chunk-57NE7SHG.cjs → chunk-EFCWHAYC.cjs} +8 -8
- package/dist/{chunk-KWV23THO.cjs → chunk-EHQ2UGT4.cjs} +14 -14
- package/dist/{chunk-DJTPDK3W.cjs → chunk-F2FFJWOQ.cjs} +4 -4
- package/dist/{chunk-CDBFQVPA.cjs → chunk-FLS6DZEN.cjs} +46 -43
- package/dist/{chunk-VZKAAXU3.cjs → chunk-FS7CBRF4.cjs} +23 -23
- package/dist/{chunk-B6EQVH7D.cjs → chunk-GFRKNUJZ.cjs} +51 -51
- package/dist/{chunk-PID7LUDP.cjs → chunk-I7LRZR4Q.cjs} +31 -31
- package/dist/{chunk-A7FSNBNV.cjs → chunk-ISB7LW3D.cjs} +173 -172
- package/dist/{chunk-LDGR5VCK.cjs → chunk-IZKEWQJN.cjs} +4 -4
- package/dist/{chunk-X6TXMWBV.cjs → chunk-JGKPEGZN.cjs} +61 -61
- package/dist/{chunk-EYNQE2XN.cjs → chunk-LTF6UDGO.cjs} +6 -6
- package/dist/{chunk-2OYKOHFK.cjs → chunk-LUWYWYNC.cjs} +2 -2
- package/dist/{chunk-5PBWAF2D.cjs → chunk-MDGDL3C7.cjs} +44 -44
- package/dist/{chunk-N6YCOBLK.cjs → chunk-MGEUZRNQ.cjs} +101 -9
- package/dist/{chunk-YEJWNHD3.cjs → chunk-MKF6XX5A.cjs} +63 -63
- package/dist/{chunk-3IHGS44W.cjs → chunk-N2SVJJLU.cjs} +5 -5
- package/dist/{chunk-TZ6MTHUC.cjs → chunk-N5TPRCSS.cjs} +60 -60
- package/dist/{chunk-HLZUBJPL.cjs → chunk-N7QNWHJA.cjs} +197 -197
- package/dist/{chunk-YNDH72VU.cjs → chunk-NNNRN4OF.cjs} +14 -14
- package/dist/{chunk-JQWYXC2E.cjs → chunk-ODDUGLYF.cjs} +110 -110
- package/dist/{chunk-T4ZVKEDP.cjs → chunk-OMTH355I.cjs} +3 -3
- package/dist/{chunk-TH5X2BXK.cjs → chunk-QV4GHAWN.cjs} +115 -115
- package/dist/{chunk-DIY4SJZI.cjs → chunk-RT6QATX4.cjs} +19 -19
- package/dist/{chunk-UONQCE5N.cjs → chunk-TS6TISIF.cjs} +209 -208
- package/dist/{chunk-SMEX3BWO.cjs → chunk-UPQMFK5B.cjs} +7 -7
- package/dist/{chunk-XYKVOBIP.cjs → chunk-VH3KQSI2.cjs} +3 -3
- package/dist/{chunk-OFX6XEVN.cjs → chunk-VZUV2FCP.cjs} +13 -13
- package/dist/{chunk-QD7SKYCQ.cjs → chunk-WSBWP7IW.cjs} +3 -3
- package/dist/{chunk-RYIWADIB.cjs → chunk-XAA5LUHC.cjs} +12 -12
- package/dist/{chunk-XHJI7R4J.cjs → chunk-YX7X5QQN.cjs} +46 -46
- package/dist/{chunk-ZPYFPLPD.cjs → chunk-YXZOP726.cjs} +10 -10
- package/dist/{chunk-4XDYSGRL.cjs → chunk-ZFOMRALU.cjs} +17 -17
- package/dist/{chunk-AFJEUBDS.cjs → chunk-ZJS45HQZ.cjs} +29 -29
- package/dist/{cloud-tenants-UAFVHKX7.cjs → cloud-tenants-LXKEG5N4.cjs} +32 -32
- package/dist/components/calendar.cjs +10 -10
- package/dist/components/case-studies/index.cjs +52 -52
- package/dist/components/category-card.d.ts.map +1 -1
- package/dist/components/category-card.js +1 -0
- package/dist/components/chat/ask-display.js +2 -2
- package/dist/components/chat/chat-context-memory-bar.js +2 -2
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +4 -2
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-input.js +2 -1
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.js +12 -1
- package/dist/components/chat/guide-mode-banner.js +1 -1
- package/dist/components/chat/index.cjs +26 -26
- package/dist/components/chat/mingo-welcome.js +1 -1
- package/dist/components/contact/index.cjs +33 -33
- package/dist/components/docs/index.cjs +36 -36
- package/dist/components/embeds/index.cjs +33 -33
- package/dist/components/faq/index.cjs +34 -34
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +11 -1
- package/dist/components/features/command-box.js +1 -1
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid-filters.js +15 -4
- package/dist/components/features/filters-dropdown.d.ts.map +1 -1
- package/dist/components/features/filters-dropdown.js +6 -5
- package/dist/components/features/index.cjs +32 -32
- package/dist/components/features/model-token-rates.js +1 -1
- package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-drawer.js +1 -0
- package/dist/components/features/notifications/notification-tile.js +1 -1
- package/dist/components/features/paths-display.js +1 -1
- package/dist/components/features/remote-session/remote-session-events.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-events.js +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +1 -1
- package/dist/components/features/select-button.js +0 -1
- package/dist/components/features/tags-selector.js +1 -1
- package/dist/components/help-center-pages/index.cjs +163 -163
- package/dist/components/index.cjs +205 -204
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -2
- package/dist/components/meeting-scheduler/index.cjs +187 -187
- package/dist/components/navigation/index.cjs +35 -35
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/mobile-burger-menu.js +2 -1
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/navigation/multi-level-navigation.js +4 -2
- package/dist/components/navigation/navigation-sidebar-item.js +3 -3
- package/dist/components/onboarding-guides/index.cjs +35 -35
- package/dist/components/product-demo/index.cjs +45 -45
- package/dist/components/related-content/index.cjs +17 -17
- package/dist/components/tickets/index.cjs +39 -39
- package/dist/components/ui/allowed-domains-input.d.ts.map +1 -1
- package/dist/components/ui/allowed-domains-input.js +1 -0
- package/dist/components/ui/button/button-styles.d.ts +12 -4
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +99 -7
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +3 -0
- package/dist/components/ui/file-manager/file-manager-breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-breadcrumb.js +1 -0
- package/dist/components/ui/file-manager/index.cjs +56 -55
- package/dist/components/ui/file-upload.d.ts.map +1 -1
- package/dist/components/ui/file-upload.js +5 -3
- package/dist/components/ui/hidden-tags-popup.js +1 -1
- package/dist/components/ui/hover-dropdown.js +1 -1
- package/dist/components/ui/index.cjs +32 -32
- package/dist/components/ui/info-card.js +1 -1
- package/dist/components/ui/info-section.d.ts.map +1 -1
- package/dist/components/ui/info-section.js +1 -0
- package/dist/components/ui/loading-scope.d.ts.map +1 -1
- package/dist/components/ui/loading-scope.js +2 -2
- package/dist/components/ui/modal-v2.js +1 -1
- package/dist/components/ui/organization-card.d.ts.map +1 -1
- package/dist/components/ui/organization-card.js +2 -1
- package/dist/components/ui/page-actions.d.ts +2 -2
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/password-input.js +1 -1
- package/dist/components/ui/service-card.js +3 -3
- package/dist/components/ui/tab-selector.d.ts.map +1 -1
- package/dist/components/ui/tab-selector.js +3 -3
- package/dist/components/ui/test-run.d.ts.map +1 -1
- package/dist/components/ui/test-run.js +2 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea.js +2 -1
- package/dist/components/ui/ticket-attachments-list.d.ts.map +1 -1
- package/dist/components/ui/ticket-attachments-list.js +3 -2
- package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
- package/dist/components/ui/ticket-info-section.js +1 -0
- package/dist/components/ui/ticket-note-card.d.ts.map +1 -1
- package/dist/components/ui/ticket-note-card.js +6 -4
- package/dist/components/ui/ticket-status-config-row.d.ts.map +1 -1
- package/dist/components/ui/ticket-status-config-row.js +1 -10
- package/dist/components/ui/toaster.js +1 -1
- package/dist/components/vendor-display-button.js +1 -1
- package/dist/{devices-TDKCKWRP.cjs → devices-PYJRYIQN.cjs} +33 -33
- package/dist/embed-shims/index.cjs +4 -4
- package/dist/embed-shims/next-image.cjs +4 -4
- package/dist/{embeddable-chat-HEL4Z2FL.cjs → embeddable-chat-7MSM62UC.cjs} +114 -114
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +48 -48
- package/dist/{knowledge-A5KJ4CAD.cjs → knowledge-R4H2ZDX2.cjs} +33 -33
- package/dist/{logs-6WRBPIMM.cjs → logs-YWL6NK24.cjs} +41 -41
- package/dist/{policies-ICRXHW3H.cjs → policies-3COFYSKB.cjs} +36 -36
- package/dist/{remote-session-MEV5JL2Z.cjs → remote-session-IEOWFBF7.cjs} +17 -17
- package/dist/{scripts-AZVCZE6C.cjs → scripts-72EJDICT.cjs} +39 -39
- package/dist/{software-update-4ZBCGJGA.cjs → software-update-PPUVCLPO.cjs} +36 -36
- package/dist/{tickets-board-BJPQD3HE.cjs → tickets-board-EYKLSB36.cjs} +17 -17
- package/dist/{video-file-player-DETXW4OJ.cjs → video-file-player-ZU666VUY.cjs} +14 -14
- package/package.json +1 -1
- package/src/components/category-card.tsx +2 -0
- package/src/components/chat/ask-display.tsx +2 -2
- package/src/components/chat/chat-context-memory-bar.tsx +2 -2
- package/src/components/chat/chat-context-picker.tsx +4 -2
- package/src/components/chat/chat-input.tsx +3 -1
- package/src/components/chat/chat-nav-sidebar.tsx +10 -1
- package/src/components/chat/guide-mode-banner.tsx +1 -1
- package/src/components/chat/mingo-welcome.tsx +1 -1
- package/src/components/features/capability-explorer.tsx +8 -1
- package/src/components/features/command-box.tsx +1 -1
- package/src/components/features/devices/devices-grid-filters.tsx +8 -1
- package/src/components/features/filters-dropdown.tsx +6 -1
- package/src/components/features/model-token-rates.tsx +1 -1
- package/src/components/features/notifications/notification-drawer.tsx +1 -0
- package/src/components/features/notifications/notification-tile.tsx +1 -1
- package/src/components/features/paths-display.tsx +1 -1
- package/src/components/features/remote-session/remote-session-events.tsx +2 -0
- package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +1 -1
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +1 -1
- package/src/components/features/select-button.tsx +2 -2
- package/src/components/features/tags-selector.tsx +1 -1
- package/src/components/loading/loading-region.tsx +4 -1
- package/src/components/navigation/mobile-burger-menu.tsx +3 -1
- package/src/components/navigation/multi-level-navigation.tsx +6 -2
- package/src/components/navigation/navigation-sidebar-item.tsx +5 -5
- package/src/components/ui/allowed-domains-input.tsx +1 -0
- package/src/components/ui/button/button-styles.ts +106 -9
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/file-manager/file-manager-breadcrumb.tsx +1 -0
- package/src/components/ui/file-upload.tsx +5 -3
- package/src/components/ui/hidden-tags-popup.tsx +1 -1
- package/src/components/ui/hover-dropdown.tsx +1 -1
- package/src/components/ui/info-card.tsx +1 -1
- package/src/components/ui/info-section.tsx +2 -0
- package/src/components/ui/loading-scope.tsx +2 -1
- package/src/components/ui/modal-v2.tsx +1 -1
- package/src/components/ui/organization-card.tsx +3 -1
- package/src/components/ui/page-actions.tsx +14 -2
- package/src/components/ui/password-input.tsx +1 -1
- package/src/components/ui/service-card.tsx +3 -3
- package/src/components/ui/tab-selector.tsx +5 -3
- package/src/components/ui/test-run.tsx +2 -1
- package/src/components/ui/textarea.tsx +3 -1
- package/src/components/ui/ticket-attachments-list.tsx +3 -2
- package/src/components/ui/ticket-info-section.tsx +1 -0
- package/src/components/ui/ticket-note-card.tsx +6 -4
- package/src/components/ui/ticket-status-config-row.tsx +1 -6
- package/src/components/ui/toaster.tsx +1 -1
- package/src/components/vendor-display-button.tsx +1 -1
- package/dist/case-study-card-CYJ3JXU6.cjs +0 -23
|
@@ -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' : '
|
|
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
|
|
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
|
-
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
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
|
-
|
|
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-
|
|
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
|
|
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="
|
|
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
|
-
|
|
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="
|
|
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="
|
|
83
|
+
variant="bare"
|
|
83
84
|
size="icon-sm"
|
|
84
85
|
type="button"
|
|
85
86
|
onClick={attachment.onDownload}
|
|
@@ -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="
|
|
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="
|
|
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="
|
|
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="
|
|
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>
|
|
@@ -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;
|