@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
@@ -2385,6 +2385,20 @@ const skeleton = {
2385
2385
 
2386
2386
  const tag = {
2387
2387
  borderRadius: 16,
2388
+ variant: {
2389
+ contrast: {
2390
+ borderWidth: 0
2391
+ },
2392
+ fill: {
2393
+ borderWidth: 0
2394
+ },
2395
+ outline: {
2396
+ borderWidth: 1
2397
+ },
2398
+ subtle: {
2399
+ borderWidth: 0
2400
+ }
2401
+ },
2388
2402
  icon: {
2389
2403
  small: 16,
2390
2404
  medium: 16,
@@ -2422,15 +2436,6 @@ const tag = {
2422
2436
  paddingLeft: 8,
2423
2437
  paddingRight: 8
2424
2438
  }
2425
- },
2426
- fill: {
2427
- borderWidth: 0
2428
- },
2429
- outline: {
2430
- borderWidth: 1
2431
- },
2432
- contrast: {
2433
- borderWidth: 0
2434
2439
  }
2435
2440
  };
2436
2441
 
@@ -10176,14 +10181,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10176
10181
  borderWidth: theme.listItem.borderWidth
10177
10182
  },
10178
10183
  tag: {
10179
- fill: {
10180
- borderWidth: theme.tag.fill.borderWidth
10181
- },
10182
- outline: {
10183
- borderWidth: theme.tag.outline.borderWidth
10184
- },
10185
- contrast: {
10186
- borderWidth: theme.tag.contrast.borderWidth
10184
+ variant: {
10185
+ subtle: {
10186
+ borderWidth: theme.tag.variant.subtle.borderWidth
10187
+ },
10188
+ fill: {
10189
+ borderWidth: theme.tag.variant.fill.borderWidth
10190
+ },
10191
+ outline: {
10192
+ borderWidth: theme.tag.variant.outline.borderWidth
10193
+ },
10194
+ contrast: {
10195
+ borderWidth: theme.tag.variant.contrast.borderWidth
10196
+ }
10187
10197
  }
10188
10198
  }
10189
10199
  },
@@ -13020,6 +13030,9 @@ function Tag({
13020
13030
  paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
13021
13031
  paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
13022
13032
  backgroundColor: variant === 'fill' || variant === 'contrast' ? (() => {
13033
+ if (variant === 'subtle') {
13034
+ return 'transparent';
13035
+ }
13023
13036
  if (variant === 'contrast') {
13024
13037
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
13025
13038
  }
@@ -13028,7 +13041,7 @@ function Tag({
13028
13041
  borderColor: withWhiteBorder ? 'kitt.white' : (() => {
13029
13042
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
13030
13043
  })(),
13031
- borderWidth: withWhiteBorder ? 1 : `kitt.tag.${variant}.borderWidth`,
13044
+ borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
13032
13045
  space: "kitt.1",
13033
13046
  alignItems: "center",
13034
13047
  maxWidth: "100%",