@scalar/api-client 1.2.0 → 1.2.2

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 1.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [85a0074]
8
+ - @scalar/themes@0.7.2
9
+ - @scalar/components@0.5.0
10
+
11
+ ## 1.2.1
12
+
13
+ ### Patch Changes
14
+
15
+ - d77acdd: fix: missing css font
16
+ - Updated dependencies [d77acdd]
17
+ - @scalar/themes@0.7.1
18
+ - @scalar/components@0.5.0
19
+
3
20
  ## 1.2.0
4
21
 
5
22
  ### Minor Changes
package/dist/index.css CHANGED
@@ -105,7 +105,7 @@
105
105
  }
106
106
 
107
107
  /* Use :where to lower specificity to 0 */
108
- :where(._reset_1hufs_3) {
108
+ :where(._reset_12vhc_3) {
109
109
  /** Add some more things which are normally applied to `html`. */
110
110
  font-family: var(--scalar-font);
111
111
  line-height: 1.15;
@@ -143,7 +143,19 @@ button {
143
143
  }
144
144
  input::placeholder {
145
145
  color: var(--scalar-color-3);
146
- font-family: var(--scalar-font);
146
+ font-family:
147
+ var(--scalar-font),
148
+ 'Inter',
149
+ -apple-system,
150
+ BlinkMacSystemFont,
151
+ 'Segoe UI',
152
+ Roboto,
153
+ Oxygen,
154
+ Ubuntu,
155
+ Cantarell,
156
+ 'Open Sans',
157
+ 'Helvetica Neue',
158
+ sans-serif;
147
159
  }
148
160
  input:-ms-input-placeholder {
149
161
  color: var(--scalar-color-3);
@@ -683,14 +695,14 @@ to {
683
695
  color: var(--scalar-api-client-color);
684
696
  }
685
697
 
686
- .loader[data-v-11a5a486] {
698
+ .loader[data-v-01bb5ce5] {
687
699
  position: absolute;
688
700
  z-index: 3;
689
701
  height: 2px;
690
702
  background: var(--scalar-api-client-color);
691
- animation: loading-11a5a486 5s cubic-bezier(0, 0.5, 0.25, 1);
703
+ animation: loading-01bb5ce5 5s cubic-bezier(0, 0.5, 0.25, 1);
692
704
  }
693
- @keyframes loading-11a5a486 {
705
+ @keyframes loading-01bb5ce5 {
694
706
  0% {
695
707
  width: 0;
696
708
  }
@@ -698,7 +710,7 @@ to {
698
710
  width: 100%;
699
711
  }
700
712
  }
701
- .address-bar[data-v-11a5a486] {
713
+ .address-bar[data-v-01bb5ce5] {
702
714
  width: 100%;
703
715
  padding: 12px 12px 10px 12px;
704
716
  display: flex;
@@ -706,17 +718,17 @@ to {
706
718
  position: relative;
707
719
  background: var(--scalar-background-1);
708
720
  }
709
- .url-form[data-v-11a5a486] {
721
+ .url-form[data-v-01bb5ce5] {
710
722
  display: flex;
711
723
  width: 100%;
712
724
  align-items: stretch;
713
725
  border-radius: var(--scalar-radius-lg);
714
726
  }
715
- .url-form[data-v-11a5a486] .cm-content {
727
+ .url-form[data-v-01bb5ce5] .cm-content {
716
728
  display: flex;
717
729
  align-items: center;
718
730
  }
719
- .url-form-field[data-v-11a5a486] {
731
+ .url-form-field[data-v-01bb5ce5] {
720
732
  border-right: 0;
721
733
  background: var(--scalar-background-2);
722
734
  border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
@@ -726,18 +738,18 @@ to {
726
738
  overflow: hidden;
727
739
  min-height: 31px;
728
740
  }
729
- .url-form-input[data-v-11a5a486] {
741
+ .url-form-input[data-v-01bb5ce5] {
730
742
  color: var(--scalar-color-1);
731
743
  }
732
- .url-form-input[data-v-11a5a486] {
744
+ .url-form-input[data-v-01bb5ce5] {
733
745
  font-weight: var(--scalar-semibold);
734
746
  min-height: auto;
735
747
  padding-top: 0;
736
748
  }
737
- .url-form-input[data-v-11a5a486] .cm-scroller {
749
+ .url-form-input[data-v-01bb5ce5] .cm-scroller {
738
750
  overflow-y: hidden;
739
751
  }
740
- .history[data-v-11a5a486] {
752
+ .history[data-v-01bb5ce5] {
741
753
  appearance: none;
742
754
  -webkit-appearance: none;
743
755
  background: transparent;
@@ -747,7 +759,7 @@ to {
747
759
  border-radius: var(--scalar-radius);
748
760
  height: 100%;
749
761
  }
750
- .send-button[type='submit'][data-v-11a5a486] {
762
+ .send-button[type='submit'][data-v-01bb5ce5] {
751
763
  font-size: var(--scalar-micro);
752
764
  letter-spacing: 0.25px;
753
765
  font-weight: var(--scalar-semibold);
@@ -758,7 +770,7 @@ to {
758
770
  text-transform: uppercase;
759
771
  cursor: pointer;
760
772
  outline: none;
761
- font-family: (--scalar-font);
773
+ font-family: var(--scalar-font);
762
774
  border-radius: 0 var(--scalar-radius) var(--scalar-radius) 0;
763
775
  background: var(--scalar-button-1);
764
776
  position: relative;
@@ -768,36 +780,36 @@ to {
768
780
  overflow: hidden;
769
781
  flex-shrink: 0;
770
782
  }
771
- .send-button[data-v-11a5a486]:hover {
783
+ .send-button[data-v-01bb5ce5]:hover {
772
784
  background: var(--scalar-button-1-hover);
773
785
  }
774
- .send-button svg[data-v-11a5a486] {
786
+ .send-button svg[data-v-01bb5ce5] {
775
787
  width: 12px;
776
788
  height: 12px;
777
789
  flex-shrink: 0;
778
790
  margin-right: 6px;
779
791
  position: relative;
780
792
  }
781
- .send-button span[data-v-11a5a486] {
793
+ .send-button span[data-v-01bb5ce5] {
782
794
  position: relative;
783
795
  }
784
796
  @media screen and (max-width: 720px) {
785
- .history-toggle span[data-v-11a5a486],
786
- .send-button span[data-v-11a5a486] {
797
+ .history-toggle span[data-v-01bb5ce5],
798
+ .send-button span[data-v-01bb5ce5] {
787
799
  display: none;
788
800
  }
789
- .history-toggle svg[data-v-11a5a486],
790
- .send-button svg[data-v-11a5a486] {
801
+ .history-toggle svg[data-v-01bb5ce5],
802
+ .send-button svg[data-v-01bb5ce5] {
791
803
  margin-right: 0;
792
804
  }
793
805
  }
794
- .send-button[disabled][data-v-11a5a486] {
806
+ .send-button[disabled][data-v-01bb5ce5] {
795
807
  pointer-events: none;
796
808
  color: var(--scalar-color-2);
797
809
  background: var(--scalar-background-3);
798
810
  border: 1px solid var(--scalar-border-color);
799
811
  }
800
- .history-toggle[data-v-11a5a486] {
812
+ .history-toggle[data-v-01bb5ce5] {
801
813
  padding: 0 12px;
802
814
  line-height: 30px;
803
815
  color: var(--scalar-color-3);
@@ -815,16 +827,16 @@ to {
815
827
  border-radius: var(--scalar-radius);
816
828
  user-select: none;
817
829
  }
818
- .history-toggle[data-v-11a5a486]:hover {
830
+ .history-toggle[data-v-01bb5ce5]:hover {
819
831
  background: var(--scalar-background-2);
820
832
  }
821
- .history-toggle svg[data-v-11a5a486] {
833
+ .history-toggle svg[data-v-01bb5ce5] {
822
834
  height: 13px;
823
835
  width: 13px;
824
836
  margin-right: 6px;
825
837
  color: var(--scalar-color-3);
826
838
  }
827
- .address-bar-content[data-v-11a5a486] {
839
+ .address-bar-content[data-v-01bb5ce5] {
828
840
  width: 640px;
829
841
  height: 100%;
830
842
  background: var(--scalar-background-1);
@@ -839,21 +851,21 @@ to {
839
851
  opacity 0.01s ease-in-out 0.5s;
840
852
  pointer-events: none;
841
853
  }
842
- .address-bar--with-history[data-v-11a5a486] {
854
+ .address-bar--with-history[data-v-01bb5ce5] {
843
855
  z-index: 100000;
844
856
  }
845
- .address-bar--with-history .address-bar-content[data-v-11a5a486] {
857
+ .address-bar--with-history .address-bar-content[data-v-01bb5ce5] {
846
858
  transform: translate3d(0, 0, 0);
847
859
  opacity: 1;
848
860
  pointer-events: all;
849
861
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
850
862
  }
851
- .address-bar--with-history .address-bar-close[data-v-11a5a486] {
863
+ .address-bar--with-history .address-bar-close[data-v-01bb5ce5] {
852
864
  opacity: 1;
853
865
  pointer-events: all;
854
866
  cursor: pointer;
855
867
  }
856
- .address-bar-close[data-v-11a5a486] {
868
+ .address-bar-close[data-v-01bb5ce5] {
857
869
  width: 100%;
858
870
  height: 100%;
859
871
  position: fixed;
@@ -912,14 +924,14 @@ to {
912
924
  appearance: none;
913
925
  outline: 0;
914
926
  border: none;
915
- font-family: (--scalar-font);
927
+ font-family: var(--scalar-font);
916
928
  cursor: pointer;
917
929
  }
918
930
  .scalar-api-client__item .scalar-api-client__item__title {
919
931
  color: var(--scalar-color-1);
920
932
  font-size: var(--scalar-small);
921
933
  font-weight: var(--scalar-semibold);
922
- font-family: (--scalar-font);
934
+ font-family: var(--scalar-font);
923
935
  user-select: none;
924
936
  flex: 1;
925
937
  position: relative;
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
58
58
  };
59
59
  }
60
60
  });
61
- const reset = "_reset_1hufs_3";
61
+ const reset = "_reset_12vhc_3";
62
62
  const style0 = {
63
63
  reset
64
64
  };
@@ -26382,7 +26382,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26382
26382
  }
26383
26383
  });
26384
26384
  const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2b029b46"]]);
26385
- const _withScopeId$5 = (n) => (pushScopeId("data-v-11a5a486"), n = n(), popScopeId(), n);
26385
+ const _withScopeId$5 = (n) => (pushScopeId("data-v-01bb5ce5"), n = n(), popScopeId(), n);
26386
26386
  const _hoisted_1$s = {
26387
26387
  key: 0,
26388
26388
  class: "loader"
@@ -26565,7 +26565,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26565
26565
  };
26566
26566
  }
26567
26567
  });
26568
- const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-11a5a486"]]);
26568
+ const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-01bb5ce5"]]);
26569
26569
  const clickGeneratedParameter = useEventBus(Symbol());
26570
26570
  const _hoisted_1$r = /* @__PURE__ */ createElementVNode("svg", {
26571
26571
  class: "scalar-api-client__toggle__icon",
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "rest",
14
14
  "testing"
15
15
  ],
16
- "version": "1.2.0",
16
+ "version": "1.2.2",
17
17
  "engines": {
18
18
  "node": ">=18"
19
19
  },
@@ -43,9 +43,9 @@
43
43
  "pretty-bytes": "^6.1.1",
44
44
  "pretty-ms": "^8.0.0",
45
45
  "@scalar/components": "0.5.0",
46
- "@scalar/use-codemirror": "0.10.0",
46
+ "@scalar/themes": "0.7.2",
47
47
  "@scalar/use-modal": "0.3.0",
48
- "@scalar/themes": "0.7.0",
48
+ "@scalar/use-codemirror": "0.10.0",
49
49
  "@scalar/use-tooltip": "0.6.0"
50
50
  },
51
51
  "devDependencies": {
@@ -59,8 +59,8 @@
59
59
  "vue": "^3.4.21",
60
60
  "vue-tsc": "^1.8.19",
61
61
  "@scalar/api-client-proxy": "0.5.24",
62
- "@scalar/oas-utils": "0.1.6",
63
- "@scalar/echo-server": "0.6.1"
62
+ "@scalar/echo-server": "0.6.1",
63
+ "@scalar/oas-utils": "0.1.6"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "vue": "^3.3.0",