@bbodek/internal-ui 0.0.33 → 0.0.35
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/components/Calendar/Calendar.d.ts +4 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarDay.d.ts +4 -0
- package/dist/components/Calendar/CalendarDay.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarEmptyDay.d.ts +3 -0
- package/dist/components/Calendar/CalendarEmptyDay.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarMonth.d.ts +4 -0
- package/dist/components/Calendar/CalendarMonth.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarMonthly.d.ts +5 -0
- package/dist/components/Calendar/CalendarMonthly.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarMonthlyRow.d.ts +4 -0
- package/dist/components/Calendar/CalendarMonthlyRow.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarNavigator.d.ts +4 -0
- package/dist/components/Calendar/CalendarNavigator.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarWeek.d.ts +4 -0
- package/dist/components/Calendar/CalendarWeek.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarWeekly.d.ts +4 -0
- package/dist/components/Calendar/CalendarWeekly.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarWeeks.d.ts +3 -0
- package/dist/components/Calendar/CalendarWeeks.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarYear.d.ts +4 -0
- package/dist/components/Calendar/CalendarYear.d.ts.map +1 -0
- package/dist/components/Calendar/constants/index.d.ts +75 -0
- package/dist/components/Calendar/constants/index.d.ts.map +1 -0
- package/dist/components/Calendar/context/index.d.ts +2 -0
- package/dist/components/Calendar/context/index.d.ts.map +1 -0
- package/dist/components/Calendar/context/useCalendarContext.d.ts +5 -0
- package/dist/components/Calendar/context/useCalendarContext.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/effects/index.d.ts +3 -0
- package/dist/components/Calendar/hooks/effects/index.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/effects/useCalendarInitialScrollEffect.d.ts +4 -0
- package/dist/components/Calendar/hooks/effects/useCalendarInitialScrollEffect.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/effects/useCalendarSyncExternalValueEffect.d.ts +4 -0
- package/dist/components/Calendar/hooks/effects/useCalendarSyncExternalValueEffect.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/index.d.ts +2 -0
- package/dist/components/Calendar/hooks/index.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/useCalendar.d.ts +4 -0
- package/dist/components/Calendar/hooks/useCalendar.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/useCalendarDays.d.ts +4 -0
- package/dist/components/Calendar/hooks/useCalendarDays.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/useCalendarHandlers.d.ts +4 -0
- package/dist/components/Calendar/hooks/useCalendarHandlers.d.ts.map +1 -0
- package/dist/components/Calendar/hooks/useCalendarValidUtils.d.ts +12 -0
- package/dist/components/Calendar/hooks/useCalendarValidUtils.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +6 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/types/index.d.ts +125 -0
- package/dist/components/Calendar/types/index.d.ts.map +1 -0
- package/dist/components/Calendar/utils/getDayVariant.d.ts +3 -0
- package/dist/components/Calendar/utils/getDayVariant.d.ts.map +1 -0
- package/dist/components/Calendar/utils/index.d.ts +2 -0
- package/dist/components/Calendar/utils/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePickerSelectButton.d.ts +4 -0
- package/dist/components/DatePicker/DatePickerSelectButton.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePickerTrigger.d.ts +3 -0
- package/dist/components/DatePicker/DatePickerTrigger.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +3 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/DatePicker/types/index.d.ts +11 -0
- package/dist/components/DatePicker/types/index.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/index.d.ts +2 -0
- package/dist/components/DatePicker/utils/index.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/isValidDateOfVariant.d.ts +3 -0
- package/dist/components/DatePicker/utils/isValidDateOfVariant.d.ts.map +1 -0
- 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/InputPassword/InputPasswordRules.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 -2
- package/dist/components/Input/TextArea/types/index.d.ts.map +1 -1
- package/dist/components/Input/shared/Input.d.ts +1 -1
- package/dist/components/Input/shared/Input.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/hooks/useInputChange.d.ts +2 -2
- package/dist/components/Input/shared/hooks/useInputChange.d.ts.map +1 -1
- package/dist/components/Input/shared/types/index.d.ts +5 -4
- package/dist/components/Input/shared/types/index.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/types/index.d.ts +1 -1
- package/dist/components/Select/Multi/MultiSearchSelect/types/index.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/MultiSelectBase.d.ts +1 -1
- package/dist/components/Select/Multi/shared/MultiSelectBase.d.ts.map +1 -1
- package/dist/components/Select/Multi/shared/types/index.d.ts +2 -2
- package/dist/components/Select/Multi/shared/types/index.d.ts.map +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/SingleSelectBaseTrigger.d.ts +2 -2
- package/dist/components/Select/Single/shared/SingleSelectBaseTrigger.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/types/index.d.ts +2 -3
- package/dist/components/Select/Single/shared/types/index.d.ts.map +1 -1
- package/dist/components/Select/shared/SelectBase.d.ts +2 -2
- package/dist/components/Select/shared/SelectBase.d.ts.map +1 -1
- package/dist/components/Select/shared/SelectBaseDisplayValue.d.ts +4 -0
- package/dist/components/Select/shared/SelectBaseDisplayValue.d.ts.map +1 -0
- 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/SelectBasePopoverWrapper.d.ts +1 -1
- package/dist/components/Select/shared/SelectBasePopoverWrapper.d.ts.map +1 -1
- package/dist/components/Select/shared/SelectBaseResetButton.d.ts +4 -0
- package/dist/components/Select/shared/SelectBaseResetButton.d.ts.map +1 -0
- package/dist/components/Select/shared/SelectBaseTriggerWrapper.d.ts +1 -1
- package/dist/components/Select/shared/SelectBaseTriggerWrapper.d.ts.map +1 -1
- package/dist/components/Select/shared/types/index.d.ts +12 -3
- package/dist/components/Select/shared/types/index.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/SkeletonTheme.d.ts +4 -0
- package/dist/components/Skeleton/SkeletonTheme.d.ts.map +1 -0
- package/dist/components/Skeleton/constants/index.d.ts +4 -0
- package/dist/components/Skeleton/constants/index.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +4 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Skeleton/types/index.d.ts +7 -0
- package/dist/components/Skeleton/types/index.d.ts.map +1 -0
- package/dist/components/Sort/types/index.d.ts +2 -2
- package/dist/components/Sort/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 -0
- 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 +5 -0
- package/dist/components/shared/components/InputWrapper/types/index.d.ts.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +13 -12
- package/src/styles/globals.css +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { InputSearchProps } from '../../../components/Input/InputSearch/types';
|
|
2
|
-
declare const InputSearch: ({ label, feedback, badge, isError, required,
|
|
2
|
+
declare const InputSearch: ({ label, hiddenLabel, feedback, badge, isError, required, className, value, name, autoComplete, disabled, readOnly, onChange, regCallback, onSubmit, ...rest }: InputSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default InputSearch;
|
|
4
4
|
//# sourceMappingURL=InputSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/InputSearch/InputSearch.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAMxE,QAAA,MAAM,WAAW,GAAI,
|
|
1
|
+
{"version":3,"file":"InputSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/InputSearch/InputSearch.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAMxE,QAAA,MAAM,WAAW,GAAI,gKAiBlB,gBAAgB,4CAyDlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TextAreaProps } from '../../../components/Input/TextArea/types';
|
|
2
|
-
declare const TextArea: ({ label, feedback, badge, isError, required,
|
|
2
|
+
declare const TextArea: ({ label, feedback, badge, isError, required, value, name, onChange, regCallback, className, disabled, readOnly, maxLength, hiddenLabel, ...rest }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TextArea;
|
|
4
4
|
//# sourceMappingURL=TextArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/TextArea/TextArea.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/TextArea/TextArea.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAIlE,QAAA,MAAM,QAAQ,GAAI,mJAgBf,aAAa,4CAgEf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { INPUT_ELEMENTS } from '../../../../components/Input/shared';
|
|
2
2
|
import { InputBaseProps, InputProps, UseInputChangeProps } from '../../../../components/Input/shared/types';
|
|
3
|
-
export interface TextAreaProps extends Pick<InputBaseProps, 'label' | 'feedback' | 'isError' | 'required' | 'badge'>, Pick<InputProps<typeof INPUT_ELEMENTS.TEXTAREA, HTMLTextAreaElement>, 'id' | 'required' | 'value' | 'className' | 'placeholder' | 'disabled' | 'readOnly' | 'name' | 'autoComplete' | 'onChange' | 'ref'
|
|
4
|
-
rootClassName?: InputBaseProps['className'];
|
|
3
|
+
export interface TextAreaProps extends Pick<InputBaseProps, 'label' | 'feedback' | 'isError' | 'required' | 'badge' | 'hiddenLabel' | 'className'>, Pick<InputProps<typeof INPUT_ELEMENTS.TEXTAREA, HTMLTextAreaElement>, 'id' | 'required' | 'value' | 'className' | 'placeholder' | 'disabled' | 'readOnly' | 'name' | 'autoComplete' | 'onChange' | 'ref'>, Pick<UseInputChangeProps<typeof INPUT_ELEMENTS.TEXTAREA, HTMLTextAreaElement>, 'regCallback'> {
|
|
5
4
|
maxLength?: number;
|
|
6
5
|
}
|
|
7
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/TextArea/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,cAAc,EACd,UAAU,EACV,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,aACf,SAAQ,IAAI,CACR,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/TextArea/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,cAAc,EACd,UAAU,EACV,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,aACf,SAAQ,IAAI,CACR,cAAc,EACZ,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CACd,EACD,IAAI,CACF,UAAU,CAAC,OAAO,cAAc,CAAC,QAAQ,EAAE,mBAAmB,CAAC,EAC7D,IAAI,GACJ,UAAU,GACV,OAAO,GACP,WAAW,GACX,aAAa,GACb,UAAU,GACV,UAAU,GACV,MAAM,GACN,cAAc,GACd,UAAU,GACV,KAAK,CACR,EACD,IAAI,CACF,mBAAmB,CAAC,OAAO,cAAc,CAAC,QAAQ,EAAE,mBAAmB,CAAC,EACxE,aAAa,CACd;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { InputElement, InputElementType, InputProps } from '../../../components/Input/shared/types';
|
|
2
|
-
declare const Input: <T extends InputElementType, P extends InputElement<T>>({ as,
|
|
2
|
+
declare const Input: <T extends InputElementType, P extends InputElement<T>>({ as, value, variant, addonEnd, popover, isFocused, setIsFocused, onReset, ref, className, required, disabled, readOnly, inputClassName, placeholder, ...props }: InputProps<T, P>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Input;
|
|
4
4
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/shared/Input.tsx"],"names":[],"mappings":"AAUA,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACX,MAAM,iCAAiC,CAAC;AAOzC,QAAA,MAAM,KAAK,GAAI,CAAC,SAAS,gBAAgB,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/shared/Input.tsx"],"names":[],"mappings":"AAUA,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACX,MAAM,iCAAiC,CAAC;AAOzC,QAAA,MAAM,KAAK,GAAI,CAAC,SAAS,gBAAgB,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,kKAiBnE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,4CAwElB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { InputBaseProps } from '../../../components/Input/shared/types';
|
|
3
|
-
declare const InputBase: ({ id, value, label, feedback, isError, required, badge, children, className, onSubmit, }: PropsWithChildren<InputBaseProps>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const InputBase: ({ id, value, label, hiddenLabel, feedback, isError, required, badge, children, className, onSubmit, }: PropsWithChildren<InputBaseProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default InputBase;
|
|
5
5
|
//# sourceMappingURL=InputBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/shared/InputBase.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"InputBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/shared/InputBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIjE,QAAA,MAAM,SAAS,GAAI,uGAYhB,iBAAiB,CAAC,cAAc,CAAC,4CA6CnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InputElement, InputElementType, UseInputChangeProps } from '../../../../components/Input/shared/types';
|
|
2
1
|
import { ChangeEvent } from 'react';
|
|
2
|
+
import { InputElement, InputElementType, UseInputChangeProps } from '../../../../components/Input/shared/types';
|
|
3
3
|
declare const useInputChange: <T extends InputElementType, P extends InputElement<T>>({ value, name, onChange, regCallback, }: UseInputChangeProps<T, P>) => {
|
|
4
|
-
inputValue: string |
|
|
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,yCAK5E,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC;;sBAIrB,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC;;CA2BzD,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,10 +13,10 @@ 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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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'];
|
|
19
|
+
value: string | null;
|
|
19
20
|
feedback?: string;
|
|
20
21
|
onSubmit?: (e: FormEvent<HTMLFormElement>) => void;
|
|
21
22
|
}
|
|
@@ -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,GACjC,gBAAgB,GAChB,mBAAmB,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC,EACvD,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC,EAClC,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,IAAI,GAAG,UAAU,CAAC;IAChE,KAAK,
|
|
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;A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,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,MAAM,CAAC;IAC7D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACzC;AAED,MAAM,WAAW,oBACf,SAAQ,IAAI,CACR,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,CAC9C,EACD,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,QAAQ,CAAC;IACvC,SAAS,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,YAAY,CAAC,CAAC;CAClE"}
|
|
@@ -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":"
|
|
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,4CAyD3B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChipProps } from '../../../../../components/Chip';
|
|
2
2
|
import { MultiSelectBaseListItemProps, MultiSelectBaseProps, MultiSelectBaseProviderProps, MultiSelectBaseResultPanelProps, MultiSelectBaseValue } from '../../../../../components/Select/Multi/shared';
|
|
3
3
|
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<SelectBaseProps, '
|
|
4
|
+
export interface MultiSearchSelectProps<T extends MultiSelectBaseValue> extends Pick<MultiSelectBaseProps, 'inputOption'>, Pick<MultiSelectBaseProviderProps<T>, 'options' | 'value' | 'onChange'>, Pick<SelectBaseProps, 'disabled' | 'feedback' | 'required' | 'isError' | 'placeholder' | 'className'>, Pick<SelectBaseLabelProps, 'hiddenLabel' | 'label'>, Pick<SelectBaseLabelProps, 'badge'> {
|
|
5
5
|
popoverOption?: Omit<SelectBaseProps['popoverOption'], 'useClickOutsideEvent'>;
|
|
6
6
|
}
|
|
7
7
|
export interface MultiSearchSelectListHeaderProps extends Pick<MultiSelectBaseResultPanelProps, 'count'> {
|
|
@@ -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,eAAe,EACb,
|
|
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,eAAe,EACb,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,aAAa,GACb,WAAW,CACd,EACD,IAAI,CAAC,oBAAoB,EAAE,aAAa,GAAG,OAAO,CAAC,EACnD,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACrC,aAAa,CAAC,EAAE,IAAI,CAClB,eAAe,CAAC,eAAe,CAAC,EAChC,sBAAsB,CACvB,CAAC;CACH;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,4 +1,4 @@
|
|
|
1
1
|
import { MultiSelectBaseProps } from '../../../../components/Select/Multi/shared/types';
|
|
2
|
-
declare const MultiSelectBase: ({ labelId, searchPanel, selectedPanel, inputOption, }: MultiSelectBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MultiSelectBase: ({ className, labelId, searchPanel, selectedPanel, inputOption, }: MultiSelectBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MultiSelectBase;
|
|
4
4
|
//# sourceMappingURL=MultiSelectBase.d.ts.map
|
|
@@ -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":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,QAAA,MAAM,eAAe,GAAI,kEAMtB,oBAAoB,4CAiCtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -13,10 +13,10 @@ export interface MultiSelectBaseResultPanelProps extends Pick<HTMLAttributes<HTM
|
|
|
13
13
|
}
|
|
14
14
|
export interface MultiSelectBaseListHeaderProps extends Pick<MultiSelectBaseResultPanelProps, 'count'> {
|
|
15
15
|
}
|
|
16
|
-
export interface MultiSelectBaseProps extends Pick<SelectBaseProps, 'labelId'> {
|
|
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;
|
|
@@ -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,
|
|
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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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,yJAexC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;;;
|
|
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,yJAexC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;;;CAqCzC,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":"AAAA,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,
|
|
1
|
+
{"version":3,"file":"SingleSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBase.tsx"],"names":[],"mappings":"AAAA,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,4CA8C7C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SingleSelectBaseTriggerProps } from '../../../../components/Select/Single/shared/types';
|
|
2
|
-
declare const SingleSelectBaseTrigger: ({ displayValue, }: SingleSelectBaseTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { SelectValue, SingleSelectBaseTriggerProps } from '../../../../components/Select/Single/shared/types';
|
|
2
|
+
declare const SingleSelectBaseTrigger: <T extends SelectValue>({ displayValue, disabled, onSelect, }: SingleSelectBaseTriggerProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SingleSelectBaseTrigger;
|
|
4
4
|
//# sourceMappingURL=SingleSelectBaseTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleSelectBaseTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBaseTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SingleSelectBaseTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBaseTrigger.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,4BAA4B,EAC7B,MAAM,yCAAyC,CAAC;AAEjD,QAAA,MAAM,uBAAuB,GAAI,CAAC,SAAS,WAAW,EAAE,uCAIrD,4BAA4B,CAAC,CAAC,CAAC,4CAiBjC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -2,11 +2,10 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
import { SelectBaseLabelProps, SelectBasePopoverWrapperProps, SelectBaseProps, SelectLabelContextValue } from '../../../../../components/Select';
|
|
3
3
|
import { SelectBaseItemProps } from '../../../../../components/Select/shared/types';
|
|
4
4
|
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<SingleSelectListContextValue<T>, 'onSelect' | 'value'>, Pick<SelectBaseLabelProps, 'badge'>, SingleSelectBaseTriggerProps {
|
|
6
|
-
label: string;
|
|
5
|
+
export interface SingleSelectBaseProps<T extends SelectValue> extends Pick<SelectBaseProps, 'className' | 'popoverOption' | 'disabled' | 'feedback' | 'required' | 'isError' | 'placeholder' | 'type'>, Pick<SelectBaseLabelProps, 'hiddenLabel' | 'label'>, Pick<SingleSelectListContextValue<T>, 'onSelect' | 'value'>, Pick<SelectBaseLabelProps, 'badge'>, Omit<SingleSelectBaseTriggerProps<T>, 'disabled'> {
|
|
7
6
|
popoverWrapperClassName: SelectBasePopoverWrapperProps['className'];
|
|
8
7
|
}
|
|
9
|
-
export interface SingleSelectBaseTriggerProps {
|
|
8
|
+
export interface SingleSelectBaseTriggerProps<T extends SelectValue> extends Pick<SingleSelectListContextValue<T>, 'onSelect'>, Pick<SelectBaseProps, 'disabled'> {
|
|
10
9
|
displayValue: SelectValue;
|
|
11
10
|
}
|
|
12
11
|
export interface SingleSelectListProviderProps<T extends SelectValue> extends SingleSelectListContextValue<T> {
|
|
@@ -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,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAC3D,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,EACnC,4BAA4B
|
|
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,oBAAoB,EAAE,aAAa,GAAG,OAAO,CAAC,EACnD,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAC3D,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,EACnC,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,8 +2,8 @@ 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: ({
|
|
6
|
-
PopoverWrapper: ({ children, className, }: import("react").PropsWithChildren<import("../../../components/Select/shared/types").SelectBasePopoverWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
Label: ({ label, hiddenLabel, badge, }: import("react").PropsWithChildren<import("../../../components/Select/shared/types").SelectBaseLabelProps>) => import("react/jsx-runtime").JSX.Element;
|
|
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
|
};
|
|
9
9
|
export default SelectBase;
|
|
@@ -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;;;;;CAoFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SelectBaseDisplayValueProps } from '../../../components/Select/shared/types';
|
|
2
|
+
declare const SelectBaseDisplayValue: ({ displayValue, hasValue, }: SelectBaseDisplayValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SelectBaseDisplayValue;
|
|
4
|
+
//# sourceMappingURL=SelectBaseDisplayValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectBaseDisplayValue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseDisplayValue.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAI/E,QAAA,MAAM,sBAAsB,GAAI,6BAG7B,2BAA2B,4CAgB7B,CAAC;AAEF,eAAe,sBAAsB,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, hiddenLabel, 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,gCAItB,iBAAiB,CAAC,oBAAoB,CAAC,4CAQzC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { SelectBasePopoverWrapperProps } from '../../../components/Select/shared/types';
|
|
3
|
-
declare const SelectBasePopoverWrapper: ({ children, className, }: PropsWithChildren<SelectBasePopoverWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const SelectBasePopoverWrapper: ({ children, className, useMobile, }: PropsWithChildren<SelectBasePopoverWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SelectBasePopoverWrapper;
|
|
5
5
|
//# sourceMappingURL=SelectBasePopoverWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBasePopoverWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBasePopoverWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,QAAA,MAAM,wBAAwB,GAAI,
|
|
1
|
+
{"version":3,"file":"SelectBasePopoverWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBasePopoverWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,QAAA,MAAM,wBAAwB,GAAI,qCAI/B,iBAAiB,CAAC,6BAA6B,CAAC,4CAalD,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SelectBaseResetButtonProps } from '../../../components/Select/shared/types';
|
|
2
|
+
declare const SelectBaseResetButton: ({ onClick }: SelectBaseResetButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SelectBaseResetButton;
|
|
4
|
+
//# sourceMappingURL=SelectBaseResetButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectBaseResetButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseResetButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,QAAA,MAAM,qBAAqB,GAAI,aAAa,0BAA0B,4CAqBrE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { SelectBaseTriggerWrapperProps } from '../../../components/Select/shared/types';
|
|
3
|
-
declare const SelectBaseTriggerWrapper: ({ children, className, }: PropsWithChildren<SelectBaseTriggerWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const SelectBaseTriggerWrapper: ({ children, className, subFixIcon, }: PropsWithChildren<SelectBaseTriggerWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SelectBaseTriggerWrapper;
|
|
5
5
|
//# sourceMappingURL=SelectBaseTriggerWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBaseTriggerWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/shared/SelectBaseTriggerWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
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,4 +1,6 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
1
|
+
import { HTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { IconProps } from '../../../../components/Icon';
|
|
3
|
+
import { InputBaseProps } from '../../../../components/Input';
|
|
2
4
|
import { PopoverProps } from '../../../../components/Popover';
|
|
3
5
|
import { SELECT_TYPE } from '../../../../components/Select/shared';
|
|
4
6
|
import { ComponentPropsRef } from '../../../../components/shared/types';
|
|
@@ -16,14 +18,19 @@ export interface SelectBaseProps extends Pick<SelectLabelContextValue, 'required
|
|
|
16
18
|
controls: Required<HTMLAttributes<HTMLDivElement>['aria-controls']>;
|
|
17
19
|
labelId: SelectLabelContextValue['id'];
|
|
18
20
|
}
|
|
19
|
-
export interface SelectBaseLabelProps {
|
|
20
|
-
badge?: ReactNode;
|
|
21
|
+
export interface SelectBaseLabelProps extends Pick<InputBaseProps, 'badge' | 'hiddenLabel' | 'label'> {
|
|
21
22
|
}
|
|
22
23
|
export interface SelectBaseTriggerWrapperProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
24
|
+
subFixIcon?: ReactElement<IconProps>;
|
|
25
|
+
}
|
|
26
|
+
export interface SelectBaseDisplayValueProps {
|
|
27
|
+
displayValue: string | number | null;
|
|
28
|
+
hasValue: boolean;
|
|
23
29
|
}
|
|
24
30
|
export interface SelectBaseFeedbackProps extends Required<Pick<HTMLAttributes<HTMLDivElement>, 'id'>> {
|
|
25
31
|
}
|
|
26
32
|
export interface SelectBasePopoverWrapperProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
33
|
+
useMobile?: boolean;
|
|
27
34
|
}
|
|
28
35
|
export interface SelectBaseAriaAttributes extends Pick<HTMLAttributes<HTMLDivElement>, 'aria-haspopup' | 'aria-expanded' | 'aria-controls' | 'aria-labelledby' | 'aria-describedby' | 'role' | 'aria-multiselectable' | 'aria-autocomplete'> {
|
|
29
36
|
}
|
|
@@ -46,4 +53,6 @@ export interface SelectLabelProviderProps extends SelectLabelContextValue {
|
|
|
46
53
|
export interface SelectLabelContextValue extends Required<Pick<HTMLAttributes<HTMLSpanElement>, 'id'>> {
|
|
47
54
|
required?: boolean;
|
|
48
55
|
}
|
|
56
|
+
export interface SelectBaseResetButtonProps extends Pick<HTMLAttributes<HTMLButtonElement>, 'onClick'> {
|
|
57
|
+
}
|
|
49
58
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
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,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,C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-0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,QAAA,MAAM,QAAQ,GAAI,gDAIf,aAAa,4CAUf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkeletonTheme.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/SkeletonTheme.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,QAAA,MAAM,aAAa,GAAI,sCAIpB,kBAAkB,4CAWpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Skeleton/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAE7D,eAAO,MAAM,wBAAwB,4BAA4B,CAAC;AAElE,eAAO,MAAM,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkeletonProps as ReactSkeletonProps, SkeletonThemeProps as ReactSkeletonThemeProps, SkeletonStyleProps } from 'react-loading-skeleton';
|
|
2
|
+
export type SkeletonExcludeProps = Extract<keyof SkeletonStyleProps, 'baseColor' | 'highlightColor' | 'duration' | 'direction' | 'enableAnimation' | 'customHighlightBackground'>;
|
|
3
|
+
export interface SkeletonProps extends Omit<ReactSkeletonProps, SkeletonExcludeProps> {
|
|
4
|
+
}
|
|
5
|
+
export interface SkeletonThemeProps extends Omit<ReactSkeletonThemeProps, SkeletonExcludeProps> {
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Skeleton/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,kBAAkB,EACnC,kBAAkB,IAAI,uBAAuB,EAC7C,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,MAAM,kBAAkB,EACtB,WAAW,GACX,gBAAgB,GAChB,UAAU,GACV,WAAW,GACX,iBAAiB,GACjB,2BAA2B,CAC9B,CAAC;AAEF,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,oBAAoB,CAAC;CAAG;AAE3D,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,uBAAuB,EAAE,oBAAoB,CAAC;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { SelectValue, SingleSelectBaseItemProps, SingleSelectBaseProps, SingleSelectOnSelectParams } from '../../../components/Select';
|
|
2
|
+
import { SelectBaseLabelProps, 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' | '
|
|
4
|
+
export interface SortProps extends Pick<SingleSelectBaseProps<SortValue>, 'value' | 'disabled' | 'popoverOption' | 'onSelect' | 'displayValue' | 'className' | 'badge'>, Pick<SelectBaseLabelProps, '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,EACL,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC;AAEpC,MAAM,WAAW,SACf,SAAQ,IAAI,
|
|
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,EACL,oBAAoB,EACpB,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC;AAEpC,MAAM,WAAW,SACf,SAAQ,IAAI,CACR,qBAAqB,CAAC,SAAS,CAAC,EAC9B,OAAO,GACP,UAAU,GACV,eAAe,GACf,UAAU,GACV,cAAc,GACd,WAAW,GACX,OAAO,CACV,EACD,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;CAAG;AAE1C,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"}
|
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE/D,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OA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