@rio-cloud/uikit-mcp 1.1.2 → 1.1.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.
- package/dist/doc-metadata.json +117 -127
- package/dist/docs/components/accentBar.md +2 -34
- package/dist/docs/components/activity.md +2 -13
- package/dist/docs/components/animatedNumber.md +4 -17
- package/dist/docs/components/animatedTextReveal.md +7 -54
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +2 -73
- package/dist/docs/components/appLayout.md +36 -496
- package/dist/docs/components/appNavigationBar.md +2 -54
- package/dist/docs/components/areaCharts.md +37 -37
- package/dist/docs/components/aspectRatioPlaceholder.md +2 -11
- package/dist/docs/components/assetTree.md +435 -901
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +2 -24
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +186 -186
- package/dist/docs/components/barList.md +12 -46
- package/dist/docs/components/basicMap.md +7 -7
- package/dist/docs/components/bottomSheet.md +3 -100
- package/dist/docs/components/button.md +16 -71
- package/dist/docs/components/buttonToolbar.md +2 -9
- package/dist/docs/components/calendarStripe.md +95 -121
- package/dist/docs/components/card.md +2 -10
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +4 -1
- package/dist/docs/components/checkbox.md +11 -111
- package/dist/docs/components/clearableInput.md +7 -111
- package/dist/docs/components/collapse.md +3 -29
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +104 -122
- package/dist/docs/components/dataTabs.md +24 -194
- package/dist/docs/components/datepickers.md +727 -769
- package/dist/docs/components/dialogs.md +15 -262
- package/dist/docs/components/divider.md +2 -14
- package/dist/docs/components/dropdowns.md +4387 -4550
- package/dist/docs/components/editableContent.md +2 -186
- package/dist/docs/components/expander.md +23 -70
- package/dist/docs/components/fade.md +6 -41
- package/dist/docs/components/fadeExpander.md +2 -11
- package/dist/docs/components/fadeUp.md +3 -23
- package/dist/docs/components/feedback.md +2 -42
- package/dist/docs/components/filePickers.md +2 -44
- package/dist/docs/components/formLabel.md +2 -18
- package/dist/docs/components/groupedItemList.md +2 -53
- package/dist/docs/components/iconList.md +3 -3
- package/dist/docs/components/imagePreloader.md +2 -6
- package/dist/docs/components/labeledElement.md +2 -11
- package/dist/docs/components/licensePlate.md +2 -10
- package/dist/docs/components/lineCharts.md +60 -60
- package/dist/docs/components/listMenu.md +2 -50
- package/dist/docs/components/loadMore.md +2 -28
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +3 -3
- package/dist/docs/components/mapCluster.md +5 -5
- package/dist/docs/components/mapContext.md +3 -3
- package/dist/docs/components/mapDraggableMarker.md +3 -3
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +3 -3
- package/dist/docs/components/mapLayerGroup.md +3 -3
- package/dist/docs/components/mapMarker.md +341 -347
- package/dist/docs/components/mapPolygon.md +20 -24
- package/dist/docs/components/mapRoute.md +26 -32
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +273 -284
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +2 -22
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +2 -48
- package/dist/docs/components/onboarding.md +2 -46
- package/dist/docs/components/page.md +2 -32
- package/dist/docs/components/pager.md +2 -14
- package/dist/docs/components/pieCharts.md +125 -157
- package/dist/docs/components/popover.md +2 -56
- package/dist/docs/components/position.md +2 -10
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +81 -191
- package/dist/docs/components/releaseNotes.md +1 -12
- package/dist/docs/components/resizer.md +2 -14
- package/dist/docs/components/responsiveColumnStripe.md +2 -19
- package/dist/docs/components/responsiveVideo.md +2 -11
- package/dist/docs/components/rioglyph.md +2 -12
- package/dist/docs/components/rules.md +69 -133
- package/dist/docs/components/saveableInput.md +279 -393
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +2 -39
- package/dist/docs/components/sliders.md +2 -37
- package/dist/docs/components/smoothScrollbars.md +2 -56
- package/dist/docs/components/spinners.md +5 -51
- package/dist/docs/components/states.md +21 -245
- package/dist/docs/components/statsWidgets.md +2 -113
- package/dist/docs/components/statusBar.md +2 -28
- package/dist/docs/components/stepButton.md +2 -8
- package/dist/docs/components/steppedProgressBars.md +2 -66
- package/dist/docs/components/subNavigation.md +1 -8
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -12
- package/dist/docs/components/switch.md +2 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +4 -58
- package/dist/docs/components/tags.md +2 -31
- package/dist/docs/components/teaser.md +2 -30
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +2 -26
- package/dist/docs/components/toggleButton.md +7 -29
- package/dist/docs/components/tooltip.md +9 -40
- package/dist/docs/components/virtualList.md +73 -99
- package/dist/docs/foundations.md +167 -167
- package/dist/docs/start/changelog.md +23 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +1 -1
- package/dist/docs/start/guidelines/custom-css.md +1 -1
- package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
- package/dist/docs/start/guidelines/formatting.md +1 -1
- package/dist/docs/start/guidelines/iframe.md +80 -27
- package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +81 -81
- package/dist/docs/start/guidelines/supported-browsers.md +1 -1
- package/dist/docs/start/guidelines/writing.md +1 -1
- package/dist/docs/start/howto.md +9 -9
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +200 -200
- package/dist/docs/templates/loading-progress.md +3 -3
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +23 -23
- package/dist/docs/templates/stats-blocks.md +41 -41
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/table-row-animation.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/deviceUtils.md +6 -3
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +59 -23
- package/dist/docs/utilities/useAfterMount.md +1 -1
- package/dist/docs/utilities/useAutoAnimate.md +1 -1
- package/dist/docs/utilities/useAverage.md +1 -1
- package/dist/docs/utilities/useClickOutside.md +1 -1
- package/dist/docs/utilities/useClipboard.md +2 -2
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +1 -1
- package/dist/docs/utilities/useDebugInfo.md +4 -4
- package/dist/docs/utilities/useEffectOnce.md +1 -1
- package/dist/docs/utilities/useElapsedTime.md +1 -1
- package/dist/docs/utilities/useElementSize.md +1 -1
- package/dist/docs/utilities/useEsc.md +1 -1
- package/dist/docs/utilities/useEvent.md +1 -1
- package/dist/docs/utilities/useFocusTrap.md +1 -1
- package/dist/docs/utilities/useFullscreen.md +1 -1
- package/dist/docs/utilities/useHover.md +1 -1
- package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
- package/dist/docs/utilities/useInterval.md +1 -1
- package/dist/docs/utilities/useIsFocusWithin.md +1 -1
- package/dist/docs/utilities/useKey.md +7 -5
- package/dist/docs/utilities/useLocalStorage.md +1 -1
- package/dist/docs/utilities/useLocationSuggestions.md +1 -1
- package/dist/docs/utilities/useMax.md +1 -1
- package/dist/docs/utilities/useMin.md +1 -1
- package/dist/docs/utilities/useMutationObserver.md +1 -1
- package/dist/docs/utilities/useOnScreen.md +1 -1
- package/dist/docs/utilities/useOnlineStatus.md +1 -1
- package/dist/docs/utilities/usePostMessage.md +2 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +1 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +54 -54
- package/dist/docs/utilities/useTableSelection.md +93 -93
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +8 -2
- package/dist/version.json +2 -2
- package/package.json +8 -8
- package/dist/docs/components/fullscreenMap.md +0 -10
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/clearableInput
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:01.032Z
|
|
7
7
|
|
|
8
8
|
Control, which can be cleared when it has a value.
|
|
9
9
|
|
|
@@ -378,33 +378,7 @@ export default () => (
|
|
|
378
378
|
|
|
379
379
|
| Name | Type | Default | Description |
|
|
380
380
|
| --- | --- | --- | --- |
|
|
381
|
-
|
|
|
382
|
-
| defaultValue | String | — | Initial value of the ClearableInput. Pass this prop if you want to use this component as an uncontrolled component. |
|
|
383
|
-
| value | String | — | Value of the ClearableInput. Pass this prop if you want to use this component as a controlled component. |
|
|
384
|
-
| onChange | Function | () => {} | Callback function for when the value changes. Receives new value as an argument. |
|
|
385
|
-
| onClear | Function | () => {} | Callback function for when the value is cleared via the clear button |
|
|
386
|
-
| onKeyPress | Function | () => {} | Callback function for every key pressed including "Enter" key |
|
|
387
|
-
| onBlur | Function | () => {} | Callback function which gets triggered when the input looses the focus |
|
|
388
|
-
| onFocus | Function | () => {} | Callback function which gets triggered when the input gains the focus |
|
|
389
|
-
| className | String | — | Additional classes to be set on the wrapper element |
|
|
390
|
-
| inputClassName | String | — | Additional classes to be set on the input element |
|
|
391
|
-
| placeholder | String | — | The translated text that shall be shown when the input is empty |
|
|
392
|
-
| inputRef | Function | — | The callback ref for the underlying input. Alternatively, use can use a forward ref. |
|
|
393
|
-
| autoComplete | String | — | Sets autocomplete value for autosuggest forms |
|
|
394
|
-
| type | String | "text" | Defines the type of the input itself. There are three types supported: 'text', 'email' and 'password' |
|
|
395
|
-
| maxLength | Number | — | Defines the maximum amount of characters that can be entered |
|
|
396
|
-
| disabled | Boolean | false | Disables the input component |
|
|
397
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
398
|
-
| hasError | Boolean | — | Defined whether or not the input has the error styling |
|
|
399
|
-
| mask | string \| (string \| RegExp)[] | — | The mask prop will allow to use the component with an input mask. It defines the pattern that should be followed. For more details on masking, checkout the third party documentation for the input mask here: https://imask.js.org/guide.html Simple masks can be defined as strings. Any format character can be escaped with a backslash. The following characters will define mask format: Character: "0" = allowed input: "0-9" (digit) Character: "a" = allowed input: "a-z, A-Z" (letter) Character: "*" = allowed input: any character Character: "#" = allowed input: "0-9, a-z, A-Z" (digit or letter) Other chars which is not in custom definitions supposed to be fixed: [] - make input optional - include fixed part in unmasked value ` - prevent symbols shift back If definition character should be treated as fixed it should be escaped by \\ (E.g. \\0). Additionally you can provide custom definitions. Examples: "-- *** *** ***" "+49 00 000 00" |
|
|
400
|
-
| maskPlaceholder | string \| null | _ | Placeholder to cover unfilled parts of the mask |
|
|
401
|
-
| maskVisibility | 'always' \| 'onFocus' \| 'never' | onFocus | Controls when the mask pattern is visible. |
|
|
402
|
-
| maskOverwrite | boolean \| 'shift' \| undefined | true | Enable characters overwriting. |
|
|
403
|
-
| maskDefinitions | Record<string, string \| RegExp> | — | Custom definitions to have more control over your mask. The defined character will be replaced in your mask. |
|
|
404
|
-
| maskDispatch | (appended: string, dynamicMasked: any) => any | — | Chooses the mask for dynamic masking depending on input value. Note, this function may not be an empty function, otherwise the mask selection does not work. |
|
|
405
|
-
| min | string \| number \| undefined \| Date | — | Minimum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
406
|
-
| max | string \| number \| undefined \| Date | — | Maximum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
407
|
-
| Additional props | | — | All additional properties are passed down to the underlying input like the autoComplete prop |
|
|
381
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
408
382
|
|
|
409
383
|
### Example: Example 2
|
|
410
384
|
|
|
@@ -448,7 +422,7 @@ const ClearableInputControlled = () => {
|
|
|
448
422
|
console.log(event.key);
|
|
449
423
|
};
|
|
450
424
|
|
|
451
|
-
const handleBlur = (
|
|
425
|
+
const handleBlur = (_event: React.FocusEvent<HTMLInputElement>) => {
|
|
452
426
|
Notification.info('Input lost focus');
|
|
453
427
|
};
|
|
454
428
|
|
|
@@ -495,33 +469,7 @@ export default ClearableInputControlled;
|
|
|
495
469
|
|
|
496
470
|
| Name | Type | Default | Description |
|
|
497
471
|
| --- | --- | --- | --- |
|
|
498
|
-
|
|
|
499
|
-
| defaultValue | String | — | Initial value of the ClearableInput. Pass this prop if you want to use this component as an uncontrolled component. |
|
|
500
|
-
| value | String | — | Value of the ClearableInput. Pass this prop if you want to use this component as a controlled component. |
|
|
501
|
-
| onChange | Function | () => {} | Callback function for when the value changes. Receives new value as an argument. |
|
|
502
|
-
| onClear | Function | () => {} | Callback function for when the value is cleared via the clear button |
|
|
503
|
-
| onKeyPress | Function | () => {} | Callback function for every key pressed including "Enter" key |
|
|
504
|
-
| onBlur | Function | () => {} | Callback function which gets triggered when the input looses the focus |
|
|
505
|
-
| onFocus | Function | () => {} | Callback function which gets triggered when the input gains the focus |
|
|
506
|
-
| className | String | — | Additional classes to be set on the wrapper element |
|
|
507
|
-
| inputClassName | String | — | Additional classes to be set on the input element |
|
|
508
|
-
| placeholder | String | — | The translated text that shall be shown when the input is empty |
|
|
509
|
-
| inputRef | Function | — | The callback ref for the underlying input. Alternatively, use can use a forward ref. |
|
|
510
|
-
| autoComplete | String | — | Sets autocomplete value for autosuggest forms |
|
|
511
|
-
| type | String | "text" | Defines the type of the input itself. There are three types supported: 'text', 'email' and 'password' |
|
|
512
|
-
| maxLength | Number | — | Defines the maximum amount of characters that can be entered |
|
|
513
|
-
| disabled | Boolean | false | Disables the input component |
|
|
514
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
515
|
-
| hasError | Boolean | — | Defined whether or not the input has the error styling |
|
|
516
|
-
| mask | string \| (string \| RegExp)[] | — | The mask prop will allow to use the component with an input mask. It defines the pattern that should be followed. For more details on masking, checkout the third party documentation for the input mask here: https://imask.js.org/guide.html Simple masks can be defined as strings. Any format character can be escaped with a backslash. The following characters will define mask format: Character: "0" = allowed input: "0-9" (digit) Character: "a" = allowed input: "a-z, A-Z" (letter) Character: "*" = allowed input: any character Character: "#" = allowed input: "0-9, a-z, A-Z" (digit or letter) Other chars which is not in custom definitions supposed to be fixed: [] - make input optional - include fixed part in unmasked value ` - prevent symbols shift back If definition character should be treated as fixed it should be escaped by \\ (E.g. \\0). Additionally you can provide custom definitions. Examples: "-- *** *** ***" "+49 00 000 00" |
|
|
517
|
-
| maskPlaceholder | string \| null | _ | Placeholder to cover unfilled parts of the mask |
|
|
518
|
-
| maskVisibility | 'always' \| 'onFocus' \| 'never' | onFocus | Controls when the mask pattern is visible. |
|
|
519
|
-
| maskOverwrite | boolean \| 'shift' \| undefined | true | Enable characters overwriting. |
|
|
520
|
-
| maskDefinitions | Record<string, string \| RegExp> | — | Custom definitions to have more control over your mask. The defined character will be replaced in your mask. |
|
|
521
|
-
| maskDispatch | (appended: string, dynamicMasked: any) => any | — | Chooses the mask for dynamic masking depending on input value. Note, this function may not be an empty function, otherwise the mask selection does not work. |
|
|
522
|
-
| min | string \| number \| undefined \| Date | — | Minimum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
523
|
-
| max | string \| number \| undefined \| Date | — | Maximum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
524
|
-
| Additional props | | — | All additional properties are passed down to the underlying input like the autoComplete prop |
|
|
472
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
525
473
|
|
|
526
474
|
### Example: Example 3
|
|
527
475
|
|
|
@@ -535,7 +483,7 @@ Controlled component with restriction and used with custom input
|
|
|
535
483
|
|
|
536
484
|
```tsx
|
|
537
485
|
import { useState, useRef, useEffect } from 'react';
|
|
538
|
-
import {
|
|
486
|
+
import { isNil, toNumber } from 'es-toolkit/compat';
|
|
539
487
|
|
|
540
488
|
import ClearableInput from '@rio-cloud/rio-uikit/ClearableInput';
|
|
541
489
|
|
|
@@ -600,33 +548,7 @@ export default ClearableInputControlledRestricted;
|
|
|
600
548
|
|
|
601
549
|
| Name | Type | Default | Description |
|
|
602
550
|
| --- | --- | --- | --- |
|
|
603
|
-
|
|
|
604
|
-
| defaultValue | String | — | Initial value of the ClearableInput. Pass this prop if you want to use this component as an uncontrolled component. |
|
|
605
|
-
| value | String | — | Value of the ClearableInput. Pass this prop if you want to use this component as a controlled component. |
|
|
606
|
-
| onChange | Function | () => {} | Callback function for when the value changes. Receives new value as an argument. |
|
|
607
|
-
| onClear | Function | () => {} | Callback function for when the value is cleared via the clear button |
|
|
608
|
-
| onKeyPress | Function | () => {} | Callback function for every key pressed including "Enter" key |
|
|
609
|
-
| onBlur | Function | () => {} | Callback function which gets triggered when the input looses the focus |
|
|
610
|
-
| onFocus | Function | () => {} | Callback function which gets triggered when the input gains the focus |
|
|
611
|
-
| className | String | — | Additional classes to be set on the wrapper element |
|
|
612
|
-
| inputClassName | String | — | Additional classes to be set on the input element |
|
|
613
|
-
| placeholder | String | — | The translated text that shall be shown when the input is empty |
|
|
614
|
-
| inputRef | Function | — | The callback ref for the underlying input. Alternatively, use can use a forward ref. |
|
|
615
|
-
| autoComplete | String | — | Sets autocomplete value for autosuggest forms |
|
|
616
|
-
| type | String | "text" | Defines the type of the input itself. There are three types supported: 'text', 'email' and 'password' |
|
|
617
|
-
| maxLength | Number | — | Defines the maximum amount of characters that can be entered |
|
|
618
|
-
| disabled | Boolean | false | Disables the input component |
|
|
619
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
620
|
-
| hasError | Boolean | — | Defined whether or not the input has the error styling |
|
|
621
|
-
| mask | string \| (string \| RegExp)[] | — | The mask prop will allow to use the component with an input mask. It defines the pattern that should be followed. For more details on masking, checkout the third party documentation for the input mask here: https://imask.js.org/guide.html Simple masks can be defined as strings. Any format character can be escaped with a backslash. The following characters will define mask format: Character: "0" = allowed input: "0-9" (digit) Character: "a" = allowed input: "a-z, A-Z" (letter) Character: "*" = allowed input: any character Character: "#" = allowed input: "0-9, a-z, A-Z" (digit or letter) Other chars which is not in custom definitions supposed to be fixed: [] - make input optional - include fixed part in unmasked value ` - prevent symbols shift back If definition character should be treated as fixed it should be escaped by \\ (E.g. \\0). Additionally you can provide custom definitions. Examples: "-- *** *** ***" "+49 00 000 00" |
|
|
622
|
-
| maskPlaceholder | string \| null | _ | Placeholder to cover unfilled parts of the mask |
|
|
623
|
-
| maskVisibility | 'always' \| 'onFocus' \| 'never' | onFocus | Controls when the mask pattern is visible. |
|
|
624
|
-
| maskOverwrite | boolean \| 'shift' \| undefined | true | Enable characters overwriting. |
|
|
625
|
-
| maskDefinitions | Record<string, string \| RegExp> | — | Custom definitions to have more control over your mask. The defined character will be replaced in your mask. |
|
|
626
|
-
| maskDispatch | (appended: string, dynamicMasked: any) => any | — | Chooses the mask for dynamic masking depending on input value. Note, this function may not be an empty function, otherwise the mask selection does not work. |
|
|
627
|
-
| min | string \| number \| undefined \| Date | — | Minimum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
628
|
-
| max | string \| number \| undefined \| Date | — | Maximum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
629
|
-
| Additional props | | — | All additional properties are passed down to the underlying input like the autoComplete prop |
|
|
551
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
630
552
|
|
|
631
553
|
## ClearableInput with input mask
|
|
632
554
|
|
|
@@ -777,30 +699,4 @@ export default () => {
|
|
|
777
699
|
|
|
778
700
|
| Name | Type | Default | Description |
|
|
779
701
|
| --- | --- | --- | --- |
|
|
780
|
-
|
|
|
781
|
-
| defaultValue | String | — | Initial value of the ClearableInput. Pass this prop if you want to use this component as an uncontrolled component. |
|
|
782
|
-
| value | String | — | Value of the ClearableInput. Pass this prop if you want to use this component as a controlled component. |
|
|
783
|
-
| onChange | Function | () => {} | Callback function for when the value changes. Receives new value as an argument. |
|
|
784
|
-
| onClear | Function | () => {} | Callback function for when the value is cleared via the clear button |
|
|
785
|
-
| onKeyPress | Function | () => {} | Callback function for every key pressed including "Enter" key |
|
|
786
|
-
| onBlur | Function | () => {} | Callback function which gets triggered when the input looses the focus |
|
|
787
|
-
| onFocus | Function | () => {} | Callback function which gets triggered when the input gains the focus |
|
|
788
|
-
| className | String | — | Additional classes to be set on the wrapper element |
|
|
789
|
-
| inputClassName | String | — | Additional classes to be set on the input element |
|
|
790
|
-
| placeholder | String | — | The translated text that shall be shown when the input is empty |
|
|
791
|
-
| inputRef | Function | — | The callback ref for the underlying input. Alternatively, use can use a forward ref. |
|
|
792
|
-
| autoComplete | String | — | Sets autocomplete value for autosuggest forms |
|
|
793
|
-
| type | String | "text" | Defines the type of the input itself. There are three types supported: 'text', 'email' and 'password' |
|
|
794
|
-
| maxLength | Number | — | Defines the maximum amount of characters that can be entered |
|
|
795
|
-
| disabled | Boolean | false | Disables the input component |
|
|
796
|
-
| tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
797
|
-
| hasError | Boolean | — | Defined whether or not the input has the error styling |
|
|
798
|
-
| mask | string \| (string \| RegExp)[] | — | The mask prop will allow to use the component with an input mask. It defines the pattern that should be followed. For more details on masking, checkout the third party documentation for the input mask here: https://imask.js.org/guide.html Simple masks can be defined as strings. Any format character can be escaped with a backslash. The following characters will define mask format: Character: "0" = allowed input: "0-9" (digit) Character: "a" = allowed input: "a-z, A-Z" (letter) Character: "*" = allowed input: any character Character: "#" = allowed input: "0-9, a-z, A-Z" (digit or letter) Other chars which is not in custom definitions supposed to be fixed: [] - make input optional - include fixed part in unmasked value ` - prevent symbols shift back If definition character should be treated as fixed it should be escaped by \\ (E.g. \\0). Additionally you can provide custom definitions. Examples: "-- *** *** ***" "+49 00 000 00" |
|
|
799
|
-
| maskPlaceholder | string \| null | _ | Placeholder to cover unfilled parts of the mask |
|
|
800
|
-
| maskVisibility | 'always' \| 'onFocus' \| 'never' | onFocus | Controls when the mask pattern is visible. |
|
|
801
|
-
| maskOverwrite | boolean \| 'shift' \| undefined | true | Enable characters overwriting. |
|
|
802
|
-
| maskDefinitions | Record<string, string \| RegExp> | — | Custom definitions to have more control over your mask. The defined character will be replaced in your mask. |
|
|
803
|
-
| maskDispatch | (appended: string, dynamicMasked: any) => any | — | Chooses the mask for dynamic masking depending on input value. Note, this function may not be an empty function, otherwise the mask selection does not work. |
|
|
804
|
-
| min | string \| number \| undefined \| Date | — | Minimum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
805
|
-
| max | string \| number \| undefined \| Date | — | Maximum value to be entered. This prop is extended to accept a Date when used with an input mask. |
|
|
806
|
-
| Additional props | | — | All additional properties are passed down to the underlying input like the autoComplete prop |
|
|
702
|
+
| tabIndex | | — | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Show/Hide
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/collapse
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:08.453Z
|
|
7
7
|
|
|
8
8
|
The Collapse component folds and unfolds given content. It is used in some other components such as the ExpanderPanel and ExpanderList.
|
|
9
9
|
|
|
@@ -83,7 +83,7 @@ export default () => {
|
|
|
83
83
|
<div class="margin-bottom-15">
|
|
84
84
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt. Fusce ac ligula bibendum, rutrum libero quis, viverra sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis ut hendrerit massa, in molestie elit. Sed vitae orci ac purus volutpat posuere ac ut neque. Mauris ante orci, semper finibus lorem in, fringilla pretium velit.</div>
|
|
85
85
|
<div class="dropdown btn-group">
|
|
86
|
-
<button type="button" id="
|
|
86
|
+
<button type="button" id="nodispi0hee" class="btn btn-default btn-md btn-component dropdown-toggle" tabindex="0">Dropdown<span class="caret">
|
|
87
87
|
</span>
|
|
88
88
|
</button>
|
|
89
89
|
</div>
|
|
@@ -94,19 +94,6 @@ export default () => {
|
|
|
94
94
|
</div>
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
#### Props
|
|
98
|
-
|
|
99
|
-
| Name | Type | Default | Description |
|
|
100
|
-
| --- | --- | --- | --- |
|
|
101
|
-
| open | Boolean | false | Show the component and triggers the expand or collapse animation. |
|
|
102
|
-
| timeout | Number | 270 | Duration of the collapse animation in milliseconds. |
|
|
103
|
-
| appear | Boolean | false | Run the expand animation when the component mounts, if it is initially shown. |
|
|
104
|
-
| unmountOnExit | Boolean | false | Unmount the component (remove it from the DOM) when it is collapsed. |
|
|
105
|
-
| onEntered | () => void | — | Callback fired after the component has expanded. |
|
|
106
|
-
| onExited | () => {} | — | Callback fired after the component has collapsed. |
|
|
107
|
-
| onAnimationStart | () => {} | — | Callback fired when the animation starts for either expand or collapse. |
|
|
108
|
-
| children | any | — | Any component given to be expanded or collapsed. |
|
|
109
|
-
|
|
110
97
|
### Example: Content will be removed from the DOM when it is collapsed and mounted again on show
|
|
111
98
|
|
|
112
99
|
Content will be removed from the DOM when it is collapsed and mounted again on show
|
|
@@ -173,17 +160,4 @@ export default () => {
|
|
|
173
160
|
</div>
|
|
174
161
|
</div>
|
|
175
162
|
</div>
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
#### Props
|
|
179
|
-
|
|
180
|
-
| Name | Type | Default | Description |
|
|
181
|
-
| --- | --- | --- | --- |
|
|
182
|
-
| open | Boolean | false | Show the component and triggers the expand or collapse animation. |
|
|
183
|
-
| timeout | Number | 270 | Duration of the collapse animation in milliseconds. |
|
|
184
|
-
| appear | Boolean | false | Run the expand animation when the component mounts, if it is initially shown. |
|
|
185
|
-
| unmountOnExit | Boolean | false | Unmount the component (remove it from the DOM) when it is collapsed. |
|
|
186
|
-
| onEntered | () => void | — | Callback fired after the component has expanded. |
|
|
187
|
-
| onExited | () => {} | — | Callback fired after the component has collapsed. |
|
|
188
|
-
| onAnimationStart | () => {} | — | Callback fired when the animation starts for either expand or collapse. |
|
|
189
|
-
| children | any | — | Any component given to be expanded or collapsed. |
|
|
163
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Charts
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/composedCharts
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:08:18.120Z
|
|
7
7
|
|
|
8
8
|
## ComposedChart
|
|
9
9
|
|
|
@@ -211,7 +211,7 @@ const data: CustomData[] = [
|
|
|
211
211
|
</title>
|
|
212
212
|
<desc>
|
|
213
213
|
</desc>
|
|
214
|
-
<g tabindex="-1"
|
|
214
|
+
<g tabindex="-1">
|
|
215
215
|
<g class="recharts-cartesian-grid">
|
|
216
216
|
<g class="recharts-cartesian-grid-horizontal">
|
|
217
217
|
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="365.03125" height="108" x1="15" y1="123" x2="380.03125" y2="123">
|
|
@@ -227,7 +227,7 @@ const data: CustomData[] = [
|
|
|
227
227
|
</g>
|
|
228
228
|
</g>
|
|
229
229
|
</g>
|
|
230
|
-
<g tabindex="-1"
|
|
230
|
+
<g tabindex="-1">
|
|
231
231
|
</g>
|
|
232
232
|
<defs>
|
|
233
233
|
<clipPath id="recharts1-clip">
|
|
@@ -235,18 +235,18 @@ const data: CustomData[] = [
|
|
|
235
235
|
</rect>
|
|
236
236
|
</clipPath>
|
|
237
237
|
</defs>
|
|
238
|
-
<g tabindex="-1"
|
|
238
|
+
<g tabindex="-1">
|
|
239
239
|
<g class="recharts-layer recharts-area">
|
|
240
240
|
<g class="recharts-layer">
|
|
241
241
|
<defs>
|
|
242
|
-
<clipPath id="animationClipPath-recharts-area-:
|
|
243
|
-
<rect x="70.41927083333333" y="0" width="
|
|
242
|
+
<clipPath id="animationClipPath-recharts-area-:r1:">
|
|
243
|
+
<rect x="70.41927083333333" y="0" width="71.53671682489494" height="124">
|
|
244
244
|
</rect>
|
|
245
245
|
</clipPath>
|
|
246
246
|
</defs>
|
|
247
|
-
<g class="recharts-layer" clip-path="url(#animationClipPath-recharts-area-:
|
|
247
|
+
<g class="recharts-layer" clip-path="url(#animationClipPath-recharts-area-:r1:)">
|
|
248
248
|
<g class="recharts-layer">
|
|
249
|
-
<path stroke-width="1" fill="#e878b6 " fill-opacity="0.5" height="108" stroke="none" width="365.03125" id="recharts-area-:
|
|
249
|
+
<path stroke-width="1" fill="#e878b6 " fill-opacity="0.5" height="108" stroke="none" width="365.03125" id="recharts-area-:r1:" class="recharts-curve recharts-area-area" d="M70.419,39C87.365,35.82,104.312,32.64,121.258,32.64C138.204,32.64,155.15,63.66,172.096,63.66C189.043,63.66,205.989,49.32,222.935,49.32C239.881,49.32,256.827,57,273.773,57C290.72,57,307.666,39,324.612,21L324.612,123C307.666,123,290.72,123,273.773,123C256.827,123,239.881,123,222.935,123C205.989,123,189.043,123,172.096,123C155.15,123,138.204,123,121.258,123C104.312,123,87.365,123,70.419,123Z">
|
|
250
250
|
</path>
|
|
251
251
|
<path stroke-width="1" fill="none" fill-opacity="0.5" height="108" stroke="#e878b6 " width="365.03125" class="recharts-curve recharts-area-curve" d="M70.419,39C87.365,35.82,104.312,32.64,121.258,32.64C138.204,32.64,155.15,63.66,172.096,63.66C189.043,63.66,205.989,49.32,222.935,49.32C239.881,49.32,256.827,57,273.773,57C290.72,57,307.666,39,324.612,21">
|
|
252
252
|
</path>
|
|
@@ -255,53 +255,53 @@ const data: CustomData[] = [
|
|
|
255
255
|
</g>
|
|
256
256
|
</g>
|
|
257
257
|
</g>
|
|
258
|
-
<g tabindex="-1"
|
|
258
|
+
<g tabindex="-1">
|
|
259
259
|
</g>
|
|
260
|
-
<g tabindex="-1"
|
|
261
|
-
<g class="recharts-layer recharts-bar" id="recharts-bar-:
|
|
260
|
+
<g tabindex="-1">
|
|
261
|
+
<g class="recharts-layer recharts-bar" id="recharts-bar-:r2:">
|
|
262
262
|
<g class="recharts-layer recharts-bar-rectangles">
|
|
263
263
|
<g class="recharts-layer">
|
|
264
264
|
<g class="recharts-layer recharts-bar-rectangle">
|
|
265
|
-
<path fill-opacity="1" fill="#8e96eb " name="Page A" x="50.
|
|
266
|
-
90.
|
|
265
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page A" x="50.0839" y="77.2995" width="40" height="45.7005" class="recharts-rectangle" d="M50.0839,80.2995A 3,3,0,0,1,53.0839,77.2995L 87.0839,77.2995A 3,3,0,0,1,
|
|
266
|
+
90.0839,80.2995L 90.0839,123L 50.0839,123Z">
|
|
267
267
|
</path>
|
|
268
268
|
</g>
|
|
269
269
|
<g class="recharts-layer recharts-bar-rectangle">
|
|
270
|
-
<path fill-opacity="1" fill="#8e96eb " name="Page B" x="100.
|
|
271
|
-
140.
|
|
270
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page B" x="100.9224" y="67.7595" width="40" height="55.2405" class="recharts-rectangle" d="M100.9224,70.7595A 3,3,0,0,1,103.9224,67.7595L 137.9224,67.7595A 3,3,0,0,1,
|
|
271
|
+
140.9224,70.7595L 140.9224,123L 100.9224,123Z">
|
|
272
272
|
</path>
|
|
273
273
|
</g>
|
|
274
274
|
<g class="recharts-layer recharts-bar-rectangle">
|
|
275
|
-
<path fill-opacity="1" fill="#8e96eb " name="Page C" x="151.
|
|
276
|
-
191.
|
|
275
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page C" x="151.7609" y="60.2761" width="40" height="62.7239" class="recharts-rectangle" d="M151.7609,63.2761A 3,3,0,0,1,154.7609,60.2761L 188.7609,60.2761A 3,3,0,0,1,
|
|
276
|
+
191.7609,63.2761L 191.7609,123L 151.7609,123Z">
|
|
277
277
|
</path>
|
|
278
278
|
</g>
|
|
279
279
|
<g class="recharts-layer recharts-bar-rectangle">
|
|
280
|
-
<path fill-opacity="1" fill="#8e96eb " name="Page D" x="202.
|
|
281
|
-
242.
|
|
280
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page D" x="202.5995" y="54.4493" width="40" height="68.5507" class="recharts-rectangle" d="M202.5995,57.4493A 3,3,0,0,1,205.5995,54.4493L 239.5995,54.4493A 3,3,0,0,1,
|
|
281
|
+
242.5995,57.4493L 242.5995,123L 202.5995,123Z">
|
|
282
282
|
</path>
|
|
283
283
|
</g>
|
|
284
284
|
<g class="recharts-layer recharts-bar-rectangle">
|
|
285
|
-
<path fill-opacity="1" fill="#8e96eb " name="Page E" x="253.
|
|
286
|
-
293.
|
|
285
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page E" x="253.438" y="59.7048" width="40" height="63.2952" class="recharts-rectangle" d="M253.438,62.7048A 3,3,0,0,1,256.438,59.7048L 290.438,59.7048A 3,3,0,0,1,
|
|
286
|
+
293.438,62.7048L 293.438,123L 253.438,123Z">
|
|
287
287
|
</path>
|
|
288
288
|
</g>
|
|
289
289
|
<g class="recharts-layer recharts-bar-rectangle">
|
|
290
|
-
<path fill-opacity="1" fill="#8e96eb " name="Page F" x="304.
|
|
291
|
-
344.
|
|
290
|
+
<path fill-opacity="1" fill="#8e96eb " name="Page F" x="304.2766" y="84.1546" width="40" height="38.8454" class="recharts-rectangle" d="M304.2766,87.1546A 3,3,0,0,1,307.2766,84.1546L 341.2766,84.1546A 3,3,0,0,1,
|
|
291
|
+
344.2766,87.1546L 344.2766,123L 304.2766,123Z">
|
|
292
292
|
</path>
|
|
293
293
|
</g>
|
|
294
294
|
</g>
|
|
295
295
|
</g>
|
|
296
296
|
</g>
|
|
297
297
|
</g>
|
|
298
|
-
<g tabindex="-1"
|
|
298
|
+
<g tabindex="-1">
|
|
299
299
|
<g class="recharts-layer recharts-line">
|
|
300
|
-
<path stroke-width="1" stroke="#30b4c0 " fill="none" id="recharts-line-:
|
|
300
|
+
<path stroke-width="1" stroke="#30b4c0 " fill="none" id="recharts-line-:r3:" height="108" width="365.03125" class="recharts-curve recharts-line-curve" stroke-dasharray="75.251px 192.13977758789062px" d="M70.419,87.6C87.365,83.295,104.312,78.99,121.258,70.92C138.204,62.85,155.15,42.5,172.096,39.18C189.043,35.86,205.989,35.43,222.935,34.2C239.881,32.97,256.827,31.8,273.773,31.8C290.72,31.8,307.666,35.4,324.612,39">
|
|
301
301
|
</path>
|
|
302
302
|
</g>
|
|
303
303
|
</g>
|
|
304
|
-
<g tabindex="-1"
|
|
304
|
+
<g tabindex="-1">
|
|
305
305
|
<g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
|
|
306
306
|
<line angle="0" height="30" orientation="bottom" x="15" y="123" width="365.03125" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="15" y1="123" x2="380.03125" y2="123">
|
|
307
307
|
</line>
|
|
@@ -335,7 +335,7 @@ const data: CustomData[] = [
|
|
|
335
335
|
</g>
|
|
336
336
|
</g>
|
|
337
337
|
</g>
|
|
338
|
-
<g tabindex="-1"
|
|
338
|
+
<g tabindex="-1">
|
|
339
339
|
<g class="recharts-layer recharts-line-dots">
|
|
340
340
|
<circle r="3" stroke-width="1" stroke="#30b4c0 " fill="#fff" height="108" width="365.03125" cx="70.41927083333333" cy="87.60000000000001" class="recharts-dot recharts-line-dot">
|
|
341
341
|
</circle>
|
|
@@ -351,13 +351,13 @@ const data: CustomData[] = [
|
|
|
351
351
|
</circle>
|
|
352
352
|
</g>
|
|
353
353
|
</g>
|
|
354
|
-
<g tabindex="-1"
|
|
354
|
+
<g tabindex="-1">
|
|
355
355
|
</g>
|
|
356
|
-
<g tabindex="-1"
|
|
356
|
+
<g tabindex="-1">
|
|
357
357
|
</g>
|
|
358
|
-
<g tabindex="-1"
|
|
358
|
+
<g tabindex="-1">
|
|
359
359
|
</g>
|
|
360
|
-
<g tabindex="-1"
|
|
360
|
+
<g tabindex="-1">
|
|
361
361
|
<g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
|
|
362
362
|
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
363
363
|
<text height="30" orientation="bottom" width="365.03125" stroke="none" x="70.41927083333333" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|