@instructure/ui-spinner 11.7.7-snapshot-4 → 11.7.7-snapshot-7

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.
@@ -0,0 +1,4 @@
1
+ declare const AISpinnerIcon: import("react").ComponentType<import("@instructure/ui-icons").InstUIIconProps>;
2
+ export default AISpinnerIcon;
3
+ export { AISpinnerIcon };
4
+ //# sourceMappingURL=AISpinnerIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AISpinnerIcon.d.ts","sourceRoot":"","sources":["../../../src/Spinner/v2/AISpinnerIcon.tsx"],"names":[],"mappings":"AAyCA,QAAA,MAAM,aAAa,gFAA2D,CAAA;eAE/D,aAAa;AAC5B,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -8,19 +8,19 @@ declare const Spinner: import("react").ForwardRefExoticComponent<{
8
8
  margin?: import("@instructure/emotion").Spacing;
9
9
  renderTitle?: import("@instructure/shared-types").Renderable;
10
10
  size?: 'x-small' | 'small' | 'medium' | 'large';
11
- variant?: 'default' | 'inverse';
11
+ variant?: 'default' | 'inverse' | 'ai' | 'ai-on-color';
12
12
  } & import("@instructure/emotion").NewThemeOverrideProp<import("@instructure/ui-themes/types/themes/newThemeTokens/componentTypes/spinner.js").Spinner> & Omit<import("react").AllHTMLAttributes<{
13
13
  delay?: number;
14
14
  margin?: import("@instructure/emotion").Spacing;
15
15
  renderTitle?: import("@instructure/shared-types").Renderable;
16
16
  size?: 'x-small' | 'small' | 'medium' | 'large';
17
- variant?: 'default' | 'inverse';
17
+ variant?: 'default' | 'inverse' | 'ai' | 'ai-on-color';
18
18
  } & Element>, "dir" | keyof {
19
19
  delay?: number;
20
20
  margin?: import("@instructure/emotion").Spacing;
21
21
  renderTitle?: import("@instructure/shared-types").Renderable;
22
22
  size?: 'x-small' | 'small' | 'medium' | 'large';
23
- variant?: 'default' | 'inverse';
23
+ variant?: 'default' | 'inverse' | 'ai' | 'ai-on-color';
24
24
  }> & {
25
25
  dir?: 'ltr' | 'rtl';
26
26
  } & import("@instructure/ui-react-utils").WithDeterministicIdProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Spinner/v2/index.tsx"],"names":[],"mappings":"AAsCA;;;;GAIG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;mHAiFX,CAAA;eAIa,OAAO;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Spinner/v2/index.tsx"],"names":[],"mappings":"AAwCA;;;;GAIG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;mHAqGX,CAAA;eAIa,OAAO;AACtB,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -23,14 +23,16 @@ type SpinnerOwnProps = {
23
23
  */
24
24
  size?: 'x-small' | 'small' | 'medium' | 'large';
25
25
  /**
26
- * Different color schemes for use with light or dark backgrounds
26
+ * Different color schemes for use with light or dark backgrounds.
27
+ * The `ai` variants show the AI icon instead of the circle. `ai` uses the
28
+ * theme's AI gradient, and `ai-on-color` is for colored backgrounds.
27
29
  */
28
- variant?: 'default' | 'inverse';
30
+ variant?: 'default' | 'inverse' | 'ai' | 'ai-on-color';
29
31
  };
30
32
  type PropKeys = keyof SpinnerOwnProps;
31
33
  type AllowedPropKeys = Readonly<Array<PropKeys>>;
32
34
  type SpinnerProps = SpinnerOwnProps & NewThemeOverrideProp<ReturnType<NewComponentTypes['Spinner']>> & OtherHTMLAttributes<SpinnerOwnProps> & WithDeterministicIdProps;
33
- type SpinnerStyle = ComponentStyle<'spinner' | 'circle' | 'circleTrack' | 'circleSpin' | 'radius'>;
35
+ type SpinnerStyle = ComponentStyle<'spinner' | 'circle' | 'circleTrack' | 'circleSpin' | 'radius' | 'aiSpin'>;
34
36
  declare const allowedProps: AllowedPropKeys;
35
37
  export type { SpinnerProps, SpinnerStyle };
36
38
  export { allowedProps };
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Spinner/v2/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAA;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAC/C;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,eAAe,CAAA;AAErC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,YAAY,GAAG,eAAe,GACjC,oBAAoB,CAAC,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC,GAC9D,mBAAmB,CAAC,eAAe,CAAC,GACpC,wBAAwB,CAAA;AAE1B,KAAK,YAAY,GAAG,cAAc,CAChC,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,QAAQ,CAC/D,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAMnB,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,CAAA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AAE,YAAY,EAAE,YAAY,EAAE,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Spinner/v2/styles.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAC1B,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAA;IAChC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAA;CAC/B,CAAA;AAwBD;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,UAChD,WAAW,gBACL,YAAY,KACzB,YAsIF,CAAA;eAEc,aAAa"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Spinner/v2/styles.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAC1B,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAA;IAChC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAA;CAC/B,CAAA;AAwBD;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,UAChD,WAAW,gBACL,YAAY,KACzB,YAuJF,CAAA;eAEc,aAAa"}