-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dialog): adds new dialog component and deprecates the modal comp…
…onent (#9751) **Related Issue:** #7886 ## Summary - Adds new `calcite-dialog` component. - Includes e2e, stories, demos, resources - Updates stencil config to note new component - Panel esc key should emit close event - Adds `dialogs` slot to `calcite-shell` for slotting dialogs. - Deprecates `calcite-modal` component. - cleans up global style imports - makes `focusTrapDisabled` optional on FocusTrapComponent ## Notes - Animations need review
- Loading branch information
Showing
63 changed files
with
4,040 additions
and
14 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
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
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Close" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_ar.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "إغلاق" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_bg.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Затваряне" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_bs.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Zatvori" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_ca.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Tanca" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_cs.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Zavřít" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_da.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Luk" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_de.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Schließen" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_el.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Κλείσιμο" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_en.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Close" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_es.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Cerrar" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_et.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Sule" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_fi.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Sulje" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_fr.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Fermer" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_he.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "סגירה" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_hr.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Zatvori" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_hu.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Bezárás" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_id.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Tutup" | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/calcite-components/src/components/dialog/assets/dialog/t9n/messages_it.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"close": "Chiudi" | ||
} |
Oops, something went wrong.