@codezee/sixtify-brahma 0.2.133 → 0.2.134
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/package.json +1 -1
- package/packages/shared-components/dist/Button/Button.js +1 -1
- package/packages/shared-components/dist/Svgs/AppLogo/AppLogoSmall.d.ts.map +1 -1
- package/packages/shared-components/dist/Svgs/AppLogo/index.d.ts +3 -0
- package/packages/shared-components/dist/Svgs/AppLogo/index.d.ts.map +1 -0
- package/packages/shared-components/dist/Svgs/AppLogo/index.js +18 -0
- package/packages/shared-components/dist/Svgs/index.d.ts +10 -1
- package/packages/shared-components/dist/Svgs/index.d.ts.map +1 -1
- package/packages/shared-components/dist/Svgs/index.js +10 -1
- package/packages/shared-components/dist/utils/hooks/useGlobalKeyboardShortcut.d.ts +1 -1
- package/packages/shared-components/dist/utils/hooks/useGlobalKeyboardShortcut.d.ts.map +1 -1
- package/packages/shared-components/dist/utils/hooks/useGlobalKeyboardShortcut.js +1 -7
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
8
8
|
const material_1 = require("@mui/material");
|
|
9
9
|
const isFunction_1 = __importDefault(require("lodash/isFunction"));
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
|
-
const Button = ({ loading = false, children, disabled = false, enableKeyboardShortcut = true, shortcutKey, modifierKeys = ["ctrl", "
|
|
11
|
+
const Button = ({ loading = false, children, disabled = false, enableKeyboardShortcut = true, shortcutKey, modifierKeys = ["ctrl", "shift"], onClick, ...rest }) => {
|
|
12
12
|
(0, utils_1.useGlobalKeyboardShortcut)({
|
|
13
13
|
key: shortcutKey ?? "",
|
|
14
14
|
modifierKeys,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLogoSmall.d.ts","sourceRoot":"","sources":["../../../src/Svgs/AppLogo/AppLogoSmall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AppLogoSmall.d.ts","sourceRoot":"","sources":["../../../src/Svgs/AppLogo/AppLogoSmall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,YAAY,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CA8C1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Svgs/AppLogo/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AppLogoMedium"), exports);
|
|
18
|
+
__exportStar(require("./AppLogoSmall"), exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ArrowUpRight";
|
|
2
|
+
export * from "./ArrowUp";
|
|
2
3
|
export * from "./AttendanceDashboard";
|
|
3
4
|
export * from "./Company";
|
|
4
5
|
export * from "./DownloadSvg";
|
|
@@ -19,13 +20,21 @@ export * from "./SvgDelete";
|
|
|
19
20
|
export * from "./SvgDownload";
|
|
20
21
|
export * from "./SvgDrop";
|
|
21
22
|
export * from "./SvgExport";
|
|
23
|
+
export * from "./SvgFilteredList";
|
|
24
|
+
export * from "./SvgFilterList";
|
|
25
|
+
export * from "./SvgHistory";
|
|
26
|
+
export * from "./SvgEdit";
|
|
22
27
|
export * from "./SvgHome";
|
|
23
28
|
export * from "./SvgImport";
|
|
29
|
+
export * from "./SvgKeyBoard";
|
|
24
30
|
export * from "./SvgNoLogo";
|
|
25
31
|
export * from "./SvgNoSign";
|
|
26
32
|
export * from "./SvgPageNotFound";
|
|
27
33
|
export * from "./SvgProfile";
|
|
28
34
|
export * from "./SvgReGenerate";
|
|
29
35
|
export * from "./SvgView";
|
|
30
|
-
export * from "./
|
|
36
|
+
export * from "./SvgEmail";
|
|
37
|
+
export * from "./SvgIndicator";
|
|
38
|
+
export * from "./SvgPhone";
|
|
39
|
+
export * from "./AppLogo";
|
|
31
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Svgs/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CA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Ac,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ArrowUpRight"), exports);
|
|
18
|
+
__exportStar(require("./ArrowUp"), exports);
|
|
18
19
|
__exportStar(require("./AttendanceDashboard"), exports);
|
|
19
20
|
__exportStar(require("./Company"), exports);
|
|
20
21
|
__exportStar(require("./DownloadSvg"), exports);
|
|
@@ -35,12 +36,20 @@ __exportStar(require("./SvgDelete"), exports);
|
|
|
35
36
|
__exportStar(require("./SvgDownload"), exports);
|
|
36
37
|
__exportStar(require("./SvgDrop"), exports);
|
|
37
38
|
__exportStar(require("./SvgExport"), exports);
|
|
39
|
+
__exportStar(require("./SvgFilteredList"), exports);
|
|
40
|
+
__exportStar(require("./SvgFilterList"), exports);
|
|
41
|
+
__exportStar(require("./SvgHistory"), exports);
|
|
42
|
+
__exportStar(require("./SvgEdit"), exports);
|
|
38
43
|
__exportStar(require("./SvgHome"), exports);
|
|
39
44
|
__exportStar(require("./SvgImport"), exports);
|
|
45
|
+
__exportStar(require("./SvgKeyBoard"), exports);
|
|
40
46
|
__exportStar(require("./SvgNoLogo"), exports);
|
|
41
47
|
__exportStar(require("./SvgNoSign"), exports);
|
|
42
48
|
__exportStar(require("./SvgPageNotFound"), exports);
|
|
43
49
|
__exportStar(require("./SvgProfile"), exports);
|
|
44
50
|
__exportStar(require("./SvgReGenerate"), exports);
|
|
45
51
|
__exportStar(require("./SvgView"), exports);
|
|
46
|
-
__exportStar(require("./
|
|
52
|
+
__exportStar(require("./SvgEmail"), exports);
|
|
53
|
+
__exportStar(require("./SvgIndicator"), exports);
|
|
54
|
+
__exportStar(require("./SvgPhone"), exports);
|
|
55
|
+
__exportStar(require("./AppLogo"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGlobalKeyboardShortcut.d.ts","sourceRoot":"","sources":["../../../src/utils/hooks/useGlobalKeyboardShortcut.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"useGlobalKeyboardShortcut.d.ts","sourceRoot":"","sources":["../../../src/utils/hooks/useGlobalKeyboardShortcut.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAErD,KAAK,6BAA6B,GAAG;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,QAAQ,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IAC7C,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,qDAKvC,6BAA6B,SA2E/B,CAAC"}
|
|
@@ -29,8 +29,6 @@ const useGlobalKeyboardShortcut = ({ key, onTrigger, modifierKeys = "ctrl", with
|
|
|
29
29
|
return e.ctrlKey || e.metaKey;
|
|
30
30
|
case "shift":
|
|
31
31
|
return e.shiftKey;
|
|
32
|
-
case "alt":
|
|
33
|
-
return e.altKey;
|
|
34
32
|
case "meta":
|
|
35
33
|
return e.metaKey;
|
|
36
34
|
default:
|
|
@@ -45,15 +43,11 @@ const useGlobalKeyboardShortcut = ({ key, onTrigger, modifierKeys = "ctrl", with
|
|
|
45
43
|
if (requiredModifiers.includes("shift") && e.shiftKey) {
|
|
46
44
|
requiredModifiersCount++;
|
|
47
45
|
}
|
|
48
|
-
if (requiredModifiers.includes("alt") && e.altKey) {
|
|
49
|
-
requiredModifiersCount++;
|
|
50
|
-
}
|
|
51
46
|
const hasExtraModifiers = (e.ctrlKey && !requiredModifiers.includes("ctrl")) ||
|
|
52
47
|
(e.metaKey &&
|
|
53
48
|
!requiredModifiers.includes("ctrl") &&
|
|
54
49
|
!requiredModifiers.includes("meta")) ||
|
|
55
|
-
(e.shiftKey && !requiredModifiers.includes("shift"))
|
|
56
|
-
(e.altKey && !requiredModifiers.includes("alt"));
|
|
50
|
+
(e.shiftKey && !requiredModifiers.includes("shift"));
|
|
57
51
|
if (keyMatch &&
|
|
58
52
|
modifierMatch &&
|
|
59
53
|
requiredModifiersCount === normalizedModifierKeys.length &&
|