@jsenv/navi 0.20.14 → 0.20.15
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { installImportMetaCssBuild } from "./jsenv_navi_side_effects.js";
|
|
2
2
|
import { isValidElement, h, createContext, toChildArray, render, createRef, cloneElement } from "preact";
|
|
3
3
|
import { useErrorBoundary, useLayoutEffect, useEffect, useMemo, useRef, useState, useCallback, useContext, useImperativeHandle, useId } from "preact/hooks";
|
|
4
4
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
@@ -71,7 +71,7 @@ const useActionStatus = (action) => {
|
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
75
75
|
.action_error {
|
|
76
76
|
margin-top: 0;
|
|
77
77
|
margin-bottom: 20px;
|
|
@@ -7449,7 +7449,7 @@ const updateStyle = (element, style, preventInitialTransition) => {
|
|
|
7449
7449
|
styleKeySetWeakMap.set(element, styleKeySet);
|
|
7450
7450
|
};
|
|
7451
7451
|
|
|
7452
|
-
|
|
7452
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
7453
7453
|
[navi-box-flow="inline"] {
|
|
7454
7454
|
display: inline;
|
|
7455
7455
|
}
|
|
@@ -8041,7 +8041,7 @@ const monitorItemsOverflow = (container) => {
|
|
|
8041
8041
|
return destroy;
|
|
8042
8042
|
};
|
|
8043
8043
|
|
|
8044
|
-
|
|
8044
|
+
installImportMetaCssBuild(import.meta);
|
|
8045
8045
|
import.meta.css = /* css */ `
|
|
8046
8046
|
* {
|
|
8047
8047
|
box-sizing: border-box;
|
|
@@ -15563,7 +15563,7 @@ const renderIntoCallout = (jsx$1, calloutMessageElement, {
|
|
|
15563
15563
|
render(calloutJsx, calloutMessageElement);
|
|
15564
15564
|
};
|
|
15565
15565
|
|
|
15566
|
-
|
|
15566
|
+
installImportMetaCssBuild(import.meta);
|
|
15567
15567
|
/**
|
|
15568
15568
|
* A callout component that mimics native browser validation messages.
|
|
15569
15569
|
* Features:
|
|
@@ -18894,7 +18894,7 @@ const selectByTextStrings = (element, range, startText, endText) => {
|
|
|
18894
18894
|
}
|
|
18895
18895
|
};
|
|
18896
18896
|
|
|
18897
|
-
|
|
18897
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
18898
18898
|
*[data-navi-space] {
|
|
18899
18899
|
/* user-select: none; */
|
|
18900
18900
|
padding-left: 0.25em;
|
|
@@ -19268,7 +19268,7 @@ const TextBasic = ({
|
|
|
19268
19268
|
});
|
|
19269
19269
|
};
|
|
19270
19270
|
|
|
19271
|
-
|
|
19271
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
19272
19272
|
@layer navi {
|
|
19273
19273
|
/* Ensure data attributes from box.jsx can win to update display */
|
|
19274
19274
|
.navi_icon {
|
|
@@ -19637,7 +19637,7 @@ const setupNetworkMonitoring = () => {
|
|
|
19637
19637
|
};
|
|
19638
19638
|
setupNetworkMonitoring();
|
|
19639
19639
|
|
|
19640
|
-
|
|
19640
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
19641
19641
|
.navi_rectangle_loading {
|
|
19642
19642
|
position: relative;
|
|
19643
19643
|
display: flex;
|
|
@@ -19836,7 +19836,7 @@ const RectangleLoadingSvg = ({
|
|
|
19836
19836
|
});
|
|
19837
19837
|
};
|
|
19838
19838
|
|
|
19839
|
-
|
|
19839
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
19840
19840
|
.navi_loading_rectangle_wrapper {
|
|
19841
19841
|
position: absolute;
|
|
19842
19842
|
top: var(--rectangle-top, 0);
|
|
@@ -21213,7 +21213,7 @@ const useUIState = (uiStateController) => {
|
|
|
21213
21213
|
return trackedUIState;
|
|
21214
21214
|
};
|
|
21215
21215
|
|
|
21216
|
-
|
|
21216
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
21217
21217
|
@layer navi {
|
|
21218
21218
|
.navi_button {
|
|
21219
21219
|
--button-outline-width: 1px;
|
|
@@ -21714,7 +21714,7 @@ const WarningSvg = () => {
|
|
|
21714
21714
|
});
|
|
21715
21715
|
};
|
|
21716
21716
|
|
|
21717
|
-
|
|
21717
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
21718
21718
|
@layer navi {
|
|
21719
21719
|
.navi_message_box {
|
|
21720
21720
|
--background-color-info: var(--navi-info-color-light);
|
|
@@ -21825,7 +21825,7 @@ const MessageBox = ({
|
|
|
21825
21825
|
});
|
|
21826
21826
|
};
|
|
21827
21827
|
|
|
21828
|
-
|
|
21828
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
21829
21829
|
.navi_message_box {
|
|
21830
21830
|
.navi_title {
|
|
21831
21831
|
margin-top: 0;
|
|
@@ -22010,7 +22010,7 @@ const useDimColorWhen = (elementRef, shouldDim) => {
|
|
|
22010
22010
|
});
|
|
22011
22011
|
};
|
|
22012
22012
|
|
|
22013
|
-
|
|
22013
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
22014
22014
|
@layer navi {
|
|
22015
22015
|
.navi_link {
|
|
22016
22016
|
--link-border-radius: unset;
|
|
@@ -22586,7 +22586,7 @@ const LinkWithAction = props => {
|
|
|
22586
22586
|
const NavContext = createContext();
|
|
22587
22587
|
createContext();
|
|
22588
22588
|
|
|
22589
|
-
|
|
22589
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
22590
22590
|
@layer navi {
|
|
22591
22591
|
.navi_nav {
|
|
22592
22592
|
--nav-border: none;
|
|
@@ -22765,7 +22765,7 @@ const useFocusGroup = (
|
|
|
22765
22765
|
}, [direction, skipTab, loop, name]);
|
|
22766
22766
|
};
|
|
22767
22767
|
|
|
22768
|
-
|
|
22768
|
+
installImportMetaCssBuild(import.meta);const rightArrowPath = "M680-480L360-160l-80-80 240-240-240-240 80-80 320 320z";
|
|
22769
22769
|
const downArrowPath = "M480-280L160-600l80-80 240 240 240-240 80 80-320 320z";
|
|
22770
22770
|
import.meta.css = /* css */`
|
|
22771
22771
|
.navi_summary_marker {
|
|
@@ -22905,7 +22905,7 @@ const SummaryMarker = ({
|
|
|
22905
22905
|
});
|
|
22906
22906
|
};
|
|
22907
22907
|
|
|
22908
|
-
|
|
22908
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
22909
22909
|
.navi_details {
|
|
22910
22910
|
position: relative;
|
|
22911
22911
|
z-index: 1;
|
|
@@ -23256,7 +23256,7 @@ const fieldPropSet = new Set([
|
|
|
23256
23256
|
"data-testid",
|
|
23257
23257
|
]);
|
|
23258
23258
|
|
|
23259
|
-
|
|
23259
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
23260
23260
|
@layer navi {
|
|
23261
23261
|
label {
|
|
23262
23262
|
&[data-interactive] {
|
|
@@ -23321,7 +23321,7 @@ const Label = props => {
|
|
|
23321
23321
|
});
|
|
23322
23322
|
};
|
|
23323
23323
|
|
|
23324
|
-
|
|
23324
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
23325
23325
|
@layer navi {
|
|
23326
23326
|
.navi_checkbox {
|
|
23327
23327
|
--margin: 3px 3px 3px 4px;
|
|
@@ -23916,7 +23916,7 @@ const InputCheckboxWithAction = props => {
|
|
|
23916
23916
|
});
|
|
23917
23917
|
};
|
|
23918
23918
|
|
|
23919
|
-
|
|
23919
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
23920
23920
|
@layer navi {
|
|
23921
23921
|
.navi_checkbox_list {
|
|
23922
23922
|
display: flex;
|
|
@@ -24068,7 +24068,7 @@ forwardRef((props, ref) => {
|
|
|
24068
24068
|
});
|
|
24069
24069
|
});
|
|
24070
24070
|
|
|
24071
|
-
|
|
24071
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
24072
24072
|
@layer navi {
|
|
24073
24073
|
.navi_radio {
|
|
24074
24074
|
--margin: 3px 3px 0 5px;
|
|
@@ -24606,7 +24606,7 @@ const InputRadioWithAction = () => {
|
|
|
24606
24606
|
throw new Error(`<Input type="radio" /> with an action make no sense. Use <RadioList action={something} /> instead`);
|
|
24607
24607
|
};
|
|
24608
24608
|
|
|
24609
|
-
|
|
24609
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
24610
24610
|
@layer navi {
|
|
24611
24611
|
.navi_input_range {
|
|
24612
24612
|
--border-radius: 6px;
|
|
@@ -25083,7 +25083,7 @@ const SearchSvg = () => jsx("svg", {
|
|
|
25083
25083
|
})
|
|
25084
25084
|
});
|
|
25085
25085
|
|
|
25086
|
-
|
|
25086
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
25087
25087
|
@layer navi {
|
|
25088
25088
|
.navi_input {
|
|
25089
25089
|
--border-radius: 2px;
|
|
@@ -25654,7 +25654,7 @@ const Input = props => {
|
|
|
25654
25654
|
});
|
|
25655
25655
|
};
|
|
25656
25656
|
|
|
25657
|
-
|
|
25657
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
25658
25658
|
.navi_editable_wrapper {
|
|
25659
25659
|
--inset-top: 0px;
|
|
25660
25660
|
--inset-right: 0px;
|
|
@@ -26113,7 +26113,7 @@ const FormWithAction = props => {
|
|
|
26113
26113
|
// form.dispatchEvent(customEvent);
|
|
26114
26114
|
// };
|
|
26115
26115
|
|
|
26116
|
-
|
|
26116
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
26117
26117
|
.navi_group {
|
|
26118
26118
|
--border-width: 1px;
|
|
26119
26119
|
|
|
@@ -26227,7 +26227,7 @@ const Group = ({
|
|
|
26227
26227
|
});
|
|
26228
26228
|
};
|
|
26229
26229
|
|
|
26230
|
-
|
|
26230
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */``;
|
|
26231
26231
|
const RadioList = props => {
|
|
26232
26232
|
const uiStateController = useUIGroupStateController(props, "radio_list", {
|
|
26233
26233
|
childComponentType: "radio",
|
|
@@ -26408,7 +26408,7 @@ const useRefArray = (items, keyFromItem) => {
|
|
|
26408
26408
|
}, [items]);
|
|
26409
26409
|
};
|
|
26410
26410
|
|
|
26411
|
-
|
|
26411
|
+
installImportMetaCssBuild(import.meta);const useNavState = () => {};
|
|
26412
26412
|
import.meta.css = /* css */`
|
|
26413
26413
|
.navi_select[data-readonly] {
|
|
26414
26414
|
pointer-events: none;
|
|
@@ -26718,7 +26718,7 @@ const Z_INDEX_DROP_PREVIEW = Z_INDEX_STICKY_CORNER + 1;
|
|
|
26718
26718
|
|
|
26719
26719
|
const Z_INDEX_TABLE_UI = Z_INDEX_STICKY_CORNER + 1;
|
|
26720
26720
|
|
|
26721
|
-
|
|
26721
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
26722
26722
|
.navi_table_drag_clone_container {
|
|
26723
26723
|
position: absolute;
|
|
26724
26724
|
top: var(--table-visual-top);
|
|
@@ -27378,7 +27378,7 @@ const useTableSizeContextValue = ({
|
|
|
27378
27378
|
return tableSizeContextValue;
|
|
27379
27379
|
};
|
|
27380
27380
|
|
|
27381
|
-
|
|
27381
|
+
installImportMetaCssBuild(import.meta);const ROW_MIN_HEIGHT = 30;
|
|
27382
27382
|
const ROW_MAX_HEIGHT = 100;
|
|
27383
27383
|
const COLUMN_MIN_WIDTH = 50;
|
|
27384
27384
|
const COLUMN_MAX_WIDTH = 500;
|
|
@@ -28004,7 +28004,7 @@ const findPreviousTableRow = currentRow => {
|
|
|
28004
28004
|
return currentIndex > 0 ? allRows[currentIndex - 1] : null;
|
|
28005
28005
|
};
|
|
28006
28006
|
|
|
28007
|
-
|
|
28007
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
28008
28008
|
@layer navi {
|
|
28009
28009
|
.navi_table {
|
|
28010
28010
|
--selection-border-color: var(--navi-selection-border-color, #0078d4);
|
|
@@ -28575,7 +28575,7 @@ const useTableStickyContextValue = ({
|
|
|
28575
28575
|
}, [stickyLeftFrontierColumnIndex, stickyTopFrontierRowIndex]);
|
|
28576
28576
|
};
|
|
28577
28577
|
|
|
28578
|
-
|
|
28578
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
28579
28579
|
@layer navi {
|
|
28580
28580
|
.navi_table {
|
|
28581
28581
|
--sticky-frontier-color: #c0c0c0;
|
|
@@ -29036,7 +29036,7 @@ const initMoveStickyFrontierViaPointer = (pointerdownEvent, {
|
|
|
29036
29036
|
});
|
|
29037
29037
|
};
|
|
29038
29038
|
|
|
29039
|
-
|
|
29039
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
29040
29040
|
.navi_table_ui {
|
|
29041
29041
|
position: fixed;
|
|
29042
29042
|
inset: 0;
|
|
@@ -29960,7 +29960,7 @@ const normalizeKey = (key) => {
|
|
|
29960
29960
|
return key;
|
|
29961
29961
|
};
|
|
29962
29962
|
|
|
29963
|
-
|
|
29963
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
29964
29964
|
.navi_shortcut_container[data-visually-hidden] {
|
|
29965
29965
|
/* Visually hidden container - doesn't affect layout */
|
|
29966
29966
|
position: absolute;
|
|
@@ -30036,7 +30036,7 @@ const KeyboardShortcutAriaElement = ({
|
|
|
30036
30036
|
});
|
|
30037
30037
|
};
|
|
30038
30038
|
|
|
30039
|
-
|
|
30039
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
30040
30040
|
@layer navi {
|
|
30041
30041
|
.navi_clipboard_container {
|
|
30042
30042
|
--height: 1.5em;
|
|
@@ -30148,7 +30148,7 @@ const Address = ({
|
|
|
30148
30148
|
});
|
|
30149
30149
|
};
|
|
30150
30150
|
|
|
30151
|
-
|
|
30151
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
30152
30152
|
@layer navi {
|
|
30153
30153
|
}
|
|
30154
30154
|
.navi_badge {
|
|
@@ -30271,7 +30271,7 @@ const formatNumber = (value, { lang } = {}) => {
|
|
|
30271
30271
|
return new Intl.NumberFormat(lang).format(value);
|
|
30272
30272
|
};
|
|
30273
30273
|
|
|
30274
|
-
|
|
30274
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
30275
30275
|
@layer navi {
|
|
30276
30276
|
}
|
|
30277
30277
|
.navi_badge_count {
|
|
@@ -30519,7 +30519,7 @@ const BadgeCountCircle = ({
|
|
|
30519
30519
|
});
|
|
30520
30520
|
};
|
|
30521
30521
|
|
|
30522
|
-
|
|
30522
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
30523
30523
|
@layer navi {
|
|
30524
30524
|
.navi_caption {
|
|
30525
30525
|
--color: #6b7280;
|
|
@@ -30919,7 +30919,7 @@ const interpolate = (template, values) => {
|
|
|
30919
30919
|
});
|
|
30920
30920
|
};
|
|
30921
30921
|
|
|
30922
|
-
|
|
30922
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
30923
30923
|
@layer navi {
|
|
30924
30924
|
.navi_quantity {
|
|
30925
30925
|
--unit-color: color-mix(in srgb, currentColor 50%, white);
|
|
@@ -31112,7 +31112,7 @@ const parseQuantityValue = children => {
|
|
|
31112
31112
|
return Number.isNaN(parsed) ? children : parsed;
|
|
31113
31113
|
};
|
|
31114
31114
|
|
|
31115
|
-
|
|
31115
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31116
31116
|
@layer navi {
|
|
31117
31117
|
.navi_meter {
|
|
31118
31118
|
--loader-color: var(--navi-loader-color);
|
|
@@ -31376,7 +31376,7 @@ const Paragraph = props => {
|
|
|
31376
31376
|
});
|
|
31377
31377
|
};
|
|
31378
31378
|
|
|
31379
|
-
|
|
31379
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31380
31380
|
.navi_text_placeholder {
|
|
31381
31381
|
display: inline-block;
|
|
31382
31382
|
width: 100%;
|
|
@@ -31423,7 +31423,7 @@ const Svg = props => {
|
|
|
31423
31423
|
});
|
|
31424
31424
|
};
|
|
31425
31425
|
|
|
31426
|
-
|
|
31426
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31427
31427
|
.svg_mask_content * {
|
|
31428
31428
|
color: black !important;
|
|
31429
31429
|
opacity: 1 !important;
|
|
@@ -31489,7 +31489,7 @@ const SVGMaskOverlay = ({
|
|
|
31489
31489
|
});
|
|
31490
31490
|
};
|
|
31491
31491
|
|
|
31492
|
-
|
|
31492
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31493
31493
|
@layer navi {
|
|
31494
31494
|
.navi_dialog_layout {
|
|
31495
31495
|
--layout-margin: 30px;
|
|
@@ -31588,7 +31588,7 @@ const DialogLayout = ({
|
|
|
31588
31588
|
});
|
|
31589
31589
|
};
|
|
31590
31590
|
|
|
31591
|
-
|
|
31591
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31592
31592
|
@layer navi {
|
|
31593
31593
|
.navi_separator {
|
|
31594
31594
|
--size: 1px;
|
|
@@ -31637,7 +31637,7 @@ const Separator = ({
|
|
|
31637
31637
|
});
|
|
31638
31638
|
};
|
|
31639
31639
|
|
|
31640
|
-
|
|
31640
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31641
31641
|
@layer navi {
|
|
31642
31642
|
.navi_viewport_layout {
|
|
31643
31643
|
--layout-padding: 40px;
|
|
@@ -31684,7 +31684,7 @@ const ViewportLayout = props => {
|
|
|
31684
31684
|
});
|
|
31685
31685
|
};
|
|
31686
31686
|
|
|
31687
|
-
|
|
31687
|
+
installImportMetaCssBuild(import.meta);import.meta.css = /* css */`
|
|
31688
31688
|
@layer navi {
|
|
31689
31689
|
.navi_side_panel {
|
|
31690
31690
|
--side-panel-width: 400px;
|