@ornikar/kitt-universal 26.3.1-late-ocean.ea9938a3219bcd82e7bbea585f5b7083975351b2.0 → 27.0.1-canary.01819bc93ab006bfbaa4e1335cd8afa2380068a0.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 (81) hide show
  1. package/CHANGELOG.md +38 -4
  2. package/dist/definitions/Actions/Actions.d.ts +1 -1
  3. package/dist/definitions/SegmentedProgressBar/SegmentedProgressBar.d.ts.map +1 -1
  4. package/dist/definitions/Tag/Tag.d.ts +2 -7
  5. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  6. package/dist/definitions/Toast/Toast.utils.d.ts +1 -1
  7. package/dist/definitions/Toast/Toast.utils.d.ts.map +1 -1
  8. package/dist/definitions/VerticalSteps/Step.d.ts.map +1 -1
  9. package/dist/definitions/forms/Radio/InnerCircle.d.ts +2 -1
  10. package/dist/definitions/forms/Radio/InnerCircle.d.ts.map +1 -1
  11. package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts +1 -1
  12. package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts.map +1 -1
  13. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  14. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +161 -362
  15. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  16. package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
  17. package/dist/definitions/themes/default.d.ts +215 -213
  18. package/dist/definitions/themes/default.d.ts.map +1 -1
  19. package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -1
  20. package/dist/definitions/themes/late-ocean/checkbox.d.ts +8 -8
  21. package/dist/definitions/themes/late-ocean/colors.d.ts +14 -16
  22. package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -1
  23. package/dist/definitions/themes/late-ocean/forms.d.ts +8 -8
  24. package/dist/definitions/themes/late-ocean/icon.d.ts +0 -8
  25. package/dist/definitions/themes/late-ocean/icon.d.ts.map +1 -1
  26. package/dist/definitions/themes/late-ocean/radio.d.ts +1 -0
  27. package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -1
  28. package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts +5 -0
  29. package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts.map +1 -1
  30. package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -2
  31. package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
  32. package/dist/definitions/themes/late-ocean/tag.d.ts +0 -4
  33. package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
  34. package/dist/definitions/themes/late-ocean/typography.d.ts +140 -70
  35. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  36. package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +79 -0
  37. package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -0
  38. package/dist/definitions/typography/Typography.d.ts +37 -957
  39. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  40. package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -1
  41. package/dist/definitions/typography/utils/getTypographyFamily.d.ts +1 -1
  42. package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
  43. package/dist/index-metro.es.android.js +718 -849
  44. package/dist/index-metro.es.android.js.map +1 -1
  45. package/dist/index-metro.es.ios.js +718 -849
  46. package/dist/index-metro.es.ios.js.map +1 -1
  47. package/dist/index-node-22.17.cjs.js +715 -846
  48. package/dist/index-node-22.17.cjs.js.map +1 -1
  49. package/dist/index-node-22.17.cjs.web.css +1 -1
  50. package/dist/index-node-22.17.cjs.web.js +712 -843
  51. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  52. package/dist/index-node-22.17.es.mjs +715 -846
  53. package/dist/index-node-22.17.es.mjs.map +1 -1
  54. package/dist/index-node-22.17.es.web.css +1 -1
  55. package/dist/index-node-22.17.es.web.mjs +712 -843
  56. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  57. package/dist/index.es.js +827 -966
  58. package/dist/index.es.js.map +1 -1
  59. package/dist/index.es.web.js +795 -934
  60. package/dist/index.es.web.js.map +1 -1
  61. package/dist/linaria-themes-metro.es.android.js +469 -532
  62. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  63. package/dist/linaria-themes-metro.es.ios.js +469 -532
  64. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  65. package/dist/linaria-themes-node-22.17.cjs.js +469 -532
  66. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  67. package/dist/linaria-themes-node-22.17.cjs.web.js +469 -532
  68. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  69. package/dist/linaria-themes-node-22.17.es.mjs +469 -532
  70. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  71. package/dist/linaria-themes-node-22.17.es.web.mjs +469 -532
  72. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  73. package/dist/linaria-themes.es.js +470 -539
  74. package/dist/linaria-themes.es.js.map +1 -1
  75. package/dist/linaria-themes.es.web.js +470 -539
  76. package/dist/linaria-themes.es.web.js.map +1 -1
  77. package/dist/styles.css +1 -1
  78. package/dist/tsbuildinfo +1 -1
  79. package/package.json +28 -28
  80. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +0 -260
  81. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +0 -1
@@ -50,117 +50,81 @@ var createColorScale = function (colorScale) {
50
50
  return colorScale;
51
51
  };
52
52
  var colorScales = {
53
- eggshell: createColorScale({
54
- 1: '#faf9f8',
55
- 2: '#f4f3ef',
56
- 3: '#F0EEE9',
57
- 4: '#dedad2',
58
- 5: '#d1cdc5',
59
- 6: '#bab8ae',
60
- 7: '#aeaba3',
61
- 8: '#9c9a92',
62
- 9: '#8e8c83',
63
- 10: '#74726a',
64
- 11: '#3e3d3a',
65
- 12: '#282826'
53
+ deepPurple: createColorScale({
54
+ 5: '#936C93',
55
+ 6: '#7A587A',
56
+ 7: '#6E4D6E',
57
+ 8: '#563B56',
58
+ 9: '#452F45'
66
59
  }),
67
- violine: createColorScale({
68
- 1: '#f8f7ff',
69
- 2: '#f2f0ff',
70
- 3: '#ebe8ff',
71
- 4: '#d5cfff',
72
- 5: '#bfb5ff',
73
- 6: '#a99cff',
74
- 7: '#9180ff',
75
- 8: '#7b66ff',
76
- 9: '#624af7',
77
- 10: '#5139e1',
78
- 11: '#3a26b5',
79
- 12: '#0a0428'
60
+ beige: createColorScale({
61
+ 1: '#F7F4EE',
62
+ 2: '#F1ECE4',
63
+ 3: '#EAE3D6',
64
+ 4: '#E5DCCA',
65
+ 5: '#DDD0B8',
66
+ 6: '#C1B59F'
80
67
  }),
81
- lavender: createColorScale({
82
- 1: '#fdf7ff',
83
- 2: '#fcf2ff',
84
- 3: '#FAEBFF',
85
- 4: '#f8e3ff',
86
- 5: '#f4d6ff',
87
- 6: '#efc2ff',
88
- 7: '#d298ff',
89
- 8: '#b97aff',
90
- 9: '#ac5ff9',
91
- 10: '#9d4ced',
92
- 11: '#6b347e',
93
- 12: '#290a34'
68
+ lightning: createColorScale({
69
+ 5: '#FFF500',
70
+ 7: '#43390A'
71
+ }),
72
+ rainbow: createColorScale({
73
+ pink: '#E4A4F9',
74
+ brick: '#951D12',
75
+ orange: '#DB6E2E',
76
+ gold: '#9A7600',
77
+ sun: '#EFD346',
78
+ 'green-pine': '#1C5D47',
79
+ 'green-grass': '#4DA00A',
80
+ 'green-apple': '#DEF985',
81
+ 'blue-electric': '#2850C4',
82
+ 'blue-sky': '#B2F0FD'
83
+ }),
84
+ grey: createColorScale({
85
+ 0: '#ffffff',
86
+ 1: '#ECECEC',
87
+ 2: '#CDCED0',
88
+ 3: '#A8A8A8',
89
+ 5: '#838383',
90
+ 7: '#505050',
91
+ 9: '#101010'
94
92
  }),
95
93
  blue: createColorScale({
96
- 1: '#f7faff',
97
- 2: '#f0f5ff',
98
- 3: '#e8f0ff',
99
- 4: '#d4e0ff',
100
- 5: '#baceff',
101
- 6: '#a1bbff',
102
- 7: '#87a9ff',
103
- 8: '#6e96ff',
104
- 9: '#5383ff',
105
- 10: '#4170eb',
106
- 11: '#0e4381',
107
- 12: '#061c36'
94
+ 1: '#E9F4FC',
95
+ 2: '#BCDFF6',
96
+ 6: '#1772AB'
108
97
  }),
109
- raspberry: createColorScale({
110
- 1: '#fff7fa',
111
- 2: '#fff0f5',
112
- 3: '#ffe8ef',
113
- 4: '#f0c7d4',
114
- 5: '#f0afc4',
115
- 6: '#f097b3',
116
- 7: '#f07fa3',
117
- 8: '#d95d84',
118
- 9: '#cf2a60',
119
- 10: '#c12558',
120
- 11: '#61192e',
121
- 12: '#29040f'
98
+ green: createColorScale({
99
+ 1: '#ECFEDD',
100
+ 2: '#DBFAC1',
101
+ 6: '#438D06'
122
102
  }),
123
- coral: createColorScale({
124
- 1: '#fff7f7',
125
- 2: '#fff0f0',
126
- 3: '#ffe8e8',
127
- 4: '#ffcfcf',
128
- 5: '#ffb5b5',
129
- 6: '#ff9c9c',
130
- 7: '#f57d7d',
131
- 8: '#eb6565',
132
- 9: '#e55050',
133
- 10: '#da3d3d',
134
- 11: '#8a2b1e',
135
- 12: '#330c07'
103
+ yellow: createColorScale({
104
+ 1: '#FDF8E7',
105
+ 2: '#FAEBB8',
106
+ 6: '#EFC11F'
136
107
  }),
137
- sun: createColorScale({
138
- 1: '#fffdf7',
139
- 2: '#fffbf0',
140
- 3: '#fff6de',
141
- 4: '#ffefc4',
142
- 5: '#ffe8ab',
143
- 6: '#ffe191',
144
- 7: '#ffda78',
145
- 8: '#ffd35e',
146
- 9: '#fdc32d',
147
- 10: '#f3a40c',
148
- 11: '#9f5600',
149
- 12: '#341c00'
108
+ red: createColorScale({
109
+ 1: '#FDE4E3',
110
+ 2: '#FAB8B8',
111
+ 6: '#F14847'
150
112
  }),
151
- green: createColorScale({
152
- 1: '#f9fff9',
153
- 2: '#e9ffeb',
154
- 3: '#d3fbd7',
155
- 4: '#bffbc5',
156
- 5: '#96f4b0',
157
- 6: '#7fefac',
158
- 7: '#21e8a3',
159
- 8: '#08d48e',
160
- 9: '#00c381',
161
- 10: '#00ac72',
162
- 11: '#0e8159',
163
- 12: '#03291c'
113
+ 'beige-alpha': createColorScale({
114
+ '25': '#C1B59F40',
115
+ '40': '#C1B59F66',
116
+ '50': '#C1B59F80'
117
+ }),
118
+ 'grey-alpha': createColorScale({
119
+ '25': '#10101040',
120
+ '35': '#10101059',
121
+ '50': '#10101080'
122
+ }),
123
+ 'white-alpha': createColorScale({
124
+ '10': '#FFFFFF1A',
125
+ '20': '#FFFFFF33',
126
+ '80': '#FFFFFFCC',
127
+ '90': '#FFFFFFE5'
164
128
  })
165
129
  };
166
130
  var transformColorScalesToTokens = function () {
@@ -176,89 +140,43 @@ var transformColorScalesToTokens = function () {
176
140
  });
177
141
  }));
178
142
  };
179
- var lateOceanColorPalette = _objectSpread(_objectSpread({}, transformColorScalesToTokens()), {}, {
180
- /** @deprecated use violine.9 instead */
181
- lateOcean: colorScales.violine[9],
182
- /** @deprecated use violine.8 instead */
183
- lateOceanLight1: colorScales.violine[8],
184
- /** @deprecated use violine.6 instead */
185
- lateOceanLight2: colorScales.violine[6],
186
- /** @deprecated use lavender.6 instead */
187
- lateOceanLight3: colorScales.lavender[6],
188
- /** @deprecated use violine.12 instead */
189
- lateOceanDark1: colorScales.violine[12],
190
- /** @deprecated use lavender.5 instead */
191
- warmEmbrace: colorScales.lavender[5],
192
- /** @deprecated use lavender.3 instead */
193
- warmEmbraceLight1: colorScales.lavender[3],
143
+ var deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorScalesToTokens()), {}, {
194
144
  white: '#FFFFFF',
195
145
  black: '#000000',
196
- /** @deprecated use black instead */
197
- black1000: '#000000',
198
- /** @deprecated use eggshell.11 instead */
199
- black800: colorScales.eggshell[11],
200
- /** @deprecated use eggshell.10 instead */
201
- black555: colorScales.eggshell[10],
202
- /** @deprecated use eggshell.7 instead */
203
- black400: colorScales.eggshell[7],
204
- /** @deprecated use eggshell.4 instead */
205
- black200: colorScales.eggshell[4],
206
- /** @deprecated use eggshell.3 instead */
207
- black100: colorScales.eggshell[3],
208
- /** @deprecated use eggshell.2 instead */
209
- black50: colorScales.eggshell[2],
210
- /** @deprecated use eggshell.1 instead */
211
- black25: colorScales.eggshell[1],
212
- /** @deprecated use green.8 instead */
213
- viride: colorScales.green[8],
214
- /** @deprecated use coral.7 instead */
215
- englishVermillon: colorScales.coral[7],
216
- /** @deprecated use sun.8 instead */
217
- goldCrayola: colorScales.sun[8],
218
- /** @deprecated use blue.8 instead */
219
- aero: colorScales.blue[8],
220
- /** @deprecated use eggshell.1 instead */
221
- seaShell: colorScales.eggshell[1],
222
- transparent: 'transparent',
223
- /** @deprecated use violine.4 instead */
224
- moonPurple: colorScales.violine[4],
225
- /** @deprecated use violine.2 instead */
226
- moonPurpleLight1: colorScales.violine[2]
146
+ transparent: 'transparent'
227
147
  });
228
148
 
229
149
  var colors = {
230
- primary: lateOceanColorPalette['violine.9'],
231
- primaryLight: lateOceanColorPalette['violine.8'],
232
- accent: lateOceanColorPalette['lavender.5'],
233
- accentLight: lateOceanColorPalette['lavender.3'],
234
- success: lateOceanColorPalette['green.8'],
235
- correct: lateOceanColorPalette['green.8'],
236
- danger: lateOceanColorPalette['coral.8'],
237
- info: lateOceanColorPalette['blue.8'],
238
- warning: lateOceanColorPalette['sun.8'],
239
- separator: lateOceanColorPalette['eggshell.3'],
240
- hover: lateOceanColorPalette['eggshell.3'],
241
- white: lateOceanColorPalette.white,
242
- black: lateOceanColorPalette.black,
243
- blackDisabled: lateOceanColorPalette['eggshell.7'],
244
- blackLight: lateOceanColorPalette['eggshell.10'],
245
- blackAnthracite: lateOceanColorPalette['eggshell.11'],
246
- uiBackground: lateOceanColorPalette['eggshell.1'],
247
- uiBackgroundLight: lateOceanColorPalette.white,
248
- transparent: lateOceanColorPalette.transparent,
249
- disabled: lateOceanColorPalette['eggshell.2'],
150
+ primary: deepPurpleColorPalette['deepPurple.8'],
151
+ primaryLight: deepPurpleColorPalette['deepPurple.8'],
152
+ accent: deepPurpleColorPalette['beige.1'],
153
+ accentLight: deepPurpleColorPalette['beige.1'],
154
+ success: deepPurpleColorPalette['green.6'],
155
+ correct: deepPurpleColorPalette['green.6'],
156
+ danger: deepPurpleColorPalette['red.6'],
157
+ info: deepPurpleColorPalette['blue.6'],
158
+ warning: deepPurpleColorPalette['yellow.6'],
159
+ separator: deepPurpleColorPalette['beige.3'],
160
+ white: deepPurpleColorPalette['grey.0'],
161
+ black: deepPurpleColorPalette['grey.9'],
162
+ blackLight: deepPurpleColorPalette['grey.5'],
163
+ blackAnthracite: deepPurpleColorPalette['grey.7'],
164
+ uiBackground: deepPurpleColorPalette['beige.1'],
165
+ uiBackgroundLight: deepPurpleColorPalette['grey.0'],
166
+ transparent: deepPurpleColorPalette.transparent,
167
+ disabled: deepPurpleColorPalette['grey.1'],
250
168
  overlay: {
251
- dark: 'rgba(41, 48, 51, 0.25)',
252
- light: 'rgba(255, 255, 255, 0.90)'
169
+ dark: deepPurpleColorPalette['grey-alpha.50'],
170
+ light: deepPurpleColorPalette['white-alpha.80']
253
171
  }
254
172
  };
255
173
 
256
174
  var actionCard = {
257
- borderRadius: 20,
175
+ borderRadius: 8,
258
176
  primary: {
259
177
  "default": {
260
178
  backgroundColor: colors.uiBackgroundLight,
261
- borderColor: lateOceanColorPalette['eggshell.3'],
179
+ borderColor: deepPurpleColorPalette['beige.2'],
262
180
  borderWidth: 1,
263
181
  shadow: {
264
182
  color: '',
@@ -270,8 +188,8 @@ var actionCard = {
270
188
  translateY: 0
271
189
  },
272
190
  hovered: {
273
- backgroundColor: lateOceanColorPalette['eggshell.2'],
274
- borderColor: lateOceanColorPalette['eggshell.3'],
191
+ backgroundColor: deepPurpleColorPalette['beige.1'],
192
+ borderColor: deepPurpleColorPalette['beige.2'],
275
193
  borderWidth: 1,
276
194
  shadow: {
277
195
  color: '',
@@ -283,8 +201,8 @@ var actionCard = {
283
201
  translateY: 0
284
202
  },
285
203
  disabled: {
286
- backgroundColor: lateOceanColorPalette['eggshell.2'],
287
- borderColor: lateOceanColorPalette['eggshell.3'],
204
+ backgroundColor: deepPurpleColorPalette['grey.1'],
205
+ borderColor: deepPurpleColorPalette['grey.1'],
288
206
  borderWidth: 1,
289
207
  shadow: {
290
208
  color: '',
@@ -296,8 +214,8 @@ var actionCard = {
296
214
  translateY: 0
297
215
  },
298
216
  focused: {
299
- backgroundColor: lateOceanColorPalette['eggshell.2'],
300
- borderColor: lateOceanColorPalette['eggshell.3'],
217
+ backgroundColor: deepPurpleColorPalette['beige.1'],
218
+ borderColor: deepPurpleColorPalette['beige.2'],
301
219
  borderWidth: 1,
302
220
  shadow: {
303
221
  color: '',
@@ -309,8 +227,8 @@ var actionCard = {
309
227
  translateY: 0
310
228
  },
311
229
  pressed: {
312
- backgroundColor: lateOceanColorPalette['eggshell.2'],
313
- borderColor: lateOceanColorPalette['eggshell.3'],
230
+ backgroundColor: deepPurpleColorPalette['beige.1'],
231
+ borderColor: deepPurpleColorPalette['beige.2'],
314
232
  borderWidth: 1,
315
233
  shadow: {
316
234
  color: '',
@@ -325,10 +243,10 @@ var actionCard = {
325
243
  'primary-border-soft': {
326
244
  "default": {
327
245
  backgroundColor: colors.uiBackgroundLight,
328
- borderColor: lateOceanColorPalette['violine.4'],
246
+ borderColor: deepPurpleColorPalette['beige.3'],
329
247
  borderWidth: 1,
330
248
  shadow: {
331
- color: lateOceanColorPalette['violine.4'],
249
+ color: deepPurpleColorPalette['beige.3'],
332
250
  offsetX: 0,
333
251
  offsetY: 4,
334
252
  opacity: 1,
@@ -337,11 +255,11 @@ var actionCard = {
337
255
  translateY: 0
338
256
  },
339
257
  hovered: {
340
- backgroundColor: lateOceanColorPalette['eggshell.2'],
341
- borderColor: lateOceanColorPalette['violine.4'],
258
+ backgroundColor: deepPurpleColorPalette['beige.1'],
259
+ borderColor: deepPurpleColorPalette['beige.3'],
342
260
  borderWidth: 1,
343
261
  shadow: {
344
- color: lateOceanColorPalette['violine.4'],
262
+ color: deepPurpleColorPalette['beige.3'],
345
263
  offsetX: 0,
346
264
  offsetY: 4,
347
265
  opacity: 1,
@@ -350,8 +268,8 @@ var actionCard = {
350
268
  translateY: 0
351
269
  },
352
270
  disabled: {
353
- backgroundColor: lateOceanColorPalette['eggshell.2'],
354
- borderColor: lateOceanColorPalette['eggshell.3'],
271
+ backgroundColor: deepPurpleColorPalette['grey.1'],
272
+ borderColor: deepPurpleColorPalette['grey.1'],
355
273
  borderWidth: 1,
356
274
  shadow: {
357
275
  color: '',
@@ -363,11 +281,11 @@ var actionCard = {
363
281
  translateY: 0
364
282
  },
365
283
  focused: {
366
- backgroundColor: lateOceanColorPalette['eggshell.2'],
367
- borderColor: lateOceanColorPalette['violine.4'],
284
+ backgroundColor: deepPurpleColorPalette['beige.1'],
285
+ borderColor: deepPurpleColorPalette['beige.3'],
368
286
  borderWidth: 1,
369
287
  shadow: {
370
- color: lateOceanColorPalette['violine.4'],
288
+ color: deepPurpleColorPalette['beige.3'],
371
289
  offsetX: 0,
372
290
  offsetY: 4,
373
291
  opacity: 1,
@@ -376,8 +294,8 @@ var actionCard = {
376
294
  translateY: 0
377
295
  },
378
296
  pressed: {
379
- backgroundColor: lateOceanColorPalette['eggshell.2'],
380
- borderColor: lateOceanColorPalette['violine.4'],
297
+ backgroundColor: deepPurpleColorPalette['beige.1'],
298
+ borderColor: deepPurpleColorPalette['beige.3'],
381
299
  borderWidth: 1,
382
300
  shadow: {
383
301
  color: '',
@@ -392,10 +310,10 @@ var actionCard = {
392
310
  'primary-border-hard': {
393
311
  "default": {
394
312
  backgroundColor: colors.uiBackgroundLight,
395
- borderColor: lateOceanColorPalette['violine.9'],
313
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
396
314
  borderWidth: 1,
397
315
  shadow: {
398
- color: lateOceanColorPalette['violine.9'],
316
+ color: deepPurpleColorPalette['deepPurple.8'],
399
317
  offsetX: 0,
400
318
  offsetY: 4,
401
319
  opacity: 1,
@@ -404,11 +322,11 @@ var actionCard = {
404
322
  translateY: 0
405
323
  },
406
324
  hovered: {
407
- backgroundColor: lateOceanColorPalette['eggshell.2'],
408
- borderColor: lateOceanColorPalette['violine.9'],
325
+ backgroundColor: deepPurpleColorPalette['beige.1'],
326
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
409
327
  borderWidth: 1,
410
328
  shadow: {
411
- color: lateOceanColorPalette['violine.9'],
329
+ color: deepPurpleColorPalette['deepPurple.8'],
412
330
  offsetX: 0,
413
331
  offsetY: 4,
414
332
  opacity: 1,
@@ -417,8 +335,8 @@ var actionCard = {
417
335
  translateY: 0
418
336
  },
419
337
  disabled: {
420
- backgroundColor: lateOceanColorPalette['eggshell.2'],
421
- borderColor: lateOceanColorPalette['eggshell.3'],
338
+ backgroundColor: deepPurpleColorPalette['grey.1'],
339
+ borderColor: deepPurpleColorPalette['grey.1'],
422
340
  borderWidth: 1,
423
341
  shadow: {
424
342
  color: '',
@@ -430,11 +348,11 @@ var actionCard = {
430
348
  translateY: 0
431
349
  },
432
350
  focused: {
433
- backgroundColor: lateOceanColorPalette['eggshell.2'],
434
- borderColor: lateOceanColorPalette['violine.9'],
351
+ backgroundColor: deepPurpleColorPalette['beige.1'],
352
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
435
353
  borderWidth: 1,
436
354
  shadow: {
437
- color: lateOceanColorPalette['violine.9'],
355
+ color: deepPurpleColorPalette['deepPurple.8'],
438
356
  offsetX: 0,
439
357
  offsetY: 4,
440
358
  opacity: 1,
@@ -443,8 +361,8 @@ var actionCard = {
443
361
  translateY: 0
444
362
  },
445
363
  pressed: {
446
- backgroundColor: lateOceanColorPalette['eggshell.2'],
447
- borderColor: lateOceanColorPalette['violine.9'],
364
+ backgroundColor: deepPurpleColorPalette['beige.1'],
365
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
448
366
  borderWidth: 1,
449
367
  shadow: {
450
368
  color: '',
@@ -458,8 +376,8 @@ var actionCard = {
458
376
  },
459
377
  secondary: {
460
378
  "default": {
461
- backgroundColor: lateOceanColorPalette['eggshell.2'],
462
- borderColor: lateOceanColorPalette.transparent,
379
+ backgroundColor: deepPurpleColorPalette['beige.1'],
380
+ borderColor: deepPurpleColorPalette.transparent,
463
381
  borderWidth: 0,
464
382
  shadow: {
465
383
  color: '',
@@ -471,8 +389,8 @@ var actionCard = {
471
389
  translateY: 0
472
390
  },
473
391
  disabled: {
474
- backgroundColor: lateOceanColorPalette['eggshell.2'],
475
- borderColor: lateOceanColorPalette['eggshell.3'],
392
+ backgroundColor: deepPurpleColorPalette['grey.1'],
393
+ borderColor: deepPurpleColorPalette['grey.1'],
476
394
  borderWidth: 1,
477
395
  shadow: {
478
396
  color: '',
@@ -484,8 +402,8 @@ var actionCard = {
484
402
  translateY: 0
485
403
  },
486
404
  hovered: {
487
- backgroundColor: lateOceanColorPalette['eggshell.3'],
488
- borderColor: lateOceanColorPalette.transparent,
405
+ backgroundColor: deepPurpleColorPalette['beige.2'],
406
+ borderColor: deepPurpleColorPalette.transparent,
489
407
  borderWidth: 0,
490
408
  shadow: {
491
409
  color: '',
@@ -497,8 +415,8 @@ var actionCard = {
497
415
  translateY: 0
498
416
  },
499
417
  focused: {
500
- backgroundColor: lateOceanColorPalette['eggshell.3'],
501
- borderColor: lateOceanColorPalette.transparent,
418
+ backgroundColor: deepPurpleColorPalette['beige.2'],
419
+ borderColor: deepPurpleColorPalette.transparent,
502
420
  borderWidth: 0,
503
421
  shadow: {
504
422
  color: '',
@@ -510,8 +428,8 @@ var actionCard = {
510
428
  translateY: 0
511
429
  },
512
430
  pressed: {
513
- backgroundColor: lateOceanColorPalette['eggshell.3'],
514
- borderColor: lateOceanColorPalette.transparent,
431
+ backgroundColor: deepPurpleColorPalette['beige.2'],
432
+ borderColor: deepPurpleColorPalette.transparent,
515
433
  borderWidth: 0,
516
434
  shadow: {
517
435
  color: '',
@@ -525,11 +443,11 @@ var actionCard = {
525
443
  },
526
444
  highlight: {
527
445
  "default": {
528
- backgroundColor: lateOceanColorPalette['violine.2'],
529
- borderColor: lateOceanColorPalette['violine.4'],
446
+ backgroundColor: deepPurpleColorPalette['beige.1'],
447
+ borderColor: deepPurpleColorPalette['beige.3'],
530
448
  borderWidth: 1,
531
449
  shadow: {
532
- color: lateOceanColorPalette['violine.4'],
450
+ color: deepPurpleColorPalette['beige.3'],
533
451
  offsetX: 0,
534
452
  offsetY: 4,
535
453
  opacity: 1,
@@ -538,8 +456,8 @@ var actionCard = {
538
456
  translateY: 0
539
457
  },
540
458
  disabled: {
541
- backgroundColor: lateOceanColorPalette['eggshell.2'],
542
- borderColor: lateOceanColorPalette['eggshell.3'],
459
+ backgroundColor: deepPurpleColorPalette['grey.1'],
460
+ borderColor: deepPurpleColorPalette['grey.1'],
543
461
  borderWidth: 1,
544
462
  shadow: {
545
463
  color: '',
@@ -551,11 +469,11 @@ var actionCard = {
551
469
  translateY: 0
552
470
  },
553
471
  hovered: {
554
- backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),
555
- borderColor: lateOceanColorPalette['violine.4'],
472
+ backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
473
+ borderColor: deepPurpleColorPalette['beige.3'],
556
474
  borderWidth: 1,
557
475
  shadow: {
558
- color: lateOceanColorPalette['violine.4'],
476
+ color: deepPurpleColorPalette['beige.3'],
559
477
  offsetX: 0,
560
478
  offsetY: 4,
561
479
  opacity: 1,
@@ -564,11 +482,11 @@ var actionCard = {
564
482
  translateY: 0
565
483
  },
566
484
  focused: {
567
- backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),
568
- borderColor: lateOceanColorPalette['violine.4'],
485
+ backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
486
+ borderColor: deepPurpleColorPalette['beige.3'],
569
487
  borderWidth: 1,
570
488
  shadow: {
571
- color: lateOceanColorPalette['violine.4'],
489
+ color: deepPurpleColorPalette['beige.3'],
572
490
  offsetX: 0,
573
491
  offsetY: 4,
574
492
  opacity: 1,
@@ -577,8 +495,8 @@ var actionCard = {
577
495
  translateY: 0
578
496
  },
579
497
  pressed: {
580
- backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),
581
- borderColor: lateOceanColorPalette['violine.4'],
498
+ backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
499
+ borderColor: deepPurpleColorPalette['beige.3'],
582
500
  borderWidth: 1,
583
501
  shadow: {
584
502
  color: '',
@@ -596,42 +514,28 @@ var defaultAvatarSize = 40;
596
514
  var defaultAvatarIconSize = 20;
597
515
  var largeAvatarSize = 120;
598
516
  var largeAvatarIconSize = 30;
599
-
600
- // export interface AvatarThemeBackgroundColorVariant {
601
- // default: string;
602
- // light: string;
603
- // dark: string;
604
- // disabled: string;
605
- // }
606
-
607
- // export interface AvatarThemeColorVariant {
608
- // default: string;
609
- // light: string;
610
- // disabled: string;
611
- // }
612
-
613
517
  var avatar = {
614
- borderRadius: 10,
518
+ borderRadius: 4,
615
519
  size: defaultAvatarSize,
616
520
  iconSize: defaultAvatarIconSize,
617
521
  "default": {
618
- color: lateOceanColorPalette.white,
619
- backgroundColor: colors.primary
522
+ color: deepPurpleColorPalette['white-alpha.80'],
523
+ backgroundColor: deepPurpleColorPalette['deepPurple.8']
620
524
  },
621
525
  light: {
622
- color: lateOceanColorPalette.black,
623
- backgroundColor: lateOceanColorPalette['eggshell.3']
526
+ color: deepPurpleColorPalette['beige.6'],
527
+ backgroundColor: deepPurpleColorPalette['beige.1']
624
528
  },
625
529
  dark: {
626
- color: lateOceanColorPalette.white,
627
- backgroundColor: lateOceanColorPalette['eggshell.12']
530
+ color: deepPurpleColorPalette['white-alpha.80'],
531
+ backgroundColor: deepPurpleColorPalette['grey.9']
628
532
  },
629
533
  disabled: {
630
- color: lateOceanColorPalette['eggshell.5'],
631
- backgroundColor: lateOceanColorPalette['eggshell.3']
534
+ color: deepPurpleColorPalette['grey.3'],
535
+ backgroundColor: deepPurpleColorPalette['grey.1']
632
536
  },
633
537
  large: {
634
- borderRadius: 30,
538
+ borderRadius: 8,
635
539
  size: largeAvatarSize,
636
540
  iconSize: largeAvatarIconSize
637
541
  }
@@ -644,7 +548,7 @@ var bottomSheet = {
644
548
  padding: spacing * 4
645
549
  },
646
550
  handle: {
647
- backgroundColor: lateOceanColorPalette.black200
551
+ backgroundColor: deepPurpleColorPalette['beige.3']
648
552
  }
649
553
  };
650
554
 
@@ -712,9 +616,9 @@ var button = {
712
616
  pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',
713
617
  hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',
714
618
  focusBorderColor: 'rgba(255, 255, 255, 0.4)',
715
- color: lateOceanColorPalette.white,
716
- hoverColor: lateOceanColorPalette.white,
717
- activeColor: lateOceanColorPalette.white
619
+ color: deepPurpleColorPalette.white,
620
+ hoverColor: deepPurpleColorPalette.white,
621
+ activeColor: deepPurpleColorPalette.white
718
622
  }
719
623
  },
720
624
  primary: {
@@ -727,11 +631,11 @@ var button = {
727
631
  ghost: {
728
632
  backgroundColor: colors.uiBackgroundLight,
729
633
  pressedBackgroundColor: colors.uiBackground,
730
- hoverBackgroundColor: colors.hover,
634
+ hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
731
635
  focusBorderColor: 'rgba(255,255,255, 0.4)',
732
636
  color: colors.primary,
733
- hoverColor: colors.hover,
734
- activeColor: colors.hover
637
+ hoverColor: deepPurpleColorPalette['beige.2'],
638
+ activeColor: deepPurpleColorPalette['beige.2']
735
639
  }
736
640
  },
737
641
  dark: {
@@ -744,19 +648,19 @@ var button = {
744
648
  },
745
649
  danger: {
746
650
  "default": {
747
- backgroundColor: lateOceanColorPalette['coral.3'],
748
- pressedBackgroundColor: lateOceanColorPalette['coral.4'],
749
- hoverBackgroundColor: lateOceanColorPalette['coral.4'],
750
- focusBorderColor: lateOceanColorPalette['coral.4']
651
+ backgroundColor: deepPurpleColorPalette['red.1'],
652
+ pressedBackgroundColor: deepPurpleColorPalette['red.2'],
653
+ hoverBackgroundColor: deepPurpleColorPalette['red.2'],
654
+ focusBorderColor: deepPurpleColorPalette['red.2']
751
655
  },
752
656
  ghost: {
753
657
  backgroundColor: colors.uiBackgroundLight,
754
658
  pressedBackgroundColor: colors.uiBackground,
755
- hoverBackgroundColor: colors.hover,
659
+ hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
756
660
  focusBorderColor: 'rgba(255, 255, 255, 0.4)',
757
- color: lateOceanColorPalette['coral.9'],
758
- hoverColor: lateOceanColorPalette['coral.9'],
759
- activeColor: lateOceanColorPalette['coral.9']
661
+ color: deepPurpleColorPalette['red.6'],
662
+ hoverColor: deepPurpleColorPalette['red.6'],
663
+ activeColor: deepPurpleColorPalette['red.6']
760
664
  }
761
665
  },
762
666
  subtle: {
@@ -797,14 +701,14 @@ var button = {
797
701
  backgroundColor: colors.disabled,
798
702
  pressedBackgroundColor: colors.disabled,
799
703
  hoverBackgroundColor: colors.disabled,
800
- focusBorderColor: lateOceanColorPalette.black100,
801
- borderColor: lateOceanColorPalette.black100
704
+ focusBorderColor: deepPurpleColorPalette['beige.2'],
705
+ borderColor: deepPurpleColorPalette['beige.2']
802
706
  }
803
707
  }
804
708
  };
805
709
 
806
710
  var buttonBadge = {
807
- backgroundColor: lateOceanColorPalette['coral.10'],
711
+ backgroundColor: deepPurpleColorPalette['red.6'],
808
712
  dimensions: {
809
713
  withBadge: {
810
714
  width: 10,
@@ -833,7 +737,7 @@ var card = {
833
737
  borderColor: colors.separator
834
738
  },
835
739
  subtle: {
836
- backgroundColor: lateOceanColorPalette.black50,
740
+ backgroundColor: deepPurpleColorPalette['beige.1'],
837
741
  borderColor: colors.separator
838
742
  }
839
743
  };
@@ -893,17 +797,17 @@ var choices = {
893
797
  small: 24
894
798
  },
895
799
  backgroundColor: {
896
- "default": lateOceanColorPalette.black50,
800
+ "default": deepPurpleColorPalette['beige.1'],
897
801
  disabled: colors.disabled,
898
802
  selected: colors.primary,
899
- pressed: lateOceanColorPalette.lateOceanLight1,
900
- hover: lateOceanColorPalette.black100,
901
- hoverWhenSelected: lateOceanColorPalette.lateOceanLight1
803
+ pressed: deepPurpleColorPalette['deepPurple.7'],
804
+ hover: deepPurpleColorPalette['beige.2'],
805
+ hoverWhenSelected: deepPurpleColorPalette['deepPurple.7']
902
806
  },
903
807
  disabled: {
904
808
  border: {
905
809
  width: 2,
906
- color: lateOceanColorPalette.black100
810
+ color: deepPurpleColorPalette['beige.2']
907
811
  }
908
812
  },
909
813
  transition: {
@@ -968,19 +872,19 @@ var autocomplete = {
968
872
  backgroundColor: colors.white
969
873
  },
970
874
  hovered: {
971
- backgroundColor: lateOceanColorPalette.black50
875
+ backgroundColor: deepPurpleColorPalette['beige.1']
972
876
  },
973
877
  focused: {
974
- backgroundColor: lateOceanColorPalette.black50
878
+ backgroundColor: deepPurpleColorPalette['beige.1']
975
879
  },
976
880
  selected: {
977
- backgroundColor: lateOceanColorPalette.black50
881
+ backgroundColor: deepPurpleColorPalette['beige.1']
978
882
  },
979
883
  highlighted: {
980
- backgroundColor: lateOceanColorPalette.black50
884
+ backgroundColor: deepPurpleColorPalette['beige.1']
981
885
  },
982
886
  pressed: {
983
- backgroundColor: lateOceanColorPalette.black100
887
+ backgroundColor: deepPurpleColorPalette['beige.1']
984
888
  }
985
889
  },
986
890
  optionsContainer: {
@@ -1048,37 +952,37 @@ var datePicker = {
1048
952
 
1049
953
  var inputStatesStyle = {
1050
954
  "default": {
1051
- backgroundColor: lateOceanColorPalette.white,
1052
- borderColor: lateOceanColorPalette['eggshell.4'],
1053
- color: lateOceanColorPalette.black
955
+ backgroundColor: deepPurpleColorPalette.white,
956
+ borderColor: deepPurpleColorPalette['beige.3'],
957
+ color: deepPurpleColorPalette.black
1054
958
  },
1055
959
  pending: {
1056
- backgroundColor: lateOceanColorPalette.white,
1057
- borderColor: lateOceanColorPalette['eggshell.3'],
1058
- color: lateOceanColorPalette.black
960
+ backgroundColor: deepPurpleColorPalette.white,
961
+ borderColor: deepPurpleColorPalette['beige.2'],
962
+ color: deepPurpleColorPalette.black
1059
963
  },
1060
964
  valid: {
1061
- backgroundColor: lateOceanColorPalette.white,
1062
- borderColor: lateOceanColorPalette['eggshell.4'],
1063
- color: lateOceanColorPalette.black
965
+ backgroundColor: deepPurpleColorPalette.white,
966
+ borderColor: deepPurpleColorPalette['beige.3'],
967
+ color: deepPurpleColorPalette.black
1064
968
  },
1065
969
  hover: {
1066
- backgroundColor: lateOceanColorPalette['eggshell.1'],
1067
- borderColor: lateOceanColorPalette['eggshell.5'],
1068
- color: lateOceanColorPalette.black
970
+ backgroundColor: deepPurpleColorPalette['beige.1'],
971
+ borderColor: deepPurpleColorPalette['beige.4'],
972
+ color: deepPurpleColorPalette.black
1069
973
  },
1070
974
  focus: {
1071
- borderColor: lateOceanColorPalette['violine.9'],
1072
- color: lateOceanColorPalette.black
975
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
976
+ color: deepPurpleColorPalette.black
1073
977
  },
1074
978
  disabled: {
1075
- backgroundColor: lateOceanColorPalette['eggshell.2'],
1076
- borderColor: lateOceanColorPalette['eggshell.4'],
1077
- color: lateOceanColorPalette['eggshell.6']
979
+ backgroundColor: deepPurpleColorPalette['grey.1'],
980
+ borderColor: deepPurpleColorPalette['grey.1'],
981
+ color: deepPurpleColorPalette['grey.3']
1078
982
  },
1079
983
  invalid: {
1080
- borderColor: lateOceanColorPalette['eggshell.3'],
1081
- color: lateOceanColorPalette.black
984
+ borderColor: deepPurpleColorPalette['beige.2'],
985
+ color: deepPurpleColorPalette.black
1082
986
  }
1083
987
  };
1084
988
  var webAnimationDuration = '200ms';
@@ -1087,11 +991,11 @@ var webAnimationProperties = ['border-color', 'background-color'];
1087
991
  var input = {
1088
992
  minHeight: 40,
1089
993
  color: {
1090
- selection: lateOceanColorPalette['violine.9'],
1091
- placeholder: lateOceanColorPalette['eggshell.9']
994
+ selection: deepPurpleColorPalette['deepPurple.8'],
995
+ placeholder: deepPurpleColorPalette['beige.6']
1092
996
  },
1093
997
  borderWidth: 1,
1094
- borderRadius: 8,
998
+ borderRadius: 4,
1095
999
  icon: {
1096
1000
  size: 20
1097
1001
  },
@@ -1128,7 +1032,7 @@ var inputTag = {
1128
1032
  labelColor: colors.uiBackgroundLight
1129
1033
  },
1130
1034
  "default": {
1131
- backgroundColor: lateOceanColorPalette.black50,
1035
+ backgroundColor: deepPurpleColorPalette['beige.1'],
1132
1036
  labelColor: colors.black
1133
1037
  },
1134
1038
  borderRadius: 10,
@@ -1138,9 +1042,9 @@ var inputTag = {
1138
1042
  var radio = {
1139
1043
  size: 24,
1140
1044
  unchecked: {
1141
- borderWidth: 2,
1045
+ borderWidth: 1,
1142
1046
  backgroundColor: colors.uiBackgroundLight,
1143
- borderColor: lateOceanColorPalette.black200
1047
+ borderColor: deepPurpleColorPalette['beige.3']
1144
1048
  },
1145
1049
  checked: {
1146
1050
  backgroundColor: colors.primary,
@@ -1157,8 +1061,9 @@ var radio = {
1157
1061
  borderColor: colors.primary
1158
1062
  },
1159
1063
  disabled: {
1160
- backgroundColor: colors.disabled,
1161
- borderColor: colors.separator
1064
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1065
+ borderColor: colors.transparent,
1066
+ innerBackgroundColor: deepPurpleColorPalette['grey.1']
1162
1067
  },
1163
1068
  transition: {
1164
1069
  duration: '200ms',
@@ -1169,14 +1074,19 @@ var radio = {
1169
1074
  var radioButtonGroup = {
1170
1075
  item: {
1171
1076
  minHeight: 40,
1172
- borderWidth: 2,
1173
- borderRadius: 20,
1077
+ borderWidth: 1,
1078
+ borderRadius: 4,
1079
+ font: {
1080
+ color: {
1081
+ disabled: deepPurpleColorPalette['grey.3']
1082
+ }
1083
+ },
1174
1084
  borderColor: {
1175
1085
  "default": colors.separator,
1176
1086
  hover: colors.primary,
1177
1087
  pressed: colors.primary,
1178
1088
  active: colors.primary,
1179
- disabled: colors.separator
1089
+ disabled: colors.disabled
1180
1090
  },
1181
1091
  backgroundColor: {
1182
1092
  "default": colors.uiBackgroundLight,
@@ -1217,17 +1127,17 @@ var toggle = {
1217
1127
  medium: 50,
1218
1128
  large: 66
1219
1129
  },
1220
- labelColor: lateOceanColorPalette.black,
1130
+ labelColor: deepPurpleColorPalette.black,
1221
1131
  backgroundColor: {
1222
- checked: lateOceanColorPalette['violine.9'],
1223
- unchecked: lateOceanColorPalette['eggshell.4']
1132
+ checked: deepPurpleColorPalette['deepPurple.8'],
1133
+ unchecked: deepPurpleColorPalette['beige.3']
1224
1134
  },
1225
1135
  border: {
1226
1136
  color: 'transparent',
1227
1137
  width: 1
1228
1138
  },
1229
1139
  circle: {
1230
- backgroundColor: lateOceanColorPalette.white,
1140
+ backgroundColor: deepPurpleColorPalette.white,
1231
1141
  width: {
1232
1142
  medium: 18,
1233
1143
  large: 24
@@ -1255,17 +1165,17 @@ var toggle = {
1255
1165
  medium: 50,
1256
1166
  large: 66
1257
1167
  },
1258
- labelColor: lateOceanColorPalette.black,
1168
+ labelColor: deepPurpleColorPalette.black,
1259
1169
  backgroundColor: {
1260
- checked: lateOceanColorPalette['violine.8'],
1261
- unchecked: lateOceanColorPalette['eggshell.7']
1170
+ checked: deepPurpleColorPalette['deepPurple.7'],
1171
+ unchecked: deepPurpleColorPalette['beige.4']
1262
1172
  },
1263
1173
  border: {
1264
1174
  color: 'transparent',
1265
1175
  width: 1
1266
1176
  },
1267
1177
  circle: {
1268
- backgroundColor: lateOceanColorPalette.white,
1178
+ backgroundColor: deepPurpleColorPalette.white,
1269
1179
  width: {
1270
1180
  medium: 18,
1271
1181
  large: 24
@@ -1293,17 +1203,17 @@ var toggle = {
1293
1203
  medium: 50,
1294
1204
  large: 66
1295
1205
  },
1296
- labelColor: lateOceanColorPalette.black,
1206
+ labelColor: deepPurpleColorPalette.black,
1297
1207
  backgroundColor: {
1298
- checked: lateOceanColorPalette['violine.9'],
1299
- unchecked: lateOceanColorPalette['eggshell.4']
1208
+ checked: deepPurpleColorPalette['deepPurple.8'],
1209
+ unchecked: deepPurpleColorPalette['beige.3']
1300
1210
  },
1301
1211
  border: {
1302
- color: lateOceanColorPalette.white,
1212
+ color: deepPurpleColorPalette.white,
1303
1213
  width: 1
1304
1214
  },
1305
1215
  circle: {
1306
- backgroundColor: lateOceanColorPalette.white,
1216
+ backgroundColor: deepPurpleColorPalette.white,
1307
1217
  width: {
1308
1218
  medium: 18,
1309
1219
  large: 24
@@ -1318,7 +1228,7 @@ var toggle = {
1318
1228
  }
1319
1229
  },
1320
1230
  wrapperBorder: {
1321
- color: lateOceanColorPalette.black,
1231
+ color: deepPurpleColorPalette.black,
1322
1232
  width: 1
1323
1233
  }
1324
1234
  },
@@ -1331,17 +1241,17 @@ var toggle = {
1331
1241
  medium: 50,
1332
1242
  large: 66
1333
1243
  },
1334
- labelColor: lateOceanColorPalette.black,
1244
+ labelColor: deepPurpleColorPalette.black,
1335
1245
  backgroundColor: {
1336
- checked: lateOceanColorPalette['violine.9'],
1337
- unchecked: lateOceanColorPalette['eggshell.4']
1246
+ checked: deepPurpleColorPalette['deepPurple.8'],
1247
+ unchecked: deepPurpleColorPalette['beige.3']
1338
1248
  },
1339
1249
  border: {
1340
- color: lateOceanColorPalette.white,
1250
+ color: deepPurpleColorPalette.white,
1341
1251
  width: 1
1342
1252
  },
1343
1253
  circle: {
1344
- backgroundColor: lateOceanColorPalette.white,
1254
+ backgroundColor: deepPurpleColorPalette.white,
1345
1255
  width: {
1346
1256
  medium: 18,
1347
1257
  large: 24
@@ -1356,7 +1266,7 @@ var toggle = {
1356
1266
  }
1357
1267
  },
1358
1268
  wrapperBorder: {
1359
- color: lateOceanColorPalette.black,
1269
+ color: deepPurpleColorPalette.black,
1360
1270
  width: 1
1361
1271
  }
1362
1272
  }
@@ -1371,17 +1281,17 @@ var toggle = {
1371
1281
  medium: 50,
1372
1282
  large: 66
1373
1283
  },
1374
- labelColor: lateOceanColorPalette['eggshell.3'],
1284
+ labelColor: deepPurpleColorPalette['beige.2'],
1375
1285
  backgroundColor: {
1376
- checked: lateOceanColorPalette['eggshell.3'],
1377
- unchecked: lateOceanColorPalette['eggshell.3']
1286
+ checked: deepPurpleColorPalette['grey.1'],
1287
+ unchecked: deepPurpleColorPalette['grey.1']
1378
1288
  },
1379
1289
  border: {
1380
1290
  color: 'transparent',
1381
1291
  width: 1
1382
1292
  },
1383
1293
  circle: {
1384
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1294
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1385
1295
  width: {
1386
1296
  medium: 18,
1387
1297
  large: 24
@@ -1409,17 +1319,17 @@ var toggle = {
1409
1319
  medium: 50,
1410
1320
  large: 66
1411
1321
  },
1412
- labelColor: lateOceanColorPalette['eggshell.3'],
1322
+ labelColor: deepPurpleColorPalette['beige.2'],
1413
1323
  backgroundColor: {
1414
- checked: lateOceanColorPalette['eggshell.3'],
1415
- unchecked: lateOceanColorPalette['eggshell.3']
1324
+ checked: deepPurpleColorPalette['grey.1'],
1325
+ unchecked: deepPurpleColorPalette['grey.1']
1416
1326
  },
1417
1327
  border: {
1418
1328
  color: 'transparent',
1419
1329
  width: 1
1420
1330
  },
1421
1331
  circle: {
1422
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1332
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1423
1333
  width: {
1424
1334
  medium: 18,
1425
1335
  large: 24
@@ -1447,17 +1357,17 @@ var toggle = {
1447
1357
  medium: 50,
1448
1358
  large: 66
1449
1359
  },
1450
- labelColor: lateOceanColorPalette['eggshell.3'],
1360
+ labelColor: deepPurpleColorPalette['beige.2'],
1451
1361
  backgroundColor: {
1452
- checked: lateOceanColorPalette['eggshell.3'],
1453
- unchecked: lateOceanColorPalette['eggshell.3']
1362
+ checked: deepPurpleColorPalette['grey.1'],
1363
+ unchecked: deepPurpleColorPalette['grey.1']
1454
1364
  },
1455
1365
  border: {
1456
1366
  color: 'transparent',
1457
1367
  width: 1
1458
1368
  },
1459
1369
  circle: {
1460
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1370
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1461
1371
  width: {
1462
1372
  medium: 18,
1463
1373
  large: 24
@@ -1472,7 +1382,7 @@ var toggle = {
1472
1382
  }
1473
1383
  },
1474
1384
  wrapperBorder: {
1475
- color: lateOceanColorPalette.black,
1385
+ color: deepPurpleColorPalette.black,
1476
1386
  width: 1
1477
1387
  }
1478
1388
  },
@@ -1485,17 +1395,17 @@ var toggle = {
1485
1395
  medium: 50,
1486
1396
  large: 66
1487
1397
  },
1488
- labelColor: lateOceanColorPalette['eggshell.3'],
1398
+ labelColor: deepPurpleColorPalette['beige.2'],
1489
1399
  backgroundColor: {
1490
- checked: lateOceanColorPalette['eggshell.3'],
1491
- unchecked: lateOceanColorPalette['eggshell.3']
1400
+ checked: deepPurpleColorPalette['grey.1'],
1401
+ unchecked: deepPurpleColorPalette['grey.1']
1492
1402
  },
1493
1403
  border: {
1494
1404
  color: 'transparent',
1495
1405
  width: 1
1496
1406
  },
1497
1407
  circle: {
1498
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1408
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1499
1409
  width: {
1500
1410
  medium: 18,
1501
1411
  large: 24
@@ -1510,7 +1420,7 @@ var toggle = {
1510
1420
  }
1511
1421
  },
1512
1422
  wrapperBorder: {
1513
- color: lateOceanColorPalette.black,
1423
+ color: deepPurpleColorPalette.black,
1514
1424
  width: 1
1515
1425
  }
1516
1426
  }
@@ -1527,17 +1437,17 @@ var toggle = {
1527
1437
  medium: 50,
1528
1438
  large: 66
1529
1439
  },
1530
- labelColor: lateOceanColorPalette.white,
1440
+ labelColor: deepPurpleColorPalette.white,
1531
1441
  backgroundColor: {
1532
- checked: lateOceanColorPalette['violine.12'],
1533
- unchecked: lateOceanColorPalette['violine.4']
1442
+ checked: deepPurpleColorPalette['deepPurple.9'],
1443
+ unchecked: deepPurpleColorPalette['beige.3']
1534
1444
  },
1535
1445
  border: {
1536
1446
  color: 'transparent',
1537
1447
  width: 1
1538
1448
  },
1539
1449
  circle: {
1540
- backgroundColor: lateOceanColorPalette.white,
1450
+ backgroundColor: deepPurpleColorPalette.white,
1541
1451
  width: {
1542
1452
  medium: 18,
1543
1453
  large: 24
@@ -1565,17 +1475,17 @@ var toggle = {
1565
1475
  medium: 50,
1566
1476
  large: 66
1567
1477
  },
1568
- labelColor: lateOceanColorPalette.white,
1478
+ labelColor: deepPurpleColorPalette.white,
1569
1479
  backgroundColor: {
1570
- checked: lateOceanColorPalette['violine.12'],
1571
- unchecked: lateOceanColorPalette['violine.4']
1480
+ checked: deepPurpleColorPalette['deepPurple.9'],
1481
+ unchecked: deepPurpleColorPalette['beige.3']
1572
1482
  },
1573
1483
  border: {
1574
1484
  color: 'transparent',
1575
1485
  width: 1
1576
1486
  },
1577
1487
  circle: {
1578
- backgroundColor: lateOceanColorPalette.white,
1488
+ backgroundColor: deepPurpleColorPalette.white,
1579
1489
  width: {
1580
1490
  medium: 18,
1581
1491
  large: 24
@@ -1603,17 +1513,17 @@ var toggle = {
1603
1513
  medium: 50,
1604
1514
  large: 66
1605
1515
  },
1606
- labelColor: lateOceanColorPalette.white,
1516
+ labelColor: deepPurpleColorPalette.white,
1607
1517
  backgroundColor: {
1608
- checked: lateOceanColorPalette['violine.12'],
1609
- unchecked: lateOceanColorPalette['violine.4']
1518
+ checked: deepPurpleColorPalette['deepPurple.9'],
1519
+ unchecked: deepPurpleColorPalette['beige.3']
1610
1520
  },
1611
1521
  border: {
1612
- color: lateOceanColorPalette['violine.8'],
1522
+ color: deepPurpleColorPalette['deepPurple.7'],
1613
1523
  width: 1
1614
1524
  },
1615
1525
  circle: {
1616
- backgroundColor: lateOceanColorPalette.white,
1526
+ backgroundColor: deepPurpleColorPalette.white,
1617
1527
  width: {
1618
1528
  medium: 18,
1619
1529
  large: 24
@@ -1628,7 +1538,7 @@ var toggle = {
1628
1538
  }
1629
1539
  },
1630
1540
  wrapperBorder: {
1631
- color: lateOceanColorPalette.white,
1541
+ color: deepPurpleColorPalette.white,
1632
1542
  width: 1
1633
1543
  }
1634
1544
  },
@@ -1641,17 +1551,17 @@ var toggle = {
1641
1551
  medium: 50,
1642
1552
  large: 66
1643
1553
  },
1644
- labelColor: lateOceanColorPalette.white,
1554
+ labelColor: deepPurpleColorPalette.white,
1645
1555
  backgroundColor: {
1646
- checked: lateOceanColorPalette['violine.12'],
1647
- unchecked: lateOceanColorPalette['violine.4']
1556
+ checked: deepPurpleColorPalette['deepPurple.9'],
1557
+ unchecked: deepPurpleColorPalette['beige.3']
1648
1558
  },
1649
1559
  border: {
1650
- color: lateOceanColorPalette['violine.8'],
1560
+ color: deepPurpleColorPalette['deepPurple.7'],
1651
1561
  width: 1
1652
1562
  },
1653
1563
  circle: {
1654
- backgroundColor: lateOceanColorPalette.white,
1564
+ backgroundColor: deepPurpleColorPalette.white,
1655
1565
  width: {
1656
1566
  medium: 18,
1657
1567
  large: 24
@@ -1666,7 +1576,7 @@ var toggle = {
1666
1576
  }
1667
1577
  },
1668
1578
  wrapperBorder: {
1669
- color: lateOceanColorPalette.white,
1579
+ color: deepPurpleColorPalette.white,
1670
1580
  width: 1
1671
1581
  }
1672
1582
  }
@@ -1681,17 +1591,17 @@ var toggle = {
1681
1591
  medium: 50,
1682
1592
  large: 66
1683
1593
  },
1684
- labelColor: lateOceanColorPalette['violine.6'],
1594
+ labelColor: deepPurpleColorPalette['beige.5'],
1685
1595
  backgroundColor: {
1686
- checked: lateOceanColorPalette['violine.6'],
1687
- unchecked: lateOceanColorPalette['violine.6']
1596
+ checked: deepPurpleColorPalette['beige.5'],
1597
+ unchecked: deepPurpleColorPalette['beige.5']
1688
1598
  },
1689
1599
  border: {
1690
1600
  color: 'transparent',
1691
1601
  width: 1
1692
1602
  },
1693
1603
  circle: {
1694
- backgroundColor: lateOceanColorPalette['violine.8'],
1604
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1695
1605
  width: {
1696
1606
  medium: 18,
1697
1607
  large: 24
@@ -1719,17 +1629,17 @@ var toggle = {
1719
1629
  medium: 50,
1720
1630
  large: 66
1721
1631
  },
1722
- labelColor: lateOceanColorPalette['violine.6'],
1632
+ labelColor: deepPurpleColorPalette['beige.5'],
1723
1633
  backgroundColor: {
1724
- checked: lateOceanColorPalette['violine.6'],
1725
- unchecked: lateOceanColorPalette['violine.6']
1634
+ checked: deepPurpleColorPalette['beige.5'],
1635
+ unchecked: deepPurpleColorPalette['beige.5']
1726
1636
  },
1727
1637
  border: {
1728
1638
  color: 'transparent',
1729
1639
  width: 1
1730
1640
  },
1731
1641
  circle: {
1732
- backgroundColor: lateOceanColorPalette['violine.8'],
1642
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1733
1643
  width: {
1734
1644
  medium: 18,
1735
1645
  large: 24
@@ -1757,17 +1667,17 @@ var toggle = {
1757
1667
  medium: 50,
1758
1668
  large: 66
1759
1669
  },
1760
- labelColor: lateOceanColorPalette['violine.6'],
1670
+ labelColor: deepPurpleColorPalette['beige.5'],
1761
1671
  backgroundColor: {
1762
- checked: lateOceanColorPalette['violine.6'],
1763
- unchecked: lateOceanColorPalette['violine.6']
1672
+ checked: deepPurpleColorPalette['beige.5'],
1673
+ unchecked: deepPurpleColorPalette['beige.5']
1764
1674
  },
1765
1675
  border: {
1766
- color: lateOceanColorPalette['violine.8'],
1676
+ color: deepPurpleColorPalette['deepPurple.7'],
1767
1677
  width: 1
1768
1678
  },
1769
1679
  circle: {
1770
- backgroundColor: lateOceanColorPalette['violine.8'],
1680
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1771
1681
  width: {
1772
1682
  medium: 18,
1773
1683
  large: 24
@@ -1782,7 +1692,7 @@ var toggle = {
1782
1692
  }
1783
1693
  },
1784
1694
  wrapperBorder: {
1785
- color: lateOceanColorPalette.white,
1695
+ color: deepPurpleColorPalette.white,
1786
1696
  width: 1
1787
1697
  }
1788
1698
  },
@@ -1795,17 +1705,17 @@ var toggle = {
1795
1705
  medium: 50,
1796
1706
  large: 66
1797
1707
  },
1798
- labelColor: lateOceanColorPalette['violine.6'],
1708
+ labelColor: deepPurpleColorPalette['beige.5'],
1799
1709
  backgroundColor: {
1800
- checked: lateOceanColorPalette['violine.6'],
1801
- unchecked: lateOceanColorPalette['violine.6']
1710
+ checked: deepPurpleColorPalette['beige.5'],
1711
+ unchecked: deepPurpleColorPalette['beige.5']
1802
1712
  },
1803
1713
  border: {
1804
- color: lateOceanColorPalette['violine.8'],
1714
+ color: deepPurpleColorPalette['deepPurple.7'],
1805
1715
  width: 1
1806
1716
  },
1807
1717
  circle: {
1808
- backgroundColor: lateOceanColorPalette['violine.8'],
1718
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1809
1719
  width: {
1810
1720
  medium: 18,
1811
1721
  large: 24
@@ -1820,7 +1730,7 @@ var toggle = {
1820
1730
  }
1821
1731
  },
1822
1732
  wrapperBorder: {
1823
- color: lateOceanColorPalette.white,
1733
+ color: deepPurpleColorPalette.white,
1824
1734
  width: 1
1825
1735
  }
1826
1736
  }
@@ -1882,50 +1792,50 @@ var highlight = {
1882
1792
  },
1883
1793
  primary: {
1884
1794
  "default": {
1885
- backgroundColor: lateOceanColorPalette['lavender.3']
1795
+ backgroundColor: deepPurpleColorPalette['beige.2']
1886
1796
  },
1887
1797
  hover: {
1888
- backgroundColor: lateOceanColorPalette['lavender.5']
1798
+ backgroundColor: deepPurpleColorPalette['beige.4']
1889
1799
  }
1890
1800
  },
1891
1801
  secondary: {
1892
1802
  "default": {
1893
- backgroundColor: lateOceanColorPalette['violine.2']
1803
+ backgroundColor: deepPurpleColorPalette['beige.1']
1894
1804
  },
1895
1805
  hover: {
1896
- backgroundColor: lateOceanColorPalette['violine.4']
1806
+ backgroundColor: deepPurpleColorPalette['beige.3']
1897
1807
  }
1898
1808
  },
1899
1809
  ghost: {
1900
1810
  "default": {
1901
- backgroundColor: lateOceanColorPalette.white
1811
+ backgroundColor: deepPurpleColorPalette.white
1902
1812
  },
1903
1813
  hover: {
1904
- backgroundColor: lateOceanColorPalette['eggshell.2']
1814
+ backgroundColor: deepPurpleColorPalette['beige.1']
1905
1815
  }
1906
1816
  },
1907
1817
  dark: {
1908
1818
  "default": {
1909
- backgroundColor: lateOceanColorPalette['eggshell.3']
1819
+ backgroundColor: deepPurpleColorPalette['beige.2']
1910
1820
  },
1911
1821
  hover: {
1912
- backgroundColor: lateOceanColorPalette['eggshell.2']
1822
+ backgroundColor: deepPurpleColorPalette['beige.1']
1913
1823
  }
1914
1824
  },
1915
1825
  success: {
1916
1826
  "default": {
1917
- backgroundColor: lateOceanColorPalette['green.3']
1827
+ backgroundColor: deepPurpleColorPalette['green.1']
1918
1828
  },
1919
1829
  hover: {
1920
- backgroundColor: lateOceanColorPalette['green.5']
1830
+ backgroundColor: deepPurpleColorPalette['green.2']
1921
1831
  }
1922
1832
  },
1923
1833
  warning: {
1924
1834
  "default": {
1925
- backgroundColor: lateOceanColorPalette['sun.3']
1835
+ backgroundColor: deepPurpleColorPalette['yellow.1']
1926
1836
  },
1927
1837
  hover: {
1928
- backgroundColor: lateOceanColorPalette['sun.5']
1838
+ backgroundColor: deepPurpleColorPalette['yellow.2']
1929
1839
  }
1930
1840
  },
1931
1841
  padding: {
@@ -1965,14 +1875,6 @@ var icon = {
1965
1875
  header4: createTypographyIconSizeConfig(18, 24),
1966
1876
  // also known as xxsmall
1967
1877
  header5: createTypographyIconSizeConfig(18, 18),
1968
- 'header-impact-xxl': createTypographyIconSizeConfig(56, 56),
1969
- 'header-impact-xl': createTypographyIconSizeConfig(48, 48),
1970
- 'header-impact-l': createTypographyIconSizeConfig(40, 40),
1971
- 'header-impact-m': createTypographyIconSizeConfig(32, 32),
1972
- 'header-impact-s': createTypographyIconSizeConfig(24, 24),
1973
- 'header-impact-xs': createTypographyIconSizeConfig(18, 18),
1974
- 'header-impact-xxs': createTypographyIconSizeConfig(16, 16),
1975
- 'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),
1976
1878
  'body-large': createTypographyIconSizeConfig(18, 24),
1977
1879
  'body-medium': createTypographyIconSizeConfig(18, 18),
1978
1880
  body: createTypographyIconSizeConfig(16, 16),
@@ -2017,7 +1919,7 @@ var iconButton = {
2017
1919
  pressedBackgroundColor: button["default"].ghost.pressedBackgroundColor
2018
1920
  },
2019
1921
  primary: {
2020
- pressedBackgroundColor: lateOceanColorPalette.moonPurpleLight1
1922
+ pressedBackgroundColor: deepPurpleColorPalette['beige.1']
2021
1923
  },
2022
1924
  'primary-plain': {
2023
1925
  pressedBackgroundColor: colors.primaryLight,
@@ -2092,155 +1994,198 @@ var pageLoader = {
2092
1994
  }
2093
1995
  };
2094
1996
 
2095
- var calcLineHeight = function (fontSize, lineHeightMultiplier) {
2096
- return Math.round(fontSize * lineHeightMultiplier);
2097
- };
2098
- /** @deprecated legacy typography type config is deprecated. */
2099
- var createLegacyTypographyTypeConfig = function (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize) {
2100
- var mediumAndWideFontSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : baseAndSmallFontSize;
2101
- var lineHeightMultiplierMediumAndWide = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : lineHeightMultiplierBaseAndSmall;
2102
- return {
2103
- baseAndSmall: {
2104
- fontSize: baseAndSmallFontSize,
2105
- lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
2106
- },
2107
- mediumAndWide: {
2108
- fontSize: mediumAndWideFontSize,
2109
- lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
2110
- }
2111
- };
2112
- };
2113
- var createTypographyConfig = function (fontSize, lineHeightMultiplier) {
2114
- var config = {
2115
- fontSize: fontSize,
2116
- lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
2117
- };
2118
- return {
2119
- baseAndSmall: config,
2120
- mediumAndWide: config
2121
- };
2122
- };
2123
1997
  var typography = {
2124
1998
  colors: {
2125
1999
  black: colors.black,
2126
2000
  'black-anthracite': colors.blackAnthracite,
2127
- 'black-disabled': lateOceanColorPalette.black400,
2128
- 'black-light': lateOceanColorPalette.black555,
2001
+ 'black-disabled': deepPurpleColorPalette['grey.3'],
2002
+ 'black-light': deepPurpleColorPalette['grey.5'],
2129
2003
  white: colors.white,
2130
2004
  'white-light': colors.white,
2131
2005
  primary: colors.primary,
2132
2006
  'primary-light': colors.primaryLight,
2133
2007
  accent: colors.accent,
2134
2008
  success: colors.success,
2135
- danger: lateOceanColorPalette['coral.9'],
2009
+ danger: deepPurpleColorPalette['red.6'],
2136
2010
  warning: colors.warning
2137
2011
  },
2138
2012
  types: {
2139
2013
  headings: {
2140
2014
  fontFamily: {
2141
2015
  "native": {
2142
- regular: 'Moderat-Bold',
2143
- bold: 'Moderat-Bold'
2016
+ regular: 'GTStandardRegular',
2017
+ semibold: 'GTStandardSemibold',
2018
+ bold: 'GTStandardBold'
2144
2019
  },
2145
2020
  web: {
2146
- regular: 'Moderat',
2147
- bold: 'Moderat'
2021
+ regular: 'GTStandard',
2022
+ semibold: 'GTStandard',
2023
+ bold: 'GTStandard'
2148
2024
  }
2149
2025
  },
2150
2026
  fontWeight: {
2151
- regular: 400,
2027
+ regular: 500,
2028
+ semibold: 600,
2152
2029
  bold: 700
2153
2030
  },
2154
2031
  fontStyle: 'normal',
2155
2032
  configs: {
2156
- /* legacy */
2157
- header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
2158
- header2: createLegacyTypographyTypeConfig(1.15, 32, 48, 1.1),
2159
- header3: createLegacyTypographyTypeConfig(1.15, 24, 40, 1.1),
2160
- header4: createLegacyTypographyTypeConfig(1.15, 18, 24, 1.2),
2161
- header5: createLegacyTypographyTypeConfig(1.15, 18, 18),
2162
- /* latest */
2163
- 'heading-xxl': createTypographyConfig(56, 1.1),
2164
- 'heading-xl': createTypographyConfig(48, 1.1),
2165
- 'heading-l': createTypographyConfig(40, 1.1),
2166
- 'heading-m': createTypographyConfig(32, 1.15),
2167
- 'heading-s': createTypographyConfig(24, 1.15),
2168
- 'heading-xs': createTypographyConfig(18, 1.15),
2169
- 'heading-xxs': createTypographyConfig(16, 1.15)
2033
+ 'heading-xxl': {
2034
+ fontSize: 56,
2035
+ lineHeight: 64,
2036
+ allowedFontWeights: ['semibold']
2037
+ },
2038
+ 'heading-xl': {
2039
+ fontSize: 48,
2040
+ lineHeight: 56,
2041
+ allowedFontWeights: ['semibold']
2042
+ },
2043
+ 'heading-l': {
2044
+ fontSize: 40,
2045
+ lineHeight: 48,
2046
+ allowedFontWeights: ['semibold']
2047
+ },
2048
+ 'heading-m': {
2049
+ fontSize: 28,
2050
+ lineHeight: 32,
2051
+ allowedFontWeights: ['semibold']
2052
+ },
2053
+ 'heading-s': {
2054
+ fontSize: 18,
2055
+ lineHeight: 20,
2056
+ allowedFontWeights: ['regular', 'bold']
2057
+ },
2058
+ 'heading-xs': {
2059
+ fontSize: 16,
2060
+ lineHeight: 18,
2061
+ allowedFontWeights: ['regular', 'bold']
2062
+ }
2170
2063
  }
2171
2064
  },
2172
- 'headings-impact': {
2065
+ bodies: {
2173
2066
  fontFamily: {
2174
2067
  "native": {
2175
- regular: 'Transducer-Black',
2176
- bold: 'Transducer-Black'
2068
+ regular: 'GTStandardRegular',
2069
+ bold: 'GTStandardBold'
2177
2070
  },
2178
2071
  web: {
2179
- regular: 'TransducerBlack',
2180
- bold: 'TransducerBlack'
2072
+ regular: 'GTStandard',
2073
+ bold: 'GTStandard'
2181
2074
  }
2182
2075
  },
2183
- fontWeight: 600,
2184
- fontStyle: 'normal',
2076
+ fontWeight: {
2077
+ regular: 500,
2078
+ bold: 700
2079
+ },
2080
+ fontStyle: {
2081
+ regular: 'normal',
2082
+ bold: 'normal'
2083
+ },
2185
2084
  configs: {
2186
- /* legacy */
2187
- 'header-impact-xxl': createLegacyTypographyTypeConfig(1.1, 56, 56),
2188
- 'header-impact-xl': createLegacyTypographyTypeConfig(1.1, 48, 48),
2189
- 'header-impact-l': createLegacyTypographyTypeConfig(1.1, 40, 40),
2190
- 'header-impact-m': createLegacyTypographyTypeConfig(1.1, 32, 32),
2191
- 'header-impact-s': createLegacyTypographyTypeConfig(1.1, 24, 24),
2192
- 'header-impact-xs': createLegacyTypographyTypeConfig(1.1, 18, 18),
2193
- 'header-impact-xxs': createLegacyTypographyTypeConfig(1.1, 16, 16),
2194
- 'header-impact-xxxs': createLegacyTypographyTypeConfig(1.1, 14, 14),
2195
- /* latest */
2196
- 'heading-impact-xxl': createTypographyConfig(56, 1.1),
2197
- 'heading-impact-xl': createTypographyConfig(48, 1.1),
2198
- 'heading-impact-l': createTypographyConfig(40, 1.1),
2199
- 'heading-impact-m': createTypographyConfig(32, 1.1),
2200
- 'heading-impact-s': createTypographyConfig(24, 1.1),
2201
- 'heading-impact-xs': createTypographyConfig(18, 1.1),
2202
- 'heading-impact-xxs': createTypographyConfig(16, 1.1),
2203
- 'heading-impact-xxxs': createTypographyConfig(14, 1.1)
2085
+ 'body-xl': {
2086
+ fontSize: 24,
2087
+ lineHeight: 32,
2088
+ allowedFontWeights: ['regular', 'bold']
2089
+ },
2090
+ 'body-l': {
2091
+ fontSize: 18,
2092
+ lineHeight: 26,
2093
+ allowedFontWeights: ['regular', 'bold']
2094
+ },
2095
+ 'body-m': {
2096
+ fontSize: 16,
2097
+ lineHeight: 24,
2098
+ allowedFontWeights: ['regular', 'bold']
2099
+ },
2100
+ 'body-s': {
2101
+ fontSize: 14,
2102
+ lineHeight: 20,
2103
+ allowedFontWeights: ['regular', 'bold']
2104
+ },
2105
+ 'body-xs': {
2106
+ fontSize: 12,
2107
+ lineHeight: 16,
2108
+ allowedFontWeights: ['regular', 'bold']
2109
+ }
2204
2110
  }
2205
2111
  },
2206
- bodies: {
2112
+ labels: {
2207
2113
  fontFamily: {
2208
- web: {
2209
- regular: 'Moderat',
2210
- bold: 'Moderat'
2114
+ "native": {
2115
+ semibold: 'GTStandardSemibold'
2211
2116
  },
2117
+ web: {
2118
+ semibold: 'GTStandard'
2119
+ }
2120
+ },
2121
+ fontWeight: {
2122
+ semibold: 600
2123
+ },
2124
+ fontStyle: 'normal',
2125
+ configs: {
2126
+ 'label-large': {
2127
+ fontSize: 16,
2128
+ lineHeight: 24,
2129
+ allowedFontWeights: ['semibold']
2130
+ },
2131
+ 'label-medium': {
2132
+ fontSize: 14,
2133
+ lineHeight: 20,
2134
+ allowedFontWeights: ['semibold']
2135
+ }
2136
+ }
2137
+ },
2138
+ contentCaps: {
2139
+ fontFamily: {
2212
2140
  "native": {
2213
- regular: 'Moderat-Regular',
2214
- bold: 'Moderat-Bold'
2141
+ bold: 'GTStandardNarrowBold'
2142
+ },
2143
+ web: {
2144
+ bold: 'GTStandardNarrow'
2215
2145
  }
2216
2146
  },
2217
2147
  fontWeight: {
2218
- regular: 400,
2219
2148
  bold: 700
2220
2149
  },
2221
- fontStyle: {
2222
- regular: 'normal',
2223
- bold: 'normal'
2224
- },
2150
+ fontStyle: 'normal',
2225
2151
  configs: {
2226
- /* legacy */
2227
- 'body-large': createLegacyTypographyTypeConfig(1.3, 18, 24),
2228
- 'body-medium': createLegacyTypographyTypeConfig(1.3, 18, 18),
2229
- body: createLegacyTypographyTypeConfig(1.3, 16, 16),
2230
- 'body-small': createLegacyTypographyTypeConfig(1.15, 14, 14),
2231
- 'body-xsmall': createLegacyTypographyTypeConfig(1.15, 12, 12),
2232
- /* latest */
2233
- 'body-xl': createTypographyConfig(24, 1.3),
2234
- 'body-l': createTypographyConfig(18, 1.3),
2235
- 'body-m': createTypographyConfig(16, 1.3),
2236
- 'body-s': createTypographyConfig(14, 1.15),
2237
- 'body-xs': createTypographyConfig(12, 1.15)
2152
+ 'content-caps-xxxl': {
2153
+ fontSize: 40,
2154
+ lineHeight: 40,
2155
+ allowedFontWeights: ['bold']
2156
+ },
2157
+ 'content-caps-xxl': {
2158
+ fontSize: 32,
2159
+ lineHeight: 40,
2160
+ allowedFontWeights: ['bold']
2161
+ },
2162
+ 'content-caps-xl': {
2163
+ fontSize: 24,
2164
+ lineHeight: 28,
2165
+ allowedFontWeights: ['bold']
2166
+ },
2167
+ 'content-caps-l': {
2168
+ fontSize: 18,
2169
+ lineHeight: 20,
2170
+ allowedFontWeights: ['bold']
2171
+ },
2172
+ 'content-caps-m': {
2173
+ fontSize: 16,
2174
+ lineHeight: 18,
2175
+ allowedFontWeights: ['bold']
2176
+ },
2177
+ 'content-caps-s': {
2178
+ fontSize: 14,
2179
+ lineHeight: 16,
2180
+ allowedFontWeights: ['bold']
2181
+ },
2182
+ 'content-caps-xs': {
2183
+ fontSize: 12,
2184
+ lineHeight: 14,
2185
+ allowedFontWeights: ['bold']
2186
+ }
2238
2187
  }
2239
2188
  }
2240
- },
2241
- link: {
2242
- /** @deprecated not used in kitt anymore, use Typography instead */
2243
- disabledColor: colors.blackDisabled
2244
2189
  }
2245
2190
  };
2246
2191
 
@@ -2249,7 +2194,7 @@ var picker = {
2249
2194
  ios: {
2250
2195
  "default": _objectSpread(_objectSpread({
2251
2196
  fontFamily: typography.types.bodies.fontFamily["native"].regular
2252
- }, typography.types.bodies.configs.body.baseAndSmall), {}, {
2197
+ }, typography.types.bodies.configs['body-m']), {}, {
2253
2198
  fontSize: 16,
2254
2199
  color: typography.colors['black-light'],
2255
2200
  // Default height is hard coded in module because of iOS constraint (https://github.com/react-native-picker/picker/blob/abd5f9076baa3ef2277ea7e711fa5823683c110e/js/PickerIOS.ios.js#L156)
@@ -2282,19 +2227,19 @@ var picker = {
2282
2227
  backgroundColor: colors.transparent
2283
2228
  },
2284
2229
  hovered: {
2285
- backgroundColor: lateOceanColorPalette.black50
2230
+ backgroundColor: deepPurpleColorPalette['beige.1']
2286
2231
  },
2287
2232
  focused: {
2288
- backgroundColor: lateOceanColorPalette.black50
2233
+ backgroundColor: deepPurpleColorPalette['beige.1']
2289
2234
  },
2290
2235
  selected: {
2291
- backgroundColor: lateOceanColorPalette.black50
2236
+ backgroundColor: deepPurpleColorPalette['beige.1']
2292
2237
  },
2293
2238
  highlighted: {
2294
- backgroundColor: lateOceanColorPalette.black50
2239
+ backgroundColor: deepPurpleColorPalette['beige.1']
2295
2240
  },
2296
2241
  pressed: {
2297
- backgroundColor: lateOceanColorPalette.black100
2242
+ backgroundColor: deepPurpleColorPalette['beige.2']
2298
2243
  }
2299
2244
  }
2300
2245
  },
@@ -2378,8 +2323,8 @@ var shadows = {
2378
2323
  }
2379
2324
  };
2380
2325
 
2381
- var skeletonBackgroundColor = lateOceanColorPalette.black100;
2382
- var skeletonFlareColor = lateOceanColorPalette.black200;
2326
+ var skeletonBackgroundColor = deepPurpleColorPalette['beige.2'];
2327
+ var skeletonFlareColor = deepPurpleColorPalette['beige.3'];
2383
2328
  var skeleton$1 = {
2384
2329
  backgroundColor: skeletonBackgroundColor,
2385
2330
  flareColor: skeletonFlareColor,
@@ -2402,20 +2347,6 @@ var skeleton$1 = {
2402
2347
 
2403
2348
  var tag = {
2404
2349
  borderRadius: 16,
2405
- variant: {
2406
- contrast: {
2407
- borderWidth: 0
2408
- },
2409
- fill: {
2410
- borderWidth: 0
2411
- },
2412
- outline: {
2413
- borderWidth: 1
2414
- },
2415
- subtle: {
2416
- borderWidth: 0
2417
- }
2418
- },
2419
2350
  icon: {
2420
2351
  small: 16,
2421
2352
  medium: 16,
@@ -2491,14 +2422,14 @@ var verticalSteps = {
2491
2422
  },
2492
2423
  done: {
2493
2424
  icon: {
2494
- backgroundColor: lateOceanColorPalette.moonPurple,
2495
- textColor: colors.primary
2425
+ backgroundColor: colors.primary,
2426
+ textColor: colors.white
2496
2427
  }
2497
2428
  },
2498
2429
  "default": {
2499
2430
  icon: {
2500
2431
  backgroundColor: colors.disabled,
2501
- textColor: colors.blackDisabled
2432
+ textColor: deepPurpleColorPalette['grey.3']
2502
2433
  }
2503
2434
  }
2504
2435
  };
@@ -2529,12 +2460,12 @@ var breakpoints = {
2529
2460
  // TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156
2530
2461
  var theme = {
2531
2462
  spacing: spacing,
2532
- getSpacing: function getSpacing(multiplier) {
2463
+ getSpacing: function (multiplier) {
2533
2464
  return spacing * multiplier;
2534
2465
  },
2535
2466
  colors: colors,
2536
2467
  palettes: {
2537
- lateOcean: lateOceanColorPalette
2468
+ deepPurple: deepPurpleColorPalette
2538
2469
  },
2539
2470
  avatar: avatar,
2540
2471
  breakpoints: breakpoints,
@@ -2716,7 +2647,7 @@ var ActionCardPressable = /*#__PURE__*/forwardRef(function (_ref2, ref) {
2716
2647
  onPress: onPress,
2717
2648
  onHoverIn: onHoverIn,
2718
2649
  onHoverOut: onHoverOut,
2719
- children: function children(_ref3) {
2650
+ children: function (_ref3) {
2720
2651
  var isHovered = _ref3.isHovered,
2721
2652
  isPressed = _ref3.isPressed,
2722
2653
  isFocused = _ref3.isFocused;
@@ -3001,14 +2932,18 @@ function getTypographyColorValue(colorName) {
3001
2932
  }
3002
2933
 
3003
2934
  var isTypeHeadings = function (type) {
3004
- return type.startsWith('header') || type.startsWith('heading');
2935
+ return type.startsWith('heading');
2936
+ };
2937
+ var isTypeLabels = function (type) {
2938
+ return type.startsWith('label');
3005
2939
  };
3006
- var isTypeHeadingsImpact = function (type) {
3007
- return type.startsWith('heading-impact') || type.startsWith('header-impact');
2940
+ var isTypeContentCaps = function (type) {
2941
+ return type.startsWith('content-caps');
3008
2942
  };
3009
2943
  var getTypographyFamily = function (type) {
3010
- if (isTypeHeadingsImpact(type)) return 'headings-impact';
3011
2944
  if (isTypeHeadings(type)) return 'headings';
2945
+ if (isTypeLabels(type)) return 'labels';
2946
+ if (isTypeContentCaps(type)) return 'contentCaps';
3012
2947
  return 'bodies';
3013
2948
  };
3014
2949
  var getTypographyFamilyWithAncestorValue = function (type, typographyFamilyInContext) {
@@ -3017,7 +2952,7 @@ var getTypographyFamilyWithAncestorValue = function (type, typographyFamilyInCon
3017
2952
  throw new Error('You must set a "base" prop or wrap this Typography in one that does.');
3018
2953
  };
3019
2954
 
3020
- var _excluded$R = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
2955
+ var _excluded$R = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color", "underline"];
3021
2956
  var TypographyFamilyContext = /*#__PURE__*/createContext(null);
3022
2957
  var TypographyTypeContext = /*#__PURE__*/createContext(null);
3023
2958
  var TypographyColorContext = /*#__PURE__*/createContext('black');
@@ -3031,9 +2966,6 @@ var TypographyDefaultColorContext = /*#__PURE__*/createContext(undefined);
3031
2966
  function useTypographyDefaultColor() {
3032
2967
  return useContext(TypographyDefaultColorContext);
3033
2968
  }
3034
- function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
3035
- return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
3036
- }
3037
2969
 
3038
2970
  // TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.
3039
2971
  // & {
@@ -3049,42 +2981,120 @@ function createNativeBaseFontSize(type) {
3049
2981
  [KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(function (typeName) {
3050
2982
  var value = typeWithMediumForced[typeName];
3051
2983
  if (value) {
3052
- fontSizeForNativeBase[typeName] = "".concat(getTypographyTypeConfigKeyFromTypeName(typeName), ".").concat(value);
2984
+ fontSizeForNativeBase[typeName] = value;
3053
2985
  }
3054
2986
  });
3055
2987
  return fontSizeForNativeBase;
3056
2988
  }
3057
- function Typography(_ref) {
2989
+ function ThrowErrorIfInvalidVariant(variant, value, fontWeight) {
2990
+ if (process.env.NODE_ENV !== 'production' && variant && variant !== fontWeight) {
2991
+ throw new Error("Invalid variant \"".concat(variant, "\" for value \"").concat(value, "\" only \"").concat(fontWeight, "\" is allowed."));
2992
+ }
2993
+ }
2994
+ function getTypographyWeights(typographyFamily) {
2995
+ var boldTypoTypes = new Set();
2996
+ var semiboldTypoTypes = new Set();
2997
+ var regularTypoTypes = new Set();
2998
+ var typographyConfig = typography.types[typographyFamily].configs;
2999
+ Object.keys(typographyConfig).forEach(function (typographyType) {
3000
+ var _ref = typographyConfig[typographyType],
3001
+ allowedFontWeights = _ref.allowedFontWeights;
3002
+ if (allowedFontWeights.includes('bold')) {
3003
+ boldTypoTypes.add(typographyType);
3004
+ }
3005
+ if (allowedFontWeights.includes('semibold')) {
3006
+ semiboldTypoTypes.add(typographyType);
3007
+ }
3008
+ if (allowedFontWeights.includes('regular')) {
3009
+ regularTypoTypes.add(typographyType);
3010
+ }
3011
+ });
3012
+ return {
3013
+ boldTypoTypes: boldTypoTypes,
3014
+ semiboldTypoTypes: semiboldTypoTypes,
3015
+ regularTypoTypes: regularTypoTypes
3016
+ };
3017
+ }
3018
+ function getUniversalFontWeight(type, variant, typographyFamily) {
3019
+ var _getTypographyWeights = getTypographyWeights(typographyFamily || 'bodies'),
3020
+ boldTypoTypes = _getTypographyWeights.boldTypoTypes,
3021
+ semiboldTypoTypes = _getTypographyWeights.semiboldTypoTypes,
3022
+ regularTypoTypes = _getTypographyWeights.regularTypoTypes;
3023
+ var webFontWeight = {};
3024
+ var nativeFontFamily = {};
3025
+ var breakpoints = [KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE];
3026
+ breakpoints.forEach(function (typeName) {
3027
+ var value = type[typeName];
3028
+ if (!value) return;
3029
+ var inBold = boldTypoTypes.has(value);
3030
+ var inSemi = semiboldTypoTypes.has(value);
3031
+ var inRegular = regularTypoTypes.has(value);
3032
+ var presenceCount = [inBold, inSemi, inRegular].filter(Boolean).length;
3033
+ var resolvedVariant;
3034
+ if (presenceCount > 1) {
3035
+ // if present in multiple weight
3036
+
3037
+ if (process.env.NODE_ENV !== 'production' && variant && !(variant === 'bold' && inBold || variant === 'semibold' && inSemi || variant === 'regular' && inRegular)) {
3038
+ throw new Error("Invalid variant \"".concat(variant, "\" for value \"").concat(value, "\". Only ").concat(inBold ? '"bold"' : ' ').concat(inSemi ? '"semibold"' : ' ').concat(inRegular ? '"regular"' : ' ', "\" is allowed."));
3039
+ }
3040
+
3041
+ // always fallback on regular if no variant specified
3042
+ resolvedVariant = variant || 'regular';
3043
+ } else if (inBold) {
3044
+ // bold
3045
+ ThrowErrorIfInvalidVariant(variant, value, 'bold');
3046
+ resolvedVariant = 'bold';
3047
+ } else if (inSemi) {
3048
+ // semibold
3049
+ ThrowErrorIfInvalidVariant(variant, value, 'semibold');
3050
+ resolvedVariant = 'semibold';
3051
+ } else {
3052
+ // regular
3053
+ ThrowErrorIfInvalidVariant(variant, value, 'regular');
3054
+ resolvedVariant = 'regular';
3055
+ }
3056
+ webFontWeight[typeName] = resolvedVariant;
3057
+ nativeFontFamily[typeName] = "".concat(typographyFamily, ".").concat(resolvedVariant);
3058
+ });
3059
+ return {
3060
+ webFontWeight: webFontWeight,
3061
+ nativeFontFamily: nativeFontFamily
3062
+ };
3063
+ }
3064
+ function Typography(_ref2) {
3058
3065
  var _type$base;
3059
- var accessibilityRole = _ref.accessibilityRole,
3060
- legacyBase = _ref.base,
3061
- legacySmall = _ref.small,
3062
- legacyMedium = _ref.medium,
3063
- legacyLarge = _ref.large,
3064
- legacyWide = _ref.wide,
3065
- _ref$type = _ref.type,
3066
- type = _ref$type === void 0 ? {
3066
+ var accessibilityRole = _ref2.accessibilityRole,
3067
+ legacyBase = _ref2.base,
3068
+ legacySmall = _ref2.small,
3069
+ legacyMedium = _ref2.medium,
3070
+ legacyLarge = _ref2.large,
3071
+ legacyWide = _ref2.wide,
3072
+ _ref2$type = _ref2.type,
3073
+ type = _ref2$type === void 0 ? {
3067
3074
  base: legacyBase,
3068
3075
  small: legacySmall,
3069
3076
  medium: legacyMedium,
3070
3077
  large: legacyLarge,
3071
3078
  wide: legacyWide
3072
- } : _ref$type,
3073
- variant = _ref.variant,
3074
- color = _ref.color,
3075
- otherProps = _objectWithoutProperties(_ref, _excluded$R);
3079
+ } : _ref2$type,
3080
+ variant = _ref2.variant,
3081
+ color = _ref2.color,
3082
+ underline = _ref2.underline,
3083
+ otherProps = _objectWithoutProperties(_ref2, _excluded$R);
3076
3084
  var sx = useSx();
3077
3085
  var typographyFamilyInContext = useContext(TypographyFamilyContext);
3078
3086
  var defaultColor = useTypographyDefaultColor();
3079
3087
  var hasTypographyAncestor = typographyFamilyInContext !== null;
3080
- var baseOrDefaultToBody = hasTypographyAncestor ? type.base : (_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body';
3088
+ var baseOrDefaultToBody = hasTypographyAncestor ? type.base : (_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body-m';
3081
3089
  var typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
3082
-
3083
- // force bold for headings, default to regular for bodies
3084
- var nonNullableVariant = variant !== null && variant !== void 0 ? variant : typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular';
3085
3090
  var fontSizeForNativeBase = createNativeBaseFontSize(_objectSpread(_objectSpread({}, type), {}, {
3086
3091
  base: baseOrDefaultToBody
3087
3092
  }));
3093
+ var _getUniversalFontWeig = getUniversalFontWeight(_objectSpread(_objectSpread({}, type), {}, {
3094
+ base: baseOrDefaultToBody
3095
+ }), variant, typographyFamily),
3096
+ webFontWeight = _getUniversalFontWeig.webFontWeight,
3097
+ nativeFontFamily = _getUniversalFontWeig.nativeFontFamily;
3088
3098
  var currentColor = !color && !hasTypographyAncestor ? defaultColor : color;
3089
3099
  var currentColorValue = getTypographyColorValue(currentColor);
3090
3100
  var colorStyles = sx({
@@ -3092,22 +3102,30 @@ function Typography(_ref) {
3092
3102
  textDecorationColor: currentColorValue
3093
3103
  });
3094
3104
  if (process.env.NODE_ENV !== 'production') {
3095
- Object.entries(type).forEach(function (_ref2) {
3096
- var _ref3 = _slicedToArray(_ref2, 2),
3097
- key = _ref3[0],
3098
- value = _ref3[1];
3105
+ Object.entries(type).forEach(function (_ref3) {
3106
+ var _ref4 = _slicedToArray(_ref3, 2),
3107
+ key = _ref4[0],
3108
+ value = _ref4[1];
3099
3109
  if (value && getTypographyFamily(value) !== typographyFamily) {
3100
3110
  throw new Error("Invalid value for \"".concat(key, "\": \"").concat(value, "\" is ").concat(typographyFamily, ". Don't mix families."));
3101
3111
  }
3102
3112
  });
3103
3113
  }
3104
- var text = /*#__PURE__*/jsx(Text, _objectSpread(_objectSpread({
3114
+ var text = /*#__PURE__*/jsx(Text, _objectSpread(_objectSpread(_objectSpread({
3105
3115
  accessibilityRole: accessibilityRole || undefined,
3106
3116
  fontSize: fontSizeForNativeBase,
3107
3117
  lineHeight: hasTypographyAncestor ? undefined : fontSizeForNativeBase,
3108
- fontWeight: "".concat(typographyFamily, ".").concat(nonNullableVariant),
3109
- fontFamily: "".concat(typographyFamily, ".").concat(nonNullableVariant)
3110
- }, colorStyles), otherProps));
3118
+ fontWeight: webFontWeight,
3119
+ fontFamily: nativeFontFamily,
3120
+ borderBottomWidth: underline ? 1 : undefined,
3121
+ borderBottomColor: underline ? currentColorValue : undefined,
3122
+ textTransform: typographyFamily === 'contentCaps' ? 'uppercase' : undefined
3123
+ }, colorStyles), otherProps), {}, {
3124
+ // The property text-underline-offset is not on native.
3125
+ // To add an underline with an offset, we use a custom borderBottomWidth and color.
3126
+ // and we set underline to undefined to avoid a double underline
3127
+ underline: undefined
3128
+ }));
3111
3129
  var content = baseOrDefaultToBody ? /*#__PURE__*/jsx(TypographyFamilyContext.Provider, {
3112
3130
  value: typographyFamily,
3113
3131
  children: /*#__PURE__*/jsx(TypographyTypeContext.Provider, {
@@ -3154,17 +3172,6 @@ Typography.Header4 = createHeading(4);
3154
3172
  Typography.Header5 = createHeading(5);
3155
3173
  Typography.Header6 = createHeading(6);
3156
3174
 
3157
- /** @deprecated use Typography.Header1 */
3158
- Typography.h1 = createHeading(1, 'header1');
3159
- /** @deprecated use Typography.Header2 */
3160
- Typography.h2 = createHeading(2, 'header2');
3161
- /** @deprecated use Typography.Header3 */
3162
- Typography.h3 = createHeading(3, 'header3');
3163
- /** @deprecated use Typography.Header4 */
3164
- Typography.h4 = createHeading(4, 'header4');
3165
- /** @deprecated use Typography.Header6 */
3166
- Typography.h5 = createHeading(5, 'header5');
3167
-
3168
3175
  function ButtonBadge(_ref) {
3169
3176
  var withBadge = _ref.withBadge,
3170
3177
  badgeCount = _ref.badgeCount;
@@ -3352,7 +3359,7 @@ function ButtonContentChildren(_ref2) {
3352
3359
  textAlign: "center",
3353
3360
  _android: sharedNativeStyle,
3354
3361
  _ios: sharedNativeStyle,
3355
- base: "body",
3362
+ base: "body-m",
3356
3363
  variant: "bold",
3357
3364
  color: color,
3358
3365
  children: children
@@ -3550,7 +3557,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
3550
3557
  onHoverOut: onHoverOut,
3551
3558
  onFocus: onFocus,
3552
3559
  onBlur: onBlur,
3553
- children: function children(_ref2) {
3560
+ children: function (_ref2) {
3554
3561
  var isHovered = _ref2.isHovered,
3555
3562
  isPressed = _ref2.isPressed,
3556
3563
  isFocused = _ref2.isFocused;
@@ -3646,7 +3653,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3646
3653
  stretch: stretch,
3647
3654
  disabled: isLoading ? true : disabled,
3648
3655
  icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
3649
- onPress: function handlePress(e) {
3656
+ onPress: function (e) {
3650
3657
  var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
3651
3658
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3652
3659
  return _regeneratorRuntime().wrap(function (_context) {
@@ -3828,7 +3835,7 @@ function AvatarContent(_ref) {
3828
3835
  };
3829
3836
  if (firstname && lastname) {
3830
3837
  return /*#__PURE__*/jsx(Typography.Text, {
3831
- base: sizeVariant === 'large' ? 'body-large' : 'body-small',
3838
+ base: sizeVariant === 'large' ? 'body-l' : 'body-s',
3832
3839
  variant: sizeVariant === 'large' ? 'bold' : 'regular',
3833
3840
  color: getFontColor(),
3834
3841
  children: getInitials(firstname, lastname)
@@ -3975,7 +3982,7 @@ function CloseButton(_ref) {
3975
3982
  onPress = _ref.onPress;
3976
3983
  var onCloseContextCallback = useOnCloseModalBehaviour();
3977
3984
  return /*#__PURE__*/cloneElement(children, {
3978
- onPress: function handleClose() {
3985
+ onPress: function () {
3979
3986
  if (onPress) onPress();
3980
3987
  onCloseContextCallback();
3981
3988
  }
@@ -4125,7 +4132,7 @@ function CardModalBehaviour(_ref) {
4125
4132
  onClose: onClose,
4126
4133
  children: /*#__PURE__*/jsx(CardModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
4127
4134
  visible: visible,
4128
- onExited: function handleExitAnimationDone() {
4135
+ onExited: function () {
4129
4136
  if (onExited) onExited();
4130
4137
  setIsModalBehaviourVisible(false);
4131
4138
  },
@@ -4324,8 +4331,8 @@ function AnimatedChoiceItemView(_ref) {
4324
4331
 
4325
4332
  var useNativeAnimation$4 = function () {
4326
4333
  return {
4327
- onPressIn: function onPressIn() {},
4328
- onPressOut: function onPressOut() {},
4334
+ onPressIn: function () {},
4335
+ onPressOut: function () {},
4329
4336
  backgroundStyles: undefined
4330
4337
  };
4331
4338
  };
@@ -4382,7 +4389,7 @@ function ChoiceItem(_ref) {
4382
4389
  style: style,
4383
4390
  onBlur: onBlur,
4384
4391
  onFocus: onFocus,
4385
- onPress: function handlePress(e) {
4392
+ onPress: function (e) {
4386
4393
  if (onFocus) onFocus(e);
4387
4394
  if (onPress) onPress();
4388
4395
  handleChange();
@@ -4390,7 +4397,7 @@ function ChoiceItem(_ref) {
4390
4397
  },
4391
4398
  onPressIn: onPressIn,
4392
4399
  onPressOut: onPressOut,
4393
- children: function children(_ref2) {
4400
+ children: function (_ref2) {
4394
4401
  var isHovered = _ref2.isHovered,
4395
4402
  isPressed = _ref2.isPressed;
4396
4403
  return /*#__PURE__*/jsxs(AnimatedChoiceItemView, {
@@ -4486,7 +4493,7 @@ function Choices(_ref2) {
4486
4493
  disabled: disabled,
4487
4494
  variant: variant,
4488
4495
  onPress: !isForm ? onPress : undefined,
4489
- onChange: isForm ? function handleChange(newValue) {
4496
+ onChange: isForm ? function (newValue) {
4490
4497
  setCurrentValue(newValue);
4491
4498
  if (onChange) onChange(newValue);
4492
4499
  } : undefined,
@@ -4623,7 +4630,7 @@ function DialogModalBehaviour(_ref) {
4623
4630
  },
4624
4631
  children: /*#__PURE__*/jsx(DialogModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
4625
4632
  visible: visible,
4626
- onExited: function handleExitAnimationDone() {
4633
+ onExited: function () {
4627
4634
  if (onExited) onExited();
4628
4635
  setIsModalBehaviourVisible(false);
4629
4636
  },
@@ -4923,7 +4930,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
4923
4930
  props = _objectWithoutProperties(_ref, _excluded$z);
4924
4931
  var theme = useTheme();
4925
4932
  var fontSizeForNativeBase = createNativeBaseFontSize({
4926
- base: 'body'
4933
+ base: 'body-m'
4927
4934
  });
4928
4935
  return /*#__PURE__*/jsxs(InputTextContainer, {
4929
4936
  children: [/*#__PURE__*/jsx(Input, _objectSpread(_objectSpread({
@@ -5070,7 +5077,7 @@ function isReactElement(element) {
5070
5077
  return _typeof(element) === 'object' && element !== null && 'type' in element && 'props' in element;
5071
5078
  }
5072
5079
  function Autocomplete(_ref) {
5073
- var _children = _ref.children,
5080
+ var children = _ref.children,
5074
5081
  name = _ref.name,
5075
5082
  disabled = _ref.disabled,
5076
5083
  placeholder = _ref.placeholder,
@@ -5097,7 +5104,7 @@ function Autocomplete(_ref) {
5097
5104
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5098
5105
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5099
5106
  props = _objectWithoutProperties(_ref, _excluded$x);
5100
- var childrenArray = Children.toArray(_children);
5107
+ var childrenArray = Children.toArray(children);
5101
5108
  var items = childrenArray.filter(isReactElement).map(function (child) {
5102
5109
  return {
5103
5110
  child: child,
@@ -5108,12 +5115,12 @@ function Autocomplete(_ref) {
5108
5115
  defaultIsOpen: isInitialOpen,
5109
5116
  initialSelectedItem: initialValue,
5110
5117
  initialInputValue: initialValue ? itemToString(initialValue) : undefined,
5111
- itemToString: function handleItemToString(item) {
5118
+ itemToString: function (item) {
5112
5119
  // Prevents returning null values
5113
5120
  if (!itemToString) return '';
5114
5121
  return itemToString(item || undefined);
5115
5122
  },
5116
- stateReducer: function stateReducer(state, changes) {
5123
+ stateReducer: function (state, changes) {
5117
5124
  switch (changes.type) {
5118
5125
  case Downshift.stateChangeTypes.changeInput:
5119
5126
  return _objectSpread(_objectSpread({}, changes), {}, {
@@ -5123,7 +5130,7 @@ function Autocomplete(_ref) {
5123
5130
  return changes;
5124
5131
  }
5125
5132
  },
5126
- onChange: function onChange(selectedItem, stateAndHelpers) {
5133
+ onChange: function (selectedItem, stateAndHelpers) {
5127
5134
  if (_onChange) {
5128
5135
  _onChange(selectedItem, stateAndHelpers);
5129
5136
  }
@@ -5131,7 +5138,7 @@ function Autocomplete(_ref) {
5131
5138
  onSelect: onSelectItem,
5132
5139
  onOuterClick: onOuterPress,
5133
5140
  onInputValueChange: onInputChange,
5134
- children: function children(_ref2) {
5141
+ children: function (_ref2) {
5135
5142
  var getRootProps = _ref2.getRootProps,
5136
5143
  getInputProps = _ref2.getInputProps,
5137
5144
  getMenuProps = _ref2.getMenuProps,
@@ -5183,20 +5190,20 @@ function Autocomplete(_ref) {
5183
5190
  right: right || (canDisplayCollapseButton ? /*#__PURE__*/jsx(InputPressable, _objectSpread(_objectSpread({}, toggleProps), {}, {
5184
5191
  testID: "kitt.Autocomplete.listToggle",
5185
5192
  hitSlop: 40,
5186
- onPress: function handleTogglePress(e) {
5193
+ onPress: function (e) {
5187
5194
  onClickToggle(e);
5188
5195
  },
5189
5196
  children: /*#__PURE__*/jsx(InputIcon, {
5190
5197
  icon: isCurrentlyOpen ? /*#__PURE__*/jsx(CaretUpFillIcon, {}) : /*#__PURE__*/jsx(CaretDownFillIcon, {})
5191
5198
  })
5192
5199
  })) : null),
5193
- onFocus: function onFocus(e) {
5200
+ onFocus: function (e) {
5194
5201
  openMenu();
5195
5202
  /** @ts-expect-error onFocus wants web events */
5196
5203
  if (onSearchInputFocus) onSearchInputFocus(e);
5197
5204
  if (_onFocus) _onFocus(e);
5198
5205
  },
5199
- onBlur: function onBlur(e) {
5206
+ onBlur: function (e) {
5200
5207
  /** @ts-expect-error onBlur wants web events */
5201
5208
  if (onSearchInputBlur) onSearchInputBlur(e);
5202
5209
 
@@ -5232,10 +5239,10 @@ function Autocomplete(_ref) {
5232
5239
  selected: ariaSelected
5233
5240
  },
5234
5241
  disabled: disabled,
5235
- onPress: function onPress(e) {
5242
+ onPress: function (e) {
5236
5243
  if (onClick) onClick(e);
5237
5244
  },
5238
- children: function children(_ref5) {
5245
+ children: function (_ref5) {
5239
5246
  var isHovered = _ref5.isHovered,
5240
5247
  isFocused = _ref5.isFocused,
5241
5248
  isPressed = _ref5.isPressed;
@@ -5325,12 +5332,12 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5325
5332
  disabled: disabled
5326
5333
  },
5327
5334
  disabled: disabled,
5328
- onPress: function handlePress(e) {
5335
+ onPress: function (e) {
5329
5336
  if (onFocus) onFocus();
5330
5337
  if (onChange) onChange(!checked, e);
5331
5338
  if (onBlur) onBlur();
5332
5339
  },
5333
- children: function children(_ref2) {
5340
+ children: function (_ref2) {
5334
5341
  var isHovered = _ref2.isHovered,
5335
5342
  isPressed = _ref2.isPressed,
5336
5343
  isFocused = _ref2.isFocused;
@@ -6139,10 +6146,10 @@ var GoogleMapsAutocompleteContext = /*#__PURE__*/createContext({
6139
6146
  isLoadingResultDetails: false,
6140
6147
  shouldDisplayEmptyStateWhenNoResults: false
6141
6148
  },
6142
- onInputChange: function onInputChange() {
6149
+ onInputChange: function () {
6143
6150
  return Promise.resolve();
6144
6151
  },
6145
- onSelectItem: function onSelectItem() {}
6152
+ onSelectItem: function () {}
6146
6153
  });
6147
6154
  function GoogleMapsAutocompleteProvider(_ref) {
6148
6155
  var children = _ref.children,
@@ -6395,7 +6402,7 @@ function InputAddress(_ref) {
6395
6402
  return /*#__PURE__*/jsx(Autocomplete, _objectSpread(_objectSpread({}, props), {}, {
6396
6403
  itemToString: itemToString,
6397
6404
  initialValue: formattedInitialValue,
6398
- checkSelectedItem: function checkSelectedItem(selectedItem, item) {
6405
+ checkSelectedItem: function (selectedItem, item) {
6399
6406
  return (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.place_id) === item.place_id;
6400
6407
  },
6401
6408
  right: state.isLoadingSearch || state.isLoadingResultDetails ? /*#__PURE__*/jsx(Icon, {
@@ -6404,10 +6411,10 @@ function InputAddress(_ref) {
6404
6411
  }) : undefined,
6405
6412
  errorElement: state.hasSearchError || state.hasSelectResultError ? errorElement : null,
6406
6413
  emptyResultsElement: state.items.length === 0 ? emptyResultsElement : null,
6407
- onInputChange: function onInputChange(v) {
6414
+ onInputChange: function (v) {
6408
6415
  _onInputChange(v);
6409
6416
  },
6410
- onChange: function onChange(v) {
6417
+ onChange: function (v) {
6411
6418
  onSelectItem(v, _onChange);
6412
6419
  },
6413
6420
  children: state.items.map(function (item) {
@@ -6443,7 +6450,7 @@ function InputFeedback(_ref) {
6443
6450
  testID = _ref.testID,
6444
6451
  children = _ref.children;
6445
6452
  return /*#__PURE__*/jsx(Typography.Text, {
6446
- base: "body-small",
6453
+ base: "body-s",
6447
6454
  color: getColorFromState(state),
6448
6455
  testID: testID,
6449
6456
  children: children
@@ -6489,7 +6496,7 @@ var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
6489
6496
  ref: ref
6490
6497
  }, props), {}, {
6491
6498
  inputMode: "numeric",
6492
- onChange: function handleChange(event) {
6499
+ onChange: function (event) {
6493
6500
  if (!onChange) return;
6494
6501
  var value = parseFloat(event.nativeEvent.text);
6495
6502
 
@@ -6521,7 +6528,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
6521
6528
  testID: "kitt.InputPassword.passwordToggle",
6522
6529
  hitSlop: 20,
6523
6530
  accessibilityRole: "button",
6524
- onPress: function onPress() {
6531
+ onPress: function () {
6525
6532
  return setIsVisible(function (prev) {
6526
6533
  return !prev;
6527
6534
  });
@@ -6556,7 +6563,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
6556
6563
  enterKeyHint: currentEnterKeyHint,
6557
6564
  autoComplete: autoComplete,
6558
6565
  textContentType: "telephoneNumber",
6559
- onChange: function handleChange(event) {
6566
+ onChange: function (event) {
6560
6567
  var number = parseNumber(event.nativeEvent.text);
6561
6568
 
6562
6569
  // When intl phone number is valid :
@@ -6605,7 +6612,7 @@ function InputTag(_ref) {
6605
6612
  color: "black"
6606
6613
  })
6607
6614
  }) : null, /*#__PURE__*/jsx(Typography.Text, {
6608
- base: "body-small",
6615
+ base: "body-s",
6609
6616
  color: "black",
6610
6617
  children: children
6611
6618
  })]
@@ -6617,7 +6624,7 @@ function Label(_ref) {
6617
6624
  htmlFor = _ref.htmlFor,
6618
6625
  children = _ref.children;
6619
6626
  return /*#__PURE__*/jsx(Typography.Text, {
6620
- base: "body",
6627
+ base: "body-m",
6621
6628
  id: undefined,
6622
6629
  children: /*#__PURE__*/jsx("label", {
6623
6630
  id: id,
@@ -6628,7 +6635,8 @@ function Label(_ref) {
6628
6635
  }
6629
6636
 
6630
6637
  function InnerCircle(_ref) {
6631
- var isChecked = _ref.isChecked;
6638
+ var isChecked = _ref.isChecked,
6639
+ isDisabled = _ref.isDisabled;
6632
6640
  var theme = useTheme();
6633
6641
  var sharedTransform = [{
6634
6642
  scale: isChecked ? 1 : 0
@@ -6637,7 +6645,7 @@ function InnerCircle(_ref) {
6637
6645
  width: "kitt.forms.radio.innerCircle.size",
6638
6646
  height: "kitt.forms.radio.innerCircle.size",
6639
6647
  borderRadius: "kitt.forms.radio.innerCircle.borderRadius",
6640
- backgroundColor: "kitt.forms.radio.innerCircle.backgroundColor",
6648
+ backgroundColor: isDisabled ? 'kitt.forms.radio.disabled.innerBackgroundColor' : 'kitt.forms.radio.innerCircle.backgroundColor',
6641
6649
  _web: {
6642
6650
  style: {
6643
6651
  transform: "scale(".concat(isChecked ? 1 : 0, "))"),
@@ -6747,14 +6755,14 @@ function Radio(_ref, ref) {
6747
6755
  focusable: checked && !disabled,
6748
6756
  flexDirection: "row",
6749
6757
  alignItems: "center",
6750
- onPress: function handlePress(event) {
6758
+ onPress: function (event) {
6751
6759
  if (onFocus) onFocus();
6752
6760
  if (onChange) onChange(value, event);
6753
6761
  if (onBlur) onBlur();
6754
6762
  },
6755
6763
  onFocus: onFocus,
6756
6764
  onBlur: onBlur,
6757
- children: function children(_ref2) {
6765
+ children: function (_ref2) {
6758
6766
  var isHovered = _ref2.isHovered,
6759
6767
  isPressed = _ref2.isPressed,
6760
6768
  isFocused = _ref2.isFocused;
@@ -6768,12 +6776,13 @@ function Radio(_ref, ref) {
6768
6776
  isFocused: isFocused,
6769
6777
  isPressed: isPressed,
6770
6778
  children: /*#__PURE__*/jsx(InnerCircle, {
6771
- isChecked: checked
6779
+ isChecked: checked,
6780
+ isDisabled: disabled
6772
6781
  })
6773
6782
  }), _children ? /*#__PURE__*/jsx(Typography.SetDefaultColor, {
6774
6783
  value: disabled ? 'black-light' : 'black',
6775
6784
  children: /*#__PURE__*/jsx(Typography.Text, {
6776
- base: "body",
6785
+ base: "body-m",
6777
6786
  children: _children
6778
6787
  })
6779
6788
  }) : null]
@@ -6894,7 +6903,7 @@ function getCurrentTextColor(_ref) {
6894
6903
  isPressed = _ref.isPressed,
6895
6904
  isHovered = _ref.isHovered,
6896
6905
  isFocused = _ref.isFocused;
6897
- if (isDisabled) return 'black-light';
6906
+ if (isDisabled) return 'kitt.forms.radioButtonGroup.font.disabled.color';
6898
6907
  if (isSelected) return 'white';
6899
6908
  if (isPressed) return 'white';
6900
6909
  if (isFocused) return 'white';
@@ -6929,7 +6938,7 @@ function RadioButton(_ref) {
6929
6938
  flexShrink: createResponsiveStyleFromProp(stretch, 1, undefined),
6930
6939
  flexBasis: createResponsiveStyleFromProp(stretch, 0),
6931
6940
  disabled: disabled,
6932
- onPress: function handlePress(e) {
6941
+ onPress: function (e) {
6933
6942
  if (onFocus) onFocus(e);
6934
6943
  if (onChange) onChange(value);
6935
6944
  if (onBlur) onBlur(e);
@@ -6938,7 +6947,7 @@ function RadioButton(_ref) {
6938
6947
  onPressOut: onPressOut,
6939
6948
  onFocus: onFocus,
6940
6949
  onBlur: onBlur,
6941
- children: function children(_ref2) {
6950
+ children: function (_ref2) {
6942
6951
  var isHovered = _ref2.isHovered,
6943
6952
  isPressed = _ref2.isPressed,
6944
6953
  isFocused = _ref2.isFocused;
@@ -7057,7 +7066,7 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
7057
7066
  textAlignVertical: "top",
7058
7067
  minHeight: "kitt.forms.textArea.minHeight"
7059
7068
  }, props), {}, {
7060
- onChange: function handleOnChange(e) {
7069
+ onChange: function (e) {
7061
7070
  if (!limit || e.nativeEvent.text.length <= limit) {
7062
7071
  var _props$onChange;
7063
7072
  (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, e);
@@ -7067,7 +7076,7 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
7067
7076
  marginTop: "kitt.1",
7068
7077
  children: [helper ? /*#__PURE__*/jsx(Typography.Text, {
7069
7078
  base: "body-s",
7070
- color: lateOceanColorPalette['eggshell.10'],
7079
+ color: deepPurpleColorPalette['grey.5'],
7071
7080
  children: helper
7072
7081
  }) : null, shouldDisplayLimit ? /*#__PURE__*/jsx(Animated.View, {
7073
7082
  style: limitContainerAnimatedStyle,
@@ -7077,14 +7086,14 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
7077
7086
  children: [/*#__PURE__*/jsxs(Typography.Text, {
7078
7087
  base: "body-xs",
7079
7088
  variant: "bold",
7080
- color: lateOceanColorPalette['eggshell.10'],
7089
+ color: deepPurpleColorPalette['grey.5'],
7081
7090
  children: [((_props$value2 = props.value) === null || _props$value2 === void 0 ? void 0 : _props$value2.length) || 0, "/", limit]
7082
7091
  }), /*#__PURE__*/jsx(Animated.View, {
7083
7092
  style: checkIconAnimatedStyle,
7084
7093
  children: /*#__PURE__*/jsx(TypographyIcon, {
7085
7094
  icon: /*#__PURE__*/jsx(CheckCircleFillIcon, {}),
7086
7095
  size: 13,
7087
- color: lateOceanColorPalette['eggshell.10']
7096
+ color: deepPurpleColorPalette['grey.5']
7088
7097
  })
7089
7098
  })]
7090
7099
  })
@@ -7192,7 +7201,7 @@ function ToggleAnimated(_ref) {
7192
7201
 
7193
7202
  var _excluded$n = ["isDisabled", "isHoveredInternal", "isFocusedInternal", "isPressedInternal", "label", "variant", "size", "value", "onChange"];
7194
7203
  var getLabelTypographyType = function (size) {
7195
- return size === 'medium' ? 'body' : 'body-medium';
7204
+ return size === 'medium' ? 'body-m' : 'body-l';
7196
7205
  };
7197
7206
  function Toggle(_ref) {
7198
7207
  var _ref$isDisabled = _ref.isDisabled,
@@ -7220,10 +7229,10 @@ function Toggle(_ref) {
7220
7229
  children: [/*#__PURE__*/jsx(Pressable, {
7221
7230
  accessibilityRole: "togglebutton",
7222
7231
  disabled: isDisabled,
7223
- onPress: function handlePress() {
7232
+ onPress: function () {
7224
7233
  onChange(!value);
7225
7234
  },
7226
- children: function children(_ref2) {
7235
+ children: function (_ref2) {
7227
7236
  var isHovered = _ref2.isHovered,
7228
7237
  isPressed = _ref2.isPressed,
7229
7238
  isFocused = _ref2.isFocused;
@@ -7388,7 +7397,7 @@ function FullscreenModalBehaviour(_ref) {
7388
7397
  onClose: onClose,
7389
7398
  children: /*#__PURE__*/jsx(FullscreenModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
7390
7399
  visible: visible,
7391
- onExited: function handleExitAnimationDone() {
7400
+ onExited: function () {
7392
7401
  if (onExited) onExited();
7393
7402
  setIsModalBehaviourVisible(false);
7394
7403
  },
@@ -7673,7 +7682,7 @@ function Highlight(_ref) {
7673
7682
  marginBottom: highlightStyle[size].marginBottom,
7674
7683
  children: /*#__PURE__*/jsx(Typography.Text, {
7675
7684
  variant: "bold",
7676
- base: "body",
7685
+ base: "body-m",
7677
7686
  ellipsizeMode: "clip",
7678
7687
  children: title
7679
7688
  })
@@ -7683,13 +7692,13 @@ function Highlight(_ref) {
7683
7692
  });
7684
7693
  }
7685
7694
  return /*#__PURE__*/jsx(Pressable, {
7686
- onPress: function handlePress() {
7695
+ onPress: function () {
7687
7696
  setIsExpanded(!isExpanded);
7688
7697
  setIsInitialRender(false);
7689
7698
  },
7690
7699
  onPressIn: onPressIn,
7691
7700
  onPressOut: onPressOut,
7692
- children: function children(_ref2) {
7701
+ children: function (_ref2) {
7693
7702
  var isHovered = _ref2.isHovered;
7694
7703
  return /*#__PURE__*/jsxs(AnimatedContainer, {
7695
7704
  isHovered: isHovered,
@@ -7708,7 +7717,7 @@ function Highlight(_ref) {
7708
7717
  width: "100%",
7709
7718
  children: /*#__PURE__*/jsx(Typography.Text, {
7710
7719
  variant: "bold",
7711
- base: "body",
7720
+ base: "body-m",
7712
7721
  ellipsizeMode: "clip",
7713
7722
  children: title
7714
7723
  })
@@ -7852,8 +7861,8 @@ function useNativeAnimation$1() {
7852
7861
  return {
7853
7862
  opacityStyles: undefined,
7854
7863
  scaleStyles: undefined,
7855
- onPressIn: function onPressIn() {},
7856
- onPressOut: function onPressOut() {}
7864
+ onPressIn: function () {},
7865
+ onPressOut: function () {}
7857
7866
  };
7858
7867
  }
7859
7868
 
@@ -7927,7 +7936,7 @@ function IconButton(_ref) {
7927
7936
  onPress: onPress,
7928
7937
  onPressIn: onPressIn,
7929
7938
  onPressOut: onPressOut,
7930
- children: function children(_ref2) {
7939
+ children: function (_ref2) {
7931
7940
  var isHovered = _ref2.isHovered,
7932
7941
  isPressed = _ref2.isPressed,
7933
7942
  isFocused = _ref2.isFocused;
@@ -8012,8 +8021,8 @@ function InfoCard(_ref) {
8012
8021
  flexShrink: 1,
8013
8022
  flexBasis: "auto",
8014
8023
  children: /*#__PURE__*/jsx(Typography.Text, {
8015
- base: "body-small",
8016
- medium: "body",
8024
+ base: "body-s",
8025
+ medium: "body-m",
8017
8026
  style: {
8018
8027
  userSelect: 'none'
8019
8028
  },
@@ -8339,7 +8348,7 @@ function MapMarker(_ref2) {
8339
8348
  return /*#__PURE__*/jsx(Pressable$1, {
8340
8349
  testID: testID,
8341
8350
  onPress: onPress,
8342
- children: function children(_ref3) {
8351
+ children: function (_ref3) {
8343
8352
  var isHovered = _ref3.isHovered;
8344
8353
  return /*#__PURE__*/jsx(StaticMapMarker$1, _objectSpread(_objectSpread({}, props), {}, {
8345
8354
  isHovered: isHovered
@@ -8426,7 +8435,7 @@ function BaseMessage(_ref) {
8426
8435
  flexGrow: 1,
8427
8436
  flexShrink: 1,
8428
8437
  textAlign: centeredText ? 'center' : 'left',
8429
- base: "body",
8438
+ base: "body-m",
8430
8439
  color: color,
8431
8440
  children: children
8432
8441
  })]
@@ -8710,6 +8719,11 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8710
8719
  item: {
8711
8720
  borderColor: theme.forms.radioButtonGroup.item.borderColor,
8712
8721
  backgroundColor: theme.forms.radioButtonGroup.item.backgroundColor
8722
+ },
8723
+ font: {
8724
+ disabled: {
8725
+ color: theme.forms.radioButtonGroup.item.font.color.disabled
8726
+ }
8713
8727
  }
8714
8728
  },
8715
8729
  checkbox: {
@@ -9024,7 +9038,8 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9024
9038
  },
9025
9039
  disabled: {
9026
9040
  backgroundColor: theme.forms.radio.disabled.backgroundColor,
9027
- borderColor: theme.forms.radio.disabled.borderColor
9041
+ borderColor: theme.forms.radio.disabled.borderColor,
9042
+ innerBackgroundColor: theme.forms.radio.disabled.innerBackgroundColor
9028
9043
  },
9029
9044
  "default": {
9030
9045
  backgroundColor: theme.forms.radio.unchecked.backgroundColor,
@@ -9578,22 +9593,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9578
9593
  },
9579
9594
  listItem: {
9580
9595
  borderWidth: theme.listItem.borderWidth
9581
- },
9582
- tag: {
9583
- variant: {
9584
- subtle: {
9585
- borderWidth: theme.tag.variant.subtle.borderWidth
9586
- },
9587
- fill: {
9588
- borderWidth: theme.tag.variant.fill.borderWidth
9589
- },
9590
- outline: {
9591
- borderWidth: theme.tag.variant.outline.borderWidth
9592
- },
9593
- contrast: {
9594
- borderWidth: theme.tag.variant.contrast.borderWidth
9595
- }
9596
- }
9597
9596
  }
9598
9597
  },
9599
9598
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
@@ -10212,196 +10211,71 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10212
10211
  '2xl': Number.MAX_SAFE_INTEGER
10213
10212
  }, appBreakpoints),
10214
10213
  fontSizes: {
10215
- baseAndSmall: {
10216
- /* legacy */
10217
- header1: "".concat(theme.typography.types.headings.configs.header1.baseAndSmall.fontSize, "px"),
10218
- header2: "".concat(theme.typography.types.headings.configs.header2.baseAndSmall.fontSize, "px"),
10219
- header3: "".concat(theme.typography.types.headings.configs.header3.baseAndSmall.fontSize, "px"),
10220
- header4: "".concat(theme.typography.types.headings.configs.header4.baseAndSmall.fontSize, "px"),
10221
- header5: "".concat(theme.typography.types.headings.configs.header5.baseAndSmall.fontSize, "px"),
10222
- 'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize, "px"),
10223
- 'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize, "px"),
10224
- body: "".concat(theme.typography.types.bodies.configs.body.baseAndSmall.fontSize, "px"),
10225
- 'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize, "px"),
10226
- 'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize, "px"),
10227
- 'header-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.fontSize, "px"),
10228
- 'header-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.fontSize, "px"),
10229
- 'header-impact-l': "".concat(theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.fontSize, "px"),
10230
- 'header-impact-m': "".concat(theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.fontSize, "px"),
10231
- 'header-impact-s': "".concat(theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.fontSize, "px"),
10232
- 'header-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.fontSize, "px"),
10233
- 'header-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.fontSize, "px"),
10234
- 'header-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.fontSize, "px"),
10235
- /* latest */
10236
- 'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize, "px"),
10237
- 'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize, "px"),
10238
- 'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize, "px"),
10239
- 'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize, "px"),
10240
- 'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize, "px"),
10241
- 'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize, "px"),
10242
- 'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize, "px"),
10243
- 'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize, "px"),
10244
- 'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize, "px"),
10245
- 'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize, "px"),
10246
- 'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize, "px"),
10247
- 'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize, "px"),
10248
- 'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize, "px"),
10249
- 'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize, "px"),
10250
- 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize, "px"),
10251
- 'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize, "px"),
10252
- 'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize, "px"),
10253
- 'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize, "px"),
10254
- 'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize, "px"),
10255
- 'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize, "px")
10256
- },
10257
- mediumAndWide: {
10258
- /* legacy */
10259
- header1: "".concat(theme.typography.types.headings.configs.header1.mediumAndWide.fontSize, "px"),
10260
- header2: "".concat(theme.typography.types.headings.configs.header2.mediumAndWide.fontSize, "px"),
10261
- header3: "".concat(theme.typography.types.headings.configs.header3.mediumAndWide.fontSize, "px"),
10262
- header4: "".concat(theme.typography.types.headings.configs.header4.mediumAndWide.fontSize, "px"),
10263
- header5: "".concat(theme.typography.types.headings.configs.header5.mediumAndWide.fontSize, "px"),
10264
- 'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize, "px"),
10265
- 'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize, "px"),
10266
- body: "".concat(theme.typography.types.bodies.configs.body.mediumAndWide.fontSize, "px"),
10267
- 'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize, "px"),
10268
- 'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize, "px"),
10269
- 'header-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize, "px"),
10270
- 'header-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize, "px"),
10271
- 'header-impact-l': "".concat(theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize, "px"),
10272
- 'header-impact-m': "".concat(theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize, "px"),
10273
- 'header-impact-s': "".concat(theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize, "px"),
10274
- 'header-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize, "px"),
10275
- 'header-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize, "px"),
10276
- 'header-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize, "px"),
10277
- /* latest */
10278
- 'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize, "px"),
10279
- 'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize, "px"),
10280
- 'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize, "px"),
10281
- 'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize, "px"),
10282
- 'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize, "px"),
10283
- 'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize, "px"),
10284
- 'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize, "px"),
10285
- 'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize, "px"),
10286
- 'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize, "px"),
10287
- 'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize, "px"),
10288
- 'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize, "px"),
10289
- 'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize, "px"),
10290
- 'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize, "px"),
10291
- 'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize, "px"),
10292
- 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize, "px"),
10293
- 'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize, "px"),
10294
- 'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize, "px"),
10295
- 'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize, "px"),
10296
- 'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize, "px"),
10297
- 'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize, "px")
10298
- }
10214
+ 'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].fontSize, "px"),
10215
+ 'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].fontSize, "px"),
10216
+ 'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].fontSize, "px"),
10217
+ 'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
10218
+ 'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
10219
+ 'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
10220
+ 'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
10221
+ 'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
10222
+ 'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
10223
+ 'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].fontSize, "px"),
10224
+ 'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].fontSize, "px"),
10225
+ 'label-large': "".concat(theme.typography.types.labels.configs['label-large'].fontSize, "px"),
10226
+ 'label-medium': "".concat(theme.typography.types.labels.configs['label-medium'].fontSize, "px"),
10227
+ 'content-caps-xxxl': "".concat(theme.typography.types.contentCaps.configs['content-caps-xxxl'].fontSize, "px"),
10228
+ 'content-caps-xxl': "".concat(theme.typography.types.contentCaps.configs['content-caps-xxl'].fontSize, "px"),
10229
+ 'content-caps-xl': "".concat(theme.typography.types.contentCaps.configs['content-caps-xl'].fontSize, "px"),
10230
+ 'content-caps-l': "".concat(theme.typography.types.contentCaps.configs['content-caps-l'].fontSize, "px"),
10231
+ 'content-caps-m': "".concat(theme.typography.types.contentCaps.configs['content-caps-m'].fontSize, "px"),
10232
+ 'content-caps-s': "".concat(theme.typography.types.contentCaps.configs['content-caps-s'].fontSize, "px"),
10233
+ 'content-caps-xs': "".concat(theme.typography.types.contentCaps.configs['content-caps-xs'].fontSize, "px")
10299
10234
  },
10300
10235
  lineHeights: {
10301
- baseAndSmall: {
10302
- /* legacy */
10303
- header1: theme.typography.types.headings.configs.header1.baseAndSmall.lineHeight,
10304
- header2: theme.typography.types.headings.configs.header2.baseAndSmall.lineHeight,
10305
- header3: theme.typography.types.headings.configs.header3.baseAndSmall.lineHeight,
10306
- header4: theme.typography.types.headings.configs.header4.baseAndSmall.lineHeight,
10307
- header5: theme.typography.types.headings.configs.header5.baseAndSmall.lineHeight,
10308
- 'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
10309
- 'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
10310
- body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
10311
- 'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
10312
- 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight,
10313
- 'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.lineHeight,
10314
- 'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.lineHeight,
10315
- 'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.lineHeight,
10316
- 'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.lineHeight,
10317
- 'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.lineHeight,
10318
- 'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.lineHeight,
10319
- 'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.lineHeight,
10320
- 'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.lineHeight,
10321
- /* latest */
10322
- 'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight, "px"),
10323
- 'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight, "px"),
10324
- 'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight, "px"),
10325
- 'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight, "px"),
10326
- 'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight, "px"),
10327
- 'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight, "px"),
10328
- 'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight, "px"),
10329
- 'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight, "px"),
10330
- 'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight, "px"),
10331
- 'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight, "px"),
10332
- 'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight, "px"),
10333
- 'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight, "px"),
10334
- 'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight, "px"),
10335
- 'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight, "px"),
10336
- 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight, "px"),
10337
- 'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight, "px"),
10338
- 'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight, "px"),
10339
- 'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight, "px"),
10340
- 'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight, "px"),
10341
- 'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight, "px")
10342
- },
10343
- mediumAndWide: {
10344
- /* legacy */
10345
- header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,
10346
- header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,
10347
- header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,
10348
- header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,
10349
- header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,
10350
- 'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
10351
- 'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
10352
- body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
10353
- 'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
10354
- 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,
10355
- 'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,
10356
- 'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,
10357
- 'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,
10358
- 'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,
10359
- 'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,
10360
- 'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,
10361
- 'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,
10362
- 'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,
10363
- /* latest */
10364
- 'heading-impact-xxl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight, "px"),
10365
- 'heading-impact-xl': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight, "px"),
10366
- 'heading-impact-l': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight, "px"),
10367
- 'heading-impact-m': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight, "px"),
10368
- 'heading-impact-s': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight, "px"),
10369
- 'heading-impact-xs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight, "px"),
10370
- 'heading-impact-xxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight, "px"),
10371
- 'heading-impact-xxxs': "".concat(theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight, "px"),
10372
- 'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight, "px"),
10373
- 'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight, "px"),
10374
- 'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight, "px"),
10375
- 'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight, "px"),
10376
- 'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight, "px"),
10377
- 'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight, "px"),
10378
- 'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight, "px"),
10379
- 'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight, "px"),
10380
- 'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight, "px"),
10381
- 'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight, "px"),
10382
- 'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight, "px"),
10383
- 'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight, "px")
10384
- }
10236
+ 'heading-xxl': "".concat(theme.typography.types.headings.configs['heading-xxl'].lineHeight, "px"),
10237
+ 'heading-xl': "".concat(theme.typography.types.headings.configs['heading-xl'].lineHeight, "px"),
10238
+ 'heading-l': "".concat(theme.typography.types.headings.configs['heading-l'].lineHeight, "px"),
10239
+ 'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
10240
+ 'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
10241
+ 'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
10242
+ 'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
10243
+ 'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
10244
+ 'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
10245
+ 'body-s': "".concat(theme.typography.types.bodies.configs['body-s'].lineHeight, "px"),
10246
+ 'body-xs': "".concat(theme.typography.types.bodies.configs['body-xs'].lineHeight, "px"),
10247
+ 'label-large': "".concat(theme.typography.types.labels.configs['label-large'].lineHeight, "px"),
10248
+ 'label-medium': "".concat(theme.typography.types.labels.configs['label-medium'].lineHeight, "px"),
10249
+ 'content-caps-xxxl': "".concat(theme.typography.types.contentCaps.configs['content-caps-xxxl'].lineHeight, "px"),
10250
+ 'content-caps-xxl': "".concat(theme.typography.types.contentCaps.configs['content-caps-xxl'].lineHeight, "px"),
10251
+ 'content-caps-xl': "".concat(theme.typography.types.contentCaps.configs['content-caps-xl'].lineHeight, "px"),
10252
+ 'content-caps-l': "".concat(theme.typography.types.contentCaps.configs['content-caps-l'].lineHeight, "px"),
10253
+ 'content-caps-m': "".concat(theme.typography.types.contentCaps.configs['content-caps-m'].lineHeight, "px"),
10254
+ 'content-caps-s': "".concat(theme.typography.types.contentCaps.configs['content-caps-s'].lineHeight, "px"),
10255
+ 'content-caps-xs': "".concat(theme.typography.types.contentCaps.configs['content-caps-xs'].lineHeight, "px")
10385
10256
  },
10386
10257
  fontWeights: {
10387
10258
  headings: {
10388
10259
  regular: theme.typography.types.headings.fontWeight.regular,
10389
10260
  bold: theme.typography.types.headings.fontWeight.bold
10390
10261
  },
10391
- 'headings-impact': {
10392
- regular: theme.typography.types['headings-impact'].fontWeight,
10393
- bold: theme.typography.types['headings-impact'].fontWeight
10394
- },
10395
10262
  bodies: {
10396
10263
  regular: theme.typography.types.bodies.fontWeight.regular,
10397
10264
  // TODO [https://ornikar.atlassian.net/browse/CME-767] This quick fix should be replaced by a 700 in every case, and native font weights should be handled by expo-fonts
10398
10265
  bold: theme.typography.types.bodies.fontWeight.bold
10266
+ },
10267
+ labels: {
10268
+ semibold: theme.typography.types.labels.fontWeight.semibold
10269
+ },
10270
+ contentCaps: {
10271
+ bold: theme.typography.types.contentCaps.fontWeight.bold
10399
10272
  }
10400
10273
  },
10401
10274
  fonts: {
10402
10275
  headings: theme.typography.types.headings.fontFamily.web,
10403
- 'headings-impact': theme.typography.types['headings-impact'].fontFamily.web,
10404
- bodies: theme.typography.types.bodies.fontFamily.web
10276
+ bodies: theme.typography.types.bodies.fontFamily.web,
10277
+ labels: theme.typography.types.labels.fontFamily.web,
10278
+ contentCaps: theme.typography.types.contentCaps.fontFamily.web
10405
10279
  },
10406
10280
  shadows: {
10407
10281
  kitt: {
@@ -10896,7 +10770,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10896
10770
  _disabled: {
10897
10771
  placeholderTextColor: theme.forms.input.states.disabled.color,
10898
10772
  color: theme.forms.input.states.disabled.color,
10899
- borderColor: theme.forms.input.states.disabled.borderColor,
10773
+ borderColor: theme.forms.input.states.disabled.backgroundColor,
10900
10774
  bg: theme.forms.input.states.disabled.backgroundColor
10901
10775
  }
10902
10776
  }
@@ -10926,7 +10800,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10926
10800
  fontStyle: theme.typography.types.bodies.fontStyle.regular,
10927
10801
  fontWeight: theme.typography.types.bodies.fontWeight.regular,
10928
10802
  fontSize: undefined,
10929
- lineHeight: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight
10803
+ lineHeight: theme.typography.types.bodies.configs['body-m'].lineHeight
10930
10804
  }
10931
10805
  }
10932
10806
  }
@@ -11054,19 +10928,19 @@ function NavigationModalBehaviour(_ref) {
11054
10928
  children: /*#__PURE__*/jsx(AnimationComponent, _objectSpread(_objectSpread({}, props), {}, {
11055
10929
  appear: shouldAppear,
11056
10930
  visible: visible,
11057
- onEnter: function handleEnter() {
10931
+ onEnter: function () {
11058
10932
  if (onEnter) onEnter();
11059
10933
 
11060
10934
  // Once a children as been displayed, we force appear to false in order to avoid replaying animation on breakpoint change
11061
10935
  setShouldAppear(false);
11062
10936
  },
11063
- onExit: function handleExit() {
10937
+ onExit: function () {
11064
10938
  if (onExit) onExit();
11065
10939
 
11066
10940
  // Reset appear value to its original value for future modal display
11067
10941
  setShouldAppear(appear);
11068
10942
  },
11069
- onExited: function handleExitAnimationDone() {
10943
+ onExited: function () {
11070
10944
  if (onExited) onExited();
11071
10945
  setIsModalBehaviourVisible(false);
11072
10946
  },
@@ -11271,7 +11145,7 @@ function PickerOption(_ref) {
11271
11145
  isSelected = _ref.isSelected;
11272
11146
  return /*#__PURE__*/jsx(Typography.Text, {
11273
11147
  testID: testID,
11274
- base: "body",
11148
+ base: "body-m",
11275
11149
  children: typeof children === 'function' ? children({
11276
11150
  isHighlighted: isHighlighted,
11277
11151
  isSelected: isSelected
@@ -11332,18 +11206,18 @@ function Picker(_ref) {
11332
11206
  items: items,
11333
11207
  initialSelectedItem: initialValueIndex > -1 ? items[initialValueIndex] : undefined,
11334
11208
  initialIsOpen: isInitialOpen,
11335
- stateReducer: function stateReducer(state, actionAndChanges) {
11209
+ stateReducer: function (state, actionAndChanges) {
11336
11210
  return webUseSelectReducer(state, actionAndChanges, {
11337
11211
  keepOpenOnChange: keepOpenOnChange
11338
11212
  });
11339
11213
  },
11340
11214
  selectedItem: syncStateWithSourceValue ? sourceValue : undefined,
11341
- onIsOpenChange: function onIsOpenChange(changes) {
11215
+ onIsOpenChange: function (changes) {
11342
11216
  if (changes.isOpen === false) {
11343
11217
  if (onClose) onClose();
11344
11218
  }
11345
11219
  },
11346
- onSelectedItemChange: function onSelectedItemChange(changes) {
11220
+ onSelectedItemChange: function (changes) {
11347
11221
  if (!onChange) return;
11348
11222
  if (changes.selectedItem === null) {
11349
11223
  onChange(undefined);
@@ -11503,8 +11377,9 @@ function SegmentedProgressBar(_ref) {
11503
11377
  _ref$colorVariant = _ref.colorVariant,
11504
11378
  colorVariant = _ref$colorVariant === void 0 ? 'primary' : _ref$colorVariant,
11505
11379
  withCurrentInProgress = _ref.withCurrentInProgress;
11380
+ var kittTheme = useKittTheme();
11506
11381
  var height = size === 'small' ? 'kitt.2' : 'kitt.4';
11507
- var fillColor = colorVariant === 'validated' ? 'kitt.palettes.lateOcean.viride' : 'kitt.palettes.lateOcean.lateOceanLight1';
11382
+ var fillColor = colorVariant === 'validated' ? kittTheme.kitt.palettes.deepPurple['green.6'] : kittTheme.kitt.palettes.deepPurple['deepPurple.8'];
11508
11383
  var steps = _toConsumableArray(Array.from({
11509
11384
  length: stepsCount
11510
11385
  }).keys());
@@ -11515,13 +11390,13 @@ function SegmentedProgressBar(_ref) {
11515
11390
  overflow: "hidden",
11516
11391
  children: steps.map(function (stepNumber) {
11517
11392
  var isSegmentCurrentInProgress = withCurrentInProgress && stepNumber === currentStep - 1;
11518
- var color = stepNumber < currentStep ? fillColor : 'kitt.palettes.lateOcean.black50';
11393
+ var color = stepNumber < currentStep ? fillColor : kittTheme.kitt.palettes.deepPurple['beige.1'];
11519
11394
  return /*#__PURE__*/jsx(View$1, {
11520
11395
  height: "100%",
11521
11396
  flexGrow: 1,
11522
11397
  flexShrink: 1,
11523
11398
  flexBasis: 0,
11524
- backgroundColor: isSegmentCurrentInProgress ? 'kitt.palettes.lateOcean.lateOceanLight3' : color,
11399
+ backgroundColor: isSegmentCurrentInProgress ? kittTheme.kitt.palettes.deepPurple['deepPurple.5'] : color,
11525
11400
  borderRadius: 2,
11526
11401
  overflow: "hidden",
11527
11402
  alignItems: "center",
@@ -11561,7 +11436,7 @@ function Skeleton(_ref) {
11561
11436
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
11562
11437
  overflow: "hidden",
11563
11438
  style: style,
11564
- onLayout: function onLayout(_ref2) {
11439
+ onLayout: function (_ref2) {
11565
11440
  var nativeEvent = _ref2.nativeEvent;
11566
11441
  return setWidth(nativeEvent.layout.width);
11567
11442
  },
@@ -11787,7 +11662,7 @@ function StaticMap(_ref) {
11787
11662
  position: "relative",
11788
11663
  maxWidth: mapBoxMaxPictureWidth,
11789
11664
  height: height,
11790
- onLayout: function handleParentLayout(event) {
11665
+ onLayout: function (event) {
11791
11666
  var nativeEvent = event.nativeEvent;
11792
11667
  var rangedMapWidth = getPictureWidth(nativeEvent.layout.width);
11793
11668
  setCurrentWidth(rangedMapWidth);
@@ -11799,11 +11674,11 @@ function StaticMap(_ref) {
11799
11674
  width: currentWidth,
11800
11675
  height: height,
11801
11676
  alt: alt,
11802
- onLoadEnd: function handleImageLoadEnd() {
11677
+ onLoadEnd: function () {
11803
11678
  setIsLoading(false);
11804
11679
  if (onLoaded) onLoaded();
11805
11680
  },
11806
- onError: function handleError() {
11681
+ onError: function () {
11807
11682
  setHasError(true);
11808
11683
  if (onError) onError();
11809
11684
  }
@@ -11828,7 +11703,7 @@ function StaticMap(_ref) {
11828
11703
  width: "100%",
11829
11704
  height: "100%",
11830
11705
  children: /*#__PURE__*/jsx(StaticMapError, {
11831
- onReload: function handleReload() {
11706
+ onReload: function () {
11832
11707
  setHasError(false);
11833
11708
  setIsLoading(true);
11834
11709
  setCurrentMapKey(function (prev) {
@@ -11866,9 +11741,9 @@ var getBackgroundColorFromBlockColor = function (theme) {
11866
11741
  case 'white':
11867
11742
  return '#ffffff';
11868
11743
  case 'light':
11869
- return theme.kitt.palettes.lateOcean['eggshell.2'];
11744
+ return theme.kitt.palettes.deepPurple['beige.1'];
11870
11745
  case 'primary':
11871
- return theme.kitt.palettes.lateOcean['violine.9'];
11746
+ return theme.kitt.palettes.deepPurple['deepPurple.8'];
11872
11747
  default:
11873
11748
  return 'transparent';
11874
11749
  }
@@ -11917,8 +11792,7 @@ function StoryTitle(_ref) {
11917
11792
  return /*#__PURE__*/jsx(View, {
11918
11793
  marginBottom: 30,
11919
11794
  children: /*#__PURE__*/jsx(Typography.Header1, {
11920
- variant: "bold",
11921
- base: "header1",
11795
+ base: "heading-xl",
11922
11796
  color: useStoryBlockColor(color),
11923
11797
  numberOfLines: numberOfLines,
11924
11798
  children: children
@@ -11932,8 +11806,7 @@ function StoryTitleLevel2(_ref2) {
11932
11806
  return /*#__PURE__*/jsx(View, {
11933
11807
  marginBottom: 30,
11934
11808
  children: /*#__PURE__*/jsx(Typography.Header2, {
11935
- variant: "bold",
11936
- base: "header2",
11809
+ base: "heading-l",
11937
11810
  color: useStoryBlockColor(color),
11938
11811
  numberOfLines: numberOfLines,
11939
11812
  children: children
@@ -11948,9 +11821,7 @@ function StoryTitleLevel3(_ref3) {
11948
11821
  return /*#__PURE__*/jsx(View, {
11949
11822
  marginBottom: 10,
11950
11823
  children: /*#__PURE__*/jsx(Typography.Header3, {
11951
- variant: "bold",
11952
- base: "header3",
11953
- medium: "header4",
11824
+ base: "heading-m",
11954
11825
  color: useStoryBlockColor(color),
11955
11826
  numberOfLines: numberOfLines,
11956
11827
  children: children
@@ -11965,9 +11836,7 @@ function StoryTitleLevel4(_ref4) {
11965
11836
  return /*#__PURE__*/jsx(View, {
11966
11837
  marginBottom: 10,
11967
11838
  children: /*#__PURE__*/jsx(Typography.Header4, {
11968
- variant: "bold",
11969
- base: "header4",
11970
- medium: "header5",
11839
+ base: "heading-s",
11971
11840
  color: useStoryBlockColor(color),
11972
11841
  numberOfLines: numberOfLines,
11973
11842
  children: children
@@ -12076,7 +11945,7 @@ function StoryContainer(_ref) {
12076
11945
  var StoryDecorator = makeDecorator({
12077
11946
  name: 'StoryDecorator',
12078
11947
  parameterName: 'storyDecorator',
12079
- wrapper: function wrapper(storyFn, context) {
11948
+ wrapper: function (storyFn, context) {
12080
11949
  var story = storyFn(context);
12081
11950
  if (context.parameters.disableStoryContainer) {
12082
11951
  return story;
@@ -12144,15 +12013,15 @@ function useTabBarItemColor(color, isActive) {
12144
12013
  switch (color) {
12145
12014
  case 'black':
12146
12015
  {
12147
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];
12016
+ return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
12148
12017
  }
12149
12018
  case 'white':
12150
12019
  {
12151
- return kittTheme.palettes.lateOcean.white;
12020
+ return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple['white-alpha.80'];
12152
12021
  }
12153
12022
  default:
12154
12023
  {
12155
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];
12024
+ return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
12156
12025
  }
12157
12026
  }
12158
12027
  }
@@ -12162,15 +12031,15 @@ function useTabBarIndicatorColor(color, isActive) {
12162
12031
  switch (color) {
12163
12032
  case 'black':
12164
12033
  {
12165
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean.transparent;
12034
+ return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
12166
12035
  }
12167
12036
  case 'white':
12168
12037
  {
12169
- return isActive ? kittTheme.palettes.lateOcean.white : kittTheme.palettes.lateOcean.transparent;
12038
+ return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple.transparent;
12170
12039
  }
12171
12040
  default:
12172
12041
  {
12173
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];
12042
+ return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
12174
12043
  }
12175
12044
  }
12176
12045
  }
@@ -12243,7 +12112,7 @@ function TabBar(_ref) {
12243
12112
  paddingRight: align === 'center' ? 'kitt.2' : 'kitt.12',
12244
12113
  minWidth: '100%',
12245
12114
  borderBottomWidth: 1,
12246
- borderBottomColor: kittTheme.palettes.lateOcean['eggshell.3']
12115
+ borderBottomColor: kittTheme.palettes.deepPurple['beige.2']
12247
12116
  });
12248
12117
  return /*#__PURE__*/jsx(ScrollView, {
12249
12118
  horizontal: true,
@@ -12257,7 +12126,7 @@ function TabBar(_ref) {
12257
12126
  return /*#__PURE__*/jsx(View, {
12258
12127
  children: /*#__PURE__*/cloneElement(child, {
12259
12128
  color: color,
12260
- onPress: function onPress(event) {
12129
+ onPress: function (event) {
12261
12130
  var _child$props$onPress, _child$props;
12262
12131
  onChangeTab({
12263
12132
  tab: tabs[index],
@@ -12284,38 +12153,40 @@ var getTypography = function (size) {
12284
12153
  return 'body-m';
12285
12154
  }
12286
12155
  };
12287
- var typeToColor$1 = function (color, type) {
12288
- if (color) return color;
12289
- switch (type) {
12290
- case 'primary':
12291
- return 'violine';
12292
- case 'warn':
12293
- return 'sun';
12294
- case 'danger':
12295
- return 'coral';
12296
- case 'default':
12297
- default:
12298
- return 'eggshell';
12299
- }
12300
- };
12301
12156
  function Tag(_ref) {
12302
12157
  var label = _ref.label,
12303
12158
  icon = _ref.icon,
12304
- color = _ref.color,
12305
- type = _ref.type,
12159
+ _ref$color = _ref.color,
12160
+ color = _ref$color === void 0 ? 'beige' : _ref$color,
12306
12161
  _ref$size = _ref.size,
12307
12162
  size = _ref$size === void 0 ? 'medium' : _ref$size,
12308
- _ref$variant = _ref.variant,
12309
- variant = _ref$variant === void 0 ? 'fill' : _ref$variant,
12310
- _ref$withWhiteBorder = _ref.withWhiteBorder,
12311
- withWhiteBorder = _ref$withWhiteBorder === void 0 ? false : _ref$withWhiteBorder;
12163
+ withWhiteBorder = _ref.withWhiteBorder;
12312
12164
  var kittTheme = useKittTheme();
12313
- var tagColor = typeToColor$1(color, type);
12314
- var getFontColor = function () {
12315
- if (variant === 'contrast') {
12316
- return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".").concat(tagColor === 'sun' ? 12 : 2)];
12165
+ var colorMatching = {
12166
+ beige: {
12167
+ background: kittTheme.kitt.palettes.deepPurple['beige.2'],
12168
+ font: kittTheme.kitt.palettes.deepPurple['deepPurple.8']
12169
+ },
12170
+ yellow: {
12171
+ background: kittTheme.kitt.palettes.deepPurple['yellow.6'],
12172
+ font: kittTheme.kitt.palettes.deepPurple['grey.9']
12173
+ },
12174
+ red: {
12175
+ background: kittTheme.kitt.palettes.deepPurple['red.6'],
12176
+ font: kittTheme.kitt.palettes.deepPurple['grey.0']
12177
+ },
12178
+ blue: {
12179
+ background: kittTheme.kitt.palettes.deepPurple['blue.6'],
12180
+ font: kittTheme.kitt.palettes.deepPurple['grey.0']
12181
+ },
12182
+ green: {
12183
+ background: kittTheme.kitt.palettes.deepPurple['green.6'],
12184
+ font: kittTheme.kitt.palettes.deepPurple['grey.0']
12185
+ },
12186
+ deepPurple: {
12187
+ background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
12188
+ font: kittTheme.kitt.palettes.deepPurple['beige.1']
12317
12189
  }
12318
- return 'black';
12319
12190
  };
12320
12191
  return /*#__PURE__*/jsxs(HStack, {
12321
12192
  alignSelf: "flex-start",
@@ -12323,31 +12194,21 @@ function Tag(_ref) {
12323
12194
  height: "kitt.tag.".concat(size, ".height"),
12324
12195
  paddingLeft: "kitt.tag.".concat(icon ? 'withIcon' : 'withoutIcon', ".").concat(size, ".paddingLeft"),
12325
12196
  paddingRight: "kitt.tag.".concat(icon ? 'withIcon' : 'withoutIcon', ".").concat(size, ".paddingRight"),
12326
- backgroundColor: variant === 'fill' || variant === 'contrast' ? function getBackgroundColor() {
12327
- if (variant === 'subtle') {
12328
- return 'transparent';
12329
- }
12330
- if (variant === 'contrast') {
12331
- return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".9")];
12332
- }
12333
- return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".4")];
12334
- }() : 'kitt.transparent',
12335
- borderColor: withWhiteBorder ? 'kitt.white' : function getBorderColor() {
12336
- return kittTheme.kitt.palettes.lateOcean["".concat(tagColor, ".6")];
12337
- }(),
12338
- borderWidth: withWhiteBorder ? 1 : "kitt.tag.variant.".concat(variant, ".borderWidth"),
12197
+ backgroundColor: colorMatching[color].background,
12198
+ borderWidth: withWhiteBorder ? 1 : 0,
12199
+ borderColor: withWhiteBorder ? 'kitt.white' : undefined,
12339
12200
  space: "kitt.1",
12340
12201
  alignItems: "center",
12341
12202
  maxWidth: "100%",
12342
12203
  children: [icon ? /*#__PURE__*/jsx(TypographyIcon, {
12343
12204
  icon: icon,
12344
12205
  size: "kitt.tag.".concat(size, ".iconSize"),
12345
- color: getFontColor()
12206
+ color: colorMatching[color].font
12346
12207
  }) : null, /*#__PURE__*/jsx(View, {
12347
12208
  flexShrink: 1,
12348
12209
  children: /*#__PURE__*/jsx(Typography.Text, {
12349
12210
  base: getTypography(size),
12350
- color: getFontColor(),
12211
+ color: colorMatching[color].font,
12351
12212
  numberOfLines: 1,
12352
12213
  ellipsizeMode: "tail",
12353
12214
  children: label
@@ -12443,7 +12304,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12443
12304
  isFocusedInternal: isFocusedInternal,
12444
12305
  isPressedInternal: isPressedInternal
12445
12306
  }),
12446
- onChange: function handleInputChange(event) {
12307
+ onChange: function (event) {
12447
12308
  var currentValue = event.nativeEvent.text;
12448
12309
  if (currentValue.length === 0) {
12449
12310
  setInputValue(currentValue);
@@ -12493,7 +12354,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12493
12354
  setInputValue(sanitizedValue);
12494
12355
  handleChange(sanitizedValue);
12495
12356
  },
12496
- onBlur: function handleBlur() {
12357
+ onBlur: function () {
12497
12358
  if (inputValue.indexOf(':') === 1) {
12498
12359
  setInputValue("0".concat(inputValue));
12499
12360
  }
@@ -12514,7 +12375,7 @@ function ToastContent(_ref) {
12514
12375
  flexGrow: 1,
12515
12376
  flexShrink: 1,
12516
12377
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
12517
- base: "heading-xxs",
12378
+ base: "heading-xs",
12518
12379
  color: "white",
12519
12380
  children: title
12520
12381
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -12530,7 +12391,7 @@ function ToastContent(_ref) {
12530
12391
  borderColor: "white",
12531
12392
  onPress: onPress,
12532
12393
  children: /*#__PURE__*/jsx(Typography.Text, {
12533
- base: "heading-xxs",
12394
+ base: "heading-xs",
12534
12395
  color: "white",
12535
12396
  children: actionLabel
12536
12397
  })
@@ -12543,9 +12404,9 @@ var typeToColor = function (type) {
12543
12404
  case 'success':
12544
12405
  return 'green';
12545
12406
  case 'danger':
12546
- return 'coral';
12407
+ return 'red';
12547
12408
  case 'warning':
12548
- return 'sun';
12409
+ return 'yellow';
12549
12410
  default:
12550
12411
  return 'blue';
12551
12412
  }
@@ -12606,7 +12467,7 @@ function ToastComponent(_ref) {
12606
12467
  }, [handleHideToast, outro, width, toastTimeout]);
12607
12468
  return /*#__PURE__*/jsxs(View, {
12608
12469
  alignSelf: stretch ? 'flex-start' : 'auto',
12609
- backgroundColor: kittTheme.kitt.palettes.lateOcean['eggshell.12'],
12470
+ backgroundColor: kittTheme.kitt.palettes.deepPurple['grey.9'],
12610
12471
  borderRadius: "kitt.2",
12611
12472
  maxWidth: {
12612
12473
  base: '100%',
@@ -12620,7 +12481,7 @@ function ToastComponent(_ref) {
12620
12481
  children: [/*#__PURE__*/jsx(TypographyIcon, {
12621
12482
  icon: icon,
12622
12483
  size: "kitt.5",
12623
- color: kittTheme.kitt.palettes.lateOcean["".concat(color, ".8")]
12484
+ color: kittTheme.kitt.palettes.deepPurple["".concat(color, ".6")]
12624
12485
  }), /*#__PURE__*/jsx(ToastContent, {
12625
12486
  title: title,
12626
12487
  description: description,
@@ -12638,7 +12499,7 @@ function ToastComponent(_ref) {
12638
12499
  }) : null]
12639
12500
  }), outro === 'timer' ? /*#__PURE__*/jsx(AnimatedView$1, {
12640
12501
  alignSelf: "flex-end",
12641
- backgroundColor: kittTheme.kitt.palettes.lateOcean["".concat(color, ".8")],
12502
+ backgroundColor: kittTheme.kitt.palettes.deepPurple["".concat(color, ".6")],
12642
12503
  height: "kitt.1",
12643
12504
  style: animatedStyle
12644
12505
  }) : null]
@@ -12695,7 +12556,7 @@ function TooltipContent(_ref) {
12695
12556
  paddingY: "kitt.tooltip.verticalPadding",
12696
12557
  paddingX: "kitt.tooltip.horizontalPadding",
12697
12558
  children: /*#__PURE__*/jsx(Typography.Text, {
12698
- base: "body-small",
12559
+ base: "body-s",
12699
12560
  color: "white-light",
12700
12561
  children: children
12701
12562
  })
@@ -12906,12 +12767,12 @@ function calcSizesFromType(type, theme) {
12906
12767
  medium: type.medium || type.small || type.base
12907
12768
  });
12908
12769
  var size = {
12909
- base: getTypographyTypeConfig((_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body', theme).baseAndSmall.fontSize
12770
+ base: getTypographyTypeConfig((_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body-m', theme).fontSize
12910
12771
  };
12911
12772
  [KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(function (typeName) {
12912
12773
  var value = typeWithMediumForced[typeName];
12913
12774
  if (value) {
12914
- size[typeName] = getTypographyTypeConfig(value, theme)[getTypographyTypeConfigKeyFromTypeName(typeName)].fontSize;
12775
+ size[typeName] = getTypographyTypeConfig(value, theme).fontSize;
12915
12776
  }
12916
12777
  });
12917
12778
  var marginLeft = {};
@@ -13048,7 +12909,7 @@ function KittThemeProvider(_ref) {
13048
12909
  var KittThemeDecorator = makeDecorator({
13049
12910
  name: 'ThemeDecorator',
13050
12911
  parameterName: 'theme',
13051
- wrapper: function wrapper(storyFn, context, _ref2) {
12912
+ wrapper: function (storyFn, context, _ref2) {
13052
12913
  var _parameters$isSSR;
13053
12914
  var _ref2$options = _ref2.options,
13054
12915
  options = _ref2$options === void 0 ? {} : _ref2$options,
@@ -13239,7 +13100,7 @@ function BorderlessStep(_ref) {
13239
13100
  width: 2,
13240
13101
  borderRadius: 2,
13241
13102
  position: "absolute",
13242
- backgroundColor: "kitt.palettes.lateOcean.black50",
13103
+ backgroundColor: "kitt.accent",
13243
13104
  overflow: "hidden",
13244
13105
  children: isNextDone ? /*#__PURE__*/jsx(AnimatedView, {
13245
13106
  style: progressBarAnimatedStyles,
@@ -13324,7 +13185,7 @@ function Step(_ref) {
13324
13185
  state: state,
13325
13186
  index: index
13326
13187
  }), !isLast ? /*#__PURE__*/jsx(View, {
13327
- backgroundColor: shouldDisableNextLink ? 'kitt.palettes.lateOcean.black100' : 'kitt.palettes.lateOcean.moonPurple',
13188
+ backgroundColor: shouldDisableNextLink ? 'kitt.accent' : 'kitt.primary',
13328
13189
  width: 1,
13329
13190
  position: "absolute",
13330
13191
  top: 46,