@likec4/styles 1.48.0 → 1.50.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/dist/css/conditions.mjs +1 -1
- package/dist/jsx/is-valid-prop.mjs +2 -2
- package/dist/recipes/element-shape-recipe.d.mts +4 -0
- package/dist/recipes/element-shape-recipe.mjs +6 -1
- package/dist/recipes/index.d.mts +1 -0
- package/dist/recipes/index.mjs +1 -0
- package/dist/recipes/node-notes.d.mts +34 -0
- package/dist/recipes/node-notes.mjs +31 -0
- package/dist/tokens/index.mjs +116 -16
- package/dist/tokens/tokens.d.mts +7 -4
- package/dist/types/conditions.d.mts +3 -5
- package/dist/types/csstype.d.mts +6405 -5133
- package/dist/types/prop-type.d.mts +18 -2
- package/dist/types/style-props.d.mts +2768 -2183
- package/dist/types/system-types.d.mts +14 -132
- package/package.json +30 -33
- package/{dist → preset}/_chunks/libs/@radix-ui/colors.mjs +1 -5
- package/preset/_chunks/libs/pandacss-preset-radix-colors.mjs +147 -0
- package/{dist → preset}/_chunks/libs/remeda.mjs +31 -69
- package/preset/_chunks/rolldown-runtime.mjs +11 -0
- package/preset/package.json +2 -2
- package/{dist → preset}/preset.d.mts +231 -32
- package/{dist → preset}/preset.mjs +525 -421
- package/vars/package.json +2 -2
- package/vars/vars.mjs +415 -0
- package/dist/_chunks/libs/pandacss-preset-radix-colors.mjs +0 -106
- package/dist/_chunks/rolldown-runtime.mjs +0 -18
- package/dist/vars/index.mjs +0 -426
- /package/{dist/vars/index.d.mts → vars/vars.d.mts} +0 -0
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types0 from "@pandacss/types";
|
|
2
2
|
|
|
3
3
|
//#region ../preset/src/recipes/actionBtn.d.ts
|
|
4
|
-
declare const actionButtons:
|
|
5
|
-
declare const actionBtn:
|
|
4
|
+
declare const actionButtons: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
5
|
+
declare const actionBtn: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region ../preset/src/recipes/compoundNode.d.ts
|
|
8
|
-
declare const compoundNode:
|
|
8
|
+
declare const compoundNode: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region ../preset/src/recipes/edgeActionBtn.d.ts
|
|
11
|
-
declare const edgeActionBtn:
|
|
11
|
+
declare const edgeActionBtn: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ../preset/src/recipes/edgeLabel.d.ts
|
|
14
|
-
declare const edgeLabel:
|
|
14
|
+
declare const edgeLabel: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region ../preset/src/recipes/edgePath.d.ts
|
|
17
|
-
declare const edgePath:
|
|
17
|
+
declare const edgePath: _pandacss_types0.SlotRecipeConfig;
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region ../preset/src/recipes/elementNode.d.ts
|
|
20
|
-
declare const elementNode:
|
|
20
|
+
declare const elementNode: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../preset/src/recipes/elementNodeData.d.ts
|
|
23
|
-
declare const elementNodeData:
|
|
23
|
+
declare const elementNodeData: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region ../preset/src/recipes/elementShape.d.ts
|
|
26
|
-
declare const elementShapeRecipe:
|
|
26
|
+
declare const elementShapeRecipe: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region ../preset/src/recipes/likec4tag.d.ts
|
|
29
|
-
declare const likec4tag:
|
|
29
|
+
declare const likec4tag: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region ../preset/src/recipes/markdownBlock.d.ts
|
|
32
|
-
declare const markdownBlock:
|
|
32
|
+
declare const markdownBlock: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region ../preset/src/recipes/navigationPanelActionIcon.d.ts
|
|
35
|
-
declare const navigationPanelActionIcon:
|
|
35
|
+
declare const navigationPanelActionIcon: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region ../preset/src/recipes/nodeNotes.d.ts
|
|
38
|
+
declare const nodeNotes: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
36
39
|
//#endregion
|
|
37
40
|
//#region ../preset/src/recipes/overlay.d.ts
|
|
38
|
-
declare const overlay:
|
|
41
|
+
declare const overlay: _pandacss_types0.RecipeConfig<_pandacss_types0.RecipeVariantRecord>;
|
|
39
42
|
declare namespace index_d_exports$1 {
|
|
40
|
-
export { actionBtn, actionButtons, compoundNode, edgeActionBtn, edgeLabel, edgePath, elementNode, elementNodeData, elementShapeRecipe, likec4tag, markdownBlock, navigationPanelActionIcon, overlay };
|
|
43
|
+
export { actionBtn, actionButtons, compoundNode, edgeActionBtn, edgeLabel, edgePath, elementNode, elementNodeData, elementShapeRecipe, likec4tag, markdownBlock, navigationPanelActionIcon, nodeNotes, overlay };
|
|
41
44
|
}
|
|
42
45
|
//#endregion
|
|
43
46
|
//#region ../preset/src/stot-recipes/navigationLink.d.ts
|
|
44
|
-
declare const navigationLink:
|
|
47
|
+
declare const navigationLink: _pandacss_types0.SlotRecipeConfig;
|
|
45
48
|
//#endregion
|
|
46
49
|
//#region ../preset/src/stot-recipes/navigationPanel.d.ts
|
|
47
|
-
declare const navigationPanel:
|
|
50
|
+
declare const navigationPanel: _pandacss_types0.SlotRecipeConfig;
|
|
48
51
|
declare namespace index_d_exports {
|
|
49
52
|
export { navigationLink, navigationPanel };
|
|
50
53
|
}
|
|
@@ -58,8 +61,117 @@ declare const theme: {
|
|
|
58
61
|
lg: string;
|
|
59
62
|
xl: string;
|
|
60
63
|
};
|
|
61
|
-
textStyles:
|
|
62
|
-
|
|
64
|
+
textStyles: {
|
|
65
|
+
readonly dimmed: {
|
|
66
|
+
readonly DEFAULT: {
|
|
67
|
+
readonly description: "Text style for dimmed content";
|
|
68
|
+
readonly value: {
|
|
69
|
+
readonly fontSize: "md";
|
|
70
|
+
readonly lineHeight: "md";
|
|
71
|
+
readonly color: "text.dimmed";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly xxs: {
|
|
75
|
+
readonly value: {
|
|
76
|
+
readonly fontSize: "xxs";
|
|
77
|
+
readonly lineHeight: "xxs";
|
|
78
|
+
readonly color: "text.dimmed";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
readonly xs: {
|
|
82
|
+
readonly value: {
|
|
83
|
+
readonly fontSize: "xs";
|
|
84
|
+
readonly lineHeight: "xs";
|
|
85
|
+
readonly color: "text.dimmed";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly sm: {
|
|
89
|
+
readonly value: {
|
|
90
|
+
readonly fontSize: "sm";
|
|
91
|
+
readonly lineHeight: "sm";
|
|
92
|
+
readonly color: "text.dimmed";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
readonly md: {
|
|
96
|
+
readonly value: {
|
|
97
|
+
readonly fontSize: "md";
|
|
98
|
+
readonly lineHeight: "md";
|
|
99
|
+
readonly color: "text.dimmed";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
readonly xxs: {
|
|
104
|
+
readonly value: {
|
|
105
|
+
readonly fontSize: "xxs";
|
|
106
|
+
readonly lineHeight: "xxs";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
readonly xs: {
|
|
110
|
+
readonly value: {
|
|
111
|
+
readonly fontSize: "xs";
|
|
112
|
+
readonly lineHeight: "xs";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly sm: {
|
|
116
|
+
readonly value: {
|
|
117
|
+
readonly fontSize: "sm";
|
|
118
|
+
readonly lineHeight: "sm";
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
readonly md: {
|
|
122
|
+
readonly value: {
|
|
123
|
+
readonly fontSize: "md";
|
|
124
|
+
readonly lineHeight: "md";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly lg: {
|
|
128
|
+
readonly value: {
|
|
129
|
+
readonly fontSize: "lg";
|
|
130
|
+
readonly lineHeight: "lg";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly xl: {
|
|
134
|
+
readonly value: {
|
|
135
|
+
readonly fontSize: "xl";
|
|
136
|
+
readonly lineHeight: "xl";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
readonly likec4: {
|
|
140
|
+
readonly DEFAULT: {
|
|
141
|
+
readonly description: "Text style for panel content";
|
|
142
|
+
readonly value: {
|
|
143
|
+
readonly fontSize: "md";
|
|
144
|
+
readonly lineHeight: "md";
|
|
145
|
+
readonly fontWeight: "normal";
|
|
146
|
+
readonly color: "text";
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
readonly panel: {
|
|
150
|
+
readonly DEFAULT: {
|
|
151
|
+
readonly description: "Text style for panel content";
|
|
152
|
+
readonly value: {
|
|
153
|
+
readonly fontSize: "sm";
|
|
154
|
+
readonly lineHeight: "sm";
|
|
155
|
+
readonly fontWeight: "medium";
|
|
156
|
+
readonly color: "likec4.panel.text";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly action: {
|
|
160
|
+
readonly description: "Text style for panel action items";
|
|
161
|
+
readonly value: {
|
|
162
|
+
readonly fontSize: "sm";
|
|
163
|
+
readonly lineHeight: "sm";
|
|
164
|
+
readonly fontWeight: "medium";
|
|
165
|
+
readonly color: {
|
|
166
|
+
readonly base: "likec4.panel.action";
|
|
167
|
+
readonly _hover: "likec4.panel.action.hover";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
layerStyles: _pandacss_types0.LayerStyles;
|
|
63
175
|
tokens: {
|
|
64
176
|
fontSizes: {
|
|
65
177
|
xxs: {
|
|
@@ -145,6 +257,23 @@ declare const theme: {
|
|
|
145
257
|
value: string;
|
|
146
258
|
};
|
|
147
259
|
};
|
|
260
|
+
borderWidths: {
|
|
261
|
+
'0': {
|
|
262
|
+
value: string;
|
|
263
|
+
};
|
|
264
|
+
'1': {
|
|
265
|
+
value: string;
|
|
266
|
+
};
|
|
267
|
+
'2': {
|
|
268
|
+
value: string;
|
|
269
|
+
};
|
|
270
|
+
'3': {
|
|
271
|
+
value: string;
|
|
272
|
+
};
|
|
273
|
+
'4': {
|
|
274
|
+
value: string;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
148
277
|
spacing: {
|
|
149
278
|
'0': {
|
|
150
279
|
description: string;
|
|
@@ -918,15 +1047,8 @@ declare const theme: {
|
|
|
918
1047
|
none: {
|
|
919
1048
|
value: string;
|
|
920
1049
|
};
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
description: string;
|
|
924
|
-
value: "var(--mantine-color-text)";
|
|
925
|
-
};
|
|
926
|
-
dimmed: {
|
|
927
|
-
description: string;
|
|
928
|
-
value: "var(--mantine-color-dimmed)";
|
|
929
|
-
};
|
|
1050
|
+
inherit: {
|
|
1051
|
+
value: string;
|
|
930
1052
|
};
|
|
931
1053
|
};
|
|
932
1054
|
fontWeights: {
|
|
@@ -1035,7 +1157,15 @@ declare const theme: {
|
|
|
1035
1157
|
likec4: {
|
|
1036
1158
|
diagram: {
|
|
1037
1159
|
edge: {
|
|
1038
|
-
|
|
1160
|
+
DEFAULT: {
|
|
1161
|
+
value: string;
|
|
1162
|
+
};
|
|
1163
|
+
label: {
|
|
1164
|
+
value: string;
|
|
1165
|
+
};
|
|
1166
|
+
controlPoint: {
|
|
1167
|
+
value: string;
|
|
1168
|
+
};
|
|
1039
1169
|
};
|
|
1040
1170
|
node: {
|
|
1041
1171
|
compound: {
|
|
@@ -1062,6 +1192,66 @@ declare const theme: {
|
|
|
1062
1192
|
};
|
|
1063
1193
|
semanticTokens: {
|
|
1064
1194
|
colors: {
|
|
1195
|
+
white: {
|
|
1196
|
+
value: string;
|
|
1197
|
+
};
|
|
1198
|
+
black: {
|
|
1199
|
+
value: string;
|
|
1200
|
+
};
|
|
1201
|
+
body: {
|
|
1202
|
+
description: string;
|
|
1203
|
+
value: "var(--mantine-color-body)";
|
|
1204
|
+
};
|
|
1205
|
+
text: {
|
|
1206
|
+
DEFAULT: {
|
|
1207
|
+
description: string;
|
|
1208
|
+
value: "var(--mantine-color-text)";
|
|
1209
|
+
};
|
|
1210
|
+
bright: {
|
|
1211
|
+
description: string;
|
|
1212
|
+
value: string;
|
|
1213
|
+
};
|
|
1214
|
+
dimmed: {
|
|
1215
|
+
description: string;
|
|
1216
|
+
value: string;
|
|
1217
|
+
};
|
|
1218
|
+
placeholder: {
|
|
1219
|
+
description: string;
|
|
1220
|
+
value: "var(--mantine-color-placeholder)";
|
|
1221
|
+
};
|
|
1222
|
+
};
|
|
1223
|
+
default: {
|
|
1224
|
+
DEFAULT: {
|
|
1225
|
+
description: string;
|
|
1226
|
+
value: "var(--mantine-color-default)";
|
|
1227
|
+
};
|
|
1228
|
+
color: {
|
|
1229
|
+
description: string;
|
|
1230
|
+
value: "var(--mantine-color-default-color)";
|
|
1231
|
+
};
|
|
1232
|
+
border: {
|
|
1233
|
+
description: string;
|
|
1234
|
+
value: "var(--mantine-color-default-border)";
|
|
1235
|
+
};
|
|
1236
|
+
hover: {
|
|
1237
|
+
description: string;
|
|
1238
|
+
value: "var(--mantine-color-default-hover)";
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
disabled: {
|
|
1242
|
+
text: {
|
|
1243
|
+
description: string;
|
|
1244
|
+
value: "var(--mantine-color-disabled-color)";
|
|
1245
|
+
};
|
|
1246
|
+
border: {
|
|
1247
|
+
description: string;
|
|
1248
|
+
value: "var(--mantine-color-disabled-border)";
|
|
1249
|
+
};
|
|
1250
|
+
body: {
|
|
1251
|
+
description: string;
|
|
1252
|
+
value: "var(--mantine-color-disabled)";
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1065
1255
|
likec4: {
|
|
1066
1256
|
background: {
|
|
1067
1257
|
DEFAULT: {
|
|
@@ -1225,6 +1415,15 @@ declare const theme: {
|
|
|
1225
1415
|
value: string;
|
|
1226
1416
|
};
|
|
1227
1417
|
};
|
|
1418
|
+
walkthrough: {
|
|
1419
|
+
parallelFrame: {
|
|
1420
|
+
description: string;
|
|
1421
|
+
value: {
|
|
1422
|
+
_light: "var(--mantine-color-orange-8)";
|
|
1423
|
+
_dark: "var(--mantine-color-orange-6)";
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1228
1427
|
compare: {
|
|
1229
1428
|
manual: {
|
|
1230
1429
|
DEFAULT: {
|
|
@@ -1259,9 +1458,9 @@ declare const theme: {
|
|
|
1259
1458
|
md: string;
|
|
1260
1459
|
lg: string;
|
|
1261
1460
|
};
|
|
1262
|
-
keyframes:
|
|
1263
|
-
animationStyles:
|
|
1461
|
+
keyframes: _pandacss_types0.CssKeyframes;
|
|
1462
|
+
animationStyles: _pandacss_types0.AnimationStyles;
|
|
1264
1463
|
};
|
|
1265
|
-
declare const _default:
|
|
1464
|
+
declare const _default: _pandacss_types0.Preset;
|
|
1266
1465
|
//#endregion
|
|
1267
1466
|
export { _default as default, theme };
|