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,233 +0,0 @@
|
|
1
|
-
<section class="docs-page__container">
|
2
|
-
<h2 class="docs-page__h2">Inputs</h2>
|
3
|
-
<p class="docs-page__paragraph">Line inputs are based on Material design style inputs. They include useful elements like hint text <code>.sd-line-input__hint</code>, error messages <code>.sd-line-input__message</code> and character count <code>.sd-line-input__char-count</code>.</p>
|
4
|
-
<div class="docs-page__code-window" doc-tabs>
|
5
|
-
<div class="docs-page__window-bar">
|
6
|
-
<a id="example" href="#" class="active">Example</a>
|
7
|
-
<a id="markup" href="#">Markup</a>
|
8
|
-
</div>
|
9
|
-
<div class="docs-page__window-content">
|
10
|
-
<div class="docs-page__code-example">
|
11
|
-
<p class="docs-page__paragraph">// Input with hint text and character count</p>
|
12
|
-
<div class="form__row">
|
13
|
-
<div class="sd-line-input">
|
14
|
-
<label class="sd-line-input__label">Headline</label>
|
15
|
-
<input class="sd-line-input__input" type="text">
|
16
|
-
<div class="sd-line-input__char-count">00/90</div>
|
17
|
-
<span class="sd-line-input__hint">This is a hint text. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.</span>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Required input field</p>
|
21
|
-
<div class="form__row">
|
22
|
-
<div class="sd-line-input sd-line-input--required">
|
23
|
-
<label class="sd-line-input__label">Description</label>
|
24
|
-
<input class="sd-line-input__input" type="text">
|
25
|
-
<div class="sd-line-input__hint">Hendrerit in vulputate velit esse molestie consequat.</div>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Input with error message</p>
|
29
|
-
<div class="form__row">
|
30
|
-
<div class="sd-line-input sd-line-input--invalid sd-line-input--required">
|
31
|
-
<label class="sd-line-input__label">Description</label>
|
32
|
-
<input class="sd-line-input__input" type="text">
|
33
|
-
<div class="sd-line-input__message">This field is required.</div>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Disabled input</p>
|
37
|
-
<div class="form__row">
|
38
|
-
<div class="sd-line-input sd-line-input--disabled">
|
39
|
-
<label class="sd-line-input__label">Disabled input</label>
|
40
|
-
<input class="sd-line-input__input" type="text" disabled>
|
41
|
-
<div class="sd-line-input__message">This field is disabled.</div>
|
42
|
-
</div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Input with no dedicated space for the hint text at the bottom</p>
|
46
|
-
<div class="form__row">
|
47
|
-
<div class="sd-line-input sd-line-input--no-margin">
|
48
|
-
<label class="sd-line-input__label">No margin below</label>
|
49
|
-
<input class="sd-line-input__input" type="text">
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// File input</p>
|
54
|
-
<div class="form__row">
|
55
|
-
<div class="sd-line-input">
|
56
|
-
<label class="sd-line-input__label">File input</label>
|
57
|
-
<input class="sd-line-input__input" type="file">
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
|
61
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Color input</p>
|
62
|
-
<div class="form__row" style="max-width: 100px;">
|
63
|
-
<div class="sd-line-input sd-line-input--is-color">
|
64
|
-
<label class="sd-line-input__label">Color input</label>
|
65
|
-
<div class="sd-line-input--flex-row">
|
66
|
-
<div class="sd-line-input__value">{{test}}</div>
|
67
|
-
<input class="sd-line-input__color" type="color" value="#5eadc8" ng-init="test='#5eadc8'" ng-model="test">
|
68
|
-
</div>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
<p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Alternative styling</p>
|
73
|
-
<p class="docs-page__paragraph docs-page__paragraph--small">An alternative styling for input fields is available in cases where the whole filed needs to be visible. The style is applied by appending <code>.sd-line-input--boxed</code> to the default classes.</p>
|
74
|
-
<div class="form__row">
|
75
|
-
<div class="sd-line-input sd-line-input--boxed">
|
76
|
-
<label class="sd-line-input__label">Description</label>
|
77
|
-
<input class="sd-line-input__input" type="text">
|
78
|
-
<div class="sd-line-input__hint">Vulputate velit esse molestie consequat.</div>
|
79
|
-
</div>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
<div class="form__row">
|
83
|
-
<div class="sd-line-input sd-line-input--boxed sd-line-input--disabled">
|
84
|
-
<label class="sd-line-input__label">Disabled</label>
|
85
|
-
<input class="sd-line-input__input" type="text" disabled>
|
86
|
-
<div class="sd-line-input__hint">This field is disabled.</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
<div class="docs-page__code-markup">
|
91
|
-
<pre class="prettyprint lang-html linenums">
|
92
|
-
<!--Input with hint text and character count.-->
|
93
|
-
<div class="sd-line-input">
|
94
|
-
<label class="sd-line-input__label">Headline</label>
|
95
|
-
<input class="sd-line-input__input" type="text">
|
96
|
-
<div class="sd-line-input__char-count">00/90</div>
|
97
|
-
<span class="sd-line-input__hint">This is a hint text. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.</span>
|
98
|
-
</div>
|
99
|
-
<!--Required input field-->
|
100
|
-
<div class="sd-line-input sd-line-input--required">
|
101
|
-
<label class="sd-line-input__label">Description</label>
|
102
|
-
<input class="sd-line-input__input" type="text">
|
103
|
-
<div class="sd-line-input__hint">Hendrerit in vulputate velit esse molestie consequat.</div>
|
104
|
-
</div>
|
105
|
-
<!--Input with error message.-->
|
106
|
-
<div class="sd-line-input sd-line-input--invalid">
|
107
|
-
<label class="sd-line-input__label">Description</label>
|
108
|
-
<input class="sd-line-input__input" type="text">
|
109
|
-
<div class="sd-line-input__message">This field is required.</div>
|
110
|
-
</div>
|
111
|
-
<div class="sd-line-input sd-line-input--disabled">
|
112
|
-
<label class="sd-line-input__label">Disabled input</label>
|
113
|
-
<input class="sd-line-input__input" type="text" disabled>
|
114
|
-
<div class="sd-line-input__message">This field is disabled.</div>
|
115
|
-
</div>
|
116
|
-
<!-- Input with no dedicated space for the hint text at the bottom -->
|
117
|
-
<div class="form__row">
|
118
|
-
<div class="sd-line-input sd-line-input--no-margin">
|
119
|
-
<label class="sd-line-input__label">No margin below</label>
|
120
|
-
<input class="sd-line-input__input" type="text">
|
121
|
-
</div>
|
122
|
-
</div>
|
123
|
-
<!-- Color input -->
|
124
|
-
<div class="form__row">
|
125
|
-
<div class="sd-line-input sd-line-input--is-color">
|
126
|
-
<label class="sd-line-input__label">Color input</label>
|
127
|
-
<div class="sd-line-input--flex-row">
|
128
|
-
<div class="sd-line-input__value">{{test}}</div>
|
129
|
-
<input class="sd-line-input__color" type="color" value="#5eadc8" ng-init="test='#5eadc8'" ng-model="test">
|
130
|
-
</div>
|
131
|
-
</div>
|
132
|
-
</div>
|
133
|
-
<!--Alternative styling-->
|
134
|
-
<!--in cases where the whole filed needs to be visible.-->
|
135
|
-
<div class="sd-line-input sd-line-input--boxed">
|
136
|
-
<label class="sd-line-input__label">Description</label>
|
137
|
-
<input class="sd-line-input__input" type="text">
|
138
|
-
<div class="sd-line-input__hint">Vulputate velit esse molestie consequat.</div>
|
139
|
-
</div>
|
140
|
-
<div class="sd-line-input sd-line-input--boxed sd-line-input--disabled">
|
141
|
-
<label class="sd-line-input__label">Disabled</label>
|
142
|
-
<input class="sd-line-input__input" type="text" disabled>
|
143
|
-
<div class="sd-line-input__hint">This field is disabled.</div>
|
144
|
-
</div>
|
145
|
-
</pre>
|
146
|
-
</div>
|
147
|
-
</div>
|
148
|
-
</div>
|
149
|
-
|
150
|
-
<h3 class="docs-page__h3">Input with label on the left</h3>
|
151
|
-
<p class="docs-page__paragraph">Athough displaying labels above the input is the desired option in Superdesk, in some cases this is not optimal. In those cases it is posible to displaying the label at the same line as the input, on the left, by adding modifier classes. Two options are available: <code>.sd-line-input--label-left</code>,
|
152
|
-
with a predefined minimal width for the label, and <code>.sd-line-input--label-left-auto</code> with no predifined label width.</p>
|
153
|
-
|
154
|
-
<div class="docs-page__code-window" doc-tabs>
|
155
|
-
<div class="docs-page__window-bar">
|
156
|
-
<a id="example" href="#" class="active">Example</a>
|
157
|
-
<a id="markup" href="#">Markup</a>
|
158
|
-
</div>
|
159
|
-
<div class="docs-page__window-content">
|
160
|
-
<div class="docs-page__code-example">
|
161
|
-
<p class="docs-page__paragraph">// Predefined label width</p>
|
162
|
-
<p class="docs-page__paragraph docs-page__paragraph--small"><strong>Usage:</strong> stacked inputs where space is limited (use form__row as a container if extra space between rows is neede).</p>
|
163
|
-
<div class="sd-line-input sd-line-input--label-left">
|
164
|
-
<label class="sd-line-input__label">Label one</label>
|
165
|
-
<input class="sd-line-input__input" type="text">
|
166
|
-
<div class="sd-line-input__char-count">00/90</div>
|
167
|
-
<span class="sd-line-input__hint">This is a hint text. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.</span>
|
168
|
-
</div>
|
169
|
-
<div class="sd-line-input sd-line-input--label-left">
|
170
|
-
<label class="sd-line-input__label">Label two</label>
|
171
|
-
<input class="sd-line-input__input" type="text">
|
172
|
-
<span class="sd-line-input__hint">Hint text. Dolor in hendrerit in vulputate velit esse molestie consequat.</span>
|
173
|
-
</div>
|
174
|
-
<p class="docs-page__paragraph">// No predefined label width</p>
|
175
|
-
<p class="docs-page__paragraph docs-page__paragraph--small"><strong>Usage:</strong> single input fields e.g. in subnavigation bars and similar.</p>
|
176
|
-
<div class="sd-line-input sd-line-input--label-left-auto">
|
177
|
-
<label class="sd-line-input__label">Label</label>
|
178
|
-
<input class="sd-line-input__input" type="text">
|
179
|
-
</div>
|
180
|
-
</div>
|
181
|
-
<div class="docs-page__code-markup">
|
182
|
-
<pre class="prettyprint lang-html linenums">
|
183
|
-
<!--Predefined label width-->
|
184
|
-
<div class="sd-line-input sd-line-input--label-left">
|
185
|
-
<label class="sd-line-input__label">Label one</label>
|
186
|
-
<input class="sd-line-input__input" type="text">
|
187
|
-
<div class="sd-line-input__char-count">00/90</div>
|
188
|
-
<span class="sd-line-input__hint">This is a hint text. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.</span>
|
189
|
-
</div>
|
190
|
-
<div class="sd-line-input sd-line-input--label-left">
|
191
|
-
<label class="sd-line-input__label">Label two</label>
|
192
|
-
<input class="sd-line-input__input" type="text">
|
193
|
-
<span class="sd-line-input__hint">Hint text. Dolor in hendrerit in vulputate velit esse molestie consequat.</span>
|
194
|
-
</div>
|
195
|
-
<!--No predefined label width-->
|
196
|
-
<div class="sd-line-input sd-line-input--label-left-auto">
|
197
|
-
<label class="sd-line-input__label">Label</label>
|
198
|
-
<input class="sd-line-input__input" type="text">
|
199
|
-
</div>
|
200
|
-
</pre>
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
</div>
|
204
|
-
|
205
|
-
<h3 class="docs-page__h3">Other modifiers</h3>
|
206
|
-
|
207
|
-
<ul>
|
208
|
-
<li>
|
209
|
-
<p class="docs-page__paragraph">
|
210
|
-
<code>.sd-line-input--no-label</code><br>
|
211
|
-
Removes the top padding reserved for the label. Use in case there is no label needed.
|
212
|
-
</p>
|
213
|
-
</li>
|
214
|
-
<li>
|
215
|
-
<p class="docs-page__paragraph">
|
216
|
-
<code>.sd-line-input--no-margin</code><br>
|
217
|
-
Removes the bottom margin where otherwise the hint text apears.
|
218
|
-
</p>
|
219
|
-
</li>
|
220
|
-
<li>
|
221
|
-
<p class="docs-page__paragraph">
|
222
|
-
<code>.sd-line-input--with-button</code><br>
|
223
|
-
Adds space before the input for the [+] <code>.sd-line-input__plus-btn</code> button.
|
224
|
-
</p>
|
225
|
-
</li>
|
226
|
-
<li>
|
227
|
-
<p class="docs-page__paragraph">
|
228
|
-
<code>.sd-line-input--with-button</code><br>
|
229
|
-
Adds space before the input for the [+] button.
|
230
|
-
</p>
|
231
|
-
</li>
|
232
|
-
</ul>
|
233
|
-
</section>
|
@@ -1,170 +0,0 @@
|
|
1
|
-
<section class="docs-page__container">
|
2
|
-
<h2 class="docs-page__h2">Labels</h2>
|
3
|
-
<p class="docs-page__paragraph">Labels are inline styles that can be dropped into body text. For example, labels are used to show the state of items in Superdesk.</p>
|
4
|
-
<h3 class="docs-page__h3">Sizing</h3>
|
5
|
-
<div class="docs-page__code-window" doc-tabs>
|
6
|
-
<div class="docs-page__window-bar">
|
7
|
-
<a id="example" href="#" class="active">Example</a>
|
8
|
-
<a id="markup" href="#">Markup</a>
|
9
|
-
</div>
|
10
|
-
<div class="docs-page__window-content">
|
11
|
-
<div class="docs-page__code-example">
|
12
|
-
<div class="docs-page__content-row">
|
13
|
-
<span class="label">default label</span>
|
14
|
-
<span class="label label--large">large label</span>
|
15
|
-
</div>
|
16
|
-
<p class="docs-page__paragraph">// No text transformation</p>
|
17
|
-
<p style="margin: -10px 0 20px; color: #747474;">This version should be used only in combination with <code>label--large</code></p>
|
18
|
-
<div class="docs-page__content-row">
|
19
|
-
<span class="label label--large label--no-transform label--primary">No text transform here</span>
|
20
|
-
<span class="label label--large label--no-transform label--success">No text transform</span>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
<div class="docs-page__code-markup">
|
24
|
-
<pre class="prettyprint lang-html linenums">
|
25
|
-
<span class="label">default label</span>
|
26
|
-
<span class="label label--large">large label</span>
|
27
|
-
<!-- No text transformation -->
|
28
|
-
<span class="label label--large label--no-transform label--primary">No text transform here</span>
|
29
|
-
<span class="label label--large label--no-transform label--success">No text transform</span>
|
30
|
-
</pre>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<h3 class="docs-page__h3">Coloring</h3>
|
36
|
-
<p class="docs-page__paragraph">By default labels have a wider color palette than buttons and badges.</p>
|
37
|
-
|
38
|
-
<div class="docs-page__code-window" doc-tabs>
|
39
|
-
<div class="docs-page__window-bar">
|
40
|
-
<a id="example" href="#" class="active">Example</a>
|
41
|
-
<a id="markup" href="#">Markup</a>
|
42
|
-
</div>
|
43
|
-
<div class="docs-page__window-content">
|
44
|
-
<div class="docs-page__code-example">
|
45
|
-
<div class="docs-page__content-row">
|
46
|
-
<span class="label">default label</span>
|
47
|
-
<span class="label label--primary">primary label</span>
|
48
|
-
<span class="label label--success">success label</span>
|
49
|
-
<span class="label label--yellow2">Color label</span>
|
50
|
-
<span class="label label--warning">warning label</span>
|
51
|
-
<span class="label label--orange2">Color label</span>
|
52
|
-
<span class="label label--alert">alert label</span>
|
53
|
-
<span class="label label--red2">Color label</span>
|
54
|
-
<span class="label label--highlight">highlight label</span>
|
55
|
-
<span class="label label--highlight2">Color label</span>
|
56
|
-
<span class="label label--highlight3">Color label</span>
|
57
|
-
<span class="label label--highlight4">Color label</span>
|
58
|
-
<span class="label label--darkBlue2">Color label</span>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
<div class="docs-page__code-markup">
|
62
|
-
<pre class="prettyprint lang-html linenums">
|
63
|
-
<span class="label">default label</span>
|
64
|
-
<span class="label label--primary">primary label</span>
|
65
|
-
<span class="label label--success">success label</span>
|
66
|
-
<span class="label label--yellow2">Color label</span>
|
67
|
-
<span class="label label--warning">warning label</span>
|
68
|
-
<span class="label label--orange2">Color label</span>
|
69
|
-
<span class="label label--alert">alert label</span>
|
70
|
-
<span class="label label--red2">Color label</span>
|
71
|
-
<span class="label label--highlight">highlight label</span>
|
72
|
-
<span class="label label--highlight2">Color label</span>
|
73
|
-
<span class="label label--highlight3">Color label</span>
|
74
|
-
<span class="label label--highlight4">Color label</span>
|
75
|
-
<span class="label label--darkBlue2">Color label</span>
|
76
|
-
</pre>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
<h3 class="docs-page__h3">Hollow style</h3>
|
81
|
-
<div class="docs-page__code-window" doc-tabs>
|
82
|
-
<div class="docs-page__window-bar">
|
83
|
-
<a id="example" href="#" class="active">Example</a>
|
84
|
-
<a id="markup" href="#">Markup</a>
|
85
|
-
</div>
|
86
|
-
<div class="docs-page__window-content">
|
87
|
-
<div class="docs-page__code-example">
|
88
|
-
<div class="docs-page__content-row">
|
89
|
-
<span class="label label--hollow">default label</span>
|
90
|
-
<span class="label label--primary label--hollow">primary label</span>
|
91
|
-
<span class="label label--success label--hollow">success label</span>
|
92
|
-
<span class="label label--yellow2 label--hollow">Color label</span>
|
93
|
-
<span class="label label--warning label--hollow">warning label</span>
|
94
|
-
<span class="label label--orange2 label--hollow">Color label</span>
|
95
|
-
<span class="label label--alert label--hollow">alert label</span>
|
96
|
-
<span class="label label--red2 label--hollow">Color label</span>
|
97
|
-
<span class="label label--highlight label--hollow">highlight label</span>
|
98
|
-
<span class="label label--highlight2 label--hollow">Color label</span>
|
99
|
-
<span class="label label--highlight3 label--hollow">Color label</span>
|
100
|
-
<span class="label label--highlight4 label--hollow">Color label</span>
|
101
|
-
<span class="label label--darkBlue2 label--hollow">Color label</span>
|
102
|
-
</div>
|
103
|
-
<div class="docs-page__content-row">
|
104
|
-
<span class="label label--hollow label--large">Hollow large</span>
|
105
|
-
<span class="label label--primary label--hollow label--large">Hollow large</span>
|
106
|
-
<span class="label label--highlight2 label--hollow label--large label--no-transform">Hollow, large & no text transformation</span>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
<div class="docs-page__code-markup">
|
110
|
-
<pre class="prettyprint lang-html linenums">
|
111
|
-
<span class="label label--hollow">default label</span>
|
112
|
-
<span class="label label--primary label--hollow">primary label</span>
|
113
|
-
<span class="label label--success label--hollow">success label</span>
|
114
|
-
<span class="label label--yellow2 label--hollow">Color label</span>
|
115
|
-
<span class="label label--warning label--hollow">warning label</span>
|
116
|
-
<span class="label label--orange2 label--hollow">Color label</span>
|
117
|
-
<span class="label label--alert label--hollow">alert label</span>
|
118
|
-
<span class="label label--red2 label--hollow">Color label</span>
|
119
|
-
<span class="label label--highlight label--hollow">highlight label</span>
|
120
|
-
<span class="label label--highlight2 label--hollow">Color label</span>
|
121
|
-
<span class="label label--highlight3 label--hollow">Color label</span>
|
122
|
-
<span class="label label--highlight4 label--hollow">Color label</span>
|
123
|
-
<span class="label label--darkBlue2 label--hollow">Color label</span>
|
124
|
-
<!-- Large and Hollow -->
|
125
|
-
<span class="label label--hollow label--large">Hollow large</span>
|
126
|
-
<span class="label label--primary label--hollow label--large">Hollow large</span>
|
127
|
-
<span class="label label--highlight2 label--hollow label--large label--no-transform">Hollow, large & no text transformation</span>
|
128
|
-
</pre>
|
129
|
-
</div>
|
130
|
-
</div>
|
131
|
-
</div>
|
132
|
-
<h3 class="docs-page__h3">Link label</h3>
|
133
|
-
<p class="docs-page__paragraph">Should be used only in specific case, like in line with other regular labels inside the list item. Otherwise using regular buttons is preferred.</p>
|
134
|
-
<div class="docs-page__code-window" doc-tabs>
|
135
|
-
<div class="docs-page__window-bar">
|
136
|
-
<a id="example" href="#" class="active">Example</a>
|
137
|
-
<a id="markup" href="#">Markup</a>
|
138
|
-
</div>
|
139
|
-
<div class="docs-page__window-content">
|
140
|
-
<div class="docs-page__code-example">
|
141
|
-
<div class="docs-page__content-row">
|
142
|
-
<a href="#" class="label">default label</a>
|
143
|
-
<a href="#" class="label label--primary">primary label</a>
|
144
|
-
<a href="#" class="label label--success">success label</a>
|
145
|
-
<a href="#" class="label label--alert">alert label</a>
|
146
|
-
</div>
|
147
|
-
<div class="docs-page__content-row">
|
148
|
-
<a href="#" class="label label--hollow">default label</a>
|
149
|
-
<a href="#" class="label label--primary label--hollow">primary label</a>
|
150
|
-
<a href="#" class="label label--success label--hollow">success label</a>
|
151
|
-
<a href="#" class="label label--alert label--hollow">alert label</a>
|
152
|
-
</div>
|
153
|
-
</div>
|
154
|
-
<div class="docs-page__code-markup">
|
155
|
-
<pre class="prettyprint lang-html linenums">
|
156
|
-
<a href="#" class="label">default label</a>
|
157
|
-
<a href="#" class="label label--primary">primary label</a>
|
158
|
-
<a href="#" class="label label--success">success label</a>
|
159
|
-
<a href="#" class="label label--alert">alert label</a>
|
160
|
-
...
|
161
|
-
<!-- Hollow -->
|
162
|
-
<a href="#" class="label label--hollow">default label</a>
|
163
|
-
<a href="#" class="label label--primary label--hollow">primary label</a>
|
164
|
-
<a href="#" class="label label--success label--hollow">success label</a>
|
165
|
-
<a href="#" class="label label--alert label--hollow">alert label</a>
|
166
|
-
</pre>
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
</div>
|
170
|
-
</section>
|
@@ -1,227 +0,0 @@
|
|
1
|
-
<section class="docs-page__container">
|
2
|
-
<h2 class="docs-page__h2">Layout grid</h2>
|
3
|
-
<p class="docs-page__paragraph">Layout grid in Superdesk is based on flex grid and works very similarly to the standard float grid. It has 12 columns setup, and column gutter of 10px so that the space between two columns is always 20px.</p>
|
4
|
-
<p class="docs-page__paragraph">If there is a need to have layout grid inside an element which already has default padding (like modal body for instance), just add modifier <code>.grid--padding-fix</code> to div <code>.grid</code>.</p>
|
5
|
-
<h3 class="docs-page__h3">Default Layout grid (not responsive)</h3>
|
6
|
-
<p class="docs-page__paragraph">Add grid container with class <code>.grid</code>, and nest grid items inside. For example, grid item will be <code>.grid__item</code> with additional modifier class <code>.grid__item--col-3</code>, so number of columns is set as a modifier on a grid item div. To have a full row width, sum of items columns should be 12.</p>
|
7
|
-
<div class="docs-page__code-window" doc-tabs>
|
8
|
-
<div class="docs-page__window-bar">
|
9
|
-
<a id="example" href="#" class="active">Example</a>
|
10
|
-
<a id="markup" href="#">Markup</a>
|
11
|
-
</div>
|
12
|
-
<div class="docs-page__window-content">
|
13
|
-
<div class="docs-page__code-example">
|
14
|
-
<div class="docs-page__content-row">
|
15
|
-
<div class="grid">
|
16
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
17
|
-
<div class="grid__item grid__item--col-6">col-6</div>
|
18
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
<div class="docs-page__content-row">
|
22
|
-
<div class="grid">
|
23
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
24
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
25
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
26
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
<div class="docs-page__content-row">
|
30
|
-
<div class="grid">
|
31
|
-
<div class="grid__item grid__item--col-2">col-2</div>
|
32
|
-
<div class="grid__item grid__item--col-8">col-8</div>
|
33
|
-
<div class="grid__item grid__item--col-2">col-2</div>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
<div class="docs-page__content-row">
|
37
|
-
<div class="grid">
|
38
|
-
<div class="grid__item grid__item--col-6">col-6</div>
|
39
|
-
<div class="grid__item grid__item--col-6">col-6</div>
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
<div class="docs-page__content-row">
|
43
|
-
<div class="grid">
|
44
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
45
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
46
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
<div class="docs-page__code-markup">
|
51
|
-
<pre class="prettyprint lang-html linenums">
|
52
|
-
<div class="grid">
|
53
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
54
|
-
<div class="grid__item grid__item--col-6">col-6</div>
|
55
|
-
<div class="grid__item grid__item--col-3">col-3</div>
|
56
|
-
</div>
|
57
|
-
</pre>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<h4 class="docs-page__h4">Nested grid</h4>
|
63
|
-
<p class="docs-page__paragraph">To have layout grid inside another one, just add whole <code>.grid</code> structure to <code>.grid__item</code> div.</p>
|
64
|
-
<div class="docs-page__code-window" doc-tabs>
|
65
|
-
<div class="docs-page__window-bar">
|
66
|
-
<a id="example" href="#" class="active">Example</a>
|
67
|
-
<a id="markup" href="#">Markup</a>
|
68
|
-
</div>
|
69
|
-
<div class="docs-page__window-content">
|
70
|
-
<div class="docs-page__code-example">
|
71
|
-
<div class="docs-page__content-row">
|
72
|
-
<div class="grid">
|
73
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
74
|
-
<div class="grid__item grid__item--col-4">
|
75
|
-
<div class="grid">
|
76
|
-
<div class="grid__item grid__item--col-6">col-6 (nested)</div>
|
77
|
-
<div class="grid__item grid__item--col-6">col-6 (nested)</div>
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
81
|
-
</div>
|
82
|
-
</div>
|
83
|
-
</div>
|
84
|
-
<div class="docs-page__code-markup">
|
85
|
-
<pre class="prettyprint lang-html linenums">
|
86
|
-
<div class="grid">
|
87
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
88
|
-
<div class="grid__item grid__item--col-4">
|
89
|
-
<div class="grid">
|
90
|
-
<div class="grid__item grid__item--col-6">col-6 (nested)</div>
|
91
|
-
<div class="grid__item grid__item--col-6">col-6 (nested)</div>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
<div class="grid__item grid__item--col-4">col-4</div>
|
95
|
-
</div>
|
96
|
-
</pre>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
|
101
|
-
<h3 class="docs-page__h3">Responsive Layout grid</h3>
|
102
|
-
<p class="docs-page__paragraph">Responsive Layout grid is based on 12 columns and 6 breakpoints which define media queries. We use 'mobile first' approach which assumes 'min-width' as a parameter for calculation. To make it work, add a class for particular breakpoint on grid__item div block.</p>
|
103
|
-
<p class="docs-page__paragraph">Example class: <code>grid__item gi-xsmall-12 gi-small-6 gi-medium-4 gi-large-3 gi-xlarge-2 gi-xxlarge-1</code></p>
|
104
|
-
<p class="docs-page__paragraph">Available breakpoints:</p>
|
105
|
-
<table class="sd-table" style="width:300px; margin-bottom:30px;">
|
106
|
-
<thead>
|
107
|
-
<tr>
|
108
|
-
<th>name</th>
|
109
|
-
<th>value</th>
|
110
|
-
</tr>
|
111
|
-
</thead>
|
112
|
-
<tbody>
|
113
|
-
<tr>
|
114
|
-
<td>xsmall</td>
|
115
|
-
<td>≥ 0</td>
|
116
|
-
</tr>
|
117
|
-
<tr>
|
118
|
-
<td>small</td>
|
119
|
-
<td>≥ 640px</td>
|
120
|
-
</tr>
|
121
|
-
<tr>
|
122
|
-
<td>medium</td>
|
123
|
-
<td>≥ 960px</td>
|
124
|
-
</tr>
|
125
|
-
<tr>
|
126
|
-
<td>large</td>
|
127
|
-
<td>≥ 1024px</td>
|
128
|
-
</tr>
|
129
|
-
<tr>
|
130
|
-
<td>xlarge</td>
|
131
|
-
<td>≥ 1200px</td>
|
132
|
-
</tr>
|
133
|
-
<tr>
|
134
|
-
<td>xxlarge</td>
|
135
|
-
<td>≥ 1440px</td>
|
136
|
-
</tr>
|
137
|
-
</tbody>
|
138
|
-
</table>
|
139
|
-
<div class="docs-page__code-window" doc-tabs>
|
140
|
-
<div class="docs-page__window-bar">
|
141
|
-
<a id="example" href="#" class="active">Example</a>
|
142
|
-
<a id="markup" href="#">Markup</a>
|
143
|
-
</div>
|
144
|
-
<div class="docs-page__window-content">
|
145
|
-
<div class="docs-page__code-example">
|
146
|
-
<div class="docs-page__content-row">
|
147
|
-
<div class="grid">
|
148
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-3 xxlarge-4</div>
|
149
|
-
<div class="grid__item gi-xsmall-12 gi-small-6 gi-medium-8 gi-large-10 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-6 medium-8 large-10 xlarge-3 xxlarge-4</div>
|
150
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-6 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-6 xxlarge-4</div>
|
151
|
-
</div>
|
152
|
-
</div>
|
153
|
-
</div>
|
154
|
-
<div class="docs-page__code-markup">
|
155
|
-
<pre class="prettyprint lang-html linenums">
|
156
|
-
<div class="grid">
|
157
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-3 xxlarge-4</div>
|
158
|
-
<div class="grid__item gi-xsmall-12 gi-small-6 gi-medium-8 gi-large-10 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-6 medium-8 large-10 xlarge-3 xxlarge-4</div>
|
159
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-6 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-6 xxlarge-4</div>
|
160
|
-
</div>
|
161
|
-
</pre>
|
162
|
-
</div>
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<h4 class="docs-page__h4">Responsive Layout grid - boxed</h4>
|
167
|
-
<p class="docs-page__paragraph">Boxed version is different as it has margin set between grid items, instead of padding (which is 0, by default).</p>
|
168
|
-
<p class="docs-page__paragraph">Add <code>grid--boxed</code> modifier class to the main grid block.</p>
|
169
|
-
|
170
|
-
<div class="docs-page__code-window" doc-tabs>
|
171
|
-
<div class="docs-page__window-bar">
|
172
|
-
<a id="example" href="#" class="active">Example</a>
|
173
|
-
<a id="markup" href="#">Markup</a>
|
174
|
-
</div>
|
175
|
-
<div class="docs-page__window-content">
|
176
|
-
<div class="docs-page__code-example">
|
177
|
-
<div class="docs-page__content-row">
|
178
|
-
<div class="grid grid--boxed">
|
179
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-3 xxlarge-4</div>
|
180
|
-
<div class="grid__item gi-xsmall-12 gi-small-6 gi-medium-8 gi-large-10 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-6 medium-8 large-10 xlarge-3 xxlarge-4</div>
|
181
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-6 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-6 xxlarge-4</div>
|
182
|
-
</div>
|
183
|
-
</div>
|
184
|
-
</div>
|
185
|
-
<div class="docs-page__code-markup">
|
186
|
-
<pre class="prettyprint lang-html linenums">
|
187
|
-
<div class="grid grid--boxed">
|
188
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-3 xxlarge-4</div>
|
189
|
-
<div class="grid__item gi-xsmall-12 gi-small-6 gi-medium-8 gi-large-10 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-6 medium-8 large-10 xlarge-3 xxlarge-4</div>
|
190
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-1 gi-xlarge-6 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-1 xlarge-6 xxlarge-4</div>
|
191
|
-
</div>
|
192
|
-
</pre>
|
193
|
-
</div>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
<h4 class="docs-page__h4">Responsive Layout grid - boxed styled</h4>
|
197
|
-
<p class="docs-page__paragraph">Styled boxed version is just with added background white and box shadow to grid items.</p>
|
198
|
-
<p class="docs-page__paragraph">To achieve this, grid block should have the class: <code>grid grid--boxed grid--boxed-styled</code></p>
|
199
|
-
|
200
|
-
<div class="docs-page__code-window" doc-tabs>
|
201
|
-
<div class="docs-page__window-bar">
|
202
|
-
<a id="example" href="#" class="active">Example</a>
|
203
|
-
<a id="markup" href="#">Markup</a>
|
204
|
-
</div>
|
205
|
-
<div class="docs-page__window-content">
|
206
|
-
<div class="docs-page__code-example">
|
207
|
-
<div class="docs-page__content-row">
|
208
|
-
<div class="grid grid--boxed grid--boxed-styled">
|
209
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-2 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-2 xlarge-3 xxlarge-4</div>
|
210
|
-
<div class="grid__item gi-xsmall-12 gi-small-6 gi-medium-8 gi-large-8 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-6 medium-8 large-8 xlarge-3 xxlarge-4</div>
|
211
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-2 gi-xlarge-6 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-2 xlarge-6 xxlarge-4</div>
|
212
|
-
</div>
|
213
|
-
</div>
|
214
|
-
</div>
|
215
|
-
<div class="docs-page__code-markup">
|
216
|
-
<pre class="prettyprint lang-html linenums">
|
217
|
-
<div class="grid grid--boxed grid--boxed-styled">
|
218
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-2 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-2 xlarge-3 xxlarge-4</div>
|
219
|
-
<div class="grid__item gi-xsmall-12 gi-small-6 gi-medium-8 gi-large-8 gi-xlarge-3 gi-xxlarge-4">xsmall-12 small-6 medium-8 large-8 xlarge-3 xxlarge-4</div>
|
220
|
-
<div class="grid__item gi-xsmall-12 gi-small-3 gi-medium-4 gi-large-2 gi-xlarge-6 gi-xxlarge-4">xsmall-12 small-3 medium-4 large-2 xlarge-6 xxlarge-4</div>
|
221
|
-
</div>
|
222
|
-
</pre>
|
223
|
-
</div>
|
224
|
-
</div>
|
225
|
-
</div>
|
226
|
-
<p class="docs-page__paragraph">More examples on the <a href="#/playground/layout" target="_blank">playground page</a>.</p>
|
227
|
-
</section>
|