@q1travel/design-system 0.3.0 → 0.3.2

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.
@@ -539,7 +539,7 @@ export declare function ErrorCard({ title, message, action }: {
539
539
  }): JSX.Element;
540
540
 
541
541
  export declare function ErrorMessage({ label, size, action, children, }: {
542
- /** 可见的粗体标签前缀(如「邮箱错误:」),点明出错对象;缺省不显示(sr-only 前缀恒在)。 */
542
+ /** 可见的粗体标签前缀(如「邮箱错误:」),点明出错对象;缺省不显示(q1-sr-only 前缀恒在)。 */
543
543
  label?: string;
544
544
  size?: ErrorMessageSize;
545
545
  /** 恢复操作插槽:可安全重试用「重试」按钮,链接式出口放 <a>。 */
@@ -970,7 +970,7 @@ export declare function Switch({ options, ariaLabel, name, defaultValue, onChang
970
970
  onChange?: (value: string) => void;
971
971
  size?: 'sm' | 'md' | 'lg';
972
972
  fullWidth?: boolean;
973
- /** 纯图标模式:文字标签仍在,只是视觉隐藏(sr-only),可访问名称不丢失。 */
973
+ /** 纯图标模式:文字标签仍在,只是视觉隐藏(q1-sr-only),可访问名称不丢失。 */
974
974
  iconOnly?: boolean;
975
975
  }): JSX.Element | null;
976
976