@neo4j-ndl/base 2.0.9 → 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,11 @@
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
+
3
9
  ## 2.0.9
4
10
 
5
11
  ### 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 GMT
25
+ * Generated on Wed, 13 Dec 2023 08:51:54 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -5450,6 +5450,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5450
5450
  .n-right-1{
5451
5451
  right:4px;
5452
5452
  }
5453
+ .n-top-24{
5454
+ top:96px;
5455
+ }
5453
5456
  .n-isolate{
5454
5457
  isolation:isolate;
5455
5458
  }
@@ -5616,6 +5619,10 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5616
5619
  width:-moz-min-content;
5617
5620
  width:min-content;
5618
5621
  }
5622
+ .n-w-max{
5623
+ width:-moz-max-content;
5624
+ width:max-content;
5625
+ }
5619
5626
  .n-max-w-max{
5620
5627
  max-width:-moz-max-content;
5621
5628
  max-width:max-content;
@@ -5629,6 +5636,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5629
5636
  .n-table-auto{
5630
5637
  table-layout:auto;
5631
5638
  }
5639
+ .n-border-separate{
5640
+ border-collapse:separate;
5641
+ }
5632
5642
  .-n-rotate-180{
5633
5643
  --tw-rotate:-180deg;
5634
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));
@@ -5646,6 +5656,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5646
5656
  .n-cursor-grab{
5647
5657
  cursor:grab;
5648
5658
  }
5659
+ .n-list-disc{
5660
+ list-style-type:disc;
5661
+ }
5649
5662
  .n-grid-cols-1{
5650
5663
  grid-template-columns:repeat(1, minmax(0, 1fr));
5651
5664
  }
@@ -5771,6 +5784,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
5771
5784
  .n-border{
5772
5785
  border-width:1px;
5773
5786
  }
5787
+ .n-border-\[0\.5px\]{
5788
+ border-width:0.5px;
5789
+ }
5774
5790
  .n-border-b-2{
5775
5791
  border-bottom-width:2px;
5776
5792
  }
@@ -25664,6 +25680,15 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
25664
25680
  --tw-bg-opacity:1;
25665
25681
  background-color:rgb(231 250 251 / var(--tw-bg-opacity));
25666
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
+ }
25667
25692
  .n-fill-palette-primary-text{
25668
25693
  fill:rgb(var(--theme-palette-primary-text));
25669
25694
  }
@@ -25723,35 +25748,63 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
25723
25748
  padding-left:12px;
25724
25749
  padding-right:12px;
25725
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
+ }
25726
25759
  .n-py-0\.5{
25727
25760
  padding-top:2px;
25728
25761
  padding-bottom:2px;
25729
25762
  }
25730
- .n-px-2{
25731
- padding-left:8px;
25732
- padding-right:8px;
25733
- }
25734
25763
  .n-py-0{
25735
25764
  padding-top:0px;
25736
25765
  padding-bottom:0px;
25737
25766
  }
25738
- .n-px-8{
25739
- padding-left:32px;
25740
- 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;
25741
25774
  }
25742
25775
  .n-px-10{
25743
25776
  padding-left:40px;
25744
25777
  padding-right:40px;
25745
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
+ }
25746
25787
  .n-pb-\[200px\]{
25747
25788
  padding-bottom:200px;
25748
25789
  }
25749
25790
  .n-pb-4{
25750
25791
  padding-bottom:16px;
25751
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
+ }
25752
25802
  .n-text-left{
25753
25803
  text-align:left;
25754
25804
  }
25805
+ .n-text-center{
25806
+ text-align:center;
25807
+ }
25755
25808
  .n-font-sans{
25756
25809
  font-family:"Public Sans";
25757
25810
  }
@@ -25768,6 +25821,9 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
25768
25821
  .n-uppercase{
25769
25822
  text-transform:uppercase;
25770
25823
  }
25824
+ .n-lowercase{
25825
+ text-transform:lowercase;
25826
+ }
25771
25827
  .n-capitalize{
25772
25828
  text-transform:capitalize;
25773
25829
  }
@@ -35711,6 +35767,10 @@ a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor
35711
35767
  --tw-text-opacity:1;
35712
35768
  color:rgb(10 97 144 / var(--tw-text-opacity));
35713
35769
  }
35770
+ .n-text-highlights-periwinkle{
35771
+ --tw-text-opacity:1;
35772
+ color:rgb(106 130 255 / var(--tw-text-opacity));
35773
+ }
35714
35774
  .n-shadow-overlay{
35715
35775
  --tw-shadow:var(--theme-shadow-overlay);
35716
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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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 Mon, 11 Dec 2023 10:45:17 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.9",
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",