@companix/uikit 0.0.84 → 0.0.86

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 (57) hide show
  1. package/dist/TextArea/index.d.ts +1 -1
  2. package/dist/WriteBar/WireBar.scss +119 -0
  3. package/dist/WriteBar/index.d.ts +24 -0
  4. package/dist/bundle.es.js +76 -70
  5. package/dist/bundle.es12.js +4 -4
  6. package/dist/bundle.es13.js +3 -3
  7. package/dist/bundle.es14.js +2 -2
  8. package/dist/bundle.es16.js +1 -1
  9. package/dist/bundle.es2.js +1 -1
  10. package/dist/bundle.es21.js +1 -1
  11. package/dist/bundle.es22.js +1 -1
  12. package/dist/bundle.es23.js +1 -1
  13. package/dist/bundle.es24.js +1 -1
  14. package/dist/bundle.es25.js +1 -1
  15. package/dist/bundle.es27.js +23 -21
  16. package/dist/bundle.es28.js +4 -4
  17. package/dist/bundle.es29.js +2 -2
  18. package/dist/bundle.es32.js +2 -2
  19. package/dist/bundle.es37.js +1 -1
  20. package/dist/bundle.es38.js +78 -34
  21. package/dist/bundle.es39.js +33 -20
  22. package/dist/bundle.es40.js +21 -10
  23. package/dist/bundle.es41.js +10 -11
  24. package/dist/bundle.es42.js +11 -26
  25. package/dist/bundle.es43.js +12 -37
  26. package/dist/bundle.es44.js +13 -50
  27. package/dist/bundle.es45.js +24 -45
  28. package/dist/bundle.es46.js +38 -8
  29. package/dist/bundle.es47.js +49 -25
  30. package/dist/bundle.es48.js +48 -5
  31. package/dist/bundle.es49.js +8 -24
  32. package/dist/bundle.es50.js +26 -22
  33. package/dist/bundle.es51.js +5 -24
  34. package/dist/bundle.es52.js +25 -88
  35. package/dist/bundle.es53.js +23 -18
  36. package/dist/bundle.es54.js +21 -90
  37. package/dist/bundle.es55.js +87 -73
  38. package/dist/bundle.es56.js +18 -24
  39. package/dist/bundle.es57.js +92 -38
  40. package/dist/bundle.es58.js +72 -12
  41. package/dist/bundle.es59.js +24 -14
  42. package/dist/bundle.es60.js +37 -68
  43. package/dist/bundle.es61.js +68 -66
  44. package/dist/bundle.es62.js +67 -10
  45. package/dist/bundle.es63.js +10 -42
  46. package/dist/bundle.es64.js +42 -14
  47. package/dist/bundle.es65.js +15 -32
  48. package/dist/bundle.es66.js +23 -61
  49. package/dist/bundle.es67.js +70 -75
  50. package/dist/bundle.es68.js +13 -48
  51. package/dist/bundle.es69.js +74 -13
  52. package/dist/bundle.es70.js +48 -13
  53. package/dist/bundle.es71.js +16 -0
  54. package/dist/bundle.es9.js +1 -1
  55. package/dist/index.d.ts +5 -0
  56. package/dist/index.scss +1 -0
  57. package/package.json +1 -1
@@ -4,4 +4,4 @@ export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextArea
4
4
  fill?: boolean;
5
5
  textAreaRef?: React.Ref<HTMLTextAreaElement>;
6
6
  }
7
- export declare const TextArea: ({ onResize, grow, value, onChange, disabled, required, rows, fill, textAreaRef, ...textAreaProps }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const TextArea: ({ onResize, grow, value, onChange, disabled, required, rows, fill, textAreaRef, className, ...textAreaProps }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,119 @@
1
+ @use '../mixins.scss';
2
+
3
+ .write-bar {
4
+ position: relative;
5
+ display: -webkit-box;
6
+ display: -ms-flexbox;
7
+ display: flex;
8
+ -webkit-box-orient: vertical;
9
+ -webkit-box-direction: normal;
10
+ -ms-flex-direction: column;
11
+ flex-direction: column;
12
+ width: 100%;
13
+ -webkit-box-flex: 1;
14
+ -ms-flex: 1 1 auto;
15
+ flex: 1 1 auto;
16
+
17
+ @include mixins.use-styles(write-bar);
18
+
19
+ &-content {
20
+ display: -webkit-box;
21
+ display: -ms-flexbox;
22
+ display: flex;
23
+ padding: 0 6px;
24
+ -webkit-box-align: end;
25
+ -ms-flex-align: end;
26
+ align-items: flex-end;
27
+ position: relative;
28
+ }
29
+
30
+ &-form {
31
+ position: relative;
32
+ display: flex;
33
+ flex: 1;
34
+ min-inline-size: 0;
35
+
36
+ textarea {
37
+ box-sizing: border-box;
38
+ flex: 1;
39
+ -webkit-appearance: none;
40
+ -moz-appearance: none;
41
+ appearance: none;
42
+ resize: none;
43
+ background: transparent;
44
+ border: 0;
45
+ height: 56px;
46
+ max-height: 280px;
47
+ padding: 16px 12px;
48
+ width: 100%;
49
+ min-width: 0;
50
+
51
+ &::-webkit-scrollbar {
52
+ width: 8px;
53
+ }
54
+
55
+ &::-webkit-scrollbar-corner {
56
+ visibility: hidden;
57
+ }
58
+
59
+ &::-webkit-scrollbar-thumb {
60
+ visibility: hidden;
61
+ }
62
+
63
+ &::placeholder {
64
+ overflow: hidden;
65
+ text-overflow: ellipsis;
66
+ white-space: nowrap;
67
+ opacity: 1;
68
+
69
+ @include mixins.use-styles(write-bar, placeholder);
70
+ }
71
+
72
+ &:focus {
73
+ outline: none;
74
+ }
75
+ }
76
+ }
77
+
78
+ &-icon {
79
+ display: -webkit-box;
80
+ display: -ms-flexbox;
81
+ display: flex;
82
+ -webkit-box-pack: center;
83
+ -ms-flex-pack: center;
84
+ justify-content: center;
85
+ -webkit-box-align: center;
86
+ -ms-flex-align: center;
87
+ align-items: center;
88
+ position: relative;
89
+ border: 0;
90
+ background: none;
91
+ cursor: pointer;
92
+ opacity: 0.72;
93
+ height: 56px;
94
+ min-width: 44px;
95
+ width: 44px;
96
+ transition: all 150ms;
97
+
98
+ &[data-hidden] {
99
+ transform: scale(0);
100
+ }
101
+
102
+ &[data-mode='attach'] {
103
+ @include mixins.use-styles(write-bar, icon, attach);
104
+ }
105
+
106
+ &[data-mode='send'] {
107
+ @include mixins.use-styles(write-bar, icon, send);
108
+ }
109
+
110
+ &:hover {
111
+ opacity: 1;
112
+ }
113
+
114
+ svg {
115
+ height: 22px;
116
+ width: 20px;
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,24 @@
1
+ import { IconDefinition } from '../Icon';
2
+ export interface WriteBarProps extends Pick<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'autoComplete' | 'cols' | 'dirName' | 'disabled' | 'maxLength' | 'minLength' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'rows' | 'value' | 'wrap' | 'onChange' | 'onFocus' | 'onBlur'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onFocus' | 'onBlur'> {
3
+ containerRef?: React.Ref<HTMLDivElement>;
4
+ textareaRef?: React.Ref<HTMLTextAreaElement>;
5
+ before?: React.ReactNode;
6
+ inlineAfter?: React.ReactNode;
7
+ after?: React.ReactNode;
8
+ onHeightChange?: VoidFunction;
9
+ shadow?: boolean;
10
+ header?: React.ReactNode;
11
+ children?: never;
12
+ }
13
+ export declare const WriteBar: {
14
+ ({ before, inlineAfter, after, onHeightChange, shadow, containerRef, header, textareaRef, autoComplete, cols, dirName, disabled, maxLength, minLength, name, placeholder, readOnly, required, value, wrap, rows, onChange, onFocus, onBlur, id, inputMode, defaultValue, autoFocus, tabIndex, spellCheck, ...restProps }: WriteBarProps): import("react/jsx-runtime").JSX.Element;
15
+ IconButton({ icon, mode, onClick, isLoading, isHidden }: WriteBarIconProps): import("react/jsx-runtime").JSX.Element;
16
+ };
17
+ interface WriteBarIconProps {
18
+ icon: IconDefinition;
19
+ onClick?: () => void;
20
+ mode: 'send' | 'attach';
21
+ isLoading?: boolean;
22
+ isHidden?: boolean;
23
+ }
24
+ export {};
package/dist/bundle.es.js CHANGED
@@ -4,99 +4,105 @@ import { Button as x } from "./bundle.es4.js";
4
4
  import { ButtonGroup as a } from "./bundle.es5.js";
5
5
  import { Spinner as l } from "./bundle.es6.js";
6
6
  import { Scrollable as n } from "./bundle.es7.js";
7
- import { ImitateScroll as s } from "./bundle.es8.js";
7
+ import { ImitateScroll as S } from "./bundle.es8.js";
8
8
  import { Segments as g } from "./bundle.es9.js";
9
9
  import { Popover as h } from "./bundle.es10.js";
10
10
  import { Tooltip as v } from "./bundle.es11.js";
11
- import { Select as B } from "./bundle.es12.js";
12
- import { SelectTags as R } from "./bundle.es13.js";
11
+ import { Select as D } from "./bundle.es12.js";
12
+ import { SelectTags as d } from "./bundle.es13.js";
13
13
  import { Input as k } from "./bundle.es14.js";
14
- import { OptionItem as b } from "./bundle.es15.js";
15
- import { NumberInput as L } from "./bundle.es16.js";
14
+ import { OptionItem as L } from "./bundle.es15.js";
15
+ import { NumberInput as w } from "./bundle.es16.js";
16
16
  import { OptionsList as C } from "./bundle.es17.js";
17
17
  import { Checkbox as O } from "./bundle.es18.js";
18
- import { Switch as z } from "./bundle.es19.js";
19
- import { Radio as j, RadioGroup as q } from "./bundle.es20.js";
20
- import { Drawer as H } from "./bundle.es21.js";
21
- import { Dialog as K } from "./bundle.es22.js";
22
- import { AlertDialog as Q } from "./bundle.es23.js";
23
- import { LoadingButton as V } from "./bundle.es24.js";
18
+ import { Switch as F } from "./bundle.es19.js";
19
+ import { Radio as W, RadioGroup as j } from "./bundle.es20.js";
20
+ import { Drawer as E } from "./bundle.es21.js";
21
+ import { Dialog as J } from "./bundle.es22.js";
22
+ import { AlertDialog as M } from "./bundle.es23.js";
23
+ import { LoadingButton as U } from "./bundle.es24.js";
24
24
  import { Tabs as X } from "./bundle.es25.js";
25
25
  import { Countdown as Z } from "./bundle.es26.js";
26
26
  import { TextArea as $ } from "./bundle.es27.js";
27
- import { DatePicker as ro } from "./bundle.es28.js";
28
- import { DateInput as to } from "./bundle.es29.js";
29
- import { FileOverlay as mo } from "./bundle.es30.js";
30
- import { FormGroup as fo } from "./bundle.es31.js";
31
- import { TimePicker as io } from "./bundle.es32.js";
32
- import { Icon as co } from "./bundle.es33.js";
33
- import { ProgressBar as So } from "./bundle.es34.js";
34
- import { Skeleton as uo } from "./bundle.es35.js";
35
- import { Blank as To } from "./bundle.es36.js";
36
- import { ProgressRing as Po } from "./bundle.es37.js";
37
- import { ThemeProvider as Do, useTheme as Bo } from "./bundle.es38.js";
38
- import { ColorSchemeScript as Ro, colorSchemeScript as ko } from "./bundle.es39.js";
39
- import { useLocalStorage as bo } from "./bundle.es40.js";
40
- import { useBooleanState as Lo } from "./bundle.es41.js";
41
- import { createAlertAgent as Co } from "./bundle.es42.js";
42
- import { createToaster as Oo } from "./bundle.es43.js";
43
- import { Toast as zo } from "./bundle.es44.js";
44
- import { DialogShell as jo, DrawerShell as qo, createPopupRegistry as Eo } from "./bundle.es45.js";
45
- import { createPopoversRegistry as Jo } from "./bundle.es46.js";
46
- import { createScope as Mo, createStaticScope as Qo } from "./bundle.es47.js";
47
- import { RemoveListener as Vo } from "./bundle.es48.js";
27
+ import { DatePicker as or } from "./bundle.es28.js";
28
+ import { DateInput as tr } from "./bundle.es29.js";
29
+ import { FileOverlay as mr } from "./bundle.es30.js";
30
+ import { FormGroup as fr } from "./bundle.es31.js";
31
+ import { TimePicker as ir } from "./bundle.es32.js";
32
+ import { Icon as cr } from "./bundle.es33.js";
33
+ import { ProgressBar as sr } from "./bundle.es34.js";
34
+ import { Skeleton as ur } from "./bundle.es35.js";
35
+ import { Blank as Tr } from "./bundle.es36.js";
36
+ import { ProgressRing as Pr } from "./bundle.es37.js";
37
+ import { WriteBar as Br } from "./bundle.es38.js";
38
+ import { ThemeProvider as Rr, useTheme as dr } from "./bundle.es39.js";
39
+ import { ColorSchemeScript as kr, colorSchemeScript as Ar } from "./bundle.es40.js";
40
+ import { useLocalStorage as br } from "./bundle.es41.js";
41
+ import { useBooleanState as yr } from "./bundle.es42.js";
42
+ import { useResizeTextarea as Gr } from "./bundle.es43.js";
43
+ import { useLoading as zr } from "./bundle.es44.js";
44
+ import { createAlertAgent as Nr } from "./bundle.es45.js";
45
+ import { createToaster as jr } from "./bundle.es46.js";
46
+ import { Toast as Er } from "./bundle.es47.js";
47
+ import { DialogShell as Jr, DrawerShell as Kr, createPopupRegistry as Mr } from "./bundle.es48.js";
48
+ import { createPopoversRegistry as Ur } from "./bundle.es49.js";
49
+ import { createScope as Xr, createStaticScope as Yr } from "./bundle.es50.js";
50
+ import { RemoveListener as _r } from "./bundle.es51.js";
48
51
  export {
49
- Q as AlertDialog,
52
+ M as AlertDialog,
50
53
  e as Avatar,
51
- To as Blank,
54
+ Tr as Blank,
52
55
  x as Button,
53
56
  a as ButtonGroup,
54
57
  O as Checkbox,
55
- Ro as ColorSchemeScript,
58
+ kr as ColorSchemeScript,
56
59
  Z as Countdown,
57
- to as DateInput,
58
- ro as DatePicker,
59
- K as Dialog,
60
- jo as DialogShell,
61
- H as Drawer,
62
- qo as DrawerShell,
63
- mo as FileOverlay,
64
- fo as FormGroup,
65
- co as Icon,
66
- s as ImitateScroll,
60
+ tr as DateInput,
61
+ or as DatePicker,
62
+ J as Dialog,
63
+ Jr as DialogShell,
64
+ E as Drawer,
65
+ Kr as DrawerShell,
66
+ mr as FileOverlay,
67
+ fr as FormGroup,
68
+ cr as Icon,
69
+ S as ImitateScroll,
67
70
  k as Input,
68
- V as LoadingButton,
69
- L as NumberInput,
70
- b as OptionItem,
71
+ U as LoadingButton,
72
+ w as NumberInput,
73
+ L as OptionItem,
71
74
  C as OptionsList,
72
75
  h as Popover,
73
- So as ProgressBar,
74
- Po as ProgressRing,
75
- j as Radio,
76
- q as RadioGroup,
77
- Vo as RemoveListener,
76
+ sr as ProgressBar,
77
+ Pr as ProgressRing,
78
+ W as Radio,
79
+ j as RadioGroup,
80
+ _r as RemoveListener,
78
81
  n as Scrollable,
79
82
  g as Segments,
80
- B as Select,
81
- R as SelectTags,
82
- uo as Skeleton,
83
+ D as Select,
84
+ d as SelectTags,
85
+ ur as Skeleton,
83
86
  l as Spinner,
84
- z as Switch,
87
+ F as Switch,
85
88
  X as Tabs,
86
89
  $ as TextArea,
87
- Do as ThemeProvider,
88
- io as TimePicker,
89
- zo as Toast,
90
+ Rr as ThemeProvider,
91
+ ir as TimePicker,
92
+ Er as Toast,
90
93
  v as Tooltip,
94
+ Br as WriteBar,
91
95
  p as avatarSizes,
92
- ko as colorSchemeScript,
93
- Co as createAlertAgent,
94
- Jo as createPopoversRegistry,
95
- Eo as createPopupRegistry,
96
- Mo as createScope,
97
- Qo as createStaticScope,
98
- Oo as createToaster,
99
- Lo as useBooleanState,
100
- bo as useLocalStorage,
101
- Bo as useTheme
96
+ Ar as colorSchemeScript,
97
+ Nr as createAlertAgent,
98
+ Ur as createPopoversRegistry,
99
+ Mr as createPopupRegistry,
100
+ Xr as createScope,
101
+ Yr as createStaticScope,
102
+ jr as createToaster,
103
+ yr as useBooleanState,
104
+ zr as useLoading,
105
+ br as useLocalStorage,
106
+ Gr as useResizeTextarea,
107
+ dr as useTheme
102
108
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { useRef as L, useMemo as j, useImperativeHandle as k } from "react";
3
3
  import { Popover as q } from "./bundle.es10.js";
4
- import { useFroozeClosing as w } from "./bundle.es51.js";
5
- import { SelectInput as H } from "./bundle.es52.js";
6
- import { useScrollListController as M } from "./bundle.es53.js";
7
- import { OptionsPopover as N } from "./bundle.es54.js";
4
+ import { useFroozeClosing as w } from "./bundle.es54.js";
5
+ import { SelectInput as H } from "./bundle.es55.js";
6
+ import { useScrollListController as M } from "./bundle.es56.js";
7
+ import { OptionsPopover as N } from "./bundle.es57.js";
8
8
  import { mergeRefs as W } from "react-merge-refs";
9
9
  const Z = (t) => {
10
10
  const {
@@ -3,12 +3,12 @@ import { mergeRefs as T } from "react-merge-refs";
3
3
  import { useState as M, useRef as h, useMemo as j } from "react";
4
4
  import { matchPattern as q } from "@companix/utils-js";
5
5
  import { faXmark as V, faChevronDown as $ } from "@companix/icons-solid";
6
- import { useFroozeClosing as B } from "./bundle.es51.js";
6
+ import { useFroozeClosing as B } from "./bundle.es54.js";
7
7
  import { Popover as L } from "./bundle.es10.js";
8
8
  import { Icon as g } from "./bundle.es33.js";
9
9
  import { attr as l, getActiveElementByAnotherElement as X, contains as G } from "@companix/utils-browser";
10
- import { OptionsPopover as H } from "./bundle.es54.js";
11
- import { arrays as v } from "./bundle.es55.js";
10
+ import { OptionsPopover as H } from "./bundle.es57.js";
11
+ import { arrays as v } from "./bundle.es58.js";
12
12
  const ne = (r) => {
13
13
  const {
14
14
  closeAfterSelect: C,
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as b, useRef as R } from "react";
3
3
  import { mergeRefs as c } from "react-merge-refs";
4
- import { InputElement as x } from "./bundle.es56.js";
5
- import { InputContainer as I } from "./bundle.es57.js";
4
+ import { InputElement as x } from "./bundle.es59.js";
5
+ import { InputContainer as I } from "./bundle.es60.js";
6
6
  import g from "classnames";
7
7
  const N = b(
8
8
  ({
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import C from "classnames";
3
3
  import { forwardRef as j, useRef as w } from "react";
4
4
  import { mergeRefs as y } from "react-merge-refs";
5
- import { InputContainer as F } from "./bundle.es57.js";
5
+ import { InputContainer as F } from "./bundle.es60.js";
6
6
  import { NumericFormat as V } from "react-number-format";
7
7
  const D = j(
8
8
  ({
@@ -1,6 +1,6 @@
1
1
  import { jsxs as I, jsx as a } from "react/jsx-runtime";
2
2
  import { box as g } from "@companix/utils-browser";
3
- import { getInitialsFontSize as h } from "./bundle.es49.js";
3
+ import { getInitialsFontSize as h } from "./bundle.es52.js";
4
4
  const k = 24, y = ({
5
5
  alt: n,
6
6
  crossOrigin: i,
@@ -3,7 +3,7 @@ import d from "classnames";
3
3
  import * as e from "@radix-ui/react-dialog";
4
4
  import { VisuallyHidden as i } from "@radix-ui/react-visually-hidden";
5
5
  import { customCSS as p } from "@companix/utils-browser";
6
- import { RemoveListener as f } from "./bundle.es48.js";
6
+ import { RemoveListener as f } from "./bundle.es51.js";
7
7
  const h = ({
8
8
  open: t,
9
9
  onClosed: l,
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
2
  import f from "classnames";
3
3
  import * as o from "@radix-ui/react-dialog";
4
4
  import { VisuallyHidden as a } from "@radix-ui/react-visually-hidden";
5
- import { RemoveListener as v } from "./bundle.es48.js";
5
+ import { RemoveListener as v } from "./bundle.es51.js";
6
6
  const g = (l) => {
7
7
  const { size: n = "s", open: r, onOpenChange: s, children: c, onClosed: t, disableEsc: p, className: d } = l, m = (h) => {
8
8
  p && h.preventDefault();
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
2
  import * as r from "@radix-ui/react-alert-dialog";
3
3
  import { Button as c } from "./bundle.es4.js";
4
- import { RemoveListener as N } from "./bundle.es48.js";
4
+ import { RemoveListener as N } from "./bundle.es51.js";
5
5
  import { VisuallyHidden as u } from "@radix-ui/react-visually-hidden";
6
6
  const C = ({
7
7
  open: d,
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { Button as m } from "./bundle.es4.js";
3
- import { useLoading as p } from "./bundle.es58.js";
3
+ import { useLoading as p } from "./bundle.es44.js";
4
4
  const g = ({ onClick: o, appearance: r = "primary", ...i }) => {
5
5
  const { isLoading: n, isError: t, handleClick: a } = p({ onClick: o });
6
6
  return /* @__PURE__ */ e(
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as d } from "react/jsx-runtime";
2
- import { useTabSlider as b, makeTabId as l } from "./bundle.es50.js";
2
+ import { useTabSlider as b, makeTabId as l } from "./bundle.es53.js";
3
3
  import * as n from "@radix-ui/react-tabs";
4
4
  import { useRef as m, useId as f, createContext as T, useContext as c } from "react";
5
5
  const o = T({ baseId: "", containerRef: {} }), u = ({ children: s, value: e, onChange: r }) => {
@@ -1,38 +1,40 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { useResizeTextarea as x } from "./bundle.es59.js";
3
- import { attr as e, callMultiple as u } from "@companix/utils-browser";
4
- import { useEffect as z } from "react";
5
- import { mergeRefs as R } from "react-merge-refs";
6
- const q = ({
7
- onResize: m,
8
- grow: a = !1,
9
- value: t,
10
- onChange: s,
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import u from "classnames";
3
+ import { useResizeTextarea as z } from "./bundle.es43.js";
4
+ import { attr as e, callMultiple as R } from "@companix/utils-browser";
5
+ import { useEffect as T } from "react";
6
+ import { mergeRefs as g } from "react-merge-refs";
7
+ const E = ({
8
+ onResize: f,
9
+ grow: t = !1,
10
+ value: a,
11
+ onChange: i,
11
12
  disabled: o,
12
- required: i,
13
+ required: s,
13
14
  rows: l = 2,
14
15
  fill: p = !1,
15
16
  textAreaRef: c,
17
+ className: n,
16
18
  ...d
17
19
  }) => {
18
- const [n, r] = x(m, a);
19
- return z(r, [r, t]), /* @__PURE__ */ f(
20
+ const [x, r] = z(f, t);
21
+ return T(r, [r, a]), /* @__PURE__ */ m(
20
22
  "div",
21
23
  {
22
24
  className: "form form-textarea",
23
- "data-required": e(i),
25
+ "data-required": e(s),
24
26
  "data-disabled": e(o),
25
27
  "data-fill": e(p),
26
- children: /* @__PURE__ */ f(
28
+ children: /* @__PURE__ */ m(
27
29
  "textarea",
28
30
  {
29
- className: "form-input",
30
- "data-grow": e(a),
31
- value: t,
32
- ref: R([c, n]),
31
+ className: u("form-input", n),
32
+ "data-grow": e(t),
33
+ value: a,
34
+ ref: g([c, x]),
33
35
  rows: l,
34
36
  disabled: o,
35
- onChange: u(s, r),
37
+ onChange: R(i, r),
36
38
  ...d
37
39
  }
38
40
  )
@@ -40,5 +42,5 @@ const q = ({
40
42
  );
41
43
  };
42
44
  export {
43
- q as TextArea
45
+ E as TextArea
44
46
  };
@@ -2,11 +2,11 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import { Popover as T } from "./bundle.es10.js";
3
3
  import { Input as w } from "./bundle.es14.js";
4
4
  import { useState as A, useRef as j } from "react";
5
- import { Calendar as E } from "./bundle.es60.js";
6
- import { useDayDisableCheker as N } from "./bundle.es61.js";
5
+ import { Calendar as E } from "./bundle.es61.js";
6
+ import { useDayDisableCheker as N } from "./bundle.es62.js";
7
7
  import { getNum as h, formatTime as v } from "@companix/utils-js";
8
- import { removeDigits as O } from "./bundle.es55.js";
9
- import { SelectRightElements as Y } from "./bundle.es62.js";
8
+ import { removeDigits as O } from "./bundle.es58.js";
9
+ import { SelectRightElements as Y } from "./bundle.es63.js";
10
10
  const i = {
11
11
  char: "-",
12
12
  toString: (e) => {
@@ -1,8 +1,8 @@
1
1
  import { jsxs as D, jsx as h } from "react/jsx-runtime";
2
2
  import { useMemo as M, useEffect as C } from "react";
3
3
  import { Select as c } from "./bundle.es12.js";
4
- import { createDateValidation as O, getMonthMaxDay as T } from "./bundle.es55.js";
5
- import { defaultMin as j, defaultMax as N, useCalendarOptions as V } from "./bundle.es63.js";
4
+ import { createDateValidation as O, getMonthMaxDay as T } from "./bundle.es58.js";
5
+ import { defaultMin as j, defaultMax as N, useCalendarOptions as V } from "./bundle.es64.js";
6
6
  const B = ({
7
7
  min: o = j,
8
8
  max: e = N,
@@ -1,8 +1,8 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { useRef as b, useMemo as I, useState as E, useCallback as A } from "react";
3
3
  import { getNum as S } from "@companix/utils-js";
4
- import { getTimesOptions as W, getTimeValue as q, removeDigits as w, convertTimeToOption as y } from "./bundle.es55.js";
5
- import { SelectRightElements as z } from "./bundle.es62.js";
4
+ import { getTimesOptions as W, getTimeValue as q, removeDigits as w, convertTimeToOption as y } from "./bundle.es58.js";
5
+ import { SelectRightElements as z } from "./bundle.es63.js";
6
6
  import { Select as F } from "./bundle.es12.js";
7
7
  import { Input as G } from "./bundle.es14.js";
8
8
  const o = {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as e, jsx as s } from "react/jsx-runtime";
2
- import { getInitialsFontSize as l } from "./bundle.es49.js";
2
+ import { getInitialsFontSize as l } from "./bundle.es52.js";
3
3
  import { clamp as i, customCSS as m, px as n } from "@companix/utils-browser";
4
4
  const u = ({
5
5
  appearance: o = "primary",