superdesk-ui-framework 6.0.3 → 6.0.5

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.
Binary file
@@ -199,4 +199,8 @@
199
199
  <glyph unicode="&#xe6bd;" glyph-name="thumb-up" d="M401.454 64h302.546c40.288 0 78.226 18.968 102.4 51.2l128 170.666c16.618 22.158 25.6 49.106 25.6 76.8v130.134c0 45.76-36.654 83.2-81.454 83.2h-256.99l39.914 232.224c0 17.056-6.924 32.864-17.92 44.096l-43.172 43.68c-44.686-47.712-166.516-188.124-233.942-266.16-30.038-34.764-46.436-79.106-46.436-125.048v-357.592c0-45.76 36.654-83.2 81.454-83.2zM224 64c17.674 0 32 14.326 32 32v448c0 17.674-14.326 32-32 32h-128c-17.673 0-32-14.326-32-32v-448c0-17.674 14.327-32 32-32z" />
200
200
  <glyph unicode="&#xe6be;" glyph-name="thumb-down" d="M622.546 832h-302.546c-40.288 0-78.226-18.969-102.4-51.2l-128-170.666c-16.617-22.156-25.6-49.106-25.6-76.8v-130.134c0-45.76 36.655-83.2 81.455-83.2h256.989l-39.914-232.224c0-17.056 6.924-32.864 17.92-44.096l43.172-43.68c44.686 47.712 166.516 188.124 233.942 266.16 30.038 34.764 46.436 79.106 46.436 125.048v357.592c0 45.76-36.654 83.2-81.454 83.2zM800 832c-17.674 0-32-14.327-32-32v-448c0-17.674 14.326-32 32-32h128c17.674 0 32 14.326 32 32v448c0 17.673-14.326 32-32 32z" />
201
201
  <glyph unicode="&#xe6bf;" glyph-name="open-ai" d="M956.774 540.898c23.4 69.776 15.25 146.036-22.35 209.586-56.528 97.272-170.376 147.334-281.594 123.73-62.576 68.738-157.756 99.346-249.254 80.151s-165.906-85.080-195.090-172.753c-73.094-14.785-135.933-59.92-173.006-123.73-57.318-97.010-44.172-219.442 32.077-302.706-23.663-69.776-15.513-146.038 22.086-209.588 56.792-97.27 170.639-147.334 281.857-123.728 49.43-54.992 120.42-86.118 195.090-85.858 113.848 0 214.812 72.37 249.518 179.498 73.094 14.784 135.932 59.918 173.006 123.728 56.528 96.752 43.382 218.666-32.34 301.67zM566.59 2.924c-45.486 0-89.394 15.564-124.364 44.356l6.048 3.372 206.66 117.762c10.518 5.966 16.828 17.12 17.090 29.052v287.664l87.292-49.804c0.788-0.518 1.578-1.296 1.578-2.334v-238.12c-0.264-106.090-87.030-191.688-194.304-191.948zM148.801 179.050c-22.875 38.908-31.025 84.302-23.138 128.656l6.047-3.63 206.923-117.764c10.516-5.966 23.4-5.966 33.654 0l252.672 143.702v-99.606c0-1.036-0.526-2.074-1.314-2.594l-209.29-119.058c-93.076-52.916-211.918-21.53-265.555 70.294zM94.113 623.124c22.875 39.168 59.158 68.998 102.278 84.302v-242.27c-0.263-11.932 6.311-23.086 16.827-28.792l251.358-143.184-87.292-49.802c-1.052-0.518-2.104-0.518-3.156 0l-209.025 118.8c-92.813 53.176-124.627 170.16-71.253 261.984v-1.038zM812.164 458.672l-252.41 144.48 87.292 49.542c1.052 0.52 2.104 0.52 3.156 0l209.026-119.058c65.206-37.094 102.804-108.166 96.494-182.092s-55.214-137.736-125.942-163.676v242.27c-0.526 11.932-7.098 22.568-17.616 28.534zM898.93 587.588l-6.048 3.632-206.396 118.8c-10.518 5.966-23.402 5.966-33.918 0l-252.41-143.702v99.606c0 1.038 0.264 2.074 1.316 2.594l209.026 118.8c65.468 37.093 146.712 33.721 208.5-8.819s93.338-116.725 80.456-189.873v-1.038zM352.306 411.204l-87.292 49.542c-0.788 0.52-1.576 1.298-1.576 2.336v237.6c0 74.445 43.644 142.145 112.006 173.532 68.36 31.646 148.816 21.27 206.922-26.198l-6.046-3.372-206.66-117.763c-10.518-5.966-16.828-17.12-17.092-29.052zM399.632 512.106l112.534 64.068 112.794-64.068v-127.88l-112.268-64.068-112.796 64.068z" />
202
+ <glyph unicode="&#xe6c0;" glyph-name="n-dash" d="M192 512h640v-128h-640v128z" />
203
+ <glyph unicode="&#xe6c1;" glyph-name="m-dash" d="M64 512h896v-128h-896v128z" />
204
+ <glyph unicode="&#xe6c2;" glyph-name="thin_space" d="M192 128v256h128v-128h384v128h128v-256h-640z" />
205
+ <glyph unicode="&#xe6c3;" glyph-name="thin_space_alt" d="M256 768h-128v64h320v-64h-128v-256h-64zM576.030 64v320h256c16.974 0 33.252-6.743 45.254-18.746 12.004-12.002 18.746-28.282 18.746-45.254v-64.075c0-35.305-28.62-63.925-63.925-63.925h-192.075v-128zM640.030 256h181.999c5.523 0 10.001 4.478 10.001 10.001v43.998c0 5.523-4.478 10.001-10.001 10.001h-181.999zM640.31 640v-128h-64v320h64v-128h190.734v128h64v-320h-64v128zM192 192.857c-16.974 0-33.252 6.741-45.256 18.746-12.002 12.002-18.744 28.279-18.744 45.254v63.142c0 16.973 6.742 33.252 18.744 45.254 12.004 12.002 28.282 18.746 45.256 18.746h256l-32-64h-214.001c-5.521 0-9.999-4.478-9.999-10.001v-43.142c0-5.523 4.478-9.999 9.999-9.999h182.001c16.974 0 33.252-6.743 45.256-18.746 12.002-12.002 18.744-28.282 18.744-45.254v-64c0-16.975-6.742-33.252-18.744-45.254-12.004-12.004-28.282-18.746-45.256-18.746h-256l32 64h214.001c5.521 0 9.999 4.476 9.999 9.999v44c0 5.523-4.478 10.001-9.999 10.001zM192 192.857c-16.974 0-33.252 6.741-45.256 18.746-12.002 12.002-18.744 28.279-18.744 45.254v63.142c0 16.973 6.742 33.252 18.744 45.254 12.004 12.002 28.282 18.746 45.256 18.746h256l-32-64h-214.001c-5.521 0-9.999-4.478-9.999-10.001v-43.142c0-5.523 4.478-9.999 9.999-9.999h182.001c16.974 0 33.252-6.743 45.256-18.746 12.002-12.002 18.744-28.282 18.744-45.254v-64c0-16.975-6.742-33.252-18.744-45.254-12.004-12.004-28.282-18.746-45.256-18.746h-256l32 64h214.001c5.521 0 9.999 4.476 9.999 9.999v44c0 5.523-4.478 10.001-9.999 10.001zM640.31 640v-128h-64v320h64v-128h190.734v128h64v-320h-64v128zM576.030 64v320h256c16.974 0 33.252-6.743 45.254-18.746 12.004-12.002 18.746-28.282 18.746-45.254v-64.075c0-35.305-28.62-63.925-63.925-63.925h-192.075v-128zM640.030 256h181.999c5.523 0 10.001 4.478 10.001 10.001v43.998c0 5.523-4.478 10.001-10.001 10.001h-181.999zM256 768h-128v64h320v-64h-128v-256h-64z" />
202
206
  </font></defs></svg>
Binary file
Binary file
@@ -300,6 +300,10 @@ $sd-icon-font: (
300
300
  thumb-up: "\e6bd",
301
301
  thumb-down: "\e6be",
302
302
  open-ai: "\e6bf",
303
+ n-dash: "\e6c0",
304
+ m-dash: "\e6c1",
305
+ thin_space: "\e6c2",
306
+ thin_space_alt: "\e6c3",
303
307
  );
304
308
 
305
309
  @each $name, $value in $sd-icon-font {
@@ -279,7 +279,7 @@
279
279
  z-index: 2;
280
280
  }
281
281
 
282
- .p-dialog .p-dialog-footer button {
282
+ .p-dialog .p-dialog-footer > button {
283
283
  margin: 0 0.5rem 0 0;
284
284
  width: auto;
285
285
  }
@@ -392,4 +392,4 @@
392
392
  z-index: 2;
393
393
  margin: calc(-1 * var(--dialog-content-padding));
394
394
  margin-block-end: 0;
395
- }
395
+ }
@@ -15,7 +15,7 @@ interface ICopyableTextBoxProps extends IInputCommon {
15
15
  */
16
16
  size?: 'medium' | 'large';
17
17
 
18
- disableCopyButton?: boolean;
18
+ disableCopyAndInfo?: boolean;
19
19
  toastMessagePosition?: Position;
20
20
  'data-test-id'?: string;
21
21
  }
@@ -69,7 +69,7 @@ export const CopyableTextBox: React.FC<ICopyableTextBoxProps> = (props) => {
69
69
  value={props.value}
70
70
  error={props.error}
71
71
  invalid={props.error != null}
72
- info={props.info}
72
+ info={props.disableCopyAndInfo ? undefined : props.info}
73
73
  size={props.size ?? 'medium'}
74
74
  fullWidth={true}
75
75
  htmlId={htmlId}
@@ -94,7 +94,7 @@ export const CopyableTextBox: React.FC<ICopyableTextBoxProps> = (props) => {
94
94
  icon={copied ? 'ok' : 'copy'}
95
95
  iconOnly={true}
96
96
  onClick={handleCopy}
97
- disabled={props.disableCopyButton}
97
+ disabled={props.disableCopyAndInfo}
98
98
  type="default"
99
99
  style="hollow"
100
100
  size={props.size === 'medium' ? 'normal' : (props.size ?? 'normal')}
@@ -12777,6 +12777,178 @@ doc-react-playground {
12777
12777
  --icon-base-size: 64px
12778
12778
  ; }
12779
12779
 
12780
+ .icon-n-dash:before {
12781
+ content: ""; }
12782
+
12783
+ .icon-n-dash.color--default {
12784
+ color: var(--color-icon-default); }
12785
+
12786
+ .icon-n-dash.color--primary {
12787
+ color: var(--sd-colour-primary) !important; }
12788
+
12789
+ .icon-n-dash.color--success {
12790
+ color: var(--sd-colour-success) !important; }
12791
+
12792
+ .icon-n-dash.color--warning {
12793
+ color: var(--sd-colour-warning) !important; }
12794
+
12795
+ .icon-n-dash.color--alert {
12796
+ color: var(--sd-colour-alert) !important; }
12797
+
12798
+ .icon-n-dash.color--highlight {
12799
+ color: var(--sd-colour-highlight) !important; }
12800
+
12801
+ .icon-n-dash.color--light {
12802
+ color: var(--color-text-subdued) !important; }
12803
+
12804
+ .icon-n-dash.color--white {
12805
+ color: #e2e5e9 !important; }
12806
+
12807
+ .icon-n-dash.scale--1\.5x {
12808
+ --icon-base-size: 24px
12809
+ ; }
12810
+
12811
+ .icon-n-dash.scale--2x {
12812
+ --icon-base-size: 32px
12813
+ ; }
12814
+
12815
+ .icon-n-dash.scale--3x {
12816
+ --icon-base-size: 48px
12817
+ ; }
12818
+
12819
+ .icon-n-dash.scale--4x {
12820
+ --icon-base-size: 64px
12821
+ ; }
12822
+
12823
+ .icon-m-dash:before {
12824
+ content: ""; }
12825
+
12826
+ .icon-m-dash.color--default {
12827
+ color: var(--color-icon-default); }
12828
+
12829
+ .icon-m-dash.color--primary {
12830
+ color: var(--sd-colour-primary) !important; }
12831
+
12832
+ .icon-m-dash.color--success {
12833
+ color: var(--sd-colour-success) !important; }
12834
+
12835
+ .icon-m-dash.color--warning {
12836
+ color: var(--sd-colour-warning) !important; }
12837
+
12838
+ .icon-m-dash.color--alert {
12839
+ color: var(--sd-colour-alert) !important; }
12840
+
12841
+ .icon-m-dash.color--highlight {
12842
+ color: var(--sd-colour-highlight) !important; }
12843
+
12844
+ .icon-m-dash.color--light {
12845
+ color: var(--color-text-subdued) !important; }
12846
+
12847
+ .icon-m-dash.color--white {
12848
+ color: #e2e5e9 !important; }
12849
+
12850
+ .icon-m-dash.scale--1\.5x {
12851
+ --icon-base-size: 24px
12852
+ ; }
12853
+
12854
+ .icon-m-dash.scale--2x {
12855
+ --icon-base-size: 32px
12856
+ ; }
12857
+
12858
+ .icon-m-dash.scale--3x {
12859
+ --icon-base-size: 48px
12860
+ ; }
12861
+
12862
+ .icon-m-dash.scale--4x {
12863
+ --icon-base-size: 64px
12864
+ ; }
12865
+
12866
+ .icon-thin_space:before {
12867
+ content: ""; }
12868
+
12869
+ .icon-thin_space.color--default {
12870
+ color: var(--color-icon-default); }
12871
+
12872
+ .icon-thin_space.color--primary {
12873
+ color: var(--sd-colour-primary) !important; }
12874
+
12875
+ .icon-thin_space.color--success {
12876
+ color: var(--sd-colour-success) !important; }
12877
+
12878
+ .icon-thin_space.color--warning {
12879
+ color: var(--sd-colour-warning) !important; }
12880
+
12881
+ .icon-thin_space.color--alert {
12882
+ color: var(--sd-colour-alert) !important; }
12883
+
12884
+ .icon-thin_space.color--highlight {
12885
+ color: var(--sd-colour-highlight) !important; }
12886
+
12887
+ .icon-thin_space.color--light {
12888
+ color: var(--color-text-subdued) !important; }
12889
+
12890
+ .icon-thin_space.color--white {
12891
+ color: #e2e5e9 !important; }
12892
+
12893
+ .icon-thin_space.scale--1\.5x {
12894
+ --icon-base-size: 24px
12895
+ ; }
12896
+
12897
+ .icon-thin_space.scale--2x {
12898
+ --icon-base-size: 32px
12899
+ ; }
12900
+
12901
+ .icon-thin_space.scale--3x {
12902
+ --icon-base-size: 48px
12903
+ ; }
12904
+
12905
+ .icon-thin_space.scale--4x {
12906
+ --icon-base-size: 64px
12907
+ ; }
12908
+
12909
+ .icon-thin_space_alt:before {
12910
+ content: ""; }
12911
+
12912
+ .icon-thin_space_alt.color--default {
12913
+ color: var(--color-icon-default); }
12914
+
12915
+ .icon-thin_space_alt.color--primary {
12916
+ color: var(--sd-colour-primary) !important; }
12917
+
12918
+ .icon-thin_space_alt.color--success {
12919
+ color: var(--sd-colour-success) !important; }
12920
+
12921
+ .icon-thin_space_alt.color--warning {
12922
+ color: var(--sd-colour-warning) !important; }
12923
+
12924
+ .icon-thin_space_alt.color--alert {
12925
+ color: var(--sd-colour-alert) !important; }
12926
+
12927
+ .icon-thin_space_alt.color--highlight {
12928
+ color: var(--sd-colour-highlight) !important; }
12929
+
12930
+ .icon-thin_space_alt.color--light {
12931
+ color: var(--color-text-subdued) !important; }
12932
+
12933
+ .icon-thin_space_alt.color--white {
12934
+ color: #e2e5e9 !important; }
12935
+
12936
+ .icon-thin_space_alt.scale--1\.5x {
12937
+ --icon-base-size: 24px
12938
+ ; }
12939
+
12940
+ .icon-thin_space_alt.scale--2x {
12941
+ --icon-base-size: 32px
12942
+ ; }
12943
+
12944
+ .icon-thin_space_alt.scale--3x {
12945
+ --icon-base-size: 48px
12946
+ ; }
12947
+
12948
+ .icon-thin_space_alt.scale--4x {
12949
+ --icon-base-size: 64px
12950
+ ; }
12951
+
12780
12952
  .icn-mix {
12781
12953
  position: relative;
12782
12954
  display: inline-flex !important;
@@ -102872,13 +102872,13 @@ var CopyableTextBox = function (props) {
102872
102872
  });
102873
102873
  });
102874
102874
  };
102875
- return (react_1.default.createElement(Form_1.InputWrapper, { label: props.label, disabled: props.disabled, value: props.value, error: props.error, invalid: props.error != null, info: props.info, size: (_a = props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: true, htmlId: htmlId, tabindex: props.tabindex },
102875
+ return (react_1.default.createElement(Form_1.InputWrapper, { label: props.label, disabled: props.disabled, value: props.value, error: props.error, invalid: props.error != null, info: props.disableCopyAndInfo ? undefined : props.info, size: (_a = props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: true, htmlId: htmlId, tabindex: props.tabindex },
102876
102876
  react_1.default.createElement("div", { className: "d-flex items-center gap-1" },
102877
102877
  react_1.default.createElement("input", { id: htmlId, "aria-describedby": htmlId + 'label', type: "text", className: "sd-input__input", style: {
102878
102878
  border: '1px solid var(--color-input-border)',
102879
102879
  borderRadius: 'var(--b-radius--medium)',
102880
102880
  }, value: props.value, disabled: true, "data-test-id": props['data-test-id'] }),
102881
- react_1.default.createElement(Button_1.Button, { text: (0, translations_1.gettext)('Copy'), icon: copied ? 'ok' : 'copy', iconOnly: true, onClick: handleCopy, disabled: props.disableCopyButton, type: "default", style: "hollow", size: props.size === 'medium' ? 'normal' : ((_b = props.size) !== null && _b !== void 0 ? _b : 'normal'), "data-test-id": "copy-button" }))));
102881
+ react_1.default.createElement(Button_1.Button, { text: (0, translations_1.gettext)('Copy'), icon: copied ? 'ok' : 'copy', iconOnly: true, onClick: handleCopy, disabled: props.disableCopyAndInfo, type: "default", style: "hollow", size: props.size === 'medium' ? 'normal' : ((_b = props.size) !== null && _b !== void 0 ? _b : 'normal'), "data-test-id": "copy-button" }))));
102882
102882
  };
102883
102883
  exports.CopyableTextBox = CopyableTextBox;
102884
102884
 
@@ -183039,7 +183039,7 @@ exports.default = IconFontDoc;
183039
183039
  /***/ (function(module, exports) {
183040
183040
 
183041
183041
  // removed by extract-text-webpack-plugin
183042
- module.exports = {"icon":"photo, video, map-marker, slideshow, text, file, calendar, composite, audio, stream, ingest, archive, time, pin, expand, ascending, descending, th, grid-view, th-list, list-view, pencil, lock, retweet, unspike, fullscreen, fetch-as, search, star, star-empty, multi-star, th-large, grid-view-large, ok, zoom-in, zoom-out, signal, filter-large, trash, user, download, upload, repeat, refresh, list-alt, plus-large, picture, question-sign, info-sign, plus-sign, minus-sign, remove-sign, share-alt, exclamation-sign, eye-open, copy, comment, warning-sign, adjust, folder-close, folder-open, download-alt, tasks, globe, link, expand-thin, assign, dots, dots-vertical, backward-thin, forward-thin, chevron-left-thin, chevron-right-thin, switches, plus-small, minus-small, close-small, post, external, chevron-up-thin, chevron-down-thin, pick, revert, package-plus, list-plus, envelope, heart, home, print, font, bold, italic, underline, strikethrough, align-left, align-center, align-right, align-justify, unordered-list, indent-left, indent-right, ban-circle, bell, random, settings, package-create, list-menu, new-doc, edit-line, calendar-list, collapse, broadcast, broadcast-create, kill, graphic, close-thick, move, takes-package, highlight-package, preview-mode, unlocked, code, cut, paste, arrow-left, arrow-right, info-large, help-large, attachment, attachment-large, table, ordered-list, heading-1, heading-2, heading-3, heading-4, heading-5, heading-6, quote, multiedit, phone, mobile, twitter, facebook, linked-in, twitter-circle, facebook-circle, linked-in-circle, recurring, paragraph, suggestion, event, kanban-view, subscript, superscript, clear-format, preformatted, crop, flip-horizontal, flip-vertical, rotate-right, rotate-left, business, paywall, analytics, amp, undo, redo, instagram, play, stop, pause, fast_rewind, fast_forward, skip_previous, skip_next, add-image, add-gallery, text-format, to-uppercase, to-lowercase, arrow-small, clear-all, rundown, photo-cancel, video-cancel, text-cancel, file-cancel, audio-cancel, list-alt-cancel, post-cancel, text-block, graphic-cancel, play-cancel, thumb-up, thumb-down, open-ai"};
183042
+ module.exports = {"icon":"photo, video, map-marker, slideshow, text, file, calendar, composite, audio, stream, ingest, archive, time, pin, expand, ascending, descending, th, grid-view, th-list, list-view, pencil, lock, retweet, unspike, fullscreen, fetch-as, search, star, star-empty, multi-star, th-large, grid-view-large, ok, zoom-in, zoom-out, signal, filter-large, trash, user, download, upload, repeat, refresh, list-alt, plus-large, picture, question-sign, info-sign, plus-sign, minus-sign, remove-sign, share-alt, exclamation-sign, eye-open, copy, comment, warning-sign, adjust, folder-close, folder-open, download-alt, tasks, globe, link, expand-thin, assign, dots, dots-vertical, backward-thin, forward-thin, chevron-left-thin, chevron-right-thin, switches, plus-small, minus-small, close-small, post, external, chevron-up-thin, chevron-down-thin, pick, revert, package-plus, list-plus, envelope, heart, home, print, font, bold, italic, underline, strikethrough, align-left, align-center, align-right, align-justify, unordered-list, indent-left, indent-right, ban-circle, bell, random, settings, package-create, list-menu, new-doc, edit-line, calendar-list, collapse, broadcast, broadcast-create, kill, graphic, close-thick, move, takes-package, highlight-package, preview-mode, unlocked, code, cut, paste, arrow-left, arrow-right, info-large, help-large, attachment, attachment-large, table, ordered-list, heading-1, heading-2, heading-3, heading-4, heading-5, heading-6, quote, multiedit, phone, mobile, twitter, facebook, linked-in, twitter-circle, facebook-circle, linked-in-circle, recurring, paragraph, suggestion, event, kanban-view, subscript, superscript, clear-format, preformatted, crop, flip-horizontal, flip-vertical, rotate-right, rotate-left, business, paywall, analytics, amp, undo, redo, instagram, play, stop, pause, fast_rewind, fast_forward, skip_previous, skip_next, add-image, add-gallery, text-format, to-uppercase, to-lowercase, arrow-small, clear-all, rundown, photo-cancel, video-cancel, text-cancel, file-cancel, audio-cancel, list-alt-cancel, post-cancel, text-block, graphic-cancel, play-cancel, thumb-up, thumb-down, open-ai, n-dash, m-dash, thin_space, thin_space_alt"};
183043
183043
 
183044
183044
  /***/ }),
183045
183045
  /* 998 */
@@ -198815,7 +198815,7 @@ exports.ThreePaneLayoutPattern = ThreePaneLayoutPattern;
198815
198815
  /* 1070 */
198816
198816
  /***/ (function(module, exports) {
198817
198817
 
198818
- module.exports = {"name":"superdesk-ui-framework","version":"6.0.3","license":"AGPL-3.0","repository":{"type":"git","url":"https://github.com/superdesk/superdesk-ui-framework.git"},"main":"dist/superdesk-ui.bundle.js","types":"react/index.d.ts","contributors":["Nemanja Pavlovic","Vladimir Stefanovic","Darko Tomic","Aleksandar Jelicic","Tomas Kikutis","Dragana Zivkovic","Konstantin Markov","Helmy Giacoman"],"scripts":{"start":"webpack-dev-server --config tasks/webpack.dev.js","watch":"webpack --watch --config tasks/webpack.prod.js & tsc --watch","build":"tsc -p tsconfig.json --noEmit && webpack --config tasks/webpack.prod.js && tsc","build-ui":"webpack && tsc && npm run lint","playground-lint":"tsc -p examples/pages/playgrounds/react-playgrounds --noEmit","format-code":"npx prettier . --write","lint":"tsc -p tsconfig.json --noEmit && npx prettier . --check && eslint --parser=@typescript-eslint/parser app && tslint -c tslint.json 'app-typescript/**/*.{ts,tsx}' && npm run playground-lint && npm run unit-test","lint-fix":"tsc -p tsconfig.json --noEmit && tslint --fix -c tslint.json 'app-typescript/**/*.{ts,tsx}'","prepublishOnly":"npm run build","unit-test":"mocha","debug-unit-tests":"mocha --inspect-brk"},"devDependencies":{"@types/assert":"^1.5.6","@types/chart.js":"^2.9.24","@types/classnames":"^2.2.9","@types/enzyme":"^3.10.12","@types/enzyme-adapter-react-16":"^1.0.6","@types/lodash":"^4.14.161","@types/mocha":"^9.1.1","@types/react":"16.8.23","@types/react-beautiful-dnd":"^13.1.2","@types/react-dom":"16.8.0","@types/react-router-dom":"^5.1.2","@types/react-scrollspy":"^3.3.5","@typescript-eslint/parser":"^5.58.0","angular":"^1.7.9","angular-animate":"^1.7.9","angular-route":"^1.7.9","classnames":"^2.2.5","clean-webpack-plugin":"^1.0.0","code-prettify":"^0.1.0","copy-webpack-plugin":"^4.6.0","css-loader":"^2.1.1","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.7","eslint":"^4.6.1","eslint-loader":"^1.9.0","eslint-plugin-angular":"^3.1.1","eslint-plugin-react":"^7.3.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^0.11.2","html-loader":"^0.5.1","html-webpack-plugin":"^2.30.1","jquery":"^3.1.1","jquery-ui":"^1.12.1","jsdom":"20.0.3","jsdom-global":"3.0.2","lodash":"4.17.21","mocha":"^8.4.0","moment":"^2.29.3","node-sass":"6.0","prettier":"3.5.3","prismjs":"^1.28.0","prop-types":"^15.6.0","react":"16.8.6","react-dom":"16.8.6","react-redux":"^5.0.6","react-router-dom":"^5.1.2","redux":"^3.7.2","redux-form":"^7.0.4","sass-loader":"^6.0.6","style-loader":"^0.18.2","superdesk-code-style":"^1.1.2","ts-loader":"^6.0.2","ts-node":"^10.9.1","tslint":"^5.18.0","typescript":"^5.8.3","url-loader":"^1.1.2","webpack":"^3.5.5","webpack-cli":"3.3.10","webpack-dev-server":"2.11.1","webpack-merge":"^4.2.1"},"dependencies":{"@popperjs/core":"^2.4.0","@sourcefabric/common":"0.0.66","@superdesk/primereact":"^5.0.2-16","@superdesk/react-resizable-panels":"0.0.39","chart.js":"^2.9.3","date-fns":"^4.1.0","popper-max-size-modifier":"^0.2.0","popper.js":"1.14.4","primeicons":"2.0.0","react-beautiful-dnd":"^13.0.0","react-id-generator":"^3.0.0","react-scrollspy":"^3.4.3","weekstart":"^2.0.0"},"peerDependencies":{"moment":"*"},"volta":{"node":"14.21.3"}}
198818
+ module.exports = {"name":"superdesk-ui-framework","version":"6.0.5","license":"AGPL-3.0","repository":{"type":"git","url":"https://github.com/superdesk/superdesk-ui-framework.git"},"main":"dist/superdesk-ui.bundle.js","types":"react/index.d.ts","contributors":["Nemanja Pavlovic","Vladimir Stefanovic","Darko Tomic","Aleksandar Jelicic","Tomas Kikutis","Dragana Zivkovic","Konstantin Markov","Helmy Giacoman"],"scripts":{"start":"webpack-dev-server --config tasks/webpack.dev.js","watch":"webpack --watch --config tasks/webpack.prod.js & tsc --watch","build":"tsc -p tsconfig.json --noEmit && webpack --config tasks/webpack.prod.js && tsc","build-ui":"webpack && tsc && npm run lint","playground-lint":"tsc -p examples/pages/playgrounds/react-playgrounds --noEmit","format-code":"npx prettier . --write","lint":"tsc -p tsconfig.json --noEmit && npx prettier . --check && eslint --parser=@typescript-eslint/parser app && tslint -c tslint.json 'app-typescript/**/*.{ts,tsx}' && npm run playground-lint && npm run unit-test","lint-fix":"tsc -p tsconfig.json --noEmit && tslint --fix -c tslint.json 'app-typescript/**/*.{ts,tsx}'","prepublishOnly":"npm run build","unit-test":"mocha","debug-unit-tests":"mocha --inspect-brk"},"devDependencies":{"@types/assert":"^1.5.6","@types/chart.js":"^2.9.24","@types/classnames":"^2.2.9","@types/enzyme":"^3.10.12","@types/enzyme-adapter-react-16":"^1.0.6","@types/lodash":"^4.14.161","@types/mocha":"^9.1.1","@types/react":"16.8.23","@types/react-beautiful-dnd":"^13.1.2","@types/react-dom":"16.8.0","@types/react-router-dom":"^5.1.2","@types/react-scrollspy":"^3.3.5","@typescript-eslint/parser":"^5.58.0","angular":"^1.7.9","angular-animate":"^1.7.9","angular-route":"^1.7.9","classnames":"^2.2.5","clean-webpack-plugin":"^1.0.0","code-prettify":"^0.1.0","copy-webpack-plugin":"^4.6.0","css-loader":"^2.1.1","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.7","eslint":"^4.6.1","eslint-loader":"^1.9.0","eslint-plugin-angular":"^3.1.1","eslint-plugin-react":"^7.3.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^0.11.2","html-loader":"^0.5.1","html-webpack-plugin":"^2.30.1","jquery":"^3.1.1","jquery-ui":"^1.12.1","jsdom":"20.0.3","jsdom-global":"3.0.2","lodash":"4.17.21","mocha":"^8.4.0","moment":"^2.29.3","node-sass":"6.0","prettier":"3.5.3","prismjs":"^1.28.0","prop-types":"^15.6.0","react":"16.8.6","react-dom":"16.8.6","react-redux":"^5.0.6","react-router-dom":"^5.1.2","redux":"^3.7.2","redux-form":"^7.0.4","sass-loader":"^6.0.6","style-loader":"^0.18.2","superdesk-code-style":"^1.1.2","ts-loader":"^6.0.2","ts-node":"^10.9.1","tslint":"^5.18.0","typescript":"^5.8.3","url-loader":"^1.1.2","webpack":"^3.5.5","webpack-cli":"3.3.10","webpack-dev-server":"2.11.1","webpack-merge":"^4.2.1"},"dependencies":{"@popperjs/core":"^2.4.0","@sourcefabric/common":"0.0.66","@superdesk/primereact":"^5.0.2-16","@superdesk/react-resizable-panels":"0.0.39","chart.js":"^2.9.3","date-fns":"^4.1.0","popper-max-size-modifier":"^0.2.0","popper.js":"1.14.4","primeicons":"2.0.0","react-beautiful-dnd":"^13.0.0","react-id-generator":"^3.0.0","react-scrollspy":"^3.4.3","weekstart":"^2.0.0"},"peerDependencies":{"moment":"*"},"volta":{"node":"14.21.3"}}
198819
198819
 
198820
198820
  /***/ }),
198821
198821
  /* 1071 */
package/dist/sd_icons.eot CHANGED
Binary file
package/dist/sd_icons.svg CHANGED
@@ -199,4 +199,8 @@
199
199
  <glyph unicode="&#xe6bd;" glyph-name="thumb-up" d="M401.454 64h302.546c40.288 0 78.226 18.968 102.4 51.2l128 170.666c16.618 22.158 25.6 49.106 25.6 76.8v130.134c0 45.76-36.654 83.2-81.454 83.2h-256.99l39.914 232.224c0 17.056-6.924 32.864-17.92 44.096l-43.172 43.68c-44.686-47.712-166.516-188.124-233.942-266.16-30.038-34.764-46.436-79.106-46.436-125.048v-357.592c0-45.76 36.654-83.2 81.454-83.2zM224 64c17.674 0 32 14.326 32 32v448c0 17.674-14.326 32-32 32h-128c-17.673 0-32-14.326-32-32v-448c0-17.674 14.327-32 32-32z" />
200
200
  <glyph unicode="&#xe6be;" glyph-name="thumb-down" d="M622.546 832h-302.546c-40.288 0-78.226-18.969-102.4-51.2l-128-170.666c-16.617-22.156-25.6-49.106-25.6-76.8v-130.134c0-45.76 36.655-83.2 81.455-83.2h256.989l-39.914-232.224c0-17.056 6.924-32.864 17.92-44.096l43.172-43.68c44.686 47.712 166.516 188.124 233.942 266.16 30.038 34.764 46.436 79.106 46.436 125.048v357.592c0 45.76-36.654 83.2-81.454 83.2zM800 832c-17.674 0-32-14.327-32-32v-448c0-17.674 14.326-32 32-32h128c17.674 0 32 14.326 32 32v448c0 17.673-14.326 32-32 32z" />
201
201
  <glyph unicode="&#xe6bf;" glyph-name="open-ai" d="M956.774 540.898c23.4 69.776 15.25 146.036-22.35 209.586-56.528 97.272-170.376 147.334-281.594 123.73-62.576 68.738-157.756 99.346-249.254 80.151s-165.906-85.080-195.090-172.753c-73.094-14.785-135.933-59.92-173.006-123.73-57.318-97.010-44.172-219.442 32.077-302.706-23.663-69.776-15.513-146.038 22.086-209.588 56.792-97.27 170.639-147.334 281.857-123.728 49.43-54.992 120.42-86.118 195.090-85.858 113.848 0 214.812 72.37 249.518 179.498 73.094 14.784 135.932 59.918 173.006 123.728 56.528 96.752 43.382 218.666-32.34 301.67zM566.59 2.924c-45.486 0-89.394 15.564-124.364 44.356l6.048 3.372 206.66 117.762c10.518 5.966 16.828 17.12 17.090 29.052v287.664l87.292-49.804c0.788-0.518 1.578-1.296 1.578-2.334v-238.12c-0.264-106.090-87.030-191.688-194.304-191.948zM148.801 179.050c-22.875 38.908-31.025 84.302-23.138 128.656l6.047-3.63 206.923-117.764c10.516-5.966 23.4-5.966 33.654 0l252.672 143.702v-99.606c0-1.036-0.526-2.074-1.314-2.594l-209.29-119.058c-93.076-52.916-211.918-21.53-265.555 70.294zM94.113 623.124c22.875 39.168 59.158 68.998 102.278 84.302v-242.27c-0.263-11.932 6.311-23.086 16.827-28.792l251.358-143.184-87.292-49.802c-1.052-0.518-2.104-0.518-3.156 0l-209.025 118.8c-92.813 53.176-124.627 170.16-71.253 261.984v-1.038zM812.164 458.672l-252.41 144.48 87.292 49.542c1.052 0.52 2.104 0.52 3.156 0l209.026-119.058c65.206-37.094 102.804-108.166 96.494-182.092s-55.214-137.736-125.942-163.676v242.27c-0.526 11.932-7.098 22.568-17.616 28.534zM898.93 587.588l-6.048 3.632-206.396 118.8c-10.518 5.966-23.402 5.966-33.918 0l-252.41-143.702v99.606c0 1.038 0.264 2.074 1.316 2.594l209.026 118.8c65.468 37.093 146.712 33.721 208.5-8.819s93.338-116.725 80.456-189.873v-1.038zM352.306 411.204l-87.292 49.542c-0.788 0.52-1.576 1.298-1.576 2.336v237.6c0 74.445 43.644 142.145 112.006 173.532 68.36 31.646 148.816 21.27 206.922-26.198l-6.046-3.372-206.66-117.763c-10.518-5.966-16.828-17.12-17.092-29.052zM399.632 512.106l112.534 64.068 112.794-64.068v-127.88l-112.268-64.068-112.796 64.068z" />
202
+ <glyph unicode="&#xe6c0;" glyph-name="n-dash" d="M192 512h640v-128h-640v128z" />
203
+ <glyph unicode="&#xe6c1;" glyph-name="m-dash" d="M64 512h896v-128h-896v128z" />
204
+ <glyph unicode="&#xe6c2;" glyph-name="thin_space" d="M192 128v256h128v-128h384v128h128v-256h-640z" />
205
+ <glyph unicode="&#xe6c3;" glyph-name="thin_space_alt" d="M256 768h-128v64h320v-64h-128v-256h-64zM576.030 64v320h256c16.974 0 33.252-6.743 45.254-18.746 12.004-12.002 18.746-28.282 18.746-45.254v-64.075c0-35.305-28.62-63.925-63.925-63.925h-192.075v-128zM640.030 256h181.999c5.523 0 10.001 4.478 10.001 10.001v43.998c0 5.523-4.478 10.001-10.001 10.001h-181.999zM640.31 640v-128h-64v320h64v-128h190.734v128h64v-320h-64v128zM192 192.857c-16.974 0-33.252 6.741-45.256 18.746-12.002 12.002-18.744 28.279-18.744 45.254v63.142c0 16.973 6.742 33.252 18.744 45.254 12.004 12.002 28.282 18.746 45.256 18.746h256l-32-64h-214.001c-5.521 0-9.999-4.478-9.999-10.001v-43.142c0-5.523 4.478-9.999 9.999-9.999h182.001c16.974 0 33.252-6.743 45.256-18.746 12.002-12.002 18.744-28.282 18.744-45.254v-64c0-16.975-6.742-33.252-18.744-45.254-12.004-12.004-28.282-18.746-45.256-18.746h-256l32 64h214.001c5.521 0 9.999 4.476 9.999 9.999v44c0 5.523-4.478 10.001-9.999 10.001zM192 192.857c-16.974 0-33.252 6.741-45.256 18.746-12.002 12.002-18.744 28.279-18.744 45.254v63.142c0 16.973 6.742 33.252 18.744 45.254 12.004 12.002 28.282 18.746 45.256 18.746h256l-32-64h-214.001c-5.521 0-9.999-4.478-9.999-10.001v-43.142c0-5.523 4.478-9.999 9.999-9.999h182.001c16.974 0 33.252-6.743 45.256-18.746 12.002-12.002 18.744-28.282 18.744-45.254v-64c0-16.975-6.742-33.252-18.744-45.254-12.004-12.004-28.282-18.746-45.256-18.746h-256l32 64h214.001c5.521 0 9.999 4.476 9.999 9.999v44c0 5.523-4.478 10.001-9.999 10.001zM640.31 640v-128h-64v320h64v-128h190.734v128h64v-320h-64v128zM576.030 64v320h256c16.974 0 33.252-6.743 45.254-18.746 12.004-12.002 18.746-28.282 18.746-45.254v-64.075c0-35.305-28.62-63.925-63.925-63.925h-192.075v-128zM640.030 256h181.999c5.523 0 10.001 4.478 10.001 10.001v43.998c0 5.523-4.478 10.001-10.001 10.001h-181.999zM256 768h-128v64h320v-64h-128v-256h-64z" />
202
206
  </font></defs></svg>
package/dist/sd_icons.ttf CHANGED
Binary file
Binary file
@@ -20519,6 +20519,178 @@ a.label {
20519
20519
  --icon-base-size: 64px
20520
20520
  ; }
20521
20521
 
20522
+ .icon-n-dash:before {
20523
+ content: ""; }
20524
+
20525
+ .icon-n-dash.color--default {
20526
+ color: var(--color-icon-default); }
20527
+
20528
+ .icon-n-dash.color--primary {
20529
+ color: var(--sd-colour-primary) !important; }
20530
+
20531
+ .icon-n-dash.color--success {
20532
+ color: var(--sd-colour-success) !important; }
20533
+
20534
+ .icon-n-dash.color--warning {
20535
+ color: var(--sd-colour-warning) !important; }
20536
+
20537
+ .icon-n-dash.color--alert {
20538
+ color: var(--sd-colour-alert) !important; }
20539
+
20540
+ .icon-n-dash.color--highlight {
20541
+ color: var(--sd-colour-highlight) !important; }
20542
+
20543
+ .icon-n-dash.color--light {
20544
+ color: var(--color-text-subdued) !important; }
20545
+
20546
+ .icon-n-dash.color--white {
20547
+ color: #e2e5e9 !important; }
20548
+
20549
+ .icon-n-dash.scale--1\.5x {
20550
+ --icon-base-size: 24px
20551
+ ; }
20552
+
20553
+ .icon-n-dash.scale--2x {
20554
+ --icon-base-size: 32px
20555
+ ; }
20556
+
20557
+ .icon-n-dash.scale--3x {
20558
+ --icon-base-size: 48px
20559
+ ; }
20560
+
20561
+ .icon-n-dash.scale--4x {
20562
+ --icon-base-size: 64px
20563
+ ; }
20564
+
20565
+ .icon-m-dash:before {
20566
+ content: ""; }
20567
+
20568
+ .icon-m-dash.color--default {
20569
+ color: var(--color-icon-default); }
20570
+
20571
+ .icon-m-dash.color--primary {
20572
+ color: var(--sd-colour-primary) !important; }
20573
+
20574
+ .icon-m-dash.color--success {
20575
+ color: var(--sd-colour-success) !important; }
20576
+
20577
+ .icon-m-dash.color--warning {
20578
+ color: var(--sd-colour-warning) !important; }
20579
+
20580
+ .icon-m-dash.color--alert {
20581
+ color: var(--sd-colour-alert) !important; }
20582
+
20583
+ .icon-m-dash.color--highlight {
20584
+ color: var(--sd-colour-highlight) !important; }
20585
+
20586
+ .icon-m-dash.color--light {
20587
+ color: var(--color-text-subdued) !important; }
20588
+
20589
+ .icon-m-dash.color--white {
20590
+ color: #e2e5e9 !important; }
20591
+
20592
+ .icon-m-dash.scale--1\.5x {
20593
+ --icon-base-size: 24px
20594
+ ; }
20595
+
20596
+ .icon-m-dash.scale--2x {
20597
+ --icon-base-size: 32px
20598
+ ; }
20599
+
20600
+ .icon-m-dash.scale--3x {
20601
+ --icon-base-size: 48px
20602
+ ; }
20603
+
20604
+ .icon-m-dash.scale--4x {
20605
+ --icon-base-size: 64px
20606
+ ; }
20607
+
20608
+ .icon-thin_space:before {
20609
+ content: ""; }
20610
+
20611
+ .icon-thin_space.color--default {
20612
+ color: var(--color-icon-default); }
20613
+
20614
+ .icon-thin_space.color--primary {
20615
+ color: var(--sd-colour-primary) !important; }
20616
+
20617
+ .icon-thin_space.color--success {
20618
+ color: var(--sd-colour-success) !important; }
20619
+
20620
+ .icon-thin_space.color--warning {
20621
+ color: var(--sd-colour-warning) !important; }
20622
+
20623
+ .icon-thin_space.color--alert {
20624
+ color: var(--sd-colour-alert) !important; }
20625
+
20626
+ .icon-thin_space.color--highlight {
20627
+ color: var(--sd-colour-highlight) !important; }
20628
+
20629
+ .icon-thin_space.color--light {
20630
+ color: var(--color-text-subdued) !important; }
20631
+
20632
+ .icon-thin_space.color--white {
20633
+ color: #e2e5e9 !important; }
20634
+
20635
+ .icon-thin_space.scale--1\.5x {
20636
+ --icon-base-size: 24px
20637
+ ; }
20638
+
20639
+ .icon-thin_space.scale--2x {
20640
+ --icon-base-size: 32px
20641
+ ; }
20642
+
20643
+ .icon-thin_space.scale--3x {
20644
+ --icon-base-size: 48px
20645
+ ; }
20646
+
20647
+ .icon-thin_space.scale--4x {
20648
+ --icon-base-size: 64px
20649
+ ; }
20650
+
20651
+ .icon-thin_space_alt:before {
20652
+ content: ""; }
20653
+
20654
+ .icon-thin_space_alt.color--default {
20655
+ color: var(--color-icon-default); }
20656
+
20657
+ .icon-thin_space_alt.color--primary {
20658
+ color: var(--sd-colour-primary) !important; }
20659
+
20660
+ .icon-thin_space_alt.color--success {
20661
+ color: var(--sd-colour-success) !important; }
20662
+
20663
+ .icon-thin_space_alt.color--warning {
20664
+ color: var(--sd-colour-warning) !important; }
20665
+
20666
+ .icon-thin_space_alt.color--alert {
20667
+ color: var(--sd-colour-alert) !important; }
20668
+
20669
+ .icon-thin_space_alt.color--highlight {
20670
+ color: var(--sd-colour-highlight) !important; }
20671
+
20672
+ .icon-thin_space_alt.color--light {
20673
+ color: var(--color-text-subdued) !important; }
20674
+
20675
+ .icon-thin_space_alt.color--white {
20676
+ color: #e2e5e9 !important; }
20677
+
20678
+ .icon-thin_space_alt.scale--1\.5x {
20679
+ --icon-base-size: 24px
20680
+ ; }
20681
+
20682
+ .icon-thin_space_alt.scale--2x {
20683
+ --icon-base-size: 32px
20684
+ ; }
20685
+
20686
+ .icon-thin_space_alt.scale--3x {
20687
+ --icon-base-size: 48px
20688
+ ; }
20689
+
20690
+ .icon-thin_space_alt.scale--4x {
20691
+ --icon-base-size: 64px
20692
+ ; }
20693
+
20522
20694
  .icn-mix {
20523
20695
  position: relative;
20524
20696
  display: inline-flex !important;
@@ -54376,6 +54548,178 @@ i.sd-sidetab-menu__helper-icon {
54376
54548
  --icon-base-size: 64px
54377
54549
  ; }
54378
54550
 
54551
+ .icon-n-dash:before {
54552
+ content: ""; }
54553
+
54554
+ .icon-n-dash.color--default {
54555
+ color: var(--color-icon-default); }
54556
+
54557
+ .icon-n-dash.color--primary {
54558
+ color: var(--sd-colour-primary) !important; }
54559
+
54560
+ .icon-n-dash.color--success {
54561
+ color: var(--sd-colour-success) !important; }
54562
+
54563
+ .icon-n-dash.color--warning {
54564
+ color: var(--sd-colour-warning) !important; }
54565
+
54566
+ .icon-n-dash.color--alert {
54567
+ color: var(--sd-colour-alert) !important; }
54568
+
54569
+ .icon-n-dash.color--highlight {
54570
+ color: var(--sd-colour-highlight) !important; }
54571
+
54572
+ .icon-n-dash.color--light {
54573
+ color: var(--color-text-subdued) !important; }
54574
+
54575
+ .icon-n-dash.color--white {
54576
+ color: #e2e5e9 !important; }
54577
+
54578
+ .icon-n-dash.scale--1\.5x {
54579
+ --icon-base-size: 24px
54580
+ ; }
54581
+
54582
+ .icon-n-dash.scale--2x {
54583
+ --icon-base-size: 32px
54584
+ ; }
54585
+
54586
+ .icon-n-dash.scale--3x {
54587
+ --icon-base-size: 48px
54588
+ ; }
54589
+
54590
+ .icon-n-dash.scale--4x {
54591
+ --icon-base-size: 64px
54592
+ ; }
54593
+
54594
+ .icon-m-dash:before {
54595
+ content: ""; }
54596
+
54597
+ .icon-m-dash.color--default {
54598
+ color: var(--color-icon-default); }
54599
+
54600
+ .icon-m-dash.color--primary {
54601
+ color: var(--sd-colour-primary) !important; }
54602
+
54603
+ .icon-m-dash.color--success {
54604
+ color: var(--sd-colour-success) !important; }
54605
+
54606
+ .icon-m-dash.color--warning {
54607
+ color: var(--sd-colour-warning) !important; }
54608
+
54609
+ .icon-m-dash.color--alert {
54610
+ color: var(--sd-colour-alert) !important; }
54611
+
54612
+ .icon-m-dash.color--highlight {
54613
+ color: var(--sd-colour-highlight) !important; }
54614
+
54615
+ .icon-m-dash.color--light {
54616
+ color: var(--color-text-subdued) !important; }
54617
+
54618
+ .icon-m-dash.color--white {
54619
+ color: #e2e5e9 !important; }
54620
+
54621
+ .icon-m-dash.scale--1\.5x {
54622
+ --icon-base-size: 24px
54623
+ ; }
54624
+
54625
+ .icon-m-dash.scale--2x {
54626
+ --icon-base-size: 32px
54627
+ ; }
54628
+
54629
+ .icon-m-dash.scale--3x {
54630
+ --icon-base-size: 48px
54631
+ ; }
54632
+
54633
+ .icon-m-dash.scale--4x {
54634
+ --icon-base-size: 64px
54635
+ ; }
54636
+
54637
+ .icon-thin_space:before {
54638
+ content: ""; }
54639
+
54640
+ .icon-thin_space.color--default {
54641
+ color: var(--color-icon-default); }
54642
+
54643
+ .icon-thin_space.color--primary {
54644
+ color: var(--sd-colour-primary) !important; }
54645
+
54646
+ .icon-thin_space.color--success {
54647
+ color: var(--sd-colour-success) !important; }
54648
+
54649
+ .icon-thin_space.color--warning {
54650
+ color: var(--sd-colour-warning) !important; }
54651
+
54652
+ .icon-thin_space.color--alert {
54653
+ color: var(--sd-colour-alert) !important; }
54654
+
54655
+ .icon-thin_space.color--highlight {
54656
+ color: var(--sd-colour-highlight) !important; }
54657
+
54658
+ .icon-thin_space.color--light {
54659
+ color: var(--color-text-subdued) !important; }
54660
+
54661
+ .icon-thin_space.color--white {
54662
+ color: #e2e5e9 !important; }
54663
+
54664
+ .icon-thin_space.scale--1\.5x {
54665
+ --icon-base-size: 24px
54666
+ ; }
54667
+
54668
+ .icon-thin_space.scale--2x {
54669
+ --icon-base-size: 32px
54670
+ ; }
54671
+
54672
+ .icon-thin_space.scale--3x {
54673
+ --icon-base-size: 48px
54674
+ ; }
54675
+
54676
+ .icon-thin_space.scale--4x {
54677
+ --icon-base-size: 64px
54678
+ ; }
54679
+
54680
+ .icon-thin_space_alt:before {
54681
+ content: ""; }
54682
+
54683
+ .icon-thin_space_alt.color--default {
54684
+ color: var(--color-icon-default); }
54685
+
54686
+ .icon-thin_space_alt.color--primary {
54687
+ color: var(--sd-colour-primary) !important; }
54688
+
54689
+ .icon-thin_space_alt.color--success {
54690
+ color: var(--sd-colour-success) !important; }
54691
+
54692
+ .icon-thin_space_alt.color--warning {
54693
+ color: var(--sd-colour-warning) !important; }
54694
+
54695
+ .icon-thin_space_alt.color--alert {
54696
+ color: var(--sd-colour-alert) !important; }
54697
+
54698
+ .icon-thin_space_alt.color--highlight {
54699
+ color: var(--sd-colour-highlight) !important; }
54700
+
54701
+ .icon-thin_space_alt.color--light {
54702
+ color: var(--color-text-subdued) !important; }
54703
+
54704
+ .icon-thin_space_alt.color--white {
54705
+ color: #e2e5e9 !important; }
54706
+
54707
+ .icon-thin_space_alt.scale--1\.5x {
54708
+ --icon-base-size: 24px
54709
+ ; }
54710
+
54711
+ .icon-thin_space_alt.scale--2x {
54712
+ --icon-base-size: 32px
54713
+ ; }
54714
+
54715
+ .icon-thin_space_alt.scale--3x {
54716
+ --icon-base-size: 48px
54717
+ ; }
54718
+
54719
+ .icon-thin_space_alt.scale--4x {
54720
+ --icon-base-size: 64px
54721
+ ; }
54722
+
54379
54723
  .icn-mix {
54380
54724
  position: relative;
54381
54725
  display: inline-flex !important;
@@ -55883,7 +56227,7 @@ i.sd-sidetab-menu__helper-icon {
55883
56227
  position: relative;
55884
56228
  z-index: 2; }
55885
56229
 
55886
- .p-dialog .p-dialog-footer button {
56230
+ .p-dialog .p-dialog-footer > button {
55887
56231
  margin: 0 0.5rem 0 0;
55888
56232
  width: auto; }
55889
56233
 
@@ -102219,13 +102219,13 @@ var CopyableTextBox = function (props) {
102219
102219
  });
102220
102220
  });
102221
102221
  };
102222
- return (react_1.default.createElement(Form_1.InputWrapper, { label: props.label, disabled: props.disabled, value: props.value, error: props.error, invalid: props.error != null, info: props.info, size: (_a = props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: true, htmlId: htmlId, tabindex: props.tabindex },
102222
+ return (react_1.default.createElement(Form_1.InputWrapper, { label: props.label, disabled: props.disabled, value: props.value, error: props.error, invalid: props.error != null, info: props.disableCopyAndInfo ? undefined : props.info, size: (_a = props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: true, htmlId: htmlId, tabindex: props.tabindex },
102223
102223
  react_1.default.createElement("div", { className: "d-flex items-center gap-1" },
102224
102224
  react_1.default.createElement("input", { id: htmlId, "aria-describedby": htmlId + 'label', type: "text", className: "sd-input__input", style: {
102225
102225
  border: '1px solid var(--color-input-border)',
102226
102226
  borderRadius: 'var(--b-radius--medium)',
102227
102227
  }, value: props.value, disabled: true, "data-test-id": props['data-test-id'] }),
102228
- react_1.default.createElement(Button_1.Button, { text: (0, translations_1.gettext)('Copy'), icon: copied ? 'ok' : 'copy', iconOnly: true, onClick: handleCopy, disabled: props.disableCopyButton, type: "default", style: "hollow", size: props.size === 'medium' ? 'normal' : ((_b = props.size) !== null && _b !== void 0 ? _b : 'normal'), "data-test-id": "copy-button" }))));
102228
+ react_1.default.createElement(Button_1.Button, { text: (0, translations_1.gettext)('Copy'), icon: copied ? 'ok' : 'copy', iconOnly: true, onClick: handleCopy, disabled: props.disableCopyAndInfo, type: "default", style: "hollow", size: props.size === 'medium' ? 'normal' : ((_b = props.size) !== null && _b !== void 0 ? _b : 'normal'), "data-test-id": "copy-button" }))));
102229
102229
  };
102230
102230
  exports.CopyableTextBox = CopyableTextBox;
102231
102231
 
@@ -170958,7 +170958,7 @@ __webpack_require__(1147);
170958
170958
  /***/ (function(module, exports) {
170959
170959
 
170960
170960
  // removed by extract-text-webpack-plugin
170961
- module.exports = {"icon":"photo, video, map-marker, slideshow, text, file, calendar, composite, audio, stream, ingest, archive, time, pin, expand, ascending, descending, th, grid-view, th-list, list-view, pencil, lock, retweet, unspike, fullscreen, fetch-as, search, star, star-empty, multi-star, th-large, grid-view-large, ok, zoom-in, zoom-out, signal, filter-large, trash, user, download, upload, repeat, refresh, list-alt, plus-large, picture, question-sign, info-sign, plus-sign, minus-sign, remove-sign, share-alt, exclamation-sign, eye-open, copy, comment, warning-sign, adjust, folder-close, folder-open, download-alt, tasks, globe, link, expand-thin, assign, dots, dots-vertical, backward-thin, forward-thin, chevron-left-thin, chevron-right-thin, switches, plus-small, minus-small, close-small, post, external, chevron-up-thin, chevron-down-thin, pick, revert, package-plus, list-plus, envelope, heart, home, print, font, bold, italic, underline, strikethrough, align-left, align-center, align-right, align-justify, unordered-list, indent-left, indent-right, ban-circle, bell, random, settings, package-create, list-menu, new-doc, edit-line, calendar-list, collapse, broadcast, broadcast-create, kill, graphic, close-thick, move, takes-package, highlight-package, preview-mode, unlocked, code, cut, paste, arrow-left, arrow-right, info-large, help-large, attachment, attachment-large, table, ordered-list, heading-1, heading-2, heading-3, heading-4, heading-5, heading-6, quote, multiedit, phone, mobile, twitter, facebook, linked-in, twitter-circle, facebook-circle, linked-in-circle, recurring, paragraph, suggestion, event, kanban-view, subscript, superscript, clear-format, preformatted, crop, flip-horizontal, flip-vertical, rotate-right, rotate-left, business, paywall, analytics, amp, undo, redo, instagram, play, stop, pause, fast_rewind, fast_forward, skip_previous, skip_next, add-image, add-gallery, text-format, to-uppercase, to-lowercase, arrow-small, clear-all, rundown, photo-cancel, video-cancel, text-cancel, file-cancel, audio-cancel, list-alt-cancel, post-cancel, text-block, graphic-cancel, play-cancel, thumb-up, thumb-down, open-ai"};
170961
+ module.exports = {"icon":"photo, video, map-marker, slideshow, text, file, calendar, composite, audio, stream, ingest, archive, time, pin, expand, ascending, descending, th, grid-view, th-list, list-view, pencil, lock, retweet, unspike, fullscreen, fetch-as, search, star, star-empty, multi-star, th-large, grid-view-large, ok, zoom-in, zoom-out, signal, filter-large, trash, user, download, upload, repeat, refresh, list-alt, plus-large, picture, question-sign, info-sign, plus-sign, minus-sign, remove-sign, share-alt, exclamation-sign, eye-open, copy, comment, warning-sign, adjust, folder-close, folder-open, download-alt, tasks, globe, link, expand-thin, assign, dots, dots-vertical, backward-thin, forward-thin, chevron-left-thin, chevron-right-thin, switches, plus-small, minus-small, close-small, post, external, chevron-up-thin, chevron-down-thin, pick, revert, package-plus, list-plus, envelope, heart, home, print, font, bold, italic, underline, strikethrough, align-left, align-center, align-right, align-justify, unordered-list, indent-left, indent-right, ban-circle, bell, random, settings, package-create, list-menu, new-doc, edit-line, calendar-list, collapse, broadcast, broadcast-create, kill, graphic, close-thick, move, takes-package, highlight-package, preview-mode, unlocked, code, cut, paste, arrow-left, arrow-right, info-large, help-large, attachment, attachment-large, table, ordered-list, heading-1, heading-2, heading-3, heading-4, heading-5, heading-6, quote, multiedit, phone, mobile, twitter, facebook, linked-in, twitter-circle, facebook-circle, linked-in-circle, recurring, paragraph, suggestion, event, kanban-view, subscript, superscript, clear-format, preformatted, crop, flip-horizontal, flip-vertical, rotate-right, rotate-left, business, paywall, analytics, amp, undo, redo, instagram, play, stop, pause, fast_rewind, fast_forward, skip_previous, skip_next, add-image, add-gallery, text-format, to-uppercase, to-lowercase, arrow-small, clear-all, rundown, photo-cancel, video-cancel, text-cancel, file-cancel, audio-cancel, list-alt-cancel, post-cancel, text-block, graphic-cancel, play-cancel, thumb-up, thumb-down, open-ai, n-dash, m-dash, thin_space, thin_space_alt"};
170962
170962
 
170963
170963
  /***/ })
170964
170964
  /******/ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superdesk-ui-framework",
3
- "version": "6.0.3",
3
+ "version": "6.0.5",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -7,7 +7,7 @@ interface ICopyableTextBoxProps extends IInputCommon {
7
7
  * Defaults to `medium`
8
8
  */
9
9
  size?: 'medium' | 'large';
10
- disableCopyButton?: boolean;
10
+ disableCopyAndInfo?: boolean;
11
11
  toastMessagePosition?: Position;
12
12
  'data-test-id'?: string;
13
13
  }
@@ -80,12 +80,12 @@ var CopyableTextBox = function (props) {
80
80
  });
81
81
  });
82
82
  };
83
- return (react_1.default.createElement(Form_1.InputWrapper, { label: props.label, disabled: props.disabled, value: props.value, error: props.error, invalid: props.error != null, info: props.info, size: (_a = props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: true, htmlId: htmlId, tabindex: props.tabindex },
83
+ return (react_1.default.createElement(Form_1.InputWrapper, { label: props.label, disabled: props.disabled, value: props.value, error: props.error, invalid: props.error != null, info: props.disableCopyAndInfo ? undefined : props.info, size: (_a = props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: true, htmlId: htmlId, tabindex: props.tabindex },
84
84
  react_1.default.createElement("div", { className: "d-flex items-center gap-1" },
85
85
  react_1.default.createElement("input", { id: htmlId, "aria-describedby": htmlId + 'label', type: "text", className: "sd-input__input", style: {
86
86
  border: '1px solid var(--color-input-border)',
87
87
  borderRadius: 'var(--b-radius--medium)',
88
88
  }, value: props.value, disabled: true, "data-test-id": props['data-test-id'] }),
89
- react_1.default.createElement(Button_1.Button, { text: (0, translations_1.gettext)('Copy'), icon: copied ? 'ok' : 'copy', iconOnly: true, onClick: handleCopy, disabled: props.disableCopyButton, type: "default", style: "hollow", size: props.size === 'medium' ? 'normal' : ((_b = props.size) !== null && _b !== void 0 ? _b : 'normal'), "data-test-id": "copy-button" }))));
89
+ react_1.default.createElement(Button_1.Button, { text: (0, translations_1.gettext)('Copy'), icon: copied ? 'ok' : 'copy', iconOnly: true, onClick: handleCopy, disabled: props.disableCopyAndInfo, type: "default", style: "hollow", size: props.size === 'medium' ? 'normal' : ((_b = props.size) !== null && _b !== void 0 ? _b : 'normal'), "data-test-id": "copy-button" }))));
90
90
  };
91
91
  exports.CopyableTextBox = CopyableTextBox;