xmlui 0.11.16 → 0.11.17
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/lib/{index-ontex45U.js → index-DDJqM9b9.js} +26 -15
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-BsfLxhPR.js → initMock-CnArkQw6.js} +1 -1
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-BL0tS7Su.js → collectedComponentMetadata-DGQY08ZB.js} +26 -15
- package/dist/metadata/{initMock-RhX6qMsS.js → initMock-CLejPJkl.js} +1 -1
- package/dist/metadata/xmlui-metadata.css +1 -1
- package/dist/metadata/xmlui-metadata.js +1 -1
- package/dist/metadata/xmlui-metadata.umd.cjs +1 -1
- package/dist/standalone/xmlui-standalone.umd.js +6 -6
- package/package.json +1 -1
|
@@ -1721,15 +1721,15 @@ const styles$1i = {
|
|
|
1721
1721
|
overflowDropdown
|
|
1722
1722
|
};
|
|
1723
1723
|
const themeVars$_ = `'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`;
|
|
1724
|
-
const DropdownMenuContent = "
|
|
1725
|
-
const compact = "
|
|
1726
|
-
const DropdownMenuSubContent = "
|
|
1727
|
-
const DropdownMenuItem = "
|
|
1728
|
-
const DropdownMenuSubTrigger = "
|
|
1729
|
-
const active$3 = "
|
|
1730
|
-
const disabled$b = "
|
|
1731
|
-
const wrapper$m = "
|
|
1732
|
-
const DropdownMenuSeparator = "
|
|
1724
|
+
const DropdownMenuContent = "_DropdownMenuContent_wsn5i_14";
|
|
1725
|
+
const compact = "_compact_wsn5i_19";
|
|
1726
|
+
const DropdownMenuSubContent = "_DropdownMenuSubContent_wsn5i_23";
|
|
1727
|
+
const DropdownMenuItem = "_DropdownMenuItem_wsn5i_33";
|
|
1728
|
+
const DropdownMenuSubTrigger = "_DropdownMenuSubTrigger_wsn5i_34";
|
|
1729
|
+
const active$3 = "_active_wsn5i_57";
|
|
1730
|
+
const disabled$b = "_disabled_wsn5i_67";
|
|
1731
|
+
const wrapper$m = "_wrapper_wsn5i_82";
|
|
1732
|
+
const DropdownMenuSeparator = "_DropdownMenuSeparator_wsn5i_86";
|
|
1733
1733
|
const styles$1h = {
|
|
1734
1734
|
themeVars: themeVars$_,
|
|
1735
1735
|
DropdownMenuContent,
|
|
@@ -3496,7 +3496,9 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
|
|
|
3496
3496
|
ref: contentRef,
|
|
3497
3497
|
align: alignment,
|
|
3498
3498
|
style: style2,
|
|
3499
|
-
className: classnames(styles$1h.DropdownMenuContent, className, {
|
|
3499
|
+
className: classnames(styles$1h.DropdownMenuContent, className, {
|
|
3500
|
+
[styles$1h.compact]: compact2
|
|
3501
|
+
}),
|
|
3500
3502
|
onOpenAutoFocus: (e) => {
|
|
3501
3503
|
e.preventDefault();
|
|
3502
3504
|
contentRef.current?.focus();
|
|
@@ -24653,7 +24655,7 @@ function ApiInterceptorProvider({
|
|
|
24653
24655
|
return;
|
|
24654
24656
|
}
|
|
24655
24657
|
void (async () => {
|
|
24656
|
-
const { initMock } = await import("./initMock-
|
|
24658
|
+
const { initMock } = await import("./initMock-CnArkQw6.js");
|
|
24657
24659
|
const apiInstance2 = await initMock(interceptor);
|
|
24658
24660
|
setApiInstance(apiInstance2);
|
|
24659
24661
|
setInitialized(true);
|
|
@@ -24670,7 +24672,7 @@ function ApiInterceptorProvider({
|
|
|
24670
24672
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
24671
24673
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24672
24674
|
useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
24673
|
-
import("./initMock-
|
|
24675
|
+
import("./initMock-CnArkQw6.js")
|
|
24674
24676
|
]);
|
|
24675
24677
|
if (interceptor || forceInitialize) {
|
|
24676
24678
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -24707,7 +24709,7 @@ function ApiInterceptorProvider({
|
|
|
24707
24709
|
void (async () => {
|
|
24708
24710
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24709
24711
|
import("./apiInterceptorWorker-dwrAyq6l.js"),
|
|
24710
|
-
import("./initMock-
|
|
24712
|
+
import("./initMock-CnArkQw6.js")
|
|
24711
24713
|
]);
|
|
24712
24714
|
const apiInstance2 = await initMock(interceptor);
|
|
24713
24715
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -32289,7 +32291,16 @@ const XmlUiBlogThemeDefinition = {
|
|
|
32289
32291
|
id: "xmlui-blog",
|
|
32290
32292
|
extends: "xmlui",
|
|
32291
32293
|
color: "$color-primary-500",
|
|
32292
|
-
themeVars: {
|
|
32294
|
+
themeVars: {
|
|
32295
|
+
// --- App layout
|
|
32296
|
+
"maxWidth-content-App": "800px",
|
|
32297
|
+
// --- Fundamental colors & typography
|
|
32298
|
+
backgroundColor: "$color-surface-0",
|
|
32299
|
+
"fontWeight-Text": "400",
|
|
32300
|
+
"fontWeight-bold": "700",
|
|
32301
|
+
"textColor-primary": "$color-surface-800",
|
|
32302
|
+
"textColor-NavLink--active": "$color-primary"
|
|
32303
|
+
}
|
|
32293
32304
|
};
|
|
32294
32305
|
const XmlUiWebThemeDefinition = {
|
|
32295
32306
|
id: "xmlui-web",
|
|
@@ -46673,7 +46684,7 @@ function IconProvider({ children }) {
|
|
|
46673
46684
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
46674
46685
|
] });
|
|
46675
46686
|
}
|
|
46676
|
-
const version = "0.11.
|
|
46687
|
+
const version = "0.11.17";
|
|
46677
46688
|
const miscellaneousUtils = {
|
|
46678
46689
|
capitalize,
|
|
46679
46690
|
pluralize: pluralize$1,
|