@momentum-design/components 0.92.2 → 0.92.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 (37) hide show
  1. package/dist/browser/index.js +303 -297
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/menubar/menubar.component.d.ts +2 -1
  4. package/dist/components/menubar/menubar.component.js +23 -2
  5. package/dist/components/menusection/menusection.component.d.ts +9 -0
  6. package/dist/components/menusection/menusection.component.js +15 -1
  7. package/dist/components/menusection/menusection.constants.d.ts +4 -1
  8. package/dist/components/menusection/menusection.constants.js +4 -1
  9. package/dist/components/popover/popover.component.d.ts +1 -1
  10. package/dist/components/popover/popover.component.js +9 -0
  11. package/dist/components/popover/popover.events.d.ts +12 -0
  12. package/dist/components/popover/popover.events.js +16 -0
  13. package/dist/components/popover/popover.utils.js +1 -1
  14. package/dist/components/select/select.component.d.ts +32 -37
  15. package/dist/components/select/select.component.js +132 -148
  16. package/dist/components/select/select.constants.d.ts +2 -1
  17. package/dist/components/select/select.constants.js +2 -1
  18. package/dist/components/select/select.styles.js +20 -17
  19. package/dist/components/select/select.types.d.ts +3 -1
  20. package/dist/components/selectlistbox/index.d.ts +7 -0
  21. package/dist/components/selectlistbox/index.js +4 -0
  22. package/dist/components/selectlistbox/selectlistbox.component.d.ts +18 -0
  23. package/dist/components/selectlistbox/selectlistbox.component.js +24 -0
  24. package/dist/components/selectlistbox/selectlistbox.constants.d.ts +2 -0
  25. package/dist/components/selectlistbox/selectlistbox.constants.js +3 -0
  26. package/dist/components/selectlistbox/selectlistbox.types.d.ts +3 -0
  27. package/dist/components/selectlistbox/selectlistbox.types.js +1 -0
  28. package/dist/custom-elements.json +1273 -1223
  29. package/dist/index.d.ts +2 -1
  30. package/dist/index.js +2 -1
  31. package/dist/react/index.d.ts +3 -2
  32. package/dist/react/index.js +3 -2
  33. package/dist/react/select/index.d.ts +2 -0
  34. package/dist/react/select/index.js +2 -0
  35. package/dist/react/selectlistbox/index.d.ts +15 -0
  36. package/dist/react/selectlistbox/index.js +24 -0
  37. package/package.json +1 -1
@@ -2263,75 +2263,189 @@
2263
2263
  },
2264
2264
  {
2265
2265
  "kind": "javascript-module",
2266
- "path": "components/button/button.component.js",
2266
+ "path": "components/buttongroup/buttongroup.component.js",
2267
2267
  "declarations": [
2268
2268
  {
2269
2269
  "kind": "class",
2270
- "description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\nButton Variants:\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n\nButton Colors:\n- **Positive**: Green color.\n- **Negative**: Red color.\n- **Accent**: Blue color.\n- **Promotional**: Purple color.\n- **Default**: White color.\n\nButton Sizes (in REM units):\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- **Tertiary icon button**: 20.\n\nButton Types:\n- **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n- **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n- **Icon button**: A button represented by just an icon without any text.\nThe type of button is inferred based on the presence of slot and/or prefix and postfix icons.",
2271
- "name": "Button",
2270
+ "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2271
+ "name": "ButtonGroup",
2272
+ "cssProperties": [
2273
+ {
2274
+ "description": "The border radius of the buttongroup",
2275
+ "name": "--mdc-buttongroup-border-radius"
2276
+ },
2277
+ {
2278
+ "description": "The border color of the buttongroup",
2279
+ "name": "--mdc-buttongroup-border-color"
2280
+ },
2281
+ {
2282
+ "description": "The color of the divider between buttons within the buttongroup",
2283
+ "name": "--mdc-buttongroup-divider-color"
2284
+ }
2285
+ ],
2272
2286
  "slots": [
2273
2287
  {
2274
- "description": "Text label of the button.",
2275
- "name": ""
2288
+ "description": "This is a default/unnamed slot, which contains the buttons",
2289
+ "name": "default"
2276
2290
  }
2277
2291
  ],
2278
2292
  "members": [
2293
+ {
2294
+ "kind": "field",
2295
+ "name": "orientation",
2296
+ "type": {
2297
+ "text": "ButtonGroupOrientation"
2298
+ },
2299
+ "description": "Orientation of the buttongroup.",
2300
+ "default": "'horizontal'",
2301
+ "attribute": "orientation",
2302
+ "reflects": true
2303
+ },
2304
+ {
2305
+ "kind": "field",
2306
+ "name": "variant",
2307
+ "type": {
2308
+ "text": "ButtonGroupVariant"
2309
+ },
2310
+ "description": "Variant of the buttons within the buttongroup.",
2311
+ "default": "'primary'",
2312
+ "attribute": "variant",
2313
+ "reflects": true
2314
+ },
2279
2315
  {
2280
2316
  "kind": "field",
2281
2317
  "name": "size",
2282
2318
  "type": {
2283
- "text": "ButtonSize"
2319
+ "text": "ButtonGroupSize"
2284
2320
  },
2285
- "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
2286
- "default": "32",
2321
+ "description": "Size of the buttons within the buttongroup.",
2322
+ "default": "'28'",
2287
2323
  "attribute": "size",
2288
- "reflects": true,
2289
- "inheritedFrom": {
2290
- "name": "Buttonsimple",
2291
- "module": "components/buttonsimple/buttonsimple.component.js"
2292
- }
2324
+ "reflects": true
2293
2325
  },
2294
2326
  {
2295
2327
  "kind": "field",
2296
- "name": "inverted",
2328
+ "name": "compact",
2297
2329
  "type": {
2298
2330
  "text": "boolean"
2299
2331
  },
2300
- "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
2301
2332
  "default": "false",
2302
- "attribute": "inverted",
2333
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2334
+ "attribute": "compact",
2335
+ "reflects": true
2336
+ }
2337
+ ],
2338
+ "attributes": [
2339
+ {
2340
+ "name": "orientation",
2341
+ "type": {
2342
+ "text": "ButtonGroupOrientation"
2343
+ },
2344
+ "description": "Orientation of the buttongroup.",
2345
+ "default": "'horizontal'",
2346
+ "fieldName": "orientation"
2347
+ },
2348
+ {
2349
+ "name": "variant",
2350
+ "type": {
2351
+ "text": "ButtonGroupVariant"
2352
+ },
2353
+ "description": "Variant of the buttons within the buttongroup.",
2354
+ "default": "'primary'",
2355
+ "fieldName": "variant"
2356
+ },
2357
+ {
2358
+ "name": "size",
2359
+ "type": {
2360
+ "text": "ButtonGroupSize"
2361
+ },
2362
+ "description": "Size of the buttons within the buttongroup.",
2363
+ "default": "'28'",
2364
+ "fieldName": "size"
2365
+ },
2366
+ {
2367
+ "name": "compact",
2368
+ "type": {
2369
+ "text": "boolean"
2370
+ },
2371
+ "default": "false",
2372
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2373
+ "fieldName": "compact"
2374
+ }
2375
+ ],
2376
+ "superclass": {
2377
+ "name": "Component",
2378
+ "module": "/src/models"
2379
+ },
2380
+ "tagName": "mdc-buttongroup",
2381
+ "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
2382
+ "customElement": true
2383
+ }
2384
+ ],
2385
+ "exports": [
2386
+ {
2387
+ "kind": "js",
2388
+ "name": "default",
2389
+ "declaration": {
2390
+ "name": "ButtonGroup",
2391
+ "module": "components/buttongroup/buttongroup.component.js"
2392
+ }
2393
+ }
2394
+ ]
2395
+ },
2396
+ {
2397
+ "kind": "javascript-module",
2398
+ "path": "components/buttonlink/buttonlink.component.js",
2399
+ "declarations": [
2400
+ {
2401
+ "kind": "class",
2402
+ "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
2403
+ "name": "ButtonLink",
2404
+ "members": [
2405
+ {
2406
+ "kind": "field",
2407
+ "name": "size",
2408
+ "type": {
2409
+ "text": "PillButtonSize | IconButtonSize"
2410
+ },
2411
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
2412
+ "default": "32",
2413
+ "attribute": "size",
2303
2414
  "reflects": true
2304
2415
  },
2305
2416
  {
2306
2417
  "kind": "field",
2307
- "name": "role",
2308
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
2309
- "default": "'button'",
2310
- "attribute": "role",
2311
- "reflects": true,
2418
+ "name": "softDisabled",
2312
2419
  "type": {
2313
- "text": "string"
2420
+ "text": "boolean | undefined"
2314
2421
  },
2315
- "inheritedFrom": {
2316
- "name": "Buttonsimple",
2317
- "module": "components/buttonsimple/buttonsimple.component.js"
2318
- }
2422
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2423
+ "default": "undefined",
2424
+ "attribute": "soft-disabled",
2425
+ "reflects": true
2319
2426
  },
2320
2427
  {
2321
2428
  "kind": "method",
2322
- "name": "inferFilledIconName",
2429
+ "name": "setSoftDisabled",
2323
2430
  "privacy": "private",
2324
2431
  "parameters": [
2325
2432
  {
2326
- "name": "active",
2433
+ "name": "element",
2434
+ "type": {
2435
+ "text": "HTMLElement"
2436
+ },
2437
+ "description": "The buttonlink element."
2438
+ },
2439
+ {
2440
+ "name": "softDisabled",
2327
2441
  "optional": true,
2328
2442
  "type": {
2329
2443
  "text": "boolean"
2330
2444
  },
2331
- "description": "The active state."
2445
+ "description": "The soft-disabled state."
2332
2446
  }
2333
2447
  ],
2334
- "description": "Modifies the icon name based on the active state.\nIf the button is active, the icon name is suffixed with '-filled'.\nIf the button is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
2448
+ "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
2335
2449
  },
2336
2450
  {
2337
2451
  "kind": "field",
@@ -2464,17 +2578,17 @@
2464
2578
  },
2465
2579
  {
2466
2580
  "kind": "field",
2467
- "name": "autofocus",
2581
+ "name": "disabled",
2468
2582
  "type": {
2469
- "text": "boolean"
2583
+ "text": "boolean | undefined"
2470
2584
  },
2471
- "default": "false",
2472
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
2473
- "attribute": "autofocus",
2585
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2586
+ "default": "undefined",
2587
+ "attribute": "disabled",
2474
2588
  "reflects": true,
2475
2589
  "inheritedFrom": {
2476
- "name": "AutoFocusMixin",
2477
- "module": "utils/mixins/AutoFocusMixin.js"
2590
+ "name": "DisabledMixin",
2591
+ "module": "utils/mixins/DisabledMixin.js"
2478
2592
  }
2479
2593
  },
2480
2594
  {
@@ -2494,140 +2608,85 @@
2494
2608
  },
2495
2609
  {
2496
2610
  "kind": "field",
2497
- "name": "disabled",
2611
+ "name": "inline",
2498
2612
  "type": {
2499
- "text": "boolean | undefined"
2613
+ "text": "boolean"
2500
2614
  },
2501
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2502
- "default": "undefined",
2503
- "attribute": "disabled",
2615
+ "description": "The link can be inline or standalone.",
2616
+ "default": "false",
2617
+ "attribute": "inline",
2504
2618
  "reflects": true,
2505
2619
  "inheritedFrom": {
2506
- "name": "DisabledMixin",
2507
- "module": "utils/mixins/DisabledMixin.js"
2620
+ "name": "Linksimple",
2621
+ "module": "components/linksimple/linksimple.component.js"
2508
2622
  }
2509
2623
  },
2510
2624
  {
2511
2625
  "kind": "field",
2512
- "name": "active",
2626
+ "name": "inverted",
2513
2627
  "type": {
2514
- "text": "boolean | undefined"
2628
+ "text": "boolean"
2515
2629
  },
2516
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
2517
- "default": "undefined",
2518
- "attribute": "active",
2630
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
2631
+ "default": "false",
2632
+ "attribute": "inverted",
2519
2633
  "reflects": true,
2520
2634
  "inheritedFrom": {
2521
- "name": "Buttonsimple",
2522
- "module": "components/buttonsimple/buttonsimple.component.js"
2635
+ "name": "Linksimple",
2636
+ "module": "components/linksimple/linksimple.component.js"
2523
2637
  }
2524
2638
  },
2525
2639
  {
2526
2640
  "kind": "field",
2527
- "name": "softDisabled",
2641
+ "name": "href",
2528
2642
  "type": {
2529
- "text": "boolean | undefined"
2643
+ "text": "string"
2530
2644
  },
2531
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2532
- "default": "undefined",
2533
- "attribute": "soft-disabled",
2645
+ "default": "'#'",
2646
+ "description": "Href for navigation. The URL that the hyperlink points to",
2647
+ "attribute": "href",
2534
2648
  "reflects": true,
2535
2649
  "inheritedFrom": {
2536
- "name": "Buttonsimple",
2537
- "module": "components/buttonsimple/buttonsimple.component.js"
2650
+ "name": "Linksimple",
2651
+ "module": "components/linksimple/linksimple.component.js"
2538
2652
  }
2539
2653
  },
2540
2654
  {
2541
2655
  "kind": "field",
2542
- "name": "ariaStateKey",
2656
+ "name": "target",
2543
2657
  "type": {
2544
- "text": "string | undefined"
2658
+ "text": "string"
2545
2659
  },
2546
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
2547
- "default": "'aria-pressed' (when)",
2548
- "attribute": "ariaStateKey",
2660
+ "default": "'_self'",
2661
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
2662
+ "attribute": "target",
2549
2663
  "reflects": true,
2550
2664
  "inheritedFrom": {
2551
- "name": "Buttonsimple",
2552
- "module": "components/buttonsimple/buttonsimple.component.js"
2665
+ "name": "Linksimple",
2666
+ "module": "components/linksimple/linksimple.component.js"
2553
2667
  }
2554
2668
  },
2555
2669
  {
2556
2670
  "kind": "field",
2557
- "name": "type",
2671
+ "name": "rel",
2558
2672
  "type": {
2559
- "text": "ButtonType"
2673
+ "text": "string | undefined"
2560
2674
  },
2561
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
2562
- "default": "button",
2563
- "attribute": "type",
2675
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
2676
+ "attribute": "rel",
2564
2677
  "reflects": true,
2565
2678
  "inheritedFrom": {
2566
- "name": "Buttonsimple",
2567
- "module": "components/buttonsimple/buttonsimple.component.js"
2568
- }
2569
- },
2570
- {
2571
- "kind": "method",
2572
- "name": "executeAction",
2573
- "privacy": "protected",
2574
- "inheritedFrom": {
2575
- "name": "Buttonsimple",
2576
- "module": "components/buttonsimple/buttonsimple.component.js"
2577
- }
2578
- },
2579
- {
2580
- "kind": "method",
2581
- "name": "setActive",
2582
- "privacy": "protected",
2583
- "parameters": [
2584
- {
2585
- "name": "element",
2586
- "type": {
2587
- "text": "HTMLElement"
2588
- },
2589
- "description": "The button element"
2590
- },
2591
- {
2592
- "name": "active",
2593
- "optional": true,
2594
- "type": {
2595
- "text": "boolean"
2596
- },
2597
- "description": "The active state of the element"
2598
- }
2599
- ],
2600
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
2601
- "inheritedFrom": {
2602
- "name": "Buttonsimple",
2603
- "module": "components/buttonsimple/buttonsimple.component.js"
2679
+ "name": "Linksimple",
2680
+ "module": "components/linksimple/linksimple.component.js"
2604
2681
  }
2605
2682
  },
2606
2683
  {
2607
- "kind": "method",
2608
- "name": "setSoftDisabled",
2684
+ "kind": "field",
2685
+ "name": "handleNavigation",
2609
2686
  "privacy": "private",
2610
- "parameters": [
2611
- {
2612
- "name": "element",
2613
- "type": {
2614
- "text": "HTMLElement"
2615
- },
2616
- "description": "The button element."
2617
- },
2618
- {
2619
- "name": "softDisabled",
2620
- "optional": true,
2621
- "type": {
2622
- "text": "boolean"
2623
- },
2624
- "description": "The soft-disabled state."
2625
- }
2626
- ],
2627
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
2628
2687
  "inheritedFrom": {
2629
- "name": "Buttonsimple",
2630
- "module": "components/buttonsimple/buttonsimple.component.js"
2688
+ "name": "Linksimple",
2689
+ "module": "components/linksimple/linksimple.component.js"
2631
2690
  }
2632
2691
  },
2633
2692
  {
@@ -2635,82 +2694,56 @@
2635
2694
  "name": "setDisabled",
2636
2695
  "privacy": "private",
2637
2696
  "parameters": [
2638
- {
2639
- "name": "element",
2640
- "type": {
2641
- "text": "HTMLElement"
2642
- },
2643
- "description": "The button element."
2644
- },
2645
2697
  {
2646
2698
  "name": "disabled",
2647
2699
  "type": {
2648
2700
  "text": "boolean"
2649
2701
  },
2650
- "description": "The disabled state."
2702
+ "description": "Whether the element should be disabled"
2651
2703
  }
2652
2704
  ],
2653
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
2705
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
2654
2706
  "inheritedFrom": {
2655
- "name": "Buttonsimple",
2656
- "module": "components/buttonsimple/buttonsimple.component.js"
2707
+ "name": "Linksimple",
2708
+ "module": "components/linksimple/linksimple.component.js"
2657
2709
  }
2658
- },
2710
+ }
2711
+ ],
2712
+ "events": [
2659
2713
  {
2660
- "kind": "method",
2661
- "name": "triggerClickEvent",
2662
- "privacy": "private",
2714
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
2715
+ "name": "click",
2716
+ "reactName": "onClick",
2663
2717
  "inheritedFrom": {
2664
- "name": "Buttonsimple",
2665
- "module": "components/buttonsimple/buttonsimple.component.js"
2718
+ "name": "Linksimple",
2719
+ "module": "src/components/linksimple/linksimple.component.ts"
2666
2720
  }
2667
2721
  },
2668
2722
  {
2669
- "kind": "method",
2670
- "name": "handleBlur",
2671
- "privacy": "private",
2672
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
2723
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
2724
+ "name": "keydown",
2725
+ "reactName": "onKeyDown",
2673
2726
  "inheritedFrom": {
2674
- "name": "Buttonsimple",
2675
- "module": "components/buttonsimple/buttonsimple.component.js"
2727
+ "name": "Linksimple",
2728
+ "module": "src/components/linksimple/linksimple.component.ts"
2676
2729
  }
2677
2730
  },
2678
2731
  {
2679
- "kind": "method",
2680
- "name": "handleKeyDown",
2681
- "privacy": "private",
2682
- "parameters": [
2683
- {
2684
- "name": "event",
2685
- "type": {
2686
- "text": "KeyboardEvent"
2687
- },
2688
- "description": "The keyboard event."
2689
- }
2690
- ],
2691
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
2732
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
2733
+ "name": "focus",
2734
+ "reactName": "onFocus",
2692
2735
  "inheritedFrom": {
2693
- "name": "Buttonsimple",
2694
- "module": "components/buttonsimple/buttonsimple.component.js"
2736
+ "name": "Linksimple",
2737
+ "module": "src/components/linksimple/linksimple.component.ts"
2695
2738
  }
2696
2739
  },
2697
2740
  {
2698
- "kind": "method",
2699
- "name": "handleKeyUp",
2700
- "privacy": "private",
2701
- "parameters": [
2702
- {
2703
- "name": "event",
2704
- "type": {
2705
- "text": "KeyboardEvent"
2706
- },
2707
- "description": "The keyboard event."
2708
- }
2709
- ],
2710
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
2741
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
2742
+ "name": "blur",
2743
+ "reactName": "onBlur",
2711
2744
  "inheritedFrom": {
2712
- "name": "Buttonsimple",
2713
- "module": "components/buttonsimple/buttonsimple.component.js"
2745
+ "name": "Linksimple",
2746
+ "module": "src/components/linksimple/linksimple.component.ts"
2714
2747
  }
2715
2748
  }
2716
2749
  ],
@@ -2718,37 +2751,20 @@
2718
2751
  {
2719
2752
  "name": "size",
2720
2753
  "type": {
2721
- "text": "ButtonSize"
2754
+ "text": "PillButtonSize | IconButtonSize"
2722
2755
  },
2723
- "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
2756
+ "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
2724
2757
  "default": "32",
2725
- "fieldName": "size",
2726
- "inheritedFrom": {
2727
- "name": "Buttonsimple",
2728
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2729
- }
2730
- },
2731
- {
2732
- "name": "inverted",
2733
- "type": {
2734
- "text": "boolean"
2735
- },
2736
- "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
2737
- "default": "false",
2738
- "fieldName": "inverted"
2758
+ "fieldName": "size"
2739
2759
  },
2740
2760
  {
2741
- "name": "role",
2742
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
2743
- "default": "'button'",
2744
- "fieldName": "role",
2761
+ "name": "soft-disabled",
2745
2762
  "type": {
2746
- "text": "string"
2763
+ "text": "boolean | undefined"
2747
2764
  },
2748
- "inheritedFrom": {
2749
- "name": "Buttonsimple",
2750
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2751
- }
2765
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2766
+ "default": "undefined",
2767
+ "fieldName": "softDisabled"
2752
2768
  },
2753
2769
  {
2754
2770
  "name": "prefix-icon",
@@ -2801,16 +2817,16 @@
2801
2817
  }
2802
2818
  },
2803
2819
  {
2804
- "name": "autofocus",
2820
+ "name": "disabled",
2805
2821
  "type": {
2806
- "text": "boolean"
2822
+ "text": "boolean | undefined"
2807
2823
  },
2808
- "default": "false",
2809
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
2810
- "fieldName": "autofocus",
2824
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2825
+ "default": "undefined",
2826
+ "fieldName": "disabled",
2811
2827
  "inheritedFrom": {
2812
- "name": "AutoFocusMixin",
2813
- "module": "src/utils/mixins/AutoFocusMixin.ts"
2828
+ "name": "DisabledMixin",
2829
+ "module": "src/utils/mixins/DisabledMixin.ts"
2814
2830
  }
2815
2831
  },
2816
2832
  {
@@ -2827,68 +2843,67 @@
2827
2843
  }
2828
2844
  },
2829
2845
  {
2830
- "name": "disabled",
2846
+ "name": "inline",
2831
2847
  "type": {
2832
- "text": "boolean | undefined"
2848
+ "text": "boolean"
2833
2849
  },
2834
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2835
- "default": "undefined",
2836
- "fieldName": "disabled",
2850
+ "description": "The link can be inline or standalone.",
2851
+ "default": "false",
2852
+ "fieldName": "inline",
2837
2853
  "inheritedFrom": {
2838
- "name": "DisabledMixin",
2839
- "module": "src/utils/mixins/DisabledMixin.ts"
2854
+ "name": "Linksimple",
2855
+ "module": "src/components/linksimple/linksimple.component.ts"
2840
2856
  }
2841
2857
  },
2842
2858
  {
2843
- "name": "active",
2859
+ "name": "inverted",
2844
2860
  "type": {
2845
- "text": "boolean | undefined"
2861
+ "text": "boolean"
2846
2862
  },
2847
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
2848
- "default": "undefined",
2849
- "fieldName": "active",
2863
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
2864
+ "default": "false",
2865
+ "fieldName": "inverted",
2850
2866
  "inheritedFrom": {
2851
- "name": "Buttonsimple",
2852
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2867
+ "name": "Linksimple",
2868
+ "module": "src/components/linksimple/linksimple.component.ts"
2853
2869
  }
2854
2870
  },
2855
2871
  {
2856
- "name": "soft-disabled",
2872
+ "name": "href",
2857
2873
  "type": {
2858
- "text": "boolean | undefined"
2874
+ "text": "string"
2859
2875
  },
2860
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2861
- "default": "undefined",
2862
- "fieldName": "softDisabled",
2876
+ "default": "'#'",
2877
+ "description": "Href for navigation. The URL that the hyperlink points to",
2878
+ "fieldName": "href",
2863
2879
  "inheritedFrom": {
2864
- "name": "Buttonsimple",
2865
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2880
+ "name": "Linksimple",
2881
+ "module": "src/components/linksimple/linksimple.component.ts"
2866
2882
  }
2867
2883
  },
2868
2884
  {
2869
- "name": "ariaStateKey",
2885
+ "name": "target",
2870
2886
  "type": {
2871
- "text": "string | undefined"
2887
+ "text": "string"
2872
2888
  },
2873
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
2874
- "default": "'aria-pressed' (when)",
2875
- "fieldName": "ariaStateKey",
2889
+ "default": "'_self'",
2890
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
2891
+ "fieldName": "target",
2876
2892
  "inheritedFrom": {
2877
- "name": "Buttonsimple",
2878
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2893
+ "name": "Linksimple",
2894
+ "module": "src/components/linksimple/linksimple.component.ts"
2879
2895
  }
2880
2896
  },
2881
2897
  {
2882
- "name": "type",
2898
+ "name": "rel",
2883
2899
  "type": {
2884
- "text": "ButtonType"
2900
+ "text": "string | undefined"
2885
2901
  },
2886
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
2887
- "default": "button",
2888
- "fieldName": "type",
2902
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
2903
+ "fieldName": "rel",
2889
2904
  "inheritedFrom": {
2890
- "name": "Buttonsimple",
2891
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2905
+ "name": "Linksimple",
2906
+ "module": "src/components/linksimple/linksimple.component.ts"
2892
2907
  }
2893
2908
  }
2894
2909
  ],
@@ -2899,47 +2914,83 @@
2899
2914
  }
2900
2915
  ],
2901
2916
  "superclass": {
2902
- "name": "Buttonsimple",
2903
- "module": "/src/components/buttonsimple/buttonsimple.component"
2917
+ "name": "Linksimple",
2918
+ "module": "/src/components/linksimple/linksimple.component"
2904
2919
  },
2905
- "tagName": "mdc-button",
2906
- "jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\n * - **Primary**: Solid background color.\n * - **Secondary**: Transparent background with a solid border.\n * - **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n */",
2920
+ "tagName": "mdc-buttonlink",
2921
+ "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
2907
2922
  "customElement": true,
2908
- "events": [
2923
+ "cssProperties": [
2909
2924
  {
2910
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
2911
- "name": "click",
2912
- "reactName": "onClick",
2925
+ "description": "Border radius of the link.",
2926
+ "name": "--mdc-link-border-radius",
2913
2927
  "inheritedFrom": {
2914
- "name": "Buttonsimple",
2915
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2928
+ "name": "Linksimple",
2929
+ "module": "src/components/linksimple/linksimple.component.ts"
2916
2930
  }
2917
2931
  },
2918
2932
  {
2919
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
2920
- "name": "keydown",
2921
- "reactName": "onKeyDown",
2933
+ "description": "Color of the link’s child content in the active state.",
2934
+ "name": "--mdc-link-color-active",
2922
2935
  "inheritedFrom": {
2923
- "name": "Buttonsimple",
2924
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2936
+ "name": "Linksimple",
2937
+ "module": "src/components/linksimple/linksimple.component.ts"
2925
2938
  }
2926
2939
  },
2927
2940
  {
2928
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
2929
- "name": "keyup",
2930
- "reactName": "onKeyUp",
2941
+ "description": "Color of the link’s child content in the disabled state.",
2942
+ "name": "--mdc-link-color-disabled",
2931
2943
  "inheritedFrom": {
2932
- "name": "Buttonsimple",
2933
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2944
+ "name": "Linksimple",
2945
+ "module": "src/components/linksimple/linksimple.component.ts"
2934
2946
  }
2935
2947
  },
2936
2948
  {
2937
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
2938
- "name": "focus",
2939
- "reactName": "onFocus",
2949
+ "description": "Color of the link’s child content in the hover state.",
2950
+ "name": "--mdc-link-color-hover",
2940
2951
  "inheritedFrom": {
2941
- "name": "Buttonsimple",
2942
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2952
+ "name": "Linksimple",
2953
+ "module": "src/components/linksimple/linksimple.component.ts"
2954
+ }
2955
+ },
2956
+ {
2957
+ "description": "Color of the link’s child content in the normal state.",
2958
+ "name": "--mdc-link-color-normal",
2959
+ "inheritedFrom": {
2960
+ "name": "Linksimple",
2961
+ "module": "src/components/linksimple/linksimple.component.ts"
2962
+ }
2963
+ },
2964
+ {
2965
+ "description": "Color of the inverted link’s child content in the active state.",
2966
+ "name": "--mdc-link-inverted-color-active",
2967
+ "inheritedFrom": {
2968
+ "name": "Linksimple",
2969
+ "module": "src/components/linksimple/linksimple.component.ts"
2970
+ }
2971
+ },
2972
+ {
2973
+ "description": "Color of the inverted link’s child content in the disabled state.",
2974
+ "name": "--mdc-link-inverted-color-disabled",
2975
+ "inheritedFrom": {
2976
+ "name": "Linksimple",
2977
+ "module": "src/components/linksimple/linksimple.component.ts"
2978
+ }
2979
+ },
2980
+ {
2981
+ "description": "Color of the inverted link’s child content in the hover state.",
2982
+ "name": "--mdc-link-inverted-color-hover",
2983
+ "inheritedFrom": {
2984
+ "name": "Linksimple",
2985
+ "module": "src/components/linksimple/linksimple.component.ts"
2986
+ }
2987
+ },
2988
+ {
2989
+ "description": "Color of the inverted link’s child content in the normal state.",
2990
+ "name": "--mdc-link-inverted-color-normal",
2991
+ "inheritedFrom": {
2992
+ "name": "Linksimple",
2993
+ "module": "src/components/linksimple/linksimple.component.ts"
2943
2994
  }
2944
2995
  }
2945
2996
  ]
@@ -2950,340 +3001,211 @@
2950
3001
  "kind": "js",
2951
3002
  "name": "default",
2952
3003
  "declaration": {
2953
- "name": "Button",
2954
- "module": "components/button/button.component.js"
3004
+ "name": "ButtonLink",
3005
+ "module": "components/buttonlink/buttonlink.component.js"
2955
3006
  }
2956
3007
  }
2957
3008
  ]
2958
3009
  },
2959
3010
  {
2960
3011
  "kind": "javascript-module",
2961
- "path": "components/buttongroup/buttongroup.component.js",
3012
+ "path": "components/buttonsimple/buttonsimple.component.js",
2962
3013
  "declarations": [
2963
3014
  {
2964
3015
  "kind": "class",
2965
- "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2966
- "name": "ButtonGroup",
2967
- "cssProperties": [
2968
- {
2969
- "description": "The border radius of the buttongroup",
2970
- "name": "--mdc-buttongroup-border-radius"
2971
- },
2972
- {
2973
- "description": "The border color of the buttongroup",
2974
- "name": "--mdc-buttongroup-border-color"
2975
- },
2976
- {
2977
- "description": "The color of the divider between buttons within the buttongroup",
2978
- "name": "--mdc-buttongroup-divider-color"
2979
- }
2980
- ],
2981
- "slots": [
2982
- {
2983
- "description": "This is a default/unnamed slot, which contains the buttons",
2984
- "name": "default"
2985
- }
2986
- ],
3016
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
3017
+ "name": "Buttonsimple",
2987
3018
  "members": [
2988
3019
  {
2989
3020
  "kind": "field",
2990
- "name": "orientation",
3021
+ "name": "active",
2991
3022
  "type": {
2992
- "text": "ButtonGroupOrientation"
3023
+ "text": "boolean | undefined"
2993
3024
  },
2994
- "description": "Orientation of the buttongroup.",
2995
- "default": "'horizontal'",
2996
- "attribute": "orientation",
3025
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
3026
+ "default": "undefined",
3027
+ "attribute": "active",
2997
3028
  "reflects": true
2998
3029
  },
2999
3030
  {
3000
3031
  "kind": "field",
3001
- "name": "variant",
3032
+ "name": "softDisabled",
3002
3033
  "type": {
3003
- "text": "ButtonGroupVariant"
3034
+ "text": "boolean | undefined"
3004
3035
  },
3005
- "description": "Variant of the buttons within the buttongroup.",
3006
- "default": "'primary'",
3007
- "attribute": "variant",
3036
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3037
+ "default": "undefined",
3038
+ "attribute": "soft-disabled",
3008
3039
  "reflects": true
3009
3040
  },
3010
3041
  {
3011
3042
  "kind": "field",
3012
3043
  "name": "size",
3013
3044
  "type": {
3014
- "text": "ButtonGroupSize"
3045
+ "text": "ButtonSize"
3015
3046
  },
3016
- "description": "Size of the buttons within the buttongroup.",
3017
- "default": "'28'",
3047
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3048
+ "default": "32",
3018
3049
  "attribute": "size",
3019
3050
  "reflects": true
3020
3051
  },
3021
3052
  {
3022
3053
  "kind": "field",
3023
- "name": "compact",
3024
- "type": {
3025
- "text": "boolean"
3026
- },
3027
- "default": "false",
3028
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
3029
- "attribute": "compact",
3054
+ "name": "role",
3055
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3056
+ "default": "button",
3057
+ "attribute": "role",
3030
3058
  "reflects": true
3031
- }
3032
- ],
3033
- "attributes": [
3034
- {
3035
- "name": "orientation",
3036
- "type": {
3037
- "text": "ButtonGroupOrientation"
3038
- },
3039
- "description": "Orientation of the buttongroup.",
3040
- "default": "'horizontal'",
3041
- "fieldName": "orientation"
3042
- },
3043
- {
3044
- "name": "variant",
3045
- "type": {
3046
- "text": "ButtonGroupVariant"
3047
- },
3048
- "description": "Variant of the buttons within the buttongroup.",
3049
- "default": "'primary'",
3050
- "fieldName": "variant"
3051
3059
  },
3052
- {
3053
- "name": "size",
3054
- "type": {
3055
- "text": "ButtonGroupSize"
3056
- },
3057
- "description": "Size of the buttons within the buttongroup.",
3058
- "default": "'28'",
3059
- "fieldName": "size"
3060
- },
3061
- {
3062
- "name": "compact",
3063
- "type": {
3064
- "text": "boolean"
3065
- },
3066
- "default": "false",
3067
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
3068
- "fieldName": "compact"
3069
- }
3070
- ],
3071
- "superclass": {
3072
- "name": "Component",
3073
- "module": "/src/models"
3074
- },
3075
- "tagName": "mdc-buttongroup",
3076
- "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
3077
- "customElement": true
3078
- }
3079
- ],
3080
- "exports": [
3081
- {
3082
- "kind": "js",
3083
- "name": "default",
3084
- "declaration": {
3085
- "name": "ButtonGroup",
3086
- "module": "components/buttongroup/buttongroup.component.js"
3087
- }
3088
- }
3089
- ]
3090
- },
3091
- {
3092
- "kind": "javascript-module",
3093
- "path": "components/buttonlink/buttonlink.component.js",
3094
- "declarations": [
3095
- {
3096
- "kind": "class",
3097
- "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
3098
- "name": "ButtonLink",
3099
- "members": [
3100
3060
  {
3101
3061
  "kind": "field",
3102
- "name": "size",
3062
+ "name": "ariaStateKey",
3103
3063
  "type": {
3104
- "text": "PillButtonSize | IconButtonSize"
3064
+ "text": "string | undefined"
3105
3065
  },
3106
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
3107
- "default": "32",
3108
- "attribute": "size",
3066
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
3067
+ "default": "'aria-pressed' (when)",
3068
+ "attribute": "ariaStateKey",
3109
3069
  "reflects": true
3110
3070
  },
3111
3071
  {
3112
3072
  "kind": "field",
3113
- "name": "softDisabled",
3073
+ "name": "type",
3114
3074
  "type": {
3115
- "text": "boolean | undefined"
3075
+ "text": "ButtonType"
3116
3076
  },
3117
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3118
- "default": "undefined",
3119
- "attribute": "soft-disabled",
3077
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
3078
+ "default": "button",
3079
+ "attribute": "type",
3120
3080
  "reflects": true
3121
3081
  },
3122
3082
  {
3123
3083
  "kind": "method",
3124
- "name": "setSoftDisabled",
3125
- "privacy": "private",
3084
+ "name": "executeAction",
3085
+ "privacy": "protected"
3086
+ },
3087
+ {
3088
+ "kind": "method",
3089
+ "name": "setActive",
3090
+ "privacy": "protected",
3126
3091
  "parameters": [
3127
3092
  {
3128
3093
  "name": "element",
3129
3094
  "type": {
3130
3095
  "text": "HTMLElement"
3131
3096
  },
3132
- "description": "The buttonlink element."
3097
+ "description": "The button element"
3133
3098
  },
3134
3099
  {
3135
- "name": "softDisabled",
3100
+ "name": "active",
3136
3101
  "optional": true,
3137
3102
  "type": {
3138
3103
  "text": "boolean"
3139
3104
  },
3140
- "description": "The soft-disabled state."
3105
+ "description": "The active state of the element"
3141
3106
  }
3142
3107
  ],
3143
- "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
3144
- },
3145
- {
3146
- "kind": "field",
3147
- "name": "prefixIcon",
3148
- "type": {
3149
- "text": "IconNames | undefined"
3150
- },
3151
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3152
- "attribute": "prefix-icon",
3153
- "reflects": true,
3154
- "inheritedFrom": {
3155
- "name": "ButtonComponentMixin",
3156
- "module": "utils/mixins/ButtonComponentMixin.js"
3157
- }
3158
- },
3159
- {
3160
- "kind": "field",
3161
- "name": "postfixIcon",
3162
- "type": {
3163
- "text": "IconNames | undefined"
3164
- },
3165
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3166
- "attribute": "postfix-icon",
3167
- "reflects": true,
3168
- "inheritedFrom": {
3169
- "name": "ButtonComponentMixin",
3170
- "module": "utils/mixins/ButtonComponentMixin.js"
3171
- }
3172
- },
3173
- {
3174
- "kind": "field",
3175
- "name": "variant",
3176
- "type": {
3177
- "text": "ButtonVariant"
3178
- },
3179
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3180
- "default": "primary",
3181
- "attribute": "variant",
3182
- "inheritedFrom": {
3183
- "name": "ButtonComponentMixin",
3184
- "module": "utils/mixins/ButtonComponentMixin.js"
3185
- }
3186
- },
3187
- {
3188
- "kind": "field",
3189
- "name": "color",
3190
- "type": {
3191
- "text": "ButtonColor"
3192
- },
3193
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3194
- "default": "default",
3195
- "attribute": "color",
3196
- "inheritedFrom": {
3197
- "name": "ButtonComponentMixin",
3198
- "module": "utils/mixins/ButtonComponentMixin.js"
3199
- }
3108
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
3200
3109
  },
3201
3110
  {
3202
3111
  "kind": "method",
3203
- "name": "setVariant",
3204
- "privacy": "protected",
3112
+ "name": "setSoftDisabled",
3113
+ "privacy": "private",
3205
3114
  "parameters": [
3206
3115
  {
3207
- "name": "variant",
3116
+ "name": "element",
3208
3117
  "type": {
3209
- "text": "ButtonVariant"
3118
+ "text": "HTMLElement"
3210
3119
  },
3211
- "description": "The variant to set."
3120
+ "description": "The button element."
3121
+ },
3122
+ {
3123
+ "name": "softDisabled",
3124
+ "optional": true,
3125
+ "type": {
3126
+ "text": "boolean"
3127
+ },
3128
+ "description": "The soft-disabled state."
3212
3129
  }
3213
3130
  ],
3214
- "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
3215
- "inheritedFrom": {
3216
- "name": "ButtonComponentMixin",
3217
- "module": "utils/mixins/ButtonComponentMixin.js"
3218
- }
3131
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
3219
3132
  },
3220
3133
  {
3221
3134
  "kind": "method",
3222
- "name": "setColor",
3223
- "privacy": "protected",
3135
+ "name": "setDisabled",
3136
+ "privacy": "private",
3224
3137
  "parameters": [
3225
3138
  {
3226
- "name": "color",
3139
+ "name": "element",
3227
3140
  "type": {
3228
- "text": "ButtonColor"
3141
+ "text": "HTMLElement"
3229
3142
  },
3230
- "description": "The color to set."
3143
+ "description": "The button element."
3144
+ },
3145
+ {
3146
+ "name": "disabled",
3147
+ "type": {
3148
+ "text": "boolean"
3149
+ },
3150
+ "description": "The disabled state."
3231
3151
  }
3232
3152
  ],
3233
- "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
3234
- "inheritedFrom": {
3235
- "name": "ButtonComponentMixin",
3236
- "module": "utils/mixins/ButtonComponentMixin.js"
3237
- }
3153
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
3238
3154
  },
3239
3155
  {
3240
3156
  "kind": "method",
3241
- "name": "setSize",
3242
- "privacy": "protected",
3157
+ "name": "triggerClickEvent",
3158
+ "privacy": "private"
3159
+ },
3160
+ {
3161
+ "kind": "method",
3162
+ "name": "handleBlur",
3163
+ "privacy": "private",
3164
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
3165
+ },
3166
+ {
3167
+ "kind": "method",
3168
+ "name": "handleKeyDown",
3169
+ "privacy": "private",
3243
3170
  "parameters": [
3244
3171
  {
3245
- "name": "size",
3172
+ "name": "event",
3246
3173
  "type": {
3247
- "text": "PillButtonSize | IconButtonSize"
3174
+ "text": "KeyboardEvent"
3248
3175
  },
3249
- "description": "The size to set."
3176
+ "description": "The keyboard event."
3250
3177
  }
3251
3178
  ],
3252
- "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
3253
- "inheritedFrom": {
3254
- "name": "ButtonComponentMixin",
3255
- "module": "utils/mixins/ButtonComponentMixin.js"
3256
- }
3179
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
3257
3180
  },
3258
3181
  {
3259
3182
  "kind": "method",
3260
- "name": "inferButtonType",
3261
- "privacy": "protected",
3262
- "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
3183
+ "name": "handleKeyUp",
3184
+ "privacy": "private",
3263
3185
  "parameters": [
3264
3186
  {
3265
- "description": "default slot of button",
3266
- "name": "slot"
3187
+ "name": "event",
3188
+ "type": {
3189
+ "text": "KeyboardEvent"
3190
+ },
3191
+ "description": "The keyboard event."
3267
3192
  }
3268
3193
  ],
3269
- "inheritedFrom": {
3270
- "name": "ButtonComponentMixin",
3271
- "module": "utils/mixins/ButtonComponentMixin.js"
3272
- }
3194
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
3273
3195
  },
3274
3196
  {
3275
3197
  "kind": "field",
3276
- "name": "disabled",
3198
+ "name": "autofocus",
3277
3199
  "type": {
3278
- "text": "boolean | undefined"
3200
+ "text": "boolean"
3279
3201
  },
3280
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3281
- "default": "undefined",
3282
- "attribute": "disabled",
3202
+ "default": "false",
3203
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3204
+ "attribute": "autofocus",
3283
3205
  "reflects": true,
3284
3206
  "inheritedFrom": {
3285
- "name": "DisabledMixin",
3286
- "module": "utils/mixins/DisabledMixin.js"
3207
+ "name": "AutoFocusMixin",
3208
+ "module": "utils/mixins/AutoFocusMixin.js"
3287
3209
  }
3288
3210
  },
3289
3211
  {
@@ -3303,212 +3225,118 @@
3303
3225
  },
3304
3226
  {
3305
3227
  "kind": "field",
3306
- "name": "inline",
3228
+ "name": "disabled",
3307
3229
  "type": {
3308
- "text": "boolean"
3230
+ "text": "boolean | undefined"
3309
3231
  },
3310
- "description": "The link can be inline or standalone.",
3311
- "default": "false",
3312
- "attribute": "inline",
3232
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3233
+ "default": "undefined",
3234
+ "attribute": "disabled",
3313
3235
  "reflects": true,
3314
3236
  "inheritedFrom": {
3315
- "name": "Linksimple",
3316
- "module": "components/linksimple/linksimple.component.js"
3237
+ "name": "DisabledMixin",
3238
+ "module": "utils/mixins/DisabledMixin.js"
3317
3239
  }
3240
+ }
3241
+ ],
3242
+ "events": [
3243
+ {
3244
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
3245
+ "name": "click",
3246
+ "reactName": "onClick"
3318
3247
  },
3319
3248
  {
3320
- "kind": "field",
3321
- "name": "inverted",
3322
- "type": {
3323
- "text": "boolean"
3324
- },
3325
- "description": "The link color can be inverted by setting the inverted attribute to true.",
3326
- "default": "false",
3327
- "attribute": "inverted",
3328
- "reflects": true,
3329
- "inheritedFrom": {
3330
- "name": "Linksimple",
3331
- "module": "components/linksimple/linksimple.component.js"
3332
- }
3249
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
3250
+ "name": "keydown",
3251
+ "reactName": "onKeyDown"
3333
3252
  },
3334
3253
  {
3335
- "kind": "field",
3336
- "name": "href",
3254
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
3255
+ "name": "keyup",
3256
+ "reactName": "onKeyUp"
3257
+ },
3258
+ {
3259
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
3260
+ "name": "focus",
3261
+ "reactName": "onFocus"
3262
+ }
3263
+ ],
3264
+ "attributes": [
3265
+ {
3266
+ "name": "active",
3337
3267
  "type": {
3338
- "text": "string"
3268
+ "text": "boolean | undefined"
3339
3269
  },
3340
- "default": "'#'",
3341
- "description": "Href for navigation. The URL that the hyperlink points to",
3342
- "attribute": "href",
3343
- "reflects": true,
3344
- "inheritedFrom": {
3345
- "name": "Linksimple",
3346
- "module": "components/linksimple/linksimple.component.js"
3347
- }
3270
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
3271
+ "default": "undefined",
3272
+ "fieldName": "active"
3348
3273
  },
3349
3274
  {
3350
- "kind": "field",
3351
- "name": "target",
3275
+ "name": "soft-disabled",
3352
3276
  "type": {
3353
- "text": "string"
3277
+ "text": "boolean | undefined"
3354
3278
  },
3355
- "default": "'_self'",
3356
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3357
- "attribute": "target",
3358
- "reflects": true,
3359
- "inheritedFrom": {
3360
- "name": "Linksimple",
3361
- "module": "components/linksimple/linksimple.component.js"
3362
- }
3279
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3280
+ "default": "undefined",
3281
+ "fieldName": "softDisabled"
3363
3282
  },
3364
3283
  {
3365
- "kind": "field",
3366
- "name": "rel",
3284
+ "name": "size",
3367
3285
  "type": {
3368
- "text": "string | undefined"
3286
+ "text": "ButtonSize"
3369
3287
  },
3370
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3371
- "attribute": "rel",
3372
- "reflects": true,
3373
- "inheritedFrom": {
3374
- "name": "Linksimple",
3375
- "module": "components/linksimple/linksimple.component.js"
3376
- }
3377
- },
3378
- {
3379
- "kind": "field",
3380
- "name": "handleNavigation",
3381
- "privacy": "private",
3382
- "inheritedFrom": {
3383
- "name": "Linksimple",
3384
- "module": "components/linksimple/linksimple.component.js"
3385
- }
3386
- },
3387
- {
3388
- "kind": "method",
3389
- "name": "setDisabled",
3390
- "privacy": "private",
3391
- "parameters": [
3392
- {
3393
- "name": "disabled",
3394
- "type": {
3395
- "text": "boolean"
3396
- },
3397
- "description": "Whether the element should be disabled"
3398
- }
3399
- ],
3400
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
3401
- "inheritedFrom": {
3402
- "name": "Linksimple",
3403
- "module": "components/linksimple/linksimple.component.js"
3404
- }
3405
- }
3406
- ],
3407
- "events": [
3408
- {
3409
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
3410
- "name": "click",
3411
- "reactName": "onClick",
3412
- "inheritedFrom": {
3413
- "name": "Linksimple",
3414
- "module": "src/components/linksimple/linksimple.component.ts"
3415
- }
3416
- },
3417
- {
3418
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
3419
- "name": "keydown",
3420
- "reactName": "onKeyDown",
3421
- "inheritedFrom": {
3422
- "name": "Linksimple",
3423
- "module": "src/components/linksimple/linksimple.component.ts"
3424
- }
3425
- },
3426
- {
3427
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
3428
- "name": "focus",
3429
- "reactName": "onFocus",
3430
- "inheritedFrom": {
3431
- "name": "Linksimple",
3432
- "module": "src/components/linksimple/linksimple.component.ts"
3433
- }
3434
- },
3435
- {
3436
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
3437
- "name": "blur",
3438
- "reactName": "onBlur",
3439
- "inheritedFrom": {
3440
- "name": "Linksimple",
3441
- "module": "src/components/linksimple/linksimple.component.ts"
3442
- }
3443
- }
3444
- ],
3445
- "attributes": [
3446
- {
3447
- "name": "size",
3448
- "type": {
3449
- "text": "PillButtonSize | IconButtonSize"
3450
- },
3451
- "description": "ButtonLink sizing is based on the buttonlink type.\n- **Pill buttonlink**: 40, 32, 28, 24.\n- **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon buttonlink can also be 20.",
3288
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3452
3289
  "default": "32",
3453
3290
  "fieldName": "size"
3454
3291
  },
3455
3292
  {
3456
- "name": "soft-disabled",
3457
- "type": {
3458
- "text": "boolean | undefined"
3459
- },
3460
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3461
- "default": "undefined",
3462
- "fieldName": "softDisabled"
3293
+ "name": "role",
3294
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3295
+ "default": "button",
3296
+ "fieldName": "role"
3463
3297
  },
3464
3298
  {
3465
- "name": "prefix-icon",
3299
+ "name": "ariaStateKey",
3466
3300
  "type": {
3467
- "text": "IconNames | undefined"
3301
+ "text": "string | undefined"
3468
3302
  },
3469
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3470
- "fieldName": "prefixIcon",
3471
- "inheritedFrom": {
3472
- "name": "ButtonComponentMixin",
3473
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3474
- }
3303
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
3304
+ "default": "'aria-pressed' (when)",
3305
+ "fieldName": "ariaStateKey"
3475
3306
  },
3476
3307
  {
3477
- "name": "postfix-icon",
3308
+ "name": "type",
3478
3309
  "type": {
3479
- "text": "IconNames | undefined"
3310
+ "text": "ButtonType"
3480
3311
  },
3481
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3482
- "fieldName": "postfixIcon",
3483
- "inheritedFrom": {
3484
- "name": "ButtonComponentMixin",
3485
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3486
- }
3312
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
3313
+ "default": "button",
3314
+ "fieldName": "type"
3487
3315
  },
3488
3316
  {
3489
- "name": "variant",
3317
+ "name": "autofocus",
3490
3318
  "type": {
3491
- "text": "ButtonVariant"
3319
+ "text": "boolean"
3492
3320
  },
3493
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3494
- "default": "primary",
3495
- "fieldName": "variant",
3321
+ "default": "false",
3322
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3323
+ "fieldName": "autofocus",
3496
3324
  "inheritedFrom": {
3497
- "name": "ButtonComponentMixin",
3498
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3325
+ "name": "AutoFocusMixin",
3326
+ "module": "src/utils/mixins/AutoFocusMixin.ts"
3499
3327
  }
3500
3328
  },
3501
3329
  {
3502
- "name": "color",
3330
+ "name": "tabIndex",
3503
3331
  "type": {
3504
- "text": "ButtonColor"
3332
+ "text": "number"
3505
3333
  },
3506
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3507
- "default": "default",
3508
- "fieldName": "color",
3334
+ "default": "0",
3335
+ "description": "This property specifies the tab order of the element.",
3336
+ "fieldName": "tabIndex",
3509
3337
  "inheritedFrom": {
3510
- "name": "ButtonComponentMixin",
3511
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3338
+ "name": "TabIndexMixin",
3339
+ "module": "src/utils/mixins/TabIndexMixin.ts"
3512
3340
  }
3513
3341
  },
3514
3342
  {
@@ -3523,194 +3351,288 @@
3523
3351
  "name": "DisabledMixin",
3524
3352
  "module": "src/utils/mixins/DisabledMixin.ts"
3525
3353
  }
3354
+ }
3355
+ ],
3356
+ "mixins": [
3357
+ {
3358
+ "name": "AutoFocusMixin",
3359
+ "module": "/src/utils/mixins/AutoFocusMixin"
3526
3360
  },
3527
3361
  {
3528
- "name": "tabIndex",
3529
- "type": {
3530
- "text": "number"
3531
- },
3532
- "default": "0",
3533
- "description": "This property specifies the tab order of the element.",
3534
- "fieldName": "tabIndex",
3535
- "inheritedFrom": {
3536
- "name": "TabIndexMixin",
3537
- "module": "src/utils/mixins/TabIndexMixin.ts"
3538
- }
3362
+ "name": "TabIndexMixin",
3363
+ "module": "/src/utils/mixins/TabIndexMixin"
3539
3364
  },
3540
3365
  {
3541
- "name": "inline",
3366
+ "name": "DisabledMixin",
3367
+ "module": "/src/utils/mixins/DisabledMixin"
3368
+ }
3369
+ ],
3370
+ "superclass": {
3371
+ "name": "Component",
3372
+ "module": "/src/models"
3373
+ },
3374
+ "tagName": "mdc-buttonsimple",
3375
+ "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
3376
+ "customElement": true
3377
+ }
3378
+ ],
3379
+ "exports": [
3380
+ {
3381
+ "kind": "js",
3382
+ "name": "default",
3383
+ "declaration": {
3384
+ "name": "Buttonsimple",
3385
+ "module": "components/buttonsimple/buttonsimple.component.js"
3386
+ }
3387
+ }
3388
+ ]
3389
+ },
3390
+ {
3391
+ "kind": "javascript-module",
3392
+ "path": "components/button/button.component.js",
3393
+ "declarations": [
3394
+ {
3395
+ "kind": "class",
3396
+ "description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\nButton Variants:\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n\nButton Colors:\n- **Positive**: Green color.\n- **Negative**: Red color.\n- **Accent**: Blue color.\n- **Promotional**: Purple color.\n- **Default**: White color.\n\nButton Sizes (in REM units):\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- **Tertiary icon button**: 20.\n\nButton Types:\n- **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n- **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n- **Icon button**: A button represented by just an icon without any text.\nThe type of button is inferred based on the presence of slot and/or prefix and postfix icons.",
3397
+ "name": "Button",
3398
+ "slots": [
3399
+ {
3400
+ "description": "Text label of the button.",
3401
+ "name": ""
3402
+ }
3403
+ ],
3404
+ "members": [
3405
+ {
3406
+ "kind": "field",
3407
+ "name": "size",
3542
3408
  "type": {
3543
- "text": "boolean"
3409
+ "text": "ButtonSize"
3544
3410
  },
3545
- "description": "The link can be inline or standalone.",
3546
- "default": "false",
3547
- "fieldName": "inline",
3411
+ "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
3412
+ "default": "32",
3413
+ "attribute": "size",
3414
+ "reflects": true,
3548
3415
  "inheritedFrom": {
3549
- "name": "Linksimple",
3550
- "module": "src/components/linksimple/linksimple.component.ts"
3416
+ "name": "Buttonsimple",
3417
+ "module": "components/buttonsimple/buttonsimple.component.js"
3551
3418
  }
3552
3419
  },
3553
3420
  {
3421
+ "kind": "field",
3554
3422
  "name": "inverted",
3555
3423
  "type": {
3556
3424
  "text": "boolean"
3557
3425
  },
3558
- "description": "The link color can be inverted by setting the inverted attribute to true.",
3426
+ "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
3559
3427
  "default": "false",
3560
- "fieldName": "inverted",
3561
- "inheritedFrom": {
3562
- "name": "Linksimple",
3563
- "module": "src/components/linksimple/linksimple.component.ts"
3564
- }
3428
+ "attribute": "inverted",
3429
+ "reflects": true
3565
3430
  },
3566
3431
  {
3567
- "name": "href",
3432
+ "kind": "field",
3433
+ "name": "role",
3434
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3435
+ "default": "'button'",
3436
+ "attribute": "role",
3437
+ "reflects": true,
3568
3438
  "type": {
3569
3439
  "text": "string"
3570
3440
  },
3571
- "default": "'#'",
3572
- "description": "Href for navigation. The URL that the hyperlink points to",
3573
- "fieldName": "href",
3574
3441
  "inheritedFrom": {
3575
- "name": "Linksimple",
3576
- "module": "src/components/linksimple/linksimple.component.ts"
3442
+ "name": "Buttonsimple",
3443
+ "module": "components/buttonsimple/buttonsimple.component.js"
3577
3444
  }
3578
3445
  },
3579
3446
  {
3580
- "name": "target",
3447
+ "kind": "method",
3448
+ "name": "inferFilledIconName",
3449
+ "privacy": "private",
3450
+ "parameters": [
3451
+ {
3452
+ "name": "active",
3453
+ "optional": true,
3454
+ "type": {
3455
+ "text": "boolean"
3456
+ },
3457
+ "description": "The active state."
3458
+ }
3459
+ ],
3460
+ "description": "Modifies the icon name based on the active state.\nIf the button is active, the icon name is suffixed with '-filled'.\nIf the button is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
3461
+ },
3462
+ {
3463
+ "kind": "field",
3464
+ "name": "prefixIcon",
3581
3465
  "type": {
3582
- "text": "string"
3466
+ "text": "IconNames | undefined"
3583
3467
  },
3584
- "default": "'_self'",
3585
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3586
- "fieldName": "target",
3468
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3469
+ "attribute": "prefix-icon",
3470
+ "reflects": true,
3587
3471
  "inheritedFrom": {
3588
- "name": "Linksimple",
3589
- "module": "src/components/linksimple/linksimple.component.ts"
3472
+ "name": "ButtonComponentMixin",
3473
+ "module": "utils/mixins/ButtonComponentMixin.js"
3590
3474
  }
3591
3475
  },
3592
3476
  {
3593
- "name": "rel",
3477
+ "kind": "field",
3478
+ "name": "postfixIcon",
3594
3479
  "type": {
3595
- "text": "string | undefined"
3480
+ "text": "IconNames | undefined"
3596
3481
  },
3597
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3598
- "fieldName": "rel",
3482
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3483
+ "attribute": "postfix-icon",
3484
+ "reflects": true,
3599
3485
  "inheritedFrom": {
3600
- "name": "Linksimple",
3601
- "module": "src/components/linksimple/linksimple.component.ts"
3486
+ "name": "ButtonComponentMixin",
3487
+ "module": "utils/mixins/ButtonComponentMixin.js"
3602
3488
  }
3603
- }
3604
- ],
3605
- "mixins": [
3606
- {
3607
- "name": "ButtonComponentMixin",
3608
- "module": "/src/utils/mixins/ButtonComponentMixin"
3609
- }
3610
- ],
3611
- "superclass": {
3612
- "name": "Linksimple",
3613
- "module": "/src/components/linksimple/linksimple.component"
3614
- },
3615
- "tagName": "mdc-buttonlink",
3616
- "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
3617
- "customElement": true,
3618
- "cssProperties": [
3489
+ },
3619
3490
  {
3620
- "description": "Border radius of the link.",
3621
- "name": "--mdc-link-border-radius",
3491
+ "kind": "field",
3492
+ "name": "variant",
3493
+ "type": {
3494
+ "text": "ButtonVariant"
3495
+ },
3496
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3497
+ "default": "primary",
3498
+ "attribute": "variant",
3622
3499
  "inheritedFrom": {
3623
- "name": "Linksimple",
3624
- "module": "src/components/linksimple/linksimple.component.ts"
3500
+ "name": "ButtonComponentMixin",
3501
+ "module": "utils/mixins/ButtonComponentMixin.js"
3625
3502
  }
3626
3503
  },
3627
3504
  {
3628
- "description": "Color of the link’s child content in the active state.",
3629
- "name": "--mdc-link-color-active",
3505
+ "kind": "field",
3506
+ "name": "color",
3507
+ "type": {
3508
+ "text": "ButtonColor"
3509
+ },
3510
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3511
+ "default": "default",
3512
+ "attribute": "color",
3630
3513
  "inheritedFrom": {
3631
- "name": "Linksimple",
3632
- "module": "src/components/linksimple/linksimple.component.ts"
3514
+ "name": "ButtonComponentMixin",
3515
+ "module": "utils/mixins/ButtonComponentMixin.js"
3633
3516
  }
3634
3517
  },
3635
3518
  {
3636
- "description": "Color of the link’s child content in the disabled state.",
3637
- "name": "--mdc-link-color-disabled",
3519
+ "kind": "method",
3520
+ "name": "setVariant",
3521
+ "privacy": "protected",
3522
+ "parameters": [
3523
+ {
3524
+ "name": "variant",
3525
+ "type": {
3526
+ "text": "ButtonVariant"
3527
+ },
3528
+ "description": "The variant to set."
3529
+ }
3530
+ ],
3531
+ "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
3638
3532
  "inheritedFrom": {
3639
- "name": "Linksimple",
3640
- "module": "src/components/linksimple/linksimple.component.ts"
3533
+ "name": "ButtonComponentMixin",
3534
+ "module": "utils/mixins/ButtonComponentMixin.js"
3641
3535
  }
3642
3536
  },
3643
3537
  {
3644
- "description": "Color of the link’s child content in the hover state.",
3645
- "name": "--mdc-link-color-hover",
3538
+ "kind": "method",
3539
+ "name": "setColor",
3540
+ "privacy": "protected",
3541
+ "parameters": [
3542
+ {
3543
+ "name": "color",
3544
+ "type": {
3545
+ "text": "ButtonColor"
3546
+ },
3547
+ "description": "The color to set."
3548
+ }
3549
+ ],
3550
+ "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
3646
3551
  "inheritedFrom": {
3647
- "name": "Linksimple",
3648
- "module": "src/components/linksimple/linksimple.component.ts"
3552
+ "name": "ButtonComponentMixin",
3553
+ "module": "utils/mixins/ButtonComponentMixin.js"
3649
3554
  }
3650
3555
  },
3651
3556
  {
3652
- "description": "Color of the link’s child content in the normal state.",
3653
- "name": "--mdc-link-color-normal",
3557
+ "kind": "method",
3558
+ "name": "setSize",
3559
+ "privacy": "protected",
3560
+ "parameters": [
3561
+ {
3562
+ "name": "size",
3563
+ "type": {
3564
+ "text": "PillButtonSize | IconButtonSize"
3565
+ },
3566
+ "description": "The size to set."
3567
+ }
3568
+ ],
3569
+ "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
3654
3570
  "inheritedFrom": {
3655
- "name": "Linksimple",
3656
- "module": "src/components/linksimple/linksimple.component.ts"
3571
+ "name": "ButtonComponentMixin",
3572
+ "module": "utils/mixins/ButtonComponentMixin.js"
3657
3573
  }
3658
3574
  },
3659
3575
  {
3660
- "description": "Color of the inverted link’s child content in the active state.",
3661
- "name": "--mdc-link-inverted-color-active",
3576
+ "kind": "method",
3577
+ "name": "inferButtonType",
3578
+ "privacy": "protected",
3579
+ "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
3580
+ "parameters": [
3581
+ {
3582
+ "description": "default slot of button",
3583
+ "name": "slot"
3584
+ }
3585
+ ],
3662
3586
  "inheritedFrom": {
3663
- "name": "Linksimple",
3664
- "module": "src/components/linksimple/linksimple.component.ts"
3587
+ "name": "ButtonComponentMixin",
3588
+ "module": "utils/mixins/ButtonComponentMixin.js"
3665
3589
  }
3666
3590
  },
3667
3591
  {
3668
- "description": "Color of the inverted link’s child content in the disabled state.",
3669
- "name": "--mdc-link-inverted-color-disabled",
3592
+ "kind": "field",
3593
+ "name": "autofocus",
3594
+ "type": {
3595
+ "text": "boolean"
3596
+ },
3597
+ "default": "false",
3598
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3599
+ "attribute": "autofocus",
3600
+ "reflects": true,
3670
3601
  "inheritedFrom": {
3671
- "name": "Linksimple",
3672
- "module": "src/components/linksimple/linksimple.component.ts"
3602
+ "name": "Buttonsimple",
3603
+ "module": "components/buttonsimple/buttonsimple.component.js"
3673
3604
  }
3674
3605
  },
3675
3606
  {
3676
- "description": "Color of the inverted link’s child content in the hover state.",
3677
- "name": "--mdc-link-inverted-color-hover",
3607
+ "kind": "field",
3608
+ "name": "tabIndex",
3609
+ "type": {
3610
+ "text": "number"
3611
+ },
3612
+ "default": "0",
3613
+ "description": "This property specifies the tab order of the element.",
3614
+ "attribute": "tabIndex",
3615
+ "reflects": true,
3678
3616
  "inheritedFrom": {
3679
- "name": "Linksimple",
3680
- "module": "src/components/linksimple/linksimple.component.ts"
3617
+ "name": "Buttonsimple",
3618
+ "module": "components/buttonsimple/buttonsimple.component.js"
3681
3619
  }
3682
3620
  },
3683
3621
  {
3684
- "description": "Color of the inverted link’s child content in the normal state.",
3685
- "name": "--mdc-link-inverted-color-normal",
3622
+ "kind": "field",
3623
+ "name": "disabled",
3624
+ "type": {
3625
+ "text": "boolean | undefined"
3626
+ },
3627
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3628
+ "default": "undefined",
3629
+ "attribute": "disabled",
3630
+ "reflects": true,
3686
3631
  "inheritedFrom": {
3687
- "name": "Linksimple",
3688
- "module": "src/components/linksimple/linksimple.component.ts"
3632
+ "name": "Buttonsimple",
3633
+ "module": "components/buttonsimple/buttonsimple.component.js"
3689
3634
  }
3690
- }
3691
- ]
3692
- }
3693
- ],
3694
- "exports": [
3695
- {
3696
- "kind": "js",
3697
- "name": "default",
3698
- "declaration": {
3699
- "name": "ButtonLink",
3700
- "module": "components/buttonlink/buttonlink.component.js"
3701
- }
3702
- }
3703
- ]
3704
- },
3705
- {
3706
- "kind": "javascript-module",
3707
- "path": "components/buttonsimple/buttonsimple.component.js",
3708
- "declarations": [
3709
- {
3710
- "kind": "class",
3711
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
3712
- "name": "Buttonsimple",
3713
- "members": [
3635
+ },
3714
3636
  {
3715
3637
  "kind": "field",
3716
3638
  "name": "active",
@@ -3720,7 +3642,11 @@
3720
3642
  "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
3721
3643
  "default": "undefined",
3722
3644
  "attribute": "active",
3723
- "reflects": true
3645
+ "reflects": true,
3646
+ "inheritedFrom": {
3647
+ "name": "Buttonsimple",
3648
+ "module": "components/buttonsimple/buttonsimple.component.js"
3649
+ }
3724
3650
  },
3725
3651
  {
3726
3652
  "kind": "field",
@@ -3731,26 +3657,11 @@
3731
3657
  "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3732
3658
  "default": "undefined",
3733
3659
  "attribute": "soft-disabled",
3734
- "reflects": true
3735
- },
3736
- {
3737
- "kind": "field",
3738
- "name": "size",
3739
- "type": {
3740
- "text": "ButtonSize"
3741
- },
3742
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3743
- "default": "32",
3744
- "attribute": "size",
3745
- "reflects": true
3746
- },
3747
- {
3748
- "kind": "field",
3749
- "name": "role",
3750
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3751
- "default": "button",
3752
- "attribute": "role",
3753
- "reflects": true
3660
+ "reflects": true,
3661
+ "inheritedFrom": {
3662
+ "name": "Buttonsimple",
3663
+ "module": "components/buttonsimple/buttonsimple.component.js"
3664
+ }
3754
3665
  },
3755
3666
  {
3756
3667
  "kind": "field",
@@ -3761,7 +3672,11 @@
3761
3672
  "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
3762
3673
  "default": "'aria-pressed' (when)",
3763
3674
  "attribute": "ariaStateKey",
3764
- "reflects": true
3675
+ "reflects": true,
3676
+ "inheritedFrom": {
3677
+ "name": "Buttonsimple",
3678
+ "module": "components/buttonsimple/buttonsimple.component.js"
3679
+ }
3765
3680
  },
3766
3681
  {
3767
3682
  "kind": "field",
@@ -3772,12 +3687,20 @@
3772
3687
  "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
3773
3688
  "default": "button",
3774
3689
  "attribute": "type",
3775
- "reflects": true
3690
+ "reflects": true,
3691
+ "inheritedFrom": {
3692
+ "name": "Buttonsimple",
3693
+ "module": "components/buttonsimple/buttonsimple.component.js"
3694
+ }
3776
3695
  },
3777
3696
  {
3778
3697
  "kind": "method",
3779
3698
  "name": "executeAction",
3780
- "privacy": "protected"
3699
+ "privacy": "protected",
3700
+ "inheritedFrom": {
3701
+ "name": "Buttonsimple",
3702
+ "module": "components/buttonsimple/buttonsimple.component.js"
3703
+ }
3781
3704
  },
3782
3705
  {
3783
3706
  "kind": "method",
@@ -3800,7 +3723,11 @@
3800
3723
  "description": "The active state of the element"
3801
3724
  }
3802
3725
  ],
3803
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
3726
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
3727
+ "inheritedFrom": {
3728
+ "name": "Buttonsimple",
3729
+ "module": "components/buttonsimple/buttonsimple.component.js"
3730
+ }
3804
3731
  },
3805
3732
  {
3806
3733
  "kind": "method",
@@ -3823,7 +3750,11 @@
3823
3750
  "description": "The soft-disabled state."
3824
3751
  }
3825
3752
  ],
3826
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
3753
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
3754
+ "inheritedFrom": {
3755
+ "name": "Buttonsimple",
3756
+ "module": "components/buttonsimple/buttonsimple.component.js"
3757
+ }
3827
3758
  },
3828
3759
  {
3829
3760
  "kind": "method",
@@ -3845,18 +3776,30 @@
3845
3776
  "description": "The disabled state."
3846
3777
  }
3847
3778
  ],
3848
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
3779
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
3780
+ "inheritedFrom": {
3781
+ "name": "Buttonsimple",
3782
+ "module": "components/buttonsimple/buttonsimple.component.js"
3783
+ }
3849
3784
  },
3850
3785
  {
3851
3786
  "kind": "method",
3852
3787
  "name": "triggerClickEvent",
3853
- "privacy": "private"
3788
+ "privacy": "private",
3789
+ "inheritedFrom": {
3790
+ "name": "Buttonsimple",
3791
+ "module": "components/buttonsimple/buttonsimple.component.js"
3792
+ }
3854
3793
  },
3855
3794
  {
3856
3795
  "kind": "method",
3857
3796
  "name": "handleBlur",
3858
3797
  "privacy": "private",
3859
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
3798
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
3799
+ "inheritedFrom": {
3800
+ "name": "Buttonsimple",
3801
+ "module": "components/buttonsimple/buttonsimple.component.js"
3802
+ }
3860
3803
  },
3861
3804
  {
3862
3805
  "kind": "method",
@@ -3871,7 +3814,11 @@
3871
3814
  "description": "The keyboard event."
3872
3815
  }
3873
3816
  ],
3874
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
3817
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
3818
+ "inheritedFrom": {
3819
+ "name": "Buttonsimple",
3820
+ "module": "components/buttonsimple/buttonsimple.component.js"
3821
+ }
3875
3822
  },
3876
3823
  {
3877
3824
  "kind": "method",
@@ -3886,77 +3833,138 @@
3886
3833
  "description": "The keyboard event."
3887
3834
  }
3888
3835
  ],
3889
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
3836
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
3837
+ "inheritedFrom": {
3838
+ "name": "Buttonsimple",
3839
+ "module": "components/buttonsimple/buttonsimple.component.js"
3840
+ }
3841
+ }
3842
+ ],
3843
+ "attributes": [
3844
+ {
3845
+ "name": "size",
3846
+ "type": {
3847
+ "text": "ButtonSize"
3848
+ },
3849
+ "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
3850
+ "default": "32",
3851
+ "fieldName": "size",
3852
+ "inheritedFrom": {
3853
+ "name": "Buttonsimple",
3854
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3855
+ }
3856
+ },
3857
+ {
3858
+ "name": "inverted",
3859
+ "type": {
3860
+ "text": "boolean"
3861
+ },
3862
+ "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
3863
+ "default": "false",
3864
+ "fieldName": "inverted"
3865
+ },
3866
+ {
3867
+ "name": "role",
3868
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3869
+ "default": "'button'",
3870
+ "fieldName": "role",
3871
+ "type": {
3872
+ "text": "string"
3873
+ },
3874
+ "inheritedFrom": {
3875
+ "name": "Buttonsimple",
3876
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3877
+ }
3878
+ },
3879
+ {
3880
+ "name": "prefix-icon",
3881
+ "type": {
3882
+ "text": "IconNames | undefined"
3883
+ },
3884
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3885
+ "fieldName": "prefixIcon",
3886
+ "inheritedFrom": {
3887
+ "name": "ButtonComponentMixin",
3888
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3889
+ }
3890
+ },
3891
+ {
3892
+ "name": "postfix-icon",
3893
+ "type": {
3894
+ "text": "IconNames | undefined"
3895
+ },
3896
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3897
+ "fieldName": "postfixIcon",
3898
+ "inheritedFrom": {
3899
+ "name": "ButtonComponentMixin",
3900
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3901
+ }
3902
+ },
3903
+ {
3904
+ "name": "variant",
3905
+ "type": {
3906
+ "text": "ButtonVariant"
3907
+ },
3908
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3909
+ "default": "primary",
3910
+ "fieldName": "variant",
3911
+ "inheritedFrom": {
3912
+ "name": "ButtonComponentMixin",
3913
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3914
+ }
3915
+ },
3916
+ {
3917
+ "name": "color",
3918
+ "type": {
3919
+ "text": "ButtonColor"
3920
+ },
3921
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3922
+ "default": "default",
3923
+ "fieldName": "color",
3924
+ "inheritedFrom": {
3925
+ "name": "ButtonComponentMixin",
3926
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3927
+ }
3890
3928
  },
3891
3929
  {
3892
- "kind": "field",
3893
3930
  "name": "autofocus",
3894
3931
  "type": {
3895
3932
  "text": "boolean"
3896
3933
  },
3897
3934
  "default": "false",
3898
3935
  "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
3899
- "attribute": "autofocus",
3900
- "reflects": true,
3936
+ "fieldName": "autofocus",
3901
3937
  "inheritedFrom": {
3902
- "name": "AutoFocusMixin",
3903
- "module": "utils/mixins/AutoFocusMixin.js"
3938
+ "name": "Buttonsimple",
3939
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3904
3940
  }
3905
3941
  },
3906
3942
  {
3907
- "kind": "field",
3908
3943
  "name": "tabIndex",
3909
3944
  "type": {
3910
3945
  "text": "number"
3911
3946
  },
3912
3947
  "default": "0",
3913
3948
  "description": "This property specifies the tab order of the element.",
3914
- "attribute": "tabIndex",
3915
- "reflects": true,
3949
+ "fieldName": "tabIndex",
3916
3950
  "inheritedFrom": {
3917
- "name": "TabIndexMixin",
3918
- "module": "utils/mixins/TabIndexMixin.js"
3951
+ "name": "Buttonsimple",
3952
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3919
3953
  }
3920
3954
  },
3921
3955
  {
3922
- "kind": "field",
3923
3956
  "name": "disabled",
3924
3957
  "type": {
3925
3958
  "text": "boolean | undefined"
3926
3959
  },
3927
3960
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3928
3961
  "default": "undefined",
3929
- "attribute": "disabled",
3930
- "reflects": true,
3962
+ "fieldName": "disabled",
3931
3963
  "inheritedFrom": {
3932
- "name": "DisabledMixin",
3933
- "module": "utils/mixins/DisabledMixin.js"
3964
+ "name": "Buttonsimple",
3965
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3934
3966
  }
3935
- }
3936
- ],
3937
- "events": [
3938
- {
3939
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
3940
- "name": "click",
3941
- "reactName": "onClick"
3942
- },
3943
- {
3944
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
3945
- "name": "keydown",
3946
- "reactName": "onKeyDown"
3947
3967
  },
3948
- {
3949
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
3950
- "name": "keyup",
3951
- "reactName": "onKeyUp"
3952
- },
3953
- {
3954
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
3955
- "name": "focus",
3956
- "reactName": "onFocus"
3957
- }
3958
- ],
3959
- "attributes": [
3960
3968
  {
3961
3969
  "name": "active",
3962
3970
  "type": {
@@ -3964,7 +3972,11 @@
3964
3972
  },
3965
3973
  "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
3966
3974
  "default": "undefined",
3967
- "fieldName": "active"
3975
+ "fieldName": "active",
3976
+ "inheritedFrom": {
3977
+ "name": "Buttonsimple",
3978
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3979
+ }
3968
3980
  },
3969
3981
  {
3970
3982
  "name": "soft-disabled",
@@ -3973,22 +3985,11 @@
3973
3985
  },
3974
3986
  "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3975
3987
  "default": "undefined",
3976
- "fieldName": "softDisabled"
3977
- },
3978
- {
3979
- "name": "size",
3980
- "type": {
3981
- "text": "ButtonSize"
3982
- },
3983
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3984
- "default": "32",
3985
- "fieldName": "size"
3986
- },
3987
- {
3988
- "name": "role",
3989
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
3990
- "default": "button",
3991
- "fieldName": "role"
3988
+ "fieldName": "softDisabled",
3989
+ "inheritedFrom": {
3990
+ "name": "Buttonsimple",
3991
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3992
+ }
3992
3993
  },
3993
3994
  {
3994
3995
  "name": "ariaStateKey",
@@ -3997,7 +3998,11 @@
3997
3998
  },
3998
3999
  "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
3999
4000
  "default": "'aria-pressed' (when)",
4000
- "fieldName": "ariaStateKey"
4001
+ "fieldName": "ariaStateKey",
4002
+ "inheritedFrom": {
4003
+ "name": "Buttonsimple",
4004
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4005
+ }
4001
4006
  },
4002
4007
  {
4003
4008
  "name": "type",
@@ -4006,69 +4011,64 @@
4006
4011
  },
4007
4012
  "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
4008
4013
  "default": "button",
4009
- "fieldName": "type"
4010
- },
4011
- {
4012
- "name": "autofocus",
4013
- "type": {
4014
- "text": "boolean"
4015
- },
4016
- "default": "false",
4017
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4018
- "fieldName": "autofocus",
4014
+ "fieldName": "type",
4019
4015
  "inheritedFrom": {
4020
- "name": "AutoFocusMixin",
4021
- "module": "src/utils/mixins/AutoFocusMixin.ts"
4016
+ "name": "Buttonsimple",
4017
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4022
4018
  }
4023
- },
4019
+ }
4020
+ ],
4021
+ "mixins": [
4024
4022
  {
4025
- "name": "tabIndex",
4026
- "type": {
4027
- "text": "number"
4028
- },
4029
- "default": "0",
4030
- "description": "This property specifies the tab order of the element.",
4031
- "fieldName": "tabIndex",
4023
+ "name": "ButtonComponentMixin",
4024
+ "module": "/src/utils/mixins/ButtonComponentMixin"
4025
+ }
4026
+ ],
4027
+ "superclass": {
4028
+ "name": "Buttonsimple",
4029
+ "module": "/src/components/buttonsimple/buttonsimple.component"
4030
+ },
4031
+ "tagName": "mdc-button",
4032
+ "jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\n * - **Primary**: Solid background color.\n * - **Secondary**: Transparent background with a solid border.\n * - **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n */",
4033
+ "customElement": true,
4034
+ "events": [
4035
+ {
4036
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
4037
+ "name": "click",
4038
+ "reactName": "onClick",
4032
4039
  "inheritedFrom": {
4033
- "name": "TabIndexMixin",
4034
- "module": "src/utils/mixins/TabIndexMixin.ts"
4040
+ "name": "Buttonsimple",
4041
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4035
4042
  }
4036
4043
  },
4037
4044
  {
4038
- "name": "disabled",
4039
- "type": {
4040
- "text": "boolean | undefined"
4041
- },
4042
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4043
- "default": "undefined",
4044
- "fieldName": "disabled",
4045
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4046
+ "name": "keydown",
4047
+ "reactName": "onKeyDown",
4045
4048
  "inheritedFrom": {
4046
- "name": "DisabledMixin",
4047
- "module": "src/utils/mixins/DisabledMixin.ts"
4049
+ "name": "Buttonsimple",
4050
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4048
4051
  }
4049
- }
4050
- ],
4051
- "mixins": [
4052
- {
4053
- "name": "AutoFocusMixin",
4054
- "module": "/src/utils/mixins/AutoFocusMixin"
4055
4052
  },
4056
4053
  {
4057
- "name": "TabIndexMixin",
4058
- "module": "/src/utils/mixins/TabIndexMixin"
4054
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4055
+ "name": "keyup",
4056
+ "reactName": "onKeyUp",
4057
+ "inheritedFrom": {
4058
+ "name": "Buttonsimple",
4059
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4060
+ }
4059
4061
  },
4060
4062
  {
4061
- "name": "DisabledMixin",
4062
- "module": "/src/utils/mixins/DisabledMixin"
4063
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4064
+ "name": "focus",
4065
+ "reactName": "onFocus",
4066
+ "inheritedFrom": {
4067
+ "name": "Buttonsimple",
4068
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4069
+ }
4063
4070
  }
4064
- ],
4065
- "superclass": {
4066
- "name": "Component",
4067
- "module": "/src/models"
4068
- },
4069
- "tagName": "mdc-buttonsimple",
4070
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
4071
- "customElement": true
4071
+ ]
4072
4072
  }
4073
4073
  ],
4074
4074
  "exports": [
@@ -4076,8 +4076,8 @@
4076
4076
  "kind": "js",
4077
4077
  "name": "default",
4078
4078
  "declaration": {
4079
- "name": "Buttonsimple",
4080
- "module": "components/buttonsimple/buttonsimple.component.js"
4079
+ "name": "Button",
4080
+ "module": "components/button/button.component.js"
4081
4081
  }
4082
4082
  }
4083
4083
  ]
@@ -15444,6 +15444,13 @@
15444
15444
  }
15445
15445
  ],
15446
15446
  "members": [
15447
+ {
15448
+ "kind": "field",
15449
+ "name": "menusections",
15450
+ "type": {
15451
+ "text": "Array<HTMLElement>"
15452
+ }
15453
+ },
15447
15454
  {
15448
15455
  "kind": "field",
15449
15456
  "name": "menuItems",
@@ -20475,6 +20482,14 @@
20475
20482
  "attribute": "show-divider",
20476
20483
  "reflects": true
20477
20484
  },
20485
+ {
20486
+ "kind": "field",
20487
+ "name": "dividerVariant",
20488
+ "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
20489
+ "default": "'solid'",
20490
+ "attribute": "divider-variant",
20491
+ "reflects": true
20492
+ },
20478
20493
  {
20479
20494
  "kind": "method",
20480
20495
  "name": "renderHeader",
@@ -20523,6 +20538,12 @@
20523
20538
  "default": "false",
20524
20539
  "description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
20525
20540
  "fieldName": "showDivider"
20541
+ },
20542
+ {
20543
+ "name": "divider-variant",
20544
+ "description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
20545
+ "default": "'solid'",
20546
+ "fieldName": "dividerVariant"
20526
20547
  }
20527
20548
  ],
20528
20549
  "superclass": {
@@ -29311,7 +29332,7 @@
29311
29332
  "declarations": [
29312
29333
  {
29313
29334
  "kind": "class",
29314
- "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.",
29335
+ "description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
29315
29336
  "name": "Select",
29316
29337
  "slots": [
29317
29338
  {
@@ -29350,30 +29371,36 @@
29350
29371
  "attribute": "height"
29351
29372
  },
29352
29373
  {
29353
- "kind": "method",
29354
- "name": "getAllValidOptions",
29355
- "privacy": "private",
29356
- "description": "A helper function which returns a flattened array of all valid options from the assigned slot.\nIt takes care of the edge cases where the option is either a direct child or a\nchild of an option group."
29374
+ "kind": "field",
29375
+ "name": "placement",
29376
+ "type": {
29377
+ "text": "Placement"
29378
+ },
29379
+ "description": "The placeholder text which will be shown on the text if provided.",
29380
+ "attribute": "placement",
29381
+ "reflects": true
29382
+ },
29383
+ {
29384
+ "kind": "field",
29385
+ "name": "softDisabled",
29386
+ "type": {
29387
+ "text": "boolean | undefined"
29388
+ },
29389
+ "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
29390
+ "default": "undefined",
29391
+ "attribute": "soft-disabled"
29357
29392
  },
29358
29393
  {
29359
29394
  "kind": "method",
29360
- "name": "handlePopoverOpen",
29395
+ "name": "modifyListBoxWrapper",
29361
29396
  "privacy": "private",
29362
- "return": {
29363
- "type": {
29364
- "text": "void"
29365
- }
29366
- }
29397
+ "description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
29367
29398
  },
29368
29399
  {
29369
29400
  "kind": "method",
29370
- "name": "handlePopoverClose",
29401
+ "name": "getAllValidOptions",
29371
29402
  "privacy": "private",
29372
- "return": {
29373
- "type": {
29374
- "text": "void"
29375
- }
29376
- }
29403
+ "description": "A helper function which returns a flattened array of all valid options from within the slotted listbox.\nIt takes care of the edge cases where the option is either a direct child or a\nchild of an option group."
29377
29404
  },
29378
29405
  {
29379
29406
  "kind": "method",
@@ -29494,7 +29521,25 @@
29494
29521
  },
29495
29522
  {
29496
29523
  "kind": "method",
29497
- "name": "handlePopoverOnClose",
29524
+ "name": "handleClickCombobox",
29525
+ "privacy": "private",
29526
+ "return": {
29527
+ "type": {
29528
+ "text": "void"
29529
+ }
29530
+ },
29531
+ "parameters": [
29532
+ {
29533
+ "name": "event",
29534
+ "type": {
29535
+ "text": "MouseEvent"
29536
+ }
29537
+ }
29538
+ ]
29539
+ },
29540
+ {
29541
+ "kind": "method",
29542
+ "name": "handleKeydownCombobox",
29498
29543
  "privacy": "private",
29499
29544
  "return": {
29500
29545
  "type": {
@@ -29551,49 +29596,20 @@
29551
29596
  },
29552
29597
  {
29553
29598
  "name": "currentIndex",
29554
- "type": {
29555
- "text": "number"
29556
- },
29557
- "description": "The current index of the focused option."
29558
- },
29559
- {
29560
- "name": "optionsLength",
29561
- "type": {
29562
- "text": "number"
29563
- },
29564
- "description": "The total number of options."
29565
- }
29566
- ],
29567
- "description": "Calculates the new index based on the pressed navigation key.\nSupports ArrowUp, ArrowDown, PageUp, and PageDown keys for navigating options.\n- ArrowDown: Moves focus to the next option, if available.\n- ArrowUp: Moves focus to the previous option, if available.\n- PageDown: Moves focus 10 options down or to the last option.\n- PageUp: Moves focus 10 options up or to the first option."
29568
- },
29569
- {
29570
- "kind": "method",
29571
- "name": "updateActivedescendant",
29572
- "privacy": "private",
29573
- "return": {
29574
- "type": {
29575
- "text": "void"
29576
- }
29577
- },
29578
- "parameters": [
29599
+ "type": {
29600
+ "text": "number"
29601
+ },
29602
+ "description": "The current index of the focused option."
29603
+ },
29579
29604
  {
29580
- "name": "target",
29581
- "optional": true,
29605
+ "name": "optionsLength",
29582
29606
  "type": {
29583
- "text": "EventTarget | null"
29584
- }
29585
- }
29586
- ]
29587
- },
29588
- {
29589
- "kind": "method",
29590
- "name": "resetActivedescendant",
29591
- "privacy": "private",
29592
- "return": {
29593
- "type": {
29594
- "text": "void"
29607
+ "text": "number"
29608
+ },
29609
+ "description": "The total number of options."
29595
29610
  }
29596
- }
29611
+ ],
29612
+ "description": "Calculates the new index based on the pressed navigation key.\nSupports ArrowUp, ArrowDown, PageUp, and PageDown keys for navigating options.\n- ArrowDown: Moves focus to the next option, if available.\n- ArrowUp: Moves focus to the previous option, if available.\n- PageDown: Moves focus 10 options down or to the last option.\n- PageUp: Moves focus 10 options up or to the first option."
29597
29613
  },
29598
29614
  {
29599
29615
  "kind": "method",
@@ -29635,36 +29651,13 @@
29635
29651
  },
29636
29652
  {
29637
29653
  "kind": "method",
29638
- "name": "getNativeSelect",
29639
- "privacy": "private",
29640
- "return": {
29641
- "type": {
29642
- "text": ""
29643
- }
29644
- },
29645
- "description": "Generates the native select element.\nThe native select element is not rendered directly and is not visible on the UI.\nIt's rendered only on the DOM for accessibility purposes.\nInstead, the overlay uses the native select element to generate the list of options."
29646
- },
29647
- {
29648
- "kind": "method",
29649
- "name": "getOptionsContentFromSlot",
29650
- "privacy": "private",
29651
- "return": {
29652
- "type": {
29653
- "text": ""
29654
- }
29655
- },
29656
- "description": "This method maps over all valid options and constructs their corresponding\nHTML `<option>` elements. The attributes such as `value`, `label`, `disabled`,\nand `selected` are extracted from the respective option elements.\nIf the attribute is not present, a default value or fallback is used.\nThe content of each `<option>` is set to the text content of the option element."
29657
- },
29658
- {
29659
- "kind": "method",
29660
- "name": "getPopoverContent",
29654
+ "name": "handleOnChange",
29661
29655
  "privacy": "private",
29662
29656
  "return": {
29663
29657
  "type": {
29664
- "text": "TemplateResult | typeof nothing"
29658
+ "text": "void"
29665
29659
  }
29666
- },
29667
- "description": "Generates the content for the popover associated with the select component.\nIf the component is disabled or readonly, returns `nothing`.\nOtherwise, returns a `TemplateResult` that renders a popover with various configurations\nsuch as visibility, interaction, and event handlers.\nThe popover acts as a dropdown list with options, allowing user interaction."
29660
+ }
29668
29661
  },
29669
29662
  {
29670
29663
  "kind": "field",
@@ -30046,6 +30039,23 @@
30046
30039
  "description": "height attribute of the select field. If set,\nthen a scroll bar will be visible when there more options than the adjusted height.",
30047
30040
  "fieldName": "height"
30048
30041
  },
30042
+ {
30043
+ "name": "placement",
30044
+ "type": {
30045
+ "text": "Placement"
30046
+ },
30047
+ "description": "The placeholder text which will be shown on the text if provided.",
30048
+ "fieldName": "placement"
30049
+ },
30050
+ {
30051
+ "name": "soft-disabled",
30052
+ "type": {
30053
+ "text": "boolean | undefined"
30054
+ },
30055
+ "description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
30056
+ "default": "undefined",
30057
+ "fieldName": "softDisabled"
30058
+ },
30049
30059
  {
30050
30060
  "name": "name",
30051
30061
  "type": {
@@ -30225,7 +30235,7 @@
30225
30235
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
30226
30236
  },
30227
30237
  "tagName": "mdc-select",
30228
- "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
30238
+ "jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
30229
30239
  "customElement": true
30230
30240
  }
30231
30241
  ],
@@ -30240,6 +30250,46 @@
30240
30250
  }
30241
30251
  ]
30242
30252
  },
30253
+ {
30254
+ "kind": "javascript-module",
30255
+ "path": "components/selectlistbox/selectlistbox.component.js",
30256
+ "declarations": [
30257
+ {
30258
+ "kind": "class",
30259
+ "description": "Selectlistbox component as Light DOM component to act as a simple wrapper\nfor mdc-option components to ensure accessibility and proper role assignment.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\nand mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them.",
30260
+ "name": "Selectlistbox",
30261
+ "slots": [
30262
+ {
30263
+ "description": "This is a default/unnamed slot, which can be used to insert mdc-option components.",
30264
+ "name": "default"
30265
+ }
30266
+ ],
30267
+ "members": [
30268
+ {
30269
+ "kind": "field",
30270
+ "name": "role"
30271
+ }
30272
+ ],
30273
+ "superclass": {
30274
+ "name": "Component",
30275
+ "module": "/src/models"
30276
+ },
30277
+ "tagName": "mdc-selectlistbox",
30278
+ "jsDoc": "/**\n * Selectlistbox component as Light DOM component to act as a simple wrapper\n * for mdc-option components to ensure accessibility and proper role assignment.\n *\n * Once [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\n * and mdc-option can be used directly in the select component with a listbox in a different\n * shadow root and aria-owns attribute to connect them.\n *\n * @tagname mdc-selectlistbox\n *\n * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.\n */",
30279
+ "customElement": true
30280
+ }
30281
+ ],
30282
+ "exports": [
30283
+ {
30284
+ "kind": "js",
30285
+ "name": "default",
30286
+ "declaration": {
30287
+ "name": "Selectlistbox",
30288
+ "module": "components/selectlistbox/selectlistbox.component.js"
30289
+ }
30290
+ }
30291
+ ]
30292
+ },
30243
30293
  {
30244
30294
  "kind": "javascript-module",
30245
30295
  "path": "components/sidenavigation/sidenavigation.component.js",
@@ -30796,44 +30846,218 @@
30796
30846
  "name": "StaticRadio",
30797
30847
  "cssProperties": [
30798
30848
  {
30799
- "description": "size of the inner circle",
30800
- "name": "--mdc-staticradio-inner-circle-size"
30849
+ "description": "size of the inner circle",
30850
+ "name": "--mdc-staticradio-inner-circle-size"
30851
+ },
30852
+ {
30853
+ "description": "color of the label when disabled",
30854
+ "name": "--mdc-staticradio-text-disabled-color"
30855
+ },
30856
+ {
30857
+ "description": "color of the radio button border when normal",
30858
+ "name": "--mdc-staticradio-normal-border-color"
30859
+ },
30860
+ {
30861
+ "description": "color of the radio button border when disabled",
30862
+ "name": "--mdc-staticradio-disabled-border-color"
30863
+ },
30864
+ {
30865
+ "description": "background color of the inner circle when normal",
30866
+ "name": "--mdc-staticradio-inner-circle-normal-background"
30867
+ },
30868
+ {
30869
+ "description": "background color of the inner circle when disabled",
30870
+ "name": "--mdc-staticradio-inner-circle-disabled-background"
30871
+ },
30872
+ {
30873
+ "description": "color of the radio button when inactive",
30874
+ "name": "--mdc-staticradio-control-inactive-color"
30875
+ },
30876
+ {
30877
+ "description": "background color of the radio button when inactive and disabled",
30878
+ "name": "--mdc-staticradio-control-inactive-disabled-background"
30879
+ },
30880
+ {
30881
+ "description": "color of the radio button when active",
30882
+ "name": "--mdc-staticradio-control-active-color"
30883
+ },
30884
+ {
30885
+ "description": "background color of the radio button when active and disabled",
30886
+ "name": "--mdc-staticradio-control-active-disabled-background"
30887
+ }
30888
+ ],
30889
+ "members": [
30890
+ {
30891
+ "kind": "field",
30892
+ "name": "checked",
30893
+ "type": {
30894
+ "text": "boolean"
30895
+ },
30896
+ "default": "false",
30897
+ "description": "Determines whether the radio is selected or unselected.",
30898
+ "attribute": "checked",
30899
+ "reflects": true
30900
+ },
30901
+ {
30902
+ "kind": "field",
30903
+ "name": "readonly",
30904
+ "type": {
30905
+ "text": "boolean"
30906
+ },
30907
+ "default": "false",
30908
+ "description": "Determines whether the radio is read-only.",
30909
+ "attribute": "readonly",
30910
+ "reflects": true
30911
+ },
30912
+ {
30913
+ "kind": "field",
30914
+ "name": "disabled",
30915
+ "type": {
30916
+ "text": "boolean | undefined"
30917
+ },
30918
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
30919
+ "default": "undefined",
30920
+ "attribute": "disabled",
30921
+ "reflects": true,
30922
+ "inheritedFrom": {
30923
+ "name": "DisabledMixin",
30924
+ "module": "utils/mixins/DisabledMixin.js"
30925
+ }
30926
+ }
30927
+ ],
30928
+ "attributes": [
30929
+ {
30930
+ "name": "checked",
30931
+ "type": {
30932
+ "text": "boolean"
30933
+ },
30934
+ "default": "false",
30935
+ "description": "Determines whether the radio is selected or unselected.",
30936
+ "fieldName": "checked"
30937
+ },
30938
+ {
30939
+ "name": "readonly",
30940
+ "type": {
30941
+ "text": "boolean"
30942
+ },
30943
+ "default": "false",
30944
+ "description": "Determines whether the radio is read-only.",
30945
+ "fieldName": "readonly"
30946
+ },
30947
+ {
30948
+ "name": "disabled",
30949
+ "type": {
30950
+ "text": "boolean | undefined"
30951
+ },
30952
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
30953
+ "default": "undefined",
30954
+ "fieldName": "disabled",
30955
+ "inheritedFrom": {
30956
+ "name": "DisabledMixin",
30957
+ "module": "src/utils/mixins/DisabledMixin.ts"
30958
+ }
30959
+ }
30960
+ ],
30961
+ "mixins": [
30962
+ {
30963
+ "name": "DisabledMixin",
30964
+ "module": "/src/utils/mixins/DisabledMixin"
30965
+ }
30966
+ ],
30967
+ "superclass": {
30968
+ "name": "Component",
30969
+ "module": "/src/models"
30970
+ },
30971
+ "tagName": "mdc-staticradio",
30972
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
30973
+ "customElement": true
30974
+ }
30975
+ ],
30976
+ "exports": [
30977
+ {
30978
+ "kind": "js",
30979
+ "name": "default",
30980
+ "declaration": {
30981
+ "name": "StaticRadio",
30982
+ "module": "components/staticradio/staticradio.component.js"
30983
+ }
30984
+ }
30985
+ ]
30986
+ },
30987
+ {
30988
+ "kind": "javascript-module",
30989
+ "path": "components/statictoggle/statictoggle.component.js",
30990
+ "declarations": [
30991
+ {
30992
+ "kind": "class",
30993
+ "description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
30994
+ "name": "StaticToggle",
30995
+ "cssProperties": [
30996
+ {
30997
+ "description": "Width of the toggle",
30998
+ "name": "--mdc-statictoggle-width"
30999
+ },
31000
+ {
31001
+ "description": "Height of the toggle",
31002
+ "name": "--mdc-statictoggle-height"
31003
+ },
31004
+ {
31005
+ "description": "Width of the toggle when it's size is compact",
31006
+ "name": "--mdc-statictoggle-width-compact"
31007
+ },
31008
+ {
31009
+ "description": "Height of the toggle when it's size is compact",
31010
+ "name": "--mdc-statictoggle-height-compact"
31011
+ },
31012
+ {
31013
+ "description": "Border radius of the toggle",
31014
+ "name": "--mdc-statictoggle-border-radius"
30801
31015
  },
30802
31016
  {
30803
- "description": "color of the label when disabled",
30804
- "name": "--mdc-staticradio-text-disabled-color"
31017
+ "description": "Border radius of the toggle when it's size is compact",
31018
+ "name": "--mdc-statictoggle-border-radius-compact"
30805
31019
  },
30806
31020
  {
30807
- "description": "color of the radio button border when normal",
30808
- "name": "--mdc-staticradio-normal-border-color"
31021
+ "description": "Border of the toggle",
31022
+ "name": "--mdc-statictoggle-border"
30809
31023
  },
30810
31024
  {
30811
- "description": "color of the radio button border when disabled",
30812
- "name": "--mdc-staticradio-disabled-border-color"
31025
+ "description": "Background color of the inactive toggle in rest state",
31026
+ "name": "--mdc-statictoggle-inactive-rest-color"
30813
31027
  },
30814
31028
  {
30815
- "description": "background color of the inner circle when normal",
30816
- "name": "--mdc-staticradio-inner-circle-normal-background"
31029
+ "description": "Background color of the inactive toggle in disabled state",
31030
+ "name": "--mdc-statictoggle-inactive-disabled-color"
30817
31031
  },
30818
31032
  {
30819
- "description": "background color of the inner circle when disabled",
30820
- "name": "--mdc-staticradio-inner-circle-disabled-background"
31033
+ "description": "Background color of the active toggle in rest state",
31034
+ "name": "--mdc-statictoggle-active-rest-color"
30821
31035
  },
30822
31036
  {
30823
- "description": "color of the radio button when inactive",
30824
- "name": "--mdc-staticradio-control-inactive-color"
31037
+ "description": "Background color of the active toggle in disabled state",
31038
+ "name": "--mdc-statictoggle-active-disabled-color"
30825
31039
  },
30826
31040
  {
30827
- "description": "background color of the radio button when inactive and disabled",
30828
- "name": "--mdc-staticradio-control-inactive-disabled-background"
31041
+ "description": "Color of the icon in normal state",
31042
+ "name": "--mdc-statictoggle-icon-color-normal"
30829
31043
  },
30830
31044
  {
30831
- "description": "color of the radio button when active",
30832
- "name": "--mdc-staticradio-control-active-color"
31045
+ "description": "Color of the icon in disabled state",
31046
+ "name": "--mdc-statictoggle-icon-color-disabled"
30833
31047
  },
30834
31048
  {
30835
- "description": "background color of the radio button when active and disabled",
30836
- "name": "--mdc-staticradio-control-active-disabled-background"
31049
+ "description": "Background color of the icon in normal state",
31050
+ "name": "--mdc-statictoggle-icon-background-color-normal"
31051
+ },
31052
+ {
31053
+ "description": "Background color of the icon in disabled state",
31054
+ "name": "--mdc-statictoggle-icon-background-color-disabled"
31055
+ }
31056
+ ],
31057
+ "slots": [
31058
+ {
31059
+ "description": "This is a default/unnamed slot",
31060
+ "name": "default"
30837
31061
  }
30838
31062
  ],
30839
31063
  "members": [
@@ -30844,19 +31068,19 @@
30844
31068
  "text": "boolean"
30845
31069
  },
30846
31070
  "default": "false",
30847
- "description": "Determines whether the radio is selected or unselected.",
31071
+ "description": "Determines whether the toggle is active or inactive.",
30848
31072
  "attribute": "checked",
30849
31073
  "reflects": true
30850
31074
  },
30851
31075
  {
30852
31076
  "kind": "field",
30853
- "name": "readonly",
31077
+ "name": "size",
30854
31078
  "type": {
30855
- "text": "boolean"
31079
+ "text": "ToggleSize"
30856
31080
  },
30857
- "default": "false",
30858
- "description": "Determines whether the radio is read-only.",
30859
- "attribute": "readonly",
31081
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
31082
+ "default": "default",
31083
+ "attribute": "size",
30860
31084
  "reflects": true
30861
31085
  },
30862
31086
  {
@@ -30882,17 +31106,17 @@
30882
31106
  "text": "boolean"
30883
31107
  },
30884
31108
  "default": "false",
30885
- "description": "Determines whether the radio is selected or unselected.",
31109
+ "description": "Determines whether the toggle is active or inactive.",
30886
31110
  "fieldName": "checked"
30887
31111
  },
30888
31112
  {
30889
- "name": "readonly",
31113
+ "name": "size",
30890
31114
  "type": {
30891
- "text": "boolean"
31115
+ "text": "ToggleSize"
30892
31116
  },
30893
- "default": "false",
30894
- "description": "Determines whether the radio is read-only.",
30895
- "fieldName": "readonly"
31117
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
31118
+ "default": "default",
31119
+ "fieldName": "size"
30896
31120
  },
30897
31121
  {
30898
31122
  "name": "disabled",
@@ -30918,8 +31142,8 @@
30918
31142
  "name": "Component",
30919
31143
  "module": "/src/models"
30920
31144
  },
30921
- "tagName": "mdc-staticradio",
30922
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
31145
+ "tagName": "mdc-statictoggle",
31146
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
30923
31147
  "customElement": true
30924
31148
  }
30925
31149
  ],
@@ -30928,8 +31152,8 @@
30928
31152
  "kind": "js",
30929
31153
  "name": "default",
30930
31154
  "declaration": {
30931
- "name": "StaticRadio",
30932
- "module": "components/staticradio/staticradio.component.js"
31155
+ "name": "StaticToggle",
31156
+ "module": "components/statictoggle/statictoggle.component.js"
30933
31157
  }
30934
31158
  }
30935
31159
  ]
@@ -31743,180 +31967,6 @@
31743
31967
  }
31744
31968
  ]
31745
31969
  },
31746
- {
31747
- "kind": "javascript-module",
31748
- "path": "components/statictoggle/statictoggle.component.js",
31749
- "declarations": [
31750
- {
31751
- "kind": "class",
31752
- "description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
31753
- "name": "StaticToggle",
31754
- "cssProperties": [
31755
- {
31756
- "description": "Width of the toggle",
31757
- "name": "--mdc-statictoggle-width"
31758
- },
31759
- {
31760
- "description": "Height of the toggle",
31761
- "name": "--mdc-statictoggle-height"
31762
- },
31763
- {
31764
- "description": "Width of the toggle when it's size is compact",
31765
- "name": "--mdc-statictoggle-width-compact"
31766
- },
31767
- {
31768
- "description": "Height of the toggle when it's size is compact",
31769
- "name": "--mdc-statictoggle-height-compact"
31770
- },
31771
- {
31772
- "description": "Border radius of the toggle",
31773
- "name": "--mdc-statictoggle-border-radius"
31774
- },
31775
- {
31776
- "description": "Border radius of the toggle when it's size is compact",
31777
- "name": "--mdc-statictoggle-border-radius-compact"
31778
- },
31779
- {
31780
- "description": "Border of the toggle",
31781
- "name": "--mdc-statictoggle-border"
31782
- },
31783
- {
31784
- "description": "Background color of the inactive toggle in rest state",
31785
- "name": "--mdc-statictoggle-inactive-rest-color"
31786
- },
31787
- {
31788
- "description": "Background color of the inactive toggle in disabled state",
31789
- "name": "--mdc-statictoggle-inactive-disabled-color"
31790
- },
31791
- {
31792
- "description": "Background color of the active toggle in rest state",
31793
- "name": "--mdc-statictoggle-active-rest-color"
31794
- },
31795
- {
31796
- "description": "Background color of the active toggle in disabled state",
31797
- "name": "--mdc-statictoggle-active-disabled-color"
31798
- },
31799
- {
31800
- "description": "Color of the icon in normal state",
31801
- "name": "--mdc-statictoggle-icon-color-normal"
31802
- },
31803
- {
31804
- "description": "Color of the icon in disabled state",
31805
- "name": "--mdc-statictoggle-icon-color-disabled"
31806
- },
31807
- {
31808
- "description": "Background color of the icon in normal state",
31809
- "name": "--mdc-statictoggle-icon-background-color-normal"
31810
- },
31811
- {
31812
- "description": "Background color of the icon in disabled state",
31813
- "name": "--mdc-statictoggle-icon-background-color-disabled"
31814
- }
31815
- ],
31816
- "slots": [
31817
- {
31818
- "description": "This is a default/unnamed slot",
31819
- "name": "default"
31820
- }
31821
- ],
31822
- "members": [
31823
- {
31824
- "kind": "field",
31825
- "name": "checked",
31826
- "type": {
31827
- "text": "boolean"
31828
- },
31829
- "default": "false",
31830
- "description": "Determines whether the toggle is active or inactive.",
31831
- "attribute": "checked",
31832
- "reflects": true
31833
- },
31834
- {
31835
- "kind": "field",
31836
- "name": "size",
31837
- "type": {
31838
- "text": "ToggleSize"
31839
- },
31840
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
31841
- "default": "default",
31842
- "attribute": "size",
31843
- "reflects": true
31844
- },
31845
- {
31846
- "kind": "field",
31847
- "name": "disabled",
31848
- "type": {
31849
- "text": "boolean | undefined"
31850
- },
31851
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
31852
- "default": "undefined",
31853
- "attribute": "disabled",
31854
- "reflects": true,
31855
- "inheritedFrom": {
31856
- "name": "DisabledMixin",
31857
- "module": "utils/mixins/DisabledMixin.js"
31858
- }
31859
- }
31860
- ],
31861
- "attributes": [
31862
- {
31863
- "name": "checked",
31864
- "type": {
31865
- "text": "boolean"
31866
- },
31867
- "default": "false",
31868
- "description": "Determines whether the toggle is active or inactive.",
31869
- "fieldName": "checked"
31870
- },
31871
- {
31872
- "name": "size",
31873
- "type": {
31874
- "text": "ToggleSize"
31875
- },
31876
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
31877
- "default": "default",
31878
- "fieldName": "size"
31879
- },
31880
- {
31881
- "name": "disabled",
31882
- "type": {
31883
- "text": "boolean | undefined"
31884
- },
31885
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
31886
- "default": "undefined",
31887
- "fieldName": "disabled",
31888
- "inheritedFrom": {
31889
- "name": "DisabledMixin",
31890
- "module": "src/utils/mixins/DisabledMixin.ts"
31891
- }
31892
- }
31893
- ],
31894
- "mixins": [
31895
- {
31896
- "name": "DisabledMixin",
31897
- "module": "/src/utils/mixins/DisabledMixin"
31898
- }
31899
- ],
31900
- "superclass": {
31901
- "name": "Component",
31902
- "module": "/src/models"
31903
- },
31904
- "tagName": "mdc-statictoggle",
31905
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
31906
- "customElement": true
31907
- }
31908
- ],
31909
- "exports": [
31910
- {
31911
- "kind": "js",
31912
- "name": "default",
31913
- "declaration": {
31914
- "name": "StaticToggle",
31915
- "module": "components/statictoggle/statictoggle.component.js"
31916
- }
31917
- }
31918
- ]
31919
- },
31920
31970
  {
31921
31971
  "kind": "javascript-module",
31922
31972
  "path": "components/tablist/tablist.component.js",