@brightspace-ui/core 2.80.3 → 2.80.4

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.
@@ -130,7 +130,7 @@ The `d2l-collapsible-panel` element is a container that provides specific layout
130
130
  | `heading-style` | Number | The heading style to use |
131
131
  | `heading-level` | Number | Semantic heading level (h1-h4) |
132
132
  | `no-sticky` | Boolean | Disables sticky positioning for the header |
133
- | `padding` | String | Optionally set horizontal padding of inline panels |
133
+ | `padding-type` | String | Optionally set horizontal padding of inline panels |
134
134
  | `panel-title` | String | The title of the panel |
135
135
  | `type` | String | The type of collapsible panel |
136
136
  <!-- docs: end hidden content -->
@@ -68,7 +68,7 @@ class CollapsiblePanel extends RtlMixin(LitElement) {
68
68
  * @type {'default'|'large'}
69
69
  * @default "default"
70
70
  */
71
- padding: { type: String, reflect: true },
71
+ paddingType: { attribute: 'padding-type', type: String, reflect: true },
72
72
  /**
73
73
  * Disables sticky positioning for the header
74
74
  * @type {boolean}
@@ -93,7 +93,7 @@ class CollapsiblePanel extends RtlMixin(LitElement) {
93
93
  :host([hidden]) {
94
94
  display: none;
95
95
  }
96
- :host([padding="large"][type="inline"]) {
96
+ :host([padding-type="large"][type="inline"]) {
97
97
  --d2l-collapsible-panel-spacing-inline: 2rem;
98
98
  }
99
99
  .d2l-collapsible-panel {
@@ -248,7 +248,7 @@ class CollapsiblePanel extends RtlMixin(LitElement) {
248
248
  this.expanded = false;
249
249
  this.headingLevel = defaultHeading;
250
250
  this.headingStyle = defaultHeading;
251
- this.padding = 'default';
251
+ this.paddingType = 'default';
252
252
  this.type = 'default';
253
253
  this.noSticky = false;
254
254
  this._focused = false;
@@ -77,10 +77,10 @@
77
77
 
78
78
  <h2>Inline with large padding</h2>
79
79
  <d2l-demo-snippet>
80
- <d2l-collapsible-panel panel-title="Availability Dates and Conditions" type="inline" padding="large">
80
+ <d2l-collapsible-panel panel-title="Availability Dates and Conditions" type="inline" padding-type="large">
81
81
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas odio ligula, aliquam efficitur sollicitudin non, dignissim quis nisl. Nullam rutrum, lectus sed finibus consectetur, dolor leo blandit lorem, vitae consectetur arcu enim ornare tortor. Praesent lobortis libero in libero sagittis consectetur. Maecenas ut velit efficitur, consectetur augue vitae, finibus turpis. In id tempor quam.
82
82
  </d2l-collapsible-panel>
83
- <d2l-collapsible-panel panel-title="Availability Dates and Conditions" type="inline" padding="large">
83
+ <d2l-collapsible-panel panel-title="Availability Dates and Conditions" type="inline" padding-type="large">
84
84
  <d2l-collapsible-panel-summary-item slot="summary" text="Availability starts 8/16/2022 and ends 8/12/2022"></d2l-collapsible-panel-summary-item>
85
85
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas odio ligula, aliquam efficitur sollicitudin non, dignissim quis nisl. Nullam rutrum, lectus sed finibus consectetur, dolor leo blandit lorem, vitae consectetur arcu enim ornare tortor. Praesent lobortis libero in libero sagittis consectetur. Maecenas ut velit efficitur, consectetur augue vitae, finibus turpis. In id tempor quam.
86
86
  </d2l-collapsible-panel>
@@ -1100,7 +1100,7 @@
1100
1100
  "default": "\"\\\"3\\\"\""
1101
1101
  },
1102
1102
  {
1103
- "name": "padding",
1103
+ "name": "padding-type",
1104
1104
  "description": "Horizontal padding of the panel",
1105
1105
  "type": "'default'|'large'",
1106
1106
  "default": "\"\\\"default\\\"\""
@@ -1153,8 +1153,8 @@
1153
1153
  "default": "\"\\\"3\\\"\""
1154
1154
  },
1155
1155
  {
1156
- "name": "padding",
1157
- "attribute": "padding",
1156
+ "name": "paddingType",
1157
+ "attribute": "padding-type",
1158
1158
  "description": "Horizontal padding of the panel",
1159
1159
  "type": "'default'|'large'",
1160
1160
  "default": "\"\\\"default\\\"\""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.80.3",
3
+ "version": "2.80.4",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",