@apliteni/apliteni-ui 0.158.0 → 0.158.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apliteni/apliteni-ui",
|
|
3
|
-
"version": "0.158.
|
|
3
|
+
"version": "0.158.2",
|
|
4
4
|
"workspaces": [
|
|
5
5
|
"react"
|
|
6
6
|
],
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@storybook/react-vite": "^10.6.1",
|
|
74
74
|
"axe-core": "^4.12.1",
|
|
75
75
|
"jsdom": "^30.0.1",
|
|
76
|
-
"storybook": "^10.
|
|
76
|
+
"storybook": "^10.6.4",
|
|
77
77
|
"vite": "^8.2.0"
|
|
78
78
|
}
|
|
79
79
|
}
|
package/react/dist/index.d.ts
CHANGED
|
@@ -1410,4 +1410,5 @@ declare const NavTabs: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedH
|
|
|
1410
1410
|
declare const PAGE_SIZES: readonly number[];
|
|
1411
1411
|
declare const DEFAULT_PAGE_SIZE: number;
|
|
1412
1412
|
|
|
1413
|
-
export {
|
|
1413
|
+
export { AccentPicker, AccountMenu, AccountWindow, AppShell, AuthShell, Avatar, BackLink, Badge, BusyRegion, Button, Callout, Card, Chart, CheckList, Checkbox, CommandPalette, Confirm, DEFAULT_PAGE_SIZE, DataTable, DatePicker, DeltaValue, Denied, Drawer, DrawerSection, Dropdown, EmptyState, Feedback, Field, FileDrop, FileField, FilterBar, Footer, Icon, KeyValueList, Modal, NavTabs, NumericValue, PAGE_SIZES, Pagination, Pill, RowIdentity, SearchField, Segmented, SelectField, SidebarNav, Skeleton, SkeletonTable, Snippet, StatBand, StatusDot, Success, SuccessCheck, SuccessPanel, Switch, THEME_INIT_SCRIPT, Tabs, TextArea, TextField, ThemeToggle, Timeline, Toast, Tooltip, TopBar, VersionSwitcher, ViewSwitch, sortTableRows, useToast };
|
|
1414
|
+
export type { Accent, AccentPickerProps, AccountMenuProps, AccountReader, AccountSection, AccountWindowProps, AddFilter, AppShellProps, AppShellSection, AuthShellProps, AvatarProps, BackLinkOwnProps, BackLinkProps, BusyRegionProps, ButtonLinkProps, ButtonProps, CalloutProps, CalloutVariant, ChartAreaLook, ChartBridgeStep, ChartBridgeTones, ChartDonutLook, ChartLineLook, ChartLookSeries, ChartPeriod, ChartProps, ChartSeries, ChartSlice, ChartStackedLook, ChartTone, CheckListProps, CheckboxProps, Column, CommandGroup, CommandItem, CommandPaletteProps, ConfirmProps, DataTableProps, DatePickerMode, DatePickerPreset, DatePickerProps, DatePickerRange, DeltaValueProps, DeniedProps, DrawerProps, DrawerSectionProps, DropdownAvatar, DropdownBadge, DropdownEntry, DropdownItem, DropdownProps, DropdownRowProps, DropdownSearch, DropdownSection, DropdownSeparator, EmptyStateProps, EmptyStateVariant, FeedbackPayload, FeedbackProps, FeedbackResult, FeedbackSection, FieldControlProps, FieldProps, FileDropFile, FileDropProps, FileDropStatus, FileFieldProps, Filter, FilterBarProps, FooterColumn, FooterLink, FooterProps, FooterSocial, KeyValueListProps, KeyValueRow, ModalProps, NativeButtonProps, NavTabBadge, NavTabItem, NavTabsProps, NumericValueProps, PaginationProps, PillProps, RowIdentityProps, SearchFieldProps, SegmentOption, SegmentedProps, SelectFieldProps, SidebarNavBadge, SidebarNavItem, SidebarNavLeaf, SidebarNavProps, SidebarNavSection, SkeletonProps, SkeletonTableProps, SnippetProps, StatBandProps, StatDelta, StatFigure, StatTone, StatVariant, StatusDotProps, SuccessCheckProps, SuccessCountdown, SuccessPanelProps, SuccessProps, SwitchProps, TabItem, TableSort, TabsProps, TextAreaProps, TextFieldProps, ThemeToggleProps, TimelineEvent, TimelineEventKind, TimelineProps, ToastNotice, ToastProps, TooltipProps, TopBarProps, Version, VersionSwitcherProps, ViewSwitchItem, ViewSwitchProps };
|
|
@@ -199,6 +199,10 @@ const ddUp = (panel) => (ddLifted(panel)
|
|
|
199
199
|
function ddScrollBox(dd, panel) {
|
|
200
200
|
if (dd.__ddPanel || ddInFilterRow(panel)) return null;
|
|
201
201
|
const view = ddViewOf(panel);
|
|
202
|
+
// A shut panel still schedules its collapse after its fade, and a test or a page
|
|
203
|
+
// can tear the document down while the timer waits. A view without getComputedStyle
|
|
204
|
+
// has no box to measure, so the collapse reads as already done.
|
|
205
|
+
if (typeof view?.getComputedStyle !== 'function') return null;
|
|
202
206
|
const els = [];
|
|
203
207
|
let top = 0;
|
|
204
208
|
let bottom = view.innerHeight;
|
|
@@ -222,6 +226,7 @@ function ddScrollBox(dd, panel) {
|
|
|
222
226
|
* a body that scrolls across still shows the rest. */
|
|
223
227
|
function ddClipsAcross(box, panel) {
|
|
224
228
|
const view = ddViewOf(panel);
|
|
229
|
+
if (typeof view?.getComputedStyle !== 'function') return false;
|
|
225
230
|
const p = panel.getBoundingClientRect();
|
|
226
231
|
return box.els.some((at) => {
|
|
227
232
|
const overflow = view.getComputedStyle(at).overflowX;
|