@compsych-ui-components/shared 4.0.0 → 4.0.1
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/src/index.js +20 -3
- package/src/index.js.map +1 -1
- package/src/tokens/index.js +4 -1
- package/src/tokens/index.js.map +1 -1
- package/src/types/index.js +4 -1
- package/src/types/index.js.map +1 -1
- package/src/utils/index.js +11 -1
- package/src/utils/index.js.map +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
_export_star(require("./types"), exports);
|
|
6
|
+
_export_star(require("./tokens"), exports);
|
|
7
|
+
_export_star(require("./utils"), exports);
|
|
8
|
+
function _export_star(from, to) {
|
|
9
|
+
Object.keys(from).forEach(function(k) {
|
|
10
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
11
|
+
Object.defineProperty(to, k, {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function() {
|
|
14
|
+
return from[k];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return from;
|
|
20
|
+
}
|
|
4
21
|
|
|
5
22
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../packages/shared/src/index.ts"],"sourcesContent":["export * from './types';\nexport * from './tokens';\nexport * from './utils';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../packages/shared/src/index.ts"],"sourcesContent":["export * from './types';\nexport * from './tokens';\nexport * from './utils';\n"],"names":[],"mappings":";;;;qBAAc;qBACA;qBACA"}
|
package/src/tokens/index.js
CHANGED
package/src/tokens/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/shared/src/tokens/index.ts"],"sourcesContent":["// Design tokens: colors, spacing, typography\nexport {};\n"],"names":[],"mappings":"AAAA,6CAA6C
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/shared/src/tokens/index.ts"],"sourcesContent":["// Design tokens: colors, spacing, typography\nexport {};\n"],"names":[],"mappings":"AAAA,6CAA6C"}
|
package/src/types/index.js
CHANGED
package/src/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/shared/src/types/index.ts"],"sourcesContent":["// Shared TypeScript types and interfaces\nexport {};\n"],"names":[],"mappings":"AAAA,yCAAyC
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/shared/src/types/index.ts"],"sourcesContent":["// Shared TypeScript types and interfaces\nexport {};\n"],"names":[],"mappings":"AAAA,yCAAyC"}
|
package/src/utils/index.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Displays a browser alert dialog with the provided message.
|
|
3
|
-
*/
|
|
3
|
+
*/ "use strict";
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "showAlert", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function() {
|
|
10
|
+
return showAlert;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
function showAlert(message) {
|
|
4
14
|
alert(message);
|
|
5
15
|
}
|
|
6
16
|
|
package/src/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/shared/src/utils/index.ts"],"sourcesContent":["/**\n * Displays a browser alert dialog with the provided message.\n */\nexport function showAlert(message: string): void {\n alert(message);\n}\n"],"names":["showAlert","message","alert"],"mappings":"AAAA;;CAEC,
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/shared/src/utils/index.ts"],"sourcesContent":["/**\n * Displays a browser alert dialog with the provided message.\n */\nexport function showAlert(message: string): void {\n alert(message);\n}\n"],"names":["showAlert","message","alert"],"mappings":"AAAA;;CAEC;;;;+BACeA;;;eAAAA;;;AAAT,SAASA,UAAUC,OAAe;IACvCC,MAAMD;AACR"}
|