@tenerife.music/ui 0.0.3
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/LICENSE +27 -0
- package/README.md +197 -0
- package/dist/components/admin/Dashboard.d.ts +7 -0
- package/dist/components/admin/Dashboard.d.ts.map +1 -0
- package/dist/components/admin/UserManagement.d.ts +7 -0
- package/dist/components/admin/UserManagement.d.ts.map +1 -0
- package/dist/components/auth/LoginForm.d.ts +7 -0
- package/dist/components/auth/LoginForm.d.ts.map +1 -0
- package/dist/components/auth/ProfileCard.d.ts +10 -0
- package/dist/components/auth/ProfileCard.d.ts.map +1 -0
- package/dist/components/auth/RegisterForm.d.ts +7 -0
- package/dist/components/auth/RegisterForm.d.ts.map +1 -0
- package/dist/components/cards/EventCard.d.ts +35 -0
- package/dist/components/cards/EventCard.d.ts.map +1 -0
- package/dist/components/cards/VenueCard.d.ts +36 -0
- package/dist/components/cards/VenueCard.d.ts.map +1 -0
- package/dist/components/controls/LanguageSelector.d.ts +16 -0
- package/dist/components/controls/LanguageSelector.d.ts.map +1 -0
- package/dist/components/data/List.d.ts +13 -0
- package/dist/components/data/List.d.ts.map +1 -0
- package/dist/components/data/Table.d.ts +15 -0
- package/dist/components/data/Table.d.ts.map +1 -0
- package/dist/components/data/Timeline.d.ts +14 -0
- package/dist/components/data/Timeline.d.ts.map +1 -0
- package/dist/components/feedback/Alert.d.ts +10 -0
- package/dist/components/feedback/Alert.d.ts.map +1 -0
- package/dist/components/feedback/ConsentBanner.d.ts +7 -0
- package/dist/components/feedback/ConsentBanner.d.ts.map +1 -0
- package/dist/components/feedback/Progress.d.ts +9 -0
- package/dist/components/feedback/Progress.d.ts.map +1 -0
- package/dist/components/feedback/Skeleton.d.ts +7 -0
- package/dist/components/feedback/Skeleton.d.ts.map +1 -0
- package/dist/components/filters/DateRangePicker.d.ts +19 -0
- package/dist/components/filters/DateRangePicker.d.ts.map +1 -0
- package/dist/components/filters/FilterBar.d.ts +21 -0
- package/dist/components/filters/FilterBar.d.ts.map +1 -0
- package/dist/components/filters/FilterSelect.d.ts +24 -0
- package/dist/components/filters/FilterSelect.d.ts.map +1 -0
- package/dist/components/filters/PriceRangeSlider.d.ts +21 -0
- package/dist/components/filters/PriceRangeSlider.d.ts.map +1 -0
- package/dist/components/filters/SearchFilters.d.ts +11 -0
- package/dist/components/filters/SearchFilters.d.ts.map +1 -0
- package/dist/components/filters/SearchInput.d.ts +17 -0
- package/dist/components/filters/SearchInput.d.ts.map +1 -0
- package/dist/components/filters/types.d.ts +49 -0
- package/dist/components/filters/types.d.ts.map +1 -0
- package/dist/components/forms/FormInput.d.ts +16 -0
- package/dist/components/forms/FormInput.d.ts.map +1 -0
- package/dist/components/forms/FormSelect.d.ts +18 -0
- package/dist/components/forms/FormSelect.d.ts.map +1 -0
- package/dist/components/forms/FormTextarea.d.ts +15 -0
- package/dist/components/forms/FormTextarea.d.ts.map +1 -0
- package/dist/components/icons/TrendingIcon.d.ts +7 -0
- package/dist/components/icons/TrendingIcon.d.ts.map +1 -0
- package/dist/components/layout/Container.d.ts +11 -0
- package/dist/components/layout/Container.d.ts.map +1 -0
- package/dist/components/layout/Flex.d.ts +14 -0
- package/dist/components/layout/Flex.d.ts.map +1 -0
- package/dist/components/layout/Footer.d.ts +10 -0
- package/dist/components/layout/Footer.d.ts.map +1 -0
- package/dist/components/layout/Grid.d.ts +13 -0
- package/dist/components/layout/Grid.d.ts.map +1 -0
- package/dist/components/layout/ModeHero.d.ts +11 -0
- package/dist/components/layout/ModeHero.d.ts.map +1 -0
- package/dist/components/layout/Navbar.d.ts +10 -0
- package/dist/components/layout/Navbar.d.ts.map +1 -0
- package/dist/components/layout/Section.d.ts +11 -0
- package/dist/components/layout/Section.d.ts.map +1 -0
- package/dist/components/layout/Stack.d.ts +12 -0
- package/dist/components/layout/Stack.d.ts.map +1 -0
- package/dist/components/menus/DropdownMenu.d.ts +28 -0
- package/dist/components/menus/DropdownMenu.d.ts.map +1 -0
- package/dist/components/menus/NavigationMenu.d.ts +13 -0
- package/dist/components/menus/NavigationMenu.d.ts.map +1 -0
- package/dist/components/menus/Tabs.d.ts +8 -0
- package/dist/components/menus/Tabs.d.ts.map +1 -0
- package/dist/components/modals/ConfirmDialog.d.ts +23 -0
- package/dist/components/modals/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/modals/CustomDialog.d.ts +12 -0
- package/dist/components/modals/CustomDialog.d.ts.map +1 -0
- package/dist/components/modals/Modal.d.ts +20 -0
- package/dist/components/modals/Modal.d.ts.map +1 -0
- package/dist/components/modals/ModalProvider.d.ts +17 -0
- package/dist/components/modals/ModalProvider.d.ts.map +1 -0
- package/dist/components/modals/SimpleModal.d.ts +11 -0
- package/dist/components/modals/SimpleModal.d.ts.map +1 -0
- package/dist/components/navigation/Breadcrumbs.d.ts +12 -0
- package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/Pagination.d.ts +10 -0
- package/dist/components/navigation/Pagination.d.ts.map +1 -0
- package/dist/components/overlays/OverlayPortal.d.ts +23 -0
- package/dist/components/overlays/OverlayPortal.d.ts.map +1 -0
- package/dist/components/overlays/Popover.d.ts +31 -0
- package/dist/components/overlays/Popover.d.ts.map +1 -0
- package/dist/components/overlays/Tooltip.d.ts +29 -0
- package/dist/components/overlays/Tooltip.d.ts.map +1 -0
- package/dist/components/primitives/Badge.d.ts +10 -0
- package/dist/components/primitives/Badge.d.ts.map +1 -0
- package/dist/components/primitives/Button.d.ts +2 -0
- package/dist/components/primitives/Button.d.ts.map +1 -0
- package/dist/components/primitives/Card.d.ts +2 -0
- package/dist/components/primitives/Card.d.ts.map +1 -0
- package/dist/components/primitives/Divider.d.ts +8 -0
- package/dist/components/primitives/Divider.d.ts.map +1 -0
- package/dist/components/primitives/Input.d.ts +5 -0
- package/dist/components/primitives/Input.d.ts.map +1 -0
- package/dist/components/primitives/Label.d.ts +2 -0
- package/dist/components/primitives/Label.d.ts.map +1 -0
- package/dist/components/primitives/Link.d.ts +12 -0
- package/dist/components/primitives/Link.d.ts.map +1 -0
- package/dist/components/primitives/ThemeSwitch.d.ts +9 -0
- package/dist/components/primitives/ThemeSwitch.d.ts.map +1 -0
- package/dist/components/primitives/Typography.d.ts +21 -0
- package/dist/components/primitives/Typography.d.ts.map +1 -0
- package/dist/components/search/SearchBar.d.ts +11 -0
- package/dist/components/search/SearchBar.d.ts.map +1 -0
- package/dist/components/sections/ArticlesSection.d.ts +16 -0
- package/dist/components/sections/ArticlesSection.d.ts.map +1 -0
- package/dist/components/sections/TrendingSection.d.ts +10 -0
- package/dist/components/sections/TrendingSection.d.ts.map +1 -0
- package/dist/components/skeletons/EventCardSkeleton.d.ts +7 -0
- package/dist/components/skeletons/EventCardSkeleton.d.ts.map +1 -0
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +7 -0
- package/dist/components/skeletons/VenueCardSkeleton.d.ts.map +1 -0
- package/dist/components/toasts/Toast.d.ts +13 -0
- package/dist/components/toasts/Toast.d.ts.map +1 -0
- package/dist/components/toasts/ToastProvider.d.ts +27 -0
- package/dist/components/toasts/ToastProvider.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +12 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/toast.d.ts +16 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toaster.d.ts +2 -0
- package/dist/components/ui/toaster.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/hooks/use-toast.d.ts +45 -0
- package/dist/hooks/use-toast.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts +20 -0
- package/dist/hooks/useModal.d.ts.map +1 -0
- package/dist/hooks/useToast.d.ts +27 -0
- package/dist/hooks/useToast.d.ts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +4520 -0
- package/dist/lib/utils.d.ts +9 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/theme/applyMode.d.ts +3 -0
- package/dist/theme/applyMode.d.ts.map +1 -0
- package/dist/theme/colors.d.ts +71 -0
- package/dist/theme/colors.d.ts.map +1 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/motion.d.ts +128 -0
- package/dist/theme/motion.d.ts.map +1 -0
- package/dist/theme/spacing.d.ts +35 -0
- package/dist/theme/spacing.d.ts.map +1 -0
- package/dist/theme/typography.d.ts +46 -0
- package/dist/theme/typography.d.ts.map +1 -0
- package/dist/tokens/colors.d.ts +71 -0
- package/dist/tokens/colors.d.ts.map +1 -0
- package/dist/tokens/index.d.ts +5 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/radius.d.ts +13 -0
- package/dist/tokens/radius.d.ts.map +1 -0
- package/dist/tokens/spacing.d.ts +39 -0
- package/dist/tokens/spacing.d.ts.map +1 -0
- package/dist/tokens/typography.d.ts +79 -0
- package/dist/tokens/typography.d.ts.map +1 -0
- package/package.json +122 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Tenerife.Music
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# @tenerife.music/ui
|
|
2
|
+
|
|
3
|
+
**Tenerife.Music UI Component Library** - A hybrid design system built on shadcn/ui primitives with Tenerife branding.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@tenerife.music/ui)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
## 📦 Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @tenerife.music/ui
|
|
12
|
+
# or
|
|
13
|
+
pnpm add @tenerife.music/ui
|
|
14
|
+
# or
|
|
15
|
+
yarn add @tenerife.music/ui
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 🚀 Quick Start
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
import { Button, Card, EventCard } from '@tenerife.music/ui';
|
|
22
|
+
import '@tenerife.music/ui/styles'; // Import styles
|
|
23
|
+
|
|
24
|
+
function App() {
|
|
25
|
+
return (
|
|
26
|
+
<div>
|
|
27
|
+
<Button variant="default">Click me</Button>
|
|
28
|
+
<Card>
|
|
29
|
+
<CardHeader>Title</CardHeader>
|
|
30
|
+
<CardContent>Content</CardContent>
|
|
31
|
+
</Card>
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## 📚 Documentation
|
|
38
|
+
|
|
39
|
+
Full documentation available at: [Tenerife UI Documentation](https://github.com/tenerife-music/tenerife-ui)
|
|
40
|
+
|
|
41
|
+
## 🎨 Features
|
|
42
|
+
|
|
43
|
+
- **74+ Components**: Primitives, Layout, Forms, Feedback, Navigation, and more
|
|
44
|
+
- **Day/Night Themes**: Automatic theme switching support
|
|
45
|
+
- **TypeScript**: Full type safety with TypeScript
|
|
46
|
+
- **Tailwind CSS**: Built with Tailwind CSS for styling
|
|
47
|
+
- **shadcn/ui Based**: Built on top of shadcn/ui primitives
|
|
48
|
+
- **Accessible**: ARIA-compliant components via Radix UI
|
|
49
|
+
- **Tree-shakeable**: Import only what you need
|
|
50
|
+
|
|
51
|
+
## 🏗️ Architecture
|
|
52
|
+
|
|
53
|
+
### Hybrid Design Approach
|
|
54
|
+
|
|
55
|
+
1. **Base Primitives**: shadcn/ui components (Button, Input, Card, etc.)
|
|
56
|
+
2. **Tenerife Primitives**: Re-exported with Tenerife branding
|
|
57
|
+
3. **Complex Components**: Higher-level components (EventCard, VenueCard, etc.)
|
|
58
|
+
|
|
59
|
+
### Component Categories
|
|
60
|
+
|
|
61
|
+
- **Primitives**: Button, Input, Card, Badge, Label, etc.
|
|
62
|
+
- **Layout**: Navbar, Footer, Container, Section, Grid, Flex
|
|
63
|
+
- **Forms**: FormInput, FormSelect, FormTextarea
|
|
64
|
+
- **Feedback**: Alert, Progress, Skeleton, Toast
|
|
65
|
+
- **Navigation**: Breadcrumbs, Pagination, Tabs
|
|
66
|
+
- **Data**: Table, List, Timeline
|
|
67
|
+
- **Cards**: EventCard, VenueCard
|
|
68
|
+
- **Modals**: Modal, Dialog, ConfirmDialog
|
|
69
|
+
|
|
70
|
+
## 🎨 Theming
|
|
71
|
+
|
|
72
|
+
The library supports day/night themes:
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
// Set theme
|
|
76
|
+
document.documentElement.setAttribute('data-mode', 'day'); // or 'night'
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## 📖 Usage Examples
|
|
80
|
+
|
|
81
|
+
### Basic Components
|
|
82
|
+
|
|
83
|
+
```tsx
|
|
84
|
+
import { Button, Input, Card } from '@tenerife.music/ui';
|
|
85
|
+
|
|
86
|
+
<Button variant="default">Click me</Button>
|
|
87
|
+
<Input placeholder="Enter text..." />
|
|
88
|
+
<Card>Card content</Card>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Complex Components
|
|
92
|
+
|
|
93
|
+
```tsx
|
|
94
|
+
import { EventCard, VenueCard, SearchBar } from '@tenerife.music/ui';
|
|
95
|
+
|
|
96
|
+
<EventCard event={eventData} />
|
|
97
|
+
<VenueCard venue={venueData} />
|
|
98
|
+
<SearchBar onSearch={handleSearch} />
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Forms
|
|
102
|
+
|
|
103
|
+
```tsx
|
|
104
|
+
import { FormInput, FormSelect } from '@tenerife.music/ui';
|
|
105
|
+
import { useForm } from 'react-hook-form';
|
|
106
|
+
|
|
107
|
+
const { register } = useForm();
|
|
108
|
+
|
|
109
|
+
<FormInput {...register('name')} label="Name" />
|
|
110
|
+
<FormSelect {...register('category')} options={options} />
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## 🧪 Development
|
|
114
|
+
|
|
115
|
+
### Prerequisites
|
|
116
|
+
|
|
117
|
+
- Node.js 18+
|
|
118
|
+
- pnpm (recommended) or npm
|
|
119
|
+
|
|
120
|
+
### Setup
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# Clone repository
|
|
124
|
+
git clone https://github.com/tenerife-music/tenerife-ui.git
|
|
125
|
+
cd tenerife-ui
|
|
126
|
+
|
|
127
|
+
# Install dependencies
|
|
128
|
+
pnpm install
|
|
129
|
+
|
|
130
|
+
# Start Storybook
|
|
131
|
+
pnpm storybook
|
|
132
|
+
|
|
133
|
+
# Build
|
|
134
|
+
pnpm build
|
|
135
|
+
|
|
136
|
+
# Test
|
|
137
|
+
pnpm test
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Scripts
|
|
141
|
+
|
|
142
|
+
- `pnpm build` - Build the library
|
|
143
|
+
- `pnpm dev` - Watch mode for development
|
|
144
|
+
- `pnpm test` - Run tests
|
|
145
|
+
- `pnpm test:coverage` - Run tests with coverage
|
|
146
|
+
- `pnpm storybook` - Start Storybook
|
|
147
|
+
- `pnpm lint` - Lint code
|
|
148
|
+
- `pnpm typecheck` - Type check
|
|
149
|
+
|
|
150
|
+
## 📦 Publishing
|
|
151
|
+
|
|
152
|
+
This package is published to npm. To publish a new version:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
# Update version
|
|
156
|
+
npm version patch|minor|major
|
|
157
|
+
|
|
158
|
+
# Publish
|
|
159
|
+
npm publish
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## 🤝 Contributing
|
|
163
|
+
|
|
164
|
+
Contributions are welcome! Please read our contributing guidelines first.
|
|
165
|
+
|
|
166
|
+
1. Fork the repository
|
|
167
|
+
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
168
|
+
3. Commit your changes (`git commit -m 'feat: add amazing feature'`)
|
|
169
|
+
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
170
|
+
5. Open a Pull Request
|
|
171
|
+
|
|
172
|
+
## 📄 License
|
|
173
|
+
|
|
174
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
175
|
+
|
|
176
|
+
## 🔗 Links
|
|
177
|
+
|
|
178
|
+
- [Documentation](https://github.com/tenerife-music/tenerife-ui)
|
|
179
|
+
- [Issues](https://github.com/tenerife-music/tenerife-ui/issues)
|
|
180
|
+
- [Changelog](CHANGELOG.md)
|
|
181
|
+
|
|
182
|
+
## 🙏 Acknowledgments
|
|
183
|
+
|
|
184
|
+
- [shadcn/ui](https://ui.shadcn.com/) - Base component primitives
|
|
185
|
+
- [Radix UI](https://www.radix-ui.com/) - Accessible component primitives
|
|
186
|
+
- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
**Version:** 0.0.1
|
|
191
|
+
**Last Updated:** 2025-01-29
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashboard.d.ts","sourceRoot":"","sources":["../../../src/components/admin/Dashboard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAU9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserManagement.d.ts","sourceRoot":"","sources":["../../../src/components/admin/UserManagement.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../../../src/components/auth/LoginForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAQ9C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ProfileCardProps {
|
|
3
|
+
name?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
avatar?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ProfileCard: React.FC<ProfileCardProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ProfileCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileCard.d.ts","sourceRoot":"","sources":["../../../src/components/auth/ProfileCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,gBAAgB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkBlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegisterForm.d.ts","sourceRoot":"","sources":["../../../src/components/auth/RegisterForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CASpD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface EventCardEvent {
|
|
3
|
+
_id?: string;
|
|
4
|
+
slug?: string;
|
|
5
|
+
name?: {
|
|
6
|
+
en?: string;
|
|
7
|
+
es?: string;
|
|
8
|
+
ru?: string;
|
|
9
|
+
};
|
|
10
|
+
start_date?: string;
|
|
11
|
+
ticket_url?: string;
|
|
12
|
+
venue_id?: {
|
|
13
|
+
name?: {
|
|
14
|
+
en?: string;
|
|
15
|
+
es?: string;
|
|
16
|
+
ru?: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
description?: {
|
|
20
|
+
en?: string;
|
|
21
|
+
es?: string;
|
|
22
|
+
ru?: string;
|
|
23
|
+
};
|
|
24
|
+
price?: string;
|
|
25
|
+
image?: string;
|
|
26
|
+
}
|
|
27
|
+
interface EventCardProps {
|
|
28
|
+
event?: EventCardEvent;
|
|
29
|
+
className?: string;
|
|
30
|
+
featured?: boolean;
|
|
31
|
+
showImage?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare const EventCard: React.FC<EventCardProps>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=EventCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCard.d.ts","sourceRoot":"","sources":["../../../src/components/cards/EventCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE;YAAE,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;IAChE,WAAW,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4G9C,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface VenueCardProps {
|
|
3
|
+
venue?: {
|
|
4
|
+
_id?: string;
|
|
5
|
+
slug?: string;
|
|
6
|
+
name?: {
|
|
7
|
+
en?: string;
|
|
8
|
+
es?: string;
|
|
9
|
+
ru?: string;
|
|
10
|
+
};
|
|
11
|
+
description?: {
|
|
12
|
+
en?: string;
|
|
13
|
+
es?: string;
|
|
14
|
+
ru?: string;
|
|
15
|
+
};
|
|
16
|
+
location?: string;
|
|
17
|
+
address?: string;
|
|
18
|
+
city?: string;
|
|
19
|
+
region?: string;
|
|
20
|
+
capacity?: string;
|
|
21
|
+
image?: string;
|
|
22
|
+
coordinates?: {
|
|
23
|
+
lat: number;
|
|
24
|
+
lng: number;
|
|
25
|
+
};
|
|
26
|
+
type?: string;
|
|
27
|
+
website?: string;
|
|
28
|
+
events_count?: number;
|
|
29
|
+
};
|
|
30
|
+
className?: string;
|
|
31
|
+
featured?: boolean;
|
|
32
|
+
showImage?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare const VenueCard: React.FC<VenueCardProps>;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=VenueCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VenueCard.d.ts","sourceRoot":"","sources":["../../../src/components/cards/VenueCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE;QACN,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE;YAAE,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QACjD,WAAW,CAAC,EAAE;YAAE,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;QACF,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA+F9C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface LanguageOption {
|
|
3
|
+
code: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
interface LanguageSelectorProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
languages?: LanguageOption[];
|
|
9
|
+
value?: string;
|
|
10
|
+
defaultValue?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
onLanguageChange?: (language: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const LanguageSelector: React.FC<LanguageSelectorProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=LanguageSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguageSelector.d.ts","sourceRoot":"","sources":["../../../src/components/controls/LanguageSelector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAQD,UAAU,qBAAqB;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsD5D,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ListItem {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
7
|
+
interface ListProps {
|
|
8
|
+
items: ListItem[];
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const List: React.FC<ListProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/data/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,SAAS;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqBpC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TableColumn<T> {
|
|
3
|
+
key: keyof T;
|
|
4
|
+
title: string;
|
|
5
|
+
render?: (value: any, item: T) => React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
interface TableProps<T> {
|
|
8
|
+
data: T[];
|
|
9
|
+
columns: TableColumn<T>[];
|
|
10
|
+
rowKey: keyof T;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Table: <T extends Record<string, any>>({ data, columns, rowKey, className }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/data/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAW,CAAC,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACnD;AAED,UAAU,UAAU,CAAC,CAAC;IACpB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,sCAKlD,UAAU,CAAC,CAAC,CAAC,4CAgCf,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TimelineItem {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
date: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
interface TimelineProps {
|
|
9
|
+
items: TimelineItem[];
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Timeline: React.FC<TimelineProps>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/data/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2B5C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface AlertProps {
|
|
3
|
+
variant?: 'success' | 'error' | 'warning' | 'info';
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Alert: React.FC<AlertProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,UAAU;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2BtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsentBanner.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/ConsentBanner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,kBAAkB;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAUtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkB5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAO5C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface DateRange {
|
|
2
|
+
from: Date | undefined;
|
|
3
|
+
to: Date | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface DateRangePickerProps {
|
|
6
|
+
value: DateRange;
|
|
7
|
+
onChange: (range: DateRange) => void;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function DateRangePicker({ value, onChange, placeholder, className, disabled, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function useDateRange(initialRange?: DateRange): {
|
|
14
|
+
range: DateRange;
|
|
15
|
+
setDateRange: (newRange: DateRange) => void;
|
|
16
|
+
clearRange: () => void;
|
|
17
|
+
isRangeComplete: Date | undefined;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=DateRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/filters/DateRangePicker.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,EAAE,EAAE,IAAI,GAAG,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,WAAiC,EACjC,SAAS,EACT,QAAgB,GACjB,EAAE,oBAAoB,2CAiHtB;AAGD,wBAAgB,YAAY,CAAC,YAAY,GAAE,SAA8C;;6BAGrC,SAAS;;;EAgB5D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface FilterBarProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
showSearch?: boolean;
|
|
4
|
+
showCategory?: boolean;
|
|
5
|
+
showDateRange?: boolean;
|
|
6
|
+
showPriceRange?: boolean;
|
|
7
|
+
showSorting?: boolean;
|
|
8
|
+
categories?: Array<{
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
count?: number;
|
|
12
|
+
}>;
|
|
13
|
+
sortOptions?: Array<{
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}>;
|
|
17
|
+
onFiltersChange?: (filters: any) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare function FilterBar({ className, showSearch, showCategory, showDateRange, showPriceRange, showSorting, categories, sortOptions, onFiltersChange, }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function FilterBarCompact({ className, ...props }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=FilterBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../src/components/filters/FilterBar.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrE,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,UAAiB,EACjB,YAAmB,EACnB,aAAoB,EACpB,cAAqB,EACrB,WAAkB,EAClB,UAAe,EACf,WAIC,EACD,eAAe,GAChB,EAAE,cAAc,2CA0JhB;AAGD,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAOhB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FilterOption } from './types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
|
+
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
5
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export interface FilterSelectProps {
|
|
15
|
+
value: string;
|
|
16
|
+
onValueChange: (value: string) => void;
|
|
17
|
+
options: FilterOption[];
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function FilterSelect({ value, onValueChange, options, placeholder, label, className, }: FilterSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
24
|
+
//# sourceMappingURL=FilterSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterSelect.d.ts","sourceRoot":"","sources":["../../../src/components/filters/FilterSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,oKAiBjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,qKAcxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,uKAc1B,CAAC;AAIH,QAAA,MAAM,aAAa,8JA6BjB,CAAC;AAGH,QAAA,MAAM,WAAW,4JASf,CAAC;AAGH,QAAA,MAAM,UAAU,2JAoBd,CAAC;AAGH,QAAA,MAAM,eAAe,gKASnB,CAAC;AAGH,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,OAAO,EACP,WAAgC,EAChC,KAAK,EACL,SAAS,GACV,EAAE,iBAAiB,2CAsCnB;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PriceRange {
|
|
2
|
+
min: number | null;
|
|
3
|
+
max: number | null;
|
|
4
|
+
}
|
|
5
|
+
export interface PriceRangeSliderProps {
|
|
6
|
+
value: PriceRange;
|
|
7
|
+
onChange: (range: PriceRange) => void;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
step?: number;
|
|
11
|
+
currency?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function PriceRangeSlider({ value, onChange, min, max, step, currency, className, }: PriceRangeSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function usePriceRange(initialRange?: PriceRange): {
|
|
16
|
+
range: PriceRange;
|
|
17
|
+
setPriceRange: (newRange: PriceRange) => void;
|
|
18
|
+
clearRange: () => void;
|
|
19
|
+
isRangeSet: boolean;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=PriceRangeSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PriceRangeSlider.d.ts","sourceRoot":"","sources":["../../../src/components/filters/PriceRangeSlider.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,GAAO,EACP,GAAU,EACV,IAAS,EACT,QAAc,EACd,SAAS,GACV,EAAE,qBAAqB,2CA6KvB;AAGD,wBAAgB,aAAa,CAAC,YAAY,GAAE,UAAqC;;8BAG5B,UAAU;;;EAgB9D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface SearchFiltersProps {
|
|
3
|
+
onSearch?: (query: string) => void;
|
|
4
|
+
onDateChange?: (date: string) => void;
|
|
5
|
+
onGenreChange?: (genre: string) => void;
|
|
6
|
+
onVenueChange?: (venue: string) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const SearchFilters: React.FC<SearchFiltersProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=SearchFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchFilters.d.ts","sourceRoot":"","sources":["../../../src/components/filters/SearchFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+DtD,CAAC"}
|