@florid-kit/components 0.9.37 → 0.9.39
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.
- package/components/tag.d.ts +1 -1
- package/index.js +8 -6
- package/index.mjs +8 -6
- package/package.json +1 -1
package/components/tag.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
|
|
3
|
-
type TagType = "" | "nostock" | "lowstock" | "instock" | "percentage";
|
|
3
|
+
type TagType = "" | "nostock" | "lowstock" | "instock" | "percentage" | "eyebrow";
|
|
4
4
|
type bgstyle = "background-emphasis" | "background-white";
|
|
5
5
|
export declare class OccitaneTag extends LitElement {
|
|
6
6
|
static styles: import('lit').CSSResult;
|
package/index.js
CHANGED
|
@@ -1328,12 +1328,14 @@
|
|
|
1328
1328
|
background-color: var(--color-content-success);
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
1331
|
-
:host(
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1331
|
+
:host([type="eyebrow"]) .tag {
|
|
1332
|
+
text-transform: lowercase;
|
|
1333
|
+
overflow: hidden;
|
|
1334
|
+
white-space: nowrap;
|
|
1335
|
+
text-overflow: ellipsis;
|
|
1336
|
+
|
|
1337
|
+
&::first-letter {
|
|
1338
|
+
text-transform: uppercase;
|
|
1337
1339
|
}
|
|
1338
1340
|
}
|
|
1339
1341
|
|
package/index.mjs
CHANGED
|
@@ -2853,12 +2853,14 @@ mt.styles = v`
|
|
|
2853
2853
|
background-color: var(--color-content-success);
|
|
2854
2854
|
}
|
|
2855
2855
|
|
|
2856
|
-
:host(
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2856
|
+
:host([type="eyebrow"]) .tag {
|
|
2857
|
+
text-transform: lowercase;
|
|
2858
|
+
overflow: hidden;
|
|
2859
|
+
white-space: nowrap;
|
|
2860
|
+
text-overflow: ellipsis;
|
|
2861
|
+
|
|
2862
|
+
&::first-letter {
|
|
2863
|
+
text-transform: uppercase;
|
|
2862
2864
|
}
|
|
2863
2865
|
}
|
|
2864
2866
|
|