@homlista-devs/ui 1.6.0 → 1.6.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.
Files changed (207) hide show
  1. package/dist/design-system.cjs.js.map +1 -1
  2. package/dist/design-system.es.js.map +1 -1
  3. package/dist/types/App.d.ts +4 -0
  4. package/dist/types/App.d.ts.map +1 -0
  5. package/dist/types/entities/entity/index.d.ts +7 -0
  6. package/dist/types/entities/entity/index.d.ts.map +1 -0
  7. package/dist/types/entities/entity/lib/entity-utils.d.ts +18 -0
  8. package/dist/types/entities/entity/lib/entity-utils.d.ts.map +1 -0
  9. package/dist/types/entities/entity/model/types.d.ts +71 -0
  10. package/dist/types/entities/entity/model/types.d.ts.map +1 -0
  11. package/dist/types/entities/mortgage/index.d.ts +7 -0
  12. package/dist/types/entities/mortgage/index.d.ts.map +1 -0
  13. package/dist/types/entities/mortgage/lib/calculations.d.ts +31 -0
  14. package/dist/types/entities/mortgage/lib/calculations.d.ts.map +1 -0
  15. package/dist/types/entities/mortgage/model/types.d.ts +43 -0
  16. package/dist/types/entities/mortgage/model/types.d.ts.map +1 -0
  17. package/dist/types/entities/property/index.d.ts +6 -0
  18. package/dist/types/entities/property/index.d.ts.map +1 -0
  19. package/dist/types/entities/property/model/types.d.ts +47 -0
  20. package/dist/types/entities/property/model/types.d.ts.map +1 -0
  21. package/dist/types/features/button/index.d.ts +8 -0
  22. package/dist/types/features/button/index.d.ts.map +1 -0
  23. package/dist/types/features/button/lib/button-variants.d.ts +7 -0
  24. package/dist/types/features/button/lib/button-variants.d.ts.map +1 -0
  25. package/dist/types/features/button/ui/button.d.ts +8 -0
  26. package/dist/types/features/button/ui/button.d.ts.map +1 -0
  27. package/dist/types/features/card/index.d.ts +7 -0
  28. package/dist/types/features/card/index.d.ts.map +1 -0
  29. package/dist/types/features/card/lib/utils.d.ts +3 -0
  30. package/dist/types/features/card/lib/utils.d.ts.map +1 -0
  31. package/dist/types/features/card/ui/card.d.ts +21 -0
  32. package/dist/types/features/card/ui/card.d.ts.map +1 -0
  33. package/dist/types/features/donut-chart/index.d.ts +9 -0
  34. package/dist/types/features/donut-chart/index.d.ts.map +1 -0
  35. package/dist/types/features/donut-chart/lib/donut-chart-utils.d.ts +31 -0
  36. package/dist/types/features/donut-chart/lib/donut-chart-utils.d.ts.map +1 -0
  37. package/dist/types/features/donut-chart/ui/donut-chart.d.ts +29 -0
  38. package/dist/types/features/donut-chart/ui/donut-chart.d.ts.map +1 -0
  39. package/dist/types/features/entity-filtering/index.d.ts +9 -0
  40. package/dist/types/features/entity-filtering/index.d.ts.map +1 -0
  41. package/dist/types/features/entity-filtering/model/use-entity-filter.d.ts +38 -0
  42. package/dist/types/features/entity-filtering/model/use-entity-filter.d.ts.map +1 -0
  43. package/dist/types/features/entity-filtering/ui/category-chips.d.ts +23 -0
  44. package/dist/types/features/entity-filtering/ui/category-chips.d.ts.map +1 -0
  45. package/dist/types/features/input/index.d.ts +9 -0
  46. package/dist/types/features/input/index.d.ts.map +1 -0
  47. package/dist/types/features/input/lib/input-variants.d.ts +20 -0
  48. package/dist/types/features/input/lib/input-variants.d.ts.map +1 -0
  49. package/dist/types/features/input/ui/input.d.ts +27 -0
  50. package/dist/types/features/input/ui/input.d.ts.map +1 -0
  51. package/dist/types/features/modal/index.d.ts +7 -0
  52. package/dist/types/features/modal/index.d.ts.map +1 -0
  53. package/dist/types/features/modal/lib/utils.d.ts +3 -0
  54. package/dist/types/features/modal/lib/utils.d.ts.map +1 -0
  55. package/dist/types/features/modal/ui/modal.d.ts +28 -0
  56. package/dist/types/features/modal/ui/modal.d.ts.map +1 -0
  57. package/dist/types/features/select/index.d.ts +9 -0
  58. package/dist/types/features/select/index.d.ts.map +1 -0
  59. package/dist/types/features/select/lib/select-variants.d.ts +20 -0
  60. package/dist/types/features/select/lib/select-variants.d.ts.map +1 -0
  61. package/dist/types/features/select/ui/select.d.ts +32 -0
  62. package/dist/types/features/select/ui/select.d.ts.map +1 -0
  63. package/dist/types/features/text/index.d.ts +7 -0
  64. package/dist/types/features/text/index.d.ts.map +1 -0
  65. package/dist/types/features/text/lib/utils.d.ts +3 -0
  66. package/dist/types/features/text/lib/utils.d.ts.map +1 -0
  67. package/dist/types/features/text/ui/text.d.ts +15 -0
  68. package/dist/types/features/text/ui/text.d.ts.map +1 -0
  69. package/dist/types/index.d.ts +53 -0
  70. package/dist/types/index.d.ts.map +1 -0
  71. package/dist/types/main.d.ts +2 -0
  72. package/dist/types/main.d.ts.map +1 -0
  73. package/dist/types/pages/layouts/index.d.ts +7 -0
  74. package/dist/types/pages/layouts/index.d.ts.map +1 -0
  75. package/dist/types/pages/layouts/lib/utils.d.ts +3 -0
  76. package/dist/types/pages/layouts/lib/utils.d.ts.map +1 -0
  77. package/dist/types/pages/layouts/ui/page-layout.d.ts +30 -0
  78. package/dist/types/pages/layouts/ui/page-layout.d.ts.map +1 -0
  79. package/dist/types/shared/config/themes.d.ts +13 -0
  80. package/dist/types/shared/config/themes.d.ts.map +1 -0
  81. package/dist/types/shared/config/tokens/index.d.ts +187 -0
  82. package/dist/types/shared/config/tokens/index.d.ts.map +1 -0
  83. package/dist/types/shared/index.d.ts +15 -0
  84. package/dist/types/shared/index.d.ts.map +1 -0
  85. package/dist/types/shared/lib/a11y/components.d.ts +6 -0
  86. package/dist/types/shared/lib/a11y/components.d.ts.map +1 -0
  87. package/dist/types/shared/lib/a11y/index.d.ts +2 -0
  88. package/dist/types/shared/lib/a11y/index.d.ts.map +1 -0
  89. package/dist/types/shared/lib/a11y/utils.d.ts +54 -0
  90. package/dist/types/shared/lib/a11y/utils.d.ts.map +1 -0
  91. package/dist/types/shared/lib/design-system.d.ts +307 -0
  92. package/dist/types/shared/lib/design-system.d.ts.map +1 -0
  93. package/dist/types/shared/lib/governance/components.d.ts +10 -0
  94. package/dist/types/shared/lib/governance/components.d.ts.map +1 -0
  95. package/dist/types/shared/lib/governance/index.d.ts +110 -0
  96. package/dist/types/shared/lib/governance/index.d.ts.map +1 -0
  97. package/dist/types/shared/lib/governance/migrations.d.ts +2 -0
  98. package/dist/types/shared/lib/governance/migrations.d.ts.map +1 -0
  99. package/dist/types/shared/lib/governance/policies.d.ts +81 -0
  100. package/dist/types/shared/lib/governance/policies.d.ts.map +1 -0
  101. package/dist/types/shared/lib/governance/utils.d.ts +54 -0
  102. package/dist/types/shared/lib/governance/utils.d.ts.map +1 -0
  103. package/dist/types/shared/lib/i18n/index.d.ts +125 -0
  104. package/dist/types/shared/lib/i18n/index.d.ts.map +1 -0
  105. package/dist/types/shared/lib/performance/hooks.d.ts +35 -0
  106. package/dist/types/shared/lib/performance/hooks.d.ts.map +1 -0
  107. package/dist/types/shared/lib/performance/index.d.ts +40 -0
  108. package/dist/types/shared/lib/performance/index.d.ts.map +1 -0
  109. package/dist/types/shared/lib/theme/use-theme.d.ts +13 -0
  110. package/dist/types/shared/lib/theme/use-theme.d.ts.map +1 -0
  111. package/dist/types/shared/lib/utils.d.ts +3 -0
  112. package/dist/types/shared/lib/utils.d.ts.map +1 -0
  113. package/dist/types/shared/model/theme-store.d.ts +12 -0
  114. package/dist/types/shared/model/theme-store.d.ts.map +1 -0
  115. package/dist/types/shared/types/property.d.ts +47 -0
  116. package/dist/types/shared/types/property.d.ts.map +1 -0
  117. package/dist/types/shared/types/theme.d.ts +74 -0
  118. package/dist/types/shared/types/theme.d.ts.map +1 -0
  119. package/dist/types/shared/ui/chip/chip-variants.d.ts +7 -0
  120. package/dist/types/shared/ui/chip/chip-variants.d.ts.map +1 -0
  121. package/dist/types/shared/ui/chip/chip.d.ts +15 -0
  122. package/dist/types/shared/ui/chip/chip.d.ts.map +1 -0
  123. package/dist/types/shared/ui/chip/index.d.ts +9 -0
  124. package/dist/types/shared/ui/chip/index.d.ts.map +1 -0
  125. package/dist/types/shared/ui/theme/theme-provider.d.ts +12 -0
  126. package/dist/types/shared/ui/theme/theme-provider.d.ts.map +1 -0
  127. package/dist/types/test/setup.d.ts +2 -0
  128. package/dist/types/test/setup.d.ts.map +1 -0
  129. package/dist/types/widgets/entity-directory/index.d.ts +23 -0
  130. package/dist/types/widgets/entity-directory/index.d.ts.map +1 -0
  131. package/dist/types/widgets/entity-directory/ui/empty-state.d.ts +20 -0
  132. package/dist/types/widgets/entity-directory/ui/empty-state.d.ts.map +1 -0
  133. package/dist/types/widgets/entity-directory/ui/entity-directory.d.ts +70 -0
  134. package/dist/types/widgets/entity-directory/ui/entity-directory.d.ts.map +1 -0
  135. package/dist/types/widgets/entity-directory/ui/error-state.d.ts +15 -0
  136. package/dist/types/widgets/entity-directory/ui/error-state.d.ts.map +1 -0
  137. package/dist/types/widgets/entity-directory/ui/header.d.ts +15 -0
  138. package/dist/types/widgets/entity-directory/ui/header.d.ts.map +1 -0
  139. package/dist/types/widgets/entity-directory/ui/list-item.d.ts +24 -0
  140. package/dist/types/widgets/entity-directory/ui/list-item.d.ts.map +1 -0
  141. package/dist/types/widgets/entity-directory/ui/list.d.ts +34 -0
  142. package/dist/types/widgets/entity-directory/ui/list.d.ts.map +1 -0
  143. package/dist/types/widgets/entity-directory/ui/loading-state.d.ts +13 -0
  144. package/dist/types/widgets/entity-directory/ui/loading-state.d.ts.map +1 -0
  145. package/dist/types/widgets/entity-directory/ui/search-filter.d.ts +17 -0
  146. package/dist/types/widgets/entity-directory/ui/search-filter.d.ts.map +1 -0
  147. package/dist/types/widgets/entity-directory/ui/table-header.d.ts +34 -0
  148. package/dist/types/widgets/entity-directory/ui/table-header.d.ts.map +1 -0
  149. package/dist/types/widgets/header/index.d.ts +26 -0
  150. package/dist/types/widgets/header/index.d.ts.map +1 -0
  151. package/dist/types/widgets/header/ui/header.d.ts +52 -0
  152. package/dist/types/widgets/header/ui/header.d.ts.map +1 -0
  153. package/dist/types/widgets/hero-banner/index.d.ts +25 -0
  154. package/dist/types/widgets/hero-banner/index.d.ts.map +1 -0
  155. package/dist/types/widgets/hero-banner/model/create-hero-banner-model.d.ts +21 -0
  156. package/dist/types/widgets/hero-banner/model/create-hero-banner-model.d.ts.map +1 -0
  157. package/dist/types/widgets/hero-banner/model/index.d.ts +7 -0
  158. package/dist/types/widgets/hero-banner/model/index.d.ts.map +1 -0
  159. package/dist/types/widgets/hero-banner/model/types.d.ts +77 -0
  160. package/dist/types/widgets/hero-banner/model/types.d.ts.map +1 -0
  161. package/dist/types/widgets/hero-banner/ui/hero-banner.d.ts +30 -0
  162. package/dist/types/widgets/hero-banner/ui/hero-banner.d.ts.map +1 -0
  163. package/dist/types/widgets/mortgage-calculator/index.d.ts +8 -0
  164. package/dist/types/widgets/mortgage-calculator/index.d.ts.map +1 -0
  165. package/dist/types/widgets/mortgage-calculator/lib/constants.d.ts +22 -0
  166. package/dist/types/widgets/mortgage-calculator/lib/constants.d.ts.map +1 -0
  167. package/dist/types/widgets/mortgage-calculator/ui/mortgage-calculator.d.ts +27 -0
  168. package/dist/types/widgets/mortgage-calculator/ui/mortgage-calculator.d.ts.map +1 -0
  169. package/dist/types/widgets/property-card/index.d.ts +7 -0
  170. package/dist/types/widgets/property-card/index.d.ts.map +1 -0
  171. package/dist/types/widgets/property-card/ui/property-card.d.ts +19 -0
  172. package/dist/types/widgets/property-card/ui/property-card.d.ts.map +1 -0
  173. package/dist/types/widgets/property-gallery/index.d.ts +7 -0
  174. package/dist/types/widgets/property-gallery/index.d.ts.map +1 -0
  175. package/dist/types/widgets/property-gallery/ui/property-gallery.d.ts +16 -0
  176. package/dist/types/widgets/property-gallery/ui/property-gallery.d.ts.map +1 -0
  177. package/dist/types/widgets/search-feature/index.d.ts +20 -0
  178. package/dist/types/widgets/search-feature/index.d.ts.map +1 -0
  179. package/dist/types/widgets/search-feature/lib/constants.d.ts +14 -0
  180. package/dist/types/widgets/search-feature/lib/constants.d.ts.map +1 -0
  181. package/dist/types/widgets/search-feature/lib/use-search.d.ts +32 -0
  182. package/dist/types/widgets/search-feature/lib/use-search.d.ts.map +1 -0
  183. package/dist/types/widgets/search-feature/model/index.d.ts +6 -0
  184. package/dist/types/widgets/search-feature/model/index.d.ts.map +1 -0
  185. package/dist/types/widgets/search-feature/model/types.d.ts +116 -0
  186. package/dist/types/widgets/search-feature/model/types.d.ts.map +1 -0
  187. package/dist/types/widgets/search-feature/ui/search-button.d.ts +22 -0
  188. package/dist/types/widgets/search-feature/ui/search-button.d.ts.map +1 -0
  189. package/dist/types/widgets/search-feature/ui/search-card-form.d.ts +9 -0
  190. package/dist/types/widgets/search-feature/ui/search-card-form.d.ts.map +1 -0
  191. package/dist/types/widgets/search-feature/ui/search-compact-form.d.ts +9 -0
  192. package/dist/types/widgets/search-feature/ui/search-compact-form.d.ts.map +1 -0
  193. package/dist/types/widgets/search-feature/ui/search-divider.d.ts +10 -0
  194. package/dist/types/widgets/search-feature/ui/search-divider.d.ts.map +1 -0
  195. package/dist/types/widgets/search-feature/ui/search-feature.d.ts +23 -0
  196. package/dist/types/widgets/search-feature/ui/search-feature.d.ts.map +1 -0
  197. package/dist/types/widgets/search-feature/ui/search-form-field.d.ts +34 -0
  198. package/dist/types/widgets/search-feature/ui/search-form-field.d.ts.map +1 -0
  199. package/dist/types/widgets/search-feature/ui/search-luxury-form.d.ts +16 -0
  200. package/dist/types/widgets/search-feature/ui/search-luxury-form.d.ts.map +1 -0
  201. package/dist/types/widgets/search-feature/ui/search-minimal-form.d.ts +10 -0
  202. package/dist/types/widgets/search-feature/ui/search-minimal-form.d.ts.map +1 -0
  203. package/dist/types/widgets/search-feature/ui/search-mobile-form.d.ts +9 -0
  204. package/dist/types/widgets/search-feature/ui/search-mobile-form.d.ts.map +1 -0
  205. package/dist/types/widgets/search-feature/ui/search-modern-form.d.ts +16 -0
  206. package/dist/types/widgets/search-feature/ui/search-modern-form.d.ts.map +1 -0
  207. package/package.json +2 -3
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Search Feature Hook
3
+ * Manages search form state and submission logic
4
+ */
5
+ import type { SearchFormData, SearchOption, SearchSubmitHandler, UseSearchResult } from "../model";
6
+ export interface UseSearchOptions {
7
+ /**
8
+ * Callback when search is submitted
9
+ */
10
+ onSubmit?: SearchSubmitHandler;
11
+ /**
12
+ * Default form values
13
+ */
14
+ defaultValues?: Partial<SearchFormData>;
15
+ /**
16
+ * Property type options (required)
17
+ */
18
+ propertyTypeOptions: SearchOption[];
19
+ /**
20
+ * Transaction type options (required)
21
+ */
22
+ transactionTypeOptions: SearchOption[];
23
+ /**
24
+ * Location options (required)
25
+ */
26
+ locationOptions: SearchOption[];
27
+ }
28
+ /**
29
+ * Custom hook for search feature logic
30
+ */
31
+ export declare function useSearch({ onSubmit, defaultValues, propertyTypeOptions, transactionTypeOptions, locationOptions, }: UseSearchOptions): UseSearchResult;
32
+ //# sourceMappingURL=use-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-search.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/lib/use-search.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACX,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,gBAAgB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAExC;;OAEG;IACH,mBAAmB,EAAE,YAAY,EAAE,CAAC;IAEpC;;OAEG;IACH,sBAAsB,EAAE,YAAY,EAAE,CAAC;IAEvC;;OAEG;IACH,eAAe,EAAE,YAAY,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACzB,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,eAAe,GACf,EAAE,gBAAgB,GAAG,eAAe,CA0DpC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Search Feature Model
3
+ * Public exports for type definitions
4
+ */
5
+ export type { SearchCriteria, SearchFeatureProps, SearchFormComponentProps, SearchFormData, SearchOption, SearchSubmitHandler, SearchVariant, UseSearchResult, Zone, } from "./types";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/model/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EACX,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,IAAI,GACJ,MAAM,SAAS,CAAC"}
@@ -0,0 +1,116 @@
1
+ /**
2
+ * Search Feature Model
3
+ * Type definitions for the search feature widget
4
+ */
5
+ import * as React from "react";
6
+ /**
7
+ * Search form data structure
8
+ * Uses generic strings to allow full customization by clients
9
+ */
10
+ export interface SearchFormData {
11
+ propertyType: string;
12
+ transactionType: string;
13
+ location: string;
14
+ }
15
+ /**
16
+ * Search option with optional icon
17
+ */
18
+ export interface SearchOption {
19
+ value: string;
20
+ label: string;
21
+ icon?: React.ReactNode;
22
+ }
23
+ /**
24
+ * Search criteria for submission
25
+ */
26
+ export interface SearchCriteria {
27
+ propertyType: string;
28
+ transactionType: string;
29
+ location: string;
30
+ }
31
+ /**
32
+ * Search submit handler function type
33
+ */
34
+ export type SearchSubmitHandler = (criteria: SearchCriteria) => void;
35
+ /**
36
+ * Zone/location option
37
+ */
38
+ export interface Zone {
39
+ id?: string;
40
+ name: string;
41
+ slug: string;
42
+ }
43
+ /**
44
+ * Search feature variant types
45
+ */
46
+ export type SearchVariant = "minimal" | "modern" | "luxury" | "card" | "compact";
47
+ /**
48
+ * Main search feature props
49
+ */
50
+ export interface SearchFeatureProps {
51
+ /**
52
+ * Callback when search form is submitted
53
+ */
54
+ onSubmit?: SearchSubmitHandler;
55
+ /**
56
+ * Default values for form fields
57
+ */
58
+ defaultValues?: Partial<SearchFormData>;
59
+ /**
60
+ * Custom CSS class name
61
+ */
62
+ className?: string;
63
+ /**
64
+ * Visual variant of the search form
65
+ * @default "minimal"
66
+ */
67
+ variant?: SearchVariant;
68
+ /**
69
+ * Property type options (e.g., House, Apartment, Land)
70
+ * Client must provide these options
71
+ */
72
+ propertyTypeOptions: SearchOption[];
73
+ /**
74
+ * Transaction type options (e.g., Sale, Rent, Lease)
75
+ * Client must provide these options
76
+ */
77
+ transactionTypeOptions: SearchOption[];
78
+ /**
79
+ * Location/zone options
80
+ * Client must provide these options
81
+ */
82
+ locationOptions: SearchOption[];
83
+ /**
84
+ * Button label text (used for modern and luxury variants)
85
+ * @default "Conoce Más"
86
+ */
87
+ buttonLabel?: string;
88
+ }
89
+ /**
90
+ * Search form component props (used by all form variants)
91
+ */
92
+ export interface SearchFormComponentProps {
93
+ formData: SearchFormData;
94
+ options: {
95
+ propertyTypeOptions: SearchOption[];
96
+ transactionTypeOptions: SearchOption[];
97
+ locationOptions: SearchOption[];
98
+ };
99
+ onFieldChange: (field: keyof SearchFormData) => (value: string) => void;
100
+ isSubmitting: boolean;
101
+ onSubmit: (e: React.FormEvent) => void;
102
+ error?: string | null;
103
+ className?: string;
104
+ }
105
+ /**
106
+ * Use search hook result
107
+ */
108
+ export interface UseSearchResult {
109
+ formData: SearchFormData;
110
+ setFormData: React.Dispatch<React.SetStateAction<SearchFormData>>;
111
+ handleSubmit: (e: React.FormEvent) => void;
112
+ propertyTypeOptions: SearchOption[];
113
+ transactionTypeOptions: SearchOption[];
114
+ locationOptions: SearchOption[];
115
+ }
116
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/model/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,IAAI;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,SAAS,CAAC;AAEb;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAExC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB;;;OAGG;IACH,mBAAmB,EAAE,YAAY,EAAE,CAAC;IAEpC;;;OAGG;IACH,sBAAsB,EAAE,YAAY,EAAE,CAAC;IAEvC;;;OAGG;IACH,eAAe,EAAE,YAAY,EAAE,CAAC;IAEhC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACxC,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE;QACR,mBAAmB,EAAE,YAAY,EAAE,CAAC;QACpC,sBAAsB,EAAE,YAAY,EAAE,CAAC;QACvC,eAAe,EAAE,YAAY,EAAE,CAAC;KAChC,CAAC;IACF,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,cAAc,KAAK,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IAClE,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IAC3C,mBAAmB,EAAE,YAAY,EAAE,CAAC;IACpC,sBAAsB,EAAE,YAAY,EAAE,CAAC;IACvC,eAAe,EAAE,YAAY,EAAE,CAAC;CAChC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Search Button Component
3
+ * Specialized button for search forms with different variants
4
+ */
5
+ import * as React from "react";
6
+ export interface SearchButtonProps {
7
+ /**
8
+ * Visual variant of the button
9
+ * @default "pill"
10
+ */
11
+ variant?: "pill" | "mobile";
12
+ /**
13
+ * Whether the search is in progress
14
+ */
15
+ isSubmitting: boolean;
16
+ /**
17
+ * Custom CSS class name
18
+ */
19
+ className?: string;
20
+ }
21
+ export declare const SearchButton: React.FC<SearchButtonProps>;
22
+ //# sourceMappingURL=search-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-button.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-button.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,iBAAiB;IACjC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAE5B;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+BpD,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Search Card Form Component
3
+ * Card-style search form with grid layout
4
+ */
5
+ import * as React from "react";
6
+ import type { SearchFormComponentProps } from "../model";
7
+ export type SearchCardFormProps = SearchFormComponentProps;
8
+ export declare const SearchCardForm: React.FC<SearchCardFormProps>;
9
+ //# sourceMappingURL=search-card-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-card-form.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-card-form.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAGzD,MAAM,MAAM,mBAAmB,GAAG,wBAAwB,CAAC;AAE3D,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8DxD,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Search Compact Form Component
3
+ * Compact vertical search form layout
4
+ */
5
+ import * as React from "react";
6
+ import type { SearchFormComponentProps } from "../model";
7
+ export type SearchCompactFormProps = Omit<SearchFormComponentProps, "error">;
8
+ export declare const SearchCompactForm: React.FC<SearchCompactFormProps>;
9
+ //# sourceMappingURL=search-compact-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-compact-form.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-compact-form.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAIzD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA2C9D,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Search Divider Component
3
+ * Visual separator for search form fields
4
+ */
5
+ import * as React from "react";
6
+ export interface SearchDividerProps {
7
+ className?: string;
8
+ }
9
+ export declare const SearchDivider: React.FC<SearchDividerProps>;
10
+ //# sourceMappingURL=search-divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-divider.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-divider.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,kBAAkB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAItD,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Search Feature Widget
3
+ * Comprehensive property search component with multiple variants
4
+ */
5
+ import * as React from "react";
6
+ import type { SearchFeatureProps } from "../model";
7
+ /**
8
+ * SearchFeature - Main search widget component
9
+ *
10
+ * A comprehensive property search component that supports multiple visual variants
11
+ * and is fully customizable with options for property types, transaction types, and locations.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * <SearchFeature
16
+ * variant="pill"
17
+ * onSubmit={(criteria) => console.log(criteria)}
18
+ * defaultValues={{ propertyType: "HOUSE", transactionType: "SALE" }}
19
+ * />
20
+ * ```
21
+ */
22
+ export declare const SearchFeature: React.FC<SearchFeatureProps>;
23
+ //# sourceMappingURL=search-feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-feature.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-feature.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,kBAAkB,EAAkB,MAAM,UAAU,CAAC;AAiBnE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuGtD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Search Form Field Component
3
+ * Wrapper component for search form select fields
4
+ */
5
+ import * as React from "react";
6
+ import type { SearchOption } from "../model";
7
+ export interface SearchFormFieldProps {
8
+ /**
9
+ * Field label
10
+ */
11
+ label: string;
12
+ /**
13
+ * Select options with optional icons
14
+ */
15
+ options: SearchOption[];
16
+ /**
17
+ * Current selected value
18
+ */
19
+ value: string;
20
+ /**
21
+ * Change handler
22
+ */
23
+ onChange: (value: string) => void;
24
+ /**
25
+ * Custom CSS class name for the select
26
+ */
27
+ className?: string;
28
+ /**
29
+ * Custom CSS class name for the container
30
+ */
31
+ containerClassName?: string;
32
+ }
33
+ export declare const SearchFormField: React.FC<SearchFormFieldProps>;
34
+ //# sourceMappingURL=search-form-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-form-field.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-form-field.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,oBAAoB;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,YAAY,EAAE,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0C1D,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Search Luxury Form Component
3
+ * Rectangular search form with sharp edges and elegant styling
4
+ * Based on Figma "Template Luxury/Home" design
5
+ */
6
+ import * as React from "react";
7
+ import type { SearchFormComponentProps } from "../model";
8
+ export interface SearchLuxuryFormProps extends Omit<SearchFormComponentProps, "error"> {
9
+ /**
10
+ * Button label text
11
+ * @default "Conoce Más"
12
+ */
13
+ buttonLabel?: string;
14
+ }
15
+ export declare const SearchLuxuryForm: React.FC<SearchLuxuryFormProps>;
16
+ //# sourceMappingURL=search-luxury-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-luxury-form.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-luxury-form.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAIzD,MAAM,WAAW,qBAChB,SAAQ,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAC/C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA4D5D,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Search Minimal Form Component
3
+ * Horizontal pill-shaped search form with dividers
4
+ * Based on Figma "Template Minimalista/Home" design
5
+ */
6
+ import * as React from "react";
7
+ import type { SearchFormComponentProps } from "../model";
8
+ export type SearchMinimalFormProps = Omit<SearchFormComponentProps, "error">;
9
+ export declare const SearchMinimalForm: React.FC<SearchMinimalFormProps>;
10
+ //# sourceMappingURL=search-minimal-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-minimal-form.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-minimal-form.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAKzD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAuD9D,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Search Mobile Form Component
3
+ * Mobile-optimized search form (shown only on small screens)
4
+ */
5
+ import * as React from "react";
6
+ import type { SearchFormComponentProps } from "../model";
7
+ export type SearchMobileFormProps = Omit<SearchFormComponentProps, "error">;
8
+ export declare const SearchMobileForm: React.FC<SearchMobileFormProps>;
9
+ //# sourceMappingURL=search-mobile-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-mobile-form.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-mobile-form.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAIzD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AAE5E,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA0C5D,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Search Modern Form Component
3
+ * Modern rounded rectangular search form with text button
4
+ * Based on Figma "Template Moderno/Home" design
5
+ */
6
+ import * as React from "react";
7
+ import type { SearchFormComponentProps } from "../model";
8
+ export interface SearchModernFormProps extends Omit<SearchFormComponentProps, "error"> {
9
+ /**
10
+ * Button label text
11
+ * @default "Conoce Más"
12
+ */
13
+ buttonLabel?: string;
14
+ }
15
+ export declare const SearchModernForm: React.FC<SearchModernFormProps>;
16
+ //# sourceMappingURL=search-modern-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-modern-form.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/ui/search-modern-form.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAIzD,MAAM,WAAW,qBAChB,SAAQ,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAC/C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA4D5D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homlista-devs/ui",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "main": "./dist/design-system.cjs.js",
5
5
  "module": "./dist/design-system.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -31,8 +31,7 @@
31
31
  "scripts": {
32
32
  "dev": "vite",
33
33
  "build": "tsc --noEmit && vite build",
34
- "build:lib": "vite build && npm run build:css",
35
- "build:lib:full": "vite build && npm run build:types && npm run build:css",
34
+ "build:lib": "vite build && npm run build:types && npm run build:css",
36
35
  "build:types": "tsc --project tsconfig.app.json --emitDeclarationOnly --outDir dist/types --skipLibCheck",
37
36
  "build:css": "postcss ./src/index.css -o ./dist/index.css --config ./postcss.config.js",
38
37
  "lint": "biome check --write .",