@mt-gloss/ui 0.0.14 → 0.0.15
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/BaseAsyncButton-nFOdhiBv.js +179 -0
- package/{Expandable-aJSmv_1C.js → Expandable-BXdTP6Nb.js} +2354 -2249
- package/{UIContext-Cx54OlNB.js → UIContext-C3E-k7HI.js} +185 -141
- package/catalog.js +356 -412
- package/index.js +299 -292
- package/internals.js +26 -26
- package/lib/composites/overlay/MergePrompt/MergePrompt.d.ts +12 -0
- package/package.json +1 -1
- package/ui.css +1 -1
- package/BaseAsyncButton-x5Us8SVv.js +0 -223
package/internals.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as B } from "./UIContext-
|
|
2
|
-
import { F as A, I, G as H, H as M,
|
|
3
|
-
import { d as qa, f as Ja, e as Ka, a as Qa, B as Ya, c as as, b as ss, T as es } from "./BaseAsyncButton-x5Us8SVv.js";
|
|
1
|
+
import { b as B } from "./UIContext-C3E-k7HI.js";
|
|
2
|
+
import { F as A, I, G as H, H as M, af as $, ah as R, c as E, h as F, t as O, D as U, w as z, x as W, v as L, y as j, A as G, z as V, k as X, ai as Z, a7 as q, aa as J, a9 as K, a8 as Q, ab as Y, Q as aa, W as sa, X as ea, V as oa, a0 as ta, a1 as la, e as ra, a4 as ia, a6 as da, a5 as na, g as ca, i as Ba, aj as ga, a3 as ba, J as ma, M as ua, K as pa, L as ya, a2 as ha, B as _a, ag as fa, l as va, ac as Ca, O as ka, P as Da, n as Ta, p as wa, r as xa, q as Sa, o as Na, s as Pa, d as Aa, ad as Ia, j as Ha, Y as Ma, $ as $a, _ as Ra, ae as Ea, m as Fa, N as Oa, f as Ua, C as za, E as Wa, R as La, S as ja, T as Ga, a as Va, U as Xa, Z as Za, u as qa } from "./UIContext-C3E-k7HI.js";
|
|
4
3
|
import { jsx as d, jsxs as g, Fragment as b } from "react/jsx-runtime";
|
|
5
|
-
|
|
4
|
+
import { c as Ka, e as Qa, d as Ya, B as as, b as ss, a as es } from "./BaseAsyncButton-nFOdhiBv.js";
|
|
5
|
+
const T = {
|
|
6
6
|
DurationFast: "var(--gloss-motion-duration-fast)",
|
|
7
7
|
DurationNormal: "var(--gloss-motion-duration-normal)",
|
|
8
8
|
DurationSlow: "var(--gloss-motion-duration-slow)",
|
|
@@ -187,12 +187,12 @@ export {
|
|
|
187
187
|
I as BaseAccordionContent,
|
|
188
188
|
H as BaseAccordionItem,
|
|
189
189
|
M as BaseAccordionTrigger,
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
Ka as BaseAlert,
|
|
191
|
+
Qa as BaseAsyncButton,
|
|
192
192
|
$ as BaseAvatar,
|
|
193
193
|
R as BaseBadge,
|
|
194
194
|
E as BaseBox,
|
|
195
|
-
|
|
195
|
+
Ya as BaseBreadcrumbs,
|
|
196
196
|
F as BaseButton,
|
|
197
197
|
O as BaseCard,
|
|
198
198
|
U as BaseCardActions,
|
|
@@ -225,7 +225,7 @@ export {
|
|
|
225
225
|
na as BaseFileUploadList,
|
|
226
226
|
ca as BaseIcon,
|
|
227
227
|
Ba as BaseInput,
|
|
228
|
-
|
|
228
|
+
as as BaseLabel,
|
|
229
229
|
ga as BaseLink,
|
|
230
230
|
ba as BaseMaskedInput,
|
|
231
231
|
ma as BaseMenu,
|
|
@@ -239,8 +239,8 @@ export {
|
|
|
239
239
|
va as BaseRadio,
|
|
240
240
|
Ca as BaseRangeSlider,
|
|
241
241
|
ka as BaseRating,
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
Da as BaseSegmentedControl,
|
|
243
|
+
Ta as BaseSelect,
|
|
244
244
|
wa as BaseSelectDropdown,
|
|
245
245
|
xa as BaseSelectGroup,
|
|
246
246
|
Sa as BaseSelectOption,
|
|
@@ -257,23 +257,23 @@ export {
|
|
|
257
257
|
Ma as BaseTimePicker,
|
|
258
258
|
$a as BaseTimePickerCell,
|
|
259
259
|
Ra as BaseTimePickerColumn,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
260
|
+
Ea as BaseTitle,
|
|
261
|
+
ss as BaseToast,
|
|
262
|
+
Fa as BaseToggle,
|
|
263
|
+
Oa as BaseTooltip,
|
|
264
|
+
Ua as BaseTypography,
|
|
265
|
+
es as BaseValue,
|
|
266
266
|
S as Border,
|
|
267
267
|
w as Breakpoint,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
za as Color,
|
|
269
|
+
Wa as Elevation,
|
|
270
|
+
T as Motion,
|
|
271
271
|
x as Opacity,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
272
|
+
La as Radius,
|
|
273
|
+
ja as Spacing,
|
|
274
|
+
Ga as Typography,
|
|
275
|
+
Va as UIContext,
|
|
276
|
+
Xa as UIContextProvider,
|
|
277
|
+
Za as ZIndex,
|
|
278
|
+
qa as useUIContext
|
|
279
279
|
};
|
|
@@ -9,6 +9,18 @@ import { MergePromptProps } from './types';
|
|
|
9
9
|
*
|
|
10
10
|
* 200ms click-ignore window: prevents accidental drop-click-dismiss when
|
|
11
11
|
* the prompt appears immediately after a drag-drop action.
|
|
12
|
+
*
|
|
13
|
+
* 2026-04-17 refactor (debug 260417-phase9-mp-combine-glossui): internal
|
|
14
|
+
* markup migrated from raw div/button elements to gloss-ui primitives:
|
|
15
|
+
* - BaseBox for layout (replaces the three .gloss-merge-prompt__* divs)
|
|
16
|
+
* - BaseTitle level=4 for the heading
|
|
17
|
+
* - PresetText variant="caption" for the card label/value rows
|
|
18
|
+
* - PresetButton variant="primary" for Combine and variant="ghost" for Dismiss
|
|
19
|
+
*
|
|
20
|
+
* The BEM .gloss-merge-prompt__* classes are retained on the outer shells so
|
|
21
|
+
* existing reptime-cloud overrides (merge-prompt-overrides.scss) and test
|
|
22
|
+
* selectors continue to work. Individual row styling now comes from the
|
|
23
|
+
* gloss primitives themselves (BaseBox spacing, PresetText typography).
|
|
12
24
|
*/
|
|
13
25
|
export declare function MergePrompt({ open, cardA, cardB, categoryLabel, onAccept, onDismiss, anchorRef, }: MergePromptProps): import("react/jsx-runtime").JSX.Element;
|
|
14
26
|
export declare namespace MergePrompt {
|