@instructure/ui-options 11.7.3-snapshot-3 → 11.7.3-snapshot-6
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/CHANGELOG.md +1 -1
- package/package.json +11 -11
- package/src/Options/v2/Item/props.ts +5 -2
- package/src/Options/v2/Separator/props.ts +5 -2
- package/src/Options/v2/props.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Options/v2/Item/props.d.ts +3 -2
- package/types/Options/v2/Item/props.d.ts.map +1 -1
- package/types/Options/v2/Separator/props.d.ts +3 -2
- package/types/Options/v2/Separator/props.d.ts.map +1 -1
- package/types/Options/v2/props.d.ts +3 -2
- package/types/Options/v2/props.d.ts.map +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { AsElementType,
|
|
1
|
+
import type { AsElementType, OtherHTMLAttributes, Renderable } from '@instructure/shared-types';
|
|
2
2
|
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils';
|
|
3
3
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
|
+
import type { NewComponentTypes } from '@instructure/ui-themes';
|
|
4
5
|
type OptionsItemRenderProps = {
|
|
5
6
|
children?: Renderable;
|
|
6
7
|
/**
|
|
@@ -62,7 +63,7 @@ type OptionsItemOwnProps = OptionsItemRenderProps & {
|
|
|
62
63
|
};
|
|
63
64
|
type PropKeys = keyof OptionsItemOwnProps;
|
|
64
65
|
type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
65
|
-
type OptionsItemProps = OptionsItemOwnProps & WithStyleProps<
|
|
66
|
+
type OptionsItemProps = OptionsItemOwnProps & WithStyleProps<ReturnType<NewComponentTypes['OptionsItem']>, OptionsItemStyle> & WithDeterministicIdProps & OtherHTMLAttributes<OptionsItemOwnProps>;
|
|
66
67
|
type OptionsItemStyle = ComponentStyle<'item' | 'container' | 'content' | 'contentBefore' | 'contentAfter' | 'description'>;
|
|
67
68
|
declare const allowedProps: AllowedPropKeys;
|
|
68
69
|
export type { OptionsItemProps, OptionsItemStyle, OptionsItemRenderProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/Options/v2/Item/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/Options/v2/Item/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,UAAU,EACX,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EACJ,SAAS,GACT,aAAa,GACb,UAAU,GACV,UAAU,GACV,sBAAsB,GACtB,sBAAsB,CAAA;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,KAAK,mBAAmB,GAAG,sBAAsB,GAAG;IAClD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAA;IACtD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAA;IACrD;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IACrD;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IACpD;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAA;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,mBAAmB,CAAA;AAEzC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,gBAAgB,GAAG,mBAAmB,GACzC,cAAc,CACZ,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,EAC5C,gBAAgB,CACjB,GACD,wBAAwB,GACxB,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,KAAK,gBAAgB,GAAG,cAAc,CAClC,MAAM,GACN,WAAW,GACX,SAAS,GACT,eAAe,GACf,cAAc,GACd,aAAa,CAChB,CAAA;AACD,QAAA,MAAM,YAAY,EAAE,eAenB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { AsElementType,
|
|
1
|
+
import type { AsElementType, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
2
2
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
+
import type { NewComponentTypes } from '@instructure/ui-themes';
|
|
3
4
|
import { AllHTMLAttributes } from 'react';
|
|
4
5
|
type OptionsSeparatorOwnProps = {
|
|
5
6
|
/**
|
|
@@ -9,7 +10,7 @@ type OptionsSeparatorOwnProps = {
|
|
|
9
10
|
};
|
|
10
11
|
type PropKeys = keyof OptionsSeparatorOwnProps;
|
|
11
12
|
type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
12
|
-
type OptionsSeparatorProps = OptionsSeparatorOwnProps & WithStyleProps<
|
|
13
|
+
type OptionsSeparatorProps = OptionsSeparatorOwnProps & WithStyleProps<ReturnType<NewComponentTypes['OptionsSeparator']>, OptionsSeparatorStyle> & OtherHTMLAttributes<OptionsSeparatorOwnProps, AllHTMLAttributes<any>>;
|
|
13
14
|
type OptionsSeparatorStyle = ComponentStyle<'separator'>;
|
|
14
15
|
declare const allowedProps: AllowedPropKeys;
|
|
15
16
|
export type { OptionsSeparatorProps, OptionsSeparatorStyle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/Options/v2/Separator/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/Options/v2/Separator/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,KAAK,wBAAwB,GAAG;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;CACnB,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,wBAAwB,CAAA;AAE9C,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,qBAAqB,GAAG,wBAAwB,GACnD,cAAc,CACZ,UAAU,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,EACjD,qBAAqB,CACtB,GACD,mBAAmB,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAA;AAEvE,KAAK,qBAAqB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA;AACxD,QAAA,MAAM,YAAY,EAAE,eAAwB,CAAA;AAE5C,YAAY,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AsElementType,
|
|
2
|
+
import type { AsElementType, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
3
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
|
+
import type { NewComponentTypes } from '@instructure/ui-themes';
|
|
4
5
|
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils';
|
|
5
6
|
import { Renderable } from '@instructure/shared-types';
|
|
6
7
|
type OptionsOwnProps = {
|
|
@@ -24,7 +25,7 @@ type OptionsOwnProps = {
|
|
|
24
25
|
};
|
|
25
26
|
type PropKeys = keyof OptionsOwnProps;
|
|
26
27
|
type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
27
|
-
type OptionsProps = OptionsOwnProps & WithStyleProps<
|
|
28
|
+
type OptionsProps = OptionsOwnProps & WithStyleProps<ReturnType<NewComponentTypes['Options']>, OptionsStyle> & OtherHTMLAttributes<OptionsOwnProps> & WithDeterministicIdProps;
|
|
28
29
|
type OptionsStyle = ComponentStyle<'options' | 'list' | 'label'>;
|
|
29
30
|
declare const allowedProps: AllowedPropKeys;
|
|
30
31
|
export type { OptionsProps, OptionsStyle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/v2/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EACV,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../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