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,152 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
import {PropsList, Prop, Heading} from '../../../app-typescript';
|
4
|
-
|
5
|
-
interface IProps {
|
6
|
-
children?: React.ReactNode;
|
7
|
-
}
|
8
|
-
|
9
|
-
export default class HeadingDoc extends React.Component<IProps> {
|
10
|
-
render() {
|
11
|
-
return (
|
12
|
-
<section className="docs-page__container">
|
13
|
-
<h2 className="docs-page__h2">Heading</h2>
|
14
|
-
|
15
|
-
<Markup.ReactMarkupCodePreview>
|
16
|
-
{`
|
17
|
-
<Heading type='h2'>
|
18
|
-
Purus Dolor Ligula
|
19
|
-
</Heading>
|
20
|
-
`}
|
21
|
-
</Markup.ReactMarkupCodePreview>
|
22
|
-
|
23
|
-
<p className="docs-page__paragraph">
|
24
|
-
Heading component. By choosing the type (h1, h2, h3...) appropriate HTML tags will be rendered,
|
25
|
-
preserving the semantcs.
|
26
|
-
</p>
|
27
|
-
|
28
|
-
<Markup.ReactMarkup>
|
29
|
-
<Markup.ReactMarkupPreview>
|
30
|
-
<p className="docs-page__paragraph">// Basic</p>
|
31
|
-
<div className="docs-page__content-row">
|
32
|
-
<Heading type="h1">Heading one example</Heading>
|
33
|
-
</div>
|
34
|
-
<div className="docs-page__content-row">
|
35
|
-
<Heading type="h2">Heading two example</Heading>
|
36
|
-
</div>
|
37
|
-
<div className="docs-page__content-row">
|
38
|
-
<Heading type="h3">Heading three example</Heading>
|
39
|
-
</div>
|
40
|
-
<div className="docs-page__content-row">
|
41
|
-
<Heading type="h4">Heading four example</Heading>
|
42
|
-
</div>
|
43
|
-
<div className="docs-page__content-row">
|
44
|
-
<Heading type="h5">Heading five example</Heading>
|
45
|
-
</div>
|
46
|
-
<div className="docs-page__content-row">
|
47
|
-
<Heading type="h6">Heading six example</Heading>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<p className="docs-page__paragraph">// Variations</p>
|
51
|
-
|
52
|
-
<div className="docs-page__content-row">
|
53
|
-
<Heading fontStyle="serif" color="light" weight="strong" type="h1">
|
54
|
-
Maecenas faucibus mollis interdum.
|
55
|
-
</Heading>
|
56
|
-
</div>
|
57
|
-
<div className="docs-page__content-row">
|
58
|
-
<Heading type="h2" style="italic" align="end">
|
59
|
-
Cras mattis consectetur purus sit amet fermentum.
|
60
|
-
</Heading>
|
61
|
-
</div>
|
62
|
-
<div className="docs-page__content-row">
|
63
|
-
<Heading fontStyle="serif" type="h3" align="center" color="lighter">
|
64
|
-
Etiam porta sem malesuada magna mollis euismod. Donec ullamcorper nulla.
|
65
|
-
</Heading>
|
66
|
-
</div>
|
67
|
-
</Markup.ReactMarkupPreview>
|
68
|
-
<Markup.ReactMarkupCode>
|
69
|
-
{`
|
70
|
-
// Basic
|
71
|
-
|
72
|
-
<Heading type='h1'>Heading one example</Heading>
|
73
|
-
<Heading type='h2'>Heading two example</Heading>
|
74
|
-
<Heading type='h3'>Heading three example</Heading>
|
75
|
-
<Heading type='h4'>Heading four example</Heading>
|
76
|
-
<Heading type='h5'>Heading five example</Heading>
|
77
|
-
<Heading type='h6'>Heading six example</Heading>
|
78
|
-
|
79
|
-
// Variations
|
80
|
-
|
81
|
-
<Heading fontStyle='serif' color='light' weight='strong' type='h1'>
|
82
|
-
Maecenas faucibus mollis interdum.
|
83
|
-
</Heading>
|
84
|
-
|
85
|
-
<Heading type='h2' style='italic' align='end'>
|
86
|
-
Cras mattis consectetur purus sit amet fermentum.
|
87
|
-
</Heading>
|
88
|
-
|
89
|
-
<Heading fontStyle='serif' type='h3' align='center' color='lighter'>
|
90
|
-
Etiam porta sem malesuada magna mollis euismod. Donec ullamcorper nulla.
|
91
|
-
</Heading>
|
92
|
-
|
93
|
-
`}
|
94
|
-
</Markup.ReactMarkupCode>
|
95
|
-
</Markup.ReactMarkup>
|
96
|
-
|
97
|
-
<h3 className="docs-page__h3">Props</h3>
|
98
|
-
<PropsList>
|
99
|
-
<Prop
|
100
|
-
name="type"
|
101
|
-
isRequired={true}
|
102
|
-
type="h1 | h2 | h3 | h4 | h5 | h6"
|
103
|
-
default="/"
|
104
|
-
description="Heading type (eg. H1, H2, H3... etc.)"
|
105
|
-
/>
|
106
|
-
<Prop
|
107
|
-
name="weight"
|
108
|
-
isRequired={false}
|
109
|
-
type="normal | medium | strong"
|
110
|
-
default="normal"
|
111
|
-
description="Change the default font weight."
|
112
|
-
/>
|
113
|
-
<Prop
|
114
|
-
name="style"
|
115
|
-
isRequired={false}
|
116
|
-
type="normal | italic"
|
117
|
-
default="normal"
|
118
|
-
description="Change the default text style."
|
119
|
-
/>
|
120
|
-
<Prop
|
121
|
-
name="align"
|
122
|
-
isRequired={false}
|
123
|
-
type="start | end | center | justify"
|
124
|
-
default="start"
|
125
|
-
description="Text-align"
|
126
|
-
/>
|
127
|
-
<Prop
|
128
|
-
name="fontStyle"
|
129
|
-
isRequired={false}
|
130
|
-
type="sans | serif"
|
131
|
-
default="sans"
|
132
|
-
description="Choose between default sans (Roboto) and serif (Merriweather) font styles. "
|
133
|
-
/>
|
134
|
-
<Prop
|
135
|
-
name="color"
|
136
|
-
isRequired={false}
|
137
|
-
type="normal | light | lighter"
|
138
|
-
default="normal"
|
139
|
-
description="Choose a different text colour. Additional two lighter shades are available."
|
140
|
-
/>
|
141
|
-
<Prop
|
142
|
-
name="className"
|
143
|
-
isRequired={false}
|
144
|
-
type="string"
|
145
|
-
default="/"
|
146
|
-
description="Add helper classes or custom CSS styles"
|
147
|
-
/>
|
148
|
-
</PropsList>
|
149
|
-
</section>
|
150
|
-
);
|
151
|
-
}
|
152
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
import * as Markup from '../../js/react';
|
4
|
-
|
5
|
-
import {IconButton, Prop, PropsList, Tooltip, Container, ButtonGroup} from '../../../app-typescript';
|
6
|
-
|
7
|
-
export default class IconButtonDoc extends React.Component {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<section className="docs-page__container">
|
11
|
-
<h2 className="docs-page__h2">Plain icon button</h2>
|
12
|
-
<Markup.ReactMarkupCodePreview>
|
13
|
-
{`
|
14
|
-
<IconButton icon="close-small" ariaValue="Screen-reader text" onClick={()=> false} />
|
15
|
-
`}
|
16
|
-
</Markup.ReactMarkupCodePreview>
|
17
|
-
<p className="docs-page__paragraph">
|
18
|
-
The IconButton component is mostly used for action buttons in toolbars, inside other UI components.
|
19
|
-
They can be combined with the Tooltip component to dsplay tooltips. The small version should be
|
20
|
-
generally avoided and used only where the footprint of the default version is to large.
|
21
|
-
</p>
|
22
|
-
<Markup.ReactMarkup>
|
23
|
-
<Markup.ReactMarkupPreview>
|
24
|
-
<p className="docs-page__paragraph">// Default</p>
|
25
|
-
<p className="docs-page__paragraph--small">Hover buttons to see tooltips.</p>
|
26
|
-
<div className="docs-page__content-row docs-page__content-row--white">
|
27
|
-
<IconButton icon="close-small" disabled ariaValue="Close" onClick={() => false} />
|
28
|
-
<IconButton icon="plus-large" ariaValue="Add" onClick={() => false} />
|
29
|
-
<IconButton icon="dots-vertical" ariaValue="More options" onClick={() => false} />
|
30
|
-
<IconButton icon="trash" ariaValue="Move to trash" onClick={() => false} />
|
31
|
-
<IconButton icon="close-small" ariaValue="Close" onClick={() => false} />
|
32
|
-
</div>
|
33
|
-
<p className="docs-page__paragraph">// Small</p>
|
34
|
-
<div className="docs-page__content-row docs-page__content-row--white sd-d-flex ">
|
35
|
-
<IconButton size="small" icon="plus-large" ariaValue="Add" onClick={() => false} />
|
36
|
-
<span className="sd-margin-x--auto"></span>
|
37
|
-
<IconButton size="small" icon="close-small" ariaValue="Close" onClick={() => false} />
|
38
|
-
</div>
|
39
|
-
|
40
|
-
<p className="docs-page__paragraph">// Xtra large, 'outline' style</p>
|
41
|
-
<Container
|
42
|
-
gap="large"
|
43
|
-
className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-margin-b--3"
|
44
|
-
>
|
45
|
-
<ButtonGroup align="center" spaces="loose">
|
46
|
-
<IconButton
|
47
|
-
style="outline"
|
48
|
-
size="x-large"
|
49
|
-
icon="pencil"
|
50
|
-
ariaValue="Add"
|
51
|
-
onClick={() => false}
|
52
|
-
/>
|
53
|
-
<IconButton
|
54
|
-
style="outline"
|
55
|
-
disabled={true}
|
56
|
-
size="x-large"
|
57
|
-
icon="switches"
|
58
|
-
ariaValue="Add"
|
59
|
-
onClick={() => false}
|
60
|
-
/>
|
61
|
-
<IconButton
|
62
|
-
style="outline"
|
63
|
-
size="x-large"
|
64
|
-
icon="crop"
|
65
|
-
ariaValue="Close"
|
66
|
-
onClick={() => false}
|
67
|
-
/>
|
68
|
-
</ButtonGroup>
|
69
|
-
</Container>
|
70
|
-
|
71
|
-
<p className="docs-page__paragraph">// Xtra large, outlineWhite style</p>
|
72
|
-
<p className="docs-page__paragraph--small">
|
73
|
-
The 'outlineWhite' syle forces a white icon and outline. It can be used on dark overlays for
|
74
|
-
example.
|
75
|
-
</p>
|
76
|
-
<div
|
77
|
-
style={{background: 'hsla(214, 13%, 12%, 1)'}}
|
78
|
-
className="sd-container sd-container--flex sd-container--gap-large sd-radius--medium sd-shadow--z2 sd-padding--3"
|
79
|
-
>
|
80
|
-
<ButtonGroup align="center" spaces="loose">
|
81
|
-
<IconButton
|
82
|
-
style="outlineWhite"
|
83
|
-
size="x-large"
|
84
|
-
icon="pencil"
|
85
|
-
ariaValue="Edit metadata"
|
86
|
-
onClick={() => false}
|
87
|
-
/>
|
88
|
-
<IconButton
|
89
|
-
style="outlineWhite"
|
90
|
-
disabled={true}
|
91
|
-
size="x-large"
|
92
|
-
icon="switches"
|
93
|
-
ariaValue="Edit image"
|
94
|
-
onClick={() => false}
|
95
|
-
/>
|
96
|
-
<IconButton
|
97
|
-
style="outlineWhite"
|
98
|
-
size="x-large"
|
99
|
-
icon="crop"
|
100
|
-
ariaValue="Edit crops"
|
101
|
-
onClick={() => false}
|
102
|
-
/>
|
103
|
-
</ButtonGroup>
|
104
|
-
</div>
|
105
|
-
</Markup.ReactMarkupPreview>
|
106
|
-
<Markup.ReactMarkupCode>
|
107
|
-
{`
|
108
|
-
<IconButton icon='close-small' disabled ariaValue='Close' onClick={()=> false} />
|
109
|
-
<IconButton icon='plus-large' ariaValue='Add' onClick={()=> false} />
|
110
|
-
<IconButton icon='dots-vertical' ariaValue='More options' onClick={()=> false} />
|
111
|
-
<IconButton icon='trash' ariaValue='Move to trash' onClick={()=> false} />
|
112
|
-
<IconButton icon='close-small' ariaValue='Close' onClick={()=> false} />
|
113
|
-
|
114
|
-
// Small
|
115
|
-
<IconButton size='small' icon='plus-large' ariaValue='Add' onClick={()=> false} />
|
116
|
-
...
|
117
|
-
<IconButton size='small' icon='close-small' ariaValue='Close' onClick={()=> false} />
|
118
|
-
|
119
|
-
// Xtra large, 'outline' style
|
120
|
-
<ButtonGroup align='center' spaces='loose'>
|
121
|
-
<IconButton style='outline' size='x-large' icon='pencil' ariaValue='Add' onClick={()=> false} />
|
122
|
-
<IconButton style='outline' disabled={true} size='x-large' icon='switches' ariaValue='Add' onClick={()=> false} />
|
123
|
-
<IconButton style='outline' size='x-large' icon='crop' ariaValue='Close' onClick={()=> false} />
|
124
|
-
</ButtonGroup>
|
125
|
-
|
126
|
-
// Xtra large, outlineWhite style
|
127
|
-
<ButtonGroup align='center' spaces='loose'>
|
128
|
-
<IconButton style='outlineWhite' size='x-large' icon='pencil' ariaValue='Edit metadata' onClick={()=> false} />
|
129
|
-
<IconButton style='outlineWhite' disabled={true} size='x-large' icon='switches' ariaValue='Edit image' onClick={()=> false} />
|
130
|
-
<IconButton style='outlineWhite' size='x-large' icon='crop' ariaValue='Edit crops' onClick={()=> false} />
|
131
|
-
</ButtonGroup>
|
132
|
-
`}
|
133
|
-
</Markup.ReactMarkupCode>
|
134
|
-
</Markup.ReactMarkup>
|
135
|
-
|
136
|
-
<h3 className="docs-page__h3">Props</h3>
|
137
|
-
<PropsList>
|
138
|
-
<Prop
|
139
|
-
name="icon"
|
140
|
-
isRequired={false}
|
141
|
-
type="string"
|
142
|
-
default="/"
|
143
|
-
description="Icon class name without the icon- part."
|
144
|
-
/>
|
145
|
-
<Prop
|
146
|
-
name="ariaValue"
|
147
|
-
isRequired={true}
|
148
|
-
type="string"
|
149
|
-
default="/"
|
150
|
-
description="Description for screen readers, also used as the ToolTip value."
|
151
|
-
/>
|
152
|
-
<Prop
|
153
|
-
name="size"
|
154
|
-
isRequired={false}
|
155
|
-
type="default | small | x-large"
|
156
|
-
default="default"
|
157
|
-
description="Creates an IconButton with a smaller or larger footprint."
|
158
|
-
/>
|
159
|
-
<Prop
|
160
|
-
name="style"
|
161
|
-
isRequired={false}
|
162
|
-
type="default | outline | outlineWhite"
|
163
|
-
default="default"
|
164
|
-
description="Different styling options."
|
165
|
-
/>
|
166
|
-
<Prop
|
167
|
-
name="disabled"
|
168
|
-
isRequired={false}
|
169
|
-
type="boolean"
|
170
|
-
default="false"
|
171
|
-
description="Disables the Button, preventing mouse events."
|
172
|
-
/>
|
173
|
-
<Prop
|
174
|
-
name="toolTipFlow"
|
175
|
-
isRequired={false}
|
176
|
-
type="top | left | right | down"
|
177
|
-
default="top"
|
178
|
-
description="Defines the possition of the ToolTip."
|
179
|
-
/>
|
180
|
-
<Prop
|
181
|
-
name="toolTipAppend"
|
182
|
-
isRequired={false}
|
183
|
-
type="boolean"
|
184
|
-
default="false"
|
185
|
-
description="Uses the append to body version of the ToolTips if set to true."
|
186
|
-
/>
|
187
|
-
</PropsList>
|
188
|
-
</section>
|
189
|
-
);
|
190
|
-
}
|
191
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
|
4
|
-
import {Icon, Prop, PropsList} from '../../../app-typescript';
|
5
|
-
|
6
|
-
//@ts-ignore
|
7
|
-
import * as iconFont from '../../../app/styles/_icon-font.scss';
|
8
|
-
|
9
|
-
export default class IconFontDoc extends React.PureComponent {
|
10
|
-
render() {
|
11
|
-
const array = iconFont.icon.split(', ');
|
12
|
-
const icons = array.map((icon, index) => (
|
13
|
-
<li key={index}>
|
14
|
-
<Icon name={icon} />
|
15
|
-
<span>{icon}</span>
|
16
|
-
</li>
|
17
|
-
));
|
18
|
-
return (
|
19
|
-
<section className="docs-page__container">
|
20
|
-
<h2 className="docs-page__h2 docs-page__text-align--center">Icon font</h2>
|
21
|
-
<Markup.ReactMarkupCodePreview>
|
22
|
-
{`
|
23
|
-
<Icon name="photo" />
|
24
|
-
`}
|
25
|
-
</Markup.ReactMarkupCodePreview>
|
26
|
-
<ul className="docs-page__icon-font-list">{icons}</ul>
|
27
|
-
|
28
|
-
<h3 className="docs-page__h3">Props</h3>
|
29
|
-
<PropsList>
|
30
|
-
<Prop name="name" isRequired={false} type="string" default="/" description="Icon name value." />
|
31
|
-
<Prop
|
32
|
-
name="type"
|
33
|
-
isRequired={false}
|
34
|
-
type="default | primary | success | warning | alert | highlight | sd-green"
|
35
|
-
default="default"
|
36
|
-
description="Default + semantic colour variations (e.g. primary, success etc.)"
|
37
|
-
/>
|
38
|
-
<Prop
|
39
|
-
name="size"
|
40
|
-
isRequired={false}
|
41
|
-
type="small | big"
|
42
|
-
default="small"
|
43
|
-
description="Specifies a small or big size of Icon."
|
44
|
-
/>
|
45
|
-
</PropsList>
|
46
|
-
</section>
|
47
|
-
);
|
48
|
-
}
|
49
|
-
}
|
@@ -1,199 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
import * as Markup from '../../js/react';
|
4
|
-
|
5
|
-
import {IconLabel, Prop, PropsList} from '../../../app-typescript';
|
6
|
-
|
7
|
-
export default class IconLabelDoc extends React.Component {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<section className="docs-page__container">
|
11
|
-
<h2 className="docs-page__h2">Icon Labels</h2>
|
12
|
-
<Markup.ReactMarkupCodePreview>
|
13
|
-
{`
|
14
|
-
<IconLabel text='Label primary' icon='facebook' type='primary' />
|
15
|
-
`}
|
16
|
-
</Markup.ReactMarkupCodePreview>
|
17
|
-
<p className="docs-page__paragraph">
|
18
|
-
Icon labels are inline styles for displaying a combination of icons from the icon font with a text
|
19
|
-
label. Use the <code>type</code> prop to change semantic colour values based on the intended
|
20
|
-
purpose.
|
21
|
-
</p>
|
22
|
-
<Markup.ReactMarkup>
|
23
|
-
<Markup.ReactMarkupPreview>
|
24
|
-
<div className="docs-page__content-row docs-page__content-row--no-margin">
|
25
|
-
<p className="docs-page__paragraph">// Basic</p>
|
26
|
-
<IconLabel text="Default label" icon="photo" />
|
27
|
-
<IconLabel text="Label primary" icon="facebook" type="primary" />
|
28
|
-
<IconLabel text="Label success" icon="text" type="success" />
|
29
|
-
<IconLabel text="Label warning" icon="paywall" type="warning" />
|
30
|
-
<IconLabel text="Label alert" icon="trash" type="alert" />
|
31
|
-
<IconLabel text="Label highlight" icon="composite" type="highlight" />
|
32
|
-
<IconLabel text="Label sd-green" icon="video" type="sd-green" />
|
33
|
-
|
34
|
-
<p className="docs-page__paragraph">// Translucent</p>
|
35
|
-
<IconLabel
|
36
|
-
innerLabel="Start:"
|
37
|
-
style="translucent"
|
38
|
-
text="00:45"
|
39
|
-
type="success"
|
40
|
-
icon="time"
|
41
|
-
/>
|
42
|
-
<IconLabel innerLabel="end:" style="translucent" text="00:30" type="warning" icon="time" />
|
43
|
-
<IconLabel style="translucent" text="Label alert" type="alert" icon="time" />
|
44
|
-
<IconLabel style="translucent" text="Label highlight" type="highlight" icon="calendar" />
|
45
|
-
<IconLabel style="translucent" text="Label sd-green" type="sd-green" icon="calendar" />
|
46
|
-
<IconLabel style="translucent" text="Default label" icon="bell" />
|
47
|
-
<br />
|
48
|
-
<IconLabel innerLabel="Start:" style="translucent" text="00:45" type="success" />
|
49
|
-
<IconLabel innerLabel="end:" style="translucent" text="00:30" type="warning" />
|
50
|
-
<IconLabel style="translucent" text="Label alert" type="alert" />
|
51
|
-
|
52
|
-
<p className="docs-page__paragraph">// Translucent & Large</p>
|
53
|
-
<IconLabel
|
54
|
-
innerLabel="Start:"
|
55
|
-
size="large"
|
56
|
-
style="translucent"
|
57
|
-
text="00:45"
|
58
|
-
type="success"
|
59
|
-
icon="time"
|
60
|
-
/>
|
61
|
-
<IconLabel
|
62
|
-
innerLabel="Start:"
|
63
|
-
size="large"
|
64
|
-
style="translucent"
|
65
|
-
text="00:55"
|
66
|
-
type="warning"
|
67
|
-
icon="time"
|
68
|
-
/>
|
69
|
-
<IconLabel
|
70
|
-
innerLabel="Start:"
|
71
|
-
size="large"
|
72
|
-
style="translucent"
|
73
|
-
text="00:15"
|
74
|
-
type="alert"
|
75
|
-
icon="time"
|
76
|
-
/>
|
77
|
-
<br />
|
78
|
-
<IconLabel
|
79
|
-
innerLabel="Start:"
|
80
|
-
size="large"
|
81
|
-
style="translucent"
|
82
|
-
text="18:30"
|
83
|
-
type="success"
|
84
|
-
/>
|
85
|
-
<IconLabel
|
86
|
-
innerLabel="End:"
|
87
|
-
size="large"
|
88
|
-
style="translucent"
|
89
|
-
text="20:30"
|
90
|
-
type="highlight"
|
91
|
-
/>
|
92
|
-
<IconLabel
|
93
|
-
innerLabel="Duration:"
|
94
|
-
size="large"
|
95
|
-
style="translucent"
|
96
|
-
text="00:30"
|
97
|
-
type="primary"
|
98
|
-
/>
|
99
|
-
|
100
|
-
<p className="docs-page__paragraph">// Translucent & Small</p>
|
101
|
-
<IconLabel
|
102
|
-
innerLabel="Start:"
|
103
|
-
size="small"
|
104
|
-
style="translucent"
|
105
|
-
text="00:45"
|
106
|
-
type="success"
|
107
|
-
icon="time"
|
108
|
-
/>
|
109
|
-
<IconLabel
|
110
|
-
innerLabel="Start:"
|
111
|
-
size="small"
|
112
|
-
style="translucent"
|
113
|
-
text="00:55"
|
114
|
-
type="warning"
|
115
|
-
icon="time"
|
116
|
-
/>
|
117
|
-
<IconLabel
|
118
|
-
innerLabel="Start:"
|
119
|
-
size="small"
|
120
|
-
style="translucent"
|
121
|
-
text="00:15"
|
122
|
-
type="alert"
|
123
|
-
icon="time"
|
124
|
-
/>
|
125
|
-
<br />
|
126
|
-
<IconLabel
|
127
|
-
innerLabel="Start:"
|
128
|
-
size="small"
|
129
|
-
style="translucent"
|
130
|
-
text="18:30"
|
131
|
-
type="success"
|
132
|
-
/>
|
133
|
-
<IconLabel
|
134
|
-
innerLabel="End:"
|
135
|
-
size="small"
|
136
|
-
style="translucent"
|
137
|
-
text="20:30"
|
138
|
-
type="highlight"
|
139
|
-
/>
|
140
|
-
<IconLabel
|
141
|
-
innerLabel="Duration:"
|
142
|
-
size="small"
|
143
|
-
style="translucent"
|
144
|
-
text="00:30"
|
145
|
-
type="primary"
|
146
|
-
/>
|
147
|
-
</div>
|
148
|
-
</Markup.ReactMarkupPreview>
|
149
|
-
<Markup.ReactMarkupCode>
|
150
|
-
{`
|
151
|
-
// Basic
|
152
|
-
<IconLabel text='Default label' icon='photo' />
|
153
|
-
<IconLabel text='Label primary' icon='facebook' type='primary' />
|
154
|
-
<IconLabel text='Label success' icon='text' type='success' />
|
155
|
-
<IconLabel text='Label warning' icon='paywall' type='warning' />
|
156
|
-
<IconLabel text='Label alert' icon='trash' type='alert' />
|
157
|
-
<IconLabel text='Label highlight' icon='composite' type='highlight' />
|
158
|
-
<IconLabel text='Label sd-green' icon='video' type='sd-green' />
|
159
|
-
|
160
|
-
// Translucent
|
161
|
-
<IconLabel style='translucent' text='Label success' type='success' icon='time' />
|
162
|
-
<IconLabel style='translucent' text='Label warning' type='warning' icon='time' />
|
163
|
-
<IconLabel style='translucent' text='Label alert' type='alert' icon='time' />
|
164
|
-
<IconLabel style='translucent' text='Label highlight' type='highlight' icon='calendar' />
|
165
|
-
<IconLabel style='translucent' text='Label sd-green' type='sd-green' icon='calendar' />
|
166
|
-
<IconLabel style='translucent' text='Default label' icon='bell' />
|
167
|
-
`}
|
168
|
-
</Markup.ReactMarkupCode>
|
169
|
-
</Markup.ReactMarkup>
|
170
|
-
|
171
|
-
<h3 className="docs-page__h3">Props</h3>
|
172
|
-
<PropsList>
|
173
|
-
<Prop name="text" isRequired={true} type="string" default="/" description="IconLabel text value." />
|
174
|
-
<Prop
|
175
|
-
name="type"
|
176
|
-
isRequired={false}
|
177
|
-
type="default | primary | success | warning | alert | highlight | sd-green"
|
178
|
-
default="default"
|
179
|
-
description="Default + semantic colour variations (e.g. primary, success etc.)."
|
180
|
-
/>
|
181
|
-
<Prop
|
182
|
-
name="icon"
|
183
|
-
isRequired={false}
|
184
|
-
type="string"
|
185
|
-
default="/"
|
186
|
-
description="Icon class name without the icon- part."
|
187
|
-
/>
|
188
|
-
<Prop
|
189
|
-
name="style"
|
190
|
-
isRequired={false}
|
191
|
-
type="basic | translucent"
|
192
|
-
default="basic"
|
193
|
-
description="Defines the style of the label (basic or translucent)."
|
194
|
-
/>
|
195
|
-
</PropsList>
|
196
|
-
</section>
|
197
|
-
);
|
198
|
-
}
|
199
|
-
}
|