@carbon/ibm-products-web-components 0.14.0 → 0.15.0
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/custom-elements.json +111 -0
- package/es/components/about-modal/about-modal.d.ts +3 -1
- package/es/components/about-modal/about-modal.scss.js +1 -1
- package/es/components/options-tile/index.d.ts +9 -0
- package/es/components/options-tile/index.js +9 -0
- package/es/components/options-tile/index.js.map +1 -0
- package/es/components/options-tile/options-tile.d.ts +400 -0
- package/es/components/options-tile/options-tile.js +143 -0
- package/es/components/options-tile/options-tile.js.map +1 -0
- package/es/components/options-tile/options-tile.scss.js +13 -0
- package/es/components/options-tile/options-tile.scss.js.map +1 -0
- package/es/components/tearsheet/tearsheet.scss.js +1 -1
- package/es/components/user-avatar/user-avatar.d.ts +5 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/package.json.js +1 -1
- package/es-custom/components/about-modal/about-modal.d.ts +3 -1
- package/es-custom/components/about-modal/about-modal.scss.js +1 -1
- package/es-custom/components/options-tile/index.d.ts +9 -0
- package/es-custom/components/options-tile/index.js +9 -0
- package/es-custom/components/options-tile/index.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.d.ts +400 -0
- package/es-custom/components/options-tile/options-tile.js +143 -0
- package/es-custom/components/options-tile/options-tile.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.scss.js +13 -0
- package/es-custom/components/options-tile/options-tile.scss.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
- package/es-custom/components/user-avatar/user-avatar.d.ts +5 -1
- package/es-custom/index.d.ts +1 -0
- package/es-custom/index.js +1 -0
- package/es-custom/index.js.map +1 -1
- package/es-custom/package.json.js +1 -1
- package/lib/components/about-modal/about-modal.d.ts +3 -1
- package/lib/components/options-tile/index.d.ts +9 -0
- package/lib/components/options-tile/options-tile.d.ts +400 -0
- package/lib/components/user-avatar/user-avatar.d.ts +5 -1
- package/lib/index.d.ts +1 -0
- package/package.json +19 -19
- package/scss/components/options-tile/options-tile.scss +70 -0
package/custom-elements.json
CHANGED
@@ -251,6 +251,117 @@
|
|
251
251
|
}
|
252
252
|
]
|
253
253
|
},
|
254
|
+
{
|
255
|
+
"name": "c4p-options-tile",
|
256
|
+
"path": "./src/components/options-tile/options-tile.ts",
|
257
|
+
"description": "OptionsTile.",
|
258
|
+
"attributes": [
|
259
|
+
{
|
260
|
+
"name": "open",
|
261
|
+
"description": "If `true` the body of the component is shown",
|
262
|
+
"type": "boolean",
|
263
|
+
"default": "false"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"name": "onClose",
|
267
|
+
"description": "Callback fired when the component requests to be closed",
|
268
|
+
"type": "((evt: Event) => void) | undefined"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"name": "onOpen",
|
272
|
+
"description": "Callback fired when the component requests to be opened",
|
273
|
+
"type": "((evt: Event) => void) | undefined"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"name": "title",
|
277
|
+
"description": "Text for the title",
|
278
|
+
"type": "string",
|
279
|
+
"default": "\"\""
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"name": "titleId",
|
283
|
+
"description": "ID for the title",
|
284
|
+
"type": "string",
|
285
|
+
"default": "\"\""
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"name": "size",
|
289
|
+
"description": "Determines the size of the header",
|
290
|
+
"type": "\"lg\" | \"xl\" | undefined",
|
291
|
+
"default": "\"lg\""
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"properties": [
|
295
|
+
{
|
296
|
+
"name": "open",
|
297
|
+
"attribute": "open",
|
298
|
+
"description": "If `true` the body of the component is shown",
|
299
|
+
"type": "boolean",
|
300
|
+
"default": "false"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"name": "onClose",
|
304
|
+
"attribute": "onClose",
|
305
|
+
"description": "Callback fired when the component requests to be closed",
|
306
|
+
"type": "((evt: Event) => void) | undefined"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"name": "onOpen",
|
310
|
+
"attribute": "onOpen",
|
311
|
+
"description": "Callback fired when the component requests to be opened",
|
312
|
+
"type": "((evt: Event) => void) | undefined"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"name": "title",
|
316
|
+
"attribute": "title",
|
317
|
+
"description": "Text for the title",
|
318
|
+
"type": "string",
|
319
|
+
"default": "\"\""
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"name": "titleId",
|
323
|
+
"attribute": "titleId",
|
324
|
+
"description": "ID for the title",
|
325
|
+
"type": "string",
|
326
|
+
"default": "\"\""
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"name": "styles",
|
330
|
+
"default": "\"styles\""
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"name": "size",
|
334
|
+
"attribute": "size",
|
335
|
+
"description": "Determines the size of the header",
|
336
|
+
"type": "\"lg\" | \"xl\" | undefined",
|
337
|
+
"default": "\"lg\""
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"name": "customElements",
|
341
|
+
"type": "CustomElementRegistry | undefined"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"name": "registry",
|
345
|
+
"type": "CustomElementRegistry | undefined"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"events": [
|
349
|
+
{
|
350
|
+
"name": "c4p-options-tile-open",
|
351
|
+
"description": "Custom event fired when tile is opened"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"name": "c4p-options-tile-close",
|
355
|
+
"description": "Custom event fired when tile is closed"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"cssParts": [
|
359
|
+
{
|
360
|
+
"name": "options",
|
361
|
+
"description": "tile The options tile"
|
362
|
+
}
|
363
|
+
]
|
364
|
+
},
|
254
365
|
{
|
255
366
|
"name": "c4p-side-panel",
|
256
367
|
"path": "./src/components/side-panel/side-panel.ts",
|
@@ -37,7 +37,9 @@ declare const CDSAboutModal_base: {
|
|
37
37
|
click(): void;
|
38
38
|
hidePopover(): void;
|
39
39
|
showPopover(): void;
|
40
|
-
togglePopover(force
|
40
|
+
togglePopover(force? /**
|
41
|
+
* Determines if About Modal is open or not.
|
42
|
+
*/: boolean): boolean;
|
41
43
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
42
44
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
43
45
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|