@soul-refiner/design-system 0.0.17 → 0.0.18
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 +2 -2
- package/src/actions/Button/Button.tsx +1 -1
- package/src/actions/Button/index.ts +1 -1
- package/src/actions/Dropdown/index.ts +1 -4
- package/src/actions/Dropzone/index.ts +1 -1
- package/src/index.ts +63 -63
- package/src/navigation/EditorBar/components/ButtonModal/ButtonModal.tsx +1 -1
- package/src/surfaces/Message/Message.tsx +1 -1
- package/src/surfaces/RatingsOverview/RatingsOverview.tsx +2 -2
- package/tsconfig.json +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soul-refiner/design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@emoji-mart/react": "^1.0.1",
|
|
45
45
|
"@soul-refiner/client": "^0.0.13",
|
|
46
|
-
"@soul-refiner/icons": "0.0.
|
|
46
|
+
"@soul-refiner/icons": "0.0.19",
|
|
47
47
|
"@soul-refiner/models": "^0.0.28",
|
|
48
48
|
"@soul-refiner/tsconfig": "^0.0.1",
|
|
49
49
|
"@soul-refiner/utils": "0.0.9",
|
|
@@ -33,7 +33,7 @@ export interface ButtonProps
|
|
|
33
33
|
uppercase?: boolean;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
interface ButtonStyles extends React.CSSProperties {
|
|
36
|
+
export interface ButtonStyles extends React.CSSProperties {
|
|
37
37
|
"--background-color"?: string;
|
|
38
38
|
"--color"?: string;
|
|
39
39
|
"--hover-color"?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Button
|
|
1
|
+
export { Button } from "./Button";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Dropzone
|
|
1
|
+
export { Dropzone } from "./Dropzone"
|
package/src/index.ts
CHANGED
|
@@ -1,149 +1,149 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export {
|
|
3
3
|
Button,
|
|
4
|
-
ButtonProps,
|
|
4
|
+
type ButtonProps,
|
|
5
5
|
Dropdown,
|
|
6
|
-
DropdownProps,
|
|
6
|
+
type DropdownProps,
|
|
7
7
|
Dropzone,
|
|
8
|
-
DropzoneProps,
|
|
8
|
+
type DropzoneProps,
|
|
9
9
|
Rate,
|
|
10
|
-
RateProps,
|
|
10
|
+
type RateProps,
|
|
11
11
|
Switch,
|
|
12
|
-
SwitchProps,
|
|
12
|
+
type SwitchProps,
|
|
13
13
|
} from "./actions";
|
|
14
14
|
|
|
15
15
|
export {
|
|
16
16
|
CourseCard,
|
|
17
|
-
CourseCardProps,
|
|
17
|
+
type CourseCardProps,
|
|
18
18
|
EpisodeCard,
|
|
19
|
-
EpisodeCardProps,
|
|
19
|
+
type EpisodeCardProps,
|
|
20
20
|
FeatureCard,
|
|
21
|
-
FeatureCardProps,
|
|
21
|
+
type FeatureCardProps,
|
|
22
22
|
} from "./cards";
|
|
23
23
|
|
|
24
24
|
export {
|
|
25
25
|
Bar,
|
|
26
|
-
BarProps,
|
|
26
|
+
type BarProps,
|
|
27
27
|
Line,
|
|
28
|
-
LineProps,
|
|
28
|
+
type LineProps,
|
|
29
29
|
Pie,
|
|
30
|
-
PieProps
|
|
30
|
+
type PieProps
|
|
31
31
|
} from "./data";
|
|
32
32
|
|
|
33
33
|
export {
|
|
34
34
|
Editor,
|
|
35
|
-
EditorProps,
|
|
35
|
+
type EditorProps,
|
|
36
36
|
} from "./editor";
|
|
37
37
|
|
|
38
38
|
export {
|
|
39
39
|
Chip,
|
|
40
|
-
ChipProps,
|
|
40
|
+
type ChipProps,
|
|
41
41
|
Loader,
|
|
42
|
-
LoaderProps,
|
|
42
|
+
type LoaderProps,
|
|
43
43
|
ProgressBar,
|
|
44
|
-
ProgressBarProps,
|
|
44
|
+
type ProgressBarProps,
|
|
45
45
|
Toast,
|
|
46
|
-
ToastProps,
|
|
46
|
+
type ToastProps,
|
|
47
47
|
Tooltip,
|
|
48
|
-
TooltipProps,
|
|
48
|
+
type TooltipProps,
|
|
49
49
|
} from "./feedback";
|
|
50
50
|
|
|
51
51
|
export {
|
|
52
52
|
Avatar,
|
|
53
|
-
AvatarProps,
|
|
53
|
+
type AvatarProps,
|
|
54
54
|
ColoredIcon,
|
|
55
|
-
ColoredIconProps,
|
|
55
|
+
type ColoredIconProps,
|
|
56
56
|
DevicePreview,
|
|
57
|
-
DevicePreviewProps,
|
|
57
|
+
type DevicePreviewProps,
|
|
58
58
|
IconHeader,
|
|
59
|
-
IconHeaderProps,
|
|
59
|
+
type IconHeaderProps,
|
|
60
60
|
StarRating,
|
|
61
|
-
StarRatingProps,
|
|
61
|
+
type StarRatingProps,
|
|
62
62
|
} from "./iconography";
|
|
63
63
|
|
|
64
64
|
export {
|
|
65
65
|
// BodyContent,
|
|
66
|
-
// BodyContentProps,
|
|
66
|
+
// type BodyContentProps,
|
|
67
67
|
JoinGroupModal,
|
|
68
|
-
JoinGroupModalProps
|
|
68
|
+
type JoinGroupModalProps
|
|
69
69
|
} from "./implementations";
|
|
70
70
|
|
|
71
71
|
export {
|
|
72
72
|
CalendarInput,
|
|
73
|
-
CalendarInputProps,
|
|
73
|
+
type CalendarInputProps,
|
|
74
74
|
CheckboxInput,
|
|
75
|
-
CheckboxInputProps,
|
|
75
|
+
type CheckboxInputProps,
|
|
76
76
|
FeedInput,
|
|
77
|
-
FeedInputProps,
|
|
77
|
+
type FeedInputProps,
|
|
78
78
|
InboxInput,
|
|
79
|
-
InboxInputProps,
|
|
79
|
+
type InboxInputProps,
|
|
80
80
|
PostInput,
|
|
81
|
-
PostInputProps,
|
|
81
|
+
type PostInputProps,
|
|
82
82
|
RadioInput,
|
|
83
|
-
RadioInputProps,
|
|
83
|
+
type RadioInputProps,
|
|
84
84
|
SearchInput,
|
|
85
|
-
SearchInputProps,
|
|
85
|
+
type SearchInputProps,
|
|
86
86
|
SelectInput,
|
|
87
|
-
SelectInputProps,
|
|
87
|
+
type SelectInputProps,
|
|
88
88
|
TagInput,
|
|
89
|
-
TagInputProps,
|
|
89
|
+
type TagInputProps,
|
|
90
90
|
TextInput,
|
|
91
|
-
TextInputProps,
|
|
91
|
+
type TextInputProps,
|
|
92
92
|
} from "./inputs";
|
|
93
93
|
|
|
94
|
-
export { ContactDetails, ContactDetailsProps } from "./lists";
|
|
94
|
+
export { ContactDetails, type ContactDetailsProps } from "./lists";
|
|
95
95
|
|
|
96
|
-
export { EditorBar, EditorBarProps } from "./navigation";
|
|
96
|
+
export { EditorBar, type EditorBarProps } from "./navigation";
|
|
97
97
|
|
|
98
98
|
export {
|
|
99
99
|
Breadcrumbs,
|
|
100
|
-
BreadcrumbsProps,
|
|
100
|
+
type BreadcrumbsProps,
|
|
101
101
|
Drawer,
|
|
102
|
-
DrawerProps,
|
|
102
|
+
type DrawerProps,
|
|
103
103
|
MenuTabs,
|
|
104
|
-
MenuTabsProps,
|
|
104
|
+
type MenuTabsProps,
|
|
105
105
|
Navigation,
|
|
106
|
-
NavigationProps,
|
|
107
|
-
NavigationItemProps,
|
|
106
|
+
type NavigationProps,
|
|
107
|
+
type NavigationItemProps,
|
|
108
108
|
SubNavigation,
|
|
109
|
-
SubNavigationProps,
|
|
110
|
-
SubNavigationItemProps,
|
|
111
|
-
SubNavigationButtonProps,
|
|
112
|
-
SubNavigationCreateProps,
|
|
113
|
-
SubNavigationTabProps,
|
|
114
|
-
SubNavigationSubMenuProps,
|
|
115
|
-
SubNavigationSubMenuItemProps,
|
|
109
|
+
type SubNavigationProps,
|
|
110
|
+
type SubNavigationItemProps,
|
|
111
|
+
type SubNavigationButtonProps,
|
|
112
|
+
type SubNavigationCreateProps,
|
|
113
|
+
type SubNavigationTabProps,
|
|
114
|
+
type SubNavigationSubMenuProps,
|
|
115
|
+
type SubNavigationSubMenuItemProps,
|
|
116
116
|
Pagination,
|
|
117
|
-
PaginationProps
|
|
117
|
+
type PaginationProps
|
|
118
118
|
} from "./navigation";
|
|
119
119
|
|
|
120
120
|
export {
|
|
121
121
|
Comment,
|
|
122
|
-
CommentProps,
|
|
122
|
+
type CommentProps,
|
|
123
123
|
Faq,
|
|
124
|
-
FaqProps,
|
|
124
|
+
type FaqProps,
|
|
125
125
|
Message,
|
|
126
|
-
MessageProps,
|
|
126
|
+
type MessageProps,
|
|
127
127
|
Modal,
|
|
128
|
-
ModalProps,
|
|
128
|
+
type ModalProps,
|
|
129
129
|
Plan,
|
|
130
|
-
PlanProps,
|
|
130
|
+
type PlanProps,
|
|
131
131
|
Post,
|
|
132
|
-
PostProps,
|
|
132
|
+
type PostProps,
|
|
133
133
|
ProfileHeader,
|
|
134
|
-
ProfileHeaderProps,
|
|
134
|
+
type ProfileHeaderProps,
|
|
135
135
|
RatingsOverview,
|
|
136
|
-
RatingsOverviewProps,
|
|
136
|
+
type RatingsOverviewProps,
|
|
137
137
|
Review,
|
|
138
|
-
ReviewProps,
|
|
138
|
+
type ReviewProps,
|
|
139
139
|
} from "./surfaces";
|
|
140
140
|
|
|
141
141
|
export {
|
|
142
142
|
Filter,
|
|
143
|
-
FilterProps,
|
|
143
|
+
type FilterProps,
|
|
144
144
|
Table,
|
|
145
|
-
TableProps,
|
|
146
|
-
TableHeaderCellProps,
|
|
147
|
-
TableRowProps,
|
|
148
|
-
TableCellProps,
|
|
145
|
+
type TableProps,
|
|
146
|
+
type TableHeaderCellProps,
|
|
147
|
+
type TableRowProps,
|
|
148
|
+
type TableCellProps,
|
|
149
149
|
} from "./tables";
|
|
@@ -276,7 +276,7 @@ export const ButtonModal = ({ editorRef, pageName }: ButtonModalProps) => {
|
|
|
276
276
|
);
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
interface SelectionProps extends React.PropsWithChildren {
|
|
279
|
+
export interface SelectionProps extends React.PropsWithChildren {
|
|
280
280
|
description: string;
|
|
281
281
|
name: string;
|
|
282
282
|
onClick: () => void;
|
|
@@ -8,11 +8,11 @@ import { Button } from "../../actions";
|
|
|
8
8
|
export interface RatingsOverviewProps {
|
|
9
9
|
rating: number;
|
|
10
10
|
reviewCount: number;
|
|
11
|
-
stars:
|
|
11
|
+
stars: Ratingexport interface;
|
|
12
12
|
onWriteReview: () => void;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export interface
|
|
15
|
+
export interface Ratingexport interface {
|
|
16
16
|
one: number;
|
|
17
17
|
two: number;
|
|
18
18
|
three: number;
|