superdesk-ui-framework 3.0.1-beta.7 → 3.0.1-beta.8
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/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +14 -7
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/styles/_icon-font.scss +7 -0
- package/app/styles/_sd-tag-input.scss +1 -0
- package/app/styles/components/_sd-grid-item.scss +30 -16
- package/app/styles/design-tokens/_design-tokens-general.scss +1 -1
- package/app/styles/form-elements/_forms-general.scss +64 -5
- package/app/styles/grids/_grid-layout.scss +25 -1
- package/app/styles/layout/_basic-layout.scss +2 -2
- package/app/styles/layout/_editor.scss +4 -4
- package/app-typescript/components/EmptyState.tsx +2 -1
- package/app-typescript/components/Form/FormRowNew.tsx +41 -0
- package/app-typescript/components/Form/index.tsx +1 -0
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
- package/app-typescript/components/LeftMenu.tsx +127 -122
- package/app-typescript/components/TimePicker.tsx +2 -0
- package/dist/examples.bundle.css +273 -0
- package/dist/examples.bundle.js +997 -875
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +1 -1
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +120 -14
- package/dist/react/LeftNavigations.tsx +71 -44
- package/dist/react/TimePicker.tsx +6 -4
- package/dist/react/TreeSelect.tsx +1 -1
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +14 -7
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +928 -24
- package/dist/superdesk-ui.bundle.js +617 -534
- package/dist/vendor.bundle.js +14 -14
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +1 -1
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +120 -14
- package/examples/pages/react/LeftNavigations.tsx +71 -44
- package/examples/pages/react/TimePicker.tsx +6 -4
- package/examples/pages/react/TreeSelect.tsx +1 -1
- package/package.json +1 -1
- package/react/components/EmptyState.d.ts +1 -0
- package/react/components/EmptyState.js +1 -1
- package/react/components/Form/FormRowNew.d.ts +12 -0
- package/react/components/Form/FormRowNew.js +67 -0
- package/react/components/Form/index.d.ts +1 -0
- package/react/components/Form/index.js +3 -1
- package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
- package/react/components/Layouts/AuthoringContainer.js +1 -1
- package/react/components/LeftMenu.d.ts +3 -1
- package/react/components/LeftMenu.js +8 -1
- package/react/components/TimePicker.d.ts +1 -0
- package/react/components/TimePicker.js +1 -1
@@ -337,7 +337,7 @@ export class RundownEditor extends React.Component<IProps, IState> {
|
|
337
337
|
</Layout.MainPanel>
|
338
338
|
|
339
339
|
<Layout.RightPanel open={this.state.rightPanelOpen}>
|
340
|
-
<Layout.Panel size='
|
340
|
+
<Layout.Panel size='full' side='right'>
|
341
341
|
<Layout.PanelContent>
|
342
342
|
<Layout.AuthoringFrame
|
343
343
|
main={
|
@@ -141,7 +141,10 @@ export class SamsPlayground extends React.Component<IProps, IState> {
|
|
141
141
|
<Components.PanelContentBlock>
|
142
142
|
<div className="form__group">
|
143
143
|
<div className="form__item">
|
144
|
-
<Input
|
144
|
+
<Input
|
145
|
+
label='Title'
|
146
|
+
type='text'
|
147
|
+
value=''
|
145
148
|
error='This is error message'
|
146
149
|
inlineLabel={false}
|
147
150
|
disabled={false}
|
@@ -167,7 +170,10 @@ export class SamsPlayground extends React.Component<IProps, IState> {
|
|
167
170
|
|
168
171
|
<div className="form__group">
|
169
172
|
<div className="form__item">
|
170
|
-
<Input
|
173
|
+
<Input
|
174
|
+
label='Keyword'
|
175
|
+
type='text'
|
176
|
+
value=''
|
171
177
|
error='This is error message'
|
172
178
|
inlineLabel={false}
|
173
179
|
disabled={false}
|
@@ -232,8 +238,11 @@ export class SamsPlayground extends React.Component<IProps, IState> {
|
|
232
238
|
<Badge text={item.urgency} color={item.urgencyColor} />
|
233
239
|
<Badge text={item.priority} shape='square' color={item.priorityColor} />
|
234
240
|
</GridElements.GridItemFooterBlock>
|
241
|
+
<GridElements.GridItemFooterBlock align='right'>
|
242
|
+
<Label type='success' style='translucent' text='In progress' />
|
243
|
+
</GridElements.GridItemFooterBlock>
|
235
244
|
<GridElements.GridItemFooterActions>
|
236
|
-
<IconButton icon='dots-vertical' ariaValue='More actions' onClick={()=> this.changeStatus(item, 'archived')} />
|
245
|
+
<IconButton size='small' icon='dots-vertical' ariaValue='More actions' onClick={()=> this.changeStatus(item, 'archived')} />
|
237
246
|
</GridElements.GridItemFooterActions>
|
238
247
|
</GridElements.GridItemFooter>
|
239
248
|
</GridElements.GridItem>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as Components from './components/Index';
|
3
|
-
import { Checkbox, RadioGroup, CheckboxButton, RadioButtonGroup, Button, NavButton, SubNav, Dropdown, CheckButtonGroup, Input, Select, Option, Label, Icon, IconButton, CheckGroup, GridList, Badge, ThemeSelector, Container, IconLabel, Tooltip, Spinner, Divider, InputWrapper, DatePicker, TimePicker, InputNew, InputBase } from '../../../../app-typescript/index';
|
3
|
+
import { Checkbox, RadioGroup, CheckboxButton, RadioButtonGroup, Button, NavButton, SubNav, Dropdown, CheckButtonGroup, Input, Select, Option, Label, Icon, IconButton, CheckGroup, GridList, Badge, ThemeSelector, Container, IconLabel, Tooltip, Spinner, Divider, InputWrapper, DatePicker, TimePicker, InputNew, InputBase, Text, FormRowNew } from '../../../../app-typescript/index';
|
4
4
|
import { Carousel } from '../../../../app-typescript/index';
|
5
5
|
import * as GridElements from '../../../../app-typescript/components/GridItem';
|
6
6
|
|
@@ -63,24 +63,33 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
63
63
|
<Components.LayoutContainer>
|
64
64
|
<Components.MainPanel>
|
65
65
|
<InputNew
|
66
|
-
label='
|
66
|
+
label='test'
|
67
67
|
value=''
|
68
68
|
onChange={(value) => false}
|
69
|
-
|
69
|
+
placeholder='test'
|
70
70
|
required={true}
|
71
71
|
info='Nullam Sollicitudin'
|
72
72
|
maxLength={20}
|
73
|
-
//invalid={true}
|
74
|
-
//disabled={true}
|
75
73
|
error='Error message'
|
76
|
-
|
77
|
-
|
74
|
+
inlineLabel={true}
|
75
|
+
labelHidden={true}
|
78
76
|
type='text' />
|
79
77
|
|
80
78
|
<hr />
|
81
79
|
<div className='form__group-new'>
|
82
|
-
<Input
|
83
|
-
|
80
|
+
<Input
|
81
|
+
value=''
|
82
|
+
onChange={(value) => {}}
|
83
|
+
type='text'
|
84
|
+
label='Text input'
|
85
|
+
placeholder='Enter text'
|
86
|
+
disabled={true} />
|
87
|
+
<Input value=''
|
88
|
+
onChange={(value) => {}}
|
89
|
+
type='text'
|
90
|
+
label='Text input'
|
91
|
+
placeholder='Enter text'
|
92
|
+
disabled={true} />
|
84
93
|
<DatePicker
|
85
94
|
value={this.state.date}
|
86
95
|
onChange={(date) => {
|
@@ -91,8 +100,7 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
91
100
|
label='Date'
|
92
101
|
info='Nullam Sollicitudin'
|
93
102
|
error='Error message'
|
94
|
-
inlineLabel={
|
95
|
-
|
103
|
+
inlineLabel={false}
|
96
104
|
shortcuts={[
|
97
105
|
{label: 'tomorrow', days: 1},
|
98
106
|
{label: 'yesterday', days: -1},
|
@@ -107,12 +115,110 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
107
115
|
this.setState({time});
|
108
116
|
}}
|
109
117
|
/>
|
110
|
-
<Button text="
|
111
|
-
|
118
|
+
<Button text="Clear" onClick={()=> false} />
|
112
119
|
<Button text="Cancel" onClick={()=> false} />
|
113
|
-
|
114
120
|
<Button text="Save" type='primary' onClick={()=> false} />
|
115
121
|
</div>
|
122
|
+
<hr />
|
123
|
+
|
124
|
+
<FormRowNew rowLabel='My group label' inlineLabels={true}>
|
125
|
+
<Input
|
126
|
+
value=''
|
127
|
+
onChange={(value) => {}}
|
128
|
+
type='text'
|
129
|
+
label='Text input'
|
130
|
+
placeholder='Enter text'
|
131
|
+
inlineLabel={true}
|
132
|
+
labelHidden={true}
|
133
|
+
disabled={false} />
|
134
|
+
<Text size='small' align='center'>To:</Text>
|
135
|
+
<Input
|
136
|
+
value=''
|
137
|
+
onChange={(value) => {}}
|
138
|
+
type='text'
|
139
|
+
label='Text input'
|
140
|
+
placeholder='Enter text'
|
141
|
+
inlineLabel={true}
|
142
|
+
labelHidden={true}
|
143
|
+
disabled={false} />
|
144
|
+
<DatePicker
|
145
|
+
value={this.state.date}
|
146
|
+
onChange={(date) => {
|
147
|
+
this.setState({date});
|
148
|
+
}}
|
149
|
+
// disabled={true}
|
150
|
+
dateFormat="DD-MM-YYYY"
|
151
|
+
label='Date'
|
152
|
+
info='Nullam Sollicitudin'
|
153
|
+
error='Error message'
|
154
|
+
inlineLabel={true}
|
155
|
+
labelHidden={true}
|
156
|
+
shortcuts={[
|
157
|
+
{label: 'tomorrow', days: 1},
|
158
|
+
{label: 'yesterday', days: -1},
|
159
|
+
]}
|
160
|
+
/>
|
161
|
+
<TimePicker
|
162
|
+
value={this.state.time}
|
163
|
+
// disabled={true}
|
164
|
+
required={true}
|
165
|
+
inlineLabel={true}
|
166
|
+
labelHidden={true}
|
167
|
+
label='Time'
|
168
|
+
onChange={(time) => {
|
169
|
+
this.setState({time});
|
170
|
+
}}
|
171
|
+
/>
|
172
|
+
<Button text="Save" type='primary' onClick={()=> false} />
|
173
|
+
</FormRowNew>
|
174
|
+
|
175
|
+
<hr />
|
176
|
+
|
177
|
+
<FormRowNew>
|
178
|
+
<Input
|
179
|
+
value=''
|
180
|
+
onChange={(value) => {}}
|
181
|
+
type='text'
|
182
|
+
label='Text input'
|
183
|
+
placeholder='Enter text'
|
184
|
+
disabled={false} />
|
185
|
+
<Text size='small' align='center'>To:</Text>
|
186
|
+
<Input
|
187
|
+
value=''
|
188
|
+
onChange={(value) => {}}
|
189
|
+
type='text'
|
190
|
+
label='Text input'
|
191
|
+
placeholder='Enter text'
|
192
|
+
labelHidden={true}
|
193
|
+
disabled={false} />
|
194
|
+
<DatePicker
|
195
|
+
value={this.state.date}
|
196
|
+
onChange={(date) => {
|
197
|
+
this.setState({date});
|
198
|
+
}}
|
199
|
+
// disabled={true}
|
200
|
+
dateFormat="DD-MM-YYYY"
|
201
|
+
label='Date'
|
202
|
+
info='Nullam Sollicitudin'
|
203
|
+
error='Error message'
|
204
|
+
inlineLabel={false}
|
205
|
+
shortcuts={[
|
206
|
+
{label: 'tomorrow', days: 1},
|
207
|
+
{label: 'yesterday', days: -1},
|
208
|
+
]}
|
209
|
+
/>
|
210
|
+
<TimePicker
|
211
|
+
value={this.state.time}
|
212
|
+
// disabled={true}
|
213
|
+
required={true}
|
214
|
+
label='Time'
|
215
|
+
onChange={(time) => {
|
216
|
+
this.setState({time});
|
217
|
+
}}
|
218
|
+
/>
|
219
|
+
<Button text="Save" type='primary' onClick={()=> false} />
|
220
|
+
</FormRowNew>
|
221
|
+
|
116
222
|
<hr />
|
117
223
|
<h3 className="docs-page__h3 sd-margin-y--0">Table list</h3>
|
118
224
|
<hr />
|
@@ -13,11 +13,17 @@ export default class LeftNavigationsDoc extends React.Component<{}> {
|
|
13
13
|
<LeftMenu
|
14
14
|
activeItemId='1'
|
15
15
|
groups={[
|
16
|
-
{ label: 'SYSTEM SETTINGS', items: [
|
17
|
-
|
18
|
-
|
16
|
+
{ label: 'SYSTEM SETTINGS', items: [
|
17
|
+
{id: '1', label: 'General'},
|
18
|
+
{id: '2', label: 'Email settings'},
|
19
|
+
]},
|
20
|
+
{ label: 'WORKFLOW', items: [
|
21
|
+
{ id: '4', label: 'Desk' },
|
22
|
+
{ id: '5', label: 'User Roles & Privileges'},
|
23
|
+
]}
|
19
24
|
]}
|
20
|
-
onSelect={() => false}
|
25
|
+
onSelect={() => false}
|
26
|
+
/>
|
21
27
|
`}
|
22
28
|
</Markup.ReactMarkupCodePreview>
|
23
29
|
|
@@ -32,25 +38,41 @@ export default class LeftNavigationsDoc extends React.Component<{}> {
|
|
32
38
|
<p className="sd-top-menu__header">Top menu</p>
|
33
39
|
</div>
|
34
40
|
</div>
|
35
|
-
<LeftMenu ariaLabel={'Left navigation'}
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
]}
|
41
|
-
|
41
|
+
<LeftMenu ariaLabel={'Left navigation'}
|
42
|
+
className={'docs-page__grid-page-example__side'}
|
43
|
+
activeItemId='3'
|
44
|
+
groups={[
|
45
|
+
{label: 'SYSTEM SETTINGS', items: [{id: '1', label: 'General'}, {id: '2', label: 'Email settings'}, {id: '3', label: 'Spell checking'}]},
|
46
|
+
{label: 'WORKFLOW', items: [{id: '4', label: 'Desk'}, {id: '5', label: 'User Roles & Privileges'}]},
|
47
|
+
{label: 'CONTENT CONFIG', items: [{id: '6', label: 'Image renditions'}, {id: '7', label: 'Controlled Vocabularies'}]}
|
48
|
+
]}
|
49
|
+
onSelect={() => false} />
|
42
50
|
<div className='docs-page__grid-page-example__main'></div>
|
43
51
|
</div>
|
44
52
|
</div>
|
45
53
|
</Markup.ReactMarkupPreview>
|
46
54
|
<Markup.ReactMarkupCode>{`
|
47
|
-
<LeftMenu
|
55
|
+
<LeftMenu
|
56
|
+
ariaLabel={'Left navigation'}
|
57
|
+
className={'docs-page__grid-page-example__side'}
|
58
|
+
activeItemId='1'
|
48
59
|
groups={[
|
49
|
-
|
50
|
-
{
|
51
|
-
{
|
60
|
+
{label: 'SYSTEM SETTINGS', items: [
|
61
|
+
{id: '1', label: 'General'},
|
62
|
+
{id: '2', label: 'Email settings'},
|
63
|
+
{id: '3', label: 'Spell checking'},
|
64
|
+
]},
|
65
|
+
{label: 'WORKFLOW', items: [
|
66
|
+
{id: '4', label: 'Desk'},
|
67
|
+
{id: '5', label: 'User Roles & Privileges'},
|
68
|
+
]},
|
69
|
+
{label: 'CONTENT CONFIG', items: [
|
70
|
+
{id: '6', label: 'Image renditions'},
|
71
|
+
{id: '7', label: 'Controlled Vocabularies'},
|
52
72
|
]}
|
53
|
-
|
73
|
+
]}
|
74
|
+
onSelect={() => false}
|
75
|
+
/>
|
54
76
|
`}
|
55
77
|
</Markup.ReactMarkupCode>
|
56
78
|
</Markup.ReactMarkup>
|
@@ -67,26 +89,26 @@ export default class LeftNavigationsDoc extends React.Component<{}> {
|
|
67
89
|
</div>
|
68
90
|
</div>
|
69
91
|
<LeftMenu ariaLabel={'Left navigation'}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
]}
|
92
|
+
className={'docs-page__grid-page-example__side'}
|
93
|
+
scrollSpy='#scrollContainer'
|
94
|
+
offset={-300}
|
95
|
+
//scrollTo={'section4'}
|
96
|
+
groups={[
|
97
|
+
{ label: 'MAIN SECTIONS', items: [
|
98
|
+
{ id: '1', label: 'Section 1', ref:'section1'},
|
99
|
+
{ id: '2', label: 'Section 2', ref: 'section2' },
|
100
|
+
{ id: '3', label: 'Section 3', ref: 'section3' },
|
101
|
+
|
102
|
+
]},
|
103
|
+
{ label:'OTHER SECTIONS', items: [
|
104
|
+
{ id: '4', label: 'Section 4', ref: 'section4' },
|
105
|
+
{ id: '5', label: 'Section 5', ref: 'section5' }
|
106
|
+
]},
|
107
|
+
{ label:'OTHER SECTIONS', items: [
|
108
|
+
{ id: '6', label: 'Section 6', ref: 'section6' },
|
109
|
+
{ id: '7', label: 'Section 7', ref: 'section7' }
|
89
110
|
]}
|
111
|
+
]}
|
90
112
|
onSelect={() => false} />
|
91
113
|
<div className='docs-page__grid-page-example__main sd-padding--4' id='scrollContainer' style={{height:600}}>
|
92
114
|
<SimpleList density='comfortable'>
|
@@ -160,16 +182,17 @@ export default class LeftNavigationsDoc extends React.Component<{}> {
|
|
160
182
|
</Markup.ReactMarkupPreview>
|
161
183
|
<Markup.ReactMarkupCode>
|
162
184
|
{`
|
163
|
-
<LeftMenu
|
185
|
+
<LeftMenu
|
186
|
+
ariaLabel={'Left navigation'}
|
164
187
|
className={'docs-page__grid-page-example__side'}
|
165
188
|
scrollSpy='#scrollContainer'
|
189
|
+
offset={-300}
|
166
190
|
activeItemId='1'
|
167
191
|
groups={[
|
168
192
|
{ label: 'MAIN SECTIONS', items: [
|
169
193
|
{ id: '1', label: 'Section 1', ref:'section1'},
|
170
194
|
{ id: '2', label: 'Section 2', ref: 'section2' },
|
171
|
-
{ id: '3', label: 'Section 3', ref: 'section3' }
|
172
|
-
|
195
|
+
{ id: '3', label: 'Section 3', ref: 'section3' }
|
173
196
|
]},
|
174
197
|
{label:'OTHER SECTIONS', items: [
|
175
198
|
{ id: '4', label: 'Section 4', ref: 'section4' },
|
@@ -180,7 +203,8 @@ export default class LeftNavigationsDoc extends React.Component<{}> {
|
|
180
203
|
{ id: '5', label: 'Section 7', ref: 'section7' }
|
181
204
|
]}
|
182
205
|
]}
|
183
|
-
onSelect={() => false}
|
206
|
+
onSelect={() => false}
|
207
|
+
/>
|
184
208
|
|
185
209
|
<div id='#scrollContainer'>...</div>
|
186
210
|
`}
|
@@ -189,16 +213,19 @@ export default class LeftNavigationsDoc extends React.Component<{}> {
|
|
189
213
|
|
190
214
|
<h3 className="docs-page__h3">Props</h3>
|
191
215
|
<PropsList>
|
192
|
-
<Prop name='groups' isRequired={true} type='Array<menugroup>' default='/' description='Array of groups'/>
|
193
|
-
<Prop name='activeItemId' isRequired={true} type='string' default='/' description='Id of active item'/>
|
216
|
+
<Prop name='groups' isRequired={true} type='Array<menugroup>' default='/' description='Array of groups.'/>
|
194
217
|
<Prop name='menugroup label' isRequired={true} type='string' default='/' description='Menugroup label text value.'/>
|
195
|
-
<Prop name='menugroup items' isRequired={true} type='Array<menuitem>' default='/' description='Array of items'/>
|
196
|
-
<Prop name='menuitem id' isRequired={true} type='string' default='/' description='Menugroup id value'/>
|
218
|
+
<Prop name='menugroup items' isRequired={true} type='Array<menuitem>' default='/' description='Array of items.'/>
|
219
|
+
<Prop name='menuitem id' isRequired={true} type='string' default='/' description='Menugroup id value.'/>
|
197
220
|
<Prop name='menuitem label' isRequired={true} type='string' default='/' description='Menugroup label text value.'/>
|
221
|
+
<Prop name='menuitem ref' isRequired={false} type='string' default='/' description='Menugroup ref.'/>
|
222
|
+
<Prop name='menuitem route' isRequired={false} type='string' default='/' description='Menugroup route value.'/>
|
223
|
+
<Prop name='menuitem onCLick' isRequired={true} type='string' default='/' description='On click function.'/>
|
198
224
|
<Prop name='scrollSpy' isRequired={false} type='string' default='HTML' description='Name of the element of scrollable container.'/>
|
199
225
|
<Prop name='offset' isRequired={false} type='number' default='-300' description='Offset value that adjusts to determine the elements are in the viewport.'/>
|
226
|
+
<Prop name='activeItemId' isRequired={false} type='string' default='/' description='Id of active item'/>
|
227
|
+
<Prop name='scrollTo' isRequired={false} type='string' default='/' description='Ref of active item.'/>
|
200
228
|
</PropsList>
|
201
|
-
|
202
229
|
</section>
|
203
230
|
)
|
204
231
|
}
|
@@ -24,6 +24,7 @@ class TimePickerExample extends React.PureComponent<{}, {time: string}> {
|
|
24
24
|
label={'This is Label'}
|
25
25
|
info={'This is info'}
|
26
26
|
error={'This is error'}
|
27
|
+
allowSeconds
|
27
28
|
/>
|
28
29
|
);
|
29
30
|
}
|
@@ -75,14 +76,15 @@ export default class TimePickerDoc extends React.Component {
|
|
75
76
|
|
76
77
|
<h3 className='docs-page__h3'>Props</h3>
|
77
78
|
<PropsList>
|
78
|
-
<Prop name='value' isRequired={true} type='string' default='/' description='Item value' />
|
79
|
-
<Prop name='
|
80
|
-
<Prop name='
|
79
|
+
<Prop name='value' isRequired={true} type='string' default='/' description='Item value.' />
|
80
|
+
<Prop name='allowSeconds' isRequired={true} type='string' default='/' description='Allow seconds.' />
|
81
|
+
<Prop name='required' isRequired={false} type='boolean' default='false' description='Mark field as required.' />
|
82
|
+
<Prop name='disabled' isRequired={false} type='boolean' default='false' description='Mark field as disabled.' />
|
81
83
|
</PropsList>
|
82
84
|
|
83
85
|
<h3 className='docs-page__h3'>Events</h3>
|
84
86
|
<PropsList>
|
85
|
-
<Prop name='onChange' isRequired={true} type='function' default='/' description='Returns value of time input' />
|
87
|
+
<Prop name='onChange' isRequired={true} type='function' default='/' description='Returns value of time input.' />
|
86
88
|
</PropsList>
|
87
89
|
</section>
|
88
90
|
);
|
package/dist/sd_icons.eot
CHANGED
Binary file
|
package/dist/sd_icons.svg
CHANGED
@@ -7,15 +7,15 @@
|
|
7
7
|
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8
8
|
<missing-glyph horiz-adv-x="1024" />
|
9
9
|
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10
|
-
<glyph unicode="" glyph-name="photo" d="
|
11
|
-
<glyph unicode="" glyph-name="video" d="M768
|
10
|
+
<glyph unicode="" glyph-name="photo" d="M608 896l112-128h140c55.228 0 100-44.772 100-100v-504c0-55.228-44.772-100-100-100h-696c-55.228 0-100 44.772-100 100v504c0 55.228 44.772 100 100 100h140l112 128zM512 645.382c-123.64 0-223.986-100.346-223.986-223.988 0-123.64 100.346-223.986 223.986-223.986s223.986 100.346 223.986 223.986c0 123.642-100.346 223.988-223.986 223.988zM512.648 564.746c79.118 0 143.352-64.234 143.352-143.352s-64.234-143.352-143.352-143.352-143.352 64.234-143.352 143.352 64.234 143.352 143.352 143.352z" />
|
11
|
+
<glyph unicode="" glyph-name="video" d="M768 544v160c0 35.346-28.654 64-64 64h-576c-35.346 0-64-28.654-64-64v-512c0-35.346 28.654-64 64-64h576c35.346 0 64 28.654 64 64v160l192-160v512z" />
|
12
12
|
<glyph unicode="" glyph-name="map-marker" d="M512 896c-173.828 0-314.416-140.59-314.416-314.416 0-235.814 314.416-581.584 314.416-581.584s314.416 345.77 314.416 581.584c0 173.826-140.588 314.416-314.416 314.416zM512 469.292c-61.986 0-112.292 50.306-112.292 112.292s50.306 112.292 112.292 112.292 112.292-50.306 112.292-112.292-50.308-112.292-112.292-112.292z" />
|
13
13
|
<glyph unicode="" glyph-name="slideshow" d="M64 617.91l-34-13.366c-11.238-4.506-19.029-15.308-19.029-27.93 0-3.953 0.764-7.727 2.153-11.184l-0.072 0.202 50.948-129.576v181.854zM931.498 576h-772.898c-16.9 0-30.6-13.7-30.6-30.6v0-578.8c0-16.9 13.7-30.6 30.6-30.6h772.896c16.9 0 30.6 13.7 30.6 30.6v0 578.8c0 16.899-13.699 30.599-30.598 30.6v0zM192 64l192 256 128-176 176 272 208-352h-704zM655.272 720l101.186-80h206.28l-101.8 258.926c-4.515 11.259-15.337 19.065-27.982 19.065-3.96 0-7.741-0.766-11.204-2.157l0.202 0.072-701.766-275.906h518.348z" />
|
14
|
-
<glyph unicode="" glyph-name="text" d="
|
15
|
-
<glyph unicode="" glyph-name="file" d="M896 576l-320 320h-
|
14
|
+
<glyph unicode="" glyph-name="text" d="M832 896h-640c-35.4 0-64-28.6-64-64v-768c0-35.4 28.6-64 64-64h640c35.4 0 64.001 28.6 64.001 64v768c0.199 35.4-28.601 64-64.001 64zM704 256h-384v64h384zM704 384h-384v64h384zM704 512h-384v64h384zM704 640h-384v64h384z" />
|
15
|
+
<glyph unicode="" glyph-name="file" d="M896 576l-320 320h-384c-34.706 0-64-29.294-64-64v-768c0-34.706 29.294-64 64-64h640c34.706 0 64 29.294 64 64zM832 576h-192c-35.346 0-64 28.654-64 64v192z" />
|
16
16
|
<glyph unicode="" glyph-name="calender" d="M256 512h256v-256h-256zM896 832h-64v64h-128v-64h-384v64h-128v-64h-64c-43.316 0-64-20.684-64-64v-704c0-43.316 20.684-64 64-64h768c43.316 0 64 20.684 64 64v704c0 43.316-20.684 64-64 64zM896 64h-768v576h768v-576z" />
|
17
17
|
<glyph unicode="" glyph-name="composite" d="M64 896h896v-192h-896zM128 640v-512c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v512h-768zM704 448h-384v128h384v-128z" />
|
18
|
-
<glyph unicode="" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-
|
18
|
+
<glyph unicode="" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-256zM710.152 478.396c0 94.98-54.734 176.544-134.152 216.252v-431.968c79.418 39.174 134.152 120.738 134.152 215.716zM576 949v-110.54c155.078-46.148 268.302-189.958 268.302-360.062s-113.224-313.916-268.302-360.064v-110.54c215.178 48.832 375.624 240.936 375.624 470.604s-160.446 421.77-375.624 470.602z" />
|
19
19
|
<glyph unicode="" glyph-name="stream" d="M832 768h-640c-35.346 0-64-28.654-64-64v-64c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v64c0 35.346-28.654 64-64 64zM256 640h-64v64h64v-64zM832 512h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 384h-64v64h64v-64zM832 256h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 128h-64v64h64v-64z" />
|
20
20
|
<glyph unicode="" glyph-name="ingest" d="M832 384v-256h-640v256h-128v-384h896v384zM770 512h-190v256h-132v-256h-192l256-256zM384 256h-128v-64h192zM768 192v64h-128l-64-64z" />
|
21
21
|
<glyph unicode="" glyph-name="archive" d="M960 768h-320v-320h128l-224-256-224 256h128v320h-320c-35.346 0-64-28.654-64-64v-192h64v-448c0-35.346 28.654-64 64-64h704c35.346 0 64 28.654 64 64v448h64v192c0 35.346-28.654 64-64 64z" />
|
@@ -47,7 +47,7 @@
|
|
47
47
|
<glyph unicode="" glyph-name="upload" d="M544 704l-416-384h256v-384h320v384h256l-416 384zM960 832v128h-832v-128h832z" />
|
48
48
|
<glyph unicode="" glyph-name="repeat" d="M511.408 119.25c-182.558 0-330.48 148.006-330.48 330.478s147.922 330.48 330.48 330.48c146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-242.226 197.136-439.28 439.376-439.28 242.238 0.002 439.592 195.26 439.592 437.486h-103c0-182.538-154.044-328.75-336.592-328.75z" />
|
49
49
|
<glyph unicode="" glyph-name="refresh" d="M180.95 448c-0.002 0.576-0.022 1.15-0.022 1.728 0 182.472 147.922 330.48 330.48 330.48 146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-0.6 0.020-1.196 0.022-1.796h108.896zM843.050 448c0.002-0.576 0.022-1.15 0.022-1.728 0-182.472-147.922-330.48-330.48-330.48-146.956 0-202.996 64.658-202.996 64.658l122.404 139.55h-304v-336l102.712 110.676c0 0 98.958-87.77 281.88-87.77 242.24 0 439.376 197.050 439.376 439.3 0 0.6-0.020 1.196-0.022 1.796h-108.896z" />
|
50
|
-
<glyph unicode="" glyph-name="list-alt" d="
|
50
|
+
<glyph unicode="" glyph-name="list-alt" d="M832 896h-640c-34.7 0-64-29.3-64-64v-768c0-32.7 29.3-64 64-64h640c34.7 0 64 29.3 64 64v768c0 34.7-29.3 64-64 64zM320 256h-64v64h64zM320 384h-64v64h64zM320 512h-64v64h64zM320 640h-64v64h64zM768 256h-384v64h384zM768 384h-384v64h384zM768 512h-384v64h384zM768 640h-384v64h384z" />
|
51
51
|
<glyph unicode="" glyph-name="plus-large" d="M896 512h-320v320h-128v-320h-320v-128h320v-320h128v320h320z" />
|
52
52
|
<glyph unicode="" glyph-name="picture" d="M960 128.284v639.432c0 35.503-28.781 64.284-64.284 64.284v0h-767.432c-35.503 0-64.284-28.781-64.284-64.284v0-639.432c0-35.503 28.781-64.284 64.284-64.284v0h767.432c35.503 0 64.284 28.781 64.284 64.284v0zM336 432l128-144.556 176 272.556 256-368h-752z" />
|
53
53
|
<glyph unicode="" glyph-name="question-sign" d="M512 895.998c-247.424 0-448-200.578-448-448s200.576-448 448-448 448 200.578 448 448-200.576 448-448 448zM576 128h-128v128h128v-128zM512 320c-54.666 0-64 0-64 0v112c0 0 178.666-35.334 178.666 101.334 0 54.666-27.334 109.334-109.334 109.334-109.332-0.002-109.332-109.334-109.332-109.334h-109.334c0 0 0 218.666 218.666 218.666 109.334 0 218.668-54.666 218.668-218.666 0-136.668-87.334-213.334-224-213.334z" />
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<glyph unicode="" glyph-name="plus-small" d="M768 512h-192v192h-128v-192h-192v-128h192v-192h128v192h192z" />
|
80
80
|
<glyph unicode="" glyph-name="minus-small" d="M256 512h512v-128h-512v128z" />
|
81
81
|
<glyph unicode="" glyph-name="close-small" d="M835.672 203.3l-244.004 243.878 241.518 241.594-77.296 77.098-243.812-243.824-243.75 243.694-77.17-77.36 242.092-242.032-243.75-243.67 79.72-79.588 241.966 242.086 243.238-243.176z" />
|
82
|
-
<glyph unicode="" glyph-name="post" d="M896 832h-768c-33 0-64-
|
82
|
+
<glyph unicode="" glyph-name="post" d="M896 832h-768c-33.3 0-64-28.7-64-64v-704l192 192h640c34.7 0 64 29.3 64 64v448c0 34.7-29.3 64-64 64zM640 384h-384v64h384zM768 512h-512v64h512zM768 640h-512v64h512z" />
|
83
83
|
<glyph unicode="" glyph-name="external" d="M832 128l-640.588-0.586 0.588 640.586h192v128h-192.588c-70.714 0-127.412-57.336-127.412-127.414v-640.586c0-70.078 56.698-128 127.412-128h641.174c70.078 0 127.414 57.336 127.414 127.414v192.586h-127.412l-0.588-192zM512 896v-128h224l-424-424 96-96 424 424v-224l128-0.126v448.126z" />
|
84
84
|
<glyph unicode="" glyph-name="chevron-up-thin" d="M857.518 349.148l-345.204 354.852-338.98-358.16 74.562-70.562 265.484 280.518 270.562-278.214z" />
|
85
85
|
<glyph unicode="" glyph-name="chevron-down-thin" d="M167.282 630.128l345.204-354.85 338.98 358.16-74.562 70.562-265.484-280.52-270.562 278.216z" />
|
@@ -186,4 +186,11 @@
|
|
186
186
|
<glyph unicode="" glyph-name="arrow_small" d="M320 320v-64h64l256 256v-192h128v384h-384v-128h192z" />
|
187
187
|
<glyph unicode="" glyph-name="clean_all" d="M769.032 480c-0.594 25.87-1.032 52.57-1.032 80 0 48-35.818 80-80 80h-112l16 176c0 44.182-35.818 80-80 80s-80-35.818-80-80l16-176h-112c-44.182 0-80-32-80-80 0-12.182-0.824-41.216-4.972-80h518.004zM247.082 448c-16.21-116.3-61.060-289.664-183.082-384 8.212 0 112.528 0 220.346 0 48.088 48.254 71.068 91.66 96 159.25 0.452 1.226 2.272 0.86 2.25-0.446-1.38-76.748-25.394-132.882-39.074-158.802 61.704 0 125.992 0 182.998 0 21.324 28.882 34.74 62.266 46.144 95.41 0.37 1.074 1.77 0.564 1.686-0.582-3.252-44.010-7.996-74.162-12.97-94.828 10.592 0 20.838 0 30.62 0 193.734 0 184.006 155.668 177.84 384h-522.758z" />
|
188
188
|
<glyph unicode="" glyph-name="broascast" d="M896 704h-293.786l210.586 210.586-44.8 45.414-256-256-256 256-45.414-45.414 211.2-210.586h-293.786c-70.4 0-128-56.986-128-128v-512c0-70.4 57.6-128 128-128h768c70.4 0 128 57.6 128 128v512c0 71.014-57.6 128-128 128zM128 64v512h768v-512zM704 320l-320-192v384z" />
|
189
|
+
<glyph unicode="" glyph-name="photo-cancel" d="M67.882 891.8l123.8-123.8h0.228l175.541-175.541-0.123-0.105 57.603-57.603c0.043 0.033 0.086 0.066 0.129 0.1l201.045-201.045-0.101-0.128 56.955-56.956c0.035 0.041 0.070 0.083 0.105 0.124l207.943-207.946-0.174-0.053 65.174-65.174-67.882-67.882-128.208 128.208h-595.918c-54.676 0-99.104 43.881-99.987 98.346l-0.013 1.654v504c0 25.557 9.588 48.875 25.363 66.554l-89.363 89.364zM608 896l112-128h140c54.676 0 99.104-43.881 99.987-98.346l0.013-1.654v-504c0-8.682-1.107-17.106-3.186-25.139l-227.618 227.619c4.434 17.573 6.79 35.97 6.79 54.914 0 123.642-100.346 223.988-223.986 223.988-18.944 0-37.342-2.356-54.916-6.79l-142.036 142.034 100.952 115.374zM288.014 421.394c0-123.64 100.346-223.986 223.986-223.986 33.528 0 65.344 7.379 93.91 20.601l-63.198 63.196c-9.696-2.072-19.753-3.163-30.063-3.163-79.118 0-143.352 64.234-143.352 143.352 0 10.31 1.091 20.368 3.163 30.063l-63.845 63.846c-13.221-28.566-20.6-60.381-20.6-93.91zM532.268 563.412c63.434-8.698 113.7-58.963 122.398-122.398z" />
|
190
|
+
<glyph unicode="" glyph-name="video-cancel" d="M67.882 891.8l123.796-123.796 0.23-0.002 764.1-764.328-67.882-67.882-192.21 192.21-567.916-0.002c-34.993 0-63.426 28.084-63.991 62.942l-0.009 1.058v512c0 15.615 5.592 29.924 14.884 41.034l-78.884 78.884zM327.672 768.002l376.328-0.002c34.993 0 63.426-28.084 63.991-62.942l0.009-1.058v-160l192 160v-512l-192 160v-24.324z" />
|
191
|
+
<glyph unicode="" glyph-name="text-cancel" d="M896 63.882l60.212-60.213-67.882-67.882-64.212 64.213h-632.118c-35.046 0-63.427 28.031-63.991 62.94l-0.009 1.060v632.118l-127.796 127.795 67.882 67.882 59.914-59.914v0.234l768-767.998zM832 896c35.046 0 63.623-28.031 63.998-62.94l0.003-1.060-0.001-632.118-192 192v56.118h-56.118l-64 64h120.118v64h-184.118l-64 64h248.118v64h-312.118l-192 192zM504.116 320.002l-184.116-0.002v-64h248.118zM376.118 448h-56.118v-64h120.118z" />
|
192
|
+
<glyph unicode="" glyph-name="file-cancel" d="M67.882 891.8l60.116-60.114 0.002 0.226 828.009-828.238-67.882-67.882-64.208 64.208h-631.918c-34.359 0-63.414 28.711-63.991 62.96l-0.009 1.040-0.002 631.92-127.998 127.998zM576 896l320-320v-376.324l-696.322 696.324zM576 832v-192c0-34.993 28.084-63.426 62.942-63.991l1.058-0.009h192z" />
|
193
|
+
<glyph unicode="" glyph-name="audio-cancel" d="M67.882 891.8l195.052-195.052 0.128 0.102 477.43-477.66c0.037 0.039 0.074 0.077 0.111 0.116l75.807-75.805-0.114-0.115 139.712-139.712-67.882-67.882-145.282 145.284c-48.898-33.743-104.339-58.713-164.049-72.639l-2.796-0.643v110.54c31.797 9.462 61.834 23.030 89.496 40.088l-153.496 153.496v-247.918l-320 256h-192v320h183.918l-183.918 183.918zM576 949c215.178-48.832 375.624-240.934 375.624-470.602 0-95.32-27.637-184.169-75.354-258.991l-78.258 78.258c29.502 53.629 46.29 115.232 46.29 180.733 0 168.403-110.971 311.035-263.662 358.648l-4.64 1.414zM576 694.648c79.418-39.708 134.152-121.272 134.152-216.252 0-27.892-4.72-54.628-13.4-79.473l-120.752 120.751zM512 896v-312.326l-173.516 173.514z" />
|
194
|
+
<glyph unicode="" glyph-name="list-alt-cancel" d="M67.882 891.8l60.116-60.116 0.002 0.228 128-128-0.002-0.228 63.684-63.684h0.23l64.088-64.088-0.002-0.228 63.684-63.684h0.23l64-64h-0.23l64-64h0.23l64-64h-0.23l64-64h0.23l192.088-192.088-0.004-0.226 60.012-60.012-67.882-67.882-64.208 64.208h-631.918c-34.353 0-63.413 30.677-63.991 63.019l-0.009 0.981-0.002 631.92-127.998 127.998zM832 896c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-632.324l-184.324 184.324h56.324v64h-120.324l-63.998 64h184.322v64h-248.322l-64 64h312.322v64h-376.322l-192 192zM567.918 256l-64 64h-119.918v-64zM320 320h-64v-64h64zM439.918 384l-55.92 55.92 0.002-55.92zM320 448h-64v-64h64zM255.998 567.92l0.002-55.92h55.918z" />
|
195
|
+
<glyph unicode="" glyph-name="post-cancel" d="M67.882 891.8l59.8-59.8 0.228 0.002 128.090-128.092v-0.228l63.68-63.68h0.228l64-64h-0.228l64-64h0.228l64-64h-0.228l64-64h0.23l128-128h-0.23l252.328-252.328-67.882-67.882-320.21 320.21-311.916-0.002-192-192v695.918l-64 64zM896 832c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-448c0-34.353-28.717-63.413-62.961-63.991l-1.039-0.009-56.326 0.002-256.002 256 184.328-0.002v64l-248.328 0.002-64 64 312.328-0.002v64l-376.328 0.002-128 128zM439.916 384.002l-64 64-119.916-0.002v-64zM311.916 512.002l-55.916 55.916v-55.918z" />
|
189
196
|
</font></defs></svg>
|
package/dist/sd_icons.ttf
CHANGED
Binary file
|
package/dist/sd_icons.woff
CHANGED
Binary file
|