xmlui 0.11.16 → 0.11.18
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-PMsVrlLh.js} +85 -59
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-BsfLxhPR.js → initMock-BL6pZOMv.js} +1 -1
- package/dist/lib/xmlui.d.ts +1 -0
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-BL0tS7Su.js → collectedComponentMetadata-DluIiyr5.js} +85 -59
- package/dist/metadata/{initMock-RhX6qMsS.js → initMock-CWzXht5U.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.es.d.ts +2 -0
- package/dist/standalone/xmlui-standalone.umd.js +36 -36
- package/package.json +12 -12
|
@@ -743,8 +743,9 @@ function mergeProps$1(slotProps, childProps) {
|
|
|
743
743
|
if (isHandler) {
|
|
744
744
|
if (slotPropValue && childPropValue) {
|
|
745
745
|
overrideProps[propName] = (...args) => {
|
|
746
|
-
childPropValue(...args);
|
|
746
|
+
const result = childPropValue(...args);
|
|
747
747
|
slotPropValue(...args);
|
|
748
|
+
return result;
|
|
748
749
|
};
|
|
749
750
|
} else if (slotPropValue) {
|
|
750
751
|
overrideProps[propName] = slotPropValue;
|
|
@@ -3392,6 +3393,7 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
|
|
|
3392
3393
|
triggerButtonIcon = defaultDropdownMenuProps.triggerButtonIcon,
|
|
3393
3394
|
triggerButtonIconPosition = defaultDropdownMenuProps.triggerButtonIconPosition,
|
|
3394
3395
|
compact: compact2 = false,
|
|
3396
|
+
modal = false,
|
|
3395
3397
|
...rest
|
|
3396
3398
|
}, ref) {
|
|
3397
3399
|
const { root: root2 } = useTheme();
|
|
@@ -3465,7 +3467,7 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
|
|
|
3465
3467
|
}, 0);
|
|
3466
3468
|
}
|
|
3467
3469
|
},
|
|
3468
|
-
modal
|
|
3470
|
+
modal,
|
|
3469
3471
|
children: [
|
|
3470
3472
|
/* @__PURE__ */ jsx(
|
|
3471
3473
|
PopoverTrigger,
|
|
@@ -3496,7 +3498,9 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
|
|
|
3496
3498
|
ref: contentRef,
|
|
3497
3499
|
align: alignment,
|
|
3498
3500
|
style: style2,
|
|
3499
|
-
className: classnames(styles$1h.DropdownMenuContent, className, {
|
|
3501
|
+
className: classnames(styles$1h.DropdownMenuContent, className, {
|
|
3502
|
+
[styles$1h.compact]: compact2
|
|
3503
|
+
}),
|
|
3500
3504
|
onOpenAutoFocus: (e) => {
|
|
3501
3505
|
e.preventDefault();
|
|
3502
3506
|
contentRef.current?.focus();
|
|
@@ -16353,15 +16357,15 @@ const flowLayoutComponentRenderer = createComponentRenderer(
|
|
|
16353
16357
|
}
|
|
16354
16358
|
);
|
|
16355
16359
|
const themeVars$A = `'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`;
|
|
16356
|
-
const overlay$2 = "
|
|
16357
|
-
const fullScreen = "
|
|
16358
|
-
const content$5 = "
|
|
16359
|
-
const overlayBg$1 = "
|
|
16360
|
-
const nested = "
|
|
16361
|
-
const contentAnimation = "
|
|
16362
|
-
const dialogTitle = "
|
|
16363
|
-
const innerContent = "
|
|
16364
|
-
const closeButton = "
|
|
16360
|
+
const overlay$2 = "_overlay_do4x4_14";
|
|
16361
|
+
const fullScreen = "_fullScreen_do4x4_22";
|
|
16362
|
+
const content$5 = "_content_do4x4_28";
|
|
16363
|
+
const overlayBg$1 = "_overlayBg_do4x4_37";
|
|
16364
|
+
const nested = "_nested_do4x4_43";
|
|
16365
|
+
const contentAnimation = "_contentAnimation_do4x4_74";
|
|
16366
|
+
const dialogTitle = "_dialogTitle_do4x4_80";
|
|
16367
|
+
const innerContent = "_innerContent_do4x4_85";
|
|
16368
|
+
const closeButton = "_closeButton_do4x4_110";
|
|
16365
16369
|
const styles$V = {
|
|
16366
16370
|
themeVars: themeVars$A,
|
|
16367
16371
|
overlay: overlay$2,
|
|
@@ -21025,47 +21029,47 @@ function useLongPress(elementRef, action2, delay2 = 500) {
|
|
|
21025
21029
|
}, [elementRef, action2, delay2]);
|
|
21026
21030
|
}
|
|
21027
21031
|
const themeVars$p = `'{"border-Select": "var(--xmlui-border-Select)", "borderHorizontal-Select": "var(--xmlui-borderHorizontal-Select, var(--xmlui-border-Select))", "borderVertical-Select": "var(--xmlui-borderVertical-Select, var(--xmlui-border-Select))", "borderLeft-Select": "var(--xmlui-borderLeft-Select, var(--xmlui-borderHorizontal-Select, var(--xmlui-border-Select)))", "borderRight-Select": "var(--xmlui-borderRight-Select, var(--xmlui-borderHorizontal-Select, var(--xmlui-border-Select)))", "borderTop-Select": "var(--xmlui-borderTop-Select, var(--xmlui-borderVertical-Select, var(--xmlui-border-Select)))", "borderBottom-Select": "var(--xmlui-borderBottom-Select, var(--xmlui-borderVertical-Select, var(--xmlui-border-Select)))", "borderWidth-Select": "var(--xmlui-borderWidth-Select)", "borderHorizontalWidth-Select": "var(--xmlui-borderHorizontalWidth-Select, var(--xmlui-borderWidth-Select))", "borderLeftWidth-Select": "var(--xmlui-borderLeftWidth-Select, var(--xmlui-borderHorizontalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderRightWidth-Select": "var(--xmlui-borderRightWidth-Select, var(--xmlui-borderHorizontalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderVerticalWidth-Select": "var(--xmlui-borderVerticalWidth-Select, var(--xmlui-borderWidth-Select))", "borderTopWidth-Select": "var(--xmlui-borderTopWidth-Select, var(--xmlui-borderVerticalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderBottomWidth-Select": "var(--xmlui-borderBottomWidth-Select, var(--xmlui-borderVerticalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderStyle-Select": "var(--xmlui-borderStyle-Select)", "borderHorizontalStyle-Select": "var(--xmlui-borderHorizontalStyle-Select, var(--xmlui-borderStyle-Select))", "borderLeftStyle-Select": "var(--xmlui-borderLeftStyle-Select, var(--xmlui-borderHorizontalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderRightStyle-Select": "var(--xmlui-borderRightStyle-Select, var(--xmlui-borderHorizontalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderVerticalStyle-Select": "var(--xmlui-borderVerticalStyle-Select, var(--xmlui-borderStyle-Select))", "borderTopStyle-Select": "var(--xmlui-borderTopStyle-Select, var(--xmlui-borderVerticalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderBottomStyle-Select": "var(--xmlui-borderBottomStyle-Select, var(--xmlui-borderVerticalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderColor-Select": "var(--xmlui-borderColor-Select)", "borderHorizontalColor-Select": "var(--xmlui-borderHorizontalColor-Select, var(--xmlui-borderColor-Select))", "borderLeftColor-Select": "var(--xmlui-borderLeftColor-Select, var(--xmlui-borderHorizontalColor-Select, var(--xmlui-borderColor-Select)))", "borderRightColor-Select": "var(--xmlui-borderRightColor-Select, var(--xmlui-borderHorizontalColor-Select, var(--xmlui-borderColor-Select)))", "borderVerticalColor-Select": "var(--xmlui-borderVerticalColor-Select, var(--xmlui-borderColor-Select))", "borderTopColor-Select": "var(--xmlui-borderTopColor-Select, var(--xmlui-borderVerticalColor-Select, var(--xmlui-borderColor-Select)))", "borderBottomColor-Select": "var(--xmlui-borderBottomColor-Select, var(--xmlui-borderVerticalColor-Select, var(--xmlui-borderColor-Select)))", "borderStartStartRadius-Select": "var(--xmlui-borderStartStartRadius-Select, var(--xmlui-borderRadius-Select))", "borderStartEndRadius-Select": "var(--xmlui-borderStartEndRadius-Select, var(--xmlui-borderRadius-Select))", "borderEndStartRadius-Select": "var(--xmlui-borderEndStartRadius-Select, var(--xmlui-borderRadius-Select))", "borderEndEndRadius-Select": "var(--xmlui-borderEndEndRadius-Select, var(--xmlui-borderRadius-Select))", "padding-Select": "var(--xmlui-padding-Select)", "paddingHorizontal-Select": "var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select))", "paddingVertical-Select": "var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select))", "paddingLeft-Select": "var(--xmlui-paddingLeft-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingRight-Select": "var(--xmlui-paddingRight-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingTop-Select": "var(--xmlui-paddingTop-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "paddingBottom-Select": "var(--xmlui-paddingBottom-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "padding-item-Select": "var(--xmlui-padding-item-Select)", "paddingHorizontal-item-Select": "var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select))", "paddingVertical-item-Select": "var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select))", "paddingLeft-item-Select": "var(--xmlui-paddingLeft-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingRight-item-Select": "var(--xmlui-paddingRight-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingTop-item-Select": "var(--xmlui-paddingTop-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "paddingBottom-item-Select": "var(--xmlui-paddingBottom-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "Input:borderRadius-Select--default": "var(--xmlui-borderRadius-Select--default)", "Input:borderColor-Select--default": "var(--xmlui-borderColor-Select--default)", "Input:borderWidth-Select--default": "var(--xmlui-borderWidth-Select--default)", "Input:borderStyle-Select--default": "var(--xmlui-borderStyle-Select--default)", "Input:fontSize-Select--default": "var(--xmlui-fontSize-Select--default)", "Input:backgroundColor-Select--default": "var(--xmlui-backgroundColor-Select--default)", "Input:boxShadow-Select--default": "var(--xmlui-boxShadow-Select--default)", "Input:textColor-Select--default": "var(--xmlui-textColor-Select--default)", "Input:borderColor-Select--default--hover": "var(--xmlui-borderColor-Select--default--hover)", "Input:backgroundColor-Select--default--hover": "var(--xmlui-backgroundColor-Select--default--hover)", "Input:boxShadow-Select--default--hover": "var(--xmlui-boxShadow-Select--default--hover)", "Input:textColor-Select--default--hover": "var(--xmlui-textColor-Select--default--hover)", "Input:outlineWidth-Select--default--focus": "var(--xmlui-outlineWidth-Select--default--focus)", "Input:outlineColor-Select--default--focus": "var(--xmlui-outlineColor-Select--default--focus)", "Input:outlineStyle-Select--default--focus": "var(--xmlui-outlineStyle-Select--default--focus)", "Input:outlineOffset-Select--default--focus": "var(--xmlui-outlineOffset-Select--default--focus)", "Input:textColor-placeholder-Select--default": "var(--xmlui-textColor-placeholder-Select--default)", "Input:fontSize-placeholder-Select--default": "var(--xmlui-fontSize-placeholder-Select--default)", "Input:borderRadius-Select--error": "var(--xmlui-borderRadius-Select--error)", "Input:borderColor-Select--error": "var(--xmlui-borderColor-Select--error)", "Input:borderWidth-Select--error": "var(--xmlui-borderWidth-Select--error)", "Input:borderStyle-Select--error": "var(--xmlui-borderStyle-Select--error)", "Input:fontSize-Select--error": "var(--xmlui-fontSize-Select--error)", "Input:backgroundColor-Select--error": "var(--xmlui-backgroundColor-Select--error)", "Input:boxShadow-Select--error": "var(--xmlui-boxShadow-Select--error)", "Input:textColor-Select--error": "var(--xmlui-textColor-Select--error)", "Input:borderColor-Select--error--hover": "var(--xmlui-borderColor-Select--error--hover)", "Input:backgroundColor-Select--error--hover": "var(--xmlui-backgroundColor-Select--error--hover)", "Input:boxShadow-Select--error--hover": "var(--xmlui-boxShadow-Select--error--hover)", "Input:textColor-Select--error--hover": "var(--xmlui-textColor-Select--error--hover)", "Input:outlineWidth-Select--error--focus": "var(--xmlui-outlineWidth-Select--error--focus)", "Input:outlineColor-Select--error--focus": "var(--xmlui-outlineColor-Select--error--focus)", "Input:outlineStyle-Select--error--focus": "var(--xmlui-outlineStyle-Select--error--focus)", "Input:outlineOffset-Select--error--focus": "var(--xmlui-outlineOffset-Select--error--focus)", "Input:textColor-placeholder-Select--error": "var(--xmlui-textColor-placeholder-Select--error)", "Input:fontSize-placeholder-Select--error": "var(--xmlui-fontSize-placeholder-Select--error)", "Input:borderRadius-Select--warning": "var(--xmlui-borderRadius-Select--warning)", "Input:borderColor-Select--warning": "var(--xmlui-borderColor-Select--warning)", "Input:borderWidth-Select--warning": "var(--xmlui-borderWidth-Select--warning)", "Input:borderStyle-Select--warning": "var(--xmlui-borderStyle-Select--warning)", "Input:fontSize-Select--warning": "var(--xmlui-fontSize-Select--warning)", "Input:backgroundColor-Select--warning": "var(--xmlui-backgroundColor-Select--warning)", "Input:boxShadow-Select--warning": "var(--xmlui-boxShadow-Select--warning)", "Input:textColor-Select--warning": "var(--xmlui-textColor-Select--warning)", "Input:borderColor-Select--warning--hover": "var(--xmlui-borderColor-Select--warning--hover)", "Input:backgroundColor-Select--warning--hover": "var(--xmlui-backgroundColor-Select--warning--hover)", "Input:boxShadow-Select--warning--hover": "var(--xmlui-boxShadow-Select--warning--hover)", "Input:textColor-Select--warning--hover": "var(--xmlui-textColor-Select--warning--hover)", "Input:outlineWidth-Select--warning--focus": "var(--xmlui-outlineWidth-Select--warning--focus)", "Input:outlineColor-Select--warning--focus": "var(--xmlui-outlineColor-Select--warning--focus)", "Input:outlineStyle-Select--warning--focus": "var(--xmlui-outlineStyle-Select--warning--focus)", "Input:outlineOffset-Select--warning--focus": "var(--xmlui-outlineOffset-Select--warning--focus)", "Input:textColor-placeholder-Select--warning": "var(--xmlui-textColor-placeholder-Select--warning)", "Input:fontSize-placeholder-Select--warning": "var(--xmlui-fontSize-placeholder-Select--warning)", "Input:borderRadius-Select--success": "var(--xmlui-borderRadius-Select--success)", "Input:borderColor-Select--success": "var(--xmlui-borderColor-Select--success)", "Input:borderWidth-Select--success": "var(--xmlui-borderWidth-Select--success)", "Input:borderStyle-Select--success": "var(--xmlui-borderStyle-Select--success)", "Input:fontSize-Select--success": "var(--xmlui-fontSize-Select--success)", "Input:backgroundColor-Select--success": "var(--xmlui-backgroundColor-Select--success)", "Input:boxShadow-Select--success": "var(--xmlui-boxShadow-Select--success)", "Input:textColor-Select--success": "var(--xmlui-textColor-Select--success)", "Input:borderColor-Select--success--hover": "var(--xmlui-borderColor-Select--success--hover)", "Input:backgroundColor-Select--success--hover": "var(--xmlui-backgroundColor-Select--success--hover)", "Input:boxShadow-Select--success--hover": "var(--xmlui-boxShadow-Select--success--hover)", "Input:textColor-Select--success--hover": "var(--xmlui-textColor-Select--success--hover)", "Input:outlineWidth-Select--success--focus": "var(--xmlui-outlineWidth-Select--success--focus)", "Input:outlineColor-Select--success--focus": "var(--xmlui-outlineColor-Select--success--focus)", "Input:outlineStyle-Select--success--focus": "var(--xmlui-outlineStyle-Select--success--focus)", "Input:outlineOffset-Select--success--focus": "var(--xmlui-outlineOffset-Select--success--focus)", "Input:textColor-placeholder-Select--success": "var(--xmlui-textColor-placeholder-Select--success)", "Input:fontSize-placeholder-Select--success": "var(--xmlui-fontSize-placeholder-Select--success)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "Input:outlineWidth-Select--focus": "var(--xmlui-outlineWidth-Select--focus)", "Input:outlineColor-Select--focus": "var(--xmlui-outlineColor-Select--focus)", "Input:outlineStyle-Select--focus": "var(--xmlui-outlineStyle-Select--focus)", "Input:outlineOffset-Select--focus": "var(--xmlui-outlineOffset-Select--focus)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "borderRadius-Select-badge": "var(--xmlui-borderRadius-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "textColor-item-Select--disabled": "var(--xmlui-textColor-item-Select--disabled)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)", "minHeight-Select": "var(--xmlui-minHeight-Select)", "minHeight-item-Select": "var(--xmlui-minHeight-item-Select)"}'`;
|
|
21028
|
-
const selectTrigger = "
|
|
21029
|
-
const error$9 = "
|
|
21030
|
-
const warning$a = "
|
|
21031
|
-
const valid$9 = "
|
|
21032
|
-
const disabled$7 = "
|
|
21033
|
-
const placeholder$1 = "
|
|
21034
|
-
const actions$1 = "
|
|
21035
|
-
const action$1 = "
|
|
21036
|
-
const emptyList = "
|
|
21037
|
-
const badgeListContainer = "
|
|
21038
|
-
const badgeList$1 = "
|
|
21039
|
-
const inputWrapper$1 = "
|
|
21040
|
-
const badge$1 = "
|
|
21041
|
-
const selectContent = "
|
|
21042
|
-
const command$1 = "
|
|
21043
|
-
const commandInputContainer = "
|
|
21044
|
-
const commandInput$1 = "
|
|
21045
|
-
const commandList$1 = "
|
|
21046
|
-
const multiSelectOption = "
|
|
21047
|
-
const multiSelectOptionContent = "
|
|
21048
|
-
const highlighted$1 = "
|
|
21049
|
-
const disabledOption$1 = "
|
|
21050
|
-
const selectValue = "
|
|
21051
|
-
const selectDropdownContent = "
|
|
21052
|
-
const fadeIn = "
|
|
21053
|
-
const zoomIn = "
|
|
21054
|
-
const fadeOut = "
|
|
21055
|
-
const zoomOut = "
|
|
21056
|
-
const slideInFromTop = "
|
|
21057
|
-
const slideInFromRight = "
|
|
21058
|
-
const slideInFromLeft = "
|
|
21059
|
-
const slideInFromBottom = "
|
|
21060
|
-
const selectViewport = "
|
|
21061
|
-
const selectScrollUpButton = "
|
|
21062
|
-
const selectScrollDownButton = "
|
|
21063
|
-
const selectEmpty = "
|
|
21064
|
-
const selectOption = "
|
|
21065
|
-
const selectOptionContent = "
|
|
21066
|
-
const selectOptionIndicator = "
|
|
21067
|
-
const loading = "
|
|
21068
|
-
const srOnly = "
|
|
21032
|
+
const selectTrigger = "_selectTrigger_tlyg2_17";
|
|
21033
|
+
const error$9 = "_error_tlyg2_55";
|
|
21034
|
+
const warning$a = "_warning_tlyg2_81";
|
|
21035
|
+
const valid$9 = "_valid_tlyg2_107";
|
|
21036
|
+
const disabled$7 = "_disabled_tlyg2_133";
|
|
21037
|
+
const placeholder$1 = "_placeholder_tlyg2_146";
|
|
21038
|
+
const actions$1 = "_actions_tlyg2_163";
|
|
21039
|
+
const action$1 = "_action_tlyg2_163";
|
|
21040
|
+
const emptyList = "_emptyList_tlyg2_174";
|
|
21041
|
+
const badgeListContainer = "_badgeListContainer_tlyg2_186";
|
|
21042
|
+
const badgeList$1 = "_badgeList_tlyg2_186";
|
|
21043
|
+
const inputWrapper$1 = "_inputWrapper_tlyg2_199";
|
|
21044
|
+
const badge$1 = "_badge_tlyg2_186";
|
|
21045
|
+
const selectContent = "_selectContent_tlyg2_234";
|
|
21046
|
+
const command$1 = "_command_tlyg2_252";
|
|
21047
|
+
const commandInputContainer = "_commandInputContainer_tlyg2_257";
|
|
21048
|
+
const commandInput$1 = "_commandInput_tlyg2_257";
|
|
21049
|
+
const commandList$1 = "_commandList_tlyg2_276";
|
|
21050
|
+
const multiSelectOption = "_multiSelectOption_tlyg2_283";
|
|
21051
|
+
const multiSelectOptionContent = "_multiSelectOptionContent_tlyg2_298";
|
|
21052
|
+
const highlighted$1 = "_highlighted_tlyg2_307";
|
|
21053
|
+
const disabledOption$1 = "_disabledOption_tlyg2_313";
|
|
21054
|
+
const selectValue = "_selectValue_tlyg2_328";
|
|
21055
|
+
const selectDropdownContent = "_selectDropdownContent_tlyg2_338";
|
|
21056
|
+
const fadeIn = "_fadeIn_tlyg2_1";
|
|
21057
|
+
const zoomIn = "_zoomIn_tlyg2_1";
|
|
21058
|
+
const fadeOut = "_fadeOut_tlyg2_1";
|
|
21059
|
+
const zoomOut = "_zoomOut_tlyg2_1";
|
|
21060
|
+
const slideInFromTop = "_slideInFromTop_tlyg2_1";
|
|
21061
|
+
const slideInFromRight = "_slideInFromRight_tlyg2_1";
|
|
21062
|
+
const slideInFromLeft = "_slideInFromLeft_tlyg2_1";
|
|
21063
|
+
const slideInFromBottom = "_slideInFromBottom_tlyg2_1";
|
|
21064
|
+
const selectViewport = "_selectViewport_tlyg2_370";
|
|
21065
|
+
const selectScrollUpButton = "_selectScrollUpButton_tlyg2_374";
|
|
21066
|
+
const selectScrollDownButton = "_selectScrollDownButton_tlyg2_382";
|
|
21067
|
+
const selectEmpty = "_selectEmpty_tlyg2_390";
|
|
21068
|
+
const selectOption = "_selectOption_tlyg2_403";
|
|
21069
|
+
const selectOptionContent = "_selectOptionContent_tlyg2_427";
|
|
21070
|
+
const selectOptionIndicator = "_selectOptionIndicator_tlyg2_441";
|
|
21071
|
+
const loading = "_loading_tlyg2_451";
|
|
21072
|
+
const srOnly = "_srOnly_tlyg2_454";
|
|
21069
21073
|
const styles$J = {
|
|
21070
21074
|
themeVars: themeVars$p,
|
|
21071
21075
|
selectTrigger,
|
|
@@ -21275,6 +21279,7 @@ const Select = forwardRef(function Select2({
|
|
|
21275
21279
|
updateState = noop$1,
|
|
21276
21280
|
registerComponentApi,
|
|
21277
21281
|
children,
|
|
21282
|
+
modal,
|
|
21278
21283
|
...rest
|
|
21279
21284
|
}, forwardedRef) {
|
|
21280
21285
|
const [referenceElement, setReferenceElement] = useState(null);
|
|
@@ -21503,7 +21508,7 @@ const Select = forwardRef(function Select2({
|
|
|
21503
21508
|
setOpen(isOpen);
|
|
21504
21509
|
setSelectedIndex(-1);
|
|
21505
21510
|
},
|
|
21506
|
-
modal
|
|
21511
|
+
modal,
|
|
21507
21512
|
children: [
|
|
21508
21513
|
/* @__PURE__ */ jsx(Part, { partId: PART_LIST_WRAPPER$1, children: /* @__PURE__ */ jsxs(
|
|
21509
21514
|
PopoverTrigger,
|
|
@@ -24653,7 +24658,7 @@ function ApiInterceptorProvider({
|
|
|
24653
24658
|
return;
|
|
24654
24659
|
}
|
|
24655
24660
|
void (async () => {
|
|
24656
|
-
const { initMock } = await import("./initMock-
|
|
24661
|
+
const { initMock } = await import("./initMock-BL6pZOMv.js");
|
|
24657
24662
|
const apiInstance2 = await initMock(interceptor);
|
|
24658
24663
|
setApiInstance(apiInstance2);
|
|
24659
24664
|
setInitialized(true);
|
|
@@ -24670,7 +24675,7 @@ function ApiInterceptorProvider({
|
|
|
24670
24675
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
24671
24676
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24672
24677
|
useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
24673
|
-
import("./initMock-
|
|
24678
|
+
import("./initMock-BL6pZOMv.js")
|
|
24674
24679
|
]);
|
|
24675
24680
|
if (interceptor || forceInitialize) {
|
|
24676
24681
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -24707,7 +24712,7 @@ function ApiInterceptorProvider({
|
|
|
24707
24712
|
void (async () => {
|
|
24708
24713
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24709
24714
|
import("./apiInterceptorWorker-dwrAyq6l.js"),
|
|
24710
|
-
import("./initMock-
|
|
24715
|
+
import("./initMock-BL6pZOMv.js")
|
|
24711
24716
|
]);
|
|
24712
24717
|
const apiInstance2 = await initMock(interceptor);
|
|
24713
24718
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -30202,6 +30207,11 @@ const SelectMd = createMetadata({
|
|
|
30202
30207
|
clearable: {
|
|
30203
30208
|
description: `This property enables a clear button that allows the user to clear the selected value(s).`,
|
|
30204
30209
|
defaultValue: defaultProps$G.clearable
|
|
30210
|
+
},
|
|
30211
|
+
modal: {
|
|
30212
|
+
isInternal: true,
|
|
30213
|
+
description: "internal radix modal prop",
|
|
30214
|
+
valueType: "boolean"
|
|
30205
30215
|
}
|
|
30206
30216
|
},
|
|
30207
30217
|
events: {
|
|
@@ -30308,6 +30318,7 @@ const selectComponentRenderer = createComponentRenderer(
|
|
|
30308
30318
|
emptyListTemplate: renderChild2(node.props.emptyListTemplate),
|
|
30309
30319
|
dropdownHeight: extractValue(node.props.dropdownHeight),
|
|
30310
30320
|
required: extractValue.asOptionalBoolean(node.props.required),
|
|
30321
|
+
modal: extractValue.asOptionalBoolean(node.props.modal),
|
|
30311
30322
|
valueRenderer: node.props.valueTemplate ? (item2, removeItem) => {
|
|
30312
30323
|
return /* @__PURE__ */ jsx(
|
|
30313
30324
|
MemoizedItem,
|
|
@@ -30825,6 +30836,11 @@ const DropdownMenuMd = createMetadata({
|
|
|
30825
30836
|
defaultValue: defaultDropdownMenuProps.triggerButtonIconPosition,
|
|
30826
30837
|
valueType: "string",
|
|
30827
30838
|
availableValues: iconPositionMd
|
|
30839
|
+
},
|
|
30840
|
+
modal: {
|
|
30841
|
+
isInternal: true,
|
|
30842
|
+
description: "internal radix modal prop",
|
|
30843
|
+
valueType: "boolean"
|
|
30828
30844
|
}
|
|
30829
30845
|
},
|
|
30830
30846
|
events: {
|
|
@@ -30870,6 +30886,7 @@ const dropdownMenuComponentRenderer = createComponentRenderer(
|
|
|
30870
30886
|
triggerButtonVariant: extractValue(node.props.triggerButtonVariant),
|
|
30871
30887
|
triggerButtonIcon: extractValue(node.props.triggerButtonIcon),
|
|
30872
30888
|
triggerButtonIconPosition: extractValue(node.props.triggerButtonIconPosition),
|
|
30889
|
+
modal: extractValue.asOptionalBoolean(node.props.modal),
|
|
30873
30890
|
children: renderChild2(node.children)
|
|
30874
30891
|
}
|
|
30875
30892
|
);
|
|
@@ -32289,7 +32306,16 @@ const XmlUiBlogThemeDefinition = {
|
|
|
32289
32306
|
id: "xmlui-blog",
|
|
32290
32307
|
extends: "xmlui",
|
|
32291
32308
|
color: "$color-primary-500",
|
|
32292
|
-
themeVars: {
|
|
32309
|
+
themeVars: {
|
|
32310
|
+
// --- App layout
|
|
32311
|
+
"maxWidth-content-App": "800px",
|
|
32312
|
+
// --- Fundamental colors & typography
|
|
32313
|
+
backgroundColor: "$color-surface-0",
|
|
32314
|
+
"fontWeight-Text": "400",
|
|
32315
|
+
"fontWeight-bold": "700",
|
|
32316
|
+
"textColor-primary": "$color-surface-800",
|
|
32317
|
+
"textColor-NavLink--active": "$color-primary"
|
|
32318
|
+
}
|
|
32293
32319
|
};
|
|
32294
32320
|
const XmlUiWebThemeDefinition = {
|
|
32295
32321
|
id: "xmlui-web",
|
|
@@ -46673,7 +46699,7 @@ function IconProvider({ children }) {
|
|
|
46673
46699
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
46674
46700
|
] });
|
|
46675
46701
|
}
|
|
46676
|
-
const version = "0.11.
|
|
46702
|
+
const version = "0.11.18";
|
|
46677
46703
|
const miscellaneousUtils = {
|
|
46678
46704
|
capitalize,
|
|
46679
46705
|
pluralize: pluralize$1,
|