@buoy-gg/images 7.0.4 → 7.0.6

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.
@@ -3,57 +3,17 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.IMAGES_ICON_COLOR = void 0;
7
- exports.ImagesIcon = ImagesIcon;
8
- var _reactNative = require("react-native");
9
- var _jsxRuntime = require("react/jsx-runtime");
10
- /** Tool accent color (photo violet). */
11
- const IMAGES_ICON_COLOR = exports.IMAGES_ICON_COLOR = "#C084FC";
12
- /**
13
- * Dependency-free "picture" glyph: rounded frame with a sun dot and a
14
- * mountain-ish baseline, rendered from plain views.
15
- */
16
- function ImagesIcon({
17
- size,
18
- color = IMAGES_ICON_COLOR
19
- }) {
20
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
21
- style: [styles.frame, {
22
- width: size,
23
- height: size,
24
- borderRadius: size * 0.2,
25
- borderColor: color
26
- }],
27
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
28
- style: [styles.sun, {
29
- width: size * 0.18,
30
- height: size * 0.18,
31
- borderRadius: size * 0.09,
32
- backgroundColor: color,
33
- top: size * 0.18,
34
- right: size * 0.2
35
- }]
36
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
37
- style: {
38
- color,
39
- fontSize: size * 0.52,
40
- fontWeight: "700",
41
- lineHeight: size * 0.62,
42
- marginTop: size * 0.28
43
- },
44
- children: "▲"
45
- })]
46
- });
47
- }
48
- const styles = _reactNative.StyleSheet.create({
49
- frame: {
50
- borderWidth: 1.5,
51
- alignItems: "center",
52
- justifyContent: "flex-end",
53
- overflow: "hidden"
54
- },
55
- sun: {
56
- position: "absolute"
6
+ Object.defineProperty(exports, "IMAGES_ICON_COLOR", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _sharedUi.IMAGES_ICON_COLOR;
57
10
  }
58
11
  });
12
+ Object.defineProperty(exports, "ImagesIcon", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _sharedUi.ImagesIcon;
16
+ }
17
+ });
18
+ var _sharedUi = require("@buoy-gg/shared-ui");
59
19
  //# sourceMappingURL=ImagesIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_jsxRuntime","IMAGES_ICON_COLOR","exports","ImagesIcon","size","color","jsxs","View","style","styles","frame","width","height","borderRadius","borderColor","children","jsx","sun","backgroundColor","top","right","Text","fontSize","fontWeight","lineHeight","marginTop","StyleSheet","create","borderWidth","alignItems","justifyContent","overflow","position"],"sourceRoot":"../../../src","sources":["components/ImagesIcon.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAsD,IAAAC,WAAA,GAAAD,OAAA;AAEtD;AACO,MAAME,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG,SAAS;AAO1C;AACA;AACA;AACA;AACO,SAASE,UAAUA,CAAC;EAAEC,IAAI;EAAEC,KAAK,GAAGJ;AAAmC,CAAC,EAAE;EAC/E,oBACE,IAAAD,WAAA,CAAAM,IAAA,EAACR,YAAA,CAAAS,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,KAAK,EACZ;MACEC,KAAK,EAAEP,IAAI;MACXQ,MAAM,EAAER,IAAI;MACZS,YAAY,EAAET,IAAI,GAAG,GAAG;MACxBU,WAAW,EAAET;IACf,CAAC,CACD;IAAAU,QAAA,gBAEF,IAAAf,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAS,IAAI;MACHC,KAAK,EAAE,CACLC,MAAM,CAACQ,GAAG,EACV;QACEN,KAAK,EAAEP,IAAI,GAAG,IAAI;QAClBQ,MAAM,EAAER,IAAI,GAAG,IAAI;QACnBS,YAAY,EAAET,IAAI,GAAG,IAAI;QACzBc,eAAe,EAAEb,KAAK;QACtBc,GAAG,EAAEf,IAAI,GAAG,IAAI;QAChBgB,KAAK,EAAEhB,IAAI,GAAG;MAChB,CAAC;IACD,CACH,CAAC,eACF,IAAAJ,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAuB,IAAI;MACHb,KAAK,EAAE;QACLH,KAAK;QACLiB,QAAQ,EAAElB,IAAI,GAAG,IAAI;QACrBmB,UAAU,EAAE,KAAK;QACjBC,UAAU,EAAEpB,IAAI,GAAG,IAAI;QACvBqB,SAAS,EAAErB,IAAI,GAAG;MACpB,CAAE;MAAAW,QAAA,EAED;IAAG,CACA,CAAC;EAAA,CACH,CAAC;AAEX;AAEA,MAAMN,MAAM,GAAGiB,uBAAU,CAACC,MAAM,CAAC;EAC/BjB,KAAK,EAAE;IACLkB,WAAW,EAAE,GAAG;IAChBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,UAAU;IAC1BC,QAAQ,EAAE;EACZ,CAAC;EACDd,GAAG,EAAE;IACHe,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_sharedUi","require"],"sourceRoot":"../../../src","sources":["components/ImagesIcon.tsx"],"mappings":";;;;;;;;;;;;;;;;;AAQA,IAAAA,SAAA,GAAAC,OAAA","ignoreList":[]}
@@ -1,55 +1,12 @@
1
1
  "use strict";
2
2
 
3
- import { View, Text, StyleSheet } from "react-native";
4
-
5
- /** Tool accent color (photo violet). */
6
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- export const IMAGES_ICON_COLOR = "#C084FC";
8
3
  /**
9
- * Dependency-free "picture" glyph: rounded frame with a sun dot and a
10
- * mountain-ish baseline, rendered from plain views.
4
+ * ImagesIcon — re-exported from the Buoy Icon Format.
5
+ *
6
+ * The artwork lives in shared/icons/images.json and is generated into
7
+ * @buoy-gg/floating-tools-core, so React Native, the desktop dashboard and
8
+ * Flutter all render the same drawing. Edit the JSON, then `pnpm icons`.
11
9
  */
12
- export function ImagesIcon({
13
- size,
14
- color = IMAGES_ICON_COLOR
15
- }) {
16
- return /*#__PURE__*/_jsxs(View, {
17
- style: [styles.frame, {
18
- width: size,
19
- height: size,
20
- borderRadius: size * 0.2,
21
- borderColor: color
22
- }],
23
- children: [/*#__PURE__*/_jsx(View, {
24
- style: [styles.sun, {
25
- width: size * 0.18,
26
- height: size * 0.18,
27
- borderRadius: size * 0.09,
28
- backgroundColor: color,
29
- top: size * 0.18,
30
- right: size * 0.2
31
- }]
32
- }), /*#__PURE__*/_jsx(Text, {
33
- style: {
34
- color,
35
- fontSize: size * 0.52,
36
- fontWeight: "700",
37
- lineHeight: size * 0.62,
38
- marginTop: size * 0.28
39
- },
40
- children: "▲"
41
- })]
42
- });
43
- }
44
- const styles = StyleSheet.create({
45
- frame: {
46
- borderWidth: 1.5,
47
- alignItems: "center",
48
- justifyContent: "flex-end",
49
- overflow: "hidden"
50
- },
51
- sun: {
52
- position: "absolute"
53
- }
54
- });
10
+
11
+ export { ImagesIcon, IMAGES_ICON_COLOR } from "@buoy-gg/shared-ui";
55
12
  //# sourceMappingURL=ImagesIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["View","Text","StyleSheet","jsx","_jsx","jsxs","_jsxs","IMAGES_ICON_COLOR","ImagesIcon","size","color","style","styles","frame","width","height","borderRadius","borderColor","children","sun","backgroundColor","top","right","fontSize","fontWeight","lineHeight","marginTop","create","borderWidth","alignItems","justifyContent","overflow","position"],"sourceRoot":"../../../src","sources":["components/ImagesIcon.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;;AAErD;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,OAAO,MAAMC,iBAAiB,GAAG,SAAS;AAO1C;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAAC;EAAEC,IAAI;EAAEC,KAAK,GAAGH;AAAmC,CAAC,EAAE;EAC/E,oBACED,KAAA,CAACN,IAAI;IACHW,KAAK,EAAE,CACLC,MAAM,CAACC,KAAK,EACZ;MACEC,KAAK,EAAEL,IAAI;MACXM,MAAM,EAAEN,IAAI;MACZO,YAAY,EAAEP,IAAI,GAAG,GAAG;MACxBQ,WAAW,EAAEP;IACf,CAAC,CACD;IAAAQ,QAAA,gBAEFd,IAAA,CAACJ,IAAI;MACHW,KAAK,EAAE,CACLC,MAAM,CAACO,GAAG,EACV;QACEL,KAAK,EAAEL,IAAI,GAAG,IAAI;QAClBM,MAAM,EAAEN,IAAI,GAAG,IAAI;QACnBO,YAAY,EAAEP,IAAI,GAAG,IAAI;QACzBW,eAAe,EAAEV,KAAK;QACtBW,GAAG,EAAEZ,IAAI,GAAG,IAAI;QAChBa,KAAK,EAAEb,IAAI,GAAG;MAChB,CAAC;IACD,CACH,CAAC,eACFL,IAAA,CAACH,IAAI;MACHU,KAAK,EAAE;QACLD,KAAK;QACLa,QAAQ,EAAEd,IAAI,GAAG,IAAI;QACrBe,UAAU,EAAE,KAAK;QACjBC,UAAU,EAAEhB,IAAI,GAAG,IAAI;QACvBiB,SAAS,EAAEjB,IAAI,GAAG;MACpB,CAAE;MAAAS,QAAA,EAED;IAAG,CACA,CAAC;EAAA,CACH,CAAC;AAEX;AAEA,MAAMN,MAAM,GAAGV,UAAU,CAACyB,MAAM,CAAC;EAC/Bd,KAAK,EAAE;IACLe,WAAW,EAAE,GAAG;IAChBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,UAAU;IAC1BC,QAAQ,EAAE;EACZ,CAAC;EACDZ,GAAG,EAAE;IACHa,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ImagesIcon","IMAGES_ICON_COLOR"],"sourceRoot":"../../../src","sources":["components/ImagesIcon.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,EAAEC,iBAAiB,QAAQ,oBAAoB","ignoreList":[]}
@@ -1,13 +1,9 @@
1
- /** Tool accent color (photo violet). */
2
- export declare const IMAGES_ICON_COLOR = "#C084FC";
3
- interface ImagesIconProps {
4
- size: number;
5
- color?: string;
6
- }
7
1
  /**
8
- * Dependency-free "picture" glyph: rounded frame with a sun dot and a
9
- * mountain-ish baseline, rendered from plain views.
2
+ * ImagesIcon — re-exported from the Buoy Icon Format.
3
+ *
4
+ * The artwork lives in shared/icons/images.json and is generated into
5
+ * @buoy-gg/floating-tools-core, so React Native, the desktop dashboard and
6
+ * Flutter all render the same drawing. Edit the JSON, then `pnpm icons`.
10
7
  */
11
- export declare function ImagesIcon({ size, color }: ImagesIconProps): import("react").JSX.Element;
12
- export {};
8
+ export { ImagesIcon, IMAGES_ICON_COLOR } from "@buoy-gg/shared-ui";
13
9
  //# sourceMappingURL=ImagesIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImagesIcon.d.ts","sourceRoot":"","sources":["../../../src/components/ImagesIcon.tsx"],"names":[],"mappings":"AAEA,wCAAwC;AACxC,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAyB,EAAE,EAAE,eAAe,+BAuC9E"}
1
+ {"version":3,"file":"ImagesIcon.d.ts","sourceRoot":"","sources":["../../../src/components/ImagesIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/images",
3
- "version": "7.0.4",
3
+ "version": "7.0.6",
4
4
  "description": "Debug every image in your React Native app — live load registry, cache verdicts (memory/disk/network), timings, oversize + wasted-memory checks, and failure diagnosis for RN <Image> and expo-image. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -18,7 +18,7 @@
18
18
  "**/index.*"
19
19
  ],
20
20
  "dependencies": {
21
- "@buoy-gg/shared-ui": "7.0.4"
21
+ "@buoy-gg/shared-ui": "7.0.6"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "expo-image": "*",
@@ -1,66 +1,9 @@
1
- import { View, Text, StyleSheet } from "react-native";
2
-
3
- /** Tool accent color (photo violet). */
4
- export const IMAGES_ICON_COLOR = "#C084FC";
5
-
6
- interface ImagesIconProps {
7
- size: number;
8
- color?: string;
9
- }
10
-
11
1
  /**
12
- * Dependency-free "picture" glyph: rounded frame with a sun dot and a
13
- * mountain-ish baseline, rendered from plain views.
2
+ * ImagesIcon — re-exported from the Buoy Icon Format.
3
+ *
4
+ * The artwork lives in shared/icons/images.json and is generated into
5
+ * @buoy-gg/floating-tools-core, so React Native, the desktop dashboard and
6
+ * Flutter all render the same drawing. Edit the JSON, then `pnpm icons`.
14
7
  */
15
- export function ImagesIcon({ size, color = IMAGES_ICON_COLOR }: ImagesIconProps) {
16
- return (
17
- <View
18
- style={[
19
- styles.frame,
20
- {
21
- width: size,
22
- height: size,
23
- borderRadius: size * 0.2,
24
- borderColor: color,
25
- },
26
- ]}
27
- >
28
- <View
29
- style={[
30
- styles.sun,
31
- {
32
- width: size * 0.18,
33
- height: size * 0.18,
34
- borderRadius: size * 0.09,
35
- backgroundColor: color,
36
- top: size * 0.18,
37
- right: size * 0.2,
38
- },
39
- ]}
40
- />
41
- <Text
42
- style={{
43
- color,
44
- fontSize: size * 0.52,
45
- fontWeight: "700",
46
- lineHeight: size * 0.62,
47
- marginTop: size * 0.28,
48
- }}
49
- >
50
- {"▲"}
51
- </Text>
52
- </View>
53
- );
54
- }
55
8
 
56
- const styles = StyleSheet.create({
57
- frame: {
58
- borderWidth: 1.5,
59
- alignItems: "center",
60
- justifyContent: "flex-end",
61
- overflow: "hidden",
62
- },
63
- sun: {
64
- position: "absolute",
65
- },
66
- });
9
+ export { ImagesIcon, IMAGES_ICON_COLOR } from "@buoy-gg/shared-ui";