@wecareu/icons 1.1.0 → 1.1.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.
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
- package/src/LottieView.d.ts +15 -0
- package/src/LottieView.d.ts.map +1 -0
- package/src/generated/Fingernail.tsx +3 -1
- package/src/index.tsx +2 -2
- package/src/lottie.d.ts +4 -0
- package/src/lottie.d.ts.map +1 -0
package/dist/index.js
CHANGED
|
@@ -920,7 +920,9 @@ var FingerPrint_default = FingerPrint;
|
|
|
920
920
|
var import_react_native_svg34 = __toESM(require("react-native-svg"));
|
|
921
921
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
922
922
|
var Fingernail = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react_native_svg34.default, { width: 32, height: 33, viewBox: "0 0 32 33", ...props, children: [
|
|
923
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react_native_svg34.Mask, { id: "a", width: 30, height: 29, x: 1, y: 2, maskUnits: "userSpaceOnUse",
|
|
923
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react_native_svg34.Mask, { id: "a", width: 30, height: 29, x: 1, y: 2, maskUnits: "userSpaceOnUse", style: {
|
|
924
|
+
maskType: "luminance"
|
|
925
|
+
}, children: [
|
|
924
926
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_native_svg34.Path, { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M29.333 16.5c0 7.364-5.969 13.333-13.333 13.333S2.667 23.864 2.667 16.5 8.637 3.167 16 3.167" }),
|
|
925
927
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_native_svg34.Path, { strokeWidth: 2, d: "m25.333 6.815.23.704h.74l-.6.434.23.704-.6-.434-.598.434.228-.704-.598-.434h.74z" }),
|
|
926
928
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_native_svg34.Path, { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M20 13.167a4 4 0 1 0-8 0v8a4 4 0 0 0 8 0z" }),
|
package/dist/index.mjs
CHANGED
|
@@ -878,7 +878,9 @@ var FingerPrint_default = FingerPrint;
|
|
|
878
878
|
import Svg34, { Mask, Path as Path34, G as G7 } from "react-native-svg";
|
|
879
879
|
import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
880
880
|
var Fingernail = (props) => /* @__PURE__ */ jsxs13(Svg34, { width: 32, height: 33, viewBox: "0 0 32 33", ...props, children: [
|
|
881
|
-
/* @__PURE__ */ jsxs13(Mask, { id: "a", width: 30, height: 29, x: 1, y: 2, maskUnits: "userSpaceOnUse",
|
|
881
|
+
/* @__PURE__ */ jsxs13(Mask, { id: "a", width: 30, height: 29, x: 1, y: 2, maskUnits: "userSpaceOnUse", style: {
|
|
882
|
+
maskType: "luminance"
|
|
883
|
+
}, children: [
|
|
882
884
|
/* @__PURE__ */ jsx34(Path34, { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M29.333 16.5c0 7.364-5.969 13.333-13.333 13.333S2.667 23.864 2.667 16.5 8.637 3.167 16 3.167" }),
|
|
883
885
|
/* @__PURE__ */ jsx34(Path34, { strokeWidth: 2, d: "m25.333 6.815.23.704h.74l-.6.434.23.704-.6-.434-.598.434.228-.704-.598-.434h.74z" }),
|
|
884
886
|
/* @__PURE__ */ jsx34(Path34, { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M20 13.167a4 4 0 1 0-8 0v8a4 4 0 0 0 8 0z" }),
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
import { LOTTIE_ANIMATIONS, type LottieAnimationName } from './lottie-map';
|
|
3
|
+
interface LottieProps {
|
|
4
|
+
autoPlay?: boolean;
|
|
5
|
+
loop?: boolean;
|
|
6
|
+
name: LottieAnimationName;
|
|
7
|
+
size?: number;
|
|
8
|
+
speed?: number;
|
|
9
|
+
style?: ViewStyle;
|
|
10
|
+
testID?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function Lottie({ autoPlay, loop, name, size, speed, style, testID }: LottieProps): JSX.Element;
|
|
13
|
+
export type { LottieAnimationName };
|
|
14
|
+
export { LOTTIE_ANIMATIONS };
|
|
15
|
+
//# sourceMappingURL=LottieView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LottieView.d.ts","sourceRoot":"","sources":["LottieView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE3E,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAe,EACf,IAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAS,EACT,KAAK,EACL,MAAM,EACP,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAe3B;AAED,YAAY,EAAE,mBAAmB,EAAE,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Svg, { Mask, Path, G } from "react-native-svg";
|
|
2
2
|
import type { SvgProps } from "react-native-svg";
|
|
3
|
-
const Fingernail = (props: SvgProps) => <Svg width={32} height={33} viewBox="0 0 32 33" {...props}><Mask id="a" width={30} height={29} x={1} y={2} maskUnits="userSpaceOnUse"
|
|
3
|
+
const Fingernail = (props: SvgProps) => <Svg width={32} height={33} viewBox="0 0 32 33" {...props}><Mask id="a" width={30} height={29} x={1} y={2} maskUnits="userSpaceOnUse" style={{
|
|
4
|
+
maskType: "luminance"
|
|
5
|
+
}}><Path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M29.333 16.5c0 7.364-5.969 13.333-13.333 13.333S2.667 23.864 2.667 16.5 8.637 3.167 16 3.167" /><Path strokeWidth={2} d="m25.333 6.815.23.704h.74l-.6.434.23.704-.6-.434-.598.434.228-.704-.598-.434h.74z" /><Path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M20 13.167a4 4 0 1 0-8 0v8a4 4 0 0 0 8 0z" /><Path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 17.167c-1.333 0-3.333 1.412-3.333 4v6.522M20 17.167c1.333 0 3.333 1.412 3.333 4V27.5" /></Mask><G mask="url(#a)"><Path d="M0 .5h32v32H0z" /></G></Svg>;
|
|
4
6
|
export default Fingernail;
|
package/src/index.tsx
CHANGED
|
@@ -6,8 +6,8 @@ export { Icon, ICONS } from './Icon'
|
|
|
6
6
|
export type { IconName } from './Icon'
|
|
7
7
|
export { ICONS as ICONS_MAP } from './icons-map'
|
|
8
8
|
|
|
9
|
-
// Lottie
|
|
10
|
-
export { Lottie } from './
|
|
9
|
+
// Lottie component and metadata
|
|
10
|
+
export { Lottie } from './LottieView'
|
|
11
11
|
export type { LottieAnimationName } from './lottie-map'
|
|
12
12
|
export { LOTTIE_ANIMATION_NAMES, LOTTIE_ANIMATIONS } from './lottie-map'
|
|
13
13
|
|
package/src/lottie.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lottie.d.ts","sourceRoot":"","sources":["lottie.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA"}
|