superdesk-ui-framework 3.0.1-beta.20 → 3.0.1-beta.23
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 +10 -5
- package/app/styles/_icon-font.scss +1 -1
- package/app/styles/grids/_grid-layout.scss +6 -0
- package/app-typescript/index.ts +1 -0
- package/dist/examples.bundle.css +1 -1
- package/dist/examples.bundle.js +21171 -21169
- package/dist/react/MultiSelect.tsx +5 -5
- package/dist/superdesk-ui.bundle.css +17 -10
- package/dist/superdesk-ui.bundle.js +4113 -2422
- package/dist/vendor.bundle.js +14 -14
- package/examples/pages/react/MultiSelect.tsx +5 -5
- package/package.json +1 -1
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +70 -0
- package/react/index.d.ts +1 -0
- package/react/index.js +3 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as Markup from '../../js/react';
|
3
3
|
import { PropsList, Prop } from '../../../app-typescript';
|
4
|
-
import { MultiSelect } from '../../../app-typescript
|
4
|
+
import { MultiSelect } from '../../../app-typescript';
|
5
5
|
|
6
6
|
interface IColor {
|
7
7
|
name: string;
|
@@ -56,7 +56,7 @@ export class MultiselectDocs extends React.Component<{}, IState> {
|
|
56
56
|
/>
|
57
57
|
`}
|
58
58
|
</Markup.ReactMarkupCodePreview>
|
59
|
-
|
59
|
+
|
60
60
|
<Markup.ReactMarkup>
|
61
61
|
<Markup.ReactMarkupPreview>
|
62
62
|
<div className='docs-page__content-row docs-page__content-row--no-margin'>
|
@@ -110,7 +110,7 @@ export class MultiselectDocs extends React.Component<{}, IState> {
|
|
110
110
|
showSelectAll
|
111
111
|
optionLabel='name'
|
112
112
|
itemTemplate={(option) => {
|
113
|
-
if (option) {
|
113
|
+
if (option) {
|
114
114
|
return (
|
115
115
|
<div style={{display: 'flex', alignItems: 'center'}}>
|
116
116
|
<div style={{width: 10, height: 10, marginInlineEnd: 10, backgroundColor: option.colorCode}} />
|
@@ -147,7 +147,7 @@ export class MultiselectDocs extends React.Component<{}, IState> {
|
|
147
147
|
showSelectAll
|
148
148
|
optionLabel='name'
|
149
149
|
itemTemplate={(option) => {
|
150
|
-
if (option) {
|
150
|
+
if (option) {
|
151
151
|
return (
|
152
152
|
<div style={{display: 'flex', alignItems: 'center'}}>
|
153
153
|
<div style={{width: 10, height: 10, marginInlineEnd: 10, backgroundColor: option.colorCode}} />
|
@@ -194,7 +194,7 @@ export class MultiselectDocs extends React.Component<{}, IState> {
|
|
194
194
|
<Prop name='selectedItemTemplate' isRequired={false} type='function' default='/' description='Function that gets an item in the value and returns the content for it.'/>
|
195
195
|
<Prop name='onChange' isRequired={true} type='function' default='/' description='Callback to invoke when value changes.'/>
|
196
196
|
</PropsList>
|
197
|
-
|
197
|
+
|
198
198
|
</section>
|
199
199
|
)
|
200
200
|
}
|
@@ -9785,7 +9785,7 @@
|
|
9785
9785
|
|
9786
9786
|
.icn-mix {
|
9787
9787
|
position: relative;
|
9788
|
-
display: inline-
|
9788
|
+
display: inline-flex !important;
|
9789
9789
|
font-size: 16px;
|
9790
9790
|
height: 16px; }
|
9791
9791
|
.icn-mix .icn-mix__icn {
|
@@ -17319,12 +17319,12 @@ h1, h2, h3, h4, h5, h6 {
|
|
17319
17319
|
background-color: transparent;
|
17320
17320
|
opacity: 0.75;
|
17321
17321
|
background-color: rgba(125, 138, 155, 0);
|
17322
|
-
color:
|
17322
|
+
color: var(--color-icon-default);
|
17323
17323
|
text-decoration: none;
|
17324
17324
|
cursor: pointer;
|
17325
17325
|
flex-shrink: 0; }
|
17326
17326
|
.icn-btn [class^="icon-"], .sd-thumb-carousel__btn--prev [class^="icon-"], .sd-thumb-carousel__btn--next [class^="icon-"], .p-carousel-prev [class^="icon-"], .p-carousel-next [class^="icon-"], .icn-btn [class*=" icon-"], .sd-thumb-carousel__btn--prev [class*=" icon-"], .sd-thumb-carousel__btn--next [class*=" icon-"], .p-carousel-prev [class*=" icon-"], .p-carousel-next [class*=" icon-"] {
|
17327
|
-
color:
|
17327
|
+
color: var(--color-icon-default) !important;
|
17328
17328
|
vertical-align: baseline !important; }
|
17329
17329
|
.icn-btn:hover, .sd-thumb-carousel__btn--prev:hover, .sd-thumb-carousel__btn--next:hover,
|
17330
17330
|
.p-carousel-prev:hover, .p-carousel-next:hover {
|
@@ -17362,7 +17362,6 @@ h1, h2, h3, h4, h5, h6 {
|
|
17362
17362
|
height: 5.6rem;
|
17363
17363
|
width: 5.6rem; }
|
17364
17364
|
.icn-btn--x-large [class^="icon-"], .icn-btn--x-large [class*=" icon-"] {
|
17365
|
-
color: inherit;
|
17366
17365
|
vertical-align: baseline !important;
|
17367
17366
|
font-size: 2.4rem;
|
17368
17367
|
height: 2.4rem;
|
@@ -17373,12 +17372,16 @@ h1, h2, h3, h4, h5, h6 {
|
|
17373
17372
|
.icn-btn--outline:active:not(.icn-btn--disabled) {
|
17374
17373
|
border-color: var(--sd-colour-interactive); }
|
17375
17374
|
.icn-btn--outlineWhite {
|
17376
|
-
color: rgba(241, 242, 244, 0.8);
|
17375
|
+
color: rgba(241, 242, 244, 0.8) !important;
|
17377
17376
|
border: 1px solid currentColor; }
|
17377
|
+
.icn-btn--outlineWhite [class^="icon-"], .icn-btn--outlineWhite [class*=" icon-"] {
|
17378
|
+
color: rgba(241, 242, 244, 0.8) !important; }
|
17378
17379
|
.icn-btn--outlineWhite:hover:not(.icn-btn--disabled) {
|
17379
|
-
color: #f1f2f4;
|
17380
|
+
color: #f1f2f4 !important;
|
17380
17381
|
border-color: #f1f2f4;
|
17381
17382
|
background-color: rgba(0, 0, 0, 0.4); }
|
17383
|
+
.icn-btn--outlineWhite:hover:not(.icn-btn--disabled) [class^="icon-"], .icn-btn--outlineWhite:hover:not(.icn-btn--disabled) [class*=" icon-"] {
|
17384
|
+
color: #f1f2f4 !important; }
|
17382
17385
|
.icn-btn--outlineWhite:active:not(.icn-btn--disabled) {
|
17383
17386
|
border-color: var(--sd-colour-interactive);
|
17384
17387
|
background-color: rgba(0, 0, 0, 0.6); }
|
@@ -17399,14 +17402,14 @@ h1, h2, h3, h4, h5, h6 {
|
|
17399
17402
|
background-color: transparent;
|
17400
17403
|
opacity: 0.75;
|
17401
17404
|
background-color: rgba(125, 138, 155, 0);
|
17402
|
-
color:
|
17405
|
+
color: var(--color-icon-default);
|
17403
17406
|
text-decoration: none;
|
17404
17407
|
cursor: pointer;
|
17405
17408
|
flex-shrink: 0;
|
17406
17409
|
height: 2.4rem;
|
17407
17410
|
width: 2.4rem; }
|
17408
17411
|
.p-dialog-header-close [class^="icon-"], .p-dialog-header-close [class*=" icon-"] {
|
17409
|
-
color:
|
17412
|
+
color: var(--color-icon-default) !important;
|
17410
17413
|
vertical-align: baseline !important; }
|
17411
17414
|
.p-dialog-header-close:hover {
|
17412
17415
|
opacity: 1;
|
@@ -28064,7 +28067,7 @@ a.label {
|
|
28064
28067
|
|
28065
28068
|
.icn-mix {
|
28066
28069
|
position: relative;
|
28067
|
-
display: inline-
|
28070
|
+
display: inline-flex !important;
|
28068
28071
|
font-size: 16px;
|
28069
28072
|
height: 16px; }
|
28070
28073
|
.icn-mix .icn-mix__icn {
|
@@ -38446,6 +38449,10 @@ input.sd-inset-search__input {
|
|
38446
38449
|
opacity: 0;
|
38447
38450
|
transition: all 0.1s ease-out;
|
38448
38451
|
transition-delay: 0; }
|
38452
|
+
.sd-column-box__slide-in-column.sd-column-box__slide-in-column--light {
|
38453
|
+
background-color: var(--sd-colour-panel-bg--000); }
|
38454
|
+
.sd-column-box__slide-in-column.sd-column-box__slide-in-column--light .sd-column-box__slide-in-column-inner {
|
38455
|
+
background-color: var(--sd-colour-panel-bg--000); }
|
38449
38456
|
|
38450
38457
|
.sd-slide-in-panel {
|
38451
38458
|
display: flex;
|
@@ -59168,7 +59175,7 @@ i.sd-sidetab-menu__helper-icon {
|
|
59168
59175
|
|
59169
59176
|
.icn-mix {
|
59170
59177
|
position: relative;
|
59171
|
-
display: inline-
|
59178
|
+
display: inline-flex !important;
|
59172
59179
|
font-size: 16px;
|
59173
59180
|
height: 16px; }
|
59174
59181
|
.icn-mix .icn-mix__icn {
|