lituix 0.1.20 → 0.1.21

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/dist/index.mjs CHANGED
@@ -12879,6 +12879,8 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12879
12879
  [part="footer"]:empty {
12880
12880
  display: none;
12881
12881
  }
12882
+ /* 缩放提示走 antd/VS Code 路线:悬停不出线、只靠光标提示可拖;
12883
+ 拖动中才在活动边亮一根 1px 细线,其余保持隐形 */
12882
12884
  .resize-handle {
12883
12885
  position: absolute;
12884
12886
  width: 18px;
@@ -12887,35 +12889,17 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12887
12889
  touch-action: none;
12888
12890
  user-select: none;
12889
12891
  -webkit-user-select: none;
12890
- color: color-mix(in srgb, var(--lui-color-primary) 62%, transparent);
12891
- opacity: 0;
12892
- transition:
12893
- opacity var(--lui-duration-fast) var(--lui-easing),
12894
- color var(--lui-duration-fast) var(--lui-easing);
12892
+ color: var(--lui-color-primary);
12895
12893
  }
12896
12894
  .resize-handle::after {
12897
12895
  content: "";
12898
12896
  position: absolute;
12899
12897
  inset: 0;
12900
12898
  opacity: 0;
12901
- transition:
12902
- opacity var(--lui-duration-fast) var(--lui-easing),
12903
- border-color var(--lui-duration-fast) var(--lui-easing);
12904
- }
12905
- dialog:not(.resizing) .resize-handle:hover,
12906
- .resize-handle.active,
12907
- dialog.resizing .resize-handle.active {
12908
- opacity: 1;
12909
- color: var(--lui-color-primary);
12910
12899
  }
12911
- dialog:not(.resizing) .resize-handle:hover::after,
12912
- .resize-handle.active::after,
12913
- dialog.resizing .resize-handle.active::after {
12900
+ .resize-handle.active::after {
12914
12901
  opacity: 1;
12915
12902
  }
12916
- dialog.resizing .resize-handle:not(.active) {
12917
- opacity: 0;
12918
- }
12919
12903
  .resize-handle.nw {
12920
12904
  top: -9px;
12921
12905
  left: -9px;
@@ -12925,9 +12909,9 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12925
12909
  inset: -1px auto auto -1px;
12926
12910
  width: 12px;
12927
12911
  height: 12px;
12928
- border-top: 2px solid currentColor;
12929
- border-left: 2px solid currentColor;
12930
- border-top-left-radius: 10px;
12912
+ border-top: 1px solid currentColor;
12913
+ border-left: 1px solid currentColor;
12914
+ border-top-left-radius: 6px;
12931
12915
  }
12932
12916
  .resize-handle.ne {
12933
12917
  top: -9px;
@@ -12938,9 +12922,9 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12938
12922
  inset: -1px -1px auto auto;
12939
12923
  width: 12px;
12940
12924
  height: 12px;
12941
- border-top: 2px solid currentColor;
12942
- border-right: 2px solid currentColor;
12943
- border-top-right-radius: 10px;
12925
+ border-top: 1px solid currentColor;
12926
+ border-right: 1px solid currentColor;
12927
+ border-top-right-radius: 6px;
12944
12928
  }
12945
12929
  .resize-handle.sw {
12946
12930
  bottom: -9px;
@@ -12951,9 +12935,9 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12951
12935
  inset: auto auto -1px -1px;
12952
12936
  width: 12px;
12953
12937
  height: 12px;
12954
- border-bottom: 2px solid currentColor;
12955
- border-left: 2px solid currentColor;
12956
- border-bottom-left-radius: 10px;
12938
+ border-bottom: 1px solid currentColor;
12939
+ border-left: 1px solid currentColor;
12940
+ border-bottom-left-radius: 6px;
12957
12941
  }
12958
12942
  .resize-handle.se {
12959
12943
  right: -9px;
@@ -12964,9 +12948,9 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12964
12948
  inset: auto -1px -1px auto;
12965
12949
  width: 12px;
12966
12950
  height: 12px;
12967
- border-right: 2px solid currentColor;
12968
- border-bottom: 2px solid currentColor;
12969
- border-bottom-right-radius: 10px;
12951
+ border-right: 1px solid currentColor;
12952
+ border-bottom: 1px solid currentColor;
12953
+ border-bottom-right-radius: 6px;
12970
12954
  }
12971
12955
  .resize-handle.n,
12972
12956
  .resize-handle.s {
@@ -12991,11 +12975,11 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
12991
12975
  }
12992
12976
  .resize-handle.n::after {
12993
12977
  top: -1px;
12994
- border-top: 2px solid currentColor;
12978
+ border-top: 1px solid currentColor;
12995
12979
  }
12996
12980
  .resize-handle.s::after {
12997
12981
  bottom: -1px;
12998
- border-bottom: 2px solid currentColor;
12982
+ border-bottom: 1px solid currentColor;
12999
12983
  }
13000
12984
  .resize-handle.w,
13001
12985
  .resize-handle.e {
@@ -13020,11 +13004,11 @@ var B2=Object.create;var ms=Object.defineProperty;var sh=Object.getOwnPropertyDe
13020
13004
  }
13021
13005
  .resize-handle.w::after {
13022
13006
  left: -1px;
13023
- border-left: 2px solid currentColor;
13007
+ border-left: 1px solid currentColor;
13024
13008
  }
13025
13009
  .resize-handle.e::after {
13026
13010
  right: -1px;
13027
- border-right: 2px solid currentColor;
13011
+ border-right: 1px solid currentColor;
13028
13012
  }
13029
13013
  dialog.resizing,
13030
13014
  dialog.resizing [part="body"] {