@bbodek/internal-ui 0.0.37 → 0.0.39
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/FilterCalendarPanel-CLt8IWjE.js +2 -0
- package/dist/FilterCalendarPanel-CLt8IWjE.js.map +1 -0
- package/dist/FilterCalendarPanel-CwM0y_Qr.js +2 -0
- package/dist/FilterCalendarPanel-CwM0y_Qr.js.map +1 -0
- package/dist/FilterCalendarPanel-DEQRln_e.js +2 -0
- package/dist/FilterCalendarPanel-DEQRln_e.js.map +1 -0
- package/dist/FilterCalendarPanel-ontNv1n0.js +2 -0
- package/dist/FilterCalendarPanel-ontNv1n0.js.map +1 -0
- package/dist/FilterMultiSelectPanel--su7glyX.js +2 -0
- package/dist/FilterMultiSelectPanel--su7glyX.js.map +1 -0
- package/dist/FilterMultiSelectPanel-AHR5LuTQ.js +2 -0
- package/dist/FilterMultiSelectPanel-AHR5LuTQ.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CVyICb54.js +2 -0
- package/dist/FilterMultiSelectPanel-CVyICb54.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CqYtkmVx.js +2 -0
- package/dist/FilterMultiSelectPanel-CqYtkmVx.js.map +1 -0
- package/dist/FilterSelectOptionPanel-BnooYJhk.js +2 -0
- package/dist/FilterSelectOptionPanel-BnooYJhk.js.map +1 -0
- package/dist/FilterSelectOptionPanel-D_5dyJxw.js +2 -0
- package/dist/FilterSelectOptionPanel-D_5dyJxw.js.map +1 -0
- package/dist/FilterSelectOptionPanel-MyMj76WS.js +2 -0
- package/dist/FilterSelectOptionPanel-MyMj76WS.js.map +1 -0
- package/dist/FilterSelectOptionPanel-vlTQeMaA.js +2 -0
- package/dist/FilterSelectOptionPanel-vlTQeMaA.js.map +1 -0
- package/dist/components/Button/IconButton/constants/index.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/Calendar/context/useCalendarContext.d.ts.map +1 -1
- package/dist/components/Calendar/hooks/effects/index.d.ts +1 -1
- package/dist/components/Calendar/hooks/effects/index.d.ts.map +1 -1
- package/dist/components/Calendar/hooks/effects/useCalendarInitialInternalValueEffect.d.ts +3 -0
- package/dist/components/Calendar/hooks/effects/useCalendarInitialInternalValueEffect.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/effects/useCalendarInitialScrollEffect.d.ts.map +1 -1
- package/dist/components/Calendar/hooks/useCalendarDays.d.ts.map +1 -1
- package/dist/components/Calendar/hooks/useCalendarHandlers.d.ts.map +1 -1
- package/dist/components/Calendar/hooks/useCalendarHolidays.d.ts +6 -0
- package/dist/components/Calendar/hooks/useCalendarHolidays.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/useCalendarValidUtils.d.ts +5 -5
- package/dist/components/Calendar/hooks/useCalendarValidUtils.d.ts.map +1 -1
- package/dist/components/Calendar/types/index.d.ts +26 -9
- package/dist/components/Calendar/types/index.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerSelectButton.d.ts +1 -1
- package/dist/components/DatePicker/DatePickerSelectButton.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerTrigger.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerWrapper.d.ts +4 -0
- package/dist/components/DatePicker/DatePickerWrapper.d.ts.map +1 -0
- package/dist/components/DatePicker/types/index.d.ts +7 -3
- package/dist/components/DatePicker/types/index.d.ts.map +1 -1
- package/dist/components/Filter/FIlterHeaderCloseButton.d.ts +4 -0
- package/dist/components/Filter/FIlterHeaderCloseButton.d.ts.map +1 -0
- package/dist/components/Filter/FIlterHeaderMobileCloseButton.d.ts +4 -0
- package/dist/components/Filter/FIlterHeaderMobileCloseButton.d.ts.map +1 -0
- package/dist/components/Filter/FIlterHeaderTitle.d.ts +3 -0
- package/dist/components/Filter/FIlterHeaderTitle.d.ts.map +1 -0
- package/dist/components/Filter/FIlterMultiSelectButton.d.ts +3 -0
- package/dist/components/Filter/FIlterMultiSelectButton.d.ts.map +1 -0
- package/dist/components/Filter/Filter.d.ts +4 -0
- package/dist/components/Filter/Filter.d.ts.map +1 -0
- package/dist/components/Filter/FilterCalendarPanel.d.ts +4 -0
- package/dist/components/Filter/FilterCalendarPanel.d.ts.map +1 -0
- package/dist/components/Filter/FilterCalendarSelectButton.d.ts +3 -0
- package/dist/components/Filter/FilterCalendarSelectButton.d.ts.map +1 -0
- package/dist/components/Filter/FilterCalendarSummary.d.ts +4 -0
- package/dist/components/Filter/FilterCalendarSummary.d.ts.map +1 -0
- package/dist/components/Filter/FilterCloseButton.d.ts +4 -0
- package/dist/components/Filter/FilterCloseButton.d.ts.map +1 -0
- package/dist/components/Filter/FilterHeader.d.ts +4 -0
- package/dist/components/Filter/FilterHeader.d.ts.map +1 -0
- package/dist/components/Filter/FilterHeaderBackButton.d.ts +3 -0
- package/dist/components/Filter/FilterHeaderBackButton.d.ts.map +1 -0
- package/dist/components/Filter/FilterHeaderResetButton.d.ts +3 -0
- package/dist/components/Filter/FilterHeaderResetButton.d.ts.map +1 -0
- package/dist/components/Filter/FilterMultiSelectOptionSummary.d.ts +4 -0
- package/dist/components/Filter/FilterMultiSelectOptionSummary.d.ts.map +1 -0
- package/dist/components/Filter/FilterMultiSelectPanel.d.ts +3 -0
- package/dist/components/Filter/FilterMultiSelectPanel.d.ts.map +1 -0
- package/dist/components/Filter/FilterOptionPanel.d.ts +3 -0
- package/dist/components/Filter/FilterOptionPanel.d.ts.map +1 -0
- package/dist/components/Filter/FilterSelectButton.d.ts +4 -0
- package/dist/components/Filter/FilterSelectButton.d.ts.map +1 -0
- package/dist/components/Filter/FilterSelectOptionCategories.d.ts +3 -0
- package/dist/components/Filter/FilterSelectOptionCategories.d.ts.map +1 -0
- package/dist/components/Filter/FilterSelectOptionCategory.d.ts +4 -0
- package/dist/components/Filter/FilterSelectOptionCategory.d.ts.map +1 -0
- package/dist/components/Filter/FilterSelectOptionPanel.d.ts +4 -0
- package/dist/components/Filter/FilterSelectOptionPanel.d.ts.map +1 -0
- package/dist/components/Filter/FilterSelectOptionSummaryBase.d.ts +4 -0
- package/dist/components/Filter/FilterSelectOptionSummaryBase.d.ts.map +1 -0
- package/dist/components/Filter/FilterToggleOption.d.ts +3 -0
- package/dist/components/Filter/FilterToggleOption.d.ts.map +1 -0
- package/dist/components/Filter/FilterToggleOptionItem.d.ts +4 -0
- package/dist/components/Filter/FilterToggleOptionItem.d.ts.map +1 -0
- package/dist/components/Filter/FilterTrigger.d.ts +3 -0
- package/dist/components/Filter/FilterTrigger.d.ts.map +1 -0
- package/dist/components/Filter/constants/index.d.ts +11 -0
- package/dist/components/Filter/constants/index.d.ts.map +1 -0
- package/dist/components/Filter/context/index.d.ts +2 -0
- package/dist/components/Filter/context/index.d.ts.map +1 -0
- package/dist/components/Filter/context/useFIlterPanelContext.d.ts +5 -0
- package/dist/components/Filter/context/useFIlterPanelContext.d.ts.map +1 -0
- package/dist/components/Filter/context/useFilterContext.d.ts +5 -0
- package/dist/components/Filter/context/useFilterContext.d.ts.map +1 -0
- package/dist/components/Filter/hooks/index.d.ts +4 -0
- package/dist/components/Filter/hooks/index.d.ts.map +1 -0
- package/dist/components/Filter/hooks/useFilterCalendarPanel.d.ts +14 -0
- package/dist/components/Filter/hooks/useFilterCalendarPanel.d.ts.map +1 -0
- package/dist/components/Filter/hooks/useFilterMultiSelectPanel.d.ts +18 -0
- package/dist/components/Filter/hooks/useFilterMultiSelectPanel.d.ts.map +1 -0
- package/dist/components/Filter/hooks/useFilterSelectOptionPanel.d.ts +15 -0
- package/dist/components/Filter/hooks/useFilterSelectOptionPanel.d.ts.map +1 -0
- package/dist/components/Filter/index.d.ts +3 -0
- package/dist/components/Filter/index.d.ts.map +1 -0
- package/dist/components/Filter/types/index.d.ts +76 -0
- package/dist/components/Filter/types/index.d.ts.map +1 -0
- package/dist/components/Filter/utils/getCalendarDate.d.ts +8 -0
- package/dist/components/Filter/utils/getCalendarDate.d.ts.map +1 -0
- package/dist/components/Filter/utils/index.d.ts +2 -0
- package/dist/components/Filter/utils/index.d.ts.map +1 -0
- package/dist/components/Flex/constants/index.d.ts +77 -72
- package/dist/components/Flex/constants/index.d.ts.map +1 -1
- package/dist/components/Input/InputField/InputField.d.ts +1 -1
- package/dist/components/Input/InputField/InputField.d.ts.map +1 -1
- package/dist/components/Input/InputField/types/index.d.ts +1 -2
- package/dist/components/Input/InputField/types/index.d.ts.map +1 -1
- package/dist/components/Input/InputPassword/InputPassword.d.ts +1 -1
- package/dist/components/Input/InputPassword/InputPassword.d.ts.map +1 -1
- package/dist/components/Input/InputSearch/InputSearch.d.ts +1 -1
- package/dist/components/Input/InputSearch/InputSearch.d.ts.map +1 -1
- package/dist/components/Input/TextArea/TextArea.d.ts +1 -1
- package/dist/components/Input/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/Input/TextArea/types/index.d.ts +1 -3
- package/dist/components/Input/TextArea/types/index.d.ts.map +1 -1
- package/dist/components/Input/shared/InputBase.d.ts +1 -1
- package/dist/components/Input/shared/InputBase.d.ts.map +1 -1
- package/dist/components/Input/shared/constants/index.d.ts +2 -0
- package/dist/components/Input/shared/constants/index.d.ts.map +1 -1
- package/dist/components/Input/shared/hooks/useInputChange.d.ts +3 -3
- package/dist/components/Input/shared/hooks/useInputChange.d.ts.map +1 -1
- package/dist/components/Input/shared/types/index.d.ts +7 -5
- package/dist/components/Input/shared/types/index.d.ts.map +1 -1
- package/dist/components/Persona/constants/index.d.ts +1 -1
- package/dist/components/Popover/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Select/Multi/MultiSearchSelect/MultiSearchSelect.d.ts +1 -1
- package/dist/components/Select/Multi/MultiSearchSelect/MultiSearchSelect.d.ts.map +1 -1
- package/dist/components/Select/Multi/MultiSearchSelect/MultiSearchSelectWrapper.d.ts +4 -0
- package/dist/components/Select/Multi/MultiSearchSelect/MultiSearchSelectWrapper.d.ts.map +1 -0
- package/dist/components/Select/Multi/MultiSearchSelect/types/index.d.ts +6 -2
- package/dist/components/Select/Multi/MultiSearchSelect/types/index.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/MultiSelectBase.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/context/MultiSelectBaseContext.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/hooks/effects/index.d.ts +1 -1
- package/dist/components/Select/Multi/shared/hooks/effects/index.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialValueEffect.d.ts +3 -0
- package/dist/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialValueEffect.d.ts.map +1 -0
- package/dist/components/Select/Multi/shared/hooks/index.d.ts +1 -1
- package/dist/components/Select/Multi/shared/hooks/index.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/types/index.d.ts +3 -4
- package/dist/components/Select/Multi/shared/types/index.d.ts.map +1 -1
- package/dist/components/Select/Single/SearchSelect/SearchSelect.d.ts +1 -1
- package/dist/components/Select/Single/SearchSelect/SearchSelect.d.ts.map +1 -1
- package/dist/components/Select/Single/SearchSelect/types/index.d.ts +1 -1
- package/dist/components/Select/Single/SearchSelect/types/index.d.ts.map +1 -1
- package/dist/components/Select/Single/Select/Select.d.ts +1 -1
- package/dist/components/Select/Single/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBase.d.ts +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBase.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/types/index.d.ts +2 -2
- package/dist/components/Select/Single/shared/types/index.d.ts.map +1 -1
- package/dist/components/Select/shared/SelectBase.d.ts +1 -1
- package/dist/components/Select/shared/SelectBase.d.ts.map +1 -1
- package/dist/components/Select/shared/SelectBaseLabel.d.ts +1 -1
- package/dist/components/Select/shared/SelectBaseLabel.d.ts.map +1 -1
- package/dist/components/Select/shared/SelectBaseTriggerWrapper.d.ts.map +1 -1
- package/dist/components/Select/shared/types/index.d.ts +4 -3
- package/dist/components/Select/shared/types/index.d.ts.map +1 -1
- package/dist/components/Sort/Sort.d.ts +1 -1
- package/dist/components/Sort/Sort.d.ts.map +1 -1
- package/dist/components/Sort/SortTrigger.d.ts.map +1 -1
- package/dist/components/Sort/types/index.d.ts +1 -1
- package/dist/components/Sort/types/index.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/TableInputCell.d.ts +1 -1
- package/dist/components/Table/TableInputCell.d.ts.map +1 -1
- package/dist/components/Table/types/index.d.ts +1 -1
- package/dist/components/Table/types/index.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/types/index.d.ts +1 -1
- package/dist/components/Toggle/types/index.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/types/index.d.ts +1 -2
- package/dist/components/Typography/types/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/components/InputLabel/InputLabel.d.ts +1 -1
- package/dist/components/shared/components/InputLabel/InputLabel.d.ts.map +1 -1
- package/dist/components/shared/components/InputLabel/InputLabelTitle.d.ts +5 -0
- package/dist/components/shared/components/InputLabel/InputLabelTitle.d.ts.map +1 -0
- package/dist/components/shared/components/InputLabel/types/index.d.ts +4 -1
- package/dist/components/shared/components/InputLabel/types/index.d.ts.map +1 -1
- package/dist/components/shared/components/InputTriggerWrapper/InputTriggerWrapper.d.ts +1 -1
- package/dist/components/shared/components/InputTriggerWrapper/InputTriggerWrapper.d.ts.map +1 -1
- package/dist/components/shared/components/InputTriggerWrapper/types/index.d.ts +1 -1
- package/dist/components/shared/components/InputTriggerWrapper/types/index.d.ts.map +1 -1
- package/dist/components/shared/components/InputWrapper/InputWrapper.d.ts +5 -0
- package/dist/components/shared/components/InputWrapper/InputWrapper.d.ts.map +1 -0
- package/dist/components/shared/components/InputWrapper/index.d.ts +2 -0
- package/dist/components/shared/components/InputWrapper/index.d.ts.map +1 -0
- package/dist/components/shared/components/InputWrapper/types/index.d.ts +4 -0
- package/dist/components/shared/components/InputWrapper/types/index.d.ts.map +1 -0
- package/dist/index-B2PCSwsw.js +1034 -0
- package/dist/index-B2PCSwsw.js.map +1 -0
- package/dist/index-BPmOngUD.js +1034 -0
- package/dist/index-BPmOngUD.js.map +1 -0
- package/dist/index-CmFoioiH.js +1034 -0
- package/dist/index-CmFoioiH.js.map +1 -0
- package/dist/index-DD9BI4Hu.js +2 -0
- package/dist/index-DD9BI4Hu.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/useFilterSelectOptionPanel-0L_9PsXD.js +2 -0
- package/dist/useFilterSelectOptionPanel-0L_9PsXD.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-CJe5Y6EL.js +2 -0
- package/dist/useFilterSelectOptionPanel-CJe5Y6EL.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-CKEThBnL.js +2 -0
- package/dist/useFilterSelectOptionPanel-CKEThBnL.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-DnKejkSv.js +2 -0
- package/dist/useFilterSelectOptionPanel-DnKejkSv.js.map +1 -0
- package/package.json +5 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InputElement, InputElementType, UseInputChangeProps } from '../../../../components/Input/shared/types';
|
|
2
1
|
import { ChangeEvent } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { InputElement, InputElementType, UseInputChangeProps } from '../../../../components/Input/shared/types';
|
|
3
|
+
declare const useInputChange: <T extends InputElementType, P extends InputElement<T>>({ value, name, onChange, regCallback, maxLength, }: UseInputChangeProps<T, P>) => {
|
|
4
|
+
inputValue: string | null;
|
|
5
5
|
handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
6
6
|
handleReset: () => void;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInputChange.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/shared/hooks/useInputChange.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useInputChange.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/shared/hooks/useInputChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,OAAO,CAAC;AAEzD,OAAO,EAEL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AAEzC,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,gBAAgB,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,oDAM5E,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC;;sBAIrB,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC;;CAkCzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, ChangeEvent, Dispatch, ElementType, FormEvent, HTMLAttributes, InputHTMLAttributes, ReactNode, SetStateAction } from 'react';
|
|
2
2
|
import { IconProps } from '../../../../components/Icon';
|
|
3
3
|
import { INPUT_ELEMENTS } from '../../../../components/Input/shared/constants';
|
|
4
|
+
import { InputLabelProps } from '../../../../components/shared';
|
|
4
5
|
import { InputTriggerWrapperProps } from '../../../../components/shared/components/InputTriggerWrapper';
|
|
5
6
|
import { ComponentPropsRef } from '../../../../components/shared/types';
|
|
6
7
|
export type InputElements = (typeof INPUT_ELEMENTS)[keyof typeof INPUT_ELEMENTS];
|
|
@@ -12,14 +13,14 @@ export interface InputContextProps {
|
|
|
12
13
|
}
|
|
13
14
|
export interface InputProviderProps extends InputContextProps {
|
|
14
15
|
}
|
|
15
|
-
export interface InputBaseProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'>, Pick<InputContextProps, 'isError'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'id' | 'required'> {
|
|
16
|
+
export interface InputBaseProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'>, Pick<InputContextProps, 'isError'>, Pick<InputLabelProps, 'badge'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'id' | 'required'> {
|
|
17
|
+
label: string;
|
|
18
|
+
hiddenLabel?: InputLabelProps['hidden'];
|
|
16
19
|
value: string | null;
|
|
17
|
-
label?: string;
|
|
18
|
-
badge?: ReactNode;
|
|
19
20
|
feedback?: string;
|
|
20
21
|
onSubmit?: (e: FormEvent<HTMLFormElement>) => void;
|
|
21
22
|
}
|
|
22
|
-
export interface InputDefaultProps<T extends InputElementType, P extends InputElement<T>> extends Pick<InputBaseProps, 'id' | 'required' | 'value'>, Pick<InputTriggerWrapperProps, 'variant'>, Pick<HTMLAttributes<HTMLDivElement>, 'className'>, ComponentPropsRef<P>, Pick<InputHTMLAttributes<HTMLInputElement>, 'placeholder' | 'disabled' | 'readOnly' | 'name' | 'autoComplete'
|
|
23
|
+
export interface InputDefaultProps<T extends InputElementType, P extends InputElement<T>> extends Pick<InputBaseProps, 'id' | 'required' | 'value'>, Pick<InputTriggerWrapperProps, 'variant'>, Pick<HTMLAttributes<HTMLDivElement>, 'className'>, ComponentPropsRef<P>, Pick<InputHTMLAttributes<HTMLInputElement>, 'placeholder' | 'disabled' | 'readOnly' | 'name' | 'autoComplete'> {
|
|
23
24
|
as?: T;
|
|
24
25
|
addonEnd?: ReactNode;
|
|
25
26
|
popover?: ReactNode;
|
|
@@ -27,10 +28,11 @@ export interface InputDefaultProps<T extends InputElementType, P extends InputEl
|
|
|
27
28
|
onReset?: () => void;
|
|
28
29
|
isFocused: boolean;
|
|
29
30
|
setIsFocused: Dispatch<SetStateAction<boolean>>;
|
|
31
|
+
maxLength?: number;
|
|
30
32
|
inputClassName?: HTMLAttributes<P>['className'];
|
|
31
33
|
}
|
|
32
34
|
export type InputProps<T extends InputElementType, P extends InputElement<T>> = InputDefaultProps<T, P> & (T extends typeof INPUT_ELEMENTS.INPUT ? Pick<InputHTMLAttributes<HTMLInputElement>, 'type'> : {});
|
|
33
|
-
export interface UseInputChangeProps<T extends InputElementType, P extends InputElement<T>> extends Pick<InputProps<T, P>, 'value' | 'onChange' | 'name'
|
|
35
|
+
export interface UseInputChangeProps<T extends InputElementType, P extends InputElement<T>> extends Pick<InputProps<T, P>, 'value' | 'onChange' | 'name'>, Required<Pick<InputDefaultProps<T, P>, 'maxLength'>> {
|
|
34
36
|
regCallback?: (value: string) => string;
|
|
35
37
|
}
|
|
36
38
|
export interface InputIconButtonProps extends Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled' | 'onClick' | 'type' | 'className'>, Pick<IconProps, 'iconKey' | 'weight'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,SAAS,EACT,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;AAEnE,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,gBAAgB,IACjD,CAAC,SAAS,OAAO,cAAc,CAAC,KAAK,GACj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ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover/Popover.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgC,iBAAiB,EAAU,MAAM,OAAO,CAAC;AAShF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,QAAA,MAAM,OAAO,GAAI,CAAC,SAAS,WAAW,EAAE,0IAYrC,iBAAiB,CAAC,YAAY,CAAC,mDA+CjC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MultiSearchSelectProps } from '../../../../components/Select/Multi/MultiSearchSelect/types';
|
|
2
2
|
import { MultiSelectBaseValue } from '../../../../components/Select/Multi/shared';
|
|
3
|
-
declare const MultiSearchSelect: <T extends MultiSelectBaseValue>({ inputOption, popoverOption, value, label, badge, disabled, feedback, required, isError, placeholder, className, options, onChange, }: MultiSearchSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const MultiSearchSelect: <T extends MultiSelectBaseValue>({ inputOption, popoverOption, value, label, badge, disabled, feedback, required, isError, placeholder, className, options, hiddenLabel, onChange, }: MultiSearchSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default MultiSearchSelect;
|
|
5
5
|
//# sourceMappingURL=MultiSearchSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Multi/MultiSearchSelect/MultiSearchSelect.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAEL,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAI1C,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"MultiSearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Multi/MultiSearchSelect/MultiSearchSelect.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAEL,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAI1C,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,oBAAoB,EAAE,qJAexD,sBAAsB,CAAC,CAAC,CAAC,4CAgD3B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MultiSearchSelectWrapperProps } from '../../../../components/Select/Multi/MultiSearchSelect/types';
|
|
2
|
+
declare const MultiSearchSelectWrapper: ({ children, className, label, disabled, feedback, required, isError, placeholder, controls, labelId, popoverOption, }: MultiSearchSelectWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default MultiSearchSelectWrapper;
|
|
4
|
+
//# sourceMappingURL=MultiSearchSelectWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiSearchSelectWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Multi/MultiSearchSelect/MultiSearchSelectWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAIlG,QAAA,MAAM,wBAAwB,GAAI,uHAY/B,6BAA6B,4CAmC/B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { ChipProps } from '../../../../../components/Chip';
|
|
3
|
+
import { InputBaseProps } from '../../../../../components/Input';
|
|
2
4
|
import { MultiSelectBaseListItemProps, MultiSelectBaseProps, MultiSelectBaseProviderProps, MultiSelectBaseResultPanelProps, MultiSelectBaseValue } from '../../../../../components/Select/Multi/shared';
|
|
3
5
|
import { SelectBaseChildrenProps, SelectBaseLabelProps, SelectBaseProps, SelectTriggerContextValue } from '../../../../../components/Select/shared';
|
|
4
|
-
export interface MultiSearchSelectProps<T extends MultiSelectBaseValue> extends Pick<MultiSelectBaseProps, 'inputOption'>, Pick<MultiSelectBaseProviderProps<T>, 'options' | 'value' | 'onChange'>, Pick<
|
|
5
|
-
|
|
6
|
+
export interface MultiSearchSelectProps<T extends MultiSelectBaseValue> extends Pick<MultiSelectBaseProps, 'inputOption'>, Pick<MultiSelectBaseProviderProps<T>, 'options' | 'value' | 'onChange'>, Pick<SelectBaseLabelProps, 'label' | 'badge'>, Omit<MultiSearchSelectWrapperProps, 'controls' | 'labelId' | 'children' | 'label'> {
|
|
7
|
+
}
|
|
8
|
+
export interface MultiSearchSelectWrapperProps extends Pick<SelectBaseProps, 'disabled' | 'feedback' | 'required' | 'isError' | 'placeholder' | 'className' | 'controls' | 'labelId' | 'children' | 'popoverOption'>, Pick<InputBaseProps, 'hiddenLabel'>, Pick<SelectBaseLabelProps, 'badge'> {
|
|
9
|
+
label: ReactNode;
|
|
6
10
|
}
|
|
7
11
|
export interface MultiSearchSelectListHeaderProps extends Pick<MultiSelectBaseResultPanelProps, 'count'> {
|
|
8
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/MultiSearchSelect/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC5B,+BAA+B,EAC/B,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,yBAAyB,EAC1B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,CACpE,SAAQ,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,EAC/C,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC,EACvE,IAAI,CACF,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/MultiSearchSelect/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC5B,+BAA+B,EAC/B,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,yBAAyB,EAC1B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,CACpE,SAAQ,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,EAC/C,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC,EACvE,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,CAAC,EAC7C,IAAI,CACF,6BAA6B,EAC7B,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAC9C;CAAG;AAER,MAAM,WAAW,6BACf,SAAQ,IAAI,CACR,eAAe,EACb,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,aAAa,GACb,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,eAAe,CAClB,EACD,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,EACnC,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACrC,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,gCACf,SAAQ,IAAI,CAAC,+BAA+B,EAAE,OAAO,CAAC;CAAG;AAE3D,MAAM,WAAW,8BAA8B,CAAC,CAAC,SAAS,oBAAoB,CAC5E,SAAQ,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;IACpE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mCACf,SAAQ,IAAI,CAAC,gCAAgC,EAAE,OAAO,CAAC;CAAG;AAE5D,MAAM,WAAW,sCAAsC,CACrD,CAAC,SAAS,oBAAoB,CAC9B,SAAQ,IAAI,CAAC,8BAA8B,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,EAC1D,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;CAAG;AAE/B,MAAM,WAAW,4BACf,SAAQ,IAAI,CAAC,uBAAuB,EAAE,OAAO,CAAC;CAAG;AAEnD,MAAM,WAAW,mCACf,SAAQ,IAAI,CAAC,yBAAyB,EAAE,UAAU,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Multi/shared/MultiSelectBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Multi/shared/MultiSelectBase.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,QAAA,MAAM,eAAe,GAAI,kEAMtB,oBAAoB,4CAmCtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectBaseContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/shared/context/MultiSelectBaseContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,iBAAiB,EAIlB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiSelectBaseContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/shared/context/MultiSelectBaseContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,iBAAiB,EAIlB,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,2BAA2B,EAE3B,4BAA4B,EAC5B,oBAAoB,EAErB,MAAM,wCAAwC,CAAC;AAUhD,eAAO,MAAM,uBAAuB,GAAI,CAAC,SAAS,oBAAoB,EAAE,mFAOrE,iBAAiB,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,4CAsGpD,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,oBAAoB,OASzC,2BAA2B,CAAC,CAAC,CAC3D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as useMultiSelectBaseInitialValueEffect } from './useMultiSelectBaseInitialValueEffect';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/Multi/shared/hooks/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/Multi/shared/hooks/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oCAAoC,EAAE,MAAM,wCAAwC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMultiSelectBaseInitialValueEffect.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialValueEffect.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,oCAAoC,YAMzC,CAAC;AAEF,eAAe,oCAAoC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './effects';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -16,7 +16,7 @@ export interface MultiSelectBaseListHeaderProps extends Pick<MultiSelectBaseResu
|
|
|
16
16
|
export interface MultiSelectBaseProps extends Pick<SelectBaseProps, 'labelId' | 'className'> {
|
|
17
17
|
searchPanel: ReactNode;
|
|
18
18
|
selectedPanel: ReactNode;
|
|
19
|
-
inputOption?: Omit<InputSearchProps, 'rootClassName' | 'type' | 'onChange' | 'value'>;
|
|
19
|
+
inputOption?: Omit<InputSearchProps, 'rootClassName' | 'type' | 'onChange' | 'value' | 'hiddenLabel' | 'label'>;
|
|
20
20
|
}
|
|
21
21
|
export interface MultiSelectOption<T extends MultiSelectBaseValue> {
|
|
22
22
|
value: T;
|
|
@@ -40,16 +40,15 @@ export interface MultiSelectBaseContextValue<T extends MultiSelectBaseValue> {
|
|
|
40
40
|
onAllSelect: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
41
41
|
selectListResultId: string;
|
|
42
42
|
selectedListResultId: string;
|
|
43
|
+
setMultiSelectInternalOptions: () => void;
|
|
43
44
|
onChange: () => void;
|
|
44
45
|
onSearch: ({ value }: MultiSelectBaseOnSearchParams) => void;
|
|
45
46
|
currentSearchValue: string | null;
|
|
47
|
+
setCurrentSearchValue: Dispatch<SetStateAction<string | null>>;
|
|
46
48
|
onRemoveTriggerValueClick: ({ key, }: Pick<MultiSelectInternalOption<T>, 'key'>) => void;
|
|
47
49
|
}
|
|
48
50
|
export interface GetOptionKeyParams extends MultiSelectOption<MultiSelectBaseValue> {
|
|
49
51
|
}
|
|
50
52
|
export interface MultiSelectBaseSelectedListProps extends Pick<HTMLAttributes<HTMLUListElement>, 'className'> {
|
|
51
53
|
}
|
|
52
|
-
export interface UseMultiSelectBaseInitialOptionsEffectProps<T extends MultiSelectBaseValue> extends Pick<MultiSelectBaseProviderProps<T>, 'value' | 'options'> {
|
|
53
|
-
setInternalOptions: Dispatch<SetStateAction<MultiSelectInternalOption<T>[]>>;
|
|
54
|
-
}
|
|
55
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,cAAc,EACd,SAAS,EACT,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAE1D,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,oBAAoB,CAC1E,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAAC,EACvD,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,WAAW,CAAC;IAClD,SAAS,EAAE,yBAAyB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;CAChD;AAED,MAAM,WAAW,6BACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC;CAAG;AAEpD,MAAM,WAAW,+BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,+BAA+B,EAAE,OAAO,CAAC;CAAG;AAE3D,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,CAAC;IACtD,WAAW,EAAE,SAAS,CAAC;IACvB,aAAa,EAAE,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,IAAI,CAChB,gBAAgB,EAChB,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Multi/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,cAAc,EACd,SAAS,EACT,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAE1D,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,oBAAoB,CAC1E,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAAC,EACvD,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,WAAW,CAAC;IAClD,SAAS,EAAE,yBAAyB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;CAChD;AAED,MAAM,WAAW,6BACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC;CAAG;AAEpD,MAAM,WAAW,+BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,+BAA+B,EAAE,OAAO,CAAC;CAAG;AAE3D,MAAM,WAAW,oBACf,SAAQ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AAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC;IACvE,eAAe,EAAE,yBAAyB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACxD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,6BAA6B,EAAE,MAAM,IAAI,CAAC;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,6BAA6B,KAAK,IAAI,CAAC;IAC7D,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC/D,yBAAyB,EAAE,CAAC,EAC1B,GAAG,GACJ,EAAE,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC;CACvD;AAED,MAAM,WAAW,kBACf,SAAQ,iBAAiB,CAAC,oBAAoB,CAAC;CAAG;AAEpD,MAAM,WAAW,gCACf,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAAG"}
|
|
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { SearchSelectProps } from '../../../../components/Select/Single/SearchSelect/types';
|
|
3
3
|
import { SelectValue } from '../../../../components/Select/Single/shared/types';
|
|
4
4
|
declare const SearchSelect: {
|
|
5
|
-
<T extends SelectValue>({ label, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, inputOption, onSelect, displayValue, value, }: PropsWithChildren<SearchSelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
<T extends SelectValue>({ label, hiddenLabel, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, inputOption, onSelect, displayValue, value, }: PropsWithChildren<SearchSelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
Item: <T extends SelectValue>({ children, value, label, }: PropsWithChildren<import("../../../../components/Select/Single/SearchSelect/types").SearchSelectItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/SearchSelect/SearchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAKlF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,YAAY;KAAI,CAAC,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"SearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/SearchSelect/SearchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAKlF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,YAAY;KAAI,CAAC,SAAS,WAAW,sKAgBxC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;;;CAsCzC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputSearchProps } from '../../../../../components/Input';
|
|
2
2
|
import { SelectValue, SingleSelectBaseItemProps, SingleSelectBaseProps } from '../../../../../components/Select/Single/shared';
|
|
3
3
|
export interface SearchSelectProps<T extends SelectValue> extends Omit<SingleSelectBaseProps<T>, 'popoverWrapperClassName' | 'type'> {
|
|
4
|
-
inputOption?: Omit<InputSearchProps, 'rootClassName' | 'type'>;
|
|
4
|
+
inputOption?: Omit<InputSearchProps, 'rootClassName' | 'type' | 'hiddenLabel' | 'label'>;
|
|
5
5
|
}
|
|
6
6
|
export interface SearchSelectItemProps<T extends SelectValue> extends Pick<SingleSelectBaseItemProps<T>, 'value' | 'label'> {
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Single/SearchSelect/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,WAAW,CACtD,SAAQ,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,yBAAyB,GAAG,MAAM,CAAC;IAC1E,WAAW,CAAC,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Single/SearchSelect/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,WAAW,CACtD,SAAQ,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,yBAAyB,GAAG,MAAM,CAAC;IAC1E,WAAW,CAAC,EAAE,IAAI,CAChB,gBAAgB,EAChB,eAAe,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,CACnD,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,WAAW,CAC1D,SAAQ,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAAG"}
|
|
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { SelectProps } from '../../../../components/Select/Single/Select/types';
|
|
3
3
|
import { SelectValue } from '../../../../components/Select/Single/shared/types';
|
|
4
4
|
declare const Select: {
|
|
5
|
-
<T extends SelectValue>({ label, value, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, onSelect, displayValue, }: PropsWithChildren<SelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
<T extends SelectValue>({ label, value, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, hiddenLabel, onSelect, displayValue, }: PropsWithChildren<SelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
Item: <T extends SelectValue>({ children, value, label, }: PropsWithChildren<import("../../../../components/Select/Single/Select/types").SelectItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAKtE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,MAAM;KAAI,CAAC,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAKtE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,MAAM;KAAI,CAAC,SAAS,WAAW,yJAelC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;;;CAsBnC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { SelectValue, SingleSelectBaseProps } from '../../../../components/Select/Single/shared/types';
|
|
3
|
-
declare const SingleSelectBase: <T extends SelectValue>({ className, label, popoverOption, disabled, badge, feedback, required, isError, onSelect, value, displayValue, placeholder, type, children, popoverWrapperClassName, }: PropsWithChildren<SingleSelectBaseProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const SingleSelectBase: <T extends SelectValue>({ className, label, popoverOption, disabled, badge, feedback, required, isError, onSelect, value, displayValue, placeholder, type, children, popoverWrapperClassName, hiddenLabel, }: PropsWithChildren<SingleSelectBaseProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SingleSelectBase;
|
|
5
5
|
//# sourceMappingURL=SingleSelectBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SingleSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAKjD,OAAO,EACL,WAAW,EACX,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AAEjD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,WAAW,EAAE,sLAiB9C,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,4CA4C7C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { InputBaseProps } from '../../../../../components/Input';
|
|
2
3
|
import { SelectBaseLabelProps, SelectBasePopoverWrapperProps, SelectBaseProps, SelectLabelContextValue } from '../../../../../components/Select';
|
|
3
4
|
import { SelectBaseItemProps } from '../../../../../components/Select/shared/types';
|
|
4
5
|
export type SelectValue = string | number | null;
|
|
5
|
-
export interface SingleSelectBaseProps<T extends SelectValue> extends Pick<SelectBaseProps, 'className' | 'popoverOption' | 'disabled' | 'feedback' | 'required' | 'isError' | 'placeholder' | 'type'>, Pick<
|
|
6
|
-
label: string;
|
|
6
|
+
export interface SingleSelectBaseProps<T extends SelectValue> extends Pick<SelectBaseProps, 'className' | 'popoverOption' | 'disabled' | 'feedback' | 'required' | 'isError' | 'placeholder' | 'type'>, Pick<InputBaseProps, 'hiddenLabel'>, Pick<SelectBaseLabelProps, 'badge' | 'label'>, Pick<SingleSelectListContextValue<T>, 'onSelect' | 'value'>, Omit<SingleSelectBaseTriggerProps<T>, 'disabled'> {
|
|
7
7
|
popoverWrapperClassName: SelectBasePopoverWrapperProps['className'];
|
|
8
8
|
}
|
|
9
9
|
export interface SingleSelectBaseTriggerProps<T extends SelectValue> extends Pick<SingleSelectListContextValue<T>, 'onSelect'>, Pick<SelectBaseProps, 'disabled'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Single/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,WAAW,CAC1D,SAAQ,IAAI,CACR,eAAe,EACb,WAAW,GACX,eAAe,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,aAAa,GACb,MAAM,CACT,EACD,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Single/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,WAAW,CAC1D,SAAQ,IAAI,CACR,eAAe,EACb,WAAW,GACX,eAAe,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,aAAa,GACb,MAAM,CACT,EACD,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,EACnC,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,CAAC,EAC7C,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAC3D,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IACnD,uBAAuB,EAAE,6BAA6B,CAAC,WAAW,CAAC,CAAC;CACrE;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,WAAW,CACjE,SAAQ,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,EACvD,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACnC,YAAY,EAAE,WAAW,CAAC;CAC3B;AAED,MAAM,WAAW,6BAA6B,CAAC,CAAC,SAAS,WAAW,CAClE,SAAQ,4BAA4B,CAAC,CAAC,CAAC;CAAG;AAE5C,MAAM,WAAW,0BAA0B,CAAC,CAAC,SAAS,WAAW;IAC/D,KAAK,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,WAAW,CACjE,SAAQ,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,IAAI,CAAC,CAAC;IAC3D,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACvC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC1D,KAAK,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,WAAW,CAC9D,SAAQ,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EACpD,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC;CAAG"}
|
|
@@ -2,7 +2,7 @@ import { SelectBaseProps } from '../../../components/Select/shared/types';
|
|
|
2
2
|
declare const SelectBase: {
|
|
3
3
|
({ required, className, trigger, isError, placeholder, label, children, popoverOption, feedback, disabled, type, controls, labelId, }: SelectBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
|
-
Label: ({
|
|
5
|
+
Label: ({ label, hidden, badge, }: import("react").PropsWithChildren<import("../../../components/Select/shared/types").SelectBaseLabelProps>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
PopoverWrapper: ({ children, className, useMobile, }: import("react").PropsWithChildren<import("../../../components/Select/shared/types").SelectBasePopoverWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Item: ({ className, isSelected, children, onClick, label, }: import("react").PropsWithChildren<import("../../../components/Select/shared/types").SelectBaseItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBase.tsx"],"names":[],"mappings":"AASA,OAAO,EAEL,eAAe,EAChB,MAAM,kCAAkC,CAAC;AAI1C,QAAA,MAAM,UAAU;2IAcb,eAAe;;;;;CAsFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { SelectBaseLabelProps } from '../../../components/Select/shared/types';
|
|
3
|
-
declare const SelectBaseLabel: ({
|
|
3
|
+
declare const SelectBaseLabel: ({ label, hidden, badge, }: PropsWithChildren<SelectBaseLabelProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SelectBaseLabel;
|
|
5
5
|
//# sourceMappingURL=SelectBaseLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBaseLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseLabel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectBaseLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAGxE,QAAA,MAAM,eAAe,GAAI,2BAItB,iBAAiB,CAAC,oBAAoB,CAAC,4CAQzC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBaseTriggerWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseTriggerWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectBaseTriggerWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseTriggerWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAGjF,QAAA,MAAM,wBAAwB,GAAI,sCAI/B,iBAAiB,CAAC,6BAA6B,CAAC,4CA2ClD,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { IconProps } from '../../../../components/Icon';
|
|
3
|
+
import { InputBaseProps } from '../../../../components/Input';
|
|
3
4
|
import { PopoverProps } from '../../../../components/Popover';
|
|
4
5
|
import { SELECT_TYPE } from '../../../../components/Select/shared';
|
|
6
|
+
import { InputLabelProps } from '../../../../components/shared';
|
|
5
7
|
import { ComponentPropsRef } from '../../../../components/shared/types';
|
|
6
8
|
export type SelectType = (typeof SELECT_TYPE)[keyof typeof SELECT_TYPE];
|
|
7
9
|
export interface SelectBaseChildrenProps {
|
|
8
10
|
close: () => void;
|
|
9
11
|
}
|
|
10
12
|
export interface SelectBaseProps extends Pick<SelectLabelContextValue, 'required'>, Pick<HTMLAttributes<HTMLDivElement>, 'className'>, Pick<PopoverProps, 'trigger'>, Pick<SelectTriggerContextValue, 'isError' | 'placeholder'> {
|
|
11
|
-
label
|
|
13
|
+
label?: ReactNode;
|
|
12
14
|
children: ((props: SelectBaseChildrenProps) => ReactNode) | ReactNode;
|
|
13
15
|
popoverOption?: Omit<PopoverProps, 'trigger' | 'isOpen' | 'offset'>;
|
|
14
16
|
feedback?: string;
|
|
@@ -17,8 +19,7 @@ export interface SelectBaseProps extends Pick<SelectLabelContextValue, 'required
|
|
|
17
19
|
controls: Required<HTMLAttributes<HTMLDivElement>['aria-controls']>;
|
|
18
20
|
labelId: SelectLabelContextValue['id'];
|
|
19
21
|
}
|
|
20
|
-
export interface SelectBaseLabelProps {
|
|
21
|
-
badge?: ReactNode;
|
|
22
|
+
export interface SelectBaseLabelProps extends Pick<InputBaseProps, 'label'>, Pick<InputLabelProps, 'badge' | 'hidden'> {
|
|
22
23
|
}
|
|
23
24
|
export interface SelectBaseTriggerWrapperProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
24
25
|
subFixIcon?: ReactElement<IconProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAExE,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC,EAC/C,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC,EACjD,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,EAC7B,IAAI,CAAC,yBAAyB,EAAE,SAAS,GAAG,aAAa,CAAC;IAC5D,KAAK,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","s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AO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,uBACf,SAAQ,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,IAAI,CAAC,CAAC;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,0BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { SortProps } from '../../components/Sort/types';
|
|
3
3
|
declare const Sort: {
|
|
4
|
-
({ value, displayValue,
|
|
4
|
+
({ value, displayValue, label, children, disabled, popoverOption, onSelect, className, }: PropsWithChildren<SortProps>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
Item: <T extends import("../../components/Sort/types").SortValue>({ value, label, children, }: PropsWithChildren<import("../../components/Sort/types").SortItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sort.d.ts","sourceRoot":"","sources":["../../../src/components/Sort/Sort.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,QAAA,MAAM,IAAI;
|
|
1
|
+
{"version":3,"file":"Sort.d.ts","sourceRoot":"","sources":["../../../src/components/Sort/Sort.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,QAAA,MAAM,IAAI;8FASP,iBAAiB,CAAC,SAAS,CAAC;;;CA8B9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Sort/SortTrigger.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG3D,QAAA,MAAM,WAAW,GAAI,6BAA6B,gBAAgB,
|
|
1
|
+
{"version":3,"file":"SortTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Sort/SortTrigger.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG3D,QAAA,MAAM,WAAW,GAAI,6BAA6B,gBAAgB,4CAkDjE,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { SelectValue, SingleSelectBaseItemProps, SingleSelectBaseProps, SingleSelectOnSelectParams } from '../../../components/Select';
|
|
3
3
|
export type SortValue = SelectValue;
|
|
4
|
-
export interface SortProps extends Pick<SingleSelectBaseProps<SortValue>, 'value' | 'disabled' | 'popoverOption' | 'onSelect' | 'displayValue' | 'className' | 'label'
|
|
4
|
+
export interface SortProps extends Pick<SingleSelectBaseProps<SortValue>, 'value' | 'disabled' | 'popoverOption' | 'onSelect' | 'displayValue' | 'className' | 'label'> {
|
|
5
5
|
}
|
|
6
6
|
export interface SortOnSelectParams<T extends SortValue> extends SingleSelectOnSelectParams<T> {
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sort/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sort/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAEL,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC;AAEpC,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,qBAAqB,CAAC,SAAS,CAAC,EAC9B,OAAO,GACP,UAAU,GACV,eAAe,GACf,UAAU,GACV,cAAc,GACd,WAAW,GACX,OAAO,CACV;CAAG;AAEN,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,SAAS,CACrD,SAAQ,0BAA0B,CAAC,CAAC,CAAC;CAAG;AAE1C,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC,EACvD,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC;CAAG;AAEtC,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,SAAS,CAChD,SAAQ,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAAG"}
|
|
@@ -15,7 +15,7 @@ declare const Table: {
|
|
|
15
15
|
Button: ({ items }: import("../../components/Table/types").TableCellButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
IconButton: ({ items }: import("../../components/Table/types").TableCellIconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
};
|
|
18
|
-
InputCell: ({ value, name, type, isError, feedback, onChange, regCallback, className, ...rest }: import("../../components/Table/types").TableInputCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
InputCell: ({ value, name, type, isError, feedback, onChange, regCallback, className, maxLength, ...rest }: import("../../components/Table/types").TableInputCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
export default Table;
|
|
21
21
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TableInputCellProps } from '../../components/Table/types';
|
|
2
|
-
declare const TableInputCell: ({ value, name, type, isError, feedback, onChange, regCallback, className, ...rest }: TableInputCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const TableInputCell: ({ value, name, type, isError, feedback, onChange, regCallback, className, maxLength, ...rest }: TableInputCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TableInputCell;
|
|
4
4
|
//# sourceMappingURL=TableInputCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableInputCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableInputCell.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"TableInputCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableInputCell.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAI/D,QAAA,MAAM,cAAc,GAAI,gGAWrB,mBAAmB,4CAwCrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -19,7 +19,7 @@ export interface TableCellProps extends PropsWithChildren, Pick<HTMLAttributes<H
|
|
|
19
19
|
role?: TableCellRole;
|
|
20
20
|
isFixedLeft?: boolean;
|
|
21
21
|
}
|
|
22
|
-
export interface TableInputCellProps extends TableCellProps, Pick<InputFieldProps, 'value' | 'onChange' | 'isError' | 'feedback' | 'disabled' | 'readOnly' | 'autoComplete' | 'name' | 'regCallback' | 'type' | 'placeholder'> {
|
|
22
|
+
export interface TableInputCellProps extends TableCellProps, Pick<InputFieldProps, 'value' | 'onChange' | 'isError' | 'feedback' | 'disabled' | 'readOnly' | 'autoComplete' | 'name' | 'regCallback' | 'type' | 'placeholder' | 'maxLength'> {
|
|
23
23
|
}
|
|
24
24
|
export interface TableCellButtonProps {
|
|
25
25
|
items: Omit<ButtonProps, 'size' | 'variant'>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACb,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,cACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACnD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,mBACf,SAAQ,cAAc,EACpB,IAAI,CACF,eAAe,EACb,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,cAAc,GACd,MAAM,GACN,aAAa,GACb,MAAM,GACN,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACb,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,cACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACnD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,mBACf,SAAQ,cAAc,EACpB,IAAI,CACF,eAAe,EACb,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,cAAc,GACd,MAAM,GACN,aAAa,GACb,MAAM,GACN,aAAa,GACb,WAAW,CACd;CAAG;AAER,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC;CAClD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ToggleProps } from '../../components/Toggle/types';
|
|
2
|
-
declare const Toggle: ({ size, checked, disabled, label, labelColor, labelClassName, className, onChange, }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Toggle: ({ size, checked, disabled, label, labelColor, labelClassName, className, name, onChange, }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Toggle;
|
|
4
4
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGxD,QAAA,MAAM,MAAM,GAAI,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGxD,QAAA,MAAM,MAAM,GAAI,4FAUb,WAAW,4CAoCb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { HTMLAttributes, InputHTMLAttributes } from 'react';
|
|
|
2
2
|
import { TOGGLE_SIZES } from '../../../components/Toggle/constants';
|
|
3
3
|
import { ColorVariants } from '../../../variants';
|
|
4
4
|
export type ToggleSize = (typeof TOGGLE_SIZES)[keyof typeof TOGGLE_SIZES];
|
|
5
|
-
export interface ToggleProps extends Pick<InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'className'>, Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'checked' | 'onChange'>> {
|
|
5
|
+
export interface ToggleProps extends Pick<InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'className' | 'name'>, Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'checked' | 'onChange'>> {
|
|
6
6
|
size?: ToggleSize;
|
|
7
7
|
label?: string;
|
|
8
8
|
labelColor?: ToggleLabelProps['color'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toggle/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,WAAW,WACf,SAAQ,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toggle/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,WAAW,WACf,SAAQ,IAAI,CACR,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,UAAU,GAAG,WAAW,GAAG,MAAM,CAClC,EACD,QAAQ,CACN,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC,CACpE;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;CAChD;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;CAAG;AAE/E,MAAM,WAAW,gBACf,SAAQ,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,EACnD,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,WAAW,CAAC;IACpD,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,OAAO,GAAG,SAAS,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { TYPOGRAPHY_ELEMENTS } from '../../components/Typography/constants';
|
|
3
3
|
import { TypographyElementType, TypographyProps } from '../../components/Typography/types';
|
|
4
|
-
declare const Typography: <T extends TypographyElementType = typeof TYPOGRAPHY_ELEMENTS.SPAN>({ as, variant, color, className, children, title, id, ariaLive, role, }: PropsWithChildren<TypographyProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const Typography: <T extends TypographyElementType = typeof TYPOGRAPHY_ELEMENTS.SPAN>({ as, variant, color, className, children, title, id, hidden, "aria-live": ariaLive, role, }: PropsWithChildren<TypographyProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default Typography;
|
|
6
6
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EACL,qBAAqB,EACrB,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAGvC,QAAA,MAAM,UAAU,GACd,CAAC,SAAS,qBAAqB,GAAG,OAAO,mBAAmB,CAAC,IAAI,EACjE,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EACL,qBAAqB,EACrB,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAGvC,QAAA,MAAM,UAAU,GACd,CAAC,SAAS,qBAAqB,GAAG,OAAO,mBAAmB,CAAC,IAAI,EACjE,8FAWC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,4CAmBvC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -3,10 +3,9 @@ import { TYPOGRAPHY_ELEMENTS } from '../../../components/Typography/constants';
|
|
|
3
3
|
import { ColorVariants, TypographyVariants } from '../../../variants';
|
|
4
4
|
export type TypographyElements = (typeof TYPOGRAPHY_ELEMENTS)[keyof typeof TYPOGRAPHY_ELEMENTS];
|
|
5
5
|
export type TypographyElementType = Extract<ElementType, TypographyElements>;
|
|
6
|
-
export interface TypographyProps<T extends TypographyElementType = typeof TYPOGRAPHY_ELEMENTS.SPAN> extends Pick<HTMLAttributes<T>, 'className' | 'title' | 'id' | 'role'>, RefAttributes<HTMLElement> {
|
|
6
|
+
export interface TypographyProps<T extends TypographyElementType = typeof TYPOGRAPHY_ELEMENTS.SPAN> extends Pick<HTMLAttributes<T>, 'className' | 'title' | 'id' | 'role' | 'hidden' | 'aria-live'>, RefAttributes<HTMLElement> {
|
|
7
7
|
as?: T;
|
|
8
8
|
variant?: TypographyVariants;
|
|
9
9
|
color?: ColorVariants;
|
|
10
|
-
ariaLive?: HTMLAttributes<T>['aria-live'];
|
|
11
10
|
}
|
|
12
11
|
//# sourceMappingURL=index.d.ts.map
|