@uni-design-system/uni-core 8.1.0 → 8.2.0

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/esm/index.js CHANGED
@@ -1351,7 +1351,7 @@ var buildComponents = (c) => ({
1351
1351
  logoPadding: "md"
1352
1352
  } },
1353
1353
  input: { options: {
1354
- typeFace: "input",
1354
+ typeface: "input",
1355
1355
  color: "primary-surface",
1356
1356
  textColor: "on-primary-surface",
1357
1357
  disabledColor: "disabled-surface",
@@ -1824,11 +1824,11 @@ var deepMerge = (base, override) => {
1824
1824
  for (const [key, value] of Object.entries(override)) out[key] = isRecord$1(value) && isRecord$1(out[key]) ? deepMerge(out[key], value) : value;
1825
1825
  return out;
1826
1826
  };
1827
- var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows = BaseShadows, borders, thicknesses, components }) => ({
1827
+ var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows = BaseShadows, typography, borders, thicknesses, components }) => ({
1828
1828
  id,
1829
1829
  name,
1830
1830
  colors,
1831
- typography: BaseTypography,
1831
+ typography: deepMerge(BaseTypography, typography),
1832
1832
  borders: deepMerge(buildBorders(colors), borders),
1833
1833
  radii,
1834
1834
  shadows,