@tapcart/mobile-components 0.12.6 → 0.12.8

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.
@@ -4,6 +4,10 @@ export declare function useProductOptions(variants: ProductVariant[] | undefined
4
4
  selectedOptions: SelectedOptions;
5
5
  handleSelect: (optionName: string, optionValue: string) => void;
6
6
  selectedVariant: ProductVariant | undefined;
7
+ productOptions: {
8
+ name: string;
9
+ values: string[];
10
+ }[];
7
11
  };
8
12
  export {};
9
13
  //# sourceMappingURL=use-product-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-product-options.d.ts","sourceRoot":"","sources":["../../../components/hooks/use-product-options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,KAAK,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAE7C,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,cAAc,EAAE,GAAG,SAAS,GAAG,IAAI,EAC7C,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI;;+BA+DC,MAAM,eAAe,MAAM,KAAG,IAAI;;EAwBrE"}
1
+ {"version":3,"file":"use-product-options.d.ts","sourceRoot":"","sources":["../../../components/hooks/use-product-options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,KAAK,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAE7C,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,cAAc,EAAE,GAAG,SAAS,GAAG,IAAI,EAC7C,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI;;+BA+DC,MAAM,eAAe,MAAM,KAAG,IAAI;;;;;;EA4CrE"}
@@ -54,9 +54,27 @@ export function useProductOptions(variants, selectedVariantId) {
54
54
  setSelectedOptions(initializeSelectedOptions(selectedVariantId));
55
55
  }, [safeVariants, initializeSelectedOptions, selectedVariantId]);
56
56
  const selectedVariant = useMemo(() => safeVariants.find((v) => { var _a; return (_a = v.selectedOptions) === null || _a === void 0 ? void 0 : _a.every((o) => selectedOptions[o.name] === o.value); }), [safeVariants, selectedOptions]);
57
+ const productOptions = useMemo(() => {
58
+ var _a;
59
+ const optionsMap = new Map();
60
+ for (const variant of safeVariants) {
61
+ for (const { name, value } of (variant === null || variant === void 0 ? void 0 : variant.selectedOptions) || []) {
62
+ if (!optionsMap.has(name)) {
63
+ optionsMap.set(name, new Set());
64
+ }
65
+ (_a = optionsMap.get(name)) === null || _a === void 0 ? void 0 : _a.add(value);
66
+ }
67
+ }
68
+ // Convert Map to plain array
69
+ return Array.from(optionsMap.entries()).map(([name, values]) => ({
70
+ name,
71
+ values: Array.from(values),
72
+ }));
73
+ }, [safeVariants]);
57
74
  return {
58
75
  selectedOptions,
59
76
  handleSelect,
60
77
  selectedVariant,
78
+ productOptions,
61
79
  };
62
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"use-recommendations.d.ts","sourceRoot":"","sources":["../../../components/hooks/use-recommendations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAOxE,UAAU,sBAAsB;IAE9B,YAAY,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAGxC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;CACf;AAUD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,WAAW,EAAE,UAAU,EAAE,CAAA;IACzB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,MAAM,EAAE,GAAG,EAAE,CAAA;IACb,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,GAAG,CAAA;CACX;AAiBD,QAAA,MAAM,kBAAkB,yEASrB,sBAAsB,KAAG,uBAkG3B,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
1
+ {"version":3,"file":"use-recommendations.d.ts","sourceRoot":"","sources":["../../../components/hooks/use-recommendations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAOxE,UAAU,sBAAsB;IAE9B,YAAY,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAGxC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;CACf;AAUD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,WAAW,EAAE,UAAU,EAAE,CAAA;IACzB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,MAAM,EAAE,GAAG,EAAE,CAAA;IACb,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,GAAG,CAAA;CACX;AAmBD,QAAA,MAAM,kBAAkB,yEASrB,sBAAsB,KAAG,uBAmH3B,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -22,6 +22,7 @@ const getCollections = (collections) => {
22
22
  : [];
23
23
  };
24
24
  const recommendationsLocalStorage = new RecommendationsLocalStorage();
25
+ const MIN_QUERY_LENGTH = 3;
25
26
  const useRecommendations = ({
26
27
  // Search client props
27
28
  searchClient, query = "", customSearchConfig,
@@ -33,6 +34,8 @@ queryVariables, apiURL, }) => {
33
34
  const recommendation = usingSearchClient
34
35
  ? query
35
36
  : (searchParams === null || searchParams === void 0 ? void 0 : searchParams.get("recommendation")) || "";
37
+ // Check if resolved recommendation meets minimum length requirement
38
+ const shouldFetch = recommendation.length >= MIN_QUERY_LENGTH;
36
39
  const [cachedRecommendation, setCachedRecommendations] = React.useState(recommendationsLocalStorage.getCacheItem({
37
40
  id: `${recommendation}-${queryVariables === null || queryVariables === void 0 ? void 0 : queryVariables.language}`,
38
41
  }));
@@ -59,19 +62,21 @@ queryVariables, apiURL, }) => {
59
62
  }
60
63
  return data;
61
64
  }));
62
- // Determine which approach to use
63
- const swrKey = usingSearchClient
64
- ? {
65
- type: "searchClient",
66
- query: recommendation,
67
- language: queryVariables === null || queryVariables === void 0 ? void 0 : queryVariables.language,
68
- customSearchConfig,
69
- }
70
- : {
71
- appId: queryVariables.appId,
72
- query: recommendation,
73
- language: queryVariables.language,
74
- };
65
+ // Determine which approach to use (null key prevents fetch)
66
+ const swrKey = shouldFetch
67
+ ? usingSearchClient
68
+ ? {
69
+ type: "searchClient",
70
+ query: recommendation,
71
+ language: queryVariables === null || queryVariables === void 0 ? void 0 : queryVariables.language,
72
+ customSearchConfig,
73
+ }
74
+ : {
75
+ appId: queryVariables.appId,
76
+ query: recommendation,
77
+ language: queryVariables.language,
78
+ }
79
+ : null;
75
80
  const fetcher = usingSearchClient ? searchClientFetcher : apiFetcher;
76
81
  const { data, error, isLoading } = useSWR(swrKey, usingSearchClient ? fetcher : (body) => apiFetcher(body), {
77
82
  revalidateOnFocus: false,
@@ -89,6 +94,17 @@ queryVariables, apiURL, }) => {
89
94
  facets: (data === null || data === void 0 ? void 0 : data.facets) || [],
90
95
  });
91
96
  }, [data, recommendation, queryVariables === null || queryVariables === void 0 ? void 0 : queryVariables.language]);
97
+ // Return empty results when recommendation is below minimum length
98
+ if (!shouldFetch) {
99
+ return {
100
+ products: [],
101
+ collections: [],
102
+ searches: [],
103
+ facets: [],
104
+ isLoading: false,
105
+ error: null,
106
+ };
107
+ }
92
108
  return {
93
109
  products: cachedRecommendation === null || cachedRecommendation === void 0 ? void 0 : cachedRecommendation.products,
94
110
  collections: cachedRecommendation === null || cachedRecommendation === void 0 ? void 0 : cachedRecommendation.collections,
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../components/ui/Input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,QAAA,MAAM,KAAK,qFAqLV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../components/ui/Input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,QAAA,MAAM,KAAK,qFAyLV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -16,9 +16,9 @@ import { getTextTranslation, useTranslation, } from "../../contexts/translation-
16
16
  import { Icon } from "../icon";
17
17
  import { inputVariants, useInput } from "./useInput";
18
18
  const Input = React.forwardRef((_a, ref) => {
19
- var { className, error = false, id, type, label, labelStyle, asChild, value, onChange, icon, iconUrl, iconPosition = "right", // Default to "right" for backward compatibility
19
+ var { className, error = false, id, type, label, labelStyle, labelPositionStyle, asChild, value, onChange, icon, iconUrl, iconPosition = "right", // Default to "right" for backward compatibility
20
20
  iconColor, placeholder, placeholderFont, placeholderFontWeight, placeholderFontSize, placeholderTextAlign, placeholderTextColor, placeholderUpperCase, inputPadding, backgroundColor, borderRadius, inputBorderColor, borderSides, inputSpacing, inputActiveBorderColor } = _a, // New prop for active border color
21
- props = __rest(_a, ["className", "error", "id", "type", "label", "labelStyle", "asChild", "value", "onChange", "icon", "iconUrl", "iconPosition", "iconColor", "placeholder", "placeholderFont", "placeholderFontWeight", "placeholderFontSize", "placeholderTextAlign", "placeholderTextColor", "placeholderUpperCase", "inputPadding", "backgroundColor", "borderRadius", "inputBorderColor", "borderSides", "inputSpacing", "inputActiveBorderColor"]);
21
+ props = __rest(_a, ["className", "error", "id", "type", "label", "labelStyle", "labelPositionStyle", "asChild", "value", "onChange", "icon", "iconUrl", "iconPosition", "iconColor", "placeholder", "placeholderFont", "placeholderFontWeight", "placeholderFontSize", "placeholderTextAlign", "placeholderTextColor", "placeholderUpperCase", "inputPadding", "backgroundColor", "borderRadius", "inputBorderColor", "borderSides", "inputSpacing", "inputActiveBorderColor"]);
22
22
  const translations = useTranslation();
23
23
  const translatedPlaceholder = getTextTranslation({
24
24
  text: placeholder,
@@ -64,7 +64,7 @@ const Input = React.forwardRef((_a, ref) => {
64
64
  iconPosition === "left" &&
65
65
  placeholderTextAlign === "center"
66
66
  ? undefined
67
- : inputPaddingLeft, paddingRight: inputPaddingRight, fontFamily: placeholderFont, fontWeight: placeholderFontWeight, fontSize: `${placeholderFontSize}px`, textAlign: placeholderTextAlign, color: placeholderTextColorStyle, textTransform: placeholderUpperCase ? "uppercase" : undefined, paddingTop: inputPadding === null || inputPadding === void 0 ? void 0 : inputPadding.top, paddingBottom: inputPadding === null || inputPadding === void 0 ? void 0 : inputPadding.bottom, backgroundColor: inputBgColor }, borderStyle), borderRadiusStyle) })), label ? (_jsx("label", Object.assign({ htmlFor: id, style: labelTextStyle, className: cn("absolute text-[10px] text-textColors-secondaryColor group-active:text-coreColors-brandColorPrimary top-2 z-10 h-4 origin-[0] opacity-100 peer-placeholder-shown:opacity-0", iconPosition === "left" ? "start-10" : "start-4") }, { children: label }))) : null, (icon || iconUrl) && iconPosition === "right" && (_jsx(Icon, { name: icon, url: iconUrl, "data-error": error, size: "sm", className: cn("flex items-center absolute aspect-square fill-current z-10 icon ", {
67
+ : inputPaddingLeft, paddingRight: inputPaddingRight, fontFamily: placeholderFont, fontWeight: placeholderFontWeight, fontSize: `${placeholderFontSize}px`, textAlign: placeholderTextAlign, color: placeholderTextColorStyle, textTransform: placeholderUpperCase ? "uppercase" : undefined, paddingTop: inputPadding === null || inputPadding === void 0 ? void 0 : inputPadding.top, paddingBottom: inputPadding === null || inputPadding === void 0 ? void 0 : inputPadding.bottom, backgroundColor: inputBgColor }, borderStyle), borderRadiusStyle) })), label ? (_jsx("label", Object.assign({ htmlFor: id, style: Object.assign(Object.assign({}, labelTextStyle), labelPositionStyle), className: cn("absolute text-[10px] text-textColors-secondaryColor group-active:text-coreColors-brandColorPrimary top-2 z-10 h-4 origin-[0] opacity-100 peer-placeholder-shown:opacity-0", iconPosition === "left" ? "start-10" : "start-4") }, { children: label }))) : null, (icon || iconUrl) && iconPosition === "right" && (_jsx(Icon, { name: icon, url: iconUrl, "data-error": error, size: "sm", className: cn("flex items-center absolute aspect-square fill-current z-10 icon ", {
68
68
  "w-5": true,
69
69
  "text-stateColors-error": error,
70
70
  }), style: {
@@ -7,6 +7,7 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
7
7
  id: string;
8
8
  label?: string;
9
9
  labelStyle?: TextStyle;
10
+ labelPositionStyle?: React.CSSProperties;
10
11
  asChild?: boolean;
11
12
  value: string;
12
13
  onChange: (value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/ui/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,EAAE,CAAA;AAEzE,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC,EACnE,YAAY,CAAC,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AAC,EAAE,KAAK,CAAA;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,YAAY,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
package/dist/styles.css CHANGED
@@ -648,6 +648,13 @@ video {
648
648
  color: hsl(var(--foreground));
649
649
  font-feature-settings: "rlig" 1, "calt" 1;
650
650
  }
651
+ .\!container {
652
+ width: 100% !important;
653
+ margin-right: auto !important;
654
+ margin-left: auto !important;
655
+ padding-right: 2rem !important;
656
+ padding-left: 2rem !important;
657
+ }
651
658
  .container {
652
659
  width: 100%;
653
660
  margin-right: auto;
@@ -657,6 +664,10 @@ video {
657
664
  }
658
665
  @media (min-width: 1400px) {
659
666
 
667
+ .\!container {
668
+ max-width: 1400px !important;
669
+ }
670
+
660
671
  .container {
661
672
  max-width: 1400px;
662
673
  }
@@ -1291,6 +1302,10 @@ video {
1291
1302
  --tw-translate-y: -50%;
1292
1303
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1293
1304
  }
1305
+ .rotate-0 {
1306
+ --tw-rotate: 0deg;
1307
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1308
+ }
1294
1309
  .rotate-180 {
1295
1310
  --tw-rotate: 180deg;
1296
1311
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1303,6 +1318,16 @@ video {
1303
1318
  --tw-rotate: 90deg;
1304
1319
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1305
1320
  }
1321
+ .scale-0 {
1322
+ --tw-scale-x: 0;
1323
+ --tw-scale-y: 0;
1324
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1325
+ }
1326
+ .scale-100 {
1327
+ --tw-scale-x: 1;
1328
+ --tw-scale-y: 1;
1329
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1330
+ }
1306
1331
  .transform {
1307
1332
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1308
1333
  }
@@ -1674,6 +1699,9 @@ video {
1674
1699
  .border-b {
1675
1700
  border-bottom-width: 1px;
1676
1701
  }
1702
+ .border-b-0 {
1703
+ border-bottom-width: 0px;
1704
+ }
1677
1705
  .border-b-2 {
1678
1706
  border-bottom-width: 2px;
1679
1707
  }
@@ -1791,6 +1819,14 @@ video {
1791
1819
  .bg-foreground {
1792
1820
  background-color: hsl(var(--foreground));
1793
1821
  }
1822
+ .bg-gray-100 {
1823
+ --tw-bg-opacity: 1;
1824
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
1825
+ }
1826
+ .bg-gray-200 {
1827
+ --tw-bg-opacity: 1;
1828
+ background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
1829
+ }
1794
1830
  .bg-gray-300 {
1795
1831
  --tw-bg-opacity: 1;
1796
1832
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
@@ -1798,6 +1834,10 @@ video {
1798
1834
  .bg-productBadging-fill {
1799
1835
  background-color: var(--productBadging-fill);
1800
1836
  }
1837
+ .bg-red-100 {
1838
+ --tw-bg-opacity: 1;
1839
+ background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
1840
+ }
1801
1841
  .bg-stateColors-disabled {
1802
1842
  background-color: var(--stateColors-disabled);
1803
1843
  }
@@ -2214,6 +2254,10 @@ video {
2214
2254
  .text-productBadging-text {
2215
2255
  color: var(--productBadging-text);
2216
2256
  }
2257
+ .text-red-500 {
2258
+ --tw-text-opacity: 1;
2259
+ color: rgb(239 68 68 / var(--tw-text-opacity, 1));
2260
+ }
2217
2261
  .text-red-600 {
2218
2262
  --tw-text-opacity: 1;
2219
2263
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
@@ -2266,6 +2310,10 @@ video {
2266
2310
  .text-textColors-strikethroughPriceText {
2267
2311
  color: var(--textColors-strikethroughPriceText);
2268
2312
  }
2313
+ .text-white {
2314
+ --tw-text-opacity: 1;
2315
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
2316
+ }
2269
2317
  .underline {
2270
2318
  text-decoration-line: underline;
2271
2319
  }
@@ -2379,6 +2427,10 @@ video {
2379
2427
  --tw-blur: blur(8px);
2380
2428
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2381
2429
  }
2430
+ .drop-shadow {
2431
+ --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
2432
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2433
+ }
2382
2434
  .drop-shadow-\[0_3px_1px_0_rgba\(0\2c 0\2c 0\2c 1\)\] {
2383
2435
  --tw-drop-shadow: drop-shadow(0 3px 1px 0 rgba(0,0,0,1));
2384
2436
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -2490,6 +2542,10 @@ video {
2490
2542
  .paused {
2491
2543
  animation-play-state: paused;
2492
2544
  }
2545
+ .\!container {
2546
+ padding-right: 16px !important;
2547
+ padding-left: 16px !important;
2548
+ }
2493
2549
  .container {
2494
2550
  padding-right: 16px;
2495
2551
  padding-left: 16px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapcart/mobile-components",
3
- "version": "0.12.6",
3
+ "version": "0.12.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "style": "dist/styles.css",