groovinads-ui 1.9.841 → 1.9.843
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 +7 -7
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -306,7 +306,7 @@ const DropdownDatePickerExample = () => {
|
|
|
306
306
|
show={show}
|
|
307
307
|
setShow={setShow}
|
|
308
308
|
onToggle={handleToggle}
|
|
309
|
-
|
|
309
|
+
label='Select Period'
|
|
310
310
|
locked={false}
|
|
311
311
|
overflow={true}
|
|
312
312
|
onRemoveFilter={handleRemoveFilter}
|
|
@@ -329,8 +329,8 @@ export default DropdownDatePickerExample;
|
|
|
329
329
|
| `className` | String | No | n/a | n/a | Adds a custom CSS class to the component. |
|
|
330
330
|
| `dateFrom` | String | No | n/a | `null` | Start date. |
|
|
331
331
|
| `dateTo` | String | No | n/a | `null` | End date. |
|
|
332
|
-
| `disabled` | Boolean | No | `true` `false` | `false` | If `true`, disables the dropdown. If `false`, the dropdown is enabled.
|
|
333
|
-
| `
|
|
332
|
+
| `disabled` | Boolean | No | `true` `false` | `false` | If `true`, disables the dropdown. If `false`, the dropdown is enabled. |
|
|
333
|
+
| `label` | String | No | n/a | `period` | Label to display on the dropdown toggle button. |
|
|
334
334
|
| `locked` | Boolean | No | `true` `false` | `false` | Determines if the dropdown is locked. If true, it is not interactive. If false, it is interactive. |
|
|
335
335
|
| `maxDate` | Object | No | n/a | n/a | Max date filter. |
|
|
336
336
|
| `minDate` | Object | No | n/a | n/a | Min date filter. |
|
|
@@ -431,7 +431,7 @@ const MultiSelectComponent = () => {
|
|
|
431
431
|
object={true}
|
|
432
432
|
nameKey='name'
|
|
433
433
|
idKey='id'
|
|
434
|
-
|
|
434
|
+
label='Filters'
|
|
435
435
|
focus={show}
|
|
436
436
|
buttonVariant='primary'
|
|
437
437
|
nowrap={true}
|
|
@@ -450,7 +450,7 @@ const MultiSelectComponent = () => {
|
|
|
450
450
|
nameKey='name'
|
|
451
451
|
nameKey1='name1'
|
|
452
452
|
idKey={'id'}
|
|
453
|
-
|
|
453
|
+
label={'Filters (array de objetos)'}
|
|
454
454
|
focus={show}
|
|
455
455
|
hasId={false}
|
|
456
456
|
showError={false}
|
|
@@ -474,7 +474,7 @@ export default MultiSelectComponent;
|
|
|
474
474
|
| `hasId` | Boolean | No | `true` `false` | `true` | Controls wether the hashtag and id shows or not in the dropdown options |
|
|
475
475
|
| `idInPill` | Boolean | No | `true` `false` | `false` | If true, ID will be shown in the pill component. |
|
|
476
476
|
| `idKey` | String | No | n/a | n/a | Defines the key used in the object to find the item's ID, allowing for the identification and handling of selected items and other operations within the component. |
|
|
477
|
-
| `
|
|
477
|
+
| `label` | String | No | n/a | '' | Allows customizing the label for the input field within the dropdown menu. |
|
|
478
478
|
| `nameKey` | String | No | n/a | n/a | Defines the key that will be used in the object to display the item's name. |
|
|
479
479
|
| `notMatchedText` | String | No | n/a | 'No match found' | Text displayed when no matching items are found. |
|
|
480
480
|
| `nowrap` | Boolean | No | `true` `false` | `false` | If `true`, the content will be displayed on a single line. If it exceeds the width, a scroll will be shown. If `false`, it will fit the width of the button. If it exceeds, the content will be displayed on multiple lines. |
|
|
@@ -538,7 +538,7 @@ export default DropdownSimpleDatePickerExample;
|
|
|
538
538
|
| `date` | String | No | n/a | `null` | Selected date. |
|
|
539
539
|
| `disabled` | Boolean | No | `true` `false` | `false` | If `true`, disables the dropdown. If `false`, the dropdown is enabled. |
|
|
540
540
|
| `handleClear` | Function | No | n/a | n/a | Allows providing, as needed, a function to reset the date, update the state as necessary, etc. If none is provided, the date will be cleared by default. |
|
|
541
|
-
| `
|
|
541
|
+
| `label` | String | No | n/a | `period` | Label to display on the dropdown toggle button. |
|
|
542
542
|
| `maxDate` | Object | No | n/a | n/a | Max date filter. |
|
|
543
543
|
| `minDate` | Object | No | n/a | n/a | Min date filter. |
|
|
544
544
|
| `onToggle` | Function | No | n/a | n/a | Function that is called when the dropdown is toggled. |
|