@godxjp/chat 33.6.2 → 33.7.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.
@@ -1,4 +1,4 @@
1
- import { A as AttachmentsOverflowProp, a as AttachmentsSemanticProp, c as ClassNameProp } from './data-entry.prop-D4jLTqUk.js';
1
+ import { A as AttachmentsOverflowProp, a as AttachmentsSemanticProp, c as ClassNameProp } from './data-entry.prop-BynocP3d.js';
2
2
  import * as _godxjp_ui_data_entry from '@godxjp/ui/data-entry';
3
3
  import * as React from 'react';
4
4
  import { AttachmentsItemProp, AttachmentsPlaceholderProp, AttachmentsRefProp } from '@godxjp/ui/props/components';
@@ -1,4 +1,4 @@
1
- import { V as ValueProp, D as DefaultValueProp, O as OnValueChangeProp, P as PendingProp, b as ChatComposerSubmitTypeProp, f as PlaceholderProp, e as DisabledProp, C as ChatComposerFooterProp, S as SizeProp, d as ControlStatusProp, N as NameProp, I as IdProp, c as ClassNameProp } from './data-entry.prop-D4jLTqUk.js';
1
+ import { V as ValueProp, D as DefaultValueProp, O as OnValueChangeProp, P as PendingProp, b as ChatComposerSubmitTypeProp, f as PlaceholderProp, e as DisabledProp, C as ChatComposerFooterProp, S as SizeProp, d as ControlStatusProp, N as NameProp, I as IdProp, c as ClassNameProp } from './data-entry.prop-BynocP3d.js';
2
2
  import * as React from 'react';
3
3
  export { ChatComposerActionComponents, ChatComposerFooterProp, ChatComposerProp, ChatComposerProp as ChatComposerProps, ChatComposerSubmitTypeProp } from '@godxjp/ui/props/components';
4
4
 
@@ -54,8 +54,13 @@ type ShapeProp = "default" | "pill" | "sharp";
54
54
  type TextAlignProp = "start" | "center" | "end";
55
55
  /** Button size preset. */
56
56
  type SizeProp = "xs" | "sm" | "md" | "lg";
57
- /** Button size preset; icon-only sizes are a documented Button subset. */
58
- type ButtonSizeProp = SizeProp | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg";
57
+ /**
58
+ * Button size preset; icon-only sizes are a documented Button subset. `touch` (gh#1304) is the
59
+ * glove step — at least 56×56 CSS px (`--control-height-touch`) for wet or gloved hands; it is
60
+ * shared with Segmented, Toggle/ToggleGroup and `RadioGroup optionType="button"`, and is NOT a
61
+ * member of `SizeProp`, so a control that cannot honour it does not type-check it.
62
+ */
63
+ type ButtonSizeProp = SizeProp | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "touch";
59
64
  /**
60
65
  * Validation state a data-entry control PAINTS — Ant Design's `status` axis, which
61
66
  * docs/DESIGN-AUTHORITY.md names the taxonomy authority for this library.
package/dist/index.d.ts CHANGED
@@ -7,5 +7,5 @@ export { ThoughtChain, ThoughtChainItem } from './thought-chain.js';
7
7
  export { Welcome } from './welcome.js';
8
8
  export { AttachmentsItemProp, AttachmentsOverflowProp, AttachmentsPlaceholderProp, AttachmentsProp, AttachmentsProp as AttachmentsProps, AttachmentsRefProp, ChatBubbleListProp, ChatBubblePlacementProp, ChatBubbleProp, ChatBubbleToneProp, ChatBubbleTypingProp, ChatBubbleVariantProp, ChatComposerProp, ChatComposerProp as ChatComposerProps, ChatComposerSubmitTypeProp, ChatMessageProp, ChatSuggestionItemProp, ChatSuggestionProp, ChatSuggestionProp as ChatSuggestionProps, ChatSuggestionRenderProp, ConversationsCreationProp, ConversationsDividerProp, ConversationsEntryProp, ConversationsGroupableProp, ConversationsItemProp, ConversationsMenuItemProp, ConversationsMenuProp, ConversationsProp, ConversationsProp as ConversationsProps, ThoughtChainItemProp, ThoughtChainItemProp as ThoughtChainItemProps, ThoughtChainItemsProp, ThoughtChainLineProp, ThoughtChainProp, ThoughtChainProp as ThoughtChainProps, ThoughtChainStatusProp, ThoughtChainVariantProp, WelcomeProp, WelcomeProp as WelcomeProps, WelcomeVariantProp } from '@godxjp/ui/props/components';
9
9
  import 'react';
10
- import './data-entry.prop-D4jLTqUk.js';
10
+ import './data-entry.prop-BynocP3d.js';
11
11
  import '@godxjp/ui/data-entry';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godxjp/chat",
3
- "version": "33.6.2",
3
+ "version": "33.7.0",
4
4
  "description": "Conversational UI for GoDX apps on @godxjp/ui: message bubbles and lists, the composer with slash / mention suggestions, the conversation list, thought chains, the welcome block, attachments and the message action bar — IME-safe, ja / en / vi.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -32,7 +32,7 @@
32
32
  "lucide-react": "^1.37.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "@godxjp/ui": "~33.6.2",
35
+ "@godxjp/ui": "~33.7.0",
36
36
  "react": ">=19.0.0",
37
37
  "react-dom": ">=19.0.0"
38
38
  },