-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new entry point as
next
and update draft Tooltip to export it…
… from next (#4250) * Add a new entry point as and update draft Tooltip to export it from next * fix linting n add changeset * move the src code out of drafts and update docs * fix folder path and storyname * test(vrt): update snapshots * update tooltip's position to be absolute * Update docs/content/TooltipV2.mdx --------- Co-authored-by: broccolinisoup <broccolinisoup@users.noreply.github.com>
- Loading branch information
1 parent
fe6412f
commit 65aae45
Showing
68 changed files
with
107 additions
and
70 deletions.
There are no files selected for viewing
This file contains 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,5 @@ | ||
--- | ||
'@primer/react': minor | ||
--- | ||
|
||
Add a new entry point 'next' and export the Tooltip v2 from it with an updated documentation |
Binary file added
BIN
+10.7 KB
...oltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...s/TooltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...ipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...mponents/TooltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.7 KB
...oltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
...ltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...pV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
...ponents/TooltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
...ltipV2.test.ts-snapshots/TooltipV2-Anchor-Has-Margin-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.9 KB
...ipV2.test.ts-snapshots/TooltipV2-Calculated-Direction-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.8 KB
...ooltipV2.test.ts-snapshots/TooltipV2-Calculated-Direction-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12 KB
...2.test.ts-snapshots/TooltipV2-Calculated-Direction-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.9 KB
...nents/TooltipV2.test.ts-snapshots/TooltipV2-Calculated-Direction-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.9 KB
...ipV2.test.ts-snapshots/TooltipV2-Calculated-Direction-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12 KB
...pV2.test.ts-snapshots/TooltipV2-Calculated-Direction-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12 KB
....test.ts-snapshots/TooltipV2-Calculated-Direction-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12 KB
...ents/TooltipV2.test.ts-snapshots/TooltipV2-Calculated-Direction-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12 KB
...pV2.test.ts-snapshots/TooltipV2-Calculated-Direction-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.63 KB
...ponents/TooltipV2.test.ts-snapshots/TooltipV2-Default-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.57 KB
.../components/TooltipV2.test.ts-snapshots/TooltipV2-Default-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.69 KB
...ents/TooltipV2.test.ts-snapshots/TooltipV2-Default-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.62 KB
...apshots/components/TooltipV2.test.ts-snapshots/TooltipV2-Default-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.63 KB
...ponents/TooltipV2.test.ts-snapshots/TooltipV2-Default-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.66 KB
...onents/TooltipV2.test.ts-snapshots/TooltipV2-Default-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.63 KB
...nts/TooltipV2.test.ts-snapshots/TooltipV2-Default-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.66 KB
...pshots/components/TooltipV2.test.ts-snapshots/TooltipV2-Default-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.66 KB
...onents/TooltipV2.test.ts-snapshots/TooltipV2-Default-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.81 KB
...t.ts-snapshots/TooltipV2-Icon-Button-With-Description-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.67 KB
....test.ts-snapshots/TooltipV2-Icon-Button-With-Description-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.84 KB
...s-snapshots/TooltipV2-Icon-Button-With-Description-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.71 KB
...oltipV2.test.ts-snapshots/TooltipV2-Icon-Button-With-Description-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.81 KB
...t.ts-snapshots/TooltipV2-Icon-Button-With-Description-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.8 KB
....ts-snapshots/TooltipV2-Icon-Button-With-Description-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.84 KB
...-snapshots/TooltipV2-Icon-Button-With-Description-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.8 KB
...ltipV2.test.ts-snapshots/TooltipV2-Icon-Button-With-Description-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.8 KB
....ts-snapshots/TooltipV2-Icon-Button-With-Description-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.01 KB
...ents/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.92 KB
...mponents/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.11 KB
...s/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.01 KB
...hots/components/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.01 KB
...ents/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.92 KB
...nts/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.94 KB
.../TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.92 KB
...ots/components/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.92 KB
...nts/TooltipV2.test.ts-snapshots/TooltipV2-Label-Type-light-tritanopia-linux.png
Oops, something went wrong.
This file contains 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 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 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 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 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 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,8 @@ | ||
{ | ||
"_comment1": "this is required only for typescript. once this is fixed https://github.com/microsoft/TypeScript/issues/33079 we can remove this hack", | ||
"name": "@primer/react/next", | ||
"types": "../lib-esm/next/index.d.ts", | ||
"main": "../lib-esm/next/index.js", | ||
"type": "module", | ||
"sideEffects": false | ||
} |
This file contains 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 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 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 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
2 changes: 1 addition & 1 deletion
2
...eact/src/drafts/Tooltip/Tooltip.docs.json → ...ges/react/src/TooltipV2/Tooltip.docs.json
This file contains 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 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
4 changes: 2 additions & 2 deletions
4
...afts/Tooltip/Tooltip.features.stories.tsx → ...rc/TooltipV2/Tooltip.features.stories.tsx
This file contains 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
4 changes: 2 additions & 2 deletions
4
...ts/Tooltip/Tooltip.playground.stories.tsx → .../TooltipV2/Tooltip.playground.stories.tsx
This file contains 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
4 changes: 2 additions & 2 deletions
4
...ct/src/drafts/Tooltip/Tooltip.stories.tsx → ...s/react/src/TooltipV2/Tooltip.stories.tsx
This file contains 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.