@neo4j-ndl/base 0.5.2 → 0.6.2

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.
@@ -420,7 +420,7 @@ Ensure the default browser behavior of the `hidden` attribute.
420
420
  */
421
421
  /**
422
422
  * Do not edit directly
423
- * Generated on Tue, 28 Jun 2022 14:44:59 GMT
423
+ * Generated on Mon, 08 Aug 2022 09:13:42 GMT
424
424
  */
425
425
  :root {
426
426
  --border-radius-sm: 4px;
@@ -661,6 +661,39 @@ h6,
661
661
  letter-spacing: 0px;
662
662
  line-height: 20px;
663
663
  }
664
+ .n-container{
665
+ width: 100%;
666
+ }
667
+ @media (min-width: 450px){
668
+ .n-container{
669
+ max-width: 450px;
670
+ }
671
+ }
672
+ @media (min-width: 640px){
673
+ .n-container{
674
+ max-width: 640px;
675
+ }
676
+ }
677
+ @media (min-width: 768px){
678
+ .n-container{
679
+ max-width: 768px;
680
+ }
681
+ }
682
+ @media (min-width: 1024px){
683
+ .n-container{
684
+ max-width: 1024px;
685
+ }
686
+ }
687
+ @media (min-width: 1280px){
688
+ .n-container{
689
+ max-width: 1280px;
690
+ }
691
+ }
692
+ @media (min-width: 1536px){
693
+ .n-container{
694
+ max-width: 1536px;
695
+ }
696
+ }
664
697
  /**
665
698
  *
666
699
  * Copyright (c) "Neo4j"
@@ -710,9 +743,12 @@ h6,
710
743
  gap: 0.125rem;
711
744
  border-radius: 4px;
712
745
  font-weight: 700;
746
+ outline: 2px solid transparent;
747
+ outline-offset: 2px;
748
+ --tw-ring-opacity: 1;
749
+ --tw-ring-color: rgb(1 139 255 / var(--tw-ring-opacity));
713
750
  }
714
- .ndl-btn:focus{
715
- outline-width: 0px;
751
+ .ndl-btn:focus-visible{
716
752
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
717
753
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
718
754
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
@@ -1001,6 +1037,8 @@ a.ndl-btn{
1001
1037
  border-width: 1px;
1002
1038
  --tw-border-opacity: 1;
1003
1039
  border-color: rgb(196 200 205 / var(--tw-border-opacity));
1040
+ --tw-bg-opacity: 1;
1041
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1004
1042
  padding: 0.25rem;
1005
1043
  }
1006
1044
  .ndl-icon-btn-array.array-floating{
@@ -1527,9 +1565,6 @@ a.ndl-btn{
1527
1565
  * You should have received a copy of the GNU General Public License
1528
1566
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
1529
1567
  */
1530
- .ndl-form-item{
1531
- cursor: pointer;
1532
- }
1533
1568
  .ndl-form-item input[type='checkbox'][role='checkbox'], .ndl-form-item input[type='radio']{
1534
1569
  cursor: pointer;
1535
1570
  position: relative;
@@ -2670,6 +2705,24 @@ a.ndl-btn{
2670
2705
  --tw-bg-opacity: 1;
2671
2706
  background-color: rgb(245 247 250 / var(--tw-bg-opacity));
2672
2707
  }
2708
+ .ndl-table .ndl-table-row .ndl-table-row-actions{
2709
+ display: none;
2710
+ }
2711
+ .ndl-table .ndl-table-row:hover .ndl-table-row-actions{
2712
+ position: absolute;
2713
+ top: 50%;
2714
+ right: 2rem;
2715
+ z-index: 10;
2716
+ display: flex;
2717
+ --tw-translate-y: -50%;
2718
+ 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));
2719
+ flex-direction: row;
2720
+ align-items: center;
2721
+ -moz-column-gap: 0.5rem;
2722
+ column-gap: 0.5rem;
2723
+ padding-left: 1rem;
2724
+ padding-right: 1rem;
2725
+ }
2673
2726
  .ndl-table .ndl-table-cell{
2674
2727
  position: relative;
2675
2728
  display: table-cell;
@@ -2686,29 +2739,6 @@ a.ndl-btn{
2686
2739
  letter-spacing: 0.25px;
2687
2740
  line-height: 20px;
2688
2741
  }
2689
- /* & .ndl-table-row-actions {
2690
- @apply group-hover:n-flex n-hidden n-z-10 n-gap-x-2 n-transform -n-translate-y-1/2 n-top-1/2 n-flex-row n-absolute n-px-4 n-items-center n-right-8;
2691
- } */
2692
- .ndl-table .ndl-table-row-actions-icon{
2693
- display: inline-flex;
2694
- height: 2rem;
2695
- width: 2rem;
2696
- align-items: center;
2697
- justify-content: center;
2698
- border-radius: 8px;
2699
- --tw-text-opacity: 1;
2700
- color: rgb(83 91 102 / var(--tw-text-opacity));
2701
- }
2702
- .ndl-table .ndl-table-row-actions-icon:hover{
2703
- background-color: rgb(83 91 102 / var(--tw-bg-opacity));
2704
- --tw-bg-opacity: 0.1;
2705
- --tw-text-opacity: 1;
2706
- color: rgb(21 30 41 / var(--tw-text-opacity));
2707
- }
2708
- .ndl-table .ndl-table-row-actions-icon > svg {
2709
- height: 20px;
2710
- width: 20px;
2711
- }
2712
2742
  .ndl-table tr th.table-column-styling {
2713
2743
  border-collapse: separate;
2714
2744
  box-sizing: content-box;
@@ -2861,7 +2891,7 @@ a.ndl-btn{
2861
2891
  }
2862
2892
  .ndl-drag-and-drop .ndl-drag-and-drop-header .dnd-browse-link{
2863
2893
  --tw-text-opacity: 1;
2864
- color: rgb(0 86 179 / var(--tw-text-opacity));
2894
+ color: rgb(0 111 214 / var(--tw-text-opacity));
2865
2895
  font-size: var(--font-size-subheading-small);
2866
2896
  font-weight: var(--font-weight-semibold);
2867
2897
  letter-spacing: 0.25px;
@@ -2908,6 +2938,120 @@ a.ndl-btn{
2908
2938
  --tw-bg-opacity: 1;
2909
2939
  background-color: rgb(237 18 82 / var(--tw-bg-opacity));
2910
2940
  }
2941
+ /**
2942
+ *
2943
+ * Copyright (c) "Neo4j"
2944
+ * Neo4j Sweden AB [http://neo4j.com]
2945
+ *
2946
+ * This file is part of Neo4j.
2947
+ *
2948
+ * Neo4j is free software: you can redistribute it and/or modify
2949
+ * it under the terms of the GNU General Public License as published by
2950
+ * the Free Software Foundation, either version 3 of the License, or
2951
+ * (at your option) any later version.
2952
+ *
2953
+ * This program is distributed in the hope that it will be useful,
2954
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2955
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2956
+ * GNU General Public License for more details.
2957
+ *
2958
+ * You should have received a copy of the GNU General Public License
2959
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
2960
+ */
2961
+ .ndl-dropdown{
2962
+ display: inline-flex;
2963
+ flex-direction: column;
2964
+ row-gap: 5px;
2965
+ }
2966
+ .ndl-dropdown.fluid{
2967
+ display: flex;
2968
+ }
2969
+ .ndl-dropdown label{
2970
+ --tw-text-opacity: 1;
2971
+ color: rgb(83 91 102 / var(--tw-text-opacity));
2972
+ font-size: var(--font-size-body-medium);
2973
+ font-weight: var(--font-weight-normal);
2974
+ letter-spacing: 0.25px;
2975
+ line-height: 20px;
2976
+ }
2977
+ .ndl-dropdown .sub-text{
2978
+ --tw-text-opacity: 1;
2979
+ color: rgb(113 119 128 / var(--tw-text-opacity));
2980
+ font-size: var(--font-size-body-small);
2981
+ font-weight: var(--font-weight-normal);
2982
+ letter-spacing: 0.25px;
2983
+ line-height: 20px;
2984
+ }
2985
+ .ndl-dropdown .error-text{
2986
+ --tw-text-opacity: 1;
2987
+ color: rgb(204 37 75 / var(--tw-text-opacity));
2988
+ }
2989
+ .ndl-dropdown.large label {
2990
+ font-size: var(--font-size-body-large);
2991
+ font-weight: var(--font-weight-normal);
2992
+ letter-spacing: 0.25px;
2993
+ line-height: 24px;
2994
+ }
2995
+ .ndl-dropdown.large .sub-text {
2996
+ font-size: var(--font-size-body-medium);
2997
+ font-weight: var(--font-weight-normal);
2998
+ letter-spacing: 0.25px;
2999
+ line-height: 20px;
3000
+ }
3001
+ .ndl-dropdown .dropdown-icon.small {
3002
+ width: 20px;
3003
+ height: 20px;
3004
+ }
3005
+ .ndl-dropdown .dropdown-icon.large {
3006
+ width: 24px;
3007
+ height: 24px;
3008
+ }
3009
+ .ndl-dropdown .dropdown-icon{
3010
+ --tw-text-opacity: 1;
3011
+ color: rgb(83 91 102 / var(--tw-text-opacity));
3012
+ }
3013
+ .ndl-dropdown .indicator {
3014
+ width: 1px;
3015
+ height: 100%;
3016
+ --tw-bg-opacity: 1;
3017
+ background-color: rgb(196 200 205 / var(--tw-bg-opacity));
3018
+ }
3019
+ .ndl-dropdown .error-icon.small {
3020
+ width: 20px;
3021
+ height: 20px;
3022
+ }
3023
+ .ndl-dropdown .error-icon.large {
3024
+ width: 24px;
3025
+ height: 24px;
3026
+ }
3027
+ .ndl-dropdown .error-icon{
3028
+ --tw-text-opacity: 1;
3029
+ color: rgb(204 37 75 / var(--tw-text-opacity));
3030
+ }
3031
+ /**
3032
+ *
3033
+ * Copyright (c) "Neo4j"
3034
+ * Neo4j Sweden AB [http://neo4j.com]
3035
+ *
3036
+ * This file is part of Neo4j.
3037
+ *
3038
+ * Neo4j is free software: you can redistribute it and/or modify
3039
+ * it under the terms of the GNU General Public License as published by
3040
+ * the Free Software Foundation, either version 3 of the License, or
3041
+ * (at your option) any later version.
3042
+ *
3043
+ * This program is distributed in the hope that it will be useful,
3044
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3045
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3046
+ * GNU General Public License for more details.
3047
+ *
3048
+ * You should have received a copy of the GNU General Public License
3049
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3050
+ */
3051
+ /* Ensure all our icons have a stroke-width of 1.5 */
3052
+ .ndl-icon {
3053
+ stroke-width: 1.5;
3054
+ }
2911
3055
  .n-sr-only{
2912
3056
  position: absolute;
2913
3057
  width: 1px;
@@ -2922,12 +3066,21 @@ a.ndl-btn{
2922
3066
  .n-fixed{
2923
3067
  position: fixed;
2924
3068
  }
3069
+ .n-absolute{
3070
+ position: absolute;
3071
+ }
2925
3072
  .n-relative{
2926
3073
  position: relative;
2927
3074
  }
2928
3075
  .n-left-full{
2929
3076
  left: 100%;
2930
3077
  }
3078
+ .n-top-1{
3079
+ top: 0.25rem;
3080
+ }
3081
+ .n-right-1{
3082
+ right: 0.25rem;
3083
+ }
2931
3084
  .n-z-0{
2932
3085
  z-index: 0;
2933
3086
  }
@@ -2996,6 +3149,9 @@ a.ndl-btn{
2996
3149
  .n-h-12{
2997
3150
  height: 3rem;
2998
3151
  }
3152
+ .n-h-7{
3153
+ height: 1.75rem;
3154
+ }
2999
3155
  .n-h-36{
3000
3156
  height: 9rem;
3001
3157
  }
@@ -3061,6 +3217,9 @@ a.ndl-btn{
3061
3217
  .n-items-start{
3062
3218
  align-items: flex-start;
3063
3219
  }
3220
+ .n-items-end{
3221
+ align-items: flex-end;
3222
+ }
3064
3223
  .n-items-center{
3065
3224
  align-items: center;
3066
3225
  }
@@ -3070,15 +3229,24 @@ a.ndl-btn{
3070
3229
  .n-justify-between{
3071
3230
  justify-content: space-between;
3072
3231
  }
3232
+ .n-gap-3{
3233
+ gap: 0.75rem;
3234
+ }
3073
3235
  .n-gap-2{
3074
3236
  gap: 0.5rem;
3075
3237
  }
3076
- .n-gap-6{
3077
- gap: 1.5rem;
3238
+ .n-gap-1{
3239
+ gap: 0.25rem;
3240
+ }
3241
+ .n-gap-4{
3242
+ gap: 1rem;
3078
3243
  }
3079
3244
  .n-gap-12{
3080
3245
  gap: 3rem;
3081
3246
  }
3247
+ .n-gap-6{
3248
+ gap: 1.5rem;
3249
+ }
3082
3250
  .n-gap-y-2{
3083
3251
  row-gap: 0.5rem;
3084
3252
  }
@@ -5366,6 +5534,12 @@ html {
5366
5534
  }
5367
5535
  }
5368
5536
  @media (min-width: 768px){
5537
+ .md\:n-w-2\/4{
5538
+ width: 50%;
5539
+ }
5540
+ .md\:n-w-2\/12{
5541
+ width: 16.666667%;
5542
+ }
5369
5543
  .md\:n-bg-primary-50{
5370
5544
  --tw-bg-opacity: 1;
5371
5545
  background-color: rgb(0 111 214 / var(--tw-bg-opacity));
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Jun 2022 14:44:59 GMT
3
+ * Generated on Mon, 08 Aug 2022 09:13:42 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Jun 2022 14:44:59 GMT
3
+ * Generated on Mon, 08 Aug 2022 09:13:42 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 28 Jun 2022 14:44:59 GMT
4
+ * Generated on Mon, 08 Aug 2022 09:13:42 GMT
5
5
  */
6
6
  module.exports = {
7
7
  "borderRadius": {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 28 Jun 2022 14:44:59 GMT
3
+ // Generated on Mon, 08 Aug 2022 09:13:42 GMT
4
4
 
5
5
  $border-radius-sm: 4px;
6
6
  $border-radius-md: 6px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "0.5.2",
3
+ "version": "0.6.2",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",