@aurodesignsystem-dev/auro-accordion 0.0.0-pr214.7 → 0.0.0-pr214.9
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/custom-elements.json +3 -3
- package/demo/api.md +9 -5
- package/demo/auro-accordion.min.js +3 -1
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
"declarations": [
|
|
842
842
|
{
|
|
843
843
|
"kind": "class",
|
|
844
|
-
"description": "",
|
|
844
|
+
"description": "The `auro-accordion-group` element allows users to group accordions together and give them an auto closing functionality when others are selected.",
|
|
845
845
|
"name": "AuroAccordionGroup",
|
|
846
846
|
"members": [
|
|
847
847
|
{
|
|
@@ -902,7 +902,7 @@
|
|
|
902
902
|
{
|
|
903
903
|
"name": "name",
|
|
904
904
|
"default": "\"auro-accordion-group\"",
|
|
905
|
-
"description": "The name of element that you want to register
|
|
905
|
+
"description": "The name of the element that you want to register.",
|
|
906
906
|
"optional": true,
|
|
907
907
|
"type": {
|
|
908
908
|
"text": "string"
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"declarations": [
|
|
991
991
|
{
|
|
992
992
|
"kind": "class",
|
|
993
|
-
"description": "",
|
|
993
|
+
"description": "The `auro-accordion` element provides users a way to have collapsible content on a page.",
|
|
994
994
|
"name": "AuroAccordion",
|
|
995
995
|
"cssParts": [
|
|
996
996
|
{
|
package/demo/api.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/api.md) -->
|
|
2
2
|
<!-- The below content is automatically added from ./../docs/api.md -->
|
|
3
3
|
|
|
4
|
-
# auro-accordion
|
|
4
|
+
# auro-accordion
|
|
5
|
+
|
|
6
|
+
The `auro-accordion` element provides users a way to have collapsible content on a page.
|
|
5
7
|
|
|
6
8
|
### Properties & Attributes
|
|
7
9
|
|
|
@@ -44,7 +46,9 @@
|
|
|
44
46
|
| content | Apply CSS to the accordion content. |
|
|
45
47
|
| trigger | Apply CSS to trigger element. |
|
|
46
48
|
|
|
47
|
-
# auro-accordion-group
|
|
49
|
+
# auro-accordion-group
|
|
50
|
+
|
|
51
|
+
The `auro-accordion-group` element allows users to group accordions together and give them an auto closing functionality when others are selected.
|
|
48
52
|
|
|
49
53
|
### Properties & Attributes
|
|
50
54
|
|
|
@@ -56,9 +60,9 @@
|
|
|
56
60
|
|
|
57
61
|
### Methods
|
|
58
62
|
|
|
59
|
-
| Name | Parameters
|
|
60
|
-
| -------- |
|
|
61
|
-
| register | `name` (string) - The name of element that you want to register
|
|
63
|
+
| Name | Parameters | Return | Description |
|
|
64
|
+
| -------- | -------------------------------------------------------------------- | ------ | ------------------------------------------------- |
|
|
65
|
+
| register | `name` (string) - The name of the element that you want to register. | | This will register this element with the browser. |
|
|
62
66
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
63
67
|
|
|
64
68
|
# auro-accordion
|
|
@@ -331,6 +331,7 @@ class AuroAccordionButton extends T {
|
|
|
331
331
|
|
|
332
332
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
333
333
|
/**
|
|
334
|
+
* The `auro-accordion-group` element allows users to group accordions together and give them an auto closing functionality when others are selected.
|
|
334
335
|
* @customElement auro-accordion-group
|
|
335
336
|
*/
|
|
336
337
|
class AuroAccordionGroup extends i$2 {
|
|
@@ -379,7 +380,7 @@ class AuroAccordionGroup extends i$2 {
|
|
|
379
380
|
|
|
380
381
|
/**
|
|
381
382
|
* This will register this element with the browser.
|
|
382
|
-
* @param {string} [name="auro-accordion-group"] - The name of element that you want to register
|
|
383
|
+
* @param {string} [name="auro-accordion-group"] - The name of the element that you want to register.
|
|
383
384
|
*
|
|
384
385
|
* @example
|
|
385
386
|
* AuroAccordionGroup.register("custom-accordion-button") // this will register this element to <custom-accordion-group/>
|
|
@@ -505,6 +506,7 @@ var tokensCss = i$5`:host{--ds-auro-accordion-content-border-color: transparent;
|
|
|
505
506
|
|
|
506
507
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
507
508
|
/**
|
|
509
|
+
* The `auro-accordion` element provides users a way to have collapsible content on a page.
|
|
508
510
|
* @customElement auro-accordion
|
|
509
511
|
*
|
|
510
512
|
* @slot - Default slot for the accordion content.
|
package/dist/index.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ export type AuroAccordionProps = {
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* The `auro-accordion-group` element allows users to group accordions together and give them an auto closing functionality when others are selected.
|
|
121
121
|
*
|
|
122
122
|
* ## Attributes & Properties
|
|
123
123
|
*
|
|
@@ -138,7 +138,7 @@ export type AuroAccordionProps = {
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* The `auro-accordion` element provides users a way to have collapsible content on a page.
|
|
142
142
|
*
|
|
143
143
|
* ## Attributes & Properties
|
|
144
144
|
*
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-accordion",
|
|
10
|
-
"version": "0.0.0-pr214.
|
|
10
|
+
"version": "0.0.0-pr214.9",
|
|
11
11
|
"description": "auro-accordion HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@alaskaairux/icons": "^5.14.0",
|
|
28
28
|
"@aurodesignsystem/auro-button": "^12.3.0",
|
|
29
|
-
"@aurodesignsystem/auro-cli": "^3.
|
|
29
|
+
"@aurodesignsystem/auro-cli": "^3.5.0",
|
|
30
30
|
"@aurodesignsystem/auro-config": "^1.3.1",
|
|
31
31
|
"@aurodesignsystem/auro-icon": "^9.1.1",
|
|
32
32
|
"@aurodesignsystem/auro-library": "^5.5.4",
|