@truedat/dd 8.12.11 → 8.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "8.12.11",
3
+ "version": "8.13.0",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -54,7 +54,7 @@
54
54
  "@testing-library/jest-dom": "^6.6.3",
55
55
  "@testing-library/react": "^16.3.0",
56
56
  "@testing-library/user-event": "^14.6.1",
57
- "@truedat/test": "8.12.11",
57
+ "@truedat/test": "8.13.0",
58
58
  "identity-obj-proxy": "^3.0.0",
59
59
  "jest": "^29.7.0",
60
60
  "redux-saga-test-plan": "^4.0.6"
@@ -90,5 +90,5 @@
90
90
  "svg-pan-zoom": "^3.6.2",
91
91
  "swr": "^2.3.3"
92
92
  },
93
- "gitHead": "48671e0f1467f7713019ab8d729818c741fa9bc7"
93
+ "gitHead": "b9d1c2133cea6293e6a5ce5d198a4cd49133b4c1"
94
94
  }
@@ -1549,6 +1549,8 @@ export const LineageGraph = ({
1549
1549
  />
1550
1550
  </EdgeHoverContext.Provider>
1551
1551
  </div>
1552
+ ) : loading ? (
1553
+ <div className="lineage-graph__empty" />
1552
1554
  ) : (
1553
1555
  <LineageGraphEmptyState />
1554
1556
  )}
@@ -3647,28 +3647,96 @@ button.lineage-graph__dock-context-reopen {
3647
3647
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.13);
3648
3648
  backdrop-filter: blur(10px);
3649
3649
  -webkit-backdrop-filter: blur(10px);
3650
- transition: width 200ms ease;
3651
- }
3652
-
3653
- .td-graph-minimap-shell--collapsed {
3654
- width: 200px;
3650
+ box-sizing: content-box;
3651
+ transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
3655
3652
  }
3656
3653
 
3657
3654
  .td-graph-minimap-shell--expanded {
3658
- width: auto;
3659
- min-width: 288px;
3655
+ width: 288px;
3660
3656
  }
3661
3657
 
3662
3658
  .td-graph-minimap-body {
3663
3659
  position: relative;
3664
3660
  width: 100%;
3661
+ height: 150px;
3662
+ overflow: hidden;
3663
+ opacity: 1;
3664
+ transition:
3665
+ height 220ms cubic-bezier(0.22, 1, 0.36, 1),
3666
+ opacity 160ms ease;
3667
+ }
3668
+
3669
+ .td-graph-minimap-shell--expanded .td-graph-minimap-body {
3670
+ height: 200px;
3671
+ }
3672
+
3673
+ .td-graph-minimap-shell--collapsed {
3674
+ width: 200px;
3675
+
3676
+ .td-graph-minimap-body {
3677
+ height: 0;
3678
+ opacity: 0;
3679
+ pointer-events: none;
3680
+ }
3681
+ }
3682
+
3683
+ .td-graph-minimap {
3684
+ transition:
3685
+ width 220ms cubic-bezier(0.22, 1, 0.36, 1),
3686
+ height 220ms cubic-bezier(0.22, 1, 0.36, 1);
3687
+
3688
+ svg {
3689
+ display: block;
3690
+ width: 100%;
3691
+ height: 100%;
3692
+ }
3693
+ }
3694
+
3695
+ @media (prefers-reduced-motion: reduce) {
3696
+ .td-graph-minimap-shell,
3697
+ .td-graph-minimap-body,
3698
+ .td-graph-minimap {
3699
+ transition: none;
3700
+ }
3665
3701
  }
3666
3702
 
3667
3703
  .td-graph-minimap-expand {
3668
- display: none;
3704
+ position: absolute;
3705
+ bottom: 6px;
3706
+ left: 6px;
3707
+ z-index: 2;
3708
+ display: inline-flex;
3709
+ width: 22px;
3710
+ height: 22px;
3711
+ align-items: center;
3712
+ justify-content: center;
3713
+ padding: 0;
3714
+ border: 1px solid rgba(15, 23, 42, 0.12);
3715
+ border-radius: 5px;
3716
+ background: rgba(255, 255, 255, 0.88);
3717
+ color: #64748b;
3718
+ cursor: pointer;
3719
+ backdrop-filter: blur(6px);
3720
+ -webkit-backdrop-filter: blur(6px);
3721
+ transition:
3722
+ background-color 120ms ease,
3723
+ color 120ms ease,
3724
+ border-color 120ms ease;
3725
+ }
3726
+
3727
+ .td-graph-minimap-expand:hover {
3728
+ background: rgba(255, 255, 255, 0.98);
3729
+ border-color: #002057;
3730
+ color: #002057;
3731
+ }
3732
+
3733
+ .td-graph-minimap-expand:focus-visible {
3734
+ outline: 2px solid #ed5c17;
3735
+ outline-offset: 2px;
3669
3736
  }
3670
3737
 
3671
3738
  .td-graph-minimap-header {
3739
+ position: relative;
3672
3740
  display: flex;
3673
3741
  height: 32px;
3674
3742
  align-items: center;
@@ -3678,6 +3746,13 @@ button.lineage-graph__dock-context-reopen {
3678
3746
  color: #334155;
3679
3747
  }
3680
3748
 
3749
+ .td-graph-minimap-toggle::before {
3750
+ content: "";
3751
+ position: absolute;
3752
+ inset: 0;
3753
+ cursor: pointer;
3754
+ }
3755
+
3681
3756
  .td-graph-minimap-title {
3682
3757
  display: inline-flex;
3683
3758
  min-width: 0;