@ornikar/kitt-universal 23.2.3 → 23.2.5

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 +16 -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 +5 -5
@@ -265,14 +265,14 @@ const actionCard = {
265
265
  translateY: 0
266
266
  },
267
267
  disabled: {
268
- backgroundColor: lateOceanColorPalette.white,
269
- borderColor: lateOceanColorPalette.black100,
268
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
269
+ borderColor: lateOceanColorPalette['eggshell.3'],
270
270
  borderWidth: 1,
271
271
  shadow: {
272
- color: '',
272
+ color: lateOceanColorPalette['eggshell.3'],
273
273
  offsetX: 0,
274
- offsetY: 0,
275
- opacity: 0,
274
+ offsetY: 4,
275
+ opacity: 1,
276
276
  radius: 0
277
277
  },
278
278
  translateY: 0
@@ -332,14 +332,14 @@ const actionCard = {
332
332
  translateY: 0
333
333
  },
334
334
  disabled: {
335
- backgroundColor: lateOceanColorPalette.white,
336
- borderColor: lateOceanColorPalette.moonPurple,
335
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
336
+ borderColor: lateOceanColorPalette['eggshell.3'],
337
337
  borderWidth: 1,
338
338
  shadow: {
339
- color: '',
339
+ color: lateOceanColorPalette.moonPurple,
340
340
  offsetX: 0,
341
- offsetY: 0,
342
- opacity: 0,
341
+ offsetY: 4,
342
+ opacity: 1,
343
343
  radius: 0
344
344
  },
345
345
  translateY: 0
@@ -399,14 +399,14 @@ const actionCard = {
399
399
  translateY: 0
400
400
  },
401
401
  disabled: {
402
- backgroundColor: lateOceanColorPalette.white,
403
- borderColor: lateOceanColorPalette.lateOcean,
402
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
403
+ borderColor: lateOceanColorPalette['eggshell.3'],
404
404
  borderWidth: 1,
405
405
  shadow: {
406
- color: '',
406
+ color: lateOceanColorPalette.lateOcean,
407
407
  offsetX: 0,
408
- offsetY: 0,
409
- opacity: 0,
408
+ offsetY: 4,
409
+ opacity: 1,
410
410
  radius: 0
411
411
  },
412
412
  translateY: 0
@@ -453,14 +453,14 @@ const actionCard = {
453
453
  translateY: 0
454
454
  },
455
455
  disabled: {
456
- backgroundColor: lateOceanColorPalette.white,
457
- borderColor: lateOceanColorPalette.black100,
456
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
457
+ borderColor: lateOceanColorPalette['eggshell.3'],
458
458
  borderWidth: 1,
459
459
  shadow: {
460
- color: '',
460
+ color: lateOceanColorPalette['eggshell.3'],
461
461
  offsetX: 0,
462
- offsetY: 0,
463
- opacity: 0,
462
+ offsetY: 4,
463
+ opacity: 1,
464
464
  radius: 0
465
465
  },
466
466
  translateY: 0
@@ -520,14 +520,14 @@ const actionCard = {
520
520
  translateY: 0
521
521
  },
522
522
  disabled: {
523
- backgroundColor: lateOceanColorPalette.white,
524
- borderColor: lateOceanColorPalette.black100,
523
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
524
+ borderColor: lateOceanColorPalette['eggshell.3'],
525
525
  borderWidth: 1,
526
526
  shadow: {
527
- color: '',
527
+ color: lateOceanColorPalette['eggshell.3'],
528
528
  offsetX: 0,
529
- offsetY: 0,
530
- opacity: 0,
529
+ offsetY: 4,
530
+ opacity: 1,
531
531
  radius: 0
532
532
  },
533
533
  translateY: 0
@@ -1872,6 +1872,7 @@ function ActionCardDisabled({
1872
1872
  borderWidth: `kitt.actionCard.${variant}.disabled.borderWidth`,
1873
1873
  borderColor: `kitt.actionCard.${variant}.disabled.borderColor`,
1874
1874
  backgroundColor: `kitt.actionCard.${variant}.disabled.backgroundColor`,
1875
+ shadow: `kitt.actionCard.${variant}.disabled.shadow`,
1875
1876
  flexGrow: 1,
1876
1877
  children: children
1877
1878
  });
@@ -8167,6 +8168,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8167
8168
  shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
8168
8169
  shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
8169
8170
  }
8171
+ },
8172
+ disabled: {
8173
+ shadow: {
8174
+ shadowColor: theme.actionCard.secondary.disabled.shadow.color,
8175
+ shadowOffset: {
8176
+ width: theme.actionCard.secondary.disabled.shadow.offsetX,
8177
+ height: theme.actionCard.secondary.disabled.shadow.offsetY
8178
+ },
8179
+ shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
8180
+ shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
8181
+ }
8170
8182
  }
8171
8183
  },
8172
8184
  primary: {
@@ -8205,13 +8217,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8205
8217
  },
8206
8218
  pressed: {
8207
8219
  shadow: {
8208
- shadowColor: theme.actionCard.highlight.pressed.shadow.color,
8220
+ shadowColor: theme.actionCard.primary.pressed.shadow.color,
8209
8221
  shadowOffset: {
8210
- width: theme.actionCard.highlight.pressed.shadow.offsetX,
8211
- height: theme.actionCard.highlight.pressed.shadow.offsetY
8222
+ width: theme.actionCard.primary.pressed.shadow.offsetX,
8223
+ height: theme.actionCard.primary.pressed.shadow.offsetY
8212
8224
  },
8213
- shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
8214
- shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
8225
+ shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
8226
+ shadowRadius: theme.actionCard.primary.pressed.shadow.radius
8227
+ }
8228
+ },
8229
+ disabled: {
8230
+ shadow: {
8231
+ shadowColor: theme.actionCard.primary.disabled.shadow.color,
8232
+ shadowOffset: {
8233
+ width: theme.actionCard.primary.disabled.shadow.offsetX,
8234
+ height: theme.actionCard.primary.disabled.shadow.offsetY
8235
+ },
8236
+ shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
8237
+ shadowRadius: theme.actionCard.primary.disabled.shadow.radius
8215
8238
  }
8216
8239
  }
8217
8240
  },
@@ -8259,6 +8282,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8259
8282
  shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
8260
8283
  shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
8261
8284
  }
8285
+ },
8286
+ disabled: {
8287
+ shadow: {
8288
+ shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
8289
+ shadowOffset: {
8290
+ width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
8291
+ height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
8292
+ },
8293
+ shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
8294
+ shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
8295
+ }
8262
8296
  }
8263
8297
  },
8264
8298
  'primary-border-hard': {
@@ -8305,6 +8339,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8305
8339
  shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
8306
8340
  shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
8307
8341
  }
8342
+ },
8343
+ disabled: {
8344
+ shadow: {
8345
+ shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
8346
+ shadowOffset: {
8347
+ width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
8348
+ height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
8349
+ },
8350
+ shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
8351
+ shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
8352
+ }
8308
8353
  }
8309
8354
  },
8310
8355
  highlight: {
@@ -8351,6 +8396,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8351
8396
  shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
8352
8397
  shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
8353
8398
  }
8399
+ },
8400
+ disabled: {
8401
+ shadow: {
8402
+ shadowColor: theme.actionCard.highlight.disabled.shadow.color,
8403
+ shadowOffset: {
8404
+ width: theme.actionCard.highlight.disabled.shadow.offsetX,
8405
+ height: theme.actionCard.highlight.disabled.shadow.offsetY
8406
+ },
8407
+ shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
8408
+ shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
8409
+ }
8354
8410
  }
8355
8411
  }
8356
8412
  },