@neo4j-ndl/base 0.10.0 → 0.12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f8af4e5: add link component
8
+
9
+ ## 0.11.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 714082b: Add custom title, change open filepicker behaviour and enable custom file extension
14
+
3
15
  ## 0.10.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, 23 Nov 2022 12:01:35 GMT
423
+ * Generated on Thu, 01 Dec 2022 09:50:10 GMT
424
424
  */
425
425
  :root {
426
426
  --border-radius-sm: 4px;
@@ -2964,6 +2964,9 @@ a.ndl-btn{
2964
2964
  --tw-bg-opacity: 1;
2965
2965
  background-color: rgb(237 18 82 / var(--tw-bg-opacity));
2966
2966
  }
2967
+ .drag-and-drop-error-alert{
2968
+ margin-bottom: 1rem;
2969
+ }
2967
2970
  /**
2968
2971
  *
2969
2972
  * Copyright (c) "Neo4j"
@@ -3472,6 +3475,79 @@ a.ndl-btn{
3472
3475
  .ndl-code-block-container .linenumber {
3473
3476
  min-width: 32px !important;
3474
3477
  }
3478
+ /**
3479
+ *
3480
+ * Copyright (c) "Neo4j"
3481
+ * Neo4j Sweden AB [http://neo4j.com]
3482
+ *
3483
+ * This file is part of Neo4j.
3484
+ *
3485
+ * Neo4j is free software: you can redistribute it and/or modify
3486
+ * it under the terms of the GNU General Public License as published by
3487
+ * the Free Software Foundation, either version 3 of the License, or
3488
+ * (at your option) any later version.
3489
+ *
3490
+ * This program is distributed in the hope that it will be useful,
3491
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3492
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3493
+ * GNU General Public License for more details.
3494
+ *
3495
+ * You should have received a copy of the GNU General Public License
3496
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3497
+ */
3498
+ .ndl-text-link {
3499
+ color: rgba(var(--palette-light-primary-text), 1);
3500
+ -webkit-text-decoration-line: underline;
3501
+ text-decoration-line: underline;
3502
+ }
3503
+ .ndl-text-link.ndl-disabled-text-link {
3504
+ color: rgba(var(--palette-light-neutral-text-weakest), 1);
3505
+ pointer-events: none;
3506
+ }
3507
+ .ndl-text-link:hover {
3508
+ color: rgba(var(--palette-light-primary-hover-strong), 1);
3509
+ }
3510
+ .ndl-text-link:active {
3511
+ color: rgba(var(--palette-light-primary-pressed-strong), 1);
3512
+ }
3513
+ .ndl-text-link:focus-visible {
3514
+ color: rgba(var(--palette-light-primary-pressed-strong), 1);
3515
+ box-sizing: border-box;
3516
+ border-radius: 4px;
3517
+ outline: 0;
3518
+ padding: 0px 4px;
3519
+ border: 2px solid;
3520
+ border-color: rgba(--palette-light-primary-focus, 1);
3521
+ }
3522
+ /* The svg has hardcoded stroke colors (only inline svg can use css) */
3523
+ .ndl-text-link.ndl-external-link::after {
3524
+ content: "";
3525
+ width: 0.8em;
3526
+ height: 0.8em;
3527
+ margin: 0 0 0 0.15em;
3528
+ color: inherit;
3529
+ 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="%23006FD6"><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>');
3530
+ background-repeat: no-repeat;
3531
+ background-size: contain;
3532
+ display: inline-block;
3533
+ vertical-align: text-top;
3534
+ }
3535
+ .ndl-text-link.ndl-external-link.ndl-disabled-text-link::after {
3536
+ content: "";
3537
+ 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="%23B2B7BD"><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>');
3538
+ }
3539
+ .ndl-text-link:hover.ndl-external-link::after {
3540
+ content: "";
3541
+ 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="%230056B3"><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>');
3542
+ }
3543
+ .ndl-text-link:active.ndl-external-link::after {
3544
+ content: "";
3545
+ 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>');
3546
+ }
3547
+ .ndl-text-link:focus-visible.ndl-external-link::after {
3548
+ content: "";
3549
+ 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>');
3550
+ }
3475
3551
  .n-sr-only{
3476
3552
  position: absolute;
3477
3553
  width: 1px;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 23 Nov 2022 12:01:35 GMT
3
+ * Generated on Thu, 01 Dec 2022 09:50:10 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 23 Nov 2022 12:01:35 GMT
3
+ * Generated on Thu, 01 Dec 2022 09:50:11 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, 23 Nov 2022 12:01:35 GMT
4
+ * Generated on Thu, 01 Dec 2022 09:50:10 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, 23 Nov 2022 12:01:35 GMT
3
+ // Generated on Thu, 01 Dec 2022 09:50:10 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.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",