@shopify/polaris-types 2.0.0-rc.1 → 2.0.0-rc.2

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/polaris.d.ts CHANGED
@@ -4324,8 +4324,6 @@ declare abstract class ButtonGroupBase extends PolarisCustomElement implements P
4324
4324
  * @private
4325
4325
  */
4326
4326
  setInertActions(actions: readonly Element[]): void;
4327
- /** @private */
4328
- disconnectedCallback(): void;
4329
4327
  }
4330
4328
 
4331
4329
  /**
@@ -8106,19 +8104,19 @@ interface ReactProps$6 extends Partial<TextProps>, Pick<TextProps$1, 'id' | 'chi
8106
8104
  children?: ComponentChildren$1;
8107
8105
  }
8108
8106
 
8109
- declare abstract class TextBase extends PolarisCustomElement implements Pick<TextProps, 'fontVariantNumeric' | 'fontSize' | 'fontWeight' | 'color' | 'type' | 'dir' | 'accessibilityVisibility' | 'interestFor'> {
8107
+ declare abstract class TextBase extends PolarisCustomElement implements Pick<TextProps, 'fontVariantNumeric' | 'fontSize' | 'fontWeight' | 'type' | 'dir' | 'accessibilityVisibility' | 'interestFor'> {
8110
8108
  fontSize: TextProps['fontSize'];
8111
8109
  fontWeight: TextProps['fontWeight'];
8112
8110
  /**
8113
8111
  * @deprecated Use `Number` for inline numeric values instead.
8114
8112
  */
8115
8113
  fontVariantNumeric: TextProps['fontVariantNumeric'];
8116
- color: TextProps['color'];
8117
8114
  type: TextProps['type'];
8118
8115
  dir: TextProps['dir'];
8119
8116
  accessibilityVisibility: TextProps['accessibilityVisibility'];
8120
8117
  interestFor: string;
8121
8118
  abstract tone: string;
8119
+ abstract color: string;
8122
8120
  constructor(renderImpl: RenderImpl);
8123
8121
  }
8124
8122
 
@@ -8128,6 +8126,7 @@ declare abstract class TextBase extends PolarisCustomElement implements Pick<Tex
8128
8126
  */
8129
8127
  declare class Text extends TextBase implements TextProps {
8130
8128
  tone: TextProps['tone'];
8129
+ color: TextProps['color'];
8131
8130
  constructor();
8132
8131
  }
8133
8132
  declare global {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/polaris-types",
3
- "version": "2.0.0-rc.1",
3
+ "version": "2.0.0-rc.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org",