@doubao-dev/framework 0.0.38-canary-1b929937-20260722020207
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.
Potentially problematic release.
This version of @doubao-dev/framework might be problematic. Click here for more details.
- package/LICENCE +10 -0
- package/README.md +9 -0
- package/components-style.css +2 -0
- package/components.d.ts +1 -0
- package/dist/api.d.ts +9916 -0
- package/dist/components.d.ts +4504 -0
- package/dist/config.d.ts +295 -0
- package/dist/config.js +3 -0
- package/dist/index.d.ts +779 -0
- package/dist/index.js +2 -0
- package/jsx-runtime.d.ts +50 -0
- package/package.json +83 -0
- package/types.d.ts +179 -0
package/dist/index.js
ADDED
package/jsx-runtime.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// Generated file. Do not edit this file directly.
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
export namespace JSX {
|
|
5
|
+
type ElementType = React.JSX.ElementType;
|
|
6
|
+
// interface Element extends React.JSX.Element {}
|
|
7
|
+
interface ElementClass extends React.JSX.ElementClass {}
|
|
8
|
+
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
|
|
9
|
+
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
|
|
10
|
+
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
|
|
11
|
+
interface IntrinsicAttributes {
|
|
12
|
+
key?: React.Key | null | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
|
|
15
|
+
interface IntrinsicElements {
|
|
16
|
+
// Extended components
|
|
17
|
+
button: import('./components.d.ts').ButtonProps;
|
|
18
|
+
canvas: import('./components.d.ts').CanvasProps;
|
|
19
|
+
map: import('./components.d.ts').MapProps;
|
|
20
|
+
'map-marker': import('./components.d.ts').MapMarkerProps;
|
|
21
|
+
markdown: import('./components.d.ts').MarkdownProps;
|
|
22
|
+
'long-image': import('./components.d.ts').LongImageProps;
|
|
23
|
+
'movable-area': import('./components.d.ts').MovableAreaProps;
|
|
24
|
+
'movable-view': import('./components.d.ts').MovableViewProps;
|
|
25
|
+
popup: import('./components.d.ts').PopupProps;
|
|
26
|
+
radio: import('./components.d.ts').RadioProps;
|
|
27
|
+
'radio-group': import('./components.d.ts').RadioGroupProps;
|
|
28
|
+
slider: import('./components.d.ts').SliderProps;
|
|
29
|
+
switch: import('./components.d.ts').SwitchProps;
|
|
30
|
+
swiper: import('./components.d.ts').SwiperProps;
|
|
31
|
+
'swiper-item': import('./components.d.ts').SwiperItemProps;
|
|
32
|
+
'picker-column': import('./components.d.ts').PickerColumnProps;
|
|
33
|
+
'picker-divider': import('./components.d.ts').PickerDividerProps;
|
|
34
|
+
'picker-view': import('./components.d.ts').PickerViewProps;
|
|
35
|
+
'theme-provider': import('./components.d.ts').ThemeProviderProps;
|
|
36
|
+
video: import('./components.d.ts').VideoProps;
|
|
37
|
+
'web-view': import('./components.d.ts').WebViewProps;
|
|
38
|
+
|
|
39
|
+
// Base components
|
|
40
|
+
image: import('./components.d.ts').ImageProps;
|
|
41
|
+
input: import('./components.d.ts').InputProps;
|
|
42
|
+
list: import('./components.d.ts').ListProps;
|
|
43
|
+
'list-item': import('@lynx-js/types').ListItemProps;
|
|
44
|
+
'scroll-view': import('./components.d.ts').ScrollViewProps;
|
|
45
|
+
svg: import('./components.d.ts').SvgProps;
|
|
46
|
+
text: import('./components.d.ts').TextProps;
|
|
47
|
+
textarea: import('./components.d.ts').TextAreaProps;
|
|
48
|
+
view: import('./components.d.ts').ViewProps;
|
|
49
|
+
}
|
|
50
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@doubao-dev/framework",
|
|
3
|
+
"version": "0.0.38-canary-1b929937-20260722020207",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./api": {
|
|
12
|
+
"types": "./dist/api.d.ts",
|
|
13
|
+
"import": "./dist/api.js"
|
|
14
|
+
},
|
|
15
|
+
"./components": {
|
|
16
|
+
"types": "./dist/components.d.ts",
|
|
17
|
+
"import": "./dist/components.js"
|
|
18
|
+
},
|
|
19
|
+
"./components-style": "./components-style.css",
|
|
20
|
+
"./jsx-runtime": {
|
|
21
|
+
"types": "./jsx-runtime.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./config": {
|
|
24
|
+
"types": "./dist/config.d.ts",
|
|
25
|
+
"import": "./dist/config.js"
|
|
26
|
+
},
|
|
27
|
+
"./types": {
|
|
28
|
+
"types": "./types.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"typesVersions": {
|
|
33
|
+
"*": {
|
|
34
|
+
".": [
|
|
35
|
+
"./dist/index.d.ts"
|
|
36
|
+
],
|
|
37
|
+
"api": [
|
|
38
|
+
"./dist/api.d.ts"
|
|
39
|
+
],
|
|
40
|
+
"components": [
|
|
41
|
+
"./components.d.ts"
|
|
42
|
+
],
|
|
43
|
+
"jsx-runtime": [
|
|
44
|
+
"./jsx-runtime.d.ts"
|
|
45
|
+
],
|
|
46
|
+
"config": [
|
|
47
|
+
"./dist/config.d.ts"
|
|
48
|
+
],
|
|
49
|
+
"types": [
|
|
50
|
+
"./types.d.ts"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"dist/index.d.ts",
|
|
56
|
+
"dist/index.js",
|
|
57
|
+
"dist/api.d.ts",
|
|
58
|
+
"dist/components.d.ts",
|
|
59
|
+
"dist/config.d.ts",
|
|
60
|
+
"dist/config.js",
|
|
61
|
+
"components.d.ts",
|
|
62
|
+
"jsx-runtime.d.ts",
|
|
63
|
+
"components-style.css",
|
|
64
|
+
"README.md",
|
|
65
|
+
"LICENCE",
|
|
66
|
+
"!dist/**/*.map",
|
|
67
|
+
"!**/*.tsbuildinfo",
|
|
68
|
+
"types.d.ts"
|
|
69
|
+
],
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@lynx-js/types": "4.0.0",
|
|
72
|
+
"@types/react": "18.3.27"
|
|
73
|
+
},
|
|
74
|
+
"publishConfig": {
|
|
75
|
+
"access": "public",
|
|
76
|
+
"registry": "https://registry.npmjs.org/"
|
|
77
|
+
},
|
|
78
|
+
"scripts": {
|
|
79
|
+
"sync:declarations": "node scripts/sync-declarations.cjs",
|
|
80
|
+
"dev": "tsc -p tsconfig.json -w",
|
|
81
|
+
"build": "npm run sync:declarations && rimraf dist && rslib build && tsc"
|
|
82
|
+
}
|
|
83
|
+
}
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// Generated file. Do not edit this file directly.
|
|
2
|
+
// CSS modules
|
|
3
|
+
type CSSModuleClasses = { readonly [key: string]: string };
|
|
4
|
+
|
|
5
|
+
declare module '*.module.css' {
|
|
6
|
+
const classes: CSSModuleClasses;
|
|
7
|
+
export default classes;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare module '*.module.scss' {
|
|
11
|
+
const classes: CSSModuleClasses;
|
|
12
|
+
export default classes;
|
|
13
|
+
}
|
|
14
|
+
declare module '*.module.sass' {
|
|
15
|
+
const classes: CSSModuleClasses;
|
|
16
|
+
export default classes;
|
|
17
|
+
}
|
|
18
|
+
declare module '*.module.less' {
|
|
19
|
+
const classes: CSSModuleClasses;
|
|
20
|
+
export default classes;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare module '*.module.styl' {
|
|
24
|
+
const classes: CSSModuleClasses;
|
|
25
|
+
export default classes;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare module '*.module.stylus' {
|
|
29
|
+
const classes: CSSModuleClasses;
|
|
30
|
+
export default classes;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare module '*.module.pcss' {
|
|
34
|
+
const classes: CSSModuleClasses;
|
|
35
|
+
export default classes;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// CSS
|
|
39
|
+
declare module '*.css' {
|
|
40
|
+
const css: string;
|
|
41
|
+
export default css;
|
|
42
|
+
}
|
|
43
|
+
declare module '*.scss' {
|
|
44
|
+
const css: string;
|
|
45
|
+
export default css;
|
|
46
|
+
}
|
|
47
|
+
declare module '*.sass' {
|
|
48
|
+
const css: string;
|
|
49
|
+
export default css;
|
|
50
|
+
}
|
|
51
|
+
declare module '*.less' {
|
|
52
|
+
const css: string;
|
|
53
|
+
export default css;
|
|
54
|
+
}
|
|
55
|
+
declare module '*.styl' {
|
|
56
|
+
const css: string;
|
|
57
|
+
export default css;
|
|
58
|
+
}
|
|
59
|
+
declare module '*.stylus' {
|
|
60
|
+
const css: string;
|
|
61
|
+
export default css;
|
|
62
|
+
}
|
|
63
|
+
declare module '*.pcss' {
|
|
64
|
+
const css: string;
|
|
65
|
+
export default css;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Built-in asset types
|
|
69
|
+
// see `src/constants.ts`
|
|
70
|
+
|
|
71
|
+
// images
|
|
72
|
+
declare module '*.jpg' {
|
|
73
|
+
const src: string;
|
|
74
|
+
export default src;
|
|
75
|
+
}
|
|
76
|
+
declare module '*.jpeg' {
|
|
77
|
+
const src: string;
|
|
78
|
+
export default src;
|
|
79
|
+
}
|
|
80
|
+
declare module '*.png' {
|
|
81
|
+
const src: string;
|
|
82
|
+
export default src;
|
|
83
|
+
}
|
|
84
|
+
declare module '*.gif' {
|
|
85
|
+
const src: string;
|
|
86
|
+
export default src;
|
|
87
|
+
}
|
|
88
|
+
declare module '*.svg' {
|
|
89
|
+
export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
90
|
+
const src: string;
|
|
91
|
+
export default ReactComponent;
|
|
92
|
+
}
|
|
93
|
+
declare module '*.svg?react' {
|
|
94
|
+
export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
95
|
+
const src: string;
|
|
96
|
+
export default ReactComponent;
|
|
97
|
+
}
|
|
98
|
+
declare module '*.svg?url' {
|
|
99
|
+
const src: string;
|
|
100
|
+
export default src;
|
|
101
|
+
}
|
|
102
|
+
declare module '*.ico' {
|
|
103
|
+
const src: string;
|
|
104
|
+
export default src;
|
|
105
|
+
}
|
|
106
|
+
declare module '*.webp' {
|
|
107
|
+
const src: string;
|
|
108
|
+
export default src;
|
|
109
|
+
}
|
|
110
|
+
declare module '*.avif' {
|
|
111
|
+
const src: string;
|
|
112
|
+
export default src;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// media
|
|
116
|
+
declare module '*.mp4' {
|
|
117
|
+
const src: string;
|
|
118
|
+
export default src;
|
|
119
|
+
}
|
|
120
|
+
declare module '*.webm' {
|
|
121
|
+
const src: string;
|
|
122
|
+
export default src;
|
|
123
|
+
}
|
|
124
|
+
declare module '*.ogg' {
|
|
125
|
+
const src: string;
|
|
126
|
+
export default src;
|
|
127
|
+
}
|
|
128
|
+
declare module '*.mp3' {
|
|
129
|
+
const src: string;
|
|
130
|
+
export default src;
|
|
131
|
+
}
|
|
132
|
+
declare module '*.wav' {
|
|
133
|
+
const src: string;
|
|
134
|
+
export default src;
|
|
135
|
+
}
|
|
136
|
+
declare module '*.flac' {
|
|
137
|
+
const src: string;
|
|
138
|
+
export default src;
|
|
139
|
+
}
|
|
140
|
+
declare module '*.aac' {
|
|
141
|
+
const src: string;
|
|
142
|
+
export default src;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// fonts
|
|
146
|
+
declare module '*.woff' {
|
|
147
|
+
const src: string;
|
|
148
|
+
export default src;
|
|
149
|
+
}
|
|
150
|
+
declare module '*.woff2' {
|
|
151
|
+
const src: string;
|
|
152
|
+
export default src;
|
|
153
|
+
}
|
|
154
|
+
declare module '*.eot' {
|
|
155
|
+
const src: string;
|
|
156
|
+
export default src;
|
|
157
|
+
}
|
|
158
|
+
declare module '*.ttf' {
|
|
159
|
+
const src: string;
|
|
160
|
+
export default src;
|
|
161
|
+
}
|
|
162
|
+
declare module '*.otf' {
|
|
163
|
+
const src: string;
|
|
164
|
+
export default src;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// other
|
|
168
|
+
declare module '*.wasm' {
|
|
169
|
+
const src: string;
|
|
170
|
+
export default src;
|
|
171
|
+
}
|
|
172
|
+
declare module '*.webmanifest' {
|
|
173
|
+
const src: string;
|
|
174
|
+
export default src;
|
|
175
|
+
}
|
|
176
|
+
declare module '*.pdf' {
|
|
177
|
+
const src: string;
|
|
178
|
+
export default src;
|
|
179
|
+
}
|