@moderneinc/neo-design 4.1.2-next.f98de9 → 5.0.0-next.03345c
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/height.css +12 -0
- package/dist/height.d.ts +42 -0
- package/dist/height.js +45 -0
- package/dist/index.d.ts +121 -26
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/padding.css +7 -0
- package/dist/padding.d.ts +31 -0
- package/dist/padding.js +51 -0
- package/dist/semantic-colors.css +8 -8
- package/dist/semantic-colors.d.ts +7 -7
- package/dist/semantic-colors.js +3 -3
- package/dist/semantic-typography.css +2 -2
- package/dist/semantic-typography.d.ts +2 -2
- package/dist/semantic-typography.js +1 -1
- package/dist/typography.css +1 -1
- package/dist/typography.d.ts +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
package/dist/height.css
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root { --neo-height-button-default: 40px;
|
|
2
|
+
--neo-height-button-small: 32px;
|
|
3
|
+
--neo-height-button-large: 48px;
|
|
4
|
+
--neo-height-input-default: 40px;
|
|
5
|
+
--neo-height-input-dense: 32px;
|
|
6
|
+
--neo-height-table-header-compact: 44px;
|
|
7
|
+
--neo-height-table-header-standard: 38px;
|
|
8
|
+
--neo-height-table-header-comfortable: 52px;
|
|
9
|
+
--neo-height-table-row-compact: 48px;
|
|
10
|
+
--neo-height-table-row-standard: 42px;
|
|
11
|
+
--neo-height-table-row-comfortable: 56px;
|
|
12
|
+
--neo-height-tooltip: 24px;}
|
package/dist/height.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Neo Design System
|
|
3
|
+
* TypeScript declarations generated from Figma design tokens
|
|
4
|
+
* @generated
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export type Button = {
|
|
8
|
+
default: 40;
|
|
9
|
+
small: 32;
|
|
10
|
+
large: 48;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export declare const button: Button;
|
|
14
|
+
|
|
15
|
+
export type Input = {
|
|
16
|
+
default: 40;
|
|
17
|
+
dense: 32;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export declare const input: Input;
|
|
21
|
+
|
|
22
|
+
export type Table = {
|
|
23
|
+
headerCompact: 44;
|
|
24
|
+
headerStandard: 38;
|
|
25
|
+
headerComfortable: 52;
|
|
26
|
+
rowCompact: 48;
|
|
27
|
+
rowStandard: 42;
|
|
28
|
+
rowComfortable: 56;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export declare const table: Table;
|
|
32
|
+
|
|
33
|
+
export declare const tooltip: 24;
|
|
34
|
+
|
|
35
|
+
declare const _default: {
|
|
36
|
+
button: typeof button,
|
|
37
|
+
input: typeof input,
|
|
38
|
+
table: typeof table,
|
|
39
|
+
tooltip: typeof tooltip,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export default _default;
|
package/dist/height.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Neo Design System
|
|
3
|
+
* Generated from Figma design tokens
|
|
4
|
+
* @generated
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @typedef {{ default: number, small: number, large: number }} Button
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @type {Button}
|
|
13
|
+
*/
|
|
14
|
+
export const button = {"default":40,"small":32,"large":48};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {{ default: number, dense: number }} Input
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @type {Input}
|
|
22
|
+
*/
|
|
23
|
+
export const input = {"default":40,"dense":32};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @typedef {{ headerCompact: number, headerStandard: number, headerComfortable: number, rowCompact: number, rowStandard: number, rowComfortable: number }} Table
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @type {Table}
|
|
31
|
+
*/
|
|
32
|
+
export const table = {"headerCompact":44,"headerStandard":38,"headerComfortable":52,"rowCompact":48,"rowStandard":42,"rowComfortable":56};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @type {number}
|
|
36
|
+
*/
|
|
37
|
+
export const tooltip = 24;
|
|
38
|
+
|
|
39
|
+
// Default export with all color groups
|
|
40
|
+
export default {
|
|
41
|
+
button,
|
|
42
|
+
input,
|
|
43
|
+
table,
|
|
44
|
+
tooltip,
|
|
45
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* @generated
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
declare const card$
|
|
7
|
+
declare const card$2: 12;
|
|
8
8
|
|
|
9
|
-
declare const button$
|
|
9
|
+
declare const button$2: 999;
|
|
10
10
|
|
|
11
|
-
declare const input$
|
|
11
|
+
declare const input$3: 8;
|
|
12
12
|
|
|
13
13
|
declare const xXS: 2;
|
|
14
14
|
|
|
@@ -24,10 +24,10 @@ declare const xL: 30;
|
|
|
24
24
|
|
|
25
25
|
declare const full: 999;
|
|
26
26
|
|
|
27
|
-
declare const _default$
|
|
28
|
-
card: typeof card$
|
|
29
|
-
button: typeof button$
|
|
30
|
-
input: typeof input$
|
|
27
|
+
declare const _default$9: {
|
|
28
|
+
card: typeof card$2,
|
|
29
|
+
button: typeof button$2,
|
|
30
|
+
input: typeof input$3,
|
|
31
31
|
xXS: typeof xXS,
|
|
32
32
|
xS: typeof xS,
|
|
33
33
|
s: typeof s,
|
|
@@ -46,11 +46,11 @@ declare const borderRadius_d_xS: typeof xS;
|
|
|
46
46
|
declare const borderRadius_d_xXS: typeof xXS;
|
|
47
47
|
declare namespace borderRadius_d {
|
|
48
48
|
export {
|
|
49
|
-
button$
|
|
50
|
-
card$
|
|
51
|
-
_default$
|
|
49
|
+
button$2 as button,
|
|
50
|
+
card$2 as card,
|
|
51
|
+
_default$9 as default,
|
|
52
52
|
borderRadius_d_full as full,
|
|
53
|
-
input$
|
|
53
|
+
input$3 as input,
|
|
54
54
|
borderRadius_d_l as l,
|
|
55
55
|
borderRadius_d_m as m,
|
|
56
56
|
borderRadius_d_s as s,
|
|
@@ -74,7 +74,7 @@ declare const md: 960;
|
|
|
74
74
|
|
|
75
75
|
declare const sm: 600;
|
|
76
76
|
|
|
77
|
-
declare const _default$
|
|
77
|
+
declare const _default$8: {
|
|
78
78
|
xl: typeof xl,
|
|
79
79
|
lg: typeof lg,
|
|
80
80
|
md: typeof md,
|
|
@@ -87,7 +87,7 @@ declare const breakpoints_d_sm: typeof sm;
|
|
|
87
87
|
declare const breakpoints_d_xl: typeof xl;
|
|
88
88
|
declare namespace breakpoints_d {
|
|
89
89
|
export {
|
|
90
|
-
_default$
|
|
90
|
+
_default$8 as default,
|
|
91
91
|
breakpoints_d_lg as lg,
|
|
92
92
|
breakpoints_d_md as md,
|
|
93
93
|
breakpoints_d_sm as sm,
|
|
@@ -224,7 +224,7 @@ declare const violet: Violet;
|
|
|
224
224
|
|
|
225
225
|
declare const white: '#ffffff';
|
|
226
226
|
|
|
227
|
-
declare const _default$
|
|
227
|
+
declare const _default$7: {
|
|
228
228
|
digitalBlue: typeof digitalBlue,
|
|
229
229
|
digitalGreen: typeof digitalGreen,
|
|
230
230
|
gold: typeof gold,
|
|
@@ -254,10 +254,105 @@ declare const colors_d_tealGreen: typeof tealGreen;
|
|
|
254
254
|
declare const colors_d_violet: typeof violet;
|
|
255
255
|
declare const colors_d_white: typeof white;
|
|
256
256
|
declare namespace colors_d {
|
|
257
|
-
export { _default$
|
|
257
|
+
export { _default$7 as default, colors_d_digitalBlue as digitalBlue, colors_d_digitalGreen as digitalGreen, colors_d_gold as gold, colors_d_grey as grey, colors_d_orange as orange, colors_d_red as red, colors_d_tealGreen as tealGreen, colors_d_violet as violet, colors_d_white as white };
|
|
258
258
|
export type { colors_d_DigitalBlue as DigitalBlue, colors_d_DigitalGreen as DigitalGreen, colors_d_Gold as Gold, colors_d_Grey as Grey, colors_d_Orange as Orange, colors_d_Red as Red, colors_d_TealGreen as TealGreen, colors_d_Violet as Violet };
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
/**
|
|
262
|
+
* Neo Design System
|
|
263
|
+
* TypeScript declarations generated from Figma design tokens
|
|
264
|
+
* @generated
|
|
265
|
+
*/
|
|
266
|
+
|
|
267
|
+
type Button$1 = {
|
|
268
|
+
default: 40;
|
|
269
|
+
small: 32;
|
|
270
|
+
large: 48;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
declare const button$1: Button$1;
|
|
274
|
+
|
|
275
|
+
type Input$2 = {
|
|
276
|
+
default: 40;
|
|
277
|
+
dense: 32;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
declare const input$2: Input$2;
|
|
281
|
+
|
|
282
|
+
type Table$1 = {
|
|
283
|
+
headerCompact: 44;
|
|
284
|
+
headerStandard: 38;
|
|
285
|
+
headerComfortable: 52;
|
|
286
|
+
rowCompact: 48;
|
|
287
|
+
rowStandard: 42;
|
|
288
|
+
rowComfortable: 56;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
declare const table$1: Table$1;
|
|
292
|
+
|
|
293
|
+
declare const tooltip$1: 24;
|
|
294
|
+
|
|
295
|
+
declare const _default$6: {
|
|
296
|
+
button: typeof button$1,
|
|
297
|
+
input: typeof input$2,
|
|
298
|
+
table: typeof table$1,
|
|
299
|
+
tooltip: typeof tooltip$1,
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
declare namespace height_d {
|
|
303
|
+
export { button$1 as button, _default$6 as default, input$2 as input, table$1 as table, tooltip$1 as tooltip };
|
|
304
|
+
export type { Button$1 as Button, Input$2 as Input, Table$1 as Table };
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Neo Design System
|
|
309
|
+
* TypeScript declarations generated from Figma design tokens
|
|
310
|
+
* @generated
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
declare const datagridCellVertical: 8;
|
|
314
|
+
|
|
315
|
+
declare const card$1: 24;
|
|
316
|
+
|
|
317
|
+
declare const buttonHorizontal: 16;
|
|
318
|
+
|
|
319
|
+
declare const buttonVertical: 8;
|
|
320
|
+
|
|
321
|
+
declare const inputHorizontal: 12;
|
|
322
|
+
|
|
323
|
+
declare const inputVertical: 4;
|
|
324
|
+
|
|
325
|
+
declare const textContainers: 20;
|
|
326
|
+
|
|
327
|
+
declare const _default$5: {
|
|
328
|
+
datagridCellVertical: typeof datagridCellVertical,
|
|
329
|
+
card: typeof card$1,
|
|
330
|
+
buttonHorizontal: typeof buttonHorizontal,
|
|
331
|
+
buttonVertical: typeof buttonVertical,
|
|
332
|
+
inputHorizontal: typeof inputHorizontal,
|
|
333
|
+
inputVertical: typeof inputVertical,
|
|
334
|
+
textContainers: typeof textContainers,
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
declare const padding_d_buttonHorizontal: typeof buttonHorizontal;
|
|
338
|
+
declare const padding_d_buttonVertical: typeof buttonVertical;
|
|
339
|
+
declare const padding_d_datagridCellVertical: typeof datagridCellVertical;
|
|
340
|
+
declare const padding_d_inputHorizontal: typeof inputHorizontal;
|
|
341
|
+
declare const padding_d_inputVertical: typeof inputVertical;
|
|
342
|
+
declare const padding_d_textContainers: typeof textContainers;
|
|
343
|
+
declare namespace padding_d {
|
|
344
|
+
export {
|
|
345
|
+
padding_d_buttonHorizontal as buttonHorizontal,
|
|
346
|
+
padding_d_buttonVertical as buttonVertical,
|
|
347
|
+
card$1 as card,
|
|
348
|
+
padding_d_datagridCellVertical as datagridCellVertical,
|
|
349
|
+
_default$5 as default,
|
|
350
|
+
padding_d_inputHorizontal as inputHorizontal,
|
|
351
|
+
padding_d_inputVertical as inputVertical,
|
|
352
|
+
padding_d_textContainers as textContainers,
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
|
|
261
356
|
/**
|
|
262
357
|
* Neo Design System
|
|
263
358
|
* TypeScript declarations generated from Figma design tokens
|
|
@@ -282,13 +377,13 @@ declare const icons: Icons;
|
|
|
282
377
|
type Surfaces = {
|
|
283
378
|
highlightBackground: 'rgba(38, 55, 230, 0)';
|
|
284
379
|
activeHighlight: 'rgba(182, 191, 255, 0.4)';
|
|
285
|
-
|
|
380
|
+
dataGrid: {
|
|
286
381
|
header: '#f9fafb';
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
382
|
+
selected: '#f2f3ff';
|
|
383
|
+
selectedHover: '#dce0ff';
|
|
384
|
+
hover: '#f9fafb';
|
|
385
|
+
default: '#ffffff';
|
|
386
|
+
disabled: '#f3f4f6';
|
|
292
387
|
background: '#ffffff';
|
|
293
388
|
};
|
|
294
389
|
page: '#f4f4f4';
|
|
@@ -484,7 +579,7 @@ secondaryBackground: '#e5e7eb';
|
|
|
484
579
|
declare const tab$1: Tab$1;
|
|
485
580
|
|
|
486
581
|
type Code = {
|
|
487
|
-
background: '#
|
|
582
|
+
background: '#f3f4f6';
|
|
488
583
|
};
|
|
489
584
|
|
|
490
585
|
declare const code: Code;
|
|
@@ -566,7 +661,7 @@ lineHeight: '1.5rem';
|
|
|
566
661
|
codeHeader: {
|
|
567
662
|
lineHeight: '2rem';
|
|
568
663
|
fontFamily: 'JetBrains Mono NL';
|
|
569
|
-
fontSize:
|
|
664
|
+
fontSize: 24;
|
|
570
665
|
fontWeight: 400;
|
|
571
666
|
};
|
|
572
667
|
moddyHeader: {
|
|
@@ -578,7 +673,7 @@ fontWeight: 500;
|
|
|
578
673
|
pageHeader: {
|
|
579
674
|
lineHeight: '140%';
|
|
580
675
|
fontFamily: 'Inter';
|
|
581
|
-
fontSize:
|
|
676
|
+
fontSize: 24;
|
|
582
677
|
fontWeight: 400;
|
|
583
678
|
};
|
|
584
679
|
};
|
|
@@ -1180,7 +1275,7 @@ sm: 14;
|
|
|
1180
1275
|
default: 16;
|
|
1181
1276
|
h5: 18;
|
|
1182
1277
|
h4: 20;
|
|
1183
|
-
h3:
|
|
1278
|
+
h3: 24;
|
|
1184
1279
|
h2: 24;
|
|
1185
1280
|
h1: 28;
|
|
1186
1281
|
};
|
|
@@ -1236,4 +1331,4 @@ declare namespace typography_d {
|
|
|
1236
1331
|
export type { typography_d_FontFamily as FontFamily, typography_d_FontSize as FontSize, typography_d_FontWeight as FontWeight, typography_d_LineHeight as LineHeight, typography_d_TextDecoration as TextDecoration };
|
|
1237
1332
|
}
|
|
1238
1333
|
|
|
1239
|
-
export { borderRadius_d as borderRadius, breakpoints_d as breakpoints, colors_d as colors, semanticColors_d as semanticColors, semanticTypography_d as semanticTypography, shadows_d as shadows, spacing_d as spacing, typography_d as typography };
|
|
1334
|
+
export { borderRadius_d as borderRadius, breakpoints_d as breakpoints, colors_d as colors, height_d as height, padding_d as padding, semanticColors_d as semanticColors, semanticTypography_d as semanticTypography, shadows_d as shadows, spacing_d as spacing, typography_d as typography };
|
package/dist/index.esm.js
CHANGED
|
@@ -4,6 +4,10 @@ import * as breakpoints_js from './breakpoints.js';
|
|
|
4
4
|
export { breakpoints_js as breakpoints };
|
|
5
5
|
import * as colors_js from './colors.js';
|
|
6
6
|
export { colors_js as colors };
|
|
7
|
+
import * as height_js from './height.js';
|
|
8
|
+
export { height_js as height };
|
|
9
|
+
import * as padding_js from './padding.js';
|
|
10
|
+
export { padding_js as padding };
|
|
7
11
|
import * as semanticColors_js from './semantic-colors.js';
|
|
8
12
|
export { semanticColors_js as semanticColors };
|
|
9
13
|
import * as semanticTypography_js from './semantic-typography.js';
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
var borderRadius_js = require('./border-radius.js');
|
|
4
4
|
var breakpoints_js = require('./breakpoints.js');
|
|
5
5
|
var colors_js = require('./colors.js');
|
|
6
|
+
var height_js = require('./height.js');
|
|
7
|
+
var padding_js = require('./padding.js');
|
|
6
8
|
var semanticColors_js = require('./semantic-colors.js');
|
|
7
9
|
var semanticTypography_js = require('./semantic-typography.js');
|
|
8
10
|
var shadows_js = require('./shadows.js');
|
|
@@ -29,6 +31,8 @@ function _interopNamespaceDefault(e) {
|
|
|
29
31
|
var borderRadius_js__namespace = /*#__PURE__*/_interopNamespaceDefault(borderRadius_js);
|
|
30
32
|
var breakpoints_js__namespace = /*#__PURE__*/_interopNamespaceDefault(breakpoints_js);
|
|
31
33
|
var colors_js__namespace = /*#__PURE__*/_interopNamespaceDefault(colors_js);
|
|
34
|
+
var height_js__namespace = /*#__PURE__*/_interopNamespaceDefault(height_js);
|
|
35
|
+
var padding_js__namespace = /*#__PURE__*/_interopNamespaceDefault(padding_js);
|
|
32
36
|
var semanticColors_js__namespace = /*#__PURE__*/_interopNamespaceDefault(semanticColors_js);
|
|
33
37
|
var semanticTypography_js__namespace = /*#__PURE__*/_interopNamespaceDefault(semanticTypography_js);
|
|
34
38
|
var shadows_js__namespace = /*#__PURE__*/_interopNamespaceDefault(shadows_js);
|
|
@@ -40,6 +44,8 @@ var typography_js__namespace = /*#__PURE__*/_interopNamespaceDefault(typography_
|
|
|
40
44
|
exports.borderRadius = borderRadius_js__namespace;
|
|
41
45
|
exports.breakpoints = breakpoints_js__namespace;
|
|
42
46
|
exports.colors = colors_js__namespace;
|
|
47
|
+
exports.height = height_js__namespace;
|
|
48
|
+
exports.padding = padding_js__namespace;
|
|
43
49
|
exports.semanticColors = semanticColors_js__namespace;
|
|
44
50
|
exports.semanticTypography = semanticTypography_js__namespace;
|
|
45
51
|
exports.shadows = shadows_js__namespace;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/padding.css
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:root { --neo-padding-datagrid-cell-vertical: 8px;
|
|
2
|
+
--neo-padding-card: 24px;
|
|
3
|
+
--neo-padding-button-horizontal: 16px;
|
|
4
|
+
--neo-padding-button-vertical: 8px;
|
|
5
|
+
--neo-padding-input-horizontal: 12px;
|
|
6
|
+
--neo-padding-input-vertical: 4px;
|
|
7
|
+
--neo-padding-text-containers: 20px;}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Neo Design System
|
|
3
|
+
* TypeScript declarations generated from Figma design tokens
|
|
4
|
+
* @generated
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export declare const datagridCellVertical: 8;
|
|
8
|
+
|
|
9
|
+
export declare const card: 24;
|
|
10
|
+
|
|
11
|
+
export declare const buttonHorizontal: 16;
|
|
12
|
+
|
|
13
|
+
export declare const buttonVertical: 8;
|
|
14
|
+
|
|
15
|
+
export declare const inputHorizontal: 12;
|
|
16
|
+
|
|
17
|
+
export declare const inputVertical: 4;
|
|
18
|
+
|
|
19
|
+
export declare const textContainers: 20;
|
|
20
|
+
|
|
21
|
+
declare const _default: {
|
|
22
|
+
datagridCellVertical: typeof datagridCellVertical,
|
|
23
|
+
card: typeof card,
|
|
24
|
+
buttonHorizontal: typeof buttonHorizontal,
|
|
25
|
+
buttonVertical: typeof buttonVertical,
|
|
26
|
+
inputHorizontal: typeof inputHorizontal,
|
|
27
|
+
inputVertical: typeof inputVertical,
|
|
28
|
+
textContainers: typeof textContainers,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default _default;
|
package/dist/padding.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Neo Design System
|
|
3
|
+
* Generated from Figma design tokens
|
|
4
|
+
* @generated
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @type {number}
|
|
9
|
+
*/
|
|
10
|
+
export const datagridCellVertical = 8;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @type {number}
|
|
14
|
+
*/
|
|
15
|
+
export const card = 24;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @type {number}
|
|
19
|
+
*/
|
|
20
|
+
export const buttonHorizontal = 16;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @type {number}
|
|
24
|
+
*/
|
|
25
|
+
export const buttonVertical = 8;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @type {number}
|
|
29
|
+
*/
|
|
30
|
+
export const inputHorizontal = 12;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @type {number}
|
|
34
|
+
*/
|
|
35
|
+
export const inputVertical = 4;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @type {number}
|
|
39
|
+
*/
|
|
40
|
+
export const textContainers = 20;
|
|
41
|
+
|
|
42
|
+
// Default export with all color groups
|
|
43
|
+
export default {
|
|
44
|
+
datagridCellVertical,
|
|
45
|
+
card,
|
|
46
|
+
buttonHorizontal,
|
|
47
|
+
buttonVertical,
|
|
48
|
+
inputHorizontal,
|
|
49
|
+
inputVertical,
|
|
50
|
+
textContainers,
|
|
51
|
+
};
|
package/dist/semantic-colors.css
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
--neo-icons-active: #2f42ff;
|
|
11
11
|
--neo-surfaces-highlight-background: rgba(38, 55, 230, 0);
|
|
12
12
|
--neo-surfaces-active-highlight: rgba(182, 191, 255, 0.4);
|
|
13
|
-
--neo-surfaces-
|
|
14
|
-
--neo-surfaces-
|
|
15
|
-
--neo-surfaces-
|
|
16
|
-
--neo-surfaces-
|
|
17
|
-
--neo-surfaces-
|
|
18
|
-
--neo-surfaces-
|
|
19
|
-
--neo-surfaces-
|
|
13
|
+
--neo-surfaces-data-grid-header: #f9fafb;
|
|
14
|
+
--neo-surfaces-data-grid-selected: #f2f3ff;
|
|
15
|
+
--neo-surfaces-data-grid-selected-hover: #dce0ff;
|
|
16
|
+
--neo-surfaces-data-grid-hover: #f9fafb;
|
|
17
|
+
--neo-surfaces-data-grid-default: #ffffff;
|
|
18
|
+
--neo-surfaces-data-grid-disabled: #f3f4f6;
|
|
19
|
+
--neo-surfaces-data-grid-background: #ffffff;
|
|
20
20
|
--neo-surfaces-page: #f4f4f4;
|
|
21
21
|
--neo-surfaces-card: #ffffff;
|
|
22
22
|
--neo-surfaces-card-header: #f3f4f6;
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
--neo-data-red2: #ed4134;
|
|
130
130
|
--neo-data-red3: #cb3446;
|
|
131
131
|
--neo-tab-secondary-background: #e5e7eb;
|
|
132
|
-
--neo-code-background: #
|
|
132
|
+
--neo-code-background: #f3f4f6;
|
|
133
133
|
--neo-brand: #2f42ff;}
|
|
@@ -22,13 +22,13 @@ export declare const icons: Icons;
|
|
|
22
22
|
export type Surfaces = {
|
|
23
23
|
highlightBackground: 'rgba(38, 55, 230, 0)';
|
|
24
24
|
activeHighlight: 'rgba(182, 191, 255, 0.4)';
|
|
25
|
-
|
|
25
|
+
dataGrid: {
|
|
26
26
|
header: '#f9fafb';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
selected: '#f2f3ff';
|
|
28
|
+
selectedHover: '#dce0ff';
|
|
29
|
+
hover: '#f9fafb';
|
|
30
|
+
default: '#ffffff';
|
|
31
|
+
disabled: '#f3f4f6';
|
|
32
32
|
background: '#ffffff';
|
|
33
33
|
};
|
|
34
34
|
page: '#f4f4f4';
|
|
@@ -224,7 +224,7 @@ secondaryBackground: '#e5e7eb';
|
|
|
224
224
|
export declare const tab: Tab;
|
|
225
225
|
|
|
226
226
|
export type Code = {
|
|
227
|
-
background: '#
|
|
227
|
+
background: '#f3f4f6';
|
|
228
228
|
};
|
|
229
229
|
|
|
230
230
|
export declare const code: Code;
|
package/dist/semantic-colors.js
CHANGED
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
export const icons = {"hoverBorder":"#dce0ff","pressedBackground":"#dce0ff","hover":"#1e2ec2","hoverBackground":"#f2f3ff","disabled":"#d1d5db","placeholder":"#9ca3af","pressed":"#131e7a","utility":"#9ca3af","default":"#1f2937","active":"#2f42ff"};
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* @typedef {{ highlightBackground: string, activeHighlight: string,
|
|
17
|
+
* @typedef {{ highlightBackground: string, activeHighlight: string, dataGrid: object, page: string, card: string, cardHeader: string, tabActive: string, listHover: string, shadowNeutral: string, shadowPrimary: string, tooltip: string, scrim: string, tabSecondaryBackground: string, snackbarDarkMode: string, snackbarBrand: string, snackbarLightMode: string, white: string, black: string }} Surfaces
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @type {Surfaces}
|
|
22
22
|
*/
|
|
23
|
-
export const surfaces = {"highlightBackground":"rgba(38, 55, 230, 0)","activeHighlight":"rgba(182, 191, 255, 0.4)","
|
|
23
|
+
export const surfaces = {"highlightBackground":"rgba(38, 55, 230, 0)","activeHighlight":"rgba(182, 191, 255, 0.4)","dataGrid":{"header":"#f9fafb","selected":"#f2f3ff","selectedHover":"#dce0ff","hover":"#f9fafb","default":"#ffffff","disabled":"#f3f4f6","background":"#ffffff"},"page":"#f4f4f4","card":"#ffffff","cardHeader":"#f3f4f6","tabActive":"#f3f4f6","listHover":"#f9fafb","shadowNeutral":"rgba(31, 41, 55, 0.1)","shadowPrimary":"rgba(47, 66, 255, 0.1)","tooltip":"#4b5563","scrim":"rgba(31, 41, 55, 0.2)","tabSecondaryBackground":"#e5e7eb","snackbarDarkMode":"#ffffff","snackbarBrand":"#131e7a","snackbarLightMode":"#4b5563","white":"#ffffff","black":"#000000"};
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @typedef {{ searchInputBackground: string, linkDefault: string, linkHover: string, navigation: object, linkWhite: string, linkWhiteHover: string, input: object, code: object, button: object, tab: object, link: object, error: string, success: string, warning: string, tooltip: string, legal: string, bodySecondary: string, body: string }} Typography
|
|
@@ -101,7 +101,7 @@ export const tab = {"secondaryBackground":"#e5e7eb"};
|
|
|
101
101
|
/**
|
|
102
102
|
* @type {Code}
|
|
103
103
|
*/
|
|
104
|
-
export const code = {"background":"#
|
|
104
|
+
export const code = {"background":"#f3f4f6"};
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* @type {string}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--neo-titles-section-header-semi-bold-line-height: 1.5rem;
|
|
17
17
|
--neo-titles-code-header-line-height: 2rem;
|
|
18
18
|
--neo-titles-code-header-font-family: JetBrains Mono NL;
|
|
19
|
-
--neo-titles-code-header-font-size:
|
|
19
|
+
--neo-titles-code-header-font-size: 24px;
|
|
20
20
|
--neo-titles-code-header-font-weight: 400;
|
|
21
21
|
--neo-titles-moddy-header-line-height: 120%;
|
|
22
22
|
--neo-titles-moddy-header-font-family: Inter;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
--neo-titles-moddy-header-font-weight: 500;
|
|
25
25
|
--neo-titles-page-header-line-height: 140%;
|
|
26
26
|
--neo-titles-page-header-font-family: Inter;
|
|
27
|
-
--neo-titles-page-header-font-size:
|
|
27
|
+
--neo-titles-page-header-font-size: 24px;
|
|
28
28
|
--neo-titles-page-header-font-weight: 400;
|
|
29
29
|
--neo-body-regular-font-family: Inter;
|
|
30
30
|
--neo-body-regular-font-size: 16px;
|
|
@@ -34,7 +34,7 @@ lineHeight: '1.5rem';
|
|
|
34
34
|
codeHeader: {
|
|
35
35
|
lineHeight: '2rem';
|
|
36
36
|
fontFamily: 'JetBrains Mono NL';
|
|
37
|
-
fontSize:
|
|
37
|
+
fontSize: 24;
|
|
38
38
|
fontWeight: 400;
|
|
39
39
|
};
|
|
40
40
|
moddyHeader: {
|
|
@@ -46,7 +46,7 @@ fontWeight: 500;
|
|
|
46
46
|
pageHeader: {
|
|
47
47
|
lineHeight: '140%';
|
|
48
48
|
fontFamily: 'Inter';
|
|
49
|
-
fontSize:
|
|
49
|
+
fontSize: 24;
|
|
50
50
|
fontWeight: 400;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/**
|
|
12
12
|
* @type {Titles}
|
|
13
13
|
*/
|
|
14
|
-
export const titles = {"pageSubheader":{"lineHeight":"1.5rem","fontFamily":"Inter","fontSize":18,"fontWeight":500},"sectionHeader":{"default":{"lineHeight":"1.5rem","fontFamily":"Inter","fontSize":16,"fontWeight":400},"medium":{"fontFamily":"Inter","fontSize":16,"fontWeight":500,"lineHeight":"1.5rem"},"semiBold":{"fontFamily":"Inter","fontSize":16,"fontWeight":600,"lineHeight":"1.5rem"}},"codeHeader":{"lineHeight":"2rem","fontFamily":"JetBrains Mono NL","fontSize":
|
|
14
|
+
export const titles = {"pageSubheader":{"lineHeight":"1.5rem","fontFamily":"Inter","fontSize":18,"fontWeight":500},"sectionHeader":{"default":{"lineHeight":"1.5rem","fontFamily":"Inter","fontSize":16,"fontWeight":400},"medium":{"fontFamily":"Inter","fontSize":16,"fontWeight":500,"lineHeight":"1.5rem"},"semiBold":{"fontFamily":"Inter","fontSize":16,"fontWeight":600,"lineHeight":"1.5rem"}},"codeHeader":{"lineHeight":"2rem","fontFamily":"JetBrains Mono NL","fontSize":24,"fontWeight":400},"moddyHeader":{"lineHeight":"120%","fontFamily":"Inter","fontSize":28,"fontWeight":500},"pageHeader":{"lineHeight":"140%","fontFamily":"Inter","fontSize":24,"fontWeight":400}};
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @typedef {{ regular: object, small: object, xs: object, code: object, xxs: object, semiBold: object, medium: object }} Body
|
package/dist/typography.css
CHANGED
package/dist/typography.d.ts
CHANGED
package/dist/typography.js
CHANGED
|
@@ -27,7 +27,7 @@ export const lineHeight = {
|
|
|
27
27
|
/**
|
|
28
28
|
* @type {FontSize}
|
|
29
29
|
*/
|
|
30
|
-
export const fontSize = {"caption":13,"code":14,"xs":12,"h6":16,"xxs":10,"sm":14,"default":16,"h5":18,"h4":20,"h3":
|
|
30
|
+
export const fontSize = {"caption":13,"code":14,"xs":12,"h6":16,"xxs":10,"sm":14,"default":16,"h5":18,"h4":20,"h3":24,"h2":24,"h1":28};
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* @typedef {{ underline: string }} TextDecoration
|