@ornikar/kitt-universal 27.3.0 → 27.4.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 (44) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/definitions/BaseMessage/helper.d.ts.map +1 -1
  3. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.d.ts +1 -1
  4. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.d.ts.map +1 -1
  5. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.web.d.ts.map +1 -1
  6. package/dist/definitions/Highlight/Highlight.d.ts.map +1 -1
  7. package/dist/definitions/themes/late-ocean/cardModal.d.ts.map +1 -1
  8. package/dist/definitions/themes/late-ocean/dialogModal.d.ts.map +1 -1
  9. package/dist/definitions/themes/late-ocean/highlight.d.ts +4 -0
  10. package/dist/definitions/themes/late-ocean/highlight.d.ts.map +1 -1
  11. package/dist/index-metro.es.android.js +24 -11
  12. package/dist/index-metro.es.android.js.map +1 -1
  13. package/dist/index-metro.es.ios.js +24 -11
  14. package/dist/index-metro.es.ios.js.map +1 -1
  15. package/dist/index-node-22.17.cjs.js +24 -11
  16. package/dist/index-node-22.17.cjs.js.map +1 -1
  17. package/dist/index-node-22.17.cjs.web.js +21 -9
  18. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  19. package/dist/index-node-22.17.es.mjs +24 -11
  20. package/dist/index-node-22.17.es.mjs.map +1 -1
  21. package/dist/index-node-22.17.es.web.mjs +21 -9
  22. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  23. package/dist/index.es.js +24 -11
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.es.web.js +21 -9
  26. package/dist/index.es.web.js.map +1 -1
  27. package/dist/linaria-themes-metro.es.android.js +10 -6
  28. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  29. package/dist/linaria-themes-metro.es.ios.js +10 -6
  30. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  31. package/dist/linaria-themes-node-22.17.cjs.js +10 -6
  32. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  33. package/dist/linaria-themes-node-22.17.cjs.web.js +10 -6
  34. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  35. package/dist/linaria-themes-node-22.17.es.mjs +10 -6
  36. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  37. package/dist/linaria-themes-node-22.17.es.web.mjs +10 -6
  38. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  39. package/dist/linaria-themes.es.js +10 -6
  40. package/dist/linaria-themes.es.js.map +1 -1
  41. package/dist/linaria-themes.es.web.js +10 -6
  42. package/dist/linaria-themes.es.web.js.map +1 -1
  43. package/dist/tsbuildinfo +1 -1
  44. package/package.json +2 -2
@@ -757,7 +757,7 @@ var webAnimationOverlayEasing$2 = [0.42, 0, 1, 1];
757
757
  var maxWidth = 540;
758
758
  var overlayHorizontalPadding = 24;
759
759
  var cardModal = {
760
- borderRadius: 20,
760
+ borderRadius: spacing * 2,
761
761
  maxWidth: maxWidth,
762
762
  maxWidthWithPadding: maxWidth + overlayHorizontalPadding * 2,
763
763
  minHeight: 280,
@@ -849,7 +849,7 @@ var webAnimationContentEasing$1 = [0.77, 0, 0.175, 1];
849
849
  var webAnimationOverlayDuration$1 = 250;
850
850
  var webAnimationOverlayEasing$1 = [0.42, 0, 1, 1];
851
851
  var dialogModal = {
852
- borderRadius: 20,
852
+ borderRadius: spacing * 2,
853
853
  maxWidth: 540,
854
854
  overlayPadding: {
855
855
  horizontal: 24,
@@ -1818,10 +1818,10 @@ var highlight = {
1818
1818
  },
1819
1819
  primary: {
1820
1820
  "default": {
1821
- backgroundColor: deepPurpleColorPalette['beige.2']
1821
+ backgroundColor: deepPurpleColorPalette['blue.1']
1822
1822
  },
1823
1823
  hover: {
1824
- backgroundColor: deepPurpleColorPalette['beige.4']
1824
+ backgroundColor: deepPurpleColorPalette['blue.2']
1825
1825
  }
1826
1826
  },
1827
1827
  secondary: {
@@ -1842,10 +1842,14 @@ var highlight = {
1842
1842
  },
1843
1843
  dark: {
1844
1844
  "default": {
1845
- backgroundColor: deepPurpleColorPalette['beige.2']
1845
+ backgroundColor: deepPurpleColorPalette['grey.0'],
1846
+ borderWidth: 1,
1847
+ borderColor: deepPurpleColorPalette['beige.3']
1846
1848
  },
1847
1849
  hover: {
1848
- backgroundColor: deepPurpleColorPalette['beige.1']
1850
+ backgroundColor: deepPurpleColorPalette['beige.1'],
1851
+ borderWidth: 1,
1852
+ borderColor: deepPurpleColorPalette['beige.3']
1849
1853
  }
1850
1854
  },
1851
1855
  success: {
@@ -7518,6 +7522,8 @@ function AnimatedContainer(_ref) {
7518
7522
  },
7519
7523
  borderRadius: "kitt.highlight.borderRadius",
7520
7524
  padding: theme.kitt.highlight.padding[size],
7525
+ borderWidth: theme.kitt.highlight[variant]["default"].borderWidth,
7526
+ borderColor: theme.kitt.highlight[variant]["default"].borderColor,
7521
7527
  backgroundColor: isHovered ? theme.kitt.highlight[variant].hover.backgroundColor : theme.kitt.highlight[variant]["default"].backgroundColor,
7522
7528
  children: children
7523
7529
  });
@@ -7608,6 +7614,8 @@ function Highlight(_ref) {
7608
7614
  borderRadius: "kitt.highlight.borderRadius",
7609
7615
  padding: theme.kitt.highlight.padding[size],
7610
7616
  backgroundColor: "kitt.highlight.".concat(variant, ".default.backgroundColor"),
7617
+ borderWidth: theme.kitt.highlight[variant]["default"].borderWidth,
7618
+ borderColor: theme.kitt.highlight[variant]["default"].borderColor,
7611
7619
  children: /*#__PURE__*/jsxs(HStack, {
7612
7620
  space: highlightStyle[size].spaceBetween,
7613
7621
  children: [icon && /*#__PURE__*/jsx(View, {
@@ -8146,6 +8154,8 @@ var getColorByType = function (type) {
8146
8154
  switch (type) {
8147
8155
  case 'success':
8148
8156
  case 'danger':
8157
+ case 'info':
8158
+ return 'white';
8149
8159
  case 'warning':
8150
8160
  default:
8151
8161
  return 'black';
@@ -8155,6 +8165,8 @@ var getIconButtonColor = function (messageType) {
8155
8165
  switch (messageType) {
8156
8166
  case 'success':
8157
8167
  case 'danger':
8168
+ case 'info':
8169
+ return 'ghost';
8158
8170
  case 'warning':
8159
8171
  default:
8160
8172
  return 'black';
@@ -8175,7 +8187,7 @@ function BaseMessage(_ref) {
8175
8187
  justifyContent: "space-between",
8176
8188
  minHeight: "kitt.feedbackMessage.minHeight",
8177
8189
  paddingTop: insets === null || insets === void 0 ? void 0 : insets.top,
8178
- borderRadius: hasNoRadius ? undefined : 'kitt.5',
8190
+ borderRadius: hasNoRadius ? undefined : 'kitt.2',
8179
8191
  backgroundColor: "kitt.feedbackMessage.".concat(type, ".backgroundColor"),
8180
8192
  children: [/*#__PURE__*/jsxs(HStack, {
8181
8193
  flexGrow: 1,
@@ -8183,9 +8195,9 @@ function BaseMessage(_ref) {
8183
8195
  alignSelf: "center",
8184
8196
  alignItems: "flex-start",
8185
8197
  paddingY: "kitt.4",
8186
- paddingX: "kitt.5",
8198
+ paddingX: "kitt.4",
8187
8199
  children: [centeredText ? null : /*#__PURE__*/jsx(View, {
8188
- marginRight: "kitt.5",
8200
+ marginRight: "kitt.2",
8189
8201
  children: /*#__PURE__*/jsx(Icon, {
8190
8202
  color: color,
8191
8203
  icon: /*#__PURE__*/jsx(IconContent, {