@wavv/ui 2.3.0 → 2.3.2
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/build/components/Checkbox.d.ts +3 -1
- package/build/components/Checkbox.js +2 -1
- package/build/components/DropZone.d.ts +23 -0
- package/build/components/DropZone.js +53 -0
- package/build/components/Ellipsis.d.ts +3 -2
- package/build/components/FileTrigger.d.ts +11 -0
- package/build/components/FileTrigger.js +12 -0
- package/build/components/Form.d.ts +6 -3
- package/build/components/FormControl.d.ts +1 -0
- package/build/components/FormControl.js +2 -2
- package/build/components/Radio.d.ts +3 -1
- package/build/components/Radio.js +2 -1
- package/build/components/Toggle.d.ts +3 -1
- package/build/components/Toggle.js +2 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +3 -1
- package/package.json +25 -25
|
@@ -7,6 +7,8 @@ type Props = {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
/** Sets the label on the left or right of the checkbox */
|
|
9
9
|
labelPosition?: 'left' | 'right';
|
|
10
|
+
/** Sets the color of the label */
|
|
11
|
+
labelColor?: string;
|
|
10
12
|
/** Disables the checkbox */
|
|
11
13
|
disabled?: boolean;
|
|
12
14
|
/** Prevents the checkbox from being changed */
|
|
@@ -23,7 +25,7 @@ type Props = {
|
|
|
23
25
|
className?: CheckboxProps['className'];
|
|
24
26
|
style?: CheckboxProps['style'];
|
|
25
27
|
} & Margin & Omit<CheckboxProps, 'value' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'isIndeterminate'>;
|
|
26
|
-
declare const Checkbox: ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, align, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare const Checkbox: ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, align, labelColor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
27
29
|
export declare const ControlContainer: import("@emotion/styled").StyledComponent<CheckboxProps & import("react").RefAttributes<HTMLLabelElement> & {
|
|
28
30
|
theme?: import("@emotion/react").Theme;
|
|
29
31
|
} & {
|
|
@@ -8,7 +8,7 @@ import { ControlLabel } from "./FormControl.js";
|
|
|
8
8
|
import getFlexPosition from "./helpers/getFlexPosition.js";
|
|
9
9
|
import { marginProps } from "./helpers/styledProps.js";
|
|
10
10
|
import Icon from "./Icon/index.js";
|
|
11
|
-
const Checkbox_Checkbox = ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, align, ...props })=>{
|
|
11
|
+
const Checkbox_Checkbox = ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, align, labelColor, ...props })=>{
|
|
12
12
|
const labelRight = 'right' === labelPosition;
|
|
13
13
|
const isControlled = 'boolean' == typeof checked;
|
|
14
14
|
return /*#__PURE__*/ jsx(ControlContainer, {
|
|
@@ -34,6 +34,7 @@ const Checkbox_Checkbox = ({ label, labelPosition, checked, partial, disabled, r
|
|
|
34
34
|
children: [
|
|
35
35
|
label && /*#__PURE__*/ jsx(ControlLabel, {
|
|
36
36
|
disabled: disabled,
|
|
37
|
+
color: labelColor,
|
|
37
38
|
children: label
|
|
38
39
|
}),
|
|
39
40
|
/*#__PURE__*/ jsx(Icon, {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type DropZoneProps } from 'react-aria-components';
|
|
3
|
+
import type { MarginPadding, WidthHeight } from './types';
|
|
4
|
+
type Props = {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** The label to display inside the drop zone */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Whether the drop target is disabled. If true, the drop target will not accept any drops. */
|
|
9
|
+
disabled?: DropZoneProps['isDisabled'];
|
|
10
|
+
className?: DropZoneProps['className'];
|
|
11
|
+
style?: DropZoneProps['style'];
|
|
12
|
+
onDrop?: DropZoneProps['onDrop'];
|
|
13
|
+
onDropEnter?: DropZoneProps['onDropEnter'];
|
|
14
|
+
onDropMove?: DropZoneProps['onDropMove'];
|
|
15
|
+
onDropExit?: DropZoneProps['onDropExit'];
|
|
16
|
+
onDropActivate?: DropZoneProps['onDropActivate'];
|
|
17
|
+
getDropOperation?: DropZoneProps['getDropOperation'];
|
|
18
|
+
onHoverChange?: DropZoneProps['onHoverChange'];
|
|
19
|
+
onHoverStart?: DropZoneProps['onHoverStart'];
|
|
20
|
+
onHoverEnd?: DropZoneProps['onHoverEnd'];
|
|
21
|
+
} & MarginPadding & WidthHeight & Omit<DropZoneProps, 'isDisabled' | 'children'>;
|
|
22
|
+
declare const DropZone: ({ children, label, disabled, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default DropZone;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import { DropZone, Text } from "react-aria-components";
|
|
4
|
+
import { marginProps, paddingProps, widthHeightProps } from "./helpers/styledProps.js";
|
|
5
|
+
const DropZone_DropZone = ({ children, label = 'Drop here', disabled, ...rest })=>/*#__PURE__*/ jsxs(StyledDropZone, {
|
|
6
|
+
isDisabled: disabled,
|
|
7
|
+
...rest,
|
|
8
|
+
children: [
|
|
9
|
+
/*#__PURE__*/ jsx(StyledText, {
|
|
10
|
+
slot: "label",
|
|
11
|
+
children: label
|
|
12
|
+
}),
|
|
13
|
+
children
|
|
14
|
+
]
|
|
15
|
+
});
|
|
16
|
+
const StyledDropZone = styled(DropZone)(({ theme })=>({
|
|
17
|
+
display: 'flex',
|
|
18
|
+
flexDirection: 'column',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
justifyContent: 'center',
|
|
21
|
+
gap: theme.size.sm,
|
|
22
|
+
padding: theme.size.md,
|
|
23
|
+
border: `1px dashed ${theme.scale4}`,
|
|
24
|
+
borderRadius: 8,
|
|
25
|
+
backgroundColor: 'transparent',
|
|
26
|
+
outline: 'none',
|
|
27
|
+
color: theme.scale10,
|
|
28
|
+
transition: 'background-color 0.2s ease, border-color 0.2s ease',
|
|
29
|
+
'&[data-focus-visible]': {
|
|
30
|
+
outline: `${theme.accent} solid 2px`,
|
|
31
|
+
outlineOffset: -1
|
|
32
|
+
},
|
|
33
|
+
'&[data-drop-target]': {
|
|
34
|
+
backgroundColor: theme.scale1,
|
|
35
|
+
borderColor: theme.color.brand
|
|
36
|
+
},
|
|
37
|
+
'&[data-disabled]': {
|
|
38
|
+
cursor: 'not-allowed',
|
|
39
|
+
backgroundColor: theme.scale0,
|
|
40
|
+
borderColor: theme.scale4,
|
|
41
|
+
opacity: 0.4,
|
|
42
|
+
userSelect: 'none',
|
|
43
|
+
'& > *': {
|
|
44
|
+
pointerEvents: 'none'
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}), widthHeightProps, marginProps, paddingProps);
|
|
48
|
+
const StyledText = styled(Text)(({ theme })=>({
|
|
49
|
+
fontSize: theme.font.size.md,
|
|
50
|
+
fontWeight: theme.font.weight.medium
|
|
51
|
+
}));
|
|
52
|
+
const components_DropZone = DropZone_DropZone;
|
|
53
|
+
export { components_DropZone as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CSSObject } from '@emotion/react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
import type { Attributes } from './typeDefs/elementTypes';
|
|
3
4
|
import type { MarginPadding, Width } from './types';
|
|
4
5
|
type ElAttributes = Attributes<HTMLDivElement>;
|
|
@@ -6,7 +7,7 @@ type Props = {
|
|
|
6
7
|
children: ReactNode;
|
|
7
8
|
/** Number of lines to clamp */
|
|
8
9
|
clampLines?: number;
|
|
9
|
-
textAlign?:
|
|
10
|
+
textAlign?: CSSObject['textAlign'];
|
|
10
11
|
} & MarginPadding & Width & ElAttributes;
|
|
11
12
|
declare const Ellipsis: ({ children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default Ellipsis;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FileTriggerProps } from 'react-aria-components';
|
|
2
|
+
import type { Margin } from './types';
|
|
3
|
+
type Props = {
|
|
4
|
+
acceptedFileTypes?: FileTriggerProps['acceptedFileTypes'];
|
|
5
|
+
allowsMultiple?: FileTriggerProps['allowsMultiple'];
|
|
6
|
+
defaultCamera?: FileTriggerProps['defaultCamera'];
|
|
7
|
+
acceptDirectory?: FileTriggerProps['acceptDirectory'];
|
|
8
|
+
onSelect?: FileTriggerProps['onSelect'];
|
|
9
|
+
} & Margin & Omit<FileTriggerProps, 'children'>;
|
|
10
|
+
declare const FileTrigger: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default FileTrigger;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FileTrigger } from "react-aria-components";
|
|
3
|
+
import Button from "./Button/index.js";
|
|
4
|
+
const FileTrigger_FileTrigger = (props)=>/*#__PURE__*/ jsx(FileTrigger, {
|
|
5
|
+
...props,
|
|
6
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
7
|
+
small: true,
|
|
8
|
+
children: "Select files"
|
|
9
|
+
})
|
|
10
|
+
});
|
|
11
|
+
const components_FileTrigger = FileTrigger_FileTrigger;
|
|
12
|
+
export { components_FileTrigger as default };
|
|
@@ -14,19 +14,21 @@ declare const Form: {
|
|
|
14
14
|
Field({ children, inline, align, disabled, ...props }: FieldProps & {
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props }: {
|
|
17
|
+
Radio: ({ id, label, labelPosition, checked, disabled, labelColor, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props }: {
|
|
18
18
|
id?: string;
|
|
19
19
|
label?: string;
|
|
20
20
|
labelPosition?: "left" | "right";
|
|
21
|
+
labelColor?: string;
|
|
21
22
|
disabled?: boolean;
|
|
22
23
|
checked?: boolean;
|
|
23
24
|
className?: string;
|
|
24
25
|
iconColor?: string;
|
|
25
26
|
} & Margin & import("react").HTMLProps<HTMLInputElement> & import("./types").AsProp) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
Toggle: ({ label, labelPosition, checked, disabled, onChange, gap, ...props }: {
|
|
27
|
+
Toggle: ({ label, labelPosition, checked, disabled, onChange, gap, labelColor, ...props }: {
|
|
27
28
|
id?: string;
|
|
28
29
|
label?: string;
|
|
29
30
|
labelPosition?: "left" | "right";
|
|
31
|
+
labelColor?: string;
|
|
30
32
|
disabled?: boolean;
|
|
31
33
|
checked?: boolean;
|
|
32
34
|
gap?: number;
|
|
@@ -34,10 +36,11 @@ declare const Form: {
|
|
|
34
36
|
className?: import("react-aria-components").SwitchProps["className"];
|
|
35
37
|
style?: import("react-aria-components").SwitchProps["style"];
|
|
36
38
|
} & Margin & Omit<import("react-aria-components").SwitchProps, "isDisabled" | "isSelected">) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
Checkbox: ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, align, ...props }: {
|
|
39
|
+
Checkbox: ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, align, labelColor, ...props }: {
|
|
38
40
|
id?: string;
|
|
39
41
|
label?: string;
|
|
40
42
|
labelPosition?: "left" | "right";
|
|
43
|
+
labelColor?: string;
|
|
41
44
|
disabled?: boolean;
|
|
42
45
|
readOnly?: boolean;
|
|
43
46
|
checked?: boolean;
|
|
@@ -20,5 +20,6 @@ export declare const ControlLabel: import("@emotion/styled").StyledComponent<{
|
|
|
20
20
|
as?: React.ElementType;
|
|
21
21
|
} & {
|
|
22
22
|
disabled?: boolean;
|
|
23
|
+
color?: string;
|
|
23
24
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
24
25
|
export type CheckboxAttributes = Attributes<HTMLInputElement>;
|
|
@@ -64,9 +64,9 @@ const ControlInput = styled.input({
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}));
|
|
67
|
-
const ControlLabel = styled.span(({ theme, disabled })=>({
|
|
67
|
+
const ControlLabel = styled.span(({ theme, disabled, color })=>({
|
|
68
68
|
fontSize: theme.font.size.md,
|
|
69
|
-
color: disabled ? theme.formControl.color.disabled : theme.scale10,
|
|
69
|
+
color: disabled ? theme.formControl.color.disabled : color || theme.scale10,
|
|
70
70
|
cursor: disabled ? 'not-allowed' : 'pointer'
|
|
71
71
|
}));
|
|
72
72
|
export { ControlContainer, ControlInput, ControlLabel };
|
|
@@ -8,6 +8,8 @@ type RadioProps = {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
/** Sets the label on the left or right of the radio */
|
|
10
10
|
labelPosition?: 'left' | 'right';
|
|
11
|
+
/** Sets the color of the label */
|
|
12
|
+
labelColor?: string;
|
|
11
13
|
/** Disables the radio */
|
|
12
14
|
disabled?: boolean;
|
|
13
15
|
/** Controls the checked property of the radio */
|
|
@@ -17,5 +19,5 @@ type RadioProps = {
|
|
|
17
19
|
/** Sets the color of the icon */
|
|
18
20
|
iconColor?: string;
|
|
19
21
|
} & Margin & ElAttributes;
|
|
20
|
-
declare const Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Radio: ({ id, label, labelPosition, checked, disabled, labelColor, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
export default Radio;
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import RadioButton from "../assets/icons/RadioButton.js";
|
|
3
3
|
import { ControlContainer, ControlInput, ControlLabel } from "./FormControl.js";
|
|
4
4
|
import Icon from "./Icon/index.js";
|
|
5
|
-
const Radio = ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props })=>{
|
|
5
|
+
const Radio = ({ id, label, labelPosition, checked, disabled, labelColor, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props })=>{
|
|
6
6
|
const labelRight = 'right' === labelPosition;
|
|
7
7
|
const marginProps = {
|
|
8
8
|
margin,
|
|
@@ -22,6 +22,7 @@ const Radio = ({ id, label, labelPosition, checked, disabled, margin, marginTop,
|
|
|
22
22
|
children: [
|
|
23
23
|
label && /*#__PURE__*/ jsx(ControlLabel, {
|
|
24
24
|
disabled: disabled,
|
|
25
|
+
color: labelColor,
|
|
25
26
|
children: label
|
|
26
27
|
}),
|
|
27
28
|
/*#__PURE__*/ jsx(ControlInput, {
|
|
@@ -7,6 +7,8 @@ type Props = {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
/** Sets the label on the left or right of the toggle */
|
|
9
9
|
labelPosition?: 'left' | 'right';
|
|
10
|
+
/** Sets the color of the label */
|
|
11
|
+
labelColor?: string;
|
|
10
12
|
/** Disables the toggle */
|
|
11
13
|
disabled?: boolean;
|
|
12
14
|
/** Controls the checked property of the toggle */
|
|
@@ -18,7 +20,7 @@ type Props = {
|
|
|
18
20
|
className?: SwitchProps['className'];
|
|
19
21
|
style?: SwitchProps['style'];
|
|
20
22
|
} & Margin & Omit<SwitchProps, 'isDisabled' | 'isSelected'>;
|
|
21
|
-
declare const Toggle: ({ label, labelPosition, checked, disabled, onChange, gap, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare const Toggle: ({ label, labelPosition, checked, disabled, onChange, gap, labelColor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export declare const ControlContainer: import("@emotion/styled").StyledComponent<SwitchProps & import("react").RefAttributes<HTMLLabelElement> & {
|
|
23
25
|
theme?: import("@emotion/react").Theme;
|
|
24
26
|
} & {
|
|
@@ -6,7 +6,7 @@ import ToggleOn from "../assets/icons/ToggleOn.js";
|
|
|
6
6
|
import { ControlLabel } from "./FormControl.js";
|
|
7
7
|
import { marginProps } from "./helpers/styledProps.js";
|
|
8
8
|
import Icon from "./Icon/index.js";
|
|
9
|
-
const Toggle = ({ label, labelPosition, checked, disabled, onChange, gap, ...props })=>{
|
|
9
|
+
const Toggle = ({ label, labelPosition, checked, disabled, onChange, gap, labelColor, ...props })=>{
|
|
10
10
|
const labelRight = 'right' === labelPosition;
|
|
11
11
|
const isControlled = 'boolean' == typeof checked;
|
|
12
12
|
return /*#__PURE__*/ jsx(ControlContainer, {
|
|
@@ -24,6 +24,7 @@ const Toggle = ({ label, labelPosition, checked, disabled, onChange, gap, ...pro
|
|
|
24
24
|
children: [
|
|
25
25
|
label && /*#__PURE__*/ jsx(ControlLabel, {
|
|
26
26
|
disabled: disabled,
|
|
27
|
+
color: labelColor,
|
|
27
28
|
children: label
|
|
28
29
|
}),
|
|
29
30
|
/*#__PURE__*/ jsx(Icon, {
|
package/build/index.d.ts
CHANGED
|
@@ -10,11 +10,13 @@ export { default as CommandMenu } from './components/CommandMenu';
|
|
|
10
10
|
export { default as DocTable } from './components/DocTable';
|
|
11
11
|
export { default as Dot } from './components/Dot';
|
|
12
12
|
export { default as DraftEditor } from './components/DraftEditor';
|
|
13
|
+
export { default as DropZone } from './components/DropZone';
|
|
13
14
|
export { default as Editor } from './components/Editor';
|
|
14
15
|
export { default as DropdownMenu } from './components/DropdownMenu';
|
|
15
16
|
export { default as DropdownSelect } from './components/DropdownSelect';
|
|
16
17
|
export { default as Dropdown } from './components/Dropdown';
|
|
17
18
|
export { default as Ellipsis } from './components/Ellipsis';
|
|
19
|
+
export { default as FileTrigger } from './components/FileTrigger';
|
|
18
20
|
export { default as Form } from './components/Form';
|
|
19
21
|
export { default as Grid } from './components/Grid';
|
|
20
22
|
export { default as Icon } from './components/Icon';
|
package/build/index.js
CHANGED
|
@@ -10,11 +10,13 @@ import CommandMenu from "./components/CommandMenu/index.js";
|
|
|
10
10
|
import DocTable from "./components/DocTable.js";
|
|
11
11
|
import Dot from "./components/Dot.js";
|
|
12
12
|
import DraftEditor from "./components/DraftEditor.js";
|
|
13
|
+
import DropZone from "./components/DropZone.js";
|
|
13
14
|
import Editor, { createEditorContent, editorContentToText } from "./components/Editor/index.js";
|
|
14
15
|
import DropdownMenu from "./components/DropdownMenu.js";
|
|
15
16
|
import DropdownSelect from "./components/DropdownSelect.js";
|
|
16
17
|
import Dropdown from "./components/Dropdown.js";
|
|
17
18
|
import Ellipsis from "./components/Ellipsis.js";
|
|
19
|
+
import FileTrigger from "./components/FileTrigger.js";
|
|
18
20
|
import Form from "./components/Form.js";
|
|
19
21
|
import Grid from "./components/Grid.js";
|
|
20
22
|
import Icon from "./components/Icon/index.js";
|
|
@@ -77,4 +79,4 @@ import copyToClipboard from "./utils/copyToClipboard.js";
|
|
|
77
79
|
import formatDate from "./utils/formatDate.js";
|
|
78
80
|
import formatNumber from "./utils/formatNumber.js";
|
|
79
81
|
import numberWithCommas from "./utils/numberWithCommas.js";
|
|
80
|
-
export { Accordion, Audio, BarChart, Button, Calendar, Checkbox, Code, ComboBox, CommandMenu, DatePicker, DateRangePicker, DateRangeSelect, DocTable, Dot, DraftEditor, Dropdown, DropdownMenu, DropdownSelect, Editor, Ellipsis, Form, Grid, Icon, ImageViewer, InlineCode, InlineInput, InputHelpers as InputUtils, Label, LineChart, Menu, Message, MessageHr, Modal, MultiSelect, NumberInput, Pagination, PhoneInput, PieChart, Popover, PortalScope, Progress, Radio, RangeCalendar, ResetStyles, ScrollbarStyles, SearchInput, Select, Slider, Spinner, Table, Tabs, Tag, TextArea, TextInput, TimeInput, ToastStyles, Toggle, ToggleButton, ToggleButtonGroup, Tooltip, TransferList, Tree, UnstyledButton, colors, copyToClipboard, createEditorContent, darkScale, editorContentToText, formatDate, formatNumber, lightScale, marginProps, numberWithCommas, paddingProps, positionProps, theme, themeClasses, themeOptions, useConfirm, useCopy, useElementObserver, useEventListener, useOnClickOutside, usePrevious, useSelectAll, useWindowSize, widthHeightProps };
|
|
82
|
+
export { Accordion, Audio, BarChart, Button, Calendar, Checkbox, Code, ComboBox, CommandMenu, DatePicker, DateRangePicker, DateRangeSelect, DocTable, Dot, DraftEditor, DropZone, Dropdown, DropdownMenu, DropdownSelect, Editor, Ellipsis, FileTrigger, Form, Grid, Icon, ImageViewer, InlineCode, InlineInput, InputHelpers as InputUtils, Label, LineChart, Menu, Message, MessageHr, Modal, MultiSelect, NumberInput, Pagination, PhoneInput, PieChart, Popover, PortalScope, Progress, Radio, RangeCalendar, ResetStyles, ScrollbarStyles, SearchInput, Select, Slider, Spinner, Table, Tabs, Tag, TextArea, TextInput, TimeInput, ToastStyles, Toggle, ToggleButton, ToggleButtonGroup, Tooltip, TransferList, Tree, UnstyledButton, colors, copyToClipboard, createEditorContent, darkScale, editorContentToText, formatDate, formatNumber, lightScale, marginProps, numberWithCommas, paddingProps, positionProps, theme, themeClasses, themeOptions, useConfirm, useCopy, useElementObserver, useEventListener, useOnClickOutside, usePrevious, useSelectAll, useWindowSize, widthHeightProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavv/ui",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"@emotion/styled": "^11.14.1",
|
|
32
32
|
"@internationalized/date": "3.10.0",
|
|
33
33
|
"@react-hook/resize-observer": "^2.0.2",
|
|
34
|
-
"@tiptap/core": "^3.
|
|
35
|
-
"@tiptap/extension-character-count": "^3.
|
|
36
|
-
"@tiptap/extension-highlight": "^3.
|
|
37
|
-
"@tiptap/extension-placeholder": "^3.
|
|
38
|
-
"@tiptap/extension-task-item": "^3.
|
|
39
|
-
"@tiptap/extension-task-list": "^3.
|
|
40
|
-
"@tiptap/markdown": "^3.
|
|
41
|
-
"@tiptap/pm": "^3.
|
|
42
|
-
"@tiptap/react": "^3.
|
|
43
|
-
"@tiptap/starter-kit": "^3.
|
|
34
|
+
"@tiptap/core": "^3.11.0",
|
|
35
|
+
"@tiptap/extension-character-count": "^3.11.0",
|
|
36
|
+
"@tiptap/extension-highlight": "^3.11.0",
|
|
37
|
+
"@tiptap/extension-placeholder": "^3.11.0",
|
|
38
|
+
"@tiptap/extension-task-item": "^3.11.0",
|
|
39
|
+
"@tiptap/extension-task-list": "^3.11.0",
|
|
40
|
+
"@tiptap/markdown": "^3.11.0",
|
|
41
|
+
"@tiptap/pm": "^3.11.0",
|
|
42
|
+
"@tiptap/react": "^3.11.0",
|
|
43
|
+
"@tiptap/starter-kit": "^3.11.0",
|
|
44
44
|
"cmdk": "^1.1.1",
|
|
45
45
|
"date-fns": "^4.1.0",
|
|
46
46
|
"draft-js": "^0.11.7",
|
|
47
|
-
"es-toolkit": "^1.
|
|
48
|
-
"libphonenumber-js": "^1.12.
|
|
49
|
-
"lucide-react": "^0.
|
|
47
|
+
"es-toolkit": "^1.42.0",
|
|
48
|
+
"libphonenumber-js": "^1.12.27",
|
|
49
|
+
"lucide-react": "^0.554.0",
|
|
50
50
|
"polished": "^4.1.4",
|
|
51
51
|
"prism-react-renderer": "^2.4.1",
|
|
52
52
|
"react-aria": "3.44.0",
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"@babel/core": "^7.28.5",
|
|
62
62
|
"@babel/preset-env": "^7.28.5",
|
|
63
63
|
"@babel/preset-typescript": "^7.28.5",
|
|
64
|
-
"@biomejs/biome": "2.3.
|
|
65
|
-
"@chromatic-com/storybook": "^4.1.
|
|
64
|
+
"@biomejs/biome": "2.3.6",
|
|
65
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
66
66
|
"@emotion/babel-plugin": "^11.13.5",
|
|
67
67
|
"@emotion/react": "^11.14.0",
|
|
68
|
-
"@rsbuild/core": "1.6.
|
|
68
|
+
"@rsbuild/core": "1.6.7",
|
|
69
69
|
"@rsbuild/plugin-react": "^1.4.2",
|
|
70
70
|
"@rsbuild/plugin-svgr": "^1.2.2",
|
|
71
|
-
"@rslib/core": "^0.
|
|
71
|
+
"@rslib/core": "^0.18.0",
|
|
72
72
|
"@storybook/addon-docs": "^9.1.16",
|
|
73
73
|
"@storybook/addon-links": "^9.1.16",
|
|
74
74
|
"@storybook/addon-themes": "^9.1.16",
|
|
@@ -77,21 +77,21 @@
|
|
|
77
77
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
78
78
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
79
79
|
"@swc/plugin-emotion": "12.0.0",
|
|
80
|
-
"@types/draft-js": "^0.11.
|
|
80
|
+
"@types/draft-js": "^0.11.20",
|
|
81
81
|
"@types/jest": "^30.0.0",
|
|
82
82
|
"@types/ncp": "^2.0.8",
|
|
83
|
-
"@types/node": "^24.10.
|
|
83
|
+
"@types/node": "^24.10.1",
|
|
84
84
|
"@types/prompts": "^2.4.9",
|
|
85
85
|
"@types/randomcolor": "^0.5.9",
|
|
86
|
-
"@types/react": "^19.2.
|
|
87
|
-
"@types/react-dom": "^19.2.
|
|
86
|
+
"@types/react": "^19.2.6",
|
|
87
|
+
"@types/react-dom": "^19.2.3",
|
|
88
88
|
"@types/signale": "^1.4.7",
|
|
89
89
|
"@types/webfontloader": "^1.6.38",
|
|
90
90
|
"chalk": "^5.6.2",
|
|
91
91
|
"change-case": "^5.4.4",
|
|
92
|
-
"chromatic": "^13.3.
|
|
92
|
+
"chromatic": "^13.3.4",
|
|
93
93
|
"jest": "^30.2.0",
|
|
94
|
-
"lefthook": "^2.0.
|
|
94
|
+
"lefthook": "^2.0.4",
|
|
95
95
|
"ncp": "^2.0.0",
|
|
96
96
|
"path": "^0.12.7",
|
|
97
97
|
"phone": "^3.1.67",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"replace": "^1.2.2",
|
|
106
106
|
"signale": "^1.4.0",
|
|
107
107
|
"storybook": "^9.1.16",
|
|
108
|
-
"storybook-react-rsbuild": "^2.1.
|
|
108
|
+
"storybook-react-rsbuild": "^2.1.6",
|
|
109
109
|
"tsc-files": "^1.1.4",
|
|
110
110
|
"tslib": "^2.8.1",
|
|
111
111
|
"tsx": "^4.20.6",
|