@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.
- package/CHANGELOG.md +16 -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 +5 -5
|
@@ -291,14 +291,14 @@ const actionCard = {
|
|
|
291
291
|
translateY: 0
|
|
292
292
|
},
|
|
293
293
|
disabled: {
|
|
294
|
-
backgroundColor: lateOceanColorPalette.
|
|
295
|
-
borderColor: lateOceanColorPalette.
|
|
294
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
295
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
296
296
|
borderWidth: 1,
|
|
297
297
|
shadow: {
|
|
298
|
-
color: '',
|
|
298
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
299
299
|
offsetX: 0,
|
|
300
|
-
offsetY:
|
|
301
|
-
opacity:
|
|
300
|
+
offsetY: 4,
|
|
301
|
+
opacity: 1,
|
|
302
302
|
radius: 0
|
|
303
303
|
},
|
|
304
304
|
translateY: 0
|
|
@@ -358,14 +358,14 @@ const actionCard = {
|
|
|
358
358
|
translateY: 0
|
|
359
359
|
},
|
|
360
360
|
disabled: {
|
|
361
|
-
backgroundColor: lateOceanColorPalette.
|
|
362
|
-
borderColor: lateOceanColorPalette.
|
|
361
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
362
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
363
363
|
borderWidth: 1,
|
|
364
364
|
shadow: {
|
|
365
|
-
color:
|
|
365
|
+
color: lateOceanColorPalette.moonPurple,
|
|
366
366
|
offsetX: 0,
|
|
367
|
-
offsetY:
|
|
368
|
-
opacity:
|
|
367
|
+
offsetY: 4,
|
|
368
|
+
opacity: 1,
|
|
369
369
|
radius: 0
|
|
370
370
|
},
|
|
371
371
|
translateY: 0
|
|
@@ -425,14 +425,14 @@ const actionCard = {
|
|
|
425
425
|
translateY: 0
|
|
426
426
|
},
|
|
427
427
|
disabled: {
|
|
428
|
-
backgroundColor: lateOceanColorPalette.
|
|
429
|
-
borderColor: lateOceanColorPalette.
|
|
428
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
429
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
430
430
|
borderWidth: 1,
|
|
431
431
|
shadow: {
|
|
432
|
-
color:
|
|
432
|
+
color: lateOceanColorPalette.lateOcean,
|
|
433
433
|
offsetX: 0,
|
|
434
|
-
offsetY:
|
|
435
|
-
opacity:
|
|
434
|
+
offsetY: 4,
|
|
435
|
+
opacity: 1,
|
|
436
436
|
radius: 0
|
|
437
437
|
},
|
|
438
438
|
translateY: 0
|
|
@@ -479,14 +479,14 @@ const actionCard = {
|
|
|
479
479
|
translateY: 0
|
|
480
480
|
},
|
|
481
481
|
disabled: {
|
|
482
|
-
backgroundColor: lateOceanColorPalette.
|
|
483
|
-
borderColor: lateOceanColorPalette.
|
|
482
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
483
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
484
484
|
borderWidth: 1,
|
|
485
485
|
shadow: {
|
|
486
|
-
color: '',
|
|
486
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
487
487
|
offsetX: 0,
|
|
488
|
-
offsetY:
|
|
489
|
-
opacity:
|
|
488
|
+
offsetY: 4,
|
|
489
|
+
opacity: 1,
|
|
490
490
|
radius: 0
|
|
491
491
|
},
|
|
492
492
|
translateY: 0
|
|
@@ -546,14 +546,14 @@ const actionCard = {
|
|
|
546
546
|
translateY: 0
|
|
547
547
|
},
|
|
548
548
|
disabled: {
|
|
549
|
-
backgroundColor: lateOceanColorPalette.
|
|
550
|
-
borderColor: lateOceanColorPalette.
|
|
549
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
550
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
551
551
|
borderWidth: 1,
|
|
552
552
|
shadow: {
|
|
553
|
-
color: '',
|
|
553
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
554
554
|
offsetX: 0,
|
|
555
|
-
offsetY:
|
|
556
|
-
opacity:
|
|
555
|
+
offsetY: 4,
|
|
556
|
+
opacity: 1,
|
|
557
557
|
radius: 0
|
|
558
558
|
},
|
|
559
559
|
translateY: 0
|
|
@@ -1898,6 +1898,7 @@ function ActionCardDisabled({
|
|
|
1898
1898
|
borderWidth: `kitt.actionCard.${variant}.disabled.borderWidth`,
|
|
1899
1899
|
borderColor: `kitt.actionCard.${variant}.disabled.borderColor`,
|
|
1900
1900
|
backgroundColor: `kitt.actionCard.${variant}.disabled.backgroundColor`,
|
|
1901
|
+
shadow: `kitt.actionCard.${variant}.disabled.shadow`,
|
|
1901
1902
|
flexGrow: 1,
|
|
1902
1903
|
children: children
|
|
1903
1904
|
});
|
|
@@ -8837,6 +8838,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8837
8838
|
shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
|
|
8838
8839
|
shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
|
|
8839
8840
|
}
|
|
8841
|
+
},
|
|
8842
|
+
disabled: {
|
|
8843
|
+
shadow: {
|
|
8844
|
+
shadowColor: theme.actionCard.secondary.disabled.shadow.color,
|
|
8845
|
+
shadowOffset: {
|
|
8846
|
+
width: theme.actionCard.secondary.disabled.shadow.offsetX,
|
|
8847
|
+
height: theme.actionCard.secondary.disabled.shadow.offsetY
|
|
8848
|
+
},
|
|
8849
|
+
shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
|
|
8850
|
+
shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
|
|
8851
|
+
}
|
|
8840
8852
|
}
|
|
8841
8853
|
},
|
|
8842
8854
|
primary: {
|
|
@@ -8875,13 +8887,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8875
8887
|
},
|
|
8876
8888
|
pressed: {
|
|
8877
8889
|
shadow: {
|
|
8878
|
-
shadowColor: theme.actionCard.
|
|
8890
|
+
shadowColor: theme.actionCard.primary.pressed.shadow.color,
|
|
8879
8891
|
shadowOffset: {
|
|
8880
|
-
width: theme.actionCard.
|
|
8881
|
-
height: theme.actionCard.
|
|
8892
|
+
width: theme.actionCard.primary.pressed.shadow.offsetX,
|
|
8893
|
+
height: theme.actionCard.primary.pressed.shadow.offsetY
|
|
8882
8894
|
},
|
|
8883
|
-
shadowOpacity: theme.actionCard.
|
|
8884
|
-
shadowRadius: theme.actionCard.
|
|
8895
|
+
shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
|
|
8896
|
+
shadowRadius: theme.actionCard.primary.pressed.shadow.radius
|
|
8897
|
+
}
|
|
8898
|
+
},
|
|
8899
|
+
disabled: {
|
|
8900
|
+
shadow: {
|
|
8901
|
+
shadowColor: theme.actionCard.primary.disabled.shadow.color,
|
|
8902
|
+
shadowOffset: {
|
|
8903
|
+
width: theme.actionCard.primary.disabled.shadow.offsetX,
|
|
8904
|
+
height: theme.actionCard.primary.disabled.shadow.offsetY
|
|
8905
|
+
},
|
|
8906
|
+
shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
|
|
8907
|
+
shadowRadius: theme.actionCard.primary.disabled.shadow.radius
|
|
8885
8908
|
}
|
|
8886
8909
|
}
|
|
8887
8910
|
},
|
|
@@ -8929,6 +8952,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8929
8952
|
shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
|
|
8930
8953
|
shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
|
|
8931
8954
|
}
|
|
8955
|
+
},
|
|
8956
|
+
disabled: {
|
|
8957
|
+
shadow: {
|
|
8958
|
+
shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
|
|
8959
|
+
shadowOffset: {
|
|
8960
|
+
width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
|
|
8961
|
+
height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
|
|
8962
|
+
},
|
|
8963
|
+
shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
|
|
8964
|
+
shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
|
|
8965
|
+
}
|
|
8932
8966
|
}
|
|
8933
8967
|
},
|
|
8934
8968
|
'primary-border-hard': {
|
|
@@ -8975,6 +9009,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8975
9009
|
shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
|
|
8976
9010
|
shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
|
|
8977
9011
|
}
|
|
9012
|
+
},
|
|
9013
|
+
disabled: {
|
|
9014
|
+
shadow: {
|
|
9015
|
+
shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
|
|
9016
|
+
shadowOffset: {
|
|
9017
|
+
width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
|
|
9018
|
+
height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
|
|
9019
|
+
},
|
|
9020
|
+
shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
|
|
9021
|
+
shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
|
|
9022
|
+
}
|
|
8978
9023
|
}
|
|
8979
9024
|
},
|
|
8980
9025
|
highlight: {
|
|
@@ -9021,6 +9066,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9021
9066
|
shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
|
|
9022
9067
|
shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
|
|
9023
9068
|
}
|
|
9069
|
+
},
|
|
9070
|
+
disabled: {
|
|
9071
|
+
shadow: {
|
|
9072
|
+
shadowColor: theme.actionCard.highlight.disabled.shadow.color,
|
|
9073
|
+
shadowOffset: {
|
|
9074
|
+
width: theme.actionCard.highlight.disabled.shadow.offsetX,
|
|
9075
|
+
height: theme.actionCard.highlight.disabled.shadow.offsetY
|
|
9076
|
+
},
|
|
9077
|
+
shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
|
|
9078
|
+
shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
|
|
9079
|
+
}
|
|
9024
9080
|
}
|
|
9025
9081
|
}
|
|
9026
9082
|
},
|