@lobehub/ui 6.0.0-beta.5 → 6.0.0-beta.6
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/es/Accordion/style.d.mts +1 -1
- package/es/ActionIcon/style.mjs +1 -1
- package/es/ActionIcon/style.mjs.map +1 -1
- package/es/ColorSwatches/ColorSwatches.mjs +17 -22
- package/es/ColorSwatches/ColorSwatches.mjs.map +1 -1
- package/es/ColorSwatches/CustomPicker.mjs +101 -0
- package/es/ColorSwatches/CustomPicker.mjs.map +1 -0
- package/es/ColorSwatches/index.d.mts +2 -2
- package/es/ColorSwatches/marker.stylex.mjs +9 -0
- package/es/ColorSwatches/marker.stylex.mjs.map +1 -0
- package/es/ColorSwatches/style.mjs +36 -0
- package/es/ColorSwatches/style.mjs.map +1 -1
- package/es/ColorSwatches/type.d.mts +9 -0
- package/es/Grid/style.mjs +1 -1
- package/es/Grid/style.mjs.map +1 -1
- package/es/Image/type.d.mts +1 -0
- package/es/Image/viewer/ImageViewer.mjs +1 -0
- package/es/Image/viewer/ImageViewer.mjs.map +1 -1
- package/es/Image/viewer/Toolbar.mjs +19 -6
- package/es/Image/viewer/Toolbar.mjs.map +1 -1
- package/es/Image/viewer/ViewerChrome.mjs.map +1 -1
- package/es/Input/style.mjs +3 -3
- package/es/Input/style.mjs.map +1 -1
- package/es/Text/style.d.mts +3 -3
- package/es/awesome/Grainient/Grainient.d.mts +11 -0
- package/es/awesome/Grainient/Grainient.mjs +314 -0
- package/es/awesome/Grainient/Grainient.mjs.map +1 -0
- package/es/awesome/Grainient/index.d.mts +3 -0
- package/es/awesome/Grainient/style.mjs +23 -0
- package/es/awesome/Grainient/style.mjs.map +1 -0
- package/es/awesome/Grainient/type.d.mts +121 -0
- package/es/awesome/index.d.mts +4 -1
- package/es/awesome/index.mjs +2 -1
- package/es/dashboard/AuthLayout/Aside.d.mts +10 -0
- package/es/dashboard/AuthLayout/Aside.mjs +31 -0
- package/es/dashboard/AuthLayout/Aside.mjs.map +1 -0
- package/es/dashboard/AuthLayout/AuthLayout.d.mts +3 -1
- package/es/dashboard/AuthLayout/AuthLayout.mjs +93 -37
- package/es/dashboard/AuthLayout/AuthLayout.mjs.map +1 -1
- package/es/dashboard/AuthLayout/index.d.mts +3 -2
- package/es/dashboard/AuthLayout/style.mjs +98 -1
- package/es/dashboard/AuthLayout/style.mjs.map +1 -1
- package/es/dashboard/AuthLayout/type.d.mts +38 -2
- package/es/dashboard/AuthTools/AuthLocaleSwitch.d.mts +10 -0
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +33 -0
- package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs.map +1 -0
- package/es/dashboard/AuthTools/AuthThemeSwitch.d.mts +10 -0
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +59 -0
- package/es/dashboard/AuthTools/AuthThemeSwitch.mjs.map +1 -0
- package/es/dashboard/AuthTools/index.d.mts +4 -0
- package/es/dashboard/AuthTools/style.mjs +27 -0
- package/es/dashboard/AuthTools/style.mjs.map +1 -0
- package/es/dashboard/AuthTools/type.d.mts +29 -0
- package/es/dashboard/ChartGrid/ChartGrid.d.mts +10 -0
- package/es/dashboard/ChartGrid/ChartGrid.mjs +19 -0
- package/es/dashboard/ChartGrid/ChartGrid.mjs.map +1 -0
- package/es/dashboard/ChartGrid/index.d.mts +3 -0
- package/es/dashboard/ChartGrid/style.mjs +18 -0
- package/es/dashboard/ChartGrid/style.mjs.map +1 -0
- package/es/dashboard/ChartGrid/type.d.mts +8 -0
- package/es/dashboard/ConsoleNav/Skeleton.d.mts +15 -0
- package/es/dashboard/ConsoleNav/Skeleton.mjs +82 -0
- package/es/dashboard/ConsoleNav/Skeleton.mjs.map +1 -0
- package/es/dashboard/ConsoleNav/index.d.mts +3 -2
- package/es/dashboard/ConsoleNav/style.mjs +18 -0
- package/es/dashboard/ConsoleNav/style.mjs.map +1 -1
- package/es/dashboard/ConsoleNav/type.d.mts +13 -0
- package/es/dashboard/ConsoleShell/ConsoleShell.d.mts +1 -1
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs +26 -6
- package/es/dashboard/ConsoleShell/ConsoleShell.mjs.map +1 -1
- package/es/dashboard/ConsoleShell/style.mjs +10 -0
- package/es/dashboard/ConsoleShell/style.mjs.map +1 -1
- package/es/dashboard/ConsoleShell/type.d.mts +11 -0
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs +18 -17
- package/es/dashboard/FilterSidebar/FilterSidebar.mjs.map +1 -1
- package/es/dashboard/FilterStrip/FilterStrip.d.mts +11 -0
- package/es/dashboard/FilterStrip/FilterStrip.mjs +55 -0
- package/es/dashboard/FilterStrip/FilterStrip.mjs.map +1 -0
- package/es/dashboard/FilterStrip/index.d.mts +3 -0
- package/es/dashboard/FilterStrip/style.mjs +78 -0
- package/es/dashboard/FilterStrip/style.mjs.map +1 -0
- package/es/dashboard/FilterStrip/type.d.mts +25 -0
- package/es/dashboard/LabelWithKey/LabelWithKey.d.mts +10 -0
- package/es/dashboard/LabelWithKey/LabelWithKey.mjs +18 -0
- package/es/dashboard/LabelWithKey/LabelWithKey.mjs.map +1 -0
- package/es/dashboard/LabelWithKey/index.d.mts +3 -0
- package/es/dashboard/LabelWithKey/type.d.mts +11 -0
- package/es/dashboard/MetricStrip/MetricCell.mjs +81 -0
- package/es/dashboard/MetricStrip/MetricCell.mjs.map +1 -0
- package/es/dashboard/MetricStrip/MetricStrip.d.mts +13 -0
- package/es/dashboard/MetricStrip/MetricStrip.mjs +47 -0
- package/es/dashboard/MetricStrip/MetricStrip.mjs.map +1 -0
- package/es/dashboard/MetricStrip/index.d.mts +3 -0
- package/es/dashboard/MetricStrip/style.mjs +156 -0
- package/es/dashboard/MetricStrip/style.mjs.map +1 -0
- package/es/dashboard/MetricStrip/type.d.mts +36 -0
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs +20 -18
- package/es/dashboard/PageSkeleton/PageSkeleton.mjs.map +1 -1
- package/es/dashboard/PageSkeleton/style.mjs +1 -1
- package/es/dashboard/PageSkeleton/style.mjs.map +1 -1
- package/es/dashboard/PageToolbar/PageToolbar.d.mts +10 -0
- package/es/dashboard/PageToolbar/PageToolbar.mjs +22 -0
- package/es/dashboard/PageToolbar/PageToolbar.mjs.map +1 -0
- package/es/dashboard/PageToolbar/index.d.mts +3 -0
- package/es/dashboard/PageToolbar/style.mjs +36 -0
- package/es/dashboard/PageToolbar/style.mjs.map +1 -0
- package/es/dashboard/PageToolbar/type.d.mts +11 -0
- package/es/dashboard/PanelSurface/PanelSurface.d.mts +10 -0
- package/es/dashboard/PanelSurface/PanelSurface.mjs +40 -0
- package/es/dashboard/PanelSurface/PanelSurface.mjs.map +1 -0
- package/es/dashboard/PanelSurface/index.d.mts +3 -0
- package/es/dashboard/PanelSurface/style.mjs +25 -0
- package/es/dashboard/PanelSurface/style.mjs.map +1 -0
- package/es/dashboard/PanelSurface/type.d.mts +17 -0
- package/es/dashboard/Section/Section.d.mts +10 -0
- package/es/dashboard/Section/Section.mjs +81 -0
- package/es/dashboard/Section/Section.mjs.map +1 -0
- package/es/dashboard/Section/index.d.mts +3 -0
- package/es/dashboard/Section/style.mjs +31 -0
- package/es/dashboard/Section/style.mjs.map +1 -0
- package/es/dashboard/Section/type.d.mts +23 -0
- package/es/dashboard/StatCard/StatCard.d.mts +2 -1
- package/es/dashboard/StatCard/StatCard.mjs +28 -91
- package/es/dashboard/StatCard/StatCard.mjs.map +1 -1
- package/es/dashboard/StatCard/type.d.mts +16 -5
- package/es/dashboard/Surface/Surface.d.mts +4 -3
- package/es/dashboard/Surface/Surface.mjs +91 -8
- package/es/dashboard/Surface/Surface.mjs.map +1 -1
- package/es/dashboard/Surface/index.d.mts +3 -2
- package/es/dashboard/Surface/link.d.mts +16 -0
- package/es/dashboard/Surface/link.mjs +40 -0
- package/es/dashboard/Surface/link.mjs.map +1 -0
- package/es/dashboard/Surface/marker.stylex.mjs +9 -0
- package/es/dashboard/Surface/marker.stylex.mjs.map +1 -0
- package/es/dashboard/Surface/style.d.mts +2 -0
- package/es/dashboard/Surface/style.mjs +155 -14
- package/es/dashboard/Surface/style.mjs.map +1 -1
- package/es/dashboard/Surface/type.d.mts +29 -1
- package/es/dashboard/TableIconActions/TableIconActions.d.mts +17 -0
- package/es/dashboard/TableIconActions/TableIconActions.mjs +39 -0
- package/es/dashboard/TableIconActions/TableIconActions.mjs.map +1 -0
- package/es/dashboard/TableIconActions/index.d.mts +3 -0
- package/es/dashboard/TableIconActions/type.d.mts +17 -0
- package/es/dashboard/TitleWithTips/TitleWithTips.d.mts +10 -0
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs +28 -0
- package/es/dashboard/TitleWithTips/TitleWithTips.mjs.map +1 -0
- package/es/dashboard/TitleWithTips/index.d.mts +3 -0
- package/es/dashboard/TitleWithTips/type.d.mts +10 -0
- package/es/dashboard/index.d.mts +38 -4
- package/es/dashboard/index.mjs +17 -3
- package/es/style.css +339 -32
- package/package.json +1 -1
- package/es/dashboard/StatCard/style.mjs +0 -105
- package/es/dashboard/StatCard/style.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
//#region src/dashboard/StatCard/style.ts
|
|
2
|
-
const styles = {
|
|
3
|
-
badge: {
|
|
4
|
-
kVAM5u: "lb6d5vuu",
|
|
5
|
-
kaIpWk: "lb1vihcfj",
|
|
6
|
-
ksu8eU: "lb1y0btm7",
|
|
7
|
-
kMzoRj: "lbmkeg23",
|
|
8
|
-
kUk6DE: "lb1okw0bk",
|
|
9
|
-
kGNEyG: "lb6s0dn4",
|
|
10
|
-
kWkggS: "lbaljia1",
|
|
11
|
-
kZKoxP: "lbxk0z11",
|
|
12
|
-
kMwMTN: "lb53gy9q",
|
|
13
|
-
k1xSpc: "lb3nfvp2",
|
|
14
|
-
kzqmXN: "lbvy4d1p",
|
|
15
|
-
kjj79g: "lbl56j7k",
|
|
16
|
-
$$css: true
|
|
17
|
-
},
|
|
18
|
-
body: {
|
|
19
|
-
kVAEAm: "lb1n2onr6",
|
|
20
|
-
kY2c9j: "lb1vjfegm",
|
|
21
|
-
$$css: true
|
|
22
|
-
},
|
|
23
|
-
copy: {
|
|
24
|
-
kwnvtZ: "lbozqiw3",
|
|
25
|
-
k7Eaqz: "lbeuugli",
|
|
26
|
-
$$css: true
|
|
27
|
-
},
|
|
28
|
-
delta: {
|
|
29
|
-
kOIVth: "lb195vfkc",
|
|
30
|
-
kGNEyG: "lb6s0dn4",
|
|
31
|
-
k1xSpc: "lb3nfvp2",
|
|
32
|
-
kGuDYH: "lbxobqjj",
|
|
33
|
-
kcqcaj: "lbss6m8b",
|
|
34
|
-
$$css: true
|
|
35
|
-
},
|
|
36
|
-
deltaDown: {
|
|
37
|
-
kMwMTN: "lb12ap7uz",
|
|
38
|
-
$$css: true
|
|
39
|
-
},
|
|
40
|
-
deltaFlat: {
|
|
41
|
-
kMwMTN: "lb53gy9q",
|
|
42
|
-
$$css: true
|
|
43
|
-
},
|
|
44
|
-
deltaUp: {
|
|
45
|
-
kMwMTN: "lbs9y9h1",
|
|
46
|
-
$$css: true
|
|
47
|
-
},
|
|
48
|
-
frame: {
|
|
49
|
-
kVAM5u: "lb10cypdb",
|
|
50
|
-
$$css: true
|
|
51
|
-
},
|
|
52
|
-
gray: {
|
|
53
|
-
k3DiCg: "lbskafm8",
|
|
54
|
-
$$css: true
|
|
55
|
-
},
|
|
56
|
-
lift: {
|
|
57
|
-
kaIpWk: "lb1ndkxwp",
|
|
58
|
-
kGVxlE: "lb1c4gvbl",
|
|
59
|
-
k1xSpc: "lb78zum5",
|
|
60
|
-
k7Eaqz: "lbeuugli",
|
|
61
|
-
$$css: true
|
|
62
|
-
},
|
|
63
|
-
metricFoot: {
|
|
64
|
-
keoZOQ: "lb1hmvnq2",
|
|
65
|
-
$$css: true
|
|
66
|
-
},
|
|
67
|
-
metricValue: {
|
|
68
|
-
kMwMTN: "lb66ogz0",
|
|
69
|
-
kGuDYH: "lb1j9mzhl",
|
|
70
|
-
kcqcaj: "lbss6m8b",
|
|
71
|
-
k63SB2: "lb1xlr1w8",
|
|
72
|
-
kLWn49: "lb1f41ap9",
|
|
73
|
-
keoZOQ: "lb1k70j0n",
|
|
74
|
-
$$css: true
|
|
75
|
-
},
|
|
76
|
-
root: {
|
|
77
|
-
kmVPX3: "lb1tamke2",
|
|
78
|
-
kUk6DE: "lb98rzlu",
|
|
79
|
-
kVQacm: "lbb3r6kr",
|
|
80
|
-
k7Eaqz: "lbeuugli",
|
|
81
|
-
kVAEAm: "lb1n2onr6",
|
|
82
|
-
$$css: true
|
|
83
|
-
},
|
|
84
|
-
value: {
|
|
85
|
-
kMwMTN: "lb66ogz0",
|
|
86
|
-
kGuDYH: "lb1j9mzhl lb1nfhhgm",
|
|
87
|
-
kcqcaj: "lbss6m8b",
|
|
88
|
-
k63SB2: "lb1s688f",
|
|
89
|
-
kLWn49: "lb1u7k74",
|
|
90
|
-
$$css: true
|
|
91
|
-
},
|
|
92
|
-
wash: {
|
|
93
|
-
kHBbk8: "lbc8icb0",
|
|
94
|
-
kFcpXp: "lbxx281p",
|
|
95
|
-
kgeoSG: "lb1cpjm7i",
|
|
96
|
-
km8f2m: "lbkk1bqk",
|
|
97
|
-
kEoFBp: "lb1hmns74",
|
|
98
|
-
kxmVGU: "lb2hztxu",
|
|
99
|
-
$$css: true
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
//#endregion
|
|
103
|
-
export { styles };
|
|
104
|
-
|
|
105
|
-
//# sourceMappingURL=style.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/StatCard/style.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\n\nimport { cssVar } from '@/styles/stylex/cssVar.stylex';\nimport { media } from '@/styles/stylex/media.stylex';\n\nexport const styles = stylex.create({\n badge: {\n borderColor: cssVar.colorFillSecondary,\n borderRadius: cssVar.borderRadiusSM,\n borderStyle: 'solid',\n borderWidth: 1,\n flex: 'none',\n alignItems: 'center',\n backgroundColor: cssVar.colorFillTertiary,\n blockSize: 24,\n color: cssVar.colorTextTertiary,\n display: 'inline-flex',\n inlineSize: 24,\n justifyContent: 'center',\n },\n body: {\n position: 'relative',\n zIndex: 1,\n },\n copy: {\n flexWrap: 'nowrap',\n minInlineSize: 0,\n },\n delta: {\n gap: 2,\n alignItems: 'center',\n display: 'inline-flex',\n fontSize: cssVar.fontSizeSM,\n fontVariantNumeric: 'tabular-nums',\n },\n deltaDown: {\n color: cssVar.colorError,\n },\n deltaFlat: {\n color: cssVar.colorTextTertiary,\n },\n deltaUp: {\n color: cssVar.colorSuccess,\n },\n frame: {\n borderColor: cssVar.colorBorderSecondary,\n },\n gray: {\n '::before': {\n backgroundImage: `linear-gradient(to bottom, ${cssVar.colorBgElevated} 0%, color-mix(in srgb, ${cssVar.colorText} 4%, ${cssVar.colorBgElevated}) 100%)`,\n },\n },\n lift: {\n borderRadius: cssVar.borderRadiusLG,\n boxShadow: cssVar.boxShadowTertiary,\n display: 'flex',\n minInlineSize: 0,\n },\n metricFoot: {\n marginBlockStart: 14,\n },\n metricValue: {\n color: cssVar.colorText,\n fontSize: cssVar.fontSizeHeading2,\n fontVariantNumeric: 'tabular-nums',\n fontWeight: 700,\n lineHeight: 1.05,\n marginBlockStart: 6,\n },\n root: {\n padding: 16,\n flex: '1',\n overflow: 'hidden',\n minInlineSize: 0,\n position: 'relative',\n },\n value: {\n color: cssVar.colorText,\n fontSize: { default: cssVar.fontSizeHeading2, [media.mobile]: cssVar.fontSizeHeading3 },\n fontVariantNumeric: 'tabular-nums',\n fontWeight: 600,\n lineHeight: 1.2,\n },\n wash: {\n 'isolation': 'isolate',\n '::before': {\n inset: 0,\n content: '\"\"',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n },\n },\n});\n"],"mappings":";AAKA,MAAa,SAAS;CACpB,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,OAAO;CACT;CACA,WAAW;EACT,QAAQ;EACR,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,YAAY;EACV,QAAQ;EACR,OAAO;CACT;CACA,aAAa;EACX,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,OAAO;EACL,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;CACA,MAAM;EACJ,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,OAAO;CACT;AACF"}
|