@react-native-ohos/react-native-svg 15.12.1-rc.1 → 15.12.1-rc.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.
Files changed (83) hide show
  1. package/LICENSE +21 -21
  2. package/README.OpenSource +10 -10
  3. package/README.md +13 -13
  4. package/css/package.json +5 -5
  5. package/harmony/svg/BuildProfile.ets +16 -16
  6. package/harmony/svg/build-profile.json5 +9 -9
  7. package/harmony/svg/hvigorfile.ts +1 -1
  8. package/harmony/svg/index.ets +6 -6
  9. package/harmony/svg/oh-package.json5 +13 -13
  10. package/harmony/svg/src/main/cpp/SvgFilter.cpp +505 -505
  11. package/harmony/svg/src/main/cpp/SvgFilter.h +112 -112
  12. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeBlendComponentInstance.cpp +40 -40
  13. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeBlendComponentInstance.h +48 -48
  14. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeColorMatrixComponentInstance.cpp +33 -33
  15. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeColorMatrixComponentInstance.h +48 -48
  16. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeCompositeComponentInstance.cpp +39 -39
  17. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeCompositeComponentInstance.h +55 -55
  18. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeFloodComponentInstance.cpp +33 -33
  19. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeFloodComponentInstance.h +49 -49
  20. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeGaussianBlurComponentInstance.cpp +34 -34
  21. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeGaussianBlurComponentInstance.h +48 -48
  22. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeOffsetComponentInstance.cpp +35 -35
  23. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeOffsetComponentInstance.h +45 -45
  24. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFilterComponentInstance.cpp +198 -198
  25. package/harmony/svg/src/main/cpp/componentInstances/RNSVGFilterComponentInstance.h +48 -48
  26. package/harmony/svg/src/main/cpp/componentInstances/RNSVGImageComponentInstance.cpp +4 -1
  27. package/harmony/svg/src/main/cpp/downloadUtils/ImageSourceResolver.cpp +36 -15
  28. package/harmony/svg/src/main/cpp/downloadUtils/ImageSourceResolver.h +6 -10
  29. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeBlendJSIBinder.h +26 -26
  30. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeColorMatrixJSIBinder.h +26 -26
  31. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeCompositeJSIBinder.h +30 -30
  32. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeFloodJSIBinder.h +26 -26
  33. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeGaussianBlurJSIBinder.h +26 -26
  34. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeOffsetJSIBinder.h +26 -26
  35. package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFilterJSIBinder.h +44 -44
  36. package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/Props.cpp +977 -977
  37. package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/Props.h +1280 -1280
  38. package/harmony/svg/src/main/cpp/utils/DynamicUtils.h +55 -55
  39. package/harmony/svg/src/main/cpp/utils/FilterManager.h +190 -190
  40. package/harmony/svg/src/main/ets/RNSVGImageModule.ts +21 -21
  41. package/harmony/svg/src/main/ets/RNSVGRenderableModule.ts +16 -16
  42. package/harmony/svg/src/main/ets/RNSVGSvgViewModule.ts +18 -18
  43. package/harmony/svg/src/main/ets/SvgPackage.ts +57 -57
  44. package/harmony/svg/src/main/module.json5 +7 -7
  45. package/harmony/svg/src/main/resources/base/element/string.json +8 -8
  46. package/harmony/svg/src/main/resources/en_US/element/string.json +8 -8
  47. package/harmony/svg/src/main/resources/zh_CN/element/string.json +8 -8
  48. package/harmony/svg/ts.ts +7 -7
  49. package/harmony/svg.har +0 -0
  50. package/lib/commonjs/css/index.js +54 -54
  51. package/lib/commonjs/index.js +25 -25
  52. package/lib/module/css/index.js +3 -3
  53. package/lib/module/index.js +2 -2
  54. package/package.json +52 -54
  55. package/src/css/index.tsx +19 -19
  56. package/src/index.tsx +2 -2
  57. package/tsconfig.json +11 -11
  58. package/lib/typescript/babel.config.d.ts +0 -8
  59. package/lib/typescript/babel.config.d.ts.map +0 -1
  60. package/lib/typescript/example/babel.config.d.ts +0 -3
  61. package/lib/typescript/example/babel.config.d.ts.map +0 -1
  62. package/lib/typescript/example/contexts.d.ts +0 -3
  63. package/lib/typescript/example/contexts.d.ts.map +0 -1
  64. package/lib/typescript/example/harmony/entry/hvigorfile.d.ts +0 -2
  65. package/lib/typescript/example/harmony/entry/hvigorfile.d.ts.map +0 -1
  66. package/lib/typescript/example/harmony/hvigorfile.d.ts +0 -2
  67. package/lib/typescript/example/harmony/hvigorfile.d.ts.map +0 -1
  68. package/lib/typescript/example/index.d.ts +0 -2
  69. package/lib/typescript/example/index.d.ts.map +0 -1
  70. package/lib/typescript/example/jest.config.d.ts +0 -3
  71. package/lib/typescript/example/jest.config.d.ts.map +0 -1
  72. package/lib/typescript/example/metro.config.d.ts +0 -3
  73. package/lib/typescript/example/metro.config.d.ts.map +0 -1
  74. package/lib/typescript/example/react-native.config.d.ts +0 -3
  75. package/lib/typescript/example/react-native.config.d.ts.map +0 -1
  76. package/lib/typescript/example/scripts/create-build-profile.d.ts +0 -2
  77. package/lib/typescript/example/scripts/create-build-profile.d.ts.map +0 -1
  78. package/lib/typescript/example/src/index.d.ts +0 -3
  79. package/lib/typescript/example/src/index.d.ts.map +0 -1
  80. package/lib/typescript/src/css/index.d.ts +0 -4
  81. package/lib/typescript/src/css/index.d.ts.map +0 -1
  82. package/lib/typescript/src/index.d.ts +0 -3
  83. package/lib/typescript/src/index.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-native.config.d.ts","sourceRoot":"","sources":["../../../example/react-native.config.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=create-build-profile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-build-profile.d.ts","sourceRoot":"","sources":["../../../../example/scripts/create-build-profile.js"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export default function App(): React.JSX.Element;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../example/src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,OAAO,UAAU,GAAG,sBAQ1B"}
@@ -1,4 +0,0 @@
1
- import { SvgCss, SvgCssUri, SvgWithCss, SvgWithCssUri, inlineStyles } from 'react-native-svg/css';
2
- import { LocalSvg, WithLocalSvg, loadLocalRawResource } from 'react-native-svg/css';
3
- export { SvgCss, SvgCssUri, SvgWithCss, SvgWithCssUri, inlineStyles, LocalSvg, WithLocalSvg, loadLocalRawResource, };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/css/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,YAAY,EACb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEpF,OAAO,EACL,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,oBAAoB,GACrB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from 'react-native-svg/src/ReactNativeSVG';
2
- export { default } from 'react-native-svg/src/ReactNativeSVG';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC"}