@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.
- package/dist/case-study-card-WYZPBDDM.cjs +23 -0
- package/dist/{chunk-RJX33Y4Q.cjs → chunk-3INHO6GP.cjs} +22 -22
- package/dist/{chunk-TH5X2BXK.cjs → chunk-3PKORICR.cjs} +115 -115
- 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-HLZUBJPL.cjs → chunk-62TMGBRO.cjs} +197 -197
- package/dist/{chunk-B6EQVH7D.cjs → chunk-6NEWJ6I2.cjs} +51 -51
- package/dist/{chunk-FWJ5YECN.cjs → chunk-7OJMOG34.cjs} +546 -544
- package/dist/{chunk-63OCO2G5.cjs → chunk-A3UZFFR3.cjs} +4 -4
- package/dist/{chunk-XHJI7R4J.cjs → chunk-AFSVWR3X.cjs} +46 -46
- package/dist/{chunk-LDGR5VCK.cjs → chunk-APO7GMZQ.cjs} +4 -4
- package/dist/{chunk-PID7LUDP.cjs → chunk-BAJB3JF3.cjs} +31 -31
- package/dist/{chunk-T7SDYBST.cjs → chunk-BE4OUWTA.cjs} +54 -54
- 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-X6TXMWBV.cjs → chunk-H3RHAN6B.cjs} +61 -61
- package/dist/{chunk-HPGCUYAZ.cjs → chunk-KRXHRL3W.cjs} +110 -110
- package/dist/{chunk-D46WFWWI.cjs → chunk-LGISRUGF.cjs} +41 -39
- package/dist/{chunk-2OYKOHFK.cjs → chunk-LUWYWYNC.cjs} +2 -2
- 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-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-OFX6XEVN.cjs → chunk-PQSTPJQQ.cjs} +13 -13
- package/dist/{chunk-YKJ4JN6T.cjs → chunk-RL45AU2C.cjs} +42 -42
- package/dist/{chunk-DIY4SJZI.cjs → chunk-RT6QATX4.cjs} +19 -19
- package/dist/{chunk-ODZ5XGWA.cjs → chunk-THOGSAFH.cjs} +2076 -2052
- package/dist/{chunk-UONQCE5N.cjs → chunk-TS6TISIF.cjs} +209 -208
- package/dist/{chunk-SMEX3BWO.cjs → chunk-UPQMFK5B.cjs} +7 -7
- package/dist/{chunk-5PBWAF2D.cjs → chunk-URFAMWCA.cjs} +44 -44
- package/dist/{chunk-VDTLVFCV.cjs → chunk-WHNI4QTG.cjs} +13 -13
- package/dist/{chunk-EYNQE2XN.cjs → chunk-WS7IDGEL.cjs} +6 -6
- package/dist/{chunk-QD7SKYCQ.cjs → chunk-WSBWP7IW.cjs} +3 -3
- package/dist/{chunk-RYIWADIB.cjs → chunk-XAA5LUHC.cjs} +12 -12
- package/dist/{chunk-XYKVOBIP.cjs → chunk-XKDJ5ISQ.cjs} +3 -3
- package/dist/{chunk-A7FSNBNV.cjs → chunk-YU23M33V.cjs} +173 -172
- 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-QYW3MPPP.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/embeddable-chat.js +120 -98
- 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-DMMMEO2B.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-OSSPL7L4.cjs} +226 -204
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +48 -48
- package/dist/{knowledge-A5KJ4CAD.cjs → knowledge-XQQXVV6C.cjs} +33 -33
- package/dist/{logs-6WRBPIMM.cjs → logs-BHKMDCBP.cjs} +41 -41
- package/dist/{policies-ICRXHW3H.cjs → policies-5IY7QUED.cjs} +36 -36
- package/dist/{remote-session-MEV5JL2Z.cjs → remote-session-IEOWFBF7.cjs} +17 -17
- package/dist/{scripts-AZVCZE6C.cjs → scripts-ZQXRBGVK.cjs} +39 -39
- package/dist/{software-update-4ZBCGJGA.cjs → software-update-RGFRYL3N.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/embeddable-chat.tsx +21 -4
- 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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMGEUZRNQcjs = require('./chunk-MGEUZRNQ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -31,25 +31,28 @@ var buttonVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
31
31
|
{
|
|
32
32
|
variants: {
|
|
33
33
|
variant: {
|
|
34
|
-
accent:
|
|
35
|
-
outline:
|
|
36
|
-
transparent:
|
|
37
|
-
destructive:
|
|
38
|
-
warning:
|
|
39
|
-
inverted:
|
|
40
|
-
glyph:
|
|
41
|
-
overlay:
|
|
42
|
-
link:
|
|
34
|
+
accent: _chunkMGEUZRNQcjs.buttonSurfaceClasses.accent,
|
|
35
|
+
outline: _chunkMGEUZRNQcjs.cn.call(void 0, _chunkMGEUZRNQcjs.buttonSurfaceClasses.outline, _chunkMGEUZRNQcjs.outlineBorderClasses),
|
|
36
|
+
transparent: _chunkMGEUZRNQcjs.buttonSurfaceClasses.transparent,
|
|
37
|
+
destructive: _chunkMGEUZRNQcjs.buttonSurfaceClasses.destructive,
|
|
38
|
+
warning: _chunkMGEUZRNQcjs.buttonSurfaceClasses.warning,
|
|
39
|
+
inverted: _chunkMGEUZRNQcjs.buttonSurfaceClasses.inverted,
|
|
40
|
+
glyph: _chunkMGEUZRNQcjs.buttonSurfaceClasses.glyph,
|
|
41
|
+
overlay: _chunkMGEUZRNQcjs.buttonSurfaceClasses.overlay,
|
|
42
|
+
link: _chunkMGEUZRNQcjs.buttonSurfaceClasses.link,
|
|
43
|
+
bare: _chunkMGEUZRNQcjs.buttonSurfaceClasses.bare,
|
|
43
44
|
// The kinds that are not a plain push button own their whole box (`BUTTON_KIND_CLASS`); resolved
|
|
44
45
|
// before this map is read, so `size` never reaches them. The entries only type the prop.
|
|
45
46
|
field: "",
|
|
46
47
|
row: "",
|
|
48
|
+
rail: "",
|
|
47
49
|
tab: "",
|
|
50
|
+
segment: "",
|
|
48
51
|
chip: "",
|
|
49
52
|
card: "",
|
|
50
53
|
cell: ""
|
|
51
54
|
},
|
|
52
|
-
size:
|
|
55
|
+
size: _chunkMGEUZRNQcjs.BUTTON_SIZE_CLASS,
|
|
53
56
|
// Label typography axis (Figma 133-740). `bold` is the classic h3-bold
|
|
54
57
|
// label; `regular` swaps the DEFAULT size's label to the h4 step
|
|
55
58
|
// (DM Sans 500, neutral tracking) — added for navigation buttons.
|
|
@@ -84,17 +87,17 @@ var buttonVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
84
87
|
{
|
|
85
88
|
attach: "end",
|
|
86
89
|
variant: "accent",
|
|
87
|
-
class:
|
|
90
|
+
class: _chunkMGEUZRNQcjs.cn.call(void 0, "border-l", _chunkMGEUZRNQcjs.splitDividerColorClasses.accent, "disabled:border-ods-disabled")
|
|
88
91
|
},
|
|
89
92
|
{
|
|
90
93
|
attach: "end",
|
|
91
94
|
variant: "destructive",
|
|
92
|
-
class:
|
|
95
|
+
class: _chunkMGEUZRNQcjs.cn.call(void 0, "border-l", _chunkMGEUZRNQcjs.splitDividerColorClasses.destructive, "disabled:border-ods-disabled")
|
|
93
96
|
},
|
|
94
97
|
{
|
|
95
98
|
attach: "end",
|
|
96
99
|
variant: "warning",
|
|
97
|
-
class:
|
|
100
|
+
class: _chunkMGEUZRNQcjs.cn.call(void 0, "border-l", _chunkMGEUZRNQcjs.splitDividerColorClasses.warning, "disabled:border-ods-disabled")
|
|
98
101
|
},
|
|
99
102
|
{ size: "small", class: "[&_svg]:h-4 [&_svg]:w-4" },
|
|
100
103
|
// Comes after the size classes, so cn()'s tailwind-merge resolves the
|
|
@@ -121,11 +124,11 @@ var splitShellVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
121
124
|
{
|
|
122
125
|
variants: {
|
|
123
126
|
variant: {
|
|
124
|
-
accent:
|
|
125
|
-
outline:
|
|
126
|
-
transparent:
|
|
127
|
-
destructive:
|
|
128
|
-
warning:
|
|
127
|
+
accent: _chunkMGEUZRNQcjs.buttonSurfaceClasses.accent,
|
|
128
|
+
outline: _chunkMGEUZRNQcjs.cn.call(void 0, _chunkMGEUZRNQcjs.buttonSurfaceClasses.outline, _chunkMGEUZRNQcjs.outlineBorderClasses),
|
|
129
|
+
transparent: _chunkMGEUZRNQcjs.buttonSurfaceClasses.transparent,
|
|
130
|
+
destructive: _chunkMGEUZRNQcjs.buttonSurfaceClasses.destructive,
|
|
131
|
+
warning: _chunkMGEUZRNQcjs.buttonSurfaceClasses.warning
|
|
129
132
|
},
|
|
130
133
|
size: {
|
|
131
134
|
default: "h-12",
|
|
@@ -154,7 +157,7 @@ var splitSlotVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
154
157
|
main: "gap-[var(--spacing-system-xsf)]",
|
|
155
158
|
icon: "border-l"
|
|
156
159
|
},
|
|
157
|
-
size:
|
|
160
|
+
size: _chunkMGEUZRNQcjs.splitGlyphSizeBySize,
|
|
158
161
|
variant: { accent: "", outline: "", transparent: "", destructive: "", warning: "" },
|
|
159
162
|
fullWidth: { true: "", false: "" }
|
|
160
163
|
},
|
|
@@ -174,26 +177,26 @@ var splitSlotVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
174
177
|
{
|
|
175
178
|
slot: "icon",
|
|
176
179
|
variant: "accent",
|
|
177
|
-
class:
|
|
178
|
-
|
|
180
|
+
class: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
181
|
+
_chunkMGEUZRNQcjs.splitDividerColorClasses.accent,
|
|
179
182
|
"group-disabled:border-ods-disabled group-aria-disabled:border-ods-disabled"
|
|
180
183
|
)
|
|
181
184
|
},
|
|
182
|
-
{ slot: "icon", variant: "outline", class:
|
|
183
|
-
{ slot: "icon", variant: "transparent", class:
|
|
185
|
+
{ slot: "icon", variant: "outline", class: _chunkMGEUZRNQcjs.splitDividerColorClasses.outline },
|
|
186
|
+
{ slot: "icon", variant: "transparent", class: _chunkMGEUZRNQcjs.splitDividerColorClasses.transparent },
|
|
184
187
|
{
|
|
185
188
|
slot: "icon",
|
|
186
189
|
variant: "destructive",
|
|
187
|
-
class:
|
|
188
|
-
|
|
190
|
+
class: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
191
|
+
_chunkMGEUZRNQcjs.splitDividerColorClasses.destructive,
|
|
189
192
|
"group-disabled:border-ods-disabled group-aria-disabled:border-ods-disabled"
|
|
190
193
|
)
|
|
191
194
|
},
|
|
192
195
|
{
|
|
193
196
|
slot: "icon",
|
|
194
197
|
variant: "warning",
|
|
195
|
-
class:
|
|
196
|
-
|
|
198
|
+
class: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
199
|
+
_chunkMGEUZRNQcjs.splitDividerColorClasses.warning,
|
|
197
200
|
"group-disabled:border-ods-disabled group-aria-disabled:border-ods-disabled"
|
|
198
201
|
)
|
|
199
202
|
}
|
|
@@ -236,16 +239,16 @@ var Button = _react2.default.forwardRef(function ButtonImpl({
|
|
|
236
239
|
...props
|
|
237
240
|
}, ref) {
|
|
238
241
|
const isDisabled = disabled || loading;
|
|
239
|
-
const kind = variant && variant in
|
|
242
|
+
const kind = variant && variant in _chunkMGEUZRNQcjs.BUTTON_KIND_CLASS ? variant : null;
|
|
240
243
|
const useSplitLayout = !kind && !!splitIcon && (size === "default" || size === "small" || size === void 0);
|
|
241
244
|
if (useSplitLayout) {
|
|
242
245
|
const safeSize = _nullishCoalesce(size, () => ( "default"));
|
|
243
246
|
const safeVariant = _nullishCoalesce(variant, () => ( "accent"));
|
|
244
|
-
const shellClasses =
|
|
247
|
+
const shellClasses = _chunkMGEUZRNQcjs.cn.call(void 0, splitShellVariants({ variant: safeVariant, size: safeSize, font, fullWidth }), className);
|
|
245
248
|
const mainSlotClass = splitSlotVariants({ slot: "main", size: safeSize, variant: safeVariant, fullWidth });
|
|
246
249
|
const iconSlotClass = splitSlotVariants({ slot: "icon", size: safeSize, variant: safeVariant });
|
|
247
250
|
const splitContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
248
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
251
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "contents", loading && "invisible"), children: [
|
|
249
252
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: mainSlotClass, children: [
|
|
250
253
|
leftIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex items-center", children: leftIcon }),
|
|
251
254
|
children,
|
|
@@ -261,9 +264,9 @@ var Button = _react2.default.forwardRef(function ButtonImpl({
|
|
|
261
264
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
265
|
"span",
|
|
263
266
|
{
|
|
264
|
-
className:
|
|
267
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
265
268
|
"absolute inset-0 inline-flex items-center justify-center text-ods-text-primary",
|
|
266
|
-
|
|
269
|
+
_chunkMGEUZRNQcjs.splitGlyphSizeBySize[safeSize]
|
|
267
270
|
),
|
|
268
271
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Spinner, {})
|
|
269
272
|
}
|
|
@@ -276,10 +279,10 @@ var Button = _react2.default.forwardRef(function ButtonImpl({
|
|
|
276
279
|
href,
|
|
277
280
|
download,
|
|
278
281
|
prefetch: false,
|
|
279
|
-
className:
|
|
282
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, shellClasses, isDisabled && "pointer-events-none"),
|
|
280
283
|
onClick,
|
|
281
284
|
"aria-label": props["aria-label"],
|
|
282
|
-
...
|
|
285
|
+
..._chunkMGEUZRNQcjs.loadingItemProps.call(void 0, props),
|
|
283
286
|
children: splitContent
|
|
284
287
|
}
|
|
285
288
|
);
|
|
@@ -301,21 +304,21 @@ var Button = _react2.default.forwardRef(function ButtonImpl({
|
|
|
301
304
|
"aria-label": props["aria-label"],
|
|
302
305
|
"aria-disabled": isDisabled || void 0,
|
|
303
306
|
tabIndex: isDisabled ? -1 : void 0,
|
|
304
|
-
className:
|
|
307
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, shellClasses, isDisabled && "pointer-events-none"),
|
|
305
308
|
onClick: splitAnchor.onClick,
|
|
306
|
-
...
|
|
309
|
+
..._chunkMGEUZRNQcjs.loadingItemProps.call(void 0, props),
|
|
307
310
|
children: splitContent
|
|
308
311
|
}
|
|
309
312
|
);
|
|
310
313
|
}
|
|
311
314
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { ref, className: shellClasses, disabled: isDisabled, onClick, ...props, children: splitContent });
|
|
312
315
|
}
|
|
313
|
-
const classes = kind ?
|
|
316
|
+
const classes = kind ? _chunkMGEUZRNQcjs.cn.call(void 0, _chunkMGEUZRNQcjs.BUTTON_KIND_CLASS[kind], loading && "relative", fullWidth && "w-full", className) : _chunkMGEUZRNQcjs.cn.call(void 0, buttonVariants({ variant, size, font, fullWidth, noPaddingX, attach }), className);
|
|
314
317
|
if (asChild) {
|
|
315
318
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactslot.Slot, { ref, className: classes, ...props, children });
|
|
316
319
|
}
|
|
317
320
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
318
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
321
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "contents", loading && "invisible"), children: [
|
|
319
322
|
leftIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex items-center", children: leftIcon }),
|
|
320
323
|
children,
|
|
321
324
|
rightIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex items-center", children: rightIcon })
|
|
@@ -329,7 +332,7 @@ var Button = _react2.default.forwardRef(function ButtonImpl({
|
|
|
329
332
|
href,
|
|
330
333
|
download,
|
|
331
334
|
prefetch: false,
|
|
332
|
-
className:
|
|
335
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, classes, isDisabled && "pointer-events-none"),
|
|
333
336
|
onClick,
|
|
334
337
|
"aria-label": props["aria-label"],
|
|
335
338
|
children: content
|
|
@@ -353,7 +356,7 @@ var Button = _react2.default.forwardRef(function ButtonImpl({
|
|
|
353
356
|
"aria-label": props["aria-label"],
|
|
354
357
|
"aria-disabled": isDisabled || void 0,
|
|
355
358
|
tabIndex: isDisabled ? -1 : void 0,
|
|
356
|
-
className:
|
|
359
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, classes, isDisabled && "pointer-events-none"),
|
|
357
360
|
onClick: anchor.onClick,
|
|
358
361
|
children: content
|
|
359
362
|
}
|
|
@@ -394,7 +397,7 @@ function Half({
|
|
|
394
397
|
disabled,
|
|
395
398
|
"aria-label": ariaLabel,
|
|
396
399
|
onClick,
|
|
397
|
-
className:
|
|
400
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, grow && "flex-1", side === "icon" && soloOnMobile && "max-md:hidden"),
|
|
398
401
|
children
|
|
399
402
|
}
|
|
400
403
|
);
|
|
@@ -425,7 +428,7 @@ var SplitButton = _react2.default.forwardRef(function SplitButtonImpl({
|
|
|
425
428
|
ref,
|
|
426
429
|
role: "group",
|
|
427
430
|
"aria-label": groupAriaLabel,
|
|
428
|
-
className:
|
|
431
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, "inline-flex items-stretch", fullWidth && "w-full", className),
|
|
429
432
|
children: [
|
|
430
433
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
431
434
|
Half,
|
|
@@ -12,15 +12,15 @@ var _chunk4TUSPDNScjs = require('./chunk-4TUSPDNS.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk4DQ4CNAGcjs = require('./chunk-4DQ4CNAG.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkFLS6DZENcjs = require('./chunk-FLS6DZEN.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkMGEUZRNQcjs = require('./chunk-MGEUZRNQ.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -99,11 +99,11 @@ var SecondaryAction = ({ action }) => {
|
|
|
99
99
|
"span",
|
|
100
100
|
{
|
|
101
101
|
"aria-hidden": "true",
|
|
102
|
-
className:
|
|
102
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, "w-px shrink-0 self-stretch bg-ods-border", action.openInNewTab && "max-md:hidden")
|
|
103
103
|
}
|
|
104
104
|
),
|
|
105
105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
106
|
-
|
|
106
|
+
_chunkFLS6DZENcjs.Button,
|
|
107
107
|
{
|
|
108
108
|
variant: "cell",
|
|
109
109
|
type: "button",
|
|
@@ -112,7 +112,7 @@ var SecondaryAction = ({ action }) => {
|
|
|
112
112
|
openInNewTab: action.openInNewTab,
|
|
113
113
|
"aria-label": action["aria-label"],
|
|
114
114
|
disabled: action.disabled,
|
|
115
|
-
className:
|
|
115
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, "h-auto self-stretch", action.openInNewTab && "max-md:hidden"),
|
|
116
116
|
onClick: handleClick,
|
|
117
117
|
children: action.icon
|
|
118
118
|
}
|
|
@@ -120,8 +120,8 @@ var SecondaryAction = ({ action }) => {
|
|
|
120
120
|
] });
|
|
121
121
|
};
|
|
122
122
|
var MenuItem = ({ item, onItemClick }) => {
|
|
123
|
-
const portalContainer =
|
|
124
|
-
const collisionBoundary =
|
|
123
|
+
const portalContainer = _chunk4DQ4CNAGcjs.usePortalContainer.call(void 0, );
|
|
124
|
+
const collisionBoundary = _chunk4DQ4CNAGcjs.useCollisionBoundary.call(void 0, );
|
|
125
125
|
const activate = _react.useCallback.call(void 0, () => {
|
|
126
126
|
if (item.disabled) return;
|
|
127
127
|
if (item.type === "checkbox") {
|
|
@@ -165,17 +165,17 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
165
165
|
if (item.type === "separator") {
|
|
166
166
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-full bg-ods-divider" });
|
|
167
167
|
}
|
|
168
|
-
const itemClasses =
|
|
168
|
+
const itemClasses = _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
169
169
|
ROW_CLASSES,
|
|
170
170
|
item.disabled ? "pointer-events-none cursor-not-allowed text-ods-text-secondary opacity-60" : "text-ods-text-primary hover:bg-ods-bg-hover"
|
|
171
171
|
);
|
|
172
|
-
const subTriggerClasses =
|
|
172
|
+
const subTriggerClasses = _chunkMGEUZRNQcjs.cn.call(void 0, itemClasses, "focus:bg-ods-bg-hover data-[state=open]:bg-ods-bg-active");
|
|
173
173
|
const renderAsLink = !!item.href && item.type !== "submenu" && item.type !== "checkbox";
|
|
174
174
|
const rowContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
175
175
|
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
178
|
-
className:
|
|
178
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
179
179
|
"flex h-4 w-4 flex-shrink-0 items-center justify-center md:h-6 md:w-6",
|
|
180
180
|
item.danger && "text-ods-error",
|
|
181
181
|
item.disabled && "opacity-50"
|
|
@@ -186,7 +186,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
186
186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
187
|
"span",
|
|
188
188
|
{
|
|
189
|
-
className:
|
|
189
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
190
190
|
"flex-1 font-medium leading-6 text-h4",
|
|
191
191
|
item.disabled ? "text-ods-text-secondary" : item.danger ? "text-ods-error" : "text-ods-text-primary"
|
|
192
192
|
),
|
|
@@ -196,7 +196,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
196
196
|
item.type === "checkbox" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
197
197
|
"div",
|
|
198
198
|
{
|
|
199
|
-
className:
|
|
199
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
200
200
|
"flex h-4 w-4 items-center justify-center rounded-md transition-colors md:h-6 md:w-6",
|
|
201
201
|
item.checked ? "bg-ods-accent" : "border-2 border-ods-border bg-transparent"
|
|
202
202
|
),
|
|
@@ -233,7 +233,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
233
233
|
{
|
|
234
234
|
sideOffset: 4,
|
|
235
235
|
collisionBoundary: _nullishCoalesce(collisionBoundary, () => ( void 0)),
|
|
236
|
-
collisionPadding: collisionBoundary ?
|
|
236
|
+
collisionPadding: collisionBoundary ? _chunk4DQ4CNAGcjs.COLLISION_PADDING_PX : void 0,
|
|
237
237
|
hideWhenDetached: true,
|
|
238
238
|
className: "z-[1500] max-h-[var(--radix-popper-available-height)] min-w-[256px] overflow-y-auto rounded-md border border-ods-border bg-ods-bg p-0 shadow-xl",
|
|
239
239
|
children: item.submenu.map((subItem, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MenuItem, { item: subItem, onItemClick }, subItem.id || index))
|
|
@@ -299,7 +299,7 @@ var ActionsMenuDropdown = ({
|
|
|
299
299
|
onCloseAutoFocus,
|
|
300
300
|
loading: loadingProp = false
|
|
301
301
|
}) => {
|
|
302
|
-
const loading =
|
|
302
|
+
const loading = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
303
303
|
const [open = false, setOpen] = _reactusecontrollablestate.useControllableState.call(void 0, {
|
|
304
304
|
prop: openProp,
|
|
305
305
|
defaultProp: false,
|
|
@@ -333,7 +333,7 @@ var ActionsMenuDropdown = ({
|
|
|
333
333
|
[onItemClick, setOpen]
|
|
334
334
|
);
|
|
335
335
|
const triggerNode = _nullishCoalesce(customTrigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
336
|
-
|
|
336
|
+
_chunkFLS6DZENcjs.Button,
|
|
337
337
|
{
|
|
338
338
|
variant: "outline",
|
|
339
339
|
size: "icon",
|
|
@@ -343,18 +343,18 @@ var ActionsMenuDropdown = ({
|
|
|
343
343
|
}
|
|
344
344
|
)));
|
|
345
345
|
if (loading) {
|
|
346
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGEUZRNQcjs.InertWhileLoading, { children: triggerNode });
|
|
347
347
|
}
|
|
348
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4DQ4CNAGcjs.DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
|
|
349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4DQ4CNAGcjs.DropdownMenuTrigger, { asChild: true, ref: triggerRef, children: triggerNode }),
|
|
350
350
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
351
|
-
|
|
351
|
+
_chunk4DQ4CNAGcjs.DropdownMenuContent,
|
|
352
352
|
{
|
|
353
353
|
align,
|
|
354
354
|
side,
|
|
355
355
|
sideOffset,
|
|
356
356
|
onCloseAutoFocus,
|
|
357
|
-
className:
|
|
357
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, "overflow-visible border-0 bg-transparent p-0 shadow-none", contentClassName),
|
|
358
358
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenu, { groups, onItemClick: handleItemClick, className, header })
|
|
359
359
|
}
|
|
360
360
|
)
|
|
@@ -369,13 +369,13 @@ var TooltipProvider = TooltipPrimitive.Provider;
|
|
|
369
369
|
var Tooltip = TooltipPrimitive.Root;
|
|
370
370
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
371
371
|
var TooltipContent = _react.forwardRef.call(void 0, ({ className, sideOffset = 4, ...props }, ref) => {
|
|
372
|
-
const container =
|
|
372
|
+
const container = _chunk4DQ4CNAGcjs.usePortalContainer.call(void 0, );
|
|
373
373
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipPrimitive.Portal, { container: _nullishCoalesce(container, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
374
374
|
TooltipPrimitive.Content,
|
|
375
375
|
{
|
|
376
376
|
ref,
|
|
377
377
|
sideOffset,
|
|
378
|
-
className:
|
|
378
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
379
379
|
// `max-h` uses Radix's available-height var so tall content scrolls inside
|
|
380
380
|
// the tooltip instead of overflowing off-screen (only engages on overflow).
|
|
381
381
|
"z-[1400] max-h-[var(--radix-popper-available-height)] overflow-y-auto rounded-md border border-ods-border bg-ods-card px-3 py-2 text-ods-text-primary shadow-lg animate-in fade-in-0 zoom-in-95 text-h6 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|