@tarojs/taro-h5 3.6.0 → 3.6.1-alpha.1

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/index.esm.js CHANGED
@@ -1990,8 +1990,8 @@ function styleInject(css, ref) {
1990
1990
  }
1991
1991
  }
1992
1992
 
1993
- var css_248z = ".taro_choose_location {\n position: fixed;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n top: 100%;\n background-color: #fff;\n transition: ease top .3s;\n z-index: 1; }\n .taro_choose_location_bar {\n display: flex;\n flex: 0 95px;\n height: 95px;\n background-color: #ededed;\n color: #090909; }\n .taro_choose_location_back {\n flex: 0 45px;\n position: relative;\n width: 33px;\n height: 30px;\n margin-top: 30px; }\n .taro_choose_location_back::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n width: 0;\n height: 0;\n border: solid 15px;\n border-top-color: transparent;\n border-right-color: #090909;\n border-bottom-color: transparent;\n border-left-color: transparent; }\n .taro_choose_location_back::after {\n content: '';\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n top: 0;\n left: 3px;\n border: solid 15px;\n border-top-color: transparent;\n border-right-color: #ededed;\n border-bottom-color: transparent;\n border-left-color: transparent; }\n .taro_choose_location_title {\n flex: 1;\n line-height: 95px;\n padding-left: 30px; }\n .taro_choose_location_submit {\n width: 110px;\n height: 60px;\n color: #fff;\n background-color: #08bf62;\n border: none;\n font-size: 28px;\n line-height: 60px;\n padding: 0;\n margin: 18px 30px 0 0; }\n .taro_choose_location_frame {\n flex: 1; }\n";
1994
- var stylesheet=".taro_choose_location {\n position: fixed;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n top: 100%;\n background-color: #fff;\n transition: ease top .3s;\n z-index: 1; }\n .taro_choose_location_bar {\n display: flex;\n flex: 0 95px;\n height: 95px;\n background-color: #ededed;\n color: #090909; }\n .taro_choose_location_back {\n flex: 0 45px;\n position: relative;\n width: 33px;\n height: 30px;\n margin-top: 30px; }\n .taro_choose_location_back::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n width: 0;\n height: 0;\n border: solid 15px;\n border-top-color: transparent;\n border-right-color: #090909;\n border-bottom-color: transparent;\n border-left-color: transparent; }\n .taro_choose_location_back::after {\n content: '';\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n top: 0;\n left: 3px;\n border: solid 15px;\n border-top-color: transparent;\n border-right-color: #ededed;\n border-bottom-color: transparent;\n border-left-color: transparent; }\n .taro_choose_location_title {\n flex: 1;\n line-height: 95px;\n padding-left: 30px; }\n .taro_choose_location_submit {\n width: 110px;\n height: 60px;\n color: #fff;\n background-color: #08bf62;\n border: none;\n font-size: 28px;\n line-height: 60px;\n padding: 0;\n margin: 18px 30px 0 0; }\n .taro_choose_location_frame {\n flex: 1; }\n";
1993
+ var css_248z = ".taro_choose_location {\n display: flex;\n position: fixed;\n top: 100%;\n z-index: 1;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background-color: #fff;\n transition: ease top 0.3s; }\n .taro_choose_location_bar {\n display: flex;\n flex: 0 95px;\n height: 95px;\n background-color: #ededed;\n color: #090909; }\n .taro_choose_location_back {\n position: relative;\n flex: 0 45px;\n margin-top: 30px;\n width: 33px;\n height: 30px; }\n .taro_choose_location_back::before {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n border: solid 15px;\n border-color: transparent #090909 transparent transparent;\n width: 0;\n height: 0;\n content: \"\"; }\n .taro_choose_location_back::after {\n display: block;\n position: absolute;\n left: 3px;\n top: 0;\n border: solid 15px;\n border-color: transparent #ededed transparent transparent;\n width: 0;\n height: 0;\n content: \"\"; }\n .taro_choose_location_title {\n flex: 1;\n padding-left: 30px;\n line-height: 95px; }\n .taro_choose_location_submit {\n margin: 18px 30px 0 0;\n padding: 0;\n border: none;\n width: 110px;\n height: 60px;\n background-color: #08bf62;\n line-height: 60px;\n font-size: 28px;\n color: #fff; }\n .taro_choose_location_frame {\n flex: 1; }\n";
1994
+ var stylesheet=".taro_choose_location {\n display: flex;\n position: fixed;\n top: 100%;\n z-index: 1;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background-color: #fff;\n transition: ease top 0.3s; }\n .taro_choose_location_bar {\n display: flex;\n flex: 0 95px;\n height: 95px;\n background-color: #ededed;\n color: #090909; }\n .taro_choose_location_back {\n position: relative;\n flex: 0 45px;\n margin-top: 30px;\n width: 33px;\n height: 30px; }\n .taro_choose_location_back::before {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n border: solid 15px;\n border-color: transparent #090909 transparent transparent;\n width: 0;\n height: 0;\n content: \"\"; }\n .taro_choose_location_back::after {\n display: block;\n position: absolute;\n left: 3px;\n top: 0;\n border: solid 15px;\n border-color: transparent #ededed transparent transparent;\n width: 0;\n height: 0;\n content: \"\"; }\n .taro_choose_location_title {\n flex: 1;\n padding-left: 30px;\n line-height: 95px; }\n .taro_choose_location_submit {\n margin: 18px 30px 0 0;\n padding: 0;\n border: none;\n width: 110px;\n height: 60px;\n background-color: #08bf62;\n line-height: 60px;\n font-size: 28px;\n color: #fff; }\n .taro_choose_location_frame {\n flex: 1; }\n";
1995
1995
  styleInject(css_248z,{"insertAt":"top"});
1996
1996
 
1997
1997
  function createLocationChooser(handler, key = LOCATION_APIKEY, mapOpt = {}) {
@@ -5225,9 +5225,14 @@ function filter(fields, dom, selector) {
5225
5225
  res.node = null;
5226
5226
  }
5227
5227
  }
5228
+ else if (/^taro-scroll-view-core/i.test(tagName)) {
5229
+ // Note https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/ScrollViewContext.html
5230
+ res.nodeCanvasType = '';
5231
+ res.node = dom;
5232
+ dom.scrollTo = dom.mpScrollToMethod;
5233
+ dom.scrollIntoView = dom.mpScrollIntoViewMethod;
5234
+ }
5228
5235
  else {
5229
- // TODO https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/ScrollViewContext.html
5230
- // if (/^taro-scroll-view-core/i.test(tagName))
5231
5236
  res.nodeCanvasType = '';
5232
5237
  res.node = dom;
5233
5238
  }