@neo4j-ndl/base 0.4.0 → 0.5.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.
- package/lib/neo4j-ds-styles.css +187 -25
- package/lib/optimised.config.d.ts +4 -0
- package/lib/optimised.config.js +4 -0
- package/lib/optimised.config.js.map +1 -1
- 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/package.json +1 -1
package/lib/neo4j-ds-styles.css
CHANGED
|
@@ -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
|
|
423
|
+
* Generated on Tue, 28 Jun 2022 14:44:59 GMT
|
|
424
424
|
*/
|
|
425
425
|
:root {
|
|
426
426
|
--border-radius-sm: 4px;
|
|
@@ -860,6 +860,8 @@ a.ndl-btn{
|
|
|
860
860
|
color: rgb(83 91 102 / var(--tw-text-opacity));
|
|
861
861
|
}
|
|
862
862
|
.ndl-icon-btn:not(.clean){
|
|
863
|
+
--tw-bg-opacity: 1;
|
|
864
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
863
865
|
--tw-ring-opacity: 1;
|
|
864
866
|
--tw-ring-color: rgb(1 139 255 / var(--tw-ring-opacity));
|
|
865
867
|
}
|
|
@@ -1613,7 +1615,6 @@ a.ndl-btn{
|
|
|
1613
1615
|
width: 100%;
|
|
1614
1616
|
position: absolute;
|
|
1615
1617
|
top: -0.5px;
|
|
1616
|
-
left: 0.5px;
|
|
1617
1618
|
color: #fff;
|
|
1618
1619
|
}
|
|
1619
1620
|
.ndl-form-item input[type='checkbox']:checked::after {
|
|
@@ -2176,6 +2177,7 @@ a.ndl-btn{
|
|
|
2176
2177
|
background-color: rgb(245 247 250 / var(--tw-bg-opacity));
|
|
2177
2178
|
}
|
|
2178
2179
|
.ndl-menu .menu-item.disabled{
|
|
2180
|
+
pointer-events: none;
|
|
2179
2181
|
cursor: default;
|
|
2180
2182
|
}
|
|
2181
2183
|
.ndl-menu .menu-item.disabled .menu-item-title{
|
|
@@ -2232,6 +2234,84 @@ a.ndl-btn{
|
|
|
2232
2234
|
height: 17px;
|
|
2233
2235
|
cursor: pointer;
|
|
2234
2236
|
}
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* Copyright (c) "Neo4j"
|
|
2240
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
2241
|
+
*
|
|
2242
|
+
* This file is part of Neo4j.
|
|
2243
|
+
*
|
|
2244
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
2245
|
+
* it under the terms of the GNU General Public License as published by
|
|
2246
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
2247
|
+
* (at your option) any later version.
|
|
2248
|
+
*
|
|
2249
|
+
* This program is distributed in the hope that it will be useful,
|
|
2250
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
2251
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
2252
|
+
* GNU General Public License for more details.
|
|
2253
|
+
*
|
|
2254
|
+
* You should have received a copy of the GNU General Public License
|
|
2255
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
2256
|
+
*/
|
|
2257
|
+
.ndl-dialog{
|
|
2258
|
+
border-radius: 16px;
|
|
2259
|
+
--tw-bg-opacity: 1;
|
|
2260
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
2261
|
+
padding: 3rem;
|
|
2262
|
+
--tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
|
|
2263
|
+
--tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
|
|
2264
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2265
|
+
}
|
|
2266
|
+
.ndl-dialog .dialog-type-icon {
|
|
2267
|
+
width: 120px;
|
|
2268
|
+
margin-right: 2rem;
|
|
2269
|
+
margin-left: 1rem;
|
|
2270
|
+
}
|
|
2271
|
+
.ndl-dialog .dialog-type-icon.info{
|
|
2272
|
+
--tw-text-opacity: 1;
|
|
2273
|
+
color: rgb(0 111 214 / var(--tw-text-opacity));
|
|
2274
|
+
}
|
|
2275
|
+
.ndl-dialog .dialog-type-icon.success{
|
|
2276
|
+
--tw-text-opacity: 1;
|
|
2277
|
+
color: rgb(50 125 96 / var(--tw-text-opacity));
|
|
2278
|
+
}
|
|
2279
|
+
.ndl-dialog .dialog-type-icon.warning{
|
|
2280
|
+
--tw-text-opacity: 1;
|
|
2281
|
+
color: rgb(150 108 46 / var(--tw-text-opacity));
|
|
2282
|
+
}
|
|
2283
|
+
.ndl-dialog .dialog-type-icon.danger{
|
|
2284
|
+
--tw-text-opacity: 1;
|
|
2285
|
+
color: rgb(204 37 75 / var(--tw-text-opacity));
|
|
2286
|
+
}
|
|
2287
|
+
.ndl-dialog .dialog-close{
|
|
2288
|
+
position: absolute;
|
|
2289
|
+
top: 2.5rem;
|
|
2290
|
+
right: 2.5rem;
|
|
2291
|
+
}
|
|
2292
|
+
.ndl-dialog-header{
|
|
2293
|
+
margin-bottom: 1.5rem;
|
|
2294
|
+
}
|
|
2295
|
+
.ndl-dialog.with-close-button .ndl-dialog-header{
|
|
2296
|
+
margin-right: 3rem;
|
|
2297
|
+
}
|
|
2298
|
+
.ndl-dialog-subtitle{
|
|
2299
|
+
margin-bottom: 1rem;
|
|
2300
|
+
}
|
|
2301
|
+
.ndl-dialog-description{
|
|
2302
|
+
min-height: 110px;
|
|
2303
|
+
--tw-text-opacity: 1;
|
|
2304
|
+
color: rgb(83 91 102 / var(--tw-text-opacity));
|
|
2305
|
+
}
|
|
2306
|
+
.ndl-dialog.with-icon .ndl-dialog-description{
|
|
2307
|
+
min-height: 70px;
|
|
2308
|
+
}
|
|
2309
|
+
.ndl-dialog-actions{
|
|
2310
|
+
margin-top: 1.5rem;
|
|
2311
|
+
display: flex;
|
|
2312
|
+
justify-content: flex-end;
|
|
2313
|
+
gap: 0.5rem;
|
|
2314
|
+
}
|
|
2235
2315
|
/**
|
|
2236
2316
|
*
|
|
2237
2317
|
* Copyright (c) "Neo4j"
|
|
@@ -2263,7 +2343,7 @@ a.ndl-btn{
|
|
|
2263
2343
|
--tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
|
|
2264
2344
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2265
2345
|
position: fixed;
|
|
2266
|
-
z-index:
|
|
2346
|
+
z-index: 1001;
|
|
2267
2347
|
display: none;
|
|
2268
2348
|
flex-direction: column;
|
|
2269
2349
|
border-width: 1px;
|
|
@@ -2283,8 +2363,71 @@ a.ndl-btn{
|
|
|
2283
2363
|
bottom: 0px;
|
|
2284
2364
|
right: 0px;
|
|
2285
2365
|
left: 0px;
|
|
2286
|
-
z-index:
|
|
2366
|
+
z-index: 1000;
|
|
2367
|
+
}
|
|
2368
|
+
/**
|
|
2369
|
+
*
|
|
2370
|
+
* Copyright (c) "Neo4j"
|
|
2371
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
2372
|
+
*
|
|
2373
|
+
* This file is part of Neo4j.
|
|
2374
|
+
*
|
|
2375
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
2376
|
+
* it under the terms of the GNU General Public License as published by
|
|
2377
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
2378
|
+
* (at your option) any later version.
|
|
2379
|
+
*
|
|
2380
|
+
* This program is distributed in the hope that it will be useful,
|
|
2381
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
2382
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
2383
|
+
* GNU General Public License for more details.
|
|
2384
|
+
*
|
|
2385
|
+
* You should have received a copy of the GNU General Public License
|
|
2386
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
2387
|
+
*/
|
|
2388
|
+
.ndl-modal-root {
|
|
2389
|
+
position: fixed;
|
|
2390
|
+
top: 0;
|
|
2391
|
+
left: 0;
|
|
2392
|
+
bottom: 0;
|
|
2393
|
+
right: 0;
|
|
2394
|
+
|
|
2395
|
+
background-color: rgba(0,0,0,0.4);
|
|
2396
|
+
cursor: default;
|
|
2397
|
+
z-index: 1000;
|
|
2398
|
+
}
|
|
2399
|
+
.ndl-modal {
|
|
2400
|
+
position: relative;
|
|
2401
|
+
overflow-y: auto;
|
|
2402
|
+
display: inline-block;
|
|
2403
|
+
vertical-align: middle;
|
|
2404
|
+
text-align: left;
|
|
2405
|
+
margin: 32px;
|
|
2406
|
+
width: -moz-available;
|
|
2407
|
+
width: -webkit-fill-available;
|
|
2408
|
+
z-index: 1001;
|
|
2409
|
+
}
|
|
2410
|
+
.ndl-modal.small {
|
|
2411
|
+
max-width: 40rem;
|
|
2412
|
+
}
|
|
2413
|
+
.ndl-modal.medium {
|
|
2414
|
+
max-width: 47rem;
|
|
2415
|
+
}
|
|
2416
|
+
.ndl-modal.large {
|
|
2417
|
+
max-width: 60rem;
|
|
2418
|
+
}
|
|
2419
|
+
.ndl-modal-wrapper {
|
|
2420
|
+
height: 100%;
|
|
2421
|
+
overflow: hidden auto;
|
|
2422
|
+
text-align: center;
|
|
2287
2423
|
}
|
|
2424
|
+
.ndl-modal-wrapper:after {
|
|
2425
|
+
content: '';
|
|
2426
|
+
display: inline-block;
|
|
2427
|
+
vertical-align: middle;
|
|
2428
|
+
height: 100%;
|
|
2429
|
+
width: 0;
|
|
2430
|
+
}
|
|
2288
2431
|
/**
|
|
2289
2432
|
*
|
|
2290
2433
|
* Copyright (c) "Neo4j"
|
|
@@ -2676,16 +2819,22 @@ a.ndl-btn{
|
|
|
2676
2819
|
border-radius: 8px;
|
|
2677
2820
|
--tw-border-opacity: 1;
|
|
2678
2821
|
border-color: rgb(196 200 205 / var(--tw-border-opacity));
|
|
2822
|
+
padding: 0.25rem;
|
|
2679
2823
|
}
|
|
2680
2824
|
.ndl-drag-and-drop > div{
|
|
2681
2825
|
padding-top: 2rem;
|
|
2682
2826
|
padding-bottom: 2rem;
|
|
2683
2827
|
}
|
|
2684
|
-
.ndl-drag-and-drop .ndl-drag-and-drop-inner
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2828
|
+
.ndl-drag-and-drop .ndl-drag-and-drop-inner{
|
|
2829
|
+
margin-left: auto;
|
|
2830
|
+
margin-right: auto;
|
|
2831
|
+
}
|
|
2832
|
+
.ndl-drag-and-drop .ndl-drag-and-drop-inner-content{
|
|
2833
|
+
display: flex;
|
|
2834
|
+
height: 100%;
|
|
2835
|
+
flex-direction: column;
|
|
2836
|
+
justify-content: center;
|
|
2837
|
+
}
|
|
2689
2838
|
.ndl-drag-and-drop svg{
|
|
2690
2839
|
margin-left: auto;
|
|
2691
2840
|
margin-right: auto;
|
|
@@ -2805,9 +2954,15 @@ a.ndl-btn{
|
|
|
2805
2954
|
margin-left: 0.75rem;
|
|
2806
2955
|
margin-right: 0.75rem;
|
|
2807
2956
|
}
|
|
2957
|
+
.n-mt-7{
|
|
2958
|
+
margin-top: 1.75rem;
|
|
2959
|
+
}
|
|
2808
2960
|
.n-mr-1{
|
|
2809
2961
|
margin-right: 0.25rem;
|
|
2810
2962
|
}
|
|
2963
|
+
.n-mt-10{
|
|
2964
|
+
margin-top: 2.5rem;
|
|
2965
|
+
}
|
|
2811
2966
|
.n-mt-4{
|
|
2812
2967
|
margin-top: 1rem;
|
|
2813
2968
|
}
|
|
@@ -2829,12 +2984,12 @@ a.ndl-btn{
|
|
|
2829
2984
|
.n-h-4{
|
|
2830
2985
|
height: 1rem;
|
|
2831
2986
|
}
|
|
2832
|
-
.n-h-6{
|
|
2833
|
-
height: 1.5rem;
|
|
2834
|
-
}
|
|
2835
2987
|
.n-h-10{
|
|
2836
2988
|
height: 2.5rem;
|
|
2837
2989
|
}
|
|
2990
|
+
.n-h-6{
|
|
2991
|
+
height: 1.5rem;
|
|
2992
|
+
}
|
|
2838
2993
|
.n-h-full{
|
|
2839
2994
|
height: 100%;
|
|
2840
2995
|
}
|
|
@@ -2844,20 +2999,23 @@ a.ndl-btn{
|
|
|
2844
2999
|
.n-h-36{
|
|
2845
3000
|
height: 9rem;
|
|
2846
3001
|
}
|
|
3002
|
+
.n-w-full{
|
|
3003
|
+
width: 100%;
|
|
3004
|
+
}
|
|
2847
3005
|
.n-w-5{
|
|
2848
3006
|
width: 1.25rem;
|
|
2849
3007
|
}
|
|
2850
3008
|
.n-w-4{
|
|
2851
3009
|
width: 1rem;
|
|
2852
3010
|
}
|
|
2853
|
-
.n-w-6{
|
|
2854
|
-
width: 1.5rem;
|
|
2855
|
-
}
|
|
2856
3011
|
.n-w-10{
|
|
2857
3012
|
width: 2.5rem;
|
|
2858
3013
|
}
|
|
2859
|
-
.n-w-
|
|
2860
|
-
width:
|
|
3014
|
+
.n-w-40{
|
|
3015
|
+
width: 10rem;
|
|
3016
|
+
}
|
|
3017
|
+
.n-w-6{
|
|
3018
|
+
width: 1.5rem;
|
|
2861
3019
|
}
|
|
2862
3020
|
.n-w-48{
|
|
2863
3021
|
width: 12rem;
|
|
@@ -2873,6 +3031,9 @@ a.ndl-btn{
|
|
|
2873
3031
|
max-width: -moz-min-content;
|
|
2874
3032
|
max-width: min-content;
|
|
2875
3033
|
}
|
|
3034
|
+
.n-flex-1{
|
|
3035
|
+
flex: 1 1 0%;
|
|
3036
|
+
}
|
|
2876
3037
|
.n-table-auto{
|
|
2877
3038
|
table-layout: auto;
|
|
2878
3039
|
}
|
|
@@ -2894,6 +3055,9 @@ a.ndl-btn{
|
|
|
2894
3055
|
.n-flex-wrap{
|
|
2895
3056
|
flex-wrap: wrap;
|
|
2896
3057
|
}
|
|
3058
|
+
.n-flex-nowrap{
|
|
3059
|
+
flex-wrap: nowrap;
|
|
3060
|
+
}
|
|
2897
3061
|
.n-items-start{
|
|
2898
3062
|
align-items: flex-start;
|
|
2899
3063
|
}
|
|
@@ -2965,6 +3129,9 @@ a.ndl-btn{
|
|
|
2965
3129
|
.n-whitespace-nowrap{
|
|
2966
3130
|
white-space: nowrap;
|
|
2967
3131
|
}
|
|
3132
|
+
.n-rounded-lg{
|
|
3133
|
+
border-radius: 8px;
|
|
3134
|
+
}
|
|
2968
3135
|
.n-rounded-xl{
|
|
2969
3136
|
border-radius: 10px;
|
|
2970
3137
|
}
|
|
@@ -2974,9 +3141,6 @@ a.ndl-btn{
|
|
|
2974
3141
|
.n-rounded-sm{
|
|
2975
3142
|
border-radius: 4px;
|
|
2976
3143
|
}
|
|
2977
|
-
.n-rounded-lg{
|
|
2978
|
-
border-radius: 8px;
|
|
2979
|
-
}
|
|
2980
3144
|
.n-border{
|
|
2981
3145
|
border-width: 1px;
|
|
2982
3146
|
}
|
|
@@ -3557,6 +3721,9 @@ a.ndl-btn{
|
|
|
3557
3721
|
.n-bg-transparent{
|
|
3558
3722
|
background-color: transparent;
|
|
3559
3723
|
}
|
|
3724
|
+
.n-p-2{
|
|
3725
|
+
padding: 0.5rem;
|
|
3726
|
+
}
|
|
3560
3727
|
.n-p-4{
|
|
3561
3728
|
padding: 1rem;
|
|
3562
3729
|
}
|
|
@@ -4024,11 +4191,6 @@ a.ndl-btn{
|
|
|
4024
4191
|
-webkit-text-decoration-line: underline;
|
|
4025
4192
|
text-decoration-line: underline;
|
|
4026
4193
|
}
|
|
4027
|
-
.n-shadow-l3{
|
|
4028
|
-
--tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.04);
|
|
4029
|
-
--tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
|
|
4030
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
4031
|
-
}
|
|
4032
4194
|
.n-shadow-l2{
|
|
4033
4195
|
--tw-shadow: 0px 1px 2px 0px rgba(12, 26, 37, 0.18);
|
|
4034
4196
|
--tw-shadow-colored: 0px 1px 2px 0px var(--tw-shadow-color);
|
package/lib/optimised.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optimised.config.js","sourceRoot":"","sources":["../src/optimised.config.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;AAEH,IAAM,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;AAEtD;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,CAAC,kCAAkC,CAAC;IAC7C,mEAAmE;IACnE,qDAAqD;IACrD,iDAAiD;IACjD,QAAQ,EAAE;QACR;YACE,OAAO,EACL,iFAAiF;YACnF,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;QACD;YACE,OAAO,EACL,+EAA+E;YACjF,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;QACD;YACE,sBAAsB;YACtB,OAAO,EAAE,wBAAwB;YACjC,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;QACD;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;KACF;IACD,KAAK,wBACA,cAAc,KACjB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,WAAW,EAAE,aAAa;gBAC1B,OAAO,EAAE,cAAc;aACxB;SACF,GACF;IACD,gCAAgC;IAChC,0DAA0D;IAC1D,OAAO,EAAE,EAAE;CACZ,CAAC"}
|
|
1
|
+
{"version":3,"file":"optimised.config.js","sourceRoot":"","sources":["../src/optimised.config.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;AAEH,IAAM,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;AAEtD;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,CAAC,kCAAkC,CAAC;IAC7C,mEAAmE;IACnE,qDAAqD;IACrD,iDAAiD;IACjD,QAAQ,EAAE;QACR;YACE,OAAO,EACL,iFAAiF;YACnF,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;QACD;YACE,OAAO,EACL,+EAA+E;YACjF,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;QACD;YACE,sBAAsB;YACtB,OAAO,EAAE,wBAAwB;YACjC,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;QACD;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;KACF;IACD,KAAK,wBACA,cAAc,KACjB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,WAAW,EAAE,aAAa;gBAC1B,OAAO,EAAE,cAAc;aACxB;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,IAAI;gBACX,gBAAgB,EAAE,IAAI;aACvB;SACF,GACF;IACD,gCAAgC;IAChC,0DAA0D;IAC1D,OAAO,EAAE,EAAE;CACZ,CAAC"}
|
package/lib/tokens/js/tokens.js
CHANGED