@dynamic-framework/ui-react 2.6.0 → 2.8.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.css +278 -3
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +575 -284
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +577 -281
- package/dist/index.js.map +1 -1
- package/dist/types/components/DCarousel/DCarousel.d.ts +9 -2
- package/dist/types/components/DDropdown/DDropdown.d.ts +10 -2
- package/dist/types/components/DIcon/DIcon.d.ts +4 -4
- package/dist/types/components/DIconBase/DIconBase.d.ts +3 -2
- package/dist/types/components/DIconBase/index.d.ts +1 -0
- package/dist/types/components/DOffcanvas/DOffcanvas.d.ts +15 -3
- package/dist/types/components/DOtp/DOtp.d.ts +1 -0
- package/dist/types/components/DOtp/components/OtpCountdown.d.ts +3 -2
- package/dist/types/components/DVoucher/DVoucher.d.ts +3 -1
- package/dist/types/components/DVoucher/hooks/useScreenshotDownload.d.ts +1 -1
- package/dist/types/components/DVoucher/hooks/useScreenshotDownload.spec.d.ts +1 -0
- package/dist/types/components/DVoucher/hooks/useScreenshotWebShare.d.ts +1 -1
- package/dist/types/components/DVoucher/hooks/useScreenshotWebShare.spec.d.ts +1 -0
- package/dist/types/components/DVoucher/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/interface.d.ts +5 -3
- package/dist/types/contexts/DContext.d.ts +3 -2
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/tests/useCountdown.spec.d.ts +1 -0
- package/dist/types/hooks/useCountdown.d.ts +14 -0
- package/dist/types/hooks/useInputCurrency.d.ts +1 -6
- package/dist/types/hooks/useOtp.d.ts +98 -0
- package/package.json +3 -1
- package/src/style/abstracts/variables/_+import.scss +1 -0
- package/src/style/abstracts/variables/_input-currency.scss +1 -0
- package/src/style/abstracts/variables/_offcanvas.scss +8 -0
- package/src/style/components/_+import.scss +7 -0
- package/src/style/components/_d-box-file.scss +5 -0
- package/src/style/components/_d-carousel.scss +19 -1
- package/src/style/components/_d-close.scss +1 -0
- package/src/style/components/_d-confirm-modal.scss +17 -0
- package/src/style/components/_d-data-state-wrapper.scss +47 -0
- package/src/style/components/_d-datepicker.scss +11 -0
- package/src/style/components/_d-error-boundary.scss +7 -0
- package/src/style/components/_d-input-currency.scss +5 -0
- package/src/style/components/_d-otp.scss +54 -0
- package/src/style/components/_d-password-strength-meter.scss +76 -0
- package/src/style/components/_d-popover.scss +4 -0
- package/src/style/components/_d-stepper.scss +8 -0
- package/src/style/components/_d-tabs.scss +18 -0
- package/src/style/components/_d-voucher.scss +30 -0
- package/dist/types/components/DOtp/DOtpspec.d.ts +0 -0
- package/dist/types/components/DOtp/hooks/useCountdown.d.ts +0 -4
package/dist/css/dynamic-ui.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* dynamic-framework 2.
|
|
2
|
+
* dynamic-framework 2.8.0
|
|
3
3
|
* bootstrap ~5.3.8
|
|
4
4
|
* license https://github.com/dynamic-framework/dynamic-ui/blob/master/LICENSE.md
|
|
5
5
|
*/
|
|
@@ -8709,7 +8709,7 @@ textarea.form-control-lg {
|
|
|
8709
8709
|
.offcanvas, .offcanvas-xxl, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm {
|
|
8710
8710
|
--bs-offcanvas-zindex: 1055;
|
|
8711
8711
|
--bs-offcanvas-width: 400px;
|
|
8712
|
-
--bs-offcanvas-height:
|
|
8712
|
+
--bs-offcanvas-height: 100%;
|
|
8713
8713
|
--bs-offcanvas-padding-x: var(--bs-ref-spacer-4);
|
|
8714
8714
|
--bs-offcanvas-padding-y: var(--bs-ref-spacer-4);
|
|
8715
8715
|
--bs-offcanvas-color: var(--bs-body-color);
|
|
@@ -11297,6 +11297,24 @@ label {
|
|
|
11297
11297
|
--bs-chip-bg: var(--bs-black);
|
|
11298
11298
|
}
|
|
11299
11299
|
|
|
11300
|
+
.d-tabs {
|
|
11301
|
+
display: flex;
|
|
11302
|
+
width: 100%;
|
|
11303
|
+
}
|
|
11304
|
+
|
|
11305
|
+
.d-tabs-column {
|
|
11306
|
+
flex-direction: column;
|
|
11307
|
+
}
|
|
11308
|
+
|
|
11309
|
+
.d-tabs-nav-vertical {
|
|
11310
|
+
flex-direction: column;
|
|
11311
|
+
align-items: center;
|
|
11312
|
+
}
|
|
11313
|
+
|
|
11314
|
+
.d-tabs-content {
|
|
11315
|
+
width: 100%;
|
|
11316
|
+
}
|
|
11317
|
+
|
|
11300
11318
|
.nav-toggle-button-group {
|
|
11301
11319
|
--bs-toggle-button-group-border-color: var(--bs-gray-50);
|
|
11302
11320
|
--bs-toggle-button-group-border-radius: 4rem;
|
|
@@ -11685,6 +11703,11 @@ label {
|
|
|
11685
11703
|
margin-right: var(--bs-ref-spacer-1);
|
|
11686
11704
|
margin-left: auto;
|
|
11687
11705
|
}
|
|
11706
|
+
.react-datepicker__header-year-selector {
|
|
11707
|
+
display: flex;
|
|
11708
|
+
flex-grow: 1;
|
|
11709
|
+
justify-content: center;
|
|
11710
|
+
}
|
|
11688
11711
|
.react-datepicker__header-day-selector {
|
|
11689
11712
|
margin-bottom: var(--bs-ref-spacer-4);
|
|
11690
11713
|
}
|
|
@@ -11751,6 +11774,11 @@ label {
|
|
|
11751
11774
|
margin-top: -0.5rem;
|
|
11752
11775
|
}
|
|
11753
11776
|
|
|
11777
|
+
.datepicker-top-header-title {
|
|
11778
|
+
margin-bottom: 0;
|
|
11779
|
+
font-weight: var(--bs-fw-normal);
|
|
11780
|
+
}
|
|
11781
|
+
|
|
11754
11782
|
.react-datepicker__year,
|
|
11755
11783
|
.react-datepicker__quarterPicker {
|
|
11756
11784
|
--bs-datepicker-body-gap: 1rem;
|
|
@@ -12371,6 +12399,9 @@ react-datepicker__navigation
|
|
|
12371
12399
|
--bs-voucher-amount-rounded: var(--bs-ref-spacer-4);
|
|
12372
12400
|
--bs-voucher-footer-gap: var(--bs-ref-spacer-4);
|
|
12373
12401
|
--bs-voucher-margin: 0 0 var(--bs-ref-spacer-4) 0;
|
|
12402
|
+
--bs-voucher-title-margin-bottom: var(--bs-ref-spacer-2);
|
|
12403
|
+
--bs-voucher-amount-value-margin: var(--bs-ref-spacer-1);
|
|
12404
|
+
--bs-voucher-divider-margin: var(--bs-ref-spacer-4);
|
|
12374
12405
|
}
|
|
12375
12406
|
|
|
12376
12407
|
.d-voucher-header {
|
|
@@ -12395,8 +12426,35 @@ react-datepicker__navigation
|
|
|
12395
12426
|
justify-content: flex-start;
|
|
12396
12427
|
}
|
|
12397
12428
|
|
|
12429
|
+
.d-voucher-title-group {
|
|
12430
|
+
text-align: center;
|
|
12431
|
+
}
|
|
12432
|
+
|
|
12433
|
+
.d-voucher-title {
|
|
12434
|
+
margin-bottom: var(--bs-voucher-title-margin-bottom);
|
|
12435
|
+
}
|
|
12436
|
+
|
|
12437
|
+
.d-voucher-message {
|
|
12438
|
+
margin: 0;
|
|
12439
|
+
}
|
|
12440
|
+
|
|
12441
|
+
.d-voucher-amount-value {
|
|
12442
|
+
margin: 0;
|
|
12443
|
+
font-size: var(--bs-fs-3);
|
|
12444
|
+
font-weight: var(--bs-fw-bold);
|
|
12445
|
+
text-align: center;
|
|
12446
|
+
}
|
|
12447
|
+
.d-voucher-amount-value.d-voucher-amount-value-with-details {
|
|
12448
|
+
margin-bottom: var(--bs-voucher-amount-value-margin);
|
|
12449
|
+
}
|
|
12450
|
+
|
|
12451
|
+
.d-voucher-divider {
|
|
12452
|
+
margin: var(--bs-voucher-divider-margin) 0;
|
|
12453
|
+
}
|
|
12454
|
+
|
|
12398
12455
|
.d-close {
|
|
12399
12456
|
display: flex;
|
|
12457
|
+
align-self: center;
|
|
12400
12458
|
padding: 0;
|
|
12401
12459
|
background: transparent;
|
|
12402
12460
|
border: 0;
|
|
@@ -12418,6 +12476,9 @@ react-datepicker__navigation
|
|
|
12418
12476
|
.d-popover .d-popover-content:focus-visible {
|
|
12419
12477
|
outline: 0;
|
|
12420
12478
|
}
|
|
12479
|
+
.d-popover .d-popover-content.d-popover-content-fill {
|
|
12480
|
+
width: 100%;
|
|
12481
|
+
}
|
|
12421
12482
|
|
|
12422
12483
|
.d-box-file {
|
|
12423
12484
|
--bs-box-file-gap: var(--bs-ref-spacer-4);
|
|
@@ -12477,6 +12538,11 @@ react-datepicker__navigation
|
|
|
12477
12538
|
max-width: var(--bs-box-file-content-max-width);
|
|
12478
12539
|
}
|
|
12479
12540
|
|
|
12541
|
+
.d-box-file-empty-text {
|
|
12542
|
+
margin: 0;
|
|
12543
|
+
text-align: center;
|
|
12544
|
+
}
|
|
12545
|
+
|
|
12480
12546
|
.d-box-files {
|
|
12481
12547
|
--bs-box-file-list-gap: var(--bs-ref-spacer-4);
|
|
12482
12548
|
--bs-box-file-list-padding: var(--bs-ref-spacer-0);
|
|
@@ -12889,9 +12955,13 @@ react-datepicker__navigation
|
|
|
12889
12955
|
background: var(--bs-primary);
|
|
12890
12956
|
padding: var(--bs-ref-spacer-1);
|
|
12891
12957
|
}
|
|
12892
|
-
.d-carousel .splide__arrow svg {
|
|
12958
|
+
.d-carousel .splide__arrow > svg {
|
|
12893
12959
|
filter: invert(1);
|
|
12894
12960
|
}
|
|
12961
|
+
.d-carousel .splide__arrow .d-icon svg {
|
|
12962
|
+
fill: none;
|
|
12963
|
+
transform: none;
|
|
12964
|
+
}
|
|
12895
12965
|
.d-carousel .d-carousel-pagination {
|
|
12896
12966
|
bottom: var(--bs-carousel-pagination-bottom);
|
|
12897
12967
|
position: relative;
|
|
@@ -13695,6 +13765,211 @@ react-datepicker__navigation
|
|
|
13695
13765
|
opacity: 0.5;
|
|
13696
13766
|
}
|
|
13697
13767
|
|
|
13768
|
+
.d-input-currency-symbol {
|
|
13769
|
+
--bs-input-currency-symbol-color: var(--bs-input-currency-component-symbol-color, var(--bs-secondary));
|
|
13770
|
+
color: var(--bs-input-currency-symbol-color);
|
|
13771
|
+
}
|
|
13772
|
+
|
|
13773
|
+
.confirm-modal {
|
|
13774
|
+
--bs-confirm-modal-body-padding-y: var(--bs-ref-spacer-3);
|
|
13775
|
+
--bs-confirm-modal-body-padding-x: var(--bs-ref-spacer-5);
|
|
13776
|
+
--bs-confirm-modal-field-gap: var(--bs-ref-spacer-4);
|
|
13777
|
+
}
|
|
13778
|
+
|
|
13779
|
+
.d-confirm-modal-body {
|
|
13780
|
+
padding: var(--bs-confirm-modal-body-padding-y) var(--bs-confirm-modal-body-padding-x);
|
|
13781
|
+
}
|
|
13782
|
+
|
|
13783
|
+
.d-confirm-modal-message {
|
|
13784
|
+
margin-bottom: var(--bs-confirm-modal-field-gap);
|
|
13785
|
+
}
|
|
13786
|
+
|
|
13787
|
+
.d-confirm-modal-field {
|
|
13788
|
+
margin-bottom: var(--bs-confirm-modal-field-gap);
|
|
13789
|
+
}
|
|
13790
|
+
|
|
13791
|
+
.d-empty-state {
|
|
13792
|
+
--bs-empty-state-padding: var(--bs-ref-spacer-5);
|
|
13793
|
+
--bs-empty-state-spacing: var(--bs-ref-spacer-3);
|
|
13794
|
+
--bs-empty-state-color: var(--bs-secondary);
|
|
13795
|
+
display: flex;
|
|
13796
|
+
flex-direction: column;
|
|
13797
|
+
align-items: center;
|
|
13798
|
+
justify-content: center;
|
|
13799
|
+
padding: var(--bs-empty-state-padding);
|
|
13800
|
+
text-align: center;
|
|
13801
|
+
}
|
|
13802
|
+
|
|
13803
|
+
.d-empty-state-icon {
|
|
13804
|
+
margin-bottom: var(--bs-empty-state-spacing);
|
|
13805
|
+
color: var(--bs-empty-state-color);
|
|
13806
|
+
}
|
|
13807
|
+
|
|
13808
|
+
.d-empty-state-message {
|
|
13809
|
+
margin-bottom: var(--bs-empty-state-spacing);
|
|
13810
|
+
color: var(--bs-empty-state-color);
|
|
13811
|
+
}
|
|
13812
|
+
|
|
13813
|
+
.d-error-state {
|
|
13814
|
+
--bs-error-state-gap: var(--bs-ref-spacer-3);
|
|
13815
|
+
display: flex;
|
|
13816
|
+
gap: var(--bs-error-state-gap);
|
|
13817
|
+
align-items: center;
|
|
13818
|
+
}
|
|
13819
|
+
|
|
13820
|
+
.d-error-state-content {
|
|
13821
|
+
flex: 1 1 auto;
|
|
13822
|
+
}
|
|
13823
|
+
|
|
13824
|
+
.d-error-state-message {
|
|
13825
|
+
margin-bottom: 0;
|
|
13826
|
+
}
|
|
13827
|
+
|
|
13828
|
+
.d-loading-state {
|
|
13829
|
+
--bs-loading-state-padding: var(--bs-ref-spacer-4);
|
|
13830
|
+
display: flex;
|
|
13831
|
+
align-items: center;
|
|
13832
|
+
justify-content: center;
|
|
13833
|
+
padding: var(--bs-loading-state-padding);
|
|
13834
|
+
}
|
|
13835
|
+
|
|
13836
|
+
.d-error-boundary-content {
|
|
13837
|
+
--bs-error-boundary-gap: var(--bs-ref-spacer-2);
|
|
13838
|
+
display: flex;
|
|
13839
|
+
gap: var(--bs-error-boundary-gap);
|
|
13840
|
+
align-items: center;
|
|
13841
|
+
}
|
|
13842
|
+
|
|
13843
|
+
.d-otp {
|
|
13844
|
+
--bs-otp-content-gap: var(--bs-ref-spacer-6);
|
|
13845
|
+
--bs-otp-content-padding-x: var(--bs-ref-spacer-3);
|
|
13846
|
+
--bs-otp-content-padding-bottom: var(--bs-ref-spacer-4);
|
|
13847
|
+
--bs-otp-footer-gap: var(--bs-ref-spacer-4);
|
|
13848
|
+
}
|
|
13849
|
+
|
|
13850
|
+
.d-otp-content {
|
|
13851
|
+
display: flex;
|
|
13852
|
+
flex-direction: column;
|
|
13853
|
+
gap: var(--bs-otp-content-gap);
|
|
13854
|
+
padding: 0 var(--bs-otp-content-padding-x) var(--bs-otp-content-padding-bottom);
|
|
13855
|
+
}
|
|
13856
|
+
|
|
13857
|
+
.d-otp-fields {
|
|
13858
|
+
display: flex;
|
|
13859
|
+
flex-direction: column;
|
|
13860
|
+
gap: var(--bs-otp-content-gap);
|
|
13861
|
+
}
|
|
13862
|
+
|
|
13863
|
+
.d-otp-divider {
|
|
13864
|
+
margin: 0;
|
|
13865
|
+
}
|
|
13866
|
+
|
|
13867
|
+
.d-otp-footer {
|
|
13868
|
+
display: flex;
|
|
13869
|
+
flex-direction: column;
|
|
13870
|
+
gap: var(--bs-otp-footer-gap);
|
|
13871
|
+
align-items: center;
|
|
13872
|
+
}
|
|
13873
|
+
@media (min-width: 992px) {
|
|
13874
|
+
.d-otp-footer {
|
|
13875
|
+
flex-direction: row;
|
|
13876
|
+
}
|
|
13877
|
+
}
|
|
13878
|
+
|
|
13879
|
+
.d-otp-contact {
|
|
13880
|
+
margin-bottom: 0;
|
|
13881
|
+
font-size: 0.875em;
|
|
13882
|
+
}
|
|
13883
|
+
@media (min-width: 992px) {
|
|
13884
|
+
.d-otp-contact {
|
|
13885
|
+
margin-left: auto;
|
|
13886
|
+
}
|
|
13887
|
+
}
|
|
13888
|
+
|
|
13889
|
+
.d-otp-countdown {
|
|
13890
|
+
display: flex;
|
|
13891
|
+
gap: var(--bs-ref-spacer-2);
|
|
13892
|
+
align-items: center;
|
|
13893
|
+
}
|
|
13894
|
+
|
|
13895
|
+
.d-otp-countdown-text {
|
|
13896
|
+
flex: 1 1 auto;
|
|
13897
|
+
margin-bottom: 0;
|
|
13898
|
+
}
|
|
13899
|
+
|
|
13900
|
+
.d-password-strength-meter {
|
|
13901
|
+
--bs-password-strength-meter-margin-top: var(--bs-ref-spacer-2);
|
|
13902
|
+
margin-top: var(--bs-password-strength-meter-margin-top);
|
|
13903
|
+
}
|
|
13904
|
+
|
|
13905
|
+
.d-password-strength-bar {
|
|
13906
|
+
--bs-password-strength-bar-height: 8px;
|
|
13907
|
+
--bs-password-strength-bar-radius: var(--bs-border-radius-lg);
|
|
13908
|
+
--bs-password-strength-bar-bg: var(--bs-gray-100);
|
|
13909
|
+
--bs-password-strength-bar-margin-bottom: var(--bs-ref-spacer-2);
|
|
13910
|
+
width: 100%;
|
|
13911
|
+
height: var(--bs-password-strength-bar-height);
|
|
13912
|
+
margin-bottom: var(--bs-password-strength-bar-margin-bottom);
|
|
13913
|
+
overflow: hidden;
|
|
13914
|
+
background: var(--bs-password-strength-bar-bg);
|
|
13915
|
+
border-radius: var(--bs-password-strength-bar-radius);
|
|
13916
|
+
}
|
|
13917
|
+
|
|
13918
|
+
.d-password-strength-bar-fill {
|
|
13919
|
+
height: 100%;
|
|
13920
|
+
transition: width 0.3s ease-in-out;
|
|
13921
|
+
}
|
|
13922
|
+
.d-password-strength-bar-fill.is-empty {
|
|
13923
|
+
background: var(--bs-gray-200);
|
|
13924
|
+
}
|
|
13925
|
+
.d-password-strength-bar-fill.is-weak {
|
|
13926
|
+
background: var(--bs-danger);
|
|
13927
|
+
}
|
|
13928
|
+
.d-password-strength-bar-fill.is-fair {
|
|
13929
|
+
background: var(--bs-warning);
|
|
13930
|
+
}
|
|
13931
|
+
.d-password-strength-bar-fill.is-good {
|
|
13932
|
+
background: var(--bs-info);
|
|
13933
|
+
}
|
|
13934
|
+
.d-password-strength-bar-fill.is-strong {
|
|
13935
|
+
background: var(--bs-success);
|
|
13936
|
+
}
|
|
13937
|
+
|
|
13938
|
+
.d-password-check-list {
|
|
13939
|
+
display: flex;
|
|
13940
|
+
flex-direction: column;
|
|
13941
|
+
gap: var(--bs-ref-spacer-2);
|
|
13942
|
+
padding-left: 0;
|
|
13943
|
+
margin: 0;
|
|
13944
|
+
list-style: none;
|
|
13945
|
+
}
|
|
13946
|
+
|
|
13947
|
+
.d-password-check-item {
|
|
13948
|
+
--bs-password-check-item-color: var(--bs-gray-600);
|
|
13949
|
+
display: flex;
|
|
13950
|
+
gap: var(--bs-ref-spacer-2);
|
|
13951
|
+
align-items: flex-start;
|
|
13952
|
+
font-size: 0.875em;
|
|
13953
|
+
color: var(--bs-password-check-item-color);
|
|
13954
|
+
}
|
|
13955
|
+
.d-password-check-item.is-valid {
|
|
13956
|
+
color: var(--bs-success);
|
|
13957
|
+
}
|
|
13958
|
+
|
|
13959
|
+
.d-password-check-item-icon {
|
|
13960
|
+
flex-shrink: 0;
|
|
13961
|
+
color: var(--bs-gray-300);
|
|
13962
|
+
}
|
|
13963
|
+
|
|
13964
|
+
.d-password-check-item.is-valid .d-password-check-item-icon {
|
|
13965
|
+
color: var(--bs-success);
|
|
13966
|
+
}
|
|
13967
|
+
|
|
13968
|
+
.d-stepper-mobile,
|
|
13969
|
+
.d-stepper-desktop {
|
|
13970
|
+
width: 100%;
|
|
13971
|
+
}
|
|
13972
|
+
|
|
13698
13973
|
.clearfix::after {
|
|
13699
13974
|
display: block;
|
|
13700
13975
|
clear: both;
|