@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.
- package/CHANGELOG.md +8 -0
- package/dist/definitions/ActionCard/ActionCardDisabled.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +55 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +86 -30
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +86 -30
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +86 -30
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +86 -30
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +86 -30
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +86 -30
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +86 -30
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +86 -30
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +25 -25
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +25 -25
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-20.10.cjs.js +25 -25
- package/dist/linaria-themes-node-20.10.cjs.js.map +1 -1
- package/dist/linaria-themes-node-20.10.cjs.web.js +25 -25
- package/dist/linaria-themes-node-20.10.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-20.10.es.mjs +25 -25
- package/dist/linaria-themes-node-20.10.es.mjs.map +1 -1
- package/dist/linaria-themes-node-20.10.es.web.mjs +25 -25
- package/dist/linaria-themes-node-20.10.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +25 -25
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +25 -25
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -269,14 +269,14 @@ const actionCard = {
|
|
|
269
269
|
translateY: 0
|
|
270
270
|
},
|
|
271
271
|
disabled: {
|
|
272
|
-
backgroundColor: lateOceanColorPalette.
|
|
273
|
-
borderColor: lateOceanColorPalette.
|
|
272
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
273
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
274
274
|
borderWidth: 1,
|
|
275
275
|
shadow: {
|
|
276
|
-
color: '',
|
|
276
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
277
277
|
offsetX: 0,
|
|
278
|
-
offsetY:
|
|
279
|
-
opacity:
|
|
278
|
+
offsetY: 4,
|
|
279
|
+
opacity: 1,
|
|
280
280
|
radius: 0
|
|
281
281
|
},
|
|
282
282
|
translateY: 0
|
|
@@ -336,14 +336,14 @@ const actionCard = {
|
|
|
336
336
|
translateY: 0
|
|
337
337
|
},
|
|
338
338
|
disabled: {
|
|
339
|
-
backgroundColor: lateOceanColorPalette.
|
|
340
|
-
borderColor: lateOceanColorPalette.
|
|
339
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
340
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
341
341
|
borderWidth: 1,
|
|
342
342
|
shadow: {
|
|
343
|
-
color:
|
|
343
|
+
color: lateOceanColorPalette.moonPurple,
|
|
344
344
|
offsetX: 0,
|
|
345
|
-
offsetY:
|
|
346
|
-
opacity:
|
|
345
|
+
offsetY: 4,
|
|
346
|
+
opacity: 1,
|
|
347
347
|
radius: 0
|
|
348
348
|
},
|
|
349
349
|
translateY: 0
|
|
@@ -403,14 +403,14 @@ const actionCard = {
|
|
|
403
403
|
translateY: 0
|
|
404
404
|
},
|
|
405
405
|
disabled: {
|
|
406
|
-
backgroundColor: lateOceanColorPalette.
|
|
407
|
-
borderColor: lateOceanColorPalette.
|
|
406
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
407
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
408
408
|
borderWidth: 1,
|
|
409
409
|
shadow: {
|
|
410
|
-
color:
|
|
410
|
+
color: lateOceanColorPalette.lateOcean,
|
|
411
411
|
offsetX: 0,
|
|
412
|
-
offsetY:
|
|
413
|
-
opacity:
|
|
412
|
+
offsetY: 4,
|
|
413
|
+
opacity: 1,
|
|
414
414
|
radius: 0
|
|
415
415
|
},
|
|
416
416
|
translateY: 0
|
|
@@ -457,14 +457,14 @@ const actionCard = {
|
|
|
457
457
|
translateY: 0
|
|
458
458
|
},
|
|
459
459
|
disabled: {
|
|
460
|
-
backgroundColor: lateOceanColorPalette.
|
|
461
|
-
borderColor: lateOceanColorPalette.
|
|
460
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
461
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
462
462
|
borderWidth: 1,
|
|
463
463
|
shadow: {
|
|
464
|
-
color: '',
|
|
464
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
465
465
|
offsetX: 0,
|
|
466
|
-
offsetY:
|
|
467
|
-
opacity:
|
|
466
|
+
offsetY: 4,
|
|
467
|
+
opacity: 1,
|
|
468
468
|
radius: 0
|
|
469
469
|
},
|
|
470
470
|
translateY: 0
|
|
@@ -524,14 +524,14 @@ const actionCard = {
|
|
|
524
524
|
translateY: 0
|
|
525
525
|
},
|
|
526
526
|
disabled: {
|
|
527
|
-
backgroundColor: lateOceanColorPalette.
|
|
528
|
-
borderColor: lateOceanColorPalette.
|
|
527
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
528
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
529
529
|
borderWidth: 1,
|
|
530
530
|
shadow: {
|
|
531
|
-
color: '',
|
|
531
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
532
532
|
offsetX: 0,
|
|
533
|
-
offsetY:
|
|
534
|
-
opacity:
|
|
533
|
+
offsetY: 4,
|
|
534
|
+
opacity: 1,
|
|
535
535
|
radius: 0
|
|
536
536
|
},
|
|
537
537
|
translateY: 0
|
|
@@ -1876,6 +1876,7 @@ function ActionCardDisabled({
|
|
|
1876
1876
|
borderWidth: `kitt.actionCard.${variant}.disabled.borderWidth`,
|
|
1877
1877
|
borderColor: `kitt.actionCard.${variant}.disabled.borderColor`,
|
|
1878
1878
|
backgroundColor: `kitt.actionCard.${variant}.disabled.backgroundColor`,
|
|
1879
|
+
shadow: `kitt.actionCard.${variant}.disabled.shadow`,
|
|
1879
1880
|
flexGrow: 1,
|
|
1880
1881
|
children: children
|
|
1881
1882
|
});
|
|
@@ -8815,6 +8816,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8815
8816
|
shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
|
|
8816
8817
|
shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
|
|
8817
8818
|
}
|
|
8819
|
+
},
|
|
8820
|
+
disabled: {
|
|
8821
|
+
shadow: {
|
|
8822
|
+
shadowColor: theme.actionCard.secondary.disabled.shadow.color,
|
|
8823
|
+
shadowOffset: {
|
|
8824
|
+
width: theme.actionCard.secondary.disabled.shadow.offsetX,
|
|
8825
|
+
height: theme.actionCard.secondary.disabled.shadow.offsetY
|
|
8826
|
+
},
|
|
8827
|
+
shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
|
|
8828
|
+
shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
|
|
8829
|
+
}
|
|
8818
8830
|
}
|
|
8819
8831
|
},
|
|
8820
8832
|
primary: {
|
|
@@ -8853,13 +8865,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8853
8865
|
},
|
|
8854
8866
|
pressed: {
|
|
8855
8867
|
shadow: {
|
|
8856
|
-
shadowColor: theme.actionCard.
|
|
8868
|
+
shadowColor: theme.actionCard.primary.pressed.shadow.color,
|
|
8857
8869
|
shadowOffset: {
|
|
8858
|
-
width: theme.actionCard.
|
|
8859
|
-
height: theme.actionCard.
|
|
8870
|
+
width: theme.actionCard.primary.pressed.shadow.offsetX,
|
|
8871
|
+
height: theme.actionCard.primary.pressed.shadow.offsetY
|
|
8860
8872
|
},
|
|
8861
|
-
shadowOpacity: theme.actionCard.
|
|
8862
|
-
shadowRadius: theme.actionCard.
|
|
8873
|
+
shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
|
|
8874
|
+
shadowRadius: theme.actionCard.primary.pressed.shadow.radius
|
|
8875
|
+
}
|
|
8876
|
+
},
|
|
8877
|
+
disabled: {
|
|
8878
|
+
shadow: {
|
|
8879
|
+
shadowColor: theme.actionCard.primary.disabled.shadow.color,
|
|
8880
|
+
shadowOffset: {
|
|
8881
|
+
width: theme.actionCard.primary.disabled.shadow.offsetX,
|
|
8882
|
+
height: theme.actionCard.primary.disabled.shadow.offsetY
|
|
8883
|
+
},
|
|
8884
|
+
shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
|
|
8885
|
+
shadowRadius: theme.actionCard.primary.disabled.shadow.radius
|
|
8863
8886
|
}
|
|
8864
8887
|
}
|
|
8865
8888
|
},
|
|
@@ -8907,6 +8930,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8907
8930
|
shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
|
|
8908
8931
|
shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
|
|
8909
8932
|
}
|
|
8933
|
+
},
|
|
8934
|
+
disabled: {
|
|
8935
|
+
shadow: {
|
|
8936
|
+
shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
|
|
8937
|
+
shadowOffset: {
|
|
8938
|
+
width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
|
|
8939
|
+
height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
|
|
8940
|
+
},
|
|
8941
|
+
shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
|
|
8942
|
+
shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
|
|
8943
|
+
}
|
|
8910
8944
|
}
|
|
8911
8945
|
},
|
|
8912
8946
|
'primary-border-hard': {
|
|
@@ -8953,6 +8987,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8953
8987
|
shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
|
|
8954
8988
|
shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
|
|
8955
8989
|
}
|
|
8990
|
+
},
|
|
8991
|
+
disabled: {
|
|
8992
|
+
shadow: {
|
|
8993
|
+
shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
|
|
8994
|
+
shadowOffset: {
|
|
8995
|
+
width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
|
|
8996
|
+
height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
|
|
8997
|
+
},
|
|
8998
|
+
shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
|
|
8999
|
+
shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
|
|
9000
|
+
}
|
|
8956
9001
|
}
|
|
8957
9002
|
},
|
|
8958
9003
|
highlight: {
|
|
@@ -8999,6 +9044,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8999
9044
|
shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
|
|
9000
9045
|
shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
|
|
9001
9046
|
}
|
|
9047
|
+
},
|
|
9048
|
+
disabled: {
|
|
9049
|
+
shadow: {
|
|
9050
|
+
shadowColor: theme.actionCard.highlight.disabled.shadow.color,
|
|
9051
|
+
shadowOffset: {
|
|
9052
|
+
width: theme.actionCard.highlight.disabled.shadow.offsetX,
|
|
9053
|
+
height: theme.actionCard.highlight.disabled.shadow.offsetY
|
|
9054
|
+
},
|
|
9055
|
+
shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
|
|
9056
|
+
shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
|
|
9057
|
+
}
|
|
9002
9058
|
}
|
|
9003
9059
|
}
|
|
9004
9060
|
},
|