@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
package/dist/index.es.web.js
CHANGED
|
@@ -689,10 +689,6 @@ var button = {
|
|
|
689
689
|
"default": 40,
|
|
690
690
|
medium: 48
|
|
691
691
|
},
|
|
692
|
-
minHeight: {
|
|
693
|
-
"default": 40,
|
|
694
|
-
medium: 48
|
|
695
|
-
},
|
|
696
692
|
maxHeight: 48,
|
|
697
693
|
icon: {
|
|
698
694
|
medium: {
|
|
@@ -2147,8 +2143,8 @@ var typography = {
|
|
|
2147
2143
|
allowedFontWeights: ['semibold']
|
|
2148
2144
|
},
|
|
2149
2145
|
'heading-l': {
|
|
2150
|
-
fontSize:
|
|
2151
|
-
lineHeight:
|
|
2146
|
+
fontSize: 40,
|
|
2147
|
+
lineHeight: 48,
|
|
2152
2148
|
allowedFontWeights: ['semibold']
|
|
2153
2149
|
},
|
|
2154
2150
|
'heading-m': {
|
|
@@ -2157,19 +2153,14 @@ var typography = {
|
|
|
2157
2153
|
allowedFontWeights: ['semibold']
|
|
2158
2154
|
},
|
|
2159
2155
|
'heading-s': {
|
|
2160
|
-
fontSize:
|
|
2161
|
-
lineHeight:
|
|
2162
|
-
allowedFontWeights: ['
|
|
2156
|
+
fontSize: 18,
|
|
2157
|
+
lineHeight: 20,
|
|
2158
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2163
2159
|
},
|
|
2164
2160
|
'heading-xs': {
|
|
2165
|
-
fontSize: 20,
|
|
2166
|
-
lineHeight: 24,
|
|
2167
|
-
allowedFontWeights: ['semibold']
|
|
2168
|
-
},
|
|
2169
|
-
'heading-xxs': {
|
|
2170
2161
|
fontSize: 16,
|
|
2171
|
-
lineHeight:
|
|
2172
|
-
allowedFontWeights: ['
|
|
2162
|
+
lineHeight: 18,
|
|
2163
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2173
2164
|
}
|
|
2174
2165
|
}
|
|
2175
2166
|
},
|
|
@@ -2236,17 +2227,17 @@ var typography = {
|
|
|
2236
2227
|
configs: {
|
|
2237
2228
|
'label-large': {
|
|
2238
2229
|
fontSize: 16,
|
|
2239
|
-
lineHeight:
|
|
2230
|
+
lineHeight: 24,
|
|
2240
2231
|
allowedFontWeights: ['semibold']
|
|
2241
2232
|
},
|
|
2242
2233
|
'label-medium': {
|
|
2243
2234
|
fontSize: 14,
|
|
2244
|
-
lineHeight:
|
|
2235
|
+
lineHeight: 20,
|
|
2245
2236
|
allowedFontWeights: ['semibold']
|
|
2246
2237
|
},
|
|
2247
2238
|
'label-small': {
|
|
2248
2239
|
fontSize: 12,
|
|
2249
|
-
lineHeight:
|
|
2240
|
+
lineHeight: 16,
|
|
2250
2241
|
allowedFontWeights: ['semibold']
|
|
2251
2242
|
}
|
|
2252
2243
|
}
|
|
@@ -3167,9 +3158,7 @@ function AnimatedContainer$2(_ref) {
|
|
|
3167
3158
|
},
|
|
3168
3159
|
width: width,
|
|
3169
3160
|
height: height,
|
|
3170
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3171
3161
|
alignSelf: "baseline",
|
|
3172
|
-
justifyContent: "center",
|
|
3173
3162
|
borderRadius: "kitt.button.borderRadius",
|
|
3174
3163
|
backgroundColor: currentBackgroundColor,
|
|
3175
3164
|
children: children
|
|
@@ -3868,7 +3857,6 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3868
3857
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3869
3858
|
minWidth: "kitt.button.minWidth",
|
|
3870
3859
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3871
|
-
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3872
3860
|
maxHeight: "kitt.button.maxHeight",
|
|
3873
3861
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3874
3862
|
onPress: onPress,
|
|
@@ -7962,24 +7950,24 @@ function FullscreenModalFooter(_ref) {
|
|
|
7962
7950
|
}));
|
|
7963
7951
|
}
|
|
7964
7952
|
|
|
7965
|
-
var styles$
|
|
7953
|
+
var 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"};
|
|
7966
7954
|
|
|
7967
7955
|
var _excluded$i = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
|
|
7968
7956
|
var overlayClassNames = {
|
|
7969
|
-
appear: styles$
|
|
7970
|
-
appearActive: styles$
|
|
7971
|
-
enter: styles$
|
|
7972
|
-
enterActive: styles$
|
|
7973
|
-
exit: styles$
|
|
7974
|
-
exitActive: styles$
|
|
7957
|
+
appear: styles$2['overlay-enter'],
|
|
7958
|
+
appearActive: styles$2['overlay-enter-active'],
|
|
7959
|
+
enter: styles$2['overlay-enter'],
|
|
7960
|
+
enterActive: styles$2['overlay-enter-active'],
|
|
7961
|
+
exit: styles$2['overlay-exit'],
|
|
7962
|
+
exitActive: styles$2['overlay-exit-active']
|
|
7975
7963
|
};
|
|
7976
7964
|
var slideInClassNames = {
|
|
7977
|
-
appear: styles$
|
|
7978
|
-
appearActive: styles$
|
|
7979
|
-
enter: styles$
|
|
7980
|
-
enterActive: styles$
|
|
7981
|
-
exit: styles$
|
|
7982
|
-
exitActive: styles$
|
|
7965
|
+
appear: styles$2['content-enter'],
|
|
7966
|
+
appearActive: styles$2['content-enter-active'],
|
|
7967
|
+
enter: styles$2['content-enter'],
|
|
7968
|
+
enterActive: styles$2['content-enter-active'],
|
|
7969
|
+
exit: styles$2['content-exit'],
|
|
7970
|
+
exitActive: styles$2['content-exit-active']
|
|
7983
7971
|
};
|
|
7984
7972
|
function FullscreenModalAnimation(_ref) {
|
|
7985
7973
|
var children = _ref.children,
|
|
@@ -10154,10 +10142,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10154
10142
|
button: {
|
|
10155
10143
|
minWidth: theme.button.minWidth,
|
|
10156
10144
|
maxWidth: theme.button.maxWidth,
|
|
10157
|
-
minHeight: {
|
|
10158
|
-
"default": theme.button.minHeight["default"],
|
|
10159
|
-
medium: theme.button.minHeight.medium
|
|
10160
|
-
},
|
|
10161
10145
|
maxHeight: theme.button.maxHeight,
|
|
10162
10146
|
height: {
|
|
10163
10147
|
"default": theme.button.height["default"],
|
|
@@ -10774,7 +10758,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10774
10758
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
10775
10759
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
10776
10760
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
|
|
10777
|
-
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
|
|
10778
10761
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
10779
10762
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
10780
10763
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -10798,7 +10781,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10798
10781
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
10799
10782
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
10800
10783
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
|
|
10801
|
-
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
|
|
10802
10784
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
10803
10785
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
10804
10786
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -11748,6 +11730,8 @@ function PageLoader() {
|
|
|
11748
11730
|
});
|
|
11749
11731
|
}
|
|
11750
11732
|
|
|
11733
|
+
var 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"};
|
|
11734
|
+
|
|
11751
11735
|
function getBackgroundColor(_ref) {
|
|
11752
11736
|
var isSelected = _ref.isSelected,
|
|
11753
11737
|
isHighlighted = _ref.isHighlighted,
|
|
@@ -11829,10 +11813,12 @@ function webUseSelectReducer(state, actionAndChanges, options) {
|
|
|
11829
11813
|
var _excluded$9 = ["onClick"],
|
|
11830
11814
|
_excluded2$2 = ["ref"],
|
|
11831
11815
|
_excluded3$2 = ["onClick", "aria-selected"];
|
|
11832
|
-
var
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11816
|
+
var pickerClassNames = {
|
|
11817
|
+
enter: styles$1['picker-enter'],
|
|
11818
|
+
enterActive: styles$1['picker-enter-active'],
|
|
11819
|
+
exit: styles$1['picker-exit'],
|
|
11820
|
+
exitActive: styles$1['picker-exit-active']
|
|
11821
|
+
};
|
|
11836
11822
|
function Picker(_ref) {
|
|
11837
11823
|
var _refs$reference$curre;
|
|
11838
11824
|
var children = _ref.children,
|
|
@@ -11967,18 +11953,15 @@ function Picker(_ref) {
|
|
|
11967
11953
|
nodeRef: nodeRef,
|
|
11968
11954
|
timeout: 300,
|
|
11969
11955
|
"in": isOpen,
|
|
11970
|
-
classNames:
|
|
11971
|
-
enter: enter,
|
|
11972
|
-
enterActive: enterActive,
|
|
11973
|
-
exit: exit,
|
|
11974
|
-
exitActive: exitActive
|
|
11975
|
-
},
|
|
11956
|
+
classNames: pickerClassNames,
|
|
11976
11957
|
children: /*#__PURE__*/jsx(View, {
|
|
11977
11958
|
ref: nodeRef,
|
|
11978
11959
|
paddingY: "kitt.2",
|
|
11979
11960
|
children: childrenArray.map(function (child, index) {
|
|
11980
11961
|
var currentValue = items[index];
|
|
11981
|
-
if (currentValue === undefined)
|
|
11962
|
+
if (currentValue === undefined) {
|
|
11963
|
+
throw new Error("Picker: No value found for item at index ".concat(index));
|
|
11964
|
+
}
|
|
11982
11965
|
var _getItemProps = getItemProps({
|
|
11983
11966
|
item: currentValue,
|
|
11984
11967
|
index: index,
|
|
@@ -12629,7 +12612,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
12629
12612
|
return /*#__PURE__*/jsx(View, {
|
|
12630
12613
|
marginBottom: 10,
|
|
12631
12614
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
12632
|
-
base: "
|
|
12615
|
+
base: "heading-s",
|
|
12633
12616
|
color: useStoryBlockColor(color),
|
|
12634
12617
|
numberOfLines: numberOfLines,
|
|
12635
12618
|
children: children
|
|
@@ -13182,7 +13165,7 @@ function ToastContent(_ref) {
|
|
|
13182
13165
|
flexGrow: 1,
|
|
13183
13166
|
flexShrink: 1,
|
|
13184
13167
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13185
|
-
base: "
|
|
13168
|
+
base: "heading-xs",
|
|
13186
13169
|
color: "white",
|
|
13187
13170
|
children: title
|
|
13188
13171
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13198,7 +13181,7 @@ function ToastContent(_ref) {
|
|
|
13198
13181
|
borderColor: "white",
|
|
13199
13182
|
onPress: onPress,
|
|
13200
13183
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13201
|
-
base: "
|
|
13184
|
+
base: "heading-xs",
|
|
13202
13185
|
color: "white",
|
|
13203
13186
|
children: actionLabel
|
|
13204
13187
|
})
|