@splunk/themes 0.13.1 → 0.14.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 +5 -0
- package/mixins/typography.js +2 -1
- package/package.json +1 -1
- package/types/mixins/typography.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
0.14.0 - January 10, 2023
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* Added `inherit` option for `color` prop in `typography` mixin.
|
|
8
|
+
|
|
4
9
|
0.13.1 - December 6, 2022
|
|
5
10
|
----------
|
|
6
11
|
* Optimizes bundle sizes of consumers by reducing footprint of "lodash" (SUI-5090).
|
package/mixins/typography.js
CHANGED
|
@@ -177,7 +177,8 @@ var colorPropToVariableMap = {
|
|
|
177
177
|
"default": _variables["default"].contentColorDefault,
|
|
178
178
|
disabled: _variables["default"].contentColorDisabled,
|
|
179
179
|
inverted: _variables["default"].contentColorInverted,
|
|
180
|
-
muted: _variables["default"].contentColorMuted
|
|
180
|
+
muted: _variables["default"].contentColorMuted,
|
|
181
|
+
inherit: 'inherit'
|
|
181
182
|
};
|
|
182
183
|
var familyPropToVariableMap = {
|
|
183
184
|
sansSerif: _variables["default"].sansFontFamily,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/themes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Theme variables and mixins for the Splunk design language",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"babel": "babel src -d . --ignore src/babel-plugin-base64-png,src/tests --ignore \"**/docs\" --extensions .js,.ts,.tsx",
|
|
@@ -17,7 +17,7 @@ interface TypographyParams {
|
|
|
17
17
|
/**
|
|
18
18
|
* Set the color to a system-standard color: e.g. `active` for `@splunk/themes/variables.contentColorActive`.
|
|
19
19
|
*/
|
|
20
|
-
color?: 'active' | 'default' | 'disabled' | 'inverted' | 'muted';
|
|
20
|
+
color?: 'active' | 'default' | 'disabled' | 'inverted' | 'muted' | 'inherit';
|
|
21
21
|
/**
|
|
22
22
|
* Set the font-weight to a system-standard value.
|
|
23
23
|
*
|