@htmlbricks/hb-faq-component 0.68.1 → 0.68.3

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 (2) hide show
  1. package/manifest.json +100 -1
  2. package/package.json +1 -1
package/manifest.json CHANGED
@@ -111,6 +111,7 @@
111
111
  "examples": [
112
112
  {
113
113
  "name": "default",
114
+ "description": "Several topics plus a catch-all filter reset.",
114
115
  "data": {
115
116
  "info": [
116
117
  {
@@ -153,6 +154,104 @@
153
154
  }
154
155
  ]
155
156
  }
157
+ },
158
+ {
159
+ "name": "minimal",
160
+ "description": "One topic and one question for embeds.",
161
+ "data": {
162
+ "info": [
163
+ {
164
+ "topic": "general",
165
+ "title": "What is this?",
166
+ "text": "<p>Short <strong>HTML</strong> answer.</p>"
167
+ }
168
+ ],
169
+ "topics": [
170
+ {
171
+ "key": "general",
172
+ "label": "General",
173
+ "icon": "question-circle"
174
+ }
175
+ ]
176
+ }
177
+ },
178
+ {
179
+ "name": "prefiltered",
180
+ "description": "Initial topic selection via `filter`.",
181
+ "data": {
182
+ "info": [
183
+ {
184
+ "topic": "test",
185
+ "title": "test title",
186
+ "text": "text <a href=\"ss\">ddd</a>text"
187
+ },
188
+ {
189
+ "topic": "test2",
190
+ "title": "test title2",
191
+ "text": "text <a href=\"ss\">ddd</a>text"
192
+ },
193
+ {
194
+ "topic": "test3",
195
+ "title": "test title3",
196
+ "text": "text <a href=\"ss\">ddd</a>text"
197
+ }
198
+ ],
199
+ "topics": [
200
+ {
201
+ "key": "test",
202
+ "label": "test label",
203
+ "icon": "globe"
204
+ },
205
+ {
206
+ "key": "test2",
207
+ "label": "test2 label",
208
+ "icon": "asterisk"
209
+ },
210
+ {
211
+ "key": "test3",
212
+ "label": "test3 label",
213
+ "icon": "globe"
214
+ },
215
+ {
216
+ "key": "test4",
217
+ "label": "test4 label",
218
+ "icon": "globe",
219
+ "catchAll": true
220
+ }
221
+ ],
222
+ "filter": "test2"
223
+ }
224
+ },
225
+ {
226
+ "name": "catchAllOnly",
227
+ "description": "Single “All topics” chip that clears filtering.",
228
+ "data": {
229
+ "info": [
230
+ {
231
+ "topic": "test",
232
+ "title": "test title",
233
+ "text": "text <a href=\"ss\">ddd</a>text"
234
+ },
235
+ {
236
+ "topic": "test2",
237
+ "title": "test title2",
238
+ "text": "text <a href=\"ss\">ddd</a>text"
239
+ },
240
+ {
241
+ "topic": "test3",
242
+ "title": "test title3",
243
+ "text": "text <a href=\"ss\">ddd</a>text"
244
+ }
245
+ ],
246
+ "topics": [
247
+ {
248
+ "key": "all",
249
+ "label": "All",
250
+ "icon": "grid",
251
+ "catchAll": true
252
+ }
253
+ ]
254
+ }
156
255
  }
157
256
  ],
158
257
  "iifeIntegrity": "sha384-EN5ZHGEY8E1Cfpc8DbprN7dcI6IIcbCPGCj0PuFrkONFRja5ny0hgmZvglRV+yHB",
@@ -175,5 +274,5 @@
175
274
  "size": {},
176
275
  "iifePath": "main.iife.js",
177
276
  "repoName": "@htmlbricks/hb-faq-component",
178
- "version": "0.68.1"
277
+ "version": "0.68.3"
179
278
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-faq-component",
3
- "version": "0.68.1",
3
+ "version": "0.68.3",
4
4
  "contributors": [],
5
5
  "description": "FAQ layout with a horizontal topic strip (Bootstrap Icons + labels) that sets an optional `filter` key, and an accordion list built from JSON `info` entries (`title`, `topic`, HTML `text`). Checkbox hack expands/collapses answers; topics with `catchAll` clear the filter.",
6
6
  "licenses": [