superdesk-ui-framework 4.0.67 → 4.0.69
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/app/styles/_buttons.scss +8 -0
- package/app/styles/_time.scss +97 -12
- package/app/styles/editor/_editor-themes.scss +15 -1
- package/app/styles/form-elements/_inputs.scss +16 -29
- package/app/styles/primereact/_pr-datepicker.scss +10 -0
- package/app-typescript/components/DatePicker.tsx +1 -0
- package/app-typescript/components/DateTimePicker.tsx +11 -6
- package/app-typescript/components/TimePicker.tsx +60 -26
- package/app-typescript/components/TimePickerPopover.tsx +29 -12
- package/dist/components/DatePicker.tsx +1 -1
- package/dist/components/DateTimePicker.tsx +0 -2
- package/dist/components/TimePicker.tsx +22 -0
- package/dist/examples.bundle.js +1040 -999
- package/dist/superdesk-ui.bundle.css +109 -23
- package/dist/superdesk-ui.bundle.js +1004 -978
- package/dist/vendor.bundle.js +2 -2
- package/package.json +1 -1
- package/react/components/DatePicker.js +1 -1
- package/react/components/DateTimePicker.js +5 -4
- package/react/components/TimePicker.d.ts +1 -1
- package/react/components/TimePicker.js +35 -12
- package/react/components/TimePickerPopover.js +14 -12
@@ -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
|
8390
|
-
|
8391
|
-
|
8392
|
-
|
8393
|
-
|
8394
|
-
|
8395
|
-
.btn.btn--icon-only.btn--
|
8396
|
-
|
8397
|
-
.btn.btn--icon-only.btn--icon-only-circle
|
8398
|
-
|
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:
|
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:
|
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; }
|
@@ -42283,7 +42295,9 @@ i.sd-sidetab-menu__helper-icon {
|
|
42283
42295
|
--sd-editor-colour__removing: var(--color-highlight-text);
|
42284
42296
|
--sd-editor-colour__removing-bg: var(--color-highlight-translucent);
|
42285
42297
|
--sd-editor-colour__adding: var(--color-success-text);
|
42286
|
-
--sd-editor-colour__adding-bg: var(--color-success-translucent);
|
42298
|
+
--sd-editor-colour__adding-bg: var(--color-success-translucent);
|
42299
|
+
--sd-editor-colour__mark-people: var(--sorcerer-blue-300);
|
42300
|
+
--sd-editor-colour__mark-company: var(--syrah-soil-200); }
|
42287
42301
|
:root .sd-editor--theme-default,
|
42288
42302
|
[data-theme="dark-ui"] .sd-editor--theme-default {
|
42289
42303
|
--theme-color-base: hsl(0 0% 100%);
|
@@ -42299,7 +42313,9 @@ i.sd-sidetab-menu__helper-icon {
|
|
42299
42313
|
--sd-editor-colour__removing: var(--blissful-berry-600);
|
42300
42314
|
--sd-editor-colour__removing-bg: var(--blissful-berry-500-a12);
|
42301
42315
|
--sd-editor-colour__adding: var(--green-brier-600);
|
42302
|
-
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42316
|
+
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42317
|
+
--sd-editor-colour__mark-people: var(--sorcerer-blue-300);
|
42318
|
+
--sd-editor-colour__mark-company: var(--syrah-soil-200); }
|
42303
42319
|
:root .sd-editor--theme-dark,
|
42304
42320
|
[data-theme="dark-ui"] .sd-editor--theme-dark {
|
42305
42321
|
--theme-color-base: hsl(214 13% 12%);
|
@@ -42315,7 +42331,8 @@ i.sd-sidetab-menu__helper-icon {
|
|
42315
42331
|
--sd-editor-colour__removing: var(--blissful-berry-300);
|
42316
42332
|
--sd-editor-colour__removing-bg: var(--blissful-berry-500-a16);
|
42317
42333
|
--sd-editor-colour__adding: var(--green-brier-300);
|
42318
|
-
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42334
|
+
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42335
|
+
--sd-editor-colour__mark-company: var(--syrah-soil-300); }
|
42319
42336
|
:root .sd-editor--theme-blue,
|
42320
42337
|
[data-theme="dark-ui"] .sd-editor--theme-blue {
|
42321
42338
|
--theme-color-base: hsl(212 91% 18%);
|
@@ -42331,7 +42348,8 @@ i.sd-sidetab-menu__helper-icon {
|
|
42331
42348
|
--sd-editor-colour__removing: var(--blissful-berry-300);
|
42332
42349
|
--sd-editor-colour__removing-bg: var(--blissful-berry-500-a16);
|
42333
42350
|
--sd-editor-colour__adding: var(--green-brier-300);
|
42334
|
-
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42351
|
+
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42352
|
+
--sd-editor-colour__mark-company: var(--syrah-soil-300); }
|
42335
42353
|
:root .sd-editor--theme-turquoise,
|
42336
42354
|
[data-theme="dark-ui"] .sd-editor--theme-turquoise {
|
42337
42355
|
--theme-color-base: hsl(179 49% 65%);
|
@@ -42348,7 +42366,9 @@ i.sd-sidetab-menu__helper-icon {
|
|
42348
42366
|
--sd-editor-colour__removing: var(--blissful-berry-600);
|
42349
42367
|
--sd-editor-colour__removing-bg: var(--blissful-berry-500-a12);
|
42350
42368
|
--sd-editor-colour__adding: var(--green-brier-600);
|
42351
|
-
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42369
|
+
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42370
|
+
--sd-editor-colour__mark-people: var(--sorcerer-blue-400);
|
42371
|
+
--sd-editor-colour__mark-company: var(--syrah-soil-300); }
|
42352
42372
|
:root .sd-editor--theme-military,
|
42353
42373
|
[data-theme="dark-ui"] .sd-editor--theme-military {
|
42354
42374
|
--theme-color-base: hsl(69 25% 65%);
|
@@ -42365,7 +42385,9 @@ i.sd-sidetab-menu__helper-icon {
|
|
42365
42385
|
--sd-editor-colour__removing: var(--blissful-berry-600);
|
42366
42386
|
--sd-editor-colour__removing-bg: var(--blissful-berry-500-a12);
|
42367
42387
|
--sd-editor-colour__adding: var(--green-brier-600);
|
42368
|
-
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42388
|
+
--sd-editor-colour__adding-bg: var(--green-brier-400-a12);
|
42389
|
+
--sd-editor-colour__mark-people: var(--sorcerer-blue-500);
|
42390
|
+
--sd-editor-colour__mark-company: var(--syrah-soil-400); }
|
42369
42391
|
:root .sd-editor--theme-natural,
|
42370
42392
|
[data-theme="dark-ui"] .sd-editor--theme-natural {
|
42371
42393
|
--theme-color-base: hsl(51 50% 89%);
|
@@ -54763,6 +54785,9 @@ i.sd-sidetab-menu__helper-icon {
|
|
54763
54785
|
.p-datepicker table td > span:not(.p-highlight):not(.p-disabled):active {
|
54764
54786
|
background-color: var(--sd-colour-interactive--alpha-20); }
|
54765
54787
|
|
54788
|
+
.p-datepicker table td > span:not(.p-disabled):focus-visible {
|
54789
|
+
outline: 2px solid var(--sd-colour-interactive--alpha-40); }
|
54790
|
+
|
54766
54791
|
.p-datepicker table td > span {
|
54767
54792
|
cursor: pointer;
|
54768
54793
|
display: flex;
|
@@ -54832,6 +54857,8 @@ i.sd-sidetab-menu__helper-icon {
|
|
54832
54857
|
background-color: var(--color-input-bg); }
|
54833
54858
|
.p-calendar.sd-input--disabled:hover .p-calendar .p-calendar-icon {
|
54834
54859
|
pointer-events: none; }
|
54860
|
+
.p-calendar.sd-input__input {
|
54861
|
+
padding-inline: 0; }
|
54835
54862
|
|
54836
54863
|
.p-calendar-w-btn {
|
54837
54864
|
width: 116px; }
|
@@ -55572,12 +55599,65 @@ i.sd-sidetab-menu__helper-icon {
|
|
55572
55599
|
gap: var(--gap-1-5);
|
55573
55600
|
overflow: auto; }
|
55574
55601
|
|
55575
|
-
.time-
|
55576
|
-
|
55577
|
-
|
55602
|
+
.time-picker__input {
|
55603
|
+
position: relative; }
|
55604
|
+
.time-picker__input input[type="time"] {
|
55605
|
+
-webkit-appearance: none;
|
55606
|
+
-moz-appearance: textfield;
|
55607
|
+
appearance: textfield; }
|
55608
|
+
.time-picker__input input[type="time"]::-webkit-calendar-picker-indicator {
|
55609
|
+
display: none; }
|
55610
|
+
.time-picker__input:has(.time-picker__icon-wrapper) .sd-input__input:not(.p-calendar) {
|
55611
|
+
padding-inline-end: var(--space--4); }
|
55612
|
+
.time-picker__input .time-picker__icon-wrapper {
|
55613
|
+
position: relative;
|
55614
|
+
height: 2.4rem;
|
55615
|
+
width: 2.4rem;
|
55616
|
+
position: absolute;
|
55617
|
+
inset-block-start: var(--space--0-5);
|
55618
|
+
inset-inline-end: var(--space--0-5);
|
55619
|
+
display: flex;
|
55620
|
+
align-items: center;
|
55621
|
+
justify-content: center;
|
55622
|
+
z-index: 1;
|
55623
|
+
pointer-events: none; }
|
55624
|
+
.time-picker__input .time-picker__icon-wrapper .clear-time-picker {
|
55625
|
+
position: absolute;
|
55626
|
+
inset-block-start: 0;
|
55627
|
+
inset-inline-end: 0;
|
55628
|
+
transition: opacity 0.2s ease;
|
55629
|
+
z-index: 2;
|
55630
|
+
opacity: 0; }
|
55631
|
+
.time-picker__input:has(.sd-input__input--has-value) .icon-time {
|
55632
|
+
opacity: 1;
|
55633
|
+
transition: opacity 0.2s ease; }
|
55634
|
+
.time-picker__input:has(.sd-input__input--has-value) .time-picker__icon-wrapper {
|
55635
|
+
pointer-events: all; }
|
55636
|
+
.time-picker__input:has(.sd-input__input--has-value):hover .icon-time {
|
55637
|
+
opacity: 0; }
|
55638
|
+
.time-picker__input:has(.sd-input__input--has-value):hover .clear-time-picker {
|
55639
|
+
opacity: 1; }
|
55640
|
+
.time-picker__input:has(.sd-input__input--has-value):focus-within .icon-time {
|
55641
|
+
opacity: 0; }
|
55642
|
+
.time-picker__input:has(.sd-input__input--has-value):focus-within .clear-time-picker {
|
55643
|
+
opacity: 1; }
|
55644
|
+
|
55645
|
+
.time-picker--date-time .time-picker__input .time-picker__icon-wrapper,
|
55646
|
+
.time-picker--date-time .time-picker__input:hover .time-picker__icon-wrapper,
|
55647
|
+
.time-picker--date-time .time-picker__input:focus-within .time-picker__icon-wrapper {
|
55648
|
+
pointer-events: none; }
|
55649
|
+
|
55650
|
+
.time-picker--date-time .time-picker__input .clear-time-picker,
|
55651
|
+
.time-picker--date-time .time-picker__input:hover .clear-time-picker,
|
55652
|
+
.time-picker--date-time .time-picker__input:focus-within .clear-time-picker {
|
55653
|
+
display: none; }
|
55654
|
+
|
55655
|
+
.time-picker--date-time .time-picker__input .icon-time,
|
55656
|
+
.time-picker--date-time .time-picker__input:hover .icon-time,
|
55657
|
+
.time-picker--date-time .time-picker__input:focus-within .icon-time {
|
55658
|
+
opacity: 1; }
|
55578
55659
|
|
55579
55660
|
.time-unit {
|
55580
|
-
transition: all ease 0.2s;
|
55581
55661
|
display: flex;
|
55582
55662
|
justify-content: center;
|
55583
55663
|
width: 32px;
|
@@ -55586,10 +55666,16 @@ i.sd-sidetab-menu__helper-icon {
|
|
55586
55666
|
font-weight: normal;
|
55587
55667
|
margin-inline-start: var(--gap--x-small);
|
55588
55668
|
margin-inline-end: var(--gap--x-small);
|
55589
|
-
transition: var(--transition__menu-item);
|
55669
|
+
transition: var(--transition__menu-item);
|
55670
|
+
transition: all ease 0.2s; }
|
55590
55671
|
.time-unit:hover {
|
55591
55672
|
background-color: var(--sd-colour-interactive--alpha-10);
|
55592
55673
|
box-shadow: inset 0 0 0 1px var(--sd-colour-interactive);
|
55593
55674
|
cursor: pointer; }
|
55594
55675
|
.time-unit:active {
|
55595
55676
|
background-color: var(--sd-colour-interactive--alpha-20); }
|
55677
|
+
.time-unit:focus-visible {
|
55678
|
+
outline: 2px solid var(--sd-colour-interactive--alpha-40); }
|
55679
|
+
.time-unit.time-unit-highlight, .time-unit.time-unit-highlight:hover {
|
55680
|
+
background-color: var(--sd-colour-interactive);
|
55681
|
+
color: var(--color-text-ondark); }
|