@skedulo/breeze-ui 0.5.2 → 0.6.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/lib/{breeze-ui.cjs → cjs/breeze-ui.js} +112 -112
- package/lib/{breeze-ui.js → es/breeze-ui.js} +1973 -1967
- package/package.json +7 -3
- package/types/components/alert.d.ts +1 -1
- package/types/components/alert.d.ts.map +1 -1
- package/types/components/avatar.d.ts +2 -2
- package/types/components/avatar.d.ts.map +1 -1
- package/types/components/badge.d.ts +1 -1
- package/types/components/badge.d.ts.map +1 -1
- package/types/components/buttons.d.ts +2 -2
- package/types/components/buttons.d.ts.map +1 -1
- package/types/components/combo-box.d.ts.map +1 -1
- package/types/components/form-elements/input-base.d.ts +1 -1
- package/types/components/form-elements/input-base.d.ts.map +1 -1
- package/types/components/form-elements/input-checkbox.d.ts +1 -1
- package/types/components/form-elements/input-checkbox.d.ts.map +1 -1
- package/types/components/form-elements/input-code.d.ts +1 -1
- package/types/components/form-elements/input-code.d.ts.map +1 -1
- package/types/components/form-elements/input-error.d.ts.map +1 -1
- package/types/components/form-elements/input-guide.d.ts.map +1 -1
- package/types/components/form-elements/input-multiselect.d.ts +2 -2
- package/types/components/form-elements/input-multiselect.d.ts.map +1 -1
- package/types/components/form-elements/input-number.d.ts +1 -1
- package/types/components/form-elements/input-number.d.ts.map +1 -1
- package/types/components/form-elements/input-radio.d.ts +2 -2
- package/types/components/form-elements/input-radio.d.ts.map +1 -1
- package/types/components/form-elements/input-select.d.ts +2 -2
- package/types/components/form-elements/input-select.d.ts.map +1 -1
- package/types/components/form-elements/input-text.d.ts +1 -1
- package/types/components/form-elements/input-text.d.ts.map +1 -1
- package/types/components/form-elements/input-textarea.d.ts +1 -1
- package/types/components/form-elements/input-textarea.d.ts.map +1 -1
- package/types/components/form-elements/input-time.d.ts +2 -2
- package/types/components/form-elements/input-time.d.ts.map +1 -1
- package/types/components/form-elements/labeled-input.d.ts +2 -2
- package/types/components/form-elements/labeled-input.d.ts.map +1 -1
- package/types/components/heading.d.ts +1 -1
- package/types/components/heading.d.ts.map +1 -1
- package/types/components/icon/icons.d.ts +2 -2
- package/types/components/icon/icons.d.ts.map +1 -1
- package/types/components/illustration/illustrations.d.ts +2 -2
- package/types/components/illustration/illustrations.d.ts.map +1 -1
- package/types/components/legacy-scoped-components.d.ts.map +1 -1
- package/types/components/links.d.ts +1 -1
- package/types/components/links.d.ts.map +1 -1
- package/types/components/lozenge.d.ts +3 -3
- package/types/components/lozenge.d.ts.map +1 -1
- package/types/components/menu/dropdown-menu.d.ts +2 -2
- package/types/components/menu/dropdown-menu.d.ts.map +1 -1
- package/types/components/menu/menu.d.ts +1 -1
- package/types/components/menu/menu.d.ts.map +1 -1
- package/types/components/navigation/side-navigation.d.ts.map +1 -1
- package/types/components/pagination.d.ts +3 -3
- package/types/components/pagination.d.ts.map +1 -1
- package/types/components/popover.d.ts +5 -5
- package/types/components/popover.d.ts.map +1 -1
- package/types/components/record-row.d.ts.map +1 -1
- package/types/components/tooltip.d.ts +1 -1
- package/types/components/tooltip.d.ts.map +1 -1
- package/types/layout/footer.d.ts.map +1 -1
- package/types/layout/header-footer-page.d.ts.map +1 -1
- package/types/layout/header.d.ts.map +1 -1
- package/types/layout/responsive-columns.d.ts.map +1 -1
- package/types/storybook/colors.stories.d.ts.map +1 -1
- package/types/storybook/fade-in-out.stories.d.ts.map +1 -1
- package/types/styles/global-styles.d.ts.map +1 -1
- package/types/types.d.ts +4 -4
- package/types/types.d.ts.map +1 -1
- package/types/utils/index.d.ts +4 -0
- package/types/utils/index.d.ts.map +1 -0
- package/types/utils/lit-utils.d.ts +15 -1
- package/types/utils/lit-utils.d.ts.map +1 -1
|
@@ -26,7 +26,7 @@ declare global {
|
|
|
26
26
|
[PAGINATION]: Pagination;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
type BasicPaginationEventType = 'next-page' | 'previous-page';
|
|
30
30
|
/**
|
|
31
31
|
* Basic pagination component
|
|
32
32
|
*
|
|
@@ -40,8 +40,8 @@ export declare class BasicPagination extends LitElement {
|
|
|
40
40
|
private handlePageChange;
|
|
41
41
|
render(): import("lit-html").TemplateResult<1>;
|
|
42
42
|
}
|
|
43
|
-
export
|
|
44
|
-
|
|
43
|
+
export type PaginationOnPageChangedEvent = CustomEvent<PaginationOnPageChangedEventPayload>;
|
|
44
|
+
type PaginationEventType = 'page-change';
|
|
45
45
|
interface PaginationOnPageChangedEventPayload {
|
|
46
46
|
page: number;
|
|
47
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/components/pagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,OAAO,gBAAgB,CAAA;AACvB,OAAO,WAAW,CAAA;AAClB,OAAO,QAAQ,CAAA;AAEf,eAAO,MAAM,gBAAgB,wBAAwC,CAAA;AACrE,eAAO,MAAM,UAAU,kBAAkC,CAAA;AAEzD,MAAM,WAAW,oBAAoB;IACnC,eAAe,EAAE,OAAO,CAAA;IACxB,mBAAmB,EAAE,OAAO,CAAA;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAA;YACnE,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC,CAAA;SACpD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,gBAAgB,CAAC,EAAE,eAAe,CAAA;QACnC,CAAC,U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AM,MAAM,4BAA4B,GACtC,WAAW,CAAC,mCAAmC,CAAC,CAAA;AAElD,KAAK,mBAAmB,GAAG,aAAa,CAAA;AAExC,UAAU,mCAAmC;IAC3C,IAAI,EAAE,MAAM,CAAA;CACb;AAYD;;;;GAIG;AACH,qBACa,UAAW,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,0BAiEZ;IAGD,UAAU,EAAG,MAAM,CAAA;IAGnB,QAAQ,EAAG,MAAM,CAAA;IAGjB,WAAW,EAAG,MAAM,CAAA;IAGpB,OAAO,CAAC,mBAAmB,CAAI;IAG/B,OAAO,CAAC,UAAU,CAAS;IAG3B,OAAO,CAAC,KAAK,CAAgC;IAE7C,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM;IAI3D,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,cAAc;IAItB,MAAM;CA6DP"}
|
|
@@ -5,7 +5,7 @@ export declare const POPOVER: "brz-popover";
|
|
|
5
5
|
export declare const PURE_POPOVER: "brz-pure-popover";
|
|
6
6
|
export declare const POPOVER_TRIGGERS: readonly ["click", "hover", "focus"];
|
|
7
7
|
export declare const click: "click", hover: "hover", focus: "focus";
|
|
8
|
-
|
|
8
|
+
type PopoverTrigger = typeof POPOVER_TRIGGERS[number];
|
|
9
9
|
/**
|
|
10
10
|
* Multiple popover trigger values can be set in a single string value for the
|
|
11
11
|
* `trigger` attribute, in any combination, separated by a space.
|
|
@@ -13,10 +13,10 @@ declare type PopoverTrigger = typeof POPOVER_TRIGGERS[number];
|
|
|
13
13
|
* This typing is a bit tedious and may be overkill, but the payoff is better
|
|
14
14
|
* IDE suggestions when the component is used in React/TS etc.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
type SpaceCaseTriggers = `${typeof click} ${typeof focus}` | `${typeof click} ${typeof focus} ${typeof hover}` | `${typeof click} ${typeof hover}` | `${typeof click} ${typeof hover} ${typeof focus}` | `${typeof focus} ${typeof hover}` | `${typeof focus} ${typeof hover} ${typeof click}` | `${typeof focus} ${typeof click}` | `${typeof focus} ${typeof click} ${typeof hover}` | `${typeof hover} ${typeof click}` | `${typeof hover} ${typeof click} ${typeof focus}` | `${typeof hover} ${typeof focus}` | `${typeof hover} ${typeof focus} ${typeof click}`;
|
|
17
|
+
type Trigger = PopoverTrigger | PopoverTrigger[] | SpaceCaseTriggers;
|
|
18
18
|
export declare const POPOVER_ROLES: readonly ["dialog", "tooltip", "menu"];
|
|
19
|
-
|
|
19
|
+
type PopoverRole = typeof POPOVER_ROLES[number];
|
|
20
20
|
export interface PurePopoverProps {
|
|
21
21
|
'delay-on-close'?: number;
|
|
22
22
|
'delay-on-open'?: number;
|
|
@@ -43,7 +43,7 @@ declare global {
|
|
|
43
43
|
[PURE_POPOVER]: PurePopover;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
type PopoverEventType = 'open' | 'after-open' | 'close' | 'after-close';
|
|
47
47
|
/**
|
|
48
48
|
* Pure popover component
|
|
49
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAC3D,OAAO,EAAgB,QAAQ,EAAW,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAKnC,eAAO,MAAM,OAAO,eAA+B,CAAA;AACnD,eAAO,MAAM,YAAY,oBAAoC,CAAA;AAE7D,eAAO,MAAM,gBAAgB,sCAAuC,CAAA;AACpE,eAAO,MAAO,KAAK,WAAE,KAAK,WAAE,KAAK,SAAoB,CAAA;AACrD,
|
|
1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O,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"record-row.d.ts","sourceRoot":"","sources":["../../../src/components/record-row.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,UAAU,kBAAkC,CAAA;AACzD,eAAO,MAAM,gBAAgB,wBAAwC,CAAA;AAErE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;YACjC,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAA;SAC7C;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,UAAU,CAAC,EAAE,SAAS,CAAA;QACvB,CAAC,gBAAgB,CAAC,EAAE,cAAc,CAAA;KACnC;CACF;AAED;;;;GAIG;AACH,qBACa,SAAU,SAAQ,UAAU;IACvC,MAAM,CAAC,MAAM,0BAoBZ;IAED,MAAM;CAQP;AAED;;;;GAIG;AACH,qBACa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BAOZ;IAED,MAAM;CAGP"}
|
|
@@ -2,7 +2,7 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
import { PopoverProps } from './popover';
|
|
3
3
|
import type { JSXProps } from '../types';
|
|
4
4
|
export declare const TOOLTIP: "brz-tooltip";
|
|
5
|
-
|
|
5
|
+
type Theme = keyof typeof TooltipTheme;
|
|
6
6
|
declare enum TooltipTheme {
|
|
7
7
|
dark = 0,
|
|
8
8
|
light = 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAA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AGZ,KAAK,EAAE,KAAK,CAAS;IAErB,SAAS,CAAC,MAAM;CAiBjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/layout/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/layout/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,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,0BAOZ;IAED,MAAM;CAOP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-footer-page.d.ts","sourceRoot":"","sources":["../../../src/layout/header-footer-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"header-footer-page.d.ts","sourceRoot":"","sources":["../../../src/layout/header-footer-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,kBAAkB,0BAA0C,CAAA;AAEzE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAA;SACjD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,kBAAkB,CAAC,EAAE,gBAAgB,CAAA;KACvC;CACF;AAED;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAkBZ;IAED,MAAM;CASP"}
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/layout/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsive-columns.d.ts","sourceRoot":"","sources":["../../../src/layout/responsive-columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"responsive-columns.d.ts","sourceRoot":"","sources":["../../../src/layout/responsive-columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,kBAAkB,0BAA0C,CAAA;AAEzE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;SAClD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,kBAAkB,CAAC,EAAE,iBAAiB,CAAA;KACxC;CACF;AAED;;;;GAIG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,0BAgCZ;IAED,MAAM;CAGP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.stories.d.ts","sourceRoot":"","sources":["../../../src/storybook/colors.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAO,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"colors.stories.d.ts","sourceRoot":"","sources":["../../../src/storybook/colors.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAO,MAAM,KAAK,CAAA;AAKrC;;;GAGG;AACH,qBACa,WAAY,SAAQ,UAAU;IAEzC,QAAQ,SAAK;IAGb,SAAS,UAAQ;IAEjB,MAAM,CAAC,MAAM,0BAqBZ;IAED,MAAM;CAcP;AAED;;GAEG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAE9C,OAAO,UAAQ;IAEf,MAAM,CAAC,MAAM,0BAYZ;IAED,MAAM;CAGP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fade-in-out.stories.d.ts","sourceRoot":"","sources":["../../../src/storybook/fade-in-out.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAGhC,OAAO,0BAA0B,CAAA;AACjC,OAAO,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"fade-in-out.stories.d.ts","sourceRoot":"","sources":["../../../src/storybook/fade-in-out.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAGhC,OAAO,0BAA0B,CAAA;AACjC,OAAO,uBAAuB,CAAA;AAO9B,qBACa,cAAe,SAAQ,UAAU;IAE5C,KAAK,UAAQ;IAEb,YAAY;IAIZ,MAAM;CAkBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-styles.d.ts","sourceRoot":"","sources":["../../../src/styles/global-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"global-styles.d.ts","sourceRoot":"","sources":["../../../src/styles/global-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAS3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,eAAO,MAAM,aAAa,qBAAqC,CAAA;AAE/D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAA;SACxC;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,aAAa,CAAC,EAAE,YAAY,CAAA;KAC9B;CACF;AAED,qBACa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,4BAyBZ;IAED,MAAM;CAGP"}
|
package/types/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
2
2
|
import type { Globals, Property } from 'csstype';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type JSXProps<Element extends HTMLElement = HTMLElement, Props = Record<string, unknown>> = DetailedHTMLProps<HTMLAttributes<Element>, Element> & Props;
|
|
4
|
+
export type ElementTypes = HTMLElement | Element | Node | ParentNode | null;
|
|
5
|
+
export type SizeProperty = Globals | (string & {}) | 'auto' | 0 | number;
|
|
6
|
+
export type ColorProperty = Property.Color;
|
|
7
7
|
//# sourceMappingURL=types.d.ts.map
|
package/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEhD,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEhD,MAAM,MAAM,QAAQ,CAClB,OAAO,SAAS,WAAW,GAAG,WAAW,EACzC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC7B,iBAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,GAAG,KAAK,CAAA;AAE/D,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,OAAO,GAAG,IAAI,GAAG,UAAU,GAAG,IAAI,CAAA;AAG3E,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,MAAM,CAAA;AAExE,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ScopedTagName<T extends string> = `brz-${Lowercase<T>}`;
|
|
2
2
|
/**
|
|
3
3
|
* Simple convenience utility to create a reference for reuse in functions and
|
|
4
4
|
* type definitions.
|
|
@@ -12,4 +12,18 @@ export declare type ScopedTagName<T extends string> = `brz-${Lowercase<T>}`;
|
|
|
12
12
|
* makeScopedTagName('EXAMPLE')
|
|
13
13
|
*/
|
|
14
14
|
export declare const makeScopedTagName: <ComponentName extends string>(componentName: ComponentName) => `brz-${Lowercase<ComponentName>}`;
|
|
15
|
+
/**
|
|
16
|
+
* Wrapper for Lit's `customElement` decorator.
|
|
17
|
+
*
|
|
18
|
+
* Attempting to register the same element more than once causes a DOM exception
|
|
19
|
+
* and a full crash of anything depending on it.
|
|
20
|
+
*
|
|
21
|
+
* To avoid this, we do a soft check first before attempting to register a new
|
|
22
|
+
* custom element.
|
|
23
|
+
*
|
|
24
|
+
* @param tagName The custom element tag name to be registered
|
|
25
|
+
*/
|
|
26
|
+
export declare const customElement: (tagName: string) => ((..._: unknown[]) => undefined) | ((classOrDescriptor: {
|
|
27
|
+
prototype: HTMLElement;
|
|
28
|
+
} | import("@lit/reactive-element/decorators").ClassDescriptor) => any);
|
|
15
29
|
//# sourceMappingURL=lit-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/lit-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lit-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/lit-utils.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,OAAO,SAAS,CAAC,CAAC,CAAC,EAAE,CAAA;AAEnE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB,mGAI7B,CAAA;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,YAAa,MAAM,aAK3B,OAAO,EAAE;;uEAI1B,CAAA"}
|