@tamagui/react-native-web-internals 1.132.20 → 1.132.22
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/StyleSheet/__tests__/compiler-createReactDOMStyle-test.native.js +73 -43
- package/dist/esm/StyleSheet/__tests__/compiler-createReactDOMStyle-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/compiler-test.native.js +174 -166
- package/dist/esm/StyleSheet/__tests__/compiler-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/dom-createOrderedCSSStyleSheet-test.native.js +18 -20
- package/dist/esm/StyleSheet/__tests__/dom-createOrderedCSSStyleSheet-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/index-test.native.js +203 -149
- package/dist/esm/StyleSheet/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/preprocess-test.native.js +16 -16
- package/dist/esm/StyleSheet/__tests__/preprocess-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/validate-test.native.js +11 -10
- package/dist/esm/StyleSheet/__tests__/validate-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/createReactDOMStyle.native.js +114 -63
- package/dist/esm/StyleSheet/compiler/createReactDOMStyle.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/hash.native.js +4 -2
- package/dist/esm/StyleSheet/compiler/hash.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/hyphenateStyleName.native.js +7 -6
- package/dist/esm/StyleSheet/compiler/hyphenateStyleName.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/index.native.js +221 -220
- package/dist/esm/StyleSheet/compiler/index.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/normalizeColor.native.js +15 -17
- package/dist/esm/StyleSheet/compiler/normalizeColor.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/normalizeValueWithProperty.native.js +6 -4
- package/dist/esm/StyleSheet/compiler/normalizeValueWithProperty.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/resolveShadowValue.native.js +13 -25
- package/dist/esm/StyleSheet/compiler/resolveShadowValue.native.js.map +6 -1
- package/dist/esm/StyleSheet/dom/createCSSStyleSheet.native.js +15 -10
- package/dist/esm/StyleSheet/dom/createCSSStyleSheet.native.js.map +6 -1
- package/dist/esm/StyleSheet/dom/createOrderedCSSStyleSheet.native.js +22 -22
- package/dist/esm/StyleSheet/dom/createOrderedCSSStyleSheet.native.js.map +6 -1
- package/dist/esm/StyleSheet/dom/index.native.js +34 -29
- package/dist/esm/StyleSheet/dom/index.native.js.map +6 -1
- package/dist/esm/StyleSheet/index.native.js +16 -12
- package/dist/esm/StyleSheet/index.native.js.map +6 -1
- package/dist/esm/StyleSheet/preprocess.native.js +44 -73
- package/dist/esm/StyleSheet/preprocess.native.js.map +6 -1
- package/dist/esm/StyleSheet/validate.native.js +33 -32
- package/dist/esm/StyleSheet/validate.native.js.map +6 -1
- package/dist/esm/TextAncestorContext.native.js +6 -4
- package/dist/esm/TextAncestorContext.native.js.map +6 -1
- package/dist/esm/colorProps.native.js +4 -2
- package/dist/esm/colorProps.native.js.map +6 -1
- package/dist/esm/index.native.js +78 -43
- package/dist/esm/index.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAccessibilityComponent-test.native.js +9 -9
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAccessibilityComponent-test.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAriaRole-test.native.js +6 -6
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAriaRole-test.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/index.native.js +12 -10
- package/dist/esm/modules/AccessibilityUtil/index.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/isDisabled.native.js +7 -6
- package/dist/esm/modules/AccessibilityUtil/isDisabled.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/propsToAccessibilityComponent.native.js +34 -34
- package/dist/esm/modules/AccessibilityUtil/propsToAccessibilityComponent.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/propsToAriaRole.native.js +24 -25
- package/dist/esm/modules/AccessibilityUtil/propsToAriaRole.native.js.map +6 -1
- package/dist/esm/modules/AssetRegistry/index.native.js +5 -2
- package/dist/esm/modules/AssetRegistry/index.native.js.map +6 -1
- package/dist/esm/modules/ImageLoader/index.native.js +75 -79
- package/dist/esm/modules/ImageLoader/index.native.js.map +6 -1
- package/dist/esm/modules/InteractionManager.native.js +133 -135
- package/dist/esm/modules/InteractionManager.native.js.map +6 -1
- package/dist/esm/modules/Platform/__tests__/index-test.native.js +9 -9
- package/dist/esm/modules/Platform/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/Platform/index.native.js +9 -8
- package/dist/esm/modules/Platform/index.native.js.map +6 -1
- package/dist/esm/modules/TextInputState/index.native.js +31 -30
- package/dist/esm/modules/TextInputState/index.native.js.map +6 -1
- package/dist/esm/modules/UIManager/__tests__/index-test.native.js +49 -51
- package/dist/esm/modules/UIManager/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/UIManager/index.native.js +39 -36
- package/dist/esm/modules/UIManager/index.native.js.map +6 -1
- package/dist/esm/modules/canUseDOM.native.js +6 -4
- package/dist/esm/modules/canUseDOM.native.js.map +6 -1
- package/dist/esm/modules/createDOMProps/__tests__/index-test.native.js +45 -51
- package/dist/esm/modules/createDOMProps/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/createDOMProps/index.native.js +92 -96
- package/dist/esm/modules/createDOMProps/index.native.js.map +6 -1
- package/dist/esm/modules/createEventHandle/__tests__/index-test.native.js +189 -189
- package/dist/esm/modules/createEventHandle/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/createEventHandle/index.native.js +24 -17
- package/dist/esm/modules/createEventHandle/index.native.js.map +6 -1
- package/dist/esm/modules/dismissKeyboard/index.native.js +8 -7
- package/dist/esm/modules/dismissKeyboard/index.native.js.map +6 -1
- package/dist/esm/modules/forwardedProps/index.native.js +128 -126
- package/dist/esm/modules/forwardedProps/index.native.js.map +6 -1
- package/dist/esm/modules/getBoundingClientRect/index.native.js +11 -9
- package/dist/esm/modules/getBoundingClientRect/index.native.js.map +6 -1
- package/dist/esm/modules/invariant.native.js +22 -12
- package/dist/esm/modules/invariant.native.js.map +6 -1
- package/dist/esm/modules/isSelectionValid/index.native.js +5 -6
- package/dist/esm/modules/isSelectionValid/index.native.js.map +6 -1
- package/dist/esm/modules/isWebColor/index.native.js +7 -6
- package/dist/esm/modules/isWebColor/index.native.js.map +6 -1
- package/dist/esm/modules/mergeRefs/__tests__/index-test.native.js +7 -9
- package/dist/esm/modules/mergeRefs/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/mergeRefs/index.native.js +8 -5
- package/dist/esm/modules/mergeRefs/index.native.js.map +6 -1
- package/dist/esm/modules/modality/__tests__/index-test.native.js +8 -8
- package/dist/esm/modules/modality/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/modality/index.native.js +19 -55
- package/dist/esm/modules/modality/index.native.js.map +6 -1
- package/dist/esm/modules/multiplyStyleLengthValue/__tests__/index-test.native.js +4 -4
- package/dist/esm/modules/multiplyStyleLengthValue/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/multiplyStyleLengthValue/index.native.js +15 -17
- package/dist/esm/modules/multiplyStyleLengthValue/index.native.js.map +6 -1
- package/dist/esm/modules/normalizeColor/index.native.js +17 -19
- package/dist/esm/modules/normalizeColor/index.native.js.map +6 -1
- package/dist/esm/modules/pick/index.native.js +6 -3
- package/dist/esm/modules/pick/index.native.js.map +6 -1
- package/dist/esm/modules/processColor/__tests__/index-test.native.js +27 -36
- package/dist/esm/modules/processColor/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/processColor/index.native.js +9 -5
- package/dist/esm/modules/processColor/index.native.js.map +6 -1
- package/dist/esm/modules/requestIdleCallback/index.native.js +19 -21
- package/dist/esm/modules/requestIdleCallback/index.native.js.map +6 -1
- package/dist/esm/modules/setValueForStyles/dangerousStyleValue.native.js +5 -3
- package/dist/esm/modules/setValueForStyles/dangerousStyleValue.native.js.map +6 -1
- package/dist/esm/modules/setValueForStyles/index.native.js +10 -8
- package/dist/esm/modules/setValueForStyles/index.native.js.map +6 -1
- package/dist/esm/modules/unitlessNumbers/index.native.js +66 -60
- package/dist/esm/modules/unitlessNumbers/index.native.js.map +6 -1
- package/dist/esm/modules/useElementLayout/index.native.js +9 -5
- package/dist/esm/modules/useElementLayout/index.native.js.map +6 -1
- package/dist/esm/modules/useEvent/__tests__/index-test.native.js +214 -210
- package/dist/esm/modules/useEvent/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useEvent/index.native.js +24 -21
- package/dist/esm/modules/useEvent/index.native.js.map +6 -1
- package/dist/esm/modules/useHover/__tests__/index-test.native.js +134 -161
- package/dist/esm/modules/useHover/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useHover/index.native.js +51 -65
- package/dist/esm/modules/useHover/index.native.js.map +6 -1
- package/dist/esm/modules/useLayoutEffect/index.native.js +6 -5
- package/dist/esm/modules/useLayoutEffect/index.native.js.map +6 -1
- package/dist/esm/modules/useLocale/index.native.js +12 -14
- package/dist/esm/modules/useLocale/index.native.js.map +6 -1
- package/dist/esm/modules/useLocale/isLocaleRTL.native.js +25 -9
- package/dist/esm/modules/useLocale/isLocaleRTL.native.js.map +6 -1
- package/dist/esm/modules/useMergeRefs/__tests__/index-test.native.js +54 -54
- package/dist/esm/modules/useMergeRefs/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useMergeRefs/index.native.js +16 -9
- package/dist/esm/modules/useMergeRefs/index.native.js.map +6 -1
- package/dist/esm/modules/usePlatformMethods/index.native.js +11 -12
- package/dist/esm/modules/usePlatformMethods/index.native.js.map +6 -1
- package/dist/esm/modules/useStable/__tests__/index-test.native.js +36 -45
- package/dist/esm/modules/useStable/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useStable/index.native.js +4 -2
- package/dist/esm/modules/useStable/index.native.js.map +6 -1
- package/dist/esm/styleTypes.native.js +1 -2
- package/dist/esm/styleTypes.native.js.map +6 -1
- package/dist/esm/types.native.js +1 -2
- package/dist/esm/types.native.js.map +6 -1
- package/package.json +8 -8
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
var Platform = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
},
|
|
6
|
-
isTesting: process.env.NODE_ENV === "test"
|
|
2
|
+
OS: "web",
|
|
3
|
+
select: function(obj) {
|
|
4
|
+
return "web" in obj ? obj.web : obj.default;
|
|
7
5
|
},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
isTesting: process.env.NODE_ENV === "test"
|
|
7
|
+
}, Platform_default = Platform;
|
|
8
|
+
export {
|
|
9
|
+
Platform_default as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/modules/Platform/index.tsx"],
|
|
4
|
+
"mappings": "AAUA,IAAMA,WAAW;EACfC,IAAI;EACJC,QAAQ,SAACC,KAAAA;WAAmB,SAASA,MAAMA,IAAIC,MAAMD,IAAIE;;EACzDC,WAAWC,QAAQC,IAAIC,aAAa;AACtC,GAEA,mBAAeT;",
|
|
5
|
+
"names": ["Platform", "OS", "select", "obj", "web", "default", "isTesting", "process", "env", "NODE_ENV"]
|
|
6
|
+
}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import UIManager from "../UIManager";
|
|
2
2
|
var TextInputState = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
/**
|
|
15
|
-
* @param {Object} TextInputID id of the text field to focus
|
|
16
|
-
* Focuses the specified text field
|
|
17
|
-
* noop if the text field was already focused
|
|
18
|
-
*/
|
|
19
|
-
focusTextInput(textFieldNode) {
|
|
20
|
-
textFieldNode !== null && (this._currentlyFocusedNode = textFieldNode, document.activeElement !== textFieldNode && UIManager.focus(textFieldNode));
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* @param {Object} textFieldNode id of the text field to focus
|
|
24
|
-
* Unfocuses the specified text field
|
|
25
|
-
* noop if it wasn't focused
|
|
26
|
-
*/
|
|
27
|
-
blurTextInput(textFieldNode) {
|
|
28
|
-
textFieldNode !== null && (this._currentlyFocusedNode = null, document.activeElement === textFieldNode && UIManager.blur(textFieldNode));
|
|
29
|
-
}
|
|
3
|
+
/**
|
|
4
|
+
* Internal state
|
|
5
|
+
*/
|
|
6
|
+
_currentlyFocusedNode: null,
|
|
7
|
+
/**
|
|
8
|
+
* Returns the ID of the currently focused text field, if one exists
|
|
9
|
+
* If no text field is focused it returns null
|
|
10
|
+
*/
|
|
11
|
+
currentlyFocusedField() {
|
|
12
|
+
return document.activeElement !== this._currentlyFocusedNode && (this._currentlyFocusedNode = null), this._currentlyFocusedNode;
|
|
30
13
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @param {Object} TextInputID id of the text field to focus
|
|
16
|
+
* Focuses the specified text field
|
|
17
|
+
* noop if the text field was already focused
|
|
18
|
+
*/
|
|
19
|
+
focusTextInput(textFieldNode) {
|
|
20
|
+
textFieldNode !== null && (this._currentlyFocusedNode = textFieldNode, document.activeElement !== textFieldNode && UIManager.focus(textFieldNode));
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* @param {Object} textFieldNode id of the text field to focus
|
|
24
|
+
* Unfocuses the specified text field
|
|
25
|
+
* noop if it wasn't focused
|
|
26
|
+
*/
|
|
27
|
+
blurTextInput(textFieldNode) {
|
|
28
|
+
textFieldNode !== null && (this._currentlyFocusedNode = null, document.activeElement === textFieldNode && UIManager.blur(textFieldNode));
|
|
29
|
+
}
|
|
30
|
+
}, TextInputState_default = TextInputState;
|
|
31
|
+
export {
|
|
32
|
+
TextInputState_default as default
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/modules/TextInputState/index.tsx"],
|
|
4
|
+
"mappings": "AAUA,OAAOA,eAAe;AAOtB,IAAMC,iBAAiB;;;;EAIrBC,uBAAuB;;;;;EAMvBC,wBAAAA;AACE,WAAIC,SAASC,kBAAkB,KAAKH,0BAClC,KAAKA,wBAAwB,OAExB,KAAKA;EACd;;;;;;EAOAI,eAAeC,eAA4B;AACzC,IAAIA,kBAAkB,SACpB,KAAKL,wBAAwBK,eACzBH,SAASC,kBAAkBE,iBAC7BP,UAAUQ,MAAMD,aAAAA;EAGtB;;;;;;EAOAE,cAAcF,eAA4B;AACxC,IAAIA,kBAAkB,SACpB,KAAKL,wBAAwB,MACzBE,SAASC,kBAAkBE,iBAC7BP,UAAUU,KAAKH,aAAAA;EAGrB;AACF,GAEA,yBAAeN;",
|
|
5
|
+
"names": ["UIManager", "TextInputState", "_currentlyFocusedNode", "currentlyFocusedField", "document", "activeElement", "focusTextInput", "textFieldNode", "focus", "blurTextInput", "blur"]
|
|
6
|
+
}
|
|
@@ -1,71 +1,69 @@
|
|
|
1
1
|
import UIManager from "..";
|
|
2
|
-
var createStyledNode = function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
describe("apis/UIManager", function () {
|
|
19
|
-
describe("focus", function () {
|
|
20
|
-
test('sets tabIndex="-1" on elements not programmatically focusable by default', function () {
|
|
2
|
+
var createStyledNode = function() {
|
|
3
|
+
var name = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "div", style = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, root = document.createElement(name);
|
|
4
|
+
return Object.keys(style).forEach(function(prop) {
|
|
5
|
+
root.style[prop] = style[prop];
|
|
6
|
+
}), root;
|
|
7
|
+
}, componentStub = {
|
|
8
|
+
_reactInternalInstance: {
|
|
9
|
+
_currentElement: {
|
|
10
|
+
_owner: {}
|
|
11
|
+
},
|
|
12
|
+
_debugID: 1
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
describe("apis/UIManager", function() {
|
|
16
|
+
describe("focus", function() {
|
|
17
|
+
test('sets tabIndex="-1" on elements not programmatically focusable by default', function() {
|
|
21
18
|
var node = createStyledNode();
|
|
22
19
|
UIManager.focus(node), expect(node.getAttribute("tabIndex")).toEqual("-1");
|
|
23
|
-
}), test(`doesn't set tabIndex="-1" on elements with an existing tabIndex`, function
|
|
20
|
+
}), test(`doesn't set tabIndex="-1" on elements with an existing tabIndex`, function() {
|
|
24
21
|
var node = createStyledNode();
|
|
25
22
|
node.tabIndex = 0, UIManager.focus(node), expect(node.getAttribute("tabIndex")).toEqual("0");
|
|
26
|
-
}), test(`doesn't set tabIndex="-1" on elements focusable by default`, function
|
|
27
|
-
[
|
|
23
|
+
}), test(`doesn't set tabIndex="-1" on elements focusable by default`, function() {
|
|
24
|
+
[
|
|
25
|
+
"a",
|
|
26
|
+
"input",
|
|
27
|
+
"select",
|
|
28
|
+
"textarea"
|
|
29
|
+
].forEach(function(name) {
|
|
28
30
|
var node = createStyledNode(name);
|
|
29
31
|
UIManager.focus(node), expect(node.getAttribute("tabIndex")).toBeNull();
|
|
30
32
|
});
|
|
31
33
|
});
|
|
32
|
-
}), describe("updateView", function
|
|
33
|
-
test("supports className alias for class", function
|
|
34
|
-
var node = createStyledNode(),
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
};
|
|
34
|
+
}), describe("updateView", function() {
|
|
35
|
+
test("supports className alias for class", function() {
|
|
36
|
+
var node = createStyledNode(), props = {
|
|
37
|
+
className: "extra"
|
|
38
|
+
};
|
|
38
39
|
UIManager.updateView(node, props, componentStub), expect(node.getAttribute("class")).toEqual("extra");
|
|
39
|
-
}), test("adds correct DOM styles to existing style", function
|
|
40
|
+
}), test("adds correct DOM styles to existing style", function() {
|
|
40
41
|
var node = createStyledNode("div", {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
};
|
|
42
|
+
color: "red"
|
|
43
|
+
}), props = {
|
|
44
|
+
style: {
|
|
45
|
+
marginTop: 0,
|
|
46
|
+
marginBottom: 0,
|
|
47
|
+
opacity: 0
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
50
|
UIManager.updateView(node, props, componentStub), expect(node.getAttribute("style")).toEqual("color: red; margin-top: 0px; margin-bottom: 0px; opacity: 0;");
|
|
51
|
-
}), test("replaces input and textarea text", function
|
|
51
|
+
}), test("replaces input and textarea text", function() {
|
|
52
52
|
var node = createStyledNode("textarea");
|
|
53
53
|
node.value = "initial";
|
|
54
54
|
var textProp = {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
};
|
|
55
|
+
text: "expected-text"
|
|
56
|
+
}, valueProp = {
|
|
57
|
+
value: "expected-value"
|
|
58
|
+
};
|
|
60
59
|
UIManager.updateView(node, textProp), expect(node.value).toEqual("expected-text"), UIManager.updateView(node, valueProp), expect(node.value).toEqual("expected-value");
|
|
61
|
-
}), test("sets other attribute values", function
|
|
62
|
-
var node = createStyledNode(),
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
};
|
|
60
|
+
}), test("sets other attribute values", function() {
|
|
61
|
+
var node = createStyledNode(), props = {
|
|
62
|
+
"aria-level": "4",
|
|
63
|
+
"data-of-type": "string"
|
|
64
|
+
};
|
|
67
65
|
UIManager.updateView(node, props), expect(node.getAttribute("aria-level")).toEqual("4"), expect(node.getAttribute("data-of-type")).toEqual("string");
|
|
68
66
|
});
|
|
69
67
|
});
|
|
70
68
|
});
|
|
71
|
-
//# sourceMappingURL=index-test.
|
|
69
|
+
//# sourceMappingURL=index-test.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/modules/UIManager/__tests__/index-test.tsx"],
|
|
4
|
+
"mappings": "AAOA,OAAOA,eAAe;AAEtB,IAAMC,mBAAmB,WAAA;MAACC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAO,OAAOC,QAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAQ,CAAC,GACzCC,OAAOC,SAASC,cAAcJ,IAAAA;AACpCK,gBAAOC,KAAKL,KAAAA,EAAOM,QAAQ,SAACC,MAAAA;AAC1BN,SAAKD,MAAMO,IAAAA,IAAQP,MAAMO,IAAAA;EAC3B,CAAA,GACON;AACT,GAEMO,gBAAgB;EACpBC,wBAAwB;IACtBC,iBAAiB;MAAEC,QAAQ,CAAC;IAAE;IAC9BC,UAAU;EACZ;AACF;AAEAC,SAAS,kBAAkB,WAAA;AACzBA,WAAS,SAAS,WAAA;AAChBC,SAAK,4EAA4E,WAAA;AAC/E,UAAMC,OAAOjB,iBAAAA;AACbD,gBAAUmB,MAAMD,IAAAA,GAChBE,OAAOF,KAAKG,aAAa,UAAA,CAAA,EAAaC,QAAQ,IAAA;IAChD,CAAA,GAEAL,KAAK,mEAAoE,WAAA;AACvE,UAAMC,OAAOjB,iBAAAA;AACbiB,WAAKK,WAAW,GAChBvB,UAAUmB,MAAMD,IAAAA,GAChBE,OAAOF,KAAKG,aAAa,UAAA,CA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PwB,QAAQ;QAAE,cAAc;QAAK,gBAAgB;MAAS;AAC5DzB,gBAAU2B,WAAWT,MAAMO,KAAAA,GAC3BL,OAAOF,KAAKG,aAAa,YAAA,CAAA,EAAeC,QAAQ,GAAA,GAChDF,OAAOF,KAAKG,aAAa,cAAA,CAAA,EAAiBC,QAAQ,QAAA;IACpD,CAAA;EACF,CAAA;AACF,CAAA;",
|
|
5
|
+
"names": ["UIManager", "createStyledNode", "name", "style", "root", "document", "createElement", "Object", "keys", "forEach", "prop", "componentStub", "_reactInternalInstance", "_currentElement", "_owner", "_debugID", "describe", "test", "node", "focus", "expect", "getAttribute", "toEqual", "tabIndex", "toBeNull", "props", "className", "updateView", "color", "marginTop", "marginBottom", "opacity", "value", "textProp", "text", "valueProp"]
|
|
6
|
+
}
|
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
import { measure, measureInWindow } from "@tamagui/use-element-layout";
|
|
2
2
|
var focusableElements = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
A: !0,
|
|
4
|
+
INPUT: !0,
|
|
5
|
+
SELECT: !0,
|
|
6
|
+
TEXTAREA: !0
|
|
7
|
+
}, UIManager = {
|
|
8
|
+
blur(node) {
|
|
9
|
+
try {
|
|
10
|
+
node.blur();
|
|
11
|
+
} catch {
|
|
12
|
+
}
|
|
7
13
|
},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
focus(node) {
|
|
16
|
-
try {
|
|
17
|
-
var name = node.nodeName;
|
|
18
|
-
node.getAttribute("tabIndex") == null && focusableElements[name] == null && node.setAttribute("tabIndex", "-1"), node.focus();
|
|
19
|
-
} catch {}
|
|
20
|
-
},
|
|
21
|
-
//
|
|
22
|
-
measure(node, callback) {
|
|
23
|
-
return measure(node, callback);
|
|
24
|
-
},
|
|
25
|
-
measureInWindow(node, callback) {
|
|
26
|
-
return measureInWindow(node, callback);
|
|
27
|
-
},
|
|
28
|
-
// note its flipped fail and success on purpose lol
|
|
29
|
-
async measureLayout(node, relativeToNativeNode, onFail, onSuccess) {
|
|
30
|
-
return measureLayout(node, relativeToNativeNode, onSuccess);
|
|
31
|
-
},
|
|
32
|
-
configureNextLayoutAnimation(config, onAnimationDidEnd) {
|
|
33
|
-
onAnimationDidEnd();
|
|
34
|
-
},
|
|
35
|
-
// mocks
|
|
36
|
-
setLayoutAnimationEnabledExperimental() {}
|
|
14
|
+
//
|
|
15
|
+
focus(node) {
|
|
16
|
+
try {
|
|
17
|
+
var name = node.nodeName;
|
|
18
|
+
node.getAttribute("tabIndex") == null && focusableElements[name] == null && node.setAttribute("tabIndex", "-1"), node.focus();
|
|
19
|
+
} catch {
|
|
20
|
+
}
|
|
37
21
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
22
|
+
//
|
|
23
|
+
measure(node, callback) {
|
|
24
|
+
return measure(node, callback);
|
|
25
|
+
},
|
|
26
|
+
measureInWindow(node, callback) {
|
|
27
|
+
return measureInWindow(node, callback);
|
|
28
|
+
},
|
|
29
|
+
// note its flipped fail and success on purpose lol
|
|
30
|
+
async measureLayout(node, relativeToNativeNode, onFail, onSuccess) {
|
|
31
|
+
return measureLayout(node, relativeToNativeNode, onSuccess);
|
|
32
|
+
},
|
|
33
|
+
configureNextLayoutAnimation(config, onAnimationDidEnd) {
|
|
34
|
+
onAnimationDidEnd();
|
|
35
|
+
},
|
|
36
|
+
// mocks
|
|
37
|
+
setLayoutAnimationEnabledExperimental() {
|
|
38
|
+
}
|
|
39
|
+
}, UIManager_default = UIManager;
|
|
40
|
+
export {
|
|
41
|
+
UIManager_default as default
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/modules/UIManager/index.tsx"],
|
|
4
|
+
"mappings": "AAUA,SAASA,SAASC,uBAAuB;AAEzC,IAAMC,oBAAoB;EACxBC,GAAG;EACHC,OAAO;EACPC,QAAQ;EACRC,UAAU;AACZ,GAEMC,YAAY;EAChBC,KAAKC,MAAI;AACP,QAAI;AACFA,WAAKD,KAAI;IACX,QAAc;IAEd;EACF;;EAEAE,MAAMD,MAAI;AACR,QAAI;AACF,UAAME,OAAOF,KAAKG;AAIlB,MAAIH,KAAKI,aAAa,UAAA,KAAe,QAAQX,kBAAkBS,IAAAA,KAAS,QACtEF,KAAKK,aAAa,YAAY,IAAA,GAEhCL,KAAKC,MAAK;IACZ,QAAc;IAEd;EACF;;EAEAV,QAAQS,MAAMM,UAAQ;AACpB,WAAOf,QAAQS,MAAMM,QAAAA;EACvB;EAEAd,gBAAgBQ,MAAMM,UAAQ;AAC5B,WAAOd,gBAAgBQ,MAAMM,QAAAA;EAC/B;;EAGA,MAAMC,cACJP,MACAQ,sBACAC,QACAC,WAAS;AAET,WAAOH,cAAcP,MAAMQ,sBAAsBE,SAAAA;EACnD;EAEAC,6BAA6BC,QAAQC,mBAAiB;AACpDA,sBAAAA;EACF;;EAGAC,wCAAAA;EAAyC;AAC3C,GAEA,oBAAehB;",
|
|
5
|
+
"names": ["measure", "measureInWindow", "focusableElements", "A", "INPUT", "SELECT", "TEXTAREA", "UIManager", "blur", "node", "focus", "name", "nodeName", "getAttribute", "setAttribute", "callback", "measureLayout", "relativeToNativeNode", "onFail", "onSuccess", "configureNextLayoutAnimation", "config", "onAnimationDidEnd", "setLayoutAnimationEnabledExperimental"]
|
|
6
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
var canUseDOM = !!(typeof window < "u" && window.document && window.document.createElement),
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
var canUseDOM = !!(typeof window < "u" && window.document && window.document.createElement), canUseDOM_default = canUseDOM;
|
|
2
|
+
export {
|
|
3
|
+
canUseDOM,
|
|
4
|
+
canUseDOM_default as default
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=canUseDOM.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/modules/canUseDOM.tsx"],
|
|
4
|
+
"mappings": "AASO,IAAMA,YAAY,CAAC,EACxB,OAAOC,SAAW,OAClBA,OAAOC,YACPD,OAAOC,SAASC,gBAGlB,oBAAeH;",
|
|
5
|
+
"names": ["canUseDOM", "window", "document", "createElement"]
|
|
6
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import createDOMProps from "..";
|
|
2
|
-
var createProps = function
|
|
2
|
+
var createProps = function(props) {
|
|
3
3
|
return createDOMProps(null, props);
|
|
4
4
|
};
|
|
5
|
-
describe("modules/createDOMProps", function
|
|
6
|
-
describe("focus-related accessibility attributes", function
|
|
7
|
-
test("with no accessibility props", function
|
|
5
|
+
describe("modules/createDOMProps", function() {
|
|
6
|
+
describe("focus-related accessibility attributes", function() {
|
|
7
|
+
test("with no accessibility props", function() {
|
|
8
8
|
expect(createProps({})).toEqual({});
|
|
9
|
-
}), describe('"accessibilityRole" of "link"', function
|
|
9
|
+
}), describe('"accessibilityRole" of "link"', function() {
|
|
10
10
|
var accessibilityRole = "link";
|
|
11
|
-
test("default case", function
|
|
11
|
+
test("default case", function() {
|
|
12
12
|
expect(createProps({
|
|
13
13
|
accessibilityRole
|
|
14
14
|
})).toEqual(expect.not.objectContaining({
|
|
15
15
|
tabIndex: "-1"
|
|
16
16
|
}));
|
|
17
|
-
}), test('when "focusable" is true', function
|
|
17
|
+
}), test('when "focusable" is true', function() {
|
|
18
18
|
expect(createProps({
|
|
19
19
|
accessibilityRole,
|
|
20
20
|
focusable: !0
|
|
21
21
|
})).toEqual(expect.not.objectContaining({
|
|
22
22
|
tabIndex: "-1"
|
|
23
23
|
}));
|
|
24
|
-
}), test('when "focusable" is false', function
|
|
24
|
+
}), test('when "focusable" is false', function() {
|
|
25
25
|
expect(createProps({
|
|
26
26
|
accessibilityRole,
|
|
27
27
|
focusable: !1
|
|
28
28
|
})).toEqual(expect.objectContaining({
|
|
29
29
|
tabIndex: "-1"
|
|
30
30
|
}));
|
|
31
|
-
}), test('when "accessibilityDisabled" is true', function
|
|
31
|
+
}), test('when "accessibilityDisabled" is true', function() {
|
|
32
32
|
expect(createProps({
|
|
33
33
|
accessibilityRole,
|
|
34
34
|
accessibilityDisabled: !0
|
|
35
35
|
})).toEqual(expect.objectContaining({
|
|
36
36
|
"aria-disabled": !0
|
|
37
37
|
}));
|
|
38
|
-
}), test('when "disabled" is false', function
|
|
38
|
+
}), test('when "disabled" is false', function() {
|
|
39
39
|
expect(createProps({
|
|
40
40
|
accessibilityRole,
|
|
41
41
|
accessibilityDisabled: !1
|
|
@@ -44,35 +44,35 @@ describe("modules/createDOMProps", function () {
|
|
|
44
44
|
}));
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
|
-
var testFocusableRole = function
|
|
48
|
-
test("default case", function
|
|
47
|
+
var testFocusableRole = function(accessibilityRole) {
|
|
48
|
+
test("default case", function() {
|
|
49
49
|
expect(createProps({
|
|
50
50
|
accessibilityRole
|
|
51
51
|
})).toEqual(expect.objectContaining({
|
|
52
52
|
tabIndex: "0"
|
|
53
53
|
}));
|
|
54
|
-
}), test('when "focusable" is true', function
|
|
54
|
+
}), test('when "focusable" is true', function() {
|
|
55
55
|
expect(createProps({
|
|
56
56
|
accessibilityRole,
|
|
57
57
|
focusable: !0
|
|
58
58
|
})).toEqual(expect.objectContaining({
|
|
59
59
|
tabIndex: "0"
|
|
60
60
|
}));
|
|
61
|
-
}), test('when "focusable" is false', function
|
|
61
|
+
}), test('when "focusable" is false', function() {
|
|
62
62
|
expect(createProps({
|
|
63
63
|
accessibilityRole,
|
|
64
64
|
focusable: !1
|
|
65
65
|
})).toEqual(expect.objectContaining({
|
|
66
66
|
tabIndex: "-1"
|
|
67
67
|
}));
|
|
68
|
-
}), test('when "accessibilityDisabled" is true', function
|
|
68
|
+
}), test('when "accessibilityDisabled" is true', function() {
|
|
69
69
|
expect(createProps({
|
|
70
70
|
accessibilityRole,
|
|
71
71
|
accessibilityDisabled: !0
|
|
72
72
|
})).toEqual(expect.objectContaining({
|
|
73
73
|
"aria-disabled": !0
|
|
74
74
|
}));
|
|
75
|
-
}), test('when "accessibilityDisabled" is false', function
|
|
75
|
+
}), test('when "accessibilityDisabled" is false', function() {
|
|
76
76
|
expect(createProps({
|
|
77
77
|
accessibilityRole,
|
|
78
78
|
accessibilityDisabled: !1
|
|
@@ -81,16 +81,16 @@ describe("modules/createDOMProps", function () {
|
|
|
81
81
|
}));
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
|
-
describe('"accessibilityRole" of "button"', function
|
|
84
|
+
describe('"accessibilityRole" of "button"', function() {
|
|
85
85
|
testFocusableRole("button");
|
|
86
|
-
}), describe("with unfocusable accessibilityRole", function
|
|
87
|
-
test('when "focusable" is true', function
|
|
86
|
+
}), describe("with unfocusable accessibilityRole", function() {
|
|
87
|
+
test('when "focusable" is true', function() {
|
|
88
88
|
expect(createProps({
|
|
89
89
|
focusable: !0
|
|
90
90
|
})).toEqual(expect.objectContaining({
|
|
91
91
|
tabIndex: "0"
|
|
92
92
|
}));
|
|
93
|
-
}), test('when "focusable" is false', function
|
|
93
|
+
}), test('when "focusable" is false', function() {
|
|
94
94
|
expect(createProps({
|
|
95
95
|
focusable: !1
|
|
96
96
|
})).toEqual(expect.objectContaining({
|
|
@@ -98,42 +98,36 @@ describe("modules/createDOMProps", function () {
|
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
|
-
}), test('prop "accessibilityLabel" becomes "aria-label"', function
|
|
102
|
-
var accessibilityLabel = "accessibilityLabel",
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
});
|
|
101
|
+
}), test('prop "accessibilityLabel" becomes "aria-label"', function() {
|
|
102
|
+
var accessibilityLabel = "accessibilityLabel", props = createProps({
|
|
103
|
+
accessibilityLabel
|
|
104
|
+
});
|
|
106
105
|
expect(props["aria-label"]).toEqual(accessibilityLabel);
|
|
107
|
-
}), test('prop "accessibilityLiveRegion" becomes "aria-live"', function
|
|
108
|
-
var accessibilityLiveRegion = "none",
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
});
|
|
106
|
+
}), test('prop "accessibilityLiveRegion" becomes "aria-live"', function() {
|
|
107
|
+
var accessibilityLiveRegion = "none", props = createProps({
|
|
108
|
+
accessibilityLiveRegion
|
|
109
|
+
});
|
|
112
110
|
expect(props["aria-live"]).toEqual("off");
|
|
113
|
-
}), test('prop "accessibilityRole" becomes "role"', function
|
|
114
|
-
var accessibilityRole = "button",
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
});
|
|
111
|
+
}), test('prop "accessibilityRole" becomes "role"', function() {
|
|
112
|
+
var accessibilityRole = "button", props = createProps({
|
|
113
|
+
accessibilityRole
|
|
114
|
+
});
|
|
118
115
|
expect(props.role).toEqual("button");
|
|
119
|
-
}), test('prop "className" is preserved', function
|
|
120
|
-
var className = "external-class-name",
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
});
|
|
116
|
+
}), test('prop "className" is preserved', function() {
|
|
117
|
+
var className = "external-class-name", props = createProps({
|
|
118
|
+
className
|
|
119
|
+
});
|
|
124
120
|
expect(props.className).toEqual(className);
|
|
125
|
-
}), test('prop "nativeID" becomes "id"', function
|
|
126
|
-
var nativeID = "Example.nativeID",
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
});
|
|
121
|
+
}), test('prop "nativeID" becomes "id"', function() {
|
|
122
|
+
var nativeID = "Example.nativeID", props = createProps({
|
|
123
|
+
nativeID
|
|
124
|
+
});
|
|
130
125
|
expect(props.id).toEqual(nativeID);
|
|
131
|
-
}), test('prop "testID" becomes "data-testid"', function
|
|
132
|
-
var testID = "Example.testID",
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
});
|
|
126
|
+
}), test('prop "testID" becomes "data-testid"', function() {
|
|
127
|
+
var testID = "Example.testID", props = createProps({
|
|
128
|
+
testID
|
|
129
|
+
});
|
|
136
130
|
expect(props["data-testid"]).toEqual(testID);
|
|
137
131
|
});
|
|
138
132
|
});
|
|
139
|
-
//# sourceMappingURL=index-test.
|
|
133
|
+
//# sourceMappingURL=index-test.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/modules/createDOMProps/__tests__/index-test.tsx"],
|
|
4
|
+
"mappings": "AAOA,OAAOA,oBAAoB;AAE3B,IAAMC,cAAc,SAACC,OAAAA;SAAUF,eAAe,MAAME,KAAAA;;AAEpDC,SAAS,0BAA0B,WAAA;AACjCA,WAAS,0CAA0C,WAAA;AACjDC,SAAK,+BAA+B,WAAA;AAClCC,aAAOJ,YAAY,CAAC,CAAA,CAAA,EAAIK,QAAQ,CAAC,CAAA;IACnC,CAAA,GAEAH,SAAS,iCAAiC,WAAA;AACxC,UAAMI,oBAAoB;AAE1BH,WAAK,gBAAgB,WAAA;AACnBC,eAAOJ,YAAY;UAAEM;QAAkB,CAAA,CAAA,EAAID,QACzCD,OAAOG,IAAIC,iBAAiB;UAAEC,UAAU;QAAK,CAAA,CAAA;MAEjD,CAAA,GAEAN,KAAK,4BAA4B,WAAA;AAC/BC,eAAOJ,YAAY;UAAEM;UAAmBI,WAAW;QAAK,CAAA,CAAA,EAAIL,QAC1DD,OAAOG,IAAIC,iBAAiB;UAAEC,UAAU;QAAK,CAAA,CAAA;MAEjD,CAAA,GAEAN,KAAK,6BAA6B,WAAA;AAChCC,eAAOJ,YAAY;UAAEM;UAAmBI,WAAW;QAAM,CAAA,CAAA,EAAIL,QAC3DD,OAAOI,iBAAiB;UAAEC,UAAU;QAAK,CAAA,CAAA;MAE7C,CAAA,GAEAN,KAAK,wCAAwC,WAAA;AAC3CC,eAAOJ,YAAY;UAAEM;UAAmBK,uBAAuB;QAAK,CAAA,CAAA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vC,CAAA;AACF,CAAA;",
|
|
5
|
+
"names": ["createDOMProps", "createProps", "props", "describe", "test", "expect", "toEqual", "accessibilityRole", "not", "objectContaining", "tabIndex", "focusable", "accessibilityDisabled", "testFocusableRole", "accessibilityLabel", "accessibilityLiveRegion", "role", "className", "nativeID", "id", "testID"]
|
|
6
|
+
}
|