@baton8/general-components 3.1.0-alpha.3 → 3.1.0-alpha.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.
@@ -42,7 +42,7 @@ export declare const GeneralIcon: import("react").ForwardRefExoticComponent<impo
42
42
  * アイコンの反転。
43
43
  * @defaultValue `"none"`
44
44
  */
45
- flip?: "none" | "both" | "horizontal" | "vertical" | undefined;
45
+ flip?: "both" | "none" | "horizontal" | "vertical" | undefined;
46
46
  /**
47
47
  * アイコンの回転角度。
48
48
  * @defaultValue `0`
@@ -52,6 +52,8 @@ export declare const Link: import("react").ForwardRefExoticComponent<import("../
52
52
  * @defaultValue `"medium"`
53
53
  */
54
54
  size?: "small" | "medium" | "large" | undefined;
55
+ /** */
56
+ download?: unknown;
55
57
  /**
56
58
  * 内部の余白を少なくし、全体を少し小さめに表示するかどうか。
57
59
  * 基本的には `false` (デフォルト値) で使うことを推奨しますが、フォームの一部として使う場合など、省スペースで表示したいときには `true` にしてください。
@@ -23,7 +23,7 @@ export declare const Textarea: import("react").ForwardRefExoticComponent<import(
23
23
  * リサイズ可能な方向。
24
24
  * @defaultValue `"vertical"`
25
25
  */
26
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
26
+ resize?: "both" | "none" | "horizontal" | "vertical" | undefined;
27
27
  /** */
28
28
  inputMode?: "search" | "numeric" | "decimal" | "text" | "none" | "tel" | "url" | "email" | undefined;
29
29
  /**
package/dist/index.js CHANGED
@@ -1053,7 +1053,7 @@
1053
1053
  &[data-qlib-loading="true"] {
1054
1054
  display: flex;
1055
1055
  }
1056
- `,(0,r.forwardRef)(((o,t)=>{var{href:n,target:i,scheme:a="primary",variant:l="underline",size:s="medium",isCompact:c=!1,onClick:d,onKeyDown:b,onKeyUp:p,onMouseDown:u,onPointerDown:f,children:m,className:y}=o,g=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["href","target","scheme","variant","size","isCompact","onClick","onKeyDown","onKeyUp","onMouseDown","onPointerDown","children","className"]);const h=(0,r.useMemo)((()=>"solid"===l||"light"===l?Dr(a):"underline"===l||"simple"===l?Mr(a):Rr(a)),[a,l]);return(0,e.jsx)("a",Object.assign({className:y,css:h,href:n,target:i,onClick:d,onKeyDown:b,onKeyUp:p,onMouseDown:u,onPointerDown:f,ref:t,"data-qlib-variant":l,"data-qlib-size":s,"data-qlib-compact":c},g,{children:m}))})));Lr.displayName="Link";const Fr={root:a.css`
1056
+ `,(0,r.forwardRef)(((o,t)=>{var{href:n,target:i,scheme:a="primary",variant:l="underline",size:s="medium",download:c,isCompact:d=!1,onClick:b,onKeyDown:p,onKeyUp:u,onMouseDown:f,onPointerDown:m,children:y,className:g}=o,h=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["href","target","scheme","variant","size","download","isCompact","onClick","onKeyDown","onKeyUp","onMouseDown","onPointerDown","children","className"]);const O=(0,r.useMemo)((()=>"solid"===l||"light"===l?Dr(a):"underline"===l||"simple"===l?Mr(a):Rr(a)),[a,l]);return(0,e.jsx)("a",Object.assign({className:g,css:O,href:n,target:i,download:c,onClick:b,onKeyDown:p,onKeyUp:u,onMouseDown:f,onPointerDown:m,ref:t,"data-qlib-variant":l,"data-qlib-size":s,"data-qlib-compact":d},h,{children:y}))})));Lr.displayName="Link";const Fr={root:a.css`
1057
1057
  margin-inline-end: ${$("gap")};
1058
1058
  display: inline;
1059
1059
  flex-grow: 0;