@compsych-ui-components/shared 4.0.0 → 4.0.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compsych-ui-components/shared",
3
- "version": "4.0.0",
3
+ "version": "4.0.4",
4
4
  "description": "Shared types, design tokens, utilities, and assets for compsych UI components",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/index.js CHANGED
@@ -1,5 +1,22 @@
1
- export * from './types';
2
- export * from './tokens';
3
- export * from './utils';
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":"AAAA,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,UAAU"}
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"}
@@ -1,4 +1,7 @@
1
1
  // Design tokens: colors, spacing, typography
2
- export { };
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
3
6
 
4
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../packages/shared/src/tokens/index.ts"],"sourcesContent":["// Design tokens: colors, spacing, typography\nexport {};\n"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,WAAU"}
1
+ {"version":3,"sources":["../../../../../packages/shared/src/tokens/index.ts"],"sourcesContent":["// Design tokens: colors, spacing, typography\nexport {};\n"],"names":[],"mappings":"AAAA,6CAA6C"}
@@ -1,4 +1,7 @@
1
1
  // Shared TypeScript types and interfaces
2
- export { };
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
3
6
 
4
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../packages/shared/src/types/index.ts"],"sourcesContent":["// Shared TypeScript types and interfaces\nexport {};\n"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,WAAU"}
1
+ {"version":3,"sources":["../../../../../packages/shared/src/types/index.ts"],"sourcesContent":["// Shared TypeScript types and interfaces\nexport {};\n"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -1,6 +1,16 @@
1
1
  /**
2
2
  * Displays a browser alert dialog with the provided message.
3
- */ export function showAlert(message) {
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
 
@@ -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,GACD,OAAO,SAASA,UAAUC,OAAe;IACvCC,MAAMD;AACR"}
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"}