superdesk-ui-framework 4.0.52 → 4.0.53

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.
Files changed (369) hide show
  1. package/dist/examples.bundle.js +1 -1
  2. package/package.json +1 -1
  3. package/dist/playgrounds/accessible-theme-test.html +0 -813
  4. package/dist/playgrounds/boxed-list.html +0 -164
  5. package/dist/playgrounds/cards.html +0 -244
  6. package/dist/playgrounds/circular-progress.html +0 -48
  7. package/dist/playgrounds/dummy-data/items.ts +0 -95
  8. package/dist/playgrounds/editor-3-test.html +0 -15
  9. package/dist/playgrounds/form-layout.html +0 -285
  10. package/dist/playgrounds/layout-grid.html +0 -79
  11. package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
  12. package/dist/playgrounds/layout-test-2.html +0 -795
  13. package/dist/playgrounds/list-item-test.html +0 -896
  14. package/dist/playgrounds/main.html +0 -16
  15. package/dist/playgrounds/master-desk.html +0 -1678
  16. package/dist/playgrounds/media-carousel.html +0 -1166
  17. package/dist/playgrounds/nav-buttons.html +0 -65
  18. package/dist/playgrounds/photo-desk.html +0 -1515
  19. package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  20. package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
  21. package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
  22. package/dist/playgrounds/planning.html +0 -1112
  23. package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
  24. package/dist/playgrounds/publish.html +0 -1007
  25. package/dist/playgrounds/publisher-content-analytics.html +0 -376
  26. package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
  27. package/dist/playgrounds/publisher-content-list-manual.html +0 -611
  28. package/dist/playgrounds/publisher-content-lists.html +0 -255
  29. package/dist/playgrounds/publisher-dashboard.html +0 -323
  30. package/dist/playgrounds/publisher-output-control.html +0 -3659
  31. package/dist/playgrounds/publisher-website-settings-general.html +0 -188
  32. package/dist/playgrounds/publisher-website-settings.html +0 -265
  33. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  34. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  35. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  36. package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
  37. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  38. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  39. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  40. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  41. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  42. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  43. package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  44. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  45. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  46. package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  47. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  48. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  49. package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  50. package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  51. package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  52. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  53. package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  54. package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  55. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  56. package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  57. package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  58. package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  59. package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  60. package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  61. package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  62. package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  63. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  64. package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  65. package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  66. package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  67. package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
  68. package/dist/playgrounds/settings.html +0 -92
  69. package/dist/playgrounds/side-navigation.html +0 -201
  70. package/dist/playgrounds/swimlane-view.html +0 -1975
  71. package/dist/playgrounds/tags-input.html +0 -55
  72. package/dist/playgrounds/toasts.html +0 -113
  73. package/dist/playgrounds/video-editor.html +0 -706
  74. package/examples/css/docs-page.css +0 -1135
  75. package/examples/css/reset.css +0 -124
  76. package/examples/css/vendor.css +0 -175
  77. package/examples/illustration-small--components.svg +0 -45
  78. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
  79. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
  80. package/examples/img/avatar-2.jpg +0 -0
  81. package/examples/img/avatar-3.jpg +0 -0
  82. package/examples/img/avatar-4.jpg +0 -0
  83. package/examples/img/avatar-5.jpg +0 -0
  84. package/examples/img/avatar-6.jpg +0 -0
  85. package/examples/img/avatar.jpg +0 -0
  86. package/examples/img/bill.jpg +0 -0
  87. package/examples/img/bush_1.jpg +0 -0
  88. package/examples/img/bush_2.jpg +0 -0
  89. package/examples/img/carousel-thumb--01.jpg +0 -0
  90. package/examples/img/carousel-thumb--02.jpg +0 -0
  91. package/examples/img/carousel-thumb--03.jpg +0 -0
  92. package/examples/img/carousel-thumb--04.jpg +0 -0
  93. package/examples/img/components_ilustration.svg +0 -1
  94. package/examples/img/d_trump.jpg +0 -0
  95. package/examples/img/d_trump_2.jpg +0 -0
  96. package/examples/img/d_trump_large.jpg +0 -0
  97. package/examples/img/design_ilustration.svg +0 -1
  98. package/examples/img/ferocious_beast.webm +0 -0
  99. package/examples/img/guidelines/application-frame.png +0 -0
  100. package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
  101. package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
  102. package/examples/img/guidelines/application-frame__left-panel.png +0 -0
  103. package/examples/img/guidelines/application-frame__main-content.gif +0 -0
  104. package/examples/img/guidelines/application-frame__main-content.png +0 -0
  105. package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
  106. package/examples/img/guidelines/application-frame__right-panel.png +0 -0
  107. package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
  108. package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
  109. package/examples/img/guidelines/application-frame__top-bar.png +0 -0
  110. package/examples/img/guidelines/buttons--00-01.png +0 -0
  111. package/examples/img/guidelines/buttons--00-02.png +0 -0
  112. package/examples/img/guidelines/buttons--DO-02.png +0 -0
  113. package/examples/img/guidelines/buttons--DONT-01.png +0 -0
  114. package/examples/img/guidelines/checkbox--DO-01.png +0 -0
  115. package/examples/img/guidelines/checkbox--DO-02.png +0 -0
  116. package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
  117. package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
  118. package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
  119. package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
  120. package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
  121. package/examples/img/guidelines/example__main-content--01.png +0 -0
  122. package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
  123. package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
  124. package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
  125. package/examples/img/guidelines/example__sub-nav--01.png +0 -0
  126. package/examples/img/guidelines/example__sub-nav--02.png +0 -0
  127. package/examples/img/guidelines/example__sub-nav--03.png +0 -0
  128. package/examples/img/guidelines/example__top-bar--01.png +0 -0
  129. package/examples/img/guidelines/layout--grid-01.png +0 -0
  130. package/examples/img/guidelines/layout--size-example-01.png +0 -0
  131. package/examples/img/guidelines/radio--DO-01.png +0 -0
  132. package/examples/img/guidelines/radio--DONT-01.png +0 -0
  133. package/examples/img/guidelines/radio--DONT-02.png +0 -0
  134. package/examples/img/guidelines/radio--DONT-03.png +0 -0
  135. package/examples/img/guidelines/switch--DO-01.png +0 -0
  136. package/examples/img/guidelines/switch--DO-02.png +0 -0
  137. package/examples/img/guidelines/switch--DONT-01.png +0 -0
  138. package/examples/img/guidelines/switch--DONT-02.png +0 -0
  139. package/examples/img/hillary.jpg +0 -0
  140. package/examples/img/illustration--components.svg +0 -1
  141. package/examples/img/illustration--design.svg +0 -1
  142. package/examples/img/illustration--playground.svg +0 -1
  143. package/examples/img/illustration--react.svg +0 -1
  144. package/examples/img/illustration-small--components.svg +0 -45
  145. package/examples/img/illustration-small--design.svg +0 -99
  146. package/examples/img/illustration-small--playground.svg +0 -49
  147. package/examples/img/illustration-small--react.svg +0 -53
  148. package/examples/img/illustration_user-privileges.png +0 -0
  149. package/examples/img/illustration_users.png +0 -0
  150. package/examples/img/image_01.jpg +0 -0
  151. package/examples/img/image_02.jpg +0 -0
  152. package/examples/img/masthead-image.png +0 -0
  153. package/examples/img/obama_1.jpg +0 -0
  154. package/examples/img/obama_2.jpg +0 -0
  155. package/examples/img/overlay-img.jpg +0 -0
  156. package/examples/img/react-logo--vector.svg +0 -49
  157. package/examples/img/sd-ui-framework__logo-01.svg +0 -33
  158. package/examples/img/sd-ui-framework__logo.svg +0 -20
  159. package/examples/img/th01.jpg +0 -0
  160. package/examples/img/th02.jpg +0 -0
  161. package/examples/img/th03.jpg +0 -0
  162. package/examples/index.html +0 -11
  163. package/examples/index.js +0 -468
  164. package/examples/js/doc.js +0 -230
  165. package/examples/js/react.js +0 -263
  166. package/examples/pages/components/Alerts.tsx +0 -291
  167. package/examples/pages/components/Autocomplete.tsx +0 -434
  168. package/examples/pages/components/Avatar.tsx +0 -659
  169. package/examples/pages/components/Badges.tsx +0 -221
  170. package/examples/pages/components/BigIconFont.tsx +0 -48
  171. package/examples/pages/components/BoxedList.tsx +0 -517
  172. package/examples/pages/components/ButtonGroups.tsx +0 -366
  173. package/examples/pages/components/Buttons.tsx +0 -565
  174. package/examples/pages/components/Card.tsx +0 -23
  175. package/examples/pages/components/Carousel.tsx +0 -235
  176. package/examples/pages/components/Checkboxs.tsx +0 -817
  177. package/examples/pages/components/Container.tsx +0 -190
  178. package/examples/pages/components/ContentDivider.tsx +0 -229
  179. package/examples/pages/components/ContentList.tsx +0 -786
  180. package/examples/pages/components/CreateButton.tsx +0 -121
  181. package/examples/pages/components/DatePicker.tsx +0 -245
  182. package/examples/pages/components/DateTimePicker.tsx +0 -141
  183. package/examples/pages/components/DragHandleDocs.tsx +0 -122
  184. package/examples/pages/components/DropZone.tsx +0 -149
  185. package/examples/pages/components/Dropdowns.tsx +0 -587
  186. package/examples/pages/components/DurationInput.tsx +0 -157
  187. package/examples/pages/components/EmptyStates.tsx +0 -171
  188. package/examples/pages/components/GridItem.tsx +0 -507
  189. package/examples/pages/components/GridList.tsx +0 -126
  190. package/examples/pages/components/Heading.tsx +0 -152
  191. package/examples/pages/components/IconButtons.tsx +0 -191
  192. package/examples/pages/components/IconFont.tsx +0 -49
  193. package/examples/pages/components/IconLabels.tsx +0 -199
  194. package/examples/pages/components/IconPicker.tsx +0 -82
  195. package/examples/pages/components/IllustrationButton.tsx +0 -109
  196. package/examples/pages/components/Index.tsx +0 -563
  197. package/examples/pages/components/Inputs.tsx +0 -313
  198. package/examples/pages/components/Labels.tsx +0 -354
  199. package/examples/pages/components/LeftNavigations.tsx +0 -459
  200. package/examples/pages/components/ListItems.tsx +0 -33
  201. package/examples/pages/components/Loader.tsx +0 -25
  202. package/examples/pages/components/Menu.tsx +0 -181
  203. package/examples/pages/components/Modal.tsx +0 -557
  204. package/examples/pages/components/MultiSelect.tsx +0 -343
  205. package/examples/pages/components/NavButtons.tsx +0 -159
  206. package/examples/pages/components/Panel.tsx +0 -631
  207. package/examples/pages/components/Popover.tsx +0 -90
  208. package/examples/pages/components/QuickNavigationBar.tsx +0 -278
  209. package/examples/pages/components/RadioGroup.tsx +0 -612
  210. package/examples/pages/components/ResizablePanels.tsx +0 -43
  211. package/examples/pages/components/SelectGrid.tsx +0 -162
  212. package/examples/pages/components/SelectWithTemplate.tsx +0 -144
  213. package/examples/pages/components/Selects.tsx +0 -175
  214. package/examples/pages/components/SimpleList.tsx +0 -198
  215. package/examples/pages/components/SubNav.tsx +0 -160
  216. package/examples/pages/components/Switch.tsx +0 -298
  217. package/examples/pages/components/TableList.tsx +0 -315
  218. package/examples/pages/components/Tabs.tsx +0 -276
  219. package/examples/pages/components/TagInputDocs.tsx +0 -130
  220. package/examples/pages/components/Tags.tsx +0 -154
  221. package/examples/pages/components/Text.tsx +0 -184
  222. package/examples/pages/components/TimePicker.tsx +0 -179
  223. package/examples/pages/components/Toasts.tsx +0 -283
  224. package/examples/pages/components/Togglebox.tsx +0 -307
  225. package/examples/pages/components/Tooltips.tsx +0 -74
  226. package/examples/pages/components/TreeMenu.tsx +0 -315
  227. package/examples/pages/components/TreeSelect.tsx +0 -625
  228. package/examples/pages/components/WithPaginationDocs.tsx +0 -56
  229. package/examples/pages/components/WithSizeObserver.tsx +0 -44
  230. package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
  231. package/examples/pages/components/tree-select/example-1.tsx +0 -67
  232. package/examples/pages/components/tree-select/example-2.tsx +0 -56
  233. package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
  234. package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
  235. package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
  236. package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
  237. package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
  238. package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
  239. package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
  240. package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
  241. package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
  242. package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
  243. package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
  244. package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
  245. package/examples/pages/components.html +0 -15
  246. package/examples/pages/components_deprecated/alerts.html +0 -113
  247. package/examples/pages/components_deprecated/badge.html +0 -79
  248. package/examples/pages/components_deprecated/basic-grid.html +0 -132
  249. package/examples/pages/components_deprecated/big-icons.html +0 -65
  250. package/examples/pages/components_deprecated/buttons.html +0 -631
  251. package/examples/pages/components_deprecated/carousel.html +0 -77
  252. package/examples/pages/components_deprecated/checkbox.html +0 -86
  253. package/examples/pages/components_deprecated/colors.html +0 -12
  254. package/examples/pages/components_deprecated/dropdown.html +0 -542
  255. package/examples/pages/components_deprecated/form-layout.html +0 -187
  256. package/examples/pages/components_deprecated/icon-labels.html +0 -34
  257. package/examples/pages/components_deprecated/icons.html +0 -194
  258. package/examples/pages/components_deprecated/input.html +0 -233
  259. package/examples/pages/components_deprecated/labels.html +0 -170
  260. package/examples/pages/components_deprecated/layout-grid.html +0 -227
  261. package/examples/pages/components_deprecated/left-nav.html +0 -83
  262. package/examples/pages/components_deprecated/list-item.html +0 -1342
  263. package/examples/pages/components_deprecated/loader.html +0 -64
  264. package/examples/pages/components_deprecated/modal-template.html +0 -13
  265. package/examples/pages/components_deprecated/modals.html +0 -561
  266. package/examples/pages/components_deprecated/other-elements.html +0 -54
  267. package/examples/pages/components_deprecated/panel-info.html +0 -34
  268. package/examples/pages/components_deprecated/radio.html +0 -64
  269. package/examples/pages/components_deprecated/select.html +0 -160
  270. package/examples/pages/components_deprecated/shadows.html +0 -24
  271. package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
  272. package/examples/pages/components_deprecated/simple-list.html +0 -113
  273. package/examples/pages/components_deprecated/slider.html +0 -31
  274. package/examples/pages/components_deprecated/spacing.html +0 -117
  275. package/examples/pages/components_deprecated/switch.html +0 -31
  276. package/examples/pages/components_deprecated/tables.html +0 -58
  277. package/examples/pages/components_deprecated/tabs.html +0 -257
  278. package/examples/pages/components_deprecated/tag-input.html +0 -123
  279. package/examples/pages/components_deprecated/tag-labels.html +0 -57
  280. package/examples/pages/components_deprecated/text.html +0 -55
  281. package/examples/pages/components_deprecated/toggle.html +0 -63
  282. package/examples/pages/components_deprecated/tooltips.html +0 -29
  283. package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
  284. package/examples/pages/components_deprecated/wizard.html +0 -41
  285. package/examples/pages/components_deprecated.html +0 -39
  286. package/examples/pages/design/application-structure.html +0 -168
  287. package/examples/pages/design/buttons.html +0 -34
  288. package/examples/pages/design/checkbox-and-radio.html +0 -64
  289. package/examples/pages/design/layout-principles.html +0 -45
  290. package/examples/pages/design/modules.html +0 -22
  291. package/examples/pages/design/pages.html +0 -22
  292. package/examples/pages/design/switch.html +0 -55
  293. package/examples/pages/design-patterns/Index.tsx +0 -42
  294. package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
  295. package/examples/pages/design-patterns.html +0 -14
  296. package/examples/pages/design.html +0 -39
  297. package/examples/pages/main.html +0 -76
  298. package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
  299. package/examples/pages/playgrounds/boxed-list.html +0 -164
  300. package/examples/pages/playgrounds/cards.html +0 -244
  301. package/examples/pages/playgrounds/circular-progress.html +0 -48
  302. package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
  303. package/examples/pages/playgrounds/editor-3-test.html +0 -15
  304. package/examples/pages/playgrounds/form-layout.html +0 -285
  305. package/examples/pages/playgrounds/layout-grid.html +0 -79
  306. package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
  307. package/examples/pages/playgrounds/layout-test-2.html +0 -795
  308. package/examples/pages/playgrounds/list-item-test.html +0 -896
  309. package/examples/pages/playgrounds/main.html +0 -16
  310. package/examples/pages/playgrounds/master-desk.html +0 -1678
  311. package/examples/pages/playgrounds/media-carousel.html +0 -1166
  312. package/examples/pages/playgrounds/nav-buttons.html +0 -65
  313. package/examples/pages/playgrounds/photo-desk.html +0 -1515
  314. package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  315. package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
  316. package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
  317. package/examples/pages/playgrounds/planning.html +0 -1112
  318. package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
  319. package/examples/pages/playgrounds/publish.html +0 -1007
  320. package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
  321. package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
  322. package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
  323. package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
  324. package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
  325. package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
  326. package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
  327. package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
  328. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  329. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  330. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  331. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
  332. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  333. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  334. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  335. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  336. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  337. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  338. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  339. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  340. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  341. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  342. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  343. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  344. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  345. package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  346. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  347. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  348. package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  349. package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  350. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  351. package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  352. package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  353. package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  354. package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  355. package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  356. package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  357. package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  358. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  359. package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  360. package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  361. package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  362. package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
  363. package/examples/pages/playgrounds/settings.html +0 -92
  364. package/examples/pages/playgrounds/side-navigation.html +0 -201
  365. package/examples/pages/playgrounds/swimlane-view.html +0 -1975
  366. package/examples/pages/playgrounds/tags-input.html +0 -55
  367. package/examples/pages/playgrounds/toasts.html +0 -113
  368. package/examples/pages/playgrounds/video-editor.html +0 -706
  369. package/examples/pages/playgrounds.html +0 -40
@@ -1,561 +0,0 @@
1
- <section class="docs-page__container">
2
- <h2 class="docs-page__h2">Modals</h2>
3
- <p class="docs-page__paragraph">The best way to invoke the modal window is through directive <code>sd-modal</code>.</p>
4
- <p class="docs-page__paragraph">Modal state (open/close) is handled by <code>data-model=""</code> attribute.</p>
5
- <h3 class="docs-page__h3">Default</h3>
6
- <p class="docs-page__paragraph">By default modal has 480px width and auto height (depends on the amount of content).</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" doc-modal>
14
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
15
- <div sd-modal data-model="modalActive">
16
- <div class="modal__header modal__header--flex">
17
- <h3 class="modal__heading">Modal Default</h3>
18
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
19
- </div>
20
- <div class="modal__body">
21
- <p>This is sample message inside modal!</p>
22
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
23
- <button class="btn" ng-click="openModal('modalActive6')">Open modal inside modal</button>
24
- </div>
25
- <div class="modal__footer">
26
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
27
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
28
- </div>
29
- </div>
30
- </div>
31
- <div class="docs-page__code-markup">
32
- <pre class="prettyprint lang-html linenums">
33
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
34
- <div sd-modal data-model="modalActive" ng-non-bindable>
35
- <div class="modal__header modal__header--flex">
36
- <h3 class="modal__heading">Modal Default</h3>
37
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
38
- </div>
39
- <div class="modal__body">
40
- <p>This is sample message inside modal!</p>
41
- </div>
42
- <div class="modal__footer">
43
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
44
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
45
- </div>
46
- </div>
47
- </pre>
48
- </div>
49
- </div>
50
- </div>
51
- <h4 class="docs-page__h4">Modal with min height modifier</h4>
52
- <p class="docs-page__paragraph">Sometimes there is a need to add min height to modal body, and in that case add class <code>.modal__body--add-min-height</code> on div block <code>.modal__body</code>. This will add min height of 300px to modal body.</p>
53
- <div class="docs-page__code-window" doc-tabs>
54
- <div class="docs-page__window-bar">
55
- <a id="example" href="#" class="active">Example</a>
56
- <a id="markup" href="#">Markup</a>
57
- </div>
58
- <div class="docs-page__window-content">
59
- <div class="docs-page__code-example" doc-modal>
60
- <button class="btn" ng-click="openModal('modalActive6')">Show modal</button>
61
- <div sd-modal data-model="modalActive6">
62
- <div class="modal__header modal__header--flex">
63
- <h3 class="modal__heading">Modal Default with min height modifier</h3>
64
- <button class="icn-btn" ng-click="closeModal('modalActive6')"><i class="icon-close-small"></i></button>
65
- </div>
66
- <div class="modal__body modal__body--add-min-height">
67
- <p>This is sample message inside modal!</p>
68
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
69
- </div>
70
- <div class="modal__footer">
71
- <button class="btn" ng-click="closeModal('modalActive6')">Cancel</button>
72
- <button class="btn btn--primary" ng-click="closeModal('modalActive6')">Ok</button>
73
- </div>
74
- </div>
75
- </div>
76
- <div class="docs-page__code-markup">
77
- <pre class="prettyprint lang-html linenums">
78
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
79
- <div sd-modal data-model="modalActive" ng-non-bindable>
80
- <div class="modal__header modal__header--flex">
81
- <h3 class="modal__heading">Modal Default with min height modifier</h3>
82
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
83
- </div>
84
- <div class="modal__body modal__body--add-min-height">
85
- <p>This is sample message inside modal!</p>
86
- </div>
87
- <div class="modal__footer">
88
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
89
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
90
- </div>
91
- </div>
92
- </pre>
93
- </div>
94
- </div>
95
- </div>
96
-
97
-
98
- <h3 class="docs-page__h3">Large</h3>
99
- <p class="docs-page__paragraph">Large modal has 680px width and auto height (depends on the amount of content). Add class <code>.modal--large</code> on div <code>sd-modal</code>.</p>
100
- <div class="docs-page__code-window" doc-tabs>
101
- <div class="docs-page__window-bar">
102
- <a id="example" href="#" class="active">Example</a>
103
- <a id="markup" href="#">Markup</a>
104
- </div>
105
- <div class="docs-page__window-content">
106
- <div class="docs-page__code-example" doc-modal>
107
- <button class="btn" ng-click="openModal('modalActive2')">Show modal</button>
108
- <div sd-modal data-model="modalActive2" class="modal--large">
109
- <div class="modal__header modal__header--flex">
110
- <h3 class="modal__heading">Modal Large</h3>
111
- <button class="icn-btn" ng-click="closeModal('modalActive2')"><i class="icon-close-small"></i></button>
112
- </div>
113
- <div class="modal__body">
114
- <p>This is sample message inside modal!</p>
115
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
116
- </div>
117
- <div class="modal__footer">
118
- <button class="btn" ng-click="closeModal('modalActive2')">Cancel</button>
119
- <button class="btn btn--primary" ng-click="closeModal('modalActive2')">Ok</button>
120
- </div>
121
- </div>
122
- </div>
123
- <div class="docs-page__code-markup">
124
- <pre class="prettyprint lang-html linenums">
125
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
126
- <div sd-modal data-model="modalActive" class="modal--large" ng-non-bindable>
127
- <div class="modal__header modal__header--flex">
128
- <h3 class="modal__heading">Modal Large</h3>
129
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
130
- </div>
131
- <div class="modal__body">
132
- <p>This is sample message inside modal!</p>
133
- </div>
134
- <div class="modal__footer">
135
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
136
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
137
- </div>
138
- </div>
139
- </pre>
140
- </div>
141
- </div>
142
- </div>
143
-
144
- <h3 class="docs-page__h3">Extra Large</h3>
145
- <p class="docs-page__paragraph">Large modal is 1000px wide and has auto height (it will depend on the amount of content). Add class <code>.modal--x-large</code> on div <code>sd-modal</code>.</p>
146
- <div class="docs-page__code-window" doc-tabs>
147
- <div class="docs-page__window-bar">
148
- <a id="example" href="#" class="active">Example</a>
149
- <a id="markup" href="#">Markup</a>
150
- </div>
151
- <div class="docs-page__window-content">
152
- <div class="docs-page__code-example" doc-modal>
153
- <button class="btn" ng-click="openModal('modalActiveXL')">Show modal</button>
154
- <div sd-modal data-model="modalActiveXL" class="modal--x-large">
155
- <div class="modal__header modal__header--flex">
156
- <h3 class="modal__heading">Modal Extra large</h3>
157
- <button class="icn-btn" ng-click="closeModal('modalActiveXL')"><i class="icon-close-small"></i></button>
158
- </div>
159
- <div class="modal__body">
160
- <p>This is sample message inside modal!</p>
161
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
162
- </div>
163
- <div class="modal__footer">
164
- <button class="btn" ng-click="closeModal('modalActiveXL')">Cancel</button>
165
- <button class="btn btn--primary" ng-click="closeModal('modalActiveXL')">Ok</button>
166
- </div>
167
- </div>
168
- </div>
169
- <div class="docs-page__code-markup">
170
- <pre class="prettyprint lang-html linenums">
171
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
172
- <div sd-modal data-model="modalActive" class="modal--large" ng-non-bindable>
173
- <div class="modal__header modal__header--flex">
174
- <h3 class="modal__heading">Modal Large</h3>
175
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
176
- </div>
177
- <div class="modal__body">
178
- <p>This is sample message inside modal!</p>
179
- </div>
180
- <div class="modal__footer">
181
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
182
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
183
- </div>
184
- </div>
185
- </pre>
186
- </div>
187
- </div>
188
- </div>
189
-
190
- <h3 class="docs-page__h3">Fill</h3>
191
- <p class="docs-page__paragraph">Fill modal is filling up available browser space, with 40px space around. Add class <code>.modal--fill</code> on div <code>sd-modal</code>.</p>
192
- <div class="docs-page__code-window" doc-tabs>
193
- <div class="docs-page__window-bar">
194
- <a id="example" href="#" class="active">Example</a>
195
- <a id="markup" href="#">Markup</a>
196
- </div>
197
- <div class="docs-page__window-content">
198
- <div class="docs-page__code-example" doc-modal>
199
- <button class="btn" ng-click="openModal('modalActive3')">Show modal</button>
200
- <div sd-modal data-model="modalActive3" class="modal--fill">
201
- <div class="modal__header modal__header--flex">
202
- <h3 class="modal__heading">Modal Fill</h3>
203
- <button class="icn-btn" ng-click="closeModal('modalActive3')"><i class="icon-close-small"></i></button>
204
- </div>
205
- <div class="modal__body">
206
- <p>This is sample message inside the modal!</p>
207
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Nullam id dolor id nibh
208
- ultricies vehicula ut id elit. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
209
- Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
210
- Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
211
- </div>
212
- <div class="modal__footer">
213
- <button class="btn" ng-click="closeModal('modalActive3')">Cancel</button>
214
- <button class="btn btn btn--primary btn" ng-click="closeModal('modalActive3')">Ok</button>
215
- </div>
216
- </div>
217
- </div>
218
- <div class="docs-page__code-markup">
219
- <pre class="prettyprint lang-html linenums">
220
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
221
- <div theme="dark-ui" sd-modal data-model="modalActive" class="modal--fill" ng-non-bindable>
222
- <div class="modal__header modal__header--flex">
223
- <h3 class="modal__heading">Modal Fill</h3>
224
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
225
- </div>
226
- <div class="modal__body">
227
- <p>This is sample message inside modal!</p>
228
- </div>
229
- <div class="modal__footer">
230
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
231
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
232
- </div>
233
- </div>
234
- </pre>
235
- </div>
236
- </div>
237
- </div>
238
- <h3 class="docs-page__h3">Fullscreen</h3>
239
- <p class="docs-page__paragraph">Fullscreen modal behaves as full page overlay, width and height set to 100%. Add class <code>.modal--fullscreen</code> on div <code>sd-modal</code>. There is also class <code>.modal--white</code> that applies white background to modal body.</p>
240
- <div class="docs-page__code-window" doc-tabs>
241
- <div class="docs-page__window-bar">
242
- <a id="example" href="#" class="active">Example</a>
243
- <a id="markup" href="#">Markup</a>
244
- </div>
245
- <div class="docs-page__window-content">
246
- <div class="docs-page__code-example" doc-modal>
247
- <button class="btn" ng-click="openModal('modalActive4')">Show modal</button>
248
- <div sd-modal data-model="modalActive4" class="modal--fullscreen modal--white">
249
- <div class="modal__header modal__header--flex">
250
- <h3 class="modal__heading">Modal Fullscreen</h3>
251
- <button class="icn-btn" ng-click="closeModal('modalActive4')"><i class="icon-close-small"></i></button>
252
- </div>
253
- <div class="modal__body">
254
- <p>This is sample message inside modal!</p>
255
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
256
- </div>
257
- <div class="modal__footer">
258
- <button class="btn" ng-click="closeModal('modalActive4')">Cancel</button>
259
- <button class="btn btn--primary" ng-click="closeModal('modalActive4')">Ok</button>
260
- </div>
261
- </div>
262
- </div>
263
- <div class="docs-page__code-markup">
264
- <pre class="prettyprint lang-html linenums">
265
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
266
- <div sd-modal data-model="modalActive" class="modal--fullscreen modal--white" ng-non-bindable>
267
- <div class="modal__header modal__header--flex">
268
- <h3 class="modal__heading">Modal Fullscreen</h3>
269
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
270
- </div>
271
- <div class="modal__body">
272
- <p>This is sample message inside modal!</p>
273
- </div>
274
- <div class="modal__footer">
275
- <button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
276
- <button class="btn btn--primary" ng-click="closeModal('modalActive')">Ok</button>
277
- </div>
278
- </div>
279
- </pre>
280
- </div>
281
- </div>
282
- </div>
283
- <h3 class="docs-page__h3">Dark modal</h3>
284
- <p class="docs-page__paragraph">The modal can be rendered in dark mode by adding<code>theme="dark-ui"</code> on div <code>sd-modal</code>. This example shown uses a custom layout inside the modal body.</p>
285
- <div class="docs-page__code-window" doc-tabs>
286
- <div class="docs-page__window-bar">
287
- <a id="example" href="#" class="active">Example</a>
288
- <a id="markup" href="#">Markup</a>
289
- </div>
290
- <div class="docs-page__window-content">
291
- <div class="docs-page__code-example" doc-modal>
292
- <button class="btn" ng-click="openModal('modalActive9')">Show dark modal</button>
293
- <div sd-modal theme="dark-ui" data-model="modalActive9" class="modal--fill">
294
- <div class="modal__header modal__header--flex">
295
- <h3 class="modal__heading">Modal dark (fill option)</h3>
296
- <button class="icn-btn" ng-click="closeModal('modalActive9')"><i class="icon-close-small"></i></button>
297
- </div>
298
- <div class="d-contents">
299
- <div style="height: 100%;" class="sd-content-wrapper__main-content-area sd-main-content-grid comfort">
300
- <div class="sd-main-content-grid__content sd-padding--2">
301
- <div class="sd-grid-list">
302
- <div class="sd-grid-item sd-grid-item__type--audio">
303
- <div class="sd-grid-item__media"></div>
304
- <div class="sd-grid-item__content">
305
- Donec id elit non mi porta gravida at eget metus. Nullam quis risus eget urna mollis ornare vel eu leo.
306
- Lorem ipsum dolor sit amet,consectetur adipiscing elit.
307
- </div>
308
- <div class="sd-grid-item__footer">
309
- <div class="sd-grid-item__footer-block sd-grid-item__footer-block--left">
310
- <span class="label label--success label--translucent">Success</span>
311
- </div>
312
- </div>
313
- </div>
314
- <div class="sd-grid-item sd-grid-item__type--audio">
315
- <div class="sd-grid-item__media"></div>
316
- <div class="sd-grid-item__content">
317
- Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis.
318
- Sed posuere consectetur est at lobortis.
319
- </div>
320
- <div class="sd-grid-item__footer">
321
- <div class="sd-grid-item__footer-block sd-grid-item__footer-block--left">
322
- <span class="label label--success label--translucent">Success</span>
323
- </div>
324
- </div>
325
- </div>
326
- </div>
327
- </div>
328
- <div class="sd-main-content-grid__preview open-preview">
329
- <div class="side-panel__container">
330
- <div class="side-panel side-panel--right">
331
- <div class="side-panel__content">
332
- <div class="side-panel__content-block side-panel__content-block--flex">
333
- <div class="side-panel__content-block-inner side-panel__content-block-inner--grow">
334
- <div class="form__item">
335
- <div class="sd-input">
336
- <label class="sd-input__label">Input label</label>
337
- <input class="sd-input__input" type="text">
338
- <div class="sd-input__char-count">00/90</div>
339
- <div class="sd-input__message-box">
340
- <div class="sd-input__hint">Hendrerit in vulputate.</div>
341
- </div>
342
- </div>
343
- </div>
344
- <div class="form__item">
345
- <div class="sd-input sd-input--is-select">
346
- <label class="sd-input__label">Select label</label>
347
- <select class="sd-input__select">
348
- <option value="one">Option one</option>
349
- <option value="two">Option two</option>
350
- <option value="three">Option three</option>
351
- </select>
352
- <div class="sd-input__message-box">
353
- <div class="sd-input__hint">Maecenas faucibus mollis interdum.</div>
354
- </div>
355
- </div>
356
- </div>
357
- </div>
358
- </div>
359
- </div>
360
- </div>
361
- </div>
362
- </div>
363
- </div>
364
- </div>
365
- <div class="modal__footer">
366
- <button class="btn" ng-click="closeModal('modalActive9')">Cancel</button>
367
- <button class="btn btn--primary" ng-click="closeModal('modalActive9')">Ok</button>
368
- </div>
369
- </div>
370
- </div>
371
- <div class="docs-page__code-markup">
372
- <pre class="prettyprint lang-html linenums">
373
- <button class="btn" ng-click="openModal('modalActive9')">Show dark modal</button>
374
- <div sd-modal theme="dark-ui" data-model="modalActive9" class="modal--fill" ng-non-bindable>
375
- <div class="modal__header modal__header--flex">
376
- <h3 class="modal__heading">Modal dark (fill option)</h3>
377
- <button class="icn-btn" ng-click="closeModal('modalActive9')"><i class="icon-close-small"></i></button>
378
- </div>
379
- <div class="d-contents">
380
- <div style="height: 100%;" class="sd-content-wrapper__main-content-area sd-main-content-grid comfort">
381
- <div class="sd-main-content-grid__content sd-padding--2">
382
- <div class="sd-grid-list">
383
- <div class="sd-grid-item sd-grid-item__type--audio">
384
- <div class="sd-grid-item__media"></div>
385
- <div class="sd-grid-item__content">
386
- Donec id elit non mi porta gravida at eget metus. Nullam quis risus eget urna mollis ornare vel eu leo.
387
- Lorem ipsum dolor sit amet,consectetur adipiscing elit.
388
- </div>
389
- <div class="sd-grid-item__footer">
390
- <div class="sd-grid-item__footer-block sd-grid-item__footer-block--left">
391
- <span class="label label--success label--translucent">Success</span>
392
- </div>
393
- </div>
394
- </div>
395
- <div class="sd-grid-item sd-grid-item__type--audio">
396
- <div class="sd-grid-item__media"></div>
397
- <div class="sd-grid-item__content">
398
- Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis.
399
- Sed posuere consectetur est at lobortis.
400
- </div>
401
- <div class="sd-grid-item__footer">
402
- <div class="sd-grid-item__footer-block sd-grid-item__footer-block--left">
403
- <span class="label label--success label--translucent">Success</span>
404
- </div>
405
- </div>
406
- </div>
407
- </div>
408
- </div>
409
- <div class="sd-main-content-grid__preview open-preview">
410
- <div class="side-panel__container">
411
- <div class="side-panel side-panel--right">
412
- <div class="side-panel__content">
413
- <div class="side-panel__content-block side-panel__content-block--flex">
414
- <div class="side-panel__content-block-inner side-panel__content-block-inner--grow">
415
- <div class="form__item">
416
- <div class="sd-input">
417
- <label class="sd-input__label">Input label</label>
418
- <input class="sd-input__input" type="text">
419
- <div class="sd-input__char-count">00/90</div>
420
- <div class="sd-input__message-box">
421
- <div class="sd-input__hint">Hendrerit in vulputate.</div>
422
- </div>
423
- </div>
424
- </div>
425
- <div class="form__item">
426
- <div class="sd-input sd-input--is-select">
427
- <label class="sd-input__label">Select label</label>
428
- <select class="sd-input__select">
429
- <option value="one">Option one</option>
430
- <option value="two">Option two</option>
431
- <option value="three">Option three</option>
432
- </select>
433
- <div class="sd-input__message-box">
434
- <div class="sd-input__hint">Maecenas faucibus mollis interdum.</div>
435
- </div>
436
- </div>
437
- </div>
438
- </div>
439
- </div>
440
- </div>
441
- </div>
442
- </div>
443
- </div>
444
- </div>
445
- </div>
446
- <div class="modal__footer">
447
- <button class="btn" ng-click="closeModal('modalActive9')">Cancel</button>
448
- <button class="btn btn--primary" ng-click="closeModal('modalActive9')">Ok</button>
449
- </div>
450
- </div>
451
- </pre>
452
- </div>
453
- </div>
454
- </div>
455
- <h3 class="docs-page__h3">Tabs</h3>
456
- <p class="docs-page__paragraph">Special case for modals with tabbed navigation and nested footer inside the body. Add class <code>.modal--tabs</code> on div <code>sd-modal</code>. This version also works with different modal size, for example just add <code>.modal--large</code> to get large modal with tabs.</p>
457
- <div class="docs-page__code-window" doc-tabs>
458
- <div class="docs-page__window-bar">
459
- <a id="example" href="#" class="active">Example</a>
460
- <a id="markup" href="#">Markup</a>
461
- </div>
462
- <div class="docs-page__window-content">
463
- <div class="docs-page__code-example" doc-modal>
464
- <button class="btn" ng-click="openModal('modalActive5')">Show modal</button>
465
- <div sd-modal data-model="modalActive5" class="modal--tabs">
466
- <div class="modal__header modal__header--flex">
467
- <h3 class="modal__heading">Modal with Tabs</h3>
468
- <button class="icn-btn" ng-click="closeModal('modalActive5')"><i class="icon-close-small"></i></button>
469
- </div>
470
- <div class="modal__body">
471
- <div class="modal__body-header">
472
- <ul class="nav-tabs">
473
- <li ng-class="{
474
- 'nav-tabs__tab--active': !tab5 || tab5 === 'general'}" class="nav-tabs__tab">
475
- <button ng-click="tab5 = 'general'" class="nav-tabs__link"><span translate>General</span></button>
476
- </li>
477
- <li ng-class="{
478
- 'nav-tabs__tab--active': tab5 === 'stages'}" class="nav-tabs__tab">
479
- <button ng-click="tab5 = 'stages'" class="nav-tabs__link"><span translate>Stages</span></button>
480
- </li>
481
- <li ng-class="{
482
- 'nav-tabs__tab--active': tab5 === 'people'}" class="nav-tabs__tab">
483
- <button ng-click="tab5 = 'people'" class="nav-tabs__link"><span translate>People</span></button>
484
- </li>
485
- <li ng-class="{
486
- 'nav-tabs__tab--active': tab5 === 'macro'}" class="nav-tabs__tab">
487
- <button ng-click="tab5 = 'macro'" class="nav-tabs__link"><span translate>Macro</span></button>
488
- </li>
489
- </ul>
490
- </div>
491
- <div class="modal__body-content">
492
- <p>This is sample message inside modal!</p>
493
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
494
- </div>
495
- <div class="modal__body-footer">
496
- <button class="btn" ng-click="closeModal('modalActive5')">Add</button>
497
- <button class="btn" ng-click="closeModal('modalActive5')">Cancel</button>
498
- <button class="btn btn--primary" ng-click="closeModal('modalActive5')">Save</button>
499
- </div>
500
- </div>
501
- </div>
502
- </div>
503
- <div class="docs-page__code-markup">
504
- <pre class="prettyprint lang-html linenums">
505
- <button class="btn" ng-click="openModal('modalActive')">Show modal</button>
506
- <div sd-modal data-model="modalActive" class="modal--tabs" ng-non-bindable>
507
- <div class="modal__header modal__header--flex">
508
- <h3 class="modal__heading">Sample modal</h3>
509
- <button class="icn-btn" ng-click="closeModal('modalActive')"><i class="icon-close-small"></i></button>
510
- </div>
511
- <div class="modal__body">
512
- <div class="modal__body-header">
513
- <strong>Tabs here</strong>
514
- </div>
515
- <div class="modal__body-content">
516
- <p>This is sample message inside modal!</p>
517
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
518
- </div>
519
- <div class="modal__body-footer">
520
- <button class="btn" ng-click="closeModal('modalActive5')">Cancel</button>
521
- <button class="btn btn--primary" ng-click="closeModal('modalActive5')">Ok</button>
522
- </div>
523
- </div>
524
- </div>
525
- </pre>
526
- </div>
527
- </div>
528
- </div>
529
-
530
- <h3 class="docs-page__h3">Modal with external template</h3>
531
- <p class="docs-page__paragraph">In some cases we will need to trigger modal through angular with defined template in different <code>.html</code> file. This can be done with <code>sdModalService</code> service.</p>
532
- <div class="docs-page__code-window" doc-tabs>
533
- <div class="docs-page__window-bar">
534
- <a id="example" href="#" class="active">Example</a>
535
- <a id="markup" href="#">Markup</a>
536
- </div>
537
- <div class="docs-page__window-content">
538
- <div class="docs-page__code-example" doc-modal>
539
- <button class="btn" ng-click="openTemplateModal()">Show modal</button>
540
- </div>
541
- <div class="docs-page__code-markup">
542
- <pre class="prettyprint lang-js linenums">
543
- var modal;
544
- scope.openModal = function () {
545
- modal = sdModalService.open({
546
- scope: scope,
547
- controller: ctrlModalController,
548
- controllerAs: 'ctrl',
549
- size: 'fullscreen',
550
- classes: 'modal--white',
551
- template: 'templates/modal-template.html'
552
- });
553
- };
554
- scope.close = function () {
555
- modal.close();
556
- };
557
- </pre>
558
- </div>
559
- </div>
560
- </div>
561
- </section>
@@ -1,54 +0,0 @@
1
- <section class="docs-page__container">
2
- <h2 class="docs-page__h2">Other form elements</h2>
3
-
4
- <h3 class="docs-page__h3">Form Label</h3>
5
- <p class="docs-page__paragraph">Usage: As a single element where the syle of the default form label is needed.</p>
6
-
7
- <h4 class="docs-page__h4">Modifiers:</h4>
8
- <ul>
9
- <li>
10
- <p class="docs-page__paragraph">
11
- <code>.form-label--light</code><br>
12
- Lighter gray variation of the form label
13
- </p>
14
- </li>
15
- <li>
16
- <p class="docs-page__paragraph">
17
- <code>.form-label--marg-b10</code><br>
18
- Adds a bottom margin of 10 pixels.
19
- </p>
20
- </li>
21
- <li>
22
- <p class="docs-page__paragraph">
23
- <code>.form-label--block</code><br>
24
- The form label has <i>inline-block</i> as the default display property. This modifier changes it to <i>block</i>.
25
- </p>
26
- </li>
27
- </ul>
28
- <div class="docs-page__code-window" doc-tabs>
29
- <div class="docs-page__window-bar">
30
- <a id="example" href="#" class="active">Example</a>
31
- <a id="markup" href="#">Markup</a>
32
- </div>
33
- <div class="docs-page__window-content">
34
- <div class="docs-page__code-example">
35
- <p class="docs-page__paragraph docs-page__paragraph--topMarginL">// Default</p>
36
- <div class="docs-page__content-row">
37
- <span class="form-label">Form label</span>
38
- </div>
39
- <p class="docs-page__paragraph">// Light</p>
40
- <div class="docs-page__content-row">
41
- <span class="form-label form-label--light">Form label light</span>
42
- </div>
43
- </div>
44
- <div class="docs-page__code-markup">
45
- <pre class="prettyprint lang-html linenums">
46
- <!-- // Default -->
47
- <span class="form-label">Form label</span>
48
- <!-- // Light -->
49
- <span class="form-label">Form label light</span>
50
- </pre>
51
- </div>
52
- </div>
53
- </div>
54
- </section>