ropav 0.15.0 → 0.16.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/AGENTS.md +4 -0
- package/dist/components/portal-provider/portal-provider.types.d.ts +2 -2
- package/dist/composables/focus-scope-registry.d.ts +1 -1
- package/dist/composables/focus-scope-registry.js +1 -1
- package/dist/composables/use-dismissable.d.ts +1 -1
- package/dist/composables/use-focus-scope.d.ts +1 -1
- package/dist/composables/use-portal.d.ts +2 -2
- package/dist/composables/use-portal.js +2 -2
- package/dist/ropav.min.css +1 -1
- package/dist/styles/accordion.css +3 -0
- package/dist/styles/alert-dialog.css +4 -0
- package/dist/styles/alert.css +3 -0
- package/dist/styles/autocomplete.css +4 -0
- package/dist/styles/avatar-group.css +4 -0
- package/dist/styles/avatar.css +3 -0
- package/dist/styles/badge.css +3 -0
- package/dist/styles/breadcrumbs.css +4 -0
- package/dist/styles/button-group.css +4 -0
- package/dist/styles/button.css +3 -0
- package/dist/styles/calendar-year-picker.css +3 -0
- package/dist/styles/calendar.css +3 -0
- package/dist/styles/card.css +3 -0
- package/dist/styles/checkbox-group.css +3 -0
- package/dist/styles/checkbox.css +3 -0
- package/dist/styles/chip.css +3 -0
- package/dist/styles/close-button.css +3 -0
- package/dist/styles/color-area.css +3 -0
- package/dist/styles/color-field.css +3 -0
- package/dist/styles/color-input-group.css +3 -0
- package/dist/styles/color-picker.css +3 -0
- package/dist/styles/color-slider.css +3 -0
- package/dist/styles/color-swatch-picker.css +3 -0
- package/dist/styles/color-swatch.css +3 -0
- package/dist/styles/combo-box.css +3 -0
- package/dist/styles/components.css +3 -0
- package/dist/styles/core.css +2 -0
- package/dist/styles/date-field.css +4 -0
- package/dist/styles/date-picker.css +4 -0
- package/dist/styles/date-range-picker.css +4 -0
- package/dist/styles/description.css +3 -0
- package/dist/styles/disclosure-group.css +3 -0
- package/dist/styles/disclosure.css +3 -0
- package/dist/styles/drawer.css +4 -0
- package/dist/styles/drop-zone.css +3 -0
- package/dist/styles/dropdown.css +4 -0
- package/dist/styles/empty-state.css +3 -0
- package/dist/styles/error-message.css +3 -0
- package/dist/styles/field-error.css +3 -0
- package/dist/styles/fieldset.css +3 -0
- package/dist/styles/header.css +3 -0
- package/dist/styles/input-group.css +3 -0
- package/dist/styles/input-otp.css +3 -0
- package/dist/styles/input.css +3 -0
- package/dist/styles/kbd.css +3 -0
- package/dist/styles/label.css +3 -0
- package/dist/styles/link.css +3 -0
- package/dist/styles/list-box-item.css +3 -0
- package/dist/styles/list-box-section.css +3 -0
- package/dist/styles/list-box.css +4 -0
- package/dist/styles/menu-item.css +3 -0
- package/dist/styles/menu-section.css +3 -0
- package/dist/styles/menu.css +3 -0
- package/dist/styles/meter.css +3 -0
- package/dist/styles/modal.css +4 -0
- package/dist/styles/number-field.css +3 -0
- package/dist/styles/pagination.css +3 -0
- package/dist/styles/popover.css +3 -0
- package/dist/styles/progress-bar.css +3 -0
- package/dist/styles/progress-circle.css +3 -0
- package/dist/styles/radio-group.css +3 -0
- package/dist/styles/radio.css +3 -0
- package/dist/styles/range-calendar.css +3 -0
- package/dist/styles/scroll-shadow.css +3 -0
- package/dist/styles/search-field.css +4 -0
- package/dist/styles/segmented-control.css +3 -0
- package/dist/styles/select.css +3 -0
- package/dist/styles/separator.css +3 -0
- package/dist/styles/sidebar.css +8 -0
- package/dist/styles/skeleton.css +3 -0
- package/dist/styles/slider.css +3 -0
- package/dist/styles/spinner.css +3 -0
- package/dist/styles/splitter.css +3 -0
- package/dist/styles/surface.css +3 -0
- package/dist/styles/switch-group.css +3 -0
- package/dist/styles/switch.css +3 -0
- package/dist/styles/table.css +5 -0
- package/dist/styles/tabs.css +4 -0
- package/dist/styles/tag-group.css +3 -0
- package/dist/styles/tag.css +4 -0
- package/dist/styles/textarea.css +3 -0
- package/dist/styles/textfield.css +3 -0
- package/dist/styles/time-field.css +4 -0
- package/dist/styles/toast.css +6 -0
- package/dist/styles/toggle-button-group.css +3 -0
- package/dist/styles/toggle-button.css +3 -0
- package/dist/styles/toolbar.css +3 -0
- package/dist/styles/tooltip.css +3 -0
- package/dist/styles/typography.css +3 -0
- package/dist/styles/virtualizer.css +3 -0
- package/dist/utils/aria-hide-outside.js +1 -1
- package/dist/utils/position.d.ts +1 -1
- package/dist/utils/position.js +66 -52
- package/dist/utils/region.d.ts +3 -3
- package/dist/utils/region.js +3 -3
- package/dist/version.js +1 -1
- package/package.json +362 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Generated by scripts/style-entries.mjs — edit that, not this. */
|
|
2
|
+
@layer theme, base, components, utilities;
|
|
3
|
+
@import "@ropav/styles/components/close-button.css" layer(components);
|
|
4
|
+
@import "@ropav/styles/components/sidebar.css" layer(components);
|
|
5
|
+
@import "@ropav/styles/components/separator.css" layer(components);
|
|
6
|
+
@import "@ropav/styles/components/drawer.css" layer(components);
|
|
7
|
+
@import "@ropav/styles/components/tooltip.css" layer(components);
|
|
8
|
+
@import "@ropav/styles/components/scroll-shadow.css" layer(components);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Generated by scripts/style-entries.mjs — edit that, not this. */
|
|
2
|
+
@layer theme, base, components, utilities;
|
|
3
|
+
@import "@ropav/styles/components/table.css" layer(components);
|
|
4
|
+
@import "@ropav/styles/components/checkbox.css" layer(components);
|
|
5
|
+
@import "@ropav/styles/components/virtualizer.css" layer(components);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* Generated by scripts/style-entries.mjs — edit that, not this. */
|
|
2
|
+
@layer theme, base, components, utilities;
|
|
3
|
+
@import "@ropav/styles/components/close-button.css" layer(components);
|
|
4
|
+
@import "@ropav/styles/components/button.css" layer(components);
|
|
5
|
+
@import "@ropav/styles/components/spinner.css" layer(components);
|
|
6
|
+
@import "@ropav/styles/components/toast.css" layer(components);
|
|
@@ -12,7 +12,7 @@ var supportsInert = typeof HTMLElement !== "undefined" && "inert" in HTMLElement
|
|
|
12
12
|
var refCounts = /* @__PURE__ */ new WeakMap();
|
|
13
13
|
/**
|
|
14
14
|
* Active layers, innermost last. Only the innermost of the layers whose roots overlap watches the
|
|
15
|
-
* DOM for new content: two modals open in two
|
|
15
|
+
* DOM for new content: two modals open in two regions side by side each keep watching their
|
|
16
16
|
* own, while two nested in one place hand watching to the inner one.
|
|
17
17
|
*/
|
|
18
18
|
var layers = [];
|
package/dist/utils/position.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export interface PositionResult {
|
|
|
74
74
|
/** The element's rectangle, ignoring any scale transform when asked. */
|
|
75
75
|
export declare const getRect: (node: Element, ignoreScale: boolean) => Offset;
|
|
76
76
|
/** @private Exported for tests, which drive the arithmetic without a real layout. */
|
|
77
|
-
export declare const calculatePositionInternal: (placementInput: Placement, childOffset: Offset, overlaySize: Offset, margins: Position, padding: number, flip: boolean,
|
|
77
|
+
export declare const calculatePositionInternal: (placementInput: Placement, childOffset: Offset, overlaySize: Offset, margins: Position, padding: number, flip: boolean, boundary: Offset, containerDimensions: Dimensions, viewport: Offset | null, offset: number, crossOffset: number, isContainerPositioned: boolean, userSetMaxHeight: number | undefined, arrowSize: number, arrowBoundaryOffset: number) => PositionResult;
|
|
78
78
|
/**
|
|
79
79
|
* Where to put an overlay so it sits next to its trigger and stays inside the boundary.
|
|
80
80
|
*
|