-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert
Dialog
and Dialog(draft)
folder refactor that causes impor…
…t issues (#3040) * Revert "Dialog: move files, add a story (#3019)" This reverts commit 2d5ed00. * Revert "Dialog v2: Move files, reformat stories and add e2e tests (#2984)" This reverts commit 418f316. * remove unused eslint
- Loading branch information
1 parent
6aa9205
commit 51cdbb0
Showing
83 changed files
with
880 additions
and
1,116 deletions.
There are no files selected for viewing
Binary file removed
BIN
-7.23 KB
....test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-colorblind-linux.png
Binary file not shown.
Binary file removed
BIN
-26.7 KB
....ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-colorblind-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.19 KB
...ogV2.test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-dimmed-linux.png
Binary file not shown.
Binary file removed
BIN
-29.6 KB
...test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-dimmed-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.21 KB
...st.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-high-contrast-linux.png
Binary file not shown.
Binary file removed
BIN
-27 KB
...-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-high-contrast-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.23 KB
...ts/DialogV2.test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-linux.png
Binary file not shown.
Binary file removed
BIN
-26.6 KB
...alogV2.test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.23 KB
....test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-tritanopia-linux.png
Binary file not shown.
Binary file removed
BIN
-26.6 KB
....ts-snapshots/DialogV2-Basic-Confirmation-Dialog-dark-tritanopia-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.27 KB
...test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-colorblind-linux.png
Binary file not shown.
Binary file removed
BIN
-26.7 KB
...ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-colorblind-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.33 KB
...t.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-high-contrast-linux.png
Binary file not shown.
Binary file removed
BIN
-26.6 KB
...snapshots/DialogV2-Basic-Confirmation-Dialog-light-high-contrast-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.27 KB
...s/DialogV2.test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-linux.png
Binary file not shown.
Binary file removed
BIN
-26.7 KB
...logV2.test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.27 KB
...test.ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-tritanopia-linux.png
Binary file not shown.
Binary file removed
BIN
-26.7 KB
...ts-snapshots/DialogV2-Basic-Confirmation-Dialog-light-tritanopia-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.23 KB
...ents/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-colorblind-linux.png
Binary file not shown.
Binary file removed
BIN
-157 KB
...DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-colorblind-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.19 KB
...mponents/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-dimmed-linux.png
Binary file not shown.
Binary file removed
BIN
-160 KB
...nts/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-dimmed-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.21 KB
...s/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-high-contrast-linux.png
Binary file not shown.
Binary file removed
BIN
-156 KB
...logV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-high-contrast-open-linux.png
Binary file not shown.
Binary file removed
BIN
-7.23 KB
...hots/components/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-linux.png
Binary file not shown.
Binary file removed
BIN
-158 KB
...components/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.23 KB
...ents/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-tritanopia-linux.png
Diff not rendered.
Binary file removed
BIN
-157 KB
...DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-dark-tritanopia-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.27 KB
...nts/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-colorblind-linux.png
Diff not rendered.
Binary file removed
BIN
-154 KB
...ialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-colorblind-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.33 KB
.../DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-high-contrast-linux.png
Diff not rendered.
Binary file removed
BIN
-154 KB
...ogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-high-contrast-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.27 KB
...ots/components/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-linux.png
Diff not rendered.
Binary file removed
BIN
-154 KB
...omponents/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.27 KB
...nts/DialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-tritanopia-linux.png
Diff not rendered.
Binary file removed
BIN
-154 KB
...ialogV2.test.ts-snapshots/DialogV2-Basic-Dialog-light-tritanopia-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.23 KB
...omponents/DialogV2.test.ts-snapshots/DialogV2-Default-dark-colorblind-linux.png
Diff not rendered.
Binary file removed
BIN
-14.6 KB
...ents/DialogV2.test.ts-snapshots/DialogV2-Default-dark-colorblind-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.19 KB
...ts/components/DialogV2.test.ts-snapshots/DialogV2-Default-dark-dimmed-linux.png
Diff not rendered.
Binary file removed
BIN
-17.9 KB
...mponents/DialogV2.test.ts-snapshots/DialogV2-Default-dark-dimmed-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.21 KB
...onents/DialogV2.test.ts-snapshots/DialogV2-Default-dark-high-contrast-linux.png
Diff not rendered.
Binary file removed
BIN
-14.8 KB
...s/DialogV2.test.ts-snapshots/DialogV2-Default-dark-high-contrast-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.23 KB
...snapshots/components/DialogV2.test.ts-snapshots/DialogV2-Default-dark-linux.png
Diff not rendered.
Binary file removed
BIN
-14.6 KB
...hots/components/DialogV2.test.ts-snapshots/DialogV2-Default-dark-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.23 KB
...omponents/DialogV2.test.ts-snapshots/DialogV2-Default-dark-tritanopia-linux.png
Diff not rendered.
Binary file removed
BIN
-14.6 KB
...ents/DialogV2.test.ts-snapshots/DialogV2-Default-dark-tritanopia-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.27 KB
...mponents/DialogV2.test.ts-snapshots/DialogV2-Default-light-colorblind-linux.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
...nts/DialogV2.test.ts-snapshots/DialogV2-Default-light-colorblind-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.33 KB
...nents/DialogV2.test.ts-snapshots/DialogV2-Default-light-high-contrast-linux.png
Diff not rendered.
Binary file removed
BIN
-14.2 KB
.../DialogV2.test.ts-snapshots/DialogV2-Default-light-high-contrast-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.27 KB
...napshots/components/DialogV2.test.ts-snapshots/DialogV2-Default-light-linux.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
...ots/components/DialogV2.test.ts-snapshots/DialogV2-Default-light-open-linux.png
Diff not rendered.
Binary file removed
BIN
-7.27 KB
...mponents/DialogV2.test.ts-snapshots/DialogV2-Default-light-tritanopia-linux.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
...nts/DialogV2.test.ts-snapshots/DialogV2-Default-light-tritanopia-open-linux.png
Diff not rendered.
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
8 changes: 2 additions & 6 deletions
8
docs/content/drafts/Dialog2.mdx → docs/content/drafts/Dialog.mdx
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"id": "dialog", | ||
"name": "Dialog", | ||
"status": "alpha", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"props": [ | ||
{ | ||
"name": "isOpen", | ||
"type": "boolean", | ||
"description": "Whether or not the dialog is open" | ||
}, | ||
{ | ||
"name": "onDismiss", | ||
"type": "() => void", | ||
"description": "Function that will be called when the dialog is closed" | ||
}, | ||
{ | ||
"name": "returnFocusRef", | ||
"type": " React.RefObject<HTMLElement>", | ||
"description": "The element to restore focus back to after the `Dialog` is closed" | ||
}, | ||
{ | ||
"name": "initialFocusRef", | ||
"type": " React.RefObject<HTMLElement>", | ||
"description": "Element inside of the `Dialog` you'd like to be focused when the Dialog is opened. If nothing is passed to `initialFocusRef` the close button is focused." | ||
}, | ||
{ | ||
"name": "aria-labelledby", | ||
"type": "string", | ||
"description": "Pass an id to use for the aria-label. Use either a `aria-label` or an `aria-labelledby` but not both." | ||
}, | ||
{ | ||
"name": "aria-label", | ||
"type": "string", | ||
"description": "Pass a label to be used to describe the Dialog. Use either a `aria-label` or an `aria-labelledby` but not both." | ||
}, | ||
{ | ||
"name": "sx", | ||
"type": "SystemStyleObject" | ||
} | ||
], | ||
"subcomponents": [ | ||
{ | ||
"name": "Dialog.Header", | ||
"props": [ | ||
{ | ||
"name": "sx", | ||
"type": "SystemStyleObject" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.