@marigold/components 7.3.3 → 7.5.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Marigold UI
3
+ Copyright (c) 2024 Marigold UI
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.d.mts CHANGED
@@ -138,6 +138,7 @@ interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$m>, Pi
138
138
  value?: RAC.ComboBoxProps<any>['inputValue'];
139
139
  onChange?: RAC.ComboBoxProps<any>['onInputChange'];
140
140
  children: ReactNode | ((item: any) => ReactNode);
141
+ placeholder?: string;
141
142
  }
142
143
  interface ComboBoxComponent extends ForwardRefExoticComponent<ComboBoxProps & RefAttributes<HTMLInputElement>> {
143
144
  Item: typeof _ListBox.Item;
@@ -440,7 +441,7 @@ interface MessageProps extends Omit<HtmlProps<'div'>, 'className'> {
440
441
  variant?: keyof typeof icons;
441
442
  size?: string;
442
443
  }
443
- declare const Message: ({ messageTitle, variant, size, children, ...props }: MessageProps) => react_jsx_runtime.JSX.Element;
444
+ declare const Message: react.ForwardRefExoticComponent<MessageProps & react.RefAttributes<HTMLDivElement>>;
444
445
 
445
446
  type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
446
447
  interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$9>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
@@ -693,7 +694,7 @@ declare const _Tooltip: {
693
694
  };
694
695
 
695
696
  type RemovedProps = 'className' | 'style' | 'children' | 'isRequired';
696
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
697
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps>, Pick<TagListProps<object>, 'items' | 'children' | 'renderEmptyState'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
697
698
  variant?: string;
698
699
  size?: string;
699
700
  width?: WidthProp['width'];
@@ -710,7 +711,7 @@ interface TagProps extends RAC.TagProps {
710
711
  }
711
712
  declare const _Tag: {
712
713
  ({ variant, size, children, ...props }: TagProps): react_jsx_runtime.JSX.Element;
713
- Group: ({ width, items, children, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
714
+ Group: ({ width, items, children, renderEmptyState, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
714
715
  };
715
716
 
716
717
  declare const XLoader: react.ForwardRefExoticComponent<SVGProps & react.RefAttributes<SVGElement>>;
package/dist/index.d.ts CHANGED
@@ -138,6 +138,7 @@ interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$m>, Pi
138
138
  value?: RAC.ComboBoxProps<any>['inputValue'];
139
139
  onChange?: RAC.ComboBoxProps<any>['onInputChange'];
140
140
  children: ReactNode | ((item: any) => ReactNode);
141
+ placeholder?: string;
141
142
  }
142
143
  interface ComboBoxComponent extends ForwardRefExoticComponent<ComboBoxProps & RefAttributes<HTMLInputElement>> {
143
144
  Item: typeof _ListBox.Item;
@@ -440,7 +441,7 @@ interface MessageProps extends Omit<HtmlProps<'div'>, 'className'> {
440
441
  variant?: keyof typeof icons;
441
442
  size?: string;
442
443
  }
443
- declare const Message: ({ messageTitle, variant, size, children, ...props }: MessageProps) => react_jsx_runtime.JSX.Element;
444
+ declare const Message: react.ForwardRefExoticComponent<MessageProps & react.RefAttributes<HTMLDivElement>>;
444
445
 
445
446
  type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
446
447
  interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$9>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
@@ -693,7 +694,7 @@ declare const _Tooltip: {
693
694
  };
694
695
 
695
696
  type RemovedProps = 'className' | 'style' | 'children' | 'isRequired';
696
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
697
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps>, Pick<TagListProps<object>, 'items' | 'children' | 'renderEmptyState'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
697
698
  variant?: string;
698
699
  size?: string;
699
700
  width?: WidthProp['width'];
@@ -710,7 +711,7 @@ interface TagProps extends RAC.TagProps {
710
711
  }
711
712
  declare const _Tag: {
712
713
  ({ variant, size, children, ...props }: TagProps): react_jsx_runtime.JSX.Element;
713
- Group: ({ width, items, children, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
714
+ Group: ({ width, items, children, renderEmptyState, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
714
715
  };
715
716
 
716
717
  declare const XLoader: react.ForwardRefExoticComponent<SVGProps & react.RefAttributes<SVGElement>>;