@neo4j-ndl/base 1.10.3 → 2.0.0-alpha-e609471

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 (33) hide show
  1. package/lib/LICENSES.txt +2105 -67
  2. package/lib/NOTICE.txt +30 -31
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/tailwind-preset.config.js +8 -8
  5. package/lib/cjs/tailwindTheme.js +64 -32
  6. package/lib/cjs/tailwindTheme.js.map +1 -1
  7. package/lib/cjs/tokens/js/storybook-design-token.js +1972 -882
  8. package/lib/cjs/tokens/js/storybook-design-token.js.map +1 -1
  9. package/lib/cjs/tokens/js/tokens-esm.js +374 -238
  10. package/lib/cjs/tokens/js/tokens-esm.js.map +1 -1
  11. package/lib/cjs/tokens/js/tokens.js +373 -237
  12. package/lib/cjs/tokens/js/tokens.js.map +1 -1
  13. package/lib/cjs/typescale.js +16 -16
  14. package/lib/cjs/typings.js +1 -1
  15. package/lib/esm/tailwindTheme.js +53 -24
  16. package/lib/esm/tailwindTheme.js.map +1 -1
  17. package/lib/esm/tokens/js/storybook-design-token.js +1971 -881
  18. package/lib/esm/tokens/js/storybook-design-token.js.map +1 -1
  19. package/lib/esm/tokens/js/tokens-esm.js +373 -237
  20. package/lib/esm/tokens/js/tokens-esm.js.map +1 -1
  21. package/lib/esm/tokens/js/tokens.js +373 -237
  22. package/lib/esm/tokens/js/tokens.js.map +1 -1
  23. package/lib/neo4j-ds-styles.css +41086 -31403
  24. package/lib/tokens/css/tokens.css +260 -150
  25. package/lib/tokens/js/tokens-raw.js +5445 -3032
  26. package/lib/tokens/js/tokens.js +373 -237
  27. package/lib/tokens/scss/tokens.scss +260 -150
  28. package/lib/types/tokens/js/storybook-design-token.d.ts +22 -9
  29. package/lib/types/tokens/js/tokens-esm.d.ts +486 -328
  30. package/lib/types/tokens/js/tokens.d.ts +486 -328
  31. package/lib/types/typings.d.ts +1 -1
  32. package/package.json +8 -9
  33. package/CHANGELOG.md +0 -807
package/lib/NOTICE.txt CHANGED
@@ -27,14 +27,6 @@ Third-party licenses
27
27
  │ │ ├─ URL: https://github.com/babel/babel.git
28
28
  │ │ ├─ VendorName: The Babel Team
29
29
  │ │ └─ VendorUrl: https://babel.dev/docs/en/next/babel-core
30
- │ ├─ @babel/preset-env@npm:7.21.5 [a2e03] (via npm:^7.16.4 [a2e03])
31
- │ │ ├─ URL: https://github.com/babel/babel.git
32
- │ │ ├─ VendorName: The Babel Team
33
- │ │ └─ VendorUrl: https://babel.dev/docs/en/next/babel-preset-env
34
- │ ├─ @babel/preset-react@npm:7.18.6 [a2e03] (via npm:^7.16.0 [a2e03])
35
- │ │ ├─ URL: https://github.com/babel/babel.git
36
- │ │ ├─ VendorName: The Babel Team
37
- │ │ └─ VendorUrl: https://babel.dev/docs/en/next/babel-preset-react
38
30
  │ ├─ @changesets/cli@npm:2.26.1 (via npm:^2.22.0)
39
31
  │ │ ├─ URL: https://github.com/changesets/changesets/tree/main/packages/cli
40
32
  │ │ └─ VendorName: Changesets Contributors
@@ -50,7 +42,7 @@ Third-party licenses
50
42
  │ │ ├─ URL: https://github.com/conventional-changelog/commitlint.git
51
43
  │ │ ├─ VendorName: Mario Nebl
52
44
  │ │ └─ VendorUrl: https://commitlint.js.org/
53
- │ ├─ @floating-ui/react@npm:0.24.2 [a2e03] (via npm:^0.24.2 [a2e03])
45
+ │ ├─ @floating-ui/react@npm:0.25.1 [a2e03] (via npm:0.25.1 [a2e03])
54
46
  │ │ ├─ URL: https://github.com/floating-ui/floating-ui.git
55
47
  │ │ ├─ VendorName: atomiks
56
48
  │ │ └─ VendorUrl: https://floating-ui.com/docs/react
@@ -91,15 +83,19 @@ Third-party licenses
91
83
  │ │ ├─ URL: git+https://github.com/tanstack/table.git
92
84
  │ │ ├─ VendorName: Tanner Linsley
93
85
  │ │ └─ VendorUrl: https://github.com/tanstack/table#readme
86
+ │ ├─ @testing-library/jest-dom@npm:5.17.0 (via npm:5.17.0)
87
+ │ │ ├─ URL: https://github.com/testing-library/jest-dom
88
+ │ │ ├─ VendorName: Ernesto Garcia
89
+ │ │ └─ VendorUrl: https://github.com/testing-library/jest-dom#readme
94
90
  │ ├─ @testing-library/jest-dom@npm:5.16.5 (via npm:^5.15.1)
95
91
  │ │ ├─ URL: https://github.com/testing-library/jest-dom
96
92
  │ │ ├─ VendorName: Ernesto Garcia
97
93
  │ │ └─ VendorUrl: https://github.com/testing-library/jest-dom#readme
98
- │ ├─ @testing-library/react@npm:12.1.5 [a2e03] (via npm:^12.1.2 [a2e03])
94
+ │ ├─ @testing-library/react@npm:14.0.0 [a2e03] (via npm:14.0.0 [a2e03])
99
95
  │ │ ├─ URL: https://github.com/testing-library/react-testing-library
100
96
  │ │ ├─ VendorName: Kent C. Dodds
101
97
  │ │ └─ VendorUrl: https://github.com/testing-library/react-testing-library#readme
102
- │ ├─ @testing-library/user-event@npm:14.4.3 [a2e03] (via npm:^14.4.3 [a2e03])
98
+ │ ├─ @testing-library/user-event@npm:14.4.3 [a2e03] (via npm:14.4.3 [a2e03])
103
99
  │ │ ├─ URL: https://github.com/testing-library/user-event
104
100
  │ │ ├─ VendorName: Giorgio Polvara
105
101
  │ │ └─ VendorUrl: https://github.com/testing-library/user-event#readme
@@ -114,13 +110,13 @@ Third-party licenses
114
110
  │ ├─ @types/node@npm:16.18.27 (via npm:^16.11.7)
115
111
  │ │ ├─ URL: https://github.com/DefinitelyTyped/DefinitelyTyped.git
116
112
  │ │ └─ VendorUrl: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
117
- │ ├─ @types/react@npm:17.0.62 (via npm:^17.0.62)
113
+ │ ├─ @types/react@npm:18.2.18 (via npm:18.2.18)
118
114
  │ │ ├─ URL: https://github.com/DefinitelyTyped/DefinitelyTyped.git
119
115
  │ │ └─ VendorUrl: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react
120
116
  │ ├─ @types/react-datepicker@npm:4.11.2 (via npm:^4.11.2)
121
117
  │ │ ├─ URL: https://github.com/DefinitelyTyped/DefinitelyTyped.git
122
118
  │ │ └─ VendorUrl: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-datepicker
123
- │ ├─ @types/react-dom@npm:17.0.18 (via npm:17.0.18)
119
+ │ ├─ @types/react-dom@npm:18.2.7 (via npm:18.2.7)
124
120
  │ │ ├─ URL: https://github.com/DefinitelyTyped/DefinitelyTyped.git
125
121
  │ │ └─ VendorUrl: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom
126
122
  │ ├─ @types/react-resizable@npm:3.0.4 (via npm:^3.0.4)
@@ -146,8 +142,6 @@ Third-party licenses
146
142
  │ ├─ autoprefixer@npm:10.4.14 [708d2] (via npm:^10.4.0 [708d2])
147
143
  │ │ ├─ URL: git+https://github.com/postcss/autoprefixer.git
148
144
  │ │ └─ VendorName: Andrey Sitnik
149
- │ ├─ babel-jest@npm:27.5.1 [a2e03] (via npm:^27.3.1 [a2e03])
150
- │ │ └─ URL: https://github.com/facebook/jest.git
151
145
  │ ├─ chalk@npm:5.2.0 (via npm:^5.1.0)
152
146
  │ │ └─ URL: git+https://github.com/chalk/chalk.git
153
147
  │ ├─ chromatic@npm:6.17.4 (via npm:^6.5.1)
@@ -202,12 +196,11 @@ Third-party licenses
202
196
  │ │ ├─ URL: git+https://github.com/typicode/husky.git
203
197
  │ │ ├─ VendorName: Typicode
204
198
  │ │ └─ VendorUrl: https://typicode.github.io/husky
205
- │ ├─ jest@npm:27.5.1 [708d2] (via npm:^27.3.1 [708d2])
206
- │ │ ├─ URL: https://github.com/facebook/jest
207
- │ │ └─ VendorUrl: https://jestjs.io/
208
199
  │ ├─ jest-axe@npm:5.0.1 (via npm:^5.0.1)
209
200
  │ │ ├─ URL: git+https://github.com/nickcolley/jest-axe.git
210
201
  │ │ └─ VendorName: Nick Colley
202
+ │ ├─ jsdom@npm:22.1.0 [a2e03] (via npm:22.1.0 [a2e03])
203
+ │ │ └─ URL: git+https://github.com/jsdom/jsdom.git
211
204
  │ ├─ postcss@npm:8.4.23 (via npm:^8.4.18)
212
205
  │ │ ├─ URL: git+https://github.com/postcss/postcss.git
213
206
  │ │ ├─ VendorName: Andrey Sitnik
@@ -233,14 +226,14 @@ Third-party licenses
233
226
  │ │ ├─ URL: https://github.com/bokuweb/react-resizable-box.git
234
227
  │ │ ├─ VendorName: bokuweb
235
228
  │ │ └─ VendorUrl: https://github.com/bokuweb/react-resizable-box
236
- │ ├─ react@npm:17.0.2 (via npm:^17.0.2)
229
+ │ ├─ react@npm:18.2.0 (via npm:18.2.0)
237
230
  │ │ ├─ URL: https://github.com/facebook/react.git
238
231
  │ │ └─ VendorUrl: https://reactjs.org/
239
232
  │ ├─ react-datepicker@npm:4.14.1 [a2e03] (via npm:^4.14.1 [a2e03])
240
233
  │ │ ├─ URL: git://github.com/Hacker0x01/react-datepicker.git
241
234
  │ │ ├─ VendorName: HackerOne
242
235
  │ │ └─ VendorUrl: https://github.com/Hacker0x01/react-datepicker
243
- │ ├─ react-dom@npm:17.0.2 [d75d7] (via npm:^17.0.2 [d75d7])
236
+ │ ├─ react-dom@npm:18.2.0 [d75d7] (via npm:18.2.0 [d75d7])
244
237
  │ │ ├─ URL: https://github.com/facebook/react.git
245
238
  │ │ └─ VendorUrl: https://reactjs.org/
246
239
  │ ├─ react-dropzone@npm:14.2.3 [a2e03] (via npm:^14.0.0 [a2e03])
@@ -296,10 +289,6 @@ Third-party licenses
296
289
  │ │ ├─ URL: https://github.com/bgrins/TinyColor.git
297
290
  │ │ ├─ VendorName: Brian Grinstead
298
291
  │ │ └─ VendorUrl: http://briangrinstead.com
299
- │ ├─ ts-jest@npm:27.1.5 [a2e03] (via npm:^27.0.7 [a2e03])
300
- │ │ ├─ URL: git+https://github.com/kulshekhar/ts-jest.git
301
- │ │ ├─ VendorName: Kulshekhar Kabra
302
- │ │ └─ VendorUrl: https://kulshekhar.github.io/ts-jest
303
292
  │ ├─ ts-node@npm:10.9.1 [708d2] (via npm:^10.4.0 [708d2])
304
293
  │ │ ├─ URL: git://github.com/TypeStrong/ts-node.git
305
294
  │ │ ├─ VendorName: Blake Embrey
@@ -312,9 +301,13 @@ Third-party licenses
312
301
  │ │ ├─ URL: https://github.com/Dschungelabenteuer/vite-plugin-entry-shaking
313
302
  │ │ ├─ VendorName: Charles Gruenais
314
303
  │ │ └─ VendorUrl: https://github.com/Dschungelabenteuer/vite-plugin-entry-shaking/tree/main/#readme
315
- └─ vite-tsconfig-paths@npm:3.6.0 [d75d7] (via npm:^3.5.2 [d75d7])
316
- ├─ URL: git+https://github.com/aleclarson/vite-tsconfig-paths.git
317
- └─ VendorName: aleclarson
304
+ ├─ vite-tsconfig-paths@npm:3.6.0 [d75d7] (via npm:^3.5.2 [d75d7])
305
+ ├─ URL: git+https://github.com/aleclarson/vite-tsconfig-paths.git
306
+ └─ VendorName: aleclarson
307
+ │ └─ vitest@npm:0.34.1 [a2e03] (via npm:0.34.1 [a2e03])
308
+ │ ├─ URL: git+https://github.com/vitest-dev/vitest.git
309
+ │ ├─ VendorName: Anthony Fu
310
+ │ └─ VendorUrl: https://github.com/vitest-dev/vitest#readme
318
311
 
319
312
  ├─ Apache-2.0
320
313
  │ ├─ @neo4j-cypher/react-codemirror@npm:1.0.2 [a2e03] (via npm:^1.0.1 [a2e03])
@@ -330,18 +323,24 @@ Third-party licenses
330
323
  │ │ ├─ URL: git://github.com/amzn/style-dictionary.git
331
324
  │ │ ├─ VendorName: Amazon
332
325
  │ │ └─ VendorUrl: https://github.com/amzn/style-dictionary
333
- │ └─ typescript@patch:typescript@npm%3A4.8.4#~builtin<compat/typescript>::version=4.8.4&hash=bda367 (via patch:typescript@npm%3A4.8.4#~builtin<compat/typescript>)
326
+ │ └─ typescript@patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>::version=5.1.6&hash=bda367 (via patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>)
334
327
  │ ├─ URL: https://github.com/Microsoft/TypeScript.git
335
328
  │ ├─ VendorName: Microsoft Corp.
336
329
  │ └─ VendorUrl: https://www.typescriptlang.org/
337
330
 
338
331
  ├─ GPL-3.0
339
332
  │ ├─ @neo4j-ndl/base@workspace:packages/base (via workspace:packages/base)
340
- │ │ └─ VendorName: Neo4j Inc.
333
+ │ │ ├─ URL: https://www.neo4j.design
334
+ │ │ ├─ VendorName: Neo4j Inc.
335
+ │ │ └─ VendorUrl: https://www.neo4j.design
341
336
  │ ├─ @neo4j-ndl/react@workspace:packages/react [d75d7] (via workspace:^ [d75d7])
342
- │ │ └─ VendorName: Neo4j Inc.
337
+ │ │ ├─ URL: https://www.neo4j.design
338
+ │ │ ├─ VendorName: Neo4j Inc.
339
+ │ │ └─ VendorUrl: https://www.neo4j.design
343
340
  │ ├─ @neo4j-ndl/react@workspace:packages/react (via workspace:packages/react)
344
- │ │ └─ VendorName: Neo4j Inc.
341
+ │ │ ├─ URL: https://www.neo4j.design
342
+ │ │ ├─ VendorName: Neo4j Inc.
343
+ │ │ └─ VendorUrl: https://www.neo4j.design
345
344
  │ ├─ @neo4j-ndl/storybook@workspace:packages/storybook (via workspace:packages/storybook)
346
345
  │ └─ root@workspace:. (via workspace:.)
347
346
 
package/lib/cjs/index.js CHANGED
@@ -33,7 +33,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
33
33
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
34
34
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
35
35
  };
36
- exports.__esModule = true;
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  __exportStar(require("./typings"), exports);
38
38
  __exportStar(require("./tokens/js/tokens-esm"), exports);
39
39
  __exportStar(require("./typescale"), exports);
@@ -30,7 +30,7 @@ var __assign = (this && this.__assign) || function () {
30
30
  };
31
31
  return __assign.apply(this, arguments);
32
32
  };
33
- exports.__esModule = true;
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
34
  exports.tailwindConfig = void 0;
35
35
  var tailwindTheme_js_1 = require("./tailwindTheme.js");
36
36
  var tokens_esm_1 = require("./tokens/js/tokens-esm");
@@ -53,34 +53,34 @@ exports.tailwindConfig = {
53
53
  safelist: [
54
54
  {
55
55
  pattern: /^(hover:)?n-text-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/,
56
- variants: ['hover']
56
+ variants: ['hover'],
57
57
  },
58
58
  {
59
59
  pattern: /^(hover:)?n-bg-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/,
60
- variants: ['hover']
60
+ variants: ['hover'],
61
61
  },
62
62
  {
63
63
  // For clicked classes
64
64
  pattern: /^(active:)?n-bg-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/,
65
- variants: ['active']
65
+ variants: ['active'],
66
66
  },
67
67
  {
68
68
  pattern: /^(hover:)?n-border-(palette|dark|light|primary|danger|warning|success|blueberry|mint|neutral)-/,
69
- variants: ['hover']
69
+ variants: ['hover'],
70
70
  },
71
71
  ],
72
72
  theme: __assign(__assign({}, tailwindTheme_js_1.tailwindTheme), { extend: {
73
73
  colors: {
74
74
  transparent: 'transparent',
75
- current: 'currentColor'
75
+ current: 'currentColor',
76
76
  },
77
77
  spacing: __assign({}, Object.keys(tokens_esm_1.tokens.space).reduce(function (accumulator, currentValue) {
78
78
  var _a;
79
79
  return (__assign(__assign({}, accumulator), (_a = {}, _a["token-".concat(currentValue)] = tokens_esm_1.tokens.space[currentValue], _a)));
80
- }, {}))
80
+ }, {})),
81
81
  } }),
82
82
  // Enable only necessary plugins
83
83
  // https://tailwindcss.com/docs/configuration#core-plugins
84
- plugins: []
84
+ plugins: [],
85
85
  };
86
86
  //# sourceMappingURL=tailwind-preset.config.js.map
@@ -41,15 +41,17 @@ var __rest = (this && this.__rest) || function (s, e) {
41
41
  }
42
42
  return t;
43
43
  };
44
- exports.__esModule = true;
44
+ Object.defineProperty(exports, "__esModule", { value: true });
45
45
  exports.tailwindTheme = void 0;
46
46
  var tokens_esm_1 = require("./tokens/js/tokens-esm");
47
47
  /**
48
- * Create an agnostic palette for tailwind
49
- * TODO: v2
50
- * The custom logic for color conversion can be fixed
51
- * when we are consistent with our tokens in v2:
52
- * https://github.com/neo4j/neo4j-design/pull/316
48
+ * This function is adding agnostic
49
+ * palette classes to the tailwind config.
50
+ *
51
+ * Example class:
52
+ * `.n-palette-light-primary-text-default`
53
+ * will point to the scoped CSS variable:
54
+ * `--theme-palette-primary-text-default`
53
55
  */
54
56
  var themedPalette = function () {
55
57
  var result = {};
@@ -62,50 +64,80 @@ var themedPalette = function () {
62
64
  }
63
65
  if (typeof input === 'string') {
64
66
  /**
65
- * Values can be in the form of:
66
- * - 255, 255, 255
67
- * - rgba(255, 255, 255, 0.5)
68
- * - #ffffff
69
- * Regardless of the values, we transform the CSS to RGB always,
70
- * except the case with alpha channel that we use `rgba(...)`
71
- * in tokens.css, so the values can only be:
72
- * - 255, 255, 255
73
- * - rgba(255, 255, 255, 0.5)
67
+ * Values will always be in the RGBA form:
68
+ * - 255, 255, 255 / 0.5
69
+ * And we wrap them to rgb() CSS function
74
70
  */
75
- if (input.startsWith('rgba')) {
76
- result[flatkey] = "var(--".concat(flatkey, ")");
77
- }
78
- else {
79
- result[flatkey] = "rgb(var(--".concat(flatkey, "))");
80
- }
71
+ flatkey = flatkey.replace('light-', '');
72
+ result[flatkey] = "rgb(var(--theme-".concat(flatkey, "))");
81
73
  }
82
74
  };
83
- extractValue(tokens_esm_1.tokens.palette.dark, 'palette');
75
+ extractValue(tokens_esm_1.tokens.theme.light.palette, 'palette');
84
76
  return result;
85
77
  };
86
78
  var _a = tokens_esm_1.tokens.zIndex, zIndexAlias = _a.alias, zIndexWithoutAlias = __rest(_a, ["alias"]);
79
+ /**
80
+ * This function is adding agnostic
81
+ * shadow classes to the tailwind config.
82
+ *
83
+ * Example class:
84
+ * `.n-shadow-overlay`
85
+ * will point to the scoped CSS variable:
86
+ * `--theme-shadow-overlay`
87
+ */
88
+ var themedShadows = function () {
89
+ var result = {};
90
+ var extractValue = function (input, flatkey) {
91
+ if (flatkey === void 0) { flatkey = ''; }
92
+ if (typeof input === 'object') {
93
+ Object.keys(input).forEach(function (key) {
94
+ extractValue(input[key], "".concat(flatkey, "-").concat(key));
95
+ });
96
+ }
97
+ if (typeof input === 'string') {
98
+ flatkey = flatkey.replace('light-', '');
99
+ // Remove "shadow-" prefix as tailwind appends it automatically
100
+ var key = flatkey.replace('shadow-', '');
101
+ result[key] = "var(--theme-".concat(flatkey, ")");
102
+ }
103
+ };
104
+ extractValue(tokens_esm_1.tokens.theme.light.boxShadow, 'shadow');
105
+ return result;
106
+ };
107
+ /** Prefixes all keys of an object with a given string, used for flat objects only */
108
+ var prefixProperties = function (obj, prefix) {
109
+ return Object.keys(obj).reduce(function (acc, curr) {
110
+ acc["".concat(prefix, "-").concat(curr)] = obj[curr];
111
+ return acc;
112
+ }, {});
113
+ };
87
114
  /** @type {import('tailwindcss').Config['theme']} */
88
115
  exports.tailwindTheme = {
89
- colors: __assign(__assign(__assign({}, tokens_esm_1.tokens.colors), tokens_esm_1.tokens.palette), themedPalette()),
116
+ colors: __assign(__assign(__assign({}, tokens_esm_1.tokens.colors), { dark: __assign({}, tokens_esm_1.tokens.theme.dark.palette), light: __assign({}, tokens_esm_1.tokens.theme.light.palette) }), themedPalette()),
90
117
  borderRadius: tokens_esm_1.tokens.borderRadius,
91
- boxShadow: tokens_esm_1.tokens.boxShadow,
118
+ boxShadow: __assign(__assign(__assign({}, prefixProperties(tokens_esm_1.tokens.theme.dark.boxShadow, 'dark')), prefixProperties(tokens_esm_1.tokens.theme.light.boxShadow, 'light')), themedShadows()),
119
+ /**
120
+ * Avoid colors being generated as shadow color classes
121
+ * Source: https://github.com/tailwindlabs/tailwindcss/discussions/11933
122
+ */
123
+ boxShadowColor: {},
92
124
  zIndex: __assign(__assign({}, zIndexAlias), zIndexWithoutAlias),
93
125
  fontFamily: {
94
- sans: ['"Nunito Sans"'],
95
- mono: ['"Fira Code"']
126
+ sans: ['"Public Sans"'],
127
+ mono: ['"Fira Code"'],
96
128
  },
97
129
  screens: __assign({}, tokens_esm_1.tokens.breakpoints),
98
130
  /** Use our custom animation tokens */
99
131
  transitionTimingFunction: {
100
- all: tokens_esm_1.tokens.transitions.values['timing-function']["default"],
101
- DEFAULT: tokens_esm_1.tokens.transitions.values['timing-function']["default"]
132
+ all: tokens_esm_1.tokens.transitions.values['timing-function'].default,
133
+ DEFAULT: tokens_esm_1.tokens.transitions.values['timing-function'].default,
102
134
  },
103
135
  transitionDuration: {
104
- all: tokens_esm_1.tokens.transitions.values.duration["default"],
105
- DEFAULT: tokens_esm_1.tokens.transitions.values.duration["default"]
136
+ all: tokens_esm_1.tokens.transitions.values.duration.default,
137
+ DEFAULT: tokens_esm_1.tokens.transitions.values.duration.default,
106
138
  },
107
139
  transitionProperty: {
108
- all: tokens_esm_1.tokens.transitions.values.properties["default"]
109
- }
140
+ all: tokens_esm_1.tokens.transitions.values.properties.default,
141
+ },
110
142
  };
111
143
  //# sourceMappingURL=tailwindTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindTheme.js","sourceRoot":"","sources":["../../src/tailwindTheme.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qDAAgD;AAEhD;;;;;;GAMG;AACH,IAAM,aAAa,GAAG;IACpB,IAAM,MAAM,GAAG,EAAE,CAAC;IAClB,IAAM,YAAY,GAAG,UAAC,KAAK,EAAE,OAAY;QAAZ,wBAAA,EAAA,YAAY;QACvC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAC,GAAG;gBAC7B,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,UAAG,OAAO,cAAI,GAAG,CAAE,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;SACJ;QACD,IAAI,OAAO,KAAK,KAAK,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