Skip to content

Commit e6ea613

Browse files
authored
chore: version bumps from release/v1.9.2 (#1660)
* v1.9.2 * remove bundles after 1.9.2 tag
1 parent 8c773ac commit e6ea613

File tree

121 files changed

+948
-960
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+948
-960
lines changed

elements/pfe-accordion/demo/pfe-accordion.story.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const stories = storiesOf(PfeAccordion.meta.title, module);
1111
import readme from "../README.md";
1212
stories.addParameters({
1313
notes: {
14-
markdown: readme
15-
}
14+
markdown: readme,
15+
},
1616
});
1717

1818
// Define the template to be used
@@ -23,7 +23,7 @@ const template = (data = {}) => {
2323
stories.addDecorator(storybookBridge.withKnobs);
2424

2525
// Log events
26-
Object.values(PfeAccordion.events).forEach(event => {
26+
Object.values(PfeAccordion.events).forEach((event) => {
2727
stories.addDecorator(withActions(event));
2828
});
2929

@@ -37,14 +37,14 @@ stories.add(PfeAccordion.tag, () => {
3737

3838
config.prop = tools.autoPropKnobs(PfeAccordion, {
3939
role: {
40-
hidden: true
40+
hidden: true,
4141
},
4242
disclosure: {
43-
hidden: true
43+
hidden: true,
4444
},
4545
history: {
46-
hidden: true
47-
}
46+
hidden: true,
47+
},
4848
});
4949

5050
//-- Add content to light DOM
@@ -54,7 +54,7 @@ stories.add(PfeAccordion.tag, () => {
5454
// Let the user determine number of accordions
5555
let accordionCount = storybookBridge.number("Count", 5, {
5656
min: 1,
57-
max: 10
57+
max: 10,
5858
});
5959

6060
if (accordionCount === 1) {
@@ -80,15 +80,15 @@ stories.add(PfeAccordion.tag, () => {
8080
{
8181
content: tools.customTag({
8282
tag: "h2",
83-
content: tools.autoHeading() // customContent ? headings[i] : tools.autoHeading()
84-
})
85-
}
83+
content: tools.autoHeading(), // customContent ? headings[i] : tools.autoHeading()
84+
}),
85+
},
8686
]) +
8787
tools.component("pfe-accordion-panel", {}, [
8888
{
89-
content: tools.autoContent(2, 3) // customContent ? panels[i] : tools.autoContent(5, 3)
90-
}
91-
])
89+
content: tools.autoContent(2, 3), // customContent ? panels[i] : tools.autoContent(5, 3)
90+
},
91+
]),
9292
});
9393
}
9494

elements/pfe-accordion/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"preview": "accordion.svg"
1212
},
13-
"version": "1.9.1",
13+
"version": "1.9.2",
1414
"publishConfig": {
1515
"access": "public"
1616
},
@@ -60,10 +60,10 @@
6060
],
6161
"license": "MIT",
6262
"devDependencies": {
63-
"@patternfly/pfe-sass": "^1.9.1"
63+
"@patternfly/pfe-sass": "^1.9.2"
6464
},
6565
"dependencies": {
66-
"@patternfly/pfelement": "^1.9.1"
66+
"@patternfly/pfelement": "^1.9.2"
6767
},
6868
"generator-pfelement-version": "0.5.5",
6969
"bugs": {

elements/pfe-accordion/src/pfe-accordion-header.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ class PfeAccordionHeader extends PFElement {
1717
return {
1818
_id: {
1919
type: String,
20-
default: el => `${el.randomId.replace("pfe", el.tag)}`,
21-
prefix: false
20+
default: (el) => `${el.randomId.replace("pfe", el.tag)}`,
21+
prefix: false,
2222
},
2323
ariaControls: {
2424
type: String,
25-
prefix: false
25+
prefix: false,
2626
},
2727
// @TODO Deprecated pfe-id in 1.0
2828
oldPfeId: {
2929
type: String,
3030
alias: "_id",
31-
attr: "pfe-id"
31+
attr: "pfe-id",
3232
},
3333
expanded: {
3434
title: "Expanded",
3535
type: Boolean,
3636
cascade: "#pfe-accordion-header--button",
37-
observer: "_expandedChanged"
38-
}
37+
observer: "_expandedChanged",
38+
},
3939
};
4040
}
4141

4242
static get events() {
4343
return {
44-
change: `pfe-accordion:change`
44+
change: `pfe-accordion:change`,
4545
};
4646
}
4747

@@ -64,7 +64,7 @@ class PfeAccordionHeader extends PFElement {
6464

6565
this.addEventListener("click", this._clickHandler);
6666
this._observer.observe(this, {
67-
childList: true
67+
childList: true,
6868
});
6969
}
7070

@@ -103,7 +103,7 @@ class PfeAccordionHeader extends PFElement {
103103

104104
if (window.ShadyCSS) {
105105
this._observer.observe(this, {
106-
childList: true
106+
childList: true,
107107
});
108108
}
109109
}
@@ -126,14 +126,14 @@ class PfeAccordionHeader extends PFElement {
126126
}
127127
// If there is more than 1 element in the slot, capture the first h-tag
128128
if (slotted.length > 1) this.warn(`Heading currently only supports 1 tag.`);
129-
const htags = slotted.filter(slot => slot.tagName.match(/^H[1-6]/) || slot.tagName === "P");
129+
const htags = slotted.filter((slot) => slot.tagName.match(/^H[1-6]/) || slot.tagName === "P");
130130
if (htags.length > 0) {
131131
// Return the first htag and attach an observer event to watch for it
132-
slotted.forEach(slot =>
132+
slotted.forEach((slot) =>
133133
this._slotObserver.observe(slot, {
134134
characterData: true,
135135
childList: true,
136-
subtree: true
136+
subtree: true,
137137
})
138138
);
139139
return htags[0];
@@ -159,8 +159,8 @@ class PfeAccordionHeader extends PFElement {
159159
_clickHandler(event) {
160160
this.emitEvent(PfeAccordionHeader.events.change, {
161161
detail: {
162-
expanded: !this.expanded
163-
}
162+
expanded: !this.expanded,
163+
},
164164
});
165165
}
166166

elements/pfe-accordion/src/pfe-accordion-panel.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,29 @@ class PfeAccordionPanel extends PFElement {
1717
return {
1818
_id: {
1919
type: String,
20-
default: el => `${el.randomId.replace("pfe", el.tag)}`,
21-
prefix: false
20+
default: (el) => `${el.randomId.replace("pfe", el.tag)}`,
21+
prefix: false,
2222
},
2323
role: {
2424
type: String,
2525
default: "region",
26-
prefix: false
26+
prefix: false,
2727
},
2828
// @TODO Deprecated pfe-id in 1.0
2929
oldPfeId: {
3030
type: String,
3131
alias: "_id",
32-
attr: "pfe-id"
32+
attr: "pfe-id",
3333
},
3434
expanded: {
3535
title: "Expanded",
3636
type: Boolean,
37-
default: false
37+
default: false,
3838
},
3939
ariaLabelledby: {
4040
type: String,
41-
prefix: false
42-
}
41+
prefix: false,
42+
},
4343
};
4444
}
4545

0 commit comments

Comments
 (0)