solid-element-ui 0.1.16 → 0.2.1
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/dist/index.css +1 -0
- package/dist/index.d.ts +72 -72
- package/dist/index.js +6409 -3496
- package/index.tsx +76 -73
- package/package.json +22 -9
package/index.tsx
CHANGED
|
@@ -7,89 +7,92 @@
|
|
|
7
7
|
// TODO 专属css
|
|
8
8
|
// TODO 格栅布局,flex布局,space看情况再说添加不添加
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
export { SeButton } from "@solid-element-ui/components/button/src/button.tsx";
|
|
12
|
-
export { SeButtonGroup } from "@solid-element-ui/components/button/src/button-group.tsx";
|
|
13
|
-
export { SeAffix } from "@solid-element-ui/components/affix/src/affix.tsx";
|
|
14
|
-
export { SeBreadcrumb } from "@solid-element-ui/components/breadcrumb/src/breadcrumb.tsx";
|
|
15
|
-
export { SeBreadcrumbItem } from "@solid-element-ui/components/breadcrumb/src/breadcrumb-item.tsx";
|
|
16
|
-
export { SeAnchor } from "@solid-element-ui/components/anchor/src/anchor.tsx";
|
|
17
|
-
export { SeAnchorLink } from "@solid-element-ui/components/anchor/src/anchor-link.tsx";
|
|
10
|
+
// TODO 使用cva+cn 重新编写组件
|
|
18
11
|
|
|
19
|
-
|
|
12
|
+
import "./css/index.css";
|
|
13
|
+
export { Button } from "./components/button/button.tsx";
|
|
14
|
+
export { ButtonGroup } from "./components/button/button-group.tsx";
|
|
15
|
+
export { Affix } from "./components/affix/affix.tsx";
|
|
16
|
+
export { Breadcrumb } from "./components/breadcrumb/breadcrumb.tsx";
|
|
17
|
+
export { BreadcrumbItem } from "./components/breadcrumb/breadcrumb-item.tsx";
|
|
18
|
+
export { Anchor } from "./components/anchor/anchor.tsx";
|
|
19
|
+
export { AnchorLink } from "./components/anchor/anchor-link.tsx";
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Divider } from "./components/divider/divider.tsx";
|
|
22
22
|
|
|
23
|
-
export {
|
|
24
|
-
export { SeCheckbox } from "@solid-element-ui/components/checkbox/src/checkbox.tsx";
|
|
23
|
+
export { Autocomplete } from "./components/autocomplete/autocomplete.tsx";
|
|
25
24
|
|
|
26
|
-
export {
|
|
25
|
+
export { Cascader } from "./components/cascader/cascader.tsx";
|
|
26
|
+
export { Checkbox } from "./components/checkbox/checkbox.tsx";
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { ColorPicker } from "./components/color-picker/color-picker.tsx";
|
|
29
29
|
|
|
30
|
-
export {
|
|
31
|
-
export { SeFormItem } from "@solid-element-ui/components/form/src/form-item.tsx";
|
|
32
|
-
export { SeInput } from "@solid-element-ui/components/input/src/input.tsx";
|
|
33
|
-
export { SeInputNumber } from "@solid-element-ui/components/input-number/src/input-number.tsx";
|
|
34
|
-
export { SeInputTag } from "@solid-element-ui/components/input-tag/src/input-tag.tsx";
|
|
35
|
-
export { SeMentions } from "@solid-element-ui/components/mentions/src/mentions.tsx";
|
|
30
|
+
export { DatePicker } from "./components/date-picker/date-picker.tsx";
|
|
36
31
|
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
|
|
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 {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export { type
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export {
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
85
|
-
export {
|
|
86
|
-
export {
|
|
87
|
-
export {
|
|
88
|
-
export {
|
|
89
|
-
export {
|
|
32
|
+
export { Form } from "./components/form/form.tsx";
|
|
33
|
+
export { FormItem } from "./components/form/form-item.tsx";
|
|
34
|
+
export { Input } from "./components/input/input.tsx";
|
|
35
|
+
export { InputNumber } from "./components/input-number/input-number.tsx";
|
|
36
|
+
export { InputTag } from "./components/input-tag/input-tag.tsx";
|
|
37
|
+
export { Mentions } from "./components/mentions/mentions.tsx";
|
|
38
|
+
|
|
39
|
+
export { Radio } from "./components/radio/radio.tsx";
|
|
40
|
+
export { RadioGroup } from "./components/radio/radio-group.tsx";
|
|
41
|
+
export { Rate } from "./components/rate/rate.tsx";
|
|
42
|
+
export { Select } from "./components/select/select.tsx";
|
|
43
|
+
export { Slider } from "./components/slider/slider.tsx";
|
|
44
|
+
export { Switch } from "./components/switch/switch.tsx";
|
|
45
|
+
export { TimePicker } from "./components/time-picker/time-picker.tsx";
|
|
46
|
+
export { Transfer } from "./components/transfer/transfer.tsx";
|
|
47
|
+
export { TreeSelect } from "./components/tree-select/tree-select.tsx";
|
|
48
|
+
export { Upload } from "./components/upload/upload.tsx";
|
|
49
|
+
export { type UploadFile } from "./components/upload/setting.ts";
|
|
50
|
+
export { Avatar } from "./components/avatar/avatar.tsx";
|
|
51
|
+
export { Badge } from "./components/badge/badge.tsx";
|
|
52
|
+
export { Calendar } from "./components/calendar/calendar.tsx";
|
|
53
|
+
export { Card } from "./components/card/card.tsx";
|
|
54
|
+
export { Carousel } from "./components/carousel/carousel.tsx";
|
|
55
|
+
export { Collapse } from "./components/collapse/collapse.tsx";
|
|
56
|
+
export { CollapsePanel } from "./components/collapse/collapse-panel.tsx";
|
|
57
|
+
export { Description } from "./components/description/description.tsx";
|
|
58
|
+
export { DescriptionItem } from "./components/description/description-item.tsx";
|
|
59
|
+
export { Empty } from "./components/empty/empty.tsx";
|
|
60
|
+
export { Image } from "./components/image/image.tsx";
|
|
61
|
+
export { Popover } from "./components/popover/popover.tsx";
|
|
62
|
+
export { Segmented } from "./components/segmented/segmented.tsx";
|
|
63
|
+
export { Statistic } from "./components/statistic/statistic.tsx";
|
|
64
|
+
export { Table } from "./components/table/table.tsx";
|
|
65
|
+
export { type ColumnType } from "./components/table/setting.ts";
|
|
66
|
+
export { Tag } from "./components/tag/tag.tsx";
|
|
67
|
+
export { Timeline } from "./components/timeline/timeline.tsx";
|
|
68
|
+
export { TimelineItem } from "./components/timeline/timeline-item.tsx";
|
|
69
|
+
export { Tooltip } from "./components/tooltip/tooltip.tsx";
|
|
70
|
+
export { Tour } from "./components/tour/tour.tsx";
|
|
71
|
+
export { Tree } from "./components/tree/tree.tsx";
|
|
72
|
+
export { type TreeData } from "./components/tree/setting.ts";
|
|
73
|
+
export { Alert } from "./components/alert/alert.tsx";
|
|
74
|
+
export { Drawer } from "./components/drawer/drawer.tsx";
|
|
75
|
+
export { Message } from "./components/message/message.tsx";
|
|
76
|
+
export { Modal } from "./components/modal/modal.tsx";
|
|
77
|
+
export { Notification } from "./components/notification/notification.tsx";
|
|
78
|
+
export { Popconfirm } from "./components/popconfirm/popconfirm.tsx";
|
|
79
|
+
export { Progress } from "./components/progress/progress.tsx";
|
|
80
|
+
export { Result } from "./components/result/result.tsx";
|
|
81
|
+
export { Skeleton } from "./components/skeleton/skeleton.tsx";
|
|
82
|
+
export { SkeletonElement } from "./components/skeleton/skeleton.tsx";
|
|
83
|
+
export { Spin } from "./components/spin/spin.tsx";
|
|
84
|
+
export { Watermark } from "./components/watermark/watermark.tsx";
|
|
85
|
+
export { Dropdown } from "./components/dropdown/dropdown.tsx";
|
|
86
|
+
export { Menu } from "./components/menu/menu.tsx";
|
|
87
|
+
export { type MenuItemType } from "./components/menu/setting.ts";
|
|
88
|
+
export { Pagination } from "./components/pagination/pagination.tsx";
|
|
89
|
+
export { Steps } from "./components/steps/steps.tsx";
|
|
90
|
+
export { Tabs } from "./components/tabs/tabs.tsx";
|
|
91
|
+
export { Masonry } from "./components/masonry/masonry.tsx";
|
|
90
92
|
|
|
91
93
|
const justForTest = () => {
|
|
92
94
|
console.log("just for test");
|
|
95
|
+
console.log("make it work 1.0.2");
|
|
93
96
|
};
|
|
94
97
|
|
|
95
98
|
export default justForTest;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-element-ui",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "A Component Library for solidjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -14,22 +14,29 @@
|
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
+
"development": "./index.tsx",
|
|
18
|
+
"solid": "./index.tsx",
|
|
17
19
|
"types": "./dist/index.d.ts",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
+
"browser": "./dist/index.js",
|
|
21
|
+
"default": "./index.tsx",
|
|
22
|
+
"import": "./dist/index.js"
|
|
20
23
|
}
|
|
21
24
|
},
|
|
22
25
|
"scripts": {
|
|
23
26
|
"dev": "vite",
|
|
24
|
-
"build": "tsc -b && vite build"
|
|
25
|
-
"preview": "vite preview"
|
|
27
|
+
"build": "tsc -b && vite build"
|
|
26
28
|
},
|
|
27
29
|
"peerDependencies": {
|
|
28
|
-
"solid-js": "
|
|
30
|
+
"solid-js": "^1.9.10"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@floating-ui/dom": "^1.7.4",
|
|
34
|
+
"class-variance-authority": "^0.7.1",
|
|
35
|
+
"tailwind-variants": "^3.2.2"
|
|
29
36
|
},
|
|
30
37
|
"devDependencies": {
|
|
31
|
-
"@solid-element-ui/
|
|
32
|
-
"@
|
|
38
|
+
"@solid-element-ui/utils": "workspace:*",
|
|
39
|
+
"@tailwindcss/vite": "*"
|
|
33
40
|
},
|
|
34
41
|
"license": "MIT",
|
|
35
42
|
"author": "sanguogege",
|
|
@@ -52,5 +59,11 @@
|
|
|
52
59
|
"bugs": {
|
|
53
60
|
"url": "https://github.com/sanguogege/solid-element-ui/issues"
|
|
54
61
|
},
|
|
55
|
-
"sideEffects": false
|
|
62
|
+
"sideEffects": false,
|
|
63
|
+
"include": [
|
|
64
|
+
"components/**/*",
|
|
65
|
+
"index.tsx",
|
|
66
|
+
"**/*.ts",
|
|
67
|
+
"**/*"
|
|
68
|
+
]
|
|
56
69
|
}
|