@weavy/uikit-react 12.1.0 → 13.0.0
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/changelog.md +36 -0
- package/dist/cjs/index.js +28 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/client/WeavyClient.d.ts +8 -1
- package/dist/cjs/types/components/Attachment.d.ts +2 -1
- package/dist/cjs/types/components/Chat.d.ts +1 -1
- package/dist/cjs/types/components/PdfViewer.d.ts +3 -1
- package/dist/cjs/types/components/Preview.d.ts +8 -10
- package/dist/cjs/types/contexts/PreviewContext.d.ts +2 -1
- package/dist/cjs/types/contexts/WeavyContext.d.ts +2 -3
- package/dist/cjs/types/types/Chat.d.ts +1 -1
- package/dist/cjs/types/types/types.d.ts +16 -5
- package/dist/cjs/types/ui/Spinner.d.ts +9 -0
- package/dist/cjs/types/utils/fileUtilities.d.ts +1 -4
- package/dist/css/weavy-chat.css +270 -94
- package/dist/css/weavy-messenger.css +274 -96
- package/dist/css/weavy.css +274 -96
- package/dist/esm/index.js +28 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/client/WeavyClient.d.ts +8 -1
- package/dist/esm/types/components/Attachment.d.ts +2 -1
- package/dist/esm/types/components/Chat.d.ts +1 -1
- package/dist/esm/types/components/PdfViewer.d.ts +3 -1
- package/dist/esm/types/components/Preview.d.ts +8 -10
- package/dist/esm/types/contexts/PreviewContext.d.ts +2 -1
- package/dist/esm/types/contexts/WeavyContext.d.ts +2 -3
- package/dist/esm/types/types/Chat.d.ts +1 -1
- package/dist/esm/types/types/types.d.ts +16 -5
- package/dist/esm/types/ui/Spinner.d.ts +9 -0
- package/dist/esm/types/utils/fileUtilities.d.ts +1 -4
- package/dist/index.d.ts +14 -7
- package/package.json +2 -2
- package/rollup.config.js +3 -1
- package/src/client/WeavyClient.ts +105 -24
- package/src/components/Attachment.tsx +8 -7
- package/src/components/Chat.tsx +3 -3
- package/src/components/Conversation.tsx +3 -3
- package/src/components/Message.tsx +1 -1
- package/src/components/Messages.tsx +1 -1
- package/src/components/PdfViewer.tsx +88 -83
- package/src/components/Preview.tsx +115 -54
- package/src/components/SearchUsers.tsx +2 -2
- package/src/contexts/PreviewContext.tsx +90 -16
- package/src/contexts/WeavyContext.tsx +7 -4
- package/src/hooks/useBadge.ts +2 -6
- package/src/hooks/useChat.ts +3 -14
- package/src/hooks/useConversation.ts +1 -7
- package/src/hooks/useConversations.ts +1 -7
- package/src/hooks/useFileUploader.ts +6 -8
- package/src/hooks/useMembers.ts +1 -7
- package/src/hooks/useMessages.ts +1 -7
- package/src/hooks/useMutateChat.ts +6 -11
- package/src/hooks/useMutateConversation.ts +7 -10
- package/src/hooks/useMutateConversationName.ts +10 -12
- package/src/hooks/useMutateDeleteReaction.ts +3 -8
- package/src/hooks/useMutateExternalBlobs.ts +6 -11
- package/src/hooks/useMutateMeeting.ts +6 -11
- package/src/hooks/useMutateMembers.ts +8 -13
- package/src/hooks/useMutateMessage.ts +10 -15
- package/src/hooks/useMutatePinned.ts +3 -8
- package/src/hooks/useMutateReaction.ts +6 -12
- package/src/hooks/useMutateRead.ts +1 -10
- package/src/hooks/useMutateRemoveMembers.ts +7 -12
- package/src/hooks/useMutateTyping.ts +6 -11
- package/src/hooks/useSearchUsers.ts +1 -6
- package/src/hooks/useUser.ts +3 -14
- package/src/scss/theme/_appbar.scss +4 -2
- package/src/scss/theme/_cm-editor.scss +1 -1
- package/src/scss/theme/_code-vscode-dark.scss +184 -0
- package/src/scss/theme/_code-vscode-light.scss +179 -0
- package/src/scss/theme/_code.scss +9 -112
- package/src/scss/theme/_files.scss +1 -1
- package/src/scss/theme/_message-editor.scss +1 -1
- package/src/scss/theme/_overlays.scss +2 -2
- package/src/scss/theme/_panels.scss +11 -7
- package/src/scss/theme/_preview-code.scss +5 -0
- package/src/scss/theme/_preview-embed.scss +3 -3
- package/src/scss/theme/_preview-image.scss +1 -1
- package/src/scss/theme/_preview-text.scss +1 -1
- package/src/scss/theme/_preview.scss +7 -2
- package/src/scss/weavy-chat.scss +1 -0
- package/src/scss/weavy-messenger.scss +1 -0
- package/src/types/Chat.ts +1 -1
- package/src/types/types.ts +16 -5
- package/src/ui/Spinner.tsx +18 -0
- package/src/utils/fileUtilities.ts +11 -125
|
@@ -46,6 +46,8 @@
|
|
|
46
46
|
flex: 0 0 3rem;
|
|
47
47
|
grid-template-columns: minmax(2rem, max-content) minmax(0, max-content) minmax(2rem, max-content);
|
|
48
48
|
column-gap: 0.5rem;
|
|
49
|
+
font-family: var(--wy-font-sans-serif);
|
|
50
|
+
line-height: 1.5;
|
|
49
51
|
backface-visibility: hidden;
|
|
50
52
|
}
|
|
51
53
|
@supports (backdrop-filter: blur(0.5rem)) {
|
|
@@ -82,12 +84,12 @@
|
|
|
82
84
|
.wy-appbar, .wy-light .wy-appbar, .wy-appbar.wy-light {
|
|
83
85
|
background-color: rgba(242, 242, 242, 0.95);
|
|
84
86
|
color: rgba(0, 0, 0, 0.69);
|
|
85
|
-
|
|
87
|
+
box-shadow: rgba(204, 204, 204, 0.95) 0px -1px 0px 0px inset;
|
|
86
88
|
}
|
|
87
89
|
.wy-dark .wy-appbar, .wy-appbar.wy-dark {
|
|
88
90
|
background-color: rgba(41, 41, 41, 0.95);
|
|
89
91
|
color: rgba(255, 255, 255, 0.62);
|
|
90
|
-
|
|
92
|
+
box-shadow: rgba(71, 71, 71, 0.95) 0px -1px 0px 0px inset;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
.wy-footerbars {
|
|
@@ -697,105 +699,270 @@
|
|
|
697
699
|
display: inline-block;
|
|
698
700
|
}
|
|
699
701
|
|
|
700
|
-
code
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
702
|
+
:not(.wy-dark) .wy-code, .wy-code:not(.wy-dark) {
|
|
703
|
+
/*pre[class*="language-"]::-moz-selection,
|
|
704
|
+
pre[class*="language-"] ::-moz-selection,
|
|
705
|
+
code[class*="language-"]::-moz-selection,
|
|
706
|
+
code[class*="language-"] ::-moz-selection {
|
|
707
|
+
text-shadow: none;
|
|
708
|
+
background: #ffffff;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
pre[class*="language-"]::selection,
|
|
712
|
+
pre[class*="language-"] ::selection,
|
|
713
|
+
code[class*="language-"]::selection,
|
|
714
|
+
code[class*="language-"] ::selection {
|
|
715
|
+
text-shadow: none;
|
|
716
|
+
background: #ffffff;
|
|
717
|
+
}*/
|
|
718
|
+
/* Code blocks */
|
|
719
|
+
}
|
|
720
|
+
:not(.wy-dark) .wy-code code[class*=language-],
|
|
721
|
+
:not(.wy-dark) .wy-code pre[class*=language-], .wy-code:not(.wy-dark) code[class*=language-],
|
|
722
|
+
.wy-code:not(.wy-dark) pre[class*=language-] {
|
|
723
|
+
color: #000000;
|
|
724
|
+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
704
725
|
text-align: left;
|
|
705
726
|
white-space: pre;
|
|
706
727
|
word-spacing: normal;
|
|
707
728
|
word-break: normal;
|
|
729
|
+
word-wrap: normal;
|
|
708
730
|
line-height: 1.5;
|
|
731
|
+
-moz-tab-size: 4;
|
|
732
|
+
-o-tab-size: 4;
|
|
709
733
|
tab-size: 4;
|
|
734
|
+
-webkit-hyphens: none;
|
|
735
|
+
-moz-hyphens: none;
|
|
736
|
+
-ms-hyphens: none;
|
|
710
737
|
hyphens: none;
|
|
711
738
|
}
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
739
|
+
@media print {
|
|
740
|
+
:not(.wy-dark) .wy-code code[class*=language-],
|
|
741
|
+
:not(.wy-dark) .wy-code pre[class*=language-], .wy-code:not(.wy-dark) code[class*=language-],
|
|
742
|
+
.wy-code:not(.wy-dark) pre[class*=language-] {
|
|
743
|
+
text-shadow: none;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
:not(.wy-dark) .wy-code pre[class*=language-], .wy-code:not(.wy-dark) pre[class*=language-] {
|
|
747
|
+
padding: 1em;
|
|
748
|
+
margin: 0.5em 0;
|
|
718
749
|
overflow: auto;
|
|
719
750
|
}
|
|
720
|
-
|
|
721
|
-
.
|
|
722
|
-
.
|
|
723
|
-
|
|
724
|
-
|
|
751
|
+
:not(.wy-dark) .wy-code :not(pre) > code[class*=language-],
|
|
752
|
+
:not(.wy-dark) .wy-code pre[class*=language-], .wy-code:not(.wy-dark) :not(pre) > code[class*=language-],
|
|
753
|
+
.wy-code:not(.wy-dark) pre[class*=language-] {
|
|
754
|
+
color: white;
|
|
755
|
+
background: #ffffff;
|
|
756
|
+
}
|
|
757
|
+
:not(.wy-dark) .wy-code :not(pre) > code[class*=language-], .wy-code:not(.wy-dark) :not(pre) > code[class*=language-] {
|
|
758
|
+
padding: 0.1em;
|
|
759
|
+
border-radius: 0.3em;
|
|
760
|
+
white-space: normal;
|
|
761
|
+
}
|
|
762
|
+
:not(.wy-dark) .wy-code .token.comment, .wy-code:not(.wy-dark) .token.comment {
|
|
725
763
|
color: #008000;
|
|
726
|
-
font-style: italic;
|
|
727
764
|
}
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
opacity: 0.7;
|
|
765
|
+
:not(.wy-dark) .wy-code .token.builtin, .wy-code:not(.wy-dark) .token.builtin {
|
|
766
|
+
color: #0070C1;
|
|
731
767
|
}
|
|
732
|
-
|
|
733
|
-
|
|
768
|
+
:not(.wy-dark) .wy-code .token.number, .wy-code:not(.wy-dark) .token.number {
|
|
769
|
+
color: #098658;
|
|
770
|
+
}
|
|
771
|
+
:not(.wy-dark) .wy-code .token.variable, .wy-code:not(.wy-dark) .token.variable {
|
|
772
|
+
color: #098658;
|
|
773
|
+
}
|
|
774
|
+
:not(.wy-dark) .wy-code .token.inserted, .wy-code:not(.wy-dark) .token.inserted {
|
|
775
|
+
color: #098658;
|
|
776
|
+
}
|
|
777
|
+
:not(.wy-dark) .wy-code .token.operator, .wy-code:not(.wy-dark) .token.operator {
|
|
778
|
+
color: #000000;
|
|
779
|
+
}
|
|
780
|
+
:not(.wy-dark) .wy-code .token.constant, .wy-code:not(.wy-dark) .token.constant {
|
|
781
|
+
color: #811F3F;
|
|
782
|
+
}
|
|
783
|
+
:not(.wy-dark) .wy-code .token.hexcode, .wy-code:not(.wy-dark) .token.hexcode {
|
|
784
|
+
color: #811F3F;
|
|
785
|
+
}
|
|
786
|
+
:not(.wy-dark) .wy-code .token.regex, .wy-code:not(.wy-dark) .token.regex {
|
|
787
|
+
color: #811F3F;
|
|
788
|
+
}
|
|
789
|
+
:not(.wy-dark) .wy-code .token.char, .wy-code:not(.wy-dark) .token.char {
|
|
790
|
+
color: #811F3F;
|
|
791
|
+
}
|
|
792
|
+
:not(.wy-dark) .wy-code .token.tag, .wy-code:not(.wy-dark) .token.tag {
|
|
793
|
+
color: #800000;
|
|
794
|
+
}
|
|
795
|
+
:not(.wy-dark) .wy-code .token.attr-name, .wy-code:not(.wy-dark) .token.attr-name {
|
|
796
|
+
color: #FF0000;
|
|
797
|
+
}
|
|
798
|
+
:not(.wy-dark) .wy-code .token.selector, .wy-code:not(.wy-dark) .token.selector {
|
|
799
|
+
color: #FF0000;
|
|
800
|
+
}
|
|
801
|
+
:not(.wy-dark) .wy-code .token.property, .wy-code:not(.wy-dark) .token.property {
|
|
802
|
+
color: #FF0000;
|
|
803
|
+
}
|
|
804
|
+
:not(.wy-dark) .wy-code .token.deleted, .wy-code:not(.wy-dark) .token.deleted {
|
|
734
805
|
color: #A31515;
|
|
735
806
|
}
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
.token.symbol,
|
|
739
|
-
.token.number,
|
|
740
|
-
.token.boolean,
|
|
741
|
-
.token.variable,
|
|
742
|
-
.token.constant,
|
|
743
|
-
.token.inserted {
|
|
744
|
-
color: #36acaa;
|
|
807
|
+
:not(.wy-dark) .wy-code .token.string, .wy-code:not(.wy-dark) .token.string {
|
|
808
|
+
color: #A31515;
|
|
745
809
|
}
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
.token.keyword,
|
|
749
|
-
.token.attr-value,
|
|
750
|
-
.language-autohotkey .token.selector,
|
|
751
|
-
.language-json .token.boolean,
|
|
752
|
-
.language-json .token.number,
|
|
753
|
-
code[class*=language-css] {
|
|
754
|
-
color: #0000ff;
|
|
810
|
+
:not(.wy-dark) .wy-code .token.changed, .wy-code:not(.wy-dark) .token.changed {
|
|
811
|
+
color: #0451A5;
|
|
755
812
|
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
.language-autohotkey .token.tag {
|
|
759
|
-
color: #9a050f;
|
|
813
|
+
:not(.wy-dark) .wy-code .token.punctuation, .wy-code:not(.wy-dark) .token.punctuation {
|
|
814
|
+
color: #0451A5;
|
|
760
815
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
.language-autohotkey .token.keyword {
|
|
764
|
-
color: #00009f;
|
|
816
|
+
:not(.wy-dark) .wy-code .token.function, .wy-code:not(.wy-dark) .token.function {
|
|
817
|
+
color: #0000FF;
|
|
765
818
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
color: #e90;
|
|
819
|
+
:not(.wy-dark) .wy-code .token.keyword, .wy-code:not(.wy-dark) .token.keyword {
|
|
820
|
+
color: #0000FF;
|
|
769
821
|
}
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
.token.bold {
|
|
773
|
-
font-weight: 700;
|
|
822
|
+
:not(.wy-dark) .wy-code .token.class-name, .wy-code:not(.wy-dark) .token.class-name {
|
|
823
|
+
color: #267F99;
|
|
774
824
|
}
|
|
775
|
-
|
|
776
|
-
.token.
|
|
825
|
+
:not(.wy-dark) .wy-code .token.important,
|
|
826
|
+
:not(.wy-dark) .wy-code .token.bold, .wy-code:not(.wy-dark) .token.important,
|
|
827
|
+
.wy-code:not(.wy-dark) .token.bold {
|
|
828
|
+
font-weight: bold;
|
|
829
|
+
}
|
|
830
|
+
:not(.wy-dark) .wy-code .token.italic, .wy-code:not(.wy-dark) .token.italic {
|
|
777
831
|
font-style: italic;
|
|
778
832
|
}
|
|
833
|
+
.wy-dark .wy-code, .wy-code.wy-dark {
|
|
834
|
+
/*pre[class*="language-"]::-moz-selection,
|
|
835
|
+
pre[class*="language-"] ::-moz-selection,
|
|
836
|
+
code[class*="language-"]::-moz-selection,
|
|
837
|
+
code[class*="language-"] ::-moz-selection {
|
|
838
|
+
text-shadow: none;
|
|
839
|
+
background: #1e1e1e;
|
|
840
|
+
}
|
|
779
841
|
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
842
|
+
pre[class*="language-"]::selection,
|
|
843
|
+
pre[class*="language-"] ::selection,
|
|
844
|
+
code[class*="language-"]::selection,
|
|
845
|
+
code[class*="language-"] ::selection {
|
|
846
|
+
text-shadow: none;
|
|
847
|
+
background: #1e1e1e;
|
|
848
|
+
}*/
|
|
849
|
+
/* Code blocks */
|
|
850
|
+
}
|
|
851
|
+
.wy-dark .wy-code code[class*=language-],
|
|
852
|
+
.wy-dark .wy-code pre[class*=language-], .wy-code.wy-dark code[class*=language-],
|
|
853
|
+
.wy-code.wy-dark pre[class*=language-] {
|
|
854
|
+
color: #d4d4d4;
|
|
855
|
+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
856
|
+
text-align: left;
|
|
857
|
+
white-space: pre;
|
|
858
|
+
word-spacing: normal;
|
|
859
|
+
word-break: normal;
|
|
860
|
+
word-wrap: normal;
|
|
861
|
+
line-height: 1.5;
|
|
862
|
+
-moz-tab-size: 4;
|
|
863
|
+
-o-tab-size: 4;
|
|
864
|
+
tab-size: 4;
|
|
865
|
+
-webkit-hyphens: none;
|
|
866
|
+
-moz-hyphens: none;
|
|
867
|
+
-ms-hyphens: none;
|
|
868
|
+
hyphens: none;
|
|
783
869
|
}
|
|
784
|
-
|
|
785
|
-
.
|
|
786
|
-
.
|
|
787
|
-
|
|
870
|
+
@media print {
|
|
871
|
+
.wy-dark .wy-code code[class*=language-],
|
|
872
|
+
.wy-dark .wy-code pre[class*=language-], .wy-code.wy-dark code[class*=language-],
|
|
873
|
+
.wy-code.wy-dark pre[class*=language-] {
|
|
874
|
+
text-shadow: none;
|
|
875
|
+
}
|
|
788
876
|
}
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
.
|
|
792
|
-
|
|
793
|
-
.token.entity {
|
|
794
|
-
color: #ff0000;
|
|
877
|
+
.wy-dark .wy-code pre[class*=language-], .wy-code.wy-dark pre[class*=language-] {
|
|
878
|
+
padding: 1em;
|
|
879
|
+
margin: 0.5em 0;
|
|
880
|
+
overflow: auto;
|
|
795
881
|
}
|
|
796
|
-
|
|
797
|
-
.
|
|
798
|
-
|
|
882
|
+
.wy-dark .wy-code :not(pre) > code[class*=language-],
|
|
883
|
+
.wy-dark .wy-code pre[class*=language-], .wy-code.wy-dark :not(pre) > code[class*=language-],
|
|
884
|
+
.wy-code.wy-dark pre[class*=language-] {
|
|
885
|
+
color: white;
|
|
886
|
+
background: #1e1e1e;
|
|
887
|
+
}
|
|
888
|
+
.wy-dark .wy-code :not(pre) > code[class*=language-], .wy-code.wy-dark :not(pre) > code[class*=language-] {
|
|
889
|
+
padding: 0.1em;
|
|
890
|
+
border-radius: 0.3em;
|
|
891
|
+
white-space: normal;
|
|
892
|
+
}
|
|
893
|
+
.wy-dark .wy-code .token.prolog, .wy-code.wy-dark .token.prolog {
|
|
894
|
+
color: #8080ff;
|
|
895
|
+
}
|
|
896
|
+
.wy-dark .wy-code .token.comment, .wy-code.wy-dark .token.comment {
|
|
897
|
+
color: #6A9955;
|
|
898
|
+
}
|
|
899
|
+
.wy-dark .wy-code .token.punctuation, .wy-code.wy-dark .token.punctuation {
|
|
900
|
+
color: #6A9955;
|
|
901
|
+
}
|
|
902
|
+
.wy-dark .wy-code .token.builtin, .wy-code.wy-dark .token.builtin {
|
|
903
|
+
color: #4FC1FF;
|
|
904
|
+
}
|
|
905
|
+
.wy-dark .wy-code .token.number, .wy-code.wy-dark .token.number {
|
|
906
|
+
color: #B5CEA8;
|
|
907
|
+
}
|
|
908
|
+
.wy-dark .wy-code .token.variable, .wy-code.wy-dark .token.variable {
|
|
909
|
+
color: #B5CEA8;
|
|
910
|
+
}
|
|
911
|
+
.wy-dark .wy-code .token.inserted, .wy-code.wy-dark .token.inserted {
|
|
912
|
+
color: #B5CEA8;
|
|
913
|
+
}
|
|
914
|
+
.wy-dark .wy-code .token.operator, .wy-code.wy-dark .token.operator {
|
|
915
|
+
color: #D4D4D4;
|
|
916
|
+
}
|
|
917
|
+
.wy-dark .wy-code .token.constant, .wy-code.wy-dark .token.constant {
|
|
918
|
+
color: #646695;
|
|
919
|
+
}
|
|
920
|
+
.wy-dark .wy-code .token.hexcode, .wy-code.wy-dark .token.hexcode {
|
|
921
|
+
color: #646695;
|
|
922
|
+
}
|
|
923
|
+
.wy-dark .wy-code .token.tag, .wy-code.wy-dark .token.tag {
|
|
924
|
+
color: #569CD6;
|
|
925
|
+
}
|
|
926
|
+
.wy-dark .wy-code .token.changed, .wy-code.wy-dark .token.changed {
|
|
927
|
+
color: #569CD6;
|
|
928
|
+
}
|
|
929
|
+
.wy-dark .wy-code .token.function, .wy-code.wy-dark .token.function {
|
|
930
|
+
color: #569CD6;
|
|
931
|
+
}
|
|
932
|
+
.wy-dark .wy-code .token.keyword, .wy-code.wy-dark .token.keyword {
|
|
933
|
+
color: #569CD6;
|
|
934
|
+
}
|
|
935
|
+
.wy-dark .wy-code .token.attr-name, .wy-code.wy-dark .token.attr-name {
|
|
936
|
+
color: #9CDCFE;
|
|
937
|
+
}
|
|
938
|
+
.wy-dark .wy-code .token.selector, .wy-code.wy-dark .token.selector {
|
|
939
|
+
color: #9CDCFE;
|
|
940
|
+
}
|
|
941
|
+
.wy-dark .wy-code .token.property, .wy-code.wy-dark .token.property {
|
|
942
|
+
color: #9CDCFE;
|
|
943
|
+
}
|
|
944
|
+
.wy-dark .wy-code .token.deleted, .wy-code.wy-dark .token.deleted {
|
|
945
|
+
color: #CE9178;
|
|
946
|
+
}
|
|
947
|
+
.wy-dark .wy-code .token.string, .wy-code.wy-dark .token.string {
|
|
948
|
+
color: #CE9178;
|
|
949
|
+
}
|
|
950
|
+
.wy-dark .wy-code .token.regex, .wy-code.wy-dark .token.regex {
|
|
951
|
+
color: #D16969;
|
|
952
|
+
}
|
|
953
|
+
.wy-dark .wy-code .token.char, .wy-code.wy-dark .token.char {
|
|
954
|
+
color: #D16969;
|
|
955
|
+
}
|
|
956
|
+
.wy-dark .wy-code .token.class-name, .wy-code.wy-dark .token.class-name {
|
|
957
|
+
color: #4EC9B0;
|
|
958
|
+
}
|
|
959
|
+
.wy-dark .wy-code .token.important,
|
|
960
|
+
.wy-dark .wy-code .token.bold, .wy-code.wy-dark .token.important,
|
|
961
|
+
.wy-code.wy-dark .token.bold {
|
|
962
|
+
font-weight: bold;
|
|
963
|
+
}
|
|
964
|
+
.wy-dark .wy-code .token.italic, .wy-code.wy-dark .token.italic {
|
|
965
|
+
font-style: italic;
|
|
799
966
|
}
|
|
800
967
|
|
|
801
968
|
.wy-hashtag {
|
|
@@ -1580,7 +1747,7 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
1580
1747
|
.wy-message-form.wy-uploading .wy-spinner {
|
|
1581
1748
|
display: block;
|
|
1582
1749
|
}
|
|
1583
|
-
.wy-message-form.wy-uploading
|
|
1750
|
+
.wy-message-form.wy-uploading [data-icon=plus] {
|
|
1584
1751
|
display: none;
|
|
1585
1752
|
}
|
|
1586
1753
|
.wy-message-form .wy-picker-list:not(:empty) {
|
|
@@ -1723,9 +1890,9 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
1723
1890
|
color: #fff;
|
|
1724
1891
|
}
|
|
1725
1892
|
.wy-overlays .wy-panel.wy-dark.wy-open[data-title]::before {
|
|
1726
|
-
background: rgba(41, 41, 41, 0.95);
|
|
1893
|
+
background-color: rgba(41, 41, 41, 0.95);
|
|
1727
1894
|
color: rgba(255, 255, 255, 0.62);
|
|
1728
|
-
|
|
1895
|
+
box-shadow: rgba(71, 71, 71, 0.95) 0px -1px 0px 0px inset;
|
|
1729
1896
|
}
|
|
1730
1897
|
@media (min-width: 768px) {
|
|
1731
1898
|
.wy-overlays .wy-panel.wy-floating {
|
|
@@ -1827,8 +1994,8 @@ tr.wy-pager td .wy-spinner {
|
|
|
1827
1994
|
flex-direction: column;
|
|
1828
1995
|
}
|
|
1829
1996
|
.wy-panel .wy-controls {
|
|
1830
|
-
top: 0.
|
|
1831
|
-
left: 0.
|
|
1997
|
+
top: 0.75rem;
|
|
1998
|
+
left: 0.75rem;
|
|
1832
1999
|
min-width: 2rem;
|
|
1833
2000
|
width: auto;
|
|
1834
2001
|
display: flex;
|
|
@@ -1861,19 +2028,20 @@ tr.wy-pager td .wy-spinner {
|
|
|
1861
2028
|
top: 0;
|
|
1862
2029
|
left: 0;
|
|
1863
2030
|
right: 0;
|
|
1864
|
-
height:
|
|
2031
|
+
height: 3rem;
|
|
2032
|
+
padding: 0.5rem 0.5rem;
|
|
1865
2033
|
opacity: 0;
|
|
1866
2034
|
pointer-events: none;
|
|
1867
2035
|
display: flex;
|
|
1868
2036
|
align-items: center;
|
|
1869
2037
|
justify-content: center;
|
|
1870
|
-
background-color: rgba(242, 242, 242, 0.95);
|
|
1871
|
-
color: rgba(0, 0, 0, 0.69);
|
|
1872
|
-
border-bottom: 1px solid #cccccc;
|
|
1873
2038
|
transition: opacity 0.1s 0.2s step-end;
|
|
1874
|
-
font-family: var(--wy-font-sans-serif);
|
|
2039
|
+
font-family: var(--wy-font-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Noto Sans, Liberation Sans, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji);
|
|
1875
2040
|
line-height: 1.5;
|
|
1876
2041
|
font-weight: 400;
|
|
2042
|
+
background-color: rgba(242, 242, 242, 0.95);
|
|
2043
|
+
color: rgba(0, 0, 0, 0.69);
|
|
2044
|
+
box-shadow: rgba(204, 204, 204, 0.95) 0px -1px 0px 0px inset;
|
|
1877
2045
|
backface-visibility: hidden;
|
|
1878
2046
|
}
|
|
1879
2047
|
@supports (backdrop-filter: blur(0.5rem)) {
|
|
@@ -1963,6 +2131,10 @@ tr.wy-pager td .wy-spinner {
|
|
|
1963
2131
|
justify-content: center;
|
|
1964
2132
|
height: calc(100% - 3rem - 1px);
|
|
1965
2133
|
position: relative;
|
|
2134
|
+
background-color: #fff;
|
|
2135
|
+
}
|
|
2136
|
+
.wy-dark .wy-preview, .wy-preview.wy-dark {
|
|
2137
|
+
background-color: #292929;
|
|
1966
2138
|
}
|
|
1967
2139
|
|
|
1968
2140
|
.wy-nav-prev, .wy-nav-next {
|
|
@@ -1997,7 +2169,7 @@ tr.wy-pager td .wy-spinner {
|
|
|
1997
2169
|
.wy-document {
|
|
1998
2170
|
padding: 3rem 4rem;
|
|
1999
2171
|
margin: 2rem 3.5rem;
|
|
2000
|
-
border-radius: 0.
|
|
2172
|
+
border-radius: 0.125rem;
|
|
2001
2173
|
box-shadow: 0 0.25rem 0.3125rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.625rem 0 rgba(0, 0, 0, 0.12), 0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.2);
|
|
2002
2174
|
width: 120ch;
|
|
2003
2175
|
min-height: 170ch;
|
|
@@ -2036,14 +2208,14 @@ tr.wy-pager td .wy-spinner {
|
|
|
2036
2208
|
backdrop-filter: blur(0.5rem);
|
|
2037
2209
|
}
|
|
2038
2210
|
}
|
|
2039
|
-
.wy-dark .wy-tools
|
|
2211
|
+
.wy-dark .wy-tools {
|
|
2040
2212
|
background-color: rgba(41, 41, 41, 0.95);
|
|
2041
2213
|
color: rgba(255, 255, 255, 0.62);
|
|
2042
2214
|
}
|
|
2043
|
-
.wy-dark .wy-tools .wy-icon
|
|
2215
|
+
.wy-dark .wy-tools .wy-icon {
|
|
2044
2216
|
color: rgba(255, 255, 255, 0.62);
|
|
2045
2217
|
}
|
|
2046
|
-
.wy-dark .wy-tools .wy-input
|
|
2218
|
+
.wy-dark .wy-tools .wy-input {
|
|
2047
2219
|
background-color: rgba(0, 0, 0, 0.5);
|
|
2048
2220
|
color: rgba(255, 255, 255, 0.62);
|
|
2049
2221
|
}
|
|
@@ -2054,32 +2226,38 @@ tr.wy-pager td .wy-spinner {
|
|
|
2054
2226
|
margin: 0 0.5rem;
|
|
2055
2227
|
}
|
|
2056
2228
|
|
|
2057
|
-
.wy-content-
|
|
2229
|
+
.wy-content-code {
|
|
2230
|
+
align-self: flex-start;
|
|
2231
|
+
width: 100%;
|
|
2232
|
+
padding: 1rem 3rem;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
.wy-content-iframe {
|
|
2058
2236
|
border: 0;
|
|
2059
2237
|
display: block;
|
|
2060
2238
|
width: 100%;
|
|
2061
2239
|
height: 100%;
|
|
2062
2240
|
flex: 1 1 100%;
|
|
2063
2241
|
}
|
|
2064
|
-
.wy-content-iframe
|
|
2242
|
+
.wy-content-iframe.wy-loaded {
|
|
2065
2243
|
background: #fff;
|
|
2066
2244
|
}
|
|
2067
|
-
.wy-content-iframe
|
|
2245
|
+
.wy-content-iframe.wy-loaded ~ .wy-content-iframe-fallback, .wy-content-iframe.wy-loaded ~ .wy-spinner {
|
|
2068
2246
|
display: none;
|
|
2069
2247
|
}
|
|
2070
|
-
.wy-content-iframe.wy-loading:not(.wy-loaded)
|
|
2248
|
+
.wy-content-iframe.wy-loading:not(.wy-loaded) {
|
|
2071
2249
|
position: absolute;
|
|
2072
2250
|
visibility: hidden;
|
|
2073
2251
|
z-index: -1;
|
|
2074
2252
|
pointer-events: none;
|
|
2075
2253
|
}
|
|
2076
|
-
.wy-content-iframe.wy-loading:not(.wy-loaded):not(.wy-fallback) ~ .wy-content-iframe-fallback
|
|
2254
|
+
.wy-content-iframe.wy-loading:not(.wy-loaded):not(.wy-fallback) ~ .wy-content-iframe-fallback {
|
|
2077
2255
|
display: none;
|
|
2078
2256
|
}
|
|
2079
|
-
.wy-content-iframe.wy-loading:not(.wy-loaded).wy-fallback ~ .wy-spinner
|
|
2257
|
+
.wy-content-iframe.wy-loading:not(.wy-loaded).wy-fallback ~ .wy-spinner {
|
|
2080
2258
|
display: none;
|
|
2081
2259
|
}
|
|
2082
|
-
.wy-content-iframe ~ .wy-spinner
|
|
2260
|
+
.wy-content-iframe ~ .wy-spinner {
|
|
2083
2261
|
margin: auto;
|
|
2084
2262
|
}
|
|
2085
2263
|
|
|
@@ -2131,7 +2309,7 @@ tr.wy-pager td .wy-spinner {
|
|
|
2131
2309
|
.wy-content-image:not(.wy-intrinsic-image) {
|
|
2132
2310
|
height: 100%;
|
|
2133
2311
|
width: 100%;
|
|
2134
|
-
--max-width: min(calc((100vh - 3rem
|
|
2312
|
+
--max-width: min(calc((100vh - 3rem) * (var(--width) / var(--height))), calc(var(--width) * 1px), 100%);
|
|
2135
2313
|
--max-height: min(calc(100vw * (var(--height) / var(--width))), calc(var(--height) * 1px), 100%);
|
|
2136
2314
|
/* // With sidebar
|
|
2137
2315
|
body.controller-content & {
|