@bolio-ui/core 3.0.0-alpha.0 → 3.0.0-alpha.1
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/BolioUIProvider/index.js +3 -3
- package/dist/Calendar/Calendar.d.ts +1 -0
- package/dist/Calendar/index.js +2 -2
- package/dist/Carousel/Carousel.d.ts +21 -0
- package/dist/Carousel/index.d.ts +3 -0
- package/dist/Carousel/index.js +14 -0
- package/dist/Collapse/Collapse.d.ts +3 -0
- package/dist/Collapse/index.js +3 -3
- package/dist/ColorInput/ColorInput.d.ts +24 -0
- package/dist/ColorInput/index.d.ts +3 -0
- package/dist/ColorInput/index.js +20 -0
- package/dist/ColorPicker/ColorPicker.d.ts +17 -0
- package/dist/ColorPicker/color-utils.d.ts +10 -0
- package/dist/ColorPicker/index.d.ts +3 -0
- package/dist/ColorPicker/index.js +14 -0
- package/dist/Command/index.js +4 -4
- package/dist/ContextMenu/ContextMenu.d.ts +13 -0
- package/dist/ContextMenu/index.d.ts +3 -0
- package/dist/ContextMenu/index.js +25 -0
- package/dist/CssBaseline/index.js +2 -2
- package/dist/DatePicker/index.js +3 -3
- package/dist/DateRangePicker/DateRangePicker.d.ts +29 -0
- package/dist/DateRangePicker/index.d.ts +3 -0
- package/dist/DateRangePicker/index.js +19 -0
- package/dist/Drawer/index.js +2 -2
- package/dist/Dropzone/Dropzone.d.ts +25 -0
- package/dist/Dropzone/DropzoneThumbnail.d.ts +9 -0
- package/dist/Dropzone/index.d.ts +3 -0
- package/dist/Dropzone/index.js +14 -0
- package/dist/Menu/index.js +3 -3
- package/dist/Modal/index.js +2 -2
- package/dist/PinInput/PinInput.d.ts +25 -0
- package/dist/PinInput/index.d.ts +3 -0
- package/dist/PinInput/index.js +16 -0
- package/dist/SegmentedControl/SegmentedControl.d.ts +16 -0
- package/dist/SegmentedControl/SegmentedControlContext.d.ts +10 -0
- package/dist/SegmentedControl/SegmentedControlItem.d.ts +13 -0
- package/dist/SegmentedControl/index.d.ts +10 -0
- package/dist/SegmentedControl/index.js +14 -0
- package/dist/Select/SelectDropdown.d.ts +2 -0
- package/dist/Select/index.js +6 -6
- package/dist/Slider/index.js +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/TagsInput/TagsInput.d.ts +26 -0
- package/dist/TagsInput/index.d.ts +3 -0
- package/dist/TagsInput/index.js +17 -0
- package/dist/Tree/Tree.d.ts +17 -0
- package/dist/Tree/TreeContext.d.ts +17 -0
- package/dist/Tree/TreeNode.d.ts +8 -0
- package/dist/Tree/index.d.ts +3 -0
- package/dist/Tree/index.js +14 -0
- package/dist/chunk-2A4BSQ66.js +130 -0
- package/dist/{chunk-HIFS4JIO.js → chunk-2EYJZXS4.js} +7 -7
- package/dist/chunk-4X4ELIMQ.js +231 -0
- package/dist/{chunk-UVVBMWR4.js → chunk-AG2NWQYL.js} +18 -4
- package/dist/chunk-AVO2SK2I.js +109 -0
- package/dist/{chunk-YHZFOVVI.js → chunk-DIMJQLWY.js} +27 -37
- package/dist/chunk-G4KB56RO.js +217 -0
- package/dist/chunk-GYFW5NLU.js +257 -0
- package/dist/chunk-IJGIEX5J.js +211 -0
- package/dist/chunk-K6UULETP.js +244 -0
- package/dist/chunk-MDSRXACM.js +212 -0
- package/dist/chunk-OKZRHSSG.js +271 -0
- package/dist/{chunk-IBC5BABS.js → chunk-P245HSVB.js} +190 -155
- package/dist/{chunk-6KMHJRCY.js → chunk-TDJGMSGT.js} +1 -0
- package/dist/{chunk-FQU5SKDF.js → chunk-WFGUAR7K.js} +58 -24
- package/dist/chunk-X4TPC7HS.js +160 -0
- package/dist/{chunk-6BCLZSSK.js → chunk-XLPOECCE.js} +2 -2
- package/dist/css/Button-ButtonIcon.css +3 -2
- package/dist/css/ButtonGroup.css +1 -0
- package/dist/css/Calendar.css +12 -1
- package/dist/css/Carousel.css +128 -0
- package/dist/css/Collapse.css +29 -9
- package/dist/css/ColorInput.css +97 -0
- package/dist/css/ColorPicker.css +186 -0
- package/dist/css/Combobox.css +2 -0
- package/dist/css/ContextMenu.css +17 -0
- package/dist/css/DatePicker.css +4 -1
- package/dist/css/DateRangePicker.css +110 -0
- package/dist/css/Dropzone.css +163 -0
- package/dist/css/Fieldset-FieldsetGroup.css +1 -0
- package/dist/css/Input.css +4 -3
- package/dist/css/Menu-MenuList.css +1 -0
- package/dist/css/NumberInput.css +5 -4
- package/dist/css/PinInput.css +41 -0
- package/dist/css/Radio.css +1 -0
- package/dist/css/SegmentedControl-SegmentedControlItem.css +65 -0
- package/dist/css/SegmentedControl.css +14 -0
- package/dist/css/Select-SelectDropdown.css +5 -2
- package/dist/css/Select-SelectMultipleValue.css +1 -0
- package/dist/css/Select-SelectOption.css +28 -7
- package/dist/css/Select.css +3 -1
- package/dist/css/TagsInput.css +101 -0
- package/dist/css/Textarea.css +1 -0
- package/dist/css/Toggle.css +1 -0
- package/dist/css/Tree.css +88 -0
- package/dist/css/use-toasts-toast-item.css +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +80 -40
- package/dist/styles.css +3494 -2400
- package/esm/BolioUIProvider/index.js +2 -2
- package/esm/Calendar/Calendar.d.ts +1 -0
- package/esm/Calendar/index.js +1 -1
- package/esm/Carousel/Carousel.d.ts +21 -0
- package/esm/Carousel/index.d.ts +3 -0
- package/esm/Carousel/index.js +14 -0
- package/esm/Collapse/Collapse.d.ts +3 -0
- package/esm/Collapse/index.js +2 -2
- package/esm/ColorInput/ColorInput.d.ts +24 -0
- package/esm/ColorInput/index.d.ts +3 -0
- package/esm/ColorInput/index.js +20 -0
- package/esm/ColorPicker/ColorPicker.d.ts +17 -0
- package/esm/ColorPicker/color-utils.d.ts +10 -0
- package/esm/ColorPicker/index.d.ts +3 -0
- package/esm/ColorPicker/index.js +14 -0
- package/esm/Command/index.js +4 -4
- package/esm/ContextMenu/ContextMenu.d.ts +13 -0
- package/esm/ContextMenu/index.d.ts +3 -0
- package/esm/ContextMenu/index.js +25 -0
- package/esm/CssBaseline/index.js +1 -1
- package/esm/DatePicker/index.js +2 -2
- package/esm/DateRangePicker/DateRangePicker.d.ts +29 -0
- package/esm/DateRangePicker/index.d.ts +3 -0
- package/esm/DateRangePicker/index.js +19 -0
- package/esm/Drawer/index.js +2 -2
- package/esm/Dropzone/Dropzone.d.ts +25 -0
- package/esm/Dropzone/DropzoneThumbnail.d.ts +9 -0
- package/esm/Dropzone/index.d.ts +3 -0
- package/esm/Dropzone/index.js +14 -0
- package/esm/Menu/index.js +2 -2
- package/esm/Modal/index.js +2 -2
- package/esm/PinInput/PinInput.d.ts +25 -0
- package/esm/PinInput/index.d.ts +3 -0
- package/esm/PinInput/index.js +16 -0
- package/esm/SegmentedControl/SegmentedControl.d.ts +16 -0
- package/esm/SegmentedControl/SegmentedControlContext.d.ts +10 -0
- package/esm/SegmentedControl/SegmentedControlItem.d.ts +13 -0
- package/esm/SegmentedControl/index.d.ts +10 -0
- package/esm/SegmentedControl/index.js +14 -0
- package/esm/Select/SelectDropdown.d.ts +2 -0
- package/esm/Select/index.js +5 -5
- package/esm/Slider/index.js +2 -2
- package/esm/Table/index.js +1 -1
- package/esm/TagsInput/TagsInput.d.ts +26 -0
- package/esm/TagsInput/index.d.ts +3 -0
- package/esm/TagsInput/index.js +17 -0
- package/esm/Tree/Tree.d.ts +17 -0
- package/esm/Tree/TreeContext.d.ts +17 -0
- package/esm/Tree/TreeNode.d.ts +8 -0
- package/esm/Tree/index.d.ts +3 -0
- package/esm/Tree/index.js +14 -0
- package/esm/chunk-2A4BSQ66.js +130 -0
- package/esm/{chunk-HIFS4JIO.js → chunk-2EYJZXS4.js} +4 -4
- package/esm/chunk-4X4ELIMQ.js +231 -0
- package/esm/{chunk-UVVBMWR4.js → chunk-AG2NWQYL.js} +18 -4
- package/esm/chunk-AVO2SK2I.js +109 -0
- package/esm/{chunk-YHZFOVVI.js → chunk-DIMJQLWY.js} +27 -37
- package/esm/chunk-G4KB56RO.js +217 -0
- package/esm/chunk-GYFW5NLU.js +257 -0
- package/esm/chunk-IJGIEX5J.js +211 -0
- package/esm/chunk-K6UULETP.js +244 -0
- package/esm/chunk-MDSRXACM.js +212 -0
- package/esm/chunk-OKZRHSSG.js +271 -0
- package/esm/chunk-P245HSVB.js +450 -0
- package/esm/{chunk-6KMHJRCY.js → chunk-TDJGMSGT.js} +1 -0
- package/esm/{chunk-FQU5SKDF.js → chunk-WFGUAR7K.js} +60 -26
- package/esm/chunk-X4TPC7HS.js +160 -0
- package/esm/{chunk-6BCLZSSK.js → chunk-XLPOECCE.js} +1 -1
- package/esm/css/Button-ButtonIcon.css +3 -2
- package/esm/css/ButtonGroup.css +1 -0
- package/esm/css/Calendar.css +12 -1
- package/esm/css/Carousel.css +128 -0
- package/esm/css/Collapse.css +29 -9
- package/esm/css/ColorInput.css +97 -0
- package/esm/css/ColorPicker.css +186 -0
- package/esm/css/Combobox.css +2 -0
- package/esm/css/ContextMenu.css +17 -0
- package/esm/css/DatePicker.css +4 -1
- package/esm/css/DateRangePicker.css +110 -0
- package/esm/css/Dropzone.css +163 -0
- package/esm/css/Fieldset-FieldsetGroup.css +1 -0
- package/esm/css/Input.css +4 -3
- package/esm/css/Menu-MenuList.css +1 -0
- package/esm/css/NumberInput.css +5 -4
- package/esm/css/PinInput.css +41 -0
- package/esm/css/Radio.css +1 -0
- package/esm/css/SegmentedControl-SegmentedControlItem.css +65 -0
- package/esm/css/SegmentedControl.css +14 -0
- package/esm/css/Select-SelectDropdown.css +5 -2
- package/esm/css/Select-SelectMultipleValue.css +1 -0
- package/esm/css/Select-SelectOption.css +28 -7
- package/esm/css/Select.css +3 -1
- package/esm/css/TagsInput.css +101 -0
- package/esm/css/Textarea.css +1 -0
- package/esm/css/Toggle.css +1 -0
- package/esm/css/Tree.css +88 -0
- package/esm/css/use-toasts-toast-item.css +1 -0
- package/esm/index.d.ts +20 -0
- package/esm/index.js +93 -53
- package/esm/styles.css +3470 -2376
- package/package.json +3 -3
- package/esm/chunk-IBC5BABS.js +0 -415
- package/dist/{chunk-2PRUFY2Q.js → chunk-4ZGR7UMX.js} +2 -2
- package/dist/{chunk-FLK7EAOE.js → chunk-IUZV5Y27.js} +2 -2
- package/esm/{chunk-2PRUFY2Q.js → chunk-4ZGR7UMX.js} +3 -3
- package/esm/{chunk-FLK7EAOE.js → chunk-IUZV5Y27.js} +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
BolioUIProvider_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4ZGR7UMX.js";
|
|
5
5
|
import "../chunk-5HRVN7L7.js";
|
|
6
6
|
import "../chunk-A3BIV2QM.js";
|
|
7
7
|
import "../chunk-LDTDMDE6.js";
|
|
8
8
|
import "../chunk-BXDUHMWS.js";
|
|
9
|
-
import "../chunk-ZRORQ2WH.js";
|
|
10
9
|
import "../chunk-33BUV2RX.js";
|
|
11
10
|
import "../chunk-GGD4BGH2.js";
|
|
11
|
+
import "../chunk-ZRORQ2WH.js";
|
|
12
12
|
import "../chunk-DXHNQANX.js";
|
|
13
13
|
import "../chunk-BSDZWWUS.js";
|
|
14
14
|
import "../chunk-GJZT47MP.js";
|
package/esm/Calendar/index.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
slidesToShow?: number;
|
|
4
|
+
gap?: string;
|
|
5
|
+
controls?: boolean;
|
|
6
|
+
indicators?: boolean;
|
|
7
|
+
value?: number;
|
|
8
|
+
initialValue?: number;
|
|
9
|
+
onChange?: (index: number) => void;
|
|
10
|
+
previousLabel?: string;
|
|
11
|
+
nextLabel?: string;
|
|
12
|
+
slideLabel?: (index: number, count: number) => string;
|
|
13
|
+
indicatorLabel?: (index: number) => string;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
17
|
+
export type CarouselProps = Props & NativeAttrs;
|
|
18
|
+
declare const Carousel: import("../use-scale/with-scale").ScaleComponent<HTMLDivElement, Props & NativeAttrs & {
|
|
19
|
+
children?: React.ReactNode | undefined;
|
|
20
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export default Carousel;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
Carousel_default
|
|
4
|
+
} from "../chunk-MDSRXACM.js";
|
|
5
|
+
import "../chunk-MAICNLTY.js";
|
|
6
|
+
import "../chunk-UX2B3G6U.js";
|
|
7
|
+
import "../chunk-V5I4ORQQ.js";
|
|
8
|
+
import "../chunk-FEA5BJ35.js";
|
|
9
|
+
import "../chunk-X5PGXMVQ.js";
|
|
10
|
+
import "../chunk-SZIX7BM5.js";
|
|
11
|
+
import "../chunk-5KUROAEP.js";
|
|
12
|
+
export {
|
|
13
|
+
Carousel_default as default
|
|
14
|
+
};
|
package/esm/Collapse/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Collapse_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-WFGUAR7K.js";
|
|
5
5
|
import "../chunk-HKOESPKZ.js";
|
|
6
6
|
import "../chunk-AXYDJGTN.js";
|
|
7
|
-
import "../chunk-ZRORQ2WH.js";
|
|
8
7
|
import "../chunk-33BUV2RX.js";
|
|
9
8
|
import "../chunk-GGD4BGH2.js";
|
|
9
|
+
import "../chunk-ZRORQ2WH.js";
|
|
10
10
|
import "../chunk-MAICNLTY.js";
|
|
11
11
|
import "../chunk-UX2B3G6U.js";
|
|
12
12
|
import "../chunk-V5I4ORQQ.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NormalTypes } from '../utils/prop-types';
|
|
3
|
+
interface Props {
|
|
4
|
+
value?: string;
|
|
5
|
+
initialValue?: string;
|
|
6
|
+
onChange?: (hex: string) => void;
|
|
7
|
+
swatches?: Array<string>;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
type?: NormalTypes;
|
|
11
|
+
rounded?: boolean;
|
|
12
|
+
filled?: boolean;
|
|
13
|
+
light?: boolean;
|
|
14
|
+
ghost?: boolean;
|
|
15
|
+
subtle?: boolean;
|
|
16
|
+
pickerLabel?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
type NativeAttrs = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props | 'value' | 'defaultValue' | 'onChange' | 'type'>;
|
|
20
|
+
export type ColorInputProps = Props & NativeAttrs;
|
|
21
|
+
declare const ColorInput: import("../use-scale/with-scale").ScaleComponent<HTMLInputElement, Props & NativeAttrs & {
|
|
22
|
+
children?: React.ReactNode | undefined;
|
|
23
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
24
|
+
export default ColorInput;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
ColorInput_default
|
|
4
|
+
} from "../chunk-IJGIEX5J.js";
|
|
5
|
+
import "../chunk-OKZRHSSG.js";
|
|
6
|
+
import "../chunk-UOGCO6CV.js";
|
|
7
|
+
import "../chunk-KBZEYKCZ.js";
|
|
8
|
+
import "../chunk-GJZT47MP.js";
|
|
9
|
+
import "../chunk-DGXZP4VJ.js";
|
|
10
|
+
import "../chunk-3WPRUUZ6.js";
|
|
11
|
+
import "../chunk-MAICNLTY.js";
|
|
12
|
+
import "../chunk-UX2B3G6U.js";
|
|
13
|
+
import "../chunk-V5I4ORQQ.js";
|
|
14
|
+
import "../chunk-FEA5BJ35.js";
|
|
15
|
+
import "../chunk-X5PGXMVQ.js";
|
|
16
|
+
import "../chunk-SZIX7BM5.js";
|
|
17
|
+
import "../chunk-5KUROAEP.js";
|
|
18
|
+
export {
|
|
19
|
+
ColorInput_default as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
value?: string;
|
|
4
|
+
initialValue?: string;
|
|
5
|
+
onChange?: (hex: string) => void;
|
|
6
|
+
swatches?: Array<string>;
|
|
7
|
+
hexInput?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
panelLabel?: string;
|
|
10
|
+
hueLabel?: string;
|
|
11
|
+
hexLabel?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props | 'defaultValue'>;
|
|
15
|
+
export type ColorPickerProps = Props & NativeAttrs;
|
|
16
|
+
declare const ColorPicker: import("../use-scale/with-scale").ScaleComponent<HTMLDivElement, Props & NativeAttrs & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export default ColorPicker;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface Hsv {
|
|
2
|
+
h: number;
|
|
3
|
+
s: number;
|
|
4
|
+
v: number;
|
|
5
|
+
}
|
|
6
|
+
declare const clamp: (value: number, min?: number, max?: number) => number;
|
|
7
|
+
export declare const normalizeHex: (text: string) => string | null;
|
|
8
|
+
export declare const hexToHsv: (hex: string) => Hsv;
|
|
9
|
+
export declare const hsvToHex: ({ h, s, v }: Hsv) => string;
|
|
10
|
+
export { clamp };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
ColorPicker_default
|
|
4
|
+
} from "../chunk-OKZRHSSG.js";
|
|
5
|
+
import "../chunk-MAICNLTY.js";
|
|
6
|
+
import "../chunk-UX2B3G6U.js";
|
|
7
|
+
import "../chunk-V5I4ORQQ.js";
|
|
8
|
+
import "../chunk-FEA5BJ35.js";
|
|
9
|
+
import "../chunk-X5PGXMVQ.js";
|
|
10
|
+
import "../chunk-SZIX7BM5.js";
|
|
11
|
+
import "../chunk-5KUROAEP.js";
|
|
12
|
+
export {
|
|
13
|
+
ColorPicker_default as default
|
|
14
|
+
};
|
package/esm/Command/index.js
CHANGED
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
Command_default
|
|
4
4
|
} from "../chunk-4QA7Z7VP.js";
|
|
5
5
|
import "../chunk-6ZBFUZSL.js";
|
|
6
|
-
import "../chunk-TKIUVNKP.js";
|
|
7
|
-
import "../chunk-O3RTRCY5.js";
|
|
8
|
-
import "../chunk-F3AL4TQZ.js";
|
|
9
6
|
import "../chunk-NEG5UNM6.js";
|
|
10
7
|
import "../chunk-ISLUC2SD.js";
|
|
8
|
+
import "../chunk-TKIUVNKP.js";
|
|
9
|
+
import "../chunk-F3AL4TQZ.js";
|
|
10
|
+
import "../chunk-O3RTRCY5.js";
|
|
11
11
|
import "../chunk-UOGCO6CV.js";
|
|
12
12
|
import "../chunk-KBZEYKCZ.js";
|
|
13
13
|
import "../chunk-LDTDMDE6.js";
|
|
14
14
|
import "../chunk-BXDUHMWS.js";
|
|
15
|
-
import "../chunk-ZRORQ2WH.js";
|
|
16
15
|
import "../chunk-33BUV2RX.js";
|
|
17
16
|
import "../chunk-GGD4BGH2.js";
|
|
17
|
+
import "../chunk-ZRORQ2WH.js";
|
|
18
18
|
import "../chunk-DXHNQANX.js";
|
|
19
19
|
import "../chunk-BSDZWWUS.js";
|
|
20
20
|
import "../chunk-GJZT47MP.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
content: React.ReactNode;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
9
|
+
export type ContextMenuProps = Props & NativeAttrs;
|
|
10
|
+
declare const ContextMenu: import("../use-scale/with-scale").ScaleComponent<HTMLDivElement, Props & NativeAttrs & {
|
|
11
|
+
children?: React.ReactNode | undefined;
|
|
12
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default ContextMenu;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
ContextMenu_default
|
|
4
|
+
} from "../chunk-AVO2SK2I.js";
|
|
5
|
+
import "../chunk-XLPOECCE.js";
|
|
6
|
+
import "../chunk-AG2NWQYL.js";
|
|
7
|
+
import "../chunk-DSX6YDJM.js";
|
|
8
|
+
import "../chunk-V57PNXMD.js";
|
|
9
|
+
import "../chunk-JJFOGZ6V.js";
|
|
10
|
+
import "../chunk-AXYDJGTN.js";
|
|
11
|
+
import "../chunk-LDTDMDE6.js";
|
|
12
|
+
import "../chunk-BXDUHMWS.js";
|
|
13
|
+
import "../chunk-ZRORQ2WH.js";
|
|
14
|
+
import "../chunk-DGXZP4VJ.js";
|
|
15
|
+
import "../chunk-3WPRUUZ6.js";
|
|
16
|
+
import "../chunk-MAICNLTY.js";
|
|
17
|
+
import "../chunk-UX2B3G6U.js";
|
|
18
|
+
import "../chunk-V5I4ORQQ.js";
|
|
19
|
+
import "../chunk-FEA5BJ35.js";
|
|
20
|
+
import "../chunk-X5PGXMVQ.js";
|
|
21
|
+
import "../chunk-SZIX7BM5.js";
|
|
22
|
+
import "../chunk-5KUROAEP.js";
|
|
23
|
+
export {
|
|
24
|
+
ContextMenu_default as default
|
|
25
|
+
};
|
package/esm/CssBaseline/index.js
CHANGED
package/esm/DatePicker/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
DatePicker_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-IBC5BABS.js";
|
|
4
|
+
} from "../chunk-2EYJZXS4.js";
|
|
6
5
|
import "../chunk-KBZEYKCZ.js";
|
|
6
|
+
import "../chunk-P245HSVB.js";
|
|
7
7
|
import "../chunk-GJZT47MP.js";
|
|
8
8
|
import "../chunk-DGXZP4VJ.js";
|
|
9
9
|
import "../chunk-3WPRUUZ6.js";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NormalTypes } from '../utils/prop-types';
|
|
3
|
+
import type { DateRange } from '../Calendar';
|
|
4
|
+
interface Props {
|
|
5
|
+
value?: DateRange;
|
|
6
|
+
initialValue?: DateRange;
|
|
7
|
+
onChange?: (range: DateRange) => void;
|
|
8
|
+
min?: Date;
|
|
9
|
+
max?: Date;
|
|
10
|
+
locale?: string;
|
|
11
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
|
+
startPlaceholder?: string;
|
|
13
|
+
endPlaceholder?: string;
|
|
14
|
+
startLabel?: string;
|
|
15
|
+
endLabel?: string;
|
|
16
|
+
calendarLabel?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
type?: NormalTypes;
|
|
19
|
+
rounded?: boolean;
|
|
20
|
+
filled?: boolean;
|
|
21
|
+
light?: boolean;
|
|
22
|
+
ghost?: boolean;
|
|
23
|
+
subtle?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
27
|
+
export type DateRangePickerProps = Props & NativeAttrs;
|
|
28
|
+
declare const DateRangePicker: import("../use-scale/with-scale").ScaleComponent<HTMLDivElement, Props & NativeAttrs & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
export default DateRangePicker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
DateRangePicker_default
|
|
4
|
+
} from "../chunk-GYFW5NLU.js";
|
|
5
|
+
import "../chunk-KBZEYKCZ.js";
|
|
6
|
+
import "../chunk-P245HSVB.js";
|
|
7
|
+
import "../chunk-GJZT47MP.js";
|
|
8
|
+
import "../chunk-DGXZP4VJ.js";
|
|
9
|
+
import "../chunk-3WPRUUZ6.js";
|
|
10
|
+
import "../chunk-MAICNLTY.js";
|
|
11
|
+
import "../chunk-UX2B3G6U.js";
|
|
12
|
+
import "../chunk-V5I4ORQQ.js";
|
|
13
|
+
import "../chunk-FEA5BJ35.js";
|
|
14
|
+
import "../chunk-X5PGXMVQ.js";
|
|
15
|
+
import "../chunk-SZIX7BM5.js";
|
|
16
|
+
import "../chunk-5KUROAEP.js";
|
|
17
|
+
export {
|
|
18
|
+
DateRangePicker_default as default
|
|
19
|
+
};
|
package/esm/Drawer/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
Drawer_default
|
|
4
4
|
} from "../chunk-PGQYW6YF.js";
|
|
5
5
|
import "../chunk-TKIUVNKP.js";
|
|
6
|
-
import "../chunk-O3RTRCY5.js";
|
|
7
6
|
import "../chunk-F3AL4TQZ.js";
|
|
7
|
+
import "../chunk-O3RTRCY5.js";
|
|
8
8
|
import "../chunk-LDTDMDE6.js";
|
|
9
9
|
import "../chunk-BXDUHMWS.js";
|
|
10
|
-
import "../chunk-ZRORQ2WH.js";
|
|
11
10
|
import "../chunk-33BUV2RX.js";
|
|
12
11
|
import "../chunk-GGD4BGH2.js";
|
|
12
|
+
import "../chunk-ZRORQ2WH.js";
|
|
13
13
|
import "../chunk-MAICNLTY.js";
|
|
14
14
|
import "../chunk-UX2B3G6U.js";
|
|
15
15
|
import "../chunk-V5I4ORQQ.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type FileRejectionReason = 'file-type' | 'file-too-large' | 'too-many-files';
|
|
3
|
+
export interface FileRejection {
|
|
4
|
+
file: File;
|
|
5
|
+
reason: FileRejectionReason;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
accept?: string;
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
maxSize?: number;
|
|
11
|
+
maxFiles?: number;
|
|
12
|
+
onDrop?: (accepted: Array<File>, rejected: Array<FileRejection>) => void;
|
|
13
|
+
thumbnails?: boolean;
|
|
14
|
+
value?: Array<File>;
|
|
15
|
+
onChange?: (files: Array<File>) => void;
|
|
16
|
+
removeLabel?: (file: File) => string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
type NativeAttrs = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props | 'type' | 'value' | 'defaultValue' | 'onChange'>;
|
|
21
|
+
export type DropzoneProps = Props & NativeAttrs;
|
|
22
|
+
declare const Dropzone: import("../use-scale/with-scale").ScaleComponent<HTMLInputElement, Props & NativeAttrs & {
|
|
23
|
+
children?: React.ReactNode | undefined;
|
|
24
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
25
|
+
export default Dropzone;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
file: File;
|
|
4
|
+
removeLabel: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
onRemove: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare function DropzoneThumbnail({ file, removeLabel, disabled, onRemove }: Props): React.JSX.Element;
|
|
9
|
+
export default DropzoneThumbnail;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
Dropzone_default
|
|
4
|
+
} from "../chunk-4X4ELIMQ.js";
|
|
5
|
+
import "../chunk-MAICNLTY.js";
|
|
6
|
+
import "../chunk-UX2B3G6U.js";
|
|
7
|
+
import "../chunk-V5I4ORQQ.js";
|
|
8
|
+
import "../chunk-FEA5BJ35.js";
|
|
9
|
+
import "../chunk-X5PGXMVQ.js";
|
|
10
|
+
import "../chunk-SZIX7BM5.js";
|
|
11
|
+
import "../chunk-5KUROAEP.js";
|
|
12
|
+
export {
|
|
13
|
+
Dropzone_default as default
|
|
14
|
+
};
|
package/esm/Menu/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Menu_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XLPOECCE.js";
|
|
5
|
+
import "../chunk-AG2NWQYL.js";
|
|
6
6
|
import "../chunk-DSX6YDJM.js";
|
|
7
7
|
import "../chunk-V57PNXMD.js";
|
|
8
8
|
import "../chunk-JJFOGZ6V.js";
|
package/esm/Modal/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
Modal_default
|
|
4
4
|
} from "../chunk-6ZBFUZSL.js";
|
|
5
5
|
import "../chunk-TKIUVNKP.js";
|
|
6
|
-
import "../chunk-O3RTRCY5.js";
|
|
7
6
|
import "../chunk-F3AL4TQZ.js";
|
|
7
|
+
import "../chunk-O3RTRCY5.js";
|
|
8
8
|
import "../chunk-LDTDMDE6.js";
|
|
9
9
|
import "../chunk-BXDUHMWS.js";
|
|
10
|
-
import "../chunk-ZRORQ2WH.js";
|
|
11
10
|
import "../chunk-33BUV2RX.js";
|
|
12
11
|
import "../chunk-GGD4BGH2.js";
|
|
12
|
+
import "../chunk-ZRORQ2WH.js";
|
|
13
13
|
import "../chunk-DXHNQANX.js";
|
|
14
14
|
import "../chunk-BSDZWWUS.js";
|
|
15
15
|
import "../chunk-GJZT47MP.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NormalTypes } from '../utils/prop-types';
|
|
3
|
+
interface Props {
|
|
4
|
+
length?: number;
|
|
5
|
+
value?: string;
|
|
6
|
+
initialValue?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
onComplete?: (value: string) => void;
|
|
9
|
+
numeric?: boolean;
|
|
10
|
+
mask?: boolean;
|
|
11
|
+
boxLabel?: (index: number, length: number) => string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
error?: boolean;
|
|
14
|
+
type?: NormalTypes;
|
|
15
|
+
rounded?: boolean;
|
|
16
|
+
filled?: boolean;
|
|
17
|
+
light?: boolean;
|
|
18
|
+
ghost?: boolean;
|
|
19
|
+
subtle?: boolean;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props | 'defaultValue'>;
|
|
23
|
+
export type PinInputProps = Props & NativeAttrs;
|
|
24
|
+
declare const PinInput: import("../use-scale/with-scale").ScaleComponent<HTMLDivElement, Props & NativeAttrs & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export default PinInput;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
PinInput_default
|
|
4
|
+
} from "../chunk-X4TPC7HS.js";
|
|
5
|
+
import "../chunk-KBZEYKCZ.js";
|
|
6
|
+
import "../chunk-GJZT47MP.js";
|
|
7
|
+
import "../chunk-MAICNLTY.js";
|
|
8
|
+
import "../chunk-UX2B3G6U.js";
|
|
9
|
+
import "../chunk-V5I4ORQQ.js";
|
|
10
|
+
import "../chunk-FEA5BJ35.js";
|
|
11
|
+
import "../chunk-X5PGXMVQ.js";
|
|
12
|
+
import "../chunk-SZIX7BM5.js";
|
|
13
|
+
import "../chunk-5KUROAEP.js";
|
|
14
|
+
export {
|
|
15
|
+
PinInput_default as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SegmentedControlValue } from './SegmentedControlContext';
|
|
3
|
+
interface Props {
|
|
4
|
+
value?: SegmentedControlValue;
|
|
5
|
+
initialValue?: SegmentedControlValue;
|
|
6
|
+
onChange?: (value: SegmentedControlValue) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
12
|
+
export type SegmentedControlProps = Props & NativeAttrs;
|
|
13
|
+
declare const SegmentedControl: import("../use-scale/with-scale").ScaleComponent<HTMLDivElement, Props & NativeAttrs & {
|
|
14
|
+
children?: React.ReactNode | undefined;
|
|
15
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export default SegmentedControl;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type SegmentedControlValue = string | number;
|
|
3
|
+
export interface SegmentedControlConfig {
|
|
4
|
+
name?: string;
|
|
5
|
+
value?: SegmentedControlValue;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
select?: (value: SegmentedControlValue) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const SegmentedControlContext: React.Context<SegmentedControlConfig>;
|
|
10
|
+
export declare const useSegmentedControlContext: () => SegmentedControlConfig;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SegmentedControlValue } from './SegmentedControlContext';
|
|
3
|
+
interface Props {
|
|
4
|
+
value: SegmentedControlValue;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
type NativeAttrs = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props | 'type' | 'name' | 'checked' | 'onChange'>;
|
|
9
|
+
export type SegmentedControlItemProps = Props & NativeAttrs;
|
|
10
|
+
declare const SegmentedControlItem: React.ForwardRefExoticComponent<Props & NativeAttrs & {
|
|
11
|
+
children?: React.ReactNode | undefined;
|
|
12
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
13
|
+
export default SegmentedControlItem;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import SegmentedControl from './SegmentedControl';
|
|
2
|
+
import SegmentedControlItem from './SegmentedControlItem';
|
|
3
|
+
export type SegmentedControlComponentType = typeof SegmentedControl & {
|
|
4
|
+
Item: typeof SegmentedControlItem;
|
|
5
|
+
};
|
|
6
|
+
export type { SegmentedControlProps } from './SegmentedControl';
|
|
7
|
+
export type { SegmentedControlItemProps } from './SegmentedControlItem';
|
|
8
|
+
export type { SegmentedControlValue } from './SegmentedControlContext';
|
|
9
|
+
declare const _default: SegmentedControlComponentType;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
SegmentedControl_default
|
|
4
|
+
} from "../chunk-2A4BSQ66.js";
|
|
5
|
+
import "../chunk-MAICNLTY.js";
|
|
6
|
+
import "../chunk-UX2B3G6U.js";
|
|
7
|
+
import "../chunk-V5I4ORQQ.js";
|
|
8
|
+
import "../chunk-FEA5BJ35.js";
|
|
9
|
+
import "../chunk-X5PGXMVQ.js";
|
|
10
|
+
import "../chunk-SZIX7BM5.js";
|
|
11
|
+
import "../chunk-5KUROAEP.js";
|
|
12
|
+
export {
|
|
13
|
+
SegmentedControl_default as default
|
|
14
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
|
+
import type { InputColor } from '../Input/styles';
|
|
2
3
|
import type { AnyElement } from '../utils/types';
|
|
3
4
|
interface Props {
|
|
4
5
|
visible: boolean;
|
|
6
|
+
colors: InputColor;
|
|
5
7
|
className?: string;
|
|
6
8
|
dropdownStyle?: CSSProperties;
|
|
7
9
|
disableMatchWidth?: boolean;
|
package/esm/Select/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Select_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-DIMJQLWY.js";
|
|
5
|
+
import "../chunk-JFNYQSEZ.js";
|
|
6
|
+
import "../chunk-AG2NWQYL.js";
|
|
6
7
|
import "../chunk-DSX6YDJM.js";
|
|
7
8
|
import "../chunk-V57PNXMD.js";
|
|
8
9
|
import "../chunk-JJFOGZ6V.js";
|
|
9
|
-
import "../chunk-JFNYQSEZ.js";
|
|
10
|
-
import "../chunk-AXYDJGTN.js";
|
|
11
10
|
import "../chunk-KBZEYKCZ.js";
|
|
11
|
+
import "../chunk-AXYDJGTN.js";
|
|
12
12
|
import "../chunk-LDTDMDE6.js";
|
|
13
13
|
import "../chunk-BXDUHMWS.js";
|
|
14
|
-
import "../chunk-ZRORQ2WH.js";
|
|
15
14
|
import "../chunk-33BUV2RX.js";
|
|
16
15
|
import "../chunk-GGD4BGH2.js";
|
|
16
|
+
import "../chunk-ZRORQ2WH.js";
|
|
17
17
|
import "../chunk-GJZT47MP.js";
|
|
18
18
|
import "../chunk-MAICNLTY.js";
|
|
19
19
|
import "../chunk-UX2B3G6U.js";
|
package/esm/Slider/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Slider_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZRORQ2WH.js";
|
|
4
|
+
} from "../chunk-IUZV5Y27.js";
|
|
6
5
|
import "../chunk-33BUV2RX.js";
|
|
7
6
|
import "../chunk-GGD4BGH2.js";
|
|
7
|
+
import "../chunk-ZRORQ2WH.js";
|
|
8
8
|
import "../chunk-MAICNLTY.js";
|
|
9
9
|
import "../chunk-UX2B3G6U.js";
|
|
10
10
|
import "../chunk-V5I4ORQQ.js";
|
package/esm/Table/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import "../chunk-E5EDUOQT.js";
|
|
|
6
6
|
import "../chunk-JJFOGZ6V.js";
|
|
7
7
|
import "../chunk-HKOESPKZ.js";
|
|
8
8
|
import "../chunk-AXYDJGTN.js";
|
|
9
|
-
import "../chunk-ZRORQ2WH.js";
|
|
10
9
|
import "../chunk-33BUV2RX.js";
|
|
11
10
|
import "../chunk-GGD4BGH2.js";
|
|
11
|
+
import "../chunk-ZRORQ2WH.js";
|
|
12
12
|
import "../chunk-RZBEZ26A.js";
|
|
13
13
|
import "../chunk-MAICNLTY.js";
|
|
14
14
|
import "../chunk-UX2B3G6U.js";
|