airport-one-widgets 0.2.12 → 0.2.13
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/README.md +11 -4
- package/dist/airport-one-widgets.iife.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -136,10 +136,11 @@ The widget uses Shadow DOM for style isolation and provides CSS parts for custom
|
|
|
136
136
|
|
|
137
137
|
### Available Parts
|
|
138
138
|
|
|
139
|
-
| Part Name
|
|
140
|
-
|
|
|
141
|
-
| `airfare-content-container`
|
|
142
|
-
| `airfare-content-item`
|
|
139
|
+
| Part Name | Description |
|
|
140
|
+
| --------------------------------- | --------------------------------------------------------------------------- |
|
|
141
|
+
| `airfare-content-container` | The main container that holds all flight items |
|
|
142
|
+
| `airfare-content-item` | Individual flight destination items |
|
|
143
|
+
| `airfare-content-item-disclaimer` | The real-time pricing / “Powered by KAYAK” disclaimer below the destination grid |
|
|
143
144
|
|
|
144
145
|
### Styling Examples
|
|
145
146
|
|
|
@@ -160,6 +161,12 @@ fma-airfare-content::part(airfare-content-item):hover {
|
|
|
160
161
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
161
162
|
transform: translateY(-2px);
|
|
162
163
|
}
|
|
164
|
+
|
|
165
|
+
/* Style the pricing disclaimer */
|
|
166
|
+
fma-airfare-content::part(airfare-content-item-disclaimer) {
|
|
167
|
+
font-size: 0.75rem;
|
|
168
|
+
margin-top: 1rem;
|
|
169
|
+
}
|
|
163
170
|
```
|
|
164
171
|
|
|
165
172
|
## Carfare Search
|