@scalar/api-client 1.2.0 → 1.2.1

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,14 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d77acdd: fix: missing css font
8
+ - Updated dependencies [d77acdd]
9
+ - @scalar/themes@0.7.1
10
+ - @scalar/components@0.5.0
11
+
3
12
  ## 1.2.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.css CHANGED
@@ -105,9 +105,21 @@
105
105
  }
106
106
 
107
107
  /* Use :where to lower specificity to 0 */
108
- :where(._reset_1hufs_3) {
108
+ :where(._reset_vl0rh_3) {
109
109
  /** Add some more things which are normally applied to `html`. */
110
- font-family: var(--scalar-font);
110
+ font-family:
111
+ var(--scalar-font),
112
+ 'Inter',
113
+ -apple-system,
114
+ BlinkMacSystemFont,
115
+ 'Segoe UI',
116
+ Roboto,
117
+ Oxygen,
118
+ Ubuntu,
119
+ Cantarell,
120
+ 'Open Sans',
121
+ 'Helvetica Neue',
122
+ sans-serif;
111
123
  line-height: 1.15;
112
124
  -webkit-text-size-adjust: 100%;
113
125
  -moz-tab-size: 4;
@@ -139,19 +151,67 @@ button {
139
151
  border: unset;
140
152
  background: unset;
141
153
  appearance: unset;
142
- font-family: var(--scalar-font);
154
+ font-family:
155
+ var(--scalar-font),
156
+ 'Inter',
157
+ -apple-system,
158
+ BlinkMacSystemFont,
159
+ 'Segoe UI',
160
+ Roboto,
161
+ Oxygen,
162
+ Ubuntu,
163
+ Cantarell,
164
+ 'Open Sans',
165
+ 'Helvetica Neue',
166
+ sans-serif;
143
167
  }
144
168
  input::placeholder {
145
169
  color: var(--scalar-color-3);
146
- font-family: var(--scalar-font);
170
+ font-family:
171
+ var(--scalar-font),
172
+ 'Inter',
173
+ -apple-system,
174
+ BlinkMacSystemFont,
175
+ 'Segoe UI',
176
+ Roboto,
177
+ Oxygen,
178
+ Ubuntu,
179
+ Cantarell,
180
+ 'Open Sans',
181
+ 'Helvetica Neue',
182
+ sans-serif;
147
183
  }
148
184
  input:-ms-input-placeholder {
149
185
  color: var(--scalar-color-3);
150
- font-family: var(--scalar-font);
186
+ font-family:
187
+ var(--scalar-font),
188
+ 'Inter',
189
+ -apple-system,
190
+ BlinkMacSystemFont,
191
+ 'Segoe UI',
192
+ Roboto,
193
+ Oxygen,
194
+ Ubuntu,
195
+ Cantarell,
196
+ 'Open Sans',
197
+ 'Helvetica Neue',
198
+ sans-serif;
151
199
  }
152
200
  input::-webkit-input-placeholder {
153
201
  color: var(--scalar-color-3);
154
- font-family: var(--scalar-font);
202
+ font-family:
203
+ var(--scalar-font),
204
+ 'Inter',
205
+ -apple-system,
206
+ BlinkMacSystemFont,
207
+ 'Segoe UI',
208
+ Roboto,
209
+ Oxygen,
210
+ Ubuntu,
211
+ Cantarell,
212
+ 'Open Sans',
213
+ 'Helvetica Neue',
214
+ sans-serif;
155
215
  }
156
216
  }
157
217
 
@@ -683,14 +743,14 @@ to {
683
743
  color: var(--scalar-api-client-color);
684
744
  }
685
745
 
686
- .loader[data-v-11a5a486] {
746
+ .loader[data-v-01bb5ce5] {
687
747
  position: absolute;
688
748
  z-index: 3;
689
749
  height: 2px;
690
750
  background: var(--scalar-api-client-color);
691
- animation: loading-11a5a486 5s cubic-bezier(0, 0.5, 0.25, 1);
751
+ animation: loading-01bb5ce5 5s cubic-bezier(0, 0.5, 0.25, 1);
692
752
  }
693
- @keyframes loading-11a5a486 {
753
+ @keyframes loading-01bb5ce5 {
694
754
  0% {
695
755
  width: 0;
696
756
  }
@@ -698,7 +758,7 @@ to {
698
758
  width: 100%;
699
759
  }
700
760
  }
701
- .address-bar[data-v-11a5a486] {
761
+ .address-bar[data-v-01bb5ce5] {
702
762
  width: 100%;
703
763
  padding: 12px 12px 10px 12px;
704
764
  display: flex;
@@ -706,17 +766,17 @@ to {
706
766
  position: relative;
707
767
  background: var(--scalar-background-1);
708
768
  }
709
- .url-form[data-v-11a5a486] {
769
+ .url-form[data-v-01bb5ce5] {
710
770
  display: flex;
711
771
  width: 100%;
712
772
  align-items: stretch;
713
773
  border-radius: var(--scalar-radius-lg);
714
774
  }
715
- .url-form[data-v-11a5a486] .cm-content {
775
+ .url-form[data-v-01bb5ce5] .cm-content {
716
776
  display: flex;
717
777
  align-items: center;
718
778
  }
719
- .url-form-field[data-v-11a5a486] {
779
+ .url-form-field[data-v-01bb5ce5] {
720
780
  border-right: 0;
721
781
  background: var(--scalar-background-2);
722
782
  border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
@@ -726,18 +786,18 @@ to {
726
786
  overflow: hidden;
727
787
  min-height: 31px;
728
788
  }
729
- .url-form-input[data-v-11a5a486] {
789
+ .url-form-input[data-v-01bb5ce5] {
730
790
  color: var(--scalar-color-1);
731
791
  }
732
- .url-form-input[data-v-11a5a486] {
792
+ .url-form-input[data-v-01bb5ce5] {
733
793
  font-weight: var(--scalar-semibold);
734
794
  min-height: auto;
735
795
  padding-top: 0;
736
796
  }
737
- .url-form-input[data-v-11a5a486] .cm-scroller {
797
+ .url-form-input[data-v-01bb5ce5] .cm-scroller {
738
798
  overflow-y: hidden;
739
799
  }
740
- .history[data-v-11a5a486] {
800
+ .history[data-v-01bb5ce5] {
741
801
  appearance: none;
742
802
  -webkit-appearance: none;
743
803
  background: transparent;
@@ -747,7 +807,7 @@ to {
747
807
  border-radius: var(--scalar-radius);
748
808
  height: 100%;
749
809
  }
750
- .send-button[type='submit'][data-v-11a5a486] {
810
+ .send-button[type='submit'][data-v-01bb5ce5] {
751
811
  font-size: var(--scalar-micro);
752
812
  letter-spacing: 0.25px;
753
813
  font-weight: var(--scalar-semibold);
@@ -758,7 +818,7 @@ to {
758
818
  text-transform: uppercase;
759
819
  cursor: pointer;
760
820
  outline: none;
761
- font-family: (--scalar-font);
821
+ font-family: var(--scalar-font);
762
822
  border-radius: 0 var(--scalar-radius) var(--scalar-radius) 0;
763
823
  background: var(--scalar-button-1);
764
824
  position: relative;
@@ -768,36 +828,36 @@ to {
768
828
  overflow: hidden;
769
829
  flex-shrink: 0;
770
830
  }
771
- .send-button[data-v-11a5a486]:hover {
831
+ .send-button[data-v-01bb5ce5]:hover {
772
832
  background: var(--scalar-button-1-hover);
773
833
  }
774
- .send-button svg[data-v-11a5a486] {
834
+ .send-button svg[data-v-01bb5ce5] {
775
835
  width: 12px;
776
836
  height: 12px;
777
837
  flex-shrink: 0;
778
838
  margin-right: 6px;
779
839
  position: relative;
780
840
  }
781
- .send-button span[data-v-11a5a486] {
841
+ .send-button span[data-v-01bb5ce5] {
782
842
  position: relative;
783
843
  }
784
844
  @media screen and (max-width: 720px) {
785
- .history-toggle span[data-v-11a5a486],
786
- .send-button span[data-v-11a5a486] {
845
+ .history-toggle span[data-v-01bb5ce5],
846
+ .send-button span[data-v-01bb5ce5] {
787
847
  display: none;
788
848
  }
789
- .history-toggle svg[data-v-11a5a486],
790
- .send-button svg[data-v-11a5a486] {
849
+ .history-toggle svg[data-v-01bb5ce5],
850
+ .send-button svg[data-v-01bb5ce5] {
791
851
  margin-right: 0;
792
852
  }
793
853
  }
794
- .send-button[disabled][data-v-11a5a486] {
854
+ .send-button[disabled][data-v-01bb5ce5] {
795
855
  pointer-events: none;
796
856
  color: var(--scalar-color-2);
797
857
  background: var(--scalar-background-3);
798
858
  border: 1px solid var(--scalar-border-color);
799
859
  }
800
- .history-toggle[data-v-11a5a486] {
860
+ .history-toggle[data-v-01bb5ce5] {
801
861
  padding: 0 12px;
802
862
  line-height: 30px;
803
863
  color: var(--scalar-color-3);
@@ -815,16 +875,16 @@ to {
815
875
  border-radius: var(--scalar-radius);
816
876
  user-select: none;
817
877
  }
818
- .history-toggle[data-v-11a5a486]:hover {
878
+ .history-toggle[data-v-01bb5ce5]:hover {
819
879
  background: var(--scalar-background-2);
820
880
  }
821
- .history-toggle svg[data-v-11a5a486] {
881
+ .history-toggle svg[data-v-01bb5ce5] {
822
882
  height: 13px;
823
883
  width: 13px;
824
884
  margin-right: 6px;
825
885
  color: var(--scalar-color-3);
826
886
  }
827
- .address-bar-content[data-v-11a5a486] {
887
+ .address-bar-content[data-v-01bb5ce5] {
828
888
  width: 640px;
829
889
  height: 100%;
830
890
  background: var(--scalar-background-1);
@@ -839,21 +899,21 @@ to {
839
899
  opacity 0.01s ease-in-out 0.5s;
840
900
  pointer-events: none;
841
901
  }
842
- .address-bar--with-history[data-v-11a5a486] {
902
+ .address-bar--with-history[data-v-01bb5ce5] {
843
903
  z-index: 100000;
844
904
  }
845
- .address-bar--with-history .address-bar-content[data-v-11a5a486] {
905
+ .address-bar--with-history .address-bar-content[data-v-01bb5ce5] {
846
906
  transform: translate3d(0, 0, 0);
847
907
  opacity: 1;
848
908
  pointer-events: all;
849
909
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
850
910
  }
851
- .address-bar--with-history .address-bar-close[data-v-11a5a486] {
911
+ .address-bar--with-history .address-bar-close[data-v-01bb5ce5] {
852
912
  opacity: 1;
853
913
  pointer-events: all;
854
914
  cursor: pointer;
855
915
  }
856
- .address-bar-close[data-v-11a5a486] {
916
+ .address-bar-close[data-v-01bb5ce5] {
857
917
  width: 100%;
858
918
  height: 100%;
859
919
  position: fixed;
@@ -912,14 +972,14 @@ to {
912
972
  appearance: none;
913
973
  outline: 0;
914
974
  border: none;
915
- font-family: (--scalar-font);
975
+ font-family: var(--scalar-font);
916
976
  cursor: pointer;
917
977
  }
918
978
  .scalar-api-client__item .scalar-api-client__item__title {
919
979
  color: var(--scalar-color-1);
920
980
  font-size: var(--scalar-small);
921
981
  font-weight: var(--scalar-semibold);
922
- font-family: (--scalar-font);
982
+ font-family: var(--scalar-font);
923
983
  user-select: none;
924
984
  flex: 1;
925
985
  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_vl0rh_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.1",
17
17
  "engines": {
18
18
  "node": ">=18"
19
19
  },
@@ -42,10 +42,10 @@
42
42
  "nanoid": "^5.0.1",
43
43
  "pretty-bytes": "^6.1.1",
44
44
  "pretty-ms": "^8.0.0",
45
- "@scalar/components": "0.5.0",
45
+ "@scalar/themes": "0.7.1",
46
46
  "@scalar/use-codemirror": "0.10.0",
47
47
  "@scalar/use-modal": "0.3.0",
48
- "@scalar/themes": "0.7.0",
48
+ "@scalar/components": "0.5.0",
49
49
  "@scalar/use-tooltip": "0.6.0"
50
50
  },
51
51
  "devDependencies": {
@@ -58,9 +58,9 @@
58
58
  "vitest": "^1.5.0",
59
59
  "vue": "^3.4.21",
60
60
  "vue-tsc": "^1.8.19",
61
- "@scalar/api-client-proxy": "0.5.24",
61
+ "@scalar/echo-server": "0.6.1",
62
62
  "@scalar/oas-utils": "0.1.6",
63
- "@scalar/echo-server": "0.6.1"
63
+ "@scalar/api-client-proxy": "0.5.24"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "vue": "^3.3.0",