@transferwise/neptune-tokens 0.0.0-experimental-c16f5d5 → 0.0.0-experimental-e7e0b50

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.
Files changed (46) hide show
  1. package/breakpoints.cjs +13 -0
  2. package/breakpoints.css +1 -1
  3. package/breakpoints.d.cts +11 -0
  4. package/breakpoints.d.mts +11 -0
  5. package/breakpoints.less +1 -1
  6. package/breakpoints.mjs +12 -0
  7. package/colors-base.css +1 -1
  8. package/colors-base.less +1 -1
  9. package/index.cjs +3 -0
  10. package/index.d.cts +2 -0
  11. package/index.d.mts +2 -0
  12. package/index.mjs +2 -0
  13. package/package.json +17 -9
  14. package/themes/business/tokens.css +1 -1
  15. package/themes/business/tokens.less +1 -1
  16. package/themes/business--bright-green/tokens.css +1 -1
  17. package/themes/business--bright-green/tokens.less +1 -1
  18. package/themes/business--dark/tokens.css +1 -1
  19. package/themes/business--dark/tokens.less +1 -1
  20. package/themes/business--forest-green/tokens.css +1 -1
  21. package/themes/business--forest-green/tokens.less +1 -1
  22. package/themes/dark/tokens.css +1 -1
  23. package/themes/dark/tokens.less +1 -1
  24. package/themes/light/tokens.css +1 -1
  25. package/themes/light/tokens.less +1 -1
  26. package/themes/navy/tokens.css +1 -1
  27. package/themes/navy/tokens.less +1 -1
  28. package/themes/personal/tokens.css +1 -1
  29. package/themes/personal/tokens.less +1 -1
  30. package/themes/personal--bright-green/tokens.css +1 -1
  31. package/themes/personal--bright-green/tokens.less +1 -1
  32. package/themes/personal--dark/tokens.css +1 -1
  33. package/themes/personal--dark/tokens.less +1 -1
  34. package/themes/personal--forest-green/tokens.css +1 -1
  35. package/themes/personal--forest-green/tokens.less +1 -1
  36. package/themes/platform/tokens.css +1 -1
  37. package/themes/platform/tokens.less +1 -1
  38. package/themes/platform--forest-green/tokens.css +1 -1
  39. package/themes/platform--forest-green/tokens.less +1 -1
  40. package/tokens.css +1 -1
  41. package/tokens.less +1 -1
  42. package/breakpoints.d.ts +0 -8
  43. package/breakpoints.js +0 -11
  44. package/index.d.ts +0 -1
  45. package/index.js +0 -1
  46. package/tsconfig.dist.json +0 -13
@@ -0,0 +1,13 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region dist/breakpoints.ts
3
+ let Breakpoint = /* @__PURE__ */ function(Breakpoint) {
4
+ Breakpoint[Breakpoint["EXTRA_SMALL"] = 320] = "EXTRA_SMALL";
5
+ Breakpoint[Breakpoint["SMALL"] = 600] = "SMALL";
6
+ Breakpoint[Breakpoint["MEDIUM"] = 840] = "MEDIUM";
7
+ Breakpoint[Breakpoint["LARGE"] = 1160] = "LARGE";
8
+ /** @deprecated use LARGE */
9
+ Breakpoint[Breakpoint["EXTRA_LARGE"] = 1160] = "EXTRA_LARGE";
10
+ return Breakpoint;
11
+ }({});
12
+ //#endregion
13
+ exports.Breakpoint = Breakpoint;
package/breakpoints.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  @custom-media --screen-400-zoom (width <= 320px);
@@ -0,0 +1,11 @@
1
+ //#region dist/breakpoints.d.ts
2
+ declare enum Breakpoint {
3
+ EXTRA_SMALL = 320,
4
+ SMALL = 600,
5
+ MEDIUM = 840,
6
+ LARGE = 1160,
7
+ /** @deprecated use LARGE */
8
+ EXTRA_LARGE = 1160
9
+ }
10
+ //#endregion
11
+ export { Breakpoint };
@@ -0,0 +1,11 @@
1
+ //#region dist/breakpoints.d.ts
2
+ declare enum Breakpoint {
3
+ EXTRA_SMALL = 320,
4
+ SMALL = 600,
5
+ MEDIUM = 840,
6
+ LARGE = 1160,
7
+ /** @deprecated use LARGE */
8
+ EXTRA_LARGE = 1160
9
+ }
10
+ //#endregion
11
+ export { Breakpoint };
package/breakpoints.less CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  // @deprecated Use @screen-xs-min
6
6
  @screen-xs: 320px;
@@ -0,0 +1,12 @@
1
+ //#region dist/breakpoints.ts
2
+ let Breakpoint = /* @__PURE__ */ function(Breakpoint) {
3
+ Breakpoint[Breakpoint["EXTRA_SMALL"] = 320] = "EXTRA_SMALL";
4
+ Breakpoint[Breakpoint["SMALL"] = 600] = "SMALL";
5
+ Breakpoint[Breakpoint["MEDIUM"] = 840] = "MEDIUM";
6
+ Breakpoint[Breakpoint["LARGE"] = 1160] = "LARGE";
7
+ /** @deprecated use LARGE */
8
+ Breakpoint[Breakpoint["EXTRA_LARGE"] = 1160] = "EXTRA_LARGE";
9
+ return Breakpoint;
10
+ }({});
11
+ //#endregion
12
+ export { Breakpoint };
package/colors-base.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  :root {
package/colors-base.less CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-base-blue-light: #00b9ff;
6
6
  @color-base-blue-mid: #00a2dd;
package/index.cjs ADDED
@@ -0,0 +1,3 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_breakpoints = require("./breakpoints.cjs");
3
+ exports.Breakpoint = require_breakpoints.Breakpoint;
package/index.d.cts ADDED
@@ -0,0 +1,2 @@
1
+ import { Breakpoint } from "./breakpoints.cjs";
2
+ export { Breakpoint };
package/index.d.mts ADDED
@@ -0,0 +1,2 @@
1
+ import { Breakpoint } from "./breakpoints.mjs";
2
+ export { Breakpoint };
package/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import { Breakpoint } from "./breakpoints.mjs";
2
+ export { Breakpoint };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-tokens",
3
- "version": "0.0.0-experimental-c16f5d5",
3
+ "version": "0.0.0-experimental-e7e0b50",
4
4
  "description": "Design tokens for the Neptune Design System",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -9,19 +9,26 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/transferwise/neptune-tokens.git"
11
11
  },
12
- "main": "index.js",
13
- "types": "index.d.ts",
12
+ "main": "index.cjs",
13
+ "module": "index.mjs",
14
+ "types": "index.d.mts",
14
15
  "exports": {
15
16
  ".": {
16
- "types": "./index.d.ts",
17
- "default": "./index.js"
17
+ "types": {
18
+ "import": "./index.d.mts",
19
+ "require": "./index.d.cts"
20
+ },
21
+ "import": "./index.mjs",
22
+ "require": "./index.cjs"
18
23
  },
19
24
  "./*": "./*"
20
25
  },
21
26
  "files": [
22
27
  "*.css",
23
- "*.js",
24
- "*.d.ts",
28
+ "*.cjs",
29
+ "*.mjs",
30
+ "*.d.mts",
31
+ "*.d.cts",
25
32
  "*.json",
26
33
  "*.less",
27
34
  "themes/**/*"
@@ -34,6 +41,7 @@
34
41
  "less": "^4.6.4",
35
42
  "prettier": "^3.8.3",
36
43
  "style-dictionary": "^5.4.0",
44
+ "tsdown": "^0.22.0",
37
45
  "typescript": "^6.0.2"
38
46
  },
39
47
  "config": {
@@ -55,10 +63,10 @@
55
63
  },
56
64
  "scripts": {
57
65
  "test": "echo 'No tests ✅'",
58
- "build:ts:esm": "tsc -p tsconfig.dist.json",
66
+ "build:ts": "tsdown",
59
67
  "build:sd": "node src/config",
60
68
  "build:viewport": "chmod +x ./scripts/inject-viewport-theme.sh && ./scripts/inject-viewport-theme.sh",
61
- "build": "rm -rf ./dist && pnpm run build:sd && pnpm run build:ts:esm && pnpm run build:viewport",
69
+ "build": "rm -rf ./dist && pnpm run build:sd && pnpm run build:ts && pnpm run build:viewport",
62
70
  "changeset": "changeset",
63
71
  "release": "changeset publish"
64
72
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-business {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-business--bright-green {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-business--dark {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-business--forest-green {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  .np-theme-dark {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-content-primary: #e2e6e8;
6
6
  @color-content-secondary: #c9cbce;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  .np-theme-light {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-content-primary: #37517e;
6
6
  @color-content-secondary: #5d7079;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  .np-theme-navy {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-content-primary: #ffffff;
6
6
  @color-content-secondary: #c9cbce;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  .np-theme-personal {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-personal--bright-green {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  .np-theme-personal--dark {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  .np-theme-personal--forest-green {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-platform {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
  */
5
5
 
6
6
  .np-theme-platform--forest-green {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:11 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:15 GMT
4
4
 
5
5
  @color-bright-yellow: #ffeb69;
6
6
  @color-bright-orange: #ffc091;
package/tokens.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ * Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
  */
5
5
 
6
6
  :root {
package/tokens.less CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
+ // Generated on Fri, 08 May 2026 16:15:14 GMT
4
4
 
5
5
  @color-dark-content-primary: #e2e6e8;
6
6
  @color-dark-content-secondary: #c9cbce;
package/breakpoints.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export declare enum Breakpoint {
2
- EXTRA_SMALL = 320,
3
- SMALL = 600,
4
- MEDIUM = 840,
5
- LARGE = 1160,
6
- /** @deprecated use LARGE */
7
- EXTRA_LARGE = 1160
8
- }
package/breakpoints.js DELETED
@@ -1,11 +0,0 @@
1
- // Do not edit directly, this file was auto-generated.
2
- // Generated on Fri, 08 May 2026 15:28:10 GMT
3
- export var Breakpoint;
4
- (function (Breakpoint) {
5
- Breakpoint[Breakpoint["EXTRA_SMALL"] = 320] = "EXTRA_SMALL";
6
- Breakpoint[Breakpoint["SMALL"] = 600] = "SMALL";
7
- Breakpoint[Breakpoint["MEDIUM"] = 840] = "MEDIUM";
8
- Breakpoint[Breakpoint["LARGE"] = 1160] = "LARGE";
9
- /** @deprecated use LARGE */
10
- Breakpoint[Breakpoint["EXTRA_LARGE"] = 1160] = "EXTRA_LARGE";
11
- })(Breakpoint || (Breakpoint = {}));
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./breakpoints.ts";
package/index.js DELETED
@@ -1 +0,0 @@
1
- export * from "./breakpoints.js";
@@ -1,13 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "declaration": true,
4
- "module": "ESNext",
5
- "moduleResolution": "bundler",
6
- "rewriteRelativeImportExtensions": true,
7
- "target": "ESNext",
8
- "rootDir": "dist",
9
- "outDir": "dist"
10
- },
11
- "include": ["dist/**/*.ts"],
12
- "exclude": ["dist/**/*.d.ts"]
13
- }