@ni/spright-components 6.22.6 → 6.23.0

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.
@@ -18971,7 +18971,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
18971
18971
  };
18972
18972
  const electronicChipZoomed16X16 = {
18973
18973
  name: 'electronic_chip_zoomed_16_x_16',
18974
- data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 14H7.333V9.333a2 2 0 0 1 2-2H14V13a1 1 0 0 1-1 1M12 2a.667.667 0 0 0-.667.667v2h1.334v-2A.667.667 0 0 0 12 2M8.444 2a.667.667 0 0 0-.666.667v2H9.11v-2A.667.667 0 0 0 8.444 2M2 8.444a.667.667 0 0 0 .667.667h2V7.778h-2A.667.667 0 0 0 2 8.444M2 12a.667.667 0 0 0 .667.667h2v-1.334h-2A.667.667 0 0 0 2 12m11.556-8.222v.889a.444.444 0 0 1-.445.444H10.89a.444.444 0 0 1-.445-.444v-.89H10v.89a.444.444 0 0 1-.444.444H7.333a.444.444 0 0 1-.444-.444v-.89H4.667a.89.89 0 0 0-.89.89v2.222h.89a.444.444 0 0 1 .444.444v2.223a.444.444 0 0 1-.444.444h-.89v.444h.89a.444.444 0 0 1 .444.445v2.222a.444.444 0 0 1-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 0 1 8.222 6.89H14V3.778Z" class="cls-1"/></svg>`,
18974
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 7h6v7H7V8c0-.55.45-1 1-1m4-6v3h-2V1H8v3C5.79 4 4 5.79 4 8H1v2h3v2H1v2h5V8c0-1.1.9-2 2-2h6V1z" class="cls-1"/></svg>`,
18975
18975
  };
18976
18976
  const exclamationMark16X16 = {
18977
18977
  name: 'exclamation_mark_16_x_16',
@@ -18997,14 +18997,26 @@ Defines an interaction area clip-path that leaves out the severity text so it is
18997
18997
  name: 'file_arrow_curved_right_16_x_16',
18998
18998
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7 2 3 3H7zM6 6V2H2v12h4.282l.03-.187A4.51 4.51 0 0 1 10 10.065V6zm8 5.5L11 9v2c-1.817-.091-3.412 1.137-3.701 2.97.576-.672 2.077-2.065 3.701-1.82V14z" class="cls-1"/></svg>`,
18999
18999
  };
19000
+ const fileClock16X16 = {
19001
+ name: 'file_clock_16_x_16',
19002
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 6H9V3zm-.01 2.19H12V7H8V3H4v10h4.41c-.1-.34-.17-.69-.17-1.06 0-2.07 1.68-3.75 3.75-3.75m3 3.75c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3m-1 2c.04-.26-.23-.54-.23-.54l-1.19-1.19q.06-.12.06-.27c0-.15-.02-.19-.06-.27.11-.11.73-.73.79-.81.06-.09.11-.32.11-.4-.11 0-.35.06-.42.13-.06.06-.68.69-.78.78a.644.644 0 0 0-.92.58c0 .35.28.64.64.64.1 0 .19-.02.28-.06.13.14.88.89 1.1 1.12.25.26.43.31.61.31Z" class="cls-1"/></svg>`,
19003
+ };
19000
19004
  const fileDrawer16X16 = {
19001
19005
  name: 'file_drawer_16_x_16',
19002
19006
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 4v10h12V4Zm8 4H6V6h4Zm4-5H2V2h12Z" class="cls-1"/></svg>`,
19003
19007
  };
19008
+ const filePlus16X16 = {
19009
+ name: 'file_plus_16_x_16',
19010
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 6H9V3zm-1 3h1V7H8V3H4v10h5v-2h2zm2 3v-2h-1v2h-2v1h2v2h1v-2h2v-1z" class="cls-1"/></svg>`,
19011
+ };
19004
19012
  const fileSearch16X16 = {
19005
19013
  name: 'file_search_16_x_16',
19006
19014
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 6v6h-3.333a3.7 3.7 0 0 0 .249-1.302A3.7 3.7 0 0 0 7.22 7 3.7 3.7 0 0 0 6 7.223V2h4v4Zm-3-4v3h3Zm-1.126 8.698a2.697 2.697 0 0 1-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 1 1 5.22-.956m-.952 0a1.745 1.745 0 1 0-1.745 1.745 1.747 1.747 0 0 0 1.745-1.745" class="cls-1"/></svg>`,
19007
19015
  };
19016
+ const fileStar16X16 = {
19017
+ name: 'file_star_16_x_16',
19018
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 6H9V3zm-2.06 5.35-1.4-2.71 2.69 1.41.77-2.94V7H8V3H4v10h4.81l-2.62-.68 3.74-.97Zm5.23.97-1.82-.48.74-1.43-1.42.74-.48-1.83-.48 1.83-1.42-.75.74 1.43-1.86.48 1.86.49-.74 1.43 1.42-.74.48 1.83.48-1.83 1.42.75-.74-1.43 1.82-.48Z" class="cls-1"/></svg>`,
19019
+ };
19008
19020
  const filter16X16 = {
19009
19021
  name: 'filter_16_x_16',
19010
19022
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3.045v1.29h.787a2.069 2.069 0 1 0 2.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29Zm2.033 4.059a1.154 1.154 0 0 1 0-2.308c.023 0 .045.006.068.007l1.002 1.575a1.15 1.15 0 0 1-1.07.726" class="cls-1"/></svg>`,
@@ -19033,10 +19045,22 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19033
19045
  name: 'folder_16_x_16',
19034
19046
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 4V3H2v10h12V4Zm6 2H3V5h10Z" class="cls-1"/></svg>`,
19035
19047
  };
19048
+ const folderClock16X16 = {
19049
+ name: 'folder_clock_16_x_16',
19050
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.24 11.94c0-2.07 1.68-3.75 3.75-3.75.74 0 1.43.22 2.01.6V4.01H7v-1H2v10h6.41c-.1-.34-.17-.69-.17-1.06ZM3 5h10v1H3zm8.99 3.94c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3m.29 2.43.78-.78c.07-.07.31-.13.42-.13 0 .08-.05.31-.11.4-.06.08-.68.7-.79.81q.06.12.06.27c0 .15-.02.19-.06.27l1.19 1.19s.27.28.23.54c-.18 0-.36-.05-.61-.31-.23-.23-.97-.98-1.1-1.12a.644.644 0 0 1-.92-.58c0-.35.28-.64.64-.64.1 0 .2.02.28.06" class="cls-1"/></svg>`,
19051
+ };
19036
19052
  const folderOpen16X16 = {
19037
19053
  name: 'folder_open_16_x_16',
19038
19054
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 3v1.002h6V6h-1V5H3v1H2V3ZM2 13h11l1-6H2Z" class="cls-1"/></svg>`,
19039
19055
  };
19056
+ const folderPlus16X16 = {
19057
+ name: 'folder_plus_16_x_16',
19058
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 11h2V9h3V4H7V3H2v10h7zM3 5h10v1H3zm12 8h-2v2h-1v-2h-2v-1h2v-2h1v2h2z" class="cls-1"/></svg>`,
19059
+ };
19060
+ const folderStar16X16 = {
19061
+ name: 'folder_star_16_x_16',
19062
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.19 12.32 3.74-.97-1.4-2.71 2.69 1.41.54-2.05h.86l.54 2.05.84-.44V4H7V3H2v10h6.81zM3 5h10v1H3zm10.35 6.84 1.82.48-1.82.48.74 1.43-1.42-.75-.48 1.83-.48-1.83-1.42.74.74-1.43-1.86-.49 1.86-.48-.74-1.43 1.42.75.48-1.83.48 1.83 1.42-.74-.74 1.43Z" class="cls-1"/></svg>`,
19063
+ };
19040
19064
  const forklift16X16 = {
19041
19065
  name: 'forklift_16_x_16',
19042
19066
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 11V4c0-.55-.45-1-1-1h-1v4.24l-1.53-3.3C9.24 3.37 8.69 3 8.08 3H4.01l1 1v3h-2v2.19c-.31.35-.5.81-.5 1.31 0 1.1.9 2 2 2 .5 0 .96-.19 1.31-.5h3.04c.39.32.88.52 1.42.52s1.04-.2 1.42-.52H15zm-8.5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75.75.34.75.75-.34.75-.75.75m4.18-2.57L7 7H6V4h2.07c.21 0 .39.12.47.34l1.71 3.68c-.62 0-1.18.25-1.58.66Zm1.59 2.59c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1" class="cls-1"/></svg>`,
@@ -19281,6 +19305,10 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19281
19305
  name: 'scanner_gun_16_x_16',
19282
19306
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.48 4.99 12 3H6c-1.66-.02-2.97 1.24-2.99 2.89 0 .55.41 1.09.97 1.1H4v1l-.53 2.65c-.2.98.38 1.89 1.25 2.21a.85.85 0 0 1-.2.45c-.12.12-.28.18-.5.18h-2v.5h2c.36 0 .65-.11.86-.33s.29-.49.33-.69c.06 0 .12.02.19.02.93 0 .74-.66.92-1.58L8 7.98v-1h2.98l.25-1h-.5l.25-1h.5Zm-1.6.5h-2.9s0-.5.5-.5h2.5zm3.86-.76h-.93c-.14 0-.25-.11-.25-.25s.11-.25.25-.25h.93c.14 0 .25.11.25.25s-.11.25-.25.25m.02-2.15-.68.68c-.1.1-.26.1-.35 0-.1-.1-.1-.26 0-.35l.68-.68c.1-.1.26-.1.35 0 .1.1.1.26 0 .35m-1.14 4.38-.59-.59c-.1-.1-.1-.26 0-.35.1-.1.26-.1.35 0l.59.59c.1.1.1.26 0 .35-.1.1-.26.1-.35 0"/></svg>`,
19283
19307
  };
19308
+ const scissors16X16 = {
19309
+ name: 'scissors_16_x_16',
19310
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.35 8.62 15 12c-.54.54-1.17.7-1.89.42-.67-.25-2.95-1.36-4.84-2.29zM15 4l-9.25 6.73c.62.85.55 2.04-.21 2.8-.42.42-.98.63-1.53.63s-1.11-.21-1.53-.63-.63-.97-.63-1.53c0-1.35.99-2.07 2.14-2.24.75-.11 1.47-.33 1.82-.93a1.79 1.79 0 0 0 0-1.68c-.34-.6-1.07-.82-1.82-.93-1.15-.16-2.14-.88-2.14-2.24 0-.55.21-1.1.63-1.53.42-.42.98-.63 1.53-.63s1.11.21 1.53.63c.76.76.83 1.95.21 2.8l1.51 1.1c1.98-.98 5.05-2.49 5.85-2.79.72-.27 1.35-.12 1.89.42zM4.92 4c0-.24-.1-.48-.27-.65a.915.915 0 0 0-1.3 0 .915.915 0 0 0 0 1.3.915.915 0 0 0 1.3 0c.17-.17.27-.4.27-.65m0 8c0-.24-.1-.48-.27-.65a.915.915 0 0 0-1.3 0 .915.915 0 0 0 0 1.3.915.915 0 0 0 1.3 0c.17-.17.27-.4.27-.65M8 8c0-.28-.22-.5-.5-.5S7 7.72 7 8s.22.5.5.5.5-.22.5-.5" class="st0"/></svg>`,
19311
+ };
19284
19312
  const screenCheckLines16X16 = {
19285
19313
  name: 'screen_check_lines_16_x_16',
19286
19314
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm10 7H3V4h10z" class="cls-1"/><path d="M5.743 9 4 7.242l.766-.742.97 1.007L8.273 5 9 5.758zM10 6h2v1h-2zM8 8h4v1H8z" class="cls-1"/></svg>`,
@@ -19359,7 +19387,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19359
19387
  };
19360
19388
  const systemlink16X16 = {
19361
19389
  name: 'systemlink_16_x_16',
19362
- data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.249 2.55a1.06 1.06 0 0 1 1.498 0 1.06 1.06 0 0 1-.295 1.703v1.86a2.42 2.42 0 0 1 1.672 1.215l1.768-.573q.023-.176.106-.344a1.059 1.059 0 1 1 .176 1.208l-1.768.574a2.42 2.42 0 0 1-.638 1.964l1.093 1.504q.175-.033.36-.005a1.058 1.058 0 1 1-1.095.54l-1.093-1.503a2.43 2.43 0 0 1-2.066 0l-1.093 1.503q.085.155.117.34a1.058 1.058 0 1 1-.852-.875l1.093-1.504a2.42 2.42 0 0 1-.638-1.964l-1.768-.574a1.054 1.054 0 0 1-1.71-.247 1.059 1.059 0 1 1 1.992-.617l1.768.573q.161-.295.41-.547c.358-.358.8-.58 1.262-.668v-1.86a1.06 1.06 0 0 1-.294-1.704Zm2.072 9.704c-.42.148-.865.224-1.323.224s-.904-.076-1.324-.224l.566-.779q.37.094.758.094c.388 0 .512-.033.757-.094zM11.98 8.4l.002.097c0 .886-.288 1.727-.82 2.419l-.566-.778c.274-.43.434-.923.467-1.44l.914-.298Zm-7.046.298c.033.502.189.998.466 1.438l-.566.779A3.97 3.97 0 0 1 4.018 8.4zM6.86 5.644c-.377.15-.731.377-1.035.681q-.1.1-.19.209l-.915-.298q.202-.292.46-.554A3.96 3.96 0 0 1 6.86 4.68v.965Zm2.275-.964a3.96 3.96 0 0 1 2.14 1.556l-.915.298a3.075 3.075 0 0 0-1.224-.89z" class="cls-1"/></svg>`,
19390
+ data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m5.24 6.29-1.07-.35c.16-.23.34-.44.54-.65.55-.55 1.23-.95 1.96-1.17v1.13c-.44.18-.85.44-1.21.79-.08.08-.15.16-.22.24Zm5.51 0 1.07-.35c-.16-.23-.34-.45-.54-.65-.55-.55-1.23-.95-1.96-1.17v1.13c.44.18.85.44 1.21.79.08.08.15.16.22.24ZM8 12.16c-.3 0-.6-.04-.88-.11l-.66.91a4.7 4.7 0 0 0 3.08 0l-.66-.91c-.29.07-.58.11-.88.11m-3.03-1.67a3.5 3.5 0 0 1-.54-1.68l-1.07-.35c-.03 1.03.29 2.07.95 2.93l.66-.91Zm6.6-1.68c-.04.6-.23 1.18-.54 1.68l.66.91c.62-.81.96-1.79.96-2.82v-.11l-1.07.35Zm2.76-3.2c-.61-.31-1.35-.07-1.66.54-.07.13-.1.26-.12.4l-2.06.67c-.13-.23-.29-.45-.48-.64-.42-.42-.93-.68-1.47-.78V3.63c.42-.2.71-.62.71-1.11a1.23 1.23 0 1 0-2.46 0c0 .49.29.91.71 1.11 0 0-.01 0 0 0V5.8c-.54.1-1.05.36-1.47.78-.19.19-.35.41-.48.64l-2.06-.67a1.4 1.4 0 0 0-.12-.4c-.31-.61-1.05-.85-1.66-.54s-.85 1.05-.54 1.66a1.23 1.23 0 0 0 1.99.29l2.06.67c-.1.81.15 1.66.74 2.29l-1.28 1.75c-.13-.02-.28-.03-.42 0-.67.11-1.13.74-1.03 1.41.11.67.74 1.13 1.41 1.03.67-.11 1.13-.74 1.03-1.41-.02-.14-.07-.28-.14-.4l1.27-1.75c.76.36 1.65.36 2.41 0l1.27 1.75a1.226 1.226 0 0 0 .89 1.81c.67.11 1.31-.35 1.41-1.03.11-.67-.35-1.31-1.03-1.41q-.21-.03-.42 0l-1.28-1.75c.6-.64.85-1.48.74-2.29l2.06-.67c.1.1.21.19.33.25.61.31 1.35.07 1.66-.54s.07-1.35-.54-1.66Z" class="cls-1"/></svg>`,
19363
19391
  };
19364
19392
  const t16X16 = {
19365
19393
  name: 't_16_x_16',
@@ -25216,6 +25244,18 @@ so this becomes the fallback color for the slot */ ''}
25216
25244
  }
25217
25245
  registerIconSvg('icon-file-arrow-curved-right', IconFileArrowCurvedRight);
25218
25246
 
25247
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25248
+ // See generation source in nimble-components/build/generate-icons
25249
+ /**
25250
+ * The icon component for the 'fileClock' icon
25251
+ */
25252
+ class IconFileClock extends IconSvg {
25253
+ constructor() {
25254
+ super(fileClock16X16);
25255
+ }
25256
+ }
25257
+ registerIconSvg('icon-file-clock', IconFileClock);
25258
+
25219
25259
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25220
25260
  // See generation source in nimble-components/build/generate-icons
25221
25261
  /**
@@ -25228,6 +25268,18 @@ so this becomes the fallback color for the slot */ ''}
25228
25268
  }
25229
25269
  registerIconSvg('icon-file-drawer', IconFileDrawer);
25230
25270
 
25271
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25272
+ // See generation source in nimble-components/build/generate-icons
25273
+ /**
25274
+ * The icon component for the 'filePlus' icon
25275
+ */
25276
+ class IconFilePlus extends IconSvg {
25277
+ constructor() {
25278
+ super(filePlus16X16);
25279
+ }
25280
+ }
25281
+ registerIconSvg('icon-file-plus', IconFilePlus);
25282
+
25231
25283
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25232
25284
  // See generation source in nimble-components/build/generate-icons
25233
25285
  /**
@@ -25240,6 +25292,18 @@ so this becomes the fallback color for the slot */ ''}
25240
25292
  }
25241
25293
  registerIconSvg('icon-file-search', IconFileSearch);
25242
25294
 
25295
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25296
+ // See generation source in nimble-components/build/generate-icons
25297
+ /**
25298
+ * The icon component for the 'fileStar' icon
25299
+ */
25300
+ class IconFileStar extends IconSvg {
25301
+ constructor() {
25302
+ super(fileStar16X16);
25303
+ }
25304
+ }
25305
+ registerIconSvg('icon-file-star', IconFileStar);
25306
+
25243
25307
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25244
25308
  // See generation source in nimble-components/build/generate-icons
25245
25309
  /**
@@ -25324,6 +25388,18 @@ so this becomes the fallback color for the slot */ ''}
25324
25388
  }
25325
25389
  registerIconSvg('icon-folder', IconFolder);
25326
25390
 
25391
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25392
+ // See generation source in nimble-components/build/generate-icons
25393
+ /**
25394
+ * The icon component for the 'folderClock' icon
25395
+ */
25396
+ class IconFolderClock extends IconSvg {
25397
+ constructor() {
25398
+ super(folderClock16X16);
25399
+ }
25400
+ }
25401
+ registerIconSvg('icon-folder-clock', IconFolderClock);
25402
+
25327
25403
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25328
25404
  // See generation source in nimble-components/build/generate-icons
25329
25405
  /**
@@ -25336,6 +25412,30 @@ so this becomes the fallback color for the slot */ ''}
25336
25412
  }
25337
25413
  registerIconSvg('icon-folder-open', IconFolderOpen);
25338
25414
 
25415
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25416
+ // See generation source in nimble-components/build/generate-icons
25417
+ /**
25418
+ * The icon component for the 'folderPlus' icon
25419
+ */
25420
+ class IconFolderPlus extends IconSvg {
25421
+ constructor() {
25422
+ super(folderPlus16X16);
25423
+ }
25424
+ }
25425
+ registerIconSvg('icon-folder-plus', IconFolderPlus);
25426
+
25427
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25428
+ // See generation source in nimble-components/build/generate-icons
25429
+ /**
25430
+ * The icon component for the 'folderStar' icon
25431
+ */
25432
+ class IconFolderStar extends IconSvg {
25433
+ constructor() {
25434
+ super(folderStar16X16);
25435
+ }
25436
+ }
25437
+ registerIconSvg('icon-folder-star', IconFolderStar);
25438
+
25339
25439
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
25340
25440
  // See generation source in nimble-components/build/generate-icons
25341
25441
  /**
@@ -26062,6 +26162,18 @@ so this becomes the fallback color for the slot */ ''}
26062
26162
  }
26063
26163
  registerIconSvg('icon-scanner-gun', IconScannerGun);
26064
26164
 
26165
+ // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
26166
+ // See generation source in nimble-components/build/generate-icons
26167
+ /**
26168
+ * The icon component for the 'scissors' icon
26169
+ */
26170
+ class IconScissors extends IconSvg {
26171
+ constructor() {
26172
+ super(scissors16X16);
26173
+ }
26174
+ }
26175
+ registerIconSvg('icon-scissors', IconScissors);
26176
+
26065
26177
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
26066
26178
  // See generation source in nimble-components/build/generate-icons
26067
26179
  /**
@@ -103900,8 +104012,30 @@ focus outline in that case.
103900
104012
  this.onMessagesChanged();
103901
104013
  }
103902
104014
  }
104015
+ /** @internal */
104016
+ smoothScrollTo(scrollTop) {
104017
+ const container = this.conversation.messagesContainer;
104018
+ if (Math.abs(container.scrollTop - scrollTop) <= 1) {
104019
+ // No movement is needed, so `scrollTo` would not emit a scroll event
104020
+ // to clear the programmatic guard. Snap to the exact target and
104021
+ // leave the guard clear so streamed content keeps being followed.
104022
+ this.programmaticScrollTarget = undefined;
104023
+ container.scrollTop = scrollTop;
104024
+ return;
104025
+ }
104026
+ this.programmaticScrollTarget = scrollTop;
104027
+ container.scrollTo({
104028
+ top: scrollTop,
104029
+ behavior: 'smooth'
104030
+ });
104031
+ }
104032
+ /** @internal */
104033
+ instantScrollTo(scrollTop) {
104034
+ this.conversation.messagesContainer.scrollTop = scrollTop;
104035
+ }
103903
104036
  onMessagesChanged() {
103904
104037
  const current = this.getOrderedMessages();
104038
+ const isInitialContent = this.previousMessages.length === 0;
103905
104039
  const previousSet = new Set(this.previousMessages);
103906
104040
  const addedMessages = current.filter(message => !previousSet.has(message));
103907
104041
  this.previousMessages = current;
@@ -103910,7 +104044,7 @@ focus outline in that case.
103910
104044
  return;
103911
104045
  }
103912
104046
  const hasAnchorMessage = addedMessages.some(message => message.messageInternals.anchorOnInsert);
103913
- this.scheduleScrollUpdate(hasAnchorMessage);
104047
+ this.scheduleScrollUpdate(hasAnchorMessage, isInitialContent);
103914
104048
  }
103915
104049
  repartition(messages) {
103916
104050
  const anchorIndex = this.findLatestAnchorIndex(messages);
@@ -103926,18 +104060,19 @@ focus outline in that case.
103926
104060
  message.messageInternals.slot = undefined;
103927
104061
  }
103928
104062
  }
103929
- scheduleScrollUpdate(hasAnchorMessage) {
104063
+ scheduleScrollUpdate(hasAnchorMessage, isInitialContent) {
103930
104064
  this.pendingAnchorInsert = this.pendingAnchorInsert || hasAnchorMessage;
103931
104065
  if (this.scrollUpdatePending) {
103932
104066
  return;
103933
104067
  }
104068
+ const shouldAnimate = !isInitialContent;
103934
104069
  this.scrollUpdatePending = true;
103935
104070
  requestAnimationFrame(() => {
103936
104071
  this.scrollUpdatePending = false;
103937
104072
  const anchorInsert = this.pendingAnchorInsert;
103938
104073
  this.pendingAnchorInsert = false;
103939
104074
  if (anchorInsert) {
103940
- this.anchorToLastInsertedMessage();
104075
+ this.anchorToLastInsertedMessage(shouldAnimate);
103941
104076
  }
103942
104077
  else if (this.autoScrollEngaged) {
103943
104078
  this.followContent();
@@ -103948,14 +104083,19 @@ focus outline in that case.
103948
104083
  * Pins the most recently inserted anchor message near the top of the
103949
104084
  * viewport.
103950
104085
  */
103951
- anchorToLastInsertedMessage() {
104086
+ anchorToLastInsertedMessage(animate) {
103952
104087
  const message = this.getLastAnchorMessage();
103953
104088
  if (message === undefined) {
103954
104089
  return;
103955
104090
  }
103956
104091
  this.setScrollAnchorMessage(message);
103957
104092
  this.autoScrollEngaged = true;
103958
- this.smoothScrollTo(this.getMaxScrollTop());
104093
+ if (animate) {
104094
+ this.smoothScrollTo(this.getMaxScrollTop());
104095
+ }
104096
+ else {
104097
+ this.instantScrollTo(this.getMaxScrollTop());
104098
+ }
103959
104099
  }
103960
104100
  followContent() {
103961
104101
  this.instantScrollTo(this.getMaxScrollTop());
@@ -103980,25 +104120,6 @@ focus outline in that case.
103980
104120
  const { scrollHeight, clientHeight } = this.conversation.messagesContainer;
103981
104121
  return Math.max(0, scrollHeight - clientHeight);
103982
104122
  }
103983
- smoothScrollTo(scrollTop) {
103984
- const container = this.conversation.messagesContainer;
103985
- if (Math.abs(container.scrollTop - scrollTop) <= 1) {
103986
- // No movement is needed, so `scrollTo` would not emit a scroll event
103987
- // to clear the programmatic guard. Snap to the exact target and
103988
- // leave the guard clear so streamed content keeps being followed.
103989
- this.programmaticScrollTarget = undefined;
103990
- container.scrollTop = scrollTop;
103991
- return;
103992
- }
103993
- this.programmaticScrollTarget = scrollTop;
103994
- container.scrollTo({
103995
- top: scrollTop,
103996
- behavior: 'smooth'
103997
- });
103998
- }
103999
- instantScrollTo(scrollTop) {
104000
- this.conversation.messagesContainer.scrollTop = scrollTop;
104001
- }
104002
104123
  setScrollAnchorMessage(message) {
104003
104124
  if (this.scrollAnchorMessage === message) {
104004
104125
  return;