@jsenv/navi 0.14.24 → 0.14.26
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
|
@@ -16557,31 +16557,31 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
|
|
|
16557
16557
|
}
|
|
16558
16558
|
|
|
16559
16559
|
.navi_message_box {
|
|
16560
|
-
--x-background-color: var(--background-color-info);
|
|
16561
|
-
--x-color: var(--color-info);
|
|
16560
|
+
--x-message-background-color: var(--background-color-info);
|
|
16561
|
+
--x-message-color: var(--color-info);
|
|
16562
16562
|
/* color: var(--x-color); */
|
|
16563
|
-
background-color: var(--x-background-color);
|
|
16563
|
+
background-color: var(--x-message-background-color);
|
|
16564
16564
|
}
|
|
16565
16565
|
|
|
16566
16566
|
.navi_message_box[data-status-info] {
|
|
16567
|
-
--x-background-color: var(--background-color-info);
|
|
16568
|
-
--x-color: var(--color-info);
|
|
16567
|
+
--x-message-background-color: var(--background-color-info);
|
|
16568
|
+
--x-message-color: var(--color-info);
|
|
16569
16569
|
}
|
|
16570
16570
|
.navi_message_box[data-status-success] {
|
|
16571
|
-
--x-background-color: var(--background-color-success);
|
|
16572
|
-
--x-color: var(--color-success);
|
|
16571
|
+
--x-message-background-color: var(--background-color-success);
|
|
16572
|
+
--x-message-color: var(--color-success);
|
|
16573
16573
|
}
|
|
16574
16574
|
.navi_message_box[data-status-warning] {
|
|
16575
|
-
--x-background-color: var(--background-color-warning);
|
|
16576
|
-
--x-color: var(--color-warning);
|
|
16575
|
+
--x-message-background-color: var(--background-color-warning);
|
|
16576
|
+
--x-message-color: var(--color-warning);
|
|
16577
16577
|
}
|
|
16578
16578
|
.navi_message_box[data-status-error] {
|
|
16579
|
-
--x-background-color: var(--background-color-error);
|
|
16580
|
-
--x-color: var(--color-error);
|
|
16579
|
+
--x-message-background-color: var(--background-color-error);
|
|
16580
|
+
--x-message-color: var(--color-error);
|
|
16581
16581
|
}
|
|
16582
16582
|
|
|
16583
16583
|
.navi_message_box[data-left-stripe] {
|
|
16584
|
-
border-left: 6px solid var(--x-color);
|
|
16584
|
+
border-left: 6px solid var(--x-message-color);
|
|
16585
16585
|
border-top-left-radius: 6px;
|
|
16586
16586
|
border-bottom-left-radius: 6px;
|
|
16587
16587
|
}
|
|
@@ -16629,16 +16629,14 @@ const MessageBox = ({
|
|
|
16629
16629
|
children: jsxs(MessageBoxReportTitleChildContext.Provider, {
|
|
16630
16630
|
value: setHasTitleChild,
|
|
16631
16631
|
children: [icon && jsx(Icon, {
|
|
16632
|
-
color: "var(--x-color)",
|
|
16632
|
+
color: "var(--x-message-color)",
|
|
16633
16633
|
children: icon
|
|
16634
16634
|
}), jsx(Text, {
|
|
16635
16635
|
children: children
|
|
16636
16636
|
}), onClose && jsx(Button, {
|
|
16637
16637
|
action: onClose,
|
|
16638
|
-
discrete: true,
|
|
16639
16638
|
icon: true,
|
|
16640
16639
|
border: "none",
|
|
16641
|
-
"data-nohover": "",
|
|
16642
16640
|
alignX: "center",
|
|
16643
16641
|
alignY: "center",
|
|
16644
16642
|
pseudoStyle: {
|
|
@@ -16655,7 +16653,19 @@ const MessageBox = ({
|
|
|
16655
16653
|
});
|
|
16656
16654
|
};
|
|
16657
16655
|
|
|
16656
|
+
installImportMetaCss(import.meta);import.meta.css = /* css */`
|
|
16657
|
+
.navi_message_box {
|
|
16658
|
+
.navi_title {
|
|
16659
|
+
margin-top: 0;
|
|
16660
|
+
margin-bottom: var(--navi-spacing-s);
|
|
16661
|
+
color: var(--x-message-color);
|
|
16662
|
+
}
|
|
16663
|
+
}
|
|
16664
|
+
`;
|
|
16658
16665
|
const TitleLevelContext = createContext();
|
|
16666
|
+
const useTitleLevel = () => {
|
|
16667
|
+
return useContext(TitleLevelContext);
|
|
16668
|
+
};
|
|
16659
16669
|
const TitlePseudoClasses = [":hover"];
|
|
16660
16670
|
const Title = props => {
|
|
16661
16671
|
const messageBoxStatus = useContext(MessageBoxStatusContext);
|
|
@@ -16669,9 +16679,6 @@ const Title = props => {
|
|
|
16669
16679
|
bold: true,
|
|
16670
16680
|
className: withPropsClassName("navi_title"),
|
|
16671
16681
|
as: messageBoxStatus ? "h4" : "h1",
|
|
16672
|
-
marginTop: messageBoxStatus ? "0" : undefined,
|
|
16673
|
-
marginBottom: messageBoxStatus ? "sm" : undefined,
|
|
16674
|
-
color: messageBoxStatus ? `var(--x-color)` : undefined,
|
|
16675
16682
|
...props,
|
|
16676
16683
|
pseudoClasses: TitlePseudoClasses,
|
|
16677
16684
|
children: props.children
|
|
@@ -24477,6 +24484,48 @@ const DialogLayout = ({
|
|
|
24477
24484
|
});
|
|
24478
24485
|
};
|
|
24479
24486
|
|
|
24487
|
+
installImportMetaCss(import.meta);import.meta.css = /* css */`
|
|
24488
|
+
@layer navi {
|
|
24489
|
+
.navi_separator {
|
|
24490
|
+
--size: 1px;
|
|
24491
|
+
--color: inherit;
|
|
24492
|
+
--spacing: 8px;
|
|
24493
|
+
--spacing-start: 8px;
|
|
24494
|
+
--spacing-end: 8px;
|
|
24495
|
+
}
|
|
24496
|
+
}
|
|
24497
|
+
|
|
24498
|
+
.navi_separator {
|
|
24499
|
+
height: var(--size);
|
|
24500
|
+
margin-top: var(--spacing-start, var(--spacing, 8px));
|
|
24501
|
+
margin-bottom: var(--spacing-end, var(--spacing, 8px));
|
|
24502
|
+
background: var(--color);
|
|
24503
|
+
|
|
24504
|
+
&[data-vertical] {
|
|
24505
|
+
width: var(--separator-size);
|
|
24506
|
+
height: 100%;
|
|
24507
|
+
margin-top: 0;
|
|
24508
|
+
margin-right: var(--spacing-end, var(--spacing, 8px));
|
|
24509
|
+
margin-bottom: 0;
|
|
24510
|
+
margin-left: var(--spacing-start, var(--spacing, 8px));
|
|
24511
|
+
}
|
|
24512
|
+
}
|
|
24513
|
+
`;
|
|
24514
|
+
const SeparatorStyleCSSVars = {
|
|
24515
|
+
color: "--separator-color"
|
|
24516
|
+
};
|
|
24517
|
+
const Separator = ({
|
|
24518
|
+
vertical,
|
|
24519
|
+
...props
|
|
24520
|
+
}) => {
|
|
24521
|
+
return jsx(Box, {
|
|
24522
|
+
...props,
|
|
24523
|
+
"data-vertical": vertical ? "" : undefined,
|
|
24524
|
+
baseClassName: "navi_separator",
|
|
24525
|
+
styleCSSVars: SeparatorStyleCSSVars
|
|
24526
|
+
});
|
|
24527
|
+
};
|
|
24528
|
+
|
|
24480
24529
|
installImportMetaCss(import.meta);import.meta.css = /* css */`
|
|
24481
24530
|
@layer navi {
|
|
24482
24531
|
.navi_viewport_layout {
|
|
@@ -24568,6 +24617,15 @@ const CheckSvg = () => jsx("svg", {
|
|
|
24568
24617
|
})
|
|
24569
24618
|
});
|
|
24570
24619
|
|
|
24620
|
+
const ConstructionSvg = () => {
|
|
24621
|
+
return jsx("svg", {
|
|
24622
|
+
viewBox: "0 0 15 15",
|
|
24623
|
+
children: jsx("path", {
|
|
24624
|
+
d: "M13.5,12h-1.8L8.2,1.5C8,0.8,7,0.8,6.8,1.5L3.3,12H1.5C1.2,12,1,12.2,1,12.5v1C1,13.8,1.2,14,1.5,14h12 c0.3,0,0.5-0.2,0.5-0.5v-1C14,12.2,13.8,12,13.5,12z M7,4H8l0.7,2H6.4L7,4z M5.7,8h3.6l0.7,2H5L5.7,8z"
|
|
24625
|
+
})
|
|
24626
|
+
});
|
|
24627
|
+
};
|
|
24628
|
+
|
|
24571
24629
|
const ExclamationSvg = () => {
|
|
24572
24630
|
return jsx("svg", {
|
|
24573
24631
|
viewBox: "0 0 125 300",
|
|
@@ -24663,5 +24721,5 @@ const UserSvg = () => jsx("svg", {
|
|
|
24663
24721
|
})
|
|
24664
24722
|
});
|
|
24665
24723
|
|
|
24666
|
-
export { ActionRenderer, ActiveKeyboardShortcuts, BadgeCount, Box, Button, Caption, CheckSvg, Checkbox, CheckboxList, Code, Col, Colgroup, Details, DialogLayout, Editable, ErrorBoundaryContext, ExclamationSvg, EyeClosedSvg, EyeSvg, Form, HeartSvg, HomeSvg, Icon, Image, Input, Label, Link, LinkAnchorSvg, LinkBlankTargetSvg, MessageBox, Paragraph, Radio, RadioList, Route, RouteLink, Routes, RowNumberCol, RowNumberTableCell, SINGLE_SPACE_CONSTRAINT, SVGMaskOverlay, SearchSvg, Select, SelectionContext, SettingsSvg, StarSvg, SummaryMarker, Svg, Tab, TabList, Table, TableCell, Tbody, Text, Thead, Title, Tr, UITransition, UserSvg, ViewportLayout, actionIntegratedVia, addCustomMessage, compareTwoJsValues, createAction, createAvailableConstraint, createRequestCanceller, createSelectionKeyboardShortcuts, enableDebugActions, enableDebugOnDocumentLoading, forwardActionRequested, installCustomConstraintValidation, isCellSelected, isColumnSelected, isRowSelected, localStorageSignal, navBack, navForward, navTo, openCallout, rawUrlPart, reload, removeCustomMessage, requestAction, rerunActions, resource, setBaseUrl, setupRoutes, stateSignal, stopLoad, stringifyTableSelectionValue, updateActions, useActionData, useActionStatus, useActiveRouteInfo, useCalloutClose, useCellsAndColumns, useConstraintValidityState, useDependenciesDiff, useDocumentResource, useDocumentState, useDocumentUrl, useEditionController, useFocusGroup, useKeyboardShortcuts, useNavState$1 as useNavState, useRouteStatus, useRunOnMount, useSelectableElement, useSelectionController, useSignalSync, useStateArray, useUrlSearchParam, valueInLocalStorage };
|
|
24724
|
+
export { ActionRenderer, ActiveKeyboardShortcuts, BadgeCount, Box, Button, Caption, CheckSvg, Checkbox, CheckboxList, Code, Col, Colgroup, ConstructionSvg, Details, DialogLayout, Editable, ErrorBoundaryContext, ExclamationSvg, EyeClosedSvg, EyeSvg, Form, HeartSvg, HomeSvg, Icon, Image, Input, Label, Link, LinkAnchorSvg, LinkBlankTargetSvg, MessageBox, Paragraph, Radio, RadioList, Route, RouteLink, Routes, RowNumberCol, RowNumberTableCell, SINGLE_SPACE_CONSTRAINT, SVGMaskOverlay, SearchSvg, Select, SelectionContext, Separator, SettingsSvg, StarSvg, SummaryMarker, Svg, Tab, TabList, Table, TableCell, Tbody, Text, Thead, Title, Tr, UITransition, UserSvg, ViewportLayout, actionIntegratedVia, addCustomMessage, compareTwoJsValues, createAction, createAvailableConstraint, createRequestCanceller, createSelectionKeyboardShortcuts, enableDebugActions, enableDebugOnDocumentLoading, forwardActionRequested, installCustomConstraintValidation, isCellSelected, isColumnSelected, isRowSelected, localStorageSignal, navBack, navForward, navTo, openCallout, rawUrlPart, reload, removeCustomMessage, requestAction, rerunActions, resource, setBaseUrl, setupRoutes, stateSignal, stopLoad, stringifyTableSelectionValue, updateActions, useActionData, useActionStatus, useActiveRouteInfo, useCalloutClose, useCellsAndColumns, useConstraintValidityState, useDependenciesDiff, useDocumentResource, useDocumentState, useDocumentUrl, useEditionController, useFocusGroup, useKeyboardShortcuts, useNavState$1 as useNavState, useRouteStatus, useRunOnMount, useSelectableElement, useSelectionController, useSignalSync, useStateArray, useTitleLevel, useUrlSearchParam, valueInLocalStorage };
|
|
24667
24725
|
//# sourceMappingURL=jsenv_navi.js.map
|