@mt-gloss/ui 0.1.139 → 0.2.0
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-CJlY7Uik.js → BaseAsyncButton-Cq_l7clO.js} +29 -30
- package/COMMITS-Dm8qIHaq.js +444 -0
- package/Expandable-BcmIxWR8.js +13807 -0
- package/UIContext-DP6JGCto.js +1731 -0
- package/catalog.js +120 -122
- package/composites-panels.js +581 -1404
- package/index.d.ts +4 -2
- package/index.js +2368 -2029
- package/internals.js +80 -81
- package/lib/base/BaseAccordion/BaseAccordion.d.ts +4 -24
- package/lib/base/BaseCard/BaseCard.d.ts +8 -48
- package/lib/base/BaseCheckbox/BaseCheckbox.d.ts +1 -6
- package/lib/base/BaseInput/BaseInput.d.ts +1 -6
- package/lib/base/BaseMaskedInput/BaseMaskedInput.d.ts +1 -6
- package/lib/base/BaseMenu/BaseMenu.d.ts +2 -12
- package/lib/base/BaseRadio/BaseRadio.d.ts +1 -6
- package/lib/base/BaseRating/BaseRating.d.ts +1 -6
- package/lib/base/BaseSegmentedControl/BaseSegmentedControl.d.ts +1 -6
- package/lib/base/BaseSelect/BaseSelect.d.ts +2 -12
- package/lib/base/BaseTextarea/BaseTextarea.d.ts +1 -6
- package/lib/base/BaseToggle/BaseToggle.d.ts +1 -6
- package/lib/base/BaseTooltip/BaseTooltip.d.ts +1 -6
- package/lib/composites/dashboard/BellPopover/BellPopover.d.ts +0 -12
- package/lib/composites/forms/PasswordInput.d.ts +1 -6
- package/lib/composites/forms/PhoneInput.d.ts +1 -6
- package/lib/composites/forms/SearchInput.d.ts +1 -6
- package/lib/composites/forms/TagInput.d.ts +1 -6
- package/lib/composites/inputs/FilterChip.d.ts +1 -6
- package/lib/composites/overlay/SplitButton/SplitButton.d.ts +1 -6
- package/lib/composites/panels/PanelChrome.d.ts +1 -23
- package/lib/composites/panels/PanelSlot.d.ts +3 -14
- package/lib/composites/panels/coordinator/types.d.ts +1 -12
- package/lib/composites/panels/index.d.ts +4 -7
- package/lib/composites/panels/shells/CatalogAddShell.d.ts +8 -21
- package/lib/composites/panels/shells/CatalogReplaceShell.d.ts +4 -9
- package/lib/composites/panels/shells/PageMgmtShell.d.ts +3 -28
- package/lib/composites/panels/shells/SettingsShell.d.ts +3 -57
- package/lib/composites/panels/shells/index.d.ts +2 -4
- package/lib/composites/panels/shells/internals/CatalogLensPicker.d.ts +1 -14
- package/lib/composites/panels/shells/internals/CatalogTileGrid.d.ts +1 -18
- package/lib/composites/panels/shells/internals/PageMgmtFooter.d.ts +0 -11
- package/lib/composites/panels/shells/internals/PageMgmtRow.d.ts +1 -6
- package/lib/composites/panels/shells/internals/catalog-mocks.d.ts +8 -145
- package/lib/composites/panels/stage3d/CloneStage.d.ts +1 -11
- package/lib/containers/ContainerDialog/ContainerDialog.d.ts +3 -18
- package/lib/containers/ContainerFormSection/ContainerFormSection.d.ts +1 -6
- package/lib/containers/ContainerPanel/ContainerPanel.d.ts +1 -6
- package/lib/containers/ContainerTable/ContainerTable.d.ts +1 -6
- package/lib/containers/ContainerToolbar/ContainerToolbar.d.ts +1 -6
- package/lib/presets/PresetAccordion/PresetAccordion.d.ts +4 -24
- package/lib/presets/PresetBadge/PresetBadge.d.ts +1 -6
- package/lib/presets/PresetCard/PresetCard.d.ts +8 -48
- package/lib/presets/PresetCheckbox/PresetCheckbox.d.ts +1 -6
- package/lib/presets/PresetChip/PresetChip.d.ts +1 -6
- package/lib/presets/PresetColorPicker/PresetColorPicker.d.ts +1 -6
- package/lib/presets/PresetDatePicker/PresetDatePicker.d.ts +1 -6
- package/lib/presets/PresetDateRangePicker/PresetDateRangePicker.d.ts +1 -6
- package/lib/presets/PresetFileUpload/PresetFileUpload.d.ts +1 -6
- package/lib/presets/PresetInput/PresetInput.d.ts +1 -6
- package/lib/presets/PresetLink/PresetLink.d.ts +1 -6
- package/lib/presets/PresetMaskedInput/PresetMaskedInput.d.ts +1 -6
- package/lib/presets/PresetMenu/PresetMenu.d.ts +2 -12
- package/lib/presets/PresetNumberInput/PresetNumberInput.d.ts +1 -6
- package/lib/presets/PresetRadio/PresetRadio.d.ts +1 -6
- package/lib/presets/PresetRangeSlider/PresetRangeSlider.d.ts +1 -6
- package/lib/presets/PresetRating/PresetRating.d.ts +1 -6
- package/lib/presets/PresetTextarea/PresetTextarea.d.ts +1 -6
- package/lib/presets/PresetTimePicker/PresetTimePicker.d.ts +1 -6
- package/lib/presets/PresetToggle/PresetToggle.d.ts +1 -6
- package/lib/primitives/dashboard/ResizePill/ResizePill.d.ts +1 -7
- package/lib/primitives/dashboard/index.d.ts +0 -1
- package/lib/wrappers/Actionable/Actionable.d.ts +1 -6
- package/lib/wrappers/AsyncLoader/AsyncLoader.d.ts +1 -6
- package/lib/wrappers/ButtonGroup/ButtonGroup.d.ts +1 -6
- package/lib/wrappers/CheckboxGroup/CheckboxGroup.d.ts +1 -6
- package/lib/wrappers/Dismissible/Dismissible.d.ts +1 -6
- package/lib/wrappers/Expandable/Expandable.d.ts +1 -6
- package/lib/wrappers/InputGroup/InputGroup.d.ts +2 -12
- package/lib/wrappers/RadioGroup/RadioGroup.d.ts +1 -6
- package/lib/wrappers/Selectable/Selectable.d.ts +1 -6
- package/lib/wrappers/Sortable/Sortable.d.ts +1 -6
- package/package.json +1 -1
- package/ui.css +1 -1
- package/BaseText-Dxbk1JJa.js +0 -66
- package/COMMITS-DEdHYT0E.js +0 -963
- package/Expandable-DA4NFzCR.js +0 -13243
- package/MetricCard-DOPtBpek.js +0 -698
- package/UIContext-CGQI_KJk.js +0 -1808
- package/lib/composites/panels/chrome-v2/PanelBody.d.ts +0 -5
- package/lib/composites/panels/chrome-v2/PanelChromeV2.d.ts +0 -18
- package/lib/composites/panels/chrome-v2/PanelFooter.d.ts +0 -6
- package/lib/composites/panels/chrome-v2/PanelFooterMessage.d.ts +0 -6
- package/lib/composites/panels/chrome-v2/PanelHeader.d.ts +0 -10
- package/lib/composites/panels/chrome-v2/PanelNavigation.d.ts +0 -5
- package/lib/composites/panels/chrome-v2/PanelStage.d.ts +0 -5
- package/lib/composites/panels/chrome-v2/index.d.ts +0 -23
- package/lib/composites/panels/coordinator/settingsBufferSchemas.d.ts +0 -13
- package/lib/composites/panels/hooks/useEditingCardId.d.ts +0 -16
- package/lib/composites/panels/shells/MetricInfoShell.d.ts +0 -29
- package/lib/composites/panels/shells/NotificationCenterShell.d.ts +0 -2
- package/lib/composites/panels/shells/settings/GhostSlotPill.d.ts +0 -7
- package/lib/composites/panels/shells/settings/SlotsControls.d.ts +0 -11
- package/lib/composites/panels/shells/settings/TimeframeControls.d.ts +0 -6
- package/lib/composites/panels/shells/settings/index.d.ts +0 -14
- package/lib/primitives/dashboard/SettingsTabStrip/SettingsTabStrip.d.ts +0 -17
- package/lib/primitives/dashboard/SettingsTabStrip/index.d.ts +0 -6
- package/lib/primitives/dashboard/SettingsTabStrip/types.d.ts +0 -12
package/BaseText-Dxbk1JJa.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
function f(r) {
|
|
3
|
-
const { as: n, definition: a, className: s, style: o, children: d, ...l } = r, e = n || "div", i = { ...o };
|
|
4
|
-
a?.padding && (i["--_padding"] = a.padding), a?.paddingX && (i["--_px"] = a.paddingX), a?.paddingY && (i["--_py"] = a.paddingY), a?.margin && (i["--_margin"] = a.margin), a?.gap && (i["--_gap"] = a.gap), a?.bg && (i["--_bg"] = a.bg), a?.border && (i["--_border"] = a.border), a?.radius && (i["--_radius"] = a.radius);
|
|
5
|
-
const t = {};
|
|
6
|
-
return a?.display && (t["data-display"] = a.display), a?.direction && (t["data-direction"] = a.direction), a?.align && (t["data-align"] = a.align), a?.justify && (t["data-justify"] = a.justify), a?.wrap && (t["data-wrap"] = ""), a?.paddingX && (t["data-has-px"] = ""), a?.paddingY && (t["data-has-py"] = ""), /* @__PURE__ */ c(
|
|
7
|
-
e,
|
|
8
|
-
{
|
|
9
|
-
className: s ? `gloss-base-box ${s}` : "gloss-base-box",
|
|
10
|
-
style: i,
|
|
11
|
-
...t,
|
|
12
|
-
...l,
|
|
13
|
-
children: d
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
f.displayName = "BaseBox";
|
|
18
|
-
function g(r) {
|
|
19
|
-
const { as: n, definition: a, className: s, style: o, ...d } = r, l = n || "hr", e = { ...o };
|
|
20
|
-
a?.color && (e["--_color"] = a.color), a?.thickness && (e["--_thickness"] = a.thickness), a?.spacing && (e["--_spacing"] = a.spacing);
|
|
21
|
-
const i = {};
|
|
22
|
-
return a?.orientation === "vertical" && (i["data-orientation"] = "vertical"), /* @__PURE__ */ c(
|
|
23
|
-
l,
|
|
24
|
-
{
|
|
25
|
-
className: s ? `gloss-base-divider ${s}` : "gloss-base-divider",
|
|
26
|
-
style: e,
|
|
27
|
-
...i,
|
|
28
|
-
...d
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
g.displayName = "BaseDivider";
|
|
33
|
-
function p(r) {
|
|
34
|
-
const { as: n, definition: a, className: s, style: o, children: d, ...l } = r, e = n || "span", i = { ...o };
|
|
35
|
-
a?.fontFamily && (i["--_font-family"] = a.fontFamily), a?.fontSize && (i["--_font-size"] = a.fontSize), a?.fontWeight && (i["--_font-weight"] = a.fontWeight), a?.lineHeight && (i["--_line-height"] = a.lineHeight), a?.letterSpacing && (i["--_letter-spacing"] = a.letterSpacing), a?.color && (i["--_color"] = a.color);
|
|
36
|
-
const t = {};
|
|
37
|
-
return a?.align && (t["data-align"] = a.align), a?.truncate && (t["data-truncate"] = ""), a?.wrap && (t["data-wrap"] = a.wrap), /* @__PURE__ */ c(
|
|
38
|
-
e,
|
|
39
|
-
{
|
|
40
|
-
className: s ? `gloss-base-typography ${s}` : "gloss-base-typography",
|
|
41
|
-
style: i,
|
|
42
|
-
...t,
|
|
43
|
-
...l,
|
|
44
|
-
children: d
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
p.displayName = "BaseTypography";
|
|
49
|
-
const y = function(n) {
|
|
50
|
-
const { as: a, className: s, ...o } = n;
|
|
51
|
-
return /* @__PURE__ */ c(
|
|
52
|
-
p,
|
|
53
|
-
{
|
|
54
|
-
as: a || "span",
|
|
55
|
-
className: s ? `gloss-base-text ${s}` : "gloss-base-text",
|
|
56
|
-
...o
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
};
|
|
60
|
-
y.displayName = "BaseText";
|
|
61
|
-
export {
|
|
62
|
-
f as B,
|
|
63
|
-
y as a,
|
|
64
|
-
g as b,
|
|
65
|
-
p as c
|
|
66
|
-
};
|