@dynamic-framework/ui-react 1.33.0 → 1.35.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/README.md +1 -1
- package/dist/css/bootstrap-icons.css +3 -3
- package/dist/css/bootstrap-icons.min.css +2 -2
- package/dist/css/bootstrap-icons.scss +1 -1
- package/dist/css/dynamic-ui-non-root.css +724 -965
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +1 -1
- package/dist/css/dynamic-ui-root.min.css +1 -1
- package/dist/css/dynamic-ui.css +724 -965
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/css/fonts/bootstrap-icons.woff +0 -0
- package/dist/css/fonts/bootstrap-icons.woff2 +0 -0
- package/dist/index.esm.js +680 -169
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +686 -165
- package/dist/index.js.map +1 -1
- package/dist/js/bootstrap.bundle.js +19 -18
- package/dist/js/bootstrap.bundle.min.js +3 -3
- package/dist/js/bootstrap.esm.js +19 -16
- package/dist/js/bootstrap.esm.min.js +3 -3
- package/dist/js/bootstrap.js +19 -16
- package/dist/js/bootstrap.min.js +3 -3
- package/dist/types/components/DBoxFile/DBoxFile.d.ts +6 -5
- package/dist/types/components/DBoxFile/useDBoxFile.d.ts +37 -0
- package/dist/types/components/DBoxFile/utils.d.ts +39 -0
- package/dist/types/components/DDatePicker/DDatePicker.d.ts +6 -12
- package/dist/types/components/DDatePicker/components/DDatePickerHeaderSelector.d.ts +38 -0
- package/dist/types/components/{DDatePickerInput → DDatePicker/components}/DDatePickerInput.d.ts +2 -2
- package/dist/types/components/{DDatePickerTime → DDatePicker/components}/DDatePickerTime.d.ts +2 -2
- package/dist/types/components/DInput/DInput.d.ts +1 -1
- package/dist/types/components/DInputCounter/DInputCounter.d.ts +2 -2
- package/dist/types/components/DInputCurrency/DInputCurrency.d.ts +2 -2
- package/dist/types/components/DInputCurrencyBase/DInputCurrencyBase.d.ts +2 -2
- package/dist/types/components/DInputMask/DInputMask.d.ts +1 -1
- package/dist/types/components/DInputRange/DInputRange.d.ts +1 -1
- package/dist/types/components/DInputSearch/DInputSearch.d.ts +1 -1
- package/dist/types/components/DPopover/DPopover.d.ts +0 -3
- package/dist/types/components/DQuickActionButton/DQuickActionButton.d.ts +4 -9
- package/dist/types/contexts/DContext.d.ts +9 -0
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/useMediaBreakpointUp.d.ts +6 -0
- package/dist/types/hooks/useMediaQuery.d.ts +1 -0
- package/dist/types/utils/attr-accept.d.ts +11 -0
- package/dist/types/utils/getCssVariable.d.ts +1 -0
- package/dist/types/utils/getKeyboardFocusableElements.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/mediaQuery.d.ts +2 -0
- package/jest/setup.js +14 -0
- package/package.json +13 -14
- package/src/style/abstracts/variables/_+import.scss +1 -0
- package/src/style/abstracts/variables/_box-file.scss +14 -7
- package/src/style/abstracts/variables/_cards.scss +1 -1
- package/src/style/abstracts/variables/_datepicker.scss +50 -0
- package/src/style/abstracts/variables/_forms.scss +6 -3
- package/src/style/base/_form-switch.scss +23 -2
- package/src/style/base/_input-group.scss +18 -1
- package/src/style/base/_nav.scss +0 -1
- package/src/style/base/_toast.scss +2 -0
- package/src/style/components/_d-box-file.scss +31 -15
- package/src/style/components/_d-button-icon.scss +17 -16
- package/src/style/components/_d-datepicker.scss +578 -243
- package/src/style/components/_d-input-pin.scss +8 -5
- package/src/style/components/_d-quick-action-button.scss +5 -3
- package/src/style/components/_d-quick-action-check.scss +1 -1
- package/src/style/components/_d-select.scss +35 -6
- package/src/style/components/_d-stepper-desktop.scss +1 -1
- package/src/style/helpers/_text-truncate.scss +2 -2
- package/dist/types/components/DDatePickerHeader/DDatePickerHeader.d.ts +0 -24
- package/dist/types/components/DDatePickerHeader/index.d.ts +0 -2
- package/dist/types/components/DDatePickerInput/index.d.ts +0 -2
- package/dist/types/components/DDatePickerTime/index.d.ts +0 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.toast {
|
|
2
2
|
--#{$prefix}toast-header-gap: var(--#{$prefix}ref-spacer-2);
|
|
3
|
+
--#{$prefix}toast-body-gap: var(--#{$prefix}ref-spacer-2);
|
|
3
4
|
--#{$prefix}toast-color: var(--#{$prefix}gray-900);
|
|
4
5
|
--#{$prefix}toast-close-color: var(--#{$prefix}gray-900);
|
|
5
6
|
--#{$prefix}toast-header-color: var(--#{$prefix}gray-900);
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
|
|
16
17
|
.toast-body {
|
|
17
18
|
display: flex;
|
|
19
|
+
gap: var(--#{$prefix}toast-body-gap);
|
|
18
20
|
align-items: center;
|
|
19
21
|
justify-content: space-between;
|
|
20
22
|
}
|
|
@@ -14,9 +14,12 @@
|
|
|
14
14
|
--#{$prefix}box-file-selected-border: #{$box-file-selected-border};
|
|
15
15
|
--#{$prefix}box-file-selected-bg: #{$box-file-selected-background};
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
--#{$prefix}box-file-disabled-border: #{$box-file-disabled-border};
|
|
18
|
+
--#{$prefix}box-file-disabled-bg: #{$box-file-disabled-background};
|
|
19
|
+
|
|
20
|
+
--#{$prefix}box-file-valid-border: #{$box-file-valid-border};
|
|
21
|
+
--#{$prefix}box-file-invalid-border: #{$box-file-invalid-border};
|
|
22
|
+
|
|
20
23
|
width: 100%;
|
|
21
24
|
cursor: pointer;
|
|
22
25
|
background: var(--#{$prefix}box-file-bg);
|
|
@@ -33,6 +36,20 @@
|
|
|
33
36
|
border: var(--#{$prefix}box-file-selected-border);
|
|
34
37
|
}
|
|
35
38
|
|
|
39
|
+
&.d-box-file-valid {
|
|
40
|
+
border: var(--#{$prefix}box-file-valid-border);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.d-box-file-invalid {
|
|
44
|
+
border: var(--#{$prefix}box-file-invalid-border);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.d-box-file-disabled {
|
|
48
|
+
cursor: default;
|
|
49
|
+
background: var(--#{$prefix}box-file-disabled-bg);
|
|
50
|
+
border: var(--#{$prefix}box-file-disabled-border);
|
|
51
|
+
}
|
|
52
|
+
|
|
36
53
|
.d-icon {
|
|
37
54
|
--#{$prefix}icon-size: var(--#{$prefix}box-file-icon-size);
|
|
38
55
|
--#{$prefix}icon-color: var(--#{$prefix}box-file-icon-color);
|
|
@@ -45,24 +62,23 @@
|
|
|
45
62
|
align-items: center;
|
|
46
63
|
width: 100%;
|
|
47
64
|
padding: var(--#{$prefix}box-file-padding);
|
|
48
|
-
|
|
49
|
-
&:not(:last-child) {
|
|
50
|
-
padding-bottom: 0;
|
|
51
|
-
}
|
|
52
65
|
}
|
|
53
66
|
|
|
54
67
|
.d-box-content {
|
|
55
68
|
max-width: var(--#{$prefix}box-file-content-max-width);
|
|
56
69
|
}
|
|
70
|
+
}
|
|
57
71
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
72
|
+
.d-box-files {
|
|
73
|
+
--#{$prefix}box-file-list-gap: #{$box-file-list-gap};
|
|
74
|
+
--#{$prefix}box-file-list-padding: #{$box-file-list-padding};
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
gap: var(--#{$prefix}box-file-list-gap);
|
|
78
|
+
padding: var(--#{$prefix}box-file-list-padding);
|
|
64
79
|
|
|
65
|
-
.
|
|
66
|
-
|
|
80
|
+
.input-group:focus-within {
|
|
81
|
+
--#{$prefix}input-focus-border-color: var(--#{$prefix}gray-100);
|
|
82
|
+
--#{$prefix}input-focus-box-shadow: none;
|
|
67
83
|
}
|
|
68
84
|
}
|
|
@@ -5,22 +5,23 @@
|
|
|
5
5
|
--#{$prefix}btn-lg-padding-x: var(--#{$prefix}ref-spacer-4);
|
|
6
6
|
--#{$prefix}btn-sm-padding-y: var(--#{$prefix}ref-spacer-2);
|
|
7
7
|
--#{$prefix}btn-sm-padding-x: var(--#{$prefix}ref-spacer-2);
|
|
8
|
-
}
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
9
|
+
&.btn-lg {
|
|
10
|
+
@include button-size(
|
|
11
|
+
var(--#{$prefix}btn-lg-padding-y),
|
|
12
|
+
var(--#{$prefix}btn-lg-padding-x),
|
|
13
|
+
var(--#{$prefix}btn-lg-font-size),
|
|
14
|
+
var(--#{$prefix}btn-lg-border-radius),
|
|
15
|
+
);
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
&.btn-sm {
|
|
19
|
+
@include button-size(
|
|
20
|
+
var(--#{$prefix}btn-sm-padding-y),
|
|
21
|
+
var(--#{$prefix}btn-sm-padding-x),
|
|
22
|
+
var(--#{$prefix}btn-sm-font-size),
|
|
23
|
+
var(--#{$prefix}btn-sm-border-radius),
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
|
+
|