statedict2pytree 0.4.0__py3-none-any.whl → 0.5.2__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.
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en" data-theme="light">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width" />
6
+
7
+ <title>Svelte app</title>
8
+
9
+ <link rel="stylesheet" href="/output.css" />
10
+ <script defer src="/bundle.js"></script>
11
+ </head>
12
+
13
+ <body></body>
14
+ </html>
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
2
+ ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
3
3
  */
4
4
 
5
5
  /*
@@ -508,6 +508,10 @@ html {
508
508
  -webkit-tap-highlight-color: transparent;
509
509
  }
510
510
 
511
+ * {
512
+ scrollbar-color: currentColor transparent;
513
+ }
514
+
511
515
  :root {
512
516
  color-scheme: light;
513
517
  --in: 72.06% 0.191 231.6;
@@ -750,40 +754,6 @@ html {
750
754
  --tw-contain-style: ;
751
755
  }
752
756
 
753
- .container {
754
- width: 100%;
755
- }
756
-
757
- @media (min-width: 640px) {
758
- .container {
759
- max-width: 640px;
760
- }
761
- }
762
-
763
- @media (min-width: 768px) {
764
- .container {
765
- max-width: 768px;
766
- }
767
- }
768
-
769
- @media (min-width: 1024px) {
770
- .container {
771
- max-width: 1024px;
772
- }
773
- }
774
-
775
- @media (min-width: 1280px) {
776
- .container {
777
- max-width: 1280px;
778
- }
779
- }
780
-
781
- @media (min-width: 1536px) {
782
- .container {
783
- max-width: 1536px;
784
- }
785
- }
786
-
787
757
  .avatar.placeholder > div {
788
758
  display: flex;
789
759
  align-items: center;
@@ -894,15 +864,13 @@ html {
894
864
  --glass-border-opacity: 15%;
895
865
  }
896
866
 
897
- .btn-outline.btn-secondary:hover {
898
- --tw-text-opacity: 1;
899
- color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
867
+ .btn-ghost:hover {
868
+ border-color: transparent;
900
869
  }
901
870
 
902
- @supports (color: color-mix(in oklab, black, black)) {
903
- .btn-outline.btn-secondary:hover {
904
- background-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
905
- border-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
871
+ @supports (color: oklch(0% 0 0)) {
872
+ .btn-ghost:hover {
873
+ background-color: var(--fallback-bc,oklch(var(--bc)/0.2));
906
874
  }
907
875
  }
908
876
 
@@ -973,11 +941,6 @@ html {
973
941
  margin-inline-end: -1rem;
974
942
  }
975
943
 
976
- .link {
977
- cursor: pointer;
978
- text-decoration-line: underline;
979
- }
980
-
981
944
  .menu {
982
945
  display: flex;
983
946
  flex-direction: column;
@@ -1031,6 +994,48 @@ html {
1031
994
  justify-self: end;
1032
995
  }
1033
996
 
997
+ .swap {
998
+ position: relative;
999
+ display: inline-grid;
1000
+ -webkit-user-select: none;
1001
+ -moz-user-select: none;
1002
+ 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
+ -webkit-appearance: none;
1017
+ -moz-appearance: none;
1018
+ appearance: none;
1019
+ }
1020
+
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;
1037
+ }
1038
+
1034
1039
  .toast {
1035
1040
  position: fixed;
1036
1041
  display: flex;
@@ -1060,21 +1065,12 @@ html {
1060
1065
  border-color: var(--btn-color, var(--fallback-b2));
1061
1066
  }
1062
1067
 
1063
- .btn-secondary {
1064
- --btn-color: var(--fallback-s);
1065
- }
1066
-
1067
1068
  .btn-accent {
1068
1069
  --btn-color: var(--fallback-a);
1069
1070
  }
1070
1071
  }
1071
1072
 
1072
1073
  @supports (color: color-mix(in oklab, black, black)) {
1073
- .btn-outline.btn-secondary.btn-active {
1074
- background-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
1075
- border-color: color-mix(in oklab, var(--fallback-s,oklch(var(--s)/1)) 90%, black);
1076
- }
1077
-
1078
1074
  .btn-outline.btn-accent.btn-active {
1079
1075
  background-color: color-mix(in oklab, var(--fallback-a,oklch(var(--a)/1)) 90%, black);
1080
1076
  border-color: color-mix(in oklab, var(--fallback-a,oklch(var(--a)/1)) 90%, black);
@@ -1088,21 +1084,11 @@ html {
1088
1084
  }
1089
1085
 
1090
1086
  @supports (color: oklch(0% 0 0)) {
1091
- .btn-secondary {
1092
- --btn-color: var(--s);
1093
- }
1094
-
1095
1087
  .btn-accent {
1096
1088
  --btn-color: var(--a);
1097
1089
  }
1098
1090
  }
1099
1091
 
1100
- .btn-secondary {
1101
- --tw-text-opacity: 1;
1102
- color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
1103
- outline-color: var(--fallback-s,oklch(var(--s)/1));
1104
- }
1105
-
1106
1092
  .btn-accent {
1107
1093
  --tw-text-opacity: 1;
1108
1094
  color: var(--fallback-ac,oklch(var(--ac)/var(--tw-text-opacity)));
@@ -1121,14 +1107,20 @@ html {
1121
1107
  --glass-border-opacity: 15%;
1122
1108
  }
1123
1109
 
1124
- .btn-outline.btn-secondary {
1125
- --tw-text-opacity: 1;
1126
- color: var(--fallback-s,oklch(var(--s)/var(--tw-text-opacity)));
1110
+ .btn-ghost {
1111
+ border-width: 1px;
1112
+ border-color: transparent;
1113
+ background-color: transparent;
1114
+ color: currentColor;
1115
+ --tw-shadow: 0 0 #0000;
1116
+ --tw-shadow-colored: 0 0 #0000;
1117
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1118
+ outline-color: currentColor;
1127
1119
  }
1128
1120
 
1129
- .btn-outline.btn-secondary.btn-active {
1130
- --tw-text-opacity: 1;
1131
- color: var(--fallback-sc,oklch(var(--sc)/var(--tw-text-opacity)));
1121
+ .btn-ghost.btn-active {
1122
+ border-color: transparent;
1123
+ background-color: var(--fallback-bc,oklch(var(--bc)/0.2));
1132
1124
  }
1133
1125
 
1134
1126
  .btn-outline.btn-accent {
@@ -1263,16 +1255,6 @@ html {
1263
1255
  text-align: inherit;
1264
1256
  }
1265
1257
 
1266
- .link:focus {
1267
- outline: 2px solid transparent;
1268
- outline-offset: 2px;
1269
- }
1270
-
1271
- .link:focus-visible {
1272
- outline: 2px solid currentColor;
1273
- outline-offset: 2px;
1274
- }
1275
-
1276
1258
  :where(.menu li:empty) {
1277
1259
  --tw-bg-opacity: 1;
1278
1260
  background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
@@ -1552,162 +1534,114 @@ html {
1552
1534
  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));
1553
1535
  }
1554
1536
 
1555
- .tooltip {
1556
- position: relative;
1557
- display: inline-block;
1558
- --tooltip-offset: calc(100% + 1px + var(--tooltip-tail, 0px));
1537
+ .mx-auto {
1538
+ margin-left: auto;
1539
+ margin-right: auto;
1559
1540
  }
1560
1541
 
1561
- .tooltip:before {
1562
- position: absolute;
1563
- pointer-events: none;
1564
- z-index: 1;
1565
- content: var(--tw-content);
1566
- --tw-content: attr(data-tip);
1542
+ .my-12 {
1543
+ margin-top: 3rem;
1544
+ margin-bottom: 3rem;
1567
1545
  }
1568
1546
 
1569
- .tooltip:before, .tooltip-top:before {
1570
- transform: translateX(-50%);
1571
- top: auto;
1572
- left: 50%;
1573
- right: auto;
1574
- bottom: var(--tooltip-offset);
1547
+ .my-2 {
1548
+ margin-top: 0.5rem;
1549
+ margin-bottom: 0.5rem;
1575
1550
  }
1576
1551
 
1577
- .tooltip {
1578
- position: relative;
1579
- display: inline-block;
1580
- text-align: center;
1581
- --tooltip-tail: 0.1875rem;
1582
- --tooltip-color: var(--fallback-n,oklch(var(--n)/1));
1583
- --tooltip-text-color: var(--fallback-nc,oklch(var(--nc)/1));
1584
- --tooltip-tail-offset: calc(100% + 0.0625rem - var(--tooltip-tail));
1552
+ .my-auto {
1553
+ margin-top: auto;
1554
+ margin-bottom: auto;
1585
1555
  }
1586
1556
 
1587
- .tooltip:before,
1588
- .tooltip:after {
1589
- opacity: 0;
1590
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
1591
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1592
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1593
- transition-delay: 100ms;
1594
- transition-duration: 200ms;
1595
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1557
+ .mx-2 {
1558
+ margin-left: 0.5rem;
1559
+ margin-right: 0.5rem;
1596
1560
  }
1597
1561
 
1598
- .tooltip:after {
1599
- position: absolute;
1600
- content: "";
1601
- border-style: solid;
1602
- border-width: var(--tooltip-tail, 0);
1603
- width: 0;
1604
- height: 0;
1605
- display: block;
1562
+ .flex {
1563
+ display: flex;
1606
1564
  }
1607
1565
 
1608
- .tooltip:before {
1609
- max-width: 20rem;
1610
- border-radius: 0.25rem;
1611
- padding-left: 0.5rem;
1612
- padding-right: 0.5rem;
1613
- padding-top: 0.25rem;
1614
- padding-bottom: 0.25rem;
1615
- font-size: 0.875rem;
1616
- line-height: 1.25rem;
1617
- background-color: var(--tooltip-color);
1618
- color: var(--tooltip-text-color);
1619
- width: -moz-max-content;
1620
- width: max-content;
1566
+ .grid {
1567
+ display: grid;
1621
1568
  }
1622
1569
 
1623
- .tooltip.tooltip-open:before {
1624
- opacity: 1;
1625
- transition-delay: 75ms;
1570
+ .hidden {
1571
+ display: none;
1626
1572
  }
1627
1573
 
1628
- .tooltip.tooltip-open:after {
1629
- opacity: 1;
1630
- transition-delay: 75ms;
1574
+ .h-8 {
1575
+ height: 2rem;
1631
1576
  }
1632
1577
 
1633
- .tooltip:hover:before {
1634
- opacity: 1;
1635
- transition-delay: 75ms;
1578
+ .h-12 {
1579
+ height: 3rem;
1636
1580
  }
1637
1581
 
1638
- .tooltip:hover:after {
1639
- opacity: 1;
1640
- transition-delay: 75ms;
1582
+ .w-full {
1583
+ width: 100%;
1641
1584
  }
1642
1585
 
1643
- .tooltip:has(:focus-visible):after,
1644
- .tooltip:has(:focus-visible):before {
1645
- opacity: 1;
1646
- transition-delay: 75ms;
1586
+ .flex-1 {
1587
+ flex: 1 1 0%;
1647
1588
  }
1648
1589
 
1649
- .tooltip:not([data-tip]):hover:before,
1650
- .tooltip:not([data-tip]):hover:after {
1651
- visibility: hidden;
1652
- opacity: 0;
1590
+ .cursor-pointer {
1591
+ cursor: pointer;
1653
1592
  }
1654
1593
 
1655
- .tooltip:after, .tooltip-top:after {
1656
- transform: translateX(-50%);
1657
- border-color: var(--tooltip-color) transparent transparent transparent;
1658
- top: auto;
1659
- left: 50%;
1660
- right: auto;
1661
- bottom: var(--tooltip-tail-offset);
1594
+ .grid-cols-2 {
1595
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1662
1596
  }
1663
1597
 
1664
- .static {
1665
- position: static;
1598
+ .flex-col {
1599
+ flex-direction: column;
1666
1600
  }
1667
1601
 
1668
- .mx-auto {
1669
- margin-left: auto;
1670
- margin-right: auto;
1602
+ .justify-center {
1603
+ justify-content: center;
1671
1604
  }
1672
1605
 
1673
- .my-12 {
1674
- margin-top: 3rem;
1675
- margin-bottom: 3rem;
1606
+ .gap-x-2 {
1607
+ -moz-column-gap: 0.5rem;
1608
+ column-gap: 0.5rem;
1676
1609
  }
1677
1610
 
1678
- .my-2 {
1679
- margin-top: 0.5rem;
1680
- margin-bottom: 0.5rem;
1611
+ .space-x-2 > :not([hidden]) ~ :not([hidden]) {
1612
+ --tw-space-x-reverse: 0;
1613
+ margin-right: calc(0.5rem * var(--tw-space-x-reverse));
1614
+ margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
1681
1615
  }
1682
1616
 
1683
- .flex {
1684
- display: flex;
1617
+ .overflow-x-scroll {
1618
+ overflow-x: scroll;
1685
1619
  }
1686
1620
 
1687
- .w-10\/12 {
1688
- width: 83.333333%;
1621
+ .whitespace-nowrap {
1622
+ white-space: nowrap;
1689
1623
  }
1690
1624
 
1691
- .w-full {
1692
- width: 100%;
1625
+ .rounded {
1626
+ border-radius: 0.25rem;
1693
1627
  }
1694
1628
 
1695
- .flex-col {
1696
- flex-direction: column;
1629
+ .rounded-xl {
1630
+ border-radius: 0.75rem;
1697
1631
  }
1698
1632
 
1699
- .justify-center {
1700
- justify-content: center;
1633
+ .border {
1634
+ border-width: 1px;
1701
1635
  }
1702
1636
 
1703
- .space-x-4 > :not([hidden]) ~ :not([hidden]) {
1704
- --tw-space-x-reverse: 0;
1705
- margin-right: calc(1rem * var(--tw-space-x-reverse));
1706
- margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
1637
+ .bg-accent {
1638
+ --tw-bg-opacity: 1;
1639
+ background-color: var(--fallback-a,oklch(var(--a)/var(--tw-bg-opacity)));
1707
1640
  }
1708
1641
 
1709
- .rounded-box {
1710
- border-radius: var(--rounded-box, 1rem);
1642
+ .bg-blue-400 {
1643
+ --tw-bg-opacity: 1;
1644
+ background-color: rgb(96 165 250 / var(--tw-bg-opacity));
1711
1645
  }
1712
1646
 
1713
1647
  .bg-base-200 {
@@ -1715,8 +1649,14 @@ html {
1715
1649
  background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
1716
1650
  }
1717
1651
 
1718
- .text-left {
1719
- text-align: left;
1652
+ .bg-error {
1653
+ --tw-bg-opacity: 1;
1654
+ background-color: var(--fallback-er,oklch(var(--er)/var(--tw-bg-opacity)));
1655
+ }
1656
+
1657
+ .text-4xl {
1658
+ font-size: 2.25rem;
1659
+ line-height: 2.5rem;
1720
1660
  }
1721
1661
 
1722
1662
  .text-2xl {
@@ -1728,7 +1668,3 @@ html {
1728
1668
  font-size: 1.875rem;
1729
1669
  line-height: 2.25rem;
1730
1670
  }
1731
-
1732
- .ease-in-out {
1733
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1734
- }
@@ -0,0 +1,44 @@
1
+ import svelte from "rollup-plugin-svelte";
2
+ import { nodeResolve } from "@rollup/plugin-node-resolve";
3
+ import commonjs from "@rollup/plugin-commonjs";
4
+ import livereload from "rollup-plugin-livereload";
5
+ import terser from "@rollup/plugin-terser";
6
+ import { sveltePreprocess } from "svelte-preprocess";
7
+ import typescript from "@rollup/plugin-typescript";
8
+
9
+ const production = !process.env.ROLLUP_WATCH;
10
+
11
+ export default {
12
+ input: "src/main.js",
13
+ output: {
14
+ sourcemap: true,
15
+ format: "iife",
16
+ name: "app",
17
+ file: "public/bundle.js",
18
+ },
19
+ plugins: [
20
+ svelte({
21
+ compilerOptions: {
22
+ dev: !production,
23
+ css: (css) => {
24
+ css.write("public/bundle.css");
25
+ },
26
+ },
27
+ preprocess: sveltePreprocess(),
28
+ }),
29
+
30
+ typescript({ sourceMap: !production }),
31
+ nodeResolve({
32
+ browser: true,
33
+ dedupe: (importee) =>
34
+ importee === "svelte" || importee.startsWith("svelte/"),
35
+ }),
36
+ commonjs(),
37
+
38
+ !production && livereload("public"),
39
+ production && terser(),
40
+ ],
41
+ watch: {
42
+ clearScreen: false,
43
+ },
44
+ };