@lobehub/ui 6.0.5 → 6.1.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 +1 -0
- package/es/Text/style.d.mts +3 -3
- package/es/Video/context.mjs.map +1 -1
- package/es/Video/parts/Frame.mjs +10 -2
- package/es/Video/parts/Frame.mjs.map +1 -1
- package/es/Video/parts/Root.mjs +4 -2
- package/es/Video/parts/Root.mjs.map +1 -1
- package/es/Video/sizing.mjs +7 -0
- package/es/Video/sizing.mjs.map +1 -0
- package/es/stylex/cssVar.stylex.js +790 -0
- package/es/stylex/cssVar.stylex.ts +790 -0
- package/es/stylex/media.stylex.js +14 -0
- package/es/stylex/media.stylex.ts +14 -0
- package/package.json +12 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
|
|
3
|
+
export const media = stylex.defineConsts({
|
|
4
|
+
desktop: '@media (min-width: 1200px)',
|
|
5
|
+
laptop: '@media (max-width: 991.98px)',
|
|
6
|
+
lg: '@media (max-width: 991.98px)',
|
|
7
|
+
md: '@media (max-width: 767.98px)',
|
|
8
|
+
mobile: '@media (max-width: 479.98px)',
|
|
9
|
+
sm: '@media (max-width: 575.98px)',
|
|
10
|
+
tablet: '@media (max-width: 767.98px)',
|
|
11
|
+
xl: '@media (max-width: 1199.98px)',
|
|
12
|
+
xs: '@media (max-width: 479.98px)',
|
|
13
|
+
xxl: '@media (min-width: 1200px)',
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
|
|
3
|
+
export const media = stylex.defineConsts({
|
|
4
|
+
desktop: '@media (min-width: 1200px)',
|
|
5
|
+
laptop: '@media (max-width: 991.98px)',
|
|
6
|
+
lg: '@media (max-width: 991.98px)',
|
|
7
|
+
md: '@media (max-width: 767.98px)',
|
|
8
|
+
mobile: '@media (max-width: 479.98px)',
|
|
9
|
+
sm: '@media (max-width: 575.98px)',
|
|
10
|
+
tablet: '@media (max-width: 767.98px)',
|
|
11
|
+
xl: '@media (max-width: 1199.98px)',
|
|
12
|
+
xs: '@media (max-width: 479.98px)',
|
|
13
|
+
xxl: '@media (min-width: 1200px)',
|
|
14
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/ui",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Lobe UI is an open-source UI component library for building AIGC web apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -96,6 +96,16 @@
|
|
|
96
96
|
"./global.css": "./es/global.css",
|
|
97
97
|
"./theme.css": "./es/theme.css",
|
|
98
98
|
"./style.css": "./es/style.css",
|
|
99
|
+
"./stylex/cssVar.stylex": {
|
|
100
|
+
"types": "./es/stylex/cssVar.stylex.ts",
|
|
101
|
+
"import": "./es/stylex/cssVar.stylex.js",
|
|
102
|
+
"default": "./es/stylex/cssVar.stylex.js"
|
|
103
|
+
},
|
|
104
|
+
"./stylex/media.stylex": {
|
|
105
|
+
"types": "./es/stylex/media.stylex.ts",
|
|
106
|
+
"import": "./es/stylex/media.stylex.js",
|
|
107
|
+
"default": "./es/stylex/media.stylex.js"
|
|
108
|
+
},
|
|
99
109
|
"./es/*": {
|
|
100
110
|
"types": "./es/*.d.mts",
|
|
101
111
|
"import": "./es/*.mjs"
|
|
@@ -108,7 +118,7 @@
|
|
|
108
118
|
"es"
|
|
109
119
|
],
|
|
110
120
|
"scripts": {
|
|
111
|
-
"build": "tsdown && tsx ./scripts/buildThemeCss.ts && tsx ./scripts/checkStylexBuild.ts && npm run build:packages",
|
|
121
|
+
"build": "tsdown && tsx ./scripts/buildThemeCss.ts && tsx ./scripts/publishStylexTokens.ts && tsx ./scripts/checkStylexBuild.ts && npm run build:packages",
|
|
112
122
|
"build:packages": "tsx ./scripts/build.ts",
|
|
113
123
|
"build:stylex-vars": "tsx ./scripts/buildStylexVars.ts",
|
|
114
124
|
"build:watch": "tsdown --watch",
|