@likec4/styles 1.36.1 → 1.38.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/css/css.mjs +1 -1
- package/dist/css/sva.mjs +9 -4
- package/dist/helpers.mjs +11 -22
- package/dist/jsx/create-style-context.d.ts +47 -0
- package/dist/jsx/create-style-context.mjs +94 -0
- package/dist/jsx/factory.mjs +5 -2
- package/dist/jsx/index.d.ts +1 -0
- package/dist/jsx/index.mjs +1 -0
- package/dist/jsx/is-valid-prop.mjs +1 -1
- package/dist/recipes/action-btn.d.ts +3 -0
- package/dist/recipes/compound-node.d.ts +33 -0
- package/dist/recipes/compound-node.mjs +39 -0
- package/dist/recipes/edge-action-btn.d.ts +3 -0
- package/dist/recipes/edge-label.d.ts +8 -1
- package/dist/recipes/edge-label.mjs +8 -1
- package/dist/recipes/element-node-data.d.ts +4 -1
- package/dist/recipes/element-node-data.mjs +1 -0
- package/dist/recipes/element-node-icon.d.ts +3 -0
- package/dist/recipes/element-shape-recipe.d.ts +33 -0
- package/dist/recipes/element-shape-recipe.mjs +29 -0
- package/dist/recipes/index.d.ts +2 -0
- package/dist/recipes/index.mjs +2 -0
- package/dist/recipes/likec4tag.d.ts +3 -0
- package/dist/recipes/markdown-block.d.ts +3 -0
- package/dist/recipes/navigation-link.d.ts +4 -1
- package/dist/recipes/navigation-link.mjs +1 -0
- package/dist/recipes/navigation-panel-action-icon.d.ts +3 -0
- package/dist/styles.css +886 -760
- package/dist/tokens/index.mjs +5 -5
- package/dist/types/conditions.d.ts +13 -9
- package/dist/types/jsx.d.ts +2 -1
- package/dist/types/prop-type.d.ts +4 -2
- package/dist/types/style-props.d.ts +9 -2
- package/package.json +6 -6
- package/preset.d.mts +23 -1
- package/preset.mjs +544 -86
package/dist/tokens/index.mjs
CHANGED
|
@@ -900,23 +900,23 @@ const tokens = {
|
|
|
900
900
|
"variable": "var(--shadows-none)"
|
|
901
901
|
},
|
|
902
902
|
"shadows.xs": {
|
|
903
|
-
"value": "0 1px 3px
|
|
903
|
+
"value": "0 1px 3px rgb(0 0 0/5%), 0 1px 2px rgb(0 0 0/10%)",
|
|
904
904
|
"variable": "var(--shadows-xs)"
|
|
905
905
|
},
|
|
906
906
|
"shadows.sm": {
|
|
907
|
-
"value": "0 1px 3px
|
|
907
|
+
"value": "0 1px 3px rgb(0 0 0/5%), 0 10px 15px -5px rgb(0 0 0/5%), 0 7px 7px -5px rgb(0 0 0/4%)",
|
|
908
908
|
"variable": "var(--shadows-sm)"
|
|
909
909
|
},
|
|
910
910
|
"shadows.md": {
|
|
911
|
-
"value": "0 1px 3px
|
|
911
|
+
"value": "0 1px 3px rgb(0 0 0/5%), 0 20px 25px -5px rgb(0 0 0/5%), 0 10px 10px -5px rgb(0 0 0/4%)",
|
|
912
912
|
"variable": "var(--shadows-md)"
|
|
913
913
|
},
|
|
914
914
|
"shadows.lg": {
|
|
915
|
-
"value": "0 1px 3px
|
|
915
|
+
"value": "0 1px 3px rgb(0 0 0/5%), 0 28px 23px -7px rgb(0 0 0/5%), 0 12px 12px -7px rgb(0 0 0/4%)",
|
|
916
916
|
"variable": "var(--shadows-lg)"
|
|
917
917
|
},
|
|
918
918
|
"shadows.xl": {
|
|
919
|
-
"value": "0 1px 3px
|
|
919
|
+
"value": "0 1px 3px rgb(0 0 0/5%), 0 36px 28px -7px rgb(0 0 0/5%), 0 17px 17px -7px rgb(0 0 0/4%)",
|
|
920
920
|
"variable": "var(--shadows-xl)"
|
|
921
921
|
},
|
|
922
922
|
"breakpoints.xs": {
|
|
@@ -46,7 +46,7 @@ export interface Conditions {
|
|
|
46
46
|
"_firstLetter": string
|
|
47
47
|
/** `&::first-line` */
|
|
48
48
|
"_firstLine": string
|
|
49
|
-
/**
|
|
49
|
+
/** `&:is(::marker, ::-webkit-details-marker)` */
|
|
50
50
|
"_marker": string
|
|
51
51
|
/** `&::selection` */
|
|
52
52
|
"_selection": string
|
|
@@ -142,7 +142,7 @@ export interface Conditions {
|
|
|
142
142
|
"_default": string
|
|
143
143
|
/** `&:optional` */
|
|
144
144
|
"_optional": string
|
|
145
|
-
/** `&:is([open], [data-open], [data-state="open"])` */
|
|
145
|
+
/** `&:is([open], [data-open], [data-state="open"], :popover-open)` */
|
|
146
146
|
"_open": string
|
|
147
147
|
/** `&:is([closed], [data-closed], [data-state="closed"])` */
|
|
148
148
|
"_closed": string
|
|
@@ -194,9 +194,9 @@ export interface Conditions {
|
|
|
194
194
|
"_lessContrast": string
|
|
195
195
|
/** `@media (prefers-contrast: more)` */
|
|
196
196
|
"_moreContrast": string
|
|
197
|
-
/**
|
|
197
|
+
/** `:where([dir=ltr], :dir(ltr)) &` */
|
|
198
198
|
"_ltr": string
|
|
199
|
-
/**
|
|
199
|
+
/** `:where([dir=rtl], :dir(rtl)) &` */
|
|
200
200
|
"_rtl": string
|
|
201
201
|
/** `&::-webkit-scrollbar` */
|
|
202
202
|
"_scrollbar": string
|
|
@@ -212,6 +212,10 @@ export interface Conditions {
|
|
|
212
212
|
"_icon": string
|
|
213
213
|
/** `@starting-style` */
|
|
214
214
|
"_starting": string
|
|
215
|
+
/** `@media (scripting: none)` */
|
|
216
|
+
"_noscript": string
|
|
217
|
+
/** `@media (inverted-colors: inverted)` */
|
|
218
|
+
"_invertedColors": string
|
|
215
219
|
/** `:where([data-likec4-shape-size='xs']) &` */
|
|
216
220
|
"_shapeSizeXs": string
|
|
217
221
|
/** `:where([data-likec4-shape-size='sm']) &` */
|
|
@@ -240,23 +244,23 @@ export interface Conditions {
|
|
|
240
244
|
"_notDisabled": string
|
|
241
245
|
/** `.likec4-root:is([data-likec4-reduced-graphics]) &` */
|
|
242
246
|
"_reduceGraphics": string
|
|
243
|
-
/** `.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) &` */
|
|
247
|
+
/** `.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning="true"]) &` */
|
|
244
248
|
"_reduceGraphicsOnPan": string
|
|
245
249
|
/** `.likec4-root:not([data-likec4-reduced-graphics]) &` */
|
|
246
250
|
"_noReduceGraphics": string
|
|
247
|
-
/**
|
|
251
|
+
/** `.likec4-root:is([data-likec4-diagram-panning="true"]) &` */
|
|
248
252
|
"_whenPanning": string
|
|
249
|
-
/** `:where([data-likec4-zoom-small]) &` */
|
|
253
|
+
/** `:where([data-likec4-zoom-small="true"]) &` */
|
|
250
254
|
"_smallZoom": string
|
|
251
255
|
/** `:where([data-compound-transparent]) &` */
|
|
252
256
|
"_compoundTransparent": string
|
|
253
257
|
/** `:where([data-likec4-edge-active="true"]) &` */
|
|
254
258
|
"_edgeActive": string
|
|
255
|
-
/** `:where([data-likec4-hovered="true"]) &` */
|
|
259
|
+
/** `:where(.react-flow__node, .react-flow__edge):has([data-likec4-hovered="true"]) &` */
|
|
256
260
|
"_whenHovered": string
|
|
257
261
|
/** `:where(.react-flow__node.selected, .react-flow__edge.selected) &` */
|
|
258
262
|
"_whenSelected": string
|
|
259
|
-
/** `:where([data-likec4-dimmed]) &` */
|
|
263
|
+
/** `:where(.react-flow__node, .react-flow__edge):has([data-likec4-dimmed]) &` */
|
|
260
264
|
"_whenDimmed": string
|
|
261
265
|
/** `:where(.react-flow__node, .react-flow__edge):is(:focus-visible, :focus, :focus-within) &` */
|
|
262
266
|
"_whenFocused": string
|
package/dist/types/jsx.d.ts
CHANGED
|
@@ -23,7 +23,8 @@ interface RecipeFn {
|
|
|
23
23
|
interface JsxFactoryOptions<TProps extends Dict> {
|
|
24
24
|
dataAttr?: boolean
|
|
25
25
|
defaultProps?: TProps
|
|
26
|
-
shouldForwardProp
|
|
26
|
+
shouldForwardProp?: (prop: string, variantKeys: string[]) => boolean
|
|
27
|
+
forwardProps?: string[]
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
export type JsxRecipeProps<T extends ElementType, P extends Dict> = JsxHTMLProps<ComponentProps<T>, P>;
|
|
@@ -68,6 +68,7 @@ export interface UtilityValues {
|
|
|
68
68
|
minBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
69
69
|
maxHeight: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
70
70
|
maxBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
71
|
+
boxSize: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
71
72
|
color: Tokens["colors"];
|
|
72
73
|
fontFamily: Tokens["fonts"];
|
|
73
74
|
fontSize: Tokens["fontSizes"];
|
|
@@ -83,6 +84,7 @@ export interface UtilityValues {
|
|
|
83
84
|
background: Tokens["colors"];
|
|
84
85
|
backgroundColor: Tokens["colors"];
|
|
85
86
|
backgroundGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
|
|
87
|
+
backgroundLinear: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
|
|
86
88
|
textGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
|
|
87
89
|
gradientFrom: Tokens["colors"];
|
|
88
90
|
gradientTo: Tokens["colors"];
|
|
@@ -135,7 +137,7 @@ export interface UtilityValues {
|
|
|
135
137
|
transitionDelay: Tokens["durations"];
|
|
136
138
|
transitionDuration: Tokens["durations"];
|
|
137
139
|
transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform" | "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest" | "none";
|
|
138
|
-
animationName: "indicatorStrokeOpacity" | "xyedgeAnimated";
|
|
140
|
+
animationName: "indicatorOpacity" | "indicatorStrokeOpacity" | "xyedgeAnimated";
|
|
139
141
|
animationTimingFunction: Tokens["easings"];
|
|
140
142
|
animationDuration: Tokens["durations"];
|
|
141
143
|
animationDelay: Tokens["durations"];
|
|
@@ -186,7 +188,7 @@ export interface UtilityValues {
|
|
|
186
188
|
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
189
|
textStyle: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "likec4.node.primary" | "likec4.node.secondary";
|
|
188
190
|
layerStyle: "likec4.tag" | "likec4.panel" | "likec4.dropdown";
|
|
189
|
-
animationStyle: "indicator" | "xyedgeAnimated";
|
|
191
|
+
animationStyle: "indicator" | "indicatorOpacity" | "xyedgeAnimated";
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
|
|
@@ -5,10 +5,10 @@ import type { CssProperties } from './system-types';
|
|
|
5
5
|
import type { Token } from '../tokens/index';
|
|
6
6
|
|
|
7
7
|
type AnyString = (string & {})
|
|
8
|
-
type CssVars = "var(--likec4-palette-fill)" | "var(--likec4-palette-stroke)" | "var(--likec4-palette-hiContrast)" | "var(--likec4-palette-loContrast)" | "var(--likec4-palette-relation-stroke)" | "var(--likec4-palette-relation-label)" | "var(--likec4-palette-relation-label-bg)" | "var(--likec4-text-size)" | "var(--likec4-spacing)" | "var(--text-fz)" | "var(--likec4-icon-size)"
|
|
8
|
+
type CssVars = "var(--likec4-palette-fill)" | "var(--likec4-palette-stroke)" | "var(--likec4-palette-hiContrast)" | "var(--likec4-palette-loContrast)" | "var(--likec4-palette-relation-stroke)" | "var(--likec4-palette-relation-label)" | "var(--likec4-palette-relation-label-bg)" | "var(--likec4-palette-outline)" | "var(--likec4-text-size)" | "var(--likec4-spacing)" | "var(--text-fz)" | "var(--likec4-icon-size)"
|
|
9
9
|
type CssVarValue = ConditionalValue<Token | CssVars | AnyString | (number & {})>
|
|
10
10
|
|
|
11
|
-
type CssVarKeys = "--likec4-palette-fill" | "--likec4-palette-stroke" | "--likec4-palette-hiContrast" | "--likec4-palette-loContrast" | "--likec4-palette-relation-stroke" | "--likec4-palette-relation-label" | "--likec4-palette-relation-label-bg" | "--likec4-text-size" | "--likec4-spacing" | "--text-fz" | "--likec4-icon-size" | `--${string}` & {}
|
|
11
|
+
type CssVarKeys = "--likec4-palette-fill" | "--likec4-palette-stroke" | "--likec4-palette-hiContrast" | "--likec4-palette-loContrast" | "--likec4-palette-relation-stroke" | "--likec4-palette-relation-label" | "--likec4-palette-relation-label-bg" | "--likec4-palette-outline" | "--likec4-text-size" | "--likec4-spacing" | "--text-fz" | "--likec4-icon-size" | `--${string}` & {}
|
|
12
12
|
|
|
13
13
|
export type CssVarProperties = {
|
|
14
14
|
[key in CssVarKeys]?: CssVarValue
|
|
@@ -6992,6 +6992,9 @@ bgBlendMode?: ConditionalValue<WithEscapeHatch<CssProperties["backgroundBlendMod
|
|
|
6992
6992
|
*/
|
|
6993
6993
|
bgSize?: ConditionalValue<WithEscapeHatch<CssProperties["backgroundSize"]>>
|
|
6994
6994
|
bgGradient?: ConditionalValue<UtilityValues["backgroundGradient"] | CssVars | CssProperties["backgroundGradient"]>
|
|
6995
|
+
bgLinear?: ConditionalValue<UtilityValues["backgroundLinear"] | CssVars | CssProperties["backgroundLinear"]>
|
|
6996
|
+
bgRadial?: ConditionalValue<string | number | CssProperties["backgroundRadial"]>
|
|
6997
|
+
bgConic?: ConditionalValue<string | number | CssProperties["backgroundConic"]>
|
|
6995
6998
|
/**
|
|
6996
6999
|
* The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
|
|
6997
7000
|
*
|
|
@@ -7363,9 +7366,13 @@ scrollPaddingX?: ConditionalValue<WithEscapeHatch<UtilityValues["scrollPaddingIn
|
|
|
7363
7366
|
divideY?: ConditionalValue<string | number | CssProperties["divideY"]>
|
|
7364
7367
|
divideColor?: ConditionalValue<WithEscapeHatch<UtilityValues["divideColor"] | CssVars>>
|
|
7365
7368
|
divideStyle?: ConditionalValue<string | number | CssProperties["divideStyle"]>
|
|
7369
|
+
boxSize?: ConditionalValue<UtilityValues["boxSize"] | CssVars | CssProperties["boxSize"]>
|
|
7366
7370
|
fontSmoothing?: ConditionalValue<UtilityValues["fontSmoothing"] | CssVars | CssProperties["fontSmoothing"]>
|
|
7367
7371
|
truncate?: ConditionalValue<UtilityValues["truncate"] | CssVars | CssProperties["truncate"]>
|
|
7368
7372
|
backgroundGradient?: ConditionalValue<UtilityValues["backgroundGradient"] | CssVars | CssProperties["backgroundGradient"]>
|
|
7373
|
+
backgroundLinear?: ConditionalValue<UtilityValues["backgroundLinear"] | CssVars | CssProperties["backgroundLinear"]>
|
|
7374
|
+
backgroundRadial?: ConditionalValue<string | number | CssProperties["backgroundRadial"]>
|
|
7375
|
+
backgroundConic?: ConditionalValue<string | number | CssProperties["backgroundConic"]>
|
|
7369
7376
|
textGradient?: ConditionalValue<UtilityValues["textGradient"] | CssVars | CssProperties["textGradient"]>
|
|
7370
7377
|
gradientFromPosition?: ConditionalValue<string | number | CssProperties["gradientFromPosition"]>
|
|
7371
7378
|
gradientToPosition?: ConditionalValue<string | number | CssProperties["gradientToPosition"]>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@likec4/styles",
|
|
3
3
|
"description": "Shared PandaCSS preset and generated styles, used in LikeC4",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.38.0",
|
|
6
6
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
7
7
|
"homepage": "https://likec4.dev",
|
|
8
8
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"./dev": "./dev.ts"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@pandacss/dev": "^0.
|
|
61
|
+
"@pandacss/dev": "^1.0.1"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"@pandacss/dev": {
|
|
@@ -71,15 +71,15 @@
|
|
|
71
71
|
"@pandabox/utils": "^0.0.5",
|
|
72
72
|
"@pandabox/unplugin": "^0.2.2",
|
|
73
73
|
"@types/picomatch": "^4.0.2",
|
|
74
|
-
"@types/react": "19.1.
|
|
74
|
+
"@types/react": "19.1.10",
|
|
75
75
|
"@types/react-dom": "19.1.7",
|
|
76
|
-
"@pandacss/dev": "^0.
|
|
76
|
+
"@pandacss/dev": "^1.0.1",
|
|
77
77
|
"postcss": "8.5.5",
|
|
78
78
|
"nano-spawn": "^1.0.2",
|
|
79
79
|
"unbuild": "3.5.0",
|
|
80
80
|
"typescript": "5.9.2",
|
|
81
|
-
"@likec4/style-preset": "1.
|
|
82
|
-
"@likec4/tsconfig": "1.
|
|
81
|
+
"@likec4/style-preset": "1.38.0",
|
|
82
|
+
"@likec4/tsconfig": "1.38.0"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
85
|
"typecheck": "tsc --build --verbose",
|
package/preset.d.mts
CHANGED
|
@@ -3,10 +3,14 @@ import { Preset } from '@pandacss/dev';
|
|
|
3
3
|
|
|
4
4
|
declare const actionBtn: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
5
|
|
|
6
|
+
declare const compoundNode: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
7
|
+
|
|
6
8
|
declare const edgeActionBtn: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
7
9
|
|
|
8
10
|
declare const elementNodeIcon: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
9
11
|
|
|
12
|
+
declare const elementShapeRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
13
|
+
|
|
10
14
|
declare const likec4tag: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
11
15
|
|
|
12
16
|
declare const markdownBlock: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
@@ -14,13 +18,15 @@ declare const markdownBlock: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVari
|
|
|
14
18
|
declare const navigationPanelActionIcon: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
15
19
|
|
|
16
20
|
declare const recipes_actionBtn: typeof actionBtn;
|
|
21
|
+
declare const recipes_compoundNode: typeof compoundNode;
|
|
17
22
|
declare const recipes_edgeActionBtn: typeof edgeActionBtn;
|
|
18
23
|
declare const recipes_elementNodeIcon: typeof elementNodeIcon;
|
|
24
|
+
declare const recipes_elementShapeRecipe: typeof elementShapeRecipe;
|
|
19
25
|
declare const recipes_likec4tag: typeof likec4tag;
|
|
20
26
|
declare const recipes_markdownBlock: typeof markdownBlock;
|
|
21
27
|
declare const recipes_navigationPanelActionIcon: typeof navigationPanelActionIcon;
|
|
22
28
|
declare namespace recipes {
|
|
23
|
-
export { recipes_actionBtn as actionBtn, recipes_edgeActionBtn as edgeActionBtn, recipes_elementNodeIcon as elementNodeIcon, recipes_likec4tag as likec4tag, recipes_markdownBlock as markdownBlock, recipes_navigationPanelActionIcon as navigationPanelActionIcon };
|
|
29
|
+
export { recipes_actionBtn as actionBtn, recipes_compoundNode as compoundNode, recipes_edgeActionBtn as edgeActionBtn, recipes_elementNodeIcon as elementNodeIcon, recipes_elementShapeRecipe as elementShapeRecipe, recipes_likec4tag as likec4tag, recipes_markdownBlock as markdownBlock, recipes_navigationPanelActionIcon as navigationPanelActionIcon };
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
declare const edgeLabel: _pandacss_dev.SlotRecipeConfig;
|
|
@@ -1092,6 +1098,14 @@ declare const theme: {
|
|
|
1092
1098
|
lg: string;
|
|
1093
1099
|
};
|
|
1094
1100
|
keyframes: {
|
|
1101
|
+
indicatorOpacity: {
|
|
1102
|
+
'0%': {
|
|
1103
|
+
opacity: number;
|
|
1104
|
+
};
|
|
1105
|
+
'100%': {
|
|
1106
|
+
opacity: number;
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1095
1109
|
indicatorStrokeOpacity: {
|
|
1096
1110
|
'0%': {
|
|
1097
1111
|
strokeOpacity: number;
|
|
@@ -1118,6 +1132,14 @@ declare const theme: {
|
|
|
1118
1132
|
animationName: string;
|
|
1119
1133
|
};
|
|
1120
1134
|
};
|
|
1135
|
+
indicatorOpacity: {
|
|
1136
|
+
value: {
|
|
1137
|
+
animationDuration: string;
|
|
1138
|
+
animationIterationCount: string;
|
|
1139
|
+
animationDirection: string;
|
|
1140
|
+
animationName: string;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1121
1143
|
xyedgeAnimated: {
|
|
1122
1144
|
value: {
|
|
1123
1145
|
animationDuration: string;
|