@jsenv/navi 0.21.0 → 0.21.2

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.
@@ -21164,9 +21164,12 @@ installImportMetaCssBuild(import.meta);import.meta.css = [/* css */`
21164
21164
  --button-outline-width: 1px;
21165
21165
  --button-border-width: 1px;
21166
21166
  --button-border-radius: 2px;
21167
- --button-padding-x: var(--button-padding, 6px);
21168
- --button-padding-y: var(--button-padding, 1px);
21167
+ /* Global padding defaults — override these to change all button paddings. */
21168
+ /* Use --button-padding, --button-padding-x, --button-padding-y for per-button overrides. */
21169
+ --button-padding-x-default: 6px;
21170
+ --button-padding-y-default: 1px;
21169
21171
  /* default */
21172
+
21170
21173
  --button-outline-color: var(--navi-focus-outline-color);
21171
21174
  --button-loader-color: var(--navi-loader-color);
21172
21175
  --button-border-color: light-dark(#767676, #8e8e93);
@@ -21214,8 +21217,7 @@ installImportMetaCssBuild(import.meta);import.meta.css = [/* css */`
21214
21217
  }
21215
21218
 
21216
21219
  .navi_button {
21217
- /* Internal css vars are the one controlling final values */
21218
- /* allowing to override them on interactions (like hover, disabled, etc.) */
21220
+ /* Internal vars — prefixed with --x- to signal they are private, do not use from outside */
21219
21221
  --x-button-outline-width: var(--button-outline-width);
21220
21222
  --x-button-border-radius: var(--button-border-radius);
21221
21223
  --x-button-border-width: var(--button-border-width);
@@ -21253,19 +21255,31 @@ installImportMetaCssBuild(import.meta);import.meta.css = [/* css */`
21253
21255
  height: 100%;
21254
21256
  padding-top: var(
21255
21257
  --button-padding-top,
21256
- var(--button-padding-y, var(--button-padding, unset))
21258
+ var(
21259
+ --button-padding-y,
21260
+ var(--button-padding, var(--button-padding-y-default))
21261
+ )
21257
21262
  );
21258
21263
  padding-right: var(
21259
21264
  --button-padding-right,
21260
- var(--button-padding-x, var(--button-padding, unset))
21265
+ var(
21266
+ --button-padding-x,
21267
+ var(--button-padding, var(--button-padding-x-default))
21268
+ )
21261
21269
  );
21262
21270
  padding-bottom: var(
21263
21271
  --button-padding-bottom,
21264
- var(--button-padding-y, var(--button-padding, unset))
21272
+ var(
21273
+ --button-padding-y,
21274
+ var(--button-padding, var(--button-padding-y-default))
21275
+ )
21265
21276
  );
21266
21277
  padding-left: var(
21267
21278
  --button-padding-left,
21268
- var(--button-padding-x, var(--button-padding, unset))
21279
+ var(
21280
+ --button-padding-x,
21281
+ var(--button-padding, var(--button-padding-x-default))
21282
+ )
21269
21283
  );
21270
21284
  align-items: inherit;
21271
21285
  justify-content: inherit;
@@ -32038,5 +32052,5 @@ const UserSvg = () => jsx("svg", {
32038
32052
  })
32039
32053
  });
32040
32054
 
32041
- export { ActionRenderer, ActiveKeyboardShortcuts, Address, Badge, BadgeCount, Box, Button, ButtonCopyToClipboard, Caption, CheckSvg, Checkbox, CheckboxList, Code, Col, Colgroup, ConstructionSvg, Details, DialogLayout, Editable, ErrorBoundary, ErrorBoundaryContext, ExclamationSvg, EyeClosedSvg, EyeSvg, Form, Group, Head, HeartSvg, HomeSvg, Icon, Image, Input, Label, Link, LinkAnchorSvg, LinkBlankTargetSvg, LinkCurrentSvg, Loading, MessageBox, Meter, Nav, Paragraph, Quantity, QuantityIntl, Radio, RadioList, Route, RowNumberCol, RowNumberTableCell, SINGLE_SPACE_CONSTRAINT, SVGMaskOverlay, SearchSvg, Select, SelectionContext, Separator, SettingsSvg, SidePanel, StarSvg, SummaryMarker, Svg, Table, TableCell, Tbody, Text, TextPlaceholder, Thead, Title, Tr, UITransition, UserSvg, ViewportLayout, actionIntegratedVia, actionRunEffect, addCustomMessage, arraySignalMembership, compareTwoJsValues, createAction, createAvailableConstraint, createIntl, createRequestCanceller, createSelectionKeyboardShortcuts, enableDebugActions, enableDebugOnDocumentLoading, filterTableSelection, forwardActionRequested, installCustomConstraintValidation, isCellSelected, isColumnSelected, isRowSelected, localStorageSignal, navBack, navForward, navTo, openCallout, rawUrlPart, reload, removeCustomMessage, requestAction, rerunActions, resource, route, routeAction, setBaseUrl, setupRoutes, stateSignal, stopLoad, stringifyTableSelectionValue, syncOwnedResourceToSignals, syncResourceToSignals, updateActions, useActionStatus, useArraySignalMembership, useAsyncData, useCalloutClose, useCancelPrevious, useCellGridFromRows, useConstraintValidityState, useDarkBackgroundAttribute, useDependenciesDiff, useDocumentResource, useDocumentState, useDocumentUrl, useEditionController, useFocusGroup, useKeyboardShortcuts, useNavState$1 as useNavState, useOrderedColumns, useRouteStatus, useRunOnMount, useSelectableElement, useSelectionController, useSidePanelClose, useSignalSync, useStateArray, useTitleLevel, useUrlSearchParam, valueInLocalStorage };
32055
+ export { ActionRenderer, ActiveKeyboardShortcuts, Address, Badge, BadgeCount, Box, Button, ButtonCopyToClipboard, Caption, CheckSvg, Checkbox, CheckboxList, CloseSvg, Code, Col, Colgroup, ConstructionSvg, Details, DialogLayout, Editable, ErrorBoundary, ErrorBoundaryContext, ExclamationSvg, EyeClosedSvg, EyeSvg, Form, Group, Head, HeartSvg, HomeSvg, Icon, Image, Input, Label, Link, LinkAnchorSvg, LinkBlankTargetSvg, LinkCurrentSvg, Loading, MessageBox, Meter, Nav, Paragraph, Quantity, QuantityIntl, Radio, RadioList, Route, RowNumberCol, RowNumberTableCell, SINGLE_SPACE_CONSTRAINT, SVGMaskOverlay, SearchSvg, Select, SelectionContext, Separator, SettingsSvg, SidePanel, StarSvg, SummaryMarker, Svg, Table, TableCell, Tbody, Text, TextPlaceholder, Thead, Title, Tr, UITransition, UserSvg, ViewportLayout, actionIntegratedVia, actionRunEffect, addCustomMessage, arraySignalMembership, compareTwoJsValues, createAction, createAvailableConstraint, createIntl, createRequestCanceller, createSelectionKeyboardShortcuts, enableDebugActions, enableDebugOnDocumentLoading, filterTableSelection, forwardActionRequested, installCustomConstraintValidation, isCellSelected, isColumnSelected, isRowSelected, localStorageSignal, navBack, navForward, navTo, openCallout, rawUrlPart, reload, removeCustomMessage, requestAction, rerunActions, resource, route, routeAction, setBaseUrl, setupRoutes, stateSignal, stopLoad, stringifyTableSelectionValue, syncOwnedResourceToSignals, syncResourceToSignals, updateActions, useActionStatus, useArraySignalMembership, useAsyncData, useCalloutClose, useCancelPrevious, useCellGridFromRows, useConstraintValidityState, useDarkBackgroundAttribute, useDependenciesDiff, useDocumentResource, useDocumentState, useDocumentUrl, useEditionController, useFocusGroup, useKeyboardShortcuts, useNavState$1 as useNavState, useOrderedColumns, useRouteStatus, useRunOnMount, useSelectableElement, useSelectionController, useSidePanelClose, useSignalSync, useStateArray, useTitleLevel, useUrlSearchParam, valueInLocalStorage };
32042
32056
  //# sourceMappingURL=jsenv_navi.js.map