@neo4j-ndl/base 2.0.8 → 2.1.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.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#695](https://github.com/neo4j/neo4j-design/pull/695) [`b8274f8`](https://github.com/neo4j/neo4j-design/commit/b8274f877b0d32ad40a12cd864df9287c4552cfc) Thanks [@konsalex](https://github.com/konsalex)! - added new shared react hooks and documentation inside Storybook
8
+
9
+ ## 2.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [#703](https://github.com/neo4j/neo4j-design/pull/703) [`278d9e6`](https://github.com/neo4j/neo4j-design/commit/278d9e6454a9a64ff30d1ac6248ad2567c5cffa5) Thanks [@konsalex](https://github.com/konsalex)! - Make codeblock scrollable without explicit click
14
+
3
15
  ## 2.0.8
4
16
 
5
17
  ### Patch Changes
package/lib/LICENSES.txt CHANGED
@@ -14639,6 +14639,32 @@ END OF TERMS AND CONDITIONS
14639
14639
 
14640
14640
  -----
14641
14641
 
14642
+ The following software may be included in this product: usehooks-ts. A copy of the source code may be downloaded from https://github.com/juliencrn/usehooks-ts. This software contains the following license and notice below:
14643
+
14644
+ The MIT License (MIT)
14645
+
14646
+ Copyright (c) 2020 Julien CARON
14647
+
14648
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14649
+ of this software and associated documentation files (the "Software"), to deal
14650
+ in the Software without restriction, including without limitation the rights
14651
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14652
+ copies of the Software, and to permit persons to whom the Software is
14653
+ furnished to do so, subject to the following conditions:
14654
+
14655
+ The above copyright notice and this permission notice shall be included in all
14656
+ copies or substantial portions of the Software.
14657
+
14658
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14659
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14660
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14661
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14662
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14663
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
14664
+ SOFTWARE.
14665
+
14666
+ -----
14667
+
14642
14668
  The following software may be included in this product: vite. A copy of the source code may be downloaded from git+https://github.com/vitejs/vite.git. This software contains the following license and notice below:
14643
14669
 
14644
14670
  # Vite core license
package/lib/NOTICE.txt CHANGED
@@ -297,6 +297,10 @@ Third-party licenses
297
297
  │ │ ├─ URL: git://github.com/TypeStrong/ts-node.git
298
298
  │ │ ├─ VendorName: Blake Embrey
299
299
  │ │ └─ VendorUrl: https://typestrong.org/ts-node
300
+ │ ├─ usehooks-ts@npm:2.9.1 [a2e03] (via npm:2.9.1 [a2e03])
301
+ │ │ ├─ URL: https://github.com/juliencrn/usehooks-ts
302
+ │ │ ├─ VendorName: Julien CARON
303
+ │ │ └─ VendorUrl: https://usehooks-ts.com
300
304
  │ ├─ vite@npm:4.3.5 [d75d7] (via npm:^4.0.4 [d75d7])
301
305
  │ │ ├─ URL: git+https://github.com/vitejs/vite.git
302
306
  │ │ ├─ VendorName: Evan You
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Wed, 06 Dec 2023 09:10:03 GMT
25
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
25
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
25
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
24
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
24
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
25
+ * Generated on Wed, 13 Dec 2023 08:51:54 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -4619,13 +4619,8 @@ a.ndl-btn{
4619
4619
  .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper{
4620
4620
  position:relative;
4621
4621
  width:100%;
4622
- }
4623
- .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper.ndl-focused{
4624
4622
  overflow-y:auto;
4625
4623
  }
4626
- .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper:not(.ndl-focused){
4627
- overflow-y:hidden;
4628
- }
4629
4624
  .ndl-code-block-container .ndl-code-block-actions{
4630
4625
  background:rgb(var(--background));
4631
4626
  position:absolute;
@@ -5455,6 +5450,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5455
5450
  .n-right-1{
5456
5451
  right:4px;
5457
5452
  }
5453
+ .n-top-24{
5454
+ top:96px;
5455
+ }
5458
5456
  .n-isolate{
5459
5457
  isolation:isolate;
5460
5458
  }
@@ -5621,6 +5619,10 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5621
5619
  width:-moz-min-content;
5622
5620
  width:min-content;
5623
5621
  }
5622
+ .n-w-max{
5623
+ width:-moz-max-content;
5624
+ width:max-content;
5625
+ }
5624
5626
  .n-max-w-max{
5625
5627
  max-width:-moz-max-content;
5626
5628
  max-width:max-content;
@@ -5634,6 +5636,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5634
5636
  .n-table-auto{
5635
5637
  table-layout:auto;
5636
5638
  }
5639
+ .n-border-separate{
5640
+ border-collapse:separate;
5641
+ }
5637
5642
  .-n-rotate-180{
5638
5643
  --tw-rotate:-180deg;
5639
5644
  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));
@@ -5651,6 +5656,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5651
5656
  .n-cursor-grab{
5652
5657
  cursor:grab;
5653
5658
  }
5659
+ .n-list-disc{
5660
+ list-style-type:disc;
5661
+ }
5654
5662
  .n-grid-cols-1{
5655
5663
  grid-template-columns:repeat(1, minmax(0, 1fr));
5656
5664
  }
@@ -5776,6 +5784,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5776
5784
  .n-border{
5777
5785
  border-width:1px;
5778
5786
  }
5787
+ .n-border-\[0\.5px\]{
5788
+ border-width:0.5px;
5789
+ }
5779
5790
  .n-border-b-2{
5780
5791
  border-bottom-width:2px;
5781
5792
  }
@@ -25669,6 +25680,15 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
25669
25680
  --tw-bg-opacity:1;
25670
25681
  background-color:rgb(231 250 251 / var(--tw-bg-opacity));
25671
25682
  }
25683
+ .n-bg-cover{
25684
+ background-size:cover;
25685
+ }
25686
+ .n-bg-center{
25687
+ background-position:center;
25688
+ }
25689
+ .n-bg-no-repeat{
25690
+ background-repeat:no-repeat;
25691
+ }
25672
25692
  .n-fill-palette-primary-text{
25673
25693
  fill:rgb(var(--theme-palette-primary-text));
25674
25694
  }
@@ -25728,35 +25748,63 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
25728
25748
  padding-left:12px;
25729
25749
  padding-right:12px;
25730
25750
  }
25751
+ .n-py-4{
25752
+ padding-top:16px;
25753
+ padding-bottom:16px;
25754
+ }
25755
+ .n-px-8{
25756
+ padding-left:32px;
25757
+ padding-right:32px;
25758
+ }
25731
25759
  .n-py-0\.5{
25732
25760
  padding-top:2px;
25733
25761
  padding-bottom:2px;
25734
25762
  }
25735
- .n-px-2{
25736
- padding-left:8px;
25737
- padding-right:8px;
25738
- }
25739
25763
  .n-py-0{
25740
25764
  padding-top:0px;
25741
25765
  padding-bottom:0px;
25742
25766
  }
25743
- .n-px-8{
25744
- padding-left:32px;
25745
- padding-right:32px;
25767
+ .n-px-1{
25768
+ padding-left:4px;
25769
+ padding-right:4px;
25770
+ }
25771
+ .n-px-2{
25772
+ padding-left:8px;
25773
+ padding-right:8px;
25746
25774
  }
25747
25775
  .n-px-10{
25748
25776
  padding-left:40px;
25749
25777
  padding-right:40px;
25750
25778
  }
25779
+ .n-py-2{
25780
+ padding-top:8px;
25781
+ padding-bottom:8px;
25782
+ }
25783
+ .n-px-4{
25784
+ padding-left:16px;
25785
+ padding-right:16px;
25786
+ }
25751
25787
  .n-pb-\[200px\]{
25752
25788
  padding-bottom:200px;
25753
25789
  }
25754
25790
  .n-pb-4{
25755
25791
  padding-bottom:16px;
25756
25792
  }
25793
+ .n-pl-2{
25794
+ padding-left:8px;
25795
+ }
25796
+ .n-pr-1{
25797
+ padding-right:4px;
25798
+ }
25799
+ .n-pl-1{
25800
+ padding-left:4px;
25801
+ }
25757
25802
  .n-text-left{
25758
25803
  text-align:left;
25759
25804
  }
25805
+ .n-text-center{
25806
+ text-align:center;
25807
+ }
25760
25808
  .n-font-sans{
25761
25809
  font-family:"Public Sans";
25762
25810
  }
@@ -25773,6 +25821,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
25773
25821
  .n-uppercase{
25774
25822
  text-transform:uppercase;
25775
25823
  }
25824
+ .n-lowercase{
25825
+ text-transform:lowercase;
25826
+ }
25776
25827
  .n-capitalize{
25777
25828
  text-transform:capitalize;
25778
25829
  }
@@ -35716,6 +35767,10 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
35716
35767
  --tw-text-opacity:1;
35717
35768
  color:rgb(10 97 144 / var(--tw-text-opacity));
35718
35769
  }
35770
+ .n-text-highlights-periwinkle{
35771
+ --tw-text-opacity:1;
35772
+ color:rgb(106 130 255 / var(--tw-text-opacity));
35773
+ }
35719
35774
  .n-shadow-overlay{
35720
35775
  --tw-shadow:var(--theme-shadow-overlay);
35721
35776
  --tw-shadow-colored:var(--theme-shadow-overlay);
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 06 Dec 2023 09:10:03 GMT
24
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
24
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
24
+ * Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
3
+ // Generated on Wed, 13 Dec 2023 08:51:54 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 Wed, 06 Dec 2023 09:10:03 GMT
24
+ * Generated on Wed, 13 Dec 2023 08:51:54 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.0.8",
3
+ "version": "2.1.0",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",