@buoy-gg/shared-ui 2.1.13 → 2.1.14
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/lib/commonjs/hooks/safe-area-impl.js +1 -1
- package/lib/commonjs/ui/components/WindowControls.js +3 -3
- package/lib/module/hooks/safe-area-impl.js +1 -1
- package/lib/module/ui/components/WindowControls.js +5 -4
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -7,7 +7,7 @@ exports.useNativeSafeAreaInsets = exports.safeAreaType = exports.hasSafeAreaPack
|
|
|
7
7
|
/**
|
|
8
8
|
* Auto-generated safe area implementation
|
|
9
9
|
* Detected: none
|
|
10
|
-
* Generated at: 2026-
|
|
10
|
+
* Generated at: 2026-05-04T02:37:51.788Z
|
|
11
11
|
*
|
|
12
12
|
* DO NOT EDIT - This file is generated by scripts/detect-safe-area.js
|
|
13
13
|
*
|
|
@@ -8,11 +8,11 @@ exports.setExpandableWindowControls = setExpandableWindowControls;
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _index = require("../../icons/index.js");
|
|
11
|
+
var _gameUIColors = require("../gameUI/constants/gameUIColors.js");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
// ============================================================================
|
|
13
14
|
// Global expandable setting — controlled via setExpandableWindowControls()
|
|
14
15
|
// ============================================================================
|
|
15
|
-
|
|
16
16
|
let _expandableEnabled = true; // Default ON
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -345,12 +345,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
345
345
|
flexDirection: "row",
|
|
346
346
|
alignItems: "center",
|
|
347
347
|
gap: EXPANDED_BUTTON_SPACING,
|
|
348
|
-
backgroundColor:
|
|
348
|
+
backgroundColor: _gameUIColors.buoyColors.card,
|
|
349
349
|
borderRadius: (EXPANDED_BUTTON_SIZE + EXPANDED_PADDING * 2) / 2,
|
|
350
350
|
paddingHorizontal: EXPANDED_PADDING,
|
|
351
351
|
paddingVertical: EXPANDED_PADDING,
|
|
352
352
|
borderWidth: 1,
|
|
353
|
-
borderColor:
|
|
353
|
+
borderColor: _gameUIColors.buoyColors.border,
|
|
354
354
|
shadowColor: "#000",
|
|
355
355
|
shadowOffset: {
|
|
356
356
|
width: 0,
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
import { useState, useRef, useCallback, useEffect } from "react";
|
|
4
4
|
import { View, TouchableOpacity, TouchableWithoutFeedback, StyleSheet, Animated, Modal } from "react-native";
|
|
5
5
|
import { X, Minus, DockBottom, FloatWindow } from "../../icons/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { buoyColors } from "../gameUI/constants/gameUIColors.js";
|
|
7
|
+
|
|
7
8
|
// ============================================================================
|
|
8
9
|
// Global expandable setting — controlled via setExpandableWindowControls()
|
|
9
10
|
// ============================================================================
|
|
10
|
-
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
12
|
let _expandableEnabled = true; // Default ON
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -340,12 +341,12 @@ const styles = StyleSheet.create({
|
|
|
340
341
|
flexDirection: "row",
|
|
341
342
|
alignItems: "center",
|
|
342
343
|
gap: EXPANDED_BUTTON_SPACING,
|
|
343
|
-
backgroundColor:
|
|
344
|
+
backgroundColor: buoyColors.card,
|
|
344
345
|
borderRadius: (EXPANDED_BUTTON_SIZE + EXPANDED_PADDING * 2) / 2,
|
|
345
346
|
paddingHorizontal: EXPANDED_PADDING,
|
|
346
347
|
paddingVertical: EXPANDED_PADDING,
|
|
347
348
|
borderWidth: 1,
|
|
348
|
-
borderColor:
|
|
349
|
+
borderColor: buoyColors.border,
|
|
349
350
|
shadowColor: "#000",
|
|
350
351
|
shadowOffset: {
|
|
351
352
|
width: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS/C;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,QAE3D;AAMD,UAAU,mBAAmB;IAC3B,+BAA+B;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,2EAA2E;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AA+BD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,YAAY,EACZ,IAAI,GACL,EAAE,mBAAmB,+BAoDrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS/C;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,QAE3D;AAMD,UAAU,mBAAmB;IAC3B,+BAA+B;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,2EAA2E;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AA+BD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,YAAY,EACZ,IAAI,GACL,EAAE,mBAAmB,+BAoDrB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/shared-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.14",
|
|
4
4
|
"description": "Shared UI components, hooks, and utilities",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
],
|
|
116
116
|
"sideEffects": false,
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@buoy-gg/floating-tools-core": "2.1.
|
|
118
|
+
"@buoy-gg/floating-tools-core": "2.1.14"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
|
-
"@buoy-gg/license": "2.1.
|
|
121
|
+
"@buoy-gg/license": "2.1.14",
|
|
122
122
|
"@react-native-clipboard/clipboard": "*",
|
|
123
123
|
"expo-clipboard": "*",
|
|
124
124
|
"expo-file-system": "*",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"expo-clipboard": "~7.1.5",
|
|
147
147
|
"react-native-safe-area-context": "^5.6.2",
|
|
148
148
|
"typescript": "~5.8.3",
|
|
149
|
-
"@buoy-gg/license": "2.1.
|
|
149
|
+
"@buoy-gg/license": "2.1.14"
|
|
150
150
|
},
|
|
151
151
|
"react-native-builder-bob": {
|
|
152
152
|
"source": "src",
|