@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.mjs
CHANGED
|
@@ -9008,9 +9008,11 @@ import { ddsBaseTokens as ddsBaseTokens42 } from "@norges-domstoler/dds-design-t
|
|
|
9008
9008
|
var { border: border10, colors: colors23, spacing: spacing24 } = ddsBaseTokens42;
|
|
9009
9009
|
var bar = {
|
|
9010
9010
|
backgroundColor: colors23.DdsColorNeutralsWhite,
|
|
9011
|
-
itemGap: spacing24.
|
|
9011
|
+
itemGap: spacing24.SizesDdsSpacingX15,
|
|
9012
9012
|
minHeight: "57px",
|
|
9013
|
-
borderBottom: `${border10.BordersDdsBorderStyleLightStroke} solid ${border10.BordersDdsBorderStyleLightStrokeWeight}
|
|
9013
|
+
borderBottom: `${border10.BordersDdsBorderStyleLightStroke} solid ${border10.BordersDdsBorderStyleLightStrokeWeight}`,
|
|
9014
|
+
paddingLeft: spacing24.SizesDdsSpacingX15,
|
|
9015
|
+
paddingRight: spacing24.SizesDdsSpacingX15
|
|
9014
9016
|
};
|
|
9015
9017
|
var separator = {
|
|
9016
9018
|
color: border10.BordersDdsBorderStyleLightStroke,
|
|
@@ -9033,6 +9035,8 @@ var Bar2 = styled59.div`
|
|
|
9033
9035
|
align-items: center;
|
|
9034
9036
|
min-height: ${bar2.minHeight};
|
|
9035
9037
|
border-bottom: ${bar2.borderBottom};
|
|
9038
|
+
padding-left: ${bar2.paddingLeft};
|
|
9039
|
+
padding-right: ${bar2.paddingRight};
|
|
9036
9040
|
|
|
9037
9041
|
${({ $hasNavigation }) => $hasNavigation ? css24`
|
|
9038
9042
|
${ContextMenuGroup} {
|
|
@@ -9209,7 +9213,7 @@ var InternalHeader = (props) => {
|
|
|
9209
9213
|
children: [
|
|
9210
9214
|
/* @__PURE__ */ jsx227(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationName }),
|
|
9211
9215
|
/* @__PURE__ */ jsx227(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
|
|
9212
|
-
/* @__PURE__ */ jsx227(BarSeparator, {}),
|
|
9216
|
+
(hasContextMenu || navigation2 !== null) && /* @__PURE__ */ jsx227(BarSeparator, {}),
|
|
9213
9217
|
navigation2,
|
|
9214
9218
|
hasContextMenu && /* @__PURE__ */ jsxs52(ContextMenuGroup, { children: [
|
|
9215
9219
|
/* @__PURE__ */ jsx227(
|