@sudobility/realestate-components 1.0.0
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/README.md +51 -0
- package/dist/agent-card.d.ts +34 -0
- package/dist/agent-card.d.ts.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +3052 -0
- package/dist/index.umd.js +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/listing-form.d.ts +34 -0
- package/dist/listing-form.d.ts.map +1 -0
- package/dist/mortgage-calc.d.ts +34 -0
- package/dist/mortgage-calc.d.ts.map +1 -0
- package/dist/neighborhood-info.d.ts +34 -0
- package/dist/neighborhood-info.d.ts.map +1 -0
- package/dist/open-house.d.ts +34 -0
- package/dist/open-house.d.ts.map +1 -0
- package/dist/property-card.d.ts +34 -0
- package/dist/property-card.d.ts.map +1 -0
- package/dist/property-compare.d.ts +34 -0
- package/dist/property-compare.d.ts.map +1 -0
- package/dist/property-gallery.d.ts +34 -0
- package/dist/property-gallery.d.ts.map +1 -0
- package/dist/property-map.d.ts +34 -0
- package/dist/property-map.d.ts.map +1 -0
- package/dist/property-search.d.ts +34 -0
- package/dist/property-search.d.ts.map +1 -0
- package/dist/rental-application.d.ts +34 -0
- package/dist/rental-application.d.ts.map +1 -0
- package/dist/virtual-tour.d.ts +34 -0
- package/dist/virtual-tour.d.ts.map +1 -0
- package/package.json +56 -0
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# @sudobility/realestate-components
|
|
2
|
+
|
|
3
|
+
Real estate listing and property management UI components for React applications.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @sudobility/realestate-components @sudobility/components @sudobility/design
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Components
|
|
12
|
+
|
|
13
|
+
- **PropertyCard** - Property listing card
|
|
14
|
+
- **PropertySearch** - Property search interface
|
|
15
|
+
- **PropertyGallery** - Property image gallery
|
|
16
|
+
- **PropertyMap** - Interactive property map
|
|
17
|
+
- **PropertyCompare** - Property comparison tool
|
|
18
|
+
- **ListingForm** - Property listing creation form
|
|
19
|
+
- **NeighborhoodInfo** - Neighborhood information display
|
|
20
|
+
- **OpenHouse** - Open house scheduling
|
|
21
|
+
- **RentalApplication** - Rental application form
|
|
22
|
+
- **VirtualTour** - Virtual property tour
|
|
23
|
+
- **MortgageCalc** - Mortgage calculator
|
|
24
|
+
- **AgentCard** - Real estate agent profile card
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
```tsx
|
|
29
|
+
import { PropertyCard, PropertySearch, MortgageCalc } from '@sudobility/realestate-components';
|
|
30
|
+
|
|
31
|
+
function App() {
|
|
32
|
+
return (
|
|
33
|
+
<>
|
|
34
|
+
<PropertySearch onSearch={handleSearch} />
|
|
35
|
+
<PropertyCard property={property} />
|
|
36
|
+
<MortgageCalc price={500000} downPayment={100000} />
|
|
37
|
+
</>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Dependencies
|
|
43
|
+
|
|
44
|
+
This package requires:
|
|
45
|
+
- `@sudobility/components` - Core component library
|
|
46
|
+
- `@sudobility/design` - Design system tokens
|
|
47
|
+
- `react` ^18.0.0 or ^19.0.0
|
|
48
|
+
|
|
49
|
+
## License
|
|
50
|
+
|
|
51
|
+
MIT
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UagentUcard Component
|
|
3
|
+
*
|
|
4
|
+
* A reusable UagentUcard component with full dark mode support.
|
|
5
|
+
* Optimized for accessibility and AI-assisted development.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <UagentUcard className="custom-class" />
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* This component supports:
|
|
15
|
+
* - Light and dark themes automatically
|
|
16
|
+
* - Responsive design
|
|
17
|
+
* - Accessibility features
|
|
18
|
+
* - TypeScript type safety
|
|
19
|
+
*
|
|
20
|
+
* @see {@link https://docs.example.com/components/agent-card}
|
|
21
|
+
*/
|
|
22
|
+
export interface UagentUcardProps {
|
|
23
|
+
/** Additional CSS classes */
|
|
24
|
+
className?: string;
|
|
25
|
+
/** Component children */
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
/** Disabled state */
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/** Callback when component is interacted with */
|
|
30
|
+
onClick?: () => void;
|
|
31
|
+
}
|
|
32
|
+
export declare const UagentUcard: ({ className, children, disabled, onClick, }: UagentUcardProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export default UagentUcard;
|
|
34
|
+
//# sourceMappingURL=agent-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-card.d.ts","sourceRoot":"","sources":["../src/agent-card.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,gBAAgB;IAC/B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,GAAI,6CAKzB,gBAAgB,4CAmBlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @sudobility/realestate-components
|
|
3
|
+
*
|
|
4
|
+
* Real estate listing and property management UI components
|
|
5
|
+
*/
|
|
6
|
+
export * from './property-card';
|
|
7
|
+
export * from './property-gallery';
|
|
8
|
+
export * from './property-map';
|
|
9
|
+
export * from './property-search';
|
|
10
|
+
export * from './property-compare';
|
|
11
|
+
export * from './listing-form';
|
|
12
|
+
export * from './neighborhood-info';
|
|
13
|
+
export * from './open-house';
|
|
14
|
+
export * from './rental-application';
|
|
15
|
+
export * from './virtual-tour';
|
|
16
|
+
export * from './mortgage-calc';
|
|
17
|
+
export * from './agent-card';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAG7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,cAAc,CAAC"}
|