@neo4j-ndl/base 1.3.2 → 1.3.4

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
+ ## 1.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - d8cb102: Added extra small size of dropdown.
8
+
9
+ ## 1.3.3
10
+
11
+ ### Patch Changes
12
+
13
+ - f483090: Change theme of the last components to palette
14
+
3
15
  ## 1.3.2
4
16
 
5
17
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 09 May 2023 15:04:23 GMT
4
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
5
5
  */
6
6
  exports.__esModule = true;
7
7
  exports.tokens = void 0;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 09 May 2023 15:04:23 GMT
4
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
5
5
  */
6
6
  module.exports = {
7
7
  "transitions": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 May 2023 15:04:23 GMT
3
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
4
4
  */
5
5
  export const tokens = {
6
6
  "transitions": {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 09 May 2023 15:04:23 GMT
4
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
5
5
  */
6
6
  module.exports = {
7
7
  "transitions": {
@@ -459,7 +459,7 @@ video {
459
459
  */
460
460
  /**
461
461
  * Do not edit directly
462
- * Generated on Tue, 09 May 2023 15:04:23 GMT
462
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
463
463
  */
464
464
  :root {
465
465
  --transitions-values-properties-default: all;
@@ -1211,14 +1211,12 @@ a.ndl-btn{
1211
1211
  gap: 0.25rem;
1212
1212
  border-radius: 8px;
1213
1213
  border-width: 1px;
1214
- --tw-border-opacity: 1;
1215
- border-color: rgb(196 200 205 / var(--tw-border-opacity));
1214
+ border-color: rgb(var(--palette-neutral-border-strong));
1216
1215
  background-color: rgb(var(--palette-neutral-bg-weak));
1217
1216
  padding: 0.25rem;
1218
1217
  }
1219
1218
  .ndl-icon-btn-array.ndl-array-floating{
1220
- --tw-border-opacity: 1;
1221
- border-color: rgb(238 241 246 / var(--tw-border-opacity));
1219
+ border-color: rgb(var(--palette-neutral-border-weak));
1222
1220
  --tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
1223
1221
  --tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
1224
1222
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
@@ -1284,8 +1282,7 @@ a.ndl-btn{
1284
1282
  padding-bottom: 0px;
1285
1283
  }
1286
1284
  .ndl-label.ndl-clean .ndl-label-text{
1287
- --tw-text-opacity: 1;
1288
- color: rgb(21 30 41 / var(--tw-text-opacity));
1285
+ color: rgb(var(--palette-neutral-text-default));
1289
1286
  }
1290
1287
  .ndl-label.ndl-outlined{
1291
1288
  border-width: 0.5px;
@@ -1610,8 +1607,7 @@ a.ndl-btn{
1610
1607
  width: -moz-fit-content;
1611
1608
  width: fit-content;
1612
1609
  border-radius: 4px;
1613
- --tw-bg-opacity: 1;
1614
- background-color: rgb(83 91 102 / var(--tw-bg-opacity));
1610
+ background-color: rgb(var(--palette-neutral-bg-strongest));
1615
1611
  padding-left: 0.75rem;
1616
1612
  padding-right: 0.75rem;
1617
1613
  padding-top: 0.5rem;
@@ -1628,8 +1624,7 @@ a.ndl-btn{
1628
1624
  height: 0px;
1629
1625
  width: 0px;
1630
1626
  border-style: solid;
1631
- --tw-border-opacity: 1;
1632
- border-color: rgb(83 91 102 / var(--tw-border-opacity));
1627
+ border-color: rgb(var(--palette-neutral-bg-strongest));
1633
1628
  }
1634
1629
  .ndl-tooltip-wrapper .ndl-tooltip-triangle.ndl-bottom{
1635
1630
  bottom: -8px;
@@ -2343,8 +2338,7 @@ a.ndl-btn{
2343
2338
  padding-right: 0.5rem;
2344
2339
  padding-top: 0.25rem;
2345
2340
  padding-bottom: 0.25rem;
2346
- --tw-bg-opacity: 1;
2347
- background-color: rgb(230 233 238 / var(--tw-bg-opacity));
2341
+ background-color: rgb(var(--palette-neutral-bg-strong));
2348
2342
  font-size: var(--font-size-body-medium);
2349
2343
  font-weight: var(--font-weight-normal);
2350
2344
  letter-spacing: 0.016rem;
@@ -2558,8 +2552,7 @@ a.ndl-btn{
2558
2552
  */
2559
2553
  .ndl-dialog{
2560
2554
  border-radius: 16px;
2561
- --tw-bg-opacity: 1;
2562
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
2555
+ background-color: rgb(var(--palette-neutral-bg-weak));
2563
2556
  padding: 3rem;
2564
2557
  --tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
2565
2558
  --tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
@@ -2571,20 +2564,16 @@ a.ndl-btn{
2571
2564
  margin-left: 1rem;
2572
2565
  }
2573
2566
  .ndl-dialog .ndl-dialog-type-icon.ndl-info{
2574
- --tw-text-opacity: 1;
2575
- color: rgb(0 111 214 / var(--tw-text-opacity));
2567
+ color: rgb(var(--palette-primary-icon));
2576
2568
  }
2577
2569
  .ndl-dialog .ndl-dialog-type-icon.ndl-success{
2578
- --tw-text-opacity: 1;
2579
- color: rgb(50 125 96 / var(--tw-text-opacity));
2570
+ color: rgb(var(--palette-success-icon));
2580
2571
  }
2581
2572
  .ndl-dialog .ndl-dialog-type-icon.ndl-warning{
2582
- --tw-text-opacity: 1;
2583
- color: rgb(150 108 46 / var(--tw-text-opacity));
2573
+ color: rgb(var(--palette-warning-icon));
2584
2574
  }
2585
2575
  .ndl-dialog .ndl-dialog-type-icon.ndl-danger{
2586
- --tw-text-opacity: 1;
2587
- color: rgb(204 37 75 / var(--tw-text-opacity));
2576
+ color: rgb(var(--palette-danger-icon));
2588
2577
  }
2589
2578
  .ndl-dialog .ndl-dialog-close{
2590
2579
  position: absolute;
@@ -2601,8 +2590,7 @@ a.ndl-btn{
2601
2590
  margin-bottom: 1rem;
2602
2591
  }
2603
2592
  .ndl-dialog-description{
2604
- --tw-text-opacity: 1;
2605
- color: rgb(83 91 102 / var(--tw-text-opacity));
2593
+ color: rgb(var(--palette-neutral-text-weak));
2606
2594
  }
2607
2595
  .ndl-dialog.ndl-with-icon .ndl-dialog-description{
2608
2596
  min-height: 70px;
@@ -2911,9 +2899,8 @@ a.ndl-btn{
2911
2899
  transform: translate3d(0%, 0%, 0);
2912
2900
  will-change: transform;
2913
2901
  border-style: solid;
2914
- border-color: rgb(230 233 238 / var(--tw-border-opacity));
2915
- --tw-border-opacity: 1;
2916
- border-bottom-color: rgb(1 139 255 / var(--tw-border-opacity));
2902
+ border-color: rgb(var(--palette-neutral-bg-strong));
2903
+ border-bottom-color: rgb(var(--palette-primary-focus));
2917
2904
  }
2918
2905
  /**
2919
2906
  *
@@ -3309,8 +3296,7 @@ a.ndl-btn{
3309
3296
  bottom: 0;
3310
3297
  left: 50%;
3311
3298
  border-bottom-width: 1px;
3312
- --tw-border-opacity: 1;
3313
- border-color: rgb(238 241 246 / var(--tw-border-opacity));
3299
+ border-color: rgb(var(--palette-neutral-border-weak));
3314
3300
  }
3315
3301
  /* Add prefix here also, as there is a conflict with native tailwind classes like "<prefix>table-row" */
3316
3302
  .ndl-table .ndl-table-row:last-child:after{
@@ -3322,8 +3308,7 @@ a.ndl-btn{
3322
3308
  align-items: center;
3323
3309
  -moz-column-gap: 0.25rem;
3324
3310
  column-gap: 0.25rem;
3325
- --tw-text-opacity: 1;
3326
- color: rgb(113 119 128 / var(--tw-text-opacity));
3311
+ color: rgb(var(--palette-neutral-text-weaker));
3327
3312
  font-size: var(--font-size-body-large);
3328
3313
  font-weight: var(--font-weight-normal);
3329
3314
  letter-spacing: 0.016rem;
@@ -3336,8 +3321,7 @@ a.ndl-btn{
3336
3321
  overflow: visible;
3337
3322
  }
3338
3323
  .ndl-table .ndl-table-row:hover{
3339
- --tw-bg-opacity: 1;
3340
- background-color: rgb(245 247 250 / var(--tw-bg-opacity));
3324
+ background-color: rgb(var(--palette-neutral-bg-default));
3341
3325
  }
3342
3326
  .ndl-table .ndl-table-row .ndl-table-row-actions{
3343
3327
  display: none;
@@ -3366,8 +3350,7 @@ a.ndl-btn{
3366
3350
  padding-right: 1.75rem;
3367
3351
  padding-top: 0.75rem;
3368
3352
  padding-bottom: 0.75rem;
3369
- --tw-text-opacity: 1;
3370
- color: rgb(21 30 41 / var(--tw-text-opacity));
3353
+ color: rgb(var(--palette-neutral-text-default));
3371
3354
  font-size: var(--font-size-body-medium);
3372
3355
  font-weight: var(--font-weight-normal);
3373
3356
  letter-spacing: 0.016rem;
@@ -3398,8 +3381,7 @@ a.ndl-btn{
3398
3381
  padding-top: 0.75rem;
3399
3382
  padding-bottom: 0.75rem;
3400
3383
  text-align: left;
3401
- --tw-text-opacity: 1;
3402
- color: rgb(83 91 102 / var(--tw-text-opacity));
3384
+ color: rgb(var(--palette-neutral-text-weak));
3403
3385
  font-size: var(--font-size-body-large);
3404
3386
  font-weight: var(--font-weight-normal);
3405
3387
  letter-spacing: 0.016rem;
@@ -3408,10 +3390,8 @@ a.ndl-btn{
3408
3390
  .ndl-table tr th.ndl-table-column-styling.ndl-sortable:hover{
3409
3391
  border-left-width: 1px;
3410
3392
  border-right-width: 1px;
3411
- --tw-border-opacity: 1;
3412
- border-color: rgb(196 200 205 / var(--tw-border-opacity));
3413
- --tw-bg-opacity: 1;
3414
- background-color: rgb(245 247 250 / var(--tw-bg-opacity));
3393
+ border-color: rgb(var(--palette-neutral-border-strong));
3394
+ background-color: rgb(var(--palette-neutral-bg-default));
3415
3395
  }
3416
3396
  .ndl-table tr th.ndl-table-column-styling.ndl-sortable:first-child{
3417
3397
  border-left-width: 0px;
@@ -3441,8 +3421,7 @@ a.ndl-btn{
3441
3421
  cursor: col-resize;
3442
3422
  }
3443
3423
  .ndl-table .ndl-table-resizing-bar:hover{
3444
- --tw-bg-opacity: 1;
3445
- background-color: rgb(83 91 102 / var(--tw-bg-opacity));
3424
+ background-color: rgb(var(--palette-neutral-bg-strongest));
3446
3425
  }
3447
3426
  .ndl-table-select {
3448
3427
  /* Reset default select */
@@ -3459,10 +3438,8 @@ a.ndl-btn{
3459
3438
  height: 2.25rem;
3460
3439
  border-radius: 6px;
3461
3440
  border-width: 1px;
3462
- --tw-border-opacity: 1;
3463
- border-color: rgb(196 200 205 / var(--tw-border-opacity));
3464
- --tw-bg-opacity: 1;
3465
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
3441
+ border-color: rgb(var(--palette-neutral-border-strong));
3442
+ background-color: rgb(var(--palette-neutral-bg-weak));
3466
3443
  padding-left: 0.75rem;
3467
3444
  padding-right: 1.75rem;
3468
3445
  line-height: 1;
@@ -3517,8 +3494,7 @@ a.ndl-btn{
3517
3494
  margin-right: auto;
3518
3495
  }
3519
3496
  .ndl-drag-and-drop.ndl-drag-disabled{
3520
- --tw-text-opacity: 1;
3521
- color: rgb(178 183 189 / var(--tw-text-opacity));
3497
+ color: rgb(var(--palette-neutral-text-weakest));
3522
3498
  }
3523
3499
  .ndl-drag-and-drop.ndl-drag-active{
3524
3500
  --tw-bg-opacity: 1;
@@ -3547,8 +3523,7 @@ a.ndl-btn{
3547
3523
  line-height: 1.25rem;
3548
3524
  }
3549
3525
  .ndl-drag-and-drop .ndl-drag-and-drop-header .ndl-dnd-browse-link:not(:disabled){
3550
- --tw-text-opacity: 1;
3551
- color: rgb(0 111 214 / var(--tw-text-opacity));
3526
+ color: rgb(var(--palette-primary-text));
3552
3527
  }
3553
3528
  .ndl-drag-and-drop .ndl-drag-and-drop-header .ndl-upload-img-wrapper{
3554
3529
  position: relative;
@@ -3581,8 +3556,7 @@ a.ndl-btn{
3581
3556
  line-height: 1.25rem;
3582
3557
  }
3583
3558
  .ndl-drag-and-drop:not(.ndl-drag-disabled) .ndl-file-support-text{
3584
- --tw-text-opacity: 1;
3585
- color: rgb(113 119 128 / var(--tw-text-opacity));
3559
+ color: rgb(var(--palette-neutral-text-weaker));
3586
3560
  }
3587
3561
  .ndl-drag-and-drop.ndl-drag-active.ndl-file-invalid{
3588
3562
  --tw-bg-opacity: 1;
@@ -3656,27 +3630,35 @@ a.ndl-btn{
3656
3630
  .ndl-dropdown .ndl-dropdown-icon{
3657
3631
  color: rgb(var(--palette-neutral-text-weak));
3658
3632
  }
3659
- .ndl-dropdown .ndl-dropdown-icon.ndl-small {
3660
- width: 20px;
3661
- height: 20px;
3662
- }
3663
- .ndl-dropdown .ndl-dropdown-icon.ndl-large {
3664
- width: 24px;
3665
- height: 24px;
3666
- }
3633
+ .ndl-dropdown .ndl-dropdown-icon.ndl-extra-small{
3634
+ height: 1rem;
3635
+ width: 1rem;
3636
+ }
3637
+ .ndl-dropdown .ndl-dropdown-icon.ndl-small{
3638
+ height: 1.25rem;
3639
+ width: 1.25rem;
3640
+ }
3641
+ .ndl-dropdown .ndl-dropdown-icon.ndl-large{
3642
+ height: 1.5rem;
3643
+ width: 1.5rem;
3644
+ }
3667
3645
  .ndl-dropdown .ndl-indicator {
3668
3646
  width: 1px;
3669
3647
  height: 100%;
3670
3648
  background-color: rgb(var(--palette-neutral-border-strong));
3671
3649
  }
3672
- .ndl-dropdown .ndl-error-icon.ndl-small {
3673
- width: 20px;
3674
- height: 20px;
3675
- }
3676
- .ndl-dropdown .ndl-error-icon.ndl-large {
3677
- width: 24px;
3678
- height: 24px;
3679
- }
3650
+ .ndl-dropdown .ndl-error-icon.ndl-extra-small{
3651
+ height: 1rem;
3652
+ width: 1rem;
3653
+ }
3654
+ .ndl-dropdown .ndl-error-icon.ndl-small{
3655
+ height: 1.25rem;
3656
+ width: 1.25rem;
3657
+ }
3658
+ .ndl-dropdown .ndl-error-icon.ndl-large{
3659
+ height: 1.5rem;
3660
+ width: 1.5rem;
3661
+ }
3680
3662
  .ndl-dropdown .ndl-error-icon{
3681
3663
  color: rgb(var(--palette-danger-icon));
3682
3664
  }
@@ -3742,8 +3724,7 @@ a.ndl-btn{
3742
3724
  .ndl-node-label:not(.ndl-disabled).ndl-selected:after,
3743
3725
  .ndl-node-label:not(.ndl-disabled):active:after,
3744
3726
  .ndl-node-label:not(.ndl-disabled):focus-visible:after{
3745
- --tw-border-opacity: 1;
3746
- border-color: rgb(1 139 255 / var(--tw-border-opacity));
3727
+ border-color: rgb(var(--palette-primary-focus));
3747
3728
  }
3748
3729
  .ndl-node-label.ndl-disabled{
3749
3730
  cursor: default;
@@ -3759,8 +3740,7 @@ a.ndl-btn{
3759
3740
  padding-bottom: 0.125rem;
3760
3741
  padding-left: 0.5rem;
3761
3742
  padding-right: 0.5rem;
3762
- --tw-text-opacity: 1;
3763
- color: rgb(255 255 255 / var(--tw-text-opacity));
3743
+ color: rgb(var(--palette-neutral-text-inverse));
3764
3744
  font-size: var(--font-size-label);
3765
3745
  font-weight: var(--font-weight-bold);
3766
3746
  letter-spacing: 0;
@@ -3768,8 +3748,7 @@ a.ndl-btn{
3768
3748
  }
3769
3749
  .ndl-property-key-label.ndl-disabled{
3770
3750
  cursor: default;
3771
- --tw-text-opacity: 1;
3772
- color: rgb(178 183 189 / var(--tw-text-opacity));
3751
+ color: rgb(var(--palette-neutral-text-weakest));
3773
3752
  }
3774
3753
  .ndl-property-key-label .ndl-property-key-label-content{
3775
3754
  width: 100%;
@@ -3800,8 +3779,7 @@ a.ndl-btn{
3800
3779
  .ndl-property-key-label:not(.ndl-disabled).ndl-selected:after,
3801
3780
  .ndl-property-key-label:not(.ndl-disabled):active:after,
3802
3781
  .ndl-property-key-label:not(.ndl-disabled):focus-visible:after{
3803
- --tw-border-opacity: 1;
3804
- border-color: rgb(1 139 255 / var(--tw-border-opacity));
3782
+ border-color: rgb(var(--palette-primary-focus));
3805
3783
  }
3806
3784
  .ndl-relationship-label{
3807
3785
  position: relative;
@@ -3862,15 +3840,13 @@ a.ndl-btn{
3862
3840
  left: -3px;
3863
3841
  }
3864
3842
  .ndl-relationship-label:not(.ndl-disabled).ndl-selected .ndl-hexagon-end-active, .ndl-relationship-label:not(.ndl-disabled):focus-visible .ndl-hexagon-end-active, .ndl-relationship-label:not(.ndl-disabled):active .ndl-hexagon-end-active{
3865
- fill: #018bff;
3843
+ fill: rgb(var(--palette-primary-focus));
3866
3844
  }
3867
3845
  .ndl-relationship-label:not(.ndl-disabled).ndl-selected .ndl-relationship-label-container:after, .ndl-relationship-label:not(.ndl-disabled):focus-visible .ndl-relationship-label-container:after, .ndl-relationship-label:not(.ndl-disabled):active .ndl-relationship-label-container:after{
3868
- --tw-bg-opacity: 1;
3869
- background-color: rgb(1 139 255 / var(--tw-bg-opacity));
3846
+ background-color: rgb(var(--palette-primary-focus));
3870
3847
  }
3871
3848
  .ndl-relationship-label:not(.ndl-disabled).ndl-selected .ndl-relationship-label-container:before, .ndl-relationship-label:not(.ndl-disabled):focus-visible .ndl-relationship-label-container:before, .ndl-relationship-label:not(.ndl-disabled):active .ndl-relationship-label-container:before{
3872
- --tw-bg-opacity: 1;
3873
- background-color: rgb(1 139 255 / var(--tw-bg-opacity));
3849
+ background-color: rgb(var(--palette-primary-focus));
3874
3850
  }
3875
3851
  .ndl-relationship-label:focus-visible{
3876
3852
  outline: 2px solid transparent;
@@ -3901,8 +3877,7 @@ a.ndl-btn{
3901
3877
  */
3902
3878
  .ndl-wizard-circle{
3903
3879
  z-index: 2;
3904
- --tw-text-opacity: 1;
3905
- color: rgb(21 30 41 / var(--tw-text-opacity));
3880
+ color: rgb(var(--palette-neutral-text-default));
3906
3881
  }
3907
3882
  .ndl-wizard-circle .ndl-text.ndl-horizontal{
3908
3883
  position: absolute;
@@ -3959,12 +3934,10 @@ a.ndl-btn{
3959
3934
  z-index: 1;
3960
3935
  }
3961
3936
  .ndl-wizard-line.ndl-complete{
3962
- --tw-bg-opacity: 1;
3963
- background-color: rgb(0 111 214 / var(--tw-bg-opacity));
3937
+ background-color: rgb(var(--palette-primary-text));
3964
3938
  }
3965
3939
  .ndl-wizard-line.ndl-incomplete{
3966
- --tw-bg-opacity: 1;
3967
- background-color: rgb(178 183 189 / var(--tw-bg-opacity));
3940
+ background-color: rgb(var(--palette-neutral-text-weakest));
3968
3941
  }
3969
3942
  .ndl-wizard-line.ndl-active.ndl-horizontal {
3970
3943
  background: linear-gradient(
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 May 2023 15:04:23 GMT
3
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 May 2023 15:04:23 GMT
3
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 May 2023 15:04:23 GMT
3
+ * Generated on Thu, 11 May 2023 12:06:23 GMT
4
4
  */
5
5
 
6
6
  export const tokens = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 09 May 2023 15:04:23 GMT
3
+ // Generated on Thu, 11 May 2023 12:06:23 GMT
4
4
 
5
5
  $transitions-values-properties-default: all;
6
6
  $transitions-values-duration-default: 100ms;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",