@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;
|
|
@@ -680,10 +680,6 @@ const button = {
|
|
|
680
680
|
default: 40,
|
|
681
681
|
medium: 48
|
|
682
682
|
},
|
|
683
|
-
minHeight: {
|
|
684
|
-
default: 40,
|
|
685
|
-
medium: 48
|
|
686
|
-
},
|
|
687
683
|
maxHeight: 48,
|
|
688
684
|
icon: {
|
|
689
685
|
medium: {
|
|
@@ -2138,8 +2134,8 @@ const typography = {
|
|
|
2138
2134
|
allowedFontWeights: ['semibold']
|
|
2139
2135
|
},
|
|
2140
2136
|
'heading-l': {
|
|
2141
|
-
fontSize:
|
|
2142
|
-
lineHeight:
|
|
2137
|
+
fontSize: 40,
|
|
2138
|
+
lineHeight: 48,
|
|
2143
2139
|
allowedFontWeights: ['semibold']
|
|
2144
2140
|
},
|
|
2145
2141
|
'heading-m': {
|
|
@@ -2148,19 +2144,14 @@ const typography = {
|
|
|
2148
2144
|
allowedFontWeights: ['semibold']
|
|
2149
2145
|
},
|
|
2150
2146
|
'heading-s': {
|
|
2151
|
-
fontSize:
|
|
2152
|
-
lineHeight:
|
|
2153
|
-
allowedFontWeights: ['
|
|
2147
|
+
fontSize: 18,
|
|
2148
|
+
lineHeight: 20,
|
|
2149
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2154
2150
|
},
|
|
2155
2151
|
'heading-xs': {
|
|
2156
|
-
fontSize: 20,
|
|
2157
|
-
lineHeight: 24,
|
|
2158
|
-
allowedFontWeights: ['semibold']
|
|
2159
|
-
},
|
|
2160
|
-
'heading-xxs': {
|
|
2161
2152
|
fontSize: 16,
|
|
2162
|
-
lineHeight:
|
|
2163
|
-
allowedFontWeights: ['
|
|
2153
|
+
lineHeight: 18,
|
|
2154
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2164
2155
|
}
|
|
2165
2156
|
}
|
|
2166
2157
|
},
|
|
@@ -2227,17 +2218,17 @@ const typography = {
|
|
|
2227
2218
|
configs: {
|
|
2228
2219
|
'label-large': {
|
|
2229
2220
|
fontSize: 16,
|
|
2230
|
-
lineHeight:
|
|
2221
|
+
lineHeight: 24,
|
|
2231
2222
|
allowedFontWeights: ['semibold']
|
|
2232
2223
|
},
|
|
2233
2224
|
'label-medium': {
|
|
2234
2225
|
fontSize: 14,
|
|
2235
|
-
lineHeight:
|
|
2226
|
+
lineHeight: 20,
|
|
2236
2227
|
allowedFontWeights: ['semibold']
|
|
2237
2228
|
},
|
|
2238
2229
|
'label-small': {
|
|
2239
2230
|
fontSize: 12,
|
|
2240
|
-
lineHeight:
|
|
2231
|
+
lineHeight: 16,
|
|
2241
2232
|
allowedFontWeights: ['semibold']
|
|
2242
2233
|
}
|
|
2243
2234
|
}
|
|
@@ -3155,9 +3146,7 @@ function AnimatedContainer$2({
|
|
|
3155
3146
|
},
|
|
3156
3147
|
width: width,
|
|
3157
3148
|
height: height,
|
|
3158
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3159
3149
|
alignSelf: "baseline",
|
|
3160
|
-
justifyContent: "center",
|
|
3161
3150
|
borderRadius: "kitt.button.borderRadius",
|
|
3162
3151
|
backgroundColor: currentBackgroundColor,
|
|
3163
3152
|
children: children
|
|
@@ -3853,7 +3842,6 @@ const Button = /*#__PURE__*/react.forwardRef(({
|
|
|
3853
3842
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3854
3843
|
minWidth: "kitt.button.minWidth",
|
|
3855
3844
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3856
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3857
3845
|
maxHeight: "kitt.button.maxHeight",
|
|
3858
3846
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3859
3847
|
onPress: onPress,
|
|
@@ -7783,23 +7771,23 @@ function FullscreenModalFooter({
|
|
|
7783
7771
|
});
|
|
7784
7772
|
}
|
|
7785
7773
|
|
|
7786
|
-
const styles$
|
|
7774
|
+
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"};
|
|
7787
7775
|
|
|
7788
7776
|
const overlayClassNames = {
|
|
7789
|
-
appear: styles$
|
|
7790
|
-
appearActive: styles$
|
|
7791
|
-
enter: styles$
|
|
7792
|
-
enterActive: styles$
|
|
7793
|
-
exit: styles$
|
|
7794
|
-
exitActive: styles$
|
|
7777
|
+
appear: styles$2['overlay-enter'],
|
|
7778
|
+
appearActive: styles$2['overlay-enter-active'],
|
|
7779
|
+
enter: styles$2['overlay-enter'],
|
|
7780
|
+
enterActive: styles$2['overlay-enter-active'],
|
|
7781
|
+
exit: styles$2['overlay-exit'],
|
|
7782
|
+
exitActive: styles$2['overlay-exit-active']
|
|
7795
7783
|
};
|
|
7796
7784
|
const slideInClassNames = {
|
|
7797
|
-
appear: styles$
|
|
7798
|
-
appearActive: styles$
|
|
7799
|
-
enter: styles$
|
|
7800
|
-
enterActive: styles$
|
|
7801
|
-
exit: styles$
|
|
7802
|
-
exitActive: styles$
|
|
7785
|
+
appear: styles$2['content-enter'],
|
|
7786
|
+
appearActive: styles$2['content-enter-active'],
|
|
7787
|
+
enter: styles$2['content-enter'],
|
|
7788
|
+
enterActive: styles$2['content-enter-active'],
|
|
7789
|
+
exit: styles$2['content-exit'],
|
|
7790
|
+
exitActive: styles$2['content-exit-active']
|
|
7803
7791
|
};
|
|
7804
7792
|
function FullscreenModalAnimation({
|
|
7805
7793
|
children,
|
|
@@ -9970,10 +9958,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9970
9958
|
button: {
|
|
9971
9959
|
minWidth: theme.button.minWidth,
|
|
9972
9960
|
maxWidth: theme.button.maxWidth,
|
|
9973
|
-
minHeight: {
|
|
9974
|
-
default: theme.button.minHeight.default,
|
|
9975
|
-
medium: theme.button.minHeight.medium
|
|
9976
|
-
},
|
|
9977
9961
|
maxHeight: theme.button.maxHeight,
|
|
9978
9962
|
height: {
|
|
9979
9963
|
default: theme.button.height.default,
|
|
@@ -10595,7 +10579,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10595
10579
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
10596
10580
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
10597
10581
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
10598
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].fontSize}px`,
|
|
10599
10582
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
10600
10583
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
10601
10584
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
@@ -10619,7 +10602,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10619
10602
|
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
10620
10603
|
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
10621
10604
|
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
10622
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].lineHeight}px`,
|
|
10623
10605
|
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
10624
10606
|
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
10625
10607
|
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
@@ -11574,6 +11556,8 @@ function PageLoader() {
|
|
|
11574
11556
|
});
|
|
11575
11557
|
}
|
|
11576
11558
|
|
|
11559
|
+
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"};
|
|
11560
|
+
|
|
11577
11561
|
function getBackgroundColor({
|
|
11578
11562
|
isSelected,
|
|
11579
11563
|
isHighlighted,
|
|
@@ -11658,10 +11642,12 @@ function webUseSelectReducer(state, actionAndChanges, options) {
|
|
|
11658
11642
|
}
|
|
11659
11643
|
}
|
|
11660
11644
|
|
|
11661
|
-
const
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11645
|
+
const pickerClassNames = {
|
|
11646
|
+
enter: styles$1['picker-enter'],
|
|
11647
|
+
enterActive: styles$1['picker-enter-active'],
|
|
11648
|
+
exit: styles$1['picker-exit'],
|
|
11649
|
+
exitActive: styles$1['picker-exit-active']
|
|
11650
|
+
};
|
|
11665
11651
|
function Picker({
|
|
11666
11652
|
children,
|
|
11667
11653
|
renderTrigger,
|
|
@@ -11796,18 +11782,15 @@ function Picker({
|
|
|
11796
11782
|
nodeRef: nodeRef,
|
|
11797
11783
|
timeout: 300,
|
|
11798
11784
|
in: isOpen,
|
|
11799
|
-
classNames:
|
|
11800
|
-
enter,
|
|
11801
|
-
enterActive,
|
|
11802
|
-
exit,
|
|
11803
|
-
exitActive
|
|
11804
|
-
},
|
|
11785
|
+
classNames: pickerClassNames,
|
|
11805
11786
|
children: /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
11806
11787
|
ref: nodeRef,
|
|
11807
11788
|
paddingY: "kitt.2",
|
|
11808
11789
|
children: childrenArray.map((child, index) => {
|
|
11809
11790
|
const currentValue = items[index];
|
|
11810
|
-
if (currentValue === undefined)
|
|
11791
|
+
if (currentValue === undefined) {
|
|
11792
|
+
throw new Error(`Picker: No value found for item at index ${index}`);
|
|
11793
|
+
}
|
|
11811
11794
|
const {
|
|
11812
11795
|
onClick,
|
|
11813
11796
|
'aria-selected': ariaSelected,
|
|
@@ -12447,7 +12430,7 @@ function StoryTitleLevel4({
|
|
|
12447
12430
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
12448
12431
|
marginBottom: 10,
|
|
12449
12432
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography.Header4, {
|
|
12450
|
-
base: "
|
|
12433
|
+
base: "heading-s",
|
|
12451
12434
|
color: useStoryBlockColor(color),
|
|
12452
12435
|
numberOfLines: numberOfLines,
|
|
12453
12436
|
children: children
|
|
@@ -12996,7 +12979,7 @@ function ToastContent({
|
|
|
12996
12979
|
flexGrow: 1,
|
|
12997
12980
|
flexShrink: 1,
|
|
12998
12981
|
children: [title ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
12999
|
-
base: "
|
|
12982
|
+
base: "heading-xs",
|
|
13000
12983
|
color: "white",
|
|
13001
12984
|
children: title
|
|
13002
12985
|
}) : null, description ? /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
@@ -13012,7 +12995,7 @@ function ToastContent({
|
|
|
13012
12995
|
borderColor: "white",
|
|
13013
12996
|
onPress: onPress,
|
|
13014
12997
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
13015
|
-
base: "
|
|
12998
|
+
base: "heading-xs",
|
|
13016
12999
|
color: "white",
|
|
13017
13000
|
children: actionLabel
|
|
13018
13001
|
})
|