@likec4/styles 1.34.2 → 1.36.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/dev.ts +24 -1
- package/dist/css/conditions.mjs +1 -1
- package/dist/css/css.mjs +1 -1
- package/dist/jsx/is-valid-prop.mjs +1 -1
- package/dist/recipes/action-btn.d.ts +1 -1
- package/dist/recipes/edge-action-btn.d.ts +30 -0
- package/dist/recipes/edge-action-btn.mjs +24 -0
- package/dist/recipes/edge-label.d.ts +31 -0
- package/dist/recipes/edge-label.mjs +57 -0
- package/dist/recipes/element-node-data.d.ts +33 -0
- package/dist/recipes/element-node-data.mjs +81 -0
- package/dist/recipes/element-node-icon.d.ts +30 -0
- package/dist/recipes/element-node-icon.mjs +24 -0
- package/dist/recipes/index.d.ts +7 -1
- package/dist/recipes/index.mjs +7 -1
- package/dist/recipes/markdown-block.d.ts +3 -1
- package/dist/recipes/navigation-link.d.ts +33 -0
- package/dist/recipes/navigation-link.mjs +57 -0
- package/dist/recipes/navigation-panel-action-icon.d.ts +33 -0
- package/dist/recipes/navigation-panel-action-icon.mjs +31 -0
- package/dist/styles.css +4230 -1156
- package/dist/tokens/index.mjs +1760 -4304
- package/dist/tokens/tokens.d.ts +12 -12
- package/dist/types/conditions.d.ts +48 -22
- package/dist/types/prop-type.d.ts +4 -6
- package/dist/types/style-props.d.ts +119 -121
- package/package.json +9 -8
- package/panda.config.ts +3 -0
- package/preset.d.mts +1129 -3
- package/preset.mjs +1603 -2462
|
@@ -212,28 +212,6 @@ export interface Conditions {
|
|
|
212
212
|
"_icon": string
|
|
213
213
|
/** `@starting-style` */
|
|
214
214
|
"_starting": string
|
|
215
|
-
/** `.likec4-root:is([data-likec4-reduced-graphics]) &` */
|
|
216
|
-
"_reduceGraphics": string
|
|
217
|
-
/** `.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) &` */
|
|
218
|
-
"_reduceGraphicsOnPan": string
|
|
219
|
-
/** `.likec4-root:not([data-likec4-reduced-graphics]) &` */
|
|
220
|
-
"_noReduceGraphics": string
|
|
221
|
-
/** `:is(.likec4-root[data-likec4-diagram-panning]) &` */
|
|
222
|
-
"_whenPanning": string
|
|
223
|
-
/** `:where([data-likec4-zoom-small]) &` */
|
|
224
|
-
"_smallZoom": string
|
|
225
|
-
/** `:where([data-compound-transparent]) &` */
|
|
226
|
-
"_compoundTransparent": string
|
|
227
|
-
/** `:where([data-likec4-edge-active="true"]) &` */
|
|
228
|
-
"_edgeActive": string
|
|
229
|
-
/** `:where([data-likec4-hovered="true"]) &` */
|
|
230
|
-
"_whenHovered": string
|
|
231
|
-
/** `:where(.react-flow__node.selected, .react-flow__edge.selected) &` */
|
|
232
|
-
"_whenSelected": string
|
|
233
|
-
/** `:where([data-likec4-dimmed]) &` */
|
|
234
|
-
"_whenDimmed": string
|
|
235
|
-
/** `:where(.react-flow__node, .react-flow__edge):is(:focus-visible, :focus, :focus-within) &` */
|
|
236
|
-
"_whenFocused": string
|
|
237
215
|
/** `:where([data-likec4-shape-size='xs']) &` */
|
|
238
216
|
"_shapeSizeXs": string
|
|
239
217
|
/** `:where([data-likec4-shape-size='sm']) &` */
|
|
@@ -258,6 +236,30 @@ export interface Conditions {
|
|
|
258
236
|
"_shapeStorage": string
|
|
259
237
|
/** `:where([data-likec4-shape='queue']) &` */
|
|
260
238
|
"_shapeQueue": string
|
|
239
|
+
/** `&:not(:is(:disabled, [disabled], [data-disabled]))` */
|
|
240
|
+
"_notDisabled": string
|
|
241
|
+
/** `.likec4-root:is([data-likec4-reduced-graphics]) &` */
|
|
242
|
+
"_reduceGraphics": string
|
|
243
|
+
/** `.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) &` */
|
|
244
|
+
"_reduceGraphicsOnPan": string
|
|
245
|
+
/** `.likec4-root:not([data-likec4-reduced-graphics]) &` */
|
|
246
|
+
"_noReduceGraphics": string
|
|
247
|
+
/** `:is(.likec4-root[data-likec4-diagram-panning]) &` */
|
|
248
|
+
"_whenPanning": string
|
|
249
|
+
/** `:where([data-likec4-zoom-small]) &` */
|
|
250
|
+
"_smallZoom": string
|
|
251
|
+
/** `:where([data-compound-transparent]) &` */
|
|
252
|
+
"_compoundTransparent": string
|
|
253
|
+
/** `:where([data-likec4-edge-active="true"]) &` */
|
|
254
|
+
"_edgeActive": string
|
|
255
|
+
/** `:where([data-likec4-hovered="true"]) &` */
|
|
256
|
+
"_whenHovered": string
|
|
257
|
+
/** `:where(.react-flow__node.selected, .react-flow__edge.selected) &` */
|
|
258
|
+
"_whenSelected": string
|
|
259
|
+
/** `:where([data-likec4-dimmed]) &` */
|
|
260
|
+
"_whenDimmed": string
|
|
261
|
+
/** `:where(.react-flow__node, .react-flow__edge):is(:focus-visible, :focus, :focus-within) &` */
|
|
262
|
+
"_whenFocused": string
|
|
261
263
|
/** `@media (color-gamut: p3)` */
|
|
262
264
|
"_p3": string
|
|
263
265
|
/** `@media (color-gamut: srgb)` */
|
|
@@ -314,6 +316,30 @@ export interface Conditions {
|
|
|
314
316
|
"mdToXl": string
|
|
315
317
|
/** `@media screen and (min-width: 75rem) and (max-width: 87.9975rem)` */
|
|
316
318
|
"lgToXl": string
|
|
319
|
+
/** `@container (min-width: 24rem)` */
|
|
320
|
+
"@/xs": string
|
|
321
|
+
/** `@container (min-width: 40rem)` */
|
|
322
|
+
"@/sm": string
|
|
323
|
+
/** `@container (min-width: 48rem)` */
|
|
324
|
+
"@/md": string
|
|
325
|
+
/** `@container (min-width: 64rem)` */
|
|
326
|
+
"@/lg": string
|
|
327
|
+
/** `@container likec4-root (min-width: 24rem)` */
|
|
328
|
+
"@likec4-root/xs": string
|
|
329
|
+
/** `@container likec4-root (min-width: 40rem)` */
|
|
330
|
+
"@likec4-root/sm": string
|
|
331
|
+
/** `@container likec4-root (min-width: 48rem)` */
|
|
332
|
+
"@likec4-root/md": string
|
|
333
|
+
/** `@container likec4-root (min-width: 64rem)` */
|
|
334
|
+
"@likec4-root/lg": string
|
|
335
|
+
/** `@container likec4-dialog (min-width: 24rem)` */
|
|
336
|
+
"@likec4-dialog/xs": string
|
|
337
|
+
/** `@container likec4-dialog (min-width: 40rem)` */
|
|
338
|
+
"@likec4-dialog/sm": string
|
|
339
|
+
/** `@container likec4-dialog (min-width: 48rem)` */
|
|
340
|
+
"@likec4-dialog/md": string
|
|
341
|
+
/** `@container likec4-dialog (min-width: 64rem)` */
|
|
342
|
+
"@likec4-dialog/lg": string
|
|
317
343
|
/** The base (=no conditions) styles to apply */
|
|
318
344
|
"base": string
|
|
319
345
|
}
|
|
@@ -134,7 +134,7 @@ export interface UtilityValues {
|
|
|
134
134
|
transitionTimingFunction: Tokens["easings"];
|
|
135
135
|
transitionDelay: Tokens["durations"];
|
|
136
136
|
transitionDuration: Tokens["durations"];
|
|
137
|
-
transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform" | "fast";
|
|
137
|
+
transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform" | "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest" | "none";
|
|
138
138
|
animationName: "indicatorStrokeOpacity" | "xyedgeAnimated";
|
|
139
139
|
animationTimingFunction: Tokens["easings"];
|
|
140
140
|
animationDuration: Tokens["durations"];
|
|
@@ -183,11 +183,9 @@ export interface UtilityValues {
|
|
|
183
183
|
stroke: Tokens["colors"];
|
|
184
184
|
srOnly: boolean;
|
|
185
185
|
debug: boolean;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
textStyle: "likec4.node.primary" | "likec4.node.secondary";
|
|
190
|
-
layerStyle: "likec4.tag";
|
|
186
|
+
colorPalette: "mantine" | "mantine.colors.primary" | "mantine.colors" | "mantine.colors.gray" | "mantine.colors.dark" | "mantine.colors.orange" | "mantine.colors.teal" | "mantine.colors.red" | "mantine.colors.green" | "mantine.colors.yellow" | "transparent" | "amber" | "amber.light" | "amber.light.a" | "amber.light.p3" | "amber.light.p3.a" | "amber.dark" | "amber.dark.a" | "amber.dark.p3" | "amber.dark.p3.a" | "amber.a" | "amber.p3" | "amber.p3.a" | "blue" | "blue.light" | "blue.light.a" | "blue.light.p3" | "blue.light.p3.a" | "blue.dark" | "blue.dark.a" | "blue.dark.p3" | "blue.dark.p3.a" | "blue.a" | "blue.p3" | "blue.p3.a" | "crimson" | "crimson.light" | "crimson.light.a" | "crimson.light.p3" | "crimson.light.p3.a" | "crimson.dark" | "crimson.dark.a" | "crimson.dark.p3" | "crimson.dark.p3.a" | "crimson.a" | "crimson.p3" | "crimson.p3.a" | "grass" | "grass.light" | "grass.light.a" | "grass.light.p3" | "grass.light.p3.a" | "grass.dark" | "grass.dark.a" | "grass.dark.p3" | "grass.dark.p3.a" | "grass.a" | "grass.p3" | "grass.p3.a" | "indigo" | "indigo.light" | "indigo.light.a" | "indigo.light.p3" | "indigo.light.p3.a" | "indigo.dark" | "indigo.dark.a" | "indigo.dark.p3" | "indigo.dark.p3.a" | "indigo.a" | "indigo.p3" | "indigo.p3.a" | "lime" | "lime.light" | "lime.light.a" | "lime.light.p3" | "lime.light.p3.a" | "lime.dark" | "lime.dark.a" | "lime.dark.p3" | "lime.dark.p3.a" | "lime.a" | "lime.p3" | "lime.p3.a" | "orange" | "orange.light" | "orange.light.a" | "orange.light.p3" | "orange.light.p3.a" | "orange.dark" | "orange.dark.a" | "orange.dark.p3" | "orange.dark.p3.a" | "orange.a" | "orange.p3" | "orange.p3.a" | "pink" | "pink.light" | "pink.light.a" | "pink.light.p3" | "pink.light.p3.a" | "pink.dark" | "pink.dark.a" | "pink.dark.p3" | "pink.dark.p3.a" | "pink.a" | "pink.p3" | "pink.p3.a" | "purple" | "purple.light" | "purple.light.a" | "purple.light.p3" | "purple.light.p3.a" | "purple.dark" | "purple.dark.a" | "purple.dark.p3" | "purple.dark.p3.a" | "purple.a" | "purple.p3" | "purple.p3.a" | "red" | "red.light" | "red.light.a" | "red.light.p3" | "red.light.p3.a" | "red.dark" | "red.dark.a" | "red.dark.p3" | "red.dark.p3.a" | "red.a" | "red.p3" | "red.p3.a" | "ruby" | "ruby.light" | "ruby.light.a" | "ruby.light.p3" | "ruby.light.p3.a" | "ruby.dark" | "ruby.dark.a" | "ruby.dark.p3" | "ruby.dark.p3.a" | "ruby.a" | "ruby.p3" | "ruby.p3.a" | "teal" | "teal.light" | "teal.light.a" | "teal.light.p3" | "teal.light.p3.a" | "teal.dark" | "teal.dark.a" | "teal.dark.p3" | "teal.dark.p3.a" | "teal.a" | "teal.p3" | "teal.p3.a" | "tomato" | "tomato.light" | "tomato.light.a" | "tomato.light.p3" | "tomato.light.p3.a" | "tomato.dark" | "tomato.dark.a" | "tomato.dark.p3" | "tomato.dark.p3.a" | "tomato.a" | "tomato.p3" | "tomato.p3.a" | "violet" | "violet.light" | "violet.light.a" | "violet.light.p3" | "violet.light.p3.a" | "violet.dark" | "violet.dark.a" | "violet.dark.p3" | "violet.dark.p3.a" | "violet.a" | "violet.p3" | "violet.p3.a" | "yellow" | "yellow.light" | "yellow.light.a" | "yellow.light.p3" | "yellow.light.p3.a" | "yellow.dark" | "yellow.dark.a" | "yellow.dark.p3" | "yellow.dark.p3.a" | "yellow.a" | "yellow.p3" | "yellow.p3.a" | "likec4" | "likec4.background" | "likec4.tag.bg" | "likec4.tag" | "likec4.panel.bg" | "likec4.panel" | "likec4.panel.action-icon.text" | "likec4.panel.action-icon" | "likec4.panel.action-icon.bg" | "likec4.dropdown.bg" | "likec4.dropdown";
|
|
187
|
+
textStyle: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "likec4.node.primary" | "likec4.node.secondary";
|
|
188
|
+
layerStyle: "likec4.tag" | "likec4.panel" | "likec4.dropdown";
|
|
191
189
|
animationStyle: "indicator" | "xyedgeAnimated";
|
|
192
190
|
}
|
|
193
191
|
|