@aurodesignsystem-dev/auro-background 0.0.0-pr60.2 → 0.0.0-pr67.0

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
@@ -25,20 +25,27 @@ The `auro-background` element is an easy-to-use mobile-first alternative to writ
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 -->
28
- <!-- AURO-GENERATED-CONTENT This file is to be used for any additional content that should be included in the README.md which is specific to this component. -->
28
+ The `auro-background` component accepts 4 properties - `bg`, `height`, `width`, and `inset` that serve as the default at all breakpoints. `height`, `width`, and `inset` are not required and sizing will scale to the content when omitted. Additionally, there is a separate property for each supported breakpoint (`bgSm`, `bgMd`, `bgLg`, `heightSm`, `heightMd`, `heightLg`, `widthSm`, `widthMd`, `widthLg`). If you don't set a specific size property, the smaller property will be used.
29
+
30
+ These properties map to the compound CSS `background` property and CSS properties of `height`, `width`, and `padding`. Anything you can do within the scope of those CSS rules you can do here.
31
+
32
+ See <auro-hyperlink target="_blank" href="https://webcode.tools/generators/css/background-image">CSS Background Image Generator</auro-hyperlink> for a helpful code generation tool.
29
33
  <!-- AURO-GENERATED-CONTENT:END -->
30
34
 
31
- ## UI development browser support
35
+ ## Use Cases
32
36
 
33
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/browserSupport.md) -->
34
- For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
37
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
38
+ <!-- The below content is automatically added from ./docs/partials/useCases.md -->
39
+ The `<auro-background>` element should be used in situations where users may:
35
40
 
41
+ * Need to apply a background image or color to a specific section of content
42
+ * Require responsive background images that change at different breakpoints
36
43
  <!-- AURO-GENERATED-CONTENT:END -->
37
44
 
38
45
  ## Install
39
46
 
40
47
  <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentInstall.md) -->
41
- [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-background/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-background/actions/workflows/testPublish.yml)
48
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-background/release.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-background/actions/workflows/release.yml)
42
49
  [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-background?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-background)
43
50
  [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-background?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
44
51
  ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
@@ -49,17 +56,10 @@ $ npm i @aurodesignsystem/auro-background
49
56
 
50
57
  <!-- AURO-GENERATED-CONTENT:END -->
51
58
 
52
- ### Design Token CSS Custom Property dependency
53
-
54
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/designTokens.md) -->
55
- The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
56
-
57
- <!-- AURO-GENERATED-CONTENT:END -->
58
-
59
- ### Define dependency in project component
59
+ ### Define Dependency in Project
60
60
 
61
61
  <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImportDescription.md) -->
62
- Defining the component dependency within each component that is using the `<auro-background>` component.
62
+ Defining the dependency within each project that is using the `<auro-background>` component.
63
63
 
64
64
  <!-- AURO-GENERATED-CONTENT:END -->
65
65
  <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
@@ -68,22 +68,9 @@ Defining the component dependency within each component that is using the `<auro
68
68
  import "@aurodesignsystem/auro-background";
69
69
  ```
70
70
 
71
- <!-- AURO-GENERATED-CONTENT:END -->
72
- **Reference component in HTML**
73
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
74
- <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
75
-
76
- ```html
77
- <auro-background bg="url(https://images.contentstack.io/v3/assets/blt2cefe12c88e9dd91/blt4dde4105498391f8/6633c2581dbb0973c00b8783/ad2.png) center center/cover no-repeat">
78
- <div style="color: var(--ds-color-text-primary-inverse); display: flex; flex-direction: column; align-items: center; justify-content: center;">
79
- <auro-header level="2" display="600">View all destinations</auro-header>
80
- <auro-hyperlink cta href="#">See where we fly</auro-hyperlink>
81
- </div>
82
- </auro-background>
83
- ```
84
71
  <!-- AURO-GENERATED-CONTENT:END -->
85
72
 
86
- ## Use CDN
73
+ ### Use CDN
87
74
 
88
75
  <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/bundleInstallDescription.md) -->
89
76
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
@@ -94,20 +81,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
94
81
 
95
82
  <!-- AURO-GENERATED-CONTENT:END -->
96
83
 
97
- ## auro-background use cases
98
-
99
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
100
- <!-- The below content is automatically added from ./docs/partials/useCases.md -->
101
- The `auro-background` component accepts 4 properties - `bg`, `height`, `width`, and `inset` that serve as the default at all breakpoints. `height`, `width`, and `inset` are not required and sizing will scale to the content when omitted. Additionally, there is a separate property for each supported breakpoint (`bgsm`, `bgmd`, `bglg`, `heightsm`, `heightmd`, `heightlg`, `widthsm`, `widthmd`, `widthlg`). If you don't set specific size property the smaller property will be used.
102
-
103
- These properties map to the compound CSS `background` property and CSS properties of `height`, `width`, and `padding`. Anything you can do within the scope of those CSS rules you can do here.
104
-
105
- See <auro-hyperlink target="_blank" href="https://webcode.tools/generators/css/background-image">CSS Background Image Generator</auro-hyperlink> for a helpful code generation tool.
106
- <!-- AURO-GENERATED-CONTENT:END -->
107
-
108
- ## API Code Examples
109
-
110
- ### Default auro-background
84
+ ## Basic Example
111
85
 
112
86
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
113
87
  <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
@@ -115,38 +89,60 @@ See <auro-hyperlink target="_blank" href="https://webcode.tools/generators/css/b
115
89
  ```html
116
90
  <auro-background bg="url(https://images.contentstack.io/v3/assets/blt2cefe12c88e9dd91/blt4dde4105498391f8/6633c2581dbb0973c00b8783/ad2.png) center center/cover no-repeat">
117
91
  <div style="color: var(--ds-color-text-primary-inverse); display: flex; flex-direction: column; align-items: center; justify-content: center;">
118
- <auro-header level="2" display="600">View all destinations</auro-header>
119
- <auro-hyperlink cta href="#">See where we fly</auro-hyperlink>
92
+ <auro-header level="2" visualLevel="3">View all destinations</auro-header>
93
+ <auro-hyperlink type="cta" variant="secondary" href="#" size="xs" style="padding-bottom: 4px;">See where we fly</auro-hyperlink>
120
94
  </div>
121
95
  </auro-background>
122
96
  ```
123
97
  <!-- AURO-GENERATED-CONTENT:END -->
124
98
 
125
- ## Development
99
+ ## Custom Component Registration for Version Management
126
100
 
127
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/developmentDescription.md) -->
128
- In order to develop against this project, if you are not part of the core team, you will be required to fork the project prior to submitting a pull request.
101
+ There are two key parts to every Auro component: the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element definition.
102
+ The class defines the component’s behavior, while the custom element registers it under a specific name so it can be used in HTML.
129
103
 
130
- Please be sure to review the [contribution guidelines](https://auro.alaskaair.com/contributing) for this project. Please make sure to **pay special attention** to the **conventional commits** section of the document.
104
+ When you install the component as described on the `Install` page, the class is imported automatically, and the component is registered globally for you.
131
105
 
132
- <!-- AURO-GENERATED-CONTENT:END -->
133
-
134
- ### Start development environment
106
+ However, if you need to load multiple versions of the same component on a single page (for example, when two projects depend on different versions), you can manually register the class under a custom element name to avoid conflicts.
135
107
 
136
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/localhost.md) -->
137
- Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open a shell session to run the **dev server**.
108
+ You can do this by importing only the component class and using the `register(name)` method with a unique name:
138
109
 
139
- ```shell
140
- $ npm run dev
110
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
111
+ <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
112
+
113
+ ```js
114
+ // Import the class only
115
+ import { AuroBackground } from '@aurodesignsystem/auro-background/class';
116
+
117
+ // Register with a custom name if desired
118
+ AuroBackground.register('custom-background');
141
119
  ```
142
120
 
143
- Open [localhost:8000](http://localhost:8000/)
144
-
121
+ This will create a new custom element `<custom-background>` that behaves exactly like `<auro-background>`, allowing both to coexist on the same page without interfering with each other.
145
122
  <!-- AURO-GENERATED-CONTENT:END -->
123
+ <div class="exampleWrapper exampleWrapper--flex">
124
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./apiExamples/custom.html) -->
125
+ <!-- The below content is automatically added from ./apiExamples/custom.html -->
126
+ <custom-background bg="url(https://images.contentstack.io/v3/assets/blt2cefe12c88e9dd91/blt4dde4105498391f8/6633c2581dbb0973c00b8783/ad2.png) center center/cover no-repeat">
127
+ <div style="color: var(--ds-color-text-primary-inverse); display: flex; flex-direction: column; align-items: center; justify-content: center;">
128
+ <auro-header level="2" visualLevel="3">View all destinations</auro-header>
129
+ <auro-hyperlink type="cta" variant="secondary" href="#" size="xs">See where we fly</auro-hyperlink>
130
+ </div>
131
+ </custom-background>
132
+ <!-- AURO-GENERATED-CONTENT:END -->
133
+ </div>
134
+ <auro-accordion alignRight>
135
+ <span slot="trigger">See code</span>
136
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/custom.html) -->
137
+ <!-- The below code snippet is automatically added from ./apiExamples/custom.html -->
146
138
 
147
- ### Testing
148
-
149
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/testing.md) -->
150
- Automated tests are required for every Auro component. See `.\test\auro-background.test.js` for the tests for this component. Run `npm run test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
151
-
152
- <!-- AURO-GENERATED-CONTENT:END -->
139
+ ```html
140
+ <custom-background bg="url(https://images.contentstack.io/v3/assets/blt2cefe12c88e9dd91/blt4dde4105498391f8/6633c2581dbb0973c00b8783/ad2.png) center center/cover no-repeat">
141
+ <div style="color: var(--ds-color-text-primary-inverse); display: flex; flex-direction: column; align-items: center; justify-content: center;">
142
+ <auro-header level="2" visualLevel="3">View all destinations</auro-header>
143
+ <auro-hyperlink type="cta" variant="secondary" href="#" size="xs">See where we fly</auro-hyperlink>
144
+ </div>
145
+ </custom-background>
146
+ ```
147
+ <!-- AURO-GENERATED-CONTENT:END -->
148
+ </auro-accordion>
@@ -0,0 +1,398 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/auro-background.js",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "The `auro-background` element provides users a way to add a background image or color block including a gradient.",
12
+ "name": "AuroBackground",
13
+ "slots": [
14
+ {
15
+ "description": "Default slot for content within the background container.",
16
+ "name": ""
17
+ }
18
+ ],
19
+ "members": [
20
+ {
21
+ "kind": "field",
22
+ "name": "bg",
23
+ "privacy": "public",
24
+ "type": {
25
+ "text": "string"
26
+ },
27
+ "description": "Sets the background image at all breakpoints",
28
+ "attribute": "bg"
29
+ },
30
+ {
31
+ "kind": "field",
32
+ "name": "bgLg",
33
+ "privacy": "public",
34
+ "type": {
35
+ "text": "string"
36
+ },
37
+ "description": "Sets the background image at `ds-grid-breakpoint-lg` and above",
38
+ "attribute": "bgLg"
39
+ },
40
+ {
41
+ "kind": "field",
42
+ "name": "bgMd",
43
+ "privacy": "public",
44
+ "type": {
45
+ "text": "string"
46
+ },
47
+ "description": "Sets the background image at `ds-grid-breakpoint-md` and above",
48
+ "attribute": "bgMd"
49
+ },
50
+ {
51
+ "kind": "field",
52
+ "name": "bgSm",
53
+ "privacy": "public",
54
+ "type": {
55
+ "text": "string"
56
+ },
57
+ "description": "Sets the background image at `ds-grid-breakpoint-sm` and above",
58
+ "attribute": "bgSm"
59
+ },
60
+ {
61
+ "kind": "method",
62
+ "name": "getInsetValues",
63
+ "parameters": [
64
+ {
65
+ "name": "inset",
66
+ "description": "Value from host attribute.",
67
+ "type": {
68
+ "text": "string"
69
+ }
70
+ }
71
+ ],
72
+ "privacy": "private",
73
+ "return": {
74
+ "type": {
75
+ "text": "string"
76
+ }
77
+ }
78
+ },
79
+ {
80
+ "kind": "field",
81
+ "name": "height",
82
+ "privacy": "public",
83
+ "type": {
84
+ "text": "string"
85
+ },
86
+ "description": "Applies custom height at all breakpoints",
87
+ "attribute": "height"
88
+ },
89
+ {
90
+ "kind": "field",
91
+ "name": "heightLg",
92
+ "privacy": "public",
93
+ "type": {
94
+ "text": "string"
95
+ },
96
+ "description": "Applies custom height at `ds-grid-breakpoint-lg` and above",
97
+ "attribute": "heightLg"
98
+ },
99
+ {
100
+ "kind": "field",
101
+ "name": "heightMd",
102
+ "privacy": "public",
103
+ "type": {
104
+ "text": "string"
105
+ },
106
+ "description": "Applies custom height at `ds-grid-breakpoint-md` and above",
107
+ "attribute": "heightMd"
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "heightSm",
112
+ "privacy": "public",
113
+ "type": {
114
+ "text": "string"
115
+ },
116
+ "description": "Applies custom height at `ds-grid-breakpoint-sm` and above",
117
+ "attribute": "heightSm"
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "inset",
122
+ "privacy": "public",
123
+ "type": {
124
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
125
+ },
126
+ "description": "Applies internal padding at all breakpoints",
127
+ "attribute": "inset"
128
+ },
129
+ {
130
+ "kind": "field",
131
+ "name": "insetLg",
132
+ "privacy": "public",
133
+ "type": {
134
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
135
+ },
136
+ "description": "Applies internal padding at `ds-grid-breakpoint-lg` and above",
137
+ "attribute": "insetLg"
138
+ },
139
+ {
140
+ "kind": "field",
141
+ "name": "insetMd",
142
+ "privacy": "public",
143
+ "type": {
144
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
145
+ },
146
+ "description": "Applies internal padding at `ds-grid-breakpoint-md` and above",
147
+ "attribute": "insetMd"
148
+ },
149
+ {
150
+ "kind": "field",
151
+ "name": "insetSm",
152
+ "privacy": "public",
153
+ "type": {
154
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
155
+ },
156
+ "description": "Applies internal padding at `ds-grid-breakpoint-sm` and above",
157
+ "attribute": "insetSm"
158
+ },
159
+ {
160
+ "kind": "method",
161
+ "name": "register",
162
+ "static": true,
163
+ "parameters": [
164
+ {
165
+ "name": "name",
166
+ "default": "\"auro-background\"",
167
+ "description": "The name of the element that you want to register.",
168
+ "optional": true,
169
+ "type": {
170
+ "text": "string"
171
+ }
172
+ }
173
+ ],
174
+ "description": "This will register this element with the browser.",
175
+ "type": {
176
+ "text": "register(name?: string = \"auro-background\") => void"
177
+ }
178
+ },
179
+ {
180
+ "kind": "field",
181
+ "name": "runtimeUtils",
182
+ "privacy": "private",
183
+ "default": "new AuroLibraryRuntimeUtils()"
184
+ },
185
+ {
186
+ "kind": "field",
187
+ "name": "width",
188
+ "privacy": "public",
189
+ "type": {
190
+ "text": "string"
191
+ },
192
+ "description": "Applies custom width at all breakpoints",
193
+ "attribute": "width"
194
+ },
195
+ {
196
+ "kind": "field",
197
+ "name": "widthLg",
198
+ "privacy": "public",
199
+ "type": {
200
+ "text": "string"
201
+ },
202
+ "description": "Applies custom width at `ds-grid-breakpoint-lg` and above",
203
+ "attribute": "widthLg"
204
+ },
205
+ {
206
+ "kind": "field",
207
+ "name": "widthMd",
208
+ "privacy": "public",
209
+ "type": {
210
+ "text": "string"
211
+ },
212
+ "description": "Applies custom width at `ds-grid-breakpoint-md` and above",
213
+ "attribute": "widthMd"
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "widthSm",
218
+ "privacy": "public",
219
+ "type": {
220
+ "text": "string"
221
+ },
222
+ "description": "Applies custom width at `ds-grid-breakpoint-sm` and above",
223
+ "attribute": "widthSm"
224
+ }
225
+ ],
226
+ "attributes": [
227
+ {
228
+ "name": "bg",
229
+ "type": {
230
+ "text": "string"
231
+ },
232
+ "description": "Sets the background image at all breakpoints",
233
+ "fieldName": "bg"
234
+ },
235
+ {
236
+ "name": "bgLg",
237
+ "type": {
238
+ "text": "string"
239
+ },
240
+ "description": "Sets the background image at `ds-grid-breakpoint-lg` and above",
241
+ "fieldName": "bgLg"
242
+ },
243
+ {
244
+ "name": "bgMd",
245
+ "type": {
246
+ "text": "string"
247
+ },
248
+ "description": "Sets the background image at `ds-grid-breakpoint-md` and above",
249
+ "fieldName": "bgMd"
250
+ },
251
+ {
252
+ "name": "bgSm",
253
+ "type": {
254
+ "text": "string"
255
+ },
256
+ "description": "Sets the background image at `ds-grid-breakpoint-sm` and above",
257
+ "fieldName": "bgSm"
258
+ },
259
+ {
260
+ "name": "height",
261
+ "type": {
262
+ "text": "string"
263
+ },
264
+ "description": "Applies custom height at all breakpoints",
265
+ "fieldName": "height"
266
+ },
267
+ {
268
+ "name": "heightLg",
269
+ "type": {
270
+ "text": "string"
271
+ },
272
+ "description": "Applies custom height at `ds-grid-breakpoint-lg` and above",
273
+ "fieldName": "heightLg"
274
+ },
275
+ {
276
+ "name": "heightMd",
277
+ "type": {
278
+ "text": "string"
279
+ },
280
+ "description": "Applies custom height at `ds-grid-breakpoint-md` and above",
281
+ "fieldName": "heightMd"
282
+ },
283
+ {
284
+ "name": "heightSm",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "Applies custom height at `ds-grid-breakpoint-sm` and above",
289
+ "fieldName": "heightSm"
290
+ },
291
+ {
292
+ "name": "inset",
293
+ "type": {
294
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
295
+ },
296
+ "description": "Applies internal padding at all breakpoints",
297
+ "fieldName": "inset"
298
+ },
299
+ {
300
+ "name": "insetLg",
301
+ "type": {
302
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
303
+ },
304
+ "description": "Applies internal padding at `ds-grid-breakpoint-lg` and above",
305
+ "fieldName": "insetLg"
306
+ },
307
+ {
308
+ "name": "insetMd",
309
+ "type": {
310
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
311
+ },
312
+ "description": "Applies internal padding at `ds-grid-breakpoint-md` and above",
313
+ "fieldName": "insetMd"
314
+ },
315
+ {
316
+ "name": "insetSm",
317
+ "type": {
318
+ "text": "'none' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | string"
319
+ },
320
+ "description": "Applies internal padding at `ds-grid-breakpoint-sm` and above",
321
+ "fieldName": "insetSm"
322
+ },
323
+ {
324
+ "name": "width",
325
+ "type": {
326
+ "text": "string"
327
+ },
328
+ "description": "Applies custom width at all breakpoints",
329
+ "fieldName": "width"
330
+ },
331
+ {
332
+ "name": "widthLg",
333
+ "type": {
334
+ "text": "string"
335
+ },
336
+ "description": "Applies custom width at `ds-grid-breakpoint-lg` and above",
337
+ "fieldName": "widthLg"
338
+ },
339
+ {
340
+ "name": "widthMd",
341
+ "type": {
342
+ "text": "string"
343
+ },
344
+ "description": "Applies custom width at `ds-grid-breakpoint-md` and above",
345
+ "fieldName": "widthMd"
346
+ },
347
+ {
348
+ "name": "widthSm",
349
+ "type": {
350
+ "text": "string"
351
+ },
352
+ "description": "Applies custom width at `ds-grid-breakpoint-sm` and above",
353
+ "fieldName": "widthSm"
354
+ }
355
+ ],
356
+ "superclass": {
357
+ "name": "LitElement",
358
+ "package": "lit"
359
+ },
360
+ "tagName": "auro-background",
361
+ "customElement": true,
362
+ "modulePath": "src/auro-background.js"
363
+ }
364
+ ],
365
+ "exports": [
366
+ {
367
+ "kind": "js",
368
+ "name": "AuroBackground",
369
+ "declaration": {
370
+ "name": "AuroBackground",
371
+ "module": "src/auro-background.js"
372
+ }
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "kind": "javascript-module",
378
+ "path": "src/index.js",
379
+ "declarations": [],
380
+ "exports": [
381
+ {
382
+ "kind": "js",
383
+ "name": "AuroBackground",
384
+ "declaration": {
385
+ "name": "AuroBackground",
386
+ "module": "src/index.js"
387
+ }
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "kind": "javascript-module",
393
+ "path": "src/registered.js",
394
+ "declarations": [],
395
+ "exports": []
396
+ }
397
+ ]
398
+ }
package/demo/api.html CHANGED
@@ -51,8 +51,8 @@
51
51
  <script type="module" data-demo-script="true" src="./api.min.js"></script>
52
52
 
53
53
  <!-- If additional elements are needed for the demo, add them here. -->
54
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
55
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-header@latest/dist/auro-header__bundled.js" type="module"></script>
56
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-hyperlink@latest/dist/auro-hyperlink__bundled.js" type="module"></script>
54
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
55
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-header@latest/+esm" type="module"></script>
56
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-hyperlink@latest/+esm" type="module"></script>
57
57
  </body>
58
58
  </html>