@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
@@ -2378,6 +2378,20 @@ const skeleton$1 = {
2378
2378
 
2379
2379
  const tag = {
2380
2380
  borderRadius: 16,
2381
+ variant: {
2382
+ contrast: {
2383
+ borderWidth: 0
2384
+ },
2385
+ fill: {
2386
+ borderWidth: 0
2387
+ },
2388
+ outline: {
2389
+ borderWidth: 1
2390
+ },
2391
+ subtle: {
2392
+ borderWidth: 0
2393
+ }
2394
+ },
2381
2395
  icon: {
2382
2396
  small: 16,
2383
2397
  medium: 16,
@@ -2415,15 +2429,6 @@ const tag = {
2415
2429
  paddingLeft: 8,
2416
2430
  paddingRight: 8
2417
2431
  }
2418
- },
2419
- fill: {
2420
- borderWidth: 0
2421
- },
2422
- outline: {
2423
- borderWidth: 1
2424
- },
2425
- contrast: {
2426
- borderWidth: 0
2427
2432
  }
2428
2433
  };
2429
2434
 
@@ -9386,14 +9391,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9386
9391
  borderWidth: theme.listItem.borderWidth
9387
9392
  },
9388
9393
  tag: {
9389
- fill: {
9390
- borderWidth: theme.tag.fill.borderWidth
9391
- },
9392
- outline: {
9393
- borderWidth: theme.tag.outline.borderWidth
9394
- },
9395
- contrast: {
9396
- borderWidth: theme.tag.contrast.borderWidth
9394
+ variant: {
9395
+ subtle: {
9396
+ borderWidth: theme.tag.variant.subtle.borderWidth
9397
+ },
9398
+ fill: {
9399
+ borderWidth: theme.tag.variant.fill.borderWidth
9400
+ },
9401
+ outline: {
9402
+ borderWidth: theme.tag.variant.outline.borderWidth
9403
+ },
9404
+ contrast: {
9405
+ borderWidth: theme.tag.variant.contrast.borderWidth
9406
+ }
9397
9407
  }
9398
9408
  }
9399
9409
  },
@@ -12136,6 +12146,9 @@ function Tag({
12136
12146
  paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
12137
12147
  paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
12138
12148
  backgroundColor: variant === 'fill' || variant === 'contrast' ? (() => {
12149
+ if (variant === 'subtle') {
12150
+ return 'transparent';
12151
+ }
12139
12152
  if (variant === 'contrast') {
12140
12153
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
12141
12154
  }
@@ -12144,7 +12157,7 @@ function Tag({
12144
12157
  borderColor: withWhiteBorder ? 'kitt.white' : (() => {
12145
12158
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
12146
12159
  })(),
12147
- borderWidth: withWhiteBorder ? 1 : `kitt.tag.${variant}.borderWidth`,
12160
+ borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
12148
12161
  space: "kitt.1",
12149
12162
  alignItems: "center",
12150
12163
  maxWidth: "100%",