softable-pixels-web 1.1.32 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BasePopover-BYa7SBXE.js → BasePopover-m1OfX3fO.js} +3 -3
- package/dist/{BasePopover-BYa7SBXE.js.map → BasePopover-m1OfX3fO.js.map} +1 -1
- package/dist/{Breadcrumb-BLu27RXT.js → Breadcrumb-Bm9YuwCq.js} +4 -4
- package/dist/{Breadcrumb-BLu27RXT.js.map → Breadcrumb-Bm9YuwCq.js.map} +1 -1
- package/dist/{Button-BVxsixz_.js → Button-Vm1Odbi_.js} +4 -4
- package/dist/{Button-BVxsixz_.js.map → Button-Vm1Odbi_.js.map} +1 -1
- package/dist/{CheckItem-B5O_5_Qd.js → CheckItem-3d-2-qZe.js} +4 -4
- package/dist/{CheckItem-B5O_5_Qd.js.map → CheckItem-3d-2-qZe.js.map} +1 -1
- package/dist/{Checkbox-CsSo3vk0.js → Checkbox-aFsrig0i.js} +4 -4
- package/dist/{Checkbox-CsSo3vk0.js.map → Checkbox-aFsrig0i.js.map} +1 -1
- package/dist/{Chip-CxSFYy0c.js → Chip-DWoGbX_A.js} +3 -3
- package/dist/{Chip-CxSFYy0c.js.map → Chip-DWoGbX_A.js.map} +1 -1
- package/dist/{ChipList-oMddO6fO.js → ChipList-ClC-BPyL.js} +4 -4
- package/dist/{ChipList-oMddO6fO.js.map → ChipList-ClC-BPyL.js.map} +1 -1
- package/dist/ColorPicker-x9fu3N4Y.js +183 -0
- package/dist/ColorPicker-x9fu3N4Y.js.map +1 -0
- package/dist/{ContextMenu-DUHmXf8f.js → ContextMenu-B8mGn0Fq.js} +5 -5
- package/dist/{ContextMenu-DUHmXf8f.js.map → ContextMenu-B8mGn0Fq.js.map} +1 -1
- package/dist/{ErrorMessage-C2FJLFsj.js → ErrorMessage-BRnYfudz.js} +3 -3
- package/dist/{ErrorMessage-C2FJLFsj.js.map → ErrorMessage-BRnYfudz.js.map} +1 -1
- package/dist/{Icon-RM-EqP7I.js → Icon-CV5fAqK7.js} +2 -2
- package/dist/{Icon-RM-EqP7I.js.map → Icon-CV5fAqK7.js.map} +1 -1
- package/dist/{IconButton-BUBVowPJ.js → IconButton-BkwXYUL1.js} +2 -2
- package/dist/{IconButton-BUBVowPJ.js.map → IconButton-BkwXYUL1.js.map} +1 -1
- package/dist/{InfoSummary-m9_WXlqI.js → InfoSummary-p7hgSIZn.js} +3 -3
- package/dist/{InfoSummary-m9_WXlqI.js.map → InfoSummary-p7hgSIZn.js.map} +1 -1
- package/dist/{Input-Cxr_P2wz.js → Input-Dam9Lbxf.js} +5 -5
- package/dist/{Input-Cxr_P2wz.js.map → Input-Dam9Lbxf.js.map} +1 -1
- package/dist/{Loader-CmESHuyP.js → Loader-DUqRFMzl.js} +2 -2
- package/dist/{Loader-CmESHuyP.js.map → Loader-DUqRFMzl.js.map} +1 -1
- package/dist/{MaskModule-eB4lPBKt.js → MaskModule-ChyYaHh2.js} +1 -1
- package/dist/{MaskModule-eB4lPBKt.js.map → MaskModule-ChyYaHh2.js.map} +1 -1
- package/dist/{Popover-zLDtSQAp.js → Popover-tzAZp6V7.js} +4 -4
- package/dist/{Popover-zLDtSQAp.js.map → Popover-tzAZp6V7.js.map} +1 -1
- package/dist/{Select-Dx1nMByo.js → Select-BR9OSXHF.js} +9 -8
- package/dist/{Select-Dx1nMByo.js.map → Select-BR9OSXHF.js.map} +1 -1
- package/dist/{Skeleton-BPFVMk3-.js → Skeleton-iCdZ2Gai.js} +2 -2
- package/dist/{Skeleton-BPFVMk3-.js.map → Skeleton-iCdZ2Gai.js.map} +1 -1
- package/dist/{Switch-DFIDbtUk.js → Switch-CiKBZRST.js} +2 -2
- package/dist/{Switch-DFIDbtUk.js.map → Switch-CiKBZRST.js.map} +1 -1
- package/dist/{TabSwitch-D0Y22fSa.js → TabSwitch-D6KaP0z5.js} +3 -3
- package/dist/{TabSwitch-D0Y22fSa.js.map → TabSwitch-D6KaP0z5.js.map} +1 -1
- package/dist/{TextArea-B0QQy0U5.js → TextArea-D9kGofdD.js} +4 -4
- package/dist/{TextArea-B0QQy0U5.js.map → TextArea-D9kGofdD.js.map} +1 -1
- package/dist/{ThemeContext-MrH1mMsc.js → ThemeContext-C9llUBqb.js} +1 -1
- package/dist/{ThemeContext-MrH1mMsc.js.map → ThemeContext-C9llUBqb.js.map} +1 -1
- package/dist/{Typography-3tAIdGuj.js → Typography-BTJk47bm.js} +2 -2
- package/dist/{Typography-3tAIdGuj.js.map → Typography-BTJk47bm.js.map} +1 -1
- package/dist/base-popover.d.ts +3 -3
- package/dist/base-popover.js +5 -5
- package/dist/breadcrumb.d.ts +1 -1
- package/dist/breadcrumb.js +4 -4
- package/dist/button.d.ts +2 -2
- package/dist/button.js +4 -4
- package/dist/check-item.d.ts +1 -1
- package/dist/check-item.js +4 -4
- package/dist/checkbox.d.ts +2 -2
- package/dist/checkbox.js +4 -4
- package/dist/chip-list.d.ts +1 -1
- package/dist/chip-list.js +5 -5
- package/dist/chip.d.ts +1 -1
- package/dist/chip.js +3 -3
- package/dist/color-picker.d.ts +2 -0
- package/dist/color-picker.js +7 -0
- package/dist/context-menu.d.ts +1 -1
- package/dist/context-menu.js +8 -8
- package/dist/icon-button.d.ts +1 -1
- package/dist/icon-button.js +2 -2
- package/dist/{index-DTWpYpA9.d.ts → index-B9Ooz6lk.d.ts} +4 -4
- package/dist/{index-DaxLlCt_.d.ts → index-B9PAov_V.d.ts} +2 -2
- package/dist/{index-Cb_tkhK8.d.ts → index-BEd1qAu7.d.ts} +1 -1
- package/dist/{index-CdTCwpWl.d.ts → index-BZ2ZYR1Y.d.ts} +2 -2
- package/dist/{index-C4wl7LMU.d.ts → index-B_xvhcYY.d.ts} +2 -2
- package/dist/{index-DR6lOsN7.d.ts → index-BbvC10jX.d.ts} +2 -2
- package/dist/{index-B97qvv5d.d.ts → index-BdXsHz33.d.ts} +4 -4
- package/dist/{index-C86jTuzO.d.ts → index-By2y-Zjz.d.ts} +2 -2
- package/dist/{index-CBppDr5R.d.ts → index-C2rKLkDO.d.ts} +1 -1
- package/dist/{index-DuwmDJgm.d.ts → index-CI9oUkku.d.ts} +4 -4
- package/dist/{index-pb46GNxT.d.ts → index-CJDqp_om.d.ts} +1 -1
- package/dist/{index-BS68Mp68.d.ts → index-CNPbAm9i.d.ts} +5 -5
- package/dist/index-DOnH4ePY.d.ts +75 -0
- package/dist/{index-DsuLq-mw.d.ts → index-DsQyEI6l.d.ts} +1 -1
- package/dist/{index-BQpj6_SN.d.ts → index-Du2b4ABa.d.ts} +3 -3
- package/dist/{index-B2PIaNMu.d.ts → index-DvbYyCcE.d.ts} +2 -2
- package/dist/{index-BsTs8mui.d.ts → index-IIjo6avX.d.ts} +1 -1
- package/dist/{index-BfVdqarn.d.ts → index-XBmzyFW4.d.ts} +2 -2
- package/dist/index.d.ts +22 -21
- package/dist/index.js +28 -27
- package/dist/info-summary.js +3 -3
- package/dist/input.d.ts +1 -1
- package/dist/input.js +6 -6
- package/dist/mask-modules.d.ts +1 -1
- package/dist/mask-modules.js +1 -1
- package/dist/popover.d.ts +2 -2
- package/dist/popover.js +4 -4
- package/dist/select.d.ts +2 -2
- package/dist/select.js +10 -10
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.js +2 -2
- package/dist/{styleProps-CntgA2bz.d.ts → styleProps-CrD6h1FM.d.ts} +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +2 -2
- package/dist/tab-switch.d.ts +1 -1
- package/dist/tab-switch.js +3 -3
- package/dist/text-area.d.ts +1 -1
- package/dist/text-area.js +4 -4
- package/dist/theme-context.d.ts +1 -1
- package/dist/theme-context.js +1 -1
- package/dist/{types-DZ6gPTYT.d.ts → types-B-zFTnqe.d.ts} +3 -3
- package/dist/{types-DxP32BlE.d.ts → types-B4Yk1AUa.d.ts} +1 -1
- package/dist/{types-FwxL7aW5.d.ts → types-Cr3L1i9Q.d.ts} +1 -1
- package/dist/{types-NSbCuvRr.d.ts → types-n-gj1UXJ.d.ts} +3 -3
- package/dist/typography.d.ts +3 -3
- package/dist/typography.js +2 -2
- package/dist/use-dismiss.js +1 -1
- package/dist/use-floating.d.ts +1 -1
- package/dist/use-floating.js +1 -1
- package/dist/{useDismiss-b7_pOsxk.js → useDismiss-w2spkFNN.js} +1 -1
- package/dist/{useDismiss-b7_pOsxk.js.map → useDismiss-w2spkFNN.js.map} +1 -1
- package/dist/{useFloating-CS0qswZj.js → useFloating-BkMrolmn.js} +1 -1
- package/dist/{useFloating-CS0qswZj.js.map → useFloating-BkMrolmn.js.map} +1 -1
- package/dist/{useThemedStyles-ClPrd4wW.d.ts → useThemedStyles-0XwrILh9.d.ts} +1 -1
- package/dist/{useThemedStyles-BBJ_TF_l.js → useThemedStyles-CV4ryZLN.js} +1 -1
- package/dist/{useThemedStyles-BBJ_TF_l.js.map → useThemedStyles-CV4ryZLN.js.map} +1 -1
- package/package.json +5 -1
- /package/dist/{chunk-B5kfNaIQ.js → chunk-DBn-LkE6.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as PaddingProps, n as LayoutProps } from "./styleProps-
|
|
2
|
-
import { i as TypeStyles } from "./useThemedStyles-
|
|
3
|
-
import { n as TypographyVariant } from "./types-
|
|
1
|
+
import { i as PaddingProps, n as LayoutProps } from "./styleProps-CrD6h1FM.js";
|
|
2
|
+
import { i as TypeStyles } from "./useThemedStyles-0XwrILh9.js";
|
|
3
|
+
import { n as TypographyVariant } from "./types-n-gj1UXJ.js";
|
|
4
4
|
import React, { MouseEvent, ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/commons/buttons/Button/styles.d.ts
|
|
@@ -121,4 +121,4 @@ interface ButtonProps extends PaddingProps, LayoutProps {
|
|
|
121
121
|
declare const Button: React.FC<ButtonProps>;
|
|
122
122
|
//#endregion
|
|
123
123
|
export { Button as t };
|
|
124
|
-
//# sourceMappingURL=index-
|
|
124
|
+
//# sourceMappingURL=index-CI9oUkku.d.ts.map
|
|
@@ -294,4 +294,4 @@ declare const ThemeProvider: React.FC<ThemeProviderProps>;
|
|
|
294
294
|
declare function useTheme(): ThemeContextData;
|
|
295
295
|
//#endregion
|
|
296
296
|
export { ThemeName as a, ThemeRegistry as c, ThemeMode as i, ThemeTokens as l, useTheme as n, ThemePersistence as o, ThemeContextData as r, ThemeProviderProps as s, ThemeProvider as t };
|
|
297
|
-
//# sourceMappingURL=index-
|
|
297
|
+
//# sourceMappingURL=index-CJDqp_om.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-
|
|
2
|
-
import { r as StylesOf } from "./useThemedStyles-
|
|
3
|
-
import { t as FloatingOptions } from "./types-
|
|
4
|
-
import { t as PopoverProps } from "./types-
|
|
1
|
+
import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-CrD6h1FM.js";
|
|
2
|
+
import { r as StylesOf } from "./useThemedStyles-0XwrILh9.js";
|
|
3
|
+
import { t as FloatingOptions } from "./types-Cr3L1i9Q.js";
|
|
4
|
+
import { t as PopoverProps } from "./types-B-zFTnqe.js";
|
|
5
5
|
import React$1 from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/commons/inputs/Select/styles.d.ts
|
|
@@ -84,4 +84,4 @@ interface SelectOption {
|
|
|
84
84
|
declare const Select: React$1.FC<SelectProps>;
|
|
85
85
|
//#endregion
|
|
86
86
|
export { types_d_exports as n, Select as t };
|
|
87
|
-
//# sourceMappingURL=index-
|
|
87
|
+
//# sourceMappingURL=index-CNPbAm9i.d.ts.map
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { a as TextProps, n as LayoutProps, r as MarginProps } from "./styleProps-CrD6h1FM.js";
|
|
2
|
+
import { r as StylesOf } from "./useThemedStyles-0XwrILh9.js";
|
|
3
|
+
|
|
4
|
+
//#region src/components/commons/inputs/ColorPicker/styles.d.ts
|
|
5
|
+
declare function createColorPickerStyles(props: ColorPickerProps): {
|
|
6
|
+
container: {
|
|
7
|
+
width: string;
|
|
8
|
+
display: "flex";
|
|
9
|
+
flexDirection: "column";
|
|
10
|
+
rowGap: string;
|
|
11
|
+
};
|
|
12
|
+
content: {
|
|
13
|
+
width: string;
|
|
14
|
+
display: "flex";
|
|
15
|
+
alignItems: "center";
|
|
16
|
+
flexWrap: "wrap";
|
|
17
|
+
gap: string;
|
|
18
|
+
};
|
|
19
|
+
inputWrapper: {
|
|
20
|
+
width: string;
|
|
21
|
+
height: string;
|
|
22
|
+
cursor: "pointer";
|
|
23
|
+
overflow: "hidden";
|
|
24
|
+
position: "relative";
|
|
25
|
+
borderWidth: number;
|
|
26
|
+
borderColor: "var(--px-border-primary)";
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
outlineOffset: string;
|
|
29
|
+
outline: string;
|
|
30
|
+
background: string;
|
|
31
|
+
__rules: {
|
|
32
|
+
'&:focus-within': {
|
|
33
|
+
outlineOffset: string;
|
|
34
|
+
outline: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
nativeInput: {
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
position: "absolute";
|
|
42
|
+
inset: number;
|
|
43
|
+
opacity: number;
|
|
44
|
+
border: string;
|
|
45
|
+
cursor: "pointer";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
declare namespace types_d_exports {
|
|
49
|
+
export { ColorOption, ColorPickerProps };
|
|
50
|
+
}
|
|
51
|
+
interface ColorPickerProps extends LayoutProps, MarginProps {
|
|
52
|
+
id?: string;
|
|
53
|
+
label: string;
|
|
54
|
+
value: ColorOption;
|
|
55
|
+
options: ColorOption[];
|
|
56
|
+
size?: string;
|
|
57
|
+
required?: boolean;
|
|
58
|
+
disabled?: boolean;
|
|
59
|
+
hideLabel?: boolean;
|
|
60
|
+
errorMessage?: string;
|
|
61
|
+
canPickCustom?: boolean;
|
|
62
|
+
isLoading?: boolean;
|
|
63
|
+
borderRadius?: string;
|
|
64
|
+
requiredColor?: string;
|
|
65
|
+
labelConfig?: TextProps;
|
|
66
|
+
styles?: StylesOf<typeof createColorPickerStyles>;
|
|
67
|
+
onChange: (value: string) => void;
|
|
68
|
+
}
|
|
69
|
+
type ColorOption = `#${string}`;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/commons/inputs/ColorPicker/index.d.ts
|
|
72
|
+
declare const ColorPicker: React.FC<ColorPickerProps>;
|
|
73
|
+
//#endregion
|
|
74
|
+
export { types_d_exports as n, ColorPicker as t };
|
|
75
|
+
//# sourceMappingURL=index-DOnH4ePY.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as TextProps } from "./styleProps-
|
|
2
|
-
import { t as ChipOption } from "./types-
|
|
1
|
+
import { a as TextProps } from "./styleProps-CrD6h1FM.js";
|
|
2
|
+
import { t as ChipOption } from "./types-B4Yk1AUa.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/commons/toolkit/ChipList/types.d.ts
|
|
@@ -24,4 +24,4 @@ interface ChipListProps {
|
|
|
24
24
|
declare const ChipList: React.FC<ChipListProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ChipList as t };
|
|
27
|
-
//# sourceMappingURL=index-
|
|
27
|
+
//# sourceMappingURL=index-Du2b4ABa.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PopoverProps } from "./types-
|
|
1
|
+
import { t as PopoverProps } from "./types-B-zFTnqe.js";
|
|
2
2
|
import React, { PropsWithChildren } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/commons/structure/BasePopover/types.d.ts
|
|
@@ -19,4 +19,4 @@ interface BasePopoverProps extends Omit<PopoverProps, 'content' | 'hideShadow'>,
|
|
|
19
19
|
declare const BasePopover: React.FC<BasePopoverProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { BasePopover as t };
|
|
22
|
-
//# sourceMappingURL=index-
|
|
22
|
+
//# sourceMappingURL=index-DvbYyCcE.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as StyleMap } from "./useThemedStyles-
|
|
1
|
+
import { n as StyleMap } from "./useThemedStyles-0XwrILh9.js";
|
|
2
2
|
import React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/commons/structure/Breadcrumb/styles.d.ts
|
|
@@ -26,4 +26,4 @@ interface PageOption {
|
|
|
26
26
|
declare const Breadcrumb: React$1.FC<BreadcrumbProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Breadcrumb as t };
|
|
29
|
-
//# sourceMappingURL=index-
|
|
29
|
+
//# sourceMappingURL=index-XBmzyFW4.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import "./types-
|
|
2
|
-
import { t as Button } from "./index-
|
|
3
|
-
import { t as IconButton } from "./index-
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { n as types_d_exports$
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
1
|
+
import "./types-n-gj1UXJ.js";
|
|
2
|
+
import { t as Button } from "./index-CI9oUkku.js";
|
|
3
|
+
import { t as IconButton } from "./index-DsQyEI6l.js";
|
|
4
|
+
import { n as types_d_exports$1, t as ColorPicker } from "./index-DOnH4ePY.js";
|
|
5
|
+
import { n as Locale, r as MaskType, t as MaskModule } from "./index-C2rKLkDO.js";
|
|
6
|
+
import { t as Input } from "./index-B9Ooz6lk.js";
|
|
7
|
+
import { n as types_d_exports$4, t as Select } from "./index-CNPbAm9i.js";
|
|
8
|
+
import { n as types_d_exports$3 } from "./types-B-zFTnqe.js";
|
|
9
|
+
import { t as TextArea } from "./index-BdXsHz33.js";
|
|
10
|
+
import { t as Popover } from "./index-BbvC10jX.js";
|
|
11
|
+
import { t as BasePopover } from "./index-DvbYyCcE.js";
|
|
12
|
+
import { t as Breadcrumb } from "./index-XBmzyFW4.js";
|
|
13
|
+
import { t as Skeleton } from "./index-B9PAov_V.js";
|
|
14
|
+
import { t as CheckItem } from "./index-IIjo6avX.js";
|
|
15
|
+
import { t as Checkbox } from "./index-By2y-Zjz.js";
|
|
16
|
+
import { r as types_d_exports } from "./types-B4Yk1AUa.js";
|
|
16
17
|
import { Chip } from "./chip.js";
|
|
17
|
-
import { t as ChipList } from "./index-
|
|
18
|
-
import { n as types_d_exports$
|
|
18
|
+
import { t as ChipList } from "./index-Du2b4ABa.js";
|
|
19
|
+
import { n as types_d_exports$2, t as ContextMenu } from "./index-B_xvhcYY.js";
|
|
19
20
|
import { InfoSummary, InfoSummaryItem, InfoSummaryProps } from "./info-summary.js";
|
|
20
|
-
import { t as Switch } from "./index-
|
|
21
|
-
import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-
|
|
21
|
+
import { t as Switch } from "./index-BEd1qAu7.js";
|
|
22
|
+
import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-BZ2ZYR1Y.js";
|
|
22
23
|
import { Typography } from "./typography.js";
|
|
23
|
-
import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-
|
|
24
|
+
import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-CJDqp_om.js";
|
|
24
25
|
import { useDismiss } from "./use-dismiss.js";
|
|
25
26
|
import { AnchorLike, useFloating } from "./use-floating.js";
|
|
26
27
|
import { useVirtualAnchor } from "./use-virtual-anchor.js";
|
|
27
|
-
export { AnchorLike, BasePopover, Breadcrumb, Button, CheckItem, Checkbox, Chip, ChipList, types_d_exports as ChipTypes,
|
|
28
|
+
export { AnchorLike, BasePopover, Breadcrumb, Button, CheckItem, Checkbox, Chip, ChipList, types_d_exports as ChipTypes, ColorPicker, types_d_exports$1 as ColorPickerTypes, ContextMenu, types_d_exports$2 as ContextMenuTypes, IconButton, InfoSummary, InfoSummaryItem, InfoSummaryProps, Input, Locale, MaskModule, MaskType, Popover, types_d_exports$3 as PopoverTypes, Select, types_d_exports$4 as SelectTypes, Skeleton, Switch, SwitchOption, TabSwitch, TabSwitchProps, TextArea, ThemeContextData, ThemeMode, ThemeName, ThemePersistence, ThemeProvider, ThemeProviderProps, ThemeRegistry, ThemeTokens, Typography, useDismiss, useFloating, useTheme, useVirtualAnchor };
|
package/dist/index.js
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import { t as Switch } from "./Switch-
|
|
3
|
-
import { t as useDismiss } from "./useDismiss-
|
|
4
|
-
import { t as useFloating } from "./useFloating-
|
|
5
|
-
import { n as types_exports$
|
|
6
|
-
import "./Icon-
|
|
7
|
-
import { t as Typography } from "./Typography-
|
|
8
|
-
import { t as Checkbox } from "./Checkbox-
|
|
9
|
-
import { n as useTheme, t as ThemeProvider } from "./ThemeContext-
|
|
10
|
-
import { t as TabSwitch } from "./TabSwitch-
|
|
11
|
-
import { t as CheckItem } from "./CheckItem-
|
|
12
|
-
import { t as InfoSummary } from "./InfoSummary-
|
|
13
|
-
import { t as BasePopover } from "./BasePopover-
|
|
14
|
-
import { n as types_exports$
|
|
15
|
-
import { n as types_exports, t as Chip } from "./Chip-
|
|
16
|
-
import "./ErrorMessage-
|
|
17
|
-
import { t as ChipList } from "./ChipList-
|
|
18
|
-
import "./Loader-
|
|
19
|
-
import { t as Button } from "./Button-
|
|
20
|
-
import { t as IconButton } from "./IconButton-
|
|
21
|
-
import { n as MaskType, r as MaskModule, t as Locale } from "./MaskModule-
|
|
22
|
-
import { t as Input } from "./Input-
|
|
23
|
-
import { n as types_exports$
|
|
24
|
-
import { t as TextArea } from "./TextArea-
|
|
25
|
-
import { t as
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import { t as Switch } from "./Switch-CiKBZRST.js";
|
|
3
|
+
import { t as useDismiss } from "./useDismiss-w2spkFNN.js";
|
|
4
|
+
import { t as useFloating } from "./useFloating-BkMrolmn.js";
|
|
5
|
+
import { n as types_exports$3, t as Popover } from "./Popover-tzAZp6V7.js";
|
|
6
|
+
import "./Icon-CV5fAqK7.js";
|
|
7
|
+
import { t as Typography } from "./Typography-BTJk47bm.js";
|
|
8
|
+
import { t as Checkbox } from "./Checkbox-aFsrig0i.js";
|
|
9
|
+
import { n as useTheme, t as ThemeProvider } from "./ThemeContext-C9llUBqb.js";
|
|
10
|
+
import { t as TabSwitch } from "./TabSwitch-D6KaP0z5.js";
|
|
11
|
+
import { t as CheckItem } from "./CheckItem-3d-2-qZe.js";
|
|
12
|
+
import { t as InfoSummary } from "./InfoSummary-p7hgSIZn.js";
|
|
13
|
+
import { t as BasePopover } from "./BasePopover-m1OfX3fO.js";
|
|
14
|
+
import { n as types_exports$2, t as ContextMenu } from "./ContextMenu-B8mGn0Fq.js";
|
|
15
|
+
import { n as types_exports, t as Chip } from "./Chip-DWoGbX_A.js";
|
|
16
|
+
import "./ErrorMessage-BRnYfudz.js";
|
|
17
|
+
import { t as ChipList } from "./ChipList-ClC-BPyL.js";
|
|
18
|
+
import "./Loader-DUqRFMzl.js";
|
|
19
|
+
import { t as Button } from "./Button-Vm1Odbi_.js";
|
|
20
|
+
import { t as IconButton } from "./IconButton-BkwXYUL1.js";
|
|
21
|
+
import { n as MaskType, r as MaskModule, t as Locale } from "./MaskModule-ChyYaHh2.js";
|
|
22
|
+
import { t as Input } from "./Input-Dam9Lbxf.js";
|
|
23
|
+
import { n as types_exports$4, t as Select } from "./Select-BR9OSXHF.js";
|
|
24
|
+
import { t as TextArea } from "./TextArea-D9kGofdD.js";
|
|
25
|
+
import { n as types_exports$1, t as ColorPicker } from "./ColorPicker-x9fu3N4Y.js";
|
|
26
|
+
import { t as Skeleton } from "./Skeleton-iCdZ2Gai.js";
|
|
26
27
|
import { useVirtualAnchor } from "./use-virtual-anchor.js";
|
|
27
|
-
import { t as Breadcrumb } from "./Breadcrumb-
|
|
28
|
+
import { t as Breadcrumb } from "./Breadcrumb-Bm9YuwCq.js";
|
|
28
29
|
|
|
29
|
-
export { BasePopover, Breadcrumb, Button, CheckItem, Checkbox, Chip, ChipList, types_exports as ChipTypes,
|
|
30
|
+
export { BasePopover, Breadcrumb, Button, CheckItem, Checkbox, Chip, ChipList, types_exports as ChipTypes, ColorPicker, types_exports$1 as ColorPickerTypes, ContextMenu, types_exports$2 as ContextMenuTypes, IconButton, InfoSummary, Input, Locale, MaskModule, MaskType, Popover, types_exports$3 as PopoverTypes, Select, types_exports$4 as SelectTypes, Skeleton, Switch, TabSwitch, TextArea, ThemeProvider, Typography, useDismiss, useFloating, useTheme, useVirtualAnchor };
|
package/dist/info-summary.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import { t as InfoSummary } from "./InfoSummary-
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import "./Typography-BTJk47bm.js";
|
|
3
|
+
import { t as InfoSummary } from "./InfoSummary-p7hgSIZn.js";
|
|
4
4
|
|
|
5
5
|
export { InfoSummary };
|
package/dist/input.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Input } from "./index-
|
|
1
|
+
import { t as Input } from "./index-B9Ooz6lk.js";
|
|
2
2
|
export { Input };
|
package/dist/input.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import "./Icon-
|
|
3
|
-
import "./Typography-
|
|
4
|
-
import "./ErrorMessage-
|
|
5
|
-
import "./MaskModule-
|
|
6
|
-
import { t as Input } from "./Input-
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import "./Icon-CV5fAqK7.js";
|
|
3
|
+
import "./Typography-BTJk47bm.js";
|
|
4
|
+
import "./ErrorMessage-BRnYfudz.js";
|
|
5
|
+
import "./MaskModule-ChyYaHh2.js";
|
|
6
|
+
import { t as Input } from "./Input-Dam9Lbxf.js";
|
|
7
7
|
|
|
8
8
|
export { Input };
|
package/dist/mask-modules.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Locale, r as MaskType, t as MaskModule } from "./index-
|
|
1
|
+
import { n as Locale, r as MaskType, t as MaskModule } from "./index-C2rKLkDO.js";
|
|
2
2
|
export { Locale, MaskModule, MaskType };
|
package/dist/mask-modules.js
CHANGED
package/dist/popover.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as types_d_exports } from "./types-
|
|
2
|
-
import { t as Popover } from "./index-
|
|
1
|
+
import { n as types_d_exports } from "./types-B-zFTnqe.js";
|
|
2
|
+
import { t as Popover } from "./index-BbvC10jX.js";
|
|
3
3
|
export { Popover, types_d_exports as PopoverTypes };
|
package/dist/popover.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import "./useDismiss-
|
|
3
|
-
import "./useFloating-
|
|
4
|
-
import { n as types_exports, t as Popover } from "./Popover-
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import "./useDismiss-w2spkFNN.js";
|
|
3
|
+
import "./useFloating-BkMrolmn.js";
|
|
4
|
+
import { n as types_exports, t as Popover } from "./Popover-tzAZp6V7.js";
|
|
5
5
|
|
|
6
6
|
export { Popover, types_exports as PopoverTypes };
|
package/dist/select.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as types_d_exports, t as Select } from "./index-
|
|
2
|
-
import "./types-
|
|
1
|
+
import { n as types_d_exports, t as Select } from "./index-CNPbAm9i.js";
|
|
2
|
+
import "./types-B-zFTnqe.js";
|
|
3
3
|
export { Select, types_d_exports as SelectTypes };
|
package/dist/select.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import "./useDismiss-
|
|
3
|
-
import "./useFloating-
|
|
4
|
-
import "./Popover-
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import "./Typography-
|
|
7
|
-
import "./BasePopover-
|
|
8
|
-
import "./ErrorMessage-
|
|
9
|
-
import "./Loader-
|
|
10
|
-
import { n as types_exports, t as Select } from "./Select-
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import "./useDismiss-w2spkFNN.js";
|
|
3
|
+
import "./useFloating-BkMrolmn.js";
|
|
4
|
+
import "./Popover-tzAZp6V7.js";
|
|
5
|
+
import "./Icon-CV5fAqK7.js";
|
|
6
|
+
import "./Typography-BTJk47bm.js";
|
|
7
|
+
import "./BasePopover-m1OfX3fO.js";
|
|
8
|
+
import "./ErrorMessage-BRnYfudz.js";
|
|
9
|
+
import "./Loader-DUqRFMzl.js";
|
|
10
|
+
import { n as types_exports, t as Select } from "./Select-BR9OSXHF.js";
|
|
11
11
|
|
|
12
12
|
export { Select, types_exports as SelectTypes };
|
package/dist/skeleton.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Skeleton } from "./index-
|
|
1
|
+
import { t as Skeleton } from "./index-B9PAov_V.js";
|
|
2
2
|
export { Skeleton };
|
package/dist/skeleton.js
CHANGED
|
@@ -44,4 +44,4 @@ interface LayoutProps {
|
|
|
44
44
|
type CommonStyleProps = MarginProps & PaddingProps & TextProps & LayoutProps;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { TextProps as a, PaddingProps as i, LayoutProps as n, MarginProps as r, CommonStyleProps as t };
|
|
47
|
-
//# sourceMappingURL=styleProps-
|
|
47
|
+
//# sourceMappingURL=styleProps-CrD6h1FM.d.ts.map
|
package/dist/switch.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Switch } from "./index-
|
|
1
|
+
import { t as Switch } from "./index-BEd1qAu7.js";
|
|
2
2
|
export { Switch };
|
package/dist/switch.js
CHANGED
package/dist/tab-switch.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-
|
|
1
|
+
import { n as SwitchOption, r as TabSwitchProps, t as TabSwitch } from "./index-BZ2ZYR1Y.js";
|
|
2
2
|
export { SwitchOption, TabSwitch, TabSwitchProps };
|
package/dist/tab-switch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import { t as TabSwitch } from "./TabSwitch-
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import "./Typography-BTJk47bm.js";
|
|
3
|
+
import { t as TabSwitch } from "./TabSwitch-D6KaP0z5.js";
|
|
4
4
|
|
|
5
5
|
export { TabSwitch };
|
package/dist/text-area.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "./index-
|
|
1
|
+
import { t as TextArea } from "./index-BdXsHz33.js";
|
|
2
2
|
export { TextArea };
|
package/dist/text-area.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./useThemedStyles-
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import "./ErrorMessage-
|
|
4
|
-
import { t as TextArea } from "./TextArea-
|
|
1
|
+
import "./useThemedStyles-CV4ryZLN.js";
|
|
2
|
+
import "./Typography-BTJk47bm.js";
|
|
3
|
+
import "./ErrorMessage-BRnYfudz.js";
|
|
4
|
+
import { t as TextArea } from "./TextArea-D9kGofdD.js";
|
|
5
5
|
|
|
6
6
|
export { TextArea };
|
package/dist/theme-context.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-
|
|
1
|
+
import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-CJDqp_om.js";
|
|
2
2
|
export { ThemeContextData, ThemeMode, ThemeName, ThemePersistence, ThemeProvider, ThemeProviderProps, ThemeRegistry, ThemeTokens, useTheme };
|
package/dist/theme-context.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as PaddingProps } from "./styleProps-
|
|
2
|
-
import { t as FloatingOptions } from "./types-
|
|
1
|
+
import { i as PaddingProps } from "./styleProps-CrD6h1FM.js";
|
|
2
|
+
import { t as FloatingOptions } from "./types-Cr3L1i9Q.js";
|
|
3
3
|
import { MouseEvent, MouseEventHandler, ReactNode, RefObject } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/commons/toolkit/Popover/styles.d.ts
|
|
@@ -54,4 +54,4 @@ interface PopoverProps extends PaddingProps {
|
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
56
|
export { types_d_exports as n, PopoverProps as t };
|
|
57
|
-
//# sourceMappingURL=types-
|
|
57
|
+
//# sourceMappingURL=types-B-zFTnqe.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as TextProps, r as MarginProps } from "./styleProps-
|
|
2
|
-
import { i as TypeStyles, t as SlotStyle } from "./useThemedStyles-
|
|
1
|
+
import { a as TextProps, r as MarginProps } from "./styleProps-CrD6h1FM.js";
|
|
2
|
+
import { i as TypeStyles, t as SlotStyle } from "./useThemedStyles-0XwrILh9.js";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/commons/toolkit/Typography/style.d.ts
|
|
@@ -40,4 +40,4 @@ type TextAlign = 'left' | 'center' | 'right' | 'justify';
|
|
|
40
40
|
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'b1' | 'b2' | 'b3' | 'caption' | 'legal';
|
|
41
41
|
//#endregion
|
|
42
42
|
export { TypographyVariant as n, TypographyProps as t };
|
|
43
|
-
//# sourceMappingURL=types-
|
|
43
|
+
//# sourceMappingURL=types-n-gj1UXJ.d.ts.map
|
package/dist/typography.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as TypographyProps } from "./types-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as TypographyProps } from "./types-n-gj1UXJ.js";
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/commons/toolkit/Typography/index.d.ts
|
|
5
|
-
declare function Typography(props: TypographyProps):
|
|
5
|
+
declare function Typography(props: TypographyProps): react_jsx_runtime1.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Typography };
|
|
8
8
|
//# sourceMappingURL=typography.d.ts.map
|
package/dist/typography.js
CHANGED
package/dist/use-dismiss.js
CHANGED
package/dist/use-floating.d.ts
CHANGED
package/dist/use-floating.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDismiss-
|
|
1
|
+
{"version":3,"file":"useDismiss-w2spkFNN.js","names":[],"sources":["../src/hooks/useDismiss/index.ts"],"sourcesContent":["import { type RefObject, useEffect } from 'react'\n\ntype UseDismissParams = {\n open: boolean\n dismissScope?: string\n closeOnEscape?: boolean\n closeOnOutsideClick?: boolean\n refs: Array<RefObject<HTMLElement | null>>\n onClose: () => void\n}\n\nexport function useDismiss({\n open,\n refs,\n dismissScope,\n closeOnEscape = true,\n closeOnOutsideClick = true,\n onClose\n}: UseDismissParams) {\n useEffect(() => {\n if (!open) return\n\n const isInsideSomeRef = (node: Node) =>\n refs.some(r => r.current?.contains(node))\n\n const isInsideScope = (target: EventTarget | null) => {\n if (!dismissScope) return false\n if (!(target instanceof Element)) return false\n return !!target.closest?.(`[data-dismiss-scope=\"${dismissScope}\"]`)\n }\n\n const onPointerDownCapture = (e: PointerEvent) => {\n if (!closeOnOutsideClick) return\n const t = e.target as Node\n\n if (isInsideScope(e.target)) return\n\n if (isInsideSomeRef(t)) return\n\n onClose()\n }\n\n const onKeyDown = (e: KeyboardEvent) => {\n if (!closeOnEscape) return\n if (e.key === 'Escape') onClose()\n }\n\n document.addEventListener('pointerdown', onPointerDownCapture, true)\n document.addEventListener('keydown', onKeyDown)\n\n return () => {\n document.removeEventListener('pointerdown', onPointerDownCapture, true)\n document.removeEventListener('keydown', onKeyDown)\n }\n }, [open, onClose, refs, closeOnOutsideClick, closeOnEscape, dismissScope])\n}\n"],"mappings":";;;AAWA,SAAgB,WAAW,EACzB,MACA,MACA,cACA,gBAAgB,MAChB,sBAAsB,MACtB,WACmB;AACnB,iBAAgB;AACd,MAAI,CAAC,KAAM;EAEX,MAAM,mBAAmB,SACvB,KAAK,MAAK,MAAK,EAAE,SAAS,SAAS,KAAK,CAAC;EAE3C,MAAM,iBAAiB,WAA+B;AACpD,OAAI,CAAC,aAAc,QAAO;AAC1B,OAAI,EAAE,kBAAkB,SAAU,QAAO;AACzC,UAAO,CAAC,CAAC,OAAO,UAAU,wBAAwB,aAAa,IAAI;;EAGrE,MAAM,wBAAwB,MAAoB;AAChD,OAAI,CAAC,oBAAqB;GAC1B,MAAM,IAAI,EAAE;AAEZ,OAAI,cAAc,EAAE,OAAO,CAAE;AAE7B,OAAI,gBAAgB,EAAE,CAAE;AAExB,YAAS;;EAGX,MAAM,aAAa,MAAqB;AACtC,OAAI,CAAC,cAAe;AACpB,OAAI,EAAE,QAAQ,SAAU,UAAS;;AAGnC,WAAS,iBAAiB,eAAe,sBAAsB,KAAK;AACpE,WAAS,iBAAiB,WAAW,UAAU;AAE/C,eAAa;AACX,YAAS,oBAAoB,eAAe,sBAAsB,KAAK;AACvE,YAAS,oBAAoB,WAAW,UAAU;;IAEnD;EAAC;EAAM;EAAS;EAAM;EAAqB;EAAe;EAAa,CAAC"}
|