@ornikar/kitt-universal 32.3.0 → 32.3.1-canary.ddff29bdf3ffa500cf7658e5206d5069b23f4b45.0
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 +19 -0
- 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/native-base/KittNativeBaseProvider.d.ts +9 -3
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +5 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/button.d.ts +3 -0
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +31 -14
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +31 -14
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +31 -14
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +31 -13
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +31 -14
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +31 -13
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +31 -14
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +31 -13
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +19 -10
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +19 -10
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +19 -10
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +19 -10
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +19 -10
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +19 -10
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +19 -10
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +19 -10
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.es.web.js
CHANGED
|
@@ -689,6 +689,10 @@ var button = {
|
|
|
689
689
|
"default": 40,
|
|
690
690
|
medium: 48
|
|
691
691
|
},
|
|
692
|
+
minHeight: {
|
|
693
|
+
"default": 40,
|
|
694
|
+
medium: 48
|
|
695
|
+
},
|
|
692
696
|
maxHeight: 48,
|
|
693
697
|
icon: {
|
|
694
698
|
medium: {
|
|
@@ -2142,8 +2146,8 @@ var typography = {
|
|
|
2142
2146
|
allowedFontWeights: ['semibold']
|
|
2143
2147
|
},
|
|
2144
2148
|
'heading-l': {
|
|
2145
|
-
fontSize:
|
|
2146
|
-
lineHeight:
|
|
2149
|
+
fontSize: 38,
|
|
2150
|
+
lineHeight: 44,
|
|
2147
2151
|
allowedFontWeights: ['semibold']
|
|
2148
2152
|
},
|
|
2149
2153
|
'heading-m': {
|
|
@@ -2152,14 +2156,19 @@ var typography = {
|
|
|
2152
2156
|
allowedFontWeights: ['semibold']
|
|
2153
2157
|
},
|
|
2154
2158
|
'heading-s': {
|
|
2155
|
-
fontSize:
|
|
2156
|
-
lineHeight:
|
|
2157
|
-
allowedFontWeights: ['
|
|
2159
|
+
fontSize: 24,
|
|
2160
|
+
lineHeight: 28,
|
|
2161
|
+
allowedFontWeights: ['semibold']
|
|
2158
2162
|
},
|
|
2159
2163
|
'heading-xs': {
|
|
2164
|
+
fontSize: 20,
|
|
2165
|
+
lineHeight: 24,
|
|
2166
|
+
allowedFontWeights: ['semibold']
|
|
2167
|
+
},
|
|
2168
|
+
'heading-xxs': {
|
|
2160
2169
|
fontSize: 16,
|
|
2161
|
-
lineHeight:
|
|
2162
|
-
allowedFontWeights: ['
|
|
2170
|
+
lineHeight: 20,
|
|
2171
|
+
allowedFontWeights: ['semibold']
|
|
2163
2172
|
}
|
|
2164
2173
|
}
|
|
2165
2174
|
},
|
|
@@ -2226,17 +2235,17 @@ var typography = {
|
|
|
2226
2235
|
configs: {
|
|
2227
2236
|
'label-large': {
|
|
2228
2237
|
fontSize: 16,
|
|
2229
|
-
lineHeight:
|
|
2238
|
+
lineHeight: 20,
|
|
2230
2239
|
allowedFontWeights: ['semibold']
|
|
2231
2240
|
},
|
|
2232
2241
|
'label-medium': {
|
|
2233
2242
|
fontSize: 14,
|
|
2234
|
-
lineHeight:
|
|
2243
|
+
lineHeight: 18,
|
|
2235
2244
|
allowedFontWeights: ['semibold']
|
|
2236
2245
|
},
|
|
2237
2246
|
'label-small': {
|
|
2238
2247
|
fontSize: 12,
|
|
2239
|
-
lineHeight:
|
|
2248
|
+
lineHeight: 14,
|
|
2240
2249
|
allowedFontWeights: ['semibold']
|
|
2241
2250
|
}
|
|
2242
2251
|
}
|
|
@@ -3157,7 +3166,9 @@ function AnimatedContainer$2(_ref) {
|
|
|
3157
3166
|
},
|
|
3158
3167
|
width: width,
|
|
3159
3168
|
height: height,
|
|
3169
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3160
3170
|
alignSelf: "baseline",
|
|
3171
|
+
justifyContent: "center",
|
|
3161
3172
|
borderRadius: "kitt.button.borderRadius",
|
|
3162
3173
|
backgroundColor: currentBackgroundColor,
|
|
3163
3174
|
children: children
|
|
@@ -3856,6 +3867,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3856
3867
|
alignSelf: createResponsiveStyleFromProp(stretch, undefined, 'flex-start'),
|
|
3857
3868
|
minWidth: "kitt.button.minWidth",
|
|
3858
3869
|
maxWidth: createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth'),
|
|
3870
|
+
minHeight: size === 'default' ? 'kitt.button.minHeight.default' : 'kitt.button.minHeight.medium',
|
|
3859
3871
|
maxHeight: "kitt.button.maxHeight",
|
|
3860
3872
|
width: createResponsiveStyleFromProp(stretch, '100%', 'auto'),
|
|
3861
3873
|
onPress: onPress,
|
|
@@ -10105,6 +10117,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10105
10117
|
button: {
|
|
10106
10118
|
minWidth: theme.button.minWidth,
|
|
10107
10119
|
maxWidth: theme.button.maxWidth,
|
|
10120
|
+
minHeight: {
|
|
10121
|
+
"default": theme.button.minHeight["default"],
|
|
10122
|
+
medium: theme.button.minHeight.medium
|
|
10123
|
+
},
|
|
10108
10124
|
maxHeight: theme.button.maxHeight,
|
|
10109
10125
|
height: {
|
|
10110
10126
|
"default": theme.button.height["default"],
|
|
@@ -10721,6 +10737,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10721
10737
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].fontSize, "px"),
|
|
10722
10738
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].fontSize, "px"),
|
|
10723
10739
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].fontSize, "px"),
|
|
10740
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].fontSize, "px"),
|
|
10724
10741
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].fontSize, "px"),
|
|
10725
10742
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].fontSize, "px"),
|
|
10726
10743
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].fontSize, "px"),
|
|
@@ -10744,6 +10761,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10744
10761
|
'heading-m': "".concat(theme.typography.types.headings.configs['heading-m'].lineHeight, "px"),
|
|
10745
10762
|
'heading-s': "".concat(theme.typography.types.headings.configs['heading-s'].lineHeight, "px"),
|
|
10746
10763
|
'heading-xs': "".concat(theme.typography.types.headings.configs['heading-xs'].lineHeight, "px"),
|
|
10764
|
+
'heading-xxs': "".concat(theme.typography.types.headings.configs['heading-xxs'].lineHeight, "px"),
|
|
10747
10765
|
'body-xl': "".concat(theme.typography.types.bodies.configs['body-xl'].lineHeight, "px"),
|
|
10748
10766
|
'body-l': "".concat(theme.typography.types.bodies.configs['body-l'].lineHeight, "px"),
|
|
10749
10767
|
'body-m': "".concat(theme.typography.types.bodies.configs['body-m'].lineHeight, "px"),
|
|
@@ -12574,7 +12592,7 @@ function StoryTitleLevel4(_ref4) {
|
|
|
12574
12592
|
return /*#__PURE__*/jsx(View, {
|
|
12575
12593
|
marginBottom: 10,
|
|
12576
12594
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
12577
|
-
base: "
|
|
12595
|
+
base: "body-l",
|
|
12578
12596
|
color: useStoryBlockColor(color),
|
|
12579
12597
|
numberOfLines: numberOfLines,
|
|
12580
12598
|
children: children
|
|
@@ -13127,7 +13145,7 @@ function ToastContent(_ref) {
|
|
|
13127
13145
|
flexGrow: 1,
|
|
13128
13146
|
flexShrink: 1,
|
|
13129
13147
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13130
|
-
base: "
|
|
13148
|
+
base: "body-m",
|
|
13131
13149
|
color: "white",
|
|
13132
13150
|
children: title
|
|
13133
13151
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13143,7 +13161,7 @@ function ToastContent(_ref) {
|
|
|
13143
13161
|
borderColor: "white",
|
|
13144
13162
|
onPress: onPress,
|
|
13145
13163
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13146
|
-
base: "
|
|
13164
|
+
base: "body-m",
|
|
13147
13165
|
color: "white",
|
|
13148
13166
|
children: actionLabel
|
|
13149
13167
|
})
|