@neo4j-ndl/base 3.5.1 → 3.6.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.
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Thu, 15 May 2025 12:47:10 GMT
25
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
25
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
25
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
24
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
24
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
25
+ * Generated on Fri, 16 May 2025 09:18:35 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -2631,13 +2631,10 @@ a.ndl-btn {
2631
2631
  .ndl-menu .ndl-menu-items {
2632
2632
  display:flex;
2633
2633
  flex-direction:column;
2634
+ gap:4px;
2634
2635
  outline:2px solid transparent;
2635
2636
  outline-offset:2px;
2636
2637
  }
2637
- .ndl-menu .ndl-menu-items .ndl-divider.ndl-divider-horizontal {
2638
- margin-top:8px;
2639
- margin-bottom:8px;
2640
- }
2641
2638
  .ndl-menu .ndl-menu-items:has(.ndl-menu-item-icon)
2642
2639
  > .ndl-menu-item:not(:has(.ndl-menu-item-icon)) {
2643
2640
  padding-left:32px;
@@ -2675,6 +2672,17 @@ a.ndl-btn {
2675
2672
  .ndl-menu .ndl-menu-item.ndl-disabled .ndl-menu-item-description {
2676
2673
  color:rgb(var(--theme-palette-neutral-text-weakest));
2677
2674
  }
2675
+ .ndl-menu .ndl-menu-item-inner {
2676
+ display:flex;
2677
+ width:100%;
2678
+ flex-direction:row;
2679
+ gap:8px;
2680
+ }
2681
+ .ndl-menu .ndl-menu-item-title-wrapper {
2682
+ display:flex;
2683
+ width:100%;
2684
+ flex-direction:column;
2685
+ }
2678
2686
  .ndl-menu .ndl-menu-item-title {
2679
2687
  width:100%;
2680
2688
  font-family:var(--font-font-family-body-medium), sans-serif;
@@ -2691,6 +2699,14 @@ a.ndl-btn {
2691
2699
  letter-spacing:0.016rem;
2692
2700
  line-height:1.25rem;
2693
2701
  }
2702
+ .ndl-menu .ndl-menu-item-chevron {
2703
+ align-self:center;
2704
+ color:rgb(var(--theme-palette-neutral-icon));
2705
+ }
2706
+ .ndl-menu .ndl-menu-item-chevron svg {
2707
+ width:16px;
2708
+ height:16px;
2709
+ }
2694
2710
  .ndl-menu .ndl-menu-item-icon {
2695
2711
  display:flex;
2696
2712
  height:20px;
@@ -2698,16 +2714,20 @@ a.ndl-btn {
2698
2714
  flex-shrink:0;
2699
2715
  align-items:center;
2700
2716
  justify-content:center;
2701
- color:rgb(var(--theme-palette-neutral-text-weak));
2717
+ color:rgb(var(--theme-palette-neutral-icon));
2702
2718
  }
2703
2719
  .ndl-menu .ndl-menu-header {
2704
- margin-bottom:16px;
2720
+ display:flex;
2721
+ flex-direction:row;
2722
+ align-items:center;
2723
+ justify-content:space-between;
2705
2724
  padding-left:8px;
2706
2725
  padding-right:8px;
2707
2726
  padding-top:8px;
2727
+ padding-bottom:6px;
2708
2728
  }
2709
2729
  .ndl-menu .ndl-menu-header .ndl-menu-header-title {
2710
- font-weight:700;
2730
+ width:100%;
2711
2731
  font-family:var(--font-font-family-h6), sans-serif;
2712
2732
  font-size:var(--font-size-h6);
2713
2733
  font-weight:var(--font-weight-bold);
@@ -2715,6 +2735,7 @@ a.ndl-btn {
2715
2735
  line-height:1.5rem;
2716
2736
  }
2717
2737
  .ndl-menu .ndl-menu-header .ndl-menu-header-description {
2738
+ width:100%;
2718
2739
  color:rgb(var(--theme-palette-neutral-text-weaker));
2719
2740
  font-family:var(--font-font-family-body-small), sans-serif;
2720
2741
  font-size:var(--font-size-body-small);
@@ -2722,11 +2743,11 @@ a.ndl-btn {
2722
2743
  letter-spacing:0.016rem;
2723
2744
  line-height:1.25rem;
2724
2745
  }
2746
+ .ndl-menu .ndl-menu-header .ndl-menu-header-close-button {
2747
+ align-self:flex-start;
2748
+ }
2725
2749
  .ndl-menu .ndl-menu-subheader {
2726
- margin-bottom:8px;
2727
- padding-left:8px;
2728
- padding-right:8px;
2729
- padding-top:8px;
2750
+ padding:8px;
2730
2751
  }
2731
2752
  .ndl-menu .ndl-menu-subheader .ndl-menu-subheader-title {
2732
2753
  color:rgb(var(--theme-palette-neutral-text-weaker));
@@ -7802,6 +7823,76 @@ button.ndl-avatar:focus-visible {
7802
7823
  r:5%;
7803
7824
  }
7804
7825
  }
7826
+ .ndl-color-picker .ndl-color-picker-saturation{
7827
+ aspect-ratio:1 / 1;
7828
+ width:100% !important;
7829
+ height:unset !important;
7830
+ }
7831
+ .ndl-color-picker .ndl-color-picker-pointer {
7832
+ position:absolute;
7833
+ height:16px;
7834
+ width:16px;
7835
+ border-radius:9999px;
7836
+ border-width:3px;
7837
+ border-color:rgb(var(--theme-palette-neutral-bg-weak));
7838
+ background-color:transparent;
7839
+ --tw-shadow:var(--theme-shadow-raised);
7840
+ --tw-shadow-colored:var(--theme-shadow-raised);
7841
+ box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
7842
+ }
7843
+ .ndl-color-picker .ndl-color-picker-pointer.w-color-alpha{
7844
+ transform:translate(-50%, 0);
7845
+ }
7846
+ .ndl-color-picker .ndl-color-picker-pointer.w-color-saturation{
7847
+ transform:translate(-50%, -50%);
7848
+ }
7849
+ .ndl-color-picker .ndl-color-picker-hue-container {
7850
+ margin-top:24px;
7851
+ margin-bottom:24px;
7852
+ display:flex;
7853
+ flex-direction:row;
7854
+ align-items:center;
7855
+ gap:16px;
7856
+ }
7857
+ .ndl-color-picker .ndl-color-picker-hue {
7858
+ display:block;
7859
+ flex:1 1 0%;
7860
+ }
7861
+ .ndl-color-picker .ndl-color-picker-swatch {
7862
+ margin-top:8px;
7863
+ display:flex;
7864
+ flex-direction:row;
7865
+ flex-wrap:wrap;
7866
+ gap:8px;
7867
+ }
7868
+ .ndl-color-picker .ndl-color-picker-swatch .ndl-color-picker-swatch-color {
7869
+ height:20px;
7870
+ width:20px;
7871
+ border-radius:9999px;
7872
+ outline-width:2px;
7873
+ }
7874
+ .ndl-color-picker .ndl-color-picker-swatch .ndl-color-picker-swatch-color:focus-visible,
7875
+ .ndl-color-picker .ndl-color-picker-swatch .ndl-color-picker-swatch-color.ndl-color-picker-swatch-color-active {
7876
+ outline-style:solid;
7877
+ outline-offset:1px;
7878
+ outline-color:rgb(var(--theme-palette-primary-focus));
7879
+ }
7880
+ .ndl-color-picker .ndl-color-picker-hex-input-prefix {
7881
+ color:rgb(var(--theme-palette-neutral-text-weak));
7882
+ }
7883
+ .ndl-color-picker .ndl-color-picker-inputs {
7884
+ display:flex;
7885
+ flex-direction:row;
7886
+ gap:4px;
7887
+ }
7888
+ .ndl-color-picker .ndl-color-picker-rgb-inputs {
7889
+ display:flex;
7890
+ flex-direction:row;
7891
+ gap:4px;
7892
+ }
7893
+ .ndl-color-picker .ndl-color-picker-rgb-inputs .ndl-color-picker-rgb-input {
7894
+ flex:1 1 0%;
7895
+ }
7805
7896
  .ndl-side-nav{
7806
7897
  --side-nav-width-collapsed:52px;
7807
7898
  --side-nav-width-expanded:196px;
@@ -8290,6 +8381,9 @@ button.ndl-avatar:focus-visible {
8290
8381
  .n-w-48 {
8291
8382
  width:192px;
8292
8383
  }
8384
+ .n-w-60 {
8385
+ width:240px;
8386
+ }
8293
8387
  .n-w-72 {
8294
8388
  width:288px;
8295
8389
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 15 May 2025 12:47:10 GMT
24
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
24
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
24
+ * Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
3
+ // Generated on Fri, 16 May 2025 09:18:35 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 Thu, 15 May 2025 12:47:10 GMT
24
+ * Generated on Fri, 16 May 2025 09:18:35 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.5.1",
3
+ "version": "3.6.0",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",