@skedulo/breeze-ui 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/breeze-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "main": "lib/breeze-ui.js",
6
6
  "exports": {
@@ -14,6 +14,8 @@ declare global {
14
14
  /**
15
15
  * Header layout.
16
16
  *
17
+ * @deprecated Use PageHeader component instead
18
+ *
17
19
  * @tag brz-header
18
20
  */
19
21
  export declare class Header extends LitElement {
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/layout/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAG3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,eAAO,MAAM,MAAM,cAA8B,CAAA;AAEjD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;SAC3B;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KACjB;CACF;AAED;;;;GAIG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,MAAM,0BAMZ;IAED,MAAM;CAGP"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/layout/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAG3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,eAAO,MAAM,MAAM,cAA8B,CAAA;AAEjD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;SAC3B;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KACjB;CACF;AAED;;;;;;GAMG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,MAAM,0BAMZ;IAED,MAAM;CAGP"}
@@ -4,4 +4,5 @@ export * from './split-row';
4
4
  export * from './header-footer-page';
5
5
  export * from './responsive-columns';
6
6
  export * from './footer';
7
+ export * from './page-header';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA"}
@@ -0,0 +1,40 @@
1
+ import { LitElement } from 'lit';
2
+ import type { JSXProps } from '../types';
3
+ import '../components/heading';
4
+ import './flex';
5
+ export interface PageHeaderAttributes {
6
+ 'page-title': string;
7
+ }
8
+ declare global {
9
+ namespace JSX {
10
+ interface IntrinsicElements {
11
+ [PAGE_HEADER]: JSXProps<PageHeader, PageHeaderAttributes>;
12
+ }
13
+ }
14
+ interface HTMLElementTagNameMap {
15
+ [PAGE_HEADER]: PageHeader;
16
+ }
17
+ }
18
+ export declare const PAGE_HEADER: "brz-page-header";
19
+ /**
20
+ * Use a Page Header to apply a consistent look and feel across all application
21
+ * pages. It exposes several flexible content slots to support designs across
22
+ * various feature areas.
23
+ *
24
+ * @slot decorator An area to the left of the title, often used for avatars
25
+ * @slot subtitle A subtitle provides additional context to the title
26
+ * @slot description A flexible area for tags and other descriptive content
27
+ * @slot info An area to the right of the title, often used for status labels
28
+ * @slot actions Typically used for one or more action buttons
29
+ *
30
+ * @tag brz-page-header
31
+ */
32
+ export declare class PageHeader extends LitElement {
33
+ static styles: import("lit").CSSResult;
34
+ /**
35
+ * The main page title. Will be rendered to a Level 1 heading.
36
+ */
37
+ pageTitle: string;
38
+ protected render(): import("lit-html").TemplateResult<1>;
39
+ }
40
+ //# sourceMappingURL=page-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../../src/layout/page-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAG3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,uBAAuB,CAAA;AAC9B,OAAO,QAAQ,CAAA;AAEf,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;SAC1D;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,WAAW,CAAC,EAAE,UAAU,CAAA;KAC1B;CACF;AAED,eAAO,MAAM,WAAW,mBAAmC,CAAA;AAE3D;;;;;;;;;;;;GAYG;AACH,qBACa,UAAW,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,0BAiCZ;IAED;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAA;IAElB,SAAS,CAAC,MAAM;CAmBjB"}