ywana-core8 0.1.82 → 0.1.84

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.css CHANGED
@@ -2713,13 +2713,18 @@ input:checked~.checkmark:after {
2713
2713
 
2714
2714
  .textfield>.icon {
2715
2715
  position: absolute;
2716
- top: 1.5rem;
2716
+ top: 50%;
2717
2717
  right: .2rem;
2718
+ transform: translateY(-50%);
2718
2719
  color: rgba(150,150,150,1);
2720
+ display: flex;
2721
+ align-items: center;
2722
+ justify-content: center;
2719
2723
  }
2720
2724
 
2721
2725
  .textfield-outlined.no-label > .icon {
2722
- top: .5rem;
2726
+ top: 50%;
2727
+ transform: translateY(-50%);
2723
2728
  }
2724
2729
 
2725
2730
  .textfield-date>.icon,
@@ -2829,8 +2834,12 @@ input:read-only ~ label,
2829
2834
 
2830
2835
  .dropdown>.icon {
2831
2836
  position: absolute;
2832
- top: 1.7rem;
2837
+ top: 50%;
2833
2838
  right: .2rem;
2839
+ transform: translateY(-50%);
2840
+ display: flex;
2841
+ align-items: center;
2842
+ justify-content: center;
2834
2843
  }
2835
2844
 
2836
2845
  .dropdown>.decorator {
@@ -2843,9 +2852,13 @@ input:read-only ~ label,
2843
2852
  .dropdown>.textfield>.icon,
2844
2853
  .dropdown>.textfield-outlined>.icon {
2845
2854
  position: absolute;
2846
- top: 1.7rem;
2855
+ top: 50%;
2847
2856
  right: 2rem;
2857
+ transform: translateY(-50%);
2848
2858
  color: rgba(150,150,150,1);
2859
+ display: flex;
2860
+ align-items: center;
2861
+ justify-content: center;
2849
2862
  }
2850
2863
 
2851
2864
  .dropdown>menu {
@@ -7907,13 +7920,16 @@ body.datatable2-resizing {
7907
7920
  align-items: center;
7908
7921
  font: 1rem;
7909
7922
  color: var(--text-color-light);
7923
+ cursor: pointer;
7924
+ width: 100%;
7925
+ min-height: 2rem;
7926
+ padding: 0.25rem 0;
7910
7927
  }
7911
7928
 
7912
7929
  .tree-item:hover {
7913
- cursor: pointer;
7914
7930
  background-color: var(--background-color);
7915
7931
  font-weight: 500;
7916
- }
7932
+ }
7917
7933
 
7918
7934
  .tree-item.final {
7919
7935
  margin-left: 1rem;
@@ -7928,6 +7944,7 @@ body.datatable2-resizing {
7928
7944
 
7929
7945
  .tree-item>i {
7930
7946
  padding-left: .3rem;
7947
+ pointer-events: none;
7931
7948
  }
7932
7949
 
7933
7950
  .tree-item>.label {
@@ -7936,10 +7953,10 @@ body.datatable2-resizing {
7936
7953
  display: flex;
7937
7954
  align-items: center;
7938
7955
  justify-content: space-between;
7956
+ pointer-events: none;
7939
7957
  }
7940
7958
 
7941
7959
  .tree-item>.label.clickable:hover {
7942
- cursor: pointer;
7943
7960
  color: var(--accent-color);
7944
7961
  }
7945
7962
 
@@ -7949,11 +7966,13 @@ body.datatable2-resizing {
7949
7966
  overflow: hidden;
7950
7967
  text-overflow: ellipsis;
7951
7968
  white-space: nowrap;
7969
+ pointer-events: none;
7952
7970
  }
7953
7971
 
7954
7972
  .tree-item>.actions {
7955
7973
  padding: 0 .5rem;
7956
7974
  color: var(--text-color-lighter);
7975
+ pointer-events: auto;
7957
7976
  }
7958
7977
 
7959
7978
  .tree-item>.actions .rmwc-icon {
@@ -7988,14 +8007,42 @@ body.datatable2-resizing {
7988
8007
  padding-left: 2rem;
7989
8008
  }
7990
8009
 
7991
- /* Tree search */
7992
- .tree__search {
7993
- padding: 1rem;
8010
+ /* Tree header */
8011
+ .tree__header {
8012
+ display: flex;
8013
+ align-items: center;
8014
+ justify-content: space-between;
8015
+ padding: 0.5rem;
7994
8016
  border-bottom: 1px solid var(--divider-color, #e0e0e0);
7995
8017
  background-color: var(--background-color-light, #fafafa);
8018
+ gap: 0.5rem;
7996
8019
  margin-bottom: 0.5rem;
7997
8020
  }
7998
8021
 
8022
+ /* When only expand icon is present, align to right */
8023
+ .tree__header:has(.tree__expand-control):not(:has(.tree__search)) {
8024
+ justify-content: flex-end;
8025
+ }
8026
+
8027
+ /* Alternative for browsers that don't support :has() */
8028
+ .tree__header--expand-only {
8029
+ justify-content: flex-end;
8030
+ }
8031
+
8032
+ /* Tree search */
8033
+ .tree__search {
8034
+ flex: 1;
8035
+ }
8036
+
8037
+ /* Tree expand control */
8038
+ .tree__expand-control {
8039
+ display: flex;
8040
+ align-items: center;
8041
+ justify-content: center;
8042
+ min-width: 2rem;
8043
+ height: 2rem;
8044
+ }
8045
+
7999
8046
  /* Tree controls */
8000
8047
  .tree__controls {
8001
8048
  display: flex;
@@ -8096,6 +8143,7 @@ body.datatable2-resizing {
8096
8143
  display: flex;
8097
8144
  align-items: center;
8098
8145
  margin-right: 0.5rem;
8146
+ pointer-events: none;
8099
8147
  }
8100
8148
 
8101
8149
  /* TreeNode loading */
@@ -8126,7 +8174,7 @@ body.datatable2-resizing {
8126
8174
 
8127
8175
  /* TreeNode children */
8128
8176
  .tree-node__children {
8129
- margin-left: 1.5rem;
8177
+ margin-left: .8rem;
8130
8178
  border-left: 1px solid var(--divider-color, #e0e0e0);
8131
8179
  padding-left: 0.5rem;
8132
8180
  }