@dynamic-framework/ui-react 1.36.2 → 2.0.0-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/dist/css/dynamic-ui-non-root.css +7051 -3728
  2. package/dist/css/dynamic-ui-non-root.min.css +3 -3
  3. package/dist/css/dynamic-ui-root.css +339 -161
  4. package/dist/css/dynamic-ui-root.min.css +3 -3
  5. package/dist/css/dynamic-ui.css +7392 -3891
  6. package/dist/css/dynamic-ui.min.css +3 -3
  7. package/dist/index.esm.js +643 -410
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +687 -437
  10. package/dist/index.js.map +1 -1
  11. package/dist/js/bootstrap.bundle.js +3 -6
  12. package/dist/js/bootstrap.bundle.min.js +2 -2
  13. package/dist/js/bootstrap.esm.js +3 -6
  14. package/dist/js/bootstrap.esm.min.js +2 -2
  15. package/dist/js/bootstrap.js +3 -6
  16. package/dist/js/bootstrap.min.js +2 -2
  17. package/dist/types/components/DAlert/DAlert.d.ts +3 -3
  18. package/dist/types/components/DAvatar/DAvatar.d.ts +1 -3
  19. package/dist/types/components/DBadge/DBadge.d.ts +4 -3
  20. package/dist/types/components/DBox/DBox.d.ts +5 -0
  21. package/dist/types/components/DBox/index.d.ts +2 -0
  22. package/dist/types/components/DBoxFile/DBoxFile.d.ts +1 -1
  23. package/dist/types/components/DBoxFile/useDBoxFile.d.ts +2 -2
  24. package/dist/types/components/DButton/DButton.d.ts +8 -17
  25. package/dist/types/components/DButtonIcon/DButtonIcon.d.ts +3 -3
  26. package/dist/types/components/DCarousel/components/DCarouselSlide.d.ts +3 -1
  27. package/dist/types/components/DChip/DChip.d.ts +3 -3
  28. package/dist/types/components/DCollapse/DCollapse.d.ts +2 -2
  29. package/dist/types/components/DCreditCard/DCreditCard.d.ts +12 -0
  30. package/dist/types/components/DCreditCard/index.d.ts +2 -0
  31. package/dist/types/components/DDatePicker/DDatePicker.d.ts +3 -3
  32. package/dist/types/components/DDatePicker/components/DDatePickerHeaderSelector.d.ts +2 -4
  33. package/dist/types/components/DDropdown/DDropdown.d.ts +20 -0
  34. package/dist/types/components/DDropdown/index.d.ts +2 -0
  35. package/dist/types/components/DIconBase/DIconBase.d.ts +13 -9
  36. package/dist/types/components/DInput/DInput.d.ts +3 -2
  37. package/dist/types/components/DInputCheck/DInputCheck.d.ts +2 -1
  38. package/dist/types/components/DInputCounter/DInputCounter.d.ts +3 -2
  39. package/dist/types/components/DInputCurrency/DInputCurrency.d.ts +4 -3
  40. package/dist/types/components/DInputMask/DInputMask.d.ts +7 -17
  41. package/dist/types/components/DInputPhone/DInputPhone.d.ts +2 -2
  42. package/dist/types/components/DInputPin/DInputPin.d.ts +3 -3
  43. package/dist/types/components/DInputRange/DInputRange.d.ts +2 -2
  44. package/dist/types/components/DInputSelect/DInputSelect.d.ts +3 -3
  45. package/dist/types/components/DInputSwitch/DInputSwitch.d.ts +2 -1
  46. package/dist/types/components/DLayout/DLayout.d.ts +22 -0
  47. package/dist/types/components/DLayout/components/DLayoutPane.d.ts +13 -0
  48. package/dist/types/components/DLayout/index.d.ts +3 -0
  49. package/dist/types/components/DListGroup/components/DListGroupItem.d.ts +4 -4
  50. package/dist/types/components/DModal/DModal.d.ts +3 -1
  51. package/dist/types/components/DOffcanvas/DOffcanvas.d.ts +3 -1
  52. package/dist/types/components/DOtp/DOtp.d.ts +16 -0
  53. package/dist/types/components/DOtp/DOtpspec.d.ts +0 -0
  54. package/dist/types/components/DOtp/components/OtpCountdown.d.ts +7 -0
  55. package/dist/types/components/DOtp/hooks/useCountdown.d.ts +4 -0
  56. package/dist/types/components/DOtp/index.d.ts +2 -0
  57. package/dist/types/components/DPaginator/DPaginator.d.ts +2 -27
  58. package/dist/types/components/DPasswordStrengthMeter/DPasswordStrengthMeter.d.ts +23 -0
  59. package/dist/types/components/DPasswordStrengthMeter/PasswordCheckItem.d.ts +7 -0
  60. package/dist/types/components/DPasswordStrengthMeter/PasswordCheckList.d.ts +14 -0
  61. package/dist/types/components/DPasswordStrengthMeter/PasswordStrength.d.ts +6 -0
  62. package/dist/types/components/DPasswordStrengthMeter/index.d.ts +3 -0
  63. package/dist/types/components/DPopover/DPopover.d.ts +1 -1
  64. package/dist/types/components/DProgress/DProgress.d.ts +2 -1
  65. package/dist/types/components/DSelect/DSelect.d.ts +3 -3
  66. package/dist/types/components/DTabs/DTabs.d.ts +2 -2
  67. package/dist/types/components/DTimeline/DTimeline.d.ts +15 -0
  68. package/dist/types/components/DTimeline/index.d.ts +2 -0
  69. package/dist/types/components/DToastContainer/useDToast.d.ts +2 -2
  70. package/dist/types/components/DTooltip/DTooltip.d.ts +1 -2
  71. package/dist/types/components/DVoucher/DVoucher.d.ts +14 -0
  72. package/dist/types/components/DVoucher/hooks/useScreenshot.d.ts +5 -0
  73. package/dist/types/components/DVoucher/hooks/useScreenshotDownload.d.ts +5 -0
  74. package/dist/types/components/DVoucher/hooks/useScreenshotWebShare.d.ts +5 -0
  75. package/dist/types/components/DVoucher/index.d.ts +2 -0
  76. package/dist/types/components/config.d.ts +0 -2
  77. package/dist/types/components/index.d.ts +8 -9
  78. package/dist/types/components/interface.d.ts +3 -8
  79. package/dist/types/contexts/DContext.d.ts +0 -2
  80. package/dist/types/hooks/tests/useDisableBodyScrollEffect.spec.d.ts +1 -0
  81. package/dist/types/hooks/tests/useDisableInputWheel.spec.d.ts +1 -0
  82. package/dist/types/hooks/tests/useFormatCurrency.spec.d.ts +1 -0
  83. package/dist/types/hooks/tests/useInputCurrency.spec.d.ts +1 -0
  84. package/dist/types/hooks/tests/useItemSelection.spec.d.ts +1 -0
  85. package/dist/types/hooks/tests/useMediaBreakpointUp.spec.d.ts +1 -0
  86. package/dist/types/hooks/tests/useMediaQuery.spec.d.ts +1 -0
  87. package/dist/types/hooks/tests/usePortal.spec.d.ts +1 -0
  88. package/dist/types/hooks/tests/useProvidedRefOrCreate.spec.d.ts +1 -0
  89. package/dist/types/hooks/tests/useStackState.spec.d.ts +1 -0
  90. package/dist/types/hooks/useInputCurrency.d.ts +1 -1
  91. package/dist/types/hooks/useProvidedRefOrCreate.d.ts +1 -1
  92. package/dist/types/hooks/useResponsiveProp.d.ts +35 -0
  93. package/dist/types/types/polymorphic.d.ts +3 -3
  94. package/dist/types/utils/tests/attr-accept.spec.d.ts +1 -0
  95. package/dist/types/utils/tests/changeQueryString.spec.d.ts +1 -0
  96. package/dist/types/utils/tests/configureI18n.spec.d.ts +1 -0
  97. package/dist/types/utils/tests/formatCurrency.spec.d.ts +1 -0
  98. package/dist/types/utils/tests/getCssVariable.spec.d.ts +1 -0
  99. package/dist/types/utils/tests/getKeyboardFocusableElements.spec.d.ts +1 -0
  100. package/dist/types/utils/tests/getQueryString.spec.d.ts +1 -0
  101. package/dist/types/utils/tests/mediaQuery.spec.d.ts +1 -0
  102. package/dist/types/utils/tests/validatePhoneNumber.spec.d.ts +1 -0
  103. package/jest/setup.js +93 -2
  104. package/package.json +57 -57
  105. package/src/style/_shame.scss +42 -1
  106. package/src/style/abstracts/_mixins.scss +35 -23
  107. package/src/style/abstracts/_utilities.scss +70 -1
  108. package/src/style/abstracts/variables/_+import.scss +3 -2
  109. package/src/style/abstracts/variables/_alerts.scss +2 -0
  110. package/src/style/abstracts/variables/_body.scss +10 -3
  111. package/src/style/abstracts/variables/_border.scss +5 -5
  112. package/src/style/abstracts/variables/_buttons.scss +19 -11
  113. package/src/style/abstracts/variables/_cards.scss +6 -4
  114. package/src/style/abstracts/variables/_chips.scss +2 -2
  115. package/src/style/abstracts/variables/_colors.scss +147 -70
  116. package/src/style/abstracts/variables/_datepicker.scss +10 -9
  117. package/src/style/abstracts/variables/_dropdowns.scss +6 -4
  118. package/src/style/abstracts/variables/_forms.scss +4 -4
  119. package/src/style/abstracts/variables/_list-group.scss +2 -2
  120. package/src/style/abstracts/variables/_modals.scss +4 -3
  121. package/src/style/abstracts/variables/_offcanvas.scss +1 -0
  122. package/src/style/abstracts/variables/_pagination.scss +4 -4
  123. package/src/style/abstracts/variables/_shadow.scss +1 -0
  124. package/src/style/abstracts/variables/_tables.scss +8 -3
  125. package/src/style/abstracts/variables/_tooltip.scss +1 -1
  126. package/src/style/abstracts/variables/_typography.scss +7 -7
  127. package/src/style/base/_+import.scss +1 -0
  128. package/src/style/base/_alert.scss +1 -27
  129. package/src/style/base/_badge.scss +50 -12
  130. package/src/style/base/_buttons.scss +33 -30
  131. package/src/style/base/_dropdown.scss +18 -0
  132. package/src/style/base/_input-group.scss +5 -0
  133. package/src/style/base/_label.scss +0 -4
  134. package/src/style/base/_list-group.scss +6 -0
  135. package/src/style/base/_pagination.scss +2 -0
  136. package/src/style/base/_tables.scss +4 -0
  137. package/src/style/base/_tooltip.scss +1 -10
  138. package/src/style/components/_+import.scss +5 -4
  139. package/src/style/components/_d-avatar.scss +2 -20
  140. package/src/style/components/_d-box-file.scss +1 -1
  141. package/src/style/components/_d-box.scss +13 -0
  142. package/src/style/components/_d-carousel.scss +19 -1
  143. package/src/style/components/_d-credit-card.scss +67 -0
  144. package/src/style/components/_d-datepicker.scss +83 -26
  145. package/src/style/components/_d-icon.scss +10 -3
  146. package/src/style/components/_d-modal.scss +3 -0
  147. package/src/style/components/_d-stepper-desktop.scss +61 -65
  148. package/src/style/components/_d-stepper-mobile.scss +2 -2
  149. package/src/style/components/_d-tabs.scss +37 -0
  150. package/src/style/components/_d-timeline.scss +108 -0
  151. package/src/style/components/_d-voucher.scss +29 -0
  152. package/src/style/helpers/_color-bg.scss +13 -3
  153. package/src/style/root/_root.scss +109 -86
  154. package/dist/css/bootstrap-icons.css +0 -2106
  155. package/dist/css/bootstrap-icons.json +0 -2080
  156. package/dist/css/bootstrap-icons.min.css +0 -5
  157. package/dist/css/bootstrap-icons.scss +0 -2118
  158. package/dist/css/fonts/bootstrap-icons.woff +0 -0
  159. package/dist/css/fonts/bootstrap-icons.woff2 +0 -0
  160. package/dist/types/components/DInputCurrencyBase/DInputCurrencyBase.d.ts +0 -26
  161. package/dist/types/components/DInputCurrencyBase/index.d.ts +0 -2
  162. package/dist/types/components/DInputSearch/DInputSearch.d.ts +0 -17
  163. package/dist/types/components/DInputSearch/index.d.ts +0 -2
  164. package/dist/types/components/DList/DList.d.ts +0 -17
  165. package/dist/types/components/DList/components/DListItem.d.ts +0 -13
  166. package/dist/types/components/DList/index.d.ts +0 -3
  167. package/dist/types/components/DQuickActionButton/DQuickActionButton.d.ts +0 -20
  168. package/dist/types/components/DQuickActionButton/index.d.ts +0 -2
  169. package/dist/types/components/DQuickActionCheck/DQuickActionCheck.d.ts +0 -17
  170. package/dist/types/components/DQuickActionCheck/index.d.ts +0 -2
  171. package/dist/types/components/DQuickActionSelect/DQuickActionSelect.d.ts +0 -13
  172. package/dist/types/components/DQuickActionSelect/index.d.ts +0 -2
  173. package/dist/types/components/DQuickActionSwitch/DQuickActionSwitch.d.ts +0 -15
  174. package/dist/types/components/DQuickActionSwitch/index.d.ts +0 -2
  175. package/dist/types/components/DSkeleton/DSkeleton.d.ts +0 -11
  176. package/dist/types/components/DSkeleton/index.d.ts +0 -2
  177. package/dist/types/components/DTableHead/DTableHead.d.ts +0 -9
  178. package/dist/types/components/DTableHead/index.d.ts +0 -2
  179. package/src/style/components/_d-quick-action-button.scss +0 -121
  180. package/src/style/components/_d-quick-action-check.scss +0 -74
  181. package/src/style/components/_d-quick-action-select.scss +0 -58
  182. package/src/style/components/_d-quick-action-switch.scss +0 -64
Binary file
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Options } from 'currency.js';
3
- type NonDInputProps = {
4
- value?: number;
5
- minValue?: number;
6
- maxValue?: number;
7
- currencyOptions: Options;
8
- currencyCode?: string;
9
- onChange?: (value?: number) => void;
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">, "size" | "loading" | "label" | "value" | "invalid" | "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
- value?: string | undefined;
13
- label?: string | undefined;
14
- loading?: boolean | undefined;
15
- hint?: string | undefined;
16
- size?: import("../interface").ComponentSize | undefined;
17
- invalid?: boolean | undefined;
18
- valid?: boolean | undefined;
19
- floatingLabel?: boolean | undefined;
20
- inputStart?: import("react").ReactNode;
21
- inputEnd?: import("react").ReactNode;
22
- onChange?: ((value: string) => void) | undefined;
23
- onIconStartClick?: ((value?: string | undefined) => void) | undefined;
24
- onIconEndClick?: ((value?: string | undefined) => void) | undefined;
25
- } & import("react").RefAttributes<HTMLInputElement>, "ref">, "value" | "type" | "onChange">, keyof NonDInputProps> & NonDInputProps & import("react").RefAttributes<HTMLInputElement>>;
26
- export default ForwardedDInputCurrencyBase;
@@ -1,2 +0,0 @@
1
- import DInputCurrencyBase from './DInputCurrencyBase';
2
- export default DInputCurrencyBase;
@@ -1,17 +0,0 @@
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">, "size" | "loading" | "label" | "value" | "invalid" | "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
- value?: string | undefined;
4
- label?: string | undefined;
5
- loading?: boolean | undefined;
6
- hint?: string | undefined;
7
- size?: import("../interface").ComponentSize | undefined;
8
- invalid?: boolean | undefined;
9
- valid?: boolean | undefined;
10
- floatingLabel?: boolean | undefined;
11
- inputStart?: import("react").ReactNode;
12
- inputEnd?: import("react").ReactNode;
13
- onChange?: ((value: string) => void) | undefined;
14
- onIconStartClick?: ((value?: string | undefined) => void) | undefined;
15
- onIconEndClick?: ((value?: string | undefined) => void) | undefined;
16
- } & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
17
- export default ForwardedDInputSearch;
@@ -1,2 +0,0 @@
1
- import DInputSearch from './DInputSearch';
2
- export default DInputSearch;
@@ -1,17 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import DListItem from './components/DListItem';
3
- import type { BaseProps, BreakpointSize } from '../interface';
4
- type Props = BaseProps & PropsWithChildren<{
5
- flush?: boolean;
6
- numbered?: boolean;
7
- horizontal?: boolean;
8
- horizontalBreakpoint?: BreakpointSize;
9
- }>;
10
- /**
11
- * @deprecated Please use DListGroup instead
12
- */
13
- declare function DList({ children, className, style, flush, numbered, horizontal, horizontalBreakpoint, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
14
- declare const _default: typeof DList & {
15
- Item: typeof DListItem;
16
- };
17
- export default _default;
@@ -1,13 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import type { BaseProps } from '../../interface';
3
- type Props = BaseProps & PropsWithChildren<{
4
- active?: boolean;
5
- disabled?: boolean;
6
- theme?: string;
7
- onClick?: () => void;
8
- }>;
9
- /**
10
- * @deprecated Please use DListGroup.Item or DListGroupItem instead
11
- */
12
- export default function DListItem({ children, className, style, active, disabled, theme, onClick, }: Props): import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,3 +0,0 @@
1
- import DList from './DList';
2
- export { default as DListItem } from './components/DListItem';
3
- export default DList;
@@ -1,20 +0,0 @@
1
- import type { BaseProps } from '../interface';
2
- type Props = BaseProps & {
3
- line1: string;
4
- line2: string;
5
- actionIcon?: string;
6
- actionIconTheme?: string;
7
- actionIconFamilyClass?: string;
8
- actionIconFamilyPrefix?: string;
9
- representativeImage?: string;
10
- representativeIcon?: string;
11
- representativeIconTheme?: string;
12
- representativeIconHasCircle?: boolean;
13
- representativeIconFamilyClass?: string;
14
- representativeIconFamilyPrefix?: string;
15
- href?: string;
16
- hrefTarget?: string;
17
- onClick?: () => void;
18
- };
19
- export default function DQuickActionButton({ line1, line2, className, actionIcon, actionIconFamilyClass, actionIconFamilyPrefix, actionIconTheme, representativeImage, representativeIcon, representativeIconTheme, representativeIconHasCircle, representativeIconFamilyClass, representativeIconFamilyPrefix, onClick, href, hrefTarget, style, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
20
- export {};
@@ -1,2 +0,0 @@
1
- import DQuickActionButton from './DQuickActionButton';
2
- export default DQuickActionButton;
@@ -1,17 +0,0 @@
1
- import type { ChangeEvent } from 'react';
2
- import type { BaseProps } from '../interface';
3
- type Props = BaseProps & {
4
- id?: string;
5
- name: string;
6
- value: string;
7
- line1: string;
8
- line2: string;
9
- line3: string;
10
- checked?: boolean;
11
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
12
- };
13
- /**
14
- * @deprecated
15
- */
16
- export default function DQuickActionCheck({ id: idProp, name, value, line1, line2, line3, className, style, checked, dataAttributes, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
17
- export {};
@@ -1,2 +0,0 @@
1
- import DQuickActionCheck from './DQuickActionCheck';
2
- export default DQuickActionCheck;
@@ -1,13 +0,0 @@
1
- import type { ChangeEvent } from 'react';
2
- import type { BaseProps } from '../interface';
3
- type Props = BaseProps & {
4
- id?: string;
5
- name: string;
6
- value: string;
7
- line1: string;
8
- line2: string;
9
- selected?: boolean;
10
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
11
- };
12
- export default function DQuickActionSelect({ id: idProp, name, value, line1, line2, className, style, selected, dataAttributes, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,2 +0,0 @@
1
- import DQuickActionSelect from './DQuickActionSelect';
2
- export default DQuickActionSelect;
@@ -1,15 +0,0 @@
1
- import type { BaseProps } from '../interface';
2
- type Props = BaseProps & {
3
- id?: string;
4
- name?: string;
5
- label: string;
6
- hint: string;
7
- checked?: boolean;
8
- disabled?: boolean;
9
- onClick?: (isChecked: boolean | undefined) => void;
10
- };
11
- /**
12
- * @deprecated
13
- */
14
- export default function DQuickActionSwitch({ id: idProp, name, label, hint, checked, disabled, className, style, dataAttributes, onClick, }: Props): import("react/jsx-runtime").JSX.Element;
15
- export {};
@@ -1,2 +0,0 @@
1
- import DQuickActionSwitch from './DQuickActionSwitch';
2
- export default DQuickActionSwitch;
@@ -1,11 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- export type Props = PropsWithChildren<{
3
- speed?: number;
4
- viewBox?: string;
5
- backgroundColor?: string;
6
- foregroundColor?: string;
7
- }>;
8
- /**
9
- * @deprecated Please use https://getbootstrap.com/docs/5.3/components/placeholders/ instead
10
- */
11
- export default function DSkeleton({ speed, viewBox, backgroundColor, foregroundColor, children, }: Props): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import DSkeleton from './DSkeleton';
2
- export default DSkeleton;
@@ -1,9 +0,0 @@
1
- import { BaseProps } from '../interface';
2
- type Props = BaseProps & {
3
- field: string;
4
- label: string;
5
- value?: string;
6
- onChange: (value: string) => void;
7
- };
8
- export default function DTableHead({ className, style, field, label, value, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,2 +0,0 @@
1
- import DTableHead from './DTableHead';
2
- export default DTableHead;
@@ -1,121 +0,0 @@
1
- .d-quick-action-button {
2
- --#{$prefix}quick-action-button-gap: #{$quick-action-button-gap};
3
- --#{$prefix}quick-action-button-padding: #{$quick-action-button-padding};
4
- --#{$prefix}quick-action-button-bg: #{$quick-action-button-bg};
5
- --#{$prefix}quick-action-button-border-radius: var(--#{$prefix}quick-action-button-component-border-radius, #{$quick-action-button-border-radius});
6
- --#{$prefix}quick-action-button-border: #{$quick-action-button-border};
7
- --#{$prefix}quick-action-button-box-shadow: #{$quick-action-button-box-shadow};
8
-
9
- --#{$prefix}quick-action-button-border-top: var(--#{$prefix}quick-action-button-component-border-top, var(--#{$prefix}quick-action-button-border));
10
- --#{$prefix}quick-action-button-border-right: var(--#{$prefix}quick-action-button-component-border-right, var(--#{$prefix}quick-action-button-border));
11
- --#{$prefix}quick-action-button-border-bottom: var(--#{$prefix}quick-action-button-component-border-bottom, var(--#{$prefix}quick-action-button-border));
12
- --#{$prefix}quick-action-button-border-left: var(--#{$prefix}quick-action-button-component-border-left, var(--#{$prefix}quick-action-button-border));
13
-
14
- --#{$prefix}quick-action-button-line1-font-size: #{$quick-action-button-line1-font-size};
15
- --#{$prefix}quick-action-button-line1-font-weight: #{$quick-action-button-line1-font-weight};
16
- --#{$prefix}quick-action-button-line1-color: #{$quick-action-button-line1-color};
17
-
18
- --#{$prefix}quick-action-button-line2-font-size: #{$quick-action-button-line2-font-size};
19
- --#{$prefix}quick-action-button-line2-font-weight: #{$quick-action-button-line2-font-weight};
20
- --#{$prefix}quick-action-button-line2-color: #{$quick-action-button-line2-color};
21
-
22
- --#{$prefix}quick-action-button-representative-image-size: #{$quick-action-button-representative-image-size};
23
- --#{$prefix}quick-action-button-representative-image-border-radius: #{$quick-action-button-representative-image-border-radius};
24
- --#{$prefix}quick-action-button-representative-icon-size: #{$quick-action-button-representative-icon-size};
25
-
26
- --#{$prefix}quick-action-button-action-icon-color: #{$quick-action-button-action-icon-color};
27
- --#{$prefix}quick-action-button-action-icon-size: #{$quick-action-button-action-icon-size};
28
- --#{$prefix}quick-action-button-action-link-padding-x: var(--#{$prefix}ref-spacer-3);
29
- --#{$prefix}quick-action-button-action-link-padding-y: var(--#{$prefix}ref-spacer-2);
30
-
31
- --#{$prefix}quick-action-button-hover-bg: #{$quick-action-button-hover-bg};
32
- --#{$prefix}quick-action-button-hover-border-color: #{$quick-action-button-hover-border-color};
33
- --#{$prefix}quick-action-button-hover-action-icon-color: #{$quick-action-button-hover-action-icon-color};
34
- --#{$prefix}quick-action-button-hover-box-shadow: #{$quick-action-button-hover-box-shadow};
35
-
36
- --#{$prefix}quick-action-button-active-bg: #{$quick-action-button-active-bg};
37
- --#{$prefix}quick-action-button-active-border-color: #{$quick-action-button-active-border-color};
38
- --#{$prefix}quick-action-button-active-action-icon-color: #{$quick-action-button-active-action-icon-color};
39
- --#{$prefix}quick-action-button-active-box-shadow: #{$quick-action-button-active-box-shadow};
40
-
41
- display: flex;
42
- gap: var(--#{$prefix}quick-action-button-gap);
43
- align-items: center;
44
- width: 100%;
45
- padding: var(--#{$prefix}quick-action-button-padding);
46
- text-align: left;
47
- background-color: var(--#{$prefix}quick-action-button-bg);
48
- background-position: center;
49
- border-top: var(--#{$prefix}quick-action-button-border-top);
50
- border-right: var(--#{$prefix}quick-action-button-border-right);
51
- border-bottom: var(--#{$prefix}quick-action-button-border-bottom);
52
- border-left: var(--#{$prefix}quick-action-button-border-left);
53
- border-radius: var(--#{$prefix}quick-action-button-border-radius);
54
- box-shadow: var(--#{$prefix}quick-action-button-box-shadow);
55
-
56
- &.d-quick-action-button-feedback:hover {
57
- text-decoration: none;
58
- background: var(--#{$prefix}quick-action-button-hover-bg);
59
- border-color: var(--#{$prefix}quick-action-button-hover-border-color);
60
- box-shadow: var(--#{$prefix}quick-action-button-hover-box-shadow);
61
- }
62
-
63
- &.d-quick-action-button-feedback:active {
64
- text-decoration: none;
65
- background: var(--#{$prefix}quick-action-button-active-bg);
66
- border-color: var(--#{$prefix}quick-action-button-active-border-color);
67
- box-shadow: var(--#{$prefix}quick-action-button-active-box-shadow);
68
- }
69
-
70
- .d-quick-action-button-representative-image {
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- width: var(--#{$prefix}quick-action-button-representative-image-size);
75
- height: var(--#{$prefix}quick-action-button-representative-image-size);
76
- background-color: var(--#{$prefix}quick-action-button-action-icon-color);
77
- border-radius: var(--#{$prefix}quick-action-button-representative-image-border-radius);
78
- }
79
-
80
- .d-quick-action-button-content {
81
- display: flex;
82
- flex: 1;
83
- justify-content: center;
84
- }
85
-
86
- .d-quick-action-button-text {
87
- display: flex;
88
- flex-grow: 1;
89
- flex-direction: column;
90
- }
91
-
92
- .d-quick-action-button-action-link,
93
- .d-quick-action-button-secondary-action-link {
94
- --#{$prefix}btn-padding-x: var(--#{$prefix}quick-action-button-action-link-padding-x);
95
- --#{$prefix}btn-padding-y: var(--#{$prefix}quick-action-button-action-link-padding-y);
96
- }
97
-
98
- .d-quick-action-button-line1 {
99
- font-size: var(--#{$prefix}quick-action-button-line1-font-size);
100
- font-weight: var(--#{$prefix}quick-action-button-line1-font-weight);
101
- color: var(--#{$prefix}quick-action-button-line1-color);
102
- }
103
-
104
- .d-quick-action-button-line2 {
105
- font-size: var(--#{$prefix}quick-action-button-line2-font-size);
106
- font-weight: var(--#{$prefix}quick-action-button-line2-font-weight);
107
- color: var(--#{$prefix}quick-action-button-line2-color);
108
- }
109
-
110
- .d-quick-action-button-action-icon {
111
- color: var(--#{$prefix}quick-action-button-action-icon-color);
112
- }
113
-
114
- &:hover .d-quick-action-button-action-icon {
115
- color: var(--#{$prefix}quick-action-button-active-action-icon-color);
116
- }
117
-
118
- &:active .d-quick-action-button-action-icon {
119
- color: var(--#{$prefix}quick-action-button-active-action-icon-color);
120
- }
121
- }
@@ -1,74 +0,0 @@
1
- .d-quick-action-check {
2
- --#{$prefix}quick-action-check-gap: #{$quick-action-check-gap};
3
- --#{$prefix}quick-action-check-padding: #{$quick-action-check-padding};
4
- --#{$prefix}quick-action-check-bg: #{$quick-action-check-bg};
5
- --#{$prefix}quick-action-check-border-radius: #{$quick-action-check-border-radius};
6
-
7
- --#{$prefix}quick-action-check-line1-font-size: #{$quick-action-check-line1-font-size};
8
- --#{$prefix}quick-action-check-line1-font-weight: #{$quick-action-check-line1-font-weight};
9
- --#{$prefix}quick-action-check-line1-color: #{$quick-action-check-line1-color};
10
-
11
- --#{$prefix}quick-action-check-line2-font-size: #{$quick-action-check-line2-font-size};
12
- --#{$prefix}quick-action-check-line2-font-weight: #{$quick-action-check-line2-font-weight};
13
- --#{$prefix}quick-action-check-line2-color: #{$quick-action-check-line2-color};
14
-
15
- --#{$prefix}quick-action-check-line3-font-size: #{$quick-action-check-line3-font-size};
16
- --#{$prefix}quick-action-check-line3-font-weight: #{$quick-action-check-line3-font-weight};
17
- --#{$prefix}quick-action-check-line3-color: #{$quick-action-check-line3-color};
18
-
19
- --#{$prefix}quick-action-check-hover-bg: #{$quick-action-check-hover-bg};
20
-
21
- --#{$prefix}quick-action-check-checked-bg: #{$quick-action-check-checked-bg};
22
- --#{$prefix}quick-action-check-checked-color: #{$quick-action-check-checked-color};
23
-
24
- display: flex;
25
- flex-direction: row;
26
- gap: var(--#{$prefix}quick-action-check-gap);
27
- align-items: center;
28
- width: 100%;
29
- padding: var(--#{$prefix}quick-action-check-padding);
30
- text-align: left;
31
- cursor: pointer;
32
- background-color: var(--#{$prefix}quick-action-check-bg);
33
- border-radius: var(--#{$prefix}quick-action-check-border-radius);
34
-
35
- &:hover {
36
- background: var(--#{$prefix}quick-action-check-hover-bg);
37
- }
38
-
39
- &:has(input:checked) {
40
- background: var(--#{$prefix}quick-action-check-checked-bg);
41
-
42
- .d-quick-action-check-line3 {
43
- color: var(--#{$prefix}quick-action-check-checked-color);
44
- }
45
- }
46
-
47
- .d-quick-action-check-detail {
48
- display: flex;
49
- flex-grow: 1;
50
- flex-direction: column;
51
- }
52
-
53
- .d-quick-action-check-line1 {
54
- font-size: var(--#{$prefix}quick-action-check-line1-font-size);
55
- font-weight: var(--#{$prefix}quick-action-check-line1-font-weight);
56
- color: var(--#{$prefix}quick-action-check-line1-color);
57
- }
58
-
59
- .d-quick-action-check-line2 {
60
- font-size: var(--#{$prefix}quick-action-check-line2-font-size);
61
- font-weight: var(--#{$prefix}quick-action-check-line2-font-weight);
62
- color: var(--#{$prefix}quick-action-check-line2-color);
63
- }
64
-
65
- .d-quick-action-check-line3 {
66
- font-size: var(--#{$prefix}quick-action-check-line3-font-size);
67
- font-weight: var(--#{$prefix}quick-action-check-line3-font-weight);
68
- color: var(--#{$prefix}quick-action-check-line3-color);
69
- }
70
-
71
- .form-check-input:focus {
72
- outline: 0;
73
- }
74
- }
@@ -1,58 +0,0 @@
1
- .d-quick-action-select {
2
- --#{$prefix}quick-action-select-padding: #{$quick-action-select-padding};
3
- --#{$prefix}quick-action-select-bg: #{$quick-action-select-bg};
4
- --#{$prefix}quick-action-select-border-radius: #{$quick-action-select-border-radius};
5
-
6
- --#{$prefix}quick-action-select-line1-font-size: #{$quick-action-select-line1-font-size};
7
- --#{$prefix}quick-action-select-line1-font-weight: #{$quick-action-select-line1-font-weight};
8
- --#{$prefix}quick-action-select-line1-color: #{$quick-action-select-line1-color};
9
-
10
- --#{$prefix}quick-action-select-line2-font-size: #{$quick-action-select-line2-font-size};
11
- --#{$prefix}quick-action-select-line2-font-weight: #{$quick-action-select-line2-font-weight};
12
- --#{$prefix}quick-action-select-line2-color: #{$quick-action-select-line2-color};
13
-
14
- --#{$prefix}quick-action-select-hover-bg: #{$quick-action-select-hover-bg};
15
-
16
- --#{$prefix}quick-action-select-checked-bg: #{$quick-action-select-checked-bg};
17
- --#{$prefix}quick-action-select-checked-color: #{$quick-action-select-checked-color};
18
-
19
- display: flex;
20
- flex-direction: column;
21
- gap: 0;
22
- align-items: flex-start;
23
- width: 100%;
24
- padding: var(--#{$prefix}quick-action-select-padding);
25
- text-align: left;
26
- cursor: pointer;
27
- background-color: var(--#{$prefix}quick-action-select-bg);
28
- border-radius: var(--#{$prefix}quick-action-select-border-radius);
29
-
30
- input {
31
- display: none;
32
- }
33
-
34
- &:hover {
35
- background: var(--#{$prefix}quick-action-select-hover-bg);
36
- }
37
-
38
- &:has(input:checked) {
39
- background: var(--#{$prefix}quick-action-select-checked-bg);
40
-
41
- .d-quick-action-select-line1,
42
- .d-quick-action-select-line2 {
43
- color: var(--#{$prefix}quick-action-select-checked-color);
44
- }
45
- }
46
-
47
- .d-quick-action-select-line1 {
48
- font-size: var(--#{$prefix}quick-action-select-line1-font-size);
49
- font-weight: var(--#{$prefix}quick-action-select-line1-font-weight);
50
- color: var(--#{$prefix}quick-action-select-line1-color);
51
- }
52
-
53
- .d-quick-action-select-line2 {
54
- font-size: var(--#{$prefix}quick-action-select-line2-font-size);
55
- font-weight: var(--#{$prefix}quick-action-select-line2-font-weight);
56
- color: var(--#{$prefix}quick-action-select-line2-color);
57
- }
58
- }
@@ -1,64 +0,0 @@
1
- .d-quick-action-switch {
2
- --#{$prefix}quick-action-switch-gap: #{$quick-action-switch-gap};
3
- --#{$prefix}quick-action-switch-padding: #{$quick-action-switch-padding};
4
- --#{$prefix}quick-action-switch-bg: #{$quick-action-switch-bg};
5
- --#{$prefix}quick-action-switch-border-radius: #{$quick-action-switch-border-radius};
6
-
7
- --#{$prefix}quick-action-switch-content-gap: #{$quick-action-switch-content-gap};
8
-
9
- --#{$prefix}quick-action-switch-label-font-size: #{$quick-action-switch-label-font-size};
10
- --#{$prefix}quick-action-switch-label-font-weight: #{$quick-action-switch-label-font-weight};
11
-
12
- --#{$prefix}quick-action-switch-hint-font-size: #{$quick-action-switch-hint-font-size};
13
- --#{$prefix}quick-action-switch-hint-font-weight: #{$quick-action-switch-hint-font-weight};
14
- --#{$prefix}quick-action-switch-hint-color: #{$quick-action-switch-hint-color};
15
-
16
- --#{$prefix}quick-action-switch-hover-bg: #{$quick-action-switch-hover-bg};
17
-
18
- --#{$prefix}quick-action-switch-checked-bg: #{$quick-action-switch-checked-bg};
19
- --#{$prefix}quick-action-switch-checked-hint-color: #{$quick-action-switch-checked-hint-color};
20
-
21
- display: flex;
22
- flex-direction: column;
23
- gap: var(--#{$prefix}quick-action-switch-gap);
24
- width: 100%;
25
- padding: var(--#{$prefix}quick-action-switch-padding);
26
- text-align: left;
27
- cursor: pointer;
28
- background-color: var(--#{$prefix}quick-action-switch-bg);
29
- border: 0;
30
- border-radius: var(--#{$prefix}quick-action-switch-border-radius);
31
-
32
- &:hover {
33
- background: var(--#{$prefix}quick-action-switch-hover-bg);
34
- }
35
-
36
- &:has(input:checked) {
37
- background: var(--#{$prefix}quick-action-switch-checked-bg);
38
-
39
- .d-quick-action-switch-hint {
40
- color: var(--#{$prefix}quick-action-switch-checked-hint-color);
41
- }
42
- }
43
-
44
- .d-quick-action-switch-content {
45
- display: flex;
46
- flex-direction: row;
47
- gap: var(--#{$prefix}quick-action-switch-content-gap);
48
- }
49
-
50
- label {
51
- --#{$prefix}label-font-size: var(--#{$prefix}quick-action-switch-label-font-size);
52
- --#{$prefix}label-font-weight: var(--#{$prefix}quick-action-switch-label-font-weight);
53
- }
54
-
55
- .d-quick-action-switch-hint {
56
- font-size: var(--#{$prefix}quick-action-switch-hint-font-size);
57
- font-weight: var(--#{$prefix}quick-action-switch-hint-font-weight);
58
- color: var(--#{$prefix}quick-action-switch-hint-color);
59
- }
60
-
61
- .d-input-switch:focus-within.form-switch .form-check-input {
62
- outline: 0;
63
- }
64
- }