@vaadin/details 24.8.0-alpha8 → 25.0.0-alpha1

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 (33) hide show
  1. package/README.md +0 -23
  2. package/package.json +12 -13
  3. package/src/vaadin-details-summary-core-styles.d.ts +8 -0
  4. package/src/vaadin-details-summary-core-styles.js +24 -0
  5. package/src/vaadin-details-summary.js +14 -24
  6. package/src/vaadin-details.d.ts +1 -2
  7. package/src/vaadin-details.js +26 -24
  8. package/web-types.json +1 -1
  9. package/web-types.lit.json +1 -1
  10. package/src/vaadin-lit-details-summary.d.ts +0 -6
  11. package/src/vaadin-lit-details-summary.js +0 -70
  12. package/src/vaadin-lit-details.d.ts +0 -6
  13. package/src/vaadin-lit-details.js +0 -64
  14. package/theme/lumo/vaadin-lit-details-summary.d.ts +0 -2
  15. package/theme/lumo/vaadin-lit-details-summary.js +0 -2
  16. package/theme/lumo/vaadin-lit-details.d.ts +0 -3
  17. package/theme/lumo/vaadin-lit-details.js +0 -3
  18. package/theme/material/vaadin-details-styles.d.ts +0 -5
  19. package/theme/material/vaadin-details-styles.js +0 -24
  20. package/theme/material/vaadin-details-summary-styles.d.ts +0 -5
  21. package/theme/material/vaadin-details-summary-styles.js +0 -106
  22. package/theme/material/vaadin-details-summary.d.ts +0 -2
  23. package/theme/material/vaadin-details-summary.js +0 -2
  24. package/theme/material/vaadin-details.d.ts +0 -3
  25. package/theme/material/vaadin-details.js +0 -3
  26. package/theme/material/vaadin-lit-details-summary.d.ts +0 -2
  27. package/theme/material/vaadin-lit-details-summary.js +0 -2
  28. package/theme/material/vaadin-lit-details.d.ts +0 -3
  29. package/theme/material/vaadin-lit-details.js +0 -3
  30. package/vaadin-lit-details-summary.d.ts +0 -1
  31. package/vaadin-lit-details-summary.js +0 -2
  32. package/vaadin-lit-details.d.ts +0 -1
  33. package/vaadin-lit-details.js +0 -2
package/README.md CHANGED
@@ -29,29 +29,6 @@ Once installed, import the component in your application:
29
29
  import '@vaadin/details';
30
30
  ```
31
31
 
32
- ## Themes
33
-
34
- Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/styling), Lumo and Material.
35
- The [main entrypoint](https://github.com/vaadin/web-components/blob/main/packages/details/vaadin-details.js) of the package uses the Lumo theme.
36
-
37
- To use the Material theme, import the component from the `theme/material` folder:
38
-
39
- ```js
40
- import '@vaadin/details/theme/material/vaadin-details.js';
41
- ```
42
-
43
- You can also import the Lumo version of the component explicitly:
44
-
45
- ```js
46
- import '@vaadin/details/theme/lumo/vaadin-details.js';
47
- ```
48
-
49
- Finally, you can import the un-themed component from the `src` folder to get a minimal starting point:
50
-
51
- ```js
52
- import '@vaadin/details/src/vaadin-details.js';
53
- ```
54
-
55
32
  ## Contributing
56
33
 
57
34
  Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/details",
3
- "version": "24.8.0-alpha8",
3
+ "version": "25.0.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,6 +21,8 @@
21
21
  "type": "module",
22
22
  "files": [
23
23
  "src",
24
+ "!src/vaadin-details-summary-base-styles.d.ts",
25
+ "!src/vaadin-details-summary-base-styles.js",
24
26
  "theme",
25
27
  "vaadin-*.d.ts",
26
28
  "vaadin-*.js",
@@ -31,23 +33,20 @@
31
33
  "Vaadin",
32
34
  "vaadin-details",
33
35
  "web-components",
34
- "web-component",
35
- "polymer"
36
+ "web-component"
36
37
  ],
37
38
  "dependencies": {
38
39
  "@open-wc/dedupe-mixin": "^1.3.0",
39
- "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.8.0-alpha8",
41
- "@vaadin/button": "24.8.0-alpha8",
42
- "@vaadin/component-base": "24.8.0-alpha8",
43
- "@vaadin/vaadin-lumo-styles": "24.8.0-alpha8",
44
- "@vaadin/vaadin-material-styles": "24.8.0-alpha8",
45
- "@vaadin/vaadin-themable-mixin": "24.8.0-alpha8",
40
+ "@vaadin/a11y-base": "25.0.0-alpha1",
41
+ "@vaadin/button": "25.0.0-alpha1",
42
+ "@vaadin/component-base": "25.0.0-alpha1",
43
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha1",
44
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha1",
46
45
  "lit": "^3.0.0"
47
46
  },
48
47
  "devDependencies": {
49
- "@vaadin/chai-plugins": "24.8.0-alpha8",
50
- "@vaadin/test-runner-commands": "24.8.0-alpha8",
48
+ "@vaadin/chai-plugins": "25.0.0-alpha1",
49
+ "@vaadin/test-runner-commands": "25.0.0-alpha1",
51
50
  "@vaadin/testing-helpers": "^1.1.0",
52
51
  "sinon": "^18.0.0"
53
52
  },
@@ -55,5 +54,5 @@
55
54
  "web-types.json",
56
55
  "web-types.lit.json"
57
56
  ],
58
- "gitHead": "d914bb8f669d7e3d1981feb8eac05688ab9870b4"
57
+ "gitHead": "b8c22a4a0c64156210d0daac96b43ae4e5526d49"
59
58
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2025 - 2025 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import type { CSSResult } from 'lit';
7
+
8
+ export const detailsSummary: (partName?: string) => CSSResult;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2025 - 2025 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import { css } from 'lit';
7
+
8
+ export const detailsSummary = () => css`
9
+ :host {
10
+ display: block;
11
+ outline: none;
12
+ white-space: nowrap;
13
+ -webkit-user-select: none;
14
+ user-select: none;
15
+ }
16
+
17
+ :host([hidden]) {
18
+ display: none !important;
19
+ }
20
+
21
+ :host([disabled]) {
22
+ pointer-events: none;
23
+ }
24
+ `;
@@ -3,11 +3,13 @@
3
3
  * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
6
+ import { html, LitElement } from 'lit';
7
7
  import { ButtonMixin } from '@vaadin/button/src/vaadin-button-mixin.js';
8
8
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
9
9
  import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
10
+ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
10
11
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
12
+ import { detailsSummary } from './vaadin-details-summary-core-styles.js';
11
13
 
12
14
  /**
13
15
  * The details summary element.
@@ -39,33 +41,13 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
39
41
  * @mixes DirMixin
40
42
  * @mixes ThemableMixin
41
43
  */
42
- class DetailsSummary extends ButtonMixin(DirMixin(ThemableMixin(PolymerElement))) {
44
+ class DetailsSummary extends ButtonMixin(DirMixin(ThemableMixin(PolylitMixin(LitElement)))) {
43
45
  static get is() {
44
46
  return 'vaadin-details-summary';
45
47
  }
46
48
 
47
- static get template() {
48
- return html`
49
- <style>
50
- :host {
51
- display: block;
52
- outline: none;
53
- white-space: nowrap;
54
- -webkit-user-select: none;
55
- user-select: none;
56
- }
57
-
58
- :host([hidden]) {
59
- display: none !important;
60
- }
61
-
62
- :host([disabled]) {
63
- pointer-events: none;
64
- }
65
- </style>
66
- <span part="toggle" aria-hidden="true"></span>
67
- <div part="content"><slot></slot></div>
68
- `;
49
+ static get styles() {
50
+ return detailsSummary();
69
51
  }
70
52
 
71
53
  static get properties() {
@@ -79,6 +61,14 @@ class DetailsSummary extends ButtonMixin(DirMixin(ThemableMixin(PolymerElement))
79
61
  },
80
62
  };
81
63
  }
64
+
65
+ /** @protected */
66
+ render() {
67
+ return html`
68
+ <span part="toggle" aria-hidden="true"></span>
69
+ <div part="content"><slot></slot></div>
70
+ `;
71
+ }
82
72
  }
83
73
 
84
74
  defineCustomElement(DetailsSummary);
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
7
6
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
8
7
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
9
8
  import { DetailsBaseMixin } from './vaadin-details-base-mixin.js';
@@ -53,7 +52,7 @@ export type DetailsEventMap = DetailsCustomEventMap & HTMLElementEventMap;
53
52
  *
54
53
  * @fires {CustomEvent} opened-changed - Fired when the `opened` property changes.
55
54
  */
56
- declare class Details extends DetailsBaseMixin(ElementMixin(ThemableMixin(ControllerMixin(HTMLElement)))) {
55
+ declare class Details extends DetailsBaseMixin(ElementMixin(ThemableMixin(HTMLElement))) {
57
56
  addEventListener<K extends keyof DetailsEventMap>(
58
57
  type: K,
59
58
  listener: (this: Details, ev: DetailsEventMap[K]) => void,
@@ -4,10 +4,10 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import './vaadin-details-summary.js';
7
- import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
8
- import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
7
+ import { css, html, LitElement } from 'lit';
9
8
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
10
9
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
+ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
11
11
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
12
12
  import { DetailsBaseMixin } from './vaadin-details-base-mixin.js';
13
13
 
@@ -47,32 +47,38 @@ import { DetailsBaseMixin } from './vaadin-details-base-mixin.js';
47
47
  *
48
48
  * @customElement
49
49
  * @extends HTMLElement
50
- * @mixes ControllerMixin
51
50
  * @mixes DetailsBaseMixin
52
51
  * @mixes ElementMixin
53
52
  * @mixes ThemableMixin
54
53
  */
55
- class Details extends DetailsBaseMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
56
- static get template() {
57
- return html`
58
- <style>
59
- :host {
60
- display: block;
61
- }
54
+ class Details extends DetailsBaseMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
55
+ static get is() {
56
+ return 'vaadin-details';
57
+ }
58
+
59
+ static get styles() {
60
+ return css`
61
+ :host {
62
+ display: block;
63
+ }
62
64
 
63
- :host([hidden]) {
64
- display: none !important;
65
- }
65
+ :host([hidden]) {
66
+ display: none !important;
67
+ }
66
68
 
67
- [part='content'] {
68
- display: none;
69
- }
69
+ [part='content'] {
70
+ display: none;
71
+ }
70
72
 
71
- :host([opened]) [part='content'] {
72
- display: block;
73
- }
74
- </style>
73
+ :host([opened]) [part='content'] {
74
+ display: block;
75
+ }
76
+ `;
77
+ }
75
78
 
79
+ /** @protected */
80
+ render() {
81
+ return html`
76
82
  <slot name="summary"></slot>
77
83
 
78
84
  <div part="content">
@@ -82,10 +88,6 @@ class Details extends DetailsBaseMixin(ElementMixin(ThemableMixin(ControllerMixi
82
88
  <slot name="tooltip"></slot>
83
89
  `;
84
90
  }
85
-
86
- static get is() {
87
- return 'vaadin-details';
88
- }
89
91
  }
90
92
 
91
93
  defineCustomElement(Details);
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/details",
4
- "version": "24.8.0-alpha8",
4
+ "version": "25.0.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/details",
4
- "version": "24.8.0-alpha8",
4
+ "version": "25.0.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -1,6 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- export * from './vaadin-details-summary.js';
@@ -1,70 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import { css, html, LitElement } from 'lit';
7
- import { ButtonMixin } from '@vaadin/button/src/vaadin-button-mixin.js';
8
- import { defineCustomElement } from '@vaadin/component-base/src/define.js';
9
- import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
10
- import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
11
- import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
12
-
13
- /**
14
- * LitElement based version of `<vaadin-details-summary>` web component.
15
- *
16
- * ## Disclaimer
17
- *
18
- * This component is an experiment and not yet a part of Vaadin platform.
19
- * There is no ETA regarding specific Vaadin version where it'll land.
20
- * Feel free to try this code in your apps as per Apache 2.0 license.
21
- */
22
- class DetailsSummary extends ButtonMixin(DirMixin(ThemableMixin(PolylitMixin(LitElement)))) {
23
- static get is() {
24
- return 'vaadin-details-summary';
25
- }
26
-
27
- static get styles() {
28
- return css`
29
- :host {
30
- display: block;
31
- outline: none;
32
- white-space: nowrap;
33
- -webkit-user-select: none;
34
- user-select: none;
35
- }
36
-
37
- :host([hidden]) {
38
- display: none !important;
39
- }
40
-
41
- :host([disabled]) {
42
- pointer-events: none;
43
- }
44
- `;
45
- }
46
-
47
- static get properties() {
48
- return {
49
- /**
50
- * When true, the element is opened.
51
- */
52
- opened: {
53
- type: Boolean,
54
- reflectToAttribute: true,
55
- },
56
- };
57
- }
58
-
59
- /** @protected */
60
- render() {
61
- return html`
62
- <span part="toggle" aria-hidden="true"></span>
63
- <div part="content"><slot></slot></div>
64
- `;
65
- }
66
- }
67
-
68
- defineCustomElement(DetailsSummary);
69
-
70
- export { DetailsSummary };
@@ -1,6 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- export * from './vaadin-details.js';
@@ -1,64 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import './vaadin-lit-details-summary.js';
7
- import { css, html, LitElement } from 'lit';
8
- import { defineCustomElement } from '@vaadin/component-base/src/define.js';
9
- import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
- import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
11
- import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
12
- import { DetailsBaseMixin } from './vaadin-details-base-mixin.js';
13
-
14
- /**
15
- * LitElement based version of `<vaadin-details>` web component.
16
- *
17
- * ## Disclaimer
18
- *
19
- * This component is an experiment and not yet a part of Vaadin platform.
20
- * There is no ETA regarding specific Vaadin version where it'll land.
21
- * Feel free to try this code in your apps as per Apache 2.0 license.
22
- */
23
- class Details extends DetailsBaseMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
24
- static get is() {
25
- return 'vaadin-details';
26
- }
27
-
28
- static get styles() {
29
- return css`
30
- :host {
31
- display: block;
32
- }
33
-
34
- :host([hidden]) {
35
- display: none !important;
36
- }
37
-
38
- [part='content'] {
39
- display: none;
40
- }
41
-
42
- :host([opened]) [part='content'] {
43
- display: block;
44
- }
45
- `;
46
- }
47
-
48
- /** @protected */
49
- render() {
50
- return html`
51
- <slot name="summary"></slot>
52
-
53
- <div part="content">
54
- <slot></slot>
55
- </div>
56
-
57
- <slot name="tooltip"></slot>
58
- `;
59
- }
60
- }
61
-
62
- defineCustomElement(Details);
63
-
64
- export { Details };
@@ -1,2 +0,0 @@
1
- import './vaadin-details-summary-styles.js';
2
- import '../../src/vaadin-lit-details-summary.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-details-summary-styles.js';
2
- import '../../src/vaadin-lit-details-summary.js';
@@ -1,3 +0,0 @@
1
- import './vaadin-lit-details-summary.js';
2
- import './vaadin-details-styles.js';
3
- import '../../src/vaadin-lit-details.js';
@@ -1,3 +0,0 @@
1
- import './vaadin-lit-details-summary.js';
2
- import './vaadin-details-styles.js';
3
- import '../../src/vaadin-lit-details.js';
@@ -1,5 +0,0 @@
1
- import '@vaadin/vaadin-material-styles/color.js';
2
- import '@vaadin/vaadin-material-styles/shadow.js';
3
- import '@vaadin/vaadin-material-styles/typography.js';
4
- declare const details: import("lit").CSSResult;
5
- export { details };
@@ -1,24 +0,0 @@
1
- import '@vaadin/vaadin-material-styles/color.js';
2
- import '@vaadin/vaadin-material-styles/shadow.js';
3
- import '@vaadin/vaadin-material-styles/typography.js';
4
- import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
5
-
6
- const details = css`
7
- :host {
8
- font-family: var(--material-font-family);
9
- box-shadow: var(--material-shadow-elevation-2dp);
10
- outline: none;
11
- }
12
-
13
- :host([focus-ring]) ::slotted([slot='summary']) {
14
- background-color: var(--material-secondary-background-color);
15
- }
16
-
17
- [part='content'] {
18
- padding: 8px 24px 24px;
19
- }
20
- `;
21
-
22
- registerStyles('vaadin-details', details, { moduleId: 'material-details' });
23
-
24
- export { details };
@@ -1,5 +0,0 @@
1
- import '@vaadin/vaadin-material-styles/color.js';
2
- import '@vaadin/vaadin-material-styles/font-icons.js';
3
- import '@vaadin/vaadin-material-styles/typography.js';
4
- declare const detailsSummary: import("lit").CSSResult;
5
- export { detailsSummary };
@@ -1,106 +0,0 @@
1
- import '@vaadin/vaadin-material-styles/color.js';
2
- import '@vaadin/vaadin-material-styles/font-icons.js';
3
- import '@vaadin/vaadin-material-styles/typography.js';
4
- import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
5
-
6
- const detailsSummary = css`
7
- :host {
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-between;
11
- width: 100%;
12
- position: relative;
13
- outline: none;
14
- min-height: 48px;
15
- padding: 0 24px;
16
- box-sizing: border-box;
17
- font-weight: 500;
18
- font-size: var(--material-small-font-size);
19
- background-color: var(--material-background-color);
20
- color: var(--material-body-text-color);
21
- cursor: default;
22
- -webkit-tap-highlight-color: transparent;
23
- -webkit-font-smoothing: antialiased;
24
- -moz-osx-font-smoothing: grayscale;
25
- }
26
-
27
- :host([disabled]) {
28
- color: var(--material-disabled-text-color);
29
- background-color: var(--material-disabled-color);
30
- }
31
-
32
- [part='content'] {
33
- margin: 0;
34
- position: relative;
35
- }
36
-
37
- [part='toggle'] {
38
- position: relative;
39
- order: 1;
40
- margin-inline-start: auto;
41
- right: -8px;
42
- width: 24px;
43
- height: 24px;
44
- padding: 4px;
45
- color: var(--material-secondary-text-color);
46
- line-height: 24px;
47
- text-align: center;
48
- transform: rotate(90deg);
49
- transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 0.1);
50
- }
51
-
52
- [part='toggle']::before {
53
- font-family: 'material-icons';
54
- font-size: 24px;
55
- width: 24px;
56
- display: inline-block;
57
- content: var(--material-icons-chevron-right);
58
- }
59
-
60
- [part='toggle']::after {
61
- display: inline-block;
62
- content: '';
63
- position: absolute;
64
- top: 0;
65
- left: 0;
66
- width: 100%;
67
- height: 100%;
68
- border-radius: 50%;
69
- background-color: var(--material-disabled-text-color);
70
- transform: scale(0);
71
- opacity: 0;
72
- transition:
73
- transform 0s 0.8s,
74
- opacity 0.8s;
75
- will-change: transform, opacity;
76
- }
77
-
78
- :host([disabled]) [part='toggle'] {
79
- color: var(--material-disabled-color);
80
- }
81
-
82
- :host([active]:not([disabled])) [part='toggle']::after {
83
- transition-duration: 0.08s, 0.01s;
84
- transition-delay: 0s, 0s;
85
- transform: scale(1.25);
86
- opacity: 0.15;
87
- }
88
-
89
- :host([opened]) [part='toggle'] {
90
- transform: rotate(270deg);
91
- }
92
-
93
- /* RTL specific styles */
94
- :host([dir='rtl']) [part='toggle'] {
95
- right: 8px;
96
- }
97
-
98
- :host([dir='rtl']) [part='toggle']::after {
99
- left: auto;
100
- right: 0;
101
- }
102
- `;
103
-
104
- registerStyles('vaadin-details-summary', detailsSummary, { moduleId: 'material-details-summary' });
105
-
106
- export { detailsSummary };
@@ -1,2 +0,0 @@
1
- import './vaadin-details-summary-styles.js';
2
- import '../../src/vaadin-details-summary.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-details-summary-styles.js';
2
- import '../../src/vaadin-details-summary.js';
@@ -1,3 +0,0 @@
1
- import './vaadin-details-summary.js';
2
- import './vaadin-details-styles.js';
3
- import '../../src/vaadin-details.js';
@@ -1,3 +0,0 @@
1
- import './vaadin-details-summary.js';
2
- import './vaadin-details-styles.js';
3
- import '../../src/vaadin-details.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-details-summary-styles.js';
2
- import '../../src/vaadin-lit-details-summary.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-details-summary-styles.js';
2
- import '../../src/vaadin-lit-details-summary.js';
@@ -1,3 +0,0 @@
1
- import './vaadin-lit-details-summary.js';
2
- import './vaadin-details-styles.js';
3
- import '../../src/vaadin-lit-details.js';
@@ -1,3 +0,0 @@
1
- import './vaadin-lit-details-summary.js';
2
- import './vaadin-details-styles.js';
3
- import '../../src/vaadin-lit-details.js';
@@ -1 +0,0 @@
1
- export * from './src/vaadin-details-summary.js';
@@ -1,2 +0,0 @@
1
- import './theme/lumo/vaadin-lit-details-summary.js';
2
- export * from './src/vaadin-lit-details-summary.js';
@@ -1 +0,0 @@
1
- export * from './src/vaadin-details.js';
@@ -1,2 +0,0 @@
1
- import './theme/lumo/vaadin-lit-details.js';
2
- export * from './src/vaadin-lit-details.js';