@momentum-design/components 0.133.3 → 0.133.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.
@@ -36,7 +36,6 @@ import ThemeProviderContext from './themeprovider.context';
36
36
  * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,
37
37
  * default: `Momentum` (from momentum-design/fonts)
38
38
  * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
39
- * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,
40
39
  * default: `-0.25px` (this is to match the old CiscoSans)
41
40
  * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
42
41
  * default: `"ss02" on`
@@ -47,7 +47,6 @@ import styles from './themeprovider.styles';
47
47
  * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,
48
48
  * default: `Momentum` (from momentum-design/fonts)
49
49
  * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
50
- * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,
51
50
  * default: `-0.25px` (this is to match the old CiscoSans)
52
51
  * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
53
52
  * default: `"ss02" on`
@@ -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 Inter's letter spacing to better match the old CiscoSans */
8
- --mdc-themeprovider-letter-spacing-adjustment: -0.25px;
9
7
  /* Adjusting font feature settings for accessibility reasons */
10
8
  --mdc-themeprovider-font-feature-settings: 'ss02' on;
11
9
 
@@ -16,7 +14,6 @@ const styles = css `
16
14
  color: var(--mdc-themeprovider-color-default);
17
15
  font-family: var(--mdc-themeprovider-font-family);
18
16
  font-weight: var(--mdc-themeprovider-font-weight);
19
- letter-spacing: var(--mdc-themeprovider-letter-spacing-adjustment);
20
17
 
21
18
  font-feature-settings: var(--mdc-themeprovider-font-feature-settings);
22
19
  }
@@ -47823,13 +47823,9 @@
47823
47823
  "name": "--mdc-themeprovider-font-family"
47824
47824
  },
47825
47825
  {
47826
- "description": "Option to override the font weight, default: `400`",
47826
+ "description": "Option to override the font weight, default: `400` default: `-0.25px` (this is to match the old CiscoSans)",
47827
47827
  "name": "--mdc-themeprovider-font-weight"
47828
47828
  },
47829
- {
47830
- "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
47831
- "name": "--mdc-themeprovider-letter-spacing-adjustment"
47832
- },
47833
47829
  {
47834
47830
  "description": "Option to override the font feature settings, default: `\"ss02\" on`",
47835
47831
  "name": "--mdc-themeprovider-font-feature-settings"
@@ -47900,7 +47896,7 @@
47900
47896
  "module": "/src/models"
47901
47897
  },
47902
47898
  "tagName": "mdc-themeprovider",
47903
- "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 * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\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 */",
47899
+ "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-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\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 */",
47904
47900
  "customElement": true
47905
47901
  }
47906
47902
  ],
@@ -34,7 +34,6 @@ import Component from '../../components/themeprovider';
34
34
  * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,
35
35
  * default: `Momentum` (from momentum-design/fonts)
36
36
  * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
37
- * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,
38
37
  * default: `-0.25px` (this is to match the old CiscoSans)
39
38
  * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
40
39
  * default: `"ss02" on`
@@ -37,7 +37,6 @@ import { TAG_NAME } from '../../components/themeprovider/themeprovider.constants
37
37
  * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,
38
38
  * default: `Momentum` (from momentum-design/fonts)
39
39
  * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`
40
- * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,
41
40
  * default: `-0.25px` (this is to match the old CiscoSans)
42
41
  * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,
43
42
  * default: `"ss02" on`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.133.3",
4
+ "version": "0.133.4",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"