@tylertech/forge 2.16.2-dev.0 → 2.16.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 (34) hide show
  1. package/custom-elements.json +460 -460
  2. package/dist/esm/app-bar/index.js +1 -1
  3. package/dist/esm/app-bar/profile-button/index.js +1 -1
  4. package/dist/esm/avatar/index.js +1 -1
  5. package/dist/esm/chunks/{chunk.Q7LFOS2I.js → chunk.4FBPHKAE.js} +2 -2
  6. package/dist/esm/chunks/{chunk.7AEMNSV3.js → chunk.7OGAJZWK.js} +2 -2
  7. package/dist/esm/chunks/{chunk.MBDF4C2J.js → chunk.AJV7YPDX.js} +2 -2
  8. package/dist/esm/chunks/{chunk.MBDF4C2J.js.map → chunk.AJV7YPDX.js.map} +1 -1
  9. package/dist/esm/chunks/chunk.AVKCWA7I.js +7 -0
  10. package/dist/esm/chunks/{chunk.J6WCFQSS.js.map → chunk.AVKCWA7I.js.map} +2 -2
  11. package/dist/esm/chunks/chunk.P5HFRNJW.js +7 -0
  12. package/dist/esm/chunks/chunk.P5HFRNJW.js.map +7 -0
  13. package/dist/esm/chunks/{chunk.LYM6SPBV.js → chunk.QTVJPG7D.js} +2 -2
  14. package/dist/esm/chunks/{chunk.SXTTEIIH.js → chunk.SHTHI473.js} +2 -2
  15. package/dist/esm/chunks/{chunk.XQ2EQIDS.js → chunk.YDBWGKR4.js} +2 -2
  16. package/dist/esm/index.js +1 -1
  17. package/dist/esm/paginator/index.js +1 -1
  18. package/dist/esm/profile-card/index.js +1 -1
  19. package/dist/esm/split-view/index.js +1 -1
  20. package/dist/esm/split-view/split-view/index.js +1 -1
  21. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  22. package/dist/esm/utils/index.js +1 -1
  23. package/esm/paginator/paginator-foundation.js +2 -0
  24. package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
  25. package/esm/utils/color-utils.js +1 -0
  26. package/package.json +2 -2
  27. package/dist/esm/chunks/chunk.J6WCFQSS.js +0 -7
  28. package/dist/esm/chunks/chunk.V6PXSHJ4.js +0 -7
  29. package/dist/esm/chunks/chunk.V6PXSHJ4.js.map +0 -7
  30. /package/dist/esm/chunks/{chunk.Q7LFOS2I.js.map → chunk.4FBPHKAE.js.map} +0 -0
  31. /package/dist/esm/chunks/{chunk.7AEMNSV3.js.map → chunk.7OGAJZWK.js.map} +0 -0
  32. /package/dist/esm/chunks/{chunk.LYM6SPBV.js.map → chunk.QTVJPG7D.js.map} +0 -0
  33. /package/dist/esm/chunks/{chunk.SXTTEIIH.js.map → chunk.SHTHI473.js.map} +0 -0
  34. /package/dist/esm/chunks/{chunk.XQ2EQIDS.js.map → chunk.YDBWGKR4.js.map} +0 -0
@@ -6683,16 +6683,16 @@
6683
6683
  },
6684
6684
  {
6685
6685
  "kind": "javascript-module",
6686
- "path": "badge/badge-adapter.ts",
6686
+ "path": "backdrop/backdrop-adapter.ts",
6687
6687
  "declarations": [
6688
6688
  {
6689
6689
  "kind": "class",
6690
- "description": "",
6691
- "name": "BadgeAdapter",
6690
+ "description": "Provides facilities for interacting with the internal DOM of `BackdropComponent`.",
6691
+ "name": "BackdropAdapter",
6692
6692
  "members": [
6693
6693
  {
6694
6694
  "kind": "field",
6695
- "name": "_rootElement",
6695
+ "name": "_backdropElement",
6696
6696
  "type": {
6697
6697
  "text": "HTMLElement"
6698
6698
  },
@@ -6700,7 +6700,7 @@
6700
6700
  },
6701
6701
  {
6702
6702
  "kind": "method",
6703
- "name": "setRootClass",
6703
+ "name": "setBackdropOpacity",
6704
6704
  "privacy": "public",
6705
6705
  "return": {
6706
6706
  "type": {
@@ -6709,16 +6709,18 @@
6709
6709
  },
6710
6710
  "parameters": [
6711
6711
  {
6712
- "name": "classes",
6712
+ "name": "opacity",
6713
6713
  "type": {
6714
- "text": "string | string[]"
6715
- }
6714
+ "text": "number"
6715
+ },
6716
+ "description": "The opacity amount."
6716
6717
  }
6717
- ]
6718
+ ],
6719
+ "description": "Sets the backdrop element opacity."
6718
6720
  },
6719
6721
  {
6720
6722
  "kind": "method",
6721
- "name": "removeRootClass",
6723
+ "name": "addBackdropEventListener",
6722
6724
  "privacy": "public",
6723
6725
  "return": {
6724
6726
  "type": {
@@ -6727,12 +6729,48 @@
6727
6729
  },
6728
6730
  "parameters": [
6729
6731
  {
6730
- "name": "classes",
6732
+ "name": "type",
6731
6733
  "type": {
6732
- "text": "string | string[]"
6733
- }
6734
+ "text": "string"
6735
+ },
6736
+ "description": "The event type."
6737
+ },
6738
+ {
6739
+ "name": "listener",
6740
+ "type": {
6741
+ "text": "(evt: Event) => void"
6742
+ },
6743
+ "description": "The event listener."
6734
6744
  }
6735
- ]
6745
+ ],
6746
+ "description": "Adds a click event to the backdrop container element."
6747
+ },
6748
+ {
6749
+ "kind": "method",
6750
+ "name": "removeBackdropEventListener",
6751
+ "privacy": "public",
6752
+ "return": {
6753
+ "type": {
6754
+ "text": "void"
6755
+ }
6756
+ },
6757
+ "parameters": [
6758
+ {
6759
+ "name": "type",
6760
+ "type": {
6761
+ "text": "string"
6762
+ },
6763
+ "description": "The event type."
6764
+ },
6765
+ {
6766
+ "name": "listener",
6767
+ "type": {
6768
+ "text": "(evt: Event) => void"
6769
+ },
6770
+ "description": "The event listener."
6771
+ }
6772
+ ],
6773
+ "description": "Removes a click event from the backdrop container element."
6736
6774
  },
6737
6775
  {
6738
6776
  "kind": "method",
@@ -7168,365 +7206,273 @@
7168
7206
  "exports": [
7169
7207
  {
7170
7208
  "kind": "js",
7171
- "name": "BadgeAdapter",
7209
+ "name": "BackdropAdapter",
7172
7210
  "declaration": {
7173
- "name": "BadgeAdapter",
7174
- "module": "badge/badge-adapter.ts"
7211
+ "name": "BackdropAdapter",
7212
+ "module": "backdrop/backdrop-adapter.ts"
7175
7213
  }
7176
7214
  }
7177
7215
  ]
7178
7216
  },
7179
7217
  {
7180
7218
  "kind": "javascript-module",
7181
- "path": "badge/badge-component-delegate.ts",
7219
+ "path": "backdrop/backdrop-constants.ts",
7220
+ "declarations": [
7221
+ {
7222
+ "kind": "variable",
7223
+ "name": "BACKDROP_CONSTANTS",
7224
+ "type": {
7225
+ "text": "object"
7226
+ },
7227
+ "default": "{\n elementName,\n selectors,\n numbers,\n attributes,\n events\n}"
7228
+ }
7229
+ ],
7230
+ "exports": [
7231
+ {
7232
+ "kind": "js",
7233
+ "name": "BACKDROP_CONSTANTS",
7234
+ "declaration": {
7235
+ "name": "BACKDROP_CONSTANTS",
7236
+ "module": "backdrop/backdrop-constants.ts"
7237
+ }
7238
+ }
7239
+ ]
7240
+ },
7241
+ {
7242
+ "kind": "javascript-module",
7243
+ "path": "backdrop/backdrop-foundation.ts",
7182
7244
  "declarations": [
7183
7245
  {
7184
7246
  "kind": "class",
7185
7247
  "description": "",
7186
- "name": "BadgeComponentDelegate",
7248
+ "name": "BackdropFoundation",
7187
7249
  "members": [
7188
7250
  {
7189
- "kind": "method",
7190
- "name": "_build",
7191
- "privacy": "protected",
7192
- "return": {
7193
- "type": {
7194
- "text": "IBadgeComponent"
7195
- }
7251
+ "kind": "field",
7252
+ "name": "_delay",
7253
+ "type": {
7254
+ "text": "number"
7196
7255
  },
7197
- "inheritedFrom": {
7198
- "name": "BaseComponentDelegate",
7199
- "module": "core/delegates/base-component-delegate.ts"
7200
- }
7256
+ "privacy": "private"
7201
7257
  },
7202
7258
  {
7203
7259
  "kind": "field",
7204
- "name": "_element",
7260
+ "name": "_maxOpacity",
7205
7261
  "type": {
7206
- "text": "T"
7262
+ "text": "number"
7207
7263
  },
7208
- "privacy": "protected",
7209
- "inheritedFrom": {
7210
- "name": "BaseComponentDelegate",
7211
- "module": "core/delegates/base-component-delegate.ts"
7212
- }
7264
+ "privacy": "private"
7213
7265
  },
7214
7266
  {
7215
7267
  "kind": "field",
7216
- "name": "element",
7268
+ "name": "_appearance",
7217
7269
  "type": {
7218
- "text": "T"
7270
+ "text": "BackdropAppearance"
7219
7271
  },
7220
- "privacy": "public",
7221
- "inheritedFrom": {
7222
- "name": "BaseComponentDelegate",
7223
- "module": "core/delegates/base-component-delegate.ts"
7224
- }
7272
+ "privacy": "private"
7225
7273
  },
7226
7274
  {
7227
7275
  "kind": "method",
7228
- "name": "destroy",
7276
+ "name": "initialize",
7229
7277
  "privacy": "public",
7230
7278
  "return": {
7231
7279
  "type": {
7232
7280
  "text": "void"
7233
7281
  }
7234
- },
7235
- "inheritedFrom": {
7236
- "name": "BaseComponentDelegate",
7237
- "module": "core/delegates/base-component-delegate.ts"
7238
7282
  }
7239
7283
  },
7240
7284
  {
7241
7285
  "kind": "method",
7242
- "name": "disconnect",
7286
+ "name": "fadeOut",
7243
7287
  "privacy": "public",
7244
7288
  "return": {
7245
7289
  "type": {
7246
- "text": "void"
7290
+ "text": "Promise<void>"
7247
7291
  }
7248
7292
  },
7249
- "inheritedFrom": {
7250
- "name": "BaseComponentDelegate",
7251
- "module": "core/delegates/base-component-delegate.ts"
7252
- }
7293
+ "description": "Starts the fade-out animation to animate the backdrop to 0% opacity."
7253
7294
  },
7254
7295
  {
7255
7296
  "kind": "method",
7256
- "name": "_initialize",
7257
- "privacy": "private",
7297
+ "name": "fadeIn",
7298
+ "privacy": "public",
7258
7299
  "return": {
7259
7300
  "type": {
7260
- "text": "void"
7301
+ "text": "Promise<void>"
7261
7302
  }
7262
7303
  },
7263
- "inheritedFrom": {
7264
- "name": "BaseComponentDelegate",
7265
- "module": "core/delegates/base-component-delegate.ts"
7266
- }
7304
+ "description": "Starts the fade-in animation to animate the backdrop to max opacity."
7267
7305
  },
7268
7306
  {
7269
7307
  "kind": "method",
7270
- "name": "_applyProps",
7308
+ "name": "_onClick",
7271
7309
  "privacy": "private",
7272
7310
  "return": {
7273
7311
  "type": {
7274
7312
  "text": "void"
7275
7313
  }
7276
7314
  },
7277
- "inheritedFrom": {
7278
- "name": "BaseComponentDelegate",
7279
- "module": "core/delegates/base-component-delegate.ts"
7280
- }
7315
+ "parameters": [
7316
+ {
7317
+ "name": "evt",
7318
+ "type": {
7319
+ "text": "Event"
7320
+ }
7321
+ }
7322
+ ]
7281
7323
  },
7282
7324
  {
7283
7325
  "kind": "method",
7284
- "name": "_applyStyle",
7285
- "privacy": "private",
7326
+ "name": "disconnect",
7327
+ "privacy": "public",
7286
7328
  "return": {
7287
7329
  "type": {
7288
7330
  "text": "void"
7289
7331
  }
7290
- },
7291
- "inheritedFrom": {
7292
- "name": "BaseComponentDelegate",
7293
- "module": "core/delegates/base-component-delegate.ts"
7294
7332
  }
7295
7333
  },
7296
7334
  {
7297
7335
  "kind": "method",
7298
- "name": "_applyAttrs",
7336
+ "name": "_applyAppearance",
7299
7337
  "privacy": "private",
7300
7338
  "return": {
7301
7339
  "type": {
7302
7340
  "text": "void"
7303
7341
  }
7304
- },
7305
- "inheritedFrom": {
7306
- "name": "BaseComponentDelegate",
7307
- "module": "core/delegates/base-component-delegate.ts"
7308
7342
  }
7309
7343
  },
7310
7344
  {
7311
- "kind": "method",
7312
- "name": "_applyChildren",
7313
- "privacy": "private",
7314
- "return": {
7315
- "type": {
7316
- "text": "void"
7317
- }
7318
- },
7319
- "inheritedFrom": {
7320
- "name": "BaseComponentDelegate",
7321
- "module": "core/delegates/base-component-delegate.ts"
7345
+ "kind": "field",
7346
+ "name": "delay",
7347
+ "privacy": "public",
7348
+ "type": {
7349
+ "text": "number"
7322
7350
  }
7323
7351
  },
7324
7352
  {
7325
- "kind": "method",
7326
- "name": "_configure",
7327
- "privacy": "protected",
7328
- "return": {
7329
- "type": {
7330
- "text": "void"
7331
- }
7332
- },
7333
- "inheritedFrom": {
7334
- "name": "BaseComponentDelegate",
7335
- "module": "core/delegates/base-component-delegate.ts"
7353
+ "kind": "field",
7354
+ "name": "maxOpacity",
7355
+ "privacy": "public",
7356
+ "type": {
7357
+ "text": "number"
7336
7358
  }
7359
+ },
7360
+ {
7361
+ "kind": "field",
7362
+ "name": "appearance",
7363
+ "type": {
7364
+ "text": "BackdropAppearance"
7365
+ },
7366
+ "privacy": "public"
7337
7367
  }
7338
- ],
7339
- "superclass": {
7340
- "name": "BaseComponentDelegate",
7341
- "module": "/core/delegates/base-component-delegate"
7342
- }
7368
+ ]
7343
7369
  }
7344
7370
  ],
7345
7371
  "exports": [
7346
7372
  {
7347
7373
  "kind": "js",
7348
- "name": "BadgeComponentDelegate",
7374
+ "name": "BackdropFoundation",
7349
7375
  "declaration": {
7350
- "name": "BadgeComponentDelegate",
7351
- "module": "badge/badge-component-delegate.ts"
7376
+ "name": "BackdropFoundation",
7377
+ "module": "backdrop/backdrop-foundation.ts"
7352
7378
  }
7353
7379
  }
7354
7380
  ]
7355
7381
  },
7356
7382
  {
7357
7383
  "kind": "javascript-module",
7358
- "path": "badge/badge-constants.ts",
7359
- "declarations": [
7360
- {
7361
- "kind": "variable",
7362
- "name": "BADGE_CONSTANTS",
7363
- "type": {
7364
- "text": "object"
7365
- },
7366
- "default": "{\r\n elementName,\r\n attributes,\r\n classes,\r\n selectors\r\n}"
7367
- }
7368
- ],
7369
- "exports": [
7370
- {
7371
- "kind": "js",
7372
- "name": "BADGE_CONSTANTS",
7373
- "declaration": {
7374
- "name": "BADGE_CONSTANTS",
7375
- "module": "badge/badge-constants.ts"
7376
- }
7377
- }
7378
- ]
7379
- },
7380
- {
7381
- "kind": "javascript-module",
7382
- "path": "badge/badge-foundation.ts",
7384
+ "path": "backdrop/backdrop.ts",
7383
7385
  "declarations": [
7384
7386
  {
7385
7387
  "kind": "class",
7386
- "description": "",
7387
- "name": "BadgeFoundation",
7388
+ "description": "A web component that renders a backdrop covering its parent container with a semi-opaque element.",
7389
+ "name": "BackdropComponent",
7388
7390
  "members": [
7389
7391
  {
7390
7392
  "kind": "field",
7391
- "name": "_dot",
7393
+ "name": "_foundation",
7392
7394
  "type": {
7393
- "text": "boolean"
7395
+ "text": "BackdropFoundation"
7394
7396
  },
7395
- "privacy": "private",
7396
- "default": "false"
7397
+ "privacy": "protected",
7398
+ "default": "new BackdropFoundation(new BackdropAdapter(this))"
7397
7399
  },
7398
7400
  {
7399
7401
  "kind": "field",
7400
- "name": "_open",
7402
+ "name": "delay",
7401
7403
  "type": {
7402
- "text": "boolean"
7404
+ "text": "number"
7403
7405
  },
7404
- "privacy": "private",
7405
- "default": "true"
7406
- },
7407
- {
7408
- "kind": "method",
7409
- "name": "initialize",
7410
7406
  "privacy": "public",
7411
- "return": {
7412
- "type": {
7413
- "text": "void"
7414
- }
7415
- }
7416
- },
7417
- {
7418
- "kind": "method",
7419
- "name": "_applyDot",
7420
- "privacy": "private",
7421
- "return": {
7422
- "type": {
7423
- "text": "void"
7424
- }
7425
- }
7426
- },
7427
- {
7428
- "kind": "method",
7429
- "name": "_setOpen",
7430
- "privacy": "private",
7431
- "return": {
7432
- "type": {
7433
- "text": "void"
7434
- }
7435
- }
7407
+ "description": "The time in milliseconds to delay the fade in animation of the opacity.\nNote: The element will start with 0% opacity when the component is rendered."
7436
7408
  },
7437
7409
  {
7438
7410
  "kind": "field",
7439
- "name": "dot",
7411
+ "name": "appearance",
7440
7412
  "type": {
7441
- "text": "boolean"
7413
+ "text": "BackdropAppearance"
7442
7414
  },
7443
- "privacy": "public"
7415
+ "privacy": "public",
7416
+ "description": "Controls whether the theme defaults to light vs dark compatibility."
7444
7417
  },
7445
7418
  {
7446
7419
  "kind": "field",
7447
- "name": "open",
7448
- "type": {
7449
- "text": "boolean"
7450
- },
7451
- "privacy": "public"
7452
- }
7453
- ]
7454
- }
7455
- ],
7456
- "exports": [
7457
- {
7458
- "kind": "js",
7459
- "name": "BadgeFoundation",
7460
- "declaration": {
7461
- "name": "BadgeFoundation",
7462
- "module": "badge/badge-foundation.ts"
7463
- }
7464
- }
7465
- ]
7466
- },
7467
- {
7468
- "kind": "javascript-module",
7469
- "path": "badge/badge.ts",
7470
- "declarations": [
7471
- {
7472
- "kind": "class",
7473
- "description": "The web component class behind the `<forge-badge>` custom element.",
7474
- "name": "BadgeComponent",
7475
- "members": [
7476
- {
7477
- "kind": "field",
7478
- "name": "_foundation",
7420
+ "name": "maxOpacity",
7479
7421
  "type": {
7480
- "text": "BadgeFoundation"
7422
+ "text": "number"
7481
7423
  },
7482
- "privacy": "private",
7483
- "default": "new BadgeFoundation(new BadgeAdapter(this))"
7424
+ "privacy": "public",
7425
+ "description": "The max opacity to fade the element to. This defines how opaque the backdrop is when visible."
7484
7426
  },
7485
7427
  {
7486
- "kind": "field",
7487
- "name": "dot",
7488
- "type": {
7489
- "text": "boolean"
7490
- },
7428
+ "kind": "method",
7429
+ "name": "fadeOut",
7491
7430
  "privacy": "public",
7492
- "description": "Controls whether the component renders a simple dot/circle, or allows for content."
7431
+ "return": {
7432
+ "type": {
7433
+ "text": "Promise<void>"
7434
+ }
7435
+ },
7436
+ "description": "Starts the fade-out animation to animate the backdrop to 0% opacity."
7493
7437
  },
7494
7438
  {
7495
- "kind": "field",
7496
- "name": "open",
7497
- "type": {
7498
- "text": "boolean"
7499
- },
7439
+ "kind": "method",
7440
+ "name": "fadeIn",
7500
7441
  "privacy": "public",
7501
- "description": "Controls the visibility state."
7442
+ "return": {
7443
+ "type": {
7444
+ "text": "Promise<void>"
7445
+ }
7446
+ },
7447
+ "description": "Starts the fade-in animation to animate the backdrop to max opacity."
7502
7448
  }
7503
7449
  ],
7504
7450
  "superclass": {
7505
7451
  "name": "BaseComponent",
7506
7452
  "module": "/core/base/base-component"
7507
7453
  },
7508
- "tagName": "forge-badge",
7454
+ "tagName": "forge-backdrop",
7509
7455
  "customElement": true
7510
7456
  }
7511
7457
  ],
7512
7458
  "exports": [
7513
7459
  {
7514
7460
  "kind": "js",
7515
- "name": "BadgeComponent",
7461
+ "name": "BackdropComponent",
7516
7462
  "declaration": {
7517
- "name": "BadgeComponent",
7518
- "module": "badge/badge.ts"
7463
+ "name": "BackdropComponent",
7464
+ "module": "backdrop/backdrop.ts"
7519
7465
  }
7520
7466
  }
7521
7467
  ]
7522
7468
  },
7523
7469
  {
7524
7470
  "kind": "javascript-module",
7525
- "path": "badge/index.ts",
7471
+ "path": "backdrop/index.ts",
7526
7472
  "declarations": [
7527
7473
  {
7528
7474
  "kind": "function",
7529
- "name": "defineBadgeComponent",
7475
+ "name": "defineBackdropComponent",
7530
7476
  "return": {
7531
7477
  "type": {
7532
7478
  "text": "void"
@@ -7540,15 +7486,7 @@
7540
7486
  "name": "*",
7541
7487
  "declaration": {
7542
7488
  "name": "*",
7543
- "package": "./badge-adapter"
7544
- }
7545
- },
7546
- {
7547
- "kind": "js",
7548
- "name": "*",
7549
- "declaration": {
7550
- "name": "*",
7551
- "package": "./badge-constants"
7489
+ "package": "./backdrop-adapter"
7552
7490
  }
7553
7491
  },
7554
7492
  {
@@ -7556,7 +7494,7 @@
7556
7494
  "name": "*",
7557
7495
  "declaration": {
7558
7496
  "name": "*",
7559
- "package": "./badge-foundation"
7497
+ "package": "./backdrop-constants"
7560
7498
  }
7561
7499
  },
7562
7500
  {
@@ -7564,7 +7502,7 @@
7564
7502
  "name": "*",
7565
7503
  "declaration": {
7566
7504
  "name": "*",
7567
- "package": "./badge"
7505
+ "package": "./backdrop-foundation"
7568
7506
  }
7569
7507
  },
7570
7508
  {
@@ -7572,31 +7510,31 @@
7572
7510
  "name": "*",
7573
7511
  "declaration": {
7574
7512
  "name": "*",
7575
- "package": "./badge-component-delegate"
7513
+ "package": "./backdrop"
7576
7514
  }
7577
7515
  },
7578
7516
  {
7579
7517
  "kind": "js",
7580
- "name": "defineBadgeComponent",
7518
+ "name": "defineBackdropComponent",
7581
7519
  "declaration": {
7582
- "name": "defineBadgeComponent",
7583
- "module": "badge/index.ts"
7520
+ "name": "defineBackdropComponent",
7521
+ "module": "backdrop/index.ts"
7584
7522
  }
7585
7523
  }
7586
7524
  ]
7587
7525
  },
7588
7526
  {
7589
7527
  "kind": "javascript-module",
7590
- "path": "backdrop/backdrop-adapter.ts",
7528
+ "path": "badge/badge-adapter.ts",
7591
7529
  "declarations": [
7592
7530
  {
7593
7531
  "kind": "class",
7594
- "description": "Provides facilities for interacting with the internal DOM of `BackdropComponent`.",
7595
- "name": "BackdropAdapter",
7532
+ "description": "",
7533
+ "name": "BadgeAdapter",
7596
7534
  "members": [
7597
7535
  {
7598
7536
  "kind": "field",
7599
- "name": "_backdropElement",
7537
+ "name": "_rootElement",
7600
7538
  "type": {
7601
7539
  "text": "HTMLElement"
7602
7540
  },
@@ -7604,27 +7542,7 @@
7604
7542
  },
7605
7543
  {
7606
7544
  "kind": "method",
7607
- "name": "setBackdropOpacity",
7608
- "privacy": "public",
7609
- "return": {
7610
- "type": {
7611
- "text": "void"
7612
- }
7613
- },
7614
- "parameters": [
7615
- {
7616
- "name": "opacity",
7617
- "type": {
7618
- "text": "number"
7619
- },
7620
- "description": "The opacity amount."
7621
- }
7622
- ],
7623
- "description": "Sets the backdrop element opacity."
7624
- },
7625
- {
7626
- "kind": "method",
7627
- "name": "addBackdropEventListener",
7545
+ "name": "setRootClass",
7628
7546
  "privacy": "public",
7629
7547
  "return": {
7630
7548
  "type": {
@@ -7633,25 +7551,16 @@
7633
7551
  },
7634
7552
  "parameters": [
7635
7553
  {
7636
- "name": "type",
7637
- "type": {
7638
- "text": "string"
7639
- },
7640
- "description": "The event type."
7641
- },
7642
- {
7643
- "name": "listener",
7554
+ "name": "classes",
7644
7555
  "type": {
7645
- "text": "(evt: Event) => void"
7646
- },
7647
- "description": "The event listener."
7556
+ "text": "string | string[]"
7557
+ }
7648
7558
  }
7649
- ],
7650
- "description": "Adds a click event to the backdrop container element."
7559
+ ]
7651
7560
  },
7652
7561
  {
7653
7562
  "kind": "method",
7654
- "name": "removeBackdropEventListener",
7563
+ "name": "removeRootClass",
7655
7564
  "privacy": "public",
7656
7565
  "return": {
7657
7566
  "type": {
@@ -7660,21 +7569,12 @@
7660
7569
  },
7661
7570
  "parameters": [
7662
7571
  {
7663
- "name": "type",
7664
- "type": {
7665
- "text": "string"
7666
- },
7667
- "description": "The event type."
7668
- },
7669
- {
7670
- "name": "listener",
7572
+ "name": "classes",
7671
7573
  "type": {
7672
- "text": "(evt: Event) => void"
7673
- },
7674
- "description": "The event listener."
7574
+ "text": "string | string[]"
7575
+ }
7675
7576
  }
7676
- ],
7677
- "description": "Removes a click event from the backdrop container element."
7577
+ ]
7678
7578
  },
7679
7579
  {
7680
7580
  "kind": "method",
@@ -8102,78 +8002,249 @@
8102
8002
  }
8103
8003
  ],
8104
8004
  "superclass": {
8105
- "name": "BaseAdapter",
8106
- "module": "/core/base/base-adapter"
8005
+ "name": "BaseAdapter",
8006
+ "module": "/core/base/base-adapter"
8007
+ }
8008
+ }
8009
+ ],
8010
+ "exports": [
8011
+ {
8012
+ "kind": "js",
8013
+ "name": "BadgeAdapter",
8014
+ "declaration": {
8015
+ "name": "BadgeAdapter",
8016
+ "module": "badge/badge-adapter.ts"
8017
+ }
8018
+ }
8019
+ ]
8020
+ },
8021
+ {
8022
+ "kind": "javascript-module",
8023
+ "path": "badge/badge-component-delegate.ts",
8024
+ "declarations": [
8025
+ {
8026
+ "kind": "class",
8027
+ "description": "",
8028
+ "name": "BadgeComponentDelegate",
8029
+ "members": [
8030
+ {
8031
+ "kind": "method",
8032
+ "name": "_build",
8033
+ "privacy": "protected",
8034
+ "return": {
8035
+ "type": {
8036
+ "text": "IBadgeComponent"
8037
+ }
8038
+ },
8039
+ "inheritedFrom": {
8040
+ "name": "BaseComponentDelegate",
8041
+ "module": "core/delegates/base-component-delegate.ts"
8042
+ }
8043
+ },
8044
+ {
8045
+ "kind": "field",
8046
+ "name": "_element",
8047
+ "type": {
8048
+ "text": "T"
8049
+ },
8050
+ "privacy": "protected",
8051
+ "inheritedFrom": {
8052
+ "name": "BaseComponentDelegate",
8053
+ "module": "core/delegates/base-component-delegate.ts"
8054
+ }
8055
+ },
8056
+ {
8057
+ "kind": "field",
8058
+ "name": "element",
8059
+ "type": {
8060
+ "text": "T"
8061
+ },
8062
+ "privacy": "public",
8063
+ "inheritedFrom": {
8064
+ "name": "BaseComponentDelegate",
8065
+ "module": "core/delegates/base-component-delegate.ts"
8066
+ }
8067
+ },
8068
+ {
8069
+ "kind": "method",
8070
+ "name": "destroy",
8071
+ "privacy": "public",
8072
+ "return": {
8073
+ "type": {
8074
+ "text": "void"
8075
+ }
8076
+ },
8077
+ "inheritedFrom": {
8078
+ "name": "BaseComponentDelegate",
8079
+ "module": "core/delegates/base-component-delegate.ts"
8080
+ }
8081
+ },
8082
+ {
8083
+ "kind": "method",
8084
+ "name": "disconnect",
8085
+ "privacy": "public",
8086
+ "return": {
8087
+ "type": {
8088
+ "text": "void"
8089
+ }
8090
+ },
8091
+ "inheritedFrom": {
8092
+ "name": "BaseComponentDelegate",
8093
+ "module": "core/delegates/base-component-delegate.ts"
8094
+ }
8095
+ },
8096
+ {
8097
+ "kind": "method",
8098
+ "name": "_initialize",
8099
+ "privacy": "private",
8100
+ "return": {
8101
+ "type": {
8102
+ "text": "void"
8103
+ }
8104
+ },
8105
+ "inheritedFrom": {
8106
+ "name": "BaseComponentDelegate",
8107
+ "module": "core/delegates/base-component-delegate.ts"
8108
+ }
8109
+ },
8110
+ {
8111
+ "kind": "method",
8112
+ "name": "_applyProps",
8113
+ "privacy": "private",
8114
+ "return": {
8115
+ "type": {
8116
+ "text": "void"
8117
+ }
8118
+ },
8119
+ "inheritedFrom": {
8120
+ "name": "BaseComponentDelegate",
8121
+ "module": "core/delegates/base-component-delegate.ts"
8122
+ }
8123
+ },
8124
+ {
8125
+ "kind": "method",
8126
+ "name": "_applyStyle",
8127
+ "privacy": "private",
8128
+ "return": {
8129
+ "type": {
8130
+ "text": "void"
8131
+ }
8132
+ },
8133
+ "inheritedFrom": {
8134
+ "name": "BaseComponentDelegate",
8135
+ "module": "core/delegates/base-component-delegate.ts"
8136
+ }
8137
+ },
8138
+ {
8139
+ "kind": "method",
8140
+ "name": "_applyAttrs",
8141
+ "privacy": "private",
8142
+ "return": {
8143
+ "type": {
8144
+ "text": "void"
8145
+ }
8146
+ },
8147
+ "inheritedFrom": {
8148
+ "name": "BaseComponentDelegate",
8149
+ "module": "core/delegates/base-component-delegate.ts"
8150
+ }
8151
+ },
8152
+ {
8153
+ "kind": "method",
8154
+ "name": "_applyChildren",
8155
+ "privacy": "private",
8156
+ "return": {
8157
+ "type": {
8158
+ "text": "void"
8159
+ }
8160
+ },
8161
+ "inheritedFrom": {
8162
+ "name": "BaseComponentDelegate",
8163
+ "module": "core/delegates/base-component-delegate.ts"
8164
+ }
8165
+ },
8166
+ {
8167
+ "kind": "method",
8168
+ "name": "_configure",
8169
+ "privacy": "protected",
8170
+ "return": {
8171
+ "type": {
8172
+ "text": "void"
8173
+ }
8174
+ },
8175
+ "inheritedFrom": {
8176
+ "name": "BaseComponentDelegate",
8177
+ "module": "core/delegates/base-component-delegate.ts"
8178
+ }
8179
+ }
8180
+ ],
8181
+ "superclass": {
8182
+ "name": "BaseComponentDelegate",
8183
+ "module": "/core/delegates/base-component-delegate"
8107
8184
  }
8108
8185
  }
8109
8186
  ],
8110
8187
  "exports": [
8111
8188
  {
8112
8189
  "kind": "js",
8113
- "name": "BackdropAdapter",
8190
+ "name": "BadgeComponentDelegate",
8114
8191
  "declaration": {
8115
- "name": "BackdropAdapter",
8116
- "module": "backdrop/backdrop-adapter.ts"
8192
+ "name": "BadgeComponentDelegate",
8193
+ "module": "badge/badge-component-delegate.ts"
8117
8194
  }
8118
8195
  }
8119
8196
  ]
8120
8197
  },
8121
8198
  {
8122
8199
  "kind": "javascript-module",
8123
- "path": "backdrop/backdrop-constants.ts",
8200
+ "path": "badge/badge-constants.ts",
8124
8201
  "declarations": [
8125
8202
  {
8126
8203
  "kind": "variable",
8127
- "name": "BACKDROP_CONSTANTS",
8204
+ "name": "BADGE_CONSTANTS",
8128
8205
  "type": {
8129
8206
  "text": "object"
8130
8207
  },
8131
- "default": "{\n elementName,\n selectors,\n numbers,\n attributes,\n events\n}"
8208
+ "default": "{\r\n elementName,\r\n attributes,\r\n classes,\r\n selectors\r\n}"
8132
8209
  }
8133
8210
  ],
8134
8211
  "exports": [
8135
8212
  {
8136
8213
  "kind": "js",
8137
- "name": "BACKDROP_CONSTANTS",
8214
+ "name": "BADGE_CONSTANTS",
8138
8215
  "declaration": {
8139
- "name": "BACKDROP_CONSTANTS",
8140
- "module": "backdrop/backdrop-constants.ts"
8216
+ "name": "BADGE_CONSTANTS",
8217
+ "module": "badge/badge-constants.ts"
8141
8218
  }
8142
8219
  }
8143
8220
  ]
8144
8221
  },
8145
8222
  {
8146
8223
  "kind": "javascript-module",
8147
- "path": "backdrop/backdrop-foundation.ts",
8224
+ "path": "badge/badge-foundation.ts",
8148
8225
  "declarations": [
8149
8226
  {
8150
8227
  "kind": "class",
8151
8228
  "description": "",
8152
- "name": "BackdropFoundation",
8229
+ "name": "BadgeFoundation",
8153
8230
  "members": [
8154
8231
  {
8155
8232
  "kind": "field",
8156
- "name": "_delay",
8157
- "type": {
8158
- "text": "number"
8159
- },
8160
- "privacy": "private"
8161
- },
8162
- {
8163
- "kind": "field",
8164
- "name": "_maxOpacity",
8233
+ "name": "_dot",
8165
8234
  "type": {
8166
- "text": "number"
8235
+ "text": "boolean"
8167
8236
  },
8168
- "privacy": "private"
8237
+ "privacy": "private",
8238
+ "default": "false"
8169
8239
  },
8170
8240
  {
8171
8241
  "kind": "field",
8172
- "name": "_appearance",
8242
+ "name": "_open",
8173
8243
  "type": {
8174
- "text": "BackdropAppearance"
8244
+ "text": "boolean"
8175
8245
  },
8176
- "privacy": "private"
8246
+ "privacy": "private",
8247
+ "default": "true"
8177
8248
  },
8178
8249
  {
8179
8250
  "kind": "method",
@@ -8187,48 +8258,8 @@
8187
8258
  },
8188
8259
  {
8189
8260
  "kind": "method",
8190
- "name": "fadeOut",
8191
- "privacy": "public",
8192
- "return": {
8193
- "type": {
8194
- "text": "Promise<void>"
8195
- }
8196
- },
8197
- "description": "Starts the fade-out animation to animate the backdrop to 0% opacity."
8198
- },
8199
- {
8200
- "kind": "method",
8201
- "name": "fadeIn",
8202
- "privacy": "public",
8203
- "return": {
8204
- "type": {
8205
- "text": "Promise<void>"
8206
- }
8207
- },
8208
- "description": "Starts the fade-in animation to animate the backdrop to max opacity."
8209
- },
8210
- {
8211
- "kind": "method",
8212
- "name": "_onClick",
8261
+ "name": "_applyDot",
8213
8262
  "privacy": "private",
8214
- "return": {
8215
- "type": {
8216
- "text": "void"
8217
- }
8218
- },
8219
- "parameters": [
8220
- {
8221
- "name": "evt",
8222
- "type": {
8223
- "text": "Event"
8224
- }
8225
- }
8226
- ]
8227
- },
8228
- {
8229
- "kind": "method",
8230
- "name": "disconnect",
8231
- "privacy": "public",
8232
8263
  "return": {
8233
8264
  "type": {
8234
8265
  "text": "void"
@@ -8237,7 +8268,7 @@
8237
8268
  },
8238
8269
  {
8239
8270
  "kind": "method",
8240
- "name": "_applyAppearance",
8271
+ "name": "_setOpen",
8241
8272
  "privacy": "private",
8242
8273
  "return": {
8243
8274
  "type": {
@@ -8247,25 +8278,17 @@
8247
8278
  },
8248
8279
  {
8249
8280
  "kind": "field",
8250
- "name": "delay",
8251
- "privacy": "public",
8252
- "type": {
8253
- "text": "number"
8254
- }
8255
- },
8256
- {
8257
- "kind": "field",
8258
- "name": "maxOpacity",
8259
- "privacy": "public",
8281
+ "name": "dot",
8260
8282
  "type": {
8261
- "text": "number"
8262
- }
8283
+ "text": "boolean"
8284
+ },
8285
+ "privacy": "public"
8263
8286
  },
8264
8287
  {
8265
8288
  "kind": "field",
8266
- "name": "appearance",
8289
+ "name": "open",
8267
8290
  "type": {
8268
- "text": "BackdropAppearance"
8291
+ "text": "boolean"
8269
8292
  },
8270
8293
  "privacy": "public"
8271
8294
  }
@@ -8275,108 +8298,77 @@
8275
8298
  "exports": [
8276
8299
  {
8277
8300
  "kind": "js",
8278
- "name": "BackdropFoundation",
8301
+ "name": "BadgeFoundation",
8279
8302
  "declaration": {
8280
- "name": "BackdropFoundation",
8281
- "module": "backdrop/backdrop-foundation.ts"
8303
+ "name": "BadgeFoundation",
8304
+ "module": "badge/badge-foundation.ts"
8282
8305
  }
8283
8306
  }
8284
8307
  ]
8285
8308
  },
8286
8309
  {
8287
8310
  "kind": "javascript-module",
8288
- "path": "backdrop/backdrop.ts",
8311
+ "path": "badge/badge.ts",
8289
8312
  "declarations": [
8290
8313
  {
8291
8314
  "kind": "class",
8292
- "description": "A web component that renders a backdrop covering its parent container with a semi-opaque element.",
8293
- "name": "BackdropComponent",
8315
+ "description": "The web component class behind the `<forge-badge>` custom element.",
8316
+ "name": "BadgeComponent",
8294
8317
  "members": [
8295
8318
  {
8296
8319
  "kind": "field",
8297
8320
  "name": "_foundation",
8298
8321
  "type": {
8299
- "text": "BackdropFoundation"
8300
- },
8301
- "privacy": "protected",
8302
- "default": "new BackdropFoundation(new BackdropAdapter(this))"
8303
- },
8304
- {
8305
- "kind": "field",
8306
- "name": "delay",
8307
- "type": {
8308
- "text": "number"
8322
+ "text": "BadgeFoundation"
8309
8323
  },
8310
- "privacy": "public",
8311
- "description": "The time in milliseconds to delay the fade in animation of the opacity.\nNote: The element will start with 0% opacity when the component is rendered."
8324
+ "privacy": "private",
8325
+ "default": "new BadgeFoundation(new BadgeAdapter(this))"
8312
8326
  },
8313
8327
  {
8314
8328
  "kind": "field",
8315
- "name": "appearance",
8329
+ "name": "dot",
8316
8330
  "type": {
8317
- "text": "BackdropAppearance"
8331
+ "text": "boolean"
8318
8332
  },
8319
8333
  "privacy": "public",
8320
- "description": "Controls whether the theme defaults to light vs dark compatibility."
8334
+ "description": "Controls whether the component renders a simple dot/circle, or allows for content."
8321
8335
  },
8322
8336
  {
8323
8337
  "kind": "field",
8324
- "name": "maxOpacity",
8338
+ "name": "open",
8325
8339
  "type": {
8326
- "text": "number"
8327
- },
8328
- "privacy": "public",
8329
- "description": "The max opacity to fade the element to. This defines how opaque the backdrop is when visible."
8330
- },
8331
- {
8332
- "kind": "method",
8333
- "name": "fadeOut",
8334
- "privacy": "public",
8335
- "return": {
8336
- "type": {
8337
- "text": "Promise<void>"
8338
- }
8340
+ "text": "boolean"
8339
8341
  },
8340
- "description": "Starts the fade-out animation to animate the backdrop to 0% opacity."
8341
- },
8342
- {
8343
- "kind": "method",
8344
- "name": "fadeIn",
8345
8342
  "privacy": "public",
8346
- "return": {
8347
- "type": {
8348
- "text": "Promise<void>"
8349
- }
8350
- },
8351
- "description": "Starts the fade-in animation to animate the backdrop to max opacity."
8343
+ "description": "Controls the visibility state."
8352
8344
  }
8353
8345
  ],
8354
8346
  "superclass": {
8355
8347
  "name": "BaseComponent",
8356
8348
  "module": "/core/base/base-component"
8357
8349
  },
8358
- "tagName": "forge-backdrop",
8350
+ "tagName": "forge-badge",
8359
8351
  "customElement": true
8360
8352
  }
8361
8353
  ],
8362
8354
  "exports": [
8363
8355
  {
8364
8356
  "kind": "js",
8365
- "name": "BackdropComponent",
8357
+ "name": "BadgeComponent",
8366
8358
  "declaration": {
8367
- "name": "BackdropComponent",
8368
- "module": "backdrop/backdrop.ts"
8359
+ "name": "BadgeComponent",
8360
+ "module": "badge/badge.ts"
8369
8361
  }
8370
8362
  }
8371
8363
  ]
8372
8364
  },
8373
8365
  {
8374
8366
  "kind": "javascript-module",
8375
- "path": "backdrop/index.ts",
8367
+ "path": "badge/index.ts",
8376
8368
  "declarations": [
8377
8369
  {
8378
8370
  "kind": "function",
8379
- "name": "defineBackdropComponent",
8371
+ "name": "defineBadgeComponent",
8380
8372
  "return": {
8381
8373
  "type": {
8382
8374
  "text": "void"
@@ -8390,7 +8382,7 @@
8390
8382
  "name": "*",
8391
8383
  "declaration": {
8392
8384
  "name": "*",
8393
- "package": "./backdrop-adapter"
8385
+ "package": "./badge-adapter"
8394
8386
  }
8395
8387
  },
8396
8388
  {
@@ -8398,7 +8390,7 @@
8398
8390
  "name": "*",
8399
8391
  "declaration": {
8400
8392
  "name": "*",
8401
- "package": "./backdrop-constants"
8393
+ "package": "./badge-constants"
8402
8394
  }
8403
8395
  },
8404
8396
  {
@@ -8406,7 +8398,7 @@
8406
8398
  "name": "*",
8407
8399
  "declaration": {
8408
8400
  "name": "*",
8409
- "package": "./backdrop-foundation"
8401
+ "package": "./badge-foundation"
8410
8402
  }
8411
8403
  },
8412
8404
  {
@@ -8414,15 +8406,23 @@
8414
8406
  "name": "*",
8415
8407
  "declaration": {
8416
8408
  "name": "*",
8417
- "package": "./backdrop"
8409
+ "package": "./badge"
8418
8410
  }
8419
8411
  },
8420
8412
  {
8421
8413
  "kind": "js",
8422
- "name": "defineBackdropComponent",
8414
+ "name": "*",
8423
8415
  "declaration": {
8424
- "name": "defineBackdropComponent",
8425
- "module": "backdrop/index.ts"
8416
+ "name": "*",
8417
+ "package": "./badge-component-delegate"
8418
+ }
8419
+ },
8420
+ {
8421
+ "kind": "js",
8422
+ "name": "defineBadgeComponent",
8423
+ "declaration": {
8424
+ "name": "defineBadgeComponent",
8425
+ "module": "badge/index.ts"
8426
8426
  }
8427
8427
  }
8428
8428
  ]
@@ -12616,29 +12616,6 @@
12616
12616
  }
12617
12617
  ]
12618
12618
  },
12619
- {
12620
- "kind": "javascript-module",
12621
- "path": "button-toggle/index.ts",
12622
- "declarations": [],
12623
- "exports": [
12624
- {
12625
- "kind": "js",
12626
- "name": "*",
12627
- "declaration": {
12628
- "name": "*",
12629
- "package": "./button-toggle"
12630
- }
12631
- },
12632
- {
12633
- "kind": "js",
12634
- "name": "*",
12635
- "declaration": {
12636
- "name": "*",
12637
- "package": "./button-toggle-group"
12638
- }
12639
- }
12640
- ]
12641
- },
12642
12619
  {
12643
12620
  "kind": "javascript-module",
12644
12621
  "path": "button/button-component-delegate.ts",
@@ -13159,6 +13136,29 @@
13159
13136
  }
13160
13137
  ]
13161
13138
  },
13139
+ {
13140
+ "kind": "javascript-module",
13141
+ "path": "button-toggle/index.ts",
13142
+ "declarations": [],
13143
+ "exports": [
13144
+ {
13145
+ "kind": "js",
13146
+ "name": "*",
13147
+ "declaration": {
13148
+ "name": "*",
13149
+ "package": "./button-toggle"
13150
+ }
13151
+ },
13152
+ {
13153
+ "kind": "js",
13154
+ "name": "*",
13155
+ "declaration": {
13156
+ "name": "*",
13157
+ "package": "./button-toggle-group"
13158
+ }
13159
+ }
13160
+ ]
13161
+ },
13162
13162
  {
13163
13163
  "kind": "javascript-module",
13164
13164
  "path": "calendar/calendar-adapter.ts",