frontile 0.18.0-beta.5 → 0.18.1
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/declarations/components/buttons/chip.d.ts +1 -1
- package/declarations/components/buttons/chip.d.ts.map +1 -1
- package/declarations/components/collections/dropdown/menu-context.d.ts +10 -0
- package/declarations/components/collections/dropdown/menu-context.d.ts.map +1 -1
- package/declarations/components/collections/dropdown/sub.d.ts +34 -0
- package/declarations/components/collections/dropdown/sub.d.ts.map +1 -1
- package/declarations/components/forms/autocomplete.d.ts +12 -12
- package/declarations/components/forms/date-input/clipboard.d.ts +34 -0
- package/declarations/components/forms/date-input/clipboard.d.ts.map +1 -0
- package/declarations/components/forms/date-input/date-input.d.ts +91 -0
- package/declarations/components/forms/date-input/date-input.d.ts.map +1 -0
- package/declarations/components/forms/date-input/segment-group.d.ts +130 -0
- package/declarations/components/forms/date-input/segment-group.d.ts.map +1 -0
- package/declarations/components/forms/date-input/segments.d.ts +137 -0
- package/declarations/components/forms/date-input/segments.d.ts.map +1 -0
- package/declarations/components/forms/date-input/types.d.ts +134 -0
- package/declarations/components/forms/date-input/types.d.ts.map +1 -0
- package/declarations/components/forms/date-input.d.ts +6 -0
- package/declarations/components/forms/date-input.d.ts.map +1 -0
- package/declarations/components/forms/date-picker/date-picker.d.ts +248 -15
- package/declarations/components/forms/date-picker/date-picker.d.ts.map +1 -1
- package/declarations/components/forms/date-picker/end-content.d.ts +33 -3
- package/declarations/components/forms/date-picker/end-content.d.ts.map +1 -1
- package/declarations/components/forms/date-picker/types.d.ts +30 -1
- package/declarations/components/forms/date-picker/types.d.ts.map +1 -1
- package/declarations/components/forms/field.d.ts +3 -0
- package/declarations/components/forms/field.d.ts.map +1 -1
- package/declarations/components/forms/index.d.ts +1 -0
- package/declarations/components/forms/index.d.ts.map +1 -1
- package/declarations/components/forms/input.d.ts +11 -11
- package/declarations/components/forms/native-select.d.ts +8 -8
- package/declarations/components/forms/select/select.d.ts +16 -16
- package/declarations/components/forms/textarea.d.ts +7 -7
- package/declarations/components/utilities/avatar.d.ts +35 -2
- package/declarations/components/utilities/avatar.d.ts.map +1 -1
- package/declarations/test-support.d.ts +30 -0
- package/declarations/test-support.d.ts.map +1 -1
- package/dist/components/buttons/chip.js.map +1 -1
- package/dist/components/collections/dropdown/menu-context.js.map +1 -1
- package/dist/components/collections/dropdown/sub.js +76 -11
- package/dist/components/collections/dropdown/sub.js.map +1 -1
- package/dist/components/forms/date-input/clipboard.js +162 -0
- package/dist/components/forms/date-input/clipboard.js.map +1 -0
- package/dist/components/forms/date-input/date-input.js +194 -0
- package/dist/components/forms/date-input/date-input.js.map +1 -0
- package/dist/components/forms/date-input/segment-group.js +271 -0
- package/dist/components/forms/date-input/segment-group.js.map +1 -0
- package/dist/components/forms/date-input/segments.js +379 -0
- package/dist/components/forms/date-input/segments.js.map +1 -0
- package/dist/components/forms/date-input/types.js +2 -0
- package/dist/components/forms/date-input/types.js.map +1 -0
- package/dist/components/forms/date-input.js +4 -0
- package/dist/components/forms/date-input.js.map +1 -0
- package/dist/components/forms/date-picker/date-picker.js +301 -14
- package/dist/components/forms/date-picker/date-picker.js.map +1 -1
- package/dist/components/forms/date-picker/end-content.js +17 -4
- package/dist/components/forms/date-picker/end-content.js.map +1 -1
- package/dist/components/forms/field.js +4 -1
- package/dist/components/forms/field.js.map +1 -1
- package/dist/components/forms/index.js +3 -0
- package/dist/components/forms/index.js.map +1 -1
- package/dist/components/utilities/avatar.js +30 -5
- package/dist/components/utilities/avatar.js.map +1 -1
- package/dist/forms.js +3 -0
- package/dist/forms.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/test-support.js +480 -1
- package/dist/test-support.js.map +1 -1
- package/package.json +3 -3
|
@@ -4,6 +4,7 @@ import type { CalendarArgs } from '../../collections/calendar/calendar';
|
|
|
4
4
|
import type { CalendarMode, CalendarValue, DateRange, WeekDay } from '../../collections/calendar/types';
|
|
5
5
|
import type { FormControlSharedArgs } from '../form-control';
|
|
6
6
|
import type { DatePickerInput, DatePickerRangeInput } from './value';
|
|
7
|
+
import type { SegmentType } from '../date-input/types';
|
|
7
8
|
interface BaseDatePickerArgs extends Pick<CalendarArgs, 'color' | 'minValue' | 'maxValue' | 'isDateUnavailable' | 'locale' | 'weekStartsOn' | 'visibleMonths' | 'captionLayout' | 'fixedWeeks' | 'showOutsideDays' | 'isReadOnly'>, Pick<PopoverSignature['Args'], 'placement' | 'flipOptions' | 'shiftOptions' | 'offsetOptions' | 'strategy' | 'didClose'>, Pick<ContentSignature['Args'], 'renderInPlace' | 'target' | 'closeOnOutsideClick' | 'closeOnEscapeKey' | 'transitionDuration' | 'disableTransitions'>, FormControlSharedArgs {
|
|
8
9
|
/** The unique identifier for the control. */
|
|
9
10
|
id?: string;
|
|
@@ -15,6 +16,30 @@ interface BaseDatePickerArgs extends Pick<CalendarArgs, 'color' | 'minValue' | '
|
|
|
15
16
|
* `shiftOptions` cover. Forwarded to `Popover`'s own `@middleware`.
|
|
16
17
|
*/
|
|
17
18
|
middleware?: PopoverSignature['Args']['middleware'];
|
|
19
|
+
/**
|
|
20
|
+
* Whether the value can be typed into segments. `false` restores the button
|
|
21
|
+
* trigger showing the formatted value, which is what `@placeholder`,
|
|
22
|
+
* `@formatOptions` and the `:value` block describe.
|
|
23
|
+
*
|
|
24
|
+
* `@mode="range"` is segmented too: two groups with a separator between
|
|
25
|
+
* them, one for each end of the range.
|
|
26
|
+
*
|
|
27
|
+
* @defaultValue true
|
|
28
|
+
*/
|
|
29
|
+
isEditable?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Where ArrowUp on an empty segment starts. Only read on the segmented
|
|
32
|
+
* path.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue today
|
|
35
|
+
*/
|
|
36
|
+
placeholderValue?: Date;
|
|
37
|
+
/**
|
|
38
|
+
* The accessible names of the segments, for localizing them.
|
|
39
|
+
*
|
|
40
|
+
* @defaultValue { year: 'year', month: 'month', day: 'day' }
|
|
41
|
+
*/
|
|
42
|
+
segmentLabels?: Partial<Record<SegmentType, string>>;
|
|
18
43
|
/** Text shown in the trigger when there is no value. */
|
|
19
44
|
placeholder?: string;
|
|
20
45
|
/**
|
|
@@ -49,7 +74,11 @@ interface BaseDatePickerArgs extends Pick<CalendarArgs, 'color' | 'minValue' | '
|
|
|
49
74
|
* included -- falls through to the trigger and opens the picker. The clear
|
|
50
75
|
* button opts back in on its own.
|
|
51
76
|
*
|
|
52
|
-
*
|
|
77
|
+
* The segmented path defaults to `'auto'` instead: there is no button
|
|
78
|
+
* trigger for a click to fall through to, and the calendar icon is itself
|
|
79
|
+
* the button that opens the popover.
|
|
80
|
+
*
|
|
81
|
+
* @defaultValue 'none', or 'auto' when the field is segmented
|
|
53
82
|
*/
|
|
54
83
|
endContentPointerEvents?: 'none' | 'auto';
|
|
55
84
|
/** Fires when focus leaves the trigger *and* the popover. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/date-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,SAAS,EACT,OAAO,EACR,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/date-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,E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,QAAQ;IAC7D,sEAAsE;IACtE,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC5C,2DAA2D;IAC3D,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EAClB,CAAC"}
|
|
@@ -9,12 +9,14 @@ import Switch from './switch';
|
|
|
9
9
|
import Textarea from './textarea';
|
|
10
10
|
import type { WithBoundArgs } from '@glint/template';
|
|
11
11
|
import type { FormDataCompiled, FormErrors } from './form';
|
|
12
|
+
import type { DateInputSignature } from './date-input';
|
|
12
13
|
import type { DatePickerSignature } from './date-picker';
|
|
13
14
|
import type { SelectSignature } from './select';
|
|
14
15
|
import type { WithBoundArgsForSignature } from './field-types';
|
|
15
16
|
type BoundSingleSelect<S = unknown> = WithBoundArgsForSignature<SelectSignature<S>, 'name' | 'errors' | 'selectedKey' | 'onBlur' | 'isDisabled'>;
|
|
16
17
|
type BoundMultiSelect<S = unknown> = WithBoundArgsForSignature<SelectSignature<S>, 'selectionMode' | 'name' | 'errors' | 'selectedKeys' | 'onBlur' | 'isDisabled'>;
|
|
17
18
|
type BoundDatePicker = WithBoundArgsForSignature<DatePickerSignature<'single'>, 'name' | 'errors' | 'value' | 'onBlur' | 'isDisabled'>;
|
|
19
|
+
type BoundDateInput = WithBoundArgsForSignature<DateInputSignature, 'name' | 'errors' | 'value' | 'onBlur' | 'isDisabled'>;
|
|
18
20
|
type BoundDateRangePicker = WithBoundArgsForSignature<DatePickerSignature<'range'>, 'mode' | 'name' | 'errors' | 'value' | 'onBlur' | 'isDisabled'>;
|
|
19
21
|
interface FieldSignature<T extends Record<string, unknown> = FormDataCompiled> {
|
|
20
22
|
Element: HTMLElement;
|
|
@@ -45,6 +47,7 @@ interface FieldSignature<T extends Record<string, unknown> = FormDataCompiled> {
|
|
|
45
47
|
MultiSelect: BoundMultiSelect;
|
|
46
48
|
DatePicker: BoundDatePicker;
|
|
47
49
|
DateRangePicker: BoundDateRangePicker;
|
|
50
|
+
DateInput: BoundDateInput;
|
|
48
51
|
Switch: WithBoundArgs<typeof Switch, 'name' | 'errors' | 'isSelected' | 'onChange' | 'onBlur' | 'isDisabled'>;
|
|
49
52
|
Textarea: WithBoundArgs<typeof Textarea, 'name' | 'errors' | 'value' | 'onChange' | 'onInput' | 'onBlur' | 'isDisabled'>;
|
|
50
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/forms/field.gts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/forms/field.gts"],"names":[],"mappings":"AAAA,OAyUO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAG7C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAA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ACf,CAAC;gBACF,QAAQ,EAAE,aAAa,CACrB,OAAO,QAAQ,EACb,MAAM,GACN,QAAQ,GACR,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,CACf,CAAC;aACH;SACF,CAAC;KACH,CAAC;CACH;AAED;;;;GAIG;AACH,cAAM,KAAK,CACT,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,gBAAgB,CACpD,SAAQ,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IACpC;;;OAGG;IACH,IAAI,WAAW,kCAEd;IAED,yEAAyE;IACzE,IAAI,UAAU,IAAI,CAAC,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,EAAE,CAEhD;IAED;;;;OAIG;IACH,IAAI,UAAU,0BAIb;IAED;;OAEG;IACH,aAAa;IAIb;;OAEG;IAEH,YAAY;IAMZ;;;OAGG;IAEH,WAAW;IAMX;;OAEG;IAEH,UAAU;CA0BX;AAED,OAAO,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE,CAAC;AACtC,eAAe,KAAK,CAAC"}
|
|
@@ -17,6 +17,7 @@ export * from './form-control';
|
|
|
17
17
|
export * from './switch';
|
|
18
18
|
export * from './date-picker';
|
|
19
19
|
export * from './date-picker/value';
|
|
20
|
+
export * from './date-input';
|
|
20
21
|
export { StandardValidator } from '../../utils/standard-validator';
|
|
21
22
|
export type { Issues, CustomValidatorFn } from '../../utils/standard-validator';
|
|
22
23
|
export * from '../../utils/nested-data';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAChF,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAChF,cAAc,yBAAyB,CAAC"}
|
|
@@ -93,93 +93,93 @@ declare class Input extends Component<InputSignature> {
|
|
|
93
93
|
get classes(): {
|
|
94
94
|
base: (slotProps?: ({
|
|
95
95
|
size?: "sm" | "md" | "lg" | undefined;
|
|
96
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
97
96
|
hasStartContent?: boolean | undefined;
|
|
98
97
|
hasEndContent?: boolean | undefined;
|
|
99
98
|
hasChips?: boolean | undefined;
|
|
100
99
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
100
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
101
101
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
102
102
|
innerContainer: (slotProps?: ({
|
|
103
103
|
size?: "sm" | "md" | "lg" | undefined;
|
|
104
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
105
104
|
hasStartContent?: boolean | undefined;
|
|
106
105
|
hasEndContent?: boolean | undefined;
|
|
107
106
|
hasChips?: boolean | undefined;
|
|
108
107
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
108
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
109
109
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
110
110
|
startContent: (slotProps?: ({
|
|
111
111
|
size?: "sm" | "md" | "lg" | undefined;
|
|
112
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
113
112
|
hasStartContent?: boolean | undefined;
|
|
114
113
|
hasEndContent?: boolean | undefined;
|
|
115
114
|
hasChips?: boolean | undefined;
|
|
116
115
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
116
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
117
117
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
118
118
|
endContent: (slotProps?: ({
|
|
119
119
|
size?: "sm" | "md" | "lg" | undefined;
|
|
120
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
121
120
|
hasStartContent?: boolean | undefined;
|
|
122
121
|
hasEndContent?: boolean | undefined;
|
|
123
122
|
hasChips?: boolean | undefined;
|
|
124
123
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
124
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
125
125
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
126
126
|
input: (slotProps?: ({
|
|
127
127
|
size?: "sm" | "md" | "lg" | undefined;
|
|
128
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
129
128
|
hasStartContent?: boolean | undefined;
|
|
130
129
|
hasEndContent?: boolean | undefined;
|
|
131
130
|
hasChips?: boolean | undefined;
|
|
132
131
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
132
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
133
133
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
134
134
|
} & {
|
|
135
135
|
base: (slotProps?: ({
|
|
136
136
|
size?: "sm" | "md" | "lg" | undefined;
|
|
137
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
138
137
|
hasStartContent?: boolean | undefined;
|
|
139
138
|
hasEndContent?: boolean | undefined;
|
|
140
139
|
hasChips?: boolean | undefined;
|
|
141
140
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
141
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
142
142
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
143
143
|
innerContainer: (slotProps?: ({
|
|
144
144
|
size?: "sm" | "md" | "lg" | undefined;
|
|
145
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
146
145
|
hasStartContent?: boolean | undefined;
|
|
147
146
|
hasEndContent?: boolean | undefined;
|
|
148
147
|
hasChips?: boolean | undefined;
|
|
149
148
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
149
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
150
150
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
151
151
|
startContent: (slotProps?: ({
|
|
152
152
|
size?: "sm" | "md" | "lg" | undefined;
|
|
153
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
154
153
|
hasStartContent?: boolean | undefined;
|
|
155
154
|
hasEndContent?: boolean | undefined;
|
|
156
155
|
hasChips?: boolean | undefined;
|
|
157
156
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
157
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
158
158
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
159
159
|
endContent: (slotProps?: ({
|
|
160
160
|
size?: "sm" | "md" | "lg" | undefined;
|
|
161
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
162
161
|
hasStartContent?: boolean | undefined;
|
|
163
162
|
hasEndContent?: boolean | undefined;
|
|
164
163
|
hasChips?: boolean | undefined;
|
|
165
164
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
165
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
166
166
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
167
167
|
input: (slotProps?: ({
|
|
168
168
|
size?: "sm" | "md" | "lg" | undefined;
|
|
169
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
170
169
|
hasStartContent?: boolean | undefined;
|
|
171
170
|
hasEndContent?: boolean | undefined;
|
|
172
171
|
hasChips?: boolean | undefined;
|
|
173
172
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
173
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
174
174
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
175
175
|
} & {
|
|
176
176
|
base: (slotProps?: ({
|
|
177
177
|
size?: "sm" | "md" | "lg" | undefined;
|
|
178
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
179
178
|
hasStartContent?: boolean | undefined;
|
|
180
179
|
hasEndContent?: boolean | undefined;
|
|
181
180
|
hasChips?: boolean | undefined;
|
|
182
181
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
182
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
183
183
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
184
184
|
};
|
|
185
185
|
}
|
|
@@ -150,69 +150,69 @@ declare class NativeSelect<T = unknown> extends Component<NativeSelectSignature<
|
|
|
150
150
|
get classes(): {
|
|
151
151
|
base: (slotProps?: ({
|
|
152
152
|
size?: "sm" | "md" | "lg" | undefined;
|
|
153
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
154
153
|
hasStartContent?: boolean | undefined;
|
|
155
154
|
hasEndContent?: boolean | undefined;
|
|
156
155
|
hasChips?: boolean | undefined;
|
|
157
156
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
157
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
158
158
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
159
159
|
innerContainer: (slotProps?: ({
|
|
160
160
|
size?: "sm" | "md" | "lg" | undefined;
|
|
161
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
162
161
|
hasStartContent?: boolean | undefined;
|
|
163
162
|
hasEndContent?: boolean | undefined;
|
|
164
163
|
hasChips?: boolean | undefined;
|
|
165
164
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
165
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
166
166
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
167
167
|
startContent: (slotProps?: ({
|
|
168
168
|
size?: "sm" | "md" | "lg" | undefined;
|
|
169
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
170
169
|
hasStartContent?: boolean | undefined;
|
|
171
170
|
hasEndContent?: boolean | undefined;
|
|
172
171
|
hasChips?: boolean | undefined;
|
|
173
172
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
173
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
174
174
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
175
175
|
endContent: (slotProps?: ({
|
|
176
176
|
size?: "sm" | "md" | "lg" | undefined;
|
|
177
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
178
177
|
hasStartContent?: boolean | undefined;
|
|
179
178
|
hasEndContent?: boolean | undefined;
|
|
180
179
|
hasChips?: boolean | undefined;
|
|
181
180
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
181
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
182
182
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
183
183
|
input: (slotProps?: ({
|
|
184
184
|
size?: "sm" | "md" | "lg" | undefined;
|
|
185
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
186
185
|
hasStartContent?: boolean | undefined;
|
|
187
186
|
hasEndContent?: boolean | undefined;
|
|
188
187
|
hasChips?: boolean | undefined;
|
|
189
188
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
189
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
190
190
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
191
191
|
} & {
|
|
192
192
|
input: (slotProps?: ({
|
|
193
193
|
size?: "sm" | "md" | "lg" | undefined;
|
|
194
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
195
194
|
hasStartContent?: boolean | undefined;
|
|
196
195
|
hasEndContent?: boolean | undefined;
|
|
197
196
|
hasChips?: boolean | undefined;
|
|
198
197
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
198
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
199
199
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
200
200
|
icon: (slotProps?: ({
|
|
201
201
|
size?: "sm" | "md" | "lg" | undefined;
|
|
202
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
203
202
|
hasStartContent?: boolean | undefined;
|
|
204
203
|
hasEndContent?: boolean | undefined;
|
|
205
204
|
hasChips?: boolean | undefined;
|
|
206
205
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
206
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
207
207
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
208
208
|
} & {
|
|
209
209
|
base: (slotProps?: ({
|
|
210
210
|
size?: "sm" | "md" | "lg" | undefined;
|
|
211
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
212
211
|
hasStartContent?: boolean | undefined;
|
|
213
212
|
hasEndContent?: boolean | undefined;
|
|
214
213
|
hasChips?: boolean | undefined;
|
|
215
214
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
215
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
216
216
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
217
217
|
};
|
|
218
218
|
get isMultiple(): boolean;
|
|
@@ -197,148 +197,148 @@ declare class Select<T = unknown> extends Component<SelectSignature<T>> {
|
|
|
197
197
|
get classes(): {
|
|
198
198
|
base: (slotProps?: ({
|
|
199
199
|
size?: "sm" | "md" | "lg" | undefined;
|
|
200
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
201
200
|
hasStartContent?: boolean | undefined;
|
|
202
201
|
hasEndContent?: boolean | undefined;
|
|
203
202
|
hasChips?: boolean | undefined;
|
|
204
203
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
204
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
205
205
|
isFilterable?: boolean | undefined;
|
|
206
206
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
207
207
|
innerContainer: (slotProps?: ({
|
|
208
208
|
size?: "sm" | "md" | "lg" | undefined;
|
|
209
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
210
209
|
hasStartContent?: boolean | undefined;
|
|
211
210
|
hasEndContent?: boolean | undefined;
|
|
212
211
|
hasChips?: boolean | undefined;
|
|
213
212
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
213
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
214
214
|
isFilterable?: boolean | undefined;
|
|
215
215
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
216
216
|
startContent: (slotProps?: ({
|
|
217
217
|
size?: "sm" | "md" | "lg" | undefined;
|
|
218
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
219
218
|
hasStartContent?: boolean | undefined;
|
|
220
219
|
hasEndContent?: boolean | undefined;
|
|
221
220
|
hasChips?: boolean | undefined;
|
|
222
221
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
222
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
223
223
|
isFilterable?: boolean | undefined;
|
|
224
224
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
225
225
|
endContent: (slotProps?: ({
|
|
226
226
|
size?: "sm" | "md" | "lg" | undefined;
|
|
227
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
228
227
|
hasStartContent?: boolean | undefined;
|
|
229
228
|
hasEndContent?: boolean | undefined;
|
|
230
229
|
hasChips?: boolean | undefined;
|
|
231
230
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
231
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
232
232
|
isFilterable?: boolean | undefined;
|
|
233
233
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
234
234
|
input: (slotProps?: ({
|
|
235
235
|
size?: "sm" | "md" | "lg" | undefined;
|
|
236
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
237
236
|
hasStartContent?: boolean | undefined;
|
|
238
237
|
hasEndContent?: boolean | undefined;
|
|
239
238
|
hasChips?: boolean | undefined;
|
|
240
239
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
240
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
241
241
|
isFilterable?: boolean | undefined;
|
|
242
242
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
243
243
|
} & {
|
|
244
244
|
base: (slotProps?: ({
|
|
245
245
|
size?: "sm" | "md" | "lg" | undefined;
|
|
246
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
247
246
|
hasStartContent?: boolean | undefined;
|
|
248
247
|
hasEndContent?: boolean | undefined;
|
|
249
248
|
hasChips?: boolean | undefined;
|
|
250
249
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
250
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
251
251
|
isFilterable?: boolean | undefined;
|
|
252
252
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
253
253
|
placeholder: (slotProps?: ({
|
|
254
254
|
size?: "sm" | "md" | "lg" | undefined;
|
|
255
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
256
255
|
hasStartContent?: boolean | undefined;
|
|
257
256
|
hasEndContent?: boolean | undefined;
|
|
258
257
|
hasChips?: boolean | undefined;
|
|
259
258
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
259
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
260
260
|
isFilterable?: boolean | undefined;
|
|
261
261
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
262
262
|
listbox: (slotProps?: ({
|
|
263
263
|
size?: "sm" | "md" | "lg" | undefined;
|
|
264
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
265
264
|
hasStartContent?: boolean | undefined;
|
|
266
265
|
hasEndContent?: boolean | undefined;
|
|
267
266
|
hasChips?: boolean | undefined;
|
|
268
267
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
268
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
269
269
|
isFilterable?: boolean | undefined;
|
|
270
270
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
271
271
|
icon: (slotProps?: ({
|
|
272
272
|
size?: "sm" | "md" | "lg" | undefined;
|
|
273
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
274
273
|
hasStartContent?: boolean | undefined;
|
|
275
274
|
hasEndContent?: boolean | undefined;
|
|
276
275
|
hasChips?: boolean | undefined;
|
|
277
276
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
277
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
278
278
|
isFilterable?: boolean | undefined;
|
|
279
279
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
280
280
|
clearButton: (slotProps?: ({
|
|
281
281
|
size?: "sm" | "md" | "lg" | undefined;
|
|
282
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
283
282
|
hasStartContent?: boolean | undefined;
|
|
284
283
|
hasEndContent?: boolean | undefined;
|
|
285
284
|
hasChips?: boolean | undefined;
|
|
286
285
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
286
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
287
287
|
isFilterable?: boolean | undefined;
|
|
288
288
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
289
289
|
input: (slotProps?: ({
|
|
290
290
|
size?: "sm" | "md" | "lg" | undefined;
|
|
291
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
292
291
|
hasStartContent?: boolean | undefined;
|
|
293
292
|
hasEndContent?: boolean | undefined;
|
|
294
293
|
hasChips?: boolean | undefined;
|
|
295
294
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
295
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
296
296
|
isFilterable?: boolean | undefined;
|
|
297
297
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
298
298
|
emptyContent: (slotProps?: ({
|
|
299
299
|
size?: "sm" | "md" | "lg" | undefined;
|
|
300
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
301
300
|
hasStartContent?: boolean | undefined;
|
|
302
301
|
hasEndContent?: boolean | undefined;
|
|
303
302
|
hasChips?: boolean | undefined;
|
|
304
303
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
304
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
305
305
|
isFilterable?: boolean | undefined;
|
|
306
306
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
307
307
|
chipsField: (slotProps?: ({
|
|
308
308
|
size?: "sm" | "md" | "lg" | undefined;
|
|
309
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
310
309
|
hasStartContent?: boolean | undefined;
|
|
311
310
|
hasEndContent?: boolean | undefined;
|
|
312
311
|
hasChips?: boolean | undefined;
|
|
313
312
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
313
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
314
314
|
isFilterable?: boolean | undefined;
|
|
315
315
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
316
316
|
chipsContainer: (slotProps?: ({
|
|
317
317
|
size?: "sm" | "md" | "lg" | undefined;
|
|
318
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
319
318
|
hasStartContent?: boolean | undefined;
|
|
320
319
|
hasEndContent?: boolean | undefined;
|
|
321
320
|
hasChips?: boolean | undefined;
|
|
322
321
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
322
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
323
323
|
isFilterable?: boolean | undefined;
|
|
324
324
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
325
325
|
chip: (slotProps?: ({
|
|
326
326
|
size?: "sm" | "md" | "lg" | undefined;
|
|
327
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
328
327
|
hasStartContent?: boolean | undefined;
|
|
329
328
|
hasEndContent?: boolean | undefined;
|
|
330
329
|
hasChips?: boolean | undefined;
|
|
331
330
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
331
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
332
332
|
isFilterable?: boolean | undefined;
|
|
333
333
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
334
334
|
} & {
|
|
335
335
|
base: (slotProps?: ({
|
|
336
336
|
size?: "sm" | "md" | "lg" | undefined;
|
|
337
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
338
337
|
hasStartContent?: boolean | undefined;
|
|
339
338
|
hasEndContent?: boolean | undefined;
|
|
340
339
|
hasChips?: boolean | undefined;
|
|
341
340
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
341
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
342
342
|
isFilterable?: boolean | undefined;
|
|
343
343
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
344
344
|
};
|
|
@@ -51,61 +51,61 @@ declare class Textarea extends Component<TextareaSignature> {
|
|
|
51
51
|
get classes(): {
|
|
52
52
|
base: (slotProps?: ({
|
|
53
53
|
size?: "sm" | "md" | "lg" | undefined;
|
|
54
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
55
54
|
hasStartContent?: boolean | undefined;
|
|
56
55
|
hasEndContent?: boolean | undefined;
|
|
57
56
|
hasChips?: boolean | undefined;
|
|
58
57
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
58
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
59
59
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
60
60
|
innerContainer: (slotProps?: ({
|
|
61
61
|
size?: "sm" | "md" | "lg" | undefined;
|
|
62
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
63
62
|
hasStartContent?: boolean | undefined;
|
|
64
63
|
hasEndContent?: boolean | undefined;
|
|
65
64
|
hasChips?: boolean | undefined;
|
|
66
65
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
66
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
67
67
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
68
68
|
startContent: (slotProps?: ({
|
|
69
69
|
size?: "sm" | "md" | "lg" | undefined;
|
|
70
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
71
70
|
hasStartContent?: boolean | undefined;
|
|
72
71
|
hasEndContent?: boolean | undefined;
|
|
73
72
|
hasChips?: boolean | undefined;
|
|
74
73
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
74
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
75
75
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
76
76
|
endContent: (slotProps?: ({
|
|
77
77
|
size?: "sm" | "md" | "lg" | undefined;
|
|
78
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
79
78
|
hasStartContent?: boolean | undefined;
|
|
80
79
|
hasEndContent?: boolean | undefined;
|
|
81
80
|
hasChips?: boolean | undefined;
|
|
82
81
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
82
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
83
83
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
84
84
|
input: (slotProps?: ({
|
|
85
85
|
size?: "sm" | "md" | "lg" | undefined;
|
|
86
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
87
86
|
hasStartContent?: boolean | undefined;
|
|
88
87
|
hasEndContent?: boolean | undefined;
|
|
89
88
|
hasChips?: boolean | undefined;
|
|
90
89
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
90
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
91
91
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
92
92
|
} & {
|
|
93
93
|
input: (slotProps?: ({
|
|
94
94
|
size?: "sm" | "md" | "lg" | undefined;
|
|
95
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
96
95
|
hasStartContent?: boolean | undefined;
|
|
97
96
|
hasEndContent?: boolean | undefined;
|
|
98
97
|
hasChips?: boolean | undefined;
|
|
99
98
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
99
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
100
100
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
101
101
|
} & {
|
|
102
102
|
base: (slotProps?: ({
|
|
103
103
|
size?: "sm" | "md" | "lg" | undefined;
|
|
104
|
-
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
105
104
|
hasStartContent?: boolean | undefined;
|
|
106
105
|
hasEndContent?: boolean | undefined;
|
|
107
106
|
hasChips?: boolean | undefined;
|
|
108
107
|
startContentPointerEvents?: "none" | "auto" | undefined;
|
|
108
|
+
endContentPointerEvents?: "none" | "auto" | undefined;
|
|
109
109
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
110
110
|
};
|
|
111
111
|
}
|