@wavv/ui 2.2.2 → 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 (71) 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/PersonSupport.d.ts +3 -0
  4. package/build/assets/icons/PersonSupport.js +39 -0
  5. package/build/assets/icons/PhoneEnd.js +3 -3
  6. package/build/assets/icons/PhoneForward.js +3 -3
  7. package/build/assets/icons/PhoneHold.js +3 -3
  8. package/build/assets/icons/Record.js +3 -3
  9. package/build/assets/icons/ShieldWavv.js +3 -3
  10. package/build/components/Accordion/Header.js +4 -4
  11. package/build/components/Audio.js +3 -3
  12. package/build/components/CalendarParts/CalendarHeader.js +3 -3
  13. package/build/components/CalendarParts/useMinMax.js +3 -3
  14. package/build/components/Code/Code.js +3 -3
  15. package/build/components/Code/Endpoint.js +3 -3
  16. package/build/components/CommandMenu/CommandMenu.js +3 -3
  17. package/build/components/CommandMenu/CommandSection.js +3 -3
  18. package/build/components/Dot.js +3 -3
  19. package/build/components/DraftEditor.js +3 -3
  20. package/build/components/Dropdown.js +3 -3
  21. package/build/components/DropdownMenuParts/MenuOptions.js +3 -3
  22. package/build/components/DropdownSelect.js +3 -3
  23. package/build/components/Editor/RichTextToolbar.js +3 -3
  24. package/build/components/Focusable.js +3 -3
  25. package/build/components/Form.js +9 -9
  26. package/build/components/Grid.js +3 -3
  27. package/build/components/Icon/customIcons.d.ts +1 -0
  28. package/build/components/Icon/customIcons.js +5 -3
  29. package/build/components/Icon/icons.d.ts +1 -1
  30. package/build/components/Icon/icons.js +1 -1
  31. package/build/components/ImageViewer.js +3 -3
  32. package/build/components/InlineCode.js +3 -3
  33. package/build/components/Inputs/InlineInput.js +3 -3
  34. package/build/components/Inputs/PhoneInput.js +3 -3
  35. package/build/components/Inputs/TextInput.js +3 -3
  36. package/build/components/Inputs/helpers/LabelWrapper.js +3 -3
  37. package/build/components/Inputs/helpers/useDynamicWidth.js +3 -3
  38. package/build/components/ListHelpers/ItemHeaderBody.js +3 -3
  39. package/build/components/ListHelpers/ListSection.js +3 -3
  40. package/build/components/MultiSelect/SearchDropdown.js +3 -3
  41. package/build/components/Pagination.js +3 -3
  42. package/build/components/Popover.js +3 -3
  43. package/build/components/Radio.js +3 -3
  44. package/build/components/Slider.js +3 -3
  45. package/build/components/Table/Body.js +3 -3
  46. package/build/components/Table/ColumnSort.js +3 -3
  47. package/build/components/Table/Header.js +3 -3
  48. package/build/components/Table/Resizer.js +3 -3
  49. package/build/components/Table/contentStyles.js +3 -3
  50. package/build/components/ToggleButton/ToggleButton.js +11 -11
  51. package/build/components/UnstyledButton.js +3 -3
  52. package/build/components/helpers/mergePadding.js +3 -3
  53. package/build/global-styles/ResetStyles.js +3 -3
  54. package/build/hooks/useControlledOpenState.js +3 -3
  55. package/build/hooks/useOnClickOutside.js +3 -3
  56. package/build/hooks/useWindowSize.js +3 -3
  57. package/build/tailwind/theme.css +8 -0
  58. package/build/theme/ThemeTypes.d.ts +29 -0
  59. package/build/theme/common/common.d.ts +8 -0
  60. package/build/theme/core/colors.d.ts +25 -2
  61. package/build/theme/core/colors.js +8 -0
  62. package/build/theme/core/dark/dark.js +105 -0
  63. package/build/theme/core/light/light.js +108 -3
  64. package/build/theme/eighties/colors.d.ts +8 -0
  65. package/build/theme/eighties/colors.js +8 -0
  66. package/build/theme/eighties/dark/dark.js +105 -0
  67. package/build/theme/eighties/light/light.js +108 -3
  68. package/build/utils/chunk.js +3 -3
  69. package/build/utils/copyToClipboard.js +3 -3
  70. package/build/utils/formatNumber.js +3 -3
  71. 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 };
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from 'react';
2
+ declare const PersonSupport: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export default PersonSupport;
@@ -0,0 +1,39 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const PersonSupport = (props)=>/*#__PURE__*/ jsxs("svg", {
3
+ viewBox: "0 0 24 24",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ ...props,
7
+ children: [
8
+ /*#__PURE__*/ jsx("path", {
9
+ d: "M20 22.5001C20 20.7433 19.4221 19.0461 18.3717 17.6626",
10
+ stroke: "currentColor",
11
+ strokeWidth: 1.5,
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round"
14
+ }),
15
+ /*#__PURE__*/ jsx("path", {
16
+ d: "M16.584 7.49998C15.8124 5.73409 14.0503 4.5 12 4.5C10.0209 4.5 8.31036 5.64984 7.5 7.31792",
17
+ stroke: "currentColor",
18
+ strokeWidth: 1.5,
19
+ strokeLinecap: "round",
20
+ strokeLinejoin: "round"
21
+ }),
22
+ /*#__PURE__*/ jsx("path", {
23
+ d: "M4 22.4999C4 20.3781 4.84286 18.3433 6.34315 16.843C7.84344 15.3428 9.87827 14.4999 12 14.4999M12 14.4999C13.576 14.4999 14.9818 13.7707 15.8982 12.6313M12 14.4999C10.6013 14.4999 9.33675 13.9256 8.42928 12.9999",
24
+ stroke: "currentColor",
25
+ strokeWidth: 1.5,
26
+ strokeLinecap: "round",
27
+ strokeLinejoin: "round"
28
+ }),
29
+ /*#__PURE__*/ jsx("path", {
30
+ d: "M5 7.79996H7.33333C7.74589 7.79996 8.14155 7.94746 8.43328 8.21C8.725 8.47255 8.88889 8.82865 8.88889 9.19995V11.2999C8.88889 11.6712 8.725 12.0273 8.43328 12.2899C8.14155 12.5524 7.74589 12.6999 7.33333 12.6999H6.55556C6.143 12.6999 5.74733 12.5524 5.45561 12.2899C5.16389 12.0273 5 11.6712 5 11.2999V7.79996ZM5 7.79996C5 6.97263 5.18106 6.15341 5.53284 5.38907C5.88463 4.62472 6.40024 3.93022 7.05025 3.34521C7.70026 2.76021 8.47194 2.29616 9.32122 1.97956C10.1705 1.66295 11.0807 1.5 12 1.5C12.9193 1.5 13.8295 1.66295 14.6788 1.97956C15.5281 2.29616 16.2997 2.76021 16.9497 3.34521C17.5998 3.93022 18.1154 4.62472 18.4672 5.38907C18.8189 6.15341 19 6.97263 19 7.79996M19 7.79996V11.2999M19 7.79996H16.6667C16.2541 7.79996 15.8584 7.94746 15.5667 8.21C15.275 8.47255 15.1111 8.82865 15.1111 9.19995V11.2999C15.1111 11.6712 15.275 12.0273 15.5667 12.2899C15.8584 12.5524 16.2541 12.6999 16.6667 12.6999H17.4444C17.857 12.6999 18.2527 12.5524 18.5444 12.2899C18.8361 12.0273 19 11.6712 19 11.2999M19 11.2999V12.6999C19 13.4425 18.5383 14.6547 17.9548 15.1798C17.3714 15.7049 16.3251 16.4999 15.5 16.4999H14.2451",
31
+ stroke: "currentColor",
32
+ strokeWidth: 1.5,
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round"
35
+ })
36
+ ]
37
+ });
38
+ const icons_PersonSupport = PersonSupport;
39
+ export { icons_PersonSupport 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 };
@@ -8,6 +8,7 @@ declare const customIcons: {
8
8
  'caret-up': typeof CaretUp;
9
9
  dialpad: typeof Dialpad;
10
10
  exclamation: (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
11
+ 'person-support': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
11
12
  phone: (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
12
13
  'phone-add': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
13
14
  'phone-blocked': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import CaretDown from "../../assets/icons/CaretDown.js";
2
2
  import CaretUp from "../../assets/icons/CaretUp.js";
3
3
  import Dialpad from "../../assets/icons/Dialpad.js";
4
4
  import Exclamation from "../../assets/icons/Exclamation.js";
5
+ import PersonSupport from "../../assets/icons/PersonSupport.js";
5
6
  import Phone from "../../assets/icons/Phone.js";
6
7
  import PhoneAdd from "../../assets/icons/PhoneAdd.js";
7
8
  import PhoneBlocked from "../../assets/icons/PhoneBlocked.js";
@@ -20,11 +21,12 @@ import ShieldWavv from "../../assets/icons/ShieldWavv.js";
20
21
  import Spotify from "../../assets/icons/Spotify.js";
21
22
  import SubArrow from "../../assets/icons/SubArrow.js";
22
23
  import TransferCancel from "../../assets/icons/TransferCancel.js";
23
- const customIcons_customIcons = {
24
+ const customIcons = {
24
25
  'caret-down': CaretDown,
25
26
  'caret-up': CaretUp,
26
27
  dialpad: Dialpad,
27
28
  exclamation: Exclamation,
29
+ 'person-support': PersonSupport,
28
30
  phone: Phone,
29
31
  'phone-add': PhoneAdd,
30
32
  'phone-blocked': PhoneBlocked,
@@ -44,5 +46,5 @@ const customIcons_customIcons = {
44
46
  'sub-arrow': SubArrow,
45
47
  'transfer-cancel': TransferCancel
46
48
  };
47
- const customIcons = customIcons_customIcons;
48
- export { customIcons as default };
49
+ const Icon_customIcons = customIcons;
50
+ export { Icon_customIcons as default };
@@ -2,7 +2,6 @@ declare const icons: {
2
2
  readonly 'activity-history': "id-card";
3
3
  readonly add: "plus";
4
4
  readonly 'add-circle': "circle-plus";
5
- readonly 'add-person': "user-round-plus";
6
5
  readonly 'arrow-down': "arrow-down";
7
6
  readonly 'arrow-left': "arrow-left";
8
7
  readonly 'arrow-right': "arrow-right";
@@ -101,6 +100,7 @@ declare const icons: {
101
100
  readonly pause: "pause";
102
101
  readonly 'pause-circle': "circle-pause";
103
102
  readonly person: "user-round";
103
+ readonly 'person-add': "user-round-plus";
104
104
  readonly play: "play";
105
105
  readonly 'play-circle': "circle-play";
106
106
  readonly priority: "arrow-up-wide-narrow";
@@ -2,7 +2,6 @@ const icons = {
2
2
  'activity-history': 'id-card',
3
3
  add: 'plus',
4
4
  'add-circle': 'circle-plus',
5
- 'add-person': 'user-round-plus',
6
5
  'arrow-down': 'arrow-down',
7
6
  'arrow-left': 'arrow-left',
8
7
  'arrow-right': 'arrow-right',
@@ -101,6 +100,7 @@ const icons = {
101
100
  pause: 'pause',
102
101
  'pause-circle': 'circle-pause',
103
102
  person: 'user-round',
103
+ 'person-add': 'user-round-plus',
104
104
  play: 'play',
105
105
  'play-circle': 'circle-play',
106
106
  priority: 'arrow-up-wide-narrow',
@@ -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 };