@likec4/styles 1.46.3 → 1.46.4
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/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.46.
|
|
5
|
+
"version": "1.46.4",
|
|
6
6
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
7
7
|
"homepage": "https://likec4.dev",
|
|
8
8
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"nano-spawn": "^2.0.0",
|
|
99
99
|
"unbuild": "3.5.0",
|
|
100
100
|
"typescript": "5.9.3",
|
|
101
|
-
"@likec4/style-preset": "1.46.
|
|
102
|
-
"@likec4/
|
|
103
|
-
"@likec4/
|
|
101
|
+
"@likec4/style-preset": "1.46.4",
|
|
102
|
+
"@likec4/devops": "1.42.0",
|
|
103
|
+
"@likec4/tsconfig": "1.46.1"
|
|
104
104
|
},
|
|
105
105
|
"scripts": {
|
|
106
106
|
"typecheck": "tsc --build --verbose",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
-
|
|
5
|
-
interface EdgeContainerVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type EdgeContainerVariantMap = {
|
|
10
|
-
[key in keyof EdgeContainerVariant]: Array<EdgeContainerVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export type EdgeContainerVariantProps = {
|
|
16
|
-
[key in keyof EdgeContainerVariant]?: ConditionalValue<EdgeContainerVariant[key]> | undefined
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface EdgeContainerRecipe {
|
|
20
|
-
|
|
21
|
-
__type: EdgeContainerVariantProps
|
|
22
|
-
(props?: EdgeContainerVariantProps): string
|
|
23
|
-
raw: (props?: EdgeContainerVariantProps) => EdgeContainerVariantProps
|
|
24
|
-
variantMap: EdgeContainerVariantMap
|
|
25
|
-
variantKeys: Array<keyof EdgeContainerVariant>
|
|
26
|
-
splitVariantProps<Props extends EdgeContainerVariantProps>(props: Props): [EdgeContainerVariantProps, Pretty<DistributiveOmit<Props, keyof EdgeContainerVariantProps>>]
|
|
27
|
-
getVariantProps: (props?: EdgeContainerVariantProps) => EdgeContainerVariantProps
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Recipe for Edge Container
|
|
32
|
-
*/
|
|
33
|
-
export declare const edgeContainer: EdgeContainerRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const edgeContainerFn = /* @__PURE__ */ createRecipe('likec4-edge-container', {}, [])
|
|
5
|
-
|
|
6
|
-
const edgeContainerVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const edgeContainerVariantKeys = Object.keys(edgeContainerVariantMap)
|
|
9
|
-
|
|
10
|
-
export const edgeContainer = /* @__PURE__ */ Object.assign(memo(edgeContainerFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'edgeContainer',
|
|
13
|
-
__getCompoundVariantCss__: edgeContainerFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: edgeContainerVariantKeys,
|
|
16
|
-
variantMap: edgeContainerVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, edgeContainerVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: edgeContainerFn.getVariantProps,
|
|
24
|
-
})
|