altum 0.0.1 → 0.0.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +21 -4
  2. package/README.md +10 -10
  3. package/dist/base/ButtonBase/ButtonBase.module.css.js +1 -1
  4. package/dist/base/ChartBase/ChartBase.module.css.js +1 -1
  5. package/dist/base/DialogBase/DialogBase.js +1 -1
  6. package/dist/base/DialogBase/DialogBase.module.css.js +1 -1
  7. package/dist/base/FieldBase/FieldBase.js +1 -1
  8. package/dist/base/FieldBase/FieldBase.module.css.js +1 -1
  9. package/dist/base/ToggleControlBase/ToggleControlBase.module.css.js +1 -1
  10. package/dist/components/Accordion/Accordion.js +1 -1
  11. package/dist/components/Accordion/Accordion.module.css.js +1 -1
  12. package/dist/components/ActionList/ActionList.js +1 -1
  13. package/dist/components/ActionList/ActionList.module.css.js +1 -1
  14. package/dist/components/ActionSheetTrigger/ActionSheetTrigger.module.css.js +1 -1
  15. package/dist/components/Alert/Alert.js +1 -1
  16. package/dist/components/Alert/Alert.module.css.js +1 -1
  17. package/dist/components/AspectRatio/AspectRatio.module.css.js +1 -1
  18. package/dist/components/Attachment/Attachment.js +1 -1
  19. package/dist/components/Attachment/Attachment.module.css.js +1 -1
  20. package/dist/components/Avatar/Avatar.module.css.js +1 -1
  21. package/dist/components/Backdrop/Backdrop.module.css.js +1 -1
  22. package/dist/components/Badge/Badge.module.css.js +1 -1
  23. package/dist/components/BarChart/BarChart.module.css.js +1 -1
  24. package/dist/components/Box/Box.module.css.js +1 -1
  25. package/dist/components/Bubble/Bubble.module.css.js +1 -1
  26. package/dist/components/Button/Button.module.css.js +1 -1
  27. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  28. package/dist/components/ButtonGroup/ButtonGroup.module.css.js +1 -1
  29. package/dist/components/ButtonIcon/ButtonIcon.js +1 -1
  30. package/dist/components/ButtonIcon/ButtonIcon.module.css.js +1 -1
  31. package/dist/components/Calendar/Calendar.module.css.js +1 -1
  32. package/dist/components/CalendarBoard/CalendarBoard.EventBar.module.css.js +1 -1
  33. package/dist/components/CalendarBoard/CalendarBoard.Schedule.module.css.js +1 -1
  34. package/dist/components/CalendarBoard/CalendarBoard.TimedEvent.module.css.js +1 -1
  35. package/dist/components/CalendarBoard/CalendarBoard.module.css.js +1 -1
  36. package/dist/components/Card/Card.js +1 -1
  37. package/dist/components/Card/Card.module.css.js +1 -1
  38. package/dist/components/Chip/Chip.js +1 -1
  39. package/dist/components/Chip/Chip.module.css.js +1 -1
  40. package/dist/components/Collapse/Collapse.module.css.js +1 -1
  41. package/dist/components/ColorSwatchGroup/ColorSwatchGroup.module.css.js +1 -1
  42. package/dist/components/CommandPalette/CommandPalette.js +1 -1
  43. package/dist/components/CommandPalette/CommandPalette.module.css.js +1 -1
  44. package/dist/components/ConfirmDialog/ConfirmDialog.module.css.js +1 -1
  45. package/dist/components/Container/Container.module.css.js +1 -1
  46. package/dist/components/CustomSelect/CustomSelect.Filter.js +1 -1
  47. package/dist/components/CustomSelect/CustomSelect.Shell.js +1 -1
  48. package/dist/components/CustomSelect/CustomSelect.Shell.module.css.js +1 -1
  49. package/dist/components/CustomSelect/CustomSelect.js +1 -1
  50. package/dist/components/CustomSelect/CustomSelect.module.css.js +1 -1
  51. package/dist/components/DatePicker/DatePicker.js +1 -1
  52. package/dist/components/DatePicker/DatePicker.utils.js +1 -1
  53. package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
  54. package/dist/components/DateRangePicker/DateRangePicker.module.css.js +1 -1
  55. package/dist/components/DayStripCalendar/DayStripCalendar.module.css.js +1 -1
  56. package/dist/components/DescriptionList/DescriptionList.module.css.js +1 -1
  57. package/dist/components/DonutChart/DonutChart.module.css.js +1 -1
  58. package/dist/components/Dropdown/Dropdown.js +1 -1
  59. package/dist/components/Dropdown/Dropdown.module.css.js +1 -1
  60. package/dist/components/EmptyState/EmptyState.module.css.js +1 -1
  61. package/dist/components/FieldLabel/FieldLabel.module.css.js +1 -1
  62. package/dist/components/Fieldset/Fieldset.module.css.js +1 -1
  63. package/dist/components/FileList/FileList.module.css.js +1 -1
  64. package/dist/components/FormMessage/FormMessage.module.css.js +1 -1
  65. package/dist/components/GrabHandle/GrabHandle.module.css.js +1 -1
  66. package/dist/components/Grid/Grid.module.css.js +1 -1
  67. package/dist/components/ImageCrop/ImageCrop.module.css.js +1 -1
  68. package/dist/components/ImageGallery/ImageGallery.js +1 -1
  69. package/dist/components/ImageGallery/ImageGallery.module.css.js +1 -1
  70. package/dist/components/ImageLightbox/ImageLightbox.js +1 -1
  71. package/dist/components/ImageLightbox/ImageLightbox.module.css.js +1 -1
  72. package/dist/components/Item/Item.js +1 -1
  73. package/dist/components/Item/Item.module.css.js +1 -1
  74. package/dist/components/Kbd/Kbd.module.css.js +1 -1
  75. package/dist/components/Layout/Layout.module.css.js +1 -1
  76. package/dist/components/Layout/flexPrimitives.module.css.js +1 -1
  77. package/dist/components/LineChart/LineChart.module.css.js +1 -1
  78. package/dist/components/Link/Link.module.css.js +1 -1
  79. package/dist/components/Listbox/Listbox.js +1 -1
  80. package/dist/components/Listbox/Listbox.module.css.js +1 -1
  81. package/dist/components/Marker/Marker.js +1 -1
  82. package/dist/components/Marker/Marker.module.css.js +1 -1
  83. package/dist/components/MaskedField/MaskedField.js +1 -1
  84. package/dist/components/MaskedField/MaskedField.module.css.js +1 -1
  85. package/dist/components/Media/Media.module.css.js +1 -1
  86. package/dist/components/Menu/Menu.js +1 -0
  87. package/dist/components/Menu/Menu.module.css.js +1 -0
  88. package/dist/components/Modal/Modal.js +1 -1
  89. package/dist/components/Modal/Modal.module.css.js +1 -1
  90. package/dist/components/Notification/Notification.js +1 -1
  91. package/dist/components/Notification/Notification.module.css.js +1 -1
  92. package/dist/components/NumberField/NumberField.module.css.js +1 -1
  93. package/dist/components/Overflow/Overflow.js +1 -0
  94. package/dist/components/Overflow/Overflow.module.css.js +1 -0
  95. package/dist/components/Overflow/OverflowActionsMode.js +1 -0
  96. package/dist/components/Overflow/OverflowMeasure.js +1 -0
  97. package/dist/components/Overlay/Overlay.Focus.js +1 -1
  98. package/dist/components/Overlay/Overlay.Root.js +1 -1
  99. package/dist/components/Overlay/Overlay.module.css.js +1 -1
  100. package/dist/components/Pagination/Pagination.js +1 -1
  101. package/dist/components/Pagination/Pagination.module.css.js +1 -1
  102. package/dist/components/PasswordField/PasswordField.module.css.js +1 -1
  103. package/dist/components/PinInput/PinInput.module.css.js +1 -1
  104. package/dist/components/Popover/Popover.js +1 -1
  105. package/dist/components/Popover/Popover.module.css.js +1 -1
  106. package/dist/components/Progress/Progress.module.css.js +1 -1
  107. package/dist/components/PullToRefresh/PullToRefresh.module.css.js +1 -1
  108. package/dist/components/Rating/Rating.module.css.js +1 -1
  109. package/dist/components/SafeArea/SafeArea.module.css.js +1 -1
  110. package/dist/components/ScrollArea/ScrollArea.module.css.js +1 -1
  111. package/dist/components/SearchField/SearchField.module.css.js +1 -1
  112. package/dist/components/SegmentedControl/SegmentedControl.js +1 -1
  113. package/dist/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
  114. package/dist/components/Select/Select.js +1 -1
  115. package/dist/components/Select/Select.module.css.js +1 -1
  116. package/dist/components/SelectionGroup/SelectionGroup.js +1 -1
  117. package/dist/components/SelectionGroup/SelectionGroup.module.css.js +1 -1
  118. package/dist/components/Separator/Separator.module.css.js +1 -1
  119. package/dist/components/Sheet/Sheet.js +1 -1
  120. package/dist/components/Sheet/Sheet.module.css.js +1 -1
  121. package/dist/components/Sidebar/Sidebar.module.css.js +1 -1
  122. package/dist/components/Skeleton/Skeleton.js +1 -1
  123. package/dist/components/Skeleton/Skeleton.module.css.js +1 -1
  124. package/dist/components/SkipLink/SkipLink.module.css.js +1 -1
  125. package/dist/components/Slider/Slider.module.css.js +1 -1
  126. package/dist/components/SortableList/SortableList.module.css.js +1 -1
  127. package/dist/components/Spinner/Spinner.module.css.js +1 -1
  128. package/dist/components/StatBadge/StatBadge.module.css.js +1 -1
  129. package/dist/components/Steps/Steps.module.css.js +1 -1
  130. package/dist/components/SuggestField/SuggestField.js +1 -1
  131. package/dist/components/SuggestField/SuggestField.module.css.js +1 -1
  132. package/dist/components/SwipeToAction/SwipeToAction.module.css.js +1 -1
  133. package/dist/components/Switch/Switch.module.css.js +1 -1
  134. package/dist/components/Table/Table.module.css.js +1 -1
  135. package/dist/components/Table/Table.slots.js +1 -1
  136. package/dist/components/Table/TableContext.js +1 -1
  137. package/dist/components/Table/TableRow.js +1 -1
  138. package/dist/components/Table/TableRowActions.js +1 -1
  139. package/dist/components/Table/TableView.js +1 -1
  140. package/dist/components/Tabs/Tabs.js +1 -1
  141. package/dist/components/Tabs/Tabs.module.css.js +1 -1
  142. package/dist/components/Text/Text.module.css.js +1 -1
  143. package/dist/components/TextField/TextField.js +1 -1
  144. package/dist/components/TextField/TextField.module.css.js +1 -1
  145. package/dist/components/TextareaField/TextareaField.module.css.js +1 -1
  146. package/dist/components/ThemeProvider/ThemeProvider.module.css.js +1 -1
  147. package/dist/components/TimePicker/TimePicker.js +1 -1
  148. package/dist/components/TimePicker/TimePicker.module.css.js +1 -1
  149. package/dist/components/Timeline/Timeline.module.css.js +1 -1
  150. package/dist/components/Title/Title.module.css.js +1 -1
  151. package/dist/components/Tooltip/Tooltip.js +1 -1
  152. package/dist/components/Tooltip/Tooltip.module.css.js +1 -1
  153. package/dist/components/UploadZone/UploadZone.module.css.js +1 -1
  154. package/dist/components/VirtualList/VirtualList.module.css.js +1 -1
  155. package/dist/components/VisuallyHidden/VisuallyHidden.module.css.js +1 -1
  156. package/dist/index.js +1 -1
  157. package/dist/locales/en.js +1 -1
  158. package/dist/locales/ru.js +1 -1
  159. package/dist/styles/ControlTrack.module.css.js +1 -0
  160. package/dist/styles/MediaItem.module.css.js +1 -0
  161. package/dist/utils/controlTrack.js +1 -1
  162. package/dist/utils/renderChildren.js +1 -1
  163. package/docs/COMPONENTS.md +24 -27
  164. package/docs/ICONS.md +6 -5
  165. package/docs/LAYOUT.md +2 -2
  166. package/docs/THEMING.md +30 -20
  167. package/package.json +5 -5
  168. package/types/entries/hooks.d.ts +1 -1
  169. package/types/index.d.ts +271 -450
  170. package/dist/base/ListOptionBase/ListOptionBase.js +0 -1
  171. package/dist/base/ListOptionBase/ListOptionBase.module.css.js +0 -1
  172. package/dist/base/MediaRowBase/MediaRowBase.js +0 -1
  173. package/dist/base/MediaRowBase/MediaRowBase.module.css.js +0 -1
  174. package/dist/components/ContextMenu/ContextMenu.js +0 -1
  175. package/dist/components/ContextMenu/ContextMenu.module.css.js +0 -1
  176. package/dist/components/DropdownMenu/DropdownMenu.js +0 -1
  177. package/dist/components/OverflowActions/OverflowActions.js +0 -1
  178. package/dist/components/OverflowActions/OverflowActions.module.css.js +0 -1
  179. package/dist/components/OverflowGroup/OverflowGroup.js +0 -1
  180. package/dist/components/OverflowGroup/OverflowGroup.module.css.js +0 -1
  181. package/dist/utils/controlTrack.module.css.js +0 -1
@@ -1 +1 @@
1
- "use client";import{jsx as a}from"react/jsx-runtime";import{forwardRef as b,useId as g,useRef as D,useEffect as K}from"react";import{cn as i}from"../../utils/cn.js";import{handleEnterKeyDown as O}from"../../utils/keyboard.js";import{composeEventHandlers as m}from"../../utils/composeEvents.js";import{composeRefs as Q}from"../../utils/composeRefs.js";import{useCustomSelectFilterContext as j,useCustomSelectSelectionContext as H,useCustomSelectOpenContext as L}from"./CustomSelect.context.js";import n from"./CustomSelect.module.css.js";import{useLocale as P}from"../../locales/localeContext.js";import{fieldSurfaceClassName as W}from"../../base/FieldBase/FieldBase.js";const c=b(function({placeholder:u,className:p,wrapperClassName:f,id:d,autoFocus:t=!0,onKeyDown:C,onChange:S,...h},F){const{t:v}=P(),o=u??v("customSelect.filterPlaceholder"),{filterQuery:x,setFilterQuery:y,filteredOptions:N}=j("CustomSelect.Filter"),{listboxId:w,selectOption:E}=H("CustomSelect.Filter"),{open:r}=L("CustomSelect.Filter"),I=g(),R=d??`${I}-filter`,l=D(null);return K(()=>{r&&t&&l.current?.focus({preventScroll:!0})},[t,r]),a("div",{className:i(n.filterWrapper,f),"data-label-placement":"none",children:a("input",{ref:Q(F,l),type:"search",className:i(W(),n.filterInput,p),value:x,placeholder:o,"aria-label":o,autoComplete:"off",...h,id:R,onChange:m(S,e=>{y(e.target.value)}),onKeyDown:m(C,e=>{O(e,()=>{const s=N[0];s&&E(s.value)})}),"aria-controls":w})})});c.displayName="CustomSelect.Filter";export{c as CustomSelectFilter};
1
+ "use client";import{jsx as e}from"react/jsx-runtime";import{forwardRef as g,useId as D,useRef as K,useEffect as O}from"react";import{cn as z}from"../../utils/cn.js";import{handleEnterKeyDown as Q}from"../../utils/keyboard.js";import{composeEventHandlers as m}from"../../utils/composeEvents.js";import{composeRefs as $}from"../../utils/composeRefs.js";import{useCustomSelectFilterContext as j,useCustomSelectSelectionContext as k,useCustomSelectOpenContext as B}from"./CustomSelect.context.js";import{TextField as H}from"../TextField/TextField.js";import{IconSearch as L}from"../../icons/icons/IconSearch.js";import T from"./CustomSelect.module.css.js";import{useLocale as W}from"../../locales/localeContext.js";import{FieldBase as q}from"../../base/FieldBase/FieldBase.js";const c=g(function({placeholder:n,label:a,className:u,wrapperClassName:p,id:f,autoFocus:o=!0,onKeyDown:d,onChange:C,size:h="sm",width:S="full",...F},x){const{t:w}=W(),r=n??w("customSelect.filterPlaceholder"),v=a??r,{filterQuery:y,setFilterQuery:b,filteredOptions:I}=j("CustomSelect.Filter"),{listboxId:N,selectOption:E}=k("CustomSelect.Filter"),{open:l}=B("CustomSelect.Filter"),P=D(),R=f??`${P}-filter`,s=K(null);return O(()=>{l&&o&&s.current?.focus({preventScroll:!0})},[o,l]),e("div",{className:z(T.filterWrapper,p),children:e(H,{...F,ref:$(x,s),id:R,type:"search",size:h,width:S,labelPlacement:"none",keepPlaceholder:!0,label:v,placeholder:r,value:y,autoComplete:"off",className:u,prefix:e(q.Icon,{children:e(L,{})}),onChange:m(C,t=>{b(t.target.value)}),onKeyDown:m(d,t=>{Q(t,()=>{const i=I[0];i&&E(i.value)})}),"aria-controls":N})})});c.displayName="CustomSelect.Filter";export{c as CustomSelectFilter};
@@ -1 +1 @@
1
- "use client";import{jsx as e,jsxs as E,Fragment as G}from"react/jsx-runtime";import{forwardRef as g}from"react";import{composeRefs as H}from"../../utils/composeRefs.js";import{cn as t}from"../../utils/cn.js";import r from"./CustomSelect.Shell.module.css.js";import{fieldSurfaceClassName as S,FieldBase as O}from"../../base/FieldBase/FieldBase.js";const b=g(function({open:o=!1,readOnly:n=!1,className:a,arrowClassName:s=r.arrow,arrowOpenClassName:h=r.open,readOnlyArrowClassName:i=r.readOnly,...u},f){return e("svg",{ref:f,className:t(s,o&&h,n&&i,a),viewBox:"0 0 24 24",...u,"aria-hidden":"true",children:e("path",{d:"M6 9l6 6 6-6"})})});b.displayName="CustomSelect.Chevron";const P=g(function({children:o,className:n,...a},s){return e("span",{ref:s,className:t(r.placeholder,n),...a,children:o})});P.displayName="CustomSelect.Placeholder";const z=g(function({triggerRef:o,triggerAttrs:n,id:a,label:s,size:h="md",labelPlacement:i="inline",width:u="full",error:f,helperText:A,disabled:d=!1,readOnly:l=!1,open:c,isInteractive:N,hasValue:I,className:R="",popupRole:C="listbox",children:k,sizerContent:D="\xA0",prefix:F,onClear:L,clearLabel:T,triggerClassName:y="",triggerAs:j="button",triggerProps:x,wrapperProps:B,...K},V){const{className:M,...p}=n,w=E(G,{children:[e("span",{className:r.triggerSizer,"aria-hidden":"true",children:D}),e("span",{className:r.triggerText,children:k})]}),v={onClick:m=>{if(!N){m.preventDefault();return}p.onClick?.(m)},onKeyDown:m=>{N&&p.onKeyDown?.(m)}},q=j==="button"?e("button",{...p,...x,id:a,type:"button",disabled:d,"aria-readonly":l||void 0,"aria-haspopup":C,"aria-expanded":c,className:t(S({readOnly:l}),r.trigger,y),...v,children:w}):e("div",{...p,...x,id:a,role:"combobox",tabIndex:d?void 0:0,"aria-disabled":d||void 0,"aria-readonly":l||void 0,"aria-haspopup":C,"aria-expanded":c,className:t(S({readOnly:l}),r.trigger,y),...v,children:w});return e(O.Layout,{label:s,labelPlacement:i,size:h,width:u,error:f,helperText:A,disabled:d,readOnly:l,prefix:F,postfix:e(O.Icon,{children:e(b,{open:c,readOnly:l})}),onClear:L,clearLabel:T,id:a,hasValue:I,open:c,className:t(M,i==="inline"&&r.placementInline,i!=="inline"&&r.placementFlush,R),control:q,ref:H(V,o),rootProps:{...K,...B}})});z.displayName="CustomSelect.Shell";export{b as CustomSelectChevron,P as CustomSelectPlaceholder,z as CustomSelectShell};
1
+ "use client";import{jsx as r,jsxs as E,Fragment as G}from"react/jsx-runtime";import{forwardRef as g}from"react";import{composeRefs as H}from"../../utils/composeRefs.js";import{cn as t}from"../../utils/cn.js";import e from"./CustomSelect.Shell.module.css.js";import{fieldSurfaceClassName as S,FieldBase as O}from"../../base/FieldBase/FieldBase.js";const b=g(function({open:n=!1,readOnly:o=!1,className:a,arrowClassName:i=e.arrow,arrowOpenClassName:f=e.open,readOnlyArrowClassName:s=e.readOnly,...d},h){return r("svg",{ref:h,className:t(i,n&&f,o&&s,a),viewBox:"0 0 24 24",...d,"aria-hidden":"true",children:r("path",{d:"M6 9l6 6 6-6"})})});b.displayName="CustomSelect.Chevron";const P=g(function({children:n,className:o,...a},i){return r("span",{ref:i,className:t(e.placeholder,o),...a,children:n})});P.displayName="CustomSelect.Placeholder";const z=g(function({triggerRef:n,triggerAttrs:o,id:a,label:i,size:f="md",labelPlacement:s="inline",width:d="md",error:h,helperText:A,disabled:c=!1,readOnly:l=!1,open:p,isInteractive:C,hasValue:I,className:R="",popupRole:N="listbox",children:k,sizerContent:D="\xA0",prefix:F,onClear:L,clearLabel:T,triggerClassName:y="",triggerAs:j="button",triggerProps:x,wrapperProps:B,...K},V){const{className:M,...m}=o,w=E(G,{children:[r("span",{className:e.triggerSizer,"aria-hidden":"true",children:D}),r("span",{className:e.triggerText,children:k})]}),v={onClick:u=>{if(!C){u.preventDefault();return}m.onClick?.(u)},onKeyDown:u=>{C&&m.onKeyDown?.(u)}},q=j==="button"?r("button",{...m,...x,id:a,type:"button",disabled:c,"aria-readonly":l||void 0,"aria-haspopup":N,"aria-expanded":p,className:t(S({readOnly:l}),e.trigger,y),...v,children:w}):r("div",{...m,...x,id:a,role:"combobox",tabIndex:c?void 0:0,"aria-disabled":c||void 0,"aria-readonly":l||void 0,"aria-haspopup":N,"aria-expanded":p,className:t(S({readOnly:l}),e.trigger,y),...v,children:w});return r(O.Layout,{label:i,labelPlacement:s,size:f,width:d,error:h,helperText:A,disabled:c,readOnly:l,prefix:F,postfix:r(O.Icon,{children:r(b,{open:p,readOnly:l})}),onClear:L,clearLabel:T,id:a,hasValue:I,open:p,className:t(M,s==="inline"&&e.placementInline,s!=="inline"&&e.placementFlush,d!=="full"&&e.fitContent,R),control:q,ref:H(V,n),rootProps:{...K,...B}})});z.displayName="CustomSelect.Shell";export{b as CustomSelectChevron,P as CustomSelectPlaceholder,z as CustomSelectShell};
@@ -1 +1 @@
1
- "use client";var l=".CustomSelect_B5o2G{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;display:block;height:var(--altum-field-control-height,calc(var(--altum-field-pad-top) + var(--altum-field-pad-bottom) + 1.25em));min-height:var(--altum-field-control-height,calc(var(--altum-field-pad-top) + var(--altum-field-pad-bottom) + 1.25em));overflow:hidden;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}.CustomSelect_B5o2G .CustomSelect_LDBVd{display:block;font-weight:var(--altum-g-font-weight-medium);height:1.25em;overflow:hidden;padding-left:max(0px,calc(var(--altum-field-padding-start) - var(--altum-field-padding-inline)));padding-right:var(--altum-field-padding-end,var(--altum-field-input-size));pointer-events:none;visibility:hidden;white-space:nowrap}.CustomSelect_B5o2G .CustomSelect_-dojU{align-items:center;bottom:var(--altum-field-pad-bottom);display:flex;left:var(--altum-field-padding-start);min-height:1.25em;min-width:0;overflow:hidden;position:absolute;right:var(--altum-field-padding-end);text-overflow:ellipsis;top:var(--altum-field-pad-top);white-space:nowrap}.CustomSelect_r-bg- .CustomSelect_-dojU{bottom:0;top:0}.CustomSelect_IA0iK{color:var(--altum-color-input-placeholder,var(--altum-field-label))}.CustomSelect_I-uO2 .CustomSelect_IA0iK{color:transparent}.CustomSelect_UmDc9{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--altum-field-label);flex-shrink:0;transition:transform .2s ease}.CustomSelect_UmDc9.CustomSelect_RwIS5{transform:rotate(180deg)}.CustomSelect_UmDc9.CustomSelect_PXmN9{opacity:var(--altum-opacity-disabled)}";const o={trigger:"CustomSelect_B5o2G",triggerSizer:"CustomSelect_LDBVd",triggerText:"CustomSelect_-dojU",placementFlush:"CustomSelect_r-bg-",placeholder:"CustomSelect_IA0iK",placementInline:"CustomSelect_I-uO2",arrow:"CustomSelect_UmDc9",open:"CustomSelect_RwIS5",readOnly:"CustomSelect_PXmN9"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(l);export{o as default};
1
+ "use client";var i=".B5o2G{appearance:none;cursor:pointer;display:block;height:var(--altum-field-control-height,calc(var(--altum-field-pad-top) + var(--altum-field-pad-bottom) + 1.25em));min-height:var(--altum-field-control-height,calc(var(--altum-field-pad-top) + var(--altum-field-pad-bottom) + 1.25em));overflow:hidden;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}.B5o2G .LDBVd{align-items:flex-start;flex-direction:column;font-weight:var(--altum-g-font-weight-medium);height:1.25em;padding-left:max(0px,calc(var(--altum-field-padding-start) - var(--altum-field-padding-inline)));padding-right:var(--altum-field-padding-end,var(--altum-field-input-size));pointer-events:none;visibility:hidden}.B5o2G .-dojU,.B5o2G .LDBVd{display:flex;overflow:hidden;white-space:nowrap}.B5o2G .-dojU{align-items:center;bottom:var(--altum-field-pad-bottom);left:var(--altum-field-padding-start);min-height:1.25em;min-width:0;position:absolute;right:var(--altum-field-padding-end);text-overflow:ellipsis;top:var(--altum-field-pad-top)}.r-bg- .-dojU{bottom:0;top:0}._1UPrY{max-width:min(100%,var(--altum-field-width-default));width:max-content}.IA0iK{color:var(--altum-color-input-placeholder,var(--altum-field-label))}.I-uO2 .IA0iK{color:#0000}.UmDc9{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--altum-field-label);flex-shrink:0;transition:transform .2s ease}.UmDc9.RwIS5{transform:rotate(180deg)}.UmDc9.PXmN9{opacity:var(--altum-opacity-disabled)}";const a={trigger:"B5o2G",triggerSizer:"LDBVd",triggerText:"-dojU",placementFlush:"r-bg-",fitContent:"_1UPrY",placeholder:"IA0iK",placementInline:"I-uO2",arrow:"UmDc9",open:"RwIS5",readOnly:"PXmN9"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(i);export{a as default};
@@ -1 +1 @@
1
- "use client";import{jsx as u,jsxs as he}from"react/jsx-runtime";import{forwardRef as be,useId as Oe,useRef as ve,useCallback as n,useMemo as c}from"react";import{Dropdown as F}from"../Dropdown/Dropdown.js";import{getListboxPath as xe,findListboxOption as B,filterListboxOptions as Se,defaultListboxFilterFn as ye}from"../../utils/listboxOptions.js";import{useControlledState as R}from"../../hooks/useControlledState.js";import{defaultEmptyValue as Fe,CustomSelectOpenContext as Re,CustomSelectSelectionContext as Le,CustomSelectFilterContext as Me,toValueArray as Pe}from"./CustomSelect.context.js";import{useCustomSelectContext as ze}from"./CustomSelect.context.js";import{CustomSelectFilter as Qe}from"./CustomSelect.Filter.js";import{CustomSelectList as Ae}from"./CustomSelect.List.js";import{CustomSelectPlaceholder as H,CustomSelectChevron as z,CustomSelectShell as D}from"./CustomSelect.Shell.js";const L=be(function({children:G,options:s,groups:M,selectionMode:t="single",value:J,defaultValue:K,onChange:P,open:U,defaultOpen:W=!1,onOpenChange:Q,disabled:m=!1,readOnly:X=!1,closeOnSelect:Y,filterFn:g=ye,filterQuery:Z,defaultFilterQuery:_="",onFilterQueryChange:C,renderTarget:A,align:ee="auto",widthMode:te="trigger",triggerMode:le,mobileTitle:oe,mobileLeftControls:re,mobileRightControls:ie,panelScroll:ne="overlay",className:se,...ae},me){const h=`${Oe()}-listbox`,I=ve(null),[de,N]=R(J,K??Fe(t)),r=Pe(t,de),[f,j]=R(U,W),[b,O,w]=R(Z,_),d=Y??t==="single",p=X&&!m,l=!m&&!p,fe=le??(t==="multiple"?"combobox":"toggle"),i=n(e=>{!l&&e||(j(e),Q?.(e),!e&&!w&&(O(""),C?.("")))},[l,w,C,Q,O,j]),T=n(e=>{O(e),C?.(e)},[C,O]),a=n(e=>{const o=t==="single"?e[0]??"":e;N(o),P?.(o)},[P,t,N]),V=n(()=>{l&&a([])},[a,l]),v=n((e,o)=>{l&&(a(e),(o?.close??d)&&i(!1))},[a,l,i,d]),k=n(e=>{if(l){if(t==="multiple"){const o=r.includes(e)?r.filter(y=>y!==e):[...r,e];a(o),d&&i(!1);return}if(t==="path"){const o=xe(s,e).map(y=>y.value);v(o.length>0?o:[e],{close:d});return}a([e]),d&&i(!1)}},[a,l,s,v,t,i,d,r]),x=n(e=>{!l||t!=="multiple"||a(r.filter(o=>o!==e))},[a,l,t,r]),E=n(e=>{I.current=e},[]),S=c(()=>t==="path"?r.map(e=>B(s,e)).filter(e=>!!e):r.map(e=>{const o=B(s,e);if(o)return o;if(e)return{value:e,label:e}}).filter(e=>!!e),[s,t,r]),$=c(()=>Se({options:s,query:b,enabled:!0,filterFn:g}),[g,b,s]),pe=c(()=>({open:f,setOpen:i,disabled:m,readOnly:p,interactive:l}),[m,l,p,f,i]),ue=c(()=>({selectionMode:t,valueArray:r,selectedOptions:S,options:s,groups:M,listboxId:h,selectOption:k,selectPath:v,removeOption:x,registerListboxRef:E,listboxRef:I}),[M,h,s,E,x,k,v,S,t,r]),ce=c(()=>({filteredOptions:$,filterQuery:b,setFilterQuery:T,filterFn:g}),[g,b,$,T]),ge=n((e,o)=>A({triggerRef:o,triggerAttrs:e,open:f,disabled:m,readOnly:p,interactive:l,selectionMode:t,value:t==="single"?r[0]??"":r,selectedOptions:S,listboxId:h,setOpen:i,clearValue:V,removeOption:x}),[V,m,l,p,h,f,x,A,S,t,i,r]),Ce=n(()=>{l&&i(!0)},[l,i]),q=n(()=>{i(!1)},[i]);return u(Re.Provider,{value:pe,children:u(Le.Provider,{value:ue,children:u(Me.Provider,{value:ce,children:he(F,{ref:me,open:f,onOpenChange:e=>{e?Ce():q()},onClose:q,widthMode:te,align:ee,popupRole:"none",triggerMode:fe,mobileTitle:oe,mobileLeftControls:re,mobileRightControls:ie,panelScroll:ne,className:se,...ae,children:[u(F.Trigger,{asChild:!1,children:ge}),u(F.Content,{children:G})]})})})})});L.displayName="CustomSelect.Root";const Ie=Object.assign(L,{Root:L,Filter:Qe,List:Ae,Shell:D,Chevron:z,Placeholder:H});export{Ie as CustomSelect,z as CustomSelectChevron,H as CustomSelectPlaceholder,D as CustomSelectShell,ze as useCustomSelectContext};
1
+ "use client";import{jsx as u,jsxs as he}from"react/jsx-runtime";import{forwardRef as be,useId as Oe,useRef as ve,useCallback as n,useMemo as c}from"react";import{Dropdown as F}from"../Dropdown/Dropdown.js";import{getListboxPath as xe,findListboxOption as B,filterListboxOptions as Se,defaultListboxFilterFn as ye}from"../../utils/listboxOptions.js";import{useControlledState as R}from"../../hooks/useControlledState.js";import{defaultEmptyValue as Fe,CustomSelectOpenContext as Re,CustomSelectSelectionContext as Le,CustomSelectFilterContext as Me,toValueArray as Pe}from"./CustomSelect.context.js";import{useCustomSelectContext as ze}from"./CustomSelect.context.js";import{CustomSelectFilter as Qe}from"./CustomSelect.Filter.js";import{CustomSelectList as Ae}from"./CustomSelect.List.js";import{CustomSelectPlaceholder as H,CustomSelectChevron as z,CustomSelectShell as D}from"./CustomSelect.Shell.js";const L=be(function({children:G,options:s,groups:M,selectionMode:t="single",value:J,defaultValue:K,onChange:P,open:U,defaultOpen:W=!1,onOpenChange:Q,disabled:f=!1,readOnly:X=!1,closeOnSelect:Y,filterFn:g=ye,filterQuery:Z,defaultFilterQuery:_="",onFilterQueryChange:C,renderTarget:A,align:ee="auto",widthMode:te="trigger-fit",triggerMode:le,mobileTitle:oe,mobileLeftControls:re,mobileRightControls:ie,panelScroll:ne="overlay",className:se,...ae},fe){const h=`${Oe()}-listbox`,I=ve(null),[me,N]=R(J,K??Fe(t)),r=Pe(t,me),[d,j]=R(U,W),[b,O,w]=R(Z,_),m=Y??t==="single",p=X&&!f,l=!f&&!p,de=le??(t==="multiple"?"combobox":"toggle"),i=n(e=>{!l&&e||(j(e),Q?.(e),!e&&!w&&(O(""),C?.("")))},[l,w,C,Q,O,j]),T=n(e=>{O(e),C?.(e)},[C,O]),a=n(e=>{const o=t==="single"?e[0]??"":e;N(o),P?.(o)},[P,t,N]),V=n(()=>{l&&a([])},[a,l]),v=n((e,o)=>{l&&(a(e),(o?.close??m)&&i(!1))},[a,l,i,m]),k=n(e=>{if(l){if(t==="multiple"){const o=r.includes(e)?r.filter(y=>y!==e):[...r,e];a(o),m&&i(!1);return}if(t==="path"){const o=xe(s,e).map(y=>y.value);v(o.length>0?o:[e],{close:m});return}a([e]),m&&i(!1)}},[a,l,s,v,t,i,m,r]),x=n(e=>{!l||t!=="multiple"||a(r.filter(o=>o!==e))},[a,l,t,r]),E=n(e=>{I.current=e},[]),S=c(()=>t==="path"?r.map(e=>B(s,e)).filter(e=>!!e):r.map(e=>{const o=B(s,e);if(o)return o;if(e)return{value:e,label:e}}).filter(e=>!!e),[s,t,r]),$=c(()=>Se({options:s,query:b,enabled:!0,filterFn:g}),[g,b,s]),pe=c(()=>({open:d,setOpen:i,disabled:f,readOnly:p,interactive:l}),[f,l,p,d,i]),ue=c(()=>({selectionMode:t,valueArray:r,selectedOptions:S,options:s,groups:M,listboxId:h,selectOption:k,selectPath:v,removeOption:x,registerListboxRef:E,listboxRef:I}),[M,h,s,E,x,k,v,S,t,r]),ce=c(()=>({filteredOptions:$,filterQuery:b,setFilterQuery:T,filterFn:g}),[g,b,$,T]),ge=n((e,o)=>A({triggerRef:o,triggerAttrs:e,open:d,disabled:f,readOnly:p,interactive:l,selectionMode:t,value:t==="single"?r[0]??"":r,selectedOptions:S,listboxId:h,setOpen:i,clearValue:V,removeOption:x}),[V,f,l,p,h,d,x,A,S,t,i,r]),Ce=n(()=>{l&&i(!0)},[l,i]),q=n(()=>{i(!1)},[i]);return u(Re.Provider,{value:pe,children:u(Le.Provider,{value:ue,children:u(Me.Provider,{value:ce,children:he(F,{ref:fe,open:d,onOpenChange:e=>{e?Ce():q()},onClose:q,popupRole:"none",triggerMode:de,className:se,...ae,children:[u(F.Trigger,{asChild:!1,children:ge}),u(F.Content,{widthMode:te,align:ee,mobileTitle:oe,mobileLeftControls:re,mobileRightControls:ie,panelScroll:ne,children:G})]})})})})});L.displayName="CustomSelect.Root";const Ie=Object.assign(L,{Root:L,Filter:Qe,List:Ae,Shell:D,Chevron:z,Placeholder:H});export{Ie as CustomSelect,z as CustomSelectChevron,H as CustomSelectPlaceholder,D as CustomSelectShell,ze as useCustomSelectContext};
@@ -1 +1 @@
1
- "use client";var o=".CustomSelect_6i6PA{border-bottom:1px solid var(--altum-color-border);padding:var(--altum-g-space-2)}.CustomSelect_FaMHp{min-height:var(--altum-control-height-sm)}.CustomSelect_FaMHp:focus-visible{--altum-field-control-border:var(--altum-color-border-hover);--altum-field-control-shadow:0 0 0 1px var(--altum-color-border-hover)}";const r={filterWrapper:"CustomSelect_6i6PA",filterInput:"CustomSelect_FaMHp"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(o);export{r as default};
1
+ "use client";var r="._6i6PA{border-bottom:1px solid var(--altum-color-border);padding:var(--altum-g-space-2)}";const n={filterWrapper:"_6i6PA"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(r);export{n as default};
@@ -1 +1 @@
1
- "use client";import{jsx as a}from"react/jsx-runtime";import{forwardRef as S,useState as t,useId as U,useCallback as V,useEffect as Y}from"react";import{MaskedField as q}from"../MaskedField/MaskedField.js";import{Calendar as G}from"../Calendar/Calendar.js";import{IconCalendar as J}from"../../icons/icons/IconCalendar.js";import{useMediaQuery as K,MOBILE_MEDIA_QUERY as W}from"../../hooks/useMediaQuery.js";import{formatDateToDigits as b,getCalendarMobileChrome as X,CalendarFieldDropdown as Z,parseDigitsToDate as $}from"./DatePicker.utils.js";import{cn as ee}from"../../utils/cn.js";import{composeEventHandlers as oe}from"../../utils/composeEvents.js";import{useLocale as ae}from"../../locales/localeContext.js";import{FieldBase as re}from"../../base/FieldBase/FieldBase.js";const h=S(function({value:e,onChange:r,label:D,size:v="md",width:g,className:P="",labelPlacement:k,maskAsPlaceholder:w,disabled:n=!1,readOnly:i=!1,error:M,prefix:x,postfix:E,onClear:m,clearLabel:F,id:I,onFocus:L,...O},y){const{t:A}=ae(),[d,l]=t(!1),[N,s]=t(b(e)),[B,c]=t(e??new Date),Q=U(),R=I||Q,f=!n&&!i,p=K(W),u=V(()=>l(!1),[]),T=X({isMobile:p,closeLabel:A("common.close"),onClose:u});Y(()=>{s(b(e)),e&&c(e)},[e]);const _=o=>{if(i)return;s(o);const C=$(o);C?r(C):o||r(void 0)},z=()=>{s(""),r(void 0),m?.()},H=o=>{r(o),l(!1)},j=a(q,{ref:y,label:D,size:v,width:g,labelPlacement:k,maskAsPlaceholder:w,mask:"99.99.9999",value:N,onChange:_,active:d,className:ee(P),disabled:n,readOnly:i,error:M,prefix:x??a(re.Icon,{children:a(J,{})}),postfix:E,id:R,onClear:m?z:void 0,clearLabel:F,...O,onFocus:oe(L,()=>{f&&l(!0)})});return a(G.Provider,{value:e,viewDate:B,onViewDateChange:c,onChange:H,children:a(Z,{open:d,onClose:u,onOpen:()=>f&&l(!0),isMobile:p,mobileChrome:T,trigger:j,contentPadding:"md"})})});h.displayName="DatePicker";export{h as DatePicker};
1
+ "use client";import{jsx as a}from"react/jsx-runtime";import{forwardRef as S,useState as s,useId as U,useCallback as V,useEffect as Y}from"react";import{MaskedField as q}from"../MaskedField/MaskedField.js";import{Calendar as G}from"../Calendar/Calendar.js";import{IconCalendar as J}from"../../icons/icons/IconCalendar.js";import{useMediaQuery as K,MOBILE_MEDIA_QUERY as W}from"../../hooks/useMediaQuery.js";import{formatDateToDigits as b,getCalendarMobileChrome as X,CalendarFieldDropdown as Z,parseDigitsToDate as $}from"./DatePicker.utils.js";import{cn as ee}from"../../utils/cn.js";import{composeEventHandlers as oe}from"../../utils/composeEvents.js";import{useLocale as ae}from"../../locales/localeContext.js";import{FieldBase as re}from"../../base/FieldBase/FieldBase.js";const h=S(function({value:e,onChange:r,label:D,size:v="md",width:g="md",className:P="",labelPlacement:k,maskAsPlaceholder:w,disabled:n=!1,readOnly:i=!1,error:x,prefix:M,postfix:y,onClear:m,clearLabel:E,id:F,onFocus:I,...L},O){const{t:A}=ae(),[d,l]=s(!1),[N,t]=s(b(e)),[B,c]=s(e??new Date),Q=U(),R=F||Q,f=!n&&!i,p=K(W),u=V(()=>l(!1),[]),T=X({isMobile:p,closeLabel:A("common.close"),onClose:u});Y(()=>{t(b(e)),e&&c(e)},[e]);const _=o=>{if(i)return;t(o);const C=$(o);C?r(C):o||r(void 0)},z=()=>{t(""),r(void 0),m?.()},H=o=>{r(o),l(!1)},j=a(q,{ref:O,label:D,size:v,width:g,labelPlacement:k,maskAsPlaceholder:w,mask:"99.99.9999",value:N,onChange:_,active:d,className:ee(P),disabled:n,type:"text",readOnly:i,error:x,prefix:M??a(re.Icon,{children:a(J,{})}),postfix:y,id:R,onClear:m?z:void 0,clearLabel:E,...L,onFocus:oe(I,()=>{f&&l(!0)})});return a(G.Provider,{value:e,viewDate:B,onViewDateChange:c,onChange:H,children:a(Z,{open:d,onClose:u,onOpen:()=>f&&l(!0),isMobile:p,mobileChrome:T,trigger:j,contentPadding:"md"})})});h.displayName="DatePicker";export{h as DatePicker};
@@ -1 +1 @@
1
- "use client";import{jsxs as a,Fragment as g,jsx as t}from"react/jsx-runtime";import{ButtonIcon as p}from"../ButtonIcon/ButtonIcon.js";import{Calendar as n}from"../Calendar/Calendar.js";import{Dropdown as s}from"../Dropdown/Dropdown.js";const b=e=>{if(!e)return"";const o=e.getDate(),i=e.getMonth()+1,r=e.getFullYear();return`${o<10?`0${o}`:o}${i<10?`0${i}`:i}${r}`},u=e=>{if(e.length!==8)return;const o=Number.parseInt(e.slice(0,2),10),i=Number.parseInt(e.slice(2,4),10)-1,r=Number.parseInt(e.slice(4,8),10);if(Number.isNaN(o)||Number.isNaN(i)||Number.isNaN(r)||r<=1e3)return;const l=new Date(r,i,o);return l.getDate()===o&&l.getMonth()===i&&l.getFullYear()===r?l:void 0},h=({isMobile:e,closeLabel:o,onClose:i})=>({mobileTitle:e?t(n.Title,{}):void 0,mobileLeftControls:e?t(n.Nav,{direction:"prev"}):void 0,mobileRightControls:e?a(g,{children:[t(n.Nav,{direction:"next"}),t(p,{variant:"ghost",size:"sm","aria-label":o,onClick:i,children:"\u2715"})]}):void 0}),N=({isMobile:e})=>a(n.Root,{children:[!e&&a(n.Header,{children:[t(n.Nav,{direction:"prev"}),t(n.Title,{}),t(n.Nav,{direction:"next"})]}),t(n.Body,{})]}),C=({open:e,onOpen:o,onClose:i,isMobile:r,mobileChrome:l,trigger:c,contentPadding:d})=>a(s,{open:e,onClose:i,onOpenChange:m=>{m&&o()},triggerMode:"combobox",widthMode:"content",popupRole:"dialog",panelScroll:"content",...l,children:[t(s.Trigger,{asChild:!0,children:c}),t(s.Content,{boxProps:d?{padding:d}:void 0,children:t(N,{isMobile:r})})]});export{C as CalendarFieldDropdown,b as formatDateToDigits,h as getCalendarMobileChrome,u as parseDigitsToDate};
1
+ "use client";import{jsxs as a,Fragment as g,jsx as t}from"react/jsx-runtime";import{ButtonIcon as p}from"../ButtonIcon/ButtonIcon.js";import{Calendar as n}from"../Calendar/Calendar.js";import{Dropdown as s}from"../Dropdown/Dropdown.js";const b=e=>{if(!e)return"";const o=e.getDate(),i=e.getMonth()+1,r=e.getFullYear();return`${o<10?`0${o}`:o}${i<10?`0${i}`:i}${r}`},u=e=>{if(e.length!==8)return;const o=Number.parseInt(e.slice(0,2),10),i=Number.parseInt(e.slice(2,4),10)-1,r=Number.parseInt(e.slice(4,8),10);if(Number.isNaN(o)||Number.isNaN(i)||Number.isNaN(r)||r<=1e3)return;const l=new Date(r,i,o);return l.getDate()===o&&l.getMonth()===i&&l.getFullYear()===r?l:void 0},h=({isMobile:e,closeLabel:o,onClose:i})=>({mobileTitle:e?t(n.Title,{}):void 0,mobileLeftControls:e?t(n.Nav,{direction:"prev"}):void 0,mobileRightControls:e?a(g,{children:[t(n.Nav,{direction:"next"}),t(p,{variant:"ghost",size:"sm","aria-label":o,onClick:i,children:"\u2715"})]}):void 0}),N=({isMobile:e})=>a(n.Root,{children:[!e&&a(n.Header,{children:[t(n.Nav,{direction:"prev"}),t(n.Title,{}),t(n.Nav,{direction:"next"})]}),t(n.Body,{})]}),C=({open:e,onOpen:o,onClose:i,isMobile:r,mobileChrome:l,trigger:c,contentPadding:d})=>a(s,{open:e,onClose:i,onOpenChange:m=>{m&&o()},triggerMode:"combobox",popupRole:"dialog",children:[t(s.Trigger,{asChild:!0,children:c}),t(s.Content,{boxProps:d?{padding:d}:void 0,widthMode:"content",panelScroll:"content",...l,children:t(N,{isMobile:r})})]});export{C as CalendarFieldDropdown,b as formatDateToDigits,h as getCalendarMobileChrome,u as parseDigitsToDate};
@@ -1 +1 @@
1
- "use client";import{jsxs as X,jsx as s}from"react/jsx-runtime";import{forwardRef as Z,useState as f,useId as ee,useCallback as ae,useEffect as te}from"react";import{MaskedField as R}from"../MaskedField/MaskedField.js";import{Calendar as se}from"../Calendar/Calendar.js";import{useMediaQuery as le,MOBILE_MEDIA_QUERY as ne}from"../../hooks/useMediaQuery.js";import n from"./DateRangePicker.module.css.js";import{cn as L}from"../../utils/cn.js";import{formatDateToDigits as i,getCalendarMobileChrome as re,parseDigitsToDate as b,CalendarFieldDropdown as ie}from"../DatePicker/DatePicker.utils.js";import{useLocale as de}from"../../locales/localeContext.js";const N=e=>!e.start&&!e.end?"":e.start&&!e.end?i(e.start):e.start&&e.end?`${i(e.start)}${i(e.end)}`:"",w=Z(function({value:e,onChange:l,label:O,startLabel:S,endLabel:E,layout:x="single",size:m="md",labelPlacement:v="inline",className:I="",disabled:g=!1,readOnly:r=!1,...Q},k){const{messages:p,t:V}=de(),_=O??p.dateRangePicker.label,$=S??p.dateRangePicker.start,j=E??p.dateRangePicker.end,[u,C]=f(!1),[A,P]=f(e.end??e.start??new Date),[B,D]=f(N(e)),[T,M]=f(i(e.start)),[U,y]=f(i(e.end)),Y=ee(),q=!g&&!r,z=le(ne),F=ae(()=>C(!1),[]),G=re({isMobile:z,closeLabel:V("common.close"),onClose:F});te(()=>{D(N(e)),M(i(e.start)),y(i(e.end)),e.end?P(e.end):e.start&&P(e.start)},[e]);const H=a=>{l(a),a.start&&a.end&&C(!1)},h=()=>q&&C(!0),J=x==="split"?X("div",{className:L(n.splitFields,m==="sm"?n.sizeSm:m==="lg"?n.sizeLg:n.sizeMd),children:[s("div",{className:n.fieldSlot,children:s(R,{ref:k,label:$,size:m,labelPlacement:v,mask:"99.99.9999",value:T,onChange:a=>{if(r)return;M(a);const t=b(a);if(t){const d=e.end&&t>e.end?void 0:e.end;l({start:t,end:d})}else a||l({start:void 0,end:e.end})},onFocus:h,active:u,disabled:g,readOnly:r})}),s("span",{className:n.dash,"aria-hidden":!0,children:"\u2014"}),s("div",{className:n.fieldSlot,children:s(R,{label:j,size:m,labelPlacement:v,mask:"99.99.9999",value:U,onChange:a=>{if(r)return;y(a);const t=b(a);t?e.start&&t<e.start?l({start:t,end:e.start}):l({start:e.start,end:t}):a||l({start:e.start,end:void 0})},onFocus:h,active:u,disabled:g,readOnly:r})})]}):s(R,{ref:k,label:_,size:m,labelPlacement:v,mask:"99.99.9999 \u2014 99.99.9999",value:B,onChange:a=>{if(r)return;if(D(a),!a){l({start:void 0,end:void 0});return}const t=a.slice(0,8),d=a.slice(8,16),K=t.length===8?b(t):void 0,W=d.length===8?b(d):void 0;let o=t.length===8?K:t.length===0?void 0:e.start,c=d.length===8?W:d.length===0?void 0:e.end;o&&c&&c<o&&([o,c]=[c,o]),(o!==e.start||c!==e.end)&&l({start:o,end:c})},onFocus:h,active:u,disabled:g,readOnly:r,id:Y});return s("div",{className:L(n.root,I),...Q,children:s(se.Provider,{selectionMode:"range",rangeValue:e,onRangeChange:H,viewDate:A,onViewDateChange:P,children:s(ie,{open:u,onClose:F,onOpen:h,isMobile:z,mobileChrome:G,trigger:J})})})});w.displayName="DateRangePicker";export{w as DateRangePicker};
1
+ "use client";import{jsxs as Z,jsx as l}from"react/jsx-runtime";import{forwardRef as ee,useState as f,useId as te,useCallback as ae,useEffect as se}from"react";import{MaskedField as P}from"../MaskedField/MaskedField.js";import{Calendar as le}from"../Calendar/Calendar.js";import{useMediaQuery as re,MOBILE_MEDIA_QUERY as ne}from"../../hooks/useMediaQuery.js";import s from"./DateRangePicker.module.css.js";import{cn as L}from"../../utils/cn.js";import{formatDateToDigits as i,getCalendarMobileChrome as ie,parseDigitsToDate as p,CalendarFieldDropdown as de}from"../DatePicker/DatePicker.utils.js";import{useLocale as oe}from"../../locales/localeContext.js";const N=e=>!e.start&&!e.end?"":e.start&&!e.end?i(e.start):e.start&&e.end?`${i(e.start)}${i(e.end)}`:"",O=ee(function({value:e,onChange:r,label:E,startLabel:S,endLabel:j,layout:R="single",size:m="md",width:k="md",labelPlacement:b="inline",className:I="",disabled:u=!1,readOnly:n=!1,...V},D){const{messages:v,t:_}=oe(),$=E??v.dateRangePicker.label,A=S??v.dateRangePicker.start,B=j??v.dateRangePicker.end,[g,C]=f(!1),[Q,y]=f(e.end??e.start??new Date),[T,F]=f(N(e)),[U,M]=f(i(e.start)),[Y,w]=f(i(e.end)),q=te(),G=!u&&!n,x=re(ne),z=ae(()=>C(!1),[]),H=ie({isMobile:x,closeLabel:_("common.close"),onClose:z});se(()=>{F(N(e)),M(i(e.start)),w(i(e.end)),e.end?y(e.end):e.start&&y(e.start)},[e]);const J=t=>{r(t),t.start&&t.end&&C(!1)},h=()=>G&&C(!0),K=R==="split"?Z("div",{className:L(s.splitFields,m==="sm"?s.sizeSm:m==="lg"?s.sizeLg:s.sizeMd),children:[l("div",{className:s.fieldSlot,children:l(P,{ref:D,label:A,size:m,labelPlacement:b,mask:"99.99.9999",type:"text",value:U,onChange:t=>{if(n)return;M(t);const a=p(t);if(a){const d=e.end&&a>e.end?void 0:e.end;r({start:a,end:d})}else t||r({start:void 0,end:e.end})},onFocus:h,active:g,disabled:u,readOnly:n})}),l("span",{className:s.dash,"aria-hidden":!0,children:"\u2014"}),l("div",{className:s.fieldSlot,children:l(P,{label:B,size:m,labelPlacement:b,mask:"99.99.9999",type:"text",value:Y,onChange:t=>{if(n)return;w(t);const a=p(t);a?e.start&&a<e.start?r({start:a,end:e.start}):r({start:e.start,end:a}):t||r({start:e.start,end:void 0})},onFocus:h,active:g,disabled:u,readOnly:n})})]}):l(P,{ref:D,label:$,size:m,width:k,labelPlacement:b,mask:"99.99.9999 \u2014 99.99.9999",type:"text",value:T,onChange:t=>{if(n)return;if(F(t),!t){r({start:void 0,end:void 0});return}const a=t.slice(0,8),d=t.slice(8,16),W=a.length===8?p(a):void 0,X=d.length===8?p(d):void 0;let o=a.length===8?W:a.length===0?void 0:e.start,c=d.length===8?X:d.length===0?void 0:e.end;o&&c&&c<o&&([o,c]=[c,o]),(o!==e.start||c!==e.end)&&r({start:o,end:c})},onFocus:h,active:g,disabled:u,readOnly:n,id:q});return l("div",{className:L(s.root,R==="split"?s.layoutSplit:"",k==="full"?s.widthFull:"",I),...V,children:l(le.Provider,{selectionMode:"range",rangeValue:e,onRangeChange:J,viewDate:Q,onViewDateChange:y,children:l(de,{open:g,onClose:z,onOpen:h,isMobile:x,mobileChrome:H,trigger:K})})})});O.displayName="DateRangePicker";export{O as DateRangePicker};
@@ -1 +1 @@
1
- "use client";var t=".DateRangePicker_fVC66{--altum-date-range-dash-height:var(--altum-control-height-md);width:100%}.DateRangePicker_48Yp9{--altum-date-range-dash-height:var(--altum-control-height-sm)}.DateRangePicker_WxO2D{--altum-date-range-dash-height:var(--altum-control-height-md)}.DateRangePicker_2sa2g{--altum-date-range-dash-height:var(--altum-control-height-lg)}.DateRangePicker_bGNSr{align-items:flex-start;display:flex;gap:var(--altum-g-space-2);width:100%}.DateRangePicker_4pGye{flex:1;min-width:0}.DateRangePicker_ruXXa{align-items:center;align-self:flex-start;color:var(--altum-color-muted);display:flex;flex:0 0 auto;font-size:var(--altum-g-font-size-base);height:var(--altum-date-range-dash-height);justify-content:center;line-height:1;margin-bottom:0;padding-top:0}";const i={root:"DateRangePicker_fVC66",sizeSm:"DateRangePicker_48Yp9",sizeMd:"DateRangePicker_WxO2D",sizeLg:"DateRangePicker_2sa2g",splitFields:"DateRangePicker_bGNSr",fieldSlot:"DateRangePicker_4pGye",dash:"DateRangePicker_ruXXa"};(function(a){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=a,document.head.appendChild(e)}})(t);export{i as default};
1
+ "use client";var a=".fVC66{--altum-date-range-dash-height:var(--altum-control-height-md);max-width:var(--altum-field-width-default);width:100%}.fVC66>*{display:block;width:100%}.DYE8I,.Zxcd8{max-width:100%}._48Yp9{--altum-date-range-dash-height:var(--altum-control-height-sm)}.WxO2D{--altum-date-range-dash-height:var(--altum-control-height-md)}._2sa2g{--altum-date-range-dash-height:var(--altum-control-height-lg)}.bGNSr{align-items:flex-start;display:flex;gap:var(--altum-g-space-2);width:100%}._4pGye{flex:1;min-width:0}.ruXXa{align-items:center;align-self:flex-start;color:var(--altum-color-muted);display:flex;flex:0 0 auto;font-size:var(--altum-g-font-size-base);height:var(--altum-date-range-dash-height);justify-content:center;line-height:1;margin-bottom:0;padding-top:0}";const l={root:"fVC66",layoutSplit:"Zxcd8",widthFull:"DYE8I",sizeSm:"_48Yp9",sizeMd:"WxO2D",sizeLg:"_2sa2g",splitFields:"bGNSr",fieldSlot:"_4pGye",dash:"ruXXa"};(function(e){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=e,document.head.appendChild(t)}})(a);export{l as default};
@@ -1 +1 @@
1
- "use client";var t=".DayStripCalendar_N0tip{box-sizing:border-box;color:var(--altum-color-input-text);display:flex;flex-direction:column;gap:var(--altum-g-space-3);max-width:var(--altum-day-strip-max-width);width:100%}.DayStripCalendar_N0tip .DayStripCalendar_rYG9s{align-items:center;display:flex;gap:var(--altum-g-space-2);justify-content:space-between;min-height:var(--altum-g-space-8,32px)}.DayStripCalendar_N0tip .DayStripCalendar_5nRDP{color:var(--altum-color-ink-default);flex:1 1 auto;font-size:var(--altum-g-font-size-base);font-weight:var(--altum-g-font-weight-semibold);line-height:var(--altum-g-line-height-base);text-align:center}.DayStripCalendar_N0tip .DayStripCalendar_fmkU8{flex:1 1 auto}.DayStripCalendar_N0tip .DayStripCalendar_Icmc3{align-items:center;background:transparent;border:none;border-radius:var(--altum-g-radius-sm);color:var(--altum-color-muted);cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--altum-g-space-8,32px);justify-content:center;margin:0;padding:0;transition:var(--altum-transition-smooth);width:var(--altum-g-space-8,32px)}:is(.DayStripCalendar_N0tip .DayStripCalendar_Icmc3):hover:not(:disabled){background-color:var(--altum-color-option-hover);color:var(--altum-color-input-text)}:is(.DayStripCalendar_N0tip .DayStripCalendar_Icmc3):focus-visible{outline:var(--altum-focus-ring-width) solid var(--altum-focus-ring-color);outline-offset:var(--altum-focus-ring-offset)}.DayStripCalendar_N0tip .DayStripCalendar_Sctgh{display:grid;gap:var(--altum-g-space-1);grid-template-columns:repeat(auto-fit,minmax(0,1fr));outline:none}:is(.DayStripCalendar_N0tip .DayStripCalendar_Sctgh):focus-visible{border-radius:var(--altum-g-radius-sm);outline:var(--altum-focus-ring-width) solid var(--altum-focus-ring-color);outline-offset:var(--altum-focus-ring-offset)}.DayStripCalendar_N0tip .DayStripCalendar_rd-sI{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:initial;border:none;border-radius:var(--altum-g-radius-md,var(--altum-g-radius));color:inherit;cursor:pointer;display:flex;flex-direction:column;font:inherit;gap:var(--altum-g-space-1);justify-content:center;margin:0;min-height:var(--altum-day-strip-day-min);padding:var(--altum-g-space-2) var(--altum-g-space-1);transition:var(--altum-transition-smooth)}:is(.DayStripCalendar_N0tip .DayStripCalendar_rd-sI):hover:not(:disabled){background-color:var(--altum-color-option-hover)}:is(.DayStripCalendar_N0tip .DayStripCalendar_rd-sI):focus-visible{outline:var(--altum-focus-ring-width) solid var(--altum-focus-ring-color);outline-offset:-2px}.DayStripCalendar_N0tip .DayStripCalendar_y-C5E{color:var(--altum-color-ink-muted);font-size:var(--altum-g-font-size-xs);font-weight:var(--altum-g-font-weight-semibold);letter-spacing:.04em;line-height:1.2;text-transform:uppercase}.DayStripCalendar_N0tip .DayStripCalendar_Tm3J5{font-size:var(--altum-g-font-size-base);font-variant-numeric:tabular-nums;font-weight:var(--altum-g-font-weight-semibold);line-height:1.2}.DayStripCalendar_N0tip .DayStripCalendar_pwhAh{background-color:var(--altum-color-brand);color:var(--altum-color-brand-text)}:is(.DayStripCalendar_N0tip .DayStripCalendar_pwhAh):hover:not(:disabled){background-color:var(--altum-color-brand-hover,var(--altum-color-brand));color:var(--altum-color-brand-text)}:is(.DayStripCalendar_N0tip .DayStripCalendar_pwhAh) .DayStripCalendar_y-C5E{color:inherit;opacity:.85}.DayStripCalendar_PRzn4:not(.DayStripCalendar_pwhAh){box-shadow:inset 0 0 0 1px var(--altum-color-brand)}";const e={root:"DayStripCalendar_N0tip",header:"DayStripCalendar_rYG9s",title:"DayStripCalendar_5nRDP",titleSpacer:"DayStripCalendar_fmkU8",navBtn:"DayStripCalendar_Icmc3",strip:"DayStripCalendar_Sctgh",day:"DayStripCalendar_rd-sI",weekday:"DayStripCalendar_y-C5E",dayNumber:"DayStripCalendar_Tm3J5",daySelected:"DayStripCalendar_pwhAh",dayToday:"DayStripCalendar_PRzn4"};(function(r){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=r,document.head.appendChild(a)}})(t);export{e as default};
1
+ "use client";var i=".N0tip{box-sizing:border-box;color:var(--altum-color-input-text);display:flex;flex-direction:column;gap:var(--altum-g-space-3);max-width:var(--altum-day-strip-max-width);width:100%}.N0tip .rYG9s{align-items:center;display:flex;gap:var(--altum-g-space-2);justify-content:space-between;min-height:var(--altum-g-space-8,32px)}.N0tip ._5nRDP{color:var(--altum-color-ink-default);flex:1 1 auto;font-size:var(--altum-g-font-size-base);font-weight:var(--altum-g-font-weight-semibold);line-height:var(--altum-g-line-height-base);text-align:center}.N0tip .fmkU8{flex:1 1 auto}.N0tip .Icmc3{align-items:center;background:#0000;border:none;border-radius:var(--altum-g-radius-sm);color:var(--altum-color-muted);cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--altum-g-space-8,32px);justify-content:center;margin:0;padding:0;transition:var(--altum-transition-smooth);width:var(--altum-g-space-8,32px)}:is(.N0tip .Icmc3):hover:not(:disabled){background-color:var(--altum-color-option-hover);color:var(--altum-color-input-text)}:is(.N0tip .Icmc3):focus-visible{outline:var(--altum-focus-ring-width) solid var(--altum-focus-ring-color);outline-offset:var(--altum-focus-ring-offset)}.N0tip .Sctgh{display:grid;gap:var(--altum-g-space-1);grid-template-columns:repeat(auto-fit,minmax(0,1fr));outline:none}:is(.N0tip .Sctgh):focus-visible{border-radius:var(--altum-g-radius-sm);outline:var(--altum-focus-ring-width) solid var(--altum-focus-ring-color);outline-offset:var(--altum-focus-ring-offset)}.N0tip .rd-sI{align-items:center;appearance:none;background-color:initial;border:none;border-radius:var(--altum-g-radius-md,var(--altum-g-radius));color:inherit;cursor:pointer;display:flex;flex-direction:column;font:inherit;gap:var(--altum-g-space-1);justify-content:center;margin:0;min-height:var(--altum-day-strip-day-min);padding:var(--altum-g-space-2) var(--altum-g-space-1);transition:var(--altum-transition-smooth)}:is(.N0tip .rd-sI):hover:not(:disabled){background-color:var(--altum-color-option-hover)}:is(.N0tip .rd-sI):focus-visible{outline:var(--altum-focus-ring-width) solid var(--altum-focus-ring-color);outline-offset:-2px}.N0tip .y-C5E{color:var(--altum-color-ink-muted);font-size:var(--altum-g-font-size-xs);letter-spacing:.04em;text-transform:uppercase}.N0tip .Tm3J5,.N0tip .y-C5E{font-weight:var(--altum-g-font-weight-semibold);line-height:1.2}.N0tip .Tm3J5{font-size:var(--altum-g-font-size-base);font-variant-numeric:tabular-nums}.N0tip .pwhAh{background-color:var(--altum-color-selection-fill);color:var(--altum-color-selection-fill-fg)}:is(.N0tip .pwhAh):hover:not(:disabled){background-color:var(--altum-color-selection-fill-emphasis);color:var(--altum-color-selection-fill-fg)}:is(.N0tip .pwhAh) .y-C5E{color:inherit;opacity:.85}.PRzn4:not(.pwhAh){box-shadow:inset 0 0 0 1px var(--altum-color-brand)}";const o={root:"N0tip",header:"rYG9s",title:"_5nRDP",titleSpacer:"fmkU8",navBtn:"Icmc3",strip:"Sctgh",day:"rd-sI",weekday:"y-C5E",dayNumber:"Tm3J5",daySelected:"pwhAh",dayToday:"PRzn4"};(function(a){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=a,document.head.appendChild(t)}})(i);export{o as default};
@@ -1 +1 @@
1
- "use client";var s=".DescriptionList_fwIXq{font-family:inherit;margin:0;width:100%}.DescriptionList_fwIXq .DescriptionList_c-ciW{min-width:0}.DescriptionList_fwIXq.DescriptionList_qg2p8 .DescriptionList_c-ciW{border-bottom:1px solid var(--altum-color-border);display:flex;flex-direction:column;gap:var(--altum-control-inset);padding:var(--altum-g-space-2) 0}:is(.DescriptionList_fwIXq.DescriptionList_qg2p8 .DescriptionList_c-ciW):last-child{border-bottom:none}.DescriptionList_fwIXq.DescriptionList_ecVGq .DescriptionList_c-ciW{align-items:baseline;border-bottom:1px solid var(--altum-color-border);display:grid;gap:var(--altum-g-space-3);grid-template-columns:minmax(96px,34%) 1fr;padding:var(--altum-g-space-2) 0}:is(.DescriptionList_fwIXq.DescriptionList_ecVGq .DescriptionList_c-ciW):last-child{border-bottom:none}.DescriptionList_fwIXq .DescriptionList_PWQ4X{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-2xs);font-weight:var(--altum-g-font-weight-medium);line-height:1.35;margin:0}.DescriptionList_fwIXq .DescriptionList_UGI5U{color:var(--altum-color-input-text);font-size:var(--altum-g-font-size-sm);line-height:1.45;margin:0;min-width:0;overflow-wrap:anywhere}.DescriptionList_fwIXq.DescriptionList_61CK3{display:grid;gap:0 var(--altum-g-space-6);grid-template-columns:repeat(2,minmax(0,1fr))}.DescriptionList_fwIXq.DescriptionList_YZU8-{display:grid;gap:0 var(--altum-g-space-6);grid-template-columns:repeat(3,minmax(0,1fr))}.DescriptionList_fwIXq.DescriptionList_61CK3 .DescriptionList_c-ciW,.DescriptionList_fwIXq.DescriptionList_YZU8- .DescriptionList_c-ciW{border-bottom:1px solid var(--altum-color-border)}@media (max-width:720px){.DescriptionList_fwIXq.DescriptionList_61CK3,.DescriptionList_fwIXq.DescriptionList_YZU8-{grid-template-columns:1fr}.DescriptionList_fwIXq.DescriptionList_ecVGq .DescriptionList_c-ciW{gap:var(--altum-control-inset);grid-template-columns:1fr}}";const e={list:"DescriptionList_fwIXq",row:"DescriptionList_c-ciW",stacked:"DescriptionList_qg2p8",inline:"DescriptionList_ecVGq",label:"DescriptionList_PWQ4X",value:"DescriptionList_UGI5U",cols2:"DescriptionList_61CK3",cols3:"DescriptionList_YZU8-"};(function(t){if(!(typeof document>"u")){var i=document.createElement("style");i.textContent=t,document.head.appendChild(i)}})(s);export{e as default};
1
+ "use client";var a=".fwIXq{font-family:inherit;margin:0;width:100%}.fwIXq .c-ciW{min-width:0}.fwIXq.qg2p8 .c-ciW{border-bottom:1px solid var(--altum-color-border);display:flex;flex-direction:column;gap:var(--altum-control-inset);padding:var(--altum-g-space-2) 0}:is(.fwIXq.qg2p8 .c-ciW):last-child{border-bottom:none}.fwIXq.ecVGq .c-ciW{align-items:baseline;border-bottom:1px solid var(--altum-color-border);display:grid;gap:var(--altum-g-space-3);grid-template-columns:minmax(96px,34%) 1fr;padding:var(--altum-g-space-2) 0}:is(.fwIXq.ecVGq .c-ciW):last-child{border-bottom:none}.fwIXq .PWQ4X{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-2xs);font-weight:var(--altum-g-font-weight-medium);line-height:1.35;margin:0}.fwIXq .UGI5U{color:var(--altum-color-input-text);font-size:var(--altum-g-font-size-sm);line-height:1.45;margin:0;min-width:0;overflow-wrap:anywhere}.fwIXq._61CK3{grid-template-columns:repeat(2,minmax(0,1fr))}.fwIXq.YZU8-,.fwIXq._61CK3{display:grid;gap:0 var(--altum-g-space-6)}.fwIXq.YZU8-{grid-template-columns:repeat(3,minmax(0,1fr))}.fwIXq.YZU8- .c-ciW,.fwIXq._61CK3 .c-ciW{border-bottom:1px solid var(--altum-color-border)}@media (max-width:720px){.fwIXq.YZU8-,.fwIXq._61CK3,.fwIXq.ecVGq .c-ciW{grid-template-columns:1fr}.fwIXq.ecVGq .c-ciW{gap:var(--altum-control-inset)}}";const i={list:"fwIXq",row:"c-ciW",stacked:"qg2p8",inline:"ecVGq",label:"PWQ4X",value:"UGI5U",cols2:"_61CK3",cols3:"YZU8-"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(a);export{i as default};
@@ -1 +1 @@
1
- "use client";var o=".DonutChart_vNsqB{align-items:center;display:flex;flex-wrap:wrap;font-family:inherit;gap:var(--altum-g-space-4)}.DonutChart_vNsqB .DonutChart_3FvZg{flex-shrink:0;overflow:visible;position:relative}:is(.DonutChart_vNsqB .DonutChart_3FvZg) svg{display:block;overflow:visible}.DonutChart_vNsqB .DonutChart_x3rS8{pointer-events:none}.DonutChart_vNsqB .DonutChart_u0cWz{cursor:pointer}.DonutChart_vNsqB .DonutChart_mtR7l{transition:stroke-width .2s ease-in-out,opacity .2s ease-in-out}.DonutChart_0Mq0b:is(.DonutChart_vNsqB .DonutChart_mtR7l){opacity:.35}.DonutChart_7s144:is(.DonutChart_vNsqB .DonutChart_mtR7l){opacity:1}@media (prefers-reduced-motion:reduce){.DonutChart_vNsqB .DonutChart_mtR7l{transition:none}}.DonutChart_vNsqB .DonutChart_D1uwS{align-items:center;display:flex;flex-direction:column;inset:0;justify-content:center;padding:var(--altum-g-space-3);pointer-events:none;position:absolute;text-align:center;transition:opacity .2s ease-in-out}.DonutChart_vNsqB .DonutChart_Mo0eE .DonutChart_VQrr2{color:var(--altum-color-input-text)}.DonutChart_vNsqB .DonutChart_VQrr2{color:var(--altum-color-input-text);font-size:var(--altum-control-icon-size-lg);font-variant-numeric:tabular-nums;font-weight:var(--altum-g-font-weight-bold);line-height:1.1}.DonutChart_vNsqB .DonutChart_0nK7f{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-xs);margin-top:var(--altum-g-space-1)}.DonutChart_vNsqB .DonutChart_v8-uq{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-3xs);font-variant-numeric:tabular-nums;font-weight:var(--altum-g-font-weight-semibold);margin-top:var(--altum-g-space-1)}";const r={root:"DonutChart_vNsqB",chartWrap:"DonutChart_3FvZg",track:"DonutChart_x3rS8",segmentHit:"DonutChart_u0cWz",segment:"DonutChart_mtR7l",dimmed:"DonutChart_0Mq0b",active:"DonutChart_7s144",center:"DonutChart_D1uwS",centerHover:"DonutChart_Mo0eE",centerValue:"DonutChart_VQrr2",centerLabel:"DonutChart_0nK7f",centerPercent:"DonutChart_v8-uq"};(function(n){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=n,document.head.appendChild(t)}})(o);export{r as default};
1
+ "use client";var n=".vNsqB{align-items:center;display:flex;flex-wrap:wrap;font-family:inherit;gap:var(--altum-g-space-4)}.vNsqB ._3FvZg{flex-shrink:0;overflow:visible;position:relative}:is(.vNsqB ._3FvZg) svg{display:block;overflow:visible}.vNsqB .x3rS8{pointer-events:none}.vNsqB .u0cWz{cursor:pointer}.vNsqB .mtR7l{transition:stroke-width .2s ease-in-out,opacity .2s ease-in-out}._0Mq0b:is(.vNsqB .mtR7l){opacity:.35}._7s144:is(.vNsqB .mtR7l){opacity:1}@media (prefers-reduced-motion:reduce){.vNsqB .mtR7l{transition:none}}.vNsqB .D1uwS{align-items:center;display:flex;flex-direction:column;inset:0;justify-content:center;padding:var(--altum-g-space-3);pointer-events:none;position:absolute;text-align:center;transition:opacity .2s ease-in-out}.vNsqB .Mo0eE .VQrr2,.vNsqB .VQrr2{color:var(--altum-color-input-text)}.vNsqB .VQrr2{font-size:var(--altum-control-icon-size-lg);font-variant-numeric:tabular-nums;font-weight:var(--altum-g-font-weight-bold);line-height:1.1}.vNsqB ._0nK7f{font-size:var(--altum-g-font-size-xs)}.vNsqB ._0nK7f,.vNsqB .v8-uq{color:var(--altum-color-muted);margin-top:var(--altum-g-space-1)}.vNsqB .v8-uq{font-size:var(--altum-g-font-size-3xs);font-variant-numeric:tabular-nums;font-weight:var(--altum-g-font-weight-semibold)}";const i={root:"vNsqB",chartWrap:"_3FvZg",track:"x3rS8",segmentHit:"u0cWz",segment:"mtR7l",dimmed:"_0Mq0b",active:"_7s144",center:"D1uwS",centerHover:"Mo0eE",centerValue:"VQrr2",centerLabel:"_0nK7f",centerPercent:"v8-uq"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(n);export{i as default};
@@ -1 +1 @@
1
- "use client";import{jsx as c}from"react/jsx-runtime";import{forwardRef as K,useRef as F,useId as V,useCallback as L,useEffect as U,useMemo as Q,Suspense as ee,createContext as oe,useContext as re,lazy as ne}from"react";import{composeRefs as Z}from"../../utils/composeRefs.js";import{ButtonIcon as te}from"../ButtonIcon/ButtonIcon.js";import{IconCross as le}from"../../icons/icons/IconCross.js";import h from"./Dropdown.module.css.js";import{focusElement as j}from"../../utils/a11y.js";import{useOutsideClick as ie}from"../../hooks/useOutsideClick.js";import{useMediaQuery as ae,MOBILE_MEDIA_QUERY as se}from"../../hooks/useMediaQuery.js";import{useDocumentKeyDown as ue}from"../../hooks/useDocumentKeyDown.js";import{useControlledState as de}from"../../hooks/useControlledState.js";import{queryFocusableElements as ce,FOCUSABLE_WITH_ROLES_SELECTOR as me,handleTabCycle as pe,handleFocusableListNavigation as fe}from"../../utils/focus.js";import{cn as _}from"../../utils/cn.js";import{composeEventHandlers as H}from"../../utils/composeEvents.js";import{useOverlayStackZIndex as be,elevateAboveOverlayStack as ge}from"../../utils/overlayStack.js";import{Box as we}from"../Box/Box.js";import{Overlay as Ce}from"../Overlay/Overlay.js";import{renderChildren as he}from"../../utils/renderChildren.js";import{useLocale as ve}from"../../locales/localeContext.js";const ye=ne(async()=>({default:(await import("./DropdownMobileSheet.js")).DropdownMobileSheet})),Y=oe(null);function $(t){const a=re(Y);if(!a)throw new Error(`${t} \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0438 Dropdown`);return a}function De(t){return t==="left"||t==="auto"?"start":t==="right"?"end":"center"}const G=K(function({children:t,open:a,onClose:v,onOpenChange:m,align:b="auto",widthMode:g="content",popupRole:l="none",triggerMode:p="toggle",mobileTitle:w,mobileLeftControls:y,mobileRightControls:I,panelScroll:x="overlay",className:P,...N},B){const q=be(),E=ge(q),n=p==="combobox",[o,C]=de(a,!1),f=ae(se),s=F(null),u=F(null),k=F(null),R=F(null),D=V(),T=l==="menu",M=L(()=>s.current?s.current.querySelector('[role="combobox"]')??s.current.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')??s.current:null,[]),r=L(()=>{v?.(),m?.(!1),C(!1);const e=R.current??M();j(e)},[M,v,m,C]),i=L(()=>{R.current=document.activeElement,m?.(!0),C(!0)},[m,C]),d=L(()=>{o?r():i()},[r,o,i]),A=L(e=>{if(n){if(o&&(e.key==="Enter"||e.key===" "))return;!o&&(e.key==="Enter"||e.key===" "||e.key==="ArrowDown"||e.key==="ArrowUp")&&(e.preventDefault(),i());return}if(e.key==="Enter"||e.key===" "){e.preventDefault(),d();return}!o&&(e.key==="ArrowDown"||e.key==="ArrowUp")&&(e.preventDefault(),i())},[n,o,i,d]);ie([s,k],r,{enabled:o&&f}),ue(e=>{if(!o||!u.current)return;const O=ce(u.current,me);if(O.length===0||pe(e,O,{wrap:T||f,onTabForwardFromLast:T||f?void 0:r}))return;const S=u.current.contains(document.activeElement);n&&!S||fe(e,O)},{enabled:o}),U(()=>{if(!o||n||!u.current)return;const e=u.current.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), [role="option"]');j(e)},[n,o]),U(()=>{if(!o||!n)return;const e=O=>{const S=O.target;s.current?.contains(S)||u.current?.contains(S)||k.current?.contains(S)||r()};return document.addEventListener("focusin",e),()=>document.removeEventListener("focusin",e)},[r,n,o]);const z=Q(()=>({type:"button","aria-haspopup":l==="menu"?"menu":l==="dialog"?"dialog":"listbox","aria-expanded":o,"aria-controls":o?D:void 0,onKeyDown:A,onClick:e=>{if(n){o||i();return}e.preventDefault(),d()}}),[D,A,n,o,i,l,d]),X=Q(()=>({isOpen:o,openDropdown:i,closeDropdown:r,toggleDropdown:d,triggerRef:s,dropdownRef:u,sheetRef:k,dropdownId:D,align:b,widthMode:g,popupRole:l,triggerMode:p,isCombobox:n,isMobile:f,panelScroll:x,mobileTitle:w,mobileLeftControls:y,mobileRightControls:I,elevatedZIndex:E,handleTriggerKeyDown:A,triggerAttrs:z}),[b,r,D,E,A,n,f,o,y,I,w,i,x,l,d,z,p,g]);return c(Y.Provider,{value:X,children:c("div",{ref:B,className:_(h.root,P),...N,children:t})})}),J=K(function(t,a){const{children:v,asChild:m,className:b}=t,{triggerRef:g,triggerAttrs:l}=$("Dropdown.Trigger"),p=m===!0,w={...l,...p?{tabIndex:0}:{},...b?{className:b}:{}};return he({asChild:p,children:v,props:w,contentRef:Z(a,g)})}),W=K(function({children:t,className:a,boxProps:v,onClick:m,onMouseDown:b,...g},l){const{t:p}=ve(),{isOpen:w,closeDropdown:y,triggerRef:I,dropdownRef:x,sheetRef:P,dropdownId:N,align:B,widthMode:q,popupRole:E,isCombobox:n,isMobile:o,panelScroll:C,mobileTitle:f,mobileLeftControls:s,mobileRightControls:u,elevatedZIndex:k}=$("Dropdown.Content"),R=E==="none"?void 0:E,D=u??(f?c(te,{variant:"ghost",size:"sm","aria-label":p("common.close"),onClick:y,children:c(le,{size:14})}):void 0),T=_(o?h.mobilePanel:h.dropdownOverlay,C==="content"?h.dropdownPanelContentScroll:"",a),M={onClick:H(m,r=>r.stopPropagation()),onMouseDown:H(b,r=>{n&&r.preventDefault()})};return o?c(ee,{fallback:null,children:c(ye,{sheetRef:P,open:w,onClose:y,zIndex:k,mobileTitle:f,mobileLeftControls:s,mobileRightControls:D,children:c("div",{id:N,ref:Z(l,x),role:R,className:T,...g,...M,children:t})})}):c(Ce,{ref:l,variant:"dropdown",purpose:"dropdown",open:w,onClose:y,targetRef:I,triggerMode:"manual",side:"bottom",align:De(B),widthMode:q,closeOnOutsideClick:!0,closeOnEscape:!0,asChild:!1,children:(r,i)=>c(we,{as:"div",variant:"floating",id:N,ref:d=>{x.current=d,i(d)},role:R,className:_(o?h.mobilePanel:h.dropdownOverlay,C==="content"?h.dropdownPanelContentScroll:"",r.className,a),style:r.style,"data-side":r["data-side"],...v,...g,...M,children:t})})});G.displayName="Dropdown",J.displayName="Dropdown.Trigger",W.displayName="Dropdown.Content";const xe=Object.assign(G,{Trigger:J,Content:W});export{xe as Dropdown};
1
+ "use client";import{jsx as b}from"react/jsx-runtime";import{forwardRef as P,useRef as T,useId as V,useCallback as O,useEffect as B,useMemo as U,Suspense as W,createContext as Y,useContext as $,lazy as G}from"react";import{composeRefs as _}from"../../utils/composeRefs.js";import{ButtonIcon as J}from"../ButtonIcon/ButtonIcon.js";import C from"./Dropdown.module.css.js";import{focusElement as q}from"../../utils/a11y.js";import{useOutsideClick as X}from"../../hooks/useOutsideClick.js";import{useMediaQuery as ee,MOBILE_MEDIA_QUERY as oe}from"../../hooks/useMediaQuery.js";import{useDocumentKeyDown as re}from"../../hooks/useDocumentKeyDown.js";import{useControlledState as ne}from"../../hooks/useControlledState.js";import{queryFocusableElements as te,FOCUSABLE_WITH_ROLES_SELECTOR as ie,handleTabCycle as le,handleFocusableListNavigation as ae}from"../../utils/focus.js";import{cn as F}from"../../utils/cn.js";import{composeEventHandlers as H}from"../../utils/composeEvents.js";import{useOverlayStackZIndex as ue,elevateAboveOverlayStack as ce}from"../../utils/overlayStack.js";import{Box as se}from"../Box/Box.js";import{Overlay as de}from"../Overlay/Overlay.js";import{renderChildren as pe}from"../../utils/renderChildren.js";import{useLocale as me}from"../../locales/localeContext.js";const fe=G(async()=>({default:(await import("./DropdownMobileSheet.js")).DropdownMobileSheet})),j=Y(null);function z(t){const s=$(j);if(!s)throw new Error(`${t} \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0438 Dropdown`);return s}function be(t){return t==="left"||t==="auto"?"start":t==="right"?"end":"center"}const K=P(function({children:t,open:s,onClose:h,onOpenChange:p,popupRole:a="none",triggerMode:g="toggle",className:E,...w},D){const A=ue(),M=ce(A),r=g==="combobox",[o,x]=ne(s,!1),m=ee(oe),i=T(null),c=T(null),v=T(null),S=T(null),y=V(),R=a==="menu",N=O(()=>i.current?i.current.querySelector('[role="combobox"]')??i.current.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')??i.current:null,[]),l=O(()=>{if(h?.(),p?.(!1),x(!1),r){const n=document.activeElement;if(n instanceof Node&&i.current?.contains(n)||!(n instanceof Node&&(c.current?.contains(n)||v.current?.contains(n))))return}const e=S.current??N();q(e)},[N,r,h,p,x]),u=O(()=>{S.current=document.activeElement,p?.(!0),x(!0)},[p,x]),d=O(()=>{o?l():u()},[l,o,u]),k=O(e=>{if(r){if(o&&(e.key==="Enter"||e.key===" "))return;!o&&(e.key==="Enter"||e.key===" "||e.key==="ArrowDown"||e.key==="ArrowUp")&&(e.preventDefault(),u());return}if(e.key==="Enter"||e.key===" "){e.preventDefault(),d();return}!o&&(e.key==="ArrowDown"||e.key==="ArrowUp")&&(e.preventDefault(),u())},[r,o,u,d]);X([i,v],l,{enabled:o&&m}),re(e=>{if(!o||!c.current)return;const n=te(c.current,ie);if(n.length===0||le(e,n,{wrap:R||m,onTabForwardFromLast:R||m?void 0:l}))return;const f=c.current.contains(document.activeElement);r&&!f||ae(e,n)},{enabled:o}),B(()=>{if(!o||r||!c.current)return;const e=c.current.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), [role="option"]');q(e)},[r,o]),B(()=>{if(!o||!r)return;const e=n=>{const f=n.target;i.current?.contains(f)||c.current?.contains(f)||v.current?.contains(f)||l()};return document.addEventListener("focusin",e),()=>document.removeEventListener("focusin",e)},[l,r,o]);const I=U(()=>({type:"button","aria-haspopup":a==="menu"?"menu":a==="dialog"?"dialog":"listbox","aria-expanded":o,"aria-controls":o?y:void 0,onKeyDown:k,onClick:e=>{if(r){o||u();return}e.preventDefault(),d()}}),[y,k,r,o,u,a,d]),L=U(()=>({isOpen:o,openDropdown:u,closeDropdown:l,toggleDropdown:d,triggerRef:i,dropdownRef:c,sheetRef:v,dropdownId:y,popupRole:a,triggerMode:g,isCombobox:r,isMobile:m,elevatedZIndex:M,handleTriggerKeyDown:k,triggerAttrs:I}),[l,y,M,k,r,m,o,u,a,d,I,g]);return b(j.Provider,{value:L,children:b("div",{ref:D,className:F(C.root,E),...w,children:t})})}),Q=P(function(t,s){const{children:h,asChild:p,className:a}=t,{triggerRef:g,triggerAttrs:E}=z("Dropdown.Trigger"),w=p===!0,D={...E,...w?{tabIndex:0}:{},...a?{className:a}:{}};return pe({asChild:w,children:h,props:D,contentRef:_(s,g)})}),Z=P(function({children:t,className:s,boxProps:h,onClick:p,onMouseDown:a,align:g="auto",widthMode:E="content",panelScroll:w="overlay",mobileTitle:D,mobileLeftControls:A,mobileRightControls:M,...r},o){const{t:x}=me(),{isOpen:m,closeDropdown:i,triggerRef:c,dropdownRef:v,sheetRef:S,dropdownId:y,popupRole:R,isCombobox:N,isMobile:l,elevatedZIndex:u}=z("Dropdown.Content"),d=R==="none"?void 0:R,k=M??(D?b(J,{appearance:"diskClose","aria-label":x("common.close"),onClick:i}):void 0),I=F(l?C.mobilePanel:C.dropdownOverlay,w==="content"?C.dropdownPanelContentScroll:"",s),L={onClick:H(p,e=>e.stopPropagation()),onMouseDown:H(a,e=>{N&&e.preventDefault()})};return l?b(W,{fallback:null,children:b(fe,{sheetRef:S,open:m,onClose:i,zIndex:u,mobileTitle:D,mobileLeftControls:A,mobileRightControls:k,children:b("div",{id:y,ref:_(o,v),role:d,className:I,...r,...L,children:t})})}):b(de,{ref:o,variant:"dropdown",purpose:"dropdown",open:m,onClose:i,targetRef:c,triggerMode:"manual",side:"bottom",align:be(g),widthMode:E,closeOnOutsideClick:!0,closeOnEscape:!0,asChild:!1,children:(e,n)=>b(se,{as:"div",variant:"floating",id:y,ref:f=>{v.current=f,n(f)},role:d,className:F(l?C.mobilePanel:C.dropdownOverlay,w==="content"?C.dropdownPanelContentScroll:"",e.className,s),style:e.style,"data-side":e["data-side"],...h,...r,...L,children:t})})});K.displayName="Dropdown",Q.displayName="Dropdown.Trigger",Z.displayName="Dropdown.Content";const ge=Object.assign(K,{Trigger:Q,Content:Z});export{ge as Dropdown};
@@ -1 +1 @@
1
- "use client";var e=".Dropdown_uVyL0{display:contents}.Dropdown_CiE4S,.Dropdown_pSSSn{box-sizing:border-box;color:var(--altum-color-text);overflow-x:hidden;overflow-y:auto}.Dropdown_pSSSn{width:100%}.Dropdown_3ufyC{box-sizing:border-box;overflow:hidden;padding-block:var(--altum-g-space-1)}.Dropdown_3ufyC.Dropdown_pSSSn{overflow:hidden}";const d={root:"Dropdown_uVyL0",dropdownOverlay:"Dropdown_CiE4S",mobilePanel:"Dropdown_pSSSn",dropdownPanelContentScroll:"Dropdown_3ufyC"};(function(n){if(!(typeof document>"u")){var o=document.createElement("style");o.textContent=n,document.head.appendChild(o)}})(e);export{d as default};
1
+ "use client";var n=".uVyL0{display:inline-block}.CiE4S,.pSSSn{box-sizing:border-box;color:var(--altum-color-text);overflow-x:hidden;overflow-y:auto}.pSSSn{width:100%}._3ufyC{box-sizing:border-box;padding-block:var(--altum-g-space-1)}._3ufyC,._3ufyC.pSSSn{overflow:hidden}";const t={root:"uVyL0",dropdownOverlay:"CiE4S",mobilePanel:"pSSSn",dropdownPanelContentScroll:"_3ufyC"};(function(o){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=o,document.head.appendChild(e)}})(n);export{t as default};
@@ -1 +1 @@
1
- "use client";var e=".EmptyState_OlmHA{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--altum-g-font-family-ui);justify-content:center;text-align:center}.EmptyState_dTpw9{padding:var(--altum-g-space-8) var(--altum-g-space-6)}.EmptyState_dTpw9 .EmptyState_qVCyh{font-size:calc(var(--altum-g-font-size-4xl)*1.5)}.EmptyState_dTpw9 .EmptyState_xPfUf{font-size:var(--altum-g-font-size-lg)}.EmptyState_cftlu{padding:calc(var(--altum-g-space-8) + var(--altum-g-space-8)) var(--altum-g-space-8)}.EmptyState_cftlu .EmptyState_qVCyh{font-size:calc(var(--altum-g-font-size-4xl)*1.75);margin-bottom:var(--altum-g-space-5)}.EmptyState_cftlu .EmptyState_xPfUf{font-size:var(--altum-g-font-size-xl)}.EmptyState_cftlu .EmptyState_oWwH1{font-size:var(--altum-g-font-size-base);max-width:400px}.EmptyState_bnLtD{padding:var(--altum-g-space-4) var(--altum-g-space-3)}.EmptyState_bnLtD .EmptyState_qVCyh{font-size:calc(var(--altum-g-font-size-3xl) + var(--altum-g-space-1));margin-bottom:var(--altum-g-space-2)}.EmptyState_bnLtD .EmptyState_xPfUf{font-size:var(--altum-g-font-size-sm);margin-bottom:var(--altum-g-space-1)}.EmptyState_bnLtD .EmptyState_oWwH1{font-size:var(--altum-g-font-size-2xs);margin-bottom:var(--altum-g-space-3);max-width:240px}.EmptyState_qVCyh{align-items:center;color:var(--altum-color-empty-icon,var(--altum-color-text-secondary));display:flex;justify-content:center;line-height:0;margin-bottom:var(--altum-g-space-4)}.EmptyState_xPfUf{color:var(--altum-color-ink-default);font-weight:var(--altum-g-font-weight-semibold);margin:0 0 var(--altum-g-space-2)}.EmptyState_oWwH1{color:var(--altum-color-text-secondary);font-size:var(--altum-g-font-size-base);line-height:1.5;margin:0 0 var(--altum-g-space-5);max-width:320px}.EmptyState_dqxw1{margin-top:var(--altum-g-space-1)}";const m={emptyState:"EmptyState_OlmHA",md:"EmptyState_dTpw9",icon:"EmptyState_qVCyh",title:"EmptyState_xPfUf",lg:"EmptyState_cftlu",description:"EmptyState_oWwH1",sm:"EmptyState_bnLtD",action:"EmptyState_dqxw1"};(function(a){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=a,document.head.appendChild(t)}})(e);export{m as default};
1
+ "use client";var e=".OlmHA{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--altum-g-font-family-ui);justify-content:center;text-align:center}.dTpw9{padding:var(--altum-g-space-8) var(--altum-g-space-6)}.dTpw9 .qVCyh{font-size:calc(var(--altum-g-font-size-4xl)*1.5)}.dTpw9 .xPfUf{font-size:var(--altum-g-font-size-lg)}.cftlu{padding:calc(var(--altum-g-space-8) + var(--altum-g-space-8)) var(--altum-g-space-8)}.cftlu .qVCyh{font-size:calc(var(--altum-g-font-size-4xl)*1.75);margin-bottom:var(--altum-g-space-5)}.cftlu .xPfUf{font-size:var(--altum-g-font-size-xl)}.cftlu .oWwH1{font-size:var(--altum-g-font-size-base);max-width:400px}.bnLtD{padding:var(--altum-g-space-4) var(--altum-g-space-3)}.bnLtD .qVCyh{font-size:calc(var(--altum-g-font-size-3xl) + var(--altum-g-space-1));margin-bottom:var(--altum-g-space-2)}.bnLtD .xPfUf{font-size:var(--altum-g-font-size-sm);margin-bottom:var(--altum-g-space-1)}.bnLtD .oWwH1{font-size:var(--altum-g-font-size-2xs);margin-bottom:var(--altum-g-space-3);max-width:240px}.qVCyh{align-items:center;color:var(--altum-color-empty-icon,var(--altum-color-text-secondary));display:flex;justify-content:center;line-height:0;margin-bottom:var(--altum-g-space-4)}.xPfUf{color:var(--altum-color-ink-default);font-weight:var(--altum-g-font-weight-semibold);margin:0 0 var(--altum-g-space-2)}.oWwH1{color:var(--altum-color-text-secondary);font-size:var(--altum-g-font-size-base);line-height:1.5;margin:0 0 var(--altum-g-space-5);max-width:320px}.dqxw1{margin-top:var(--altum-g-space-1)}";const l={emptyState:"OlmHA",md:"dTpw9",icon:"qVCyh",title:"xPfUf",lg:"cftlu",description:"oWwH1",sm:"bnLtD",action:"dqxw1"};(function(a){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=a,document.head.appendChild(t)}})(e);export{l as default};
@@ -1 +1 @@
1
- "use client";var i=".FieldLabel_mYhbC{--altum-field-label-width:140px;display:flex;font-family:var(--altum-g-font-family-ui);max-width:100%;min-width:0;width:100%}.FieldLabel_JHH4i{align-items:flex-start;flex-direction:column;gap:var(--altum-g-space-1)}.FieldLabel_JHH4i .FieldLabel_Ow6f4{width:100%}.FieldLabel_NMckM{flex-direction:row;gap:var(--altum-g-space-4);max-width:100%;width:100%}.FieldLabel_NMckM .FieldLabel_9k-62{flex:0 0 var(--altum-field-label-width);max-width:40%;width:var(--altum-field-label-width)}.FieldLabel_NMckM .FieldLabel_Ow6f4{flex:1 1 0;min-width:0}.FieldLabel_NMckM.FieldLabel_DBhNo{justify-content:space-between}.FieldLabel_NMckM.FieldLabel_DBhNo:not(.FieldLabel_LmAub) .FieldLabel_9k-62{flex:0 1 auto;max-width:60%;width:auto}.FieldLabel_NMckM.FieldLabel_DBhNo .FieldLabel_Ow6f4{flex:0 1 auto;margin-left:auto;text-align:end;width:auto}.FieldLabel_WJ3bw.FieldLabel_NMckM{align-items:flex-start}.FieldLabel_ZzMKO.FieldLabel_NMckM{align-items:center}.FieldLabel_11jpQ.FieldLabel_NMckM{align-items:baseline}.FieldLabel_11jpQ.FieldLabel_NMckM .FieldLabel_9k-62,.FieldLabel_11jpQ.FieldLabel_NMckM .FieldLabel_Ow6f4{line-height:1.35}.FieldLabel_9k-62{color:var(--altum-field-label,var(--altum-color-muted));display:block;font-size:calc(var(--altum-g-font-size-base)*.78);font-weight:var(--altum-g-font-weight-medium);line-height:1.25;margin:0;padding:0;transform-origin:left top;transition:var(--altum-transition-smooth)}.FieldLabel_C-bgg .FieldLabel_9k-62{font-size:calc(var(--altum-g-font-size-2xs)*.78)}.FieldLabel_6g4fZ .FieldLabel_9k-62{font-size:calc(var(--altum-g-font-size-lg)*.78)}.FieldLabel_Ow6f4{color:var(--altum-color-input-text);display:block;font-size:var(--altum-g-font-size-base);line-height:1.35;min-width:0;width:100%}.FieldLabel_C-bgg .FieldLabel_Ow6f4{font-size:var(--altum-g-font-size-2xs,var(--altum-g-font-size-xs));line-height:1.35}.FieldLabel_6g4fZ .FieldLabel_Ow6f4{font-size:var(--altum-g-font-size-lg)}";const a={fieldLabel:"FieldLabel_mYhbC",vertical:"FieldLabel_JHH4i",content:"FieldLabel_Ow6f4",horizontal:"FieldLabel_NMckM",label:"FieldLabel_9k-62",justify_between:"FieldLabel_DBhNo",fixedLabelWidth:"FieldLabel_LmAub",align_start:"FieldLabel_WJ3bw",align_center:"FieldLabel_ZzMKO",align_baseline:"FieldLabel_11jpQ",sm:"FieldLabel_C-bgg",lg:"FieldLabel_6g4fZ"};(function(l){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=l,document.head.appendChild(e)}})(i);export{a as default};
1
+ "use client";var i=".mYhbC{--altum-field-label-width:140px;display:flex;font-family:var(--altum-g-font-family-ui);max-width:100%;min-width:0;width:100%}.JHH4i{align-items:flex-start;flex-direction:column;gap:var(--altum-g-space-1)}.JHH4i .Ow6f4,.NMckM{width:100%}.NMckM{flex-direction:row;gap:var(--altum-g-space-4);max-width:100%}.NMckM ._9k-62{flex:0 0 var(--altum-field-label-width);max-width:40%;width:var(--altum-field-label-width)}.NMckM .Ow6f4{flex:1 1 0;min-width:0}.NMckM.DBhNo{justify-content:space-between}.NMckM.DBhNo:not(.LmAub) ._9k-62{flex:0 1 auto;max-width:60%;width:auto}.NMckM.DBhNo .Ow6f4{flex:0 1 auto;margin-left:auto;text-align:end;width:auto}.WJ3bw.NMckM{align-items:flex-start}.ZzMKO.NMckM{align-items:center}._11jpQ.NMckM{align-items:baseline}._11jpQ.NMckM .Ow6f4,._11jpQ.NMckM ._9k-62{line-height:1.35}._9k-62{color:var(--altum-field-label,var(--altum-color-muted));display:block;font-size:calc(var(--altum-g-font-size-base)*.78);font-weight:var(--altum-g-font-weight-medium);line-height:1.25;margin:0;padding:0;transform-origin:left top;transition:var(--altum-transition-smooth)}.C-bgg ._9k-62{font-size:calc(var(--altum-g-font-size-2xs)*.78)}._6g4fZ ._9k-62{font-size:calc(var(--altum-g-font-size-lg)*.78)}.Ow6f4{color:var(--altum-color-input-text);display:block;font-size:var(--altum-g-font-size-base);line-height:1.35;min-width:0;width:100%}.C-bgg .Ow6f4{font-size:var(--altum-g-font-size-2xs,var(--altum-g-font-size-xs));line-height:1.35}._6g4fZ .Ow6f4{font-size:var(--altum-g-font-size-lg)}";const a={fieldLabel:"mYhbC",vertical:"JHH4i",content:"Ow6f4",horizontal:"NMckM",label:"_9k-62",justify_between:"DBhNo",fixedLabelWidth:"LmAub",align_start:"WJ3bw",align_center:"ZzMKO",align_baseline:"_11jpQ",sm:"C-bgg",lg:"_6g4fZ"};(function(e){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=e,document.head.appendChild(t)}})(i);export{a as default};
@@ -1 +1 @@
1
- "use client";var a=".Fieldset_52dnI{font-family:var(--altum-g-font-family-ui);margin:0;min-width:0;width:100%}.Fieldset_XI428{border:none;box-sizing:border-box;margin:0;min-width:0;padding:0}.Fieldset_u9wBt{color:var(--altum-color-ink-default);display:block;font-size:var(--altum-form-legend-size,var(--altum-g-font-size-base));font-weight:var(--altum-form-legend-weight,var(--altum-g-font-weight-semibold));line-height:var(--altum-form-legend-line-height,var(--altum-g-line-height-sm));margin:0 0 var(--altum-field-label-gap,var(--altum-g-space-1));padding:0;width:100%}.Fieldset_KGes-{color:var(--altum-color-muted);font-size:var(--altum-form-label-size,var(--altum-g-font-size-sm));line-height:var(--altum-form-label-line-height,var(--altum-g-line-height-sm));margin:0 0 var(--altum-g-space-4)}.Fieldset_KGes-+.Fieldset_KFHGW{margin-top:calc(var(--altum-g-space-3)*-1)}.Fieldset_KFHGW{color:var(--altum-color-muted);font-size:var(--altum-form-helper-size,var(--altum-g-font-size-xs));line-height:var(--altum-form-helper-line-height,var(--altum-g-line-height-xs));margin:0 0 var(--altum-g-space-4)}.Fieldset_uC7JA .Fieldset_KFHGW,.Fieldset_uC7JA .Fieldset_KGes-{margin-bottom:var(--altum-g-space-3)}.Fieldset_0fVjg{display:flex;flex-direction:column;gap:var(--altum-fieldset-gap,var(--altum-g-space-4));min-width:0}.Fieldset_FSexp{align-items:center;border-top:1px solid var(--altum-color-border);display:flex;flex-wrap:wrap;gap:var(--altum-g-space-2);margin-top:var(--altum-g-space-4);padding-top:var(--altum-g-space-4)}.Fieldset_uC7JA .Fieldset_FSexp{border-top:none;padding-top:var(--altum-g-space-3)}.Fieldset_DJqMz .Fieldset_FSexp,.Fieldset_tLQGM .Fieldset_FSexp{margin-bottom:calc(var(--altum-g-space-5)*-1);margin-left:calc(var(--altum-g-space-5)*-1);margin-right:calc(var(--altum-g-space-5)*-1);padding-bottom:var(--altum-g-space-5);padding-left:var(--altum-g-space-5);padding-right:var(--altum-g-space-5)}.Fieldset_Nkuom .Fieldset_XI428{cursor:not-allowed;opacity:var(--altum-opacity-disabled)}.Fieldset_Nkuom .Fieldset_KFHGW,.Fieldset_Nkuom .Fieldset_KGes-,.Fieldset_Nkuom .Fieldset_u9wBt{color:var(--altum-color-muted)}";const l={wrapper:"Fieldset_52dnI",fieldset:"Fieldset_XI428",default:"Fieldset_DJqMz",card:"Fieldset_tLQGM",plain:"Fieldset_uC7JA",legend:"Fieldset_u9wBt",description:"Fieldset_KGes-",hint:"Fieldset_KFHGW",content:"Fieldset_0fVjg",footer:"Fieldset_FSexp",disabled:"Fieldset_Nkuom"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(a);export{l as default};
1
+ "use client";var t="._52dnI{font-family:var(--altum-g-font-family-ui);width:100%}.XI428,._52dnI{margin:0;min-width:0}.XI428{border:none;box-sizing:border-box;padding:0}.u9wBt{color:var(--altum-color-ink-default);display:block;font-size:var(--altum-form-legend-size,var(--altum-g-font-size-base));font-weight:var(--altum-form-legend-weight,var(--altum-g-font-weight-semibold));line-height:var(--altum-form-legend-line-height,var(--altum-g-line-height-sm));margin:0 0 var(--altum-field-label-gap,var(--altum-g-space-1));padding:0;width:100%}.KGes-{color:var(--altum-color-muted);font-size:var(--altum-form-label-size,var(--altum-g-font-size-sm));line-height:var(--altum-form-label-line-height,var(--altum-g-line-height-sm));margin:0 0 var(--altum-g-space-4)}.KGes-+.KFHGW{margin-top:calc(var(--altum-g-space-3)*-1)}.KFHGW{color:var(--altum-color-muted);font-size:var(--altum-form-helper-size,var(--altum-g-font-size-xs));line-height:var(--altum-form-helper-line-height,var(--altum-g-line-height-xs));margin:0 0 var(--altum-g-space-4)}.uC7JA .KFHGW,.uC7JA .KGes-{margin-bottom:var(--altum-g-space-3)}._0fVjg{display:flex;flex-direction:column;gap:var(--altum-fieldset-gap,var(--altum-g-space-4));min-width:0}.FSexp{align-items:center;border-top:1px solid var(--altum-color-border);display:flex;flex-wrap:wrap;gap:var(--altum-g-space-2);margin-top:var(--altum-g-space-4);padding-top:var(--altum-g-space-4)}.uC7JA .FSexp{border-top:none;padding-top:var(--altum-g-space-3)}.DJqMz .FSexp,.tLQGM .FSexp{margin-bottom:calc(var(--altum-g-space-5)*-1);margin-left:calc(var(--altum-g-space-5)*-1);margin-right:calc(var(--altum-g-space-5)*-1);padding-bottom:var(--altum-g-space-5);padding-left:var(--altum-g-space-5);padding-right:var(--altum-g-space-5)}.Nkuom .XI428{cursor:not-allowed;opacity:var(--altum-opacity-disabled)}.Nkuom .KFHGW,.Nkuom .KGes-,.Nkuom .u9wBt{color:var(--altum-color-muted)}";const l={wrapper:"_52dnI",fieldset:"XI428",default:"DJqMz",card:"tLQGM",plain:"uC7JA",legend:"u9wBt",description:"KGes-",hint:"KFHGW",content:"_0fVjg",footer:"FSexp",disabled:"Nkuom"};(function(e){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=e,document.head.appendChild(a)}})(t);export{l as default};
@@ -1 +1 @@
1
- "use client";var i=".FileList_UesU8{font-family:inherit;list-style:none;margin:0;padding:0;width:100%}.FileList_UesU8,.FileList_ja6N-{display:flex;flex-direction:column;gap:var(--altum-g-space-2)}.FileList_ja6N-{min-width:0}.FileList_z9l9y{max-width:none;width:100%}.FileList_7l-z1{width:100%}";const l={list:"FileList_UesU8",item:"FileList_ja6N-",attachment:"FileList_z9l9y",progress:"FileList_7l-z1"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(i);export{l as default};
1
+ "use client";var o=".UesU8{font-family:inherit;gap:var(--altum-g-space-2);list-style:none;margin:0;padding:0;width:100%}.UesU8,.ja6N-{display:flex;flex-direction:column}.ja6N-{background-color:var(--altum-color-panel-bg);border:1px solid var(--altum-color-panel-border);border-radius:var(--altum-g-radius);gap:0;min-width:0;overflow:hidden}.ja6N-[data-status=error]{background-color:color-mix(in srgb,var(--altum-color-status-error) 8%,var(--altum-color-panel-bg));border-color:color-mix(in srgb,var(--altum-color-status-error) 40%,var(--altum-color-panel-border))}.ja6N-[data-status] .z9l9y{background:#0000;border:none;box-shadow:none;max-width:none;width:100%}:is(.ja6N-[data-status] .z9l9y):hover:not(:disabled){background:#0000}._7l-z1{box-sizing:border-box;padding:0 var(--altum-g-space-3) var(--altum-g-space-2);width:100%}";const e={list:"UesU8",item:"ja6N-",attachment:"z9l9y",progress:"_7l-z1"};(function(r){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=r,document.head.appendChild(a)}})(o);export{e as default};
@@ -1 +1 @@
1
- "use client";var s=".FormMessage_fTP3v{margin:var(--altum-field-message-gap,var(--altum-g-space-1)) 0 0}.FormMessage_MKhyb,.FormMessage_fTP3v{font-size:var(--altum-form-helper-size,var(--altum-g-font-size-xs));line-height:var(--altum-form-helper-line-height,var(--altum-g-line-height-xs));margin-left:var(--altum-form-helper-indent,var(--altum-g-space-1))}.FormMessage_MKhyb{color:var(--altum-color-ink-danger);display:block;margin-top:var(--altum-field-message-gap,var(--altum-g-space-1))}.FormMessage_Idde-{color:var(--altum-color-ink-muted)}.FormMessage_zrDCe{color:var(--altum-color-status-success-strong,var(--altum-color-status-success))}";const r={message:"FormMessage_fTP3v",error:"FormMessage_MKhyb",hint:"FormMessage_Idde-",success:"FormMessage_zrDCe"};(function(a){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=a,document.head.appendChild(e)}})(s);export{r as default};
1
+ "use client";var t=".fTP3v{margin:var(--altum-field-message-gap,var(--altum-g-space-1)) 0 0}.MKhyb,.fTP3v{font-size:var(--altum-form-helper-size,var(--altum-g-font-size-xs));line-height:var(--altum-form-helper-line-height,var(--altum-g-line-height-xs));margin-left:var(--altum-form-helper-indent,var(--altum-g-space-1))}.MKhyb{color:var(--altum-color-ink-danger);display:block;margin-top:var(--altum-field-message-gap,var(--altum-g-space-1))}.Idde-{color:var(--altum-color-ink-muted)}.zrDCe{color:var(--altum-color-status-success-strong,var(--altum-color-status-success))}";const r={message:"fTP3v",error:"MKhyb",hint:"Idde-",success:"zrDCe"};(function(a){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=a,document.head.appendChild(e)}})(t);export{r as default};
@@ -1 +1 @@
1
- "use client";var t=".GrabHandle_pBjjI{align-items:center;display:flex;flex-shrink:0;justify-content:center;padding:var(--altum-g-space-2) 0 var(--altum-g-space-1)}.GrabHandle_-rkH1{--altum-grab-handle-width:36px;--altum-grab-handle-height:var(--altum-g-space-1);background-color:var(--altum-color-input-border);border-radius:var(--altum-g-radius);height:var(--altum-grab-handle-height);width:var(--altum-grab-handle-width)}";const r={handle:"GrabHandle_pBjjI",handleBar:"GrabHandle_-rkH1"};(function(e){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=e,document.head.appendChild(a)}})(t);export{r as default};
1
+ "use client";var t=".pBjjI{align-items:center;display:flex;flex-shrink:0;justify-content:center;padding:var(--altum-g-space-2) 0 var(--altum-g-space-1)}.-rkH1{--altum-grab-handle-width:36px;--altum-grab-handle-height:var(--altum-g-space-1);background-color:var(--altum-color-input-border);border-radius:var(--altum-g-radius);height:var(--altum-grab-handle-height);width:var(--altum-grab-handle-width)}";const r={handle:"pBjjI",handleBar:"-rkH1"};(function(e){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=e,document.head.appendChild(a)}})(t);export{r as default};
@@ -1 +1 @@
1
- "use client";var m=".Grid_h49fk{display:grid;gap:var(--altum-grid-gap-xs,var(--altum-g-space-3));grid-template-columns:var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr)));width:100%}@media (min-width:600px){.Grid_h49fk{gap:var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3)));grid-template-columns:var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr))))}}@media (min-width:768px){.Grid_h49fk{gap:var(--altum-grid-gap-md,var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3))));grid-template-columns:var(--altum-grid-cols-md,var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr)))))}}@media (min-width:1024px){.Grid_h49fk{gap:var(--altum-grid-gap-lg,var(--altum-grid-gap-md,var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3)))));grid-template-columns:var(--altum-grid-cols-lg,var(--altum-grid-cols-md,var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr))))))}}@media (min-width:1280px){.Grid_h49fk{gap:var(--altum-grid-gap-xl,var(--altum-grid-gap-lg,var(--altum-grid-gap-md,var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3))))));grid-template-columns:var(--altum-grid-cols-xl,var(--altum-grid-cols-lg,var(--altum-grid-cols-md,var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr)))))))}}.Grid_P3cvG{grid-column:var(--altum-grid-item-col-xs,auto);grid-row:var(--altum-grid-item-row-xs,auto);min-width:0}@media (min-width:600px){.Grid_P3cvG{grid-column:var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto));grid-row:var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto))}}@media (min-width:768px){.Grid_P3cvG{grid-column:var(--altum-grid-item-col-md,var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto)));grid-row:var(--altum-grid-item-row-md,var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto)))}}@media (min-width:1024px){.Grid_P3cvG{grid-column:var(--altum-grid-item-col-lg,var(--altum-grid-item-col-md,var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto))));grid-row:var(--altum-grid-item-row-lg,var(--altum-grid-item-row-md,var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto))))}}@media (min-width:1280px){.Grid_P3cvG{grid-column:var(--altum-grid-item-col-xl,var(--altum-grid-item-col-lg,var(--altum-grid-item-col-md,var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto)))));grid-row:var(--altum-grid-item-row-xl,var(--altum-grid-item-row-lg,var(--altum-grid-item-row-md,var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto)))))}}";const i={grid:"Grid_h49fk",gridItem:"Grid_P3cvG"};(function(r){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=r,document.head.appendChild(a)}})(m);export{i as default};
1
+ "use client";var m=".h49fk{display:grid;gap:var(--altum-grid-gap-xs,var(--altum-g-space-3));grid-template-columns:var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr)));width:100%}@media (min-width:600px){.h49fk{gap:var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3)));grid-template-columns:var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr))))}}@media (min-width:768px){.h49fk{gap:var(--altum-grid-gap-md,var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3))));grid-template-columns:var(--altum-grid-cols-md,var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr)))))}}@media (min-width:1024px){.h49fk{gap:var(--altum-grid-gap-lg,var(--altum-grid-gap-md,var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3)))));grid-template-columns:var(--altum-grid-cols-lg,var(--altum-grid-cols-md,var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr))))))}}@media (min-width:1280px){.h49fk{gap:var(--altum-grid-gap-xl,var(--altum-grid-gap-lg,var(--altum-grid-gap-md,var(--altum-grid-gap-sm,var(--altum-grid-gap-xs,var(--altum-g-space-3))))));grid-template-columns:var(--altum-grid-cols-xl,var(--altum-grid-cols-lg,var(--altum-grid-cols-md,var(--altum-grid-cols-sm,var(--altum-grid-cols-xs,repeat(1,minmax(0,1fr)))))))}}.P3cvG{grid-column:var(--altum-grid-item-col-xs,auto);grid-row:var(--altum-grid-item-row-xs,auto);min-width:0}@media (min-width:600px){.P3cvG{grid-column:var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto));grid-row:var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto))}}@media (min-width:768px){.P3cvG{grid-column:var(--altum-grid-item-col-md,var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto)));grid-row:var(--altum-grid-item-row-md,var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto)))}}@media (min-width:1024px){.P3cvG{grid-column:var(--altum-grid-item-col-lg,var(--altum-grid-item-col-md,var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto))));grid-row:var(--altum-grid-item-row-lg,var(--altum-grid-item-row-md,var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto))))}}@media (min-width:1280px){.P3cvG{grid-column:var(--altum-grid-item-col-xl,var(--altum-grid-item-col-lg,var(--altum-grid-item-col-md,var(--altum-grid-item-col-sm,var(--altum-grid-item-col-xs,auto)))));grid-row:var(--altum-grid-item-row-xl,var(--altum-grid-item-row-lg,var(--altum-grid-item-row-md,var(--altum-grid-item-row-sm,var(--altum-grid-item-row-xs,auto)))))}}";const t={grid:"h49fk",gridItem:"P3cvG"};(function(r){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=r,document.head.appendChild(a)}})(m);export{t as default};
@@ -1 +1 @@
1
- "use client";var a=".ImageCrop_VsqSJ{box-sizing:border-box;display:flex;flex-direction:column;pointer-events:auto;position:relative;width:min(100%,var(--altum-image-crop-panel-max));z-index:1}.ImageCrop_VsqSJ .ImageCrop_QNjqO{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-sm);line-height:1.4;margin:0}.ImageCrop_VsqSJ .ImageCrop_br-aR{aspect-ratio:1;max-height:min(70vh,var(--altum-image-crop-stage-max));position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.ImageCrop_VsqSJ .ImageCrop_FFs-o{inset:0;overflow:hidden;position:absolute}.ImageCrop_VsqSJ .ImageCrop_eighF{cursor:grab;left:50%;position:absolute;top:50%;will-change:transform}:is(.ImageCrop_VsqSJ .ImageCrop_eighF):active{cursor:grabbing}.ImageCrop_VsqSJ .ImageCrop_LAjrZ{-webkit-user-drag:none;display:block;height:100%;pointer-events:none;width:100%}.ImageCrop_VsqSJ .ImageCrop_FO4mc{border:2px solid var(--altum-overlay-on-scrim);box-shadow:0 0 0 9999px var(--altum-overlay-scrim-strong);box-sizing:border-box;height:var(--altum-image-crop-size);left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:var(--altum-image-crop-size);z-index:1}.ImageCrop_VsqSJ .ImageCrop_Ec10p{border-radius:50%}.ImageCrop_VsqSJ .ImageCrop_3d1Qs{border-radius:var(--altum-g-radius-sm)}.ImageCrop_VsqSJ .ImageCrop_lNRUd{inset:0;pointer-events:none;position:absolute;z-index:2}.ImageCrop_VsqSJ .ImageCrop_mBMAL{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--altum-color-brand);border:2px solid var(--altum-overlay-on-scrim);border-radius:var(--altum-g-radius-sm);box-shadow:var(--altum-shadow-brand);height:var(--altum-g-space-4);left:50%;margin:0;padding:0;pointer-events:auto;position:absolute;top:50%;transition:background-color .15s ease;width:var(--altum-g-space-4)}:is(.ImageCrop_VsqSJ .ImageCrop_mBMAL):focus-visible,:is(.ImageCrop_VsqSJ .ImageCrop_mBMAL):hover{background-color:var(--altum-color-brand-hover);outline:none}@media (prefers-reduced-motion:reduce){.ImageCrop_VsqSJ .ImageCrop_mBMAL{transition:none}}.ImageCrop_VsqSJ .ImageCrop_KGGho,.ImageCrop_VsqSJ.ImageCrop_wGZHl{align-items:center;color:var(--altum-color-muted);display:flex;font-size:var(--altum-g-font-size-base);inset:0;justify-content:center;padding:var(--altum-g-space-4);position:absolute;text-align:center;z-index:3}.ImageCrop_VsqSJ.ImageCrop_wGZHl{background-color:color-mix(in srgb,var(--altum-color-dropdown-bg) 88%,transparent);color:var(--altum-color-status-error)}.ImageCrop_VsqSJ .ImageCrop_Tf9YE{display:flex;gap:var(--altum-g-space-2);justify-content:flex-end}";const r={panel:"ImageCrop_VsqSJ",hint:"ImageCrop_QNjqO",stage:"ImageCrop_br-aR",viewport:"ImageCrop_FFs-o",imageLayer:"ImageCrop_eighF",image:"ImageCrop_LAjrZ",cropFrame:"ImageCrop_FO4mc",cropCircle:"ImageCrop_Ec10p",cropSquare:"ImageCrop_3d1Qs",handlesLayer:"ImageCrop_lNRUd",handle:"ImageCrop_mBMAL",placeholder:"ImageCrop_KGGho",error:"ImageCrop_wGZHl",footer:"ImageCrop_Tf9YE"};(function(o){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=o,document.head.appendChild(e)}})(a);export{r as default};
1
+ "use client";var r=".VsqSJ{box-sizing:border-box;display:flex;flex-direction:column;pointer-events:auto;position:relative;width:min(100%,var(--altum-image-crop-panel-max));z-index:1}.VsqSJ .QNjqO{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-sm);line-height:1.4;margin:0}.VsqSJ .br-aR{aspect-ratio:1;max-height:min(70vh,var(--altum-image-crop-stage-max));position:relative;touch-action:none;-webkit-user-select:none;user-select:none;width:100%}.VsqSJ .FFs-o{inset:0;overflow:hidden;position:absolute}.VsqSJ .eighF{cursor:grab;left:50%;position:absolute;top:50%;will-change:transform}:is(.VsqSJ .eighF):active{cursor:grabbing}.VsqSJ .LAjrZ{-webkit-user-drag:none;display:block;height:100%;pointer-events:none;width:100%}.VsqSJ .FO4mc{border:2px solid var(--altum-overlay-on-scrim);box-shadow:0 0 0 9999px var(--altum-overlay-scrim-strong);box-sizing:border-box;height:var(--altum-image-crop-size);left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:var(--altum-image-crop-size);z-index:1}.VsqSJ .Ec10p{border-radius:50%}.VsqSJ ._3d1Qs{border-radius:var(--altum-g-radius-sm)}.VsqSJ .lNRUd{inset:0;pointer-events:none;position:absolute;z-index:2}.VsqSJ .mBMAL{appearance:none;background-color:var(--altum-color-brand);border:2px solid var(--altum-overlay-on-scrim);border-radius:var(--altum-g-radius-sm);box-shadow:var(--altum-shadow-brand);height:var(--altum-g-space-4);left:50%;margin:0;padding:0;pointer-events:auto;position:absolute;top:50%;transition:background-color .15s ease;width:var(--altum-g-space-4)}:is(.VsqSJ .mBMAL):focus-visible,:is(.VsqSJ .mBMAL):hover{background-color:var(--altum-color-brand-hover);outline:none}@media (prefers-reduced-motion:reduce){.VsqSJ .mBMAL{transition:none}}.VsqSJ .KGGho,.VsqSJ.wGZHl{align-items:center;color:var(--altum-color-muted);display:flex;font-size:var(--altum-g-font-size-base);inset:0;justify-content:center;padding:var(--altum-g-space-4);position:absolute;text-align:center;z-index:3}.VsqSJ.wGZHl{background-color:color-mix(in srgb,var(--altum-color-dropdown-bg) 88%,#0000);color:var(--altum-color-status-error)}.VsqSJ .Tf9YE{display:flex;gap:var(--altum-g-space-2);justify-content:flex-end}";const a={panel:"VsqSJ",hint:"QNjqO",stage:"br-aR",viewport:"FFs-o",imageLayer:"eighF",image:"LAjrZ",cropFrame:"FO4mc",cropCircle:"Ec10p",cropSquare:"_3d1Qs",handlesLayer:"lNRUd",handle:"mBMAL",placeholder:"KGGho",error:"wGZHl",footer:"Tf9YE"};(function(o){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=o,document.head.appendChild(e)}})(r);export{a as default};
@@ -1 +1 @@
1
- "use client";import{jsx as i,jsxs as H}from"react/jsx-runtime";import{forwardRef as c,useState as M,useCallback as I,useMemo as W,createContext as O,useContext as Y}from"react";import{ButtonIcon as k}from"../ButtonIcon/ButtonIcon.js";import{IconChevronLeft as _}from"../../icons/icons/IconChevronLeft.js";import{IconChevronRight as q}from"../../icons/icons/IconChevronRight.js";import{useDocumentKeyDown as J}from"../../hooks/useDocumentKeyDown.js";import{useControlledStateWithCallback as Q}from"../../hooks/useControlledState.js";import{handleArrowPairKeyDown as U}from"../../utils/keyboard.js";import t from"./ImageGallery.module.css.js";import{cn as g}from"../../utils/cn.js";import{composeEventHandlers as x}from"../../utils/composeEvents.js";import{useLocale as h}from"../../locales/localeContext.js";function X(e,a){return e.map((l,r)=>typeof l=="string"?{src:l,alt:a(r+1)}:l)}const E=O(null);function v(e){const a=Y(E);if(!a)throw new Error(`${e} \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0438 ImageGallery.Root`);return a}const C=c(function({images:e,index:a,defaultIndex:l=0,onIndexChange:r,className:n,enableKeyboard:m=!1,children:u,...s},y){const{t:N}=h(),f=X(e,d=>N("imageGallery.imageN",{index:d})),S=f.length>1,V=m&&S,[o,w]=Q(a,l,r),[P,$]=M("next"),p=I(d=>{d<0||d>=f.length||d===o||($(d>o?"next":"prev"),w(d))},[o,f.length,w]),b=I(()=>{p(o-1)},[o,p]),G=I(()=>{p(o+1)},[o,p]);J(d=>{U(d,b,G)},{enabled:V,target:"window"});const F=W(()=>({images:f,index:o,goTo:p,goPrev:b,goNext:G,canGoPrev:o>0,canGoNext:o<f.length-1,slideDirection:P}),[f,o,p,b,G,P]);return i(E.Provider,{value:F,children:i("div",{ref:y,className:g(t.gallery,!f.length&&t.empty,n),...s,children:u})})}),T=c(function({className:e,...a},l){return i("div",{ref:l,className:g(t.mainArea,e),...a})}),D=c(function({className:e,...a},l){const{images:r,index:n,slideDirection:m}=v("ImageGallery.Image"),{t:u}=h(),s=r[n];return s?i("img",{ref:l,src:s.src,alt:s.alt??u("imageGallery.imageN",{index:n+1}),className:g(t.mainImage,t[`slide_${m}`],e),draggable:!1,...a}):null}),B=c(function({className:e,...a},l){return i("div",{ref:l,className:g(t.viewport,e),...a})}),z=c(function({className:e,onClick:a,disabled:l,"aria-label":r,...n},m){const{goPrev:u,canGoPrev:s}=v("ImageGallery.Prev"),{t:y}=h();return i(k,{ref:m,className:g(t.navBtn,e),variant:"ghost",shape:"circle",size:"md",icon:i(_,{size:22}),...n,"aria-label":r??y("imageGallery.prev"),disabled:!s||l,onClick:x(a,()=>{u()})})}),R=c(function({className:e,onClick:a,disabled:l,"aria-label":r,...n},m){const{goNext:u,canGoNext:s}=v("ImageGallery.Next"),{t:y}=h();return i(k,{ref:m,className:g(t.navBtn,e),variant:"ghost",shape:"circle",size:"md",icon:i(q,{size:22}),...n,"aria-label":r??y("imageGallery.next"),disabled:!s||l,onClick:x(a,()=>{u()})})}),K=c(function({className:e,...a},l){return i("div",{ref:l,className:g(t.thumbnails,e),...a})}),j=c(function({index:e,className:a,onClick:l,...r},n){const{images:m,index:u,goTo:s}=v("ImageGallery.Thumb"),{t:y}=h(),N=m[e];return N?i("button",{ref:n,type:"button",className:g(t.thumbnailBtn,e===u&&t.active,a),"aria-label":N.alt??y("imageGallery.imageN",{index:e+1}),"aria-current":e===u?"true":void 0,onClick:x(l,()=>{s(e)}),...r,children:i("img",{src:N.thumbnail??N.src,alt:"",className:t.thumbnailImage,draggable:!1})}):null}),A=c(function({className:e,...a},l){const{images:r,index:n}=v("ImageGallery.Counter");return r.length<2?null:H("div",{ref:l,className:g(t.counter,e),"aria-live":"polite",...a,children:[n+1," ","/"," ",r.length]})}),L=c(function({className:e,children:a,...l},r){const{images:n}=v("ImageGallery.Empty"),{t:m}=h();return n.length?null:i("span",{ref:r,className:g(t.emptyText,e),...l,children:a??m("imageGallery.empty")})});C.displayName="ImageGallery",T.displayName="ImageGallery.Viewport",D.displayName="ImageGallery.Image",B.displayName="ImageGallery.Nav",z.displayName="ImageGallery.Prev",R.displayName="ImageGallery.Next",K.displayName="ImageGallery.Thumbnails",j.displayName="ImageGallery.Thumb",A.displayName="ImageGallery.Counter",L.displayName="ImageGallery.Empty";const Z=Object.assign(C,{Root:C,Viewport:T,Image:D,Nav:B,Prev:z,Next:R,Thumbnails:K,Thumb:j,Counter:A,Empty:L});export{Z as ImageGallery};
1
+ "use client";import{jsx as f,jsxs as j}from"react/jsx-runtime";import{forwardRef as I,useState as B,useCallback as G,useMemo as z,useRef as x,useLayoutEffect as le,useEffect as M,createContext as K,useContext as S}from"react";import{ButtonIcon as V}from"../ButtonIcon/ButtonIcon.js";import{IconChevronLeft as oe}from"../../icons/icons/IconChevronLeft.js";import{IconChevronRight as ie}from"../../icons/icons/IconChevronRight.js";import{useDocumentKeyDown as ue}from"../../hooks/useDocumentKeyDown.js";import{useControlledStateWithCallback as me}from"../../hooks/useControlledState.js";import{useMediaQuery as se}from"../../hooks/useMediaQuery.js";import{usePrefersReducedMotion as ce}from"../../hooks/usePrefersReducedMotion.js";import{handleArrowPairKeyDown as de}from"../../utils/keyboard.js";import u from"./ImageGallery.module.css.js";import{cn as b}from"../../utils/cn.js";import{composeEventHandlers as w}from"../../utils/composeEvents.js";import{composeRefs as ge}from"../../utils/composeRefs.js";import{useLocale as E}from"../../locales/localeContext.js";const fe=2e3,ve=420,he="(hover: hover) and (pointer: fine)";function pe(e,n){return e.map((r,a)=>typeof r=="string"?{src:r,alt:n(a+1)}:r)}const _=K(null),q=K(null);function L(e){const n=S(_);if(!n)throw new Error(`${e} \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0438 ImageGallery.Root`);return n}function O(){return S(q)}const H=I(function({images:e,index:n,defaultIndex:r=0,onIndexChange:a,className:m,enableKeyboard:o=!1,children:v,...h},d){const{t:i}=E(),g=pe(e,N=>i("imageGallery.imageN",{index:N})),p=g.length>1,y=o&&p,[t,l]=me(n,r,a),[c,C]=B("next"),P=G(N=>{N<0||N>=g.length||N===t||(C(N>t?"next":"prev"),l(N))},[t,g.length,l]),T=G(()=>{P(t-1)},[t,P]),D=G(()=>{P(t+1)},[t,P]);ue(N=>{de(N,T,D)},{enabled:y,target:"window"});const R=z(()=>({images:g,index:t,goTo:P,goPrev:T,goNext:D,canGoPrev:t>0,canGoNext:t<g.length-1,slideDirection:c}),[g,t,P,T,D,c]);return f(_.Provider,{value:R,children:f("div",{ref:d,className:b(u.gallery,!g.length&&u.empty,m),...h,children:v})})}),Q=I(function({className:e,onPointerMove:n,onPointerDown:r,onPointerLeave:a,...m},o){const v=x(null),h=x(null),d=x(!1),i=se(he),g=x(i),[p,y]=B(!0);M(()=>{g.current=i},[i]);const t=G(()=>{h.current!=null&&(clearTimeout(h.current),h.current=null)},[]),l=G(()=>{t(),g.current&&(h.current=setTimeout(()=>{h.current=null,!d.current&&(v.current?.querySelector(":focus-visible")||y(!1))},fe))},[t]),c=G(()=>{y(!0),l()},[l]),C=G(()=>{d.current=!0,t(),y(!0)},[t]),P=G(()=>{d.current=!1,l()},[l]),T=G(s=>{n?.(s),!s.defaultPrevented&&c()},[n,c]),D=G(s=>{r?.(s),!s.defaultPrevented&&c()},[r,c]),R=G(s=>{a?.(s),!s.defaultPrevented&&(d.current=!1,l())},[a,l]),N=x({showChrome:c,scheduleHide:l});M(()=>{N.current={showChrome:c,scheduleHide:l}},[l,c]),M(()=>{if(!i){t(),y(!0);return}return l(),t},[t,i,l]);const F=x(null),te=G(s=>{if(F.current?.(),F.current=null,ge(v,o)(s),!s)return;const k=()=>{N.current.showChrome()},A=()=>{N.current.showChrome()},$=()=>{d.current=!1,N.current.scheduleHide()};s.addEventListener("pointermove",k),s.addEventListener("mousemove",k),s.addEventListener("pointerdown",A),s.addEventListener("pointerleave",$),F.current=()=>{s.removeEventListener("pointermove",k),s.removeEventListener("mousemove",k),s.removeEventListener("pointerdown",A),s.removeEventListener("pointerleave",$)}},[o]),ae=z(()=>({pinChrome:C,unpinChrome:P}),[C,P]);return f(q.Provider,{value:ae,children:f("div",{ref:te,className:b(u.mainArea,e),"data-chrome-visible":p?"true":"false",...m,onPointerMove:T,onPointerDown:D,onPointerLeave:R})})}),W=I(function({className:e,onAnimationEnd:n,...r},a){const{images:m,index:o,slideDirection:v}=L("ImageGallery.Image"),{t:h}=E(),d=ce(),i=m[o],g=x(o),[p,y]=B(null),[t,l]=B(!1);return le(()=>{const c=g.current;if(c===o)return;const C=m[c];if(g.current=o,d){y(null),l(!1);return}C&&y({item:C,direction:v}),l(!0)},[m,o,d,v]),M(()=>{if(!p)return;const c=window.setTimeout(()=>{y(null)},ve+60);return()=>window.clearTimeout(c)},[p]),i?f("div",{className:u.slideFrame,children:j("div",{className:u.viewport,children:[p?f("img",{src:p.item.src,alt:"","aria-hidden":!0,className:b(u.mainImage,u.outgoingImage,u[`slideOut_${p.direction}`]),draggable:!1,onAnimationEnd:c=>{c.target===c.currentTarget&&y(null)}},`out-${p.item.src}-${p.direction}`):null,f("img",{ref:a,src:i.src,alt:i.alt??h("imageGallery.imageN",{index:o+1}),className:b(u.mainImage,t&&!d&&u[`slide_${v}`],e),draggable:!1,onAnimationEnd:n,...r},o)]})}):null}),J=I(function({className:e,...n},r){return f("div",{ref:r,className:e,...n})});function U(e,n,r,a,m){return{onPointerEnter:w(n,()=>{e?.pinChrome()}),onPointerLeave:w(r,()=>{e?.unpinChrome()}),onFocus:w(a,()=>{e?.pinChrome()}),onBlur:w(m,()=>{e?.unpinChrome()})}}const X=I(function({className:e,onClick:n,disabled:r,onPointerEnter:a,onPointerLeave:m,onFocus:o,onBlur:v,"aria-label":h,...d},i){const{goPrev:g,canGoPrev:p,images:y}=L("ImageGallery.Prev"),{t}=E(),l=O();return y.length<2?null:f(V,{ref:i,className:b(u.navBtn,u.navPrev,e),variant:"ghost",shape:"circle",size:"md",icon:f(oe,{size:22}),...d,...U(l,a,m,o,v),"aria-label":h??t("imageGallery.prev"),disabled:!p||r,onClick:w(n,()=>{g()})})}),Y=I(function({className:e,onClick:n,disabled:r,onPointerEnter:a,onPointerLeave:m,onFocus:o,onBlur:v,"aria-label":h,...d},i){const{goNext:g,canGoNext:p,images:y}=L("ImageGallery.Next"),{t}=E(),l=O();return y.length<2?null:f(V,{ref:i,className:b(u.navBtn,u.navNext,e),variant:"ghost",shape:"circle",size:"md",icon:f(ie,{size:22}),...d,...U(l,a,m,o,v),"aria-label":h??t("imageGallery.next"),disabled:!p||r,onClick:w(n,()=>{g()})})}),Z=I(function({className:e,...n},r){return f("div",{ref:r,className:b(u.thumbnails,e),...n})}),ee=I(function({index:e,className:n,onClick:r,...a},m){const{images:o,index:v,goTo:h}=L("ImageGallery.Thumb"),{t:d}=E(),i=o[e];return i?f("button",{ref:m,type:"button",className:b(u.thumbnailBtn,e===v&&u.active,n),"aria-label":i.alt??d("imageGallery.imageN",{index:e+1}),"aria-current":e===v?"true":void 0,onClick:w(r,()=>{h(e)}),...a,children:f("img",{src:i.thumbnail??i.src,alt:"",className:u.thumbnailImage,draggable:!1})}):null}),ne=I(function({className:e,...n},r){const{images:a,index:m}=L("ImageGallery.Counter");return a.length<2?null:j("div",{ref:r,className:b(u.counter,e),"aria-live":"polite",...n,children:[m+1," ","/"," ",a.length]})}),re=I(function({className:e,children:n,...r},a){const{images:m}=L("ImageGallery.Empty"),{t:o}=E();return m.length?null:f("span",{ref:a,className:b(u.emptyText,e),...r,children:n??o("imageGallery.empty")})});H.displayName="ImageGallery",Q.displayName="ImageGallery.Viewport",W.displayName="ImageGallery.Image",J.displayName="ImageGallery.Nav",X.displayName="ImageGallery.Prev",Y.displayName="ImageGallery.Next",Z.displayName="ImageGallery.Thumbnails",ee.displayName="ImageGallery.Thumb",ne.displayName="ImageGallery.Counter",re.displayName="ImageGallery.Empty";const ye=Object.assign(H,{Root:H,Viewport:Q,Image:W,Nav:J,Prev:X,Next:Y,Thumbnails:Z,Thumb:ee,Counter:ne,Empty:re});export{ye as ImageGallery};
@@ -1 +1 @@
1
- "use client";var l=".ImageGallery_20B5K{display:flex;flex-direction:column;font-family:var(--altum-g-font-family-ui);gap:var(--altum-g-space-4);width:100%}.ImageGallery_20B5K .ImageGallery_viRPM{align-items:center;background-color:var(--altum-color-surface);border:1px dashed var(--altum-color-border);border-radius:var(--altum-g-radius);justify-content:center;min-height:var(--altum-image-gallery-viewport-min)}.ImageGallery_20B5K .ImageGallery_9qVXv{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-base)}.ImageGallery_20B5K .ImageGallery_-FEGS{align-items:center;display:flex;gap:var(--altum-g-space-2);position:relative;width:100%}.ImageGallery_20B5K .ImageGallery_ScF3c{align-items:center;background-color:var(--altum-image-gallery-viewport-bg,var(--altum-color-surface));border:1px solid var(--altum-image-gallery-viewport-border,var(--altum-color-border));border-radius:var(--altum-g-radius);display:flex;flex:1;height:var(--altum-image-gallery-viewport-height,min(60vh,480px));justify-content:center;min-width:0;overflow:hidden;position:relative}.ImageGallery_20B5K .ImageGallery_kuumv{height:auto;max-height:100%;max-width:100%;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto;will-change:transform,opacity}.ImageGallery_20B5K .ImageGallery_H6NBE{animation:ImageGallery_PAexP .42s cubic-bezier(.16,1,.3,1)}.ImageGallery_20B5K .ImageGallery_QibNu{animation:ImageGallery_Z6aVX .42s cubic-bezier(.16,1,.3,1)}.ImageGallery_20B5K .ImageGallery_ro8Ub{background-color:var(--altum-image-gallery-nav-bg,var(--altum-color-surface))!important;border:1px solid var(--altum-image-gallery-nav-border,var(--altum-color-border))!important;box-shadow:var(--altum-shadow-surface);color:var(--altum-image-gallery-nav-color,inherit);flex-shrink:0}:is(.ImageGallery_20B5K .ImageGallery_ro8Ub):disabled{opacity:.35;pointer-events:none}.ImageGallery_20B5K .ImageGallery_nCrhJ{display:flex;gap:var(--altum-g-space-2);overflow-x:auto;padding:var(--altum-g-space-1) var(--altum-g-space-1) var(--altum-g-space-2);scroll-behavior:smooth;scrollbar-width:thin}.ImageGallery_20B5K .ImageGallery_jcfWL{background:none;border:2px solid transparent;border-radius:var(--altum-g-radius-sm);cursor:pointer;flex:0 0 auto;height:var(--altum-image-gallery-thumb-height);opacity:.65;overflow:hidden;padding:0;transition:var(--altum-transition-smooth);width:var(--altum-image-gallery-thumb-width)}:is(.ImageGallery_20B5K .ImageGallery_jcfWL):hover:not(:disabled){opacity:.9}.ImageGallery_obGnC:is(.ImageGallery_20B5K .ImageGallery_jcfWL){border-color:var(--altum-color-brand);box-shadow:0 0 0 1px var(--altum-color-brand);opacity:1}:is(.ImageGallery_20B5K .ImageGallery_jcfWL) .ImageGallery_DlhBH{display:block;height:100%;object-fit:cover;pointer-events:none;width:100%}.ImageGallery_20B5K .ImageGallery_MdBOx{align-self:center;color:var(--altum-image-gallery-counter-color,var(--altum-color-muted));font-size:var(--altum-g-font-size-2xs);font-weight:var(--altum-g-font-weight-medium)}@keyframes ImageGallery_PAexP{0%{opacity:0;transform:translateX(var(--altum-g-space-7)) scale(.98)}to{opacity:1;transform:translateX(0) scale(1)}}@keyframes ImageGallery_Z6aVX{0%{opacity:0;transform:translateX(calc(var(--altum-g-space-7)*-1)) scale(.98)}to{opacity:1;transform:translateX(0) scale(1)}}@media (prefers-reduced-motion:reduce){.ImageGallery_H6NBE,.ImageGallery_QibNu{animation:none;transform:none}}";const r={gallery:"ImageGallery_20B5K",empty:"ImageGallery_viRPM",emptyText:"ImageGallery_9qVXv",mainArea:"ImageGallery_-FEGS",viewport:"ImageGallery_ScF3c",mainImage:"ImageGallery_kuumv",slide_next:"ImageGallery_H6NBE",gallerySlideNext:"ImageGallery_PAexP",slide_prev:"ImageGallery_QibNu",gallerySlidePrev:"ImageGallery_Z6aVX",navBtn:"ImageGallery_ro8Ub",thumbnails:"ImageGallery_nCrhJ",thumbnailBtn:"ImageGallery_jcfWL",active:"ImageGallery_obGnC",thumbnailImage:"ImageGallery_DlhBH",counter:"ImageGallery_MdBOx"};(function(e){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=e,document.head.appendChild(a)}})(l);export{r as default};
1
+ "use client";var t="._20B5K{--altum-image-gallery-chrome-in:opacity 0.32s cubic-bezier(0.4,0,0.2,1);--altum-image-gallery-chrome-out:opacity 0.5s cubic-bezier(0.4,0,0.2,1);display:flex;flex-direction:column;font-family:var(--altum-g-font-family-ui);gap:var(--altum-g-space-4);width:100%}._20B5K .viRPM{align-items:center;background-color:var(--altum-color-surface);border:1px dashed var(--altum-color-border);border-radius:var(--altum-g-radius);justify-content:center;min-height:var(--altum-image-gallery-viewport-min)}._20B5K ._9qVXv{color:var(--altum-color-muted);font-size:var(--altum-g-font-size-base)}._20B5K .-FEGS{background-color:var(--altum-image-gallery-viewport-bg,var(--altum-color-surface));border:1px solid var(--altum-image-gallery-viewport-border,var(--altum-color-border));border-radius:var(--altum-g-radius);height:var(--altum-image-gallery-viewport-height,min(60vh,480px));min-width:0;overflow:var(--altum-image-gallery-viewport-overflow,hidden);position:relative;width:100%}._20B5K .ZO-Iv{filter:var(--altum-image-gallery-image-filter,none);height:100%;width:100%}._20B5K .ScF3c{height:100%;overflow:hidden;position:relative;width:100%}._20B5K .kuumv{height:100%;inset:0;object-fit:contain;position:absolute;-webkit-user-select:none;user-select:none;width:100%;z-index:1}._20B5K .q-GWc{pointer-events:none;z-index:0}._20B5K .H6NBE{animation:PAexP .42s cubic-bezier(.16,1,.3,1)}._20B5K .QibNu{animation:Z6aVX .42s cubic-bezier(.16,1,.3,1)}._20B5K .Qw-Ai{animation:_0FP-e .42s cubic-bezier(.16,1,.3,1) forwards}._20B5K ._68yQt{animation:LmUQn .42s cubic-bezier(.16,1,.3,1) forwards}._20B5K .ro8Ub{background-color:var(--altum-image-gallery-nav-bg,var(--altum-color-surface))!important;border:1px solid var(--altum-image-gallery-nav-border,var(--altum-color-border))!important;box-shadow:var(--altum-shadow-surface);color:var(--altum-image-gallery-nav-color,inherit);position:absolute!important;top:50%;translate:0 -50%;z-index:2}:is(._20B5K .ro8Ub):disabled{opacity:.35;pointer-events:none}._20B5K .utab2{left:var(--altum-g-space-3)}._20B5K .QpEtC{right:var(--altum-g-space-3)}@media (hover:hover) and (pointer:fine){._20B5K .ro8Ub{opacity:0;pointer-events:none;transition:var(--altum-image-gallery-chrome-out)}:is(._20B5K .ro8Ub):disabled{opacity:0}._20B5K .-FEGS:focus-within .ro8Ub,._20B5K .-FEGS[data-chrome-visible=true] .ro8Ub{opacity:1;pointer-events:auto;transition:var(--altum-image-gallery-chrome-in)}:is(._20B5K .-FEGS[data-chrome-visible=true] .ro8Ub,._20B5K .-FEGS:focus-within .ro8Ub):disabled{opacity:.35;pointer-events:none}}._20B5K .nCrhJ{display:flex;gap:var(--altum-g-space-2);overflow-x:auto;padding:var(--altum-g-space-1) var(--altum-g-space-1) var(--altum-g-space-2);scroll-behavior:smooth;scrollbar-width:thin}._20B5K .jcfWL{background:none;border:2px solid #0000;border-radius:var(--altum-g-radius-sm);cursor:pointer;flex:0 0 auto;height:var(--altum-image-gallery-thumb-height);opacity:.65;overflow:hidden;padding:0;transition:var(--altum-transition-smooth);width:var(--altum-image-gallery-thumb-width)}:is(._20B5K .jcfWL):hover:not(:disabled){opacity:.9}.obGnC:is(._20B5K .jcfWL){border-color:var(--altum-color-brand);box-shadow:0 0 0 1px var(--altum-color-brand);opacity:1}:is(._20B5K .jcfWL) .DlhBH{display:block;height:100%;object-fit:cover;pointer-events:none;width:100%}._20B5K .MdBOx{align-self:center;color:var(--altum-image-gallery-counter-color,var(--altum-color-muted));font-size:var(--altum-g-font-size-2xs);font-weight:var(--altum-g-font-weight-medium)}@keyframes PAexP{0%{transform:translateX(var(--altum-g-space-7))}to{transform:translateX(0)}}@keyframes Z6aVX{0%{transform:translateX(calc(var(--altum-g-space-7)*-1))}to{transform:translateX(0)}}@keyframes _0FP-e{0%{opacity:1;transform:translateX(0)}35%{opacity:0}to{opacity:0;transform:translateX(calc(var(--altum-g-space-7)*-1))}}@keyframes LmUQn{0%{opacity:1;transform:translateX(0)}35%{opacity:0}to{opacity:0;transform:translateX(var(--altum-g-space-7))}}@media (prefers-reduced-motion:reduce){.H6NBE,.QibNu,.Qw-Ai,._68yQt{animation:none;transform:none}._20B5K .ro8Ub{transition:none}}";const r={gallery:"_20B5K",empty:"viRPM",emptyText:"_9qVXv",mainArea:"-FEGS",slideFrame:"ZO-Iv",viewport:"ScF3c",mainImage:"kuumv",outgoingImage:"q-GWc",slide_next:"H6NBE",gallerySlideNext:"PAexP",slide_prev:"QibNu",gallerySlidePrev:"Z6aVX",slideOut_next:"Qw-Ai",gallerySlideOutNext:"_0FP-e",slideOut_prev:"_68yQt",gallerySlideOutPrev:"LmUQn",navBtn:"ro8Ub",navPrev:"utab2",navNext:"QpEtC",thumbnails:"nCrhJ",thumbnailBtn:"jcfWL",active:"obGnC",thumbnailImage:"DlhBH",counter:"MdBOx"};(function(e){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=e,document.head.appendChild(a)}})(t);export{r as default};
@@ -1 +1 @@
1
- "use client";import{jsx as e,jsxs as l}from"react/jsx-runtime";import{forwardRef as v}from"react";import{Overlay as y}from"../Overlay/Overlay.js";import{Box as N}from"../Box/Box.js";import{ImageGallery as a}from"../ImageGallery/ImageGallery.js";import{ButtonIcon as k}from"../ButtonIcon/ButtonIcon.js";import{IconCross as L}from"../../icons/icons/IconCross.js";import{cn as B}from"../../utils/cn.js";import{composeEventHandlers as j}from"../../utils/composeEvents.js";import r from"./ImageLightbox.module.css.js";import{useLocale as w}from"../../locales/localeContext.js";const t=v(function({open:m,onClose:s,onOpenChange:c,images:d,index:p,defaultIndex:g=0,onIndexChange:f,className:h,onClick:x,...b},C){const{t:i}=w(),u=i("imageLightbox.ariaLabel"),n=()=>{s(),c?.(!1)};return e(y,{ref:C,variant:"modal",purpose:"lightbox",open:m,onClose:n,backdropVariant:"strong",backdropBlur:"md","aria-label":u,asChild:!1,children:(o,I)=>l("div",{ref:I,className:B(r.lightboxStage,o.className,h),style:o.style,...b,role:o.role,"aria-modal":o["aria-modal"],"aria-label":o["aria-label"],onClick:j(x,o.onClick),children:[e(k,{className:r.closeBtn,variant:"ghost",shape:"circle",size:"md","aria-label":i("imageLightbox.close"),onClick:n,icon:e(L,{size:20})}),e(N,{variant:"overlay",padding:"md",className:r.lightboxContent,children:l(a,{images:d,index:p,defaultIndex:g,onIndexChange:f,enableKeyboard:!0,className:r.gallery,children:[l(a.Viewport,{children:[e(a.Prev,{}),e(a.Image,{}),e(a.Next,{})]}),e(a.Counter,{})]})})]})})});t.displayName="ImageLightbox";export{t as ImageLightbox};
1
+ "use client";import{jsx as e,jsxs as l}from"react/jsx-runtime";import{forwardRef as y}from"react";import{Overlay as N}from"../Overlay/Overlay.js";import{ImageGallery as a}from"../ImageGallery/ImageGallery.js";import{ButtonIcon as v}from"../ButtonIcon/ButtonIcon.js";import{IconCross as k}from"../../icons/icons/IconCross.js";import{cn as L}from"../../utils/cn.js";import{composeEventHandlers as B}from"../../utils/composeEvents.js";import r from"./ImageLightbox.module.css.js";import{useLocale as j}from"../../locales/localeContext.js";const t=y(function({open:m,onClose:s,onOpenChange:c,images:d,index:g,defaultIndex:p=0,onIndexChange:f,className:h,onClick:x,...b},C){const{t:i}=j(),u=i("imageLightbox.ariaLabel"),n=()=>{s(),c?.(!1)};return e(N,{ref:C,variant:"modal",purpose:"lightbox",open:m,onClose:n,backdropVariant:"strong",backdropBlur:"md","aria-label":u,asChild:!1,children:(o,I)=>l("div",{ref:I,className:L(r.lightboxStage,o.className,h),style:o.style,...b,role:o.role,"aria-modal":o["aria-modal"],"aria-label":o["aria-label"],onClick:B(x,o.onClick),children:[e(v,{className:r.closeBtn,variant:"ghost",shape:"circle",size:"md","aria-label":i("imageLightbox.close"),onClick:n,icon:e(k,{size:20})}),e("div",{className:r.lightboxContent,children:l(a,{images:d,index:g,defaultIndex:p,onIndexChange:f,enableKeyboard:!0,className:r.gallery,children:[l(a.Viewport,{children:[e(a.Prev,{}),e(a.Image,{}),e(a.Next,{})]}),e(a.Counter,{})]})})]})})});t.displayName="ImageLightbox";export{t as ImageLightbox};
@@ -1 +1 @@
1
- "use client";var a=".ImageLightbox_eOvxn{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;overflow:visible;padding:var(--altum-g-space-6);pointer-events:none;position:relative;width:100%}.ImageLightbox_0WJys{max-height:calc(100vh - 48px);pointer-events:auto;position:relative;width:min(100%,960px);z-index:1}.ImageLightbox_gfE0G{--altum-image-gallery-counter-color:var(--altum-overlay-text-muted);--altum-image-gallery-viewport-height:min(72vh,640px);--altum-image-gallery-viewport-bg:transparent;--altum-image-gallery-viewport-border:transparent;--altum-image-gallery-nav-bg:var(--altum-overlay-control-bg);--altum-image-gallery-nav-border:var(--altum-overlay-control-border);--altum-image-gallery-nav-color:var(--altum-overlay-on-scrim)}.ImageLightbox_KjbkK{background-color:var(--altum-overlay-control-bg)!important;border:1px solid var(--altum-overlay-control-border)!important;color:var(--altum-overlay-on-scrim);pointer-events:auto;position:absolute!important;right:var(--altum-g-space-5);top:var(--altum-g-space-5);z-index:2}.ImageLightbox_KjbkK:hover:not(:disabled){background-color:var(--altum-overlay-control-hover)!important}.ImageLightbox_KjbkK:focus-visible{outline:2px solid var(--altum-overlay-on-scrim);outline-offset:var(--altum-focus-ring-offset)}";const o={lightboxStage:"ImageLightbox_eOvxn",lightboxContent:"ImageLightbox_0WJys",gallery:"ImageLightbox_gfE0G",closeBtn:"ImageLightbox_KjbkK"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(a);export{o as default};
1
+ "use client";var t=".eOvxn{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;overflow:visible;padding:var(--altum-g-space-6);pointer-events:none;width:100%}._0WJys,.eOvxn{position:relative}._0WJys{max-height:calc(100vh - 48px);max-width:100%;min-width:0;pointer-events:auto;width:min(100%,960px);z-index:1}.gfE0G{--altum-image-gallery-counter-color:var(--altum-overlay-text-muted);--altum-image-gallery-viewport-height:min(72vh,640px);--altum-image-gallery-viewport-bg:#0000;--altum-image-gallery-viewport-border:#0000;--altum-image-gallery-viewport-overflow:visible;--altum-image-gallery-image-filter:drop-shadow(var(--altum-overlay-media-shadow));--altum-image-gallery-nav-bg:var(--altum-overlay-control-bg);--altum-image-gallery-nav-border:var(--altum-overlay-control-border);--altum-image-gallery-nav-color:var(--altum-overlay-on-scrim)}.KjbkK{background-color:var(--altum-overlay-control-bg)!important;border:1px solid var(--altum-overlay-control-border)!important;color:var(--altum-overlay-on-scrim);pointer-events:auto;position:absolute!important;right:var(--altum-g-space-5);top:var(--altum-g-space-5);z-index:2}.KjbkK:hover:not(:disabled){background-color:var(--altum-overlay-control-hover)!important}.KjbkK:focus-visible{outline:2px solid var(--altum-overlay-on-scrim);outline-offset:var(--altum-focus-ring-offset)}";const o={lightboxStage:"eOvxn",lightboxContent:"_0WJys",gallery:"gfE0G",closeBtn:"KjbkK"};(function(a){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=a,document.head.appendChild(e)}})(t);export{o as default};
@@ -1 +1 @@
1
- "use client";import{jsx as r}from"react/jsx-runtime";import{forwardRef as l}from"react";import{Box as T}from"../Box/Box.js";import a from"./Item.module.css.js";import{cn as o}from"../../utils/cn.js";import{MediaRowBase as c}from"../../base/MediaRowBase/MediaRowBase.js";const u=l(function({itemAs:i="div",...e},n){const t=i==="button"?e.type??"button":void 0;return r(T,{ref:n,as:i,...e,...t!=null?{type:t}:{}})});u.displayName="Item.Surface";const y=l(function({children:i,size:e="md",variant:n="ghost",interactive:t=!1,as:s,className:m,style:A,onClick:d,role:f,...C},M){const b=s??(t&&d!=null&&f==null?"button":"div");return r(c,{ref:M,as:u,itemAs:b,variant:n,padding:"none",className:o(a.item,a[e],t?a.interactive:"",m),style:A,"data-size":e,...C,role:f,onClick:d,children:i})}),p=l(function({children:i,variant:e="icon",className:n,style:t,...s},m){return r(c.Media,{ref:m,className:o(a.media,a[`media_${e}`],n),style:t,"data-variant":e,...s,children:i})}),N=l(function({children:i,className:e,style:n,...t},s){return r(c.Content,{ref:s,className:e,style:n,...t,children:i})}),h=l(function({children:i,className:e,style:n,...t},s){return r(c.Title,{ref:s,className:o(a.title,e),style:n,...t,children:i})}),v=l(function({children:i,className:e,style:n,...t},s){return r(c.Description,{ref:s,className:o(a.description,e),style:n,...t,children:i})}),I=l(function({children:i,className:e,style:n,...t},s){return r(c.Actions,{ref:s,className:o(a.actions,e),style:n,...t,children:i})});y.displayName="Item",p.displayName="Item.Media",N.displayName="Item.Content",h.displayName="Item.Title",v.displayName="Item.Description",I.displayName="Item.Actions";const g=Object.assign(y,{Media:p,Content:N,Title:h,Description:v,Actions:I});export{g as Item};
1
+ "use client";import{jsx as r}from"react/jsx-runtime";import{forwardRef as l}from"react";import{Box as D}from"../Box/Box.js";import c from"../../styles/MediaItem.module.css.js";import a from"./Item.module.css.js";import{cn as o}from"../../utils/cn.js";const u=l(function({children:i,size:e="md",variant:n="ghost",interactive:t=!1,as:s,className:m,style:g,onClick:d,role:f,...y},x){const p=s??(t&&d!=null&&f==null?"button":"div"),N=p==="button"?y.type??"button":void 0;return r(D,{ref:x,as:p,variant:n,padding:"none",className:o(c.row,a.item,a[e],t?a.interactive:"",m),style:g,"data-size":e,...N!=null?{type:N}:{},onClick:d,role:f,...y,children:i})}),v=l(function({children:i,variant:e="icon",className:n,style:t,...s},m){return r("div",{ref:m,className:o(c.media,a.media,a[`media_${e}`],n),style:t,"data-variant":e,...s,children:i})}),h=l(function({children:i,className:e,style:n,...t},s){return r("div",{ref:s,className:o(c.content,e),style:n,...t,children:i})}),I=l(function({children:i,className:e,style:n,...t},s){return r("div",{ref:s,className:o(c.title,a.title,e),style:n,...t,children:i})}),b=l(function({children:i,className:e,style:n,...t},s){return r("div",{ref:s,className:o(c.description,a.description,e),style:n,...t,children:i})}),C=l(function({children:i,className:e,style:n,...t},s){return r("div",{ref:s,className:o(c.actions,a.actions,e),style:n,...t,children:i})});u.displayName="Item",v.displayName="Item.Media",h.displayName="Item.Content",I.displayName="Item.Title",b.displayName="Item.Description",C.displayName="Item.Actions";const M=Object.assign(u,{Media:v,Content:h,Title:I,Description:b,Actions:C});export{M as Item};
@@ -1 +1 @@
1
- "use client";var a='.Item_c0x-9{--altum-item-media-lg:calc(var(--altum-g-space-8) + var(--altum-g-space-2));border-radius:var(--altum-g-radius);color:var(--altum-color-field-text);font-family:var(--altum-g-font-family-ui);padding:var(--altum-g-space-2) var(--altum-g-space-3);position:relative;text-align:start;transition:var(--altum-transition-smooth);width:100%}.Item_c0x-9:is(button){-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.Item_c0x-9.Item_GRryI{gap:var(--altum-g-space-2);padding:var(--altum-g-space-1) var(--altum-g-space-2)}.Item_c0x-9.Item_oB8Iz{gap:var(--altum-g-space-4);padding:var(--altum-g-space-3) var(--altum-g-space-4)}.Item_c0x-9[data-size=sm] .Item_7dXq9{height:var(--altum-g-space-6);width:var(--altum-g-space-6)}.Item_c0x-9:not([data-size]) .Item_7dXq9,.Item_c0x-9[data-size=md] .Item_7dXq9{height:var(--altum-g-space-8);width:var(--altum-g-space-8)}.Item_c0x-9[data-size=lg] .Item_7dXq9{height:var(--altum-item-media-lg);width:var(--altum-item-media-lg)}.Item_c0x-9.Item_GRryI .Item_L7hoN,.Item_c0x-9.Item_oB8Iz .Item_L7hoN{font-size:var(--altum-g-font-size-sm)}.Item_c0x-9 .Item_7dXq9{color:var(--altum-field-label)}.Item_c0x-9 .Item_L7hoN{color:var(--altum-color-field-text);font-size:var(--altum-g-font-size-base)}.Item_c0x-9 .Item_B-ruZ{color:var(--altum-color-ink-muted);font-size:var(--altum-g-font-size-2xs);line-height:var(--altum-g-line-height-2xs)}.Item_c0x-9 .Item_zgxWz{gap:var(--altum-g-space-1)}.Item_4iApM{cursor:pointer}.Item_4iApM:after{background:transparent;border-radius:inherit;content:"";inset:0;pointer-events:none;position:absolute;transition:background .2s ease-in-out}.Item_4iApM:hover:not(:disabled):after{background:color-mix(in srgb,var(--altum-color-text-secondary) 6%,transparent)}.Item_4iApM:active:not(:disabled):after{background:color-mix(in srgb,var(--altum-color-text-secondary) 10%,transparent)}@media (prefers-reduced-motion:reduce){.Item_4iApM:after{transition:none}}.Item_Z-ge7{background:var(--altum-color-brand-tint);color:var(--altum-color-brand-tint-text)}.Item_Eid4d,.Item_Z-ge7{border-radius:var(--altum-g-radius-sm)}.Item_Eid4d,.Item_xHsEG{background:var(--altum-color-surface-active)}.Item_xHsEG{border-radius:50%}';const r={item:"Item_c0x-9",sm:"Item_GRryI",lg:"Item_oB8Iz",media:"Item_7dXq9",title:"Item_L7hoN",description:"Item_B-ruZ",actions:"Item_zgxWz",interactive:"Item_4iApM",media_icon:"Item_Z-ge7",media_image:"Item_Eid4d",media_avatar:"Item_xHsEG"};(function(e){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=e,document.head.appendChild(t)}})(a);export{r as default};
1
+ "use client";var e='.c0x-9{--altum-item-media-lg:calc(var(--altum-g-space-8) + var(--altum-g-space-2));border-radius:var(--altum-g-radius);color:var(--altum-color-field-text);font-family:var(--altum-g-font-family-ui);padding:var(--altum-g-space-2) var(--altum-g-space-3);position:relative;text-align:start;transition:var(--altum-transition-smooth)}.c0x-9:is(button){appearance:none;cursor:pointer}.c0x-9.GRryI{gap:var(--altum-g-space-2);padding:var(--altum-g-space-1) var(--altum-g-space-2)}.c0x-9.oB8Iz{gap:var(--altum-g-space-4);padding:var(--altum-g-space-3) var(--altum-g-space-4)}.c0x-9[data-size=sm] ._7dXq9{height:var(--altum-g-space-6);width:var(--altum-g-space-6)}.c0x-9:not([data-size]) ._7dXq9,.c0x-9[data-size=md] ._7dXq9{height:var(--altum-g-space-8);width:var(--altum-g-space-8)}.c0x-9[data-size=lg] ._7dXq9{height:var(--altum-item-media-lg);width:var(--altum-item-media-lg)}.c0x-9.GRryI .L7hoN,.c0x-9.oB8Iz .L7hoN{font-size:var(--altum-g-font-size-sm)}.c0x-9 ._7dXq9{color:var(--altum-field-label)}.c0x-9 .L7hoN{color:var(--altum-color-field-text);font-size:var(--altum-g-font-size-base)}.c0x-9 .B-ruZ{color:var(--altum-color-ink-muted);font-size:var(--altum-g-font-size-2xs);line-height:var(--altum-g-line-height-2xs)}.c0x-9 .zgxWz{gap:var(--altum-g-space-1)}._4iApM{cursor:pointer}._4iApM:after{background:#0000;border-radius:inherit;content:"";inset:0;pointer-events:none;position:absolute;transition:background .2s ease-in-out}._4iApM:hover:not(:disabled):after{background:color-mix(in srgb,var(--altum-color-text-secondary) 6%,#0000)}._4iApM:active:not(:disabled):after{background:color-mix(in srgb,var(--altum-color-text-secondary) 10%,#0000)}@media (prefers-reduced-motion:reduce){._4iApM:after{transition:none}}.Z-ge7{background:var(--altum-color-brand-tint);color:var(--altum-color-brand-tint-text)}.Eid4d,.Z-ge7{border-radius:var(--altum-g-radius-sm)}.Eid4d,.xHsEG{background:var(--altum-color-surface-active)}.xHsEG{border-radius:50%}';const r={item:"c0x-9",sm:"GRryI",lg:"oB8Iz",media:"_7dXq9",title:"L7hoN",description:"B-ruZ",actions:"zgxWz",interactive:"_4iApM",media_icon:"Z-ge7",media_image:"Eid4d",media_avatar:"xHsEG"};(function(t){if(!(typeof document>"u")){var a=document.createElement("style");a.textContent=t,document.head.appendChild(a)}})(e);export{r as default};
@@ -1 +1 @@
1
- "use client";var a=".Kbd_jgbYx{align-items:center;background:var(--altum-color-panel-bg);border:1px solid var(--altum-color-panel-border);border-radius:var(--altum-g-radius-sm);box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--altum-color-panel-border) 80%,transparent);box-sizing:border-box;color:var(--altum-color-field-text);display:inline-flex;font-family:var(--altum-g-font-family-mono);font-size:var(--altum-g-font-size-xs);font-weight:var(--altum-g-font-weight-medium);justify-content:center;line-height:1;min-height:var(--altum-g-space-5);min-width:var(--altum-g-space-5);padding:0 var(--altum-g-space-1);-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.Kbd_LCuSl{transform:translateY(.5px)}.Kbd_qCORQ{align-items:center;color:var(--altum-color-ink-muted);display:inline-flex;font-size:var(--altum-g-font-size-2xs);gap:var(--altum-g-space-1);line-height:var(--altum-g-line-height-2xs);vertical-align:middle}";const n={kbd:"Kbd_jgbYx",kbdSymbol:"Kbd_LCuSl",kbdGroup:"Kbd_qCORQ"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(a);export{n as default};
1
+ "use client";var a=".jgbYx{align-items:center;background:var(--altum-color-panel-bg);border:1px solid var(--altum-color-panel-border);border-radius:var(--altum-g-radius-sm);box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--altum-color-panel-border) 80%,#0000);box-sizing:border-box;color:var(--altum-color-field-text);display:inline-flex;font-family:var(--altum-g-font-family-mono);font-size:var(--altum-g-font-size-xs);font-weight:var(--altum-g-font-weight-medium);justify-content:center;line-height:1;min-height:var(--altum-g-space-5);min-width:var(--altum-g-space-5);padding:0 var(--altum-g-space-1);-webkit-user-select:none;user-select:none;white-space:nowrap}.LCuSl{transform:translateY(.5px)}.qCORQ{align-items:center;color:var(--altum-color-ink-muted);display:inline-flex;font-size:var(--altum-g-font-size-2xs);gap:var(--altum-g-space-1);line-height:var(--altum-g-line-height-2xs);vertical-align:middle}";const n={kbd:"jgbYx",kbdSymbol:"LCuSl",kbdGroup:"qCORQ"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(a);export{n as default};
@@ -1 +1 @@
1
- "use client";var e=".Layout_tyzJ8{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;height:100%;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;width:100%}.Layout_j6ao5{box-sizing:border-box;flex-shrink:0}.Layout_j6ao5.Layout_xOqXx{position:sticky;top:0;z-index:var(--altum-g-z-raised,1)}.Layout_Wa4rZ{box-sizing:border-box;flex:1 0 auto;min-width:0}.Layout_266Qh{align-items:center;box-sizing:border-box;display:flex;flex-shrink:0;gap:var(--altum-g-space-3)}.Layout_266Qh.Layout_g9Lq-{justify-content:flex-start}.Layout_266Qh.Layout_7gjHl{justify-content:center}.Layout_266Qh.Layout_KPvRY{justify-content:flex-end}.Layout_266Qh.Layout_hTuuZ{justify-content:space-between}.Layout_266Qh.Layout_aAxEf{bottom:0;position:sticky;z-index:var(--altum-g-z-raised,1)}";const a={root:"Layout_tyzJ8",header:"Layout_j6ao5",headerSticky:"Layout_xOqXx",content:"Layout_Wa4rZ",footer:"Layout_266Qh",footerAlign_start:"Layout_g9Lq-",footerAlign_center:"Layout_7gjHl",footerAlign_end:"Layout_KPvRY","footerAlign_space-between":"Layout_hTuuZ",footerSticky:"Layout_aAxEf"};(function(o){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=o,document.head.appendChild(t)}})(e);export{a as default};
1
+ "use client";var o=".tyzJ8{display:flex;flex:1 1 auto;flex-direction:column;height:100%;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;width:100%}.j6ao5,.tyzJ8{box-sizing:border-box}.j6ao5{flex-shrink:0}.j6ao5.xOqXx{position:sticky;top:0;z-index:var(--altum-g-z-raised,1)}.Wa4rZ{flex:1 0 auto;min-width:0}.Wa4rZ,._266Qh{box-sizing:border-box}._266Qh{align-items:center;display:flex;flex-shrink:0;gap:var(--altum-g-space-3)}._266Qh.g9Lq-{justify-content:flex-start}._266Qh._7gjHl{justify-content:center}._266Qh.KPvRY{justify-content:flex-end}._266Qh.hTuuZ{justify-content:space-between}._266Qh.aAxEf{bottom:0;position:sticky;z-index:var(--altum-g-z-raised,1)}";const n={root:"tyzJ8",header:"j6ao5",headerSticky:"xOqXx",content:"Wa4rZ",footer:"_266Qh",footerAlign_start:"g9Lq-",footerAlign_center:"_7gjHl",footerAlign_end:"KPvRY","footerAlign_space-between":"hTuuZ",footerSticky:"aAxEf"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(o);export{n as default};
@@ -1 +1 @@
1
- "use client";var u=".Layout_3ut1k{box-sizing:border-box;display:flex;min-width:0;width:100%}.Layout_3ut1k.Layout_Zrb4q{gap:0}.Layout_3ut1k.Layout_fuezM{gap:var(--altum-g-space-1)}.Layout_3ut1k.Layout_-VTxA{gap:var(--altum-g-space-2)}.Layout_3ut1k.Layout_2UKyJ{gap:var(--altum-g-space-3)}.Layout_3ut1k.Layout_OwwGD{gap:var(--altum-g-space-4)}.Layout_3ut1k.Layout_bHROH{gap:var(--altum-g-space-6)}.Layout_3ut1k.Layout_Ptl-W{align-items:flex-start}.Layout_3ut1k.Layout_hh53a{align-items:center}.Layout_3ut1k.Layout_aSK3S{align-items:flex-end}.Layout_3ut1k.Layout_LHcAN{align-items:baseline}.Layout_3ut1k.Layout_Lo1b-{align-items:stretch}.Layout_3ut1k.Layout_kEWll{justify-content:flex-start}.Layout_3ut1k.Layout_v9TFE{justify-content:center}.Layout_3ut1k.Layout_m8Rw0{justify-content:flex-end}.Layout_3ut1k.Layout_0Tslv{justify-content:space-between}.Layout_3ut1k.Layout_rFGkb{justify-content:space-around}.Layout_3ut1k.Layout_3-8VU{justify-content:space-evenly}.Layout_3ut1k.Layout_XkwLZ{flex-direction:column}.Layout_3ut1k.Layout_B99n-{flex-direction:row;flex-wrap:wrap}.Layout_3ut1k.Layout_n2XDf{flex-wrap:nowrap}.Layout_3ut1k.Layout_vmUuB{justify-content:space-between}.Layout_3ut1k.Layout_b8tpS,.Layout_3ut1k.Layout_vmUuB{align-items:center;flex-direction:row;flex-wrap:wrap}.Layout_3ut1k.Layout_SO-uG{flex-wrap:nowrap}.Layout_Z5g6Z{box-sizing:border-box;min-width:0}.Layout_Z5g6Z.Layout_YDr-C{flex:1 1 auto}.Layout_Z5g6Z.Layout_OGEL6{flex-shrink:0}";const o={base:"Layout_3ut1k",gapNone:"Layout_Zrb4q",gapXs:"Layout_fuezM",gapSm:"Layout_-VTxA",gapMd:"Layout_2UKyJ",gapLg:"Layout_OwwGD",gapXl:"Layout_bHROH",alignStart:"Layout_Ptl-W",alignCenter:"Layout_hh53a",alignEnd:"Layout_aSK3S",alignBaseline:"Layout_LHcAN",alignStretch:"Layout_Lo1b-",justifyStart:"Layout_kEWll",justifyCenter:"Layout_v9TFE",justifyEnd:"Layout_m8Rw0",justifyBetween:"Layout_0Tslv",justifyAround:"Layout_rFGkb",justifyEvenly:"Layout_3-8VU",stack:"Layout_XkwLZ",inline:"Layout_B99n-",inlineNowrap:"Layout_n2XDf",split:"Layout_vmUuB",controlRow:"Layout_b8tpS",controlRowNowrap:"Layout_SO-uG",item:"Layout_Z5g6Z",itemGrow:"Layout_YDr-C",itemShrink0:"Layout_OGEL6"};(function(a){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=a,document.head.appendChild(t)}})(u);export{o as default};
1
+ "use client";var n="._3ut1k{box-sizing:border-box;display:flex;min-width:0;width:100%}._3ut1k.Zrb4q{gap:0}._3ut1k.fuezM{gap:var(--altum-g-space-1)}._3ut1k.-VTxA{gap:var(--altum-g-space-2)}._3ut1k._2UKyJ{gap:var(--altum-g-space-3)}._3ut1k.OwwGD{gap:var(--altum-g-space-4)}._3ut1k.bHROH{gap:var(--altum-g-space-6)}._3ut1k.Ptl-W{align-items:flex-start}._3ut1k.hh53a{align-items:center}._3ut1k.aSK3S{align-items:flex-end}._3ut1k.LHcAN{align-items:baseline}._3ut1k.Lo1b-{align-items:stretch}._3ut1k.kEWll{justify-content:flex-start}._3ut1k.v9TFE{justify-content:center}._3ut1k.m8Rw0{justify-content:flex-end}._3ut1k._0Tslv{justify-content:space-between}._3ut1k.rFGkb{justify-content:space-around}._3ut1k._3-8VU{justify-content:space-evenly}._3ut1k.XkwLZ{flex-direction:column}._3ut1k.B99n-{flex-direction:row;flex-wrap:wrap}._3ut1k.n2XDf{flex-wrap:nowrap}._3ut1k.vmUuB{justify-content:space-between}._3ut1k.b8tpS,._3ut1k.vmUuB{align-items:center;flex-direction:row;flex-wrap:wrap}._3ut1k.SO-uG{flex-wrap:nowrap}.Z5g6Z{box-sizing:border-box;min-width:0}.Z5g6Z.YDr-C{flex:1 1 auto}.Z5g6Z.OGEL6{flex-shrink:0}";const a={base:"_3ut1k",gapNone:"Zrb4q",gapXs:"fuezM",gapSm:"-VTxA",gapMd:"_2UKyJ",gapLg:"OwwGD",gapXl:"bHROH",alignStart:"Ptl-W",alignCenter:"hh53a",alignEnd:"aSK3S",alignBaseline:"LHcAN",alignStretch:"Lo1b-",justifyStart:"kEWll",justifyCenter:"v9TFE",justifyEnd:"m8Rw0",justifyBetween:"_0Tslv",justifyAround:"rFGkb",justifyEvenly:"_3-8VU",stack:"XkwLZ",inline:"B99n-",inlineNowrap:"n2XDf",split:"vmUuB",controlRow:"b8tpS",controlRowNowrap:"SO-uG",item:"Z5g6Z",itemGrow:"YDr-C",itemShrink0:"OGEL6"};(function(e){if(!(typeof document>"u")){var t=document.createElement("style");t.textContent=e,document.head.appendChild(t)}})(n);export{a as default};
@@ -1 +1 @@
1
- "use client";var n=".LineChart_bH88c{display:block;height:100%;overflow:visible;width:100%}.LineChart_uGMTd{fill:none;stroke-width:3;stroke-linecap:round;transition:stroke-dasharray .5s ease-in-out}.LineChart_-sTy4{cursor:pointer;transition:r .25s cubic-bezier(.175,.885,.32,1.275),stroke-width .25s}.LineChart_-sTy4:hover:not(:disabled){stroke-width:4}";const i={chartSvg:"LineChart_bH88c",chartLine:"LineChart_uGMTd",nodePoint:"LineChart_-sTy4"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(n);export{i as default};
1
+ "use client";var n=".bH88c{display:block;height:100%;overflow:visible;width:100%}.uGMTd{fill:none;stroke-width:3;stroke-linecap:round;transition:stroke-dasharray .5s ease-in-out}.-sTy4{cursor:pointer;transition:r .25s cubic-bezier(.175,.885,.32,1.275),stroke-width .25s}.-sTy4:hover:not(:disabled){stroke-width:4}";const o={chartSvg:"bH88c",chartLine:"uGMTd",nodePoint:"-sTy4"};(function(t){if(!(typeof document>"u")){var e=document.createElement("style");e.textContent=t,document.head.appendChild(e)}})(n);export{o as default};