@yup/taro-ui 0.1.0 → 1.1.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 (62) hide show
  1. package/README.md +220 -6
  2. package/es/_virtual/_rollupPluginBabelHelpers.js +3 -1
  3. package/es/components/avatar/index.d.ts +18 -0
  4. package/es/components/avatar/index.js +1 -0
  5. package/es/components/avatar/style/index.css +28 -0
  6. package/es/components/avatar/style/index.d.ts +2 -0
  7. package/es/components/avatar/style/index.js +2 -0
  8. package/es/components/button/style/index.css +79 -61
  9. package/es/components/city-selector/hooks/useLevel2Multiple.d.ts +24 -0
  10. package/es/components/city-selector/hooks/useLevel2Multiple.js +1 -0
  11. package/es/components/city-selector/hooks/useLevel2Single.d.ts +19 -0
  12. package/es/components/city-selector/hooks/useLevel2Single.js +1 -0
  13. package/es/components/city-selector/hooks/useMultiple.d.ts +28 -0
  14. package/es/components/city-selector/hooks/useMultiple.js +1 -0
  15. package/es/components/city-selector/hooks/useSingle.d.ts +23 -0
  16. package/es/components/city-selector/hooks/useSingle.js +1 -0
  17. package/es/components/city-selector/index.d.ts +5 -0
  18. package/es/components/city-selector/index.js +1 -0
  19. package/es/components/city-selector/style/index.css +153 -0
  20. package/es/components/city-selector/style/index.d.ts +2 -0
  21. package/es/components/city-selector/util.d.ts +2 -0
  22. package/es/components/city-selector/util.js +1 -0
  23. package/es/components/dialog/context.d.ts +4 -0
  24. package/es/components/dialog/index.d.ts +31 -0
  25. package/es/components/dialog/index.js +1 -0
  26. package/es/components/dialog/style/index.css +113 -0
  27. package/es/components/dialog/style/index.d.ts +2 -0
  28. package/es/components/dialog/style/index.js +2 -0
  29. package/es/components/icon/index.js +1 -1
  30. package/es/components/icon/style/iconfont.css +16 -4
  31. package/es/components/input/style/index.css +19 -19
  32. package/es/components/media-uploader/index.d.ts +123 -0
  33. package/es/components/media-uploader/index.js +1 -0
  34. package/es/components/media-uploader/style/index.css +93 -0
  35. package/es/components/media-uploader/style/index.d.ts +2 -0
  36. package/es/components/media-uploader/style/index.js +2 -0
  37. package/es/components/picker-view/style/index.css +3 -3
  38. package/es/components/popup/style/index.css +3 -3
  39. package/es/components/radio/style/index.css +54 -0
  40. package/es/components/radio/style/index.d.ts +1 -2
  41. package/es/components/radio/style/index.js +1 -2
  42. package/es/components/switch/index.d.ts +12 -2
  43. package/es/components/switch/index.js +1 -1
  44. package/es/components/switch/style/index.css +40 -33
  45. package/es/components/tag/index.d.ts +18 -0
  46. package/es/components/tag/index.js +1 -0
  47. package/es/components/tag/style/index.css +92 -0
  48. package/es/components/tag/style/index.d.ts +2 -0
  49. package/es/components/tag/style/index.js +2 -0
  50. package/es/global/global.css +3 -0
  51. package/es/global/theme-default.css +3 -0
  52. package/es/index.d.ts +20 -0
  53. package/es/index.js +1 -1
  54. package/es/style/index.css +800 -84
  55. package/es/utils/is.js +1 -1
  56. package/package.json +7 -6
  57. package/es/components/icon/style/iconfont.ttf +0 -0
  58. package/es/components/icon/style/iconfont.woff +0 -0
  59. package/es/components/icon/style/iconfont.woff2 +0 -0
  60. package/es/style/iconfont.ttf +0 -0
  61. package/es/style/iconfont.woff +0 -0
  62. package/es/style/iconfont.woff2 +0 -0
package/es/utils/is.js CHANGED
@@ -1 +1 @@
1
- var t=function(t){var o;return((null==Object||null===(o=Object.prototype)||void 0===o||null===(o=o.toString)||void 0===o||null===(o=o.call(t))||void 0===o?void 0:o.match(/^\[object\s(.*)\]$/))||[])[1]};function o(o){return"number"===t(o).toLowerCase()}export{t as getTypeChar,o as isNumber};
1
+ var o=function(o){var t;return((null==Object||null===(t=Object.prototype)||void 0===t||null===(t=t.toString)||void 0===t||null===(t=t.call(o))||void 0===t?void 0:t.match(/^\[object\s(.*)\]$/))||[])[1]};function t(t){return"number"===o(t).toLowerCase()}function n(t){return"promise"===o(t).toLowerCase()}export{o as getTypeChar,t as isNumber,n as isPromise};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yup/taro-ui",
3
- "version": "0.1.0",
3
+ "version": "1.1.0",
4
4
  "description": "鱼泡 Taro UI组件库",
5
5
  "type": "module",
6
6
  "main": "es/index.js",
@@ -66,8 +66,7 @@
66
66
  "@tarojs/react": "3.6.37",
67
67
  "@tarojs/runtime": "3.6.37",
68
68
  "@tarojs/taro": "3.6.37",
69
- "@tarojs/taro-h5": "3.6.37",
70
- "@types/minimatch": "5.1.2",
69
+ "@tarojs/taro-h5": "^4.1.9",
71
70
  "@types/node-sass": "^4.11.8",
72
71
  "@yangzw/bruce-std": "^1.3.6",
73
72
  "@yup/taro-checkbox": "^0.17.0",
@@ -100,6 +99,7 @@
100
99
  "less-plugin-autoprefix": "^2.0.0",
101
100
  "lint-staged": "^13.0.3",
102
101
  "prettier": "^2.7.1",
102
+ "react-dom": "18.3.1",
103
103
  "rimraf": "^6.1.0",
104
104
  "rollup-plugin-copy": "^3.5.0",
105
105
  "rollup-plugin-ignore": "^1.0.10",
@@ -114,13 +114,14 @@
114
114
  "stylelint-webpack-plugin": "^5.0.1",
115
115
  "tslib": "^2.6.3",
116
116
  "typescript": "^5.5.4",
117
- "typescript-eslint": "^8.2.0"
117
+ "typescript-eslint": "^8.2.0",
118
+ "webpack": "^5.104.1"
118
119
  },
119
120
  "peerDependencies": {
120
121
  "@tarojs/components": "3.6.37",
121
122
  "@tarojs/taro": "3.6.37",
122
- "react": "^18.2.0",
123
- "react-dom": "^18.2.0"
123
+ "react": "^18.3.1",
124
+ "react-dom": "^18.3.1"
124
125
  },
125
126
  "dependencies": {
126
127
  "classnames": "^2.3.2",
Binary file
Binary file
Binary file