@tamagui/select 1.88.21 → 1.88.23
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/esm/BubbleSelect.native.js +4 -22
- package/dist/esm/BubbleSelect.native.js.map +1 -1
- package/dist/esm/Select.native.js +86 -84
- package/dist/esm/Select.native.js.map +2 -2
- package/dist/esm/SelectContent.native.js +2 -23
- package/dist/esm/SelectContent.native.js.map +1 -1
- package/dist/esm/SelectImpl.native.js +4 -25
- package/dist/esm/SelectImpl.native.js.map +1 -1
- package/dist/esm/SelectItem.native.js +17 -43
- package/dist/esm/SelectItem.native.js.map +1 -1
- package/dist/esm/SelectItemText.native.js +13 -38
- package/dist/esm/SelectItemText.native.js.map +1 -1
- package/dist/esm/SelectScrollButton.native.js +2 -24
- package/dist/esm/SelectScrollButton.native.js.map +1 -1
- package/dist/esm/SelectTrigger.native.js +10 -35
- package/dist/esm/SelectTrigger.native.js.map +1 -1
- package/dist/esm/SelectViewport.native.js +18 -37
- package/dist/esm/SelectViewport.native.js.map +1 -1
- package/dist/esm/constants.native.js +2 -29
- package/dist/esm/constants.native.js.map +1 -1
- package/dist/esm/context.native.js +7 -34
- package/dist/esm/context.native.js.map +1 -1
- package/dist/esm/index.native.js +2 -21
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/types.native.js +0 -14
- package/dist/esm/types.native.js.map +2 -2
- package/dist/esm/useSelectBreakpointActive.native.js +4 -26
- package/dist/esm/useSelectBreakpointActive.native.js.map +1 -1
- package/dist/jsx/BubbleSelect.native.js +4 -22
- package/dist/jsx/BubbleSelect.native.js.map +1 -1
- package/dist/jsx/Select.native.js +86 -84
- package/dist/jsx/Select.native.js.map +2 -2
- package/dist/jsx/SelectContent.native.js +2 -23
- package/dist/jsx/SelectContent.native.js.map +1 -1
- package/dist/jsx/SelectImpl.native.js +4 -25
- package/dist/jsx/SelectImpl.native.js.map +1 -1
- package/dist/jsx/SelectItem.native.js +17 -43
- package/dist/jsx/SelectItem.native.js.map +1 -1
- package/dist/jsx/SelectItemText.native.js +13 -38
- package/dist/jsx/SelectItemText.native.js.map +1 -1
- package/dist/jsx/SelectScrollButton.native.js +2 -24
- package/dist/jsx/SelectScrollButton.native.js.map +1 -1
- package/dist/jsx/SelectTrigger.native.js +10 -35
- package/dist/jsx/SelectTrigger.native.js.map +1 -1
- package/dist/jsx/SelectViewport.native.js +18 -37
- package/dist/jsx/SelectViewport.native.js.map +1 -1
- package/dist/jsx/constants.native.js +2 -29
- package/dist/jsx/constants.native.js.map +1 -1
- package/dist/jsx/context.native.js +7 -34
- package/dist/jsx/context.native.js.map +1 -1
- package/dist/jsx/index.native.js +2 -21
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/types.native.js +0 -14
- package/dist/jsx/types.native.js.map +2 -2
- package/dist/jsx/useSelectBreakpointActive.native.js +4 -26
- package/dist/jsx/useSelectBreakpointActive.native.js.map +1 -1
- package/package.json +23 -23
- package/types/Select.d.ts +12 -5
- package/types/Select.d.ts.map +1 -1
|
@@ -1,35 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var SelectItemText_exports = {};
|
|
25
|
-
__export(SelectItemText_exports, {
|
|
26
|
-
ITEM_TEXT_NAME: () => ITEM_TEXT_NAME,
|
|
27
|
-
SelectItemText: () => SelectItemText,
|
|
28
|
-
SelectItemTextFrame: () => SelectItemTextFrame
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(SelectItemText_exports);
|
|
31
|
-
var import_compose_refs = require("@tamagui/compose-refs"), import_core = require("@tamagui/core"), import_text = require("@tamagui/text"), React = __toESM(require("react")), import_context = require("./context"), import_SelectItem = require("./SelectItem"), import_jsx_runtime = require("react/jsx-runtime");
|
|
32
|
-
const ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core.styled)(import_text.SizableText, {
|
|
1
|
+
import { useComposedRefs } from "@tamagui/compose-refs";
|
|
2
|
+
import { styled } from "@tamagui/core";
|
|
3
|
+
import { SizableText } from "@tamagui/text";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { useSelectContext, useSelectItemParentContext } from "./context";
|
|
6
|
+
import { useSelectItemContext } from "./SelectItem";
|
|
7
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
8
|
+
const ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = styled(SizableText, {
|
|
33
9
|
name: ITEM_TEXT_NAME,
|
|
34
10
|
variants: {
|
|
35
11
|
unstyled: {
|
|
@@ -44,8 +20,8 @@ const ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core.s
|
|
|
44
20
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
45
21
|
}
|
|
46
22
|
}), SelectItemText = SelectItemTextFrame.styleable(function(props, forwardedRef) {
|
|
47
|
-
const { __scopeSelect, className, ...itemTextProps } = props, context =
|
|
48
|
-
return contents.current = /* @__PURE__ */
|
|
23
|
+
const { __scopeSelect, className, ...itemTextProps } = props, context = useSelectContext(ITEM_TEXT_NAME, __scopeSelect), itemParentContext = useSelectItemParentContext(ITEM_TEXT_NAME, __scopeSelect), ref = React.useRef(null), composedRefs = useComposedRefs(forwardedRef, ref), itemContext = useSelectItemContext(ITEM_TEXT_NAME, __scopeSelect), contents = React.useRef();
|
|
24
|
+
return contents.current = /* @__PURE__ */ jsx(
|
|
49
25
|
SelectItemTextFrame,
|
|
50
26
|
{
|
|
51
27
|
className,
|
|
@@ -58,12 +34,11 @@ const ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core.s
|
|
|
58
34
|
itemParentContext.initialValue === itemContext.value && !context.selectedIndex && context.setSelectedItem(contents.current);
|
|
59
35
|
}, []), React.useEffect(() => itemParentContext.valueSubscribe((val) => {
|
|
60
36
|
val === itemContext.value && context.setSelectedItem(contents.current);
|
|
61
|
-
}), [itemContext.value]), itemParentContext.shouldRenderWebNative ? /* @__PURE__ */
|
|
37
|
+
}), [itemContext.value]), itemParentContext.shouldRenderWebNative ? /* @__PURE__ */ jsx(Fragment, { children: props.children }) : /* @__PURE__ */ jsx(Fragment, { children: contents.current });
|
|
62
38
|
});
|
|
63
|
-
|
|
64
|
-
0 && (module.exports = {
|
|
39
|
+
export {
|
|
65
40
|
ITEM_TEXT_NAME,
|
|
66
41
|
SelectItemText,
|
|
67
42
|
SelectItemTextFrame
|
|
68
|
-
}
|
|
43
|
+
};
|
|
69
44
|
//# sourceMappingURL=SelectItemText.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SelectItemText.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAEhC,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AEJ,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var SelectScrollButton_native_exports = {};
|
|
17
|
-
__export(SelectScrollButton_native_exports, {
|
|
18
|
-
SelectScrollDownButton: () => SelectScrollDownButton,
|
|
19
|
-
SelectScrollUpButton: () => SelectScrollUpButton
|
|
20
|
-
});
|
|
21
|
-
module.exports = __toCommonJS(SelectScrollButton_native_exports);
|
|
22
1
|
const SelectScrollUpButton = (_) => null, SelectScrollDownButton = (_) => null;
|
|
23
|
-
|
|
24
|
-
0 && (module.exports = {
|
|
2
|
+
export {
|
|
25
3
|
SelectScrollDownButton,
|
|
26
4
|
SelectScrollUpButton
|
|
27
|
-
}
|
|
5
|
+
};
|
|
28
6
|
//# sourceMappingURL=SelectScrollButton.native.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SelectScrollButton.native.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAGO,MAAM,uBAAuB,CAAC,MAA4C,MAGpE,yBAAyB,CAAC,MAA4C;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,41 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var SelectTrigger_exports = {};
|
|
25
|
-
__export(SelectTrigger_exports, {
|
|
26
|
-
SelectTrigger: () => SelectTrigger
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(SelectTrigger_exports);
|
|
29
|
-
var import_compose_refs = require("@tamagui/compose-refs"), import_list_item = require("@tamagui/list-item"), React = __toESM(require("react")), import_context = require("./context"), import_jsx_runtime = require("react/jsx-runtime");
|
|
1
|
+
import { useComposedRefs } from "@tamagui/compose-refs";
|
|
2
|
+
import { ListItem } from "@tamagui/list-item";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { useSelectContext, useSelectItemParentContext } from "./context";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
30
6
|
const TRIGGER_NAME = "SelectTrigger", SelectTrigger = React.forwardRef(
|
|
31
7
|
function(props, forwardedRef) {
|
|
32
8
|
var _a;
|
|
33
|
-
const { __scopeSelect, disabled = !1, unstyled = !1, ...triggerProps } = props, context =
|
|
9
|
+
const { __scopeSelect, disabled = !1, unstyled = !1, ...triggerProps } = props, context = useSelectContext(TRIGGER_NAME, __scopeSelect), itemParentContext = useSelectItemParentContext(TRIGGER_NAME, __scopeSelect), composedRefs = useComposedRefs(
|
|
34
10
|
forwardedRef,
|
|
35
11
|
(_a = context.floatingContext) == null ? void 0 : _a.refs.setReference
|
|
36
12
|
);
|
|
37
|
-
return itemParentContext.shouldRenderWebNative ? null : /* @__PURE__ */
|
|
38
|
-
|
|
13
|
+
return itemParentContext.shouldRenderWebNative ? null : /* @__PURE__ */ jsx(
|
|
14
|
+
ListItem,
|
|
39
15
|
{
|
|
40
16
|
componentName: TRIGGER_NAME,
|
|
41
17
|
unstyled,
|
|
@@ -69,8 +45,7 @@ const TRIGGER_NAME = "SelectTrigger", SelectTrigger = React.forwardRef(
|
|
|
69
45
|
);
|
|
70
46
|
}
|
|
71
47
|
);
|
|
72
|
-
|
|
73
|
-
0 && (module.exports = {
|
|
48
|
+
export {
|
|
74
49
|
SelectTrigger
|
|
75
|
-
}
|
|
50
|
+
};
|
|
76
51
|
//# sourceMappingURL=SelectTrigger.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SelectTrigger.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA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__getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var SelectViewport_native_exports = {};
|
|
25
|
-
__export(SelectViewport_native_exports, {
|
|
26
|
-
SelectViewport: () => SelectViewport
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(SelectViewport_native_exports);
|
|
29
|
-
var import_adapt = require("@tamagui/adapt"), import_core = require("@tamagui/core"), import_portal = require("@tamagui/portal"), React = __toESM(require("react")), import_constants = require("./constants"), import_context = require("./context"), import_jsx_runtime = require("react/jsx-runtime");
|
|
1
|
+
import { AdaptParentContext } from "@tamagui/adapt";
|
|
2
|
+
import { Theme, useThemeName } from "@tamagui/core";
|
|
3
|
+
import { PortalItem } from "@tamagui/portal";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { VIEWPORT_NAME } from "./constants";
|
|
6
|
+
import {
|
|
7
|
+
ForwardSelectContext,
|
|
8
|
+
useSelectContext,
|
|
9
|
+
useSelectItemParentContext
|
|
10
|
+
} from "./context";
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
30
12
|
const SelectViewport = (props) => {
|
|
31
|
-
const { __scopeSelect, children } = props, context =
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
|
|
13
|
+
const { __scopeSelect, children } = props, context = useSelectContext(VIEWPORT_NAME, __scopeSelect), itemParentContext = useSelectItemParentContext(VIEWPORT_NAME, __scopeSelect), themeName = useThemeName(), adaptContext = React.useContext(AdaptParentContext);
|
|
14
|
+
return /* @__PURE__ */ jsx(PortalItem, { hostName: `${context.scopeKey}SheetContents`, children: /* @__PURE__ */ jsx(Theme, { name: themeName, children: /* @__PURE__ */ jsx(
|
|
15
|
+
ForwardSelectContext,
|
|
34
16
|
{
|
|
35
17
|
__scopeSelect,
|
|
36
18
|
itemContext: itemParentContext,
|
|
37
19
|
context,
|
|
38
|
-
children: /* @__PURE__ */
|
|
20
|
+
children: /* @__PURE__ */ jsx(AdaptParentContext.Provider, { value: adaptContext, children })
|
|
39
21
|
}
|
|
40
22
|
) }) });
|
|
41
23
|
};
|
|
42
|
-
SelectViewport.displayName =
|
|
43
|
-
|
|
44
|
-
0 && (module.exports = {
|
|
24
|
+
SelectViewport.displayName = VIEWPORT_NAME;
|
|
25
|
+
export {
|
|
45
26
|
SelectViewport
|
|
46
|
-
}
|
|
27
|
+
};
|
|
47
28
|
//# sourceMappingURL=SelectViewport.native.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SelectViewport.native.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,0BAA0B;AACnC,SAAS,OAAO,oBAAoB;AACpC,SAAS,kBAAkB;AAC3B,YAAY,WAAW;AAEvB,SAAS,qBAAqB;AAC9B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAmBG;AAhBH,MAAM,iBAAiB,CAAC,UAA4C;AACzE,QAAM,EAAE,eAAe,SAAS,IAAI,OAC9B,UAAU,iBAAiB,eAAe,aAAa,GACvD,oBAAoB,2BAA2B,eAAe,aAAa,GAC3E,YAAY,aAAa,GACzB,eAAe,MAAM,WAAW,kBAAkB;AAGxD,SACE,oBAAC,cAAW,UAAU,GAAG,QAAQ,QAAQ,iBACvC,8BAAC,SAAM,MAAM,WACX;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,aAAa;AAAA,MACb;AAAA,MAEA,8BAAC,mBAAmB,UAAnB,EAA4B,OAAO,cACjC,UACH;AAAA;AAAA,EACF,GACF,GACF;AAEJ;AAEA,eAAe,cAAc;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,32 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var constants_exports = {};
|
|
17
|
-
__export(constants_exports, {
|
|
18
|
-
FALLBACK_THRESHOLD: () => FALLBACK_THRESHOLD,
|
|
19
|
-
MIN_HEIGHT: () => MIN_HEIGHT,
|
|
20
|
-
SCROLL_ARROW_THRESHOLD: () => SCROLL_ARROW_THRESHOLD,
|
|
21
|
-
SCROLL_ARROW_VELOCITY: () => SCROLL_ARROW_VELOCITY,
|
|
22
|
-
SELECT_NAME: () => SELECT_NAME,
|
|
23
|
-
VIEWPORT_NAME: () => VIEWPORT_NAME,
|
|
24
|
-
WINDOW_PADDING: () => WINDOW_PADDING
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(constants_exports);
|
|
27
1
|
const SELECT_NAME = "Select", WINDOW_PADDING = 8, SCROLL_ARROW_VELOCITY = 8, SCROLL_ARROW_THRESHOLD = 8, MIN_HEIGHT = 80, FALLBACK_THRESHOLD = 16, VIEWPORT_NAME = "SelectViewport";
|
|
28
|
-
|
|
29
|
-
0 && (module.exports = {
|
|
2
|
+
export {
|
|
30
3
|
FALLBACK_THRESHOLD,
|
|
31
4
|
MIN_HEIGHT,
|
|
32
5
|
SCROLL_ARROW_THRESHOLD,
|
|
@@ -34,5 +7,5 @@ const SELECT_NAME = "Select", WINDOW_PADDING = 8, SCROLL_ARROW_VELOCITY = 8, SCR
|
|
|
34
7
|
SELECT_NAME,
|
|
35
8
|
VIEWPORT_NAME,
|
|
36
9
|
WINDOW_PADDING
|
|
37
|
-
}
|
|
10
|
+
};
|
|
38
11
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/constants.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAO,MAAM,cAAc,UACd,iBAAiB,GACjB,wBAAwB,GACxB,yBAAyB,GACzB,aAAa,IACb,qBAAqB,IACrB,gBAAgB;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,40 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var context_exports = {};
|
|
17
|
-
__export(context_exports, {
|
|
18
|
-
ForwardSelectContext: () => ForwardSelectContext,
|
|
19
|
-
SelectItemParentProvider: () => SelectItemParentProvider,
|
|
20
|
-
SelectProvider: () => SelectProvider,
|
|
21
|
-
createSelectContext: () => createSelectContext,
|
|
22
|
-
createSelectItemParentContext: () => createSelectItemParentContext,
|
|
23
|
-
createSelectItemParentScope: () => createSelectItemParentScope,
|
|
24
|
-
createSelectScope: () => createSelectScope,
|
|
25
|
-
useSelectContext: () => useSelectContext,
|
|
26
|
-
useSelectItemParentContext: () => useSelectItemParentContext
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(context_exports);
|
|
29
|
-
var import_create_context = require("@tamagui/create-context"), import_constants = require("./constants"), import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
-
const [createSelectContext, createSelectScope] = (0, import_create_context.createContextScope)(import_constants.SELECT_NAME), [SelectProvider, useSelectContext] = createSelectContext(import_constants.SELECT_NAME), [createSelectItemParentContext, createSelectItemParentScope] = (0, import_create_context.createContextScope)(import_constants.SELECT_NAME), [SelectItemParentProvider, useSelectItemParentContext] = createSelectContext(import_constants.SELECT_NAME), ForwardSelectContext = ({
|
|
1
|
+
import { createContextScope } from "@tamagui/create-context";
|
|
2
|
+
import { SELECT_NAME } from "./constants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
const [createSelectContext, createSelectScope] = createContextScope(SELECT_NAME), [SelectProvider, useSelectContext] = createSelectContext(SELECT_NAME), [createSelectItemParentContext, createSelectItemParentScope] = createContextScope(SELECT_NAME), [SelectItemParentProvider, useSelectItemParentContext] = createSelectContext(SELECT_NAME), ForwardSelectContext = ({
|
|
31
5
|
__scopeSelect,
|
|
32
6
|
context,
|
|
33
7
|
itemContext,
|
|
34
8
|
children
|
|
35
|
-
}) => /* @__PURE__ */
|
|
36
|
-
|
|
37
|
-
0 && (module.exports = {
|
|
9
|
+
}) => /* @__PURE__ */ jsx(SelectProvider, { isInSheet: !0, scope: __scopeSelect, ...context, children: /* @__PURE__ */ jsx(SelectItemParentProvider, { scope: __scopeSelect, ...itemContext, children }) });
|
|
10
|
+
export {
|
|
38
11
|
ForwardSelectContext,
|
|
39
12
|
SelectItemParentProvider,
|
|
40
13
|
SelectProvider,
|
|
@@ -44,5 +17,5 @@ const [createSelectContext, createSelectScope] = (0, import_create_context.creat
|
|
|
44
17
|
createSelectScope,
|
|
45
18
|
useSelectContext,
|
|
46
19
|
useSelectItemParentContext
|
|
47
|
-
}
|
|
20
|
+
};
|
|
48
21
|
//# sourceMappingURL=context.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/context.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,0BAA0B;AAEnC,SAAS,mBAAmB;AAgCtB;AAzBC,MAAM,CAAC,qBAAqB,iBAAiB,IAAI,mBAAmB,WAAW,GAEzE,CAAC,gBAAgB,gBAAgB,IAC5C,oBAAwC,WAAW,GAIxC,CAAC,+BAA+B,2BAA2B,IACtE,mBAAmB,WAAW,GAEnB,CAAC,0BAA0B,0BAA0B,IAChE,oBAAkD,WAAW,GAElD,uBAAuB,CAAC;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAMI,oBAAC,kBAAe,WAAS,IAAC,OAAO,eAAgB,GAAG,SAClD,8BAAC,4BAAyB,OAAO,eAAgB,GAAG,aACjD,UACH,GACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
12
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
13
|
-
var src_exports = {};
|
|
14
|
-
module.exports = __toCommonJS(src_exports);
|
|
15
|
-
__reExport(src_exports, require("./Select"), module.exports);
|
|
16
|
-
__reExport(src_exports, require("./context"), module.exports);
|
|
17
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
18
|
-
0 && (module.exports = {
|
|
19
|
-
...require("./Select"),
|
|
20
|
-
...require("./context")
|
|
21
|
-
});
|
|
1
|
+
export * from "./Select";
|
|
2
|
+
export * from "./context";
|
|
22
3
|
//# sourceMappingURL=index.js.map
|
package/dist/jsx/types.native.js
CHANGED
|
@@ -1,15 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
};
|
|
12
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
13
|
-
var types_exports = {};
|
|
14
|
-
module.exports = __toCommonJS(types_exports);
|
|
15
1
|
//# sourceMappingURL=types.js.map
|
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var useSelectBreakpointActive_exports = {};
|
|
17
|
-
__export(useSelectBreakpointActive_exports, {
|
|
18
|
-
useSelectBreakpointActive: () => useSelectBreakpointActive,
|
|
19
|
-
useShowSelectSheet: () => useShowSelectSheet
|
|
20
|
-
});
|
|
21
|
-
module.exports = __toCommonJS(useSelectBreakpointActive_exports);
|
|
22
|
-
var import_core = require("@tamagui/core");
|
|
1
|
+
import { useMedia } from "@tamagui/core";
|
|
23
2
|
const useSelectBreakpointActive = (sheetBreakpoint) => {
|
|
24
|
-
const media =
|
|
3
|
+
const media = useMedia();
|
|
25
4
|
return sheetBreakpoint ? sheetBreakpoint === !0 ? !0 : sheetBreakpoint ? media[sheetBreakpoint] : !1 : !1;
|
|
26
5
|
}, useShowSelectSheet = (context) => {
|
|
27
6
|
const breakpointActive = useSelectBreakpointActive(context.sheetBreakpoint);
|
|
28
7
|
return context.open === !1 ? !1 : breakpointActive;
|
|
29
8
|
};
|
|
30
|
-
|
|
31
|
-
0 && (module.exports = {
|
|
9
|
+
export {
|
|
32
10
|
useSelectBreakpointActive,
|
|
33
11
|
useShowSelectSheet
|
|
34
|
-
}
|
|
12
|
+
};
|
|
35
13
|
//# sourceMappingURL=useSelectBreakpointActive.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/useSelectBreakpointActive.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,gBAAgB;AAIlB,MAAM,4BAA4B,CACvC,oBACG;AACH,QAAM,QAAQ,SAAS;AACvB,SAAK,kBACD,oBAAoB,KAAa,KAC9B,kBAAkB,MAAM,eAAe,IAAI,KAFrB;AAG/B,GAEa,qBAAqB,CAAC,YAAgC;AACjE,QAAM,mBAAmB,0BAA0B,QAAQ,eAAe;AAC1E,SAAO,QAAQ,SAAS,KAAQ,KAAQ;AAC1C;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/select",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.23",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
"@floating-ui/react": "^0.26.6",
|
|
36
36
|
"@floating-ui/react-dom": "^2.0.6",
|
|
37
37
|
"@floating-ui/react-native": "^0.10.3",
|
|
38
|
-
"@tamagui/adapt": "1.88.
|
|
39
|
-
"@tamagui/animate-presence": "1.88.
|
|
40
|
-
"@tamagui/compose-refs": "1.88.
|
|
41
|
-
"@tamagui/constants": "1.88.
|
|
42
|
-
"@tamagui/core": "1.88.
|
|
43
|
-
"@tamagui/create-context": "1.88.
|
|
44
|
-
"@tamagui/dismissable": "1.88.
|
|
45
|
-
"@tamagui/focus-scope": "1.88.
|
|
46
|
-
"@tamagui/get-token": "1.88.
|
|
47
|
-
"@tamagui/helpers": "1.88.
|
|
48
|
-
"@tamagui/list-item": "1.88.
|
|
49
|
-
"@tamagui/portal": "1.88.
|
|
50
|
-
"@tamagui/remove-scroll": "1.88.
|
|
51
|
-
"@tamagui/separator": "1.88.
|
|
52
|
-
"@tamagui/sheet": "1.88.
|
|
53
|
-
"@tamagui/stacks": "1.88.
|
|
54
|
-
"@tamagui/text": "1.88.
|
|
55
|
-
"@tamagui/use-controllable-state": "1.88.
|
|
56
|
-
"@tamagui/use-debounce": "1.88.
|
|
57
|
-
"@tamagui/use-event": "1.88.
|
|
58
|
-
"@tamagui/use-previous": "1.88.
|
|
38
|
+
"@tamagui/adapt": "1.88.23",
|
|
39
|
+
"@tamagui/animate-presence": "1.88.23",
|
|
40
|
+
"@tamagui/compose-refs": "1.88.23",
|
|
41
|
+
"@tamagui/constants": "1.88.23",
|
|
42
|
+
"@tamagui/core": "1.88.23",
|
|
43
|
+
"@tamagui/create-context": "1.88.23",
|
|
44
|
+
"@tamagui/dismissable": "1.88.23",
|
|
45
|
+
"@tamagui/focus-scope": "1.88.23",
|
|
46
|
+
"@tamagui/get-token": "1.88.23",
|
|
47
|
+
"@tamagui/helpers": "1.88.23",
|
|
48
|
+
"@tamagui/list-item": "1.88.23",
|
|
49
|
+
"@tamagui/portal": "1.88.23",
|
|
50
|
+
"@tamagui/remove-scroll": "1.88.23",
|
|
51
|
+
"@tamagui/separator": "1.88.23",
|
|
52
|
+
"@tamagui/sheet": "1.88.23",
|
|
53
|
+
"@tamagui/stacks": "1.88.23",
|
|
54
|
+
"@tamagui/text": "1.88.23",
|
|
55
|
+
"@tamagui/use-controllable-state": "1.88.23",
|
|
56
|
+
"@tamagui/use-debounce": "1.88.23",
|
|
57
|
+
"@tamagui/use-event": "1.88.23",
|
|
58
|
+
"@tamagui/use-previous": "1.88.23",
|
|
59
59
|
"react-dom": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react-native": "*"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tamagui/build": "1.88.
|
|
66
|
+
"@tamagui/build": "1.88.23",
|
|
67
67
|
"react": "^18.2.0",
|
|
68
68
|
"react-native": "^0.72.6"
|
|
69
69
|
},
|
package/types/Select.d.ts
CHANGED
|
@@ -316,12 +316,19 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
316
316
|
padded?: boolean | undefined;
|
|
317
317
|
chromeless?: boolean | "all" | undefined;
|
|
318
318
|
}>>) => null>;
|
|
319
|
-
Handle: (
|
|
320
|
-
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
321
|
-
fullscreen?: boolean | undefined;
|
|
319
|
+
Handle: React.ForwardRefExoticComponent<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
322
320
|
open?: boolean | undefined;
|
|
323
|
-
|
|
324
|
-
|
|
321
|
+
} & React.RefAttributes<any>> & import("@tamagui/core").StaticComponentObject<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
322
|
+
open?: boolean | undefined;
|
|
323
|
+
}, any, any, any, {
|
|
324
|
+
open?: boolean | undefined;
|
|
325
|
+
}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
326
|
+
__tama: [import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
327
|
+
open?: boolean | undefined;
|
|
328
|
+
}, any, any, any, {
|
|
329
|
+
open?: boolean | undefined;
|
|
330
|
+
}, {}];
|
|
331
|
+
};
|
|
325
332
|
ScrollView: React.ForwardRefExoticComponent<Omit<import("@tamagui/web/types/interfaces/TamaguiComponentPropsBaseBase").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@tamagui/core").StackStyleBase | "fullscreen"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
326
333
|
fullscreen?: boolean | undefined;
|
|
327
334
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
package/types/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAY,cAAc,EAAE,MAAM,eAAe,CAAA;AAI7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAQvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAkB9B,OAAO,KAAK,EAAE,WAAW,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAA;AAiBxE,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC9B;AA0DD,eAAO,MAAM,UAAU;;;8CAKrB,CAAA;AA2CF,eAAO,MAAM,gBAAgB;;;8CAG3B,CAAA;AAyGF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAA;AAgC5C,eAAO,MAAM,eAAe;;8CAE1B,CAAA;AAoCF,eAAO,MAAM,MAAM,WACT,YAAY,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAY,cAAc,EAAE,MAAM,eAAe,CAAA;AAI7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAQvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAkB9B,OAAO,KAAK,EAAE,WAAW,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAA;AAiBxE,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC9B;AA0D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