koylu-vampir-design 1.0.53 → 1.0.55

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":"GuestLights.d.ts","sourceRoot":"","sources":["../../src/Players/GuestLights.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;;;CAAA,eAsJzD"}
1
+ {"version":3,"file":"GuestLights.d.ts","sourceRoot":"","sources":["../../src/Players/GuestLights.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;;;CAAA,eAkJzD"}
@@ -39,16 +39,12 @@ const Utils_1 = require("../Utils");
39
39
  const react_native_1 = require("react-native");
40
40
  function GuestLights({ isNight, perdeOpen }) {
41
41
  const [animatedValue] = (0, react_1.useState)(new react_native_1.Animated.Value(0));
42
- const [whiteMode, setWhiteMode] = (0, react_1.useState)(true);
43
42
  const [lights, setLights] = (0, react_1.useState)([
44
43
  [1, 1],
45
44
  [1, 1],
46
45
  [1, 1],
47
46
  [1, 1],
48
47
  ]);
49
- const [mode, setMode] = (0, react_1.useState)("closed");
50
- // closed, standby, slow, fast
51
- const [power, setPower] = (0, react_1.useState)(0);
52
48
  const switchMode = (mode, animated, delay) => {
53
49
  switch (mode) {
54
50
  case "closed":
@@ -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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EAAE,qBAAqB,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAsFvC,CAAC"}
@@ -32,14 +32,10 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
35
  Object.defineProperty(exports, "__esModule", { value: true });
39
36
  exports.TitanLayout = void 0;
40
37
  const react_1 = __importStar(require("react"));
41
38
  const react_native_1 = require("react-native");
42
- const GuestLights_1 = __importDefault(require("./GuestLights"));
43
39
  const GuestView_1 = require("./GuestView");
44
40
  const TitanLayout = ({ size: layoutSize = 4, space = 1, players, onPlayerPress, hideSelections, onPlayerLongPress, micEffectComponent, isAfkComponent, isNight, perdeOpen, children }) => {
45
41
  const { width } = (0, react_native_1.useWindowDimensions)();
@@ -82,8 +78,7 @@ const TitanLayout = ({ size: layoutSize = 4, space = 1, players, onPlayerPress,
82
78
  },
83
79
  ] }, splittedPlayers.map((item, index) => {
84
80
  return (react_1.default.createElement(GuestView_1.GuestView, Object.assign({ size, space }, item, { micEffectComponent, isAfkComponent, hideSelections: hideSelections, userId: item.key, isNight: isNight, onPress: onPlayerPress ? () => onPlayerPress(item) : undefined, onLongPress: onPlayerLongPress ? () => onPlayerLongPress(item) : undefined, key: index, number: item.ind + 1 })));
85
- })),
86
- react_1.default.createElement(GuestLights_1.default, { isNight: isNight, perdeOpen: perdeOpen })));
81
+ }))));
87
82
  };
88
83
  exports.TitanLayout = TitanLayout;
89
84
  const styles = react_native_1.StyleSheet.create({
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Performance = void 0;
4
4
  class PerformanceManager {
5
5
  constructor() {
6
- this.ram = 1;
6
+ this.ram = 4;
7
7
  }
8
8
  setRam(size) {
9
9
  this.ram = size / 1024 / 1024 / 1024;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koylu-vampir-design",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "description": "Design System for Koylu Vampir Game",
5
5
  "keywords": [
6
6
  "react-native",