@neo4j-ndl/base 2.5.0 → 2.6.1

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.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ ## 2.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#733](https://github.com/neo4j/needle/pull/733) [`6f374de548bbdb0f4fd32a76e49ec85c8118b351`](https://github.com/neo4j/needle/commit/6f374de548bbdb0f4fd32a76e49ec85c8118b351) Thanks [@konsalex](https://github.com/konsalex)! - add new slider component
14
+
3
15
  ## 2.5.0
4
16
 
5
17
  ### Minor Changes
package/lib/LICENSES.txt CHANGED
@@ -17001,7 +17001,7 @@ SOFTWARE.
17001
17001
 
17002
17002
  -----
17003
17003
 
17004
- The following software may be included in this product: react-aria. A copy of the source code may be downloaded from https://github.com/adobe/react-spectrum. This software contains the following license and notice below:
17004
+ The following software may be included in this product: react-aria, react-stately. A copy of the source code may be downloaded from https://github.com/adobe/react-spectrum (react-aria), https://github.com/adobe/react-spectrum (react-stately). This software contains the following license and notice below:
17005
17005
 
17006
17006
  Apache License
17007
17007
  Version 2.0, January 2004
package/lib/NOTICE.txt CHANGED
@@ -333,7 +333,9 @@ Third-party licenses
333
333
  │ │ ├─ URL: https://github.com/krisk/Fuse.git
334
334
  │ │ ├─ VendorName: Kiro Risk
335
335
  │ │ └─ VendorUrl: http://fusejs.io
336
- │ ├─ react-aria@npm:3.31.1 [a2e03] (via npm:^3.25.0 [a2e03])
336
+ │ ├─ react-aria@npm:3.31.0 [a2e03] (via npm:3.31.0 [a2e03])
337
+ │ │ └─ URL: https://github.com/adobe/react-spectrum
338
+ │ ├─ react-stately@npm:3.29.1 [a2e03] (via npm:3.29.1 [a2e03])
337
339
  │ │ └─ URL: https://github.com/adobe/react-spectrum
338
340
  │ ├─ style-dictionary@npm:3.9.2 (via npm:^3.0.3)
339
341
  │ │ ├─ URL: git://github.com/amzn/style-dictionary.git
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Mon, 12 Feb 2024 13:07:19 GMT
25
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
25
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
25
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
24
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
24
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
25
+ * Generated on Tue, 27 Feb 2024 16:27:18 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;
@@ -5835,6 +5833,108 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5835
5833
  .ndl-avatar .ndl-avatar-status-svg-unknown-inner{
5836
5834
  fill:rgb(var(--theme-palette-neutral-bg-weak));
5837
5835
  }
5836
+ .ndl-slider{
5837
+ display:flex;
5838
+ width:100%;
5839
+ position:relative;
5840
+
5841
+ --primary-color:var(--theme-palette-primary-bg-strong);
5842
+ }
5843
+ .ndl-slider .ndl-track{
5844
+ height:30px;
5845
+ width:100%;
5846
+ }
5847
+ .ndl-slider .ndl-track:before{
5848
+ content:'';
5849
+ display:block;
5850
+ position:absolute;
5851
+ height:4px;
5852
+ width:100%;
5853
+ top:50%;
5854
+ transform:translateY(-50%);
5855
+ border-radius:9999px;
5856
+ background-color:rgb(var(--theme-palette-neutral-bg-strong));
5857
+ }
5858
+ .ndl-slider .ndl-track.ndl-is-disabled{
5859
+ --primary-color:var(--theme-palette-neutral-text-weakest);
5860
+ cursor:not-allowed;
5861
+ }
5862
+ .ndl-slider .ndl-track .ndl-thumb{
5863
+ position:relative;
5864
+ width:20px;
5865
+ height:20px;
5866
+ border-radius:50%;
5867
+ top:50%;
5868
+ z-index:2;
5869
+ background-color:rgb(var(--primary-color));
5870
+ }
5871
+ .ndl-slider .ndl-track .ndl-thumb input{
5872
+ width:20px;
5873
+ height:20px;
5874
+ }
5875
+ .ndl-slider .ndl-track:not(.ndl-is-disabled) .ndl-thumb:hover{
5876
+ cursor:pointer;
5877
+ }
5878
+ .ndl-slider .ndl-track:not(.ndl-is-disabled) .ndl-thumb:hover:before{
5879
+ content:'';
5880
+ position:absolute;
5881
+ top:calc(50% - 18px);
5882
+ left:calc(50% - 18px);
5883
+ height:36px;
5884
+ width:36px;
5885
+ z-index:-1;
5886
+ pointer-events:none;
5887
+ border-radius:9999px;
5888
+ background-color:rgb(var(--theme-palette-primary-hover-weak));
5889
+ }
5890
+ .ndl-slider .ndl-track:not(.ndl-is-disabled) .ndl-thumb.ndl-is-dragging:before{
5891
+ content:'';
5892
+ position:absolute;
5893
+ top:calc(50% - 18px);
5894
+ left:calc(50% - 18px);
5895
+ height:36px;
5896
+ width:36px;
5897
+ z-index:-1;
5898
+ pointer-events:none;
5899
+ border-radius:9999px;
5900
+ background-color:rgb(var(--theme-palette-primary-pressed-weak));
5901
+ }
5902
+ .ndl-slider .ndl-track .ndl-thumb.ndl-focus{
5903
+ --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5904
+ --tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
5905
+ box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
5906
+ --tw-ring-color:rgb(var(--theme-palette-primary-focus));
5907
+ }
5908
+ .ndl-slider .ndl-filled-track{
5909
+ height:4px;
5910
+ position:absolute;
5911
+ top:calc(50% - 2px);
5912
+ left:0;
5913
+ z-index:1;
5914
+ background-color:rgb(var(--primary-color));
5915
+ border-radius:9999px;
5916
+ }
5917
+ .ndl-slider .ndl-track-marks{
5918
+ pointer-events:none;
5919
+ width:calc(100% - 4px);
5920
+ left:50%;
5921
+ translate:-50% 0;
5922
+ position:absolute;
5923
+ top:calc(50% - 1px);
5924
+ z-index:2;
5925
+ }
5926
+ .ndl-slider .ndl-track-mark{
5927
+ height:2px;
5928
+ width:2px;
5929
+ position:absolute;
5930
+ border-radius:100%;
5931
+ background-color:rgb(var(--theme-palette-neutral-bg-stronger));
5932
+ opacity:100%;
5933
+ }
5934
+ .ndl-slider .ndl-track-mark.ndl-on-active-track{
5935
+ background-color:rgb(var(--theme-palette-neutral-bg-weak));
5936
+ opacity:40%;
5937
+ }
5838
5938
  .n-sr-only{
5839
5939
  position:absolute;
5840
5940
  width:1px;
@@ -6070,6 +6170,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
6070
6170
  .n-list-disc{
6071
6171
  list-style-type:disc;
6072
6172
  }
6173
+ .n-list-decimal{
6174
+ list-style-type:decimal;
6175
+ }
6073
6176
  .n-grid-cols-1{
6074
6177
  grid-template-columns:repeat(1, minmax(0, 1fr));
6075
6178
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Mon, 12 Feb 2024 13:07:19 GMT
24
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
24
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
24
+ * Generated on Tue, 27 Feb 2024 16:27: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, 12 Feb 2024 13:07:19 GMT
3
+ // Generated on Tue, 27 Feb 2024 16:27:18 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, 12 Feb 2024 13:07:19 GMT
24
+ * Generated on Tue, 27 Feb 2024 16:27: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.5.0",
3
+ "version": "2.6.1",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",