reke-ui 0.1.0 → 0.1.2
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/README.md +2 -0
- package/custom-elements.json +216 -116
- package/dist/components/reke-alert/reke-alert.js +53 -0
- package/dist/components/reke-alert/reke-alert.styles.d.ts.map +1 -1
- package/dist/components/reke-alert/reke-alert.styles.js +106 -0
- package/dist/components/reke-badge/reke-badge.d.ts +4 -2
- package/dist/components/reke-badge/reke-badge.d.ts.map +1 -1
- package/dist/components/reke-badge/reke-badge.js +44 -0
- package/dist/components/reke-badge/reke-badge.styles.d.ts.map +1 -1
- package/dist/components/reke-badge/reke-badge.styles.js +95 -0
- package/dist/components/reke-button/reke-button.js +64 -0
- package/dist/components/reke-button/reke-button.styles.d.ts.map +1 -1
- package/dist/components/reke-button/reke-button.styles.js +229 -0
- package/dist/components/reke-card/reke-card.d.ts +7 -0
- package/dist/components/reke-card/reke-card.d.ts.map +1 -1
- package/dist/components/reke-card/reke-card.js +70 -0
- package/dist/components/reke-card/reke-card.styles.d.ts.map +1 -1
- package/dist/components/reke-card/reke-card.styles.js +150 -0
- package/dist/components/reke-checkbox/reke-checkbox.js +64 -0
- package/dist/components/reke-checkbox/reke-checkbox.styles.js +81 -0
- package/dist/components/reke-chip/reke-chip.js +70 -0
- package/dist/components/reke-chip/reke-chip.styles.d.ts.map +1 -1
- package/dist/components/reke-chip/reke-chip.styles.js +125 -0
- package/dist/components/reke-date-range/reke-date-range.js +346 -0
- package/dist/components/reke-date-range/reke-date-range.styles.js +322 -0
- package/dist/components/reke-dialog/reke-dialog.js +90 -0
- package/dist/components/reke-dialog/reke-dialog.styles.js +134 -0
- package/dist/components/reke-file-upload/reke-file-upload.js +108 -0
- package/dist/components/reke-file-upload/reke-file-upload.styles.js +107 -0
- package/dist/components/reke-input/reke-input.js +73 -0
- package/dist/components/reke-input/reke-input.styles.js +80 -0
- package/dist/components/reke-select/reke-select.js +112 -0
- package/dist/components/reke-select/reke-select.styles.js +122 -0
- package/dist/components/reke-table/reke-table.d.ts +21 -1
- package/dist/components/reke-table/reke-table.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.js +191 -0
- package/dist/components/reke-table/reke-table.styles.js +207 -0
- package/dist/components/reke-textarea/reke-textarea.js +73 -0
- package/dist/components/reke-textarea/reke-textarea.styles.js +76 -0
- package/dist/components/reke-toast/reke-toast.js +92 -0
- package/dist/components/reke-toast/reke-toast.styles.d.ts.map +1 -1
- package/dist/components/reke-toast/reke-toast.styles.js +182 -0
- package/dist/components/reke-toggle/reke-toggle.js +57 -0
- package/dist/components/reke-toggle/reke-toggle.styles.js +71 -0
- package/dist/components/reke-tooltip/reke-tooltip.js +67 -0
- package/dist/components/reke-tooltip/reke-tooltip.styles.js +67 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -0
- package/dist/react.js +79 -64
- package/dist/shared/base-element.js +16 -0
- package/dist/shared/tailwind-styles.js +6 -0
- package/dist/shared/tailwind.css.js +4 -0
- package/dist/tokens/reke-tokens.css +23 -0
- package/package.json +6 -4
- package/dist/reke-chip-Xb0Y_Cqo.js +0 -3358
- package/dist/reke-ui.js +0 -20
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { tailwindStyles as o } from "../../shared/tailwind-styles.js";
|
|
2
|
+
import { css as r } from "lit";
|
|
3
|
+
const a = [
|
|
4
|
+
o,
|
|
5
|
+
r`
|
|
6
|
+
:host {
|
|
7
|
+
display: block;
|
|
8
|
+
animation: toast-in var(--reke-transition-normal, 0.2s ease) both;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@keyframes toast-in {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transform: translateY(8px) scale(0.97);
|
|
15
|
+
}
|
|
16
|
+
to {
|
|
17
|
+
opacity: 1;
|
|
18
|
+
transform: translateY(0) scale(1);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.toast {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
gap: var(--reke-space-sm, 12px);
|
|
27
|
+
padding: 12px 14px;
|
|
28
|
+
border-radius: var(--reke-radius, 4px);
|
|
29
|
+
border: 1px solid var(--reke-color-border, #252525);
|
|
30
|
+
background-color: var(--reke-color-surface, #1A1A1A);
|
|
31
|
+
font-family: var(--reke-font-mono, 'JetBrains Mono', ui-monospace, monospace);
|
|
32
|
+
font-size: var(--reke-font-size-xs, 12px);
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
transition:
|
|
35
|
+
opacity var(--reke-transition-normal, 0.2s ease),
|
|
36
|
+
transform var(--reke-transition-normal, 0.2s ease);
|
|
37
|
+
/* left accent stripe */
|
|
38
|
+
border-left-width: 3px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.toast--error {
|
|
42
|
+
border-left-color: var(--reke-color-danger, #EF4444);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.toast--success {
|
|
46
|
+
border-left-color: var(--reke-color-primary, #22C55E);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.toast--warning {
|
|
50
|
+
border-left-color: var(--reke-color-warning, #F59E0B);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.toast--info {
|
|
54
|
+
border-left-color: var(--reke-color-secondary, #3B82F6);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* === Left section === */
|
|
58
|
+
|
|
59
|
+
.toast__left {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: var(--reke-space-sm, 12px);
|
|
63
|
+
min-width: 0;
|
|
64
|
+
flex: 1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.toast__icon {
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
width: 16px;
|
|
70
|
+
height: 16px;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.toast__icon svg {
|
|
77
|
+
width: 16px;
|
|
78
|
+
height: 16px;
|
|
79
|
+
fill: none;
|
|
80
|
+
stroke: currentColor;
|
|
81
|
+
stroke-width: 2;
|
|
82
|
+
stroke-linecap: round;
|
|
83
|
+
stroke-linejoin: round;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.toast--success .toast__icon {
|
|
87
|
+
color: var(--reke-color-primary, #22C55E);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.toast--error .toast__icon {
|
|
91
|
+
color: var(--reke-color-danger, #EF4444);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.toast--warning .toast__icon {
|
|
95
|
+
color: var(--reke-color-warning, #F59E0B);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.toast--info .toast__icon {
|
|
99
|
+
color: var(--reke-color-secondary, #3B82F6);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.toast__message {
|
|
103
|
+
color: var(--reke-color-text, #E5E5E5);
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
overflow: hidden;
|
|
106
|
+
text-overflow: ellipsis;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* === Right section === */
|
|
110
|
+
|
|
111
|
+
.toast__right {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: var(--reke-space-xs, 8px);
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.toast__action {
|
|
119
|
+
background: transparent;
|
|
120
|
+
border: none;
|
|
121
|
+
font-family: var(--reke-font-mono, 'JetBrains Mono', ui-monospace, monospace);
|
|
122
|
+
font-size: var(--reke-font-size-2xs, 11px);
|
|
123
|
+
font-weight: var(--reke-font-weight-medium, 500);
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
padding: 0;
|
|
126
|
+
transition: opacity 0.15s ease;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.toast--error .toast__action {
|
|
130
|
+
color: var(--reke-color-danger, #EF4444);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.toast--success .toast__action {
|
|
134
|
+
color: var(--reke-color-primary, #22C55E);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.toast--warning .toast__action {
|
|
138
|
+
color: var(--reke-color-warning, #F59E0B);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.toast--info .toast__action {
|
|
142
|
+
color: var(--reke-color-secondary, #3B82F6);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.toast__action:hover {
|
|
146
|
+
opacity: 0.8;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.toast__action:focus-visible {
|
|
150
|
+
outline: 2px solid currentColor;
|
|
151
|
+
outline-offset: 2px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.toast__close {
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
width: 20px;
|
|
159
|
+
height: 20px;
|
|
160
|
+
background: transparent;
|
|
161
|
+
border: none;
|
|
162
|
+
color: var(--reke-color-text-muted, #525252);
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
padding: 0;
|
|
165
|
+
font-size: 14px;
|
|
166
|
+
line-height: 1;
|
|
167
|
+
transition: color 0.15s ease;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.toast__close:hover {
|
|
171
|
+
color: var(--reke-color-text, #E5E5E5);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.toast__close:focus-visible {
|
|
175
|
+
outline: 2px solid var(--reke-color-primary, #22C55E);
|
|
176
|
+
outline-offset: 2px;
|
|
177
|
+
}
|
|
178
|
+
`
|
|
179
|
+
];
|
|
180
|
+
export {
|
|
181
|
+
a as styles
|
|
182
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { nothing as d, html as n } from "lit";
|
|
2
|
+
import { property as o, customElement as p } from "lit/decorators.js";
|
|
3
|
+
import { RekeElement as k } from "../../shared/base-element.js";
|
|
4
|
+
import { styles as b } from "./reke-toggle.styles.js";
|
|
5
|
+
var m = Object.defineProperty, f = Object.getOwnPropertyDescriptor, c = (t, s, i, r) => {
|
|
6
|
+
for (var e = r > 1 ? void 0 : r ? f(s, i) : s, h = t.length - 1, a; h >= 0; h--)
|
|
7
|
+
(a = t[h]) && (e = (r ? a(s, i, e) : a(e)) || e);
|
|
8
|
+
return r && e && m(s, i, e), e;
|
|
9
|
+
};
|
|
10
|
+
let l = class extends k {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), this.checked = !1, this.disabled = !1, this.label = "";
|
|
13
|
+
}
|
|
14
|
+
toggle() {
|
|
15
|
+
this.disabled || (this.checked = !this.checked, this.emit("reke-change", { checked: this.checked }));
|
|
16
|
+
}
|
|
17
|
+
handleClick() {
|
|
18
|
+
this.toggle();
|
|
19
|
+
}
|
|
20
|
+
handleKeyDown(t) {
|
|
21
|
+
(t.key === " " || t.key === "Enter") && (t.preventDefault(), this.toggle());
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return n`
|
|
25
|
+
<div
|
|
26
|
+
class="toggle"
|
|
27
|
+
role="switch"
|
|
28
|
+
aria-checked=${this.checked}
|
|
29
|
+
aria-label=${this.label || d}
|
|
30
|
+
tabindex=${this.disabled ? -1 : 0}
|
|
31
|
+
@click=${this.handleClick}
|
|
32
|
+
@keydown=${this.handleKeyDown}
|
|
33
|
+
>
|
|
34
|
+
<div part="track" class="track ${this.checked ? "track--checked" : ""}">
|
|
35
|
+
<div part="thumb" class="thumb ${this.checked ? "thumb--checked" : ""}"></div>
|
|
36
|
+
</div>
|
|
37
|
+
${this.label ? n`<span class="label">${this.label}</span>` : d}
|
|
38
|
+
</div>
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
l.styles = b;
|
|
43
|
+
c([
|
|
44
|
+
o({ type: Boolean, reflect: !0 })
|
|
45
|
+
], l.prototype, "checked", 2);
|
|
46
|
+
c([
|
|
47
|
+
o({ type: Boolean, reflect: !0 })
|
|
48
|
+
], l.prototype, "disabled", 2);
|
|
49
|
+
c([
|
|
50
|
+
o()
|
|
51
|
+
], l.prototype, "label", 2);
|
|
52
|
+
l = c([
|
|
53
|
+
p("reke-toggle")
|
|
54
|
+
], l);
|
|
55
|
+
export {
|
|
56
|
+
l as RekeToggle
|
|
57
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { tailwindStyles as r } from "../../shared/tailwind-styles.js";
|
|
2
|
+
import { css as o } from "lit";
|
|
3
|
+
const a = [
|
|
4
|
+
r,
|
|
5
|
+
o`
|
|
6
|
+
:host {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: 8px;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([disabled]) {
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
opacity: 0.5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.toggle {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 8px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.toggle:focus-visible .track {
|
|
25
|
+
outline: 2px solid var(--reke-color-primary, #22C55E);
|
|
26
|
+
outline-offset: 2px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.track {
|
|
30
|
+
position: relative;
|
|
31
|
+
width: 40px;
|
|
32
|
+
height: 22px;
|
|
33
|
+
border-radius: 11px;
|
|
34
|
+
background-color: var(--reke-color-surface, #1A1A1A);
|
|
35
|
+
border: 1px solid var(--reke-color-border, #252525);
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
transition: background-color 0.15s ease, border-color 0.15s ease;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.track--checked {
|
|
41
|
+
background-color: var(--reke-color-primary, #22C55E);
|
|
42
|
+
border-color: var(--reke-color-primary, #22C55E);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.thumb {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 50%;
|
|
48
|
+
left: 2px;
|
|
49
|
+
width: 16px;
|
|
50
|
+
height: 16px;
|
|
51
|
+
border-radius: 50%;
|
|
52
|
+
background-color: var(--reke-color-text-muted, #525252);
|
|
53
|
+
transform: translateY(-50%);
|
|
54
|
+
transition: transform 0.15s ease, background-color 0.15s ease;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.thumb--checked {
|
|
58
|
+
background-color: var(--reke-color-on-primary, #0A0A0B);
|
|
59
|
+
transform: translateX(18px) translateY(-50%);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.label {
|
|
63
|
+
color: var(--reke-color-text, #E5E5E5);
|
|
64
|
+
font-family: var(--reke-font-mono, 'JetBrains Mono', ui-monospace, monospace);
|
|
65
|
+
font-size: var(--reke-font-size-sm, 13px);
|
|
66
|
+
}
|
|
67
|
+
`
|
|
68
|
+
];
|
|
69
|
+
export {
|
|
70
|
+
a as styles
|
|
71
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { html as m } from "lit";
|
|
2
|
+
import { property as a, state as u, customElement as d } from "lit/decorators.js";
|
|
3
|
+
import { RekeElement as c } from "../../shared/base-element.js";
|
|
4
|
+
import { styles as n } from "./reke-tooltip.styles.js";
|
|
5
|
+
var y = Object.defineProperty, v = Object.getOwnPropertyDescriptor, i = (h, o, l, s) => {
|
|
6
|
+
for (var t = s > 1 ? void 0 : s ? v(o, l) : o, r = h.length - 1, p; r >= 0; r--)
|
|
7
|
+
(p = h[r]) && (t = (s ? p(o, l, t) : p(t)) || t);
|
|
8
|
+
return s && t && y(o, l, t), t;
|
|
9
|
+
};
|
|
10
|
+
let e = class extends c {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), this.text = "", this.position = "top", this.delay = 200, this._visible = !1;
|
|
13
|
+
}
|
|
14
|
+
show() {
|
|
15
|
+
clearTimeout(this._delayTimeout), this._delayTimeout = setTimeout(() => {
|
|
16
|
+
this._visible = !0;
|
|
17
|
+
}, this.delay);
|
|
18
|
+
}
|
|
19
|
+
hide() {
|
|
20
|
+
clearTimeout(this._delayTimeout), this._delayTimeout = setTimeout(() => {
|
|
21
|
+
this._visible = !1;
|
|
22
|
+
}, this.delay);
|
|
23
|
+
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
super.disconnectedCallback(), clearTimeout(this._delayTimeout);
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return m`
|
|
29
|
+
<div
|
|
30
|
+
class="wrapper"
|
|
31
|
+
aria-describedby="tooltip"
|
|
32
|
+
@mouseenter=${this.show}
|
|
33
|
+
@mouseleave=${this.hide}
|
|
34
|
+
@focusin=${this.show}
|
|
35
|
+
@focusout=${this.hide}
|
|
36
|
+
>
|
|
37
|
+
<div
|
|
38
|
+
id="tooltip"
|
|
39
|
+
class="tooltip tooltip--${this.position} ${this._visible ? "tooltip--visible" : ""}"
|
|
40
|
+
role="tooltip"
|
|
41
|
+
>
|
|
42
|
+
${this.text}
|
|
43
|
+
</div>
|
|
44
|
+
<slot></slot>
|
|
45
|
+
</div>
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
e.styles = n;
|
|
50
|
+
i([
|
|
51
|
+
a()
|
|
52
|
+
], e.prototype, "text", 2);
|
|
53
|
+
i([
|
|
54
|
+
a({ reflect: !0 })
|
|
55
|
+
], e.prototype, "position", 2);
|
|
56
|
+
i([
|
|
57
|
+
a({ type: Number })
|
|
58
|
+
], e.prototype, "delay", 2);
|
|
59
|
+
i([
|
|
60
|
+
u()
|
|
61
|
+
], e.prototype, "_visible", 2);
|
|
62
|
+
e = i([
|
|
63
|
+
d("reke-tooltip")
|
|
64
|
+
], e);
|
|
65
|
+
export {
|
|
66
|
+
e as RekeTooltip
|
|
67
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { tailwindStyles as o } from "../../shared/tailwind-styles.js";
|
|
2
|
+
import { css as t } from "lit";
|
|
3
|
+
const i = [
|
|
4
|
+
o,
|
|
5
|
+
t`
|
|
6
|
+
:host {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.wrapper {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tooltip {
|
|
17
|
+
position: absolute;
|
|
18
|
+
z-index: 1000;
|
|
19
|
+
padding: 6px 12px;
|
|
20
|
+
background-color: var(--reke-color-surface-elevated, #151515);
|
|
21
|
+
color: var(--reke-color-text, #E5E5E5);
|
|
22
|
+
border: 1px solid var(--reke-color-border, #252525);
|
|
23
|
+
border-radius: var(--reke-radius, 4px);
|
|
24
|
+
font-family: var(--reke-font-mono, 'JetBrains Mono', ui-monospace, monospace);
|
|
25
|
+
font-size: var(--reke-font-size-xs, 12px);
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
opacity: 0;
|
|
29
|
+
transition: opacity 0.15s ease;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tooltip--visible {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tooltip--top {
|
|
37
|
+
bottom: 100%;
|
|
38
|
+
left: 50%;
|
|
39
|
+
transform: translateX(-50%);
|
|
40
|
+
margin-bottom: 6px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tooltip--bottom {
|
|
44
|
+
top: 100%;
|
|
45
|
+
left: 50%;
|
|
46
|
+
transform: translateX(-50%);
|
|
47
|
+
margin-top: 6px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tooltip--left {
|
|
51
|
+
right: 100%;
|
|
52
|
+
top: 50%;
|
|
53
|
+
transform: translateY(-50%);
|
|
54
|
+
margin-right: 6px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.tooltip--right {
|
|
58
|
+
left: 100%;
|
|
59
|
+
top: 50%;
|
|
60
|
+
transform: translateY(-50%);
|
|
61
|
+
margin-left: 6px;
|
|
62
|
+
}
|
|
63
|
+
`
|
|
64
|
+
];
|
|
65
|
+
export {
|
|
66
|
+
i as styles
|
|
67
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export type { TextareaSize } from './components/reke-textarea/reke-textarea.js';
|
|
|
7
7
|
export { RekeCheckbox } from './components/reke-checkbox/reke-checkbox.js';
|
|
8
8
|
export { RekeToggle } from './components/reke-toggle/reke-toggle.js';
|
|
9
9
|
export { RekeBadge } from './components/reke-badge/reke-badge.js';
|
|
10
|
-
export type { BadgeVariant, BadgeSize } from './components/reke-badge/reke-badge.js';
|
|
10
|
+
export type { BadgeVariant, BadgeSize, BadgeShape } from './components/reke-badge/reke-badge.js';
|
|
11
11
|
export { RekeCard } from './components/reke-card/reke-card.js';
|
|
12
|
-
export type { CardVariant, CardPadding } from './components/reke-card/reke-card.js';
|
|
12
|
+
export type { CardVariant, CardPadding, CardAccent } from './components/reke-card/reke-card.js';
|
|
13
13
|
export { RekeTooltip } from './components/reke-tooltip/reke-tooltip.js';
|
|
14
14
|
export type { TooltipPosition } from './components/reke-tooltip/reke-tooltip.js';
|
|
15
15
|
export { RekeDialog } from './components/reke-dialog/reke-dialog.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
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,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACjG,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAChG,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/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { RekeButton as r } from "./components/reke-button/reke-button.js";
|
|
2
|
+
import { RekeInput as p } from "./components/reke-input/reke-input.js";
|
|
3
|
+
import { RekeTextarea as k } from "./components/reke-textarea/reke-textarea.js";
|
|
4
|
+
import { RekeCheckbox as R } from "./components/reke-checkbox/reke-checkbox.js";
|
|
5
|
+
import { RekeToggle as a } from "./components/reke-toggle/reke-toggle.js";
|
|
6
|
+
import { RekeBadge as g } from "./components/reke-badge/reke-badge.js";
|
|
7
|
+
import { RekeCard as i } from "./components/reke-card/reke-card.js";
|
|
8
|
+
import { RekeTooltip as d } from "./components/reke-tooltip/reke-tooltip.js";
|
|
9
|
+
import { RekeDialog as b } from "./components/reke-dialog/reke-dialog.js";
|
|
10
|
+
import { RekeSelect as h } from "./components/reke-select/reke-select.js";
|
|
11
|
+
import { RekeTable as B } from "./components/reke-table/reke-table.js";
|
|
12
|
+
import { RekeDateRange as s } from "./components/reke-date-range/reke-date-range.js";
|
|
13
|
+
import { RekeFileUpload as E } from "./components/reke-file-upload/reke-file-upload.js";
|
|
14
|
+
import { RekeAlert as I } from "./components/reke-alert/reke-alert.js";
|
|
15
|
+
import { RekeToast as U } from "./components/reke-toast/reke-toast.js";
|
|
16
|
+
import { RekeChip as q } from "./components/reke-chip/reke-chip.js";
|
|
17
|
+
import { RekeElement as w } from "./shared/base-element.js";
|
|
18
|
+
export {
|
|
19
|
+
I as RekeAlert,
|
|
20
|
+
g as RekeBadge,
|
|
21
|
+
r as RekeButton,
|
|
22
|
+
i as RekeCard,
|
|
23
|
+
R as RekeCheckbox,
|
|
24
|
+
q as RekeChip,
|
|
25
|
+
s as RekeDateRange,
|
|
26
|
+
b as RekeDialog,
|
|
27
|
+
w as RekeElement,
|
|
28
|
+
E as RekeFileUpload,
|
|
29
|
+
p as RekeInput,
|
|
30
|
+
h as RekeSelect,
|
|
31
|
+
B as RekeTable,
|
|
32
|
+
k as RekeTextarea,
|
|
33
|
+
U as RekeToast,
|
|
34
|
+
a as RekeToggle,
|
|
35
|
+
d as RekeTooltip
|
|
36
|
+
};
|