superdesk-ui-framework 3.0.1-beta.22 → 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/dist/examples.bundle.js +586 -586
- package/dist/react/MultiSelect.tsx +5 -5
- package/dist/superdesk-ui.bundle.js +579 -579
- package/examples/pages/react/MultiSelect.tsx +5 -5
- package/package.json +1 -1
@@ -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
|
}
|