@nutui/nutui-react 1.3.1 → 1.3.2-beta.0

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/esm/ActionSheet.js +10 -9
  3. package/dist/esm/Address.js +1 -1
  4. package/dist/esm/Badge.js +3 -3
  5. package/dist/esm/ConfigProvider.js +6 -0
  6. package/dist/esm/Elevator.js +38 -52
  7. package/dist/esm/Menu.js +26 -10
  8. package/dist/esm/NoticeBar.js +1 -1
  9. package/dist/esm/Picker.js +125 -49
  10. package/dist/esm/PullToRefresh/style/index.js +2 -0
  11. package/dist/esm/PullToRefresh.js +367 -0
  12. package/dist/esm/Radio.js +2 -0
  13. package/dist/esm/nutui-react.es.js +1 -0
  14. package/dist/locales/base.d.ts +6 -0
  15. package/dist/locales/base.js +1 -1
  16. package/dist/locales/en-US.js +7 -1
  17. package/dist/locales/id-ID.js +7 -1
  18. package/dist/locales/zh-CN.js +7 -1
  19. package/dist/locales/zh-TW.js +7 -1
  20. package/dist/nutui.react.es.js +10578 -9765
  21. package/dist/nutui.react.umd.js +10577 -9763
  22. package/dist/packages/actionsheet/actionsheet.scss +2 -0
  23. package/dist/packages/elevator/elevator.scss +1 -0
  24. package/dist/packages/pulltorefresh/pulltorefresh.scss +18 -0
  25. package/dist/style.css +1 -1
  26. package/dist/style.es.js +1 -1
  27. package/dist/styles/themes/default.scss +1 -0
  28. package/dist/types/actionsheet/__test__/actionsheet.spec.d.ts +1 -0
  29. package/dist/types/actionsheet/actionsheet.d.ts +2 -2
  30. package/dist/types/actionsheet/actionsheet.taro.d.ts +2 -2
  31. package/dist/types/badge/__test__/badge.spec.d.ts +1 -0
  32. package/dist/types/checkbox/checkbox.taro.d.ts +1 -1
  33. package/dist/types/elevator/elevator.d.ts +2 -2
  34. package/dist/types/elevator/elevator.taro.d.ts +2 -2
  35. package/dist/types/noticebar/__test__/noticebar.spec.d.ts +1 -0
  36. package/dist/types/nutui.react.d.ts +3 -1
  37. package/dist/types/picker/pickerSlot.d.ts +4 -1
  38. package/dist/types/picker/pickerSlot.taro.d.ts +16 -0
  39. package/dist/types/popup/popup.taro.d.ts +1 -1
  40. package/dist/types/pulltorefresh/__test__/pulltorefresh.spec.d.ts +1 -0
  41. package/dist/types/pulltorefresh/demo.d.ts +3 -0
  42. package/dist/types/pulltorefresh/index.d.ts +2 -0
  43. package/dist/types/pulltorefresh/index.taro.d.ts +2 -0
  44. package/dist/types/pulltorefresh/pulltorefresh.d.ts +18 -0
  45. package/dist/types/pulltorefresh/pulltorefresh.taro.d.ts +18 -0
  46. package/dist/types/radio/__test__/radio.spec.d.ts +1 -0
  47. package/dist/types/radio/radio.taro.d.ts +1 -1
  48. package/dist/types/radiogroup/index.taro.d.ts +1 -1
  49. package/dist/types/radiogroup/radiogroup.taro.d.ts +11 -0
  50. package/dist/types/range/__test__/range.spec.d.ts +1 -0
  51. package/dist/types/searchbar/__tests__/searchbar.spec.d.ts +1 -0
  52. package/dist/types/timeselect/timeselect.taro.d.ts +1 -1
  53. package/package.json +2 -3
@@ -1,5 +1,7 @@
1
1
  .nut-actionsheet {
2
2
  display: block;
3
+ padding-bottom: constant(safe-area-inset-bottom);
4
+ padding-bottom: env(safe-area-inset-bottom);
3
5
  .nut-actionsheet__title {
4
6
  display: block;
5
7
  padding: 10px;
@@ -97,6 +97,7 @@
97
97
  &--active {
98
98
  color: $elevator-list-item-bars-inner-item-active-color;
99
99
  }
100
+ cursor: pointer;
100
101
  }
101
102
  }
102
103
  }
@@ -0,0 +1,18 @@
1
+ .nut-pulltorefresh {
2
+ &-head {
3
+ overflow: hidden;
4
+ position: relative;
5
+ font-size: 14px;
6
+
7
+ &-content {
8
+ position: absolute;
9
+ bottom: 0;
10
+ left: 0;
11
+ width: 100%;
12
+ color: #000;
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ }
17
+ }
18
+ }