@m3e/card 1.0.0-rc.1

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 (42) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +268 -0
  3. package/cem.config.mjs +16 -0
  4. package/demo/index.html +126 -0
  5. package/dist/css-custom-data.json +367 -0
  6. package/dist/custom-elements.json +629 -0
  7. package/dist/html-custom-data.json +33 -0
  8. package/dist/index.js +689 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/index.min.js +272 -0
  11. package/dist/index.min.js.map +1 -0
  12. package/dist/src/CardElement.d.ts +168 -0
  13. package/dist/src/CardElement.d.ts.map +1 -0
  14. package/dist/src/CardOrientation.d.ts +3 -0
  15. package/dist/src/CardOrientation.d.ts.map +1 -0
  16. package/dist/src/CardVariant.d.ts +3 -0
  17. package/dist/src/CardVariant.d.ts.map +1 -0
  18. package/dist/src/index.d.ts +4 -0
  19. package/dist/src/index.d.ts.map +1 -0
  20. package/dist/src/styles/CardStyle.d.ts +7 -0
  21. package/dist/src/styles/CardStyle.d.ts.map +1 -0
  22. package/dist/src/styles/CardToken.d.ts +9 -0
  23. package/dist/src/styles/CardToken.d.ts.map +1 -0
  24. package/dist/src/styles/CardVariantStyle.d.ts +7 -0
  25. package/dist/src/styles/CardVariantStyle.d.ts.map +1 -0
  26. package/dist/src/styles/CardVariantToken.d.ts +50 -0
  27. package/dist/src/styles/CardVariantToken.d.ts.map +1 -0
  28. package/dist/src/styles/index.d.ts +3 -0
  29. package/dist/src/styles/index.d.ts.map +1 -0
  30. package/eslint.config.mjs +13 -0
  31. package/package.json +48 -0
  32. package/rollup.config.js +32 -0
  33. package/src/CardElement.ts +258 -0
  34. package/src/CardOrientation.ts +2 -0
  35. package/src/CardVariant.ts +2 -0
  36. package/src/index.ts +3 -0
  37. package/src/styles/CardStyle.ts +163 -0
  38. package/src/styles/CardToken.ts +12 -0
  39. package/src/styles/CardVariantStyle.ts +99 -0
  40. package/src/styles/CardVariantToken.ts +205 -0
  41. package/src/styles/index.ts +2 -0
  42. package/tsconfig.json +9 -0
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 matraic
4
+ Contact: matraic@yahoo.com
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,268 @@
1
+ # @m3e/card
2
+
3
+ The `m3e-card` component is a flexible, expressive container for presenting a unified subject—text, media, and actions—on a visually distinct surface. It supports multiple appearance variants via the `variant` attribute: `filled` (default, for solid emphasis), `outlined` (for subtle framing with a border), and `elevated` (for depth and motion with shadow elevation).
4
+
5
+ Cards can be made actionable, responding to user interaction when the `actionable` attribute is set, and can be presented inline with surrounding content using the `inline` attribute.
6
+
7
+ It supports both vertical and horizontal layouts through the `orientation` attribute. Content organization is enabled via dedicated slots for `header`, `content`, `actions`, and `footer`, or developers can use the default slot for custom layouts.
8
+
9
+ The component provides dynamic elevation, adaptive shape, and expressive color theming, and responds to interaction states (hover, focus, press, disabled) with smooth motion and visual feedback, ensuring clarity, accessibility, and a cohesive user experience in accordance with Material Design 3 guidelines.
10
+
11
+ > **Part of the [M3E](../../README.md) monorepo**
12
+ > This package is maintained within the unified M3E repository, which provides a suite of Material 3 web components.
13
+
14
+ ## 📦 Installation
15
+
16
+ ```bash
17
+ npm install @m3e/card
18
+ ```
19
+
20
+ ## 💻 Editor Integration
21
+
22
+ This package includes a [Custom Elements Manifest](https://github.com/webcomponents/custom-elements-manifest) to support enhanced editor tooling and developer experience.
23
+
24
+ ### Visual Studio Code
25
+
26
+ To enable autocomplete and hover documentation for `@m3e/card`, install the [Custom Elements Manifest Language Server](https://marketplace.visualstudio.com/items?itemName=pwrs.cem-language-server-vscode) extension. It will automatically detect the manifest bundled with this package and surface tag names, attributes, slots, and events in supported files.
27
+
28
+ Alternately, you can explicitly reference the `html-custom-data.json` and `css-custom-data.json` in your workspace settings:
29
+
30
+ ```json
31
+ {
32
+ "html.customData": ["./node_modules/@m3e/card/dist/html-custom-data.json"],
33
+ "css.customData": ["./node_modules/@m3e/card/dist/css-custom-data.json"]
34
+ }
35
+ ```
36
+
37
+ ## 🚀 Browser Usage
38
+
39
+ This package uses [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#module_specifiers). To use it directly in a browser without a bundler, use a module script similar to the following.
40
+
41
+ ```html
42
+ <script type="module" src="/node_modules/@m3e/card/dist/index.js"></script>
43
+ ```
44
+
45
+ In addition, you must use an [import map](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type/importmap) to include dependencies.
46
+
47
+ ```html
48
+ <script type="importmap">
49
+ {
50
+ "imports": {
51
+ "lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
52
+ "@m3e/core": "/node_modules/@m3e/core/dist/index.js"
53
+ }
54
+ }
55
+ </script>
56
+ ```
57
+
58
+ > For production, use index.min.js for faster load times.
59
+
60
+ ## 🗂️ Elements
61
+
62
+ - `m3e-card` — A content container for text, images (or other media), and actions in the context of a single subject.
63
+
64
+ ## 🧪 Examples
65
+
66
+ The following example illustrates each of the dedicated slots of a card.
67
+
68
+ ```html
69
+ <m3e-card>
70
+ <div slot="header">Header section</div>
71
+ <div slot="content">Content section</div>
72
+ <div slot="actions">Actions section</div>
73
+ <div slot="footer">Footer section</div>
74
+ </m3e-card>
75
+ ```
76
+
77
+ ## 📖 API Reference
78
+
79
+ This section details the attributes, slots and CSS custom properties available for the `m3e-card` component.
80
+
81
+ ### ⚙️ Attributes
82
+
83
+ | Attribute | Type | Default | Description |
84
+ | ------------- | -------------------------------------- | ------------ | --------------------------------------------------------------------- |
85
+ | `actionable` | `boolean` | `false` | Whether the card is "actionable" and will respond to use interaction. |
86
+ | `inline` | `boolean` | `false` | Whether to present the card inline with surrounding content. |
87
+ | `orientation` | `"horizontal" \| "vertical"` | `"vertical"` | The orientation of the card. |
88
+ | `variant` | `"filled" \| "outlined" \| "elevated"` | `"filled"` | The appearance variant of the card. |
89
+
90
+ ### 🧩 Slots
91
+
92
+ | Slot | Description |
93
+ | ----------- | -------------------------------- |
94
+ | _(default)_ | Renders content without padding. |
95
+ | `header` | Renders the header section. |
96
+ | `content` | Renders padded content. |
97
+ | `actions` | Renders interactive controls. |
98
+ | `footer` | Renders footer content. |
99
+
100
+ ### 🎛️ CSS Custom Properties
101
+
102
+ The `m3e-card` element supports extensive theming via scoped CSS custom properties. These properties enable fine-grained control over layout, shape, elevation, color, and interaction states across all appearance variants.
103
+
104
+ #### 🧱 Global Properties
105
+
106
+ | Property | Description |
107
+ | -------------------- | ----------------------------------------- |
108
+ | `--m3e-card-padding` | Internal spacing for all slotted regions. |
109
+ | `--m3e-card-shape` | Corner radius of the card container. |
110
+
111
+ #### 🟫 Filled Variant
112
+
113
+ ##### Base
114
+
115
+ | Property | Description |
116
+ | --------------------------------------- | ---------------------------------- |
117
+ | `--m3e-filled-card-text-color` | Foreground color for text content. |
118
+ | `--m3e-filled-card-container-color` | Background color of the container. |
119
+ | `--m3e-filled-card-container-elevation` | Elevation level of the container. |
120
+
121
+ ##### Disabled
122
+
123
+ | Property | Description |
124
+ | -------------------------------------------------------- | ---------------------------------------- |
125
+ | `--m3e-filled-card-disabled-text-color` | Text color when disabled. |
126
+ | `--m3e-filled-card-disabled-text-opacity` | Opacity applied to text when disabled. |
127
+ | `--m3e-filled-card-disabled-container-color` | Background color when disabled. |
128
+ | `--m3e-filled-card-disabled-container-elevation` | Elevation level when disabled. |
129
+ | `--m3e-filled-card-disabled-container-elevation-color` | Shadow color when disabled. |
130
+ | `--m3e-filled-card-disabled-container-elevation-opacity` | Shadow opacity when disabled. |
131
+ | `--m3e-filled-card-disabled-container-opacity` | Overall container opacity when disabled. |
132
+
133
+ ##### Hover
134
+
135
+ | Property | Description |
136
+ | --------------------------------------------- | ----------------------------- |
137
+ | `--m3e-filled-card-hover-text-color` | Text color on hover. |
138
+ | `--m3e-filled-card-hover-state-layer-color` | State layer color on hover. |
139
+ | `--m3e-filled-card-hover-state-layer-opacity` | State layer opacity on hover. |
140
+ | `--m3e-filled-card-hover-container-elevation` | Elevation level on hover. |
141
+
142
+ ##### Focus
143
+
144
+ | Property | Description |
145
+ | --------------------------------------------- | ----------------------------- |
146
+ | `--m3e-filled-card-focus-text-color` | Text color on focus. |
147
+ | `--m3e-filled-card-focus-state-layer-color` | State layer color on focus. |
148
+ | `--m3e-filled-card-focus-state-layer-opacity` | State layer opacity on focus. |
149
+ | `--m3e-filled-card-focus-container-elevation` | Elevation level on focus. |
150
+
151
+ ##### Pressed
152
+
153
+ | Property | Description |
154
+ | ----------------------------------------------- | ----------------------------- |
155
+ | `--m3e-filled-card-pressed-text-color` | Text color on press. |
156
+ | `--m3e-filled-card-pressed-state-layer-color` | State layer color on press. |
157
+ | `--m3e-filled-card-pressed-state-layer-opacity` | State layer opacity on press. |
158
+ | `--m3e-filled-card-pressed-container-elevation` | Elevation level on press. |
159
+
160
+ #### 🟪 Elevated Variant
161
+
162
+ ##### Base
163
+
164
+ | Property | Description |
165
+ | ----------------------------------------- | ---------------------------------- |
166
+ | `--m3e-elevated-card-text-color` | Foreground color for text content. |
167
+ | `--m3e-elevated-card-container-color` | Background color of the container. |
168
+ | `--m3e-elevated-card-container-elevation` | Elevation level of the container. |
169
+
170
+ ##### Disabled
171
+
172
+ | Property | Description |
173
+ | ---------------------------------------------------------- | ---------------------------------------- |
174
+ | `--m3e-elevated-card-disabled-text-color` | Text color when disabled. |
175
+ | `--m3e-elevated-card-disabled-text-opacity` | Opacity applied to text when disabled. |
176
+ | `--m3e-elevated-card-disabled-container-color` | Background color when disabled. |
177
+ | `--m3e-elevated-card-disabled-container-elevation` | Elevation level when disabled. |
178
+ | `--m3e-elevated-card-disabled-container-elevation-color` | Shadow color when disabled. |
179
+ | `--m3e-elevated-card-disabled-container-elevation-opacity` | Shadow opacity when disabled. |
180
+ | `--m3e-elevated-card-disabled-container-opacity` | Overall container opacity when disabled. |
181
+
182
+ ##### Hover
183
+
184
+ | Property | Description |
185
+ | ----------------------------------------------- | ----------------------------- |
186
+ | `--m3e-elevated-card-hover-text-color` | Text color on hover. |
187
+ | `--m3e-elevated-card-hover-state-layer-color` | State layer color on hover. |
188
+ | `--m3e-elevated-card-hover-state-layer-opacity` | State layer opacity on hover. |
189
+ | `--m3e-elevated-card-hover-container-elevation` | Elevation level on hover. |
190
+
191
+ ##### Focus
192
+
193
+ | Property | Description |
194
+ | ----------------------------------------------- | ----------------------------- |
195
+ | `--m3e-elevated-card-focus-text-color` | Text color on focus. |
196
+ | `--m3e-elevated-card-focus-state-layer-color` | State layer color on focus. |
197
+ | `--m3e-elevated-card-focus-state-layer-opacity` | State layer opacity on focus. |
198
+ | `--m3e-elevated-card-focus-container-elevation` | Elevation level on focus. |
199
+
200
+ ##### Pressed
201
+
202
+ | Property | Description |
203
+ | ------------------------------------------------- | ----------------------------- |
204
+ | `--m3e-elevated-card-pressed-text-color` | Text color on press. |
205
+ | `--m3e-elevated-card-pressed-state-layer-color` | State layer color on press. |
206
+ | `--m3e-elevated-card-pressed-state-layer-opacity` | State layer opacity on press. |
207
+ | `--m3e-elevated-card-pressed-container-elevation` | Elevation level on press. |
208
+
209
+ #### 🟦 Outlined Variant
210
+
211
+ ##### Base
212
+
213
+ | Property | Description |
214
+ | ----------------------------------------- | ---------------------------------- |
215
+ | `--m3e-outlined-card-text-color` | Foreground color for text content. |
216
+ | `--m3e-outlined-card-container-elevation` | Elevation level of the container. |
217
+ | `--m3e-outlined-card-outline-color` | Border color of the card. |
218
+ | `--m3e-outlined-card-outline-thickness` | Border thickness of the card. |
219
+
220
+ ##### Disabled
221
+
222
+ | Property | Description |
223
+ | ---------------------------------------------------------- | -------------------------------------- |
224
+ | `--m3e-outlined-card-disabled-text-color` | Text color when disabled. |
225
+ | `--m3e-outlined-card-disabled-text-opacity` | Opacity applied to text when disabled. |
226
+ | `--m3e-outlined-card-disabled-container-elevation` | Elevation level when disabled. |
227
+ | `--m3e-outlined-card-disabled-container-elevation-color` | Shadow color when disabled. |
228
+ | `--m3e-outlined-card-disabled-container-elevation-opacity` | Shadow opacity when disabled. |
229
+ | `--m3e-outlined-card-disabled-outline-color` | Border color when disabled. |
230
+ | `--m3e-outlined-card-disabled-outline-opacity` | Border opacity when disabled. |
231
+
232
+ ##### Hover
233
+
234
+ | Property | Description |
235
+ | ----------------------------------------------- | ----------------------------- |
236
+ | `--m3e-outlined-card-hover-text-color` | Text color on hover. |
237
+ | `--m3e-outlined-card-hover-state-layer-color` | State layer color on hover. |
238
+ | `--m3e-outlined-card-hover-state-layer-opacity` | State layer opacity on hover. |
239
+ | `--m3e-outlined-card-hover-container-elevation` | Elevation level on hover. |
240
+ | `--m3e-outlined-card-hover-outline-color` | Border color on hover. |
241
+
242
+ ##### Focus
243
+
244
+ | Property | Description |
245
+ | ----------------------------------------------- | ----------------------------- |
246
+ | `--m3e-outlined-card-focus-text-color` | Text color on focus. |
247
+ | `--m3e-outlined-card-focus-state-layer-color` | State layer color on focus. |
248
+ | `--m3e-outlined-card-focus-state-layer-opacity` | State layer opacity on focus. |
249
+ | `--m3e-outlined-card-focus-container-elevation` | Elevation level on focus. |
250
+ | `--m3e-outlined-card-focus-outline-color` | Border color on focus. |
251
+
252
+ ##### Pressed
253
+
254
+ | Property | Description |
255
+ | ------------------------------------------------- | ----------------------------- |
256
+ | `--m3e-outlined-card-pressed-text-color` | Text color on press. |
257
+ | `--m3e-outlined-card-pressed-state-layer-color` | State layer color on press. |
258
+ | `--m3e-outlined-card-pressed-state-layer-opacity` | State layer opacity on press. |
259
+ | `--m3e-outlined-card-pressed-container-elevation` | Elevation level on press. |
260
+ | `--m3e-outlined-card-pressed-outline-color` | Border color on press. |
261
+
262
+ ## 🤝 Contributing
263
+
264
+ See the root monorepo `CONTRIBUTING.md` for guidelines on contributing to this package.
265
+
266
+ ## 📄 License
267
+
268
+ This package is licensed under the MIT License.
package/cem.config.mjs ADDED
@@ -0,0 +1,16 @@
1
+ import { customElementVsCodePlugin } from "custom-element-vs-code-integration";
2
+
3
+ export default {
4
+ globs: ["src/**/*.ts"],
5
+ exclude: ["src/**/*.spec.ts"],
6
+ packagejson: true,
7
+ outdir: "dist",
8
+ litelement: true,
9
+ plugins: [
10
+ customElementVsCodePlugin({
11
+ outdir: "dist",
12
+ htmlFileName: "html-custom-data.json",
13
+ cssFileName: "css-custom-data.json",
14
+ }),
15
+ ],
16
+ };
@@ -0,0 +1,126 @@
1
+ <!doctype html>
2
+ <html lang="en" style="overflow-y: auto">
3
+ <head>
4
+ <title>Card for M3E</title>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="description" content="Card for M3E" />
8
+ <base href="./" />
9
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
11
+ <link
12
+ href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
13
+ rel="stylesheet"
14
+ />
15
+ <link
16
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0..1,0"
17
+ rel="stylesheet"
18
+ />
19
+ <script type="importmap">
20
+ {
21
+ "imports": {
22
+ "lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
23
+ "@m3e/core": "../../core/dist/index.min.js"
24
+ }
25
+ }
26
+ </script>
27
+ <script type="module" src="../../theme/dist/index.min.js"></script>
28
+ <script type="module" src="../dist/index.min.js"></script>
29
+ <style>
30
+ body {
31
+ font-family: "Roboto";
32
+ }
33
+ *:not(:defined) {
34
+ display: none;
35
+ }
36
+ </style>
37
+ </head>
38
+ <body>
39
+ <m3e-theme strong-focus>
40
+ <m3e-card variant="filled"><div slot="content">Filled card</div></m3e-card>
41
+ <br />
42
+ <m3e-card variant="elevated"><div slot="content">Elevated card</div></m3e-card>
43
+ <br />
44
+ <m3e-card variant="outlined"><div slot="content">Outlined card</div></m3e-card>
45
+ <br />
46
+ <m3e-card style="width: 200px; height: 200px" inline>
47
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
48
+ <div slot="content">Image card</div>
49
+ </m3e-card>
50
+ <m3e-card style="width: 200px; height: 80px" inline orientation="horizontal">
51
+ <img
52
+ slot="header"
53
+ style="width: 80px"
54
+ src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480"
55
+ />
56
+ <div slot="content">Image card</div>
57
+ </m3e-card>
58
+ <br /><br />
59
+ <m3e-card style="width: 200px; height: 200px" actionable variant="filled" inline>
60
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
61
+ <div slot="content">Filled actionable card</div>
62
+ </m3e-card>
63
+ <m3e-card style="width: 200px; height: 200px" actionable variant="filled" inline disabled-interactive>
64
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
65
+ <div slot="content">Filled disabled interactive actionable card</div>
66
+ </m3e-card>
67
+ <m3e-card style="width: 200px; height: 200px" actionable variant="filled" inline disabled>
68
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
69
+ <div slot="content">Filled disabled actionable card</div>
70
+ </m3e-card>
71
+ <br /><br />
72
+ <m3e-card style="width: 200px; height: 200px" actionable variant="elevated" inline>
73
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
74
+ <div slot="content">Elevated actionable card</div>
75
+ </m3e-card>
76
+ <m3e-card style="width: 200px; height: 200px" actionable variant="elevated" inline disabled-interactive>
77
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
78
+ <div slot="content">Elevated disabled interactive actionable card</div>
79
+ </m3e-card>
80
+ <m3e-card style="width: 200px; height: 200px" actionable variant="elevated" inline disabled>
81
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
82
+ <div slot="content">Elevated disabled actionable card</div>
83
+ </m3e-card>
84
+ <br /><br />
85
+ <m3e-card style="width: 200px; height: 200px" actionable variant="outlined" inline>
86
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
87
+ <div slot="content">Outlined actionable card</div>
88
+ </m3e-card>
89
+ <m3e-card style="width: 200px; height: 200px" actionable variant="outlined" inline disabled-interactive>
90
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
91
+ <div slot="content">Outlined disabled interactive actionable card</div>
92
+ </m3e-card>
93
+ <m3e-card style="width: 200px; height: 200px" actionable variant="outlined" inline disabled>
94
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
95
+ <div slot="content">Outlined disabled actionable card</div>
96
+ </m3e-card>
97
+ <br /><br />
98
+ <m3e-card style="width: 200px; height: 200px" actionable inline href="https://www.google.com" target="_blank">
99
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
100
+ <div slot="content">Actionable link card</div>
101
+ </m3e-card>
102
+ <m3e-card
103
+ style="width: 200px; height: 200px"
104
+ actionable
105
+ inline
106
+ disabled-interactive
107
+ href="https://www.google.com"
108
+ target="_blank"
109
+ >
110
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
111
+ <div slot="content">Disabled interactive actionable link card</div>
112
+ </m3e-card>
113
+ <m3e-card
114
+ style="width: 200px; height: 200px"
115
+ actionable
116
+ inline
117
+ disabled
118
+ href="https://www.google.com"
119
+ target="_blank"
120
+ >
121
+ <img slot="header" src="https://www.shutterstock.com/shutterstock/videos/1006393/thumb/1.jpg?ip=x480" />
122
+ <div slot="content">Disabled actionable link card</div>
123
+ </m3e-card>
124
+ </m3e-theme>
125
+ </body>
126
+ </html>