@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 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';
@@ -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';
@@ -14,3 +14,4 @@ export const DropdownMenu = forwardRef(({ className, children, ...otherProps },
14
14
  })));
15
15
  })))));
16
16
  });
17
+ DropdownMenu.displayName = 'Dropdown.Menu';
@@ -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;
@@ -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';
@@ -19,3 +19,4 @@ export const InputGroup = forwardRef(({ className, input, end, start, label, dim
19
19
  dimension
20
20
  }))))));
21
21
  });
22
+ InputGroup.displayName = 'InputGroup';
@@ -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';
@@ -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
@@ -26,4 +26,5 @@ export const Modal = forwardRef(({ visible, ...otherProps }, forwardedRef) => {
26
26
  }
27
27
  return (React.createElement(ModalElement, { ref: forwardedRef, ...otherProps }));
28
28
  });
29
+ Modal.displayName = 'Modal';
29
30
  Modal.Content = ModalContent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wonderflow/react-components",
3
3
  "description": "UI components from Wonderflow's Wanda design system",
4
- "version": "2.39.5-next.3",
4
+ "version": "2.40.0-next.1",
5
5
  "author": "Wonderflow",
6
6
  "license": "MIT",
7
7
  "main": "index.js",
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';
@@ -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';
@@ -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
@@ -17,3 +17,4 @@ export const TabItem = forwardRef(({ children, className, icon, ...otherProps },
17
17
  icon && React.createElement(Icon, { name: icon, dimension: 16 }),
18
18
  children));
19
19
  });
20
+ TabItem.displayName = 'Tab.Item';
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
@@ -8,3 +8,4 @@ export const TabPanel = forwardRef(({ children, className, ...otherProps }, forw
8
8
  ? (React.createElement("div", { ref: forwardedRef, tabIndex: 0, className: clsx(TabPanelClass, className), ...otherProps }, children))
9
9
  : null;
10
10
  });
11
+ TabPanel.displayName = 'Tab.Panel';
package/tab/tab.js CHANGED
@@ -25,6 +25,7 @@ export const Tab = forwardRef(({ children, className, state, onChange, ...otherP
25
25
  'aria-labelledby': seedID(`tab-item-${index}`)
26
26
  })))));
27
27
  });
28
+ Tab.displayName = 'Tab';
28
29
  Tab.Panel = TabPanel;
29
30
  Tab.Item = TabItem;
30
31
  Tab.List = TabList;
@@ -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
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 13 Dec 2021 16:09:51 GMT
3
+ * Generated on Mon, 13 Dec 2021 16:40:16 GMT
4
4
  */
5
5
 
6
6
  :root {
package/themes/light.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 13 Dec 2021 16:09:51 GMT
3
+ * Generated on Mon, 13 Dec 2021 16:40:16 GMT
4
4
  */
5
5
 
6
6
  :root {
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:09:51 GMT
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:09:51 GMT
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:09:51 GMT
102
+ * Generated on Mon, 13 Dec 2021 16:40:16 GMT
103
103
  */
104
104
 
105
105