@florid-kit/components 0.10.31 → 0.10.33

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 (3) hide show
  1. package/index.js +2 -7
  2. package/index.mjs +2 -7
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1337,14 +1337,9 @@
1337
1337
  }
1338
1338
 
1339
1339
  :host([type="eyebrow"]) .tag {
1340
- text-transform: lowercase;
1341
1340
  overflow: hidden;
1342
1341
  white-space: nowrap;
1343
1342
  text-overflow: ellipsis;
1344
-
1345
- &::first-letter {
1346
- text-transform: uppercase;
1347
- }
1348
1343
  }
1349
1344
 
1350
1345
  `;te([a({type:String,reflect:!0})],wt.prototype,"type",2);te([a({type:String,reflect:!0})],wt.prototype,"bgstyle",2);wt=te([y("o-tag")],wt);var ii=Object.defineProperty,ni=Object.getOwnPropertyDescriptor,ee=(o,t,e,n)=>{for(var i=n>1?void 0:n?ni(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ii(t,e,i),i};let $t=class extends u{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
@@ -2001,8 +1996,8 @@
2001
1996
  overflow: hidden;
2002
1997
  }
2003
1998
  `;oe([a({type:Object,reflect:!0})],kt.prototype,"option",2);oe([a({type:Number,reflect:!0})],kt.prototype,"imageSize",2);kt=oe([y("o-reassurance")],kt);var vi=Object.defineProperty,gi=Object.getOwnPropertyDescriptor,X=(o,t,e,n)=>{for(var i=n>1?void 0:n?gi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&vi(t,e,i),i};const bi=Xt(u);let O=class extends bi{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1,this.inactive=!1}handleClick(o){this.selected||(this.selected=!0);const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}render(){const o=this.text;return this.link?l`
2004
- <a href="${this.link}" class="o-chip" tabindex="${this.inactive?"-1":"0"}"
2005
- aria-hidden="${this.inactive?"true":d}" aria-current="${this.selected?"true":d}">
1999
+ <a href="${this.link}" class="o-chip" tabindex="${this.inactive?"-1":d}"
2000
+ aria-current="${this.selected?"true":d}">
2006
2001
  ${o?this.text:l`<slot></slot>`}
2007
2002
  </a>
2008
2003
  `:l`
package/index.mjs CHANGED
@@ -2897,14 +2897,9 @@ wt.styles = f`
2897
2897
  }
2898
2898
 
2899
2899
  :host([type="eyebrow"]) .tag {
2900
- text-transform: lowercase;
2901
2900
  overflow: hidden;
2902
2901
  white-space: nowrap;
2903
2902
  text-overflow: ellipsis;
2904
-
2905
- &::first-letter {
2906
- text-transform: uppercase;
2907
- }
2908
2903
  }
2909
2904
 
2910
2905
  `;
@@ -3901,8 +3896,8 @@ let O = class extends bi {
3901
3896
  render() {
3902
3897
  const o = this.text;
3903
3898
  return this.link ? l`
3904
- <a href="${this.link}" class="o-chip" tabindex="${this.inactive ? "-1" : "0"}"
3905
- aria-hidden="${this.inactive ? "true" : d}" aria-current="${this.selected ? "true" : d}">
3899
+ <a href="${this.link}" class="o-chip" tabindex="${this.inactive ? "-1" : d}"
3900
+ aria-current="${this.selected ? "true" : d}">
3906
3901
  ${o ? this.text : l`<slot></slot>`}
3907
3902
  </a>
3908
3903
  ` : l`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "0.10.31",
3
+ "version": "0.10.33",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",