@nutui/nutui-react 2.4.1 → 2.4.2
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/CHANGELOG.md +48 -1
- package/dist/esm/BackTop.js +3 -1
- package/dist/esm/CalendarCard.js +5 -7
- package/dist/esm/NoticeBar/style/style.css +1 -1
- package/dist/esm/NoticeBar.js +3 -2
- package/dist/esm/Row.js +1 -7
- package/dist/esm/Swiper.js +4 -2
- package/dist/esm/button2.js +2 -2
- package/dist/esm/menuitem2.js +7 -5
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +29 -26
- package/dist/nutui.react.umd.js +29 -26
- package/dist/packages/noticebar/noticebar.scss +5 -0
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/types/packages/address/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/address/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/address/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/address/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/address/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/address/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/address/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/address/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/address/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/address/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/address/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/address/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/avatar/demos/h5/demo9.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/avatar/demos/taro/demo9.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/badge/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/badge/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/card/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/card/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/card/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/card/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/card/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/card/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/card/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/card/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/card/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/card/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/dialog/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/dialog/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/fixednav/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/icon/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/icon/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/icon/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/icon/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/indicator/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/indicator/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/indicator/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/indicator/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/indicator/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/indicator/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/indicator/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/indicator/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/infiniteloading/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo10.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo11.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo12.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo13.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo14.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/input/demos/h5/demo9.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo10.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo11.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo12.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo13.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo14.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/input/demos/taro/demo9.d.ts +3 -0
- package/dist/types/packages/navbar/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/navbar/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/navbar/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/navbar/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/navbar/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/navbar/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo10.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo11.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/h5/demo9.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo10.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo11.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/noticebar/demos/taro/demo9.d.ts +3 -0
- package/dist/types/packages/noticebar/noticebar.d.ts +5 -0
- package/dist/types/packages/noticebar/noticebar.taro.d.ts +1 -0
- package/dist/types/packages/pagination/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/pagination/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/pagination/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/pagination/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/pagination/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/pagination/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/pagination/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/pagination/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/pagination/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/pagination/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/pagination/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/pagination/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/price/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/price/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo10.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo11.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo12.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/rate/demos/h5/demo9.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo10.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo11.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo12.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/rate/demos/taro/demo9.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/searchbar/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/sidenavbar/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/sidenavbar/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/sidenavbar/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/sidenavbar/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/skeleton/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/sticky/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/sticky/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/sticky/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/sticky/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/sticky/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/sticky/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/sticky/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/sticky/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/h5/demo9.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/tabbar/demos/taro/demo9.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/h5/demo8.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/trendarrow/demos/taro/demo8.d.ts +3 -0
- package/dist/types/packages/watermark/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/watermark/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/watermark/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/watermark/demos/taro/demo2.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,54 @@
|
|
|
1
|
+
# v2.4.2
|
|
2
|
+
`2024-03-20`
|
|
3
|
+
|
|
4
|
+
* :sparkles: feat(backtop): rtl (#2051) @xiaoyatong
|
|
5
|
+
* :sparkles: feat(badge): 新增 fill 属性 (#2042) @Eiinu
|
|
6
|
+
* :sparkles: feat(button): 增加xlarge,按钮内图标大小追随按钮当前字号 (#2037) @xiaoyatong
|
|
7
|
+
* :sparkles: feat(ci): add issue-close.yml (#2031) @Eiinu
|
|
8
|
+
* :sparkles: feat(infiniteloading): add type props (#2027) @songsong
|
|
9
|
+
* :sparkles: feat(NoticeBar): 增加right 属性,支持更多可自定义内容 @xiaoyatong
|
|
10
|
+
* :sparkles: feat(pulltorefresh): 增加 type 属性,支持深色背景设置 (#2044) @xiaoyatong
|
|
11
|
+
* :bug: fix(address): demo拆解与规范 (#2068) @Alex.huxiyang
|
|
12
|
+
* :bug: fix(avatar): demo规范与调整 (#2071) @Alex.huxiyang
|
|
13
|
+
* :bug: fix(backtop): demo拆解与规范 (#2025) @Alex.huxiyang
|
|
14
|
+
* :bug: fix(badge): demo拆解与规范 (#2060) @sd
|
|
15
|
+
* :bug: fix(build): 移除构建产物中重复的类型文件 (#2038) @Eiinu
|
|
16
|
+
* :bug: fix(calendarcard): 修复受控模式 (#2063) @Eiinu
|
|
17
|
+
* :bug: fix(Card): demo拆解与规范 (#2072) @joyfully-W
|
|
18
|
+
* :bug: fix(dialog): demo拆解与规范 (#2069) @songsong
|
|
19
|
+
* :bug: fix(elevator): demo拆解与规范 (#2030) @Alex.huxiyang
|
|
20
|
+
* :bug: fix(ellipsis): 修复设置行数超过内容高度时只显示一行内容的问题 (#2028) @bbf
|
|
21
|
+
* :bug: fix(Empty): 调整默认图片为jd图片 (#2032) @xiaoyatong
|
|
22
|
+
* :bug: fix(fixedNav): demo拆解与规范 (#2048) @Alex.huxiyang
|
|
23
|
+
* :bug: fix(icon): 处理 rtl 部分 (#2050) @xiaoyatong
|
|
24
|
+
* :bug: fix(indicator): demo拆解与规范 (#2090) @Eiinu
|
|
25
|
+
* :bug: fix(infiniteLoading): demo拆解与规范+增加joy logo的demo (#2081) @songsong
|
|
26
|
+
* :bug: fix(input): demo拆解与规范 (#2035) @yeyu1998
|
|
27
|
+
* :bug: fix(navbar): demo拆解与规范 (#2055) @Alex.huxiyang
|
|
28
|
+
* :bug: fix(pagination): demo拆解与规范 (#2079) @Alex.huxiyang
|
|
29
|
+
* :bug: fix(popover): 调整demo (#2043) @xiaoyatong
|
|
30
|
+
* :bug: fix(price): demo拆解与规范 (#2082) @Alex.huxiyang
|
|
31
|
+
* :bug: fix(pulltorefresh): demo中下拉图标修改为joy logo (#2084) @songsong
|
|
32
|
+
* :bug: fix(range): touchmove 回调中 rect 获取失败时终止 (#2029) @Eiinu
|
|
33
|
+
* :bug: fix(rate): demo拆解与规范 (#2045) @sandra
|
|
34
|
+
* :bug: fix(SearchBar): demo拆解与规范 (#2064) @joyfully-W
|
|
35
|
+
* :bug: fix(sideNavBar): demo拆解与规范 (#2058) @Alex.huxiyang
|
|
36
|
+
* :bug: fix(skeleton): demo拆解与规范 (#2047) @sd
|
|
37
|
+
* :bug: fix(sticky): demo拆解与规范 (#2024) @Alex.huxiyang
|
|
38
|
+
* :bug: fix(swiper): rtl (#2061) @xiaoyatong
|
|
39
|
+
* :bug: fix(switch):switch组件demo代码重构 (#2033) @姜衿
|
|
40
|
+
* :bug: fix(tabbar): demo拆解与规范&脚本增强 (#2059) @Alex.huxiyang
|
|
41
|
+
* :bug: fix(trendarrow): demo拆解与规范 (#2075) @ber
|
|
42
|
+
* :bug: fix(watermark): demo拆解与规范 (#2083) @Eiinu
|
|
43
|
+
* :bug: fix: fix swipe slide element get rect width error (#2017) @awefeng
|
|
44
|
+
* :bug: fix: update copy-docs-h5-or-taro.js (#2080) @Eiinu
|
|
45
|
+
* 🔨 chore(row): 优化 className (#2054) @Eiinu
|
|
46
|
+
* test: migrate jest to vitest (#2057) @Eiinu
|
|
47
|
+
|
|
48
|
+
|
|
1
49
|
# v2.4.1
|
|
2
50
|
`2024-03-15`
|
|
3
51
|
|
|
4
|
-
|
|
5
52
|
* :sparkles: feat(badge): 新增 fill 属性 (#2042) @eiinu
|
|
6
53
|
* :sparkles: feat(button): 增加xlarge,按钮内图标大小追随按钮当前字号 (#2037) @xiaoyatong
|
|
7
54
|
* :sparkles: feat(ci): add issue-close.yml (#2031) @eiinu
|
package/dist/esm/BackTop.js
CHANGED
|
@@ -3,8 +3,10 @@ import { Top } from "@nutui/icons-react";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { C as ComponentDefaults } from "./typings.js";
|
|
5
5
|
import { r as requestAniFrame } from "./raf.js";
|
|
6
|
+
import { useRtl } from "./ConfigProvider.js";
|
|
6
7
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { target: "", threshold: 200, zIndex: 900, duration: 1e3 });
|
|
7
8
|
const BackTop = (props) => {
|
|
9
|
+
const rtl = useRtl();
|
|
8
10
|
const { children, target, threshold, zIndex, className, duration, style, onClick } = Object.assign(Object.assign({}, defaultProps), props);
|
|
9
11
|
const classPrefix = "nut-backtop";
|
|
10
12
|
const [backTop, SetBackTop] = useState(false);
|
|
@@ -75,7 +77,7 @@ const BackTop = (props) => {
|
|
|
75
77
|
duration > 0 ? scrollAnimation() : scroll();
|
|
76
78
|
};
|
|
77
79
|
const styles = Object.keys(style || {}).length !== 0 ? Object.assign({ zIndex }, style) : {
|
|
78
|
-
right: "10px",
|
|
80
|
+
[rtl ? "left" : "right"]: "10px",
|
|
79
81
|
bottom: "20px",
|
|
80
82
|
zIndex
|
|
81
83
|
};
|
package/dist/esm/CalendarCard.js
CHANGED
|
@@ -3,6 +3,7 @@ import classNames from "classnames";
|
|
|
3
3
|
import { C as ComponentDefaults } from "./typings.js";
|
|
4
4
|
import { U as Utils } from "./date.js";
|
|
5
5
|
import { u as useConfig } from "./configprovider2.js";
|
|
6
|
+
import { u as usePropsValue } from "./use-props-value.js";
|
|
6
7
|
const ArrowLeft = () => {
|
|
7
8
|
return React__default.createElement(
|
|
8
9
|
"svg",
|
|
@@ -120,14 +121,11 @@ const CalendarCard = React__default.forwardRef((props, ref) => {
|
|
|
120
121
|
}
|
|
121
122
|
return range ? [convertDayToDate(range)] : [];
|
|
122
123
|
};
|
|
123
|
-
const [innerValue, setInnerValue] =
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
const [innerValue, setInnerValue] = usePropsValue({
|
|
125
|
+
value: value ? valueToRange(value) : void 0,
|
|
126
|
+
defaultValue: defaultValue ? valueToRange(defaultValue) : void 0,
|
|
127
|
+
finalValue: []
|
|
126
128
|
});
|
|
127
|
-
useEffect(() => {
|
|
128
|
-
const val = value || defaultValue ? valueToRange(value || defaultValue) : [];
|
|
129
|
-
setInnerValue(val);
|
|
130
|
-
}, [value]);
|
|
131
129
|
const change = (v) => {
|
|
132
130
|
setInnerValue(v);
|
|
133
131
|
if (type === "single") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nut-noticebar{width:100%}.nut-noticebar .nut-noticebar-box{position:relative;display:flex;align-items:center;height:var(--nutui-noticebar-height, 36px);padding:var(--nutui-noticebar-box-padding, 0 16px);font-size:var(--nutui-noticebar-font-size, var(--nutui-font-size-2, 12px));background:var(--nutui-noticebar-background, rgb(251, 248, 220));color:var(--nutui-noticebar-color, #d9500b);border-radius:var(--nutui-noticebar-border-radius, 0)}.nut-noticebar .nut-noticebar-box-wrapable,.nut-noticebar .nut-noticebar-box-center{height:auto;padding:var(--nutui-noticebar-wrapable-padding, 8px 16px)}.nut-noticebar .nut-noticebar-box-wrapable .nut-noticebar-box-wrap,.nut-noticebar .nut-noticebar-box-center .nut-noticebar-box-wrap{height:auto}.nut-noticebar .nut-noticebar-box-wrapable .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content{position:relative;white-space:normal;word-wrap:break-word}.nut-noticebar .nut-noticebar-box-center{justify-content:center}.nut-noticebar .nut-noticebar-box-center .nut-noticebar-box-wrap{flex:initial}.nut-noticebar .nut-noticebar-box-center .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content{position:relative;display:initial}.nut-noticebar .nut-noticebar-box-left-icon{display:flex;height:var(--nutui-noticebar-left-icon-width, 16px);min-width:var(--nutui-noticebar-left-icon-width, 16px);margin-right:var(--nutui-noticebar-icon-gap, 4px);background-size:100% 100%}.nut-noticebar .nut-noticebar-box-right-icon{display:flex;align-items:center;justify-content:center;width:var(--nutui-noticebar-right-icon-width, 16px);margin-left:var(--nutui-noticebar-icon-gap, 4px)}.nut-noticebar .nut-noticebar-box-wrap{display:flex;flex:1;height:var(--nutui-noticebar-line-height, 24px);line-height:var(--nutui-noticebar-line-height, 24px);overflow:hidden;position:relative}.nut-noticebar .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content{position:absolute;white-space:nowrap}.nut-noticebar .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content.nut-ellipsis{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nut-noticebar .nut-noticebar-box .play{animation:nut-notice-bar-play linear both running}.nut-noticebar .nut-noticebar-box .play-infinite{animation:nut-notice-bar-play-infinite linear infinite both running}.nut-noticebar .nut-noticebar-box .play-vertical{animation:nut-notice-bar-play-vertical linear infinite both running}.nut-noticebar .nut-noticebar-vertical{position:relative;display:flex;justify-content:space-between;height:var(--nutui-noticebar-height, 36px);font-size:var(--nutui-noticebar-font-size, var(--nutui-font-size-2, 12px));overflow:hidden;padding:var(--nutui-noticebar-box-padding, 0 16px);background:var(--nutui-noticebar-background, rgb(251, 248, 220));color:var(--nutui-noticebar-color, #d9500b)}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-left-icon{height:var(--nutui-noticebar-left-icon-width, 16px);min-width:var(--nutui-noticebar-left-icon-width, 16px);margin:var(--nutui-noticebar-icon-gap, 4px);background-size:100% 100%;display:flex;align-self:center}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-horseLamp-list{margin:0;padding:0;display:block;flex:1}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-horseLamp-list-item{display:flex;align-items:center;height:var(--nutui-noticebar-height, 36px);width:100%}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-wrap{display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-right-icon{align-self:center;display:flex;justify-content:center;width:var(--nutui-noticebar-right-icon-width, 16px);margin-left:var(--nutui-noticebar-icon-gap, 4px)}@keyframes nut-notice-bar-play{to{transform:translate3d(-100%,0,0)}}@keyframes nut-notice-bar-play-infinite{to{transform:translate3d(-100%,0,0)}}@keyframes nut-notice-bar-play-vertical{to{transform:translateY(var(--nutui-noticebar-height, 36px))}}[dir=rtl] .nut-noticebar .nut-noticebar-box-left-icon,.nut-rtl .nut-noticebar .nut-noticebar-box-left-icon{margin-right:0;margin-left:var(--nutui-noticebar-icon-gap, 4px)}[dir=rtl] .nut-noticebar .nut-noticebar-box-right-icon,.nut-rtl .nut-noticebar .nut-noticebar-box-right-icon{margin-left:0;margin-right:var(--nutui-noticebar-icon-gap, 4px)}[dir=rtl] .nut-noticebar .nut-noticebar-box .play,.nut-rtl .nut-noticebar .nut-noticebar-box .play{animation:nut-notice-bar-play-rtl linear both running}[dir=rtl] .nut-noticebar .nut-noticebar-box .play-infinite,.nut-rtl .nut-noticebar .nut-noticebar-box .play-infinite{animation:nut-notice-bar-play-infinite-rtl linear infinite both running}@keyframes nut-notice-bar-play-rtl{to{transform:translate3d(100%,0,0)}}@keyframes nut-notice-bar-play-infinite-rtl{to{transform:translate3d(100%,0,0)}}[dir=rtl] .nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-right-icon,.nut-rtl .nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-right-icon{margin-left:0;margin-right:var(--nutui-noticebar-icon-gap, 4px)}
|
|
1
|
+
.nut-noticebar{width:100%}.nut-noticebar .nut-noticebar-box{position:relative;display:flex;align-items:center;height:var(--nutui-noticebar-height, 36px);padding:var(--nutui-noticebar-box-padding, 0 16px);font-size:var(--nutui-noticebar-font-size, var(--nutui-font-size-2, 12px));background:var(--nutui-noticebar-background, rgb(251, 248, 220));color:var(--nutui-noticebar-color, #d9500b);border-radius:var(--nutui-noticebar-border-radius, 0)}.nut-noticebar .nut-noticebar-box-wrapable,.nut-noticebar .nut-noticebar-box-center{height:auto;padding:var(--nutui-noticebar-wrapable-padding, 8px 16px)}.nut-noticebar .nut-noticebar-box-wrapable .nut-noticebar-box-wrap,.nut-noticebar .nut-noticebar-box-center .nut-noticebar-box-wrap{height:auto}.nut-noticebar .nut-noticebar-box-wrapable .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content{position:relative;white-space:normal;word-wrap:break-word}.nut-noticebar .nut-noticebar-box-center{justify-content:center}.nut-noticebar .nut-noticebar-box-center .nut-noticebar-box-wrap{flex:initial}.nut-noticebar .nut-noticebar-box-center .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content{position:relative;display:initial}.nut-noticebar .nut-noticebar-box-left-icon{display:flex;height:var(--nutui-noticebar-left-icon-width, 16px);min-width:var(--nutui-noticebar-left-icon-width, 16px);margin-right:var(--nutui-noticebar-icon-gap, 4px);background-size:100% 100%}.nut-noticebar .nut-noticebar-box-right-icon{display:flex;align-items:center;justify-content:center;width:var(--nutui-noticebar-right-icon-width, 16px);margin-left:var(--nutui-noticebar-icon-gap, 4px)}.nut-noticebar .nut-noticebar-box-right-icon .nut-icon{width:12px;height:12px}.nut-noticebar .nut-noticebar-box-wrap{display:flex;flex:1;height:var(--nutui-noticebar-line-height, 24px);line-height:var(--nutui-noticebar-line-height, 24px);overflow:hidden;position:relative}.nut-noticebar .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content{position:absolute;white-space:nowrap}.nut-noticebar .nut-noticebar-box-wrap .nut-noticebar-box-wrap-content.nut-ellipsis{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nut-noticebar .nut-noticebar-box .play{animation:nut-notice-bar-play linear both running}.nut-noticebar .nut-noticebar-box .play-infinite{animation:nut-notice-bar-play-infinite linear infinite both running}.nut-noticebar .nut-noticebar-box .play-vertical{animation:nut-notice-bar-play-vertical linear infinite both running}.nut-noticebar .nut-noticebar-vertical{position:relative;display:flex;justify-content:space-between;height:var(--nutui-noticebar-height, 36px);font-size:var(--nutui-noticebar-font-size, var(--nutui-font-size-2, 12px));overflow:hidden;padding:var(--nutui-noticebar-box-padding, 0 16px);background:var(--nutui-noticebar-background, rgb(251, 248, 220));color:var(--nutui-noticebar-color, #d9500b)}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-left-icon{height:var(--nutui-noticebar-left-icon-width, 16px);min-width:var(--nutui-noticebar-left-icon-width, 16px);margin:var(--nutui-noticebar-icon-gap, 4px);background-size:100% 100%;display:flex;align-self:center}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-horseLamp-list{margin:0;padding:0;display:block;flex:1}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-horseLamp-list-item{display:flex;align-items:center;height:var(--nutui-noticebar-height, 36px);width:100%}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-wrap{display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-right-icon{align-self:center;display:flex;justify-content:center;width:var(--nutui-noticebar-right-icon-width, 16px);margin-left:var(--nutui-noticebar-icon-gap, 4px)}@keyframes nut-notice-bar-play{to{transform:translate3d(-100%,0,0)}}@keyframes nut-notice-bar-play-infinite{to{transform:translate3d(-100%,0,0)}}@keyframes nut-notice-bar-play-vertical{to{transform:translateY(var(--nutui-noticebar-height, 36px))}}[dir=rtl] .nut-noticebar .nut-noticebar-box-left-icon,.nut-rtl .nut-noticebar .nut-noticebar-box-left-icon{margin-right:0;margin-left:var(--nutui-noticebar-icon-gap, 4px)}[dir=rtl] .nut-noticebar .nut-noticebar-box-right-icon,.nut-rtl .nut-noticebar .nut-noticebar-box-right-icon{margin-left:0;margin-right:var(--nutui-noticebar-icon-gap, 4px)}[dir=rtl] .nut-noticebar .nut-noticebar-box .play,.nut-rtl .nut-noticebar .nut-noticebar-box .play{animation:nut-notice-bar-play-rtl linear both running}[dir=rtl] .nut-noticebar .nut-noticebar-box .play-infinite,.nut-rtl .nut-noticebar .nut-noticebar-box .play-infinite{animation:nut-notice-bar-play-infinite-rtl linear infinite both running}@keyframes nut-notice-bar-play-rtl{to{transform:translate3d(100%,0,0)}}@keyframes nut-notice-bar-play-infinite-rtl{to{transform:translate3d(100%,0,0)}}[dir=rtl] .nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-right-icon,.nut-rtl .nut-noticebar .nut-noticebar-vertical .nut-noticebar-box-right-icon{margin-left:0;margin-right:var(--nutui-noticebar-icon-gap, 4px)}
|
package/dist/esm/NoticeBar.js
CHANGED
|
@@ -4,10 +4,10 @@ import classNames from "classnames";
|
|
|
4
4
|
import { g as getRect } from "./use-client-rect.js";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings.js";
|
|
6
6
|
import { useRtl } from "./ConfigProvider.js";
|
|
7
|
-
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { align: "left", direction: "horizontal", list: [], duration: 1e3, height: 40, content: "", closeable: false, wrap: false, leftIcon: React__default.createElement(Notice, { width: 16, height: 16 }), rightIcon: null, delay: 1, scrollable: null, speed: 50 });
|
|
7
|
+
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { align: "left", direction: "horizontal", list: [], duration: 1e3, height: 40, content: "", closeable: false, wrap: false, leftIcon: React__default.createElement(Notice, { width: 16, height: 16 }), rightIcon: null, right: null, delay: 1, scrollable: null, speed: 50 });
|
|
8
8
|
const NoticeBar = (props) => {
|
|
9
9
|
const rtl = useRtl();
|
|
10
|
-
const { children, className, style, align, direction, list, duration, height, content, closeable, wrap, leftIcon, rightIcon, delay, scrollable, speed, close, click, onClose, onClick, onItemClick } = Object.assign(Object.assign({}, defaultProps), props);
|
|
10
|
+
const { children, className, style, align, direction, list, duration, height, content, closeable, wrap, leftIcon, rightIcon, right, delay, scrollable, speed, close, click, onClose, onClick, onItemClick } = Object.assign(Object.assign({}, defaultProps), props);
|
|
11
11
|
const classPrefix = "nut-noticebar";
|
|
12
12
|
const wrapRef = useRef(null);
|
|
13
13
|
const contentRef = useRef(null);
|
|
@@ -315,6 +315,7 @@ const NoticeBar = (props) => {
|
|
|
315
315
|
content
|
|
316
316
|
)
|
|
317
317
|
),
|
|
318
|
+
right ? React__default.createElement("div", { className: "nut-noticebar-box-right" }, right) : null,
|
|
318
319
|
closeable || rightIcon ? React__default.createElement("div", { className: "nut-noticebar-box-right-icon", onClick: onClickIcon }, rightIcon || React__default.createElement(Close, { width: 12, height: 12 })) : null
|
|
319
320
|
) : null,
|
|
320
321
|
showNoticeBar && scrollList.current.length > 0 && isVertical ? React__default.createElement(
|
package/dist/esm/Row.js
CHANGED
|
@@ -12,13 +12,7 @@ const Row = (props) => {
|
|
|
12
12
|
return className2;
|
|
13
13
|
};
|
|
14
14
|
const getClasses = () => {
|
|
15
|
-
return
|
|
16
|
-
${getClass("", type)}
|
|
17
|
-
${getClass("justify", justify)}
|
|
18
|
-
${getClass("align", align)}
|
|
19
|
-
${getClass("flex", wrap)}
|
|
20
|
-
${classPrefix}
|
|
21
|
-
`;
|
|
15
|
+
return classNames(classPrefix, getClass("", type), getClass("justify", justify), getClass("align", align), getClass("flex", wrap));
|
|
22
16
|
};
|
|
23
17
|
const parentRow = {
|
|
24
18
|
gutter
|
package/dist/esm/Swiper.js
CHANGED
|
@@ -6,6 +6,7 @@ import { g as getRect } from "./use-client-rect.js";
|
|
|
6
6
|
import { I as Indicator } from "./indicator2.js";
|
|
7
7
|
import { u as useTouch } from "./use-touch.js";
|
|
8
8
|
import { r as requestAniFrame } from "./raf.js";
|
|
9
|
+
import { useRtl } from "./ConfigProvider.js";
|
|
9
10
|
import SwiperItem from "./SwiperItem.js";
|
|
10
11
|
const defaultProps = {
|
|
11
12
|
duration: 500,
|
|
@@ -21,6 +22,7 @@ const defaultProps = {
|
|
|
21
22
|
className: ""
|
|
22
23
|
};
|
|
23
24
|
const Swiper = React__default.forwardRef((props, ref) => {
|
|
25
|
+
const rtl = useRtl();
|
|
24
26
|
const mergedProps = Object.assign(Object.assign({}, defaultProps), props);
|
|
25
27
|
const { children, direction, className, onChange, defaultValue, indicator, touchable, preventDefault, stopPropagation, autoPlay, center } = mergedProps, rest = __rest(mergedProps, ["children", "direction", "className", "onChange", "defaultValue", "indicator", "touchable", "preventDefault", "stopPropagation", "autoPlay", "center"]);
|
|
26
28
|
const container = useRef(null);
|
|
@@ -213,7 +215,7 @@ const Swiper = React__default.forwardRef((props, ref) => {
|
|
|
213
215
|
target.style.transitionDuration = `${swiperRef.current.moving ? 0 : props.duration}ms`;
|
|
214
216
|
target.style[isVertical ? "height" : "width"] = `${Number(size) * swiperItemCount}px`;
|
|
215
217
|
target.style[isVertical ? "width" : "height"] = `${isVertical ? width : height}px`;
|
|
216
|
-
target.style.transform = `translate3D${!isVertical ? `(${_offset}px,0,0)` : `(0,${_offset}px,0)`}`;
|
|
218
|
+
target.style.transform = `translate3D${!isVertical ? `(${rtl ? -_offset : _offset}px,0,0)` : `(0,${_offset}px,0)`}`;
|
|
217
219
|
};
|
|
218
220
|
const onTouchStart = (e) => {
|
|
219
221
|
if (!props.touchable)
|
|
@@ -270,7 +272,7 @@ const Swiper = React__default.forwardRef((props, ref) => {
|
|
|
270
272
|
}
|
|
271
273
|
const offset2 = childOffset[index];
|
|
272
274
|
if (offset2) {
|
|
273
|
-
style.transform = `translate3D${direction === "horizontal" ? `(${offset2}px,0,0)` : `(0,${offset2}px,0)`}`;
|
|
275
|
+
style.transform = `translate3D${direction === "horizontal" ? `(${rtl ? -offset2 : offset2}px,0,0)` : `(0,${offset2}px,0)`}`;
|
|
274
276
|
}
|
|
275
277
|
return style;
|
|
276
278
|
};
|
package/dist/esm/button2.js
CHANGED
|
@@ -11,15 +11,15 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
11
11
|
const getStyle = useCallback(() => {
|
|
12
12
|
const style2 = {};
|
|
13
13
|
if (props.color) {
|
|
14
|
-
if (props.fill
|
|
14
|
+
if (props.fill === "outline" || props.fill === "dashed") {
|
|
15
15
|
style2.color = color;
|
|
16
|
-
style2.background = "#fff";
|
|
17
16
|
if (!(color === null || color === void 0 ? void 0 : color.includes("gradient"))) {
|
|
18
17
|
style2.borderColor = color;
|
|
19
18
|
}
|
|
20
19
|
} else {
|
|
21
20
|
style2.color = "#fff";
|
|
22
21
|
style2.background = color;
|
|
22
|
+
style2.borderColor = "transparent";
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
return style2;
|
package/dist/esm/menuitem2.js
CHANGED
|
@@ -63,11 +63,13 @@ const MenuItem = forwardRef((props, ref) => {
|
|
|
63
63
|
const getParentOffset = () => {
|
|
64
64
|
setTimeout(() => {
|
|
65
65
|
const p = parent.menuRef.current;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
if (p) {
|
|
67
|
+
const rect = p.getBoundingClientRect();
|
|
68
|
+
setPosition({
|
|
69
|
+
height: rect.height,
|
|
70
|
+
top: rect.top
|
|
71
|
+
});
|
|
72
|
+
}
|
|
71
73
|
});
|
|
72
74
|
};
|
|
73
75
|
useEffect(() => {
|
package/dist/locales/base.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/id-ID.js
CHANGED
package/dist/locales/tr-TR.js
CHANGED
package/dist/locales/zh-CN.js
CHANGED
package/dist/locales/zh-TW.js
CHANGED
package/dist/locales/zh-UG.js
CHANGED
package/dist/nutui.react.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react v2.4.
|
|
2
|
+
* @nutui/nutui-react v2.4.2 Wed Mar 20 2024 19:59:52 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1164,15 +1164,15 @@ const Button = React__default.forwardRef(
|
|
|
1164
1164
|
const getStyle = useCallback(() => {
|
|
1165
1165
|
const style2 = {};
|
|
1166
1166
|
if (props.color) {
|
|
1167
|
-
if (props.fill
|
|
1167
|
+
if (props.fill === "outline" || props.fill === "dashed") {
|
|
1168
1168
|
style2.color = color;
|
|
1169
|
-
style2.background = "#fff";
|
|
1170
1169
|
if (!(color == null ? void 0 : color.includes("gradient"))) {
|
|
1171
1170
|
style2.borderColor = color;
|
|
1172
1171
|
}
|
|
1173
1172
|
} else {
|
|
1174
1173
|
style2.color = "#fff";
|
|
1175
1174
|
style2.background = color;
|
|
1175
|
+
style2.borderColor = "transparent";
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
return style2;
|
|
@@ -4874,13 +4874,13 @@ const Row = (props) => {
|
|
|
4874
4874
|
return className2;
|
|
4875
4875
|
};
|
|
4876
4876
|
const getClasses = () => {
|
|
4877
|
-
return
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4877
|
+
return classNames(
|
|
4878
|
+
classPrefix$m,
|
|
4879
|
+
getClass("", type4),
|
|
4880
|
+
getClass("justify", justify),
|
|
4881
|
+
getClass("align", align),
|
|
4882
|
+
getClass("flex", wrap)
|
|
4883
|
+
);
|
|
4884
4884
|
};
|
|
4885
4885
|
const parentRow = {
|
|
4886
4886
|
gutter
|
|
@@ -5130,6 +5130,7 @@ const defaultProps$1i = {
|
|
|
5130
5130
|
duration: 1e3
|
|
5131
5131
|
};
|
|
5132
5132
|
const BackTop = (props) => {
|
|
5133
|
+
const rtl = useRtl();
|
|
5133
5134
|
const {
|
|
5134
5135
|
children,
|
|
5135
5136
|
target,
|
|
@@ -5215,7 +5216,7 @@ const BackTop = (props) => {
|
|
|
5215
5216
|
zIndex,
|
|
5216
5217
|
...style
|
|
5217
5218
|
} : {
|
|
5218
|
-
right: "10px",
|
|
5219
|
+
[rtl ? "left" : "right"]: "10px",
|
|
5219
5220
|
bottom: "20px",
|
|
5220
5221
|
zIndex
|
|
5221
5222
|
};
|
|
@@ -13413,14 +13414,11 @@ const CalendarCard = React__default.forwardRef((props, ref) => {
|
|
|
13413
13414
|
}
|
|
13414
13415
|
return range3 ? [convertDayToDate(range3)] : [];
|
|
13415
13416
|
};
|
|
13416
|
-
const [innerValue, setInnerValue] =
|
|
13417
|
-
|
|
13418
|
-
|
|
13417
|
+
const [innerValue, setInnerValue] = usePropsValue({
|
|
13418
|
+
value: value ? valueToRange(value) : void 0,
|
|
13419
|
+
defaultValue: defaultValue ? valueToRange(defaultValue) : void 0,
|
|
13420
|
+
finalValue: []
|
|
13419
13421
|
});
|
|
13420
|
-
useEffect(() => {
|
|
13421
|
-
const val = value || defaultValue ? valueToRange(value || defaultValue) : [];
|
|
13422
|
-
setInnerValue(val);
|
|
13423
|
-
}, [value]);
|
|
13424
13422
|
const change = (v) => {
|
|
13425
13423
|
setInnerValue(v);
|
|
13426
13424
|
if (type4 === "single") {
|
|
@@ -16799,11 +16797,13 @@ const MenuItem = forwardRef((props, ref) => {
|
|
|
16799
16797
|
const getParentOffset = () => {
|
|
16800
16798
|
setTimeout(() => {
|
|
16801
16799
|
const p = parent.menuRef.current;
|
|
16802
|
-
|
|
16803
|
-
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16800
|
+
if (p) {
|
|
16801
|
+
const rect = p.getBoundingClientRect();
|
|
16802
|
+
setPosition({
|
|
16803
|
+
height: rect.height,
|
|
16804
|
+
top: rect.top
|
|
16805
|
+
});
|
|
16806
|
+
}
|
|
16807
16807
|
});
|
|
16808
16808
|
};
|
|
16809
16809
|
useEffect(() => {
|
|
@@ -19958,6 +19958,7 @@ const defaultProps$z = {
|
|
|
19958
19958
|
wrap: false,
|
|
19959
19959
|
leftIcon: /* @__PURE__ */ React__default.createElement(r, { width: 16, height: 16 }),
|
|
19960
19960
|
rightIcon: null,
|
|
19961
|
+
right: null,
|
|
19961
19962
|
delay: 1,
|
|
19962
19963
|
scrollable: null,
|
|
19963
19964
|
speed: 50
|
|
@@ -19978,6 +19979,7 @@ const NoticeBar = (props) => {
|
|
|
19978
19979
|
wrap,
|
|
19979
19980
|
leftIcon,
|
|
19980
19981
|
rightIcon,
|
|
19982
|
+
right,
|
|
19981
19983
|
delay,
|
|
19982
19984
|
scrollable,
|
|
19983
19985
|
speed,
|
|
@@ -20293,7 +20295,7 @@ const NoticeBar = (props) => {
|
|
|
20293
20295
|
},
|
|
20294
20296
|
children,
|
|
20295
20297
|
content
|
|
20296
|
-
)), closeable || rightIcon ? /* @__PURE__ */ React__default.createElement("div", { className: "nut-noticebar-box-right-icon", onClick: onClickIcon }, rightIcon || /* @__PURE__ */ React__default.createElement(r$2, { width: 12, height: 12 })) : null) : null, showNoticeBar && scrollList.current.length > 0 && isVertical ? /* @__PURE__ */ React__default.createElement(
|
|
20298
|
+
)), right ? /* @__PURE__ */ React__default.createElement("div", { className: "nut-noticebar-box-right" }, right) : null, closeable || rightIcon ? /* @__PURE__ */ React__default.createElement("div", { className: "nut-noticebar-box-right-icon", onClick: onClickIcon }, rightIcon || /* @__PURE__ */ React__default.createElement(r$2, { width: 12, height: 12 })) : null) : null, showNoticeBar && scrollList.current.length > 0 && isVertical ? /* @__PURE__ */ React__default.createElement(
|
|
20297
20299
|
"div",
|
|
20298
20300
|
{
|
|
20299
20301
|
className: "nut-noticebar-vertical",
|
|
@@ -22794,6 +22796,7 @@ const defaultProps$h = {
|
|
|
22794
22796
|
className: ""
|
|
22795
22797
|
};
|
|
22796
22798
|
const Swiper = React__default.forwardRef((props, ref) => {
|
|
22799
|
+
const rtl = useRtl();
|
|
22797
22800
|
const mergedProps = { ...defaultProps$h, ...props };
|
|
22798
22801
|
const {
|
|
22799
22802
|
children,
|
|
@@ -23004,7 +23007,7 @@ const Swiper = React__default.forwardRef((props, ref) => {
|
|
|
23004
23007
|
target.style.transitionDuration = `${swiperRef.current.moving ? 0 : props.duration}ms`;
|
|
23005
23008
|
target.style[isVertical ? "height" : "width"] = `${Number(size) * swiperItemCount}px`;
|
|
23006
23009
|
target.style[isVertical ? "width" : "height"] = `${isVertical ? width : height}px`;
|
|
23007
|
-
target.style.transform = `translate3D${!isVertical ? `(${_offset}px,0,0)` : `(0,${_offset}px,0)`}`;
|
|
23010
|
+
target.style.transform = `translate3D${!isVertical ? `(${rtl ? -_offset : _offset}px,0,0)` : `(0,${_offset}px,0)`}`;
|
|
23008
23011
|
};
|
|
23009
23012
|
const onTouchStart = (e2) => {
|
|
23010
23013
|
if (!props.touchable)
|
|
@@ -23063,7 +23066,7 @@ const Swiper = React__default.forwardRef((props, ref) => {
|
|
|
23063
23066
|
}
|
|
23064
23067
|
const offset2 = childOffset[index];
|
|
23065
23068
|
if (offset2) {
|
|
23066
|
-
style.transform = `translate3D${direction === "horizontal" ? `(${offset2}px,0,0)` : `(0,${offset2}px,0)`}`;
|
|
23069
|
+
style.transform = `translate3D${direction === "horizontal" ? `(${rtl ? -offset2 : offset2}px,0,0)` : `(0,${offset2}px,0)`}`;
|
|
23067
23070
|
}
|
|
23068
23071
|
return style;
|
|
23069
23072
|
};
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory((global2.nutui = global2.nutui || {}, global2.nutui.react = {}), global2.React, global2.ReactDOM));
|
|
3
3
|
})(this, function(exports2, React, ReactDOM) {
|
|
4
4
|
"use strict";/*!
|
|
5
|
-
* @nutui/nutui-react v2.4.
|
|
5
|
+
* @nutui/nutui-react v2.4.2 Wed Mar 20 2024 19:59:52 GMT+0800 (China Standard Time)
|
|
6
6
|
* (c) 2023 @jdf2e.
|
|
7
7
|
* Released under the MIT License.
|
|
8
8
|
*/
|
|
@@ -1182,15 +1182,15 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
1182
1182
|
const getStyle = React.useCallback(() => {
|
|
1183
1183
|
const style2 = {};
|
|
1184
1184
|
if (props.color) {
|
|
1185
|
-
if (props.fill
|
|
1185
|
+
if (props.fill === "outline" || props.fill === "dashed") {
|
|
1186
1186
|
style2.color = color;
|
|
1187
|
-
style2.background = "#fff";
|
|
1188
1187
|
if (!(color == null ? void 0 : color.includes("gradient"))) {
|
|
1189
1188
|
style2.borderColor = color;
|
|
1190
1189
|
}
|
|
1191
1190
|
} else {
|
|
1192
1191
|
style2.color = "#fff";
|
|
1193
1192
|
style2.background = color;
|
|
1193
|
+
style2.borderColor = "transparent";
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
return style2;
|
|
@@ -4892,13 +4892,13 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4892
4892
|
return className2;
|
|
4893
4893
|
};
|
|
4894
4894
|
const getClasses = () => {
|
|
4895
|
-
return
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4895
|
+
return classNames(
|
|
4896
|
+
classPrefix$m,
|
|
4897
|
+
getClass("", type2),
|
|
4898
|
+
getClass("justify", justify),
|
|
4899
|
+
getClass("align", align),
|
|
4900
|
+
getClass("flex", wrap)
|
|
4901
|
+
);
|
|
4902
4902
|
};
|
|
4903
4903
|
const parentRow = {
|
|
4904
4904
|
gutter
|
|
@@ -5148,6 +5148,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5148
5148
|
duration: 1e3
|
|
5149
5149
|
};
|
|
5150
5150
|
const BackTop = (props) => {
|
|
5151
|
+
const rtl = useRtl();
|
|
5151
5152
|
const {
|
|
5152
5153
|
children,
|
|
5153
5154
|
target,
|
|
@@ -5233,7 +5234,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5233
5234
|
zIndex,
|
|
5234
5235
|
...style
|
|
5235
5236
|
} : {
|
|
5236
|
-
right: "10px",
|
|
5237
|
+
[rtl ? "left" : "right"]: "10px",
|
|
5237
5238
|
bottom: "20px",
|
|
5238
5239
|
zIndex
|
|
5239
5240
|
};
|
|
@@ -13431,14 +13432,11 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
13431
13432
|
}
|
|
13432
13433
|
return range2 ? [convertDayToDate(range2)] : [];
|
|
13433
13434
|
};
|
|
13434
|
-
const [innerValue, setInnerValue] =
|
|
13435
|
-
|
|
13436
|
-
|
|
13435
|
+
const [innerValue, setInnerValue] = usePropsValue({
|
|
13436
|
+
value: value ? valueToRange(value) : void 0,
|
|
13437
|
+
defaultValue: defaultValue ? valueToRange(defaultValue) : void 0,
|
|
13438
|
+
finalValue: []
|
|
13437
13439
|
});
|
|
13438
|
-
React.useEffect(() => {
|
|
13439
|
-
const val = value || defaultValue ? valueToRange(value || defaultValue) : [];
|
|
13440
|
-
setInnerValue(val);
|
|
13441
|
-
}, [value]);
|
|
13442
13440
|
const change = (v) => {
|
|
13443
13441
|
setInnerValue(v);
|
|
13444
13442
|
if (type2 === "single") {
|
|
@@ -16817,11 +16815,13 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
16817
16815
|
const getParentOffset = () => {
|
|
16818
16816
|
setTimeout(() => {
|
|
16819
16817
|
const p = parent.menuRef.current;
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
|
|
16818
|
+
if (p) {
|
|
16819
|
+
const rect = p.getBoundingClientRect();
|
|
16820
|
+
setPosition({
|
|
16821
|
+
height: rect.height,
|
|
16822
|
+
top: rect.top
|
|
16823
|
+
});
|
|
16824
|
+
}
|
|
16825
16825
|
});
|
|
16826
16826
|
};
|
|
16827
16827
|
React.useEffect(() => {
|
|
@@ -19976,6 +19976,7 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
19976
19976
|
wrap: false,
|
|
19977
19977
|
leftIcon: /* @__PURE__ */ React.createElement(r, { width: 16, height: 16 }),
|
|
19978
19978
|
rightIcon: null,
|
|
19979
|
+
right: null,
|
|
19979
19980
|
delay: 1,
|
|
19980
19981
|
scrollable: null,
|
|
19981
19982
|
speed: 50
|
|
@@ -19996,6 +19997,7 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
19996
19997
|
wrap,
|
|
19997
19998
|
leftIcon,
|
|
19998
19999
|
rightIcon,
|
|
20000
|
+
right,
|
|
19999
20001
|
delay,
|
|
20000
20002
|
scrollable,
|
|
20001
20003
|
speed,
|
|
@@ -20311,7 +20313,7 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
20311
20313
|
},
|
|
20312
20314
|
children,
|
|
20313
20315
|
content
|
|
20314
|
-
)), closeable || rightIcon ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-right-icon", onClick: onClickIcon }, rightIcon || /* @__PURE__ */ React.createElement(r$2, { width: 12, height: 12 })) : null) : null, showNoticeBar && scrollList.current.length > 0 && isVertical ? /* @__PURE__ */ React.createElement(
|
|
20316
|
+
)), right ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-right" }, right) : null, closeable || rightIcon ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-right-icon", onClick: onClickIcon }, rightIcon || /* @__PURE__ */ React.createElement(r$2, { width: 12, height: 12 })) : null) : null, showNoticeBar && scrollList.current.length > 0 && isVertical ? /* @__PURE__ */ React.createElement(
|
|
20315
20317
|
"div",
|
|
20316
20318
|
{
|
|
20317
20319
|
className: "nut-noticebar-vertical",
|
|
@@ -22812,6 +22814,7 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
22812
22814
|
className: ""
|
|
22813
22815
|
};
|
|
22814
22816
|
const Swiper = React.forwardRef((props, ref) => {
|
|
22817
|
+
const rtl = useRtl();
|
|
22815
22818
|
const mergedProps = { ...defaultProps$h, ...props };
|
|
22816
22819
|
const {
|
|
22817
22820
|
children,
|
|
@@ -23022,7 +23025,7 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
23022
23025
|
target.style.transitionDuration = `${swiperRef.current.moving ? 0 : props.duration}ms`;
|
|
23023
23026
|
target.style[isVertical ? "height" : "width"] = `${Number(size) * swiperItemCount}px`;
|
|
23024
23027
|
target.style[isVertical ? "width" : "height"] = `${isVertical ? width : height}px`;
|
|
23025
|
-
target.style.transform = `translate3D${!isVertical ? `(${_offset}px,0,0)` : `(0,${_offset}px,0)`}`;
|
|
23028
|
+
target.style.transform = `translate3D${!isVertical ? `(${rtl ? -_offset : _offset}px,0,0)` : `(0,${_offset}px,0)`}`;
|
|
23026
23029
|
};
|
|
23027
23030
|
const onTouchStart = (e2) => {
|
|
23028
23031
|
if (!props.touchable)
|
|
@@ -23081,7 +23084,7 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
23081
23084
|
}
|
|
23082
23085
|
const offset2 = childOffset[index];
|
|
23083
23086
|
if (offset2) {
|
|
23084
|
-
style.transform = `translate3D${direction === "horizontal" ? `(${offset2}px,0,0)` : `(0,${offset2}px,0)`}`;
|
|
23087
|
+
style.transform = `translate3D${direction === "horizontal" ? `(${rtl ? -offset2 : offset2}px,0,0)` : `(0,${offset2}px,0)`}`;
|
|
23085
23088
|
}
|
|
23086
23089
|
return style;
|
|
23087
23090
|
};
|