@starfish-codes/hellgate 3.1.1 → 3.2.1
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/dist/card/ui/styles.d.ts +3 -3
- package/dist/card/ui/typings.d.ts +1 -0
- package/dist/hellgate-sdk.mjs +464 -464
- package/dist/hellgate-sdk.umd.js +4 -4
- package/package.json +1 -1
package/dist/card/ui/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Properties as CSSProperties } from 'csstype';
|
|
2
|
-
declare const SAFE_CSS_PROPERTIES: readonly ["backgroundColor", "color", "fontFamily", "fontSize", "fontSmooth", "fontStyle", "fontVariant", "fontWeight", "lineHeight", "letterSpacing", "textAlign", "padding", "textDecoration", "textShadow", "textTransform"];
|
|
2
|
+
declare const SAFE_CSS_PROPERTIES: readonly ["backgroundColor", "color", "fontFamily", "fontSize", "fontSmooth", "fontStyle", "fontVariant", "fontWeight", "lineHeight", "letterSpacing", "textAlign", "padding", "textDecoration", "textShadow", "textTransform", "height"];
|
|
3
3
|
type SafeCSSProperty = (typeof SAFE_CSS_PROPERTIES)[number];
|
|
4
4
|
declare const SAFE_CSS_PROPERTIES_ALTERNATES: Partial<Record<SafeCSSProperty, string[]>>;
|
|
5
5
|
declare const SAFE_CSS_PROPERTIES_WITH_ALTERNATES: string[];
|
|
@@ -16,5 +16,5 @@ type FontSources = FontSource[];
|
|
|
16
16
|
type Fonts = Record<CardElementStyleFontAttr, FontSources>;
|
|
17
17
|
type CardElementStyle = Partial<Record<CardElementStyleVariant, CardElementStyleVariantStyle> & Fonts>;
|
|
18
18
|
type ElementStyle = CardElementStyle;
|
|
19
|
-
export { CARD_ELEMENT_STYLE_FONTS_ATTR,
|
|
20
|
-
export type { CardElementStyle, CardElementStyleVariant, CardElementStyleVariantSelector, CardElementStyleVariantStyle, ElementStyle,
|
|
19
|
+
export { CARD_ELEMENT_STYLE_FONTS_ATTR, CARD_ELEMENT_STYLE_VARIANT_SELECTORS, CARD_ELEMENT_STYLE_VARIANTS, SAFE_CSS_PROPERTIES, SAFE_CSS_PROPERTIES_ALTERNATES, SAFE_CSS_PROPERTIES_WITH_ALTERNATES, };
|
|
20
|
+
export type { CardElementStyle, CardElementStyleVariant, CardElementStyleVariantSelector, CardElementStyleVariantStyle, ElementStyle, Fonts, FontSources, SafeCSSProperty, SafeStyle, };
|