@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
|
@@ -272,14 +272,14 @@ const actionCard = {
|
|
|
272
272
|
translateY: 0
|
|
273
273
|
},
|
|
274
274
|
disabled: {
|
|
275
|
-
backgroundColor: lateOceanColorPalette.
|
|
276
|
-
borderColor: lateOceanColorPalette.
|
|
275
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
276
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
277
277
|
borderWidth: 1,
|
|
278
278
|
shadow: {
|
|
279
|
-
color: '',
|
|
279
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
280
280
|
offsetX: 0,
|
|
281
|
-
offsetY:
|
|
282
|
-
opacity:
|
|
281
|
+
offsetY: 4,
|
|
282
|
+
opacity: 1,
|
|
283
283
|
radius: 0
|
|
284
284
|
},
|
|
285
285
|
translateY: 0
|
|
@@ -339,14 +339,14 @@ const actionCard = {
|
|
|
339
339
|
translateY: 0
|
|
340
340
|
},
|
|
341
341
|
disabled: {
|
|
342
|
-
backgroundColor: lateOceanColorPalette.
|
|
343
|
-
borderColor: lateOceanColorPalette.
|
|
342
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
343
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
344
344
|
borderWidth: 1,
|
|
345
345
|
shadow: {
|
|
346
|
-
color:
|
|
346
|
+
color: lateOceanColorPalette.moonPurple,
|
|
347
347
|
offsetX: 0,
|
|
348
|
-
offsetY:
|
|
349
|
-
opacity:
|
|
348
|
+
offsetY: 4,
|
|
349
|
+
opacity: 1,
|
|
350
350
|
radius: 0
|
|
351
351
|
},
|
|
352
352
|
translateY: 0
|
|
@@ -406,14 +406,14 @@ const actionCard = {
|
|
|
406
406
|
translateY: 0
|
|
407
407
|
},
|
|
408
408
|
disabled: {
|
|
409
|
-
backgroundColor: lateOceanColorPalette.
|
|
410
|
-
borderColor: lateOceanColorPalette.
|
|
409
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
410
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
411
411
|
borderWidth: 1,
|
|
412
412
|
shadow: {
|
|
413
|
-
color:
|
|
413
|
+
color: lateOceanColorPalette.lateOcean,
|
|
414
414
|
offsetX: 0,
|
|
415
|
-
offsetY:
|
|
416
|
-
opacity:
|
|
415
|
+
offsetY: 4,
|
|
416
|
+
opacity: 1,
|
|
417
417
|
radius: 0
|
|
418
418
|
},
|
|
419
419
|
translateY: 0
|
|
@@ -460,14 +460,14 @@ const actionCard = {
|
|
|
460
460
|
translateY: 0
|
|
461
461
|
},
|
|
462
462
|
disabled: {
|
|
463
|
-
backgroundColor: lateOceanColorPalette.
|
|
464
|
-
borderColor: lateOceanColorPalette.
|
|
463
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
464
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
465
465
|
borderWidth: 1,
|
|
466
466
|
shadow: {
|
|
467
|
-
color: '',
|
|
467
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
468
468
|
offsetX: 0,
|
|
469
|
-
offsetY:
|
|
470
|
-
opacity:
|
|
469
|
+
offsetY: 4,
|
|
470
|
+
opacity: 1,
|
|
471
471
|
radius: 0
|
|
472
472
|
},
|
|
473
473
|
translateY: 0
|
|
@@ -527,14 +527,14 @@ const actionCard = {
|
|
|
527
527
|
translateY: 0
|
|
528
528
|
},
|
|
529
529
|
disabled: {
|
|
530
|
-
backgroundColor: lateOceanColorPalette.
|
|
531
|
-
borderColor: lateOceanColorPalette.
|
|
530
|
+
backgroundColor: lateOceanColorPalette['eggshell.2'],
|
|
531
|
+
borderColor: lateOceanColorPalette['eggshell.3'],
|
|
532
532
|
borderWidth: 1,
|
|
533
533
|
shadow: {
|
|
534
|
-
color: '',
|
|
534
|
+
color: lateOceanColorPalette['eggshell.3'],
|
|
535
535
|
offsetX: 0,
|
|
536
|
-
offsetY:
|
|
537
|
-
opacity:
|
|
536
|
+
offsetY: 4,
|
|
537
|
+
opacity: 1,
|
|
538
538
|
radius: 0
|
|
539
539
|
},
|
|
540
540
|
translateY: 0
|
|
@@ -1879,6 +1879,7 @@ function ActionCardDisabled({
|
|
|
1879
1879
|
borderWidth: `kitt.actionCard.${variant}.disabled.borderWidth`,
|
|
1880
1880
|
borderColor: `kitt.actionCard.${variant}.disabled.borderColor`,
|
|
1881
1881
|
backgroundColor: `kitt.actionCard.${variant}.disabled.backgroundColor`,
|
|
1882
|
+
shadow: `kitt.actionCard.${variant}.disabled.shadow`,
|
|
1882
1883
|
flexGrow: 1,
|
|
1883
1884
|
children: children
|
|
1884
1885
|
});
|
|
@@ -8760,6 +8761,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8760
8761
|
shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,
|
|
8761
8762
|
shadowRadius: theme.actionCard.secondary.pressed.shadow.radius
|
|
8762
8763
|
}
|
|
8764
|
+
},
|
|
8765
|
+
disabled: {
|
|
8766
|
+
shadow: {
|
|
8767
|
+
shadowColor: theme.actionCard.secondary.disabled.shadow.color,
|
|
8768
|
+
shadowOffset: {
|
|
8769
|
+
width: theme.actionCard.secondary.disabled.shadow.offsetX,
|
|
8770
|
+
height: theme.actionCard.secondary.disabled.shadow.offsetY
|
|
8771
|
+
},
|
|
8772
|
+
shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,
|
|
8773
|
+
shadowRadius: theme.actionCard.secondary.disabled.shadow.radius
|
|
8774
|
+
}
|
|
8763
8775
|
}
|
|
8764
8776
|
},
|
|
8765
8777
|
primary: {
|
|
@@ -8798,13 +8810,24 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8798
8810
|
},
|
|
8799
8811
|
pressed: {
|
|
8800
8812
|
shadow: {
|
|
8801
|
-
shadowColor: theme.actionCard.
|
|
8813
|
+
shadowColor: theme.actionCard.primary.pressed.shadow.color,
|
|
8802
8814
|
shadowOffset: {
|
|
8803
|
-
width: theme.actionCard.
|
|
8804
|
-
height: theme.actionCard.
|
|
8815
|
+
width: theme.actionCard.primary.pressed.shadow.offsetX,
|
|
8816
|
+
height: theme.actionCard.primary.pressed.shadow.offsetY
|
|
8805
8817
|
},
|
|
8806
|
-
shadowOpacity: theme.actionCard.
|
|
8807
|
-
shadowRadius: theme.actionCard.
|
|
8818
|
+
shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,
|
|
8819
|
+
shadowRadius: theme.actionCard.primary.pressed.shadow.radius
|
|
8820
|
+
}
|
|
8821
|
+
},
|
|
8822
|
+
disabled: {
|
|
8823
|
+
shadow: {
|
|
8824
|
+
shadowColor: theme.actionCard.primary.disabled.shadow.color,
|
|
8825
|
+
shadowOffset: {
|
|
8826
|
+
width: theme.actionCard.primary.disabled.shadow.offsetX,
|
|
8827
|
+
height: theme.actionCard.primary.disabled.shadow.offsetY
|
|
8828
|
+
},
|
|
8829
|
+
shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,
|
|
8830
|
+
shadowRadius: theme.actionCard.primary.disabled.shadow.radius
|
|
8808
8831
|
}
|
|
8809
8832
|
}
|
|
8810
8833
|
},
|
|
@@ -8852,6 +8875,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8852
8875
|
shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,
|
|
8853
8876
|
shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius
|
|
8854
8877
|
}
|
|
8878
|
+
},
|
|
8879
|
+
disabled: {
|
|
8880
|
+
shadow: {
|
|
8881
|
+
shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,
|
|
8882
|
+
shadowOffset: {
|
|
8883
|
+
width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,
|
|
8884
|
+
height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY
|
|
8885
|
+
},
|
|
8886
|
+
shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,
|
|
8887
|
+
shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius
|
|
8888
|
+
}
|
|
8855
8889
|
}
|
|
8856
8890
|
},
|
|
8857
8891
|
'primary-border-hard': {
|
|
@@ -8898,6 +8932,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8898
8932
|
shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,
|
|
8899
8933
|
shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius
|
|
8900
8934
|
}
|
|
8935
|
+
},
|
|
8936
|
+
disabled: {
|
|
8937
|
+
shadow: {
|
|
8938
|
+
shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,
|
|
8939
|
+
shadowOffset: {
|
|
8940
|
+
width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,
|
|
8941
|
+
height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY
|
|
8942
|
+
},
|
|
8943
|
+
shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,
|
|
8944
|
+
shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius
|
|
8945
|
+
}
|
|
8901
8946
|
}
|
|
8902
8947
|
},
|
|
8903
8948
|
highlight: {
|
|
@@ -8944,6 +8989,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8944
8989
|
shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,
|
|
8945
8990
|
shadowRadius: theme.actionCard.highlight.pressed.shadow.radius
|
|
8946
8991
|
}
|
|
8992
|
+
},
|
|
8993
|
+
disabled: {
|
|
8994
|
+
shadow: {
|
|
8995
|
+
shadowColor: theme.actionCard.highlight.disabled.shadow.color,
|
|
8996
|
+
shadowOffset: {
|
|
8997
|
+
width: theme.actionCard.highlight.disabled.shadow.offsetX,
|
|
8998
|
+
height: theme.actionCard.highlight.disabled.shadow.offsetY
|
|
8999
|
+
},
|
|
9000
|
+
shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,
|
|
9001
|
+
shadowRadius: theme.actionCard.highlight.disabled.shadow.radius
|
|
9002
|
+
}
|
|
8947
9003
|
}
|
|
8948
9004
|
}
|
|
8949
9005
|
},
|