@oxide/design-system 1.4.7--canary.3a50b9d.0 → 1.4.7--canary.8c44c1d.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.
@@ -633,11 +633,6 @@
633
633
  @apply bg-raise p-4 rounded-lg my-8 px-6 py-5;
634
634
  }
635
635
 
636
- /* Boosting body text for long text readability */
637
- .asciidoc-body p {
638
- color: #c8cacb;
639
- }
640
-
641
636
  @media print {
642
637
  html {
643
638
  font-size: 14px !important;
@@ -722,5 +717,118 @@
722
717
  color: var(--content-default) !important;
723
718
  background-color: var(--surface-raise) !important;
724
719
  }
720
+
721
+ pre code.hljs {
722
+ display: block;
723
+ overflow-x: auto;
724
+ padding: 1em;
725
+ }
726
+
727
+ code.hljs {
728
+ padding: 3px 5px;
729
+ }
730
+
731
+ .hljs {
732
+ color: #333;
733
+ background: #fff;
734
+ }
735
+
736
+ .hljs-comment,
737
+ .hljs-quote {
738
+ color: #777;
739
+ font-style: italic;
740
+ }
741
+
742
+ .hljs-keyword,
743
+ .hljs-selector-tag,
744
+ .hljs-subst {
745
+ color: #333;
746
+ font-weight: 700;
747
+ }
748
+
749
+ .hljs-literal,
750
+ .hljs-number {
751
+ color: #777;
752
+ }
753
+
754
+ .hljs-doctag,
755
+ .hljs-formula,
756
+ .hljs-string {
757
+ color: #333;
758
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC)
759
+ repeat;
760
+ }
761
+
762
+ .hljs-section,
763
+ .hljs-selector-id,
764
+ .hljs-title {
765
+ color: #000;
766
+ font-weight: 700;
767
+ }
768
+
769
+ .hljs-subst {
770
+ font-weight: 400;
771
+ }
772
+
773
+ .hljs-class .hljs-title,
774
+ .hljs-name,
775
+ .hljs-title.class_,
776
+ .hljs-type {
777
+ color: #333;
778
+ font-weight: 700;
779
+ }
780
+
781
+ .hljs-tag {
782
+ color: #333;
783
+ }
784
+
785
+ .hljs-regexp {
786
+ color: #333;
787
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==)
788
+ repeat;
789
+ }
790
+
791
+ .hljs-bullet,
792
+ .hljs-link,
793
+ .hljs-symbol {
794
+ color: #000;
795
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==)
796
+ repeat;
797
+ }
798
+
799
+ .hljs-built_in {
800
+ color: #000;
801
+ text-decoration: underline;
802
+ }
803
+
804
+ .hljs-meta {
805
+ color: #999;
806
+ font-weight: 700;
807
+ }
808
+
809
+ .hljs-deletion {
810
+ color: #fff;
811
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==)
812
+ repeat;
813
+ }
814
+
815
+ .hljs-addition {
816
+ color: #000;
817
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC)
818
+ repeat;
819
+ }
820
+
821
+ .hljs-emphasis {
822
+ font-style: italic;
823
+ }
824
+
825
+ .hljs-strong {
826
+ font-weight: 700;
827
+ }
828
+ }
829
+
830
+ /* Boosting body text for long text readability */
831
+ .asciidoc-body p {
832
+ color: #c8cacb;
725
833
  }
726
834
  }
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as _oxide_react_asciidoc from '@oxide/react-asciidoc';
2
+ import * as _asciidoctor_core_types from '@asciidoctor/core/types';
3
3
  import * as react from 'react';
4
4
  import { ReactNode, ReactElement } from 'react';
5
5
  import { TabsProps, TabsTriggerProps, TabsListProps, TabsContentProps } from '@radix-ui/react-tabs';
@@ -7,10 +7,16 @@ import { SetRequired } from 'type-fest';
7
7
 
8
8
  declare const AsciiDocBlocks: {
9
9
  Admonition: ({ node }: {
10
- node: _oxide_react_asciidoc.AdmonitionBlock;
10
+ node: _asciidoctor_core_types.Block;
11
+ }) => react_jsx_runtime.JSX.Element;
12
+ Listing: ({ node }: {
13
+ node: _asciidoctor_core_types.Block;
11
14
  }) => react_jsx_runtime.JSX.Element;
12
15
  Table: ({ node }: {
13
- node: _oxide_react_asciidoc.TableBlock;
16
+ node: _asciidoctor_core_types.Table;
17
+ }) => react_jsx_runtime.JSX.Element;
18
+ Section: ({ node }: {
19
+ node: _asciidoctor_core_types.Section;
14
20
  }) => react_jsx_runtime.JSX.Element;
15
21
  };
16
22