@ornikar/kitt-universal 23.2.3 → 23.2.4

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 (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/definitions/ActionCard/ActionCardDisabled.d.ts.map +1 -1
  3. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +55 -0
  4. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  5. package/dist/index-metro.es.android.js +86 -30
  6. package/dist/index-metro.es.android.js.map +1 -1
  7. package/dist/index-metro.es.ios.js +86 -30
  8. package/dist/index-metro.es.ios.js.map +1 -1
  9. package/dist/index-node-20.10.cjs.js +86 -30
  10. package/dist/index-node-20.10.cjs.js.map +1 -1
  11. package/dist/index-node-20.10.cjs.web.js +86 -30
  12. package/dist/index-node-20.10.cjs.web.js.map +1 -1
  13. package/dist/index-node-20.10.es.mjs +86 -30
  14. package/dist/index-node-20.10.es.mjs.map +1 -1
  15. package/dist/index-node-20.10.es.web.mjs +86 -30
  16. package/dist/index-node-20.10.es.web.mjs.map +1 -1
  17. package/dist/index.es.js +86 -30
  18. package/dist/index.es.js.map +1 -1
  19. package/dist/index.es.web.js +86 -30
  20. package/dist/index.es.web.js.map +1 -1
  21. package/dist/linaria-themes-metro.es.android.js +25 -25
  22. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  23. package/dist/linaria-themes-metro.es.ios.js +25 -25
  24. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  25. package/dist/linaria-themes-node-20.10.cjs.js +25 -25
  26. package/dist/linaria-themes-node-20.10.cjs.js.map +1 -1
  27. package/dist/linaria-themes-node-20.10.cjs.web.js +25 -25
  28. package/dist/linaria-themes-node-20.10.cjs.web.js.map +1 -1
  29. package/dist/linaria-themes-node-20.10.es.mjs +25 -25
  30. package/dist/linaria-themes-node-20.10.es.mjs.map +1 -1
  31. package/dist/linaria-themes-node-20.10.es.web.mjs +25 -25
  32. package/dist/linaria-themes-node-20.10.es.web.mjs.map +1 -1
  33. package/dist/linaria-themes.es.js +25 -25
  34. package/dist/linaria-themes.es.js.map +1 -1
  35. package/dist/linaria-themes.es.web.js +25 -25
  36. package/dist/linaria-themes.es.web.js.map +1 -1
  37. package/dist/tsbuildinfo +1 -1
  38. package/package.json +4 -4
@@ -270,14 +270,14 @@ const actionCard = {
270
270
  translateY: 0
271
271
  },
272
272
  disabled: {
273
- backgroundColor: lateOceanColorPalette.white,
274
- borderColor: lateOceanColorPalette.black100,
273
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
274
+ borderColor: lateOceanColorPalette['eggshell.3'],
275
275
  borderWidth: 1,
276
276
  shadow: {
277
- color: '',
277
+ color: lateOceanColorPalette['eggshell.3'],
278
278
  offsetX: 0,
279
- offsetY: 0,
280
- opacity: 0,
279
+ offsetY: 4,
280
+ opacity: 1,
281
281
  radius: 0
282
282
  },
283
283
  translateY: 0
@@ -337,14 +337,14 @@ const actionCard = {
337
337
  translateY: 0
338
338
  },
339
339
  disabled: {
340
- backgroundColor: lateOceanColorPalette.white,
341
- borderColor: lateOceanColorPalette.moonPurple,
340
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
341
+ borderColor: lateOceanColorPalette['eggshell.3'],
342
342
  borderWidth: 1,
343
343
  shadow: {
344
- color: '',
344
+ color: lateOceanColorPalette.moonPurple,
345
345
  offsetX: 0,
346
- offsetY: 0,
347
- opacity: 0,
346
+ offsetY: 4,
347
+ opacity: 1,
348
348
  radius: 0
349
349
  },
350
350
  translateY: 0
@@ -404,14 +404,14 @@ const actionCard = {
404
404
  translateY: 0
405
405
  },
406
406
  disabled: {
407
- backgroundColor: lateOceanColorPalette.white,
408
- borderColor: lateOceanColorPalette.lateOcean,
407
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
408
+ borderColor: lateOceanColorPalette['eggshell.3'],
409
409
  borderWidth: 1,
410
410
  shadow: {
411
- color: '',
411
+ color: lateOceanColorPalette.lateOcean,
412
412
  offsetX: 0,
413
- offsetY: 0,
414
- opacity: 0,
413
+ offsetY: 4,
414
+ opacity: 1,
415
415
  radius: 0
416
416
  },
417
417
  translateY: 0
@@ -458,14 +458,14 @@ const actionCard = {
458
458
  translateY: 0
459
459
  },
460
460
  disabled: {
461
- backgroundColor: lateOceanColorPalette.white,
462
- borderColor: lateOceanColorPalette.black100,
461
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
462
+ borderColor: lateOceanColorPalette['eggshell.3'],
463
463
  borderWidth: 1,
464
464
  shadow: {
465
- color: '',
465
+ color: lateOceanColorPalette['eggshell.3'],
466
466
  offsetX: 0,
467
- offsetY: 0,
468
- opacity: 0,
467
+ offsetY: 4,
468
+ opacity: 1,
469
469
  radius: 0
470
470
  },
471
471
  translateY: 0
@@ -525,14 +525,14 @@ const actionCard = {
525
525
  translateY: 0
526
526
  },
527
527
  disabled: {
528
- backgroundColor: lateOceanColorPalette.white,
529
- borderColor: lateOceanColorPalette.black100,
528
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
529
+ borderColor: lateOceanColorPalette['eggshell.3'],
530
530
  borderWidth: 1,
531
531
  shadow: {
532
- color: '',
532
+ color: lateOceanColorPalette['eggshell.3'],
533
533
  offsetX: 0,
534
- offsetY: 0,
535
- opacity: 0,
534
+ offsetY: 4,
535
+ opacity: 1,
536
536
  radius: 0
537
537
  },
538
538
  translateY: 0
@@ -1877,6 +1877,7 @@ function ActionCardDisabled({
1877
1877
  borderWidth: `kitt.actionCard.${variant}.disabled.borderWidth`,
1878
1878
  borderColor: `kitt.actionCard.${variant}.disabled.borderColor`,
1879
1879
  backgroundColor: `kitt.actionCard.${variant}.disabled.backgroundColor`,
1880
+ shadow: `kitt.actionCard.${variant}.disabled.shadow`,
1880
1881
  flexGrow: 1,
1881
1882
  children: children
1882
1883
  });
@@ -8172,6 +8173,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8172
8173
  shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
8173
8174
  shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
8174
8175
  }
8176
+ },
8177
+ disabled: {
8178
+ shadow: {
8179
+ shadowColor: theme.actionCard.secondary.disabled.shadow.color,
8180
+ shadowOffset: {
8181
+ width: theme.actionCard.secondary.disabled.shadow.offsetX,
8182
+ height: theme.actionCard.secondary.disabled.shadow.offsetY
8183
+ },
8184
+ shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
8185
+ shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
8186
+ }
8175
8187
  }
8176
8188
  },
8177
8189
  primary: {
@@ -8210,13 +8222,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8210
8222
  },
8211
8223
  pressed: {
8212
8224
  shadow: {
8213
- shadowColor: theme.actionCard.highlight.pressed.shadow.color,
8225
+ shadowColor: theme.actionCard.primary.pressed.shadow.color,
8214
8226
  shadowOffset: {
8215
- width: theme.actionCard.highlight.pressed.shadow.offsetX,
8216
- height: theme.actionCard.highlight.pressed.shadow.offsetY
8227
+ width: theme.actionCard.primary.pressed.shadow.offsetX,
8228
+ height: theme.actionCard.primary.pressed.shadow.offsetY
8217
8229
  },
8218
- shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
8219
- shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
8230
+ shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
8231
+ shadowRadius: theme.actionCard.primary.pressed.shadow.radius
8232
+ }
8233
+ },
8234
+ disabled: {
8235
+ shadow: {
8236
+ shadowColor: theme.actionCard.primary.disabled.shadow.color,
8237
+ shadowOffset: {
8238
+ width: theme.actionCard.primary.disabled.shadow.offsetX,
8239
+ height: theme.actionCard.primary.disabled.shadow.offsetY
8240
+ },
8241
+ shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
8242
+ shadowRadius: theme.actionCard.primary.disabled.shadow.radius
8220
8243
  }
8221
8244
  }
8222
8245
  },
@@ -8264,6 +8287,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8264
8287
  shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
8265
8288
  shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
8266
8289
  }
8290
+ },
8291
+ disabled: {
8292
+ shadow: {
8293
+ shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
8294
+ shadowOffset: {
8295
+ width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
8296
+ height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
8297
+ },
8298
+ shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
8299
+ shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
8300
+ }
8267
8301
  }
8268
8302
  },
8269
8303
  'primary-border-hard': {
@@ -8310,6 +8344,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8310
8344
  shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
8311
8345
  shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
8312
8346
  }
8347
+ },
8348
+ disabled: {
8349
+ shadow: {
8350
+ shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
8351
+ shadowOffset: {
8352
+ width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
8353
+ height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
8354
+ },
8355
+ shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
8356
+ shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
8357
+ }
8313
8358
  }
8314
8359
  },
8315
8360
  highlight: {
@@ -8356,6 +8401,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8356
8401
  shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
8357
8402
  shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
8358
8403
  }
8404
+ },
8405
+ disabled: {
8406
+ shadow: {
8407
+ shadowColor: theme.actionCard.highlight.disabled.shadow.color,
8408
+ shadowOffset: {
8409
+ width: theme.actionCard.highlight.disabled.shadow.offsetX,
8410
+ height: theme.actionCard.highlight.disabled.shadow.offsetY
8411
+ },
8412
+ shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
8413
+ shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
8414
+ }
8359
8415
  }
8360
8416
  }
8361
8417
  },