@neo4j-ndl/base 0.14.0 → 0.15.1

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
+ ## 0.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 705d841: Fix bug where popover content shows above modal content
8
+
9
+ ## 0.15.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 12a9a61: StatusIndicator component
14
+
3
15
  ## 0.14.0
4
16
 
5
17
  ### Minor Changes
@@ -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 Wed, 07 Dec 2022 15:13:44 GMT
423
+ * Generated on Thu, 15 Dec 2022 11:07:30 GMT
424
424
  */
425
425
  :root {
426
426
  --border-radius-sm: 4px;
@@ -2463,7 +2463,7 @@ a.ndl-btn{
2463
2463
  position: absolute;
2464
2464
  }
2465
2465
  .ndl-modal-root{
2466
- z-index: 1000;
2466
+ z-index: 1100;
2467
2467
  }
2468
2468
  .ndl-modal {
2469
2469
  position: relative;
@@ -2474,7 +2474,6 @@ a.ndl-btn{
2474
2474
  margin: 32px;
2475
2475
  width: -moz-available;
2476
2476
  width: -webkit-fill-available;
2477
- z-index: 1001;
2478
2477
  }
2479
2478
  .ndl-modal.small {
2480
2479
  max-width: 40rem;
@@ -3570,6 +3569,33 @@ a.ndl-btn{
3570
3569
  content: "";
3571
3570
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.0" aria-hidden="true" stroke="%23004092"><path stroke-linecap="round" stroke-linejoin="round" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path></svg>');
3572
3571
  }
3572
+ /**
3573
+ *
3574
+ * Copyright (c) "Neo4j"
3575
+ * Neo4j Sweden AB [http://neo4j.com]
3576
+ *
3577
+ * This file is part of Neo4j.
3578
+ *
3579
+ * Neo4j is free software: you can redistribute it and/or modify
3580
+ * it under the terms of the GNU General Public License as published by
3581
+ * the Free Software Foundation, either version 3 of the License, or
3582
+ * (at your option) any later version.
3583
+ *
3584
+ * This program is distributed in the hope that it will be useful,
3585
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3586
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3587
+ * GNU General Public License for more details.
3588
+ *
3589
+ * You should have received a copy of the GNU General Public License
3590
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3591
+ */
3592
+ /* The svg has hardcoded stroke colors (only inline svg can use css) */
3593
+ .ndl-status-indicator{
3594
+ display: inline-block;
3595
+ margin-bottom: 0.125rem;
3596
+ margin-left: 0.25rem;
3597
+ margin-right: 0.25rem;
3598
+ }
3573
3599
  .n-sr-only{
3574
3600
  position: absolute;
3575
3601
  width: 1px;
@@ -11,8 +11,9 @@ export const theme: {
11
11
  current: string;
12
12
  };
13
13
  zIndex: {
14
+ "popover-backdrop": number;
15
+ popover: number;
14
16
  modal: number;
15
- 'modal-backdrop': number;
16
17
  };
17
18
  };
18
19
  colors: {
@@ -30,6 +30,7 @@ var __assign = (this && this.__assign) || function () {
30
30
  };
31
31
  return __assign.apply(this, arguments);
32
32
  };
33
+ var _a;
33
34
  var tailwindConfig = require('./tailwindConfig.js');
34
35
  /**
35
36
  * Tailwind CSS Configuration
@@ -66,10 +67,11 @@ module.exports = {
66
67
  transparent: 'transparent',
67
68
  current: 'currentColor'
68
69
  },
69
- zIndex: {
70
- modal: 1001,
71
- 'modal-backdrop': 1000
72
- }
70
+ zIndex: (_a = {},
71
+ _a['popover-backdrop'] = 1000,
72
+ _a.popover = 1001,
73
+ _a.modal = 1100,
74
+ _a)
73
75
  } }),
74
76
  // Enable only necessary plugins
75
77
  // https://tailwindcss.com/docs/configuration#core-plugins
@@ -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;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,IAAI;gBACX,gBAAgB,EAAE,IAAI;aACvB;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;gBACJ,GAAC,kBAAkB,IAAG,IAAI;gBAC1B,UAAO,GAAE,IAAI;gBACb,QAAK,GAAE,IAAI;mBACZ;SACF,GACF;IACD,gCAAgC;IAChC,0DAA0D;IAC1D,OAAO,EAAE,EAAE;CACZ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 07 Dec 2022 15:13:44 GMT
3
+ * Generated on Thu, 15 Dec 2022 11:07:30 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 07 Dec 2022 15:13:44 GMT
3
+ * Generated on Thu, 15 Dec 2022 11:07:30 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 Wed, 07 Dec 2022 15:13:44 GMT
4
+ * Generated on Thu, 15 Dec 2022 11:07:30 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 Wed, 07 Dec 2022 15:13:44 GMT
3
+ // Generated on Thu, 15 Dec 2022 11:07:30 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.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",