@beweco/aurora-ui 0.1.14 → 0.1.16
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/assets/css/styles.css +1 -1
- package/dist/index.cjs.js +509 -94
- package/dist/index.esm.js +412 -2
- package/dist/types/components/drawer-filters/DrawerFilters.d.ts +14 -0
- package/dist/types/components/drawer-filters/DrawerFilters.d.ts.map +1 -0
- package/dist/types/components/drawer-filters/DrawerFilters.types.d.ts +122 -0
- package/dist/types/components/drawer-filters/DrawerFilters.types.d.ts.map +1 -0
- package/dist/types/components/drawer-filters/_internal/DrawerFiltersFooter.d.ts +7 -0
- package/dist/types/components/drawer-filters/_internal/DrawerFiltersFooter.d.ts.map +1 -0
- package/dist/types/components/drawer-filters/_internal/DrawerFiltersHeader.d.ts +7 -0
- package/dist/types/components/drawer-filters/_internal/DrawerFiltersHeader.d.ts.map +1 -0
- package/dist/types/components/drawer-filters/_internal/FilterSection.d.ts +4 -0
- package/dist/types/components/drawer-filters/_internal/FilterSection.d.ts.map +1 -0
- package/dist/types/components/drawer-filters/index.d.ts +3 -0
- package/dist/types/components/drawer-filters/index.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/ModalBody.d.ts +1 -1
- package/dist/types/components/modal/_internal/ModalBody.d.ts.map +1 -1
- package/dist/types/components/modal/_internal/ModalFooter.d.ts +1 -1
- package/dist/types/components/modal/_internal/ModalFooter.d.ts.map +1 -1
- package/dist/types/components/modal/_internal/ModalHeader.d.ts +1 -1
- package/dist/types/components/modal/_internal/ModalHeader.d.ts.map +1 -1
- package/dist/types/components/range-filter/RangeFilter.d.ts +7 -0
- package/dist/types/components/range-filter/RangeFilter.d.ts.map +1 -0
- package/dist/types/components/range-filter/RangeFilter.types.d.ts +33 -0
- package/dist/types/components/range-filter/RangeFilter.types.d.ts.map +1 -0
- package/dist/types/components/range-filter/index.d.ts +3 -0
- package/dist/types/components/range-filter/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalFooter.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalFooter.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,qHAAoB,CAAC;AAEtC,eAAe,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const ModalHeader: import("@heroui/
|
|
1
|
+
declare const ModalHeader: import("@heroui/react").InternalForwardRefRenderFunction<"header", import("@heroui/react").ModalHeaderProps, never>;
|
|
2
2
|
export default ModalHeader;
|
|
3
3
|
//# sourceMappingURL=ModalHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,qHAAoB,CAAC;AAEtC,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { RangeFilterProps } from "./RangeFilter.types";
|
|
3
|
+
/**
|
|
4
|
+
* RangeFilter component with histogram visualization for range selection.
|
|
5
|
+
*/
|
|
6
|
+
export declare const RangeFilter: React.FC<RangeFilterProps>;
|
|
7
|
+
//# sourceMappingURL=RangeFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeFilter.d.ts","sourceRoot":"","sources":["../../../../src/components/range-filter/RangeFilter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAgB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA0KlD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SliderProps } from "@heroui/react";
|
|
2
|
+
export interface RangeFilterTranslations {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
minLabel?: string;
|
|
6
|
+
maxLabel?: string;
|
|
7
|
+
tooltipProducts?: string;
|
|
8
|
+
tooltipProduct?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RangeFilterProps {
|
|
11
|
+
title: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
value?: [number, number];
|
|
14
|
+
onChange: (value: [number, number]) => void;
|
|
15
|
+
minValue: number;
|
|
16
|
+
maxValue: number;
|
|
17
|
+
step?: number;
|
|
18
|
+
data: number[];
|
|
19
|
+
formatValue?: (value: number) => string;
|
|
20
|
+
bins?: number;
|
|
21
|
+
translations?: RangeFilterTranslations;
|
|
22
|
+
sliderProps?: Partial<SliderProps>;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface HistogramBar {
|
|
26
|
+
height: number;
|
|
27
|
+
binStart: number;
|
|
28
|
+
binEnd: number;
|
|
29
|
+
count: number;
|
|
30
|
+
priceRange: string;
|
|
31
|
+
midPrice: number;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=RangeFilter.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeFilter.types.d.ts","sourceRoot":"","sources":["../../../../src/components/range-filter/RangeFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,uBAAuB;IACv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B,EACvB,YAAY,GACZ,MAAM,qBAAqB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "./styles/globals.css";
|
|
2
2
|
export * from "@heroui/react";
|
|
3
|
+
export { Slider } from "@heroui/react";
|
|
3
4
|
export * from "./components/add-holiday-form";
|
|
4
5
|
export * from "./components/analytics-card";
|
|
5
6
|
export * from "./components/autocomplete";
|
|
@@ -35,6 +36,8 @@ export * from "./components/upload-file";
|
|
|
35
36
|
export * from "./components/vertical-steps";
|
|
36
37
|
export * from "./components/breadcrumbs";
|
|
37
38
|
export * from "./components/navigation-loading-overlay";
|
|
39
|
+
export * from "./components/drawer-filters";
|
|
40
|
+
export * from "./components/range-filter";
|
|
38
41
|
export { Modal, ModalContent, ModalHeader, ModalBody, ModalFooter, type ModalProps, } from "./components/modal";
|
|
39
42
|
export { AuraAutocomplete, type AuraAutocompleteProps, } from "./components/autocomplete";
|
|
40
43
|
export { Button, type ButtonProps } from "./components/button";
|
|
@@ -47,6 +50,7 @@ export { DatePicker, type DatePickerProps, } from "./components/datepicker";
|
|
|
47
50
|
export { DateRangePicker, type DateRangePickerProps, } from "./components/daterangepicker";
|
|
48
51
|
export { Pagination, type PaginationProps } from "./components/pagination";
|
|
49
52
|
export { Chip, type ChipProps } from "./components/chip";
|
|
53
|
+
export { RangeFilter, type RangeFilterProps, type RangeFilterTranslations, } from "./components/range-filter";
|
|
50
54
|
export * from "./types/calendar.types";
|
|
51
55
|
export { themeColors } from "./styles/colors.default";
|
|
52
56
|
export * from "./providers/theme";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAU9B,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AA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16",
|
|
4
4
|
"description": "Bewe Aurora UI Component Library",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
7
7
|
"types": "./dist/types/index.d.ts",
|
|
8
8
|
"style": "./dist/assets/css/styles.css",
|
|
9
|
-
"files": [
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
10
12
|
"sideEffects": false,
|
|
11
13
|
"author": "Bewe",
|
|
12
14
|
"license": "MIT",
|