wacomm 1.5.2 → 1.6.0

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 (87) hide show
  1. package/dist/A.d.ts +1 -1
  2. package/dist/AlertWrap.d.ts +1 -1
  3. package/dist/Deletable.d.ts +1 -1
  4. package/dist/EditableBlock.d.ts +1 -1
  5. package/dist/ExpandableTextUpdater.d.ts +1 -1
  6. package/dist/List.d.ts +1 -1
  7. package/dist/Modal.d.ts +1 -1
  8. package/dist/Picker.d.ts +1 -1
  9. package/dist/SearchBar.d.ts +1 -1
  10. package/dist/Tabs.d.ts +1 -1
  11. package/dist/Tag.d.ts +1 -1
  12. package/dist/TextSender.d.ts +1 -1
  13. package/dist/buttons/AddButton.stories.d.ts +7 -0
  14. package/dist/buttons/AddButton.test.d.ts +0 -0
  15. package/dist/buttons/Button.d.ts +1 -1
  16. package/dist/buttons/CacheButton.d.ts +1 -1
  17. package/dist/buttons/StyledButton.d.ts +1 -1
  18. package/dist/buttons/SvgButton.d.ts +1 -1
  19. package/dist/buttons/ToggleButton.d.ts +1 -1
  20. package/dist/containers/Column.d.ts +1 -1
  21. package/dist/containers/Container.d.ts +1 -1
  22. package/dist/containers/Row.d.ts +1 -1
  23. package/dist/datetime/DateRange.d.ts +1 -1
  24. package/dist/datetime/DateTimePicker.d.ts +1 -1
  25. package/dist/expandableContainer/ExpandableContainer.d.ts +1 -1
  26. package/dist/expandableContainer/ExpandableContainerHeader.d.ts +1 -1
  27. package/dist/form/Checkbox.d.ts +1 -1
  28. package/dist/form/Dropdown.d.ts +1 -1
  29. package/dist/form/FileInput.d.ts +1 -1
  30. package/dist/form/FormButtons.d.ts +1 -1
  31. package/dist/form/Input.d.ts +1 -1
  32. package/dist/form/SubmitButton.d.ts +1 -1
  33. package/dist/form/Textarea.d.ts +1 -1
  34. package/dist/icons/CloseIcon.d.ts +1 -1
  35. package/dist/icons/EditIcon.d.ts +1 -1
  36. package/dist/icons/SendIcon.d.ts +1 -1
  37. package/dist/icons/index.d.ts +0 -1
  38. package/dist/{index-DebVaBsW.mjs → index-BNl4yOc4.mjs} +3291 -3435
  39. package/dist/{index-Bfgp9Bvg.js → index-BWnWoFio.js} +38 -38
  40. package/dist/index.d.ts +3 -1
  41. package/dist/inputs/NumberInput.d.ts +1 -1
  42. package/dist/inputs/TextInput.d.ts +1 -1
  43. package/dist/inputs/TextUpdater.d.ts +1 -1
  44. package/dist/likes/LikeSection.d.ts +10 -0
  45. package/dist/likes/LikesCount.d.ts +8 -0
  46. package/dist/likes/index.d.ts +1 -0
  47. package/dist/loadingIndicator/LoadingIndicator.d.ts +1 -1
  48. package/dist/mapbox/MapboxMap.d.ts +1 -1
  49. package/dist/{mapbox-gl-D9yVMHlz.js → mapbox-gl-C8l95jok.js} +1 -1
  50. package/dist/{mapbox-gl-D0Hmaxan.mjs → mapbox-gl-DA52aBGL.mjs} +1 -1
  51. package/dist/navbar/Navbar.d.ts +1 -1
  52. package/dist/separators/MiddleDot.d.ts +5 -0
  53. package/dist/separators/VerticalLine.d.ts +5 -0
  54. package/dist/separators/index.d.ts +2 -0
  55. package/dist/subjectReaction/SubjectReactionSection.d.ts +11 -0
  56. package/dist/subjectReaction/SubjectReactionsCount.d.ts +10 -0
  57. package/dist/subjectReaction/index.d.ts +2 -0
  58. package/dist/subjectReaction/util.d.ts +14 -0
  59. package/dist/svgTags/CalendarTag.d.ts +1 -1
  60. package/dist/svgTags/ExploreTag.d.ts +1 -1
  61. package/dist/svgTags/HomeTag.d.ts +1 -1
  62. package/dist/svgTags/MapTag.d.ts +1 -1
  63. package/dist/svgTags/NewsfeedTag.d.ts +1 -1
  64. package/dist/svgTags/PartnersTag.d.ts +1 -1
  65. package/dist/svgTags/SvgTag.d.ts +1 -1
  66. package/dist/svgTags/UpArrowTag.d.ts +1 -1
  67. package/dist/svgTags/posts/CreatePostTag.d.ts +1 -1
  68. package/dist/svgTags/posts/ImageTag.d.ts +1 -1
  69. package/dist/svgTags/posts/PollTag.d.ts +1 -1
  70. package/dist/svgTags/posts/TextPostTag.d.ts +1 -1
  71. package/dist/svgTags/profiles/ArenaTag.d.ts +1 -1
  72. package/dist/svgTags/profiles/CalendarEventTag.d.ts +1 -1
  73. package/dist/svgTags/profiles/CoachTag.d.ts +1 -1
  74. package/dist/svgTags/profiles/CollectionTag.d.ts +1 -1
  75. package/dist/svgTags/profiles/CreateArenaTag.d.ts +1 -1
  76. package/dist/svgTags/profiles/CreateCollectionTag.d.ts +1 -1
  77. package/dist/svgTags/profiles/CreateTeamTag.d.ts +1 -1
  78. package/dist/svgTags/profiles/MarketTag.d.ts +1 -1
  79. package/dist/svgTags/profiles/TeamTag.d.ts +1 -1
  80. package/dist/svgTags/profiles/UserTag.d.ts +1 -1
  81. package/dist/tootips/SvgTooltip.d.ts +1 -1
  82. package/dist/tootips/Tooltip.d.ts +1 -1
  83. package/dist/wacomm.cjs.js +1 -1
  84. package/dist/wacomm.es.js +74 -71
  85. package/package.json +26 -4
  86. package/dist/Separator.d.ts +0 -1
  87. package/dist/icons/LikeIcon.d.ts +0 -8
package/dist/A.d.ts CHANGED
@@ -8,5 +8,5 @@ interface AProps {
8
8
  href: string;
9
9
  children: ReactNode;
10
10
  }
11
- declare function A({ target, href, children, }: AProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function A({ target, href, children }: AProps): import("react/jsx-runtime").JSX.Element;
12
12
  export default A;
@@ -5,5 +5,5 @@ interface AlertWrapProps {
5
5
  content: ReactElement;
6
6
  onClick: ZeroFuncType;
7
7
  }
8
- declare function AlertWrap({ count, content, onClick, }: AlertWrapProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertWrap({ count, content, onClick }: AlertWrapProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default AlertWrap;
@@ -4,5 +4,5 @@ interface DeletableProps {
4
4
  onDelete: () => void;
5
5
  className?: string;
6
6
  }
7
- declare function Deletable({ content, onDelete, className, }: DeletableProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function Deletable({ content, onDelete, className }: DeletableProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default Deletable;
@@ -15,5 +15,5 @@ export interface EditableBlockEditProps {
15
15
  export interface EditableBlockDisplayProps {
16
16
  defaultValues: any;
17
17
  }
18
- declare function EditableBlock({ Edit, Display, title, defaultValues, editable, optionalMenu, }: EditableBlockProps): import("react/jsx-runtime").JSX.Element;
18
+ declare function EditableBlock({ Edit, Display, title, defaultValues, editable, optionalMenu }: EditableBlockProps): import("react/jsx-runtime").JSX.Element;
19
19
  export default EditableBlock;
@@ -3,5 +3,5 @@ interface ExpandableTextUpdaterProps extends TextUpdaterProps {
3
3
  title: string;
4
4
  isExpandable?: boolean;
5
5
  }
6
- declare function ExpandableTextUpdater({ content, onSave, isLoading, placeholder, classNameEdit, classNameDisplay, title, editable, isExpandable, }: ExpandableTextUpdaterProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function ExpandableTextUpdater({ content, onSave, isLoading, placeholder, classNameEdit, classNameDisplay, title, editable, isExpandable }: ExpandableTextUpdaterProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default ExpandableTextUpdater;
package/dist/List.d.ts CHANGED
@@ -5,5 +5,5 @@ interface ListProps {
5
5
  className?: string;
6
6
  fallback?: ReactNode;
7
7
  }
8
- declare function List({ items, itemRenderer, className, fallback, }: ListProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null;
8
+ declare function List({ items, itemRenderer, className, fallback }: ListProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null;
9
9
  export default List;
package/dist/Modal.d.ts CHANGED
@@ -34,5 +34,5 @@ export interface ModalStyleProps {
34
34
  overlay?: ModalStyleOverlayProps;
35
35
  content?: ModalStyleContentProps;
36
36
  }
37
- declare function Modal({ isOpen, onClose, title, content, shouldCloseOnEsc, shouldCloseOnOverlayClick, isCloseIconHidden, style, }: ModalProps): import("react/jsx-runtime").JSX.Element;
37
+ declare function Modal({ isOpen, onClose, title, content, shouldCloseOnEsc, shouldCloseOnOverlayClick, isCloseIconHidden, style }: ModalProps): import("react/jsx-runtime").JSX.Element;
38
38
  export default Modal;
package/dist/Picker.d.ts CHANGED
@@ -12,5 +12,5 @@ interface PickerProps {
12
12
  className?: string;
13
13
  disabled?: boolean;
14
14
  }
15
- declare function Picker({ defaultOption, options, onChange, isSearchable, className, disabled, }: PickerProps): import("react/jsx-runtime").JSX.Element;
15
+ declare function Picker({ defaultOption, options, onChange, isSearchable, className, disabled }: PickerProps): import("react/jsx-runtime").JSX.Element;
16
16
  export default Picker;
@@ -4,5 +4,5 @@ interface SearchBarProps {
4
4
  onSubmit: (value: string) => void;
5
5
  isLoading: boolean;
6
6
  }
7
- declare function SearchBar({ placeholder, className, onSubmit, }: SearchBarProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function SearchBar({ placeholder, className, onSubmit }: SearchBarProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default SearchBar;
package/dist/Tabs.d.ts CHANGED
@@ -16,5 +16,5 @@ interface TabsProps {
16
16
  onClick: (value: any) => void;
17
17
  pickedTab: any;
18
18
  }
19
- declare function Tabs({ tabs, classNames, onClick, pickedTab, }: TabsProps): import("react/jsx-runtime").JSX.Element;
19
+ declare function Tabs({ tabs, classNames, onClick, pickedTab }: TabsProps): import("react/jsx-runtime").JSX.Element;
20
20
  export default Tabs;
package/dist/Tag.d.ts CHANGED
@@ -21,5 +21,5 @@ export declare enum TagLabelSize {
21
21
  Xs = "text-xs",
22
22
  Base = "text-base"
23
23
  }
24
- declare function Tag({ label, onClick, className, labelSize, color, }: TagProps): import("react/jsx-runtime").JSX.Element;
24
+ declare function Tag({ label, onClick, className, labelSize, color }: TagProps): import("react/jsx-runtime").JSX.Element;
25
25
  export default Tag;
@@ -4,5 +4,5 @@ interface TextSenderProps {
4
4
  className?: string;
5
5
  rows?: number;
6
6
  }
7
- export default function TextSender({ onClick, placeholder, className, rows, }: TextSenderProps): import("react/jsx-runtime").JSX.Element;
7
+ export default function TextSender({ onClick, placeholder, className, rows }: TextSenderProps): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as AddButton } from './AddButton';
3
+ declare const meta: Meta<typeof AddButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const NamedLabel: Story;
File without changes
@@ -7,5 +7,5 @@ interface ButtonProps {
7
7
  className?: string;
8
8
  labelClassName?: string;
9
9
  }
10
- declare function Button({ onClick, className, disabled, isLoading, isHighlighted, labelClassName, label, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function Button({ onClick, className, disabled, isLoading, isHighlighted, labelClassName, label }: ButtonProps): import("react/jsx-runtime").JSX.Element;
11
11
  export default Button;
@@ -5,5 +5,5 @@ export interface CacheButtonProps {
5
5
  label: string;
6
6
  isHighlighted: boolean;
7
7
  }
8
- declare function CacheButton({ id, onClick, label, isHighlighted, }: CacheButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function CacheButton({ id, onClick, label, isHighlighted }: CacheButtonProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default CacheButton;
@@ -5,5 +5,5 @@ interface StyledButtonProps {
5
5
  onClick: ZeroFuncType;
6
6
  label: string;
7
7
  }
8
- declare function StyledButton({ isHighlighted, isLoading, onClick, label, }: StyledButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function StyledButton({ isHighlighted, isLoading, onClick, label }: StyledButtonProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default StyledButton;
@@ -16,5 +16,5 @@ interface SvgButtonProps {
16
16
  className?: string;
17
17
  labelClassName?: string;
18
18
  }
19
- declare function SvgButton({ icon, onClick, className, disabled, isLoading, isVertical, isHighlighted, labelClassName, label, }: SvgButtonProps): import("react/jsx-runtime").JSX.Element;
19
+ declare function SvgButton({ icon, onClick, className, disabled, isLoading, isVertical, isHighlighted, labelClassName, label }: SvgButtonProps): import("react/jsx-runtime").JSX.Element;
20
20
  export default SvgButton;
@@ -6,5 +6,5 @@ interface ToggleButtonProps {
6
6
  className?: string;
7
7
  disabled?: boolean;
8
8
  }
9
- declare function ToggleButton({ label, checked, onChange, className, disabled, }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function ToggleButton({ label, checked, onChange, className, disabled }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
10
10
  export default ToggleButton;
@@ -4,5 +4,5 @@ interface ColumnProps {
4
4
  className?: string;
5
5
  onClick?: ZeroFuncType;
6
6
  }
7
- declare function Column({ children, className, onClick, }: ColumnProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function Column({ children, className, onClick }: ColumnProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default Column;
@@ -5,5 +5,5 @@ interface ContainerProps {
5
5
  isVertical?: boolean;
6
6
  onClick?: ZeroFuncType;
7
7
  }
8
- declare function Container({ children, className, isVertical, onClick, }: ContainerProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function Container({ children, className, isVertical, onClick }: ContainerProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default Container;
@@ -4,5 +4,5 @@ interface RowProps {
4
4
  className?: string;
5
5
  onClick?: ZeroFuncType;
6
6
  }
7
- declare function Row({ children, className, onClick, }: RowProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function Row({ children, className, onClick }: RowProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default Row;
@@ -4,5 +4,5 @@ interface DateRangeProps {
4
4
  endDate: dayjs.Dayjs;
5
5
  className?: string;
6
6
  }
7
- declare function DateRange({ startDate, endDate, className, }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function DateRange({ startDate, endDate, className }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default DateRange;
@@ -3,5 +3,5 @@ interface DateTimePickerProps {
3
3
  value: DateTime;
4
4
  setValue: SetDateTime;
5
5
  }
6
- declare function DateTimePicker({ value, setValue, }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function DateTimePicker({ value, setValue }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default DateTimePicker;
@@ -5,5 +5,5 @@ export interface ExpandableContainerProps {
5
5
  isExpandable?: boolean;
6
6
  className?: string;
7
7
  }
8
- declare function ExpandableContainer({ title, isExpandable, className, children, }: ExpandableContainerProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function ExpandableContainer({ title, isExpandable, className, children }: ExpandableContainerProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default ExpandableContainer;
@@ -5,5 +5,5 @@ interface ExpandableContainerHeaderProps {
5
5
  title: string;
6
6
  isExpandable?: boolean;
7
7
  }
8
- declare function ExpandableContainerHeader({ isShown, onClick, title, isExpandable, }: ExpandableContainerHeaderProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function ExpandableContainerHeader({ isShown, onClick, title, isExpandable }: ExpandableContainerHeaderProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default ExpandableContainerHeader;
@@ -7,5 +7,5 @@ interface CheckboxProps {
7
7
  disabled?: boolean;
8
8
  register: UseFormRegister<FieldValues>;
9
9
  }
10
- declare function Checkbox({ label, name, register, className, disabled, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function Checkbox({ label, name, register, className, disabled }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
11
11
  export default Checkbox;
@@ -8,5 +8,5 @@ interface InputProps {
8
8
  className?: string;
9
9
  defaultValue?: string;
10
10
  }
11
- declare function Input({ name, options, register, errors, className, defaultValue, placeholder, }: InputProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function Input({ name, options, register, errors, className, defaultValue, placeholder }: InputProps): import("react/jsx-runtime").JSX.Element;
12
12
  export default Input;
@@ -6,5 +6,5 @@ interface FileInputProps {
6
6
  errors: FieldErrors<FieldValues>;
7
7
  watch: UseFormWatch<FieldValues>;
8
8
  }
9
- declare function FileInput({ name, url, register, errors, watch, }: FileInputProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function FileInput({ name, url, register, errors, watch }: FileInputProps): import("react/jsx-runtime").JSX.Element;
10
10
  export default FileInput;
@@ -8,5 +8,5 @@ interface FormButtonsProps {
8
8
  formID?: string;
9
9
  isCancelable?: boolean;
10
10
  }
11
- declare function FormButtons({ cancelEdit, isLoading, disabled, isCancelable, formID, submitLabel, cancelLabel, }: FormButtonsProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function FormButtons({ cancelEdit, isLoading, disabled, isCancelable, formID, submitLabel, cancelLabel }: FormButtonsProps): import("react/jsx-runtime").JSX.Element;
12
12
  export default FormButtons;
@@ -14,5 +14,5 @@ export declare enum InputType {
14
14
  Email = "email",
15
15
  Password = "password"
16
16
  }
17
- declare function Input({ name, type, placeholder, register, errors, className, defaultValue, disabled, }: InputProps): import("react/jsx-runtime").JSX.Element;
17
+ declare function Input({ name, type, placeholder, register, errors, className, defaultValue, disabled }: InputProps): import("react/jsx-runtime").JSX.Element;
18
18
  export default Input;
@@ -7,5 +7,5 @@ interface SubmitButtonProps {
7
7
  label: string;
8
8
  onClick?: ZeroFuncType;
9
9
  }
10
- declare function SubmitButton({ label, className, isLoading, disabled, formID, onClick, }: SubmitButtonProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function SubmitButton({ label, className, isLoading, disabled, formID, onClick }: SubmitButtonProps): import("react/jsx-runtime").JSX.Element;
11
11
  export default SubmitButton;
@@ -10,5 +10,5 @@ interface InputProps {
10
10
  row?: number;
11
11
  disabled?: boolean;
12
12
  }
13
- declare function Textarea({ name, placeholder, register, errors, id, defaultValue, className, row, disabled, }: InputProps): import("react/jsx-runtime").JSX.Element;
13
+ declare function Textarea({ name, placeholder, register, errors, id, defaultValue, className, row, disabled }: InputProps): import("react/jsx-runtime").JSX.Element;
14
14
  export default Textarea;
@@ -4,5 +4,5 @@ interface CloseIconProps {
4
4
  className?: string;
5
5
  hidden?: boolean;
6
6
  }
7
- declare function CloseIcon({ onClick, className, hidden, }: CloseIconProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function CloseIcon({ onClick, className, hidden }: CloseIconProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default CloseIcon;
@@ -4,5 +4,5 @@ interface EditIconProps {
4
4
  className?: string;
5
5
  hidden?: boolean;
6
6
  }
7
- declare function EditIcon({ onClick, className, hidden, }: EditIconProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function EditIcon({ onClick, className, hidden }: EditIconProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default EditIcon;
@@ -4,5 +4,5 @@ interface SendIconProps {
4
4
  className?: string;
5
5
  isHighlighted?: boolean;
6
6
  }
7
- declare function SendIcon({ onClick, className, isHighlighted, }: SendIconProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function SendIcon({ onClick, className, isHighlighted }: SendIconProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default SendIcon;
@@ -1,4 +1,3 @@
1
1
  export { default as EditIcon } from './EditIcon';
2
2
  export { default as CloseIcon } from './CloseIcon';
3
- export { default as LikeIcon } from './LikeIcon';
4
3
  export { default as SendIcon } from './SendIcon';