@fluid-topics/ft-select 1.3.45 → 1.3.47

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.
@@ -125,6 +125,7 @@ class FtSelect extends FtLitElement {
125
125
  `;
126
126
  }
127
127
  renderOption(option, index) {
128
+ var _a, _b;
128
129
  const selected = this.selectedOption === option;
129
130
  const classes = {
130
131
  "ft-select--option": true,
@@ -133,7 +134,7 @@ class FtSelect extends FtLitElement {
133
134
  };
134
135
  return html `
135
136
  <div class="${classMap(classes)}"
136
- part="option"
137
+ part="option option-${(_b = (_a = option.value) === null || _a === void 0 ? void 0 : _a.toString()) === null || _b === void 0 ? void 0 : _b.replace(/[^\w-]/g, "")}"
137
138
  tabindex="0"
138
139
  aria-label="${option.label}"
139
140
  data-value="${option.value}"