@ornikar/kitt-universal 32.5.1-canary.fa4369620bc01acac1d789322911d6bc321a3a45.0 → 32.5.1
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 +2 -14
- package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/Button/AnimatedContainer.web.d.ts.map +1 -1
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/Picker/Picker.web.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +3 -9
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +0 -5
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/button.d.ts +0 -3
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +0 -5
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +1 -1
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +14 -31
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +14 -31
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +14 -31
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +22 -4
- package/dist/index-node-22.17.cjs.web.js +38 -55
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +14 -31
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +22 -4
- package/dist/index-node-22.17.es.web.mjs +38 -55
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +14 -31
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +38 -55
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +10 -19
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +10 -19
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +10 -19
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +10 -19
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +10 -19
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +10 -19
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +10 -19
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +10 -19
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +22 -4
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -45,10 +45,28 @@
|
|
|
45
45
|
transition: transform var(--content-duration) var(--content-easing);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
.Picker-module_picker-enter__Dzs-s {
|
|
49
|
+
transform: translateY(8px);
|
|
50
|
+
opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Picker-module_picker-enter-active__0hxR5 {
|
|
54
|
+
transform: translateY(0);
|
|
55
|
+
opacity: 1;
|
|
56
|
+
transition: all 300ms ease-in-out;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.Picker-module_picker-exit__Z1BjM {
|
|
60
|
+
transform: translateY(0);
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.Picker-module_picker-exit-active__x2C8Q {
|
|
65
|
+
transform: translateY(8px);
|
|
66
|
+
opacity: 0;
|
|
67
|
+
transition: all 300ms ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
|
|
52
70
|
/* overrides :global(a) in Link styles.module.css */
|
|
53
71
|
.TypographyLinkWebWrapper-module_displayUnderline__KxwMp > * {
|
|
54
72
|
text-decoration: underline;
|
|
@@ -671,10 +671,6 @@ const button = {
|
|
|
671
671
|
default: 40,
|
|
672
672
|
medium: 48
|
|
673
673
|
},
|
|
674
|
-
minHeight: {
|
|
675
|
-
default: 40,
|
|
676
|
-
medium: 48
|
|
677
|
-
},
|
|
678
674
|
maxHeight: 48,
|
|
679
675
|
icon: {
|
|
680
676
|
medium: {
|
|
@@ -2129,8 +2125,8 @@ const typography = {
|
|
|
2129
2125
|
allowedFontWeights: ['semibold']
|
|
2130
2126
|
},
|
|
2131
2127
|
'heading-l': {
|
|
2132
|
-
fontSize:
|
|
2133
|
-
lineHeight:
|
|
2128
|
+
fontSize: 40,
|
|
2129
|
+
lineHeight: 48,
|
|
2134
2130
|
allowedFontWeights: ['semibold']
|
|
2135
2131
|
},
|
|
2136
2132
|
'heading-m': {
|
|
@@ -2139,19 +2135,14 @@ const typography = {
|
|
|
2139
2135
|
allowedFontWeights: ['semibold']
|
|
2140
2136
|
},
|
|
2141
2137
|
'heading-s': {
|
|
2142
|
-
fontSize:
|
|
2143
|
-
lineHeight:
|
|
2144
|
-
allowedFontWeights: ['
|
|
2138
|
+
fontSize: 18,
|
|
2139
|
+
lineHeight: 20,
|
|
2140
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2145
2141
|
},
|
|
2146
2142
|
'heading-xs': {
|
|
2147
|
-
fontSize: 20,
|
|
2148
|
-
lineHeight: 24,
|
|
2149
|
-
allowedFontWeights: ['semibold']
|
|
2150
|
-
},
|
|
2151
|
-
'heading-xxs': {
|
|
2152
2143
|
fontSize: 16,
|
|
2153
|
-
lineHeight:
|
|
2154
|
-
allowedFontWeights: ['
|
|
2144
|
+
lineHeight: 18,
|
|
2145
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2155
2146
|
}
|
|
2156
2147
|
}
|
|
2157
2148
|
},
|
|
@@ -2218,17 +2209,17 @@ const typography = {
|
|
|
2218
2209
|
configs: {
|
|
2219
2210
|
'label-large': {
|
|
2220
2211
|
fontSize: 16,
|
|
2221
|
-
lineHeight:
|
|
2212
|
+
lineHeight: 24,
|
|
2222
2213
|
allowedFontWeights: ['semibold']
|
|
2223
2214
|
},
|
|
2224
2215
|
'label-medium': {
|
|
2225
2216
|
fontSize: 14,
|
|
2226
|
-
lineHeight:
|
|
2217
|
+
lineHeight: 20,
|
|
2227
2218
|
allowedFontWeights: ['semibold']
|
|
2228
2219
|
},
|
|
2229
2220
|
'label-small': {
|
|
2230
2221
|
fontSize: 12,
|
|
2231
|
-
lineHeight:
|
|
2222
|
+
lineHeight: 16,
|
|
2232
2223
|
allowedFontWeights: ['semibold']
|
|
2233
2224
|
}
|
|
2234
2225
|
}
|
|
@@ -3146,9 +3137,7 @@ function AnimatedContainer$2({
|
|
|
3146
3137
|
},
|
|
3147
3138
|
width: width,
|
|
3148
3139
|
height: height,
|
|
3149
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3150
3140
|
alignSelf: "baseline",
|
|
3151
|
-
justifyContent: "center",
|
|
3152
3141
|
borderRadius: "kitt.button.borderRadius",
|
|
3153
3142
|
backgroundColor: currentBackgroundColor,
|
|
3154
3143
|
children: children
|
|
@@ -3844,7 +3833,6 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
3844
3833
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3845
3834
|
minWidth: "kitt.button.minWidth",
|
|
3846
3835
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3847
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3848
3836
|
maxHeight: "kitt.button.maxHeight",
|
|
3849
3837
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3850
3838
|
onPress: onPress,
|
|
@@ -7774,23 +7762,23 @@ function FullscreenModalFooter({
|
|
|
7774
7762
|
});
|
|
7775
7763
|
}
|
|
7776
7764
|
|
|
7777
|
-
const styles$
|
|
7765
|
+
const styles$2 = {"overlay-enter":"FullscreenModalAnimation-module_overlay-enter__L1J1X","overlay-enter-active":"FullscreenModalAnimation-module_overlay-enter-active__gDEVb","overlay-exit":"FullscreenModalAnimation-module_overlay-exit__Qx1WE","overlay-exit-active":"FullscreenModalAnimation-module_overlay-exit-active__lFR3x","content-enter":"FullscreenModalAnimation-module_content-enter__JmCWa","content-enter-active":"FullscreenModalAnimation-module_content-enter-active__iaNRs","content-exit":"FullscreenModalAnimation-module_content-exit__hB0wY","content-exit-active":"FullscreenModalAnimation-module_content-exit-active__BPVPo"};
|
|
7778
7766
|
|
|
7779
7767
|
const overlayClassNames = {
|
|
7780
|
-
appear: styles$
|
|
7781
|
-
appearActive: styles$
|
|
7782
|
-
enter: styles$
|
|
7783
|
-
enterActive: styles$
|
|
7784
|
-
exit: styles$
|
|
7785
|
-
exitActive: styles$
|
|
7768
|
+
appear: styles$2['overlay-enter'],
|
|
7769
|
+
appearActive: styles$2['overlay-enter-active'],
|
|
7770
|
+
enter: styles$2['overlay-enter'],
|
|
7771
|
+
enterActive: styles$2['overlay-enter-active'],
|
|
7772
|
+
exit: styles$2['overlay-exit'],
|
|
7773
|
+
exitActive: styles$2['overlay-exit-active']
|
|
7786
7774
|
};
|
|
7787
7775
|
const slideInClassNames = {
|
|
7788
|
-
appear: styles$
|
|
7789
|
-
appearActive: styles$
|
|
7790
|
-
enter: styles$
|
|
7791
|
-
enterActive: styles$
|
|
7792
|
-
exit: styles$
|
|
7793
|
-
exitActive: styles$
|
|
7776
|
+
appear: styles$2['content-enter'],
|
|
7777
|
+
appearActive: styles$2['content-enter-active'],
|
|
7778
|
+
enter: styles$2['content-enter'],
|
|
7779
|
+
enterActive: styles$2['content-enter-active'],
|
|
7780
|
+
exit: styles$2['content-exit'],
|
|
7781
|
+
exitActive: styles$2['content-exit-active']
|
|
7794
7782
|
};
|
|
7795
7783
|
function FullscreenModalAnimation({
|
|
7796
7784
|
children,
|
|
@@ -9961,10 +9949,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9961
9949
|
button: {
|
|
9962
9950
|
minWidth: theme.button.minWidth,
|
|
9963
9951
|
maxWidth: theme.button.maxWidth,
|
|
9964
|
-
minHeight: {
|
|
9965
|
-
default: theme.button.minHeight.default,
|
|
9966
|
-
medium: theme.button.minHeight.medium
|
|
9967
|
-
},
|
|
9968
9952
|
maxHeight: theme.button.maxHeight,
|
|
9969
9953
|
height: {
|
|
9970
9954
|
default: theme.button.height.default,
|
|
@@ -10586,7 +10570,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10586
10570
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
10587
10571
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
10588
10572
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
10589
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
10590
10573
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
10591
10574
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
10592
10575
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -10610,7 +10593,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10610
10593
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
10611
10594
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
10612
10595
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
10613
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
10614
10596
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
10615
10597
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
10616
10598
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -11565,6 +11547,8 @@ function PageLoader() {
|
|
|
11565
11547
|
});
|
|
11566
11548
|
}
|
|
11567
11549
|
|
|
11550
|
+
const styles$1 = {"picker-enter":"Picker-module_picker-enter__Dzs-s","picker-enter-active":"Picker-module_picker-enter-active__0hxR5","picker-exit":"Picker-module_picker-exit__Z1BjM","picker-exit-active":"Picker-module_picker-exit-active__x2C8Q"};
|
|
11551
|
+
|
|
11568
11552
|
function getBackgroundColor({
|
|
11569
11553
|
isSelected,
|
|
11570
11554
|
isHighlighted,
|
|
@@ -11649,10 +11633,12 @@ function webUseSelectReducer(state, actionAndChanges, options) {
|
|
|
11649
11633
|
}
|
|
11650
11634
|
}
|
|
11651
11635
|
|
|
11652
|
-
const
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11636
|
+
const pickerClassNames = {
|
|
11637
|
+
enter: styles$1['picker-enter'],
|
|
11638
|
+
enterActive: styles$1['picker-enter-active'],
|
|
11639
|
+
exit: styles$1['picker-exit'],
|
|
11640
|
+
exitActive: styles$1['picker-exit-active']
|
|
11641
|
+
};
|
|
11656
11642
|
function Picker({
|
|
11657
11643
|
children,
|
|
11658
11644
|
renderTrigger,
|
|
@@ -11787,18 +11773,15 @@ function Picker({
|
|
|
11787
11773
|
nodeRef: nodeRef,
|
|
11788
11774
|
timeout: 300,
|
|
11789
11775
|
in: isOpen,
|
|
11790
|
-
classNames:
|
|
11791
|
-
enter,
|
|
11792
|
-
enterActive,
|
|
11793
|
-
exit,
|
|
11794
|
-
exitActive
|
|
11795
|
-
},
|
|
11776
|
+
classNames: pickerClassNames,
|
|
11796
11777
|
children: /*#__PURE__*/jsx(View, {
|
|
11797
11778
|
ref: nodeRef,
|
|
11798
11779
|
paddingY: "kitt.2",
|
|
11799
11780
|
children: childrenArray.map((child, index) => {
|
|
11800
11781
|
const currentValue = items[index];
|
|
11801
|
-
if (currentValue === undefined)
|
|
11782
|
+
if (currentValue === undefined) {
|
|
11783
|
+
throw new Error(`Picker: No value found for item at index ${index}`);
|
|
11784
|
+
}
|
|
11802
11785
|
const {
|
|
11803
11786
|
onClick,
|
|
11804
11787
|
'aria-selected': ariaSelected,
|
|
@@ -12438,7 +12421,7 @@ function StoryTitleLevel4({
|
|
|
12438
12421
|
return /*#__PURE__*/jsx(View, {
|
|
12439
12422
|
marginBottom: 10,
|
|
12440
12423
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
12441
|
-
base: "
|
|
12424
|
+
base: "heading-s",
|
|
12442
12425
|
color: useStoryBlockColor(color),
|
|
12443
12426
|
numberOfLines: numberOfLines,
|
|
12444
12427
|
children: children
|
|
@@ -12987,7 +12970,7 @@ function ToastContent({
|
|
|
12987
12970
|
flexGrow: 1,
|
|
12988
12971
|
flexShrink: 1,
|
|
12989
12972
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
12990
|
-
base: "
|
|
12973
|
+
base: "heading-xs",
|
|
12991
12974
|
color: "white",
|
|
12992
12975
|
children: title
|
|
12993
12976
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13003,7 +12986,7 @@ function ToastContent({
|
|
|
13003
12986
|
borderColor: "white",
|
|
13004
12987
|
onPress: onPress,
|
|
13005
12988
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13006
|
-
base: "
|
|
12989
|
+
base: "heading-xs",
|
|
13007
12990
|
color: "white",
|
|
13008
12991
|
children: actionLabel
|
|
13009
12992
|
})
|