@neo4j-ndl/base 2.9.1 → 2.9.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#889](https://github.com/neo4j/needle/pull/889) [`734c677e4556348d6b0c1e3898b30b09396cf58a`](https://github.com/neo4j/needle/commit/734c677e4556348d6b0c1e3898b30b09396cf58a) Thanks [@basickarl](https://github.com/basickarl)! - Fixed spacing issues
8
+
9
+ ## 2.9.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#849](https://github.com/neo4j/needle/pull/849) [`9d1936cd7c229dca889afac03da7232bd9157bca`](https://github.com/neo4j/needle/commit/9d1936cd7c229dca889afac03da7232bd9157bca) Thanks [@basickarl](https://github.com/basickarl)! - Added default outline for focus and focus-visible
14
+
3
15
  ## 2.9.1
4
16
 
5
17
  ### Patch Changes
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Mon, 06 May 2024 08:03:50 GMT
25
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
26
26
  */
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.tokens = void 0;
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Mon, 06 May 2024 08:03:50 GMT
25
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
26
26
  */
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.tokens = void 0;
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Mon, 06 May 2024 08:03:50 GMT
25
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 06 May 2024 08:03:50 GMT
24
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
25
25
  */
26
26
  export const tokens = {
27
27
  "transitions": [
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 06 May 2024 08:03:50 GMT
24
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
25
25
  */
26
26
  export const tokens = {
27
27
  "transitions": {
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Mon, 06 May 2024 08:03:50 GMT
25
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -1016,16 +1016,14 @@ h6,
1016
1016
  padding-bottom:12px;
1017
1017
  padding-right:12px;
1018
1018
  }
1019
+ .ndl-accordion .ndl-accordion-item-header-button:focus,
1020
+ .ndl-accordion .ndl-accordion-item-header-button:focus-visible{
1021
+ border-radius:0px;
1022
+ }
1019
1023
  .ndl-accordion .ndl-accordion-item-header-button-disabled{
1020
1024
  cursor:not-allowed;
1021
1025
  color:rgb(var(--theme-palette-neutral-text-weakest));
1022
1026
  }
1023
- .ndl-accordion .ndl-accordion-item-header-button:focus-visible{
1024
- outline-style:solid;
1025
- outline-width:2px;
1026
- outline-offset:-2px;
1027
- outline-color:rgb(var(--theme-palette-primary-focus));
1028
- }
1029
1027
  .ndl-accordion .ndl-accordion-item-header-button:hover{
1030
1028
  background-color:rgb(var(--theme-palette-neutral-hover));
1031
1029
  }
@@ -1061,13 +1059,6 @@ h6,
1061
1059
  height:0px;
1062
1060
  overflow:hidden;
1063
1061
  }
1064
- .ndl-accordion .ndl-accordion-item-content:focus-visible{
1065
- border-radius:4px;
1066
- outline-style:solid;
1067
- outline-width:2px;
1068
- outline-offset:1px;
1069
- outline-color:rgb(var(--theme-palette-primary-focus));
1070
- }
1071
1062
  .ndl-accordion .ndl-accordion-item-content-right{
1072
1063
  padding-left:36px;
1073
1064
  }
@@ -3585,6 +3576,7 @@ a.ndl-btn{
3585
3576
  .ndl-data-grid-focusable-cells .ndl-focusable-cell:focus-visible{
3586
3577
  z-index:2;
3587
3578
  border:2px solid rgb(var(--theme-palette-primary-focus));
3579
+ border-radius:0px;
3588
3580
  }
3589
3581
  .ndl-data-grid-bottom-border{
3590
3582
  content:'';
@@ -5281,7 +5273,7 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5281
5273
  }
5282
5274
  .ndl-side-navigation{
5283
5275
  position:relative;
5284
- box-sizing:content-box;
5276
+ box-sizing:border-box;
5285
5277
  display:flex;
5286
5278
  height:100%;
5287
5279
  width:320px;
@@ -5313,10 +5305,10 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5313
5305
  justify-content:center;
5314
5306
  }
5315
5307
  .ndl-side-navigation:not(.ndl-expanded) .ndl-side-navigation-nav-item > .ndl-side-navigation-inner-item{
5316
- display:flex;
5317
- width:48px;
5318
- justify-content:center;
5319
- }
5308
+ display:flex;
5309
+ width:48px;
5310
+ justify-content:center;
5311
+ }
5320
5312
  .ndl-side-navigation:not(.ndl-expanded) .ndl-side-navigation-nav-item > .ndl-side-navigation-inner-item .ndl-icon{
5321
5313
  margin-right:0px;
5322
5314
  }
@@ -5325,10 +5317,10 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5325
5317
  justify-content:center;
5326
5318
  }
5327
5319
  .ndl-side-navigation:not(.ndl-expanded) .ndl-side-navigation-nav-item-small > .ndl-side-navigation-inner-item{
5328
- display:flex;
5329
- width:36px;
5330
- justify-content:center;
5331
- }
5320
+ display:flex;
5321
+ width:36px;
5322
+ justify-content:center;
5323
+ }
5332
5324
  .ndl-side-navigation:not(.ndl-expanded) .ndl-side-navigation-nav-item-small > .ndl-side-navigation-inner-item .ndl-icon{
5333
5325
  margin-right:0px;
5334
5326
  }
@@ -5370,12 +5362,11 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5370
5362
  .ndl-side-navigation .ndl-side-navigation-nav-item{
5371
5363
  margin-top:2px;
5372
5364
  margin-bottom:2px;
5373
- margin-left:16px;
5374
- margin-right:16px;
5365
+ margin-left:12px;
5366
+ margin-right:7px;
5375
5367
  }
5376
5368
  .ndl-side-navigation .ndl-side-navigation-nav-item:not(.ndl-expanded){
5377
5369
  margin-left:8px;
5378
- margin-right:8px;
5379
5370
  }
5380
5371
  .ndl-side-navigation .ndl-side-navigation-nav-item:not(.ndl-expanded) .ndl-selected::before{
5381
5372
  position:absolute;
@@ -5391,7 +5382,7 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5391
5382
  }
5392
5383
  .ndl-side-navigation .ndl-side-navigation-nav-item.ndl-expanded .ndl-selected::before{
5393
5384
  position:absolute;
5394
- left:-16px;
5385
+ left:-12px;
5395
5386
  top:0px;
5396
5387
  height:100%;
5397
5388
  width:4px;
@@ -5410,19 +5401,19 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5410
5401
  color:rgb(var(--theme-palette-neutral-text-default));
5411
5402
  }
5412
5403
  .ndl-side-navigation .ndl-side-navigation-nav-item > .ndl-side-navigation-inner-item .ndl-icon{
5413
- margin-right:16px;
5404
+ margin-right:12px;
5414
5405
  width:24px;
5415
5406
  height:24px;
5416
5407
  justify-content:center;
5417
5408
  color:rgb(var(--theme-palette-neutral-text-weak));
5418
5409
  }
5419
5410
  .ndl-side-navigation .ndl-side-navigation-nav-item > .ndl-side-navigation-inner-item.ndl-side-navigation-group-header{
5420
- height:48px;
5421
- font-size:var(--font-size-h6);
5411
+ height:48px;
5412
+ font-size:var(--font-size-h5);
5422
5413
  font-weight:var(--font-weight-bold);
5423
5414
  letter-spacing:0.016rem;
5424
- line-height:1.5rem;
5425
- }
5415
+ line-height:1.75rem;
5416
+ }
5426
5417
  .ndl-side-navigation .ndl-side-navigation-nav-item > .ndl-side-navigation-inner-item.ndl-selected{
5427
5418
  position:relative;
5428
5419
  background-color:rgb(var(--theme-palette-primary-bg-weak));
@@ -5449,12 +5440,8 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5449
5440
  .ndl-side-navigation .ndl-side-navigation-nav-item-small{
5450
5441
  margin-top:2px;
5451
5442
  margin-bottom:2px;
5452
- margin-left:12px;
5453
- margin-right:12px;
5454
- }
5455
- .ndl-side-navigation .ndl-side-navigation-nav-item-small:not(.ndl-expanded){
5456
- margin-left:4px;
5457
- margin-right:4px;
5443
+ margin-left:8px;
5444
+ margin-right:7px;
5458
5445
  }
5459
5446
  .ndl-side-navigation .ndl-side-navigation-nav-item-small:not(.ndl-expanded) .ndl-selected::before{
5460
5447
  position:absolute;
@@ -5470,7 +5457,7 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5470
5457
  }
5471
5458
  .ndl-side-navigation .ndl-side-navigation-nav-item-small.ndl-expanded .ndl-selected::before{
5472
5459
  position:absolute;
5473
- left:-12px;
5460
+ left:-8px;
5474
5461
  top:0px;
5475
5462
  height:100%;
5476
5463
  width:4px;
@@ -5487,6 +5474,10 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5487
5474
  align-items:center;
5488
5475
  border-radius:8px;
5489
5476
  color:rgb(var(--theme-palette-neutral-text-default));
5477
+ font-size:var(--font-size-body-medium);
5478
+ font-weight:var(--font-weight-normal);
5479
+ letter-spacing:0.016rem;
5480
+ line-height:1.25rem;
5490
5481
  }
5491
5482
  .ndl-side-navigation .ndl-side-navigation-nav-item-small > .ndl-side-navigation-inner-item .ndl-icon{
5492
5483
  margin-right:8px;
@@ -5496,12 +5487,12 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5496
5487
  color:rgb(var(--theme-palette-neutral-text-weak));
5497
5488
  }
5498
5489
  .ndl-side-navigation .ndl-side-navigation-nav-item-small > .ndl-side-navigation-inner-item.ndl-side-navigation-group-header{
5499
- height:28px;
5490
+ height:28px;
5500
5491
  font-size:var(--font-size-h6);
5501
5492
  font-weight:var(--font-weight-bold);
5502
5493
  letter-spacing:0.016rem;
5503
5494
  line-height:1.5rem;
5504
- }
5495
+ }
5505
5496
  .ndl-side-navigation .ndl-side-navigation-nav-item-small > .ndl-side-navigation-inner-item.ndl-selected{
5506
5497
  position:relative;
5507
5498
  background-color:rgb(var(--theme-palette-primary-bg-weak));
@@ -5729,17 +5720,16 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5729
5720
  .ndl-avatar .ndl-avatar-shape.ndl-avatar-disabled{
5730
5721
  cursor:not-allowed;
5731
5722
  }
5732
- .ndl-avatar .ndl-avatar-shape{
5723
+ .ndl-avatar .ndl-avatar-shape:focus,
5724
+ .ndl-avatar .ndl-avatar-shape:focus-visible{
5733
5725
  outline:2px solid transparent;
5734
5726
  outline-offset:2px;
5735
- --tw-ring-color:rgb(var(--theme-palette-primary-focus));
5736
- --tw-ring-offset-color:rgb(var(--theme-palette-neutral-bg-weak));
5737
- }
5738
- .ndl-avatar .ndl-avatar-shape:focus-visible{
5739
5727
  --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5740
5728
  --tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
5741
5729
  box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
5730
+ --tw-ring-color:rgb(var(--theme-palette-primary-focus));
5742
5731
  --tw-ring-offset-width:1px;
5732
+ --tw-ring-offset-color:rgb(var(--theme-palette-neutral-bg-weak));
5743
5733
  }
5744
5734
  .ndl-avatar .ndl-avatar-circle{
5745
5735
  border-radius:9999px;
@@ -47687,6 +47677,19 @@ html{
47687
47677
  -moz-osx-font-smoothing:grayscale;
47688
47678
  text-rendering:optimizeLegibility;
47689
47679
  }
47680
+ body *[class^='ndl-']:focus-visible,
47681
+ body *[class^='ndl-']:focus,
47682
+ body *[class^='n-']:focus-visible,
47683
+ body *[class^='n-']:focus,
47684
+ html *[class^='ndl-']:focus-visible,
47685
+ html *[class^='ndl-']:focus,
47686
+ html *[class^='n-']:focus-visible,
47687
+ html *[class^='n-']:focus{
47688
+ outline-style:solid;
47689
+ outline-width:2px;
47690
+ outline-offset:-2px;
47691
+ outline-color:rgb(var(--theme-palette-primary-focus));
47692
+ }
47690
47693
  .first-letter\:n-capitalize::first-letter{
47691
47694
  text-transform:capitalize;
47692
47695
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 06 May 2024 08:03:50 GMT
24
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
25
25
  */
26
26
 
27
27
  :root {
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 06 May 2024 08:03:50 GMT
24
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
25
25
  */
26
26
 
27
27
  module.exports = {
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 06 May 2024 08:03:50 GMT
24
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
25
25
  */
26
26
 
27
27
  export const tokens = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 06 May 2024 08:03:50 GMT
3
+ // Generated on Tue, 07 May 2024 09:15:53 GMT
4
4
 
5
5
  $transitions-values-properties-default: all;
6
6
  $transitions-values-duration-quick: 100ms;
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 06 May 2024 08:03:50 GMT
24
+ * Generated on Tue, 07 May 2024 09:15:53 GMT
25
25
  */
26
26
  export const tokens: {
27
27
  transitions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "2.9.1",
3
+ "version": "2.9.3",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",