@sakaniui/react 0.14.2 → 0.15.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.
Files changed (58) hide show
  1. package/AGENTS.md +12 -2
  2. package/CHANGELOG.md +31 -2
  3. package/dist/{TopBar-5h0LblO6.js → TopBar-BIBDb_-Y.js} +2575 -1843
  4. package/dist/TopBar-BTHYgyhs.cjs +1 -0
  5. package/dist/blocks/AiChatBlock/AiChatBlock.d.ts +6 -0
  6. package/dist/blocks/AiChatBlock/index.d.ts +2 -0
  7. package/dist/blocks/AiChatBlock/parts/AiSidebar.d.ts +44 -0
  8. package/dist/blocks/AiChatBlock/parts/ComposerOptions.d.ts +9 -0
  9. package/dist/blocks/AiWelcomeBlock/AiWelcomeBlock.d.ts +12 -0
  10. package/dist/blocks/AiWelcomeBlock/index.d.ts +2 -0
  11. package/dist/blocks/index.d.ts +4 -0
  12. package/dist/blocks.cjs +2 -2
  13. package/dist/blocks.mjs +2704 -2174
  14. package/dist/building-warehouse-DclrayB9.cjs +1 -0
  15. package/dist/{building-warehouse-_n8EvYUt.js → building-warehouse-LeVw9LPU.js} +48 -42
  16. package/dist/components/AiMessage/AiMessage.d.ts +17 -0
  17. package/dist/components/AiMessage/index.d.ts +2 -0
  18. package/dist/components/AttachmentChip/AttachmentChip.d.ts +17 -0
  19. package/dist/components/AttachmentChip/index.d.ts +2 -0
  20. package/dist/components/ChatOrb/ChatOrb.d.ts +21 -0
  21. package/dist/components/ChatOrb/index.d.ts +2 -0
  22. package/dist/components/Input/Input.d.ts +1 -1
  23. package/dist/components/PromptComposer/PromptComposer.d.ts +34 -0
  24. package/dist/components/PromptComposer/index.d.ts +2 -0
  25. package/dist/components/ReasoningTrace/ReasoningTrace.d.ts +17 -0
  26. package/dist/components/ReasoningTrace/index.d.ts +2 -0
  27. package/dist/components/SuggestionChip/SuggestionChip.d.ts +16 -0
  28. package/dist/components/SuggestionChip/index.d.ts +2 -0
  29. package/dist/components/Textarea/Textarea.d.ts +1 -1
  30. package/dist/components/ThinkingLoader/ThinkingLoader.d.ts +8 -0
  31. package/dist/components/ThinkingLoader/index.d.ts +2 -0
  32. package/dist/components/ToolCall/ToolCall.d.ts +21 -0
  33. package/dist/components/ToolCall/index.d.ts +2 -0
  34. package/dist/current-location-D6hMSldS.cjs +1 -0
  35. package/dist/current-location-xo8zXAPZ.js +40 -0
  36. package/dist/emoji-index.json +1 -1
  37. package/dist/help-circle-BKFYrUSW.cjs +1 -0
  38. package/dist/help-circle-D7EwSQUH.js +123 -0
  39. package/dist/icon-index.json +1 -1
  40. package/dist/icons.cjs +1 -1
  41. package/dist/icons.mjs +3927 -3954
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.d.ts +8 -0
  44. package/dist/index.mjs +2209 -2186
  45. package/dist/lib/AiGlow.d.ts +3 -2
  46. package/dist/lib/EmberRing.d.ts +6 -0
  47. package/dist/lib/LiquidGlass.d.ts +1 -1
  48. package/dist/lib/RayLoader.d.ts +8 -0
  49. package/dist/manifest.json +737 -44
  50. package/dist/style.css +1 -1
  51. package/dist/tokens.css +17 -0
  52. package/package.json +1 -1
  53. package/dist/TopBar-D50mmITH.cjs +0 -1
  54. package/dist/building-warehouse-BUtjAEPH.cjs +0 -1
  55. package/dist/help-circle-qEEVeIea.js +0 -99
  56. package/dist/help-circle-rtL4juBJ.cjs +0 -1
  57. package/dist/logout-BLSXL3qV.js +0 -43
  58. package/dist/logout-pQUABnfO.cjs +0 -1
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
- /** `pulse` sweeps every 2.5s while idle, and once each time the field takes focus; `focus` sweeps only on focus; `off` draws nothing. */
3
- export type AiGlowMode = 'pulse' | 'focus' | 'off';
2
+ /** `once` (the default) sweeps one lap shortly after the box appears and then stays still, focused or not; `pulse` sweeps every 2.5s while
3
+ * idle and once each time the field takes focus; `focus` sweeps only on focus; `off` draws nothing. Only `once` is quiet enough to leave on. */
4
+ export type AiGlowMode = 'once' | 'pulse' | 'focus' | 'off';
4
5
  export declare const AiGlow: React.FC<{
5
6
  mode: AiGlowMode;
6
7
  }>;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export declare const EmberRing: React.FC<{
3
+ size?: number;
4
+ className?: string;
5
+ }>;
6
+ export default EmberRing;
@@ -58,7 +58,7 @@ export declare function useLiquidGlass(ref: React.RefObject<HTMLElement | null>,
58
58
  refracting: boolean;
59
59
  props: {
60
60
  readonly 'data-surface': "liquid";
61
- readonly 'data-refraction': "source" | "off" | "on";
61
+ readonly 'data-refraction': "off" | "on" | "source";
62
62
  readonly style: {
63
63
  backdropFilter: string;
64
64
  } | undefined;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ /** `beat` makes the whole spinner give one soft pulse every 1.6s, timed to the shimmer of a label beside it (see ThinkingLoader). */
3
+ export declare const RayLoader: React.FC<{
4
+ size?: number;
5
+ className?: string;
6
+ beat?: boolean;
7
+ }>;
8
+ export default RayLoader;