@instructure/ui-options 8.25.1-snapshot.0 → 8.26.0
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 +4 -0
- package/package.json +14 -15
- package/src/Options/Item/props.ts +9 -5
- package/src/index.ts +4 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Options/Item/OptionsItemLocator.d.ts +4 -4
- package/types/Options/Item/index.d.ts +2 -12
- package/types/Options/Item/index.d.ts.map +1 -1
- package/types/Options/Item/props.d.ts +5 -5
- package/types/Options/Item/props.d.ts.map +1 -1
- package/types/Options/OptionsLocator.d.ts +14 -14
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/LICENSE.md +0 -27
|
@@ -21,10 +21,10 @@ export declare const OptionsItemLocator: {
|
|
|
21
21
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
22
22
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
23
23
|
} & {
|
|
24
|
+
visible: () => boolean;
|
|
24
25
|
toString: (maxLength?: number | undefined, options?: {
|
|
25
26
|
highlight: boolean;
|
|
26
27
|
} | undefined) => string;
|
|
27
|
-
visible: () => boolean;
|
|
28
28
|
getId: () => string;
|
|
29
29
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
30
30
|
getOwnerDocument: () => Document;
|
|
@@ -162,10 +162,10 @@ export declare const OptionsItemLocator: {
|
|
|
162
162
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
163
163
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
164
164
|
} & {
|
|
165
|
+
visible: () => boolean;
|
|
165
166
|
toString: (maxLength?: number | undefined, options?: {
|
|
166
167
|
highlight: boolean;
|
|
167
168
|
} | undefined) => string;
|
|
168
|
-
visible: () => boolean;
|
|
169
169
|
getId: () => string;
|
|
170
170
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
171
171
|
getOwnerDocument: () => Document;
|
|
@@ -303,10 +303,10 @@ export declare const OptionsItemLocator: {
|
|
|
303
303
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
304
304
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
305
305
|
} & {
|
|
306
|
+
visible: () => boolean;
|
|
306
307
|
toString: (maxLength?: number | undefined, options?: {
|
|
307
308
|
highlight: boolean;
|
|
308
309
|
} | undefined) => string;
|
|
309
|
-
visible: () => boolean;
|
|
310
310
|
getId: () => string;
|
|
311
311
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
312
312
|
getOwnerDocument: () => Document;
|
|
@@ -444,10 +444,10 @@ export declare const OptionsItemLocator: {
|
|
|
444
444
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
445
445
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
446
446
|
} & {
|
|
447
|
+
visible: () => boolean;
|
|
447
448
|
toString: (maxLength?: number | undefined, options?: {
|
|
448
449
|
highlight: boolean;
|
|
449
450
|
} | undefined) => string;
|
|
450
|
-
visible: () => boolean;
|
|
451
451
|
getId: () => string;
|
|
452
452
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
453
453
|
getOwnerDocument: () => Document;
|
|
@@ -11,18 +11,8 @@ id: Options.Item
|
|
|
11
11
|
**/
|
|
12
12
|
declare class Item extends Component<OptionsItemProps> {
|
|
13
13
|
static readonly componentId = "Options.Item";
|
|
14
|
-
static allowedProps: readonly ("elementRef" | "href" | keyof
|
|
15
|
-
|
|
16
|
-
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
17
|
-
variant?: "default" | "disabled" | "selected" | "highlighted" | "highlighted-disabled" | undefined;
|
|
18
|
-
role?: string | undefined;
|
|
19
|
-
} | "renderBeforeLabel" | "renderAfterLabel" | "beforeLabelContentVAlign" | "afterLabelContentVAlign" | "description" | "descriptionRole")[];
|
|
20
|
-
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<"elementRef" | "href" | keyof {
|
|
21
|
-
children?: import("react").ReactNode | (() => import("react").ReactNode);
|
|
22
|
-
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
23
|
-
variant?: "default" | "disabled" | "selected" | "highlighted" | "highlighted-disabled" | undefined;
|
|
24
|
-
role?: string | undefined;
|
|
25
|
-
} | "renderBeforeLabel" | "renderAfterLabel" | "beforeLabelContentVAlign" | "afterLabelContentVAlign" | "description" | "descriptionRole">;
|
|
14
|
+
static allowedProps: readonly ("elementRef" | "href" | keyof import("./props").OptionsItemRenderProps | "renderBeforeLabel" | "renderAfterLabel" | "beforeLabelContentVAlign" | "afterLabelContentVAlign" | "description" | "descriptionRole")[];
|
|
15
|
+
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<"elementRef" | "href" | keyof import("./props").OptionsItemRenderProps | "renderBeforeLabel" | "renderAfterLabel" | "beforeLabelContentVAlign" | "afterLabelContentVAlign" | "description" | "descriptionRole">;
|
|
26
16
|
static defaultProps: {
|
|
27
17
|
readonly as: "span";
|
|
28
18
|
readonly variant: "default";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Options/Item/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAGjE;;;;;;GAMG;AACH,cAGM,IAAK,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAC5C,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Options/Item/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAGjE;;;;;;GAMG;AACH,cAGM,IAAK,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAC5C,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,YAAY,8NAAe;IAClC,MAAM,CAAC,SAAS,wRAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;MAMT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAQ;gBAE3B,KAAK,EAAE,gBAAgB;IAMnC,iBAAiB;IAIjB,kBAAkB;IAIlB,aAAa,CACX,WAAW,EACP,gBAAgB,CAAC,mBAAmB,CAAC,GACrC,gBAAgB,CAAC,kBAAkB,CAAC,EACxC,cAAc,EACV,gBAAgB,CAAC,eAAe,CAAC,GACjC,gBAAgB,CAAC,cAAc,CAAC;IAoBtC,MAAM;CAgEP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { AsElementType, PropValidators, OptionsItemTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
3
|
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils';
|
|
4
4
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
5
|
-
declare type
|
|
5
|
+
declare type OptionsItemRenderProps = {
|
|
6
6
|
children?: React.ReactNode | (() => React.ReactNode);
|
|
7
7
|
/**
|
|
8
8
|
* Element type to render as. Will be set to `<a>` if href is provided.
|
|
@@ -17,17 +17,17 @@ declare type ItemProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
role?: string;
|
|
19
19
|
};
|
|
20
|
-
declare type OptionsItemOwnProps =
|
|
20
|
+
declare type OptionsItemOwnProps = OptionsItemRenderProps & {
|
|
21
21
|
/**
|
|
22
22
|
* Content to render before the label
|
|
23
23
|
* (if you pass a function, it has the `props` as its parameter)
|
|
24
24
|
*/
|
|
25
|
-
renderBeforeLabel?: React.ReactNode | ((props:
|
|
25
|
+
renderBeforeLabel?: React.ReactNode | ((props: OptionsItemRenderProps) => React.ReactNode);
|
|
26
26
|
/**
|
|
27
27
|
* Content to render after the label
|
|
28
28
|
* (if you pass a function, it has the `props` as its parameter)
|
|
29
29
|
*/
|
|
30
|
-
renderAfterLabel?: React.ReactNode | ((props:
|
|
30
|
+
renderAfterLabel?: React.ReactNode | ((props: OptionsItemRenderProps) => React.ReactNode);
|
|
31
31
|
/**
|
|
32
32
|
* Sets the vAlign of renderBeforeLabel content
|
|
33
33
|
*/
|
|
@@ -59,6 +59,6 @@ declare type OptionsItemProps = OptionsItemOwnProps & WithStyleProps<OptionsItem
|
|
|
59
59
|
declare type OptionsItemStyle = ComponentStyle<'item' | 'container' | 'content' | 'contentBefore' | 'contentAfter' | 'description'>;
|
|
60
60
|
declare const propTypes: PropValidators<PropKeys>;
|
|
61
61
|
declare const allowedProps: AllowedPropKeys;
|
|
62
|
-
export type { OptionsItemProps, OptionsItemStyle };
|
|
62
|
+
export type { OptionsItemProps, OptionsItemStyle, OptionsItemRenderProps };
|
|
63
63
|
export { propTypes, allowedProps };
|
|
64
64
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/Item/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/Item/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAA;IACpD;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EACJ,SAAS,GACT,aAAa,GACb,UAAU,GACV,UAAU,GACV,sBAAsB,CAAA;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,aAAK,mBAAmB,GAAG,sBAAsB,GAAG;IAClD;;;OAGG;IACH,iBAAiB,CAAC,EACd,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;IACxD;;;OAGG;IACH,gBAAgB,CAAC,EACb,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;IACxD;;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,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAA;IACvD;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;CAC/C,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,mBAAmB,CAAA;AAEzC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,gBAAgB,GAAG,mBAAmB,GACzC,cAAc,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAClD,wBAAwB,GACxB,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,aAAK,gBAAgB,GAAG,cAAc,CAClC,MAAM,GACN,WAAW,GACX,SAAS,GACT,eAAe,GACf,cAAc,GACd,aAAa,CAChB,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAmBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAanB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;AAC1E,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -13,10 +13,10 @@ export declare const OptionsLocator: {
|
|
|
13
13
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
14
14
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
15
15
|
} & {
|
|
16
|
+
visible: () => boolean;
|
|
16
17
|
toString: (maxLength?: number | undefined, options?: {
|
|
17
18
|
highlight: boolean;
|
|
18
19
|
} | undefined) => string;
|
|
19
|
-
visible: () => boolean;
|
|
20
20
|
getId: () => string;
|
|
21
21
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
22
22
|
getOwnerDocument: () => Document;
|
|
@@ -154,10 +154,10 @@ export declare const OptionsLocator: {
|
|
|
154
154
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
155
155
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
156
156
|
} & {
|
|
157
|
+
visible: () => boolean;
|
|
157
158
|
toString: (maxLength?: number | undefined, options?: {
|
|
158
159
|
highlight: boolean;
|
|
159
160
|
} | undefined) => string;
|
|
160
|
-
visible: () => boolean;
|
|
161
161
|
getId: () => string;
|
|
162
162
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
163
163
|
getOwnerDocument: () => Document;
|
|
@@ -302,10 +302,10 @@ export declare const OptionsLocator: {
|
|
|
302
302
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
303
303
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
304
304
|
} & {
|
|
305
|
+
visible: () => boolean;
|
|
305
306
|
toString: (maxLength?: number | undefined, options?: {
|
|
306
307
|
highlight: boolean;
|
|
307
308
|
} | undefined) => string;
|
|
308
|
-
visible: () => boolean;
|
|
309
309
|
getId: () => string;
|
|
310
310
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
311
311
|
getOwnerDocument: () => Document;
|
|
@@ -441,10 +441,10 @@ export declare const OptionsLocator: {
|
|
|
441
441
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
442
442
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
443
443
|
} & {
|
|
444
|
+
visible: () => boolean;
|
|
444
445
|
toString: (maxLength?: number | undefined, options?: {
|
|
445
446
|
highlight: boolean;
|
|
446
447
|
} | undefined) => string;
|
|
447
|
-
visible: () => boolean;
|
|
448
448
|
getId: () => string;
|
|
449
449
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
450
450
|
getOwnerDocument: () => Document;
|
|
@@ -582,10 +582,10 @@ export declare const OptionsLocator: {
|
|
|
582
582
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
583
583
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
584
584
|
} & {
|
|
585
|
+
visible: () => boolean;
|
|
585
586
|
toString: (maxLength?: number | undefined, options?: {
|
|
586
587
|
highlight: boolean;
|
|
587
588
|
} | undefined) => string;
|
|
588
|
-
visible: () => boolean;
|
|
589
589
|
getId: () => string;
|
|
590
590
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
591
591
|
getOwnerDocument: () => Document;
|
|
@@ -724,10 +724,10 @@ export declare const OptionsLocator: {
|
|
|
724
724
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
725
725
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
726
726
|
} & {
|
|
727
|
+
visible: () => boolean;
|
|
727
728
|
toString: (maxLength?: number | undefined, options?: {
|
|
728
729
|
highlight: boolean;
|
|
729
730
|
} | undefined) => string;
|
|
730
|
-
visible: () => boolean;
|
|
731
731
|
getId: () => string;
|
|
732
732
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
733
733
|
getOwnerDocument: () => Document;
|
|
@@ -863,10 +863,10 @@ export declare const OptionsLocator: {
|
|
|
863
863
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
864
864
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
865
865
|
} & {
|
|
866
|
+
visible: () => boolean;
|
|
866
867
|
toString: (maxLength?: number | undefined, options?: {
|
|
867
868
|
highlight: boolean;
|
|
868
869
|
} | undefined) => string;
|
|
869
|
-
visible: () => boolean;
|
|
870
870
|
getId: () => string;
|
|
871
871
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
872
872
|
getOwnerDocument: () => Document;
|
|
@@ -1004,10 +1004,10 @@ export declare const OptionsLocator: {
|
|
|
1004
1004
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1005
1005
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1006
1006
|
} & {
|
|
1007
|
+
visible: () => boolean;
|
|
1007
1008
|
toString: (maxLength?: number | undefined, options?: {
|
|
1008
1009
|
highlight: boolean;
|
|
1009
1010
|
} | undefined) => string;
|
|
1010
|
-
visible: () => boolean;
|
|
1011
1011
|
getId: () => string;
|
|
1012
1012
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1013
1013
|
getOwnerDocument: () => Document;
|
|
@@ -1146,10 +1146,10 @@ export declare const OptionsLocator: {
|
|
|
1146
1146
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1147
1147
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1148
1148
|
} & {
|
|
1149
|
+
visible: () => boolean;
|
|
1149
1150
|
toString: (maxLength?: number | undefined, options?: {
|
|
1150
1151
|
highlight: boolean;
|
|
1151
1152
|
} | undefined) => string;
|
|
1152
|
-
visible: () => boolean;
|
|
1153
1153
|
getId: () => string;
|
|
1154
1154
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1155
1155
|
getOwnerDocument: () => Document;
|
|
@@ -1285,10 +1285,10 @@ export declare const OptionsLocator: {
|
|
|
1285
1285
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1286
1286
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1287
1287
|
} & {
|
|
1288
|
+
visible: () => boolean;
|
|
1288
1289
|
toString: (maxLength?: number | undefined, options?: {
|
|
1289
1290
|
highlight: boolean;
|
|
1290
1291
|
} | undefined) => string;
|
|
1291
|
-
visible: () => boolean;
|
|
1292
1292
|
getId: () => string;
|
|
1293
1293
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1294
1294
|
getOwnerDocument: () => Document;
|
|
@@ -1426,10 +1426,10 @@ export declare const OptionsLocator: {
|
|
|
1426
1426
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1427
1427
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1428
1428
|
} & {
|
|
1429
|
+
visible: () => boolean;
|
|
1429
1430
|
toString: (maxLength?: number | undefined, options?: {
|
|
1430
1431
|
highlight: boolean;
|
|
1431
1432
|
} | undefined) => string;
|
|
1432
|
-
visible: () => boolean;
|
|
1433
1433
|
getId: () => string;
|
|
1434
1434
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1435
1435
|
getOwnerDocument: () => Document;
|
|
@@ -1568,10 +1568,10 @@ export declare const OptionsLocator: {
|
|
|
1568
1568
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1569
1569
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1570
1570
|
} & {
|
|
1571
|
+
visible: () => boolean;
|
|
1571
1572
|
toString: (maxLength?: number | undefined, options?: {
|
|
1572
1573
|
highlight: boolean;
|
|
1573
1574
|
} | undefined) => string;
|
|
1574
|
-
visible: () => boolean;
|
|
1575
1575
|
getId: () => string;
|
|
1576
1576
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1577
1577
|
getOwnerDocument: () => Document;
|
|
@@ -1707,10 +1707,10 @@ export declare const OptionsLocator: {
|
|
|
1707
1707
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1708
1708
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1709
1709
|
} & {
|
|
1710
|
+
visible: () => boolean;
|
|
1710
1711
|
toString: (maxLength?: number | undefined, options?: {
|
|
1711
1712
|
highlight: boolean;
|
|
1712
1713
|
} | undefined) => string;
|
|
1713
|
-
visible: () => boolean;
|
|
1714
1714
|
getId: () => string;
|
|
1715
1715
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1716
1716
|
getOwnerDocument: () => Document;
|
|
@@ -1848,10 +1848,10 @@ export declare const OptionsLocator: {
|
|
|
1848
1848
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1849
1849
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1850
1850
|
} & {
|
|
1851
|
+
visible: () => boolean;
|
|
1851
1852
|
toString: (maxLength?: number | undefined, options?: {
|
|
1852
1853
|
highlight: boolean;
|
|
1853
1854
|
} | undefined) => string;
|
|
1854
|
-
visible: () => boolean;
|
|
1855
1855
|
getId: () => string;
|
|
1856
1856
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1857
1857
|
getOwnerDocument: () => Document;
|
package/types/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export { optionsThemeGenerator } from './Options/theme';
|
|
|
3
3
|
export { optionsItemThemeGenerator } from './Options/Item/theme';
|
|
4
4
|
export { optionsSeparatorThemeGenerator } from './Options/Separator/theme';
|
|
5
5
|
export type { OptionsProps } from './Options/props';
|
|
6
|
-
export type { OptionsItemProps } from './Options/Item/props';
|
|
6
|
+
export type { OptionsItemProps, OptionsItemRenderProps } from './Options/Item/props';
|
|
7
7
|
export type { OptionsSeparatorProps } from './Options/Separator/props';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAA;AAE1E,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAA;AAE1E,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,sBAAsB,CAAA;AAC7B,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA"}
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|