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,507 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
import {GridList, Icon, IconButton, Badge, Label, Checkbox, Prop, PropsList} from '../../../app-typescript';
|
4
|
-
import * as GridElements from '../../../app-typescript/components/GridItem';
|
5
|
-
|
6
|
-
interface IState {
|
7
|
-
selected: boolean;
|
8
|
-
locked: boolean;
|
9
|
-
status: Array<string>;
|
10
|
-
}
|
11
|
-
|
12
|
-
export default class GridItemDoc extends React.Component<{}, IState> {
|
13
|
-
constructor(props) {
|
14
|
-
super(props);
|
15
|
-
this.state = {
|
16
|
-
selected: true,
|
17
|
-
locked: false,
|
18
|
-
status: ['selected'],
|
19
|
-
};
|
20
|
-
}
|
21
|
-
|
22
|
-
changeStatus(status: string) {
|
23
|
-
let statuses = this.state.status;
|
24
|
-
|
25
|
-
if (statuses.includes(status)) {
|
26
|
-
statuses.splice(statuses.indexOf(status), 1);
|
27
|
-
} else {
|
28
|
-
statuses.push(status);
|
29
|
-
}
|
30
|
-
|
31
|
-
this.setState({status: statuses});
|
32
|
-
}
|
33
|
-
|
34
|
-
render() {
|
35
|
-
return (
|
36
|
-
<section className="docs-page__container">
|
37
|
-
<h2 className="docs-page__h2">GridItem</h2>
|
38
|
-
|
39
|
-
<Markup.ReactMarkupCodePreview>
|
40
|
-
{`
|
41
|
-
<GridElements.GridItem itemtype='photo'>
|
42
|
-
<GridElements.GridItemMedia>...</GridElements.GridItemMedia>
|
43
|
-
<GridElements.GridItemContent>
|
44
|
-
<GridElements.GridItemTime time='10.11.2020' />
|
45
|
-
<GridElements.GridItemTitle>Item title</GridElements.GridItemTitle>
|
46
|
-
<GridElements.GridItemText>Item description...</GridElements.GridItemText>
|
47
|
-
</GridElements.GridItemContent>
|
48
|
-
<GridElements.GridItemFooter>
|
49
|
-
<GridElements.GridItemFooterBlock align='left'>
|
50
|
-
<Icon name='photo' className='sd-grid-item__type-icn' />
|
51
|
-
</GridElements.GridItemFooterBlock>
|
52
|
-
<GridElements.GridItemFooterActions>
|
53
|
-
<IconButton icon='dots-vertical' ariaValue='Actions' onClick={()=> false} />
|
54
|
-
</GridElements.GridItemFooterActions>
|
55
|
-
</GridElements.GridItemFooter>
|
56
|
-
</GridElements.GridItem>
|
57
|
-
`}
|
58
|
-
</Markup.ReactMarkupCodePreview>
|
59
|
-
|
60
|
-
<p className="docs-page__paragraph">
|
61
|
-
The <code>GridItem</code> is a complex container component intended for the display of content items
|
62
|
-
in a grid structure. Although it can be used as a standalone element, it works best as a child of
|
63
|
-
the <code>GridList</code> component. If used without the <code>GridList</code> it should be placed
|
64
|
-
in an element with a constrained width, as it doesn't have a limited width on its own.
|
65
|
-
</p>
|
66
|
-
|
67
|
-
<h3 className="docs-page__h3 docs-page__h3--small-top-m">Full structure</h3>
|
68
|
-
|
69
|
-
<Markup.ReactMarkup>
|
70
|
-
<Markup.ReactMarkupPreview>
|
71
|
-
<GridList size="small" gap="medium" margin="1">
|
72
|
-
<GridElements.GridItem itemtype="photo" status={this.state.status} onClick={() => false}>
|
73
|
-
<GridElements.GridItemCheckWrapper>
|
74
|
-
<Checkbox
|
75
|
-
checked={this.state.selected}
|
76
|
-
label={{text: ''}}
|
77
|
-
onChange={(value) => {
|
78
|
-
this.setState({selected: value});
|
79
|
-
this.changeStatus('selected');
|
80
|
-
}}
|
81
|
-
/>
|
82
|
-
</GridElements.GridItemCheckWrapper>
|
83
|
-
<GridElements.GridItemTopActions>
|
84
|
-
<IconButton
|
85
|
-
icon="fullscreen"
|
86
|
-
ariaValue="Fullscreen preview"
|
87
|
-
onClick={() => false}
|
88
|
-
/>
|
89
|
-
</GridElements.GridItemTopActions>
|
90
|
-
<GridElements.GridItemMedia>
|
91
|
-
<img src="/bill.jpg" alt="Bill" />
|
92
|
-
</GridElements.GridItemMedia>
|
93
|
-
<GridElements.GridItemContent>
|
94
|
-
<GridElements.GridItemTime time="10.11.2020" />
|
95
|
-
<GridElements.GridItemTitle>
|
96
|
-
Item title nulla vitae elit libero, a pharetra augue
|
97
|
-
</GridElements.GridItemTitle>
|
98
|
-
<GridElements.GridItemText>
|
99
|
-
Item description cras mattis consectetur purus sit amet fermentum. Vivamus
|
100
|
-
sagittis lacus vel augue laoreet...
|
101
|
-
</GridElements.GridItemText>
|
102
|
-
</GridElements.GridItemContent>
|
103
|
-
<GridElements.GridItemFooter>
|
104
|
-
<GridElements.GridItemFooterBlock align="left">
|
105
|
-
<Icon name="photo" className="sd-grid-item__type-icn" />
|
106
|
-
<Badge text="2" color="deep-orange--500" />
|
107
|
-
<Badge text="5" shape="square" color="blue-grey--300" />
|
108
|
-
</GridElements.GridItemFooterBlock>
|
109
|
-
<GridElements.GridItemFooterActions>
|
110
|
-
<IconButton icon="dots-vertical" ariaValue="Actions" onClick={() => false} />
|
111
|
-
</GridElements.GridItemFooterActions>
|
112
|
-
</GridElements.GridItemFooter>
|
113
|
-
</GridElements.GridItem>
|
114
|
-
|
115
|
-
<GridElements.GridItem itemtype="audio" locked={true} fetched={true} onClick={() => false}>
|
116
|
-
<GridElements.GridItemTopActions>
|
117
|
-
<IconButton icon="play" ariaValue="Play" onClick={() => false} />
|
118
|
-
</GridElements.GridItemTopActions>
|
119
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
120
|
-
<GridElements.GridItemContent>
|
121
|
-
<GridElements.GridItemTime time="10.11.2020" />
|
122
|
-
<GridElements.GridItemTitle>
|
123
|
-
Maecenas faucibus mollis interdum
|
124
|
-
</GridElements.GridItemTitle>
|
125
|
-
<GridElements.GridItemText>
|
126
|
-
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
|
127
|
-
Sed posuere consectetur est at lobortis...
|
128
|
-
</GridElements.GridItemText>
|
129
|
-
</GridElements.GridItemContent>
|
130
|
-
<GridElements.GridItemFooter>
|
131
|
-
<GridElements.GridItemFooterBlock align="left">
|
132
|
-
<Icon name="audio" className="sd-grid-item__type-icn" />
|
133
|
-
<Badge text="1" color="deep-orange--600" />
|
134
|
-
<Badge text="4" shape="square" color="blue-grey--500" />
|
135
|
-
</GridElements.GridItemFooterBlock>
|
136
|
-
<GridElements.GridItemFooterActions>
|
137
|
-
<IconButton icon="dots-vertical" ariaValue="Actions" onClick={() => false} />
|
138
|
-
</GridElements.GridItemFooterActions>
|
139
|
-
</GridElements.GridItemFooter>
|
140
|
-
</GridElements.GridItem>
|
141
|
-
|
142
|
-
<GridElements.GridItem itemtype="photo">
|
143
|
-
<GridElements.GridItemTopActions>
|
144
|
-
<IconButton
|
145
|
-
icon="fullscreen"
|
146
|
-
ariaValue="Fullscreen preview"
|
147
|
-
onClick={() => false}
|
148
|
-
/>
|
149
|
-
</GridElements.GridItemTopActions>
|
150
|
-
<GridElements.GridItemMedia>
|
151
|
-
<img src="/obama_2.jpg" alt="Barack" />
|
152
|
-
</GridElements.GridItemMedia>
|
153
|
-
<GridElements.GridItemContent>
|
154
|
-
<GridElements.GridItemTime time="10.11.2020" />
|
155
|
-
<GridElements.GridItemTitle>
|
156
|
-
Fusce dapibus, tellus ac cursus commodo, tortor mauris
|
157
|
-
</GridElements.GridItemTitle>
|
158
|
-
<GridElements.GridItemText>
|
159
|
-
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Maecenas sed diam
|
160
|
-
eget risus varius blandit sit amet non magna...
|
161
|
-
</GridElements.GridItemText>
|
162
|
-
</GridElements.GridItemContent>
|
163
|
-
<GridElements.GridItemFooter>
|
164
|
-
<GridElements.GridItemFooterBlock align="left">
|
165
|
-
<Icon name="photo" className="sd-grid-item__type-icn" />
|
166
|
-
<Badge text="3" color="orange--500" />
|
167
|
-
<Badge text="5" shape="square" color="blue-grey--300" />
|
168
|
-
</GridElements.GridItemFooterBlock>
|
169
|
-
<GridElements.GridItemFooterActions>
|
170
|
-
<IconButton icon="dots-vertical" ariaValue="Actions" onClick={() => false} />
|
171
|
-
</GridElements.GridItemFooterActions>
|
172
|
-
</GridElements.GridItemFooter>
|
173
|
-
</GridElements.GridItem>
|
174
|
-
|
175
|
-
<GridElements.GridItem itemtype="photo" status={['actioning']}>
|
176
|
-
<GridElements.GridItemTopActions>
|
177
|
-
<IconButton
|
178
|
-
icon="fullscreen"
|
179
|
-
ariaValue="Fullscreen preview"
|
180
|
-
onClick={() => false}
|
181
|
-
/>
|
182
|
-
</GridElements.GridItemTopActions>
|
183
|
-
<GridElements.GridItemMedia>
|
184
|
-
<img src="/d_trump.jpg" alt="Ronmo" />
|
185
|
-
</GridElements.GridItemMedia>
|
186
|
-
<GridElements.GridItemContent>
|
187
|
-
<GridElements.GridItemTime time="10.11.2020" />
|
188
|
-
<GridElements.GridItemTitle>
|
189
|
-
Sed posuere consectetur est at lobortis
|
190
|
-
</GridElements.GridItemTitle>
|
191
|
-
<GridElements.GridItemText>
|
192
|
-
Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere
|
193
|
-
consectetur est at lobortis...
|
194
|
-
</GridElements.GridItemText>
|
195
|
-
</GridElements.GridItemContent>
|
196
|
-
<GridElements.GridItemFooter>
|
197
|
-
<GridElements.GridItemFooterBlock align="left">
|
198
|
-
<Icon name="photo" className="sd-grid-item__type-icn" />
|
199
|
-
<Badge text="3" color="orange--500" />
|
200
|
-
<Badge text="5" shape="square" color="blue-grey--300" />
|
201
|
-
</GridElements.GridItemFooterBlock>
|
202
|
-
<GridElements.GridItemFooterActions>
|
203
|
-
<IconButton icon="dots-vertical" ariaValue="Actions" onClick={() => false} />
|
204
|
-
</GridElements.GridItemFooterActions>
|
205
|
-
</GridElements.GridItemFooter>
|
206
|
-
</GridElements.GridItem>
|
207
|
-
|
208
|
-
<GridElements.GridItem itemtype="slideshow" fetched={true} onClick={() => false}>
|
209
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
210
|
-
<GridElements.GridItemContent>
|
211
|
-
<GridElements.GridItemTime time="10.11.2020" />
|
212
|
-
<GridElements.GridItemTitle>
|
213
|
-
Nulla vitae elit libero, a pharetra augue
|
214
|
-
</GridElements.GridItemTitle>
|
215
|
-
<GridElements.GridItemText>
|
216
|
-
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec sed odio
|
217
|
-
dui...
|
218
|
-
</GridElements.GridItemText>
|
219
|
-
</GridElements.GridItemContent>
|
220
|
-
<GridElements.GridItemFooter>
|
221
|
-
<GridElements.GridItemFooterBlock align="left">
|
222
|
-
<Icon name="slideshow" className="sd-grid-item__type-icn" />
|
223
|
-
<Badge text="1" color="deep-orange--600" />
|
224
|
-
<Badge text="5" shape="square" color="blue-grey--300" />
|
225
|
-
</GridElements.GridItemFooterBlock>
|
226
|
-
<GridElements.GridItemFooterActions>
|
227
|
-
<IconButton icon="dots-vertical" ariaValue="Actions" onClick={() => false} />
|
228
|
-
</GridElements.GridItemFooterActions>
|
229
|
-
</GridElements.GridItemFooter>
|
230
|
-
</GridElements.GridItem>
|
231
|
-
</GridList>
|
232
|
-
</Markup.ReactMarkupPreview>
|
233
|
-
<Markup.ReactMarkupCode>
|
234
|
-
{`
|
235
|
-
<GridList size="small" gap="medium" margin="1">
|
236
|
-
<GridElements.GridItem itemtype='photo' status={this.state.status} onClick={()=> false}>
|
237
|
-
<GridElements.GridItemCheckWrapper>
|
238
|
-
<Checkbox checked={this.state.selected} label={{text:''}} onChange={(value) => {
|
239
|
-
this.setState({selected: value});
|
240
|
-
this.changeStatus('selected');
|
241
|
-
}} />
|
242
|
-
</GridElements.GridItemCheckWrapper>
|
243
|
-
<GridElements.GridItemTopActions>
|
244
|
-
<IconButton icon='fullscreen' ariaValue='Fullscreen preview' onClick={()=> false} />
|
245
|
-
</GridElements.GridItemTopActions>
|
246
|
-
<GridElements.GridItemMedia>
|
247
|
-
<img src="/bill.jpg" alt="Bill" />
|
248
|
-
</GridElements.GridItemMedia>
|
249
|
-
<GridElements.GridItemContent>
|
250
|
-
<GridElements.GridItemTime time='10.11.2020' />
|
251
|
-
<GridElements.GridItemTitle>Item title nulla vitae elit libero, a pharetra augue</GridElements.GridItemTitle>
|
252
|
-
<GridElements.GridItemText>Item description cras mattis consectetur purus sit amet fermentum. Vivamus sagittis lacus vel augue laoreet...</GridElements.GridItemText>
|
253
|
-
</GridElements.GridItemContent>
|
254
|
-
<GridElements.GridItemFooter>
|
255
|
-
<GridElements.GridItemFooterBlock align='left'>
|
256
|
-
<Icon name='photo' className='sd-grid-item__type-icn' />
|
257
|
-
<Badge text='2' color='deep-orange--500' />
|
258
|
-
<Badge text='5' shape='square' color='blue-grey--300' />
|
259
|
-
</GridElements.GridItemFooterBlock>
|
260
|
-
<GridElements.GridItemFooterActions>
|
261
|
-
<IconButton icon='dots-vertical' ariaValue='Actions' onClick={()=> false} />
|
262
|
-
</GridElements.GridItemFooterActions>
|
263
|
-
</GridElements.GridItemFooter>
|
264
|
-
</GridElements.GridItem>
|
265
|
-
|
266
|
-
<GridElements.GridItem itemtype='audio' locked={true} fetched={true} onClick={()=> false}>
|
267
|
-
<GridElements.GridItemTopActions>
|
268
|
-
<IconButton icon='play' ariaValue='Play' onClick={()=> false} />
|
269
|
-
</GridElements.GridItemTopActions>
|
270
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
271
|
-
<GridElements.GridItemContent>
|
272
|
-
<GridElements.GridItemTime time='10.11.2020' />
|
273
|
-
<GridElements.GridItemTitle>Maecenas faucibus mollis interdum</GridElements.GridItemTitle>
|
274
|
-
<GridElements.GridItemText>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis...</GridElements.GridItemText>
|
275
|
-
</GridElements.GridItemContent>
|
276
|
-
<GridElements.GridItemFooter>
|
277
|
-
<GridElements.GridItemFooterBlock align='left'>
|
278
|
-
<Icon name='audio' className='sd-grid-item__type-icn' />
|
279
|
-
<Badge text='1' color='deep-orange--600' />
|
280
|
-
<Badge text='4' shape='square' color='blue-grey--500' />
|
281
|
-
</GridElements.GridItemFooterBlock>
|
282
|
-
<GridElements.GridItemFooterActions>
|
283
|
-
<IconButton icon='dots-vertical' ariaValue='Actions' onClick={()=> false} />
|
284
|
-
</GridElements.GridItemFooterActions>
|
285
|
-
</GridElements.GridItemFooter>
|
286
|
-
</GridElements.GridItem>
|
287
|
-
|
288
|
-
<GridElements.GridItem itemtype='photo'>
|
289
|
-
<GridElements.GridItemTopActions>
|
290
|
-
<IconButton icon='fullscreen' ariaValue='Fullscreen preview' onClick={()=> false} />
|
291
|
-
</GridElements.GridItemTopActions>
|
292
|
-
<GridElements.GridItemMedia>
|
293
|
-
<img src="/obama_2.jpg" alt="Barack" />
|
294
|
-
</GridElements.GridItemMedia>
|
295
|
-
<GridElements.GridItemContent>
|
296
|
-
<GridElements.GridItemTime time='10.11.2020' />
|
297
|
-
<GridElements.GridItemTitle>Fusce dapibus, tellus ac cursus commodo, tortor mauris</GridElements.GridItemTitle>
|
298
|
-
<GridElements.GridItemText>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Maecenas sed diam eget risus varius blandit sit amet non magna...</GridElements.GridItemText>
|
299
|
-
</GridElements.GridItemContent>
|
300
|
-
<GridElements.GridItemFooter>
|
301
|
-
<GridElements.GridItemFooterBlock align='left'>
|
302
|
-
<Icon name='photo' className='sd-grid-item__type-icn' />
|
303
|
-
<Badge text='3' color='orange--500' />
|
304
|
-
<Badge text='5' shape='square' color='blue-grey--300' />
|
305
|
-
</GridElements.GridItemFooterBlock>
|
306
|
-
<GridElements.GridItemFooterActions>
|
307
|
-
<IconButton icon='dots-vertical' ariaValue='Actions' onClick={()=> false} />
|
308
|
-
</GridElements.GridItemFooterActions>
|
309
|
-
</GridElements.GridItemFooter>
|
310
|
-
</GridElements.GridItem>
|
311
|
-
|
312
|
-
<GridElements.GridItem itemtype='photo' status={['actioning']}>
|
313
|
-
<GridElements.GridItemTopActions>
|
314
|
-
<IconButton icon='fullscreen' ariaValue='Fullscreen preview' onClick={()=> false} />
|
315
|
-
</GridElements.GridItemTopActions>
|
316
|
-
<GridElements.GridItemMedia>
|
317
|
-
<img src="/d_trump.jpg" alt="Ronmo" />
|
318
|
-
</GridElements.GridItemMedia>
|
319
|
-
<GridElements.GridItemContent>
|
320
|
-
<GridElements.GridItemTime time='10.11.2020' />
|
321
|
-
<GridElements.GridItemTitle>Sed posuere consectetur est at lobortis</GridElements.GridItemTitle>
|
322
|
-
<GridElements.GridItemText>Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis...</GridElements.GridItemText>
|
323
|
-
</GridElements.GridItemContent>
|
324
|
-
<GridElements.GridItemFooter>
|
325
|
-
<GridElements.GridItemFooterBlock align='left'>
|
326
|
-
<Icon name='photo' className='sd-grid-item__type-icn' />
|
327
|
-
<Badge text='3' color='orange--500' />
|
328
|
-
<Badge text='5' shape='square' color='blue-grey--300' />
|
329
|
-
</GridElements.GridItemFooterBlock>
|
330
|
-
<GridElements.GridItemFooterActions>
|
331
|
-
<IconButton icon='dots-vertical' ariaValue='Actions' onClick={()=> false} />
|
332
|
-
</GridElements.GridItemFooterActions>
|
333
|
-
</GridElements.GridItemFooter>
|
334
|
-
</GridElements.GridItem>
|
335
|
-
|
336
|
-
<GridElements.GridItem itemtype='slideshow' fetched={true} onClick={()=> false}>
|
337
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
338
|
-
<GridElements.GridItemContent>
|
339
|
-
<GridElements.GridItemTime time='10.11.2020' />
|
340
|
-
<GridElements.GridItemTitle>Nulla vitae elit libero, a pharetra augue</GridElements.GridItemTitle>
|
341
|
-
<GridElements.GridItemText>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec sed odio dui...</GridElements.GridItemText>
|
342
|
-
</GridElements.GridItemContent>
|
343
|
-
<GridElements.GridItemFooter>
|
344
|
-
<GridElements.GridItemFooterBlock align='left'>
|
345
|
-
<Icon name='slideshow' className='sd-grid-item__type-icn' />
|
346
|
-
<Badge text='1' color='deep-orange--600' />
|
347
|
-
<Badge text='5' shape='square' color='blue-grey--300' />
|
348
|
-
</GridElements.GridItemFooterBlock>
|
349
|
-
<GridElements.GridItemFooterActions>
|
350
|
-
<IconButton icon='dots-vertical' ariaValue='Actions' onClick={()=> false} />
|
351
|
-
</GridElements.GridItemFooterActions>
|
352
|
-
</GridElements.GridItemFooter>
|
353
|
-
</GridElements.GridItem>
|
354
|
-
|
355
|
-
</GridList>
|
356
|
-
`}
|
357
|
-
</Markup.ReactMarkupCode>
|
358
|
-
</Markup.ReactMarkup>
|
359
|
-
|
360
|
-
<h3 className="docs-page__h3 docs-page__h3--small-top-m">Minimal structure</h3>
|
361
|
-
<p className="docs-page__paragraph">
|
362
|
-
Mandatory structural sub-elements of the <code>GridItem</code> are <code>GridItemMedia</code> and{' '}
|
363
|
-
<code>GridItemContent</code>. The use of the <code>GridItemText</code> component is optional, any
|
364
|
-
appropriate and properly styled HTML element can be used instead.
|
365
|
-
</p>
|
366
|
-
|
367
|
-
<Markup.ReactMarkup>
|
368
|
-
<Markup.ReactMarkupPreview>
|
369
|
-
<GridList size="small" gap="medium" margin="1">
|
370
|
-
<GridElements.GridItem itemtype="photo" onClick={() => false}>
|
371
|
-
<GridElements.GridItemMedia>
|
372
|
-
<img src="/bill.jpg" alt="Bill" />
|
373
|
-
</GridElements.GridItemMedia>
|
374
|
-
<GridElements.GridItemContent>
|
375
|
-
<GridElements.GridItemText>
|
376
|
-
Item description cras mattis consectetur purus sit amet fermentum. Vivamus
|
377
|
-
sagittis lacus vel augue laoreet...
|
378
|
-
</GridElements.GridItemText>
|
379
|
-
</GridElements.GridItemContent>
|
380
|
-
</GridElements.GridItem>
|
381
|
-
|
382
|
-
<GridElements.GridItem itemtype="audio" locked={true} fetched={true} onClick={() => false}>
|
383
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
384
|
-
<GridElements.GridItemContent>
|
385
|
-
<GridElements.GridItemText>
|
386
|
-
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
|
387
|
-
Sed posuere consectetur est at lobortis...
|
388
|
-
</GridElements.GridItemText>
|
389
|
-
</GridElements.GridItemContent>
|
390
|
-
</GridElements.GridItem>
|
391
|
-
|
392
|
-
<GridElements.GridItem itemtype="composite" status={['activated']}>
|
393
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
394
|
-
<GridElements.GridItemContent>
|
395
|
-
<GridElements.GridItemText>
|
396
|
-
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Maecenas sed diam
|
397
|
-
eget risus varius blandit sit amet non magna...
|
398
|
-
</GridElements.GridItemText>
|
399
|
-
</GridElements.GridItemContent>
|
400
|
-
</GridElements.GridItem>
|
401
|
-
</GridList>
|
402
|
-
</Markup.ReactMarkupPreview>
|
403
|
-
<Markup.ReactMarkupCode>
|
404
|
-
{`
|
405
|
-
<GridList size="small" gap="medium" margin="1">
|
406
|
-
<GridElements.GridItem itemtype='photo' onClick={()=> false}>
|
407
|
-
<GridElements.GridItemMedia>
|
408
|
-
<img src="/bill.jpg" alt="Bill" />
|
409
|
-
</GridElements.GridItemMedia>
|
410
|
-
<GridElements.GridItemContent>
|
411
|
-
<GridElements.GridItemText>Item description cras mattis consectetur purus sit amet fermentum. Vivamus sagittis lacus vel augue laoreet...</GridElements.GridItemText>
|
412
|
-
</GridElements.GridItemContent>
|
413
|
-
</GridElements.GridItem>
|
414
|
-
|
415
|
-
<GridElements.GridItem itemtype='audio' locked={true} fetched={true} onClick={()=> false}>
|
416
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
417
|
-
<GridElements.GridItemContent>
|
418
|
-
<GridElements.GridItemText>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis...</GridElements.GridItemText>
|
419
|
-
</GridElements.GridItemContent>
|
420
|
-
</GridElements.GridItem>
|
421
|
-
|
422
|
-
<GridElements.GridItem itemtype='composite' status={['activated']}>
|
423
|
-
<GridElements.GridItemMedia></GridElements.GridItemMedia>
|
424
|
-
<GridElements.GridItemContent>
|
425
|
-
<GridElements.GridItemText>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Maecenas sed diam eget risus varius blandit sit amet non magna...</GridElements.GridItemText>
|
426
|
-
</GridElements.GridItemContent>
|
427
|
-
</GridElements.GridItem>
|
428
|
-
</GridList>
|
429
|
-
`}
|
430
|
-
</Markup.ReactMarkupCode>
|
431
|
-
</Markup.ReactMarkup>
|
432
|
-
|
433
|
-
<h3 className="docs-page__h3">GridItem Props</h3>
|
434
|
-
<PropsList>
|
435
|
-
<Prop
|
436
|
-
name="status"
|
437
|
-
isRequired={false}
|
438
|
-
type="actioning | selected | activated | string"
|
439
|
-
default="/"
|
440
|
-
description="Specifies the status of the item. Multiple values are possible."
|
441
|
-
/>
|
442
|
-
<Prop
|
443
|
-
name="itemtype"
|
444
|
-
isRequired={false}
|
445
|
-
type="audio | composite | file | graphic | photo | slideshow | text | video | string"
|
446
|
-
default="file"
|
447
|
-
description="Specifies the file type of the item."
|
448
|
-
/>
|
449
|
-
<Prop
|
450
|
-
name="fetched"
|
451
|
-
isRequired={false}
|
452
|
-
type="boolean"
|
453
|
-
default="false"
|
454
|
-
description="If set to true it will add a visual marker in the content area indicating that the item was fetched."
|
455
|
-
/>
|
456
|
-
<Prop
|
457
|
-
name="locked"
|
458
|
-
isRequired={false}
|
459
|
-
type="boolean"
|
460
|
-
default="false"
|
461
|
-
description="Visual indication if the item is locked (red border at the bottom)."
|
462
|
-
/>
|
463
|
-
<Prop
|
464
|
-
name="onClick"
|
465
|
-
isRequired={false}
|
466
|
-
type="function"
|
467
|
-
default="false"
|
468
|
-
description="Callback fired when when the item is pressed. Should be added only if there is a click action on the whole item. Adds pointer cursor and hover action to the item if present."
|
469
|
-
/>
|
470
|
-
</PropsList>
|
471
|
-
|
472
|
-
<h3 className="docs-page__h3">GridItemFooterBlock Props</h3>
|
473
|
-
<PropsList>
|
474
|
-
<Prop
|
475
|
-
name="align"
|
476
|
-
isRequired={false}
|
477
|
-
type="left | right"
|
478
|
-
default="left"
|
479
|
-
description="Sets the alignment of items inside the footer. Must be placed inside the GridItemFooter component."
|
480
|
-
/>
|
481
|
-
</PropsList>
|
482
|
-
|
483
|
-
<h3 className="docs-page__h3">GridItemFooterActions Props</h3>
|
484
|
-
<PropsList>
|
485
|
-
<Prop
|
486
|
-
name="autohide"
|
487
|
-
isRequired={false}
|
488
|
-
type="boolean"
|
489
|
-
default="true"
|
490
|
-
description="Action buttons in the footer are by default hidden and revealed only when the cursor hovers the item. Set to false to make the action buttons always visible."
|
491
|
-
/>
|
492
|
-
</PropsList>
|
493
|
-
|
494
|
-
<h3 className="docs-page__h3">GridItemTime Props</h3>
|
495
|
-
<PropsList>
|
496
|
-
<Prop
|
497
|
-
name="time"
|
498
|
-
isRequired={true}
|
499
|
-
type="sring"
|
500
|
-
default="/"
|
501
|
-
description="Sets the value of the time component."
|
502
|
-
/>
|
503
|
-
</PropsList>
|
504
|
-
</section>
|
505
|
-
);
|
506
|
-
}
|
507
|
-
}
|
@@ -1,126 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
import {GridList, Prop, PropsList} from '../../../app-typescript';
|
4
|
-
|
5
|
-
export default class GridListDoc extends React.Component {
|
6
|
-
render() {
|
7
|
-
return (
|
8
|
-
<section className="docs-page__container">
|
9
|
-
<h2 className="docs-page__h2">GridList</h2>
|
10
|
-
|
11
|
-
<Markup.ReactMarkupCodePreview>
|
12
|
-
{`
|
13
|
-
<GridList size="small" gap="medium" margin="1">
|
14
|
-
...
|
15
|
-
</GridList>
|
16
|
-
`}
|
17
|
-
</Markup.ReactMarkupCodePreview>
|
18
|
-
|
19
|
-
<p className="docs-page__paragraph">
|
20
|
-
Grid list component implemented with CSS grid. The list is responsive by default, no additional
|
21
|
-
media query is needed. Any container item can be placed inside the grid list but it's ideally
|
22
|
-
combined with the GridItem.
|
23
|
-
</p>
|
24
|
-
|
25
|
-
<Markup.ReactMarkup>
|
26
|
-
<Markup.ReactMarkupPreview>
|
27
|
-
<p className="docs-page__paragraph">// default (small)</p>
|
28
|
-
<GridList size="small" gap="medium" margin="1">
|
29
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
30
|
-
<p>Item 1</p>
|
31
|
-
</div>
|
32
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
33
|
-
<p>Item 2</p>
|
34
|
-
</div>
|
35
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
36
|
-
<p>Item 3</p>
|
37
|
-
</div>
|
38
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
39
|
-
<p>Item 4</p>
|
40
|
-
</div>
|
41
|
-
</GridList>
|
42
|
-
<p className="docs-page__paragraph">// extra small (x-small)</p>
|
43
|
-
<GridList size="x-small" gap="small" margin="1">
|
44
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
45
|
-
<p>Item 1</p>
|
46
|
-
</div>
|
47
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
48
|
-
<p>Item 2</p>
|
49
|
-
</div>
|
50
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
51
|
-
<p>Item 3</p>
|
52
|
-
</div>
|
53
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
54
|
-
<p>Item 4</p>
|
55
|
-
</div>
|
56
|
-
</GridList>
|
57
|
-
<p className="docs-page__paragraph">// large</p>
|
58
|
-
<GridList size="large" gap="medium" margin="1">
|
59
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
60
|
-
<p>Item 1</p>
|
61
|
-
</div>
|
62
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
63
|
-
<p>Item 2</p>
|
64
|
-
</div>
|
65
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
66
|
-
<p>Item 3</p>
|
67
|
-
</div>
|
68
|
-
<div className="docs-page__example-box sd-shadow--z2">
|
69
|
-
<p>Item 4</p>
|
70
|
-
</div>
|
71
|
-
</GridList>
|
72
|
-
</Markup.ReactMarkupPreview>
|
73
|
-
<Markup.ReactMarkupCode>
|
74
|
-
{`
|
75
|
-
// default (small)
|
76
|
-
<GridList size="small" gap="medium" margin="1">
|
77
|
-
Item 1
|
78
|
-
Item 2
|
79
|
-
...
|
80
|
-
</GridList>
|
81
|
-
|
82
|
-
// extra small (x-small)
|
83
|
-
<GridList size="x-small" gap="small" margin="1">
|
84
|
-
Item 1
|
85
|
-
Item 2
|
86
|
-
...
|
87
|
-
</GridList>
|
88
|
-
|
89
|
-
// large
|
90
|
-
<GridList size="large" gap="medium" margin="1">
|
91
|
-
Item 1
|
92
|
-
Item 2
|
93
|
-
...
|
94
|
-
</GridList>
|
95
|
-
`}
|
96
|
-
</Markup.ReactMarkupCode>
|
97
|
-
</Markup.ReactMarkup>
|
98
|
-
|
99
|
-
<h3 className="docs-page__h3">Props</h3>
|
100
|
-
<PropsList>
|
101
|
-
<Prop
|
102
|
-
name="size"
|
103
|
-
isRequired={false}
|
104
|
-
type="x-small | small | medium | large"
|
105
|
-
default="small"
|
106
|
-
description="Specifies the size of the items in the grid. "
|
107
|
-
/>
|
108
|
-
<Prop
|
109
|
-
name="gap"
|
110
|
-
isRequired={false}
|
111
|
-
type="small | medium | large | x-large"
|
112
|
-
default="small"
|
113
|
-
description="Defines the gap between the items inside the Grid list. "
|
114
|
-
/>
|
115
|
-
<Prop
|
116
|
-
name="margin"
|
117
|
-
isRequired={false}
|
118
|
-
type="0 | 1 | 2 | 3"
|
119
|
-
default="3"
|
120
|
-
description="Defines the margin around the Grid list. The values are based on multipliers of the the $sd-base-increment (equal to 8px). Setting the value to 3 results in a margin of 24px."
|
121
|
-
/>
|
122
|
-
</PropsList>
|
123
|
-
</section>
|
124
|
-
);
|
125
|
-
}
|
126
|
-
}
|