@jsekulowicz/ds-tokens 0.5.0 → 0.32.0

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/base.css CHANGED
@@ -62,15 +62,13 @@
62
62
  --ds-font-family-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
63
63
  --ds-font-family-body: 'General Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
64
64
  --ds-font-family-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
65
- --ds-font-size-3xs: 0.6875rem;
66
- --ds-font-size-2xs: 0.75rem;
67
- --ds-font-size-xs: 0.8125rem;
65
+ --ds-font-size-xs: 0.75rem;
68
66
  --ds-font-size-sm: 0.875rem;
69
67
  --ds-font-size-md: 1rem;
70
- --ds-font-size-lg: 1.125rem;
71
- --ds-font-size-xl: 1.375rem;
68
+ --ds-font-size-lg: 1.25rem;
69
+ --ds-font-size-xl: 1.5rem;
72
70
  --ds-font-size-2xl: 1.75rem;
73
- --ds-font-size-3xl: 2.25rem;
71
+ --ds-font-size-3xl: 2rem;
74
72
  --ds-font-size-4xl: 3rem;
75
73
  --ds-font-size-5xl: 4rem;
76
74
  --ds-font-weight-regular: 400;
@@ -86,10 +84,10 @@
86
84
  --ds-line-height-normal: 1.45;
87
85
  --ds-line-height-relaxed: 1.6;
88
86
  --ds-radius-none: 0;
89
- --ds-radius-xs: 2px;
90
- --ds-radius-sm: 4px;
91
- --ds-radius-md: 8px;
92
- --ds-radius-lg: 12px;
87
+ --ds-radius-xs: 4px;
88
+ --ds-radius-sm: 8px;
89
+ --ds-radius-md: 16px;
90
+ --ds-radius-lg: 24px;
93
91
  --ds-radius-full: 9999px;
94
92
  --ds-shadow-none: none;
95
93
  --ds-shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.06);
@@ -1,9 +1,9 @@
1
1
  export declare const radius: {
2
2
  readonly none: "0";
3
- readonly xs: "2px";
4
- readonly sm: "4px";
5
- readonly md: "8px";
6
- readonly lg: "12px";
3
+ readonly xs: "4px";
4
+ readonly sm: "8px";
5
+ readonly md: "16px";
6
+ readonly lg: "24px";
7
7
  readonly full: "9999px";
8
8
  };
9
9
  export declare const border: {
@@ -1,9 +1,9 @@
1
1
  export const radius = {
2
2
  none: '0',
3
- xs: '2px',
4
- sm: '4px',
5
- md: '8px',
6
- lg: '12px',
3
+ xs: '4px',
4
+ sm: '8px',
5
+ md: '16px',
6
+ lg: '24px',
7
7
  full: '9999px',
8
8
  };
9
9
  export const border = {
@@ -1 +1 @@
1
- {"version":3,"file":"shape.js","sourceRoot":"","sources":["../../src/primitive/shape.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,GAAG;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,QAAQ;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,KAAK;CACJ,CAAC;AAEX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,kCAAkC;IACtC,EAAE,EAAE,qEAAqE;IACzE,EAAE,EAAE,sEAAsE;IAC1E,KAAK,EAAE,oCAAoC;CACnC,CAAC"}
1
+ {"version":3,"file":"shape.js","sourceRoot":"","sources":["../../src/primitive/shape.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,GAAG;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,QAAQ;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,KAAK;CACJ,CAAC;AAEX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,kCAAkC;IACtC,EAAE,EAAE,qEAAqE;IACzE,EAAE,EAAE,sEAAsE;IAC1E,KAAK,EAAE,oCAAoC;CACnC,CAAC"}
@@ -4,15 +4,13 @@ export declare const fontFamily: {
4
4
  readonly mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
5
5
  };
6
6
  export declare const fontSize: {
7
- readonly '3xs': "0.6875rem";
8
- readonly '2xs': "0.75rem";
9
- readonly xs: "0.8125rem";
7
+ readonly xs: "0.75rem";
10
8
  readonly sm: "0.875rem";
11
9
  readonly md: "1rem";
12
- readonly lg: "1.125rem";
13
- readonly xl: "1.375rem";
10
+ readonly lg: "1.25rem";
11
+ readonly xl: "1.5rem";
14
12
  readonly '2xl': "1.75rem";
15
- readonly '3xl': "2.25rem";
13
+ readonly '3xl': "2rem";
16
14
  readonly '4xl': "3rem";
17
15
  readonly '5xl': "4rem";
18
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/primitive/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;CAKb,CAAC;AAEX,eAAO,MAAM,QAAQ;;;;;;;;;;;;CAYX,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,UAAU,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,OAAO,QAAQ,CAAC"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/primitive/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;CAKb,CAAC;AAEX,eAAO,MAAM,QAAQ;;;;;;;;;;CAUX,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,UAAU,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,OAAO,QAAQ,CAAC"}
@@ -4,15 +4,13 @@ export const fontFamily = {
4
4
  mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace",
5
5
  };
6
6
  export const fontSize = {
7
- '3xs': '0.6875rem',
8
- '2xs': '0.75rem',
9
- xs: '0.8125rem',
7
+ xs: '0.75rem',
10
8
  sm: '0.875rem',
11
9
  md: '1rem',
12
- lg: '1.125rem',
13
- xl: '1.375rem',
10
+ lg: '1.25rem',
11
+ xl: '1.5rem',
14
12
  '2xl': '1.75rem',
15
- '3xl': '2.25rem',
13
+ '3xl': '2rem',
16
14
  '4xl': '3rem',
17
15
  '5xl': '4rem',
18
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../src/primitive/typography.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,OAAO,EACL,qDAAqD;IACvD,IAAI,EAAE,0FAA0F;IAChG,IAAI,EAAE,8EAA8E;CAC5E,CAAC;AAEX,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,SAAS;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,UAAU;IACd,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;CACL,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU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I,EAAE,QAAQ;IACd,OAAO,EAAE,SAAS;CACV,CAAC"}
@@ -52,15 +52,13 @@ export declare const semanticDark: {
52
52
  readonly mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
53
53
  };
54
54
  readonly 'font-size': {
55
- readonly '3xs': "0.6875rem";
56
- readonly '2xs': "0.75rem";
57
- readonly xs: "0.8125rem";
55
+ readonly xs: "0.75rem";
58
56
  readonly sm: "0.875rem";
59
57
  readonly md: "1rem";
60
- readonly lg: "1.125rem";
61
- readonly xl: "1.375rem";
58
+ readonly lg: "1.25rem";
59
+ readonly xl: "1.5rem";
62
60
  readonly '2xl': "1.75rem";
63
- readonly '3xl': "2.25rem";
61
+ readonly '3xl': "2rem";
64
62
  readonly '4xl': "3rem";
65
63
  readonly '5xl': "4rem";
66
64
  };
@@ -84,10 +82,10 @@ export declare const semanticDark: {
84
82
  };
85
83
  readonly radius: {
86
84
  readonly none: "0";
87
- readonly xs: "2px";
88
- readonly sm: "4px";
89
- readonly md: "8px";
90
- readonly lg: "12px";
85
+ readonly xs: "4px";
86
+ readonly sm: "8px";
87
+ readonly md: "16px";
88
+ readonly lg: "24px";
91
89
  readonly full: "9999px";
92
90
  };
93
91
  readonly border: {
@@ -1 +1 @@
1
- {"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../src/semantic/dark.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bf,CAAC"}
1
+ {"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../src/semantic/dark.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bf,CAAC"}
@@ -52,15 +52,13 @@ export declare const semanticLight: {
52
52
  readonly mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
53
53
  };
54
54
  readonly 'font-size': {
55
- readonly '3xs': "0.6875rem";
56
- readonly '2xs': "0.75rem";
57
- readonly xs: "0.8125rem";
55
+ readonly xs: "0.75rem";
58
56
  readonly sm: "0.875rem";
59
57
  readonly md: "1rem";
60
- readonly lg: "1.125rem";
61
- readonly xl: "1.375rem";
58
+ readonly lg: "1.25rem";
59
+ readonly xl: "1.5rem";
62
60
  readonly '2xl': "1.75rem";
63
- readonly '3xl': "2.25rem";
61
+ readonly '3xl': "2rem";
64
62
  readonly '4xl': "3rem";
65
63
  readonly '5xl': "4rem";
66
64
  };
@@ -84,10 +82,10 @@ export declare const semanticLight: {
84
82
  };
85
83
  readonly radius: {
86
84
  readonly none: "0";
87
- readonly xs: "2px";
88
- readonly sm: "4px";
89
- readonly md: "8px";
90
- readonly lg: "12px";
85
+ readonly xs: "4px";
86
+ readonly sm: "8px";
87
+ readonly md: "16px";
88
+ readonly lg: "24px";
91
89
  readonly full: "9999px";
92
90
  };
93
91
  readonly border: {
@@ -1 +1 @@
1
- {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/semantic/light.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDhB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,aAAa,CAAC"}
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/semantic/light.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDhB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,aAAa,CAAC"}
@@ -50,15 +50,13 @@
50
50
  --ds-font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
51
51
  --ds-font-body: 'General Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
52
52
  --ds-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
53
- --ds-font-size-3xs: 0.6875rem;
54
- --ds-font-size-2xs: 0.75rem;
55
- --ds-font-size-xs: 0.8125rem;
53
+ --ds-font-size-xs: 0.75rem;
56
54
  --ds-font-size-sm: 0.875rem;
57
55
  --ds-font-size-md: 1rem;
58
- --ds-font-size-lg: 1.125rem;
59
- --ds-font-size-xl: 1.375rem;
56
+ --ds-font-size-lg: 1.25rem;
57
+ --ds-font-size-xl: 1.5rem;
60
58
  --ds-font-size-2xl: 1.75rem;
61
- --ds-font-size-3xl: 2.25rem;
59
+ --ds-font-size-3xl: 2rem;
62
60
  --ds-font-size-4xl: 3rem;
63
61
  --ds-font-size-5xl: 4rem;
64
62
  --ds-font-weight-regular: 400;
@@ -74,10 +72,10 @@
74
72
  --ds-letter-spacing-wide: 0.04em;
75
73
  --ds-letter-spacing-display: -0.01em;
76
74
  --ds-radius-none: 0;
77
- --ds-radius-xs: 2px;
78
- --ds-radius-sm: 4px;
79
- --ds-radius-md: 8px;
80
- --ds-radius-lg: 12px;
75
+ --ds-radius-xs: 4px;
76
+ --ds-radius-sm: 8px;
77
+ --ds-radius-md: 16px;
78
+ --ds-radius-lg: 24px;
81
79
  --ds-radius-full: 9999px;
82
80
  --ds-border-hairline: 1px;
83
81
  --ds-border-regular: 1.5px;
@@ -162,15 +160,13 @@
162
160
  --ds-font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
163
161
  --ds-font-body: 'General Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
164
162
  --ds-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
165
- --ds-font-size-3xs: 0.6875rem;
166
- --ds-font-size-2xs: 0.75rem;
167
- --ds-font-size-xs: 0.8125rem;
163
+ --ds-font-size-xs: 0.75rem;
168
164
  --ds-font-size-sm: 0.875rem;
169
165
  --ds-font-size-md: 1rem;
170
- --ds-font-size-lg: 1.125rem;
171
- --ds-font-size-xl: 1.375rem;
166
+ --ds-font-size-lg: 1.25rem;
167
+ --ds-font-size-xl: 1.5rem;
172
168
  --ds-font-size-2xl: 1.75rem;
173
- --ds-font-size-3xl: 2.25rem;
169
+ --ds-font-size-3xl: 2rem;
174
170
  --ds-font-size-4xl: 3rem;
175
171
  --ds-font-size-5xl: 4rem;
176
172
  --ds-font-weight-regular: 400;
@@ -186,10 +182,10 @@
186
182
  --ds-letter-spacing-wide: 0.04em;
187
183
  --ds-letter-spacing-display: -0.01em;
188
184
  --ds-radius-none: 0;
189
- --ds-radius-xs: 2px;
190
- --ds-radius-sm: 4px;
191
- --ds-radius-md: 8px;
192
- --ds-radius-lg: 12px;
185
+ --ds-radius-xs: 4px;
186
+ --ds-radius-sm: 8px;
187
+ --ds-radius-md: 16px;
188
+ --ds-radius-lg: 24px;
193
189
  --ds-radius-full: 9999px;
194
190
  --ds-border-hairline: 1px;
195
191
  --ds-border-regular: 1.5px;
@@ -50,15 +50,13 @@
50
50
  --ds-font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
51
51
  --ds-font-body: 'General Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
52
52
  --ds-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
53
- --ds-font-size-3xs: 0.6875rem;
54
- --ds-font-size-2xs: 0.75rem;
55
- --ds-font-size-xs: 0.8125rem;
53
+ --ds-font-size-xs: 0.75rem;
56
54
  --ds-font-size-sm: 0.875rem;
57
55
  --ds-font-size-md: 1rem;
58
- --ds-font-size-lg: 1.125rem;
59
- --ds-font-size-xl: 1.375rem;
56
+ --ds-font-size-lg: 1.25rem;
57
+ --ds-font-size-xl: 1.5rem;
60
58
  --ds-font-size-2xl: 1.75rem;
61
- --ds-font-size-3xl: 2.25rem;
59
+ --ds-font-size-3xl: 2rem;
62
60
  --ds-font-size-4xl: 3rem;
63
61
  --ds-font-size-5xl: 4rem;
64
62
  --ds-font-weight-regular: 400;
@@ -74,10 +72,10 @@
74
72
  --ds-letter-spacing-wide: 0.04em;
75
73
  --ds-letter-spacing-display: -0.01em;
76
74
  --ds-radius-none: 0;
77
- --ds-radius-xs: 2px;
78
- --ds-radius-sm: 4px;
79
- --ds-radius-md: 8px;
80
- --ds-radius-lg: 12px;
75
+ --ds-radius-xs: 4px;
76
+ --ds-radius-sm: 8px;
77
+ --ds-radius-md: 16px;
78
+ --ds-radius-lg: 24px;
81
79
  --ds-radius-full: 9999px;
82
80
  --ds-border-hairline: 1px;
83
81
  --ds-border-regular: 1.5px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsekulowicz/ds-tokens",
3
- "version": "0.5.0",
3
+ "version": "0.32.0",
4
4
  "description": "Design tokens (primitive, semantic, component) for the Design System Library.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {