@swiftwc/ui 0.0.0-dev.85 → 0.0.0-dev.87

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.
Files changed (84) hide show
  1. package/generated/client/index.d.ts +3 -0
  2. package/generated/client/index.js +3 -0
  3. package/generated/components/alert-dialog.d.ts +4 -0
  4. package/generated/components/alert-dialog.js +4 -0
  5. package/generated/components/bordered-button.js +1 -1
  6. package/generated/components/bordered-prominent-button.js +1 -1
  7. package/generated/components/borderless-button.js +1 -1
  8. package/generated/components/confirmation-dialog.d.ts +4 -0
  9. package/generated/components/confirmation-dialog.js +4 -0
  10. package/generated/components/date-picker.js +4 -3
  11. package/generated/components/glass-button.js +1 -1
  12. package/generated/components/glass-prominent-button.js +1 -1
  13. package/generated/components/h-stack.d.ts +6 -3
  14. package/generated/components/h-stack.js +6 -3
  15. package/generated/components/image-view.js +10 -11
  16. package/generated/components/label-view.d.ts +2 -0
  17. package/generated/components/label-view.js +15 -10
  18. package/generated/components/labeled-content.js +43 -23
  19. package/generated/components/menu-view.d.ts +2 -0
  20. package/generated/components/menu-view.js +5 -2
  21. package/generated/components/navigation-title.js +22 -16
  22. package/generated/components/picker-view.d.ts +2 -0
  23. package/generated/components/picker-view.js +15 -8
  24. package/generated/components/progress-view.d.ts +2 -0
  25. package/generated/components/progress-view.js +6 -3
  26. package/generated/components/scroll-view.d.ts +4 -0
  27. package/generated/components/scroll-view.js +30 -7
  28. package/generated/components/section-view.d.ts +4 -0
  29. package/generated/components/section-view.js +37 -17
  30. package/generated/components/table-view.d.ts +8 -0
  31. package/generated/components/table-view.js +13 -6
  32. package/generated/components/text-field.js +3 -2
  33. package/generated/components/toggle-view.js +3 -2
  34. package/generated/components/tool-bar-item.js +2 -2
  35. package/generated/components/v-stack.d.ts +6 -4
  36. package/generated/components/v-stack.js +6 -4
  37. package/generated/css/index.css +242 -11
  38. package/generated/internal/utils/ensure-placeholder.d.ts +1 -1
  39. package/generated/internal/utils/ensure-placeholder.js +8 -9
  40. package/generated/internal/utils/index.d.ts +0 -3
  41. package/generated/internal/utils/index.js +0 -3
  42. package/generated/internal/vendor/morphdom.d.ts +6 -0
  43. package/generated/internal/vendor/morphdom.js +720 -0
  44. package/generated/morphdom/html.d.ts +8 -0
  45. package/generated/morphdom/html.js +37 -0
  46. package/generated/morphdom/index.d.ts +6 -0
  47. package/generated/morphdom/index.js +6 -0
  48. package/generated/morphdom/morph.d.ts +4 -0
  49. package/generated/morphdom/morph.js +9 -0
  50. package/generated/morphdom/query-morph.d.ts +5 -0
  51. package/generated/morphdom/query-morph.js +12 -0
  52. package/package.json +5 -3
  53. package/scss/_maps.scss +256 -0
  54. package/scss/_vars.scss +2 -115
  55. package/scss/base/_root.scss +6 -5
  56. package/scss/colors/_index.scss +2 -2
  57. package/scss/components/_bordered-button.scss +2 -1
  58. package/scss/components/_bordered-prominent-button.scss +2 -1
  59. package/scss/components/_disclosure-group.scss +1 -1
  60. package/scss/components/_form-view.scss +3 -2
  61. package/scss/components/_glass-button.scss +2 -1
  62. package/scss/components/_glass-prominent-button.scss +2 -1
  63. package/scss/components/_h-stack.scss +4 -21
  64. package/scss/components/_label-view.scss +11 -10
  65. package/scss/components/_list-view.scss +3 -2
  66. package/scss/components/_picker-view.scss +5 -4
  67. package/scss/components/_scroll-view-proxy.scss +2 -2
  68. package/scss/components/_table-view.scss +3 -2
  69. package/scss/components/_toggle-view.scss +1 -1
  70. package/scss/components/_v-stack.scss +3 -4
  71. package/scss/mixins/_color.scss +2 -2
  72. package/scss/mixins/_index.scss +2 -2
  73. package/scss/placeholders/_buttons.scss +2 -1
  74. package/scss/utils/_frame.scss +1 -1
  75. package/scss/utils/_scroll-view.scss +1 -1
  76. package/scss/utils/_spacing.scss +1 -1
  77. package/scss/utils/_stacks.scss +8 -99
  78. package/web-components.html-data/en.json +460 -36
  79. package/generated/internal/utils/render-label-icon.d.ts +0 -2
  80. package/generated/internal/utils/render-label-icon.js +0 -19
  81. package/generated/internal/utils/render-label-title.d.ts +0 -2
  82. package/generated/internal/utils/render-label-title.js +0 -16
  83. package/generated/internal/utils/render-label.d.ts +0 -1
  84. package/generated/internal/utils/render-label.js +0 -19
@@ -2,7 +2,8 @@
2
2
  "version": 1.1,
3
3
  "tags": [
4
4
  {
5
- "name": "alert-dialog"
5
+ "name": "alert-dialog",
6
+ "description": "A representation of an alert presentation.\nUse it from the client module like `void alert('Save failed.')`."
6
7
  },
7
8
  {
8
9
  "name": "body-view"
@@ -59,6 +60,7 @@
59
60
  },
60
61
  {
61
62
  "name": "confirmation-dialog",
63
+ "description": "A representation of a confirmation presentation.\nUse it from the client module like `await confirmation(trigger, 'Permanently erase the items in the Trash?')`.",
62
64
  "attributes": [
63
65
  {
64
66
  "name": "anchor"
@@ -176,8 +178,13 @@
176
178
  },
177
179
  {
178
180
  "name": "hstack",
179
- "description": "",
181
+ "description": "A view that arranges its subviews in a horizontal line.",
180
182
  "attributes": [
183
+ {
184
+ "name": "template - The main",
185
+ "description": "\nDescription: axis grid template",
186
+ "valueSet": "templateSet"
187
+ },
181
188
  {
182
189
  "name": "spacing",
183
190
  "description": "\nDescription: The gap between the primary axis",
@@ -186,17 +193,17 @@
186
193
  {
187
194
  "name": "alignment - The cross",
188
195
  "description": "\nDescription: axis alignment",
189
- "valueSet": "alignmentSet"
196
+ "valueSet": "blockSet"
190
197
  },
191
198
  {
192
199
  "name": "distribution - The main",
193
200
  "description": "\nDescription: axis alignment",
194
- "valueSet": "distributionSet"
201
+ "valueSet": "inlineSet"
195
202
  },
196
203
  {
197
204
  "name": "placement - The main",
198
205
  "description": "\nDescription: axis alignment",
199
- "valueSet": "placementSet"
206
+ "valueSet": "inlinePlacementSet"
200
207
  }
201
208
  ]
202
209
  },
@@ -402,6 +409,7 @@
402
409
  },
403
410
  {
404
411
  "name": "scroll-view",
412
+ "description": "",
405
413
  "attributes": [
406
414
  {
407
415
  "name": "navigation-title"
@@ -412,6 +420,9 @@
412
420
  {
413
421
  "name": "navigation-inline-subtitle"
414
422
  },
423
+ {
424
+ "name": "navigation-icon"
425
+ },
415
426
  {
416
427
  "name": "navigation-bar-title-display-mode"
417
428
  }
@@ -422,6 +433,7 @@
422
433
  },
423
434
  {
424
435
  "name": "section-view",
436
+ "description": "",
425
437
  "attributes": [
426
438
  {
427
439
  "name": "header"
@@ -588,7 +600,7 @@
588
600
  },
589
601
  {
590
602
  "name": "vstack",
591
- "description": "",
603
+ "description": "A view that arranges its subviews in a vertical line.",
592
604
  "attributes": [
593
605
  {
594
606
  "name": "distribution",
@@ -615,19 +627,9 @@
615
627
  ]
616
628
  },
617
629
  {
618
- "name": "template",
619
- "description": "Value Type: “auto spacer” | “auto auto spacer” | “auto auto auto spacer”",
620
- "values": [
621
- {
622
- "name": "auto spacer"
623
- },
624
- {
625
- "name": "auto auto spacer"
626
- },
627
- {
628
- "name": "auto auto auto spacer"
629
- }
630
- ]
630
+ "name": "template - The main",
631
+ "description": "\nDescription: axis grid template",
632
+ "valueSet": "templateSet"
631
633
  },
632
634
  {
633
635
  "name": "spacing",
@@ -637,17 +639,17 @@
637
639
  {
638
640
  "name": "alignment - The cross",
639
641
  "description": "\nDescription: axis alignment",
640
- "valueSet": "alignmentSet"
642
+ "valueSet": "inlineSet"
641
643
  },
642
644
  {
643
645
  "name": "distribution - The main",
644
646
  "description": "\nDescription: axis alignment",
645
- "valueSet": "distributionSet"
647
+ "valueSet": "blockSet"
646
648
  },
647
649
  {
648
650
  "name": "placement - The main",
649
651
  "description": "\nDescription: axis alignment",
650
- "valueSet": "placementSet"
652
+ "valueSet": "blockPlacementSet"
651
653
  }
652
654
  ]
653
655
  }
@@ -755,6 +757,190 @@
755
757
  {
756
758
  "name": "4",
757
759
  "description": "0.4rem"
760
+ },
761
+ {
762
+ "name": "5",
763
+ "description": "0.5rem"
764
+ },
765
+ {
766
+ "name": "6",
767
+ "description": "0.6rem"
768
+ },
769
+ {
770
+ "name": "7",
771
+ "description": "0.7rem"
772
+ },
773
+ {
774
+ "name": "8",
775
+ "description": "0.8rem"
776
+ },
777
+ {
778
+ "name": "9",
779
+ "description": "0.9rem"
780
+ },
781
+ {
782
+ "name": "10",
783
+ "description": "1rem"
784
+ },
785
+ {
786
+ "name": "11",
787
+ "description": "1.1rem"
788
+ },
789
+ {
790
+ "name": "12",
791
+ "description": "1.2rem"
792
+ },
793
+ {
794
+ "name": "13",
795
+ "description": "1.3rem"
796
+ },
797
+ {
798
+ "name": "14",
799
+ "description": "1.4rem"
800
+ },
801
+ {
802
+ "name": "15",
803
+ "description": "1.5rem"
804
+ },
805
+ {
806
+ "name": "16",
807
+ "description": "1.6rem"
808
+ },
809
+ {
810
+ "name": "17",
811
+ "description": "1.7rem"
812
+ },
813
+ {
814
+ "name": "18",
815
+ "description": "1.8rem"
816
+ },
817
+ {
818
+ "name": "19",
819
+ "description": "1.9rem"
820
+ },
821
+ {
822
+ "name": "20",
823
+ "description": "2rem"
824
+ },
825
+ {
826
+ "name": "21",
827
+ "description": "2.1rem"
828
+ },
829
+ {
830
+ "name": "22",
831
+ "description": "2.2rem"
832
+ },
833
+ {
834
+ "name": "23",
835
+ "description": "2.3rem"
836
+ },
837
+ {
838
+ "name": "24",
839
+ "description": "2.4rem"
840
+ },
841
+ {
842
+ "name": "25",
843
+ "description": "2.5rem"
844
+ },
845
+ {
846
+ "name": "26",
847
+ "description": "2.6rem"
848
+ },
849
+ {
850
+ "name": "27",
851
+ "description": "2.7rem"
852
+ },
853
+ {
854
+ "name": "28",
855
+ "description": "2.8rem"
856
+ },
857
+ {
858
+ "name": "29",
859
+ "description": "2.9rem"
860
+ },
861
+ {
862
+ "name": "30",
863
+ "description": "3rem"
864
+ },
865
+ {
866
+ "name": "31",
867
+ "description": "3.1rem"
868
+ },
869
+ {
870
+ "name": "32",
871
+ "description": "3.2rem"
872
+ },
873
+ {
874
+ "name": "33",
875
+ "description": "3.3rem"
876
+ },
877
+ {
878
+ "name": "34",
879
+ "description": "3.4rem"
880
+ },
881
+ {
882
+ "name": "35",
883
+ "description": "3.5rem"
884
+ },
885
+ {
886
+ "name": "36",
887
+ "description": "3.6rem"
888
+ },
889
+ {
890
+ "name": "37",
891
+ "description": "3.7rem"
892
+ },
893
+ {
894
+ "name": "38",
895
+ "description": "3.8rem"
896
+ },
897
+ {
898
+ "name": "39",
899
+ "description": "3.9rem"
900
+ },
901
+ {
902
+ "name": "40",
903
+ "description": "4rem"
904
+ },
905
+ {
906
+ "name": "41",
907
+ "description": "4.1rem"
908
+ },
909
+ {
910
+ "name": "42",
911
+ "description": "4.2rem"
912
+ },
913
+ {
914
+ "name": "43",
915
+ "description": "4.3rem"
916
+ },
917
+ {
918
+ "name": "44",
919
+ "description": "4.4rem"
920
+ },
921
+ {
922
+ "name": "45",
923
+ "description": "4.5rem"
924
+ },
925
+ {
926
+ "name": "46",
927
+ "description": "4.6rem"
928
+ },
929
+ {
930
+ "name": "47",
931
+ "description": "4.7rem"
932
+ },
933
+ {
934
+ "name": "48",
935
+ "description": "4.8rem"
936
+ },
937
+ {
938
+ "name": "49",
939
+ "description": "4.9rem"
940
+ },
941
+ {
942
+ "name": "50",
943
+ "description": "5rem"
758
944
  }
759
945
  ]
760
946
  },
@@ -825,61 +1011,299 @@
825
1011
  ]
826
1012
  },
827
1013
  {
828
- "name": "alignmentSet",
1014
+ "name": "inlineSet",
829
1015
  "values": [
830
1016
  {
831
1017
  "name": "leading",
832
- "description": "start cross-axis alignment"
1018
+ "description": "Applies `justify-items: start; justify-content: start;` rules"
1019
+ },
1020
+ {
1021
+ "name": "leading fill",
1022
+ "description": "Applies `justify-items: start; justify-content: stretch;` rules"
833
1023
  },
834
1024
  {
835
1025
  "name": "center",
836
- "description": "center cross-axis alignment"
1026
+ "description": "Applies `justify-items: center; justify-content: center;` rules"
837
1027
  },
838
1028
  {
839
1029
  "name": "trailing",
840
- "description": "end cross-axis alignment"
1030
+ "description": "Applies `justify-items: end; justify-content: end;` rules"
841
1031
  },
842
1032
  {
843
1033
  "name": "fill",
844
- "description": "stretch cross-axis alignment"
1034
+ "description": "Applies `justify-items: stretch; justify-content: stretch;` rules"
1035
+ },
1036
+ {
1037
+ "name": "space-between",
1038
+ "description": "Applies `justify-content: space-between;` rules"
845
1039
  }
846
1040
  ]
847
1041
  },
848
1042
  {
849
- "name": "distributionSet",
1043
+ "name": "blockSet",
850
1044
  "values": [
851
1045
  {
852
1046
  "name": "leading",
853
- "description": "start cross-axis distribution"
1047
+ "description": "Applies `align-items: start; align-content: start;` rules"
1048
+ },
1049
+ {
1050
+ "name": "leading fill",
1051
+ "description": "Applies `align-items: start; align-content: stretch;` rules"
854
1052
  },
855
1053
  {
856
1054
  "name": "center",
857
- "description": "center cross-axis distribution"
1055
+ "description": "Applies `align-items: center; align-content: center;` rules"
858
1056
  },
859
1057
  {
860
1058
  "name": "trailing",
861
- "description": "end cross-axis distribution"
1059
+ "description": "Applies `align-items: end; align-content: end;` rules"
862
1060
  },
863
1061
  {
864
1062
  "name": "fill",
865
- "description": "stretch cross-axis distribution"
1063
+ "description": "Applies `align-items: stretch; align-content: stretch;` rules"
1064
+ },
1065
+ {
1066
+ "name": "space-between",
1067
+ "description": "Applies `align-content: space-between;` rules"
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ "name": "inlinePlacementSet",
1073
+ "values": [
1074
+ {
1075
+ "name": "fill",
1076
+ "description": "Applies `place-items: stretch; place-content: stretch;` rules"
1077
+ },
1078
+ {
1079
+ "name": "leading fill",
1080
+ "description": "Applies `place-items: stretch start; place-content: stretch start;` rules"
1081
+ },
1082
+ {
1083
+ "name": "fill leading",
1084
+ "description": "Applies `place-items: start stretch; place-content: start stretch;` rules"
1085
+ },
1086
+ {
1087
+ "name": "fill space-between",
1088
+ "description": "Applies `align-content: space-between; justify-items: stretch; justify-content: stretch;` rules"
866
1089
  }
867
1090
  ]
868
1091
  },
869
1092
  {
870
- "name": "placementSet",
1093
+ "name": "blockPlacementSet",
871
1094
  "values": [
872
1095
  {
873
1096
  "name": "fill",
874
- "description": "short cut for `distribution=\"fill\" alignment=\"fill\"`"
1097
+ "description": "Applies `place-items: stretch; place-content: stretch;` rules"
875
1098
  },
876
1099
  {
877
1100
  "name": "leading fill",
878
- "description": "short cut for `distribution=\"leading\" alignment=\"fill\"`"
1101
+ "description": "Applies `place-items: start stretch; place-content: start stretch;` rules"
879
1102
  },
880
1103
  {
881
1104
  "name": "fill leading",
882
- "description": "short cut for `distribution=\"fill\" alignment=\"leading\"`"
1105
+ "description": "Applies `place-items: stretch start; place-content: stretch start;` rules"
1106
+ },
1107
+ {
1108
+ "name": "space-between fill",
1109
+ "description": "Applies `align-content: space-between; justify-items: stretch; justify-content: stretch;` rules"
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "name": "templateSet",
1115
+ "values": [
1116
+ {
1117
+ "name": "spacer",
1118
+ "description": "Applies a `minmax(0, 1fr)` grid-template to the main-axis"
1119
+ },
1120
+ {
1121
+ "name": "repeat(1,spacer)",
1122
+ "description": "Applies a `repeat(1, minmax(0, 1fr))` grid-template to the main-axis"
1123
+ },
1124
+ {
1125
+ "name": "repeat(2,spacer)",
1126
+ "description": "Applies a `repeat(2, minmax(0, 1fr))` grid-template to the main-axis"
1127
+ },
1128
+ {
1129
+ "name": "repeat(3,spacer)",
1130
+ "description": "Applies a `repeat(3, minmax(0, 1fr))` grid-template to the main-axis"
1131
+ },
1132
+ {
1133
+ "name": "repeat(4,spacer)",
1134
+ "description": "Applies a `repeat(4, minmax(0, 1fr))` grid-template to the main-axis"
1135
+ },
1136
+ {
1137
+ "name": "repeat(5,spacer)",
1138
+ "description": "Applies a `repeat(5, minmax(0, 1fr))` grid-template to the main-axis"
1139
+ },
1140
+ {
1141
+ "name": "repeat(6,spacer)",
1142
+ "description": "Applies a `repeat(6, minmax(0, 1fr))` grid-template to the main-axis"
1143
+ },
1144
+ {
1145
+ "name": "repeat(7,spacer)",
1146
+ "description": "Applies a `repeat(7, minmax(0, 1fr))` grid-template to the main-axis"
1147
+ },
1148
+ {
1149
+ "name": "repeat(8,spacer)",
1150
+ "description": "Applies a `repeat(8, minmax(0, 1fr))` grid-template to the main-axis"
1151
+ },
1152
+ {
1153
+ "name": "repeat(9,spacer)",
1154
+ "description": "Applies a `repeat(9, minmax(0, 1fr))` grid-template to the main-axis"
1155
+ },
1156
+ {
1157
+ "name": "repeat(10,spacer)",
1158
+ "description": "Applies a `repeat(10, minmax(0, 1fr))` grid-template to the main-axis"
1159
+ },
1160
+ {
1161
+ "name": "spacer auto",
1162
+ "description": "Applies a `minmax(0, 1fr) auto` grid-template to the main-axis"
1163
+ },
1164
+ {
1165
+ "name": "repeat(1,spacer) auto",
1166
+ "description": "Applies a `repeat(1, minmax(0, 1fr)) auto` grid-template to the main-axis"
1167
+ },
1168
+ {
1169
+ "name": "repeat(2,spacer) auto",
1170
+ "description": "Applies a `repeat(2, minmax(0, 1fr)) auto` grid-template to the main-axis"
1171
+ },
1172
+ {
1173
+ "name": "repeat(3,spacer) auto",
1174
+ "description": "Applies a `repeat(3, minmax(0, 1fr)) auto` grid-template to the main-axis"
1175
+ },
1176
+ {
1177
+ "name": "repeat(4,spacer) auto",
1178
+ "description": "Applies a `repeat(4, minmax(0, 1fr)) auto` grid-template to the main-axis"
1179
+ },
1180
+ {
1181
+ "name": "repeat(5,spacer) auto",
1182
+ "description": "Applies a `repeat(5, minmax(0, 1fr)) auto` grid-template to the main-axis"
1183
+ },
1184
+ {
1185
+ "name": "repeat(6,spacer) auto",
1186
+ "description": "Applies a `repeat(6, minmax(0, 1fr)) auto` grid-template to the main-axis"
1187
+ },
1188
+ {
1189
+ "name": "repeat(7,spacer) auto",
1190
+ "description": "Applies a `repeat(7, minmax(0, 1fr)) auto` grid-template to the main-axis"
1191
+ },
1192
+ {
1193
+ "name": "repeat(8,spacer) auto",
1194
+ "description": "Applies a `repeat(8, minmax(0, 1fr)) auto` grid-template to the main-axis"
1195
+ },
1196
+ {
1197
+ "name": "repeat(9,spacer) auto",
1198
+ "description": "Applies a `repeat(9, minmax(0, 1fr)) auto` grid-template to the main-axis"
1199
+ },
1200
+ {
1201
+ "name": "repeat(10,spacer) auto",
1202
+ "description": "Applies a `repeat(10, minmax(0, 1fr)) auto` grid-template to the main-axis"
1203
+ },
1204
+ {
1205
+ "name": "auto spacer",
1206
+ "description": "Applies a `auto minmax(0, 1fr)` grid-template to the main-axis"
1207
+ },
1208
+ {
1209
+ "name": "repeat(1,auto) spacer",
1210
+ "description": "Applies a `repeat(1, auto) minmax(0, 1fr)` grid-template to the main-axis"
1211
+ },
1212
+ {
1213
+ "name": "repeat(2,auto) spacer",
1214
+ "description": "Applies a `repeat(2, auto) minmax(0, 1fr)` grid-template to the main-axis"
1215
+ },
1216
+ {
1217
+ "name": "repeat(3,auto) spacer",
1218
+ "description": "Applies a `repeat(3, auto) minmax(0, 1fr)` grid-template to the main-axis"
1219
+ },
1220
+ {
1221
+ "name": "repeat(4,auto) spacer",
1222
+ "description": "Applies a `repeat(4, auto) minmax(0, 1fr)` grid-template to the main-axis"
1223
+ },
1224
+ {
1225
+ "name": "repeat(5,auto) spacer",
1226
+ "description": "Applies a `repeat(5, auto) minmax(0, 1fr)` grid-template to the main-axis"
1227
+ },
1228
+ {
1229
+ "name": "repeat(6,auto) spacer",
1230
+ "description": "Applies a `repeat(6, auto) minmax(0, 1fr)` grid-template to the main-axis"
1231
+ },
1232
+ {
1233
+ "name": "repeat(7,auto) spacer",
1234
+ "description": "Applies a `repeat(7, auto) minmax(0, 1fr)` grid-template to the main-axis"
1235
+ },
1236
+ {
1237
+ "name": "repeat(8,auto) spacer",
1238
+ "description": "Applies a `repeat(8, auto) minmax(0, 1fr)` grid-template to the main-axis"
1239
+ },
1240
+ {
1241
+ "name": "repeat(9,auto) spacer",
1242
+ "description": "Applies a `repeat(9, auto) minmax(0, 1fr)` grid-template to the main-axis"
1243
+ },
1244
+ {
1245
+ "name": "repeat(10,auto) spacer",
1246
+ "description": "Applies a `repeat(10, auto) minmax(0, 1fr)` grid-template to the main-axis"
1247
+ },
1248
+ {
1249
+ "name": "auto auto spacer",
1250
+ "description": "Applies a `auto auto minmax(0, 1fr)` grid-template to the main-axis"
1251
+ },
1252
+ {
1253
+ "name": "auto auto auto spacer",
1254
+ "description": "Applies a `auto auto auto minmax(0, 1fr)` grid-template to the main-axis"
1255
+ },
1256
+ {
1257
+ "name": "auto auto auto auto spacer",
1258
+ "description": "Applies a `auto auto auto auto minmax(0, 1fr)` grid-template to the main-axis"
1259
+ },
1260
+ {
1261
+ "name": "auto spacer auto",
1262
+ "description": "Applies a `auto minmax(0, 1fr) auto` grid-template to the main-axis"
1263
+ },
1264
+ {
1265
+ "name": "repeat(1,auto) spacer repeat(1,auto)",
1266
+ "description": "Applies a `repeat(1, auto) minmax(0, 1fr) repeat(1, auto)` grid-template to the main-axis"
1267
+ },
1268
+ {
1269
+ "name": "repeat(1,auto) spacer repeat(2,auto)",
1270
+ "description": "Applies a `repeat(1, auto) minmax(0, 1fr) repeat(2, auto)` grid-template to the main-axis"
1271
+ },
1272
+ {
1273
+ "name": "repeat(1,auto) spacer repeat(3,auto)",
1274
+ "description": "Applies a `repeat(1, auto) minmax(0, 1fr) repeat(3, auto)` grid-template to the main-axis"
1275
+ },
1276
+ {
1277
+ "name": "repeat(1,auto) spacer repeat(4,auto)",
1278
+ "description": "Applies a `repeat(1, auto) minmax(0, 1fr) repeat(4, auto)` grid-template to the main-axis"
1279
+ },
1280
+ {
1281
+ "name": "repeat(1,auto) spacer repeat(5,auto)",
1282
+ "description": "Applies a `repeat(1, auto) minmax(0, 1fr) repeat(5, auto)` grid-template to the main-axis"
1283
+ },
1284
+ {
1285
+ "name": "repeat(2,auto) spacer repeat(1,auto)",
1286
+ "description": "Applies a `repeat(2, auto) minmax(0, 1fr) repeat(1, auto)` grid-template to the main-axis"
1287
+ },
1288
+ {
1289
+ "name": "repeat(3,auto) spacer repeat(1,auto)",
1290
+ "description": "Applies a `repeat(3, auto) minmax(0, 1fr) repeat(1, auto)` grid-template to the main-axis"
1291
+ },
1292
+ {
1293
+ "name": "repeat(4,auto) spacer repeat(1,auto)",
1294
+ "description": "Applies a `repeat(4, auto) minmax(0, 1fr) repeat(1, auto)` grid-template to the main-axis"
1295
+ },
1296
+ {
1297
+ "name": "repeat(5,auto) spacer repeat(1,auto)",
1298
+ "description": "Applies a `repeat(5, auto) minmax(0, 1fr) repeat(1, auto)` grid-template to the main-axis"
1299
+ },
1300
+ {
1301
+ "name": "repeat(2,auto) spacer repeat(2,auto)",
1302
+ "description": "Applies a `repeat(2, auto) minmax(0, 1fr) repeat(2, auto)` grid-template to the main-axis"
1303
+ },
1304
+ {
1305
+ "name": "auto spacer auto auto",
1306
+ "description": "Applies a `auto minmax(0, 1fr) auto auto` grid-template to the main-axis"
883
1307
  }
884
1308
  ]
885
1309
  },
@@ -1,2 +0,0 @@
1
- import type { LabelView } from '../../components';
2
- export default function (label: LabelView, systemImage: string | null): void;
@@ -1,19 +0,0 @@
1
- import $ from './cash';
2
- export default function (label, systemImage) {
3
- const img = label.querySelector(':scope>[slot=icon]');
4
- // image ??= this.appendChild($(`<i slot="icon" style="line-height: 1.05"></i>`, '>1'))
5
- // image.setAttribute('class', `ph ph-${newValue}`)
6
- if (systemImage) {
7
- if (!img) {
8
- // const newImg = $(`<i slot="icon" style="line-height: 1.05" class="ph ph-${systemImage}"></i>`, '>1')
9
- const newImg = $(`<image-view slot="icon"></image-view>`, '>1');
10
- newImg.setAttribute('system-name', systemImage);
11
- // DOM manipulation last
12
- label.appendChild(newImg);
13
- }
14
- else if (systemImage !== img.getAttribute('system-name'))
15
- img.setAttribute('system-name', systemImage);
16
- }
17
- else
18
- img?.remove();
19
- }
@@ -1,2 +0,0 @@
1
- import type { LabelView } from '../../components';
2
- export default function (label: LabelView, textContent: string | null): void;
@@ -1,16 +0,0 @@
1
- import $ from './cash';
2
- export default function (label, textContent) {
3
- const span = label.querySelector(':scope>:not([slot])');
4
- if (textContent) {
5
- if (!span) {
6
- // const newSpan = $(`<span></span>`, '>1')
7
- // newSpan.textContent = title
8
- // DOM manipulation last
9
- label.appendChild(Object.assign($(`<span></span>`, '>1'), { textContent }));
10
- }
11
- else if (textContent !== span.textContent)
12
- span.textContent = textContent;
13
- }
14
- else
15
- span?.remove();
16
- }
@@ -1 +0,0 @@
1
- export default function (selector: string, template: string, container?: Element, title?: string | null, systemImage?: string | null): void;