@companix/uikit 0.1.14 → 0.1.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.
- package/dist/DrawerMobile/MobileDrawer.scss +71 -0
- package/dist/DrawerMobile/constants.d.ts +9 -0
- package/dist/DrawerMobile/context.d.ts +18 -0
- package/dist/DrawerMobile/helpers.d.ts +13 -0
- package/dist/DrawerMobile/index.d.ts +17 -0
- package/dist/DrawerMobile/types.d.ts +5 -0
- package/dist/DrawerMobile/use-prevent-scroll.d.ts +5 -0
- package/dist/Popup/index.d.ts +4 -2
- package/dist/Scrollable/Scrollable.scss +0 -5
- package/dist/__helpers/createPopupRegistry.d.ts +4 -0
- package/dist/bundle.es.js +112 -109
- package/dist/bundle.es10.js +1 -1
- package/dist/bundle.es13.js +4 -4
- package/dist/bundle.es14.js +4 -4
- package/dist/bundle.es15.js +2 -2
- package/dist/bundle.es16.js +1 -1
- package/dist/bundle.es17.js +1 -1
- package/dist/bundle.es19.js +1 -1
- package/dist/bundle.es22.js +1 -1
- package/dist/bundle.es23.js +260 -13
- package/dist/bundle.es24.js +14 -21
- package/dist/bundle.es25.js +20 -37
- package/dist/bundle.es26.js +38 -21
- package/dist/bundle.es27.js +20 -18
- package/dist/bundle.es28.js +18 -20
- package/dist/bundle.es29.js +20 -43
- package/dist/bundle.es30.js +37 -114
- package/dist/bundle.es31.js +119 -72
- package/dist/bundle.es32.js +68 -38
- package/dist/bundle.es33.js +42 -10
- package/dist/bundle.es34.js +11 -85
- package/dist/bundle.es35.js +85 -19
- package/dist/bundle.es36.js +20 -7
- package/dist/bundle.es37.js +7 -3
- package/dist/bundle.es38.js +3 -23
- package/dist/bundle.es39.js +16 -45
- package/dist/bundle.es40.js +51 -56
- package/dist/bundle.es41.js +57 -162
- package/dist/bundle.es42.js +160 -79
- package/dist/bundle.es43.js +81 -7
- package/dist/bundle.es44.js +7 -35
- package/dist/bundle.es45.js +33 -20
- package/dist/bundle.es46.js +19 -47
- package/dist/bundle.es47.js +49 -11
- package/dist/bundle.es48.js +11 -13
- package/dist/bundle.es49.js +13 -13
- package/dist/bundle.es50.js +13 -30
- package/dist/bundle.es51.js +29 -25
- package/dist/bundle.es52.js +17 -29
- package/dist/bundle.es53.js +36 -48
- package/dist/bundle.es54.js +49 -50
- package/dist/bundle.es55.js +56 -8
- package/dist/bundle.es56.js +8 -26
- package/dist/bundle.es57.js +27 -5
- package/dist/bundle.es58.js +5 -66
- package/dist/bundle.es59.js +66 -23
- package/dist/bundle.es60.js +22 -23
- package/dist/bundle.es61.js +24 -88
- package/dist/bundle.es62.js +88 -18
- package/dist/bundle.es63.js +17 -92
- package/dist/bundle.es64.js +92 -73
- package/dist/bundle.es65.js +73 -23
- package/dist/bundle.es66.js +20 -35
- package/dist/bundle.es67.js +37 -68
- package/dist/bundle.es68.js +23 -10
- package/dist/bundle.es69.js +78 -42
- package/dist/bundle.es70.js +93 -33
- package/dist/bundle.es71.js +10 -66
- package/dist/bundle.es72.js +69 -40
- package/dist/bundle.es73.js +10 -14
- package/dist/bundle.es74.js +43 -32
- package/dist/bundle.es75.js +32 -69
- package/dist/bundle.es76.js +64 -12
- package/dist/bundle.es77.js +41 -75
- package/dist/bundle.es78.js +14 -48
- package/dist/bundle.es79.js +32 -14
- package/dist/bundle.es80.js +72 -0
- package/dist/bundle.es81.js +77 -0
- package/dist/bundle.es82.js +51 -0
- package/dist/bundle.es83.js +16 -0
- package/dist/bundle.es84.js +16 -0
- package/dist/bundle.es9.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.scss +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// Mobile drawer specific styles – placement and open/close animations come from Drawer.scss
|
|
2
|
+
// (we reuse .drawer and .drawer-overlay classes + data-direction="bottom").
|
|
3
|
+
|
|
4
|
+
.drawer-mobile {
|
|
5
|
+
touch-action: none;
|
|
6
|
+
will-change: transform;
|
|
7
|
+
|
|
8
|
+
&[data-animate='false'] {
|
|
9
|
+
animation: none !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Extend the drawer's background below the viewport so that dampened
|
|
13
|
+
// over-drag past the top edge doesn't reveal a gap.
|
|
14
|
+
&::after {
|
|
15
|
+
content: '';
|
|
16
|
+
position: absolute;
|
|
17
|
+
background: inherit;
|
|
18
|
+
background-color: inherit;
|
|
19
|
+
top: 100%;
|
|
20
|
+
bottom: initial;
|
|
21
|
+
left: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
height: 200%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (hover: hover) and (pointer: fine) {
|
|
27
|
+
user-select: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.drawer-overlay {
|
|
32
|
+
&[data-animate='false'] {
|
|
33
|
+
animation: none !important;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Handle visuals
|
|
38
|
+
.drawer-handle {
|
|
39
|
+
display: block;
|
|
40
|
+
position: relative;
|
|
41
|
+
opacity: 0.7;
|
|
42
|
+
background: #e2e2e4;
|
|
43
|
+
margin-left: auto;
|
|
44
|
+
margin-right: auto;
|
|
45
|
+
height: 5px;
|
|
46
|
+
width: 32px;
|
|
47
|
+
border-radius: 1rem;
|
|
48
|
+
touch-action: pan-y;
|
|
49
|
+
margin-top: 8px;
|
|
50
|
+
margin-bottom: 8px;
|
|
51
|
+
|
|
52
|
+
&:hover,
|
|
53
|
+
&:active {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.drawer-handle-hitarea {
|
|
59
|
+
position: absolute;
|
|
60
|
+
left: 50%;
|
|
61
|
+
top: 50%;
|
|
62
|
+
transform: translate(-50%, -50%);
|
|
63
|
+
width: max(100%, 2.75rem); // 44px
|
|
64
|
+
height: max(100%, 2.75rem); // 44px
|
|
65
|
+
touch-action: inherit;
|
|
66
|
+
|
|
67
|
+
@media (pointer: fine) {
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const TRANSITIONS: {
|
|
2
|
+
DURATION: number;
|
|
3
|
+
EASE: number[];
|
|
4
|
+
};
|
|
5
|
+
export declare const VELOCITY_THRESHOLD = 0.4;
|
|
6
|
+
export declare const CLOSE_THRESHOLD = 0.25;
|
|
7
|
+
export declare const SCROLL_LOCK_TIMEOUT = 100;
|
|
8
|
+
export declare const DRAG_CLASS = "drawer-dragging";
|
|
9
|
+
export declare const WINDOW_TOP_OFFSET = 26;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DrawerContextValue {
|
|
3
|
+
drawerRef: React.RefObject<HTMLDivElement>;
|
|
4
|
+
overlayRef: React.RefObject<HTMLDivElement>;
|
|
5
|
+
onPress: (event: React.PointerEvent<HTMLDivElement>) => void;
|
|
6
|
+
onRelease: (event: React.PointerEvent<HTMLDivElement> | null) => void;
|
|
7
|
+
onDrag: (event: React.PointerEvent<HTMLDivElement>) => void;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
isDragging: boolean;
|
|
10
|
+
keyboardIsOpen: React.MutableRefObject<boolean>;
|
|
11
|
+
closeDrawer: () => void;
|
|
12
|
+
shouldAnimate: React.MutableRefObject<boolean>;
|
|
13
|
+
onClosed?: () => void;
|
|
14
|
+
disableEsc?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const DrawerContext: React.Context<DrawerContextValue>;
|
|
17
|
+
export declare const useDrawerContext: () => DrawerContextValue;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface Style {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
}
|
|
4
|
+
export declare function set(el: Element | HTMLElement | null | undefined, styles: Style, ignoreCache?: boolean): void;
|
|
5
|
+
export declare function reset(el: Element | HTMLElement | null, prop?: string): void;
|
|
6
|
+
export declare function getTranslate(element: HTMLElement): number | null;
|
|
7
|
+
export declare function dampenValue(v: number): number;
|
|
8
|
+
export declare function isInput(target: Element): boolean;
|
|
9
|
+
export declare function isIOS(): boolean | undefined;
|
|
10
|
+
export declare function isMobileFirefox(): boolean | undefined;
|
|
11
|
+
type PossibleRef<T> = React.Ref<T> | undefined;
|
|
12
|
+
export declare function composeRefs<T>(...refs: PossibleRef<T>[]): (node: T) => void;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
+
export interface MobileDrawerProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (value: boolean) => void;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
disableEsc?: boolean;
|
|
9
|
+
onClosed?: () => void;
|
|
10
|
+
size?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Handle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export declare const MobileDrawer: {
|
|
14
|
+
({ children, size, ...props }: MobileDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
Close: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
Handle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
export type MobileDrawerContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
|
|
3
|
+
size?: string;
|
|
4
|
+
};
|
|
5
|
+
export type MobileDrawerOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
package/dist/Popup/index.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ export interface PopupLayotProps {
|
|
|
6
6
|
defaultOpen?: boolean;
|
|
7
7
|
disableEsc?: boolean;
|
|
8
8
|
onClosed?: () => void;
|
|
9
|
-
overlay?: React.
|
|
10
|
-
|
|
9
|
+
overlay?: React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
10
|
+
overlayRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
content?: React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
|
|
11
12
|
[data: `data-${string}`]: string | undefined;
|
|
12
13
|
};
|
|
14
|
+
contentRef?: React.Ref<HTMLDivElement>;
|
|
13
15
|
}
|
|
14
16
|
export declare const PopupLayout: {
|
|
15
17
|
(props: PopupLayotProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DialogProps } from '../Dialog';
|
|
2
2
|
import { DrawerProps } from '../Drawer';
|
|
3
|
+
import { MobileDrawerProps } from '..';
|
|
3
4
|
export interface PopupProps<T> {
|
|
4
5
|
data: T;
|
|
5
6
|
close: () => void;
|
|
@@ -33,4 +34,7 @@ export declare const DialogShell: ({ children, ...props }: DialogShellProps) =>
|
|
|
33
34
|
interface DrawerShellProps extends Omit<DrawerProps, 'open' | 'onOpenChange' | 'onClosed'> {
|
|
34
35
|
}
|
|
35
36
|
export declare const DrawerShell: ({ children, ...props }: DrawerShellProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
interface MobileDrawerShellProps extends Omit<MobileDrawerProps, 'open' | 'onOpenChange' | 'onClosed'> {
|
|
38
|
+
}
|
|
39
|
+
export declare const MobileDrawerShell: ({ children, ...props }: MobileDrawerShellProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
40
|
export {};
|
package/dist/bundle.es.js
CHANGED
|
@@ -1,141 +1,144 @@
|
|
|
1
1
|
import { Avatar as o } from "./bundle.es2.js";
|
|
2
2
|
import { avatarSizes as p } from "./bundle.es3.js";
|
|
3
|
-
import { getBadgeIconSizeByImageBaseSize as
|
|
3
|
+
import { getBadgeIconSizeByImageBaseSize as m, getFallbackIconSizeByImageBaseSize as x, getInitialsFontSize as f } from "./bundle.es4.js";
|
|
4
4
|
import { Button as s } from "./bundle.es5.js";
|
|
5
|
-
import { ButtonGroup as
|
|
5
|
+
import { ButtonGroup as n } from "./bundle.es6.js";
|
|
6
6
|
import { Spinner as S } from "./bundle.es7.js";
|
|
7
7
|
import { Scrollable as g } from "./bundle.es8.js";
|
|
8
8
|
import { ImitateScroll as d } from "./bundle.es9.js";
|
|
9
9
|
import { Segments as P } from "./bundle.es10.js";
|
|
10
|
-
import { Popover as
|
|
11
|
-
import { Tooltip as
|
|
12
|
-
import { Select as
|
|
13
|
-
import { SelectTags as
|
|
14
|
-
import { Input as
|
|
15
|
-
import { OptionItem as
|
|
16
|
-
import { NumberInput as
|
|
10
|
+
import { Popover as b } from "./bundle.es11.js";
|
|
11
|
+
import { Tooltip as I } from "./bundle.es12.js";
|
|
12
|
+
import { Select as k } from "./bundle.es13.js";
|
|
13
|
+
import { SelectTags as w } from "./bundle.es14.js";
|
|
14
|
+
import { Input as M } from "./bundle.es15.js";
|
|
15
|
+
import { OptionItem as R } from "./bundle.es16.js";
|
|
16
|
+
import { NumberInput as L } from "./bundle.es17.js";
|
|
17
17
|
import { OptionsList as F } from "./bundle.es18.js";
|
|
18
18
|
import { Checkbox as G } from "./bundle.es19.js";
|
|
19
19
|
import { Switch as E } from "./bundle.es20.js";
|
|
20
20
|
import { Radio as j, RadioGroup as q } from "./bundle.es21.js";
|
|
21
21
|
import { Drawer as J } from "./bundle.es22.js";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
22
|
+
import { MobileDrawer as Q } from "./bundle.es23.js";
|
|
23
|
+
import { Dialog as V } from "./bundle.es24.js";
|
|
24
|
+
import { PopupLayout as Z } from "./bundle.es25.js";
|
|
25
|
+
import { AlertDialog as $ } from "./bundle.es26.js";
|
|
26
|
+
import { LoadingButton as re } from "./bundle.es27.js";
|
|
27
|
+
import { Tabs as te } from "./bundle.es28.js";
|
|
28
|
+
import { Countdown as ae } from "./bundle.es29.js";
|
|
29
|
+
import { TextArea as xe } from "./bundle.es30.js";
|
|
30
|
+
import { DatePicker as ie } from "./bundle.es31.js";
|
|
31
|
+
import { DateInput as le } from "./bundle.es32.js";
|
|
32
|
+
import { FileOverlay as ce } from "./bundle.es33.js";
|
|
33
|
+
import { FormGroup as ue } from "./bundle.es34.js";
|
|
34
|
+
import { TimePicker as De } from "./bundle.es35.js";
|
|
35
|
+
import { Icon as he } from "./bundle.es36.js";
|
|
36
|
+
import { ProgressBar as Be } from "./bundle.es37.js";
|
|
37
|
+
import { Skeleton as ye } from "./bundle.es38.js";
|
|
38
|
+
import { Blank as Te } from "./bundle.es39.js";
|
|
39
|
+
import { ProgressRing as ve } from "./bundle.es40.js";
|
|
40
|
+
import { WriteBar as Ae } from "./bundle.es41.js";
|
|
41
|
+
import { Editor as Oe } from "./bundle.es42.js";
|
|
42
|
+
import { DropArea as ze, DropAreaProvider as Le, useDragEnter as Ce } from "./bundle.es43.js";
|
|
43
|
+
import { Table as Ne } from "./bundle.es44.js";
|
|
44
|
+
import { ThemeProvider as We, useTheme as Ee } from "./bundle.es45.js";
|
|
45
|
+
import { ColorSchemeScript as je, colorSchemeScript as qe } from "./bundle.es46.js";
|
|
46
|
+
import { LocalStorageProvider as Je, useLocalStorage as Ke } from "./bundle.es47.js";
|
|
47
|
+
import { useBooleanState as Ue } from "./bundle.es48.js";
|
|
48
|
+
import { useResizeTextarea as Xe } from "./bundle.es49.js";
|
|
49
|
+
import { useLoading as _e } from "./bundle.es50.js";
|
|
50
|
+
import { NowContextProvider as er, useNow as rr } from "./bundle.es51.js";
|
|
51
|
+
import { createAlertAgent as tr } from "./bundle.es52.js";
|
|
52
|
+
import { createToaster as ar } from "./bundle.es53.js";
|
|
53
|
+
import { Toast as xr } from "./bundle.es54.js";
|
|
54
|
+
import { DialogShell as ir, DrawerShell as sr, MobileDrawerShell as lr, createPopupRegistry as nr, usePopup as cr } from "./bundle.es55.js";
|
|
55
|
+
import { createPopoversRegistry as ur } from "./bundle.es56.js";
|
|
56
|
+
import { createScope as Dr, createStaticScope as dr } from "./bundle.es57.js";
|
|
57
|
+
import { RemoveListener as Pr } from "./bundle.es58.js";
|
|
58
|
+
import { MONDAY as br, addMonths as yr, createDayDisableChecker as Ir, endOfDay as Tr, endOfWeek as kr, isDayMinMaxRestricted as vr, isSameDate as wr, setMonth as Ar, setYear as Mr, startOfDay as Or, startOfWeek as Rr, subMonths as zr, useDayDisableCheker as Lr } from "./bundle.es59.js";
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
$ as AlertDialog,
|
|
60
61
|
o as Avatar,
|
|
61
|
-
|
|
62
|
+
Te as Blank,
|
|
62
63
|
s as Button,
|
|
63
|
-
|
|
64
|
+
n as ButtonGroup,
|
|
64
65
|
G as Checkbox,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
je as ColorSchemeScript,
|
|
67
|
+
ae as Countdown,
|
|
68
|
+
le as DateInput,
|
|
69
|
+
ie as DatePicker,
|
|
70
|
+
V as Dialog,
|
|
71
|
+
ir as DialogShell,
|
|
71
72
|
J as Drawer,
|
|
72
|
-
|
|
73
|
+
sr as DrawerShell,
|
|
73
74
|
ze as DropArea,
|
|
74
75
|
Le as DropAreaProvider,
|
|
75
76
|
Oe as Editor,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
ce as FileOverlay,
|
|
78
|
+
ue as FormGroup,
|
|
79
|
+
he as Icon,
|
|
79
80
|
d as ImitateScroll,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
M as Input,
|
|
82
|
+
re as LoadingButton,
|
|
83
|
+
Je as LocalStorageProvider,
|
|
84
|
+
br as MONDAY,
|
|
85
|
+
Q as MobileDrawer,
|
|
86
|
+
lr as MobileDrawerShell,
|
|
87
|
+
er as NowContextProvider,
|
|
88
|
+
L as NumberInput,
|
|
89
|
+
R as OptionItem,
|
|
87
90
|
F as OptionsList,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
b as Popover,
|
|
92
|
+
Z as PopupLayout,
|
|
93
|
+
Be as ProgressBar,
|
|
94
|
+
ve as ProgressRing,
|
|
92
95
|
j as Radio,
|
|
93
96
|
q as RadioGroup,
|
|
94
|
-
|
|
97
|
+
Pr as RemoveListener,
|
|
95
98
|
g as Scrollable,
|
|
96
99
|
P as Segments,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
+
k as Select,
|
|
101
|
+
w as SelectTags,
|
|
102
|
+
ye as Skeleton,
|
|
100
103
|
S as Spinner,
|
|
101
104
|
E as Switch,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
Ne as Table,
|
|
106
|
+
te as Tabs,
|
|
107
|
+
xe as TextArea,
|
|
108
|
+
We as ThemeProvider,
|
|
109
|
+
De as TimePicker,
|
|
110
|
+
xr as Toast,
|
|
111
|
+
I as Tooltip,
|
|
112
|
+
Ae as WriteBar,
|
|
113
|
+
yr as addMonths,
|
|
111
114
|
p as avatarSizes,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
115
|
+
qe as colorSchemeScript,
|
|
116
|
+
tr as createAlertAgent,
|
|
117
|
+
Ir as createDayDisableChecker,
|
|
118
|
+
ur as createPopoversRegistry,
|
|
119
|
+
nr as createPopupRegistry,
|
|
120
|
+
Dr as createScope,
|
|
121
|
+
dr as createStaticScope,
|
|
122
|
+
ar as createToaster,
|
|
123
|
+
Tr as endOfDay,
|
|
124
|
+
kr as endOfWeek,
|
|
125
|
+
m as getBadgeIconSizeByImageBaseSize,
|
|
123
126
|
x as getFallbackIconSizeByImageBaseSize,
|
|
124
127
|
f as getInitialsFontSize,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
128
|
+
vr as isDayMinMaxRestricted,
|
|
129
|
+
wr as isSameDate,
|
|
130
|
+
Ar as setMonth,
|
|
131
|
+
Mr as setYear,
|
|
132
|
+
Or as startOfDay,
|
|
133
|
+
Rr as startOfWeek,
|
|
134
|
+
zr as subMonths,
|
|
135
|
+
Ue as useBooleanState,
|
|
136
|
+
Lr as useDayDisableCheker,
|
|
137
|
+
Ce as useDragEnter,
|
|
138
|
+
_e as useLoading,
|
|
139
|
+
Ke as useLocalStorage,
|
|
140
|
+
rr as useNow,
|
|
141
|
+
cr as usePopup,
|
|
142
|
+
Xe as useResizeTextarea,
|
|
143
|
+
Ee as useTheme
|
|
141
144
|
};
|
package/dist/bundle.es10.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { makeTabId as c, useTabSlider as i } from "./bundle.
|
|
2
|
+
import { makeTabId as c, useTabSlider as i } from "./bundle.es60.js";
|
|
3
3
|
import { attr as o } from "@companix/utils-browser";
|
|
4
4
|
import { useRef as u, useId as f } from "react";
|
|
5
5
|
const h = ({ value: s, onChange: t, options: a }) => {
|
package/dist/bundle.es13.js
CHANGED
|
@@ -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.es11.js";
|
|
4
|
-
import { useFroozeClosing as w } from "./bundle.
|
|
5
|
-
import { SelectInput as H } from "./bundle.
|
|
6
|
-
import { useScrollListController as M } from "./bundle.
|
|
7
|
-
import { OptionsPopover as N } from "./bundle.
|
|
4
|
+
import { useFroozeClosing as w } from "./bundle.es61.js";
|
|
5
|
+
import { SelectInput as H } from "./bundle.es62.js";
|
|
6
|
+
import { useScrollListController as M } from "./bundle.es63.js";
|
|
7
|
+
import { OptionsPopover as N } from "./bundle.es64.js";
|
|
8
8
|
import { mergeRefs as W } from "react-merge-refs";
|
|
9
9
|
const Z = (t) => {
|
|
10
10
|
const {
|
package/dist/bundle.es14.js
CHANGED
|
@@ -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.
|
|
6
|
+
import { useFroozeClosing as B } from "./bundle.es61.js";
|
|
7
7
|
import { Popover as L } from "./bundle.es11.js";
|
|
8
|
-
import { Icon as g } from "./bundle.
|
|
8
|
+
import { Icon as g } from "./bundle.es36.js";
|
|
9
9
|
import { attr as l, getActiveElementByAnotherElement as X, contains as G } from "@companix/utils-browser";
|
|
10
|
-
import { OptionsPopover as H } from "./bundle.
|
|
11
|
-
import { arrays as v } from "./bundle.
|
|
10
|
+
import { OptionsPopover as H } from "./bundle.es64.js";
|
|
11
|
+
import { arrays as v } from "./bundle.es65.js";
|
|
12
12
|
const ne = (r) => {
|
|
13
13
|
const {
|
|
14
14
|
closeAfterSelect: C,
|
package/dist/bundle.es15.js
CHANGED
|
@@ -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.
|
|
5
|
-
import { InputContainer as I } from "./bundle.
|
|
4
|
+
import { InputElement as x } from "./bundle.es66.js";
|
|
5
|
+
import { InputContainer as I } from "./bundle.es67.js";
|
|
6
6
|
import g from "classnames";
|
|
7
7
|
const N = b(
|
|
8
8
|
({
|
package/dist/bundle.es16.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import N from "classnames";
|
|
3
|
-
import { Icon as v } from "./bundle.
|
|
3
|
+
import { Icon as v } from "./bundle.es36.js";
|
|
4
4
|
import { attr as t } from "@companix/utils-browser";
|
|
5
5
|
import { forwardRef as k } from "react";
|
|
6
6
|
import { faCheck as x } from "@companix/icons-solid";
|
package/dist/bundle.es17.js
CHANGED
|
@@ -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.
|
|
5
|
+
import { InputContainer as F } from "./bundle.es67.js";
|
|
6
6
|
import { NumericFormat as V } from "react-number-format";
|
|
7
7
|
const D = j(
|
|
8
8
|
({
|
package/dist/bundle.es19.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import b from "classnames";
|
|
3
3
|
import * as s from "@radix-ui/react-checkbox";
|
|
4
|
-
import { Icon as x } from "./bundle.
|
|
4
|
+
import { Icon as x } from "./bundle.es36.js";
|
|
5
5
|
import { faCheck as k } from "@companix/icons-solid";
|
|
6
6
|
import { useId as f } from "react";
|
|
7
7
|
import { attr as c } from "@companix/utils-browser";
|
package/dist/bundle.es22.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import p from "classnames";
|
|
3
3
|
import { customCSS as c } from "@companix/utils-browser";
|
|
4
|
-
import { PopupLayout as r } from "./bundle.
|
|
4
|
+
import { PopupLayout as r } from "./bundle.es25.js";
|
|
5
5
|
const i = ({ direction: o, children: e, size: t, className: a, ...m }) => /* @__PURE__ */ s(
|
|
6
6
|
r,
|
|
7
7
|
{
|