@jis3r/icons 1.25.0 → 1.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +18 -13
- package/dist/components/github.svelte +0 -13
- package/dist/components/github.svelte.d.ts +0 -26
- package/dist/components/navbar.svelte +0 -78
- package/dist/components/navbar.svelte.d.ts +0 -6
- package/dist/components/ui/badge/badge.svelte +0 -43
- package/dist/components/ui/badge/badge.svelte.d.ts +0 -41
- package/dist/components/ui/badge/index.d.ts +0 -1
- package/dist/components/ui/badge/index.js +0 -2
- package/dist/components/ui/button/button.svelte +0 -57
- package/dist/components/ui/button/button.svelte.d.ts +0 -69
- package/dist/components/ui/button/index.d.ts +0 -3
- package/dist/components/ui/button/index.js +0 -9
- package/dist/components/ui/card/card-content.svelte +0 -9
- package/dist/components/ui/card/card-content.svelte.d.ts +0 -15
- package/dist/components/ui/card/card-description.svelte +0 -9
- package/dist/components/ui/card/card-description.svelte.d.ts +0 -15
- package/dist/components/ui/card/card-footer.svelte +0 -9
- package/dist/components/ui/card/card-footer.svelte.d.ts +0 -15
- package/dist/components/ui/card/card-header.svelte +0 -9
- package/dist/components/ui/card/card-header.svelte.d.ts +0 -15
- package/dist/components/ui/card/card-title.svelte +0 -15
- package/dist/components/ui/card/card-title.svelte.d.ts +0 -17
- package/dist/components/ui/card/card.svelte +0 -13
- package/dist/components/ui/card/card.svelte.d.ts +0 -15
- package/dist/components/ui/card/index.d.ts +0 -7
- package/dist/components/ui/card/index.js +0 -22
- package/dist/components/ui/input/index.d.ts +0 -2
- package/dist/components/ui/input/index.js +0 -7
- package/dist/components/ui/input/input.svelte +0 -37
- package/dist/components/ui/input/input.svelte.d.ts +0 -19
- package/dist/components/ui/tooltip/index.d.ts +0 -6
- package/dist/components/ui/tooltip/index.js +0 -18
- package/dist/components/ui/tooltip/tooltip-content.svelte +0 -16
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +0 -15
- package/dist/icons/index.d.ts +0 -13
- package/dist/icons/index.js +0 -5834
- package/dist/utils/debounce.d.ts +0 -8
- package/dist/utils/debounce.js +0 -15
- package/dist/utils/icons.d.ts +0 -3
- package/dist/utils/icons.js +0 -70
- package/dist/utils.d.ts +0 -1
- package/dist/utils.js +0 -6
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import { cn } from '../../../utils.js';
|
|
3
|
-
|
|
4
|
-
let {
|
|
5
|
-
ref = $bindable(null),
|
|
6
|
-
value = $bindable(),
|
|
7
|
-
type,
|
|
8
|
-
files = $bindable(),
|
|
9
|
-
class: className,
|
|
10
|
-
...restProps
|
|
11
|
-
} = $props();
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
{#if type === 'file'}
|
|
15
|
-
<input
|
|
16
|
-
bind:this={ref}
|
|
17
|
-
class={cn(
|
|
18
|
-
'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-base file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
|
|
19
|
-
className
|
|
20
|
-
)}
|
|
21
|
-
type="file"
|
|
22
|
-
bind:files
|
|
23
|
-
bind:value
|
|
24
|
-
{...restProps}
|
|
25
|
-
/>
|
|
26
|
-
{:else}
|
|
27
|
-
<input
|
|
28
|
-
bind:this={ref}
|
|
29
|
-
class={cn(
|
|
30
|
-
'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-base file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
|
|
31
|
-
className
|
|
32
|
-
)}
|
|
33
|
-
{type}
|
|
34
|
-
bind:value
|
|
35
|
-
{...restProps}
|
|
36
|
-
/>
|
|
37
|
-
{/if}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export default Input;
|
|
2
|
-
type Input = {
|
|
3
|
-
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<$$ComponentProps>): void;
|
|
5
|
-
};
|
|
6
|
-
declare const Input: import("svelte").Component<{
|
|
7
|
-
ref?: any;
|
|
8
|
-
value?: any;
|
|
9
|
-
type: any;
|
|
10
|
-
files?: any;
|
|
11
|
-
class: any;
|
|
12
|
-
} & Record<string, any>, {}, "ref" | "value" | "files">;
|
|
13
|
-
type $$ComponentProps = {
|
|
14
|
-
ref?: any;
|
|
15
|
-
value?: any;
|
|
16
|
-
type: any;
|
|
17
|
-
files?: any;
|
|
18
|
-
class: any;
|
|
19
|
-
} & Record<string, any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export const Root: import("svelte").Component<TooltipPrimitive.RootProps, {}, "open">;
|
|
2
|
-
export const Trigger: import("svelte").Component<TooltipPrimitive.TriggerProps, {}, "ref">;
|
|
3
|
-
import Content from './tooltip-content.svelte';
|
|
4
|
-
export const Provider: import("svelte").Component<TooltipPrimitive.ProviderProps, {}, "">;
|
|
5
|
-
import { Tooltip as TooltipPrimitive } from 'bits-ui';
|
|
6
|
-
export { Content, Root as Tooltip, Content as TooltipContent, Trigger as TooltipTrigger, Provider as TooltipProvider };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Tooltip as TooltipPrimitive } from 'bits-ui';
|
|
2
|
-
import Content from './tooltip-content.svelte';
|
|
3
|
-
|
|
4
|
-
const Root = TooltipPrimitive.Root;
|
|
5
|
-
const Trigger = TooltipPrimitive.Trigger;
|
|
6
|
-
const Provider = TooltipPrimitive.Provider;
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
Root,
|
|
10
|
-
Trigger,
|
|
11
|
-
Content,
|
|
12
|
-
Provider,
|
|
13
|
-
//
|
|
14
|
-
Root as Tooltip,
|
|
15
|
-
Content as TooltipContent,
|
|
16
|
-
Trigger as TooltipTrigger,
|
|
17
|
-
Provider as TooltipProvider
|
|
18
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import { Tooltip as TooltipPrimitive } from 'bits-ui';
|
|
3
|
-
import { cn } from '../../../utils.js';
|
|
4
|
-
|
|
5
|
-
let { ref = $bindable(null), class: className, sideOffset = 4, ...restProps } = $props();
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<TooltipPrimitive.Content
|
|
9
|
-
bind:ref
|
|
10
|
-
{sideOffset}
|
|
11
|
-
class={cn(
|
|
12
|
-
'bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 text-sm shadow-md',
|
|
13
|
-
className
|
|
14
|
-
)}
|
|
15
|
-
{...restProps}
|
|
16
|
-
/>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default TooltipContent;
|
|
2
|
-
type TooltipContent = {
|
|
3
|
-
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<$$ComponentProps>): void;
|
|
5
|
-
};
|
|
6
|
-
declare const TooltipContent: import("svelte").Component<{
|
|
7
|
-
ref?: any;
|
|
8
|
-
class: any;
|
|
9
|
-
sideOffset?: number;
|
|
10
|
-
} & Record<string, any>, {}, "ref">;
|
|
11
|
-
type $$ComponentProps = {
|
|
12
|
-
ref?: any;
|
|
13
|
-
class: any;
|
|
14
|
-
sideOffset?: number;
|
|
15
|
-
} & Record<string, any>;
|
package/dist/icons/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default ICONS_LIST;
|
|
2
|
-
declare let ICONS_LIST: {
|
|
3
|
-
name: string;
|
|
4
|
-
icon: import("svelte").Component<{
|
|
5
|
-
color?: string;
|
|
6
|
-
size?: number;
|
|
7
|
-
strokeWidth?: number;
|
|
8
|
-
isHovered?: boolean;
|
|
9
|
-
class?: string;
|
|
10
|
-
}, {}, "">;
|
|
11
|
-
tags: string[];
|
|
12
|
-
categories: string[];
|
|
13
|
-
}[];
|