@jsenv/navi 0.27.34 → 0.27.36
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/jsenv_navi.js +30 -10
- package/dist/jsenv_navi.js.map +10 -10
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -23230,6 +23230,7 @@ const css$L = /* css */`
|
|
|
23230
23230
|
display: flex;
|
|
23231
23231
|
width: 100%;
|
|
23232
23232
|
flex-grow: 1;
|
|
23233
|
+
justify-content: inherit;
|
|
23233
23234
|
gap: 0.3em;
|
|
23234
23235
|
|
|
23235
23236
|
.navi_text_overflow_text {
|
|
@@ -23741,6 +23742,7 @@ const TextOverflow = ({
|
|
|
23741
23742
|
}) => {
|
|
23742
23743
|
const [overflowPinned, setOverflowPinned] = useState(null);
|
|
23743
23744
|
return jsx(TextDispatcher, {
|
|
23745
|
+
inline: true,
|
|
23744
23746
|
flex: true,
|
|
23745
23747
|
block: true,
|
|
23746
23748
|
as: "div",
|
|
@@ -25639,7 +25641,9 @@ const useUIStateController = (
|
|
|
25639
25641
|
if (isRadio && newUIState && uiStateController.name && !controlProxyFor) {
|
|
25640
25642
|
const siblings = radioControllersByName.get(uiStateController.name);
|
|
25641
25643
|
if (siblings) {
|
|
25642
|
-
const siblingUncheckEvent = new CustomEvent("radio_sibling_uncheck"
|
|
25644
|
+
const siblingUncheckEvent = new CustomEvent("radio_sibling_uncheck", {
|
|
25645
|
+
detail: {},
|
|
25646
|
+
});
|
|
25643
25647
|
chainEvent(siblingUncheckEvent, e);
|
|
25644
25648
|
for (const siblingController of siblings) {
|
|
25645
25649
|
if (siblingController === uiStateController) {
|
|
@@ -26024,7 +26028,10 @@ const useUIGroupStateController = (
|
|
|
26024
26028
|
);
|
|
26025
26029
|
return;
|
|
26026
26030
|
}
|
|
26027
|
-
const propagateDownEvent = new CustomEvent(
|
|
26031
|
+
const propagateDownEvent = new CustomEvent(
|
|
26032
|
+
"propagate_down_set_ui_state",
|
|
26033
|
+
{ detail: {} },
|
|
26034
|
+
);
|
|
26028
26035
|
chainEvent(propagateDownEvent, e);
|
|
26029
26036
|
for (const childUIStateController of childUIStateControllerArray) {
|
|
26030
26037
|
if (!isMonitoringChild(childUIStateController)) {
|
|
@@ -26147,6 +26154,7 @@ const useUIGroupStateController = (
|
|
|
26147
26154
|
resetUIState: (e) => {
|
|
26148
26155
|
const propagateDownResetEvent = new CustomEvent(
|
|
26149
26156
|
"propagate_down_reset_ui_state",
|
|
26157
|
+
{ detail: {} },
|
|
26150
26158
|
);
|
|
26151
26159
|
chainEvent(propagateDownResetEvent, e);
|
|
26152
26160
|
for (const childUIStateController of childUIStateControllerArray) {
|
|
@@ -26163,6 +26171,7 @@ const useUIGroupStateController = (
|
|
|
26163
26171
|
clearUIState: (e) => {
|
|
26164
26172
|
const propagateDownClearEvent = new CustomEvent(
|
|
26165
26173
|
"propagate_down_clear_ui_state",
|
|
26174
|
+
{ detail: {} },
|
|
26166
26175
|
);
|
|
26167
26176
|
chainEvent(propagateDownClearEvent, e);
|
|
26168
26177
|
for (const childUIStateController of childUIStateControllerArray) {
|
|
@@ -26240,7 +26249,10 @@ const useUIFacadeStateController = (uiStateController) => {
|
|
|
26240
26249
|
return;
|
|
26241
26250
|
}
|
|
26242
26251
|
updatingRef.current = true;
|
|
26243
|
-
const propagateDownEvent = new CustomEvent(
|
|
26252
|
+
const propagateDownEvent = new CustomEvent(
|
|
26253
|
+
"propagate_down_set_ui_state",
|
|
26254
|
+
{ detail: {} },
|
|
26255
|
+
);
|
|
26244
26256
|
chainEvent(propagateDownEvent, e);
|
|
26245
26257
|
child.setUIState(newUIState, propagateDownEvent);
|
|
26246
26258
|
updatingRef.current = false;
|
|
@@ -27542,6 +27554,7 @@ installImportMetaCssBuild(import.meta);const css$I = /* css */`
|
|
|
27542
27554
|
|
|
27543
27555
|
/* discrete: background on hover */
|
|
27544
27556
|
&[data-variant="discrete"] {
|
|
27557
|
+
--button-border-width: 0;
|
|
27545
27558
|
--x-button-background-color: transparent;
|
|
27546
27559
|
--x-button-border-color: transparent;
|
|
27547
27560
|
|
|
@@ -31726,11 +31739,12 @@ const InputSearchUI = ({
|
|
|
31726
31739
|
}
|
|
31727
31740
|
return jsx(InputRightSlot, {
|
|
31728
31741
|
children: jsx(Button, {
|
|
31729
|
-
tabIndex: "-1",
|
|
31730
|
-
"navi-focus-delegate": id,
|
|
31731
|
-
variant: "icon",
|
|
31732
31742
|
command: "--navi-clear",
|
|
31733
31743
|
commandFor: id,
|
|
31744
|
+
tabIndex: "-1",
|
|
31745
|
+
"navi-focus-delegate": id,
|
|
31746
|
+
icon: true,
|
|
31747
|
+
variant: "discrete",
|
|
31734
31748
|
children: jsx(Icon, {
|
|
31735
31749
|
children: jsx(CloseSvg, {})
|
|
31736
31750
|
})
|
|
@@ -32244,13 +32258,17 @@ const css$w = /* css */`
|
|
|
32244
32258
|
}
|
|
32245
32259
|
|
|
32246
32260
|
.navi_input_slot {
|
|
32247
|
-
|
|
32261
|
+
--slot-spacing: calc(2px + 0.1em);
|
|
32262
|
+
|
|
32263
|
+
margin-right: var(--slot-spacing);
|
|
32264
|
+
margin-left: var(--slot-spacing);
|
|
32248
32265
|
color: #5e4e4e;
|
|
32249
32266
|
|
|
32250
32267
|
&[data-left] {
|
|
32251
|
-
margin-right: var(--x-padding-left);
|
|
32252
32268
|
order: -1;
|
|
32253
32269
|
}
|
|
32270
|
+
&[data-right] {
|
|
32271
|
+
}
|
|
32254
32272
|
}
|
|
32255
32273
|
|
|
32256
32274
|
/* Hover */
|
|
@@ -38073,7 +38091,6 @@ installImportMetaCssBuild(import.meta);const css$i = /* css */`
|
|
|
38073
38091
|
padding-left: 0;
|
|
38074
38092
|
flex-direction: row;
|
|
38075
38093
|
align-items: center;
|
|
38076
|
-
gap: var(--navi-xs);
|
|
38077
38094
|
color: var(--x-picker-color);
|
|
38078
38095
|
font-size: var(--picker-font-size);
|
|
38079
38096
|
font-family: var(--picker-font-family);
|
|
@@ -38114,10 +38131,13 @@ installImportMetaCssBuild(import.meta);const css$i = /* css */`
|
|
|
38114
38131
|
}
|
|
38115
38132
|
}
|
|
38116
38133
|
.navi_picker_right_slot {
|
|
38134
|
+
--slot-spacing: calc(0.1em);
|
|
38135
|
+
|
|
38117
38136
|
display: inline-flex;
|
|
38118
38137
|
height: 1em;
|
|
38119
38138
|
height: 1lh;
|
|
38120
|
-
margin-
|
|
38139
|
+
margin-right: var(--slot-spacing);
|
|
38140
|
+
margin-left: var(--slot-spacing);
|
|
38121
38141
|
flex-shrink: 0;
|
|
38122
38142
|
align-items: center;
|
|
38123
38143
|
align-self: flex-start;
|