@likec4/styles 1.36.0 → 1.37.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.
@@ -900,23 +900,23 @@ const tokens = {
900
900
  "variable": "var(--shadows-none)"
901
901
  },
902
902
  "shadows.xs": {
903
- "value": "0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1)",
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 rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 10px 15px -5px, rgba(0, 0, 0, 0.04) 0 7px 7px -5px",
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 rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 20px 25px -5px, rgba(0, 0, 0, 0.04) 0 10px 10px -5px",
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 rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 28px 23px -7px, rgba(0, 0, 0, 0.04) 0 12px 12px -7px",
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 rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 36px 28px -7px, rgba(0, 0, 0, 0.04) 0 17px 17px -7px",
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": {
@@ -240,23 +240,23 @@ export interface Conditions {
240
240
  "_notDisabled": string
241
241
  /** `.likec4-root:is([data-likec4-reduced-graphics]) &` */
242
242
  "_reduceGraphics": string
243
- /** `.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) &` */
243
+ /** `.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning="true"]) &` */
244
244
  "_reduceGraphicsOnPan": string
245
245
  /** `.likec4-root:not([data-likec4-reduced-graphics]) &` */
246
246
  "_noReduceGraphics": string
247
- /** `:is(.likec4-root[data-likec4-diagram-panning]) &` */
247
+ /** `.likec4-root:is([data-likec4-diagram-panning="true"]) &` */
248
248
  "_whenPanning": string
249
- /** `:where([data-likec4-zoom-small]) &` */
249
+ /** `:where([data-likec4-zoom-small="true"]) &` */
250
250
  "_smallZoom": string
251
251
  /** `:where([data-compound-transparent]) &` */
252
252
  "_compoundTransparent": string
253
253
  /** `:where([data-likec4-edge-active="true"]) &` */
254
254
  "_edgeActive": string
255
- /** `:where([data-likec4-hovered="true"]) &` */
255
+ /** `:where(.react-flow__node, .react-flow__edge):has([data-likec4-hovered="true"]) &` */
256
256
  "_whenHovered": string
257
257
  /** `:where(.react-flow__node.selected, .react-flow__edge.selected) &` */
258
258
  "_whenSelected": string
259
- /** `:where([data-likec4-dimmed]) &` */
259
+ /** `:where(.react-flow__node, .react-flow__edge):has([data-likec4-dimmed]) &` */
260
260
  "_whenDimmed": string
261
261
  /** `:where(.react-flow__node, .react-flow__edge):is(:focus-visible, :focus, :focus-within) &` */
262
262
  "_whenFocused": string
@@ -135,7 +135,7 @@ export interface UtilityValues {
135
135
  transitionDelay: Tokens["durations"];
136
136
  transitionDuration: Tokens["durations"];
137
137
  transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform" | "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest" | "none";
138
- animationName: "indicatorStrokeOpacity" | "xyedgeAnimated";
138
+ animationName: "indicatorOpacity" | "indicatorStrokeOpacity" | "xyedgeAnimated";
139
139
  animationTimingFunction: Tokens["easings"];
140
140
  animationDuration: Tokens["durations"];
141
141
  animationDelay: Tokens["durations"];
@@ -186,7 +186,7 @@ export interface UtilityValues {
186
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
187
  textStyle: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "likec4.node.primary" | "likec4.node.secondary";
188
188
  layerStyle: "likec4.tag" | "likec4.panel" | "likec4.dropdown";
189
- animationStyle: "indicator" | "xyedgeAnimated";
189
+ animationStyle: "indicator" | "indicatorOpacity" | "xyedgeAnimated";
190
190
  }
191
191
 
192
192
 
@@ -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
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.36.0",
5
+ "version": "1.37.0",
6
6
  "bugs": "https://github.com/likec4/likec4/issues",
7
7
  "homepage": "https://likec4.dev",
8
8
  "author": "Denis Davydkov <denis@davydkov.com>",
@@ -78,8 +78,8 @@
78
78
  "nano-spawn": "^1.0.2",
79
79
  "unbuild": "3.5.0",
80
80
  "typescript": "5.9.2",
81
- "@likec4/style-preset": "1.36.0",
82
- "@likec4/tsconfig": "1.36.0"
81
+ "@likec4/style-preset": "1.37.0",
82
+ "@likec4/tsconfig": "1.37.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;