superdesk-ui-framework 3.0.1-beta.17 → 3.0.1-beta.18

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.
Files changed (61) hide show
  1. package/.vscode/settings.json +5 -0
  2. package/app/styles/_content-divider.scss +58 -3
  3. package/app-typescript/components/ContentDivider.tsx +3 -0
  4. package/app-typescript/dist/components/Alert.d.ts +16 -0
  5. package/app-typescript/dist/components/Autocomplete.d.ts +48 -0
  6. package/app-typescript/dist/components/Avatar.d.ts +33 -0
  7. package/app-typescript/dist/components/Badge.d.ts +13 -0
  8. package/app-typescript/dist/components/Button.d.ts +23 -0
  9. package/app-typescript/dist/components/ButtonGroup.d.ts +12 -0
  10. package/app-typescript/dist/components/CheckButtonGroup.d.ts +11 -0
  11. package/app-typescript/dist/components/CheckGroup.d.ts +9 -0
  12. package/app-typescript/dist/components/Checkbox.d.ts +19 -0
  13. package/app-typescript/dist/components/CheckboxButton.d.ts +19 -0
  14. package/app-typescript/dist/components/DatePicker.d.ts +37 -0
  15. package/app-typescript/dist/components/Divider.d.ts +9 -0
  16. package/app-typescript/dist/components/DonutChart.d.ts +12 -0
  17. package/app-typescript/dist/components/Dropdown.d.ts +28 -0
  18. package/app-typescript/dist/components/DropdownFirst.d.ts +42 -0
  19. package/app-typescript/dist/components/EmptyState.d.ts +11 -0
  20. package/app-typescript/dist/components/FormLabel.d.ts +9 -0
  21. package/app-typescript/dist/components/Genie.d.ts +13 -0
  22. package/app-typescript/dist/components/GridItem.d.ts +69 -0
  23. package/app-typescript/dist/components/GridList.d.ts +14 -0
  24. package/app-typescript/dist/components/HeadingText.d.ts +10 -0
  25. package/app-typescript/dist/components/HelloWorld.d.ts +8 -0
  26. package/app-typescript/dist/components/Icon.d.ts +12 -0
  27. package/app-typescript/dist/components/IconButton.d.ts +12 -0
  28. package/app-typescript/dist/components/IconLabel.d.ts +11 -0
  29. package/app-typescript/dist/components/Input.d.ts +24 -0
  30. package/app-typescript/dist/components/Label.d.ts +15 -0
  31. package/app-typescript/dist/components/LeftMenu.d.ts +26 -0
  32. package/app-typescript/dist/components/Loader.d.ts +8 -0
  33. package/app-typescript/dist/components/NavButton.d.ts +15 -0
  34. package/app-typescript/dist/components/Popover.d.ts +13 -0
  35. package/app-typescript/dist/components/PropsList.d.ts +15 -0
  36. package/app-typescript/dist/components/Radio.d.ts +19 -0
  37. package/app-typescript/dist/components/RadioButton.d.ts +20 -0
  38. package/app-typescript/dist/components/Select.d.ts +29 -0
  39. package/app-typescript/dist/components/SelectWithTemplate.d.ts +32 -0
  40. package/app-typescript/dist/components/SlidingToolbar.d.ts +8 -0
  41. package/app-typescript/dist/components/StrechBar.d.ts +4 -0
  42. package/app-typescript/dist/components/SubNav.d.ts +10 -0
  43. package/app-typescript/dist/components/Switch.d.ts +12 -0
  44. package/app-typescript/dist/components/TabCustom.d.ts +25 -0
  45. package/app-typescript/dist/components/TabList.d.ts +22 -0
  46. package/app-typescript/dist/components/Tag.d.ts +9 -0
  47. package/app-typescript/dist/components/TagInput.d.ts +7 -0
  48. package/app-typescript/dist/components/TagInputTest.d.ts +18 -0
  49. package/app-typescript/dist/components/TimePicker.d.ts +11 -0
  50. package/app-typescript/dist/components/Tooltip.d.ts +11 -0
  51. package/app-typescript/dist/components/_Positioner.d.ts +27 -0
  52. package/app-typescript/dist/index.d.ts +56 -0
  53. package/dist/examples.bundle.js +16 -12
  54. package/dist/react/ContentDivider.tsx +18 -14
  55. package/dist/superdesk-ui.bundle.css +41 -3
  56. package/dist/superdesk-ui.bundle.js +2 -0
  57. package/examples/pages/react/ContentDivider.tsx +18 -14
  58. package/package.json +1 -1
  59. package/react/components/ContentDivider.d.ts +1 -0
  60. package/react/components/ContentDivider.js +2 -0
  61. package/yarn-error.log +111 -0
@@ -32,11 +32,12 @@ export default class ContentDividerDoc extends React.Component {
32
32
  consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.
33
33
  Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur
34
34
  purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue.</p>
35
- <ContentDivider type="dotted" />
35
+ <ContentDivider type="dotted" margin='x-small' />
36
36
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus, tellus
37
37
  ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet
38
38
  risus. Donec id elit non mi porta gravida at eget metus. Cras justo odio, dapibus ac
39
39
  facilisis in, egestas eget quam.</p>
40
+ <ContentDivider type="dotted" margin='x-small' />
40
41
  </div>
41
42
  </Markup.ReactMarkupPreview>
42
43
  <Markup.ReactMarkupCode>{`
@@ -50,9 +51,11 @@ export default class ContentDividerDoc extends React.Component {
50
51
 
51
52
  <p>Donec ullamcorper nulla non metus auctor fringilla...</p>
52
53
 
53
- <ContentDivider type="dotted" />
54
+ <ContentDivider type="dotted" margin='x-small' />
54
55
 
55
56
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
57
+
58
+ <ContentDivider type="dotted" margin='x-small' />
56
59
  `}
57
60
  </Markup.ReactMarkupCode>
58
61
  </Markup.ReactMarkup>
@@ -69,15 +72,15 @@ export default class ContentDividerDoc extends React.Component {
69
72
  Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus
70
73
  auctor fringilla. Aenean eu leo quam. Pellentesque ornare sem lacinia
71
74
  quam venenatis vestibulum.</p>
72
- <ContentDivider align="left">
73
- Left aligned
75
+ <ContentDivider margin='small' align="left">
76
+ Left aligned, small margin
74
77
  </ContentDivider>
75
78
  <p>Maecenas sed diam eget risus varius blandit sit amet non magna.
76
79
  Donec id elit non mi porta gravida at eget metus. Cras mattis consectetur
77
80
  purus sit amet fermentum. Etiam porta sem malesuada magna mollis euismod.
78
81
  Cras mattis consectetur purus sit amet fermentum.</p>
79
82
  <ContentDivider align="right" type="dotted">
80
- Right aligned
83
+ Right aligned, dotted
81
84
  </ContentDivider>
82
85
  <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
83
86
  Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna,
@@ -93,14 +96,14 @@ export default class ContentDividerDoc extends React.Component {
93
96
 
94
97
  <p>Maecenas sed diam eget...</p>
95
98
 
96
- <ContentDivider align="left">
97
- Left aligned
99
+ <ContentDivider margin='small' align="left">
100
+ Left aligned, small margin
98
101
  </ContentDivider>
99
102
 
100
103
  <p>Maecenas sed diam eget risus...</p>
101
104
 
102
105
  <ContentDivider align="right" type="dotted">
103
- Right aligned
106
+ Right aligned, dotted
104
107
  </ContentDivider>
105
108
 
106
109
  <p>Praesent commodo cursus magna...</p>
@@ -115,9 +118,9 @@ export default class ContentDividerDoc extends React.Component {
115
118
  <p className="docs-page__paragraph">// Basic</p>
116
119
  <div className='docs-page__content-row'>
117
120
  <span>Option one</span>
118
- <ContentDivider orientation="vertical" type="dotted" />
121
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
119
122
  <span>Option two</span>
120
- <ContentDivider orientation="vertical" type="dotted" />
123
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
121
124
  <span>Option three</span>
122
125
  </div>
123
126
  <p className="docs-page__paragraph ">// With text</p>
@@ -129,7 +132,7 @@ export default class ContentDividerDoc extends React.Component {
129
132
  sit amet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Aenean lacinia bibendum nulla
130
133
  sed consectetur. Vivamus sagittis lacus vel augue.
131
134
  </div>
132
- <ContentDivider orientation="vertical">
135
+ <ContentDivider orientation="vertical" margin='large'>
133
136
  or
134
137
  </ContentDivider>
135
138
  <div style={{width:'100%'}}>
@@ -143,9 +146,9 @@ export default class ContentDividerDoc extends React.Component {
143
146
  // Basic
144
147
 
145
148
  <span>Option one</span>
146
- <ContentDivider orientation="vertical" type="dotted" />
149
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
147
150
  <span>Option two</span>
148
- <ContentDivider orientation="vertical" type="dotted" />
151
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
149
152
  <span>Option three</span>
150
153
 
151
154
  // With text
@@ -154,7 +157,7 @@ export default class ContentDividerDoc extends React.Component {
154
157
  Cras justo odio, dapibus ac facilisis in, egestas eget quam...
155
158
  </div>
156
159
 
157
- <ContentDivider orientation="vertical">
160
+ <ContentDivider orientation="vertical" margin='large'>
158
161
  or
159
162
  </ContentDivider>
160
163
 
@@ -171,6 +174,7 @@ export default class ContentDividerDoc extends React.Component {
171
174
  <Prop name='orientation' isRequired={false} type='horizontal | vertical' default='horizontal' description='Defines if the divider is horizontal or vertical. Default is horizontal.'/>
172
175
  <Prop name='align' isRequired={false} type='center | left | right' default='right' description='Text alignment inside the divider. Should not be used without any text inside the divider. The vertical divider has no alignment options.'/>
173
176
  <Prop name='border' isRequired={false} type='boolean' default='true' description='Removes the border if set to true. Should be generally avoided especially if there is textual content. It can be used to add space between elements if there is no other option.'/>
177
+ <Prop name='margin' isRequired={false} type='x-small | small | medium | large | none' default='medium' description='Vertical or horizontal margins (depending on the orientation) of the ContentDivider. Default to medium if not set.'/>
174
178
  </PropsList>
175
179
  </section>
176
180
  )
@@ -35139,6 +35139,9 @@ input.sd-inset-search__input {
35139
35139
  padding: 0;
35140
35140
  color: var(--color-text);
35141
35141
  list-style: none;
35142
+ border-bottom: 0;
35143
+ border-left: 0;
35144
+ border-right: 0;
35142
35145
  border-top: 1px var(--sd-colour-line--medium);
35143
35146
  border-style: solid; }
35144
35147
  .sd-content-divider.sd-content-divider--with-text {
@@ -35149,14 +35152,26 @@ input.sd-inset-search__input {
35149
35152
  white-space: nowrap;
35150
35153
  text-align: center;
35151
35154
  border-top: 0;
35155
+ border-bottom: 0;
35156
+ border-left: 0;
35157
+ border-right: 0;
35152
35158
  border-top-color: var(--sd-colour-line--medium);
35153
35159
  border-style: solid; }
35154
35160
  .sd-content-divider.sd-content-divider--horizontal {
35155
35161
  display: flex;
35156
35162
  clear: both;
35157
35163
  width: 100%;
35158
- min-width: 100%;
35159
- margin: 2.4rem 0; }
35164
+ min-width: 100%; }
35165
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--margin-x-small {
35166
+ margin: 0.8rem 0; }
35167
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--margin-small {
35168
+ margin: 1.6rem 0; }
35169
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--margin-medium {
35170
+ margin: 2.4rem 0; }
35171
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--margin-large {
35172
+ margin: 3.2rem 0; }
35173
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--margin-none {
35174
+ margin: 0 0; }
35160
35175
  .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text {
35161
35176
  margin: 1.6rem 0; }
35162
35177
  .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text::before, .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text::after {
@@ -35168,6 +35183,8 @@ input.sd-inset-search__input {
35168
35183
  border-top-color: transparent;
35169
35184
  border-top-color: inherit;
35170
35185
  border-bottom: 0;
35186
+ border-left: 0;
35187
+ border-right: 0;
35171
35188
  transform: translateY(50%);
35172
35189
  border-style: inherit; }
35173
35190
  .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--text-left::before {
@@ -35178,10 +35195,19 @@ input.sd-inset-search__input {
35178
35195
  width: 95%; }
35179
35196
  .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--text-right::after {
35180
35197
  width: 5%; }
35198
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--margin-x-small {
35199
+ margin: 0.8rem 0; }
35200
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--margin-small {
35201
+ margin: 1.6rem 0; }
35202
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--margin-medium {
35203
+ margin: 2.4rem 0; }
35204
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--margin-large {
35205
+ margin: 3.2rem 0; }
35206
+ .sd-content-divider.sd-content-divider--horizontal.sd-content-divider--with-text.sd-content-divider--margin-none {
35207
+ margin: 0.4rem 0; }
35181
35208
  .sd-content-divider.sd-content-divider--vertical {
35182
35209
  position: relative;
35183
35210
  display: inline-block;
35184
- margin: 0.4rem 1.2rem;
35185
35211
  vertical-align: middle;
35186
35212
  border-top: 0;
35187
35213
  border-left: 1px var(--sd-colour-line--medium);
@@ -35204,7 +35230,9 @@ input.sd-inset-search__input {
35204
35230
  position: relative;
35205
35231
  height: 50%;
35206
35232
  border-left: 1px var(--sd-colour-line--medium);
35233
+ border-right: 0;
35207
35234
  border-bottom: 0;
35235
+ border-top: 0;
35208
35236
  width: 1px;
35209
35237
  border-style: solid; }
35210
35238
  .sd-content-divider.sd-content-divider--vertical.sd-content-divider--with-text.sd-content-divider--dashed::before, .sd-content-divider.sd-content-divider--vertical.sd-content-divider--with-text.sd-content-divider--dashed::after {
@@ -35212,6 +35240,16 @@ input.sd-inset-search__input {
35212
35240
  .sd-content-divider.sd-content-divider--vertical.sd-content-divider--with-text.sd-content-divider--dotted::before, .sd-content-divider.sd-content-divider--vertical.sd-content-divider--with-text.sd-content-divider--dotted::after {
35213
35241
  border-style: dotted;
35214
35242
  border-color: var(--sd-colour-line--strong); }
35243
+ .sd-content-divider.sd-content-divider--vertical.sd-content-divider--margin-x-small {
35244
+ margin: 0 0.8rem; }
35245
+ .sd-content-divider.sd-content-divider--vertical.sd-content-divider--margin-small {
35246
+ margin: 0 1.6rem; }
35247
+ .sd-content-divider.sd-content-divider--vertical.sd-content-divider--margin-medium {
35248
+ margin: 0 2.4rem; }
35249
+ .sd-content-divider.sd-content-divider--vertical.sd-content-divider--margin-large {
35250
+ margin: 0 3.2rem; }
35251
+ .sd-content-divider.sd-content-divider--vertical.sd-content-divider--margin-none {
35252
+ margin: 0 0; }
35215
35253
  .sd-content-divider.sd-content-divider--dashed {
35216
35254
  border-style: dashed; }
35217
35255
  .sd-content-divider.sd-content-divider--dotted {
@@ -76369,6 +76369,8 @@ var ContentDivider = /** @class */ (function (_super) {
76369
76369
  _a["sd-content-divider--".concat(this.props.type)] = this.props.type || this.props.type !== undefined,
76370
76370
  _a["sd-content-divider--text-".concat(this.props.align)] = this.props.align || this.props.align !== undefined,
76371
76371
  _a["sd-content-divider--".concat(this.props.orientation)] = this.props.orientation || this.props.orientation !== undefined,
76372
+ _a['sd-content-divider--margin-medium'] = this.props.margin === undefined,
76373
+ _a["sd-content-divider--margin-".concat(this.props.margin)] = this.props.margin || this.props.margin !== undefined,
76372
76374
  _a));
76373
76375
  if (this.props.children) {
76374
76376
  return (React.createElement("div", { className: "sd-content-divider--with-text " + classes, role: "separator" },
@@ -32,11 +32,12 @@ export default class ContentDividerDoc extends React.Component {
32
32
  consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.
33
33
  Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur
34
34
  purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue.</p>
35
- <ContentDivider type="dotted" />
35
+ <ContentDivider type="dotted" margin='x-small' />
36
36
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus, tellus
37
37
  ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet
38
38
  risus. Donec id elit non mi porta gravida at eget metus. Cras justo odio, dapibus ac
39
39
  facilisis in, egestas eget quam.</p>
40
+ <ContentDivider type="dotted" margin='x-small' />
40
41
  </div>
41
42
  </Markup.ReactMarkupPreview>
42
43
  <Markup.ReactMarkupCode>{`
@@ -50,9 +51,11 @@ export default class ContentDividerDoc extends React.Component {
50
51
 
51
52
  <p>Donec ullamcorper nulla non metus auctor fringilla...</p>
52
53
 
53
- <ContentDivider type="dotted" />
54
+ <ContentDivider type="dotted" margin='x-small' />
54
55
 
55
56
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
57
+
58
+ <ContentDivider type="dotted" margin='x-small' />
56
59
  `}
57
60
  </Markup.ReactMarkupCode>
58
61
  </Markup.ReactMarkup>
@@ -69,15 +72,15 @@ export default class ContentDividerDoc extends React.Component {
69
72
  Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus
70
73
  auctor fringilla. Aenean eu leo quam. Pellentesque ornare sem lacinia
71
74
  quam venenatis vestibulum.</p>
72
- <ContentDivider align="left">
73
- Left aligned
75
+ <ContentDivider margin='small' align="left">
76
+ Left aligned, small margin
74
77
  </ContentDivider>
75
78
  <p>Maecenas sed diam eget risus varius blandit sit amet non magna.
76
79
  Donec id elit non mi porta gravida at eget metus. Cras mattis consectetur
77
80
  purus sit amet fermentum. Etiam porta sem malesuada magna mollis euismod.
78
81
  Cras mattis consectetur purus sit amet fermentum.</p>
79
82
  <ContentDivider align="right" type="dotted">
80
- Right aligned
83
+ Right aligned, dotted
81
84
  </ContentDivider>
82
85
  <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
83
86
  Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna,
@@ -93,14 +96,14 @@ export default class ContentDividerDoc extends React.Component {
93
96
 
94
97
  <p>Maecenas sed diam eget...</p>
95
98
 
96
- <ContentDivider align="left">
97
- Left aligned
99
+ <ContentDivider margin='small' align="left">
100
+ Left aligned, small margin
98
101
  </ContentDivider>
99
102
 
100
103
  <p>Maecenas sed diam eget risus...</p>
101
104
 
102
105
  <ContentDivider align="right" type="dotted">
103
- Right aligned
106
+ Right aligned, dotted
104
107
  </ContentDivider>
105
108
 
106
109
  <p>Praesent commodo cursus magna...</p>
@@ -115,9 +118,9 @@ export default class ContentDividerDoc extends React.Component {
115
118
  <p className="docs-page__paragraph">// Basic</p>
116
119
  <div className='docs-page__content-row'>
117
120
  <span>Option one</span>
118
- <ContentDivider orientation="vertical" type="dotted" />
121
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
119
122
  <span>Option two</span>
120
- <ContentDivider orientation="vertical" type="dotted" />
123
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
121
124
  <span>Option three</span>
122
125
  </div>
123
126
  <p className="docs-page__paragraph ">// With text</p>
@@ -129,7 +132,7 @@ export default class ContentDividerDoc extends React.Component {
129
132
  sit amet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Aenean lacinia bibendum nulla
130
133
  sed consectetur. Vivamus sagittis lacus vel augue.
131
134
  </div>
132
- <ContentDivider orientation="vertical">
135
+ <ContentDivider orientation="vertical" margin='large'>
133
136
  or
134
137
  </ContentDivider>
135
138
  <div style={{width:'100%'}}>
@@ -143,9 +146,9 @@ export default class ContentDividerDoc extends React.Component {
143
146
  // Basic
144
147
 
145
148
  <span>Option one</span>
146
- <ContentDivider orientation="vertical" type="dotted" />
149
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
147
150
  <span>Option two</span>
148
- <ContentDivider orientation="vertical" type="dotted" />
151
+ <ContentDivider margin='small' orientation="vertical" type="dotted" />
149
152
  <span>Option three</span>
150
153
 
151
154
  // With text
@@ -154,7 +157,7 @@ export default class ContentDividerDoc extends React.Component {
154
157
  Cras justo odio, dapibus ac facilisis in, egestas eget quam...
155
158
  </div>
156
159
 
157
- <ContentDivider orientation="vertical">
160
+ <ContentDivider orientation="vertical" margin='large'>
158
161
  or
159
162
  </ContentDivider>
160
163
 
@@ -171,6 +174,7 @@ export default class ContentDividerDoc extends React.Component {
171
174
  <Prop name='orientation' isRequired={false} type='horizontal | vertical' default='horizontal' description='Defines if the divider is horizontal or vertical. Default is horizontal.'/>
172
175
  <Prop name='align' isRequired={false} type='center | left | right' default='right' description='Text alignment inside the divider. Should not be used without any text inside the divider. The vertical divider has no alignment options.'/>
173
176
  <Prop name='border' isRequired={false} type='boolean' default='true' description='Removes the border if set to true. Should be generally avoided especially if there is textual content. It can be used to add space between elements if there is no other option.'/>
177
+ <Prop name='margin' isRequired={false} type='x-small | small | medium | large | none' default='medium' description='Vertical or horizontal margins (depending on the orientation) of the ContentDivider. Default to medium if not set.'/>
174
178
  </PropsList>
175
179
  </section>
176
180
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superdesk-ui-framework",
3
- "version": "3.0.1-beta.17",
3
+ "version": "3.0.1-beta.18",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4,6 +4,7 @@ interface IProps {
4
4
  orientation?: 'horizontal' | 'vertical';
5
5
  align?: 'center' | 'left' | 'right';
6
6
  border?: boolean;
7
+ margin?: 'x-small' | 'small' | 'medium' | 'large' | 'none';
7
8
  children?: React.ReactNode;
8
9
  }
9
10
  export declare class ContentDivider extends React.PureComponent<IProps> {
@@ -54,6 +54,8 @@ var ContentDivider = /** @class */ (function (_super) {
54
54
  _a["sd-content-divider--".concat(this.props.type)] = this.props.type || this.props.type !== undefined,
55
55
  _a["sd-content-divider--text-".concat(this.props.align)] = this.props.align || this.props.align !== undefined,
56
56
  _a["sd-content-divider--".concat(this.props.orientation)] = this.props.orientation || this.props.orientation !== undefined,
57
+ _a['sd-content-divider--margin-medium'] = this.props.margin === undefined,
58
+ _a["sd-content-divider--margin-".concat(this.props.margin)] = this.props.margin || this.props.margin !== undefined,
57
59
  _a));
58
60
  if (this.props.children) {
59
61
  return (React.createElement("div", { className: "sd-content-divider--with-text " + classes, role: "separator" },
package/yarn-error.log ADDED
@@ -0,0 +1,111 @@
1
+ Arguments:
2
+ /usr/local/bin/node /usr/local/bin/yarn install
3
+
4
+ PATH:
5
+ /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
6
+
7
+ Yarn version:
8
+ 1.21.1
9
+
10
+ Node version:
11
+ 12.14.1
12
+
13
+ Platform:
14
+ linux x64
15
+
16
+ Trace:
17
+ Error: getaddrinfo EAI_AGAIN registry.yarnpkg.com
18
+ at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)
19
+
20
+ npm manifest:
21
+ {
22
+ "name": "superdesk-ui-framework",
23
+ "version": "2.1.11",
24
+ "license": "AGPL-3.0",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/superdesk/superdesk-ui-framework.git"
28
+ },
29
+ "main": "dist/superdesk-ui.bundle.js",
30
+ "types": "app-typescript/dist/index.d.ts",
31
+ "contributors": [
32
+ "Nemanja Pavlovic",
33
+ "Vladimir Stefanovic",
34
+ "Darko Tomic",
35
+ "Aleksandar Jelicic",
36
+ "Tomas Kikutis"
37
+ ],
38
+ "scripts": {
39
+ "start": "webpack-dev-server --config tasks/webpack.dev.js",
40
+ "server": "webpack --watch",
41
+ "build": "webpack && npm run lint && tsc",
42
+ "lint": "eslint app && tslint -c tslint.json 'app-typescript/**/*.{ts,tsx}'",
43
+ "prepublishOnly": "npm run build",
44
+ "prepublish": "patch-package"
45
+ },
46
+ "devDependencies": {
47
+ "@types/classnames": "^2.2.9",
48
+ "@types/lodash": "4.14.149",
49
+ "@types/react": "16.8.23",
50
+ "@types/react-dom": "16.8.0",
51
+ "@types/react-router-dom": "^5.1.2",
52
+ "angular": "^1.7.9",
53
+ "angular-animate": "^1.7.9",
54
+ "angular-route": "^1.7.9",
55
+ "babel-core": "^6.26.0",
56
+ "babel-loader": "^7.1.2",
57
+ "babel-plugin-transform-object-rest-spread": "^6.26.0",
58
+ "babel-preset-es2015": "^6.24.1",
59
+ "babel-preset-react": "^6.24.1",
60
+ "classnames": "^2.2.5",
61
+ "clean-webpack-plugin": "^1.0.0",
62
+ "code-prettify": "^0.1.0",
63
+ "copy-webpack-plugin": "^4.6.0",
64
+ "css-loader": "^2.1.1",
65
+ "eslint": "^4.6.1",
66
+ "eslint-loader": "^1.9.0",
67
+ "eslint-plugin-angular": "^3.1.1",
68
+ "eslint-plugin-react": "^7.3.0",
69
+ "extract-text-webpack-plugin": "^3.0.2",
70
+ "file-loader": "^0.11.2",
71
+ "html-loader": "^0.5.1",
72
+ "html-webpack-plugin": "^2.30.1",
73
+ "jquery": "^3.1.1",
74
+ "jquery-ui": "^1.12.1",
75
+ "lodash": "4.17.15",
76
+ "node-sass": "^4.5.3",
77
+ "patch-package": "6.2.0",
78
+ "prismjs": "^1.17.1",
79
+ "prop-types": "^15.6.0",
80
+ "react": "16.8.6",
81
+ "react-bootstrap": "^0.31.2",
82
+ "react-dom": "16.8.6",
83
+ "react-redux": "^5.0.6",
84
+ "react-router-dom": "^5.1.2",
85
+ "redux": "^3.7.2",
86
+ "redux-form": "^7.0.4",
87
+ "sass-loader": "^6.0.6",
88
+ "style-loader": "^0.18.2",
89
+ "superdesk-code-style": "^1.1.2",
90
+ "ts-loader": "^6.0.2",
91
+ "tslint": "^5.18.0",
92
+ "typescript": "^3.5.1",
93
+ "url-loader": "^1.1.2",
94
+ "webpack": "^3.5.5",
95
+ "webpack-cli": "3.3.10",
96
+ "webpack-dev-server": "2.11.1",
97
+ "webpack-merge": "^4.2.1"
98
+ },
99
+ "dependencies": {
100
+ "date-fns": "2.7.0",
101
+ "popper.js": "1.14.4",
102
+ "primeicons": "2.0.0",
103
+ "primereact": "3.3.2"
104
+ }
105
+ }
106
+
107
+ yarn manifest:
108
+ No manifest
109
+
110
+ Lockfile:
111
+ No lockfile