framework7-svelte 8.2.0 → 8.3.0
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/components/accordion-content.d.ts +5 -5
- package/components/accordion-item.d.ts +5 -5
- package/components/accordion-toggle.d.ts +5 -5
- package/components/accordion.d.ts +5 -5
- package/components/actions-button.d.ts +5 -5
- package/components/actions-group.d.ts +5 -5
- package/components/actions-label.d.ts +5 -5
- package/components/actions.d.ts +5 -5
- package/components/app.d.ts +5 -5
- package/components/area-chart.d.ts +5 -5
- package/components/badge.d.ts +5 -5
- package/components/block-footer.d.ts +5 -5
- package/components/block-header.d.ts +5 -5
- package/components/block-title.d.ts +5 -5
- package/components/block.d.ts +5 -5
- package/components/breadcrumbs-collapsed.d.ts +5 -5
- package/components/breadcrumbs-item.d.ts +5 -5
- package/components/breadcrumbs-separator.d.ts +6 -5
- package/components/breadcrumbs.d.ts +6 -5
- package/components/button.d.ts +5 -5
- package/components/card-content.d.ts +5 -5
- package/components/card-footer.d.ts +5 -5
- package/components/card-header.d.ts +5 -5
- package/components/card.d.ts +5 -5
- package/components/checkbox.d.ts +5 -5
- package/components/chip.d.ts +5 -5
- package/components/fab-backdrop.d.ts +6 -5
- package/components/fab-button.d.ts +5 -5
- package/components/fab-buttons.d.ts +5 -5
- package/components/fab.d.ts +5 -5
- package/components/gauge.d.ts +5 -5
- package/components/icon.d.ts +5 -5
- package/components/input.d.ts +5 -5
- package/components/link.d.ts +5 -5
- package/components/list-button.d.ts +5 -5
- package/components/list-group.d.ts +5 -5
- package/components/list-index.d.ts +5 -5
- package/components/list-input.d.ts +5 -5
- package/components/list-item.d.ts +5 -5
- package/components/list.d.ts +5 -5
- package/components/login-screen-title.d.ts +5 -5
- package/components/login-screen.d.ts +5 -5
- package/components/message.d.ts +5 -5
- package/components/messagebar-attachment.d.ts +5 -5
- package/components/messagebar-attachments.d.ts +5 -5
- package/components/messagebar-sheet-image.d.ts +5 -5
- package/components/messagebar-sheet-item.d.ts +5 -5
- package/components/messagebar-sheet.d.ts +5 -5
- package/components/messagebar.d.ts +5 -5
- package/components/messages-title.d.ts +5 -5
- package/components/messages.d.ts +5 -5
- package/components/nav-left.d.ts +5 -5
- package/components/nav-right.d.ts +5 -5
- package/components/nav-title-large.d.ts +5 -5
- package/components/nav-title.d.ts +5 -5
- package/components/navbar.d.ts +5 -5
- package/components/page-content.d.ts +5 -5
- package/components/page.d.ts +5 -5
- package/components/panel.d.ts +5 -5
- package/components/photo-browser.d.ts +5 -5
- package/components/pie-chart.d.ts +5 -5
- package/components/popover.d.ts +5 -5
- package/components/popup.d.ts +5 -5
- package/components/preloader.d.ts +5 -5
- package/components/progressbar.d.ts +5 -5
- package/components/radio.d.ts +5 -5
- package/components/range.d.ts +5 -5
- package/components/routable-modals.d.ts +5 -4
- package/components/router-context-provider.d.ts +5 -4
- package/components/searchbar.d.ts +5 -5
- package/components/segmented.d.ts +5 -5
- package/components/sheet.d.ts +9 -6
- package/components/sheet.svelte +19 -0
- package/components/stepper.d.ts +5 -5
- package/components/subnavbar.d.ts +5 -5
- package/components/swipeout-actions.d.ts +5 -5
- package/components/swipeout-button.d.ts +5 -5
- package/components/tab.d.ts +5 -5
- package/components/tabs.d.ts +5 -5
- package/components/text-editor.d.ts +5 -5
- package/components/toggle.d.ts +5 -5
- package/components/toolbar.d.ts +5 -5
- package/components/treeview-item.d.ts +5 -5
- package/components/treeview.d.ts +5 -5
- package/components/use-icon.d.ts +5 -4
- package/components/view.d.ts +5 -5
- package/components/views.d.ts +5 -5
- package/framework7-svelte.js +2 -2
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface AccordionContentProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface AccordionContentProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface AccordionContentProps extends svelte.JSX.HTMLAttributes<HTMLElementTag
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class AccordionContent extends
|
|
19
|
-
AccordionContentProps
|
|
18
|
+
declare class AccordionContent extends SvelteComponent<
|
|
19
|
+
AccordionContentProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof AccordionContentProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface AccordionItemProps
|
|
6
|
+
interface AccordionItemProps {
|
|
6
7
|
opened?: boolean;
|
|
7
8
|
onAccordionBeforeOpen ?: (prevent?: any) => void;
|
|
8
9
|
onAccordionOpen ?: (...args: any[]) => void;
|
|
@@ -10,7 +11,6 @@ interface AccordionItemProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNam
|
|
|
10
11
|
onAccordionBeforeClose ?: (prevent?: any) => void;
|
|
11
12
|
onAccordionClose ?: (...args: any[]) => void;
|
|
12
13
|
onAccordionClosed ?: (...args: any[]) => void;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
14
|
color?: string;
|
|
15
15
|
colorTheme?: string;
|
|
16
16
|
textColor?: string;
|
|
@@ -22,8 +22,8 @@ interface AccordionItemProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNam
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
declare class AccordionItem extends
|
|
26
|
-
AccordionItemProps
|
|
25
|
+
declare class AccordionItem extends SvelteComponent<
|
|
26
|
+
AccordionItemProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof AccordionItemProps>,
|
|
27
27
|
{ accordionBeforeOpen: CustomEvent<void>; accordionOpen: CustomEvent<void>; accordionOpened: CustomEvent<void>; accordionBeforeClose: CustomEvent<void>; accordionClose: CustomEvent<void>; accordionClosed: CustomEvent<void>; },
|
|
28
28
|
{ 'default' : {}; }
|
|
29
29
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface AccordionToggleProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface AccordionToggleProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface AccordionToggleProps extends svelte.JSX.HTMLAttributes<HTMLElementTagN
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class AccordionToggle extends
|
|
19
|
-
AccordionToggleProps
|
|
18
|
+
declare class AccordionToggle extends SvelteComponent<
|
|
19
|
+
AccordionToggleProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof AccordionToggleProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface AccordionProps
|
|
6
|
+
interface AccordionProps {
|
|
6
7
|
accordionOpposite?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
8
|
color?: string;
|
|
9
9
|
colorTheme?: string;
|
|
10
10
|
textColor?: string;
|
|
@@ -16,8 +16,8 @@ interface AccordionProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
declare class Accordion extends
|
|
20
|
-
AccordionProps
|
|
19
|
+
declare class Accordion extends SvelteComponent<
|
|
20
|
+
AccordionProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof AccordionProps>,
|
|
21
21
|
{ },
|
|
22
22
|
{ 'default' : {}; }
|
|
23
23
|
> {}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface ActionsButtonProps
|
|
6
|
+
interface ActionsButtonProps {
|
|
6
7
|
strong?: boolean;
|
|
7
8
|
close?: boolean;
|
|
8
9
|
onClick ?: (event?: any) => void;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
10
|
color?: string;
|
|
11
11
|
colorTheme?: string;
|
|
12
12
|
textColor?: string;
|
|
@@ -18,8 +18,8 @@ interface ActionsButtonProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNam
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
declare class ActionsButton extends
|
|
22
|
-
ActionsButtonProps
|
|
21
|
+
declare class ActionsButton extends SvelteComponent<
|
|
22
|
+
ActionsButtonProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ActionsButtonProps>,
|
|
23
23
|
{ click: CustomEvent<void>; },
|
|
24
24
|
{ 'media' : {}; 'default' : {}; }
|
|
25
25
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface ActionsGroupProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface ActionsGroupProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface ActionsGroupProps extends svelte.JSX.HTMLAttributes<HTMLElementTagName
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class ActionsGroup extends
|
|
19
|
-
ActionsGroupProps
|
|
18
|
+
declare class ActionsGroup extends SvelteComponent<
|
|
19
|
+
ActionsGroupProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ActionsGroupProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface ActionsLabelProps
|
|
6
|
+
interface ActionsLabelProps {
|
|
6
7
|
strong?: boolean;
|
|
7
8
|
onClick?: (event?: any) => void;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
9
|
color?: string;
|
|
10
10
|
colorTheme?: string;
|
|
11
11
|
textColor?: string;
|
|
@@ -17,8 +17,8 @@ interface ActionsLabelProps extends svelte.JSX.HTMLAttributes<HTMLElementTagName
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
declare class ActionsLabel extends
|
|
21
|
-
ActionsLabelProps
|
|
20
|
+
declare class ActionsLabel extends SvelteComponent<
|
|
21
|
+
ActionsLabelProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ActionsLabelProps>,
|
|
22
22
|
{ click: CustomEvent<void>; },
|
|
23
23
|
{ 'default' : {}; }
|
|
24
24
|
> {}
|
package/components/actions.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Actions } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface ActionsProps
|
|
8
|
+
interface ActionsProps {
|
|
8
9
|
opened ?: boolean;
|
|
9
10
|
animate ?: boolean;
|
|
10
11
|
grid ?: boolean;
|
|
@@ -21,7 +22,6 @@ interface ActionsProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['
|
|
|
21
22
|
onActionsClose ?: (instance?: Actions.Actions) => void;
|
|
22
23
|
onActionsClosed ?: (instance?: Actions.Actions) => void;
|
|
23
24
|
containerEl ?: string | object;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
25
|
color?: string;
|
|
26
26
|
colorTheme?: string;
|
|
27
27
|
textColor?: string;
|
|
@@ -33,8 +33,8 @@ interface ActionsProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
declare class Actions extends
|
|
37
|
-
ActionsProps
|
|
36
|
+
declare class Actions extends SvelteComponent<
|
|
37
|
+
ActionsProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ActionsProps>,
|
|
38
38
|
{ actionsOpen: CustomEvent<void>; actionsOpened: CustomEvent<void>; actionsClose: CustomEvent<void>; actionsClosed: CustomEvent<void>; },
|
|
39
39
|
{ 'default' : {}; }
|
|
40
40
|
> {}
|
package/components/app.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Framework7Parameters } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface AppProps
|
|
8
|
-
children?: React.ReactNode;
|
|
8
|
+
interface AppProps {
|
|
9
9
|
color?: string;
|
|
10
10
|
colorTheme?: string;
|
|
11
11
|
textColor?: string;
|
|
@@ -17,8 +17,8 @@ interface AppProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div'
|
|
|
17
17
|
|
|
18
18
|
interface AppProps extends Framework7Parameters {}
|
|
19
19
|
|
|
20
|
-
declare class App extends
|
|
21
|
-
AppProps
|
|
20
|
+
declare class App extends SvelteComponent<
|
|
21
|
+
AppProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof AppProps>,
|
|
22
22
|
{ },
|
|
23
23
|
{ 'default' : {}; }
|
|
24
24
|
> {}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface AreaChartProps
|
|
6
|
+
interface AreaChartProps {
|
|
6
7
|
lineChart?: boolean;
|
|
7
8
|
datasets?: {values: number[]; color?: string; label?: any}[];
|
|
8
9
|
axis?: boolean;
|
|
@@ -20,13 +21,12 @@ interface AreaChartProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap
|
|
|
20
21
|
formatTooltipTotal?: (total: number) => string;
|
|
21
22
|
formatTooltipDataset?: (label: any, value: number, color: string) => string;
|
|
22
23
|
onSelect ?: (index: number | null) => void;
|
|
23
|
-
children?: React.ReactNode;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
declare class AreaChart extends
|
|
29
|
-
AreaChartProps
|
|
28
|
+
declare class AreaChart extends SvelteComponent<
|
|
29
|
+
AreaChartProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof AreaChartProps>,
|
|
30
30
|
{ select: CustomEvent<void>; },
|
|
31
31
|
{ 'default' : {}; }
|
|
32
32
|
> {}
|
package/components/badge.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
import { Tooltip } from 'framework7/types';
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
interface BadgeProps
|
|
8
|
+
interface BadgeProps {
|
|
8
9
|
tooltip?: string;
|
|
9
10
|
tooltipTrigger?: string;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
11
|
color?: string;
|
|
12
12
|
colorTheme?: string;
|
|
13
13
|
textColor?: string;
|
|
@@ -19,8 +19,8 @@ interface BadgeProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
declare class Badge extends
|
|
23
|
-
BadgeProps
|
|
22
|
+
declare class Badge extends SvelteComponent<
|
|
23
|
+
BadgeProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BadgeProps>,
|
|
24
24
|
{ },
|
|
25
25
|
{ 'default' : {}; }
|
|
26
26
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BlockFooterProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface BlockFooterProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface BlockFooterProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class BlockFooter extends
|
|
19
|
-
BlockFooterProps
|
|
18
|
+
declare class BlockFooter extends SvelteComponent<
|
|
19
|
+
BlockFooterProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BlockFooterProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BlockHeaderProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface BlockHeaderProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface BlockHeaderProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class BlockHeader extends
|
|
19
|
-
BlockHeaderProps
|
|
18
|
+
declare class BlockHeader extends SvelteComponent<
|
|
19
|
+
BlockHeaderProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BlockHeaderProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BlockTitleProps
|
|
6
|
+
interface BlockTitleProps {
|
|
6
7
|
large?: boolean;
|
|
7
8
|
medium?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
9
|
color?: string;
|
|
10
10
|
colorTheme?: string;
|
|
11
11
|
textColor?: string;
|
|
@@ -17,8 +17,8 @@ interface BlockTitleProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMa
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
declare class BlockTitle extends
|
|
21
|
-
BlockTitleProps
|
|
20
|
+
declare class BlockTitle extends SvelteComponent<
|
|
21
|
+
BlockTitleProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BlockTitleProps>,
|
|
22
22
|
{ },
|
|
23
23
|
{ 'default' : {}; }
|
|
24
24
|
> {}
|
package/components/block.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BlockProps
|
|
6
|
+
interface BlockProps {
|
|
6
7
|
inset?: boolean;
|
|
7
8
|
insetIos?: boolean;
|
|
8
9
|
insetMd?: boolean;
|
|
@@ -34,7 +35,6 @@ interface BlockProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
34
35
|
accordionOpposite?: boolean;
|
|
35
36
|
onTabShow?: (el?: HTMLElement) => void;
|
|
36
37
|
onTabHide?: (el?: HTMLElement) => void;
|
|
37
|
-
children?: React.ReactNode;
|
|
38
38
|
color?: string;
|
|
39
39
|
colorTheme?: string;
|
|
40
40
|
textColor?: string;
|
|
@@ -46,8 +46,8 @@ interface BlockProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['di
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
declare class Block extends
|
|
50
|
-
BlockProps
|
|
49
|
+
declare class Block extends SvelteComponent<
|
|
50
|
+
BlockProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BlockProps>,
|
|
51
51
|
{ },
|
|
52
52
|
{ 'default' : {}; }
|
|
53
53
|
> {}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BreadcrumbsCollapsedProps
|
|
6
|
+
interface BreadcrumbsCollapsedProps {
|
|
6
7
|
onClick ?: (event?: any) => void;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
declare class BreadcrumbsCollapsed extends
|
|
13
|
-
BreadcrumbsCollapsedProps
|
|
12
|
+
declare class BreadcrumbsCollapsed extends SvelteComponent<
|
|
13
|
+
BreadcrumbsCollapsedProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BreadcrumbsCollapsedProps>,
|
|
14
14
|
{ click: CustomEvent<void>; },
|
|
15
15
|
{ 'default' : {}; }
|
|
16
16
|
> {}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BreadcrumbsItemProps
|
|
6
|
+
interface BreadcrumbsItemProps {
|
|
6
7
|
onClick ?: (event?: any) => void;
|
|
7
8
|
active?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
declare class BreadcrumbsItem extends
|
|
14
|
-
BreadcrumbsItemProps
|
|
13
|
+
declare class BreadcrumbsItem extends SvelteComponent<
|
|
14
|
+
BreadcrumbsItemProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BreadcrumbsItemProps>,
|
|
15
15
|
{ },
|
|
16
16
|
{ 'default' : {}; }
|
|
17
17
|
> {}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BreadcrumbsSeparatorProps
|
|
6
|
-
|
|
6
|
+
interface BreadcrumbsSeparatorProps {
|
|
7
|
+
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
declare class BreadcrumbsSeparator extends
|
|
12
|
-
BreadcrumbsSeparatorProps
|
|
12
|
+
declare class BreadcrumbsSeparator extends SvelteComponent<
|
|
13
|
+
BreadcrumbsSeparatorProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BreadcrumbsSeparatorProps>,
|
|
13
14
|
{ },
|
|
14
15
|
{ }
|
|
15
16
|
> {}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface BreadcrumbsProps
|
|
6
|
-
|
|
6
|
+
interface BreadcrumbsProps {
|
|
7
|
+
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
declare class Breadcrumbs extends
|
|
12
|
-
BreadcrumbsProps
|
|
12
|
+
declare class Breadcrumbs extends SvelteComponent<
|
|
13
|
+
BreadcrumbsProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof BreadcrumbsProps>,
|
|
13
14
|
{ },
|
|
14
15
|
{ 'default' : {}; }
|
|
15
16
|
> {}
|
package/components/button.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface ButtonProps
|
|
6
|
+
interface ButtonProps {
|
|
6
7
|
text ?: string;
|
|
7
8
|
tabLink ?: boolean | string;
|
|
8
9
|
tabLinkActive ?: boolean;
|
|
@@ -39,7 +40,6 @@ interface ButtonProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['d
|
|
|
39
40
|
preloaderColor?: string;
|
|
40
41
|
loading?: boolean;
|
|
41
42
|
onClick ?: (event?: any) => void;
|
|
42
|
-
children?: React.ReactNode;
|
|
43
43
|
color?: string;
|
|
44
44
|
colorTheme?: string;
|
|
45
45
|
textColor?: string;
|
|
@@ -97,8 +97,8 @@ interface ButtonProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['d
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
declare class Button extends
|
|
101
|
-
ButtonProps
|
|
100
|
+
declare class Button extends SvelteComponent<
|
|
101
|
+
ButtonProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof ButtonProps>,
|
|
102
102
|
{ click: CustomEvent<void>; },
|
|
103
103
|
{ 'default' : {}; }
|
|
104
104
|
> {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface CardContentProps
|
|
6
|
+
interface CardContentProps {
|
|
6
7
|
padding?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
8
|
color?: string;
|
|
9
9
|
colorTheme?: string;
|
|
10
10
|
textColor?: string;
|
|
@@ -16,8 +16,8 @@ interface CardContentProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameM
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
declare class CardContent extends
|
|
20
|
-
CardContentProps
|
|
19
|
+
declare class CardContent extends SvelteComponent<
|
|
20
|
+
CardContentProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof CardContentProps>,
|
|
21
21
|
{ },
|
|
22
22
|
{ 'default' : {}; }
|
|
23
23
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface CardFooterProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface CardFooterProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface CardFooterProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMa
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class CardFooter extends
|
|
19
|
-
CardFooterProps
|
|
18
|
+
declare class CardFooter extends SvelteComponent<
|
|
19
|
+
CardFooterProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof CardFooterProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface CardHeaderProps
|
|
6
|
-
children?: React.ReactNode;
|
|
6
|
+
interface CardHeaderProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
colorTheme?: string;
|
|
9
9
|
textColor?: string;
|
|
@@ -15,8 +15,8 @@ interface CardHeaderProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMa
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
declare class CardHeader extends
|
|
19
|
-
CardHeaderProps
|
|
18
|
+
declare class CardHeader extends SvelteComponent<
|
|
19
|
+
CardHeaderProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof CardHeaderProps>,
|
|
20
20
|
{ },
|
|
21
21
|
{ 'default' : {}; }
|
|
22
22
|
> {}
|
package/components/card.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface CardProps
|
|
6
|
+
interface CardProps {
|
|
6
7
|
title ?: string | number;
|
|
7
8
|
content ?: string | number;
|
|
8
9
|
footer ?: string | number;
|
|
@@ -30,7 +31,6 @@ interface CardProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
30
31
|
onCardOpened ?: (el?: HTMLElement, pageEl?: HTMLElement) => void;
|
|
31
32
|
onCardClose ?: (el?: HTMLElement) => void;
|
|
32
33
|
onCardClosed ?: (el?: HTMLElement, pageEl?: HTMLElement) => void;
|
|
33
|
-
children?: React.ReactNode;
|
|
34
34
|
color?: string;
|
|
35
35
|
colorTheme?: string;
|
|
36
36
|
textColor?: string;
|
|
@@ -42,8 +42,8 @@ interface CardProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
declare class Card extends
|
|
46
|
-
CardProps
|
|
45
|
+
declare class Card extends SvelteComponent<
|
|
46
|
+
CardProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof CardProps>,
|
|
47
47
|
{ cardBeforeOpen: CustomEvent<void>; cardOpen: CustomEvent<void>; cardOpened: CustomEvent<void>; cardClose: CustomEvent<void>; cardClosed: CustomEvent<void>; },
|
|
48
48
|
{ 'header' : {}; 'content' : {}; 'footer' : {}; 'default' : {}; }
|
|
49
49
|
> {}
|
package/components/checkbox.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { SvelteComponent } from 'svelte';
|
|
3
|
+
import { HTMLAttributes } from 'svelte/elements';
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
interface CheckboxProps
|
|
6
|
+
interface CheckboxProps {
|
|
6
7
|
checked ?: boolean;
|
|
7
8
|
indeterminate ?: boolean;
|
|
8
9
|
name ?: number | string;
|
|
@@ -18,13 +19,12 @@ interface CheckboxProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[
|
|
|
18
19
|
rippleColor?: string;
|
|
19
20
|
dark?: boolean;
|
|
20
21
|
onChange ?: (event?: any) => void;
|
|
21
|
-
children?: React.ReactNode;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
declare class Checkbox extends
|
|
27
|
-
CheckboxProps
|
|
26
|
+
declare class Checkbox extends SvelteComponent<
|
|
27
|
+
CheckboxProps & Omit<HTMLAttributes<HTMLElementTagNameMap['div']>, keyof CheckboxProps>,
|
|
28
28
|
{ change: CustomEvent<void>; },
|
|
29
29
|
{ 'default' : {}; }
|
|
30
30
|
> {}
|