@ornikar/kitt-universal 4.0.0 → 4.1.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 (49) hide show
  1. package/dist/definitions/BaseMessage/BaseMessage.d.ts +16 -0
  2. package/dist/definitions/BaseMessage/BaseMessage.d.ts.map +1 -0
  3. package/dist/definitions/BaseMessage/IconContent.d.ts +10 -0
  4. package/dist/definitions/BaseMessage/IconContent.d.ts.map +1 -0
  5. package/dist/definitions/BaseMessage/helper.d.ts +6 -0
  6. package/dist/definitions/BaseMessage/helper.d.ts.map +1 -0
  7. package/dist/definitions/Message/Message.d.ts +4 -12
  8. package/dist/definitions/Message/Message.d.ts.map +1 -1
  9. package/dist/definitions/Notification/Notification.d.ts +8 -8
  10. package/dist/definitions/Notification/Notification.d.ts.map +1 -1
  11. package/dist/definitions/Skeleton/Skeleton.d.ts.map +1 -1
  12. package/dist/definitions/Tooltip/TooltipView.d.ts.map +1 -1
  13. package/dist/definitions/themes/default.d.ts +4 -9
  14. package/dist/definitions/themes/default.d.ts.map +1 -1
  15. package/dist/definitions/themes/late-ocean/{buttonLateOceanTheme.d.ts → button.d.ts} +2 -2
  16. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -0
  17. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +2 -0
  18. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
  19. package/dist/definitions/themes/late-ocean/feedbackMessage.d.ts +11 -0
  20. package/dist/definitions/themes/late-ocean/feedbackMessage.d.ts.map +1 -0
  21. package/dist/index-browser-all.es.android.js +174 -148
  22. package/dist/index-browser-all.es.android.js.map +1 -1
  23. package/dist/index-browser-all.es.ios.js +174 -148
  24. package/dist/index-browser-all.es.ios.js.map +1 -1
  25. package/dist/index-browser-all.es.js +174 -148
  26. package/dist/index-browser-all.es.js.map +1 -1
  27. package/dist/index-browser-all.es.web.js +183 -155
  28. package/dist/index-browser-all.es.web.js.map +1 -1
  29. package/dist/index-node-14.17.cjs.js +183 -137
  30. package/dist/index-node-14.17.cjs.js.map +1 -1
  31. package/dist/index-node-14.17.cjs.web.js +183 -137
  32. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  33. package/dist/linaria-themes-browser-all.es.android.js +21 -13
  34. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  35. package/dist/linaria-themes-browser-all.es.ios.js +21 -13
  36. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  37. package/dist/linaria-themes-browser-all.es.js +21 -13
  38. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  39. package/dist/linaria-themes-browser-all.es.web.js +21 -13
  40. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  41. package/dist/linaria-themes-node-14.17.cjs.js +21 -13
  42. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  43. package/dist/linaria-themes-node-14.17.cjs.web.js +21 -13
  44. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  45. package/dist/tsbuildinfo +1 -1
  46. package/package.json +3 -3
  47. package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts.map +0 -1
  48. package/dist/definitions/themes/late-ocean/feedbackMessageLateOceanTheme.d.ts +0 -9
  49. package/dist/definitions/themes/late-ocean/feedbackMessageLateOceanTheme.d.ts.map +0 -1
@@ -57,7 +57,7 @@ function SpinningIcon({
57
57
  });
58
58
  }
59
59
 
60
- const IconContainer$1 = /*#__PURE__*/styled__default.View.withConfig({
60
+ const IconContainer = /*#__PURE__*/styled__default.View.withConfig({
61
61
  displayName: "Icon__IconContainer",
62
62
  componentId: "kitt-universal__sc-usm0ol-0"
63
63
  })(["color:", ";width:", "px;height:", "px;align-self:", ";"], ({
@@ -79,7 +79,7 @@ function Icon({
79
79
  const clonedIcon = /*#__PURE__*/react.cloneElement(icon, {
80
80
  color
81
81
  });
82
- return /*#__PURE__*/jsxRuntime.jsx(IconContainer$1, {
82
+ return /*#__PURE__*/jsxRuntime.jsx(IconContainer, {
83
83
  align: align,
84
84
  size: size,
85
85
  color: color,
@@ -612,7 +612,7 @@ const StyledButtonText = /*#__PURE__*/styled__default(Typography.Text).withConfi
612
612
  if (reactNative.Platform.OS !== 'web' || $isDisabled || !isSubtle($type)) return undefined;
613
613
  return 'color: inherit';
614
614
  });
615
- const StyledIconContainer = /*#__PURE__*/styled__default.View.withConfig({
615
+ const StyledIconContainer$1 = /*#__PURE__*/styled__default.View.withConfig({
616
616
  displayName: "ButtonContent__StyledIconContainer",
617
617
  componentId: "kitt-universal__sc-dnyw3n-1"
618
618
  })(["", ""], ({
@@ -635,7 +635,7 @@ function ButtonIcon({
635
635
  iconPosition,
636
636
  testID
637
637
  }) {
638
- return /*#__PURE__*/jsxRuntime.jsx(StyledIconContainer, {
638
+ return /*#__PURE__*/jsxRuntime.jsx(StyledIconContainer$1, {
639
639
  $iconPosition: iconPosition,
640
640
  children: /*#__PURE__*/jsxRuntime.jsx(TypographyIcon, {
641
641
  icon: icon,
@@ -801,7 +801,7 @@ const Button = /*#__PURE__*/react.forwardRef(({
801
801
  });
802
802
  });
803
803
 
804
- const Container$6 = /*#__PURE__*/styled__default.View.withConfig({
804
+ const Container$5 = /*#__PURE__*/styled__default.View.withConfig({
805
805
  displayName: "Card__Container",
806
806
  componentId: "kitt-universal__sc-1n9psug-0"
807
807
  })(["background-color:", ";padding:", ";border-radius:", ";border-width:", ";border-color:", ";"], ({
@@ -821,7 +821,7 @@ function Card({
821
821
  children,
822
822
  type
823
823
  }) {
824
- return /*#__PURE__*/jsxRuntime.jsx(Container$6, {
824
+ return /*#__PURE__*/jsxRuntime.jsx(Container$5, {
825
825
  type: type,
826
826
  children: children
827
827
  });
@@ -1185,7 +1185,7 @@ const SelectedInnerRadio = /*#__PURE__*/styled__default.View.withConfig({
1185
1185
  }) => theme.kitt.forms.radio.checked.innerSize, ({
1186
1186
  theme
1187
1187
  }) => theme.kitt.forms.radio.checked.innerSize / 2);
1188
- const Container$5 = /*#__PURE__*/styled__default.Pressable.withConfig({
1188
+ const Container$4 = /*#__PURE__*/styled__default.Pressable.withConfig({
1189
1189
  displayName: "Radio__Container",
1190
1190
  componentId: "kitt-universal__sc-1mdgr2o-3"
1191
1191
  })(["flex-direction:row;align-items:center;"]);
@@ -1203,7 +1203,7 @@ function Radio({
1203
1203
  disabled = false,
1204
1204
  children
1205
1205
  }) {
1206
- return /*#__PURE__*/jsxRuntime.jsxs(Container$5, {
1206
+ return /*#__PURE__*/jsxRuntime.jsxs(Container$4, {
1207
1207
  nativeID: id,
1208
1208
  disabled: disabled,
1209
1209
  accessibilityRole: "radio",
@@ -1370,7 +1370,7 @@ function FullScreenModalHeader({
1370
1370
  });
1371
1371
  }
1372
1372
 
1373
- const Container$4 = /*#__PURE__*/styled__default.View.withConfig({
1373
+ const Container$3 = /*#__PURE__*/styled__default.View.withConfig({
1374
1374
  displayName: "FullScreenModal__Container",
1375
1375
  componentId: "kitt-universal__sc-11qpbe3-0"
1376
1376
  })(["flex:1;background-color:", ";"], ({
@@ -1379,7 +1379,7 @@ const Container$4 = /*#__PURE__*/styled__default.View.withConfig({
1379
1379
  function FullScreenModal({
1380
1380
  children
1381
1381
  }) {
1382
- return /*#__PURE__*/jsxRuntime.jsx(Container$4, {
1382
+ return /*#__PURE__*/jsxRuntime.jsx(Container$3, {
1383
1383
  children: children
1384
1384
  });
1385
1385
  }
@@ -1824,47 +1824,32 @@ function LargeLoader({
1824
1824
  });
1825
1825
  }
1826
1826
 
1827
- const xIconSize = 14;
1828
- const mainIconSize = 20;
1829
- const Container$3 = /*#__PURE__*/styled__default.View.withConfig({
1830
- displayName: "Message__Container",
1831
- componentId: "kitt-universal__sc-c6400e-0"
1832
- })(["border-radius:", "px;background-color:", ";padding-bottom:", "px;padding-left:", "px;padding-right:", "px;padding-top:", "px;flex-direction:row;align-items:flex-start;justify-content:space-between;"], ({
1833
- theme,
1834
- noRadius
1835
- }) => noRadius ? 0 : theme.kitt.spacing * 5, ({
1836
- theme,
1837
- type
1838
- }) => theme.kitt.feedbackMessage.backgroundColors[type], ({
1839
- theme
1840
- }) => theme.kitt.spacing * 4, ({
1841
- theme
1842
- }) => theme.kitt.spacing * 4, ({
1843
- theme
1844
- }) => theme.kitt.spacing * 4, ({
1845
- theme,
1846
- insets
1847
- }) => (insets?.top ?? 0) + theme.kitt.spacing * 4);
1848
- const CloseContainer = /*#__PURE__*/styled__default(reactNative.TouchableOpacity).withConfig({
1849
- displayName: "Message__CloseContainer",
1850
- componentId: "kitt-universal__sc-c6400e-1"
1851
- })(["margin-left:", "px;padding:", "px;"], ({
1852
- theme
1853
- }) => theme.kitt.spacing * 4, ({
1854
- theme
1855
- }) => theme.kitt.spacing);
1856
- const IconContainer = /*#__PURE__*/styled__default.View.withConfig({
1857
- displayName: "Message__IconContainer",
1858
- componentId: "kitt-universal__sc-c6400e-2"
1859
- })(["margin-right:", "px;"], ({
1860
- theme
1861
- }) => theme.kitt.spacing * 4);
1862
- const Content = /*#__PURE__*/styled__default.Text.withConfig({
1863
- displayName: "Message__Content",
1864
- componentId: "kitt-universal__sc-c6400e-3"
1865
- })(["text-align:", ";flex:1;"], ({
1866
- centeredText
1867
- }) => centeredText ? 'center' : 'left');
1827
+ function IconContent({
1828
+ type,
1829
+ color
1830
+ }) {
1831
+ switch (type) {
1832
+ case 'warning':
1833
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertCircleIcon, {
1834
+ color: color
1835
+ });
1836
+
1837
+ case 'success':
1838
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.CheckIcon, {
1839
+ color: color
1840
+ });
1841
+
1842
+ case 'danger':
1843
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertTriangleIcon, {
1844
+ color: color
1845
+ });
1846
+
1847
+ default:
1848
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.InfoIcon, {
1849
+ color: color
1850
+ });
1851
+ }
1852
+ }
1868
1853
 
1869
1854
  const getColorByType = type => {
1870
1855
  switch (type) {
@@ -1879,61 +1864,125 @@ const getColorByType = type => {
1879
1864
  return 'black';
1880
1865
  }
1881
1866
  };
1882
-
1883
- function getIconContent(type) {
1884
- switch (type) {
1885
- case 'warning':
1886
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertCircleIcon, {});
1887
-
1867
+ const getIconButtonColor = messageType => {
1868
+ switch (messageType) {
1888
1869
  case 'success':
1889
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.CheckIcon, {});
1890
-
1891
1870
  case 'danger':
1892
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertTriangleIcon, {});
1871
+ return 'white';
1893
1872
 
1873
+ case 'warning':
1894
1874
  default:
1895
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.InfoIcon, {});
1875
+ return 'black';
1896
1876
  }
1897
- }
1877
+ };
1898
1878
 
1899
- function Message({
1879
+ const StyledMessageContainer = /*#__PURE__*/styled__default.View.withConfig({
1880
+ displayName: "BaseMessage__StyledMessageContainer",
1881
+ componentId: "kitt-universal__sc-eepeiz-0"
1882
+ })(["flex-direction:row;align-items:flex-start;justify-content:space-between;min-height:60px;padding-top:", "px;border-radius:", "px;background-color:", ";"], ({
1883
+ $insets
1884
+ }) => $insets?.top ?? 0, ({
1885
+ theme,
1886
+ $hasNoRadius
1887
+ }) => $hasNoRadius ? 0 : theme.kitt.spacing * 5, ({
1888
+ theme,
1889
+ $type
1890
+ }) => theme.kitt.feedbackMessage[$type].backgroundColor);
1891
+ const StyledDismissWrapper = /*#__PURE__*/styled__default.View.withConfig({
1892
+ displayName: "BaseMessage__StyledDismissWrapper",
1893
+ componentId: "kitt-universal__sc-eepeiz-1"
1894
+ })(["align-items:center;align-items:flex-start;margin:", ";"], ({
1895
+ theme
1896
+ }) => {
1897
+ const {
1898
+ spacing
1899
+ } = theme.kitt;
1900
+ return `${spacing * 2.5}px ${spacing * 2}px 0 ${spacing * 5}px`;
1901
+ });
1902
+ const StyledIconContainer = /*#__PURE__*/styled__default.View.withConfig({
1903
+ displayName: "BaseMessage__StyledIconContainer",
1904
+ componentId: "kitt-universal__sc-eepeiz-2"
1905
+ })(["margin:", ";"], ({
1906
+ theme
1907
+ }) => {
1908
+ const {
1909
+ spacing
1910
+ } = theme.kitt;
1911
+ return `${spacing}px ${spacing * 5}px 0 0`;
1912
+ });
1913
+ const StyledTextContent = /*#__PURE__*/styled__default(Typography.Text).withConfig({
1914
+ displayName: "BaseMessage__StyledTextContent",
1915
+ componentId: "kitt-universal__sc-eepeiz-3"
1916
+ })(["flex:1;text-align:", ";"], ({
1917
+ $isCenteredText
1918
+ }) => $isCenteredText ? 'center' : 'left');
1919
+ const StyledMessageContent = /*#__PURE__*/styled__default.View.withConfig({
1920
+ displayName: "BaseMessage__StyledMessageContent",
1921
+ componentId: "kitt-universal__sc-eepeiz-4"
1922
+ })(["display:flex;flex-direction:row;flex-grow:1;align-self:center;align-items:flex-start;flex-shrink:1;padding:", ";"], ({
1923
+ theme
1924
+ }) => {
1925
+ const {
1926
+ spacing
1927
+ } = theme.kitt;
1928
+ return `${spacing * 4}px ${spacing * 5}px`;
1929
+ });
1930
+ function BaseMessage({
1900
1931
  type = 'info',
1901
1932
  children,
1902
- noRadius = false,
1903
- centeredText = false,
1904
- onDismiss,
1905
- insets
1933
+ hasNoRadius,
1934
+ centeredText,
1935
+ insets,
1936
+ onDismiss
1906
1937
  }) {
1907
1938
  const color = getColorByType(type);
1908
- return /*#__PURE__*/jsxRuntime.jsxs(Container$3, {
1909
- type: type,
1910
- noRadius: noRadius,
1911
- insets: insets,
1912
- children: [!centeredText ? /*#__PURE__*/jsxRuntime.jsx(IconContainer, {
1913
- children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
1914
- size: mainIconSize,
1915
- color: color,
1916
- icon: getIconContent(type)
1917
- })
1918
- }) : null, /*#__PURE__*/jsxRuntime.jsx(Content, {
1919
- type: type,
1920
- centeredText: centeredText,
1921
- children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
1922
- base: "body-small",
1939
+ return /*#__PURE__*/jsxRuntime.jsxs(StyledMessageContainer, {
1940
+ $type: type,
1941
+ $hasNoRadius: hasNoRadius,
1942
+ $insets: insets,
1943
+ children: [/*#__PURE__*/jsxRuntime.jsxs(StyledMessageContent, {
1944
+ children: [centeredText ? null : /*#__PURE__*/jsxRuntime.jsx(StyledIconContainer, {
1945
+ children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
1946
+ color: color,
1947
+ icon: /*#__PURE__*/jsxRuntime.jsx(IconContent, {
1948
+ type: type,
1949
+ color: color
1950
+ })
1951
+ })
1952
+ }), /*#__PURE__*/jsxRuntime.jsx(StyledTextContent, {
1953
+ $isCenteredText: centeredText,
1954
+ base: "body",
1923
1955
  color: color,
1924
1956
  children: children
1925
- })
1926
- }), onDismiss ? /*#__PURE__*/jsxRuntime.jsx(CloseContainer, {
1927
- onPress: onDismiss,
1928
- children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
1957
+ })]
1958
+ }), onDismiss ? /*#__PURE__*/jsxRuntime.jsx(StyledDismissWrapper, {
1959
+ children: /*#__PURE__*/jsxRuntime.jsx(IconButton, {
1960
+ color: getIconButtonColor(type),
1929
1961
  icon: /*#__PURE__*/jsxRuntime.jsx(kittIcons.XIcon, {}),
1930
- size: xIconSize,
1931
- color: color
1962
+ onPress: onDismiss
1932
1963
  })
1933
1964
  }) : null]
1934
1965
  });
1935
1966
  }
1936
1967
 
1968
+ function Message({
1969
+ type = 'info',
1970
+ children,
1971
+ hasNoRadius,
1972
+ centeredText,
1973
+ insets,
1974
+ onDismiss
1975
+ }) {
1976
+ return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
1977
+ insets: insets,
1978
+ hasNoRadius: hasNoRadius,
1979
+ type: type,
1980
+ centeredText: centeredText,
1981
+ onDismiss: onDismiss,
1982
+ children: children
1983
+ });
1984
+ }
1985
+
1937
1986
  // Don't use styled.Pressable here - babel-plugin-styled-components-react-native-web only supports tagged templates
1938
1987
  const OverlayPressable = /*#__PURE__*/styled__default(reactNative.Pressable).withConfig({
1939
1988
  displayName: "Overlay__OverlayPressable",
@@ -2089,19 +2138,22 @@ function Notification({
2089
2138
  type,
2090
2139
  children,
2091
2140
  centeredText,
2092
- onDelete
2141
+ insets,
2142
+ onDelete,
2143
+ onDismiss
2093
2144
  }) {
2094
- const {
2095
- top
2096
- } = reactNativeSafeAreaContext.useSafeAreaInsets();
2097
- return /*#__PURE__*/jsxRuntime.jsx(Message, {
2098
- noRadius: true,
2145
+ if ((process.env.NODE_ENV !== "production")) {
2146
+ if (onDelete) {
2147
+ throw new Error('onDelete is deprecated us onDismiss instead');
2148
+ }
2149
+ }
2150
+
2151
+ return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
2152
+ hasNoRadius: true,
2099
2153
  type: type,
2100
2154
  centeredText: centeredText,
2101
- insets: {
2102
- top
2103
- },
2104
- onDismiss: onDelete,
2155
+ insets: insets,
2156
+ onDismiss: onDismiss,
2105
2157
  children: children
2106
2158
  });
2107
2159
  }
@@ -2169,12 +2221,16 @@ function SkeletonContent({
2169
2221
  });
2170
2222
  }
2171
2223
 
2224
+ const SkeletonContainer = /*#__PURE__*/styled__default(reactNative.View).withConfig({
2225
+ displayName: "Skeleton__SkeletonContainer",
2226
+ componentId: "kitt-universal__sc-1w5cm3i-0"
2227
+ })(["overflow:hidden;"]);
2172
2228
  function Skeleton({
2173
2229
  isLoading,
2174
2230
  style
2175
2231
  }) {
2176
2232
  const [width, setWidth] = react.useState(0);
2177
- return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
2233
+ return /*#__PURE__*/jsxRuntime.jsx(SkeletonContainer, {
2178
2234
  style: style,
2179
2235
  onLayout: ({
2180
2236
  nativeEvent
@@ -2187,16 +2243,16 @@ function Skeleton({
2187
2243
  }
2188
2244
  const Bar = /*#__PURE__*/styled__default(Skeleton).withConfig({
2189
2245
  displayName: "Skeleton__Bar",
2190
- componentId: "kitt-universal__sc-1w5cm3i-0"
2191
- })(["width:100%;height:", "px;border-radius:", "px;overflow:hidden;"], ({
2246
+ componentId: "kitt-universal__sc-1w5cm3i-1"
2247
+ })(["width:100%;height:", "px;border-radius:", "px;"], ({
2192
2248
  theme
2193
2249
  }) => theme.kitt.spacing * 2, ({
2194
2250
  theme
2195
2251
  }) => theme.kitt.spacing * 2);
2196
2252
  const Circle = /*#__PURE__*/styled__default(Skeleton).withConfig({
2197
2253
  displayName: "Skeleton__Circle",
2198
- componentId: "kitt-universal__sc-1w5cm3i-1"
2199
- })(["width:", "px;height:", "px;border-radius:", "px;overflow:hidden;"], ({
2254
+ componentId: "kitt-universal__sc-1w5cm3i-2"
2255
+ })(["width:", "px;height:", "px;border-radius:", "px;"], ({
2200
2256
  theme
2201
2257
  }) => theme.kitt.spacing * 12, ({
2202
2258
  theme
@@ -2205,8 +2261,8 @@ const Circle = /*#__PURE__*/styled__default(Skeleton).withConfig({
2205
2261
  }) => theme.kitt.spacing * 6);
2206
2262
  const Square = /*#__PURE__*/styled__default(Skeleton).withConfig({
2207
2263
  displayName: "Skeleton__Square",
2208
- componentId: "kitt-universal__sc-1w5cm3i-2"
2209
- })(["width:", "px;height:", "px;border-radius:", "px;overflow:hidden;"], ({
2264
+ componentId: "kitt-universal__sc-1w5cm3i-3"
2265
+ })(["width:", "px;height:", "px;border-radius:", "px;"], ({
2210
2266
  theme
2211
2267
  }) => theme.kitt.spacing * 12, ({
2212
2268
  theme
@@ -2650,6 +2706,8 @@ const colorsLateOceanTheme = {
2650
2706
  success: lateOceanColorPalette.viride,
2651
2707
  correct: lateOceanColorPalette.viride,
2652
2708
  danger: lateOceanColorPalette.englishVermillon,
2709
+ info: lateOceanColorPalette.aero,
2710
+ warning: lateOceanColorPalette.goldCrayola,
2653
2711
  separator: lateOceanColorPalette.black100,
2654
2712
  hover: lateOceanColorPalette.black100,
2655
2713
  black: lateOceanColorPalette.black1000,
@@ -2674,7 +2732,7 @@ const avatar = {
2674
2732
  }
2675
2733
  };
2676
2734
 
2677
- const buttonLateOceanTheme = {
2735
+ const button = {
2678
2736
  borderRadius: '30px',
2679
2737
  borderWidth: {
2680
2738
  disabled: '2px',
@@ -2765,12 +2823,18 @@ const cardLateOceanTheme = {
2765
2823
  }
2766
2824
  };
2767
2825
 
2768
- const feedbackMessageLateOceanTheme = {
2769
- backgroundColors: {
2770
- success: lateOceanColorPalette.viride,
2771
- danger: lateOceanColorPalette.englishVermillon,
2772
- warning: lateOceanColorPalette.goldCrayola,
2773
- info: lateOceanColorPalette.aero
2826
+ const feedbackMessage = {
2827
+ danger: {
2828
+ backgroundColor: colorsLateOceanTheme.danger
2829
+ },
2830
+ success: {
2831
+ backgroundColor: colorsLateOceanTheme.success
2832
+ },
2833
+ info: {
2834
+ backgroundColor: colorsLateOceanTheme.info
2835
+ },
2836
+ warning: {
2837
+ backgroundColor: colorsLateOceanTheme.warning
2774
2838
  }
2775
2839
  };
2776
2840
 
@@ -2962,14 +3026,14 @@ const iconButton = {
2962
3026
  },
2963
3027
  disabled: {
2964
3028
  scale: 1,
2965
- backgroundColor: buttonLateOceanTheme.disabled.backgroundColor,
2966
- borderColor: buttonLateOceanTheme.disabled.borderColor
3029
+ backgroundColor: button.disabled.backgroundColor,
3030
+ borderColor: button.disabled.borderColor
2967
3031
  },
2968
3032
  default: {
2969
- pressedBackgroundColor: buttonLateOceanTheme.default.pressedBackgroundColor
3033
+ pressedBackgroundColor: button.default.pressedBackgroundColor
2970
3034
  },
2971
3035
  white: {
2972
- pressedBackgroundColor: buttonLateOceanTheme.white.hoverBackgroundColor
3036
+ pressedBackgroundColor: button.white.hoverBackgroundColor
2973
3037
  }
2974
3038
  };
2975
3039
 
@@ -3070,9 +3134,9 @@ const theme = {
3070
3134
  lateOcean: lateOceanColorPalette
3071
3135
  },
3072
3136
  avatar,
3073
- button: buttonLateOceanTheme,
3137
+ button,
3074
3138
  card: cardLateOceanTheme,
3075
- feedbackMessage: feedbackMessageLateOceanTheme,
3139
+ feedbackMessage,
3076
3140
  forms,
3077
3141
  typography: typographyLateOceanTheme,
3078
3142
  tag: tagLateOceanTheme,
@@ -3229,24 +3293,6 @@ function TimePicker({
3229
3293
  });
3230
3294
  }
3231
3295
 
3232
- var Arrow = function (props) {
3233
- return /*#__PURE__*/jsxRuntime.jsx("svg", { ...props,
3234
- children: /*#__PURE__*/jsxRuntime.jsx("path", {
3235
- fillRule: "evenodd",
3236
- clipRule: "evenodd",
3237
- d: "M22.399 6.128C20.939 7.722 19.767 9 18 9s-2.938-1.278-4.399-2.872C11.187 3.494 7.984 0 0 0h36c-7.984 0-11.187 3.494-13.601 6.128z",
3238
- fill: "currentColor"
3239
- })
3240
- });
3241
- };
3242
-
3243
- Arrow.defaultProps = {
3244
- width: "36",
3245
- height: "8",
3246
- viewBox: "0 0 36 9",
3247
- fill: "none",
3248
- xmlns: "http://www.w3.org/2000/svg"
3249
- };
3250
3296
  const StyledTooltipView = /*#__PURE__*/styled__default.View.withConfig({
3251
3297
  displayName: "TooltipView__StyledTooltipView",
3252
3298
  componentId: "kitt-universal__sc-156zm6m-0"
@@ -3267,7 +3313,7 @@ const StyledTooltipContent = /*#__PURE__*/styled__default.View.withConfig({
3267
3313
  function ArrowView(props) {
3268
3314
  const theme = /*#__PURE__*/styled.useTheme();
3269
3315
  return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, { ...props,
3270
- children: /*#__PURE__*/jsxRuntime.jsx(Arrow, {
3316
+ children: /*#__PURE__*/jsxRuntime.jsx(kittIcons.TooltipArrowIcon, {
3271
3317
  color: theme.kitt.tooltip.backgroundColor
3272
3318
  })
3273
3319
  });