@ornikar/kitt-universal 26.1.2 → 26.2.0

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/definitions/Actions/Actions.d.ts +1 -1
  3. package/dist/definitions/Tag/Tag.d.ts +1 -1
  4. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  5. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +16 -11
  6. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  7. package/dist/definitions/themes/late-ocean/tag.d.ts +4 -3
  8. package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
  9. package/dist/definitions/typography/Typography.d.ts +22 -22
  10. package/dist/index-metro.es.android.js +31 -18
  11. package/dist/index-metro.es.android.js.map +1 -1
  12. package/dist/index-metro.es.ios.js +31 -18
  13. package/dist/index-metro.es.ios.js.map +1 -1
  14. package/dist/index-node-22.17.cjs.js +31 -18
  15. package/dist/index-node-22.17.cjs.js.map +1 -1
  16. package/dist/index-node-22.17.cjs.web.js +31 -18
  17. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  18. package/dist/index-node-22.17.es.mjs +31 -18
  19. package/dist/index-node-22.17.es.mjs.map +1 -1
  20. package/dist/index-node-22.17.es.web.mjs +31 -18
  21. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  22. package/dist/index.es.js +31 -18
  23. package/dist/index.es.js.map +1 -1
  24. package/dist/index.es.web.js +31 -18
  25. package/dist/index.es.web.js.map +1 -1
  26. package/dist/linaria-themes-metro.es.android.js +14 -9
  27. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  28. package/dist/linaria-themes-metro.es.ios.js +14 -9
  29. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  30. package/dist/linaria-themes-node-22.17.cjs.js +14 -9
  31. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  32. package/dist/linaria-themes-node-22.17.cjs.web.js +14 -9
  33. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  34. package/dist/linaria-themes-node-22.17.es.mjs +14 -9
  35. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  36. package/dist/linaria-themes-node-22.17.es.web.mjs +14 -9
  37. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  38. package/dist/linaria-themes.es.js +14 -9
  39. package/dist/linaria-themes.es.js.map +1 -1
  40. package/dist/linaria-themes.es.web.js +14 -9
  41. package/dist/linaria-themes.es.web.js.map +1 -1
  42. package/dist/tsbuildinfo +1 -1
  43. package/package.json +1 -1
@@ -2402,6 +2402,20 @@ var skeleton$1 = {
2402
2402
 
2403
2403
  var tag = {
2404
2404
  borderRadius: 16,
2405
+ variant: {
2406
+ contrast: {
2407
+ borderWidth: 0
2408
+ },
2409
+ fill: {
2410
+ borderWidth: 0
2411
+ },
2412
+ outline: {
2413
+ borderWidth: 1
2414
+ },
2415
+ subtle: {
2416
+ borderWidth: 0
2417
+ }
2418
+ },
2405
2419
  icon: {
2406
2420
  small: 16,
2407
2421
  medium: 16,
@@ -2439,15 +2453,6 @@ var tag = {
2439
2453
  paddingLeft: 8,
2440
2454
  paddingRight: 8
2441
2455
  }
2442
- },
2443
- fill: {
2444
- borderWidth: 0
2445
- },
2446
- outline: {
2447
- borderWidth: 1
2448
- },
2449
- contrast: {
2450
- borderWidth: 0
2451
2456
  }
2452
2457
  };
2453
2458
 
@@ -9575,14 +9580,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9575
9580
  borderWidth: theme.listItem.borderWidth
9576
9581
  },
9577
9582
  tag: {
9578
- fill: {
9579
- borderWidth: theme.tag.fill.borderWidth
9580
- },
9581
- outline: {
9582
- borderWidth: theme.tag.outline.borderWidth
9583
- },
9584
- contrast: {
9585
- borderWidth: theme.tag.contrast.borderWidth
9583
+ variant: {
9584
+ subtle: {
9585
+ borderWidth: theme.tag.variant.subtle.borderWidth
9586
+ },
9587
+ fill: {
9588
+ borderWidth: theme.tag.variant.fill.borderWidth
9589
+ },
9590
+ outline: {
9591
+ borderWidth: theme.tag.variant.outline.borderWidth
9592
+ },
9593
+ contrast: {
9594
+ borderWidth: theme.tag.variant.contrast.borderWidth
9595
+ }
9586
9596
  }
9587
9597
  }
9588
9598
  },
@@ -12314,6 +12324,9 @@ function Tag(_ref) {
12314
12324
  paddingLeft: "kitt.tag.".concat(icon ? 'withIcon' : 'withoutIcon', ".").concat(size, ".paddingLeft"),
12315
12325
  paddingRight: "kitt.tag.".concat(icon ? 'withIcon' : 'withoutIcon', ".").concat(size, ".paddingRight"),
12316
12326
  backgroundColor: variant === 'fill' || variant === 'contrast' ? function getBackgroundColor() {
12327
+ if (variant === 'subtle') {
12328
+ return 'transparent';
12329
+ }
12317
12330
  if (variant === 'contrast') {
12318
12331
  return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".9")];
12319
12332
  }
@@ -12322,7 +12335,7 @@ function Tag(_ref) {
12322
12335
  borderColor: withWhiteBorder ? 'kitt.white' : function getBorderColor() {
12323
12336
  return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".6")];
12324
12337
  }(),
12325
- borderWidth: withWhiteBorder ? 1 : "kitt.tag.".concat(variant, ".borderWidth"),
12338
+ borderWidth: withWhiteBorder ? 1 : "kitt.tag.variant.".concat(variant, ".borderWidth"),
12326
12339
  space: "kitt.1",
12327
12340
  alignItems: "center",
12328
12341
  maxWidth: "100%",