superdesk-ui-framework 3.1.8 → 3.1.12
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/styles/_helpers.scss +913 -780
- package/app/styles/_master-desk.scss +2 -2
- package/app/styles/components/_sd-collapse-box.scss +113 -0
- package/app/styles/components/_subnav.scss +0 -1
- package/app/styles/design-tokens/_design-tokens-general.scss +19 -5
- package/app/styles/design-tokens/_new-colors.scss +11 -1
- package/app/styles/grids/_grid-layout.scss +0 -1
- package/app/styles/layout/_editor.scss +5 -5
- package/app-typescript/components/ToggleBox/CustomHeaderToggleBox.tsx +56 -0
- package/app-typescript/components/{Togglebox.tsx → ToggleBox/SimpleToggleBox.tsx} +3 -14
- package/app-typescript/components/ToggleBox/index.tsx +41 -0
- package/app-typescript/components/TreeMenu.tsx +4 -2
- package/app-typescript/index.ts +1 -1
- package/dist/components/Alerts.tsx +1 -1
- package/dist/components/ContentDivider.tsx +1 -1
- package/dist/components/DragHandleDocs.tsx +2 -2
- package/dist/components/Index.tsx +105 -50
- package/dist/components/Panel.tsx +13 -13
- package/dist/components/Tags.tsx +2 -2
- package/dist/components/Togglebox.tsx +154 -15
- package/dist/components/utilities/BorderRadiusUtilities.tsx +56 -0
- package/dist/components/utilities/BorderUtilities.tsx +170 -0
- package/dist/components/utilities/DisplayUtilities.tsx +116 -0
- package/dist/components/utilities/FlexAndGridUtilities.tsx +551 -0
- package/dist/components/utilities/ObjectFitUtilities.tsx +53 -0
- package/dist/components/utilities/ObjectPositionUtilities.tsx +68 -0
- package/dist/components/utilities/OpacityUtilities.tsx +64 -0
- package/dist/components/utilities/OverflowUtilities.tsx +93 -0
- package/dist/components/utilities/PositionUtilities.tsx +52 -0
- package/dist/components/utilities/ShadowUtilities.tsx +123 -0
- package/dist/components/utilities/SpacingUtilities.tsx +2 -2
- package/dist/components/utilities/TextUtilities.tsx +44 -4
- package/dist/components.html +2 -4
- package/dist/components_deprecated/modals.html +2 -2
- package/dist/components_deprecated.html +1 -0
- package/dist/design-patterns/Index.tsx +1 -42
- package/dist/design-patterns.html +2 -4
- package/dist/design.html +1 -0
- package/dist/examples.bundle.css +15 -7
- package/dist/examples.bundle.js +3104 -1270
- package/dist/main.html +1 -0
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +1 -1
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +214 -2
- package/dist/playgrounds.html +1 -0
- package/dist/superdesk-ui.bundle.css +1331 -1006
- package/dist/superdesk-ui.bundle.js +1094 -919
- package/dist/vendor.bundle.js +13 -13
- package/examples/css/docs-page.css +15 -7
- package/examples/js/doc.js +13 -1
- package/examples/pages/components/Alerts.tsx +1 -1
- package/examples/pages/components/ContentDivider.tsx +1 -1
- package/examples/pages/components/DragHandleDocs.tsx +2 -2
- package/examples/pages/components/Index.tsx +105 -50
- package/examples/pages/components/Panel.tsx +13 -13
- package/examples/pages/components/Tags.tsx +2 -2
- package/examples/pages/components/Togglebox.tsx +154 -15
- package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +56 -0
- package/examples/pages/components/utilities/BorderUtilities.tsx +170 -0
- package/examples/pages/components/utilities/DisplayUtilities.tsx +116 -0
- package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +551 -0
- package/examples/pages/components/utilities/ObjectFitUtilities.tsx +53 -0
- package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +68 -0
- package/examples/pages/components/utilities/OpacityUtilities.tsx +64 -0
- package/examples/pages/components/utilities/OverflowUtilities.tsx +93 -0
- package/examples/pages/components/utilities/PositionUtilities.tsx +52 -0
- package/examples/pages/components/utilities/ShadowUtilities.tsx +123 -0
- package/examples/pages/components/utilities/SpacingUtilities.tsx +2 -2
- package/examples/pages/components/utilities/TextUtilities.tsx +44 -4
- package/examples/pages/components.html +2 -4
- package/examples/pages/components_deprecated/modals.html +2 -2
- package/examples/pages/components_deprecated.html +1 -0
- package/examples/pages/design-patterns/Index.tsx +1 -42
- package/examples/pages/design-patterns.html +2 -4
- package/examples/pages/design.html +1 -0
- package/examples/pages/main.html +1 -0
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +1 -1
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +214 -2
- package/examples/pages/playgrounds.html +1 -0
- package/package.json +1 -1
- package/react/components/ToggleBox/CustomHeaderToggleBox.d.ts +11 -0
- package/react/components/ToggleBox/CustomHeaderToggleBox.js +78 -0
- package/react/components/ToggleBox/SimpleToggleBox.d.ts +18 -0
- package/react/components/{Togglebox.js → ToggleBox/SimpleToggleBox.js} +7 -7
- package/react/components/ToggleBox/index.d.ts +26 -0
- package/react/components/ToggleBox/index.js +71 -0
- package/react/components/TreeMenu.js +4 -2
- package/react/index.d.ts +1 -1
- package/react/index.js +2 -2
- package/react/components/Togglebox.d.ts +0 -28
@@ -8,9 +8,7 @@
|
|
8
8
|
<li class="docs-page__header-nav-item"><a class="docs-page__header-nav-link" href="#/design">Design guidelines</a></li>
|
9
9
|
<li class="docs-page__header-nav-item"><a class="docs-page__header-nav-link" href="#/playgrounds">Playground</a></li>
|
10
10
|
</ul>
|
11
|
-
<
|
12
|
-
<i role="presentation" class="icon-adjust"></i>
|
13
|
-
</button>
|
11
|
+
<doc-theme-picker></doc-theme-picker>
|
14
12
|
</header>
|
15
13
|
|
16
|
-
<doc-design-patterns class="
|
14
|
+
<doc-design-patterns class="d-contents"></doc-react>
|
package/dist/design.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
<li class="docs-page__header-nav-item docs-page__header-nav-item--active"><a class="docs-page__header-nav-link" href="#/design">Design guidelines</a></li>
|
9
9
|
<li class="docs-page__header-nav-item"><a class="docs-page__header-nav-link" href="#/playgrounds">Playground</a></li>
|
10
10
|
</ul>
|
11
|
+
<doc-theme-picker></doc-theme-picker>
|
11
12
|
</header>
|
12
13
|
|
13
14
|
<aside class="docs-page__sidebar">
|
package/dist/examples.bundle.css
CHANGED
@@ -380,12 +380,9 @@ table {
|
|
380
380
|
--docs-page-color-highlight: #33C5A0;
|
381
381
|
}
|
382
382
|
|
383
|
-
|
384
|
-
|
385
|
-
|
386
383
|
hr {
|
387
384
|
border: transparent;
|
388
|
-
border: 1px dotted
|
385
|
+
border: 1px dotted var(--sd-colour-line--medium);
|
389
386
|
border-width: 1px 0 0;
|
390
387
|
margin: 24px 0;
|
391
388
|
}
|
@@ -894,7 +891,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
894
891
|
}
|
895
892
|
.docs-page__code-window {
|
896
893
|
border: 1px solid hsla(0, 0%, 48%, 0.2);
|
897
|
-
border-radius:
|
894
|
+
border-radius: var(--b-radius--large);
|
898
895
|
margin: 10px 0 20px;
|
899
896
|
-webkit-box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.07);
|
900
897
|
box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.07);
|
@@ -904,6 +901,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
904
901
|
border-top: 1px solid var(--docs-page-border__window-bar--top);
|
905
902
|
border-bottom: 1px solid var(--docs-page-border__window-bar--bottom);
|
906
903
|
background: var(--docs-page-color-bg__window-bar);
|
904
|
+
border-radius: var(--b-radius--large) var(--b-radius--large) 0 0;
|
907
905
|
}
|
908
906
|
.docs-page__window-bar>a, .docs-page__window-bar>span {
|
909
907
|
font-size: 16px;
|
@@ -962,6 +960,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
962
960
|
background-color: hsl(214, 13%, 10%);
|
963
961
|
padding: 16px 16px 16px 36px;
|
964
962
|
overflow-y: scroll;
|
963
|
+
border-radius: 0 0 var(--b-radius--large) var(--b-radius--large);
|
965
964
|
}
|
966
965
|
.docs-page__code-markup ol {
|
967
966
|
margin-left: 10px;
|
@@ -1347,7 +1346,7 @@ doc-gif-img:hover img {
|
|
1347
1346
|
color: var(--color-text-light);
|
1348
1347
|
}
|
1349
1348
|
.docs-page__container table.utilities-table tbody td:first-child {
|
1350
|
-
min-width:
|
1349
|
+
min-width: 280px;
|
1351
1350
|
width: auto;
|
1352
1351
|
color: var(--color-text);
|
1353
1352
|
}
|
@@ -1377,10 +1376,19 @@ doc-gif-img:hover img {
|
|
1377
1376
|
margin-block-end: var(--space--4);
|
1378
1377
|
}
|
1379
1378
|
|
1379
|
+
.utilities-table__container--no-height {
|
1380
|
+
max-height: none;
|
1381
|
+
}
|
1382
|
+
|
1380
1383
|
.docs-page__container .doc-text--highlight {
|
1381
1384
|
color: var(--docs-page-color-primary) !important;
|
1382
1385
|
}
|
1383
1386
|
|
1387
|
+
table.utilities-table td .border-example-box {
|
1388
|
+
min-width: 160px;
|
1389
|
+
height: 32px;
|
1390
|
+
}
|
1391
|
+
|
1384
1392
|
/* -------------- END COLOR SWATCHES -------------- */
|
1385
1393
|
/* -------------- PrismJS overrides -------------- */
|
1386
1394
|
|
@@ -1388,7 +1396,7 @@ code[class*="language-"],
|
|
1388
1396
|
pre[class*="language-"] {
|
1389
1397
|
font-family: 'Source Code Pro', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
1390
1398
|
font-size: 1.1em;
|
1391
|
-
border-radius:
|
1399
|
+
border-radius: var(--b-radius--large);
|
1392
1400
|
}
|
1393
1401
|
pre[class*="language-"] {
|
1394
1402
|
background: hsl(214, 13%, 8%);
|