@tempots/beatui 0.87.3 → 0.88.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/{ar-DjMvIww5.js → ar-MUKILk4c.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/{auth-divider-V_Se6Qhe.cjs → auth-divider-Cj-xJxF_.cjs} +1 -1
- package/dist/{auth-divider-BIefTDoO.js → auth-divider-DvVmqjnk.js} +101 -103
- package/dist/beatui.css +732 -671
- package/dist/beatui.tailwind.css +714 -662
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +12 -12
- package/dist/{colors-BmLYKmoH.js → colors-BY0Ja_bf.js} +12 -12
- package/dist/{de-wChFYqM4.js → de-CEsW1rVX.js} +1 -1
- package/dist/deep-merge-Dgy9xj6w.cjs +1 -0
- package/dist/{deep-merge-BRqRzEQs.js → deep-merge-OvVqSLSN.js} +443 -429
- package/dist/{duration-input-BDEb1Bb7.js → duration-input-BCXujp0V.js} +5 -5
- package/dist/{duration-input-BtFL5Vjx.cjs → duration-input-MJz6UO6E.cjs} +1 -1
- package/dist/{editor-toolbar-group-CwCCGzEC.js → editor-toolbar-group-Cnta0SOa.js} +6 -3
- package/dist/{es-CmPF3IGl.js → es-ChP-aFwC.js} +1 -1
- package/dist/{fa-D696e75R.js → fa-CNsrlIqh.js} +1 -1
- package/dist/{fr-B0jeX1Hx.js → fr-DgEFKpML.js} +1 -1
- package/dist/{he-SgAsIYJA.js → he-B4TqfISZ.js} +1 -1
- package/dist/{hi-s9oiIihq.js → hi-TSoDsngT.js} +1 -1
- package/dist/{index-KNk3k6NI.js → index-1JaBwDB-.js} +1 -1
- package/dist/index-B8cqD9ny.js +838 -0
- package/dist/index-CN10Cyqr.cjs +1 -0
- package/dist/{index-yMrXbIdg.cjs → index-CTcbhnPw.cjs} +1 -1
- package/dist/{index-CaWDj1Vg.cjs → index-D3QVPAme.cjs} +10 -10
- package/dist/{index-qa82MK4Z.cjs → index-D4ZFV8Rs.cjs} +1 -1
- package/dist/{index-anrXec7K.cjs → index-DF7RFzD9.cjs} +1 -1
- package/dist/{index-B0t-nt7i.js → index-DOc1_-Nm.js} +4 -4
- package/dist/{index-DdqGL9Jk.js → index-D_aTUfqS.js} +701 -684
- package/dist/{index-BFe-x3-z.js → index-DfPkCwdC.js} +2 -2
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +2285 -2260
- package/dist/{index.esm-ChUrm4xR.js → index.esm-By0m3ki1.js} +3 -3
- package/dist/{input-container-DhUiLmXE.js → input-container-BBWCDGTv.js} +1 -1
- package/dist/{it-Dc4IMciD.js → it-BrbebXg4.js} +1 -1
- package/dist/{ja-D2t2g5xj.js → ja-DcfOktrV.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +97 -103
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +15 -15
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +349 -351
- package/dist/{ko-BRylA5JZ.js → ko-73e6t369.js} +1 -1
- package/dist/lexical/index.cjs.js +5 -12
- package/dist/lexical/index.es.js +57 -87
- package/dist/lexical.css +24 -23
- package/dist/markdown/index.cjs.js +1 -1
- package/dist/markdown/index.es.js +1 -1
- package/dist/markdown.css +7 -7
- package/dist/{menu-Ui4lUPHM.js → menu-CV85y3Xf.js} +1 -1
- package/dist/{modal-Dkje8L_l.js → modal-BBJWY7NB.js} +5 -5
- package/dist/{modal-Coenk8Fy.cjs → modal-jJMS0ZlW.cjs} +1 -1
- package/dist/monaco/index.es.js +1 -1
- package/dist/{nl-Dh7LUWAn.js → nl-Bq-1-ulc.js} +1 -1
- package/dist/notice-9lpZ-VDn.cjs +1 -0
- package/dist/{notice-BmkckDsD.js → notice-AUVH8Lho.js} +26 -28
- package/dist/{oneof-branch-detection-BED_n2MT.js → oneof-branch-detection-BQnRjp9P.js} +1740 -1734
- package/dist/{oneof-branch-detection-Vov_e3kI.cjs → oneof-branch-detection-BsGhMslW.cjs} +6 -6
- package/dist/{pl-XEG-p1Q9.js → pl-Du9-VCfW.js} +1 -1
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +1 -1
- package/dist/prosemirror.css +7 -7
- package/dist/{pt-DYsDA2sZ.js → pt-B2UqqSAB.js} +1 -1
- package/dist/{ru-BTKBykp-.js → ru-DiWa2inw.js} +1 -1
- package/dist/stack-4VUGISn6.cjs +1 -0
- package/dist/{stack-BJgsPJ9A.js → stack-Bm-UZosx.js} +145 -139
- package/dist/styles-url-4g2WnNJ8.js +4 -0
- package/dist/{styles-url-DZhZ-9Bf.js → styles-url-CJYy5nML.js} +1 -1
- package/dist/{styles-url-YAJ6Q1GS.cjs → styles-url-D8nVwSmZ.cjs} +1 -1
- package/dist/{styles-url-BSUFsmMD.cjs → styles-url-evUdl8tK.cjs} +1 -1
- package/dist/{styles-url-BvcVGpBJ.js → styles-url-hKxIOumK.js} +1 -1
- package/dist/styles-url-mlDYoWbF.cjs +1 -0
- package/dist/tailwind/preset.cjs.js +1 -1
- package/dist/tailwind/preset.es.js +2 -2
- package/dist/tailwind/vite-plugin.cjs.js +1 -1
- package/dist/tailwind/vite-plugin.es.js +1 -1
- package/dist/{text-input-BZmAB3_o.js → text-input-6FD7p7hN.js} +5 -5
- package/dist/{theme-BzpMLdvH.js → theme-kQZEeusG.js} +4 -4
- package/dist/{toolbar-Pdj-F80l.js → toolbar-Cr0JGj5h.js} +1 -1
- package/dist/{tr-Cp8ZCUic.js → tr-Culcm2Zb.js} +1 -1
- package/dist/{translations-jUYta1_1.js → translations-Cttn6w0G.js} +1 -1
- package/dist/{translations-BGblCUBj.js → translations-uEUkO6gJ.js} +30 -30
- package/dist/types/auth-i18n/translations.d.ts +2 -2
- package/dist/types/beatui-i18n/translations.d.ts +2 -2
- package/dist/types/better-auth/components/authenticated.d.ts +2 -2
- package/dist/types/better-auth/components/better-auth-container.d.ts +1 -1
- package/dist/types/better-auth/i18n/translations.d.ts +2 -2
- package/dist/types/better-auth/provider.d.ts +2 -2
- package/dist/types/components/auth/auth-container.d.ts +1 -1
- package/dist/types/components/auth/auth-email-prop.d.ts +1 -1
- package/dist/types/components/beatui.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/content/native-pdf-preview.d.ts +1 -1
- package/dist/types/components/content/pdfjs-preview.d.ts +1 -1
- package/dist/types/components/data/icon.d.ts +1 -1
- package/dist/types/components/data/page-drop-zone.d.ts +1 -1
- package/dist/types/components/data/unstyled-drop-zone.d.ts +1 -1
- package/dist/types/components/editor-toolbar/editor-toolbar-button.d.ts +1 -1
- package/dist/types/components/editor-toolbar/editor-toolbar-group.d.ts +1 -1
- package/dist/types/components/form/control/control.d.ts +2 -2
- package/dist/types/components/form/control/ensure-control.d.ts +1 -1
- package/dist/types/components/form/control/list-control.d.ts +1 -1
- package/dist/types/components/form/controller/color-controller.d.ts +4 -4
- package/dist/types/components/form/input/appearance-selector.d.ts +2 -2
- package/dist/types/components/form/input/base64-input.d.ts +1 -1
- package/dist/types/components/form/input/base64s-input.d.ts +1 -1
- package/dist/types/components/form/input/combobox-tags-input.d.ts +1 -1
- package/dist/types/components/form/input/email-input.d.ts +1 -1
- package/dist/types/components/form/input/file-input.d.ts +1 -1
- package/dist/types/components/form/input/files-input.d.ts +1 -1
- package/dist/types/components/form/input/input-options.d.ts +1 -1
- package/dist/types/components/form/input/list-input.d.ts +1 -1
- package/dist/types/components/form/input/nullable-base64-input.d.ts +1 -1
- package/dist/types/components/form/input/nullable-plain-date-input.d.ts +12 -12
- package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +12 -12
- package/dist/types/components/form/input/nullable-plain-time-input.d.ts +12 -12
- package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +12 -12
- package/dist/types/components/form/input/password-input.d.ts +1 -1
- package/dist/types/components/form/input/plain-date-input.d.ts +12 -12
- package/dist/types/components/form/input/plain-date-time-input.d.ts +12 -12
- package/dist/types/components/form/input/plain-time-input.d.ts +12 -12
- package/dist/types/components/form/input/plain-year-month-input.d.ts +12 -12
- package/dist/types/components/form/input/select-tags-input.d.ts +3 -3
- package/dist/types/components/form/input/step-utils.d.ts +5 -0
- package/dist/types/components/form/use-form.d.ts +3 -3
- package/dist/types/components/i18n/locale-direction.d.ts +1 -1
- package/dist/types/components/i18n/locale-selector.d.ts +1 -1
- package/dist/types/components/i18n/locale.d.ts +1 -1
- package/dist/types/components/i18n/make-i18nprovider.d.ts +2 -2
- package/dist/types/components/layout/app-shell.d.ts +1 -1
- package/dist/types/components/lexical/code/language-selector.d.ts +1 -1
- package/dist/types/components/lexical/floating/block-handle.d.ts +1 -1
- package/dist/types/components/lexical/floating/floating-toolbar.d.ts +1 -1
- package/dist/types/components/lexical/floating/slash-command-palette.d.ts +1 -1
- package/dist/types/components/lexical/table/table-controls.d.ts +1 -1
- package/dist/types/components/lexical/toolbar/lexical-toolbar.d.ts +1 -1
- package/dist/types/components/lexical/toolbar/toolbar-helpers.d.ts +2 -2
- package/dist/types/components/media/pdf-page-viewer.d.ts +1 -1
- package/dist/types/components/misc/notification-provider.d.ts +2 -2
- package/dist/types/components/navigation/link/button-link.d.ts +1 -1
- package/dist/types/components/navigation/link/link.d.ts +1 -1
- package/dist/types/components/navigation/link/navigation-link.d.ts +1 -1
- package/dist/types/components/navigation/pagination.d.ts +1 -1
- package/dist/types/components/navigation/sidebar/sidebar.d.ts +2 -2
- package/dist/types/components/navigation/toolbar/toolbar.d.ts +1 -1
- package/dist/types/components/prosemirror/link-control.d.ts +1 -1
- package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +1 -1
- package/dist/types/components/prosemirror/utils.d.ts +2 -2
- package/dist/types/components/theme/theme.d.ts +2 -2
- package/dist/types/i18n/translate.d.ts +1 -1
- package/dist/types/tailwind/preset.d.ts +1 -1
- package/dist/types/tailwind/vite-plugin.d.ts +1 -1
- package/dist/types/tokens/borders.d.ts +104 -0
- package/dist/types/tokens/controls.d.ts +127 -0
- package/dist/types/tokens/index.d.ts +2 -0
- package/dist/types/tokens/radius.d.ts +14 -14
- package/dist/types/tokens/typography.d.ts +33 -33
- package/dist/types/utils/delay-signal.d.ts +1 -1
- package/dist/types/utils/use-animated-toggle.d.ts +22 -22
- package/dist/{ur-DkIYJxsF.js → ur-Deb-uH6b.js} +1 -1
- package/dist/{use-animated-toggle-89fKlXxy.js → use-animated-toggle-C7PTmnZi.js} +7 -7
- package/dist/{use-form-B_mCauP0.cjs → use-form-i97PToWB.cjs} +1 -1
- package/dist/{use-form-BSvvERhX.js → use-form-lg6-7Brc.js} +14 -13
- package/dist/{vi-DKw6PBja.js → vi-CUsCVh3n.js} +1 -1
- package/dist/widget-customization-BLvD4Lqt.cjs +1 -0
- package/dist/{widget-customization-DFr3ycD7.js → widget-customization-CDD72zYs.js} +29 -29
- package/dist/{zh-CaKHseXJ.js → zh-Dil2Jft8.js} +1 -1
- package/package.json +35 -31
- package/dist/deep-merge-CvN7Xvd1.cjs +0 -1
- package/dist/index-BywbRDsb.cjs +0 -1
- package/dist/index-D2_J_-XS.js +0 -671
- package/dist/notice-DMK7dx9a.cjs +0 -1
- package/dist/stack-DcZ_u50f.cjs +0 -1
- package/dist/styles-url-CCopc5pG.js +0 -4
- package/dist/styles-url-CEDSZTyZ.cjs +0 -1
- package/dist/widget-customization-BASfRpF7.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { Use as
|
|
3
|
-
import { a as S, I as
|
|
4
|
-
import { B as
|
|
5
|
-
import { C as W } from "./use-form-
|
|
1
|
+
import { C as x } from "./text-input-6FD7p7hN.js";
|
|
2
|
+
import { Use as E, input as U, attr as t, coalesce as j, Empty as w, on as m, emitValue as I, prop as z, computedOf as C, html as p, aria as A, When as P, Fragment as F, Value as g, Unless as M, Ensure as R } from "@tempots/dom";
|
|
3
|
+
import { a as S, I as O } from "./input-container-BBWCDGTv.js";
|
|
4
|
+
import { B as V, I as $ } from "./translations-uEUkO6gJ.js";
|
|
5
|
+
import { C as W } from "./use-form-lg6-7Brc.js";
|
|
6
6
|
const X = (n) => {
|
|
7
7
|
const l = {
|
|
8
8
|
name: "email",
|
|
@@ -20,14 +20,14 @@ const X = (n) => {
|
|
|
20
20
|
size: n.size,
|
|
21
21
|
color: "neutral"
|
|
22
22
|
});
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
(f) =>
|
|
23
|
+
return E(
|
|
24
|
+
V,
|
|
25
|
+
(f) => O({
|
|
26
26
|
...n,
|
|
27
27
|
before: b,
|
|
28
|
-
input:
|
|
29
|
-
|
|
30
|
-
t.placeholder(
|
|
28
|
+
input: U.email(
|
|
29
|
+
x(l),
|
|
30
|
+
t.placeholder(j(v, f.$.emailPlaceholderText)),
|
|
31
31
|
t.value(r),
|
|
32
32
|
t.class("bc-input"),
|
|
33
33
|
o != null ? m.blur(I(o)) : w,
|
|
@@ -53,40 +53,40 @@ const X = (n) => {
|
|
|
53
53
|
name: "password",
|
|
54
54
|
disabled: b,
|
|
55
55
|
...h
|
|
56
|
-
}, i =
|
|
56
|
+
}, i = z(!0), a = C(
|
|
57
57
|
i,
|
|
58
58
|
f
|
|
59
59
|
)((e, u) => e ? u ?? "current-password" : "off");
|
|
60
|
-
return V
|
|
60
|
+
return E(V, (e) => {
|
|
61
61
|
const u = C(
|
|
62
62
|
e.$.passwordPlaceholderText,
|
|
63
63
|
i,
|
|
64
64
|
_
|
|
65
|
-
)((y,
|
|
65
|
+
)((y, k, N) => k ? "•••••••••••••••" : N ?? y), B = p.button(
|
|
66
66
|
t.type("button"),
|
|
67
67
|
t.class("bc-input-container__password-toggle"),
|
|
68
|
-
|
|
68
|
+
A.label(e.$.togglePasswordVisibility),
|
|
69
69
|
m.click(() => i.update((y) => !y)),
|
|
70
70
|
P(
|
|
71
71
|
i,
|
|
72
|
-
() =>
|
|
73
|
-
() =>
|
|
72
|
+
() => $({ icon: "line-md:watch" }),
|
|
73
|
+
() => $({ icon: "line-md:watch-off" })
|
|
74
74
|
)
|
|
75
75
|
);
|
|
76
|
-
return
|
|
76
|
+
return O({
|
|
77
77
|
before: d,
|
|
78
78
|
disabled: b,
|
|
79
79
|
hasError: v,
|
|
80
80
|
input: p.input(
|
|
81
|
-
|
|
81
|
+
x({
|
|
82
82
|
...T,
|
|
83
83
|
autocomplete: a,
|
|
84
84
|
placeholder: u
|
|
85
85
|
}),
|
|
86
86
|
P(
|
|
87
87
|
i,
|
|
88
|
-
() =>
|
|
89
|
-
() =>
|
|
88
|
+
() => t.type("password"),
|
|
89
|
+
() => t.type("text")
|
|
90
90
|
),
|
|
91
91
|
t.class("bc-input"),
|
|
92
92
|
t.value(l),
|
|
@@ -94,7 +94,7 @@ const X = (n) => {
|
|
|
94
94
|
s != null ? m.change(I(s)) : w,
|
|
95
95
|
o != null ? m.input(I(o)) : w
|
|
96
96
|
),
|
|
97
|
-
after: c != null ?
|
|
97
|
+
after: c != null ? F(B, c) : B
|
|
98
98
|
});
|
|
99
99
|
});
|
|
100
100
|
};
|
|
@@ -106,7 +106,6 @@ function q(n) {
|
|
|
106
106
|
return "material-symbols:warning-outline";
|
|
107
107
|
case "danger":
|
|
108
108
|
return "material-symbols:error-outline";
|
|
109
|
-
case "info":
|
|
110
109
|
default:
|
|
111
110
|
return "material-symbols:info-outline";
|
|
112
111
|
}
|
|
@@ -119,7 +118,6 @@ function D(n) {
|
|
|
119
118
|
return "warning";
|
|
120
119
|
case "danger":
|
|
121
120
|
return "danger";
|
|
122
|
-
case "info":
|
|
123
121
|
default:
|
|
124
122
|
return "info";
|
|
125
123
|
}
|
|
@@ -142,7 +140,7 @@ function Z({
|
|
|
142
140
|
onDismiss: c,
|
|
143
141
|
class: v
|
|
144
142
|
}, ...b) {
|
|
145
|
-
const f =
|
|
143
|
+
const f = z(!0);
|
|
146
144
|
return P(f, () => {
|
|
147
145
|
const _ = g.map(
|
|
148
146
|
d,
|
|
@@ -153,8 +151,8 @@ function Z({
|
|
|
153
151
|
)(
|
|
154
152
|
(a, e) => a ?? (e === "danger" ? "alert" : "status")
|
|
155
153
|
);
|
|
156
|
-
return
|
|
157
|
-
|
|
154
|
+
return E(
|
|
155
|
+
V,
|
|
158
156
|
(a) => p.div(
|
|
159
157
|
t.class(
|
|
160
158
|
C(
|
|
@@ -170,7 +168,7 @@ function Z({
|
|
|
170
168
|
g.map(o, (e) => e === !1),
|
|
171
169
|
() => p.div(
|
|
172
170
|
t.class("bc-notice__icon"),
|
|
173
|
-
|
|
171
|
+
$({
|
|
174
172
|
icon: C(
|
|
175
173
|
o,
|
|
176
174
|
h
|