@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.
- package/AGENTS.md +12 -2
- package/CHANGELOG.md +31 -2
- package/dist/{TopBar-5h0LblO6.js → TopBar-BIBDb_-Y.js} +2575 -1843
- package/dist/TopBar-BTHYgyhs.cjs +1 -0
- package/dist/blocks/AiChatBlock/AiChatBlock.d.ts +6 -0
- package/dist/blocks/AiChatBlock/index.d.ts +2 -0
- package/dist/blocks/AiChatBlock/parts/AiSidebar.d.ts +44 -0
- package/dist/blocks/AiChatBlock/parts/ComposerOptions.d.ts +9 -0
- package/dist/blocks/AiWelcomeBlock/AiWelcomeBlock.d.ts +12 -0
- package/dist/blocks/AiWelcomeBlock/index.d.ts +2 -0
- package/dist/blocks/index.d.ts +4 -0
- package/dist/blocks.cjs +2 -2
- package/dist/blocks.mjs +2704 -2174
- package/dist/building-warehouse-DclrayB9.cjs +1 -0
- package/dist/{building-warehouse-_n8EvYUt.js → building-warehouse-LeVw9LPU.js} +48 -42
- package/dist/components/AiMessage/AiMessage.d.ts +17 -0
- package/dist/components/AiMessage/index.d.ts +2 -0
- package/dist/components/AttachmentChip/AttachmentChip.d.ts +17 -0
- package/dist/components/AttachmentChip/index.d.ts +2 -0
- package/dist/components/ChatOrb/ChatOrb.d.ts +21 -0
- package/dist/components/ChatOrb/index.d.ts +2 -0
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/PromptComposer/PromptComposer.d.ts +34 -0
- package/dist/components/PromptComposer/index.d.ts +2 -0
- package/dist/components/ReasoningTrace/ReasoningTrace.d.ts +17 -0
- package/dist/components/ReasoningTrace/index.d.ts +2 -0
- package/dist/components/SuggestionChip/SuggestionChip.d.ts +16 -0
- package/dist/components/SuggestionChip/index.d.ts +2 -0
- package/dist/components/Textarea/Textarea.d.ts +1 -1
- package/dist/components/ThinkingLoader/ThinkingLoader.d.ts +8 -0
- package/dist/components/ThinkingLoader/index.d.ts +2 -0
- package/dist/components/ToolCall/ToolCall.d.ts +21 -0
- package/dist/components/ToolCall/index.d.ts +2 -0
- package/dist/current-location-D6hMSldS.cjs +1 -0
- package/dist/current-location-xo8zXAPZ.js +40 -0
- package/dist/emoji-index.json +1 -1
- package/dist/help-circle-BKFYrUSW.cjs +1 -0
- package/dist/help-circle-D7EwSQUH.js +123 -0
- package/dist/icon-index.json +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.mjs +3927 -3954
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +2209 -2186
- package/dist/lib/AiGlow.d.ts +3 -2
- package/dist/lib/EmberRing.d.ts +6 -0
- package/dist/lib/LiquidGlass.d.ts +1 -1
- package/dist/lib/RayLoader.d.ts +8 -0
- package/dist/manifest.json +737 -44
- package/dist/style.css +1 -1
- package/dist/tokens.css +17 -0
- package/package.json +1 -1
- package/dist/TopBar-D50mmITH.cjs +0 -1
- package/dist/building-warehouse-BUtjAEPH.cjs +0 -1
- package/dist/help-circle-qEEVeIea.js +0 -99
- package/dist/help-circle-rtL4juBJ.cjs +0 -1
- package/dist/logout-BLSXL3qV.js +0 -43
- package/dist/logout-pQUABnfO.cjs +0 -1
package/dist/lib/AiGlow.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
/** `
|
|
3
|
-
|
|
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
|
}>;
|
|
@@ -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': "
|
|
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;
|