-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(widget): display an empty screen when no docmap is found (#215)
- Loading branch information
1 parent
1055e22
commit 6ec5013
Showing
10 changed files
with
291 additions
and
213 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// All files which will be accessible when the widget is installed via npm are declared here | ||
export * from './close-details-button'; | ||
export * from './logo'; | ||
export * from './logo-small'; | ||
export * from './logo-large'; |
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,11 @@ | ||
import { svg } from 'lit' | ||
|
||
export const logoLarge = svg` | ||
<svg class='docmap-logo-large' width='133' height='133' viewBox='0 0 133 133' fill='none' xmlns='http://www.w3.org/2000/svg'> | ||
<path fill-rule='evenodd' clip-rule='evenodd' d='M41.9443 5.78261H14.2529C9.52991 5.78261 5.70117 9.66605 5.70117 14.4565V42.5435C5.70117 47.334 9.52991 51.2174 14.2529 51.2174H41.9443C46.6673 51.2174 50.496 47.334 50.496 42.5435V14.4565C50.496 9.66605 46.6673 5.78261 41.9443 5.78261ZM14.2529 0C6.38125 0 0 6.4724 0 14.4565V42.5435C0 50.5276 6.38124 57 14.2529 57H41.9443C49.816 57 56.1972 50.5276 56.1972 42.5435V14.4565C56.1972 6.47241 49.816 0 41.9443 0H14.2529Z' fill='#E2E2E2'/> | ||
<path d='M0 104.5C0 88.7599 12.5802 76 28.0986 76C43.617 76 56.1972 88.7599 56.1972 104.5C56.1972 120.24 43.617 133 28.0986 133C12.5802 133 0 120.24 0 104.5Z' fill='#E2E2E2'/> | ||
<path d='M76.8028 90.4565C76.8028 82.4724 83.184 76 91.0557 76H118.747C126.619 76 133 82.4724 133 90.4565V118.543C133 126.528 126.619 133 118.747 133H91.0557C83.184 133 76.8028 126.528 76.8028 118.543V90.4565Z' fill='#E2E2E2'/> | ||
<path d='M0 104.5C0 88.7599 12.5802 76 28.0986 76C43.617 76 56.1972 88.7599 56.1972 104.5C56.1972 120.24 43.617 133 28.0986 133C12.5802 133 0 120.24 0 104.5Z' fill='#E2E2E2'/> | ||
<path d='M76.8028 90.4565C76.8028 82.4724 83.184 76 91.0557 76H118.747C126.619 76 133 82.4724 133 90.4565V118.543C133 126.528 126.619 133 118.747 133H91.0557C83.184 133 76.8028 126.528 76.8028 118.543V90.4565Z' fill='#E2E2E2'/> | ||
</svg> | ||
`; |
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,11 @@ | ||
import { svg } from 'lit'; | ||
|
||
export const logoSmall = svg` | ||
<svg class='docmap-logo-small' width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'> | ||
<path fill-rule='evenodd' clip-rule='evenodd' d='M3.78445 0.521739H1.28598C0.859842 0.521739 0.514391 0.872125 0.514391 1.30435V3.83851C0.514391 4.27073 0.859842 4.62112 1.28598 4.62112H3.78445C4.21058 4.62112 4.55603 4.27073 4.55603 3.83851V1.30435C4.55603 0.872125 4.21058 0.521739 3.78445 0.521739ZM1.28598 0C0.575752 0 0 0.583976 0 1.30435V3.83851C0 4.55888 0.575751 5.14286 1.28598 5.14286H3.78445C4.49467 5.14286 5.07043 4.55888 5.07043 3.83851V1.30435C5.07043 0.583977 4.49467 0 3.78445 0H1.28598Z' fill='white'/> | ||
<path d='M0 9.42857C0 8.00841 1.13505 6.85714 2.53521 6.85714C3.93537 6.85714 5.07043 8.00841 5.07043 9.42857C5.07043 10.8487 3.93537 12 2.53521 12C1.13505 12 0 10.8487 0 9.42857Z' fill='white'/> | ||
<path d='M6.92957 8.16149C6.92957 7.44112 7.50533 6.85714 8.21555 6.85714H10.714C11.4242 6.85714 12 7.44112 12 8.16149V10.6957C12 11.416 11.4242 12 10.714 12H8.21555C7.50533 12 6.92957 11.416 6.92957 10.6957V8.16149Z' fill='white'/> | ||
<path d='M0 9.42857C0 8.00841 1.13505 6.85714 2.53521 6.85714C3.93537 6.85714 5.07043 8.00841 5.07043 9.42857C5.07043 10.8487 3.93537 12 2.53521 12C1.13505 12 0 10.8487 0 9.42857Z' fill='white'/> | ||
<path d='M6.92957 8.16149C6.92957 7.44112 7.50533 6.85714 8.21555 6.85714H10.714C11.4242 6.85714 12 7.44112 12 8.16149V10.6957C12 11.416 11.4242 12 10.714 12H8.21555C7.50533 12 6.92957 11.416 6.92957 10.6957V8.16149Z' fill='white'/> | ||
</svg> | ||
`; |
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
Oops, something went wrong.