@beeq/core 1.10.0-beta.0 → 1.10.0-beta.1

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.
@@ -2062,6 +2062,147 @@
2062
2062
  }
2063
2063
  ]
2064
2064
  },
2065
+ {
2066
+ "kind": "javascript-module",
2067
+ "path": "components/bq-breadcrumb.js",
2068
+ "declarations": [
2069
+ {
2070
+ "kind": "class",
2071
+ "description": "The Breadcrumb is used to wraps a series of breadcrumb items to indicate the current page's location within a navigational hierarchy.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-breadcrumb label=\"Breadcrumb\">\n<bq-breadcrumb-item>Home</bq-breadcrumb-item>\n<bq-breadcrumb-item>Men's clothing</bq-breadcrumb-item>\n<bq-breadcrumb-item>Shirt</bq-breadcrumb-item>\n<bq-breadcrumb-item>Casual shirts</bq-breadcrumb-item>\n</bq-breadcrumb>\n```\n\n</figure>",
2072
+ "name": "BqBreadcrumb",
2073
+ "cssParts": [
2074
+ {
2075
+ "description": "The `nav` tag that loads the breadcrumb items",
2076
+ "name": "navigation"
2077
+ },
2078
+ {
2079
+ "description": "The container that wraps the separator element",
2080
+ "name": "separator"
2081
+ }
2082
+ ],
2083
+ "slots": [
2084
+ {
2085
+ "description": "The default slot is used to add `bq-breadcrumb-item` items to the breadcrumb.",
2086
+ "name": ""
2087
+ },
2088
+ {
2089
+ "description": "The slot to add a separator between breadcrumb items. Default separator is `/`.",
2090
+ "name": "separator"
2091
+ }
2092
+ ],
2093
+ "members": [
2094
+ {
2095
+ "kind": "field",
2096
+ "name": "navElem",
2097
+ "type": {
2098
+ "text": "HTMLElement"
2099
+ },
2100
+ "privacy": "private"
2101
+ },
2102
+ {
2103
+ "kind": "field",
2104
+ "name": "spanElem",
2105
+ "type": {
2106
+ "text": "HTMLElement"
2107
+ },
2108
+ "privacy": "private"
2109
+ },
2110
+ {
2111
+ "kind": "field",
2112
+ "name": "el",
2113
+ "type": {
2114
+ "text": "HTMLBqBreadcrumbElement"
2115
+ }
2116
+ },
2117
+ {
2118
+ "kind": "field",
2119
+ "name": "label",
2120
+ "type": {
2121
+ "text": "string"
2122
+ },
2123
+ "default": "'Breadcrumbs'",
2124
+ "description": "The `aria-label` attribute to describe the type of navigation"
2125
+ },
2126
+ {
2127
+ "kind": "field",
2128
+ "name": "handleSlotChange",
2129
+ "privacy": "private"
2130
+ },
2131
+ {
2132
+ "kind": "field",
2133
+ "name": "getSeparatorElem",
2134
+ "privacy": "private"
2135
+ },
2136
+ {
2137
+ "kind": "field",
2138
+ "name": "separatorFromSlot",
2139
+ "privacy": "private",
2140
+ "readonly": true
2141
+ },
2142
+ {
2143
+ "kind": "field",
2144
+ "name": "breadcrumbItems",
2145
+ "type": {
2146
+ "text": "HTMLBqBreadcrumbItemElement[]"
2147
+ },
2148
+ "privacy": "private",
2149
+ "readonly": true
2150
+ },
2151
+ {
2152
+ "kind": "method",
2153
+ "name": "render"
2154
+ }
2155
+ ],
2156
+ "attributes": [
2157
+ {
2158
+ "type": {
2159
+ "text": "string"
2160
+ },
2161
+ "description": "The `aria-label` attribute to describe the type of navigation",
2162
+ "name": "label"
2163
+ },
2164
+ {
2165
+ "name": "label",
2166
+ "fieldName": "label",
2167
+ "type": {
2168
+ "text": "string"
2169
+ }
2170
+ }
2171
+ ],
2172
+ "tagName": "bq-breadcrumb",
2173
+ "csspart": [
2174
+ {
2175
+ "name": "navigation",
2176
+ "description": "The `nav` tag that loads the breadcrumb items"
2177
+ },
2178
+ {
2179
+ "name": "separator",
2180
+ "description": "The container that wraps the separator element"
2181
+ }
2182
+ ],
2183
+ "events": [],
2184
+ "customElement": true
2185
+ }
2186
+ ],
2187
+ "exports": [
2188
+ {
2189
+ "kind": "js",
2190
+ "name": "BqBreadcrumb",
2191
+ "declaration": {
2192
+ "name": "BqBreadcrumb",
2193
+ "module": "components/bq-breadcrumb.js"
2194
+ }
2195
+ },
2196
+ {
2197
+ "kind": "custom-element-definition",
2198
+ "name": "bq-breadcrumb",
2199
+ "declaration": {
2200
+ "name": "BqBreadcrumb",
2201
+ "module": "components/bq-breadcrumb.js"
2202
+ }
2203
+ }
2204
+ ]
2205
+ },
2065
2206
  {
2066
2207
  "kind": "javascript-module",
2067
2208
  "path": "components/bq-breadcrumb-item.js",
@@ -2335,36 +2476,114 @@
2335
2476
  },
2336
2477
  {
2337
2478
  "kind": "javascript-module",
2338
- "path": "components/bq-breadcrumb.js",
2479
+ "path": "components/bq-button.js",
2339
2480
  "declarations": [
2340
2481
  {
2341
2482
  "kind": "class",
2342
- "description": "The Breadcrumb is used to wraps a series of breadcrumb items to indicate the current page's location within a navigational hierarchy.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-breadcrumb label=\"Breadcrumb\">\n<bq-breadcrumb-item>Home</bq-breadcrumb-item>\n<bq-breadcrumb-item>Men's clothing</bq-breadcrumb-item>\n<bq-breadcrumb-item>Shirt</bq-breadcrumb-item>\n<bq-breadcrumb-item>Casual shirts</bq-breadcrumb-item>\n</bq-breadcrumb>\n```\n\n</figure>",
2343
- "name": "BqBreadcrumb",
2483
+ "description": "Buttons are designed for users to take action on a page or a screen.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-button appearance=\"primary\" border=\"m\" size=\"medium\">\n<bq-icon name=\"arrow-circle-left\" slot=\"prefix\"></bq-icon>\nGo back\n</bq-button>\n```\n\n</figure>",
2484
+ "name": "BqButton",
2485
+ "cssProperties": [
2486
+ {
2487
+ "description": "Button border color",
2488
+ "name": "--bq-button--border-color"
2489
+ },
2490
+ {
2491
+ "description": "Button border radius",
2492
+ "name": "--bq-button--border-radius"
2493
+ },
2494
+ {
2495
+ "description": "Button border style",
2496
+ "name": "--bq-button--border-style"
2497
+ },
2498
+ {
2499
+ "description": "Button border width",
2500
+ "name": "--bq-button--border-width"
2501
+ },
2502
+ {
2503
+ "description": "Button small height",
2504
+ "name": "--bq-button--small-height"
2505
+ },
2506
+ {
2507
+ "description": "Button small padding block (top and bottom)",
2508
+ "name": "--bq-button--small-paddingX"
2509
+ },
2510
+ {
2511
+ "description": "Button small padding inline (left and right)",
2512
+ "name": "--bq-button--small-paddingY"
2513
+ },
2514
+ {
2515
+ "description": "Button small font size",
2516
+ "name": "--bq-button--small-font-size"
2517
+ },
2518
+ {
2519
+ "description": "Button medium height",
2520
+ "name": "--bq-button--medium-height"
2521
+ },
2522
+ {
2523
+ "description": "Button medium padding block (top and bottom)",
2524
+ "name": "--bq-button--medium-paddingX"
2525
+ },
2526
+ {
2527
+ "description": "Button medium padding inline (left and right)",
2528
+ "name": "--bq-button--medium-paddingY"
2529
+ },
2530
+ {
2531
+ "description": "Button medium font size",
2532
+ "name": "--bq-button--medium-font-size"
2533
+ },
2534
+ {
2535
+ "description": "Button large height",
2536
+ "name": "--bq-button--large-height"
2537
+ },
2538
+ {
2539
+ "description": "Button large padding block (top and bottom)",
2540
+ "name": "--bq-button--large-paddingX"
2541
+ },
2542
+ {
2543
+ "description": "Button large padding inline (left and right)",
2544
+ "name": "--bq-button--large-paddingY"
2545
+ },
2546
+ {
2547
+ "description": "Button large font size",
2548
+ "name": "--bq-button--large-font-size"
2549
+ }
2550
+ ],
2344
2551
  "cssParts": [
2345
2552
  {
2346
- "description": "The `nav` tag that loads the breadcrumb items",
2347
- "name": "navigation"
2553
+ "description": "The `<a>` or `<button>` HTML element used under the hood.",
2554
+ "name": "button"
2348
2555
  },
2349
2556
  {
2350
- "description": "The container that wraps the separator element",
2351
- "name": "separator"
2557
+ "description": "The `<span>` tag element that acts as prefix container.",
2558
+ "name": "prefix"
2559
+ },
2560
+ {
2561
+ "description": "The `<span>` tag element that renders the text of the button.",
2562
+ "name": "label"
2563
+ },
2564
+ {
2565
+ "description": "The `<span>` tag element that acts as suffix container.",
2566
+ "name": "suffix"
2352
2567
  }
2353
2568
  ],
2354
2569
  "slots": [
2355
2570
  {
2356
- "description": "The default slot is used to add `bq-breadcrumb-item` items to the breadcrumb.",
2571
+ "description": "The prefix content to be displayed before the button label",
2572
+ "name": "prefix"
2573
+ },
2574
+ {
2575
+ "description": "The button label content",
2357
2576
  "name": ""
2358
2577
  },
2359
2578
  {
2360
- "description": "The slot to add a separator between breadcrumb items. Default separator is `/`.",
2361
- "name": "separator"
2579
+ "description": "The suffix content to be displayed after the button label",
2580
+ "name": "suffix"
2362
2581
  }
2363
2582
  ],
2364
2583
  "members": [
2365
2584
  {
2366
2585
  "kind": "field",
2367
- "name": "navElem",
2586
+ "name": "prefixElem",
2368
2587
  "type": {
2369
2588
  "text": "HTMLElement"
2370
2589
  },
@@ -2372,7 +2591,7 @@
2372
2591
  },
2373
2592
  {
2374
2593
  "kind": "field",
2375
- "name": "spanElem",
2594
+ "name": "suffixElem",
2376
2595
  "type": {
2377
2596
  "text": "HTMLElement"
2378
2597
  },
@@ -2382,234 +2601,15 @@
2382
2601
  "kind": "field",
2383
2602
  "name": "el",
2384
2603
  "type": {
2385
- "text": "HTMLBqBreadcrumbElement"
2604
+ "text": "HTMLBqButtonElement"
2386
2605
  }
2387
2606
  },
2388
2607
  {
2389
2608
  "kind": "field",
2390
- "name": "label",
2609
+ "name": "internals",
2391
2610
  "type": {
2392
- "text": "string"
2393
- },
2394
- "default": "'Breadcrumbs'",
2395
- "description": "The `aria-label` attribute to describe the type of navigation"
2396
- },
2397
- {
2398
- "kind": "field",
2399
- "name": "handleSlotChange",
2400
- "privacy": "private"
2401
- },
2402
- {
2403
- "kind": "field",
2404
- "name": "getSeparatorElem",
2405
- "privacy": "private"
2406
- },
2407
- {
2408
- "kind": "field",
2409
- "name": "separatorFromSlot",
2410
- "privacy": "private",
2411
- "readonly": true
2412
- },
2413
- {
2414
- "kind": "field",
2415
- "name": "breadcrumbItems",
2416
- "type": {
2417
- "text": "HTMLBqBreadcrumbItemElement[]"
2418
- },
2419
- "privacy": "private",
2420
- "readonly": true
2421
- },
2422
- {
2423
- "kind": "method",
2424
- "name": "render"
2425
- }
2426
- ],
2427
- "attributes": [
2428
- {
2429
- "type": {
2430
- "text": "string"
2431
- },
2432
- "description": "The `aria-label` attribute to describe the type of navigation",
2433
- "name": "label"
2434
- },
2435
- {
2436
- "name": "label",
2437
- "fieldName": "label",
2438
- "type": {
2439
- "text": "string"
2440
- }
2441
- }
2442
- ],
2443
- "tagName": "bq-breadcrumb",
2444
- "csspart": [
2445
- {
2446
- "name": "navigation",
2447
- "description": "The `nav` tag that loads the breadcrumb items"
2448
- },
2449
- {
2450
- "name": "separator",
2451
- "description": "The container that wraps the separator element"
2452
- }
2453
- ],
2454
- "events": [],
2455
- "customElement": true
2456
- }
2457
- ],
2458
- "exports": [
2459
- {
2460
- "kind": "js",
2461
- "name": "BqBreadcrumb",
2462
- "declaration": {
2463
- "name": "BqBreadcrumb",
2464
- "module": "components/bq-breadcrumb.js"
2465
- }
2466
- },
2467
- {
2468
- "kind": "custom-element-definition",
2469
- "name": "bq-breadcrumb",
2470
- "declaration": {
2471
- "name": "BqBreadcrumb",
2472
- "module": "components/bq-breadcrumb.js"
2473
- }
2474
- }
2475
- ]
2476
- },
2477
- {
2478
- "kind": "javascript-module",
2479
- "path": "components/bq-button.js",
2480
- "declarations": [
2481
- {
2482
- "kind": "class",
2483
- "description": "Buttons are designed for users to take action on a page or a screen.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-button appearance=\"primary\" border=\"m\" size=\"medium\">\n<bq-icon name=\"arrow-circle-left\" slot=\"prefix\"></bq-icon>\nGo back\n</bq-button>\n```\n\n</figure>",
2484
- "name": "BqButton",
2485
- "cssProperties": [
2486
- {
2487
- "description": "Button border color",
2488
- "name": "--bq-button--border-color"
2489
- },
2490
- {
2491
- "description": "Button border radius",
2492
- "name": "--bq-button--border-radius"
2493
- },
2494
- {
2495
- "description": "Button border style",
2496
- "name": "--bq-button--border-style"
2497
- },
2498
- {
2499
- "description": "Button border width",
2500
- "name": "--bq-button--border-width"
2501
- },
2502
- {
2503
- "description": "Button small height",
2504
- "name": "--bq-button--small-height"
2505
- },
2506
- {
2507
- "description": "Button small padding block (top and bottom)",
2508
- "name": "--bq-button--small-paddingX"
2509
- },
2510
- {
2511
- "description": "Button small padding inline (left and right)",
2512
- "name": "--bq-button--small-paddingY"
2513
- },
2514
- {
2515
- "description": "Button small font size",
2516
- "name": "--bq-button--small-font-size"
2517
- },
2518
- {
2519
- "description": "Button medium height",
2520
- "name": "--bq-button--medium-height"
2521
- },
2522
- {
2523
- "description": "Button medium padding block (top and bottom)",
2524
- "name": "--bq-button--medium-paddingX"
2525
- },
2526
- {
2527
- "description": "Button medium padding inline (left and right)",
2528
- "name": "--bq-button--medium-paddingY"
2529
- },
2530
- {
2531
- "description": "Button medium font size",
2532
- "name": "--bq-button--medium-font-size"
2533
- },
2534
- {
2535
- "description": "Button large height",
2536
- "name": "--bq-button--large-height"
2537
- },
2538
- {
2539
- "description": "Button large padding block (top and bottom)",
2540
- "name": "--bq-button--large-paddingX"
2541
- },
2542
- {
2543
- "description": "Button large padding inline (left and right)",
2544
- "name": "--bq-button--large-paddingY"
2545
- },
2546
- {
2547
- "description": "Button large font size",
2548
- "name": "--bq-button--large-font-size"
2549
- }
2550
- ],
2551
- "cssParts": [
2552
- {
2553
- "description": "The `<a>` or `<button>` HTML element used under the hood.",
2554
- "name": "button"
2555
- },
2556
- {
2557
- "description": "The `<span>` tag element that acts as prefix container.",
2558
- "name": "prefix"
2559
- },
2560
- {
2561
- "description": "The `<span>` tag element that renders the text of the button.",
2562
- "name": "label"
2563
- },
2564
- {
2565
- "description": "The `<span>` tag element that acts as suffix container.",
2566
- "name": "suffix"
2567
- }
2568
- ],
2569
- "slots": [
2570
- {
2571
- "description": "The prefix content to be displayed before the button label",
2572
- "name": "prefix"
2573
- },
2574
- {
2575
- "description": "The button label content",
2576
- "name": ""
2577
- },
2578
- {
2579
- "description": "The suffix content to be displayed after the button label",
2580
- "name": "suffix"
2581
- }
2582
- ],
2583
- "members": [
2584
- {
2585
- "kind": "field",
2586
- "name": "prefixElem",
2587
- "type": {
2588
- "text": "HTMLElement"
2589
- },
2590
- "privacy": "private"
2591
- },
2592
- {
2593
- "kind": "field",
2594
- "name": "suffixElem",
2595
- "type": {
2596
- "text": "HTMLElement"
2597
- },
2598
- "privacy": "private"
2599
- },
2600
- {
2601
- "kind": "field",
2602
- "name": "el",
2603
- "type": {
2604
- "text": "HTMLBqButtonElement"
2605
- }
2606
- },
2607
- {
2608
- "kind": "field",
2609
- "name": "internals",
2610
- "type": {
2611
- "text": "ElementInternals"
2612
- }
2611
+ "text": "ElementInternals"
2612
+ }
2613
2613
  },
2614
2614
  {
2615
2615
  "kind": "field",
@@ -5015,162 +5015,264 @@
5015
5015
  },
5016
5016
  {
5017
5017
  "kind": "javascript-module",
5018
- "path": "components/bq-divider.js",
5018
+ "path": "components/bq-dialog.js",
5019
5019
  "declarations": [
5020
5020
  {
5021
5021
  "kind": "class",
5022
- "description": "The Divider component is used to visually separate content in a layout.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-divider orientation=\"horizontal\" stroke-color=\"stroke--primary\" title-alignment=\"middle\">\n<span slot=\"title\">Divider Title</span>\n</bq-divider>\n```\n\n</figure>",
5023
- "name": "BqDivider",
5022
+ "description": "The Dialog component is used to display additional content or prompt a user for action.\nIt provides a way to display additional information, options, or controls in a separate, non-obstructive interface element.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-dialog footer-appearance=\"standard\" border=\"m\" size=\"medium\">\n<h5 class=\"bold flex items-center gap-s\" slot=\"title\">\n<bq-icon name=\"info\" size=\"30\" color=\"text--accent\" role=\"img\" title=\"Info\"></bq-icon>\nTitle\n</h5>\n<p>\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's\nstandard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a\ntype specimen book.\n</p>\n<div class=\"flex gap-xs\" slot=\"footer\">\n<bq-button appearance=\"link\">Button</bq-button>\n<bq-button variant=\"ghost\">Button</bq-button>\n<bq-button variant=\"standard\" slot=\"footer\">Button</bq-button>\n</div>\n</bq-dialog>\n```\n\n</figure>",
5023
+ "name": "BqDialog",
5024
5024
  "cssProperties": [
5025
5025
  {
5026
- "description": "Divider color",
5027
- "name": "--bq-divider--color"
5026
+ "description": "Dialog background color",
5027
+ "name": "--bq-dialog--background"
5028
5028
  },
5029
5029
  {
5030
- "description": "Divider space between title and delimiters",
5031
- "name": "--bq-divider--title-marginX"
5032
- }
5033
- ],
5034
- "cssParts": [
5030
+ "description": "Dialog backdrop background color",
5031
+ "name": "--bq-dialog--background-backdrop"
5032
+ },
5035
5033
  {
5036
- "description": "The component's internal wrapper.",
5037
- "name": "base"
5034
+ "description": "Dialog box shadow",
5035
+ "name": "--bq-dialog--box-shadow"
5038
5036
  },
5039
5037
  {
5040
- "description": "The component's internal svg wrapper for the start line of the divider's stroke.",
5041
- "name": "dash-start"
5038
+ "description": "Dialog border color",
5039
+ "name": "--bq-dialog--border-color"
5042
5040
  },
5043
5041
  {
5044
- "description": "The component's internal svg wrapper for the end line of the divider's stroke.",
5045
- "name": "dash-end"
5042
+ "description": "Dialog border style",
5043
+ "name": "--bq-dialog--border-style"
5046
5044
  },
5047
5045
  {
5048
- "description": "The component's internal line component of the divider's stroke.",
5049
- "name": "dash-start-line"
5046
+ "description": "Dialog border width",
5047
+ "name": "--bq-dialog--border-width"
5050
5048
  },
5051
5049
  {
5052
- "description": "The component's internal line component of the divider's stroke.",
5053
- "name": "dash-end-line"
5054
- }
5055
- ],
5056
- "slots": [
5050
+ "description": "Dialog border radius",
5051
+ "name": "--bq-dialog--border-radius"
5052
+ },
5057
5053
  {
5058
- "description": "The title content of the divider.",
5054
+ "description": "Dialog padding",
5055
+ "name": "--bq-dialog--padding"
5056
+ },
5057
+ {
5058
+ "description": "Dialog gap distance between content and footer elements",
5059
+ "name": "--bq-dialog--content-footer-gap"
5060
+ },
5061
+ {
5062
+ "description": "Dialog gap distance between title and body elements",
5063
+ "name": "--bq-dialog--title-body-gap"
5064
+ },
5065
+ {
5066
+ "description": "Dialog small width",
5067
+ "name": "--bq-dialog--width-small"
5068
+ },
5069
+ {
5070
+ "description": "Dialog medium width",
5071
+ "name": "--bq-dialog--width-medium"
5072
+ },
5073
+ {
5074
+ "description": "Dialog large width",
5075
+ "name": "--bq-dialog--width-large"
5076
+ },
5077
+ {
5078
+ "description": "Dialog z-index applied when opened",
5079
+ "name": "--bq-dialog-z-index"
5080
+ }
5081
+ ],
5082
+ "cssParts": [
5083
+ {
5084
+ "description": "The `<main>` that holds the dialog body content.",
5085
+ "name": "body"
5086
+ },
5087
+ {
5088
+ "description": "The button that closes the dialog on click.",
5089
+ "name": "button-close"
5090
+ },
5091
+ {
5092
+ "description": "The `<div>` container that holds the dialog title and body content.",
5093
+ "name": "content"
5094
+ },
5095
+ {
5096
+ "description": "The `<dialog>` wrapper container inside the shadow DOM.",
5097
+ "name": "dialog"
5098
+ },
5099
+ {
5100
+ "description": "The `<footer>` that holds footer content.",
5101
+ "name": "footer"
5102
+ },
5103
+ {
5104
+ "description": "The `<header>` that holds the icon, title, description and close button.",
5105
+ "name": "header"
5106
+ },
5107
+ {
5108
+ "description": "The `<div>` that holds the title content.",
5109
+ "name": "title"
5110
+ }
5111
+ ],
5112
+ "slots": [
5113
+ {
5114
+ "description": "The title content of the dialog.",
5115
+ "name": "title"
5116
+ },
5117
+ {
5118
+ "description": "The body content of the dialog.",
5059
5119
  "name": ""
5120
+ },
5121
+ {
5122
+ "description": "The footer content of the dialog.",
5123
+ "name": "footer"
5124
+ },
5125
+ {
5126
+ "description": "The close button content of the dialog.",
5127
+ "name": "button-close"
5060
5128
  }
5061
5129
  ],
5062
5130
  "members": [
5063
5131
  {
5064
5132
  "kind": "field",
5065
- "name": "titleElem",
5133
+ "name": "dialogElem",
5066
5134
  "type": {
5067
- "text": "HTMLDivElement"
5135
+ "text": "HTMLDialogElement"
5136
+ },
5137
+ "privacy": "private"
5138
+ },
5139
+ {
5140
+ "kind": "field",
5141
+ "name": "contentElem",
5142
+ "type": {
5143
+ "text": "HTMLElement"
5144
+ },
5145
+ "privacy": "private"
5146
+ },
5147
+ {
5148
+ "kind": "field",
5149
+ "name": "footerElem",
5150
+ "type": {
5151
+ "text": "HTMLElement"
5152
+ },
5153
+ "privacy": "private"
5154
+ },
5155
+ {
5156
+ "kind": "field",
5157
+ "name": "closeSlotElem",
5158
+ "type": {
5159
+ "text": "HTMLElement"
5068
5160
  },
5069
5161
  "privacy": "private"
5070
5162
  },
5163
+ {
5164
+ "kind": "field",
5165
+ "name": "OPEN_CSS_CLASS",
5166
+ "type": {
5167
+ "text": "string"
5168
+ },
5169
+ "privacy": "private",
5170
+ "default": "'bq-dialog--open'"
5171
+ },
5071
5172
  {
5072
5173
  "kind": "field",
5073
5174
  "name": "el",
5074
5175
  "type": {
5075
- "text": "HTMLBqDividerElement"
5176
+ "text": "HTMLBqDialogElement"
5076
5177
  }
5077
5178
  },
5078
5179
  {
5079
5180
  "kind": "field",
5080
- "name": "hasTitle",
5181
+ "name": "hasContent",
5081
5182
  "type": {
5082
5183
  "text": "boolean"
5083
5184
  },
5084
- "privacy": "private"
5185
+ "privacy": "private",
5186
+ "default": "false"
5085
5187
  },
5086
5188
  {
5087
5189
  "kind": "field",
5088
- "name": "dashed",
5190
+ "name": "hasFooter",
5089
5191
  "type": {
5090
5192
  "text": "boolean"
5091
5193
  },
5092
- "default": "false",
5093
- "description": "If true, the divider has a dashed pattern"
5194
+ "privacy": "private",
5195
+ "default": "false"
5094
5196
  },
5095
5197
  {
5096
5198
  "kind": "field",
5097
- "name": "orientation",
5199
+ "name": "border",
5098
5200
  "type": {
5099
- "text": "TDividerOrientation"
5201
+ "text": "TDialogBorderRadius"
5100
5202
  },
5101
- "default": "'horizontal'",
5102
- "description": "The default orientation of the divider",
5203
+ "default": "'m'",
5204
+ "description": "Border radius of the dialog component",
5103
5205
  "parsedType": {
5104
- "text": "'horizontal' | 'vertical'"
5206
+ "text": "'none' | 'xs2' | 'xs' | 's' | 'm' | 'l' | 'full'"
5105
5207
  }
5106
5208
  },
5107
5209
  {
5108
5210
  "kind": "field",
5109
- "name": "strokeColor",
5211
+ "name": "disableBackdrop",
5110
5212
  "type": {
5111
- "text": "string | undefined"
5213
+ "text": "boolean"
5112
5214
  },
5113
- "default": "'stroke--primary'",
5114
- "description": "Set the stroke color of the divider. The value should be a valid value of the palette color"
5215
+ "default": "false",
5216
+ "description": "If true, the backdrop overlay won't be shown when the dialog opens"
5115
5217
  },
5116
5218
  {
5117
5219
  "kind": "field",
5118
- "name": "titleAlignment",
5220
+ "name": "disableCloseEscKeydown",
5119
5221
  "type": {
5120
- "text": "TDividerTitleAlignment | undefined"
5222
+ "text": "boolean"
5121
5223
  },
5122
- "default": "'middle'",
5123
- "description": "Set the alignment of the title on the main axis of the divider (horizontal / vertical)",
5124
- "parsedType": {
5125
- "text": "'start' | 'middle' | 'end' | undefined"
5126
- }
5224
+ "default": "false",
5225
+ "description": "If true, the dialog will not close when the [Esc] key is press"
5127
5226
  },
5128
5227
  {
5129
5228
  "kind": "field",
5130
- "name": "strokeDashWidth",
5229
+ "name": "disableCloseClickOutside",
5131
5230
  "type": {
5132
- "text": "number | undefined"
5231
+ "text": "boolean"
5133
5232
  },
5134
- "default": "12",
5135
- "description": "Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed"
5233
+ "default": "false",
5234
+ "description": "If true, the dialog will not close when clicking on the backdrop overlay"
5136
5235
  },
5137
5236
  {
5138
5237
  "kind": "field",
5139
- "name": "strokeDashGap",
5238
+ "name": "footerAppearance",
5140
5239
  "type": {
5141
- "text": "number | undefined"
5240
+ "text": "TDialogFooterAppearance"
5142
5241
  },
5143
- "default": "7",
5144
- "description": "Set the gap of the divider's stroke. This is applicable when the stroke is dashed"
5242
+ "default": "'standard'",
5243
+ "description": "The appearance of footer",
5244
+ "parsedType": {
5245
+ "text": "'standard' | 'highlight'"
5246
+ }
5145
5247
  },
5146
5248
  {
5147
5249
  "kind": "field",
5148
- "name": "strokeThickness",
5250
+ "name": "hideCloseButton",
5149
5251
  "type": {
5150
- "text": "number | undefined"
5252
+ "text": "boolean"
5151
5253
  },
5152
- "default": "1",
5153
- "description": "Set the thickness of the divider's stroke. Value expressed in px"
5254
+ "default": "false",
5255
+ "description": "If true, it hides the close button"
5154
5256
  },
5155
5257
  {
5156
5258
  "kind": "field",
5157
- "name": "strokeBasis",
5259
+ "name": "open",
5158
5260
  "type": {
5159
- "text": "number | undefined"
5261
+ "text": "boolean"
5160
5262
  },
5161
- "default": "0",
5162
- "description": "Set the min width of the divider's stroke when text is not centered. Value expressed in px"
5263
+ "default": "false",
5264
+ "description": "If true, the dialog will be shown as open"
5163
5265
  },
5164
5266
  {
5165
5267
  "kind": "field",
5166
- "name": "strokeLinecap",
5268
+ "name": "size",
5167
5269
  "type": {
5168
- "text": "TDividerStrokeLinecap | undefined"
5270
+ "text": "TDialogSize"
5169
5271
  },
5170
- "default": "'butt'",
5171
- "description": "Set the line of the divider's stroke. This is applicable when the stroke is dashed",
5272
+ "default": "'medium'",
5273
+ "description": "The size of the dialog",
5172
5274
  "parsedType": {
5173
- "text": "'square' | 'round' | 'butt' | undefined"
5275
+ "text": "'small' | 'medium' | 'large'"
5174
5276
  }
5175
5277
  },
5176
5278
  {
@@ -5178,998 +5280,880 @@
5178
5280
  "name": "checkPropValues"
5179
5281
  },
5180
5282
  {
5181
- "kind": "field",
5182
- "name": "handleSlotChange",
5183
- "privacy": "private"
5283
+ "kind": "method",
5284
+ "name": "handleOpenChange"
5184
5285
  },
5185
5286
  {
5186
- "kind": "field",
5187
- "name": "strokeAttributes",
5188
- "privacy": "private",
5189
- "readonly": true
5287
+ "kind": "method",
5288
+ "name": "handleMouseClick",
5289
+ "parameters": [
5290
+ {
5291
+ "name": "event",
5292
+ "type": {
5293
+ "text": "MouseEvent"
5294
+ }
5295
+ }
5296
+ ]
5190
5297
  },
5191
5298
  {
5192
- "kind": "field",
5193
- "name": "strokeDrawPositions",
5194
- "privacy": "private",
5195
- "readonly": true
5299
+ "kind": "method",
5300
+ "name": "handleKeyDown",
5301
+ "parameters": [
5302
+ {
5303
+ "name": "ev",
5304
+ "type": {
5305
+ "text": "KeyboardEvent"
5306
+ }
5307
+ }
5308
+ ]
5196
5309
  },
5197
5310
  {
5198
- "kind": "field",
5199
- "name": "strokeDasharray",
5200
- "privacy": "private",
5201
- "readonly": true
5311
+ "kind": "method",
5312
+ "name": "show",
5313
+ "description": "Open the dialog"
5202
5314
  },
5203
5315
  {
5204
5316
  "kind": "method",
5205
- "name": "render"
5206
- }
5207
- ],
5208
- "attributes": [
5317
+ "name": "hide",
5318
+ "description": "Closes the dialog"
5319
+ },
5209
5320
  {
5210
- "type": {
5211
- "text": "boolean"
5212
- },
5213
- "description": "If true, the divider has a dashed pattern.",
5214
- "name": "dashed"
5321
+ "kind": "method",
5322
+ "name": "cancel",
5323
+ "description": "Dismiss or cancel the dialog"
5215
5324
  },
5216
5325
  {
5217
- "type": {
5218
- "text": "\"horizontal\" | \"vertical\""
5219
- },
5220
- "description": "The default orientation of the divider.",
5221
- "name": "orientation"
5326
+ "kind": "field",
5327
+ "name": "handleClose",
5328
+ "privacy": "private"
5329
+ },
5330
+ {
5331
+ "kind": "field",
5332
+ "name": "handleOpen",
5333
+ "privacy": "private"
5334
+ },
5335
+ {
5336
+ "kind": "field",
5337
+ "name": "handleTransitionEnd",
5338
+ "privacy": "private"
5339
+ },
5340
+ {
5341
+ "kind": "field",
5342
+ "name": "handleSlotChange",
5343
+ "privacy": "private"
5222
5344
  },
5223
5345
  {
5346
+ "kind": "method",
5347
+ "name": "render"
5348
+ }
5349
+ ],
5350
+ "events": [
5351
+ {
5352
+ "description": "Callback handler emitted when the dialog has been canceled or dismissed.",
5353
+ "name": "bqCancel"
5354
+ },
5355
+ {
5356
+ "description": "Callback handler emitted when the dialog will close.",
5357
+ "name": "bqClose"
5358
+ },
5359
+ {
5360
+ "description": "Callback handler emitted when the dialog will open.",
5361
+ "name": "bqOpen"
5362
+ },
5363
+ {
5364
+ "description": "Callback handler emitted when the dialog finish opening.",
5365
+ "name": "bqAfterOpen"
5366
+ },
5367
+ {
5368
+ "description": "Callback handler emitted when the dialog finish closing.",
5369
+ "name": "bqAfterClose"
5370
+ },
5371
+ {
5372
+ "name": "bqCancel",
5224
5373
  "type": {
5225
- "text": "string"
5374
+ "text": "EventEmitter<void>"
5226
5375
  },
5227
- "description": "Set the stroke color of the divider. The value should be a valid value of the palette color.",
5228
- "name": "stroke-color"
5376
+ "description": "Callback handler emitted when the dialog has been canceled or dismissed"
5229
5377
  },
5230
5378
  {
5379
+ "name": "bqClose",
5231
5380
  "type": {
5232
- "text": "\"start\" | \"middle\" | \"end\""
5381
+ "text": "EventEmitter<void>"
5233
5382
  },
5234
- "description": "Set the alignment of the title on the main axis of the divider (horizontal / vertical).",
5235
- "name": "title-alignment"
5383
+ "description": "Callback handler emitted when the dialog will close"
5236
5384
  },
5237
5385
  {
5386
+ "name": "bqOpen",
5238
5387
  "type": {
5239
- "text": "number"
5388
+ "text": "EventEmitter<void>"
5240
5389
  },
5241
- "description": "Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed.",
5242
- "name": "stroke-dash-width"
5390
+ "description": "Callback handler emitted when the dialog will open"
5243
5391
  },
5244
5392
  {
5393
+ "name": "bqAfterOpen",
5245
5394
  "type": {
5246
- "text": "number"
5395
+ "text": "EventEmitter<void>"
5247
5396
  },
5248
- "description": "Set the gap of the divider's stroke. This is applicable when the stroke is dashed.",
5249
- "name": "stroke-dash-gap"
5397
+ "description": "Callback handler emitted when the dialog finish opening"
5250
5398
  },
5251
5399
  {
5400
+ "name": "bqAfterClose",
5252
5401
  "type": {
5253
- "text": "number"
5402
+ "text": "EventEmitter<void>"
5254
5403
  },
5255
- "description": "Set the thickness of the divider's stroke. Value expressed in px.",
5256
- "name": "stroke-thickness"
5404
+ "description": "Callback handler emitted when the dialog finish closing"
5405
+ }
5406
+ ],
5407
+ "attributes": [
5408
+ {
5409
+ "type": {
5410
+ "text": "\"none\" | \"xs2\" | \"xs\" | \"s\" | \"m\" | \"l\" | \"full\""
5411
+ },
5412
+ "description": "Border radius of the dialog component.",
5413
+ "name": "border"
5257
5414
  },
5258
5415
  {
5259
5416
  "type": {
5260
- "text": "number"
5417
+ "text": "boolean"
5261
5418
  },
5262
- "description": "Set the min width of the divider's stroke when text is not centered. Value expressed in px.",
5263
- "name": "stroke-basis"
5419
+ "description": "If true, the backdrop overlay won't be shown when the dialog opens.",
5420
+ "name": "disable-backdrop"
5264
5421
  },
5265
5422
  {
5266
5423
  "type": {
5267
- "text": "\"square\" | \"round\" | \"butt\""
5424
+ "text": "boolean"
5268
5425
  },
5269
- "description": "Set the line of the divider's stroke. This is applicable when the stroke is dashed.",
5270
- "name": "stroke-linecap"
5426
+ "description": "If true, the dialog will not close when the [Esc] key is pressed.",
5427
+ "name": "disable-close-esc-keydown"
5271
5428
  },
5272
5429
  {
5273
- "name": "dashed",
5274
- "fieldName": "dashed"
5430
+ "type": {
5431
+ "text": "boolean"
5432
+ },
5433
+ "description": "If true, the dialog will not close when clicking on the backdrop overlay.",
5434
+ "name": "disable-close-click-outside"
5275
5435
  },
5276
5436
  {
5277
- "name": "orientation",
5278
- "fieldName": "orientation",
5279
5437
  "type": {
5280
- "text": "TDividerOrientation"
5438
+ "text": "\"standard\" | \"highlight\""
5281
5439
  },
5282
- "parsedType": {
5283
- "text": "'horizontal' | 'vertical'"
5284
- }
5440
+ "description": "The appearance of the footer.",
5441
+ "name": "footer-appearance"
5285
5442
  },
5286
5443
  {
5287
- "name": "stroke-color",
5288
- "fieldName": "strokeColor",
5289
5444
  "type": {
5290
- "text": "string"
5291
- }
5445
+ "text": "boolean"
5446
+ },
5447
+ "description": "If true, it hides the close button.",
5448
+ "name": "hide-close-button"
5292
5449
  },
5293
5450
  {
5294
- "name": "title-alignment",
5295
- "fieldName": "titleAlignment",
5296
5451
  "type": {
5297
- "text": "TDividerTitleAlignment"
5452
+ "text": "boolean"
5298
5453
  },
5299
- "parsedType": {
5300
- "text": "'start' | 'middle' | 'end'"
5301
- }
5454
+ "description": "If true, the dialog will be shown as open.",
5455
+ "name": "open"
5302
5456
  },
5303
5457
  {
5304
- "name": "stroke-dash-width",
5305
- "fieldName": "strokeDashWidth",
5306
5458
  "type": {
5307
- "text": "number"
5308
- }
5459
+ "text": "\"small\" | \"medium\" | \"large\""
5460
+ },
5461
+ "description": "The size of the dialog.",
5462
+ "name": "size"
5309
5463
  },
5310
5464
  {
5311
- "name": "stroke-dash-gap",
5312
- "fieldName": "strokeDashGap",
5465
+ "name": "border",
5466
+ "fieldName": "border",
5313
5467
  "type": {
5314
- "text": "number"
5468
+ "text": "TDialogBorderRadius"
5469
+ },
5470
+ "parsedType": {
5471
+ "text": "'none' | 'xs2' | 'xs' | 's' | 'm' | 'l' | 'full'"
5315
5472
  }
5316
5473
  },
5317
5474
  {
5318
- "name": "stroke-thickness",
5319
- "fieldName": "strokeThickness",
5475
+ "name": "disable-backdrop",
5476
+ "fieldName": "disableBackdrop"
5477
+ },
5478
+ {
5479
+ "name": "disable-close-esc-keydown",
5480
+ "fieldName": "disableCloseEscKeydown"
5481
+ },
5482
+ {
5483
+ "name": "disable-close-click-outside",
5484
+ "fieldName": "disableCloseClickOutside"
5485
+ },
5486
+ {
5487
+ "name": "footer-appearance",
5488
+ "fieldName": "footerAppearance",
5320
5489
  "type": {
5321
- "text": "number"
5490
+ "text": "TDialogFooterAppearance"
5491
+ },
5492
+ "parsedType": {
5493
+ "text": "'standard' | 'highlight'"
5322
5494
  }
5323
5495
  },
5324
5496
  {
5325
- "name": "stroke-basis",
5326
- "fieldName": "strokeBasis",
5497
+ "name": "hide-close-button",
5498
+ "fieldName": "hideCloseButton"
5499
+ },
5500
+ {
5501
+ "name": "open",
5502
+ "fieldName": "open",
5327
5503
  "type": {
5328
- "text": "number"
5504
+ "text": "boolean"
5329
5505
  }
5330
5506
  },
5331
5507
  {
5332
- "name": "stroke-linecap",
5333
- "fieldName": "strokeLinecap",
5508
+ "name": "size",
5509
+ "fieldName": "size",
5334
5510
  "type": {
5335
- "text": "TDividerStrokeLinecap"
5511
+ "text": "TDialogSize"
5336
5512
  },
5337
5513
  "parsedType": {
5338
- "text": "'square' | 'round' | 'butt'"
5514
+ "text": "'small' | 'medium' | 'large'"
5339
5515
  }
5340
5516
  }
5341
5517
  ],
5342
- "tagName": "bq-divider",
5518
+ "tagName": "bq-dialog",
5519
+ "dependencies": [
5520
+ {
5521
+ "name": "bq-button",
5522
+ "description": ""
5523
+ },
5524
+ {
5525
+ "name": "bq-icon",
5526
+ "description": ""
5527
+ }
5528
+ ],
5343
5529
  "csspart": [
5344
5530
  {
5345
- "name": "base",
5346
- "description": "The component's internal wrapper."
5531
+ "name": "body",
5532
+ "description": "The `<main>` that holds the dialog body content."
5347
5533
  },
5348
5534
  {
5349
- "name": "dash-start",
5350
- "description": "The component's internal svg wrapper for the start line of the divider's stroke."
5535
+ "name": "button-close",
5536
+ "description": "The button that closes the dialog on click."
5351
5537
  },
5352
5538
  {
5353
- "name": "dash-end",
5354
- "description": "The component's internal svg wrapper for the end line of the divider's stroke."
5539
+ "name": "content",
5540
+ "description": "The `<div>` container that holds the dialog title and body content."
5355
5541
  },
5356
5542
  {
5357
- "name": "dash-start-line",
5358
- "description": "The component's internal line component of the divider's stroke."
5543
+ "name": "dialog",
5544
+ "description": "The `<dialog>` wrapper container inside the shadow DOM."
5359
5545
  },
5360
5546
  {
5361
- "name": "dash-end-line",
5362
- "description": "The component's internal line component of the divider's stroke."
5547
+ "name": "footer",
5548
+ "description": "The `<footer>` that holds footer content."
5549
+ },
5550
+ {
5551
+ "name": "header",
5552
+ "description": "The `<header>` that holds the icon, title, description and close button."
5553
+ },
5554
+ {
5555
+ "name": "title",
5556
+ "description": "The `<div>` that holds the title content."
5363
5557
  }
5364
5558
  ],
5365
- "events": [],
5366
5559
  "customElement": true
5367
5560
  }
5368
5561
  ],
5369
5562
  "exports": [
5370
5563
  {
5371
5564
  "kind": "js",
5372
- "name": "BqDivider",
5565
+ "name": "BqDialog",
5373
5566
  "declaration": {
5374
- "name": "BqDivider",
5375
- "module": "components/bq-divider.js"
5567
+ "name": "BqDialog",
5568
+ "module": "components/bq-dialog.js"
5376
5569
  }
5377
5570
  },
5378
5571
  {
5379
5572
  "kind": "custom-element-definition",
5380
- "name": "bq-divider",
5573
+ "name": "bq-dialog",
5381
5574
  "declaration": {
5382
- "name": "BqDivider",
5383
- "module": "components/bq-divider.js"
5575
+ "name": "BqDialog",
5576
+ "module": "components/bq-dialog.js"
5384
5577
  }
5385
5578
  }
5386
5579
  ]
5387
5580
  },
5388
5581
  {
5389
5582
  "kind": "javascript-module",
5390
- "path": "components/bq-dialog.js",
5583
+ "path": "components/bq-divider.js",
5391
5584
  "declarations": [
5392
5585
  {
5393
5586
  "kind": "class",
5394
- "description": "The Dialog component is used to display additional content or prompt a user for action.\nIt provides a way to display additional information, options, or controls in a separate, non-obstructive interface element.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-dialog footer-appearance=\"standard\" border=\"m\" size=\"medium\">\n<h5 class=\"bold flex items-center gap-s\" slot=\"title\">\n<bq-icon name=\"info\" size=\"30\" color=\"text--accent\" role=\"img\" title=\"Info\"></bq-icon>\nTitle\n</h5>\n<p>\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's\nstandard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a\ntype specimen book.\n</p>\n<div class=\"flex gap-xs\" slot=\"footer\">\n<bq-button appearance=\"link\">Button</bq-button>\n<bq-button variant=\"ghost\">Button</bq-button>\n<bq-button variant=\"standard\" slot=\"footer\">Button</bq-button>\n</div>\n</bq-dialog>\n```\n\n</figure>",
5395
- "name": "BqDialog",
5587
+ "description": "The Divider component is used to visually separate content in a layout.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-divider orientation=\"horizontal\" stroke-color=\"stroke--primary\" title-alignment=\"middle\">\n<span slot=\"title\">Divider Title</span>\n</bq-divider>\n```\n\n</figure>",
5588
+ "name": "BqDivider",
5396
5589
  "cssProperties": [
5397
5590
  {
5398
- "description": "Dialog background color",
5399
- "name": "--bq-dialog--background"
5400
- },
5401
- {
5402
- "description": "Dialog backdrop background color",
5403
- "name": "--bq-dialog--background-backdrop"
5404
- },
5405
- {
5406
- "description": "Dialog box shadow",
5407
- "name": "--bq-dialog--box-shadow"
5408
- },
5409
- {
5410
- "description": "Dialog border color",
5411
- "name": "--bq-dialog--border-color"
5412
- },
5413
- {
5414
- "description": "Dialog border style",
5415
- "name": "--bq-dialog--border-style"
5416
- },
5417
- {
5418
- "description": "Dialog border width",
5419
- "name": "--bq-dialog--border-width"
5420
- },
5421
- {
5422
- "description": "Dialog border radius",
5423
- "name": "--bq-dialog--border-radius"
5424
- },
5425
- {
5426
- "description": "Dialog padding",
5427
- "name": "--bq-dialog--padding"
5428
- },
5429
- {
5430
- "description": "Dialog gap distance between content and footer elements",
5431
- "name": "--bq-dialog--content-footer-gap"
5432
- },
5433
- {
5434
- "description": "Dialog gap distance between title and body elements",
5435
- "name": "--bq-dialog--title-body-gap"
5436
- },
5437
- {
5438
- "description": "Dialog small width",
5439
- "name": "--bq-dialog--width-small"
5440
- },
5441
- {
5442
- "description": "Dialog medium width",
5443
- "name": "--bq-dialog--width-medium"
5444
- },
5445
- {
5446
- "description": "Dialog large width",
5447
- "name": "--bq-dialog--width-large"
5591
+ "description": "Divider color",
5592
+ "name": "--bq-divider--color"
5448
5593
  },
5449
5594
  {
5450
- "description": "Dialog z-index applied when opened",
5451
- "name": "--bq-dialog-z-index"
5595
+ "description": "Divider space between title and delimiters",
5596
+ "name": "--bq-divider--title-marginX"
5452
5597
  }
5453
5598
  ],
5454
5599
  "cssParts": [
5455
5600
  {
5456
- "description": "The `<main>` that holds the dialog body content.",
5457
- "name": "body"
5458
- },
5459
- {
5460
- "description": "The button that closes the dialog on click.",
5461
- "name": "button-close"
5462
- },
5463
- {
5464
- "description": "The `<div>` container that holds the dialog title and body content.",
5465
- "name": "content"
5601
+ "description": "The component's internal wrapper.",
5602
+ "name": "base"
5466
5603
  },
5467
5604
  {
5468
- "description": "The `<dialog>` wrapper container inside the shadow DOM.",
5469
- "name": "dialog"
5605
+ "description": "The component's internal svg wrapper for the start line of the divider's stroke.",
5606
+ "name": "dash-start"
5470
5607
  },
5471
5608
  {
5472
- "description": "The `<footer>` that holds footer content.",
5473
- "name": "footer"
5609
+ "description": "The component's internal svg wrapper for the end line of the divider's stroke.",
5610
+ "name": "dash-end"
5474
5611
  },
5475
5612
  {
5476
- "description": "The `<header>` that holds the icon, title, description and close button.",
5477
- "name": "header"
5613
+ "description": "The component's internal line component of the divider's stroke.",
5614
+ "name": "dash-start-line"
5478
5615
  },
5479
5616
  {
5480
- "description": "The `<div>` that holds the title content.",
5481
- "name": "title"
5617
+ "description": "The component's internal line component of the divider's stroke.",
5618
+ "name": "dash-end-line"
5482
5619
  }
5483
5620
  ],
5484
5621
  "slots": [
5485
5622
  {
5486
- "description": "The title content of the dialog.",
5487
- "name": "title"
5488
- },
5489
- {
5490
- "description": "The body content of the dialog.",
5491
- "name": ""
5492
- },
5493
- {
5494
- "description": "The footer content of the dialog.",
5495
- "name": "footer"
5496
- },
5497
- {
5498
- "description": "The close button content of the dialog.",
5499
- "name": "button-close"
5500
- }
5501
- ],
5502
- "members": [
5503
- {
5504
- "kind": "field",
5505
- "name": "dialogElem",
5506
- "type": {
5507
- "text": "HTMLDialogElement"
5508
- },
5509
- "privacy": "private"
5510
- },
5511
- {
5512
- "kind": "field",
5513
- "name": "contentElem",
5514
- "type": {
5515
- "text": "HTMLElement"
5516
- },
5517
- "privacy": "private"
5518
- },
5519
- {
5520
- "kind": "field",
5521
- "name": "footerElem",
5522
- "type": {
5523
- "text": "HTMLElement"
5524
- },
5525
- "privacy": "private"
5526
- },
5623
+ "description": "The title content of the divider.",
5624
+ "name": ""
5625
+ }
5626
+ ],
5627
+ "members": [
5527
5628
  {
5528
5629
  "kind": "field",
5529
- "name": "closeSlotElem",
5630
+ "name": "titleElem",
5530
5631
  "type": {
5531
- "text": "HTMLElement"
5632
+ "text": "HTMLDivElement"
5532
5633
  },
5533
5634
  "privacy": "private"
5534
5635
  },
5535
- {
5536
- "kind": "field",
5537
- "name": "OPEN_CSS_CLASS",
5538
- "type": {
5539
- "text": "string"
5540
- },
5541
- "privacy": "private",
5542
- "default": "'bq-dialog--open'"
5543
- },
5544
5636
  {
5545
5637
  "kind": "field",
5546
5638
  "name": "el",
5547
5639
  "type": {
5548
- "text": "HTMLBqDialogElement"
5640
+ "text": "HTMLBqDividerElement"
5549
5641
  }
5550
5642
  },
5551
5643
  {
5552
5644
  "kind": "field",
5553
- "name": "hasContent",
5645
+ "name": "hasTitle",
5554
5646
  "type": {
5555
5647
  "text": "boolean"
5556
5648
  },
5557
- "privacy": "private",
5558
- "default": "false"
5649
+ "privacy": "private"
5559
5650
  },
5560
5651
  {
5561
5652
  "kind": "field",
5562
- "name": "hasFooter",
5653
+ "name": "dashed",
5563
5654
  "type": {
5564
5655
  "text": "boolean"
5565
5656
  },
5566
- "privacy": "private",
5567
- "default": "false"
5657
+ "default": "false",
5658
+ "description": "If true, the divider has a dashed pattern"
5568
5659
  },
5569
5660
  {
5570
5661
  "kind": "field",
5571
- "name": "border",
5662
+ "name": "orientation",
5572
5663
  "type": {
5573
- "text": "TDialogBorderRadius"
5664
+ "text": "TDividerOrientation"
5574
5665
  },
5575
- "default": "'m'",
5576
- "description": "Border radius of the dialog component",
5666
+ "default": "'horizontal'",
5667
+ "description": "The default orientation of the divider",
5577
5668
  "parsedType": {
5578
- "text": "'none' | 'xs2' | 'xs' | 's' | 'm' | 'l' | 'full'"
5669
+ "text": "'horizontal' | 'vertical'"
5579
5670
  }
5580
5671
  },
5581
5672
  {
5582
5673
  "kind": "field",
5583
- "name": "disableBackdrop",
5674
+ "name": "strokeColor",
5584
5675
  "type": {
5585
- "text": "boolean"
5676
+ "text": "string | undefined"
5586
5677
  },
5587
- "default": "false",
5588
- "description": "If true, the backdrop overlay won't be shown when the dialog opens"
5678
+ "default": "'stroke--primary'",
5679
+ "description": "Set the stroke color of the divider. The value should be a valid value of the palette color"
5589
5680
  },
5590
5681
  {
5591
5682
  "kind": "field",
5592
- "name": "disableCloseEscKeydown",
5683
+ "name": "titleAlignment",
5593
5684
  "type": {
5594
- "text": "boolean"
5685
+ "text": "TDividerTitleAlignment | undefined"
5595
5686
  },
5596
- "default": "false",
5597
- "description": "If true, the dialog will not close when the [Esc] key is press"
5687
+ "default": "'middle'",
5688
+ "description": "Set the alignment of the title on the main axis of the divider (horizontal / vertical)",
5689
+ "parsedType": {
5690
+ "text": "'start' | 'middle' | 'end' | undefined"
5691
+ }
5598
5692
  },
5599
5693
  {
5600
5694
  "kind": "field",
5601
- "name": "disableCloseClickOutside",
5695
+ "name": "strokeDashWidth",
5602
5696
  "type": {
5603
- "text": "boolean"
5697
+ "text": "number | undefined"
5604
5698
  },
5605
- "default": "false",
5606
- "description": "If true, the dialog will not close when clicking on the backdrop overlay"
5699
+ "default": "12",
5700
+ "description": "Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed"
5607
5701
  },
5608
5702
  {
5609
5703
  "kind": "field",
5610
- "name": "footerAppearance",
5704
+ "name": "strokeDashGap",
5611
5705
  "type": {
5612
- "text": "TDialogFooterAppearance"
5706
+ "text": "number | undefined"
5613
5707
  },
5614
- "default": "'standard'",
5615
- "description": "The appearance of footer",
5616
- "parsedType": {
5617
- "text": "'standard' | 'highlight'"
5618
- }
5708
+ "default": "7",
5709
+ "description": "Set the gap of the divider's stroke. This is applicable when the stroke is dashed"
5619
5710
  },
5620
5711
  {
5621
5712
  "kind": "field",
5622
- "name": "hideCloseButton",
5713
+ "name": "strokeThickness",
5623
5714
  "type": {
5624
- "text": "boolean"
5715
+ "text": "number | undefined"
5625
5716
  },
5626
- "default": "false",
5627
- "description": "If true, it hides the close button"
5717
+ "default": "1",
5718
+ "description": "Set the thickness of the divider's stroke. Value expressed in px"
5628
5719
  },
5629
5720
  {
5630
5721
  "kind": "field",
5631
- "name": "open",
5722
+ "name": "strokeBasis",
5632
5723
  "type": {
5633
- "text": "boolean"
5724
+ "text": "number | undefined"
5634
5725
  },
5635
- "default": "false",
5636
- "description": "If true, the dialog will be shown as open"
5726
+ "default": "0",
5727
+ "description": "Set the min width of the divider's stroke when text is not centered. Value expressed in px"
5637
5728
  },
5638
5729
  {
5639
5730
  "kind": "field",
5640
- "name": "size",
5731
+ "name": "strokeLinecap",
5641
5732
  "type": {
5642
- "text": "TDialogSize"
5733
+ "text": "TDividerStrokeLinecap | undefined"
5643
5734
  },
5644
- "default": "'medium'",
5645
- "description": "The size of the dialog",
5735
+ "default": "'butt'",
5736
+ "description": "Set the line of the divider's stroke. This is applicable when the stroke is dashed",
5646
5737
  "parsedType": {
5647
- "text": "'small' | 'medium' | 'large'"
5738
+ "text": "'square' | 'round' | 'butt' | undefined"
5648
5739
  }
5649
5740
  },
5650
5741
  {
5651
5742
  "kind": "method",
5652
5743
  "name": "checkPropValues"
5653
5744
  },
5654
- {
5655
- "kind": "method",
5656
- "name": "handleOpenChange"
5657
- },
5658
- {
5659
- "kind": "method",
5660
- "name": "handleMouseClick",
5661
- "parameters": [
5662
- {
5663
- "name": "event",
5664
- "type": {
5665
- "text": "MouseEvent"
5666
- }
5667
- }
5668
- ]
5669
- },
5670
- {
5671
- "kind": "method",
5672
- "name": "handleKeyDown",
5673
- "parameters": [
5674
- {
5675
- "name": "ev",
5676
- "type": {
5677
- "text": "KeyboardEvent"
5678
- }
5679
- }
5680
- ]
5681
- },
5682
- {
5683
- "kind": "method",
5684
- "name": "show",
5685
- "description": "Open the dialog"
5686
- },
5687
- {
5688
- "kind": "method",
5689
- "name": "hide",
5690
- "description": "Closes the dialog"
5691
- },
5692
- {
5693
- "kind": "method",
5694
- "name": "cancel",
5695
- "description": "Dismiss or cancel the dialog"
5696
- },
5697
5745
  {
5698
5746
  "kind": "field",
5699
- "name": "handleClose",
5747
+ "name": "handleSlotChange",
5700
5748
  "privacy": "private"
5701
5749
  },
5702
5750
  {
5703
5751
  "kind": "field",
5704
- "name": "handleOpen",
5705
- "privacy": "private"
5752
+ "name": "strokeAttributes",
5753
+ "privacy": "private",
5754
+ "readonly": true
5706
5755
  },
5707
5756
  {
5708
5757
  "kind": "field",
5709
- "name": "handleTransitionEnd",
5710
- "privacy": "private"
5758
+ "name": "strokeDrawPositions",
5759
+ "privacy": "private",
5760
+ "readonly": true
5711
5761
  },
5712
5762
  {
5713
5763
  "kind": "field",
5714
- "name": "handleSlotChange",
5715
- "privacy": "private"
5764
+ "name": "strokeDasharray",
5765
+ "privacy": "private",
5766
+ "readonly": true
5716
5767
  },
5717
5768
  {
5718
5769
  "kind": "method",
5719
5770
  "name": "render"
5720
5771
  }
5721
5772
  ],
5722
- "events": [
5723
- {
5724
- "description": "Callback handler emitted when the dialog has been canceled or dismissed.",
5725
- "name": "bqCancel"
5726
- },
5727
- {
5728
- "description": "Callback handler emitted when the dialog will close.",
5729
- "name": "bqClose"
5730
- },
5731
- {
5732
- "description": "Callback handler emitted when the dialog will open.",
5733
- "name": "bqOpen"
5734
- },
5735
- {
5736
- "description": "Callback handler emitted when the dialog finish opening.",
5737
- "name": "bqAfterOpen"
5738
- },
5739
- {
5740
- "description": "Callback handler emitted when the dialog finish closing.",
5741
- "name": "bqAfterClose"
5742
- },
5743
- {
5744
- "name": "bqCancel",
5745
- "type": {
5746
- "text": "EventEmitter<void>"
5747
- },
5748
- "description": "Callback handler emitted when the dialog has been canceled or dismissed"
5749
- },
5750
- {
5751
- "name": "bqClose",
5752
- "type": {
5753
- "text": "EventEmitter<void>"
5754
- },
5755
- "description": "Callback handler emitted when the dialog will close"
5756
- },
5773
+ "attributes": [
5757
5774
  {
5758
- "name": "bqOpen",
5759
5775
  "type": {
5760
- "text": "EventEmitter<void>"
5776
+ "text": "boolean"
5761
5777
  },
5762
- "description": "Callback handler emitted when the dialog will open"
5778
+ "description": "If true, the divider has a dashed pattern.",
5779
+ "name": "dashed"
5763
5780
  },
5764
5781
  {
5765
- "name": "bqAfterOpen",
5766
5782
  "type": {
5767
- "text": "EventEmitter<void>"
5783
+ "text": "\"horizontal\" | \"vertical\""
5768
5784
  },
5769
- "description": "Callback handler emitted when the dialog finish opening"
5785
+ "description": "The default orientation of the divider.",
5786
+ "name": "orientation"
5770
5787
  },
5771
- {
5772
- "name": "bqAfterClose",
5773
- "type": {
5774
- "text": "EventEmitter<void>"
5775
- },
5776
- "description": "Callback handler emitted when the dialog finish closing"
5777
- }
5778
- ],
5779
- "attributes": [
5780
5788
  {
5781
5789
  "type": {
5782
- "text": "\"none\" | \"xs2\" | \"xs\" | \"s\" | \"m\" | \"l\" | \"full\""
5790
+ "text": "string"
5783
5791
  },
5784
- "description": "Border radius of the dialog component.",
5785
- "name": "border"
5792
+ "description": "Set the stroke color of the divider. The value should be a valid value of the palette color.",
5793
+ "name": "stroke-color"
5786
5794
  },
5787
5795
  {
5788
5796
  "type": {
5789
- "text": "boolean"
5797
+ "text": "\"start\" | \"middle\" | \"end\""
5790
5798
  },
5791
- "description": "If true, the backdrop overlay won't be shown when the dialog opens.",
5792
- "name": "disable-backdrop"
5799
+ "description": "Set the alignment of the title on the main axis of the divider (horizontal / vertical).",
5800
+ "name": "title-alignment"
5793
5801
  },
5794
5802
  {
5795
5803
  "type": {
5796
- "text": "boolean"
5804
+ "text": "number"
5797
5805
  },
5798
- "description": "If true, the dialog will not close when the [Esc] key is pressed.",
5799
- "name": "disable-close-esc-keydown"
5806
+ "description": "Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed.",
5807
+ "name": "stroke-dash-width"
5800
5808
  },
5801
5809
  {
5802
5810
  "type": {
5803
- "text": "boolean"
5811
+ "text": "number"
5804
5812
  },
5805
- "description": "If true, the dialog will not close when clicking on the backdrop overlay.",
5806
- "name": "disable-close-click-outside"
5813
+ "description": "Set the gap of the divider's stroke. This is applicable when the stroke is dashed.",
5814
+ "name": "stroke-dash-gap"
5807
5815
  },
5808
5816
  {
5809
5817
  "type": {
5810
- "text": "\"standard\" | \"highlight\""
5818
+ "text": "number"
5811
5819
  },
5812
- "description": "The appearance of the footer.",
5813
- "name": "footer-appearance"
5820
+ "description": "Set the thickness of the divider's stroke. Value expressed in px.",
5821
+ "name": "stroke-thickness"
5814
5822
  },
5815
5823
  {
5816
5824
  "type": {
5817
- "text": "boolean"
5825
+ "text": "number"
5818
5826
  },
5819
- "description": "If true, it hides the close button.",
5820
- "name": "hide-close-button"
5827
+ "description": "Set the min width of the divider's stroke when text is not centered. Value expressed in px.",
5828
+ "name": "stroke-basis"
5821
5829
  },
5822
5830
  {
5823
5831
  "type": {
5824
- "text": "boolean"
5832
+ "text": "\"square\" | \"round\" | \"butt\""
5825
5833
  },
5826
- "description": "If true, the dialog will be shown as open.",
5827
- "name": "open"
5834
+ "description": "Set the line of the divider's stroke. This is applicable when the stroke is dashed.",
5835
+ "name": "stroke-linecap"
5828
5836
  },
5829
5837
  {
5830
- "type": {
5831
- "text": "\"small\" | \"medium\" | \"large\""
5832
- },
5833
- "description": "The size of the dialog.",
5834
- "name": "size"
5838
+ "name": "dashed",
5839
+ "fieldName": "dashed"
5835
5840
  },
5836
5841
  {
5837
- "name": "border",
5838
- "fieldName": "border",
5842
+ "name": "orientation",
5843
+ "fieldName": "orientation",
5839
5844
  "type": {
5840
- "text": "TDialogBorderRadius"
5845
+ "text": "TDividerOrientation"
5841
5846
  },
5842
5847
  "parsedType": {
5843
- "text": "'none' | 'xs2' | 'xs' | 's' | 'm' | 'l' | 'full'"
5848
+ "text": "'horizontal' | 'vertical'"
5844
5849
  }
5845
5850
  },
5846
5851
  {
5847
- "name": "disable-backdrop",
5848
- "fieldName": "disableBackdrop"
5852
+ "name": "stroke-color",
5853
+ "fieldName": "strokeColor",
5854
+ "type": {
5855
+ "text": "string"
5856
+ }
5849
5857
  },
5850
5858
  {
5851
- "name": "disable-close-esc-keydown",
5852
- "fieldName": "disableCloseEscKeydown"
5859
+ "name": "title-alignment",
5860
+ "fieldName": "titleAlignment",
5861
+ "type": {
5862
+ "text": "TDividerTitleAlignment"
5863
+ },
5864
+ "parsedType": {
5865
+ "text": "'start' | 'middle' | 'end'"
5866
+ }
5853
5867
  },
5854
5868
  {
5855
- "name": "disable-close-click-outside",
5856
- "fieldName": "disableCloseClickOutside"
5869
+ "name": "stroke-dash-width",
5870
+ "fieldName": "strokeDashWidth",
5871
+ "type": {
5872
+ "text": "number"
5873
+ }
5857
5874
  },
5858
5875
  {
5859
- "name": "footer-appearance",
5860
- "fieldName": "footerAppearance",
5876
+ "name": "stroke-dash-gap",
5877
+ "fieldName": "strokeDashGap",
5861
5878
  "type": {
5862
- "text": "TDialogFooterAppearance"
5863
- },
5864
- "parsedType": {
5865
- "text": "'standard' | 'highlight'"
5879
+ "text": "number"
5866
5880
  }
5867
5881
  },
5868
5882
  {
5869
- "name": "hide-close-button",
5870
- "fieldName": "hideCloseButton"
5883
+ "name": "stroke-thickness",
5884
+ "fieldName": "strokeThickness",
5885
+ "type": {
5886
+ "text": "number"
5887
+ }
5871
5888
  },
5872
5889
  {
5873
- "name": "open",
5874
- "fieldName": "open",
5890
+ "name": "stroke-basis",
5891
+ "fieldName": "strokeBasis",
5875
5892
  "type": {
5876
- "text": "boolean"
5893
+ "text": "number"
5877
5894
  }
5878
5895
  },
5879
5896
  {
5880
- "name": "size",
5881
- "fieldName": "size",
5897
+ "name": "stroke-linecap",
5898
+ "fieldName": "strokeLinecap",
5882
5899
  "type": {
5883
- "text": "TDialogSize"
5900
+ "text": "TDividerStrokeLinecap"
5884
5901
  },
5885
5902
  "parsedType": {
5886
- "text": "'small' | 'medium' | 'large'"
5903
+ "text": "'square' | 'round' | 'butt'"
5887
5904
  }
5888
5905
  }
5889
5906
  ],
5890
- "tagName": "bq-dialog",
5891
- "dependencies": [
5892
- {
5893
- "name": "bq-button",
5894
- "description": ""
5895
- },
5896
- {
5897
- "name": "bq-icon",
5898
- "description": ""
5899
- }
5900
- ],
5907
+ "tagName": "bq-divider",
5901
5908
  "csspart": [
5902
5909
  {
5903
- "name": "body",
5904
- "description": "The `<main>` that holds the dialog body content."
5905
- },
5906
- {
5907
- "name": "button-close",
5908
- "description": "The button that closes the dialog on click."
5909
- },
5910
- {
5911
- "name": "content",
5912
- "description": "The `<div>` container that holds the dialog title and body content."
5910
+ "name": "base",
5911
+ "description": "The component's internal wrapper."
5913
5912
  },
5914
5913
  {
5915
- "name": "dialog",
5916
- "description": "The `<dialog>` wrapper container inside the shadow DOM."
5914
+ "name": "dash-start",
5915
+ "description": "The component's internal svg wrapper for the start line of the divider's stroke."
5917
5916
  },
5918
5917
  {
5919
- "name": "footer",
5920
- "description": "The `<footer>` that holds footer content."
5918
+ "name": "dash-end",
5919
+ "description": "The component's internal svg wrapper for the end line of the divider's stroke."
5921
5920
  },
5922
5921
  {
5923
- "name": "header",
5924
- "description": "The `<header>` that holds the icon, title, description and close button."
5922
+ "name": "dash-start-line",
5923
+ "description": "The component's internal line component of the divider's stroke."
5925
5924
  },
5926
5925
  {
5927
- "name": "title",
5928
- "description": "The `<div>` that holds the title content."
5926
+ "name": "dash-end-line",
5927
+ "description": "The component's internal line component of the divider's stroke."
5929
5928
  }
5930
5929
  ],
5930
+ "events": [],
5931
5931
  "customElement": true
5932
5932
  }
5933
5933
  ],
5934
5934
  "exports": [
5935
5935
  {
5936
5936
  "kind": "js",
5937
- "name": "BqDialog",
5937
+ "name": "BqDivider",
5938
5938
  "declaration": {
5939
- "name": "BqDialog",
5940
- "module": "components/bq-dialog.js"
5939
+ "name": "BqDivider",
5940
+ "module": "components/bq-divider.js"
5941
5941
  }
5942
5942
  },
5943
5943
  {
5944
5944
  "kind": "custom-element-definition",
5945
- "name": "bq-dialog",
5945
+ "name": "bq-divider",
5946
5946
  "declaration": {
5947
- "name": "BqDialog",
5948
- "module": "components/bq-dialog.js"
5947
+ "name": "BqDivider",
5948
+ "module": "components/bq-divider.js"
5949
5949
  }
5950
5950
  }
5951
5951
  ]
5952
5952
  },
5953
5953
  {
5954
5954
  "kind": "javascript-module",
5955
- "path": "components/bq-drawer.js",
5955
+ "path": "components/bq-dropdown.js",
5956
5956
  "declarations": [
5957
5957
  {
5958
5958
  "kind": "class",
5959
- "description": "The Drawer component provides a sliding panel interface commonly used for navigation or presenting additional content without taking up significant screen space.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-drawer position=\"end\">\n<div class=\"flex gap-xs\" slot=\"title\">Title</div>\n<div class=\"...\">\nContent\n</div>\n<div class=\"flex flex-1 justify-center gap-xs\" slot=\"footer\">\n<bq-button appearance=\"primary\" block=\"\" size=\"small\">Button</bq-button>\n<bq-button appearance=\"link\" block=\"\" size=\"small\">Button</bq-button>\n</div>\n</bq-drawer>\n```\n\n</figure>",
5960
- "name": "BqDrawer",
5959
+ "description": "The Dropdown Component is commonly used when presenting a list of selectable options that are too numerous to fit comfortably on the screen.\nThey provide an efficient way to save space and present a long list of options in a compact and organized manner.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-dropdown placement=\"bottom-start\">\n<bq-button slot=\"trigger\">Dropdown</bq-button>\n<bq-option-list>\n<bq-option value=\"users\">...</bq-option>\n<bq-option value=\"user\">...</bq-option>\n<bq-option value=\"dashboard\">...</bq-option>\n<bq-option value=\"settings\">...</bq-option>\n<bq-option value=\"logout\">...</bq-option>\n</bq-option-list>\n</bq-dropdown>\n```\n\n</figure>",
5960
+ "name": "BqDropdown",
5961
5961
  "cssProperties": [
5962
5962
  {
5963
- "description": "Background color of the backdrop",
5964
- "name": "--bq-drawer--backgroundBackdrop"
5963
+ "description": "Panel background color",
5964
+ "name": "--bq-panel--background"
5965
5965
  },
5966
5966
  {
5967
- "description": "Gap between the drawer and the viewport",
5968
- "name": "--bq-drawer--gap"
5967
+ "description": "Panel border color",
5968
+ "name": "--bq-panel--border-color"
5969
5969
  },
5970
5970
  {
5971
- "description": "Width of the drawer",
5972
- "name": "--bq-drawer--width"
5971
+ "description": "Panel border radius",
5972
+ "name": "--bq-panel--border-radius"
5973
5973
  },
5974
5974
  {
5975
- "description": "Padding left and right of the drawer",
5976
- "name": "--bq-drawer--paddingX"
5975
+ "description": "Panel border style",
5976
+ "name": "--bq-panel--border-style"
5977
5977
  },
5978
5978
  {
5979
- "description": "Padding top and bottom of the drawer",
5980
- "name": "--bq-drawer--paddingY"
5979
+ "description": "Panel border width",
5980
+ "name": "--bq-panel--border-width"
5981
5981
  },
5982
5982
  {
5983
- "description": "Z-index of the drawer component",
5984
- "name": "--bq-drawer--zIndex"
5985
- }
5986
- ],
5987
- "cssParts": [
5988
- {
5989
- "description": "The `<div>` that holds the backdrop overlay.",
5990
- "name": "backdrop"
5983
+ "description": "Panel box shadow",
5984
+ "name": "--bq-panel--box-shadow"
5991
5985
  },
5992
5986
  {
5993
- "description": "The BqButton that closes the drawer.",
5994
- "name": "button-close"
5987
+ "description": "Panel padding",
5988
+ "name": "--bq-panel--padding"
5995
5989
  },
5996
5990
  {
5997
- "description": "The native button used under the hood that closes the drawer.",
5998
- "name": "button-close__btn"
5991
+ "description": "Panel height",
5992
+ "name": "--bq-panel--height"
5999
5993
  },
6000
5994
  {
6001
- "description": "The text inside the native button that closes the drawer.",
6002
- "name": "button-close__label"
5995
+ "description": "Panel width",
5996
+ "name": "--bq-panel--width"
6003
5997
  },
6004
5998
  {
6005
- "description": "The `<div>` that holds the drawer entire content.",
6006
- "name": "panel"
6007
- },
5999
+ "description": "Panel z-index applied when opened",
6000
+ "name": "--bq-panel-z-index"
6001
+ }
6002
+ ],
6003
+ "cssParts": [
6008
6004
  {
6009
- "description": "The `<header>` that holds the icon, title, and close button.",
6010
- "name": "header"
6005
+ "description": "The component's internal wrapper.",
6006
+ "name": "base"
6011
6007
  },
6012
6008
  {
6013
- "description": "The `<div>` that holds the title content.",
6014
- "name": "title"
6009
+ "description": "The `<bq-panel>` element used under the hood to display the dropdown panel.",
6010
+ "name": "dropdown"
6015
6011
  },
6016
6012
  {
6017
- "description": "The `<main>` that holds the drawer body content.",
6018
- "name": "body"
6013
+ "description": "The `<div>` element used to display and style the panel inside the `<bq-panel>` element.",
6014
+ "name": "panel"
6019
6015
  },
6020
6016
  {
6021
- "description": "The `<footer>` that holds footer content.",
6022
- "name": "footer"
6017
+ "description": "The `<div>` element that hosts the trigger element.",
6018
+ "name": "trigger"
6023
6019
  }
6024
6020
  ],
6025
6021
  "slots": [
6026
6022
  {
6027
- "description": "The title content of the drawer.",
6028
- "name": "title"
6023
+ "description": "The trigger element that opens the dropdown panel.",
6024
+ "name": "trigger"
6029
6025
  },
6030
6026
  {
6031
- "description": "The body content of the drawer.",
6027
+ "description": "The content of the dropdown panel.",
6032
6028
  "name": ""
6033
- },
6034
- {
6035
- "description": "The footer content of the drawer.",
6036
- "name": "footer"
6037
- },
6038
- {
6039
- "description": "The close button content of the drawer.",
6040
- "name": "button-close"
6041
- },
6042
- {
6043
- "description": "The footer divider content of the drawer.",
6044
- "name": "footer-divider"
6045
6029
  }
6046
6030
  ],
6047
6031
  "members": [
6048
6032
  {
6049
6033
  "kind": "field",
6050
- "name": "footerElem",
6051
- "type": {
6052
- "text": "HTMLElement"
6053
- },
6054
- "privacy": "private"
6034
+ "name": "dropdownPanelId",
6035
+ "privacy": "private",
6036
+ "default": "`bq-dropdown-panel-${++id}`"
6055
6037
  },
6056
6038
  {
6057
6039
  "kind": "field",
6058
- "name": "drawerElem",
6040
+ "name": "triggerElem",
6059
6041
  "type": {
6060
- "text": "HTMLDivElement"
6042
+ "text": "HTMLElement"
6061
6043
  },
6062
6044
  "privacy": "private"
6063
6045
  },
6064
6046
  {
6065
6047
  "kind": "field",
6066
- "name": "OPEN_CSS_CLASS",
6048
+ "name": "el",
6067
6049
  "type": {
6068
- "text": "string"
6069
- },
6070
- "privacy": "private",
6071
- "default": "'bq-drawer--open'"
6050
+ "text": "HTMLBqDropdownElement"
6051
+ }
6072
6052
  },
6073
6053
  {
6074
6054
  "kind": "field",
6075
- "name": "el",
6055
+ "name": "disableScrollLock",
6076
6056
  "type": {
6077
- "text": "HTMLBqDrawerElement"
6078
- }
6057
+ "text": "boolean | undefined"
6058
+ },
6059
+ "default": "false",
6060
+ "description": "If true, the dropdown panel will not lock the page body scroll when open."
6079
6061
  },
6080
6062
  {
6081
6063
  "kind": "field",
6082
- "name": "hasFooter",
6064
+ "name": "disabled",
6083
6065
  "type": {
6084
- "text": "boolean"
6066
+ "text": "boolean | undefined"
6085
6067
  },
6086
- "privacy": "private",
6087
- "default": "false"
6068
+ "default": "false",
6069
+ "description": "If true, the dropdown panel will be visible and won't be shown."
6088
6070
  },
6089
6071
  {
6090
6072
  "kind": "field",
6091
- "name": "hasIcon",
6073
+ "name": "distance",
6092
6074
  "type": {
6093
- "text": "boolean"
6075
+ "text": "number | undefined"
6094
6076
  },
6095
- "default": "false"
6077
+ "default": "4",
6078
+ "description": "Represents the distance (gutter or margin) between the panel and the trigger element."
6096
6079
  },
6097
6080
  {
6098
6081
  "kind": "field",
6099
- "name": "enableBackdrop",
6082
+ "name": "keepOpenOnSelect",
6100
6083
  "type": {
6101
- "text": "boolean"
6084
+ "text": "boolean | undefined"
6102
6085
  },
6103
6086
  "default": "false",
6104
- "description": "If true, the backdrop overlay will be shown when the drawer opens"
6087
+ "description": "If true, the panel will remain open after a selection is made."
6105
6088
  },
6106
6089
  {
6107
6090
  "kind": "field",
6108
- "name": "closeOnClickOutside",
6091
+ "name": "placement",
6109
6092
  "type": {
6110
- "text": "boolean"
6093
+ "text": "Placement | undefined"
6111
6094
  },
6112
- "default": "false",
6113
- "description": "If true, the drawer will not close when clicking outside the panel"
6095
+ "default": "'bottom-start'",
6096
+ "description": "Position of the panel"
6114
6097
  },
6115
6098
  {
6116
6099
  "kind": "field",
6117
- "name": "closeOnEsc",
6100
+ "name": "open",
6118
6101
  "type": {
6119
- "text": "boolean"
6102
+ "text": "boolean | undefined"
6120
6103
  },
6121
6104
  "default": "false",
6122
- "description": "If true, the dialog will not close when the [Esc] key is pressed"
6105
+ "description": "If true, the panel will be visible."
6123
6106
  },
6124
6107
  {
6125
6108
  "kind": "field",
6126
- "name": "open",
6109
+ "name": "panelHeight",
6127
6110
  "type": {
6128
- "text": "boolean"
6111
+ "text": "string | undefined"
6129
6112
  },
6130
- "description": "If true, the drawer component will be shown"
6113
+ "description": "When set, it will override the height of the dropdown panel"
6131
6114
  },
6132
6115
  {
6133
6116
  "kind": "field",
6134
- "name": "placement",
6117
+ "name": "sameWidth",
6135
6118
  "type": {
6136
- "text": "TDrawerPlacement"
6119
+ "text": "boolean | undefined"
6137
6120
  },
6138
- "default": "'right'",
6139
- "deprecated": "Defines the position of the drawer",
6140
- "parsedType": {
6141
- "text": "'left' | 'right'"
6121
+ "default": "false",
6122
+ "description": "Whether the panel should have the same width as the trigger element"
6123
+ },
6124
+ {
6125
+ "kind": "field",
6126
+ "name": "skidding",
6127
+ "type": {
6128
+ "text": "number | undefined"
6142
6129
  },
6143
- "description": ""
6130
+ "default": "0",
6131
+ "description": "Represents the skidding between the panel and the trigger element."
6144
6132
  },
6145
6133
  {
6146
6134
  "kind": "field",
6147
- "name": "position",
6135
+ "name": "strategy",
6148
6136
  "type": {
6149
- "text": "TDrawerPosition"
6137
+ "text": "'fixed' | 'absolute' | undefined"
6150
6138
  },
6151
- "default": "'end'",
6152
- "description": "Defines the position of the drawer",
6153
- "parsedType": {
6154
- "text": "'start' | 'end'"
6155
- }
6139
+ "default": "'fixed'",
6140
+ "description": "Defines the strategy to position the panel"
6156
6141
  },
6157
6142
  {
6158
6143
  "kind": "method",
6159
- "name": "handleOpenChange"
6144
+ "name": "onOpenChange"
6160
6145
  },
6161
6146
  {
6162
6147
  "kind": "method",
6163
- "name": "handlePlacementChange",
6164
- "description": "!TO BE REMOVED: Delete this `@Watch()` once the deprecated `placement` property is removed\nWe need to maintain retro-compatibility with the deprecated `placement` property"
6148
+ "name": "handleDisabledChange"
6165
6149
  },
6166
6150
  {
6167
6151
  "kind": "method",
6168
- "name": "handlePositionChange"
6152
+ "name": "onItemSelect"
6169
6153
  },
6170
6154
  {
6171
6155
  "kind": "method",
6172
- "name": "handleMouseClick",
6156
+ "name": "onClickOutside",
6173
6157
  "parameters": [
6174
6158
  {
6175
6159
  "name": "event",
@@ -6177,11 +6161,12 @@
6177
6161
  "text": "MouseEvent"
6178
6162
  }
6179
6163
  }
6180
- ]
6164
+ ],
6165
+ "description": "Listens for the 'click' event on the document object\nand closes the dropdown panel if the click is outside the component."
6181
6166
  },
6182
6167
  {
6183
6168
  "kind": "method",
6184
- "name": "handleKeyDown",
6169
+ "name": "onEscape",
6185
6170
  "parameters": [
6186
6171
  {
6187
6172
  "name": "event",
@@ -6193,56 +6178,13 @@
6193
6178
  },
6194
6179
  {
6195
6180
  "kind": "method",
6196
- "name": "hide",
6197
- "return": {
6198
- "type": {
6199
- "text": "Promise<void>"
6200
- }
6201
- },
6202
- "description": "Method to be called to hide the drawer component"
6203
- },
6204
- {
6205
- "kind": "method",
6206
- "name": "show",
6207
- "return": {
6208
- "type": {
6209
- "text": "Promise<void>"
6210
- }
6211
- },
6212
- "description": "Method to be called to show the drawer component"
6213
- },
6214
- {
6215
- "kind": "field",
6216
- "name": "handleFooterSlotChange",
6217
- "privacy": "private"
6218
- },
6219
- {
6220
- "kind": "field",
6221
- "name": "handleAfterHide",
6222
- "privacy": "private"
6223
- },
6224
- {
6225
- "kind": "field",
6226
- "name": "handleAfterShow",
6227
- "privacy": "private"
6181
+ "name": "handleScrollEvent"
6228
6182
  },
6229
6183
  {
6230
6184
  "kind": "field",
6231
- "name": "handleTransitionEnd",
6185
+ "name": "togglePanel",
6232
6186
  "privacy": "private"
6233
6187
  },
6234
- {
6235
- "kind": "field",
6236
- "name": "isPositionStart",
6237
- "privacy": "private",
6238
- "readonly": true
6239
- },
6240
- {
6241
- "kind": "field",
6242
- "name": "isPositionEnd",
6243
- "privacy": "private",
6244
- "readonly": true
6245
- },
6246
6188
  {
6247
6189
  "kind": "method",
6248
6190
  "name": "render"
@@ -6250,97 +6192,115 @@
6250
6192
  ],
6251
6193
  "events": [
6252
6194
  {
6253
- "description": "Callback handler to be called when the drawer is closed.",
6254
- "name": "bqClose"
6255
- },
6256
- {
6257
- "description": "Callback handler to be called when the drawer is opened.",
6195
+ "description": "Callback handler to be called when the dropdown panel is opened or closed.",
6258
6196
  "name": "bqOpen"
6259
6197
  },
6260
6198
  {
6261
- "description": "Callback handler to be called after the drawer has been opened.",
6262
- "name": "bqAfterOpen"
6199
+ "name": "bqOpen",
6200
+ "type": {
6201
+ "text": "EventEmitter<{ open: boolean }>"
6202
+ },
6203
+ "description": "Callback handler to be called when the dropdown panel is opened or closed."
6204
+ }
6205
+ ],
6206
+ "attributes": [
6207
+ {
6208
+ "type": {
6209
+ "text": "boolean"
6210
+ },
6211
+ "description": "If true, the dropdown panel will be visible and won't be shown.",
6212
+ "name": "disabled"
6263
6213
  },
6264
6214
  {
6265
- "description": "Callback handler to be called after the drawer has been closed.",
6266
- "name": "bqAfterClose"
6215
+ "type": {
6216
+ "text": "number"
6217
+ },
6218
+ "description": "Represents the distance (gutter or margin) between the panel and the trigger element.",
6219
+ "name": "distance"
6267
6220
  },
6268
6221
  {
6269
- "name": "bqClose",
6270
6222
  "type": {
6271
- "text": "EventEmitter"
6223
+ "text": "boolean"
6272
6224
  },
6273
- "description": "Callback handler to be called when the drawer is closed"
6225
+ "description": "If true, the panel will remain open after a selection is made.",
6226
+ "name": "keep-open-on-select"
6274
6227
  },
6275
6228
  {
6276
- "name": "bqOpen",
6277
6229
  "type": {
6278
- "text": "EventEmitter"
6230
+ "text": "\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\" | \"right-start\" | \"right-end\""
6279
6231
  },
6280
- "description": "Callback handler to be called when the drawer is opened"
6232
+ "description": "Position of the panel.",
6233
+ "name": "placement"
6281
6234
  },
6282
6235
  {
6283
- "name": "bqAfterOpen",
6284
6236
  "type": {
6285
- "text": "EventEmitter"
6237
+ "text": "boolean"
6286
6238
  },
6287
- "description": "Callback handler to be called after the drawer has been opened"
6239
+ "description": "If true, the panel will be visible.",
6240
+ "name": "open"
6288
6241
  },
6289
6242
  {
6290
- "name": "bqAfterClose",
6291
6243
  "type": {
6292
- "text": "EventEmitter"
6244
+ "text": "string"
6293
6245
  },
6294
- "description": "Callback handler to be called after the drawer has been closed"
6295
- }
6296
- ],
6297
- "attributes": [
6246
+ "description": "When set, it will override the height of the dropdown panel.",
6247
+ "name": "panel-height"
6248
+ },
6298
6249
  {
6299
6250
  "type": {
6300
6251
  "text": "boolean"
6301
6252
  },
6302
- "description": "If true, the backdrop overlay will be shown when the drawer opens.",
6303
- "name": "enable-backdrop"
6253
+ "description": "Whether the panel should have the same width as the trigger element.",
6254
+ "name": "same-width"
6304
6255
  },
6305
6256
  {
6306
6257
  "type": {
6307
- "text": "boolean"
6258
+ "text": "number"
6308
6259
  },
6309
- "description": "If true, the drawer will not close when clicking outside the panel.",
6310
- "name": "close-on-click-outside"
6260
+ "description": "Represents the skidding between the panel and the trigger element.",
6261
+ "name": "skidding"
6311
6262
  },
6312
6263
  {
6313
6264
  "type": {
6314
- "text": "boolean"
6265
+ "text": "\"fixed\" | \"absolute\""
6315
6266
  },
6316
- "description": "If true, the drawer will not close when the [Esc] key is pressed.",
6317
- "name": "close-on-esc"
6267
+ "description": "Defines the strategy to position the panel.",
6268
+ "name": "strategy"
6318
6269
  },
6319
6270
  {
6271
+ "name": "disable-scroll-lock",
6272
+ "fieldName": "disableScrollLock",
6320
6273
  "type": {
6321
6274
  "text": "boolean"
6322
- },
6323
- "description": "If true, the drawer component will be shown.",
6324
- "name": "open"
6275
+ }
6325
6276
  },
6326
6277
  {
6278
+ "name": "disabled",
6279
+ "fieldName": "disabled",
6327
6280
  "type": {
6328
- "text": "\"start\" | \"end\""
6329
- },
6330
- "description": "Defines the position of the drawer.",
6331
- "name": "position"
6281
+ "text": "boolean"
6282
+ }
6332
6283
  },
6333
6284
  {
6334
- "name": "enable-backdrop",
6335
- "fieldName": "enableBackdrop"
6285
+ "name": "distance",
6286
+ "fieldName": "distance",
6287
+ "type": {
6288
+ "text": "number"
6289
+ }
6336
6290
  },
6337
6291
  {
6338
- "name": "close-on-click-outside",
6339
- "fieldName": "closeOnClickOutside"
6292
+ "name": "keep-open-on-select",
6293
+ "fieldName": "keepOpenOnSelect",
6294
+ "type": {
6295
+ "text": "boolean"
6296
+ }
6340
6297
  },
6341
6298
  {
6342
- "name": "close-on-esc",
6343
- "fieldName": "closeOnEsc"
6299
+ "name": "placement",
6300
+ "fieldName": "placement",
6301
+ "type": {
6302
+ "text": "Placement"
6303
+ }
6344
6304
  },
6345
6305
  {
6346
6306
  "name": "open",
@@ -6350,77 +6310,57 @@
6350
6310
  }
6351
6311
  },
6352
6312
  {
6353
- "name": "placement",
6354
- "fieldName": "placement",
6313
+ "name": "panel-height",
6314
+ "fieldName": "panelHeight",
6355
6315
  "type": {
6356
- "text": "TDrawerPlacement"
6357
- },
6358
- "parsedType": {
6359
- "text": "'left' | 'right'"
6316
+ "text": "string"
6360
6317
  }
6361
6318
  },
6362
6319
  {
6363
- "name": "position",
6364
- "fieldName": "position",
6320
+ "name": "same-width",
6321
+ "fieldName": "sameWidth",
6322
+ "type": {
6323
+ "text": "boolean"
6324
+ }
6325
+ },
6326
+ {
6327
+ "name": "skidding",
6328
+ "fieldName": "skidding",
6329
+ "type": {
6330
+ "text": "number"
6331
+ }
6332
+ },
6333
+ {
6334
+ "name": "strategy",
6335
+ "fieldName": "strategy",
6365
6336
  "type": {
6366
- "text": "TDrawerPosition"
6367
- },
6368
- "parsedType": {
6369
- "text": "'start' | 'end'"
6337
+ "text": "'fixed' | 'absolute'"
6370
6338
  }
6371
6339
  }
6372
6340
  ],
6373
- "tagName": "bq-drawer",
6341
+ "tagName": "bq-dropdown",
6374
6342
  "dependencies": [
6375
6343
  {
6376
- "name": "bq-button",
6377
- "description": ""
6378
- },
6379
- {
6380
- "name": "bq-icon",
6381
- "description": ""
6382
- },
6383
- {
6384
- "name": "bq-divider",
6344
+ "name": "bq-panel",
6385
6345
  "description": ""
6386
6346
  }
6387
6347
  ],
6388
6348
  "csspart": [
6389
6349
  {
6390
- "name": "backdrop",
6391
- "description": "The `<div>` that holds the backdrop overlay."
6392
- },
6393
- {
6394
- "name": "button-close",
6395
- "description": "The BqButton that closes the drawer."
6396
- },
6397
- {
6398
- "name": "button-close__btn",
6399
- "description": "The native button used under the hood that closes the drawer."
6350
+ "name": "base",
6351
+ "description": "The component's internal wrapper."
6400
6352
  },
6401
6353
  {
6402
- "name": "button-close__label",
6403
- "description": "The text inside the native button that closes the drawer."
6354
+ "name": "dropdown",
6355
+ "description": "The `<bq-panel>` element used under the hood to display the dropdown panel."
6404
6356
  },
6405
6357
  {
6406
6358
  "name": "panel",
6407
- "description": "The `<div>` that holds the drawer entire content."
6408
- },
6409
- {
6410
- "name": "header",
6411
- "description": "The `<header>` that holds the icon, title, and close button."
6412
- },
6413
- {
6414
- "name": "title",
6415
- "description": "The `<div>` that holds the title content."
6416
- },
6417
- {
6418
- "name": "body",
6419
- "description": "The `<main>` that holds the drawer body content."
6359
+ "description": "The `<div>` element used to display and style the panel inside the `<bq-panel>` element."
6420
6360
  },
6421
6361
  {
6422
- "name": "footer",
6423
- "description": "The `<footer>` that holds footer content."
6362
+ "name": "trigger",
6363
+ "description": "The `<div>` element that hosts the trigger element."
6424
6364
  }
6425
6365
  ],
6426
6366
  "customElement": true
@@ -6429,110 +6369,120 @@
6429
6369
  "exports": [
6430
6370
  {
6431
6371
  "kind": "js",
6432
- "name": "BqDrawer",
6372
+ "name": "BqDropdown",
6433
6373
  "declaration": {
6434
- "name": "BqDrawer",
6435
- "module": "components/bq-drawer.js"
6374
+ "name": "BqDropdown",
6375
+ "module": "components/bq-dropdown.js"
6436
6376
  }
6437
6377
  },
6438
6378
  {
6439
6379
  "kind": "custom-element-definition",
6440
- "name": "bq-drawer",
6380
+ "name": "bq-dropdown",
6441
6381
  "declaration": {
6442
- "name": "BqDrawer",
6443
- "module": "components/bq-drawer.js"
6382
+ "name": "BqDropdown",
6383
+ "module": "components/bq-dropdown.js"
6444
6384
  }
6445
6385
  }
6446
6386
  ]
6447
6387
  },
6448
6388
  {
6449
6389
  "kind": "javascript-module",
6450
- "path": "components/bq-dropdown.js",
6390
+ "path": "components/bq-drawer.js",
6451
6391
  "declarations": [
6452
6392
  {
6453
6393
  "kind": "class",
6454
- "description": "The Dropdown Component is commonly used when presenting a list of selectable options that are too numerous to fit comfortably on the screen.\nThey provide an efficient way to save space and present a long list of options in a compact and organized manner.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-dropdown placement=\"bottom-start\">\n<bq-button slot=\"trigger\">Dropdown</bq-button>\n<bq-option-list>\n<bq-option value=\"users\">...</bq-option>\n<bq-option value=\"user\">...</bq-option>\n<bq-option value=\"dashboard\">...</bq-option>\n<bq-option value=\"settings\">...</bq-option>\n<bq-option value=\"logout\">...</bq-option>\n</bq-option-list>\n</bq-dropdown>\n```\n\n</figure>",
6455
- "name": "BqDropdown",
6394
+ "description": "The Drawer component provides a sliding panel interface commonly used for navigation or presenting additional content without taking up significant screen space.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-drawer position=\"end\">\n<div class=\"flex gap-xs\" slot=\"title\">Title</div>\n<div class=\"...\">\nContent\n</div>\n<div class=\"flex flex-1 justify-center gap-xs\" slot=\"footer\">\n<bq-button appearance=\"primary\" block=\"\" size=\"small\">Button</bq-button>\n<bq-button appearance=\"link\" block=\"\" size=\"small\">Button</bq-button>\n</div>\n</bq-drawer>\n```\n\n</figure>",
6395
+ "name": "BqDrawer",
6456
6396
  "cssProperties": [
6457
6397
  {
6458
- "description": "Panel background color",
6459
- "name": "--bq-panel--background"
6398
+ "description": "Background color of the backdrop",
6399
+ "name": "--bq-drawer--backgroundBackdrop"
6460
6400
  },
6461
6401
  {
6462
- "description": "Panel border color",
6463
- "name": "--bq-panel--border-color"
6402
+ "description": "Gap between the drawer and the viewport",
6403
+ "name": "--bq-drawer--gap"
6464
6404
  },
6465
6405
  {
6466
- "description": "Panel border radius",
6467
- "name": "--bq-panel--border-radius"
6406
+ "description": "Width of the drawer",
6407
+ "name": "--bq-drawer--width"
6468
6408
  },
6469
6409
  {
6470
- "description": "Panel border style",
6471
- "name": "--bq-panel--border-style"
6410
+ "description": "Padding left and right of the drawer",
6411
+ "name": "--bq-drawer--paddingX"
6472
6412
  },
6473
6413
  {
6474
- "description": "Panel border width",
6475
- "name": "--bq-panel--border-width"
6414
+ "description": "Padding top and bottom of the drawer",
6415
+ "name": "--bq-drawer--paddingY"
6476
6416
  },
6477
6417
  {
6478
- "description": "Panel box shadow",
6479
- "name": "--bq-panel--box-shadow"
6418
+ "description": "Z-index of the drawer component",
6419
+ "name": "--bq-drawer--zIndex"
6420
+ }
6421
+ ],
6422
+ "cssParts": [
6423
+ {
6424
+ "description": "The `<div>` that holds the backdrop overlay.",
6425
+ "name": "backdrop"
6480
6426
  },
6481
6427
  {
6482
- "description": "Panel padding",
6483
- "name": "--bq-panel--padding"
6428
+ "description": "The BqButton that closes the drawer.",
6429
+ "name": "button-close"
6484
6430
  },
6485
6431
  {
6486
- "description": "Panel height",
6487
- "name": "--bq-panel--height"
6432
+ "description": "The native button used under the hood that closes the drawer.",
6433
+ "name": "button-close__btn"
6488
6434
  },
6489
6435
  {
6490
- "description": "Panel width",
6491
- "name": "--bq-panel--width"
6436
+ "description": "The text inside the native button that closes the drawer.",
6437
+ "name": "button-close__label"
6492
6438
  },
6493
6439
  {
6494
- "description": "Panel z-index applied when opened",
6495
- "name": "--bq-panel-z-index"
6496
- }
6497
- ],
6498
- "cssParts": [
6440
+ "description": "The `<div>` that holds the drawer entire content.",
6441
+ "name": "panel"
6442
+ },
6499
6443
  {
6500
- "description": "The component's internal wrapper.",
6501
- "name": "base"
6444
+ "description": "The `<header>` that holds the icon, title, and close button.",
6445
+ "name": "header"
6502
6446
  },
6503
6447
  {
6504
- "description": "The `<bq-panel>` element used under the hood to display the dropdown panel.",
6505
- "name": "dropdown"
6448
+ "description": "The `<div>` that holds the title content.",
6449
+ "name": "title"
6506
6450
  },
6507
6451
  {
6508
- "description": "The `<div>` element used to display and style the panel inside the `<bq-panel>` element.",
6509
- "name": "panel"
6452
+ "description": "The `<main>` that holds the drawer body content.",
6453
+ "name": "body"
6510
6454
  },
6511
6455
  {
6512
- "description": "The `<div>` element that hosts the trigger element.",
6513
- "name": "trigger"
6456
+ "description": "The `<footer>` that holds footer content.",
6457
+ "name": "footer"
6514
6458
  }
6515
6459
  ],
6516
6460
  "slots": [
6517
6461
  {
6518
- "description": "The trigger element that opens the dropdown panel.",
6519
- "name": "trigger"
6462
+ "description": "The title content of the drawer.",
6463
+ "name": "title"
6520
6464
  },
6521
6465
  {
6522
- "description": "The content of the dropdown panel.",
6466
+ "description": "The body content of the drawer.",
6523
6467
  "name": ""
6468
+ },
6469
+ {
6470
+ "description": "The footer content of the drawer.",
6471
+ "name": "footer"
6472
+ },
6473
+ {
6474
+ "description": "The close button content of the drawer.",
6475
+ "name": "button-close"
6476
+ },
6477
+ {
6478
+ "description": "The footer divider content of the drawer.",
6479
+ "name": "footer-divider"
6524
6480
  }
6525
6481
  ],
6526
6482
  "members": [
6527
6483
  {
6528
6484
  "kind": "field",
6529
- "name": "dropdownPanelId",
6530
- "privacy": "private",
6531
- "default": "`bq-dropdown-panel-${++id}`"
6532
- },
6533
- {
6534
- "kind": "field",
6535
- "name": "triggerElem",
6485
+ "name": "footerElem",
6536
6486
  "type": {
6537
6487
  "text": "HTMLElement"
6538
6488
  },
@@ -6540,115 +6490,121 @@
6540
6490
  },
6541
6491
  {
6542
6492
  "kind": "field",
6543
- "name": "el",
6493
+ "name": "drawerElem",
6544
6494
  "type": {
6545
- "text": "HTMLBqDropdownElement"
6546
- }
6495
+ "text": "HTMLDivElement"
6496
+ },
6497
+ "privacy": "private"
6547
6498
  },
6548
6499
  {
6549
6500
  "kind": "field",
6550
- "name": "disableScrollLock",
6501
+ "name": "OPEN_CSS_CLASS",
6551
6502
  "type": {
6552
- "text": "boolean | undefined"
6503
+ "text": "string"
6553
6504
  },
6554
- "default": "false",
6555
- "description": "If true, the dropdown panel will not lock the page body scroll when open."
6505
+ "privacy": "private",
6506
+ "default": "'bq-drawer--open'"
6556
6507
  },
6557
6508
  {
6558
6509
  "kind": "field",
6559
- "name": "disabled",
6510
+ "name": "el",
6560
6511
  "type": {
6561
- "text": "boolean | undefined"
6562
- },
6563
- "default": "false",
6564
- "description": "If true, the dropdown panel will be visible and won't be shown."
6512
+ "text": "HTMLBqDrawerElement"
6513
+ }
6565
6514
  },
6566
6515
  {
6567
6516
  "kind": "field",
6568
- "name": "distance",
6517
+ "name": "hasFooter",
6569
6518
  "type": {
6570
- "text": "number | undefined"
6519
+ "text": "boolean"
6571
6520
  },
6572
- "default": "4",
6573
- "description": "Represents the distance (gutter or margin) between the panel and the trigger element."
6521
+ "privacy": "private",
6522
+ "default": "false"
6574
6523
  },
6575
6524
  {
6576
6525
  "kind": "field",
6577
- "name": "keepOpenOnSelect",
6526
+ "name": "hasIcon",
6578
6527
  "type": {
6579
- "text": "boolean | undefined"
6528
+ "text": "boolean"
6580
6529
  },
6581
- "default": "false",
6582
- "description": "If true, the panel will remain open after a selection is made."
6530
+ "default": "false"
6583
6531
  },
6584
6532
  {
6585
6533
  "kind": "field",
6586
- "name": "placement",
6534
+ "name": "enableBackdrop",
6587
6535
  "type": {
6588
- "text": "Placement | undefined"
6536
+ "text": "boolean"
6589
6537
  },
6590
- "default": "'bottom-start'",
6591
- "description": "Position of the panel"
6538
+ "default": "false",
6539
+ "description": "If true, the backdrop overlay will be shown when the drawer opens"
6592
6540
  },
6593
6541
  {
6594
6542
  "kind": "field",
6595
- "name": "open",
6543
+ "name": "closeOnClickOutside",
6596
6544
  "type": {
6597
- "text": "boolean | undefined"
6545
+ "text": "boolean"
6598
6546
  },
6599
6547
  "default": "false",
6600
- "description": "If true, the panel will be visible."
6548
+ "description": "If true, the drawer will not close when clicking outside the panel"
6601
6549
  },
6602
6550
  {
6603
6551
  "kind": "field",
6604
- "name": "panelHeight",
6552
+ "name": "closeOnEsc",
6605
6553
  "type": {
6606
- "text": "string | undefined"
6554
+ "text": "boolean"
6607
6555
  },
6608
- "description": "When set, it will override the height of the dropdown panel"
6556
+ "default": "false",
6557
+ "description": "If true, the dialog will not close when the [Esc] key is pressed"
6609
6558
  },
6610
6559
  {
6611
6560
  "kind": "field",
6612
- "name": "sameWidth",
6561
+ "name": "open",
6613
6562
  "type": {
6614
- "text": "boolean | undefined"
6563
+ "text": "boolean"
6615
6564
  },
6616
- "default": "false",
6617
- "description": "Whether the panel should have the same width as the trigger element"
6565
+ "description": "If true, the drawer component will be shown"
6618
6566
  },
6619
6567
  {
6620
6568
  "kind": "field",
6621
- "name": "skidding",
6569
+ "name": "placement",
6622
6570
  "type": {
6623
- "text": "number | undefined"
6571
+ "text": "TDrawerPlacement"
6624
6572
  },
6625
- "default": "0",
6626
- "description": "Represents the skidding between the panel and the trigger element."
6573
+ "default": "'right'",
6574
+ "deprecated": "Defines the position of the drawer",
6575
+ "parsedType": {
6576
+ "text": "'left' | 'right'"
6577
+ },
6578
+ "description": ""
6627
6579
  },
6628
6580
  {
6629
6581
  "kind": "field",
6630
- "name": "strategy",
6582
+ "name": "position",
6631
6583
  "type": {
6632
- "text": "'fixed' | 'absolute' | undefined"
6584
+ "text": "TDrawerPosition"
6633
6585
  },
6634
- "default": "'fixed'",
6635
- "description": "Defines the strategy to position the panel"
6586
+ "default": "'end'",
6587
+ "description": "Defines the position of the drawer",
6588
+ "parsedType": {
6589
+ "text": "'start' | 'end'"
6590
+ }
6636
6591
  },
6637
6592
  {
6638
6593
  "kind": "method",
6639
- "name": "onOpenChange"
6594
+ "name": "handleOpenChange"
6640
6595
  },
6641
6596
  {
6642
6597
  "kind": "method",
6643
- "name": "handleDisabledChange"
6598
+ "name": "handlePlacementChange",
6599
+ "description": "!TO BE REMOVED: Delete this `@Watch()` once the deprecated `placement` property is removed\nWe need to maintain retro-compatibility with the deprecated `placement` property"
6644
6600
  },
6645
6601
  {
6646
6602
  "kind": "method",
6647
- "name": "onItemSelect"
6603
+ "name": "handlePositionChange"
6648
6604
  },
6649
6605
  {
6650
6606
  "kind": "method",
6651
- "name": "onClickOutside",
6607
+ "name": "handleMouseClick",
6652
6608
  "parameters": [
6653
6609
  {
6654
6610
  "name": "event",
@@ -6656,12 +6612,11 @@
6656
6612
  "text": "MouseEvent"
6657
6613
  }
6658
6614
  }
6659
- ],
6660
- "description": "Listens for the 'click' event on the document object\nand closes the dropdown panel if the click is outside the component."
6615
+ ]
6661
6616
  },
6662
6617
  {
6663
6618
  "kind": "method",
6664
- "name": "onEscape",
6619
+ "name": "handleKeyDown",
6665
6620
  "parameters": [
6666
6621
  {
6667
6622
  "name": "event",
@@ -6673,13 +6628,56 @@
6673
6628
  },
6674
6629
  {
6675
6630
  "kind": "method",
6676
- "name": "handleScrollEvent"
6631
+ "name": "hide",
6632
+ "return": {
6633
+ "type": {
6634
+ "text": "Promise<void>"
6635
+ }
6636
+ },
6637
+ "description": "Method to be called to hide the drawer component"
6638
+ },
6639
+ {
6640
+ "kind": "method",
6641
+ "name": "show",
6642
+ "return": {
6643
+ "type": {
6644
+ "text": "Promise<void>"
6645
+ }
6646
+ },
6647
+ "description": "Method to be called to show the drawer component"
6677
6648
  },
6678
6649
  {
6679
6650
  "kind": "field",
6680
- "name": "togglePanel",
6651
+ "name": "handleFooterSlotChange",
6652
+ "privacy": "private"
6653
+ },
6654
+ {
6655
+ "kind": "field",
6656
+ "name": "handleAfterHide",
6657
+ "privacy": "private"
6658
+ },
6659
+ {
6660
+ "kind": "field",
6661
+ "name": "handleAfterShow",
6662
+ "privacy": "private"
6663
+ },
6664
+ {
6665
+ "kind": "field",
6666
+ "name": "handleTransitionEnd",
6681
6667
  "privacy": "private"
6682
6668
  },
6669
+ {
6670
+ "kind": "field",
6671
+ "name": "isPositionStart",
6672
+ "privacy": "private",
6673
+ "readonly": true
6674
+ },
6675
+ {
6676
+ "kind": "field",
6677
+ "name": "isPositionEnd",
6678
+ "privacy": "private",
6679
+ "readonly": true
6680
+ },
6683
6681
  {
6684
6682
  "kind": "method",
6685
6683
  "name": "render"
@@ -6687,115 +6685,97 @@
6687
6685
  ],
6688
6686
  "events": [
6689
6687
  {
6690
- "description": "Callback handler to be called when the dropdown panel is opened or closed.",
6691
- "name": "bqOpen"
6688
+ "description": "Callback handler to be called when the drawer is closed.",
6689
+ "name": "bqClose"
6692
6690
  },
6693
6691
  {
6694
- "name": "bqOpen",
6695
- "type": {
6696
- "text": "EventEmitter<{ open: boolean }>"
6697
- },
6698
- "description": "Callback handler to be called when the dropdown panel is opened or closed."
6699
- }
6700
- ],
6701
- "attributes": [
6692
+ "description": "Callback handler to be called when the drawer is opened.",
6693
+ "name": "bqOpen"
6694
+ },
6702
6695
  {
6703
- "type": {
6704
- "text": "boolean"
6705
- },
6706
- "description": "If true, the dropdown panel will be visible and won't be shown.",
6707
- "name": "disabled"
6696
+ "description": "Callback handler to be called after the drawer has been opened.",
6697
+ "name": "bqAfterOpen"
6708
6698
  },
6709
6699
  {
6710
- "type": {
6711
- "text": "number"
6712
- },
6713
- "description": "Represents the distance (gutter or margin) between the panel and the trigger element.",
6714
- "name": "distance"
6700
+ "description": "Callback handler to be called after the drawer has been closed.",
6701
+ "name": "bqAfterClose"
6715
6702
  },
6716
6703
  {
6704
+ "name": "bqClose",
6717
6705
  "type": {
6718
- "text": "boolean"
6706
+ "text": "EventEmitter"
6719
6707
  },
6720
- "description": "If true, the panel will remain open after a selection is made.",
6721
- "name": "keep-open-on-select"
6708
+ "description": "Callback handler to be called when the drawer is closed"
6722
6709
  },
6723
6710
  {
6711
+ "name": "bqOpen",
6724
6712
  "type": {
6725
- "text": "\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\" | \"right-start\" | \"right-end\""
6713
+ "text": "EventEmitter"
6726
6714
  },
6727
- "description": "Position of the panel.",
6728
- "name": "placement"
6715
+ "description": "Callback handler to be called when the drawer is opened"
6729
6716
  },
6730
6717
  {
6718
+ "name": "bqAfterOpen",
6731
6719
  "type": {
6732
- "text": "boolean"
6720
+ "text": "EventEmitter"
6733
6721
  },
6734
- "description": "If true, the panel will be visible.",
6735
- "name": "open"
6722
+ "description": "Callback handler to be called after the drawer has been opened"
6736
6723
  },
6737
6724
  {
6725
+ "name": "bqAfterClose",
6738
6726
  "type": {
6739
- "text": "string"
6727
+ "text": "EventEmitter"
6740
6728
  },
6741
- "description": "When set, it will override the height of the dropdown panel.",
6742
- "name": "panel-height"
6743
- },
6729
+ "description": "Callback handler to be called after the drawer has been closed"
6730
+ }
6731
+ ],
6732
+ "attributes": [
6744
6733
  {
6745
6734
  "type": {
6746
6735
  "text": "boolean"
6747
6736
  },
6748
- "description": "Whether the panel should have the same width as the trigger element.",
6749
- "name": "same-width"
6737
+ "description": "If true, the backdrop overlay will be shown when the drawer opens.",
6738
+ "name": "enable-backdrop"
6750
6739
  },
6751
6740
  {
6752
6741
  "type": {
6753
- "text": "number"
6742
+ "text": "boolean"
6754
6743
  },
6755
- "description": "Represents the skidding between the panel and the trigger element.",
6756
- "name": "skidding"
6744
+ "description": "If true, the drawer will not close when clicking outside the panel.",
6745
+ "name": "close-on-click-outside"
6757
6746
  },
6758
6747
  {
6759
6748
  "type": {
6760
- "text": "\"fixed\" | \"absolute\""
6749
+ "text": "boolean"
6761
6750
  },
6762
- "description": "Defines the strategy to position the panel.",
6763
- "name": "strategy"
6751
+ "description": "If true, the drawer will not close when the [Esc] key is pressed.",
6752
+ "name": "close-on-esc"
6764
6753
  },
6765
6754
  {
6766
- "name": "disable-scroll-lock",
6767
- "fieldName": "disableScrollLock",
6768
6755
  "type": {
6769
6756
  "text": "boolean"
6770
- }
6757
+ },
6758
+ "description": "If true, the drawer component will be shown.",
6759
+ "name": "open"
6771
6760
  },
6772
6761
  {
6773
- "name": "disabled",
6774
- "fieldName": "disabled",
6775
6762
  "type": {
6776
- "text": "boolean"
6777
- }
6763
+ "text": "\"start\" | \"end\""
6764
+ },
6765
+ "description": "Defines the position of the drawer.",
6766
+ "name": "position"
6778
6767
  },
6779
6768
  {
6780
- "name": "distance",
6781
- "fieldName": "distance",
6782
- "type": {
6783
- "text": "number"
6784
- }
6769
+ "name": "enable-backdrop",
6770
+ "fieldName": "enableBackdrop"
6785
6771
  },
6786
6772
  {
6787
- "name": "keep-open-on-select",
6788
- "fieldName": "keepOpenOnSelect",
6789
- "type": {
6790
- "text": "boolean"
6791
- }
6773
+ "name": "close-on-click-outside",
6774
+ "fieldName": "closeOnClickOutside"
6792
6775
  },
6793
6776
  {
6794
- "name": "placement",
6795
- "fieldName": "placement",
6796
- "type": {
6797
- "text": "Placement"
6798
- }
6777
+ "name": "close-on-esc",
6778
+ "fieldName": "closeOnEsc"
6799
6779
  },
6800
6780
  {
6801
6781
  "name": "open",
@@ -6805,57 +6785,77 @@
6805
6785
  }
6806
6786
  },
6807
6787
  {
6808
- "name": "panel-height",
6809
- "fieldName": "panelHeight",
6810
- "type": {
6811
- "text": "string"
6812
- }
6813
- },
6814
- {
6815
- "name": "same-width",
6816
- "fieldName": "sameWidth",
6817
- "type": {
6818
- "text": "boolean"
6819
- }
6820
- },
6821
- {
6822
- "name": "skidding",
6823
- "fieldName": "skidding",
6788
+ "name": "placement",
6789
+ "fieldName": "placement",
6824
6790
  "type": {
6825
- "text": "number"
6791
+ "text": "TDrawerPlacement"
6792
+ },
6793
+ "parsedType": {
6794
+ "text": "'left' | 'right'"
6826
6795
  }
6827
6796
  },
6828
6797
  {
6829
- "name": "strategy",
6830
- "fieldName": "strategy",
6798
+ "name": "position",
6799
+ "fieldName": "position",
6831
6800
  "type": {
6832
- "text": "'fixed' | 'absolute'"
6801
+ "text": "TDrawerPosition"
6802
+ },
6803
+ "parsedType": {
6804
+ "text": "'start' | 'end'"
6833
6805
  }
6834
6806
  }
6835
6807
  ],
6836
- "tagName": "bq-dropdown",
6808
+ "tagName": "bq-drawer",
6837
6809
  "dependencies": [
6838
6810
  {
6839
- "name": "bq-panel",
6811
+ "name": "bq-button",
6812
+ "description": ""
6813
+ },
6814
+ {
6815
+ "name": "bq-icon",
6816
+ "description": ""
6817
+ },
6818
+ {
6819
+ "name": "bq-divider",
6840
6820
  "description": ""
6841
6821
  }
6842
6822
  ],
6843
6823
  "csspart": [
6844
6824
  {
6845
- "name": "base",
6846
- "description": "The component's internal wrapper."
6825
+ "name": "backdrop",
6826
+ "description": "The `<div>` that holds the backdrop overlay."
6847
6827
  },
6848
6828
  {
6849
- "name": "dropdown",
6850
- "description": "The `<bq-panel>` element used under the hood to display the dropdown panel."
6829
+ "name": "button-close",
6830
+ "description": "The BqButton that closes the drawer."
6831
+ },
6832
+ {
6833
+ "name": "button-close__btn",
6834
+ "description": "The native button used under the hood that closes the drawer."
6835
+ },
6836
+ {
6837
+ "name": "button-close__label",
6838
+ "description": "The text inside the native button that closes the drawer."
6851
6839
  },
6852
6840
  {
6853
6841
  "name": "panel",
6854
- "description": "The `<div>` element used to display and style the panel inside the `<bq-panel>` element."
6842
+ "description": "The `<div>` that holds the drawer entire content."
6855
6843
  },
6856
6844
  {
6857
- "name": "trigger",
6858
- "description": "The `<div>` element that hosts the trigger element."
6845
+ "name": "header",
6846
+ "description": "The `<header>` that holds the icon, title, and close button."
6847
+ },
6848
+ {
6849
+ "name": "title",
6850
+ "description": "The `<div>` that holds the title content."
6851
+ },
6852
+ {
6853
+ "name": "body",
6854
+ "description": "The `<main>` that holds the drawer body content."
6855
+ },
6856
+ {
6857
+ "name": "footer",
6858
+ "description": "The `<footer>` that holds footer content."
6859
6859
  }
6860
6860
  ],
6861
6861
  "customElement": true
@@ -6864,18 +6864,18 @@
6864
6864
  "exports": [
6865
6865
  {
6866
6866
  "kind": "js",
6867
- "name": "BqDropdown",
6867
+ "name": "BqDrawer",
6868
6868
  "declaration": {
6869
- "name": "BqDropdown",
6870
- "module": "components/bq-dropdown.js"
6869
+ "name": "BqDrawer",
6870
+ "module": "components/bq-drawer.js"
6871
6871
  }
6872
6872
  },
6873
6873
  {
6874
6874
  "kind": "custom-element-definition",
6875
- "name": "bq-dropdown",
6875
+ "name": "bq-drawer",
6876
6876
  "declaration": {
6877
- "name": "BqDropdown",
6878
- "module": "components/bq-dropdown.js"
6877
+ "name": "BqDrawer",
6878
+ "module": "components/bq-drawer.js"
6879
6879
  }
6880
6880
  }
6881
6881
  ]
@@ -8900,151 +8900,6 @@
8900
8900
  }
8901
8901
  ]
8902
8902
  },
8903
- {
8904
- "kind": "javascript-module",
8905
- "path": "components/bq-option-group.js",
8906
- "declarations": [
8907
- {
8908
- "kind": "class",
8909
- "description": "The option group component is a container for multiple option elements.\nIt allows to manage the appearance and size of all options at once.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-option-group class=\"hydrated\">\n<span slot=\"header-label\">Sport</span>\n<bq-option value=\"football\">Football</bq-option>\n<bq-option value=\"basketball\">Basketball</bq-option>\n<bq-option value=\"tennis\">Tennis</bq-option>\n</bq-option-group>\n```\n\n</figure>",
8910
- "name": "BqOptionGroup",
8911
- "cssProperties": [
8912
- {
8913
- "description": "option group background color",
8914
- "name": "--bq-option-group--background"
8915
- },
8916
- {
8917
- "description": "option group font size",
8918
- "name": "--bq-option-group--font-size"
8919
- },
8920
- {
8921
- "description": "option group line height",
8922
- "name": "--bq-option-group--line-height"
8923
- },
8924
- {
8925
- "description": "option group header padding start",
8926
- "name": "--bq-option-group--label-padding-start"
8927
- },
8928
- {
8929
- "description": "option group header padding start",
8930
- "name": "--bq-option-group--label-padding-end"
8931
- },
8932
- {
8933
- "description": "option group header padding Y axis",
8934
- "name": "--bq-option-group--label-paddingY"
8935
- },
8936
- {
8937
- "description": "option group text within label padding start",
8938
- "name": "--bq-option-group--label-text-padding-start"
8939
- },
8940
- {
8941
- "description": "option group text within label padding start",
8942
- "name": "--bq-option-group--label-text-padding-end"
8943
- },
8944
- {
8945
- "description": "option group container padding start",
8946
- "name": "--bq-option-group--container-padding-start"
8947
- }
8948
- ],
8949
- "cssParts": [
8950
- {
8951
- "description": "The `legend` tag element which acts as a container for the label",
8952
- "name": "label"
8953
- },
8954
- {
8955
- "description": "The prefix of the label",
8956
- "name": "prefix"
8957
- },
8958
- {
8959
- "description": "The text of the label",
8960
- "name": "label"
8961
- },
8962
- {
8963
- "description": "The suffix of the label",
8964
- "name": "suffix"
8965
- },
8966
- {
8967
- "description": "The `div` element which holds the option items",
8968
- "name": "group"
8969
- }
8970
- ],
8971
- "slots": [
8972
- {
8973
- "description": "The label of the option group",
8974
- "name": "header-label"
8975
- },
8976
- {
8977
- "description": "The prefix of the label",
8978
- "name": "header-prefix"
8979
- },
8980
- {
8981
- "description": "The suffix of the label",
8982
- "name": "header-suffix"
8983
- },
8984
- {
8985
- "description": "The option items",
8986
- "name": ""
8987
- }
8988
- ],
8989
- "members": [
8990
- {
8991
- "kind": "field",
8992
- "name": "el",
8993
- "type": {
8994
- "text": "HTMLElement"
8995
- }
8996
- },
8997
- {
8998
- "kind": "method",
8999
- "name": "render"
9000
- }
9001
- ],
9002
- "tagName": "bq-option-group",
9003
- "csspart": [
9004
- {
9005
- "name": "label",
9006
- "description": "The `legend` tag element which acts as a container for the label"
9007
- },
9008
- {
9009
- "name": "prefix",
9010
- "description": "The prefix of the label"
9011
- },
9012
- {
9013
- "name": "label",
9014
- "description": "The text of the label"
9015
- },
9016
- {
9017
- "name": "suffix",
9018
- "description": "The suffix of the label"
9019
- },
9020
- {
9021
- "name": "group",
9022
- "description": "The `div` element which holds the option items"
9023
- }
9024
- ],
9025
- "events": [],
9026
- "customElement": true
9027
- }
9028
- ],
9029
- "exports": [
9030
- {
9031
- "kind": "js",
9032
- "name": "BqOptionGroup",
9033
- "declaration": {
9034
- "name": "BqOptionGroup",
9035
- "module": "components/bq-option-group.js"
9036
- }
9037
- },
9038
- {
9039
- "kind": "custom-element-definition",
9040
- "name": "bq-option-group",
9041
- "declaration": {
9042
- "name": "BqOptionGroup",
9043
- "module": "components/bq-option-group.js"
9044
- }
9045
- }
9046
- ]
9047
- },
9048
8903
  {
9049
8904
  "kind": "javascript-module",
9050
8905
  "path": "components/bq-option.js",
@@ -9365,123 +9220,11 @@
9365
9220
  },
9366
9221
  {
9367
9222
  "name": "prefix",
9368
- "description": "The `span` element in which the prefix is displayed (generally `bq-icon`)."
9369
- },
9370
- {
9371
- "name": "suffix",
9372
- "description": "The `span` element in which the suffix is displayed (generally `bq-icon`)."
9373
- }
9374
- ],
9375
- "customElement": true
9376
- }
9377
- ],
9378
- "exports": [
9379
- {
9380
- "kind": "js",
9381
- "name": "BqOption",
9382
- "declaration": {
9383
- "name": "BqOption",
9384
- "module": "components/bq-option.js"
9385
- }
9386
- },
9387
- {
9388
- "kind": "custom-element-definition",
9389
- "name": "bq-option",
9390
- "declaration": {
9391
- "name": "BqOption",
9392
- "module": "components/bq-option.js"
9393
- }
9394
- }
9395
- ]
9396
- },
9397
- {
9398
- "kind": "javascript-module",
9399
- "path": "components/bq-option-list.js",
9400
- "declarations": [
9401
- {
9402
- "kind": "class",
9403
- "description": "The option list component is a container for multiple option elements.\nIt allows to manage the appearance and size of all options at once.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-option-list>\n<bq-option value=\"football\">Football</bq-option>\n<bq-option value=\"basketball\">Basketball</bq-option>\n<bq-option value=\"tennis\">Tennis</bq-option>\n</bq-option-list>\n```\n\n</figure>",
9404
- "name": "BqOptionList",
9405
- "cssProperties": [
9406
- {
9407
- "description": "Option group gap between items Y axis",
9408
- "name": "--bq-option-group--gapY-list"
9409
- }
9410
- ],
9411
- "cssParts": [
9412
- {
9413
- "description": "The component's internal wrapper.",
9414
- "name": "base"
9415
- }
9416
- ],
9417
- "slots": [
9418
- {
9419
- "description": "The option items",
9420
- "name": ""
9421
- }
9422
- ],
9423
- "members": [
9424
- {
9425
- "kind": "field",
9426
- "name": "el",
9427
- "type": {
9428
- "text": "HTMLBqOptionListElement"
9429
- }
9430
- },
9431
- {
9432
- "kind": "field",
9433
- "name": "ariaLabel",
9434
- "type": {
9435
- "text": "string"
9436
- },
9437
- "default": "'Options'",
9438
- "description": "Aria label for the list."
9439
- },
9440
- {
9441
- "kind": "method",
9442
- "name": "onBqSelect",
9443
- "parameters": [
9444
- {
9445
- "name": "event",
9446
- "type": {
9447
- "text": "CustomEvent<HTMLElement>"
9448
- }
9449
- }
9450
- ]
9451
- },
9452
- {
9453
- "kind": "method",
9454
- "name": "render"
9455
- }
9456
- ],
9457
- "attributes": [
9458
- {
9459
- "type": {
9460
- "text": "string"
9461
- },
9462
- "description": "Aria label for the list.",
9463
- "name": "aria-label"
9464
- },
9465
- {
9466
- "name": "aria-label",
9467
- "fieldName": "ariaLabel",
9468
- "type": {
9469
- "text": "string"
9470
- }
9471
- }
9472
- ],
9473
- "tagName": "bq-option-list",
9474
- "csspart": {
9475
- "name": "base",
9476
- "description": "The component's internal wrapper."
9477
- },
9478
- "events": [
9223
+ "description": "The `span` element in which the prefix is displayed (generally `bq-icon`)."
9224
+ },
9479
9225
  {
9480
- "name": "bqSelect",
9481
- "type": {
9482
- "text": "EventEmitter<{ value: string; item: HTMLBqOptionElement }>"
9483
- },
9484
- "description": "Handler to be called when `bq-option` is selected (on click/enter press)."
9226
+ "name": "suffix",
9227
+ "description": "The `span` element in which the suffix is displayed (generally `bq-icon`)."
9485
9228
  }
9486
9229
  ],
9487
9230
  "customElement": true
@@ -9490,235 +9233,275 @@
9490
9233
  "exports": [
9491
9234
  {
9492
9235
  "kind": "js",
9493
- "name": "BqOptionList",
9236
+ "name": "BqOption",
9494
9237
  "declaration": {
9495
- "name": "BqOptionList",
9496
- "module": "components/bq-option-list.js"
9238
+ "name": "BqOption",
9239
+ "module": "components/bq-option.js"
9497
9240
  }
9498
9241
  },
9499
9242
  {
9500
9243
  "kind": "custom-element-definition",
9501
- "name": "bq-option-list",
9244
+ "name": "bq-option",
9502
9245
  "declaration": {
9503
- "name": "BqOptionList",
9504
- "module": "components/bq-option-list.js"
9246
+ "name": "BqOption",
9247
+ "module": "components/bq-option.js"
9505
9248
  }
9506
9249
  }
9507
9250
  ]
9508
9251
  },
9509
9252
  {
9510
9253
  "kind": "javascript-module",
9511
- "path": "components/bq-page-title.js",
9254
+ "path": "components/bq-option-group.js",
9512
9255
  "declarations": [
9513
9256
  {
9514
9257
  "kind": "class",
9515
- "description": "The Page Title component is a versatile and essential element used to display the main title of a page or section within an application.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-page-title>\n<bq-button appearance=\"link\" slot=\"back\">\n<bq-icon\ncolor=\"text--primary\"\nname=\"arrow-left\"\nweight=\"bold\"\nrole=\"img\"\ntitle=\"Navigate back to the previous page\"\n></bq-icon>\n</bq-button>\nTitle\n<div slot=\"sub-title\">Sub-title</div>\n</bq-page-title>\n```\n\n</figure>",
9516
- "name": "BqPageTitle",
9258
+ "description": "The option group component is a container for multiple option elements.\nIt allows to manage the appearance and size of all options at once.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-option-group class=\"hydrated\">\n<span slot=\"header-label\">Sport</span>\n<bq-option value=\"football\">Football</bq-option>\n<bq-option value=\"basketball\">Basketball</bq-option>\n<bq-option value=\"tennis\">Tennis</bq-option>\n</bq-option-group>\n```\n\n</figure>",
9259
+ "name": "BqOptionGroup",
9517
9260
  "cssProperties": [
9518
9261
  {
9519
- "description": "Padding top and bottom of the page title wrapper",
9520
- "name": "--paddingY"
9262
+ "description": "option group background color",
9263
+ "name": "--bq-option-group--background"
9521
9264
  },
9522
9265
  {
9523
- "description": "Page title border end color",
9524
- "name": "--subtitle-borderBlockEnd"
9266
+ "description": "option group font size",
9267
+ "name": "--bq-option-group--font-size"
9525
9268
  },
9526
9269
  {
9527
- "description": "Page title font weight for subtitle",
9528
- "name": "--subtitle-fontWeight"
9270
+ "description": "option group line height",
9271
+ "name": "--bq-option-group--line-height"
9529
9272
  },
9530
9273
  {
9531
- "description": "Page title color for sub-title",
9532
- "name": "--subtitle-textColor"
9274
+ "description": "option group header padding start",
9275
+ "name": "--bq-option-group--label-padding-start"
9533
9276
  },
9534
9277
  {
9535
- "description": "Page title text size for subtitle",
9536
- "name": "--subtitle-textSize"
9278
+ "description": "option group header padding start",
9279
+ "name": "--bq-option-group--label-padding-end"
9537
9280
  },
9538
9281
  {
9539
- "description": "Page title font weight for title",
9540
- "name": "--title-fontWeight"
9282
+ "description": "option group header padding Y axis",
9283
+ "name": "--bq-option-group--label-paddingY"
9541
9284
  },
9542
9285
  {
9543
- "description": "Page title text line height",
9544
- "name": "--title-lineHeight"
9286
+ "description": "option group text within label padding start",
9287
+ "name": "--bq-option-group--label-text-padding-start"
9545
9288
  },
9546
9289
  {
9547
- "description": "Page title color for title",
9548
- "name": "--title-textColor"
9290
+ "description": "option group text within label padding start",
9291
+ "name": "--bq-option-group--label-text-padding-end"
9549
9292
  },
9550
9293
  {
9551
- "description": "Page title text size for title",
9552
- "name": "--title-textSize"
9294
+ "description": "option group container padding start",
9295
+ "name": "--bq-option-group--container-padding-start"
9553
9296
  }
9554
9297
  ],
9555
9298
  "cssParts": [
9556
9299
  {
9557
- "description": "The inner container `<div>`of element that contains the base page title component.",
9558
- "name": "base"
9559
- },
9560
- {
9561
- "description": "Defines the main container of the page title component, which includes the title and subtitle elements.",
9562
- "name": "content"
9563
- },
9564
- {
9565
- "description": "Defines the container that holds the title and any suffix content.",
9566
- "name": "title-suffix"
9300
+ "description": "The `legend` tag element which acts as a container for the label",
9301
+ "name": "label"
9567
9302
  },
9568
9303
  {
9569
- "description": "The container `<div>` page title element that acts as back slot container.",
9570
- "name": "back"
9304
+ "description": "The prefix of the label",
9305
+ "name": "prefix"
9571
9306
  },
9572
9307
  {
9573
- "description": "The `<h1>` element serves as a container for the page title content, to improve accessibility.",
9574
- "name": "title"
9308
+ "description": "The text of the label",
9309
+ "name": "label"
9575
9310
  },
9576
9311
  {
9577
- "description": "The `<div>` page title element that acts as suffix slot container.",
9312
+ "description": "The suffix of the label",
9578
9313
  "name": "suffix"
9579
9314
  },
9580
9315
  {
9581
- "description": "The `<div>` page title element that acts as sub-title slot container.",
9582
- "name": "sub-title"
9316
+ "description": "The `div` element which holds the option items",
9317
+ "name": "group"
9583
9318
  }
9584
9319
  ],
9585
9320
  "slots": [
9586
9321
  {
9587
- "description": "The back navigation button.",
9588
- "name": "back"
9322
+ "description": "The label of the option group",
9323
+ "name": "header-label"
9589
9324
  },
9590
9325
  {
9591
- "description": "The main title content.",
9592
- "name": ""
9326
+ "description": "The prefix of the label",
9327
+ "name": "header-prefix"
9593
9328
  },
9594
9329
  {
9595
- "description": "The sub-title content.",
9596
- "name": "sub-title"
9330
+ "description": "The suffix of the label",
9331
+ "name": "header-suffix"
9597
9332
  },
9598
9333
  {
9599
- "description": "The suffix content.",
9600
- "name": "suffix"
9334
+ "description": "The option items",
9335
+ "name": ""
9601
9336
  }
9602
9337
  ],
9603
9338
  "members": [
9604
9339
  {
9605
9340
  "kind": "field",
9606
- "name": "backNavigationElem",
9341
+ "name": "el",
9607
9342
  "type": {
9608
9343
  "text": "HTMLElement"
9609
- },
9610
- "privacy": "private"
9344
+ }
9611
9345
  },
9612
9346
  {
9613
- "kind": "field",
9614
- "name": "suffixElem",
9615
- "type": {
9616
- "text": "HTMLElement"
9617
- },
9618
- "privacy": "private"
9347
+ "kind": "method",
9348
+ "name": "render"
9349
+ }
9350
+ ],
9351
+ "tagName": "bq-option-group",
9352
+ "csspart": [
9353
+ {
9354
+ "name": "label",
9355
+ "description": "The `legend` tag element which acts as a container for the label"
9619
9356
  },
9620
9357
  {
9621
- "kind": "field",
9622
- "name": "subTitleElem",
9623
- "type": {
9624
- "text": "HTMLElement"
9625
- },
9626
- "privacy": "private"
9358
+ "name": "prefix",
9359
+ "description": "The prefix of the label"
9627
9360
  },
9628
9361
  {
9629
- "kind": "field",
9630
- "name": "el",
9631
- "type": {
9632
- "text": "HTMLBqPageTitleElement"
9633
- }
9362
+ "name": "label",
9363
+ "description": "The text of the label"
9634
9364
  },
9635
9365
  {
9636
- "kind": "field",
9637
- "name": "haveBackNavigation",
9638
- "type": {
9639
- "text": "boolean"
9640
- },
9641
- "privacy": "private",
9642
- "default": "false"
9366
+ "name": "suffix",
9367
+ "description": "The suffix of the label"
9643
9368
  },
9369
+ {
9370
+ "name": "group",
9371
+ "description": "The `div` element which holds the option items"
9372
+ }
9373
+ ],
9374
+ "events": [],
9375
+ "customElement": true
9376
+ }
9377
+ ],
9378
+ "exports": [
9379
+ {
9380
+ "kind": "js",
9381
+ "name": "BqOptionGroup",
9382
+ "declaration": {
9383
+ "name": "BqOptionGroup",
9384
+ "module": "components/bq-option-group.js"
9385
+ }
9386
+ },
9387
+ {
9388
+ "kind": "custom-element-definition",
9389
+ "name": "bq-option-group",
9390
+ "declaration": {
9391
+ "name": "BqOptionGroup",
9392
+ "module": "components/bq-option-group.js"
9393
+ }
9394
+ }
9395
+ ]
9396
+ },
9397
+ {
9398
+ "kind": "javascript-module",
9399
+ "path": "components/bq-option-list.js",
9400
+ "declarations": [
9401
+ {
9402
+ "kind": "class",
9403
+ "description": "The option list component is a container for multiple option elements.\nIt allows to manage the appearance and size of all options at once.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-option-list>\n<bq-option value=\"football\">Football</bq-option>\n<bq-option value=\"basketball\">Basketball</bq-option>\n<bq-option value=\"tennis\">Tennis</bq-option>\n</bq-option-list>\n```\n\n</figure>",
9404
+ "name": "BqOptionList",
9405
+ "cssProperties": [
9406
+ {
9407
+ "description": "Option group gap between items Y axis",
9408
+ "name": "--bq-option-group--gapY-list"
9409
+ }
9410
+ ],
9411
+ "cssParts": [
9412
+ {
9413
+ "description": "The component's internal wrapper.",
9414
+ "name": "base"
9415
+ }
9416
+ ],
9417
+ "slots": [
9418
+ {
9419
+ "description": "The option items",
9420
+ "name": ""
9421
+ }
9422
+ ],
9423
+ "members": [
9644
9424
  {
9645
9425
  "kind": "field",
9646
- "name": "hasSuffix",
9426
+ "name": "el",
9647
9427
  "type": {
9648
- "text": "boolean"
9649
- },
9650
- "privacy": "private",
9651
- "default": "false"
9428
+ "text": "HTMLBqOptionListElement"
9429
+ }
9652
9430
  },
9653
9431
  {
9654
9432
  "kind": "field",
9655
- "name": "hasSubTitle",
9433
+ "name": "ariaLabel",
9656
9434
  "type": {
9657
- "text": "boolean"
9435
+ "text": "string"
9658
9436
  },
9659
- "privacy": "private",
9660
- "default": "false"
9437
+ "default": "'Options'",
9438
+ "description": "Aria label for the list."
9661
9439
  },
9662
9440
  {
9663
- "kind": "field",
9664
- "name": "handleSlotChange",
9665
- "privacy": "private"
9441
+ "kind": "method",
9442
+ "name": "onBqSelect",
9443
+ "parameters": [
9444
+ {
9445
+ "name": "event",
9446
+ "type": {
9447
+ "text": "CustomEvent<HTMLElement>"
9448
+ }
9449
+ }
9450
+ ]
9666
9451
  },
9667
9452
  {
9668
9453
  "kind": "method",
9669
9454
  "name": "render"
9670
9455
  }
9671
9456
  ],
9672
- "tagName": "bq-page-title",
9673
- "csspart": [
9674
- {
9675
- "name": "base",
9676
- "description": "The inner container `<div>`of element that contains the base page title component."
9677
- },
9678
- {
9679
- "name": "content",
9680
- "description": "Defines the main container of the page title component, which includes the title and subtitle elements."
9681
- },
9682
- {
9683
- "name": "title-suffix",
9684
- "description": "Defines the container that holds the title and any suffix content."
9685
- },
9686
- {
9687
- "name": "back",
9688
- "description": "The container `<div>` page title element that acts as back slot container."
9689
- },
9457
+ "attributes": [
9690
9458
  {
9691
- "name": "title",
9692
- "description": "The `<h1>` element serves as a container for the page title content, to improve accessibility."
9459
+ "type": {
9460
+ "text": "string"
9461
+ },
9462
+ "description": "Aria label for the list.",
9463
+ "name": "aria-label"
9693
9464
  },
9694
9465
  {
9695
- "name": "suffix",
9696
- "description": "The `<div>` page title element that acts as suffix slot container."
9697
- },
9466
+ "name": "aria-label",
9467
+ "fieldName": "ariaLabel",
9468
+ "type": {
9469
+ "text": "string"
9470
+ }
9471
+ }
9472
+ ],
9473
+ "tagName": "bq-option-list",
9474
+ "csspart": {
9475
+ "name": "base",
9476
+ "description": "The component's internal wrapper."
9477
+ },
9478
+ "events": [
9698
9479
  {
9699
- "name": "sub-title",
9700
- "description": "The `<div>` page title element that acts as sub-title slot container."
9480
+ "name": "bqSelect",
9481
+ "type": {
9482
+ "text": "EventEmitter<{ value: string; item: HTMLBqOptionElement }>"
9483
+ },
9484
+ "description": "Handler to be called when `bq-option` is selected (on click/enter press)."
9701
9485
  }
9702
9486
  ],
9703
- "events": [],
9704
9487
  "customElement": true
9705
9488
  }
9706
9489
  ],
9707
9490
  "exports": [
9708
9491
  {
9709
9492
  "kind": "js",
9710
- "name": "BqPageTitle",
9493
+ "name": "BqOptionList",
9711
9494
  "declaration": {
9712
- "name": "BqPageTitle",
9713
- "module": "components/bq-page-title.js"
9495
+ "name": "BqOptionList",
9496
+ "module": "components/bq-option-list.js"
9714
9497
  }
9715
9498
  },
9716
9499
  {
9717
9500
  "kind": "custom-element-definition",
9718
- "name": "bq-page-title",
9501
+ "name": "bq-option-list",
9719
9502
  "declaration": {
9720
- "name": "BqPageTitle",
9721
- "module": "components/bq-page-title.js"
9503
+ "name": "BqOptionList",
9504
+ "module": "components/bq-option-list.js"
9722
9505
  }
9723
9506
  }
9724
9507
  ]
@@ -10032,8 +9815,225 @@
10032
9815
  "kind": "custom-element-definition",
10033
9816
  "name": "bq-panel",
10034
9817
  "declaration": {
10035
- "name": "BqPanel",
10036
- "module": "components/bq-panel.js"
9818
+ "name": "BqPanel",
9819
+ "module": "components/bq-panel.js"
9820
+ }
9821
+ }
9822
+ ]
9823
+ },
9824
+ {
9825
+ "kind": "javascript-module",
9826
+ "path": "components/bq-page-title.js",
9827
+ "declarations": [
9828
+ {
9829
+ "kind": "class",
9830
+ "description": "The Page Title component is a versatile and essential element used to display the main title of a page or section within an application.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-page-title>\n<bq-button appearance=\"link\" slot=\"back\">\n<bq-icon\ncolor=\"text--primary\"\nname=\"arrow-left\"\nweight=\"bold\"\nrole=\"img\"\ntitle=\"Navigate back to the previous page\"\n></bq-icon>\n</bq-button>\nTitle\n<div slot=\"sub-title\">Sub-title</div>\n</bq-page-title>\n```\n\n</figure>",
9831
+ "name": "BqPageTitle",
9832
+ "cssProperties": [
9833
+ {
9834
+ "description": "Padding top and bottom of the page title wrapper",
9835
+ "name": "--paddingY"
9836
+ },
9837
+ {
9838
+ "description": "Page title border end color",
9839
+ "name": "--subtitle-borderBlockEnd"
9840
+ },
9841
+ {
9842
+ "description": "Page title font weight for subtitle",
9843
+ "name": "--subtitle-fontWeight"
9844
+ },
9845
+ {
9846
+ "description": "Page title color for sub-title",
9847
+ "name": "--subtitle-textColor"
9848
+ },
9849
+ {
9850
+ "description": "Page title text size for subtitle",
9851
+ "name": "--subtitle-textSize"
9852
+ },
9853
+ {
9854
+ "description": "Page title font weight for title",
9855
+ "name": "--title-fontWeight"
9856
+ },
9857
+ {
9858
+ "description": "Page title text line height",
9859
+ "name": "--title-lineHeight"
9860
+ },
9861
+ {
9862
+ "description": "Page title color for title",
9863
+ "name": "--title-textColor"
9864
+ },
9865
+ {
9866
+ "description": "Page title text size for title",
9867
+ "name": "--title-textSize"
9868
+ }
9869
+ ],
9870
+ "cssParts": [
9871
+ {
9872
+ "description": "The inner container `<div>`of element that contains the base page title component.",
9873
+ "name": "base"
9874
+ },
9875
+ {
9876
+ "description": "Defines the main container of the page title component, which includes the title and subtitle elements.",
9877
+ "name": "content"
9878
+ },
9879
+ {
9880
+ "description": "Defines the container that holds the title and any suffix content.",
9881
+ "name": "title-suffix"
9882
+ },
9883
+ {
9884
+ "description": "The container `<div>` page title element that acts as back slot container.",
9885
+ "name": "back"
9886
+ },
9887
+ {
9888
+ "description": "The `<h1>` element serves as a container for the page title content, to improve accessibility.",
9889
+ "name": "title"
9890
+ },
9891
+ {
9892
+ "description": "The `<div>` page title element that acts as suffix slot container.",
9893
+ "name": "suffix"
9894
+ },
9895
+ {
9896
+ "description": "The `<div>` page title element that acts as sub-title slot container.",
9897
+ "name": "sub-title"
9898
+ }
9899
+ ],
9900
+ "slots": [
9901
+ {
9902
+ "description": "The back navigation button.",
9903
+ "name": "back"
9904
+ },
9905
+ {
9906
+ "description": "The main title content.",
9907
+ "name": ""
9908
+ },
9909
+ {
9910
+ "description": "The sub-title content.",
9911
+ "name": "sub-title"
9912
+ },
9913
+ {
9914
+ "description": "The suffix content.",
9915
+ "name": "suffix"
9916
+ }
9917
+ ],
9918
+ "members": [
9919
+ {
9920
+ "kind": "field",
9921
+ "name": "backNavigationElem",
9922
+ "type": {
9923
+ "text": "HTMLElement"
9924
+ },
9925
+ "privacy": "private"
9926
+ },
9927
+ {
9928
+ "kind": "field",
9929
+ "name": "suffixElem",
9930
+ "type": {
9931
+ "text": "HTMLElement"
9932
+ },
9933
+ "privacy": "private"
9934
+ },
9935
+ {
9936
+ "kind": "field",
9937
+ "name": "subTitleElem",
9938
+ "type": {
9939
+ "text": "HTMLElement"
9940
+ },
9941
+ "privacy": "private"
9942
+ },
9943
+ {
9944
+ "kind": "field",
9945
+ "name": "el",
9946
+ "type": {
9947
+ "text": "HTMLBqPageTitleElement"
9948
+ }
9949
+ },
9950
+ {
9951
+ "kind": "field",
9952
+ "name": "haveBackNavigation",
9953
+ "type": {
9954
+ "text": "boolean"
9955
+ },
9956
+ "privacy": "private",
9957
+ "default": "false"
9958
+ },
9959
+ {
9960
+ "kind": "field",
9961
+ "name": "hasSuffix",
9962
+ "type": {
9963
+ "text": "boolean"
9964
+ },
9965
+ "privacy": "private",
9966
+ "default": "false"
9967
+ },
9968
+ {
9969
+ "kind": "field",
9970
+ "name": "hasSubTitle",
9971
+ "type": {
9972
+ "text": "boolean"
9973
+ },
9974
+ "privacy": "private",
9975
+ "default": "false"
9976
+ },
9977
+ {
9978
+ "kind": "field",
9979
+ "name": "handleSlotChange",
9980
+ "privacy": "private"
9981
+ },
9982
+ {
9983
+ "kind": "method",
9984
+ "name": "render"
9985
+ }
9986
+ ],
9987
+ "tagName": "bq-page-title",
9988
+ "csspart": [
9989
+ {
9990
+ "name": "base",
9991
+ "description": "The inner container `<div>`of element that contains the base page title component."
9992
+ },
9993
+ {
9994
+ "name": "content",
9995
+ "description": "Defines the main container of the page title component, which includes the title and subtitle elements."
9996
+ },
9997
+ {
9998
+ "name": "title-suffix",
9999
+ "description": "Defines the container that holds the title and any suffix content."
10000
+ },
10001
+ {
10002
+ "name": "back",
10003
+ "description": "The container `<div>` page title element that acts as back slot container."
10004
+ },
10005
+ {
10006
+ "name": "title",
10007
+ "description": "The `<h1>` element serves as a container for the page title content, to improve accessibility."
10008
+ },
10009
+ {
10010
+ "name": "suffix",
10011
+ "description": "The `<div>` page title element that acts as suffix slot container."
10012
+ },
10013
+ {
10014
+ "name": "sub-title",
10015
+ "description": "The `<div>` page title element that acts as sub-title slot container."
10016
+ }
10017
+ ],
10018
+ "events": [],
10019
+ "customElement": true
10020
+ }
10021
+ ],
10022
+ "exports": [
10023
+ {
10024
+ "kind": "js",
10025
+ "name": "BqPageTitle",
10026
+ "declaration": {
10027
+ "name": "BqPageTitle",
10028
+ "module": "components/bq-page-title.js"
10029
+ }
10030
+ },
10031
+ {
10032
+ "kind": "custom-element-definition",
10033
+ "name": "bq-page-title",
10034
+ "declaration": {
10035
+ "name": "BqPageTitle",
10036
+ "module": "components/bq-page-title.js"
10037
10037
  }
10038
10038
  }
10039
10039
  ]
@@ -13959,132 +13959,6 @@
13959
13959
  }
13960
13960
  ]
13961
13961
  },
13962
- {
13963
- "kind": "javascript-module",
13964
- "path": "components/bq-status.js",
13965
- "declarations": [
13966
- {
13967
- "kind": "class",
13968
- "description": "The Status Component is a UI element that represents the current state or condition of an item, task, or process.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-status type=\"alert\">Alert status</bq-status>\n```\n\n</figure>",
13969
- "name": "BqStatus",
13970
- "cssProperties": [
13971
- {
13972
- "description": "Status circle size.",
13973
- "name": "--bq-status-circ"
13974
- }
13975
- ],
13976
- "cssParts": [
13977
- {
13978
- "description": "The component's internal wrapper of the status component.",
13979
- "name": "base"
13980
- },
13981
- {
13982
- "description": "The colored circle that marks the status type.",
13983
- "name": "circle"
13984
- },
13985
- {
13986
- "description": "The `<div>` container that holds the text label of the status component.",
13987
- "name": "text"
13988
- }
13989
- ],
13990
- "slots": [
13991
- {
13992
- "description": "content of the status component.",
13993
- "name": "The"
13994
- }
13995
- ],
13996
- "members": [
13997
- {
13998
- "kind": "field",
13999
- "name": "el",
14000
- "type": {
14001
- "text": "HTMLBqStatusElement"
14002
- }
14003
- },
14004
- {
14005
- "kind": "field",
14006
- "name": "type",
14007
- "type": {
14008
- "text": "TStatusType"
14009
- },
14010
- "default": "'neutral'",
14011
- "description": "It defines the type of status to display",
14012
- "parsedType": {
14013
- "text": "'info' | 'success' | 'danger' | 'neutral' | 'alert'"
14014
- }
14015
- },
14016
- {
14017
- "kind": "method",
14018
- "name": "checkPropValues"
14019
- },
14020
- {
14021
- "kind": "method",
14022
- "name": "render"
14023
- }
14024
- ],
14025
- "attributes": [
14026
- {
14027
- "type": {
14028
- "text": "\"alert\" | \"danger\" | \"info\" | \"neutral\" | \"success\""
14029
- },
14030
- "description": "It defines the type of status to display.",
14031
- "name": "type"
14032
- },
14033
- {
14034
- "name": "type",
14035
- "fieldName": "type",
14036
- "type": {
14037
- "text": "TStatusType"
14038
- },
14039
- "parsedType": {
14040
- "text": "'info' | 'success' | 'danger' | 'neutral' | 'alert'"
14041
- }
14042
- }
14043
- ],
14044
- "tagName": "bq-status",
14045
- "dependencies": [
14046
- {
14047
- "name": "bq-badge",
14048
- "description": ""
14049
- }
14050
- ],
14051
- "csspart": [
14052
- {
14053
- "name": "base",
14054
- "description": "The component's internal wrapper of the status component."
14055
- },
14056
- {
14057
- "name": "circle",
14058
- "description": "The colored circle that marks the status type."
14059
- },
14060
- {
14061
- "name": "text",
14062
- "description": "The `<div>` container that holds the text label of the status component."
14063
- }
14064
- ],
14065
- "events": [],
14066
- "customElement": true
14067
- }
14068
- ],
14069
- "exports": [
14070
- {
14071
- "kind": "js",
14072
- "name": "BqStatus",
14073
- "declaration": {
14074
- "name": "BqStatus",
14075
- "module": "components/bq-status.js"
14076
- }
14077
- },
14078
- {
14079
- "kind": "custom-element-definition",
14080
- "name": "bq-status",
14081
- "declaration": {
14082
- "name": "BqStatus",
14083
- "module": "components/bq-status.js"
14084
- }
14085
- }
14086
- ]
14087
- },
14088
13962
  {
14089
13963
  "kind": "javascript-module",
14090
13964
  "path": "components/bq-step-item.js",
@@ -14325,6 +14199,132 @@
14325
14199
  }
14326
14200
  ]
14327
14201
  },
14202
+ {
14203
+ "kind": "javascript-module",
14204
+ "path": "components/bq-status.js",
14205
+ "declarations": [
14206
+ {
14207
+ "kind": "class",
14208
+ "description": "The Status Component is a UI element that represents the current state or condition of an item, task, or process.\n\n## Examples\n\n<figure class=\"example\"><figcaption>How to use it</figcaption>\n\n```html\n<bq-status type=\"alert\">Alert status</bq-status>\n```\n\n</figure>",
14209
+ "name": "BqStatus",
14210
+ "cssProperties": [
14211
+ {
14212
+ "description": "Status circle size.",
14213
+ "name": "--bq-status-circ"
14214
+ }
14215
+ ],
14216
+ "cssParts": [
14217
+ {
14218
+ "description": "The component's internal wrapper of the status component.",
14219
+ "name": "base"
14220
+ },
14221
+ {
14222
+ "description": "The colored circle that marks the status type.",
14223
+ "name": "circle"
14224
+ },
14225
+ {
14226
+ "description": "The `<div>` container that holds the text label of the status component.",
14227
+ "name": "text"
14228
+ }
14229
+ ],
14230
+ "slots": [
14231
+ {
14232
+ "description": "content of the status component.",
14233
+ "name": "The"
14234
+ }
14235
+ ],
14236
+ "members": [
14237
+ {
14238
+ "kind": "field",
14239
+ "name": "el",
14240
+ "type": {
14241
+ "text": "HTMLBqStatusElement"
14242
+ }
14243
+ },
14244
+ {
14245
+ "kind": "field",
14246
+ "name": "type",
14247
+ "type": {
14248
+ "text": "TStatusType"
14249
+ },
14250
+ "default": "'neutral'",
14251
+ "description": "It defines the type of status to display",
14252
+ "parsedType": {
14253
+ "text": "'info' | 'success' | 'danger' | 'neutral' | 'alert'"
14254
+ }
14255
+ },
14256
+ {
14257
+ "kind": "method",
14258
+ "name": "checkPropValues"
14259
+ },
14260
+ {
14261
+ "kind": "method",
14262
+ "name": "render"
14263
+ }
14264
+ ],
14265
+ "attributes": [
14266
+ {
14267
+ "type": {
14268
+ "text": "\"alert\" | \"danger\" | \"info\" | \"neutral\" | \"success\""
14269
+ },
14270
+ "description": "It defines the type of status to display.",
14271
+ "name": "type"
14272
+ },
14273
+ {
14274
+ "name": "type",
14275
+ "fieldName": "type",
14276
+ "type": {
14277
+ "text": "TStatusType"
14278
+ },
14279
+ "parsedType": {
14280
+ "text": "'info' | 'success' | 'danger' | 'neutral' | 'alert'"
14281
+ }
14282
+ }
14283
+ ],
14284
+ "tagName": "bq-status",
14285
+ "dependencies": [
14286
+ {
14287
+ "name": "bq-badge",
14288
+ "description": ""
14289
+ }
14290
+ ],
14291
+ "csspart": [
14292
+ {
14293
+ "name": "base",
14294
+ "description": "The component's internal wrapper of the status component."
14295
+ },
14296
+ {
14297
+ "name": "circle",
14298
+ "description": "The colored circle that marks the status type."
14299
+ },
14300
+ {
14301
+ "name": "text",
14302
+ "description": "The `<div>` container that holds the text label of the status component."
14303
+ }
14304
+ ],
14305
+ "events": [],
14306
+ "customElement": true
14307
+ }
14308
+ ],
14309
+ "exports": [
14310
+ {
14311
+ "kind": "js",
14312
+ "name": "BqStatus",
14313
+ "declaration": {
14314
+ "name": "BqStatus",
14315
+ "module": "components/bq-status.js"
14316
+ }
14317
+ },
14318
+ {
14319
+ "kind": "custom-element-definition",
14320
+ "name": "bq-status",
14321
+ "declaration": {
14322
+ "name": "BqStatus",
14323
+ "module": "components/bq-status.js"
14324
+ }
14325
+ }
14326
+ ]
14327
+ },
14328
14328
  {
14329
14329
  "kind": "javascript-module",
14330
14330
  "path": "components/bq-steps.js",