@ornikar/kitt-universal 27.9.1-canary.f58d71b1dad7167039ee1fbddbcf093a87688e98.0 → 28.0.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 +15 -9
- package/dist/definitions/TopNavBar/TopNavBar.d.ts +4 -3
- package/dist/definitions/TopNavBar/TopNavBar.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +2 -0
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +2 -0
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +2 -0
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +2 -0
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +2 -0
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +2 -0
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +3 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +3 -0
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -4484,6 +4484,8 @@ function TopNavBar(_ref) {
|
|
|
4484
4484
|
mode = _ref$mode === void 0 ? 'default' : _ref$mode,
|
|
4485
4485
|
_ref$hasSeparator = _ref.hasSeparator,
|
|
4486
4486
|
hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
|
|
4487
|
+
_ref$backgroundColor = _ref.backgroundColor,
|
|
4488
|
+
backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
|
|
4487
4489
|
testID = _ref.testID;
|
|
4488
4490
|
var isLargeTitleMode = mode === 'largeTitle';
|
|
4489
4491
|
var leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
|
|
@@ -4497,6 +4499,7 @@ function TopNavBar(_ref) {
|
|
|
4497
4499
|
paddingX: "kitt.2",
|
|
4498
4500
|
paddingTop: isLargeTitleMode ? 'kitt.2' : 'kitt.3',
|
|
4499
4501
|
paddingBottom: "kitt.3",
|
|
4502
|
+
backgroundColor: backgroundColor,
|
|
4500
4503
|
borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
|
|
4501
4504
|
borderColor: "kitt.separator",
|
|
4502
4505
|
testID: testID,
|