@wavv/ui 2.2.3 → 2.2.4

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.
Files changed (59) hide show
  1. package/build/assets/icons/Checkbox.js +3 -3
  2. package/build/assets/icons/Exclamation.js +3 -3
  3. package/build/assets/icons/PhoneEnd.js +3 -3
  4. package/build/assets/icons/PhoneForward.js +3 -3
  5. package/build/assets/icons/PhoneHold.js +3 -3
  6. package/build/assets/icons/Record.js +3 -3
  7. package/build/assets/icons/ShieldWavv.js +3 -3
  8. package/build/components/Accordion/Header.js +4 -4
  9. package/build/components/Audio.js +3 -3
  10. package/build/components/CalendarParts/CalendarHeader.js +3 -3
  11. package/build/components/CalendarParts/useMinMax.js +3 -3
  12. package/build/components/Code/Code.js +3 -3
  13. package/build/components/Code/Endpoint.js +3 -3
  14. package/build/components/CommandMenu/CommandMenu.js +3 -3
  15. package/build/components/CommandMenu/CommandSection.js +3 -3
  16. package/build/components/Dot.js +3 -3
  17. package/build/components/DraftEditor.js +3 -3
  18. package/build/components/Dropdown.js +3 -3
  19. package/build/components/DropdownMenuParts/MenuOptions.js +3 -3
  20. package/build/components/DropdownSelect.js +3 -3
  21. package/build/components/Editor/RichTextToolbar.js +3 -3
  22. package/build/components/Focusable.js +3 -3
  23. package/build/components/Form.js +9 -9
  24. package/build/components/Grid.js +3 -3
  25. package/build/components/Icon/customIcons.js +3 -3
  26. package/build/components/ImageViewer.js +3 -3
  27. package/build/components/InlineCode.js +3 -3
  28. package/build/components/Inputs/InlineInput.js +3 -3
  29. package/build/components/Inputs/PhoneInput.js +3 -3
  30. package/build/components/Inputs/TextInput.js +3 -3
  31. package/build/components/Inputs/helpers/LabelWrapper.js +3 -3
  32. package/build/components/Inputs/helpers/useDynamicWidth.js +3 -3
  33. package/build/components/ListHelpers/ItemHeaderBody.js +3 -3
  34. package/build/components/ListHelpers/ListSection.js +3 -3
  35. package/build/components/MultiSelect/SearchDropdown.js +3 -3
  36. package/build/components/Pagination.js +3 -3
  37. package/build/components/Popover.js +3 -3
  38. package/build/components/Radio.js +3 -3
  39. package/build/components/Slider.js +3 -3
  40. package/build/components/Table/Body.js +3 -3
  41. package/build/components/Table/ColumnSort.js +3 -3
  42. package/build/components/Table/Header.js +3 -3
  43. package/build/components/Table/Resizer.js +3 -3
  44. package/build/components/Table/contentStyles.js +3 -3
  45. package/build/components/ToggleButton/ToggleButton.js +3 -3
  46. package/build/components/UnstyledButton.js +3 -3
  47. package/build/components/helpers/mergePadding.js +3 -3
  48. package/build/global-styles/ResetStyles.js +3 -3
  49. package/build/hooks/useControlledOpenState.js +3 -3
  50. package/build/hooks/useOnClickOutside.js +3 -3
  51. package/build/hooks/useWindowSize.js +3 -3
  52. package/build/theme/core/dark/dark.js +3 -3
  53. package/build/theme/core/light/light.js +3 -3
  54. package/build/theme/eighties/dark/dark.js +3 -3
  55. package/build/theme/eighties/light/light.js +3 -3
  56. package/build/utils/chunk.js +3 -3
  57. package/build/utils/copyToClipboard.js +3 -3
  58. package/build/utils/formatNumber.js +3 -3
  59. package/package.json +24 -24
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- function Checkbox_Checkbox(props) {
2
+ function Checkbox(props) {
3
3
  return /*#__PURE__*/ jsx("svg", {
4
4
  viewBox: "0 0 24 24",
5
5
  fill: "none",
@@ -11,5 +11,5 @@ function Checkbox_Checkbox(props) {
11
11
  })
12
12
  });
13
13
  }
14
- const Checkbox = Checkbox_Checkbox;
15
- export { Checkbox as default };
14
+ const icons_Checkbox = Checkbox;
15
+ export { icons_Checkbox as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const Exclamation_Exclamation = (props)=>/*#__PURE__*/ jsxs("svg", {
2
+ const Exclamation = (props)=>/*#__PURE__*/ jsxs("svg", {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -21,5 +21,5 @@ const Exclamation_Exclamation = (props)=>/*#__PURE__*/ jsxs("svg", {
21
21
  })
22
22
  ]
23
23
  });
24
- const Exclamation = Exclamation_Exclamation;
25
- export { Exclamation as default };
24
+ const icons_Exclamation = Exclamation;
25
+ export { icons_Exclamation as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const PhoneEnd_PhoneEnd = (props)=>/*#__PURE__*/ jsxs("svg", {
2
+ const PhoneEnd = (props)=>/*#__PURE__*/ jsxs("svg", {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -24,5 +24,5 @@ const PhoneEnd_PhoneEnd = (props)=>/*#__PURE__*/ jsxs("svg", {
24
24
  })
25
25
  ]
26
26
  });
27
- const PhoneEnd = PhoneEnd_PhoneEnd;
28
- export { PhoneEnd as default };
27
+ const icons_PhoneEnd = PhoneEnd;
28
+ export { icons_PhoneEnd as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const PhoneForward_PhoneForward = (props)=>/*#__PURE__*/ jsxs("svg", {
2
+ const PhoneForward = (props)=>/*#__PURE__*/ jsxs("svg", {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -18,5 +18,5 @@ const PhoneForward_PhoneForward = (props)=>/*#__PURE__*/ jsxs("svg", {
18
18
  })
19
19
  ]
20
20
  });
21
- const PhoneForward = PhoneForward_PhoneForward;
22
- export { PhoneForward as default };
21
+ const icons_PhoneForward = PhoneForward;
22
+ export { icons_PhoneForward as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const PhoneHold_PhoneHold = (props)=>/*#__PURE__*/ jsxs("svg", {
2
+ const PhoneHold = (props)=>/*#__PURE__*/ jsxs("svg", {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -18,5 +18,5 @@ const PhoneHold_PhoneHold = (props)=>/*#__PURE__*/ jsxs("svg", {
18
18
  })
19
19
  ]
20
20
  });
21
- const PhoneHold = PhoneHold_PhoneHold;
22
- export { PhoneHold as default };
21
+ const icons_PhoneHold = PhoneHold;
22
+ export { icons_PhoneHold as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- function Record_Record(props) {
2
+ function Record(props) {
3
3
  return /*#__PURE__*/ jsx("svg", {
4
4
  viewBox: "0 0 24 24",
5
5
  fill: "none",
@@ -14,5 +14,5 @@ function Record_Record(props) {
14
14
  })
15
15
  });
16
16
  }
17
- const Record = Record_Record;
18
- export { Record as default };
17
+ const icons_Record = Record;
18
+ export { icons_Record as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const ShieldWavv_ShieldWavv = (props)=>/*#__PURE__*/ jsxs("svg", {
2
+ const ShieldWavv = (props)=>/*#__PURE__*/ jsxs("svg", {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -26,5 +26,5 @@ const ShieldWavv_ShieldWavv = (props)=>/*#__PURE__*/ jsxs("svg", {
26
26
  })
27
27
  ]
28
28
  });
29
- const ShieldWavv = ShieldWavv_ShieldWavv;
30
- export { ShieldWavv as default };
29
+ const icons_ShieldWavv = ShieldWavv;
30
+ export { icons_ShieldWavv as default };
@@ -8,7 +8,7 @@ import isPropAllowed from "../helpers/isPropAllowed.js";
8
8
  import { paddingProps } from "../helpers/styledProps.js";
9
9
  import Icon from "../Icon/index.js";
10
10
  import AriaButton from "../Inputs/helpers/AriaButton.js";
11
- const Header_Header = ({ children, triggerIconPosition = 'right', background, title, iconLeft, iconRight, ...props })=>{
11
+ const Header = ({ children, triggerIconPosition = 'right', background, title, iconLeft, iconRight, ...props })=>{
12
12
  const triggerRef = useRef(null);
13
13
  return /*#__PURE__*/ jsxs(HeaderContainer, {
14
14
  onClick: ()=>triggerRef.current?.click(),
@@ -81,6 +81,6 @@ const Content = styled.div({
81
81
  alignItems: 'center',
82
82
  flexGrow: 1
83
83
  });
84
- Header_Header.displayName = 'Accordion.Header';
85
- const Header = Header_Header;
86
- export { Header as default };
84
+ Header.displayName = 'Accordion.Header';
85
+ const Accordion_Header = Header;
86
+ export { Accordion_Header as default };
@@ -5,7 +5,7 @@ import Button from "./Button/index.js";
5
5
  import { marginProps } from "./helpers/styledProps.js";
6
6
  import Slider from "./Slider.js";
7
7
  import Waveform from "./Waveform.js";
8
- const Audio_Audio = ({ src, title, width, infoPosition, centerAlignContent, small, tiny, iconOnly, buttonProps, collapsed, hideSliderOnStop, hideTimeOnStop, hideCurrentTime, fontSizeTitle, fontSizeTime, fallbackDuration, waveform, onPlay, onPause, onStop, ref, ...rest })=>{
8
+ const Audio = ({ src, title, width, infoPosition, centerAlignContent, small, tiny, iconOnly, buttonProps, collapsed, hideSliderOnStop, hideTimeOnStop, hideCurrentTime, fontSizeTitle, fontSizeTime, fallbackDuration, waveform, onPlay, onPause, onStop, ref, ...rest })=>{
9
9
  const [isPlaying, setIsPlaying] = useState(false);
10
10
  const [isCleared, setIsCleared] = useState(true);
11
11
  const [progress, setProgress] = useState(0);
@@ -244,5 +244,5 @@ const Data = styled.div(({ theme, secondary, fontSize })=>({
244
244
  color: secondary ? theme.scale6 : theme.scale10,
245
245
  fontSize: fontSize || 10
246
246
  }), marginProps);
247
- const Audio = Audio_Audio;
248
- export { Audio as default };
247
+ const components_Audio = Audio;
248
+ export { components_Audio as default };
@@ -6,7 +6,7 @@ import { range } from "es-toolkit";
6
6
  import Icon from "../Icon/index.js";
7
7
  import AriaButton from "../Inputs/helpers/AriaButton.js";
8
8
  import Select from "../Select.js";
9
- const CalendarHeader_CalendarHeader = ({ date, setDate })=>{
9
+ const CalendarHeader = ({ date, setDate })=>{
10
10
  const { calendar } = useTheme();
11
11
  const months = [
12
12
  {
@@ -142,5 +142,5 @@ const NavButton = styled(AriaButton)(({ theme })=>({
142
142
  cursor: 'not-allowed'
143
143
  }
144
144
  }));
145
- const CalendarHeader = CalendarHeader_CalendarHeader;
146
- export { CalendarHeader as default };
145
+ const CalendarParts_CalendarHeader = CalendarHeader;
146
+ export { CalendarParts_CalendarHeader as default };
@@ -1,7 +1,7 @@
1
1
  import { useMemo } from "react";
2
2
  import { getNow, getObjFromDate } from "./utils.js";
3
3
  const now = getNow();
4
- const useMinMax_useMinMax = ({ past, future })=>{
4
+ const useMinMax = ({ past, future })=>{
5
5
  const min = useMemo(()=>{
6
6
  if (true === past) return now;
7
7
  if (past instanceof Date) return getObjFromDate(past);
@@ -19,5 +19,5 @@ const useMinMax_useMinMax = ({ past, future })=>{
19
19
  max
20
20
  };
21
21
  };
22
- const useMinMax = useMinMax_useMinMax;
23
- export { useMinMax as default };
22
+ const CalendarParts_useMinMax = useMinMax;
23
+ export { CalendarParts_useMinMax as default };
@@ -7,7 +7,7 @@ import { Highlight, themes } from "prism-react-renderer";
7
7
  import { marginProps } from "../helpers/styledProps.js";
8
8
  import Copy from "./Copy.js";
9
9
  import Endpoint from "./Endpoint.js";
10
- const Code_Code = ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft })=>{
10
+ const Code = ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft })=>{
11
11
  const { name: themeName } = useTheme();
12
12
  const rest = {
13
13
  margin,
@@ -113,5 +113,5 @@ const LineNumber = styled.span(({ theme })=>({
113
113
  color: theme.scale6,
114
114
  userSelect: 'none'
115
115
  }));
116
- const Code = Code_Code;
117
- export { Code as default };
116
+ const Code_Code = Code;
117
+ export { Code_Code as default };
@@ -32,7 +32,7 @@ const getStyles = (method, theme)=>{
32
32
  };
33
33
  }
34
34
  };
35
- const Endpoint_Endpoint = ({ method, url })=>{
35
+ const Endpoint = ({ method, url })=>{
36
36
  const theme = useTheme();
37
37
  const styles = getStyles(method.toUpperCase(), theme);
38
38
  return /*#__PURE__*/ jsxs(Container, {
@@ -78,5 +78,5 @@ const Url = styled.div(({ theme })=>({
78
78
  fontSize: theme.font.size.lg,
79
79
  padding: theme.size.md
80
80
  }));
81
- const Endpoint = Endpoint_Endpoint;
82
- export { Endpoint as default };
81
+ const Code_Endpoint = Endpoint;
82
+ export { Code_Endpoint as default };
@@ -10,7 +10,7 @@ import InputContainerStyles from "../Inputs/helpers/InputContainerStyles.js";
10
10
  import InputStyles from "../Inputs/helpers/InputStyles.js";
11
11
  import ListStyles from "../ListHelpers/ListStyles.js";
12
12
  import CommandOptions from "./CommandOptions.js";
13
- const CommandMenu_CommandMenu = ({ options, inputProps, modalProps, triggerRef, position, offset, open, onChange, setOpen, ...props })=>{
13
+ const CommandMenu = ({ options, inputProps, modalProps, triggerRef, position, offset, open, onChange, setOpen, ...props })=>{
14
14
  const [search, setSearch] = useState('');
15
15
  const listRef = useRef(null);
16
16
  const scrollId = useRef(null);
@@ -132,5 +132,5 @@ const Overlay = styled(ModalOverlay)(({ overlayColor, overlayBlur = true, zIndex
132
132
  backgroundColor: overlayColor || 'rgba(0, 0, 0, 0.2)',
133
133
  backdropFilter: overlayBlur ? `blur(${'number' == typeof overlayBlur ? overlayBlur : 4}px)` : 'none'
134
134
  }));
135
- const CommandMenu = CommandMenu_CommandMenu;
136
- export { CommandMenu as default };
135
+ const CommandMenu_CommandMenu = CommandMenu;
136
+ export { CommandMenu_CommandMenu as default };
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import styled from "@emotion/styled";
3
3
  import { Command } from "cmdk";
4
- const CommandSection_CommandSection = ({ id, title, children })=>/*#__PURE__*/ jsx(Section, {
4
+ const CommandSection = ({ id, title, children })=>/*#__PURE__*/ jsx(Section, {
5
5
  id: id,
6
6
  heading: title,
7
7
  children: children
@@ -15,5 +15,5 @@ const Section = styled(Command.Group)(({ theme })=>({
15
15
  pointerEvents: 'none'
16
16
  }
17
17
  }));
18
- const CommandSection = CommandSection_CommandSection;
19
- export { CommandSection as default };
18
+ const CommandMenu_CommandSection = CommandSection;
19
+ export { CommandMenu_CommandSection as default };
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useTheme } from "@emotion/react";
3
3
  import styled from "@emotion/styled";
4
4
  import { marginProps, positionProps } from "./helpers/styledProps.js";
5
- const Dot_Dot = ({ children, type, color, size = 'tiny', ...props })=>{
5
+ const Dot = ({ children, type, color, size = 'tiny', ...props })=>{
6
6
  const theme = useTheme();
7
7
  let dotColor = color || theme.color.brand;
8
8
  let dotSize = size;
@@ -56,5 +56,5 @@ const StyledDot = styled.div(({ theme: { font, scale10 }, color, size, textColor
56
56
  fontSize: font.size.sm,
57
57
  color: textColor || scale10
58
58
  }), marginProps, positionProps);
59
- const Dot = Dot_Dot;
60
- export { Dot as default };
59
+ const components_Dot = Dot;
60
+ export { components_Dot as default };
@@ -5,7 +5,7 @@ import { isEqual } from "es-toolkit/predicate";
5
5
  import { useEffect, useImperativeHandle, useRef, useState } from "react";
6
6
  import { createStateWithContent, getEntities, getFocusStateAtEnd, getPastedState, getRawState, hasMissingEntities, insertFieldEntity } from "./draftUtils.js";
7
7
  import { Description, InputContainer, InputWrapper, Label, isInputFilled, useInputFocus } from "./InputHelpers.js";
8
- const DraftEditor_DraftEditor = ({ value, onChange, onEnterKey, onFocus, onBlur, mergeFields = [], placeholder = 'Text...', description, invalid, width, height, maxHeight, noPadding = false, readOnly = false, displayMergedValues = false, color, overflow, clampLines, label, disabled, borderRadius, backgroundColor, fontSize, textOnly, margin, marginLeft, marginRight, marginTop, marginBottom, ref, className, ...rest })=>{
8
+ const DraftEditor = ({ value, onChange, onEnterKey, onFocus, onBlur, mergeFields = [], placeholder = 'Text...', description, invalid, width, height, maxHeight, noPadding = false, readOnly = false, displayMergedValues = false, color, overflow, clampLines, label, disabled, borderRadius, backgroundColor, fontSize, textOnly, margin, marginLeft, marginRight, marginTop, marginBottom, ref, className, ...rest })=>{
9
9
  const [editorState, setEditorState] = useState(()=>createStateWithContent(value, mergeFields, displayMergedValues));
10
10
  const { focused, handleFocus, handleBlur } = useInputFocus(onFocus, onBlur);
11
11
  const [missingField, setMissingField] = useState(false);
@@ -184,5 +184,5 @@ const EditorContainer = styled(InputContainer)(({ theme, height, noPadding, disa
184
184
  }
185
185
  };
186
186
  });
187
- const DraftEditor = DraftEditor_DraftEditor;
188
- export { DraftEditor as default };
187
+ const components_DraftEditor = DraftEditor;
188
+ export { components_DraftEditor as default };
@@ -10,7 +10,7 @@ import GridListItem from "./ListBoxParts/GridListItem.js";
10
10
  import GridListSection from "./ListHelpers/GridListSection.js";
11
11
  import ListStyles from "./ListHelpers/ListStyles.js";
12
12
  import MotionPopover from "./MotionPopover.js";
13
- const Dropdown_Dropdown = ({ children, before, after, open, label, placeholder = 'Select', options = [], width, height, value, defaultValue, loading, hideCaret, color, disabled, readOnly, placeholderColor, fontSize, fontWeight, description, errorMessage, position, backgroundColor, menuBackground, iconLeft, leftElement, rightElement, onChange, onOpenChange, afterShow, afterHide, ...props })=>{
13
+ const Dropdown = ({ children, before, after, open, label, placeholder = 'Select', options = [], width, height, value, defaultValue, loading, hideCaret, color, disabled, readOnly, placeholderColor, fontSize, fontWeight, description, errorMessage, position, backgroundColor, menuBackground, iconLeft, leftElement, rightElement, onChange, onOpenChange, afterShow, afterHide, ...props })=>{
14
14
  const [isOpen, handleOpenChange] = useControlledOpenState({
15
15
  open,
16
16
  onOpenChange,
@@ -124,7 +124,7 @@ const InputWrapper = styled(AriaButton)(({ theme: { input }, isDisabled, backgro
124
124
  }));
125
125
  const MenuContainer = styled.div(ListStyles);
126
126
  const Item = GridListItem;
127
- const Dropdown = Object.assign(Dropdown_Dropdown, {
127
+ const components_Dropdown = Object.assign(Dropdown, {
128
128
  Item
129
129
  });
130
- export { Dropdown as default };
130
+ export { components_Dropdown as default };
@@ -4,7 +4,7 @@ import { Menu } from "react-aria-components";
4
4
  import ListSection from "../ListHelpers/ListSection.js";
5
5
  import ListStyles, { preventProps } from "../ListHelpers/ListStyles.js";
6
6
  import MenuItem from "./MenuItem.js";
7
- const MenuOptions_MenuOptions = ({ options, children, autoWidth, itemProps, width, ref, before, after, menuBackground, ...props })=>/*#__PURE__*/ jsxs(MenuContainer, {
7
+ const MenuOptions = ({ options, children, autoWidth, itemProps, width, ref, before, after, menuBackground, ...props })=>/*#__PURE__*/ jsxs(MenuContainer, {
8
8
  autoWidth: autoWidth,
9
9
  width: width,
10
10
  background: menuBackground,
@@ -43,5 +43,5 @@ const MenuOptions_MenuOptions = ({ options, children, autoWidth, itemProps, widt
43
43
  ]
44
44
  });
45
45
  const MenuContainer = styled('div', preventProps)(ListStyles);
46
- const MenuOptions = MenuOptions_MenuOptions;
47
- export { MenuOptions as default };
46
+ const DropdownMenuParts_MenuOptions = MenuOptions;
47
+ export { DropdownMenuParts_MenuOptions as default };
@@ -35,7 +35,7 @@ const filterOptions = (options, searchTerm)=>{
35
35
  return acc;
36
36
  }, []);
37
37
  };
38
- const DropdownSelect_DropdownSelect = ({ label, options, width, search, onChange, ...props })=>{
38
+ const DropdownSelect = ({ label, options, width, search, onChange, ...props })=>{
39
39
  const [selected, setSelected] = useState(new Set());
40
40
  const [isOpen, setIsOpen] = useState(false);
41
41
  const [searchVal, setSearchVal] = useState('');
@@ -167,5 +167,5 @@ const Empty = styled.div(({ theme })=>({
167
167
  paddingTop: 4,
168
168
  paddingBottom: 8
169
169
  }));
170
- const DropdownSelect = DropdownSelect_DropdownSelect;
171
- export { Label, DropdownSelect as default };
170
+ const components_DropdownSelect = DropdownSelect;
171
+ export { Label, components_DropdownSelect as default };
@@ -9,7 +9,7 @@ import { marginProps } from "../helpers/styledProps.js";
9
9
  import Icon from "../Icon/index.js";
10
10
  import Popover from "../Popover.js";
11
11
  import { getEditorCharacterCount } from "./editorUtils.js";
12
- const RichTextToolbar_RichTextToolbar = ({ editor, insertField, mergeFields, maxLength })=>{
12
+ const RichTextToolbar = ({ editor, insertField, mergeFields, maxLength })=>{
13
13
  const { accent, editor: { highlight } } = useTheme();
14
14
  const [showMergeFields, setShowMergeFields] = useState(false);
15
15
  const [isListsOpen, setIsListsOpen] = useState(false);
@@ -511,5 +511,5 @@ const RemoveHighlightButton = styled.button(({ theme })=>({
511
511
  outlineOffset: 2
512
512
  }
513
513
  }));
514
- const RichTextToolbar = RichTextToolbar_RichTextToolbar;
515
- export { RichTextToolbar as default };
514
+ const Editor_RichTextToolbar = RichTextToolbar;
515
+ export { Editor_RichTextToolbar as default };
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import styled from "@emotion/styled";
3
3
  import { useRef } from "react";
4
4
  import { useFocusable } from "react-aria";
5
- const Focusable_Focusable = ({ children, ref, ...props })=>{
5
+ const Focusable = ({ children, ref, ...props })=>{
6
6
  const backupRef = useRef(null);
7
7
  const determinedRef = ref || backupRef;
8
8
  const { focusableProps } = useFocusable(props, determinedRef);
@@ -16,5 +16,5 @@ const Focusable_Focusable = ({ children, ref, ...props })=>{
16
16
  const Trigger = styled.span({
17
17
  display: 'grid'
18
18
  });
19
- const Focusable = Focusable_Focusable;
20
- export { Focusable as default };
19
+ const components_Focusable = Focusable;
20
+ export { components_Focusable as default };
@@ -6,7 +6,7 @@ import { marginProps } from "./helpers/styledProps.js";
6
6
  import Label from "./Label.js";
7
7
  import Radio from "./Radio.js";
8
8
  import Toggle from "./Toggle.js";
9
- const Form_Form = ({ children, rows, columns, rowGap, columnGap, onSubmit, ...rest })=>{
9
+ const Form = ({ children, rows, columns, rowGap, columnGap, onSubmit, ...rest })=>{
10
10
  const handleSubmit = (event)=>{
11
11
  event.preventDefault();
12
12
  if (onSubmit) onSubmit(event);
@@ -22,7 +22,7 @@ const Form_Form = ({ children, rows, columns, rowGap, columnGap, onSubmit, ...re
22
22
  children: children
23
23
  });
24
24
  };
25
- Form_Form.Group = ({ children, rows, columns, rowGap, columnGap, disabled, ...rest })=>/*#__PURE__*/ jsx(FormGroup, {
25
+ Form.Group = ({ children, rows, columns, rowGap, columnGap, disabled, ...rest })=>/*#__PURE__*/ jsx(FormGroup, {
26
26
  rows: rows,
27
27
  columns: columns,
28
28
  rowGap: rowGap,
@@ -31,17 +31,17 @@ Form_Form.Group = ({ children, rows, columns, rowGap, columnGap, disabled, ...re
31
31
  ...rest,
32
32
  children: children
33
33
  });
34
- Form_Form.Field = ({ children, inline, align, disabled, ...props })=>/*#__PURE__*/ jsx(FormField, {
34
+ Form.Field = ({ children, inline, align, disabled, ...props })=>/*#__PURE__*/ jsx(FormField, {
35
35
  ...props,
36
36
  inline: inline,
37
37
  align: align,
38
38
  disabled: disabled,
39
39
  children: children
40
40
  });
41
- Form_Form.Radio = Radio;
42
- Form_Form.Toggle = Toggle;
43
- Form_Form.Checkbox = Checkbox;
44
- Form_Form.Label = Label;
41
+ Form.Radio = Radio;
42
+ Form.Toggle = Toggle;
43
+ Form.Checkbox = Checkbox;
44
+ Form.Label = Label;
45
45
  const FormContainer = styled(Grid)({
46
46
  boxSizing: 'border-box'
47
47
  });
@@ -64,5 +64,5 @@ const FormField = styled.div(({ inline, align })=>{
64
64
  opacity: 0.3,
65
65
  pointerEvents: 'none'
66
66
  }, marginProps);
67
- const Form = Form_Form;
68
- export { Form as default };
67
+ const components_Form = Form;
68
+ export { components_Form as default };
@@ -38,7 +38,7 @@ const GridItem = styled.div(({ row, rowStart, rowEnd, column, columnStart, colum
38
38
  placeSelf,
39
39
  border
40
40
  }), paddingProps, marginProps);
41
- const Grid_Grid = ({ children, ...props })=>/*#__PURE__*/ jsx(StyledGrid, {
41
+ const Grid = ({ children, ...props })=>/*#__PURE__*/ jsx(StyledGrid, {
42
42
  ...props,
43
43
  children: children
44
44
  });
@@ -47,7 +47,7 @@ const Item = ({ children, ...props })=>/*#__PURE__*/ jsx(GridItem, {
47
47
  children: children
48
48
  });
49
49
  Item.displayName = 'Grid.Item';
50
- const Grid = Object.assign(Grid_Grid, {
50
+ const components_Grid = Object.assign(Grid, {
51
51
  Item
52
52
  });
53
- export { Item, Grid as default };
53
+ export { Item, components_Grid as default };
@@ -21,7 +21,7 @@ import ShieldWavv from "../../assets/icons/ShieldWavv.js";
21
21
  import Spotify from "../../assets/icons/Spotify.js";
22
22
  import SubArrow from "../../assets/icons/SubArrow.js";
23
23
  import TransferCancel from "../../assets/icons/TransferCancel.js";
24
- const customIcons_customIcons = {
24
+ const customIcons = {
25
25
  'caret-down': CaretDown,
26
26
  'caret-up': CaretUp,
27
27
  dialpad: Dialpad,
@@ -46,5 +46,5 @@ const customIcons_customIcons = {
46
46
  'sub-arrow': SubArrow,
47
47
  'transfer-cancel': TransferCancel
48
48
  };
49
- const customIcons = customIcons_customIcons;
50
- export { customIcons as default };
49
+ const Icon_customIcons = customIcons;
50
+ export { Icon_customIcons as default };
@@ -3,7 +3,7 @@ import styled from "@emotion/styled";
3
3
  import { useEffect, useState } from "react";
4
4
  import { useOnClickOutside } from "../hooks/index.js";
5
5
  import Icon from "./Icon/index.js";
6
- const ImageViewer_ImageViewer = ({ visible, close, images, startIndex, alt, maxWidth, maxHeight, opacity, ...rest })=>{
6
+ const ImageViewer = ({ visible, close, images, startIndex, alt, maxWidth, maxHeight, opacity, ...rest })=>{
7
7
  const [currentIndex, setCurrentIndex] = useState(startIndex);
8
8
  const exclusions = [
9
9
  '#viewer-prev',
@@ -138,5 +138,5 @@ const Media = styled.img(({ maxWidth, maxHeight })=>({
138
138
  maxWidth: maxWidth || '100%',
139
139
  maxHeight: maxHeight || '100%'
140
140
  }));
141
- const ImageViewer = ImageViewer_ImageViewer;
142
- export { ImageViewer as default };
141
+ const components_ImageViewer = ImageViewer;
142
+ export { components_ImageViewer as default };
@@ -1,10 +1,10 @@
1
1
  import styled from "@emotion/styled";
2
- const InlineCode_InlineCode = styled.code(({ theme })=>({
2
+ const InlineCode = styled.code(({ theme })=>({
3
3
  fontFamily: "source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace",
4
4
  color: theme.scale10,
5
5
  backgroundColor: theme.scale1,
6
6
  borderRadius: theme.size.xs,
7
7
  padding: '2px 4px'
8
8
  }));
9
- const InlineCode = InlineCode_InlineCode;
10
- export { InlineCode as default };
9
+ const components_InlineCode = InlineCode;
10
+ export { components_InlineCode as default };
@@ -10,7 +10,7 @@ import InputContainerStyles from "./helpers/InputContainerStyles.js";
10
10
  import InputMessage from "./helpers/InputMessage.js";
11
11
  import isAcceptable from "./helpers/isAcceptable.js";
12
12
  import useDynamicWidth from "./helpers/useDynamicWidth.js";
13
- const InlineInput_InlineInput = ({ value, label, placeholder, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, onChange, onInput, ref, ...props })=>{
13
+ const InlineInput = ({ value, label, placeholder, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, onChange, onInput, ref, ...props })=>{
14
14
  const [inputValue, setInputValue] = useState('');
15
15
  const [inputWidth, HiddenWidthEl] = useDynamicWidth({
16
16
  value: inputValue,
@@ -67,5 +67,5 @@ const InlineInput_InlineInput = ({ value, label, placeholder, iconLeft, iconRigh
67
67
  });
68
68
  };
69
69
  const InputContainer = styled(TextField)(InputContainerStyles);
70
- const InlineInput = InlineInput_InlineInput;
71
- export { InlineInput as default };
70
+ const Inputs_InlineInput = InlineInput;
71
+ export { Inputs_InlineInput as default };
@@ -10,7 +10,7 @@ import Input from "./helpers/Input.js";
10
10
  import InputContainerStyles from "./helpers/InputContainerStyles.js";
11
11
  import InputMessage from "./helpers/InputMessage.js";
12
12
  import Label from "./helpers/Label.js";
13
- const PhoneInput_PhoneInput = ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, onChange, ref, ...props })=>{
13
+ const PhoneInput = ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, onChange, ref, ...props })=>{
14
14
  const [inputValue, setInputValue] = useState('');
15
15
  const internalRef = useRef(null);
16
16
  useImperativeHandle(ref, ()=>internalRef.current);
@@ -92,5 +92,5 @@ const PhoneInput_PhoneInput = ({ value, label, placeholder, iconLeft, iconRight,
92
92
  });
93
93
  };
94
94
  const InputContainer = styled(TextField)(InputContainerStyles);
95
- const PhoneInput = PhoneInput_PhoneInput;
96
- export { PhoneInput as default };
95
+ const Inputs_PhoneInput = PhoneInput;
96
+ export { Inputs_PhoneInput as default };
@@ -10,7 +10,7 @@ import InputContainerStyles from "./helpers/InputContainerStyles.js";
10
10
  import InputMessage from "./helpers/InputMessage.js";
11
11
  import isAcceptable from "./helpers/isAcceptable.js";
12
12
  import Label from "./helpers/Label.js";
13
- const TextInput_TextInput = ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, asTrigger, onChange, onInput, ref, ...props })=>{
13
+ const TextInput = ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, asTrigger, onChange, onInput, ref, ...props })=>{
14
14
  const [inputValue, setInputValue] = useState('');
15
15
  useEffect(()=>{
16
16
  if (null != value && inputValue !== value) setInputValue(value);
@@ -70,5 +70,5 @@ const TextInput_TextInput = ({ value, label, placeholder, iconLeft, iconRight, l
70
70
  const InputContainer = styled(TextField)(InputContainerStyles, ({ asTrigger })=>({
71
71
  pointerEvents: asTrigger ? 'none' : void 0
72
72
  }));
73
- const TextInput = TextInput_TextInput;
74
- export { TextInput as default };
73
+ const Inputs_TextInput = TextInput;
74
+ export { Inputs_TextInput as default };
@@ -1,5 +1,5 @@
1
1
  import styled from "@emotion/styled";
2
- const LabelWrapper_LabelWrapper = styled.div(({ readOnly })=>({
2
+ const LabelWrapper = styled.div(({ readOnly })=>({
3
3
  display: 'flex',
4
4
  flexDirection: 'column',
5
5
  boxSizing: 'border-box',
@@ -10,5 +10,5 @@ const LabelWrapper_LabelWrapper = styled.div(({ readOnly })=>({
10
10
  caretColor: readOnly ? 'transparent' : void 0
11
11
  }
12
12
  }));
13
- const LabelWrapper = LabelWrapper_LabelWrapper;
14
- export { LabelWrapper as default };
13
+ const helpers_LabelWrapper = LabelWrapper;
14
+ export { helpers_LabelWrapper as default };
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import styled from "@emotion/styled";
3
3
  import { useLayoutEffect, useRef, useState } from "react";
4
- const useDynamicWidth_useDynamicWidth = ({ value, placeholder, fontSize, active = true })=>{
4
+ const useDynamicWidth = ({ value, placeholder, fontSize, active = true })=>{
5
5
  const textWidthRef = useRef(null);
6
6
  const [inputWidth, setInputWidth] = useState(active ? 50 : void 0);
7
7
  useLayoutEffect(()=>{
@@ -35,5 +35,5 @@ const HiddenWidthRef = styled.div(({ theme: { font }, fontSize })=>({
35
35
  fontSize: fontSize || font.size.lg,
36
36
  zIndex: -1
37
37
  }));
38
- const useDynamicWidth = useDynamicWidth_useDynamicWidth;
39
- export { useDynamicWidth as default };
38
+ const helpers_useDynamicWidth = useDynamicWidth;
39
+ export { helpers_useDynamicWidth as default };
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import styled from "@emotion/styled";
3
3
  import { Text } from "react-aria-components";
4
- const ItemHeaderBody_ItemHeaderBody = ({ header, body, inline, disabled, isGridItem })=>/*#__PURE__*/ jsxs(HeaderBodyContainer, {
4
+ const ItemHeaderBody = ({ header, body, inline, disabled, isGridItem })=>/*#__PURE__*/ jsxs(HeaderBodyContainer, {
5
5
  inline: inline,
6
6
  children: [
7
7
  /*#__PURE__*/ jsx(ItemHeader, {
@@ -32,5 +32,5 @@ const ItemSubtext = styled(Text)(({ theme, disabled })=>({
32
32
  color: disabled ? theme.scale4 : theme.scale6,
33
33
  cursor: disabled ? 'inherit' : void 0
34
34
  }));
35
- const ItemHeaderBody = ItemHeaderBody_ItemHeaderBody;
36
- export { ItemHeaderBody as default };
35
+ const ListHelpers_ItemHeaderBody = ItemHeaderBody;
36
+ export { ListHelpers_ItemHeaderBody as default };
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { ListBoxSection } from "react-aria-components";
3
3
  import ListHeader from "./ListHeader.js";
4
- const ListSection_ListSection = ({ id, title, children })=>/*#__PURE__*/ jsxs(ListBoxSection, {
4
+ const ListSection = ({ id, title, children })=>/*#__PURE__*/ jsxs(ListBoxSection, {
5
5
  id: id,
6
6
  children: [
7
7
  title && /*#__PURE__*/ jsx(ListHeader, {
@@ -10,5 +10,5 @@ const ListSection_ListSection = ({ id, title, children })=>/*#__PURE__*/ jsxs(Li
10
10
  children
11
11
  ]
12
12
  });
13
- const ListSection = ListSection_ListSection;
14
- export { ListSection as default };
13
+ const ListHelpers_ListSection = ListSection;
14
+ export { ListHelpers_ListSection as default };
@@ -9,7 +9,7 @@ import isAcceptable from "../Inputs/helpers/isAcceptable.js";
9
9
  import useDynamicWidth from "../Inputs/helpers/useDynamicWidth.js";
10
10
  import ListOptions from "../ListBoxParts/ListOptions.js";
11
11
  import MotionPopover from "../MotionPopover.js";
12
- const SearchDropdown_SearchDropdown = ({ options, items, triggerRef, placeholder, placeholderColor, fontSize, position, fixedPosition, maxHeight, disabled, accepts, addItem, removeItem, afterShow, afterHide, onTextChange, onValidChange, ref, ...props })=>{
12
+ const SearchDropdown = ({ options, items, triggerRef, placeholder, placeholderColor, fontSize, position, fixedPosition, maxHeight, disabled, accepts, addItem, removeItem, afterShow, afterHide, onTextChange, onValidChange, ref, ...props })=>{
13
13
  const [isOpen, setIsOpen] = useState(false);
14
14
  const [filteredOptions, setFilteredOptions] = useState([]);
15
15
  const [inputText, setInputText] = useState('');
@@ -151,5 +151,5 @@ const InputShakeContainer = styled.div(({ shake })=>({
151
151
  animation: shake ? `${shakeAnimation} .5s linear` : void 0
152
152
  }
153
153
  }));
154
- const SearchDropdown = SearchDropdown_SearchDropdown;
155
- export { SearchDropdown as default };
154
+ const MultiSelect_SearchDropdown = SearchDropdown;
155
+ export { MultiSelect_SearchDropdown as default };
@@ -5,7 +5,7 @@ import { chunk, range } from "../utils/index.js";
5
5
  import { marginProps } from "./helpers/styledProps.js";
6
6
  import Icon from "./Icon/index.js";
7
7
  const toNum = (val)=>val ? +val : 0;
8
- const Pagination_Pagination = ({ onPageNav, page, totalPages, maxVisibleNumbers, width, ...props })=>{
8
+ const Pagination = ({ onPageNav, page, totalPages, maxVisibleNumbers, width, ...props })=>{
9
9
  const [currentPage, setCurrentPage] = useState(toNum(page) || 1);
10
10
  const [currentChunk, setCurrentChunk] = useState(0);
11
11
  const numbers = range(1, totalPages);
@@ -117,5 +117,5 @@ const Page = styled(Control)(({ theme, selected })=>({
117
117
  const Ellipses = styled.span(({ theme })=>({
118
118
  color: theme.scale6
119
119
  }));
120
- const Pagination = Pagination_Pagination;
121
- export { Pagination as default };
120
+ const components_Pagination = Pagination;
121
+ export { components_Pagination as default };
@@ -4,7 +4,7 @@ import { DialogTrigger } from "react-aria-components";
4
4
  import { useControlledOpenState } from "../hooks/index.js";
5
5
  import AriaButton from "./Inputs/helpers/AriaButton.js";
6
6
  import MotionPopover from "./MotionPopover.js";
7
- const Popover_Popover = ({ children, position = 'bottom', fixedPosition, trigger, isTriggerButton, triggerProps, offset = 4, afterShow, afterHide, open, onOpenChange, ...props })=>{
7
+ const Popover = ({ children, position = 'bottom', fixedPosition, trigger, isTriggerButton, triggerProps, offset = 4, afterShow, afterHide, open, onOpenChange, ...props })=>{
8
8
  const [isOpen, handleOpenChange] = useControlledOpenState({
9
9
  open,
10
10
  onOpenChange,
@@ -36,5 +36,5 @@ const Popover_Popover = ({ children, position = 'bottom', fixedPosition, trigger
36
36
  ]
37
37
  });
38
38
  };
39
- const Popover = Popover_Popover;
40
- export { Popover as default };
39
+ const components_Popover = Popover;
40
+ export { components_Popover as default };
@@ -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_Radio = ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props })=>{
5
+ const Radio = ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, className, readOnly, iconColor, ...props })=>{
6
6
  const labelRight = 'right' === labelPosition;
7
7
  const marginProps = {
8
8
  margin,
@@ -41,5 +41,5 @@ const Radio_Radio = ({ id, label, labelPosition, checked, disabled, margin, marg
41
41
  ]
42
42
  });
43
43
  };
44
- const Radio = Radio_Radio;
45
- export { Radio as default };
44
+ const components_Radio = Radio;
45
+ export { components_Radio as default };
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import styled from "@emotion/styled";
3
3
  import { marginProps } from "./helpers/styledProps.js";
4
- const Slider_Slider = ({ value, max = 100, step = 1, width, height, disabled, onChange, ...props })=>{
4
+ const Slider = ({ value, max = 100, step = 1, width, height, disabled, onChange, ...props })=>{
5
5
  const handleControlGrab = (event)=>{
6
6
  const { value: progressValue } = event.target;
7
7
  if (onChange) onChange(+progressValue);
@@ -46,5 +46,5 @@ const ProgressSlider = styled.input(({ theme, percent, width, height, disabled,
46
46
  }
47
47
  };
48
48
  }, marginProps);
49
- const Slider = Slider_Slider;
50
- export { Slider as default };
49
+ const components_Slider = Slider;
50
+ export { components_Slider as default };
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import styled from "@emotion/styled";
3
3
  import { TableBody, TableLoadMoreItem } from "react-aria-components";
4
4
  import Spinner from "../Spinner.js";
5
- const Body_Body = ({ children, emptyFallback, fetching, loading, scrollOffset, onLoadMore, ...rest })=>{
5
+ const Body = ({ children, emptyFallback, fetching, loading, scrollOffset, onLoadMore, ...rest })=>{
6
6
  const emptyContent = loading ? /*#__PURE__*/ jsx(SpinnerContainer, {
7
7
  children: /*#__PURE__*/ jsx(Spinner, {})
8
8
  }) : emptyFallback;
@@ -45,5 +45,5 @@ const SpinnerContainer = styled.div(({ theme })=>({
45
45
  color: theme.scale6,
46
46
  paddingTop: 4
47
47
  }));
48
- const Body = Body_Body;
49
- export { Body as default };
48
+ const Table_Body = Body;
49
+ export { Table_Body as default };
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useTheme } from "@emotion/react";
3
- const ColumnSort_ColumnSort = ({ sortDirection })=>{
3
+ const ColumnSort = ({ sortDirection })=>{
4
4
  const { accent, scale4 } = useTheme();
5
5
  const topColor = 'asc' === sortDirection ? accent : scale4;
6
6
  const bottomColor = 'desc' === sortDirection ? accent : scale4;
@@ -22,5 +22,5 @@ const ColumnSort_ColumnSort = ({ sortDirection })=>{
22
22
  ]
23
23
  });
24
24
  };
25
- const ColumnSort = ColumnSort_ColumnSort;
26
- export { ColumnSort as default };
25
+ const Table_ColumnSort = ColumnSort;
26
+ export { Table_ColumnSort as default };
@@ -6,7 +6,7 @@ import mergePadding from "../helpers/mergePadding.js";
6
6
  import Check from "./Check.js";
7
7
  import Column from "./Column.js";
8
8
  import context from "./context.js";
9
- const Header_Header = ({ children, backgroundColor, padding, paddingTop, paddingRight, paddingBottom, paddingLeft, ...rest })=>{
9
+ const Header = ({ children, backgroundColor, padding, paddingTop, paddingRight, paddingBottom, paddingLeft, ...rest })=>{
10
10
  const { setHeaderPadding, selectionMode } = useContext(context);
11
11
  useEffect(()=>{
12
12
  const values = padding ?? paddingTop ?? paddingRight ?? paddingBottom ?? paddingLeft;
@@ -60,5 +60,5 @@ const TableHead = styled(TableHeader)(({ backgroundColor })=>({
60
60
  borderLeft: '2px solid transparent'
61
61
  }
62
62
  }));
63
- const Header = Header_Header;
64
- export { Header as default };
63
+ const Table_Header = Header;
64
+ export { Table_Header as default };
@@ -1,6 +1,6 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { ColumnResizer } from "react-aria-components";
3
- const Resizer_Resizer = styled(ColumnResizer)(({ theme })=>({
3
+ const Resizer = styled(ColumnResizer)(({ theme })=>({
4
4
  width: 9,
5
5
  height: 18,
6
6
  backgroundColor: theme.scale4,
@@ -21,5 +21,5 @@ const Resizer_Resizer = styled(ColumnResizer)(({ theme })=>({
21
21
  backgroundColor: theme.accent
22
22
  }
23
23
  }));
24
- const Resizer = Resizer_Resizer;
25
- export { Resizer as default };
24
+ const Table_Resizer = Resizer;
25
+ export { Table_Resizer as default };
@@ -12,9 +12,9 @@ const baseStyles = ({ direction, justify, align = 'center', gap = 8 })=>({
12
12
  height: '100%',
13
13
  gap
14
14
  });
15
- const contentStyles_contentStyles = [
15
+ const contentStyles = [
16
16
  baseStyles,
17
17
  paddingProps
18
18
  ];
19
- const contentStyles = contentStyles_contentStyles;
20
- export { contentStyles as default };
19
+ const Table_contentStyles = contentStyles;
20
+ export { Table_contentStyles as default };
@@ -6,7 +6,7 @@ import { ToggleButton } from "react-aria-components";
6
6
  import getIcon from "../helpers/getIcon.js";
7
7
  import { marginProps, paddingProps } from "../helpers/styledProps.js";
8
8
  import { ToggleContext } from "./context.js";
9
- const ToggleButton_ToggleButton_ToggleButton = ({ children, disabled, size, positive, negative, caution, secondary, iconLeft, iconRight, borderRadius, ...props })=>{
9
+ const ToggleButton_ToggleButton = ({ children, disabled, size, positive, negative, caution, secondary, iconLeft, iconRight, borderRadius, ...props })=>{
10
10
  const { type, joined, size: toggleSize, height } = useContext(ToggleContext);
11
11
  const { button } = useTheme();
12
12
  const { iconSize } = button[size || toggleSize];
@@ -100,5 +100,5 @@ const Button = styled(ToggleButton)(({ theme, secondary, negative, positive, cau
100
100
  } : {}
101
101
  };
102
102
  }, marginProps, paddingProps);
103
- const ToggleButton_ToggleButton = ToggleButton_ToggleButton_ToggleButton;
104
- export { ToggleButton_ToggleButton as default };
103
+ const components_ToggleButton_ToggleButton = ToggleButton_ToggleButton;
104
+ export { components_ToggleButton_ToggleButton as default };
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Button } from "react-aria-components";
3
- const UnstyledButton_UnstyledButton = ({ children, ...props })=>/*#__PURE__*/ jsx(Button, {
3
+ const UnstyledButton = ({ children, ...props })=>/*#__PURE__*/ jsx(Button, {
4
4
  ...props,
5
5
  children: children
6
6
  });
7
- const UnstyledButton = UnstyledButton_UnstyledButton;
8
- export { UnstyledButton as default };
7
+ const components_UnstyledButton = UnstyledButton;
8
+ export { components_UnstyledButton as default };
@@ -3,7 +3,7 @@ const parseValue = (value)=>{
3
3
  if ('string' == typeof value) return Number.parseInt(value.replace('px', ''), 10);
4
4
  return 0;
5
5
  };
6
- const mergePadding_mergePadding = (paddingObj)=>{
6
+ const mergePadding = (paddingObj)=>{
7
7
  const paddingValues = {
8
8
  top: 0,
9
9
  right: 0,
@@ -43,5 +43,5 @@ const mergePadding_mergePadding = (paddingObj)=>{
43
43
  if (void 0 !== paddingLeft) paddingValues.left = parseValue(paddingLeft);
44
44
  return paddingValues;
45
45
  };
46
- const mergePadding = mergePadding_mergePadding;
47
- export { mergePadding as default };
46
+ const helpers_mergePadding = mergePadding;
47
+ export { helpers_mergePadding as default };
@@ -12,7 +12,7 @@ const loadFonts = (fonts)=>{
12
12
  }
13
13
  });
14
14
  };
15
- const ResetStyles_ResetStyles = ({ families, fontFamily })=>{
15
+ const ResetStyles = ({ families, fontFamily })=>{
16
16
  useEffect(()=>{
17
17
  loadFonts(families);
18
18
  }, [
@@ -29,5 +29,5 @@ const ResetStyles_ResetStyles = ({ families, fontFamily })=>{
29
29
  }
30
30
  });
31
31
  };
32
- const ResetStyles = ResetStyles_ResetStyles;
33
- export { ResetStyles as default };
32
+ const global_styles_ResetStyles = ResetStyles;
33
+ export { global_styles_ResetStyles as default };
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState } from "react";
2
- const useControlledOpenState_useControlledOpenState = ({ open, onOpenChange, afterShow, afterHide })=>{
2
+ const useControlledOpenState = ({ open, onOpenChange, afterShow, afterHide })=>{
3
3
  const [isOpen, setIsOpen] = useState(false);
4
4
  useEffect(()=>{
5
5
  if (void 0 !== open && open !== isOpen) setIsOpen(open);
@@ -18,5 +18,5 @@ const useControlledOpenState_useControlledOpenState = ({ open, onOpenChange, aft
18
18
  handleOpenChange
19
19
  ];
20
20
  };
21
- const useControlledOpenState = useControlledOpenState_useControlledOpenState;
22
- export { useControlledOpenState as default };
21
+ const hooks_useControlledOpenState = useControlledOpenState;
22
+ export { hooks_useControlledOpenState as default };
@@ -1,6 +1,6 @@
1
1
  import { useRef } from "react";
2
2
  import useEventListener from "./useEventListener.js";
3
- const useOnClickOutside_useOnClickOutside = (onClickOutside, condition, exclusions)=>{
3
+ const useOnClickOutside = (onClickOutside, condition, exclusions)=>{
4
4
  const ref = useRef(null);
5
5
  const handleOutsideClick = (event)=>{
6
6
  if (ref?.current && null !== event) {
@@ -17,5 +17,5 @@ const useOnClickOutside_useOnClickOutside = (onClickOutside, condition, exclusio
17
17
  useEventListener(document, 'touchstart', handleOutsideClick, condition);
18
18
  return ref;
19
19
  };
20
- const useOnClickOutside = useOnClickOutside_useOnClickOutside;
21
- export { useOnClickOutside as default };
20
+ const hooks_useOnClickOutside = useOnClickOutside;
21
+ export { hooks_useOnClickOutside as default };
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState } from "react";
2
- const useWindowSize_useWindowSize = ()=>{
2
+ const useWindowSize = ()=>{
3
3
  const initialState = {
4
4
  width: null,
5
5
  height: null
@@ -21,5 +21,5 @@ const useWindowSize_useWindowSize = ()=>{
21
21
  }, []);
22
22
  return windowSize;
23
23
  };
24
- const useWindowSize = useWindowSize_useWindowSize;
25
- export { useWindowSize as default };
24
+ const hooks_useWindowSize = useWindowSize;
25
+ export { hooks_useWindowSize as default };
@@ -3,7 +3,7 @@ import colors from "../colors.js";
3
3
  import darkScale from "./darkScale.js";
4
4
  const white = '#FFFFFF';
5
5
  const accent = colors.brandDark;
6
- const dark_dark = {
6
+ const dark = {
7
7
  ...common,
8
8
  ...darkScale,
9
9
  name: 'dark',
@@ -558,5 +558,5 @@ const dark_dark = {
558
558
  }
559
559
  }
560
560
  };
561
- const dark = dark_dark;
562
- export { dark as default };
561
+ const dark_dark = dark;
562
+ export { dark_dark as default };
@@ -2,7 +2,7 @@ import common, { button as index_js_button } from "../../common/index.js";
2
2
  import colors from "../colors.js";
3
3
  import lightScale from "./lightScale.js";
4
4
  const white = '#FFFFFF';
5
- const light_light = {
5
+ const light = {
6
6
  ...common,
7
7
  ...lightScale,
8
8
  name: 'light',
@@ -557,5 +557,5 @@ const light_light = {
557
557
  }
558
558
  }
559
559
  };
560
- const light = light_light;
561
- export { light as default };
560
+ const light_light = light;
561
+ export { light_light as default };
@@ -3,7 +3,7 @@ import colors from "../colors.js";
3
3
  import darkScale from "./darkScale.js";
4
4
  const white = '#FFFFFF';
5
5
  const accent = colors.brandDark;
6
- const dark_dark = {
6
+ const dark = {
7
7
  ...common,
8
8
  ...darkScale,
9
9
  name: 'dark',
@@ -558,5 +558,5 @@ const dark_dark = {
558
558
  }
559
559
  }
560
560
  };
561
- const dark = dark_dark;
562
- export { dark as default };
561
+ const dark_dark = dark;
562
+ export { dark_dark as default };
@@ -2,7 +2,7 @@ import common, { button as index_js_button } from "../../common/index.js";
2
2
  import colors from "../colors.js";
3
3
  import lightScale from "./lightScale.js";
4
4
  const white = '#FFFFFF';
5
- const light_light = {
5
+ const light = {
6
6
  ...common,
7
7
  ...lightScale,
8
8
  name: 'light',
@@ -557,5 +557,5 @@ const light_light = {
557
557
  }
558
558
  }
559
559
  };
560
- const light = light_light;
561
- export { light as default };
560
+ const light_light = light;
561
+ export { light_light as default };
@@ -1,4 +1,4 @@
1
- const chunk_chunk = (array, chunkLength)=>{
1
+ const chunk = (array, chunkLength)=>{
2
2
  const copy = [
3
3
  ...array
4
4
  ];
@@ -9,5 +9,5 @@ const chunk_chunk = (array, chunkLength)=>{
9
9
  }
10
10
  return chunkArray;
11
11
  };
12
- const chunk = chunk_chunk;
13
- export { chunk as default };
12
+ const utils_chunk = chunk;
13
+ export { utils_chunk as default };
@@ -17,7 +17,7 @@ const legacyCopy = (text)=>{
17
17
  console.error('Failed to copy text to clipboard');
18
18
  }
19
19
  };
20
- const copyToClipboard_copyToClipboard = (text)=>{
20
+ const copyToClipboard = (text)=>{
21
21
  if ('undefined' == typeof window || 'undefined' == typeof document) return;
22
22
  const canUseModernApi = 'undefined' != typeof navigator && navigator.clipboard && 'function' == typeof navigator.clipboard.writeText;
23
23
  if (canUseModernApi) return void navigator.clipboard.writeText(text).catch(()=>{
@@ -25,5 +25,5 @@ const copyToClipboard_copyToClipboard = (text)=>{
25
25
  });
26
26
  legacyCopy(text);
27
27
  };
28
- const copyToClipboard = copyToClipboard_copyToClipboard;
29
- export { copyToClipboard as default };
28
+ const utils_copyToClipboard = copyToClipboard;
29
+ export { utils_copyToClipboard as default };
@@ -1,4 +1,4 @@
1
- const formatNumber_formatNumber = (value, decimals = 1)=>{
1
+ const formatNumber = (value, decimals = 1)=>{
2
2
  if (0 === value) return '0';
3
3
  if (!Number.isFinite(value)) return String(value);
4
4
  const absValue = Math.abs(value);
@@ -28,5 +28,5 @@ const formatNumber_formatNumber = (value, decimals = 1)=>{
28
28
  }
29
29
  return String(value);
30
30
  };
31
- const formatNumber = formatNumber_formatNumber;
32
- export { formatNumber as default, formatNumber_formatNumber as formatNumber };
31
+ const utils_formatNumber = formatNumber;
32
+ export { utils_formatNumber as default, formatNumber };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
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.9.1",
35
- "@tiptap/extension-character-count": "^3.9.1",
36
- "@tiptap/extension-highlight": "^3.9.1",
37
- "@tiptap/extension-placeholder": "^3.9.1",
38
- "@tiptap/extension-task-item": "^3.9.1",
39
- "@tiptap/extension-task-list": "^3.9.1",
40
- "@tiptap/markdown": "^3.9.1",
41
- "@tiptap/pm": "^3.9.1",
42
- "@tiptap/react": "^3.9.1",
43
- "@tiptap/starter-kit": "^3.9.1",
34
+ "@tiptap/core": "^3.10.1",
35
+ "@tiptap/extension-character-count": "^3.10.1",
36
+ "@tiptap/extension-highlight": "^3.10.1",
37
+ "@tiptap/extension-placeholder": "^3.10.1",
38
+ "@tiptap/extension-task-item": "^3.10.1",
39
+ "@tiptap/extension-task-list": "^3.10.1",
40
+ "@tiptap/markdown": "^3.10.1",
41
+ "@tiptap/pm": "^3.10.1",
42
+ "@tiptap/react": "^3.10.1",
43
+ "@tiptap/starter-kit": "^3.10.1",
44
44
  "cmdk": "^1.1.1",
45
45
  "date-fns": "^4.1.0",
46
46
  "draft-js": "^0.11.7",
47
47
  "es-toolkit": "^1.41.0",
48
48
  "libphonenumber-js": "^1.12.25",
49
- "lucide-react": "^0.548.0",
49
+ "lucide-react": "^0.552.0",
50
50
  "polished": "^4.1.4",
51
51
  "prism-react-renderer": "^2.4.1",
52
52
  "react-aria": "3.44.0",
@@ -61,26 +61,26 @@
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.2",
65
- "@chromatic-com/storybook": "^4.1.1",
64
+ "@biomejs/biome": "2.3.3",
65
+ "@chromatic-com/storybook": "^4.1.2",
66
66
  "@emotion/babel-plugin": "^11.13.5",
67
67
  "@emotion/react": "^11.14.0",
68
- "@rsbuild/core": "1.5.17",
68
+ "@rsbuild/core": "1.6.1",
69
69
  "@rsbuild/plugin-react": "^1.4.1",
70
70
  "@rsbuild/plugin-svgr": "^1.2.2",
71
- "@rslib/core": "^0.16.1",
72
- "@storybook/addon-docs": "^9.1.15",
73
- "@storybook/addon-links": "^9.1.15",
74
- "@storybook/addon-themes": "^9.1.15",
71
+ "@rslib/core": "^0.17.0",
72
+ "@storybook/addon-docs": "^9.1.16",
73
+ "@storybook/addon-links": "^9.1.16",
74
+ "@storybook/addon-themes": "^9.1.16",
75
75
  "@storybook/test-runner": "^0.23.0",
76
76
  "@svgr/core": "^8.1.0",
77
77
  "@svgr/plugin-jsx": "^8.1.0",
78
78
  "@svgr/plugin-prettier": "^8.1.0",
79
- "@swc/plugin-emotion": "11.5.0",
79
+ "@swc/plugin-emotion": "12.0.0",
80
80
  "@types/draft-js": "^0.11.18",
81
81
  "@types/jest": "^30.0.0",
82
82
  "@types/ncp": "^2.0.8",
83
- "@types/node": "^24.9.2",
83
+ "@types/node": "^24.10.0",
84
84
  "@types/prompts": "^2.4.9",
85
85
  "@types/randomcolor": "^0.5.9",
86
86
  "@types/react": "^19.2.2",
@@ -89,7 +89,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.2",
92
+ "chromatic": "^13.3.3",
93
93
  "jest": "^30.2.0",
94
94
  "lefthook": "^2.0.2",
95
95
  "ncp": "^2.0.0",
@@ -104,8 +104,8 @@
104
104
  "react-dom": "^19.2.0",
105
105
  "replace": "^1.2.2",
106
106
  "signale": "^1.4.0",
107
- "storybook": "^9.1.15",
108
- "storybook-react-rsbuild": "^2.1.2",
107
+ "storybook": "^9.1.16",
108
+ "storybook-react-rsbuild": "^2.1.4",
109
109
  "tsc-files": "^1.1.4",
110
110
  "tslib": "^2.8.1",
111
111
  "tsx": "^4.20.6",