@wonderflow/react-components 2.39.5-next.3 → 2.40.0-next.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/avatar/avatar.js +1 -0
- package/chip/chip.js +1 -0
- package/circular-progress/circular-progress.js +1 -0
- package/disclosure/disclosure.js +1 -0
- package/dropdown/dropdown-item.js +2 -0
- package/dropdown/dropdown-menu.js +1 -0
- package/dropdown/dropdown.js +1 -0
- package/grid/grid.js +1 -0
- package/info-state/info-state.js +1 -0
- package/input-group/input-group.js +1 -0
- package/linear-progress/linear-progress.js +1 -0
- package/modal/modal-content.js +1 -0
- package/modal/modal.js +1 -0
- package/package.json +1 -1
- package/select/select.js +1 -0
- package/selection-controls/checkbox.js +1 -0
- package/selection-controls/radio.js +1 -0
- package/selection-controls/toggle.js +1 -0
- package/separator/separator.js +1 -0
- package/slider/slider.js +1 -0
- package/spinner/spinner.js +1 -0
- package/tab/tab-item.js +1 -0
- package/tab/tab-list.js +1 -0
- package/tab/tab-panel.js +1 -0
- package/tab/tab.js +1 -0
- package/textfield/textfield.js +1 -0
- package/themes/dark.css +1 -1
- package/themes/light.css +1 -1
- package/themes.css +3 -3
package/avatar/avatar.js
CHANGED
|
@@ -8,3 +8,4 @@ export const Avatar = forwardRef(({ className, src, dimension = 'regular', ...ot
|
|
|
8
8
|
React.createElement("path", { d: "M8.4 9H3.6C1.612 9 0 10.575 0 12.531v5.126C1.814 18.517 3.85 19 6 19s4.186-.483 6-1.343v-5.126C12 10.581 10.394 9 8.4 9z", fill: "var(--highlight-blue-foreground)" })),
|
|
9
9
|
src && (React.createElement("img", { ref: forwardedRef, alt: "", src: src, ...otherProps }))));
|
|
10
10
|
});
|
|
11
|
+
Avatar.displayName = 'Avatar';
|
package/chip/chip.js
CHANGED
|
@@ -19,3 +19,4 @@ export const Chip = forwardRef(({ children, className, dimension = 'regular', co
|
|
|
19
19
|
interactive && (React.createElement("button", { onClick: interactive && onDismissClick, className: Action, type: "button" },
|
|
20
20
|
React.createElement(Icon, { name: "xmark", dimension: properties[dimension].iconSize })))));
|
|
21
21
|
});
|
|
22
|
+
Chip.displayName = 'Chip';
|
|
@@ -9,3 +9,4 @@ export const CircularProgress = forwardRef(({ className, value, max = 100, dimen
|
|
|
9
9
|
};
|
|
10
10
|
return (React.createElement("div", { ref: forwardedRef, role: "progressbar", "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": max, className: clsx(CircularProgressClass, className), "data-circular-progress": clamp(getPercentage(), 0, 100), "data-circular-progress-dimension": dimension, "data-circular-progress-show-progress": showProgress, style: { ...dynamicStyle, ...style }, ...otherProps }));
|
|
11
11
|
});
|
|
12
|
+
CircularProgress.displayName = 'CircularProgress';
|
package/disclosure/disclosure.js
CHANGED
|
@@ -30,3 +30,4 @@ export const Disclosure = forwardRef(({ children, open = false, padding = true,
|
|
|
30
30
|
expandable && (React.createElement(Icon, { className: ExpandIcon, name: "chevron-right", dimension: dimension !== 'big' ? 16 : 24 }))),
|
|
31
31
|
renderContent()));
|
|
32
32
|
});
|
|
33
|
+
Disclosure.displayName = 'Disclosure';
|
|
@@ -21,4 +21,6 @@ export const DropdownItem = forwardRef(({ className, children, onClick, icon, di
|
|
|
21
21
|
? (React.createElement(Tooltip, { fill: true, show: focused, placement: "right-start", trigger: InnerContent }, description))
|
|
22
22
|
: InnerContent));
|
|
23
23
|
});
|
|
24
|
+
DropdownItem.displayName = 'Dropdown.Item';
|
|
24
25
|
export const DropdownItemCheckbox = forwardRef(({ children, checked, ...props }, forwardedRef) => React.createElement(DropdownItem, { role: "menuitemcheckbox", "aria-checked": checked, ref: forwardedRef, ...props }, children));
|
|
26
|
+
DropdownItemCheckbox.displayName = 'Dropdown.ItemCheckbox';
|
package/dropdown/dropdown.js
CHANGED
|
@@ -47,6 +47,7 @@ export const Dropdown = forwardRef(({ className, children, trigger, offset = 8,
|
|
|
47
47
|
'aria-labelledby': seedID('dropdown-trigger')
|
|
48
48
|
}))))))));
|
|
49
49
|
});
|
|
50
|
+
Dropdown.displayName = 'Dropdown';
|
|
50
51
|
Dropdown.Menu = DropdownMenu;
|
|
51
52
|
Dropdown.Item = DropdownItem;
|
|
52
53
|
Dropdown.ItemCheckbox = DropdownItemCheckbox;
|
package/grid/grid.js
CHANGED
|
@@ -14,4 +14,5 @@ export const Grid = forwardRef(({ className, children, columns, rows, rowGap = 8
|
|
|
14
14
|
};
|
|
15
15
|
return (React.createElement("ul", { className: clsx(GridClass, className), style: { ...computedStyle, ...style }, "data-grid-filling-type": filling, ref: forwardedRef, ...otherProps }, children));
|
|
16
16
|
});
|
|
17
|
+
Grid.displayName = 'Grid';
|
|
17
18
|
Grid.Item = GridItem;
|
package/info-state/info-state.js
CHANGED
|
@@ -12,3 +12,4 @@ export const InfoState = forwardRef(({ className, children, title, icon, image,
|
|
|
12
12
|
React.createElement(Text, { maxWidth: "60ch", dimmed: 6, textAlign: isHorizontal ? 'start' : 'center' }, children),
|
|
13
13
|
actions && (React.createElement(Stack, { verticalPadding: 16, inline: true, direction: "row", columnGap: 16, rowGap: 16, wrap: true }, actions)))));
|
|
14
14
|
});
|
|
15
|
+
InfoState.displayName = 'InfoState';
|
|
@@ -12,3 +12,4 @@ export const LinearProgress = forwardRef(({ className, value, max = 100, dimensi
|
|
|
12
12
|
'--translation': value !== 0 ? '-100%' : '-50%'
|
|
13
13
|
}, weight: "bold", size: dimension === 'regular' ? 16 : 18 }, value && clamp(getPercentage(), 0, 100)))));
|
|
14
14
|
});
|
|
15
|
+
LinearProgress.displayName = 'LinearProgress';
|
package/modal/modal-content.js
CHANGED
|
@@ -12,3 +12,4 @@ export const ModalContent = forwardRef(({ children, className, title, ...otherPr
|
|
|
12
12
|
onClose && React.createElement(IconButton, { onClick: onClose, className: CloseButton, icon: "xmark", kind: "flat" })),
|
|
13
13
|
children)));
|
|
14
14
|
});
|
|
15
|
+
ModalContent.displayName = 'Modal.Content';
|
package/modal/modal.js
CHANGED
package/package.json
CHANGED
package/select/select.js
CHANGED
|
@@ -16,3 +16,4 @@ export const Select = forwardRef(({ children, className, disabled = false, icon
|
|
|
16
16
|
React.createElement("select", { disabled: disabled, className: Field, id: uid('select'), multiple: kind === 'multiple', onChange: onChange, ref: forwardedRef, ...otherProps }, children),
|
|
17
17
|
kind === 'single' && (React.createElement(Icon, { className: IconClass, name: icon, dimension: iconSizes[dimension] })))));
|
|
18
18
|
});
|
|
19
|
+
Select.displayName = 'Select';
|
|
@@ -4,3 +4,4 @@ import { Checkbox as CheckboxClass } from './selection-controls.module.css';
|
|
|
4
4
|
export const Checkbox = forwardRef(({ className, disabled, dimension = 'regular', onChange, indeterminate, ...otherProps }, forwardedRef) => {
|
|
5
5
|
return (React.createElement("input", { type: "checkbox", disabled: disabled, "aria-disabled": disabled, "data-control-dimension": dimension, "data-control-indeterminate": indeterminate, onChange: onChange, className: clsx(CheckboxClass, className), ref: forwardedRef, ...otherProps }));
|
|
6
6
|
});
|
|
7
|
+
Checkbox.displayName = 'Checkbox';
|
|
@@ -4,3 +4,4 @@ import { Radio as RadioClass } from './selection-controls.module.css';
|
|
|
4
4
|
export const Radio = forwardRef(({ className, disabled, dimension = 'regular', onChange, ...otherProps }, forwardedRef) => {
|
|
5
5
|
return (React.createElement("input", { type: "radio", disabled: disabled, "aria-disabled": disabled, "data-control-dimension": dimension, onChange: onChange, className: clsx(RadioClass, className), ref: forwardedRef, ...otherProps }));
|
|
6
6
|
});
|
|
7
|
+
Radio.displayName = 'Radio';
|
|
@@ -4,3 +4,4 @@ import { Toggle as ToggleClass } from './selection-controls.module.css';
|
|
|
4
4
|
export const Toggle = forwardRef(({ className, disabled, dimension = 'regular', onChange, ...otherProps }, forwardedRef) => {
|
|
5
5
|
return (React.createElement("input", { type: "checkbox", disabled: disabled, "aria-disabled": disabled, "data-control-dimension": dimension, onChange: onChange, className: clsx(ToggleClass, className), ref: forwardedRef, ...otherProps }));
|
|
6
6
|
});
|
|
7
|
+
Toggle.displayName = 'Toggle';
|
package/separator/separator.js
CHANGED
|
@@ -4,3 +4,4 @@ import { Separator as SeparatorClass } from './separator.module.css';
|
|
|
4
4
|
export const Separator = forwardRef(({ className, ...otherProps }, forwardedRef) => {
|
|
5
5
|
return (React.createElement("hr", { ref: forwardedRef, className: clsx(SeparatorClass, className), ...otherProps }));
|
|
6
6
|
});
|
|
7
|
+
Separator.displayName = 'Separator';
|
package/slider/slider.js
CHANGED
|
@@ -16,3 +16,4 @@ export const Slider = forwardRef(({ min = 0, max = 100, step, onInput, className
|
|
|
16
16
|
showValues && React.createElement(Text, { as: "span", size: isSmall ? 14 : 16, weight: "bold", className: Value }, max),
|
|
17
17
|
(iconMax && !showValues) && React.createElement(Icon, { name: iconMax, dimension: isSmall ? 16 : 24 })));
|
|
18
18
|
});
|
|
19
|
+
Slider.displayName = 'Slider';
|
package/spinner/spinner.js
CHANGED
|
@@ -23,3 +23,4 @@ export const Spinner = forwardRef(({ className, style, color, dimension = 'big'
|
|
|
23
23
|
React.createElement("path", { d: "M36 18c0-9.94-8.06-18-18-18" },
|
|
24
24
|
React.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 18 18", to: "360 18 18", dur: "1s", repeatCount: "indefinite" })))));
|
|
25
25
|
});
|
|
26
|
+
Spinner.displayName = 'Spinner';
|
package/tab/tab-item.js
CHANGED
package/tab/tab-list.js
CHANGED
|
@@ -4,3 +4,4 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { TabList as TabListClass } from './tab.module.css';
|
|
5
5
|
export const TabList = forwardRef(({ children, className, ...otherProps }, forwardedRef) => (React.createElement("div", { ref: forwardedRef, role: "tablist", tabIndex: -1, className: clsx(TabListClass, className), ...otherProps },
|
|
6
6
|
React.createElement(RovingTabIndexProvider, null, children))));
|
|
7
|
+
TabList.displayName = 'Tab.List';
|
package/tab/tab-panel.js
CHANGED
package/tab/tab.js
CHANGED
package/textfield/textfield.js
CHANGED
|
@@ -36,3 +36,4 @@ export const Textfield = forwardRef(({ children, className, disabled = false, ic
|
|
|
36
36
|
isPassword && (React.createElement(IconButton, { className: IconButtonClass, dimension: actionSizes[dimension], onClick: handlePasswordVisibility, kind: "flat", "aria-label": "Reveal password", icon: passwordVisible ? 'eye-slash' : 'eye' })),
|
|
37
37
|
!textarea && icon && type !== 'password' && (React.createElement(Icon, { className: IconClass, name: icon, dimension: iconSizes[dimension] })))));
|
|
38
38
|
});
|
|
39
|
+
Textfield.displayName = 'Textfield';
|
package/themes/dark.css
CHANGED
package/themes/light.css
CHANGED
package/themes.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
color: var(--global-foreground);
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on Mon, 13 Dec 2021 16:
|
|
7
|
+
* Generated on Mon, 13 Dec 2021 16:40:16 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
color: var(--global-foreground);
|
|
52
52
|
/**
|
|
53
53
|
* Do not edit directly
|
|
54
|
-
* Generated on Mon, 13 Dec 2021 16:
|
|
54
|
+
* Generated on Mon, 13 Dec 2021 16:40:16 GMT
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
color: var(--global-foreground);
|
|
100
100
|
/**
|
|
101
101
|
* Do not edit directly
|
|
102
|
-
* Generated on Mon, 13 Dec 2021 16:
|
|
102
|
+
* Generated on Mon, 13 Dec 2021 16:40:16 GMT
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|