koylu-vampir-design 1.0.52 → 1.0.53

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TitanLayout.d.ts","sourceRoot":"","sources":["../../src/Players/TitanLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAEH,qBAAqB,EAIxB,MAAM,cAAc,CAAC;AAMtB,KAAK,KAAK,GAAG;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAC/B,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACxD,iBAAiB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA0FvC,CAAC"}
1
+ {"version":3,"file":"TitanLayout.d.ts","sourceRoot":"","sources":["../../src/Players/TitanLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAEH,qBAAqB,EAIxB,MAAM,cAAc,CAAC;AAMtB,KAAK,KAAK,GAAG;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAC/B,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACxD,iBAAiB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAuFvC,CAAC"}
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TitanLayout = void 0;
40
40
  const react_1 = __importStar(require("react"));
41
41
  const react_native_1 = require("react-native");
42
- const react_native_safe_area_context_1 = require("react-native-safe-area-context");
43
42
  const GuestLights_1 = __importDefault(require("./GuestLights"));
44
43
  const GuestView_1 = require("./GuestView");
45
44
  const TitanLayout = ({ size: layoutSize = 4, space = 1, players, onPlayerPress, hideSelections, onPlayerLongPress, micEffectComponent, isAfkComponent, isNight, perdeOpen, children }) => {
@@ -47,8 +46,7 @@ const TitanLayout = ({ size: layoutSize = 4, space = 1, players, onPlayerPress,
47
46
  const padding = 8;
48
47
  const size = (width - space * 2 - padding * 2) / layoutSize;
49
48
  const [animatedValue] = (0, react_1.useState)(new react_native_1.Animated.Value(0));
50
- const emptyIndexes = [2, 6];
51
- const insets = (0, react_native_safe_area_context_1.useSafeAreaInsets)();
49
+ const emptyIndexes = [];
52
50
  const guests = [...players];
53
51
  const splittedPlayers = guests.reduce((acc, item, index) => {
54
52
  if (emptyIndexes.includes(index)) {
@@ -71,9 +69,7 @@ const TitanLayout = ({ size: layoutSize = 4, space = 1, players, onPlayerPress,
71
69
  padding: 0,
72
70
  alignItems: "center",
73
71
  justifyContent: "center",
74
- width: "99%",
75
- backgroundColor: "white",
76
- height: 300,
72
+ width: "100%",
77
73
  },
78
74
  ] }, children),
79
75
  react_1.default.createElement(react_native_1.View, { style: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koylu-vampir-design",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "Design System for Koylu Vampir Game",
5
5
  "keywords": [
6
6
  "react-native",