sf-i-events 1.0.83 → 1.0.85
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/package.json +1 -1
- package/sf-i-events.js +12 -12
- package/sf-i-events.js.map +1 -1
- package/src/sf-i-events.ts +12 -12
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -2541,12 +2541,12 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2541
2541
|
var _a, _b, _c, _d, _e, _f;
|
|
2542
2542
|
this.clearAllCalendars();
|
|
2543
2543
|
var html = '';
|
|
2544
|
-
html += '<button class="tab-button" id="calendar-tab-year" part="' + (selectedTab == this.TAB_YEAR ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Year</button>';
|
|
2545
|
-
html += '<button class="tab-button" id="calendar-tab-month" part="' + (selectedTab == this.TAB_STREAM ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Month</button>';
|
|
2546
|
-
html += '<button class="tab-button" id="calendar-tab-upcoming" part="' + (selectedTab == this.TAB_UPCOMING ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Upcoming</button>';
|
|
2547
|
-
html += '<button class="tab-button" id="calendar-tab-this" part="' + (selectedTab == this.TAB_THIS ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Current</button>';
|
|
2548
|
-
html += '<button class="tab-button" id="calendar-tab-past" part="' + (selectedTab == this.TAB_PAST ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Past</button>';
|
|
2549
|
-
html += '<button class="tab-button" id="calendar-tab-custom" part="' + (selectedTab == this.TAB_CUSTOM ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Range</button>';
|
|
2544
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-year" part="' + (selectedTab == this.TAB_YEAR ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Year</button>';
|
|
2545
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-month" part="' + (selectedTab == this.TAB_STREAM ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Month</button>';
|
|
2546
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-upcoming" part="' + (selectedTab == this.TAB_UPCOMING ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Upcoming</button>';
|
|
2547
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-this" part="' + (selectedTab == this.TAB_THIS ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Current</button>';
|
|
2548
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-past" part="' + (selectedTab == this.TAB_PAST ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Past</button>';
|
|
2549
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-custom" part="' + (selectedTab == this.TAB_CUSTOM ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Range</button>';
|
|
2550
2550
|
this._SfTabContainer.innerHTML = html;
|
|
2551
2551
|
(_a = this._SfTabContainer.querySelector('#calendar-tab-year')) === null || _a === void 0 ? void 0 : _a.addEventListener('click', () => {
|
|
2552
2552
|
if (this.mode == "consumer") {
|
|
@@ -3681,7 +3681,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3681
3681
|
<div id="container-chosen-project" class="chosen-project hide d-flex justify-center align-start mt-20">
|
|
3682
3682
|
|
|
3683
3683
|
</div>
|
|
3684
|
-
<div class="chosen-project d-flex justify-center" id="tab-container">
|
|
3684
|
+
<div class="chosen-project d-flex justify-center flex-wrap" id="tab-container">
|
|
3685
3685
|
|
|
3686
3686
|
</div>
|
|
3687
3687
|
|
|
@@ -3745,7 +3745,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3745
3745
|
|
|
3746
3746
|
</div>
|
|
3747
3747
|
|
|
3748
|
-
<div class="d-flex justify-center" id="tab-container">
|
|
3748
|
+
<div class="d-flex justify-center flex-wrap" id="tab-container">
|
|
3749
3749
|
|
|
3750
3750
|
</div>
|
|
3751
3751
|
<div class="d-flex justify-center">
|
|
@@ -3806,10 +3806,6 @@ SfIEvents.styles = css `
|
|
|
3806
3806
|
display: flex;
|
|
3807
3807
|
overflow: hidden;
|
|
3808
3808
|
}
|
|
3809
|
-
|
|
3810
|
-
#tab-container {
|
|
3811
|
-
overflow-x: auto;
|
|
3812
|
-
}
|
|
3813
3809
|
|
|
3814
3810
|
.switch-field input {
|
|
3815
3811
|
position: absolute !important;
|
|
@@ -3899,6 +3895,10 @@ SfIEvents.styles = css `
|
|
|
3899
3895
|
margin-bottom: 100px;
|
|
3900
3896
|
}
|
|
3901
3897
|
|
|
3898
|
+
.mb-10 {
|
|
3899
|
+
margin-bottom: 10px;
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
3902
|
.mb-5 {
|
|
3903
3903
|
margin-bottom: 5px;
|
|
3904
3904
|
}
|