altum 0.0.9 → 0.0.10
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/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/base/ChartBase/ChartHoverBubble.module.css.js +1 -1
- package/dist/base/ChartBase/ChartLegend.module.css.js +1 -1
- package/dist/base/ChartBase/ChartPlot.module.css.js +1 -1
- package/dist/base/Flex/Flex.module.css.js +1 -1
- package/dist/base/SelectionGroup/SelectionGroup.module.css.js +1 -1
- package/dist/base/ToggleControlBase/ToggleControlBase.module.css.js +1 -1
- package/dist/components/Accordion/Accordion.module.css.js +1 -1
- package/dist/components/ActionList/ActionItem.module.css.js +1 -1
- package/dist/components/ActionList/ActionList.module.css.js +1 -1
- package/dist/components/Alert/Alert.module.css.js +1 -1
- package/dist/components/AspectRatio/AspectRatio.module.css.js +1 -1
- package/dist/components/Attachment/Attachment.module.css.js +1 -1
- package/dist/components/AutocompleteField/AutocompleteField.js +1 -1
- package/dist/components/Avatar/Avatar.module.css.js +1 -1
- package/dist/components/Badge/Badge.module.css.js +1 -1
- package/dist/components/BarChart/BarChart.module.css.js +1 -1
- package/dist/components/Box/Box.module.css.js +1 -1
- package/dist/components/Bubble/Bubble.module.css.js +1 -1
- package/dist/components/Button/Button.module.css.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.module.css.js +1 -1
- package/dist/components/Calendar/Calendar.module.css.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.Event.module.css.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.Schedule.module.css.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.module.css.js +1 -1
- package/dist/components/Card/Card.module.css.js +1 -1
- package/dist/components/Checkbox/Checkbox.module.css.js +1 -1
- package/dist/components/Chip/Chip.module.css.js +1 -1
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.module.css.js +1 -1
- package/dist/components/CommandPalette/CommandPalette.module.css.js +1 -1
- package/dist/components/Container/Container.module.css.js +1 -1
- package/dist/components/DateField/DateField.module.css.js +1 -1
- package/dist/components/DateRangeField/DateRangeField.module.css.js +1 -1
- package/dist/components/DayStripCalendar/DayStripCalendar.module.css.js +1 -1
- package/dist/components/DescriptionList/DescriptionList.module.css.js +1 -1
- package/dist/components/DialogLayout/DialogLayout.module.css.js +1 -1
- package/dist/components/DonutChart/DonutChart.module.css.js +1 -1
- package/dist/components/Dropdown/Dropdown.module.css.js +1 -1
- package/dist/components/EmptyState/EmptyState.module.css.js +1 -1
- package/dist/components/FieldGroup/FieldGroup.module.css.js +1 -1
- package/dist/components/FieldLabel/FieldLabel.module.css.js +1 -1
- package/dist/components/Fieldset/Fieldset.module.css.js +1 -1
- package/dist/components/FileList/FileList.module.css.js +1 -1
- package/dist/components/FileUploader/FileUploader.module.css.js +1 -1
- package/dist/components/Gap/Gap.module.css.js +1 -1
- package/dist/components/Grid/Grid.module.css.js +1 -1
- package/dist/components/ImageCrop/ImageCrop.module.css.js +1 -1
- package/dist/components/ImageGallery/ImageGallery.module.css.js +1 -1
- package/dist/components/ImageLightbox/ImageLightbox.module.css.js +1 -1
- package/dist/components/Item/Item.module.css.js +1 -1
- package/dist/components/Kbd/Kbd.module.css.js +1 -1
- package/dist/components/Layout/Layout.module.css.js +1 -1
- package/dist/components/LineChart/LineChart.module.css.js +1 -1
- package/dist/components/Link/Link.module.css.js +1 -1
- package/dist/components/Listbox/Listbox.module.css.js +1 -1
- package/dist/components/Marker/Marker.module.css.js +1 -1
- package/dist/components/MaskedField/MaskedField.module.css.js +1 -1
- package/dist/components/Media/Media.module.css.js +1 -1
- package/dist/components/Menu/Menu.module.css.js +1 -1
- package/dist/components/Modal/Modal.module.css.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.module.css.js +1 -1
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/Overflow/Overflow.module.css.js +1 -1
- package/dist/components/Overlay/Overlay.module.css.js +1 -1
- package/dist/components/Pagination/Pagination.module.css.js +1 -1
- package/dist/components/PasswordField/PasswordField.module.css.js +1 -1
- package/dist/components/PinInput/PinInput.module.css.js +1 -1
- package/dist/components/Popover/Popover.module.css.js +1 -1
- package/dist/components/PopupSwitch/PopupSwitch.module.css.js +1 -1
- package/dist/components/Progress/Progress.module.css.js +1 -1
- package/dist/components/PullToRefresh/PullToRefresh.module.css.js +1 -1
- package/dist/components/Radio/Radio.module.css.js +1 -1
- package/dist/components/SafeArea/SafeArea.module.css.js +1 -1
- package/dist/components/ScrollArea/ScrollArea.module.css.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/Select.module.css.js +1 -1
- package/dist/components/Select/useTextTrigger.js +1 -0
- package/dist/components/Separator/Separator.module.css.js +1 -1
- package/dist/components/Sheet/Sheet.module.css.js +1 -1
- package/dist/components/Sidebar/Sidebar.module.css.js +1 -1
- package/dist/components/Skeleton/Skeleton.module.css.js +1 -1
- package/dist/components/SkipLink/SkipLink.module.css.js +1 -1
- package/dist/components/Slider/Slider.module.css.js +1 -1
- package/dist/components/SortableList/SortableList.module.css.js +1 -1
- package/dist/components/Spinner/Spinner.module.css.js +1 -1
- package/dist/components/StatBadge/StatBadge.module.css.js +1 -1
- package/dist/components/Steps/Steps.module.css.js +1 -1
- package/dist/components/SuggestField/SuggestField.js +1 -1
- package/dist/components/SwipeToAction/SwipeToAction.module.css.js +1 -1
- package/dist/components/Switch/Switch.module.css.js +1 -1
- package/dist/components/Table/Table.module.css.js +1 -1
- package/dist/components/Tabs/Tabs.module.css.js +1 -1
- package/dist/components/Text/Text.module.css.js +1 -1
- package/dist/components/TextField/TextField.module.css.js +1 -1
- package/dist/components/TextareaField/TextareaField.module.css.js +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.module.css.js +1 -1
- package/dist/components/TimeField/TimeField.module.css.js +1 -1
- package/dist/components/Timeline/Timeline.module.css.js +1 -1
- package/dist/components/Title/Title.module.css.js +1 -1
- package/dist/components/Tooltip/Tooltip.module.css.js +1 -1
- package/dist/components/UploadZone/UploadZone.module.css.js +1 -1
- package/dist/components/VirtualList/VirtualList.module.css.js +1 -1
- package/dist/components/WheelTimePicker/WheelTimePicker.module.css.js +1 -1
- package/dist/core/utils/cssShrinkTokens.js +1 -1
- package/dist/core/utils/object.js +1 -0
- package/dist/entries/hooks.js +1 -1
- package/dist/entries/utils.js +1 -1
- package/dist/hooks/useForm.js +1 -1
- package/dist/hooks/useMediaQuery.js +1 -0
- package/dist/hooks/useOutsideClick.js +1 -0
- package/dist/hooks/usePrefersReducedMotion.js +1 -0
- package/dist/styles/MediaItem.module.css.js +1 -1
- package/dist/styles/calendarChrome.module.css.js +1 -1
- package/dist/styles/fieldMessage.module.css.js +1 -1
- package/dist/styles/floating.module.css.js +1 -1
- package/dist/styles/overlayClose.module.css.js +1 -1
- package/dist/styles/overlayScrim.module.css.js +1 -1
- package/dist/styles/overlayTransition.module.css.js +1 -1
- package/dist/styles/scrollable.module.css.js +1 -1
- package/dist/styles/selectField.module.css.js +1 -1
- package/dist/styles/textLink.module.css.js +1 -1
- package/dist/styles/toggleBox.module.css.js +1 -1
- package/dist/styles/toggleGroup.module.css.js +1 -1
- package/dist/styles/unstyledControl.module.css.js +1 -1
- package/dist/styles/utilities.module.css.js +1 -1
- package/docs/COMPONENTS.md +2 -2
- package/package.json +5 -1
- package/types/entries/hooks.d.ts +22 -5
- package/types/entries/utils.d.ts +4 -1
- package/types/index.d.ts +12 -42
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as a}from"../../core/utils/injectCss.js";var i=".ANEng{display:inline-flex;max-width:100%;vertical-align:middle}.TPGHB{position-anchor
|
|
1
|
+
"use client";import{injectCss as a}from"../../core/utils/injectCss.js";var i=".ANEng{display:inline-flex;max-width:100%;vertical-align:middle}.TPGHB{position-anchor:\u0013tooltip-anchor);position-area:\u0013tooltip-area);position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;\u0007color-tooltip-bg);\bg-radius-sm);\tshadow-surface);\u001e;color:\u0001tooltip-fg);font-size:\u00032xs);inset:auto;line-\u000fg-line-height-2xs);margin:0;max-width:min(\u0013popover-tooltip-max-width),calc(100vw - \u00024)));opacity:0;padding:\u00021) \u00023);pointer-events:none;position:fixed;transition:opacity .12s ease \u0013tooltip-close-delay,.1s);visibility:hidden;width:max-content;z-index:\u0013g-z-dropdown)}.TPGHB\u001btop]{margin-bottom:\u0013overlay-offset-popover,4px)}.TPGHB\u001bbottom]{margin-top:\u0013overlay-offset-popover,4px)}.TPGHB\u001bleft],.TPGHB\u001bright]{position-try-fallbacks:flip-inline,flip-block,flip-inline flip-block}.TPGHB\u001bleft]{margin-right:\u0013overlay-offset-popover,4px)}.TPGHB\u001bright]{margin-left:\u0013overlay-offset-popover,4px)}.ANEng:is(:hover,:focus-within,[data-open]) .TPGHB{opacity:1;transition-delay:\u0013tooltip-open-delay,.2s);visibility:visible}@media (prefers-reduced-motion:reduce){.TPGHB{transition:none}}";const t={host:"ANEng",bubble:"TPGHB"};a(i);export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../../core/utils/injectCss.js";var a=".IMyVx{\
|
|
1
|
+
"use client";import{injectCss as o}from"../../core/utils/injectCss.js";var a=".IMyVx{\u001e;position:relative;transition:\u0013transition-smooth);width:100%}.IMyVx:not([data-custom]){\u0007color-upload-bg);border:1px dashed \u0001upload-border);\bg-radius);cursor:pointer;max-width:100%;text-align:center}.IMyVx:not([data-custom]):hover:not(\u001d]):not([data-readonly]){\u0007color-option-hover);\ncolor-border-hover)}.IMyVx[data-custom]{height:100%}.IMyVx[data-readonly]:not([data-custom]),.IMyVx[data-readonly]:not([data-custom]):hover{\u0007field-bg-readonly);\nfield-border-readonly);cursor:default}.IMyVx\u001d]:not([data-custom]),.IMyVx\u001d]:not([data-custom]):hover{\u0007color-option-hover);cursor:not-allowed;opacity:\u0013opacity-disabled)}.IMyVx[data-readonly] .-CQW-{cursor:default}.IMyVx .QljPx{align-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);\u0007color-bg);color:\u0001field-text);display:grid;font-size:\u0003base);font-weight:\u0004medium);gap:\u00023);inset:0;place-items:center;pointer-events:none;position:absolute;z-index:\u0013g-z-upload)}.IMyVx .-CQW-{align-items:center;cursor:pointer;display:flex;flex-direction:column;gap:\u00022);padding:\u00026) \u00024);width:100%}.IMyVx .sv-88{color:\u0006label);font-size:\u00032xl)}.IMyVx .GCLmI{color:\u0001field-text);font-size:\u0003sm);opacity:.8}.IMyVx .S80J7{color:\u0001border-hover);font-weight:\u0004medium)}";const t={container:"IMyVx",uploadLabel:"-CQW-",overlay:"QljPx",uploadIcon:"sv-88",uploadText:"GCLmI",accentText:"S80J7"};o(a);export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../../core/utils/injectCss.js";var e=".Xnad4{
|
|
1
|
+
"use client";import{injectCss as o}from"../../core/utils/injectCss.js";var e=".Xnad4{\u001e;position:relative;width:100%}.Xnad4[data-external]{overflow:visible;overscroll-behavior:auto}.Xnad4 .P3Pvl{overflow:hidden;overflow:clip;pointer-events:none;position:relative;width:100%}.Xnad4 .-OU5w{left:0;pointer-events:auto;position:absolute;top:0;width:100%;will-change:transform}.Xnad4 .S4WEC{\u001e;position:relative;width:100%}";const t={root:"Xnad4",spacer:"P3Pvl",content:"-OU5w",item:"S4WEC"};o(e);export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as e}from"../../core/utils/injectCss.js";var t=".iNEEm{
|
|
1
|
+
"use client";import{injectCss as e}from"../../core/utils/injectCss.js";var t=".iNEEm{\u0014wheel-row-height:\u00029);\u001e;color:\u0001field-text);font-family:\u0013g-font-family-ui);font-size:\u0003base);height:calc(\u0013wheel-row-height)*5);max-width:100%;position:relative;-webkit-user-select:none;user-select:none;width:calc(\u00029)*6 + \u00021))}.iNEEm ._8wSa-{\u0007color-brand-tint);\bg-radius-sm);\u000fwheel-row-height);left:\u00022);pointer-events:none;position:absolute;right:\u00022);top:50%;transform:translateY(-50%);z-index:0}.iNEEm .Jy0ax{align-items:stretch;display:flex;height:100%;position:relative;z-index:1}.iNEEm .hPcRB{flex:1 1 0;height:100%;min-width:0;overflow:hidden}.iNEEm ._5ueak{height:100%;-webkit-mask-image:linear-gradient(180deg,#0000 0,#000 28%,#000 72%,#0000);mask-image:linear-gradient(180deg,#0000 0,#000 28%,#000 72%,#0000);scroll-snap-type:y mandatory}.iNEEm .dfVWk{flex-shrink:0;height:calc(\u0013wheel-row-height)*2);pointer-events:none}.iNEEm ._9vYkl{flex-shrink:0;\u000fwheel-row-height);scroll-snap-align:center;width:100%}[aria-selected=true]:is(.iNEEm ._9vYkl){color:\u0001brand);font-weight:\u0004bold)}.iNEEm .lRt7G{flex-shrink:0;font-weight:\u0004bold);pointer-events:none;width:\u00024)}@media (prefers-reduced-motion:reduce){.iNEEm ._5ueak{scroll-behavior:auto}}";const a={root:"iNEEm",highlight:"_8wSa-",columns:"Jy0ax",column:"hPcRB",scroller:"_5ueak",spacer:"dfVWk",item:"_9vYkl",separator:"lRt7G"};e(t);export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CSS_SHRINK_TOKENS=["var(--altum-
|
|
1
|
+
export const CSS_SHRINK_MAX_TOKENS=30;export const CSS_SHRINK_TOKENS=["var(--altum-color-","var(--altum-g-space-","var(--altum-g-font-size-","var(--altum-g-font-weight-","var(--altum-g-radius","var(--altum-field-","background-color:var(--altum-","border-radius:var(--altum-","box-shadow:var(--altum-","border-color:var(--altum-","1px solid var(--altum-","font-size:var(--altum-","font-weight:var(--altum-","color:var(--altum-","height:var(--altum-","padding:var(--altum-","gap:var(--altum-","color-mix(in srgb,","var(--altum-","--altum-","[data-orientation=","[data-variant=","[data-layout=","[data-status=","[data-state=","[data-size=","[data-side=","[data-mode=","[data-disabled","box-sizing:border-box"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(t,n){const e={};for(const o of n)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}function s(t,n){const e=new Set(n),o={};for(const c of Object.keys(t))e.has(c)||(o[c]=t[c]);return o}export{s as omit,r as pick};
|
package/dist/entries/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{useOutsideClick as r}from"../hooks/useOutsideClick.js";import{useDocumentKeyDown as s}from"../hooks/useDocumentKeyDown.js";import{useControlledState as m,useControlledStateWithCallback as E}from"../hooks/useControlledState.js";import{useNow as i}from"../hooks/useNow.js";import{MOBILE_MEDIA_QUERY as l,SIDEBAR_LARGE_MEDIA_QUERY as p,SIDEBAR_MEDIUM_MEDIA_QUERY as x,useIsMobile as I,useIsSidebarLarge as M,useIsSidebarMedium as a,useMediaQuery as D}from"../hooks/useMediaQuery.js";import{REDUCED_MOTION_QUERY as _,usePrefersReducedMotion as n}from"../hooks/usePrefersReducedMotion.js";import{useLongPress as A}from"../hooks/useLongPress.js";import{useForm as S}from"../hooks/useForm.js";import{useFormContext as Q,useFormProvider as b}from"../hooks/useFormProvider.js";import{checkedValue as O,compose as Y,fieldRules as k,pattern as B,required as F}from"../shared/form/formRules.js";export{l as MOBILE_MEDIA_QUERY,_ as REDUCED_MOTION_QUERY,p as SIDEBAR_LARGE_MEDIA_QUERY,x as SIDEBAR_MEDIUM_MEDIA_QUERY,O as checkedValue,Y as compose,k as fieldRules,B as pattern,F as required,m as useControlledState,E as useControlledStateWithCallback,s as useDocumentKeyDown,S as useForm,Q as useFormContext,b as useFormProvider,I as useIsMobile,M as useIsSidebarLarge,a as useIsSidebarMedium,A as useLongPress,D as useMediaQuery,i as useNow,r as useOutsideClick,n as usePrefersReducedMotion};
|
package/dist/entries/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{toCssSize as e}from"../core/utils/cssSize.js";import{moveArrayItem as a}from"../core/utils/arrayMove.js";import{getTranslateXFromTransform as
|
|
1
|
+
import{toCssSize as e}from"../core/utils/cssSize.js";import{moveArrayItem as a}from"../core/utils/arrayMove.js";import{getTranslateXFromTransform as i}from"../core/utils/transform.js";import{defaultListboxFilterFn as f,filterListboxOptions as p,findListboxOption as n,flattenResolvedListboxGroups as x,getListboxDisplayValue as l,getListboxOptionDomId as S,getListboxOptionText as d,getListboxPath as u,matchListboxOption as g,resolveListboxGroups as D}from"../core/utils/listboxOptions.js";import{formatBytes as c,getFormControlState as L}from"../core/utils/form.js";import{set as O,toPath as b}from"../shared/form/Form.utils.js";import{DEFAULT_DRAG_BLOCKED_SELECTOR as y,DEFAULT_PORTAL_SELECTOR as h,isDragBlockedTarget as _,isEditableTarget as A,isOutsideFormInteraction as R}from"../core/utils/eventTarget.js";import{formatInTimeZone as I,formatTimezoneLabel as v,formatTimezoneOffset as z,getBrowserTimezone as K,getSupportedTimezones as N,getTimezoneOffsetMinutes as P,getZonedParts as U,isSameZonedDay as B,isValidTimeZone as H}from"../core/utils/timezone.js";import{addDays as G,addToDate as Z,compareDay as V,formatHHmm as W,formatHourLabel as M,formatHourTime as w,formatLocalDate as X,getWeekDays as Y,getWeekStart as j,isExistingLocalDate as q,isSameDay as J,parseLocalDate as Q,startOfDay as $}from"../core/utils/date.js";import{DAY_SECONDS as to,HOUR_SECONDS as eo,MINUTE_SECONDS as ro,WEEK_SECONDS as ao,getDurationUnitAndValue as mo,secondsToUnit as io,unitToSeconds as so}from"../core/utils/duration.js";import{localeToBcp47 as po}from"../core/utils/locale.js";import{plural as xo,pluralEn as lo,pluralRu as So}from"../core/utils/plural.js";import{formatAriaKeyShortcuts as go,formatKeyboardShortcut as Do,matchesKeyboardShortcut as To,parseKeyboardShortcut as co}from"../core/utils/keyboardShortcut.js";import{ariaIds as Eo,getCtx as Oo,handleRovingFocus as bo,uEv as Co,uRef as yo}from"../core/utils/bundle.js";import{cn as _o}from"../core/utils/cn.js";import{omit as Ro,pick as Fo}from"../core/utils/object.js";import{clamp as vo}from"../core/utils/math.js";import{toggleSet as Ko}from"../core/utils/toggleSet.js";import{liveStatus as Po}from"../core/utils/liveStatus.js";import{mergeSlotProps as Bo}from"../core/utils/slot.js";import{SPACING_CSS as ko,spacingCss as Go}from"../core/utils/spacing.js";import{renderChildren as Vo}from"../core/utils/renderChildren.js";export{to as DAY_SECONDS,y as DEFAULT_DRAG_BLOCKED_SELECTOR,h as DEFAULT_PORTAL_SELECTOR,eo as HOUR_SECONDS,ro as MINUTE_SECONDS,ko as SPACING_CSS,ao as WEEK_SECONDS,G as addDays,Z as addToDate,Eo as ariaIds,vo as clamp,_o as cn,V as compareDay,f as defaultListboxFilterFn,p as filterListboxOptions,n as findListboxOption,x as flattenResolvedListboxGroups,go as formatAriaKeyShortcuts,c as formatBytes,W as formatHHmm,M as formatHourLabel,w as formatHourTime,I as formatInTimeZone,Do as formatKeyboardShortcut,X as formatLocalDate,v as formatTimezoneLabel,z as formatTimezoneOffset,K as getBrowserTimezone,Oo as getCtx,mo as getDurationUnitAndValue,L as getFormControlState,l as getListboxDisplayValue,S as getListboxOptionDomId,d as getListboxOptionText,u as getListboxPath,N as getSupportedTimezones,P as getTimezoneOffsetMinutes,i as getTranslateXFromTransform,Y as getWeekDays,j as getWeekStart,U as getZonedParts,bo as handleRovingFocus,_ as isDragBlockedTarget,A as isEditableTarget,q as isExistingLocalDate,R as isOutsideFormInteraction,J as isSameDay,B as isSameZonedDay,H as isValidTimeZone,Po as liveStatus,po as localeToBcp47,g as matchListboxOption,To as matchesKeyboardShortcut,Bo as mergeSlotProps,a as moveArrayItem,Ro as omit,co as parseKeyboardShortcut,Q as parseLocalDate,Fo as pick,xo as plural,lo as pluralEn,So as pluralRu,Vo as renderChildren,D as resolveListboxGroups,io as secondsToUnit,O as set,Go as spacingCss,$ as startOfDay,e as toCssSize,b as toPath,Ko as toggleSet,Co as uEv,yo as uRef,so as unitToSeconds};
|
package/dist/hooks/useForm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useState as
|
|
1
|
+
"use client";import{useState as l,useRef as y,useEffect as q}from"react";import{omit as A}from"../core/utils/object.js";import{formValuesEqual as C}from"../shared/form/formValues.js";function K(c){const n=c;return n&&typeof n=="object"&&n.target?n.target.value:c}function E(c,n){return n in c?A(c,[n]):c}function R(c){const[n,f]=l(c),[d,o]=l({}),[h,b]=l(c),a=y(n),s=y({}),[m]=l(()=>new Set);m.clear(),q(()=>{Object.keys(s.current).forEach(r=>{m.has(r)||delete s.current[r]})});const v=(r,t)=>{o(e=>t?e[r]===t?e:{...e,[r]:t}:E(e,r))},g=(r,t)=>{const e={...a.current,[r]:t};return a.current=e,f(e),e},j=(r,t)=>(m.add(r),t?.validate?s.current[r]=t.validate:delete s.current[r],{value:n[r],onChange:e=>{const u=(t?.getValue??K)(e),i=g(r,u);v(r,s.current[r]?.(u,i))}}),k=r=>{f(t=>{const e=typeof r=="function"?r(t):r;return a.current=e,e})},V=(r,t)=>{const e=g(r,t),u=s.current[r];u&&v(r,u(t,e))},O=(r,t)=>{o(e=>e[r]===t?e:{...e,[r]:t})},S=r=>{if(r===void 0){o({});return}o(t=>E(t,r))},w=r=>{const t=r??h;a.current=t,f(t),o({}),r!==void 0&&b(t)},x=!C(n,h),D=r=>t=>{t?.preventDefault?.();const e=a.current,u={};Object.keys(s.current).forEach(i=>{const p=s.current[i]?.(e[i],e);p&&(u[i]=p)}),o(u),Object.keys(u).length===0&&r(e)},F=Object.keys(d).length>0;return{values:n,errors:d,isDirty:x,register:j,hasErrors:F,setValues:k,setValue:V,setError:O,clearErrors:S,reset:w,handleSubmit:D}}export{R as useForm};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useState as c,useEffect as d}from"react";const r="(max-width: 768px)",s="(min-width: 1280px)",u="(min-width: 1024px) and (max-width: 1279px)",E=e=>typeof window<"u"&&window.matchMedia(e).matches;function t(e){const[a,o]=c(()=>E(e));return d(()=>{const n=window.matchMedia(e),i=()=>{o(n.matches)};return i(),n.addEventListener("change",i),()=>n.removeEventListener("change",i)},[e]),a}function m(){return t(r)}function M(){return t(s)}function h(){return t(u)}export{r as MOBILE_MEDIA_QUERY,s as SIDEBAR_LARGE_MEDIA_QUERY,u as SIDEBAR_MEDIUM_MEDIA_QUERY,m as useIsMobile,M as useIsSidebarLarge,h as useIsSidebarMedium,t as useMediaQuery};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useRef as c,useEffect as d}from"react";const f=e=>Array.isArray(e),i=e=>f(e)?e:[e];function v(e,r,m={}){const{enabled:n=!0}=m,u=c(r),o=c(i(e));d(()=>{u.current=r,o.current=i(e)}),d(()=>{if(!n)return;const t=s=>{o.current.some(a=>a.current?.contains(s.target))||u.current(s)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[n])}export{v as useOutsideClick};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useMediaQuery as r}from"./useMediaQuery.js";const e="(prefers-reduced-motion: reduce)";function o(){return r(e)}export{e as REDUCED_MOTION_QUERY,o as usePrefersReducedMotion};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as e}from"../core/utils/injectCss.js";var i=".rjvkJ{align-items:center;
|
|
1
|
+
"use client";import{injectCss as e}from"../core/utils/injectCss.js";var i=".rjvkJ{align-items:center;\u001e;display:flex;gap:\u00023);min-width:0;width:100%}.db5hA{display:inline-flex;flex-shrink:0;overflow:hidden}.db5hA img{display:block;height:100%;object-fit:cover;width:100%}._7bHVc{flex:1 1 auto;gap:calc(\u00021) + \u0013control-inset));min-width:0}.tJlST{font-weight:\u0004medium);line-height:1.3}.lVX5K,.tJlST{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._0j0jH{align-items:center;display:inline-flex;flex-shrink:0}.jyySg .lVX5K,.jyySg .tJlST{overflow:visible;text-overflow:unset;white-space:normal}";const t={row:"rjvkJ",media:"db5hA",content:"_7bHVc",title:"tJlST",description:"lVX5K",actions:"_0j0jH",wrap:"jyySg"};e(i);export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as e}from"../core/utils/injectCss.js";var t=".wQhie{align-items:center;display:flex;gap
|
|
1
|
+
"use client";import{injectCss as e}from"../core/utils/injectCss.js";var t=".wQhie{align-items:center;display:flex;gap:\u00022);justify-content:space-between;min-height:\u00028,32px)}.XP4XB{color:\u0001ink-default);font-size:\u0003base);font-weight:\u0004semibold);line-\u000fg-line-height-base);text-align:center}.X109C,.XP4XB{flex:1 1 auto}.njMp-{\bg-radius-sm);transition:\u0013transition-smooth)}.njMp-:hover:not(:disabled){\u0007color-option-hover)}.njMp-:focus-visible{outline-offset:-2px}.hHqSW{display:grid;gap:\u00021);grid-template-columns:repeat(7,1fr);text-align:center}";const a={header:"wQhie",title:"XP4XB",titleSpacer:"X109C",cell:"njMp-",weekGrid:"hHqSW"};e(t);export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as a}from"../core/utils/injectCss.js";var t=".mOWLI{font-family
|
|
1
|
+
"use client";import{injectCss as a}from"../core/utils/injectCss.js";var t=".mOWLI{font-family:\u0013g-font-family-ui);font-size:\u0003xs);line-\u000fg-line-height-xs);margin:0;margin-left:\u0013form-helper-indent,\u00021));margin-top:\u0006message-gap,\u00021))}.mOWLI\u0016hint]{color:\u0001type-muted)}.mOWLI\u0016error]{color:\u0001status-error)}.mOWLI\u0016success]{color:\u0001status-success)}";const r={message:"mOWLI"};a(t);export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as a}from"../core/utils/injectCss.js";var o=".hBVYC{position-anchor
|
|
1
|
+
"use client";import{injectCss as a}from"../core/utils/injectCss.js";var o=".hBVYC{position-anchor:\u0013popover-anchor);position-area:\u0013popover-area);position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;background:#0000;border:none;\tshadow-dropdown);inset:unset;margin:0;max-height:calc(100vh - \u00024));max-height:calc(100dvh - \u00024));max-width:calc(100vw - \u00024));overflow:initial;padding:0;position:fixed}";const i={panel:"hBVYC"};a(o);export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var a=".hukiO.hukiO{\
|
|
1
|
+
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var a=".hukiO.hukiO{\u0014btn-border:#0000;\u0014btn-shadow:none;\u0014btn-bg:#0000;\u0014btn-bg-hover:\u0013overlay-close-bg-hover);\u0014btn-bg-active:\u0013overlay-close-bg-hover);\u0014btn-text:\u0013overlay-close-fg);\u0014btn-text-hover:\u0013overlay-close-fg-hover);background-color:initial;border:none;\bg-radius-sm);box-shadow:none;\u000eoverlay-close-fg);\u000foverlay-close-size);overflow:visible;padding:0;width:\u0013overlay-close-size)}.hukiO.hukiO:hover:not(:disabled):not([aria-disabled=true]){\u0007overlay-close-bg-hover);\u000eoverlay-close-fg-hover)}.hukiO.hukiO:focus-visible{box-shadow:none;outline:\u0013focus-ring-width) solid \u0013focus-ring-color);outline-offset:\u0013focus-ring-offset)}.hukiO.hukiO svg{display:block;flex-shrink:0;\u000foverlay-close-icon-size);transform:translateY(.5px);width:\u0013overlay-close-icon-size)}";const l={close:"hukiO"};o(a);export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as a}from"../core/utils/injectCss.js";var r=".Z2l89{
|
|
1
|
+
"use client";import{injectCss as a}from"../core/utils/injectCss.js";var r=".Z2l89{\u0014overlay-scrim-ease:cubic-bezier(0.16,1,0.3,1)}.Z2l89::backdrop{-webkit-backdrop-filter:blur(\u0013backdrop-blur,4px));backdrop-filter:blur(\u0013backdrop-blur,4px));\u0007overlay-scrim);opacity:0;transition:opacity \u0013motion-overlay) \u0013overlay-scrim-ease),display \u0013motion-overlay) allow-discrete,overlay \u0013motion-overlay) allow-discrete}.Z2l89[open]::backdrop{opacity:1}@starting-style{.Z2l89[open]::backdrop{opacity:0}}@media (prefers-reduced-motion:reduce){.Z2l89::backdrop{transition:none}}";const o={host:"Z2l89"};a(r);export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var a=".WYwbc{opacity:0;transform:scale(.96);transition:opacity \
|
|
1
|
+
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var a=".WYwbc{opacity:0;transform:scale(.96);transition:opacity \u0013motion-overlay,.2s) cubic-bezier(.16,1,.3,1),transform \u0013motion-overlay,.2s) cubic-bezier(.16,1,.3,1),display \u0013motion-overlay,.2s) allow-discrete,overlay \u0013motion-overlay,.2s) allow-discrete}.WYwbc:popover-open,.WYwbc[open],dialog[open] .WYwbc{opacity:1;transform:scale(1)}@starting-style{.WYwbc:popover-open,.WYwbc[open],dialog[open] .WYwbc{opacity:0;transform:scale(.96)}}";const e={fadeScale:"WYwbc"};o(a);export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as r}from"../core/utils/injectCss.js";var o=".yPaFa{-webkit-overflow-scrolling:touch;
|
|
1
|
+
"use client";import{injectCss as r}from"../core/utils/injectCss.js";var o=".yPaFa{-webkit-overflow-scrolling:touch;\u001e;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:\u0001border) #0000;scrollbar-width:thin;width:100%}.yPaFa::-webkit-scrollbar{height:6px;width:6px}.yPaFa::-webkit-scrollbar-track{background:#0000}.yPaFa::-webkit-scrollbar-thumb{\u0007color-border);\bg-radius-pill)}.yPaFa::-webkit-scrollbar-thumb:hover{\u0007color-muted)}.LWwjx{scrollbar-width:none}.LWwjx::-webkit-scrollbar{display:none;height:0;width:0}";const a={area:"yPaFa",hide:"LWwjx"};r(o);export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as e}from"../core/utils/injectCss.js";var t=".BLn-T [data-field-chrome],._80-FC{cursor:pointer}._80-FC{align-content:center;display:grid;height:100%;min-height:0;overflow:hidden;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}._80-FC .MqL10,._80-FC .j-4JK{grid-area:1/1}._80-FC .j-4JK{align-items:flex-start;flex-direction:column;font-weight
|
|
1
|
+
"use client";import{injectCss as e}from"../core/utils/injectCss.js";var t=".BLn-T [data-field-chrome],._80-FC{cursor:pointer}._80-FC{align-content:center;display:grid;height:100%;min-height:0;overflow:hidden;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}._80-FC .MqL10,._80-FC .j-4JK{grid-area:1/1}._80-FC .j-4JK{align-items:flex-start;flex-direction:column;font-weight:\u0004medium);height:1.25em;pointer-events:none;visibility:hidden}._80-FC .MqL10,._80-FC .j-4JK{display:flex;overflow:hidden;white-space:nowrap}._80-FC .MqL10{align-items:center;min-height:1.25em;min-width:0;text-overflow:ellipsis}.tGj55{max-width:min(100%,\u0006width-default));width:max-content}.gvS2m{color:\u0001input-placeholder,\u0006label))}[data-field-label] .gvS2m{color:#0000}";const i={field:"BLn-T",trigger:"_80-FC",triggerSizer:"j-4JK",triggerText:"MqL10",fitContent:"tGj55",placeholder:"gvS2m"};e(t);export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as t}from"../core/utils/injectCss.js";var e=".vHVRY{text-decoration:underline;text-decoration-color
|
|
1
|
+
"use client";import{injectCss as t}from"../core/utils/injectCss.js";var e=".vHVRY{text-decoration:underline;text-decoration-color:\u0012currentColor 72%,#0000);text-decoration-thickness:1px;text-underline-offset:3px;transition:color .2s ease-in-out,text-decoration-color .2s ease-in-out}.vHVRY:hover:not(:disabled):not([aria-disabled=true]){text-decoration:underline;text-decoration-color:initial;text-decoration-thickness:1px;text-underline-offset:3px}";const o={link:"vHVRY"};t(e);export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var r=
|
|
1
|
+
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var r="._9TRXw[data-align=start] .yMKDd{margin-top:\u0013toggle-align-nudge)}._9TRXw:active .sppC0:not(:disabled,[aria-readonly=true])~.yMKDd,._9TRXw:hover .sppC0:not(:checked):not(:disabled,[aria-readonly=true])~.yMKDd{\ncolor-border-hover)}._9TRXw:has(.sppC0[aria-readonly=true]) .yMKDd{\u0007color-control-bg-readonly);\ncolor-control-border-readonly);border-style:dashed}._9TRXw:has(.sppC0[aria-readonly=true]):hover .yMKDd{\ncolor-control-border-readonly)}._9TRXw .sppC0:checked~.yMKDd{\u0007color-control-bg-checked);\ncolor-control-border-checked)}:is(._9TRXw .sppC0:checked~.yMKDd):after{opacity:1}._9TRXw .sppC0:focus-visible~.yMKDd{outline:\u0013focus-ring-width) solid \u0013focus-ring-color);outline-offset:\u0013focus-ring-offset)}.sppC0{appearance:none}.yMKDd{\u0007color-control-bg);border:\u000bcolor-control-border);\u001e;display:inline-block;flex-shrink:0;\u000ftoggle-box-size);min-\u000ftoggle-box-size);min-width:\u0013toggle-box-size);position:relative;width:\u0013toggle-box-size)}.yMKDd,.yMKDd:after{transition:\u0013transition-smooth)}.yMKDd:after{content:\"\";left:50%;opacity:0;position:absolute;top:50%}@media (prefers-reduced-motion:reduce){.yMKDd,.yMKDd:after{transition:none}}";const e={root:"_9TRXw",box:"yMKDd",input:"sppC0"};o(r);export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as t}from"../core/utils/injectCss.js";var e=".WHWhO{border:none;margin:0;min-width:0;padding:0}.tj6jK{color
|
|
1
|
+
"use client";import{injectCss as t}from"../core/utils/injectCss.js";var e=".WHWhO{border:none;margin:0;min-width:0;padding:0}.tj6jK{color:\u0001input-text);\fform-legend-size,\u0003base));\rform-legend-weight,\u0004semibold));line-\u000fform-legend-line-height,\u0013g-line-height-base));margin-bottom:\u00023);padding:0}.Ndm-2{display:flex;flex-direction:column;\u0011toggle-stack-gap);width:100%}.WHWhO\u0015horizontal] .Ndm-2{flex-direction:row;flex-wrap:wrap}";const a={fieldset:"WHWhO",legend:"tj6jK",stack:"Ndm-2"};t(e);export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var r=".b32N-{-webkit-tap-highlight-color:transparent;appearance:none;background:#0000;border:none;
|
|
1
|
+
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var r=".b32N-{-webkit-tap-highlight-color:transparent;appearance:none;background:#0000;border:none;\u001e;color:inherit;cursor:pointer;font:inherit;margin:0;padding:0;text-align:inherit}.b32N-:disabled{cursor:not-allowed}.b32N-:focus-visible{outline:\u0013focus-ring-width) solid \u0013focus-ring-color);outline-offset:\u0013focus-ring-offset)}";const i={control:"b32N-"};o(r);export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var e=".YjZ4W{align-items:center;justify-content:center}.YjZ4W,.uLta-{
|
|
1
|
+
"use client";import{injectCss as o}from"../core/utils/injectCss.js";var e=".YjZ4W{align-items:center;justify-content:center}.YjZ4W,.uLta-{\u001e;display:flex}.uLta-{flex-direction:column}._9rwJ1{appearance:none;background:#0000;border:none;cursor:pointer;padding:0}.H7uzC{-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior:contain}";const r={fCenter:"YjZ4W",fColumn:"uLta-",scrollport:"H7uzC"};o(e);export{r as default};
|
package/docs/COMPONENTS.md
CHANGED
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
| **PinInput** | PIN / OTP: группа ячеек на **TextField**. `label` — **FieldLabel**; `description` / `error` — **FormMessage**. |
|
|
36
36
|
| **Rating** | Оценка звёздами. |
|
|
37
37
|
| **FormMessage** | Подсказка / ошибка / успех под полем; `variant` `hint` / `error` / `success`. |
|
|
38
|
-
| **Select** | Поле выбора: `options`, `value` / `onChange`, `label`, `filterable
|
|
39
|
-
| **SuggestField** |
|
|
38
|
+
| **Select** | Поле выбора: `options`, `value` / `onChange`, `label`, `filterable`. Один `TextField`; перекрытие поля — `inputProps`. |
|
|
39
|
+
| **SuggestField** | Подсказки: печатный `TextField` внутри **`Select`** через `inputProps`. Chrome от **`FieldBaseProps`**. Узел поля — `inputRef`. |
|
|
40
40
|
| **Checkbox** | `size`, `labelSide`, `indeterminate`, `mode` (`default` \| `task`), `align`, `labelVisibility`, `onCheckedChange(checked)` (native `onChange` сохраняется). |
|
|
41
41
|
| **Switch** | `size`, `labelSide`; `onChange(checked)` и алиас `onCheckedChange`. |
|
|
42
42
|
| **CheckboxGroup** | Группа чекбоксов с управляемым `value: string[]`. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "altum",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Библиотека React + TypeScript UI-компонентов: CSS Modules, токены ThemeProvider, адаптация overlay/sheet.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Alexander <azeeson@gmail.com>",
|
|
@@ -62,6 +62,8 @@
|
|
|
62
62
|
"prepublishOnly": "npm run lint && npm run lint:css && npm run lint:css-ownership && npm run typecheck && npm run build && npm run pack:check",
|
|
63
63
|
"pack:check": "node scripts/pack-check.mjs",
|
|
64
64
|
"release": "npm test && npm publish",
|
|
65
|
+
"demo": "vite --config demo/vite.config.ts",
|
|
66
|
+
"demo:build": "vite build --config demo/vite.config.ts",
|
|
65
67
|
"storybook": "storybook dev -p 6006",
|
|
66
68
|
"build-storybook": "storybook build -o dist-storybook",
|
|
67
69
|
"test": "npm run build-storybook && playwright test",
|
|
@@ -103,6 +105,7 @@
|
|
|
103
105
|
"@stylistic/stylelint-plugin": "^5.2.1",
|
|
104
106
|
"@types/react": "^18.3.31",
|
|
105
107
|
"@types/react-dom": "^18.3.7",
|
|
108
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
106
109
|
"autoprefixer": "^10.5.4",
|
|
107
110
|
"css-loader": "^6.8.1",
|
|
108
111
|
"esbuild": "^0.25.9",
|
|
@@ -125,6 +128,7 @@
|
|
|
125
128
|
"ts-loader": "^9.4.3",
|
|
126
129
|
"typescript": "^5.1.3",
|
|
127
130
|
"typescript-eslint": "^8.62.1",
|
|
131
|
+
"vite": "^6.4.3",
|
|
128
132
|
"webpack": "^5.109.2"
|
|
129
133
|
},
|
|
130
134
|
"overrides": {
|
package/types/entries/hooks.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { PointerEvent, MouseEvent, Dispatch, SetStateAction, ReactNode } from 'react';
|
|
2
|
+
import { RefObject, PointerEvent, MouseEvent as MouseEvent$1, Dispatch, SetStateAction, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface UseOutsideClickOptions {
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
type OutsideClickTarget = RefObject<HTMLElement | null>;
|
|
8
|
+
declare function useOutsideClick(refs: OutsideClickTarget | readonly OutsideClickTarget[], callback: (event: MouseEvent | TouchEvent) => void, options?: UseOutsideClickOptions): void;
|
|
3
9
|
|
|
4
10
|
type DocumentKeyDownTarget = 'document' | 'window';
|
|
5
11
|
interface UseDocumentKeyDownOptions {
|
|
@@ -13,6 +19,17 @@ declare function useControlledStateWithCallback<T>(controlled: T | undefined, de
|
|
|
13
19
|
|
|
14
20
|
declare function useNow(intervalMs: number): Date;
|
|
15
21
|
|
|
22
|
+
declare const MOBILE_MEDIA_QUERY = "(max-width: 768px)";
|
|
23
|
+
declare const SIDEBAR_LARGE_MEDIA_QUERY = "(min-width: 1280px)";
|
|
24
|
+
declare const SIDEBAR_MEDIUM_MEDIA_QUERY = "(min-width: 1024px) and (max-width: 1279px)";
|
|
25
|
+
declare function useMediaQuery(query: string): boolean;
|
|
26
|
+
declare function useIsMobile(): boolean;
|
|
27
|
+
declare function useIsSidebarLarge(): boolean;
|
|
28
|
+
declare function useIsSidebarMedium(): boolean;
|
|
29
|
+
|
|
30
|
+
declare const REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
31
|
+
declare function usePrefersReducedMotion(): boolean;
|
|
32
|
+
|
|
16
33
|
interface UseLongPressOptions {
|
|
17
34
|
delay?: number;
|
|
18
35
|
disabled?: boolean;
|
|
@@ -22,8 +39,8 @@ interface UseLongPressHandlers {
|
|
|
22
39
|
onPointerDown: (event: PointerEvent) => void;
|
|
23
40
|
onPointerUp: (event: PointerEvent) => void;
|
|
24
41
|
onPointerCancel: (event: PointerEvent) => void;
|
|
25
|
-
onContextMenu: (event: MouseEvent) => void;
|
|
26
|
-
onClick: (event: MouseEvent) => void;
|
|
42
|
+
onContextMenu: (event: MouseEvent$1) => void;
|
|
43
|
+
onClick: (event: MouseEvent$1) => void;
|
|
27
44
|
cancel: () => void;
|
|
28
45
|
}
|
|
29
46
|
declare function useLongPress(onLongPress: () => void, options?: UseLongPressOptions): UseLongPressHandlers;
|
|
@@ -92,5 +109,5 @@ interface ValidationRules {
|
|
|
92
109
|
declare function fieldRules(rules: ValidationRules): FormRule;
|
|
93
110
|
declare function checkedValue(payload: unknown): boolean;
|
|
94
111
|
|
|
95
|
-
export { checkedValue, compose, fieldRules, pattern, required, useControlledState, useControlledStateWithCallback, useDocumentKeyDown, useForm, useFormContext, useFormProvider, useLongPress, useNow };
|
|
96
|
-
export type { DocumentKeyDownTarget, FieldValidate, FormErrors, FormRule, RegisterOptions, UseDocumentKeyDownOptions, UseFormReturn, UseLongPressHandlers, UseLongPressOptions, ValidationRules };
|
|
112
|
+
export { MOBILE_MEDIA_QUERY, REDUCED_MOTION_QUERY, SIDEBAR_LARGE_MEDIA_QUERY, SIDEBAR_MEDIUM_MEDIA_QUERY, checkedValue, compose, fieldRules, pattern, required, useControlledState, useControlledStateWithCallback, useDocumentKeyDown, useForm, useFormContext, useFormProvider, useIsMobile, useIsSidebarLarge, useIsSidebarMedium, useLongPress, useMediaQuery, useNow, useOutsideClick, usePrefersReducedMotion };
|
|
113
|
+
export type { DocumentKeyDownTarget, FieldValidate, FormErrors, FormRule, RegisterOptions, UseDocumentKeyDownOptions, UseFormReturn, UseLongPressHandlers, UseLongPressOptions, UseOutsideClickOptions, ValidationRules };
|
package/types/entries/utils.d.ts
CHANGED
|
@@ -159,6 +159,9 @@ declare const getCtx: <T>(context: Context<T | undefined>, message: string) => T
|
|
|
159
159
|
|
|
160
160
|
declare function cn(...parts: Array<string | false | undefined | null>): string;
|
|
161
161
|
|
|
162
|
+
declare function pick<T extends object, const K extends keyof T>(source: T, keys: readonly K[]): Pick<T, K>;
|
|
163
|
+
declare function omit<T extends object, const K extends keyof T>(source: T, keys: readonly K[]): Omit<T, K>;
|
|
164
|
+
|
|
162
165
|
declare function clamp(value: number, min: number, max: number): number;
|
|
163
166
|
|
|
164
167
|
declare function toggleSet<T>(set: ReadonlySet<T>, key: T): Set<T>;
|
|
@@ -201,5 +204,5 @@ type Density = 'default' | 'compact';
|
|
|
201
204
|
|
|
202
205
|
type SurfaceVariant = 'primary' | 'tinted' | 'secondary' | 'ghost' | 'plain';
|
|
203
206
|
|
|
204
|
-
export { DAY_SECONDS, DEFAULT_DRAG_BLOCKED_SELECTOR, DEFAULT_PORTAL_SELECTOR, HOUR_SECONDS, MINUTE_SECONDS, SPACING_CSS, WEEK_SECONDS, addDays, addToDate, ariaIds, clamp, cn, compareDay, defaultListboxFilterFn, filterListboxOptions, findListboxOption, flattenResolvedListboxGroups, formatAriaKeyShortcuts, formatBytes, formatHHmm, formatHourLabel, formatHourTime, formatInTimeZone, formatKeyboardShortcut, formatLocalDate, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getCtx, getDurationUnitAndValue, getFormControlState, getListboxDisplayValue, getListboxOptionDomId, getListboxOptionText, getListboxPath, getSupportedTimezones, getTimezoneOffsetMinutes, getTranslateXFromTransform, getWeekDays, getWeekStart, getZonedParts, handleRovingFocus, isDragBlockedTarget, isEditableTarget, isExistingLocalDate, isOutsideFormInteraction, isSameDay, isSameZonedDay, isValidTimeZone, liveStatus, localeToBcp47, matchListboxOption, matchesKeyboardShortcut, mergeSlotProps, moveArrayItem, parseKeyboardShortcut, parseLocalDate, plural, pluralEn, pluralRu, renderChildren, resolveListboxGroups, secondsToUnit, set, spacingCss, startOfDay, toCssSize, toPath, toggleSet, uEv, uRef, unitToSeconds };
|
|
207
|
+
export { DAY_SECONDS, DEFAULT_DRAG_BLOCKED_SELECTOR, DEFAULT_PORTAL_SELECTOR, HOUR_SECONDS, MINUTE_SECONDS, SPACING_CSS, WEEK_SECONDS, addDays, addToDate, ariaIds, clamp, cn, compareDay, defaultListboxFilterFn, filterListboxOptions, findListboxOption, flattenResolvedListboxGroups, formatAriaKeyShortcuts, formatBytes, formatHHmm, formatHourLabel, formatHourTime, formatInTimeZone, formatKeyboardShortcut, formatLocalDate, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getCtx, getDurationUnitAndValue, getFormControlState, getListboxDisplayValue, getListboxOptionDomId, getListboxOptionText, getListboxPath, getSupportedTimezones, getTimezoneOffsetMinutes, getTranslateXFromTransform, getWeekDays, getWeekStart, getZonedParts, handleRovingFocus, isDragBlockedTarget, isEditableTarget, isExistingLocalDate, isOutsideFormInteraction, isSameDay, isSameZonedDay, isValidTimeZone, liveStatus, localeToBcp47, matchListboxOption, matchesKeyboardShortcut, mergeSlotProps, moveArrayItem, omit, parseKeyboardShortcut, parseLocalDate, pick, plural, pluralEn, pluralRu, renderChildren, resolveListboxGroups, secondsToUnit, set, spacingCss, startOfDay, toCssSize, toPath, toggleSet, uEv, uRef, unitToSeconds };
|
|
205
208
|
export type { DateAddUnit, Density, DurationUnit, DurationUnitValue, EnrichedThroughChild, EnrichedThroughFn, GroupGap, KeyboardShortcutParts, ListboxFilterFn, ListboxGroup, ListboxOption, PluralForms, PropertyPath, RenderChildrenFn, RenderChildrenOptions, ResolvedListboxGroup, SpacingToken, SpacingValue, SurfaceVariant, WeekStartsOn, WithEnrichedChildren, ZonedDateParts };
|
package/types/index.d.ts
CHANGED
|
@@ -1544,7 +1544,7 @@ type TooltipBaseProps = {
|
|
|
1544
1544
|
};
|
|
1545
1545
|
type TooltipProps = WithEnrichedChildren<TooltipBaseProps, TooltipTriggerProps>;
|
|
1546
1546
|
|
|
1547
|
-
declare const Tooltip: ({ content, side, children, className, disabled, open, defaultOpen, openDelay, closeDelay, wrap: _wrap, rootRef, }: TooltipProps) => string | number | boolean | React.JSX.Element |
|
|
1547
|
+
declare const Tooltip: ({ content, side, children, className, disabled, open, defaultOpen, openDelay, closeDelay, wrap: _wrap, rootRef, }: TooltipProps) => string | number | boolean | Iterable<ReactNode> | React.JSX.Element | null | undefined;
|
|
1548
1548
|
|
|
1549
1549
|
interface UploadZoneProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange'> {
|
|
1550
1550
|
onChange?: (files: FileList) => void;
|
|
@@ -1738,29 +1738,10 @@ declare const Overflow: typeof OverflowRoot & {
|
|
|
1738
1738
|
|
|
1739
1739
|
type SelectOption = ListboxOption;
|
|
1740
1740
|
type SelectSelectionMode = 'single' | 'multiple' | 'path';
|
|
1741
|
-
type
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
popoverTargetAction?: PopoverTargetAction;
|
|
1746
|
-
listboxId: string;
|
|
1747
|
-
activeDescendantId?: string;
|
|
1748
|
-
'aria-expanded'?: boolean;
|
|
1749
|
-
chevron: ReactNode;
|
|
1750
|
-
onClick: React__default.MouseEventHandler<HTMLElement>;
|
|
1751
|
-
onFocus: React__default.FocusEventHandler<HTMLElement>;
|
|
1752
|
-
onKeyDown: React__default.KeyboardEventHandler<HTMLElement>;
|
|
1753
|
-
}
|
|
1754
|
-
interface SelectSelectionState {
|
|
1755
|
-
value: string | string[];
|
|
1756
|
-
valueArray: string[];
|
|
1757
|
-
selectedOptions: SelectOption[];
|
|
1758
|
-
selectionMode: SelectSelectionMode;
|
|
1759
|
-
hasValue: boolean;
|
|
1760
|
-
isReadOnly: boolean;
|
|
1761
|
-
removeOption: (optionValue: string) => void;
|
|
1762
|
-
clearValue: () => void;
|
|
1763
|
-
}
|
|
1741
|
+
type SelectInputProps = Partial<Omit<TextFieldProps<'input'>, 'as'>> & {
|
|
1742
|
+
as?: TextFieldAs;
|
|
1743
|
+
children?: ReactNode;
|
|
1744
|
+
};
|
|
1764
1745
|
interface SelectProps extends FieldBaseProps {
|
|
1765
1746
|
options: SelectOption[];
|
|
1766
1747
|
groups?: ListboxGroup[];
|
|
@@ -1781,17 +1762,8 @@ interface SelectProps extends FieldBaseProps {
|
|
|
1781
1762
|
popupRole?: 'listbox' | 'tree' | 'dialog' | 'menu';
|
|
1782
1763
|
filterable?: boolean;
|
|
1783
1764
|
filterPlaceholder?: string;
|
|
1784
|
-
allowCustom?: boolean;
|
|
1785
|
-
name?: string;
|
|
1786
|
-
required?: boolean;
|
|
1787
|
-
inputRef?: Ref<HTMLInputElement>;
|
|
1788
|
-
onFocus?: React__default.FocusEventHandler<HTMLInputElement>;
|
|
1789
|
-
onBlur?: React__default.FocusEventHandler<HTMLInputElement>;
|
|
1790
|
-
onClick?: React__default.MouseEventHandler<HTMLInputElement>;
|
|
1791
|
-
onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement>;
|
|
1792
1765
|
align?: DropdownAlign;
|
|
1793
1766
|
widthMode?: DropdownWidthMode;
|
|
1794
|
-
triggerMode?: SelectTriggerMode;
|
|
1795
1767
|
mobileTitle?: ReactNode;
|
|
1796
1768
|
mobileLeftControls?: ReactNode;
|
|
1797
1769
|
mobileRightControls?: ReactNode;
|
|
@@ -1803,9 +1775,7 @@ interface SelectProps extends FieldBaseProps {
|
|
|
1803
1775
|
noOptionsText?: string;
|
|
1804
1776
|
preventOptionMouseDown?: boolean;
|
|
1805
1777
|
listAriaLabel?: string;
|
|
1806
|
-
|
|
1807
|
-
onComboboxEnter?: () => void;
|
|
1808
|
-
onComboboxEscape?: () => void;
|
|
1778
|
+
inputProps?: SelectInputProps;
|
|
1809
1779
|
popupClassName?: string;
|
|
1810
1780
|
rootRef?: Ref<HTMLDivElement>;
|
|
1811
1781
|
className?: string;
|
|
@@ -1813,7 +1783,7 @@ interface SelectProps extends FieldBaseProps {
|
|
|
1813
1783
|
'aria-label'?: string;
|
|
1814
1784
|
}
|
|
1815
1785
|
|
|
1816
|
-
declare const Select: ({ options, groups, selectionMode, value: controlledValue, defaultValue, onChange, defaultOpen, onOpenChange, disabled, readOnly, closeOnSelect, filterFn, filterQuery: controlledFilterQuery, defaultFilterQuery, onFilterQueryChange, placeholder, loading, separator, popupRole, filterable, filterPlaceholder,
|
|
1786
|
+
declare const Select: ({ options, groups, selectionMode, value: controlledValue, defaultValue, onChange, defaultOpen, onOpenChange, disabled, readOnly, closeOnSelect, filterFn, filterQuery: controlledFilterQuery, defaultFilterQuery, onFilterQueryChange, placeholder, loading, separator, popupRole, filterable, filterPlaceholder, align, widthMode, mobileTitle, mobileLeftControls, mobileRightControls, panelScroll, navigation, highlightedIndex, onHighlightChange, showCheck, noOptionsText: noOptionsTextProp, preventOptionMouseDown, listAriaLabel, inputProps, popupClassName, rootRef, className, id: providedId, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, "aria-label": ariaLabel, }: SelectProps) => React.JSX.Element;
|
|
1817
1787
|
|
|
1818
1788
|
type SuggestFieldOption = SelectOption;
|
|
1819
1789
|
interface SuggestFieldProps extends FieldBaseProps {
|
|
@@ -1836,7 +1806,7 @@ interface SuggestFieldProps extends FieldBaseProps {
|
|
|
1836
1806
|
'aria-label'?: string;
|
|
1837
1807
|
}
|
|
1838
1808
|
|
|
1839
|
-
declare const SuggestField: ({ value, defaultValue, onChange, width, noOptionsText, label, "aria-label": ariaLabel, postfix: _postfix, ...props }: SuggestFieldProps) => React.JSX.Element;
|
|
1809
|
+
declare const SuggestField: ({ options, value, defaultValue, onChange, width, noOptionsText, label, placeholder, name, required, inputRef, onFocus, onBlur, onClick, onKeyDown, "aria-label": ariaLabel, postfix: _postfix, ...props }: SuggestFieldProps) => React.JSX.Element;
|
|
1840
1810
|
|
|
1841
1811
|
type AutocompleteFieldOption = SelectOption;
|
|
1842
1812
|
interface AutocompleteFieldProps extends FieldBaseProps {
|
|
@@ -1859,7 +1829,7 @@ interface AutocompleteFieldProps extends FieldBaseProps {
|
|
|
1859
1829
|
'aria-label'?: string;
|
|
1860
1830
|
}
|
|
1861
1831
|
|
|
1862
|
-
declare const AutocompleteField: ({ value, defaultValue, onChange, width, noOptionsText, label, "aria-label": ariaLabel, postfix: _postfix, ...props }: AutocompleteFieldProps) => React.JSX.Element;
|
|
1832
|
+
declare const AutocompleteField: ({ options, value, defaultValue, onChange, width, noOptionsText, label, placeholder, name, required, inputRef, onFocus, onBlur, onClick, onKeyDown, "aria-label": ariaLabel, postfix: _postfix, ...props }: AutocompleteFieldProps) => React.JSX.Element;
|
|
1863
1833
|
|
|
1864
1834
|
type MultiSelectOption = SelectOption;
|
|
1865
1835
|
interface MultiSelectProps extends FieldBaseProps {
|
|
@@ -1895,7 +1865,7 @@ interface MultiSelectProps extends FieldBaseProps {
|
|
|
1895
1865
|
'aria-label'?: string;
|
|
1896
1866
|
}
|
|
1897
1867
|
|
|
1898
|
-
declare const MultiSelect: ({ options, groups, value, defaultValue, onChange, placeholder, loading, disabled, readOnly, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, className, id: providedId, "aria-label": ariaLabel, listAriaLabel, noOptionsText, filterable, filterPlaceholder, showCheck, ...popupProps }: MultiSelectProps) => React.JSX.Element;
|
|
1868
|
+
declare const MultiSelect: ({ options, groups, value: controlledValue, defaultValue, onChange, placeholder, loading, disabled, readOnly, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, className, id: providedId, "aria-label": ariaLabel, listAriaLabel, noOptionsText, filterable, filterPlaceholder, showCheck, widthMode, ...popupProps }: MultiSelectProps) => React.JSX.Element;
|
|
1899
1869
|
|
|
1900
1870
|
type LayoutNodeRef = Ref<HTMLElement> | Ref<HTMLDivElement> | Ref<HTMLSpanElement> | Ref<HTMLUListElement> | Ref<HTMLOListElement> | Ref<HTMLLIElement>;
|
|
1901
1871
|
type LayoutGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -2763,8 +2733,8 @@ declare const CalendarBoard: (({ children, view: controlledView, defaultView, on
|
|
|
2763
2733
|
Week: ({ className, showScheduleHeader, showScheduleNav, rootRef, ...rest }: CalendarBoardWeekProps) => React.JSX.Element;
|
|
2764
2734
|
Day: ({ className, showScheduleHeader, showScheduleNav, rootRef, ...rest }: CalendarBoardDayProps) => React.JSX.Element;
|
|
2765
2735
|
Year: ({ className, rootRef, ...rest }: CalendarBoardYearProps) => React.JSX.Element;
|
|
2766
|
-
TaskChip: ({ task, layout, continuesBefore, continuesAfter, timeLabel, className, style, highlighted: highlightedProp, rootRef, ...rest }: CalendarBoardTaskChipProps) => string | number | boolean | React.
|
|
2736
|
+
TaskChip: ({ task, layout, continuesBefore, continuesAfter, timeLabel, className, style, highlighted: highlightedProp, rootRef, ...rest }: CalendarBoardTaskChipProps) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
2767
2737
|
};
|
|
2768
2738
|
|
|
2769
2739
|
export { Accordion, ActionItem, ActionList, ActionSheetTrigger, Alert, AspectRatio, Attachment, AutocompleteField, Avatar, AvatarGroup, Badge, BarChart, Box, Bubble, Button, ButtonGroup, ButtonIcon, Calendar, CalendarBoard, Card, Checkbox, CheckboxGroup, Chip, ChipGroup, Collapse, ColorSwatchGroup, CommandPalette, ConfirmDialog, Container, ControlRow, DateField, DateRangeField, DayStripCalendar, DescriptionList, DialogLayout, DonutChart, Dropdown, EmptyState, FieldBaseButton, FieldBaseIcon, FieldGroup, FieldLabel, Fieldset, FileList$1 as FileList, FileUploader, FormMessage, Gap, Grid, GridItem, ImageCrop, ImageGallery, ImageLightbox, Inline, Item, Kbd, KbdGroup, Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutItem, LayoutRoot, LineChart, Link, Listbox, LiveRegion, LocaleProvider, Marker, MaskedField, Media, Menu, Modal, MultiSelect, Notification, NotificationProvider, NumberField, Overflow, Overlay, Page, Pagination, PasswordField, PinInput, Popover, PopupSwitch, Progress, ProgressCircle, PullToRefresh, Radio, RadioGroup, Rating, RelativeTime, SafeArea, ScrollArea, SearchField, SegmentedControl, Select, Separator, Sheet, Sidebar, Skeleton, SkipLink, Slider, SortableList, Spinner, Split, Stack, StatBadge, Steps, SuggestField, SwipeToAction, Switch, Table, Tabs, Text, TextField, TextareaField, ThemeProvider, TimeField, Timeline, Title, Tooltip, UploadZone, VirtualList, VisuallyHidden, WheelTimePicker, dismiss, dismissAll, en, formatRelativeTime, getPasswordStrength, notify, ru, useCalendarBoardContext, useCalendarBoardTaskHover, useLocale, useNotify, useT, useTheme };
|
|
2770
|
-
export type { AccordionItemData, AccordionItemProps, AccordionProps, AccordionVariant, ActionItemProps, ActionListGroup, ActionListItem, ActionListProps, ActionSheetTriggerProps, AlertLayout, AlertProps, AlertVariant, AspectRatioProps, AttachmentProps, AttachmentSize, AttachmentStatus, AutocompleteFieldOption, AutocompleteFieldProps, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, BadgePosition, BadgeProps, BadgeSize, BadgeVariant, BarChartDataset, BarChartProps, BoxAs, BoxBorderStyle, BoxProps, BoxRadius, BoxShadow, BoxVariant, BubbleAlign, BubbleProps, BubbleReaction, BubbleVariant, ButtonGroupItemFit, ButtonGroupOrientation, ButtonGroupRootProps, ButtonGroupVariant, ButtonIconProps, ButtonProps, ButtonVariant, CalendarBoardBodyProps, CalendarBoardDayCellRenderProps, CalendarBoardDayProps, CalendarBoardHeaderProps, CalendarBoardMonthProps, CalendarBoardNavProps, CalendarBoardProviderProps, CalendarBoardRootProps, CalendarBoardTask, CalendarBoardTaskChipProps, CalendarBoardTaskLayout, CalendarBoardTaskRenderProps, CalendarBoardTitleProps, CalendarBoardView, CalendarBoardWeekProps, CalendarBoardYearMonthRenderProps, CalendarBoardYearProps, CalendarBodyProps, CalendarContextValue, CalendarDayCell, CalendarDayCellRenderProps, CalendarHeaderProps, CalendarNavProps, CalendarProviderProps, CalendarRootProps, CalendarScheduleEvent, CalendarSelectionMode, CalendarTitleProps, CalendarViewMode, CardProps, CardVariant, CheckboxGroupProps, CheckboxMode, CheckboxProps, ChipGroupGap, ChipGroupProps, ChipMode, ChipProps, ChipVariant, CollapseProps, ColorSwatchGroupProps, Column, ActionListGroup as CommandPaletteGroup, ActionListItem as CommandPaletteItem, CommandPaletteProps, ConfirmDialogProps, ConfirmDialogSecondaryAction, ContainerProps, ContainerSize, ControlRowProps, ControlSize, DateFieldProps, DateRangeFieldProps, DateRangeValue, DayStripCalendarProps, DayStripDayRenderProps, DeepPartialMessages, DescriptionListItem, DescriptionListProps, DialogLayoutProps, DonutChartProps, DropdownAlign, DropdownPanelScroll, DropdownPanelState, DropdownPopup, DropdownPopupRole, DropdownProps, DropdownTriggerAttrs, DropdownTriggerMode, DropdownTriggerSlotProps, DropdownWidthMode, EmptyStateProps, EmptyStateSize, FieldBaseButtonProps, FieldBaseIconProps, FieldBaseProps, FieldGroupProps, FieldGroupWidth, FieldLabelAlign, FieldLabelJustify, FieldLabelLayout, FieldLabelProps, FieldWidth, FieldsetProps, FieldsetVariant, FileListItemProps, FileListItemStatus, FileListRootProps, FileUploaderFile, FileUploaderProps, FormMessageProps, FormMessageVariant, GapOrientation, GapProps, GridGapToken, GridItemProps, GridMode, GridProps, ImageCropProps, ImageCropResult, ImageCropShape, ImageGalleryItem, ImageGalleryProps, ImageLightboxProps, InlineProps, ItemMediaVariant, ItemProps, ItemSize, ItemVariant, KbdGroupProps, KbdProps, LabelSide, LayoutAlign, LayoutContentProps, LayoutFooterAlign, LayoutFooterProps, LayoutGap, LayoutHeaderProps, LayoutItemProps, LayoutJustify, LayoutRootProps, LayoutSpacing, LineChartProps, LinkProps, LinkSize, LinkStatus, LinkVariant, ListboxEntry, ListboxFilterFn, ListboxGroup, ListboxHandle, ListboxNavigation, ListboxOption, ListboxProps, ListboxSeparator, LiveRegionProps, LocaleCode, LocaleProviderProps, MarkerProps, MarkerVariant, MaskedFieldProps, MediaProps, MenuProps, MenuTrigger, Messages, ModalBodyProps, ModalFooterAlign, ModalFooterProps, ModalHeaderProps, ModalProps, ModalRootProps, MultiSelectOption, MultiSelectProps, NotificationAction, NotificationItem, NotificationPosition, NotificationProps, NotificationProviderProps, NotificationViewportProps, NotifyInput, NumberFieldProps, OverflowDisplay, OverflowFit, OverflowGap, OverflowItemProps, OverflowProps, OverlayBaseProps, OverlayFloatingProps, OverlayModalProps, OverlayProps, OverlaySheetProps, OverlaySheetSide, OverlayVariant, PageProps, PaginationControlsProps, PaginationPageSizeProps, PaginationProps, PaginationRootProps, PaginationSummaryProps, PasswordFieldProps, PasswordStrength, PinInputProps, PopoverContentVariant, PopoverProps, PopoverTargetAction, PopoverTriggerSlotProps, PopupSwitchAlign, PopupSwitchOption, PopupSwitchProps, PopupSwitchVariant, PopupSwitchWidth, ProgressCircleProps, ProgressProps, ProgressVariant, PullToRefreshProps, RadioGroupProps, RadioProps, RangeValue, RatingProps, RelativeTimeProps, ResolvedListboxGroup, SafeAreaEdges, SafeAreaProps, ScrollAreaProps, SearchFieldProps, SegmentOption, SegmentedControlProps, SegmentedControlVariant, SegmentedItemFit,
|
|
2740
|
+
export type { AccordionItemData, AccordionItemProps, AccordionProps, AccordionVariant, ActionItemProps, ActionListGroup, ActionListItem, ActionListProps, ActionSheetTriggerProps, AlertLayout, AlertProps, AlertVariant, AspectRatioProps, AttachmentProps, AttachmentSize, AttachmentStatus, AutocompleteFieldOption, AutocompleteFieldProps, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, BadgePosition, BadgeProps, BadgeSize, BadgeVariant, BarChartDataset, BarChartProps, BoxAs, BoxBorderStyle, BoxProps, BoxRadius, BoxShadow, BoxVariant, BubbleAlign, BubbleProps, BubbleReaction, BubbleVariant, ButtonGroupItemFit, ButtonGroupOrientation, ButtonGroupRootProps, ButtonGroupVariant, ButtonIconProps, ButtonProps, ButtonVariant, CalendarBoardBodyProps, CalendarBoardDayCellRenderProps, CalendarBoardDayProps, CalendarBoardHeaderProps, CalendarBoardMonthProps, CalendarBoardNavProps, CalendarBoardProviderProps, CalendarBoardRootProps, CalendarBoardTask, CalendarBoardTaskChipProps, CalendarBoardTaskLayout, CalendarBoardTaskRenderProps, CalendarBoardTitleProps, CalendarBoardView, CalendarBoardWeekProps, CalendarBoardYearMonthRenderProps, CalendarBoardYearProps, CalendarBodyProps, CalendarContextValue, CalendarDayCell, CalendarDayCellRenderProps, CalendarHeaderProps, CalendarNavProps, CalendarProviderProps, CalendarRootProps, CalendarScheduleEvent, CalendarSelectionMode, CalendarTitleProps, CalendarViewMode, CardProps, CardVariant, CheckboxGroupProps, CheckboxMode, CheckboxProps, ChipGroupGap, ChipGroupProps, ChipMode, ChipProps, ChipVariant, CollapseProps, ColorSwatchGroupProps, Column, ActionListGroup as CommandPaletteGroup, ActionListItem as CommandPaletteItem, CommandPaletteProps, ConfirmDialogProps, ConfirmDialogSecondaryAction, ContainerProps, ContainerSize, ControlRowProps, ControlSize, DateFieldProps, DateRangeFieldProps, DateRangeValue, DayStripCalendarProps, DayStripDayRenderProps, DeepPartialMessages, DescriptionListItem, DescriptionListProps, DialogLayoutProps, DonutChartProps, DropdownAlign, DropdownPanelScroll, DropdownPanelState, DropdownPopup, DropdownPopupRole, DropdownProps, DropdownTriggerAttrs, DropdownTriggerMode, DropdownTriggerSlotProps, DropdownWidthMode, EmptyStateProps, EmptyStateSize, FieldBaseButtonProps, FieldBaseIconProps, FieldBaseProps, FieldGroupProps, FieldGroupWidth, FieldLabelAlign, FieldLabelJustify, FieldLabelLayout, FieldLabelProps, FieldWidth, FieldsetProps, FieldsetVariant, FileListItemProps, FileListItemStatus, FileListRootProps, FileUploaderFile, FileUploaderProps, FormMessageProps, FormMessageVariant, GapOrientation, GapProps, GridGapToken, GridItemProps, GridMode, GridProps, ImageCropProps, ImageCropResult, ImageCropShape, ImageGalleryItem, ImageGalleryProps, ImageLightboxProps, InlineProps, ItemMediaVariant, ItemProps, ItemSize, ItemVariant, KbdGroupProps, KbdProps, LabelSide, LayoutAlign, LayoutContentProps, LayoutFooterAlign, LayoutFooterProps, LayoutGap, LayoutHeaderProps, LayoutItemProps, LayoutJustify, LayoutRootProps, LayoutSpacing, LineChartProps, LinkProps, LinkSize, LinkStatus, LinkVariant, ListboxEntry, ListboxFilterFn, ListboxGroup, ListboxHandle, ListboxNavigation, ListboxOption, ListboxProps, ListboxSeparator, LiveRegionProps, LocaleCode, LocaleProviderProps, MarkerProps, MarkerVariant, MaskedFieldProps, MediaProps, MenuProps, MenuTrigger, Messages, ModalBodyProps, ModalFooterAlign, ModalFooterProps, ModalHeaderProps, ModalProps, ModalRootProps, MultiSelectOption, MultiSelectProps, NotificationAction, NotificationItem, NotificationPosition, NotificationProps, NotificationProviderProps, NotificationViewportProps, NotifyInput, NumberFieldProps, OverflowDisplay, OverflowFit, OverflowGap, OverflowItemProps, OverflowProps, OverlayBaseProps, OverlayFloatingProps, OverlayModalProps, OverlayProps, OverlaySheetProps, OverlaySheetSide, OverlayVariant, PageProps, PaginationControlsProps, PaginationPageSizeProps, PaginationProps, PaginationRootProps, PaginationSummaryProps, PasswordFieldProps, PasswordStrength, PinInputProps, PopoverContentVariant, PopoverProps, PopoverTargetAction, PopoverTriggerSlotProps, PopupSwitchAlign, PopupSwitchOption, PopupSwitchProps, PopupSwitchVariant, PopupSwitchWidth, ProgressCircleProps, ProgressProps, ProgressVariant, PullToRefreshProps, RadioGroupProps, RadioProps, RangeValue, RatingProps, RelativeTimeProps, ResolvedListboxGroup, SafeAreaEdges, SafeAreaProps, ScrollAreaProps, SearchFieldProps, SegmentOption, SegmentedControlProps, SegmentedControlVariant, SegmentedItemFit, SelectInputProps, SelectOption, SelectProps, SelectSelectionMode, SeparatorOrientation, SeparatorProps, SeparatorSpace, SheetBodyProps, SheetDirection, SheetFooterAlign, SheetFooterProps, SheetHeaderProps, SheetMode, SheetProps, SidebarContentProps, SidebarFooterProps, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMobileTriggerProps, SidebarProps, SidebarTitleProps, SkeletonProps, SkeletonVariant, SkipLinkProps, SliderProps, SliderRangeProps, SliderSingleProps, SortableItem, SortableListProps, SortableListVariant, SpinnerProps, SpinnerSize, SpinnerVariant, SplitProps, StackProps, StatBadgeProps, StepItem, StepStatus, StepsProps, SuggestFieldOption, SuggestFieldProps, SwipeAction, SwipeToActionProps, SwitchLabelSide, SwitchProps, TableDensity, TableEmptyConfig, TablePagination, TableProps, TableRowActionsProps, TableSortDirection, TabsItem, TabsListProps, TabsOrientation, TabsPanelProps, TabsProps, TabsTriggerProps, TabsVariant, TextFieldAs, TextFieldProps, TextFieldRef, TextProps, TextareaFieldProps, Theme, ThemeApplyTarget, ThemeProviderProps, TimeFieldProps, TimePopupProps, TimeValue, TimelineItem, TimelineItemStatus, TimelineProps, TitleProps, TooltipProps, TooltipSide, TooltipTriggerProps, TranslationParams, UploadZoneProps, VirtualListAlign, VirtualListHandle, VirtualListOnRangeChangeOptions, VirtualListProps, VirtualListRange, VirtualListRenderItemInfo, VirtualScrollMetrics, VirtualScrollMetricsStore, VisuallyHiddenProps, WheelTimePickerProps };
|