@dynamic-framework/ui-react 1.30.1 → 1.32.0
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/css/dynamic-ui-non-root.css +353 -150
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +10 -6
- package/dist/css/dynamic-ui-root.min.css +2 -2
- package/dist/css/dynamic-ui.css +362 -155
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +197 -48
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +201 -48
- package/dist/index.js.map +1 -1
- package/dist/types/components/DAvatar/DAvatar.d.ts +5 -2
- package/dist/types/components/DDatePicker/DDatePicker.d.ts +7 -3
- package/dist/types/components/DInput/DInput.d.ts +2 -2
- package/dist/types/components/DInputCounter/DInputCounter.d.ts +2 -2
- package/dist/types/components/DInputCurrency/DInputCurrency.d.ts +1 -1
- package/dist/types/components/DInputCurrencyBase/DInputCurrencyBase.d.ts +1 -1
- package/dist/types/components/DInputMask/DInputMask.d.ts +1 -1
- package/dist/types/components/DInputPin/DInputPin.d.ts +3 -3
- package/dist/types/components/DInputSearch/DInputSearch.d.ts +1 -1
- package/dist/types/components/DInputSelect/DInputSelect.d.ts +3 -3
- package/dist/types/components/DList/DList.d.ts +3 -0
- package/dist/types/components/DList/components/DListItem.d.ts +3 -0
- package/dist/types/components/DListGroup/DListGroup.d.ts +14 -0
- package/dist/types/components/DListGroup/components/DListGroupItem.d.ts +13 -0
- package/dist/types/components/DListGroup/index.d.ts +3 -0
- package/dist/types/components/DModal/components/DModalFooter.d.ts +1 -1
- package/dist/types/components/DOffcanvas/components/DOffcanvasFooter.d.ts +3 -3
- package/dist/types/components/DPaginator/DPaginator.d.ts +25 -8
- package/dist/types/components/DPopover/DPopover.d.ts +3 -0
- package/dist/types/components/DQuickActionButton/DQuickActionButton.d.ts +3 -0
- package/dist/types/components/DQuickActionCheck/DQuickActionCheck.d.ts +3 -0
- package/dist/types/components/DQuickActionSwitch/DQuickActionSwitch.d.ts +3 -0
- package/dist/types/components/DSelect/DSelect.d.ts +3 -3
- package/dist/types/components/DStepperDesktop/DStepperDesktop.d.ts +3 -1
- package/dist/types/components/DTabs/DTabs.d.ts +1 -1
- package/dist/types/components/index.d.ts +5 -2
- package/dist/types/components/interface.d.ts +0 -4
- package/dist/types/contexts/index.d.ts +2 -1
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/useItemSelection.d.ts +16 -0
- package/dist/types/utils/changeQueryString.d.ts +4 -0
- package/dist/types/utils/getQueryString.d.ts +4 -0
- package/dist/types/utils/index.d.ts +3 -1
- package/package.json +21 -17
- package/src/style/abstracts/variables/_+import.scss +0 -1
- package/src/style/abstracts/variables/_forms.scss +6 -5
- package/src/style/abstracts/variables/_list-group.scss +3 -3
- package/src/style/abstracts/variables/_navs.scss +14 -17
- package/src/style/abstracts/variables/_options.scss +1 -1
- package/src/style/abstracts/variables/_tooltip.scss +4 -4
- package/src/style/base/_+import.scss +2 -1
- package/src/style/base/_alert.scss +20 -0
- package/src/style/base/_form-check.scss +6 -2
- package/src/style/base/_input-group.scss +4 -1
- package/src/style/base/_label.scss +1 -0
- package/src/style/base/_nav.scss +72 -0
- package/src/style/base/_pagination.scss +7 -5
- package/src/style/base/_placeholder.scss +3 -0
- package/src/style/components/_+import.scss +1 -1
- package/src/style/components/_d-avatar.scss +85 -0
- package/src/style/components/_d-input-pin.scss +11 -5
- package/src/style/components/_d-select.scss +15 -6
- package/src/style/components/_d-stepper-desktop.scss +25 -5
- package/src/style/components/_d-stepper-mobile.scss +6 -6
- package/src/style/root/_root.scss +9 -1
- package/src/style/abstracts/variables/_box-shadow.scss +0 -6
- package/src/style/base/_avatar.scss +0 -61
- package/src/style/components/_d-tabs.scss +0 -44
- /package/dist/types/utils/{format-currency.d.ts → formatCurrency.d.ts} +0 -0
|
@@ -3,7 +3,10 @@ type Props = BaseProps & {
|
|
|
3
3
|
id?: string;
|
|
4
4
|
size?: AvatarSize;
|
|
5
5
|
image?: string;
|
|
6
|
-
|
|
6
|
+
name?: string;
|
|
7
|
+
useNameAsInitials?: boolean;
|
|
8
|
+
theme?: string;
|
|
9
|
+
variant?: 'light' | 'dark';
|
|
7
10
|
};
|
|
8
|
-
export default function DAvatar({ id, size, image,
|
|
11
|
+
export default function DAvatar({ id, size, image, name: nameProp, useNameAsInitials, theme, variant, className, style, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Locale } from 'date-fns';
|
|
2
2
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
3
|
-
import type { BaseProps, ButtonVariant, ComponentSize, FamilyIconProps
|
|
4
|
-
type Props<CustomModifierNames extends string = never, WithRange extends boolean | undefined = undefined> = BaseProps & FamilyIconProps &
|
|
3
|
+
import type { BaseProps, ButtonVariant, ComponentSize, FamilyIconProps } from '../interface';
|
|
4
|
+
type Props<CustomModifierNames extends string = never, WithRange extends boolean | undefined = undefined> = BaseProps & FamilyIconProps & Pick<ReactDatePickerProps<CustomModifierNames, WithRange>, 'formatWeekDay' | 'onChange' | 'autoFocus' | 'inline' | 'withPortal' | 'minDate' | 'showTimeInput' | 'calendarStartDay' | 'dateFormat' | 'selectsStart' | 'selectsEnd' | 'startDate' | 'endDate' | 'fixedHeight' | 'renderCustomHeader'> & {
|
|
5
5
|
date?: string | null;
|
|
6
6
|
selectsRange?: boolean;
|
|
7
7
|
inputLabel?: string;
|
|
@@ -24,6 +24,10 @@ type Props<CustomModifierNames extends string = never, WithRange extends boolean
|
|
|
24
24
|
maxYearSelect?: number;
|
|
25
25
|
invalid?: boolean;
|
|
26
26
|
valid?: boolean;
|
|
27
|
+
placeholder?: string;
|
|
27
28
|
};
|
|
28
|
-
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated
|
|
31
|
+
*/
|
|
32
|
+
export default function DDatePicker<CustomModifierNames extends string = never, WithRange extends boolean | undefined = undefined>({ date, selectsRange, inputLabel, inputHint, inputAriaLabel, inputActionAriaLabel, inputId, timeId, timeLabel, iconInput: iconInputProp, iconHeaderPrevMonth: iconHeaderPrevMonthProp, iconHeaderNextMonth: iconHeaderNextMonthProp, iconMaterialStyle: iconMaterialStyleProp, iconFamilyClass, iconFamilyPrefix, minYearSelect, maxYearSelect, iconHeaderSize, headerPrevMonthAriaLabel, headerNextMonthAriaLabel, headerButtonVariant, headerButtonTheme, invalid, valid, renderCustomHeader: renderCustomHeaderProp, locale, className, formatWeekDay: formatWeekDayProp, style, dataAttributes, placeholder, ...props }: Props<CustomModifierNames, WithRange>): import("react/jsx-runtime").JSX.Element;
|
|
29
33
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { BaseProps, ComponentSize, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps
|
|
3
|
-
declare const ForwardedDInput: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof BaseProps | keyof FamilyIconProps | keyof LabelIconProps | keyof StartIconProps | keyof EndIconProps |
|
|
2
|
+
import type { BaseProps, ComponentSize, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps } from '../interface';
|
|
3
|
+
declare const ForwardedDInput: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof BaseProps | keyof FamilyIconProps | keyof LabelIconProps | keyof StartIconProps | keyof EndIconProps | "hint" | "valid" | "floatingLabel" | "inputStart" | "inputEnd" | "onIconStartClick" | "onIconEndClick"> & BaseProps & FamilyIconProps & LabelIconProps & StartIconProps & EndIconProps & {
|
|
4
4
|
value?: string | undefined;
|
|
5
5
|
label?: string | undefined;
|
|
6
6
|
loading?: boolean | undefined;
|
|
@@ -5,7 +5,7 @@ type NonDInputProps = {
|
|
|
5
5
|
maxValue: number;
|
|
6
6
|
onChange?: (value?: number) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const ForwardedDInputCounter: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps |
|
|
8
|
+
declare const ForwardedDInputCounter: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "floatingLabel" | "inputStart" | "inputEnd" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
|
|
9
9
|
value?: string | undefined;
|
|
10
10
|
label?: string | undefined;
|
|
11
11
|
loading?: boolean | undefined;
|
|
@@ -19,5 +19,5 @@ declare const ForwardedDInputCounter: import("react").ForwardRefExoticComponent<
|
|
|
19
19
|
onChange?: ((value: string) => void) | undefined;
|
|
20
20
|
onIconStartClick?: ((value?: string | undefined) => void) | undefined;
|
|
21
21
|
onIconEndClick?: ((value?: string | undefined) => void) | undefined;
|
|
22
|
-
} & import("react").RefAttributes<HTMLInputElement>, "ref">, "type" | "value" | "onChange" | "
|
|
22
|
+
} & import("react").RefAttributes<HTMLInputElement>, "ref">, "type" | "value" | "onChange" | "validIcon" | "invalidIcon">, keyof NonDInputProps> & NonDInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
23
23
|
export default ForwardedDInputCounter;
|
|
@@ -6,7 +6,7 @@ type NonDInputProps = {
|
|
|
6
6
|
currencyCode?: string;
|
|
7
7
|
onChange?: (value?: number) => void;
|
|
8
8
|
};
|
|
9
|
-
declare const ForwardedDInputCurrencyBase: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps |
|
|
9
|
+
declare const ForwardedDInputCurrencyBase: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "floatingLabel" | "inputStart" | "inputEnd" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
|
|
10
10
|
value?: string | undefined;
|
|
11
11
|
label?: string | undefined;
|
|
12
12
|
loading?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ type NonDInputProps = {
|
|
|
8
8
|
currencyCode?: string;
|
|
9
9
|
onChange?: (value?: number) => void;
|
|
10
10
|
};
|
|
11
|
-
declare const ForwardedDInputCurrencyBase: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps |
|
|
11
|
+
declare const ForwardedDInputCurrencyBase: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "floatingLabel" | "inputStart" | "inputEnd" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
|
|
12
12
|
value?: string | undefined;
|
|
13
13
|
label?: string | undefined;
|
|
14
14
|
loading?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { MaskProps } from '@react-input/mask';
|
|
3
|
-
declare const ForwardedDInputMask: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps |
|
|
3
|
+
declare const ForwardedDInputMask: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "floatingLabel" | "inputStart" | "inputEnd" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
|
|
4
4
|
value?: string | undefined;
|
|
5
5
|
label?: string | undefined;
|
|
6
6
|
loading?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseProps, FamilyIconProps, LabelIconProps, PinInputMode, PinInputType
|
|
2
|
-
type Props = BaseProps & LabelIconProps & FamilyIconProps &
|
|
1
|
+
import type { BaseProps, FamilyIconProps, LabelIconProps, PinInputMode, PinInputType } from '../interface';
|
|
2
|
+
type Props = BaseProps & LabelIconProps & FamilyIconProps & {
|
|
3
3
|
id?: string;
|
|
4
4
|
label?: string;
|
|
5
5
|
placeholder?: string;
|
|
@@ -15,5 +15,5 @@ type Props = BaseProps & LabelIconProps & FamilyIconProps & StateIcons & {
|
|
|
15
15
|
valid?: boolean;
|
|
16
16
|
onChange?: (value: string) => void;
|
|
17
17
|
};
|
|
18
|
-
export default function DInputPin({ id: idProp, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, placeholder, type, disabled, loading, secret,
|
|
18
|
+
export default function DInputPin({ id: idProp, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, placeholder, type, disabled, loading, secret, characters, innerInputMode, hint, invalid, valid, className, style, dataAttributes, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const ForwardedDInputSearch: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps |
|
|
2
|
+
declare const ForwardedDInputSearch: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "size" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "floatingLabel" | "inputStart" | "inputEnd" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
|
|
3
3
|
value?: string | undefined;
|
|
4
4
|
label?: string | undefined;
|
|
5
5
|
loading?: boolean | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { FocusEvent, MouseEvent } from 'react';
|
|
2
|
-
import type { BaseProps, ComponentSize, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps
|
|
2
|
+
import type { BaseProps, ComponentSize, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps } from '../interface';
|
|
3
3
|
export type DefaultOption = {
|
|
4
4
|
value: string | number;
|
|
5
5
|
label: string;
|
|
6
6
|
};
|
|
7
|
-
export type Props<T> = BaseProps & FamilyIconProps & LabelIconProps & StartIconProps & EndIconProps &
|
|
7
|
+
export type Props<T> = BaseProps & FamilyIconProps & LabelIconProps & StartIconProps & EndIconProps & {
|
|
8
8
|
id?: string;
|
|
9
9
|
name?: string;
|
|
10
10
|
label?: string;
|
|
@@ -24,4 +24,4 @@ export type Props<T> = BaseProps & FamilyIconProps & LabelIconProps & StartIconP
|
|
|
24
24
|
valueExtractor?: (item: T) => string | number;
|
|
25
25
|
labelExtractor?: (item: T) => string;
|
|
26
26
|
};
|
|
27
|
-
export default function DInputSelect<T extends object = DefaultOption>({ id: idProp, name, label, className, style, options, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, disabled, loading, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconStartAriaLabel, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, iconEndAriaLabel,
|
|
27
|
+
export default function DInputSelect<T extends object = DefaultOption>({ id: idProp, name, label, className, style, options, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, disabled, loading, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconStartAriaLabel, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, iconEndAriaLabel, hint, value, size, floatingLabel, invalid, valid, dataAttributes, valueExtractor, labelExtractor, onChange, onBlur, onIconStartClick, onIconEndClick, }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,6 +7,9 @@ type Props = BaseProps & PropsWithChildren<{
|
|
|
7
7
|
horizontal?: boolean;
|
|
8
8
|
horizontalBreakpoint?: BreakpointSize;
|
|
9
9
|
}>;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Please use DListGroup instead
|
|
12
|
+
*/
|
|
10
13
|
declare function DList({ children, className, style, flush, numbered, horizontal, horizontalBreakpoint, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
declare const _default: typeof DList & {
|
|
12
15
|
Item: typeof DListItem;
|
|
@@ -6,5 +6,8 @@ type Props = BaseProps & PropsWithChildren<{
|
|
|
6
6
|
theme?: string;
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
}>;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Please use DListGroup.Item or DListGroupItem instead
|
|
11
|
+
*/
|
|
9
12
|
export default function DListItem({ children, className, style, active, disabled, theme, onClick, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
13
|
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import DListGroupItem from './components/DListGroupItem';
|
|
3
|
+
import type { BaseProps } from '../interface';
|
|
4
|
+
type Props = BaseProps & PropsWithChildren<{
|
|
5
|
+
as?: 'ul' | 'ol' | 'div';
|
|
6
|
+
numbered?: boolean;
|
|
7
|
+
flush?: boolean;
|
|
8
|
+
horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
9
|
+
}>;
|
|
10
|
+
declare function DListGroup({ as, numbered, flush, horizontal, children, className, style, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const _default: typeof DListGroup & {
|
|
12
|
+
Item: typeof DListGroupItem;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import type { BaseProps } from '../../interface';
|
|
3
|
+
type Props = BaseProps & PropsWithChildren<{
|
|
4
|
+
as?: 'li' | 'a' | 'button';
|
|
5
|
+
action?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
href?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
theme?: string;
|
|
11
|
+
}>;
|
|
12
|
+
export default function DListGroupItem({ as, action: actionProp, active, disabled, href, onClick, theme, children, className, style, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import type { BaseProps } from '../../interface';
|
|
3
3
|
type Props = BaseProps & PropsWithChildren<{
|
|
4
|
-
|
|
4
|
+
actionPlacement?: 'start' | 'end' | 'fill';
|
|
5
5
|
}>;
|
|
6
|
-
export default function DOffcanvasFooter({
|
|
6
|
+
export default function DOffcanvasFooter({ actionPlacement, children, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,14 +1,31 @@
|
|
|
1
1
|
import type { ResponsivePaginationProps } from 'react-responsive-pagination';
|
|
2
2
|
import { DataAttributes } from '../interface';
|
|
3
|
-
export type Props = {
|
|
3
|
+
export type Props = Omit<ResponsivePaginationProps, 'current'> & {
|
|
4
|
+
current?: ResponsivePaginationProps['current'];
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated its use is changing, use extraClassName instead, originally
|
|
7
|
+
* we set className prop to extraClassName from react-responsive-pagination API.
|
|
8
|
+
*
|
|
9
|
+
* now we are trying to expose the entire API of react-responsive-pagination and
|
|
10
|
+
* to ensure backward compatibility we are setting the className prop to
|
|
11
|
+
* extraClassName from react-responsive-pagination only if extraClassName is not present.
|
|
12
|
+
*/
|
|
4
13
|
className?: ResponsivePaginationProps['extraClassName'];
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated use current instead, react-responsive-pagination API.
|
|
16
|
+
*/
|
|
17
|
+
page?: ResponsivePaginationProps['current'];
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use renderNav instead, react-responsive-pagination API.
|
|
20
|
+
*/
|
|
10
21
|
showArrows?: ResponsivePaginationProps['renderNav'];
|
|
11
|
-
maxWidth?: ResponsivePaginationProps['maxWidth'];
|
|
12
22
|
dataAttributes?: DataAttributes;
|
|
13
23
|
};
|
|
14
|
-
export
|
|
24
|
+
export type ConditionalProps = Props | (Props & {
|
|
25
|
+
current: number;
|
|
26
|
+
page?: undefined;
|
|
27
|
+
}) | (Props & {
|
|
28
|
+
page: number;
|
|
29
|
+
current?: undefined;
|
|
30
|
+
});
|
|
31
|
+
export default function DPaginator({ className, page, current, showArrows, navClassName, ...props }: ConditionalProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,5 +11,8 @@ type Props = BaseProps & PropsWithChildren<{
|
|
|
11
11
|
setOpen?: (open: boolean) => void;
|
|
12
12
|
adjustContentToRender?: boolean;
|
|
13
13
|
}>;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated
|
|
16
|
+
*/
|
|
14
17
|
export default function DPopover({ children, renderComponent, open, setOpen, adjustContentToRender, className, style, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
18
|
export {};
|
|
@@ -18,5 +18,8 @@ type Props = BaseProps & {
|
|
|
18
18
|
onClick?: () => void;
|
|
19
19
|
onClickSecondary?: () => void;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated
|
|
23
|
+
*/
|
|
21
24
|
export default function DQuickActionButton({ line1, line2, className, actionLinkText, actionLinkTheme, actionIcon, secondaryActionIcon, secondaryActionAriaLabel, actionIconFamilyClass, actionIconFamilyPrefix, representativeImage, representativeIcon, representativeIconTheme, representativeIconHasCircle, representativeIconFamilyClass, representativeIconFamilyPrefix, onClick, onClickSecondary, style, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
22
25
|
export {};
|
|
@@ -10,5 +10,8 @@ type Props = BaseProps & {
|
|
|
10
10
|
checked?: boolean;
|
|
11
11
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*/
|
|
13
16
|
export default function DQuickActionCheck({ id: idProp, name, value, line1, line2, line3, className, style, checked, dataAttributes, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
14
17
|
export {};
|
|
@@ -8,5 +8,8 @@ type Props = BaseProps & {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
onClick?: (isChecked: boolean | undefined) => void;
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated
|
|
13
|
+
*/
|
|
11
14
|
export default function DQuickActionSwitch({ id: idProp, name, label, hint, checked, disabled, className, style, dataAttributes, onClick, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
15
|
export {};
|
|
@@ -9,8 +9,8 @@ import DSelectLoadingIndicator from './components/DSelectLoadingIndicator';
|
|
|
9
9
|
import DSelectOptionEmoji from './components/DSelectOptionEmoji';
|
|
10
10
|
import DSelectSingleValueEmoji from './components/DSelectSingleValueEmoji';
|
|
11
11
|
import DSelectSingleValueEmojiText from './components/DSelectSingleValueEmojiText';
|
|
12
|
-
import type { BaseProps, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps
|
|
13
|
-
type Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = BaseProps & FamilyIconProps & LabelIconProps & StartIconProps & EndIconProps &
|
|
12
|
+
import type { BaseProps, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps } from '../interface';
|
|
13
|
+
type Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = BaseProps & FamilyIconProps & LabelIconProps & StartIconProps & EndIconProps & Omit<SelectProps<Option, IsMulti, Group>, 'isDisabled' | 'isClearable' | 'isLoading' | 'isRtl' | 'isSearchable' | 'isMulti'> & {
|
|
14
14
|
label?: string;
|
|
15
15
|
hint?: string;
|
|
16
16
|
invalid?: boolean;
|
|
@@ -25,7 +25,7 @@ type Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = B
|
|
|
25
25
|
searchable?: SelectProps<Option, IsMulti, Group>['isSearchable'];
|
|
26
26
|
multi?: SelectProps<Option, IsMulti, Group>['isMulti'];
|
|
27
27
|
};
|
|
28
|
-
declare function DSelect<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>({ id, className, style, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, hint, iconFamilyClass, iconFamilyPrefix, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconStartAriaLabel, iconStartTabIndex, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, iconEndAriaLabel, iconEndTabIndex, invalid, valid,
|
|
28
|
+
declare function DSelect<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>({ id, className, style, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, hint, iconFamilyClass, iconFamilyPrefix, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconStartAriaLabel, iconStartTabIndex, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, iconEndAriaLabel, iconEndTabIndex, invalid, valid, menuWithMaxContent, disabled, clearable, loading, rtl, searchable, multi, components, defaultValue, onIconStartClick, onIconEndClick, dataAttributes, ...props }: Props<Option, IsMulti, Group>): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
declare const _default: typeof DSelect & {
|
|
30
30
|
OptionCheck: typeof DSelectOptionCheck;
|
|
31
31
|
OptionIcon: typeof DSelectOptionIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BaseProps } from '../interface';
|
|
2
2
|
type Step = {
|
|
3
3
|
label: string;
|
|
4
|
+
description?: string;
|
|
4
5
|
value: number;
|
|
5
6
|
};
|
|
6
7
|
type Props = BaseProps & {
|
|
@@ -12,6 +13,7 @@ type Props = BaseProps & {
|
|
|
12
13
|
iconSuccessMaterialStyle?: boolean;
|
|
13
14
|
vertical?: boolean;
|
|
14
15
|
completed?: boolean;
|
|
16
|
+
alignStart?: boolean;
|
|
15
17
|
};
|
|
16
|
-
export default function DStepper({ options, currentStep, iconSuccess: iconSuccessProp, iconSuccessFamilyClass, iconSuccessFamilyPrefix, iconSuccessMaterialStyle, vertical, completed, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default function DStepper({ options, currentStep, iconSuccess: iconSuccessProp, iconSuccessFamilyClass, iconSuccessFamilyPrefix, iconSuccessMaterialStyle, vertical, completed, alignStart, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
19
|
export {};
|
|
@@ -9,7 +9,7 @@ export type DTabOption = {
|
|
|
9
9
|
export type TabVariant = 'tabs' | 'pills' | 'underline';
|
|
10
10
|
type Props = BaseProps & PropsWithChildren<{
|
|
11
11
|
classNameTab?: string;
|
|
12
|
-
onChange
|
|
12
|
+
onChange?: (option: DTabOption) => void;
|
|
13
13
|
options: Array<DTabOption>;
|
|
14
14
|
defaultSelected: string;
|
|
15
15
|
vertical?: boolean;
|
|
@@ -21,11 +21,13 @@ export { default as DInputSearch } from './DInputSearch';
|
|
|
21
21
|
export { default as DInputPassword } from './DInputPassword';
|
|
22
22
|
export { default as DInputCheck } from './DInputCheck';
|
|
23
23
|
export { default as DInputPin } from './DInputPin';
|
|
24
|
-
export { default as DInputSelect
|
|
24
|
+
export { default as DInputSelect } from './DInputSelect';
|
|
25
|
+
export type { DInputSelectDefaultOption, DInputSelectProps } from './DInputSelect';
|
|
25
26
|
export { default as DInputSwitch } from './DInputSwitch';
|
|
26
27
|
export { default as DInputRange } from './DInputRange';
|
|
27
28
|
export { default as DSelect } from './DSelect';
|
|
28
29
|
export { default as DList, DListItem, } from './DList';
|
|
30
|
+
export { default as DListGroup, DListGroupItem, } from './DListGroup';
|
|
29
31
|
export { default as DModal, DModalHeader, DModalBody, DModalFooter, } from './DModal';
|
|
30
32
|
export { default as DOffcanvas, DOffcanvasHeader, DOffcanvasBody, DOffcanvasFooter, } from './DOffcanvas';
|
|
31
33
|
export { default as DPaginator } from './DPaginator';
|
|
@@ -40,7 +42,8 @@ export { default as DStepper } from './DStepper';
|
|
|
40
42
|
export { default as DStepperDesktop } from './DStepperDesktop';
|
|
41
43
|
export { default as DStepperMobile } from './DStepperMobile';
|
|
42
44
|
export { default as DTooltip } from './DTooltip';
|
|
43
|
-
export { default as DTabs, useTabContext
|
|
45
|
+
export { default as DTabs, useTabContext } from './DTabs';
|
|
46
|
+
export type { DTabOption, DTabContent } from './DTabs';
|
|
44
47
|
export { default as DToast } from './DToast';
|
|
45
48
|
export { default as DToastContainer, useDToast, } from './DToastContainer';
|
|
46
49
|
export { default as DTableHead } from './DTableHead';
|
|
@@ -48,10 +48,6 @@ export type EndIconProps = {
|
|
|
48
48
|
iconEndTabIndex?: number;
|
|
49
49
|
iconEndMaterialStyle?: boolean;
|
|
50
50
|
};
|
|
51
|
-
export type StateIcons = {
|
|
52
|
-
invalidIcon?: string;
|
|
53
|
-
validIcon?: string;
|
|
54
|
-
};
|
|
55
51
|
export type AlertTheme = 'success' | 'info' | 'warning' | 'danger' | 'primary' | 'secondary';
|
|
56
52
|
export type AlertThemeIconMap = {
|
|
57
53
|
[state in AlertTheme]: string;
|
|
@@ -5,3 +5,4 @@ export { default as useProvidedRefOrCreate } from './useProvidedRefOrCreate';
|
|
|
5
5
|
export { default as useStackState } from './useStackState';
|
|
6
6
|
export { default as useDisableBodyScrollEffect } from './useDisableBodyScrollEffect';
|
|
7
7
|
export { default as usePortal } from './usePortal';
|
|
8
|
+
export { default as useItemSelection } from './useItemSelection';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type Identifiable = {
|
|
2
|
+
id: string | number;
|
|
3
|
+
};
|
|
4
|
+
type ItemSelection<T extends Identifiable> = {
|
|
5
|
+
selectedItems: T[];
|
|
6
|
+
isSelectedItem: (item: T) => boolean;
|
|
7
|
+
toggleSelectedItem: (item: T) => void;
|
|
8
|
+
resetSelectedItems: () => void;
|
|
9
|
+
setSelectedItems: (items: T[]) => void;
|
|
10
|
+
};
|
|
11
|
+
type Props<T extends Identifiable> = {
|
|
12
|
+
getItemIdentifier?: (item: T) => string | number;
|
|
13
|
+
previousSelected?: T[];
|
|
14
|
+
};
|
|
15
|
+
export default function useItemSelection<T extends Identifiable>({ getItemIdentifier: getItemIdentifierProp, previousSelected, }?: Props<T>): ItemSelection<T>;
|
|
16
|
+
export {};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export { default as formatCurrency } from './
|
|
1
|
+
export { default as formatCurrency } from './formatCurrency';
|
|
2
2
|
export { default as configureI18n } from './configureI18n';
|
|
3
|
+
export { default as getQueryString } from './getQueryString';
|
|
4
|
+
export { default as changeQueryString } from './changeQueryString';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sideEffects": [
|
|
4
4
|
"*.css"
|
|
5
5
|
],
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.32.0",
|
|
7
7
|
"description": "React Dynamic Framework",
|
|
8
8
|
"license": "https://github.com/dynamic-framework/dynamic-ui/blob/master/libraries/dynamic-ui-react/LICENSE.md",
|
|
9
9
|
"repository": {
|
|
@@ -47,8 +47,9 @@
|
|
|
47
47
|
"build:react": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.mjs",
|
|
48
48
|
"build:react:watch": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.mjs",
|
|
49
49
|
"build:scss": "node scripts/build-scss.js",
|
|
50
|
-
"cp": "pnpm cp:bootstrap && pnpm cp:popper",
|
|
50
|
+
"cp": "pnpm cp:bootstrap && pnpm cp:popper && pnpm cp:bootstrap-icons",
|
|
51
51
|
"cp:bootstrap": "scripts/cp-boostrap.sh",
|
|
52
|
+
"cp:bootstrap-icons": "scripts/cp-boostrap-icons.sh",
|
|
52
53
|
"cp:popper": "scripts/cp-popper.sh",
|
|
53
54
|
"clean": "rimraf dist-transpiled && rimraf dist",
|
|
54
55
|
"compile": "tsc -p . && rollup -c rollup.config.mjs",
|
|
@@ -60,7 +61,10 @@
|
|
|
60
61
|
"eslint:test": "eslint src/**/*.spec.tsx",
|
|
61
62
|
"stylelint": "stylelint \"**/*.{css,scss}\" --rd",
|
|
62
63
|
"postversion": "pnpm build:scss",
|
|
63
|
-
"publish:cdn": "
|
|
64
|
+
"publish:cdn": "pnpm publish:cdn-version && pnpm publish:cdn-latest",
|
|
65
|
+
"publish:cdn-version": "node scripts/publish-cdn.js",
|
|
66
|
+
"publish:cdn-latest": "aws s3 sync ./dist/ s3://dynamicframework-cdn/assets/latest/ui-react --delete --acl public-read",
|
|
67
|
+
"publish:cdn-rc": "aws s3 sync ./dist/ s3://dynamicframework-cdn/assets/rc/ui-react --delete --acl public-read",
|
|
64
68
|
"lint-staged": "lint-staged"
|
|
65
69
|
},
|
|
66
70
|
"main": "./dist/index.js",
|
|
@@ -96,18 +100,17 @@
|
|
|
96
100
|
"@mdx-js/react": "^2.3.0",
|
|
97
101
|
"@popperjs/core": "^2.11.8",
|
|
98
102
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
99
|
-
"@storybook/addon-a11y": "^
|
|
100
|
-
"@storybook/addon-actions": "^
|
|
101
|
-
"@storybook/addon-essentials": "^
|
|
102
|
-
"@storybook/addon-interactions": "^
|
|
103
|
-
"@storybook/addon-links": "^
|
|
104
|
-
"@storybook/addon-viewport": "^
|
|
105
|
-
"@storybook/blocks": "^
|
|
106
|
-
"@storybook/react": "^
|
|
107
|
-
"@storybook/react-
|
|
108
|
-
"@storybook/test
|
|
109
|
-
"@storybook/
|
|
110
|
-
"@storybook/theming": "^7.5.1",
|
|
103
|
+
"@storybook/addon-a11y": "^8.2.9",
|
|
104
|
+
"@storybook/addon-actions": "^8.2.9",
|
|
105
|
+
"@storybook/addon-essentials": "^8.2.9",
|
|
106
|
+
"@storybook/addon-interactions": "^8.2.9",
|
|
107
|
+
"@storybook/addon-links": "^8.2.9",
|
|
108
|
+
"@storybook/addon-viewport": "^8.2.9",
|
|
109
|
+
"@storybook/blocks": "^8.2.9",
|
|
110
|
+
"@storybook/react": "^8.2.9",
|
|
111
|
+
"@storybook/react-vite": "^8.2.9",
|
|
112
|
+
"@storybook/test": "^8.2.9",
|
|
113
|
+
"@storybook/theming": "^8.2.9",
|
|
111
114
|
"@testing-library/jest-dom": "^6.1.4",
|
|
112
115
|
"@testing-library/react": "^14.0.0",
|
|
113
116
|
"@types/jest": "^29.5.12",
|
|
@@ -120,6 +123,7 @@
|
|
|
120
123
|
"autoprefixer": "^10.4.16",
|
|
121
124
|
"axe-playwright": "^1.2.3",
|
|
122
125
|
"babel-loader": "^9.1.3",
|
|
126
|
+
"bootstrap-icons": "^1.11.3",
|
|
123
127
|
"eslint": "^8.52.0",
|
|
124
128
|
"eslint-config-airbnb": "^19.0.4",
|
|
125
129
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
@@ -142,7 +146,7 @@
|
|
|
142
146
|
"rimraf": "^5.0.5",
|
|
143
147
|
"rollup": "^4.1.4",
|
|
144
148
|
"sass": "^1.69.4",
|
|
145
|
-
"storybook": "^
|
|
149
|
+
"storybook": "^8.2.9",
|
|
146
150
|
"stylelint": "^15.11.0",
|
|
147
151
|
"stylelint-config-twbs-bootstrap": "^11.0.1",
|
|
148
152
|
"ts-jest": "^29.2.3",
|
|
@@ -161,5 +165,5 @@
|
|
|
161
165
|
"optional": true
|
|
162
166
|
}
|
|
163
167
|
},
|
|
164
|
-
"gitHead": "
|
|
168
|
+
"gitHead": "e4238e6e7ba2b467077cb9b1f41c11496007e92d"
|
|
165
169
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// scss-docs-start form-text-variables
|
|
2
|
-
$form-text-margin-top: $spacer-
|
|
2
|
+
$form-text-margin-top: var(--#{$prefix}ref-spacer-1) !default;
|
|
3
3
|
$form-text-color: var(--#{$prefix}body-color) !default;
|
|
4
4
|
// scss-docs-end form-text-variables
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@ $input-padding-y-lg: $spacer-4 !default;
|
|
|
23
23
|
$input-font-size-lg: var(--#{$prefix}ref-spacer-5) !default;
|
|
24
24
|
|
|
25
25
|
$input-bg: var(--#{$prefix}white) !default;
|
|
26
|
-
$input-disabled-color: var(--#{$prefix}
|
|
26
|
+
$input-disabled-color: var(--#{$prefix}body-color) !default;
|
|
27
27
|
$input-disabled-bg: var(--#{$prefix}gray-100) !default;
|
|
28
28
|
$input-disabled-border-color: var(--#{$prefix}gray-300) !default;
|
|
29
29
|
|
|
@@ -79,7 +79,7 @@ $input-group-addon-border-color: transparent !default;
|
|
|
79
79
|
|
|
80
80
|
// custom
|
|
81
81
|
$form-text-padding-y: 0 !default;
|
|
82
|
-
$form-text-padding-x:
|
|
82
|
+
$form-text-padding-x: 0 !default;
|
|
83
83
|
// end custom
|
|
84
84
|
|
|
85
85
|
// scss-docs-start form-select-variables
|
|
@@ -120,9 +120,10 @@ $form-feedback-valid-color: var(--#{$prefix}success) !default;
|
|
|
120
120
|
$form-feedback-invalid-color: var(--#{$prefix}danger) !default;
|
|
121
121
|
|
|
122
122
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
|
123
|
-
$form-feedback-icon-valid:
|
|
123
|
+
$form-feedback-icon-valid: var(--#{$prefix}form-feedback-icon-valid) !default;
|
|
124
|
+
|
|
124
125
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
|
125
|
-
$form-feedback-icon-invalid:
|
|
126
|
+
$form-feedback-icon-invalid: var(--#{$prefix}form-feedback-icon-invalid) !default;
|
|
126
127
|
// scss-docs-end form-feedback-variables
|
|
127
128
|
|
|
128
129
|
// scss-docs-start form-validation-colors
|