@instructure/ui-rating 8.10.3-snapshot.21 → 8.10.3-snapshot.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-rating",
3
- "version": "8.10.3-snapshot.21+875db2a7e",
3
+ "version": "8.10.3-snapshot.22+f96f8c48e",
4
4
  "description": "A static rating component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,23 +25,23 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.10.3-snapshot.21+875db2a7e",
29
- "@instructure/emotion": "8.10.3-snapshot.21+875db2a7e",
30
- "@instructure/shared-types": "8.10.3-snapshot.21+875db2a7e",
31
- "@instructure/ui-a11y-content": "8.10.3-snapshot.21+875db2a7e",
32
- "@instructure/ui-dom-utils": "8.10.3-snapshot.21+875db2a7e",
33
- "@instructure/ui-icons": "8.10.3-snapshot.21+875db2a7e",
34
- "@instructure/ui-motion": "8.10.3-snapshot.21+875db2a7e",
35
- "@instructure/ui-react-utils": "8.10.3-snapshot.21+875db2a7e",
36
- "@instructure/ui-testable": "8.10.3-snapshot.21+875db2a7e",
37
- "@instructure/ui-view": "8.10.3-snapshot.21+875db2a7e",
28
+ "@instructure/console": "8.10.3-snapshot.22+f96f8c48e",
29
+ "@instructure/emotion": "8.10.3-snapshot.22+f96f8c48e",
30
+ "@instructure/shared-types": "8.10.3-snapshot.22+f96f8c48e",
31
+ "@instructure/ui-a11y-content": "8.10.3-snapshot.22+f96f8c48e",
32
+ "@instructure/ui-dom-utils": "8.10.3-snapshot.22+f96f8c48e",
33
+ "@instructure/ui-icons": "8.10.3-snapshot.22+f96f8c48e",
34
+ "@instructure/ui-motion": "8.10.3-snapshot.22+f96f8c48e",
35
+ "@instructure/ui-react-utils": "8.10.3-snapshot.22+f96f8c48e",
36
+ "@instructure/ui-testable": "8.10.3-snapshot.22+f96f8c48e",
37
+ "@instructure/ui-view": "8.10.3-snapshot.22+f96f8c48e",
38
38
  "prop-types": "^15"
39
39
  },
40
40
  "devDependencies": {
41
- "@instructure/ui-babel-preset": "8.10.3-snapshot.21+875db2a7e",
42
- "@instructure/ui-test-locator": "8.10.3-snapshot.21+875db2a7e",
43
- "@instructure/ui-test-utils": "8.10.3-snapshot.21+875db2a7e",
44
- "@instructure/ui-themes": "8.10.3-snapshot.21+875db2a7e"
41
+ "@instructure/ui-babel-preset": "8.10.3-snapshot.22+f96f8c48e",
42
+ "@instructure/ui-test-locator": "8.10.3-snapshot.22+f96f8c48e",
43
+ "@instructure/ui-test-utils": "8.10.3-snapshot.22+f96f8c48e",
44
+ "@instructure/ui-themes": "8.10.3-snapshot.22+f96f8c48e"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": ">=16.8 <=17"
@@ -50,5 +50,5 @@
50
50
  "access": "public"
51
51
  },
52
52
  "sideEffects": false,
53
- "gitHead": "875db2a7e509e9b8a2c29edfe6d23830b106d472"
53
+ "gitHead": "f96f8c48efab7806609098e1f00a6953b2884601"
54
54
  }
@@ -30,7 +30,10 @@ import type {
30
30
  WithStyleProps,
31
31
  ComponentStyle
32
32
  } from '@instructure/emotion'
33
- import type { PropValidators } from '@instructure/shared-types'
33
+ import type {
34
+ OtherHTMLAttributes,
35
+ PropValidators
36
+ } from '@instructure/shared-types'
34
37
 
35
38
  type RatingOwnProps = {
36
39
  label: string
@@ -47,7 +50,9 @@ type PropKeys = keyof RatingOwnProps
47
50
 
48
51
  type AllowedPropKeys = Readonly<Array<PropKeys>>
49
52
 
50
- type RatingProps = RatingOwnProps & WithStyleProps<null, RatingStyle>
53
+ type RatingProps = RatingOwnProps &
54
+ WithStyleProps<null, RatingStyle> &
55
+ OtherHTMLAttributes<RatingOwnProps>
51
56
 
52
57
  type RatingStyle = ComponentStyle<'rating'>
53
58
 
@@ -18,7 +18,11 @@ declare class Rating extends Component<RatingProps> {
18
18
  valueMax?: number | undefined;
19
19
  valueNow?: number | undefined;
20
20
  animateFill?: boolean | undefined;
21
- margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
21
+ margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined; /**
22
+ ---
23
+ category: components
24
+ ---
25
+ **/
22
26
  })[];
23
27
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
24
28
  label: string;
@@ -28,7 +32,11 @@ declare class Rating extends Component<RatingProps> {
28
32
  valueMax?: number | undefined;
29
33
  valueNow?: number | undefined;
30
34
  animateFill?: boolean | undefined;
31
- margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
35
+ margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined; /**
36
+ ---
37
+ category: components
38
+ ---
39
+ **/
32
40
  }>;
33
41
  static defaultProps: {
34
42
  animateFill: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Rating/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C;;;;GAIG;AACH,cAEM,MAAO,SAAQ,SAAS,CAAC,WAAW,CAAC;IACzC,MAAM,CAAC,QAAQ,CAAC,WAAW,YAAW;IAEtC,MAAM,CAAC,YAAY;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;MAOlB;IAED,MAAM,CAAC,IAAI,oBAAa;IAExB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,MAAM,uBAiBT;IAED,IAAI,KAAK,WAGR;IAED,MAAM;CA+CP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Rating/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C;;;;GAIG;AACH,cAEM,MAAO,SAAQ,SAAS,CAAC,WAAW,CAAC;IACzC,MAAM,CAAC,QAAQ,CAAC,WAAW,YAAW;IAEtC,MAAM,CAAC,YAAY;;;;;;;;0GAVrB;;;;WAIG;SAMiC;IAClC,MAAM,CAAC,SAAS;;;;;;;;0GAXlB;;;;WAIG;OAO2B;IAE5B,MAAM,CAAC,YAAY;;;;;;MAOlB;IAED,MAAM,CAAC,IAAI,oBAAa;IAExB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,MAAM,uBAiBT;IAED,IAAI,KAAK,WAGR;IAED,MAAM;CA+CP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
2
- import type { PropValidators } from '@instructure/shared-types';
2
+ import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
3
3
  declare type RatingOwnProps = {
4
4
  label: string;
5
5
  formatValueText?: (...args: any[]) => any;
@@ -12,7 +12,7 @@ declare type RatingOwnProps = {
12
12
  };
13
13
  declare type PropKeys = keyof RatingOwnProps;
14
14
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
15
- declare type RatingProps = RatingOwnProps & WithStyleProps<null, RatingStyle>;
15
+ declare type RatingProps = RatingOwnProps & WithStyleProps<null, RatingStyle> & OtherHTMLAttributes<RatingOwnProps>;
16
16
  declare type RatingStyle = ComponentStyle<'rating'>;
17
17
  declare const propTypes: PropValidators<PropKeys>;
18
18
  declare const allowedProps: AllowedPropKeys;
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Rating/props.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,aAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACzC,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,cAAc,CAAA;AAEpC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,WAAW,GAAG,cAAc,GAAG,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,CAAA;AAErE,aAAK,WAAW,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA;AAE3C,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAmCvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eASnB,CAAA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