reke-ui 0.1.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/LICENSE +21 -0
- package/README.md +159 -0
- package/custom-elements.json +3536 -0
- package/dist/components/reke-alert/reke-alert.d.ts +31 -0
- package/dist/components/reke-alert/reke-alert.d.ts.map +1 -0
- package/dist/components/reke-alert/reke-alert.styles.d.ts +2 -0
- package/dist/components/reke-alert/reke-alert.styles.d.ts.map +1 -0
- package/dist/components/reke-badge/reke-badge.d.ts +29 -0
- package/dist/components/reke-badge/reke-badge.d.ts.map +1 -0
- package/dist/components/reke-badge/reke-badge.styles.d.ts +2 -0
- package/dist/components/reke-badge/reke-badge.styles.d.ts.map +1 -0
- package/dist/components/reke-button/reke-button.d.ts +39 -0
- package/dist/components/reke-button/reke-button.d.ts.map +1 -0
- package/dist/components/reke-button/reke-button.styles.d.ts +2 -0
- package/dist/components/reke-button/reke-button.styles.d.ts.map +1 -0
- package/dist/components/reke-card/reke-card.d.ts +31 -0
- package/dist/components/reke-card/reke-card.d.ts.map +1 -0
- package/dist/components/reke-card/reke-card.styles.d.ts +2 -0
- package/dist/components/reke-card/reke-card.styles.d.ts.map +1 -0
- package/dist/components/reke-checkbox/reke-checkbox.d.ts +32 -0
- package/dist/components/reke-checkbox/reke-checkbox.d.ts.map +1 -0
- package/dist/components/reke-checkbox/reke-checkbox.styles.d.ts +2 -0
- package/dist/components/reke-checkbox/reke-checkbox.styles.d.ts.map +1 -0
- package/dist/components/reke-chip/reke-chip.d.ts +41 -0
- package/dist/components/reke-chip/reke-chip.d.ts.map +1 -0
- package/dist/components/reke-chip/reke-chip.styles.d.ts +2 -0
- package/dist/components/reke-chip/reke-chip.styles.d.ts.map +1 -0
- package/dist/components/reke-date-range/reke-date-range.d.ts +71 -0
- package/dist/components/reke-date-range/reke-date-range.d.ts.map +1 -0
- package/dist/components/reke-date-range/reke-date-range.styles.d.ts +2 -0
- package/dist/components/reke-date-range/reke-date-range.styles.d.ts.map +1 -0
- package/dist/components/reke-dialog/reke-dialog.d.ts +39 -0
- package/dist/components/reke-dialog/reke-dialog.d.ts.map +1 -0
- package/dist/components/reke-dialog/reke-dialog.styles.d.ts +2 -0
- package/dist/components/reke-dialog/reke-dialog.styles.d.ts.map +1 -0
- package/dist/components/reke-file-upload/reke-file-upload.d.ts +45 -0
- package/dist/components/reke-file-upload/reke-file-upload.d.ts.map +1 -0
- package/dist/components/reke-file-upload/reke-file-upload.styles.d.ts +2 -0
- package/dist/components/reke-file-upload/reke-file-upload.styles.d.ts.map +1 -0
- package/dist/components/reke-input/reke-input.d.ts +37 -0
- package/dist/components/reke-input/reke-input.d.ts.map +1 -0
- package/dist/components/reke-input/reke-input.styles.d.ts +2 -0
- package/dist/components/reke-input/reke-input.styles.d.ts.map +1 -0
- package/dist/components/reke-select/reke-select.d.ts +51 -0
- package/dist/components/reke-select/reke-select.d.ts.map +1 -0
- package/dist/components/reke-select/reke-select.styles.d.ts +2 -0
- package/dist/components/reke-select/reke-select.styles.d.ts.map +1 -0
- package/dist/components/reke-table/reke-table.d.ts +76 -0
- package/dist/components/reke-table/reke-table.d.ts.map +1 -0
- package/dist/components/reke-table/reke-table.styles.d.ts +2 -0
- package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -0
- package/dist/components/reke-textarea/reke-textarea.d.ts +37 -0
- package/dist/components/reke-textarea/reke-textarea.d.ts.map +1 -0
- package/dist/components/reke-textarea/reke-textarea.styles.d.ts +2 -0
- package/dist/components/reke-textarea/reke-textarea.styles.d.ts.map +1 -0
- package/dist/components/reke-toast/reke-toast.d.ts +44 -0
- package/dist/components/reke-toast/reke-toast.d.ts.map +1 -0
- package/dist/components/reke-toast/reke-toast.styles.d.ts +2 -0
- package/dist/components/reke-toast/reke-toast.styles.d.ts.map +1 -0
- package/dist/components/reke-toggle/reke-toggle.d.ts +33 -0
- package/dist/components/reke-toggle/reke-toggle.d.ts.map +1 -0
- package/dist/components/reke-toggle/reke-toggle.styles.d.ts +2 -0
- package/dist/components/reke-toggle/reke-toggle.styles.d.ts.map +1 -0
- package/dist/components/reke-tooltip/reke-tooltip.d.ts +32 -0
- package/dist/components/reke-tooltip/reke-tooltip.d.ts.map +1 -0
- package/dist/components/reke-tooltip/reke-tooltip.styles.d.ts +2 -0
- package/dist/components/reke-tooltip/reke-tooltip.styles.d.ts.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/react.d.ts +101 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +133 -0
- package/dist/reke-chip-Xb0Y_Cqo.js +3358 -0
- package/dist/reke-ui.js +20 -0
- package/dist/shared/base-element.d.ts +5 -0
- package/dist/shared/base-element.d.ts.map +1 -0
- package/dist/shared/tailwind-styles.d.ts +2 -0
- package/dist/shared/tailwind-styles.d.ts.map +1 -0
- package/dist/tokens/reke-tokens.css +107 -0
- package/package.json +149 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type TemplateResult } from 'lit';
|
|
2
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
3
|
+
export interface TableColumn {
|
|
4
|
+
key: string;
|
|
5
|
+
header: string;
|
|
6
|
+
width?: string;
|
|
7
|
+
align?: 'left' | 'center' | 'right';
|
|
8
|
+
/** Set to false to disable sorting on this column. Default: true. */
|
|
9
|
+
sortable?: boolean;
|
|
10
|
+
/** Custom render function for cell content. Falls back to row[col.key] if omitted. */
|
|
11
|
+
render?: (value: unknown, row: TableRow, index: number) => TemplateResult | string;
|
|
12
|
+
}
|
|
13
|
+
export type TableRow = Record<string, unknown>;
|
|
14
|
+
export type ExpandedRowRenderer = (row: TableRow, index: number) => TemplateResult;
|
|
15
|
+
/**
|
|
16
|
+
* @tag reke-table
|
|
17
|
+
* @summary A data table with custom cell rendering, expandable rows, and toolbar/footer slots.
|
|
18
|
+
*
|
|
19
|
+
* @slot toolbar - Toolbar area above the table (search, filters, title).
|
|
20
|
+
* @slot footer - Footer area below the table (pagination, record count).
|
|
21
|
+
* @slot empty - Custom empty state content (replaces default "No data").
|
|
22
|
+
*
|
|
23
|
+
* @fires reke-row-click - Fired when a row is clicked. Detail: `{ row: TableRow, index: number }`.
|
|
24
|
+
* @fires reke-sort - Fired when a sortable header is clicked. Detail: `{ key: string, direction: 'asc' | 'desc' }`.
|
|
25
|
+
* @fires reke-row-expand - Fired when a row is expanded or collapsed. Detail: `{ row: TableRow, index: number, expanded: boolean }`.
|
|
26
|
+
*
|
|
27
|
+
* @csspart table - The native table element.
|
|
28
|
+
* @csspart header - The thead element.
|
|
29
|
+
* @csspart body - The tbody element.
|
|
30
|
+
* @csspart row - Each tbody data tr element.
|
|
31
|
+
* @csspart cell - Each tbody td element.
|
|
32
|
+
* @csspart header-cell - Each thead th element.
|
|
33
|
+
* @csspart toolbar - The toolbar wrapper div.
|
|
34
|
+
* @csspart footer - The footer wrapper div.
|
|
35
|
+
* @csspart expand-row - The tr for expanded content.
|
|
36
|
+
* @csspart expand-content - The td spanning all columns in the expanded row.
|
|
37
|
+
*
|
|
38
|
+
* @cssprop [--reke-color-surface=#1A1A1A] - Table background.
|
|
39
|
+
* @cssprop [--reke-color-border=#252525] - Border and row divider color.
|
|
40
|
+
* @cssprop [--reke-color-text=#E5E5E5] - Cell text color.
|
|
41
|
+
* @cssprop [--reke-color-text-muted=#525252] - Header text color.
|
|
42
|
+
*/
|
|
43
|
+
export declare class RekeTable extends RekeElement {
|
|
44
|
+
static styles: import("lit").CSSResult[];
|
|
45
|
+
columns: TableColumn[];
|
|
46
|
+
rows: TableRow[];
|
|
47
|
+
striped: boolean;
|
|
48
|
+
dense: boolean;
|
|
49
|
+
hoverable: boolean;
|
|
50
|
+
bordered: boolean;
|
|
51
|
+
borderless: boolean;
|
|
52
|
+
sortKey: string;
|
|
53
|
+
sortDirection: 'asc' | 'desc';
|
|
54
|
+
/** When set, rows become expandable with a chevron toggle. */
|
|
55
|
+
expandedRowRender: ExpandedRowRenderer | null;
|
|
56
|
+
/** Set of row indices currently expanded. */
|
|
57
|
+
expandedRows: Set<number>;
|
|
58
|
+
private _hasToolbar;
|
|
59
|
+
private _hasFooter;
|
|
60
|
+
private handleHeaderClick;
|
|
61
|
+
private handleRowClick;
|
|
62
|
+
/** Toggle expand state for a row at the given index. */
|
|
63
|
+
toggleExpand(index: number): void;
|
|
64
|
+
/** Check whether a row at the given index is currently expanded. */
|
|
65
|
+
isRowExpanded(index: number): boolean;
|
|
66
|
+
private _onToolbarSlotChange;
|
|
67
|
+
private _onFooterSlotChange;
|
|
68
|
+
private _renderRow;
|
|
69
|
+
render(): TemplateResult<1>;
|
|
70
|
+
}
|
|
71
|
+
declare global {
|
|
72
|
+
interface HTMLElementTagNameMap {
|
|
73
|
+
'reke-table': RekeTable;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=reke-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-table.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGzD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sFAAsF;IACtF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,cAAc,GAAG,MAAM,CAAC;CACpF;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,cAAc,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBACa,SAAU,SAAQ,WAAW;IACxC,OAAgB,MAAM,4BAAU;IAGhC,OAAO,EAAE,WAAW,EAAE,CAAM;IAG5B,IAAI,EAAE,QAAQ,EAAE,CAAM;IAGtB,OAAO,UAAS;IAGhB,KAAK,UAAS;IAGd,SAAS,UAAS;IAGlB,QAAQ,UAAS;IAGjB,UAAU,UAAS;IAGnB,OAAO,SAAM;IAGb,aAAa,EAAE,KAAK,GAAG,MAAM,CAAS;IAEtC,8DAA8D;IAE9D,iBAAiB,EAAE,mBAAmB,GAAG,IAAI,CAAQ;IAErD,6CAA6C;IAE7C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAE7B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,UAAU,CAAS;IAEpC,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,cAAc;IAItB,wDAAwD;IACxD,YAAY,CAAC,KAAK,EAAE,MAAM;IAa1B,oEAAoE;IACpE,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAIrC,OAAO,CAAC,oBAAoB;IAK5B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,UAAU;IAiCT,MAAM;CAoEhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAyMlB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
2
|
+
export type TextareaSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
/**
|
|
4
|
+
* @tag reke-textarea
|
|
5
|
+
* @summary A textarea component with sizes, error, and disabled states.
|
|
6
|
+
*
|
|
7
|
+
* @fires reke-input - Fired on each keystroke with the current value.
|
|
8
|
+
* @fires reke-change - Fired when the textarea loses focus and value has changed.
|
|
9
|
+
*
|
|
10
|
+
* @csspart textarea - The inner textarea element.
|
|
11
|
+
*
|
|
12
|
+
* @cssprop [--reke-color-primary=#22C55E] - Focus ring color.
|
|
13
|
+
* @cssprop [--reke-color-surface=#1A1A1A] - Textarea background.
|
|
14
|
+
* @cssprop [--reke-color-border=#252525] - Textarea border.
|
|
15
|
+
* @cssprop [--reke-color-danger=#EF4444] - Error state border.
|
|
16
|
+
* @cssprop [--reke-color-text=#E5E5E5] - Textarea text color.
|
|
17
|
+
* @cssprop [--reke-color-text-muted=#525252] - Placeholder color.
|
|
18
|
+
*/
|
|
19
|
+
export declare class RekeTextarea extends RekeElement {
|
|
20
|
+
static styles: import("lit").CSSResult[];
|
|
21
|
+
value: string;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
rows: number;
|
|
24
|
+
size: TextareaSize;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
error: boolean;
|
|
27
|
+
label: string;
|
|
28
|
+
private handleInput;
|
|
29
|
+
private handleChange;
|
|
30
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'reke-textarea': RekeTextarea;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=reke-textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-textarea.d.ts","sourceRoot":"","sources":["../../../src/components/reke-textarea/reke-textarea.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,qBACa,YAAa,SAAQ,WAAW;IAC3C,OAAgB,MAAM,4BAAU;IAGhC,KAAK,SAAM;IAGX,WAAW,SAAM;IAGjB,IAAI,SAAK;IAGT,IAAI,EAAE,YAAY,CAAQ;IAG1B,QAAQ,UAAS;IAGjB,KAAK,UAAS;IAGd,KAAK,SAAM;IAEX,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,YAAY;IAIX,MAAM;CAwBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,YAAY,CAAC;KAC/B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-textarea.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-textarea/reke-textarea.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAsElB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
2
|
+
export type ToastVariant = 'success' | 'error' | 'warning' | 'info';
|
|
3
|
+
/**
|
|
4
|
+
* @tag reke-toast
|
|
5
|
+
* @summary A compact notification toast with optional action and close button.
|
|
6
|
+
*
|
|
7
|
+
* @fires reke-close - Fired when the toast is dismissed.
|
|
8
|
+
* @fires reke-action - Fired when the action button is clicked.
|
|
9
|
+
*
|
|
10
|
+
* @csspart toast - The outer toast container.
|
|
11
|
+
*
|
|
12
|
+
* @cssprop [--reke-color-surface=#1A1A1A] - Toast background.
|
|
13
|
+
* @cssprop [--reke-color-border=#252525] - Default border.
|
|
14
|
+
* @cssprop [--reke-color-primary=#22C55E] - Success variant accent.
|
|
15
|
+
* @cssprop [--reke-color-danger=#EF4444] - Error variant accent.
|
|
16
|
+
* @cssprop [--reke-color-warning=#F59E0B] - Warning variant accent.
|
|
17
|
+
* @cssprop [--reke-color-secondary=#3B82F6] - Info variant accent.
|
|
18
|
+
* @cssprop [--reke-color-text=#E5E5E5] - Message text color.
|
|
19
|
+
* @cssprop [--reke-color-text-muted=#525252] - Close button color.
|
|
20
|
+
* @cssprop [--reke-radius=4px] - Toast border radius.
|
|
21
|
+
*/
|
|
22
|
+
export declare class RekeToast extends RekeElement {
|
|
23
|
+
static styles: import("lit").CSSResult[];
|
|
24
|
+
variant: ToastVariant;
|
|
25
|
+
message: string;
|
|
26
|
+
/** Label for the optional action button. */
|
|
27
|
+
action: string;
|
|
28
|
+
/** Auto-dismiss after N milliseconds. 0 = no auto-dismiss. */
|
|
29
|
+
duration: number;
|
|
30
|
+
private _timer;
|
|
31
|
+
connectedCallback(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
33
|
+
private startTimer;
|
|
34
|
+
private clearTimer;
|
|
35
|
+
dismiss(): void;
|
|
36
|
+
private handleAction;
|
|
37
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
38
|
+
}
|
|
39
|
+
declare global {
|
|
40
|
+
interface HTMLElementTagNameMap {
|
|
41
|
+
'reke-toast': RekeToast;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=reke-toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-toast.d.ts","sourceRoot":"","sources":["../../../src/components/reke-toast/reke-toast.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AASpE;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBACa,SAAU,SAAQ,WAAW;IACxC,OAAgB,MAAM,4BAAU;IAGhC,OAAO,EAAE,YAAY,CAAa;IAGlC,OAAO,SAAM;IAEb,4CAA4C;IAE5C,MAAM,SAAM;IAEZ,8DAA8D;IAE9D,QAAQ,SAAK;IAEb,OAAO,CAAC,MAAM,CAA4C;IAEjD,iBAAiB;IAKjB,oBAAoB;IAK7B,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,UAAU;IAOlB,OAAO;IAKP,OAAO,CAAC,YAAY;IAIX,MAAM;CAqChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-toast.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-toast/reke-toast.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAgKlB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
2
|
+
/**
|
|
3
|
+
* @tag reke-toggle
|
|
4
|
+
* @summary A toggle switch component for boolean on/off states.
|
|
5
|
+
*
|
|
6
|
+
* @fires reke-change - Fired when the toggle state changes, with `{ checked: boolean }` detail.
|
|
7
|
+
*
|
|
8
|
+
* @csspart track - The outer track element.
|
|
9
|
+
* @csspart thumb - The inner sliding thumb element.
|
|
10
|
+
*
|
|
11
|
+
* @cssprop [--reke-color-primary=#22C55E] - Track background when checked.
|
|
12
|
+
* @cssprop [--reke-color-on-primary=#0A0A0B] - Thumb color when checked.
|
|
13
|
+
* @cssprop [--reke-color-surface=#1A1A1A] - Track background when unchecked.
|
|
14
|
+
* @cssprop [--reke-color-border=#252525] - Track border color when unchecked.
|
|
15
|
+
* @cssprop [--reke-color-text-muted=#525252] - Thumb color when unchecked.
|
|
16
|
+
* @cssprop [--reke-color-text=#E5E5E5] - Label text color.
|
|
17
|
+
*/
|
|
18
|
+
export declare class RekeToggle extends RekeElement {
|
|
19
|
+
static styles: import("lit").CSSResult[];
|
|
20
|
+
checked: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
label: string;
|
|
23
|
+
private toggle;
|
|
24
|
+
private handleClick;
|
|
25
|
+
private handleKeyDown;
|
|
26
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
27
|
+
}
|
|
28
|
+
declare global {
|
|
29
|
+
interface HTMLElementTagNameMap {
|
|
30
|
+
'reke-toggle': RekeToggle;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=reke-toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/reke-toggle/reke-toggle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D;;;;;;;;;;;;;;;GAeG;AACH,qBACa,UAAW,SAAQ,WAAW;IACzC,OAAgB,MAAM,4BAAU;IAGhC,OAAO,UAAS;IAGhB,QAAQ,UAAS;IAGjB,KAAK,SAAM;IAEX,OAAO,CAAC,MAAM;IAMd,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,aAAa;IAOZ,MAAM;CAkBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-toggle.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-toggle/reke-toggle.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAiElB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RekeElement } from '../../shared/base-element.js';
|
|
2
|
+
export type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
3
|
+
/**
|
|
4
|
+
* @tag reke-tooltip
|
|
5
|
+
* @summary A tooltip component that displays informational text on hover or focus.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Default slot for the trigger element.
|
|
8
|
+
*
|
|
9
|
+
* @cssprop [--reke-color-surface-elevated=#151515] - Tooltip background color.
|
|
10
|
+
* @cssprop [--reke-color-text=#E5E5E5] - Tooltip text color.
|
|
11
|
+
* @cssprop [--reke-color-border=#252525] - Tooltip border color.
|
|
12
|
+
* @cssprop [--reke-radius=4px] - Tooltip border radius.
|
|
13
|
+
* @cssprop [--reke-font-size-xs=12px] - Tooltip font size.
|
|
14
|
+
*/
|
|
15
|
+
export declare class RekeTooltip extends RekeElement {
|
|
16
|
+
static styles: import("lit").CSSResult[];
|
|
17
|
+
text: string;
|
|
18
|
+
position: TooltipPosition;
|
|
19
|
+
delay: number;
|
|
20
|
+
private _visible;
|
|
21
|
+
private _delayTimeout?;
|
|
22
|
+
private show;
|
|
23
|
+
private hide;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'reke-tooltip': RekeTooltip;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=reke-tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/reke-tooltip/reke-tooltip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE;;;;;;;;;;;GAWG;AACH,qBACa,WAAY,SAAQ,WAAW;IAC1C,OAAgB,MAAM,4BAAU;IAGhC,IAAI,SAAM;IAGV,QAAQ,EAAE,eAAe,CAAS;IAGlC,KAAK,SAAO;IAGZ,OAAO,CAAC,QAAQ,CAAS;IAEzB,OAAO,CAAC,aAAa,CAAC,CAAgC;IAEtD,OAAO,CAAC,IAAI;IAOZ,OAAO,CAAC,IAAI;IAOH,oBAAoB;IAKpB,MAAM;CAqBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reke-tooltip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-tooltip/reke-tooltip.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BA6DlB,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { RekeButton } from './components/reke-button/reke-button.js';
|
|
2
|
+
export type { ButtonVariant, ButtonSize } from './components/reke-button/reke-button.js';
|
|
3
|
+
export { RekeInput } from './components/reke-input/reke-input.js';
|
|
4
|
+
export type { InputSize } from './components/reke-input/reke-input.js';
|
|
5
|
+
export { RekeTextarea } from './components/reke-textarea/reke-textarea.js';
|
|
6
|
+
export type { TextareaSize } from './components/reke-textarea/reke-textarea.js';
|
|
7
|
+
export { RekeCheckbox } from './components/reke-checkbox/reke-checkbox.js';
|
|
8
|
+
export { RekeToggle } from './components/reke-toggle/reke-toggle.js';
|
|
9
|
+
export { RekeBadge } from './components/reke-badge/reke-badge.js';
|
|
10
|
+
export type { BadgeVariant, BadgeSize } from './components/reke-badge/reke-badge.js';
|
|
11
|
+
export { RekeCard } from './components/reke-card/reke-card.js';
|
|
12
|
+
export type { CardVariant, CardPadding } from './components/reke-card/reke-card.js';
|
|
13
|
+
export { RekeTooltip } from './components/reke-tooltip/reke-tooltip.js';
|
|
14
|
+
export type { TooltipPosition } from './components/reke-tooltip/reke-tooltip.js';
|
|
15
|
+
export { RekeDialog } from './components/reke-dialog/reke-dialog.js';
|
|
16
|
+
export type { DialogVariant, DrawerPosition } from './components/reke-dialog/reke-dialog.js';
|
|
17
|
+
export { RekeSelect } from './components/reke-select/reke-select.js';
|
|
18
|
+
export type { SelectSize } from './components/reke-select/reke-select.js';
|
|
19
|
+
export { RekeTable } from './components/reke-table/reke-table.js';
|
|
20
|
+
export type { TableColumn, TableRow, ExpandedRowRenderer } from './components/reke-table/reke-table.js';
|
|
21
|
+
export { RekeDateRange } from './components/reke-date-range/reke-date-range.js';
|
|
22
|
+
export type { DatePickerMode } from './components/reke-date-range/reke-date-range.js';
|
|
23
|
+
export { RekeFileUpload } from './components/reke-file-upload/reke-file-upload.js';
|
|
24
|
+
export { RekeAlert } from './components/reke-alert/reke-alert.js';
|
|
25
|
+
export type { AlertVariant } from './components/reke-alert/reke-alert.js';
|
|
26
|
+
export { RekeToast } from './components/reke-toast/reke-toast.js';
|
|
27
|
+
export type { ToastVariant } from './components/reke-toast/reke-toast.js';
|
|
28
|
+
export { RekeChip } from './components/reke-chip/reke-chip.js';
|
|
29
|
+
export type { ChipColor } from './components/reke-chip/reke-chip.js';
|
|
30
|
+
export { RekeElement } from './shared/base-element.js';
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,YAAY,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,YAAY,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,YAAY,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,YAAY,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,YAAY,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC"}
|
package/dist/react.d.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { RekeButton } from './components/reke-button/reke-button.js';
|
|
3
|
+
import { RekeInput } from './components/reke-input/reke-input.js';
|
|
4
|
+
import { RekeTextarea } from './components/reke-textarea/reke-textarea.js';
|
|
5
|
+
import { RekeCheckbox } from './components/reke-checkbox/reke-checkbox.js';
|
|
6
|
+
import { RekeToggle } from './components/reke-toggle/reke-toggle.js';
|
|
7
|
+
import { RekeBadge } from './components/reke-badge/reke-badge.js';
|
|
8
|
+
import { RekeCard } from './components/reke-card/reke-card.js';
|
|
9
|
+
import { RekeTooltip } from './components/reke-tooltip/reke-tooltip.js';
|
|
10
|
+
import { RekeDialog } from './components/reke-dialog/reke-dialog.js';
|
|
11
|
+
import { RekeSelect } from './components/reke-select/reke-select.js';
|
|
12
|
+
import { RekeTable } from './components/reke-table/reke-table.js';
|
|
13
|
+
import { RekeDateRange } from './components/reke-date-range/reke-date-range.js';
|
|
14
|
+
import { RekeFileUpload } from './components/reke-file-upload/reke-file-upload.js';
|
|
15
|
+
import { RekeAlert } from './components/reke-alert/reke-alert.js';
|
|
16
|
+
import { RekeToast } from './components/reke-toast/reke-toast.js';
|
|
17
|
+
import { RekeChip } from './components/reke-chip/reke-chip.js';
|
|
18
|
+
export declare const Button: import("@lit/react").ReactWebComponent<RekeButton, {
|
|
19
|
+
onRekeClick: EventName<CustomEvent>;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const Input: import("@lit/react").ReactWebComponent<RekeInput, {
|
|
22
|
+
onRekeInput: EventName<CustomEvent<{
|
|
23
|
+
value: string;
|
|
24
|
+
}>>;
|
|
25
|
+
onRekeChange: EventName<CustomEvent<{
|
|
26
|
+
value: string;
|
|
27
|
+
}>>;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const Textarea: import("@lit/react").ReactWebComponent<RekeTextarea, {
|
|
30
|
+
onRekeInput: EventName<CustomEvent<{
|
|
31
|
+
value: string;
|
|
32
|
+
}>>;
|
|
33
|
+
onRekeChange: EventName<CustomEvent<{
|
|
34
|
+
value: string;
|
|
35
|
+
}>>;
|
|
36
|
+
}>;
|
|
37
|
+
export declare const Checkbox: import("@lit/react").ReactWebComponent<RekeCheckbox, {
|
|
38
|
+
onRekeChange: EventName<CustomEvent<{
|
|
39
|
+
checked: boolean;
|
|
40
|
+
}>>;
|
|
41
|
+
}>;
|
|
42
|
+
export declare const Toggle: import("@lit/react").ReactWebComponent<RekeToggle, {
|
|
43
|
+
onRekeChange: EventName<CustomEvent<{
|
|
44
|
+
checked: boolean;
|
|
45
|
+
}>>;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const Badge: import("@lit/react").ReactWebComponent<RekeBadge, {}>;
|
|
48
|
+
export declare const Card: import("@lit/react").ReactWebComponent<RekeCard, {}>;
|
|
49
|
+
export declare const Tooltip: import("@lit/react").ReactWebComponent<RekeTooltip, {}>;
|
|
50
|
+
export declare const Dialog: import("@lit/react").ReactWebComponent<RekeDialog, {
|
|
51
|
+
onRekeClose: EventName<CustomEvent>;
|
|
52
|
+
}>;
|
|
53
|
+
export declare const Select: import("@lit/react").ReactWebComponent<RekeSelect, {
|
|
54
|
+
onRekeChange: EventName<CustomEvent<{
|
|
55
|
+
value: string;
|
|
56
|
+
}>>;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const Table: import("@lit/react").ReactWebComponent<RekeTable, {
|
|
59
|
+
onRekeRowClick: EventName<CustomEvent<{
|
|
60
|
+
row: unknown;
|
|
61
|
+
index: number;
|
|
62
|
+
}>>;
|
|
63
|
+
onRekeSort: EventName<CustomEvent<{
|
|
64
|
+
key: string;
|
|
65
|
+
direction: "asc" | "desc";
|
|
66
|
+
}>>;
|
|
67
|
+
onRekeRowExpand: EventName<CustomEvent<{
|
|
68
|
+
row: unknown;
|
|
69
|
+
index: number;
|
|
70
|
+
expanded: boolean;
|
|
71
|
+
}>>;
|
|
72
|
+
}>;
|
|
73
|
+
export declare const DateRange: import("@lit/react").ReactWebComponent<RekeDateRange, {
|
|
74
|
+
onRekeChange: EventName<CustomEvent<{
|
|
75
|
+
from: string;
|
|
76
|
+
to: string;
|
|
77
|
+
}>>;
|
|
78
|
+
onRekePreset: EventName<CustomEvent<{
|
|
79
|
+
preset: string;
|
|
80
|
+
from: string;
|
|
81
|
+
to: string;
|
|
82
|
+
}>>;
|
|
83
|
+
}>;
|
|
84
|
+
export declare const FileUpload: import("@lit/react").ReactWebComponent<RekeFileUpload, {
|
|
85
|
+
onRekeFileSelect: EventName<CustomEvent<{
|
|
86
|
+
file: File;
|
|
87
|
+
}>>;
|
|
88
|
+
onRekeFileClear: EventName<CustomEvent>;
|
|
89
|
+
}>;
|
|
90
|
+
export declare const Alert: import("@lit/react").ReactWebComponent<RekeAlert, {
|
|
91
|
+
onRekeClose: EventName<CustomEvent>;
|
|
92
|
+
}>;
|
|
93
|
+
export declare const Toast: import("@lit/react").ReactWebComponent<RekeToast, {
|
|
94
|
+
onRekeClose: EventName<CustomEvent>;
|
|
95
|
+
onRekeAction: EventName<CustomEvent>;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const Chip: import("@lit/react").ReactWebComponent<RekeChip, {
|
|
98
|
+
onRekeClick: EventName<CustomEvent>;
|
|
99
|
+
onRekeDismiss: EventName<CustomEvent>;
|
|
100
|
+
}>;
|
|
101
|
+
//# sourceMappingURL=react.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"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"}
|
package/dist/react.js
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { createComponent as e } from "@lit/react";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import { b as t, j as n, m as s, d as o, o as k, a as r, c as l, p as c, g, k as R, l as m, f as C, i, R as p, n as h, e as N } from "./reke-chip-Xb0Y_Cqo.js";
|
|
4
|
+
const T = e({
|
|
5
|
+
tagName: "reke-button",
|
|
6
|
+
elementClass: t,
|
|
7
|
+
react: a,
|
|
8
|
+
events: {
|
|
9
|
+
onRekeClick: "reke-click"
|
|
10
|
+
}
|
|
11
|
+
}), b = e({
|
|
12
|
+
tagName: "reke-input",
|
|
13
|
+
elementClass: n,
|
|
14
|
+
react: a,
|
|
15
|
+
events: {
|
|
16
|
+
onRekeInput: "reke-input",
|
|
17
|
+
onRekeChange: "reke-change"
|
|
18
|
+
}
|
|
19
|
+
}), x = e({
|
|
20
|
+
tagName: "reke-textarea",
|
|
21
|
+
elementClass: s,
|
|
22
|
+
react: a,
|
|
23
|
+
events: {
|
|
24
|
+
onRekeInput: "reke-input",
|
|
25
|
+
onRekeChange: "reke-change"
|
|
26
|
+
}
|
|
27
|
+
}), f = e({
|
|
28
|
+
tagName: "reke-checkbox",
|
|
29
|
+
elementClass: o,
|
|
30
|
+
react: a,
|
|
31
|
+
events: {
|
|
32
|
+
onRekeChange: "reke-change"
|
|
33
|
+
}
|
|
34
|
+
}), D = e({
|
|
35
|
+
tagName: "reke-toggle",
|
|
36
|
+
elementClass: k,
|
|
37
|
+
react: a,
|
|
38
|
+
events: {
|
|
39
|
+
onRekeChange: "reke-change"
|
|
40
|
+
}
|
|
41
|
+
}), w = e({
|
|
42
|
+
tagName: "reke-badge",
|
|
43
|
+
elementClass: r,
|
|
44
|
+
react: a
|
|
45
|
+
}), B = e({
|
|
46
|
+
tagName: "reke-card",
|
|
47
|
+
elementClass: l,
|
|
48
|
+
react: a
|
|
49
|
+
}), F = e({
|
|
50
|
+
tagName: "reke-tooltip",
|
|
51
|
+
elementClass: c,
|
|
52
|
+
react: a
|
|
53
|
+
}), I = e({
|
|
54
|
+
tagName: "reke-dialog",
|
|
55
|
+
elementClass: g,
|
|
56
|
+
react: a,
|
|
57
|
+
events: {
|
|
58
|
+
onRekeClose: "reke-close"
|
|
59
|
+
}
|
|
60
|
+
}), S = e({
|
|
61
|
+
tagName: "reke-select",
|
|
62
|
+
elementClass: R,
|
|
63
|
+
react: a,
|
|
64
|
+
events: {
|
|
65
|
+
onRekeChange: "reke-change"
|
|
66
|
+
}
|
|
67
|
+
}), A = e({
|
|
68
|
+
tagName: "reke-table",
|
|
69
|
+
elementClass: m,
|
|
70
|
+
react: a,
|
|
71
|
+
events: {
|
|
72
|
+
onRekeRowClick: "reke-row-click",
|
|
73
|
+
onRekeSort: "reke-sort",
|
|
74
|
+
onRekeRowExpand: "reke-row-expand"
|
|
75
|
+
}
|
|
76
|
+
}), U = e({
|
|
77
|
+
tagName: "reke-date-range",
|
|
78
|
+
elementClass: C,
|
|
79
|
+
react: a,
|
|
80
|
+
events: {
|
|
81
|
+
onRekeChange: "reke-change",
|
|
82
|
+
onRekePreset: "reke-preset"
|
|
83
|
+
}
|
|
84
|
+
}), j = e({
|
|
85
|
+
tagName: "reke-file-upload",
|
|
86
|
+
elementClass: i,
|
|
87
|
+
react: a,
|
|
88
|
+
events: {
|
|
89
|
+
onRekeFileSelect: "reke-file-select",
|
|
90
|
+
onRekeFileClear: "reke-file-clear"
|
|
91
|
+
}
|
|
92
|
+
}), E = e({
|
|
93
|
+
tagName: "reke-alert",
|
|
94
|
+
elementClass: p,
|
|
95
|
+
react: a,
|
|
96
|
+
events: {
|
|
97
|
+
onRekeClose: "reke-close"
|
|
98
|
+
}
|
|
99
|
+
}), P = e({
|
|
100
|
+
tagName: "reke-toast",
|
|
101
|
+
elementClass: h,
|
|
102
|
+
react: a,
|
|
103
|
+
events: {
|
|
104
|
+
onRekeClose: "reke-close",
|
|
105
|
+
onRekeAction: "reke-action"
|
|
106
|
+
}
|
|
107
|
+
}), q = e({
|
|
108
|
+
tagName: "reke-chip",
|
|
109
|
+
elementClass: N,
|
|
110
|
+
react: a,
|
|
111
|
+
events: {
|
|
112
|
+
onRekeClick: "reke-click",
|
|
113
|
+
onRekeDismiss: "reke-dismiss"
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
export {
|
|
117
|
+
E as Alert,
|
|
118
|
+
w as Badge,
|
|
119
|
+
T as Button,
|
|
120
|
+
B as Card,
|
|
121
|
+
f as Checkbox,
|
|
122
|
+
q as Chip,
|
|
123
|
+
U as DateRange,
|
|
124
|
+
I as Dialog,
|
|
125
|
+
j as FileUpload,
|
|
126
|
+
b as Input,
|
|
127
|
+
S as Select,
|
|
128
|
+
A as Table,
|
|
129
|
+
x as Textarea,
|
|
130
|
+
P as Toast,
|
|
131
|
+
D as Toggle,
|
|
132
|
+
F as Tooltip
|
|
133
|
+
};
|