@realmorg/ui 2.0.0-alpha.2 → 2.0.0-alpha.3
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/components/accordion.html +18 -0
- package/components/alert-dialog.html +40 -0
- package/components/alert.html +14 -0
- package/components/aspect-ratio.html +6 -0
- package/components/attachment.html +14 -0
- package/components/avatar.html +22 -0
- package/components/badge.html +6 -0
- package/components/breadcrumb.html +30 -0
- package/components/bubble.html +10 -0
- package/components/button-group.html +14 -0
- package/components/button.html +6 -0
- package/components/calendar.html +6 -0
- package/components/card.html +30 -0
- package/components/carousel.html +22 -0
- package/components/chart.html +6 -0
- package/components/checkbox.html +6 -0
- package/components/code-block.html +6 -0
- package/components/collapsible.html +14 -0
- package/components/combobox.html +13 -0
- package/components/command.html +12 -0
- package/components/context-menu.html +14 -0
- package/components/dialog.html +49 -3
- package/components/direction.html +6 -0
- package/components/drawer.html +46 -3
- package/components/dropdown-menu.html +49 -0
- package/components/empty.html +26 -0
- package/components/field.html +26 -0
- package/components/hover-card.html +17 -0
- package/components/input-group.html +16 -0
- package/components/input-otp.html +12 -0
- package/components/input.html +12 -0
- package/components/item.html +38 -0
- package/components/kbd.html +10 -0
- package/components/label.html +6 -0
- package/components/marker.html +6 -0
- package/components/menubar.html +21 -0
- package/components/message-scroller.html +6 -0
- package/components/message.html +18 -0
- package/components/navigation-menu.html +29 -0
- package/components/pagination.html +6 -0
- package/components/popover.html +31 -0
- package/components/progress.html +6 -0
- package/components/radio-group.html +6 -0
- package/components/resizable.html +14 -0
- package/components/scroll-area.html +6 -0
- package/components/select.html +12 -0
- package/components/separator.html +6 -0
- package/components/sheet.html +30 -0
- package/components/sidebar.html +52 -2
- package/components/skeleton.html +6 -0
- package/components/slider.html +28 -1
- package/components/spinner.html +6 -0
- package/components/switch.html +6 -0
- package/components/table.html +6 -0
- package/components/tabs.html +18 -0
- package/components/textarea.html +12 -0
- package/components/toaster.html +6 -0
- package/components/toggle-group.html +6 -0
- package/components/toggle.html +6 -0
- package/components/tooltip.html +17 -0
- package/dist/theme.css +13 -0
- package/dist/ui.html +988 -9
- package/package.json +3 -3
- package/theme.css +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realmorg/ui",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "About 60 accessible UI components built with REALM.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"playwright": "1.64.1",
|
|
25
25
|
"vite": "8.3.4",
|
|
26
26
|
"vitest": "5.0.5",
|
|
27
|
-
"@realmorg/realm": "2.0.0-alpha.
|
|
27
|
+
"@realmorg/realm": "2.0.0-alpha.3",
|
|
28
28
|
"tsconfig": "0.0.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@realmorg/realm": "^2.0.0-alpha.
|
|
34
|
+
"@realmorg/realm": "^2.0.0-alpha.3"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "node scripts/bundle.mjs",
|
package/theme.css
CHANGED
|
@@ -138,6 +138,19 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
/* Taps respond at once and a double tap does not zoom. Pinch zoom still works. */
|
|
142
|
+
html {
|
|
143
|
+
touch-action: manipulation;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* iOS Safari only sends clicks for taps on clickable elements, so tapping outside an open popover
|
|
147
|
+
or menu would not close it. Touch screens show no cursor, so this changes nothing visible. */
|
|
148
|
+
@media (pointer: coarse) {
|
|
149
|
+
html {
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
141
154
|
body {
|
|
142
155
|
background: var(--background);
|
|
143
156
|
color: var(--foreground);
|