@norges-domstoler/dds-components 0.0.0-dev-20240220114533 → 0.0.0-dev-20240220131547
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/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9239,9 +9239,11 @@ var import_dds_design_tokens43 = require("@norges-domstoler/dds-design-tokens");
|
|
|
9239
9239
|
var { border: border10, colors: colors23, spacing: spacing24 } = import_dds_design_tokens43.ddsBaseTokens;
|
|
9240
9240
|
var bar = {
|
|
9241
9241
|
backgroundColor: colors23.DdsColorNeutralsWhite,
|
|
9242
|
-
itemGap: spacing24.
|
|
9242
|
+
itemGap: spacing24.SizesDdsSpacingX15,
|
|
9243
9243
|
minHeight: "57px",
|
|
9244
|
-
borderBottom: `${border10.BordersDdsBorderStyleLightStroke} solid ${border10.BordersDdsBorderStyleLightStrokeWeight}
|
|
9244
|
+
borderBottom: `${border10.BordersDdsBorderStyleLightStroke} solid ${border10.BordersDdsBorderStyleLightStrokeWeight}`,
|
|
9245
|
+
paddingLeft: spacing24.SizesDdsSpacingX15,
|
|
9246
|
+
paddingRight: spacing24.SizesDdsSpacingX15
|
|
9245
9247
|
};
|
|
9246
9248
|
var separator = {
|
|
9247
9249
|
color: border10.BordersDdsBorderStyleLightStroke,
|
|
@@ -9264,6 +9266,8 @@ var Bar2 = import_styled_components61.default.div`
|
|
|
9264
9266
|
align-items: center;
|
|
9265
9267
|
min-height: ${bar2.minHeight};
|
|
9266
9268
|
border-bottom: ${bar2.borderBottom};
|
|
9269
|
+
padding-left: ${bar2.paddingLeft};
|
|
9270
|
+
padding-right: ${bar2.paddingRight};
|
|
9267
9271
|
|
|
9268
9272
|
${({ $hasNavigation }) => $hasNavigation ? import_styled_components61.css`
|
|
9269
9273
|
${ContextMenuGroup} {
|
|
@@ -9440,7 +9444,7 @@ var InternalHeader = (props) => {
|
|
|
9440
9444
|
children: [
|
|
9441
9445
|
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationName }),
|
|
9442
9446
|
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
|
|
9443
|
-
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(BarSeparator, {}),
|
|
9447
|
+
(hasContextMenu || navigation2 !== null) && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(BarSeparator, {}),
|
|
9444
9448
|
navigation2,
|
|
9445
9449
|
hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(ContextMenuGroup, { children: [
|
|
9446
9450
|
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|