@citygross/components_v2 0.0.32 → 0.0.33

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.
@@ -1,5 +1,12 @@
1
1
  declare type TTextDecoration = 'underline' | 'lineThrough';
2
2
  declare type TTextAlign = 'center' | 'left' | 'right';
3
3
  declare type TBodyTextSizeKeys = 'tiny' | 'extraSmall' | 'small' | 'default';
4
+ declare const fontFamily: Record<"display" | "code" | "primary", string>;
5
+ declare const fontSize: Record<"xs" | "code" | "s1" | "s2" | "s3" | "s4" | "m1" | "m2" | "l1", string>;
6
+ declare const fontWeight: Record<"bold" | "medium" | "regular" | "semiBold", string>;
7
+ declare const lineHeight: Record<"xs" | "s1" | "s2" | "m1" | "m2" | "l1" | "m3", string>;
8
+ declare const textAlign: Record<"left" | "right" | "center", string>;
9
+ declare const textDecoration: Record<"underline" | "lineThrough", string>;
10
+ declare const bodyTextSize: Record<"small" | "default" | "tiny" | "extraSmall", string>;
4
11
 
5
- export { TBodyTextSizeKeys, TTextAlign, TTextDecoration };
12
+ export { TBodyTextSizeKeys, TTextAlign, TTextDecoration, bodyTextSize, fontFamily, fontSize, fontWeight, lineHeight, textAlign, textDecoration };
@@ -0,0 +1,11 @@
1
+ import './typography.css.ts.vanilla.css';
2
+
3
+ var bodyTextSize = { tiny: "typography_bodyTextSize_tiny__xithyts", extraSmall: "typography_bodyTextSize_extraSmall__xithytt", small: "typography_bodyTextSize_small__xithytu", "default": "typography_bodyTextSize_default__xithytv" };
4
+ var fontFamily = { primary: "typography_fontFamily_primary__xithyt0", display: "typography_fontFamily_display__xithyt1", code: "typography_fontFamily_code__xithyt2" };
5
+ var fontSize = { xs: "typography_fontSize_xs__xithyt3", s1: "typography_fontSize_s1__xithyt4", s2: "typography_fontSize_s2__xithyt5", s3: "typography_fontSize_s3__xithyt6", s4: "typography_fontSize_s4__xithyt7", m1: "typography_fontSize_m1__xithyt8", m2: "typography_fontSize_m2__xithyt9", l1: "typography_fontSize_l1__xithyta", code: "typography_fontSize_code__xithytb" };
6
+ var fontWeight = { regular: "typography_fontWeight_regular__xithytc", medium: "typography_fontWeight_medium__xithytd", semiBold: "typography_fontWeight_semiBold__xithyte", bold: "typography_fontWeight_bold__xithytf" };
7
+ var lineHeight = { xs: "typography_lineHeight_xs__xithytg", s1: "typography_lineHeight_s1__xithyth", s2: "typography_lineHeight_s2__xithyti", m1: "typography_lineHeight_m1__xithytj", m2: "typography_lineHeight_m2__xithytk", m3: "typography_lineHeight_m3__xithytl", l1: "typography_lineHeight_l1__xithytm" };
8
+ var textAlign = { left: "typography_textAlign_left__xithytn", right: "typography_textAlign_right__xithyto", center: "typography_textAlign_center__xithytp" };
9
+ var textDecoration = { lineThrough: "typography_textDecoration_lineThrough__xithytq", underline: "typography_textDecoration_underline__xithytr" };
10
+
11
+ export { bodyTextSize, fontFamily, fontSize, fontWeight, lineHeight, textAlign, textDecoration };
package/dist/index.d.ts CHANGED
@@ -30,3 +30,4 @@ export { H3, TH3 } from './typography/H3/H3.js';
30
30
  export { borderColor, borderRadius } from './cssUtils/border.css.js';
31
31
  export { backgroundColor, color, hoverBackgroundColor, hoverColor } from './cssUtils/color.css.js';
32
32
  export { margin, marginBottomDynamic, marginHorizontal, marginVertical, padding, paddingHorizontal, paddingVertical } from './cssUtils/spacings.css.js';
33
+ export { TBodyTextSizeKeys, TTextAlign, TTextDecoration, bodyTextSize, fontFamily, fontSize, fontWeight, lineHeight, textAlign, textDecoration } from './cssUtils/typography.css.js';
package/dist/index.js CHANGED
@@ -30,3 +30,4 @@ export { H3 } from './typography/H3/H3.js';
30
30
  export { borderColor, borderRadius } from './cssUtils/border.css.vanilla.js';
31
31
  export { backgroundColor, color, hoverBackgroundColor, hoverColor } from './cssUtils/color.css.vanilla.js';
32
32
  export { margin, marginBottomDynamic, marginHorizontal, marginVertical, padding, paddingHorizontal, paddingVertical } from './cssUtils/spacings.css.vanilla.js';
33
+ export { bodyTextSize, fontFamily, fontSize, fontWeight, lineHeight, textAlign, textDecoration } from './cssUtils/typography.css.vanilla.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components_v2",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -79,5 +79,5 @@
79
79
  "react-slick": "^0.30.1",
80
80
  "slick-carousel": "^1.8.1"
81
81
  },
82
- "gitHead": "70f464cdbc406f65f2ef12f6a2b2f5f73e783dfa"
82
+ "gitHead": "71a4a8799b405355c2a68870097aa5c44a85f5ae"
83
83
  }