@synopackageland/ui 0.25.17 → 0.25.19
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/CHANGELOG.md +28 -0
- package/dist/components/containers/card-grid/cardGrid.d.ts +9 -0
- package/dist/components/primitives/tooltip/tooltipStyle.d.ts +1 -1
- package/dist/grid-core/config.d.ts +1 -0
- package/dist/grid-core/renderer/layout.d.ts +5 -0
- package/dist/grid.js +656 -649
- package/dist/index.js +3979 -3943
- package/dist/json-preview/preview.js +3397 -3368
- package/dist/reka-runtime.json +5 -3
- package/dist/rich-text.js +8 -8
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/button-policy.md +17 -0
- package/package.json +99 -1
package/dist/reka-runtime.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "reka-ui",
|
|
3
3
|
"version": "2.11.0",
|
|
4
4
|
"delivery": "bundled-patched-esm",
|
|
5
|
-
"patchManifestSha256": "
|
|
6
|
-
"bundleSha256": "
|
|
5
|
+
"patchManifestSha256": "254a74449fede8e26aa864e795730dad7fdf41447853995f72f401cf9eba4e77",
|
|
6
|
+
"bundleSha256": "36ed6ae51061b6ce7bd7074f74ac406cba8cf01e91b0d8f9e7ed8f4c4b2b0a71",
|
|
7
7
|
"sourceHashes": {
|
|
8
8
|
"shared/useBodyScrollLock.js": "287bfb604318c4202769e4b5191896eaf0e52a952e1de898967cbe09467fcfda",
|
|
9
9
|
"DismissableLayer/DismissableLayer.js": "3c8d248f0a32e01f89ca1f6202b1bb691bf5d0e4012a92535e161c35e69cdc32",
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"Menu/MenuSubContent.js": "268f7f44e4f4e50307a2303dedee17d270dfeaf893e787ee682f6248754004b6",
|
|
24
24
|
"shared/bodyPointerEvents.js": "806fb365e555b66721986bb3868c5bdfeb5a71dc2f9673896847126075027126",
|
|
25
25
|
"Drawer/DrawerContentImpl.js": "1667f2133672ccb0a33360568c31fcfbb7bbe07aa77414b40e896c88eca2312d",
|
|
26
|
-
"composables/useSwipeDismiss.js": "b8721b4f6444be46f9aa1542b0ad0f6025b7ccc7de98a6ae7f86e194d8166524"
|
|
26
|
+
"composables/useSwipeDismiss.js": "b8721b4f6444be46f9aa1542b0ad0f6025b7ccc7de98a6ae7f86e194d8166524",
|
|
27
|
+
"composables/useDrawerSnapPoints.js": "d894c3f4b0194ed300837d8ccc19ceebcb84179f48b2cd3bbac628b62544b7a0",
|
|
28
|
+
"Presence/usePresence.js": "776d1cd59297eb62fc5d4cdf820279480d38c8b61feb066f61f6be2c5b0a428d"
|
|
27
29
|
}
|
|
28
30
|
}
|
package/dist/rich-text.js
CHANGED
|
@@ -305,7 +305,7 @@ function Ce(a, o) {
|
|
|
305
305
|
}
|
|
306
306
|
const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label", "title", "aria-pressed", "disabled", "data-ui-rich-tool", "onClick"], za = ["aria-label", "title", "disabled"], Ea = {
|
|
307
307
|
key: 1,
|
|
308
|
-
class: "flex items-center gap-
|
|
308
|
+
class: "flex items-center gap-2 border-b border-[var(--ui-border-subtle)] px-2 py-1",
|
|
309
309
|
"data-ui-rich-link-row": ""
|
|
310
310
|
}, Ba = ["aria-label"], Ta = ["aria-label", "title", "aria-pressed", "onClick"], Ia = ["aria-label"], Ra = ["data-ui-rich-attachment"], Ha = ["src", "alt"], qa = {
|
|
311
311
|
key: 0,
|
|
@@ -315,7 +315,7 @@ const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label
|
|
|
315
315
|
class: "absolute inset-0 flex items-center justify-center"
|
|
316
316
|
}, Na = ["aria-label", "onClick"], Ua = {
|
|
317
317
|
key: 4,
|
|
318
|
-
class: "flex items-center gap-
|
|
318
|
+
class: "flex items-center gap-2 border-t border-[var(--ui-border-subtle)] px-2 py-1",
|
|
319
319
|
"data-ui-rich-link-row": ""
|
|
320
320
|
}, Va = ["aria-label"], Da = ["aria-label", "title", "aria-pressed", "disabled", "data-ui-rich-tool", "onClick"], Oa = {
|
|
321
321
|
key: 6,
|
|
@@ -641,8 +641,8 @@ const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label
|
|
|
641
641
|
"min-w-0 text-[length:var(--ui-font-size)] leading-5 text-[var(--ui-text)] [overflow-wrap:anywhere]",
|
|
642
642
|
"[&_.ProseMirror]:outline-none [&_.ProseMirror]:whitespace-pre-wrap [&_.ProseMirror_p]:m-0 [&_.ProseMirror>:where(:not(:first-child))]:mt-2",
|
|
643
643
|
"[&_.ProseMirror_h2]:m-0 [&_.ProseMirror_h2]:text-[1.25em] [&_.ProseMirror_h2]:font-semibold [&_.ProseMirror_h3]:m-0 [&_.ProseMirror_h3]:text-[1.1em] [&_.ProseMirror_h3]:font-semibold",
|
|
644
|
-
"[&_.ProseMirror_ul]:m-0 [&_.ProseMirror_ul]:list-disc [&_.ProseMirror_ul]:ps-
|
|
645
|
-
"[&_.ProseMirror_blockquote]:m-0 [&_.ProseMirror_blockquote]:border-s-
|
|
644
|
+
"[&_.ProseMirror_ul]:m-0 [&_.ProseMirror_ul]:list-disc [&_.ProseMirror_ul]:ps-6 [&_.ProseMirror_ol]:m-0 [&_.ProseMirror_ol]:list-decimal [&_.ProseMirror_ol]:ps-6",
|
|
645
|
+
"[&_.ProseMirror_blockquote]:m-0 [&_.ProseMirror_blockquote]:border-s-2 [&_.ProseMirror_blockquote]:border-[var(--ui-border-strong)] [&_.ProseMirror_blockquote]:ps-3 [&_.ProseMirror_blockquote]:text-[var(--ui-text-secondary)]",
|
|
646
646
|
"[&_.ProseMirror_pre]:m-0 [&_.ProseMirror_pre]:rounded-[var(--ui-radius-container)] [&_.ProseMirror_pre]:bg-[var(--ui-surface-subtle)] [&_.ProseMirror_pre]:px-3 [&_.ProseMirror_pre]:py-2 [&_.ProseMirror_pre]:font-[family-name:var(--ui-font-mono)] [&_.ProseMirror_pre]:text-[0.92em]",
|
|
647
647
|
"[&_.ProseMirror_:not(pre)>code]:rounded-[var(--ui-radius-inner)] [&_.ProseMirror_:not(pre)>code]:bg-[var(--ui-surface-subtle)] [&_.ProseMirror_:not(pre)>code]:px-1 [&_.ProseMirror_:not(pre)>code]:font-[family-name:var(--ui-font-mono)] [&_.ProseMirror_:not(pre)>code]:text-[0.92em]",
|
|
648
648
|
"[&_.ProseMirror_a]:text-[var(--ui-primary)] [&_.ProseMirror_a]:underline [&_.ProseMirror_a]:underline-offset-2",
|
|
@@ -777,7 +777,7 @@ const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label
|
|
|
777
777
|
])) : C("", !0),
|
|
778
778
|
_(l(Ft), {
|
|
779
779
|
editor: l(g),
|
|
780
|
-
class: E([St, s.value ? "max-h-[calc(8lh+16px)] overflow-y-auto px-2
|
|
780
|
+
class: E([St, s.value ? "max-h-[calc(8lh+16px)] overflow-y-auto px-2 py-2" : "min-h-32 px-3 py-2"])
|
|
781
781
|
}, null, 8, ["editor", "class"]),
|
|
782
782
|
_(l(oa), {
|
|
783
783
|
id: l(pe),
|
|
@@ -828,7 +828,7 @@ const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label
|
|
|
828
828
|
}, 8, ["editor"])) : C("", !0),
|
|
829
829
|
s.value && c.value.length ? (p(), y("ul", {
|
|
830
830
|
key: 3,
|
|
831
|
-
class: "m-0 flex list-none flex-wrap gap-2 px-2
|
|
831
|
+
class: "m-0 flex list-none flex-wrap gap-2 px-2 pb-2 pt-0.5 [&>:last-child>button]:after:-end-1",
|
|
832
832
|
"aria-label": l(n)("Images"),
|
|
833
833
|
"data-ui-rich-attachments": ""
|
|
834
834
|
}, [
|
|
@@ -875,7 +875,7 @@ const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label
|
|
|
875
875
|
], 4),
|
|
876
876
|
B("button", {
|
|
877
877
|
type: "button",
|
|
878
|
-
class: "absolute -end-
|
|
878
|
+
class: "absolute -end-2 -top-2 flex size-5 items-center justify-center rounded-full border border-[var(--ui-surface)] bg-[var(--ui-text-secondary)] p-0 text-[var(--ui-surface)] outline-none hover:bg-[var(--ui-text)] focus-visible:shadow-[var(--ui-shadow-focus)] after:absolute after:-inset-3 [@media(pointer:fine)]:after:hidden",
|
|
879
879
|
"aria-label": l(n)("Remove {name}", { name: r.name }),
|
|
880
880
|
"data-ui-rich-attachment-remove": "",
|
|
881
881
|
onClick: (d) => pt(r)
|
|
@@ -1066,7 +1066,7 @@ const La = ["data-variant", "data-over"], Sa = ["aria-label"], Aa = ["aria-label
|
|
|
1066
1066
|
B("div", Ja, [
|
|
1067
1067
|
(p(!0), y(Q, null, Z(w.value, (r) => (p(), y("p", {
|
|
1068
1068
|
key: r,
|
|
1069
|
-
class: "m-0 border-t border-[var(--ui-border-subtle)] px-3 py-
|
|
1069
|
+
class: "m-0 border-t border-[var(--ui-border-subtle)] px-3 py-2 text-[length:var(--ui-font-size-sm)] text-[var(--ui-danger-text)]"
|
|
1070
1070
|
}, ee(r), 1))), 128))
|
|
1071
1071
|
])
|
|
1072
1072
|
], 16, La));
|