@clickpalm/react 1.3.5 → 1.3.6

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/index.d.ts CHANGED
@@ -3816,6 +3816,7 @@ declare const Paragraph: {
3816
3816
 
3817
3817
  declare const StyledHeading: _stitches_react_types_styled_component.StyledComponent<"h2", {
3818
3818
  size?: "sm" | "md" | "lg" | "2xl" | "4xl" | "5xl" | "6xl" | "3xl" | undefined;
3819
+ bold?: boolean | "true" | "false" | undefined;
3819
3820
  }, {
3820
3821
  sm: "(min-width: 375px)";
3821
3822
  md: "(min-width: 768px)";
@@ -4041,6 +4042,7 @@ interface HeadingProps extends ComponentPropsWithoutRef<'h2'>, VariantProps<type
4041
4042
  css?: CustomCSS$1;
4042
4043
  children?: React.ReactNode;
4043
4044
  size?: 'sm' | 'md' | 'lg' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
4045
+ bold?: boolean;
4044
4046
  }
4045
4047
  declare const Heading: react.ForwardRefExoticComponent<HeadingProps & react.RefAttributes<HTMLHeadingElement>>;
4046
4048
 
package/dist/index.js CHANGED
@@ -3070,6 +3070,7 @@ var StyledHeading = styled("h2", {
3070
3070
  lineHeight: "$shorter",
3071
3071
  margin: "1px",
3072
3072
  color: "$black",
3073
+ fontWeight: "$regular",
3073
3074
  variants: {
3074
3075
  size: {
3075
3076
  sm: { fontSize: "$xl" },
@@ -3080,15 +3081,25 @@ var StyledHeading = styled("h2", {
3080
3081
  "4xl": { fontSize: "$7xl" },
3081
3082
  "5xl": { fontSize: "$8xl" },
3082
3083
  "6xl": { fontSize: "$9xl" }
3084
+ },
3085
+ bold: {
3086
+ true: {
3087
+ fontWeight: "$bold"
3088
+ },
3089
+ false: {
3090
+ fontWeight: "$regular"
3091
+ }
3083
3092
  }
3084
3093
  },
3085
3094
  defaultVariants: {
3086
3095
  size: "md"
3087
3096
  }
3088
3097
  });
3089
- var Heading = (0, import_react17.forwardRef)(function Heading2({ children, ...props }, ref) {
3090
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(StyledHeading, { ref, ...props, children });
3091
- });
3098
+ var Heading = (0, import_react17.forwardRef)(
3099
+ function Heading2({ children, bold = false, ...props }, ref) {
3100
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(StyledHeading, { ref, bold, ...props, children });
3101
+ }
3102
+ );
3092
3103
  Heading.displayName = "Heading";
3093
3104
 
3094
3105
  // src/components/Select/index.tsx
@@ -3275,6 +3286,9 @@ var import_react19 = require("react");
3275
3286
  // src/components/LabelledValue/styles.ts
3276
3287
  var Container = styled("div", {
3277
3288
  display: "flex",
3289
+ fontWeight: "$regular",
3290
+ fontSize: "$md",
3291
+ fontFamily: "$default",
3278
3292
  variants: {
3279
3293
  position: {
3280
3294
  vertical: {
@@ -3292,6 +3306,9 @@ var Container = styled("div", {
3292
3306
  var ItemWrapper = styled("div", {
3293
3307
  display: "flex",
3294
3308
  alignItems: "center",
3309
+ fontWeight: "$regular",
3310
+ fontSize: "$md",
3311
+ fontFamily: "$default",
3295
3312
  variants: {
3296
3313
  position: {
3297
3314
  vertical: {
@@ -3317,12 +3334,14 @@ var ItemWrapper = styled("div", {
3317
3334
  var Label4 = styled("div", {
3318
3335
  fontWeight: "$regular",
3319
3336
  fontSize: "$md",
3337
+ fontFamily: "$default",
3320
3338
  color: "$black",
3321
3339
  whiteSpace: "nowrap"
3322
3340
  });
3323
3341
  var Value2 = styled("div", {
3324
3342
  fontWeight: "$bold",
3325
3343
  fontSize: "$md",
3344
+ fontFamily: "$default",
3326
3345
  color: "$black",
3327
3346
  textAlign: "right",
3328
3347
  wordBreak: "break-word",
package/dist/index.mjs CHANGED
@@ -3000,6 +3000,7 @@ var StyledHeading = styled("h2", {
3000
3000
  lineHeight: "$shorter",
3001
3001
  margin: "1px",
3002
3002
  color: "$black",
3003
+ fontWeight: "$regular",
3003
3004
  variants: {
3004
3005
  size: {
3005
3006
  sm: { fontSize: "$xl" },
@@ -3010,15 +3011,25 @@ var StyledHeading = styled("h2", {
3010
3011
  "4xl": { fontSize: "$7xl" },
3011
3012
  "5xl": { fontSize: "$8xl" },
3012
3013
  "6xl": { fontSize: "$9xl" }
3014
+ },
3015
+ bold: {
3016
+ true: {
3017
+ fontWeight: "$bold"
3018
+ },
3019
+ false: {
3020
+ fontWeight: "$regular"
3021
+ }
3013
3022
  }
3014
3023
  },
3015
3024
  defaultVariants: {
3016
3025
  size: "md"
3017
3026
  }
3018
3027
  });
3019
- var Heading = forwardRef10(function Heading2({ children, ...props }, ref) {
3020
- return /* @__PURE__ */ jsx37(StyledHeading, { ref, ...props, children });
3021
- });
3028
+ var Heading = forwardRef10(
3029
+ function Heading2({ children, bold = false, ...props }, ref) {
3030
+ return /* @__PURE__ */ jsx37(StyledHeading, { ref, bold, ...props, children });
3031
+ }
3032
+ );
3022
3033
  Heading.displayName = "Heading";
3023
3034
 
3024
3035
  // src/components/Select/index.tsx
@@ -3209,6 +3220,9 @@ import {
3209
3220
  // src/components/LabelledValue/styles.ts
3210
3221
  var Container = styled("div", {
3211
3222
  display: "flex",
3223
+ fontWeight: "$regular",
3224
+ fontSize: "$md",
3225
+ fontFamily: "$default",
3212
3226
  variants: {
3213
3227
  position: {
3214
3228
  vertical: {
@@ -3226,6 +3240,9 @@ var Container = styled("div", {
3226
3240
  var ItemWrapper = styled("div", {
3227
3241
  display: "flex",
3228
3242
  alignItems: "center",
3243
+ fontWeight: "$regular",
3244
+ fontSize: "$md",
3245
+ fontFamily: "$default",
3229
3246
  variants: {
3230
3247
  position: {
3231
3248
  vertical: {
@@ -3251,12 +3268,14 @@ var ItemWrapper = styled("div", {
3251
3268
  var Label4 = styled("div", {
3252
3269
  fontWeight: "$regular",
3253
3270
  fontSize: "$md",
3271
+ fontFamily: "$default",
3254
3272
  color: "$black",
3255
3273
  whiteSpace: "nowrap"
3256
3274
  });
3257
3275
  var Value2 = styled("div", {
3258
3276
  fontWeight: "$bold",
3259
3277
  fontSize: "$md",
3278
+ fontFamily: "$default",
3260
3279
  color: "$black",
3261
3280
  textAlign: "right",
3262
3281
  wordBreak: "break-word",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Design System da Clikpalm",
4
4
  "author": "Enisson Shilo",
5
5
  "license": "MIT",
6
- "version": "1.3.5",
6
+ "version": "1.3.6",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/clickpalm/clickpalm-designsystem-lib.git"