@adam-milo/ui 1.0.129 → 1.0.131
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +2 -2
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +1 -1
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +1 -1
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +1 -1
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +1 -1
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +1 -1
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +1 -1
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +1 -1
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +1 -1
- package/dist/index108.cjs +1 -0
- package/dist/index108.js +1 -0
- package/dist/index109.cjs +1 -0
- package/dist/index109.js +1 -0
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +1 -0
- package/dist/index110.js +1 -0
- package/dist/index111.cjs +1 -0
- package/dist/index111.js +1 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.js +1 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +1 -0
- package/dist/index114.cjs +1 -0
- package/dist/index114.js +1 -0
- package/dist/index115.cjs +1 -0
- package/dist/index115.js +1 -0
- package/dist/index116.cjs +1 -0
- package/dist/index116.js +1 -0
- package/dist/index117.cjs +1 -0
- package/dist/index117.js +1 -0
- package/dist/index118.cjs +1 -0
- package/dist/index118.js +1 -0
- package/dist/index119.cjs +1 -0
- package/dist/index119.js +1 -0
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.cjs +1 -0
- package/dist/index120.js +1 -0
- package/dist/index121.cjs +1 -0
- package/dist/index121.js +1 -0
- package/dist/index122.cjs +1 -0
- package/dist/index122.js +1 -0
- package/dist/index123.cjs +1 -0
- package/dist/index123.js +1 -0
- package/dist/index124.cjs +1 -0
- package/dist/index124.js +1 -0
- package/dist/index125.cjs +1 -0
- package/dist/index125.js +1 -0
- package/dist/index126.cjs +1 -0
- package/dist/index126.js +1 -0
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +8 -3
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +3 -6
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +6 -2
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +2 -2
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +2 -2
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +2 -2
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +2 -2
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +2 -2
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +2 -2
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +2 -2
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +2 -2
- package/dist/index3.cjs +1 -1
- package/dist/index3.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +2 -2
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +2 -4
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +4 -2
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +2 -2
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +2 -4
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +4 -8
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +8 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +2 -4
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +4 -8
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +8 -8
- package/dist/index4.cjs +1 -1
- package/dist/index4.js +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +8 -9
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +11 -2
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +2 -5
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +5 -2
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +2 -10
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +2 -9
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +3 -2
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +3 -2
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +24 -2
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +10 -4
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +13 -2
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +38 -3
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +10 -2
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -2
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +9 -2
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +2 -2
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +2 -10
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +2 -11
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +4 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +2 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +1 -1
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +3 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +2 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +2 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +2 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +2 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +10 -9
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +11 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +1 -2
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +9 -1
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +1 -7
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +1 -1
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +1 -1
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +2 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +1 -1
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +1 -1
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +1 -1
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +1 -1
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +7 -1
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +1 -1
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +1 -1
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +1 -1
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +1 -1
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +1 -1
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +1 -1
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +1 -1
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +1 -1
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +1 -1
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +1 -1
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +1 -1
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +1 -1
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +1 -1
- package/dist/src/components/data-display/check-filter/CheckFilter.component.d.ts +8 -0
- package/dist/src/components/data-display/check-filter/CheckFilter.component.d.ts.map +1 -0
- package/dist/src/components/data-display/check-filter/CheckFilter.styles.d.ts +6 -0
- package/dist/src/components/data-display/check-filter/CheckFilter.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/check-filter/CheckFilter.types.d.ts +68 -0
- package/dist/src/components/data-display/check-filter/CheckFilter.types.d.ts.map +1 -0
- package/dist/src/components/data-display/datatable/DataTable.component.d.ts.map +1 -1
- package/dist/src/components/data-display/datatable/DataTable.styles.d.ts +2 -0
- package/dist/src/components/data-display/datatable/DataTable.styles.d.ts.map +1 -1
- package/dist/src/components/data-display/datatable/DataTable.types.d.ts +50 -1
- package/dist/src/components/data-display/datatable/DataTable.types.d.ts.map +1 -1
- package/dist/src/components/data-display/date-filter/DateFilter.component.d.ts +9 -0
- package/dist/src/components/data-display/date-filter/DateFilter.component.d.ts.map +1 -0
- package/dist/src/components/data-display/date-filter/DateFilter.styles.d.ts +96 -0
- package/dist/src/components/data-display/date-filter/DateFilter.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/date-filter/DateFilter.types.d.ts +102 -0
- package/dist/src/components/data-display/date-filter/DateFilter.types.d.ts.map +1 -0
- package/dist/src/components/data-display/date-filter/dateUtils.d.ts +100 -0
- package/dist/src/components/data-display/date-filter/dateUtils.d.ts.map +1 -0
- package/dist/src/components/data-display/filter/Filter.component.d.ts +21 -0
- package/dist/src/components/data-display/filter/Filter.component.d.ts.map +1 -0
- package/dist/src/components/data-display/filter/Filter.styles.d.ts +27 -0
- package/dist/src/components/data-display/filter/Filter.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/filter/Filter.types.d.ts +141 -0
- package/dist/src/components/data-display/filter/Filter.types.d.ts.map +1 -0
- package/dist/src/components/data-display/filter-button/FilterButton.component.d.ts +5 -0
- package/dist/src/components/data-display/filter-button/FilterButton.component.d.ts.map +1 -0
- package/dist/src/components/data-display/filter-button/FilterButton.styles.d.ts +10 -0
- package/dist/src/components/data-display/filter-button/FilterButton.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/filter-button/FilterButton.types.d.ts +18 -0
- package/dist/src/components/data-display/filter-button/FilterButton.types.d.ts.map +1 -0
- package/dist/src/components/data-display/numeric-filter/NumericFilter.component.d.ts +8 -0
- package/dist/src/components/data-display/numeric-filter/NumericFilter.component.d.ts.map +1 -0
- package/dist/src/components/data-display/numeric-filter/NumericFilter.styles.d.ts +14 -0
- package/dist/src/components/data-display/numeric-filter/NumericFilter.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/numeric-filter/NumericFilter.types.d.ts +53 -0
- package/dist/src/components/data-display/numeric-filter/NumericFilter.types.d.ts.map +1 -0
- package/dist/src/components/data-display/range-filter/RangeFilter.component.d.ts +8 -0
- package/dist/src/components/data-display/range-filter/RangeFilter.component.d.ts.map +1 -0
- package/dist/src/components/data-display/range-filter/RangeFilter.styles.d.ts +18 -0
- package/dist/src/components/data-display/range-filter/RangeFilter.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/range-filter/RangeFilter.types.d.ts +44 -0
- package/dist/src/components/data-display/range-filter/RangeFilter.types.d.ts.map +1 -0
- package/dist/src/components/data-display/sort-button/SortButton.component.d.ts +5 -0
- package/dist/src/components/data-display/sort-button/SortButton.component.d.ts.map +1 -0
- package/dist/src/components/data-display/sort-button/SortButton.styles.d.ts +5 -0
- package/dist/src/components/data-display/sort-button/SortButton.styles.d.ts.map +1 -0
- package/dist/src/components/data-display/sort-button/SortButton.types.d.ts +27 -0
- package/dist/src/components/data-display/sort-button/SortButton.types.d.ts.map +1 -0
- package/dist/src/components/forms/numeric-input/NumericInput.component.d.ts.map +1 -1
- package/dist/src/components/forms/numeric-input/NumericInput.types.d.ts +14 -0
- package/dist/src/components/forms/numeric-input/NumericInput.types.d.ts.map +1 -1
- package/dist/src/components/forms/slider/Slider.component.d.ts +5 -0
- package/dist/src/components/forms/slider/Slider.component.d.ts.map +1 -0
- package/dist/src/components/forms/slider/Slider.styles.d.ts +21 -0
- package/dist/src/components/forms/slider/Slider.styles.d.ts.map +1 -0
- package/dist/src/components/forms/slider/Slider.types.d.ts +72 -0
- package/dist/src/components/forms/slider/Slider.types.d.ts.map +1 -0
- package/dist/src/components/overlays/popover/Popover.component.d.ts +27 -0
- package/dist/src/components/overlays/popover/Popover.component.d.ts.map +1 -0
- package/dist/src/components/overlays/popover/Popover.styles.d.ts +2 -0
- package/dist/src/components/overlays/popover/Popover.styles.d.ts.map +1 -0
- package/dist/src/components/overlays/popover/Popover.types.d.ts +18 -0
- package/dist/src/components/overlays/popover/Popover.types.d.ts.map +1 -0
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/** Value shape used by `NumericFilter`. `null` means "no filter applied". */
|
|
4
|
+
export type NumericFilterValue = number | null;
|
|
5
|
+
export interface NumericFilterProps {
|
|
6
|
+
/** Controlled committed value. */
|
|
7
|
+
value?: NumericFilterValue;
|
|
8
|
+
/** Initial committed value (uncontrolled). */
|
|
9
|
+
defaultValue?: NumericFilterValue;
|
|
10
|
+
/** Fires on Apply. */
|
|
11
|
+
onApply?: (value: NumericFilterValue) => void;
|
|
12
|
+
/** Minimum allowed integer. Defaults to `0`. */
|
|
13
|
+
min?: number;
|
|
14
|
+
/** Maximum allowed integer. Defaults to `100`. */
|
|
15
|
+
max?: number;
|
|
16
|
+
/** Step granularity (slider arrow-key increments). Defaults to `1`. */
|
|
17
|
+
step?: number;
|
|
18
|
+
/** Optional title shown above the slider/input. */
|
|
19
|
+
title?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Placeholder for the numeric input. Defaults to `String(min)` so the
|
|
22
|
+
* empty state shows the lower bound (e.g. `"0"`) in the muted placeholder
|
|
23
|
+
* colour — mirroring the `RangeFilter` "Min"/"Max" pattern.
|
|
24
|
+
*/
|
|
25
|
+
inputPlaceholder?: string;
|
|
26
|
+
/** Accessible label for the trigger button. */
|
|
27
|
+
'aria-label'?: string;
|
|
28
|
+
/** Controlled popover open state. */
|
|
29
|
+
open?: boolean;
|
|
30
|
+
defaultOpen?: boolean;
|
|
31
|
+
onOpenChange?: (open: boolean) => void;
|
|
32
|
+
/** Disable the trigger entirely. */
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/** Suppress the Reset button. Defaults to `false`. */
|
|
35
|
+
hideReset?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Treat `min` as a valid committable value rather than the "unbounded /
|
|
38
|
+
* clear" sentinel. Defaults to `false` — i.e. dragging the slider thumb
|
|
39
|
+
* onto the lower rail edge snaps the draft back to `null`, the input
|
|
40
|
+
* clears, and the trigger shows "no filter applied". The trade-off is
|
|
41
|
+
* that the exact `min` value is unreachable via the slider; typed input
|
|
42
|
+
* still commits the literal digit.
|
|
43
|
+
*
|
|
44
|
+
* Set to `true` when `min` is a real selectable value (e.g. `min={1}`
|
|
45
|
+
* for a 1–5 score filter where `1` is meaningful). With `allowMin`, the
|
|
46
|
+
* slider edge commits `min` and Reset (or clearing the input) becomes
|
|
47
|
+
* the only way to return to the "no filter" state.
|
|
48
|
+
*/
|
|
49
|
+
allowMin?: boolean;
|
|
50
|
+
'data-cy'?: string;
|
|
51
|
+
'data-testid'?: string;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=NumericFilter.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumericFilter.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/numeric-filter/NumericFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,6EAA6E;AAC7E,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,IAAI,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IACjC,kCAAkC;IAClC,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sBAAsB;IACtB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC9C,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RangeFilterProps } from './RangeFilter.types';
|
|
2
|
+
|
|
3
|
+
export type { RangeFilterProps, RangeFilterValue } from './RangeFilter.types';
|
|
4
|
+
export declare function RangeFilter({ value, defaultValue, onApply, min, max, step, title, minPlaceholder, maxPlaceholder, open, defaultOpen, onOpenChange, disabled, hideReset, 'aria-label': ariaLabel, 'data-cy': dataCy, 'data-testid': dataTestId, }: RangeFilterProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare namespace RangeFilter {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=RangeFilter.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeFilter.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/range-filter/RangeFilter.component.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAoB,MAAM,qBAAqB,CAAC;AAQ9E,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAmK9E,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,YAAY,EACZ,OAAO,EACP,GAAO,EACP,GAAS,EACT,IAAQ,EACR,KAAK,EACL,cAAsB,EACtB,cAAsB,EACtB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,SAAiB,EACjB,YAAY,EAAE,SAAS,EACvB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,UAAU,GAC1B,EAAE,gBAAgB,2CA8ClB;yBAhEe,WAAW"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Two stacked sections (Figma 45041:18832):
|
|
3
|
+
* 1. Slider row (full width) with scale labels under the rail
|
|
4
|
+
* 2. Inputs row — two equal-width inputs separated by an em-dash
|
|
5
|
+
*
|
|
6
|
+
* Gaps come from spacing tokens: 16px between the two sections, 16px between
|
|
7
|
+
* the inputs themselves.
|
|
8
|
+
*/
|
|
9
|
+
export declare const bodyStackStyles: string;
|
|
10
|
+
export declare const inputRowStyles: string;
|
|
11
|
+
/** Input column wrapper — keeps both inputs balanced via `flex-1 min-w-0`. */
|
|
12
|
+
export declare const inputGroupStyles: string;
|
|
13
|
+
/**
|
|
14
|
+
* En-dash separator between Min and Max. Aligns to the input's vertical
|
|
15
|
+
* center; no padding shift needed because the parent row uses `items-center`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const separatorStyles: string;
|
|
18
|
+
//# sourceMappingURL=RangeFilter.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeFilter.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/range-filter/RangeFilter.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,QAGjB,CAAC;AAEZ,eAAO,MAAM,cAAc,QAAgE,CAAC;AAE5F,8EAA8E;AAC9E,eAAO,MAAM,gBAAgB,QAA+B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,eAAe,QAGjB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Value shape used by `RangeFilter`. Either bound may be `null` independently
|
|
5
|
+
* — useful when the user wants e.g. "≥ 50" without an upper bound. Both
|
|
6
|
+
* `null` means "no filter applied".
|
|
7
|
+
*/
|
|
8
|
+
export interface RangeFilterValue {
|
|
9
|
+
min: number | null;
|
|
10
|
+
max: number | null;
|
|
11
|
+
}
|
|
12
|
+
export interface RangeFilterProps {
|
|
13
|
+
/** Controlled committed value. */
|
|
14
|
+
value?: RangeFilterValue;
|
|
15
|
+
/** Initial committed value (uncontrolled). */
|
|
16
|
+
defaultValue?: RangeFilterValue;
|
|
17
|
+
/** Fires on Apply. */
|
|
18
|
+
onApply?: (value: RangeFilterValue) => void;
|
|
19
|
+
/** Minimum allowed integer. Defaults to `0`. */
|
|
20
|
+
min?: number;
|
|
21
|
+
/** Maximum allowed integer. Defaults to `100`. */
|
|
22
|
+
max?: number;
|
|
23
|
+
/** Step granularity (slider arrow-key increments). Defaults to `1`. */
|
|
24
|
+
step?: number;
|
|
25
|
+
/** Optional title shown above the slider/inputs. */
|
|
26
|
+
title?: ReactNode;
|
|
27
|
+
/** Placeholder for the min input. Defaults to `"Min"`. */
|
|
28
|
+
minPlaceholder?: string;
|
|
29
|
+
/** Placeholder for the max input. Defaults to `"Max"`. */
|
|
30
|
+
maxPlaceholder?: string;
|
|
31
|
+
/** Accessible label for the trigger button. */
|
|
32
|
+
'aria-label'?: string;
|
|
33
|
+
/** Controlled popover open state. */
|
|
34
|
+
open?: boolean;
|
|
35
|
+
defaultOpen?: boolean;
|
|
36
|
+
onOpenChange?: (open: boolean) => void;
|
|
37
|
+
/** Disable the trigger entirely. */
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
/** Suppress the Reset button. Defaults to `false`. */
|
|
40
|
+
hideReset?: boolean;
|
|
41
|
+
'data-cy'?: string;
|
|
42
|
+
'data-testid'?: string;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=RangeFilter.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeFilter.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/range-filter/RangeFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,sBAAsB;IACtB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC5C,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SortButtonProps } from './SortButton.types';
|
|
2
|
+
|
|
3
|
+
export type { SortButtonProps, SortDirection } from './SortButton.types';
|
|
4
|
+
export declare const SortButton: import('react').ForwardRefExoticComponent<SortButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
//# sourceMappingURL=SortButton.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortButton.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/sort-button/SortButton.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAiB,MAAM,oBAAoB,CAAC;AAGzE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAUzE,eAAO,MAAM,UAAU,+GAsEtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortButton.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/sort-button/SortButton.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,UAAU,QAYZ,CAAC;AAEZ,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAIzD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Logical state of a sort control.
|
|
5
|
+
* - `none`: no sort applied (idle / "disabled" in the design)
|
|
6
|
+
* - `asc`: A → Z (ascending)
|
|
7
|
+
* - `desc`: Z → A (descending)
|
|
8
|
+
*/
|
|
9
|
+
export type SortDirection = 'none' | 'asc' | 'desc';
|
|
10
|
+
export interface SortButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
11
|
+
/** Controlled sort direction. */
|
|
12
|
+
direction?: SortDirection;
|
|
13
|
+
/** Initial direction for uncontrolled mode. Defaults to `'none'`. */
|
|
14
|
+
defaultDirection?: SortDirection;
|
|
15
|
+
/** Called whenever the direction changes (click cycle). */
|
|
16
|
+
onDirectionChange?: (direction: SortDirection) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Order to cycle through on each click.
|
|
19
|
+
* Defaults to `['none', 'asc', 'desc']` (idle → A-Z → Z-A → idle).
|
|
20
|
+
*/
|
|
21
|
+
cycle?: readonly SortDirection[];
|
|
22
|
+
/** Accessible label describing what's being sorted (e.g. "Sort by name"). */
|
|
23
|
+
'aria-label'?: string;
|
|
24
|
+
'data-testid'?: string;
|
|
25
|
+
'data-cy'?: string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=SortButton.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortButton.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/sort-button/SortButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAChG,iCAAiC;IACjC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IACvD;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACjC,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumericInput.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/numeric-input/NumericInput.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"NumericInput.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/numeric-input/NumericInput.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AA8B9D,eAAO,MAAM,YAAY,gHA0KxB,CAAC;AAIF,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -5,5 +5,19 @@ export interface NumericInputProps extends Omit<InputProps, 'type'> {
|
|
|
5
5
|
max?: number;
|
|
6
6
|
step?: number;
|
|
7
7
|
allowDecimals?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Strict integer-only mode. When `true`, the input:
|
|
10
|
+
* - renders as `type="text"` with `inputMode="numeric"` (so the browser
|
|
11
|
+
* does not accept `e`, `+`, `.` or scientific notation that `type="number"`
|
|
12
|
+
* silently permits),
|
|
13
|
+
* - blocks every non-digit character at the keystroke layer via an
|
|
14
|
+
* `onKeyDown` filter,
|
|
15
|
+
* - sanitises pasted content via an `onPaste` filter (the whole paste
|
|
16
|
+
* is rejected and re-inserted as a digits-only slice),
|
|
17
|
+
* - allows a leading `-` only when `min` is undefined or negative.
|
|
18
|
+
*
|
|
19
|
+
* Defaults to `false`. Implies and supersedes `allowDecimals={false}`.
|
|
20
|
+
*/
|
|
21
|
+
integerOnly?: boolean;
|
|
8
22
|
}
|
|
9
23
|
//# sourceMappingURL=NumericInput.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumericInput.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/numeric-input/NumericInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;IACjE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NumericInput.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/numeric-input/NumericInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;IACjE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SliderProps } from './Slider.types';
|
|
2
|
+
|
|
3
|
+
export type { SliderProps, SliderSingleProps, SliderRangeProps, SliderRangeValue, SliderBaseProps, } from './Slider.types';
|
|
4
|
+
export declare const Slider: import('react').ForwardRefExoticComponent<SliderProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
//# sourceMappingURL=Slider.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/slider/Slider.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AAexB,YAAY,EACV,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,MAAM,yGA4OjB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const wrapperStyles: string;
|
|
2
|
+
export declare const headerStyles: string;
|
|
3
|
+
export declare const valueStyles: string;
|
|
4
|
+
/**
|
|
5
|
+
* Radix root: provides horizontal layout, touch / pointer handling. We
|
|
6
|
+
* size the hit-area at 1.25rem so the thin track stays centered inside
|
|
7
|
+
* a thumb-friendly tap target.
|
|
8
|
+
*/
|
|
9
|
+
export declare const rootStyles: string;
|
|
10
|
+
export declare const trackStyles: string;
|
|
11
|
+
export declare const rangeStyles: string;
|
|
12
|
+
export declare const thumbStyles: string;
|
|
13
|
+
export declare const labelStyles: string;
|
|
14
|
+
export declare const helperStyles: string;
|
|
15
|
+
export declare const errorStyles: string;
|
|
16
|
+
/**
|
|
17
|
+
* Scale row that sits under the rail (Figma: "0" left, "100" right).
|
|
18
|
+
* `tabular-nums` keeps the digits from drifting as the user drags.
|
|
19
|
+
*/
|
|
20
|
+
export declare const scaleRowStyles: string;
|
|
21
|
+
//# sourceMappingURL=Slider.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/slider/Slider.styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAA+D,CAAC;AAE1F,eAAO,MAAM,YAAY,QAGd,CAAC;AAEZ,eAAO,MAAM,WAAW,QAGb,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,UAAU,QAIZ,CAAC;AAEZ,eAAO,MAAM,WAAW,QAKb,CAAC;AAEZ,eAAO,MAAM,WAAW,QAEvB,CAAC;AAEF,eAAO,MAAM,WAAW,QAUb,CAAC;AAEZ,eAAO,MAAM,WAAW,QAA6D,CAAC;AAEtF,eAAO,MAAM,YAAY,QAAuE,CAAC;AAEjG,eAAO,MAAM,WAAW,QAAiE,CAAC;AAE1F;;;GAGG;AACH,eAAO,MAAM,cAAc,QAKhB,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/** Shape of a range slider value (always exactly `[min, max]`). */
|
|
4
|
+
export type SliderRangeValue = [number, number];
|
|
5
|
+
export interface SliderBaseProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'onChange' | 'defaultValue'> {
|
|
6
|
+
/** Minimum allowed value. Defaults to `0`. */
|
|
7
|
+
min?: number;
|
|
8
|
+
/** Maximum allowed value. Defaults to `100`. */
|
|
9
|
+
max?: number;
|
|
10
|
+
/** Step granularity. Defaults to `1`. */
|
|
11
|
+
step?: number;
|
|
12
|
+
/** Optional label rendered above the slider. */
|
|
13
|
+
label?: ReactNode;
|
|
14
|
+
/** Optional helper text rendered below the slider. */
|
|
15
|
+
helperText?: ReactNode;
|
|
16
|
+
/** Optional error message (replaces helperText). */
|
|
17
|
+
error?: ReactNode;
|
|
18
|
+
/** Disable the slider. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Render the live value(s) next to the label. Defaults to `false` — most
|
|
22
|
+
* higher-level filter UIs render their own numeric input alongside.
|
|
23
|
+
*/
|
|
24
|
+
showValue?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Render a small row of `min` / `max` reference labels directly under the
|
|
27
|
+
* rail (left-aligned min, right-aligned max). Defaults to `false`. Useful
|
|
28
|
+
* inside filter popovers where the user wants the rail's endpoints to be
|
|
29
|
+
* legible at a glance without explicit tick marks.
|
|
30
|
+
*/
|
|
31
|
+
showScaleLabels?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Format the displayed value (only used when `showValue`, `showScaleLabels`,
|
|
34
|
+
* or in the default thumb `aria-valuetext`). Defaults to `String(v)`.
|
|
35
|
+
*/
|
|
36
|
+
formatValue?: (value: number) => string;
|
|
37
|
+
/** Accessible label for the thumb(s). */
|
|
38
|
+
'aria-label'?: string;
|
|
39
|
+
'data-cy'?: string;
|
|
40
|
+
'data-testid'?: string;
|
|
41
|
+
}
|
|
42
|
+
/** Single-thumb slider — value is a single `number`. Empty / unset uses `min`. */
|
|
43
|
+
export interface SliderSingleProps extends SliderBaseProps {
|
|
44
|
+
mode?: 'single';
|
|
45
|
+
/** Controlled value. */
|
|
46
|
+
value?: number;
|
|
47
|
+
/** Initial value (uncontrolled). Defaults to `min`. */
|
|
48
|
+
defaultValue?: number;
|
|
49
|
+
/** Fires on every value change (drag / keyboard). */
|
|
50
|
+
onChange?: (value: number) => void;
|
|
51
|
+
/** Fires once the user finishes interacting (pointerup / blur). */
|
|
52
|
+
onChangeCommitted?: (value: number) => void;
|
|
53
|
+
}
|
|
54
|
+
/** Two-thumb range slider — value is `[low, high]`. */
|
|
55
|
+
export interface SliderRangeProps extends SliderBaseProps {
|
|
56
|
+
mode: 'range';
|
|
57
|
+
/** Controlled value. */
|
|
58
|
+
value?: SliderRangeValue;
|
|
59
|
+
/** Initial value (uncontrolled). Defaults to `[min, max]`. */
|
|
60
|
+
defaultValue?: SliderRangeValue;
|
|
61
|
+
/** Fires on every value change (drag / keyboard). */
|
|
62
|
+
onChange?: (value: SliderRangeValue) => void;
|
|
63
|
+
/** Fires once the user finishes interacting. */
|
|
64
|
+
onChangeCommitted?: (value: SliderRangeValue) => void;
|
|
65
|
+
/**
|
|
66
|
+
* Optional minimum distance between thumbs. Defaults to `0` (thumbs can
|
|
67
|
+
* touch but not cross).
|
|
68
|
+
*/
|
|
69
|
+
minStepsBetweenThumbs?: number;
|
|
70
|
+
}
|
|
71
|
+
export type SliderProps = SliderSingleProps | SliderRangeProps;
|
|
72
|
+
//# sourceMappingURL=Slider.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/slider/Slider.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,mEAAmE;AACnE,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,cAAc,CAAC,eAAe,CAAC,EAC/B,UAAU,GAAG,cAAc,CAC5B;IACC,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,sDAAsD;IACtD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAC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
|
1
|
+
import { PopoverContentProps } from './Popover.types';
|
|
2
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
+
export type { PopoverContentProps, PopoverSide, PopoverAlign } from './Popover.types';
|
|
4
|
+
export declare const Popover: import('react').FC<PopoverPrimitive.PopoverProps>;
|
|
5
|
+
export declare const PopoverTrigger: import('react').ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
export declare const PopoverAnchor: import('react').ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
|
+
/**
|
|
8
|
+
* Raw Radix `Portal` primitive — re-exported for completeness, e.g. for
|
|
9
|
+
* advanced layouts that need to portal sibling content alongside the
|
|
10
|
+
* popover.
|
|
11
|
+
*
|
|
12
|
+
* NOTE: `PopoverContent` below ALREADY wraps its children in
|
|
13
|
+
* `<PopoverPrimitive.Portal>`. Nesting `PopoverPortal` around
|
|
14
|
+
* `PopoverContent` will double-portal and break Radix's open/close
|
|
15
|
+
* lifecycle — pass children directly to `PopoverContent` and only reach
|
|
16
|
+
* for `PopoverPortal` when you need to portal something *other* than the
|
|
17
|
+
* content.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PopoverPortal: import('react').FC<PopoverPrimitive.PopoverPortalProps>;
|
|
20
|
+
export declare const PopoverClose: import('react').ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
/**
|
|
22
|
+
* Popover content. Self-portals to `document.body` so the floating panel
|
|
23
|
+
* escapes overflow/clipping parents; consumers should NOT wrap this in
|
|
24
|
+
* `PopoverPortal` (see the note on the `PopoverPortal` export).
|
|
25
|
+
*/
|
|
26
|
+
export declare const PopoverContent: import('react').ForwardRefExoticComponent<PopoverContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
//# sourceMappingURL=Popover.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/popover/Popover.component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEtF,eAAO,MAAM,OAAO,mDAAwB,CAAC;AAC7C,eAAO,MAAM,cAAc,oIAA2B,CAAC;AACvD,eAAO,MAAM,aAAa,gIAA0B,CAAC;AACrD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,yDAA0B,CAAC;AACrD,eAAO,MAAM,YAAY,kIAAyB,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,cAAc,gHA+B1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/popover/Popover.styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAiBf,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import type * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
|
+
export type PopoverSide = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
+
export type PopoverAlign = 'start' | 'center' | 'end';
|
|
6
|
+
export interface PopoverContentProps extends ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
7
|
+
/** Side of the trigger to render against. Defaults to `'bottom'`. */
|
|
8
|
+
side?: PopoverSide;
|
|
9
|
+
/** Alignment along the trigger edge. Defaults to `'start'`. */
|
|
10
|
+
align?: PopoverAlign;
|
|
11
|
+
/** Distance from the trigger edge in px. Defaults to `8`. */
|
|
12
|
+
sideOffset?: number;
|
|
13
|
+
/** Padding from the cross-axis edge in px. Defaults to `0`. */
|
|
14
|
+
alignOffset?: number;
|
|
15
|
+
'data-testid'?: string;
|
|
16
|
+
'data-cy'?: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Popover.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAEjE,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC9D,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEtD,MAAM,WAAW,mBAAoB,SAAQ,wBAAwB,CACnE,OAAO,gBAAgB,CAAC,OAAO,CAChC;IACC,qEAAqE;IACrE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export { OTPInput } from './components/forms/otp-input/OTPInput.component';
|
|
|
31
31
|
export type { OTPInputProps, OTPInputRef, OTPInputSize, } from './components/forms/otp-input/OTPInput.component';
|
|
32
32
|
export { Toggle } from './components/forms/toggle/Toggle.component';
|
|
33
33
|
export type { ToggleProps } from './components/forms/toggle/Toggle.component';
|
|
34
|
+
export { Slider } from './components/forms/slider/Slider.component';
|
|
35
|
+
export type { SliderProps, SliderSingleProps, SliderRangeProps, SliderRangeValue, SliderBaseProps, } from './components/forms/slider/Slider.component';
|
|
34
36
|
export { Textarea } from './components/forms/textarea/Textarea.component';
|
|
35
37
|
export type { TextareaProps } from './components/forms/textarea/Textarea.component';
|
|
36
38
|
export { Autocomplete } from './components/forms/autocomplete/Autocomplete.component';
|
|
@@ -83,8 +85,24 @@ export { ChipGroup } from './components/data-display/chip-group/ChipGroup.compon
|
|
|
83
85
|
export type { ChipGroupProps, ChipGroupItem, } from './components/data-display/chip-group/ChipGroup.component';
|
|
84
86
|
export { Badge } from './components/data-display/badge/Badge.component';
|
|
85
87
|
export type { BadgeProps } from './components/data-display/badge/Badge.component';
|
|
88
|
+
export { SortButton } from './components/data-display/sort-button/SortButton.component';
|
|
89
|
+
export type { SortButtonProps, SortDirection, } from './components/data-display/sort-button/SortButton.component';
|
|
90
|
+
export { FilterButton } from './components/data-display/filter-button/FilterButton.component';
|
|
91
|
+
export type { FilterButtonProps } from './components/data-display/filter-button/FilterButton.component';
|
|
92
|
+
export { Filter, FilterTrigger, FilterContent, FilterTitle, FilterBody, FilterFooter, FilterApply, FilterReset, useFilter, } from './components/data-display/filter/Filter.component';
|
|
93
|
+
export type { FilterProps, FilterTriggerProps, FilterContentProps, FilterTitleProps, FilterBodyProps, FilterFooterProps, FilterApplyProps, FilterResetProps, FilterContextValue, } from './components/data-display/filter/Filter.component';
|
|
94
|
+
export { CheckFilter } from './components/data-display/check-filter/CheckFilter.component';
|
|
95
|
+
export type { CheckFilterProps, CheckFilterOption, CheckFilterMultiProps, CheckFilterSingleProps, CheckFilterCommonProps, } from './components/data-display/check-filter/CheckFilter.component';
|
|
96
|
+
export { NumericFilter } from './components/data-display/numeric-filter/NumericFilter.component';
|
|
97
|
+
export type { NumericFilterProps, NumericFilterValue, } from './components/data-display/numeric-filter/NumericFilter.component';
|
|
98
|
+
export { RangeFilter } from './components/data-display/range-filter/RangeFilter.component';
|
|
99
|
+
export type { RangeFilterProps, RangeFilterValue, } from './components/data-display/range-filter/RangeFilter.component';
|
|
100
|
+
export { DateFilter } from './components/data-display/date-filter/DateFilter.component';
|
|
101
|
+
export type { DateFilterProps, DateFilterValue, } from './components/data-display/date-filter/DateFilter.component';
|
|
86
102
|
export { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose, DialogCloseButton, DialogIcon, DialogPortal, DialogOverlay, } from './components/overlays/dialog/Dialog.component';
|
|
87
103
|
export type { DialogOverlayVariant, DialogOverlayProps, DialogContentVariant, DialogContentProps, DialogHeaderProps, DialogTitleProps, DialogDescriptionProps, DialogFooterProps, DialogCloseButtonProps, DialogIconProps, } from './components/overlays/dialog/Dialog.component';
|
|
104
|
+
export { Popover, PopoverTrigger, PopoverAnchor, PopoverContent, PopoverPortal, PopoverClose, } from './components/overlays/popover/Popover.component';
|
|
105
|
+
export type { PopoverContentProps, PopoverSide, PopoverAlign, } from './components/overlays/popover/Popover.component';
|
|
88
106
|
export { Drawer, DrawerCloseButton, DrawerHeader, DrawerTitle, DrawerDescription, DrawerBody, DrawerFooter, } from './components/overlays/drawer/Drawer.component';
|
|
89
107
|
export type { DrawerSide, DrawerProps, DrawerCloseButtonProps, DrawerHeaderProps, DrawerTitleProps, DrawerDescriptionProps, DrawerBodyProps, DrawerFooterProps, } from './components/overlays/drawer/Drawer.component';
|
|
90
108
|
export { Stack } from './components/layout/stack/Stack.component';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAChF,YAAY,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAE1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