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