@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 +12 -0
- package/lib/LICENSES.txt +26 -0
- package/lib/NOTICE.txt +4 -0
- package/lib/cjs/tokens/js/storybook-design-token.js +1 -1
- package/lib/cjs/tokens/js/tokens-esm.js +1 -1
- package/lib/cjs/tokens/js/tokens.js +1 -1
- package/lib/esm/tokens/js/storybook-design-token.js +1 -1
- package/lib/esm/tokens/js/tokens-esm.js +1 -1
- package/lib/esm/tokens/js/tokens.js +1 -1
- package/lib/neo4j-ds-styles.css +67 -12
- package/lib/tokens/css/tokens.css +1 -1
- package/lib/tokens/js/tokens-raw.js +1 -1
- package/lib/tokens/js/tokens.js +1 -1
- package/lib/tokens/scss/tokens.scss +1 -1
- package/lib/types/tokens/js/storybook-design-token.d.ts +1 -1
- package/package.json +1 -1
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
|
+
│ ├─ [38;5;173musehooks-ts[39m[38;5;111m@[39m[38;5;111mnpm:2.9.1 [a2e03][39m (via [38;5;37mnpm:2.9.1 [a2e03][39m)
|
|
301
|
+
│ │ ├─ URL: https://github.com/juliencrn/usehooks-ts
|
|
302
|
+
│ │ ├─ VendorName: Julien CARON
|
|
303
|
+
│ │ └─ VendorUrl: https://usehooks-ts.com
|
|
300
304
|
│ ├─ [38;5;173mvite[39m[38;5;111m@[39m[38;5;111mnpm:4.3.5 [d75d7][39m (via [38;5;37mnpm:^4.0.4 [d75d7][39m)
|
|
301
305
|
│ │ ├─ URL: git+https://github.com/vitejs/vite.git
|
|
302
306
|
│ │ ├─ VendorName: Evan You
|
package/lib/neo4j-ds-styles.css
CHANGED
|
@@ -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-
|
|
25744
|
-
padding-left:
|
|
25745
|
-
padding-right:
|
|
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);
|
package/lib/tokens/js/tokens.js
CHANGED