@react-stately/select 3.5.1-nightly.3871 → 3.5.1-nightly.3884

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/dist/import.mjs CHANGED
@@ -7,7 +7,7 @@ import {useState as $e17gp$useState} from "react";
7
7
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License. You may obtain a copy
9
9
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
- *
10
+ *
11
11
  * Unless required by applicable law or agreed to in writing, software distributed under
12
12
  * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
13
  * OF ANY KIND, either express or implied. See the License for the specific language
package/dist/main.js CHANGED
@@ -12,7 +12,7 @@ $parcel$export(module.exports, "useSelectState", () => $80ebb60e77198879$export$
12
12
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
13
13
  * you may not use this file except in compliance with the License. You may obtain a copy
14
14
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
15
- *
15
+ *
16
16
  * Unless required by applicable law or agreed to in writing, software distributed under
17
17
  * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
18
18
  * OF ANY KIND, either express or implied. See the License for the specific language
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC,GAED;;;AAqBO,SAAS,0CAAiC,KAA4B,EAAmB;IAC9F,IAAI,eAAe,CAAA,GAAA,2CAAkB,EAAE;IACvC,IAAI,YAAY,CAAA,GAAA,gDAAuB,EAAE;QACvC,GAAG,KAAK;QACR,mBAAmB,CAAC,MAAQ;YAC1B,IAAI,MAAM,iBAAiB,IAAI,IAAI,EACjC,MAAM,iBAAiB,CAAC;YAG1B,aAAa,KAAK;QACpB;IACF;IAEA,IAAI,CAAC,WAAW,WAAW,GAAG,CAAA,GAAA,qBAAO,EAAE,KAAK;IAE5C,OAAO;QACL,GAAG,SAAS;QACZ,GAAG,YAAY;QACf,QAAO;YACL,yCAAyC;YACzC,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,IAAI;QAErB;QACA,QAAO,aAAa,EAAE;YACpB,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,MAAM,CAAC;QAExB;mBACA;oBACA;IACF;AACF;;CDvDC,GAED","sources":["packages/@react-stately/select/src/index.ts","packages/@react-stately/select/src/useSelectState.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useSelectState} from './useSelectState';\n\nexport type {SelectProps} from '@react-types/select';\nexport type {SelectState} from './useSelectState';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CollectionStateBase} from '@react-types/shared';\nimport {MenuTriggerState, useMenuTriggerState} from '@react-stately/menu';\nimport {SelectProps} from '@react-types/select';\nimport {SingleSelectListState, useSingleSelectListState} from '@react-stately/list';\nimport {useState} from 'react';\n\nexport interface SelectStateOptions<T> extends Omit<SelectProps<T>, 'children'>, CollectionStateBase<T> {}\n\nexport interface SelectState<T> extends SingleSelectListState<T>, MenuTriggerState {\n /** Whether the select is currently focused. */\n readonly isFocused: boolean,\n\n /** Sets whether the select is focused. */\n setFocused(isFocused: boolean): void\n}\n\n/**\n * Provides state management for a select component. Handles building a collection\n * of items from props, handles the open state for the popup menu, and manages\n * multiple selection state.\n */\nexport function useSelectState<T extends object>(props: SelectStateOptions<T>): SelectState<T> {\n let triggerState = useMenuTriggerState(props);\n let listState = useSingleSelectListState({\n ...props,\n onSelectionChange: (key) => {\n if (props.onSelectionChange != null) {\n props.onSelectionChange(key);\n }\n\n triggerState.close();\n }\n });\n\n let [isFocused, setFocused] = useState(false);\n\n return {\n ...listState,\n ...triggerState,\n open() {\n // Don't open if the collection is empty.\n if (listState.collection.size !== 0) {\n triggerState.open();\n }\n },\n toggle(focusStrategy) {\n if (listState.collection.size !== 0) {\n triggerState.toggle(focusStrategy);\n }\n },\n isFocused,\n setFocused\n };\n}\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC,GAED;;;AAqBO,SAAS,0CAAiC,KAA4B,EAAmB;IAC9F,IAAI,eAAe,CAAA,GAAA,2CAAkB,EAAE;IACvC,IAAI,YAAY,CAAA,GAAA,gDAAuB,EAAE;QACvC,GAAG,KAAK;QACR,mBAAmB,CAAC,MAAQ;YAC1B,IAAI,MAAM,iBAAiB,IAAI,IAAI,EACjC,MAAM,iBAAiB,CAAC;YAG1B,aAAa,KAAK;QACpB;IACF;IAEA,IAAI,CAAC,WAAW,WAAW,GAAG,CAAA,GAAA,qBAAO,EAAE,KAAK;IAE5C,OAAO;QACL,GAAG,SAAS;QACZ,GAAG,YAAY;QACf,QAAO;YACL,yCAAyC;YACzC,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,IAAI;QAErB;QACA,QAAO,aAAa,EAAE;YACpB,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,MAAM,CAAC;QAExB;mBACA;oBACA;IACF;AACF;;CDvDC,GAED","sources":["packages/@react-stately/select/src/index.ts","packages/@react-stately/select/src/useSelectState.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useSelectState} from './useSelectState';\n\nexport type {SelectProps} from '@react-types/select';\nexport type {SelectState, SelectStateOptions} from './useSelectState';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CollectionStateBase} from '@react-types/shared';\nimport {MenuTriggerState, useMenuTriggerState} from '@react-stately/menu';\nimport {SelectProps} from '@react-types/select';\nimport {SingleSelectListState, useSingleSelectListState} from '@react-stately/list';\nimport {useState} from 'react';\n\nexport interface SelectStateOptions<T> extends Omit<SelectProps<T>, 'children'>, CollectionStateBase<T> {}\n\nexport interface SelectState<T> extends SingleSelectListState<T>, MenuTriggerState {\n /** Whether the select is currently focused. */\n readonly isFocused: boolean,\n\n /** Sets whether the select is focused. */\n setFocused(isFocused: boolean): void\n}\n\n/**\n * Provides state management for a select component. Handles building a collection\n * of items from props, handles the open state for the popup menu, and manages\n * multiple selection state.\n */\nexport function useSelectState<T extends object>(props: SelectStateOptions<T>): SelectState<T> {\n let triggerState = useMenuTriggerState(props);\n let listState = useSingleSelectListState({\n ...props,\n onSelectionChange: (key) => {\n if (props.onSelectionChange != null) {\n props.onSelectionChange(key);\n }\n\n triggerState.close();\n }\n });\n\n let [isFocused, setFocused] = useState(false);\n\n return {\n ...listState,\n ...triggerState,\n open() {\n // Don't open if the collection is empty.\n if (listState.collection.size !== 0) {\n triggerState.open();\n }\n },\n toggle(focusStrategy) {\n if (listState.collection.size !== 0) {\n triggerState.toggle(focusStrategy);\n }\n },\n isFocused,\n setFocused\n };\n}\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -7,7 +7,7 @@ import {useState as $e17gp$useState} from "react";
7
7
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License. You may obtain a copy
9
9
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
- *
10
+ *
11
11
  * Unless required by applicable law or agreed to in writing, software distributed under
12
12
  * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
13
  * OF ANY KIND, either express or implied. See the License for the specific language
@@ -1 +1 @@
1
- {"mappings":";;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC,GAED;;;AAqBO,SAAS,0CAAiC,KAA4B,EAAmB;IAC9F,IAAI,eAAe,CAAA,GAAA,0BAAkB,EAAE;IACvC,IAAI,YAAY,CAAA,GAAA,+BAAuB,EAAE;QACvC,GAAG,KAAK;QACR,mBAAmB,CAAC,MAAQ;YAC1B,IAAI,MAAM,iBAAiB,IAAI,IAAI,EACjC,MAAM,iBAAiB,CAAC;YAG1B,aAAa,KAAK;QACpB;IACF;IAEA,IAAI,CAAC,WAAW,WAAW,GAAG,CAAA,GAAA,eAAO,EAAE,KAAK;IAE5C,OAAO;QACL,GAAG,SAAS;QACZ,GAAG,YAAY;QACf,QAAO;YACL,yCAAyC;YACzC,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,IAAI;QAErB;QACA,QAAO,aAAa,EAAE;YACpB,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,MAAM,CAAC;QAExB;mBACA;oBACA;IACF;AACF;;CDvDC,GAED","sources":["packages/@react-stately/select/src/index.ts","packages/@react-stately/select/src/useSelectState.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useSelectState} from './useSelectState';\n\nexport type {SelectProps} from '@react-types/select';\nexport type {SelectState} from './useSelectState';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CollectionStateBase} from '@react-types/shared';\nimport {MenuTriggerState, useMenuTriggerState} from '@react-stately/menu';\nimport {SelectProps} from '@react-types/select';\nimport {SingleSelectListState, useSingleSelectListState} from '@react-stately/list';\nimport {useState} from 'react';\n\nexport interface SelectStateOptions<T> extends Omit<SelectProps<T>, 'children'>, CollectionStateBase<T> {}\n\nexport interface SelectState<T> extends SingleSelectListState<T>, MenuTriggerState {\n /** Whether the select is currently focused. */\n readonly isFocused: boolean,\n\n /** Sets whether the select is focused. */\n setFocused(isFocused: boolean): void\n}\n\n/**\n * Provides state management for a select component. Handles building a collection\n * of items from props, handles the open state for the popup menu, and manages\n * multiple selection state.\n */\nexport function useSelectState<T extends object>(props: SelectStateOptions<T>): SelectState<T> {\n let triggerState = useMenuTriggerState(props);\n let listState = useSingleSelectListState({\n ...props,\n onSelectionChange: (key) => {\n if (props.onSelectionChange != null) {\n props.onSelectionChange(key);\n }\n\n triggerState.close();\n }\n });\n\n let [isFocused, setFocused] = useState(false);\n\n return {\n ...listState,\n ...triggerState,\n open() {\n // Don't open if the collection is empty.\n if (listState.collection.size !== 0) {\n triggerState.open();\n }\n },\n toggle(focusStrategy) {\n if (listState.collection.size !== 0) {\n triggerState.toggle(focusStrategy);\n }\n },\n isFocused,\n setFocused\n };\n}\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC,GAED;;;AAqBO,SAAS,0CAAiC,KAA4B,EAAmB;IAC9F,IAAI,eAAe,CAAA,GAAA,0BAAkB,EAAE;IACvC,IAAI,YAAY,CAAA,GAAA,+BAAuB,EAAE;QACvC,GAAG,KAAK;QACR,mBAAmB,CAAC,MAAQ;YAC1B,IAAI,MAAM,iBAAiB,IAAI,IAAI,EACjC,MAAM,iBAAiB,CAAC;YAG1B,aAAa,KAAK;QACpB;IACF;IAEA,IAAI,CAAC,WAAW,WAAW,GAAG,CAAA,GAAA,eAAO,EAAE,KAAK;IAE5C,OAAO;QACL,GAAG,SAAS;QACZ,GAAG,YAAY;QACf,QAAO;YACL,yCAAyC;YACzC,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,IAAI;QAErB;QACA,QAAO,aAAa,EAAE;YACpB,IAAI,UAAU,UAAU,CAAC,IAAI,KAAK,GAChC,aAAa,MAAM,CAAC;QAExB;mBACA;oBACA;IACF;AACF;;CDvDC,GAED","sources":["packages/@react-stately/select/src/index.ts","packages/@react-stately/select/src/useSelectState.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useSelectState} from './useSelectState';\n\nexport type {SelectProps} from '@react-types/select';\nexport type {SelectState, SelectStateOptions} from './useSelectState';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CollectionStateBase} from '@react-types/shared';\nimport {MenuTriggerState, useMenuTriggerState} from '@react-stately/menu';\nimport {SelectProps} from '@react-types/select';\nimport {SingleSelectListState, useSingleSelectListState} from '@react-stately/list';\nimport {useState} from 'react';\n\nexport interface SelectStateOptions<T> extends Omit<SelectProps<T>, 'children'>, CollectionStateBase<T> {}\n\nexport interface SelectState<T> extends SingleSelectListState<T>, MenuTriggerState {\n /** Whether the select is currently focused. */\n readonly isFocused: boolean,\n\n /** Sets whether the select is focused. */\n setFocused(isFocused: boolean): void\n}\n\n/**\n * Provides state management for a select component. Handles building a collection\n * of items from props, handles the open state for the popup menu, and manages\n * multiple selection state.\n */\nexport function useSelectState<T extends object>(props: SelectStateOptions<T>): SelectState<T> {\n let triggerState = useMenuTriggerState(props);\n let listState = useSingleSelectListState({\n ...props,\n onSelectionChange: (key) => {\n if (props.onSelectionChange != null) {\n props.onSelectionChange(key);\n }\n\n triggerState.close();\n }\n });\n\n let [isFocused, setFocused] = useState(false);\n\n return {\n ...listState,\n ...triggerState,\n open() {\n // Don't open if the collection is empty.\n if (listState.collection.size !== 0) {\n triggerState.open();\n }\n },\n toggle(focusStrategy) {\n if (listState.collection.size !== 0) {\n triggerState.toggle(focusStrategy);\n }\n },\n isFocused,\n setFocused\n };\n}\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/types.d.ts CHANGED
@@ -2,7 +2,7 @@ import { CollectionStateBase } from "@react-types/shared";
2
2
  import { MenuTriggerState } from "@react-stately/menu";
3
3
  import { SelectProps } from "@react-types/select";
4
4
  import { SingleSelectListState } from "@react-stately/list";
5
- interface SelectStateOptions<T> extends Omit<SelectProps<T>, 'children'>, CollectionStateBase<T> {
5
+ export interface SelectStateOptions<T> extends Omit<SelectProps<T>, 'children'>, CollectionStateBase<T> {
6
6
  }
7
7
  export interface SelectState<T> extends SingleSelectListState<T>, MenuTriggerState {
8
8
  /** Whether the select is currently focused. */
@@ -1 +1 @@
1
- {"mappings":";;;;AAkBA,6BAAoC,CAAC,CAAE,SAAQ,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,oBAAoB,CAAC,CAAC;CAAG;AAE1G,6BAA6B,CAAC,CAAE,SAAQ,sBAAsB,CAAC,CAAC,EAAE,gBAAgB;IAChF,+CAA+C;IAC/C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B,0CAA0C;IAC1C,UAAU,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAA;CACrC;AAED;;;;GAIG;AACH,+BAA+B,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAgC7F;ACnDD,YAAY,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-stately/select/src/packages/@react-stately/select/src/useSelectState.ts","packages/@react-stately/select/src/packages/@react-stately/select/src/index.ts","packages/@react-stately/select/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useSelectState} from './useSelectState';\n\nexport type {SelectProps} from '@react-types/select';\nexport type {SelectState} from './useSelectState';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;;AAkBA,oCAAoC,CAAC,CAAE,SAAQ,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,oBAAoB,CAAC,CAAC;CAAG;AAE1G,6BAA6B,CAAC,CAAE,SAAQ,sBAAsB,CAAC,CAAC,EAAE,gBAAgB;IAChF,+CAA+C;IAC/C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B,0CAA0C;IAC1C,UAAU,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAA;CACrC;AAED;;;;GAIG;AACH,+BAA+B,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAgC7F;ACnDD,YAAY,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-stately/select/src/packages/@react-stately/select/src/useSelectState.ts","packages/@react-stately/select/src/packages/@react-stately/select/src/index.ts","packages/@react-stately/select/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useSelectState} from './useSelectState';\n\nexport type {SelectProps} from '@react-types/select';\nexport type {SelectState, SelectStateOptions} from './useSelectState';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-stately/select",
3
- "version": "3.5.1-nightly.3871+08d5ee8a8",
3
+ "version": "3.5.1-nightly.3884+f04d458a3",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -22,13 +22,13 @@
22
22
  "url": "https://github.com/adobe/react-spectrum"
23
23
  },
24
24
  "dependencies": {
25
- "@react-stately/collections": "3.0.0-nightly.2169+08d5ee8a8",
26
- "@react-stately/list": "3.8.1-nightly.3871+08d5ee8a8",
27
- "@react-stately/menu": "3.5.2-nightly.3871+08d5ee8a8",
28
- "@react-stately/selection": "3.0.0-nightly.2169+08d5ee8a8",
29
- "@react-stately/utils": "3.0.0-nightly.2169+08d5ee8a8",
30
- "@react-types/select": "3.8.1-nightly.3871+08d5ee8a8",
31
- "@react-types/shared": "3.0.0-nightly.2169+08d5ee8a8",
25
+ "@react-stately/collections": "3.0.0-nightly.2182+f04d458a3",
26
+ "@react-stately/list": "3.8.1-nightly.3884+f04d458a3",
27
+ "@react-stately/menu": "3.5.2-nightly.3884+f04d458a3",
28
+ "@react-stately/selection": "3.0.0-nightly.2182+f04d458a3",
29
+ "@react-stately/utils": "3.0.0-nightly.2182+f04d458a3",
30
+ "@react-types/select": "3.8.1-nightly.3884+f04d458a3",
31
+ "@react-types/shared": "3.0.0-nightly.2182+f04d458a3",
32
32
  "@swc/helpers": "^0.4.14"
33
33
  },
34
34
  "peerDependencies": {
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "08d5ee8a8082f5cebfd9680defaec53aa857f315"
40
+ "gitHead": "f04d458a3a20cac3ee10c24777a6e52c9b31f7a6"
41
41
  }
package/src/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  * you may not use this file except in compliance with the License. You may obtain a copy
5
5
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
- *
6
+ *
7
7
  * Unless required by applicable law or agreed to in writing, software distributed under
8
8
  * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
9
  * OF ANY KIND, either express or implied. See the License for the specific language
@@ -13,4 +13,4 @@
13
13
  export {useSelectState} from './useSelectState';
14
14
 
15
15
  export type {SelectProps} from '@react-types/select';
16
- export type {SelectState} from './useSelectState';
16
+ export type {SelectState, SelectStateOptions} from './useSelectState';