-
Notifications
You must be signed in to change notification settings - Fork 119
FE-472: fix type header appearance #8861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bd8b306
Fix entity-type header appearance
alex-e-leon c90d5e4
Add panda css to hash-frontend
alex-e-leon bd91c43
Some styling adjustments
alex-e-leon 6cc28e4
Handle ellipsifying extremely long text that doesn't break
alex-e-leon fab18b7
Fix breadcrumb positioning in entity-type drawer
alex-e-leon 61aa1f5
Fix squeezed button
alex-e-leon b003893
Fix lint errors
alex-e-leon b74906d
Update entity links
alex-e-leon fc98a0f
Fix drawer breadcrumb positioning
alex-e-leon dc14b82
Switch entity plural to always stack in header
alex-e-leon 23397e7
Simplify EntityLinkPlural
alex-e-leon ea16fbb
Remove action menu in entity-type-header in drawers
alex-e-leon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| import { createRequire } from "node:module"; | ||
|
|
||
| import { defineConfig } from "@pandacss/dev"; | ||
|
|
||
| import { scopedThemeConfig } from "@hashintel/ds-components/preset"; | ||
|
|
||
| /** Panda evaluates this config through CJS, so `__filename` is available here. */ | ||
| const require = createRequire(__filename); | ||
|
|
||
| /** | ||
| * Generates the stylesheet backing `@hashintel/ds-components` usage in this | ||
| * app: `panda cssgen` (part of the `codegen` script) writes | ||
| * `src/pages/ds-components-styles.gen.css`, which is imported in | ||
| * `_app.page.tsx`. | ||
| * | ||
| * Atomic utility classes are global, while the design system's preflight, | ||
| * token variables and global styles are scoped to `.hash-ds-root` so they | ||
| * cannot interfere with the MUI-styled rest of the app. Wrap any subtree that | ||
| * uses themed ds-components in an element with that class. | ||
| */ | ||
| export default defineConfig({ | ||
| ...scopedThemeConfig(".hash-ds-root"), | ||
|
|
||
| /** | ||
| * Only styles used inside ds-components itself — this app does not author | ||
| * Panda styles. Add `./src` globs here if `css()` calls are introduced. | ||
| */ | ||
| include: [require.resolve("@hashintel/ds-components/panda.buildinfo.json")], | ||
|
|
||
| exclude: [], | ||
|
|
||
| // Polyfill CSS @layer, as this app's unlayered global resets would | ||
| // otherwise override layered utilities. | ||
| polyfill: true, | ||
|
|
||
| importMap: "@hashintel/ds-helpers", | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.