@neo4j-ndl/base 3.0.16 → 3.0.18

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.
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Wed, 27 Nov 2024 16:18:12 GMT
25
+ * Generated on Thu, 12 Dec 2024 07:55:06 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, 27 Nov 2024 16:18:12 GMT
25
+ * Generated on Thu, 12 Dec 2024 07:55:07 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, 27 Nov 2024 16:18:12 GMT
25
+ * Generated on Thu, 12 Dec 2024 07:55:06 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, 27 Nov 2024 16:18:12 GMT
24
+ * Generated on Thu, 12 Dec 2024 07:55:06 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, 27 Nov 2024 16:18:12 GMT
24
+ * Generated on Thu, 12 Dec 2024 07:55:07 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, 27 Nov 2024 16:18:12 GMT
25
+ * Generated on Thu, 12 Dec 2024 07:55:06 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -1452,12 +1452,11 @@ a.ndl-btn {
1452
1452
  padding-right:8px;
1453
1453
  padding-top:2px;
1454
1454
  padding-bottom:2px;
1455
- font-weight:700;
1456
1455
  text-transform:capitalize;
1457
- font-family:var(--font-font-family-body-label), sans-serif;
1458
- font-size:var(--font-size-label);
1459
- font-weight:var(--font-weight-bold);
1460
- letter-spacing:0;
1456
+ font-family:var(--font-font-family-subheading-small), sans-serif;
1457
+ font-size:var(--font-size-subheading-small);
1458
+ font-weight:var(--font-weight-semibold);
1459
+ letter-spacing:0.016rem;
1461
1460
  line-height:1.25rem;
1462
1461
 
1463
1462
  line-height:normal;
@@ -1665,10 +1664,20 @@ a.ndl-btn {
1665
1664
  .ndl-banner.ndl-inline .ndl-banner-content, .ndl-banner.ndl-global .ndl-banner-content {
1666
1665
  display:flex;
1667
1666
  flex:1 1 0%;
1668
- flex-direction:column;
1669
- gap:8px;
1667
+ flex-direction:row;
1668
+ flex-wrap:wrap;
1669
+ justify-content:space-between;
1670
+ gap:16px;
1670
1671
  overflow:auto;
1671
1672
  }
1673
+ .ndl-banner.ndl-inline.ndl-with-title .ndl-banner-content, .ndl-banner.ndl-global.ndl-with-title .ndl-banner-content {
1674
+ flex-direction:column;
1675
+ }
1676
+ .ndl-banner.ndl-inline .ndl-banner-title-description, .ndl-banner.ndl-global .ndl-banner-title-description {
1677
+ display:flex;
1678
+ flex-direction:column;
1679
+ gap:4px;
1680
+ }
1672
1681
  .ndl-banner.ndl-inline.ndl-warning, .ndl-banner.ndl-global.ndl-warning {
1673
1682
  background-color:rgb(var(--theme-palette-warning-bg-weak));
1674
1683
  border-style:solid;
@@ -1709,19 +1718,12 @@ a.ndl-btn {
1709
1718
  .ndl-banner.ndl-inline.ndl-danger .ndl-banner-actions a, .ndl-banner.ndl-global.ndl-danger .ndl-banner-actions a {
1710
1719
  cursor:pointer;
1711
1720
  color:rgb(var(--theme-palette-neutral-text-default));
1712
- text-decoration-line:underline;
1713
1721
  font-family:var(--font-font-family-body-label), sans-serif;
1714
1722
  font-size:var(--font-size-label);
1715
1723
  font-weight:var(--font-weight-bold);
1716
1724
  letter-spacing:0;
1717
1725
  line-height:1.25rem;
1718
1726
  }
1719
- .ndl-banner.ndl-inline .ndl-banner-actions, .ndl-banner.ndl-global .ndl-banner-actions {
1720
- margin-top:16px;
1721
- display:flex;
1722
- -moz-column-gap:16px;
1723
- column-gap:16px;
1724
- }
1725
1727
  .ndl-banner.ndl-inline .ndl-banner-icon.ndl-close-icon, .ndl-banner.ndl-global .ndl-banner-icon.ndl-close-icon {
1726
1728
  color:rgb(var(--theme-palette-neutral-text-weak));
1727
1729
  }
@@ -1772,6 +1774,14 @@ a.ndl-btn {
1772
1774
  margin-left:auto;
1773
1775
  color:rgb(var(--theme-palette-neutral-text-inverse));
1774
1776
  }
1777
+ .ndl-banner.ndl-full-width .ndl-banner-icon.ndl-close-icon:hover {
1778
+ background-color:rgb(149 154 161 / var(--tw-bg-opacity));
1779
+ --tw-bg-opacity:0.1;
1780
+ }
1781
+ .ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-icon.ndl-close-icon:hover {
1782
+ background-color:rgb(111 117 126 / var(--tw-bg-opacity));
1783
+ --tw-bg-opacity:0.1;
1784
+ }
1775
1785
  .ndl-banner.ndl-full-width .ndl-banner-icon.ndl-close-icon::before {
1776
1786
  position:absolute;
1777
1787
  left:-12px;
@@ -1790,9 +1800,27 @@ a.ndl-btn {
1790
1800
  letter-spacing:0.016rem;
1791
1801
  line-height:1.25rem;
1792
1802
  }
1793
- .ndl-banner.ndl-full-width .ndl-banner-actions a {
1803
+ .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-btn {
1804
+ border-color:rgb(var(--theme-palette-neutral-text-inverse));
1805
+ background-color:transparent;
1794
1806
  color:rgb(var(--theme-palette-neutral-text-inverse));
1795
1807
  }
1808
+ .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-btn:not(:disabled):hover {
1809
+ background-color:rgb(149 154 161 / var(--tw-bg-opacity));
1810
+ --tw-bg-opacity:0.1;
1811
+ }
1812
+ .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-btn:not(:disabled):active {
1813
+ background-color:rgb(149 154 161 / var(--tw-bg-opacity));
1814
+ --tw-bg-opacity:0.2;
1815
+ }
1816
+ .ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-btn:not(:disabled):hover {
1817
+ background-color:rgb(111 117 126 / var(--tw-bg-opacity));
1818
+ --tw-bg-opacity:0.1;
1819
+ }
1820
+ .ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-btn:not(:disabled):active {
1821
+ background-color:rgb(111 117 126 / var(--tw-bg-opacity));
1822
+ --tw-bg-opacity:0.2;
1823
+ }
1796
1824
  .ndl-banner .ndl-banner-title {
1797
1825
  display:flex;
1798
1826
  justify-content:space-between;
@@ -1810,13 +1838,32 @@ a.ndl-btn {
1810
1838
  .ndl-banner .ndl-banner-icon.ndl-close-icon {
1811
1839
  cursor:pointer;
1812
1840
  }
1813
- .ndl-banner .ndl-banner-actions a {
1814
- cursor:pointer;
1815
- text-decoration-line:underline;
1841
+ .ndl-banner .ndl-banner-actions {
1842
+ display:flex;
1843
+ flex-wrap:wrap;
1844
+ -moz-column-gap:12px;
1845
+ column-gap:12px;
1846
+ row-gap:12px;
1816
1847
  }
1817
- .ndl-banner .ndl-banner-actions button {
1848
+ .ndl-banner .ndl-banner-actions .ndl-btn {
1818
1849
  cursor:pointer;
1819
- text-decoration-line:underline;
1850
+ border-color:rgb(var(--theme-palette-neutral-text-default));
1851
+ background-color:transparent;
1852
+ color:rgb(var(--theme-palette-neutral-text-default));
1853
+ }
1854
+ .ndl-banner .ndl-banner-actions .ndl-btn:disabled {
1855
+ border-color:rgb(var(--theme-palette-neutral-border-strong));
1856
+ background-color:transparent;
1857
+ color:rgb(var(--theme-palette-neutral-text-weakest));
1858
+ }
1859
+ .ndl-banner .ndl-banner-actions .ndl-btn:disabled:hover {
1860
+ cursor:not-allowed;
1861
+ }
1862
+ .ndl-banner .ndl-banner-actions .ndl-btn:not(:disabled):hover {
1863
+ background-color:rgb(var(--theme-palette-neutral-hover));
1864
+ }
1865
+ .ndl-banner .ndl-banner-actions .ndl-btn:not(:disabled):active {
1866
+ background-color:rgb(var(--theme-palette-neutral-pressed));
1820
1867
  }
1821
1868
  .ndl-form-item.ndl-type-checkbox{
1822
1869
  line-height:0;
@@ -2949,9 +2996,9 @@ a.ndl-btn {
2949
2996
  --tw-shadow-colored:var(--theme-shadow-overlay);
2950
2997
  box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2951
2998
  }
2952
- .ndl-dialog .ndl-dialog-type-icon{
2953
- width:88px;
2954
- }
2999
+ .ndl-dialog .ndl-dialog-type-icon {
3000
+ width:88px;
3001
+ }
2955
3002
  .ndl-dialog .ndl-dialog-type-icon.ndl-info {
2956
3003
  color:rgb(var(--theme-palette-primary-icon));
2957
3004
  }
@@ -2970,6 +3017,9 @@ a.ndl-btn {
2970
3017
  .ndl-dialog.ndl-with-icon .ndl-dialog-header {
2971
3018
  margin-bottom:24px;
2972
3019
  }
3020
+ .ndl-dialog.ndl-with-icon .ndl-dialog-image {
3021
+ display:none;
3022
+ }
2973
3023
  .ndl-dialog .ndl-dialog-close {
2974
3024
  position:absolute;
2975
3025
  right:32px;
@@ -2979,7 +3029,7 @@ a.ndl-btn {
2979
3029
  margin-top:24px;
2980
3030
  }
2981
3031
  .ndl-dialog-header {
2982
- margin-bottom:8px;
3032
+ margin-bottom:4px;
2983
3033
  }
2984
3034
  .ndl-dialog.ndl-with-close-button .ndl-dialog-header {
2985
3035
  margin-right:48px;
@@ -2991,11 +3041,20 @@ a.ndl-btn {
2991
3041
  color:rgb(var(--theme-palette-neutral-text-weak));
2992
3042
  }
2993
3043
  .ndl-dialog-actions {
2994
- margin-top:48px;
3044
+ margin-top:32px;
2995
3045
  display:flex;
2996
3046
  justify-content:flex-end;
2997
3047
  gap:16px;
2998
3048
  }
3049
+ .ndl-dialog-image{
3050
+ width:calc(100% + 2 * var(--space-8) - 2 * var(--space-6));
3051
+ margin-left:calc(-1 * var(--space-8) + var(--space-6));
3052
+ margin-top:16px;
3053
+ margin-bottom:16px;
3054
+ max-width:none;
3055
+ border-radius:16px;
3056
+ background-color:rgb(var(--theme-palette-neutral-bg-default));
3057
+ }
2999
3058
  .ndl-drawer {
3000
3059
  position:relative;
3001
3060
  display:none;
@@ -4881,6 +4940,47 @@ a.ndl-btn {
4881
4940
  a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .cm-button {
4882
4941
  text-decoration-line:none;
4883
4942
  }
4943
+ .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button,.ndl-banner.ndl-full-width .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button {
4944
+ border-color:rgb(var(--theme-palette-neutral-text-inverse));
4945
+ background-color:transparent;
4946
+ color:rgb(var(--theme-palette-neutral-text-inverse));
4947
+ }
4948
+ .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):hover,.ndl-banner.ndl-full-width .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):hover {
4949
+ background-color:rgb(149 154 161 / var(--tw-bg-opacity));
4950
+ --tw-bg-opacity:0.1;
4951
+ }
4952
+ .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):active,.ndl-banner.ndl-full-width .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):active {
4953
+ background-color:rgb(149 154 161 / var(--tw-bg-opacity));
4954
+ --tw-bg-opacity:0.2;
4955
+ }
4956
+ .ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):hover,.ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):hover {
4957
+ background-color:rgb(111 117 126 / var(--tw-bg-opacity));
4958
+ --tw-bg-opacity:0.1;
4959
+ }
4960
+ .ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):active,.ndl-theme-dark .ndl-banner.ndl-full-width .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):active {
4961
+ background-color:rgb(111 117 126 / var(--tw-bg-opacity));
4962
+ --tw-bg-opacity:0.2;
4963
+ }
4964
+ .ndl-banner .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button,.ndl-banner .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button {
4965
+ cursor:pointer;
4966
+ border-color:rgb(var(--theme-palette-neutral-text-default));
4967
+ background-color:transparent;
4968
+ color:rgb(var(--theme-palette-neutral-text-default));
4969
+ }
4970
+ .ndl-banner .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:disabled,.ndl-banner .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:disabled {
4971
+ border-color:rgb(var(--theme-palette-neutral-border-strong));
4972
+ background-color:transparent;
4973
+ color:rgb(var(--theme-palette-neutral-text-weakest));
4974
+ }
4975
+ .ndl-banner .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:disabled:hover,.ndl-banner .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:disabled:hover {
4976
+ cursor:not-allowed;
4977
+ }
4978
+ .ndl-banner .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):hover,.ndl-banner .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):hover {
4979
+ background-color:rgb(var(--theme-palette-neutral-hover));
4980
+ }
4981
+ .ndl-banner .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):active,.ndl-banner .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):active {
4982
+ background-color:rgb(var(--theme-palette-neutral-pressed));
4983
+ }
4884
4984
  .ndl-cypher-editor .cm-completionLabel, .ndl-codemirror-editor .cm-completionLabel{
4885
4985
  font-family:'Fira Code';
4886
4986
  font-weight:700;
@@ -5026,45 +5126,52 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
5026
5126
  .ndl-cypher-editor .cm-tooltip-autocomplete li[aria-selected='true'] > div, .ndl-codemirror-editor .cm-tooltip-autocomplete li[aria-selected='true'] > div{
5027
5127
  opacity:100%;
5028
5128
  }
5029
- .ndl-text-link{
5129
+ .ndl-text-link {
5130
+ position:relative;
5131
+ display:inline-flex;
5132
+ flex-direction:row;
5133
+ align-items:baseline;
5134
+ gap:4px;
5030
5135
  color:rgb(var(--theme-palette-primary-text));
5031
5136
  text-decoration-line:underline;
5032
5137
  text-underline-offset:3px;
5033
- display:inline-flex;
5034
- align-items:baseline;
5035
- flex-direction:row;
5036
- position:relative;
5037
- -moz-column-gap:2px;
5038
- column-gap:2px;
5039
5138
  }
5040
- .ndl-text-link > div{
5041
- flex-shrink:0;
5042
- }
5043
- .ndl-text-link .ndl-external-link-icon{
5044
- width:12px;
5045
- height:12px;
5046
- }
5047
- .ndl-text-link:hover{
5048
- color:rgb(var(--theme-palette-primary-hover-strong));
5049
- }
5050
- .ndl-text-link:active{
5051
- color:rgb(var(--theme-palette-primary-pressed-strong));
5052
- }
5139
+ .ndl-text-link > div {
5140
+ flex-shrink:0;
5141
+ }
5142
+ .ndl-text-link .ndl-external-link-icon {
5143
+ height:12px;
5144
+ width:12px;
5145
+ }
5146
+ .ndl-text-link:hover {
5147
+ color:rgb(var(--theme-palette-primary-hover-strong));
5148
+ text-decoration-line:underline;
5149
+ }
5150
+ .ndl-text-link:active {
5151
+ color:rgb(var(--theme-palette-primary-pressed-strong));
5152
+ text-decoration-line:underline;
5153
+ }
5053
5154
  .ndl-text-link:focus-visible{
5054
5155
  outline:none;
5055
5156
  }
5056
5157
  .ndl-text-link:focus-visible::after {
5158
+ position:absolute;
5159
+ left:-1px;
5160
+ top:3px;
5161
+ box-sizing:border-box;
5162
+ height:calc(100% - 6px);
5163
+ width:calc(100% + 1px);
5164
+ border-radius:4px;
5165
+ border-style:solid;
5166
+ border-color:rgb(var(--theme-palette-primary-focus));
5167
+ color:rgb(var(--theme-palette-primary-pressed-strong));
5168
+ outline-width:2px;
5169
+ outline-offset:0px;
5057
5170
  content:'';
5058
- position:absolute;
5059
- width:calc(100% + 1px);
5060
- left:-1px;
5061
- top:3px;
5062
- height:calc(100% - 6px);
5063
- outline:2px solid rgb(var(--theme-palette-primary-focus));
5064
- color:rgb(var(--theme-palette-primary-pressed-strong));
5065
- box-sizing:border-box;
5066
- border-radius:4px;
5067
- outline-offset:0px;
5171
+ }
5172
+ .ndl-external-link,
5173
+ .ndl-internal-icon {
5174
+ text-decoration-line:none;
5068
5175
  }
5069
5176
  .ndl-text-area .ndl-text-area-wrapper {
5070
5177
  position:relative;
@@ -6468,7 +6575,7 @@ button.ndl-avatar:focus-visible {
6468
6575
  .ndl-callout .ndl-callout-content {
6469
6576
  display:flex;
6470
6577
  flex-direction:column;
6471
- gap:8px;
6578
+ gap:4px;
6472
6579
  }
6473
6580
  .ndl-callout .ndl-callout-rectangle {
6474
6581
  position:absolute;
@@ -6761,7 +6868,7 @@ button.ndl-avatar:focus-visible {
6761
6868
  display:flex;
6762
6869
  flex-direction:row;
6763
6870
  align-items:center;
6764
- gap:16px;
6871
+ gap:12px;
6765
6872
  }
6766
6873
  .ndl-tooltip-content.ndl-tooltip-content-rich .ndl-tooltip-actions .ndl-tooltip-action {
6767
6874
  font-size:0.875rem;
@@ -6772,6 +6879,7 @@ button.ndl-avatar:focus-visible {
6772
6879
  }
6773
6880
  .ndl-tooltip-content.ndl-tooltip-content-rich .ndl-tooltip-actions .ndl-tooltip-action-close {
6774
6881
  margin-left:auto;
6882
+ display:none;
6775
6883
  }
6776
6884
  .ndl-chart-legend {
6777
6885
  position:relative;
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 27 Nov 2024 16:18:12 GMT
24
+ * Generated on Thu, 12 Dec 2024 07:55:06 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, 27 Nov 2024 16:18:12 GMT
24
+ * Generated on Thu, 12 Dec 2024 07:55:06 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, 27 Nov 2024 16:18:12 GMT
24
+ * Generated on Thu, 12 Dec 2024 07:55:07 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, 27 Nov 2024 16:18:12 GMT
3
+ // Generated on Thu, 12 Dec 2024 07:55:06 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, 27 Nov 2024 16:18:12 GMT
24
+ * Generated on Thu, 12 Dec 2024 07:55:06 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": "3.0.16",
3
+ "version": "3.0.18",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",