statedict2pytree 0.5.2__py3-none-any.whl → 0.5.4__py3-none-any.whl

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.
client/public/output.css CHANGED
@@ -760,17 +760,6 @@ html {
760
760
  justify-content: center;
761
761
  }
762
762
 
763
- @media (hover:hover) {
764
- .menu li > *:not(ul, .menu-title, details, .btn):active,
765
- .menu li > *:not(ul, .menu-title, details, .btn).active,
766
- .menu li > details > summary:active {
767
- --tw-bg-opacity: 1;
768
- background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
769
- --tw-text-opacity: 1;
770
- color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)));
771
- }
772
- }
773
-
774
763
  .btn {
775
764
  display: inline-flex;
776
765
  height: 3rem;
@@ -874,6 +863,18 @@ html {
874
863
  }
875
864
  }
876
865
 
866
+ .btn-outline.btn-secondary:hover {
867
+ --tw-text-opacity: 1;
868
+ color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
869
+ }
870
+
871
+ @supports (color: color-mix(in oklab, black, black)) {
872
+ .btn-outline.btn-secondary:hover {
873
+ background-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
874
+ border-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
875
+ }
876
+ }
877
+
877
878
  .btn-outline.btn-accent:hover {
878
879
  --tw-text-opacity: 1;
879
880
  color: var(--fallback-ac,oklch(var(--ac)/var(--tw-text-opacity)));
@@ -886,6 +887,18 @@ html {
886
887
  }
887
888
  }
888
889
 
890
+ .btn-outline.btn-warning:hover {
891
+ --tw-text-opacity: 1;
892
+ color: var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)));
893
+ }
894
+
895
+ @supports (color: color-mix(in oklab, black, black)) {
896
+ .btn-outline.btn-warning:hover {
897
+ background-color: color-mix(in oklab, var(--fallback-wa,oklch(var(--wa)/1)) 90%, black);
898
+ border-color: color-mix(in oklab, var(--fallback-wa,oklch(var(--wa)/1)) 90%, black);
899
+ }
900
+ }
901
+
889
902
  .btn-disabled:hover,
890
903
  .btn[disabled]:hover,
891
904
  .btn:disabled:hover {
@@ -902,18 +915,6 @@ html {
902
915
  border-color: color-mix(in oklab, var(--fallback-p,oklch(var(--p)/1)) 90%, black);
903
916
  }
904
917
  }
905
-
906
- :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(.active, .btn):hover, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(.active, .btn):hover {
907
- cursor: pointer;
908
- outline: 2px solid transparent;
909
- outline-offset: 2px;
910
- }
911
-
912
- @supports (color: oklch(0% 0 0)) {
913
- :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(.active, .btn):hover, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(.active, .btn):hover {
914
- background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
915
- }
916
- }
917
918
  }
918
919
 
919
920
  .input {
@@ -941,99 +942,38 @@ html {
941
942
  margin-inline-end: -1rem;
942
943
  }
943
944
 
944
- .menu {
945
- display: flex;
946
- flex-direction: column;
947
- flex-wrap: wrap;
948
- font-size: 0.875rem;
949
- line-height: 1.25rem;
950
- padding: 0.5rem;
951
- }
952
-
953
- .menu :where(li ul) {
954
- position: relative;
955
- white-space: nowrap;
956
- margin-inline-start: 1rem;
957
- padding-inline-start: 0.5rem;
958
- }
959
-
960
- .menu :where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)), .menu :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
961
- display: grid;
962
- grid-auto-flow: column;
963
- align-content: flex-start;
964
- align-items: center;
965
- gap: 0.5rem;
966
- grid-auto-columns: minmax(auto, max-content) auto max-content;
967
- -webkit-user-select: none;
968
- -moz-user-select: none;
969
- user-select: none;
970
- }
971
-
972
- .menu li.disabled {
973
- cursor: not-allowed;
974
- -webkit-user-select: none;
975
- -moz-user-select: none;
976
- user-select: none;
977
- color: var(--fallback-bc,oklch(var(--bc)/0.3));
978
- }
979
-
980
- .menu :where(li > .menu-dropdown:not(.menu-dropdown-show)) {
981
- display: none;
982
- }
983
-
984
- :where(.menu li) {
985
- position: relative;
986
- display: flex;
987
- flex-shrink: 0;
988
- flex-direction: column;
989
- flex-wrap: wrap;
990
- align-items: stretch;
991
- }
992
-
993
- :where(.menu li) .badge {
994
- justify-self: end;
995
- }
996
-
997
- .swap {
998
- position: relative;
999
- display: inline-grid;
945
+ .select {
946
+ display: inline-flex;
947
+ cursor: pointer;
1000
948
  -webkit-user-select: none;
1001
949
  -moz-user-select: none;
1002
950
  user-select: none;
1003
- place-content: center;
1004
- cursor: pointer;
1005
- }
1006
-
1007
- .swap > * {
1008
- grid-column-start: 1;
1009
- grid-row-start: 1;
1010
- transition-duration: 300ms;
1011
- transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
1012
- transition-property: transform, opacity;
1013
- }
1014
-
1015
- .swap input {
1016
951
  -webkit-appearance: none;
1017
952
  -moz-appearance: none;
1018
953
  appearance: none;
954
+ height: 3rem;
955
+ min-height: 3rem;
956
+ padding-left: 1rem;
957
+ padding-right: 2.5rem;
958
+ font-size: 0.875rem;
959
+ line-height: 1.25rem;
960
+ line-height: 2;
961
+ border-radius: var(--rounded-btn, 0.5rem);
962
+ border-width: 1px;
963
+ border-color: transparent;
964
+ --tw-bg-opacity: 1;
965
+ background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
966
+ background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
967
+ linear-gradient(135deg, currentColor 50%, transparent 50%);
968
+ background-position: calc(100% - 20px) calc(1px + 50%),
969
+ calc(100% - 16.1px) calc(1px + 50%);
970
+ background-size: 4px 4px,
971
+ 4px 4px;
972
+ background-repeat: no-repeat;
1019
973
  }
1020
974
 
1021
- .swap .swap-on,
1022
- .swap .swap-indeterminate,
1023
- .swap input:indeterminate ~ .swap-on {
1024
- opacity: 0;
1025
- }
1026
-
1027
- .swap input:checked ~ .swap-off,
1028
- .swap-active .swap-off,
1029
- .swap input:indeterminate ~ .swap-off {
1030
- opacity: 0;
1031
- }
1032
-
1033
- .swap input:checked ~ .swap-on,
1034
- .swap-active .swap-on,
1035
- .swap input:indeterminate ~ .swap-indeterminate {
1036
- opacity: 1;
975
+ .select[multiple] {
976
+ height: auto;
1037
977
  }
1038
978
 
1039
979
  .toast {
@@ -1065,16 +1005,34 @@ html {
1065
1005
  border-color: var(--btn-color, var(--fallback-b2));
1066
1006
  }
1067
1007
 
1008
+ .btn-secondary {
1009
+ --btn-color: var(--fallback-s);
1010
+ }
1011
+
1068
1012
  .btn-accent {
1069
1013
  --btn-color: var(--fallback-a);
1070
1014
  }
1015
+
1016
+ .btn-warning {
1017
+ --btn-color: var(--fallback-wa);
1018
+ }
1071
1019
  }
1072
1020
 
1073
1021
  @supports (color: color-mix(in oklab, black, black)) {
1022
+ .btn-outline.btn-secondary.btn-active {
1023
+ background-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
1024
+ border-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
1025
+ }
1026
+
1074
1027
  .btn-outline.btn-accent.btn-active {
1075
1028
  background-color: color-mix(in oklab, var(--fallback-a,oklch(var(--a)/1)) 90%, black);
1076
1029
  border-color: color-mix(in oklab, var(--fallback-a,oklch(var(--a)/1)) 90%, black);
1077
1030
  }
1031
+
1032
+ .btn-outline.btn-warning.btn-active {
1033
+ background-color: color-mix(in oklab, var(--fallback-wa,oklch(var(--wa)/1)) 90%, black);
1034
+ border-color: color-mix(in oklab, var(--fallback-wa,oklch(var(--wa)/1)) 90%, black);
1035
+ }
1078
1036
  }
1079
1037
 
1080
1038
  .btn:focus-visible {
@@ -1084,9 +1042,23 @@ html {
1084
1042
  }
1085
1043
 
1086
1044
  @supports (color: oklch(0% 0 0)) {
1045
+ .btn-secondary {
1046
+ --btn-color: var(--s);
1047
+ }
1048
+
1087
1049
  .btn-accent {
1088
1050
  --btn-color: var(--a);
1089
1051
  }
1052
+
1053
+ .btn-warning {
1054
+ --btn-color: var(--wa);
1055
+ }
1056
+ }
1057
+
1058
+ .btn-secondary {
1059
+ --tw-text-opacity: 1;
1060
+ color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
1061
+ outline-color: var(--fallback-s,oklch(var(--s)/1));
1090
1062
  }
1091
1063
 
1092
1064
  .btn-accent {
@@ -1095,6 +1067,12 @@ html {
1095
1067
  outline-color: var(--fallback-a,oklch(var(--a)/1));
1096
1068
  }
1097
1069
 
1070
+ .btn-warning {
1071
+ --tw-text-opacity: 1;
1072
+ color: var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)));
1073
+ outline-color: var(--fallback-wa,oklch(var(--wa)/1));
1074
+ }
1075
+
1098
1076
  .btn.glass {
1099
1077
  --tw-shadow: 0 0 #0000;
1100
1078
  --tw-shadow-colored: 0 0 #0000;
@@ -1123,6 +1101,16 @@ html {
1123
1101
  background-color: var(--fallback-bc,oklch(var(--bc)/0.2));
1124
1102
  }
1125
1103
 
1104
+ .btn-outline.btn-secondary {
1105
+ --tw-text-opacity: 1;
1106
+ color: var(--fallback-s,oklch(var(--s)/var(--tw-text-opacity)));
1107
+ }
1108
+
1109
+ .btn-outline.btn-secondary.btn-active {
1110
+ --tw-text-opacity: 1;
1111
+ color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
1112
+ }
1113
+
1126
1114
  .btn-outline.btn-accent {
1127
1115
  --tw-text-opacity: 1;
1128
1116
  color: var(--fallback-a,oklch(var(--a)/var(--tw-text-opacity)));
@@ -1133,6 +1121,16 @@ html {
1133
1121
  color: var(--fallback-ac,oklch(var(--ac)/var(--tw-text-opacity)));
1134
1122
  }
1135
1123
 
1124
+ .btn-outline.btn-warning {
1125
+ --tw-text-opacity: 1;
1126
+ color: var(--fallback-wa,oklch(var(--wa)/var(--tw-text-opacity)));
1127
+ }
1128
+
1129
+ .btn-outline.btn-warning.btn-active {
1130
+ --tw-text-opacity: 1;
1131
+ color: var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)));
1132
+ }
1133
+
1136
1134
  .btn.btn-disabled,
1137
1135
  .btn[disabled],
1138
1136
  .btn:disabled {
@@ -1255,88 +1253,6 @@ html {
1255
1253
  text-align: inherit;
1256
1254
  }
1257
1255
 
1258
- :where(.menu li:empty) {
1259
- --tw-bg-opacity: 1;
1260
- background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
1261
- opacity: 0.1;
1262
- margin: 0.5rem 1rem;
1263
- height: 1px;
1264
- }
1265
-
1266
- .menu :where(li ul):before {
1267
- position: absolute;
1268
- bottom: 0.75rem;
1269
- inset-inline-start: 0px;
1270
- top: 0.75rem;
1271
- width: 1px;
1272
- --tw-bg-opacity: 1;
1273
- background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
1274
- opacity: 0.1;
1275
- content: "";
1276
- }
1277
-
1278
- .menu :where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)),
1279
- .menu :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
1280
- border-radius: var(--rounded-btn, 0.5rem);
1281
- padding-left: 1rem;
1282
- padding-right: 1rem;
1283
- padding-top: 0.5rem;
1284
- padding-bottom: 0.5rem;
1285
- text-align: start;
1286
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
1287
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1288
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1289
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1290
- transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
1291
- transition-duration: 200ms;
1292
- text-wrap: balance;
1293
- }
1294
-
1295
- :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(summary, .active, .btn).focus, :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):not(summary, .active, .btn):focus, :where(.menu li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title)):is(summary):not(.active, .btn):focus-visible, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(summary, .active, .btn).focus, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):not(summary, .active, .btn):focus, :where(.menu li:not(.menu-title, .disabled) > details > summary:not(.menu-title)):is(summary):not(.active, .btn):focus-visible {
1296
- cursor: pointer;
1297
- background-color: var(--fallback-bc,oklch(var(--bc)/0.1));
1298
- --tw-text-opacity: 1;
1299
- color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
1300
- outline: 2px solid transparent;
1301
- outline-offset: 2px;
1302
- }
1303
-
1304
- .menu li > *:not(ul, .menu-title, details, .btn):active,
1305
- .menu li > *:not(ul, .menu-title, details, .btn).active,
1306
- .menu li > details > summary:active {
1307
- --tw-bg-opacity: 1;
1308
- background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));
1309
- --tw-text-opacity: 1;
1310
- color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)));
1311
- }
1312
-
1313
- .menu :where(li > details > summary)::-webkit-details-marker {
1314
- display: none;
1315
- }
1316
-
1317
- .menu :where(li > details > summary):after,
1318
- .menu :where(li > .menu-dropdown-toggle):after {
1319
- justify-self: end;
1320
- display: block;
1321
- margin-top: -0.5rem;
1322
- height: 0.5rem;
1323
- width: 0.5rem;
1324
- transform: rotate(45deg);
1325
- transition-property: transform, margin-top;
1326
- transition-duration: 0.3s;
1327
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1328
- content: "";
1329
- transform-origin: 75% 75%;
1330
- box-shadow: 2px 2px;
1331
- pointer-events: none;
1332
- }
1333
-
1334
- .menu :where(li > details[open] > summary):after,
1335
- .menu :where(li > .menu-dropdown-toggle.menu-dropdown-show):after {
1336
- transform: rotate(225deg);
1337
- margin-top: 0;
1338
- }
1339
-
1340
1256
  .mockup-browser .mockup-browser-toolbar .input {
1341
1257
  position: relative;
1342
1258
  margin-left: auto;
@@ -1426,6 +1342,50 @@ html {
1426
1342
  }
1427
1343
  }
1428
1344
 
1345
+ .select:focus {
1346
+ box-shadow: none;
1347
+ border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
1348
+ outline-style: solid;
1349
+ outline-width: 2px;
1350
+ outline-offset: 2px;
1351
+ outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
1352
+ }
1353
+
1354
+ .select-disabled,
1355
+ .select:disabled,
1356
+ .select[disabled] {
1357
+ cursor: not-allowed;
1358
+ --tw-border-opacity: 1;
1359
+ border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
1360
+ --tw-bg-opacity: 1;
1361
+ background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
1362
+ color: var(--fallback-bc,oklch(var(--bc)/0.4));
1363
+ }
1364
+
1365
+ .select-disabled::-moz-placeholder, .select:disabled::-moz-placeholder, .select[disabled]::-moz-placeholder {
1366
+ color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
1367
+ --tw-placeholder-opacity: 0.2;
1368
+ }
1369
+
1370
+ .select-disabled::placeholder,
1371
+ .select:disabled::placeholder,
1372
+ .select[disabled]::placeholder {
1373
+ color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
1374
+ --tw-placeholder-opacity: 0.2;
1375
+ }
1376
+
1377
+ .select-multiple,
1378
+ .select[multiple],
1379
+ .select[size].select:not([size="1"]) {
1380
+ background-image: none;
1381
+ padding-right: 1rem;
1382
+ }
1383
+
1384
+ [dir="rtl"] .select {
1385
+ background-position: calc(0% + 12px) calc(1px + 50%),
1386
+ calc(0% + 16px) calc(1px + 50%);
1387
+ }
1388
+
1429
1389
  @keyframes skeleton {
1430
1390
  from {
1431
1391
  background-position: 150%;
@@ -1534,6 +1494,11 @@ html {
1534
1494
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1535
1495
  }
1536
1496
 
1497
+ .mx-2 {
1498
+ margin-left: 0.5rem;
1499
+ margin-right: 0.5rem;
1500
+ }
1501
+
1537
1502
  .mx-auto {
1538
1503
  margin-left: auto;
1539
1504
  margin-right: auto;
@@ -1549,16 +1514,16 @@ html {
1549
1514
  margin-bottom: 0.5rem;
1550
1515
  }
1551
1516
 
1517
+ .my-4 {
1518
+ margin-top: 1rem;
1519
+ margin-bottom: 1rem;
1520
+ }
1521
+
1552
1522
  .my-auto {
1553
1523
  margin-top: auto;
1554
1524
  margin-bottom: auto;
1555
1525
  }
1556
1526
 
1557
- .mx-2 {
1558
- margin-left: 0.5rem;
1559
- margin-right: 0.5rem;
1560
- }
1561
-
1562
1527
  .flex {
1563
1528
  display: flex;
1564
1529
  }
@@ -1567,14 +1532,6 @@ html {
1567
1532
  display: grid;
1568
1533
  }
1569
1534
 
1570
- .hidden {
1571
- display: none;
1572
- }
1573
-
1574
- .h-8 {
1575
- height: 2rem;
1576
- }
1577
-
1578
1535
  .h-12 {
1579
1536
  height: 3rem;
1580
1537
  }
@@ -1603,6 +1560,10 @@ html {
1603
1560
  justify-content: center;
1604
1561
  }
1605
1562
 
1563
+ .justify-evenly {
1564
+ justify-content: space-evenly;
1565
+ }
1566
+
1606
1567
  .gap-x-2 {
1607
1568
  -moz-column-gap: 0.5rem;
1608
1569
  column-gap: 0.5rem;
@@ -1622,10 +1583,6 @@ html {
1622
1583
  white-space: nowrap;
1623
1584
  }
1624
1585
 
1625
- .rounded {
1626
- border-radius: 0.25rem;
1627
- }
1628
-
1629
1586
  .rounded-xl {
1630
1587
  border-radius: 0.75rem;
1631
1588
  }
@@ -1644,21 +1601,11 @@ html {
1644
1601
  background-color: rgb(96 165 250 / var(--tw-bg-opacity));
1645
1602
  }
1646
1603
 
1647
- .bg-base-200 {
1648
- --tw-bg-opacity: 1;
1649
- background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
1650
- }
1651
-
1652
1604
  .bg-error {
1653
1605
  --tw-bg-opacity: 1;
1654
1606
  background-color: var(--fallback-er,oklch(var(--er)/var(--tw-bg-opacity)));
1655
1607
  }
1656
1608
 
1657
- .text-4xl {
1658
- font-size: 2.25rem;
1659
- line-height: 2.5rem;
1660
- }
1661
-
1662
1609
  .text-2xl {
1663
1610
  font-size: 1.5rem;
1664
1611
  line-height: 2rem;