@smitch/breeze 0.2.2 → 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 +87 -92
- package/lib/@hooks/useWindowWidth.d.ts +2 -0
- package/lib/@utils/merge.d.ts +1 -0
- package/lib/accordion/Accordion.d.ts +3 -0
- package/lib/accordion/atoms/AccordionCard.d.ts +3 -0
- package/lib/accordion/atoms/AccordionHead.d.ts +3 -0
- package/lib/accordion/atoms/AccordionItem.d.ts +3 -0
- package/lib/accordion/atoms/AccordionSection.d.ts +3 -0
- package/lib/accordion/atoms/index.d.ts +4 -0
- package/lib/accordion/index.d.ts +2 -0
- package/lib/accordion/types/index.d.ts +57 -0
- package/lib/alert/Alert.d.ts +3 -0
- package/lib/alert/index.d.ts +1 -0
- package/lib/alert/types/index.d.ts +17 -0
- package/lib/autocomplete/Autocomplete.d.ts +3 -0
- package/lib/autocomplete/index.d.ts +1 -0
- package/lib/autocomplete/types/index.d.ts +16 -0
- package/lib/badge/Badge.d.ts +3 -0
- package/lib/badge/index.d.ts +1 -0
- package/lib/badge/types/index.d.ts +10 -0
- package/lib/blockquote/Blockquote.d.ts +3 -0
- package/lib/blockquote/index.d.ts +1 -0
- package/lib/blockquote/types/index.d.ts +9 -0
- package/lib/breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/lib/breadcrumbs/index.d.ts +1 -0
- package/lib/breadcrumbs/types/index.d.ts +9 -0
- package/lib/button/Button.d.ts +5 -0
- package/lib/button/index.d.ts +2 -0
- package/lib/button/types/index.d.ts +24 -0
- package/lib/button/variants/CloseButton.d.ts +3 -0
- package/lib/button/variants/index.d.ts +1 -0
- package/lib/button/variants/types/index.d.ts +9 -0
- package/lib/buttongroup/ButtonGroup.d.ts +3 -0
- package/lib/buttongroup/index.d.ts +1 -0
- package/lib/buttongroup/types/index.d.ts +11 -0
- package/lib/card/Card.d.ts +3 -0
- package/lib/card/atoms/CardBody.d.ts +3 -0
- package/lib/card/atoms/CardFooter.d.ts +3 -0
- package/lib/card/atoms/CardHeader.d.ts +3 -0
- package/lib/card/atoms/CardImage.d.ts +3 -0
- package/lib/card/index.d.ts +5 -0
- package/lib/card/types/index.d.ts +31 -0
- package/lib/carousel/Carousel.d.ts +3 -0
- package/lib/carousel/index.d.ts +1 -0
- package/lib/carousel/types/index.d.ts +28 -0
- package/lib/charts/BarChart.d.ts +3 -0
- package/lib/charts/BubbleChart.d.ts +3 -0
- package/lib/charts/ChartWrap.d.ts +15 -0
- package/lib/charts/DoughnutChart.d.ts +3 -0
- package/lib/charts/LineChart.d.ts +3 -0
- package/lib/charts/MixedChart.d.ts +3 -0
- package/lib/charts/PieChart.d.ts +3 -0
- package/lib/charts/PolarAreaChart.d.ts +3 -0
- package/lib/charts/RadarChart.d.ts +3 -0
- package/lib/charts/ScatterChart.d.ts +3 -0
- package/lib/charts/index.d.ts +9 -0
- package/lib/charts/types/index.d.ts +85 -0
- package/lib/checkbox/Checkbox.d.ts +3 -0
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox/types/index.d.ts +14 -0
- package/lib/clock/Clock.d.ts +3 -0
- package/lib/clock/index.d.ts +1 -0
- package/lib/clock/types/index.d.ts +13 -0
- package/lib/codeblock/Codeblock.d.ts +3 -0
- package/lib/codeblock/index.d.ts +1 -0
- package/lib/codeblock/types/index.d.ts +6 -0
- package/lib/counter/Counter.d.ts +3 -0
- package/lib/counter/index.d.ts +1 -0
- package/lib/counter/types/index.d.ts +22 -0
- package/lib/datatable/DataTable.d.ts +3 -0
- package/lib/datatable/index.d.ts +1 -0
- package/lib/datatable/types/index.d.ts +10 -0
- package/lib/dialog/Dialog.d.ts +3 -0
- package/lib/dialog/hooks/useDisableBack.d.ts +1 -0
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/types/index.d.ts +12 -0
- package/lib/drawer/Drawer.d.ts +3 -0
- package/lib/drawer/index.d.ts +1 -0
- package/lib/drawer/types/index.d.ts +9 -0
- package/lib/dropdown/Dropdown.d.ts +3 -0
- package/lib/dropdown/index.d.ts +1 -0
- package/lib/dropdown/types/index.d.ts +15 -0
- package/lib/figure/Figure.d.ts +3 -0
- package/lib/figure/index.d.ts +1 -0
- package/lib/figure/types/index.d.ts +9 -0
- package/lib/fileupload/FileUpload.d.ts +3 -0
- package/lib/fileupload/Files.d.ts +3 -0
- package/lib/fileupload/index.d.ts +1 -0
- package/lib/fileupload/types/index.d.ts +35 -0
- package/lib/form/Fieldset.d.ts +3 -0
- package/lib/form/Form.d.ts +3 -0
- package/lib/form/Legend.d.ts +3 -0
- package/lib/form/RegisterForm.d.ts +3 -0
- package/lib/form/index.d.ts +4 -0
- package/lib/form/types/index.d.ts +83 -0
- package/lib/gallery/Gallery.d.ts +3 -0
- package/lib/gallery/index.d.ts +1 -0
- package/lib/gallery/types/index.d.ts +12 -0
- package/lib/heading/Heading.d.ts +3 -0
- package/lib/heading/index.d.ts +1 -0
- package/lib/heading/types/index.d.ts +9 -0
- package/lib/hero/Hero.d.ts +3 -0
- package/lib/hero/index.d.ts +1 -0
- package/lib/hero/types/index.d.ts +21 -0
- package/lib/icon/Icon.d.ts +3 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/types/index.d.ts +13 -0
- package/lib/index.d.ts +51 -0
- package/lib/input/Input.d.ts +5 -0
- package/lib/input/index.d.ts +1 -0
- package/lib/input/types/index.d.ts +38 -0
- package/lib/label/Label.d.ts +3 -0
- package/lib/label/index.d.ts +1 -0
- package/lib/label/types/index.d.ts +14 -0
- package/lib/loading/Loading.d.ts +3 -0
- package/lib/loading/index.d.ts +2 -0
- package/lib/loading/spinners/Bars.d.ts +4 -0
- package/lib/loading/spinners/Clock.d.ts +4 -0
- package/lib/loading/spinners/Dots.d.ts +4 -0
- package/lib/loading/spinners/Pulse.d.ts +4 -0
- package/lib/loading/spinners/Spindots.d.ts +4 -0
- package/lib/loading/spinners/Spinner.d.ts +4 -0
- package/lib/loading/spinners/Wifi.d.ts +4 -0
- package/lib/loading/spinners/index.d.ts +7 -0
- package/lib/loading/types/index.d.ts +10 -0
- package/lib/map/LazyMap.d.ts +6 -0
- package/lib/map/LazyMapCircle.d.ts +3 -0
- package/lib/map/LazyMapLine.d.ts +3 -0
- package/lib/map/LazyMapMarker.d.ts +5 -0
- package/lib/map/LazyMapPolygon.d.ts +3 -0
- package/lib/map/LazyMapRectangle.d.ts +3 -0
- package/lib/map/Map.d.ts +3 -0
- package/lib/map/MapCircle.d.ts +3 -0
- package/lib/map/MapLine.d.ts +3 -0
- package/lib/map/MapMarker.d.ts +3 -0
- package/lib/map/MapPolygon.d.ts +3 -0
- package/lib/map/MapRectangle.d.ts +3 -0
- package/lib/map/index.d.ts +6 -0
- package/lib/map/tileOptions.d.ts +11 -0
- package/lib/map/types/index.d.ts +77 -0
- package/lib/modal/Modal.d.ts +3 -0
- package/lib/modal/hooks/useDisableBack.d.ts +1 -0
- package/lib/modal/index.d.ts +1 -0
- package/lib/modal/types/index.d.ts +9 -0
- package/lib/navbar/NavBar.d.ts +3 -0
- package/lib/navbar/NavBrand.d.ts +3 -0
- package/lib/navbar/NavLinks.d.ts +3 -0
- package/lib/navbar/index.d.ts +1 -0
- package/lib/navbar/types/index.d.ts +43 -0
- package/lib/pagination/Pagination.d.ts +3 -0
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/types/index.d.ts +25 -0
- package/lib/passwordinput/PasswordInput.d.ts +3 -0
- package/lib/passwordinput/index.d.ts +1 -0
- package/lib/passwordinput/types/index.d.ts +18 -0
- package/lib/pictogram/Pictogram.d.ts +3 -0
- package/lib/pictogram/index.d.ts +1 -0
- package/lib/pictogram/types/index.d.ts +10 -0
- package/lib/placeholder/PlaceHolder.d.ts +3 -0
- package/lib/placeholder/index.d.ts +1 -0
- package/lib/placeholder/types/index.d.ts +13 -0
- package/lib/progress/Progress.d.ts +3 -0
- package/lib/progress/index.d.ts +1 -0
- package/lib/progress/types/index.d.ts +11 -0
- package/lib/radiogroup/RadioGroup.d.ts +3 -0
- package/lib/radiogroup/index.d.ts +1 -0
- package/lib/radiogroup/types/index.d.ts +18 -0
- package/lib/rangeinput/RangeInput.d.ts +3 -0
- package/lib/rangeinput/index.d.ts +1 -0
- package/lib/rangeinput/types/index.d.ts +28 -0
- package/lib/ratings/Ratings.d.ts +3 -0
- package/lib/ratings/index.d.ts +1 -0
- package/lib/ratings/types/index.d.ts +12 -0
- package/lib/searchinput/SearchInput.d.ts +3 -0
- package/lib/searchinput/index.d.ts +1 -0
- package/lib/searchinput/types/index.d.ts +20 -0
- package/lib/select/Select.d.ts +3 -0
- package/lib/select/index.d.ts +1 -0
- package/lib/select/types/index.d.ts +20 -0
- package/lib/sidebar/Sidebar.d.ts +3 -0
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/types/index.d.ts +9 -0
- package/lib/socialshare/SocialShare.d.ts +3 -0
- package/lib/socialshare/buttons/BlueskyButton.d.ts +3 -0
- package/lib/socialshare/buttons/EmailButton.d.ts +3 -0
- package/lib/socialshare/buttons/FacebookButton.d.ts +3 -0
- package/lib/socialshare/buttons/LinkedinButton.d.ts +3 -0
- package/lib/socialshare/buttons/PinterestButton.d.ts +3 -0
- package/lib/socialshare/buttons/RedditButton.d.ts +3 -0
- package/lib/socialshare/buttons/SlackButton.d.ts +3 -0
- package/lib/socialshare/buttons/TelegramButton.d.ts +3 -0
- package/lib/socialshare/buttons/WhatsappButton.d.ts +3 -0
- package/lib/socialshare/buttons/XButton.d.ts +3 -0
- package/lib/socialshare/index.d.ts +11 -0
- package/lib/socialshare/types/index.d.ts +25 -0
- package/lib/statbar/StatBar.d.ts +3 -0
- package/lib/statbar/index.d.ts +1 -0
- package/lib/statbar/types/index.d.ts +12 -0
- package/lib/switch/Switch.d.ts +3 -0
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/types/index.d.ts +21 -0
- package/lib/tabs/Tab.d.ts +2 -0
- package/lib/tabs/TabBar.d.ts +3 -0
- package/lib/tabs/Tabs.d.ts +3 -0
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/types/index.d.ts +30 -0
- package/lib/textarea/TextArea.d.ts +3 -0
- package/lib/textarea/index.d.ts +1 -0
- package/lib/textarea/types/index.d.ts +16 -0
- package/lib/textinput/TextInput.d.ts +3 -0
- package/lib/textinput/index.d.ts +1 -0
- package/lib/textinput/types/index.d.ts +21 -0
- package/lib/ticker/Ticker.d.ts +3 -0
- package/lib/ticker/index.d.ts +1 -0
- package/lib/ticker/types/index.d.ts +7 -0
- package/lib/toast/Toast.d.ts +3 -0
- package/lib/toast/index.d.ts +1 -0
- package/lib/toast/types/index.d.ts +18 -0
- package/lib/twitterembed/TwitterEmbed.d.ts +13 -0
- package/lib/twitterembed/index.d.ts +1 -0
- package/lib/twitterembed/types/index.d.ts +8 -0
- package/lib/videoplayer/Video.d.ts +3 -0
- package/lib/videoplayer/VideoControls.d.ts +3 -0
- package/lib/videoplayer/VideoPlayer.d.ts +3 -0
- package/lib/videoplayer/VideoTracks.d.ts +3 -0
- package/lib/videoplayer/controls/CaptionsControl.d.ts +2 -0
- package/lib/videoplayer/controls/FullscreenControl.d.ts +2 -0
- package/lib/videoplayer/controls/PipControl.d.ts +2 -0
- package/lib/videoplayer/controls/SoundControl.d.ts +2 -0
- package/lib/videoplayer/controls/index.d.ts +4 -0
- package/lib/videoplayer/index.d.ts +2 -0
- package/lib/videoplayer/types/index.d.ts +62 -0
- package/lib/youtubeembed/YoutubeEmbed.d.ts +3 -0
- package/lib/youtubeembed/index.d.ts +1 -0
- package/lib/youtubeembed/types/index.d.ts +25 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Breeze UI
|
|
2
2
|
|
|
3
3
|
A Next.js/React UI component library.
|
|
4
4
|
|
|
5
|
-
- [
|
|
5
|
+
- [Breeze UI](#breeze-ui)
|
|
6
6
|
- [Overview](#overview)
|
|
7
7
|
- [Features](#features)
|
|
8
8
|
- [Getting Started](#getting-started)
|
|
@@ -38,7 +38,7 @@ A Next.js/React UI component library.
|
|
|
38
38
|
|
|
39
39
|
## Overview
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Breeze UI is a comprehensive library of reusable UI components for Next.js/React applications. This
|
|
42
42
|
library is designed to streamline the development process and ensure consistency across projects.
|
|
43
43
|
|
|
44
44
|
## Features
|
|
@@ -50,7 +50,7 @@ library is designed to streamline the development process and ensure consistency
|
|
|
50
50
|
|
|
51
51
|
## Getting Started
|
|
52
52
|
|
|
53
|
-
To use
|
|
53
|
+
To use Breeze UI in your Next.js/React project, follow these steps:
|
|
54
54
|
|
|
55
55
|
### 1. Install Next.js and React
|
|
56
56
|
|
|
@@ -70,10 +70,10 @@ including `tsconfig.json`, `tailwind.config.js`, and PostCSS setup.
|
|
|
70
70
|
|
|
71
71
|
### 2. Configure Tailwind 3
|
|
72
72
|
|
|
73
|
-
To ensure that **
|
|
74
|
-
below:
|
|
73
|
+
To ensure that **Breeze UI** works correctly, you need to configure **TailwindCSS**. Follow the
|
|
74
|
+
steps below:
|
|
75
75
|
|
|
76
|
-
Note: All current
|
|
76
|
+
Note: All current Breeze releases utilize TailwindCSS v3.
|
|
77
77
|
|
|
78
78
|
#### 2. Configure `tailwind.config.js`
|
|
79
79
|
|
|
@@ -92,7 +92,7 @@ const config: Config = {
|
|
|
92
92
|
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
|
|
93
93
|
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
|
|
94
94
|
/* IMPORTANT: Add this line: */
|
|
95
|
-
"./node_modules/@smitch/
|
|
95
|
+
"./node_modules/@smitch/Breeze/**/*.js",
|
|
96
96
|
],
|
|
97
97
|
theme: {
|
|
98
98
|
extend: {
|
|
@@ -159,28 +159,28 @@ export default config;
|
|
|
159
159
|
## Installation
|
|
160
160
|
|
|
161
161
|
```bash
|
|
162
|
-
npm install @smitch/
|
|
162
|
+
npm install @smitch/breeze
|
|
163
163
|
```
|
|
164
164
|
|
|
165
165
|
## Compatibility
|
|
166
166
|
|
|
167
167
|
### Supported stacks & compatibility matrix
|
|
168
168
|
|
|
169
|
-
Use the table below to pick the
|
|
169
|
+
Use the table below to pick the Breeze major line that matches your app's React / Next.js and
|
|
170
170
|
Tailwind versions. This helps avoid peer dependency conflicts.
|
|
171
171
|
|
|
172
|
-
-
|
|
172
|
+
- Breeze v4.x (current):
|
|
173
173
|
|
|
174
174
|
- React: 19.x
|
|
175
175
|
- Next.js: 15.x
|
|
176
176
|
- Tailwind: 3.x
|
|
177
|
-
- Install: `npm install @smitch/
|
|
177
|
+
- Install: `npm install @smitch/breeze`
|
|
178
178
|
|
|
179
|
-
-
|
|
179
|
+
- Breeze v3.x:
|
|
180
180
|
- React: 18.x
|
|
181
181
|
- Next.js: 14.x (and other releases built on React 18)
|
|
182
182
|
- Tailwind: 3.x
|
|
183
|
-
- Install: `npm install @smitch/
|
|
183
|
+
- Install: `npm install @smitch/Breeze@^3`
|
|
184
184
|
|
|
185
185
|
### Node / environment
|
|
186
186
|
|
|
@@ -193,8 +193,8 @@ Tailwind versions. This helps avoid peer dependency conflicts.
|
|
|
193
193
|
|
|
194
194
|
## Peer dependencies
|
|
195
195
|
|
|
196
|
-
|
|
197
|
-
Below are the packages you should have installed in your project when using `@smitch/
|
|
196
|
+
Breeze is a component library and expects the host app to provide framework/runtime dependencies.
|
|
197
|
+
Below are the packages you should have installed in your project when using `@smitch/Breeze`.
|
|
198
198
|
|
|
199
199
|
Required (framework)
|
|
200
200
|
|
|
@@ -231,10 +231,10 @@ npm install -D @types/leaflet
|
|
|
231
231
|
|
|
232
232
|
## Basic Usage
|
|
233
233
|
|
|
234
|
-
Now, you can import and use any
|
|
234
|
+
Now, you can import and use any Breeze UI [component](#components) in your Next.js project:
|
|
235
235
|
|
|
236
236
|
```jsx
|
|
237
|
-
import { Button } from "@smitch/
|
|
237
|
+
import { Button } from "@smitch/Breeze";
|
|
238
238
|
|
|
239
239
|
const App = () => <Button>Click me</Button>;
|
|
240
240
|
|
|
@@ -264,7 +264,7 @@ npm install chart.js react-chartjs-2
|
|
|
264
264
|
### Chart Usage Example
|
|
265
265
|
|
|
266
266
|
```jsx
|
|
267
|
-
import { BarChart } from "@smitch/
|
|
267
|
+
import { BarChart } from "@smitch/Breeze/charts";
|
|
268
268
|
|
|
269
269
|
const App = () => {
|
|
270
270
|
return (
|
|
@@ -321,7 +321,7 @@ npm install -D @types/leaflet @types/leaflet.fullscreen
|
|
|
321
321
|
#### Static Map
|
|
322
322
|
|
|
323
323
|
```jsx
|
|
324
|
-
import { Map } from "@smitch/
|
|
324
|
+
import { Map } from "@smitch/Breeze/map";
|
|
325
325
|
|
|
326
326
|
const App = () => {
|
|
327
327
|
return (
|
|
@@ -343,7 +343,7 @@ export default App;
|
|
|
343
343
|
#### Map with marker
|
|
344
344
|
|
|
345
345
|
```jsx
|
|
346
|
-
import { Map, MapMarker } from "@smitch/
|
|
346
|
+
import { Map, MapMarker } from "@smitch/Breeze/map";
|
|
347
347
|
|
|
348
348
|
const App = () => {
|
|
349
349
|
return (
|
|
@@ -373,113 +373,108 @@ export default App;
|
|
|
373
373
|
|
|
374
374
|
### Buttons
|
|
375
375
|
|
|
376
|
-
- <a href='https://
|
|
377
|
-
- <a href='https://
|
|
378
|
-
|
|
379
|
-
- <a href='https://fluid-ui.vercel.app/?path=/docs/buttons-button-group--docs'>Button Group</a>
|
|
376
|
+
- <a href='https://breezeui.site/?path=/docs/buttons-button--docs'>Button</a>
|
|
377
|
+
- <a href='https://breezeui.site/?path=/docs/buttons-button-close-button--docs'>Close Button</a>
|
|
378
|
+
- <a href='https://breezeui.site/?path=/docs/buttons-button-group--docs'>Button Group</a>
|
|
380
379
|
|
|
381
380
|
### Inputs
|
|
382
381
|
|
|
383
|
-
- <a href='https://
|
|
382
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-autocomplete--docs'>
|
|
384
383
|
Autocomplete
|
|
385
384
|
</a>
|
|
386
|
-
- <a href='https://
|
|
387
|
-
- <a href='https://
|
|
388
|
-
- <a href='https://
|
|
389
|
-
- <a href='https://
|
|
390
|
-
- <a href='https://
|
|
391
|
-
- <a href='https://
|
|
392
|
-
- <a href='https://
|
|
393
|
-
- <a href='https://
|
|
394
|
-
- <a href='https://
|
|
395
|
-
- <a href='https://
|
|
396
|
-
- <a href='https://
|
|
397
|
-
- <a href='https://
|
|
385
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-checkbox--docs'>Checkbox</a>
|
|
386
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-counter--docs'>Counter</a>
|
|
387
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-file-upload--docs'>File Upload</a>
|
|
388
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-input--docs'>Input</a>
|
|
389
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-password-input--docs'>Password Input</a>
|
|
390
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-radiog-roup--docs'>Radio Group</a>
|
|
391
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-range-input--docs'>Range Input</a>
|
|
392
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-search-input--docs'>Search Input</a>
|
|
393
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-select--docs'>Select</a>
|
|
394
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-switch--docs'>Switch</a>
|
|
395
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-textarea--docs'>Textarea</a>
|
|
396
|
+
- <a href='https://breezeui.site/?path=/docs/inputs-text-input--docs'>Text Input</a>
|
|
398
397
|
|
|
399
398
|
### Forms
|
|
400
399
|
|
|
401
|
-
- <a href='https://
|
|
402
|
-
- <a href='https://
|
|
403
|
-
- <a href='https://
|
|
400
|
+
- <a href='https://breezeui.site/?path=/docs/forms-fieldset--docs'>Fieldset</a>
|
|
401
|
+
- <a href='https://breezeui.site/?path=/docs/forms-form--docs'>Form</a>
|
|
402
|
+
- <a href='https://breezeui.site/?path=/docs/forms-label--docs'>Label</a>
|
|
404
403
|
|
|
405
404
|
### Menus
|
|
406
405
|
|
|
407
|
-
- <a href='https://
|
|
408
|
-
- <a href='https://
|
|
409
|
-
- <a href='https://
|
|
410
|
-
- <a href='https://
|
|
411
|
-
- <a href='https://
|
|
412
|
-
- <a href='https://
|
|
413
|
-
- <a href='https://
|
|
414
|
-
- <a href='https://
|
|
415
|
-
- <a href='https://
|
|
406
|
+
- <a href='https://breezeui.site/?path=/docs/menus-accordion--docs'>Accordion</a>
|
|
407
|
+
- <a href='https://breezeui.site/?path=/docs/menus-breadcrumbs--docs'>Breadcrumbs</a>
|
|
408
|
+
- <a href='https://breezeui.site/?path=/docs/menus-carousel--docs'>Carousel</a>
|
|
409
|
+
- <a href='https://breezeui.site/?path=/docs/menus-drawer--docs'>Drawer</a>
|
|
410
|
+
- <a href='https://breezeui.site/?path=/docs/menus-dropdown--docs'>Dropdown</a>
|
|
411
|
+
- <a href='https://breezeui.site/?path=/docs/menus-navbar--docs'>NavBar</a>
|
|
412
|
+
- <a href='https://breezeui.site/?path=/docs/menus-pagination--docs'>Pagination</a>
|
|
413
|
+
- <a href='https://breezeui.site/?path=/docs/menus-sidebar--docs'>Sidebar</a>
|
|
414
|
+
- <a href='https://breezeui.site/?path=/docs/menus-tabs--docs'>Tabs</a>
|
|
416
415
|
|
|
417
416
|
### Feedback
|
|
418
417
|
|
|
419
|
-
- <a href='https://
|
|
420
|
-
- <a href='https://
|
|
421
|
-
- <a href='https://
|
|
422
|
-
- <a href='https://
|
|
423
|
-
- <a href='https://
|
|
424
|
-
- <a href='https://
|
|
425
|
-
- <a href='https://
|
|
426
|
-
- <a href='https://
|
|
418
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-alert--docs'>Alert</a>
|
|
419
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-badge--docs'>Badge</a>
|
|
420
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-dialog--docs'>Dialog</a>
|
|
421
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-loading--docs'>Loading</a>
|
|
422
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-progress--docs'>Progress</a>
|
|
423
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-ratings--docs'>Ratings</a>
|
|
424
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-ticker--docs'>Ticker</a>
|
|
425
|
+
- <a href='https://breezeui.site/?path=/docs/feedback-toast--docs'>Toast</a>
|
|
427
426
|
|
|
428
427
|
### Media
|
|
429
428
|
|
|
430
|
-
- <a href='https://
|
|
431
|
-
- <a href='https://
|
|
432
|
-
- <a href='https://
|
|
433
|
-
- <a href='https://
|
|
434
|
-
- <a href='https://
|
|
435
|
-
- <a href='https://
|
|
436
|
-
- <a href='https://
|
|
437
|
-
- <a href='https://
|
|
438
|
-
- <a href='https://
|
|
439
|
-
- <a href='https://
|
|
440
|
-
- <a href='https://
|
|
441
|
-
- <a href='https://
|
|
429
|
+
- <a href='https://breezeui.site/?path=/docs/media-card--docs'>Card</a>
|
|
430
|
+
- <a href='https://breezeui.site/?path=/docs/media-figure--docs'>Figure</a>
|
|
431
|
+
- <a href='https://breezeui.site/?path=/docs/media-gallery--docs'>Gallery</a>
|
|
432
|
+
- <a href='https://breezeui.site/?path=/docs/media-hero--docs'>Hero</a>
|
|
433
|
+
- <a href='https://breezeui.site/?path=/docs/media-icon--docs'>Icon</a>
|
|
434
|
+
- <a href='https://breezeui.site/?path=/docs/media-modal--docs'>Modal</a>
|
|
435
|
+
- <a href='https://breezeui.site/?path=/docs/media-placeholder--docs'>PlaceHolder</a>
|
|
436
|
+
- <a href='https://breezeui.site/?path=/docs/media-twitter-embed--docs'>Twitter Embed</a>
|
|
437
|
+
- <a href='https://breezeui.site/?path=/docs/media-twitter-embed--docs'>Twitter Timeline</a>
|
|
438
|
+
- <a href='https://breezeui.site/?path=/docs/media-video--docs'>Video</a>
|
|
439
|
+
- <a href='https://breezeui.site/?path=/docs/media-video-player--docs'>Video Player</a>
|
|
440
|
+
- <a href='https://breezeui.site/?path=/docs/media-youtube-embed--docs'>YouTube Embed</a>
|
|
442
441
|
|
|
443
442
|
### Typography
|
|
444
443
|
|
|
445
|
-
- <a href='https://
|
|
446
|
-
- <a href='https://
|
|
447
|
-
- <a href='https://
|
|
444
|
+
- <a href='https://breezeui.site/?path=/docs/typography-blockquote--docs'>Blockquote</a>
|
|
445
|
+
- <a href='https://breezeui.site/?path=/docs/typography-codeblock--docs'>Codeblock</a>
|
|
446
|
+
- <a href='https://breezeui.site/?path=/docs/typography-heading--docs'>Heading</a>
|
|
448
447
|
|
|
449
448
|
### Data Visualization
|
|
450
449
|
|
|
451
|
-
- <a href='https://
|
|
452
|
-
|
|
453
|
-
- <a href='https://
|
|
454
|
-
- <a href='https://
|
|
450
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-data-table--docs'>Data Table</a>
|
|
451
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-pictogram--docs'>Pictogram</a>
|
|
452
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-line-chart--docs'>Line Chart</a>
|
|
453
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-bar-chart--docs'>Bar Chart</a>
|
|
454
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-mixed-chart--docs'>Mixed Chart</a>
|
|
455
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-pie-chart--docs'>Pie Chart</a>
|
|
456
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-doughnut-chart--docs'>Doughnut
|
|
455
457
|
Chart</a>
|
|
456
|
-
- <a href='https://
|
|
457
|
-
- <a href='https://
|
|
458
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-radar-chart--docs'>Radar Chart</a>
|
|
459
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-polar-area-chart--docs'>PolarArea
|
|
458
460
|
Chart</a>
|
|
459
|
-
- <a href='https://
|
|
460
|
-
- <a href='https://fluid-ui.vercel.app/?path=/docs/data-visualization-doughnut-chart--docs'>Doughnut
|
|
461
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-scatter-chart--docs'>Scatter
|
|
461
462
|
Chart</a>
|
|
462
|
-
- <a href='https://
|
|
463
|
-
Chart</a>
|
|
464
|
-
- <a href='https://fluid-ui.vercel.app/?path=/docs/data-visualization-polar-area-chart--docs'>PolarArea
|
|
465
|
-
Chart</a>
|
|
466
|
-
- <a href='https://fluid-ui.vercel.app/?path=/docs/data-visualization-scatter-chart--docs'>Scatter
|
|
467
|
-
Chart</a>
|
|
468
|
-
- <a href='https://fluid-ui.vercel.app/?path=/docs/data-visualization-stat-bar--docs'>Stat Bar</a>
|
|
463
|
+
- <a href='https://breezeui.site/?path=/docs/data-visualization-stat-bar--docs'>Stat Bar</a>
|
|
469
464
|
|
|
470
465
|
### Time
|
|
471
466
|
|
|
472
|
-
- <a href='https://
|
|
467
|
+
- <a href='https://breezeui.site/?path=/docs/time-clock--docs'>Clock</a>
|
|
473
468
|
|
|
474
469
|
### Maps
|
|
475
470
|
|
|
476
|
-
- <a href='https://
|
|
471
|
+
- <a href='https://breezeui.site/?path=/docs/maps-map--docs'>Map</a>
|
|
477
472
|
|
|
478
473
|
### Social Media
|
|
479
474
|
|
|
480
|
-
- <a href='https://
|
|
475
|
+
- <a href='https://breezeui.site/?path=/docs/social-socialshare--docs'>Social Media Share</a>
|
|
481
476
|
|
|
482
477
|
## Author
|
|
483
478
|
|
|
484
|
-
|
|
479
|
+
Breeze UI is developed and maintained by
|
|
485
480
|
[Stephen Mitchell](https://www.linkedin.com/in/stephen-m-52a3a4192).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function merge(...objects: Array<Record<string, unknown> | null | undefined>): Record<string, unknown>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AccordionItemProps } from "../types";
|
|
2
|
+
declare const AccordionItem: ({ layoutClasses, id, title, icon, iconPosition, iconColor, layout, background, open, setOpen, className, children, }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default AccordionItem;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
interface DataProps {
|
|
2
|
+
id: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
body?: string;
|
|
7
|
+
src: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}
|
|
10
|
+
export interface AccordionProps {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
size?: "sm" | "md" | "lg";
|
|
14
|
+
data?: DataProps[];
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
opened?: string;
|
|
17
|
+
layout?: "default" | "flush" | "spaced";
|
|
18
|
+
background?: "responsive" | "transparent";
|
|
19
|
+
icon?: "symbol" | "arrow";
|
|
20
|
+
iconPosition?: "left" | "right";
|
|
21
|
+
iconColor?: "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
|
|
22
|
+
}
|
|
23
|
+
export interface AccordionHeadProps {
|
|
24
|
+
icon?: "symbol" | "arrow";
|
|
25
|
+
id: string;
|
|
26
|
+
open: string;
|
|
27
|
+
setopen: (id: string) => void;
|
|
28
|
+
title?: string;
|
|
29
|
+
name?: string;
|
|
30
|
+
iconPosition?: "left" | "right";
|
|
31
|
+
iconColor?: "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
|
|
32
|
+
layout?: "default" | "flush" | "spaced";
|
|
33
|
+
}
|
|
34
|
+
export interface AccordionCardProps {
|
|
35
|
+
src?: string;
|
|
36
|
+
title: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
link?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface AccordionSectionProps {
|
|
41
|
+
children: React.ReactNode;
|
|
42
|
+
}
|
|
43
|
+
export interface AccordionItemProps {
|
|
44
|
+
children: React.ReactNode;
|
|
45
|
+
layoutClasses: string;
|
|
46
|
+
id: string;
|
|
47
|
+
title: string;
|
|
48
|
+
icon?: "symbol" | "arrow";
|
|
49
|
+
iconPosition?: "left" | "right";
|
|
50
|
+
iconColor?: "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
|
|
51
|
+
layout?: "default" | "flush" | "spaced";
|
|
52
|
+
background?: "responsive" | "transparent";
|
|
53
|
+
open: string;
|
|
54
|
+
setOpen: (id: string) => void;
|
|
55
|
+
className?: string;
|
|
56
|
+
}
|
|
57
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Alert } from './Alert';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface BadgeProps {
|
|
2
|
+
badge?: React.ReactNode;
|
|
3
|
+
badgeBackground?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "transparent";
|
|
4
|
+
badgeColor?: "dark" | "light" | "info" | "success" | "warning" | "danger";
|
|
5
|
+
}
|
|
6
|
+
export interface AlertProps extends BadgeProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
title?: string;
|
|
10
|
+
status?: "info" | "success" | "warning" | "error" | "dark" | "light";
|
|
11
|
+
message: React.ReactNode;
|
|
12
|
+
layout?: "default" | "solid" | "outline";
|
|
13
|
+
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
14
|
+
dismissable?: boolean;
|
|
15
|
+
rounded?: "none" | "md" | "lg";
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AutocompleteProps } from './types';
|
|
2
|
+
declare const Autocomplete: ({ className, size, data, list, required, name, placeholder, onChange, autocomplete, label, layout, rounded, suppressHydrationWarning, }: AutocompleteProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Autocomplete;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Autocomplete } from './Autocomplete';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface AutocompleteProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
+
data: any[];
|
|
6
|
+
list: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
11
|
+
autocomplete?: 'on' | 'off' | string;
|
|
12
|
+
label: string;
|
|
13
|
+
layout?: 'col' | 'row';
|
|
14
|
+
rounded?: 'none' | 'md' | 'lg' | 'full';
|
|
15
|
+
suppressHydrationWarning?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Badge } from './Badge';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface BadgeProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
layout?: 'square' | 'circle' | 'rounded' | 'pill';
|
|
6
|
+
position?: 'inline' | 'left' | 'right';
|
|
7
|
+
badgeBackground?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'accent' | 'neutral' | 'transparent';
|
|
8
|
+
badgeColor?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'current' | 'accent' | 'neutral';
|
|
9
|
+
size?: 'sm' | 'md' | 'lg' | 'inherit';
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Blockquote } from './Blockquote';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Breadcrumbs } from './Breadcrumbs';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ButtonProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
6
|
+
btnBackground?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "transparent";
|
|
7
|
+
btnColor?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
|
|
8
|
+
layout?: "default" | "rounded" | "pill" | "square" | "circle";
|
|
9
|
+
outline?: boolean;
|
|
10
|
+
outlineColor?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current" | "accent";
|
|
11
|
+
id?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
14
|
+
onBlur?: (e: React.FocusEvent<HTMLButtonElement>) => void;
|
|
15
|
+
type?: "submit" | "reset" | "button";
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
tabindex?: number;
|
|
18
|
+
role?: string;
|
|
19
|
+
textcase?: "uppercase" | "lowercase" | "capitalize" | "normal-case";
|
|
20
|
+
isBold?: boolean;
|
|
21
|
+
shadow?: "none" | "sm" | "md" | "lg" | "xl";
|
|
22
|
+
hoverScale?: boolean;
|
|
23
|
+
suppressHydrationWarning?: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CloseButton } from './CloseButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ButtonGroup } from './ButtonGroup';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface ButtonGroupProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
label?: string;
|
|
6
|
+
layout?: 'horizontal' | 'vertical';
|
|
7
|
+
rounded?: boolean;
|
|
8
|
+
outline?: 'none' | 'thin' | 'thick';
|
|
9
|
+
outlineColor?: 'none' | 'light' | 'dark' | 'grey';
|
|
10
|
+
gap?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
11
|
+
}
|