@aurodesignsystem/auro-formkit 1.6.0-beta.6 → 1.6.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/0008b92c8752bf75-meta.json +1 -0
- package/.turbo/cache/{2ca214d032893e74.tar.zst → 0008b92c8752bf75.tar.zst} +0 -0
- package/.turbo/cache/00cb38bef1105dac-meta.json +1 -0
- package/.turbo/cache/0157ec8abdaf2a9c-meta.json +1 -0
- package/.turbo/cache/0636e9cedc83238b-meta.json +1 -0
- package/.turbo/cache/06f476671015e973-meta.json +1 -0
- package/.turbo/cache/06f476671015e973.tar.zst +0 -0
- package/.turbo/cache/09df74d672102662-meta.json +1 -0
- package/.turbo/cache/0cd109fb3183c2e6-meta.json +1 -0
- package/.turbo/cache/0cd109fb3183c2e6.tar.zst +0 -0
- package/.turbo/cache/17c429ade621ffcb-meta.json +1 -0
- package/.turbo/cache/1c47128a0e12fcfa-meta.json +1 -0
- package/.turbo/cache/1db02f756ce85784-meta.json +1 -0
- package/.turbo/cache/21705fa179d5f820-meta.json +1 -0
- package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
- package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +1 -0
- package/.turbo/cache/2666b96bfcf4e9cd-meta.json +1 -0
- package/.turbo/cache/2778d5e895240cd1-meta.json +1 -0
- package/.turbo/cache/300b59df2de12b46-meta.json +1 -0
- package/.turbo/cache/31729e74fccaafb0-meta.json +1 -0
- package/.turbo/cache/32702694d62a08ac-meta.json +1 -0
- package/.turbo/cache/32702694d62a08ac.tar.zst +0 -0
- package/.turbo/cache/3482a3cba9a51c2d-meta.json +1 -0
- package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
- package/.turbo/cache/3a9d73752f23a40a-meta.json +1 -0
- package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
- package/.turbo/cache/3afe2e6f714a4fcb-meta.json +1 -0
- package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
- package/.turbo/cache/408ea1754276298c-meta.json +1 -0
- package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
- package/.turbo/cache/42066c793c3816f3-meta.json +1 -0
- package/.turbo/cache/4bec46ffff6fd2e8-meta.json +1 -0
- package/.turbo/cache/50b275350abe14dd-meta.json +1 -0
- package/.turbo/cache/51078a087b52c65e-meta.json +1 -0
- package/.turbo/cache/593ddf689673e305-meta.json +1 -0
- package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
- package/.turbo/cache/64e4f18395bd4461-meta.json +1 -0
- package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
- package/.turbo/cache/7419ef01dc18b433-meta.json +1 -0
- package/.turbo/cache/7419ef01dc18b433.tar.zst +0 -0
- package/.turbo/cache/748faca09d14fea7-meta.json +1 -0
- package/.turbo/cache/75495b0bbd6c06a7-meta.json +1 -0
- package/.turbo/cache/7a6a8af4392c4b05-meta.json +1 -0
- package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
- package/.turbo/cache/7e81141e0140dd3a-meta.json +1 -0
- package/.turbo/cache/7e81141e0140dd3a.tar.zst +0 -0
- package/.turbo/cache/7eb50d96639e6dd4-meta.json +1 -0
- package/.turbo/cache/83bb78fec13808d0-meta.json +1 -0
- package/.turbo/cache/8605f60efb7d3957-meta.json +1 -0
- package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
- package/.turbo/cache/892a90b62716ded5-meta.json +1 -0
- package/.turbo/cache/8cac06ca809bd2b1-meta.json +1 -0
- package/.turbo/cache/9a908bf8f82c84a6-meta.json +1 -0
- package/.turbo/cache/9ed3089ffd7d0c00-meta.json +1 -0
- package/.turbo/cache/a3a879aea25debf8-meta.json +1 -0
- package/.turbo/cache/a8dbafaf6177f677-meta.json +1 -0
- package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
- package/.turbo/cache/a8f6418b830ef0ba-meta.json +1 -0
- package/.turbo/cache/afd81e4f9d4bb74d-meta.json +1 -0
- package/.turbo/cache/afd81e4f9d4bb74d.tar.zst +0 -0
- package/.turbo/cache/b37b0eb5597e160f-meta.json +1 -0
- package/.turbo/cache/b7e7a8c425673f7c-meta.json +1 -0
- package/.turbo/cache/bc8eed3d7216f5b7-meta.json +1 -0
- package/.turbo/cache/bde11c3029373459-meta.json +1 -0
- package/.turbo/cache/c8e5fe6aec4479f5-meta.json +1 -0
- package/.turbo/cache/{754a6b5c5ce1ed00.tar.zst → c8e5fe6aec4479f5.tar.zst} +0 -0
- package/.turbo/cache/d0e874a9a71c9468-meta.json +1 -0
- package/.turbo/cache/d61b4e1bde4c0a12-meta.json +1 -0
- package/.turbo/cache/db6dedc0e7a12575-meta.json +1 -0
- package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
- package/.turbo/cache/de9737607345ec54-meta.json +1 -0
- package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
- package/.turbo/cache/e234aa902b2c5b30-meta.json +1 -0
- package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
- package/.turbo/cache/e541225f46f7cf86-meta.json +1 -0
- package/.turbo/cache/e67ac30b07d9e800-meta.json +1 -0
- package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
- package/.turbo/cache/e7244fdd3397eba7-meta.json +1 -0
- package/.turbo/cache/e7cf2cc625bd92b3-meta.json +1 -0
- package/.turbo/cache/e89a401ebdda3fc2-meta.json +1 -0
- package/CHANGELOG.md +27 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/combobox/.turbo/turbo-build.log +6 -3
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +2 -0
- package/components/combobox/demo/api.md +73 -0
- package/components/combobox/demo/api.min.js +962 -835
- package/components/combobox/demo/index.min.js +920 -832
- package/components/combobox/dist/auro-combobox.d.ts +20 -0
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +58 -22
- package/components/combobox/src/auro-combobox.js +58 -22
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/datepicker/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/menu/.turbo/turbo-build.log +6 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/demo/api.html +2 -0
- package/components/menu/demo/api.js +2 -0
- package/components/menu/demo/api.md +164 -22
- package/components/menu/demo/api.min.js +912 -853
- package/components/menu/demo/index.min.js +905 -853
- package/components/menu/dist/auro-menu.d.ts +28 -2
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/auro-menuoption.d.ts +1 -1
- package/components/menu/dist/index.js +905 -853
- package/components/menu/src/auro-menu.js +57 -7
- package/components/menu/src/auro-menuoption.js +1 -1
- package/components/menu/src/styles/style-menu-css.js +1 -1
- package/components/menu/src/styles/style-menu.css +21 -3
- package/components/menu/src/styles/style-menu.scss +25 -3
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/select/.turbo/turbo-build.log +6 -3
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +66 -0
- package/components/select/demo/api.min.js +927 -811
- package/components/select/demo/index.min.js +895 -811
- package/components/select/dist/auro-select.d.ts +19 -0
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/index.js +32 -0
- package/components/select/src/auro-select.js +32 -0
- package/package.json +3 -3
- package/packages/build-tools/src/docProcessor.mjs +4 -4
- package/packages/build-tools/src/kitDocProcessor.mjs +4 -4
- package/packages/typescript/package.json +1 -1
- package/.turbo/cache/05be1236a4cd5e72-meta.json +0 -1
- package/.turbo/cache/05be1236a4cd5e72.tar.zst +0 -0
- package/.turbo/cache/10feda0f037804bb-meta.json +0 -1
- package/.turbo/cache/11079d2746265545-meta.json +0 -1
- package/.turbo/cache/11079d2746265545.tar.zst +0 -0
- package/.turbo/cache/144e8e78657bf800-meta.json +0 -1
- package/.turbo/cache/18939b2c7c83b163-meta.json +0 -1
- package/.turbo/cache/1de685df0eaa39c8-meta.json +0 -1
- package/.turbo/cache/1ec139dcf090d547-meta.json +0 -1
- package/.turbo/cache/1f53ce3a28c56cdf-meta.json +0 -1
- package/.turbo/cache/23bf100310bd9f5a-meta.json +0 -1
- package/.turbo/cache/2900e7ec28e1488f-meta.json +0 -1
- package/.turbo/cache/296074aadfa2f8c9-meta.json +0 -1
- package/.turbo/cache/296074aadfa2f8c9.tar.zst +0 -0
- package/.turbo/cache/29e29355bf6fb4fd-meta.json +0 -1
- package/.turbo/cache/2ca214d032893e74-meta.json +0 -1
- package/.turbo/cache/2f6c898fbb51e995-meta.json +0 -1
- package/.turbo/cache/2f6c898fbb51e995.tar.zst +0 -0
- package/.turbo/cache/3073b96f6e4d867c-meta.json +0 -1
- package/.turbo/cache/33466ea2930c3714-meta.json +0 -1
- package/.turbo/cache/3792d285b464b3e6-meta.json +0 -1
- package/.turbo/cache/3792d285b464b3e6.tar.zst +0 -0
- package/.turbo/cache/3ac4a22a21bdc2be-meta.json +0 -1
- package/.turbo/cache/3ac4a22a21bdc2be.tar.zst +0 -0
- package/.turbo/cache/3f41d958c755a6f0-meta.json +0 -1
- package/.turbo/cache/3f41d958c755a6f0.tar.zst +0 -0
- package/.turbo/cache/451e562c76f74ec6-meta.json +0 -1
- package/.turbo/cache/4520919609c97850-meta.json +0 -1
- package/.turbo/cache/452908d0b0b676bc-meta.json +0 -1
- package/.turbo/cache/48c197e39ed31fd2-meta.json +0 -1
- package/.turbo/cache/48c197e39ed31fd2.tar.zst +0 -0
- package/.turbo/cache/5058ecc7f1e34496-meta.json +0 -1
- package/.turbo/cache/5a66a99aa1344401-meta.json +0 -1
- package/.turbo/cache/5b66ce21630716cc-meta.json +0 -1
- package/.turbo/cache/5d064e768a262314-meta.json +0 -1
- package/.turbo/cache/5d064e768a262314.tar.zst +0 -0
- package/.turbo/cache/6646f884a18a970a-meta.json +0 -1
- package/.turbo/cache/6646f884a18a970a.tar.zst +0 -0
- package/.turbo/cache/70d7b72f15ee97a4-meta.json +0 -1
- package/.turbo/cache/71212615220331ea-meta.json +0 -1
- package/.turbo/cache/71212615220331ea.tar.zst +0 -0
- package/.turbo/cache/754a6b5c5ce1ed00-meta.json +0 -1
- package/.turbo/cache/77bf3068f493ef24-meta.json +0 -1
- package/.turbo/cache/77bf3068f493ef24.tar.zst +0 -0
- package/.turbo/cache/7ddb7ace73fe6ec2-meta.json +0 -1
- package/.turbo/cache/7ddb7ace73fe6ec2.tar.zst +0 -0
- package/.turbo/cache/897b0d8a0c301207-meta.json +0 -1
- package/.turbo/cache/8b7cdb9a0d4c3112-meta.json +0 -1
- package/.turbo/cache/8e1f402b247ebed6-meta.json +0 -1
- package/.turbo/cache/8e1f402b247ebed6.tar.zst +0 -0
- package/.turbo/cache/90b8d9ccef5e09aa-meta.json +0 -1
- package/.turbo/cache/9135f474c69d1b3c-meta.json +0 -1
- package/.turbo/cache/9135f474c69d1b3c.tar.zst +0 -0
- package/.turbo/cache/936bccb44ade3650-meta.json +0 -1
- package/.turbo/cache/94bcc4c6536ada9d-meta.json +0 -1
- package/.turbo/cache/9a7ab914e08ce75f-meta.json +0 -1
- package/.turbo/cache/9a7ab914e08ce75f.tar.zst +0 -0
- package/.turbo/cache/a532f4b8302ca13e-meta.json +0 -1
- package/.turbo/cache/a7bf477bbdabc7bc-meta.json +0 -1
- package/.turbo/cache/a90aa34f427a2f62-meta.json +0 -1
- package/.turbo/cache/aa68cd3545395c90-meta.json +0 -1
- package/.turbo/cache/aa68cd3545395c90.tar.zst +0 -0
- package/.turbo/cache/aedda428051043c4-meta.json +0 -1
- package/.turbo/cache/b61416daf63fbaad-meta.json +0 -1
- package/.turbo/cache/b9463532618cdc61-meta.json +0 -1
- package/.turbo/cache/bb3afea40c91e8ba-meta.json +0 -1
- package/.turbo/cache/c63dc7b6157da70b-meta.json +0 -1
- package/.turbo/cache/c8b63b6e8a190eb9-meta.json +0 -1
- package/.turbo/cache/d35b1eee9f2881af-meta.json +0 -1
- package/.turbo/cache/d5188c0fbe45d578-meta.json +0 -1
- package/.turbo/cache/dce6f67be2b63c18-meta.json +0 -1
- package/.turbo/cache/dce6f67be2b63c18.tar.zst +0 -0
- package/.turbo/cache/e28ee527154c4cb2-meta.json +0 -1
- package/.turbo/cache/e28ee527154c4cb2.tar.zst +0 -0
- package/.turbo/cache/e4b3ec56d4ae56ba-meta.json +0 -1
- package/.turbo/cache/e6f030eddf6fbf4e-meta.json +0 -1
- package/.turbo/cache/ff7e6d09efd93145-meta.json +0 -1
- package/.turbo/cache/ff7e6d09efd93145.tar.zst +0 -0
- /package/.turbo/cache/{e6f030eddf6fbf4e.tar.zst → 00cb38bef1105dac.tar.zst} +0 -0
- /package/.turbo/cache/{1f53ce3a28c56cdf.tar.zst → 0157ec8abdaf2a9c.tar.zst} +0 -0
- /package/.turbo/cache/{94bcc4c6536ada9d.tar.zst → 0636e9cedc83238b.tar.zst} +0 -0
- /package/.turbo/cache/{90b8d9ccef5e09aa.tar.zst → 09df74d672102662.tar.zst} +0 -0
- /package/.turbo/cache/{a90aa34f427a2f62.tar.zst → 17c429ade621ffcb.tar.zst} +0 -0
- /package/.turbo/cache/{936bccb44ade3650.tar.zst → 1c47128a0e12fcfa.tar.zst} +0 -0
- /package/.turbo/cache/{18939b2c7c83b163.tar.zst → 1db02f756ce85784.tar.zst} +0 -0
- /package/.turbo/cache/{10feda0f037804bb.tar.zst → 249d9ba3ee6aa1cb.tar.zst} +0 -0
- /package/.turbo/cache/{a7bf477bbdabc7bc.tar.zst → 2666b96bfcf4e9cd.tar.zst} +0 -0
- /package/.turbo/cache/{70d7b72f15ee97a4.tar.zst → 2778d5e895240cd1.tar.zst} +0 -0
- /package/.turbo/cache/{5b66ce21630716cc.tar.zst → 300b59df2de12b46.tar.zst} +0 -0
- /package/.turbo/cache/{5058ecc7f1e34496.tar.zst → 31729e74fccaafb0.tar.zst} +0 -0
- /package/.turbo/cache/{aedda428051043c4.tar.zst → 42066c793c3816f3.tar.zst} +0 -0
- /package/.turbo/cache/{bb3afea40c91e8ba.tar.zst → 4bec46ffff6fd2e8.tar.zst} +0 -0
- /package/.turbo/cache/{452908d0b0b676bc.tar.zst → 50b275350abe14dd.tar.zst} +0 -0
- /package/.turbo/cache/{23bf100310bd9f5a.tar.zst → 51078a087b52c65e.tar.zst} +0 -0
- /package/.turbo/cache/{1ec139dcf090d547.tar.zst → 748faca09d14fea7.tar.zst} +0 -0
- /package/.turbo/cache/{5a66a99aa1344401.tar.zst → 75495b0bbd6c06a7.tar.zst} +0 -0
- /package/.turbo/cache/{a532f4b8302ca13e.tar.zst → 7eb50d96639e6dd4.tar.zst} +0 -0
- /package/.turbo/cache/{1de685df0eaa39c8.tar.zst → 83bb78fec13808d0.tar.zst} +0 -0
- /package/.turbo/cache/{2900e7ec28e1488f.tar.zst → 892a90b62716ded5.tar.zst} +0 -0
- /package/.turbo/cache/{d5188c0fbe45d578.tar.zst → 8cac06ca809bd2b1.tar.zst} +0 -0
- /package/.turbo/cache/{451e562c76f74ec6.tar.zst → 9a908bf8f82c84a6.tar.zst} +0 -0
- /package/.turbo/cache/{144e8e78657bf800.tar.zst → 9ed3089ffd7d0c00.tar.zst} +0 -0
- /package/.turbo/cache/{4520919609c97850.tar.zst → a3a879aea25debf8.tar.zst} +0 -0
- /package/.turbo/cache/{33466ea2930c3714.tar.zst → a8f6418b830ef0ba.tar.zst} +0 -0
- /package/.turbo/cache/{b61416daf63fbaad.tar.zst → b37b0eb5597e160f.tar.zst} +0 -0
- /package/.turbo/cache/{29e29355bf6fb4fd.tar.zst → b7e7a8c425673f7c.tar.zst} +0 -0
- /package/.turbo/cache/{3073b96f6e4d867c.tar.zst → bc8eed3d7216f5b7.tar.zst} +0 -0
- /package/.turbo/cache/{d35b1eee9f2881af.tar.zst → bde11c3029373459.tar.zst} +0 -0
- /package/.turbo/cache/{e4b3ec56d4ae56ba.tar.zst → d0e874a9a71c9468.tar.zst} +0 -0
- /package/.turbo/cache/{8b7cdb9a0d4c3112.tar.zst → d61b4e1bde4c0a12.tar.zst} +0 -0
- /package/.turbo/cache/{b9463532618cdc61.tar.zst → e541225f46f7cf86.tar.zst} +0 -0
- /package/.turbo/cache/{897b0d8a0c301207.tar.zst → e7244fdd3397eba7.tar.zst} +0 -0
- /package/.turbo/cache/{c63dc7b6157da70b.tar.zst → e7cf2cc625bd92b3.tar.zst} +0 -0
- /package/.turbo/cache/{c8b63b6e8a190eb9.tar.zst → e89a401ebdda3fc2.tar.zst} +0 -0
|
@@ -7,14 +7,16 @@ The auro-menu element provides users a way to select from a list of options.
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property
|
|
11
|
-
|
|
12
|
-
| [disabled](#disabled)
|
|
13
|
-
| [
|
|
14
|
-
| [
|
|
15
|
-
| [
|
|
16
|
-
| [
|
|
17
|
-
| [
|
|
10
|
+
| Property | Attribute | Type | Default | Description |
|
|
11
|
+
|-------------------------|------------------|-----------|-------------|--------------------------------------------------|
|
|
12
|
+
| [disabled](#disabled) | `disabled` | `Boolean` | | When true, the entire menu and all options are disabled; |
|
|
13
|
+
| [hasLoadingPlaceholder](#hasLoadingPlaceholder) | | `Boolean` | | Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state. |
|
|
14
|
+
| [loading](#loading) | `loading` | `Boolean` | false | When true, displays a loading state using the loadingIcon and loadingText slots if provided. |
|
|
15
|
+
| [matchWord](#matchWord) | `matchWord` | `String` | "undefined" | Specifies a string used to highlight matched string parts in options. |
|
|
16
|
+
| [noCheckmark](#noCheckmark) | `noCheckmark` | `Boolean` | false | When true, selected option will not show the checkmark. |
|
|
17
|
+
| [optionActive](#optionActive) | `optionActive` | `object` | "undefined" | |
|
|
18
|
+
| [optionSelected](#optionSelected) | `optionSelected` | `Object` | "undefined" | Specifies the current selected menuOption. |
|
|
19
|
+
| [value](#value) | `value` | `String` | "undefined" | Value selected for the menu. |
|
|
18
20
|
|
|
19
21
|
## Methods
|
|
20
22
|
|
|
@@ -26,23 +28,26 @@ The auro-menu element provides users a way to select from a list of options.
|
|
|
26
28
|
|
|
27
29
|
## Events
|
|
28
30
|
|
|
29
|
-
| Event | Type
|
|
30
|
-
|
|
31
|
-
| `auroMenu-activatedOption` | `CustomEvent<Element>`
|
|
32
|
-
| `auroMenu-customEventFired` | `CustomEvent<any>`
|
|
33
|
-
| `auroMenu-
|
|
34
|
-
| `auroMenu-
|
|
35
|
-
| `auroMenu-
|
|
36
|
-
|
|
|
37
|
-
| [
|
|
38
|
-
| [
|
|
39
|
-
| [
|
|
31
|
+
| Event | Type | Description |
|
|
32
|
+
|-------------------------------|--------------------------------------------------|--------------------------------------------------|
|
|
33
|
+
| `auroMenu-activatedOption` | `CustomEvent<Element>` | Notifies that a menuoption has been made `active`. |
|
|
34
|
+
| `auroMenu-customEventFired` | `CustomEvent<any>` | Notifies that a custom event has been fired. |
|
|
35
|
+
| `auroMenu-loadingChange` | `CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>` | Notifies when the loading attribute is changed. |
|
|
36
|
+
| `auroMenu-selectValueFailure` | `CustomEvent<any>` | Notifies that a an attempt to select a menuoption by matching a value has failed. |
|
|
37
|
+
| `auroMenu-selectValueReset` | `CustomEvent<any>` | Notifies that the component value has been reset. |
|
|
38
|
+
| `auroMenu-selectedOption` | `CustomEvent<any>` | Notifies that a new menuoption selection has been made. |
|
|
39
|
+
| [auroMenuActivatedOption](#auroMenuActivatedOption) | `CustomEvent<Element>` | (DEPRECATED) Notifies that a menuoption has been made `active`. |
|
|
40
|
+
| [auroMenuCustomEventFired](#auroMenuCustomEventFired) | `CustomEvent<any>` | (DEPRECATED) Notifies that a custom event has been fired. |
|
|
41
|
+
| [auroMenuSelectValueFailure](#auroMenuSelectValueFailure) | `CustomEvent<any>` | (DEPRECATED) Notifies that a an attempt to select a menuoption by matching a value has failed. |
|
|
42
|
+
| [selectedOption](#selectedOption) | `CustomEvent<any>` | (DEPRECATED) Notifies that a new menuoption selection has been made. |
|
|
40
43
|
|
|
41
44
|
## Slots
|
|
42
45
|
|
|
43
|
-
| Name
|
|
44
|
-
|
|
45
|
-
|
|
|
46
|
+
| Name | Description |
|
|
47
|
+
|---------------|---------------------------------------------|
|
|
48
|
+
| | Slot for insertion of menu options. |
|
|
49
|
+
| [loadingIcon](#loadingIcon) | Icon to show while loading attribute is set |
|
|
50
|
+
| [loadingText](#loadingText) | Text to show while loading attribute is set |
|
|
46
51
|
|
|
47
52
|
# auro-menuoption
|
|
48
53
|
|
|
@@ -307,6 +312,143 @@ export function auroMenuMatchWordExample() {
|
|
|
307
312
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
308
313
|
</auro-accordion>
|
|
309
314
|
|
|
315
|
+
#### Loading<a name="loading"></a>
|
|
316
|
+
While content is loading, the menu can either remain empty or display a loading placeholder
|
|
317
|
+
|
|
318
|
+
<div class="exampleWrapper">
|
|
319
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
|
|
320
|
+
<!-- The below content is automatically added from ./../apiExamples/loading.html -->
|
|
321
|
+
<script>
|
|
322
|
+
</script>
|
|
323
|
+
<auro-button common id="loadingExampleToggleButton">Toggle Loading</auro-button>
|
|
324
|
+
<table id="loadingExampleTable">
|
|
325
|
+
<thead>
|
|
326
|
+
<tr>
|
|
327
|
+
<td width="25%">Spinner + Text</td>
|
|
328
|
+
<td width="25%">Text Only</td>
|
|
329
|
+
<td width="25%">Spinner Only</td>
|
|
330
|
+
<td width="25%">None</td>
|
|
331
|
+
</tr>
|
|
332
|
+
</thead>
|
|
333
|
+
<tr>
|
|
334
|
+
<td>
|
|
335
|
+
<auro-menu>
|
|
336
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
337
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
338
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
339
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
340
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
341
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
342
|
+
</auro-menu>
|
|
343
|
+
</td>
|
|
344
|
+
<td>
|
|
345
|
+
<auro-menu>
|
|
346
|
+
<span slot="loadingText">Loading...</span>
|
|
347
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
348
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
349
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
350
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
351
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
352
|
+
</auro-menu>
|
|
353
|
+
</td>
|
|
354
|
+
<td>
|
|
355
|
+
<auro-menu>
|
|
356
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader>
|
|
357
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
358
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
359
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
360
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
361
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
362
|
+
</auro-menu>
|
|
363
|
+
</td>
|
|
364
|
+
<td>
|
|
365
|
+
<auro-menu>
|
|
366
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
367
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
368
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
369
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
370
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
371
|
+
</auro-menu>
|
|
372
|
+
</td>
|
|
373
|
+
</tr>
|
|
374
|
+
</table>
|
|
375
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
376
|
+
</div>
|
|
377
|
+
<auro-accordion alignRight>
|
|
378
|
+
<span slot="trigger">See code</span>
|
|
379
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.js) -->
|
|
380
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/loading.js -->
|
|
381
|
+
|
|
382
|
+
```js
|
|
383
|
+
export function auroMenuLoadingExample() {
|
|
384
|
+
document.querySelector("#loadingExampleToggleButton").addEventListener("click", () => {
|
|
385
|
+
document.querySelectorAll("#loadingExampleTable auro-menu").forEach(menu => menu.toggleAttribute("loading"));
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
```
|
|
389
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
390
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.html) -->
|
|
391
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/loading.html -->
|
|
392
|
+
|
|
393
|
+
```html
|
|
394
|
+
<script>
|
|
395
|
+
</script>
|
|
396
|
+
<auro-button common id="loadingExampleToggleButton">Toggle Loading</auro-button>
|
|
397
|
+
<table id="loadingExampleTable">
|
|
398
|
+
<thead>
|
|
399
|
+
<tr>
|
|
400
|
+
<td width="25%">Spinner + Text</td>
|
|
401
|
+
<td width="25%">Text Only</td>
|
|
402
|
+
<td width="25%">Spinner Only</td>
|
|
403
|
+
<td width="25%">None</td>
|
|
404
|
+
</tr>
|
|
405
|
+
</thead>
|
|
406
|
+
<tr>
|
|
407
|
+
<td>
|
|
408
|
+
<auro-menu>
|
|
409
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
410
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
411
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
412
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
413
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
414
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
415
|
+
</auro-menu>
|
|
416
|
+
</td>
|
|
417
|
+
<td>
|
|
418
|
+
<auro-menu>
|
|
419
|
+
<span slot="loadingText">Loading...</span>
|
|
420
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
421
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
422
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
423
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
424
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
425
|
+
</auro-menu>
|
|
426
|
+
</td>
|
|
427
|
+
<td>
|
|
428
|
+
<auro-menu>
|
|
429
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader>
|
|
430
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
431
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
432
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
433
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
434
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
435
|
+
</auro-menu>
|
|
436
|
+
</td>
|
|
437
|
+
<td>
|
|
438
|
+
<auro-menu>
|
|
439
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
440
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
441
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
442
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
443
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
444
|
+
</auro-menu>
|
|
445
|
+
</td>
|
|
446
|
+
</tr>
|
|
447
|
+
</table>
|
|
448
|
+
```
|
|
449
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
450
|
+
</auro-accordion>
|
|
451
|
+
|
|
310
452
|
### Common Use Cases
|
|
311
453
|
|
|
312
454
|
#### Scroll
|