groovinads-ui 1.2.46 → 1.2.47

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/README.md CHANGED
@@ -114,7 +114,7 @@ import { Button } from 'groovinads-ui';
114
114
  | `children` | Node | No | n/a | n/a | If true, children will be displayed alongside the spinner with '...' added to indicate the processing status in the label. If false, only the spinner will be shown. It can include text, icons, or other components. |
115
115
  | `className` | String | No | n/a | n/a | Additional CSS class names that can be applied to the button. |
116
116
  | `icon` | String | No | n/a | n/a | Specifies the name of the icon to be displayed inside the button. |
117
- | `iconPosition` | String | No | `start`, `end` | `start` | Position of the icon relative to the text inside the button. It's optional. |
117
+ | `iconPosition` | String | No | `start` `end` | `start` | Position of the icon relative to the text inside the button. It's optional. |
118
118
  | `onClick` | Function | No | n/a | n/a | Function to be executed when the button is clicked. |
119
119
  | `processing` | Boolean | No | `true` `false` | `false` | If true, displays a loading animation (...) with a spinner. If false, it will not be displayed. |
120
120
  | `size` | String | No | `xs` `md` `lg` | `md` | Defines the size of the button. It's optional. |
@@ -197,7 +197,7 @@ export default DropdownComponentExample;
197
197
  | Property | Type | Required | Options | Default | Description |
198
198
  | ----------- | ------------------ | -------- | --------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
199
199
  | `align` | String | No | `start` `end` | `start` | Determines the alignment of the dropdown menu relative to the toggle. If `start`, the dropdown menu will align with the start of the toggle. If `end`, the dropdown menu will align with the end of the toggle. |
200
- | `autoClose` | `Boolean` `String` | No | `true` `false` `outside` `inside` | false | Determines when the dropdown should auto-close. If `true` or `inside`, it closes on inside click. If `outside`, it closes on the outside click. |
200
+ | `autoClose` | Boolean / String | No | `true` `false` `outside` `inside` | false | Determines when the dropdown should auto-close. If `true` or `inside`, it closes on inside click. If `outside`, it closes on the outside click. |
201
201
  | `children` | Node | Yes | n/a | n/a | Child components to be rendered inside the dropdown. |
202
202
  | `className` | String | No | n/a | string | Adds a custom CSS class to the component.names. |
203
203
  | `drop` | String | No | `up` `down` `start` `end` | n/a | Determines the direction in which the dropdown menu will be displayed. |
@@ -291,7 +291,7 @@ import { DropdownFilter } from 'groovinads-ui';
291
291
  | `locked` | Boolean | No | `true` `false` | `false` | If true, the filter cannot be removed. |
292
292
  | `menuType` | String | No | `simple` `selection` | `simple` | Type of dropdown menu. |
293
293
  | `onRemoveFilter` | Function | No | n/a | n/a | Function to handle filter removal. |
294
- | `onToggle` | Funtion | No | n/a | n/a | Function to handle toggle state changes. |
294
+ | `onToggle` | Function | No | n/a | n/a | Function to handle toggle state changes. |
295
295
  | `overflow` | Boolean | No | `true` `false` | `false` | Whether to enable overflow strategy for the dropdown. |
296
296
  | `setValuesSelected` | Function | No | n/a | n/a | Function to set the selected values. |
297
297
  | `show` | Boolean | No | `true` `false` | n/a | Controls the visibility of the dropdown. |
@@ -451,13 +451,15 @@ export default InputComponent;
451
451
  | `helpText` | String | No | n/a | n/a | Optional text under the input to guide the user or provide additional information. |
452
452
  | `icon` | String | No | n/a | n/a | Specifies the name of the icon to be displayed inside the input. |
453
453
  | `label` | String | No | n/a | 'Label' | Input field that handles different `type` of data based on the assigned type prop. Allows for adding icons, managing error messages, and other functionalities. |
454
+ | `max` | Number | No | n/a | n/a | Specifies the maximum value that the input field can accept. |
455
+ | `min` | Number | No | n/a | n/a | Specifies the minimum value that the input field can accept. |
454
456
  | `name` | String | No | n/a | n/a | Indicates the name attribute for the input element, which represents the form data after it is submitted. |
455
457
  | `onChange` | Function | No | n/a | n/a | Allows the user to update the value of the input field and synchronizes the field's value with the component's internal state. |
456
458
  | `prefix` | String | No | n/a | n/a | Text or characters to display at the start of the input, e.g., 'USD' for currency. |
457
459
  | `requiredText` | String | No | n/a | n/a | Text displayed when input validation fails, used to indicate an error. |
458
460
  | `setShowError` | Function | No | n/a | n/a | Function used to change the state of `showError`. |
459
461
  | `size` | String | No | `xs` `md` `lg` | `md` | Sets the size of the input field. |
460
- | `suffix ` | String | No | n/a | n/a | Optional suffix text to display inside the input field. |
462
+ | `suffix` | String | No | n/a | n/a | Optional suffix text to display inside the input field. |
461
463
  | `showError` | Boolean | No | `true` `false` | `false` | If true, indicates that an error message should be displayed, usually controlled by `setShowError`. |
462
464
  | `type` | String | No | `color` `date` `datetime-local` `email` `file` `image` `month` `number` `password` `tel` `text` `time` `url` `week` | `text` | Type of input |
463
465
  | `value` | String / Number | No | n/a | n/a | The value of the input. |
@@ -789,7 +791,7 @@ const SidebarComponent = () => {
789
791
  onNavigate={handleNavigation}
790
792
  dropdownVisible={true}
791
793
  setGroovinProfile={setGroovinProfile}
792
- selectedClient={selectedClient}
794
+ selectedClient={selectedClient}
793
795
 
794
796
  />
795
797
  </div>
@@ -957,17 +959,6 @@ const MyToastExamples = () => {
957
959
  export default MyToastExamples;
958
960
  ```
959
961
 
960
- | Property | Type | Required | Options | Default | Description |
961
- | ----------------- | --------- | -------- | ------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
962
- | `cancelButton` | Boolean | No | `true` `false` | `false` | Determines whether to show a cancel button. |
963
- | `currentProgress` | Number | No | n/a | n/a | Indicates the current progress of the task as a percentage with a number from 1 to 100. Used only when `variant` is set to `upload` |
964
- | `onCancel` | Function | No | n/a | n/a | If `cancelButton` is true, it will display a cancel button that will execute the function provided in the `onCancel` prop when clicked. |
965
- | `position` | String | No | `top-start` `top-end` `bottom-start` `bottom-end` | `bottom-start` | Defines the position on the screen where the toast will be displayed. |
966
- | `status` | String | No | `in-progress` `error` | `in-progress` | Define the current state of the task. If `in-progress`, shows the ongoing progress, reflected in the progress bar. If `error`, indicates that the upload or processing has failed. |
967
- | `variant` | String | Yes | `upload` `processing` | n/a | Define the type of process being performed. If `upload`, displays a progress bar and a loading status indicator. If `upload`, displays a progress bar and a loading status indicator. |
968
-
969
-
970
-
971
962
  | Property | Type | Required | Options | Default | Description |
972
963
  | ----------------- | -------- | -------- | ------------------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
973
964
  | `cancelButton` | Boolean | No | `true` `false` | `false` | Determines whether to show a cancel button. |