@ornikar/kitt-universal 16.4.1 → 16.4.2
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/dist/definitions/Picker/Picker.web.d.ts.map +1 -1
- package/dist/definitions/Picker/PickerOption.d.ts +8 -3
- package/dist/definitions/Picker/PickerOption.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +29 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +98 -80
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +98 -80
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +98 -80
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +161 -115
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +21 -2
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +4 -0
- package/dist/index-node-14.17.cjs.web.js +88 -39
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +4 -0
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -8627,6 +8627,21 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
8627
8627
|
shadowRadius: theme.dialogModal.shadow.radius
|
|
8628
8628
|
}
|
|
8629
8629
|
},
|
|
8630
|
+
picker: {
|
|
8631
|
+
web: {
|
|
8632
|
+
optionsContainer: {
|
|
8633
|
+
shadow: {
|
|
8634
|
+
shadowColor: theme.picker.web.optionsContainer.shadow.color,
|
|
8635
|
+
shadowOffset: {
|
|
8636
|
+
width: theme.picker.web.optionsContainer.shadow.offsetX,
|
|
8637
|
+
height: theme.picker.web.optionsContainer.shadow.offsetY
|
|
8638
|
+
},
|
|
8639
|
+
shadowOpacity: theme.picker.web.optionsContainer.shadow.opacity,
|
|
8640
|
+
shadowRadius: theme.picker.web.optionsContainer.shadow.radius
|
|
8641
|
+
}
|
|
8642
|
+
}
|
|
8643
|
+
}
|
|
8644
|
+
},
|
|
8630
8645
|
forms: {
|
|
8631
8646
|
autocomplete: {
|
|
8632
8647
|
optionsContainer: {
|
|
@@ -9121,12 +9136,16 @@ function PickerItem({
|
|
|
9121
9136
|
function PickerOption({
|
|
9122
9137
|
children,
|
|
9123
9138
|
testID,
|
|
9124
|
-
|
|
9139
|
+
isHighlighted,
|
|
9140
|
+
isSelected
|
|
9125
9141
|
}) {
|
|
9126
9142
|
return /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
9127
9143
|
testID: testID,
|
|
9128
9144
|
base: "body",
|
|
9129
|
-
children: children
|
|
9145
|
+
children: typeof children === 'function' ? children({
|
|
9146
|
+
isHighlighted,
|
|
9147
|
+
isSelected
|
|
9148
|
+
}) : children
|
|
9130
9149
|
});
|
|
9131
9150
|
}
|
|
9132
9151
|
|