ingred-ui 27.4.0 → 27.4.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.
@@ -64,7 +64,6 @@ export default meta;
64
64
  * ```
65
65
  */
66
66
  export declare const Default: StoryObj<typeof DataTable2>;
67
- export declare const Sample: StoryObj<typeof DataTable2>;
68
67
  /**
69
68
  * 以下のように、セルの loading を true に設定すると、スピナーが表示されます。
70
69
  * ```
@@ -76,11 +75,6 @@ export declare const Sample: StoryObj<typeof DataTable2>;
76
75
  * 「カラム」でフィルターやソートを明示しない場合も、それらの機能は非表示になります。
77
76
  */
78
77
  export declare const Loading: StoryObj<typeof DataTable2>;
79
- /**
80
- * `enableRowSelection={false}` のとき、一括チェック・「n件を」・行頭チェック列を出さない。
81
- * `tableActions` は `enabledWhen: "unchecked"` のみなど、行選択に依存しない操作だけ置ける。
82
- */
83
- export declare const WithoutRowSelection: StoryObj<typeof DataTable2>;
84
78
  /**
85
79
  * `enableRowSelection`(既定 `true`)かつ **`tableActions` を渡さない** とき。
86
80
  *
@@ -93,6 +87,8 @@ export declare const RowSelectionWithoutTableActions: StoryObj<typeof DataTable2
93
87
  * `tableActions` で行頭チェック列・一括選択ツールバーも表示できる(チェック列は通常列としてスクロールする)。
94
88
  * 右 sticky 列は `columns` で `sortable: false` の末尾列にしておくと、カラム編集でドラッグ移動されない(`endFixed` と整合)。
95
89
  * ツールバー右の設定ボタンから「カラムを編集」を開き、A〜D の並び替えと末尾「操作」がドラッグ不可であることを確認できる(A〜D は `sortable: true`)。
96
- * ストーリー側では縦横サイズを固定していない。挙動確認時はプレビュー枠の幅などを自分で調整すること。
90
+ * 外枠に高さ・横幅 100% を与え多めの行を表示し、縦スクロールでヘッダ(各 `th` の sticky)が張り付くことを確認できる。
91
+ * コンテナ幅に応じて列幅を比例縮小する(狭いビューポートでも横スクロールしやすい)。
92
+ * 列ヘッダをドラッグして幅を変えた列はその幅を維持し、それ以外の列はコンテナ幅の変化に追従する。
97
93
  */
98
94
  export declare const StickyColumns: StoryObj<typeof DataTable2>;
@@ -25,7 +25,7 @@ export declare const DataTable2Context: import("react").Context<{
25
25
  setColumnWidth: (index: number, width: number | null) => void;
26
26
  setRowSpacing: (spacing: RowSpacing) => void;
27
27
  }>;
28
- /** 横スクロール位置に応じた sticky 列の境目・影の表示(DataTable2 内のスクロール領域専用) */
28
+ /** 横スクロール位置に応じた右 sticky 列の左 inset 線の表示(DataTable2 内のスクロール領域専用) */
29
29
  export declare const DataTable2StickyScrollContext: import("react").Context<{
30
30
  showStickyRightEdgeDecoration: boolean;
31
31
  }>;
@@ -36,7 +36,7 @@ export declare const DataTable2StickyScrollContext: import("react").Context<{
36
36
  export declare const DataTable2ColumnStickyContext: import("react").Context<{
37
37
  registerColumnSticky: (index: number, sticky: "right" | undefined) => void;
38
38
  getStickyRightOffset: (columnIndex: number) => number | undefined;
39
- /** 右 sticky 列の index(装飾はこの列の左縁) */
39
+ /** 右 sticky 列の index(左の inset 線はこの列の左縁) */
40
40
  rightStickyColumnIndex: number | null;
41
41
  getRightStickyZIndexHead: (columnIndex: number) => number;
42
42
  getRightStickyZIndexBody: (columnIndex: number) => number;
@@ -25,7 +25,7 @@ export declare const DataTable2Header: import("styled-components").StyledCompone
25
25
  export declare const DataTable2Column: import("styled-components").StyledComponent<"th", import("styled-components").DefaultTheme, {
26
26
  $stickyRightOffset?: number | undefined;
27
27
  $stickyZIndex?: number | undefined;
28
- /** false のとき inset 線と隣セル側の影帯(::after)を付けない */
28
+ /** false のとき右 sticky 列の左 inset 線を付けない */
29
29
  $showStickyEdgeDecoration?: boolean | undefined;
30
30
  }, never>;
31
31
  /** tbody の通常セル(横スクロール時の右 sticky 用) */