@neo4j-ndl/base 0.16.0 → 1.0.0-alpha-4cfc0f0

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 (50) hide show
  1. package/lib/cjs/index.js +42 -0
  2. package/lib/cjs/index.js.map +1 -0
  3. package/lib/{optimised.config.js → cjs/tailwind-preset.config.js} +18 -6
  4. package/lib/cjs/tailwind-preset.config.js.map +1 -0
  5. package/lib/{tailwindConfig.js → cjs/tailwindTheme.js} +22 -7
  6. package/lib/cjs/tailwindTheme.js.map +1 -0
  7. package/lib/cjs/tokens/js/tokens-esm.js +250 -0
  8. package/lib/cjs/tokens/js/tokens-esm.js.map +1 -0
  9. package/lib/cjs/tokens/js/tokens.js +248 -0
  10. package/lib/cjs/tokens/js/tokens.js.map +1 -0
  11. package/lib/cjs/typescale.js +147 -0
  12. package/lib/cjs/typescale.js.map +1 -0
  13. package/lib/{typings.js → cjs/typings.js} +0 -0
  14. package/lib/cjs/typings.js.map +1 -0
  15. package/lib/esm/index.js +26 -0
  16. package/lib/esm/index.js.map +1 -0
  17. package/lib/esm/tailwind-preset.config.js +74 -0
  18. package/lib/esm/tailwind-preset.config.js.map +1 -0
  19. package/lib/esm/tailwindTheme.js +45 -0
  20. package/lib/esm/tailwindTheme.js.map +1 -0
  21. package/lib/esm/tokens/js/tokens-esm.js +247 -0
  22. package/lib/esm/tokens/js/tokens-esm.js.map +1 -0
  23. package/lib/esm/tokens/js/tokens.js +248 -0
  24. package/lib/esm/tokens/js/tokens.js.map +1 -0
  25. package/lib/esm/typescale.js +144 -0
  26. package/lib/esm/typescale.js.map +1 -0
  27. package/lib/esm/typings.js +22 -0
  28. package/lib/esm/typings.js.map +1 -0
  29. package/lib/neo4j-ds-styles.css +26243 -2194
  30. package/lib/tokens/css/tokens.css +34 -26
  31. package/lib/tokens/js/tokens-raw.js +229 -71
  32. package/lib/tokens/js/tokens.js +231 -214
  33. package/lib/tokens/scss/tokens.scss +34 -26
  34. package/lib/types/index.d.ts +25 -0
  35. package/lib/types/tailwind-preset.config.d.ts +7 -0
  36. package/lib/types/tailwindTheme.d.ts +2 -0
  37. package/lib/types/tokens/js/tokens-esm.d.ts +297 -0
  38. package/lib/{tokens → types/tokens}/js/tokens.d.ts +27 -8
  39. package/lib/{typescale.d.ts → types/typescale.d.ts} +9 -10
  40. package/lib/{typings.d.ts → types/typings.d.ts} +0 -0
  41. package/package.json +29 -12
  42. package/CHANGELOG.md +0 -369
  43. package/lib/optimised.config.d.ts +0 -206
  44. package/lib/optimised.config.js.map +0 -1
  45. package/lib/tailwindConfig.d.ts +0 -186
  46. package/lib/tailwindConfig.js.map +0 -1
  47. package/lib/tokens/js/tokens.js.map +0 -1
  48. package/lib/typescale.js +0 -137
  49. package/lib/typescale.js.map +0 -1
  50. package/lib/typings.js.map +0 -1
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ exports.__esModule = true;
23
+ exports.typescale = void 0;
24
+ var tokens_esm_1 = require("./tokens/js/tokens-esm");
25
+ exports.typescale = {
26
+ h1: [
27
+ tokens_esm_1.tokens.font.size.h1,
28
+ {
29
+ letterSpacing: '-0.016rem',
30
+ lineHeight: '3.75rem',
31
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
32
+ },
33
+ ],
34
+ h2: [
35
+ tokens_esm_1.tokens.font.size.h2,
36
+ {
37
+ letterSpacing: '0',
38
+ lineHeight: '3rem',
39
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
40
+ },
41
+ ],
42
+ h3: [
43
+ tokens_esm_1.tokens.font.size.h3,
44
+ {
45
+ letterSpacing: '0.016rem',
46
+ lineHeight: '2.5rem',
47
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
48
+ },
49
+ ],
50
+ h4: [
51
+ tokens_esm_1.tokens.font.size.h4,
52
+ {
53
+ letterSpacing: '0.016rem',
54
+ lineHeight: '2rem',
55
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
56
+ },
57
+ ],
58
+ h5: [
59
+ tokens_esm_1.tokens.font.size.h5,
60
+ {
61
+ letterSpacing: '0.016rem',
62
+ lineHeight: '1.75rem',
63
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
64
+ },
65
+ ],
66
+ h6: [
67
+ tokens_esm_1.tokens.font.size.h6,
68
+ {
69
+ letterSpacing: '0.016rem',
70
+ lineHeight: '1.5rem',
71
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
72
+ },
73
+ ],
74
+ 'n-subheading-large': [
75
+ // --font-size-subheading-large
76
+ tokens_esm_1.tokens.font.size['subheading-large'],
77
+ {
78
+ letterSpacing: '0.016rem',
79
+ lineHeight: '1.75rem',
80
+ fontWeight: tokens_esm_1.tokens.font.weight.semibold
81
+ },
82
+ ],
83
+ 'n-subheading-medium': [
84
+ // --font-size-subheading-medium
85
+ tokens_esm_1.tokens.font.size['subheading-medium'],
86
+ {
87
+ letterSpacing: '0.016rem',
88
+ lineHeight: '1.5rem',
89
+ fontWeight: tokens_esm_1.tokens.font.weight.semibold
90
+ },
91
+ ],
92
+ 'n-subheading-small': [
93
+ // --font-size-subheading-small
94
+ tokens_esm_1.tokens.font.size['subheading-small'],
95
+ {
96
+ letterSpacing: '0',
97
+ lineHeight: '1.25rem',
98
+ fontWeight: tokens_esm_1.tokens.font.weight.semibold
99
+ },
100
+ ],
101
+ 'n-body-large': [
102
+ // --font-size-body-large
103
+ tokens_esm_1.tokens.font.size['body-large'],
104
+ {
105
+ letterSpacing: '0',
106
+ lineHeight: '1.5rem',
107
+ fontWeight: tokens_esm_1.tokens.font.weight.normal
108
+ },
109
+ ],
110
+ 'n-body-medium': [
111
+ // --font-size-body-medium
112
+ tokens_esm_1.tokens.font.size['body-medium'],
113
+ {
114
+ letterSpacing: '0',
115
+ lineHeight: '1.25rem',
116
+ fontWeight: tokens_esm_1.tokens.font.weight.normal
117
+ },
118
+ ],
119
+ 'n-body-small': [
120
+ // --font-size-body-small
121
+ tokens_esm_1.tokens.font.size['body-small'],
122
+ {
123
+ letterSpacing: '0',
124
+ lineHeight: '1.25rem',
125
+ fontWeight: tokens_esm_1.tokens.font.weight.normal
126
+ },
127
+ ],
128
+ 'n-code': [
129
+ // --font-size-code
130
+ tokens_esm_1.tokens.font.size.code,
131
+ {
132
+ letterSpacing: '0',
133
+ lineHeight: '1.25rem',
134
+ fontWeight: tokens_esm_1.tokens.font.weight.normal
135
+ },
136
+ ],
137
+ 'n-label': [
138
+ // --font-size-label
139
+ tokens_esm_1.tokens.font.size.label,
140
+ {
141
+ letterSpacing: '0',
142
+ lineHeight: '1.25rem',
143
+ fontWeight: tokens_esm_1.tokens.font.weight.bold
144
+ },
145
+ ]
146
+ };
147
+ //# sourceMappingURL=typescale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescale.js","sourceRoot":"","sources":["../../src/typescale.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,qDAAgD;AAEnC,QAAA,SAAS,GAAG;IACvB,EAAE,EAAE;QACF,mBAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QACnB;YACE,aAAa,EAAE,WAAW;YAC1B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,mBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI;SACpC;KACF;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EAAE;QACT,oBAAoB;QACpB,mBAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK;QACtB;YACE,aAAa,EAAE,GAAG;YAClB,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,mBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI;SACpC;KACF;CACF,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typings.js","sourceRoot":"","sources":["../../src/typings.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ export * from './typings';
22
+ export * from './tokens/js/tokens-esm';
23
+ export * from './typescale';
24
+ export * from './tailwindTheme';
25
+ export * from './tailwind-preset.config';
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,74 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ import { tailwindTheme } from './tailwindTheme.js';
22
+ import { tokens } from './tokens/js/tokens-esm';
23
+ /**
24
+ * Tailwind CSS Configuration
25
+ * containing all configurations we need
26
+ * for our components
27
+ */
28
+ /** @type {import('tailwindcss').Config} */
29
+ export const tailwindConfig = {
30
+ prefix: 'n-',
31
+ content: [
32
+ './src/**/*.{tsx,md,jsx,js,html,mdx}',
33
+ '../react/**/*.{tsx,md,jsx,js,html,mdx}',
34
+ '../react-storybook/**/*.{tsx,md,jsx,js,html,mdx}',
35
+ ],
36
+ // remove classes like `text-opacity` but leave all color utilities
37
+ // eventually we should generate components in a more
38
+ // "tailwind" way to avoid safelisting like below
39
+ safelist: [
40
+ {
41
+ pattern: /^(hover:)?n-text-(light|primary|danger|warning|success|blueberry|mint|neutral)-/,
42
+ variants: ['hover'],
43
+ },
44
+ {
45
+ pattern: /^(hover:)?n-bg-(light|primary|danger|warning|success|blueberry|mint|neutral)-/,
46
+ variants: ['hover'],
47
+ },
48
+ {
49
+ // For clicked classes
50
+ pattern: /^(active:)?n-bg-light-/,
51
+ variants: ['active'],
52
+ },
53
+ {
54
+ pattern: /^(hover:)?n-border-light-/,
55
+ variants: ['hover'],
56
+ },
57
+ ],
58
+ theme: Object.assign(Object.assign({}, tailwindTheme), { extend: {
59
+ colors: {
60
+ transparent: 'transparent',
61
+ current: 'currentColor',
62
+ },
63
+ zIndex: {
64
+ ['popover-backdrop']: 1000,
65
+ popover: 1001,
66
+ modal: 1100,
67
+ },
68
+ spacing: Object.assign({}, Object.keys(tokens.space).reduce((accumulator, currentValue) => (Object.assign(Object.assign({}, accumulator), { [`token-${currentValue}`]: tokens.space[currentValue] })), {}))
69
+ } }),
70
+ // Enable only necessary plugins
71
+ // https://tailwindcss.com/docs/configuration#core-plugins
72
+ plugins: [],
73
+ };
74
+ //# sourceMappingURL=tailwind-preset.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailwind-preset.config.js","sourceRoot":"","sources":["../../src/tailwind-preset.config.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD;;;;GAIG;AACH,2CAA2C;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACP,qCAAqC;QACrC,wCAAwC;QACxC,kDAAkD;KACnD;IACD,mEAAmE;IACnE,qDAAqD;IACrD,iDAAiD;IACjD,QAAQ,EAAE;QACR;YACE,OAAO,EACL,iFAAiF;YACnF,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;QACD;YACE,OAAO,EACL,+EAA+E;YACjF,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;QACD;YACE,sBAAsB;YACtB,OAAO,EAAE,wBAAwB;YACjC,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;QACD;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;KACF;IACD,KAAK,kCACA,aAAa,KAChB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,WAAW,EAAE,aAAa;gBAC1B,OAAO,EAAE,cAAc;aACxB;YACD,MAAM,EAAE;gBACN,CAAC,kBAAkB,CAAC,EAAE,IAAI;gBAC1B,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,IAAI;aACZ;YACD,OAAO,oBAGF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CACjC,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,CAAC,iCAC1B,WAAW,KACd,CAAC,SAAS,YAAY,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,IACrD,EACF,EAAE,CACH,CACF;SACF,GACF;IACD,gCAAgC;IAChC,0DAA0D;IAC1D,OAAO,EAAE,EAAE;CACZ,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ import { tokens } from './tokens/js/tokens-esm';
22
+ /** @type {import('tailwindcss').Config["theme"]} */
23
+ export const tailwindTheme = {
24
+ colors: Object.assign(Object.assign({}, tokens.colors), tokens.palette),
25
+ borderRadius: tokens.borderRadius,
26
+ boxShadow: tokens.boxShadow,
27
+ fontFamily: {
28
+ sans: ['"Nunito Sans"'],
29
+ mono: ['"Fira Code"'],
30
+ },
31
+ screens: Object.assign({}, tokens.breakpoints),
32
+ /** Use our custom animation tokens */
33
+ transitionTimingFunction: {
34
+ all: tokens.transitions.values['timing-function'].default,
35
+ DEFAULT: tokens.transitions.values['timing-function'].default,
36
+ },
37
+ transitionDuration: {
38
+ all: tokens.transitions.values.duration.default,
39
+ DEFAULT: tokens.transitions.values.duration.default,
40
+ },
41
+ transitionProperty: {
42
+ all: tokens.transitions.values.properties.default,
43
+ },
44
+ };
45
+ //# sourceMappingURL=tailwindTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailwindTheme.js","sourceRoot":"","sources":["../../src/tailwindTheme.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,oDAAoD;AACpD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM,kCAAO,MAAM,CAAC,MAAM,GAAK,MAAM,CAAC,OAAO,CAAE;IAC/C,YAAY,EAAE,MAAM,CAAC,YAAY;IACjC,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE,CAAC,eAAe,CAAC;QACvB,IAAI,EAAE,CAAC,aAAa,CAAC;KACtB;IACD,OAAO,oBACF,MAAM,CAAC,WAAW,CACtB;IACD,sCAAsC;IACtC,wBAAwB,EAAE;QACxB,GAAG,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,OAAO;QACzD,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,OAAO;KAC9D;IACD,kBAAkB,EAAE;QAClB,GAAG,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO;QAC/C,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO;KACpD;IACD,kBAAkB,EAAE;QAClB,GAAG,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;KAClD;CACF,CAAC"}
@@ -0,0 +1,247 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Mon, 16 Jan 2023 11:56:22 GMT
4
+ */
5
+ export const tokens = {
6
+ "transitions": {
7
+ "values": {
8
+ "properties": {
9
+ "default": "all"
10
+ },
11
+ "duration": {
12
+ "default": "100ms"
13
+ },
14
+ "timing-function": {
15
+ "default": "cubic-bezier(0.420, 0.000, 0.580, 1.000)"
16
+ }
17
+ },
18
+ "stripped": "100ms cubic-bezier(0.420, 0.000, 0.580, 1.000)",
19
+ "default": "all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000)"
20
+ },
21
+ "borderRadius": {
22
+ "none": "0px",
23
+ "sm": "4px",
24
+ "md": "6px",
25
+ "lg": "8px",
26
+ "xl": "10px",
27
+ "1xl": "12px",
28
+ "2xl": "14px",
29
+ "3xl": "16px",
30
+ "4xl": "18px",
31
+ "5xl": "20px",
32
+ "full": "9999px"
33
+ },
34
+ "breakpoints": {
35
+ "xs": "450px",
36
+ "sm": "640px",
37
+ "md": "768px",
38
+ "lg": "1024px",
39
+ "xl": "1280px",
40
+ "2xl": "1536px"
41
+ },
42
+ "colors": {
43
+ "primary": {
44
+ "10": "#e6f8ff",
45
+ "20": "#a3e2ff",
46
+ "30": "#7ad1ff",
47
+ "40": "#018bff",
48
+ "50": "#006FD6",
49
+ "60": "#0056b3",
50
+ "70": "#004092"
51
+ },
52
+ "danger": {
53
+ "10": "#ffe6e9",
54
+ "20": "#ffb8c4",
55
+ "30": "#ff668a",
56
+ "40": "#ed1252",
57
+ "50": "#cc254b",
58
+ "60": "#a1003b",
59
+ "70": "#7a0031"
60
+ },
61
+ "success": {
62
+ "10": "#E1FAEF",
63
+ "20": "#98EDCB",
64
+ "30": "#44D4A4",
65
+ "40": "#00BA88",
66
+ "50": "#327D60",
67
+ "60": "#006E58",
68
+ "70": "#00473B"
69
+ },
70
+ "warning": {
71
+ "10": "#FFFBDE",
72
+ "20": "#FFF4B5",
73
+ "30": "#FFEA8C",
74
+ "40": "#FFDE63",
75
+ "50": "#D9B54A",
76
+ "60": "#966c2e",
77
+ "70": "#664817"
78
+ },
79
+ "blueberry": {
80
+ "10": "#E8EBF6",
81
+ "20": "#C4CCE9",
82
+ "30": "#9DABD9",
83
+ "40": "#768ACA",
84
+ "50": "#3557B4",
85
+ "60": "#25459E",
86
+ "70": "#0B297D"
87
+ },
88
+ "mint": {
89
+ "10": "#F0FFFA",
90
+ "20": "#D1FFF4",
91
+ "30": "#A8FFEE",
92
+ "40": "#55F9E2",
93
+ "50": "#3DD4C5",
94
+ "60": "#2AADA5",
95
+ "70": "#116161"
96
+ },
97
+ "neutral": {
98
+ "10": "#FFFFFF",
99
+ "20": "#F5F7FA",
100
+ "30": "#EEF1F6",
101
+ "40": "#E6E9EE",
102
+ "50": "#C4C8CD",
103
+ "60": "#B2B7BD",
104
+ "70": "#717780",
105
+ "80": "#535B66",
106
+ "90": "#151E29"
107
+ }
108
+ },
109
+ "font": {
110
+ "size": {
111
+ "h1": "3rem",
112
+ "h2": "2.5rem",
113
+ "h3": "1.875rem",
114
+ "h4": "1.5rem",
115
+ "h5": "1.25rem",
116
+ "h6": "1rem",
117
+ "subheading-large": "1.25rem",
118
+ "subheading-medium": "1rem",
119
+ "subheading-small": "0.875rem",
120
+ "body-large": "1rem",
121
+ "body-medium": "0.875rem",
122
+ "body-small": "0.75rem",
123
+ "code": "0.875rem",
124
+ "label": "0.875rem"
125
+ },
126
+ "weight": {
127
+ "bold": "700",
128
+ "semibold": "600",
129
+ "normal": "400",
130
+ "medium": "500",
131
+ "light": "300"
132
+ }
133
+ },
134
+ "palette": {
135
+ "light": {
136
+ "neutral": {
137
+ "text": {
138
+ "weakest": "#B2B7BD",
139
+ "weaker": "#717780",
140
+ "weak": "#535B66",
141
+ "default": "#151E29",
142
+ "inverse": "#FFFFFF"
143
+ },
144
+ "bg": {
145
+ "weak": "#FFFFFF",
146
+ "default": "#F5F7FA",
147
+ "strong": "#E6E9EE",
148
+ "strongest": "#535B66"
149
+ },
150
+ "border": {
151
+ "weak": "#EEF1F6",
152
+ "strong": "#C4C8CD"
153
+ },
154
+ "hover": "rgba(113,119,128,0.1)",
155
+ "pressed": "rgba(113,119,128,0.2)"
156
+ },
157
+ "primary": {
158
+ "text": "#006FD6",
159
+ "icon": "#006FD6",
160
+ "bg": {
161
+ "strong": "#006FD6",
162
+ "weak": "#e6f8ff"
163
+ },
164
+ "border": {
165
+ "strong": "#006FD6",
166
+ "weak": "#7ad1ff"
167
+ },
168
+ "focus": "#018bff",
169
+ "hover": {
170
+ "weak": "rgba(1,139,255,0.08)",
171
+ "strong": "#0056b3"
172
+ },
173
+ "pressed": {
174
+ "weak": "rgba(1,139,255,0.12)",
175
+ "strong": "#004092"
176
+ }
177
+ },
178
+ "danger": {
179
+ "text": "#cc254b",
180
+ "icon": "#cc254b",
181
+ "bg": {
182
+ "strong": "#cc254b",
183
+ "weak": "#ffe6e9"
184
+ },
185
+ "border": {
186
+ "strong": "#cc254b",
187
+ "weak": "#ffb8c4"
188
+ },
189
+ "hover": {
190
+ "weak": "rgba(237,18,82,0.08)",
191
+ "strong": "#a1003b"
192
+ },
193
+ "pressed": {
194
+ "weak": "rgba(237,18,82,0.12)",
195
+ "strong": "#7a0031"
196
+ }
197
+ },
198
+ "warning": {
199
+ "text": "#966c2e",
200
+ "icon": "#966c2e",
201
+ "bg": {
202
+ "strong": "#966c2e",
203
+ "weak": "#FFFBDE"
204
+ },
205
+ "border": {
206
+ "strong": "#966c2e",
207
+ "weak": "#FFEA8C"
208
+ }
209
+ },
210
+ "success": {
211
+ "text": "#327D60",
212
+ "icon": "#327D60",
213
+ "bg": {
214
+ "strong": "#327D60",
215
+ "weak": "#E1FAEF"
216
+ },
217
+ "border": {
218
+ "strong": "#327D60",
219
+ "weak": "#98EDCB"
220
+ }
221
+ }
222
+ }
223
+ },
224
+ "boxShadow": {
225
+ "l2": "0px 1px 2px 0px rgba(12, 26, 37, 0.18)",
226
+ "l3": "0px 4px 8px 0px rgba(12, 26, 37, 0.04)",
227
+ "l4": "0px 4px 8px 0px rgba(12, 26, 37, 0.08)",
228
+ "l5": "0px 8px 20px 0px rgba(12, 26, 37, 0.12)"
229
+ },
230
+ "space": {
231
+ "0": "0px",
232
+ "1": "1px",
233
+ "2": "2px",
234
+ "3": "4px",
235
+ "4": "8px",
236
+ "5": "12px",
237
+ "6": "16px",
238
+ "7": "24px",
239
+ "8": "32px",
240
+ "9": "48px",
241
+ "10": "64px",
242
+ "11": "96px",
243
+ "12": "128px",
244
+ "13": "320px"
245
+ }
246
+ };
247
+ //# sourceMappingURL=tokens-esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens-esm.js","sourceRoot":"","sources":["../../../../src/tokens/js/tokens-esm.js"],"names":[],"mappings":"AAAA;;;EAGE;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,aAAa,EAAE;QACb,QAAQ,EAAE;YACR,YAAY,EAAE;gBACZ,SAAS,EAAE,KAAK;aACjB;YACD,UAAU,EAAE;gBACV,SAAS,EAAE,OAAO;aACnB;YACD,iBAAiB,EAAE;gBACjB,SAAS,EAAE,0CAA0C;aACtD;SACF;QACD,UAAU,EAAE,gDAAgD;QAC5D,SAAS,EAAE,oDAAoD;KAChE;IACD,cAAc,EAAE;QACd,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,QAAQ;KACjB;IACD,aAAa,EAAE;QACb,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;KAChB;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;YACf,IAAI,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