@koine/react 2.0.0-beta.15 → 2.0.0-beta.16

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 (127) hide show
  1. package/Autocomplete/AutocompleteMui.js +1 -1
  2. package/Autocomplete/helpers.js +1 -2
  3. package/Breadcrumbs/Breadcrumbs.js +1 -1
  4. package/Calendar/CalendarDaygridNav.js +1 -1
  5. package/Calendar/CalendarDaygridTable.js +1 -1
  6. package/Calendar/calendar-api-google.js +1 -3
  7. package/Details/Details.d.ts +60 -60
  8. package/Details/Details.js +2 -2
  9. package/Dialog/DialogMui.d.ts +9 -9
  10. package/Dialog/DialogMui.js +1 -1
  11. package/Dialog/css/bare.d.ts +8 -8
  12. package/Dialog/css/bare.js +2 -1
  13. package/Dialog/m/bare.js +1 -1
  14. package/Dialog/sc/bare.d.ts +2 -2
  15. package/Dialog/sc/bare.js +1 -1
  16. package/Dialog/sc/framer.js +1 -1
  17. package/Dialog/sc/framerMaterial.js +1 -1
  18. package/Dialog/sc/material.d.ts +2 -2
  19. package/Dialog/sc/material.js +1 -1
  20. package/Dialog/tw/bare.d.ts +5 -5
  21. package/Dialog/tw/bare.js +2 -1
  22. package/Dialog/tw/elegant.d.ts +5 -5
  23. package/Dialog/tw/elegant.js +2 -1
  24. package/Dialog/tw/framer.d.ts +2 -2
  25. package/Dialog/tw/framer.js +1 -1
  26. package/Dialog/tw/framerMaterial.d.ts +2 -2
  27. package/Dialog/tw/framerMaterial.js +1 -1
  28. package/Dialog/tw/material.d.ts +5 -5
  29. package/Dialog/tw/material.js +2 -1
  30. package/Form/Form.d.ts +1 -1
  31. package/Form/Form.js +1 -1
  32. package/Form/sc/bare.js +1 -1
  33. package/Forms/Field/FieldControl.js +1 -1
  34. package/Forms/antispam.js +1 -3
  35. package/Forms/helpers.js +1 -2
  36. package/Header/useHeader.js +1 -1
  37. package/Pagination/PaginationNav.js +1 -1
  38. package/Spacing/Spacing.js +1 -1
  39. package/Tabs/TabsMui.d.ts +5 -5
  40. package/Tabs/TabsMui.js +1 -1
  41. package/Tabs/tw/bare.d.ts +4 -4
  42. package/Tabs/tw/bare.js +2 -1
  43. package/Tabs/tw/material.d.ts +1 -1
  44. package/Tabs/tw/material.js +2 -1
  45. package/Typography/ReadMore.js +1 -1
  46. package/{helpers/createUseMediaQueryWidth.d.ts → createUseMediaQueryWidth.d.ts} +1 -1
  47. package/{helpers/createUseMediaQueryWidth.js → createUseMediaQueryWidth.js} +2 -3
  48. package/css/index.d.ts +0 -1
  49. package/css/index.js +0 -1
  50. package/index.d.ts +25 -1
  51. package/index.js +24 -1
  52. package/package.json +79 -94
  53. package/sc/index.d.ts +0 -1
  54. package/sc/index.js +0 -1
  55. package/scm/index.d.ts +0 -1
  56. package/scm/index.js +0 -1
  57. package/shared/index.d.ts +3 -4
  58. package/shared/index.js +3 -4
  59. package/styles/theme--vanilla.js +2 -2
  60. package/tw/index.d.ts +0 -1
  61. package/tw/index.js +0 -1
  62. package/twm/index.d.ts +0 -1
  63. package/twm/index.js +0 -1
  64. package/types.d.ts +2 -0
  65. package/{hooks/useFixedOffset.js → useFixedOffset.js} +2 -5
  66. package/{hooks/useInterval.js → useInterval.js} +1 -1
  67. package/useIsomorphicLayoutEffect.d.ts +3 -0
  68. package/{hooks/useIsomorphicLayoutEffect.js → useIsomorphicLayoutEffect.js} +1 -1
  69. package/{hooks/useKeyUp.js → useKeyUp.js} +1 -1
  70. package/{hooks/useMeasure.js → useMeasure.js} +2 -6
  71. package/{hooks/useNavigateAway.js → useNavigateAway.js} +1 -1
  72. package/{hooks/useScrollPosition.js → useScrollPosition.js} +2 -2
  73. package/{hooks/useScrollThreshold.js → useScrollThreshold.js} +2 -2
  74. package/{hooks/useScrollTo.js → useScrollTo.js} +2 -2
  75. package/{hooks/useSmoothScroll.js → useSmoothScroll.js} +2 -3
  76. package/{hooks/useWindowSize.d.ts → useWindowSize.d.ts} +1 -1
  77. package/{hooks/useWindowSize.js → useWindowSize.js} +1 -2
  78. package/Meta/index.d.ts +0 -2
  79. package/Meta/index.js +0 -2
  80. package/NoJs/index.d.ts +0 -2
  81. package/NoJs/index.js +0 -2
  82. package/helpers/index.d.ts +0 -4
  83. package/helpers/index.js +0 -4
  84. package/hooks/index.d.ts +0 -20
  85. package/hooks/index.js +0 -20
  86. package/hooks/types.d.ts +0 -2
  87. package/hooks/types.js +0 -1
  88. package/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  89. /package/{Meta/Meta.d.ts → Meta.d.ts} +0 -0
  90. /package/{Meta/Meta.js → Meta.js} +0 -0
  91. /package/{NoJs/NoJs.d.ts → NoJs.d.ts} +0 -0
  92. /package/{NoJs/NoJs.js → NoJs.js} +0 -0
  93. /package/{helpers/classed.d.ts → classed.d.ts} +0 -0
  94. /package/{helpers/classed.js → classed.js} +0 -0
  95. /package/{helpers/extend-component.d.ts → extendComponent.d.ts} +0 -0
  96. /package/{helpers/extend-component.js → extendComponent.js} +0 -0
  97. /package/{helpers/mergeRefs.d.ts → mergeRefs.d.ts} +0 -0
  98. /package/{helpers/mergeRefs.js → mergeRefs.js} +0 -0
  99. /package/{hooks/useAsyncFn.d.ts → useAsyncFn.d.ts} +0 -0
  100. /package/{hooks/useAsyncFn.js → useAsyncFn.js} +0 -0
  101. /package/{hooks/useDateLocale.d.ts → useDateLocale.d.ts} +0 -0
  102. /package/{hooks/useDateLocale.js → useDateLocale.js} +0 -0
  103. /package/{hooks/useFirstMountState.d.ts → useFirstMountState.d.ts} +0 -0
  104. /package/{hooks/useFirstMountState.js → useFirstMountState.js} +0 -0
  105. /package/{hooks/useFixedOffset.d.ts → useFixedOffset.d.ts} +0 -0
  106. /package/{hooks/useFocus.d.ts → useFocus.d.ts} +0 -0
  107. /package/{hooks/useFocus.js → useFocus.js} +0 -0
  108. /package/{hooks/useInterval.d.ts → useInterval.d.ts} +0 -0
  109. /package/{hooks/useKeyUp.d.ts → useKeyUp.d.ts} +0 -0
  110. /package/{hooks/useMeasure.d.ts → useMeasure.d.ts} +0 -0
  111. /package/{hooks/useMountedState.d.ts → useMountedState.d.ts} +0 -0
  112. /package/{hooks/useMountedState.js → useMountedState.js} +0 -0
  113. /package/{hooks/useNavigateAway.d.ts → useNavigateAway.d.ts} +0 -0
  114. /package/{hooks/usePrevious.d.ts → usePrevious.d.ts} +0 -0
  115. /package/{hooks/usePrevious.js → usePrevious.js} +0 -0
  116. /package/{hooks/usePreviousRef.d.ts → usePreviousRef.d.ts} +0 -0
  117. /package/{hooks/usePreviousRef.js → usePreviousRef.js} +0 -0
  118. /package/{hooks/useScrollPosition.d.ts → useScrollPosition.d.ts} +0 -0
  119. /package/{hooks/useScrollThreshold.d.ts → useScrollThreshold.d.ts} +0 -0
  120. /package/{hooks/useScrollTo.d.ts → useScrollTo.d.ts} +0 -0
  121. /package/{hooks/useSmoothScroll.d.ts → useSmoothScroll.d.ts} +0 -0
  122. /package/{hooks/useSpinDelay.d.ts → useSpinDelay.d.ts} +0 -0
  123. /package/{hooks/useSpinDelay.js → useSpinDelay.js} +0 -0
  124. /package/{hooks/useTraceUpdate.d.ts → useTraceUpdate.d.ts} +0 -0
  125. /package/{hooks/useTraceUpdate.js → useTraceUpdate.js} +0 -0
  126. /package/{hooks/useUpdateEffect.d.ts → useUpdateEffect.d.ts} +0 -0
  127. /package/{hooks/useUpdateEffect.js → useUpdateEffect.js} +0 -0
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __rest } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import useAutocomplete from "@mui/base/useAutocomplete";
4
4
  import { useCallback, useMemo, useState } from "react";
5
- import isString from "@koine/utils/isString";
5
+ import { isString } from "@koine/utils";
6
6
  import { normaliseOptions, } from "../Forms/helpers.js";
7
7
  import { InputProgress } from "../Forms/styles.js";
8
8
  import { AutocompleteInner, AutocompleteInput, AutocompleteInputArrow, AutocompleteItem, AutocompleteItemLabel, AutocompleteItemRemove, AutocompleteLabel, AutocompleteMenu, AutocompleteMenuItem, AutocompleteRoot, AutocompleteWrap, } from "./components.js";
@@ -1,5 +1,4 @@
1
- import isArray from "@koine/utils/isArray";
2
- import isString from "@koine/utils/isString";
1
+ import { isArray, isString } from "@koine/utils";
3
2
  export function normaliseAutocompleteValue(value, asArray) {
4
3
  if (!value) {
5
4
  return asArray ? [""] : "";
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { m } from "framer-motion";
4
4
  import { MdKeyboardArrowRight as IconDelimiter } from "react-icons/md";
5
5
  import styled, { css } from "styled-components";
6
- import titleCase from "@koine/utils/titleCase";
6
+ import { titleCase } from "@koine/utils";
7
7
  import { max, min } from "../styles/media.js";
8
8
  var LINK_GUTTER_X = 10;
9
9
  var Root = styled.nav(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n position: relative;\n"], ["\n display: flex;\n position: relative;\n"])));
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import format from "date-fns/format";
3
- import { useDateLocale } from "../hooks/useDateLocale.js";
3
+ import { useDateLocale } from "../useDateLocale.js";
4
4
  export var KoineCalendarDaygridNav = function (_a) {
5
5
  var range = _a.range, view = _a.view, todayInView = _a.todayInView, handlePrev = _a.handlePrev, handleNext = _a.handleNext, handleToday = _a.handleToday, handleView = _a.handleView, localeCode = _a.locale, _b = _a.NavRoot, NavRoot = _b === void 0 ? "nav" : _b, _c = _a.NavTitle, NavTitle = _c === void 0 ? "div" : _c, _d = _a.NavBtns, NavBtns = _d === void 0 ? "div" : _d, _e = _a.NavBtnPrev, NavBtnPrev = _e === void 0 ? "button" : _e, _f = _a.NavBtnNext, NavBtnNext = _f === void 0 ? "button" : _f, _g = _a.NavBtnToday, NavBtnToday = _g === void 0 ? "button" : _g, _h = _a.NavBtnViewMonth, NavBtnViewMonth = _h === void 0 ? "button" : _h, _j = _a.NavBtnViewWeek, NavBtnViewWeek = _j === void 0 ? "button" : _j;
6
6
  var start = range[0], end = range[1];
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import eachWeekOfInterval from "date-fns/eachWeekOfInterval";
4
4
  import { useEffect, useMemo, useState } from "react";
5
5
  import { useSwipeable } from "react-swipeable";
6
- import { useDateLocale } from "../hooks/index.js";
6
+ import { useDateLocale } from "../useDateLocale.js";
7
7
  import { CalendarDaygridCell, } from "./CalendarDaygridCell.js";
8
8
  import { processEventsInView } from "./utils.js";
9
9
  function getView(range) {
@@ -1,9 +1,7 @@
1
1
  import { __assign, __awaiter, __generator, __rest } from "tslib";
2
2
  import differenceInDays from "date-fns/differenceInDays";
3
3
  import subDays from "date-fns/subDays";
4
- import arrayToLookup from "@koine/utils/arrayToLookup";
5
- import isString from "@koine/utils/isString";
6
- import isUndefined from "@koine/utils/isUndefined";
4
+ import { arrayToLookup, isString, isUndefined } from "@koine/utils";
7
5
  import { addCalendarEvents, getEventTimestamp } from "./utils.js";
8
6
  var baseURL = "https://www.googleapis.com/calendar/v3/calendars/";
9
7
  export function getCalendarsEventsFromGoogle(_a) {
@@ -1,5 +1,5 @@
1
1
  import type { Simplify } from "@koine/utils";
2
- import { type WithComponents } from "../helpers";
2
+ import { type WithComponents } from "../extendComponent";
3
3
  export type OwnProps = React.ComponentPropsWithoutRef<"details"> & {
4
4
  open?: boolean;
5
5
  onChange?: () => any;
@@ -49,12 +49,12 @@ export declare const Summary: NonNullable<import("react").ElementType<Omit<impor
49
49
  } & Pick<OwnProps, "onChange"> & {
50
50
  children?: import("react").ReactNode;
51
51
  }>>;
52
- export declare const Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
52
+ export declare const Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
53
53
  $open: OwnProps["open"];
54
54
  } & Pick<OwnProps, "onChange"> & {
55
55
  children?: import("react").ReactNode;
56
56
  }>>;
57
- export declare const Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
57
+ export declare const Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
58
58
  $open: OwnProps["open"];
59
59
  "aria-expanded"?: React.AriaAttributes["aria-expanded"];
60
60
  "aria-label"?: React.AriaAttributes["aria-label"];
@@ -63,55 +63,22 @@ export declare const Content: NonNullable<import("react").ElementType<Omit<Omit<
63
63
  }>>;
64
64
  export declare const KoineDetails: ((props: {
65
65
  key?: import("react").Key | null | undefined;
66
- id?: string | undefined;
67
66
  slot?: string | undefined;
68
67
  style?: import("react").CSSProperties | undefined;
69
68
  title?: string | undefined;
70
- color?: string | undefined;
71
- defaultChecked?: boolean | undefined;
72
- defaultValue?: string | number | readonly string[] | undefined;
73
- suppressContentEditableWarning?: boolean | undefined;
74
- suppressHydrationWarning?: boolean | undefined;
75
- accessKey?: string | undefined;
76
- autoFocus?: boolean | undefined;
69
+ onDrag?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
70
+ onDragStart?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
71
+ onDragEnd?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
72
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
73
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
77
74
  className?: string | undefined;
78
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
79
- contextMenu?: string | undefined;
80
- dir?: string | undefined;
81
- draggable?: (boolean | "true" | "false") | undefined;
82
- hidden?: boolean | undefined;
75
+ children?: import("react").ReactNode;
76
+ suppressHydrationWarning?: boolean | undefined;
77
+ color?: string | undefined;
78
+ id?: string | undefined;
83
79
  lang?: string | undefined;
84
- nonce?: string | undefined;
85
- placeholder?: string | undefined;
86
- spellCheck?: (boolean | "true" | "false") | undefined;
87
- tabIndex?: number | undefined;
88
- translate?: "yes" | "no" | undefined;
89
- radioGroup?: string | undefined;
90
80
  role?: import("react").AriaRole | undefined;
91
- about?: string | undefined;
92
- content?: string | undefined;
93
- datatype?: string | undefined;
94
- inlist?: any;
95
- prefix?: string | undefined;
96
- property?: string | undefined;
97
- rel?: string | undefined;
98
- resource?: string | undefined;
99
- rev?: string | undefined;
100
- typeof?: string | undefined;
101
- vocab?: string | undefined;
102
- autoCapitalize?: string | undefined;
103
- autoCorrect?: string | undefined;
104
- autoSave?: string | undefined;
105
- itemProp?: string | undefined;
106
- itemScope?: boolean | undefined;
107
- itemType?: string | undefined;
108
- itemID?: string | undefined;
109
- itemRef?: string | undefined;
110
- results?: number | undefined;
111
- security?: string | undefined;
112
- unselectable?: "on" | "off" | undefined;
113
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
114
- is?: string | undefined;
81
+ tabIndex?: number | undefined;
115
82
  'aria-activedescendant'?: string | undefined;
116
83
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
117
84
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -124,7 +91,7 @@ export declare const KoineDetails: ((props: {
124
91
  'aria-colindextext'?: string | undefined;
125
92
  'aria-colspan'?: number | undefined;
126
93
  'aria-controls'?: string | undefined;
127
- 'aria-current'?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date" | undefined;
94
+ 'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
128
95
  'aria-describedby'?: string | undefined;
129
96
  'aria-description'?: string | undefined;
130
97
  'aria-details'?: string | undefined;
@@ -151,7 +118,7 @@ export declare const KoineDetails: ((props: {
151
118
  'aria-posinset'?: number | undefined;
152
119
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
153
120
  'aria-readonly'?: (boolean | "true" | "false") | undefined;
154
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
121
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
155
122
  'aria-required'?: (boolean | "true" | "false") | undefined;
156
123
  'aria-roledescription'?: string | undefined;
157
124
  'aria-rowcount'?: number | undefined;
@@ -165,7 +132,6 @@ export declare const KoineDetails: ((props: {
165
132
  'aria-valuemin'?: number | undefined;
166
133
  'aria-valuenow'?: number | undefined;
167
134
  'aria-valuetext'?: string | undefined;
168
- children?: import("react").ReactNode;
169
135
  dangerouslySetInnerHTML?: {
170
136
  __html: string | TrustedHTML;
171
137
  } | undefined;
@@ -261,9 +227,7 @@ export declare const KoineDetails: ((props: {
261
227
  onContextMenuCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
262
228
  onDoubleClick?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
263
229
  onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
264
- onDrag?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
265
230
  onDragCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
266
- onDragEnd?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
267
231
  onDragEndCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
268
232
  onDragEnter?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
269
233
  onDragEnterCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
@@ -273,7 +237,6 @@ export declare const KoineDetails: ((props: {
273
237
  onDragLeaveCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
274
238
  onDragOver?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
275
239
  onDragOverCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
276
- onDragStart?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
277
240
  onDragStartCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
278
241
  onDrop?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
279
242
  onDropCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
@@ -323,14 +286,51 @@ export declare const KoineDetails: ((props: {
323
286
  onScrollCapture?: import("react").UIEventHandler<HTMLDetailsElement> | undefined;
324
287
  onWheel?: import("react").WheelEventHandler<HTMLDetailsElement> | undefined;
325
288
  onWheelCapture?: import("react").WheelEventHandler<HTMLDetailsElement> | undefined;
326
- onAnimationStart?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
327
289
  onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
328
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
329
290
  onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
330
291
  onAnimationIteration?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
331
292
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
332
293
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDetailsElement> | undefined;
333
294
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDetailsElement> | undefined;
295
+ defaultChecked?: boolean | undefined;
296
+ defaultValue?: string | number | readonly string[] | undefined;
297
+ suppressContentEditableWarning?: boolean | undefined;
298
+ accessKey?: string | undefined;
299
+ autoFocus?: boolean | undefined;
300
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
301
+ contextMenu?: string | undefined;
302
+ dir?: string | undefined;
303
+ draggable?: (boolean | "true" | "false") | undefined;
304
+ hidden?: boolean | undefined;
305
+ nonce?: string | undefined;
306
+ placeholder?: string | undefined;
307
+ spellCheck?: (boolean | "true" | "false") | undefined;
308
+ translate?: "yes" | "no" | undefined;
309
+ radioGroup?: string | undefined;
310
+ about?: string | undefined;
311
+ content?: string | undefined;
312
+ datatype?: string | undefined;
313
+ inlist?: any;
314
+ prefix?: string | undefined;
315
+ property?: string | undefined;
316
+ rel?: string | undefined;
317
+ resource?: string | undefined;
318
+ rev?: string | undefined;
319
+ typeof?: string | undefined;
320
+ vocab?: string | undefined;
321
+ autoCapitalize?: string | undefined;
322
+ autoCorrect?: string | undefined;
323
+ autoSave?: string | undefined;
324
+ itemProp?: string | undefined;
325
+ itemScope?: boolean | undefined;
326
+ itemType?: string | undefined;
327
+ itemID?: string | undefined;
328
+ itemRef?: string | undefined;
329
+ results?: number | undefined;
330
+ security?: string | undefined;
331
+ unselectable?: "on" | "off" | undefined;
332
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
333
+ is?: string | undefined;
334
334
  open?: boolean | undefined;
335
335
  onToggle?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
336
336
  summary: null | React.ReactNode;
@@ -343,12 +343,12 @@ export declare const KoineDetails: ((props: {
343
343
  } & Pick<OwnProps, "onChange"> & {
344
344
  children?: import("react").ReactNode;
345
345
  }>>;
346
- Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
346
+ Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
347
347
  $open: OwnProps["open"];
348
348
  } & Pick<OwnProps, "onChange"> & {
349
349
  children?: import("react").ReactNode;
350
350
  }>>;
351
- Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
351
+ Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
352
352
  $open: OwnProps["open"];
353
353
  "aria-expanded"?: React.AriaAttributes["aria-expanded"];
354
354
  "aria-label"?: React.AriaAttributes["aria-label"];
@@ -362,12 +362,12 @@ export declare const KoineDetails: ((props: {
362
362
  } & Pick<OwnProps, "onChange"> & {
363
363
  children?: import("react").ReactNode;
364
364
  }>>;
365
- Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
365
+ Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
366
366
  $open: OwnProps["open"];
367
367
  } & Pick<OwnProps, "onChange"> & {
368
368
  children?: import("react").ReactNode;
369
369
  }>>;
370
- Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
370
+ Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
371
371
  $open: OwnProps["open"];
372
372
  "aria-expanded"?: React.AriaAttributes["aria-expanded"];
373
373
  "aria-label"?: React.AriaAttributes["aria-label"];
@@ -382,12 +382,12 @@ export declare const KoineDetails: ((props: {
382
382
  } & Pick<OwnProps, "onChange"> & {
383
383
  children?: import("react").ReactNode;
384
384
  }>>;
385
- Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
385
+ Body: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
386
386
  $open: OwnProps["open"];
387
387
  } & Pick<OwnProps, "onChange"> & {
388
388
  children?: import("react").ReactNode;
389
389
  }>>;
390
- Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
390
+ Content: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
391
391
  $open: OwnProps["open"];
392
392
  "aria-expanded"?: React.AriaAttributes["aria-expanded"];
393
393
  "aria-label"?: React.AriaAttributes["aria-label"];
@@ -1,8 +1,8 @@
1
1
  import { __assign, __rest } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { forwardRef, useCallback, useEffect, useId, useRef, useState, } from "react";
4
- import { extendComponent, } from "../helpers/index.js";
5
- import { useWindowSize } from "../hooks/useWindowSize.js";
4
+ import { extendComponent, } from "../extendComponent.js";
5
+ import { useWindowSize } from "../useWindowSize.js";
6
6
  export var Root = "details";
7
7
  export var Summary = "summary";
8
8
  export var Body = "div";
@@ -2,7 +2,7 @@ import ModalUnstyled, { type ModalProps as ModalUnstyledProps } from "@mui/base/
2
2
  import type { MotionProps } from "framer-motion";
3
3
  import React from "react";
4
4
  import type { Simplify } from "@koine/utils";
5
- import { type WithComponents } from "../helpers/index.js";
5
+ import { type WithComponents } from "../extendComponent.js";
6
6
  type ReducedModalUnstyledProps = Omit<ModalUnstyledProps, "onClose" | "BackdropComponent" | "classes" | "closeAfterTransition" | "component" | "components" | "componentsProps">;
7
7
  export type OwnProps = React.PropsWithChildren<ReducedModalUnstyledProps & {
8
8
  onClose: (event: object, reason?: string) => any;
@@ -56,13 +56,13 @@ export type Props = Simplify<WithComponents<OwnProps, Components>>;
56
56
  export type DialogProps = Props;
57
57
  export type KoineDialogProps = Props;
58
58
  export declare const Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
59
- export declare const Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
59
+ export declare const Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
60
60
  open?: OwnProps["open"];
61
61
  }>>;
62
62
  export declare const Container: NonNullable<React.ElementType<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<OwnProps, "$scrollPaper"> & {
63
63
  children?: React.ReactNode;
64
64
  }>>;
65
- export declare const Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
65
+ export declare const Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
66
66
  "aria-label": string;
67
67
  } & Pick<OwnProps, "$scrollPaper"> & {
68
68
  children?: React.ReactNode;
@@ -89,13 +89,13 @@ export declare const KoineDialog: ((props: Omit<{
89
89
  mPaper?: MotionProps | undefined;
90
90
  children?: React.ReactNode;
91
91
  Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
92
- Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
92
+ Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
93
93
  open?: OwnProps["open"];
94
94
  }>>;
95
95
  Container: NonNullable<React.ElementType<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<OwnProps, "$scrollPaper"> & {
96
96
  children?: React.ReactNode;
97
97
  }>>;
98
- Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
98
+ Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
99
99
  "aria-label": string;
100
100
  } & Pick<OwnProps, "$scrollPaper"> & {
101
101
  children?: React.ReactNode;
@@ -113,13 +113,13 @@ export declare const KoineDialog: ((props: Omit<{
113
113
  }>>;
114
114
  }, "ref"> & React.RefAttributes<HTMLDivElement>) => React.FunctionComponentElement<any>) & {
115
115
  Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
116
- Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
116
+ Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
117
117
  open?: OwnProps["open"];
118
118
  }>>;
119
119
  Container: NonNullable<React.ElementType<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<OwnProps, "$scrollPaper"> & {
120
120
  children?: React.ReactNode;
121
121
  }>>;
122
- Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
122
+ Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
123
123
  "aria-label": string;
124
124
  } & Pick<OwnProps, "$scrollPaper"> & {
125
125
  children?: React.ReactNode;
@@ -138,13 +138,13 @@ export declare const KoineDialog: ((props: Omit<{
138
138
  } & {
139
139
  defaultProps: {
140
140
  Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
141
- Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
141
+ Backdrop: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
142
142
  open?: OwnProps["open"];
143
143
  }>>;
144
144
  Container: NonNullable<React.ElementType<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<OwnProps, "$scrollPaper"> & {
145
145
  children?: React.ReactNode;
146
146
  }>>;
147
- Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
147
+ Paper: NonNullable<React.ElementType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
148
148
  "aria-label": string;
149
149
  } & Pick<OwnProps, "$scrollPaper"> & {
150
150
  children?: React.ReactNode;
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import ModalUnstyled from "@mui/base/Modal";
4
4
  import { forwardRef, useRef } from "react";
5
5
  import { MdClear as IconClose } from "react-icons/md";
6
- import { extendComponent } from "../helpers/index.js";
6
+ import { extendComponent } from "../extendComponent.js";
7
7
  export var Root = ModalUnstyled;
8
8
  export var Backdrop = "div";
9
9
  export var Container = "div";
@@ -6,7 +6,7 @@ export declare const Root: import("react").ForwardRefExoticComponent<Omit<{
6
6
  export declare const Backdrop: import("react").ForwardRefExoticComponent<Omit<{
7
7
  className?: string | undefined;
8
8
  ref?: import("react").Ref<any> | undefined;
9
- }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
9
+ }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
10
10
  open?: any;
11
11
  }>>>>;
12
12
  export declare const Container: import("react").ForwardRefExoticComponent<Omit<{
@@ -18,7 +18,7 @@ export declare const Container: import("react").ForwardRefExoticComponent<Omit<{
18
18
  export declare const Paper: import("react").ForwardRefExoticComponent<Omit<{
19
19
  className?: string | undefined;
20
20
  ref?: import("react").Ref<any> | undefined;
21
- }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
21
+ }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
22
22
  "aria-label": string;
23
23
  } & Pick<_.OwnProps, "$scrollPaper"> & {
24
24
  children?: import("react").ReactNode;
@@ -54,13 +54,13 @@ export declare const KoineDialog: ((props: Omit<{
54
54
  mPaper?: import("framer-motion").MotionProps | undefined;
55
55
  children?: import("react").ReactNode;
56
56
  Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
57
- Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
57
+ Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
58
58
  open?: any;
59
59
  }>>;
60
60
  Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<_.OwnProps, "$scrollPaper"> & {
61
61
  children?: import("react").ReactNode;
62
62
  }>>;
63
- Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
63
+ Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
64
64
  "aria-label": string;
65
65
  } & Pick<_.OwnProps, "$scrollPaper"> & {
66
66
  children?: import("react").ReactNode;
@@ -84,7 +84,7 @@ export declare const KoineDialog: ((props: Omit<{
84
84
  Backdrop: import("react").ForwardRefExoticComponent<Omit<{
85
85
  className?: string | undefined;
86
86
  ref?: import("react").Ref<any> | undefined;
87
- }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
87
+ }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
88
88
  open?: any;
89
89
  }>>>>;
90
90
  Container: import("react").ForwardRefExoticComponent<Omit<{
@@ -96,7 +96,7 @@ export declare const KoineDialog: ((props: Omit<{
96
96
  Paper: import("react").ForwardRefExoticComponent<Omit<{
97
97
  className?: string | undefined;
98
98
  ref?: import("react").Ref<any> | undefined;
99
- }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
99
+ }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
100
100
  "aria-label": string;
101
101
  } & Pick<_.OwnProps, "$scrollPaper"> & {
102
102
  children?: import("react").ReactNode;
@@ -130,7 +130,7 @@ export declare const KoineDialog: ((props: Omit<{
130
130
  Backdrop: import("react").ForwardRefExoticComponent<Omit<{
131
131
  className?: string | undefined;
132
132
  ref?: import("react").Ref<any> | undefined;
133
- }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
133
+ }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
134
134
  open?: any;
135
135
  }>>>>;
136
136
  Container: import("react").ForwardRefExoticComponent<Omit<{
@@ -142,7 +142,7 @@ export declare const KoineDialog: ((props: Omit<{
142
142
  Paper: import("react").ForwardRefExoticComponent<Omit<{
143
143
  className?: string | undefined;
144
144
  ref?: import("react").Ref<any> | undefined;
145
- }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
145
+ }, "ref"> & import("react").RefAttributes<NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
146
146
  "aria-label": string;
147
147
  } & Pick<_.OwnProps, "$scrollPaper"> & {
148
148
  children?: import("react").ReactNode;
@@ -1,5 +1,6 @@
1
1
  import { __makeTemplateObject } from "tslib";
2
- import { classed, extendComponent } from "../../helpers/index.js";
2
+ import { classed } from "../../classed.js";
3
+ import { extendComponent } from "../../extendComponent.js";
3
4
  import * as _ from "../DialogMui.js";
4
5
  export var Root = classed(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["dialog"], ["dialog"])));
5
6
  export var Backdrop = classed(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["dialogBackdrop"], ["dialogBackdrop"])));
package/Dialog/m/bare.js CHANGED
@@ -1,3 +1,3 @@
1
- import { extendComponent } from "../../helpers/index.js";
1
+ import { extendComponent } from "../../extendComponent.js";
2
2
  var Dialog = function () { return null; };
3
3
  export var KoineDialog = extendComponent(Dialog, {});
@@ -18,13 +18,13 @@ export declare const KoineDialog: ((props: Omit<{
18
18
  mPaper?: import("framer-motion").MotionProps | undefined;
19
19
  children?: import("react").ReactNode;
20
20
  Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
21
- Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
21
+ Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
22
22
  open?: any;
23
23
  }>>;
24
24
  Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<_.OwnProps, "$scrollPaper"> & {
25
25
  children?: import("react").ReactNode;
26
26
  }>>;
27
- Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
27
+ Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
28
28
  "aria-label": string;
29
29
  } & Pick<_.OwnProps, "$scrollPaper"> & {
30
30
  children?: import("react").ReactNode;
package/Dialog/sc/bare.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from "tslib";
2
2
  import styled from "styled-components";
3
3
  import { IconButton } from "../../Buttons/index.js";
4
- import { extendComponent } from "../../helpers/index.js";
4
+ import { extendComponent } from "../../extendComponent.js";
5
5
  import { inset0 } from "../../styles/styled.js";
6
6
  import * as _ from "../DialogMui.js";
7
7
  export var Root = styled(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: 1300;\n position: fixed;\n ", "\n"], ["\n z-index: 1300;\n position: fixed;\n ", "\n"])), inset0);
@@ -1,5 +1,5 @@
1
1
  import { m } from "framer-motion";
2
- import { extendComponent } from "../../helpers/index.js";
2
+ import { extendComponent } from "../../extendComponent.js";
3
3
  import { KoineDialog as _ } from "../m/bare.js";
4
4
  import { dialogBackdropMotion, dialogPaperMotion } from "../m/basic.js";
5
5
  import { Backdrop, Body, Close, Container, Header, Paper, Root } from "./bare.js";
@@ -1,5 +1,5 @@
1
1
  import { m } from "framer-motion";
2
- import { extendComponent } from "../../helpers/index.js";
2
+ import { extendComponent } from "../../extendComponent.js";
3
3
  import { KoineDialog as _ } from "../m/bare.js";
4
4
  import { dialogBackdropMotion, dialogPaperMotion } from "../m/basic.js";
5
5
  import { Backdrop, Body, Close, Container, Header, Paper, Root, } from "./material.js";
@@ -17,13 +17,13 @@ export declare const KoineDialog: ((props: Omit<{
17
17
  mPaper?: import("framer-motion").MotionProps | undefined;
18
18
  children?: import("react").ReactNode;
19
19
  Root: import("@mui/base/utils").PolymorphicComponent<import("@mui/base/Modal").ModalTypeMap<{}, "div">>;
20
- Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
20
+ Backdrop: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
21
21
  open?: any;
22
22
  }>>;
23
23
  Container: NonNullable<import("react").ElementType<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
24
24
  children?: import("react").ReactNode;
25
25
  }>>;
26
- Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & {
26
+ Paper: NonNullable<import("react").ElementType<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "style" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd"> & {
27
27
  "aria-label": string;
28
28
  } & Pick<import("../DialogMui").OwnProps, "$scrollPaper"> & {
29
29
  children?: import("react").ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { __makeTemplateObject } from "tslib";
2
2
  import styled from "styled-components";
3
- import { extendComponent } from "../../helpers/index.js";
3
+ import { extendComponent } from "../../extendComponent.js";
4
4
  import { KoineDialog as _ } from "./bare.js";
5
5
  export var Root = styled(_.Root)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
6
6
  export var Backdrop = styled(_.Backdrop)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: rgba(0, 0, 0, 0.5);\n filter: backdrop-blur(4px);\n"], ["\n background: rgba(0, 0, 0, 0.5);\n filter: backdrop-blur(4px);\n"])));