superdesk-ui-framework 3.1.15 → 3.1.17

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.
@@ -45613,6 +45613,18 @@ textarea.sd-media-carousel__media-title {
45613
45613
  background-color: var(--sd-colour-interactive);
45614
45614
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
45615
45615
 
45616
+ .sd-loader--inline, .sd-loader {
45617
+ display: inline-flex;
45618
+ width: 100%;
45619
+ min-width: 90px;
45620
+ height: 100%;
45621
+ min-height: 30px;
45622
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjMwIiB2aWV3Qm94PSIwIDAgMTIwIDMwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiM3YjdiN2IiPjxjaXJjbGUgY3g9IjE1IiBjeT0iMTUiIHI9IjE1Ij48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBmcm9tPSIxNSIgdG89IjE1IiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxNTs5OzE1IiBjYWxjTW9kZT0ibGluZWFyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsLW9wYWNpdHkiIGZyb209IjEiIHRvPSIxIiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxOy41OzEiIGNhbGNNb2RlPSJsaW5lYXIiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPjwvY2lyY2xlPjxjaXJjbGUgY3g9IjYwIiBjeT0iMTUiIHI9IjkiIGZpbGwtb3BhY2l0eT0iMC4zIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBmcm9tPSI5IiB0bz0iOSIgYmVnaW49IjBzIiBkdXI9IjAuOHMiIHZhbHVlcz0iOTsxNTs5IiBjYWxjTW9kZT0ibGluZWFyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsLW9wYWNpdHkiIGZyb209IjAuNSIgdG89IjAuNSIgYmVnaW49IjBzIiBkdXI9IjAuOHMiIHZhbHVlcz0iLjU7MTsuNSIgY2FsY01vZGU9ImxpbmVhciIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+PC9jaXJjbGU+PGNpcmNsZSBjeD0iMTA1IiBjeT0iMTUiIHI9IjE1Ij48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBmcm9tPSIxNSIgdG89IjE1IiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxNTs5OzE1IiBjYWxjTW9kZT0ibGluZWFyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsLW9wYWNpdHkiIGZyb209IjEiIHRvPSIxIiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxOy41OzEiIGNhbGNNb2RlPSJsaW5lYXIiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPjwvY2lyY2xlPjwvc3ZnPg==");
45623
+ background-repeat: no-repeat;
45624
+ background-position: center center;
45625
+ background-size: 60px;
45626
+ background-color: var(--sd-colour-overlay-actioning); }
45627
+
45616
45628
  .sd-loader {
45617
45629
  content: '';
45618
45630
  display: block;
@@ -45621,12 +45633,7 @@ textarea.sd-media-carousel__media-title {
45621
45633
  inset-inline-end: 0;
45622
45634
  inset-block-end: 0;
45623
45635
  inset-inline-start: 0;
45624
- z-index: 99999;
45625
- background-image: url(three-dots.svg);
45626
- background-repeat: no-repeat;
45627
- background-position: center center;
45628
- background-size: 60px;
45629
- background-color: var(--sd-colour-overlay-actioning); }
45636
+ z-index: 99999; }
45630
45637
 
45631
45638
  .red--100 {
45632
45639
  background-color: #fde4e2; }
@@ -70,7 +70,7 @@ return /******/ (function(modules) { // webpackBootstrap
70
70
  /******/ __webpack_require__.p = "";
71
71
  /******/
72
72
  /******/ // Load entry module and return exports
73
- /******/ return __webpack_require__(__webpack_require__.s = 974);
73
+ /******/ return __webpack_require__(__webpack_require__.s = 975);
74
74
  /******/ })
75
75
  /************************************************************************/
76
76
  /******/ ([
@@ -42134,10 +42134,14 @@ var Loader = /** @class */ (function (_super) {
42134
42134
  }
42135
42135
  Loader.prototype.render = function () {
42136
42136
  if (this.props.overlay) {
42137
- return (React.createElement("div", { className: 'sd-loader' }));
42137
+ return (React.createElement("div", { className: "sd-loader", style: { backgroundColor: this.props.backgroundColor } }));
42138
42138
  }
42139
42139
  else {
42140
- return null;
42140
+ return (React.createElement("div", { className: "sd-loader--inline", style: {
42141
+ width: this.props.width,
42142
+ height: this.props.height,
42143
+ backgroundColor: this.props.backgroundColor,
42144
+ } }));
42141
42145
  }
42142
42146
  };
42143
42147
  return Loader;
@@ -64605,7 +64609,7 @@ var PanelHeader = /** @class */ (function (_super) {
64605
64609
  this.props.iconButtons != null
64606
64610
  && this.props.iconButtons,
64607
64611
  this.props.onClose != null
64608
- && React.createElement(IconButton_1.IconButton, { icon: 'close-small', ariaValue: 'Close', onClick: this.props.onClose })))),
64612
+ && (React.createElement(IconButton_1.IconButton, { icon: 'close-small', ariaValue: 'Close', onClick: this.props.onClose }))))),
64609
64613
  this.props.children));
64610
64614
  };
64611
64615
  return PanelHeader;
@@ -150708,7 +150712,8 @@ var SideBarTabs = /** @class */ (function (_super) {
150708
150712
  }
150709
150713
  else {
150710
150714
  return (React.createElement("li", { key: index, "data-sd-tooltip": item.tooltip, "data-flow": 'left' },
150711
- React.createElement("a", { role: 'button', "aria-label": item.tooltip, className: (0, classnames_1.default)('sd-sidetab-menu__btn', { 'sd-sidetab-menu__btn--active': item.id === _this.props.activeTab }), onClick: function () { return _this.handleClick(item); } },
150715
+ React.createElement("button", { disabled: _this.props.disabled, role: 'button', "aria-label": item.tooltip, className: (0, classnames_1.default)('sd-sidetab-menu__btn', { 'sd-sidetab-menu__btn--active': item.id === _this.props.activeTab && _this.props.disabled !== true,
150716
+ }), onClick: function () { return _this.handleClick(item); } },
150712
150717
  item.badgeValue != null && (React.createElement(Badge_1.Badge, { text: item['badgeValue'], type: 'primary' })),
150713
150718
  React.createElement("span", { className: 'sd-sidetab-menu__main-icon ' },
150714
150719
  React.createElement(Icon_1.Icon, { size: item['size'], name: item['icon'] })),
@@ -157922,7 +157927,8 @@ angular.module('superdesk-ui.positioner', []).component('sdPositioner', (0, _rea
157922
157927
  /* 971 */,
157923
157928
  /* 972 */,
157924
157929
  /* 973 */,
157925
- /* 974 */
157930
+ /* 974 */,
157931
+ /* 975 */
157926
157932
  /***/ (function(module, exports, __webpack_require__) {
157927
157933
 
157928
157934
  "use strict";
@@ -158209,53 +158215,53 @@ Object.defineProperty(exports, 'ContentDivider', {
158209
158215
  }
158210
158216
  });
158211
158217
 
158212
- __webpack_require__(975);
158218
+ __webpack_require__(976);
158213
158219
 
158214
- __webpack_require__(1010);
158220
+ __webpack_require__(1011);
158215
158221
 
158216
158222
  exports.default = angular.module('superdesk-ui', ['superdesk-ui.helper', 'superdesk-ui.carousel', 'superdesk-ui.wizard', 'superdesk-ui.dropdown', 'superdesk-ui.positioner', 'superdesk-ui.modals', 'superdesk-ui.switch', 'superdesk-ui.check', 'superdesk-ui.circularProgress', 'superdesk-ui.toggleBox', 'superdesk-ui.toggleBoxNext', 'superdesk-ui.tags', 'superdesk-ui.lineInput', 'superdesk-ui.searchHandler', 'superdesk-ui.splitter', 'superdesk-ui.mediaQuery']);
158217
158223
 
158218
158224
  /***/ }),
158219
- /* 975 */
158225
+ /* 976 */
158220
158226
  /***/ (function(module, exports, __webpack_require__) {
158221
158227
 
158222
158228
  "use strict";
158223
158229
 
158224
158230
 
158225
- __webpack_require__(976);
158226
-
158227
- __webpack_require__(990);
158231
+ __webpack_require__(977);
158228
158232
 
158229
- __webpack_require__(992);
158233
+ __webpack_require__(991);
158230
158234
 
158231
158235
  __webpack_require__(993);
158232
158236
 
158233
- __webpack_require__(800);
158234
-
158235
158237
  __webpack_require__(994);
158236
158238
 
158239
+ __webpack_require__(800);
158240
+
158237
158241
  __webpack_require__(995);
158238
158242
 
158239
158243
  __webpack_require__(996);
158240
158244
 
158241
- __webpack_require__(799);
158242
-
158243
158245
  __webpack_require__(997);
158244
158246
 
158245
- __webpack_require__(1000);
158247
+ __webpack_require__(799);
158246
158248
 
158247
- __webpack_require__(1002);
158249
+ __webpack_require__(998);
158248
158250
 
158249
- __webpack_require__(1004);
158251
+ __webpack_require__(1001);
158250
158252
 
158251
- __webpack_require__(1006);
158253
+ __webpack_require__(1003);
158252
158254
 
158253
- __webpack_require__(1008);
158255
+ __webpack_require__(1005);
158256
+
158257
+ __webpack_require__(1007);
158254
158258
 
158255
158259
  __webpack_require__(1009);
158256
158260
 
158261
+ __webpack_require__(1010);
158262
+
158257
158263
  /***/ }),
158258
- /* 976 */
158264
+ /* 977 */
158259
158265
  /***/ (function(module, exports, __webpack_require__) {
158260
158266
 
158261
158267
  "use strict";
@@ -158265,22 +158271,22 @@ Object.defineProperty(exports, "__esModule", {
158265
158271
  value: true
158266
158272
  });
158267
158273
 
158268
- __webpack_require__(977);
158269
-
158270
158274
  __webpack_require__(978);
158271
158275
 
158272
- __webpack_require__(984);
158276
+ __webpack_require__(979);
158273
158277
 
158274
158278
  __webpack_require__(985);
158275
158279
 
158276
- __webpack_require__(988);
158280
+ __webpack_require__(986);
158277
158281
 
158278
158282
  __webpack_require__(989);
158279
158283
 
158284
+ __webpack_require__(990);
158285
+
158280
158286
  exports.default = angular.module('superdesk-ui.helper', ['superdesk-ui.helper.dropdown', 'superdesk-ui.helper.modal', 'superdesk-ui.helper.datepicker', 'superdesk-ui.helper.ngTagsInput']);
158281
158287
 
158282
158288
  /***/ }),
158283
- /* 977 */
158289
+ /* 978 */
158284
158290
  /***/ (function(module, exports, __webpack_require__) {
158285
158291
 
158286
158292
  "use strict";
@@ -158497,7 +158503,7 @@ angular.module('superdesk-ui.helper.dateparser', []).service('dateParser', ['$lo
158497
158503
  }]);
158498
158504
 
158499
158505
  /***/ }),
158500
- /* 978 */
158506
+ /* 979 */
158501
158507
  /***/ (function(module, exports, __webpack_require__) {
158502
158508
 
158503
158509
  "use strict";
@@ -158716,7 +158722,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
158716
158722
  return {
158717
158723
  restrict: 'EA',
158718
158724
  replace: true,
158719
- template: __webpack_require__(979),
158725
+ template: __webpack_require__(980),
158720
158726
  scope: {
158721
158727
  datepickerMode: '=?',
158722
158728
  dateDisabled: '&',
@@ -158738,7 +158744,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
158738
158744
  return {
158739
158745
  restrict: 'EA',
158740
158746
  replace: true,
158741
- template: __webpack_require__(980),
158747
+ template: __webpack_require__(981),
158742
158748
  require: '^datepicker',
158743
158749
  link: function link(scope, element, attrs, ctrl) {
158744
158750
  scope.showWeeks = ctrl.showWeeks;
@@ -158857,7 +158863,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
158857
158863
  return {
158858
158864
  restrict: 'EA',
158859
158865
  replace: true,
158860
- template: __webpack_require__(981),
158866
+ template: __webpack_require__(982),
158861
158867
  require: '^datepicker',
158862
158868
  link: function link(scope, element, attrs, ctrl) {
158863
158869
  ctrl.step = { years: 1 };
@@ -158914,7 +158920,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
158914
158920
  return {
158915
158921
  restrict: 'EA',
158916
158922
  replace: true,
158917
- template: __webpack_require__(982),
158923
+ template: __webpack_require__(983),
158918
158924
  require: '^datepicker',
158919
158925
  link: function link(scope, element, attrs, ctrl) {
158920
158926
  var range = ctrl.yearRange;
@@ -159281,42 +159287,42 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
159281
159287
  restrict: 'EA',
159282
159288
  replace: true,
159283
159289
  transclude: true,
159284
- template: __webpack_require__(983)
159290
+ template: __webpack_require__(984)
159285
159291
  };
159286
159292
  });
159287
159293
 
159288
159294
  /***/ }),
159289
- /* 979 */
159295
+ /* 980 */
159290
159296
  /***/ (function(module, exports) {
159291
159297
 
159292
159298
  module.exports = "<div ng-switch=\"datepickerMode\" role=\"application\" ng-keydown=\"keydown($event)\">\n <daypicker ng-switch-when=\"day\" tabindex=\"0\"></daypicker>\n <monthpicker ng-switch-when=\"month\" tabindex=\"0\"></monthpicker>\n <yearpicker ng-switch-when=\"year\" tabindex=\"0\"></yearpicker>\n</div>";
159293
159299
 
159294
159300
  /***/ }),
159295
- /* 980 */
159301
+ /* 981 */
159296
159302
  /***/ (function(module, exports) {
159297
159303
 
159298
159304
  module.exports = "<table role=\"grid\" aria-labelledby=\"{{::uniqueId}}-title\" aria-activedescendant=\"{{activeDateId}}\">\n <thead>\n <tr>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\" tabindex=\"-1\"><i class=\"icon-chevron-left-thin\"></i></button></th>\n <th colspan=\"{{::5 + showWeeks}}\"><button id=\"{{::uniqueId}}-title\" role=\"heading\" aria-live=\"assertive\" aria-atomic=\"true\" type=\"button\" class=\"btn btn-default btn-sm\" ng-click=\"toggleMode()\" ng-disabled=\"datepickerMode === maxMode\" tabindex=\"-1\" style=\"width:100%;\"><strong>{{title}}</strong></button></th>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-right\" ng-click=\"move(1)\" tabindex=\"-1\"><i class=\"icon-chevron-right-thin\"></i></button></th>\n </tr>\n <tr>\n <th ng-if=\"showWeeks\" class=\"text-center\"></th>\n <th ng-repeat=\"label in ::labels track by $index\" class=\"text-center\"><small aria-label=\"{{::label.full}}\">{{::label.abbr}}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"row in rows track by $index\">\n <td ng-if=\"showWeeks\" class=\"text-center h6\"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat=\"dt in row track by dt.date\" class=\"text-center\" role=\"gridcell\" id=\"{{::dt.uid}}\" ng-class=\"::dt.customClass\">\n <button type=\"button\" style=\"min-width:100%;\" class=\"btn btn-default btn-sm\" ng-class=\"{'btn-info': dt.selected, active: isActive(dt)}\" ng-click=\"select(dt.date)\" ng-disabled=\"dt.disabled\" tabindex=\"-1\"><span ng-class=\"::{'text-muted': dt.secondary, 'text-info': dt.current}\">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n";
159299
159305
 
159300
159306
  /***/ }),
159301
- /* 981 */
159307
+ /* 982 */
159302
159308
  /***/ (function(module, exports) {
159303
159309
 
159304
159310
  module.exports = "<table role=\"grid\" aria-labelledby=\"{{::uniqueId}}-title\" aria-activedescendant=\"{{activeDateId}}\">\n <thead>\n <tr>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\" tabindex=\"-1\"><i class=\"icon-chevron-left-thin\"></i></button></th>\n <th><button id=\"{{::uniqueId}}-title\" role=\"heading\" aria-live=\"assertive\" aria-atomic=\"true\" type=\"button\" class=\"btn btn-default btn-sm\" ng-click=\"toggleMode()\" ng-disabled=\"datepickerMode === maxMode\" tabindex=\"-1\" style=\"width:100%;\"><strong>{{title}}</strong></button></th>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-right\" ng-click=\"move(1)\" tabindex=\"-1\"><i class=\"icon-chevron-right-thin\"></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"row in rows track by $index\">\n <td ng-repeat=\"dt in row track by dt.date\" class=\"text-center\" role=\"gridcell\" id=\"{{::dt.uid}}\" ng-class=\"::dt.customClass\">\n <button type=\"button\" style=\"min-width:100%;\" class=\"btn btn-default\" ng-class=\"{'btn-info': dt.selected, active: isActive(dt)}\" ng-click=\"select(dt.date)\" ng-disabled=\"dt.disabled\" tabindex=\"-1\"><span ng-class=\"::{'text-info': dt.current}\">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n";
159305
159311
 
159306
159312
  /***/ }),
159307
- /* 982 */
159313
+ /* 983 */
159308
159314
  /***/ (function(module, exports) {
159309
159315
 
159310
159316
  module.exports = "<table role=\"grid\" aria-labelledby=\"{{::uniqueId}}-title\" aria-activedescendant=\"{{activeDateId}}\">\n <thead>\n <tr>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\" tabindex=\"-1\"><i class=\"icon-chevron-left-thin\"></i></button></th>\n <th colspan=\"3\"><button id=\"{{::uniqueId}}-title\" role=\"heading\" aria-live=\"assertive\" aria-atomic=\"true\" type=\"button\" class=\"btn btn-default btn-sm\" ng-click=\"toggleMode()\" ng-disabled=\"datepickerMode === maxMode\" tabindex=\"-1\" style=\"width:100%;\"><strong>{{title}}</strong></button></th>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-right\" ng-click=\"move(1)\" tabindex=\"-1\"><i class=\"icon-chevron-right-thin\"></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"row in rows track by $index\">\n <td ng-repeat=\"dt in row track by dt.date\" class=\"text-center\" role=\"gridcell\" id=\"{{::dt.uid}}\">\n <button type=\"button\" style=\"min-width:100%;\" class=\"btn btn-default\" ng-class=\"{'btn-info': dt.selected, active: isActive(dt)}\" ng-click=\"select(dt.date)\" ng-disabled=\"dt.disabled\" tabindex=\"-1\"><span ng-class=\"::{'text-info': dt.current}\">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n";
159311
159317
 
159312
159318
  /***/ }),
159313
- /* 983 */
159319
+ /* 984 */
159314
159320
  /***/ (function(module, exports) {
159315
159321
 
159316
159322
  module.exports = "<ul class=\"dropdown-menu\" ng-if=\"isOpen\" style=\"display: block\" ng-style=\"{top: position.top+'px', left: position.left+'px'}\" ng-keydown=\"keydown($event)\" ng-click=\"$event.stopPropagation()\">\n\t<li ng-transclude></li>\n\t<li ng-if=\"showButtonBar\" style=\"padding:10px 9px 2px\">\n\t\t<span class=\"btn-group pull-left\">\n\t\t\t<button type=\"button\" class=\"btn btn-sm btn-info\" ng-click=\"select('today')\">{{ getText('current') }}</button>\n\t\t\t<button type=\"button\" class=\"btn btn-sm btn-danger\" ng-click=\"select(null)\">{{ getText('clear') }}</button>\n\t\t</span>\n\t\t<button type=\"button\" class=\"btn btn-sm btn-success pull-right\" ng-click=\"close()\">{{ getText('close') }}</button>\n\t</li>\n</ul>\n";
159317
159323
 
159318
159324
  /***/ }),
159319
- /* 984 */
159325
+ /* 985 */
159320
159326
  /***/ (function(module, exports, __webpack_require__) {
159321
159327
 
159322
159328
  "use strict";
@@ -159659,7 +159665,7 @@ angular.module('superdesk-ui.helper.dropdown', ['superdesk-ui.helper.position'])
159659
159665
  });
159660
159666
 
159661
159667
  /***/ }),
159662
- /* 985 */
159668
+ /* 986 */
159663
159669
  /***/ (function(module, exports, __webpack_require__) {
159664
159670
 
159665
159671
  "use strict";
@@ -159726,7 +159732,7 @@ angular.module('superdesk-ui.helper.modal', []).factory('$$stackedMap', function
159726
159732
  return {
159727
159733
  restrict: 'EA',
159728
159734
  replace: true,
159729
- template: __webpack_require__(986),
159735
+ template: __webpack_require__(987),
159730
159736
  compile: function compile(tElement, tAttrs) {
159731
159737
  tElement.addClass(tAttrs.backdropClass);
159732
159738
  return linkFn;
@@ -159753,7 +159759,7 @@ angular.module('superdesk-ui.helper.modal', []).factory('$$stackedMap', function
159753
159759
  // templateUrl: function templateUrl(tElement, tAttrs) {
159754
159760
  // return tAttrs.templateUrl || '../app/template/window.html';
159755
159761
  // },
159756
- template: __webpack_require__(987),
159762
+ template: __webpack_require__(988),
159757
159763
  link: function link(scope, element, attrs) {
159758
159764
  element.addClass(attrs.windowClass || '');
159759
159765
  scope.size = attrs.size;
@@ -160130,19 +160136,19 @@ angular.module('superdesk-ui.helper.modal', []).factory('$$stackedMap', function
160130
160136
  });
160131
160137
 
160132
160138
  /***/ }),
160133
- /* 986 */
160139
+ /* 987 */
160134
160140
  /***/ (function(module, exports) {
160135
160141
 
160136
160142
  module.exports = "<div class=\"modal__backdrop fade in\"></div>";
160137
160143
 
160138
160144
  /***/ }),
160139
- /* 987 */
160145
+ /* 988 */
160140
160146
  /***/ (function(module, exports) {
160141
160147
 
160142
160148
  module.exports = "<div modal-render=\"{{$isRendered}}\" tabindex=\"-1\" role=\"dialog\" class=\"modal\"\n modal-animation-class=\"fade\"\n modal-in-class=\"in\"\n ng-style=\"{'z-index': 1050 + index * 10, display: 'block'}\"\n ng-class=\"size ? 'modal--' + size : ''\">\n <div class=\"modal__dialog\">\n <div class=\"modal__content\" modal-transclude></div>\n </div>\n</div>\n";
160143
160149
 
160144
160150
  /***/ }),
160145
- /* 988 */
160151
+ /* 989 */
160146
160152
  /***/ (function(module, exports, __webpack_require__) {
160147
160153
 
160148
160154
  "use strict";
@@ -160305,7 +160311,7 @@ angular.module('superdesk-ui.helper.position', [])
160305
160311
  }]);
160306
160312
 
160307
160313
  /***/ }),
160308
- /* 989 */
160314
+ /* 990 */
160309
160315
  /***/ (function(module, exports, __webpack_require__) {
160310
160316
 
160311
160317
  "use strict";
@@ -161531,7 +161537,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
161531
161537
  })();
161532
161538
 
161533
161539
  /***/ }),
161534
- /* 990 */
161540
+ /* 991 */
161535
161541
  /***/ (function(module, exports, __webpack_require__) {
161536
161542
 
161537
161543
  "use strict";
@@ -161548,7 +161554,7 @@ function CarouselDirective() {
161548
161554
  finish: '&',
161549
161555
  model: '='
161550
161556
  },
161551
- template: __webpack_require__(991),
161557
+ template: __webpack_require__(992),
161552
161558
  transclude: true,
161553
161559
  controllerAs: 'ctrl',
161554
161560
  controller: ['$scope', '$document', function ($scope, $document) {
@@ -161670,13 +161676,13 @@ function CarouselStepDirective() {
161670
161676
  angular.module('superdesk-ui.carousel', []).directive('sdCarousel', CarouselDirective).directive('sdCarouselStep', CarouselStepDirective);
161671
161677
 
161672
161678
  /***/ }),
161673
- /* 991 */
161679
+ /* 992 */
161674
161680
  /***/ (function(module, exports) {
161675
161681
 
161676
161682
  module.exports = "<div class=\"sd-carousel__backdrop\"></div>\n<div class=\"sd-carousel\">\n <div class=\"sd-carousel__dialog\">\n <div class=\"sd-carousel__content\" ng-transclude></div>\n <a class=\"sd-carousel__nav-button sd-carousel__nav-button--prev\" ng-click=\"ctrl.previous()\" ng-hide=\"pageIndex === 0\"></a>\n <a class=\"sd-carousel__nav-button\" ng-click=\"pageIndex === steps.length-1 ? ctrl.finish() : ctrl.next()\" ng-class=\"pageIndex === steps.length-1 ? 'sd-carousel__nav-button--end' : 'sd-carousel__nav-button--next'\"></a>\n <div class=\"sd-carousel__page-indication-bar\">\n <span ng-repeat=\"step in steps\" \n class=\"sd-carousel__page-indicator\" \n ng-class=\"{'sd-carousel__page-indicator--selected': step.selected}\"\n ng-click=\"goTo(step)\">\n </span>\n </div>\n </div>\n</div>";
161677
161683
 
161678
161684
  /***/ }),
161679
- /* 992 */
161685
+ /* 993 */
161680
161686
  /***/ (function(module, exports, __webpack_require__) {
161681
161687
 
161682
161688
  "use strict";
@@ -161779,7 +161785,7 @@ function sdCheck($parse) {
161779
161785
  angular.module('superdesk-ui.check', []).directive('sdCheck', sdCheck);
161780
161786
 
161781
161787
  /***/ }),
161782
- /* 993 */
161788
+ /* 994 */
161783
161789
  /***/ (function(module, exports, __webpack_require__) {
161784
161790
 
161785
161791
  "use strict";
@@ -161959,7 +161965,7 @@ angular.module("superdesk-ui.dropdown", []).directive("dropdown", sdDropdown).di
161959
161965
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(57)))
161960
161966
 
161961
161967
  /***/ }),
161962
- /* 994 */
161968
+ /* 995 */
161963
161969
  /***/ (function(module, exports, __webpack_require__) {
161964
161970
 
161965
161971
  "use strict";
@@ -162047,7 +162053,7 @@ function sdModal($document, $rootScope) {
162047
162053
  angular.module('superdesk-ui.modals', []).directive('sdModal', sdModal);
162048
162054
 
162049
162055
  /***/ }),
162050
- /* 995 */
162056
+ /* 996 */
162051
162057
  /***/ (function(module, exports, __webpack_require__) {
162052
162058
 
162053
162059
  "use strict";
@@ -162132,7 +162138,7 @@ function sdSwitch() {
162132
162138
  angular.module('superdesk-ui.switch', []).directive('sdSwitch', sdSwitch);
162133
162139
 
162134
162140
  /***/ }),
162135
- /* 996 */
162141
+ /* 997 */
162136
162142
  /***/ (function(module, exports, __webpack_require__) {
162137
162143
 
162138
162144
  "use strict";
@@ -162170,7 +162176,7 @@ function ToggleBoxDirective() {
162170
162176
  angular.module('superdesk-ui.toggleBox', []).directive('sdToggleBox', ToggleBoxDirective);
162171
162177
 
162172
162178
  /***/ }),
162173
- /* 997 */
162179
+ /* 998 */
162174
162180
  /***/ (function(module, exports, __webpack_require__) {
162175
162181
 
162176
162182
  "use strict";
@@ -162205,7 +162211,7 @@ function WizardHandlerFactory() {
162205
162211
  WizardDirective.$inject = [];
162206
162212
  function WizardDirective() {
162207
162213
  return {
162208
- template: __webpack_require__(998),
162214
+ template: __webpack_require__(999),
162209
162215
  scope: {
162210
162216
  currentStep: '=',
162211
162217
  finish: '&',
@@ -162309,7 +162315,7 @@ function WizardDirective() {
162309
162315
  WizardStepDirective.$inject = [];
162310
162316
  function WizardStepDirective() {
162311
162317
  return {
162312
- template: __webpack_require__(999),
162318
+ template: __webpack_require__(1000),
162313
162319
  scope: {
162314
162320
  title: '@',
162315
162321
  code: '@',
@@ -162327,19 +162333,19 @@ function WizardStepDirective() {
162327
162333
  angular.module('superdesk-ui.wizard', []).factory('WizardHandler', WizardHandlerFactory).directive('sdWizard', WizardDirective).directive('sdWizardStep', WizardStepDirective);
162328
162334
 
162329
162335
  /***/ }),
162330
- /* 998 */
162336
+ /* 999 */
162331
162337
  /***/ (function(module, exports) {
162332
162338
 
162333
162339
  module.exports = "<div class=\"modal__body-header\">\n <ul class=\"nav-tabs\">\n <li ng-repeat=\"step in steps\" ng-class=\"{'nav-tabs__tab--active': step.selected}\" class=\"nav-tabs__tab\">\n <button\n ng-click=\"goTo(step)\"\n ng-disabled=\"step.disabled\"\n ng-hide=\"step.hide\"\n class=\"nav-tabs__link\"\n data-test-id=\"wizard--{{step.title}}\"\n >\n {{ step.title}}\n </button>\n </li>\n </ul>\n</div>\n<div class=\"modal__body-content\" ng-transclude></div>";
162334
162340
 
162335
162341
  /***/ }),
162336
- /* 999 */
162342
+ /* 1000 */
162337
162343
  /***/ (function(module, exports) {
162338
162344
 
162339
162345
  module.exports = "<div ng-show=\"selected\" class=\"modal-screen\" ng-transclude></div>\r\n";
162340
162346
 
162341
162347
  /***/ }),
162342
- /* 1000 */
162348
+ /* 1001 */
162343
162349
  /***/ (function(module, exports, __webpack_require__) {
162344
162350
 
162345
162351
  "use strict";
@@ -162368,7 +162374,7 @@ function TagInputDirective($q) {
162368
162374
  maxResultsToShow: '='
162369
162375
  },
162370
162376
  require: '?ngModel',
162371
- template: __webpack_require__(1001),
162377
+ template: __webpack_require__(1002),
162372
162378
  link: function link(scope) {
162373
162379
  scope.loadTags = function (query) {
162374
162380
  return $q(function (resolve, reject) {
@@ -162386,13 +162392,13 @@ function TagInputDirective($q) {
162386
162392
  angular.module('superdesk-ui.tags', []).directive('sdTagInput', TagInputDirective);
162387
162393
 
162388
162394
  /***/ }),
162389
- /* 1001 */
162395
+ /* 1002 */
162390
162396
  /***/ (function(module, exports) {
162391
162397
 
162392
162398
  module.exports = "<label class=\"tags-input__label\" ng-if=\"label\">{{label}}</label>\n<tags-input ng-model=\"model\"\n add-from-autocomplete-only=\"{{items ? !freetext : false}}\"\n show-button=\"{{!!items}}\"\n display-property=\"{{field}}\"\n key-property=\"{{keyProperty}}\"\n use-strings=\"{{!field}}\"\n ng-required=\"required\"\n on-tag-added=\"onChange($tag)\"\n on-tag-removed=\"onChange($tag)\"\n replace-spaces-with-dashes=\"{{replaceSpacesWithDashes}}\"\n min-length=\"{{minLength}}\"\n max-length=\"{{maxLength}}\"\n max-tags=\"{{maxTags}}\"\n max-items=\"{{maxItems}}\"\n boxed={{boxed}}\n placeholder=\"{{placeholder}}\">\n\n <auto-complete ng-if=\"items\"\n source=\"loadTags($query)\"\n load-on-empty=\"true\"\n min-length=\"{{minLength}}\"\n display-property=\"{{field}}\"\n key-property=\"{{keyProperty}}\"\n max-results-to-show=\"{{maxResultsToShow}}\">\n </auto-complete>\n</tags-input>\n";
162393
162399
 
162394
162400
  /***/ }),
162395
- /* 1002 */
162401
+ /* 1003 */
162396
162402
  /***/ (function(module, exports, __webpack_require__) {
162397
162403
 
162398
162404
  "use strict";
@@ -162409,7 +162415,7 @@ module.exports = "<label class=\"tags-input__label\" ng-if=\"label\">{{label}}</
162409
162415
  */
162410
162416
  function LineInputDirective() {
162411
162417
  return {
162412
- template: __webpack_require__(1003),
162418
+ template: __webpack_require__(1004),
162413
162419
  replace: true,
162414
162420
  transclude: true,
162415
162421
  require: '?ngModel',
@@ -162451,13 +162457,13 @@ function LineInputDirective() {
162451
162457
  angular.module('superdesk-ui.lineInput', []).directive('sdLineInput', LineInputDirective);
162452
162458
 
162453
162459
  /***/ }),
162454
- /* 1003 */
162460
+ /* 1004 */
162455
162461
  /***/ (function(module, exports) {
162456
162462
 
162457
162463
  module.exports = " <div class=\"sd-line-input\" ng-class=\"{'sd-line-input--dark-ui': dark, 'sd-line-input--boxed': boxed, 'sd-line-input--required': required}\">\n <label class=\"sd-line-input__label\" translate>{{label}}</label>\n\n <input class=\"sd-line-input__input\" type=\"text\" ng-model=\"modelFixed.value\" ng-change=\"update(modelFixed.value)\" ng-blur=\"onblur()\" ng-disabled=\"disabled\" placeholder=\"{{placeholder}}\" ng-if=\"!transclude && !textarea\">\n\n <textarea class=\"sd-line-input__input\"\n ng-model=\"modelFixed.value\"\n ng-change=\"update(modelFixed.value)\"\n ng-blur=\"onblur()\"\n ng-disabled=\"disabled\"\n placeholder=\"{{placeholder}}\"\n ng-if=\"textarea\"\n sd-auto-height>\n </textarea>\n\n <ng-transclude></ng-transclude>\n <div class=\"sd-line-input__char-count\" ng-if=\"maxlength\" sd-character-count data-item=\"modelFixed.value\" data-limit=\"maxlength\" data-html=\"true\"></div>\n</div>\n";
162458
162464
 
162459
162465
  /***/ }),
162460
- /* 1004 */
162466
+ /* 1005 */
162461
162467
  /***/ (function(module, exports, __webpack_require__) {
162462
162468
 
162463
162469
  "use strict";
@@ -162477,7 +162483,7 @@ module.exports = " <div class=\"sd-line-input\" ng-class=\"{'sd-line-input--dark
162477
162483
  */
162478
162484
  function SearchHandlerDirective() {
162479
162485
  return {
162480
- template: __webpack_require__(1005),
162486
+ template: __webpack_require__(1006),
162481
162487
  replace: true,
162482
162488
  transclude: true,
162483
162489
  require: '?ngModel',
@@ -162503,13 +162509,13 @@ function SearchHandlerDirective() {
162503
162509
  angular.module('superdesk-ui.searchHandler', []).directive('sdSearchHandler', SearchHandlerDirective);
162504
162510
 
162505
162511
  /***/ }),
162506
- /* 1005 */
162512
+ /* 1006 */
162507
162513
  /***/ (function(module, exports) {
162508
162514
 
162509
162515
  module.exports = "<div class=\"flat-searchbar extended\">\n <div class=\"search-handler\" ng-class=\"{'search-handler--left-border': borderleft}\">\n <label for=\"search-input\" class=\"trigger-icon\"><i class=\"icon-search\"></i></label>\n <input id=\"search-input\" type=\"text\" placeholder=\"{{ :: label || 'Search' }}\" ng-model=\"model\" ng-model-options=\"{debounce: debounce}\">\n <button class=\"search-close\" ng-if=\"model.length\" ng-click=\"clearInput()\" ng-class=\"{visible: model.length}\"><i class=\"icon-remove-sign\"></i></button>\n\n <button class=\"search-close\" ng-if=\"button && model.length\" ng-click=\"\" ng-class=\"{visible: button && model.length}\">\n <i class=\"big-icon--chevron-right\"></i>\n </button>\n </div>\n</div>\n";
162510
162516
 
162511
162517
  /***/ }),
162512
- /* 1006 */
162518
+ /* 1007 */
162513
162519
  /***/ (function(module, exports, __webpack_require__) {
162514
162520
 
162515
162521
  "use strict";
@@ -162525,7 +162531,7 @@ function sdCircularProgress() {
162525
162531
  error: '=',
162526
162532
  counter: '='
162527
162533
  },
162528
- template: __webpack_require__(1007),
162534
+ template: __webpack_require__(1008),
162529
162535
  link: function link(scope, element) {
162530
162536
  var elem = $(element).find('.progress-svg');
162531
162537
 
@@ -162571,13 +162577,13 @@ angular.module('superdesk-ui.circularProgress', []).directive('sdCircularProgres
162571
162577
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(57)))
162572
162578
 
162573
162579
  /***/ }),
162574
- /* 1007 */
162580
+ /* 1008 */
162575
162581
  /***/ (function(module, exports) {
162576
162582
 
162577
162583
  module.exports = "<div class=\"progress-bar-container\">\n <div class=\"progress-done\" ng-class=\"{'progress-done--completed': status === 'completed', 'progress-done--error': status === 'error'}\">\n <i class=\"icon-ok\" ng-hide=\"status === 'error'\"></i>\n <i class=\"icon-close-small\" ng-hide=\"status === 'completed'\"></i>\n </div>\n <span class=\"progress-text\" ng-if=\"counter\">{{value}}<em>%</em></span>\n <svg class=\"progress-svg\">\n <circle ng-attr-r=\"{{radius}}\" ng-attr-cx=\"50%\" ng-attr-cy=\"50%\"></circle>\n <circle class=\"progressbar\" ng-attr-r=\"{{radius}}\" ng-attr-cx=\"50%\" ng-attr-cy=\"50%\" ng-style=\"{'stroke-dashoffset': dashOffset, 'stroke-dasharray': circumference}\"></circle>\n </svg>\n</div>";
162578
162584
 
162579
162585
  /***/ }),
162580
- /* 1008 */
162586
+ /* 1009 */
162581
162587
  /***/ (function(module, exports, __webpack_require__) {
162582
162588
 
162583
162589
  "use strict";
@@ -162622,7 +162628,7 @@ function SplitterDirective($window) {
162622
162628
  angular.module('superdesk-ui.splitter', []).directive('sdSplitter', SplitterDirective);
162623
162629
 
162624
162630
  /***/ }),
162625
- /* 1009 */
162631
+ /* 1010 */
162626
162632
  /***/ (function(module, exports, __webpack_require__) {
162627
162633
 
162628
162634
  "use strict";
@@ -162663,16 +162669,16 @@ function MediaQuery($window) {
162663
162669
  angular.module('superdesk-ui.mediaQuery', []).directive('sdMediaQuery', MediaQuery);
162664
162670
 
162665
162671
  /***/ }),
162666
- /* 1010 */
162672
+ /* 1011 */
162667
162673
  /***/ (function(module, exports, __webpack_require__) {
162668
162674
 
162669
162675
  "use strict";
162670
162676
 
162671
162677
 
162672
- __webpack_require__(1011);
162678
+ __webpack_require__(1012);
162673
162679
 
162674
162680
  /***/ }),
162675
- /* 1011 */
162681
+ /* 1012 */
162676
162682
  /***/ (function(module, exports) {
162677
162683
 
162678
162684
  // removed by extract-text-webpack-plugin
@@ -84,6 +84,7 @@ import { BorderUtilitiesDoc } from './utilities/BorderUtilities';
84
84
  import { OpacityUtilitiesDoc } from './utilities/OpacityUtilities';
85
85
  import { ObjectFitUtilitiesDoc } from './utilities/ObjectFitUtilities';
86
86
  import { ObjectPositionUtilitiesDoc } from './utilities/ObjectPositionUtilities';
87
+ import LoaderDoc from './Loader';
87
88
 
88
89
 
89
90
  interface IPages {
@@ -181,7 +182,11 @@ const pages: IPages = {
181
182
  "illustration-button": {
182
183
  name: 'Illustration Button',
183
184
  component: IllustrationButtonDoc,
184
- }
185
+ },
186
+ "loader": {
187
+ name: 'Loader',
188
+ component: LoaderDoc,
189
+ },
185
190
  }
186
191
  },
187
192
  navigationComponents: {
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ import * as Markup from '../../js/react';
3
+ import {Loader} from '../../../app-typescript';
4
+
5
+ export default class LoaderDoc extends React.Component {
6
+ render() {
7
+ return (
8
+ <section className='docs-page__container'>
9
+ <h2 className='docs-page__h2'>Loader</h2>
10
+
11
+ <Markup.ReactMarkup>
12
+ <Markup.ReactMarkupPreview>
13
+ <Loader />
14
+ </Markup.ReactMarkupPreview>
15
+
16
+ <Markup.ReactMarkupCode>{`
17
+ <Loader />
18
+ `}
19
+ </Markup.ReactMarkupCode>
20
+ </Markup.ReactMarkup>
21
+ </section>
22
+ )
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superdesk-ui-framework",
3
- "version": "3.1.15",
3
+ "version": "3.1.17",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",