@florid-kit/components 0.9.37 → 0.9.38

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 +3 -9
  2. package/index.mjs +3 -9
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1291,6 +1291,9 @@
1291
1291
  font-family: var(--font-family-loccitane-sans);
1292
1292
  letter-spacing: var(--letter-spacing-400);
1293
1293
  position: relative;
1294
+ overflow: hidden;
1295
+ white-space: nowrap;
1296
+ text-overflow: ellipsis;
1294
1297
  }
1295
1298
 
1296
1299
  .tag.background-emphasis {
@@ -1328,15 +1331,6 @@
1328
1331
  background-color: var(--color-content-success);
1329
1332
  }
1330
1333
 
1331
- :host(:not([type$="percentage"])) .tag {
1332
- @media (max-width: 480px) {
1333
- overflow: hidden;
1334
- white-space: nowrap;
1335
- text-overflow: ellipsis;
1336
- max-width: 19ch;
1337
- }
1338
- }
1339
-
1340
1334
  `;Jt([a({type:String,reflect:!0})],mt.prototype,"type",2);Jt([a({type:String,reflect:!0})],mt.prototype,"bgstyle",2);mt=Jt([g("o-tag")],mt);var ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,Qt=(o,t,e,r)=>{for(var i=r>1?void 0:r?ei(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&ti(t,e,i),i};let xt=class extends p{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
1341
1335
  <div class="tooltip">
1342
1336
  <span class="tooltiptext">${this.text}</span>
package/index.mjs CHANGED
@@ -2816,6 +2816,9 @@ mt.styles = v`
2816
2816
  font-family: var(--font-family-loccitane-sans);
2817
2817
  letter-spacing: var(--letter-spacing-400);
2818
2818
  position: relative;
2819
+ overflow: hidden;
2820
+ white-space: nowrap;
2821
+ text-overflow: ellipsis;
2819
2822
  }
2820
2823
 
2821
2824
  .tag.background-emphasis {
@@ -2853,15 +2856,6 @@ mt.styles = v`
2853
2856
  background-color: var(--color-content-success);
2854
2857
  }
2855
2858
 
2856
- :host(:not([type$="percentage"])) .tag {
2857
- @media (max-width: 480px) {
2858
- overflow: hidden;
2859
- white-space: nowrap;
2860
- text-overflow: ellipsis;
2861
- max-width: 19ch;
2862
- }
2863
- }
2864
-
2865
2859
  `;
2866
2860
  Jt([
2867
2861
  a({ type: String, reflect: !0 })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "0.9.37",
3
+ "version": "0.9.38",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",