carbon-addons-iot-react 4.0.17 → 4.0.19

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 (36) hide show
  1. package/css/carbon-addons-iot-react.css +22 -52
  2. package/css/carbon-addons-iot-react.css.map +1 -1
  3. package/es/components/DateTimePicker/DateTimePicker.js +34 -64
  4. package/es/components/DateTimePicker/DateTimePickerV2WithTimeSpinner.js +40 -72
  5. package/es/components/DateTimePicker/DateTimePickerV2WithoutTimeSpinner.js +37 -71
  6. package/es/components/DateTimePicker/dateTimePickerUtils.js +8 -105
  7. package/es/components/FlyoutMenu/FlyoutMenu.js +55 -2
  8. package/es/components/HotspotEditorModal/HotspotEditorModal.js +6 -2
  9. package/es/components/IconSwitch/IconSwitch.js +2 -2
  10. package/es/components/ImageGalleryModal/ImageGalleryModal.js +2 -2
  11. package/es/components/NavigationBar/NavigationBar.js +3 -1
  12. package/es/components/Table/TableCellRenderer/TableCellRenderer.js +1 -1
  13. package/es/components/Table/TableToolbar/TableToolbar.js +3 -15
  14. package/es/components/Table/TableToolbar/TableToolbarAdvancedFilterFlyout.js +5 -7
  15. package/lib/components/DateTimePicker/DateTimePicker.js +33 -63
  16. package/lib/components/DateTimePicker/DateTimePickerV2WithTimeSpinner.js +38 -70
  17. package/lib/components/DateTimePicker/DateTimePickerV2WithoutTimeSpinner.js +35 -69
  18. package/lib/components/DateTimePicker/dateTimePickerUtils.js +6 -106
  19. package/lib/components/FlyoutMenu/FlyoutMenu.js +55 -1
  20. package/lib/components/HotspotEditorModal/HotspotEditorModal.js +6 -2
  21. package/lib/components/IconSwitch/IconSwitch.js +2 -2
  22. package/lib/components/ImageGalleryModal/ImageGalleryModal.js +2 -2
  23. package/lib/components/NavigationBar/NavigationBar.js +3 -1
  24. package/lib/components/Table/TableCellRenderer/TableCellRenderer.js +1 -1
  25. package/lib/components/Table/TableToolbar/TableToolbar.js +3 -15
  26. package/lib/components/Table/TableToolbar/TableToolbarAdvancedFilterFlyout.js +5 -8
  27. package/lib/css/carbon-addons-iot-react.css +22 -52
  28. package/lib/css/carbon-addons-iot-react.css.map +1 -1
  29. package/lib/scss/components/DateTimePicker/_date-time-picker.scss +11 -25
  30. package/lib/scss/components/DateTimePicker/_date-time-pickerv2.scss +19 -37
  31. package/lib/scss/components/TimePicker/_time-picker-dropdown.scss +1 -0
  32. package/package.json +2 -2
  33. package/scss/components/DateTimePicker/_date-time-picker.scss +11 -25
  34. package/scss/components/DateTimePicker/_date-time-pickerv2.scss +19 -37
  35. package/scss/components/TimePicker/_time-picker-dropdown.scss +1 -0
  36. package/umd/carbon-addons-iot-react.js +269 -416
@@ -21565,22 +21565,6 @@ button.cds--dropdown-text:focus {
21565
21565
  .iot--date-time-picker__wrapper .cds--popover-container {
21566
21566
  width: 100%;
21567
21567
  }
21568
- .iot--date-time-picker__wrapper .cds--date-picker--range {
21569
- position: absolute;
21570
- }
21571
- .iot--date-time-picker__wrapper .cds--date-picker-container {
21572
- opacity: 0;
21573
- }
21574
- .iot--date-time-picker__wrapper .flatpickr-calendar.open {
21575
- padding-bottom: 0;
21576
- position: unset !important;
21577
- top: unset !important;
21578
- left: unset !important;
21579
- box-shadow: none;
21580
- margin-left: auto;
21581
- margin-right: auto;
21582
- animation: none;
21583
- }
21584
21568
  .iot--date-time-picker__wrapper .cds--number .cds--number__input-wrapper input {
21585
21569
  min-width: 8.5rem;
21586
21570
  padding-right: 0.5rem;
@@ -21589,6 +21573,13 @@ button.cds--dropdown-text:focus {
21589
21573
  .iot--date-time-picker__wrapper .cds--select-input {
21590
21574
  width: 8.5rem;
21591
21575
  }
21576
+ .iot--date-time-picker__wrapper .cds--date-picker--range .cds--date-picker__input,
21577
+ .iot--date-time-picker__wrapper .cds--date-picker--range .cds--date-picker-container {
21578
+ inline-size: 8.5rem;
21579
+ }
21580
+ .iot--date-time-picker__wrapper .cds--date-picker--range > .cds--date-picker-container:first-child {
21581
+ margin-inline-end: 1rem;
21582
+ }
21592
21583
  .iot--date-time-picker__wrapper .iot--time-picker__wrapper.iot--time-picker__wrapper--with-spinner:first-of-type {
21593
21584
  margin-right: 1rem;
21594
21585
  }
@@ -21785,10 +21776,6 @@ button.cds--dropdown-text:focus {
21785
21776
  cursor: not-allowed;
21786
21777
  }
21787
21778
 
21788
- .iot--date-time-picker__datepicker {
21789
- min-height: 20.875rem;
21790
- }
21791
-
21792
21779
  html[dir=rtl] .iot--date-time-picker__wrapper .cds--number {
21793
21780
  margin-right: unset;
21794
21781
  margin-left: 1rem;
@@ -21932,6 +21919,13 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
21932
21919
  .iot--date-time-pickerv2__wrapper .iot--date-time-picker__box--disabled {
21933
21920
  border: none;
21934
21921
  }
21922
+ .iot--date-time-pickerv2__wrapper .cds--date-picker--range .cds--date-picker__input,
21923
+ .iot--date-time-pickerv2__wrapper .cds--date-picker--range .cds--date-picker-container {
21924
+ inline-size: 8.5rem;
21925
+ }
21926
+ .iot--date-time-pickerv2__wrapper .cds--date-picker--range > .cds--date-picker-container:first-child {
21927
+ margin-inline-end: 1rem;
21928
+ }
21935
21929
 
21936
21930
  .iot--date-time-picker__helper-text--invalid {
21937
21931
  color: var(--cds-text-error, #da1e28);
@@ -21972,28 +21966,9 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
21972
21966
  padding-left: 1rem;
21973
21967
  padding-right: 1rem;
21974
21968
  }
21975
- .iot--flyout-menu--content.iot--date-time-picker--menu .flatpickr-calendar.open {
21976
- padding-bottom: 0;
21977
- position: unset !important;
21978
- top: unset !important;
21979
- left: unset !important;
21980
- box-shadow: none;
21981
- margin-left: auto;
21982
- margin-right: auto;
21983
- animation: none;
21984
- }
21985
21969
  .iot--flyout-menu--content.iot--date-time-picker--menu .cds--select {
21986
21970
  width: 8.5rem;
21987
21971
  }
21988
- .iot--flyout-menu--content.iot--date-time-picker--menu .cds--date-picker--range {
21989
- position: absolute;
21990
- }
21991
- .iot--flyout-menu--content.iot--date-time-picker--menu .cds--date-picker--single {
21992
- position: absolute;
21993
- }
21994
- .iot--flyout-menu--content.iot--date-time-picker--menu .cds--date-picker-container {
21995
- opacity: 0;
21996
- }
21997
21972
  .iot--flyout-menu--content.iot--date-time-picker--menu .cds--number .cds--number__input-wrapper input {
21998
21973
  min-width: 8.5rem;
21999
21974
  padding-right: 0;
@@ -22012,6 +21987,9 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
22012
21987
  .iot--flyout-menu--content.iot--date-time-picker--menu .iot--time-picker__wrapper .iot--time-picker__controls {
22013
21988
  left: 6.7rem;
22014
21989
  }
21990
+ .iot--flyout-menu--content.iot--date-time-picker--menu .iot--time-picker__wrapper .cds--time-picker__error__icon {
21991
+ inset-inline-end: 2rem;
21992
+ }
22015
21993
  .iot--flyout-menu--content.iot--date-time-picker--menu .iot--date-time-picker__fields-wrapper {
22016
21994
  display: flex;
22017
21995
  align-items: flex-start;
@@ -22019,6 +21997,9 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
22019
21997
  .iot--flyout-menu--content.iot--date-time-picker--menu .iot--date-time-picker__fields-wrapper .cds--label {
22020
21998
  margin-bottom: 0;
22021
21999
  }
22000
+ .iot--flyout-menu--content.iot--date-time-picker--menu .iot--date-time-picker__fields-wrapper--with-gap {
22001
+ gap: 1rem;
22002
+ }
22022
22003
  .iot--flyout-menu--content.iot--date-time-picker--menu .iot--date-time-picker__fields-wrapper .cds--form-item + .cds--form-item {
22023
22004
  margin-left: 1rem;
22024
22005
  }
@@ -22086,19 +22067,6 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
22086
22067
  text-align: unset;
22087
22068
  }
22088
22069
 
22089
- .iot--date-time-picker__datepicker {
22090
- min-height: 20.875rem;
22091
- }
22092
- .iot--date-time-picker__datepicker .iot--date-time-picker__datepicker--invalid {
22093
- display: flex;
22094
- align-items: center;
22095
- padding: 0 calc(1rem + 0.25rem) 1rem 2rem;
22096
- }
22097
- .iot--date-time-picker__datepicker .iot--date-time-picker__datepicker--invalid svg {
22098
- fill: var(--cds-button-danger-primary, #da1e28);
22099
- margin-right: 0.5rem;
22100
- }
22101
-
22102
22070
  html[dir=rtl] .iot--flyout-menu--content.iot--date-time-picker--menu .iot--date-time-picker__fields-wrapper .cds--form-item + .cds--form-item,
22103
22071
  html[dir=rtl] .iot--flyout-menu--content.iot--date-time-picker--menu .iot--date-time-picker__fields-wrapper .cds--form-item + .iot--time-picker__wrapper {
22104
22072
  margin-right: 1rem;
@@ -27349,6 +27317,8 @@ optgroup.cds--select-optgroup:disabled,
27349
27317
  width: 100%;
27350
27318
  display: grid;
27351
27319
  gap: 0.15rem;
27320
+ -moz-column-gap: 1rem;
27321
+ column-gap: 1rem;
27352
27322
  grid-template-columns: 1fr 1fr;
27353
27323
  }
27354
27324
  .iot--time-picker-range fieldset legend {