@sdxc/ui 2026.10.1 → 2026.10.8
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 +16 -14
- package/dist/animations/keyframes.d.ts +1 -1
- package/dist/animations/scroll.d.ts +1 -1
- package/dist/animations/transitions.d.ts +1 -1
- package/dist/animations/transitions.js +1 -1
- package/dist/behaviors/announcer.d.ts +1 -1
- package/dist/behaviors/announcer.js +1 -1
- package/dist/behaviors/calendar-model.d.ts +1 -1
- package/dist/behaviors/calendar-model.js +1 -1
- package/dist/behaviors/drag-session.d.ts +1 -1
- package/dist/behaviors/drag-session.js +1 -1
- package/dist/behaviors/filter-model.d.ts +1 -1
- package/dist/behaviors/filter-model.js +1 -1
- package/dist/behaviors/resize-session.d.ts +1 -1
- package/dist/behaviors/resize-session.js +1 -1
- package/dist/behaviors/scroll-follow-model.d.ts +1 -1
- package/dist/behaviors/scroll-follow-model.js +1 -1
- package/dist/behaviors/selection-model.d.ts +1 -1
- package/dist/behaviors/selection-model.js +1 -1
- package/dist/behaviors/toaster.d.ts +1 -1
- package/dist/behaviors/toaster.js +1 -1
- package/dist/components/accordion.d.ts +5 -5
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +8 -8
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/alert.d.ts +7 -7
- package/dist/components/alert.js +2 -2
- package/dist/components/aspect-ratio.d.ts +2 -2
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/attachment.d.ts +10 -10
- package/dist/components/attachment.js +2 -2
- package/dist/components/avatar.d.ts +7 -7
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.d.ts +4 -4
- package/dist/components/badge.js +2 -2
- package/dist/components/breadcrumbs.d.ts +5 -5
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/bubble.d.ts +5 -5
- package/dist/components/bubble.js +2 -2
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.d.ts +12 -12
- package/dist/components/calendar.js +2 -2
- package/dist/components/card.d.ts +7 -7
- package/dist/components/card.js +1 -1
- package/dist/components/carousel.d.ts +8 -8
- package/dist/components/carousel.js +2 -2
- package/dist/components/chart.d.ts +12 -12
- package/dist/components/chart.js +2 -2
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/color-area.d.ts +4 -4
- package/dist/components/color-area.js +2 -2
- package/dist/components/color-field.d.ts +2 -2
- package/dist/components/color-field.js +1 -1
- package/dist/components/color-picker.d.ts +5 -5
- package/dist/components/color-picker.js +2 -2
- package/dist/components/color-slider.d.ts +5 -5
- package/dist/components/color-slider.js +1 -1
- package/dist/components/color-swatch-picker.d.ts +3 -3
- package/dist/components/color-swatch-picker.js +2 -2
- package/dist/components/color-swatch.d.ts +2 -2
- package/dist/components/color-swatch.js +2 -2
- package/dist/components/color-wheel.d.ts +2 -2
- package/dist/components/color-wheel.js +1 -1
- package/dist/components/combobox.d.ts +5 -5
- package/dist/components/combobox.js +1 -1
- package/dist/components/command.d.ts +6 -6
- package/dist/components/command.js +2 -2
- package/dist/components/confirm.d.ts +2 -2
- package/dist/components/confirm.js +1 -1
- package/dist/components/context-menu.d.ts +13 -13
- package/dist/components/context-menu.js +1 -1
- package/dist/components/date-field.d.ts +2 -2
- package/dist/components/date-field.js +1 -1
- package/dist/components/date-picker.d.ts +3 -3
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +3 -3
- package/dist/components/date-range-picker.js +2 -2
- package/dist/components/description.d.ts +2 -2
- package/dist/components/description.js +1 -1
- package/dist/components/dialog.d.ts +7 -7
- package/dist/components/dialog.js +1 -1
- package/dist/components/disclosure.d.ts +6 -6
- package/dist/components/disclosure.js +1 -1
- package/dist/components/drawer.d.ts +7 -7
- package/dist/components/drawer.js +1 -1
- package/dist/components/drop-indicator.d.ts +2 -2
- package/dist/components/drop-indicator.js +2 -2
- package/dist/components/drop-zone.d.ts +2 -2
- package/dist/components/drop-zone.js +1 -1
- package/dist/components/empty.d.ts +6 -6
- package/dist/components/empty.js +2 -2
- package/dist/components/field-error.d.ts +2 -2
- package/dist/components/field-error.js +2 -2
- package/dist/components/file-trigger.d.ts +2 -2
- package/dist/components/file-trigger.js +2 -2
- package/dist/components/form.d.ts +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/grid-list.d.ts +6 -6
- package/dist/components/grid-list.js +2 -2
- package/dist/components/group.d.ts +2 -2
- package/dist/components/group.js +2 -2
- package/dist/components/header.d.ts +2 -2
- package/dist/components/header.js +1 -1
- package/dist/components/heading-scope.d.ts +2 -2
- package/dist/components/heading-scope.js +1 -1
- package/dist/components/heading.d.ts +2 -2
- package/dist/components/heading.js +1 -1
- package/dist/components/highlight.d.ts +47 -0
- package/dist/components/highlight.js +43 -0
- package/dist/components/hover-card.d.ts +4 -4
- package/dist/components/hover-card.js +1 -1
- package/dist/components/image-placeholder.d.ts +7 -7
- package/dist/components/image-placeholder.js +7 -5
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/item.d.ts +7 -7
- package/dist/components/item.js +1 -1
- package/dist/components/keyboard.d.ts +2 -2
- package/dist/components/keyboard.js +1 -1
- package/dist/components/label.d.ts +2 -2
- package/dist/components/label.js +1 -1
- package/dist/components/link-button.d.ts +2 -2
- package/dist/components/link-button.js +1 -1
- package/dist/components/link.d.ts +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/listbox.d.ts +3 -3
- package/dist/components/listbox.js +2 -2
- package/dist/components/logo.d.ts +7 -7
- package/dist/components/logo.js +1 -1
- package/dist/components/marker.d.ts +4 -4
- package/dist/components/marker.js +2 -2
- package/dist/components/menu.d.ts +4 -4
- package/dist/components/menu.js +2 -2
- package/dist/components/menubar.d.ts +3 -3
- package/dist/components/menubar.js +2 -2
- package/dist/components/message-scroller.d.ts +6 -6
- package/dist/components/message-scroller.js +2 -2
- package/dist/components/message.d.ts +7 -7
- package/dist/components/message.js +1 -1
- package/dist/components/meter.d.ts +4 -4
- package/dist/components/meter.js +1 -1
- package/dist/components/modal.d.ts +7 -7
- package/dist/components/modal.js +1 -1
- package/dist/components/nav-link.d.ts +2 -2
- package/dist/components/nav-link.js +1 -1
- package/dist/components/navigation-menu.d.ts +11 -11
- package/dist/components/navigation-menu.js +2 -2
- package/dist/components/number-field.d.ts +6 -6
- package/dist/components/number-field.js +2 -2
- package/dist/components/otp-field.d.ts +2 -2
- package/dist/components/otp-field.js +1 -1
- package/dist/components/overlay-arrow.d.ts +2 -2
- package/dist/components/overlay-arrow.js +2 -2
- package/dist/components/pagination.d.ts +6 -6
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.d.ts +2 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/progress-bar.d.ts +4 -4
- package/dist/components/progress-bar.js +1 -1
- package/dist/components/radio-group.d.ts +3 -3
- package/dist/components/radio-group.js +2 -2
- package/dist/components/range-calendar.d.ts +12 -12
- package/dist/components/range-calendar.js +2 -2
- package/dist/components/resizable.d.ts +4 -4
- package/dist/components/resizable.js +2 -2
- package/dist/components/scroll-area.d.ts +3 -3
- package/dist/components/scroll-area.js +2 -2
- package/dist/components/search-field.d.ts +5 -5
- package/dist/components/search-field.js +1 -1
- package/dist/components/section.d.ts +2 -2
- package/dist/components/section.js +1 -1
- package/dist/components/select.d.ts +6 -6
- package/dist/components/select.js +2 -2
- package/dist/components/selection-indicator.d.ts +2 -2
- package/dist/components/selection-indicator.js +2 -2
- package/dist/components/sentinel-row.d.ts +2 -2
- package/dist/components/sentinel-row.js +1 -1
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/separator.js +2 -2
- package/dist/components/shared-element.d.ts +2 -2
- package/dist/components/shared-element.js +1 -1
- package/dist/components/sheet.d.ts +7 -7
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar.d.ts +28 -28
- package/dist/components/sidebar.js +2 -2
- package/dist/components/skeleton.d.ts +2 -2
- package/dist/components/skeleton.js +2 -2
- package/dist/components/slider.d.ts +5 -5
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/spinner.js +1 -1
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +2 -2
- package/dist/components/table.d.ts +9 -9
- package/dist/components/table.js +2 -2
- package/dist/components/tabs.d.ts +6 -6
- package/dist/components/tabs.js +2 -2
- package/dist/components/tag-group.d.ts +5 -5
- package/dist/components/tag-group.js +2 -2
- package/dist/components/text-field.d.ts +2 -2
- package/dist/components/text-field.js +1 -1
- package/dist/components/text.d.ts +2 -2
- package/dist/components/text.js +1 -1
- package/dist/components/textarea.d.ts +2 -2
- package/dist/components/textarea.js +1 -1
- package/dist/components/time-field.d.ts +2 -2
- package/dist/components/time-field.js +1 -1
- package/dist/components/toast.d.ts +11 -11
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-button.d.ts +3 -3
- package/dist/components/toggle-button.js +2 -2
- package/dist/components/toolbar.d.ts +2 -2
- package/dist/components/toolbar.js +2 -2
- package/dist/components/tooltip.d.ts +2 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree.d.ts +5 -5
- package/dist/components/tree.js +2 -2
- package/dist/components/typeset.d.ts +2 -2
- package/dist/components/typeset.js +2 -2
- package/dist/mixins/aria-checked.d.ts +1 -1
- package/dist/mixins/aria-checked.js +1 -1
- package/dist/mixins/attachment-trigger.d.ts +1 -1
- package/dist/mixins/attachment-trigger.js +1 -1
- package/dist/mixins/calendar-keys.d.ts +1 -1
- package/dist/mixins/calendar-keys.js +1 -1
- package/dist/mixins/carousel-controls.d.ts +1 -1
- package/dist/mixins/carousel-controls.js +1 -1
- package/dist/mixins/chart-tooltip.d.ts +1 -1
- package/dist/mixins/chart-tooltip.js +1 -1
- package/dist/mixins/clear-field.d.ts +1 -1
- package/dist/mixins/clear-field.js +1 -1
- package/dist/mixins/color-area-drag.d.ts +1 -1
- package/dist/mixins/color-area-drag.js +1 -1
- package/dist/mixins/color-channel-sync.d.ts +1 -1
- package/dist/mixins/color-channel-sync.js +1 -1
- package/dist/mixins/color-preview.d.ts +1 -1
- package/dist/mixins/color-preview.js +1 -1
- package/dist/mixins/color-wheel-drag.d.ts +1 -1
- package/dist/mixins/color-wheel-drag.js +1 -1
- package/dist/mixins/combobox-filter.d.ts +4 -4
- package/dist/mixins/combobox-filter.js +5 -5
- package/dist/mixins/command-filter.d.ts +1 -1
- package/dist/mixins/command-filter.js +1 -1
- package/dist/mixins/command-keys.d.ts +1 -1
- package/dist/mixins/command-keys.js +1 -1
- package/dist/mixins/context-menu.d.ts +5 -5
- package/dist/mixins/context-menu.js +4 -4
- package/dist/mixins/copy-to-clipboard.d.ts +1 -1
- package/dist/mixins/copy-to-clipboard.js +1 -1
- package/dist/mixins/dismiss.d.ts +1 -1
- package/dist/mixins/dismiss.js +1 -1
- package/dist/mixins/drag-reorder.d.ts +1 -1
- package/dist/mixins/drag-reorder.js +1 -1
- package/dist/mixins/drop-zone.d.ts +1 -1
- package/dist/mixins/drop-zone.js +1 -1
- package/dist/mixins/dual-range.d.ts +1 -1
- package/dist/mixins/dual-range.js +1 -1
- package/dist/mixins/grid-list-keys.d.ts +1 -1
- package/dist/mixins/grid-list-keys.js +1 -1
- package/dist/mixins/heading-level-fallback.d.ts +1 -1
- package/dist/mixins/heading-level-fallback.js +1 -1
- package/dist/mixins/hotkey.d.ts +1 -1
- package/dist/mixins/hotkey.js +1 -1
- package/dist/mixins/image-fallback.d.ts +1 -1
- package/dist/mixins/image-fallback.js +1 -1
- package/dist/mixins/listbox-keys.d.ts +5 -5
- package/dist/mixins/listbox-keys.js +5 -5
- package/dist/mixins/long-press.d.ts +3 -3
- package/dist/mixins/long-press.js +2 -2
- package/dist/mixins/menu-keys.d.ts +1 -1
- package/dist/mixins/menu-keys.js +1 -1
- package/dist/mixins/menubar-keys.d.ts +1 -1
- package/dist/mixins/menubar-keys.js +1 -1
- package/dist/mixins/message-follow.d.ts +1 -1
- package/dist/mixins/message-follow.js +1 -1
- package/dist/mixins/mirror-selected-option.d.ts +1 -1
- package/dist/mixins/mirror-selected-option.js +1 -1
- package/dist/mixins/otp-slots.d.ts +1 -1
- package/dist/mixins/otp-slots.js +1 -1
- package/dist/mixins/persist.d.ts +1 -1
- package/dist/mixins/persist.js +1 -1
- package/dist/mixins/press-toggle.d.ts +1 -1
- package/dist/mixins/press-toggle.js +1 -1
- package/dist/mixins/range-preview.d.ts +1 -1
- package/dist/mixins/range-preview.js +1 -1
- package/dist/mixins/resize-handle.d.ts +1 -1
- package/dist/mixins/resize-handle.js +1 -1
- package/dist/mixins/stepper.d.ts +1 -1
- package/dist/mixins/stepper.js +1 -1
- package/dist/mixins/tab-keys.d.ts +3 -3
- package/dist/mixins/tab-keys.js +4 -4
- package/dist/mixins/theme-toggle.d.ts +1 -1
- package/dist/mixins/theme-toggle.js +1 -1
- package/dist/mixins/track-host-node.d.ts +1 -1
- package/dist/mixins/treeKeys.d.ts +1 -1
- package/dist/mixins/treeKeys.js +1 -1
- package/dist/mixins/validate.d.ts +1 -1
- package/dist/mixins/validate.js +1 -1
- package/dist/mixins/view-transition.d.ts +1 -1
- package/dist/mixins/view-transition.js +1 -1
- package/dist/styles/chart-palette.d.ts +1 -1
- package/dist/styles/field-stack-layout.d.ts +1 -1
- package/dist/styles/floating-surface.d.ts +1 -1
- package/dist/styles/graphic-host.d.ts +1 -1
- package/dist/styles/interactive-transition.d.ts +1 -1
- package/dist/styles/legend-toggle.d.ts +1 -1
- package/dist/styles/output-caption-text.d.ts +1 -1
- package/dist/styles/panel-chrome.d.ts +1 -1
- package/dist/styles/range-thumb-appearance.d.ts +1 -1
- package/dist/styles/rtl-aware-gradient-direction.d.ts +1 -1
- package/dist/styles/semantic-color-panel.d.ts +1 -1
- package/dist/utils/css-styles.d.ts +2 -2
- package/dist/utils/css-styles.js +2 -2
- package/dist/utils/field-parts.d.ts +1 -1
- package/dist/utils/merge-style.d.ts +2 -2
- package/dist/utils/merge-style.js +1 -1
- package/package.json +16 -6
- package/src/reset.css +13 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
8
8
|
* @copyright Sergio Xalambrí 2026
|
|
9
9
|
*/
|
|
10
|
-
import type { ElementProps, MixinDescriptor } from "remix/
|
|
10
|
+
import type { ElementProps, MixinDescriptor } from "remix/component";
|
|
11
11
|
import type { CSSStyles } from "../utils/css-styles.js";
|
|
12
12
|
/**
|
|
13
13
|
* A framed panel's shared border and rounding: a solid, 1px neutral border
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
11
11
|
* @copyright Sergio Xalambrí 2026
|
|
12
12
|
*/
|
|
13
|
-
import type { ElementProps, MixinDescriptor } from "remix/
|
|
13
|
+
import type { ElementProps, MixinDescriptor } from "remix/component";
|
|
14
14
|
import type { CSSStyles } from "../utils/css-styles.js";
|
|
15
15
|
/**
|
|
16
16
|
* Composes the range thumb's shared appearance recipe — reset, shape, border,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
9
9
|
* @copyright Sergio Xalambrí 2026
|
|
10
10
|
*/
|
|
11
|
-
import type { ElementProps, MixinDescriptor } from "remix/
|
|
11
|
+
import type { ElementProps, MixinDescriptor } from "remix/component";
|
|
12
12
|
import type { CSSStyles } from "../utils/css-styles.js";
|
|
13
13
|
/**
|
|
14
14
|
* Composes the custom property pairing a gradient direction's `"right"`
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
9
9
|
* @copyright Sergio Xalambrí 2026
|
|
10
10
|
*/
|
|
11
|
-
import type { ElementProps, MixinDescriptor } from "remix/
|
|
11
|
+
import type { ElementProps, MixinDescriptor } from "remix/component";
|
|
12
12
|
import type { CSSStyles } from "../utils/css-styles.js";
|
|
13
13
|
/**
|
|
14
14
|
* Composes every `&[data-color="..."]` branch a tinted panel keys its
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The style object shape `css()` accepts, aliased directly from `css()`'s own
|
|
3
|
-
* parameter type because `remix/
|
|
3
|
+
* parameter type because `remix/component` doesn't export that type under its own
|
|
4
4
|
* name. Modules that build a nested selector, at-rule, or gated block ahead
|
|
5
5
|
* of a `css()` call assign it into its own `CSSStyles` variable first, so
|
|
6
6
|
* each nested block gets checked against this exact type as it's written.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
9
9
|
* @copyright Sergio Xalambrí 2026
|
|
10
10
|
*/
|
|
11
|
-
import { css } from "remix/
|
|
11
|
+
import { css } from "remix/component";
|
|
12
12
|
/**
|
|
13
13
|
* The style object shape {@link css} accepts: a plain CSS-in-JS declaration
|
|
14
14
|
* block, with nested selectors, at-rules (`@media`, `@supports`,
|
package/dist/utils/css-styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The style object shape `css()` accepts, aliased directly from `css()`'s own
|
|
3
|
-
* parameter type because `remix/
|
|
3
|
+
* parameter type because `remix/component` doesn't export that type under its own
|
|
4
4
|
* name. Modules that build a nested selector, at-rule, or gated block ahead
|
|
5
5
|
* of a `css()` call assign it into its own `CSSStyles` variable first, so
|
|
6
6
|
* each nested block gets checked against this exact type as it's written.
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
9
9
|
* @copyright Sergio Xalambrí 2026
|
|
10
10
|
*/
|
|
11
|
-
import { css } from "remix/
|
|
11
|
+
import { css } from "remix/component";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
11
11
|
* @copyright Sergio Xalambrí 2026
|
|
12
12
|
*/
|
|
13
|
-
import type { Props as TagProps } from "remix/
|
|
13
|
+
import type { Props as TagProps } from "remix/component";
|
|
14
14
|
/**
|
|
15
15
|
* Per-part styling for a field's caption, control, supporting description,
|
|
16
16
|
* and validation message, layered after each part's own built-in styling.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
9
9
|
* @copyright Sergio Xalambrí 2026
|
|
10
10
|
*/
|
|
11
|
-
import type { Props } from "remix/
|
|
11
|
+
import type { Props } from "remix/component";
|
|
12
12
|
/** The `style` prop an element accepts: CSS text, a declaration object, or nothing. */
|
|
13
13
|
export type StyleProp = Props<"div">["style"];
|
|
14
14
|
/**
|
|
@@ -19,7 +19,7 @@ export type StyleProp = Props<"div">["style"];
|
|
|
19
19
|
export type StyleDeclarations = Record<string, string | number | null | undefined>;
|
|
20
20
|
/**
|
|
21
21
|
* Merges declarations into a host's `style` prop and returns a new value, so
|
|
22
|
-
* shared props stay untouched. Assigned via `Object.assign`, since remix/
|
|
22
|
+
* shared props stay untouched. Assigned via `Object.assign`, since remix/component's
|
|
23
23
|
* style type's `Symbol.iterator` key type-checks under a spread despite carrying no runtime iterator.
|
|
24
24
|
*
|
|
25
25
|
* @param style The host's incoming `style` prop, in either form.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
/**
|
|
12
12
|
* Merges declarations into a host's `style` prop and returns a new value, so
|
|
13
|
-
* shared props stay untouched. Assigned via `Object.assign`, since remix/
|
|
13
|
+
* shared props stay untouched. Assigned via `Object.assign`, since remix/component's
|
|
14
14
|
* style type's `Symbol.iterator` key type-checks under a spread despite carrying no runtime iterator.
|
|
15
15
|
*
|
|
16
16
|
* @param style The host's incoming `style` prop, in either form.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdxc/ui",
|
|
3
|
-
"version": "2026.10.
|
|
4
|
-
"description": "Styled, accessible remix/
|
|
3
|
+
"version": "2026.10.8",
|
|
4
|
+
"description": "Styled, accessible remix/component components rendered as server HTML",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -16,11 +16,12 @@
|
|
|
16
16
|
"./theme.css": "./src/theme.css"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"@sdxc/
|
|
21
|
-
"
|
|
19
|
+
"@remix-run/ui": "0.12.1",
|
|
20
|
+
"@sdxc/icons": "2026.10.2",
|
|
21
|
+
"@sdxc/u": "2026.10.2",
|
|
22
|
+
"remix": "3.0.0"
|
|
22
23
|
},
|
|
23
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "7641f481daf6aab5fecfd486c9478ec95aa532c5",
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|
|
26
27
|
},
|
|
@@ -28,5 +29,14 @@
|
|
|
28
29
|
"type": "git",
|
|
29
30
|
"url": "git+https://github.com/sergiodxa/monorepo.git",
|
|
30
31
|
"directory": "packages/ui"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://sdxc.sergiodxa.com/api/ui",
|
|
34
|
+
"author": {
|
|
35
|
+
"name": "Sergio Xalambrí",
|
|
36
|
+
"url": "https://sergiodxa.com"
|
|
37
|
+
},
|
|
38
|
+
"funding": {
|
|
39
|
+
"type": "github",
|
|
40
|
+
"url": "https://github.com/sponsors/sergiodxa"
|
|
31
41
|
}
|
|
32
42
|
}
|
package/src/reset.css
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* borders reset to "0 solid" so bare border-widths work later, the theme's
|
|
4
4
|
* sans font stack applied once at the document root for every element to
|
|
5
5
|
* inherit, form controls that inherit font/color/line-height, transparent
|
|
6
|
-
* button/input backgrounds with a sensible cursor, block-level media,
|
|
7
|
-
* rest of the usual list/table/[hidden]
|
|
6
|
+
* button/input backgrounds with a sensible cursor, block-level media, the theme's
|
|
7
|
+
* focus ring for keyboard focus, and the rest of the usual list/table/[hidden]
|
|
8
|
+
* normalizations.
|
|
8
9
|
*
|
|
9
10
|
* Every selector is wrapped in :where(...) so the whole file carries zero
|
|
10
11
|
* specificity and can never beat a component's own css() rules.
|
|
@@ -102,6 +103,16 @@
|
|
|
102
103
|
outline: auto;
|
|
103
104
|
}
|
|
104
105
|
|
|
106
|
+
/*
|
|
107
|
+
* Keyboard focus draws the theme's ring on anything a component leaves unstyled, so a
|
|
108
|
+
* plain <summary>, link or control shows the same ring as the components do. It sits
|
|
109
|
+
* after the Firefox rule above so the ring wins there too.
|
|
110
|
+
*/
|
|
111
|
+
:where(:focus-visible) {
|
|
112
|
+
outline: 2px solid var(--ui-ring, Highlight);
|
|
113
|
+
outline-offset: 2px;
|
|
114
|
+
}
|
|
115
|
+
|
|
105
116
|
:where(progress) {
|
|
106
117
|
vertical-align: baseline;
|
|
107
118
|
}
|