@fluid-topics/ft-select 0.2.6 → 0.2.9

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.
@@ -516,6 +516,7 @@ class ni extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
516
516
  <div class="${mt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
517
517
  part="option"
518
518
  tabindex="0"
519
+ data-value="${t.value}"
519
520
  @keydown=${e=>this.onOptionKeyDown(e,t)}
520
521
  @click=${()=>this.selectOption(t)}>
521
522
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
@@ -137,6 +137,7 @@ export class FtSelect extends FtLitElement {
137
137
  <div class="${classMap(classes)}"
138
138
  part="option"
139
139
  tabindex="0"
140
+ data-value="${option.value}"
140
141
  @keydown=${(e) => this.onOptionKeyDown(e, option)}
141
142
  @click=${() => this.selectOption(option)}>
142
143
  <ft-ripple ?primary=${selected} ?activated=${selected}></ft-ripple>
@@ -418,6 +418,7 @@ const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
418
418
  <div class="${s.classMap(o)}"
419
419
  part="option"
420
420
  tabindex="0"
421
+ data-value="${t.value}"
421
422
  @keydown=${e=>this.onOptionKeyDown(e,t)}
422
423
  @click=${()=>this.selectOption(t)}>
423
424
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
@@ -511,6 +511,7 @@ class ni extends gt{constructor(t){if(super(t),this.it=H,t.type!==vt)throw Error
511
511
  <div class="${mt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
512
512
  part="option"
513
513
  tabindex="0"
514
+ data-value="${t.value}"
514
515
  @keydown=${e=>this.onOptionKeyDown(e,t)}
515
516
  @click=${()=>this.selectOption(t)}>
516
517
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-select",
3
- "version": "0.2.6",
3
+ "version": "0.2.9",
4
4
  "description": "Value selector for a predefined list of choices",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "^0.2.6",
23
- "@fluid-topics/ft-input-label": "^0.2.6",
24
- "@fluid-topics/ft-ripple": "^0.2.6",
25
- "@fluid-topics/ft-typography": "^0.2.6",
26
- "@fluid-topics/ft-wc-utils": "^0.2.6",
22
+ "@fluid-topics/ft-icon": "^0.2.9",
23
+ "@fluid-topics/ft-input-label": "^0.2.9",
24
+ "@fluid-topics/ft-ripple": "^0.2.9",
25
+ "@fluid-topics/ft-typography": "^0.2.9",
26
+ "@fluid-topics/ft-wc-utils": "^0.2.9",
27
27
  "lit": "2.1.3"
28
28
  },
29
- "gitHead": "829067f8828b03e0d191135ba63fc507a609cbe9"
29
+ "gitHead": "046f7fd69b5d3e5a379c44e5b77fd36f89713364"
30
30
  }