@particle-network/ui-native 0.1.4-beta.0 → 0.1.4-beta.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 (74) hide show
  1. package/dist/components/UXButton/button.types.d.ts +2 -2
  2. package/dist/components/UXCheckbox/checkbox.js +29 -14
  3. package/dist/components/UXCheckbox/icons.d.ts +14 -0
  4. package/dist/{icons/CheckboxOnIcon.js → components/UXCheckbox/icons.js} +23 -8
  5. package/dist/components/UXCheckbox/types.d.ts +2 -2
  6. package/dist/components/UXHint/index.js +3 -2
  7. package/dist/components/UXListBox/UXListBoxItem.js +3 -2
  8. package/dist/components/UXRadio/radio.js +5 -4
  9. package/dist/components/UXTabs/tab.js +3 -2
  10. package/dist/components/UXTabs/types.d.ts +1 -1
  11. package/dist/components/UXToast/ToastView.js +3 -2
  12. package/dist/components/date-picker/date-button.d.ts +8 -0
  13. package/dist/components/date-picker/date-button.js +21 -0
  14. package/dist/components/date-picker/date-picker.d.ts +3 -0
  15. package/dist/components/date-picker/date-picker.js +117 -0
  16. package/dist/components/date-picker/date-range-picker.d.ts +3 -0
  17. package/dist/components/date-picker/date-range-picker.js +195 -0
  18. package/dist/components/date-picker/date-wheel-picker.d.ts +3 -0
  19. package/dist/components/date-picker/date-wheel-picker.js +121 -0
  20. package/dist/components/date-picker/index.d.ts +3 -0
  21. package/dist/components/date-picker/index.js +2 -0
  22. package/dist/components/date-picker/time-wheel-picker.d.ts +7 -0
  23. package/dist/components/date-picker/time-wheel-picker.js +64 -0
  24. package/dist/components/date-picker/types.d.ts +93 -0
  25. package/dist/components/date-picker/types.js +0 -0
  26. package/dist/components/date-picker/utils.d.ts +6 -0
  27. package/dist/components/date-picker/utils.js +2 -0
  28. package/dist/components/date-picker/wheel-column.d.ts +12 -0
  29. package/dist/components/date-picker/wheel-column.js +152 -0
  30. package/dist/components/index.d.ts +1 -0
  31. package/dist/components/index.js +1 -0
  32. package/dist/components/input/input.js +3 -2
  33. package/dist/components/input/number-input.js +3 -2
  34. package/dist/config/config.street.d.ts +2 -0
  35. package/dist/config/{config.ux.js → config.street.js} +2 -2
  36. package/dist/config/index.d.ts +1 -1
  37. package/dist/config/index.js +2 -2
  38. package/dist/hooks/index.d.ts +2 -0
  39. package/dist/hooks/index.js +2 -0
  40. package/dist/hooks/useI18n.d.ts +5 -0
  41. package/dist/hooks/useI18n.js +7 -0
  42. package/dist/hooks/useLocale.d.ts +8 -0
  43. package/dist/hooks/useLocale.js +9 -0
  44. package/dist/icons/{DotIcon.d.ts → index.d.ts} +1 -2
  45. package/dist/icons/index.js +121 -0
  46. package/dist/icons/types.d.ts +1 -0
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.js +1 -0
  49. package/dist/locales/en.d.ts +35 -0
  50. package/dist/locales/en.js +35 -0
  51. package/dist/locales/index.d.ts +107 -0
  52. package/dist/locales/index.js +12 -0
  53. package/dist/locales/zh.d.ts +2 -0
  54. package/dist/locales/zh.js +35 -0
  55. package/dist/provider/ThemeContext.js +2 -0
  56. package/dist/provider/ThemeProvider.d.ts +4 -2
  57. package/dist/provider/ThemeProvider.js +9 -3
  58. package/dist/types/theme.d.ts +4 -0
  59. package/package.json +6 -4
  60. package/dist/config/config.ux.d.ts +0 -2
  61. package/dist/icons/CheckIcon.d.ts +0 -4
  62. package/dist/icons/CheckIcon.js +0 -20
  63. package/dist/icons/CheckboxOffIcon.d.ts +0 -4
  64. package/dist/icons/CheckboxOffIcon.js +0 -21
  65. package/dist/icons/CheckboxOnIcon.d.ts +0 -4
  66. package/dist/icons/CloseIcon.d.ts +0 -4
  67. package/dist/icons/CloseIcon.js +0 -21
  68. package/dist/icons/DotIcon.js +0 -23
  69. package/dist/icons/QuestionIcon.d.ts +0 -4
  70. package/dist/icons/QuestionIcon.js +0 -21
  71. package/dist/icons/RadioOffIcon.d.ts +0 -4
  72. package/dist/icons/RadioOffIcon.js +0 -22
  73. package/dist/icons/RadioOnIcon.d.ts +0 -4
  74. package/dist/icons/RadioOnIcon.js +0 -42
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { IconProps } from './types';
3
- declare const RadioOffIcon: React.FC<IconProps>;
4
- export default RadioOffIcon;
@@ -1,22 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import "react";
3
- import react_native_svg, { Path } from "react-native-svg";
4
- import { useColors } from "../hooks/index.js";
5
- const RadioOffIcon_RadioOffIcon = ({ size = 16, color = 'default', ...props })=>{
6
- const { getColor } = useColors();
7
- const colorValue = getColor(color);
8
- return /*#__PURE__*/ jsx(react_native_svg, {
9
- fill: "none",
10
- height: size,
11
- viewBox: "0 0 16 16",
12
- width: size,
13
- ...props,
14
- children: /*#__PURE__*/ jsx(Path, {
15
- d: "M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Z",
16
- stroke: colorValue,
17
- strokeWidth: 1.2
18
- })
19
- });
20
- };
21
- const RadioOffIcon = RadioOffIcon_RadioOffIcon;
22
- export { RadioOffIcon as default };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { IconProps } from './types';
3
- declare const RadioOnIcon: React.FC<IconProps>;
4
- export default RadioOnIcon;
@@ -1,42 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import "react";
3
- import react_native_svg, { ClipPath, Defs, G, Path } from "react-native-svg";
4
- import { useColors } from "../hooks/index.js";
5
- const RadioOnIcon_RadioOnIcon = ({ size = 16, color = 'default', ...props })=>{
6
- const { getColor } = useColors();
7
- const colorValue = getColor(color);
8
- return /*#__PURE__*/ jsxs(react_native_svg, {
9
- fill: "none",
10
- height: size,
11
- viewBox: "0 0 16 16",
12
- width: size,
13
- ...props,
14
- children: [
15
- /*#__PURE__*/ jsxs(G, {
16
- clipPath: "url(#a)",
17
- children: [
18
- /*#__PURE__*/ jsx(Path, {
19
- d: "M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Z",
20
- stroke: colorValue,
21
- strokeWidth: 1.2
22
- }),
23
- /*#__PURE__*/ jsx(Path, {
24
- d: "M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z",
25
- fill: colorValue
26
- })
27
- ]
28
- }),
29
- /*#__PURE__*/ jsx(Defs, {
30
- children: /*#__PURE__*/ jsx(ClipPath, {
31
- id: "a",
32
- children: /*#__PURE__*/ jsx(Path, {
33
- d: "M0 0h16v16H0z",
34
- fill: "#fff"
35
- })
36
- })
37
- })
38
- ]
39
- });
40
- };
41
- const RadioOnIcon = RadioOnIcon_RadioOnIcon;
42
- export { RadioOnIcon as default };