@neo4j-ndl/base 0.4.0 → 0.5.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.
@@ -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 Fri, 27 May 2022 08:25:25 GMT
423
+ * Generated on Tue, 07 Jun 2022 16:38:42 GMT
424
424
  */
425
425
  :root {
426
426
  --border-radius-sm: 4px;
@@ -2176,6 +2176,7 @@ a.ndl-btn{
2176
2176
  background-color: rgb(245 247 250 / var(--tw-bg-opacity));
2177
2177
  }
2178
2178
  .ndl-menu .menu-item.disabled{
2179
+ pointer-events: none;
2179
2180
  cursor: default;
2180
2181
  }
2181
2182
  .ndl-menu .menu-item.disabled .menu-item-title{
@@ -2232,6 +2233,84 @@ a.ndl-btn{
2232
2233
  height: 17px;
2233
2234
  cursor: pointer;
2234
2235
  }
2236
+ /**
2237
+ *
2238
+ * Copyright (c) "Neo4j"
2239
+ * Neo4j Sweden AB [http://neo4j.com]
2240
+ *
2241
+ * This file is part of Neo4j.
2242
+ *
2243
+ * Neo4j is free software: you can redistribute it and/or modify
2244
+ * it under the terms of the GNU General Public License as published by
2245
+ * the Free Software Foundation, either version 3 of the License, or
2246
+ * (at your option) any later version.
2247
+ *
2248
+ * This program is distributed in the hope that it will be useful,
2249
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2250
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2251
+ * GNU General Public License for more details.
2252
+ *
2253
+ * You should have received a copy of the GNU General Public License
2254
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
2255
+ */
2256
+ .ndl-dialog{
2257
+ border-radius: 16px;
2258
+ --tw-bg-opacity: 1;
2259
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
2260
+ padding: 3rem;
2261
+ --tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
2262
+ --tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
2263
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2264
+ }
2265
+ .ndl-dialog .dialog-type-icon {
2266
+ width: 120px;
2267
+ margin-right: 2rem;
2268
+ margin-left: 1rem;
2269
+ }
2270
+ .ndl-dialog .dialog-type-icon.info{
2271
+ --tw-text-opacity: 1;
2272
+ color: rgb(0 111 214 / var(--tw-text-opacity));
2273
+ }
2274
+ .ndl-dialog .dialog-type-icon.success{
2275
+ --tw-text-opacity: 1;
2276
+ color: rgb(50 125 96 / var(--tw-text-opacity));
2277
+ }
2278
+ .ndl-dialog .dialog-type-icon.warning{
2279
+ --tw-text-opacity: 1;
2280
+ color: rgb(150 108 46 / var(--tw-text-opacity));
2281
+ }
2282
+ .ndl-dialog .dialog-type-icon.danger{
2283
+ --tw-text-opacity: 1;
2284
+ color: rgb(204 37 75 / var(--tw-text-opacity));
2285
+ }
2286
+ .ndl-dialog .dialog-close{
2287
+ position: absolute;
2288
+ top: 2.5rem;
2289
+ right: 2.5rem;
2290
+ }
2291
+ .ndl-dialog-header{
2292
+ margin-bottom: 1.5rem;
2293
+ }
2294
+ .ndl-dialog.with-close-button .ndl-dialog-header{
2295
+ margin-right: 3rem;
2296
+ }
2297
+ .ndl-dialog-subtitle{
2298
+ margin-bottom: 1rem;
2299
+ }
2300
+ .ndl-dialog-description{
2301
+ min-height: 110px;
2302
+ --tw-text-opacity: 1;
2303
+ color: rgb(83 91 102 / var(--tw-text-opacity));
2304
+ }
2305
+ .ndl-dialog.with-icon .ndl-dialog-description{
2306
+ min-height: 70px;
2307
+ }
2308
+ .ndl-dialog-actions{
2309
+ margin-top: 1.5rem;
2310
+ display: flex;
2311
+ justify-content: flex-end;
2312
+ gap: 0.5rem;
2313
+ }
2235
2314
  /**
2236
2315
  *
2237
2316
  * Copyright (c) "Neo4j"
@@ -2285,6 +2364,68 @@ a.ndl-btn{
2285
2364
  left: 0px;
2286
2365
  z-index: 1;
2287
2366
  }
2367
+ /**
2368
+ *
2369
+ * Copyright (c) "Neo4j"
2370
+ * Neo4j Sweden AB [http://neo4j.com]
2371
+ *
2372
+ * This file is part of Neo4j.
2373
+ *
2374
+ * Neo4j is free software: you can redistribute it and/or modify
2375
+ * it under the terms of the GNU General Public License as published by
2376
+ * the Free Software Foundation, either version 3 of the License, or
2377
+ * (at your option) any later version.
2378
+ *
2379
+ * This program is distributed in the hope that it will be useful,
2380
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2381
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2382
+ * GNU General Public License for more details.
2383
+ *
2384
+ * You should have received a copy of the GNU General Public License
2385
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
2386
+ */
2387
+ .ndl-modal-root {
2388
+ position: fixed;
2389
+ top: 0;
2390
+ left: 0;
2391
+ bottom: 0;
2392
+ right: 0;
2393
+ z-index: 1001;
2394
+
2395
+ background-color: rgba(0,0,0,0.4);
2396
+ cursor: default;
2397
+ }
2398
+ .ndl-modal {
2399
+ position: relative;
2400
+ overflow-y: auto;
2401
+ display: inline-block;
2402
+ vertical-align: middle;
2403
+ text-align: left;
2404
+ margin: 32px;
2405
+ width: -moz-available;
2406
+ width: -webkit-fill-available;
2407
+ }
2408
+ .ndl-modal.small {
2409
+ max-width: 40rem;
2410
+ }
2411
+ .ndl-modal.medium {
2412
+ max-width: 47rem;
2413
+ }
2414
+ .ndl-modal.large {
2415
+ max-width: 60rem;
2416
+ }
2417
+ .ndl-modal-wrapper {
2418
+ height: 100%;
2419
+ overflow: hidden auto;
2420
+ text-align: center;
2421
+ }
2422
+ .ndl-modal-wrapper:after {
2423
+ content: '';
2424
+ display: inline-block;
2425
+ vertical-align: middle;
2426
+ height: 100%;
2427
+ width: 0;
2428
+ }
2288
2429
  /**
2289
2430
  *
2290
2431
  * Copyright (c) "Neo4j"
@@ -2805,9 +2946,15 @@ a.ndl-btn{
2805
2946
  margin-left: 0.75rem;
2806
2947
  margin-right: 0.75rem;
2807
2948
  }
2949
+ .n-mt-7{
2950
+ margin-top: 1.75rem;
2951
+ }
2808
2952
  .n-mr-1{
2809
2953
  margin-right: 0.25rem;
2810
2954
  }
2955
+ .n-mt-10{
2956
+ margin-top: 2.5rem;
2957
+ }
2811
2958
  .n-mt-4{
2812
2959
  margin-top: 1rem;
2813
2960
  }
@@ -2829,12 +2976,12 @@ a.ndl-btn{
2829
2976
  .n-h-4{
2830
2977
  height: 1rem;
2831
2978
  }
2832
- .n-h-6{
2833
- height: 1.5rem;
2834
- }
2835
2979
  .n-h-10{
2836
2980
  height: 2.5rem;
2837
2981
  }
2982
+ .n-h-6{
2983
+ height: 1.5rem;
2984
+ }
2838
2985
  .n-h-full{
2839
2986
  height: 100%;
2840
2987
  }
@@ -2844,20 +2991,20 @@ a.ndl-btn{
2844
2991
  .n-h-36{
2845
2992
  height: 9rem;
2846
2993
  }
2994
+ .n-w-full{
2995
+ width: 100%;
2996
+ }
2847
2997
  .n-w-5{
2848
2998
  width: 1.25rem;
2849
2999
  }
2850
3000
  .n-w-4{
2851
3001
  width: 1rem;
2852
3002
  }
2853
- .n-w-6{
2854
- width: 1.5rem;
2855
- }
2856
3003
  .n-w-10{
2857
3004
  width: 2.5rem;
2858
3005
  }
2859
- .n-w-full{
2860
- width: 100%;
3006
+ .n-w-6{
3007
+ width: 1.5rem;
2861
3008
  }
2862
3009
  .n-w-48{
2863
3010
  width: 12rem;
@@ -2873,6 +3020,9 @@ a.ndl-btn{
2873
3020
  max-width: -moz-min-content;
2874
3021
  max-width: min-content;
2875
3022
  }
3023
+ .n-flex-1{
3024
+ flex: 1 1 0%;
3025
+ }
2876
3026
  .n-table-auto{
2877
3027
  table-layout: auto;
2878
3028
  }
@@ -2894,6 +3044,9 @@ a.ndl-btn{
2894
3044
  .n-flex-wrap{
2895
3045
  flex-wrap: wrap;
2896
3046
  }
3047
+ .n-flex-nowrap{
3048
+ flex-wrap: nowrap;
3049
+ }
2897
3050
  .n-items-start{
2898
3051
  align-items: flex-start;
2899
3052
  }
@@ -2965,6 +3118,9 @@ a.ndl-btn{
2965
3118
  .n-whitespace-nowrap{
2966
3119
  white-space: nowrap;
2967
3120
  }
3121
+ .n-rounded-lg{
3122
+ border-radius: 8px;
3123
+ }
2968
3124
  .n-rounded-xl{
2969
3125
  border-radius: 10px;
2970
3126
  }
@@ -2974,9 +3130,6 @@ a.ndl-btn{
2974
3130
  .n-rounded-sm{
2975
3131
  border-radius: 4px;
2976
3132
  }
2977
- .n-rounded-lg{
2978
- border-radius: 8px;
2979
- }
2980
3133
  .n-border{
2981
3134
  border-width: 1px;
2982
3135
  }
@@ -3557,6 +3710,9 @@ a.ndl-btn{
3557
3710
  .n-bg-transparent{
3558
3711
  background-color: transparent;
3559
3712
  }
3713
+ .n-p-2{
3714
+ padding: 0.5rem;
3715
+ }
3560
3716
  .n-p-4{
3561
3717
  padding: 1rem;
3562
3718
  }
@@ -4024,11 +4180,6 @@ a.ndl-btn{
4024
4180
  -webkit-text-decoration-line: underline;
4025
4181
  text-decoration-line: underline;
4026
4182
  }
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
4183
  .n-shadow-l2{
4033
4184
  --tw-shadow: 0px 1px 2px 0px rgba(12, 26, 37, 0.18);
4034
4185
  --tw-shadow-colored: 0px 1px 2px 0px var(--tw-shadow-color);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 27 May 2022 08:25:25 GMT
3
+ * Generated on Tue, 07 Jun 2022 16:38:42 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 27 May 2022 08:25:25 GMT
3
+ * Generated on Tue, 07 Jun 2022 16:38: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 Fri, 27 May 2022 08:25:25 GMT
4
+ * Generated on Tue, 07 Jun 2022 16:38: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 Fri, 27 May 2022 08:25:25 GMT
3
+ // Generated on Tue, 07 Jun 2022 16:38: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.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",