@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:* Content
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/dataTabs
|
|
6
|
-
*Captured:*
|
|
6
|
+
*Captured:* 2026-01-14T09:07:30.689Z
|
|
7
7
|
|
|
8
8
|
Passing a single tab content component via commonTabContent prop into the DataTabs component allows to update that single component when switching tabs. This comes in handy for instance when you want to animate a graph with different values from each tab.
|
|
9
9
|
|
|
@@ -155,40 +155,6 @@ export const RouteType = () => (
|
|
|
155
155
|
</div>
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
#### Props: DataTabs
|
|
159
|
-
|
|
160
|
-
### DataTabs
|
|
161
|
-
|
|
162
|
-
| Name | Type | Default | Description |
|
|
163
|
-
| --- | --- | --- | --- |
|
|
164
|
-
| activeKey | String | "" | Sets key and id. |
|
|
165
|
-
| onSelectTab | boolean | () => {} | Called when a tab is being activated. |
|
|
166
|
-
| commonTabContent | ReactNode | — | Tab content that is used for all tabs. Using a common tab content will ignore any DataTab child. Additionally, there will be no transition when switching tabs as it is a single tab content component. |
|
|
167
|
-
| vertical | boolean | false | Whether the layout should be vertical. |
|
|
168
|
-
| bordered | boolean | true | Whether the component should add a border. |
|
|
169
|
-
| disableTransition | boolean | false | Transitions between tab contents are enabled by default. Set if you want to disable them. The Navigation tabs will still remain animated. |
|
|
170
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
171
|
-
| tabContentClassName | string | — | Additional classes to be set on the tabContent wrapper element. |
|
|
172
|
-
| tabsWrapperClassName | string | — | Additional classes to be set on the tabs wrapper element. |
|
|
173
|
-
| arrowClassName | string | bg-highlight-dark | Additional classes to be set on the arrow. |
|
|
174
|
-
| tabClassName | string | bg-white | Additional classes to be set on the tab element. |
|
|
175
|
-
| tabHoverClassName | string | text-color-darkest | Utility hover classes to be set on the tab element. |
|
|
176
|
-
| tabActiveClassName | string | text-color-darkest | Utility active classes to be set on the tab element. |
|
|
177
|
-
|
|
178
|
-
#### Props: DataTab
|
|
179
|
-
|
|
180
|
-
### DataTab
|
|
181
|
-
|
|
182
|
-
| Name | Type | Default | Description |
|
|
183
|
-
| --- | --- | --- | --- |
|
|
184
|
-
| tabKey | string | — | Used to identify the tab. |
|
|
185
|
-
| title | string \| ReactNode | — | The content for the tab. |
|
|
186
|
-
| active | boolean | — | Whether this tab is the one currently active. |
|
|
187
|
-
| disableTransition | boolean | — | Whether the transition effect should be disabled. |
|
|
188
|
-
| onAnimationStart | VoidFunction | — | Callback for when the animation starts. |
|
|
189
|
-
| onAnimationEnd | VoidFunction | — | Callback for when the animation ends. |
|
|
190
|
-
| className | String | — | Additional classes to be set on the element. |
|
|
191
|
-
|
|
192
158
|
### Example: Example 2
|
|
193
159
|
|
|
194
160
|
Vertical layout
|
|
@@ -335,40 +301,6 @@ export const RouteType = () => (
|
|
|
335
301
|
</div>
|
|
336
302
|
```
|
|
337
303
|
|
|
338
|
-
#### Props: DataTabs
|
|
339
|
-
|
|
340
|
-
### DataTabs
|
|
341
|
-
|
|
342
|
-
| Name | Type | Default | Description |
|
|
343
|
-
| --- | --- | --- | --- |
|
|
344
|
-
| activeKey | String | "" | Sets key and id. |
|
|
345
|
-
| onSelectTab | boolean | () => {} | Called when a tab is being activated. |
|
|
346
|
-
| commonTabContent | ReactNode | — | Tab content that is used for all tabs. Using a common tab content will ignore any DataTab child. Additionally, there will be no transition when switching tabs as it is a single tab content component. |
|
|
347
|
-
| vertical | boolean | false | Whether the layout should be vertical. |
|
|
348
|
-
| bordered | boolean | true | Whether the component should add a border. |
|
|
349
|
-
| disableTransition | boolean | false | Transitions between tab contents are enabled by default. Set if you want to disable them. The Navigation tabs will still remain animated. |
|
|
350
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
351
|
-
| tabContentClassName | string | — | Additional classes to be set on the tabContent wrapper element. |
|
|
352
|
-
| tabsWrapperClassName | string | — | Additional classes to be set on the tabs wrapper element. |
|
|
353
|
-
| arrowClassName | string | bg-highlight-dark | Additional classes to be set on the arrow. |
|
|
354
|
-
| tabClassName | string | bg-white | Additional classes to be set on the tab element. |
|
|
355
|
-
| tabHoverClassName | string | text-color-darkest | Utility hover classes to be set on the tab element. |
|
|
356
|
-
| tabActiveClassName | string | text-color-darkest | Utility active classes to be set on the tab element. |
|
|
357
|
-
|
|
358
|
-
#### Props: DataTab
|
|
359
|
-
|
|
360
|
-
### DataTab
|
|
361
|
-
|
|
362
|
-
| Name | Type | Default | Description |
|
|
363
|
-
| --- | --- | --- | --- |
|
|
364
|
-
| tabKey | string | — | Used to identify the tab. |
|
|
365
|
-
| title | string \| ReactNode | — | The content for the tab. |
|
|
366
|
-
| active | boolean | — | Whether this tab is the one currently active. |
|
|
367
|
-
| disableTransition | boolean | — | Whether the transition effect should be disabled. |
|
|
368
|
-
| onAnimationStart | VoidFunction | — | Callback for when the animation starts. |
|
|
369
|
-
| onAnimationEnd | VoidFunction | — | Callback for when the animation ends. |
|
|
370
|
-
| className | String | — | Additional classes to be set on the element. |
|
|
371
|
-
|
|
372
304
|
## DataTabs inside an ExpanderPanel and custom color
|
|
373
305
|
|
|
374
306
|
### Example: Example 3
|
|
@@ -564,40 +496,6 @@ export const RouteType = () => (
|
|
|
564
496
|
</div>
|
|
565
497
|
```
|
|
566
498
|
|
|
567
|
-
#### Props: DataTabs
|
|
568
|
-
|
|
569
|
-
### DataTabs
|
|
570
|
-
|
|
571
|
-
| Name | Type | Default | Description |
|
|
572
|
-
| --- | --- | --- | --- |
|
|
573
|
-
| activeKey | String | "" | Sets key and id. |
|
|
574
|
-
| onSelectTab | boolean | () => {} | Called when a tab is being activated. |
|
|
575
|
-
| commonTabContent | ReactNode | — | Tab content that is used for all tabs. Using a common tab content will ignore any DataTab child. Additionally, there will be no transition when switching tabs as it is a single tab content component. |
|
|
576
|
-
| vertical | boolean | false | Whether the layout should be vertical. |
|
|
577
|
-
| bordered | boolean | true | Whether the component should add a border. |
|
|
578
|
-
| disableTransition | boolean | false | Transitions between tab contents are enabled by default. Set if you want to disable them. The Navigation tabs will still remain animated. |
|
|
579
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
580
|
-
| tabContentClassName | string | — | Additional classes to be set on the tabContent wrapper element. |
|
|
581
|
-
| tabsWrapperClassName | string | — | Additional classes to be set on the tabs wrapper element. |
|
|
582
|
-
| arrowClassName | string | bg-highlight-dark | Additional classes to be set on the arrow. |
|
|
583
|
-
| tabClassName | string | bg-white | Additional classes to be set on the tab element. |
|
|
584
|
-
| tabHoverClassName | string | text-color-darkest | Utility hover classes to be set on the tab element. |
|
|
585
|
-
| tabActiveClassName | string | text-color-darkest | Utility active classes to be set on the tab element. |
|
|
586
|
-
|
|
587
|
-
#### Props: DataTab
|
|
588
|
-
|
|
589
|
-
### DataTab
|
|
590
|
-
|
|
591
|
-
| Name | Type | Default | Description |
|
|
592
|
-
| --- | --- | --- | --- |
|
|
593
|
-
| tabKey | string | — | Used to identify the tab. |
|
|
594
|
-
| title | string \| ReactNode | — | The content for the tab. |
|
|
595
|
-
| active | boolean | — | Whether this tab is the one currently active. |
|
|
596
|
-
| disableTransition | boolean | — | Whether the transition effect should be disabled. |
|
|
597
|
-
| onAnimationStart | VoidFunction | — | Callback for when the animation starts. |
|
|
598
|
-
| onAnimationEnd | VoidFunction | — | Callback for when the animation ends. |
|
|
599
|
-
| className | String | — | Additional classes to be set on the element. |
|
|
600
|
-
|
|
601
499
|
## DataTabs with shared common tab content and custom styling
|
|
602
500
|
|
|
603
501
|
### Example: Example 4
|
|
@@ -648,7 +546,7 @@ Hide last tab
|
|
|
648
546
|
/* eslint-disable max-len */
|
|
649
547
|
import type React from 'react';
|
|
650
548
|
import { useState } from 'react';
|
|
651
|
-
import faker from 'faker';
|
|
549
|
+
import { faker } from '@faker-js/faker';
|
|
652
550
|
|
|
653
551
|
import ExpanderPanel from '@rio-cloud/rio-uikit/ExpanderPanel';
|
|
654
552
|
import DataTabs from '@rio-cloud/rio-uikit/DataTabs';
|
|
@@ -663,7 +561,7 @@ type DummyItem = { name: string; value: number };
|
|
|
663
561
|
const getData = (): DummyItem[] =>
|
|
664
562
|
['Page A', 'Page B', 'Page C', 'Page D', 'Page E', 'Page F', 'Page G'].map(item => ({
|
|
665
563
|
name: item,
|
|
666
|
-
value: faker.
|
|
564
|
+
value: faker.helpers.arrayElement([3200, 3000, 2000, 2780, 1890, 2390, 3490]),
|
|
667
565
|
}));
|
|
668
566
|
|
|
669
567
|
const DummyContent = ({ tabKey }: { tabKey: string }) => (
|
|
@@ -837,7 +735,7 @@ export const RouteType = () => (
|
|
|
837
735
|
</title>
|
|
838
736
|
<desc>
|
|
839
737
|
</desc>
|
|
840
|
-
<g tabindex="-1"
|
|
738
|
+
<g tabindex="-1">
|
|
841
739
|
<g class="recharts-cartesian-grid">
|
|
842
740
|
<g class="recharts-cartesian-grid-horizontal">
|
|
843
741
|
<line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="470" height="140" x1="15" y1="155" x2="485" y2="155">
|
|
@@ -853,7 +751,7 @@ export const RouteType = () => (
|
|
|
853
751
|
</g>
|
|
854
752
|
</g>
|
|
855
753
|
</g>
|
|
856
|
-
<g tabindex="-1"
|
|
754
|
+
<g tabindex="-1">
|
|
857
755
|
</g>
|
|
858
756
|
<defs>
|
|
859
757
|
<clipPath id="recharts1-clip">
|
|
@@ -861,19 +759,19 @@ export const RouteType = () => (
|
|
|
861
759
|
</rect>
|
|
862
760
|
</clipPath>
|
|
863
761
|
</defs>
|
|
864
|
-
<g tabindex="-1"
|
|
762
|
+
<g tabindex="-1">
|
|
865
763
|
</g>
|
|
866
|
-
<g tabindex="-1"
|
|
764
|
+
<g tabindex="-1">
|
|
867
765
|
</g>
|
|
868
|
-
<g tabindex="-1"
|
|
766
|
+
<g tabindex="-1">
|
|
869
767
|
</g>
|
|
870
|
-
<g tabindex="-1"
|
|
768
|
+
<g tabindex="-1">
|
|
871
769
|
<g class="recharts-layer recharts-line">
|
|
872
|
-
<path stroke="#67abc5 " fill="none" stroke-width="1" id="recharts-line-:
|
|
770
|
+
<path stroke="#67abc5 " fill="none" stroke-width="1" id="recharts-line-:r5:" height="140" width="470" class="recharts-curve recharts-line-curve" stroke-dasharray="467.2336px 0.00004257812497598934px" d="M45,23.75C67.778,45.625,90.556,67.5,113.333,67.5C136.111,67.5,158.889,33.375,181.667,33.375C204.444,33.375,227.222,64.292,250,67.5C272.778,70.708,295.556,72.313,318.333,72.313C341.111,72.313,363.889,15,386.667,15C409.444,15,432.222,19.375,455,23.75">
|
|
873
771
|
</path>
|
|
874
772
|
</g>
|
|
875
773
|
</g>
|
|
876
|
-
<g tabindex="-1"
|
|
774
|
+
<g tabindex="-1">
|
|
877
775
|
<g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
|
|
878
776
|
<line angle="0" height="30" orientation="bottom" x="15" y="155" width="470" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="15" y1="155" x2="485" y2="155">
|
|
879
777
|
</line>
|
|
@@ -911,31 +809,31 @@ export const RouteType = () => (
|
|
|
911
809
|
</g>
|
|
912
810
|
</g>
|
|
913
811
|
</g>
|
|
914
|
-
<g tabindex="-1"
|
|
812
|
+
<g tabindex="-1">
|
|
915
813
|
<g class="recharts-layer recharts-line-dots">
|
|
916
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="45" cy="
|
|
814
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="45" cy="23.75" class="recharts-dot recharts-line-dot">
|
|
917
815
|
</circle>
|
|
918
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="113.33333333333333" cy="
|
|
816
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="113.33333333333333" cy="67.5" class="recharts-dot recharts-line-dot">
|
|
919
817
|
</circle>
|
|
920
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="181.66666666666666" cy="
|
|
818
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="181.66666666666666" cy="33.375" class="recharts-dot recharts-line-dot">
|
|
921
819
|
</circle>
|
|
922
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="250" cy="
|
|
820
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="250" cy="67.5" class="recharts-dot recharts-line-dot">
|
|
923
821
|
</circle>
|
|
924
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="318.3333333333333" cy="
|
|
822
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="318.3333333333333" cy="72.3125" class="recharts-dot recharts-line-dot">
|
|
925
823
|
</circle>
|
|
926
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="386.66666666666663" cy="
|
|
824
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="386.66666666666663" cy="15" class="recharts-dot recharts-line-dot">
|
|
927
825
|
</circle>
|
|
928
|
-
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="455" cy="
|
|
826
|
+
<circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="140" width="470" cx="455" cy="23.75" class="recharts-dot recharts-line-dot">
|
|
929
827
|
</circle>
|
|
930
828
|
</g>
|
|
931
829
|
</g>
|
|
932
|
-
<g tabindex="-1"
|
|
830
|
+
<g tabindex="-1">
|
|
933
831
|
</g>
|
|
934
|
-
<g tabindex="-1"
|
|
832
|
+
<g tabindex="-1">
|
|
935
833
|
</g>
|
|
936
|
-
<g tabindex="-1"
|
|
834
|
+
<g tabindex="-1">
|
|
937
835
|
</g>
|
|
938
|
-
<g tabindex="-1"
|
|
836
|
+
<g tabindex="-1">
|
|
939
837
|
<g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
|
|
940
838
|
<g class="recharts-layer recharts-cartesian-axis-tick-label">
|
|
941
839
|
<text height="30" orientation="bottom" width="470" stroke="none" x="45" y="163" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
|
|
@@ -994,40 +892,6 @@ export const RouteType = () => (
|
|
|
994
892
|
<button type="button" class="btn btn-default btn-toggle btn-component" tabindex="0">Hide last tab</button>
|
|
995
893
|
```
|
|
996
894
|
|
|
997
|
-
#### Props: DataTabs
|
|
998
|
-
|
|
999
|
-
### DataTabs
|
|
1000
|
-
|
|
1001
|
-
| Name | Type | Default | Description |
|
|
1002
|
-
| --- | --- | --- | --- |
|
|
1003
|
-
| activeKey | String | "" | Sets key and id. |
|
|
1004
|
-
| onSelectTab | boolean | () => {} | Called when a tab is being activated. |
|
|
1005
|
-
| commonTabContent | ReactNode | — | Tab content that is used for all tabs. Using a common tab content will ignore any DataTab child. Additionally, there will be no transition when switching tabs as it is a single tab content component. |
|
|
1006
|
-
| vertical | boolean | false | Whether the layout should be vertical. |
|
|
1007
|
-
| bordered | boolean | true | Whether the component should add a border. |
|
|
1008
|
-
| disableTransition | boolean | false | Transitions between tab contents are enabled by default. Set if you want to disable them. The Navigation tabs will still remain animated. |
|
|
1009
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
1010
|
-
| tabContentClassName | string | — | Additional classes to be set on the tabContent wrapper element. |
|
|
1011
|
-
| tabsWrapperClassName | string | — | Additional classes to be set on the tabs wrapper element. |
|
|
1012
|
-
| arrowClassName | string | bg-highlight-dark | Additional classes to be set on the arrow. |
|
|
1013
|
-
| tabClassName | string | bg-white | Additional classes to be set on the tab element. |
|
|
1014
|
-
| tabHoverClassName | string | text-color-darkest | Utility hover classes to be set on the tab element. |
|
|
1015
|
-
| tabActiveClassName | string | text-color-darkest | Utility active classes to be set on the tab element. |
|
|
1016
|
-
|
|
1017
|
-
#### Props: DataTab
|
|
1018
|
-
|
|
1019
|
-
### DataTab
|
|
1020
|
-
|
|
1021
|
-
| Name | Type | Default | Description |
|
|
1022
|
-
| --- | --- | --- | --- |
|
|
1023
|
-
| tabKey | string | — | Used to identify the tab. |
|
|
1024
|
-
| title | string \| ReactNode | — | The content for the tab. |
|
|
1025
|
-
| active | boolean | — | Whether this tab is the one currently active. |
|
|
1026
|
-
| disableTransition | boolean | — | Whether the transition effect should be disabled. |
|
|
1027
|
-
| onAnimationStart | VoidFunction | — | Callback for when the animation starts. |
|
|
1028
|
-
| onAnimationEnd | VoidFunction | — | Callback for when the animation ends. |
|
|
1029
|
-
| className | String | — | Additional classes to be set on the element. |
|
|
1030
|
-
|
|
1031
895
|
### Example: Example 5
|
|
1032
896
|
|
|
1033
897
|
Data Set 1Data Set 2
|
|
@@ -1214,38 +1078,4 @@ export default () => {
|
|
|
1214
1078
|
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>
|
|
1215
1079
|
</div>
|
|
1216
1080
|
</div>
|
|
1217
|
-
```
|
|
1218
|
-
|
|
1219
|
-
#### Props: DataTabs
|
|
1220
|
-
|
|
1221
|
-
### DataTabs
|
|
1222
|
-
|
|
1223
|
-
| Name | Type | Default | Description |
|
|
1224
|
-
| --- | --- | --- | --- |
|
|
1225
|
-
| activeKey | String | "" | Sets key and id. |
|
|
1226
|
-
| onSelectTab | boolean | () => {} | Called when a tab is being activated. |
|
|
1227
|
-
| commonTabContent | ReactNode | — | Tab content that is used for all tabs. Using a common tab content will ignore any DataTab child. Additionally, there will be no transition when switching tabs as it is a single tab content component. |
|
|
1228
|
-
| vertical | boolean | false | Whether the layout should be vertical. |
|
|
1229
|
-
| bordered | boolean | true | Whether the component should add a border. |
|
|
1230
|
-
| disableTransition | boolean | false | Transitions between tab contents are enabled by default. Set if you want to disable them. The Navigation tabs will still remain animated. |
|
|
1231
|
-
| className | string | — | Additional classes to be set on the wrapper element. |
|
|
1232
|
-
| tabContentClassName | string | — | Additional classes to be set on the tabContent wrapper element. |
|
|
1233
|
-
| tabsWrapperClassName | string | — | Additional classes to be set on the tabs wrapper element. |
|
|
1234
|
-
| arrowClassName | string | bg-highlight-dark | Additional classes to be set on the arrow. |
|
|
1235
|
-
| tabClassName | string | bg-white | Additional classes to be set on the tab element. |
|
|
1236
|
-
| tabHoverClassName | string | text-color-darkest | Utility hover classes to be set on the tab element. |
|
|
1237
|
-
| tabActiveClassName | string | text-color-darkest | Utility active classes to be set on the tab element. |
|
|
1238
|
-
|
|
1239
|
-
#### Props: DataTab
|
|
1240
|
-
|
|
1241
|
-
### DataTab
|
|
1242
|
-
|
|
1243
|
-
| Name | Type | Default | Description |
|
|
1244
|
-
| --- | --- | --- | --- |
|
|
1245
|
-
| tabKey | string | — | Used to identify the tab. |
|
|
1246
|
-
| title | string \| ReactNode | — | The content for the tab. |
|
|
1247
|
-
| active | boolean | — | Whether this tab is the one currently active. |
|
|
1248
|
-
| disableTransition | boolean | — | Whether the transition effect should be disabled. |
|
|
1249
|
-
| onAnimationStart | VoidFunction | — | Callback for when the animation starts. |
|
|
1250
|
-
| onAnimationEnd | VoidFunction | — | Callback for when the animation ends. |
|
|
1251
|
-
| className | String | — | Additional classes to be set on the element. |
|
|
1081
|
+
```
|