@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:* Misc
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/calendarStripe
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:42.234Z
|
|
7
7
|
|
|
8
8
|
A headless component where you provide a function that renders the UI for every day to be displayed.
|
|
9
9
|
|
|
@@ -11,31 +11,31 @@ A headless component where you provide a function that renders the UI for every
|
|
|
11
11
|
|
|
12
12
|
### Example: Example 1
|
|
13
13
|
|
|
14
|
-
Tuesday
|
|
15
|
-
16 December 2025
|
|
16
|
-
|
|
17
|
-
Wednesday
|
|
18
|
-
17 December 2025
|
|
19
|
-
|
|
20
14
|
Thursday
|
|
21
|
-
|
|
15
|
+
15 January 2026
|
|
22
16
|
|
|
23
17
|
Friday
|
|
24
|
-
|
|
18
|
+
16 January 2026
|
|
25
19
|
|
|
26
|
-
|
|
20
|
+
Saturday
|
|
21
|
+
17 January 2026
|
|
27
22
|
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
Sunday
|
|
24
|
+
18 January 2026
|
|
30
25
|
|
|
31
|
-
|
|
32
|
-
17 December 2025
|
|
26
|
+
#### Summary
|
|
33
27
|
|
|
34
28
|
Thursday
|
|
35
|
-
|
|
29
|
+
15 January 2026
|
|
36
30
|
|
|
37
31
|
Friday
|
|
38
|
-
|
|
32
|
+
16 January 2026
|
|
33
|
+
|
|
34
|
+
Saturday
|
|
35
|
+
17 January 2026
|
|
36
|
+
|
|
37
|
+
Sunday
|
|
38
|
+
18 January 2026
|
|
39
39
|
|
|
40
40
|
#### React (tsx)
|
|
41
41
|
|
|
@@ -130,8 +130,8 @@ const DayComponent = ({ date, onSelect, selectedDates }: DayComponentProps) => {
|
|
|
130
130
|
<div class="padding-15 border border-top-none border-bottom-none hover-text-color-darkest hover-bg-highlight-decent cursor-pointer ">
|
|
131
131
|
<div class="display-flex align-items-center justify-content-between">
|
|
132
132
|
<div class="display-flex flex-column gap-5 text-size-14 line-height-14">
|
|
133
|
-
<div>
|
|
134
|
-
<div class="text-size-16 text-medium">
|
|
133
|
+
<div>Thursday</div>
|
|
134
|
+
<div class="text-size-16 text-medium">15 January 2026</div>
|
|
135
135
|
</div>
|
|
136
136
|
<div class="text-color-primary text-size-16 width-20">
|
|
137
137
|
</div>
|
|
@@ -142,8 +142,8 @@ const DayComponent = ({ date, onSelect, selectedDates }: DayComponentProps) => {
|
|
|
142
142
|
<div class="padding-15 border border-top-none border-bottom-none hover-text-color-darkest hover-bg-highlight-decent cursor-pointer ">
|
|
143
143
|
<div class="display-flex align-items-center justify-content-between">
|
|
144
144
|
<div class="display-flex flex-column gap-5 text-size-14 line-height-14">
|
|
145
|
-
<div>
|
|
146
|
-
<div class="text-size-16 text-medium">
|
|
145
|
+
<div>Friday</div>
|
|
146
|
+
<div class="text-size-16 text-medium">16 January 2026</div>
|
|
147
147
|
</div>
|
|
148
148
|
<div class="text-color-primary text-size-16 width-20">
|
|
149
149
|
</div>
|
|
@@ -151,11 +151,11 @@ const DayComponent = ({ date, onSelect, selectedDates }: DayComponentProps) => {
|
|
|
151
151
|
</div>
|
|
152
152
|
</div>
|
|
153
153
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
154
|
-
<div class="padding-15 border border-top-none border-bottom-none hover-text-color-darkest hover-bg-highlight-decent cursor-pointer ">
|
|
154
|
+
<div class="padding-15 border border-top-none border-bottom-none hover-text-color-darkest hover-bg-highlight-decent cursor-pointer bg-lightest">
|
|
155
155
|
<div class="display-flex align-items-center justify-content-between">
|
|
156
156
|
<div class="display-flex flex-column gap-5 text-size-14 line-height-14">
|
|
157
|
-
<div>
|
|
158
|
-
<div class="text-size-16 text-medium">
|
|
157
|
+
<div>Saturday</div>
|
|
158
|
+
<div class="text-size-16 text-medium">17 January 2026</div>
|
|
159
159
|
</div>
|
|
160
160
|
<div class="text-color-primary text-size-16 width-20">
|
|
161
161
|
</div>
|
|
@@ -163,11 +163,11 @@ const DayComponent = ({ date, onSelect, selectedDates }: DayComponentProps) => {
|
|
|
163
163
|
</div>
|
|
164
164
|
</div>
|
|
165
165
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
166
|
-
<div class="padding-15 border border-top-none border-bottom-none hover-text-color-darkest hover-bg-highlight-decent cursor-pointer ">
|
|
166
|
+
<div class="padding-15 border border-top-none border-bottom-none hover-text-color-darkest hover-bg-highlight-decent cursor-pointer bg-lightest">
|
|
167
167
|
<div class="display-flex align-items-center justify-content-between">
|
|
168
168
|
<div class="display-flex flex-column gap-5 text-size-14 line-height-14">
|
|
169
|
-
<div>
|
|
170
|
-
<div class="text-size-16 text-medium">
|
|
169
|
+
<div>Sunday</div>
|
|
170
|
+
<div class="text-size-16 text-medium">18 January 2026</div>
|
|
171
171
|
</div>
|
|
172
172
|
<div class="text-color-primary text-size-16 width-20">
|
|
173
173
|
</div>
|
|
@@ -187,84 +187,75 @@ const DayComponent = ({ date, onSelect, selectedDates }: DayComponentProps) => {
|
|
|
187
187
|
</div>
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
#### Props
|
|
191
|
-
|
|
192
|
-
| Name | Type | Default | Description |
|
|
193
|
-
| --- | --- | --- | --- |
|
|
194
|
-
| minDayWith | Number | 200 | The minimum width in pixel of a single day column. This value determines how many days are shown per page depending on the parent width. |
|
|
195
|
-
| minDays | Number | 1 | The minimum amount of days that should be shown per page. |
|
|
196
|
-
| maxDays | Number | 7 | The maximum amount of days that should be shown per page. |
|
|
197
|
-
| skipWeekends | Boolean | false | Defines whether the days for the weekends are included or not. |
|
|
198
|
-
| startDate | Date | new Date() | The date of the first day that are rendered. |
|
|
199
|
-
| renderDay | Function | — | A function that renders each individual day to be displayed. |
|
|
200
|
-
| onPreviousClick | (newStartDate: Date) => void | — | Callback function for when the previous button is clicked. |
|
|
201
|
-
| onNextClick | (newStartDate: Date) => void | — | Callback function for when the next button is clicked. |
|
|
202
|
-
| buttonClassName | String | — | Additional classes set to the navigation buttons. |
|
|
203
|
-
| className | String | — | Additional classes set to the calendar element. |
|
|
204
|
-
| daysWrapperClassNames | String | — | Additional classes set to the days wrapper element. |
|
|
205
|
-
| dayWrapperClassNames | String | — | Additional classes set to the day wrapper element. |
|
|
206
|
-
|
|
207
190
|
### Example: Example 2
|
|
208
191
|
|
|
209
|
-
|
|
192
|
+
Jan
|
|
193
|
+
15
|
|
194
|
+
2026
|
|
195
|
+
|
|
196
|
+
Jan
|
|
210
197
|
16
|
|
211
|
-
|
|
198
|
+
2026
|
|
212
199
|
|
|
213
|
-
|
|
200
|
+
Jan
|
|
214
201
|
17
|
|
215
|
-
|
|
202
|
+
2026
|
|
216
203
|
|
|
217
|
-
|
|
204
|
+
Jan
|
|
218
205
|
18
|
|
219
|
-
|
|
206
|
+
2026
|
|
220
207
|
|
|
221
|
-
|
|
208
|
+
Jan
|
|
222
209
|
19
|
|
223
|
-
|
|
210
|
+
2026
|
|
224
211
|
|
|
225
|
-
|
|
212
|
+
Jan
|
|
226
213
|
20
|
|
227
|
-
|
|
214
|
+
2026
|
|
228
215
|
|
|
229
|
-
|
|
216
|
+
Jan
|
|
230
217
|
21
|
|
231
|
-
|
|
218
|
+
2026
|
|
232
219
|
|
|
233
|
-
|
|
220
|
+
Jan
|
|
234
221
|
22
|
|
235
|
-
|
|
222
|
+
2026
|
|
236
223
|
|
|
237
224
|
Set to JanuaryToggle Weekends
|
|
238
225
|
|
|
239
226
|
#### Summary
|
|
240
227
|
|
|
241
|
-
|
|
228
|
+
Jan
|
|
229
|
+
15
|
|
230
|
+
2026
|
|
231
|
+
|
|
232
|
+
Jan
|
|
242
233
|
16
|
|
243
|
-
|
|
234
|
+
2026
|
|
244
235
|
|
|
245
|
-
|
|
236
|
+
Jan
|
|
246
237
|
17
|
|
247
|
-
|
|
238
|
+
2026
|
|
248
239
|
|
|
249
|
-
|
|
240
|
+
Jan
|
|
250
241
|
18
|
|
251
|
-
|
|
242
|
+
2026
|
|
252
243
|
|
|
253
|
-
|
|
244
|
+
Jan
|
|
254
245
|
19
|
|
255
|
-
|
|
246
|
+
2026
|
|
256
247
|
|
|
257
|
-
|
|
248
|
+
Jan
|
|
258
249
|
20
|
|
259
|
-
|
|
250
|
+
2026
|
|
260
251
|
|
|
261
|
-
|
|
252
|
+
Jan
|
|
262
253
|
21
|
|
263
|
-
|
|
254
|
+
2026
|
|
264
255
|
|
|
265
|
-
|
|
256
|
+
Jan
|
|
266
257
|
22
|
|
267
|
-
|
|
258
|
+
2026
|
|
268
259
|
|
|
269
260
|
Set to JanuaryToggle Weekends
|
|
270
261
|
|
|
@@ -389,90 +380,90 @@ const DayContent = ({ date, onSelect, selectedDate }: DayContentProps) => {
|
|
|
389
380
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
390
381
|
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
391
382
|
<div class="display-flex flex-column gap-3 text-center">
|
|
392
|
-
<div class="text-size-12 line-height-12">
|
|
393
|
-
<div class="text-size-h3 line-height-h3">
|
|
394
|
-
<div class="text-size-12 line-height-12">
|
|
383
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
384
|
+
<div class="text-size-h3 line-height-h3">15</div>
|
|
385
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
395
386
|
</div>
|
|
396
387
|
</div>
|
|
397
388
|
</div>
|
|
398
389
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
399
390
|
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
400
391
|
<div class="display-flex flex-column gap-3 text-center">
|
|
401
|
-
<div class="text-size-12 line-height-12">
|
|
392
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
393
|
+
<div class="text-size-h3 line-height-h3">16</div>
|
|
394
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
399
|
+
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 bg-lightest text-color-gray pointer-events-none hover-bg-highlight-decent hover-text-color-darkest">
|
|
400
|
+
<div class="display-flex flex-column gap-3 text-center">
|
|
401
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
402
402
|
<div class="text-size-h3 line-height-h3">17</div>
|
|
403
|
-
<div class="text-size-12 line-height-12">
|
|
403
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
404
404
|
</div>
|
|
405
405
|
</div>
|
|
406
406
|
</div>
|
|
407
407
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
408
|
-
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1
|
|
408
|
+
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 bg-lightest text-color-gray pointer-events-none hover-bg-highlight-decent hover-text-color-darkest">
|
|
409
409
|
<div class="display-flex flex-column gap-3 text-center">
|
|
410
|
-
<div class="text-size-12 line-height-12">
|
|
410
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
411
411
|
<div class="text-size-h3 line-height-h3">18</div>
|
|
412
|
-
<div class="text-size-12 line-height-12">
|
|
412
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
413
413
|
</div>
|
|
414
414
|
</div>
|
|
415
415
|
</div>
|
|
416
416
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
417
417
|
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
418
418
|
<div class="display-flex flex-column gap-3 text-center">
|
|
419
|
-
<div class="text-size-12 line-height-12">
|
|
419
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
420
420
|
<div class="text-size-h3 line-height-h3">19</div>
|
|
421
|
-
<div class="text-size-12 line-height-12">
|
|
421
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
422
422
|
</div>
|
|
423
423
|
</div>
|
|
424
424
|
</div>
|
|
425
425
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
426
|
-
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1
|
|
426
|
+
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
427
427
|
<div class="display-flex flex-column gap-3 text-center">
|
|
428
|
-
<div class="text-size-12 line-height-12">
|
|
428
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
429
429
|
<div class="text-size-h3 line-height-h3">20</div>
|
|
430
|
-
<div class="text-size-12 line-height-12">
|
|
430
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
431
431
|
</div>
|
|
432
432
|
</div>
|
|
433
433
|
</div>
|
|
434
434
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
435
|
-
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1
|
|
435
|
+
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
436
436
|
<div class="display-flex flex-column gap-3 text-center">
|
|
437
|
-
<div class="text-size-12 line-height-12">
|
|
437
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
438
438
|
<div class="text-size-h3 line-height-h3">21</div>
|
|
439
|
-
<div class="text-size-12 line-height-12">
|
|
439
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
440
440
|
</div>
|
|
441
441
|
</div>
|
|
442
442
|
</div>
|
|
443
443
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
444
444
|
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
445
445
|
<div class="display-flex flex-column gap-3 text-center">
|
|
446
|
-
<div class="text-size-12 line-height-12">
|
|
446
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
447
447
|
<div class="text-size-h3 line-height-h3">22</div>
|
|
448
|
-
<div class="text-size-12 line-height-12">
|
|
448
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
449
449
|
</div>
|
|
450
450
|
</div>
|
|
451
451
|
</div>
|
|
452
452
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
453
453
|
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
454
454
|
<div class="display-flex flex-column gap-3 text-center">
|
|
455
|
-
<div class="text-size-12 line-height-12">
|
|
455
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
456
456
|
<div class="text-size-h3 line-height-h3">23</div>
|
|
457
|
-
<div class="text-size-12 line-height-12">
|
|
457
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
458
458
|
</div>
|
|
459
459
|
</div>
|
|
460
460
|
</div>
|
|
461
461
|
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
462
|
-
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1
|
|
462
|
+
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 bg-lightest text-color-gray pointer-events-none hover-bg-highlight-decent hover-text-color-darkest">
|
|
463
463
|
<div class="display-flex flex-column gap-3 text-center">
|
|
464
|
-
<div class="text-size-12 line-height-12">
|
|
464
|
+
<div class="text-size-12 line-height-12">Jan</div>
|
|
465
465
|
<div class="text-size-h3 line-height-h3">24</div>
|
|
466
|
-
<div class="text-size-12 line-height-12">
|
|
467
|
-
</div>
|
|
468
|
-
</div>
|
|
469
|
-
</div>
|
|
470
|
-
<div class="ColumnItem flex-1-1-0 space-x--1 user-select-none">
|
|
471
|
-
<div class="cursor-pointer border border-top-none border-bottom-none display-grid place-items-center aspect-ratio-1 hover-bg-highlight-decent hover-text-color-darkest">
|
|
472
|
-
<div class="display-flex flex-column gap-3 text-center">
|
|
473
|
-
<div class="text-size-12 line-height-12">Dec</div>
|
|
474
|
-
<div class="text-size-h3 line-height-h3">25</div>
|
|
475
|
-
<div class="text-size-12 line-height-12">2025</div>
|
|
466
|
+
<div class="text-size-12 line-height-12">2026</div>
|
|
476
467
|
</div>
|
|
477
468
|
</div>
|
|
478
469
|
</div>
|
|
@@ -489,21 +480,4 @@ const DayContent = ({ date, onSelect, selectedDate }: DayContentProps) => {
|
|
|
489
480
|
<button type="button" class="btn btn-default btn-component" tabindex="0">Toggle Weekends</button>
|
|
490
481
|
</div>
|
|
491
482
|
</div>
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
#### Props
|
|
495
|
-
|
|
496
|
-
| Name | Type | Default | Description |
|
|
497
|
-
| --- | --- | --- | --- |
|
|
498
|
-
| minDayWith | Number | 200 | The minimum width in pixel of a single day column. This value determines how many days are shown per page depending on the parent width. |
|
|
499
|
-
| minDays | Number | 1 | The minimum amount of days that should be shown per page. |
|
|
500
|
-
| maxDays | Number | 7 | The maximum amount of days that should be shown per page. |
|
|
501
|
-
| skipWeekends | Boolean | false | Defines whether the days for the weekends are included or not. |
|
|
502
|
-
| startDate | Date | new Date() | The date of the first day that are rendered. |
|
|
503
|
-
| renderDay | Function | — | A function that renders each individual day to be displayed. |
|
|
504
|
-
| onPreviousClick | (newStartDate: Date) => void | — | Callback function for when the previous button is clicked. |
|
|
505
|
-
| onNextClick | (newStartDate: Date) => void | — | Callback function for when the next button is clicked. |
|
|
506
|
-
| buttonClassName | String | — | Additional classes set to the navigation buttons. |
|
|
507
|
-
| className | String | — | Additional classes set to the calendar element. |
|
|
508
|
-
| daysWrapperClassNames | String | — | Additional classes set to the days wrapper element. |
|
|
509
|
-
| dayWrapperClassNames | String | — | Additional classes set to the day wrapper element. |
|
|
483
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/card
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:26.234Z
|
|
7
7
|
|
|
8
8
|
The Card is a utility component designed to simplify usage of default card styling.
|
|
9
9
|
|
|
@@ -75,12 +75,4 @@ export default () => (
|
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
#### Props
|
|
81
|
-
|
|
82
|
-
| Name | Type | Default | Description |
|
|
83
|
-
| --- | --- | --- | --- |
|
|
84
|
-
| shadow | 'subtle' \| 'muted' \| 'accent' \| 'default' \| 'smooth' \| 'muted-down' \| 'default-down' \| 'none' | default | The shadow class. |
|
|
85
|
-
| shadow | 0 \| 5 \| 10 \| 15 \| 20 \| 25 \| 50 | 15 | The card padding. |
|
|
86
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
78
|
+
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Charts
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/chartColors
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:08:16.568Z
|
|
7
7
|
|
|
8
8
|
The colors listed below are exposed via the colors.json file and can also be used with other charting libraries to achieve a common look and feel.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Charts
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/chartsGettingStarted
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:08:15.330Z
|
|
7
7
|
|
|
8
8
|
The UIKIT chart components are simple wrapper components for the Recharts charting library.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* CSS Only
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/chat
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:54.061Z
|
|
7
7
|
|
|
8
8
|
The chat component is a pure CSS component.
|
|
9
9
|
|
|
@@ -524,6 +524,9 @@ export default () => {
|
|
|
524
524
|
|
|
525
525
|
```html
|
|
526
526
|
<div class="display-flex flex-column height-600 position-relative padding-right-5 overflow-hidden">
|
|
527
|
+
<div class="position-absolute left-0 right-0 justify-content-center display-flex z-index-1" style="opacity: 0; top: -28.0384px; transform: none;">
|
|
528
|
+
<div class="rounded-circle bg-primary text-color-white text-center padding-x-10 padding-y-5 cursor-pointer shadow-smooth">Older messages</div>
|
|
529
|
+
</div>
|
|
527
530
|
<div class="scrollbar-fly-in smooth-scrollbar-wrapper" style="position: relative; overflow: hidden; width: 100%; height: 100%;">
|
|
528
531
|
<div class="scrollbar-view" style="position: absolute; inset: 0px; overflow: scroll; margin-right: 0px; margin-bottom: 0px;">
|
|
529
532
|
<div class="scrollbar-content-wrapper">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Interaction
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/checkbox
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:01.013Z
|
|
7
7
|
|
|
8
8
|
## Checkbox
|
|
9
9
|
|
|
@@ -337,28 +337,8 @@ export default () => (
|
|
|
337
337
|
|
|
338
338
|
| Name | Type | Default | Description |
|
|
339
339
|
| --- | --- | --- | --- |
|
|
340
|
-
|
|
|
341
|
-
|
|
|
342
|
-
| label | String / Node | — | Define some text as a label. |
|
|
343
|
-
| checked | String / Boolean | — | Defines whether the checkbox is checked or not (state cannot be changed). |
|
|
344
|
-
| defaultChecked | String / Boolean | — | Defines whether the checkbox is initially checked or not (state can be changed on click). |
|
|
345
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
346
|
-
| indeterminate | Boolean | false | Defines if the checkbox is in an indeterminate state with regards to other checkboxes that may be in different selection state. |
|
|
347
|
-
| inline | Boolean | false | Defines whether the checkbox is applying an inline style. Use this in combination with other checkboxes. |
|
|
348
|
-
| right | Boolean | false | Defines whether the checkbox is on the right side. |
|
|
349
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a checkbox tick. |
|
|
350
|
-
| onClick | Function | () => {} | Callback function that is invoked when the checkbox is checked or unchecked. |
|
|
351
|
-
| onChange | Function | () => {} | Callback function that is invoked when the checkbox value changes. This will also be invoked by a keyboard event. |
|
|
352
|
-
| error | Boolean | false | Use "error" to change color of the checkbox. |
|
|
353
|
-
| required | Boolean | false | Defines whether the checkbox is required or not. |
|
|
354
|
-
| size | String | — | Defines the size of the checkbox. Omitting this prop renders the Checkbox in normal size. Possible values are: 'large' |
|
|
355
|
-
| 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 |
|
|
356
|
-
| className | String | — | Additional classes to be set on the input field. |
|
|
357
|
-
| children | any | — | Any element to be rendered next to the checkbox. |
|
|
358
|
-
| icon | String | — | Define a custom icon for the checkbox by naming a rioglyph icon like "rioglyph-truck". |
|
|
359
|
-
| iconSize | Number | — | The icon size in pixel. |
|
|
360
|
-
| iconLabelPosition | String | — | The label position for a custom icon checkbox. Using this on a regular checkbox has no effect. Possible values are: "horizontal" or "vertical". |
|
|
361
|
-
| inputRef | Ref | — | A react ref assigned to the input itself. |
|
|
340
|
+
| iconLabelPosition | 'horizontal' \| 'vertical | — | — |
|
|
341
|
+
| 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 |
|
|
362
342
|
|
|
363
343
|
## Controlled example
|
|
364
344
|
|
|
@@ -434,28 +414,8 @@ export default () => {
|
|
|
434
414
|
|
|
435
415
|
| Name | Type | Default | Description |
|
|
436
416
|
| --- | --- | --- | --- |
|
|
437
|
-
|
|
|
438
|
-
|
|
|
439
|
-
| label | String / Node | — | Define some text as a label. |
|
|
440
|
-
| checked | String / Boolean | — | Defines whether the checkbox is checked or not (state cannot be changed). |
|
|
441
|
-
| defaultChecked | String / Boolean | — | Defines whether the checkbox is initially checked or not (state can be changed on click). |
|
|
442
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
443
|
-
| indeterminate | Boolean | false | Defines if the checkbox is in an indeterminate state with regards to other checkboxes that may be in different selection state. |
|
|
444
|
-
| inline | Boolean | false | Defines whether the checkbox is applying an inline style. Use this in combination with other checkboxes. |
|
|
445
|
-
| right | Boolean | false | Defines whether the checkbox is on the right side. |
|
|
446
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a checkbox tick. |
|
|
447
|
-
| onClick | Function | () => {} | Callback function that is invoked when the checkbox is checked or unchecked. |
|
|
448
|
-
| onChange | Function | () => {} | Callback function that is invoked when the checkbox value changes. This will also be invoked by a keyboard event. |
|
|
449
|
-
| error | Boolean | false | Use "error" to change color of the checkbox. |
|
|
450
|
-
| required | Boolean | false | Defines whether the checkbox is required or not. |
|
|
451
|
-
| size | String | — | Defines the size of the checkbox. Omitting this prop renders the Checkbox in normal size. Possible values are: 'large' |
|
|
452
|
-
| 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 |
|
|
453
|
-
| className | String | — | Additional classes to be set on the input field. |
|
|
454
|
-
| children | any | — | Any element to be rendered next to the checkbox. |
|
|
455
|
-
| icon | String | — | Define a custom icon for the checkbox by naming a rioglyph icon like "rioglyph-truck". |
|
|
456
|
-
| iconSize | Number | — | The icon size in pixel. |
|
|
457
|
-
| iconLabelPosition | String | — | The label position for a custom icon checkbox. Using this on a regular checkbox has no effect. Possible values are: "horizontal" or "vertical". |
|
|
458
|
-
| inputRef | Ref | — | A react ref assigned to the input itself. |
|
|
417
|
+
| iconLabelPosition | 'horizontal' \| 'vertical | — | — |
|
|
418
|
+
| 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 |
|
|
459
419
|
|
|
460
420
|
## Custom card example
|
|
461
421
|
|
|
@@ -672,28 +632,8 @@ export default () => {
|
|
|
672
632
|
|
|
673
633
|
| Name | Type | Default | Description |
|
|
674
634
|
| --- | --- | --- | --- |
|
|
675
|
-
|
|
|
676
|
-
|
|
|
677
|
-
| label | String / Node | — | Define some text as a label. |
|
|
678
|
-
| checked | String / Boolean | — | Defines whether the checkbox is checked or not (state cannot be changed). |
|
|
679
|
-
| defaultChecked | String / Boolean | — | Defines whether the checkbox is initially checked or not (state can be changed on click). |
|
|
680
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
681
|
-
| indeterminate | Boolean | false | Defines if the checkbox is in an indeterminate state with regards to other checkboxes that may be in different selection state. |
|
|
682
|
-
| inline | Boolean | false | Defines whether the checkbox is applying an inline style. Use this in combination with other checkboxes. |
|
|
683
|
-
| right | Boolean | false | Defines whether the checkbox is on the right side. |
|
|
684
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a checkbox tick. |
|
|
685
|
-
| onClick | Function | () => {} | Callback function that is invoked when the checkbox is checked or unchecked. |
|
|
686
|
-
| onChange | Function | () => {} | Callback function that is invoked when the checkbox value changes. This will also be invoked by a keyboard event. |
|
|
687
|
-
| error | Boolean | false | Use "error" to change color of the checkbox. |
|
|
688
|
-
| required | Boolean | false | Defines whether the checkbox is required or not. |
|
|
689
|
-
| size | String | — | Defines the size of the checkbox. Omitting this prop renders the Checkbox in normal size. Possible values are: 'large' |
|
|
690
|
-
| 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 |
|
|
691
|
-
| className | String | — | Additional classes to be set on the input field. |
|
|
692
|
-
| children | any | — | Any element to be rendered next to the checkbox. |
|
|
693
|
-
| icon | String | — | Define a custom icon for the checkbox by naming a rioglyph icon like "rioglyph-truck". |
|
|
694
|
-
| iconSize | Number | — | The icon size in pixel. |
|
|
695
|
-
| iconLabelPosition | String | — | The label position for a custom icon checkbox. Using this on a regular checkbox has no effect. Possible values are: "horizontal" or "vertical". |
|
|
696
|
-
| inputRef | Ref | — | A react ref assigned to the input itself. |
|
|
635
|
+
| iconLabelPosition | 'horizontal' \| 'vertical | — | — |
|
|
636
|
+
| 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 |
|
|
697
637
|
|
|
698
638
|
## Custom list example
|
|
699
639
|
|
|
@@ -839,28 +779,8 @@ export default () => {
|
|
|
839
779
|
|
|
840
780
|
| Name | Type | Default | Description |
|
|
841
781
|
| --- | --- | --- | --- |
|
|
842
|
-
|
|
|
843
|
-
|
|
|
844
|
-
| label | String / Node | — | Define some text as a label. |
|
|
845
|
-
| checked | String / Boolean | — | Defines whether the checkbox is checked or not (state cannot be changed). |
|
|
846
|
-
| defaultChecked | String / Boolean | — | Defines whether the checkbox is initially checked or not (state can be changed on click). |
|
|
847
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
848
|
-
| indeterminate | Boolean | false | Defines if the checkbox is in an indeterminate state with regards to other checkboxes that may be in different selection state. |
|
|
849
|
-
| inline | Boolean | false | Defines whether the checkbox is applying an inline style. Use this in combination with other checkboxes. |
|
|
850
|
-
| right | Boolean | false | Defines whether the checkbox is on the right side. |
|
|
851
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a checkbox tick. |
|
|
852
|
-
| onClick | Function | () => {} | Callback function that is invoked when the checkbox is checked or unchecked. |
|
|
853
|
-
| onChange | Function | () => {} | Callback function that is invoked when the checkbox value changes. This will also be invoked by a keyboard event. |
|
|
854
|
-
| error | Boolean | false | Use "error" to change color of the checkbox. |
|
|
855
|
-
| required | Boolean | false | Defines whether the checkbox is required or not. |
|
|
856
|
-
| size | String | — | Defines the size of the checkbox. Omitting this prop renders the Checkbox in normal size. Possible values are: 'large' |
|
|
857
|
-
| 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 |
|
|
858
|
-
| className | String | — | Additional classes to be set on the input field. |
|
|
859
|
-
| children | any | — | Any element to be rendered next to the checkbox. |
|
|
860
|
-
| icon | String | — | Define a custom icon for the checkbox by naming a rioglyph icon like "rioglyph-truck". |
|
|
861
|
-
| iconSize | Number | — | The icon size in pixel. |
|
|
862
|
-
| iconLabelPosition | String | — | The label position for a custom icon checkbox. Using this on a regular checkbox has no effect. Possible values are: "horizontal" or "vertical". |
|
|
863
|
-
| inputRef | Ref | — | A react ref assigned to the input itself. |
|
|
782
|
+
| iconLabelPosition | 'horizontal' \| 'vertical | — | — |
|
|
783
|
+
| 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 |
|
|
864
784
|
|
|
865
785
|
## Checkbox with custom icon
|
|
866
786
|
|
|
@@ -972,25 +892,5 @@ export default () => (
|
|
|
972
892
|
|
|
973
893
|
| Name | Type | Default | Description |
|
|
974
894
|
| --- | --- | --- | --- |
|
|
975
|
-
|
|
|
976
|
-
|
|
|
977
|
-
| label | String / Node | — | Define some text as a label. |
|
|
978
|
-
| checked | String / Boolean | — | Defines whether the checkbox is checked or not (state cannot be changed). |
|
|
979
|
-
| defaultChecked | String / Boolean | — | Defines whether the checkbox is initially checked or not (state can be changed on click). |
|
|
980
|
-
| disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
|
|
981
|
-
| indeterminate | Boolean | false | Defines if the checkbox is in an indeterminate state with regards to other checkboxes that may be in different selection state. |
|
|
982
|
-
| inline | Boolean | false | Defines whether the checkbox is applying an inline style. Use this in combination with other checkboxes. |
|
|
983
|
-
| right | Boolean | false | Defines whether the checkbox is on the right side. |
|
|
984
|
-
| custom | Boolean | false | Allows for rendering a completely different layout with or without a checkbox tick. |
|
|
985
|
-
| onClick | Function | () => {} | Callback function that is invoked when the checkbox is checked or unchecked. |
|
|
986
|
-
| onChange | Function | () => {} | Callback function that is invoked when the checkbox value changes. This will also be invoked by a keyboard event. |
|
|
987
|
-
| error | Boolean | false | Use "error" to change color of the checkbox. |
|
|
988
|
-
| required | Boolean | false | Defines whether the checkbox is required or not. |
|
|
989
|
-
| size | String | — | Defines the size of the checkbox. Omitting this prop renders the Checkbox in normal size. Possible values are: 'large' |
|
|
990
|
-
| 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 |
|
|
991
|
-
| className | String | — | Additional classes to be set on the input field. |
|
|
992
|
-
| children | any | — | Any element to be rendered next to the checkbox. |
|
|
993
|
-
| icon | String | — | Define a custom icon for the checkbox by naming a rioglyph icon like "rioglyph-truck". |
|
|
994
|
-
| iconSize | Number | — | The icon size in pixel. |
|
|
995
|
-
| iconLabelPosition | String | — | The label position for a custom icon checkbox. Using this on a regular checkbox has no effect. Possible values are: "horizontal" or "vertical". |
|
|
996
|
-
| inputRef | Ref | — | A react ref assigned to the input itself. |
|
|
895
|
+
| iconLabelPosition | 'horizontal' \| 'vertical | — | — |
|
|
896
|
+
| 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 |
|