@momentum-design/components 0.133.38 → 0.133.39
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/browser/index.js +0 -4
- package/dist/browser/index.js.map +2 -2
- package/dist/components/themeprovider/themeprovider.component.d.ts +0 -2
- package/dist/components/themeprovider/themeprovider.component.js +0 -2
- package/dist/components/themeprovider/themeprovider.styles.js +0 -4
- package/dist/custom-elements.json +1 -5
- package/dist/react/themeprovider/index.d.ts +0 -2
- package/dist/react/themeprovider/index.js +0 -2
- package/package.json +1 -1
|
@@ -37,8 +37,6 @@ import ThemeProviderContext from './themeprovider.context';
|
|
|
37
37
|
* default: `Momentum` (from momentum-design/fonts)
|
|
38
38
|
* @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
|
|
39
39
|
* default: `-0.25px` (this is to match the old CiscoSans)
|
|
40
|
-
* @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
|
|
41
|
-
* default: `"ss02" on`
|
|
42
40
|
* @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.
|
|
43
41
|
* @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.
|
|
44
42
|
*/
|
|
@@ -48,8 +48,6 @@ import styles from './themeprovider.styles';
|
|
|
48
48
|
* default: `Momentum` (from momentum-design/fonts)
|
|
49
49
|
* @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
|
|
50
50
|
* default: `-0.25px` (this is to match the old CiscoSans)
|
|
51
|
-
* @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
|
|
52
|
-
* default: `"ss02" on`
|
|
53
51
|
* @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.
|
|
54
52
|
* @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.
|
|
55
53
|
*/
|
|
@@ -4,8 +4,6 @@ const styles = css `
|
|
|
4
4
|
--mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
|
|
5
5
|
--mdc-themeprovider-font-family: var(--mds-font-family-primary);
|
|
6
6
|
--mdc-themeprovider-font-weight: 400;
|
|
7
|
-
/* Adjusting font feature settings for accessibility reasons */
|
|
8
|
-
--mdc-themeprovider-font-feature-settings: 'ss02' on;
|
|
9
7
|
|
|
10
8
|
/* Custom scrollbar variables */
|
|
11
9
|
--mdc-themeprovider-scrollbar-track-color: transparent;
|
|
@@ -14,8 +12,6 @@ const styles = css `
|
|
|
14
12
|
color: var(--mdc-themeprovider-color-default);
|
|
15
13
|
font-family: var(--mdc-themeprovider-font-family);
|
|
16
14
|
font-weight: var(--mdc-themeprovider-font-weight);
|
|
17
|
-
|
|
18
|
-
font-feature-settings: var(--mdc-themeprovider-font-feature-settings);
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
/** Scrollbar Theme for Chrome, Edge, and Firefox. This has limited support on other browsers.
|
|
@@ -48240,10 +48240,6 @@
|
|
|
48240
48240
|
"description": "Option to override the font weight, default: `400` default: `-0.25px` (this is to match the old CiscoSans)",
|
|
48241
48241
|
"name": "--mdc-themeprovider-font-weight"
|
|
48242
48242
|
},
|
|
48243
|
-
{
|
|
48244
|
-
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
|
48245
|
-
"name": "--mdc-themeprovider-font-feature-settings"
|
|
48246
|
-
},
|
|
48247
48243
|
{
|
|
48248
48244
|
"description": "Option to override the color of the scrollbar track.",
|
|
48249
48245
|
"name": "--mdc-themeprovider-scrollbar-track-color"
|
|
@@ -48310,7 +48306,7 @@
|
|
|
48310
48306
|
"module": "/src/models"
|
|
48311
48307
|
},
|
|
48312
48308
|
"tagName": "mdc-themeprovider",
|
|
48313
|
-
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-
|
|
48309
|
+
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n */",
|
|
48314
48310
|
"customElement": true
|
|
48315
48311
|
}
|
|
48316
48312
|
],
|
|
@@ -35,8 +35,6 @@ import Component from '../../components/themeprovider';
|
|
|
35
35
|
* default: `Momentum` (from momentum-design/fonts)
|
|
36
36
|
* @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
|
|
37
37
|
* default: `-0.25px` (this is to match the old CiscoSans)
|
|
38
|
-
* @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
|
|
39
|
-
* default: `"ss02" on`
|
|
40
38
|
* @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.
|
|
41
39
|
* @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.
|
|
42
40
|
*/
|
|
@@ -38,8 +38,6 @@ import { TAG_NAME } from '../../components/themeprovider/themeprovider.constants
|
|
|
38
38
|
* default: `Momentum` (from momentum-design/fonts)
|
|
39
39
|
* @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
|
|
40
40
|
* default: `-0.25px` (this is to match the old CiscoSans)
|
|
41
|
-
* @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
|
|
42
|
-
* default: `"ss02" on`
|
|
43
41
|
* @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.
|
|
44
42
|
* @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.
|
|
45
43
|
*/
|