@jsenv/navi 0.14.24 → 0.14.25
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
|
|
@@ -24663,5 +24670,5 @@ const UserSvg = () => jsx("svg", {
|
|
|
24663
24670
|
})
|
|
24664
24671
|
});
|
|
24665
24672
|
|
|
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 };
|
|
24673
|
+
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, useTitleLevel, useUrlSearchParam, valueInLocalStorage };
|
|
24667
24674
|
//# sourceMappingURL=jsenv_navi.js.map
|