@chefuicore/core 0.4.0 → 0.5.0
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/dist/components/chef-ui-checkbox.d.ts +34 -0
- package/dist/components/chef-ui-checkbox.d.ts.map +1 -0
- package/dist/components/chef-ui-reaction.d.ts +23 -0
- package/dist/components/chef-ui-reaction.d.ts.map +1 -0
- package/dist/icons/bookmark-outline.d.ts +5 -0
- package/dist/icons/bookmark-outline.d.ts.map +1 -0
- package/dist/icons/bookmark.d.ts +6 -0
- package/dist/icons/bookmark.d.ts.map +1 -0
- package/dist/icons/heart-outline.d.ts +5 -0
- package/dist/icons/heart-outline.d.ts.map +1 -0
- package/dist/icons/heart.d.ts +6 -0
- package/dist/icons/heart.d.ts.map +1 -0
- package/dist/icons/minus.d.ts +6 -0
- package/dist/icons/minus.d.ts.map +1 -0
- package/dist/icons/star-outline.d.ts +5 -0
- package/dist/icons/star-outline.d.ts.map +1 -0
- package/dist/icons/star.d.ts +6 -0
- package/dist/icons/star.d.ts.map +1 -0
- package/dist/icons/thumbs-up-outline.d.ts +5 -0
- package/dist/icons/thumbs-up-outline.d.ts.map +1 -0
- package/dist/icons/thumbs-up.d.ts +6 -0
- package/dist/icons/thumbs-up.d.ts.map +1 -0
- package/dist/index.cjs +502 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +501 -52
- package/dist/index.js.map +1 -1
- package/dist/utils/icon-resolver.d.ts +1 -1
- package/dist/utils/icon-resolver.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import './chef-icon';
|
|
3
|
+
import type { IconName } from '../utils/icon-resolver';
|
|
4
|
+
export declare class ChefUiCheckbox extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
indeterminate: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
required: boolean;
|
|
10
|
+
error: boolean;
|
|
11
|
+
name?: string;
|
|
12
|
+
value: string;
|
|
13
|
+
size: 'small' | 'medium' | 'large';
|
|
14
|
+
color: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
15
|
+
label?: string;
|
|
16
|
+
helperText?: string;
|
|
17
|
+
labelPlacement: 'start' | 'end' | 'top' | 'bottom';
|
|
18
|
+
checkedIcon?: IconName;
|
|
19
|
+
uncheckedIcon?: IconName;
|
|
20
|
+
indeterminateIcon?: IconName;
|
|
21
|
+
iconOnly: boolean;
|
|
22
|
+
checkboxType?: 'heart' | 'star' | 'bookmark' | 'thumbs-up';
|
|
23
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
24
|
+
private handleChange;
|
|
25
|
+
private handleClick;
|
|
26
|
+
private getIcon;
|
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'chef-ui-checkbox': ChefUiCheckbox;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=chef-ui-checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chef-ui-checkbox.d.ts","sourceRoot":"","sources":["../../src/components/chef-ui-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,qBACa,cAAe,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BA6PX;IAE0C,OAAO,UAAS;IAChB,aAAa,UAAS;IACtB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,KAAK,UAAS;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,SAAQ;IACE,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAY;IAC9C,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAa;IACrG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACyB,cAAc,EAAE,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAS;IACxG,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IACW,QAAQ,UAAS;IACd,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC;IAElI,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAO/C,OAAO,CAAC,YAAY;IAgCpB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,OAAO;IAsBf,MAAM;CAgDT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,kBAAkB,EAAE,cAAc,CAAC;KACtC;CACJ"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import './chef-icon';
|
|
3
|
+
export declare class ChefUiReaction extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
active: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
count: number;
|
|
8
|
+
showCount: boolean;
|
|
9
|
+
type: 'like' | 'thumbs-up' | 'star' | 'bookmark';
|
|
10
|
+
size: 'small' | 'medium' | 'large';
|
|
11
|
+
variant: 'outlined' | 'filled';
|
|
12
|
+
name?: string;
|
|
13
|
+
value: string;
|
|
14
|
+
private getIcon;
|
|
15
|
+
private handleClick;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'chef-ui-reaction': ChefUiReaction;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=chef-ui-reaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chef-ui-reaction.d.ts","sourceRoot":"","sources":["../../src/components/chef-ui-reaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,aAAa,CAAC;AAGrB,qBACa,cAAe,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BA0IX;IAE0C,MAAM,UAAS;IACf,QAAQ,UAAS;IACjC,KAAK,SAAK;IACT,SAAS,UAAQ;IACH,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAU;IAC1D,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAY;IAC9C,OAAO,EAAE,UAAU,GAAG,QAAQ,CAAc;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,SAAQ;IAEzC,OAAO,CAAC,OAAO;IAUf,OAAO,CAAC,WAAW;IA6BnB,MAAM;CAwBT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,kBAAkB,EAAE,cAAc,CAAC;KACtC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmark-outline.d.ts","sourceRoot":"","sources":["../../src/icons/bookmark-outline.ts"],"names":[],"mappings":";;;AAAA,wBAEE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmark.d.ts","sourceRoot":"","sources":["../../src/icons/bookmark.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heart-outline.d.ts","sourceRoot":"","sources":["../../src/icons/heart-outline.ts"],"names":[],"mappings":";;;AAAA,wBAEE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heart.d.ts","sourceRoot":"","sources":["../../src/icons/heart.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minus.d.ts","sourceRoot":"","sources":["../../src/icons/minus.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"star-outline.d.ts","sourceRoot":"","sources":["../../src/icons/star-outline.ts"],"names":[],"mappings":";;;AAAA,wBAEE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"star.d.ts","sourceRoot":"","sources":["../../src/icons/star.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumbs-up-outline.d.ts","sourceRoot":"","sources":["../../src/icons/thumbs-up-outline.ts"],"names":[],"mappings":";;;AAAA,wBAEE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumbs-up.d.ts","sourceRoot":"","sources":["../../src/icons/thumbs-up.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"}
|