@neo4j-ndl/base 2.10.0 → 2.11.5
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/lib/LICENSES.txt +2 -25269
- package/lib/NOTICE.txt +2 -395
- package/lib/cjs/tailwindTheme.js +1 -1
- package/lib/cjs/tailwindTheme.js.map +1 -1
- package/lib/cjs/tokens/js/storybook-design-token.js +128 -2
- package/lib/cjs/tokens/js/storybook-design-token.js.map +1 -1
- package/lib/cjs/tokens/js/tokens-esm.js +18 -2
- package/lib/cjs/tokens/js/tokens-esm.js.map +1 -1
- package/lib/cjs/tokens/js/tokens.js +18 -2
- package/lib/cjs/tokens/js/tokens.js.map +1 -1
- package/lib/esm/tailwindTheme.js +1 -1
- package/lib/esm/tailwindTheme.js.map +1 -1
- package/lib/esm/tokens/js/storybook-design-token.js +128 -2
- package/lib/esm/tokens/js/storybook-design-token.js.map +1 -1
- package/lib/esm/tokens/js/tokens-esm.js +18 -2
- package/lib/esm/tokens/js/tokens-esm.js.map +1 -1
- package/lib/esm/tokens/js/tokens.js +18 -2
- package/lib/esm/tokens/js/tokens.js.map +1 -1
- package/lib/fonts/fira-code-400-regular-normal.woff2 +0 -0
- package/lib/fonts/fira-code-500-medium-normal.woff2 +0 -0
- package/lib/fonts/fira-code-700-bold-normal.woff2 +0 -0
- package/lib/fonts/public-sans-300-light-normal.woff2 +0 -0
- package/lib/fonts/public-sans-400-regular-italic.woff2 +0 -0
- package/lib/fonts/public-sans-400-regular-normal.woff2 +0 -0
- package/lib/fonts/public-sans-500-medium-normal.woff2 +0 -0
- package/lib/fonts/public-sans-600-semi-bold-normal.woff2 +0 -0
- package/lib/fonts/public-sans-700-bold-normal.woff2 +0 -0
- package/lib/fonts/syne-neo-500-medium-normal.woff2 +0 -0
- package/lib/neo4j-ds-styles.css +32747 -32445
- package/lib/tokens/css/tokens.css +16 -2
- package/lib/tokens/js/tokens-raw.js +299 -3
- package/lib/tokens/js/tokens.js +18 -2
- package/lib/tokens/scss/tokens.scss +16 -2
- package/lib/types/tokens/js/storybook-design-token.d.ts +1 -1
- package/lib/types/tokens/js/tokens-esm.d.ts +26 -11
- package/lib/types/tokens/js/tokens.d.ts +26 -11
- package/package.json +17 -15
- package/CHANGELOG.md +0 -1165
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 19 Jun 2024 09:29:05 GMT
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
:root {
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
--theme-light-palette-neutral-bg-on-bg-weak: 245 246 246 / 1; /* Original value: 245 246 246 / 1, alpha: 1 */
|
|
282
282
|
--theme-light-palette-neutral-bg-strong: 226 227 229 / 1; /* Original value: 226 227 229 / 1, alpha: 1 */
|
|
283
283
|
--theme-light-palette-neutral-bg-stronger: 168 172 178 / 1; /* Original value: 168 172 178 / 1, alpha: 1 */
|
|
284
|
-
--theme-light-palette-neutral-bg-strongest:
|
|
284
|
+
--theme-light-palette-neutral-bg-strongest: 60 63 68 / 1; /* Original value: 60 63 68 / 1, alpha: 1 */
|
|
285
285
|
--theme-light-palette-neutral-bg-status: 168 172 178 / 1; /* Original value: 168 172 178 / 1, alpha: 1 */
|
|
286
286
|
--theme-light-palette-neutral-border-weak: 226 227 229 / 1; /* Original value: 226 227 229 / 1, alpha: 1 */
|
|
287
287
|
--theme-light-palette-neutral-border-strong: 187 190 195 / 1; /* Original value: 187 190 195 / 1, alpha: 1 */
|
|
@@ -352,6 +352,20 @@
|
|
|
352
352
|
--font-weight-normal: 400;
|
|
353
353
|
--font-weight-medium: 500;
|
|
354
354
|
--font-weight-light: 300;
|
|
355
|
+
--font-font-family-h1: Syne Neo;
|
|
356
|
+
--font-font-family-h2: Syne Neo;
|
|
357
|
+
--font-font-family-h3: Public Sans;
|
|
358
|
+
--font-font-family-h4: Public Sans;
|
|
359
|
+
--font-font-family-h5: Public Sans;
|
|
360
|
+
--font-font-family-h6: Public Sans;
|
|
361
|
+
--font-font-family-subheading-large: Public Sans;
|
|
362
|
+
--font-font-family-subheading-medium: Public Sans;
|
|
363
|
+
--font-font-family-subheading-small: Public Sans;
|
|
364
|
+
--font-font-family-body-large: Public Sans;
|
|
365
|
+
--font-font-family-body-medium: Public Sans;
|
|
366
|
+
--font-font-family-body-small: Public Sans;
|
|
367
|
+
--font-font-family-code: Fira Code;
|
|
368
|
+
--font-font-family-label: Public Sans;
|
|
355
369
|
--space-0: 0px;
|
|
356
370
|
--space-1: 1px;
|
|
357
371
|
--space-2: 2px;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 19 Jun 2024 09:29:05 GMT
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
module.exports = {
|
|
@@ -5536,12 +5536,12 @@ module.exports = {
|
|
|
5536
5536
|
]
|
|
5537
5537
|
},
|
|
5538
5538
|
"strongest": {
|
|
5539
|
-
"value": "#
|
|
5539
|
+
"value": "#3C3F44",
|
|
5540
5540
|
"description": "Use sparsely, mainly for tooltips or other elements that should stand out from the light layout",
|
|
5541
5541
|
"filePath": "src/tokens/light-theme.json",
|
|
5542
5542
|
"isSource": true,
|
|
5543
5543
|
"original": {
|
|
5544
|
-
"value": "{colors.neutral.
|
|
5544
|
+
"value": "{colors.neutral.65.value}",
|
|
5545
5545
|
"description": "Use sparsely, mainly for tooltips or other elements that should stand out from the light layout"
|
|
5546
5546
|
},
|
|
5547
5547
|
"name": "ThemeLightPaletteNeutralBgStrongest",
|
|
@@ -7308,6 +7308,302 @@ module.exports = {
|
|
|
7308
7308
|
"light"
|
|
7309
7309
|
]
|
|
7310
7310
|
}
|
|
7311
|
+
},
|
|
7312
|
+
"font-family": {
|
|
7313
|
+
"h1": {
|
|
7314
|
+
"value": "Syne Neo",
|
|
7315
|
+
"description": "Do not use, mainly for web",
|
|
7316
|
+
"filePath": "src/tokens/fonts.json",
|
|
7317
|
+
"isSource": true,
|
|
7318
|
+
"original": {
|
|
7319
|
+
"value": "Syne Neo",
|
|
7320
|
+
"description": "Do not use, mainly for web"
|
|
7321
|
+
},
|
|
7322
|
+
"name": "FontFontFamilyH1",
|
|
7323
|
+
"attributes": {
|
|
7324
|
+
"category": "font",
|
|
7325
|
+
"type": "font-family",
|
|
7326
|
+
"item": "h1"
|
|
7327
|
+
},
|
|
7328
|
+
"path": [
|
|
7329
|
+
"font",
|
|
7330
|
+
"font-family",
|
|
7331
|
+
"h1"
|
|
7332
|
+
]
|
|
7333
|
+
},
|
|
7334
|
+
"h2": {
|
|
7335
|
+
"value": "Syne Neo",
|
|
7336
|
+
"description": "Use for page headers",
|
|
7337
|
+
"filePath": "src/tokens/fonts.json",
|
|
7338
|
+
"isSource": true,
|
|
7339
|
+
"original": {
|
|
7340
|
+
"value": "Syne Neo",
|
|
7341
|
+
"description": "Use for page headers"
|
|
7342
|
+
},
|
|
7343
|
+
"name": "FontFontFamilyH2",
|
|
7344
|
+
"attributes": {
|
|
7345
|
+
"category": "font",
|
|
7346
|
+
"type": "font-family",
|
|
7347
|
+
"item": "h2"
|
|
7348
|
+
},
|
|
7349
|
+
"path": [
|
|
7350
|
+
"font",
|
|
7351
|
+
"font-family",
|
|
7352
|
+
"h2"
|
|
7353
|
+
]
|
|
7354
|
+
},
|
|
7355
|
+
"h3": {
|
|
7356
|
+
"value": "Public Sans",
|
|
7357
|
+
"description": "Use cautiously. Used for larger container header such as login screen and dialogs",
|
|
7358
|
+
"filePath": "src/tokens/fonts.json",
|
|
7359
|
+
"isSource": true,
|
|
7360
|
+
"original": {
|
|
7361
|
+
"value": "Public Sans",
|
|
7362
|
+
"description": "Use cautiously. Used for larger container header such as login screen and dialogs"
|
|
7363
|
+
},
|
|
7364
|
+
"name": "FontFontFamilyH3",
|
|
7365
|
+
"attributes": {
|
|
7366
|
+
"category": "font",
|
|
7367
|
+
"type": "font-family",
|
|
7368
|
+
"item": "h3"
|
|
7369
|
+
},
|
|
7370
|
+
"path": [
|
|
7371
|
+
"font",
|
|
7372
|
+
"font-family",
|
|
7373
|
+
"h3"
|
|
7374
|
+
]
|
|
7375
|
+
},
|
|
7376
|
+
"h4": {
|
|
7377
|
+
"value": "Public Sans",
|
|
7378
|
+
"description": "Use cautiously. Not used in any components",
|
|
7379
|
+
"filePath": "src/tokens/fonts.json",
|
|
7380
|
+
"isSource": true,
|
|
7381
|
+
"original": {
|
|
7382
|
+
"value": "Public Sans",
|
|
7383
|
+
"description": "Use cautiously. Not used in any components"
|
|
7384
|
+
},
|
|
7385
|
+
"name": "FontFontFamilyH4",
|
|
7386
|
+
"attributes": {
|
|
7387
|
+
"category": "font",
|
|
7388
|
+
"type": "font-family",
|
|
7389
|
+
"item": "h4"
|
|
7390
|
+
},
|
|
7391
|
+
"path": [
|
|
7392
|
+
"font",
|
|
7393
|
+
"font-family",
|
|
7394
|
+
"h4"
|
|
7395
|
+
]
|
|
7396
|
+
},
|
|
7397
|
+
"h5": {
|
|
7398
|
+
"value": "Public Sans",
|
|
7399
|
+
"description": "Used for larger containers such as drag & drop and drawer. Use instead of H3 if you want a more compact layout with less spacing and padding inside the container",
|
|
7400
|
+
"filePath": "src/tokens/fonts.json",
|
|
7401
|
+
"isSource": true,
|
|
7402
|
+
"original": {
|
|
7403
|
+
"value": "Public Sans",
|
|
7404
|
+
"description": "Used for larger containers such as drag & drop and drawer. Use instead of H3 if you want a more compact layout with less spacing and padding inside the container"
|
|
7405
|
+
},
|
|
7406
|
+
"name": "FontFontFamilyH5",
|
|
7407
|
+
"attributes": {
|
|
7408
|
+
"category": "font",
|
|
7409
|
+
"type": "font-family",
|
|
7410
|
+
"item": "h5"
|
|
7411
|
+
},
|
|
7412
|
+
"path": [
|
|
7413
|
+
"font",
|
|
7414
|
+
"font-family",
|
|
7415
|
+
"h5"
|
|
7416
|
+
]
|
|
7417
|
+
},
|
|
7418
|
+
"h6": {
|
|
7419
|
+
"value": "Public Sans",
|
|
7420
|
+
"description": "Common smaller header. Used in banner, buttons, context menu, widget and wizard",
|
|
7421
|
+
"filePath": "src/tokens/fonts.json",
|
|
7422
|
+
"isSource": true,
|
|
7423
|
+
"original": {
|
|
7424
|
+
"value": "Public Sans",
|
|
7425
|
+
"description": "Common smaller header. Used in banner, buttons, context menu, widget and wizard"
|
|
7426
|
+
},
|
|
7427
|
+
"name": "FontFontFamilyH6",
|
|
7428
|
+
"attributes": {
|
|
7429
|
+
"category": "font",
|
|
7430
|
+
"type": "font-family",
|
|
7431
|
+
"item": "h6"
|
|
7432
|
+
},
|
|
7433
|
+
"path": [
|
|
7434
|
+
"font",
|
|
7435
|
+
"font-family",
|
|
7436
|
+
"h6"
|
|
7437
|
+
]
|
|
7438
|
+
},
|
|
7439
|
+
"subheading-large": {
|
|
7440
|
+
"value": "Public Sans",
|
|
7441
|
+
"description": "Pair with larger headers. Not used in any components",
|
|
7442
|
+
"filePath": "src/tokens/fonts.json",
|
|
7443
|
+
"isSource": true,
|
|
7444
|
+
"original": {
|
|
7445
|
+
"value": "Public Sans",
|
|
7446
|
+
"description": "Pair with larger headers. Not used in any components"
|
|
7447
|
+
},
|
|
7448
|
+
"name": "FontFontFamilySubheadingLarge",
|
|
7449
|
+
"attributes": {
|
|
7450
|
+
"category": "font",
|
|
7451
|
+
"type": "font-family",
|
|
7452
|
+
"item": "subheading-large"
|
|
7453
|
+
},
|
|
7454
|
+
"path": [
|
|
7455
|
+
"font",
|
|
7456
|
+
"font-family",
|
|
7457
|
+
"subheading-large"
|
|
7458
|
+
]
|
|
7459
|
+
},
|
|
7460
|
+
"subheading-medium": {
|
|
7461
|
+
"value": "Public Sans",
|
|
7462
|
+
"description": "Use with medium sized headers or as a header of its own. Is used as header in smaller components and as a selected state to differentiate from body text. Is used in view selector, tabs and code block",
|
|
7463
|
+
"filePath": "src/tokens/fonts.json",
|
|
7464
|
+
"isSource": true,
|
|
7465
|
+
"original": {
|
|
7466
|
+
"value": "Public Sans",
|
|
7467
|
+
"description": "Use with medium sized headers or as a header of its own. Is used as header in smaller components and as a selected state to differentiate from body text. Is used in view selector, tabs and code block"
|
|
7468
|
+
},
|
|
7469
|
+
"name": "FontFontFamilySubheadingMedium",
|
|
7470
|
+
"attributes": {
|
|
7471
|
+
"category": "font",
|
|
7472
|
+
"type": "font-family",
|
|
7473
|
+
"item": "subheading-medium"
|
|
7474
|
+
},
|
|
7475
|
+
"path": [
|
|
7476
|
+
"font",
|
|
7477
|
+
"font-family",
|
|
7478
|
+
"subheading-medium"
|
|
7479
|
+
]
|
|
7480
|
+
},
|
|
7481
|
+
"subheading-small": {
|
|
7482
|
+
"value": "Public Sans",
|
|
7483
|
+
"description": "Use cautiously. Not used in any components",
|
|
7484
|
+
"filePath": "src/tokens/fonts.json",
|
|
7485
|
+
"isSource": true,
|
|
7486
|
+
"original": {
|
|
7487
|
+
"value": "Public Sans",
|
|
7488
|
+
"description": "Use cautiously. Not used in any components"
|
|
7489
|
+
},
|
|
7490
|
+
"name": "FontFontFamilySubheadingSmall",
|
|
7491
|
+
"attributes": {
|
|
7492
|
+
"category": "font",
|
|
7493
|
+
"type": "font-family",
|
|
7494
|
+
"item": "subheading-small"
|
|
7495
|
+
},
|
|
7496
|
+
"path": [
|
|
7497
|
+
"font",
|
|
7498
|
+
"font-family",
|
|
7499
|
+
"subheading-small"
|
|
7500
|
+
]
|
|
7501
|
+
},
|
|
7502
|
+
"body-large": {
|
|
7503
|
+
"value": "Public Sans",
|
|
7504
|
+
"description": "Use cautiously. Mainly used as the base font in web experiences. Can be used when wanting to create a subtle hierarchy such as in tables, dialogs. Is also used in some components where we provide a size “large”",
|
|
7505
|
+
"filePath": "src/tokens/fonts.json",
|
|
7506
|
+
"isSource": true,
|
|
7507
|
+
"original": {
|
|
7508
|
+
"value": "Public Sans",
|
|
7509
|
+
"description": "Use cautiously. Mainly used as the base font in web experiences. Can be used when wanting to create a subtle hierarchy such as in tables, dialogs. Is also used in some components where we provide a size “large”"
|
|
7510
|
+
},
|
|
7511
|
+
"name": "FontFontFamilyBodyLarge",
|
|
7512
|
+
"attributes": {
|
|
7513
|
+
"category": "font",
|
|
7514
|
+
"type": "font-family",
|
|
7515
|
+
"item": "body-large"
|
|
7516
|
+
},
|
|
7517
|
+
"path": [
|
|
7518
|
+
"font",
|
|
7519
|
+
"font-family",
|
|
7520
|
+
"body-large"
|
|
7521
|
+
]
|
|
7522
|
+
},
|
|
7523
|
+
"body-medium": {
|
|
7524
|
+
"value": "Public Sans",
|
|
7525
|
+
"description": "This is the base font and should be used as much as possible",
|
|
7526
|
+
"filePath": "src/tokens/fonts.json",
|
|
7527
|
+
"isSource": true,
|
|
7528
|
+
"original": {
|
|
7529
|
+
"value": "Public Sans",
|
|
7530
|
+
"description": "This is the base font and should be used as much as possible"
|
|
7531
|
+
},
|
|
7532
|
+
"name": "FontFontFamilyBodyMedium",
|
|
7533
|
+
"attributes": {
|
|
7534
|
+
"category": "font",
|
|
7535
|
+
"type": "font-family",
|
|
7536
|
+
"item": "body-medium"
|
|
7537
|
+
},
|
|
7538
|
+
"path": [
|
|
7539
|
+
"font",
|
|
7540
|
+
"font-family",
|
|
7541
|
+
"body-medium"
|
|
7542
|
+
]
|
|
7543
|
+
},
|
|
7544
|
+
"body-small": {
|
|
7545
|
+
"value": "Public Sans",
|
|
7546
|
+
"description": "Smallest accessible font. Use when having little space or crowded layouts.Examples include charts (widgets) and help texts",
|
|
7547
|
+
"filePath": "src/tokens/fonts.json",
|
|
7548
|
+
"isSource": true,
|
|
7549
|
+
"original": {
|
|
7550
|
+
"value": "Public Sans",
|
|
7551
|
+
"description": "Smallest accessible font. Use when having little space or crowded layouts.Examples include charts (widgets) and help texts"
|
|
7552
|
+
},
|
|
7553
|
+
"name": "FontFontFamilyBodySmall",
|
|
7554
|
+
"attributes": {
|
|
7555
|
+
"category": "font",
|
|
7556
|
+
"type": "font-family",
|
|
7557
|
+
"item": "body-small"
|
|
7558
|
+
},
|
|
7559
|
+
"path": [
|
|
7560
|
+
"font",
|
|
7561
|
+
"font-family",
|
|
7562
|
+
"body-small"
|
|
7563
|
+
]
|
|
7564
|
+
},
|
|
7565
|
+
"code": {
|
|
7566
|
+
"value": "Fira Code",
|
|
7567
|
+
"description": "Base font for code. Uses the same font size as the base font for regular text (body/medium)",
|
|
7568
|
+
"filePath": "src/tokens/fonts.json",
|
|
7569
|
+
"isSource": true,
|
|
7570
|
+
"original": {
|
|
7571
|
+
"value": "Fira Code",
|
|
7572
|
+
"description": "Base font for code. Uses the same font size as the base font for regular text (body/medium)"
|
|
7573
|
+
},
|
|
7574
|
+
"name": "FontFontFamilyCode",
|
|
7575
|
+
"attributes": {
|
|
7576
|
+
"category": "font",
|
|
7577
|
+
"type": "font-family",
|
|
7578
|
+
"item": "code"
|
|
7579
|
+
},
|
|
7580
|
+
"path": [
|
|
7581
|
+
"font",
|
|
7582
|
+
"font-family",
|
|
7583
|
+
"code"
|
|
7584
|
+
]
|
|
7585
|
+
},
|
|
7586
|
+
"label": {
|
|
7587
|
+
"value": "Public Sans",
|
|
7588
|
+
"description": "Mainly used for the label component but can also be used when needing a bold label inside a small component or space",
|
|
7589
|
+
"filePath": "src/tokens/fonts.json",
|
|
7590
|
+
"isSource": true,
|
|
7591
|
+
"original": {
|
|
7592
|
+
"value": "Public Sans",
|
|
7593
|
+
"description": "Mainly used for the label component but can also be used when needing a bold label inside a small component or space"
|
|
7594
|
+
},
|
|
7595
|
+
"name": "FontFontFamilyLabel",
|
|
7596
|
+
"attributes": {
|
|
7597
|
+
"category": "font",
|
|
7598
|
+
"type": "font-family",
|
|
7599
|
+
"item": "label"
|
|
7600
|
+
},
|
|
7601
|
+
"path": [
|
|
7602
|
+
"font",
|
|
7603
|
+
"font-family",
|
|
7604
|
+
"label"
|
|
7605
|
+
]
|
|
7606
|
+
}
|
|
7311
7607
|
}
|
|
7312
7608
|
},
|
|
7313
7609
|
"space": {
|
package/lib/tokens/js/tokens.js
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 19 Jun 2024 09:29:05 GMT
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
export const tokens = {
|
|
@@ -388,7 +388,7 @@ export const tokens = {
|
|
|
388
388
|
"on-bg-weak": "#F5F6F6",
|
|
389
389
|
"strong": "#E2E3E5",
|
|
390
390
|
"stronger": "#A8ACB2",
|
|
391
|
-
"strongest": "#
|
|
391
|
+
"strongest": "#3C3F44",
|
|
392
392
|
"status": "#A8ACB2"
|
|
393
393
|
},
|
|
394
394
|
"border": {
|
|
@@ -508,6 +508,22 @@ export const tokens = {
|
|
|
508
508
|
"normal": "400",
|
|
509
509
|
"medium": "500",
|
|
510
510
|
"light": "300"
|
|
511
|
+
},
|
|
512
|
+
"font-family": {
|
|
513
|
+
"h1": "Syne Neo",
|
|
514
|
+
"h2": "Syne Neo",
|
|
515
|
+
"h3": "Public Sans",
|
|
516
|
+
"h4": "Public Sans",
|
|
517
|
+
"h5": "Public Sans",
|
|
518
|
+
"h6": "Public Sans",
|
|
519
|
+
"subheading-large": "Public Sans",
|
|
520
|
+
"subheading-medium": "Public Sans",
|
|
521
|
+
"subheading-small": "Public Sans",
|
|
522
|
+
"body-large": "Public Sans",
|
|
523
|
+
"body-medium": "Public Sans",
|
|
524
|
+
"body-small": "Public Sans",
|
|
525
|
+
"code": "Fira Code",
|
|
526
|
+
"label": "Public Sans"
|
|
511
527
|
}
|
|
512
528
|
},
|
|
513
529
|
"space": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Wed, 19 Jun 2024 09:29:05 GMT
|
|
4
4
|
|
|
5
5
|
$transitions-values-properties-default: all;
|
|
6
6
|
$transitions-values-duration-quick: 100ms;
|
|
@@ -258,7 +258,7 @@ $theme-light-palette-neutral-bg-default: 245 246 246 / 1; // Original value: 245
|
|
|
258
258
|
$theme-light-palette-neutral-bg-on-bg-weak: 245 246 246 / 1; // Original value: 245 246 246 / 1, alpha: 1
|
|
259
259
|
$theme-light-palette-neutral-bg-strong: 226 227 229 / 1; // Original value: 226 227 229 / 1, alpha: 1
|
|
260
260
|
$theme-light-palette-neutral-bg-stronger: 168 172 178 / 1; // Original value: 168 172 178 / 1, alpha: 1
|
|
261
|
-
$theme-light-palette-neutral-bg-strongest:
|
|
261
|
+
$theme-light-palette-neutral-bg-strongest: 60 63 68 / 1; // Original value: 60 63 68 / 1, alpha: 1
|
|
262
262
|
$theme-light-palette-neutral-bg-status: 168 172 178 / 1; // Original value: 168 172 178 / 1, alpha: 1
|
|
263
263
|
$theme-light-palette-neutral-border-weak: 226 227 229 / 1; // Original value: 226 227 229 / 1, alpha: 1
|
|
264
264
|
$theme-light-palette-neutral-border-strong: 187 190 195 / 1; // Original value: 187 190 195 / 1, alpha: 1
|
|
@@ -329,6 +329,20 @@ $font-weight-semibold: 600;
|
|
|
329
329
|
$font-weight-normal: 400;
|
|
330
330
|
$font-weight-medium: 500;
|
|
331
331
|
$font-weight-light: 300;
|
|
332
|
+
$font-font-family-h1: Syne Neo;
|
|
333
|
+
$font-font-family-h2: Syne Neo;
|
|
334
|
+
$font-font-family-h3: Public Sans;
|
|
335
|
+
$font-font-family-h4: Public Sans;
|
|
336
|
+
$font-font-family-h5: Public Sans;
|
|
337
|
+
$font-font-family-h6: Public Sans;
|
|
338
|
+
$font-font-family-subheading-large: Public Sans;
|
|
339
|
+
$font-font-family-subheading-medium: Public Sans;
|
|
340
|
+
$font-font-family-subheading-small: Public Sans;
|
|
341
|
+
$font-font-family-body-large: Public Sans;
|
|
342
|
+
$font-font-family-body-medium: Public Sans;
|
|
343
|
+
$font-font-family-body-small: Public Sans;
|
|
344
|
+
$font-font-family-code: Fira Code;
|
|
345
|
+
$font-font-family-label: Public Sans;
|
|
332
346
|
$space-0: 0px;
|
|
333
347
|
$space-1: 1px;
|
|
334
348
|
$space-2: 2px;
|
|
@@ -625,8 +625,8 @@ export namespace tokens {
|
|
|
625
625
|
export { palette_2 as palette };
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
|
|
629
|
-
|
|
628
|
+
let font: {
|
|
629
|
+
size: {
|
|
630
630
|
h1: string;
|
|
631
631
|
h2: string;
|
|
632
632
|
h3: string;
|
|
@@ -642,15 +642,30 @@ export namespace tokens {
|
|
|
642
642
|
code: string;
|
|
643
643
|
label: string;
|
|
644
644
|
};
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
645
|
+
weight: {
|
|
646
|
+
bold: string;
|
|
647
|
+
semibold: string;
|
|
648
|
+
normal: string;
|
|
649
|
+
medium: string;
|
|
650
|
+
light: string;
|
|
651
|
+
};
|
|
652
|
+
"font-family": {
|
|
653
|
+
h1: string;
|
|
654
|
+
h2: string;
|
|
655
|
+
h3: string;
|
|
656
|
+
h4: string;
|
|
657
|
+
h5: string;
|
|
658
|
+
h6: string;
|
|
659
|
+
"subheading-large": string;
|
|
660
|
+
"subheading-medium": string;
|
|
661
|
+
"subheading-small": string;
|
|
662
|
+
"body-large": string;
|
|
663
|
+
"body-medium": string;
|
|
664
|
+
"body-small": string;
|
|
665
|
+
code: string;
|
|
666
|
+
label: string;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
654
669
|
let space: {
|
|
655
670
|
"0": string;
|
|
656
671
|
"1": string;
|
|
@@ -624,8 +624,8 @@ export namespace theme {
|
|
|
624
624
|
export { palette_2 as palette };
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
export
|
|
628
|
-
|
|
627
|
+
export let font: {
|
|
628
|
+
size: {
|
|
629
629
|
h1: string;
|
|
630
630
|
h2: string;
|
|
631
631
|
h3: string;
|
|
@@ -641,15 +641,30 @@ export namespace font {
|
|
|
641
641
|
code: string;
|
|
642
642
|
label: string;
|
|
643
643
|
};
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
644
|
+
weight: {
|
|
645
|
+
bold: string;
|
|
646
|
+
semibold: string;
|
|
647
|
+
normal: string;
|
|
648
|
+
medium: string;
|
|
649
|
+
light: string;
|
|
650
|
+
};
|
|
651
|
+
"font-family": {
|
|
652
|
+
h1: string;
|
|
653
|
+
h2: string;
|
|
654
|
+
h3: string;
|
|
655
|
+
h4: string;
|
|
656
|
+
h5: string;
|
|
657
|
+
h6: string;
|
|
658
|
+
"subheading-large": string;
|
|
659
|
+
"subheading-medium": string;
|
|
660
|
+
"subheading-small": string;
|
|
661
|
+
"body-large": string;
|
|
662
|
+
"body-medium": string;
|
|
663
|
+
"body-small": string;
|
|
664
|
+
code: string;
|
|
665
|
+
label: string;
|
|
666
|
+
};
|
|
667
|
+
};
|
|
653
668
|
export let space: {
|
|
654
669
|
"0": string;
|
|
655
670
|
"1": string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/base",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "Neo4j base package for the design system",
|
|
5
5
|
"author": "Neo4j Inc.",
|
|
6
6
|
"homepage": "https://www.neo4j.design",
|
|
@@ -29,21 +29,9 @@
|
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
|
-
"scripts": {
|
|
33
|
-
"test": "echo 'No tests provided'",
|
|
34
|
-
"build": "yarn build:style-dictionary && yarn build:sass && yarn build:esm && yarn build:cjs && yarn build:css",
|
|
35
|
-
"build:style-dictionary": "style-dictionary build --config sd.config.js",
|
|
36
|
-
"build:esm": "tsc -p tsconfig.esm.json",
|
|
37
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
38
|
-
"build:sass": "sass --no-source-map src/base/theme-palettes.scss src/base/theme-palettes.css",
|
|
39
|
-
"build:css": "postcss src/styles.css -o lib/neo4j-ds-styles.css",
|
|
40
|
-
"watch:css": "postcss -w src/styles.css -o lib/neo4j-ds-styles.css",
|
|
41
|
-
"watch:esm": "tsc -p tsconfig.esm.json --watch",
|
|
42
|
-
"watch:cjs": "tsc -p tsconfig.cjs.json --watch"
|
|
43
|
-
},
|
|
44
32
|
"devDependencies": {
|
|
45
|
-
"autoprefixer": "
|
|
46
|
-
"postcss": "
|
|
33
|
+
"autoprefixer": "10.4.0",
|
|
34
|
+
"postcss": "8.4.18",
|
|
47
35
|
"postcss-cli": "^10.0.0",
|
|
48
36
|
"postcss-discard-comments": "6.0.0",
|
|
49
37
|
"postcss-import": "^14.0.2",
|
|
@@ -53,5 +41,19 @@
|
|
|
53
41
|
"tailwindcss": "3.4.1",
|
|
54
42
|
"ts-node": "^10.4.0",
|
|
55
43
|
"typescript": "5.4.3"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"test": "echo 'No tests provided'",
|
|
47
|
+
"build": "pnpm build:style-dictionary && pnpm build:sass && pnpm build:esm && pnpm build:cjs && pnpm build:css && pnpm build:fonts",
|
|
48
|
+
"build:style-dictionary": "style-dictionary build --config sd.config.js",
|
|
49
|
+
"build:esm": "tsc -p tsconfig.esm.json",
|
|
50
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
51
|
+
"build:sass": "sass --no-source-map src/base/theme-palettes.scss src/base/theme-palettes.css",
|
|
52
|
+
"build:css": "postcss src/styles.css -o lib/neo4j-ds-styles.css",
|
|
53
|
+
"build:fonts": "mkdir -p ./lib/fonts/ && cp ./src/fonts/*.woff2 ./lib/fonts/",
|
|
54
|
+
"watch:css": "postcss -w src/styles.css -o lib/neo4j-ds-styles.css",
|
|
55
|
+
"watch:esm": "tsc -p tsconfig.esm.json --watch",
|
|
56
|
+
"watch:cjs": "tsc -p tsconfig.cjs.json --watch",
|
|
57
|
+
"nuke:local": "npx --yes rimraf@5.0.5 .tsbuildinfo"
|
|
56
58
|
}
|
|
57
59
|
}
|