ywana-core8 0.1.83 → 0.1.85
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/__previewjs__/Wrapper.tsx +8 -5
- package/build-doc.sh +10 -0
- package/dist/index.cjs +627 -194
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +353 -105
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +628 -196
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +629 -196
- package/dist/index.umd.js.map +1 -1
- package/doc/README.md +196 -0
- package/doc/craco.config.js +31 -0
- package/doc/generate-examples.cjs +310 -0
- package/doc/package-lock.json +17298 -0
- package/doc/package.json +33 -0
- package/doc/public/index.html +22 -0
- package/doc/src/App.css +171 -0
- package/doc/src/App.js +214 -0
- package/doc/src/components/ExamplePage.js +104 -0
- package/doc/src/components/WelcomePage.js +84 -0
- package/doc/src/examples/button.example.js +47 -0
- package/doc/src/examples/input.example.js +91 -0
- package/doc/src/index.css +237 -0
- package/doc/src/index.js +11 -0
- package/package.json +9 -2
- package/preview.config.js +38 -0
- package/src/html/accordion.example.js +2 -2
- package/src/html/actions-cell.css +108 -0
- package/src/html/actions-cell.example.js +587 -0
- package/src/html/actions-cell.js +260 -0
- package/src/html/checkbox.example.js +2 -2
- package/src/html/chip.example.js +2 -2
- package/src/html/color.example.js +2 -2
- package/src/html/form.example.js +2 -2
- package/src/html/header2.example.js +2 -2
- package/src/html/index.js +1 -0
- package/src/html/menu.css +9 -2
- package/src/html/menu.js +14 -2
- package/src/html/progress.example.js +2 -2
- package/src/html/property.example.js +2 -2
- package/src/html/radio.example.js +2 -2
- package/src/html/switch.example.js +2 -2
- package/src/html/tab.example.js +2 -2
- package/src/html/table.css +47 -1
- package/src/html/table.example.js +1012 -0
- package/src/html/table.js +12 -7
- package/src/html/table2-actions-test.js +138 -0
- package/src/html/table2.css +40 -3
- package/src/html/table2.example.js +330 -0
- package/src/html/table2.js +56 -13
- package/src/html/textfield.css +17 -4
- package/src/html/tokenfield.example.js +2 -2
- package/src/html/tree.css +42 -7
- package/src/html/tree.example.js +169 -7
- package/src/html/tree.js +216 -93
- package/src/widgets/calendar/Calendar.js +1 -1
- /package/{ACCORDION_EVALUATION.md → doc/evalulations/ACCORDION_EVALUATION.md} +0 -0
- /package/{CHECKBOX_EVALUATION.md → doc/evalulations/CHECKBOX_EVALUATION.md} +0 -0
- /package/{CHIP_EVALUATION.md → doc/evalulations/CHIP_EVALUATION.md} +0 -0
- /package/{COLOR_EVALUATION.md → doc/evalulations/COLOR_EVALUATION.md} +0 -0
- /package/{COMPONENTS_EVALUATION.md → doc/evalulations/COMPONENTS_EVALUATION.md} +0 -0
- /package/{FORM_EVALUATION.md → doc/evalulations/FORM_EVALUATION.md} +0 -0
- /package/{HEADER_EVALUATION.md → doc/evalulations/HEADER_EVALUATION.md} +0 -0
- /package/{ICON_EVALUATION.md → doc/evalulations/ICON_EVALUATION.md} +0 -0
- /package/{LIST_EVALUATION.md → doc/evalulations/LIST_EVALUATION.md} +0 -0
- /package/{PROGRESS_EVALUATION.md → doc/evalulations/PROGRESS_EVALUATION.md} +0 -0
- /package/{RADIO_EVALUATION.md → doc/evalulations/RADIO_EVALUATION.md} +0 -0
- /package/{RADIO_VISUAL_FIX.md → doc/evalulations/RADIO_VISUAL_FIX.md} +0 -0
- /package/{SECTION_IMPROVEMENTS.md → doc/evalulations/SECTION_IMPROVEMENTS.md} +0 -0
- /package/{SWITCH_EVALUATION.md → doc/evalulations/SWITCH_EVALUATION.md} +0 -0
- /package/{SWITCH_VISUAL_FIX.md → doc/evalulations/SWITCH_VISUAL_FIX.md} +0 -0
- /package/{TAB_EVALUATION.md → doc/evalulations/TAB_EVALUATION.md} +0 -0
- /package/{TEXTFIELD_EVALUATION.md → doc/evalulations/TEXTFIELD_EVALUATION.md} +0 -0
- /package/{TOOLTIP_FIX.md → doc/evalulations/TOOLTIP_FIX.md} +0 -0
- /package/{TREE_EVALUATION.md → doc/evalulations/TREE_EVALUATION.md} +0 -0
- /package/src/incubator/{PDFViewer.js → pdfViewer.js} +0 -0
package/dist/index.css
CHANGED
@@ -815,6 +815,212 @@ td.actions {
|
|
815
815
|
color: black !important;
|
816
816
|
}
|
817
817
|
}
|
818
|
+
.menu-icon {
|
819
|
+
position: relative;
|
820
|
+
}
|
821
|
+
|
822
|
+
/* Solución simple: z-index muy alto para que aparezca por encima de todo */
|
823
|
+
|
824
|
+
.menu-icon > .overlay {
|
825
|
+
position: fixed;
|
826
|
+
top: 0px;
|
827
|
+
left: 0px;
|
828
|
+
width: 100vw;
|
829
|
+
height: 100vh;
|
830
|
+
z-index: 9998;
|
831
|
+
background-color: transparent;
|
832
|
+
}
|
833
|
+
|
834
|
+
.menu-icon > menu {
|
835
|
+
z-index: 9999;
|
836
|
+
position: absolute;
|
837
|
+
top: 3rem;
|
838
|
+
left: 0px;
|
839
|
+
margin: 0;
|
840
|
+
border: solid 1px var(--divider-color);
|
841
|
+
background-color: var(--paper-color);
|
842
|
+
padding: 0;
|
843
|
+
min-width: 7rem;
|
844
|
+
max-width: 14rem;
|
845
|
+
max-height: 50vh;
|
846
|
+
overflow: auto;
|
847
|
+
box-shadow: var(--shadow1);
|
848
|
+
}
|
849
|
+
|
850
|
+
.menu-icon > menu.alignRight {
|
851
|
+
left: unset;
|
852
|
+
right: 0px;
|
853
|
+
}
|
854
|
+
|
855
|
+
.menu-icon > menu.alignLeft {
|
856
|
+
left: 0px;
|
857
|
+
right: unset;
|
858
|
+
}
|
859
|
+
|
860
|
+
.menu-icon > menu ul {
|
861
|
+
list-style: none;
|
862
|
+
margin: 0;
|
863
|
+
padding: 0.5rem 0;
|
864
|
+
cursor: pointer;
|
865
|
+
}
|
866
|
+
|
867
|
+
.menu-icon > menu li {
|
868
|
+
min-height: 3rem;
|
869
|
+
padding: 0 0.5rem;
|
870
|
+
display: flex;
|
871
|
+
align-items: center;
|
872
|
+
}
|
873
|
+
|
874
|
+
.menu-icon > menu li:hover {
|
875
|
+
background-color: var(--primary-color-lighter);
|
876
|
+
}
|
877
|
+
|
878
|
+
.menu-item {
|
879
|
+
flex: 1;
|
880
|
+
display: flex;
|
881
|
+
align-items: center;
|
882
|
+
cursor: pointer;
|
883
|
+
}
|
884
|
+
|
885
|
+
.menu-item > .icon {
|
886
|
+
color: var(--text-color-light);
|
887
|
+
cursor: pointer;
|
888
|
+
}
|
889
|
+
|
890
|
+
.menu-item > label {
|
891
|
+
flex: 1;
|
892
|
+
white-space: nowrap;
|
893
|
+
padding: 0 0.5rem 0 0;
|
894
|
+
color: var(--text-color);
|
895
|
+
font-size: 0.9rem;
|
896
|
+
cursor: pointer;
|
897
|
+
}
|
898
|
+
|
899
|
+
.menu-item.disabled > label,
|
900
|
+
.menu-item.disabled > .icon {
|
901
|
+
color: var(--text-color-lighter);
|
902
|
+
cursor: initial;
|
903
|
+
}
|
904
|
+
|
905
|
+
.menu-item > .meta {
|
906
|
+
color: var(--text-color-lighter);
|
907
|
+
}
|
908
|
+
|
909
|
+
.menu-separator {
|
910
|
+
min-height: 0px !important;
|
911
|
+
height: 1px;
|
912
|
+
border-top: solid 1px var(--divider-color);
|
913
|
+
}
|
914
|
+
|
915
|
+
/* ActionsCell Component Styles */
|
916
|
+
|
917
|
+
.actions-cell {
|
918
|
+
display: inline-flex;
|
919
|
+
align-items: center;
|
920
|
+
justify-content: flex-end;
|
921
|
+
position: relative;
|
922
|
+
}
|
923
|
+
|
924
|
+
/* Modo directo - acciones visibles */
|
925
|
+
.actions-cell--direct {
|
926
|
+
overflow: hidden;
|
927
|
+
}
|
928
|
+
|
929
|
+
.actions-cell__content {
|
930
|
+
display: flex;
|
931
|
+
align-items: center;
|
932
|
+
gap: 4px;
|
933
|
+
white-space: nowrap;
|
934
|
+
overflow: hidden;
|
935
|
+
}
|
936
|
+
|
937
|
+
/* Modo menú - icono de menú */
|
938
|
+
.actions-cell--menu {
|
939
|
+
/* Los estilos del menú se heredan de menu.css */
|
940
|
+
}
|
941
|
+
|
942
|
+
/* Integración con List */
|
943
|
+
.list__item-actions .actions-cell {
|
944
|
+
opacity: 0;
|
945
|
+
transition: opacity 0.2s ease;
|
946
|
+
}
|
947
|
+
|
948
|
+
.list__item:hover .list__item-actions .actions-cell,
|
949
|
+
.list__item-actions--visible .actions-cell {
|
950
|
+
opacity: 1;
|
951
|
+
}
|
952
|
+
|
953
|
+
/* Integración con Accordion */
|
954
|
+
.accordion__actions .actions-cell {
|
955
|
+
/* Siempre visible en accordions */
|
956
|
+
opacity: 1;
|
957
|
+
}
|
958
|
+
|
959
|
+
/* Integración con Header */
|
960
|
+
.header .actions-cell {
|
961
|
+
/* Siempre visible en headers */
|
962
|
+
opacity: 1;
|
963
|
+
}
|
964
|
+
|
965
|
+
/* Responsive behavior */
|
966
|
+
@media (max-width: 768px) {
|
967
|
+
.actions-cell--direct {
|
968
|
+
/* En móviles, forzar modo menú más agresivamente */
|
969
|
+
max-width: 100px;
|
970
|
+
}
|
971
|
+
|
972
|
+
.actions-cell__content {
|
973
|
+
gap: 2px;
|
974
|
+
}
|
975
|
+
}
|
976
|
+
|
977
|
+
/* Estados de botones dentro de ActionsCell */
|
978
|
+
.actions-cell .button {
|
979
|
+
flex-shrink: 0;
|
980
|
+
}
|
981
|
+
|
982
|
+
.actions-cell .button--small {
|
983
|
+
min-width: auto;
|
984
|
+
padding: 4px 8px;
|
985
|
+
}
|
986
|
+
|
987
|
+
.actions-cell .button--icon-only {
|
988
|
+
min-width: 32px;
|
989
|
+
width: 32px;
|
990
|
+
height: 32px;
|
991
|
+
padding: 4px;
|
992
|
+
}
|
993
|
+
|
994
|
+
/* Animaciones suaves */
|
995
|
+
.actions-cell {
|
996
|
+
transition: all 0.2s ease;
|
997
|
+
}
|
998
|
+
|
999
|
+
.actions-cell__content {
|
1000
|
+
transition: transform 0.2s ease;
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
/* Estados de hover para mejor UX */
|
1004
|
+
.actions-cell:hover .actions-cell__content {
|
1005
|
+
transform: translateX(-2px);
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
/* Alineación del menú */
|
1009
|
+
.actions-cell--menu .menu-icon menu.left {
|
1010
|
+
right: auto;
|
1011
|
+
left: 0;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
.actions-cell--menu .menu-icon menu.right {
|
1015
|
+
left: auto;
|
1016
|
+
right: 0;
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
.actions-cell--menu .menu-icon menu.center {
|
1020
|
+
left: 50%;
|
1021
|
+
transform: translateX(-50%);
|
1022
|
+
}
|
1023
|
+
|
818
1024
|
.btn {
|
819
1025
|
position: relative;
|
820
1026
|
padding: .2rem .5rem;
|
@@ -2713,13 +2919,18 @@ input:checked~.checkmark:after {
|
|
2713
2919
|
|
2714
2920
|
.textfield>.icon {
|
2715
2921
|
position: absolute;
|
2716
|
-
top:
|
2922
|
+
top: 50%;
|
2717
2923
|
right: .2rem;
|
2924
|
+
transform: translateY(-50%);
|
2718
2925
|
color: rgba(150,150,150,1);
|
2926
|
+
display: flex;
|
2927
|
+
align-items: center;
|
2928
|
+
justify-content: center;
|
2719
2929
|
}
|
2720
2930
|
|
2721
2931
|
.textfield-outlined.no-label > .icon {
|
2722
|
-
top:
|
2932
|
+
top: 50%;
|
2933
|
+
transform: translateY(-50%);
|
2723
2934
|
}
|
2724
2935
|
|
2725
2936
|
.textfield-date>.icon,
|
@@ -2829,8 +3040,12 @@ input:read-only ~ label,
|
|
2829
3040
|
|
2830
3041
|
.dropdown>.icon {
|
2831
3042
|
position: absolute;
|
2832
|
-
top:
|
3043
|
+
top: 50%;
|
2833
3044
|
right: .2rem;
|
3045
|
+
transform: translateY(-50%);
|
3046
|
+
display: flex;
|
3047
|
+
align-items: center;
|
3048
|
+
justify-content: center;
|
2834
3049
|
}
|
2835
3050
|
|
2836
3051
|
.dropdown>.decorator {
|
@@ -2843,9 +3058,13 @@ input:read-only ~ label,
|
|
2843
3058
|
.dropdown>.textfield>.icon,
|
2844
3059
|
.dropdown>.textfield-outlined>.icon {
|
2845
3060
|
position: absolute;
|
2846
|
-
top:
|
3061
|
+
top: 50%;
|
2847
3062
|
right: 2rem;
|
3063
|
+
transform: translateY(-50%);
|
2848
3064
|
color: rgba(150,150,150,1);
|
3065
|
+
display: flex;
|
3066
|
+
align-items: center;
|
3067
|
+
justify-content: center;
|
2849
3068
|
}
|
2850
3069
|
|
2851
3070
|
.dropdown>menu {
|
@@ -3548,96 +3767,6 @@ textarea:read-only ~ label,
|
|
3548
3767
|
}
|
3549
3768
|
}
|
3550
3769
|
|
3551
|
-
.menu-icon {
|
3552
|
-
position: relative;
|
3553
|
-
}
|
3554
|
-
|
3555
|
-
.menu-icon > .overlay {
|
3556
|
-
position: fixed;
|
3557
|
-
top: 0px;
|
3558
|
-
left: 0px;
|
3559
|
-
width: 100vw;
|
3560
|
-
height: 100vh;
|
3561
|
-
z-index: 5;
|
3562
|
-
background-color: transparent;
|
3563
|
-
}
|
3564
|
-
|
3565
|
-
.menu-icon > menu {
|
3566
|
-
z-index: 6;
|
3567
|
-
position: absolute;
|
3568
|
-
top: 3rem;
|
3569
|
-
left: 0px;
|
3570
|
-
margin: 0;
|
3571
|
-
border: solid 1px var(--divider-color);
|
3572
|
-
background-color: var(--paper-color);
|
3573
|
-
padding: 0;
|
3574
|
-
min-width: 7rem;
|
3575
|
-
max-width: 14rem;
|
3576
|
-
max-height: 50vh;
|
3577
|
-
overflow: auto;
|
3578
|
-
box-shadow: var(--shadow1);
|
3579
|
-
}
|
3580
|
-
|
3581
|
-
.menu-icon > menu.alignRight {
|
3582
|
-
left: unset;
|
3583
|
-
right: 0px;
|
3584
|
-
}
|
3585
|
-
|
3586
|
-
.menu-icon > menu ul {
|
3587
|
-
list-style: none;
|
3588
|
-
margin: 0;
|
3589
|
-
padding: 0.5rem 0;
|
3590
|
-
cursor: pointer;
|
3591
|
-
}
|
3592
|
-
|
3593
|
-
.menu-icon > menu li {
|
3594
|
-
min-height: 3rem;
|
3595
|
-
padding: 0 0.5rem;
|
3596
|
-
display: flex;
|
3597
|
-
align-items: center;
|
3598
|
-
}
|
3599
|
-
|
3600
|
-
.menu-icon > menu li:hover {
|
3601
|
-
background-color: var(--primary-color-lighter);
|
3602
|
-
}
|
3603
|
-
|
3604
|
-
.menu-item {
|
3605
|
-
flex: 1;
|
3606
|
-
display: flex;
|
3607
|
-
align-items: center;
|
3608
|
-
cursor: pointer;
|
3609
|
-
}
|
3610
|
-
|
3611
|
-
.menu-item > .icon {
|
3612
|
-
color: var(--text-color-light);
|
3613
|
-
cursor: pointer;
|
3614
|
-
}
|
3615
|
-
|
3616
|
-
.menu-item > label {
|
3617
|
-
flex: 1;
|
3618
|
-
white-space: nowrap;
|
3619
|
-
padding: 0 0.5rem 0 0;
|
3620
|
-
color: var(--text-color);
|
3621
|
-
font-size: 0.9rem;
|
3622
|
-
cursor: pointer;
|
3623
|
-
}
|
3624
|
-
|
3625
|
-
.menu-item.disabled > label,
|
3626
|
-
.menu-item.disabled > .icon {
|
3627
|
-
color: var(--text-color-lighter);
|
3628
|
-
cursor: initial;
|
3629
|
-
}
|
3630
|
-
|
3631
|
-
.menu-item > .meta {
|
3632
|
-
color: var(--text-color-lighter);
|
3633
|
-
}
|
3634
|
-
|
3635
|
-
.menu-separator {
|
3636
|
-
min-height: 0px !important;
|
3637
|
-
height: 1px;
|
3638
|
-
border-top: solid 1px var(--divider-color);
|
3639
|
-
}
|
3640
|
-
|
3641
3770
|
/* Original Property styles (preserved for compatibility) */
|
3642
3771
|
.property {
|
3643
3772
|
flex:1;
|
@@ -4718,6 +4847,7 @@ textarea:read-only ~ label,
|
|
4718
4847
|
|
4719
4848
|
.datatable8 table {
|
4720
4849
|
width: 100%;
|
4850
|
+
table-layout: auto;
|
4721
4851
|
}
|
4722
4852
|
|
4723
4853
|
.datatable8 thead {
|
@@ -4772,7 +4902,26 @@ textarea:read-only ~ label,
|
|
4772
4902
|
white-space: nowrap;
|
4773
4903
|
max-width: 10rem;
|
4774
4904
|
color: var(--text-color-light);
|
4775
|
-
}
|
4905
|
+
}
|
4906
|
+
|
4907
|
+
/* Columna de acciones - ajuste automático al contenido */
|
4908
|
+
.datatable8 tbody td.actions {
|
4909
|
+
max-width: none !important;
|
4910
|
+
width: auto;
|
4911
|
+
min-width: auto;
|
4912
|
+
white-space: nowrap;
|
4913
|
+
padding: 0 0.25rem;
|
4914
|
+
text-align: right;
|
4915
|
+
overflow: visible;
|
4916
|
+
text-overflow: unset;
|
4917
|
+
}
|
4918
|
+
|
4919
|
+
/* Header de columna de acciones */
|
4920
|
+
.datatable8 thead th.actions {
|
4921
|
+
width: auto;
|
4922
|
+
min-width: auto;
|
4923
|
+
padding: 0 0.25rem;
|
4924
|
+
}
|
4776
4925
|
|
4777
4926
|
.datatable8 tbody td.index {
|
4778
4927
|
width: 3rem;
|
@@ -4790,6 +4939,17 @@ textarea:read-only ~ label,
|
|
4790
4939
|
border-color: var(--text-color-lighter) !important;
|
4791
4940
|
}
|
4792
4941
|
|
4942
|
+
.datatable8 tbody td.actions>div {
|
4943
|
+
display: flex;
|
4944
|
+
flex-direction: row;
|
4945
|
+
align-items: center;
|
4946
|
+
justify-content: flex-end;
|
4947
|
+
gap: 0.25rem;
|
4948
|
+
overflow: visible;
|
4949
|
+
min-width: -moz-max-content;
|
4950
|
+
min-width: max-content;
|
4951
|
+
}
|
4952
|
+
|
4793
4953
|
.datatable8 .string-viewer img {
|
4794
4954
|
height: 5rem;
|
4795
4955
|
}
|
@@ -4798,6 +4958,22 @@ textarea:read-only ~ label,
|
|
4798
4958
|
resize: horizontal;
|
4799
4959
|
overflow: hidden;
|
4800
4960
|
}
|
4961
|
+
|
4962
|
+
/* Columna de info - ancho mínimo para el icono de expansión */
|
4963
|
+
.datatable8 thead th[style*="width: 3rem"] {
|
4964
|
+
width: 3rem !important;
|
4965
|
+
min-width: 3rem;
|
4966
|
+
max-width: 3rem;
|
4967
|
+
padding: 0 0.5rem;
|
4968
|
+
}
|
4969
|
+
|
4970
|
+
.datatable8 tbody td:last-child {
|
4971
|
+
width: 3rem;
|
4972
|
+
min-width: 3rem;
|
4973
|
+
max-width: 3rem;
|
4974
|
+
padding: 0 0.5rem;
|
4975
|
+
text-align: center;
|
4976
|
+
}
|
4801
4977
|
/* DataTable2 - Reimplemented with minimal, elegant styles */
|
4802
4978
|
|
4803
4979
|
/* Base table styles */
|
@@ -4819,6 +4995,8 @@ textarea:read-only ~ label,
|
|
4819
4995
|
width: 100%;
|
4820
4996
|
border-collapse: collapse;
|
4821
4997
|
table-layout: auto;
|
4998
|
+
overflow: visible !important;
|
4999
|
+
|
4822
5000
|
}
|
4823
5001
|
|
4824
5002
|
/* Header styles */
|
@@ -6179,13 +6357,48 @@ body.datatable2-resizing {
|
|
6179
6357
|
}
|
6180
6358
|
|
6181
6359
|
/* Special cell types */
|
6182
|
-
.datatable2__select-cell
|
6183
|
-
|
6184
|
-
width: 48px;
|
6360
|
+
.datatable2__select-cell {
|
6361
|
+
width: auto;
|
6362
|
+
min-width: 48px;
|
6185
6363
|
text-align: center;
|
6186
6364
|
padding: 8px;
|
6187
6365
|
}
|
6188
6366
|
|
6367
|
+
.datatable2__actions-cell {
|
6368
|
+
width: 1%;
|
6369
|
+
white-space: nowrap;
|
6370
|
+
text-align: right;
|
6371
|
+
padding: 8px;
|
6372
|
+
vertical-align: middle;
|
6373
|
+
}
|
6374
|
+
|
6375
|
+
.datatable2__actions-header {
|
6376
|
+
width: 1%;
|
6377
|
+
white-space: nowrap;
|
6378
|
+
text-align: right;
|
6379
|
+
padding: 8px;
|
6380
|
+
}
|
6381
|
+
|
6382
|
+
/* Actions container and items */
|
6383
|
+
.datatable2__actions-container {
|
6384
|
+
display: flex;
|
6385
|
+
align-items: center;
|
6386
|
+
justify-content: flex-end;
|
6387
|
+
gap: 4px;
|
6388
|
+
flex-wrap: nowrap;
|
6389
|
+
}
|
6390
|
+
|
6391
|
+
.datatable2__action-item {
|
6392
|
+
display: inline-flex;
|
6393
|
+
align-items: center;
|
6394
|
+
justify-content: center;
|
6395
|
+
flex-shrink: 0;
|
6396
|
+
}
|
6397
|
+
|
6398
|
+
.datatable2__expand-icon {
|
6399
|
+
margin-left: 4px;
|
6400
|
+
}
|
6401
|
+
|
6189
6402
|
.datatable2__row-number {
|
6190
6403
|
width: 60px;
|
6191
6404
|
text-align: center;
|
@@ -7907,13 +8120,16 @@ body.datatable2-resizing {
|
|
7907
8120
|
align-items: center;
|
7908
8121
|
font: 1rem;
|
7909
8122
|
color: var(--text-color-light);
|
8123
|
+
cursor: pointer;
|
8124
|
+
width: 100%;
|
8125
|
+
min-height: 2rem;
|
8126
|
+
padding: 0.25rem 0;
|
7910
8127
|
}
|
7911
8128
|
|
7912
8129
|
.tree-item:hover {
|
7913
|
-
cursor: pointer;
|
7914
8130
|
background-color: var(--background-color);
|
7915
8131
|
font-weight: 500;
|
7916
|
-
}
|
8132
|
+
}
|
7917
8133
|
|
7918
8134
|
.tree-item.final {
|
7919
8135
|
margin-left: 1rem;
|
@@ -7928,6 +8144,7 @@ body.datatable2-resizing {
|
|
7928
8144
|
|
7929
8145
|
.tree-item>i {
|
7930
8146
|
padding-left: .3rem;
|
8147
|
+
pointer-events: none;
|
7931
8148
|
}
|
7932
8149
|
|
7933
8150
|
.tree-item>.label {
|
@@ -7936,10 +8153,10 @@ body.datatable2-resizing {
|
|
7936
8153
|
display: flex;
|
7937
8154
|
align-items: center;
|
7938
8155
|
justify-content: space-between;
|
8156
|
+
pointer-events: none;
|
7939
8157
|
}
|
7940
8158
|
|
7941
8159
|
.tree-item>.label.clickable:hover {
|
7942
|
-
cursor: pointer;
|
7943
8160
|
color: var(--accent-color);
|
7944
8161
|
}
|
7945
8162
|
|
@@ -7949,11 +8166,13 @@ body.datatable2-resizing {
|
|
7949
8166
|
overflow: hidden;
|
7950
8167
|
text-overflow: ellipsis;
|
7951
8168
|
white-space: nowrap;
|
8169
|
+
pointer-events: none;
|
7952
8170
|
}
|
7953
8171
|
|
7954
8172
|
.tree-item>.actions {
|
7955
8173
|
padding: 0 .5rem;
|
7956
8174
|
color: var(--text-color-lighter);
|
8175
|
+
pointer-events: auto;
|
7957
8176
|
}
|
7958
8177
|
|
7959
8178
|
.tree-item>.actions .rmwc-icon {
|
@@ -7988,14 +8207,42 @@ body.datatable2-resizing {
|
|
7988
8207
|
padding-left: 2rem;
|
7989
8208
|
}
|
7990
8209
|
|
7991
|
-
/* Tree
|
7992
|
-
.
|
7993
|
-
|
8210
|
+
/* Tree header */
|
8211
|
+
.tree__header {
|
8212
|
+
display: flex;
|
8213
|
+
align-items: center;
|
8214
|
+
justify-content: space-between;
|
8215
|
+
padding: 0.5rem;
|
7994
8216
|
border-bottom: 1px solid var(--divider-color, #e0e0e0);
|
7995
8217
|
background-color: var(--background-color-light, #fafafa);
|
8218
|
+
gap: 0.5rem;
|
7996
8219
|
margin-bottom: 0.5rem;
|
7997
8220
|
}
|
7998
8221
|
|
8222
|
+
/* When only expand icon is present, align to right */
|
8223
|
+
.tree__header:has(.tree__expand-control):not(:has(.tree__search)) {
|
8224
|
+
justify-content: flex-end;
|
8225
|
+
}
|
8226
|
+
|
8227
|
+
/* Alternative for browsers that don't support :has() */
|
8228
|
+
.tree__header--expand-only {
|
8229
|
+
justify-content: flex-end;
|
8230
|
+
}
|
8231
|
+
|
8232
|
+
/* Tree search */
|
8233
|
+
.tree__search {
|
8234
|
+
flex: 1;
|
8235
|
+
}
|
8236
|
+
|
8237
|
+
/* Tree expand control */
|
8238
|
+
.tree__expand-control {
|
8239
|
+
display: flex;
|
8240
|
+
align-items: center;
|
8241
|
+
justify-content: center;
|
8242
|
+
min-width: 2rem;
|
8243
|
+
height: 2rem;
|
8244
|
+
}
|
8245
|
+
|
7999
8246
|
/* Tree controls */
|
8000
8247
|
.tree__controls {
|
8001
8248
|
display: flex;
|
@@ -8096,6 +8343,7 @@ body.datatable2-resizing {
|
|
8096
8343
|
display: flex;
|
8097
8344
|
align-items: center;
|
8098
8345
|
margin-right: 0.5rem;
|
8346
|
+
pointer-events: none;
|
8099
8347
|
}
|
8100
8348
|
|
8101
8349
|
/* TreeNode loading */
|
@@ -8126,7 +8374,7 @@ body.datatable2-resizing {
|
|
8126
8374
|
|
8127
8375
|
/* TreeNode children */
|
8128
8376
|
.tree-node__children {
|
8129
|
-
margin-left:
|
8377
|
+
margin-left: .8rem;
|
8130
8378
|
border-left: 1px solid var(--divider-color, #e0e0e0);
|
8131
8379
|
padding-left: 0.5rem;
|
8132
8380
|
}
|