@fluid-topics/ft-collapsible 0.3.12 → 0.3.13

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.
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult;
2
+ //# sourceMappingURL=ft-collapsible.css.d.ts.map
@@ -0,0 +1,16 @@
1
+ // language=CSS
2
+ import { css } from "lit";
3
+ export const styles = css `
4
+ :host, :root {
5
+ display: block;
6
+ }
7
+
8
+ .content {
9
+ margin: 12px 0;
10
+ }
11
+
12
+ .hidden {
13
+ display: none;
14
+ }
15
+ `;
16
+ //# sourceMappingURL=ft-collapsible.css.js.map
@@ -1,17 +1,6 @@
1
1
  import { PropertyValues } from "lit";
2
2
  import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
3
- export interface FtCollapsibleProperties {
4
- open: boolean;
5
- primary: boolean;
6
- secondary: boolean;
7
- disabled: boolean;
8
- dense: boolean;
9
- round: boolean;
10
- label: string;
11
- openIcon?: string;
12
- closedIcon?: string;
13
- trailingIcon: boolean;
14
- }
3
+ import { FtCollapsibleProperties } from "./ft-collapsible.properties";
15
4
  export declare class FtCollapsible extends FtLitElement implements FtCollapsibleProperties {
16
5
  static elementDefinitions: ElementDefinitionsMap;
17
6
  content: HTMLElement;
@@ -4,10 +4,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { css, html, } from "lit";
7
+ import { html, } from "lit";
8
8
  import { property, query } from "lit/decorators.js";
9
9
  import { FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { FtButton } from "@fluid-topics/ft-button";
11
+ import { styles } from "./ft-collapsible.css";
11
12
  export class FtCollapsible extends FtLitElement {
12
13
  constructor() {
13
14
  super(...arguments);
@@ -68,20 +69,7 @@ export class FtCollapsible extends FtLitElement {
68
69
  FtCollapsible.elementDefinitions = {
69
70
  "ft-button": FtButton,
70
71
  };
71
- // language=CSS
72
- FtCollapsible.styles = css `
73
- :host, :root {
74
- display: block;
75
- }
76
-
77
- .content {
78
- margin: 12px 0;
79
- }
80
-
81
- .hidden {
82
- display: none;
83
- }
84
- `;
72
+ FtCollapsible.styles = styles;
85
73
  __decorate([
86
74
  query(".content")
87
75
  ], FtCollapsible.prototype, "content", void 0);