decathlon-ui 0.1.5 → 0.1.7
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/components/badge/index.d.ts +2 -2
- package/dist/components/badge/index.d.ts.map +1 -1
- package/dist/components/badge/index.js +1 -2
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/{Button → button}/index.d.ts.map +1 -1
- package/dist/components/button/index.js +1 -0
- package/dist/components/category-item/index.d.ts +2 -2
- package/dist/components/category-item/index.d.ts.map +1 -1
- package/dist/components/category-item/index.js +1 -2
- package/dist/components/filter-chip/index.d.ts +2 -2
- package/dist/components/filter-chip/index.d.ts.map +1 -1
- package/dist/components/filter-chip/index.js +1 -2
- package/dist/components/loading/index.d.ts +2 -2
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/loading/index.js +1 -2
- package/dist/components/range-slider/index.d.ts +2 -2
- package/dist/components/range-slider/index.d.ts.map +1 -1
- package/dist/components/range-slider/index.js +1 -2
- package/dist/components/search-button/index.d.ts +1 -2
- package/dist/components/search-button/index.d.ts.map +1 -1
- package/dist/components/search-button/index.js +1 -2
- package/dist/components/search-button/search-button.component.d.ts +1 -2
- package/dist/components/search-button/search-button.component.d.ts.map +1 -1
- package/dist/components/search-button/search-button.component.js +1 -2
- package/package.json +1 -1
- package/dist/components/Button/Button.d.ts +0 -11
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/Button.js +0 -19
- package/dist/components/Button/index.d.ts +0 -3
- package/dist/components/Button/index.js +0 -2
- /package/dist/components/{Button → button}/button.component.d.ts +0 -0
- /package/dist/components/{Button → button}/button.component.d.ts.map +0 -0
- /package/dist/components/{Button → button}/button.component.js +0 -0
- /package/dist/components/{Button → button}/button.props.d.ts +0 -0
- /package/dist/components/{Button → button}/button.props.d.ts.map +0 -0
- /package/dist/components/{Button → button}/button.props.js +0 -0
- /package/dist/components/{Button → button}/button.styles.d.ts +0 -0
- /package/dist/components/{Button → button}/button.styles.d.ts.map +0 -0
- /package/dist/components/{Button → button}/button.styles.js +0 -0
- /package/dist/components/{Button → button}/button.types.d.ts +0 -0
- /package/dist/components/{Button → button}/button.types.d.ts.map +0 -0
- /package/dist/components/{Button → button}/button.types.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { Badge } from "./badge.component";
|
|
2
|
+
export type { BadgeProps } from "./badge.types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/badge/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./badge.types";
|
|
1
|
+
export { Badge } from "./badge.component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Button } from "./button.component";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { CategoryItem } from "./category-item.component";
|
|
2
|
+
export type { CategoryItemProps } from "./category-item.types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/category-item/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/category-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./category-item.types";
|
|
1
|
+
export { CategoryItem } from "./category-item.component";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { FilterChip } from "./filter-chip.component";
|
|
2
|
+
export type { FilterChipProps } from "./filter-chip.types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/filter-chip/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/filter-chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./filter-chip.types";
|
|
1
|
+
export { FilterChip } from "./filter-chip.component";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { Loading } from "./loading.component";
|
|
2
|
+
export type { LoadingProps } from "./loading.types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/loading/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./loading.types";
|
|
1
|
+
export { Loading } from "./loading.component";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { RangeSlider } from "./range-slider.component";
|
|
2
|
+
export type { RangeSliderProps } from "./range-slider.types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/range-slider/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/range-slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./range-slider.types";
|
|
1
|
+
export { RangeSlider } from "./range-slider.component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/search-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/search-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SearchButton };
|
|
1
|
+
export { SearchButton } from "./search-button.component";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SearchButtonProps } from "./search-button.props";
|
|
3
|
-
declare const SearchButton: React.FC<SearchButtonProps>;
|
|
4
|
-
export default SearchButton;
|
|
3
|
+
export declare const SearchButton: React.FC<SearchButtonProps>;
|
|
5
4
|
//# sourceMappingURL=search-button.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-button.component.d.ts","sourceRoot":"","sources":["../../../src/components/search-button/search-button.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,
|
|
1
|
+
{"version":3,"file":"search-button.component.d.ts","sourceRoot":"","sources":["../../../src/components/search-button/search-button.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAYpD,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Text, TouchableOpacity } from "react-native";
|
|
3
3
|
import { SearchIcon } from "../../icons";
|
|
4
4
|
import { useSearchButtonStyles } from "./search-button.styles";
|
|
5
|
-
const SearchButton = ({ onPress, label = "Buscar", }) => {
|
|
5
|
+
export const SearchButton = ({ onPress, label = "Buscar", }) => {
|
|
6
6
|
const styles = useSearchButtonStyles();
|
|
7
7
|
return (_jsxs(TouchableOpacity, { style: styles.container, onPress: onPress, children: [_jsx(SearchIcon, { size: 20, color: "#3E4751" }), _jsx(Text, { style: styles.label, children: label })] }));
|
|
8
8
|
};
|
|
9
|
-
export default SearchButton;
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TextStyle, ViewStyle } from "react-native";
|
|
2
|
-
import React from "react";
|
|
3
|
-
export interface ButtonProps {
|
|
4
|
-
title: string;
|
|
5
|
-
onPress?: () => void;
|
|
6
|
-
style?: ViewStyle;
|
|
7
|
-
textStyle?: TextStyle;
|
|
8
|
-
}
|
|
9
|
-
export declare const Button: React.FC<ButtonProps>;
|
|
10
|
-
export default Button;
|
|
11
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAWxC,CAAC;AAgBF,eAAe,MAAM,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Pressable, StyleSheet, Text, } from "react-native";
|
|
3
|
-
export const Button = ({ title, onPress, style, textStyle, }) => {
|
|
4
|
-
return (_jsx(Pressable, { style: [styles.container, style], onPress: onPress, children: _jsx(Text, { style: [styles.text, textStyle], children: title }) }));
|
|
5
|
-
};
|
|
6
|
-
const styles = StyleSheet.create({
|
|
7
|
-
container: {
|
|
8
|
-
backgroundColor: "#1e90ff",
|
|
9
|
-
paddingVertical: 12,
|
|
10
|
-
paddingHorizontal: 24,
|
|
11
|
-
borderRadius: 4,
|
|
12
|
-
alignItems: "center",
|
|
13
|
-
},
|
|
14
|
-
text: {
|
|
15
|
-
color: "#ffffff",
|
|
16
|
-
fontWeight: "600",
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
export default Button;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|