@tempots/beatui 0.90.0 → 0.92.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-MUKILk4c.js → ar-8Cko5i-Z.js} +18 -10
- package/dist/{ar-CBrjAlIY.cjs → ar-D2DjoXta.cjs} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/{auth-divider-DvVmqjnk.js → auth-divider-B4n8lGx5.js} +7 -7
- package/dist/{auth-divider-Cj-xJxF_.cjs → auth-divider-VzrKnv2d.cjs} +1 -1
- package/dist/beatui.css +299 -287
- package/dist/beatui.tailwind.css +299 -287
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +5 -5
- package/dist/{de-CEsW1rVX.js → de-Bt-d2iKj.js} +12 -4
- package/dist/{de-CrBw41po.cjs → de-Cdf3432J.cjs} +1 -1
- package/dist/deep-merge-CI1g9sjh.cjs +1 -0
- package/dist/{deep-merge-OvVqSLSN.js → deep-merge-DxUvbsBl.js} +42 -38
- package/dist/{duration-input-BCXujp0V.js → duration-input-DQTX3S_A.js} +4 -4
- package/dist/{duration-input-MJz6UO6E.cjs → duration-input-a1fCTfKl.cjs} +1 -1
- package/dist/{editor-toolbar-group-Cnta0SOa.js → editor-toolbar-group-CzdBZ1yr.js} +2 -2
- package/dist/{editor-toolbar-group-BgWLVgMZ.cjs → editor-toolbar-group-DhKJdqER.cjs} +1 -1
- package/dist/{es-ChP-aFwC.js → es-2llfNFX2.js} +10 -2
- package/dist/{es-Ca5xT3NE.cjs → es-6fFPkKHL.cjs} +1 -1
- package/dist/{fa-CNsrlIqh.js → fa-CQVIBjKP.js} +18 -10
- package/dist/{fa-DhZJYuC6.cjs → fa-GXyNzAXz.cjs} +1 -1
- package/dist/{fr-1nSKSIlw.cjs → fr-C6EYTwSH.cjs} +1 -1
- package/dist/{fr-DgEFKpML.js → fr-CC3smTlW.js} +19 -11
- package/dist/{he-DhcurPt5.cjs → he-CJUgxvi8.cjs} +1 -1
- package/dist/{he-B4TqfISZ.js → he-CZilsN75.js} +16 -8
- package/dist/{hi-TSoDsngT.js → hi-CAZjwGv-.js} +16 -8
- package/dist/{hi-CxsIxbfM.cjs → hi-DqIR4VtX.cjs} +1 -1
- package/dist/{index-D4ZFV8Rs.cjs → index-B-cwxUsP.cjs} +1 -1
- package/dist/{index-DOc1_-Nm.js → index-BFzxpY7y.js} +1 -1
- package/dist/{index-D3QVPAme.cjs → index-BOC0cVoY.cjs} +2 -2
- package/dist/{index-D_aTUfqS.js → index-DJ9YIJcG.js} +6 -6
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +1847 -1822
- package/dist/{input-container-BBWCDGTv.js → input-container-9r1F3KuX.js} +1 -1
- package/dist/{input-container-B31Seozh.cjs → input-container-DiYEl_y8.cjs} +1 -1
- package/dist/{it-D_IcaYxp.cjs → it-BvHsJ7fH.cjs} +1 -1
- package/dist/{it-BrbebXg4.js → it-D6RXFIL6.js} +19 -11
- package/dist/{ja-CMGqpPo7.cjs → ja-B2gP7OHY.cjs} +1 -1
- package/dist/{ja-DcfOktrV.js → ja-D7zsz4Ij.js} +15 -7
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +11 -12
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +1 -1
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +6 -6
- package/dist/{ko-BPl5rP97.cjs → ko-BddhddIA.cjs} +1 -1
- package/dist/{ko-73e6t369.js → ko-taN2Npr4.js} +12 -4
- package/dist/lexical/index.cjs.js +30 -30
- package/dist/lexical/index.es.js +5847 -5625
- package/dist/lexical.css +79 -74
- package/dist/{modal-jJMS0ZlW.cjs → modal-C-d5Btti.cjs} +1 -1
- package/dist/{modal-BBJWY7NB.js → modal-DTz98Dk7.js} +3 -3
- package/dist/{nl-BSfaHFt0.cjs → nl-COrtZUnH.cjs} +1 -1
- package/dist/{nl-Bq-1-ulc.js → nl-CRC6r4Q4.js} +22 -14
- package/dist/{notice-9lpZ-VDn.cjs → notice-BDTfBGtx.cjs} +1 -1
- package/dist/{notice-AUVH8Lho.js → notice-CZuh-h6a.js} +4 -4
- package/dist/{oneof-branch-detection-BsGhMslW.cjs → oneof-branch-detection-D6Xa8qNR.cjs} +1 -1
- package/dist/{oneof-branch-detection-BQnRjp9P.js → oneof-branch-detection-DCPwyutI.js} +1 -1
- package/dist/{pl-D-O4sCnr.cjs → pl-BHI4zBgV.cjs} +1 -1
- package/dist/{pl-Du9-VCfW.js → pl-C6qNs0Lq.js} +19 -11
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +1 -1
- package/dist/{pt-chEEYLlt.cjs → pt-BGzC9MhU.cjs} +1 -1
- package/dist/{pt-B2UqqSAB.js → pt-CcWPLqBh.js} +20 -12
- package/dist/{ru-B46hVpFF.cjs → ru-CXeFbIPb.cjs} +1 -1
- package/dist/{ru-DiWa2inw.js → ru-Dt9-9m0E.js} +20 -12
- package/dist/styles-url-BIeImEjl.js +4 -0
- package/dist/styles-url-CkPTI32j.cjs +1 -0
- package/dist/tailwind/vite-plugin.es.js +0 -1
- package/dist/{text-input-6FD7p7hN.js → text-input-BgPx8BbG.js} +1 -1
- package/dist/{text-input-w0eVcqk5.cjs → text-input-DUnhBUd6.cjs} +1 -1
- package/dist/{toolbar-Cr0JGj5h.js → toolbar-DKOh_gbA.js} +1 -1
- package/dist/{toolbar-BR8In7O0.cjs → toolbar-Dkc2y1dI.cjs} +1 -1
- package/dist/{tr-Culcm2Zb.js → tr-CDTWeRY0.js} +14 -6
- package/dist/{tr-CaMaflJL.cjs → tr-CdOtQAtA.cjs} +1 -1
- package/dist/{translations-CZ0KOii3.cjs → translations-BdCtLBZt.cjs} +1 -1
- package/dist/{translations-uEUkO6gJ.js → translations-CiBhB2FV.js} +135 -127
- package/dist/translations-Cy9hoMGV.cjs +1 -0
- package/dist/{translations-Cttn6w0G.js → translations-NBY7SubC.js} +1 -1
- package/dist/types/beatui-i18n/default.d.ts +8 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +8 -0
- package/dist/types/beatui-i18n/translations.d.ts +8 -0
- package/dist/types/components/form/input/index.d.ts +2 -0
- package/dist/types/components/form/input/nullable-color-input.d.ts +31 -0
- package/dist/types/components/form/input/nullable-color-swatch-input.d.ts +39 -0
- package/dist/types/components/lexical/table/table-controls.d.ts +3 -1
- package/dist/types/components/lexical/toolbar/index.d.ts +1 -0
- package/dist/types/components/lexical/toolbar/toolbar-registry.d.ts +16 -0
- package/dist/types/lexical/index.d.ts +2 -1
- package/dist/types/lexical/plugins/element-style.d.ts +29 -0
- package/dist/types/lexical/plugins/index.d.ts +1 -0
- package/dist/types/lexical/types.d.ts +48 -2
- package/dist/{ur-CvGP14xo.cjs → ur-C7itXvnC.cjs} +1 -1
- package/dist/{ur-Deb-uH6b.js → ur-CLrK5FPQ.js} +16 -8
- package/dist/{use-form-lg6-7Brc.js → use-form-Cd8YFWaN.js} +3 -3
- package/dist/{use-form-i97PToWB.cjs → use-form-DQVN_Zjb.cjs} +2 -2
- package/dist/{vi-CUsCVh3n.js → vi-B1_QDUQJ.js} +21 -13
- package/dist/{vi-Df4WZe9y.cjs → vi-CQrUWB3y.cjs} +1 -1
- package/dist/{widget-customization-CDD72zYs.js → widget-customization-Cs422IGY.js} +25 -25
- package/dist/{widget-customization-BLvD4Lqt.cjs → widget-customization-eyQ2pxvu.cjs} +1 -1
- package/dist/{zh-C5a9NGFW.cjs → zh-DWswYYTS.cjs} +1 -1
- package/dist/{zh-Dil2Jft8.js → zh-rDtQ92Pp.js} +12 -4
- package/package.json +1 -1
- package/dist/deep-merge-Dgy9xj6w.cjs +0 -1
- package/dist/styles-url-4g2WnNJ8.js +0 -4
- package/dist/styles-url-mlDYoWbF.cjs +0 -1
- package/dist/translations-gVgMyNno.cjs +0 -1
package/dist/lexical.css
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
.bc-lexical-editor {
|
|
24
24
|
position: relative;
|
|
25
25
|
min-height: 150px;
|
|
26
|
-
padding:
|
|
26
|
+
padding: var(--spacing-lg);
|
|
27
27
|
outline: none;
|
|
28
28
|
font-family: inherit;
|
|
29
29
|
font-size: inherit;
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
color: var(--color-neutral-400);
|
|
72
72
|
pointer-events: none;
|
|
73
73
|
position: absolute;
|
|
74
|
-
top:
|
|
75
|
-
left:
|
|
74
|
+
top: var(--spacing-lg);
|
|
75
|
+
left: var(--spacing-lg);
|
|
76
76
|
user-select: none;
|
|
77
77
|
font-style: italic;
|
|
78
78
|
}
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
font-size: 2rem;
|
|
83
83
|
font-weight: 700;
|
|
84
84
|
line-height: 1.2;
|
|
85
|
-
margin-top:
|
|
86
|
-
margin-bottom:
|
|
85
|
+
margin-top: var(--spacing-xl);
|
|
86
|
+
margin-bottom: var(--spacing-mdh);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.bc-lexical-editor h1:first-child {
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
font-size: 1.5rem;
|
|
95
95
|
font-weight: 700;
|
|
96
96
|
line-height: 1.3;
|
|
97
|
-
margin-top:
|
|
98
|
-
margin-bottom:
|
|
97
|
+
margin-top: var(--spacing-lgh);
|
|
98
|
+
margin-bottom: calc(var(--spacing-base) * 2.5);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.bc-lexical-editor h2:first-child {
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
font-size: 1.25rem;
|
|
107
107
|
font-weight: 600;
|
|
108
108
|
line-height: 1.4;
|
|
109
|
-
margin-top:
|
|
110
|
-
margin-bottom:
|
|
109
|
+
margin-top: var(--spacing-lg);
|
|
110
|
+
margin-bottom: var(--spacing-md);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.bc-lexical-editor h3:first-child {
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
font-size: 1.125rem;
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
line-height: 1.5;
|
|
121
|
-
margin-top:
|
|
122
|
-
margin-bottom:
|
|
121
|
+
margin-top: calc(var(--spacing-base) * 3.5);
|
|
122
|
+
margin-bottom: var(--spacing-md);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.bc-lexical-editor h4:first-child {
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
font-size: 1rem;
|
|
131
131
|
font-weight: 600;
|
|
132
132
|
line-height: 1.5;
|
|
133
|
-
margin-top:
|
|
134
|
-
margin-bottom:
|
|
133
|
+
margin-top: var(--spacing-mdh);
|
|
134
|
+
margin-bottom: var(--spacing-md);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.bc-lexical-editor h5:first-child {
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
font-size: 0.875rem;
|
|
143
143
|
font-weight: 600;
|
|
144
144
|
line-height: 1.5;
|
|
145
|
-
margin-top:
|
|
146
|
-
margin-bottom:
|
|
145
|
+
margin-top: var(--spacing-mdh);
|
|
146
|
+
margin-bottom: var(--spacing-md);
|
|
147
147
|
text-transform: uppercase;
|
|
148
148
|
letter-spacing: 0.05em;
|
|
149
149
|
}
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.bc-lexical-editor p {
|
|
156
|
-
margin-top:
|
|
157
|
-
margin-bottom:
|
|
156
|
+
margin-top: var(--spacing-md);
|
|
157
|
+
margin-bottom: var(--spacing-md);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.bc-lexical-editor p:first-child {
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.bc-lexical-editor blockquote {
|
|
169
|
-
margin:
|
|
170
|
-
padding-left:
|
|
169
|
+
margin: var(--spacing-lg) 0;
|
|
170
|
+
padding-left: var(--spacing-lg);
|
|
171
171
|
border-left: calc(2 * var(--border-width-medium)) solid
|
|
172
172
|
var(--color-neutral-300);
|
|
173
173
|
color: var(--color-neutral-700);
|
|
@@ -176,8 +176,8 @@
|
|
|
176
176
|
|
|
177
177
|
.bc-lexical-editor ul,
|
|
178
178
|
.bc-lexical-editor ol {
|
|
179
|
-
margin:
|
|
180
|
-
padding-left:
|
|
179
|
+
margin: var(--spacing-mdh) 0;
|
|
180
|
+
padding-left: var(--spacing-xl);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.bc-lexical-editor ul {
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.bc-lexical-editor li {
|
|
192
|
-
margin:
|
|
192
|
+
margin: var(--spacing-sm) 0;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.bc-lexical-editor code {
|
|
@@ -197,13 +197,13 @@
|
|
|
197
197
|
font-size: 0.875em;
|
|
198
198
|
background-color: var(--color-neutral-100);
|
|
199
199
|
color: var(--color-neutral-800);
|
|
200
|
-
padding:
|
|
200
|
+
padding: var(--spacing-xs) var(--spacing-smh);
|
|
201
201
|
border-radius: var(--radius-xs, 0.25rem);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
.bc-lexical-editor pre {
|
|
205
|
-
margin:
|
|
206
|
-
padding:
|
|
205
|
+
margin: var(--spacing-lg) 0;
|
|
206
|
+
padding: var(--spacing-lg);
|
|
207
207
|
background-color: var(--color-neutral-100);
|
|
208
208
|
border-radius: var(--radius-md, 0.5rem);
|
|
209
209
|
overflow-x: auto;
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.bc-lexical-editor hr {
|
|
233
|
-
margin:
|
|
233
|
+
margin: var(--spacing-xl) 0;
|
|
234
234
|
border: none;
|
|
235
235
|
border-top: var(--border-width-medium) solid var(--color-neutral-200);
|
|
236
236
|
}
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
font-size: 0.875em;
|
|
261
261
|
background-color: var(--color-neutral-100);
|
|
262
262
|
color: var(--color-neutral-800);
|
|
263
|
-
padding:
|
|
263
|
+
padding: var(--spacing-xs) var(--spacing-smh);
|
|
264
264
|
border-radius: var(--radius-xs, 0.25rem);
|
|
265
265
|
}
|
|
266
266
|
|
|
@@ -274,8 +274,8 @@
|
|
|
274
274
|
.bc-lexical-li-unchecked {
|
|
275
275
|
list-style-type: none;
|
|
276
276
|
position: relative;
|
|
277
|
-
padding-left:
|
|
278
|
-
margin-left: -1
|
|
277
|
+
padding-left: var(--spacing-xl);
|
|
278
|
+
margin-left: calc(-1 * var(--spacing-xl));
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
.bc-lexical-li-checked::before,
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
|
|
500
500
|
/* Toolbar selects (font family/size) */
|
|
501
501
|
.bc-lexical-toolbar-select {
|
|
502
|
-
height:
|
|
502
|
+
height: calc(var(--spacing-base) * 7);
|
|
503
503
|
padding: 0 var(--spacing-xs);
|
|
504
504
|
border: var(--border-width-thin) solid var(--color-neutral-300);
|
|
505
505
|
border-radius: var(--radius-sm);
|
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
align-items: center;
|
|
522
522
|
justify-content: center;
|
|
523
523
|
position: relative;
|
|
524
|
-
width:
|
|
525
|
-
height:
|
|
524
|
+
width: calc(var(--spacing-base) * 7);
|
|
525
|
+
height: calc(var(--spacing-base) * 7);
|
|
526
526
|
cursor: pointer;
|
|
527
527
|
border-radius: var(--radius-sm);
|
|
528
528
|
}
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
|
|
556
556
|
.bc-lexical-toolbar-color-icon--highlight {
|
|
557
557
|
background-color: #ffff00;
|
|
558
|
-
padding: 0
|
|
558
|
+
padding: 0 var(--spacing-xs);
|
|
559
559
|
border-radius: 2px;
|
|
560
560
|
}
|
|
561
561
|
|
|
@@ -663,8 +663,8 @@
|
|
|
663
663
|
display: flex;
|
|
664
664
|
align-items: center;
|
|
665
665
|
justify-content: center;
|
|
666
|
-
width:
|
|
667
|
-
height:
|
|
666
|
+
width: var(--spacing-lgh);
|
|
667
|
+
height: var(--spacing-lgh);
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
.bc-slash-command-palette__content {
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
font-weight: 500;
|
|
677
677
|
font-size: var(--font-size-sm);
|
|
678
678
|
color: var(--color-neutral-900);
|
|
679
|
-
margin-bottom:
|
|
679
|
+
margin-bottom: var(--spacing-xs);
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
.dark .bc-slash-command-palette__label {
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
.bc-slash-command-palette__category {
|
|
695
695
|
font-size: var(--font-size-xs);
|
|
696
696
|
color: var(--color-neutral-500);
|
|
697
|
-
padding:
|
|
697
|
+
padding: var(--spacing-xs) var(--spacing-smh);
|
|
698
698
|
border-radius: var(--radius-sm);
|
|
699
699
|
background-color: var(--color-neutral-100);
|
|
700
700
|
flex-shrink: 0;
|
|
@@ -732,8 +732,8 @@
|
|
|
732
732
|
display: flex;
|
|
733
733
|
align-items: center;
|
|
734
734
|
justify-content: center;
|
|
735
|
-
width:
|
|
736
|
-
height:
|
|
735
|
+
width: var(--spacing-xl);
|
|
736
|
+
height: var(--spacing-xl);
|
|
737
737
|
border: var(--border-width-thin) solid var(--color-neutral-200);
|
|
738
738
|
border-radius: var(--radius-sm);
|
|
739
739
|
background-color: var(--color-white);
|
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
border-collapse: collapse;
|
|
776
776
|
border-spacing: 0;
|
|
777
777
|
width: 100%;
|
|
778
|
-
margin:
|
|
778
|
+
margin: var(--spacing-lg) 0;
|
|
779
779
|
overflow: hidden;
|
|
780
780
|
table-layout: fixed;
|
|
781
781
|
}
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
.bc-lexical-table-cell,
|
|
788
788
|
.bc-lexical-table-cell-header {
|
|
789
789
|
border: var(--border-width-thin) solid var(--color-neutral-200);
|
|
790
|
-
padding:
|
|
790
|
+
padding: var(--spacing-md) var(--spacing-mdh);
|
|
791
791
|
position: relative;
|
|
792
792
|
vertical-align: top;
|
|
793
793
|
min-width: 75px;
|
|
@@ -806,35 +806,45 @@
|
|
|
806
806
|
outline-offset: calc(-1 * var(--outline-width-focus));
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
/* Table
|
|
810
|
-
.bc-table-
|
|
811
|
-
|
|
812
|
-
flex-direction: column;
|
|
809
|
+
/* Table cell marker button (appears at top-right of selected cell) */
|
|
810
|
+
.bc-table-cell-marker {
|
|
811
|
+
pointer-events: auto;
|
|
813
812
|
}
|
|
814
813
|
|
|
815
|
-
.bc-table-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
814
|
+
.bc-table-cell-marker__button {
|
|
815
|
+
display: inline-flex;
|
|
816
|
+
align-items: center;
|
|
817
|
+
justify-content: center;
|
|
818
|
+
width: var(--spacing-lgh);
|
|
819
|
+
height: var(--spacing-lgh);
|
|
820
|
+
padding: 0;
|
|
821
|
+
border: var(--border-width-thin) solid var(--color-neutral-300);
|
|
822
|
+
border-radius: var(--radius-sm);
|
|
823
|
+
background-color: var(--color-surface);
|
|
824
|
+
color: var(--color-neutral-600);
|
|
825
|
+
cursor: pointer;
|
|
826
|
+
transition:
|
|
827
|
+
background-color 0.15s,
|
|
828
|
+
border-color 0.15s;
|
|
829
|
+
font-size: 0;
|
|
830
|
+
line-height: 1;
|
|
819
831
|
}
|
|
820
832
|
|
|
821
|
-
.bc-table-
|
|
833
|
+
.bc-table-cell-marker__button:hover:not(:disabled) {
|
|
822
834
|
background-color: var(--color-neutral-100);
|
|
835
|
+
border-color: var(--color-neutral-400);
|
|
836
|
+
color: var(--color-neutral-800);
|
|
823
837
|
}
|
|
824
838
|
|
|
825
|
-
.bc-table-
|
|
839
|
+
.bc-table-cell-marker__button:active:not(:disabled) {
|
|
826
840
|
background-color: var(--color-neutral-200);
|
|
827
841
|
}
|
|
828
842
|
|
|
829
|
-
.bc-table-
|
|
843
|
+
.bc-table-cell-marker__button:disabled {
|
|
830
844
|
opacity: 0.5;
|
|
831
845
|
cursor: not-allowed;
|
|
832
846
|
}
|
|
833
847
|
|
|
834
|
-
.bc-table-menu-separator {
|
|
835
|
-
/* Separator styling defined inline in component */
|
|
836
|
-
}
|
|
837
|
-
|
|
838
848
|
/* Dark mode styles */
|
|
839
849
|
.dark .bc-lexical-table-cell,
|
|
840
850
|
.dark .bc-lexical-table-cell-header {
|
|
@@ -854,30 +864,25 @@
|
|
|
854
864
|
outline-color: var(--color-primary-400);
|
|
855
865
|
}
|
|
856
866
|
|
|
857
|
-
.dark .bc-table-
|
|
867
|
+
.dark .bc-table-cell-marker__button {
|
|
868
|
+
border-color: var(--color-neutral-600);
|
|
858
869
|
background-color: var(--color-neutral-800);
|
|
859
|
-
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.dark .bc-table-menu-button {
|
|
863
|
-
color: var(--color-neutral-100);
|
|
870
|
+
color: var(--color-neutral-400);
|
|
864
871
|
}
|
|
865
872
|
|
|
866
|
-
.dark .bc-table-
|
|
873
|
+
.dark .bc-table-cell-marker__button:hover:not(:disabled) {
|
|
867
874
|
background-color: var(--color-neutral-700);
|
|
875
|
+
border-color: var(--color-neutral-500);
|
|
876
|
+
color: var(--color-neutral-200);
|
|
868
877
|
}
|
|
869
878
|
|
|
870
|
-
.dark .bc-table-
|
|
879
|
+
.dark .bc-table-cell-marker__button:active:not(:disabled) {
|
|
871
880
|
background-color: var(--color-neutral-600);
|
|
872
881
|
}
|
|
873
882
|
|
|
874
|
-
.dark .bc-table-menu-separator {
|
|
875
|
-
background-color: var(--color-neutral-700);
|
|
876
|
-
}
|
|
877
|
-
|
|
878
883
|
/* Accessibility */
|
|
879
884
|
@media (prefers-reduced-motion: reduce) {
|
|
880
|
-
.bc-table-
|
|
885
|
+
.bc-table-cell-marker__button {
|
|
881
886
|
transition: none;
|
|
882
887
|
}
|
|
883
888
|
}
|
|
@@ -900,8 +905,8 @@
|
|
|
900
905
|
/* Code block structure */
|
|
901
906
|
.bc-lexical-code-block {
|
|
902
907
|
position: relative;
|
|
903
|
-
margin:
|
|
904
|
-
padding:
|
|
908
|
+
margin: var(--spacing-lg) 0;
|
|
909
|
+
padding: var(--spacing-lg);
|
|
905
910
|
background-color: var(--color-neutral-50);
|
|
906
911
|
border: var(--border-width-thin) solid var(--color-neutral-200);
|
|
907
912
|
border-radius: var(--radius-md);
|
|
@@ -998,17 +1003,17 @@
|
|
|
998
1003
|
|
|
999
1004
|
/* Line numbers (optional) */
|
|
1000
1005
|
.bc-lexical-code-block--with-line-numbers {
|
|
1001
|
-
padding-left:
|
|
1006
|
+
padding-left: calc(var(--spacing-base) * 14);
|
|
1002
1007
|
}
|
|
1003
1008
|
|
|
1004
1009
|
.bc-lexical-code-block .line-number {
|
|
1005
1010
|
position: absolute;
|
|
1006
1011
|
left: 0;
|
|
1007
|
-
width:
|
|
1012
|
+
width: var(--spacing-3xl);
|
|
1008
1013
|
text-align: right;
|
|
1009
1014
|
color: var(--color-neutral-400);
|
|
1010
1015
|
user-select: none;
|
|
1011
|
-
padding-right:
|
|
1016
|
+
padding-right: var(--spacing-lg);
|
|
1012
1017
|
}
|
|
1013
1018
|
|
|
1014
1019
|
/* Dark mode styles */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("@tempots/dom"),S=require("./use-animated-toggle-DrqK7nUS.cjs"),$=require("./timer-BJHOsuS6.cjs"),D=require("./session-id-B5lJMzbB.cjs"),q=require("./translations-
|
|
1
|
+
"use strict";const n=require("@tempots/dom"),S=require("./use-animated-toggle-DrqK7nUS.cjs"),$=require("./timer-BJHOsuS6.cjs"),D=require("./session-id-B5lJMzbB.cjs"),q=require("./translations-Cy9hoMGV.cjs"),j=require("./use-form-DQVN_Zjb.cjs"),B=require("./input-container-DiYEl_y8.cjs"),W=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]',"audio[controls]","video[controls]","details > summary:first-of-type","details[open]"].join(", ");function _(u){return Array.from(u.querySelectorAll(W)).filter(e=>{const s=e;return s.offsetWidth>0&&s.offsetHeight>0&&!s.hasAttribute("inert")&&window.getComputedStyle(s).visibility!=="hidden"})}function V(u={}){const{active:e=!0,escapeDeactivates:s=!0,onEscape:t,initialFocus:a,returnFocus:i,clickOutsideDeactivates:c=!1,onClickOutside:d}=u;return n.WithElement(g=>{let h=e,f=null,l=[],b=null,p=null,m=null;typeof document<"u"&&(f=document.activeElement);const y=()=>{l=_(g)},C=r=>{if(h){if(s&&r.key==="Escape"){r.preventDefault(),t?.();return}if(r.key==="Tab"){if(y(),l.length===0){r.preventDefault();return}const o=l.indexOf(document.activeElement);r.shiftKey?o<=0&&(r.preventDefault(),l[l.length-1]?.focus()):o>=l.length-1&&(r.preventDefault(),l[0]?.focus())}}},v=r=>{if(!h||!c)return;const o=r.target;g.contains(o)||d?.()},x=()=>{if(!h)return;y();let r=null;typeof a=="function"?r=a():a?r=a:l.length>0&&(r=l[0]),r&&(p=setTimeout(()=>{p=null,r?.focus()},50)),document.addEventListener("keydown",C,!0),c&&document.addEventListener("click",v,!0)},w=()=>{h=!1,document.removeEventListener("keydown",C,!0),document.removeEventListener("click",v,!0);let r=null;typeof i=="function"?r=i():i?r=i:f&&(r=f),r&&document.body.contains(r)&&(m=setTimeout(()=>{m=null,r?.focus()},0))};return b=setTimeout(()=>{b=null,x()},0),n.OnDispose(()=>{b!=null&&clearTimeout(b),p!=null&&clearTimeout(p),m!=null&&clearTimeout(m),w()})})}function P(u={}){return{activate:()=>V({...u,active:!0}),deactivate:()=>V({...u,active:!1})}}function I(u){return{"~standard":{version:1,vendor:"beatui-custom",validate:s=>{const t=u.validate(s);return t.success?{value:t.data}:{issues:t.errors.map(a=>({message:a.message,path:a.path}))}},types:void 0},safeParse:s=>{const t=u.validate(s);return t.success?{success:!0,data:t.data}:{success:!1,error:{errors:t.errors.map(a=>({message:a.message,path:a.path?.map(i=>typeof i=="object"&&"key"in i?i.key.toString():i.toString())||[]}))}}}}}class k{optional(){return new U(this)}default(e){return new z(this,e)}schema(){return I(this)}}class E extends k{minLength;maxLength;pattern;customValidations=[];validate(e){if(typeof e!="string")return{success:!1,errors:[{message:"Expected string"}]};const s=[];this.minLength!==void 0&&e.length<this.minLength&&s.push({message:`Must be at least ${this.minLength} characters`}),this.maxLength!==void 0&&e.length>this.maxLength&&s.push({message:`Must be at most ${this.maxLength} characters`}),this.pattern&&!this.pattern.test(e)&&s.push({message:"Invalid format"});for(const t of this.customValidations){const a=t(e);a&&s.push({message:a})}return s.length>0?{success:!1,errors:s}:{success:!0,data:e}}min(e,s){const t=new E;return t.minLength=e,t.maxLength=this.maxLength,t.pattern=this.pattern,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>a.length<e?s:null),t}max(e,s){const t=new E;return t.minLength=this.minLength,t.maxLength=e,t.pattern=this.pattern,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>a.length>e?s:null),t}regex(e,s){const t=new E;return t.minLength=this.minLength,t.maxLength=this.maxLength,t.pattern=e,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>e.test(a)?null:s),t}email(e="Please enter a valid email address"){const s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,t=new E;return t.minLength=this.minLength,t.maxLength=this.maxLength,t.pattern=this.pattern,t.customValidations=[...this.customValidations,a=>s.test(a)?null:e],t}refine(e){const s=new E;return s.minLength=this.minLength,s.maxLength=this.maxLength,s.pattern=this.pattern,s.customValidations=[...this.customValidations,e],s}}class T extends k{mustBeTrue=!1;trueMessage;validate(e){return typeof e!="boolean"?{success:!1,errors:[{message:"Expected boolean"}]}:this.mustBeTrue&&e!==!0?{success:!1,errors:[{message:this.trueMessage||"Must be true"}]}:{success:!0,data:e}}refine(e,s){const t=new T;t.mustBeTrue=this.mustBeTrue,t.trueMessage=this.trueMessage;const a=t.validate.bind(t);return t.validate=i=>{const c=a(i);return c.success?e(c.data)?c:{success:!1,errors:[{message:s}]}:c},t}literal(e,s){const t=new T;return t.mustBeTrue=!0,t.trueMessage=s,t}}class U extends k{constructor(e){super(),this.inner=e}validate(e){if(e===void 0)return{success:!0,data:void 0};const s=this.inner.validate(e);return s.success?{success:!0,data:s.data}:{success:!1,errors:s.errors}}}class z extends k{constructor(e,s){super(),this.inner=e,this.defaultValue=s}validate(e){return e===void 0?{success:!0,data:this.defaultValue}:this.inner.validate(e)}}class F extends k{constructor(e){super(),this.shape=e}validate(e){if(typeof e!="object"||e===null||Array.isArray(e))return{success:!1,errors:[{message:"Expected object"}]};const s=e,t={},a=[];for(const[i,c]of Object.entries(this.shape)){const d=c.validate(s[i]);if(d.success)t[i]=d.data;else for(const g of d.errors)a.push({message:g.message,path:[i,...g.path||[]]})}return a.length>0?{success:!1,errors:a}:{success:!0,data:t}}refine(e,s){const t=new F(this.shape),a=t.validate.bind(t);return t.validate=i=>{const c=a(i);if(!c.success)return c;const d=e(c.data);return d?{success:!1,errors:[{message:d,path:s?.path}]}:{success:!0,data:c.data}},t}}const R=()=>new E,H=()=>new T,K=u=>new F(u);function O(u){return n.WithBrowserCtx(e=>{const s=[],t=()=>s.forEach(i=>i());return u(({effect:i="opaque",mode:c="capturing",onClickOutside:d,onEscape:g,content:h,container:f="body"})=>{f==="body"&&(e=e.makePortal("body"));const l=S.useAnimatedElementToggle();l.listenOnClosed(t);let b=()=>{},p=()=>{};const m=r=>{r.key==="Escape"&&(g?.(),l.close())},y=()=>{d?.(),l.close()},C=r=>{b(),p(),r==="capturing"?(document.addEventListener("keydown",m),b=()=>document.removeEventListener("keydown",m),e.element.addEventListener("mousedown",y),p=()=>e.element.removeEventListener("mousedown",y)):(b=()=>{},p=()=>{})},v=n.Value.on(c,C);s.push(v),s.push(()=>{l.dispose(),b(),p()});const x=()=>{const r=new Set;for(const o of e.element.querySelectorAll(":scope > :not([data-overlay])"))o.hasAttribute("inert")?r.add(o):o.setAttribute("inert","");return s.push(()=>{for(const o of e.element.querySelectorAll(":scope > :not([data-overlay])"))r.has(o)||o.removeAttribute("inert");r.clear()}),document.activeElement?.blur?.(),n.html.div(n.WithElement(o=>l.setElement(o)),n.dataAttr.status(l.status.map(String)),n.dataAttr.overlay("true"),n.attr.class(n.computedOf(i??"opaque",c)((o,L)=>`bc-overlay bc-overlay--effect-${o} bc-overlay--mode-${L}`)),h)},w=n.render(x(),e.element,{disposeWithParent:!0,clear:!1,providers:e.providers});s.push(w),$.g(()=>l.open())},t)})}function M(u,e){const{size:s="md",dismissable:t=!0,showCloseButton:a=!0,onClose:i,overlayEffect:c="opaque",container:d="body",position:g="center"}=u;return O((h,f)=>{let l=()=>{};return e(m=>{l=f;const y=n.prop("capturing");n.Value.on(t,o=>{y.set(o?"capturing":"non-capturing")});const C=n.computedOf(m.header!=null,a)((o,L)=>o||L),v=D.sessionId("modal"),x=`${v}-header`,w=`${v}-body`,r=n.html.div(n.attr.class(n.computedOf(s,g)((o,L)=>`bc-modal bc-modal--size-${o} bc-modal--container-${d} bc-modal--position-${L}`)),n.attr.role("dialog"),n.aria.modal(!0),...m.header?[n.aria.labelledby(x)]:[],n.aria.describedby(w),n.attr.tabindex(-1),n.attr.id(v),n.dataAttr.focusTrap("true"),n.on.mousedown(o=>o.stopPropagation()),V({escapeDeactivates:!1,initialFocus:()=>{const o=document.getElementById(v);if(!o)return null;const L=o.querySelector('[aria-label="Close modal"]');if(L)return L;const A=o.querySelector('button, input, select, textarea, [tabindex]:not([tabindex="-1"])');return A||o}}),n.html.div(n.attr.class("bc-modal__content"),n.When(C,()=>n.html.div(n.attr.class("bc-modal__header"),n.html.div(n.attr.class("bc-modal__title"),...m.header?[n.attr.id(x)]:[],m.header),n.When(a,()=>n.Use(q.BeatUII18n,o=>j.CloseButton({size:"sm",label:o.$.closeModal,onClick:()=>{l(),f()}}))))),n.html.div(n.attr.class("bc-modal__body"),n.attr.id(w),m.body),m.footer&&n.html.div(n.attr.class("bc-modal__footer"),m.footer)));h({mode:y,effect:c??"opaque",container:d,content:r,onClickOutside:()=>{i?.(),f()},onEscape:()=>{i?.(),f()}})},()=>{l(),f()})})}function G(u,e){const{confirmText:s,cancelText:t,onConfirm:a,onCancel:i,...c}=u;return n.Use(q.BeatUII18n,d=>M({showCloseButton:!1,...c},(g,h)=>{const f=()=>{a?.(),h()},l=()=>{i?.(),h()};return e(p=>{g({body:p,footer:n.Fragment(n.attr.class("bc-modal__actions"),B.Button({variant:"outline",onClick:l},n.coalesce(t,d.$.cancel)),B.Button({color:"primary",variant:"filled",onClick:f},n.coalesce(s,d.$.confirm)))})},h)}))}exports.BooleanValidator=T;exports.ConfirmModal=G;exports.FocusTrap=V;exports.Modal=M;exports.ObjectValidator=F;exports.Overlay=O;exports.StringValidator=E;exports.boolean=H;exports.createStandardSchema=I;exports.object=K;exports.string=R;exports.useFocusTrap=P;
|
|
@@ -2,9 +2,9 @@ import { WithElement as q, OnDispose as W, WithBrowserCtx as z, Value as j, rend
|
|
|
2
2
|
import { u as G } from "./use-animated-toggle-C7PTmnZi.js";
|
|
3
3
|
import { g as J } from "./timer-Rd2sKnvH.js";
|
|
4
4
|
import { s as N } from "./session-id-3KiilioY.js";
|
|
5
|
-
import { B as P } from "./translations-
|
|
6
|
-
import { C as Q } from "./use-form-
|
|
7
|
-
import { B as D } from "./input-container-
|
|
5
|
+
import { B as P } from "./translations-CiBhB2FV.js";
|
|
6
|
+
import { C as Q } from "./use-form-Cd8YFWaN.js";
|
|
7
|
+
import { B as D } from "./input-container-9r1F3KuX.js";
|
|
8
8
|
const X = [
|
|
9
9
|
"a[href]",
|
|
10
10
|
"button:not([disabled])",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-Cy9hoMGV.cjs"),i={loadingExtended:"Laden, even geduld",loadingShort:"Laden...",locale:"Landinstelling",iconDescription:"Pictogram",loadingIcon:"Laadpictogram",failedToLoadIcon:"Pictogram laden mislukt",editLabel:"Bewerken",selectOne:"Selecteer een",selectNone:"Geen",selectMany:"Selecteer meerdere",noResults:"Geen resultaten",passwordPlaceholderText:"Geheim wachtwoord",togglePasswordVisibility:"Wachtwoord zichtbaarheid wisselen",toggleMenu:"Menu wisselen",toggleAside:"Zijpaneel wisselen",mainNavigation:"Hoofdnavigatie",sidebar:"Zijbalk",closeDrawer:"Lade sluiten",closeModal:"Modaal sluiten",confirm:"Bevestigen",cancel:"Annuleren",addLabel:"Toevoegen",removeItem:"Item verwijderen",currentLocale:"Nederlands",ar:"Arabisch",de:"Duits",en:"Engels",es:"Spaans",fr:"Frans",hi:"Hindi",it:"Italiaans",ja:"Japans",ko:"Koreaans",nl:"Nederlands",pl:"Pools",pt:"Portugees",ru:"Russisch",tr:"Turks",vi:"Vietnamees",zh:"Chinees",he:"Hebreeuws",fa:"Perzisch",ur:"Urdu",emailPlaceholderText:"Voer je e-mail in",incrementValue:"Waarde verhogen",decrementValue:"Waarde verlagen",dropZoneInstructions:e=>e?"Klik om te kiezen of sleep bestanden hierheen, of druk op Enter of Spatie om bestandskiezer te openen":"Sleep bestanden hierheen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Bestand verwijderen",clearAllFiles:"Alle bestanden wissen",clearValue:"Waarde wissen",unknownType:"Onbekend type",filesInputInstructions:(e,n,o)=>{let a=e==null||e>1?"Klik om te kiezen of sleep bestanden hierheen":"Klik om te kiezen of sleep een bestand hierheen";if(e||n){const t=[];if(e!=null&&e>1&&t.push(`tot ${e} bestanden`),n&&o){const l=r.formatFileSize(n,{units:o});t.push(`max ${l} elk`)}t.length>0&&(a+=` (${t.join(", ")})`)}return a},paginationLabel:"Paginering",firstPage:"Eerste pagina",previousPage:"Vorige pagina",nextPage:"Volgende pagina",lastPage:"Laatste pagina",breadcrumbs:"Kruimelpad",commandPalette:"Opdrachtenpalet",typeACommand:"Typ een opdracht...",noResultsFound:"Geen resultaten gevonden",noMatchingCommands:"Geen overeenkomende opdrachten",appearanceSystem:"Systeem",appearanceLight:"Licht",appearanceDark:"Donker",ok:"OK",changeTypeConfirmation:"Het wijzigen van het type wist de huidige waarde. Doorgaan?",notifications:"Meldingen",markAllAsRead:"Alles als gelezen markeren",noNotifications:"Geen meldingen",schemaConflictsDetected:"Schemaconflicten gedetecteerd",schemaViolationsDetected:"Schemaschendingen gedetecteerd",properties:"Eigenschappen",uploading:"Uploaden...",dropFilesOrBrowse:"Sleep bestanden hierheen of klik om te bladeren",acceptedTypes:e=>`Toegestane typen: ${e}`,enterUrlPrompt:"Voer URL in:",exceeded:"(overschreden)",pdfPreview:"PDF-voorbeeld",lexical:{fontFamily:"Lettertype",fontSize:"Lettergrootte",fontColor:"Letterkleur",highlightColor:"Markeringskleur",backgroundColor:"Achtergrondkleur",bold:"Vet",italic:"Cursief",underline:"Onderstrepen",strikethrough:"Doorhalen",code:"Code",clearFormatting:"Opmaak wissen",normal:"Normaal",heading:e=>`Kop ${e}`,bulletList:"Opsommingstekens",orderedList:"Genummerde lijst",checkList:"Controlelijst",indent:"Inspringen",outdent:"Uitspringen",blockquote:"Citaat",codeBlock:"Codeblok",horizontalRule:"Horizontale lijn",insertTable:"Tabel invoegen",link:"Link",undo:"Ongedaan maken",redo:"Opnieuw",cut:"Knippen",copy:"Kopiëren",paste:"Plakken",defaultOption:"Standaard",slashCommands:"Schuine-streepopdrachten",noCommandsFound:"Geen opdrachten gevonden",changeBlockType:"Bloktype wijzigen",blockTypes:"Bloktypen",enterUrl:"Voer URL in:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"PDF laden...",loadFailed:"PDF laden mislukt",invalidPdf:"Ongeldig PDF-bestand",pageOutOfRange:(e,n)=>`Pagina ${e} valt buiten bereik (1-${n})`,renderFailed:"PDF-pagina weergeven mislukt"}};exports.default=i;exports.nl=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as
|
|
2
|
-
const
|
|
1
|
+
import { f as l } from "./translations-CiBhB2FV.js";
|
|
2
|
+
const s = {
|
|
3
3
|
loadingExtended: "Laden, even geduld",
|
|
4
4
|
loadingShort: "Laden...",
|
|
5
5
|
locale: "Landinstelling",
|
|
@@ -58,19 +58,19 @@ const d = {
|
|
|
58
58
|
// inputs reset
|
|
59
59
|
clearValue: "Waarde wissen",
|
|
60
60
|
unknownType: "Onbekend type",
|
|
61
|
-
filesInputInstructions: (e, n,
|
|
62
|
-
let
|
|
61
|
+
filesInputInstructions: (e, n, o) => {
|
|
62
|
+
let a = e == null || e > 1 ? "Klik om te kiezen of sleep bestanden hierheen" : "Klik om te kiezen of sleep een bestand hierheen";
|
|
63
63
|
if (e || n) {
|
|
64
|
-
const
|
|
65
|
-
if (e != null && e > 1 &&
|
|
66
|
-
const i =
|
|
67
|
-
units:
|
|
64
|
+
const t = [];
|
|
65
|
+
if (e != null && e > 1 && t.push(`tot ${e} bestanden`), n && o) {
|
|
66
|
+
const i = l(n, {
|
|
67
|
+
units: o
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
t.push(`max ${i} elk`);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
t.length > 0 && (a += ` (${t.join(", ")})`);
|
|
72
72
|
}
|
|
73
|
-
return
|
|
73
|
+
return a;
|
|
74
74
|
},
|
|
75
75
|
// Pagination
|
|
76
76
|
paginationLabel: "Paginering",
|
|
@@ -144,7 +144,15 @@ const d = {
|
|
|
144
144
|
noCommandsFound: "Geen opdrachten gevonden",
|
|
145
145
|
changeBlockType: "Bloktype wijzigen",
|
|
146
146
|
blockTypes: "Bloktypen",
|
|
147
|
-
enterUrl: "Voer URL in:"
|
|
147
|
+
enterUrl: "Voer URL in:",
|
|
148
|
+
tableActions: "Table actions",
|
|
149
|
+
insertRowAbove: "Insert row above",
|
|
150
|
+
insertRowBelow: "Insert row below",
|
|
151
|
+
insertColumnLeft: "Insert column left",
|
|
152
|
+
insertColumnRight: "Insert column right",
|
|
153
|
+
deleteRow: "Delete row",
|
|
154
|
+
deleteColumn: "Delete column",
|
|
155
|
+
deleteTable: "Delete table"
|
|
148
156
|
},
|
|
149
157
|
// prosemirror
|
|
150
158
|
prosemirror: {
|
|
@@ -171,6 +179,6 @@ const d = {
|
|
|
171
179
|
}
|
|
172
180
|
};
|
|
173
181
|
export {
|
|
174
|
-
|
|
175
|
-
|
|
182
|
+
s as default,
|
|
183
|
+
s as nl
|
|
176
184
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const v=require("./text-input-
|
|
1
|
+
"use strict";const v=require("./text-input-DUnhBUd6.cjs"),t=require("@tempots/dom"),V=require("./input-container-DiYEl_y8.cjs"),f=require("./translations-Cy9hoMGV.cjs"),_=require("./use-form-DQVN_Zjb.cjs"),O=n=>{const r={name:"email",autocomplete:"email",...n},{value:s,before:l,onBlur:o,onChange:p,onInput:c,placeholder:h}=r,m=l??V.InputIcon({icon:"line-md:email",size:n.size,color:"neutral"});return t.Use(f.BeatUII18n,d=>V.InputContainer({...n,before:m,input:t.input.email(v.CommonInputAttributes(r),t.attr.placeholder(t.coalesce(h,d.$.emailPlaceholderText)),t.attr.value(s),t.attr.class("bc-input"),o!=null?t.on.blur(t.emitValue(o)):t.Empty,p!=null?t.on.change(t.emitValue(p)):t.Empty,c!=null?t.on.input(t.emitValue(c)):t.Empty)}))},B=n=>{const{value:r,onBlur:s,onChange:l,onInput:o,before:p,after:c,hasError:h,disabled:m,autocomplete:d,placeholder:g,...b}=n,y={name:"password",disabled:m,...b},i=t.prop(!0),a=t.computedOf(i,d)((e,u)=>e?u??"current-password":"off");return t.Use(f.BeatUII18n,e=>{const u=t.computedOf(e.$.passwordPlaceholderText,i,g)((I,C,E)=>C?"•••••••••••••••":E??I),w=t.html.button(t.attr.type("button"),t.attr.class("bc-input-container__password-toggle"),t.aria.label(e.$.togglePasswordVisibility),t.on.click(()=>i.update(I=>!I)),t.When(i,()=>f.Icon({icon:"line-md:watch"}),()=>f.Icon({icon:"line-md:watch-off"})));return V.InputContainer({before:p,disabled:m,hasError:h,input:t.html.input(v.CommonInputAttributes({...y,autocomplete:a,placeholder:u}),t.When(i,()=>t.attr.type("password"),()=>t.attr.type("text")),t.attr.class("bc-input"),t.attr.value(r),s!=null?t.on.blur(t.emitValue(s)):t.Empty,l!=null?t.on.change(t.emitValue(l)):t.Empty,o!=null?t.on.input(t.emitValue(o)):t.Empty),after:c!=null?t.Fragment(w,c):w})})};function U(n){switch(n){case"success":return"material-symbols:check-circle-outline";case"warning":return"material-symbols:warning-outline";case"danger":return"material-symbols:error-outline";default:return"material-symbols:info-outline"}}function P(n){switch(n){case"success":return"success";case"warning":return"warning";case"danger":return"danger";default:return"info"}}function T(n,r,s,l){const o=["bc-notice",`bc-notice--${n}`,`bc-notice--tone-${r}`];return s&&o.push("bc-notice--dismissible"),l&&l.length>0&&o.push(l),o.join(" ")}function $({variant:n="info",tone:r="subtle",role:s,title:l,icon:o,closable:p=!1,onDismiss:c,class:h},...m){const d=t.prop(!0);return t.When(d,()=>{const g=t.Value.map(p,a=>!!a||c!=null),b=t.Value.map(n,a=>a??"info"),y=t.Value.map(r,a=>a??"subtle"),i=t.computedOf(s,b)((a,e)=>a??(e==="danger"?"alert":"status"));return t.Use(f.BeatUII18n,a=>t.html.div(t.attr.class(t.computedOf(b,y,g,h)((e,u,w,I)=>T(e,u,w,I))),t.attr.role(t.Value.map(i,e=>e)),t.Unless(t.Value.map(o,e=>e===!1),()=>t.html.div(t.attr.class("bc-notice__icon"),f.Icon({icon:t.computedOf(o,b)((e,u)=>e===void 0?U(u):String(e)),size:"md",color:t.Value.map(b,P)}))),t.html.div(t.attr.class("bc-notice__body"),t.Ensure(l,e=>t.html.div(t.attr.class("bc-notice__title"),e)),t.html.div(t.attr.class("bc-notice__content"),...m)),t.When(g,()=>_.CloseButton({size:"xs",label:a.$.closeModal,onClick:()=>{d.set(!1),c?.()}}))))})}exports.EmailInput=O;exports.Notice=$;exports.PasswordInput=B;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as x } from "./text-input-
|
|
1
|
+
import { C as x } from "./text-input-BgPx8BbG.js";
|
|
2
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-
|
|
4
|
-
import { B as V, I as $ } from "./translations-
|
|
5
|
-
import { C as W } from "./use-form-
|
|
3
|
+
import { a as S, I as O } from "./input-container-9r1F3KuX.js";
|
|
4
|
+
import { B as V, I as $ } from "./translations-CiBhB2FV.js";
|
|
5
|
+
import { C as W } from "./use-form-Cd8YFWaN.js";
|
|
6
6
|
const X = (n) => {
|
|
7
7
|
const l = {
|
|
8
8
|
name: "email",
|