diff --git a/404.html b/404.html index e840eaebfa..13c5b0d192 100644 --- a/404.html +++ b/404.html @@ -36,6 +36,6 @@
- + diff --git a/_demos/:uuid/index.html b/_demos/:uuid/index.html index e840eaebfa..13c5b0d192 100644 --- a/_demos/:uuid/index.html +++ b/_demos/:uuid/index.html @@ -36,6 +36,6 @@
- + diff --git a/development/index.html b/development/index.html index 00a10404e1..72d847a89b 100644 --- a/development/index.html +++ b/development/index.html @@ -36,6 +36,6 @@
- + diff --git a/faq/index.html b/faq/index.html index e840eaebfa..13c5b0d192 100644 --- a/faq/index.html +++ b/faq/index.html @@ -36,6 +36,6 @@
- + diff --git a/faq/react-faq/index.html b/faq/react-faq/index.html index 115b084219..75e8db4731 100644 --- a/faq/react-faq/index.html +++ b/faq/react-faq/index.html @@ -36,6 +36,6 @@
- + diff --git a/faq/react-perf/index.html b/faq/react-perf/index.html index 8dd2e509d2..12728641a8 100644 --- a/faq/react-perf/index.html +++ b/faq/react-perf/index.html @@ -36,6 +36,6 @@
- + diff --git a/faq/rn-faq/index.html b/faq/rn-faq/index.html index 871089682c..860bff4d85 100644 --- a/faq/rn-faq/index.html +++ b/faq/rn-faq/index.html @@ -36,6 +36,6 @@
- + diff --git a/friendlink/index.html b/friendlink/index.html index ef53b7bc1b..340a0b8f47 100644 --- a/friendlink/index.html +++ b/friendlink/index.html @@ -36,6 +36,6 @@
- + diff --git a/index.html b/index.html index ee0fae9083..33b0f87889 100644 --- a/index.html +++ b/index.html @@ -36,6 +36,6 @@
- + diff --git a/packages__react-native__src__float-button__index.md.ca62a6f5.async.js b/packages__react-native__src__float-button__index.md.ca62a6f5.async.js deleted file mode 100644 index be0af6759d..0000000000 --- a/packages__react-native__src__float-button__index.md.ca62a6f5.async.js +++ /dev/null @@ -1 +0,0 @@ -(self["webpackChunkthundersdata_frontend"]=self["webpackChunkthundersdata_frontend"]||[]).push([[9643],{99500:function(){},77218:function(e,t,l){"use strict";l.r(t);var n=l(59496),r=l(3646),a=l(22811),c=l(16414),o=n.memo((e=>{e.demos;return n.createElement(n.Fragment,null,n.createElement("div",{className:"markdown"},n.createElement("h1",{id:"floatbutton-\u60ac\u6d6e\u6309\u94ae\u7ec4\u4ef6"},n.createElement(r.AnchorLink,{to:"#floatbutton-\u60ac\u6d6e\u6309\u94ae\u7ec4\u4ef6","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"FloatButton \u60ac\u6d6e\u6309\u94ae\u7ec4\u4ef6"),n.createElement("h2",{id:"\u6548\u679c\u6f14\u793a"},n.createElement(r.AnchorLink,{to:"#\u6548\u679c\u6f14\u793a","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"\u6548\u679c\u6f14\u793a"),n.createElement("h3",{id:"1-\u60ac\u6d6e\u6309\u94ae\u5728\u9875\u9762\u53f3\u4e0a\u89d2"},n.createElement(r.AnchorLink,{to:"#1-\u60ac\u6d6e\u6309\u94ae\u5728\u9875\u9762\u53f3\u4e0a\u89d2","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"1. \u60ac\u6d6e\u6309\u94ae\u5728\u9875\u9762\u53f3\u4e0a\u89d2"),n.createElement(a.Z,{code:" },\n { backgroundColor: '#3498db', title: 'Notifications', icon: },\n { backgroundColor: '#1abc9c', title: 'All Tasks', icon: },\n ]}\n/>",lang:"tsx"}),n.createElement("center",null,n.createElement("figure",null,n.createElement("img",{alt:"floatButton-ios1.gif",src:"https://td-dev-public.oss-cn-hangzhou.aliyuncs.com/maoyes-app/1608120362148553983.gif",style:{width:"375px",marginRight:"10px",border:"1px solid #ddd"}}))),n.createElement("h3",{id:"2-\u81ea\u5b9a\u4e49\u6837\u5f0f"},n.createElement(r.AnchorLink,{to:"#2-\u81ea\u5b9a\u4e49\u6837\u5f0f","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"2. \u81ea\u5b9a\u4e49\u6837\u5f0f"),n.createElement(a.Z,{code:" },\n { backgroundColor: '#3498db', title: 'Notifications', icon: },\n { backgroundColor: '#1abc9c', title: 'All Tasks', icon: },\n ]}\n/>",lang:"tsx"}),n.createElement("center",null,n.createElement("figure",null,n.createElement("img",{alt:"floatButton-ios2.gif",src:"https://td-dev-public.oss-cn-hangzhou.aliyuncs.com/maoyes-app/1608120451387252788.gif",style:{width:"375px",marginRight:"10px",border:"1px solid #ddd"}}))),n.createElement("h3",{id:"3-\u81ea\u5b9a\u4e49\u60ac\u6d6e\u6309\u94ae"},n.createElement(r.AnchorLink,{to:"#3-\u81ea\u5b9a\u4e49\u60ac\u6d6e\u6309\u94ae","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"3. \u81ea\u5b9a\u4e49\u60ac\u6d6e\u6309\u94ae"),n.createElement(a.Z,{code:"}\n items={[\n { backgroundColor: '#9b59b6', title: 'New Task', icon: },\n { backgroundColor: '#3498db', title: 'Notifications', icon: },\n { backgroundColor: '#1abc9c', title: 'All Tasks', icon: },\n ]}\n/>",lang:"tsx"}),n.createElement("center",null,n.createElement("figure",null,n.createElement("img",{alt:"floatButton-ios4.gif",src:"https://td-dev-public.oss-cn-hangzhou.aliyuncs.com/maoyes-app/1608120590706733843.gif",style:{width:"375px",marginRight:"10px",border:"1px solid #ddd"}}))),n.createElement("h2",{id:"api"},n.createElement(r.AnchorLink,{to:"#api","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"API"),n.createElement("h3",{id:"floatbutton"},n.createElement(r.AnchorLink,{to:"#floatbutton","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"FloatButton"),n.createElement(c.Z,null,n.createElement("thead",null,n.createElement("tr",null,n.createElement("th",null,"\u5c5e\u6027"),n.createElement("th",null,"\u5fc5\u586b"),n.createElement("th",null,"\u8bf4\u660e"),n.createElement("th",null,"\u7c7b\u578b"),n.createElement("th",null,"\u9ed8\u8ba4\u503c"))),n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",null,"items"),n.createElement("td",null,n.createElement("code",null,"true")),n.createElement("td",null,"\u5c55\u5f00\u6309\u94ae\u7ec4"),n.createElement("td",null,n.createElement("code",null,"ActionButtonItemProps[]")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"size"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u4e3b\u6309\u94ae\u7684\u5927\u5c0f"),n.createElement("td",null,n.createElement("code",null,"number")),n.createElement("td",null,n.createElement("code",null,"40"))),n.createElement("tr",null,n.createElement("td",null,"verticalOrientation"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u5c55\u5f00\u65b9\u5411"),n.createElement("td",null,n.createElement("code",null,"up")," | ",n.createElement("code",null,"down")),n.createElement("td",null,n.createElement("code",null,"up"))),n.createElement("tr",null,n.createElement("td",null,"buttonColor"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u7684\u989c\u8272"),n.createElement("td",null,n.createElement("code",null,"string")),n.createElement("td",null,n.createElement("code",null,"black"))),n.createElement("tr",null,n.createElement("td",null,"btnOutRange"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u70b9\u51fb\u4e4b\u540e\u7684\u989c\u8272"),n.createElement("td",null,n.createElement("code",null,"string")),n.createElement("td",null,n.createElement("code",null,"black"))),n.createElement("tr",null,n.createElement("td",null,"outRangeScale"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u52a8\u753b\u8fc7\u7a0b\u4e2d\u4e3b\u6309\u94ae\u7684\u7f29\u653e\u6bd4\u4f8b"),n.createElement("td",null,n.createElement("code",null,"number")),n.createElement("td",null,n.createElement("code",null,"1"))),n.createElement("tr",null,n.createElement("td",null,"customIcon"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u81ea\u5b9a\u4e49\u4e3b\u6309\u94ae\u7684\u56fe\u6807"),n.createElement("td",null,n.createElement("code",null,"ReactNode")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"position"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u4e3b\u6309\u94ae\u7684\u4f4d\u7f6e"),n.createElement("td",null,n.createElement("code",null,"left")," | ",n.createElement("code",null,"center")," | ",n.createElement("code",null,"right")),n.createElement("td",null,n.createElement("code",null,"right"))),n.createElement("tr",null,n.createElement("td",null,"spacing"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u5c55\u5f00\u6309\u94ae\u4e4b\u95f4\u7684\u95f4\u8ddd"),n.createElement("td",null,n.createElement("code",null,"number")),n.createElement("td",null,n.createElement("code",null,"8"))),n.createElement("tr",null,n.createElement("td",null,"style"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6574\u4e2a\u5bb9\u5668\u7684\u6837\u5f0f"),n.createElement("td",null,n.createElement("code",null,"ViewStyle")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"activeOpacity"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u4e0b\u65f6\u7684\u4e0d\u900f\u660e\u5ea6"),n.createElement("td",null,n.createElement("code",null,"number")),n.createElement("td",null,n.createElement("code",null,"0.6"))))),n.createElement("h3",{id:"actionbuttonitemprops"},n.createElement(r.AnchorLink,{to:"#actionbuttonitemprops","aria-hidden":"true",tabIndex:-1},n.createElement("span",{className:"icon icon-link"})),"ActionButtonItemProps"),n.createElement(c.Z,null,n.createElement("thead",null,n.createElement("tr",null,n.createElement("th",null,"\u5c5e\u6027"),n.createElement("th",null,"\u5fc5\u586b"),n.createElement("th",null,"\u8bf4\u660e"),n.createElement("th",null,"\u7c7b\u578b"),n.createElement("th",null,"\u9ed8\u8ba4\u503c"))),n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",null,"icon"),n.createElement("td",null,n.createElement("code",null,"true")),n.createElement("td",null,"\u6309\u94ae\u56fe\u6807"),n.createElement("td",null,n.createElement("code",null,"ReactElement")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"backgroundColor"),n.createElement("td",null,n.createElement("code",null,"true")),n.createElement("td",null,"\u6309\u94ae\u7684\u989c\u8272"),n.createElement("td",null,n.createElement("code",null,"string")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"onPress"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u7684\u70b9\u51fb\u4e8b\u4ef6"),n.createElement("td",null,n.createElement("code",null,"() => void")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"textStyle"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u7684\u6587\u5b57\u6837\u5f0f"),n.createElement("td",null,n.createElement("code",null,"TextStyle")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"textContainerStyle"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u7684\u6587\u5b57\u5bb9\u5668\u6837\u5f0f"),n.createElement("td",null,n.createElement("code",null,"ViewStyle")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"title"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u7684\u6587\u5b57\u6807\u9898"),n.createElement("td",null,n.createElement("code",null,"string")),n.createElement("td",null)),n.createElement("tr",null,n.createElement("td",null,"spaceBetween"),n.createElement("td",null,n.createElement("code",null,"false")),n.createElement("td",null,"\u6309\u94ae\u548c\u56fe\u6807\u7684\u95f4\u8ddd"),n.createElement("td",null,n.createElement("code",null,"number")),n.createElement("td",null,n.createElement("code",null,"4")))))))}));t["default"]=e=>{var t=n.useContext(r.context),l=t.demos;return n.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r.AnchorLink.scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),n.createElement(o,{demos:l})}},16414:function(e,t,l){"use strict";var n=l(59496),r=l(48440),a=l.n(r);l(99500);function c(e,t){return i(e)||d(e,t)||u(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"===typeof e)return m(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=new Array(t);l0),s(e.scrollLeft{e.demos;return l.createElement(l.Fragment,null,l.createElement("div",{className:"markdown"},l.createElement("h1",{id:"floatbutton-\u60ac\u6d6e\u6309\u94ae\u7ec4\u4ef6"},l.createElement(a.AnchorLink,{to:"#floatbutton-\u60ac\u6d6e\u6309\u94ae\u7ec4\u4ef6","aria-hidden":"true",tabIndex:-1},l.createElement("span",{className:"icon icon-link"})),"FloatButton \u60ac\u6d6e\u6309\u94ae\u7ec4\u4ef6"),l.createElement("h2",{id:"\u6548\u679c\u6f14\u793a"},l.createElement(a.AnchorLink,{to:"#\u6548\u679c\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.createElement("span",{className:"icon icon-link"})),"\u6548\u679c\u6f14\u793a"),l.createElement("h3",{id:"1-\u9ed8\u8ba4\u6548\u679c"},l.createElement(a.AnchorLink,{to:"#1-\u9ed8\u8ba4\u6548\u679c","aria-hidden":"true",tabIndex:-1},l.createElement("span",{className:"icon icon-link"})),"1. \u9ed8\u8ba4\u6548\u679c"),l.createElement(r.Z,{code:", label: 'New Task', onPress: handlePress1 },\n { icon: , label: 'Notifications', onPress: handlePress2 },\n { icon: , label: 'All Tasks', onPress: handlePress3 },\n ]}\n/>",lang:"tsx"}),l.createElement("center",null,l.createElement("figure",null,l.createElement("img",{alt:"floatButton-ios1.gif",src:"https://td-dev-public.oss-cn-hangzhou.aliyuncs.com/maoyes-app/1704857363855209553.gif",style:{width:"375px",marginRight:"10px",border:"1px solid #ddd"}}))),l.createElement("h3",{id:"2-\u4fee\u6539\u6309\u94ae\u4f4d\u7f6e"},l.createElement(a.AnchorLink,{to:"#2-\u4fee\u6539\u6309\u94ae\u4f4d\u7f6e","aria-hidden":"true",tabIndex:-1},l.createElement("span",{className:"icon icon-link"})),"2. \u4fee\u6539\u6309\u94ae\u4f4d\u7f6e"),l.createElement(r.Z,{code:", label: 'New Task', onPress: handlePress1 },\n { icon: , label: 'Notifications', onPress: handlePress2 },\n { icon: , label: 'All Tasks', onPress: handlePress3 },\n ]}\n/>",lang:"tsx"}),l.createElement("center",null,l.createElement("figure",null,l.createElement("img",{alt:"floatButton-ios2.gif",src:"https://td-dev-public.oss-cn-hangzhou.aliyuncs.com/maoyes-app/1704857368486252185.gif",style:{width:"375px",marginRight:"10px",border:"1px solid #ddd"}}))),l.createElement("h3",{id:"3-\u81ea\u5b9a\u4e49\u4e3b\u6309\u94ae"},l.createElement(a.AnchorLink,{to:"#3-\u81ea\u5b9a\u4e49\u4e3b\u6309\u94ae","aria-hidden":"true",tabIndex:-1},l.createElement("span",{className:"icon icon-link"})),"3. \u81ea\u5b9a\u4e49\u4e3b\u6309\u94ae"),l.createElement(r.Z,{code:", label: 'New Task', onPress: handlePress1 },\n { icon: , label: 'Notifications', onPress: handlePress2 },\n { icon: , label: 'All Tasks', onPress: handlePress3 },\n ]}\n customActionButton={(_, onPress) =>