@citygross/components_v2 0.0.31 → 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.
@@ -161,4 +161,10 @@
161
161
  #E8E8E8 100%
162
162
  );
163
163
  background-size: 200% 100%;
164
+ }
165
+ .Skeleton_skeleton_fullHeight_true__i80r922z {
166
+ height: 100%;
167
+ }
168
+ .Skeleton_skeleton_fullWidth_true__i80r9230 {
169
+ width: 100%;
164
170
  }
@@ -2,6 +2,6 @@ import './../../cssUtils/border.css.ts.vanilla.css';
2
2
  import './Skeleton.css.ts.vanilla.css';
3
3
  import { createRuntimeFn } from '@vanilla-extract/recipes/createRuntimeFn';
4
4
 
5
- var skeleton = createRuntimeFn({ defaultClassName: "Skeleton__i80r921e Skeleton_skeletonBase__i80r921d", variantClassNames: { borderRadius: { none: "border_borderRadius_none__c3f0gf1b", extraSmall: "border_borderRadius_extraSmall__c3f0gf1c", small: "border_borderRadius_small__c3f0gf1d", "default": "border_borderRadius_default__c3f0gf1e", big: "border_borderRadius_big__c3f0gf1f", bigger: "border_borderRadius_bigger__c3f0gf1g", large: "border_borderRadius_large__c3f0gf1h", round: "border_borderRadius_round__c3f0gf1i" }, width: { "8": "Skeleton_8__i80r921", "16": "Skeleton_16__i80r922", "24": "Skeleton_24__i80r923", "32": "Skeleton_32__i80r924", "40": "Skeleton_40__i80r925", "48": "Skeleton_48__i80r926", "56": "Skeleton_56__i80r927", "64": "Skeleton_64__i80r928", "72": "Skeleton_72__i80r929", "80": "Skeleton_80__i80r92a", "88": "Skeleton_88__i80r92b", "96": "Skeleton_96__i80r92c", "104": "Skeleton_104__i80r92d", "112": "Skeleton_112__i80r92e", "120": "Skeleton_120__i80r92f", "128": "Skeleton_128__i80r92g", "136": "Skeleton_136__i80r92h", "144": "Skeleton_144__i80r92i", "152": "Skeleton_152__i80r92j", "160": "Skeleton_160__i80r92k", "168": "Skeleton_168__i80r92l", "176": "Skeleton_176__i80r92m", "184": "Skeleton_184__i80r92n", "192": "Skeleton_192__i80r92o" }, height: { "8": "Skeleton_8__i80r92p", "16": "Skeleton_16__i80r92q", "24": "Skeleton_24__i80r92r", "32": "Skeleton_32__i80r92s", "40": "Skeleton_40__i80r92t", "48": "Skeleton_48__i80r92u", "56": "Skeleton_56__i80r92v", "64": "Skeleton_64__i80r92w", "72": "Skeleton_72__i80r92x", "80": "Skeleton_80__i80r92y", "88": "Skeleton_88__i80r92z", "96": "Skeleton_96__i80r9210", "104": "Skeleton_104__i80r9211", "112": "Skeleton_112__i80r9212", "120": "Skeleton_120__i80r9213", "128": "Skeleton_128__i80r9214", "136": "Skeleton_136__i80r9215", "144": "Skeleton_144__i80r9216", "152": "Skeleton_152__i80r9217", "160": "Skeleton_160__i80r9218", "168": "Skeleton_168__i80r9219", "176": "Skeleton_176__i80r921a", "184": "Skeleton_184__i80r921b", "192": "Skeleton_192__i80r921c" } }, defaultVariants: {}, compoundVariants: [] });
5
+ var skeleton = createRuntimeFn({ defaultClassName: "Skeleton__i80r921e Skeleton_skeletonBase__i80r921d", variantClassNames: { borderRadius: { none: "border_borderRadius_none__c3f0gf1b", extraSmall: "border_borderRadius_extraSmall__c3f0gf1c", small: "border_borderRadius_small__c3f0gf1d", "default": "border_borderRadius_default__c3f0gf1e", big: "border_borderRadius_big__c3f0gf1f", bigger: "border_borderRadius_bigger__c3f0gf1g", large: "border_borderRadius_large__c3f0gf1h", round: "border_borderRadius_round__c3f0gf1i" }, width: { "8": "Skeleton_8__i80r921", "16": "Skeleton_16__i80r922", "24": "Skeleton_24__i80r923", "32": "Skeleton_32__i80r924", "40": "Skeleton_40__i80r925", "48": "Skeleton_48__i80r926", "56": "Skeleton_56__i80r927", "64": "Skeleton_64__i80r928", "72": "Skeleton_72__i80r929", "80": "Skeleton_80__i80r92a", "88": "Skeleton_88__i80r92b", "96": "Skeleton_96__i80r92c", "104": "Skeleton_104__i80r92d", "112": "Skeleton_112__i80r92e", "120": "Skeleton_120__i80r92f", "128": "Skeleton_128__i80r92g", "136": "Skeleton_136__i80r92h", "144": "Skeleton_144__i80r92i", "152": "Skeleton_152__i80r92j", "160": "Skeleton_160__i80r92k", "168": "Skeleton_168__i80r92l", "176": "Skeleton_176__i80r92m", "184": "Skeleton_184__i80r92n", "192": "Skeleton_192__i80r92o" }, height: { "8": "Skeleton_8__i80r92p", "16": "Skeleton_16__i80r92q", "24": "Skeleton_24__i80r92r", "32": "Skeleton_32__i80r92s", "40": "Skeleton_40__i80r92t", "48": "Skeleton_48__i80r92u", "56": "Skeleton_56__i80r92v", "64": "Skeleton_64__i80r92w", "72": "Skeleton_72__i80r92x", "80": "Skeleton_80__i80r92y", "88": "Skeleton_88__i80r92z", "96": "Skeleton_96__i80r9210", "104": "Skeleton_104__i80r9211", "112": "Skeleton_112__i80r9212", "120": "Skeleton_120__i80r9213", "128": "Skeleton_128__i80r9214", "136": "Skeleton_136__i80r9215", "144": "Skeleton_144__i80r9216", "152": "Skeleton_152__i80r9217", "160": "Skeleton_160__i80r9218", "168": "Skeleton_168__i80r9219", "176": "Skeleton_176__i80r921a", "184": "Skeleton_184__i80r921b", "192": "Skeleton_192__i80r921c" }, fullHeight: { true: "Skeleton_skeleton_fullHeight_true__i80r922z" }, fullWidth: { true: "Skeleton_skeleton_fullWidth_true__i80r9230" } }, defaultVariants: {}, compoundVariants: [] });
6
6
 
7
7
  export { skeleton };
@@ -5,6 +5,8 @@ declare type TSkeleton = {
5
5
  width?: THardSpacingKeys;
6
6
  height?: THardSpacingKeys;
7
7
  borderRadius?: TBorderRadiusKeys;
8
+ fullWidth?: boolean;
9
+ fullHeight?: boolean;
8
10
  className?: string;
9
11
  };
10
12
  declare const Skeleton: React.FC<TSkeleton>;
@@ -5,18 +5,22 @@ const Skeleton = ({
5
5
  width,
6
6
  height,
7
7
  borderRadius,
8
+ fullWidth,
9
+ fullHeight,
8
10
  className
9
11
  }) => {
10
- return /* @__PURE__ */ React.createElement(
12
+ return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
11
13
  "span",
12
14
  {
13
15
  className: `${skeleton({
14
16
  width,
15
17
  height,
16
- borderRadius
18
+ borderRadius,
19
+ fullWidth,
20
+ fullHeight
17
21
  })} ${className}`
18
22
  }
19
- );
23
+ ));
20
24
  };
21
25
 
22
26
  export { Skeleton };
@@ -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.31",
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": "9972a2fb3858e0ad9f15089f19defae938c1cab7"
82
+ "gitHead": "71a4a8799b405355c2a68870097aa5c44a85f5ae"
83
83
  }