superdesk-ui-framework 4.0.52 → 4.0.54
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/app-typescript/components/DateTimePicker.tsx +11 -1
- package/dist/examples.bundle.js +14 -2
- package/dist/superdesk-ui.bundle.js +13 -1
- package/package.json +1 -1
- package/react/components/DateTimePicker.d.ts +1 -0
- package/react/components/DateTimePicker.js +13 -1
- package/dist/playgrounds/accessible-theme-test.html +0 -813
- package/dist/playgrounds/boxed-list.html +0 -164
- package/dist/playgrounds/cards.html +0 -244
- package/dist/playgrounds/circular-progress.html +0 -48
- package/dist/playgrounds/dummy-data/items.ts +0 -95
- package/dist/playgrounds/editor-3-test.html +0 -15
- package/dist/playgrounds/form-layout.html +0 -285
- package/dist/playgrounds/layout-grid.html +0 -79
- package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
- package/dist/playgrounds/layout-test-2.html +0 -795
- package/dist/playgrounds/list-item-test.html +0 -896
- package/dist/playgrounds/main.html +0 -16
- package/dist/playgrounds/master-desk.html +0 -1678
- package/dist/playgrounds/media-carousel.html +0 -1166
- package/dist/playgrounds/nav-buttons.html +0 -65
- package/dist/playgrounds/photo-desk.html +0 -1515
- package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
- package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
- package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
- package/dist/playgrounds/planning.html +0 -1112
- package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
- package/dist/playgrounds/publish.html +0 -1007
- package/dist/playgrounds/publisher-content-analytics.html +0 -376
- package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
- package/dist/playgrounds/publisher-content-list-manual.html +0 -611
- package/dist/playgrounds/publisher-content-lists.html +0 -255
- package/dist/playgrounds/publisher-dashboard.html +0 -323
- package/dist/playgrounds/publisher-output-control.html +0 -3659
- package/dist/playgrounds/publisher-website-settings-general.html +0 -188
- package/dist/playgrounds/publisher-website-settings.html +0 -265
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
- package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
- package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
- package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
- package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
- package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
- package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
- package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
- package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
- package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
- package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
- package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
- package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
- package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
- package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
- package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
- package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
- package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
- package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
- package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
- package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
- package/dist/playgrounds/settings.html +0 -92
- package/dist/playgrounds/side-navigation.html +0 -201
- package/dist/playgrounds/swimlane-view.html +0 -1975
- package/dist/playgrounds/tags-input.html +0 -55
- package/dist/playgrounds/toasts.html +0 -113
- package/dist/playgrounds/video-editor.html +0 -706
- package/examples/css/docs-page.css +0 -1135
- package/examples/css/reset.css +0 -124
- package/examples/css/vendor.css +0 -175
- package/examples/illustration-small--components.svg +0 -45
- package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
- package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
- package/examples/img/avatar-2.jpg +0 -0
- package/examples/img/avatar-3.jpg +0 -0
- package/examples/img/avatar-4.jpg +0 -0
- package/examples/img/avatar-5.jpg +0 -0
- package/examples/img/avatar-6.jpg +0 -0
- package/examples/img/avatar.jpg +0 -0
- package/examples/img/bill.jpg +0 -0
- package/examples/img/bush_1.jpg +0 -0
- package/examples/img/bush_2.jpg +0 -0
- package/examples/img/carousel-thumb--01.jpg +0 -0
- package/examples/img/carousel-thumb--02.jpg +0 -0
- package/examples/img/carousel-thumb--03.jpg +0 -0
- package/examples/img/carousel-thumb--04.jpg +0 -0
- package/examples/img/components_ilustration.svg +0 -1
- package/examples/img/d_trump.jpg +0 -0
- package/examples/img/d_trump_2.jpg +0 -0
- package/examples/img/d_trump_large.jpg +0 -0
- package/examples/img/design_ilustration.svg +0 -1
- package/examples/img/ferocious_beast.webm +0 -0
- package/examples/img/guidelines/application-frame.png +0 -0
- package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
- package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
- package/examples/img/guidelines/application-frame__left-panel.png +0 -0
- package/examples/img/guidelines/application-frame__main-content.gif +0 -0
- package/examples/img/guidelines/application-frame__main-content.png +0 -0
- package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
- package/examples/img/guidelines/application-frame__right-panel.png +0 -0
- package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
- package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
- package/examples/img/guidelines/application-frame__top-bar.png +0 -0
- package/examples/img/guidelines/buttons--00-01.png +0 -0
- package/examples/img/guidelines/buttons--00-02.png +0 -0
- package/examples/img/guidelines/buttons--DO-02.png +0 -0
- package/examples/img/guidelines/buttons--DONT-01.png +0 -0
- package/examples/img/guidelines/checkbox--DO-01.png +0 -0
- package/examples/img/guidelines/checkbox--DO-02.png +0 -0
- package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
- package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
- package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
- package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
- package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
- package/examples/img/guidelines/example__main-content--01.png +0 -0
- package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
- package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
- package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
- package/examples/img/guidelines/example__sub-nav--01.png +0 -0
- package/examples/img/guidelines/example__sub-nav--02.png +0 -0
- package/examples/img/guidelines/example__sub-nav--03.png +0 -0
- package/examples/img/guidelines/example__top-bar--01.png +0 -0
- package/examples/img/guidelines/layout--grid-01.png +0 -0
- package/examples/img/guidelines/layout--size-example-01.png +0 -0
- package/examples/img/guidelines/radio--DO-01.png +0 -0
- package/examples/img/guidelines/radio--DONT-01.png +0 -0
- package/examples/img/guidelines/radio--DONT-02.png +0 -0
- package/examples/img/guidelines/radio--DONT-03.png +0 -0
- package/examples/img/guidelines/switch--DO-01.png +0 -0
- package/examples/img/guidelines/switch--DO-02.png +0 -0
- package/examples/img/guidelines/switch--DONT-01.png +0 -0
- package/examples/img/guidelines/switch--DONT-02.png +0 -0
- package/examples/img/hillary.jpg +0 -0
- package/examples/img/illustration--components.svg +0 -1
- package/examples/img/illustration--design.svg +0 -1
- package/examples/img/illustration--playground.svg +0 -1
- package/examples/img/illustration--react.svg +0 -1
- package/examples/img/illustration-small--components.svg +0 -45
- package/examples/img/illustration-small--design.svg +0 -99
- package/examples/img/illustration-small--playground.svg +0 -49
- package/examples/img/illustration-small--react.svg +0 -53
- package/examples/img/illustration_user-privileges.png +0 -0
- package/examples/img/illustration_users.png +0 -0
- package/examples/img/image_01.jpg +0 -0
- package/examples/img/image_02.jpg +0 -0
- package/examples/img/masthead-image.png +0 -0
- package/examples/img/obama_1.jpg +0 -0
- package/examples/img/obama_2.jpg +0 -0
- package/examples/img/overlay-img.jpg +0 -0
- package/examples/img/react-logo--vector.svg +0 -49
- package/examples/img/sd-ui-framework__logo-01.svg +0 -33
- package/examples/img/sd-ui-framework__logo.svg +0 -20
- package/examples/img/th01.jpg +0 -0
- package/examples/img/th02.jpg +0 -0
- package/examples/img/th03.jpg +0 -0
- package/examples/index.html +0 -11
- package/examples/index.js +0 -468
- package/examples/js/doc.js +0 -230
- package/examples/js/react.js +0 -263
- package/examples/pages/components/Alerts.tsx +0 -291
- package/examples/pages/components/Autocomplete.tsx +0 -434
- package/examples/pages/components/Avatar.tsx +0 -659
- package/examples/pages/components/Badges.tsx +0 -221
- package/examples/pages/components/BigIconFont.tsx +0 -48
- package/examples/pages/components/BoxedList.tsx +0 -517
- package/examples/pages/components/ButtonGroups.tsx +0 -366
- package/examples/pages/components/Buttons.tsx +0 -565
- package/examples/pages/components/Card.tsx +0 -23
- package/examples/pages/components/Carousel.tsx +0 -235
- package/examples/pages/components/Checkboxs.tsx +0 -817
- package/examples/pages/components/Container.tsx +0 -190
- package/examples/pages/components/ContentDivider.tsx +0 -229
- package/examples/pages/components/ContentList.tsx +0 -786
- package/examples/pages/components/CreateButton.tsx +0 -121
- package/examples/pages/components/DatePicker.tsx +0 -245
- package/examples/pages/components/DateTimePicker.tsx +0 -141
- package/examples/pages/components/DragHandleDocs.tsx +0 -122
- package/examples/pages/components/DropZone.tsx +0 -149
- package/examples/pages/components/Dropdowns.tsx +0 -587
- package/examples/pages/components/DurationInput.tsx +0 -157
- package/examples/pages/components/EmptyStates.tsx +0 -171
- package/examples/pages/components/GridItem.tsx +0 -507
- package/examples/pages/components/GridList.tsx +0 -126
- package/examples/pages/components/Heading.tsx +0 -152
- package/examples/pages/components/IconButtons.tsx +0 -191
- package/examples/pages/components/IconFont.tsx +0 -49
- package/examples/pages/components/IconLabels.tsx +0 -199
- package/examples/pages/components/IconPicker.tsx +0 -82
- package/examples/pages/components/IllustrationButton.tsx +0 -109
- package/examples/pages/components/Index.tsx +0 -563
- package/examples/pages/components/Inputs.tsx +0 -313
- package/examples/pages/components/Labels.tsx +0 -354
- package/examples/pages/components/LeftNavigations.tsx +0 -459
- package/examples/pages/components/ListItems.tsx +0 -33
- package/examples/pages/components/Loader.tsx +0 -25
- package/examples/pages/components/Menu.tsx +0 -181
- package/examples/pages/components/Modal.tsx +0 -557
- package/examples/pages/components/MultiSelect.tsx +0 -343
- package/examples/pages/components/NavButtons.tsx +0 -159
- package/examples/pages/components/Panel.tsx +0 -631
- package/examples/pages/components/Popover.tsx +0 -90
- package/examples/pages/components/QuickNavigationBar.tsx +0 -278
- package/examples/pages/components/RadioGroup.tsx +0 -612
- package/examples/pages/components/ResizablePanels.tsx +0 -43
- package/examples/pages/components/SelectGrid.tsx +0 -162
- package/examples/pages/components/SelectWithTemplate.tsx +0 -144
- package/examples/pages/components/Selects.tsx +0 -175
- package/examples/pages/components/SimpleList.tsx +0 -198
- package/examples/pages/components/SubNav.tsx +0 -160
- package/examples/pages/components/Switch.tsx +0 -298
- package/examples/pages/components/TableList.tsx +0 -315
- package/examples/pages/components/Tabs.tsx +0 -276
- package/examples/pages/components/TagInputDocs.tsx +0 -130
- package/examples/pages/components/Tags.tsx +0 -154
- package/examples/pages/components/Text.tsx +0 -184
- package/examples/pages/components/TimePicker.tsx +0 -179
- package/examples/pages/components/Toasts.tsx +0 -283
- package/examples/pages/components/Togglebox.tsx +0 -307
- package/examples/pages/components/Tooltips.tsx +0 -74
- package/examples/pages/components/TreeMenu.tsx +0 -315
- package/examples/pages/components/TreeSelect.tsx +0 -625
- package/examples/pages/components/WithPaginationDocs.tsx +0 -56
- package/examples/pages/components/WithSizeObserver.tsx +0 -44
- package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
- package/examples/pages/components/tree-select/example-1.tsx +0 -67
- package/examples/pages/components/tree-select/example-2.tsx +0 -56
- package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
- package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
- package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
- package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
- package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
- package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
- package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
- package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
- package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
- package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
- package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
- package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
- package/examples/pages/components.html +0 -15
- package/examples/pages/components_deprecated/alerts.html +0 -113
- package/examples/pages/components_deprecated/badge.html +0 -79
- package/examples/pages/components_deprecated/basic-grid.html +0 -132
- package/examples/pages/components_deprecated/big-icons.html +0 -65
- package/examples/pages/components_deprecated/buttons.html +0 -631
- package/examples/pages/components_deprecated/carousel.html +0 -77
- package/examples/pages/components_deprecated/checkbox.html +0 -86
- package/examples/pages/components_deprecated/colors.html +0 -12
- package/examples/pages/components_deprecated/dropdown.html +0 -542
- package/examples/pages/components_deprecated/form-layout.html +0 -187
- package/examples/pages/components_deprecated/icon-labels.html +0 -34
- package/examples/pages/components_deprecated/icons.html +0 -194
- package/examples/pages/components_deprecated/input.html +0 -233
- package/examples/pages/components_deprecated/labels.html +0 -170
- package/examples/pages/components_deprecated/layout-grid.html +0 -227
- package/examples/pages/components_deprecated/left-nav.html +0 -83
- package/examples/pages/components_deprecated/list-item.html +0 -1342
- package/examples/pages/components_deprecated/loader.html +0 -64
- package/examples/pages/components_deprecated/modal-template.html +0 -13
- package/examples/pages/components_deprecated/modals.html +0 -561
- package/examples/pages/components_deprecated/other-elements.html +0 -54
- package/examples/pages/components_deprecated/panel-info.html +0 -34
- package/examples/pages/components_deprecated/radio.html +0 -64
- package/examples/pages/components_deprecated/select.html +0 -160
- package/examples/pages/components_deprecated/shadows.html +0 -24
- package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
- package/examples/pages/components_deprecated/simple-list.html +0 -113
- package/examples/pages/components_deprecated/slider.html +0 -31
- package/examples/pages/components_deprecated/spacing.html +0 -117
- package/examples/pages/components_deprecated/switch.html +0 -31
- package/examples/pages/components_deprecated/tables.html +0 -58
- package/examples/pages/components_deprecated/tabs.html +0 -257
- package/examples/pages/components_deprecated/tag-input.html +0 -123
- package/examples/pages/components_deprecated/tag-labels.html +0 -57
- package/examples/pages/components_deprecated/text.html +0 -55
- package/examples/pages/components_deprecated/toggle.html +0 -63
- package/examples/pages/components_deprecated/tooltips.html +0 -29
- package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
- package/examples/pages/components_deprecated/wizard.html +0 -41
- package/examples/pages/components_deprecated.html +0 -39
- package/examples/pages/design/application-structure.html +0 -168
- package/examples/pages/design/buttons.html +0 -34
- package/examples/pages/design/checkbox-and-radio.html +0 -64
- package/examples/pages/design/layout-principles.html +0 -45
- package/examples/pages/design/modules.html +0 -22
- package/examples/pages/design/pages.html +0 -22
- package/examples/pages/design/switch.html +0 -55
- package/examples/pages/design-patterns/Index.tsx +0 -42
- package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
- package/examples/pages/design-patterns.html +0 -14
- package/examples/pages/design.html +0 -39
- package/examples/pages/main.html +0 -76
- package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
- package/examples/pages/playgrounds/boxed-list.html +0 -164
- package/examples/pages/playgrounds/cards.html +0 -244
- package/examples/pages/playgrounds/circular-progress.html +0 -48
- package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
- package/examples/pages/playgrounds/editor-3-test.html +0 -15
- package/examples/pages/playgrounds/form-layout.html +0 -285
- package/examples/pages/playgrounds/layout-grid.html +0 -79
- package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
- package/examples/pages/playgrounds/layout-test-2.html +0 -795
- package/examples/pages/playgrounds/list-item-test.html +0 -896
- package/examples/pages/playgrounds/main.html +0 -16
- package/examples/pages/playgrounds/master-desk.html +0 -1678
- package/examples/pages/playgrounds/media-carousel.html +0 -1166
- package/examples/pages/playgrounds/nav-buttons.html +0 -65
- package/examples/pages/playgrounds/photo-desk.html +0 -1515
- package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
- package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
- package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
- package/examples/pages/playgrounds/planning.html +0 -1112
- package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
- package/examples/pages/playgrounds/publish.html +0 -1007
- package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
- package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
- package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
- package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
- package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
- package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
- package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
- package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
- package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
- package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
- package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
- package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
- package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
- package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
- package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
- package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
- package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
- package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
- package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
- package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
- package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
- package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
- package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
- package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
- package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
- package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
- package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
- package/examples/pages/playgrounds/settings.html +0 -92
- package/examples/pages/playgrounds/side-navigation.html +0 -201
- package/examples/pages/playgrounds/swimlane-view.html +0 -1975
- package/examples/pages/playgrounds/tags-input.html +0 -55
- package/examples/pages/playgrounds/toasts.html +0 -113
- package/examples/pages/playgrounds/video-editor.html +0 -706
- package/examples/pages/playgrounds.html +0 -40
@@ -1,315 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
import {
|
4
|
-
BoxedList,
|
5
|
-
BoxedListItem,
|
6
|
-
BoxedListContentRow,
|
7
|
-
Prop,
|
8
|
-
PropsList,
|
9
|
-
Icon,
|
10
|
-
IconButton,
|
11
|
-
AvatarWrapper,
|
12
|
-
AvatarContentText,
|
13
|
-
ButtonGroup,
|
14
|
-
Button,
|
15
|
-
Heading,
|
16
|
-
Text,
|
17
|
-
Label,
|
18
|
-
Container,
|
19
|
-
IconLabel,
|
20
|
-
SelectGrid,
|
21
|
-
Dropdown,
|
22
|
-
Tooltip,
|
23
|
-
} from '../../../app-typescript';
|
24
|
-
import {TableList, TableListItem} from '../../../app-typescript/components/Lists/TableList';
|
25
|
-
|
26
|
-
interface IState {
|
27
|
-
array: any;
|
28
|
-
}
|
29
|
-
|
30
|
-
interface IProps {
|
31
|
-
array: any;
|
32
|
-
}
|
33
|
-
|
34
|
-
export default class TableListDoc extends React.Component<IProps, IState> {
|
35
|
-
constructor(props: IState) {
|
36
|
-
super(props);
|
37
|
-
this.state = {
|
38
|
-
array: [
|
39
|
-
{
|
40
|
-
start: (
|
41
|
-
<>
|
42
|
-
<Label style="translucent" text="aacc" />
|
43
|
-
<Label style="translucent" type="primary" text="prlg" />
|
44
|
-
</>
|
45
|
-
),
|
46
|
-
center: <span>Item 1</span>,
|
47
|
-
end: <IconLabel style="translucent" text="Label success" type="success" icon="time" />,
|
48
|
-
action: (
|
49
|
-
<Dropdown
|
50
|
-
items={[
|
51
|
-
{label: <Label style="translucent" type="primary" text="aacc" />, onSelect: () => 1},
|
52
|
-
{label: <Label style="translucent" text="prlg" />, onSelect: () => 1},
|
53
|
-
{label: <Label style="translucent" type="primary" text="prlg" />, onSelect: () => 1},
|
54
|
-
]}
|
55
|
-
>
|
56
|
-
<IconButton
|
57
|
-
icon="dots-vertical"
|
58
|
-
size="small"
|
59
|
-
ariaValue="More actions"
|
60
|
-
onClick={(e) => e.stopPropagation()}
|
61
|
-
/>
|
62
|
-
</Dropdown>
|
63
|
-
),
|
64
|
-
onClick: () => console.log('single'),
|
65
|
-
onDoubleClick: () => console.log('double'),
|
66
|
-
hexColor: '#ccff00',
|
67
|
-
},
|
68
|
-
{
|
69
|
-
start: (
|
70
|
-
<>
|
71
|
-
<Label style="translucent" text="aacc" />
|
72
|
-
<Label style="translucent" type="primary" text="prlg" />
|
73
|
-
</>
|
74
|
-
),
|
75
|
-
center: <span>Item 2</span>,
|
76
|
-
end: <IconLabel style="translucent" text="Label success" type="success" icon="time" />,
|
77
|
-
action: (
|
78
|
-
<IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
|
79
|
-
),
|
80
|
-
onClick: () => console.log('single'),
|
81
|
-
onDoubleClick: () => console.log('double'),
|
82
|
-
},
|
83
|
-
{
|
84
|
-
start: (
|
85
|
-
<>
|
86
|
-
<Label style="translucent" text="aacc" />
|
87
|
-
<Label style="translucent" type="primary" text="prlg" />
|
88
|
-
</>
|
89
|
-
),
|
90
|
-
center: <span>Item 3</span>,
|
91
|
-
end: <IconLabel style="translucent" text="Label success" type="success" icon="time" />,
|
92
|
-
action: (
|
93
|
-
<IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
|
94
|
-
),
|
95
|
-
onClick: () => console.log('single'),
|
96
|
-
onDoubleClick: () => console.log('double'),
|
97
|
-
hexColor: '#ff9808',
|
98
|
-
},
|
99
|
-
],
|
100
|
-
};
|
101
|
-
}
|
102
|
-
|
103
|
-
render() {
|
104
|
-
return (
|
105
|
-
<section className="docs-page__container">
|
106
|
-
<h2 className="docs-page__h2">TableList</h2>
|
107
|
-
|
108
|
-
<Markup.ReactMarkupCodePreview>
|
109
|
-
{`
|
110
|
-
<TableList
|
111
|
-
dragAndDrop
|
112
|
-
addItem
|
113
|
-
array={this.state.array}
|
114
|
-
itemsDropdown={(index) => [
|
115
|
-
{ label: <Label style='translucent' type='primary' text='aacc' />, onSelect: () => false },
|
116
|
-
{ label: <Label style='translucent' text='prlg' />, onSelect: () => false },
|
117
|
-
{ label: <Label style='translucent' type='primary' text='prlg' />, onSelect: () => false },
|
118
|
-
]} />
|
119
|
-
`}
|
120
|
-
</Markup.ReactMarkupCodePreview>
|
121
|
-
|
122
|
-
<p className="docs-page__paragraph">
|
123
|
-
Simple list without drag and drop functionality and without functionality for adding item in list:
|
124
|
-
</p>
|
125
|
-
<Markup.ReactMarkup>
|
126
|
-
<Markup.ReactMarkupPreview>
|
127
|
-
<TableList array={this.state.array} />
|
128
|
-
</Markup.ReactMarkupPreview>
|
129
|
-
<Markup.ReactMarkupCode>
|
130
|
-
{`
|
131
|
-
<TableList
|
132
|
-
array={this.state.array}
|
133
|
-
/>
|
134
|
-
`}
|
135
|
-
</Markup.ReactMarkupCode>
|
136
|
-
</Markup.ReactMarkup>
|
137
|
-
|
138
|
-
<p className="docs-page__paragraph">With drag and drop functionality:</p>
|
139
|
-
<Markup.ReactMarkup>
|
140
|
-
<Markup.ReactMarkupPreview>
|
141
|
-
<TableList
|
142
|
-
dragAndDrop
|
143
|
-
append
|
144
|
-
addItem
|
145
|
-
array={this.state.array}
|
146
|
-
itemsDropdown={(index) => [
|
147
|
-
{
|
148
|
-
label: <Label style="translucent" type="primary" text="aacc" />,
|
149
|
-
onSelect: () => console.log(index),
|
150
|
-
},
|
151
|
-
{label: <Label style="translucent" text="prlg" />, onSelect: () => console.log(index)},
|
152
|
-
{
|
153
|
-
label: <Label style="translucent" type="primary" text="prlg" />,
|
154
|
-
onSelect: () => console.log(index),
|
155
|
-
},
|
156
|
-
]}
|
157
|
-
onDrag={(start, end) => console.log(start, end)}
|
158
|
-
/>
|
159
|
-
</Markup.ReactMarkupPreview>
|
160
|
-
<Markup.ReactMarkupCode>
|
161
|
-
{`
|
162
|
-
<TableList
|
163
|
-
dragAndDrop
|
164
|
-
addItem
|
165
|
-
array={this.state.array}
|
166
|
-
itemsDropdown={(index) => [
|
167
|
-
{ label: <Label style='translucent' type='primary' text='aacc' />, onSelect: () => console.log(index) },
|
168
|
-
{ label: <Label style='translucent' text='prlg' />, onSelect: () => console.log(index) },
|
169
|
-
{ label: <Label style='translucent' type='primary' text='prlg' />, onSelect: () => console.log(index) },
|
170
|
-
]
|
171
|
-
}
|
172
|
-
onDrag={(start, end) => console.log(start, end)}
|
173
|
-
/>
|
174
|
-
`}
|
175
|
-
</Markup.ReactMarkupCode>
|
176
|
-
</Markup.ReactMarkup>
|
177
|
-
|
178
|
-
<h3 className="docs-page__h3">Props</h3>
|
179
|
-
<p className="docs-page__paragraph">TableList</p>
|
180
|
-
<PropsList>
|
181
|
-
<Prop name="array" isRequired={true} type="Array" default="false" description="Array of object." />
|
182
|
-
<Prop
|
183
|
-
name="addItem"
|
184
|
-
isRequired={false}
|
185
|
-
type="boolean"
|
186
|
-
default="false"
|
187
|
-
description="Functionality to add items to the list."
|
188
|
-
/>
|
189
|
-
<Prop
|
190
|
-
name="dragAndDrop"
|
191
|
-
isRequired={false}
|
192
|
-
type="boolean"
|
193
|
-
default="false"
|
194
|
-
description="Drag&Drop functionality."
|
195
|
-
/>
|
196
|
-
<Prop
|
197
|
-
name="className"
|
198
|
-
isRequired={false}
|
199
|
-
type="string"
|
200
|
-
default="false"
|
201
|
-
description="Add class on TableList container."
|
202
|
-
/>
|
203
|
-
<Prop
|
204
|
-
name="showDragHandle"
|
205
|
-
isRequired={false}
|
206
|
-
type="string"
|
207
|
-
default="always"
|
208
|
-
description='"always" | "onHover" | "none".'
|
209
|
-
/>
|
210
|
-
<Prop
|
211
|
-
name="readOnly"
|
212
|
-
isRequired={false}
|
213
|
-
type="boolean"
|
214
|
-
default="false"
|
215
|
-
description="When specified, component changes are not enabled."
|
216
|
-
/>
|
217
|
-
<Prop
|
218
|
-
name="append"
|
219
|
-
isRequired={false}
|
220
|
-
type="boolean"
|
221
|
-
default="false"
|
222
|
-
description="Set append to body on individual item while draging."
|
223
|
-
/>
|
224
|
-
<Prop
|
225
|
-
name="onDrag"
|
226
|
-
isRequired={false}
|
227
|
-
type="function"
|
228
|
-
default="false"
|
229
|
-
description="Returns start and end position of draggable item"
|
230
|
-
/>
|
231
|
-
<Prop
|
232
|
-
name="onAddItem"
|
233
|
-
isRequired={false}
|
234
|
-
type="function"
|
235
|
-
default="false"
|
236
|
-
description="Returns index of draggable item."
|
237
|
-
/>
|
238
|
-
<Prop
|
239
|
-
name="itemsDropdown"
|
240
|
-
isRequired={false}
|
241
|
-
type="function"
|
242
|
-
default="false"
|
243
|
-
description="Dropdown for adding items in the list. Returns index of draggable item."
|
244
|
-
/>
|
245
|
-
</PropsList>
|
246
|
-
<p className="docs-page__paragraph">array:</p>
|
247
|
-
<PropsList>
|
248
|
-
<Prop
|
249
|
-
name="start"
|
250
|
-
isRequired={false}
|
251
|
-
type="React.ReactNode"
|
252
|
-
default="false"
|
253
|
-
description="Column of individual items of list."
|
254
|
-
/>
|
255
|
-
<Prop
|
256
|
-
name="center"
|
257
|
-
isRequired={false}
|
258
|
-
type="React.ReactNode"
|
259
|
-
default="false"
|
260
|
-
description="Column of individual items of list."
|
261
|
-
/>
|
262
|
-
<Prop
|
263
|
-
name="end"
|
264
|
-
isRequired={false}
|
265
|
-
type="React.ReactNode"
|
266
|
-
default="false"
|
267
|
-
description="Column of individual items of list."
|
268
|
-
/>
|
269
|
-
<Prop
|
270
|
-
name="action"
|
271
|
-
isRequired={false}
|
272
|
-
type="React.ReactNode"
|
273
|
-
default="false"
|
274
|
-
description="Column of individual list items that is displayed on hover."
|
275
|
-
/>
|
276
|
-
<Prop
|
277
|
-
name="hexColor"
|
278
|
-
isRequired={false}
|
279
|
-
type="string"
|
280
|
-
default="false"
|
281
|
-
description="Color of left border for item status."
|
282
|
-
/>
|
283
|
-
<Prop
|
284
|
-
name="locked"
|
285
|
-
isRequired={false}
|
286
|
-
type="function"
|
287
|
-
default="false"
|
288
|
-
description="If is true, the individual item of list change state and change style (border)."
|
289
|
-
/>
|
290
|
-
<Prop
|
291
|
-
name="positionLocked"
|
292
|
-
isRequired={false}
|
293
|
-
type="function"
|
294
|
-
default="false"
|
295
|
-
description="Work in progress..."
|
296
|
-
/>
|
297
|
-
<Prop
|
298
|
-
name="onClick"
|
299
|
-
isRequired={false}
|
300
|
-
type="function"
|
301
|
-
default="false"
|
302
|
-
description="onClick functionality."
|
303
|
-
/>
|
304
|
-
<Prop
|
305
|
-
name="onDoubleClick"
|
306
|
-
isRequired={false}
|
307
|
-
type="function"
|
308
|
-
default="false"
|
309
|
-
description="onDoubleClick functionality."
|
310
|
-
/>
|
311
|
-
</PropsList>
|
312
|
-
</section>
|
313
|
-
);
|
314
|
-
}
|
315
|
-
}
|
@@ -1,276 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
|
4
|
-
import {Tab, TabList, Prop, PropsList} from '../../../app-typescript';
|
5
|
-
import {Tabs, TabLabel, TabPanel, TabContent} from '../../../app-typescript';
|
6
|
-
|
7
|
-
interface IState {
|
8
|
-
indexValue: number;
|
9
|
-
}
|
10
|
-
|
11
|
-
export default class TabsDoc extends React.Component<{}, IState> {
|
12
|
-
constructor(props) {
|
13
|
-
super(props);
|
14
|
-
this.state = {
|
15
|
-
indexValue: 0,
|
16
|
-
};
|
17
|
-
this.handleClick = this.handleClick.bind(this);
|
18
|
-
}
|
19
|
-
tabs: TabList;
|
20
|
-
|
21
|
-
componentDidMount() {
|
22
|
-
this.tabs.goTo('Content');
|
23
|
-
}
|
24
|
-
|
25
|
-
handleClick = (number: number) => {
|
26
|
-
this.setState({
|
27
|
-
indexValue: number,
|
28
|
-
});
|
29
|
-
};
|
30
|
-
|
31
|
-
render() {
|
32
|
-
return (
|
33
|
-
<section className="docs-page__container">
|
34
|
-
<h2 className="docs-page__h2">Tabs</h2>
|
35
|
-
<Markup.ReactMarkupCodePreview>
|
36
|
-
{`
|
37
|
-
<TabList>
|
38
|
-
<Tab label='Content'>Content here.</Tab>
|
39
|
-
<Tab label='Metadata'>Metadata here.</Tab>
|
40
|
-
<Tab label='Duplicates'>Duplicates here.</Tab>
|
41
|
-
</TabList>
|
42
|
-
`}
|
43
|
-
</Markup.ReactMarkupCodePreview>
|
44
|
-
<h3 className="docs-page__h3">Default tabs</h3>
|
45
|
-
<p className="docs-page__paragraph">
|
46
|
-
To have a tab-like navigation add the <code>TabList</code> component and multiple <code>Tab</code>{' '}
|
47
|
-
components inside of it.
|
48
|
-
</p>
|
49
|
-
<Markup.ReactMarkup>
|
50
|
-
<Markup.ReactMarkupPreview>
|
51
|
-
<div className="docs-page__content-row">
|
52
|
-
<TabList
|
53
|
-
ref={(tabs) => {
|
54
|
-
this.tabs = tabs;
|
55
|
-
}}
|
56
|
-
>
|
57
|
-
<Tab label="Content">Content here.</Tab>
|
58
|
-
<Tab label="Metadata">Metadata here.</Tab>
|
59
|
-
<Tab label="Duplicates">Duplicates here.</Tab>
|
60
|
-
</TabList>
|
61
|
-
</div>
|
62
|
-
</Markup.ReactMarkupPreview>
|
63
|
-
<Markup.ReactMarkupCode>
|
64
|
-
{`
|
65
|
-
<TabList>
|
66
|
-
<Tab label='Content'>Content here.</Tab>
|
67
|
-
<Tab label='Metadata'>Metadata here.</Tab>
|
68
|
-
<Tab label='Duplicates'>Duplicates here.</Tab>
|
69
|
-
</TabList>
|
70
|
-
`}
|
71
|
-
</Markup.ReactMarkupCode>
|
72
|
-
</Markup.ReactMarkup>
|
73
|
-
|
74
|
-
<h3 className="docs-page__h3">Sizes</h3>
|
75
|
-
<p className="docs-page__paragraph">
|
76
|
-
Tabs come in three different sizes – normal, small and large. Add prop <code>size='large'</code> to
|
77
|
-
the <code>TabList</code> component to create large tabs or <code>size='small'</code> for small ones.
|
78
|
-
The default (normal) size doesn't need the <code>size</code> prop to be specified.
|
79
|
-
</p>
|
80
|
-
<Markup.ReactMarkup>
|
81
|
-
<Markup.ReactMarkupPreview>
|
82
|
-
<div className="docs-page__content-row">
|
83
|
-
<p className="docs-page__paragraph">// Normal tabs (default)</p>
|
84
|
-
<TabList>
|
85
|
-
<Tab label="Content">Content here.</Tab>
|
86
|
-
<Tab label="Metadata">Metadata here.</Tab>
|
87
|
-
<Tab label="Duplicates">Duplicates here.</Tab>
|
88
|
-
</TabList>
|
89
|
-
</div>
|
90
|
-
<div className="docs-page__content-row">
|
91
|
-
<p className="docs-page__paragraph">// Small tabs</p>
|
92
|
-
<TabList size="small">
|
93
|
-
<Tab label="Content">Content here.</Tab>
|
94
|
-
<Tab label="Metadata">Metadata here.</Tab>
|
95
|
-
<Tab label="Duplicates">Duplicates here.</Tab>
|
96
|
-
</TabList>
|
97
|
-
</div>
|
98
|
-
<div className="docs-page__content-row">
|
99
|
-
<p className="docs-page__paragraph">// Large tabs</p>
|
100
|
-
<TabList size="large">
|
101
|
-
<Tab label="Content">Content here.</Tab>
|
102
|
-
<Tab label="Metadata">Metadata here.</Tab>
|
103
|
-
<Tab label="Duplicates">Duplicates here.</Tab>
|
104
|
-
</TabList>
|
105
|
-
</div>
|
106
|
-
</Markup.ReactMarkupPreview>
|
107
|
-
<Markup.ReactMarkupCode>
|
108
|
-
{`
|
109
|
-
// Normal tabs (default)
|
110
|
-
<TabList>
|
111
|
-
<Tab label='Content'>Content here.</Tab>
|
112
|
-
<Tab label='Metadata'>Metadata here.</Tab>
|
113
|
-
<Tab label='Duplicates'>Duplicates here.</Tab>
|
114
|
-
</TabList>
|
115
|
-
// Large tabs
|
116
|
-
<TabList size='large'>
|
117
|
-
<Tab label='Content'>Content here.</Tab>
|
118
|
-
<Tab label='Metadata'>Metadata here.</Tab>
|
119
|
-
<Tab label='Duplicates'>Duplicates here.</Tab>
|
120
|
-
</TabList>
|
121
|
-
// Small tabs
|
122
|
-
<TabList size='small'>
|
123
|
-
<Tab label='Content'>Content here.</Tab>
|
124
|
-
<Tab label='Metadata'>Metadata here.</Tab>
|
125
|
-
<Tab label='Duplicates'>Duplicates here.</Tab>
|
126
|
-
</TabList>
|
127
|
-
`}
|
128
|
-
</Markup.ReactMarkupCode>
|
129
|
-
</Markup.ReactMarkup>
|
130
|
-
|
131
|
-
<h3 className="docs-page__h3">
|
132
|
-
Tabs with two components ( <code>Tabs</code> and <code> TabContent</code> ){' '}
|
133
|
-
</h3>
|
134
|
-
<p className="docs-page__paragraph">
|
135
|
-
If you want to use on one place list of tabs and on another place content of tabs, wrap all{' '}
|
136
|
-
<code>TabLabel</code> with <code>Tabs</code> component and all <code>TabPanel</code> components with{' '}
|
137
|
-
<code>TabContent.</code>
|
138
|
-
</p>
|
139
|
-
<Markup.ReactMarkup>
|
140
|
-
<Markup.ReactMarkupPreview>
|
141
|
-
<div className="docs-page__content-row">
|
142
|
-
<Tabs onClick={this.handleClick}>
|
143
|
-
<TabLabel label="Content" indexValue={0} />
|
144
|
-
<TabLabel label="Metadata" indexValue={1} />
|
145
|
-
<TabLabel label="Duplicates" indexValue={2} />
|
146
|
-
</Tabs>
|
147
|
-
<TabContent activePanel={this.state.indexValue}>
|
148
|
-
<TabPanel indexValue={0}>Content here.</TabPanel>
|
149
|
-
<TabPanel indexValue={1}>Metadata here.</TabPanel>
|
150
|
-
<TabPanel indexValue={2}>Duplicates here.</TabPanel>
|
151
|
-
</TabContent>
|
152
|
-
</div>
|
153
|
-
</Markup.ReactMarkupPreview>
|
154
|
-
<Markup.ReactMarkupCode>
|
155
|
-
{`
|
156
|
-
const [activeIndex, setActiveIndex] = React.useState(0);
|
157
|
-
const handleClick = (index: number) => {
|
158
|
-
setActiveIndex(index);
|
159
|
-
}
|
160
|
-
|
161
|
-
<Tabs onClick={handleClick}>
|
162
|
-
<TabLabel label='Content' indexValue={0}/>
|
163
|
-
<TabLabel label='Metadata' indexValue={1}/>
|
164
|
-
<TabLabel label='Duplicates' indexValue={2}/>
|
165
|
-
</Tabs>
|
166
|
-
<TabContent activePanel={activeIndex}>
|
167
|
-
<TabPanel indexValue={0}>
|
168
|
-
Content here.
|
169
|
-
</TabPanel>
|
170
|
-
<TabPanel indexValue={1}>
|
171
|
-
Metadata here.
|
172
|
-
</TabPanel>
|
173
|
-
<TabPanel indexValue={2}>
|
174
|
-
Duplicates here.
|
175
|
-
</TabPanel>
|
176
|
-
</TabContent>
|
177
|
-
`}
|
178
|
-
</Markup.ReactMarkupCode>
|
179
|
-
</Markup.ReactMarkup>
|
180
|
-
|
181
|
-
<h3 className="docs-page__h3">Props</h3>
|
182
|
-
<PropsList>
|
183
|
-
<Prop
|
184
|
-
name="tablist size"
|
185
|
-
isRequired={false}
|
186
|
-
type="small | normal | large"
|
187
|
-
default="normal"
|
188
|
-
description="Specifies a small, normal or large button."
|
189
|
-
/>
|
190
|
-
<Prop
|
191
|
-
name="tablist theme"
|
192
|
-
isRequired={false}
|
193
|
-
type="light | dark"
|
194
|
-
default="light"
|
195
|
-
description="Styles tablist for diffrent background."
|
196
|
-
/>
|
197
|
-
<Prop
|
198
|
-
name="tab label"
|
199
|
-
isRequired={false}
|
200
|
-
type="string"
|
201
|
-
default="/"
|
202
|
-
description="Text value of Tab label"
|
203
|
-
/>
|
204
|
-
</PropsList>
|
205
|
-
<br />
|
206
|
-
<h4 className="docs-page__h4">Tabs Custom</h4>
|
207
|
-
<PropsList>
|
208
|
-
<Prop
|
209
|
-
name="tabs size"
|
210
|
-
isRequired={false}
|
211
|
-
type="small | normal | large"
|
212
|
-
default="normal"
|
213
|
-
description="Specifies a small, normal or large button."
|
214
|
-
/>
|
215
|
-
<Prop
|
216
|
-
name="tabs theme"
|
217
|
-
isRequired={false}
|
218
|
-
type="light | dark"
|
219
|
-
default="light"
|
220
|
-
description="Styles tablist for diffrent background."
|
221
|
-
/>
|
222
|
-
<Prop
|
223
|
-
name="tabs ariaLabel"
|
224
|
-
isRequired={false}
|
225
|
-
type="string"
|
226
|
-
default="/"
|
227
|
-
description="Text value of aria-label"
|
228
|
-
/>
|
229
|
-
<Prop
|
230
|
-
name="tabs onClick"
|
231
|
-
isRequired={true}
|
232
|
-
type="function"
|
233
|
-
default="/"
|
234
|
-
description="Use to return value of clicked label"
|
235
|
-
/>
|
236
|
-
<Prop
|
237
|
-
name="tablabel indexValue"
|
238
|
-
isRequired={true}
|
239
|
-
type="number"
|
240
|
-
default="/"
|
241
|
-
description="Index value of label"
|
242
|
-
/>
|
243
|
-
<Prop
|
244
|
-
name="tablabel label"
|
245
|
-
isRequired={true}
|
246
|
-
type="string"
|
247
|
-
default="/"
|
248
|
-
description="Text value of Tab label"
|
249
|
-
/>
|
250
|
-
|
251
|
-
<Prop
|
252
|
-
name="tabcontent theme"
|
253
|
-
isRequired={false}
|
254
|
-
type="light | dark"
|
255
|
-
default="light"
|
256
|
-
description="Styles tablist for diffrent background."
|
257
|
-
/>
|
258
|
-
<Prop
|
259
|
-
name="tabcontent activePanel"
|
260
|
-
isRequired={true}
|
261
|
-
type="number"
|
262
|
-
default="/"
|
263
|
-
description="Index value of active Tab"
|
264
|
-
/>
|
265
|
-
<Prop
|
266
|
-
name="tabpanel indexValue"
|
267
|
-
isRequired={true}
|
268
|
-
type="number"
|
269
|
-
default="/"
|
270
|
-
description="Index value of Tab Panel"
|
271
|
-
/>
|
272
|
-
</PropsList>
|
273
|
-
</section>
|
274
|
-
);
|
275
|
-
}
|
276
|
-
}
|