@aurodesignsystem-dev/auro-button 0.0.0-pr377.9 → 0.0.0-pr378.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.
package/README.md CHANGED
@@ -21,7 +21,7 @@ The following sections are editable by making changes to the following files:
21
21
 
22
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
23
  <!-- The below content is automatically added from ./docs/partials/description.md -->
24
- The `<auro-button>` element creates interactive buttons for triggering actions in your application.
24
+ `<auro-button>` is a [HTML custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) for the purpose being a clickable element to trigger a specific action.
25
25
  <!-- AURO-GENERATED-CONTENT:END -->
26
26
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
27
27
  <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
@@ -33,7 +33,11 @@ The `<auro-button>` element creates interactive buttons for triggering actions i
33
33
 
34
34
  Beyond that breakpoint `<auro-button>` will assume the width of the content or a min-width of `8.75rem`, which ever is greater.
35
35
 
36
- If the desired appearance of the `<auro-button>` is to be placed in the reverse direction of natural content, then the attributes of `responsive` and `reverse` are needed on the `<auro-button>` element.
36
+ If the desired appearance of the `<auro-button>` is to be placed in the reverse direction of natural content, then the attributes of `responsive` and `reverse` are needed on the `<auro-button>` element.
37
+
38
+ ## Multi button support
39
+
40
+ When the UI requires the use of multiple buttons within the same space, with the use of the [Auro Web Core Style Sheets](https://alaskaairlines.github.io/WebCoreStyleSheets/#utility-auro-css-#{$scope}.auro_containedButtons), and the `auro_containedButtons`.
37
41
  <!-- AURO-GENERATED-CONTENT:END -->
38
42
 
39
43
  ## Use Cases
@@ -112,17 +116,8 @@ However, if you need to load multiple versions of the same component on a single
112
116
  You can do this by importing only the component class and using the `register(name)` method with a unique name:
113
117
 
114
118
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
115
- <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
116
-
117
- ```js
118
- // Import the class only
119
- import { AuroButton } from '@aurodesignsystem/auro-button/class';
120
-
121
- // Register with a custom name if desired
122
- AuroButton.register('custom-button');
123
- ```
124
-
125
- This will create a new custom element `<custom-button>` that behaves exactly like `<auro-button>`, allowing both to coexist on the same page without interfering with each other.
119
+ <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
120
+ <!-- add custom registration content here -->
126
121
  <!-- AURO-GENERATED-CONTENT:END -->
127
122
  <div class="exampleWrapper exampleWrapper--flex">
128
123
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./apiExamples/custom.html) -->