@wow-two-beta/ui 0.0.10 → 0.0.12

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.
Files changed (93) hide show
  1. package/dist/{chunk-6KCV4GOI.js → chunk-K6V4KLRO.js} +882 -6
  2. package/dist/chunk-K6V4KLRO.js.map +1 -0
  3. package/dist/forms/ColorExtensions.d.ts +38 -0
  4. package/dist/forms/ColorExtensions.d.ts.map +1 -0
  5. package/dist/forms/DateExtensions.d.ts +36 -0
  6. package/dist/forms/DateExtensions.d.ts.map +1 -0
  7. package/dist/forms/{_styles.d.ts → InputStyles.d.ts} +1 -1
  8. package/dist/forms/InputStyles.d.ts.map +1 -0
  9. package/dist/forms/calendar/Calendar.d.ts +21 -0
  10. package/dist/forms/calendar/Calendar.d.ts.map +1 -0
  11. package/dist/forms/calendar/index.d.ts +2 -0
  12. package/dist/forms/calendar/index.d.ts.map +1 -0
  13. package/dist/forms/colorArea/ColorArea.d.ts +18 -0
  14. package/dist/forms/colorArea/ColorArea.d.ts.map +1 -0
  15. package/dist/forms/colorArea/index.d.ts +2 -0
  16. package/dist/forms/colorArea/index.d.ts.map +1 -0
  17. package/dist/forms/colorField/ColorField.d.ts +11 -0
  18. package/dist/forms/colorField/ColorField.d.ts.map +1 -0
  19. package/dist/forms/colorField/index.d.ts +2 -0
  20. package/dist/forms/colorField/index.d.ts.map +1 -0
  21. package/dist/forms/colorPicker/ColorPicker.d.ts +15 -0
  22. package/dist/forms/colorPicker/ColorPicker.d.ts.map +1 -0
  23. package/dist/forms/colorPicker/index.d.ts +2 -0
  24. package/dist/forms/colorPicker/index.d.ts.map +1 -0
  25. package/dist/forms/colorSlider/ColorSlider.d.ts +15 -0
  26. package/dist/forms/colorSlider/ColorSlider.d.ts.map +1 -0
  27. package/dist/forms/colorSlider/index.d.ts +2 -0
  28. package/dist/forms/colorSlider/index.d.ts.map +1 -0
  29. package/dist/forms/colorSwatch/ColorSwatch.d.ts +21 -0
  30. package/dist/forms/colorSwatch/ColorSwatch.d.ts.map +1 -0
  31. package/dist/forms/colorSwatch/ColorSwatch.variants.d.ts +165 -0
  32. package/dist/forms/colorSwatch/ColorSwatch.variants.d.ts.map +1 -0
  33. package/dist/forms/colorSwatch/index.d.ts +3 -0
  34. package/dist/forms/colorSwatch/index.d.ts.map +1 -0
  35. package/dist/forms/colorSwatchPicker/ColorSwatchPicker.d.ts +13 -0
  36. package/dist/forms/colorSwatchPicker/ColorSwatchPicker.d.ts.map +1 -0
  37. package/dist/forms/colorSwatchPicker/index.d.ts +2 -0
  38. package/dist/forms/colorSwatchPicker/index.d.ts.map +1 -0
  39. package/dist/forms/colorWheel/ColorWheel.d.ts +13 -0
  40. package/dist/forms/colorWheel/ColorWheel.d.ts.map +1 -0
  41. package/dist/forms/colorWheel/index.d.ts +2 -0
  42. package/dist/forms/colorWheel/index.d.ts.map +1 -0
  43. package/dist/forms/combobox/Combobox.d.ts +1 -1
  44. package/dist/forms/combobox/Combobox.d.ts.map +1 -1
  45. package/dist/forms/dateField/DateField.d.ts +11 -0
  46. package/dist/forms/dateField/DateField.d.ts.map +1 -0
  47. package/dist/forms/dateField/index.d.ts +2 -0
  48. package/dist/forms/dateField/index.d.ts.map +1 -0
  49. package/dist/forms/datePicker/DatePicker.d.ts +17 -0
  50. package/dist/forms/datePicker/DatePicker.d.ts.map +1 -0
  51. package/dist/forms/datePicker/index.d.ts +2 -0
  52. package/dist/forms/datePicker/index.d.ts.map +1 -0
  53. package/dist/forms/dateRangePicker/DateRangePicker.d.ts +18 -0
  54. package/dist/forms/dateRangePicker/DateRangePicker.d.ts.map +1 -0
  55. package/dist/forms/dateRangePicker/index.d.ts +2 -0
  56. package/dist/forms/dateRangePicker/index.d.ts.map +1 -0
  57. package/dist/forms/emailInput/EmailInput.d.ts +1 -1
  58. package/dist/forms/emailInput/EmailInput.d.ts.map +1 -1
  59. package/dist/forms/index.d.ts +7 -0
  60. package/dist/forms/index.d.ts.map +1 -1
  61. package/dist/forms/index.js +1 -1
  62. package/dist/forms/maskedInput/MaskedInput.d.ts +1 -1
  63. package/dist/forms/maskedInput/MaskedInput.d.ts.map +1 -1
  64. package/dist/forms/numberInput/NumberInput.d.ts +1 -1
  65. package/dist/forms/numberInput/NumberInput.d.ts.map +1 -1
  66. package/dist/forms/passwordInput/PasswordInput.d.ts +1 -1
  67. package/dist/forms/passwordInput/PasswordInput.d.ts.map +1 -1
  68. package/dist/forms/rangeCalendar/RangeCalendar.d.ts +17 -0
  69. package/dist/forms/rangeCalendar/RangeCalendar.d.ts.map +1 -0
  70. package/dist/forms/rangeCalendar/index.d.ts +2 -0
  71. package/dist/forms/rangeCalendar/index.d.ts.map +1 -0
  72. package/dist/forms/searchInput/SearchInput.d.ts +1 -1
  73. package/dist/forms/searchInput/SearchInput.d.ts.map +1 -1
  74. package/dist/forms/telInput/TelInput.d.ts +1 -1
  75. package/dist/forms/telInput/TelInput.d.ts.map +1 -1
  76. package/dist/forms/textInput/TextInput.d.ts +1 -1
  77. package/dist/forms/textInput/TextInput.d.ts.map +1 -1
  78. package/dist/forms/textarea/Textarea.d.ts +1 -1
  79. package/dist/forms/textarea/Textarea.d.ts.map +1 -1
  80. package/dist/forms/timeField/TimeField.d.ts +13 -0
  81. package/dist/forms/timeField/TimeField.d.ts.map +1 -0
  82. package/dist/forms/timeField/index.d.ts +2 -0
  83. package/dist/forms/timeField/index.d.ts.map +1 -0
  84. package/dist/forms/timePicker/TimePicker.d.ts +16 -0
  85. package/dist/forms/timePicker/TimePicker.d.ts.map +1 -0
  86. package/dist/forms/timePicker/index.d.ts +2 -0
  87. package/dist/forms/timePicker/index.d.ts.map +1 -0
  88. package/dist/forms/urlInput/UrlInput.d.ts +1 -1
  89. package/dist/forms/urlInput/UrlInput.d.ts.map +1 -1
  90. package/dist/index.js +1 -1
  91. package/package.json +1 -1
  92. package/dist/chunk-6KCV4GOI.js.map +0 -1
  93. package/dist/forms/_styles.d.ts.map +0 -1
@@ -0,0 +1,38 @@
1
+ export interface RGB {
2
+ r: number;
3
+ g: number;
4
+ b: number;
5
+ a?: number;
6
+ }
7
+ export interface HSV {
8
+ h: number;
9
+ s: number;
10
+ v: number;
11
+ a?: number;
12
+ }
13
+ export interface HSL {
14
+ h: number;
15
+ s: number;
16
+ l: number;
17
+ a?: number;
18
+ }
19
+ export declare function clamp01(n: number): number;
20
+ export declare function clampHue(h: number): number;
21
+ export declare function clampByte(n: number): number;
22
+ /** Parse "#RGB", "#RGBA", "#RRGGBB", or "#RRGGBBAA". Returns null on invalid. */
23
+ export declare function parseHex(input: string | null | undefined): RGB | null;
24
+ /** Format RGB → "#RRGGBB" (or "#RRGGBBAA" if alpha < 1). */
25
+ export declare function formatHex(rgb: RGB | null | undefined, options?: {
26
+ withAlpha?: boolean;
27
+ }): string;
28
+ export declare function rgbToHsv({ r, g, b, a }: RGB): HSV;
29
+ export declare function hsvToRgb({ h, s, v, a }: HSV): RGB;
30
+ export declare function rgbToHsl({ r, g, b, a }: RGB): HSL;
31
+ export declare function hslToRgb({ h, s, l, a }: HSL): RGB;
32
+ export declare function parseColorToHsv(input: string | null | undefined): HSV | null;
33
+ export declare function hsvToHex(hsv: HSV, options?: {
34
+ withAlpha?: boolean;
35
+ }): string;
36
+ export declare function formatRgbString({ r, g, b, a }: RGB): string;
37
+ export declare function formatHslString({ h, s, l, a }: HSL): string;
38
+ //# sourceMappingURL=ColorExtensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorExtensions.d.ts","sourceRoot":"","sources":["../../src/forms/ColorExtensions.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MA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AAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAE5E;AAID,wBAAgB,eAAe,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAK,EAAE,EAAE,GAAG,GAAG,MAAM,CAG/D;AAED,wBAAgB,eAAe,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAK,EAAE,EAAE,GAAG,GAAG,MAAM,CAM/D"}
@@ -0,0 +1,36 @@
1
+ export declare const WEEKDAYS_SHORT: string[];
2
+ export declare const MONTHS_LONG: string[];
3
+ export declare function startOfDay(d: Date): Date;
4
+ export declare function isSameDay(a: Date | null | undefined, b: Date | null | undefined): boolean;
5
+ export declare function isToday(d: Date): boolean;
6
+ export declare function addMonths(d: Date, n: number): Date;
7
+ export declare function addDays(d: Date, n: number): Date;
8
+ export declare function startOfMonth(d: Date): Date;
9
+ export declare function daysInMonth(year: number, month: number): number;
10
+ /**
11
+ * Build the 6-week (42-cell) grid that the calendar UI renders.
12
+ * Cells outside the target month carry `outOfMonth: true`.
13
+ */
14
+ export declare function buildMonthGrid(year: number, month: number): {
15
+ date: Date;
16
+ outOfMonth: boolean;
17
+ }[];
18
+ /** Format Date → "YYYY-MM-DD" for native `<input type="date">` value. */
19
+ export declare function formatISODate(d: Date | null | undefined): string;
20
+ /** Parse "YYYY-MM-DD" → Date (local time). Returns null for invalid input. */
21
+ export declare function parseISODate(s: string | null | undefined): Date | null;
22
+ /** Format Date → "HH:MM" for native `<input type="time">` value. */
23
+ export declare function formatISOTime(d: Date | null | undefined): string;
24
+ /** Parse "HH:MM" → { hours, minutes }. Returns null for invalid input. */
25
+ export declare function parseISOTime(s: string | null | undefined): {
26
+ hours: number;
27
+ minutes: number;
28
+ } | null;
29
+ export declare function clampDate(d: Date, min?: Date | null, max?: Date | null): Date;
30
+ export declare function isDateDisabled(d: Date, options: {
31
+ min?: Date | null;
32
+ max?: Date | null;
33
+ isDisabled?: (d: Date) => boolean;
34
+ }): boolean;
35
+ export declare function isInRange(d: Date, start: Date | null | undefined, end: Date | null | undefined): boolean;
36
+ //# sourceMappingURL=DateExtensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateExtensions.d.ts","sourceRoot":"","sources":["../../src/forms/DateExtensions.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,UAA6C,CAAC;AACzE,eAAO,MAAM,WAAW,UAavB,CAAC;AAEF,wBAAgB,UAAU,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAIxC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAOzF;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO,CAExC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAIlD;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAIhD;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAE1C;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAG/D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,EAAE,CAUjG;AAED,yEAAyE;AACzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAMhE;AAED,8EAA8E;AAC9E,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAStE;AAED,oEAAoE;AACpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAKhE;AAED,0EAA0E;AAC1E,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAUpG;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAI7E;AAED,wBAAgB,cAAc,CAC5B,CAAC,EAAE,IAAI,EACP,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;CAAE,GACnF,OAAO,CAMT;AAED,wBAAgB,SAAS,CACvB,CAAC,EAAE,IAAI,EACP,KAAK,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,EAC9B,GAAG,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAC3B,OAAO,CAMT"}
@@ -71,4 +71,4 @@ export declare const inputBaseVariants: import("tailwind-variants").TVReturnType
71
71
  };
72
72
  }>, unknown, unknown, undefined>>;
73
73
  export type InputBaseVariants = VariantProps<typeof inputBaseVariants>;
74
- //# sourceMappingURL=_styles.d.ts.map
74
+ //# sourceMappingURL=InputStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputStyles.d.ts","sourceRoot":"","sources":["../../src/forms/InputStyles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAiB5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface CalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
3
+ /** Controlled selected date. */
4
+ value?: Date | null;
5
+ /** Uncontrolled initial selection. */
6
+ defaultValue?: Date | null;
7
+ /** Selection callback. */
8
+ onChange?: (date: Date) => void;
9
+ /** Initial visible month (uncontrolled). */
10
+ defaultMonth?: Date;
11
+ /** Minimum selectable date. */
12
+ min?: Date | null;
13
+ /** Maximum selectable date. */
14
+ max?: Date | null;
15
+ /** Custom disable predicate. */
16
+ isDisabled?: (date: Date) => boolean;
17
+ /** A11y label. */
18
+ 'aria-label'?: string;
19
+ }
20
+ export declare const Calendar: import("react").ForwardRefExoticComponent<CalendarProps & import("react").RefAttributes<HTMLDivElement>>;
21
+ //# sourceMappingURL=Calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/forms/calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AAgBf,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;IACzE,gCAAgC;IAChC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,sCAAsC;IACtC,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,4CAA4C;IAC5C,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,gCAAgC;IAChC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACrC,kBAAkB;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,0GA0LnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Calendar, type CalendarProps } from './Calendar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface ColorAreaChange {
3
+ saturation: number;
4
+ value: number;
5
+ }
6
+ export interface ColorAreaProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
7
+ hue?: number;
8
+ saturation?: number;
9
+ defaultSaturation?: number;
10
+ value?: number;
11
+ defaultValue?: number;
12
+ onChange?: (next: ColorAreaChange) => void;
13
+ step?: number;
14
+ disabled?: boolean;
15
+ 'aria-label'?: string;
16
+ }
17
+ export declare const ColorArea: import("react").ForwardRefExoticComponent<ColorAreaProps & import("react").RefAttributes<HTMLDivElement>>;
18
+ //# sourceMappingURL=ColorArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorArea.d.ts","sourceRoot":"","sources":["../../../src/forms/colorArea/ColorArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAGpB,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;IACzE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,2GAsJpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ColorArea, type ColorAreaProps, type ColorAreaChange } from './ColorArea';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ import { type InputBaseVariants } from '../InputStyles';
3
+ export interface ColorFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'defaultValue' | 'onChange' | 'size'>, InputBaseVariants {
4
+ value?: string | null;
5
+ defaultValue?: string | null;
6
+ onChange?: (hex: string | null) => void;
7
+ swatchShape?: 'square' | 'circle';
8
+ withAlpha?: boolean;
9
+ }
10
+ export declare const ColorField: import("react").ForwardRefExoticComponent<ColorFieldProps & import("react").RefAttributes<HTMLInputElement>>;
11
+ //# sourceMappingURL=ColorField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorField.d.ts","sourceRoot":"","sources":["../../../src/forms/colorField/ColorField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,mBAAmB,EAEzB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAI3E,MAAM,WAAW,eACf,SAAQ,IAAI,CACR,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,MAAM,CACxD,EACD,iBAAiB;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AASD,eAAO,MAAM,UAAU,8GAsFrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ColorField, type ColorFieldProps } from './ColorField';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type ColorSwatchVariants } from '../colorSwatch';
2
+ export interface ColorPickerProps {
3
+ value?: string | null;
4
+ defaultValue?: string | null;
5
+ onChange?: (hex: string) => void;
6
+ withAlpha?: boolean;
7
+ presets?: string[];
8
+ triggerSize?: ColorSwatchVariants['size'];
9
+ disabled?: boolean;
10
+ name?: string;
11
+ className?: string;
12
+ 'aria-label'?: string;
13
+ }
14
+ export declare const ColorPicker: import("react").ForwardRefExoticComponent<ColorPickerProps & import("react").RefAttributes<HTMLButtonElement>>;
15
+ //# sourceMappingURL=ColorPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/forms/colorPicker/ColorPicker.tsx"],"names":[],"mappings":"AASA,OAAO,EAAe,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAMvE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID,eAAO,MAAM,WAAW,gHAmGtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ColorPicker, type ColorPickerProps } from './ColorPicker';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type HSV } from '../ColorExtensions';
3
+ export type ColorChannel = 'hue' | 'saturation' | 'value' | 'alpha';
4
+ export interface ColorSliderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue' | 'color'> {
5
+ channel?: ColorChannel;
6
+ value?: number;
7
+ defaultValue?: number;
8
+ onChange?: (value: number) => void;
9
+ color?: HSV;
10
+ step?: number;
11
+ disabled?: boolean;
12
+ 'aria-label'?: string;
13
+ }
14
+ export declare const ColorSlider: import("react").ForwardRefExoticComponent<ColorSliderProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=ColorSlider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSlider.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSlider/ColorSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAGpB,MAAM,OAAO,CAAC;AAGf,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAE3E,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpE,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,GAAG,OAAO,CAAC;IACnF,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAoCD,eAAO,MAAM,WAAW,6GA0ItB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ColorSlider, type ColorSliderProps, type ColorChannel } from './ColorSlider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSlider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type ButtonHTMLAttributes, type HTMLAttributes } from 'react';
2
+ import { type ColorSwatchVariants } from './ColorSwatch.variants';
3
+ type CommonProps = Omit<ColorSwatchVariants, 'interactive'> & {
4
+ /** Any CSS color string. Default `#000000`. */
5
+ color?: string;
6
+ className?: string;
7
+ };
8
+ export type ColorSwatchProps = (CommonProps & {
9
+ onClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
10
+ 'aria-label'?: string;
11
+ } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'color'>) | (CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'color'> & {
12
+ onClick?: undefined;
13
+ });
14
+ /**
15
+ * Color preview chip. Renders as a `<button>` if `onClick` is provided,
16
+ * otherwise a non-interactive `<div>`. The transparent checkerboard backdrop
17
+ * ensures partial-alpha colors render correctly.
18
+ */
19
+ export declare const ColorSwatch: import("react").ForwardRefExoticComponent<ColorSwatchProps & import("react").RefAttributes<HTMLElement>>;
20
+ export {};
21
+ //# sourceMappingURL=ColorSwatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSwatch.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSwatch/ColorSwatch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAEvF,KAAK,WAAW,GAAG,IAAI,CAAC,mBAAmB,EAAE,aAAa,CAAC,GAAG;IAC5D,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GACxB,CAAC,WAAW,GAAG;IACb,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC,GACzE,CAAC,WAAW,GACV,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG;IAC5D,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC,CAAC;AAET;;;;GAIG;AACH,eAAO,MAAM,WAAW,0GAuCtB,CAAC"}
@@ -0,0 +1,165 @@
1
+ import { type VariantProps } from '../../utils';
2
+ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnType<{
3
+ size: {
4
+ xs: string;
5
+ sm: string;
6
+ md: string;
7
+ lg: string;
8
+ };
9
+ shape: {
10
+ square: string;
11
+ circle: string;
12
+ };
13
+ interactive: {
14
+ true: string;
15
+ false: string;
16
+ };
17
+ selected: {
18
+ true: string;
19
+ false: string;
20
+ };
21
+ disabled: {
22
+ true: string;
23
+ false: string;
24
+ };
25
+ }, undefined, "inline-block shrink-0 border border-border bg-[image:linear-gradient(45deg,_#ddd_25%,_transparent_25%),_linear-gradient(-45deg,_#ddd_25%,_transparent_25%),_linear-gradient(45deg,_transparent_75%,_#ddd_75%),_linear-gradient(-45deg,_transparent_75%,_#ddd_75%)] bg-[length:8px_8px] bg-[position:0_0,_0_4px,_4px_-4px,_-4px_0px]", import("tailwind-variants/dist/config.js").TVConfig<{
26
+ size: {
27
+ xs: string;
28
+ sm: string;
29
+ md: string;
30
+ lg: string;
31
+ };
32
+ shape: {
33
+ square: string;
34
+ circle: string;
35
+ };
36
+ interactive: {
37
+ true: string;
38
+ false: string;
39
+ };
40
+ selected: {
41
+ true: string;
42
+ false: string;
43
+ };
44
+ disabled: {
45
+ true: string;
46
+ false: string;
47
+ };
48
+ }, {
49
+ size: {
50
+ xs: string;
51
+ sm: string;
52
+ md: string;
53
+ lg: string;
54
+ };
55
+ shape: {
56
+ square: string;
57
+ circle: string;
58
+ };
59
+ interactive: {
60
+ true: string;
61
+ false: string;
62
+ };
63
+ selected: {
64
+ true: string;
65
+ false: string;
66
+ };
67
+ disabled: {
68
+ true: string;
69
+ false: string;
70
+ };
71
+ }>, {
72
+ size: {
73
+ xs: string;
74
+ sm: string;
75
+ md: string;
76
+ lg: string;
77
+ };
78
+ shape: {
79
+ square: string;
80
+ circle: string;
81
+ };
82
+ interactive: {
83
+ true: string;
84
+ false: string;
85
+ };
86
+ selected: {
87
+ true: string;
88
+ false: string;
89
+ };
90
+ disabled: {
91
+ true: string;
92
+ false: string;
93
+ };
94
+ }, undefined, import("tailwind-variants").TVReturnType<{
95
+ size: {
96
+ xs: string;
97
+ sm: string;
98
+ md: string;
99
+ lg: string;
100
+ };
101
+ shape: {
102
+ square: string;
103
+ circle: string;
104
+ };
105
+ interactive: {
106
+ true: string;
107
+ false: string;
108
+ };
109
+ selected: {
110
+ true: string;
111
+ false: string;
112
+ };
113
+ disabled: {
114
+ true: string;
115
+ false: string;
116
+ };
117
+ }, undefined, "inline-block shrink-0 border border-border bg-[image:linear-gradient(45deg,_#ddd_25%,_transparent_25%),_linear-gradient(-45deg,_#ddd_25%,_transparent_25%),_linear-gradient(45deg,_transparent_75%,_#ddd_75%),_linear-gradient(-45deg,_transparent_75%,_#ddd_75%)] bg-[length:8px_8px] bg-[position:0_0,_0_4px,_4px_-4px,_-4px_0px]", import("tailwind-variants/dist/config.js").TVConfig<{
118
+ size: {
119
+ xs: string;
120
+ sm: string;
121
+ md: string;
122
+ lg: string;
123
+ };
124
+ shape: {
125
+ square: string;
126
+ circle: string;
127
+ };
128
+ interactive: {
129
+ true: string;
130
+ false: string;
131
+ };
132
+ selected: {
133
+ true: string;
134
+ false: string;
135
+ };
136
+ disabled: {
137
+ true: string;
138
+ false: string;
139
+ };
140
+ }, {
141
+ size: {
142
+ xs: string;
143
+ sm: string;
144
+ md: string;
145
+ lg: string;
146
+ };
147
+ shape: {
148
+ square: string;
149
+ circle: string;
150
+ };
151
+ interactive: {
152
+ true: string;
153
+ false: string;
154
+ };
155
+ selected: {
156
+ true: string;
157
+ false: string;
158
+ };
159
+ disabled: {
160
+ true: string;
161
+ false: string;
162
+ };
163
+ }>, unknown, unknown, undefined>>;
164
+ export type ColorSwatchVariants = VariantProps<typeof colorSwatchVariants>;
165
+ //# sourceMappingURL=ColorSwatch.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSwatch.variants.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSwatch/ColorSwatch.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAiC9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ColorSwatch, type ColorSwatchProps } from './ColorSwatch';
2
+ export { colorSwatchVariants, type ColorSwatchVariants } from './ColorSwatch.variants';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSwatch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type ColorSwatchVariants } from '../colorSwatch';
3
+ export interface ColorSwatchPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
4
+ colors: string[];
5
+ value?: string | null;
6
+ defaultValue?: string | null;
7
+ onChange?: (color: string) => void;
8
+ swatchSize?: ColorSwatchVariants['size'];
9
+ swatchShape?: ColorSwatchVariants['shape'];
10
+ disabled?: boolean;
11
+ }
12
+ export declare function ColorSwatchPicker({ colors, value, defaultValue, onChange, swatchSize, swatchShape, disabled, className, ...rest }: ColorSwatchPickerProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=ColorSwatchPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSwatchPicker.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSwatchPicker/ColorSwatchPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAsB,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAe,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;IACzE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACzC,WAAW,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAsCD,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,UAAiB,EACjB,WAAsB,EACtB,QAAgB,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,sBAAsB,2CA2BxB"}
@@ -0,0 +1,2 @@
1
+ export { ColorSwatchPicker, type ColorSwatchPickerProps } from './ColorSwatchPicker';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorSwatchPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface ColorWheelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
3
+ value?: number;
4
+ defaultValue?: number;
5
+ onChange?: (hue: number) => void;
6
+ size?: number;
7
+ thickness?: number;
8
+ step?: number;
9
+ disabled?: boolean;
10
+ 'aria-label'?: string;
11
+ }
12
+ export declare const ColorWheel: import("react").ForwardRefExoticComponent<ColorWheelProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=ColorWheel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorWheel.d.ts","sourceRoot":"","sources":["../../../src/forms/colorWheel/ColorWheel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAGpB,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAWD,eAAO,MAAM,UAAU,4GAiIrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ColorWheel, type ColorWheelProps } from './ColorWheel';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/colorWheel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type HTMLAttributes, type InputHTMLAttributes, type ReactNode } from 'react';
2
2
  import { AnchoredPositioner } from '../../primitives';
3
- import { type InputBaseVariants } from '../_styles';
3
+ import { type InputBaseVariants } from '../InputStyles';
4
4
  export interface ComboboxProps {
5
5
  value?: string;
6
6
  defaultValue?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/forms/combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EAExB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,kBAAkB,EAA4B,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AA2CvE,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CA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AO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,8GAuDvB,CAAC;AAEH,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,2CAYxF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,2CAEtE;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,CAAC,cAAc,CAAC,2CAM7F;AAED,KAAK,iBAAiB,GAAG,OAAO,QAAQ,GAAG;IACzC,KAAK,EAAE,OAAO,aAAa,CAAC;IAC5B,OAAO,EAAE,OAAO,eAAe,CAAC;IAChC,IAAI,EAAE,OAAO,YAAY,CAAC;IAC1B,KAAK,EAAE,OAAO,aAAa,CAAC;IAC5B,SAAS,EAAE,OAAO,iBAAiB,CAAC;IACpC,KAAK,EAAE,OAAO,aAAa,CAAC;CAC7B,CAAC;wBASyB,iBAAiB;AAA5C,wBAA6C"}
@@ -0,0 +1,11 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ import { type InputBaseVariants } from '../InputStyles';
3
+ export interface DateFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'defaultValue' | 'onChange' | 'min' | 'max' | 'size'>, InputBaseVariants {
4
+ value?: Date | null;
5
+ defaultValue?: Date | null;
6
+ onChange?: (date: Date | null) => void;
7
+ min?: Date | null;
8
+ max?: Date | null;
9
+ }
10
+ export declare const DateField: import("react").ForwardRefExoticComponent<DateFieldProps & import("react").RefAttributes<HTMLInputElement>>;
11
+ //# sourceMappingURL=DateField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../src/forms/dateField/DateField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAI7D,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAG3E,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CACxE,EACD,iBAAiB;IACnB,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,6GA2BpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { DateField, type DateFieldProps } from './DateField';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/dateField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type ButtonHTMLAttributes } from 'react';
2
+ import { type SelectTriggerVariants } from '../select/Select.variants';
3
+ export interface DatePickerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'value' | 'defaultValue'>, SelectTriggerVariants {
4
+ value?: Date | null;
5
+ defaultValue?: Date | null;
6
+ onChange?: (date: Date | null) => void;
7
+ placeholder?: string;
8
+ format?: (date: Date) => string;
9
+ min?: Date | null;
10
+ max?: Date | null;
11
+ isDisabled?: (date: Date) => boolean;
12
+ invalid?: boolean;
13
+ /** When `name` is set, a hidden input ships the ISO value with form submission. */
14
+ name?: string;
15
+ }
16
+ export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps & import("react").RefAttributes<HTMLButtonElement>>;
17
+ //# sourceMappingURL=DatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/forms/datePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAMtE,OAAO,EAAyB,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAI9F,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,cAAc,CAAC,EAC1F,qBAAqB;IACvB,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IAChC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,eAAO,MAAM,UAAU,+GA2FrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { DatePicker, type DatePickerProps } from './DatePicker';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/datePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { type ButtonHTMLAttributes } from 'react';
2
+ import { type SelectTriggerVariants } from '../select/Select.variants';
3
+ import { type DateRange } from '../rangeCalendar';
4
+ export interface DateRangePickerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'value' | 'defaultValue'>, SelectTriggerVariants {
5
+ value?: DateRange | null;
6
+ defaultValue?: DateRange | null;
7
+ onChange?: (range: DateRange | null) => void;
8
+ placeholder?: string;
9
+ format?: (date: Date) => string;
10
+ min?: Date | null;
11
+ max?: Date | null;
12
+ isDisabled?: (date: Date) => boolean;
13
+ invalid?: boolean;
14
+ /** When `name` is set, two hidden inputs (`{name}_start`, `{name}_end`) ship the ISO values. */
15
+ name?: string;
16
+ }
17
+ export declare const DateRangePicker: import("react").ForwardRefExoticComponent<DateRangePickerProps & import("react").RefAttributes<HTMLButtonElement>>;
18
+ //# sourceMappingURL=DateRangePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/forms/dateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAMjF,OAAO,EAAyB,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAE9F,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,cAAc,CAAC,EAC1F,qBAAqB;IACvB,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IAChC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gGAAgG;IAChG,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,eAAO,MAAM,eAAe,oHA8G3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { DateRangePicker, type DateRangePickerProps } from './DateRangePicker';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/dateRangePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}