forked from themesberg/flowbite-svelte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init * forms to badges * layout work * fix merge" * first draft * moved Toc to utils * components moved to docs * forms,pages,typography moved to docs * extend examples utilites moved to docs * fix: tests paths update * fix: hooks.server.js needed update as well * fix: and finally infamous datepicker * blocks svg's updated to figma * fix: menu a 870px and sidebar display * blocks directory removal * docs(homepage): improve SEO title and description * docs(sidebar): add sidebar border styles and use new `component_title` variable * docs(manifest): Flowbite Svelte instead of Flowbite-Svelte * docs(SEO): improve meta tag title format * docs(GH source): use primary color instead of blue * docs(footer): improve footer layout and add description and new links * docs(example wrapper): use primary hover colors instead of blue * docs(layout): add `px-4` padding to centered wrapper * docs(component pages): improve title tags and remove GH source list * docs(snapshot): improve page title * fix: tests corrections * rouge pages converted to .md * fix: tests corrections * fix: clean up of +layout.svelte * fix: sidebar display/hide * foldable sidebar * fix: typo text class * feat: first draft of landing page * fix: test corrected * fix: landing page vpadding * fix: blocks removed; sidebar top space corrected; menu in mobile not visible; footer 1 col in mobile * fix: tweaks * feat: copy on input * "Featured in" section on the home page. * fix: navbar tooltip bottom * fix: sidebar top padding; hero 1030px * fix: more on padding * fix: link, more padding * refactor(index): make input longer so the placeholder can be seen * refactor(gallery images): use 2x for Retina * feat(config): add primary 800 color * feat(index): improve hover styles for component preview cards * refactor(index): improve layout of homepage * refactor(index): remove max width of cards * refactor(index): inverse dark hover styles for comp cards * docs(navigation): add two more navigation links * docs(sidebar): primary text hover on parent sidebar item * docs(footer): update relevant links * docs(hamburger menu): inverse margin to the right * chore(license): update LICENSE.md file and mention @shinokada as original author * docs(about): rename to introduction and improve titles * test(introduction): update tests for introduction page * docs(homepage): fix getting started link on button * docs(introduction): improve SEO description * docs(prism): improve color syntax * refactor(chevron icons): proper solid and outline styles from Heroicons * docs(sidebar arrows): make them solid * files re-arrangments for later maintenance * removal of unused files * page sorting in routes/utils/index * fetch version * missing file * feat: contributors * fix: footer padding * link to npm * fix: padding * docs(footer): remove unnecessary padding * footer extension ready * docs(featured): improve responsive wrapping * docs(contributors): add url to profiles * docs(contributors): add hover effect to main CTA * docs(footer): improve links wrapping on homepage conditionally * docs(navbar): wrap max width on homepage conditionally to match sections * docs(dark mode): show dark mode toggle on mobile devices too * docs(version navbar): add `v` prefix * docs(typescript): proper description and title for types * docs(navbar): add components item that points to accordions * docs(typescript): rename typescript docs page title * docs(introduction): add more text and documentation * docs(sidebar): move the sidebar repo disclaimer to the sidebar page * docs(introduction): add GitHub link to main paragraph * test(pages): match new page titles * docs(sidebar): update order for the first category * docs(quickstart): rename `getting-started` to `quickstart` * docs(license): slightly improve docs for license page * docs(introduction): improve SEO title * docs(compile-speed): rename page title for better SEO positioning * docs(footer): conditionally set up paddings for homepage * docs(homepage): use only one `<h1>` per page * docs(sidebar): hover effect on dark mode * docs(navbar): improve accessibility hover effect on icon buttons * test(pages): update new page title matchings * toc improvment; pages - more markdown * fix: DocBadge can't use color=undefined * fix: datepicker made layout error - this needs work * sidebar category open * show a tooltip and change the text to copied * hamburger menu on the right * fix: z indexing * navbar breaking point * fix: prevent nav wrap at 1030px * fix: it was still wrapping * docs(thumbnails): update blue colored thumbails to orange * docs(components): use actual number of components * docs(components): custom width for thumbnails * docs(contributors): check if data available from GitHub * docs(landing): copywriting improvements and wrap hero text * docs(introduction): update link text * docs(navbar): improve wrapping and update sidebar hamburger icon * docs(version badge): add hover effect * docs(hero section): improve CTA button wrapping * docs(navbar): reduce height of navbar and add spacing on mobile menu * docs(utilities): improve SEO titles and descriptions * fix: menu close on click * docs(navbar): hide second hamburger icon for docs * docs(landing): improve hero text wrapping for 3 rows instead of 4 --------- Co-authored-by: Zoltán Szőgyényi <[email protected]>
- Loading branch information
1 parent
ab7ea03
commit f338e23
Showing
368 changed files
with
5,101 additions
and
7,236 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
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
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,11 @@ | ||
<script lang="ts"> | ||
import ToolbarButton from '../toolbar/ToolbarButton.svelte'; | ||
import classNames from 'classnames'; | ||
import SidebarMenu from './SidebarMenu.svelte'; | ||
export let btnClass: string = 'ml-3 md:hidden'; | ||
</script> | ||
|
||
<ToolbarButton name="Open main menu" on:click {...$$restProps} class={classNames(btnClass, $$props.class)}> | ||
<SidebarMenu class="h-6 w-6 shrink-0" variation="solid" /> | ||
</ToolbarButton> |
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,37 @@ | ||
<script lang="ts"> | ||
export let size = '20'; | ||
export let color = 'currentColor'; | ||
export let variation: 'solid' | 'outline' = 'outline'; | ||
let viewBox: string; | ||
let svgpath: string; | ||
let svgoutline = `<path stroke="${color}" clip-rule="evenodd" fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"></path> `; | ||
let svgsolid = `<path fill="${color}" clip-rule="evenodd" fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"></path> `; | ||
$: switch (variation) { | ||
case 'outline': | ||
svgpath = svgoutline; | ||
viewBox = '0 0 20 20'; | ||
break; | ||
case 'solid': | ||
svgpath = svgsolid; | ||
viewBox = '0 0 20 20'; | ||
break; | ||
default: | ||
svgpath = svgoutline; | ||
viewBox = '0 0 20 20'; | ||
} | ||
export let ariaLabel = 'bars 3'; | ||
</script> | ||
|
||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size} | ||
height={size} | ||
class={$$props.class} | ||
{...$$restProps} | ||
aria-label={ariaLabel} | ||
fill="none" | ||
{viewBox} | ||
stroke-width="2" | ||
on:click> | ||
{@html svgpath} | ||
</svg> |
Oops, something went wrong.