@aurodesignsystem-dev/auro-carousel 0.0.0-pr144.0 → 0.0.0-pr144.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/custom-elements.json +3 -19
- package/dist/auro-carousel.d.ts +46 -0
- package/dist/custom-element-jsx.d.ts +349 -0
- package/dist/index.d.ts +2 -333
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -47,10 +47,7 @@
|
|
|
47
47
|
"members": [
|
|
48
48
|
{
|
|
49
49
|
"kind": "method",
|
|
50
|
-
"name": "_initializeDefaults"
|
|
51
|
-
"type": {
|
|
52
|
-
"text": "_initializeDefaults() => void"
|
|
53
|
-
}
|
|
50
|
+
"name": "_initializeDefaults"
|
|
54
51
|
},
|
|
55
52
|
{
|
|
56
53
|
"kind": "method",
|
|
@@ -80,9 +77,6 @@
|
|
|
80
77
|
"type": {
|
|
81
78
|
"text": "void"
|
|
82
79
|
}
|
|
83
|
-
},
|
|
84
|
-
"type": {
|
|
85
|
-
"text": "centerElement(el: Element) => void"
|
|
86
80
|
}
|
|
87
81
|
},
|
|
88
82
|
{
|
|
@@ -168,9 +162,6 @@
|
|
|
168
162
|
"type": {
|
|
169
163
|
"text": "void"
|
|
170
164
|
}
|
|
171
|
-
},
|
|
172
|
-
"type": {
|
|
173
|
-
"text": "register(name?: string = \"auro-carousel\") => void"
|
|
174
165
|
}
|
|
175
166
|
},
|
|
176
167
|
{
|
|
@@ -190,9 +181,6 @@
|
|
|
190
181
|
"type": {
|
|
191
182
|
"text": "void"
|
|
192
183
|
}
|
|
193
|
-
},
|
|
194
|
-
"type": {
|
|
195
|
-
"text": "scrollCarousel(num: number) => void"
|
|
196
184
|
}
|
|
197
185
|
},
|
|
198
186
|
{
|
|
@@ -215,9 +203,6 @@
|
|
|
215
203
|
"type": {
|
|
216
204
|
"text": "void"
|
|
217
205
|
}
|
|
218
|
-
},
|
|
219
|
-
"type": {
|
|
220
|
-
"text": "scrollToSelected() => void"
|
|
221
206
|
}
|
|
222
207
|
},
|
|
223
208
|
{
|
|
@@ -325,8 +310,7 @@
|
|
|
325
310
|
},
|
|
326
311
|
"tagName": "auro-carousel",
|
|
327
312
|
"customElement": true,
|
|
328
|
-
"summary": "A horizontally scrollable container with left and right scroll buttons and optional centering of a selected element."
|
|
329
|
-
"modulePath": "src/auro-carousel.js"
|
|
313
|
+
"summary": "A horizontally scrollable container with left and right scroll buttons and optional centering of a selected element."
|
|
330
314
|
}
|
|
331
315
|
],
|
|
332
316
|
"exports": [
|
|
@@ -392,5 +376,5 @@
|
|
|
392
376
|
"exports": []
|
|
393
377
|
}
|
|
394
378
|
],
|
|
395
|
-
"package": "@aurodesignsystem-dev/auro-carousel@0.0.0-pr144.
|
|
379
|
+
"package": "@aurodesignsystem-dev/auro-carousel@0.0.0-pr144.1"
|
|
396
380
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Displays a group of elements, such as flight date options or images, in a horizontally scrollable container with buttons to scroll left and right.
|
|
5
|
+
*
|
|
6
|
+
* **Key capabilities:**
|
|
7
|
+
* - **Scroll buttons**: Shows left and right buttons on screens at least 576 pixels wide when the carousel can scroll that way, or at all times when you add `displayArrows`.
|
|
8
|
+
* - **Centered selection**: Scrolls the first element with the `selected` attribute to the center when you add `centerSelected`.
|
|
9
|
+
* - **Custom scroll distance**: Sets how far each button press scrolls, in pixels, with `scrollDistance`.
|
|
10
|
+
* - **Accessible names**: Names the carousel and its scroll buttons through the `ariaLabel`, `ariaLabel.scroll.left`, and `ariaLabel.scroll.right` slots.
|
|
11
|
+
* @customElement auro-carousel
|
|
12
|
+
*/
|
|
13
|
+
export declare class AuroCarousel extends LitElement {
|
|
14
|
+
_initializeDefaults(): any;
|
|
15
|
+
/**
|
|
16
|
+
* Centers the given element inside the carousel.
|
|
17
|
+
*/
|
|
18
|
+
centerElement(el: Element): void;
|
|
19
|
+
/**
|
|
20
|
+
* Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens.
|
|
21
|
+
*/
|
|
22
|
+
displayArrows: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Registers the element with the browser under a tag name.
|
|
25
|
+
*/
|
|
26
|
+
static register(name?: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* Scrolls the carousel by the given amount.
|
|
29
|
+
*/
|
|
30
|
+
scrollCarousel(num: number): void;
|
|
31
|
+
/**
|
|
32
|
+
* Sets how many pixels the carousel scrolls when someone selects the left or right button.
|
|
33
|
+
*/
|
|
34
|
+
scrollDistance: number;
|
|
35
|
+
/**
|
|
36
|
+
* Scrolls the first element that has the `selected` attribute to the center of the carousel.
|
|
37
|
+
*/
|
|
38
|
+
scrollToSelected(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Deprecated: Use the `ariaLabel` slot instead.
|
|
41
|
+
* Sets the text that screen readers announce as the carousel's name.
|
|
42
|
+
* @deprecated Use the `ariaLabel` slot instead.
|
|
43
|
+
*/
|
|
44
|
+
label: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
|
|
2
|
+
import type { AuroCarousel } from "./auro-carousel.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This type can be used to create scoped tags for your components.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* import type { ScopedElements } from "path/to/library/jsx-integration";
|
|
11
|
+
*
|
|
12
|
+
* declare module "my-library" {
|
|
13
|
+
* namespace JSX {
|
|
14
|
+
* interface IntrinsicElements
|
|
15
|
+
* extends ScopedElements<'test-', ''> {}
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @deprecated Runtime scoped elements result in duplicate types and can confusing for developers. It is recommended to use the `prefix` and `suffix` options to generate new types instead.
|
|
21
|
+
*/
|
|
22
|
+
export type ScopedElements<
|
|
23
|
+
Prefix extends string = "",
|
|
24
|
+
Suffix extends string = ""
|
|
25
|
+
> = {
|
|
26
|
+
[Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
type BaseProps<T extends HTMLElement> = {
|
|
32
|
+
|
|
33
|
+
/** Content added between the opening and closing tags of the element */
|
|
34
|
+
children?: any;
|
|
35
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
36
|
+
class?: string;
|
|
37
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
38
|
+
className?: string;
|
|
39
|
+
/** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
|
|
40
|
+
classList?: Record<string, boolean | undefined>;
|
|
41
|
+
/** Specifies the text direction of the element. */
|
|
42
|
+
dir?: "ltr" | "rtl";
|
|
43
|
+
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
44
|
+
exportparts?: string;
|
|
45
|
+
/** For <label> and <output>, lets you associate the label with some control. */
|
|
46
|
+
htmlFor?: string;
|
|
47
|
+
/** Specifies whether the element should be hidden. */
|
|
48
|
+
hidden?: boolean | string;
|
|
49
|
+
/** A unique identifier for the element. */
|
|
50
|
+
id?: string;
|
|
51
|
+
/** Keys tell React which array item each component corresponds to */
|
|
52
|
+
key?: string | number;
|
|
53
|
+
/** Specifies the language of the element. */
|
|
54
|
+
lang?: string;
|
|
55
|
+
/** Defines the element's semantic role for accessibility APIs. */
|
|
56
|
+
role?: string;
|
|
57
|
+
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
58
|
+
part?: string;
|
|
59
|
+
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
60
|
+
ref?: T | ((e: T) => void);
|
|
61
|
+
/** Adds a reference for a custom element slot */
|
|
62
|
+
slot?: string;
|
|
63
|
+
/** Prop for setting inline styles */
|
|
64
|
+
style?: Record<string, string | number>;
|
|
65
|
+
/** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
|
|
66
|
+
tabIndex?: number;
|
|
67
|
+
/** Specifies the tooltip text for the element. */
|
|
68
|
+
title?: string;
|
|
69
|
+
/** Passing 'no' excludes the element content from being translated. */
|
|
70
|
+
translate?: "yes" | "no";
|
|
71
|
+
/** The popover global attribute is used to designate an element as a popover element. */
|
|
72
|
+
popover?: "auto" | "hint" | "manual";
|
|
73
|
+
/** Turns an element element into a popover control button; takes the ID of the popover element to control as its value. */
|
|
74
|
+
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
75
|
+
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
76
|
+
popovertargetaction?: "show" | "hide" | "toggle";
|
|
77
|
+
|
|
78
|
+
} ;
|
|
79
|
+
|
|
80
|
+
type BaseEvents = {
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export type AuroCarouselProps = {
|
|
89
|
+
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
90
|
+
"centerselected"?: boolean;
|
|
91
|
+
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
92
|
+
"undefined"?: boolean;
|
|
93
|
+
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
94
|
+
"displayarrows"?: boolean;
|
|
95
|
+
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
96
|
+
"displayArrows"?: boolean;
|
|
97
|
+
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
98
|
+
"scrolldistance"?: number;
|
|
99
|
+
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
100
|
+
"scrollDistance"?: number;
|
|
101
|
+
/** @deprecated Use the `ariaLabel` slot instead. - Deprecated: Use the `ariaLabel` slot instead.
|
|
102
|
+
Sets the text that screen readers announce as the carousel's name. */
|
|
103
|
+
"label"?: string;
|
|
104
|
+
|
|
105
|
+
/** Dispatched when someone selects the left scroll button. */
|
|
106
|
+
"onscrollLeft"?: (e: Event) => void;
|
|
107
|
+
/** Dispatched when someone selects the right scroll button. */
|
|
108
|
+
"onscrollRight"?: (e: Event) => void;
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export type AuroCarouselSolidJsProps = {
|
|
113
|
+
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
114
|
+
"bool:centerselected"?: boolean;
|
|
115
|
+
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
116
|
+
"prop:undefined"?: boolean;
|
|
117
|
+
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
118
|
+
"bool:displayarrows"?: boolean;
|
|
119
|
+
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
120
|
+
"prop:displayArrows"?: boolean;
|
|
121
|
+
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
122
|
+
"attr:scrolldistance"?: number;
|
|
123
|
+
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
124
|
+
"prop:scrollDistance"?: number;
|
|
125
|
+
/** @deprecated Use the `ariaLabel` slot instead. - Deprecated: Use the `ariaLabel` slot instead.
|
|
126
|
+
Sets the text that screen readers announce as the carousel's name. */
|
|
127
|
+
"prop:label"?: string;
|
|
128
|
+
/** Dispatched when someone selects the left scroll button. */
|
|
129
|
+
"on:scrollLeft"?: (e: Event) => void;
|
|
130
|
+
/** Dispatched when someone selects the right scroll button. */
|
|
131
|
+
"on:scrollRight"?: (e: Event) => void;
|
|
132
|
+
|
|
133
|
+
/** Set the innerHTML of the element */
|
|
134
|
+
innerHTML?: string;
|
|
135
|
+
/** Set the textContent of the element */
|
|
136
|
+
textContent?: string | number;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type CustomElements = {
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Displays a group of elements, such as flight date options or images, in a horizontally scrollable container with buttons to scroll left and right.
|
|
144
|
+
*
|
|
145
|
+
* **Key capabilities:**
|
|
146
|
+
* - **Scroll buttons**: Shows left and right buttons on screens at least 576 pixels wide when the carousel can scroll that way, or at all times when you add `displayArrows`.
|
|
147
|
+
* - **Centered selection**: Scrolls the first element with the `selected` attribute to the center when you add `centerSelected`.
|
|
148
|
+
* - **Custom scroll distance**: Sets how far each button press scrolls, in pixels, with `scrollDistance`.
|
|
149
|
+
* - **Accessible names**: Names the carousel and its scroll buttons through the `ariaLabel`, `ariaLabel.scroll.left`, and `ariaLabel.scroll.right` slots.
|
|
150
|
+
*
|
|
151
|
+
* ## Attributes & Properties
|
|
152
|
+
*
|
|
153
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
154
|
+
*
|
|
155
|
+
* - `centerselected`/`undefined`: Centers the carousel on the first element that has the `selected` attribute when the carousel first renders.
|
|
156
|
+
* - `displayarrows`/`displayArrows`: Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens.
|
|
157
|
+
* - `scrolldistance`/`scrollDistance`: Sets how many pixels the carousel scrolls when someone selects the left or right button.
|
|
158
|
+
* - `label`: Deprecated: Use the `ariaLabel` slot instead.
|
|
159
|
+
* Sets the text that screen readers announce as the carousel's name.
|
|
160
|
+
*
|
|
161
|
+
* ## Events
|
|
162
|
+
*
|
|
163
|
+
* Events that will be emitted by the component.
|
|
164
|
+
*
|
|
165
|
+
* - `scrollLeft`: Dispatched when someone selects the left scroll button.
|
|
166
|
+
* - `scrollRight`: Dispatched when someone selects the right scroll button.
|
|
167
|
+
*
|
|
168
|
+
* ## Slots
|
|
169
|
+
*
|
|
170
|
+
* Areas where markup can be added to the component.
|
|
171
|
+
*
|
|
172
|
+
* - `(default)`: The elements to scroll through, such as `auro-pane` elements or images.
|
|
173
|
+
* - `ariaLabel`: Text that screen readers announce as the carousel's name, for example "Flight date options". Required unless you set the `label` attribute. Takes priority over `label` when both are set.
|
|
174
|
+
* - `ariaLabel.scroll.left`: Text that screen readers announce for the left scroll button, for example "Show earlier dates". Defaults to "Scroll left".
|
|
175
|
+
* - `ariaLabel.scroll.right`: Text that screen readers announce for the right scroll button, for example "Show later dates". Defaults to "Scroll right".
|
|
176
|
+
*
|
|
177
|
+
* ## Methods
|
|
178
|
+
*
|
|
179
|
+
* Methods that can be called to access component functionality.
|
|
180
|
+
*
|
|
181
|
+
* - `_initializeDefaults() => void`: undefined
|
|
182
|
+
* - `centerElement(el: Element) => void`: Centers the given element inside the carousel.
|
|
183
|
+
* - `register(name?: string = "auro-carousel") => void`: Registers the element with the browser under a tag name.
|
|
184
|
+
* - `scrollCarousel(num: number) => void`: Scrolls the carousel by the given amount.
|
|
185
|
+
* - `scrollToSelected() => void`: Scrolls the first element that has the `selected` attribute to the center of the carousel.
|
|
186
|
+
*
|
|
187
|
+
* ## CSS Custom Properties
|
|
188
|
+
*
|
|
189
|
+
* CSS variables available for styling the component.
|
|
190
|
+
*
|
|
191
|
+
* - `--ds-auro-carousel-gradient-color-one`: Color at the outer edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
192
|
+
* - `--ds-auro-carousel-gradient-color-two`: Color at the inner edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
193
|
+
*
|
|
194
|
+
* ## CSS Parts
|
|
195
|
+
*
|
|
196
|
+
* Custom selectors for styling elements within the component.
|
|
197
|
+
*
|
|
198
|
+
* - `wrapper`: The scrollable `<div>` that wraps the scroll buttons and the slotted elements.
|
|
199
|
+
*/
|
|
200
|
+
"auro-carousel": Partial<AuroCarouselProps & BaseProps<AuroCarousel> & BaseEvents>;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type CustomElementsSolidJs = {
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Displays a group of elements, such as flight date options or images, in a horizontally scrollable container with buttons to scroll left and right.
|
|
208
|
+
*
|
|
209
|
+
* **Key capabilities:**
|
|
210
|
+
* - **Scroll buttons**: Shows left and right buttons on screens at least 576 pixels wide when the carousel can scroll that way, or at all times when you add `displayArrows`.
|
|
211
|
+
* - **Centered selection**: Scrolls the first element with the `selected` attribute to the center when you add `centerSelected`.
|
|
212
|
+
* - **Custom scroll distance**: Sets how far each button press scrolls, in pixels, with `scrollDistance`.
|
|
213
|
+
* - **Accessible names**: Names the carousel and its scroll buttons through the `ariaLabel`, `ariaLabel.scroll.left`, and `ariaLabel.scroll.right` slots.
|
|
214
|
+
*
|
|
215
|
+
* ## Attributes & Properties
|
|
216
|
+
*
|
|
217
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
218
|
+
*
|
|
219
|
+
* - `centerselected`/`undefined`: Centers the carousel on the first element that has the `selected` attribute when the carousel first renders.
|
|
220
|
+
* - `displayarrows`/`displayArrows`: Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens.
|
|
221
|
+
* - `scrolldistance`/`scrollDistance`: Sets how many pixels the carousel scrolls when someone selects the left or right button.
|
|
222
|
+
* - `label`: Deprecated: Use the `ariaLabel` slot instead.
|
|
223
|
+
* Sets the text that screen readers announce as the carousel's name.
|
|
224
|
+
*
|
|
225
|
+
* ## Events
|
|
226
|
+
*
|
|
227
|
+
* Events that will be emitted by the component.
|
|
228
|
+
*
|
|
229
|
+
* - `scrollLeft`: Dispatched when someone selects the left scroll button.
|
|
230
|
+
* - `scrollRight`: Dispatched when someone selects the right scroll button.
|
|
231
|
+
*
|
|
232
|
+
* ## Slots
|
|
233
|
+
*
|
|
234
|
+
* Areas where markup can be added to the component.
|
|
235
|
+
*
|
|
236
|
+
* - `(default)`: The elements to scroll through, such as `auro-pane` elements or images.
|
|
237
|
+
* - `ariaLabel`: Text that screen readers announce as the carousel's name, for example "Flight date options". Required unless you set the `label` attribute. Takes priority over `label` when both are set.
|
|
238
|
+
* - `ariaLabel.scroll.left`: Text that screen readers announce for the left scroll button, for example "Show earlier dates". Defaults to "Scroll left".
|
|
239
|
+
* - `ariaLabel.scroll.right`: Text that screen readers announce for the right scroll button, for example "Show later dates". Defaults to "Scroll right".
|
|
240
|
+
*
|
|
241
|
+
* ## Methods
|
|
242
|
+
*
|
|
243
|
+
* Methods that can be called to access component functionality.
|
|
244
|
+
*
|
|
245
|
+
* - `_initializeDefaults() => void`: undefined
|
|
246
|
+
* - `centerElement(el: Element) => void`: Centers the given element inside the carousel.
|
|
247
|
+
* - `register(name?: string = "auro-carousel") => void`: Registers the element with the browser under a tag name.
|
|
248
|
+
* - `scrollCarousel(num: number) => void`: Scrolls the carousel by the given amount.
|
|
249
|
+
* - `scrollToSelected() => void`: Scrolls the first element that has the `selected` attribute to the center of the carousel.
|
|
250
|
+
*
|
|
251
|
+
* ## CSS Custom Properties
|
|
252
|
+
*
|
|
253
|
+
* CSS variables available for styling the component.
|
|
254
|
+
*
|
|
255
|
+
* - `--ds-auro-carousel-gradient-color-one`: Color at the outer edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
256
|
+
* - `--ds-auro-carousel-gradient-color-two`: Color at the inner edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
257
|
+
*
|
|
258
|
+
* ## CSS Parts
|
|
259
|
+
*
|
|
260
|
+
* Custom selectors for styling elements within the component.
|
|
261
|
+
*
|
|
262
|
+
* - `wrapper`: The scrollable `<div>` that wraps the scroll buttons and the slotted elements.
|
|
263
|
+
*/
|
|
264
|
+
"auro-carousel": Partial<AuroCarouselProps & AuroCarouselSolidJsProps & BaseProps<AuroCarousel> & BaseEvents>;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type CustomCssProperties = {
|
|
268
|
+
/** Color at the outer edge of the fade shown beside each scroll button. */
|
|
269
|
+
"--ds-auro-carousel-gradient-color-one"?: string;
|
|
270
|
+
/** Color at the inner edge of the fade shown beside each scroll button. */
|
|
271
|
+
"--ds-auro-carousel-gradient-color-two"?: string;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
declare module 'react' {
|
|
276
|
+
namespace JSX {
|
|
277
|
+
interface IntrinsicElements extends CustomElements {}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare module 'react/jsx-runtime' {
|
|
283
|
+
namespace JSX {
|
|
284
|
+
interface IntrinsicElements extends CustomElements {}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
declare module 'react/jsx-dev-runtime' {
|
|
290
|
+
namespace JSX {
|
|
291
|
+
interface IntrinsicElements extends CustomElements {}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
declare module 'preact' {
|
|
297
|
+
namespace JSX {
|
|
298
|
+
interface IntrinsicElements extends CustomElements {}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
declare module '@builder.io/qwik' {
|
|
304
|
+
namespace JSX {
|
|
305
|
+
interface IntrinsicElements extends CustomElements {}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
declare module '@stencil/core' {
|
|
311
|
+
namespace JSX {
|
|
312
|
+
interface IntrinsicElements extends CustomElements {}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
declare module 'hono/jsx' {
|
|
318
|
+
namespace JSX {
|
|
319
|
+
interface IntrinsicElements extends CustomElements {}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
declare module 'react-native' {
|
|
325
|
+
namespace JSX {
|
|
326
|
+
interface IntrinsicElements extends CustomElements {}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
declare module "solid-js" {
|
|
332
|
+
namespace JSX {
|
|
333
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
declare global {
|
|
339
|
+
namespace JSX {
|
|
340
|
+
interface IntrinsicElements extends CustomElements {}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
declare global {
|
|
346
|
+
namespace svelteHTML {
|
|
347
|
+
interface IntrinsicElements extends CustomElements {}
|
|
348
|
+
}
|
|
349
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,333 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This type can be used to create scoped tags for your components.
|
|
5
|
-
*
|
|
6
|
-
* Usage:
|
|
7
|
-
*
|
|
8
|
-
* ```ts
|
|
9
|
-
* import type { ScopedElements } from "path/to/library/jsx-integration";
|
|
10
|
-
*
|
|
11
|
-
* declare module "my-library" {
|
|
12
|
-
* namespace JSX {
|
|
13
|
-
* interface IntrinsicElements
|
|
14
|
-
* extends ScopedElements<'test-', ''> {}
|
|
15
|
-
* }
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @deprecated Runtime scoped elements result in duplicate types and can confusing for developers. It is recommended to use the `prefix` and `suffix` options to generate new types instead.
|
|
20
|
-
*/
|
|
21
|
-
export type ScopedElements<
|
|
22
|
-
Prefix extends string = "",
|
|
23
|
-
Suffix extends string = "",
|
|
24
|
-
> = {
|
|
25
|
-
[
|
|
26
|
-
Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`
|
|
27
|
-
]: CustomElements[Key];
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
type BaseProps<T extends HTMLElement> = {
|
|
31
|
-
/** Content added between the opening and closing tags of the element */
|
|
32
|
-
children?: any;
|
|
33
|
-
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
34
|
-
class?: string;
|
|
35
|
-
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
36
|
-
className?: string;
|
|
37
|
-
/** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
|
|
38
|
-
classList?: Record<string, boolean | undefined>;
|
|
39
|
-
/** Specifies the text direction of the element. */
|
|
40
|
-
dir?: "ltr" | "rtl";
|
|
41
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
42
|
-
exportparts?: string;
|
|
43
|
-
/** For <label> and <output>, lets you associate the label with some control. */
|
|
44
|
-
htmlFor?: string;
|
|
45
|
-
/** Specifies whether the element should be hidden. */
|
|
46
|
-
hidden?: boolean | string;
|
|
47
|
-
/** A unique identifier for the element. */
|
|
48
|
-
id?: string;
|
|
49
|
-
/** Keys tell React which array item each component corresponds to */
|
|
50
|
-
key?: string | number;
|
|
51
|
-
/** Specifies the language of the element. */
|
|
52
|
-
lang?: string;
|
|
53
|
-
/** Defines the element's semantic role for accessibility APIs. */
|
|
54
|
-
role?: string;
|
|
55
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
56
|
-
part?: string;
|
|
57
|
-
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
58
|
-
ref?: T | ((e: T) => void);
|
|
59
|
-
/** Adds a reference for a custom element slot */
|
|
60
|
-
slot?: string;
|
|
61
|
-
/** Prop for setting inline styles */
|
|
62
|
-
style?: Record<string, string | number>;
|
|
63
|
-
/** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
|
|
64
|
-
tabIndex?: number;
|
|
65
|
-
/** Specifies the tooltip text for the element. */
|
|
66
|
-
title?: string;
|
|
67
|
-
/** Passing 'no' excludes the element content from being translated. */
|
|
68
|
-
translate?: "yes" | "no";
|
|
69
|
-
/** The popover global attribute is used to designate an element as a popover element. */
|
|
70
|
-
popover?: "auto" | "hint" | "manual";
|
|
71
|
-
/** Turns an element element into a popover control button; takes the ID of the popover element to control as its value. */
|
|
72
|
-
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
73
|
-
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
74
|
-
popovertargetaction?: "show" | "hide" | "toggle";
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
type BaseEvents = {};
|
|
78
|
-
|
|
79
|
-
export type AuroCarouselProps = {
|
|
80
|
-
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
81
|
-
centerselected?: unknown;
|
|
82
|
-
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
83
|
-
undefined?: unknown;
|
|
84
|
-
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
85
|
-
displayarrows?: AuroCarousel["displayArrows"];
|
|
86
|
-
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
87
|
-
displayArrows?: AuroCarousel["displayArrows"];
|
|
88
|
-
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
89
|
-
scrolldistance?: AuroCarousel["scrollDistance"];
|
|
90
|
-
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
91
|
-
scrollDistance?: AuroCarousel["scrollDistance"];
|
|
92
|
-
/** @deprecated Use the `ariaLabel` slot instead. - Deprecated: Use the `ariaLabel` slot instead.
|
|
93
|
-
Sets the text that screen readers announce as the carousel's name. */
|
|
94
|
-
label?: AuroCarousel["label"];
|
|
95
|
-
|
|
96
|
-
/** Dispatched when someone selects the left scroll button. */
|
|
97
|
-
onscrollLeft?: (e: Event) => void;
|
|
98
|
-
/** Dispatched when someone selects the right scroll button. */
|
|
99
|
-
onscrollRight?: (e: Event) => void;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export type AuroCarouselSolidJsProps = {
|
|
103
|
-
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
104
|
-
"bool:centerselected"?: unknown;
|
|
105
|
-
/** Centers the carousel on the first element that has the `selected` attribute when the carousel first renders. */
|
|
106
|
-
"prop:undefined"?: unknown;
|
|
107
|
-
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
108
|
-
"bool:displayarrows"?: AuroCarousel["displayArrows"];
|
|
109
|
-
/** Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens. */
|
|
110
|
-
"prop:displayArrows"?: AuroCarousel["displayArrows"];
|
|
111
|
-
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
112
|
-
"attr:scrolldistance"?: AuroCarousel["scrollDistance"];
|
|
113
|
-
/** Sets how many pixels the carousel scrolls when someone selects the left or right button. */
|
|
114
|
-
"prop:scrollDistance"?: AuroCarousel["scrollDistance"];
|
|
115
|
-
/** @deprecated Use the `ariaLabel` slot instead. - Deprecated: Use the `ariaLabel` slot instead.
|
|
116
|
-
Sets the text that screen readers announce as the carousel's name. */
|
|
117
|
-
"prop:label"?: AuroCarousel["label"];
|
|
118
|
-
/** Dispatched when someone selects the left scroll button. */
|
|
119
|
-
"on:scrollLeft"?: (e: Event) => void;
|
|
120
|
-
/** Dispatched when someone selects the right scroll button. */
|
|
121
|
-
"on:scrollRight"?: (e: Event) => void;
|
|
122
|
-
|
|
123
|
-
/** Set the innerHTML of the element */
|
|
124
|
-
innerHTML?: string;
|
|
125
|
-
/** Set the textContent of the element */
|
|
126
|
-
textContent?: string | number;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
export type CustomElements = {
|
|
130
|
-
/**
|
|
131
|
-
* Displays a group of elements, such as flight date options or images, in a horizontally scrollable container with buttons to scroll left and right.
|
|
132
|
-
*
|
|
133
|
-
* **Key capabilities:**
|
|
134
|
-
* - **Scroll buttons**: Shows left and right buttons on screens at least 576 pixels wide when the carousel can scroll that way, or at all times when you add `displayArrows`.
|
|
135
|
-
* - **Centered selection**: Scrolls the first element with the `selected` attribute to the center when you add `centerSelected`.
|
|
136
|
-
* - **Custom scroll distance**: Sets how far each button press scrolls, in pixels, with `scrollDistance`.
|
|
137
|
-
* - **Accessible names**: Names the carousel and its scroll buttons through the `ariaLabel`, `ariaLabel.scroll.left`, and `ariaLabel.scroll.right` slots.
|
|
138
|
-
*
|
|
139
|
-
* ## Attributes & Properties
|
|
140
|
-
*
|
|
141
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
142
|
-
*
|
|
143
|
-
* - `centerselected`/`undefined`: Centers the carousel on the first element that has the `selected` attribute when the carousel first renders.
|
|
144
|
-
* - `displayarrows`/`displayArrows`: Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens.
|
|
145
|
-
* - `scrolldistance`/`scrollDistance`: Sets how many pixels the carousel scrolls when someone selects the left or right button.
|
|
146
|
-
* - `label`: Deprecated: Use the `ariaLabel` slot instead.
|
|
147
|
-
* Sets the text that screen readers announce as the carousel's name.
|
|
148
|
-
*
|
|
149
|
-
* ## Events
|
|
150
|
-
*
|
|
151
|
-
* Events that will be emitted by the component.
|
|
152
|
-
*
|
|
153
|
-
* - `scrollLeft`: Dispatched when someone selects the left scroll button.
|
|
154
|
-
* - `scrollRight`: Dispatched when someone selects the right scroll button.
|
|
155
|
-
*
|
|
156
|
-
* ## Slots
|
|
157
|
-
*
|
|
158
|
-
* Areas where markup can be added to the component.
|
|
159
|
-
*
|
|
160
|
-
* - `(default)`: The elements to scroll through, such as `auro-pane` elements or images.
|
|
161
|
-
* - `ariaLabel`: Text that screen readers announce as the carousel's name, for example "Flight date options". Required unless you set the `label` attribute. Takes priority over `label` when both are set.
|
|
162
|
-
* - `ariaLabel.scroll.left`: Text that screen readers announce for the left scroll button, for example "Show earlier dates". Defaults to "Scroll left".
|
|
163
|
-
* - `ariaLabel.scroll.right`: Text that screen readers announce for the right scroll button, for example "Show later dates". Defaults to "Scroll right".
|
|
164
|
-
*
|
|
165
|
-
* ## Methods
|
|
166
|
-
*
|
|
167
|
-
* Methods that can be called to access component functionality.
|
|
168
|
-
*
|
|
169
|
-
* - `_initializeDefaults() => void`: undefined
|
|
170
|
-
* - `centerElement(el: Element) => void`: Centers the given element inside the carousel.
|
|
171
|
-
* - `register(name?: string = "auro-carousel") => void`: Registers the element with the browser under a tag name.
|
|
172
|
-
* - `scrollCarousel(num: number) => void`: Scrolls the carousel by the given amount.
|
|
173
|
-
* - `scrollToSelected() => void`: Scrolls the first element that has the `selected` attribute to the center of the carousel.
|
|
174
|
-
*
|
|
175
|
-
* ## CSS Custom Properties
|
|
176
|
-
*
|
|
177
|
-
* CSS variables available for styling the component.
|
|
178
|
-
*
|
|
179
|
-
* - `--ds-auro-carousel-gradient-color-one`: Color at the outer edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
180
|
-
* - `--ds-auro-carousel-gradient-color-two`: Color at the inner edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
181
|
-
*
|
|
182
|
-
* ## CSS Parts
|
|
183
|
-
*
|
|
184
|
-
* Custom selectors for styling elements within the component.
|
|
185
|
-
*
|
|
186
|
-
* - `wrapper`: The scrollable `<div>` that wraps the scroll buttons and the slotted elements.
|
|
187
|
-
*/
|
|
188
|
-
"auro-carousel": Partial<
|
|
189
|
-
AuroCarouselProps & BaseProps<AuroCarousel> & BaseEvents
|
|
190
|
-
>;
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
export type CustomElementsSolidJs = {
|
|
194
|
-
/**
|
|
195
|
-
* Displays a group of elements, such as flight date options or images, in a horizontally scrollable container with buttons to scroll left and right.
|
|
196
|
-
*
|
|
197
|
-
* **Key capabilities:**
|
|
198
|
-
* - **Scroll buttons**: Shows left and right buttons on screens at least 576 pixels wide when the carousel can scroll that way, or at all times when you add `displayArrows`.
|
|
199
|
-
* - **Centered selection**: Scrolls the first element with the `selected` attribute to the center when you add `centerSelected`.
|
|
200
|
-
* - **Custom scroll distance**: Sets how far each button press scrolls, in pixels, with `scrollDistance`.
|
|
201
|
-
* - **Accessible names**: Names the carousel and its scroll buttons through the `ariaLabel`, `ariaLabel.scroll.left`, and `ariaLabel.scroll.right` slots.
|
|
202
|
-
*
|
|
203
|
-
* ## Attributes & Properties
|
|
204
|
-
*
|
|
205
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
206
|
-
*
|
|
207
|
-
* - `centerselected`/`undefined`: Centers the carousel on the first element that has the `selected` attribute when the carousel first renders.
|
|
208
|
-
* - `displayarrows`/`displayArrows`: Shows the left and right scroll buttons at all times, instead of hiding each one when the carousel can't scroll further in that direction. The buttons stay hidden on small screens.
|
|
209
|
-
* - `scrolldistance`/`scrollDistance`: Sets how many pixels the carousel scrolls when someone selects the left or right button.
|
|
210
|
-
* - `label`: Deprecated: Use the `ariaLabel` slot instead.
|
|
211
|
-
* Sets the text that screen readers announce as the carousel's name.
|
|
212
|
-
*
|
|
213
|
-
* ## Events
|
|
214
|
-
*
|
|
215
|
-
* Events that will be emitted by the component.
|
|
216
|
-
*
|
|
217
|
-
* - `scrollLeft`: Dispatched when someone selects the left scroll button.
|
|
218
|
-
* - `scrollRight`: Dispatched when someone selects the right scroll button.
|
|
219
|
-
*
|
|
220
|
-
* ## Slots
|
|
221
|
-
*
|
|
222
|
-
* Areas where markup can be added to the component.
|
|
223
|
-
*
|
|
224
|
-
* - `(default)`: The elements to scroll through, such as `auro-pane` elements or images.
|
|
225
|
-
* - `ariaLabel`: Text that screen readers announce as the carousel's name, for example "Flight date options". Required unless you set the `label` attribute. Takes priority over `label` when both are set.
|
|
226
|
-
* - `ariaLabel.scroll.left`: Text that screen readers announce for the left scroll button, for example "Show earlier dates". Defaults to "Scroll left".
|
|
227
|
-
* - `ariaLabel.scroll.right`: Text that screen readers announce for the right scroll button, for example "Show later dates". Defaults to "Scroll right".
|
|
228
|
-
*
|
|
229
|
-
* ## Methods
|
|
230
|
-
*
|
|
231
|
-
* Methods that can be called to access component functionality.
|
|
232
|
-
*
|
|
233
|
-
* - `_initializeDefaults() => void`: undefined
|
|
234
|
-
* - `centerElement(el: Element) => void`: Centers the given element inside the carousel.
|
|
235
|
-
* - `register(name?: string = "auro-carousel") => void`: Registers the element with the browser under a tag name.
|
|
236
|
-
* - `scrollCarousel(num: number) => void`: Scrolls the carousel by the given amount.
|
|
237
|
-
* - `scrollToSelected() => void`: Scrolls the first element that has the `selected` attribute to the center of the carousel.
|
|
238
|
-
*
|
|
239
|
-
* ## CSS Custom Properties
|
|
240
|
-
*
|
|
241
|
-
* CSS variables available for styling the component.
|
|
242
|
-
*
|
|
243
|
-
* - `--ds-auro-carousel-gradient-color-one`: Color at the outer edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
244
|
-
* - `--ds-auro-carousel-gradient-color-two`: Color at the inner edge of the fade shown beside each scroll button. (default: `undefined`)
|
|
245
|
-
*
|
|
246
|
-
* ## CSS Parts
|
|
247
|
-
*
|
|
248
|
-
* Custom selectors for styling elements within the component.
|
|
249
|
-
*
|
|
250
|
-
* - `wrapper`: The scrollable `<div>` that wraps the scroll buttons and the slotted elements.
|
|
251
|
-
*/
|
|
252
|
-
"auro-carousel": Partial<
|
|
253
|
-
AuroCarouselProps &
|
|
254
|
-
AuroCarouselSolidJsProps &
|
|
255
|
-
BaseProps<AuroCarousel> &
|
|
256
|
-
BaseEvents
|
|
257
|
-
>;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
export type CustomCssProperties = {
|
|
261
|
-
/** Color at the outer edge of the fade shown beside each scroll button. */
|
|
262
|
-
"--ds-auro-carousel-gradient-color-one"?: string;
|
|
263
|
-
/** Color at the inner edge of the fade shown beside each scroll button. */
|
|
264
|
-
"--ds-auro-carousel-gradient-color-two"?: string;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
declare module "react" {
|
|
268
|
-
namespace JSX {
|
|
269
|
-
interface IntrinsicElements extends CustomElements {}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
declare module "react/jsx-runtime" {
|
|
274
|
-
namespace JSX {
|
|
275
|
-
interface IntrinsicElements extends CustomElements {}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
declare module "react/jsx-dev-runtime" {
|
|
280
|
-
namespace JSX {
|
|
281
|
-
interface IntrinsicElements extends CustomElements {}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
declare module "preact" {
|
|
286
|
-
namespace JSX {
|
|
287
|
-
interface IntrinsicElements extends CustomElements {}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
declare module "@builder.io/qwik" {
|
|
292
|
-
namespace JSX {
|
|
293
|
-
interface IntrinsicElements extends CustomElements {}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
declare module "@stencil/core" {
|
|
298
|
-
namespace JSX {
|
|
299
|
-
interface IntrinsicElements extends CustomElements {}
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
declare module "hono/jsx" {
|
|
304
|
-
namespace JSX {
|
|
305
|
-
interface IntrinsicElements extends CustomElements {}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
declare module "react-native" {
|
|
310
|
-
namespace JSX {
|
|
311
|
-
interface IntrinsicElements extends CustomElements {}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
declare module "solid-js" {
|
|
316
|
-
namespace JSX {
|
|
317
|
-
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
declare global {
|
|
322
|
-
namespace JSX {
|
|
323
|
-
interface IntrinsicElements extends CustomElements {}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
declare global {
|
|
327
|
-
namespace svelteHTML {
|
|
328
|
-
interface IntrinsicElements extends CustomElements {}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
export { AuroCarousel } from "./index.js";
|
|
1
|
+
export { AuroCarousel } from "./auro-carousel.js";
|
|
2
|
+
export * from "./custom-element-jsx.js";
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-carousel",
|
|
10
|
-
"version": "0.0.0-pr144.
|
|
10
|
+
"version": "0.0.0-pr144.1",
|
|
11
11
|
"description": "auro-carousel HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@aurodesignsystem/auro-button": "^13.0.3",
|
|
28
|
-
"@aurodesignsystem/auro-cli": "^5.7.
|
|
28
|
+
"@aurodesignsystem/auro-cli": "^5.7.1",
|
|
29
29
|
"@aurodesignsystem/auro-config": "^1.3.2",
|
|
30
30
|
"@aurodesignsystem/auro-icon": "^9.2.1",
|
|
31
31
|
"@aurodesignsystem/auro-library": "^5.14.4",
|