@soroush.tech/design-system 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/README.md +5 -5
  2. package/dist/AppBar.d.cts +3 -3
  3. package/dist/AppBar.d.mts +3 -3
  4. package/dist/Avatar.d.cts +3 -3
  5. package/dist/Avatar.d.mts +3 -3
  6. package/dist/Backdrop.d.cts +1 -1
  7. package/dist/Backdrop.d.mts +1 -1
  8. package/dist/Button.cjs +0 -6
  9. package/dist/Button.d.cts +1 -1
  10. package/dist/Button.d.mts +1 -1
  11. package/dist/Button.mjs +0 -6
  12. package/dist/ButtonGroup.d.cts +1 -1
  13. package/dist/ButtonGroup.d.mts +1 -1
  14. package/dist/Card.cjs +1 -1
  15. package/dist/Card.d.cts +3 -3
  16. package/dist/Card.d.mts +3 -3
  17. package/dist/Card.mjs +1 -1
  18. package/dist/Checkbox.d.cts +2 -2
  19. package/dist/Checkbox.d.mts +2 -2
  20. package/dist/CircularProgress.d.cts +3 -3
  21. package/dist/CircularProgress.d.mts +3 -3
  22. package/dist/Drawer.d.cts +2 -2
  23. package/dist/Drawer.d.mts +2 -2
  24. package/dist/Flex.cjs +2 -6
  25. package/dist/Flex.d.cts +1 -1
  26. package/dist/Flex.d.mts +1 -1
  27. package/dist/Flex.mjs +2 -8
  28. package/dist/Form.d.cts +1 -1
  29. package/dist/Form.d.mts +1 -1
  30. package/dist/FormControl.d.cts +2 -2
  31. package/dist/FormControl.d.mts +2 -2
  32. package/dist/FormHelperText.d.cts +1 -1
  33. package/dist/FormHelperText.d.mts +1 -1
  34. package/dist/FormLabel.d.cts +1 -1
  35. package/dist/FormLabel.d.mts +1 -1
  36. package/dist/Grid.cjs +2 -25
  37. package/dist/Grid.d.cts +4 -11
  38. package/dist/Grid.d.mts +4 -11
  39. package/dist/Grid.mjs +2 -24
  40. package/dist/{Icon-zsHe7hWR.cjs → Icon-BOjk5r39.cjs} +30 -0
  41. package/dist/{Icon-bv8Z38l-.mjs → Icon-CYjD0Bad.mjs} +30 -0
  42. package/dist/Icon.cjs +1 -1
  43. package/dist/Icon.d.cts +1 -1
  44. package/dist/Icon.d.mts +1 -1
  45. package/dist/Icon.mjs +1 -1
  46. package/dist/Image.d.cts +2 -2
  47. package/dist/Image.d.mts +2 -2
  48. package/dist/LinearProgress.d.cts +3 -3
  49. package/dist/LinearProgress.d.mts +3 -3
  50. package/dist/Link.cjs +1 -5
  51. package/dist/Link.d.cts +1 -2
  52. package/dist/Link.d.mts +1 -2
  53. package/dist/Link.mjs +2 -6
  54. package/dist/MenuItem.cjs +1 -1
  55. package/dist/MenuItem.d.cts +2 -2
  56. package/dist/MenuItem.d.mts +2 -2
  57. package/dist/MenuItem.mjs +1 -1
  58. package/dist/Modal.d.cts +1 -1
  59. package/dist/Modal.d.mts +1 -1
  60. package/dist/NativeSelect.cjs +1 -1
  61. package/dist/NativeSelect.d.cts +3 -3
  62. package/dist/NativeSelect.d.mts +3 -3
  63. package/dist/NativeSelect.mjs +1 -1
  64. package/dist/Pagination/PaginationItem.cjs +1 -1
  65. package/dist/Pagination/PaginationItem.d.cts +1 -1
  66. package/dist/Pagination/PaginationItem.d.mts +1 -1
  67. package/dist/Pagination/PaginationItem.mjs +1 -1
  68. package/dist/Pagination.d.cts +2 -2
  69. package/dist/Pagination.d.mts +2 -2
  70. package/dist/Paper.cjs +0 -2
  71. package/dist/Paper.d.cts +1 -1
  72. package/dist/Paper.d.mts +1 -1
  73. package/dist/Paper.mjs +0 -2
  74. package/dist/Popover.d.cts +4 -4
  75. package/dist/Popover.d.mts +4 -4
  76. package/dist/Pressable.cjs +123 -0
  77. package/dist/Pressable.d.cts +2 -0
  78. package/dist/Pressable.d.mts +2 -0
  79. package/dist/Pressable.mjs +121 -0
  80. package/dist/Quote.d.cts +4 -4
  81. package/dist/Quote.d.mts +4 -4
  82. package/dist/Radio.d.cts +2 -2
  83. package/dist/Radio.d.mts +2 -2
  84. package/dist/Select.cjs +1 -1
  85. package/dist/Select.d.cts +3 -3
  86. package/dist/Select.d.mts +3 -3
  87. package/dist/Select.mjs +1 -1
  88. package/dist/Sidebar/Sidebar.cjs +94 -0
  89. package/dist/Sidebar/Sidebar.d.cts +59 -0
  90. package/dist/Sidebar/Sidebar.d.mts +59 -0
  91. package/dist/Sidebar/Sidebar.mjs +93 -0
  92. package/dist/Sidebar/SidebarItem.cjs +125 -0
  93. package/dist/Sidebar/SidebarItem.d.cts +39 -0
  94. package/dist/Sidebar/SidebarItem.d.mts +39 -0
  95. package/dist/Sidebar/SidebarItem.mjs +124 -0
  96. package/dist/Sidebar.cjs +7 -0
  97. package/dist/Sidebar.d.cts +4 -0
  98. package/dist/Sidebar.d.mts +4 -0
  99. package/dist/Sidebar.mjs +4 -0
  100. package/dist/SidebarContext-DgSLwjur.mjs +10 -0
  101. package/dist/SidebarContext-ao6lRfTX.d.cts +37 -0
  102. package/dist/SidebarContext-ao6lRfTX.d.mts +37 -0
  103. package/dist/SidebarContext-jG6OioC-.cjs +14 -0
  104. package/dist/Skeleton.d.cts +2 -2
  105. package/dist/Skeleton.d.mts +2 -2
  106. package/dist/Switch.d.cts +2 -2
  107. package/dist/Switch.d.mts +2 -2
  108. package/dist/Table/Table.d.cts +3 -3
  109. package/dist/Table/Table.d.mts +3 -3
  110. package/dist/Table/TableBody.d.cts +2 -2
  111. package/dist/Table/TableBody.d.mts +2 -2
  112. package/dist/Table/TableCell.d.cts +1 -1
  113. package/dist/Table/TableCell.d.mts +1 -1
  114. package/dist/Table/TableContainer.d.cts +4 -4
  115. package/dist/Table/TableContainer.d.mts +4 -4
  116. package/dist/Table/TableControl.d.cts +1 -1
  117. package/dist/Table/TableControl.d.mts +1 -1
  118. package/dist/Table/TableFooter.d.cts +2 -2
  119. package/dist/Table/TableFooter.d.mts +2 -2
  120. package/dist/Table/TableHead.d.cts +2 -2
  121. package/dist/Table/TableHead.d.mts +2 -2
  122. package/dist/Table/TablePagination.d.cts +2 -2
  123. package/dist/Table/TablePagination.d.mts +2 -2
  124. package/dist/Table/TablePaginationActions.d.cts +1 -1
  125. package/dist/Table/TablePaginationActions.d.mts +1 -1
  126. package/dist/Table/TableRow.d.cts +2 -2
  127. package/dist/Table/TableRow.d.mts +2 -2
  128. package/dist/Table/TableSortLabel.cjs +1 -1
  129. package/dist/Table/TableSortLabel.d.cts +1 -1
  130. package/dist/Table/TableSortLabel.d.mts +1 -1
  131. package/dist/Table/TableSortLabel.mjs +1 -1
  132. package/dist/Table/hooks.d.cts +1 -1
  133. package/dist/Table/hooks.d.mts +1 -1
  134. package/dist/Table.d.cts +5 -5
  135. package/dist/Table.d.mts +5 -5
  136. package/dist/{TableContext-DOhYeOFx.d.cts → TableContext-BoOxdk8p.d.cts} +1 -1
  137. package/dist/{TableContext-adilRIJZ.d.mts → TableContext-DV31j6HO.d.mts} +1 -1
  138. package/dist/TextInput.d.cts +2 -2
  139. package/dist/TextInput.d.mts +2 -2
  140. package/dist/ToggleButton/ToggleButton.d.cts +1 -1
  141. package/dist/ToggleButton/ToggleButton.d.mts +1 -1
  142. package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
  143. package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
  144. package/dist/Typography.d.cts +2 -2
  145. package/dist/Typography.d.mts +2 -2
  146. package/dist/View.cjs +0 -2
  147. package/dist/View.d.cts +1 -1
  148. package/dist/View.d.mts +1 -1
  149. package/dist/View.mjs +0 -2
  150. package/dist/engine.d.cts +1 -1
  151. package/dist/engine.d.mts +1 -1
  152. package/dist/{index-DwjxjLcD.d.mts → index--mvTGo8F.d.cts} +3 -3
  153. package/dist/{index-CY0Czi9Z.d.cts → index-ATXjtAOY.d.mts} +2 -2
  154. package/dist/{index-BF2KXGBM.d.mts → index-B2hrssyF.d.mts} +2 -2
  155. package/dist/{index-C-UBdWKI.d.cts → index-B3FrhO2r.d.cts} +3 -3
  156. package/dist/{index-DCwLdUQH.d.mts → index-B7aaTHOe.d.cts} +2 -2
  157. package/dist/{index-BGzs2cKy.d.mts → index-BItZoGZ1.d.mts} +3 -3
  158. package/dist/{index-CLCtvcKA.d.mts → index-BJ8OC_Zh.d.cts} +2 -2
  159. package/dist/{index-D0x1ZMVG.d.mts → index-BL3jwIQU.d.mts} +5 -2
  160. package/dist/{index-D2H_6WLf.d.cts → index-BNP_iejT.d.cts} +3 -3
  161. package/dist/{index-BpLv6Y8m.d.mts → index-BfpjEqqt.d.cts} +2 -2
  162. package/dist/{index-0J6U39Rl.d.mts → index-BoOs5h_b.d.mts} +1 -1
  163. package/dist/{index-ypEBcdCx.d.mts → index-BwUnDd9W.d.mts} +2 -2
  164. package/dist/{index-DGqakgRN.d.mts → index-C7j38wne.d.mts} +3 -3
  165. package/dist/{index-DN7IvJeV.d.cts → index-CA_X-mXg.d.cts} +5 -2
  166. package/dist/index-CO3Qq0I0.d.mts +49 -0
  167. package/dist/{index-DLiHZtDi.d.mts → index-CYTaYcm3.d.cts} +3 -5
  168. package/dist/{index-DitJ7ss0.d.mts → index-Ca0Pj5m2.d.mts} +3 -3
  169. package/dist/{index-BLnOsdgc.d.cts → index-CvaEVk-f.d.cts} +2 -2
  170. package/dist/{index-BnCp6k4s.d.cts → index-D8U2tk1L.d.mts} +2 -2
  171. package/dist/{index-B66h9kbP.d.mts → index-D8b5OCLe.d.mts} +1 -1
  172. package/dist/{index-DhcmRr8Q.d.cts → index-DEv2QslH.d.mts} +4 -7
  173. package/dist/{index-C1vVYigQ.d.cts → index-DF3Hweir.d.mts} +3 -3
  174. package/dist/{index-BVX_Jq2G.d.cts → index-DLJ-li1B.d.cts} +1 -1
  175. package/dist/{index-CYNgNatZ.d.mts → index-DjtGkwRM.d.cts} +2 -4
  176. package/dist/{index-DdFxl06Q.d.cts → index-Ds__py2h.d.mts} +2 -2
  177. package/dist/{index-HnvGdPCp.d.cts → index-KZUd8B5E.d.mts} +3 -5
  178. package/dist/{index-CJQXZ4hq.d.cts → index-MsUtFRul.d.cts} +1 -1
  179. package/dist/index-dtLxevvf.d.cts +49 -0
  180. package/dist/{index-B8FOqBiS.d.cts → index-q6EgsH9R.d.mts} +2 -4
  181. package/dist/{index-BahGB82c.d.cts → index-v99yMdts.d.cts} +3 -3
  182. package/dist/{index-BGWm4HKR.d.cts → index-yr4HkKOj.d.cts} +2 -2
  183. package/dist/{index-BJcHQUga.d.mts → index-zFYi0f1t.d.cts} +4 -7
  184. package/dist/index.d.cts +2 -2
  185. package/dist/index.d.mts +2 -2
  186. package/dist/style.d.cts +2 -2
  187. package/dist/style.d.mts +2 -2
  188. package/dist/theme.d.cts +3 -3
  189. package/dist/theme.d.mts +3 -3
  190. package/dist/{themes-BTGww2YK.d.cts → themes-CUV79qWU.d.cts} +16 -1
  191. package/dist/{themes-BTGww2YK.d.mts → themes-CUV79qWU.d.mts} +16 -1
  192. package/dist/{useTablePagination-D6T-fQFc.d.mts → useTablePagination-7jiSvKCh.d.cts} +1 -1
  193. package/dist/{useTablePagination-_94Wrvj9.d.cts → useTablePagination-HaIcJPv-.d.mts} +1 -1
  194. package/package.json +22 -2
package/dist/Quote.d.cts CHANGED
@@ -1,13 +1,13 @@
1
- import "./index-BVX_Jq2G.cjs";
2
- import { m as Theme } from "./themes-BTGww2YK.cjs";
3
- import { s as ViewProps } from "./index-B8FOqBiS.cjs";
1
+ import "./index-DLJ-li1B.cjs";
2
+ import { h as Theme } from "./themes-CUV79qWU.cjs";
3
+ import { s as ViewProps } from "./index-DjtGkwRM.cjs";
4
4
  //#region src/Quote/Quote.d.ts
5
5
  type QuoteProps = ViewProps;
6
6
  /** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
7
7
  declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
8
8
  theme?: Theme;
9
9
  as?: React.ElementType;
10
- } & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textTransform" | "top" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
10
+ } & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "columnGap" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gap" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
11
11
  theme?: Theme;
12
12
  }, {}, {}>;
13
13
  //#endregion
package/dist/Quote.d.mts CHANGED
@@ -1,13 +1,13 @@
1
- import { m as Theme } from "./themes-BTGww2YK.mjs";
2
- import "./index-B66h9kbP.mjs";
3
- import { s as ViewProps } from "./index-CYNgNatZ.mjs";
1
+ import { h as Theme } from "./themes-CUV79qWU.mjs";
2
+ import "./index-D8b5OCLe.mjs";
3
+ import { s as ViewProps } from "./index-q6EgsH9R.mjs";
4
4
  //#region src/Quote/Quote.d.ts
5
5
  type QuoteProps = ViewProps;
6
6
  /** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
7
7
  declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
8
8
  theme?: Theme;
9
9
  as?: React.ElementType;
10
- } & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textTransform" | "top" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
10
+ } & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "columnGap" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gap" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
11
11
  theme?: Theme;
12
12
  }, {}, {}>;
13
13
  //#endregion
package/dist/Radio.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { r as index_d_exports } from "./index-BVX_Jq2G.cjs";
2
- import { d as PaletteColor, m as Theme } from "./themes-BTGww2YK.cjs";
1
+ import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
+ import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.cjs";
3
3
  import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
4
4
  //#region src/Radio/Radio.d.ts
5
5
  type RadioColor = PaletteColor;
package/dist/Radio.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { d as PaletteColor, m as Theme } from "./themes-BTGww2YK.mjs";
2
- import { r as index_d_exports } from "./index-B66h9kbP.mjs";
1
+ import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
2
+ import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
3
  import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
4
4
  //#region src/Radio/Radio.d.ts
5
5
  type RadioColor = PaletteColor;
package/dist/Select.cjs CHANGED
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_src = require("./src-C8PIppTy.cjs");
3
3
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
4
  const require_theme = require("./theme-Du6xgPsg.cjs");
5
- const require_Icon = require("./Icon-zsHe7hWR.cjs");
5
+ const require_Icon = require("./Icon-BOjk5r39.cjs");
6
6
  const require_FormControl = require("./FormControl.cjs");
7
7
  const require_inputVariantStyles = require("./inputVariantStyles-BBkkYQtE.cjs");
8
8
  const require_NativeSelect = require("./NativeSelect.cjs");
package/dist/Select.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { r as index_d_exports } from "./index-BVX_Jq2G.cjs";
2
- import { m as Theme } from "./themes-BTGww2YK.cjs";
3
- import { n as IconProps, r as IconName } from "./index-DN7IvJeV.cjs";
1
+ import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
+ import { h as Theme } from "./themes-CUV79qWU.cjs";
3
+ import { n as IconProps, r as IconName } from "./index-CA_X-mXg.cjs";
4
4
  import { ReactNode } from "react";
5
5
  //#region src/Select/utils/isOptionSelected.d.ts
6
6
  /** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
package/dist/Select.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { m as Theme } from "./themes-BTGww2YK.mjs";
2
- import { r as index_d_exports } from "./index-B66h9kbP.mjs";
3
- import { n as IconProps, r as IconName } from "./index-D0x1ZMVG.mjs";
1
+ import { h as Theme } from "./themes-CUV79qWU.mjs";
2
+ import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
+ import { n as IconProps, r as IconName } from "./index-BL3jwIQU.mjs";
4
4
  import { ReactNode } from "react";
5
5
  //#region src/Select/utils/isOptionSelected.d.ts
6
6
  /** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
package/dist/Select.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
2
2
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
3
  import { r as useTheme } from "./theme-V6lYzd3j.mjs";
4
- import { t as Icon } from "./Icon-bv8Z38l-.mjs";
4
+ import { t as Icon } from "./Icon-CYjD0Bad.mjs";
5
5
  import { useFormControl } from "./FormControl.mjs";
6
6
  import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
7
7
  import { NativeSelect } from "./NativeSelect.mjs";
@@ -0,0 +1,94 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_src = require("../src-C8PIppTy.cjs");
3
+ const require_Flex = require("../Flex.cjs");
4
+ const require_SidebarContext = require("../SidebarContext-jG6OioC-.cjs");
5
+ let react = require("react");
6
+ let react_jsx_runtime = require("react/jsx-runtime");
7
+ //#region src/Sidebar/Sidebar/Sidebar.tsx
8
+ const SidebarRoot = require_src.styled(require_Flex.Flex, {
9
+ name: "Sidebar",
10
+ label: "Sidebar"
11
+ })({ minHeight: 0 });
12
+ const SidebarRail = require_src.styled(require_Flex.Flex, {
13
+ name: "Sidebar",
14
+ slot: "rail",
15
+ label: "SidebarRail",
16
+ shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "expandedWidth" && prop !== "collapsedWidth"
17
+ })(({ isOpen, expandedWidth, collapsedWidth }) => ({
18
+ width: isOpen ? expandedWidth : collapsedWidth,
19
+ transition: "width 200ms ease",
20
+ overflowX: "hidden",
21
+ "@media (prefers-reduced-motion: reduce)": { transition: "none" }
22
+ }));
23
+ const SidebarPanelRoot = require_src.styled(require_Flex.Flex, {
24
+ name: "Sidebar",
25
+ slot: "panel",
26
+ label: "SidebarPanel"
27
+ })({
28
+ flexDirection: "column",
29
+ minHeight: 0,
30
+ overflow: "auto",
31
+ "&:empty": { display: "none" }
32
+ });
33
+ /**
34
+ * A collapsible vertical icon rail: collapsed it shows icon-only items; open
35
+ * it also shows each item's label, rendered away from the anchored edge.
36
+ * Purely controlled via `isOpen` — pair it with a menu button wherever your
37
+ * layout keeps one (usually the app bar). Children consume the state through
38
+ * `SidebarContext`, and any `Flex` prop (`bg`, spacing, …) applies to the rail.
39
+ *
40
+ * With `hasPanel`, the rail gains a second column and the selected item's
41
+ * `children` render there instead of inside its row — an icon rail beside a
42
+ * detail panel. The panel appears only when the selected item has children, and
43
+ * is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
44
+ * open panel.
45
+ */
46
+ function Sidebar({ children, isOpen, anchor = "left", variant = "text", expandedWidth = "14rem", collapsedWidth = "3.5rem", hasPanel = false, panelWidth = "18rem", panelProps, "aria-label": ariaLabel, ...rest }) {
47
+ const panelId = (0, react.useId)();
48
+ const [panelNode, setPanelNode] = (0, react.useState)(null);
49
+ const [panelLabel, setPanelLabel] = (0, react.useState)(null);
50
+ const context = (0, react.useMemo)(() => ({
51
+ isOpen,
52
+ anchor,
53
+ variant,
54
+ hasPanel,
55
+ panelId,
56
+ panelNode,
57
+ setPanelLabel
58
+ }), [
59
+ isOpen,
60
+ anchor,
61
+ variant,
62
+ hasPanel,
63
+ panelId,
64
+ panelNode
65
+ ]);
66
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SidebarRoot, {
67
+ as: "nav",
68
+ "aria-label": ariaLabel,
69
+ flexDirection: anchor === "right" ? "row-reverse" : "row",
70
+ flexShrink: 0,
71
+ ...rest,
72
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarRail, {
73
+ flexDirection: "column",
74
+ gap: 1,
75
+ flexShrink: 0,
76
+ isOpen,
77
+ expandedWidth,
78
+ collapsedWidth,
79
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SidebarContext.SidebarContext.Provider, {
80
+ value: context,
81
+ children
82
+ })
83
+ }), hasPanel && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarPanelRoot, {
84
+ as: "section",
85
+ width: panelWidth,
86
+ "aria-label": panelLabel ?? void 0,
87
+ ...panelProps,
88
+ ref: setPanelNode,
89
+ id: panelId
90
+ })]
91
+ });
92
+ }
93
+ //#endregion
94
+ exports.Sidebar = Sidebar;
@@ -0,0 +1,59 @@
1
+ import { n as FlexProps } from "../index-zFYi0f1t.cjs";
2
+ import { i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-ao6lRfTX.cjs";
3
+ import { ElementType, ReactNode } from "react";
4
+ //#region src/Sidebar/Sidebar/Sidebar.d.ts
5
+ interface SidebarProps extends FlexProps {
6
+ /**
7
+ * Rail contents — `SidebarItem`s, but any node composes (a sponsor logo,
8
+ * a footer, dividers, …). Items read the open state from `SidebarContext`.
9
+ */
10
+ children: ReactNode;
11
+ /**
12
+ * Whether item labels are shown. Controlled — the toggle lives with the
13
+ * consumer (typically a menu button in the app bar).
14
+ */
15
+ isOpen: boolean;
16
+ /** Screen edge the rail hugs — labels render away from it. Default: `'left'`. */
17
+ anchor?: SidebarAnchor;
18
+ /** Default variant for every item — an item's own `variant` wins. Default: `'text'`. */
19
+ variant?: SidebarItemVariant;
20
+ /** Rail width while open. Default: `'14rem'`. */
21
+ expandedWidth?: string;
22
+ /** Rail width while collapsed (icons only). Default: `'3.5rem'`. */
23
+ collapsedWidth?: string;
24
+ /**
25
+ * Render a second column beside the rail holding the selected item's
26
+ * `children`. Off by default, where children render inline in the item row
27
+ * instead. Default: `false`.
28
+ */
29
+ hasPanel?: boolean;
30
+ /** Width of the panel column. Only meaningful with `hasPanel`. Default: `'18rem'`. */
31
+ panelWidth?: string;
32
+ /**
33
+ * Props for the panel column — any `Flex` prop, plus `as` to change its
34
+ * element. Overrides `panelWidth` and the derived `aria-label`; its `id` and
35
+ * ref stay owned by the rail, which needs them as the port target and the
36
+ * `aria-controls` anchor.
37
+ */
38
+ panelProps?: Omit<FlexProps, 'children' | 'id'> & {
39
+ as?: ElementType;
40
+ };
41
+ /** Accessible name of the navigation landmark — required so multiple navs stay distinguishable. */
42
+ 'aria-label': string;
43
+ }
44
+ /**
45
+ * A collapsible vertical icon rail: collapsed it shows icon-only items; open
46
+ * it also shows each item's label, rendered away from the anchored edge.
47
+ * Purely controlled via `isOpen` — pair it with a menu button wherever your
48
+ * layout keeps one (usually the app bar). Children consume the state through
49
+ * `SidebarContext`, and any `Flex` prop (`bg`, spacing, …) applies to the rail.
50
+ *
51
+ * With `hasPanel`, the rail gains a second column and the selected item's
52
+ * `children` render there instead of inside its row — an icon rail beside a
53
+ * detail panel. The panel appears only when the selected item has children, and
54
+ * is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
55
+ * open panel.
56
+ */
57
+ declare function Sidebar({ children, isOpen, anchor, variant, expandedWidth, collapsedWidth, hasPanel, panelWidth, panelProps, 'aria-label': ariaLabel, ...rest }: Readonly<SidebarProps>): import("react").JSX.Element;
58
+ //#endregion
59
+ export { Sidebar, SidebarProps };
@@ -0,0 +1,59 @@
1
+ import { n as FlexProps } from "../index-DEv2QslH.mjs";
2
+ import { i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-ao6lRfTX.mjs";
3
+ import { ElementType, ReactNode } from "react";
4
+ //#region src/Sidebar/Sidebar/Sidebar.d.ts
5
+ interface SidebarProps extends FlexProps {
6
+ /**
7
+ * Rail contents — `SidebarItem`s, but any node composes (a sponsor logo,
8
+ * a footer, dividers, …). Items read the open state from `SidebarContext`.
9
+ */
10
+ children: ReactNode;
11
+ /**
12
+ * Whether item labels are shown. Controlled — the toggle lives with the
13
+ * consumer (typically a menu button in the app bar).
14
+ */
15
+ isOpen: boolean;
16
+ /** Screen edge the rail hugs — labels render away from it. Default: `'left'`. */
17
+ anchor?: SidebarAnchor;
18
+ /** Default variant for every item — an item's own `variant` wins. Default: `'text'`. */
19
+ variant?: SidebarItemVariant;
20
+ /** Rail width while open. Default: `'14rem'`. */
21
+ expandedWidth?: string;
22
+ /** Rail width while collapsed (icons only). Default: `'3.5rem'`. */
23
+ collapsedWidth?: string;
24
+ /**
25
+ * Render a second column beside the rail holding the selected item's
26
+ * `children`. Off by default, where children render inline in the item row
27
+ * instead. Default: `false`.
28
+ */
29
+ hasPanel?: boolean;
30
+ /** Width of the panel column. Only meaningful with `hasPanel`. Default: `'18rem'`. */
31
+ panelWidth?: string;
32
+ /**
33
+ * Props for the panel column — any `Flex` prop, plus `as` to change its
34
+ * element. Overrides `panelWidth` and the derived `aria-label`; its `id` and
35
+ * ref stay owned by the rail, which needs them as the port target and the
36
+ * `aria-controls` anchor.
37
+ */
38
+ panelProps?: Omit<FlexProps, 'children' | 'id'> & {
39
+ as?: ElementType;
40
+ };
41
+ /** Accessible name of the navigation landmark — required so multiple navs stay distinguishable. */
42
+ 'aria-label': string;
43
+ }
44
+ /**
45
+ * A collapsible vertical icon rail: collapsed it shows icon-only items; open
46
+ * it also shows each item's label, rendered away from the anchored edge.
47
+ * Purely controlled via `isOpen` — pair it with a menu button wherever your
48
+ * layout keeps one (usually the app bar). Children consume the state through
49
+ * `SidebarContext`, and any `Flex` prop (`bg`, spacing, …) applies to the rail.
50
+ *
51
+ * With `hasPanel`, the rail gains a second column and the selected item's
52
+ * `children` render there instead of inside its row — an icon rail beside a
53
+ * detail panel. The panel appears only when the selected item has children, and
54
+ * is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
55
+ * open panel.
56
+ */
57
+ declare function Sidebar({ children, isOpen, anchor, variant, expandedWidth, collapsedWidth, hasPanel, panelWidth, panelProps, 'aria-label': ariaLabel, ...rest }: Readonly<SidebarProps>): import("react").JSX.Element;
58
+ //#endregion
59
+ export { Sidebar, SidebarProps };
@@ -0,0 +1,93 @@
1
+ import { o as styled } from "../src-BJy4dM4f.mjs";
2
+ import { Flex } from "../Flex.mjs";
3
+ import { t as SidebarContext } from "../SidebarContext-DgSLwjur.mjs";
4
+ import { useId, useMemo, useState } from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ //#region src/Sidebar/Sidebar/Sidebar.tsx
7
+ const SidebarRoot = styled(Flex, {
8
+ name: "Sidebar",
9
+ label: "Sidebar"
10
+ })({ minHeight: 0 });
11
+ const SidebarRail = styled(Flex, {
12
+ name: "Sidebar",
13
+ slot: "rail",
14
+ label: "SidebarRail",
15
+ shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "expandedWidth" && prop !== "collapsedWidth"
16
+ })(({ isOpen, expandedWidth, collapsedWidth }) => ({
17
+ width: isOpen ? expandedWidth : collapsedWidth,
18
+ transition: "width 200ms ease",
19
+ overflowX: "hidden",
20
+ "@media (prefers-reduced-motion: reduce)": { transition: "none" }
21
+ }));
22
+ const SidebarPanelRoot = styled(Flex, {
23
+ name: "Sidebar",
24
+ slot: "panel",
25
+ label: "SidebarPanel"
26
+ })({
27
+ flexDirection: "column",
28
+ minHeight: 0,
29
+ overflow: "auto",
30
+ "&:empty": { display: "none" }
31
+ });
32
+ /**
33
+ * A collapsible vertical icon rail: collapsed it shows icon-only items; open
34
+ * it also shows each item's label, rendered away from the anchored edge.
35
+ * Purely controlled via `isOpen` — pair it with a menu button wherever your
36
+ * layout keeps one (usually the app bar). Children consume the state through
37
+ * `SidebarContext`, and any `Flex` prop (`bg`, spacing, …) applies to the rail.
38
+ *
39
+ * With `hasPanel`, the rail gains a second column and the selected item's
40
+ * `children` render there instead of inside its row — an icon rail beside a
41
+ * detail panel. The panel appears only when the selected item has children, and
42
+ * is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
43
+ * open panel.
44
+ */
45
+ function Sidebar({ children, isOpen, anchor = "left", variant = "text", expandedWidth = "14rem", collapsedWidth = "3.5rem", hasPanel = false, panelWidth = "18rem", panelProps, "aria-label": ariaLabel, ...rest }) {
46
+ const panelId = useId();
47
+ const [panelNode, setPanelNode] = useState(null);
48
+ const [panelLabel, setPanelLabel] = useState(null);
49
+ const context = useMemo(() => ({
50
+ isOpen,
51
+ anchor,
52
+ variant,
53
+ hasPanel,
54
+ panelId,
55
+ panelNode,
56
+ setPanelLabel
57
+ }), [
58
+ isOpen,
59
+ anchor,
60
+ variant,
61
+ hasPanel,
62
+ panelId,
63
+ panelNode
64
+ ]);
65
+ return /* @__PURE__ */ jsxs(SidebarRoot, {
66
+ as: "nav",
67
+ "aria-label": ariaLabel,
68
+ flexDirection: anchor === "right" ? "row-reverse" : "row",
69
+ flexShrink: 0,
70
+ ...rest,
71
+ children: [/* @__PURE__ */ jsx(SidebarRail, {
72
+ flexDirection: "column",
73
+ gap: 1,
74
+ flexShrink: 0,
75
+ isOpen,
76
+ expandedWidth,
77
+ collapsedWidth,
78
+ children: /* @__PURE__ */ jsx(SidebarContext.Provider, {
79
+ value: context,
80
+ children
81
+ })
82
+ }), hasPanel && /* @__PURE__ */ jsx(SidebarPanelRoot, {
83
+ as: "section",
84
+ width: panelWidth,
85
+ "aria-label": panelLabel ?? void 0,
86
+ ...panelProps,
87
+ ref: setPanelNode,
88
+ id: panelId
89
+ })]
90
+ });
91
+ }
92
+ //#endregion
93
+ export { Sidebar };
@@ -0,0 +1,125 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_src = require("../src-C8PIppTy.cjs");
3
+ const require_Flex = require("../Flex.cjs");
4
+ const require_utils = require("../utils.cjs");
5
+ const require_Typography = require("../Typography.cjs");
6
+ const require_Icon = require("../Icon-BOjk5r39.cjs");
7
+ const require_Portal = require("../Portal.cjs");
8
+ const require_Pressable = require("../Pressable.cjs");
9
+ const require_SidebarContext = require("../SidebarContext-jG6OioC-.cjs");
10
+ let react = require("react");
11
+ let react_jsx_runtime = require("react/jsx-runtime");
12
+ //#region src/Sidebar/SidebarItem/SidebarItem.tsx
13
+ const densityStyles = ({ theme, size }) => {
14
+ const s = theme.sizes[size];
15
+ return {
16
+ paddingTop: theme.space[s.paddingTop],
17
+ paddingBottom: theme.space[s.paddingBottom],
18
+ paddingLeft: theme.space[s.paddingLeft],
19
+ paddingRight: theme.space[s.paddingRight],
20
+ fontSize: theme.fontSizes[s.fontSize],
21
+ lineHeight: 1,
22
+ whiteSpace: "nowrap"
23
+ };
24
+ };
25
+ const layoutStyles = ({ anchor }) => ({
26
+ width: "100%",
27
+ alignItems: "center",
28
+ justifyContent: anchor === "right" ? "flex-end" : "flex-start"
29
+ });
30
+ const stateStyles = ({ theme, color, isSelected, itemVariant, disabled }) => {
31
+ const { main } = theme.palette[color];
32
+ const outlined = itemVariant === "outlined";
33
+ const base = {
34
+ border: `${theme.borderWidths.thin} solid ${outlined ? (0, require_src.src_exports.get)(theme, "border.light") : "transparent"}`,
35
+ borderRadius: theme.radii.sq,
36
+ color: (0, require_src.src_exports.get)(theme, "text.primary"),
37
+ "&:disabled, &[aria-disabled=\"true\"]": { opacity: .5 }
38
+ };
39
+ const hoverFill = (backgroundColor) => disabled ? {} : { "&:hover": { backgroundColor } };
40
+ if (itemVariant === "plain") return {
41
+ ...base,
42
+ color: isSelected ? main : (0, require_src.src_exports.get)(theme, "text.primary")
43
+ };
44
+ if (isSelected) return {
45
+ ...base,
46
+ backgroundColor: require_utils.alpha(main, .16),
47
+ color: main,
48
+ ...outlined && { borderColor: main },
49
+ ...hoverFill(require_utils.alpha(main, .24)),
50
+ ...disabled ? {} : { "&:active": { backgroundColor: require_utils.alpha(main, .24) } }
51
+ };
52
+ return {
53
+ ...base,
54
+ ...hoverFill(require_utils.alpha(main, .08))
55
+ };
56
+ };
57
+ const SidebarItemRoot = require_src.styled(require_Pressable.Pressable, {
58
+ name: "SidebarItem",
59
+ label: "SidebarItem",
60
+ shouldForwardProp: (prop) => prop !== "anchor" && prop !== "isSelected" && prop !== "itemVariant" && prop !== "size"
61
+ })(densityStyles, layoutStyles, stateStyles);
62
+ /**
63
+ * One entry of a `Sidebar`: an icon pinned to the anchored edge, plus content
64
+ * shown while the rail is open — the `label` by default, or custom `children`
65
+ * (on a right-anchored rail the content renders to the icon's left). Built on
66
+ * `Pressable`, so it is a real button carrying nothing but the styling declared
67
+ * here — no inherited uppercase, weight, or tracking.
68
+ */
69
+ function SidebarItem({ icon, label, variant, size = "sm", color = "primary", children, onSelect, onClick, isSelected, ...rest }) {
70
+ const { isOpen, anchor, variant: railVariant, hasPanel, panelId, panelNode, setPanelLabel } = (0, react.useContext)(require_SidebarContext.SidebarContext);
71
+ const resolvedVariant = variant ?? railVariant;
72
+ const ownsPanel = hasPanel && children != null;
73
+ const isPorting = ownsPanel && (isSelected ?? false);
74
+ (0, react.useEffect)(() => {
75
+ if (!isPorting || !setPanelLabel) return;
76
+ setPanelLabel(label);
77
+ return () => setPanelLabel(null);
78
+ }, [
79
+ isPorting,
80
+ label,
81
+ setPanelLabel
82
+ ]);
83
+ const handleClick = (event) => {
84
+ onClick?.(event);
85
+ onSelect?.();
86
+ };
87
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarItemRoot, {
88
+ feedback: resolvedVariant === "plain" ? "none" : "highlight",
89
+ color,
90
+ size,
91
+ itemVariant: resolvedVariant,
92
+ isSelected,
93
+ anchor,
94
+ "aria-label": label,
95
+ "aria-pressed": isSelected ?? false,
96
+ ...ownsPanel && {
97
+ "aria-expanded": isSelected ?? false,
98
+ "aria-controls": isPorting ? panelId : void 0
99
+ },
100
+ onClick: handleClick,
101
+ ...rest,
102
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Flex.Flex, {
103
+ as: "span",
104
+ flexDirection: anchor === "right" ? "row-reverse" : "row",
105
+ alignItems: "center",
106
+ gap: 2,
107
+ flexShrink: 0,
108
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, {
109
+ name: icon,
110
+ size: "1.25rem",
111
+ color: "inherit"
112
+ }), isOpen && ((ownsPanel ? null : children) ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
113
+ as: "span",
114
+ variant: "inherit",
115
+ m: 0,
116
+ children: label
117
+ }))]
118
+ })
119
+ }), isPorting && panelNode && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Portal.Portal, {
120
+ container: panelNode,
121
+ children
122
+ })] });
123
+ }
124
+ //#endregion
125
+ exports.SidebarItem = SidebarItem;