gov-layout 1.2.27 → 1.2.28
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 +10 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -623,12 +623,12 @@ function ProfileIcon() {
|
|
|
623
623
|
}
|
|
624
624
|
);
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function AvatarIcon({ size = 20 }) {
|
|
627
627
|
return /* @__PURE__ */ jsx(
|
|
628
628
|
"svg",
|
|
629
629
|
{
|
|
630
|
-
width:
|
|
631
|
-
height:
|
|
630
|
+
width: size,
|
|
631
|
+
height: size,
|
|
632
632
|
viewBox: "0 0 24 24",
|
|
633
633
|
fill: "currentColor",
|
|
634
634
|
children: /* @__PURE__ */ jsx("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })
|
|
@@ -688,9 +688,11 @@ function SidebarUserProfile({
|
|
|
688
688
|
display: "flex",
|
|
689
689
|
alignItems: "center",
|
|
690
690
|
justifyContent: "center",
|
|
691
|
-
color: "#fff"
|
|
691
|
+
color: "#fff",
|
|
692
|
+
fontWeight: 700,
|
|
693
|
+
fontSize: "14px"
|
|
692
694
|
},
|
|
693
|
-
children: /* @__PURE__ */ jsx(
|
|
695
|
+
children: /* @__PURE__ */ jsx(AvatarIcon, { size: 20 })
|
|
694
696
|
}
|
|
695
697
|
)
|
|
696
698
|
}
|
|
@@ -807,9 +809,11 @@ function SidebarUserProfile({
|
|
|
807
809
|
alignItems: "center",
|
|
808
810
|
justifyContent: "center",
|
|
809
811
|
color: "#fff",
|
|
812
|
+
fontWeight: 700,
|
|
813
|
+
fontSize: "16px",
|
|
810
814
|
flexShrink: 0
|
|
811
815
|
},
|
|
812
|
-
children: /* @__PURE__ */ jsx(
|
|
816
|
+
children: /* @__PURE__ */ jsx(AvatarIcon, { size: 24 })
|
|
813
817
|
}
|
|
814
818
|
),
|
|
815
819
|
/* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
|