@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
@@ -2382,6 +2382,20 @@ const skeleton = {
2382
2382
 
2383
2383
  const tag = {
2384
2384
  borderRadius: 16,
2385
+ variant: {
2386
+ contrast: {
2387
+ borderWidth: 0
2388
+ },
2389
+ fill: {
2390
+ borderWidth: 0
2391
+ },
2392
+ outline: {
2393
+ borderWidth: 1
2394
+ },
2395
+ subtle: {
2396
+ borderWidth: 0
2397
+ }
2398
+ },
2385
2399
  icon: {
2386
2400
  small: 16,
2387
2401
  medium: 16,
@@ -2419,15 +2433,6 @@ const tag = {
2419
2433
  paddingLeft: 8,
2420
2434
  paddingRight: 8
2421
2435
  }
2422
- },
2423
- fill: {
2424
- borderWidth: 0
2425
- },
2426
- outline: {
2427
- borderWidth: 1
2428
- },
2429
- contrast: {
2430
- borderWidth: 0
2431
2436
  }
2432
2437
  };
2433
2438
 
@@ -10148,14 +10153,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10148
10153
  borderWidth: theme.listItem.borderWidth
10149
10154
  },
10150
10155
  tag: {
10151
- fill: {
10152
- borderWidth: theme.tag.fill.borderWidth
10153
- },
10154
- outline: {
10155
- borderWidth: theme.tag.outline.borderWidth
10156
- },
10157
- contrast: {
10158
- borderWidth: theme.tag.contrast.borderWidth
10156
+ variant: {
10157
+ subtle: {
10158
+ borderWidth: theme.tag.variant.subtle.borderWidth
10159
+ },
10160
+ fill: {
10161
+ borderWidth: theme.tag.variant.fill.borderWidth
10162
+ },
10163
+ outline: {
10164
+ borderWidth: theme.tag.variant.outline.borderWidth
10165
+ },
10166
+ contrast: {
10167
+ borderWidth: theme.tag.variant.contrast.borderWidth
10168
+ }
10159
10169
  }
10160
10170
  }
10161
10171
  },
@@ -12991,6 +13001,9 @@ function Tag({
12991
13001
  paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
12992
13002
  paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
12993
13003
  backgroundColor: variant === 'fill' || variant === 'contrast' ? (() => {
13004
+ if (variant === 'subtle') {
13005
+ return 'transparent';
13006
+ }
12994
13007
  if (variant === 'contrast') {
12995
13008
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
12996
13009
  }
@@ -12999,7 +13012,7 @@ function Tag({
12999
13012
  borderColor: withWhiteBorder ? 'kitt.white' : (() => {
13000
13013
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
13001
13014
  })(),
13002
- borderWidth: withWhiteBorder ? 1 : `kitt.tag.${variant}.borderWidth`,
13015
+ borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
13003
13016
  space: "kitt.1",
13004
13017
  alignItems: "center",
13005
13018
  maxWidth: "100%",