Skip to content

Commit 6342844

Browse files
committed
10.0.0
1 parent c6b161f commit 6342844

File tree

114 files changed

+12165
-13210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+12165
-13210
lines changed

source/components/smart.ui.menu.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/components/smart.ui.table.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/components/smart.ui.tabs.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/components/smart.ui.tree.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/modules/smart.menu.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/modules/smart.table.js

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/modules/smart.tabs.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/modules/smart.tree.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/styles/bootstrap/_styles.scss

Lines changed: 81 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,9 @@ smart-breadcrumb {
274274

275275
/* ACCORDION */
276276
.smart-accordion {
277-
width: 100%;
278-
height: auto;
279277

280278
> .smart-container {
281-
padding: 0;
279+
overflow: hidden;
282280
}
283281

284282
.smart-accordion-item {
@@ -300,15 +298,15 @@ smart-breadcrumb {
300298

301299
.smart-accordion-item-header,
302300
.smart-accordion-item-content {
303-
padding: $card-spacer-y $card-spacer-x;
301+
304302
}
305303

306304
.smart-accordion-item-content {
307-
height: auto;
305+
308306
}
309307

310308
.smart-accordion-item-header {
311-
height: auto;
309+
padding: 0px;
312310
background: $card-cap-bg;
313311

314312
.smart-arrow {
@@ -349,7 +347,7 @@ smart-breadcrumb {
349347

350348

351349
&[expanded]:not(:last-child) {
352-
margin: 0 !important;
350+
353351
}
354352
}
355353
}
@@ -818,6 +816,54 @@ smart-card.card {
818816
}
819817
}
820818
}
819+
820+
&.alert-holder {
821+
background: transparent;
822+
padding: 0;
823+
824+
.smart-alert {
825+
margin: 0;
826+
}
827+
828+
.smart-toast-item-header {
829+
padding: 0 $toast-padding-x;
830+
font-weight: 600;
831+
height: 0;
832+
833+
.smart-toast-item-close-button {
834+
color: $toast-header-color;
835+
836+
margin: 0 10px;
837+
width: auto;
838+
z-index: 999;
839+
840+
&:after {
841+
content: '×';
842+
font-size: 1.5rem;
843+
font-weight: 700;
844+
line-height: 1;
845+
color: $toast-color;
846+
text-shadow: 0 1px 0 #fff;
847+
opacity: .5;
848+
}
849+
}
850+
}
851+
852+
.smart-toast-item-container {
853+
padding: 0;
854+
top: 0;
855+
856+
.smart-toast-item-icon {
857+
display: none;
858+
}
859+
860+
.smart-toast-item-content {
861+
margin: 0;
862+
width: 100%;
863+
text-align: unset;
864+
}
865+
}
866+
}
821867
}
822868

823869
/* ALERT */
@@ -953,12 +999,9 @@ smart-tooltip {
953999
}
9541000

9551001
/* PROGRESSBAR */
956-
.smart-progress-bar,
957-
.smart-circular-progress-bar {
1002+
.smart-progress-bar {
9581003
--smart-progress-bar-default-width: var(--smart-editor-width);
9591004
--smart-progress-bar-default-height: #{$progress-height};
960-
--smart-circular-progress-bar-default-size: #{$progress-height};
961-
--smart-circular-progress-bar-fill-size: 12%;
9621005
--smart-border-top-left-radius: #{$progress-border-radius};
9631006
--smart-border-top-right-radius: #{$progress-border-radius};
9641007
--smart-border-bottom-left-radius: #{$progress-border-radius};
@@ -967,11 +1010,6 @@ smart-tooltip {
9671010
border-width: 1px;
9681011
border-color: $progress-bg;
9691012
color: $progress-bar-color;
970-
//box-shadow: $progress-box-shadow;
971-
972-
&:not([orientation="vertical"]) {
973-
width: 100%;
974-
}
9751013

9761014
&:not(.smart-circular-progress-bar) {
9771015
background-color: $progress-bg !important;
@@ -1595,7 +1633,6 @@ smart-carousel {
15951633

15961634
.smart-tab-strip {
15971635
border-bottom: 1px solid $nav-tabs-border-color;
1598-
overflow: unset;
15991636
margin-bottom: 1rem;
16001637
}
16011638

@@ -1634,7 +1671,18 @@ smart-carousel {
16341671
background: transparent;
16351672

16361673
}
1637-
1674+
1675+
&[horizontal] {
1676+
.smart-nav-button,
1677+
.smart-tabs-header-items > .smart-drop-down-button {
1678+
margin-bottom: 1rem;
1679+
}
1680+
1681+
.smart-tab-group-arrow {
1682+
height: 1rem;
1683+
}
1684+
}
1685+
16381686
&[vertical] {
16391687
.smart-header {
16401688
.smart-tab-label-container {
@@ -1651,6 +1699,8 @@ smart-carousel {
16511699

16521700
/* GRID */
16531701
.smart-grid {
1702+
--smart-editor-label-padding: 4px;
1703+
16541704
div[class^="smart-"] {
16551705
line-height: unset;
16561706
}
@@ -1666,7 +1716,15 @@ smart-carousel {
16661716
margin: 0;
16671717
border-radius: 0;
16681718
}
1669-
1719+
1720+
.smart-grid-command-item {
1721+
align-items: center;
1722+
1723+
> .smart-grid-icon {
1724+
font-size: calc(var(--smart-font-size) + 2px);
1725+
}
1726+
}
1727+
16701728
smart-grid-column {
16711729
background: $body-bg;
16721730
}
@@ -2066,8 +2124,9 @@ smart-carousel {
20662124
display: inline-block;
20672125
margin-bottom: .5rem;
20682126
}
2069-
smart-multiline-text-box{
2070-
.smart-label{
2127+
2128+
smart-multiline-text-box {
2129+
.smart-label {
20712130
margin: unset;
20722131
display: none;
20732132
}
@@ -2413,7 +2472,7 @@ body[theme="dark"] {
24132472
/* Tree */
24142473
.smart-tree {
24152474
smart-tree-items-group {
2416-
.smart-tree-items-group-arrow{
2475+
.smart-tree-items-group-arrow {
24172476
height: unset;
24182477
}
24192478
}

source/styles/bootstrap/_vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ body[theme="dark"] {
7474
--smart-color-panel-grid-mode-item-size: 20px; /* smartColorPanel item size */
7575

7676
--smart-progress-bar-default-height: 7px; /* smartProgressBar default height */
77-
--smart-circular-progress-bar-default-size: 13px; /* smartCircularProgressBar default size (width = height) */
7877
--smart-circular-progress-bar-fill-size: 20%;
7978

8079
--smart-radio-button-default-size: 16px; /* Default size for the radio button. */
@@ -92,6 +91,7 @@ body[theme="dark"] {
9291
--smart-scroll-bar-thumb-padding: 0px;
9392

9493
--smart-pager-page-size-selector-width: 65px;
94+
--smart-accordion-item-expanded-offset: 0px;
9595
}
9696

9797

0 commit comments

Comments
 (0)