@neo4j-ndl/base 2.9.1 → 2.9.2

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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
3
9
  ## 2.9.1
4
10
 
5
11
  ### 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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:'';
@@ -5729,17 +5721,16 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5729
5721
  .ndl-avatar .ndl-avatar-shape.ndl-avatar-disabled{
5730
5722
  cursor:not-allowed;
5731
5723
  }
5732
- .ndl-avatar .ndl-avatar-shape{
5724
+ .ndl-avatar .ndl-avatar-shape:focus,
5725
+ .ndl-avatar .ndl-avatar-shape:focus-visible{
5733
5726
  outline:2px solid transparent;
5734
5727
  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
5728
  --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5740
5729
  --tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
5741
5730
  box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
5731
+ --tw-ring-color:rgb(var(--theme-palette-primary-focus));
5742
5732
  --tw-ring-offset-width:1px;
5733
+ --tw-ring-offset-color:rgb(var(--theme-palette-neutral-bg-weak));
5743
5734
  }
5744
5735
  .ndl-avatar .ndl-avatar-circle{
5745
5736
  border-radius:9999px;
@@ -47687,6 +47678,19 @@ html{
47687
47678
  -moz-osx-font-smoothing:grayscale;
47688
47679
  text-rendering:optimizeLegibility;
47689
47680
  }
47681
+ body *[class^='ndl-']:focus-visible,
47682
+ body *[class^='ndl-']:focus,
47683
+ body *[class^='n-']:focus-visible,
47684
+ body *[class^='n-']:focus,
47685
+ html *[class^='ndl-']:focus-visible,
47686
+ html *[class^='ndl-']:focus,
47687
+ html *[class^='n-']:focus-visible,
47688
+ html *[class^='n-']:focus{
47689
+ outline-style:solid;
47690
+ outline-width:2px;
47691
+ outline-offset:-2px;
47692
+ outline-color:rgb(var(--theme-palette-primary-focus));
47693
+ }
47690
47694
  .first-letter\:n-capitalize::first-letter{
47691
47695
  text-transform:capitalize;
47692
47696
  }
@@ -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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:18 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 Mon, 06 May 2024 12:26:17 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 Mon, 06 May 2024 12:26:18 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.2",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",