superdesk-ui-framework 3.0.62 → 3.0.63

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 (88) hide show
  1. package/app/styles/_accessibility.scss +1 -1
  2. package/app/styles/_alerts.scss +6 -6
  3. package/app/styles/_avatar.scss +4 -4
  4. package/app/styles/_badge.scss +4 -4
  5. package/app/styles/_big-icon-font.scss +1 -1
  6. package/app/styles/_boxed-list.scss +8 -8
  7. package/app/styles/_buttons.scss +17 -17
  8. package/app/styles/_carousel.scss +20 -20
  9. package/app/styles/_content-divider.scss +20 -20
  10. package/app/styles/_empty-states.scss +8 -8
  11. package/app/styles/_hamburger.scss +8 -8
  12. package/app/styles/_helpers.scss +509 -122
  13. package/app/styles/_loaders.scss +8 -8
  14. package/app/styles/_master-desk.scss +14 -14
  15. package/app/styles/_mixins.scss +4 -4
  16. package/app/styles/_modals.scss +18 -18
  17. package/app/styles/_normalize.scss +3 -3
  18. package/app/styles/_popover.scss +2 -2
  19. package/app/styles/_publisher-styles.scss +13 -13
  20. package/app/styles/_sd-tag-input.scss +18 -18
  21. package/app/styles/_simple-list.scss +6 -6
  22. package/app/styles/_table-list.scss +2 -2
  23. package/app/styles/_tables.scss +10 -10
  24. package/app/styles/_tabs-vertical.scss +3 -3
  25. package/app/styles/_tabs.scss +4 -4
  26. package/app/styles/_tag-labels.scss +4 -4
  27. package/app/styles/_thumb-carousel.scss +14 -14
  28. package/app/styles/_toggle-box.scss +8 -8
  29. package/app/styles/_toggle-button.scss +1 -1
  30. package/app/styles/_tooltips.scss +37 -37
  31. package/app/styles/components/_card-item.scss +25 -25
  32. package/app/styles/components/_list-item.scss +32 -32
  33. package/app/styles/components/_sd-circular-progress.scss +6 -6
  34. package/app/styles/components/_sd-collapse-box.scss +16 -16
  35. package/app/styles/components/_sd-comment-box.scss +4 -4
  36. package/app/styles/components/_sd-dropzone.scss +1 -1
  37. package/app/styles/components/_sd-editor-popup.scss +7 -7
  38. package/app/styles/components/_sd-grid-item.scss +22 -22
  39. package/app/styles/components/_sd-loader.scss +4 -4
  40. package/app/styles/components/_sd-media-carousel.scss +7 -7
  41. package/app/styles/components/_sd-notification-panel.scss +1 -1
  42. package/app/styles/components/_sd-photo-preview.scss +34 -34
  43. package/app/styles/components/_sd-searchbar.scss +8 -8
  44. package/app/styles/components/_sd-toaster.scss +20 -20
  45. package/app/styles/components/_subnav.scss +38 -38
  46. package/app/styles/components/sd-slider.scss +11 -11
  47. package/app/styles/design-tokens/_design-tokens-general.scss +12 -0
  48. package/app/styles/dropdowns/_basic-dropdown.scss +30 -30
  49. package/app/styles/dropdowns/_input-dropdown.scss +4 -4
  50. package/app/styles/dropdowns/_navigation_dropdown.scss +8 -8
  51. package/app/styles/dropdowns/_other_dropdown.scss +5 -5
  52. package/app/styles/editor/_editor-buttons.scss +2 -2
  53. package/app/styles/editor/_editor-themes.scss +6 -6
  54. package/app/styles/form-elements/_autocomplete.scss +4 -4
  55. package/app/styles/form-elements/_checkbox.scss +5 -5
  56. package/app/styles/form-elements/_forms-general.scss +44 -44
  57. package/app/styles/form-elements/_input-preview.scss +1 -1
  58. package/app/styles/form-elements/_input-wrap.scss +3 -3
  59. package/app/styles/form-elements/_inputs.scss +33 -33
  60. package/app/styles/form-elements/_radio.scss +3 -3
  61. package/app/styles/form-elements/_select-grid.scss +3 -3
  62. package/app/styles/form-elements/_switch.scss +3 -3
  63. package/app/styles/grids/_basic-grid.scss +2 -2
  64. package/app/styles/grids/_grid-layout.scss +42 -42
  65. package/app/styles/grids/_layout-grid.scss +11 -11
  66. package/app/styles/grids/_sd-kanban-list.scss +7 -7
  67. package/app/styles/interface-elements/_side-panel.scss +38 -38
  68. package/app/styles/layout/_basic-layout.scss +20 -20
  69. package/app/styles/layout/_editor.scss +7 -7
  70. package/app/styles/layout/_general.scss +16 -16
  71. package/app/styles/menus/_sd-bottom-tabs.scss +1 -1
  72. package/app/styles/menus/_sd-left-navigation.scss +8 -8
  73. package/app/styles/menus/_sd-sidebar-menu.scss +33 -33
  74. package/app/styles/menus/_sd-top-menu.scss +7 -7
  75. package/app/styles/primereact/_pr-autocomplete.scss +1 -1
  76. package/app/styles/primereact/_pr-datepicker.scss +11 -11
  77. package/app/styles/primereact/_pr-dialog.scss +7 -7
  78. package/app/styles/primereact/_pr-dropdown.scss +1 -1
  79. package/app/styles/primereact/_pr-general.scss +1 -1
  80. package/app/styles/primereact/_pr-menu.scss +3 -3
  81. package/app/styles/primereact/_pr-skeleton.scss +3 -3
  82. package/app/styles/primereact/_pr-tag-input.scss +2 -2
  83. package/dist/examples.bundle.css +13 -13
  84. package/dist/examples.bundle.js +17 -14
  85. package/dist/playgrounds/react-playgrounds/TestGround.tsx +22 -13
  86. package/dist/superdesk-ui.bundle.css +1326 -1227
  87. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +22 -13
  88. package/package.json +1 -1
@@ -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, Text, FormRowNew} 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, ButtonGroup, Heading} from '../../../../app-typescript/index';
4
4
  import { Carousel } from '../../../../app-typescript/index';
5
5
  import { FormLabel } from '../../../../app-typescript/components/Form/FormLabel';
6
6
 
@@ -91,10 +91,31 @@ export class TestGround extends React.Component<IProps, IState> {
91
91
  </button>
92
92
 
93
93
  </div>
94
+
94
95
  <hr />
95
96
 
97
+ <Container gap="large" direction='column' className='sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus my-5'>
98
+ <Heading type='h3'>Curabitur blandit tempus porttitor.</Heading>
99
+ <Text color='light'>
100
+ Praesent commodo cursus magna, vel scelerisque nisl consectetur et...
101
+ </Text>
102
+ <ButtonGroup align="end">
103
+ <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
104
+ <Button text="Submit" onClick={()=> false} type="primary" />
105
+ </ButtonGroup>
106
+ </Container>
107
+
96
108
  <h3 className="docs-page__h3 sd-margin-y--0">Form test</h3>
109
+
97
110
  <hr />
111
+
112
+ <img src="/path/toimage" alt="my image"
113
+ onError={({ currentTarget }) => {
114
+ currentTarget.onerror = null; // prevents looping
115
+ currentTarget.src="/illustration--playground.svg";
116
+ currentTarget.classList.add('broken-img')
117
+ }} />
118
+
98
119
  <div className="input-wrap">
99
120
  <FormLabel invalid required={true} state='focused' text="Form Label" forId="input1" />
100
121
  <IconButton size='small' icon="settings" ariaValue="Screen-reader text" onClick={()=> false} />
@@ -159,10 +180,6 @@ export class TestGround extends React.Component<IProps, IState> {
159
180
  info='Nullam Sollicitudin'
160
181
  error='Error message'
161
182
  inlineLabel={false}
162
- shortcuts={[
163
- {label: 'tomorrow', days: 1},
164
- {label: 'yesterday', days: -1},
165
- ]}
166
183
  />
167
184
  <TimePicker
168
185
  value={this.state.time}
@@ -211,10 +228,6 @@ export class TestGround extends React.Component<IProps, IState> {
211
228
  error='Error message'
212
229
  inlineLabel={true}
213
230
  labelHidden={true}
214
- shortcuts={[
215
- {label: 'tomorrow', days: 1},
216
- {label: 'yesterday', days: -1},
217
- ]}
218
231
  />
219
232
  <TimePicker
220
233
  value={this.state.time}
@@ -260,10 +273,6 @@ export class TestGround extends React.Component<IProps, IState> {
260
273
  info='Nullam Sollicitudin'
261
274
  error='Error message'
262
275
  inlineLabel={false}
263
- shortcuts={[
264
- {label: 'tomorrow', days: 1},
265
- {label: 'yesterday', days: -1},
266
- ]}
267
276
  />
268
277
  <TimePicker
269
278
  value={this.state.time}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superdesk-ui-framework",
3
- "version": "3.0.62",
3
+ "version": "3.0.63",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",