@florid-kit/components 0.3.6 → 0.3.7

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.
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- type Status = "standard" | "discret" | "review";
3
+ type Template = "standard" | "discret" | "review";
4
4
  type Inverse = true | false;
5
5
  type endIcon = true | false;
6
6
  type reverseEndIcon = true | false;
@@ -8,7 +8,7 @@ export declare class OccitaneLink extends LitElement {
8
8
  static styles: import('lit').CSSResult;
9
9
  href: string;
10
10
  target: "_blank" | "_parent" | "_self" | "_top" | "";
11
- status: Status;
11
+ template: Template;
12
12
  inverse: Inverse;
13
13
  endIcon: endIcon;
14
14
  reverseEndIcon: reverseEndIcon;
package/index.js CHANGED
@@ -391,7 +391,7 @@
391
391
  }
392
392
 
393
393
  }
394
- `;A([c({type:String,reflect:!0})],b.prototype,"bgstyle",2);A([c({type:String,reflect:!0})],b.prototype,"size",2);A([c({type:String,reflect:!0})],b.prototype,"status",2);A([c({type:String,reflect:!0})],b.prototype,"type",2);A([c({type:String})],b.prototype,"strokewidth",2);A([c({type:String})],b.prototype,"icon",2);A([c({type:Boolean,reflect:!0})],b.prototype,"disabled",2);b=A([Z("o-icon-button")],b);var de=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,k=(i,t,e,s)=>{for(var r=s>1?void 0:s?ue(t,e):t,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(t,e,r):o(r))||r);return s&&r&&de(t,e,r),r};let $=class extends w{constructor(){super(...arguments),this.href="",this.target="",this.status="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}render(){return g`
394
+ `;A([c({type:String,reflect:!0})],b.prototype,"bgstyle",2);A([c({type:String,reflect:!0})],b.prototype,"size",2);A([c({type:String,reflect:!0})],b.prototype,"status",2);A([c({type:String,reflect:!0})],b.prototype,"type",2);A([c({type:String})],b.prototype,"strokewidth",2);A([c({type:String})],b.prototype,"icon",2);A([c({type:Boolean,reflect:!0})],b.prototype,"disabled",2);b=A([Z("o-icon-button")],b);var de=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,k=(i,t,e,s)=>{for(var r=s>1?void 0:s?ue(t,e):t,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(t,e,r):o(r))||r);return s&&r&&de(t,e,r),r};let $=class extends w{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}render(){return g`
395
395
  <a href="${this.href}" target="${this.target}">
396
396
  ${this.endIcon&&this.reverseEndIcon?g`
397
397
  <o-icon-button
@@ -414,7 +414,7 @@
414
414
  `:null}
415
415
  </a>
416
416
  `}};$.styles=I`
417
- :host([status="standard"]) a {
417
+ :host([template="standard"]) a {
418
418
  color: var(--color-content-action-secondary);
419
419
  font-size: var(--font-size-200);
420
420
  font-weight: var(--font-weight-400);
@@ -423,7 +423,7 @@
423
423
  font-family: var(--font-family-loccitane-serif);
424
424
  }
425
425
 
426
- :host([status="discret"]) a {
426
+ :host([template="discret"]) a {
427
427
  color: var(--color-content-action-secondary);
428
428
  font-size: var(--font-size-100);
429
429
  font-weight: var(--font-weight-400);
@@ -432,7 +432,7 @@
432
432
  font-family: var(--font-family-loccitane-sans);
433
433
  }
434
434
 
435
- :host([status="review"]) a {
435
+ :host([template="review"]) a {
436
436
  color: var(--color-content-action-secondary);
437
437
  font-size: var(--font-size-100);
438
438
  font-weight: var(--font-weight-500);
@@ -510,4 +510,4 @@
510
510
  opacity: 0;
511
511
  }
512
512
  /* End of underline effect */
513
- `;k([c({type:String})],$.prototype,"href",2);k([c({type:String})],$.prototype,"target",2);k([c({type:String,reflect:!0})],$.prototype,"status",2);k([c({type:Boolean,reflect:!0})],$.prototype,"inverse",2);k([c({type:Boolean,reflect:!0})],$.prototype,"endIcon",2);k([c({type:Boolean,reflect:!0})],$.prototype,"reverseEndIcon",2);$=k([Z("o-link")],$);
513
+ `;k([c({type:String})],$.prototype,"href",2);k([c({type:String})],$.prototype,"target",2);k([c({type:String,reflect:!0})],$.prototype,"template",2);k([c({type:Boolean,reflect:!0})],$.prototype,"inverse",2);k([c({type:Boolean,reflect:!0})],$.prototype,"endIcon",2);k([c({type:Boolean,reflect:!0})],$.prototype,"reverseEndIcon",2);$=k([Z("o-link")],$);
package/index.mjs CHANGED
@@ -1207,7 +1207,7 @@ var de = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, k = (i, t,
1207
1207
  };
1208
1208
  let $ = class extends w {
1209
1209
  constructor() {
1210
- super(...arguments), this.href = "", this.target = "", this.status = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1210
+ super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1211
1211
  }
1212
1212
  render() {
1213
1213
  return g`
@@ -1236,7 +1236,7 @@ let $ = class extends w {
1236
1236
  }
1237
1237
  };
1238
1238
  $.styles = I`
1239
- :host([status="standard"]) a {
1239
+ :host([template="standard"]) a {
1240
1240
  color: var(--color-content-action-secondary);
1241
1241
  font-size: var(--font-size-200);
1242
1242
  font-weight: var(--font-weight-400);
@@ -1245,7 +1245,7 @@ $.styles = I`
1245
1245
  font-family: var(--font-family-loccitane-serif);
1246
1246
  }
1247
1247
 
1248
- :host([status="discret"]) a {
1248
+ :host([template="discret"]) a {
1249
1249
  color: var(--color-content-action-secondary);
1250
1250
  font-size: var(--font-size-100);
1251
1251
  font-weight: var(--font-weight-400);
@@ -1254,7 +1254,7 @@ $.styles = I`
1254
1254
  font-family: var(--font-family-loccitane-sans);
1255
1255
  }
1256
1256
 
1257
- :host([status="review"]) a {
1257
+ :host([template="review"]) a {
1258
1258
  color: var(--color-content-action-secondary);
1259
1259
  font-size: var(--font-size-100);
1260
1260
  font-weight: var(--font-weight-500);
@@ -1341,7 +1341,7 @@ k([
1341
1341
  ], $.prototype, "target", 2);
1342
1342
  k([
1343
1343
  c({ type: String, reflect: !0 })
1344
- ], $.prototype, "status", 2);
1344
+ ], $.prototype, "template", 2);
1345
1345
  k([
1346
1346
  c({ type: Boolean, reflect: !0 })
1347
1347
  ], $.prototype, "inverse", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",