Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .ai/rules/stories-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,23 @@ export const StaticColors: Story = {

The decorator displays two background zones—dark gradient for `static-color="white"` content, light gradient for `static-color="black"` content.

## Story naming

When the camelCase export name does not produce a readable display name — for example, `TextWrapping` for a story that should appear as "Text wrapping" — set the display name via `storyName` assigned after the export:

```typescript
/**
* When the pointer moves from the trigger into the popover bubble, the popover stays
* open...
*/
export const TextWrapping: Story = {
tags: ['behaviors'],
};
TextWrapping.storyName = 'Text wrapping';
```

Do **not** use a `### Heading` at the top of a JSDoc comment as a proxy for the story's display name. JSDoc H3 headings are only appropriate for sub-sections within the documentation body (for example, `### Features` and `### Best practices` inside an Accessibility story).

## Story ordering

Control display order within sections using `section-order`. Stories sort by lowest value first, then alphabetically for ties or missing values.
Expand Down
17 changes: 17 additions & 0 deletions 2nd-gen/packages/core/controllers/hover-controller/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Copyright 2026 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export {
HoverController,
type HoverControllerHost,
type HoverControllerOptions,
} from './src/hover-controller.js';
Loading