webcoreui 0.4.1 → 0.6.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/README.md +237 -227
- package/astro.d.ts +115 -62
- package/astro.js +14 -0
- package/components/Avatar/Avatar.astro +9 -2
- package/components/Avatar/Avatar.svelte +3 -1
- package/components/Avatar/Avatar.tsx +4 -2
- package/components/Avatar/avatar.ts +1 -0
- package/components/Badge/Badge.astro +4 -0
- package/components/Badge/Badge.svelte +5 -1
- package/components/Badge/Badge.tsx +4 -0
- package/components/Badge/badge.module.scss +8 -0
- package/components/Badge/badge.ts +7 -3
- package/components/Breadcrumb/Breadcrumb.astro +51 -0
- package/components/Breadcrumb/Breadcrumb.svelte +45 -0
- package/components/Breadcrumb/Breadcrumb.tsx +51 -0
- package/components/Breadcrumb/breadcrumb.module.scss +26 -0
- package/components/Breadcrumb/breadcrumb.ts +12 -0
- package/components/Button/button.module.scss +6 -1
- package/components/Button/button.ts +13 -3
- package/components/Carousel/Carousel.astro +198 -0
- package/components/Carousel/Carousel.svelte +161 -0
- package/components/Carousel/Carousel.tsx +172 -0
- package/components/Carousel/carousel.module.scss +58 -0
- package/components/Carousel/carousel.ts +26 -0
- package/components/Checkbox/checkbox.ts +4 -2
- package/components/DataTable/DataTable.astro +332 -0
- package/components/DataTable/DataTable.svelte +272 -0
- package/components/DataTable/DataTable.tsx +287 -0
- package/components/DataTable/datatable.module.scss +102 -0
- package/components/DataTable/datatable.ts +41 -0
- package/components/Footer/Footer.astro +91 -0
- package/components/Footer/Footer.svelte +94 -0
- package/components/Footer/Footer.tsx +107 -0
- package/components/Footer/footer.module.scss +61 -0
- package/components/Footer/footer.ts +29 -0
- package/components/Icon/Icon.svelte +1 -1
- package/components/Icon/icon.ts +18 -1
- package/components/Icon/map.ts +14 -0
- package/components/Input/input.module.scss +6 -0
- package/components/List/List.astro +1 -1
- package/components/List/List.svelte +1 -1
- package/components/List/List.tsx +1 -2
- package/components/List/list.ts +3 -1
- package/components/Masonry/Masonry.astro +54 -0
- package/components/Masonry/Masonry.svelte +54 -0
- package/components/Masonry/Masonry.tsx +62 -0
- package/components/Masonry/masonry.module.scss +18 -0
- package/components/Masonry/masonry.ts +36 -0
- package/components/Menu/Menu.astro +1 -1
- package/components/Menu/Menu.svelte +1 -1
- package/components/Menu/Menu.tsx +1 -1
- package/components/Menu/menu.ts +4 -2
- package/components/Modal/Modal.astro +2 -0
- package/components/Modal/Modal.svelte +2 -0
- package/components/Modal/Modal.tsx +2 -0
- package/components/Modal/modal.module.scss +29 -22
- package/components/Modal/modal.ts +1 -0
- package/components/Pagination/Pagination.astro +189 -0
- package/components/Pagination/Pagination.svelte +144 -0
- package/components/Pagination/Pagination.tsx +162 -0
- package/components/Pagination/pagination.module.scss +49 -0
- package/components/Pagination/pagination.ts +35 -0
- package/components/Rating/rating.ts +3 -1
- package/components/Select/Select.astro +8 -4
- package/components/Select/Select.svelte +15 -6
- package/components/Select/Select.tsx +15 -8
- package/components/Select/select.ts +7 -2
- package/components/Sidebar/Sidebar.astro +61 -0
- package/components/Sidebar/Sidebar.svelte +50 -0
- package/components/Sidebar/Sidebar.tsx +58 -0
- package/components/Sidebar/sidebar.module.scss +43 -0
- package/components/Sidebar/sidebar.ts +21 -0
- package/components/Switch/switch.ts +4 -2
- package/components/Table/Table.svelte +1 -1
- package/components/Table/table.ts +1 -1
- package/icons/arrow-left.svg +3 -0
- package/icons/arrow-right.svg +3 -0
- package/icons/circle-close.svg +3 -0
- package/icons/components.svg +3 -0
- package/icons/file.svg +3 -0
- package/icons/home.svg +4 -0
- package/icons/order.svg +3 -0
- package/icons/sun.svg +1 -1
- package/icons.d.ts +7 -0
- package/icons.js +7 -0
- package/index.d.ts +6 -6
- package/package.json +8 -10
- package/react.d.ts +115 -62
- package/react.js +14 -0
- package/scss/resets.scss +27 -1
- package/svelte.d.ts +116 -62
- package/svelte.js +14 -0
package/react.d.ts
CHANGED
|
@@ -1,66 +1,119 @@
|
|
|
1
1
|
import { FC } from 'react'
|
|
2
|
-
import type { AccordionProps } from './components/Accordion/accordion'
|
|
3
|
-
import type { ReactAlertProps } from './components/Alert/alert'
|
|
4
|
-
import type { AvatarProps } from './components/Avatar/avatar'
|
|
5
|
-
import type { ReactBadgeProps } from './components/Badge/badge'
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
import type {
|
|
24
|
-
import type {
|
|
25
|
-
import type {
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import type {
|
|
29
|
-
import type {
|
|
30
|
-
import type {
|
|
31
|
-
import type {
|
|
32
|
-
import type {
|
|
2
|
+
import type { AccordionProps as WAccordionProps } from './components/Accordion/accordion'
|
|
3
|
+
import type { ReactAlertProps as WReactAlertProps } from './components/Alert/alert'
|
|
4
|
+
import type { AvatarProps as WAvatarProps } from './components/Avatar/avatar'
|
|
5
|
+
import type { ReactBadgeProps as WReactBadgeProps } from './components/Badge/badge'
|
|
6
|
+
import type { BreadcrumbProps as WBreadcrumbProps } from './components/Breadcrumb/breadcrumb'
|
|
7
|
+
import type { ReactButtonProps as WReactButtonProps } from './components/Button/button'
|
|
8
|
+
import type { ReactCardProps as WReactCardProps } from './components/Card/card'
|
|
9
|
+
import type { ReactCarouselProps as WReactCarouselProps } from './components/Carousel/carousel'
|
|
10
|
+
import type { ReactCheckboxProps as WReactCheckboxProps } from './components/Checkbox/checkbox'
|
|
11
|
+
import type { ReactCollapsibleProps as WReactCollapsibleProps } from './components/Collapsible/collapsible'
|
|
12
|
+
import type { ReactConditionalWrapperProps as WReactConditionalWrapperProps } from './components/ConditionalWrapper/conditionalwrapper'
|
|
13
|
+
import type { ReactDataTableProps as WReactDataTableProps } from './components/DataTable/datatable'
|
|
14
|
+
import type { ReactFooterProps as WReactFooterProps } from './components/Footer/footer'
|
|
15
|
+
import type { ReactGroupProps as WReactGroupProps } from './components/Group/group'
|
|
16
|
+
import type { IconProps as WIconProps } from './components/Icon/icon'
|
|
17
|
+
import type { ReactInputProps as WReactInputProps } from './components/Input/input'
|
|
18
|
+
import type { ReactListProps as WReactListProps } from './components/List/list'
|
|
19
|
+
import type { ReactMasonryProps as WReactMasonryProps } from './components/Masonry/masonry'
|
|
20
|
+
import type { ReactMenuProps as WReactMenuProps } from './components/Menu/menu'
|
|
21
|
+
import type { ReactModalProps as WReactModalProps } from './components/Modal/modal'
|
|
22
|
+
import type { ReactPaginationProps as WReactPaginationProps } from './components/Pagination/pagination'
|
|
23
|
+
import type { ReactPopoverProps as WReactPopoverProps } from './components/Popover/popover'
|
|
24
|
+
import type { ProgressProps as WProgressProps } from './components/Progress/progress'
|
|
25
|
+
import type { ReactRadioProps as WReactRadioProps } from './components/Radio/radio'
|
|
26
|
+
import type { RatingProps as WRatingProps } from './components/Rating/rating'
|
|
27
|
+
import type { ReactSelectProps as WReactSelectProps } from './components/Select/select'
|
|
28
|
+
import type { ReactSheetProps as WReactSheetProps } from './components/Sheet/sheet'
|
|
29
|
+
import type { ReactSidebarProps as WReactSidebarProps } from './components/Sidebar/sidebar'
|
|
30
|
+
import type { ReactSliderProps as WReactSliderProps } from './components/Slider/slider'
|
|
31
|
+
import type { SpinnerProps as WSpinnerProps } from './components/Spinner/spinner'
|
|
32
|
+
import type { ReactSwitchProps as WReactSwitchProps } from './components/Switch/switch'
|
|
33
|
+
import type { TableProps as WTableProps } from './components/Table/table'
|
|
34
|
+
import type { ReactTabsProps as WReactTabsProps } from './components/Tabs/tabs'
|
|
35
|
+
import type { ReactTextareaProps as WReactTextareaProps } from './components/Textarea/textarea'
|
|
36
|
+
import type { ReactThemeSwitcherProps as WReactThemeSwitcherProps } from './components/ThemeSwitcher/themeswitcher'
|
|
37
|
+
import type { ReactTimelineProps as WReactTimelineProps } from './components/Timeline/timeline'
|
|
38
|
+
import type { ReactTimelineItemProps as WReactTimelineItemProps } from './components/TimelineItem/timelineitem'
|
|
39
|
+
import type { ReactToastProps as WReactToastProps } from './components/Toast/toast'
|
|
33
40
|
|
|
34
41
|
declare module 'webcoreui/react' {
|
|
35
|
-
export const Accordion: FC<
|
|
36
|
-
export const Alert: FC<
|
|
37
|
-
export const Avatar: FC<
|
|
38
|
-
export const Badge: FC<
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
export const
|
|
63
|
-
export const
|
|
64
|
-
export const
|
|
65
|
-
export const
|
|
42
|
+
export const Accordion: FC<WAccordionProps>
|
|
43
|
+
export const Alert: FC<WReactAlertProps>
|
|
44
|
+
export const Avatar: FC<WAvatarProps>
|
|
45
|
+
export const Badge: FC<WReactBadgeProps>
|
|
46
|
+
export const Breadcrumb: FC<WBreadcrumbProps>
|
|
47
|
+
export const Button: FC<WReactButtonProps>
|
|
48
|
+
export const Card: FC<WReactCardProps>
|
|
49
|
+
export const Carousel: FC<WReactCarouselProps>
|
|
50
|
+
export const Checkbox: FC<WReactCheckboxProps>
|
|
51
|
+
export const Collapsible: FC<WReactCollapsibleProps>
|
|
52
|
+
export const ConditionalWrapper: FC<WReactConditionalWrapperProps>
|
|
53
|
+
export const DataTable: FC<WReactDataTableProps>
|
|
54
|
+
export const Footer: FC<WReactFooterProps>
|
|
55
|
+
export const Group: FC<WReactGroupProps>
|
|
56
|
+
export const Icon: FC<WIconProps>
|
|
57
|
+
export const Input: FC<WReactInputProps>
|
|
58
|
+
export const List: FC<WReactListProps>
|
|
59
|
+
export const Masonry: FC<WReactMasonryProps>
|
|
60
|
+
export const Menu: FC<WReactMenuProps>
|
|
61
|
+
export const Modal: FC<WReactModalProps>
|
|
62
|
+
export const Pagination: FC<WReactPaginationProps>
|
|
63
|
+
export const Popover: FC<WReactPopoverProps>
|
|
64
|
+
export const Progress: FC<WProgressProps>
|
|
65
|
+
export const Radio: FC<WReactRadioProps>
|
|
66
|
+
export const Rating: FC<WRatingProps>
|
|
67
|
+
export const Select: FC<WReactSelectProps>
|
|
68
|
+
export const Sheet: FC<WReactSheetProps>
|
|
69
|
+
export const Sidebar: FC<WReactSidebarProps>
|
|
70
|
+
export const Slider: FC<WReactSliderProps>
|
|
71
|
+
export const Spinner: FC<WSpinnerProps>
|
|
72
|
+
export const Switch: FC<WReactSwitchProps>
|
|
73
|
+
export const Table: FC<WTableProps>
|
|
74
|
+
export const Tabs: FC<WReactTabsProps>
|
|
75
|
+
export const Textarea: FC<WReactTextareaProps>
|
|
76
|
+
export const ThemeSwitcher: FC<WReactThemeSwitcherProps>
|
|
77
|
+
export const Timeline: FC<WReactTimelineProps>
|
|
78
|
+
export const TimelineItem: FC<WReactTimelineItemProps>
|
|
79
|
+
export const Toast: FC<WReactToastProps>
|
|
80
|
+
|
|
81
|
+
export type AccordionProps = WAccordionProps
|
|
82
|
+
export type AlertProps = WReactAlertProps
|
|
83
|
+
export type AvatarProps = WAvatarProps
|
|
84
|
+
export type BadgeProps = WReactBadgeProps
|
|
85
|
+
export type BreadcrumbProps = WBreadcrumbProps
|
|
86
|
+
export type ButtonProps = WReactButtonProps
|
|
87
|
+
export type CardProps = WReactCardProps
|
|
88
|
+
export type CarouselProps = WReactCarouselProps
|
|
89
|
+
export type CheckboxProps = WReactCheckboxProps
|
|
90
|
+
export type CollapsibleProps = WReactCollapsibleProps
|
|
91
|
+
export type ConditionalWrapperProps = WReactConditionalWrapperProps
|
|
92
|
+
export type DataTableProps = WReactDataTableProps
|
|
93
|
+
export type FooterProps = WReactFooterProps
|
|
94
|
+
export type GroupProps = WReactGroupProps
|
|
95
|
+
export type IconProps = WIconProps
|
|
96
|
+
export type InputProps = WReactInputProps
|
|
97
|
+
export type ListProps = WReactListProps
|
|
98
|
+
export type MasonryProps = WReactMasonryProps
|
|
99
|
+
export type MenuProps = WReactMenuProps
|
|
100
|
+
export type ModalProps = WReactModalProps
|
|
101
|
+
export type PaginationProps = WReactPaginationProps
|
|
102
|
+
export type PopoverProps = WReactPopoverProps
|
|
103
|
+
export type ProgressProps = WProgressProps
|
|
104
|
+
export type RadioProps = WReactRadioProps
|
|
105
|
+
export type RatingProps = WRatingProps
|
|
106
|
+
export type SelectProps = WReactSelectProps
|
|
107
|
+
export type SheetProps = WReactSheetProps
|
|
108
|
+
export type SidebarProps = WReactSidebarProps
|
|
109
|
+
export type SliderProps = WReactSliderProps
|
|
110
|
+
export type SpinnerProps = WSpinnerProps
|
|
111
|
+
export type SwitchProps = WReactSwitchProps
|
|
112
|
+
export type TableProps = WTableProps
|
|
113
|
+
export type TabsProps = WReactTabsProps
|
|
114
|
+
export type TextareaProps = WReactTextareaProps
|
|
115
|
+
export type ThemeSwitcherProps = WReactThemeSwitcherProps
|
|
116
|
+
export type TimelineProps = WReactTimelineProps
|
|
117
|
+
export type TimelineItemProps = WReactTimelineItemProps
|
|
118
|
+
export type ToastProps = WReactToastProps
|
|
66
119
|
}
|
package/react.js
CHANGED
|
@@ -2,23 +2,30 @@ import AccordionComponent from './components/Accordion/Accordion.tsx'
|
|
|
2
2
|
import AlertComponent from './components/Alert/Alert.tsx'
|
|
3
3
|
import AvatarComponent from './components/Avatar/Avatar.tsx'
|
|
4
4
|
import BadgeComponent from './components/Badge/Badge.tsx'
|
|
5
|
+
import BreadcrumbComponent from './components/Breadcrumb/Breadcrumb.tsx'
|
|
5
6
|
import ButtonComponent from './components/Button/Button.tsx'
|
|
6
7
|
import CardComponent from './components/Card/Card.tsx'
|
|
8
|
+
import CarouselComponent from './components/Carousel/Carousel.tsx'
|
|
7
9
|
import CheckboxComponent from './components/Checkbox/Checkbox.tsx'
|
|
8
10
|
import CollapsibleComponent from './components/Collapsible/Collapsible.tsx'
|
|
9
11
|
import ConditionalWrapperComponent from './components/ConditionalWrapper/ConditionalWrapper.tsx'
|
|
12
|
+
import DataTableComponent from './components/DataTable/DataTable.tsx'
|
|
13
|
+
import FooterComponent from './components/Footer/Footer.tsx'
|
|
10
14
|
import GroupComponent from './components/Group/Group.tsx'
|
|
11
15
|
import IconComponent from './components/Icon/Icon.tsx'
|
|
12
16
|
import InputComponent from './components/Input/Input.tsx'
|
|
13
17
|
import ListComponent from './components/List/List.tsx'
|
|
18
|
+
import MasonryComponent from './components/Masonry/Masonry.tsx'
|
|
14
19
|
import MenuComponent from './components/Menu/Menu.tsx'
|
|
15
20
|
import ModalComponent from './components/Modal/Modal.tsx'
|
|
21
|
+
import PaginationComponent from './components/Pagination/Pagination.tsx'
|
|
16
22
|
import PopoverComponent from './components/Popover/Popover.tsx'
|
|
17
23
|
import ProgressComponent from './components/Progress/Progress.tsx'
|
|
18
24
|
import RadioComponent from './components/Radio/Radio.tsx'
|
|
19
25
|
import RatingComponent from './components/Rating/Rating.tsx'
|
|
20
26
|
import SelectComponent from './components/Select/Select.tsx'
|
|
21
27
|
import SheetComponent from './components/Sheet/Sheet.tsx'
|
|
28
|
+
import SidebarComponent from './components/Sidebar/Sidebar.tsx'
|
|
22
29
|
import SliderComponent from './components/Slider/Slider.tsx'
|
|
23
30
|
import SpinnerComponent from './components/Spinner/Spinner.tsx'
|
|
24
31
|
import SwitchComponent from './components/Switch/Switch.tsx'
|
|
@@ -34,23 +41,30 @@ export const Accordion = AccordionComponent
|
|
|
34
41
|
export const Alert = AlertComponent
|
|
35
42
|
export const Avatar = AvatarComponent
|
|
36
43
|
export const Badge = BadgeComponent
|
|
44
|
+
export const Breadcrumb = BreadcrumbComponent
|
|
37
45
|
export const Button = ButtonComponent
|
|
38
46
|
export const Card = CardComponent
|
|
47
|
+
export const Carousel = CarouselComponent
|
|
39
48
|
export const Checkbox = CheckboxComponent
|
|
40
49
|
export const Collapsible = CollapsibleComponent
|
|
41
50
|
export const ConditionalWrapper = ConditionalWrapperComponent
|
|
51
|
+
export const DataTable = DataTableComponent
|
|
52
|
+
export const Footer = FooterComponent
|
|
42
53
|
export const Group = GroupComponent
|
|
43
54
|
export const Icon = IconComponent
|
|
44
55
|
export const Input = InputComponent
|
|
45
56
|
export const List = ListComponent
|
|
57
|
+
export const Masonry = MasonryComponent
|
|
46
58
|
export const Menu = MenuComponent
|
|
47
59
|
export const Modal = ModalComponent
|
|
60
|
+
export const Pagination = PaginationComponent
|
|
48
61
|
export const Popover = PopoverComponent
|
|
49
62
|
export const Progress = ProgressComponent
|
|
50
63
|
export const Radio = RadioComponent
|
|
51
64
|
export const Rating = RatingComponent
|
|
52
65
|
export const Select = SelectComponent
|
|
53
66
|
export const Sheet = SheetComponent
|
|
67
|
+
export const Sidebar = SidebarComponent
|
|
54
68
|
export const Slider = SliderComponent
|
|
55
69
|
export const Spinner = SpinnerComponent
|
|
56
70
|
export const Switch = SwitchComponent
|
package/scss/resets.scss
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
code {
|
|
60
|
-
@include spacing(px-
|
|
60
|
+
@include spacing(px-xs);
|
|
61
61
|
display: inline-block;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -103,4 +103,30 @@
|
|
|
103
103
|
@include border(0);
|
|
104
104
|
@include background(primary-50);
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
table {
|
|
108
|
+
@include size('w100%');
|
|
109
|
+
@include typography(left);
|
|
110
|
+
|
|
111
|
+
border-collapse: collapse;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
thead,
|
|
115
|
+
tfoot {
|
|
116
|
+
@include typography(bold);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
th,
|
|
120
|
+
td {
|
|
121
|
+
@include spacing(py-xs, px-sm);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
thead,
|
|
125
|
+
tr {
|
|
126
|
+
@include border(bottom, primary-50);
|
|
127
|
+
|
|
128
|
+
&:last-child {
|
|
129
|
+
@include border(bottom, 0);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
106
132
|
}
|
package/svelte.d.ts
CHANGED
|
@@ -1,65 +1,119 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
import type {
|
|
24
|
-
import type {
|
|
25
|
-
import type {
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import type {
|
|
29
|
-
import type {
|
|
30
|
-
import type {
|
|
31
|
-
import type {
|
|
1
|
+
import type { SvelteComponent } from 'svelte'
|
|
2
|
+
import type { AccordionProps as WAccordionProps } from './components/Accordion/accordion'
|
|
3
|
+
import type { AlertProps as WAlertProps } from './components/Alert/alert'
|
|
4
|
+
import type { AvatarProps as WAvatarProps } from './components/Avatar/avatar'
|
|
5
|
+
import type { SvelteBadgeProps as WSvelteBadgeProps } from './components/Badge/badge'
|
|
6
|
+
import type { BreadcrumbProps as WBreadcrumbProps } from './components/Breadcrumb/breadcrumb'
|
|
7
|
+
import type { SvelteButtonProps as WSvelteButtonProps } from './components/Button/button'
|
|
8
|
+
import type { CardProps as WCardProps } from './components/Card/card'
|
|
9
|
+
import type { SvelteCarouselProps as WSvelteCarouselProps } from './components/Carousel/carousel'
|
|
10
|
+
import type { SvelteCheckboxProps as WSvelteCheckboxProps } from './components/Checkbox/checkbox'
|
|
11
|
+
import type { CollapsibleProps as WCollapsibleProps } from './components/Collapsible/collapsible'
|
|
12
|
+
import type { ConditionalWrapperProps as WConditionalWrapperProps } from './components/ConditionalWrapper/conditionalwrapper'
|
|
13
|
+
import type { SvelteDataTableProps as WSvelteDataTableProps } from './components/DataTable/datatable'
|
|
14
|
+
import type { FooterProps as WFooterProps } from './components/Footer/footer'
|
|
15
|
+
import type { GroupProps as WGroupProps } from './components/Group/group'
|
|
16
|
+
import type { IconProps as WIconProps } from './components/Icon/icon'
|
|
17
|
+
import type { SvelteInputProps as WSvelteInputProps } from './components/Input/input'
|
|
18
|
+
import type { SvelteListProps as WSvelteListProps } from './components/List/list'
|
|
19
|
+
import type { SvelteMasonryProps as WSvelteMasonryProps } from './components/Masonry/masonry'
|
|
20
|
+
import type { MenuProps as WMenuProps } from './components/Menu/menu'
|
|
21
|
+
import type { ModalProps as WModalProps } from './components/Modal/modal'
|
|
22
|
+
import type { SveltePaginationProps as WSveltePaginationProps } from './components/Pagination/pagination'
|
|
23
|
+
import type { PopoverProps as WPopoverProps } from './components/Popover/popover'
|
|
24
|
+
import type { ProgressProps as WProgressProps } from './components/Progress/progress'
|
|
25
|
+
import type { SvelteRadioProps as WSvelteRadioProps } from './components/Radio/radio'
|
|
26
|
+
import type { RatingProps as WRatingProps } from './components/Rating/rating'
|
|
27
|
+
import type { SvelteSelectProps as WSvelteSelectProps } from './components/Select/select'
|
|
28
|
+
import type { SheetProps as WSheetProps } from './components/Sheet/sheet'
|
|
29
|
+
import type { SidebarProps as WSidebarProps } from './components/Sidebar/sidebar'
|
|
30
|
+
import type { SvelteSliderProps as WSvelteSliderProps } from './components/Slider/slider'
|
|
31
|
+
import type { SpinnerProps as WSpinnerProps } from './components/Spinner/spinner'
|
|
32
|
+
import type { SvelteSwitchProps as WSvelteSwitchProps } from './components/Switch/switch'
|
|
33
|
+
import type { TableProps as WTableProps } from './components/Table/table'
|
|
34
|
+
import type { TabsProps as WTabsProps } from './components/Tabs/tabs'
|
|
35
|
+
import type { SvelteTextareaProps as WSvelteTextareaProps } from './components/Textarea/textarea'
|
|
36
|
+
import type { ThemeSwitcherProps as WThemeSwitcherProps } from './components/ThemeSwitcher/themeswitcher'
|
|
37
|
+
import type { TimelineProps as WTimelineProps } from './components/Timeline/timeline'
|
|
38
|
+
import type { TimelineItemProps as WTimelineItemProps } from './components/TimelineItem/timelineitem'
|
|
39
|
+
import type { ToastProps as WToastProps } from './components/Toast/toast'
|
|
32
40
|
|
|
33
41
|
declare module 'webcoreui/svelte' {
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
42
|
+
export class Accordion extends SvelteComponent<WAccordionProps> {}
|
|
43
|
+
export class Alert extends SvelteComponent<WAlertProps> {}
|
|
44
|
+
export class Avatar extends SvelteComponent<WAvatarProps> {}
|
|
45
|
+
export class Badge extends SvelteComponent<WSvelteBadgeProps> {}
|
|
46
|
+
export class Breadcrumb extends SvelteComponent<WBreadcrumbProps> {}
|
|
47
|
+
export class Button extends SvelteComponent<WSvelteButtonProps> {}
|
|
48
|
+
export class Card extends SvelteComponent<WCardProps> {}
|
|
49
|
+
export class Carousel extends SvelteComponent<WSvelteCarouselProps> {}
|
|
50
|
+
export class Checkbox extends SvelteComponent<WSvelteCheckboxProps> {}
|
|
51
|
+
export class Collapsible extends SvelteComponent<WCollapsibleProps> {}
|
|
52
|
+
export class ConditionalWrapper extends SvelteComponent<WConditionalWrapperProps> {}
|
|
53
|
+
export class DataTable extends SvelteComponent<WSvelteDataTableProps> {}
|
|
54
|
+
export class Footer extends SvelteComponent<WFooterProps> {}
|
|
55
|
+
export class Group extends SvelteComponent<WGroupProps> {}
|
|
56
|
+
export class Icon extends SvelteComponent<WIconProps> {}
|
|
57
|
+
export class Input extends SvelteComponent<WSvelteInputProps> {}
|
|
58
|
+
export class List extends SvelteComponent<WSvelteListProps> {}
|
|
59
|
+
export class Masonry extends SvelteComponent<WSvelteMasonryProps> {}
|
|
60
|
+
export class Menu extends SvelteComponent<WMenuProps> {}
|
|
61
|
+
export class Modal extends SvelteComponent<WModalProps> {}
|
|
62
|
+
export class Pagination extends SvelteComponent<WSveltePaginationProps> {}
|
|
63
|
+
export class Popover extends SvelteComponent<WPopoverProps> {}
|
|
64
|
+
export class Progress extends SvelteComponent<WProgressProps> {}
|
|
65
|
+
export class Radio extends SvelteComponent<WSvelteRadioProps> {}
|
|
66
|
+
export class Rating extends SvelteComponent<WRatingProps> {}
|
|
67
|
+
export class Select extends SvelteComponent<WSvelteSelectProps> {}
|
|
68
|
+
export class Sheet extends SvelteComponent<WSheetProps> {}
|
|
69
|
+
export class Sidebar extends SvelteComponent<WSidebarProps> {}
|
|
70
|
+
export class Slider extends SvelteComponent<WSvelteSliderProps> {}
|
|
71
|
+
export class Spinner extends SvelteComponent<WSpinnerProps> {}
|
|
72
|
+
export class Switch extends SvelteComponent<WSvelteSwitchProps> {}
|
|
73
|
+
export class Table extends SvelteComponent<WTableProps> {}
|
|
74
|
+
export class Tabs extends SvelteComponent<WTabsProps> {}
|
|
75
|
+
export class Textarea extends SvelteComponent<WSvelteTextareaProps> {}
|
|
76
|
+
export class ThemeSwitcher extends SvelteComponent<WThemeSwitcherProps> {}
|
|
77
|
+
export class Timeline extends SvelteComponent<WTimelineProps> {}
|
|
78
|
+
export class TimelineItem extends SvelteComponent<WTimelineItemProps> {}
|
|
79
|
+
export class Toast extends SvelteComponent<WToastProps> {}
|
|
80
|
+
|
|
81
|
+
export type AccordionProps = WAccordionProps
|
|
82
|
+
export type AlertProps = WAlertProps
|
|
83
|
+
export type AvatarProps = WAvatarProps
|
|
84
|
+
export type BadgeProps = WSvelteBadgeProps
|
|
85
|
+
export type BreadcrumbProps = WBreadcrumbProps
|
|
86
|
+
export type ButtonProps = WSvelteButtonProps
|
|
87
|
+
export type CardProps = WCardProps
|
|
88
|
+
export type CarouselProps = WSvelteCarouselProps
|
|
89
|
+
export type CheckboxProps = WSvelteCheckboxProps
|
|
90
|
+
export type CollapsibleProps = WCollapsibleProps
|
|
91
|
+
export type ConditionalWrapperProps = WConditionalWrapperProps
|
|
92
|
+
export type DataTableProps = WSvelteDataTableProps
|
|
93
|
+
export type FooterProps = WFooterProps
|
|
94
|
+
export type GroupProps = WGroupProps
|
|
95
|
+
export type IconProps = WIconProps
|
|
96
|
+
export type InputProps = WSvelteInputProps
|
|
97
|
+
export type ListProps = WSvelteListProps
|
|
98
|
+
export type MasonryProps = WSvelteMasonryProps
|
|
99
|
+
export type MenuProps = WMenuProps
|
|
100
|
+
export type ModalProps = WModalProps
|
|
101
|
+
export type PaginationProps = WSveltePaginationProps
|
|
102
|
+
export type PopoverProps = WPopoverProps
|
|
103
|
+
export type ProgressProps = WProgressProps
|
|
104
|
+
export type RadioProps = WSvelteRadioProps
|
|
105
|
+
export type RatingProps = WRatingProps
|
|
106
|
+
export type SelectProps = WSvelteSelectProps
|
|
107
|
+
export type SheetProps = WSheetProps
|
|
108
|
+
export type SidebarProps = WSidebarProps
|
|
109
|
+
export type SliderProps = WSvelteSliderProps
|
|
110
|
+
export type SpinnerProps = WSpinnerProps
|
|
111
|
+
export type SwitchProps = WSvelteSwitchProps
|
|
112
|
+
export type TableProps = WTableProps
|
|
113
|
+
export type TabsProps = WTabsProps
|
|
114
|
+
export type TextareaProps = WSvelteTextareaProps
|
|
115
|
+
export type ThemeSwitcherProps = WThemeSwitcherProps
|
|
116
|
+
export type TimelineProps = WTimelineProps
|
|
117
|
+
export type TimelineItemProps = WTimelineItemProps
|
|
118
|
+
export type ToastProps = WToastProps
|
|
65
119
|
}
|
package/svelte.js
CHANGED
|
@@ -2,23 +2,30 @@ import AccordionComponent from './components/Accordion/Accordion.svelte'
|
|
|
2
2
|
import AlertComponent from './components/Alert/Alert.svelte'
|
|
3
3
|
import AvatarComponent from './components/Avatar/Avatar.svelte'
|
|
4
4
|
import BadgeComponent from './components/Badge/Badge.svelte'
|
|
5
|
+
import BreadcrumbComponent from './components/Breadcrumb/Breadcrumb.svelte'
|
|
5
6
|
import ButtonComponent from './components/Button/Button.svelte'
|
|
6
7
|
import CardComponent from './components/Card/Card.svelte'
|
|
8
|
+
import CarouselComponent from './components/Carousel/Carousel.svelte'
|
|
7
9
|
import CheckboxComponent from './components/Checkbox/Checkbox.svelte'
|
|
8
10
|
import CollapsibleComponent from './components/Collapsible/Collapsible.svelte'
|
|
9
11
|
import ConditionalWrapperComponent from './components/ConditionalWrapper/ConditionalWrapper.svelte'
|
|
12
|
+
import DataTableComponent from './components/DataTable/DataTable.svelte'
|
|
13
|
+
import FooterComponent from './components/Footer/Footer.svelte'
|
|
10
14
|
import GroupComponent from './components/Group/Group.svelte'
|
|
11
15
|
import IconComponent from './components/Icon/Icon.svelte'
|
|
12
16
|
import InputComponent from './components/Input/Input.svelte'
|
|
13
17
|
import ListComponent from './components/List/List.svelte'
|
|
18
|
+
import MasonryComponent from './components/Masonry/Masonry.svelte'
|
|
14
19
|
import MenuComponent from './components/Menu/Menu.svelte'
|
|
15
20
|
import ModalComponent from './components/Modal/Modal.svelte'
|
|
21
|
+
import PaginationComponent from './components/Pagination/Pagination.svelte'
|
|
16
22
|
import PopoverComponent from './components/Popover/Popover.svelte'
|
|
17
23
|
import ProgressComponent from './components/Progress/Progress.svelte'
|
|
18
24
|
import RadioComponent from './components/Radio/Radio.svelte'
|
|
19
25
|
import RatingComponent from './components/Rating/Rating.svelte'
|
|
20
26
|
import SelectComponent from './components/Select/Select.svelte'
|
|
21
27
|
import SheetComponent from './components/Sheet/Sheet.svelte'
|
|
28
|
+
import SidebarComponent from './components/Sidebar/Sidebar.svelte'
|
|
22
29
|
import SliderComponent from './components/Slider/Slider.svelte'
|
|
23
30
|
import SpinnerComponent from './components/Spinner/Spinner.svelte'
|
|
24
31
|
import SwitchComponent from './components/Switch/Switch.svelte'
|
|
@@ -34,23 +41,30 @@ export const Accordion = AccordionComponent
|
|
|
34
41
|
export const Alert = AlertComponent
|
|
35
42
|
export const Avatar = AvatarComponent
|
|
36
43
|
export const Badge = BadgeComponent
|
|
44
|
+
export const Breadcrumb = BreadcrumbComponent
|
|
37
45
|
export const Button = ButtonComponent
|
|
38
46
|
export const Card = CardComponent
|
|
47
|
+
export const Carousel = CarouselComponent
|
|
39
48
|
export const Checkbox = CheckboxComponent
|
|
40
49
|
export const Collapsible = CollapsibleComponent
|
|
41
50
|
export const ConditionalWrapper = ConditionalWrapperComponent
|
|
51
|
+
export const DataTable = DataTableComponent
|
|
52
|
+
export const Footer = FooterComponent
|
|
42
53
|
export const Group = GroupComponent
|
|
43
54
|
export const Icon = IconComponent
|
|
44
55
|
export const Input = InputComponent
|
|
45
56
|
export const List = ListComponent
|
|
57
|
+
export const Masonry = MasonryComponent
|
|
46
58
|
export const Menu = MenuComponent
|
|
47
59
|
export const Modal = ModalComponent
|
|
60
|
+
export const Pagination = PaginationComponent
|
|
48
61
|
export const Popover = PopoverComponent
|
|
49
62
|
export const Progress = ProgressComponent
|
|
50
63
|
export const Radio = RadioComponent
|
|
51
64
|
export const Rating = RatingComponent
|
|
52
65
|
export const Select = SelectComponent
|
|
53
66
|
export const Sheet = SheetComponent
|
|
67
|
+
export const Sidebar = SidebarComponent
|
|
54
68
|
export const Slider = SliderComponent
|
|
55
69
|
export const Spinner = SpinnerComponent
|
|
56
70
|
export const Switch = SwitchComponent
|