@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
@@ -2405,6 +2405,20 @@ const skeleton = {
2405
2405
 
2406
2406
  const tag = {
2407
2407
  borderRadius: 16,
2408
+ variant: {
2409
+ contrast: {
2410
+ borderWidth: 0
2411
+ },
2412
+ fill: {
2413
+ borderWidth: 0
2414
+ },
2415
+ outline: {
2416
+ borderWidth: 1
2417
+ },
2418
+ subtle: {
2419
+ borderWidth: 0
2420
+ }
2421
+ },
2408
2422
  icon: {
2409
2423
  small: 16,
2410
2424
  medium: 16,
@@ -2442,15 +2456,6 @@ const tag = {
2442
2456
  paddingLeft: 8,
2443
2457
  paddingRight: 8
2444
2458
  }
2445
- },
2446
- fill: {
2447
- borderWidth: 0
2448
- },
2449
- outline: {
2450
- borderWidth: 1
2451
- },
2452
- contrast: {
2453
- borderWidth: 0
2454
2459
  }
2455
2460
  };
2456
2461
 
@@ -10171,14 +10176,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10171
10176
  borderWidth: theme.listItem.borderWidth
10172
10177
  },
10173
10178
  tag: {
10174
- fill: {
10175
- borderWidth: theme.tag.fill.borderWidth
10176
- },
10177
- outline: {
10178
- borderWidth: theme.tag.outline.borderWidth
10179
- },
10180
- contrast: {
10181
- borderWidth: theme.tag.contrast.borderWidth
10179
+ variant: {
10180
+ subtle: {
10181
+ borderWidth: theme.tag.variant.subtle.borderWidth
10182
+ },
10183
+ fill: {
10184
+ borderWidth: theme.tag.variant.fill.borderWidth
10185
+ },
10186
+ outline: {
10187
+ borderWidth: theme.tag.variant.outline.borderWidth
10188
+ },
10189
+ contrast: {
10190
+ borderWidth: theme.tag.variant.contrast.borderWidth
10191
+ }
10182
10192
  }
10183
10193
  }
10184
10194
  },
@@ -13014,6 +13024,9 @@ function Tag({
13014
13024
  paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
13015
13025
  paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
13016
13026
  backgroundColor: variant === 'fill' || variant === 'contrast' ? (() => {
13027
+ if (variant === 'subtle') {
13028
+ return 'transparent';
13029
+ }
13017
13030
  if (variant === 'contrast') {
13018
13031
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
13019
13032
  }
@@ -13022,7 +13035,7 @@ function Tag({
13022
13035
  borderColor: withWhiteBorder ? 'kitt.white' : (() => {
13023
13036
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
13024
13037
  })(),
13025
- borderWidth: withWhiteBorder ? 1 : `kitt.tag.${variant}.borderWidth`,
13038
+ borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
13026
13039
  space: "kitt.1",
13027
13040
  alignItems: "center",
13028
13041
  maxWidth: "100%",