-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
455 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<script lang="ts"> | ||
import { getContext } from 'svelte'; | ||
import { twMerge } from 'tailwind-merge'; | ||
interface CtxType { | ||
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; | ||
role?: string; | ||
strokeLinecap?: 'round' | 'inherit' | 'butt' | 'square' | null | undefined; | ||
strokeLinejoin?: 'round' | 'inherit' | 'miter' | 'bevel' | null | undefined; | ||
strokeWidth?: string; | ||
} | ||
const ctx: CtxType = getContext('iconCtx') ?? {}; | ||
const sizes = { | ||
xs: 'w-3 h-3', | ||
sm: 'w-4 h-4', | ||
md: 'w-5 h-5', | ||
lg: 'w-6 h-6', | ||
xl: 'w-8 h-8' | ||
}; | ||
export let size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = ctx.size || 'md'; | ||
export let role = ctx.role || 'img'; | ||
export let ariaLabel = 'calendar plus outline'; | ||
</script> | ||
|
||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
{...$$restProps} | ||
class={twMerge('shrink-0', sizes[size], $$props.class)} | ||
{role} | ||
aria-label={ariaLabel} | ||
viewBox="0 0 24 24" | ||
on:click | ||
on:keydown | ||
on:keyup | ||
on:focus | ||
on:blur | ||
on:mouseenter | ||
on:mouseleave | ||
on:mouseover | ||
on:mouseout | ||
> | ||
<path | ||
fill="currentColor" | ||
d="M4 9H3v2h1V9Zm16 2h1V9h-1v2Zm-10 3a1 1 0 1 0 0 2v-2Zm4 2a1 1 0 1 0 0-2v2Zm-3 1a1 1 0 1 0 2 0h-2Zm2-4a1 1 0 1 0-2 0h2Zm-2-6a1 1 0 1 0 2 0h-2Zm2-3a1 1 0 1 0-2 0h2ZM6 7a1 1 0 0 0 2 0H6Zm2-3a1 1 0 1 0-2 0h2Zm8 3a1 1 0 1 0 2 0h-2Zm2-3a1 1 0 1 0-2 0h2ZM5 7h14V5H5v2Zm14 0v12h2V7h-2Zm0 12H5v2h14v-2ZM5 19V7H3v12h2Zm0 0H3c0 1.2.9 2 2 2v-2Zm14 0v2a2 2 0 0 0 2-2h-2Zm0-12h2a2 2 0 0 0-2-2v2ZM5 5a2 2 0 0 0-2 2h2V5Zm-1 6h16V9H4v2Zm6 5h4v-2h-4v2Zm3 1v-4h-2v4h2Zm0-10V4h-2v3h2ZM8 7V4H6v3h2Zm10 0V4h-2v3h2Z" | ||
/> | ||
</svg> | ||
|
||
<!-- | ||
@component | ||
[Go to docs](https://flowbite-svelte-icons.vercel.app/) | ||
## Props | ||
@prop export let size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = ctx.size || 'md'; | ||
@prop export let role = ctx.role || 'img'; | ||
@prop export let ariaLabel = 'calendar plus outline'; | ||
--> |
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,57 @@ | ||
<script lang="ts"> | ||
import { getContext } from 'svelte'; | ||
import { twMerge } from 'tailwind-merge'; | ||
interface CtxType { | ||
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; | ||
role?: string; | ||
} | ||
const ctx: CtxType = getContext('iconCtx') ?? {}; | ||
const sizes = { | ||
xs: 'w-3 h-3', | ||
sm: 'w-4 h-4', | ||
md: 'w-5 h-5', | ||
lg: 'w-6 h-6', | ||
xl: 'w-8 h-8' | ||
}; | ||
export let size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = ctx.size || 'md'; | ||
export let role = ctx.role || 'img'; | ||
export let ariaLabel = 'calendar plus solid'; | ||
</script> | ||
|
||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="currentColor" | ||
{...$$restProps} | ||
class={twMerge('shrink-0', sizes[size], $$props.class)} | ||
{role} | ||
aria-label={ariaLabel} | ||
viewBox="0 0 24 24" | ||
on:click | ||
on:keydown | ||
on:keyup | ||
on:focus | ||
on:blur | ||
on:mouseenter | ||
on:mouseleave | ||
on:mouseover | ||
on:mouseout | ||
> | ||
<path | ||
fill="currentColor" | ||
fill-rule="evenodd" | ||
d="M18 5h1a2 2 0 0 1 2 2v2H3V7c0-1 .9-2 2-2h1V4a1 1 0 1 1 2 0v1h3V4a1 1 0 1 1 2 0v1h3V4a1 1 0 1 1 2 0v1ZM3 11v8c0 1.2.9 2 2 2h14a2 2 0 0 0 2-2v-8H3Zm8 7a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1a1 1 0 1 0-2 0v1h-1a1 1 0 1 0 0 2h1v1Z" | ||
clip-rule="evenodd" | ||
/> | ||
</svg> | ||
|
||
<!-- | ||
@component | ||
[Go to docs](https://flowbite-svelte-icons.vercel.app/) | ||
## Props | ||
@prop export let size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = ctx.size || 'md'; | ||
@prop export let role = ctx.role || 'img'; | ||
@prop export let ariaLabel = 'calendar plus solid'; | ||
--> |
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
Oops, something went wrong.