@dynamic-framework/ui-react 1.16.2 → 1.17.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.
Files changed (81) hide show
  1. package/dist/css/dynamic-ui-non-root.css +3466 -1149
  2. package/dist/css/dynamic-ui-non-root.min.css +2 -2
  3. package/dist/css/dynamic-ui-root.css +20 -14
  4. package/dist/css/dynamic-ui-root.min.css +2 -2
  5. package/dist/css/dynamic-ui.css +3485 -1162
  6. package/dist/css/dynamic-ui.min.css +2 -2
  7. package/dist/index.esm.js +88 -78
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +88 -77
  10. package/dist/index.js.map +1 -1
  11. package/dist/types/components/DTabs/DTabs.d.ts +3 -2
  12. package/dist/types/hooks/index.d.ts +1 -0
  13. package/dist/types/hooks/useDisableInputWheel.d.ts +4 -0
  14. package/dist/types/hooks/useInputCurrency.d.ts +1 -2
  15. package/package.json +3 -3
  16. package/src/style/abstracts/_utilities.scss +12 -3
  17. package/src/style/abstracts/variables/_+import.scss +6 -81
  18. package/src/style/abstracts/variables/_accordion.scss +3 -23
  19. package/src/style/abstracts/variables/_alerts.scss +7 -13
  20. package/src/style/abstracts/variables/_badges.scss +2 -2
  21. package/src/style/abstracts/variables/_body.scss +1 -21
  22. package/src/style/abstracts/variables/_border.scss +5 -17
  23. package/src/style/abstracts/variables/_box-file.scss +3 -3
  24. package/src/style/abstracts/variables/_buttons.scss +8 -27
  25. package/src/style/abstracts/variables/_cards.scss +0 -16
  26. package/src/style/abstracts/variables/_carousel.scss +0 -25
  27. package/src/style/abstracts/variables/_chips.scss +1 -1
  28. package/src/style/abstracts/variables/_close.scss +0 -6
  29. package/src/style/abstracts/variables/_code.scss +0 -10
  30. package/src/style/abstracts/variables/_collapse-icon-text.scss +1 -1
  31. package/src/style/abstracts/variables/_dropdowns.scss +3 -27
  32. package/src/style/abstracts/variables/_forms.scss +20 -160
  33. package/src/style/abstracts/variables/_list-group.scss +6 -12
  34. package/src/style/abstracts/variables/_modals.scss +11 -31
  35. package/src/style/abstracts/variables/_navbar.scss +0 -28
  36. package/src/style/abstracts/variables/_navs.scss +11 -20
  37. package/src/style/abstracts/variables/_offcanvas.scss +6 -13
  38. package/src/style/abstracts/variables/_pagination.scss +20 -25
  39. package/src/style/abstracts/variables/_progress.scss +0 -3
  40. package/src/style/abstracts/variables/_quick-action-button.scss +3 -3
  41. package/src/style/abstracts/variables/_quick-action-check.scss +2 -2
  42. package/src/style/abstracts/variables/_quick-action-select.scss +1 -1
  43. package/src/style/abstracts/variables/_quick-action-switch.scss +1 -1
  44. package/src/style/abstracts/variables/_spacers.scss +20 -8
  45. package/src/style/abstracts/variables/_tables.scss +0 -18
  46. package/src/style/abstracts/variables/_typography.scss +3 -33
  47. package/src/style/base/_+import.scss +5 -0
  48. package/src/style/base/_body.scss +3 -0
  49. package/src/style/base/_collapse.scss +5 -5
  50. package/src/style/base/_form-control.scss +10 -0
  51. package/src/style/base/_form-text.scss +12 -0
  52. package/src/style/base/_input-group.scss +114 -0
  53. package/src/style/base/_label.scss +15 -0
  54. package/src/style/base/_pagination.scss +12 -82
  55. package/src/style/base/_tables.scss +1 -1
  56. package/src/style/components/_+import.scss +0 -2
  57. package/src/style/components/_d-card-account.scss +2 -2
  58. package/src/style/components/_d-carousel.scss +2 -2
  59. package/src/style/components/_d-datepicker.scss +9 -9
  60. package/src/style/components/_d-icon.scss +1 -1
  61. package/src/style/components/_d-input-pin.scss +14 -63
  62. package/src/style/components/_d-modal.scss +1 -1
  63. package/src/style/components/_d-monthpicker.scss +3 -3
  64. package/src/style/components/_d-offcanvas.scss +1 -1
  65. package/src/style/components/_d-select.scss +59 -111
  66. package/src/style/components/_d-stepper-desktop.scss +12 -8
  67. package/src/style/components/_d-stepper-mobile.scss +1 -1
  68. package/src/style/components/_d-tabs.scss +22 -29
  69. package/src/style/helpers/_+import.scss +2 -0
  70. package/src/style/helpers/_overlay.scss +17 -0
  71. package/src/style/abstracts/variables/_breadcrumb.scss +0 -15
  72. package/src/style/abstracts/variables/_figures.scss +0 -6
  73. package/src/style/abstracts/variables/_grid.scss +0 -41
  74. package/src/style/abstracts/variables/_popovers.scss +0 -31
  75. package/src/style/abstracts/variables/_spinners.scss +0 -13
  76. package/src/style/abstracts/variables/_thumbnails.scss +0 -10
  77. package/src/style/abstracts/variables/_toasts.scss +0 -19
  78. package/src/style/abstracts/variables/_tooltips.scss +0 -29
  79. package/src/style/abstracts/variables/_z-index.scss +0 -28
  80. package/src/style/components/_d-input-select.scss +0 -27
  81. package/src/style/components/_d-input.scss +0 -178
@@ -1,41 +1,36 @@
1
1
  // Pagination
2
2
 
3
3
  // scss-docs-start pagination-variables
4
- $pagination-padding-y: .375rem !default;
5
- $pagination-padding-x: .75rem !default;
6
- $pagination-padding-y-sm: .25rem !default;
7
- $pagination-padding-x-sm: .5rem !default;
8
- $pagination-padding-y-lg: .75rem !default;
9
- $pagination-padding-x-lg: 1.5rem !default;
10
-
11
- $pagination-font-size: $font-size-base !default;
4
+ $pagination-padding-y: var(--#{$prefix}ref-spacer-1) !default;
5
+ $pagination-padding-x: var(--#{$prefix}ref-spacer-1) !default;
6
+ $pagination-padding-y-sm: var(--#{$prefix}ref-spacer-1) !default;
7
+ $pagination-padding-x-sm: var(--#{$prefix}ref-spacer-1) !default;
8
+ $pagination-padding-y-lg: var(--#{$prefix}ref-spacer-2) !default;
9
+ $pagination-padding-x-lg: var(--#{$prefix}ref-spacer-2) !default;
10
+
11
+ // custom
12
+ $pagination-page-item-size: $spacer-8 !default;
13
+ $pagination-page-item-size-lg: $spacer-10 !default;
14
+ $pagination-page-item-size-sm: $spacer-6 !default;
15
+ $pagination-page-border-radius: $pagination-page-item-size !default;
16
+ // end custom
12
17
 
13
18
  $pagination-color: var(--#{$prefix}gray) !default;
14
- $pagination-bg: var(--#{$prefix}body-bg) !default;
15
- $pagination-border-radius: var(--#{$prefix}border-radius) !default;
19
+ $pagination-bg: transparent !default;
16
20
  $pagination-border-width: 0 !default;
17
- $pagination-margin-start: calc(#{$pagination-border-width} * -1) !default;
18
- $pagination-border-color: var(--#{$prefix}border-color) !default;
19
-
20
- $pagination-focus-color: var(--#{$prefix}white) !default;
21
- $pagination-focus-bg: var(--#{$prefix}secondary) !default;
22
- $pagination-focus-box-shadow: 0 !default;
23
- $pagination-focus-outline: 0 !default;
24
21
 
25
22
  $pagination-hover-color: var(--#{$prefix}secondary) !default;
26
23
  $pagination-hover-bg: var(--#{$prefix}secondary-100) !default;
27
24
  $pagination-hover-border-color: 0 !default; // Todo in v6: remove this?
28
25
 
29
- $pagination-active-color: $component-active-color !default;
30
- $pagination-active-bg: $component-active-bg !default;
31
- $pagination-active-border-color: $component-active-bg !default;
26
+ $pagination-focus-color: #{$pagination-hover-color} !default;
27
+ $pagination-focus-bg: #{$pagination-hover-bg} !default;
28
+ $pagination-focus-box-shadow: 0 !default;
29
+ $pagination-focus-outline: 0 !default;
32
30
 
33
31
  $pagination-disabled-color: var(--#{$prefix}gray-400) !default;
34
32
  $pagination-disabled-bg: var(--#{$prefix}transparent) !default;
35
- $pagination-disabled-border-color: var(--#{$prefix}border-color) !default;
36
-
37
- $pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
38
33
 
39
- $pagination-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
40
- $pagination-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
34
+ $pagination-border-radius-sm: $pagination-page-item-size-sm !default;
35
+ $pagination-border-radius-lg: $pagination-page-item-size-lg !default;
41
36
  // scss-docs-end pagination-variables
@@ -1,15 +1,12 @@
1
1
  // Progress bars
2
2
 
3
3
  // scss-docs-start progress-variables
4
- $progress-height: $spacer-3 !default;
5
4
  $progress-font-size: var(--#{$prefix}ref-fs-small) !default;
6
5
  $progress-bg: var(--#{$prefix}secondary-100) !default;
7
6
  $progress-border-radius: var(--#{$prefix}border-radius-pill) !default;
8
7
  $progress-box-shadow: none !default;
9
8
  $progress-bar-color: var(--#{$prefix}white) !default;
10
9
  $progress-bar-bg: var(--#{$prefix}secondary) !default;
11
- $progress-bar-animation-timing: 1s linear infinite !default;
12
- $progress-bar-transition: width .6s ease !default;
13
10
 
14
11
  // custom
15
12
  $progress-font-weight: var(--#{$prefix}ref-fw-bold) !default;
@@ -1,5 +1,5 @@
1
1
  $quick-action-button-gap: var(--#{$prefix}ref-spacer-2) !default;
2
- $quick-action-button-padding: var(--#{$prefix}ref-spacer-3) !default;
2
+ $quick-action-button-padding: var(--#{$prefix}ref-spacer-4) !default;
3
3
  $quick-action-button-bg: var(--#{$prefix}white) !default;
4
4
  $quick-action-button-border: 1px solid var(--#{$prefix}secondary-100) !default;
5
5
  $quick-action-button-border-radius: var(--#{$prefix}border-radius) !default;
@@ -13,9 +13,9 @@ $quick-action-button-line2-font-size: var(--#{$prefix}ref-fs-small) !default;
13
13
  $quick-action-button-line2-font-weight: var(--#{$prefix}ref-fw-normal) !default;
14
14
  $quick-action-button-line2-color: var(--#{$prefix}gray-500) !default;
15
15
 
16
- $quick-action-button-representative-image-size: 2.25rem !default;
16
+ $quick-action-button-representative-image-size: var(--#{$prefix}ref-spacer-9) !default;
17
17
  $quick-action-button-representative-image-border-radius: $spacer-2 !default;
18
- $quick-action-button-representative-icon-size: $spacer-4 !default;
18
+ $quick-action-button-representative-icon-size: var(--#{$prefix}ref-spacer-6) !default;
19
19
 
20
20
  $quick-action-button-action-icon-color: var(--#{$prefix}gray-500) !default;
21
21
  $quick-action-button-action-icon-size: var(--#{$prefix}body-font-size) !default;
@@ -1,5 +1,5 @@
1
- $quick-action-check-gap: var(--#{$prefix}ref-spacer-3) !default;
2
- $quick-action-check-padding: var(--#{$prefix}ref-spacer-3) !default;
1
+ $quick-action-check-gap: var(--#{$prefix}ref-spacer-4) !default;
2
+ $quick-action-check-padding: var(--#{$prefix}ref-spacer-4) !default;
3
3
  $quick-action-check-bg: var(--#{$prefix}white) !default;
4
4
  $quick-action-check-border-radius: var(--#{$prefix}border-radius-sm) !default;
5
5
 
@@ -1,4 +1,4 @@
1
- $quick-action-select-padding: var(--#{$prefix}ref-spacer-3) !default;
1
+ $quick-action-select-padding: var(--#{$prefix}ref-spacer-4) !default;
2
2
  $quick-action-select-bg: var(--#{$prefix}gray-100) !default;
3
3
  $quick-action-select-border-radius: var(--#{$prefix}border-radius-sm) !default;
4
4
 
@@ -1,5 +1,5 @@
1
1
  $quick-action-switch-gap: var(--#{$prefix}ref-spacer-2) !default;
2
- $quick-action-switch-padding: var(--#{$prefix}ref-spacer-2) var(--#{$prefix}ref-spacer-3) !default;
2
+ $quick-action-switch-padding: var(--#{$prefix}ref-spacer-2) var(--#{$prefix}ref-spacer-4) !default;
3
3
  $quick-action-switch-bg: var(--#{$prefix}white) !default;
4
4
  $quick-action-switch-border-radius: var(--#{$prefix}border-radius-sm) !default;
5
5
 
@@ -6,14 +6,20 @@
6
6
 
7
7
  // scss-docs-start spacer-variables-maps
8
8
  $spacer: 1rem !default;
9
- $spacer-1: $spacer * .25 !default; // 4px
10
- $spacer-2: $spacer * .5, !default; // 8px
11
- $spacer-3: $spacer !default; // 16px
12
- $spacer-4: $spacer * 1.5 !default; // 24px
13
- $spacer-5: $spacer * 2 !default; // 32px
14
- $spacer-6: $spacer * 2.5 !default; // 40px
15
- $spacer-7: $spacer * 3 !default; // 48px
16
- $spacer-8: $spacer * 3.5 !default; // 56px
9
+ $spacer-1: $spacer * .25 !default; // 4px
10
+ $spacer-2: $spacer * .5 !default; // 8px
11
+ $spacer-3: $spacer * .75 !default; // 12px
12
+ $spacer-4: $spacer !default; // 16px
13
+ $spacer-5: $spacer * 1.25 !default; // 20px
14
+ $spacer-6: $spacer * 1.5 !default; // 24px
15
+ $spacer-7: $spacer * 1.75 !default; // 28px
16
+ $spacer-8: $spacer * 2 !default; // 32px
17
+ $spacer-9: $spacer * 2.25 !default; // 36px
18
+ $spacer-10: $spacer * 2.5 !default; // 40px
19
+ $spacer-11: $spacer * 2.75 !default; // 44px
20
+ $spacer-12: $spacer * 3 !default; // 48px
21
+ $spacer-13: $spacer * 3.25 !default; // 52px
22
+ $spacer-14: $spacer * 3.5 !default; // 56px
17
23
  $spacers: (
18
24
  0: 0,
19
25
  1: $spacer-1,
@@ -24,5 +30,11 @@ $spacers: (
24
30
  6: $spacer-6,
25
31
  7: $spacer-7,
26
32
  8: $spacer-8,
33
+ 9: $spacer-9,
34
+ 10: $spacer-10,
35
+ 11: $spacer-11,
36
+ 12: $spacer-12,
37
+ 13: $spacer-13,
38
+ 14: $spacer-14,
27
39
  ) !default;
28
40
  // scss-docs-end spacer-variables-maps
@@ -3,18 +3,8 @@
3
3
  // Customizes the `.table` component with basic values, each used across all table variations.
4
4
 
5
5
  // scss-docs-start table-variables
6
- $table-cell-padding-y: .5rem !default;
7
- $table-cell-padding-x: .5rem !default;
8
- $table-cell-padding-y-sm: .25rem !default;
9
- $table-cell-padding-x-sm: .25rem !default;
10
-
11
- $table-cell-vertical-align: top !default;
12
-
13
6
  $table-color: var(--#{$prefix}body-color) !default;
14
7
  $table-bg: transparent !default;
15
- $table-accent-bg: transparent !default;
16
-
17
- $table-th-font-weight: null !default;
18
8
 
19
9
  $table-bg-scale: -100% !default;
20
10
 
@@ -31,15 +21,7 @@ $table-hover-bg-factor: .075 !default;
31
21
  $table-hover-bg: unquote("color-mix(in srgb, var(--#{$prefix}white), var(--#{$prefix}black) #{(100% - $table-bg-scale) * $table-hover-bg-factor})") !default;
32
22
 
33
23
  $table-border-factor: .1 !default;
34
- $table-border-width: var(--#{$prefix}border-width) !default;
35
- $table-border-color: var(--#{$prefix}border-color) !default;
36
-
37
- $table-striped-order: odd !default;
38
- $table-striped-columns-order: even !default;
39
-
40
- $table-group-separator-color: currentcolor !default;
41
24
 
42
- $table-caption-color: var(--#{$prefix}secondary-color) !default;
43
25
 
44
26
  // scss-docs-end table-variables
45
27
 
@@ -4,9 +4,6 @@
4
4
 
5
5
  // scss-docs-start font-variables
6
6
  $font-family-sans-serif: "Source Sans 3", sans-serif !default;
7
- $font-family-monospace: sfmono-regular, menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace !default;
8
- $font-family-base: var(--#{$prefix}font-sans-serif) !default;
9
- $font-family-code: var(--#{$prefix}font-monospace) !default;
10
7
 
11
8
  // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
12
9
  // $font-size-base affects the font size of the body text
@@ -24,9 +21,7 @@ $font-weight-bolder: 800 !default;
24
21
 
25
22
  $font-weight-base: $font-weight-normal !default;
26
23
 
27
- $line-height-base: 1.2 !default;
28
- $line-height-sm: 1.2 !default;
29
- $line-height-lg: 1.2 !default;
24
+ $line-height-base: 1.5 !default;
30
25
 
31
26
  $h1-font-size: $font-size-base * 4 !default;
32
27
  $h2-font-size: $font-size-base * 3.5 !default;
@@ -49,11 +44,8 @@ $font-sizes: (
49
44
 
50
45
  // scss-docs-start headings-variables
51
46
  $headings-margin-bottom: 0 !default;
52
- $headings-font-family: null !default;
53
- $headings-font-style: null !default;
54
47
  $headings-font-weight: $font-weight-bold !default;
55
48
  $headings-line-height: 1.2 !default;
56
- $headings-color: null !default;
57
49
  // scss-docs-end headings-variables
58
50
 
59
51
  // scss-docs-start display-headings
@@ -73,14 +65,11 @@ $display-font-sizes: (
73
65
  6: $display6-font-size
74
66
  ) !default;
75
67
 
76
- $display-font-family: null !default;
77
- $display-font-style: null !default;
78
68
  $display-font-weight: $font-weight-base !default;
79
69
  $display-line-height: $headings-line-height !default;
80
70
  // scss-docs-end display-headings
81
71
 
82
72
  // scss-docs-start type-variables
83
- $lead-font-size: $font-size-base * 1.25 !default;
84
73
  $lead-font-weight: $font-weight-normal !default;
85
74
 
86
75
  $small-font-size: $font-size-sm !default;
@@ -91,33 +80,14 @@ $sub-sup-font-size: .75em !default;
91
80
  $text-muted: var(--#{$prefix}gray) !default;
92
81
  // fusv-enable
93
82
 
94
- $initialism-font-size: $small-font-size !default;
95
-
96
- $blockquote-margin-y: var(--#{$prefix}ref-spacer-3) !default;
97
- $blockquote-font-size: $font-size-base * 1.25 !default;
83
+ $blockquote-margin-y: var(--#{$prefix}ref-spacer-4) !default;
98
84
  $blockquote-footer-color: var(--#{$prefix}gray-600) !default;
99
- $blockquote-footer-font-size: $small-font-size !default;
100
85
 
101
- $hr-margin-y: var(--#{$prefix}ref-spacer-3) !default;
86
+ $hr-margin-y: var(--#{$prefix}ref-spacer-4) !default;
102
87
  $hr-color: inherit !default;
103
88
 
104
- // fusv-disable
105
- $hr-bg-color: null !default; // Deprecated in v5.2.0
106
- $hr-height: null !default; // Deprecated in v5.2.0
107
- // fusv-enable
108
-
109
89
  $hr-border-color: $border-color !default; // Allows for inherited colors
110
- $hr-border-width: $border-width !default;
111
90
  $hr-opacity: 1 !default;
112
91
 
113
- $legend-margin-bottom: .5rem !default;
114
- $legend-font-size: 1.5rem !default;
115
- $legend-font-weight: null !default;
116
-
117
- $dt-font-weight: $font-weight-bold !default;
118
-
119
- $list-inline-padding: .5rem !default;
120
-
121
- $mark-padding: .1875em !default;
122
92
  $mark-bg: var(--#{$prefix}warning-100) !default;
123
93
  // scss-docs-end type-variables
@@ -34,9 +34,13 @@
34
34
  @import "bootstrap/scss/placeholders";
35
35
  @import "bootstrap/scss/badge";
36
36
 
37
+ @import "body";
37
38
  @import "accordion";
38
39
  @import "form-switch";
39
40
  @import "form-check";
41
+ @import "form-control";
42
+ @import "form-text";
43
+ @import "input-group";
40
44
  @import "button";
41
45
  @import "progress";
42
46
  @import "alert";
@@ -44,3 +48,4 @@
44
48
  @import "pagination";
45
49
  @import "breadcrumb";
46
50
  @import "dropdown";
51
+ @import "label";
@@ -0,0 +1,3 @@
1
+ body {
2
+ -webkit-font-smoothing: antialiased;
3
+ }
@@ -4,12 +4,12 @@
4
4
  --#{$prefix}collapse-border-radius: var(--#{$prefix}ref-spacer-1);
5
5
  --#{$prefix}collapse-box-shadow: var(--#{$prefix}box-shadow-sm);
6
6
  // Button
7
- --#{$prefix}collapse-button-padding-x: var(--#{$prefix}ref-spacer-3);
8
- --#{$prefix}collapse-button-padding-y: var(--#{$prefix}ref-spacer-3);
9
- --#{$prefix}collapse-button-gap: var(--#{$prefix}ref-spacer-3);
7
+ --#{$prefix}collapse-button-padding-x: var(--#{$prefix}ref-spacer-4);
8
+ --#{$prefix}collapse-button-padding-y: var(--#{$prefix}ref-spacer-4);
9
+ --#{$prefix}collapse-button-gap: var(--#{$prefix}ref-spacer-4);
10
10
  // Body
11
- --#{$prefix}collapse-body-padding-x: var(--#{$prefix}ref-spacer-3);
12
- --#{$prefix}collapse-body-padding-y: var(--#{$prefix}ref-spacer-3);
11
+ --#{$prefix}collapse-body-padding-x: var(--#{$prefix}ref-spacer-4);
12
+ --#{$prefix}collapse-body-padding-y: var(--#{$prefix}ref-spacer-4);
13
13
  // Separator
14
14
  --#{$prefix}collapse-separator-display: none;
15
15
  --#{$prefix}collapse-separator-height: 1px;
@@ -0,0 +1,10 @@
1
+ .form-control {
2
+ --#{$prefix}form-control-text-align: var(--#{$prefix}form-control-component-text-align, "left");
3
+
4
+ text-align: var(--#{$prefix}form-control-text-align);
5
+ &::-webkit-inner-spin-button,
6
+ &::-webkit-outer-spin-button {
7
+ margin: 0;
8
+ appearance: none;
9
+ }
10
+ }
@@ -0,0 +1,12 @@
1
+ .form-text {
2
+ --#{$prefix}form-text-padding: #{$form-text-padding-y} #{$form-text-padding-x};
3
+ --#{$prefix}form-text-gap: var(--#{$prefix}ref-spacer-1);
4
+ --#{$prefix}form-text-color: #{$form-text-color};
5
+
6
+ display: inline-flex;
7
+ flex-direction: row;
8
+ gap: var(--#{$prefix}form-text-gap);
9
+ align-items: center;
10
+ padding: var(--#{$prefix}form-text-padding);
11
+ color: var(--#{$prefix}form-text-color);
12
+ }
@@ -0,0 +1,114 @@
1
+ // bootstrap reset layer
2
+ .input-group > .form-select,
3
+ .input-group > .form-control {
4
+ border: 0;
5
+
6
+ &:not(:first-child) {
7
+ padding-left: 0;
8
+ }
9
+
10
+ &:focus {
11
+ border: 0;
12
+ box-shadow: none;
13
+ }
14
+ }
15
+
16
+ .input-group > .form-select:not(:last-child) {
17
+ padding-right: $form-select-indicator-padding - $form-select-padding-x;
18
+ background-position: right 0 center;
19
+ }
20
+
21
+ .input-group > .form-control:not(:last-child) {
22
+ padding-right: 0;
23
+ }
24
+
25
+ .input-group > .form-floating .form-select,
26
+ .input-group > .form-floating .form-control {
27
+ border: 0;
28
+
29
+ &:focus {
30
+ border: 0;
31
+ box-shadow: none;
32
+ }
33
+ }
34
+
35
+ .input-group > .form-floating:not(:first-child) .form-select,
36
+ .input-group > .form-floating:not(:first-child) .form-control {
37
+ padding-left: 0;
38
+ }
39
+
40
+ .input-group > .form-floating:not(:last-child) .form-select {
41
+ padding-right: $form-select-indicator-padding - $form-select-padding-x;
42
+ background-position: right 0 center;
43
+ }
44
+
45
+ .input-group > .form-floating:not(:last-child) .form-control {
46
+ padding-right: 0;
47
+ }
48
+ // end bootstrap reset layer
49
+
50
+ .input-group {
51
+ // input group
52
+ --#{$prefix}input-border-color: #{$input-border-color};
53
+ --#{$prefix}input-border-width: #{$input-border-width};
54
+ --#{$prefix}input-border-radius: #{$input-border-radius};
55
+
56
+ // input group focus
57
+ --#{$prefix}input-focus-border-color: #{$input-focus-border-color};
58
+ --#{$prefix}input-focus-box-shadow: #{$input-focus-box-shadow};
59
+
60
+ // input group disabled
61
+ --#{$prefix}input-disabled-border-color: #{$input-disabled-border-color};
62
+ --#{$prefix}input-disabled-bg: #{$input-disabled-bg};
63
+ --#{$prefix}input-disabled-color: #{$input-disabled-color};
64
+
65
+
66
+ border: var(--#{$prefix}input-border-width) solid var(--#{$prefix}input-border-color);
67
+ @include border-radius(var(--#{$prefix}input-border-radius), 0);
68
+
69
+ &:focus-within {
70
+ border-color: var(--#{$prefix}input-focus-border-color);
71
+ box-shadow: var(--#{$prefix}input-focus-box-shadow);
72
+ }
73
+
74
+ // validation states
75
+ @each $state, $data in $form-validation-states {
76
+ $border-color: map-get($data, "border-color");
77
+ $tooltip-bg-color: map-get($data, "tooltip-bg-color");
78
+ $box-shadow: map-get($data, "focus-box-shadow");
79
+
80
+ &:has(.form-control.is-#{$state}) {
81
+ border-color: $border-color;
82
+ box-shadow: $box-shadow;
83
+
84
+ ~ .form-text {
85
+ color: $border-color;
86
+ }
87
+
88
+ .input-group-validation-icon {
89
+ --#{$prefix}icon-color: #{$tooltip-bg-color};
90
+ }
91
+ }
92
+ }
93
+
94
+ // disabled state
95
+ &:has(.form-select:disabled),
96
+ &:has(.form-control:disabled) {
97
+ border-color: var(--#{$prefix}input-disabled-border-color);
98
+
99
+ // input addons disabled
100
+ .input-group-text {
101
+ color: var(--#{$prefix}input-disabled-color);
102
+ background: var(--#{$prefix}input-disabled-bg);
103
+ }
104
+
105
+ // icon disabled
106
+ .d-icon {
107
+ --#{$prefix}icon-color: var(--#{$prefix}input-disabled-color);
108
+ }
109
+ }
110
+
111
+ button:disabled .d-icon {
112
+ --#{$prefix}icon-color: var(--#{$prefix}input-disabled-color);
113
+ }
114
+ }
@@ -0,0 +1,15 @@
1
+ .label,
2
+ label {
3
+ display: inline-flex;
4
+ flex-direction: row;
5
+ gap: var(--#{$prefix}ref-spacer-1);
6
+ align-items: center;
7
+ padding: var(--#{$prefix}label-padding-y) var(--#{$prefix}label-padding-x);
8
+ font-size: var(--#{$prefix}label-font-size);
9
+ font-weight: var(--#{$prefix}label-font-weight);
10
+ color: var(--#{$prefix}label-color);
11
+
12
+ .d-icon {
13
+ --#{$prefix}icon-color: var(--#{$prefix}focus-ring-color);
14
+ }
15
+ }
@@ -1,89 +1,12 @@
1
1
  .pagination {
2
- // Page link
3
- --#{$prefix}pagination-page-item-size: 2.125rem;
4
- --#{$prefix}pagination-page-link-bg: transparent;
5
- --#{$prefix}pagination-page-border-radius: var(--#{$prefix}border-radius);
6
- // Arrow
7
- --#{$prefix}pagination-arrow-font-size: var(--#{$prefix}ref-fs-small);
8
- --#{$prefix}pagination-arrow-padding-y: var(--#{$prefix}ref-spacer-1);
9
- --#{$prefix}pagination-arrow-padding-x: var(--#{$prefix}ref-spacer-2);
10
- --#{$prefix}pagination-arrow-border-radius: var(--#{$prefix}border-radius);
11
- --#{$prefix}pagination-arrow-color: var(--#{$prefix}secondary);
12
- // Arrow :focus
13
- --#{$prefix}pagination-focus-arrow-bg: var(--#{$prefix}secondary-100);
14
- // Arrow previous
15
- --#{$prefix}pagination-arrow-prev-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%234848b7" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>');
16
- --#{$prefix}pagination-disabled-arrow-prev-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23a1a1b5" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>');
17
- // Arrow next
18
- --#{$prefix}pagination-arrow-next-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%234848b7" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
19
- --#{$prefix}pagination-disabled-arrow-next-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23a1a1b5" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
2
+ --#{$prefix}pagination-page-item-size: #{$pagination-page-item-size};
3
+ --#{$prefix}pagination-border-radius: #{$pagination-page-border-radius};
4
+
20
5
  margin: 0;
21
6
 
22
7
  .page-item {
23
8
  min-width: var(--#{$prefix}pagination-page-item-size);
24
9
  min-height: var(--#{$prefix}pagination-page-item-size);
25
-
26
- &:not(.active, :hover) .page-link {
27
- background-color: var(--#{$prefix}pagination-page-link-bg);
28
- }
29
- }
30
-
31
- .arrow .page-link {
32
- min-width: fit-content;
33
- padding: var(--#{$prefix}pagination-arrow-padding-y) var(--#{$prefix}pagination-arrow-padding-x);
34
- font-size: var(--#{$prefix}pagination-arrow-font-size);
35
- border-radius: var(--#{$prefix}pagination-arrow-border-radius);
36
-
37
- &:focus {
38
- background-color: var(--#{$prefix}pagination-focus-arrow-bg);
39
- }
40
-
41
- &::after,
42
- &::before {
43
- position: relative;
44
- display: flex;
45
- align-items: center;
46
- justify-content: center;
47
- background-repeat: no-repeat;
48
- background-size: var(--#{$prefix}pagination-arrow-font-size);
49
- }
50
- }
51
-
52
- .arrow:is(.arrow-prev, .arrow-next):not(.disabled) .page-link {
53
- color: var(--#{$prefix}pagination-arrow-color);
54
- }
55
-
56
- // Arrow prev
57
- .arrow.arrow-prev .page-link::before {
58
- min-width: var(--#{$prefix}pagination-arrow-font-size);
59
- min-height: var(--#{$prefix}pagination-arrow-font-size);
60
- margin-right: var(--#{$prefix}ref-spacer-1);
61
- content: "";
62
- background-image: var(--#{$prefix}pagination-arrow-prev-icon-bg-image);
63
- background-position: center left;
64
- }
65
-
66
- // Arrow next
67
- .arrow.arrow-next .page-link::after {
68
- width: var(--#{$prefix}pagination-arrow-font-size);
69
- height: var(--#{$prefix}pagination-arrow-font-size);
70
- margin-left: var(--#{$prefix}ref-spacer-1);
71
- content: "";
72
- background-image: var(--#{$prefix}pagination-arrow-next-icon-bg-image);
73
- background-position: center right;
74
- }
75
-
76
- // Hide default icon
77
- .arrow:is(.arrow-next, .arrow-prev).no-label .page-link > span {
78
- display: none;
79
- }
80
-
81
- .arrow-prev.disabled .page-link::before {
82
- background-image: var(--#{$prefix}pagination-disabled-arrow-prev-icon-bg-image);
83
- }
84
-
85
- .arrow-next.disabled .page-link::after {
86
- background-image: var(--#{$prefix}pagination-disabled-arrow-next-icon-bg-image);
87
10
  }
88
11
 
89
12
  .page-link {
@@ -92,7 +15,14 @@
92
15
  justify-content: center;
93
16
  width: 100%;
94
17
  height: 100%;
95
- padding: 0;
96
- border-radius: var(--#{$prefix}pagination-page-border-radius);
18
+ border-radius: var(--#{$prefix}pagination-border-radius);
97
19
  }
98
20
  }
21
+
22
+ .pagination-lg {
23
+ --#{$prefix}pagination-page-item-size: #{$pagination-page-item-size-lg};
24
+ }
25
+
26
+ .pagination-sm {
27
+ --#{$prefix}pagination-page-item-size: #{$pagination-page-item-size-sm};
28
+ }
@@ -21,7 +21,7 @@
21
21
  --#{$prefix}table-hover-bg: #{$table-hover-bg};
22
22
 
23
23
  width: 100%;
24
- margin-bottom: var(--#{$prefix}ref-spacer-3);
24
+ margin-bottom: var(--#{$prefix}ref-spacer-4);
25
25
  vertical-align: $table-cell-vertical-align;
26
26
  border-color: var(--#{$prefix}table-border-color);
27
27
 
@@ -1,8 +1,6 @@
1
1
  @import "react-toastify/scss/main";
2
2
 
3
3
  @import "d-icon";
4
- @import "d-input";
5
- @import "d-input-select";
6
4
  @import "d-input-pin";
7
5
  @import "d-quick-action-button";
8
6
  @import "d-quick-action-select";
@@ -1,8 +1,8 @@
1
1
  .d-card-account {
2
2
  // Card
3
3
  --#{$prefix}card-border-width: 0;
4
- --#{$prefix}card-spacer-y: var(--#{$prefix}ref-spacer-3);
5
- --#{$prefix}card-spacer-x: var(--#{$prefix}ref-spacer-3);
4
+ --#{$prefix}card-spacer-y: var(--#{$prefix}ref-spacer-4);
5
+ --#{$prefix}card-spacer-x: var(--#{$prefix}ref-spacer-4);
6
6
  --#{$prefix}card-color: var(--#{$prefix}body-color);
7
7
  // Card body
8
8
  --#{$prefix}card-body-gap: #{$spacer};
@@ -2,9 +2,9 @@
2
2
 
3
3
  .d-carousel {
4
4
  // Arrows
5
- --#{$prefix}carousel-arrow-space: calc(var(--#{$prefix}ref-spacer-3) * -1);
5
+ --#{$prefix}carousel-arrow-space: calc(var(--#{$prefix}ref-spacer-4) * -1);
6
6
  // Pagination
7
- --#{$prefix}carousel-pagination-bottom: calc(var(--#{$prefix}ref-spacer-3) * -1);
7
+ --#{$prefix}carousel-pagination-bottom: calc(var(--#{$prefix}ref-spacer-4) * -1);
8
8
  --#{$prefix}carousel-pagination-page-bg: var(--#{$prefix}secondary-100);
9
9
  --#{$prefix}carousel-pagination-active-page-bg: var(--#{$prefix}secondary);
10
10
  // :focus