Skip to content

Commit 0171205

Browse files
chore: remove dashboard feature flag (#9293) (#9295)
* chore: remove dashboard feature flag * remove from helpers Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
1 parent 9b22456 commit 0171205

9 files changed

+0
-34
lines changed

dev/dashboard-layout.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
import '@vaadin/dashboard/vaadin-dashboard-layout.js';
1212
import '@vaadin/dashboard/vaadin-dashboard-widget.js';
1313
import '@vaadin/dashboard/vaadin-dashboard-section.js';
14-
15-
window.Vaadin ||= {};
16-
window.Vaadin.featureFlags ||= {};
17-
window.Vaadin.featureFlags.dashboardComponent = true;
1814
</script>
1915

2016
<style>

dev/dashboard.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
<script type="module">
3535
import '@vaadin/dashboard';
3636

37-
window.Vaadin ||= {};
38-
window.Vaadin.featureFlags ||= {};
39-
window.Vaadin.featureFlags.dashboardComponent = true;
40-
4137
const dashboard = document.querySelector('vaadin-dashboard');
4238

4339
dashboard.items = [

packages/dashboard/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
A responsive, grid-based dashboard layout component
44

5-
> ⚠️ This component is experimental and the API may change. In order to use it, enable the feature flag by setting `window.Vaadin.featureFlags.dashboardComponent = true`.
6-
75
> ℹ️&nbsp; A commercial Vaadin [subscription](https://vaadin.com/pricing) is required to use Dashboard in your project.
86
97
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/dashboard)

packages/dashboard/src/vaadin-dashboard-button.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ class DashboardButton extends ButtonMixin(ElementMixin(ThemableMixin(PolylitMixi
2222
return 'vaadin-dashboard-button';
2323
}
2424

25-
static get experimental() {
26-
return 'dashboardComponent';
27-
}
28-
2925
static get styles() {
3026
return buttonStyles;
3127
}

packages/dashboard/src/vaadin-dashboard-layout.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ class DashboardLayout extends DashboardLayoutMixin(ElementMixin(ThemableMixin(Po
6060
return 'vaadin-dashboard-layout';
6161
}
6262

63-
static get experimental() {
64-
return 'dashboardComponent';
65-
}
66-
6763
static get cvdlName() {
6864
return 'vaadin-dashboard';
6965
}

packages/dashboard/src/vaadin-dashboard-section.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ class DashboardSection extends DashboardItemMixin(ElementMixin(ThemableMixin(Pol
7474
return 'vaadin-dashboard-section';
7575
}
7676

77-
static get experimental() {
78-
return 'dashboardComponent';
79-
}
80-
8177
static get styles() {
8278
return [
8379
css`

packages/dashboard/src/vaadin-dashboard-widget.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ class DashboardWidget extends DashboardItemMixin(ElementMixin(ThemableMixin(Poly
107107
return 'vaadin-dashboard-widget';
108108
}
109109

110-
static get experimental() {
111-
return 'dashboardComponent';
112-
}
113-
114110
static get styles() {
115111
return [
116112
css`

packages/dashboard/src/vaadin-dashboard.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ class Dashboard extends DashboardLayoutMixin(
111111
return 'vaadin-dashboard';
112112
}
113113

114-
static get experimental() {
115-
return 'dashboardComponent';
116-
}
117-
118114
static get cvdlName() {
119115
return 'vaadin-dashboard';
120116
}

packages/dashboard/test/helpers.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import sinon from 'sinon';
44
import type { DashboardSection } from '../src/vaadin-dashboard-section.js';
55
import type { DashboardWidget } from '../src/vaadin-dashboard-widget.js';
66

7-
window.Vaadin ||= {};
8-
window.Vaadin.featureFlags ||= {};
9-
window.Vaadin.featureFlags.dashboardComponent = true;
10-
117
function getCssGrid(element: Element): Element {
128
return (element as any).$?.grid || element;
139
}

0 commit comments

Comments
 (0)