@scalar/api-reference 1.44.2 → 1.44.4

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/dist/browser/standalone.js +19621 -19559
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/AgentScalar/AgentScalarButton.vue.d.ts +3 -0
  5. package/dist/components/AgentScalar/AgentScalarButton.vue.d.ts.map +1 -0
  6. package/dist/components/AgentScalar/AgentScalarButton.vue.js +22 -0
  7. package/dist/components/AgentScalar/AgentScalarButton.vue2.js +4 -0
  8. package/dist/components/{AgentChat.vue.d.ts → AgentScalar/AgentScalarChatInterface.vue.d.ts} +4 -2
  9. package/dist/components/AgentScalar/AgentScalarChatInterface.vue.d.ts.map +1 -0
  10. package/dist/components/AgentScalar/AgentScalarChatInterface.vue.js +4 -0
  11. package/dist/components/{AgentChat.vue2.js → AgentScalar/AgentScalarChatInterface.vue2.js} +9 -7
  12. package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts +12 -0
  13. package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -0
  14. package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +7 -0
  15. package/dist/components/AgentScalar/AgentScalarDrawer.vue2.js +53 -0
  16. package/dist/components/AgentScalar/AgentScalarTooltip.vue.d.ts +19 -0
  17. package/dist/components/AgentScalar/AgentScalarTooltip.vue.d.ts.map +1 -0
  18. package/dist/components/AgentScalar/AgentScalarTooltip.vue.js +35 -0
  19. package/dist/components/AgentScalar/AgentScalarTooltip.vue2.js +4 -0
  20. package/dist/components/AgentScalar/index.d.ts +4 -0
  21. package/dist/components/AgentScalar/index.d.ts.map +1 -0
  22. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  23. package/dist/components/ApiReference.vue.js +1 -1
  24. package/dist/components/ApiReference.vue2.js +51 -70
  25. package/dist/components/MobileHeader.vue.js +2 -2
  26. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  27. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  28. package/dist/features/Operation/layouts/ModernLayout.vue2.js +2 -0
  29. package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts +3 -0
  30. package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -0
  31. package/dist/features/ask-agent-button/AskAgentButton.vue.js +7 -0
  32. package/dist/features/ask-agent-button/AskAgentButton.vue2.js +47 -0
  33. package/dist/helpers/lazy-bus.d.ts.map +1 -1
  34. package/dist/helpers/lazy-bus.js +5 -3
  35. package/dist/helpers/storage.d.ts +2 -2
  36. package/dist/hooks/index.d.ts +1 -0
  37. package/dist/hooks/index.d.ts.map +1 -1
  38. package/dist/hooks/index.js +4 -0
  39. package/dist/hooks/use-agent.d.ts +36 -0
  40. package/dist/hooks/use-agent.d.ts.map +1 -0
  41. package/dist/hooks/use-agent.js +42 -0
  42. package/dist/style.css +271 -204
  43. package/package.json +15 -15
  44. package/dist/components/AgentChat.vue.d.ts.map +0 -1
  45. package/dist/components/AgentChat.vue.js +0 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,78 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.44.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8000](https://github.com/scalar/scalar/pull/8000): fix(agent): change enabled flag to disabled
8
+ - [#7979](https://github.com/scalar/scalar/pull/7979): fix: prevent re-rendering of already-ready items in lazy-bus queue
9
+
10
+ Restores the readyQueue guard in addToPendingQueue to prevent items that are
11
+ already rendered from being re-added to the pending queue. This fixes a
12
+ performance regression introduced in #7497 where large API specs would
13
+ experience severe slowdowns due to items being reprocessed on every scroll
14
+ or interaction.
15
+
16
+ The fix maintains the callback functionality from #7497 by still allowing
17
+ items to be added to the priority queue (for callback triggering), but
18
+ processQueue now skips adding items that are already in readyQueue.
19
+
20
+ - [#8002](https://github.com/scalar/scalar/pull/8002): feat(agent): add inline agent chat
21
+ - [#7985](https://github.com/scalar/scalar/pull/7985): fix(api-reference): set fallback for mobile header sticky offset
22
+ - [#7784](https://github.com/scalar/scalar/pull/7784): fix: resolve oauth2 relative URLs against relative server URLs
23
+ - [#7995](https://github.com/scalar/scalar/pull/7995): feat: enable/disable agent scalar
24
+ - [#7977](https://github.com/scalar/scalar/pull/7977): fix(api-reference): apply sidebar width variable
25
+
26
+ #### Updated Dependencies
27
+
28
+ - **@scalar/types@0.6.1**
29
+ - [#8000](https://github.com/scalar/scalar/pull/8000): fix(agent): change enabled flag to disabled
30
+ - [#7995](https://github.com/scalar/scalar/pull/7995): feat: enable/disable agent scalar
31
+
32
+ - **@scalar/agent-chat@0.4.5**
33
+ - [#7976](https://github.com/scalar/scalar/pull/7976): Clean-up chat form logic
34
+ - [#8002](https://github.com/scalar/scalar/pull/8002): feat(agent): add inline agent chat
35
+ - [#7995](https://github.com/scalar/scalar/pull/7995): feat: enable/disable agent scalar
36
+
37
+ - **@scalar/api-client@2.22.2**
38
+ - [#7998](https://github.com/scalar/scalar/pull/7998): Made the inputs to useCommandPalette state reactive
39
+ - [#7988](https://github.com/scalar/scalar/pull/7988): feat: restore old client search
40
+ - [#8002](https://github.com/scalar/scalar/pull/8002): feat(agent): add inline agent chat
41
+ - [#7784](https://github.com/scalar/scalar/pull/7784): fix: resolve oauth2 relative URLs against relative server URLs
42
+ - [#7971](https://github.com/scalar/scalar/pull/7971): fix: improve sidebar click behavior
43
+
44
+ - **@scalar/workspace-store@0.28.0**
45
+ - [#7970](https://github.com/scalar/scalar/pull/7970): feat: update sidebar when docuemnt title changes
46
+ - [#7988](https://github.com/scalar/scalar/pull/7988): feat: restore old client search
47
+ - [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
48
+
49
+ - **@scalar/sidebar@0.7.24**
50
+ - [#7988](https://github.com/scalar/scalar/pull/7988): feat: restore old client search
51
+
52
+ - **@scalar/use-hooks@0.3.7**
53
+ - [#7977](https://github.com/scalar/scalar/pull/7977): chore(use-hooks): update tailwind merge to v3.4.0
54
+
55
+ - **@scalar/openapi-parser@0.24.6**
56
+ - [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
57
+
58
+ - **@scalar/helpers@0.2.10**
59
+ - [#7963](https://github.com/scalar/scalar/pull/7963): feat: unify is-object helpers
60
+
61
+ - **@scalar/oas-utils@0.6.31**
62
+
63
+ - **@scalar/snippetz@0.6.10**
64
+
65
+ - **@scalar/components@0.17.1**
66
+
67
+ ## 1.44.3
68
+
69
+ ### Patch Changes
70
+
71
+ #### Updated Dependencies
72
+
73
+ - **@scalar/agent-chat@0.4.3**
74
+ - [#7974](https://github.com/scalar/scalar/pull/7974): fix(agent): change agent share to source
75
+
3
76
  ## 1.44.2
4
77
 
5
78
  ### Patch Changes