@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.
- package/dist/design-system.cjs.js.map +1 -1
- package/dist/design-system.es.js.map +1 -1
- package/dist/types/App.d.ts +4 -0
- package/dist/types/App.d.ts.map +1 -0
- package/dist/types/entities/entity/index.d.ts +7 -0
- package/dist/types/entities/entity/index.d.ts.map +1 -0
- package/dist/types/entities/entity/lib/entity-utils.d.ts +18 -0
- package/dist/types/entities/entity/lib/entity-utils.d.ts.map +1 -0
- package/dist/types/entities/entity/model/types.d.ts +71 -0
- package/dist/types/entities/entity/model/types.d.ts.map +1 -0
- package/dist/types/entities/mortgage/index.d.ts +7 -0
- package/dist/types/entities/mortgage/index.d.ts.map +1 -0
- package/dist/types/entities/mortgage/lib/calculations.d.ts +31 -0
- package/dist/types/entities/mortgage/lib/calculations.d.ts.map +1 -0
- package/dist/types/entities/mortgage/model/types.d.ts +43 -0
- package/dist/types/entities/mortgage/model/types.d.ts.map +1 -0
- package/dist/types/entities/property/index.d.ts +6 -0
- package/dist/types/entities/property/index.d.ts.map +1 -0
- package/dist/types/entities/property/model/types.d.ts +47 -0
- package/dist/types/entities/property/model/types.d.ts.map +1 -0
- package/dist/types/features/button/index.d.ts +8 -0
- package/dist/types/features/button/index.d.ts.map +1 -0
- package/dist/types/features/button/lib/button-variants.d.ts +7 -0
- package/dist/types/features/button/lib/button-variants.d.ts.map +1 -0
- package/dist/types/features/button/ui/button.d.ts +8 -0
- package/dist/types/features/button/ui/button.d.ts.map +1 -0
- package/dist/types/features/card/index.d.ts +7 -0
- package/dist/types/features/card/index.d.ts.map +1 -0
- package/dist/types/features/card/lib/utils.d.ts +3 -0
- package/dist/types/features/card/lib/utils.d.ts.map +1 -0
- package/dist/types/features/card/ui/card.d.ts +21 -0
- package/dist/types/features/card/ui/card.d.ts.map +1 -0
- package/dist/types/features/donut-chart/index.d.ts +9 -0
- package/dist/types/features/donut-chart/index.d.ts.map +1 -0
- package/dist/types/features/donut-chart/lib/donut-chart-utils.d.ts +31 -0
- package/dist/types/features/donut-chart/lib/donut-chart-utils.d.ts.map +1 -0
- package/dist/types/features/donut-chart/ui/donut-chart.d.ts +29 -0
- package/dist/types/features/donut-chart/ui/donut-chart.d.ts.map +1 -0
- package/dist/types/features/entity-filtering/index.d.ts +9 -0
- package/dist/types/features/entity-filtering/index.d.ts.map +1 -0
- package/dist/types/features/entity-filtering/model/use-entity-filter.d.ts +38 -0
- package/dist/types/features/entity-filtering/model/use-entity-filter.d.ts.map +1 -0
- package/dist/types/features/entity-filtering/ui/category-chips.d.ts +23 -0
- package/dist/types/features/entity-filtering/ui/category-chips.d.ts.map +1 -0
- package/dist/types/features/input/index.d.ts +9 -0
- package/dist/types/features/input/index.d.ts.map +1 -0
- package/dist/types/features/input/lib/input-variants.d.ts +20 -0
- package/dist/types/features/input/lib/input-variants.d.ts.map +1 -0
- package/dist/types/features/input/ui/input.d.ts +27 -0
- package/dist/types/features/input/ui/input.d.ts.map +1 -0
- package/dist/types/features/modal/index.d.ts +7 -0
- package/dist/types/features/modal/index.d.ts.map +1 -0
- package/dist/types/features/modal/lib/utils.d.ts +3 -0
- package/dist/types/features/modal/lib/utils.d.ts.map +1 -0
- package/dist/types/features/modal/ui/modal.d.ts +28 -0
- package/dist/types/features/modal/ui/modal.d.ts.map +1 -0
- package/dist/types/features/select/index.d.ts +9 -0
- package/dist/types/features/select/index.d.ts.map +1 -0
- package/dist/types/features/select/lib/select-variants.d.ts +20 -0
- package/dist/types/features/select/lib/select-variants.d.ts.map +1 -0
- package/dist/types/features/select/ui/select.d.ts +32 -0
- package/dist/types/features/select/ui/select.d.ts.map +1 -0
- package/dist/types/features/text/index.d.ts +7 -0
- package/dist/types/features/text/index.d.ts.map +1 -0
- package/dist/types/features/text/lib/utils.d.ts +3 -0
- package/dist/types/features/text/lib/utils.d.ts.map +1 -0
- package/dist/types/features/text/ui/text.d.ts +15 -0
- package/dist/types/features/text/ui/text.d.ts.map +1 -0
- package/dist/types/index.d.ts +53 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/main.d.ts +2 -0
- package/dist/types/main.d.ts.map +1 -0
- package/dist/types/pages/layouts/index.d.ts +7 -0
- package/dist/types/pages/layouts/index.d.ts.map +1 -0
- package/dist/types/pages/layouts/lib/utils.d.ts +3 -0
- package/dist/types/pages/layouts/lib/utils.d.ts.map +1 -0
- package/dist/types/pages/layouts/ui/page-layout.d.ts +30 -0
- package/dist/types/pages/layouts/ui/page-layout.d.ts.map +1 -0
- package/dist/types/shared/config/themes.d.ts +13 -0
- package/dist/types/shared/config/themes.d.ts.map +1 -0
- package/dist/types/shared/config/tokens/index.d.ts +187 -0
- package/dist/types/shared/config/tokens/index.d.ts.map +1 -0
- package/dist/types/shared/index.d.ts +15 -0
- package/dist/types/shared/index.d.ts.map +1 -0
- package/dist/types/shared/lib/a11y/components.d.ts +6 -0
- package/dist/types/shared/lib/a11y/components.d.ts.map +1 -0
- package/dist/types/shared/lib/a11y/index.d.ts +2 -0
- package/dist/types/shared/lib/a11y/index.d.ts.map +1 -0
- package/dist/types/shared/lib/a11y/utils.d.ts +54 -0
- package/dist/types/shared/lib/a11y/utils.d.ts.map +1 -0
- package/dist/types/shared/lib/design-system.d.ts +307 -0
- package/dist/types/shared/lib/design-system.d.ts.map +1 -0
- package/dist/types/shared/lib/governance/components.d.ts +10 -0
- package/dist/types/shared/lib/governance/components.d.ts.map +1 -0
- package/dist/types/shared/lib/governance/index.d.ts +110 -0
- package/dist/types/shared/lib/governance/index.d.ts.map +1 -0
- package/dist/types/shared/lib/governance/migrations.d.ts +2 -0
- package/dist/types/shared/lib/governance/migrations.d.ts.map +1 -0
- package/dist/types/shared/lib/governance/policies.d.ts +81 -0
- package/dist/types/shared/lib/governance/policies.d.ts.map +1 -0
- package/dist/types/shared/lib/governance/utils.d.ts +54 -0
- package/dist/types/shared/lib/governance/utils.d.ts.map +1 -0
- package/dist/types/shared/lib/i18n/index.d.ts +125 -0
- package/dist/types/shared/lib/i18n/index.d.ts.map +1 -0
- package/dist/types/shared/lib/performance/hooks.d.ts +35 -0
- package/dist/types/shared/lib/performance/hooks.d.ts.map +1 -0
- package/dist/types/shared/lib/performance/index.d.ts +40 -0
- package/dist/types/shared/lib/performance/index.d.ts.map +1 -0
- package/dist/types/shared/lib/theme/use-theme.d.ts +13 -0
- package/dist/types/shared/lib/theme/use-theme.d.ts.map +1 -0
- package/dist/types/shared/lib/utils.d.ts +3 -0
- package/dist/types/shared/lib/utils.d.ts.map +1 -0
- package/dist/types/shared/model/theme-store.d.ts +12 -0
- package/dist/types/shared/model/theme-store.d.ts.map +1 -0
- package/dist/types/shared/types/property.d.ts +47 -0
- package/dist/types/shared/types/property.d.ts.map +1 -0
- package/dist/types/shared/types/theme.d.ts +74 -0
- package/dist/types/shared/types/theme.d.ts.map +1 -0
- package/dist/types/shared/ui/chip/chip-variants.d.ts +7 -0
- package/dist/types/shared/ui/chip/chip-variants.d.ts.map +1 -0
- package/dist/types/shared/ui/chip/chip.d.ts +15 -0
- package/dist/types/shared/ui/chip/chip.d.ts.map +1 -0
- package/dist/types/shared/ui/chip/index.d.ts +9 -0
- package/dist/types/shared/ui/chip/index.d.ts.map +1 -0
- package/dist/types/shared/ui/theme/theme-provider.d.ts +12 -0
- package/dist/types/shared/ui/theme/theme-provider.d.ts.map +1 -0
- package/dist/types/test/setup.d.ts +2 -0
- package/dist/types/test/setup.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/index.d.ts +23 -0
- package/dist/types/widgets/entity-directory/index.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/empty-state.d.ts +20 -0
- package/dist/types/widgets/entity-directory/ui/empty-state.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/entity-directory.d.ts +70 -0
- package/dist/types/widgets/entity-directory/ui/entity-directory.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/error-state.d.ts +15 -0
- package/dist/types/widgets/entity-directory/ui/error-state.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/header.d.ts +15 -0
- package/dist/types/widgets/entity-directory/ui/header.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/list-item.d.ts +24 -0
- package/dist/types/widgets/entity-directory/ui/list-item.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/list.d.ts +34 -0
- package/dist/types/widgets/entity-directory/ui/list.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/loading-state.d.ts +13 -0
- package/dist/types/widgets/entity-directory/ui/loading-state.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/search-filter.d.ts +17 -0
- package/dist/types/widgets/entity-directory/ui/search-filter.d.ts.map +1 -0
- package/dist/types/widgets/entity-directory/ui/table-header.d.ts +34 -0
- package/dist/types/widgets/entity-directory/ui/table-header.d.ts.map +1 -0
- package/dist/types/widgets/header/index.d.ts +26 -0
- package/dist/types/widgets/header/index.d.ts.map +1 -0
- package/dist/types/widgets/header/ui/header.d.ts +52 -0
- package/dist/types/widgets/header/ui/header.d.ts.map +1 -0
- package/dist/types/widgets/hero-banner/index.d.ts +25 -0
- package/dist/types/widgets/hero-banner/index.d.ts.map +1 -0
- package/dist/types/widgets/hero-banner/model/create-hero-banner-model.d.ts +21 -0
- package/dist/types/widgets/hero-banner/model/create-hero-banner-model.d.ts.map +1 -0
- package/dist/types/widgets/hero-banner/model/index.d.ts +7 -0
- package/dist/types/widgets/hero-banner/model/index.d.ts.map +1 -0
- package/dist/types/widgets/hero-banner/model/types.d.ts +77 -0
- package/dist/types/widgets/hero-banner/model/types.d.ts.map +1 -0
- package/dist/types/widgets/hero-banner/ui/hero-banner.d.ts +30 -0
- package/dist/types/widgets/hero-banner/ui/hero-banner.d.ts.map +1 -0
- package/dist/types/widgets/mortgage-calculator/index.d.ts +8 -0
- package/dist/types/widgets/mortgage-calculator/index.d.ts.map +1 -0
- package/dist/types/widgets/mortgage-calculator/lib/constants.d.ts +22 -0
- package/dist/types/widgets/mortgage-calculator/lib/constants.d.ts.map +1 -0
- package/dist/types/widgets/mortgage-calculator/ui/mortgage-calculator.d.ts +27 -0
- package/dist/types/widgets/mortgage-calculator/ui/mortgage-calculator.d.ts.map +1 -0
- package/dist/types/widgets/property-card/index.d.ts +7 -0
- package/dist/types/widgets/property-card/index.d.ts.map +1 -0
- package/dist/types/widgets/property-card/ui/property-card.d.ts +19 -0
- package/dist/types/widgets/property-card/ui/property-card.d.ts.map +1 -0
- package/dist/types/widgets/property-gallery/index.d.ts +7 -0
- package/dist/types/widgets/property-gallery/index.d.ts.map +1 -0
- package/dist/types/widgets/property-gallery/ui/property-gallery.d.ts +16 -0
- package/dist/types/widgets/property-gallery/ui/property-gallery.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/index.d.ts +20 -0
- package/dist/types/widgets/search-feature/index.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/lib/constants.d.ts +14 -0
- package/dist/types/widgets/search-feature/lib/constants.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/lib/use-search.d.ts +32 -0
- package/dist/types/widgets/search-feature/lib/use-search.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/model/index.d.ts +6 -0
- package/dist/types/widgets/search-feature/model/index.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/model/types.d.ts +116 -0
- package/dist/types/widgets/search-feature/model/types.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-button.d.ts +22 -0
- package/dist/types/widgets/search-feature/ui/search-button.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-card-form.d.ts +9 -0
- package/dist/types/widgets/search-feature/ui/search-card-form.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-compact-form.d.ts +9 -0
- package/dist/types/widgets/search-feature/ui/search-compact-form.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-divider.d.ts +10 -0
- package/dist/types/widgets/search-feature/ui/search-divider.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-feature.d.ts +23 -0
- package/dist/types/widgets/search-feature/ui/search-feature.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-form-field.d.ts +34 -0
- package/dist/types/widgets/search-feature/ui/search-form-field.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-luxury-form.d.ts +16 -0
- package/dist/types/widgets/search-feature/ui/search-luxury-form.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-minimal-form.d.ts +10 -0
- package/dist/types/widgets/search-feature/ui/search-minimal-form.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-mobile-form.d.ts +9 -0
- package/dist/types/widgets/search-feature/ui/search-mobile-form.d.ts.map +1 -0
- package/dist/types/widgets/search-feature/ui/search-modern-form.d.ts +16 -0
- package/dist/types/widgets/search-feature/ui/search-modern-form.d.ts.map +1 -0
- package/package.json +2 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/entity-directory/ui/header.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,0BAA0B;IAC1C,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,qBAAqB,mGAgBzB,CAAC;AAGH,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EntityDirectory List Item Subcomponent
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import type { Entity, EntityCategory } from "../../../entities/entity";
|
|
6
|
+
export interface EntityDirectoryListItemProps {
|
|
7
|
+
/** Entity to display */
|
|
8
|
+
entity: Entity;
|
|
9
|
+
/** All categories for lookup */
|
|
10
|
+
categories?: EntityCategory[];
|
|
11
|
+
/** Show icon column */
|
|
12
|
+
showIcon?: boolean;
|
|
13
|
+
/** Show category badge */
|
|
14
|
+
showCategoryBadge?: boolean;
|
|
15
|
+
/** Show metric column */
|
|
16
|
+
showMetric?: boolean;
|
|
17
|
+
/** Compact mode */
|
|
18
|
+
compact?: boolean;
|
|
19
|
+
/** CSS class name */
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const EntityDirectoryListItem: React.ForwardRefExoticComponent<EntityDirectoryListItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export { EntityDirectoryListItem };
|
|
24
|
+
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/entity-directory/ui/list-item.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAKvE,MAAM,WAAW,4BAA4B;IAC5C,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yBAAyB;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,uBAAuB,qGAsH5B,CAAC;AAGF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EntityDirectory List Subcomponent
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import type { Entity, EntityCategory, EntitySort } from "../../../entities/entity";
|
|
6
|
+
export interface EntityDirectoryListProps {
|
|
7
|
+
/** Entities to display */
|
|
8
|
+
entities: Entity[];
|
|
9
|
+
/** All categories for lookup */
|
|
10
|
+
categories?: EntityCategory[];
|
|
11
|
+
/** Show icon column */
|
|
12
|
+
showIcons?: boolean;
|
|
13
|
+
/** Show category badges */
|
|
14
|
+
showCategoryBadges?: boolean;
|
|
15
|
+
/** Show metric column */
|
|
16
|
+
showMetric?: boolean;
|
|
17
|
+
/** Metric column label */
|
|
18
|
+
metricLabel?: string;
|
|
19
|
+
/** Enable sorting */
|
|
20
|
+
sortable?: boolean;
|
|
21
|
+
/** Current sort state */
|
|
22
|
+
sort?: EntitySort | null;
|
|
23
|
+
/** Sort change callback */
|
|
24
|
+
onSortChange?: (sort: EntitySort) => void;
|
|
25
|
+
/** Compact mode */
|
|
26
|
+
compact?: boolean;
|
|
27
|
+
/** Custom item renderer */
|
|
28
|
+
renderItem?: (entity: Entity) => React.ReactNode;
|
|
29
|
+
/** CSS class name */
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const EntityDirectoryList: React.ForwardRefExoticComponent<EntityDirectoryListProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
export { EntityDirectoryList };
|
|
34
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/entity-directory/ui/list.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EACX,MAAM,EACN,cAAc,EACd,UAAU,EACV,MAAM,0BAA0B,CAAC;AAKlC,MAAM,WAAW,wBAAwB;IACxC,0BAA0B;IAC1B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,gCAAgC;IAChC,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,uBAAuB;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,yBAAyB;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,mBAAmB,iGAoFxB,CAAC;AAGF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EntityDirectory Loading State Subcomponent
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
export interface EntityDirectoryLoadingStateProps {
|
|
6
|
+
/** Number of skeleton rows to display */
|
|
7
|
+
rows?: number;
|
|
8
|
+
/** CSS class name */
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const EntityDirectoryLoadingState: React.ForwardRefExoticComponent<EntityDirectoryLoadingStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { EntityDirectoryLoadingState };
|
|
13
|
+
//# sourceMappingURL=loading-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-state.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/entity-directory/ui/loading-state.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,gCAAgC;IAChD,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,2BAA2B,yGAoC/B,CAAC;AAGH,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EntityDirectory Search Filter Subcomponent
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
export interface EntityDirectorySearchFilterProps {
|
|
6
|
+
/** Search query value */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Change callback */
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
/** Placeholder text */
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
/** CSS class name */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const EntityDirectorySearchFilter: React.ForwardRefExoticComponent<EntityDirectorySearchFilterProps & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export { EntityDirectorySearchFilter };
|
|
17
|
+
//# sourceMappingURL=search-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-filter.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/entity-directory/ui/search-filter.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,gCAAgC;IAChD,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,sBAAsB;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,2BAA2B,2GA6D/B,CAAC;AAGH,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EntityDirectory Table Header Subcomponent
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import type { EntitySort } from "../../../entities/entity";
|
|
6
|
+
export interface TableHeaderColumn {
|
|
7
|
+
/** Column key */
|
|
8
|
+
key: "title" | "category" | "metric";
|
|
9
|
+
/** Column label */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Is sortable */
|
|
12
|
+
sortable?: boolean;
|
|
13
|
+
/** Width */
|
|
14
|
+
width?: string;
|
|
15
|
+
/** Alignment */
|
|
16
|
+
align?: "left" | "center" | "right";
|
|
17
|
+
}
|
|
18
|
+
export interface EntityDirectoryTableHeaderProps {
|
|
19
|
+
/** Columns to display */
|
|
20
|
+
columns: TableHeaderColumn[];
|
|
21
|
+
/** Show icon column */
|
|
22
|
+
showIcon?: boolean;
|
|
23
|
+
/** Current sort state */
|
|
24
|
+
sort?: EntitySort | null;
|
|
25
|
+
/** Sort change callback */
|
|
26
|
+
onSortChange?: (sort: EntitySort) => void;
|
|
27
|
+
/** Compact mode */
|
|
28
|
+
compact?: boolean;
|
|
29
|
+
/** CSS class name */
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const EntityDirectoryTableHeader: React.ForwardRefExoticComponent<EntityDirectoryTableHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
export { EntityDirectoryTableHeader };
|
|
34
|
+
//# sourceMappingURL=table-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/entity-directory/ui/table-header.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAG3D,MAAM,WAAW,iBAAiB;IACjC,iBAAiB;IACjB,GAAG,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;IACrC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,+BAA+B;IAC/C,yBAAyB;IACzB,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,0BAA0B,wGA8G9B,CAAC;AAGH,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Header Widget
|
|
3
|
+
* @module widgets/header
|
|
4
|
+
*
|
|
5
|
+
* Minimal pill-navigation header component for web applications.
|
|
6
|
+
* Features centered pill-shaped navigation with dividers.
|
|
7
|
+
*
|
|
8
|
+
* IMPORTANT: Always use Tailwind CSS standard classes instead of hardcoded values.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import { Header } from '@homlista-devs/ui';
|
|
13
|
+
*
|
|
14
|
+
* <Header
|
|
15
|
+
* logo="BRAND NAME"
|
|
16
|
+
* navigationItems={[
|
|
17
|
+
* { label: "Home", href: "/" },
|
|
18
|
+
* { label: "About", href: "/about" },
|
|
19
|
+
* ]}
|
|
20
|
+
* loginButtonText="Sign In"
|
|
21
|
+
* />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export type { HeaderProps } from "./ui/header";
|
|
25
|
+
export { Header } from "./ui/header";
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/header/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Header - Pill Navigation
|
|
3
|
+
* @module widgets/header/ui
|
|
4
|
+
*
|
|
5
|
+
* Pixel-perfect implementation matching Figma template design
|
|
6
|
+
* Features: Centered pill-shaped navigation with dividers
|
|
7
|
+
*
|
|
8
|
+
* IMPORTANT: Always use Tailwind CSS standard classes instead of hardcoded values:
|
|
9
|
+
* ❌ DON'T: px-[24px], text-[14px], bg-[#f4f4f5]
|
|
10
|
+
* ✅ DO: px-6, text-sm, bg-zinc-100
|
|
11
|
+
* This ensures consistency, theme customization, and maintainability.
|
|
12
|
+
*/
|
|
13
|
+
export interface HeaderProps {
|
|
14
|
+
/** Logo text or element */
|
|
15
|
+
logo?: React.ReactNode;
|
|
16
|
+
/** Navigation items array */
|
|
17
|
+
navigationItems?: Array<{
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
href: string;
|
|
21
|
+
}>;
|
|
22
|
+
/** Optional login button text */
|
|
23
|
+
loginButtonText?: string;
|
|
24
|
+
/** Show mobile menu */
|
|
25
|
+
showMobileMenu?: boolean;
|
|
26
|
+
/** Custom className for header container */
|
|
27
|
+
className?: string;
|
|
28
|
+
/** Custom className for logo */
|
|
29
|
+
logoClassName?: string;
|
|
30
|
+
/** Custom className for navigation container */
|
|
31
|
+
navigationClassName?: string;
|
|
32
|
+
/** Custom className for navigation items */
|
|
33
|
+
navigationItemClassName?: string;
|
|
34
|
+
/** Custom className for login button */
|
|
35
|
+
loginButtonClassName?: string;
|
|
36
|
+
/** Custom className for mobile menu button */
|
|
37
|
+
mobileMenuButtonClassName?: string;
|
|
38
|
+
/** Element ID */
|
|
39
|
+
id?: string;
|
|
40
|
+
/** ARIA label */
|
|
41
|
+
"aria-label"?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Header - Pill-shaped navigation matching Figma template
|
|
45
|
+
*
|
|
46
|
+
* Pixel-perfect implementation with:
|
|
47
|
+
* - Centered pill navigation with vertical dividers
|
|
48
|
+
* - Responsive typography and spacing
|
|
49
|
+
* - Semantic colors from Tailwind design system
|
|
50
|
+
*/
|
|
51
|
+
export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLElement>>;
|
|
52
|
+
//# sourceMappingURL=header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/header/ui/header.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,MAAM,WAAW,WAAW;IAC3B,2BAA2B;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrE,iCAAiC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gDAAgD;IAChD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,wCAAwC;IACxC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,8CAA8C;IAC9C,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,qGAwLlB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Banner Widget
|
|
3
|
+
* @module widgets/hero-banner
|
|
4
|
+
*
|
|
5
|
+
* A flexible hero section component that adapts to different design templates.
|
|
6
|
+
* Supports background images, statistics, logo, and custom search forms.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { HeroBanner } from '@homlista-devs/ui';
|
|
11
|
+
*
|
|
12
|
+
* <HeroBanner
|
|
13
|
+
* content={{
|
|
14
|
+
* title: "Find Your Dream Home",
|
|
15
|
+
* subtitle: "Discover amazing properties",
|
|
16
|
+
* }}
|
|
17
|
+
* template="modern"
|
|
18
|
+
* searchForm={<SearchFeature variant="modern" />}
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export type { HeroBannerContent, HeroBannerLayout, HeroBannerModel, HeroBannerProps, HeroBannerTemplate, HeroBannerTheme, HeroMetric, } from "./model";
|
|
23
|
+
export { createHeroBannerModel } from "./model";
|
|
24
|
+
export { HeroBanner } from "./ui/hero-banner";
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/hero-banner/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,YAAY,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,UAAU,GACV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Banner Widget - Model Factory
|
|
3
|
+
* @module widgets/hero-banner/model/create-hero-banner-model
|
|
4
|
+
*/
|
|
5
|
+
import type { HeroBannerModel, HeroBannerProps } from "./types";
|
|
6
|
+
/**
|
|
7
|
+
* Creates a normalized hero banner model with default values
|
|
8
|
+
*
|
|
9
|
+
* @param props - Hero banner props
|
|
10
|
+
* @returns Normalized model with defaults applied
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* const model = createHeroBannerModel({
|
|
15
|
+
* content: { title: "Welcome" },
|
|
16
|
+
* template: "modern"
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const createHeroBannerModel: (props: HeroBannerProps) => HeroBannerModel;
|
|
21
|
+
//# sourceMappingURL=create-hero-banner-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-hero-banner-model.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/hero-banner/model/create-hero-banner-model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEhE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,GACjC,OAAO,eAAe,KACpB,eAKD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Banner Widget - Model Layer
|
|
3
|
+
* @module widgets/hero-banner/model
|
|
4
|
+
*/
|
|
5
|
+
export { createHeroBannerModel } from "./create-hero-banner-model";
|
|
6
|
+
export type { HeroBannerContent, HeroBannerLayout, HeroBannerModel, HeroBannerProps, HeroBannerTemplate, HeroBannerTheme, HeroMetric, } from "./types";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/hero-banner/model/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,YAAY,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,UAAU,GACV,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Banner Widget - Type Definitions
|
|
3
|
+
* @module widgets/hero-banner/model/types
|
|
4
|
+
*/
|
|
5
|
+
import type { ReactNode } from "react";
|
|
6
|
+
/**
|
|
7
|
+
* Metric data point displayed in hero banner
|
|
8
|
+
*/
|
|
9
|
+
export interface HeroMetric {
|
|
10
|
+
/** Display value (e.g., "500+", "98%", "$2M") */
|
|
11
|
+
value: string;
|
|
12
|
+
/** Description label */
|
|
13
|
+
label: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Hero banner content configuration
|
|
17
|
+
*/
|
|
18
|
+
export interface HeroBannerContent {
|
|
19
|
+
/** Main headline */
|
|
20
|
+
title: string;
|
|
21
|
+
/** Optional subtitle */
|
|
22
|
+
subtitle?: string;
|
|
23
|
+
/** Optional metrics to display */
|
|
24
|
+
metrics?: HeroMetric[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Visual theme configuration for hero banner
|
|
28
|
+
*/
|
|
29
|
+
export interface HeroBannerTheme {
|
|
30
|
+
/** Background image URL */
|
|
31
|
+
backgroundImage?: string;
|
|
32
|
+
/** Background image positioning (CSS background-position) */
|
|
33
|
+
backgroundPosition?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Template variant affecting layout and styling
|
|
37
|
+
*/
|
|
38
|
+
export type HeroBannerTemplate = "minimal" | "modern" | "luxury";
|
|
39
|
+
/**
|
|
40
|
+
* Layout variant for content positioning
|
|
41
|
+
*/
|
|
42
|
+
export type HeroBannerLayout = "centered";
|
|
43
|
+
/**
|
|
44
|
+
* Hero Banner component props
|
|
45
|
+
*/
|
|
46
|
+
export interface HeroBannerProps {
|
|
47
|
+
/** Content configuration */
|
|
48
|
+
content: HeroBannerContent;
|
|
49
|
+
/** Visual theme configuration */
|
|
50
|
+
theme?: HeroBannerTheme;
|
|
51
|
+
/** Template variant */
|
|
52
|
+
template?: HeroBannerTemplate;
|
|
53
|
+
/** Layout variant */
|
|
54
|
+
layout?: HeroBannerLayout;
|
|
55
|
+
/** Search form or CTA component */
|
|
56
|
+
searchForm?: ReactNode;
|
|
57
|
+
/** Optional logo element */
|
|
58
|
+
logo?: ReactNode;
|
|
59
|
+
/** Optional navigation/header element (typically shown in minimal template) */
|
|
60
|
+
navigation?: ReactNode;
|
|
61
|
+
/** Additional CSS classes */
|
|
62
|
+
className?: string;
|
|
63
|
+
/** Element ID */
|
|
64
|
+
id?: string;
|
|
65
|
+
/** ARIA label for accessibility */
|
|
66
|
+
"aria-label"?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Normalized hero banner model with defaults applied
|
|
70
|
+
*/
|
|
71
|
+
export interface HeroBannerModel {
|
|
72
|
+
content: HeroBannerContent;
|
|
73
|
+
theme: HeroBannerTheme;
|
|
74
|
+
template: HeroBannerTemplate;
|
|
75
|
+
layout: HeroBannerLayout;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/hero-banner/model/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,UAAU;IAC1B,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B,2BAA2B;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B,4BAA4B;IAC5B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,uBAAuB;IACvB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,qBAAqB;IACrB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,mCAAmC;IACnC,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,gBAAgB,CAAC;CACzB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Banner Widget - UI Component
|
|
3
|
+
* @module widgets/hero-banner/ui
|
|
4
|
+
*/
|
|
5
|
+
import type { HeroBannerProps } from "../model";
|
|
6
|
+
/**
|
|
7
|
+
* Hero Banner Component
|
|
8
|
+
*
|
|
9
|
+
* A flexible hero section that adapts to different design templates.
|
|
10
|
+
* Supports background images, metrics, logo, and custom search forms.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <HeroBanner
|
|
15
|
+
* content={{
|
|
16
|
+
* title: "Find Your Dream Home",
|
|
17
|
+
* subtitle: "Discover amazing properties",
|
|
18
|
+
* metrics: [
|
|
19
|
+
* { value: "500+", label: "Properties" },
|
|
20
|
+
* { value: "98%", label: "Success Rate" },
|
|
21
|
+
* ]
|
|
22
|
+
* }}
|
|
23
|
+
* theme={{ backgroundImage: "/hero-bg.jpg" }}
|
|
24
|
+
* template="modern"
|
|
25
|
+
* searchForm={<SearchFeature variant="modern" />}
|
|
26
|
+
* />
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const HeroBanner: import("react").ForwardRefExoticComponent<HeroBannerProps & import("react").RefAttributes<HTMLElement>>;
|
|
30
|
+
//# sourceMappingURL=hero-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hero-banner.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/hero-banner/ui/hero-banner.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAmBhD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,UAAU,yGAoKtB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mortgage Calculator Widget
|
|
3
|
+
* Comprehensive mortgage calculator with visualization
|
|
4
|
+
*/
|
|
5
|
+
export { CHART_COLORS, DEFAULT_VALUES, LOAN_PROGRAM_OPTIONS, LOAN_PROGRAMS, } from "./lib/constants";
|
|
6
|
+
export type { MortgageCalculatorProps } from "./ui/mortgage-calculator";
|
|
7
|
+
export { MortgageCalculator } from "./ui/mortgage-calculator";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/mortgage-calculator/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,aAAa,GACb,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mortgage Calculator Constants
|
|
3
|
+
*/
|
|
4
|
+
import type { LoanProgramOption } from "../../../entities/mortgage";
|
|
5
|
+
import type { SelectOption } from "../../../features/select";
|
|
6
|
+
export declare const LOAN_PROGRAMS: LoanProgramOption[];
|
|
7
|
+
export declare const LOAN_PROGRAM_OPTIONS: SelectOption[];
|
|
8
|
+
export declare const DEFAULT_VALUES: {
|
|
9
|
+
propertyPrice: number;
|
|
10
|
+
downPayment: number;
|
|
11
|
+
loanProgram: "30-years";
|
|
12
|
+
interestRate: number;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Chart colors matching the design
|
|
16
|
+
*/
|
|
17
|
+
export declare const CHART_COLORS: {
|
|
18
|
+
readonly principalAndInterest: "#0a2540";
|
|
19
|
+
readonly propertyTax: "#4da6c7";
|
|
20
|
+
readonly hoaFees: "#7fc9e3";
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/mortgage-calculator/lib/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,aAAa,EAAE,iBAAiB,EAK5C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,YAAY,EAK9C,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;CAIf,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mortgage Calculator Widget
|
|
3
|
+
* A comprehensive mortgage calculator with form inputs and donut chart visualization
|
|
4
|
+
*/
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { type MortgageResult } from "../../../entities/mortgage";
|
|
7
|
+
export interface MortgageCalculatorProps {
|
|
8
|
+
/** Initial property price */
|
|
9
|
+
initialPropertyPrice?: number;
|
|
10
|
+
/** Initial down payment */
|
|
11
|
+
initialDownPayment?: number;
|
|
12
|
+
/** Initial loan program */
|
|
13
|
+
initialLoanProgram?: string;
|
|
14
|
+
/** Initial interest rate */
|
|
15
|
+
initialInterestRate?: number;
|
|
16
|
+
/** Whether to show property tax input */
|
|
17
|
+
showPropertyTax?: boolean;
|
|
18
|
+
/** Whether to show HOA fees input */
|
|
19
|
+
showHoaFees?: boolean;
|
|
20
|
+
/** Additional class name */
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Callback when calculation changes */
|
|
23
|
+
onCalculationChange?: (result: MortgageResult) => void;
|
|
24
|
+
}
|
|
25
|
+
declare const MortgageCalculator: React.ForwardRefExoticComponent<MortgageCalculatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export { MortgageCalculator };
|
|
27
|
+
//# sourceMappingURL=mortgage-calculator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mortgage-calculator.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/mortgage-calculator/ui/mortgage-calculator.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIN,KAAK,cAAc,EACnB,MAAM,4BAA4B,CAAC;AAcpC,MAAM,WAAW,uBAAuB;IACvC,6BAA6B;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4BAA4B;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yCAAyC;IACzC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qCAAqC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CACvD;AAED,QAAA,MAAM,kBAAkB,gGAuPvB,CAAC;AAIF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/property-card/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PropertyCard Widget
|
|
3
|
+
* @layer widgets
|
|
4
|
+
* @description Composite component for displaying property cards
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import type { Property } from "../../../entities/property";
|
|
8
|
+
export interface PropertyCardProps {
|
|
9
|
+
property: Property;
|
|
10
|
+
className?: string;
|
|
11
|
+
onLike?: (propertyId: string, isLiked: boolean) => void;
|
|
12
|
+
onImageClick?: (imageIndex: number, propertyId: string) => void;
|
|
13
|
+
showLikeButton?: boolean;
|
|
14
|
+
imageAspectRatio?: "4/3" | "16/9" | "1/1";
|
|
15
|
+
variant?: "default" | "compact" | "minimal";
|
|
16
|
+
badgeColors?: Record<string, string>;
|
|
17
|
+
}
|
|
18
|
+
export declare const PropertyCard: React.FC<PropertyCardProps>;
|
|
19
|
+
//# sourceMappingURL=property-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property-card.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/property-card/ui/property-card.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAEX,QAAQ,EAGR,MAAM,4BAA4B,CAAC;AAGpC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAgED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmUpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/property-gallery/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PropertyGallery Widget
|
|
3
|
+
* @layer widgets
|
|
4
|
+
* @description Image gallery widget for property listings
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
export interface PropertyGalleryProps {
|
|
8
|
+
images: string[];
|
|
9
|
+
transactionType?: string;
|
|
10
|
+
totalPhotos?: number;
|
|
11
|
+
onViewAllClick?: () => void;
|
|
12
|
+
onImageClick?: (index: number) => void;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const PropertyGallery: React.ForwardRefExoticComponent<PropertyGalleryProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
//# sourceMappingURL=property-gallery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property-gallery.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/property-gallery/ui/property-gallery.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,oBAAoB;IACpC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,6FAkI3B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search Feature Widget
|
|
3
|
+
* Comprehensive property search component with multiple variants
|
|
4
|
+
*/
|
|
5
|
+
export { useSearch } from "./lib/use-search";
|
|
6
|
+
export type { SearchCriteria, SearchFeatureProps, SearchFormComponentProps, SearchFormData, SearchOption, SearchSubmitHandler, SearchVariant, UseSearchResult, Zone, } from "./model";
|
|
7
|
+
export type { SearchButtonProps } from "./ui/search-button";
|
|
8
|
+
export { SearchButton } from "./ui/search-button";
|
|
9
|
+
export { SearchCardForm } from "./ui/search-card-form";
|
|
10
|
+
export { SearchCompactForm } from "./ui/search-compact-form";
|
|
11
|
+
export type { SearchDividerProps } from "./ui/search-divider";
|
|
12
|
+
export { SearchDivider } from "./ui/search-divider";
|
|
13
|
+
export { SearchFeature } from "./ui/search-feature";
|
|
14
|
+
export type { SearchFormFieldProps } from "./ui/search-form-field";
|
|
15
|
+
export { SearchFormField } from "./ui/search-form-field";
|
|
16
|
+
export { SearchLuxuryForm } from "./ui/search-luxury-form";
|
|
17
|
+
export { SearchMinimalForm } from "./ui/search-minimal-form";
|
|
18
|
+
export { SearchMobileForm } from "./ui/search-mobile-form";
|
|
19
|
+
export { SearchModernForm } from "./ui/search-modern-form";
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/search-feature/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,YAAY,EACX,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,IAAI,GACJ,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search Feature Constants
|
|
3
|
+
* Utility constants and helpers for the search feature
|
|
4
|
+
*/
|
|
5
|
+
export {};
|
|
6
|
+
/**
|
|
7
|
+
* This file is intentionally minimal.
|
|
8
|
+
* The search feature component is designed to be fully configurable by clients.
|
|
9
|
+
* All options (property types, transaction types, locations, icons) should be
|
|
10
|
+
* provided by the consuming application.
|
|
11
|
+
*
|
|
12
|
+
* Example configurations can be found in the Storybook stories.
|
|
13
|
+
*/
|
|
14
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/search-feature/lib/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH;;;;;;;GAOG"}
|