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
package/dist/react.js
CHANGED
|
@@ -1,133 +1,148 @@
|
|
|
1
1
|
import { createComponent as e } from "@lit/react";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { RekeButton as a } from "./components/reke-button/reke-button.js";
|
|
4
|
+
import { RekeInput as o } from "./components/reke-input/reke-input.js";
|
|
5
|
+
import { RekeTextarea as r } from "./components/reke-textarea/reke-textarea.js";
|
|
6
|
+
import { RekeCheckbox as n } from "./components/reke-checkbox/reke-checkbox.js";
|
|
7
|
+
import { RekeToggle as k } from "./components/reke-toggle/reke-toggle.js";
|
|
8
|
+
import { RekeBadge as s } from "./components/reke-badge/reke-badge.js";
|
|
9
|
+
import { RekeCard as l } from "./components/reke-card/reke-card.js";
|
|
10
|
+
import { RekeTooltip as m } from "./components/reke-tooltip/reke-tooltip.js";
|
|
11
|
+
import { RekeDialog as c } from "./components/reke-dialog/reke-dialog.js";
|
|
12
|
+
import { RekeSelect as i } from "./components/reke-select/reke-select.js";
|
|
13
|
+
import { RekeTable as g } from "./components/reke-table/reke-table.js";
|
|
14
|
+
import { RekeDateRange as R } from "./components/reke-date-range/reke-date-range.js";
|
|
15
|
+
import { RekeFileUpload as p } from "./components/reke-file-upload/reke-file-upload.js";
|
|
16
|
+
import { RekeAlert as C } from "./components/reke-alert/reke-alert.js";
|
|
17
|
+
import { RekeToast as f } from "./components/reke-toast/reke-toast.js";
|
|
18
|
+
import { RekeChip as h } from "./components/reke-chip/reke-chip.js";
|
|
19
|
+
const q = e({
|
|
5
20
|
tagName: "reke-button",
|
|
6
|
-
elementClass:
|
|
7
|
-
react:
|
|
21
|
+
elementClass: a,
|
|
22
|
+
react: t,
|
|
8
23
|
events: {
|
|
9
24
|
onRekeClick: "reke-click"
|
|
10
25
|
}
|
|
11
|
-
}),
|
|
26
|
+
}), y = e({
|
|
12
27
|
tagName: "reke-input",
|
|
13
|
-
elementClass:
|
|
14
|
-
react:
|
|
28
|
+
elementClass: o,
|
|
29
|
+
react: t,
|
|
15
30
|
events: {
|
|
16
31
|
onRekeInput: "reke-input",
|
|
17
32
|
onRekeChange: "reke-change"
|
|
18
33
|
}
|
|
19
|
-
}),
|
|
34
|
+
}), z = e({
|
|
20
35
|
tagName: "reke-textarea",
|
|
21
|
-
elementClass:
|
|
22
|
-
react:
|
|
36
|
+
elementClass: r,
|
|
37
|
+
react: t,
|
|
23
38
|
events: {
|
|
24
39
|
onRekeInput: "reke-input",
|
|
25
40
|
onRekeChange: "reke-change"
|
|
26
41
|
}
|
|
27
|
-
}),
|
|
42
|
+
}), G = e({
|
|
28
43
|
tagName: "reke-checkbox",
|
|
29
|
-
elementClass:
|
|
30
|
-
react:
|
|
44
|
+
elementClass: n,
|
|
45
|
+
react: t,
|
|
31
46
|
events: {
|
|
32
47
|
onRekeChange: "reke-change"
|
|
33
48
|
}
|
|
34
|
-
}),
|
|
49
|
+
}), H = e({
|
|
35
50
|
tagName: "reke-toggle",
|
|
36
51
|
elementClass: k,
|
|
37
|
-
react:
|
|
52
|
+
react: t,
|
|
38
53
|
events: {
|
|
39
54
|
onRekeChange: "reke-change"
|
|
40
55
|
}
|
|
41
|
-
}),
|
|
56
|
+
}), J = e({
|
|
42
57
|
tagName: "reke-badge",
|
|
43
|
-
elementClass:
|
|
44
|
-
react:
|
|
45
|
-
}),
|
|
58
|
+
elementClass: s,
|
|
59
|
+
react: t
|
|
60
|
+
}), K = e({
|
|
46
61
|
tagName: "reke-card",
|
|
47
62
|
elementClass: l,
|
|
48
|
-
react:
|
|
49
|
-
}),
|
|
63
|
+
react: t
|
|
64
|
+
}), L = e({
|
|
50
65
|
tagName: "reke-tooltip",
|
|
51
|
-
elementClass:
|
|
52
|
-
react:
|
|
53
|
-
}),
|
|
66
|
+
elementClass: m,
|
|
67
|
+
react: t
|
|
68
|
+
}), M = e({
|
|
54
69
|
tagName: "reke-dialog",
|
|
55
|
-
elementClass:
|
|
56
|
-
react:
|
|
70
|
+
elementClass: c,
|
|
71
|
+
react: t,
|
|
57
72
|
events: {
|
|
58
73
|
onRekeClose: "reke-close"
|
|
59
74
|
}
|
|
60
|
-
}),
|
|
75
|
+
}), O = e({
|
|
61
76
|
tagName: "reke-select",
|
|
62
|
-
elementClass:
|
|
63
|
-
react:
|
|
77
|
+
elementClass: i,
|
|
78
|
+
react: t,
|
|
64
79
|
events: {
|
|
65
80
|
onRekeChange: "reke-change"
|
|
66
81
|
}
|
|
67
|
-
}),
|
|
82
|
+
}), Q = e({
|
|
68
83
|
tagName: "reke-table",
|
|
69
|
-
elementClass:
|
|
70
|
-
react:
|
|
84
|
+
elementClass: g,
|
|
85
|
+
react: t,
|
|
71
86
|
events: {
|
|
72
87
|
onRekeRowClick: "reke-row-click",
|
|
73
88
|
onRekeSort: "reke-sort",
|
|
74
89
|
onRekeRowExpand: "reke-row-expand"
|
|
75
90
|
}
|
|
76
|
-
}),
|
|
91
|
+
}), V = e({
|
|
77
92
|
tagName: "reke-date-range",
|
|
78
|
-
elementClass:
|
|
79
|
-
react:
|
|
93
|
+
elementClass: R,
|
|
94
|
+
react: t,
|
|
80
95
|
events: {
|
|
81
96
|
onRekeChange: "reke-change",
|
|
82
97
|
onRekePreset: "reke-preset"
|
|
83
98
|
}
|
|
84
|
-
}),
|
|
99
|
+
}), W = e({
|
|
85
100
|
tagName: "reke-file-upload",
|
|
86
|
-
elementClass:
|
|
87
|
-
react:
|
|
101
|
+
elementClass: p,
|
|
102
|
+
react: t,
|
|
88
103
|
events: {
|
|
89
104
|
onRekeFileSelect: "reke-file-select",
|
|
90
105
|
onRekeFileClear: "reke-file-clear"
|
|
91
106
|
}
|
|
92
|
-
}),
|
|
107
|
+
}), X = e({
|
|
93
108
|
tagName: "reke-alert",
|
|
94
|
-
elementClass:
|
|
95
|
-
react:
|
|
109
|
+
elementClass: C,
|
|
110
|
+
react: t,
|
|
96
111
|
events: {
|
|
97
112
|
onRekeClose: "reke-close"
|
|
98
113
|
}
|
|
99
|
-
}),
|
|
114
|
+
}), Y = e({
|
|
100
115
|
tagName: "reke-toast",
|
|
101
|
-
elementClass:
|
|
102
|
-
react:
|
|
116
|
+
elementClass: f,
|
|
117
|
+
react: t,
|
|
103
118
|
events: {
|
|
104
119
|
onRekeClose: "reke-close",
|
|
105
120
|
onRekeAction: "reke-action"
|
|
106
121
|
}
|
|
107
|
-
}),
|
|
122
|
+
}), Z = e({
|
|
108
123
|
tagName: "reke-chip",
|
|
109
|
-
elementClass:
|
|
110
|
-
react:
|
|
124
|
+
elementClass: h,
|
|
125
|
+
react: t,
|
|
111
126
|
events: {
|
|
112
127
|
onRekeClick: "reke-click",
|
|
113
128
|
onRekeDismiss: "reke-dismiss"
|
|
114
129
|
}
|
|
115
130
|
});
|
|
116
131
|
export {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
X as Alert,
|
|
133
|
+
J as Badge,
|
|
134
|
+
q as Button,
|
|
135
|
+
K as Card,
|
|
136
|
+
G as Checkbox,
|
|
137
|
+
Z as Chip,
|
|
138
|
+
V as DateRange,
|
|
139
|
+
M as Dialog,
|
|
140
|
+
W as FileUpload,
|
|
141
|
+
y as Input,
|
|
142
|
+
O as Select,
|
|
143
|
+
Q as Table,
|
|
144
|
+
z as Textarea,
|
|
145
|
+
Y as Toast,
|
|
146
|
+
H as Toggle,
|
|
147
|
+
L as Tooltip
|
|
133
148
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const t = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}';
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
|
@@ -47,6 +47,20 @@
|
|
|
47
47
|
|
|
48
48
|
/* Radii */
|
|
49
49
|
--reke-radius: 4px;
|
|
50
|
+
|
|
51
|
+
/* Transitions — consistent speeds across all components */
|
|
52
|
+
--reke-transition-fast: 0.12s ease;
|
|
53
|
+
--reke-transition-normal: 0.2s ease;
|
|
54
|
+
--reke-transition-slow: 0.35s ease;
|
|
55
|
+
|
|
56
|
+
/* Glow shadows — themed per accent color */
|
|
57
|
+
--reke-shadow-glow-primary: 0 0 20px color-mix(in srgb, var(--reke-color-primary, #22C55E) 35%, transparent);
|
|
58
|
+
--reke-shadow-glow-secondary: 0 0 20px color-mix(in srgb, var(--reke-color-secondary, #3B82F6) 35%, transparent);
|
|
59
|
+
--reke-shadow-glow-danger: 0 0 20px color-mix(in srgb, var(--reke-color-danger, #EF4444) 35%, transparent);
|
|
60
|
+
|
|
61
|
+
/* Lift shadows — for hover card elevations */
|
|
62
|
+
--reke-shadow-lift: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
63
|
+
--reke-shadow-lift-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
|
|
50
64
|
}
|
|
51
65
|
|
|
52
66
|
/* ===== Dark theme (default) ===== */
|
|
@@ -58,12 +72,15 @@
|
|
|
58
72
|
--reke-color-bg-section: #0F0F10;
|
|
59
73
|
--reke-color-surface: #1A1A1A;
|
|
60
74
|
--reke-color-surface-elevated: #151515;
|
|
75
|
+
--reke-color-surface-hover: #202020;
|
|
61
76
|
--reke-color-border: #252525;
|
|
62
77
|
--reke-color-border-subtle: #1F1F1F;
|
|
78
|
+
--reke-color-border-hover: #3A3A3A;
|
|
63
79
|
--reke-color-text: #E5E5E5;
|
|
64
80
|
--reke-color-text-muted: #525252;
|
|
65
81
|
--reke-color-text-ghost: #737373;
|
|
66
82
|
--reke-color-text-disabled: #3B3B3B;
|
|
83
|
+
--reke-color-text-label: #8A8A8A;
|
|
67
84
|
--reke-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
68
85
|
--reke-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
|
|
69
86
|
}
|
|
@@ -76,12 +93,15 @@
|
|
|
76
93
|
--reke-color-bg-section: #F8F8F8;
|
|
77
94
|
--reke-color-surface: #FFFFFF;
|
|
78
95
|
--reke-color-surface-elevated: #F0F0F0;
|
|
96
|
+
--reke-color-surface-hover: #F5F5F5;
|
|
79
97
|
--reke-color-border: #E0E0E0;
|
|
80
98
|
--reke-color-border-subtle: #EBEBEB;
|
|
99
|
+
--reke-color-border-hover: #CCCCCC;
|
|
81
100
|
--reke-color-text: #1A1A1A;
|
|
82
101
|
--reke-color-text-muted: #8A8A8A;
|
|
83
102
|
--reke-color-text-ghost: #9A9A9A;
|
|
84
103
|
--reke-color-text-disabled: #C0C0C0;
|
|
104
|
+
--reke-color-text-label: #666666;
|
|
85
105
|
--reke-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
|
|
86
106
|
--reke-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
87
107
|
}
|
|
@@ -95,12 +115,15 @@
|
|
|
95
115
|
--reke-color-bg-section: #F8F8F8;
|
|
96
116
|
--reke-color-surface: #FFFFFF;
|
|
97
117
|
--reke-color-surface-elevated: #F0F0F0;
|
|
118
|
+
--reke-color-surface-hover: #F5F5F5;
|
|
98
119
|
--reke-color-border: #E0E0E0;
|
|
99
120
|
--reke-color-border-subtle: #EBEBEB;
|
|
121
|
+
--reke-color-border-hover: #CCCCCC;
|
|
100
122
|
--reke-color-text: #1A1A1A;
|
|
101
123
|
--reke-color-text-muted: #8A8A8A;
|
|
102
124
|
--reke-color-text-ghost: #9A9A9A;
|
|
103
125
|
--reke-color-text-disabled: #C0C0C0;
|
|
126
|
+
--reke-color-text-label: #666666;
|
|
104
127
|
--reke-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
|
|
105
128
|
--reke-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
106
129
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reke-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Web Component library built with Lit 3 — dark & light themes",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/
|
|
7
|
-
"module": "./dist/
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"default": "./dist/
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
13
|
},
|
|
14
14
|
"./react": {
|
|
15
15
|
"types": "./dist/react.d.ts",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"test:run": "vitest run",
|
|
96
96
|
"analyze": "cem analyze --litelement",
|
|
97
97
|
"lint": "tsc --noEmit",
|
|
98
|
+
"release": "commit-and-tag-version",
|
|
98
99
|
"prepublishOnly": "npm run build && npm run analyze"
|
|
99
100
|
},
|
|
100
101
|
"keywords": [
|
|
@@ -138,6 +139,7 @@
|
|
|
138
139
|
"@vitest/browser": "^4.0.18",
|
|
139
140
|
"@vitest/browser-playwright": "^4.0.18",
|
|
140
141
|
"axe-core": "^4.11.1",
|
|
142
|
+
"commit-and-tag-version": "^12.6.1",
|
|
141
143
|
"playwright": "^1.58.2",
|
|
142
144
|
"react": "^19.2.4",
|
|
143
145
|
"storybook": "^10.2.11",
|