design-system-silkhaus 2.11.2 → 2.11.4

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 CHANGED
@@ -3087,7 +3087,10 @@ const At = (e) => {
3087
3087
  space1600: "var(--space-1600)"
3088
3088
  },
3089
3089
  fontFamily: {
3090
- sans: "var(--font-family-default)"
3090
+ sans: "var(--font-family-default)",
3091
+ serif: "var(--font-family-hero)",
3092
+ default: "var(--font-family-default)",
3093
+ hero: "var(--font-family-hero)"
3091
3094
  },
3092
3095
  fontSize: {
3093
3096
  xLargeHeroTitleRegular: [
@@ -38100,9 +38103,11 @@ const CY = ({
38100
38103
  className: "ds-flex ds-items-center ds-gap-2 ds-text-mediumCaption1Regular " + // cn merges ds-text for font size and color, which is a bug. So we keep this outside
38101
38104
  Ue("ds-text-Text-secondary", e && "ds-text-Background-accentTeal-100"),
38102
38105
  children: [
38103
- e && /* @__PURE__ */ h.jsx(lC, { className: "ds-size-4" }),
38104
- !e && /* @__PURE__ */ h.jsx(hC, { className: "ds-size-4" }),
38105
- /* @__PURE__ */ h.jsx("div", { children: t })
38106
+ /* @__PURE__ */ h.jsxs("div", { className: "ds-flex ds-size-4 ds-items-center", children: [
38107
+ e && /* @__PURE__ */ h.jsx(lC, { className: "ds-size-4" }),
38108
+ !e && /* @__PURE__ */ h.jsx(hC, { className: "ds-size-4" })
38109
+ ] }),
38110
+ /* @__PURE__ */ h.jsx("div", { style: { wordBreak: "normal", overflowWrap: "anywhere" }, children: t })
38106
38111
  ]
38107
38112
  }
38108
38113
  );
@@ -96,6 +96,9 @@ exports.default = {
96
96
  },
97
97
  fontFamily: {
98
98
  sans: 'var(--font-family-default)',
99
+ serif: 'var(--font-family-hero)',
100
+ default: 'var(--font-family-default)',
101
+ hero: 'var(--font-family-hero)',
99
102
  },
100
103
  fontSize: {
101
104
  xLargeHeroTitleRegular: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-silkhaus",
3
3
  "private": false,
4
- "version": "2.11.2",
4
+ "version": "2.11.4",
5
5
  "description": "Design system for Silkhaus built with Typescript, React and Tailwind",
6
6
  "author": "silkhaus",
7
7
  "license": "MIT",