@momentum-design/components 0.4.2 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,6 @@ declare class ThemeProvider extends Provider<ThemeProviderContext> {
48
48
  * Default: 'mds-theme-stable-darkWebex'
49
49
  */
50
50
  themeclass: string;
51
- connectedCallback(): void;
52
51
  protected updated(changedProperties: Map<string, any>): void;
53
52
  /**
54
53
  * Update all observing components of this
@@ -53,11 +53,6 @@ class ThemeProvider extends models_1.Provider {
53
53
  static get Context() {
54
54
  return themeprovider_context_1.default.context;
55
55
  }
56
- connectedCallback() {
57
- super.connectedCallback();
58
- // Set the default typography class
59
- this.classList.add(themeprovider_constants_1.DEFAULTS.TYPOGRAPHYCLASS);
60
- }
61
56
  updated(changedProperties) {
62
57
  super.updated(changedProperties);
63
58
  if (changedProperties.has('themeclass')) {
@@ -1,6 +1,5 @@
1
1
  declare const TAG_NAME: "mdc-themeprovider";
2
2
  declare const DEFAULTS: {
3
3
  THEMECLASS: "mds-theme-stable-darkWebex";
4
- TYPOGRAPHYCLASS: "mds-typography";
5
4
  };
6
5
  export { DEFAULTS, TAG_NAME };
@@ -8,6 +8,5 @@ const TAG_NAME = tag_name_1.default.constructTagName('themeprovider');
8
8
  exports.TAG_NAME = TAG_NAME;
9
9
  const DEFAULTS = {
10
10
  THEMECLASS: 'mds-theme-stable-darkWebex',
11
- TYPOGRAPHYCLASS: 'mds-typography',
12
11
  };
13
12
  exports.DEFAULTS = DEFAULTS;
package/package.json CHANGED
@@ -37,5 +37,5 @@
37
37
  "@momentum-design/icons": "*",
38
38
  "@momentum-design/tokens": "*"
39
39
  },
40
- "version": "0.4.2"
40
+ "version": "0.4.4"
41
41
  }