superdesk-ui-framework 4.0.66 → 4.0.68

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.
@@ -8386,16 +8386,22 @@ h6 {
8386
8386
  color: var(--sd-btn-txt); }
8387
8387
  .btn.btn--text-only.btn--primary .sd-spinner__path, .btn.btn--text-only.btn--success .sd-spinner__path, .btn.btn--text-only.btn--warning .sd-spinner__path, .btn.btn--text-only.btn--alert .sd-spinner__path, .btn.btn--text-only.btn--highlight .sd-spinner__path, .btn.btn--text-only.btn--sd-green .sd-spinner__path, .btn.btn--text-only.btn--secondary .sd-spinner__path {
8388
8388
  stroke: var(--sd-btn-txt); }
8389
- .btn.btn--icon-only [class^="icon-"], .btn.btn--icon-only [class*=" icon-"] {
8390
- margin: 0; }
8391
- .btn.btn--icon-only.btn--icon-only-circle {
8392
- border-radius: var(--b-radius--full);
8393
- padding: 0;
8394
- width: 3.2rem; }
8395
- .btn.btn--icon-only.btn--icon-only-circle.btn--small {
8396
- width: 2.4rem; }
8397
- .btn.btn--icon-only.btn--icon-only-circle.btn--large {
8398
- width: 4rem; }
8389
+ .btn.btn--icon-only {
8390
+ padding-inline: var(--space--1); }
8391
+ .btn.btn--icon-only [class^="icon-"], .btn.btn--icon-only [class*=" icon-"] {
8392
+ margin: 0; }
8393
+ .btn.btn--icon-only.btn--small {
8394
+ padding-inline: var(--space--0-5); }
8395
+ .btn.btn--icon-only.btn--large {
8396
+ padding-inline: var(--space--1-5); }
8397
+ .btn.btn--icon-only.btn--icon-only-circle {
8398
+ border-radius: var(--b-radius--full);
8399
+ padding: 0;
8400
+ width: 3.2rem; }
8401
+ .btn.btn--icon-only.btn--icon-only-circle.btn--small {
8402
+ width: 2.4rem; }
8403
+ .btn.btn--icon-only.btn--icon-only-circle.btn--large {
8404
+ width: 4rem; }
8399
8405
  .btn.btn--disabled, .btn[disabled] {
8400
8406
  opacity: 0.6;
8401
8407
  cursor: not-allowed;
@@ -39669,7 +39675,7 @@ textarea.sd-media-carousel__media-title {
39669
39675
  transition: background-color ease 0.2s; }
39670
39676
  .form-label--boxed.form-label--required::after {
39671
39677
  margin-inline-start: 0.2rem;
39672
- color: #e41b21;
39678
+ color: var(--color-warning-default);
39673
39679
  content: "*";
39674
39680
  vertical-align: top;
39675
39681
  font-size: 1.2rem;
@@ -40260,7 +40266,7 @@ textarea.sd-media-carousel__media-title {
40260
40266
  grid-column: 2/4;
40261
40267
  min-width: min-content; }
40262
40268
  .sd-input .sd-input__input-container:has(input[type="time"]) {
40263
- min-width: 110px; }
40269
+ min-width: min-content; }
40264
40270
  .sd-input textarea.sd-input__input {
40265
40271
  height: auto;
40266
40272
  min-height: 3.2rem; }
@@ -40270,6 +40276,12 @@ textarea.sd-media-carousel__media-title {
40270
40276
  font-size: 1.3rem; }
40271
40277
  .sd-input input[type="file"].sd-input__input:focus {
40272
40278
  outline: none; }
40279
+ .sd-input input[type="time"].sd-input__input {
40280
+ -webkit-appearance: none;
40281
+ -moz-appearance: textfield;
40282
+ appearance: textfield; }
40283
+ .sd-input input[type="time"].sd-input__input::-webkit-calendar-picker-indicator {
40284
+ display: none; }
40273
40285
  .sd-input .sd-input__select {
40274
40286
  grid-row: 2/3;
40275
40287
  grid-column: 2/4; }
@@ -54763,6 +54775,9 @@ i.sd-sidetab-menu__helper-icon {
54763
54775
  .p-datepicker table td > span:not(.p-highlight):not(.p-disabled):active {
54764
54776
  background-color: var(--sd-colour-interactive--alpha-20); }
54765
54777
 
54778
+ .p-datepicker table td > span:not(.p-disabled):focus-visible {
54779
+ outline: 2px solid var(--sd-colour-interactive--alpha-40); }
54780
+
54766
54781
  .p-datepicker table td > span {
54767
54782
  cursor: pointer;
54768
54783
  display: flex;
@@ -54832,6 +54847,8 @@ i.sd-sidetab-menu__helper-icon {
54832
54847
  background-color: var(--color-input-bg); }
54833
54848
  .p-calendar.sd-input--disabled:hover .p-calendar .p-calendar-icon {
54834
54849
  pointer-events: none; }
54850
+ .p-calendar.sd-input__input {
54851
+ padding-inline: 0; }
54835
54852
 
54836
54853
  .p-calendar-w-btn {
54837
54854
  width: 116px; }
@@ -55572,12 +55589,65 @@ i.sd-sidetab-menu__helper-icon {
55572
55589
  gap: var(--gap-1-5);
55573
55590
  overflow: auto; }
55574
55591
 
55575
- .time-unit-highlight {
55576
- background-color: var(--sd-colour-interactive);
55577
- color: white; }
55592
+ .time-picker__input {
55593
+ position: relative; }
55594
+ .time-picker__input input[type="time"] {
55595
+ -webkit-appearance: none;
55596
+ -moz-appearance: textfield;
55597
+ appearance: textfield; }
55598
+ .time-picker__input input[type="time"]::-webkit-calendar-picker-indicator {
55599
+ display: none; }
55600
+ .time-picker__input:has(.time-picker__icon-wrapper) .sd-input__input:not(.p-calendar) {
55601
+ padding-inline-end: var(--space--4); }
55602
+ .time-picker__input .time-picker__icon-wrapper {
55603
+ position: relative;
55604
+ height: 2.4rem;
55605
+ width: 2.4rem;
55606
+ position: absolute;
55607
+ inset-block-start: var(--space--0-5);
55608
+ inset-inline-end: var(--space--0-5);
55609
+ display: flex;
55610
+ align-items: center;
55611
+ justify-content: center;
55612
+ z-index: 1;
55613
+ pointer-events: none; }
55614
+ .time-picker__input .time-picker__icon-wrapper .clear-time-picker {
55615
+ position: absolute;
55616
+ inset-block-start: 0;
55617
+ inset-inline-end: 0;
55618
+ transition: opacity 0.2s ease;
55619
+ z-index: 2;
55620
+ opacity: 0; }
55621
+ .time-picker__input:has(.sd-input__input--has-value) .icon-time {
55622
+ opacity: 1;
55623
+ transition: opacity 0.2s ease; }
55624
+ .time-picker__input:has(.sd-input__input--has-value) .time-picker__icon-wrapper {
55625
+ pointer-events: all; }
55626
+ .time-picker__input:has(.sd-input__input--has-value):hover .icon-time {
55627
+ opacity: 0; }
55628
+ .time-picker__input:has(.sd-input__input--has-value):hover .clear-time-picker {
55629
+ opacity: 1; }
55630
+ .time-picker__input:has(.sd-input__input--has-value):focus-within .icon-time {
55631
+ opacity: 0; }
55632
+ .time-picker__input:has(.sd-input__input--has-value):focus-within .clear-time-picker {
55633
+ opacity: 1; }
55634
+
55635
+ .time-picker--date-time .time-picker__input .time-picker__icon-wrapper,
55636
+ .time-picker--date-time .time-picker__input:hover .time-picker__icon-wrapper,
55637
+ .time-picker--date-time .time-picker__input:focus-within .time-picker__icon-wrapper {
55638
+ pointer-events: none; }
55639
+
55640
+ .time-picker--date-time .time-picker__input .clear-time-picker,
55641
+ .time-picker--date-time .time-picker__input:hover .clear-time-picker,
55642
+ .time-picker--date-time .time-picker__input:focus-within .clear-time-picker {
55643
+ display: none; }
55644
+
55645
+ .time-picker--date-time .time-picker__input .icon-time,
55646
+ .time-picker--date-time .time-picker__input:hover .icon-time,
55647
+ .time-picker--date-time .time-picker__input:focus-within .icon-time {
55648
+ opacity: 1; }
55578
55649
 
55579
55650
  .time-unit {
55580
- transition: all ease 0.2s;
55581
55651
  display: flex;
55582
55652
  justify-content: center;
55583
55653
  width: 32px;
@@ -55586,10 +55656,16 @@ i.sd-sidetab-menu__helper-icon {
55586
55656
  font-weight: normal;
55587
55657
  margin-inline-start: var(--gap--x-small);
55588
55658
  margin-inline-end: var(--gap--x-small);
55589
- transition: var(--transition__menu-item); }
55659
+ transition: var(--transition__menu-item);
55660
+ transition: all ease 0.2s; }
55590
55661
  .time-unit:hover {
55591
55662
  background-color: var(--sd-colour-interactive--alpha-10);
55592
55663
  box-shadow: inset 0 0 0 1px var(--sd-colour-interactive);
55593
55664
  cursor: pointer; }
55594
55665
  .time-unit:active {
55595
55666
  background-color: var(--sd-colour-interactive--alpha-20); }
55667
+ .time-unit:focus-visible {
55668
+ outline: 2px solid var(--sd-colour-interactive--alpha-40); }
55669
+ .time-unit.time-unit-highlight, .time-unit.time-unit-highlight:hover {
55670
+ background-color: var(--sd-colour-interactive);
55671
+ color: var(--color-text-ondark); }