@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.
- package/dist/components/UXButton/button.types.d.ts +2 -2
- package/dist/components/UXCheckbox/checkbox.js +29 -14
- package/dist/components/UXCheckbox/icons.d.ts +14 -0
- package/dist/{icons/CheckboxOnIcon.js → components/UXCheckbox/icons.js} +23 -8
- package/dist/components/UXCheckbox/types.d.ts +2 -2
- package/dist/components/UXHint/index.js +3 -2
- package/dist/components/UXListBox/UXListBoxItem.js +3 -2
- package/dist/components/UXRadio/radio.js +5 -4
- package/dist/components/UXTabs/tab.js +3 -2
- package/dist/components/UXTabs/types.d.ts +1 -1
- package/dist/components/UXToast/ToastView.js +3 -2
- package/dist/components/date-picker/date-button.d.ts +8 -0
- package/dist/components/date-picker/date-button.js +21 -0
- package/dist/components/date-picker/date-picker.d.ts +3 -0
- package/dist/components/date-picker/date-picker.js +117 -0
- package/dist/components/date-picker/date-range-picker.d.ts +3 -0
- package/dist/components/date-picker/date-range-picker.js +195 -0
- package/dist/components/date-picker/date-wheel-picker.d.ts +3 -0
- package/dist/components/date-picker/date-wheel-picker.js +121 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.js +2 -0
- package/dist/components/date-picker/time-wheel-picker.d.ts +7 -0
- package/dist/components/date-picker/time-wheel-picker.js +64 -0
- package/dist/components/date-picker/types.d.ts +93 -0
- package/dist/components/date-picker/types.js +0 -0
- package/dist/components/date-picker/utils.d.ts +6 -0
- package/dist/components/date-picker/utils.js +2 -0
- package/dist/components/date-picker/wheel-column.d.ts +12 -0
- package/dist/components/date-picker/wheel-column.js +152 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input/input.js +3 -2
- package/dist/components/input/number-input.js +3 -2
- package/dist/config/config.street.d.ts +2 -0
- package/dist/config/{config.ux.js → config.street.js} +2 -2
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.js +2 -2
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/useI18n.d.ts +5 -0
- package/dist/hooks/useI18n.js +7 -0
- package/dist/hooks/useLocale.d.ts +8 -0
- package/dist/hooks/useLocale.js +9 -0
- package/dist/icons/{DotIcon.d.ts → index.d.ts} +1 -2
- package/dist/icons/index.js +121 -0
- package/dist/icons/types.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/locales/en.d.ts +35 -0
- package/dist/locales/en.js +35 -0
- package/dist/locales/index.d.ts +107 -0
- package/dist/locales/index.js +12 -0
- package/dist/locales/zh.d.ts +2 -0
- package/dist/locales/zh.js +35 -0
- package/dist/provider/ThemeContext.js +2 -0
- package/dist/provider/ThemeProvider.d.ts +4 -2
- package/dist/provider/ThemeProvider.js +9 -3
- package/dist/types/theme.d.ts +4 -0
- package/package.json +6 -4
- package/dist/config/config.ux.d.ts +0 -2
- package/dist/icons/CheckIcon.d.ts +0 -4
- package/dist/icons/CheckIcon.js +0 -20
- package/dist/icons/CheckboxOffIcon.d.ts +0 -4
- package/dist/icons/CheckboxOffIcon.js +0 -21
- package/dist/icons/CheckboxOnIcon.d.ts +0 -4
- package/dist/icons/CloseIcon.d.ts +0 -4
- package/dist/icons/CloseIcon.js +0 -21
- package/dist/icons/DotIcon.js +0 -23
- package/dist/icons/QuestionIcon.d.ts +0 -4
- package/dist/icons/QuestionIcon.js +0 -21
- package/dist/icons/RadioOffIcon.d.ts +0 -4
- package/dist/icons/RadioOffIcon.js +0 -22
- package/dist/icons/RadioOnIcon.d.ts +0 -4
- package/dist/icons/RadioOnIcon.js +0 -42
|
@@ -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,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 };
|