@neo4j-ndl/base 2.6.0 → 2.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#739](https://github.com/neo4j/needle/pull/739) [`c821cdc49a6a37e7745887a88b3237ea3ccdf567`](https://github.com/neo4j/needle/commit/c821cdc49a6a37e7745887a88b3237ea3ccdf567) Thanks [@konsalex](https://github.com/konsalex)! - new InlineEdit component
8
+
9
+ ## 2.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#744](https://github.com/neo4j/needle/pull/744) [`d65fdd5623085a9dcd4e95d333e54da8bd83eb54`](https://github.com/neo4j/needle/commit/d65fdd5623085a9dcd4e95d333e54da8bd83eb54) Thanks [@daugerdas](https://github.com/daugerdas)! - update focus color of CodeBlock
14
+
3
15
  ## 2.6.0
4
16
 
5
17
  ### Minor Changes
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Mon, 19 Feb 2024 08:15:08 GMT
25
+ * Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
25
+ * Generated on Fri, 01 Mar 2024 08:44:29 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, 19 Feb 2024 08:15:08 GMT
25
+ * Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
24
+ * Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
24
+ * Generated on Fri, 01 Mar 2024 08:44:29 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, 19 Feb 2024 08:15:08 GMT
25
+ * Generated on Fri, 01 Mar 2024 08:44:28 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -4633,11 +4633,6 @@ a.ndl-btn{
4633
4633
  z-index:1;
4634
4634
  height:100%;
4635
4635
  width:12px;
4636
- background-image:linear-gradient(to right, var(--tw-gradient-stops));
4637
- --tw-gradient-from:transparent;
4638
- --tw-gradient-to:rgb(0 0 0 / 0);
4639
- --tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);
4640
- --tw-gradient-to:rgb(var(--background));
4641
4636
  --tw-content:"";
4642
4637
  content:var(--tw-content);
4643
4638
  }
@@ -4650,6 +4645,9 @@ a.ndl-btn{
4650
4645
  width:100%;
4651
4646
  overflow-y:auto;
4652
4647
  }
4648
+ .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper:focus{
4649
+ outline-color:rgb(var(--theme-palette-primary-focus));
4650
+ }
4653
4651
  .ndl-code-block-container .ndl-code-block-actions{
4654
4652
  background:rgb(var(--background));
4655
4653
  position:absolute;
@@ -5937,6 +5935,64 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5937
5935
  background-color:rgb(var(--theme-palette-neutral-bg-weak));
5938
5936
  opacity:40%;
5939
5937
  }
5938
+ .ndl-inline-edit{
5939
+ max-inline-size:100%;
5940
+ display:flex;
5941
+ flex-direction:column;
5942
+ gap:4px;
5943
+ }
5944
+ .ndl-inline-edit label{
5945
+ color:rgb(var(--theme-palette-neutral-text-weak));
5946
+ font-size:var(--font-size-body-medium);
5947
+ font-weight:var(--font-weight-normal);
5948
+ letter-spacing:0.016rem;
5949
+ line-height:1.25rem;
5950
+ }
5951
+ .ndl-inline-edit .ndl-inline-idle-container{
5952
+ display:flex;
5953
+ height:100%;
5954
+ width:100%;
5955
+ cursor:pointer;
5956
+ flex-direction:row;
5957
+ align-items:center;
5958
+ justify-content:space-between;
5959
+ gap:4px;
5960
+ border-radius:4px;
5961
+ padding-left:4px;
5962
+ padding-right:4px;
5963
+ }
5964
+ .ndl-inline-edit .ndl-inline-idle-container-disabled{
5965
+ cursor:not-allowed;
5966
+ }
5967
+ .ndl-inline-edit .ndl-inline-idle-container:hover{
5968
+ background-color:rgb(var(--theme-palette-neutral-hover));
5969
+ }
5970
+ .ndl-inline-edit .ndl-inline-edit-container{
5971
+ position:relative;
5972
+ display:flex;
5973
+ }
5974
+ .ndl-inline-edit .ndl-inline-edit-container input{
5975
+ outline-offset:-2px;
5976
+ padding:0 4px; width:100%; border-radius:4px; outline-style:solid; outline-width:2px; outline-color:rgb(var(--theme-palette-primary-focus));
5977
+ }
5978
+ .ndl-inline-edit .ndl-inline-edit-container.ndl-inline-edit-error input{
5979
+ outline-color:rgb(var(--theme-palette-danger-border-strong));
5980
+ }
5981
+ .ndl-inline-edit .ndl-inline-edit-container.ndl-inline-edit-error .ndl-inline-edit-error-icon{
5982
+ position:absolute;
5983
+ right:4px;
5984
+ top:50%;
5985
+ --tw-translate-y:-50%;
5986
+ transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
5987
+ color:rgb(var(--theme-palette-danger-icon));
5988
+ }
5989
+ .ndl-inline-edit .ndl-inline-edit-container .ndl-inline-edit-buttons{
5990
+ position:absolute;
5991
+ inset-block-start:calc(100% + 4px);
5992
+ inset-inline-end:0;
5993
+ display:flex;
5994
+ gap:4px;
5995
+ }
5940
5996
  .n-sr-only{
5941
5997
  position:absolute;
5942
5998
  width:1px;
@@ -6172,6 +6228,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
6172
6228
  .n-list-disc{
6173
6229
  list-style-type:disc;
6174
6230
  }
6231
+ .n-list-decimal{
6232
+ list-style-type:decimal;
6233
+ }
6175
6234
  .n-grid-cols-1{
6176
6235
  grid-template-columns:repeat(1, minmax(0, 1fr));
6177
6236
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 19 Feb 2024 08:15:08 GMT
24
+ * Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
24
+ * Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
24
+ * Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
3
+ // Generated on Fri, 01 Mar 2024 08:44:28 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, 19 Feb 2024 08:15:08 GMT
24
+ * Generated on Fri, 01 Mar 2024 08:44:28 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.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",