@internetarchive/collection-browser 4.1.3-alpha-webdev8257.1 → 4.1.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.
@@ -6,17 +6,3 @@
6
6
  * - `minimal`: Show neither tile stats nor the text snippets.
7
7
  */
8
8
  export type LayoutType = 'default' | 'stats-only' | 'snippets-only' | 'minimal';
9
- /**
10
- * Describes an action button to render at the bottom of a tile.
11
- * Styling is controlled via CSS custom properties on the host:
12
- * - `--tileActionColor` (default: #333)
13
- * - `--tileActionBg` (default: #fff)
14
- * - `--tileActionHoverBg` (default: #f0f0f0)
15
- * - `--tileActionSeparatorColor` (default: #ddd)
16
- */
17
- export interface TileAction {
18
- /** Unique identifier for this action */
19
- id: string;
20
- /** Label text displayed on the button */
21
- label: string;
22
- }
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/tiles/models.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * What type of simplified tile layout to use.\n * - `default`: Do not apply any layout simplifications.\n * - `stats-only`: Only show the tile stats row, but not text snippets.\n * - `snippets-only`: Only show the text snippets row (if snippets exist), but not tile stats.\n * - `minimal`: Show neither tile stats nor the text snippets.\n */\nexport type LayoutType = 'default' | 'stats-only' | 'snippets-only' | 'minimal';\n\n/**\n * Describes an action button to render at the bottom of a tile.\n * Styling is controlled via CSS custom properties on the host:\n * - `--tileActionColor` (default: #333)\n * - `--tileActionBg` (default: #fff)\n * - `--tileActionHoverBg` (default: #f0f0f0)\n * - `--tileActionSeparatorColor` (default: #ddd)\n */\nexport interface TileAction {\n /** Unique identifier for this action */\n id: string;\n\n /** Label text displayed on the button */\n label: string;\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/tiles/models.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * What type of simplified tile layout to use.\r\n * - `default`: Do not apply any layout simplifications.\r\n * - `stats-only`: Only show the tile stats row, but not text snippets.\r\n * - `snippets-only`: Only show the text snippets row (if snippets exist), but not tile stats.\r\n * - `minimal`: Show neither tile stats nor the text snippets.\r\n */\r\nexport type LayoutType = 'default' | 'stats-only' | 'snippets-only' | 'minimal';\r\n"]}
@@ -12,7 +12,7 @@ import './list/tile-list-compact';
12
12
  import './list/tile-list-compact-header';
13
13
  import type { TileHoverPane } from './hover/tile-hover-pane';
14
14
  import { BaseTileComponent } from './base-tile-component';
15
- import { LayoutType, type TileAction } from './models';
15
+ import { LayoutType } from './models';
16
16
  import { HoverPaneProperties, HoverPaneProviderInterface } from './hover/hover-pane-controller';
17
17
  export declare class TileDispatcher extends BaseTileComponent implements SharedResizeObserverResizeHandlerInterface, HoverPaneProviderInterface {
18
18
  tileDisplayMode?: TileDisplayMode;
@@ -25,8 +25,6 @@ export declare class TileDispatcher extends BaseTileComponent implements SharedR
25
25
  /** Whether this tile should include a hover pane at all (for applicable tile modes) */
26
26
  enableHoverPane: boolean;
27
27
  manageCheckTitle: string;
28
- /** Action buttons to display at the bottom of the tile (grid mode only) */
29
- tileActions: TileAction[];
30
28
  private hoverPaneController?;
31
29
  private container;
32
30
  private hoverPane?;
@@ -74,15 +72,6 @@ export declare class TileDispatcher extends BaseTileComponent implements SharedR
74
72
  */
75
73
  private handleLinkContextMenu;
76
74
  private tileInfoButtonPressed;
77
- /** Whether tile action buttons should be rendered */
78
- private get showTileActions();
79
- private get tileActionsTemplate();
80
- /**
81
- * When the mouse enters the tile actions area, dispatch a synthetic mouseleave
82
- * on the host to cancel the hover pane's show timer and hide any visible pane.
83
- */
84
- private handleTileActionsMouseEnter;
85
- private handleTileActionClick;
86
75
  private get tile();
87
76
  static get styles(): import("lit").CSSResult[];
88
77
  }