@plastic-js/tsumiki 0.1.36 → 0.1.38
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Portal_default from "./Portal.js";
|
|
1
2
|
import Icon from "./Icon.js";
|
|
2
3
|
import { expandCircular, makeWheel } from "./DateWheel.js";
|
|
3
4
|
import { Fragment, insert, jsx, mergeProps, setProp, template } from "@plastic-js/plastic/jsx-runtime";
|
|
@@ -100,7 +101,7 @@ var calendarIconClass = css({
|
|
|
100
101
|
var overlayClass = css({
|
|
101
102
|
position: "fixed",
|
|
102
103
|
inset: 0,
|
|
103
|
-
zIndex:
|
|
104
|
+
zIndex: 1400,
|
|
104
105
|
display: "flex",
|
|
105
106
|
flexDirection: "column",
|
|
106
107
|
justifyContent: "flex-end",
|
|
@@ -322,7 +323,7 @@ var DateInput = (props = {}) => {
|
|
|
322
323
|
const monthWheel = makeWheel(monthItems, monthStartIdx, true);
|
|
323
324
|
const [dayItemsArr, dayStartIdx] = expandCircular(days, selDay - 1);
|
|
324
325
|
const dayWheel = makeWheel(dayItemsArr, dayStartIdx, true);
|
|
325
|
-
return () => {
|
|
326
|
+
return jsx(Portal_default, mergeProps({ children: () => {
|
|
326
327
|
const _el0 = _tmpl3.cloneNode(true);
|
|
327
328
|
const _el1 = _el0.firstChild;
|
|
328
329
|
const _el2 = _el0.firstChild.nextSibling;
|
|
@@ -432,7 +433,7 @@ var DateInput = (props = {}) => {
|
|
|
432
433
|
setProp(_el2, "className", () => sheetClass);
|
|
433
434
|
setProp(_el0, "className", () => `${overlayClass} ${openClass}`);
|
|
434
435
|
return _el0;
|
|
435
|
-
};
|
|
436
|
+
} }));
|
|
436
437
|
}] });
|
|
437
438
|
};
|
|
438
439
|
//#endregion
|
|
@@ -137,6 +137,7 @@ var footerBtnClass = css({
|
|
|
137
137
|
"&.tsu-dialog-footer--center": { justifyContent: "center" }
|
|
138
138
|
});
|
|
139
139
|
var btnClass = css({
|
|
140
|
+
flex: 1,
|
|
140
141
|
height: "var(--tsu-comp-height-xl)",
|
|
141
142
|
borderRadius: "var(--tsu-radius-l1-lg)",
|
|
142
143
|
border: "1px solid var(--tsu-neutral-7)",
|