@tamagui/themes 1.86.5 → 1.86.6

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/dist/cjs/v2.js CHANGED
@@ -1,7 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
7
  for (var name in all)
7
8
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -10,8 +11,15 @@ var __export = (target, all) => {
10
11
  for (let key of __getOwnPropNames(from))
11
12
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
13
  return to;
13
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
14
+ };
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
23
  var v2_exports = {};
16
24
  __export(v2_exports, {
17
25
  blue: () => import_colors.blue,
@@ -28,12 +36,14 @@ __export(v2_exports, {
28
36
  purpleDark: () => import_colors7.purpleDark,
29
37
  red: () => import_colors3.red,
30
38
  redDark: () => import_colors3.redDark,
39
+ themes: () => themes,
40
+ tokens: () => import_tokens.tokens,
31
41
  yellow: () => import_colors5.yellow,
32
42
  yellowDark: () => import_colors5.yellowDark
33
43
  });
34
44
  module.exports = __toCommonJS(v2_exports);
35
- __reExport(v2_exports, require("./v2-themes"), module.exports);
36
- var import_colors = require("@tamagui/colors"), import_colors2 = require("@tamagui/colors"), import_colors3 = require("@tamagui/colors"), import_colors4 = require("@tamagui/colors"), import_colors5 = require("@tamagui/colors"), import_colors6 = require("@tamagui/colors"), import_colors7 = require("@tamagui/colors"), import_colors8 = require("@tamagui/colors");
45
+ var generatedThemes = __toESM(require("./generated-v2")), import_tokens = require("./tokens"), import_colors = require("@tamagui/colors"), import_colors2 = require("@tamagui/colors"), import_colors3 = require("@tamagui/colors"), import_colors4 = require("@tamagui/colors"), import_colors5 = require("@tamagui/colors"), import_colors6 = require("@tamagui/colors"), import_colors7 = require("@tamagui/colors"), import_colors8 = require("@tamagui/colors");
46
+ const themes = generatedThemes;
37
47
  // Annotate the CommonJS export names for ESM import in node:
38
48
  0 && (module.exports = {
39
49
  blue,
@@ -50,8 +60,9 @@ var import_colors = require("@tamagui/colors"), import_colors2 = require("@tamag
50
60
  purpleDark,
51
61
  red,
52
62
  redDark,
63
+ themes,
64
+ tokens,
53
65
  yellow,
54
- yellowDark,
55
- ...require("./v2-themes")
66
+ yellowDark
56
67
  });
57
68
  //# sourceMappingURL=v2.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAc,wBAAd;AAGA,oBAA+B,4BAC/BA,iBAAiC,4BACjCA,iBAA6B,4BAC7BA,iBAAmC,4BACnCA,iBAAmC,4BACnCA,iBAA+B,4BAC/BA,iBAAmC,4BACnCA,iBAA+B;",
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAiC,oCAGjC,gBAAuB,qBAGvB,gBAA+B,4BAC/BA,iBAAiC,4BACjCA,iBAA6B,4BAC7BA,iBAAmC,4BACnCA,iBAAmC,4BACnCA,iBAA+B,4BAC/BA,iBAAmC,4BACnCA,iBAA+B;AAZxB,MAAM,SAAS;",
5
5
  "names": ["import_colors"]
6
6
  }
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
8
  for (var name in all)
8
9
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -11,8 +12,15 @@ var __export = (target, all) => {
11
12
  for (let key of __getOwnPropNames(from))
12
13
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
14
  return to;
14
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
24
  var v2_exports = {};
17
25
  __export(v2_exports, {
18
26
  blue: () => import_colors.blue,
@@ -29,12 +37,14 @@ __export(v2_exports, {
29
37
  purpleDark: () => import_colors7.purpleDark,
30
38
  red: () => import_colors3.red,
31
39
  redDark: () => import_colors3.redDark,
40
+ themes: () => themes,
41
+ tokens: () => import_tokens.tokens,
32
42
  yellow: () => import_colors5.yellow,
33
43
  yellowDark: () => import_colors5.yellowDark
34
44
  });
35
45
  module.exports = __toCommonJS(v2_exports);
36
- __reExport(v2_exports, require("./v2-themes"), module.exports);
37
- var import_colors = require("@tamagui/colors"), import_colors2 = require("@tamagui/colors"), import_colors3 = require("@tamagui/colors"), import_colors4 = require("@tamagui/colors"), import_colors5 = require("@tamagui/colors"), import_colors6 = require("@tamagui/colors"), import_colors7 = require("@tamagui/colors"), import_colors8 = require("@tamagui/colors");
46
+ var generatedThemes = __toESM(require("./generated-v2")), import_tokens = require("./tokens"), import_colors = require("@tamagui/colors"), import_colors2 = require("@tamagui/colors"), import_colors3 = require("@tamagui/colors"), import_colors4 = require("@tamagui/colors"), import_colors5 = require("@tamagui/colors"), import_colors6 = require("@tamagui/colors"), import_colors7 = require("@tamagui/colors"), import_colors8 = require("@tamagui/colors");
47
+ const themes = generatedThemes;
38
48
  // Annotate the CommonJS export names for ESM import in node:
39
49
  0 && (module.exports = {
40
50
  blue,
@@ -51,8 +61,9 @@ var import_colors = require("@tamagui/colors"), import_colors2 = require("@tamag
51
61
  purpleDark,
52
62
  red,
53
63
  redDark,
64
+ themes,
65
+ tokens,
54
66
  yellow,
55
- yellowDark,
56
- ...require("./v2-themes")
67
+ yellowDark
57
68
  });
58
69
  //# sourceMappingURL=v2.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAc,wBAAd;AAGA,oBAA+B,4BAC/BA,iBAAiC,4BACjCA,iBAA6B,4BAC7BA,iBAAmC,4BACnCA,iBAAmC,4BACnCA,iBAA+B,4BAC/BA,iBAAmC,4BACnCA,iBAA+B;",
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAiC,oCAGjC,gBAAuB,qBAGvB,gBAA+B,4BAC/BA,iBAAiC,4BACjCA,iBAA6B,4BAC7BA,iBAAmC,4BACnCA,iBAAmC,4BACnCA,iBAA+B,4BAC/BA,iBAAmC,4BACnCA,iBAA+B;AAZxB,MAAM,SAAS;",
5
5
  "names": ["import_colors"]
6
6
  }
package/dist/esm/v2.js CHANGED
@@ -1,4 +1,5 @@
1
- export * from "./v2-themes";
1
+ import * as generatedThemes from "./generated-v2";
2
+ import { tokens } from "./tokens";
2
3
  import { blue, blueDark } from "@tamagui/colors";
3
4
  import { green, greenDark } from "@tamagui/colors";
4
5
  import { red, redDark } from "@tamagui/colors";
@@ -7,6 +8,7 @@ import { yellow, yellowDark } from "@tamagui/colors";
7
8
  import { pink, pinkDark } from "@tamagui/colors";
8
9
  import { purple, purpleDark } from "@tamagui/colors";
9
10
  import { gray, grayDark } from "@tamagui/colors";
11
+ const themes = generatedThemes;
10
12
  export {
11
13
  blue,
12
14
  blueDark,
@@ -22,6 +24,8 @@ export {
22
24
  purpleDark,
23
25
  red,
24
26
  redDark,
27
+ themes,
28
+ tokens,
25
29
  yellow,
26
30
  yellowDark
27
31
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2.tsx"],
4
- "mappings": "AAAA,cAAc;AAGd,SAAS,MAAM,gBAAgB;AAC/B,SAAS,OAAO,iBAAiB;AACjC,SAAS,KAAK,eAAe;AAC7B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;AAC/B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;",
4
+ "mappings": "AAAA,YAAY,qBAAqB;AAGjC,SAAS,cAAc;AAGvB,SAAS,MAAM,gBAAgB;AAC/B,SAAS,OAAO,iBAAiB;AACjC,SAAS,KAAK,eAAe;AAC7B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;AAC/B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;AAZxB,MAAM,SAAS;",
5
5
  "names": []
6
6
  }
@@ -1,4 +1,5 @@
1
- export * from "./v2-themes";
1
+ import * as generatedThemes from "./generated-v2";
2
+ import { tokens } from "./tokens";
2
3
  import { blue, blueDark } from "@tamagui/colors";
3
4
  import { green, greenDark } from "@tamagui/colors";
4
5
  import { red, redDark } from "@tamagui/colors";
@@ -7,6 +8,7 @@ import { yellow, yellowDark } from "@tamagui/colors";
7
8
  import { pink, pinkDark } from "@tamagui/colors";
8
9
  import { purple, purpleDark } from "@tamagui/colors";
9
10
  import { gray, grayDark } from "@tamagui/colors";
11
+ const themes = generatedThemes;
10
12
  export {
11
13
  blue,
12
14
  blueDark,
@@ -22,6 +24,8 @@ export {
22
24
  purpleDark,
23
25
  red,
24
26
  redDark,
27
+ themes,
28
+ tokens,
25
29
  yellow,
26
30
  yellowDark
27
31
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2.tsx"],
4
- "mappings": "AAAA,cAAc;AAGd,SAAS,MAAM,gBAAgB;AAC/B,SAAS,OAAO,iBAAiB;AACjC,SAAS,KAAK,eAAe;AAC7B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;AAC/B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;",
4
+ "mappings": "AAAA,YAAY,qBAAqB;AAGjC,SAAS,cAAc;AAGvB,SAAS,MAAM,gBAAgB;AAC/B,SAAS,OAAO,iBAAiB;AACjC,SAAS,KAAK,eAAe;AAC7B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;AAC/B,SAAS,QAAQ,kBAAkB;AACnC,SAAS,MAAM,gBAAgB;AAZxB,MAAM,SAAS;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/themes",
3
- "version": "1.86.5",
3
+ "version": "1.86.6",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -48,14 +48,14 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@tamagui/colors": "1.86.5",
52
- "@tamagui/create-theme": "1.86.5",
53
- "@tamagui/theme-builder": "1.86.5",
54
- "@tamagui/web": "1.86.5"
51
+ "@tamagui/colors": "1.86.6",
52
+ "@tamagui/create-theme": "1.86.6",
53
+ "@tamagui/theme-builder": "1.86.6",
54
+ "@tamagui/web": "1.86.6"
55
55
  },
56
56
  "devDependencies": {
57
- "@tamagui/build": "1.86.5",
58
- "@tamagui/cli": "1.86.5",
57
+ "@tamagui/build": "1.86.6",
58
+ "@tamagui/cli": "1.86.6",
59
59
  "vitest": "^0.34.3"
60
60
  },
61
61
  "publishConfig": {
package/src/v2.tsx CHANGED
@@ -1,4 +1,7 @@
1
- export * from './v2-themes'
1
+ import * as generatedThemes from './generated-v2'
2
+ export const themes = generatedThemes
3
+
4
+ export { tokens } from './tokens'
2
5
 
3
6
  // specific colors since we have cjs here
4
7
  export { blue, blueDark } from '@tamagui/colors'
package/types/v2.d.ts CHANGED
@@ -1,4 +1,6 @@
1
- export * from './v2-themes';
1
+ import * as generatedThemes from './generated-v2';
2
+ export declare const themes: typeof generatedThemes;
3
+ export { tokens } from './tokens';
2
4
  export { blue, blueDark } from '@tamagui/colors';
3
5
  export { green, greenDark } from '@tamagui/colors';
4
6
  export { red, redDark } from '@tamagui/colors';
package/types/v2.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../src/v2.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAG3B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../src/v2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,gBAAgB,CAAA;AACjD,eAAO,MAAM,MAAM,wBAAkB,CAAA;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA"}