@jonapin006/tiger 1.0.43 → 1.0.44

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
@@ -399,6 +399,7 @@ export declare interface ThemeGeometryConfig {
399
399
  typographyMappings: {
400
400
  medium: TypographySize.Medium;
401
401
  large: TypographySize.Large;
402
+ xlarge: TypographySize.Xlarge;
402
403
  };
403
404
  };
404
405
  layout: {
@@ -936,6 +937,7 @@ export declare interface TigerTopBarProps {
936
937
  description?: default_2.ReactNode;
937
938
  actions?: default_2.ReactNode;
938
939
  className?: string;
940
+ size?: ComponentSize.Medium | ComponentSize.Large | ComponentSize.Xlarge;
939
941
  titleTypographySize?: TypographySize;
940
942
  descriptionTypographySize?: TypographySize;
941
943
  }
package/dist/tiger.es.js CHANGED
@@ -556,7 +556,8 @@ var v = /* @__PURE__ */ function(e) {
556
556
  actionsContainer: "flex items-center justify-end flex-shrink-0",
557
557
  typographyMappings: {
558
558
  medium: b.Medium,
559
- large: b.Large
559
+ large: b.Large,
560
+ xlarge: b.Xlarge
560
561
  }
561
562
  },
562
563
  layout: {
@@ -1475,7 +1476,8 @@ var v = /* @__PURE__ */ function(e) {
1475
1476
  actionsContainer: "flex items-center justify-end flex-shrink-0",
1476
1477
  typographyMappings: {
1477
1478
  medium: b.Medium,
1478
- large: b.Large
1479
+ large: b.Large,
1480
+ xlarge: b.Xlarge
1479
1481
  }
1480
1482
  },
1481
1483
  layout: {
@@ -2394,7 +2396,8 @@ var v = /* @__PURE__ */ function(e) {
2394
2396
  actionsContainer: "flex items-center justify-end flex-shrink-0",
2395
2397
  typographyMappings: {
2396
2398
  medium: b.Medium,
2397
- large: b.Large
2399
+ large: b.Large,
2400
+ xlarge: b.Xlarge
2398
2401
  }
2399
2402
  },
2400
2403
  layout: {
@@ -3089,31 +3092,31 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
3089
3092
  className: I(o.flexBase, l, s.gap, u, i),
3090
3093
  children: e
3091
3094
  });
3092
- }, U = ({ title: e, description: t, actions: n, className: r, titleTypographySize: i, descriptionTypographySize: a }) => {
3093
- let { themeConfig: o, theme: s } = F(), u = s.geometry.topbar, d = i || u.typographyMappings.large, f = a || u.typographyMappings.medium;
3095
+ }, U = ({ title: e, description: t, actions: n, className: r, size: i = y.Xlarge, titleTypographySize: a, descriptionTypographySize: o }) => {
3096
+ let { themeConfig: s, theme: u } = F(), d = u.geometry.topbar, f = a || d.typographyMappings[i], p = o || d.typographyMappings.medium;
3094
3097
  return /* @__PURE__ */ l("header", {
3095
- className: I(u.wrapper, o.layout.topbar.container, u.padding, u.margin, u.corner, u.height, u.width, r),
3098
+ className: I(d.wrapper, s.layout.topbar.container, d.padding, d.margin, d.corner, d.height, d.width, r),
3096
3099
  children: [
3097
3100
  (e || t) && /* @__PURE__ */ l("div", {
3098
- className: u.titleContainer,
3101
+ className: d.titleContainer,
3099
3102
  children: [e && /* @__PURE__ */ c("div", {
3100
- className: u.title,
3103
+ className: d.title,
3101
3104
  children: ((e) => typeof e == "string" ? /* @__PURE__ */ c(L, {
3102
- typographySize: d,
3105
+ typographySize: f,
3103
3106
  bold: !0,
3104
3107
  children: e
3105
3108
  }) : e)(e)
3106
3109
  }), t && /* @__PURE__ */ c("div", {
3107
- className: u.descriptionContainer,
3110
+ className: d.descriptionContainer,
3108
3111
  children: ((e) => typeof e == "string" ? /* @__PURE__ */ c(L, {
3109
- typographySize: f,
3112
+ typographySize: p,
3110
3113
  children: e
3111
3114
  }) : e)(t)
3112
3115
  })]
3113
3116
  }),
3114
3117
  /* @__PURE__ */ c("div", {}),
3115
3118
  n && /* @__PURE__ */ c("div", {
3116
- className: u.actionsContainer,
3119
+ className: d.actionsContainer,
3117
3120
  children: n
3118
3121
  })
3119
3122
  ]