@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$1 = {
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
 
@@ -9393,14 +9398,19 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9393
9398
  borderWidth: theme.listItem.borderWidth
9394
9399
  },
9395
9400
  tag: {
9396
- fill: {
9397
- borderWidth: theme.tag.fill.borderWidth
9398
- },
9399
- outline: {
9400
- borderWidth: theme.tag.outline.borderWidth
9401
- },
9402
- contrast: {
9403
- borderWidth: theme.tag.contrast.borderWidth
9401
+ variant: {
9402
+ subtle: {
9403
+ borderWidth: theme.tag.variant.subtle.borderWidth
9404
+ },
9405
+ fill: {
9406
+ borderWidth: theme.tag.variant.fill.borderWidth
9407
+ },
9408
+ outline: {
9409
+ borderWidth: theme.tag.variant.outline.borderWidth
9410
+ },
9411
+ contrast: {
9412
+ borderWidth: theme.tag.variant.contrast.borderWidth
9413
+ }
9404
9414
  }
9405
9415
  }
9406
9416
  },
@@ -12143,6 +12153,9 @@ function Tag({
12143
12153
  paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
12144
12154
  paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
12145
12155
  backgroundColor: variant === 'fill' || variant === 'contrast' ? (() => {
12156
+ if (variant === 'subtle') {
12157
+ return 'transparent';
12158
+ }
12146
12159
  if (variant === 'contrast') {
12147
12160
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
12148
12161
  }
@@ -12151,7 +12164,7 @@ function Tag({
12151
12164
  borderColor: withWhiteBorder ? 'kitt.white' : (() => {
12152
12165
  return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
12153
12166
  })(),
12154
- borderWidth: withWhiteBorder ? 1 : `kitt.tag.${variant}.borderWidth`,
12167
+ borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
12155
12168
  space: "kitt.1",
12156
12169
  alignItems: "center",
12157
12170
  maxWidth: "100%",