@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
@@ -283,14 +283,14 @@ var actionCard = {
283
283
  translateY: 0
284
284
  },
285
285
  disabled: {
286
- backgroundColor: lateOceanColorPalette.white,
287
- borderColor: lateOceanColorPalette.black100,
286
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
287
+ borderColor: lateOceanColorPalette['eggshell.3'],
288
288
  borderWidth: 1,
289
289
  shadow: {
290
- color: '',
290
+ color: lateOceanColorPalette['eggshell.3'],
291
291
  offsetX: 0,
292
- offsetY: 0,
293
- opacity: 0,
292
+ offsetY: 4,
293
+ opacity: 1,
294
294
  radius: 0
295
295
  },
296
296
  translateY: 0
@@ -350,14 +350,14 @@ var actionCard = {
350
350
  translateY: 0
351
351
  },
352
352
  disabled: {
353
- backgroundColor: lateOceanColorPalette.white,
354
- borderColor: lateOceanColorPalette.moonPurple,
353
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
354
+ borderColor: lateOceanColorPalette['eggshell.3'],
355
355
  borderWidth: 1,
356
356
  shadow: {
357
- color: '',
357
+ color: lateOceanColorPalette.moonPurple,
358
358
  offsetX: 0,
359
- offsetY: 0,
360
- opacity: 0,
359
+ offsetY: 4,
360
+ opacity: 1,
361
361
  radius: 0
362
362
  },
363
363
  translateY: 0
@@ -417,14 +417,14 @@ var actionCard = {
417
417
  translateY: 0
418
418
  },
419
419
  disabled: {
420
- backgroundColor: lateOceanColorPalette.white,
421
- borderColor: lateOceanColorPalette.lateOcean,
420
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
421
+ borderColor: lateOceanColorPalette['eggshell.3'],
422
422
  borderWidth: 1,
423
423
  shadow: {
424
- color: '',
424
+ color: lateOceanColorPalette.lateOcean,
425
425
  offsetX: 0,
426
- offsetY: 0,
427
- opacity: 0,
426
+ offsetY: 4,
427
+ opacity: 1,
428
428
  radius: 0
429
429
  },
430
430
  translateY: 0
@@ -471,14 +471,14 @@ var actionCard = {
471
471
  translateY: 0
472
472
  },
473
473
  disabled: {
474
- backgroundColor: lateOceanColorPalette.white,
475
- borderColor: lateOceanColorPalette.black100,
474
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
475
+ borderColor: lateOceanColorPalette['eggshell.3'],
476
476
  borderWidth: 1,
477
477
  shadow: {
478
- color: '',
478
+ color: lateOceanColorPalette['eggshell.3'],
479
479
  offsetX: 0,
480
- offsetY: 0,
481
- opacity: 0,
480
+ offsetY: 4,
481
+ opacity: 1,
482
482
  radius: 0
483
483
  },
484
484
  translateY: 0
@@ -538,14 +538,14 @@ var actionCard = {
538
538
  translateY: 0
539
539
  },
540
540
  disabled: {
541
- backgroundColor: lateOceanColorPalette.white,
542
- borderColor: lateOceanColorPalette.black100,
541
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
542
+ borderColor: lateOceanColorPalette['eggshell.3'],
543
543
  borderWidth: 1,
544
544
  shadow: {
545
- color: '',
545
+ color: lateOceanColorPalette['eggshell.3'],
546
546
  offsetX: 0,
547
- offsetY: 0,
548
- opacity: 0,
547
+ offsetY: 4,
548
+ opacity: 1,
549
549
  radius: 0
550
550
  },
551
551
  translateY: 0
@@ -1897,6 +1897,7 @@ function ActionCardDisabled(_ref) {
1897
1897
  borderWidth: "kitt.actionCard.".concat(variant, ".disabled.borderWidth"),
1898
1898
  borderColor: "kitt.actionCard.".concat(variant, ".disabled.borderColor"),
1899
1899
  backgroundColor: "kitt.actionCard.".concat(variant, ".disabled.backgroundColor"),
1900
+ shadow: "kitt.actionCard.".concat(variant, ".disabled.shadow"),
1900
1901
  flexGrow: 1,
1901
1902
  children: children
1902
1903
  });
@@ -8300,6 +8301,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8300
8301
  shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
8301
8302
  shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
8302
8303
  }
8304
+ },
8305
+ disabled: {
8306
+ shadow: {
8307
+ shadowColor: theme.actionCard.secondary.disabled.shadow.color,
8308
+ shadowOffset: {
8309
+ width: theme.actionCard.secondary.disabled.shadow.offsetX,
8310
+ height: theme.actionCard.secondary.disabled.shadow.offsetY
8311
+ },
8312
+ shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
8313
+ shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
8314
+ }
8303
8315
  }
8304
8316
  },
8305
8317
  primary: {
@@ -8338,13 +8350,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8338
8350
  },
8339
8351
  pressed: {
8340
8352
  shadow: {
8341
- shadowColor: theme.actionCard.highlight.pressed.shadow.color,
8353
+ shadowColor: theme.actionCard.primary.pressed.shadow.color,
8342
8354
  shadowOffset: {
8343
- width: theme.actionCard.highlight.pressed.shadow.offsetX,
8344
- height: theme.actionCard.highlight.pressed.shadow.offsetY
8355
+ width: theme.actionCard.primary.pressed.shadow.offsetX,
8356
+ height: theme.actionCard.primary.pressed.shadow.offsetY
8345
8357
  },
8346
- shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
8347
- shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
8358
+ shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
8359
+ shadowRadius: theme.actionCard.primary.pressed.shadow.radius
8360
+ }
8361
+ },
8362
+ disabled: {
8363
+ shadow: {
8364
+ shadowColor: theme.actionCard.primary.disabled.shadow.color,
8365
+ shadowOffset: {
8366
+ width: theme.actionCard.primary.disabled.shadow.offsetX,
8367
+ height: theme.actionCard.primary.disabled.shadow.offsetY
8368
+ },
8369
+ shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
8370
+ shadowRadius: theme.actionCard.primary.disabled.shadow.radius
8348
8371
  }
8349
8372
  }
8350
8373
  },
@@ -8392,6 +8415,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8392
8415
  shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
8393
8416
  shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
8394
8417
  }
8418
+ },
8419
+ disabled: {
8420
+ shadow: {
8421
+ shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
8422
+ shadowOffset: {
8423
+ width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
8424
+ height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
8425
+ },
8426
+ shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
8427
+ shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
8428
+ }
8395
8429
  }
8396
8430
  },
8397
8431
  'primary-border-hard': {
@@ -8438,6 +8472,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8438
8472
  shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
8439
8473
  shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
8440
8474
  }
8475
+ },
8476
+ disabled: {
8477
+ shadow: {
8478
+ shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
8479
+ shadowOffset: {
8480
+ width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
8481
+ height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
8482
+ },
8483
+ shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
8484
+ shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
8485
+ }
8441
8486
  }
8442
8487
  },
8443
8488
  highlight: {
@@ -8484,6 +8529,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8484
8529
  shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
8485
8530
  shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
8486
8531
  }
8532
+ },
8533
+ disabled: {
8534
+ shadow: {
8535
+ shadowColor: theme.actionCard.highlight.disabled.shadow.color,
8536
+ shadowOffset: {
8537
+ width: theme.actionCard.highlight.disabled.shadow.offsetX,
8538
+ height: theme.actionCard.highlight.disabled.shadow.offsetY
8539
+ },
8540
+ shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
8541
+ shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
8542
+ }
8487
8543
  }
8488
8544
  }
8489
8545
  },