@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
package/dist/index.es.js CHANGED
@@ -2406,6 +2406,20 @@ var skeleton = {
2406
2406
 
2407
2407
  var tag = {
2408
2408
  borderRadius: 16,
2409
+ variant: {
2410
+ contrast: {
2411
+ borderWidth: 0
2412
+ },
2413
+ fill: {
2414
+ borderWidth: 0
2415
+ },
2416
+ outline: {
2417
+ borderWidth: 1
2418
+ },
2419
+ subtle: {
2420
+ borderWidth: 0
2421
+ }
2422
+ },
2409
2423
  icon: {
2410
2424
  small: 16,
2411
2425
  medium: 16,
@@ -2443,15 +2457,6 @@ var tag = {
2443
2457
  paddingLeft: 8,
2444
2458
  paddingRight: 8
2445
2459
  }
2446
- },
2447
- fill: {
2448
- borderWidth: 0
2449
- },
2450
- outline: {
2451
- borderWidth: 1
2452
- },
2453
- contrast: {
2454
- borderWidth: 0
2455
2460
  }
2456
2461
  };
2457
2462
 
@@ -10428,14 +10433,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10428
10433
  borderWidth: theme.listItem.borderWidth
10429
10434
  },
10430
10435
  tag: {
10431
- fill: {
10432
- borderWidth: theme.tag.fill.borderWidth
10433
- },
10434
- outline: {
10435
- borderWidth: theme.tag.outline.borderWidth
10436
- },
10437
- contrast: {
10438
- borderWidth: theme.tag.contrast.borderWidth
10436
+ variant: {
10437
+ subtle: {
10438
+ borderWidth: theme.tag.variant.subtle.borderWidth
10439
+ },
10440
+ fill: {
10441
+ borderWidth: theme.tag.variant.fill.borderWidth
10442
+ },
10443
+ outline: {
10444
+ borderWidth: theme.tag.variant.outline.borderWidth
10445
+ },
10446
+ contrast: {
10447
+ borderWidth: theme.tag.variant.contrast.borderWidth
10448
+ }
10439
10449
  }
10440
10450
  }
10441
10451
  },
@@ -13266,6 +13276,9 @@ function Tag(_ref) {
13266
13276
  paddingLeft: "kitt.tag.".concat(icon ? 'withIcon' : 'withoutIcon', ".").concat(size, ".paddingLeft"),
13267
13277
  paddingRight: "kitt.tag.".concat(icon ? 'withIcon' : 'withoutIcon', ".").concat(size, ".paddingRight"),
13268
13278
  backgroundColor: variant === 'fill' || variant === 'contrast' ? function getBackgroundColor() {
13279
+ if (variant === 'subtle') {
13280
+ return 'transparent';
13281
+ }
13269
13282
  if (variant === 'contrast') {
13270
13283
  return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".9")];
13271
13284
  }
@@ -13274,7 +13287,7 @@ function Tag(_ref) {
13274
13287
  borderColor: withWhiteBorder ? 'kitt.white' : function getBorderColor() {
13275
13288
  return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".6")];
13276
13289
  }(),
13277
- borderWidth: withWhiteBorder ? 1 : "kitt.tag.".concat(variant, ".borderWidth"),
13290
+ borderWidth: withWhiteBorder ? 1 : "kitt.tag.variant.".concat(variant, ".borderWidth"),
13278
13291
  space: "kitt.1",
13279
13292
  alignItems: "center",
13280
13293
  maxWidth: "100%",