@pyreon/rocketstyle 0.11.9 → 0.11.10
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 +7 -7
- package/src/rocketstyle.ts +1 -1
- package/src/types/styles.ts +0 -2
- package/src/types/theme.ts +0 -1
- package/src/utils/attrs.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/rocketstyle",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.10",
|
|
4
4
|
"description": "Multi-dimensional style composition for Pyreon components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"typecheck": "tsc --noEmit"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@pyreon/test-utils": "^0.11.
|
|
45
|
-
"@pyreon/typescript": "^0.11.
|
|
44
|
+
"@pyreon/test-utils": "^0.11.10",
|
|
45
|
+
"@pyreon/typescript": "^0.11.10",
|
|
46
46
|
"@vitus-labs/tools-rolldown": "^1.15.3"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@pyreon/core": "^0.11.
|
|
50
|
-
"@pyreon/reactivity": "^0.11.
|
|
51
|
-
"@pyreon/styler": "^0.11.
|
|
52
|
-
"@pyreon/ui-core": "^0.11.
|
|
49
|
+
"@pyreon/core": "^0.11.10",
|
|
50
|
+
"@pyreon/reactivity": "^0.11.10",
|
|
51
|
+
"@pyreon/styler": "^0.11.10",
|
|
52
|
+
"@pyreon/ui-core": "^0.11.10"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">= 22"
|
package/src/rocketstyle.ts
CHANGED
|
@@ -240,7 +240,7 @@ const rocketComponent: RocketComponent = (options) => {
|
|
|
240
240
|
filteredAttrs: options.filterAttrs,
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
//
|
|
243
|
+
// oxlint-disable-next-line no-console
|
|
244
244
|
console.debug(`[rocketstyle] ${componentName} render:`, debugPayload)
|
|
245
245
|
}
|
|
246
246
|
}
|
package/src/types/styles.ts
CHANGED
|
@@ -2,10 +2,8 @@ import type { config } from '@pyreon/ui-core'
|
|
|
2
2
|
import type { PseudoState } from './pseudo'
|
|
3
3
|
import type { TObj } from './utils'
|
|
4
4
|
|
|
5
|
-
// biome-ignore lint/suspicious/noEmptyInterface: this is an interface to be extended in consuming projects
|
|
6
5
|
export interface StylesDefault {}
|
|
7
6
|
|
|
8
|
-
// biome-ignore lint/correctness/noUnusedVariables: S kept for backward compatibility
|
|
9
7
|
export type Styles<S = unknown> = StylesDefault
|
|
10
8
|
|
|
11
9
|
export type Css = typeof config.css
|
package/src/types/theme.ts
CHANGED
|
@@ -2,7 +2,6 @@ import type { THEME_MODES } from '../constants'
|
|
|
2
2
|
import type { Css } from './styles'
|
|
3
3
|
import type { MergeTypes } from './utils'
|
|
4
4
|
|
|
5
|
-
// biome-ignore lint/suspicious/noEmptyInterface: this is an interface to be extended in consuming projects
|
|
6
5
|
export interface ThemeDefault {}
|
|
7
6
|
|
|
8
7
|
export type Theme<T> = T extends unknown ? ThemeDefault : MergeTypes<[ThemeDefault, T]>
|
package/src/utils/attrs.ts
CHANGED
|
@@ -102,7 +102,6 @@ export const calculateStylingAttrs: CalculateStylingAttrs =
|
|
|
102
102
|
if (useBooleans) {
|
|
103
103
|
const propsKeys = Object.keys(props)
|
|
104
104
|
|
|
105
|
-
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: complex logic is inherent to this function
|
|
106
105
|
Object.entries(result).forEach(([key, value]) => {
|
|
107
106
|
const isMultiKey = multiKeys?.[key]
|
|
108
107
|
|