@khipu/design-system 0.2.0-alpha.84 → 0.2.0-alpha.86

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,8 +1,8 @@
1
1
  {
2
2
  "name": "@khipu/design-system/beercss",
3
- "version": "0.2.0-alpha.84",
3
+ "version": "0.2.0-alpha.86",
4
4
  "description": "Khipu BeerCSS bundle with Material Design 3 and Khipu customizations",
5
- "buildDate": "2026-07-01T17:49:02.523Z",
5
+ "buildDate": "2026-07-01T20:05:58.297Z",
6
6
  "includes": {
7
7
  "beercss": "4.0.1",
8
8
  "khipu-tokens": "latest",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "scopeClass": ".kds-theme-root",
21
21
  "cdn": {
22
- "css": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.84/dist/beercss/khipu-beercss.min.css",
23
- "cssScoped": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.84/dist/beercss/khipu-beercss.scoped.min.css",
24
- "js": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.84/dist/beercss/khipu-beercss.min.js"
22
+ "css": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.86/dist/beercss/khipu-beercss.min.css",
23
+ "cssScoped": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.86/dist/beercss/khipu-beercss.scoped.min.css",
24
+ "js": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.86/dist/beercss/khipu-beercss.min.js"
25
25
  }
26
26
  }
package/dist/index.d.mts CHANGED
@@ -368,6 +368,7 @@ declare const fontWeights: {
368
368
  readonly bold: 700;
369
369
  };
370
370
  declare const fontSizes: {
371
+ readonly '2xs': "0.625rem";
371
372
  readonly xs: "0.75rem";
372
373
  readonly sm: "0.875rem";
373
374
  readonly base: "1rem";
@@ -826,6 +827,7 @@ declare const tokensByMode: {
826
827
  readonly bold: 700;
827
828
  };
828
829
  readonly fontSizes: {
830
+ readonly '2xs': "0.625rem";
829
831
  readonly xs: "0.75rem";
830
832
  readonly sm: "0.875rem";
831
833
  readonly base: "1rem";
@@ -1132,6 +1134,11 @@ declare const tokensByMode: {
1132
1134
  };
1133
1135
  };
1134
1136
  readonly responsiveBaseFontSizes: {
1137
+ readonly '2xs': {
1138
+ readonly mobile: "0.5625rem";
1139
+ readonly tablet: "0.625rem";
1140
+ readonly desktop: "0.625rem";
1141
+ };
1135
1142
  readonly xs: {
1136
1143
  readonly mobile: "0.6875rem";
1137
1144
  readonly tablet: "0.75rem";
@@ -1418,6 +1425,7 @@ declare const tokensByMode: {
1418
1425
  readonly bold: 700;
1419
1426
  };
1420
1427
  readonly fontSizes: {
1428
+ readonly '2xs': "0.625rem";
1421
1429
  readonly xs: "0.75rem";
1422
1430
  readonly sm: "0.875rem";
1423
1431
  readonly base: "1rem";
@@ -1724,6 +1732,11 @@ declare const tokensByMode: {
1724
1732
  };
1725
1733
  };
1726
1734
  readonly responsiveBaseFontSizes: {
1735
+ readonly '2xs': {
1736
+ readonly mobile: "0.5625rem";
1737
+ readonly tablet: "0.625rem";
1738
+ readonly desktop: "0.625rem";
1739
+ };
1727
1740
  readonly xs: {
1728
1741
  readonly mobile: "0.6875rem";
1729
1742
  readonly tablet: "0.75rem";
@@ -2019,6 +2032,7 @@ declare const tokens: {
2019
2032
  readonly bold: 700;
2020
2033
  };
2021
2034
  readonly fontSizes: {
2035
+ readonly '2xs': "0.625rem";
2022
2036
  readonly xs: "0.75rem";
2023
2037
  readonly sm: "0.875rem";
2024
2038
  readonly base: "1rem";
@@ -2325,6 +2339,11 @@ declare const tokens: {
2325
2339
  };
2326
2340
  };
2327
2341
  readonly responsiveBaseFontSizes: {
2342
+ readonly '2xs': {
2343
+ readonly mobile: "0.5625rem";
2344
+ readonly tablet: "0.625rem";
2345
+ readonly desktop: "0.625rem";
2346
+ };
2328
2347
  readonly xs: {
2329
2348
  readonly mobile: "0.6875rem";
2330
2349
  readonly tablet: "0.75rem";
@@ -2817,7 +2836,7 @@ declare const KdsAlert: React__default.ForwardRefExoticComponent<KdsAlertProps &
2817
2836
  /**
2818
2837
  * Custom Khipu typography variants that map to specific design tokens
2819
2838
  */
2820
- type KdsTypographyVariant = 'display1' | 'display2' | 'heading1' | 'heading2' | 'heading3' | 'body-large' | 'body' | 'body-small' | 'label' | 'label-small' | 'muted' | 'link' | 'strong';
2839
+ type KdsTypographyVariant = 'display1' | 'display2' | 'heading1' | 'heading2' | 'heading3' | 'body-large' | 'body' | 'body-small' | 'label' | 'label-small' | 'value' | 'code' | 'caption' | 'muted' | 'link' | 'strong';
2821
2840
  type ElementTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div' | 'label';
2822
2841
  interface KdsTypographyProps extends React__default.HTMLAttributes<HTMLElement> {
2823
2842
  /**
package/dist/index.d.ts CHANGED
@@ -368,6 +368,7 @@ declare const fontWeights: {
368
368
  readonly bold: 700;
369
369
  };
370
370
  declare const fontSizes: {
371
+ readonly '2xs': "0.625rem";
371
372
  readonly xs: "0.75rem";
372
373
  readonly sm: "0.875rem";
373
374
  readonly base: "1rem";
@@ -826,6 +827,7 @@ declare const tokensByMode: {
826
827
  readonly bold: 700;
827
828
  };
828
829
  readonly fontSizes: {
830
+ readonly '2xs': "0.625rem";
829
831
  readonly xs: "0.75rem";
830
832
  readonly sm: "0.875rem";
831
833
  readonly base: "1rem";
@@ -1132,6 +1134,11 @@ declare const tokensByMode: {
1132
1134
  };
1133
1135
  };
1134
1136
  readonly responsiveBaseFontSizes: {
1137
+ readonly '2xs': {
1138
+ readonly mobile: "0.5625rem";
1139
+ readonly tablet: "0.625rem";
1140
+ readonly desktop: "0.625rem";
1141
+ };
1135
1142
  readonly xs: {
1136
1143
  readonly mobile: "0.6875rem";
1137
1144
  readonly tablet: "0.75rem";
@@ -1418,6 +1425,7 @@ declare const tokensByMode: {
1418
1425
  readonly bold: 700;
1419
1426
  };
1420
1427
  readonly fontSizes: {
1428
+ readonly '2xs': "0.625rem";
1421
1429
  readonly xs: "0.75rem";
1422
1430
  readonly sm: "0.875rem";
1423
1431
  readonly base: "1rem";
@@ -1724,6 +1732,11 @@ declare const tokensByMode: {
1724
1732
  };
1725
1733
  };
1726
1734
  readonly responsiveBaseFontSizes: {
1735
+ readonly '2xs': {
1736
+ readonly mobile: "0.5625rem";
1737
+ readonly tablet: "0.625rem";
1738
+ readonly desktop: "0.625rem";
1739
+ };
1727
1740
  readonly xs: {
1728
1741
  readonly mobile: "0.6875rem";
1729
1742
  readonly tablet: "0.75rem";
@@ -2019,6 +2032,7 @@ declare const tokens: {
2019
2032
  readonly bold: 700;
2020
2033
  };
2021
2034
  readonly fontSizes: {
2035
+ readonly '2xs': "0.625rem";
2022
2036
  readonly xs: "0.75rem";
2023
2037
  readonly sm: "0.875rem";
2024
2038
  readonly base: "1rem";
@@ -2325,6 +2339,11 @@ declare const tokens: {
2325
2339
  };
2326
2340
  };
2327
2341
  readonly responsiveBaseFontSizes: {
2342
+ readonly '2xs': {
2343
+ readonly mobile: "0.5625rem";
2344
+ readonly tablet: "0.625rem";
2345
+ readonly desktop: "0.625rem";
2346
+ };
2328
2347
  readonly xs: {
2329
2348
  readonly mobile: "0.6875rem";
2330
2349
  readonly tablet: "0.75rem";
@@ -2817,7 +2836,7 @@ declare const KdsAlert: React__default.ForwardRefExoticComponent<KdsAlertProps &
2817
2836
  /**
2818
2837
  * Custom Khipu typography variants that map to specific design tokens
2819
2838
  */
2820
- type KdsTypographyVariant = 'display1' | 'display2' | 'heading1' | 'heading2' | 'heading3' | 'body-large' | 'body' | 'body-small' | 'label' | 'label-small' | 'muted' | 'link' | 'strong';
2839
+ type KdsTypographyVariant = 'display1' | 'display2' | 'heading1' | 'heading2' | 'heading3' | 'body-large' | 'body' | 'body-small' | 'label' | 'label-small' | 'value' | 'code' | 'caption' | 'muted' | 'link' | 'strong';
2821
2840
  type ElementTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div' | 'label';
2822
2841
  interface KdsTypographyProps extends React__default.HTMLAttributes<HTMLElement> {
2823
2842
  /**
package/dist/index.js CHANGED
@@ -509,6 +509,8 @@ var fontWeights = {
509
509
  bold: 700
510
510
  };
511
511
  var fontSizes = {
512
+ "2xs": "0.625rem",
513
+ // 10px — tiny captions (version footer, fine print)
512
514
  xs: "0.75rem",
513
515
  // 12px
514
516
  sm: "0.875rem",
@@ -931,6 +933,8 @@ var responsiveTypography = {
931
933
  }
932
934
  };
933
935
  var responsiveBaseFontSizes = {
936
+ "2xs": { mobile: "0.5625rem", tablet: "0.625rem", desktop: "0.625rem" },
937
+ // 9px → 10px
934
938
  xs: { mobile: "0.6875rem", tablet: "0.75rem", desktop: "0.75rem" },
935
939
  // 11px → 12px
936
940
  sm: { mobile: "0.8125rem", tablet: "0.875rem", desktop: "0.875rem" },
@@ -1497,6 +1501,9 @@ var variantTag = {
1497
1501
  "body-small": "p",
1498
1502
  label: "span",
1499
1503
  "label-small": "span",
1504
+ value: "span",
1505
+ code: "span",
1506
+ caption: "span",
1500
1507
  muted: "p",
1501
1508
  link: "span",
1502
1509
  strong: "span"
package/dist/index.mjs CHANGED
@@ -395,6 +395,8 @@ var fontWeights = {
395
395
  bold: 700
396
396
  };
397
397
  var fontSizes = {
398
+ "2xs": "0.625rem",
399
+ // 10px — tiny captions (version footer, fine print)
398
400
  xs: "0.75rem",
399
401
  // 12px
400
402
  sm: "0.875rem",
@@ -817,6 +819,8 @@ var responsiveTypography = {
817
819
  }
818
820
  };
819
821
  var responsiveBaseFontSizes = {
822
+ "2xs": { mobile: "0.5625rem", tablet: "0.625rem", desktop: "0.625rem" },
823
+ // 9px → 10px
820
824
  xs: { mobile: "0.6875rem", tablet: "0.75rem", desktop: "0.75rem" },
821
825
  // 11px → 12px
822
826
  sm: { mobile: "0.8125rem", tablet: "0.875rem", desktop: "0.875rem" },
@@ -1383,6 +1387,9 @@ var variantTag = {
1383
1387
  "body-small": "p",
1384
1388
  label: "span",
1385
1389
  "label-small": "span",
1390
+ value: "span",
1391
+ code: "span",
1392
+ caption: "span",
1386
1393
  muted: "p",
1387
1394
  link: "span",
1388
1395
  strong: "span"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khipu/design-system",
3
- "version": "0.2.0-alpha.84",
3
+ "version": "0.2.0-alpha.86",
4
4
  "description": "Khipu Design System - UI components and design tokens for the Khipu payment platform",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",