@likec4/styles 1.38.1 → 1.39.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/README.md +2 -2
- package/dev.ts +3 -8
- package/{preset.d.mts → dist/preset.d.mts} +0 -8
- package/dist/preset.mjs +6653 -0
- package/dist/recipes/markdown-block.d.ts +4 -0
- package/dist/recipes/markdown-block.mjs +6 -1
- package/dist/tokens/index.mjs +0 -4
- package/dist/tokens/tokens.d.ts +1 -1
- package/dist/types/style-props.d.ts +2 -2
- package/dist/types/system-types.d.ts +76 -0
- package/package.json +13 -19
- package/preset.ts +1 -1
- package/dist/styles.css +0 -8035
- package/preset.mjs +0 -6656
package/README.md
CHANGED
|
@@ -23,8 +23,8 @@ export default defineConfig({
|
|
|
23
23
|
jsxFramework: 'react',
|
|
24
24
|
include: [
|
|
25
25
|
'./src/**/*.{js,jsx,ts,tsx}',
|
|
26
|
-
//
|
|
27
|
-
'
|
|
26
|
+
// Include likec4 diagram source code to get the styles
|
|
27
|
+
'node_modules/@likec4/diagram/panda.buildinfo.json',
|
|
28
28
|
],
|
|
29
29
|
})
|
|
30
30
|
```
|
package/dev.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
+
import likec4preset from '@likec4/style-preset'
|
|
1
2
|
import {
|
|
2
3
|
pluginRemoveNegativeSpacing,
|
|
3
4
|
pluginStrictTokensScope,
|
|
4
5
|
} from '@pandabox/panda-plugins'
|
|
5
6
|
import { type Config, defineConfig as pandaDefineConfig } from '@pandacss/dev'
|
|
6
|
-
import likec4preset from './preset'
|
|
7
7
|
|
|
8
|
-
export function defineConfig(config: Config) {
|
|
8
|
+
export function defineConfig(config: Omit<Config, 'importMap' | 'presets' | 'plugins'>) {
|
|
9
9
|
return pandaDefineConfig({
|
|
10
10
|
// Whether to use css reset
|
|
11
|
-
importMap:
|
|
12
|
-
css: '@likec4/styles/css',
|
|
13
|
-
recipes: '@likec4/styles/recipes',
|
|
14
|
-
patterns: '@likec4/styles/patterns',
|
|
15
|
-
jsx: '@likec4/styles/jsx',
|
|
16
|
-
},
|
|
11
|
+
importMap: '@likec4/styles',
|
|
17
12
|
presets: [
|
|
18
13
|
likec4preset,
|
|
19
14
|
],
|