@pikacss/core 0.0.48 → 0.0.49

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -4
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -9638,11 +9638,11 @@ type CSSProperty = Extract<keyof CSSProperties, string>;
9638
9638
  type PropertyValue<T> = T | [value: T, fallback: T[]] | Nullish;
9639
9639
  type _CssPropertiesValue = ResolvedAutocompleteCSSPropertyValue;
9640
9640
  type _CssPropertiesValueWildcard = GetValue<_CssPropertiesValue, '*'>;
9641
- type CSSPropertyInputValue<Key extends string, RelatedKey extends string = Key> = PropertyValue<UnionString | GetValue<CSSProperties, Key> | GetValue<_CssPropertiesValue, RelatedKey> | _CssPropertiesValueWildcard>;
9642
- type Properties_CSS_Camel = { [Key in keyof Properties$1]?: CSSPropertyInputValue<Key, Key | ToKebab<Key>> };
9643
- type Properties_CSS_Hyphen = { [Key in keyof PropertiesHyphen]?: CSSPropertyInputValue<Key, Key | FromKebab<Key>> };
9641
+ type CSSPropertyInputValue<BaseValue, RelatedKey extends string> = PropertyValue<UnionString | BaseValue | GetValue<_CssPropertiesValue, RelatedKey> | _CssPropertiesValueWildcard>;
9642
+ type Properties_CSS_Camel = { [Key in keyof Properties$1]?: CSSPropertyInputValue<Properties$1[Key], Extract<Key, string> | ToKebab<Extract<Key, string>>> };
9643
+ type Properties_CSS_Hyphen = { [Key in keyof PropertiesHyphen]?: CSSPropertyInputValue<PropertiesHyphen[Key], Extract<Key, string> | FromKebab<Extract<Key, string>>> };
9644
9644
  type Properties_CSS_Vars = { [K in `--${string}` & {}]?: PropertyValue<UnionString | _CssPropertiesValueWildcard> };
9645
- type Properties_ExtraCSS = { [Key in ResolvedExtraCSSProperty]?: CSSPropertyInputValue<Key, Key | ToKebab<Key> | FromKebab<Key>> };
9645
+ type Properties_ExtraCSS = { [Key in ResolvedExtraCSSProperty]?: CSSPropertyInputValue<GetValue<CSSProperties, Key>, Key | ToKebab<Key> | FromKebab<Key>> };
9646
9646
  type Properties_Extra = { [Key in ResolvedExtraProperty]?: GetValue<ResolvedAutocompletePropertyValue, Key> };
9647
9647
  /**
9648
9648
  * The full property map accepted in `pika()` style definitions, combining standard CSS (camelCase and hyphen-case), custom properties, plugin-injected CSS properties, and extra non-CSS properties.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pikacss/core",
3
3
  "type": "module",
4
- "version": "0.0.48",
4
+ "version": "0.0.49",
5
5
  "author": "DevilTea <ch19980814@gmail.com>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://pikacss.com",