@sdxc/ui 2026.10.14 → 2026.10.16
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 -1
- package/dist/components/typeset.js +7 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -121,6 +121,7 @@ A page that sticks to baseline behavior ships no library JavaScript at all.
|
|
|
121
121
|
| Import | Contains |
|
|
122
122
|
| --------------------- | ------------------------------------------------------------------- |
|
|
123
123
|
| `@sdxc/ui` | Every component and its compound parts. |
|
|
124
|
+
| `@sdxc/ui/<name>` | One component, by its file name: `@sdxc/ui/youtube-embed`. |
|
|
124
125
|
| `@sdxc/ui/mixins` | Opt-in DOM behaviors applied through `mix`. |
|
|
125
126
|
| `@sdxc/ui/behaviors` | Headless state classes built on `TypedEventTarget`. |
|
|
126
127
|
| `@sdxc/ui/animations` | CSS-only motion factories and the `durations`/`easings` tokens. |
|
|
@@ -362,7 +363,7 @@ Recipes for a `mix` array: `floatingSurface()`, `surfaceInset()`, `hitArea()`, `
|
|
|
362
363
|
`"?"`); `mod` is Command on Apple keyboards and Control elsewhere.
|
|
363
364
|
- **Fields** — `resolveFieldWiring(id, options)`, `findPairedRangeInputs`.
|
|
364
365
|
- **DOM** — `asCommandEvent`, `dispatchChange`, `isNewPrimaryPress`, `isPrintableKey`, `focusItem`,
|
|
365
|
-
`queryItems`, `setRovingTabindex`, `labelFor`, `hasAccessibleText`, `mergeStyle`, `prefersReducedMotion`, `writeCookie(name, value, maxAgeSeconds?)`,
|
|
366
|
+
`queryItems`, `setRovingTabindex`, `labelFor`, `hasAccessibleText`, `glyphEdges`, `mergeStyle`, `prefersReducedMotion`, `writeCookie(name, value, maxAgeSeconds?)`,
|
|
366
367
|
`DISABLED_SELECTOR`, `DEFAULT_ICON_ARIA_HIDDEN`, `ONE_YEAR_SECONDS`.
|
|
367
368
|
- **Accessibility checks** — `warnIfNoAccessibleName(props, children, message)` and
|
|
368
369
|
`warnIfNoAccessibleLabel(props, message)`, development-only warnings.
|
|
@@ -4,7 +4,7 @@ import { bg, border, borderEdge, fg, outline } from "@sdxc/u/color";
|
|
|
4
4
|
import { rounded } from "@sdxc/u/effects";
|
|
5
5
|
import { raw } from "@sdxc/u/general";
|
|
6
6
|
import { block, container } from "@sdxc/u/layout";
|
|
7
|
-
import { overflow } from "@sdxc/u/overflow";
|
|
7
|
+
import { overflow, overflowBlock, overflowInline } from "@sdxc/u/overflow";
|
|
8
8
|
import { at } from "@sdxc/u/responsive";
|
|
9
9
|
import { is, maxIs, pb, pi, pis } from "@sdxc/u/size";
|
|
10
10
|
import { when } from "@sdxc/u/state";
|
|
@@ -251,7 +251,12 @@ export function Typeset(handle) {
|
|
|
251
251
|
fg("neutral.emphasis"),
|
|
252
252
|
pi("1em"),
|
|
253
253
|
pb("0.875em"),
|
|
254
|
-
|
|
254
|
+
overflowInline("auto"),
|
|
255
|
+
overflowBlock("hidden"),
|
|
256
|
+
raw({
|
|
257
|
+
overscrollBehaviorInline: "contain",
|
|
258
|
+
overscrollBehaviorX: "contain",
|
|
259
|
+
}),
|
|
255
260
|
]),
|
|
256
261
|
/**
|
|
257
262
|
* A fenced block's `code` is an inline box, so the chip padding above would
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./dispatch-change.js";
|
|
|
18
18
|
export * from "./field-parts.js";
|
|
19
19
|
export * from "./full-turn-radians.js";
|
|
20
20
|
export * from "./geometry.js";
|
|
21
|
+
export * from "./glyph-edges.js";
|
|
21
22
|
export * from "./has-accessible-text.js";
|
|
22
23
|
export * from "./hue-spectrum.js";
|
|
23
24
|
export * from "./is-new-primary-press.js";
|
package/dist/utils/index.js
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./dispatch-change.js";
|
|
|
18
18
|
export * from "./field-parts.js";
|
|
19
19
|
export * from "./full-turn-radians.js";
|
|
20
20
|
export * from "./geometry.js";
|
|
21
|
+
export * from "./glyph-edges.js";
|
|
21
22
|
export * from "./has-accessible-text.js";
|
|
22
23
|
export * from "./hue-spectrum.js";
|
|
23
24
|
export * from "./is-new-primary-press.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdxc/ui",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.16",
|
|
4
4
|
"description": "Styled, accessible remix/component components rendered as server HTML",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -13,16 +13,19 @@
|
|
|
13
13
|
"./styles": "./dist/styles/index.js",
|
|
14
14
|
"./utils": "./dist/utils/index.js",
|
|
15
15
|
"./reset.css": "./src/reset.css",
|
|
16
|
-
"./theme.css": "./src/theme.css"
|
|
16
|
+
"./theme.css": "./src/theme.css",
|
|
17
|
+
"./*": "./dist/components/*.js"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@remix-run/ui": "0.12.1",
|
|
20
|
-
"@sdxc/icons": "2026.10.
|
|
21
|
-
"@sdxc/u": "2026.10.
|
|
22
|
-
"@sdxc/uuid": "2026.10.13"
|
|
21
|
+
"@sdxc/icons": "2026.10.16",
|
|
22
|
+
"@sdxc/u": "2026.10.16",
|
|
23
|
+
"@sdxc/uuid": "2026.10.13"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
23
26
|
"remix": "3.0.0"
|
|
24
27
|
},
|
|
25
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "1e547d8431568f5ed9bdb079ca3046c936240fde",
|
|
26
29
|
"publishConfig": {
|
|
27
30
|
"access": "public"
|
|
28
31
|
},
|
|
@@ -31,7 +34,7 @@
|
|
|
31
34
|
"url": "git+https://github.com/sergiodxa/monorepo.git",
|
|
32
35
|
"directory": "packages/ui"
|
|
33
36
|
},
|
|
34
|
-
"homepage": "https://sdxc.
|
|
37
|
+
"homepage": "https://sdxc.dev/api/ui",
|
|
35
38
|
"author": {
|
|
36
39
|
"name": "Sergio Xalambrí",
|
|
37
40
|
"url": "https://sergiodxa.com"
|