ywana-core8 0.0.238 → 0.0.242
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/__reactpreview__/Wrapper.tsx +16 -7
- package/dist/index.cjs +319 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +364 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +318 -7
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +321 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -1
- package/src/html/header.css +2 -1
- package/src/html/index.js +1 -1
- package/src/html/textarea.css +158 -0
- package/src/html/textfield.css +7 -2
- package/src/html/textfield.js +57 -3
- package/src/html/textfield.test.js +21 -0
- package/src/site/page.css +1 -0
- package/src/site/site.css +1 -0
- package/src/widgets/index.js +2 -1
- package/src/widgets/kanban/Kanban.test.js +18 -0
- package/src/widgets/planner/Planner.css +179 -0
- package/src/widgets/planner/Planner.js +208 -0
- package/src/widgets/planner/Planner.test.js +25 -0
package/dist/index.css
CHANGED
@@ -297,6 +297,7 @@ input:checked ~ .checkmark:after {
|
|
297
297
|
align-items: center;
|
298
298
|
background-repeat: no-repeat;
|
299
299
|
background-size: cover;
|
300
|
+
overflow: visible;
|
300
301
|
}
|
301
302
|
|
302
303
|
.header>.icon .header>img {
|
@@ -343,7 +344,7 @@ input:checked ~ .checkmark:after {
|
|
343
344
|
display: flex;
|
344
345
|
flex-direction: row-reverse;
|
345
346
|
align-items: center;
|
346
|
-
overflow:
|
347
|
+
overflow: visible;
|
347
348
|
}
|
348
349
|
|
349
350
|
.header.primary {
|
@@ -754,11 +755,16 @@ input:checked ~ .checkmark:after {
|
|
754
755
|
|
755
756
|
.textfield>.icon {
|
756
757
|
position: absolute;
|
757
|
-
top: 1.
|
758
|
+
top: 1.5rem;
|
758
759
|
right: .2rem;
|
759
760
|
color: rgba(150,150,150,1);
|
760
761
|
}
|
761
762
|
|
763
|
+
.textfield-date>.icon,
|
764
|
+
.textfield-DATE>.icon {
|
765
|
+
right: 2.5rem;
|
766
|
+
}
|
767
|
+
|
762
768
|
.textfield > label {
|
763
769
|
color: var(--primary-color);
|
764
770
|
font-size: .9rem;
|
@@ -853,7 +859,176 @@ input:read-only ~ label,
|
|
853
859
|
}
|
854
860
|
|
855
861
|
.dropdown>menu {
|
856
|
-
z-index:
|
862
|
+
z-index: 11;
|
863
|
+
position: absolute;
|
864
|
+
top: 3.8rem;
|
865
|
+
left: 0px;
|
866
|
+
right: 0px;
|
867
|
+
margin: 0;
|
868
|
+
border: solid 1px var(--divider-color);
|
869
|
+
color: var(--text-color);
|
870
|
+
background-color: var(--paper-color);
|
871
|
+
padding: 0;
|
872
|
+
max-height: 20rem;
|
873
|
+
overflow: auto;
|
874
|
+
}
|
875
|
+
|
876
|
+
.dropdown>menu ul {
|
877
|
+
list-style: none;
|
878
|
+
margin: 0;
|
879
|
+
padding: .5rem 0;
|
880
|
+
cursor: pointer;
|
881
|
+
}
|
882
|
+
|
883
|
+
.dropdown>menu li {
|
884
|
+
min-height: 2rem;
|
885
|
+
padding: 0 .5rem;
|
886
|
+
display: flex;
|
887
|
+
align-items: center;
|
888
|
+
font-size: .9rem;
|
889
|
+
}
|
890
|
+
|
891
|
+
.dropdown>menu li:hover {
|
892
|
+
background-color: var(--primary-color-lighter);
|
893
|
+
}
|
894
|
+
|
895
|
+
.textarea {
|
896
|
+
flex: 1;
|
897
|
+
position: relative;
|
898
|
+
padding-top: 1.5rem;
|
899
|
+
overflow: hidden;
|
900
|
+
display: flex;
|
901
|
+
min-height: 3.5;
|
902
|
+
}
|
903
|
+
|
904
|
+
.textarea.no-label {
|
905
|
+
padding-top: .5rem;
|
906
|
+
padding-bottom: .5rem;
|
907
|
+
}
|
908
|
+
|
909
|
+
.textarea > textarea {
|
910
|
+
flex: 1;
|
911
|
+
padding: 10px 10px 10px .5rem;
|
912
|
+
display: block;
|
913
|
+
border: none;
|
914
|
+
border-bottom: 1px solid var(--divider-color);
|
915
|
+
overflow: hidden;
|
916
|
+
font-size: 1rem;
|
917
|
+
color: var(--text-color);
|
918
|
+
background-color: var(--paper-color);
|
919
|
+
}
|
920
|
+
|
921
|
+
.textarea > textarea:focus {
|
922
|
+
outline: none;
|
923
|
+
}
|
924
|
+
|
925
|
+
.textarea>.icon {
|
926
|
+
position: absolute;
|
927
|
+
top: 1.5rem;
|
928
|
+
right: .2rem;
|
929
|
+
color: rgba(150,150,150,1);
|
930
|
+
}
|
931
|
+
|
932
|
+
.textarea-date>.icon,
|
933
|
+
.textarea-DATE>.icon {
|
934
|
+
right: 2.5rem;
|
935
|
+
}
|
936
|
+
|
937
|
+
.textarea > label {
|
938
|
+
color: var(--primary-color);
|
939
|
+
font-size: .9rem;
|
940
|
+
font-weight: normal;
|
941
|
+
position: absolute;
|
942
|
+
pointer-events: none;
|
943
|
+
left: .4rem;
|
944
|
+
top: 2rem;
|
945
|
+
transition: 0.2s ease all;
|
946
|
+
-moz-transition: 0.2s ease all;
|
947
|
+
-webkit-transition: 0.2s ease all;
|
948
|
+
}
|
949
|
+
|
950
|
+
textarea:-moz-read-only {
|
951
|
+
background-color: rgba(200,200,200,.1);
|
952
|
+
border: 0px !important;
|
953
|
+
}
|
954
|
+
|
955
|
+
textarea:read-only {
|
956
|
+
background-color: rgba(200,200,200,.1);
|
957
|
+
border: 0px !important;
|
958
|
+
}
|
959
|
+
|
960
|
+
.textarea textarea[type="date"] ~ label {
|
961
|
+
top: .3rem;
|
962
|
+
font-size: .8rem;
|
963
|
+
color: var(--primary-color);
|
964
|
+
}
|
965
|
+
|
966
|
+
/* active state */
|
967
|
+
textarea:-moz-read-only ~ label {
|
968
|
+
top: .3rem;
|
969
|
+
font-size: .8rem;
|
970
|
+
color: var(--primary-color);
|
971
|
+
}
|
972
|
+
textarea:read-only ~ label,
|
973
|
+
.textarea > textarea:focus ~ label,
|
974
|
+
.textarea > textarea:valid ~ label {
|
975
|
+
top: .3rem;
|
976
|
+
font-size: .8rem;
|
977
|
+
color: var(--primary-color);
|
978
|
+
}
|
979
|
+
|
980
|
+
.textarea > .bar {
|
981
|
+
position: relative;
|
982
|
+
display: block;
|
983
|
+
}
|
984
|
+
|
985
|
+
.textarea > .bar:before,
|
986
|
+
.textarea > .bar:after {
|
987
|
+
content: "";
|
988
|
+
height: 2px;
|
989
|
+
width: 0;
|
990
|
+
bottom: 1px;
|
991
|
+
position: absolute;
|
992
|
+
background: #5264ae;
|
993
|
+
transition: 0.2s ease all;
|
994
|
+
-moz-transition: 0.2s ease all;
|
995
|
+
-webkit-transition: 0.2s ease all;
|
996
|
+
}
|
997
|
+
|
998
|
+
.textarea > .bar:before {
|
999
|
+
left: 50%;
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
.textarea > .bar:after {
|
1003
|
+
right: 50%;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
/* active state */
|
1007
|
+
.textarea > textarea:focus ~ .bar:before,
|
1008
|
+
.textarea > textarea:focus ~ .bar:after {
|
1009
|
+
width: 50%;
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
.dropdown {
|
1013
|
+
position: relative;
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
.dropdown>.icon {
|
1017
|
+
position: absolute;
|
1018
|
+
top: 1.7rem;
|
1019
|
+
right: .2rem;
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
.dropdown>.textarea>.icon,
|
1023
|
+
.dropdown>.textarea-outlined>.icon {
|
1024
|
+
position: absolute;
|
1025
|
+
top: 1.7rem;
|
1026
|
+
right: 2rem;
|
1027
|
+
color: rgba(150,150,150,1);
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
.dropdown>menu {
|
1031
|
+
z-index: 11;
|
857
1032
|
position: absolute;
|
858
1033
|
top: 3.8rem;
|
859
1034
|
left: 0px;
|
@@ -1438,6 +1613,190 @@ details[open].tree-node>summary::before {
|
|
1438
1613
|
justify-content: center;
|
1439
1614
|
align-items: center;
|
1440
1615
|
}
|
1616
|
+
.planner-box {
|
1617
|
+
flex:1;
|
1618
|
+
display: flex;
|
1619
|
+
flex-direction: column;
|
1620
|
+
overflow: hidden;
|
1621
|
+
border: solid 1px var(--divider-color);
|
1622
|
+
}
|
1623
|
+
|
1624
|
+
.planner-box > header > label {
|
1625
|
+
min-width:13rem;
|
1626
|
+
}
|
1627
|
+
|
1628
|
+
.planner {
|
1629
|
+
flex: 1;
|
1630
|
+
display: flex;
|
1631
|
+
height: 70rem;
|
1632
|
+
overflow-y: auto;
|
1633
|
+
margin: 1rem;
|
1634
|
+
|
1635
|
+
--row-height: 8rem;
|
1636
|
+
--column-width: 14rem;
|
1637
|
+
}
|
1638
|
+
|
1639
|
+
.planner > .column0 {
|
1640
|
+
position: -webkit-sticky;
|
1641
|
+
position: sticky;
|
1642
|
+
left: 0px;
|
1643
|
+
z-index: 11;
|
1644
|
+
background-color: var(--paper-color);
|
1645
|
+
width: var(--column-width);
|
1646
|
+
border-right: solid 1px var(--divider-color);
|
1647
|
+
}
|
1648
|
+
|
1649
|
+
.column-header {
|
1650
|
+
width: var(--column-width);
|
1651
|
+
background-color: var(--paper-color);
|
1652
|
+
height: 2.6rem;
|
1653
|
+
}
|
1654
|
+
|
1655
|
+
.date-header {
|
1656
|
+
display: flex;
|
1657
|
+
padding: 0.5rem 1rem;
|
1658
|
+
align-items: baseline;
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
.weekend {
|
1662
|
+
background-color: rgb(245, 245, 245);
|
1663
|
+
}
|
1664
|
+
|
1665
|
+
.month-header {
|
1666
|
+
padding: 0.5rem 1rem;
|
1667
|
+
border-top: solid 1px var(--divider-color);
|
1668
|
+
}
|
1669
|
+
|
1670
|
+
.month-header>* {
|
1671
|
+
display: none
|
1672
|
+
}
|
1673
|
+
|
1674
|
+
.month-header.first {
|
1675
|
+
border-left: solid 1px var(--divider-color);
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
.month-header.first>* {
|
1679
|
+
display: block
|
1680
|
+
}
|
1681
|
+
|
1682
|
+
.column0 > .column-header {
|
1683
|
+
position: -webkit-sticky;
|
1684
|
+
position: sticky;
|
1685
|
+
top: 0px;
|
1686
|
+
height: 6rem;
|
1687
|
+
border-bottom: solid 1px var(--divider-color);
|
1688
|
+
border-right: solid 1px var(--divider-color);
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
.row-header {
|
1692
|
+
width: var(--column-width);
|
1693
|
+
height: var(--row-height);
|
1694
|
+
border-bottom: solid 1px var(--divider-color);
|
1695
|
+
display: flex;
|
1696
|
+
justify-content: center;
|
1697
|
+
align-items: center;
|
1698
|
+
}
|
1699
|
+
|
1700
|
+
.planner > .rows {
|
1701
|
+
flex: 1;
|
1702
|
+
}
|
1703
|
+
|
1704
|
+
.planner .row {
|
1705
|
+
height: var(--row-height);
|
1706
|
+
border-bottom: solid 1px var(--divider-color);
|
1707
|
+
display: flex;
|
1708
|
+
}
|
1709
|
+
|
1710
|
+
.planner .row0 {
|
1711
|
+
position: -webkit-sticky;
|
1712
|
+
position: sticky;
|
1713
|
+
top: 0px;
|
1714
|
+
z-index: 10;
|
1715
|
+
height: 3rem;
|
1716
|
+
background-color: var(--paper-color);
|
1717
|
+
border-bottom: solid 1px var(--divider-color);
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
.planner .row1 {
|
1721
|
+
position: -webkit-sticky;
|
1722
|
+
position: sticky;
|
1723
|
+
top: 3rem;
|
1724
|
+
z-index: 10;
|
1725
|
+
height: 3rem;
|
1726
|
+
background-color: var(--paper-color);
|
1727
|
+
border-bottom: solid 1px var(--divider-color);
|
1728
|
+
}
|
1729
|
+
|
1730
|
+
.planner .cell {
|
1731
|
+
width: var(--column-width);
|
1732
|
+
height: 100%;
|
1733
|
+
padding: 0.5rem;
|
1734
|
+
display: flex;
|
1735
|
+
justify-content: center;
|
1736
|
+
align-items: center;
|
1737
|
+
border-right: dotted 1px var(--divider-color);
|
1738
|
+
}
|
1739
|
+
|
1740
|
+
.photoshoot-icon {
|
1741
|
+
border: solid 0px var(--divider-color);
|
1742
|
+
border-radius: 4px;
|
1743
|
+
flex: 1;
|
1744
|
+
height: 100%;
|
1745
|
+
padding: 0.5rem;
|
1746
|
+
display: flex;
|
1747
|
+
justify-content: center;
|
1748
|
+
align-items: center;
|
1749
|
+
color: rgba(200, 200, 200, 0.5);
|
1750
|
+
}
|
1751
|
+
|
1752
|
+
.photoshoot-icon.dragOver {
|
1753
|
+
background-color: rgba(225,225,250);
|
1754
|
+
}
|
1755
|
+
|
1756
|
+
.photoshoot-card {
|
1757
|
+
border: solid 1px var(--divider-color);
|
1758
|
+
border-radius: 4px;
|
1759
|
+
flex: 1;
|
1760
|
+
width: 100%;
|
1761
|
+
height: 100%;
|
1762
|
+
display: flex;
|
1763
|
+
flex-direction: column;
|
1764
|
+
overflow: hidden;
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
.photoshoot-card > * {
|
1768
|
+
background-color: #FFF;
|
1769
|
+
opacity: .8;
|
1770
|
+
}
|
1771
|
+
|
1772
|
+
.photoshoot-card > header {
|
1773
|
+
padding: 0 0.5rem ;
|
1774
|
+
|
1775
|
+
}
|
1776
|
+
|
1777
|
+
.photoshoot-card > main {
|
1778
|
+
padding: 0 0.5rem ;
|
1779
|
+
flex: 1;
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
.photoshoot-card > footer {
|
1783
|
+
display: flex;
|
1784
|
+
}
|
1785
|
+
|
1786
|
+
.photoshoot-card.disabled {
|
1787
|
+
opacity: 0.3;
|
1788
|
+
}
|
1789
|
+
|
1790
|
+
.photoshoot-card:hover {
|
1791
|
+
cursor: pointer;
|
1792
|
+
box-shadow: var(--shadow1);
|
1793
|
+
}
|
1794
|
+
|
1795
|
+
.expand {
|
1796
|
+
flex: 1;
|
1797
|
+
}
|
1798
|
+
|
1799
|
+
|
1441
1800
|
.page6 {
|
1442
1801
|
height: 100%;
|
1443
1802
|
color: var(--text-color);
|
@@ -1451,6 +1810,7 @@ details[open].tree-node>summary::before {
|
|
1451
1810
|
color: var(--page-menu-color);
|
1452
1811
|
background-color: var(--page-menu-bgcolor);
|
1453
1812
|
border-right: solid 1px var(--divider-color);
|
1813
|
+
resize: horizontal;
|
1454
1814
|
}
|
1455
1815
|
|
1456
1816
|
.page6>header {
|
@@ -1577,6 +1937,7 @@ details[open].tree-node>summary::before {
|
|
1577
1937
|
.site6>main {
|
1578
1938
|
grid-area: main;
|
1579
1939
|
overflow: hidden;
|
1940
|
+
resize: horizontal;
|
1580
1941
|
}
|
1581
1942
|
|
1582
1943
|
.site6>aside {
|