@hero-design/rn-work-uikit 1.2.3 → 1.3.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/babel.config.js +6 -0
  3. package/lib/index.js +46464 -1337
  4. package/package.json +8 -5
  5. package/rollup.config.mjs +20 -5
  6. package/src/__tests__/index-export.spec.ts +64 -0
  7. package/src/__tests__/index.spec.tsx +0 -19
  8. package/src/components/DatePicker/__tests__/__snapshots__/index.spec.tsx.snap +1602 -0
  9. package/src/components/DatePicker/__tests__/index.spec.tsx +56 -0
  10. package/src/components/DatePicker/index.tsx +12 -0
  11. package/src/components/Select/__tests__/__snapshots__/index.spec.tsx.snap +1293 -0
  12. package/src/components/Select/__tests__/index.spec.tsx +43 -0
  13. package/src/components/Select/index.tsx +23 -0
  14. package/src/components/TextInput/Group/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
  15. package/src/components/TextInput/PrefixComponent.tsx +4 -4
  16. package/src/components/TextInput/StyledTextInput.tsx +6 -3
  17. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +130 -34
  18. package/src/components/TimePicker/__tests__/index.spec.tsx +34 -0
  19. package/src/components/TimePicker/index.tsx +12 -0
  20. package/src/hero-editor.d.ts +8 -0
  21. package/src/index.ts +4 -1
  22. package/src/utils/functions.ts +2 -0
  23. package/stats/1.3.0/rn-work-uikit-stats.html +4842 -0
  24. package/stats/1.3.1/rn-work-uikit-stats.html +4844 -0
  25. package/tsconfig.json +9 -3
  26. package/tsconfig.rollup.json +8 -2
  27. package/src/__tests__/__snapshots__/index.spec.tsx.snap +0 -172
  28. package/src/__tests__/theme-export-override.spec.ts +0 -96
  29. package/stats/1.2.3/rn-work-uikit-stats.html +0 -4842
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @hero-design/rn-work-uikit
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4062](https://github.com/Thinkei/hero-design/pull/4062) [`805b3e4f0222ed1e62c0feb2d3de4c42afe2012b`](https://github.com/Thinkei/hero-design/commit/805b3e4f0222ed1e62c0feb2d3de4c42afe2012b) Thanks [@ttkien](https://github.com/ttkien)! - [TimePicker][datepicker] apply new TextInput
8
+
9
+ - Updated dependencies [[`2e911c0297496b281a54bad63c5e60ee75bc8d81`](https://github.com/Thinkei/hero-design/commit/2e911c0297496b281a54bad63c5e60ee75bc8d81), [`805b3e4f0222ed1e62c0feb2d3de4c42afe2012b`](https://github.com/Thinkei/hero-design/commit/805b3e4f0222ed1e62c0feb2d3de4c42afe2012b)]:
10
+ - @hero-design/rn@8.103.4
11
+
12
+ ## 1.3.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#4057](https://github.com/Thinkei/hero-design/pull/4057) [`d325c8ec38c827e494e078e3732a232b966f2dc6`](https://github.com/Thinkei/hero-design/commit/d325c8ec38c827e494e078e3732a232b966f2dc6) Thanks [@ttkien](https://github.com/ttkien)! - [Select] Apply new TextInput
17
+
3
18
  ## 1.2.3
4
19
 
5
20
  ### Patch Changes
package/babel.config.js CHANGED
@@ -1,3 +1,7 @@
1
+ const alias = {
2
+ '@hero-design/rn': '../rn/src/index.internal.ts'
3
+ };
4
+
1
5
  module.exports = function (api) {
2
6
  const isFromRollup = api.caller(
3
7
  (caller) => caller && caller.name === '@rollup/plugin-babel'
@@ -17,6 +21,7 @@ module.exports = function (api) {
17
21
  extensions: ['hero-editor/dist/app.js'],
18
22
  },
19
23
  ],
24
+ ['module-resolver', { alias }],
20
25
  ],
21
26
  };
22
27
  }
@@ -33,6 +38,7 @@ module.exports = function (api) {
33
38
  extensions: ['hero-editor/dist/app.js'],
34
39
  },
35
40
  ],
41
+ ['module-resolver', { alias }],
36
42
  ],
37
43
  };
38
44
  };