@emuanalytics/flow-rdf-ui 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/components/alert/alert.component.mjs +10 -10
  2. package/dist/components/animation/animation.component.mjs +2 -2
  3. package/dist/components/autocomplete/autocomplete.component.mjs +18 -16
  4. package/dist/components/avatar/avatar.component.mjs +7 -12
  5. package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +14 -14
  6. package/dist/components/button/button.component.mjs +3 -3
  7. package/dist/components/button/button.styles.mjs +5 -5
  8. package/dist/components/calendar/calendar.component.mjs +23 -6
  9. package/dist/components/card/card.component.mjs +4 -4
  10. package/dist/components/carousel/carousel.component.mjs +42 -42
  11. package/dist/components/carousel-item/carousel-item.component.mjs +1 -0
  12. package/dist/components/chart/chart.component.mjs +4 -4
  13. package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +1 -1
  14. package/dist/components/checkbox/checkbox.component.mjs +18 -18
  15. package/dist/components/color-mapper/color-mapper.component.mjs +6 -6
  16. package/dist/components/color-picker/color-picker.component.mjs +71 -71
  17. package/dist/components/color-picker/color-picker.styles.mjs +4 -2
  18. package/dist/components/color-stop/color-stop.component.mjs +2 -2
  19. package/dist/components/date-time-picker/date-time-picker.component.mjs +29 -29
  20. package/dist/components/diagram-base-node/diagram-base-node.component.mjs +5 -5
  21. package/dist/components/diagram-minimap/diagram-minimap.component.mjs +6 -6
  22. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.component.mjs +10 -10
  23. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.styles.mjs +3 -1
  24. package/dist/components/dialog/dialog.component.mjs +1 -1
  25. package/dist/components/drawer/drawer.component.mjs +19 -19
  26. package/dist/components/gauge/gauge.component.mjs +4 -2
  27. package/dist/components/icon/library.mjs +7 -4
  28. package/dist/components/input/input.component.mjs +16 -11
  29. package/dist/components/list-item/list-item.component.mjs +17 -17
  30. package/dist/components/mutation-observer/mutation-observer.component.mjs +4 -6
  31. package/dist/components/panel-header/panel-header.component.mjs +11 -8
  32. package/dist/components/popup/popup.component.mjs +11 -11
  33. package/dist/components/progress-bar/progress-bar.component.mjs +2 -2
  34. package/dist/components/query-builder/converters/javascript-filter-converter.mjs +0 -4
  35. package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +0 -4
  36. package/dist/components/query-builder/query-builder.component.mjs +15 -15
  37. package/dist/components/radio/radio.component.mjs +7 -7
  38. package/dist/components/radio-group/radio-group.component.mjs +1 -1
  39. package/dist/components/resize-observer/resize-observer.component.mjs +1 -1
  40. package/dist/components/scroll-view/scroll-view.styles.mjs +20 -7
  41. package/dist/components/select/select.component.mjs +16 -16
  42. package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +3 -3
  43. package/dist/components/stepper/stepper.component.mjs +2 -2
  44. package/dist/components/stepper-panel/stepper-panel.component.mjs +3 -3
  45. package/dist/components/switch/switch.component.mjs +6 -8
  46. package/dist/components/tab/tab.component.mjs +17 -17
  47. package/dist/components/tab-group/tab-group.component.mjs +42 -38
  48. package/dist/components/tag/tag.component.mjs +11 -11
  49. package/dist/components/textarea/textarea.component.mjs +10 -4
  50. package/dist/components/tree/tree.component.mjs +4 -2
  51. package/dist/custom-elements.json +1291 -1277
  52. package/dist/diagram/runtime/default-edge-templates.mjs +9 -9
  53. package/dist/index.d.mts +25 -6
  54. package/dist/index.d.ts +25 -6
  55. package/dist/internal/form.mjs +1 -1
  56. package/dist/internal/on-off-converter.mjs +21 -0
  57. package/dist/package.json.mjs +1 -1
  58. package/dist/vscode.html-custom-data.json +129 -132
  59. package/package.json +26 -39
  60. package/themes/dark.css +5 -5
  61. package/themes/dark.styles.js +5 -5
  62. package/themes/light.css +5 -5
  63. package/themes/light.styles.js +5 -5
@@ -149,16 +149,16 @@ class FlowUiAlert extends FlowRdfElement {
149
149
  <slot part="message" class="alert__message" aria-live="polite"></slot>
150
150
 
151
151
  ${this.closable ? html`
152
- <flow-ui-icon-button
153
- part="close-button"
154
- exportparts="base:close-button__base"
155
- class="alert__close-button"
156
- name="x-lg"
157
- library="system"
158
- label=${this.localize.term("close")}
159
- @click=${this.handleCloseClick}
160
- ></flow-ui-icon-button>
161
- ` : ""}
152
+ <flow-ui-icon-button
153
+ part="close-button"
154
+ exportparts="base:close-button__base"
155
+ class="alert__close-button"
156
+ name="x-lg"
157
+ library="system"
158
+ label=${this.localize.term("close")}
159
+ @click=${this.handleCloseClick}
160
+ ></flow-ui-icon-button>
161
+ ` : ""}
162
162
  </div>
163
163
  `;
164
164
  }
@@ -117,7 +117,7 @@ class FlowUiAnimation extends FlowRdfElement {
117
117
  }
118
118
  if (this.play) {
119
119
  this.animation.play();
120
- } else {
120
+ } else if (this.animation.playState !== "idle") {
121
121
  this.animation.pause();
122
122
  }
123
123
  return true;
@@ -194,7 +194,7 @@ __decorateClass([
194
194
  "endDelay",
195
195
  "fill",
196
196
  "iterations",
197
- "iterationsStart",
197
+ "iterationStart",
198
198
  "keyframes"
199
199
  ])
200
200
  ], FlowUiAnimation.prototype, "handleAnimationChange", 1);
@@ -417,8 +417,10 @@ class FlowUiAutocomplete extends FlowRdfFormControl {
417
417
  }
418
418
  }
419
419
  this.updateComplete.then(() => {
420
- this.pendingChangeEvent && this.emit("flow-ui-change");
421
- this.pendingInputEvent && this.emit("flow-ui-input");
420
+ if (this.pendingChangeEvent)
421
+ this.emit("flow-ui-change");
422
+ if (this.pendingInputEvent)
423
+ this.emit("flow-ui-input");
422
424
  this.pendingChangeEvent = false;
423
425
  this.pendingInputEvent = false;
424
426
  });
@@ -619,20 +621,20 @@ class FlowUiAutocomplete extends FlowRdfFormControl {
619
621
  </div>
620
622
 
621
623
  ${hasClearIcon ? html`
622
- <button
623
- part="clear-button"
624
- class="autocomplete__clear"
625
- type="button"
626
- aria-label=${this.localize.term("clearEntry")}
627
- @mousedown=${this.handleClearMouseDown}
628
- @click=${this.handleClearClick}
629
- tabindex="-1"
630
- >
631
- <slot name="clear-icon">
632
- <flow-ui-icon name="x-circle-fill" library="system"></flow-ui-icon>
633
- </slot>
634
- </button>
635
- ` : nothing}
624
+ <button
625
+ part="clear-button"
626
+ class="autocomplete__clear"
627
+ type="button"
628
+ aria-label=${this.localize.term("clearEntry")}
629
+ @mousedown=${this.handleClearMouseDown}
630
+ @click=${this.handleClearClick}
631
+ tabindex="-1"
632
+ >
633
+ <slot name="clear-icon">
634
+ <flow-ui-icon name="x-circle-fill" library="system"></flow-ui-icon>
635
+ </slot>
636
+ </button>
637
+ ` : nothing}
636
638
 
637
639
  <slot part="suffix" name="suffix" class="autocomplete__suffix"></slot>
638
640
  </div>
@@ -41,18 +41,13 @@ class FlowUiAvatar extends FlowRdfElement {
41
41
  @error="${() => this.hasError = true}"
42
42
  />
43
43
  `;
44
- let avatarWithoutImage = html``;
45
- if (this.initials) {
46
- avatarWithoutImage = html`
47
- <div part="initials" class="avatar__initials">${this.initials}</div>
48
- `;
49
- } else {
50
- avatarWithoutImage = html`
51
- <slot name="icon" part="icon" class="avatar__icon" aria-hidden="true">
52
- <flow-ui-icon name="person-fill" library="system"></flow-ui-icon>
53
- </slot>
54
- `;
55
- }
44
+ const avatarWithoutImage = this.initials ? html`
45
+ <div part="initials" class="avatar__initials">${this.initials}</div>
46
+ ` : html`
47
+ <slot name="icon" part="icon" class="avatar__icon" aria-hidden="true">
48
+ <flow-ui-icon name="person-fill" library="system"></flow-ui-icon>
49
+ </slot>
50
+ `;
56
51
  return html`
57
52
  <div
58
53
  part="base"
@@ -37,20 +37,20 @@ class FlowUiBreadcrumbItem extends FlowRdfElement {
37
37
  <slot name="prefix" part="prefix" class="breadcrumb-item__prefix"></slot>
38
38
 
39
39
  ${isLink ? html`
40
- <a
41
- part="label"
42
- class="breadcrumb-item__label breadcrumb-item__label--link"
43
- href="${this.href}"
44
- target="${ifDefined(this.target ? this.target : void 0)}"
45
- rel=${ifDefined(this.target ? this.rel : void 0)}
46
- >
47
- <slot></slot>
48
- </a>
49
- ` : html`
50
- <button part="label" type="button" class="breadcrumb-item__label breadcrumb-item__label--button">
51
- <slot></slot>
52
- </button>
53
- `}
40
+ <a
41
+ part="label"
42
+ class="breadcrumb-item__label breadcrumb-item__label--link"
43
+ href="${this.href}"
44
+ target="${ifDefined(this.target ? this.target : void 0)}"
45
+ rel=${ifDefined(this.target ? this.rel : void 0)}
46
+ >
47
+ <slot></slot>
48
+ </a>
49
+ ` : html`
50
+ <button part="label" type="button" class="breadcrumb-item__label breadcrumb-item__label--button">
51
+ <slot></slot>
52
+ </button>
53
+ `}
54
54
 
55
55
  <slot name="suffix" part="suffix" class="breadcrumb-item__suffix"></slot>
56
56
 
@@ -28,10 +28,10 @@ class FlowUiButton extends FlowRdfFormControl {
28
28
  super(...arguments);
29
29
  this.formControlController = new FormControlController(this, {
30
30
  form: (input) => {
31
- if (input.hasAttribute("form")) {
32
- const doc = input.getRootNode();
31
+ const root = input.getRootNode();
32
+ if (input.hasAttribute("form") && (root instanceof Document || root instanceof ShadowRoot)) {
33
33
  const formId = input.getAttribute("form");
34
- return doc.getElementById(formId);
34
+ return root.getElementById(formId);
35
35
  }
36
36
  return input.closest("form");
37
37
  },
@@ -642,9 +642,9 @@ const buttonStyles = css`
642
642
 
643
643
  :host(
644
644
  .flow-ui-button-group__button--last:not(
645
- .flow-ui-button-group__button--vertical,
646
- .flow-ui-button-group__button--first
647
- )
645
+ .flow-ui-button-group__button--vertical,
646
+ .flow-ui-button-group__button--first
647
+ )
648
648
  )
649
649
  .button {
650
650
  border-start-start-radius: 0;
@@ -653,8 +653,8 @@ const buttonStyles = css`
653
653
 
654
654
  /* All except the first */
655
655
  :host(
656
- .flow-ui-button-group__button:not(.flow-ui-button-group__button--vertical, .flow-ui-button-group__button--first)
657
- ) {
656
+ .flow-ui-button-group__button:not(.flow-ui-button-group__button--vertical, .flow-ui-button-group__button--first)
657
+ ) {
658
658
  margin-inline-start: calc(-1 * var(--flow-ui-control-border-width));
659
659
  }
660
660
 
@@ -345,6 +345,13 @@ class FlowUiCalendar extends FlowRdfElement {
345
345
  }).startOf("month")
346
346
  );
347
347
  }
348
+ /**
349
+ * The month and year selects change the month shown, not the value, and open and close inside the calendar, so their
350
+ * input, show and hide events go no further (they would reach a date time picker as its own).
351
+ */
352
+ stopHeaderSelectEvent(ev) {
353
+ ev.stopPropagation();
354
+ }
348
355
  handleTimeChange(ev) {
349
356
  ev.stopPropagation();
350
357
  if (!this._selectedDate) {
@@ -430,8 +437,8 @@ class FlowUiCalendar extends FlowRdfElement {
430
437
  @click=${() => this.stepDisplayDate({ month: -1 })}
431
438
  ></flow-ui-icon-button>
432
439
  ${isFirst ? this.headerSelectsTemplate(monthsShort) : html`
433
- <span class="calendar__header-month">${monthsShort[month.month - 1]} ${month.year}</span>
434
- `}
440
+ <span class="calendar__header-month">${monthsShort[month.month - 1]} ${month.year}</span>
441
+ `}
435
442
  <flow-ui-icon-button
436
443
  class=${classMap({ "calendar__header-button--hidden": !isLast })}
437
444
  ?disabled=${!!last && this._displayDate >= last}
@@ -449,7 +456,12 @@ class FlowUiCalendar extends FlowRdfElement {
449
456
  sync="width"
450
457
  class="calendar__month-select calendar__header-select"
451
458
  value=${this._displayDate.month}
459
+ @flow-ui-input=${this.stopHeaderSelectEvent}
452
460
  @flow-ui-change=${this.handleHeaderSelectChange}
461
+ @flow-ui-show=${this.stopHeaderSelectEvent}
462
+ @flow-ui-after-show=${this.stopHeaderSelectEvent}
463
+ @flow-ui-hide=${this.stopHeaderSelectEvent}
464
+ @flow-ui-after-hide=${this.stopHeaderSelectEvent}
453
465
  >
454
466
  ${monthsShort.map(
455
467
  (month, index) => html`
@@ -462,7 +474,12 @@ class FlowUiCalendar extends FlowRdfElement {
462
474
  sync="width"
463
475
  class="calendar__year-select calendar__header-select"
464
476
  value=${this._displayDate.year}
477
+ @flow-ui-input=${this.stopHeaderSelectEvent}
465
478
  @flow-ui-change=${this.handleHeaderSelectChange}
479
+ @flow-ui-show=${this.stopHeaderSelectEvent}
480
+ @flow-ui-after-show=${this.stopHeaderSelectEvent}
481
+ @flow-ui-hide=${this.stopHeaderSelectEvent}
482
+ @flow-ui-after-hide=${this.stopHeaderSelectEvent}
466
483
  >
467
484
  ${this.yearOptions().map(
468
485
  (year) => html`
@@ -664,10 +681,10 @@ class FlowUiCalendar extends FlowRdfElement {
664
681
  })}
665
682
  >
666
683
  ${showCalendar ? html`
667
- <div class="calendar__months">
668
- ${Array.from({ length: this.monthCount }, (_, index) => this.monthTemplate(index))}
669
- </div>
670
- ` : nothing}
684
+ <div class="calendar__months">
685
+ ${Array.from({ length: this.monthCount }, (_, index) => this.monthTemplate(index))}
686
+ </div>
687
+ ` : nothing}
671
688
  ${showTime ? this.timeTemplate() : nothing}
672
689
  </div>
673
690
  `;
@@ -35,10 +35,10 @@ class FlowUiCard extends FlowRdfElement {
35
35
  title=""
36
36
  >
37
37
  ${hasHeader ? html`
38
- <header part="header" class="card__header">
39
- <span part="title" class="card__title"><slot name="title">${this.title}</slot></span>
40
- </header>
41
- ` : nothing}
38
+ <header part="header" class="card__header">
39
+ <span part="title" class="card__title"><slot name="title">${this.title}</slot></span>
40
+ </header>
41
+ ` : nothing}
42
42
 
43
43
  <slot part="body" class="card__body"></slot>
44
44
  </div>
@@ -285,64 +285,64 @@ class FlowUiCarousel extends FlowRdfElement {
285
285
  </div>
286
286
 
287
287
  ${this.navigation ? html`
288
- <div part="navigation" class="carousel__navigation">
289
- <button
290
- part="navigation-button navigation-button--previous"
291
- class="${classMap({
288
+ <div part="navigation" class="carousel__navigation">
289
+ <button
290
+ part="navigation-button navigation-button--previous"
291
+ class="${classMap({
292
292
  "carousel__navigation-button": true,
293
293
  "carousel__navigation-button--previous": true,
294
294
  "carousel__navigation-button--disabled": !prevEnabled
295
295
  })}"
296
- aria-label="${this.localize.term("previousSlide")}"
297
- aria-controls="scroll-container"
298
- aria-disabled="${prevEnabled ? "false" : "true"}"
299
- @click=${prevEnabled ? () => this.previous() : null}
300
- >
301
- <slot name="previous-icon">
302
- <flow-ui-icon library="system" name="${isLtr ? "chevron-left" : "chevron-right"}"></flow-ui-icon>
303
- </slot>
304
- </button>
296
+ aria-label="${this.localize.term("previousSlide")}"
297
+ aria-controls="scroll-container"
298
+ aria-disabled="${prevEnabled ? "false" : "true"}"
299
+ @click=${prevEnabled ? () => this.previous() : null}
300
+ >
301
+ <slot name="previous-icon">
302
+ <flow-ui-icon library="system" name="${isLtr ? "chevron-left" : "chevron-right"}"></flow-ui-icon>
303
+ </slot>
304
+ </button>
305
305
 
306
- <button
307
- part="navigation-button navigation-button--next"
308
- class=${classMap({
306
+ <button
307
+ part="navigation-button navigation-button--next"
308
+ class=${classMap({
309
309
  "carousel__navigation-button": true,
310
310
  "carousel__navigation-button--next": true,
311
311
  "carousel__navigation-button--disabled": !nextEnabled
312
312
  })}
313
- aria-label="${this.localize.term("nextSlide")}"
314
- aria-controls="scroll-container"
315
- aria-disabled="${nextEnabled ? "false" : "true"}"
316
- @click=${nextEnabled ? () => this.next() : null}
317
- >
318
- <slot name="next-icon">
319
- <flow-ui-icon library="system" name="${isLtr ? "chevron-right" : "chevron-left"}"></flow-ui-icon>
320
- </slot>
321
- </button>
322
- </div>
323
- ` : ""}
313
+ aria-label="${this.localize.term("nextSlide")}"
314
+ aria-controls="scroll-container"
315
+ aria-disabled="${nextEnabled ? "false" : "true"}"
316
+ @click=${nextEnabled ? () => this.next() : null}
317
+ >
318
+ <slot name="next-icon">
319
+ <flow-ui-icon library="system" name="${isLtr ? "chevron-right" : "chevron-left"}"></flow-ui-icon>
320
+ </slot>
321
+ </button>
322
+ </div>
323
+ ` : ""}
324
324
  ${this.pagination ? html`
325
- <div part="pagination" role="tablist" class="carousel__pagination" aria-controls="scroll-container">
326
- ${map(range(pagesCount), (index) => {
325
+ <div part="pagination" role="tablist" class="carousel__pagination" aria-controls="scroll-container">
326
+ ${map(range(pagesCount), (index) => {
327
327
  const isActive = index === currentPage;
328
328
  return html`
329
- <button
330
- part="pagination-item ${isActive ? "pagination-item--active" : ""}"
331
- class="${classMap({
329
+ <button
330
+ part="pagination-item ${isActive ? "pagination-item--active" : ""}"
331
+ class="${classMap({
332
332
  "carousel__pagination-item": true,
333
333
  "carousel__pagination-item--active": isActive
334
334
  })}"
335
- role="tab"
336
- aria-selected="${isActive ? "true" : "false"}"
337
- aria-label="${this.localize.term("goToSlide", index + 1, pagesCount)}"
338
- tabindex=${isActive ? "0" : "-1"}
339
- @click=${() => this.goToSlide(index * slidesPerPage)}
340
- @keydown=${this.handleKeyDown}
341
- ></button>
342
- `;
335
+ role="tab"
336
+ aria-selected="${isActive ? "true" : "false"}"
337
+ aria-label="${this.localize.term("goToSlide", index + 1, pagesCount)}"
338
+ tabindex=${isActive ? "0" : "-1"}
339
+ @click=${() => this.goToSlide(index * slidesPerPage)}
340
+ @keydown=${this.handleKeyDown}
341
+ ></button>
342
+ `;
343
343
  })}
344
- </div>
345
- ` : ""}
344
+ </div>
345
+ ` : ""}
346
346
  </div>
347
347
  `;
348
348
  }
@@ -10,6 +10,7 @@ class FlowUiCarouselItem extends FlowRdfElement {
10
10
  connectedCallback() {
11
11
  super.connectedCallback();
12
12
  this.setAttribute("role", "group");
13
+ this.setAttribute("aria-roledescription", "slide");
13
14
  }
14
15
  render() {
15
16
  return html`
@@ -62,10 +62,10 @@ class FlowUiChart extends FlowRdfElement {
62
62
  return html`
63
63
  <div part="base" class="chart" title="">
64
64
  ${hasHeader ? html`
65
- <header part="header" class="chart__header">
66
- <span part="title" class="chart__title"><slot name="title">${this.title}</slot></span>
67
- </header>
68
- ` : nothing}
65
+ <header part="header" class="chart__header">
66
+ <span part="title" class="chart__title"><slot name="title">${this.title}</slot></span>
67
+ </header>
68
+ ` : nothing}
69
69
 
70
70
  <div class="chart_container">
71
71
  <canvas ${ref(this._chartRef)}></canvas>
@@ -10,7 +10,7 @@ function getBackgroundColor(i, palette) {
10
10
  function colorizeDefaultDataset(dataset, i, palette) {
11
11
  dataset.borderColor = getBorderColor(i, palette);
12
12
  dataset.backgroundColor = getBackgroundColor(i, palette);
13
- return ++i;
13
+ return i + 1;
14
14
  }
15
15
  function colorizeDoughnutDataset(dataset, i, palette) {
16
16
  dataset.backgroundColor = dataset.data.map(() => getBorderColor(i++, palette));
@@ -162,28 +162,28 @@ class FlowUiCheckbox extends FlowRdfFormControl {
162
162
  class="checkbox__control"
163
163
  >
164
164
  ${this.checked ? html`
165
- <flow-ui-icon
166
- part="checked-icon"
167
- class="checkbox__checked-icon"
168
- library="system"
169
- name="check"
170
- ></flow-ui-icon>
171
- ` : ""}
165
+ <flow-ui-icon
166
+ part="checked-icon"
167
+ class="checkbox__checked-icon"
168
+ library="system"
169
+ name="check"
170
+ ></flow-ui-icon>
171
+ ` : ""}
172
172
  ${!this.checked && this.indeterminate ? html`
173
- <flow-ui-icon
174
- part="indeterminate-icon"
175
- class="checkbox__indeterminate-icon"
176
- library="system"
177
- name="indeterminate"
178
- ></flow-ui-icon>
179
- ` : ""}
173
+ <flow-ui-icon
174
+ part="indeterminate-icon"
175
+ class="checkbox__indeterminate-icon"
176
+ library="system"
177
+ name="indeterminate"
178
+ ></flow-ui-icon>
179
+ ` : ""}
180
180
  </span>
181
181
 
182
182
  ${this.hasSlotController.test("[default]") ? html`
183
- <div part="label" class="checkbox__label">
184
- <slot></slot>
185
- </div>
186
- ` : nothing}
183
+ <div part="label" class="checkbox__label">
184
+ <slot></slot>
185
+ </div>
186
+ ` : nothing}
187
187
  </label>
188
188
  `;
189
189
  }
@@ -150,12 +150,12 @@ class FlowUiColorMapper extends FlowRdfElement {
150
150
  )}
151
151
  </flow-ui-select>
152
152
  ${this.hasSlotController.test("info") ? html`
153
- <flow-ui-icon-button
154
- library="system"
155
- name="info-circle"
156
- @click=${() => this.infoDialog.show()}
157
- ></flow-ui-icon-button>
158
- ` : nothing}
153
+ <flow-ui-icon-button
154
+ library="system"
155
+ name="info-circle"
156
+ @click=${() => this.infoDialog.show()}
157
+ ></flow-ui-icon-button>
158
+ ` : nothing}
159
159
  `;
160
160
  }
161
161
  // Color stops for 'data-driven' mode