@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
package/dist/index.es.js CHANGED
@@ -287,14 +287,14 @@ var actionCard = {
287
287
  translateY: 0
288
288
  },
289
289
  disabled: {
290
- backgroundColor: lateOceanColorPalette.white,
291
- borderColor: lateOceanColorPalette.black100,
290
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
291
+ borderColor: lateOceanColorPalette['eggshell.3'],
292
292
  borderWidth: 1,
293
293
  shadow: {
294
- color: '',
294
+ color: lateOceanColorPalette['eggshell.3'],
295
295
  offsetX: 0,
296
- offsetY: 0,
297
- opacity: 0,
296
+ offsetY: 4,
297
+ opacity: 1,
298
298
  radius: 0
299
299
  },
300
300
  translateY: 0
@@ -354,14 +354,14 @@ var actionCard = {
354
354
  translateY: 0
355
355
  },
356
356
  disabled: {
357
- backgroundColor: lateOceanColorPalette.white,
358
- borderColor: lateOceanColorPalette.moonPurple,
357
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
358
+ borderColor: lateOceanColorPalette['eggshell.3'],
359
359
  borderWidth: 1,
360
360
  shadow: {
361
- color: '',
361
+ color: lateOceanColorPalette.moonPurple,
362
362
  offsetX: 0,
363
- offsetY: 0,
364
- opacity: 0,
363
+ offsetY: 4,
364
+ opacity: 1,
365
365
  radius: 0
366
366
  },
367
367
  translateY: 0
@@ -421,14 +421,14 @@ var actionCard = {
421
421
  translateY: 0
422
422
  },
423
423
  disabled: {
424
- backgroundColor: lateOceanColorPalette.white,
425
- borderColor: lateOceanColorPalette.lateOcean,
424
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
425
+ borderColor: lateOceanColorPalette['eggshell.3'],
426
426
  borderWidth: 1,
427
427
  shadow: {
428
- color: '',
428
+ color: lateOceanColorPalette.lateOcean,
429
429
  offsetX: 0,
430
- offsetY: 0,
431
- opacity: 0,
430
+ offsetY: 4,
431
+ opacity: 1,
432
432
  radius: 0
433
433
  },
434
434
  translateY: 0
@@ -475,14 +475,14 @@ var actionCard = {
475
475
  translateY: 0
476
476
  },
477
477
  disabled: {
478
- backgroundColor: lateOceanColorPalette.white,
479
- borderColor: lateOceanColorPalette.black100,
478
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
479
+ borderColor: lateOceanColorPalette['eggshell.3'],
480
480
  borderWidth: 1,
481
481
  shadow: {
482
- color: '',
482
+ color: lateOceanColorPalette['eggshell.3'],
483
483
  offsetX: 0,
484
- offsetY: 0,
485
- opacity: 0,
484
+ offsetY: 4,
485
+ opacity: 1,
486
486
  radius: 0
487
487
  },
488
488
  translateY: 0
@@ -542,14 +542,14 @@ var actionCard = {
542
542
  translateY: 0
543
543
  },
544
544
  disabled: {
545
- backgroundColor: lateOceanColorPalette.white,
546
- borderColor: lateOceanColorPalette.black100,
545
+ backgroundColor: lateOceanColorPalette['eggshell.2'],
546
+ borderColor: lateOceanColorPalette['eggshell.3'],
547
547
  borderWidth: 1,
548
548
  shadow: {
549
- color: '',
549
+ color: lateOceanColorPalette['eggshell.3'],
550
550
  offsetX: 0,
551
- offsetY: 0,
552
- opacity: 0,
551
+ offsetY: 4,
552
+ opacity: 1,
553
553
  radius: 0
554
554
  },
555
555
  translateY: 0
@@ -1901,6 +1901,7 @@ function ActionCardDisabled(_ref) {
1901
1901
  borderWidth: "kitt.actionCard.".concat(variant, ".disabled.borderWidth"),
1902
1902
  borderColor: "kitt.actionCard.".concat(variant, ".disabled.borderColor"),
1903
1903
  backgroundColor: "kitt.actionCard.".concat(variant, ".disabled.backgroundColor"),
1904
+ shadow: "kitt.actionCard.".concat(variant, ".disabled.shadow"),
1904
1905
  flexGrow: 1,
1905
1906
  children: children
1906
1907
  });
@@ -9025,6 +9026,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9025
9026
  shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
9026
9027
  shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
9027
9028
  }
9029
+ },
9030
+ disabled: {
9031
+ shadow: {
9032
+ shadowColor: theme.actionCard.secondary.disabled.shadow.color,
9033
+ shadowOffset: {
9034
+ width: theme.actionCard.secondary.disabled.shadow.offsetX,
9035
+ height: theme.actionCard.secondary.disabled.shadow.offsetY
9036
+ },
9037
+ shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
9038
+ shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
9039
+ }
9028
9040
  }
9029
9041
  },
9030
9042
  primary: {
@@ -9063,13 +9075,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9063
9075
  },
9064
9076
  pressed: {
9065
9077
  shadow: {
9066
- shadowColor: theme.actionCard.highlight.pressed.shadow.color,
9078
+ shadowColor: theme.actionCard.primary.pressed.shadow.color,
9067
9079
  shadowOffset: {
9068
- width: theme.actionCard.highlight.pressed.shadow.offsetX,
9069
- height: theme.actionCard.highlight.pressed.shadow.offsetY
9080
+ width: theme.actionCard.primary.pressed.shadow.offsetX,
9081
+ height: theme.actionCard.primary.pressed.shadow.offsetY
9070
9082
  },
9071
- shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
9072
- shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
9083
+ shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
9084
+ shadowRadius: theme.actionCard.primary.pressed.shadow.radius
9085
+ }
9086
+ },
9087
+ disabled: {
9088
+ shadow: {
9089
+ shadowColor: theme.actionCard.primary.disabled.shadow.color,
9090
+ shadowOffset: {
9091
+ width: theme.actionCard.primary.disabled.shadow.offsetX,
9092
+ height: theme.actionCard.primary.disabled.shadow.offsetY
9093
+ },
9094
+ shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
9095
+ shadowRadius: theme.actionCard.primary.disabled.shadow.radius
9073
9096
  }
9074
9097
  }
9075
9098
  },
@@ -9117,6 +9140,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9117
9140
  shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
9118
9141
  shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
9119
9142
  }
9143
+ },
9144
+ disabled: {
9145
+ shadow: {
9146
+ shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
9147
+ shadowOffset: {
9148
+ width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
9149
+ height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
9150
+ },
9151
+ shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
9152
+ shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
9153
+ }
9120
9154
  }
9121
9155
  },
9122
9156
  'primary-border-hard': {
@@ -9163,6 +9197,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9163
9197
  shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
9164
9198
  shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
9165
9199
  }
9200
+ },
9201
+ disabled: {
9202
+ shadow: {
9203
+ shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
9204
+ shadowOffset: {
9205
+ width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
9206
+ height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
9207
+ },
9208
+ shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
9209
+ shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
9210
+ }
9166
9211
  }
9167
9212
  },
9168
9213
  highlight: {
@@ -9209,6 +9254,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9209
9254
  shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
9210
9255
  shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
9211
9256
  }
9257
+ },
9258
+ disabled: {
9259
+ shadow: {
9260
+ shadowColor: theme.actionCard.highlight.disabled.shadow.color,
9261
+ shadowOffset: {
9262
+ width: theme.actionCard.highlight.disabled.shadow.offsetX,
9263
+ height: theme.actionCard.highlight.disabled.shadow.offsetY
9264
+ },
9265
+ shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
9266
+ shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
9267
+ }
9212
9268
  }
9213
9269
  }
9214
9270
  },