@instructure/ui-select 11.7.2 → 11.7.3-snapshot-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.
@@ -9,13 +9,13 @@ id: Select.Option
9
9
  **/
10
10
  declare class Option extends Component<SelectOptionProps> {
11
11
  static readonly componentId = "Select.Option";
12
- static allowedProps: readonly (keyof {
12
+ static allowedProps: readonly ("renderBeforeLabel" | "renderAfterLabel" | keyof {
13
13
  id: string;
14
14
  isHighlighted?: boolean;
15
15
  isSelected?: boolean;
16
16
  isDisabled?: boolean;
17
17
  children?: React.ReactNode;
18
- } | "renderBeforeLabel" | "renderAfterLabel")[];
18
+ })[];
19
19
  static defaultProps: {
20
20
  isHighlighted: boolean;
21
21
  isSelected: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Select/v1/Option/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAGhD;;;;;;GAMG;AACH,cAAM,MAAO,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,mBAAkB;IAE7C,MAAM,CAAC,YAAY;;;;;;oDAAe;IAElC,MAAM,CAAC,YAAY;;;;MAIlB;IAGD,MAAM;CAKP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Select/v1/Option/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAGhD;;;;;;GAMG;AACH,cAAM,MAAO,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,mBAAkB;IAE7C,MAAM,CAAC,YAAY;;;;;;SAAe;IAElC,MAAM,CAAC,YAAY;;;;MAIlB;IAGD,MAAM;CAKP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -37,7 +37,7 @@ declare class Select extends Component<SelectProps> {
37
37
  isRequired?: boolean;
38
38
  width?: string;
39
39
  htmlSize?: number;
40
- messages?: import("@instructure/ui-form-field/types/exports/a.js").FormMessage[];
40
+ messages?: import("@instructure/ui-form-field/types/exports/b.js").FormMessage[];
41
41
  onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
42
42
  onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
43
43
  inputRef?: (inputElement: HTMLInputElement | null) => void;
@@ -102,7 +102,7 @@ declare class Select extends Component<SelectProps> {
102
102
  }): (import("react").ReactElement<OptionsItemProps, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<OptionsSeparatorProps, string | import("react").JSXElementConstructor<any>>)[];
103
103
  renderList(data: Pick<SelectableRender, 'getListProps' | 'getOptionProps' | 'getDisabledOptionProps'>): import("@emotion/react/jsx-runtime").JSX.Element;
104
104
  renderIcon(): import("@emotion/react/jsx-runtime").JSX.Element;
105
- renderContentBeforeOrAfterInput(position: string): string | number | boolean | void | Element | Iterable<ReactNode> | import("react").ComponentClass<{}, any> | import("react").ClassType<{
105
+ renderContentBeforeOrAfterInput(position: string): string | number | boolean | void | Element | Iterable<ReactNode> | import("react").ComponentClass<{}, any> | import("@emotion/react/jsx-runtime").JSX.Element | import("react").ClassType<{
106
106
  id: string;
107
107
  isHighlighted?: boolean;
108
108
  isSelected?: boolean;
@@ -126,7 +126,7 @@ declare class Select extends Component<SelectProps> {
126
126
  isSelected?: boolean;
127
127
  isDisabled?: boolean;
128
128
  children?: React.ReactNode;
129
- }) => ReactNode | Element) | import("@emotion/react/jsx-runtime").JSX.Element | null;
129
+ }) => ReactNode | Element) | null;
130
130
  handleInputContentRender(renderLabelInput: Renderable, inputValue: string | undefined, isOptionContentAppliedToInput: boolean, position: 'before' | 'after', defaultReturn: Renderable): Renderable;
131
131
  handleRenderBeforeInput(): Renderable;
132
132
  handleRenderAfterInput(): Renderable;
@@ -9,13 +9,13 @@ id: Select.Option
9
9
  **/
10
10
  declare class Option extends Component<SelectOptionProps> {
11
11
  static readonly componentId = "Select.Option";
12
- static allowedProps: readonly ("renderBeforeLabel" | "renderAfterLabel" | keyof {
12
+ static allowedProps: readonly (keyof {
13
13
  id: string;
14
14
  isHighlighted?: boolean;
15
15
  isSelected?: boolean;
16
16
  isDisabled?: boolean;
17
17
  children?: React.ReactNode;
18
- })[];
18
+ } | "renderBeforeLabel" | "renderAfterLabel")[];
19
19
  static defaultProps: {
20
20
  isHighlighted: boolean;
21
21
  isSelected: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Select/v2/Option/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAGhD;;;;;;GAMG;AACH,cAAM,MAAO,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,mBAAkB;IAE7C,MAAM,CAAC,YAAY;;;;;;SAAe;IAElC,MAAM,CAAC,YAAY;;;;MAIlB;IAGD,MAAM;CAKP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Select/v2/Option/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAGhD;;;;;;GAMG;AACH,cAAM,MAAO,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,mBAAkB;IAE7C,MAAM,CAAC,YAAY;;;;;;oDAAe;IAElC,MAAM,CAAC,YAAY;;;;MAIlB;IAGD,MAAM;CAKP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -37,7 +37,7 @@ declare class Select extends Component<SelectProps> {
37
37
  isRequired?: boolean;
38
38
  width?: string;
39
39
  htmlSize?: number;
40
- messages?: import("@instructure/ui-form-field/types/exports/a.js").FormMessage[];
40
+ messages?: import("@instructure/ui-form-field/types/exports/b.js").FormMessage[];
41
41
  onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
42
42
  onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
43
43
  inputRef?: (inputElement: HTMLInputElement | null) => void;
@@ -102,7 +102,7 @@ declare class Select extends Component<SelectProps> {
102
102
  }): (import("react").ReactElement<OptionsItemProps, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<OptionsSeparatorProps, string | import("react").JSXElementConstructor<any>>)[];
103
103
  renderList(data: Pick<SelectableRender, 'getListProps' | 'getOptionProps' | 'getDisabledOptionProps'>): import("@emotion/react/jsx-runtime").JSX.Element;
104
104
  renderIcon(): import("@emotion/react/jsx-runtime").JSX.Element;
105
- renderContentBeforeOrAfterInput(position: string): string | number | boolean | void | Element | Iterable<ReactNode> | import("react").ComponentClass<{}, any> | import("@emotion/react/jsx-runtime").JSX.Element | import("react").ClassType<{
105
+ renderContentBeforeOrAfterInput(position: string): string | number | boolean | void | Element | Iterable<ReactNode> | import("react").ComponentClass<{}, any> | import("react").ClassType<{
106
106
  id: string;
107
107
  isHighlighted?: boolean;
108
108
  isSelected?: boolean;
@@ -126,7 +126,7 @@ declare class Select extends Component<SelectProps> {
126
126
  isSelected?: boolean;
127
127
  isDisabled?: boolean;
128
128
  children?: React.ReactNode;
129
- }) => ReactNode | Element) | null;
129
+ }) => ReactNode | Element) | import("@emotion/react/jsx-runtime").JSX.Element | null;
130
130
  handleInputContentRender(renderLabelInput: Renderable, inputValue: string | undefined, isOptionContentAppliedToInput: boolean, position: 'before' | 'after', defaultReturn: Renderable): Renderable;
131
131
  handleRenderBeforeInput(): Renderable;
132
132
  handleRenderAfterInput(): Renderable;