@maggioli-design-system/mds-paginator-item 2.2.0 → 2.4.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/dist/cjs/{index-969219be.js → index-30ee4c25.js} +166 -32
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-paginator-item.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/aria.js +4 -2
- package/dist/collection/common/keyboard-manager.js +1 -1
- package/dist/collection/common/unit.js +10 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +4 -3
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +13 -10
- package/dist/collection/dictionary/button.js +5 -1
- package/dist/collection/dictionary/icon.js +2 -2
- package/dist/collection/dictionary/variant.js +9 -1
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.js +1 -2
- package/dist/components/mds-paginator-item.js +6 -6
- package/dist/documentation.d.ts +421 -0
- package/dist/documentation.json +183 -0
- package/dist/esm/{index-43abfe8a.js → index-3fa51808.js} +166 -32
- package/dist/esm/loader.js +4 -13
- package/dist/esm/mds-paginator-item.entry.js +5 -5
- package/dist/esm/mds-paginator-item.js +4 -4
- package/dist/esm-es5/index-3fa51808.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.js +2 -6
- package/dist/mds-paginator-item/p-2e3a33e5.js +2 -0
- package/dist/mds-paginator-item/p-2f534d96.system.entry.js +1 -0
- package/dist/mds-paginator-item/p-61d399b8.system.js +1 -0
- package/dist/mds-paginator-item/p-8e675782.system.js +2 -0
- package/dist/mds-paginator-item/p-e78a049a.entry.js +1 -0
- package/dist/stats.json +76 -68
- package/dist/types/common/unit.d.ts +2 -0
- package/dist/types/components.d.ts +8 -8
- package/dist/types/dictionary/button.d.ts +2 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +32 -17
- package/dist/types/{types → type}/button.d.ts +1 -0
- package/dist/types/{types → type}/variant.d.ts +1 -0
- package/documentation.json +538 -0
- package/loader/index.d.ts +2 -2
- package/package.json +10 -4
- package/readme.md +12 -5
- package/src/common/aria.ts +2 -2
- package/src/common/keyboard-manager.ts +1 -1
- package/src/common/unit.ts +14 -0
- package/src/components/mds-paginator-item/mds-paginator-item.css +4 -4
- package/src/components/mds-paginator-item/mds-paginator-item.tsx +7 -3
- package/src/components/mds-paginator-item/readme.md +12 -5
- package/src/components.d.ts +8 -8
- package/src/dictionary/button.ts +7 -1
- package/src/dictionary/variant.ts +10 -0
- package/src/fixtures/icons.json +40 -0
- package/src/fixtures/iconsauce.json +38 -0
- package/src/interface/input-value.ts +1 -1
- package/src/{types → type}/button.ts +4 -0
- package/src/{types → type}/variant.ts +9 -0
- package/www/build/mds-paginator-item.esm.js +1 -1
- package/www/build/mds-paginator-item.js +2 -6
- package/www/build/p-2e3a33e5.js +2 -0
- package/www/build/p-2f534d96.system.entry.js +1 -0
- package/www/build/p-61d399b8.system.js +1 -0
- package/www/build/p-8e675782.system.js +2 -0
- package/www/build/p-e78a049a.entry.js +1 -0
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/index-43abfe8a.js +0 -2
- package/dist/mds-paginator-item/p-043d636e.system.js +0 -1
- package/dist/mds-paginator-item/p-545e4388.system.js +0 -2
- package/dist/mds-paginator-item/p-632f225a.system.entry.js +0 -1
- package/dist/mds-paginator-item/p-6f0a5176.entry.js +0 -1
- package/dist/mds-paginator-item/p-cd35cb31.js +0 -2
- package/www/build/p-043d636e.system.js +0 -1
- package/www/build/p-545e4388.system.js +0 -2
- package/www/build/p-632f225a.system.entry.js +0 -1
- package/www/build/p-6f0a5176.entry.js +0 -1
- package/www/build/p-cd35cb31.js +0 -2
- /package/dist/collection/{types → type}/autocomplete.js +0 -0
- /package/dist/collection/{types → type}/button.js +0 -0
- /package/dist/collection/{types → type}/floating-ui.js +0 -0
- /package/dist/collection/{types → type}/form-rel.js +0 -0
- /package/dist/collection/{types → type}/input-text-type.js +0 -0
- /package/dist/collection/{types → type}/input-value-type.js +0 -0
- /package/dist/collection/{types → type}/loading.js +0 -0
- /package/dist/collection/{types → type}/typography.js +0 -0
- /package/dist/collection/{types → type}/variant.js +0 -0
- /package/dist/types/{types → type}/autocomplete.d.ts +0 -0
- /package/dist/types/{types → type}/floating-ui.d.ts +0 -0
- /package/dist/types/{types → type}/form-rel.d.ts +0 -0
- /package/dist/types/{types → type}/input-text-type.d.ts +0 -0
- /package/dist/types/{types → type}/input-value-type.d.ts +0 -0
- /package/dist/types/{types → type}/loading.d.ts +0 -0
- /package/dist/types/{types → type}/typography.d.ts +0 -0
- /package/src/{types → type}/autocomplete.ts +0 -0
- /package/src/{types → type}/floating-ui.ts +0 -0
- /package/src/{types → type}/form-rel.ts +0 -0
- /package/src/{types → type}/input-text-type.ts +0 -0
- /package/src/{types → type}/input-value-type.ts +0 -0
- /package/src/{types → type}/loading.ts +0 -0
- /package/src/{types → type}/typography.ts +0 -0
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timestamp": "2023-09-18T08:43:05",
|
|
3
|
+
"compiler": {
|
|
4
|
+
"name": "@stencil/core",
|
|
5
|
+
"version": "4.2.1",
|
|
6
|
+
"typescriptVersion": "5.1.6"
|
|
7
|
+
},
|
|
8
|
+
"components": [
|
|
9
|
+
{
|
|
10
|
+
"filePath": "src/components/mds-paginator-item/mds-paginator-item.tsx",
|
|
11
|
+
"encapsulation": "shadow",
|
|
12
|
+
"tag": "mds-paginator-item",
|
|
13
|
+
"readme": "# mds-paginator-item\n\n\n",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"docsTags": [
|
|
16
|
+
{
|
|
17
|
+
"name": "slot",
|
|
18
|
+
"text": "default - Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"usage": {},
|
|
22
|
+
"props": [
|
|
23
|
+
{
|
|
24
|
+
"name": "disabled",
|
|
25
|
+
"type": "boolean | undefined",
|
|
26
|
+
"complexType": {
|
|
27
|
+
"original": "boolean",
|
|
28
|
+
"resolved": "boolean | undefined",
|
|
29
|
+
"references": {}
|
|
30
|
+
},
|
|
31
|
+
"mutable": false,
|
|
32
|
+
"attr": "disabled",
|
|
33
|
+
"reflectToAttr": true,
|
|
34
|
+
"docs": "Specifies if the item is disabled or not, is handled from the parent paginator",
|
|
35
|
+
"docsTags": [],
|
|
36
|
+
"values": [
|
|
37
|
+
{
|
|
38
|
+
"type": "boolean"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "undefined"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"optional": true,
|
|
45
|
+
"required": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "icon",
|
|
49
|
+
"type": "string | undefined",
|
|
50
|
+
"complexType": {
|
|
51
|
+
"original": "string",
|
|
52
|
+
"resolved": "string | undefined",
|
|
53
|
+
"references": {}
|
|
54
|
+
},
|
|
55
|
+
"mutable": false,
|
|
56
|
+
"attr": "icon",
|
|
57
|
+
"reflectToAttr": true,
|
|
58
|
+
"docs": "Specifies the icon used inside the paginator item",
|
|
59
|
+
"docsTags": [],
|
|
60
|
+
"values": [
|
|
61
|
+
{
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "undefined"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"optional": true,
|
|
69
|
+
"required": false
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "selected",
|
|
73
|
+
"type": "boolean | undefined",
|
|
74
|
+
"complexType": {
|
|
75
|
+
"original": "boolean",
|
|
76
|
+
"resolved": "boolean | undefined",
|
|
77
|
+
"references": {}
|
|
78
|
+
},
|
|
79
|
+
"mutable": false,
|
|
80
|
+
"attr": "selected",
|
|
81
|
+
"reflectToAttr": true,
|
|
82
|
+
"docs": "Specifies if the item is selected or not, is handled from the parent paginator",
|
|
83
|
+
"docsTags": [],
|
|
84
|
+
"values": [
|
|
85
|
+
{
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "undefined"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"optional": true,
|
|
93
|
+
"required": false
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"methods": [],
|
|
97
|
+
"events": [],
|
|
98
|
+
"listeners": [],
|
|
99
|
+
"styles": [
|
|
100
|
+
{
|
|
101
|
+
"name": "--mds-paginator-item-background",
|
|
102
|
+
"annotation": "prop",
|
|
103
|
+
"docs": "Sets the background-color of the pages area and the item"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "--mds-paginator-item-background-disabled",
|
|
107
|
+
"annotation": "prop",
|
|
108
|
+
"docs": "Sets the background-color of the item when is disabled"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "--mds-paginator-item-background-hover",
|
|
112
|
+
"annotation": "prop",
|
|
113
|
+
"docs": "Sets the background-color of the item when the mouse is over it"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "--mds-paginator-item-background-selected",
|
|
117
|
+
"annotation": "prop",
|
|
118
|
+
"docs": "Sets the background-color of the item when is selected"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "--mds-paginator-item-color",
|
|
122
|
+
"annotation": "prop",
|
|
123
|
+
"docs": "Sets the text color of the component"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "--mds-paginator-item-color-disabled",
|
|
127
|
+
"annotation": "prop",
|
|
128
|
+
"docs": "Sets the color of the item when is disabled"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "--mds-paginator-item-color-hover",
|
|
132
|
+
"annotation": "prop",
|
|
133
|
+
"docs": "Sets the text color of the item when the mouse is over it"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "--mds-paginator-item-color-selected",
|
|
137
|
+
"annotation": "prop",
|
|
138
|
+
"docs": "Sets the text color of the item when is selected"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "--mds-paginator-item-radius",
|
|
142
|
+
"annotation": "prop",
|
|
143
|
+
"docs": "Sets the border-radius of the component"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "--mds-paginator-item-shadow",
|
|
147
|
+
"annotation": "prop",
|
|
148
|
+
"docs": "Sets the box-shadow of the component"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "--mds-paginator-item-shadow-disabled",
|
|
152
|
+
"annotation": "prop",
|
|
153
|
+
"docs": "Sets the box-shadow of the item when is disabled"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "--mds-paginator-item-shadow-hover",
|
|
157
|
+
"annotation": "prop",
|
|
158
|
+
"docs": "Sets the box-shadow of the item when the mouse is over it"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "--mds-paginator-item-shadow-selected",
|
|
162
|
+
"annotation": "prop",
|
|
163
|
+
"docs": "Sets the box-shadow of the item when is selected"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "--mds-paginator-item-size",
|
|
167
|
+
"annotation": "prop",
|
|
168
|
+
"docs": "Sets the height and the min-width of the paginator item"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"slots": [
|
|
172
|
+
{
|
|
173
|
+
"name": "default",
|
|
174
|
+
"docs": "Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"parts": [],
|
|
178
|
+
"dependents": [
|
|
179
|
+
"mds-paginator"
|
|
180
|
+
],
|
|
181
|
+
"dependencies": [
|
|
182
|
+
"mds-icon",
|
|
183
|
+
"mds-text"
|
|
184
|
+
],
|
|
185
|
+
"dependencyGraph": {
|
|
186
|
+
"mds-paginator-item": [
|
|
187
|
+
"mds-icon",
|
|
188
|
+
"mds-text"
|
|
189
|
+
],
|
|
190
|
+
"mds-paginator": [
|
|
191
|
+
"mds-paginator-item"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"typeLibrary": {
|
|
197
|
+
"src/components/mds-accordion/meta/event-detail.ts::MdsAccordionEventDetail": {
|
|
198
|
+
"declaration": "export interface MdsAccordionEventDetail {\n children: NodeListOf<HTMLMdsAccordionItemElement>\n selected: string\n}",
|
|
199
|
+
"docstring": "",
|
|
200
|
+
"path": "src/components/mds-accordion/meta/event-detail.ts"
|
|
201
|
+
},
|
|
202
|
+
"src/type/typography.ts::TypographyTitleType": {
|
|
203
|
+
"declaration": "export type TypographyTitleType =\n | 'action'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'",
|
|
204
|
+
"docstring": "",
|
|
205
|
+
"path": "src/type/typography.ts"
|
|
206
|
+
},
|
|
207
|
+
"src/components/mds-accordion-item/meta/event-detail.ts::MdsAccordionItemEventDetail": {
|
|
208
|
+
"declaration": "export interface MdsAccordionItemEventDetail {\n id: string;\n selected: boolean;\n}",
|
|
209
|
+
"docstring": "",
|
|
210
|
+
"path": "src/components/mds-accordion-item/meta/event-detail.ts"
|
|
211
|
+
},
|
|
212
|
+
"src/components/mds-accordion-timer-item/meta/event-detail.ts::MdsAccordionTimerItemEventDetail": {
|
|
213
|
+
"declaration": "export interface MdsAccordionTimerItemEventDetail {\n selected: boolean;\n uuid: number;\n}",
|
|
214
|
+
"docstring": "",
|
|
215
|
+
"path": "src/components/mds-accordion-timer-item/meta/event-detail.ts"
|
|
216
|
+
},
|
|
217
|
+
"src/type/variant.ts::ThemeFullVariantType": {
|
|
218
|
+
"declaration": "export type ThemeFullVariantType =\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'dark'\n | 'error'\n | 'green'\n | 'info'\n | 'light'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'sky'\n | 'success'\n | 'violet'\n | 'warning'\n | 'yellow'",
|
|
219
|
+
"docstring": "",
|
|
220
|
+
"path": "src/type/variant.ts"
|
|
221
|
+
},
|
|
222
|
+
"src/type/variant.ts::ToneSimpleVariantType": {
|
|
223
|
+
"declaration": "export type ToneSimpleVariantType =\n | 'strong'\n | 'weak'\n | 'quiet'",
|
|
224
|
+
"docstring": "",
|
|
225
|
+
"path": "src/type/variant.ts"
|
|
226
|
+
},
|
|
227
|
+
"src/type/typography.ts::TypographyInfoType": {
|
|
228
|
+
"declaration": "export type TypographyInfoType =\n | 'caption'\n | 'detail'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",
|
|
229
|
+
"docstring": "",
|
|
230
|
+
"path": "src/type/typography.ts"
|
|
231
|
+
},
|
|
232
|
+
"src/type/typography.ts::TypographyReadType": {
|
|
233
|
+
"declaration": "export type TypographyReadType =\n | 'caption'\n | 'detail'\n | 'paragraph'",
|
|
234
|
+
"docstring": "",
|
|
235
|
+
"path": "src/type/typography.ts"
|
|
236
|
+
},
|
|
237
|
+
"src/type/typography.ts::TypographyVariants": {
|
|
238
|
+
"declaration": "export type TypographyVariants =\n | 'title'\n | 'info'\n | 'read'\n | 'code'",
|
|
239
|
+
"docstring": "",
|
|
240
|
+
"path": "src/type/typography.ts"
|
|
241
|
+
},
|
|
242
|
+
"src/type/variant.ts::ThemeVariantType": {
|
|
243
|
+
"declaration": "export type ThemeVariantType =\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
|
|
244
|
+
"docstring": "",
|
|
245
|
+
"path": "src/type/variant.ts"
|
|
246
|
+
},
|
|
247
|
+
"src/components/mds-benchmark-bar/meta/types.ts::BenchmarkBarTypographyType": {
|
|
248
|
+
"declaration": "export type BenchmarkBarTypographyType =\n | 'option'\n | 'label'",
|
|
249
|
+
"docstring": "",
|
|
250
|
+
"path": "src/components/mds-benchmark-bar/meta/types.ts"
|
|
251
|
+
},
|
|
252
|
+
"src/components/mds-bibliography/meta/types.ts::BibliographyFormatType": {
|
|
253
|
+
"declaration": "export type BibliographyFormatType =\n | 'apa' // American Psychological Association - Simmons, B. (2015, January 9). The tale of two Flaccos. Grantland. http://grantland.com/the-triangle/the-tale-of-two-flaccos/\n | 'mla' // Modern Language Association - Author's Last name, First name. \"Title of Source.\" Title of Container, Other contributors, Version, Numbers, Publisher, Publication Date, Location.\n | 'turabian'",
|
|
254
|
+
"docstring": "",
|
|
255
|
+
"path": "src/components/mds-bibliography/meta/types.ts"
|
|
256
|
+
},
|
|
257
|
+
"src/components/mds-bibliography/meta/types.ts::BibliographyRelationshipType": {
|
|
258
|
+
"declaration": "export type BibliographyRelationshipType =\n | 'author'\n | 'external'",
|
|
259
|
+
"docstring": "",
|
|
260
|
+
"path": "src/components/mds-bibliography/meta/types.ts"
|
|
261
|
+
},
|
|
262
|
+
"src/components/mds-breadcrumb/meta/event-detail.ts::MdsBreadcrumbEventDetail": {
|
|
263
|
+
"declaration": "export interface MdsBreadcrumbEventDetail {\n caller: HTMLMdsBreadcrumbItemElement\n id: string\n selected?: boolean\n}",
|
|
264
|
+
"docstring": "",
|
|
265
|
+
"path": "src/components/mds-breadcrumb/meta/event-detail.ts"
|
|
266
|
+
},
|
|
267
|
+
"src/components/mds-breadcrumb-item/meta/event-detail.ts::MdsBreadcrumbItemEventDetail": {
|
|
268
|
+
"declaration": "export interface MdsBreadcrumbItemEventDetail {\n id: string\n selected: boolean\n}",
|
|
269
|
+
"docstring": "",
|
|
270
|
+
"path": "src/components/mds-breadcrumb-item/meta/event-detail.ts"
|
|
271
|
+
},
|
|
272
|
+
"src/type/button.ts::ButtonIconPositionType": {
|
|
273
|
+
"declaration": "export type ButtonIconPositionType =\n | 'left'\n | 'right'",
|
|
274
|
+
"docstring": "",
|
|
275
|
+
"path": "src/type/button.ts"
|
|
276
|
+
},
|
|
277
|
+
"src/type/button.ts::ButtonType": {
|
|
278
|
+
"declaration": "export type ButtonType =\n | 'a'\n | 'button'\n | 'reset'\n | 'submit'",
|
|
279
|
+
"docstring": "",
|
|
280
|
+
"path": "src/type/button.ts"
|
|
281
|
+
},
|
|
282
|
+
"src/type/button.ts::ButtonVariantType": {
|
|
283
|
+
"declaration": "export type ButtonVariantType =\n | 'primary'\n | 'dark'\n | 'light'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
|
|
284
|
+
"docstring": "",
|
|
285
|
+
"path": "src/type/button.ts"
|
|
286
|
+
},
|
|
287
|
+
"src/type/variant.ts::ToneVariantType": {
|
|
288
|
+
"declaration": "export type ToneVariantType =\n | 'strong' // background strong\n | 'weak' // background weak\n | 'ghost' // bordered\n | 'quiet'",
|
|
289
|
+
"docstring": "",
|
|
290
|
+
"path": "src/type/variant.ts"
|
|
291
|
+
},
|
|
292
|
+
"src/type/button.ts::ButtonSizeType": {
|
|
293
|
+
"declaration": "export type ButtonSizeType =\n | 'sm'\n | 'md'\n | 'lg'\n | 'xl'",
|
|
294
|
+
"docstring": "",
|
|
295
|
+
"path": "src/type/button.ts"
|
|
296
|
+
},
|
|
297
|
+
"src/type/button.ts::ButtonTargetType": {
|
|
298
|
+
"declaration": "export type ButtonTargetType =\n |'self'\n |'blank'",
|
|
299
|
+
"docstring": "",
|
|
300
|
+
"path": "src/type/button.ts"
|
|
301
|
+
},
|
|
302
|
+
"src/components/mds-chip/meta/interface.ts::MdsChipEvent": {
|
|
303
|
+
"declaration": "interface MdsChipEvent {\n event: Event\n element: HTMLMdsChipElement\n}",
|
|
304
|
+
"docstring": "",
|
|
305
|
+
"path": "src/components/mds-chip/meta/interface.ts"
|
|
306
|
+
},
|
|
307
|
+
"src/type/floating-ui.ts::FloatingUIPlacement": {
|
|
308
|
+
"declaration": "export type FloatingUIPlacement =\n | 'bottom'\n | 'bottom-end'\n | 'bottom-start'\n | 'left'\n | 'left-end'\n | 'left-start'\n | 'right'\n | 'right-end'\n | 'right-start'\n | 'top'\n | 'top-end'\n | 'top-start'",
|
|
309
|
+
"docstring": "",
|
|
310
|
+
"path": "src/type/floating-ui.ts"
|
|
311
|
+
},
|
|
312
|
+
"src/type/floating-ui.ts::FloatingUIStrategy": {
|
|
313
|
+
"declaration": "export type FloatingUIStrategy =\n | 'absolute'\n | 'fixed'",
|
|
314
|
+
"docstring": "",
|
|
315
|
+
"path": "src/type/floating-ui.ts"
|
|
316
|
+
},
|
|
317
|
+
"src/components/mds-dropdown/meta/event-detail.ts::MdsDropdownEventDetail": {
|
|
318
|
+
"declaration": "export interface MdsDropdownEventDetail {\n caller: HTMLElement\n visible: boolean\n}",
|
|
319
|
+
"docstring": "",
|
|
320
|
+
"path": "src/components/mds-dropdown/meta/event-detail.ts"
|
|
321
|
+
},
|
|
322
|
+
"src/components/mds-file/meta/types.ts::ExtensionSuffixType": {
|
|
323
|
+
"declaration": "export type ExtensionSuffixType =\n | '7z'\n | 'ace'\n | 'ai'\n | 'db'\n | 'default'\n | 'dmg'\n | 'doc'\n | 'docm'\n | 'docx'\n | 'eml'\n | 'eps'\n | 'exe'\n | 'flac'\n | 'gif'\n | 'htm'\n | 'html'\n | 'jpe'\n | 'jpeg'\n | 'jpg'\n | 'js'\n | 'json'\n | 'jsx'\n | 'm2v'\n | 'mp2'\n | 'mp3'\n | 'mp4'\n | 'mp4v'\n | 'mpeg'\n | 'mpg'\n | 'mpg4'\n | 'mpga'\n | 'odp'\n | 'ods'\n | 'odt'\n | 'pdf'\n | 'php'\n | 'png'\n | 'ppt'\n | 'rar'\n | 'rtf'\n | 'sass'\n | 'shtml'\n | 'svg'\n | 'tar'\n | 'ts'\n | 'txt'\n | 'wav'\n | 'xar'\n | 'xls'\n | 'xlsx'\n | 'zip'",
|
|
324
|
+
"docstring": "",
|
|
325
|
+
"path": "src/components/mds-file/meta/types.ts"
|
|
326
|
+
},
|
|
327
|
+
"src/components/mds-file/meta/event-detail.ts::MdsFileEventDetail": {
|
|
328
|
+
"declaration": "export interface MdsFileEventDetail {\n description: string\n extension: string\n filename: string\n target: HTMLMdsFileElement\n type: string\n}",
|
|
329
|
+
"docstring": "",
|
|
330
|
+
"path": "src/components/mds-file/meta/event-detail.ts"
|
|
331
|
+
},
|
|
332
|
+
"src/components/mds-filter/meta/event-detail.ts::MdsFilterEventDetail": {
|
|
333
|
+
"declaration": "export interface MdsFilterEventDetail {\n children: NodeListOf<HTMLMdsFilterItemElement>\n value: string\n}",
|
|
334
|
+
"docstring": "",
|
|
335
|
+
"path": "src/components/mds-filter/meta/event-detail.ts"
|
|
336
|
+
},
|
|
337
|
+
"src/components/mds-filter-item/meta/event-detail.ts::MdsFilterItemEventDetail": {
|
|
338
|
+
"declaration": "export interface MdsFilterItemEventDetail {\n id: string\n selected: boolean\n}",
|
|
339
|
+
"docstring": "",
|
|
340
|
+
"path": "src/components/mds-filter-item/meta/event-detail.ts"
|
|
341
|
+
},
|
|
342
|
+
"src/components/mds-form/meta/types.ts::CharacterSetType": {
|
|
343
|
+
"declaration": "export type CharacterSetType =\n | '8859-1'\n | 'ansi'\n | 'ascii'\n | 'utf-8'",
|
|
344
|
+
"docstring": "",
|
|
345
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
346
|
+
},
|
|
347
|
+
"src/components/mds-form/meta/types.ts::FormAutocompleteType": {
|
|
348
|
+
"declaration": "export type FormAutocompleteType =\n | 'off'\n | 'on'",
|
|
349
|
+
"docstring": "",
|
|
350
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
351
|
+
},
|
|
352
|
+
"src/components/mds-form/meta/types.ts::EnctypeType": {
|
|
353
|
+
"declaration": "export type EnctypeType =\n | 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'",
|
|
354
|
+
"docstring": "",
|
|
355
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
356
|
+
},
|
|
357
|
+
"src/components/mds-form/meta/types.ts::FormMethodType": {
|
|
358
|
+
"declaration": "export type FormMethodType =\n | 'get'\n | 'post'",
|
|
359
|
+
"docstring": "",
|
|
360
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
361
|
+
},
|
|
362
|
+
"src/components/mds-header/meta/event-detail.ts::MdsHeaderEventDetail": {
|
|
363
|
+
"declaration": "export interface MdsHeaderEventDetail {\n bar: HTMLMdsHeaderBarElement\n}",
|
|
364
|
+
"docstring": "",
|
|
365
|
+
"path": "src/components/mds-header/meta/event-detail.ts"
|
|
366
|
+
},
|
|
367
|
+
"src/components/mds-horizontal-scroll/meta/types.ts::SnapType": {
|
|
368
|
+
"declaration": "export type SnapType =\n | 'center'\n | 'end'\n | 'none'\n | 'start'",
|
|
369
|
+
"docstring": "",
|
|
370
|
+
"path": "src/components/mds-horizontal-scroll/meta/types.ts"
|
|
371
|
+
},
|
|
372
|
+
"src/components/mds-img/meta/types.ts::CrossoriginType": {
|
|
373
|
+
"declaration": "export type CrossoriginType =\n | 'anonymous'\n | 'use-credentials'",
|
|
374
|
+
"docstring": "",
|
|
375
|
+
"path": "src/components/mds-img/meta/types.ts"
|
|
376
|
+
},
|
|
377
|
+
"src/type/loading.ts::LoadingType": {
|
|
378
|
+
"declaration": "export type LoadingType =\n | 'eager'\n | 'lazy'",
|
|
379
|
+
"docstring": "",
|
|
380
|
+
"path": "src/type/loading.ts"
|
|
381
|
+
},
|
|
382
|
+
"src/components/mds-img/meta/types.ts::ReferrerpolicyType": {
|
|
383
|
+
"declaration": "export type ReferrerpolicyType =\n | 'no-referrer'\n | 'no-referrer-when-downgrade'\n | 'origin'\n | 'origin-when-cross-origin'\n | 'unsafe-url'",
|
|
384
|
+
"docstring": "",
|
|
385
|
+
"path": "src/components/mds-img/meta/types.ts"
|
|
386
|
+
},
|
|
387
|
+
"src/components/mds-img/meta/event-detail.ts::MdsImgEventDetail": {
|
|
388
|
+
"declaration": "export interface MdsImgEventDetail {\n image: HTMLImageElement\n}",
|
|
389
|
+
"docstring": "",
|
|
390
|
+
"path": "src/components/mds-img/meta/event-detail.ts"
|
|
391
|
+
},
|
|
392
|
+
"src/type/autocomplete.ts::AutocompleteType": {
|
|
393
|
+
"declaration": "export type AutocompleteType =\n | 'additional-name'\n | 'address'\n | 'address-level1'\n | 'address-level2'\n | 'address-level3'\n | 'address-level4'\n | 'address-line1'\n | 'address-line2'\n | 'address-line3'\n | 'bday'\n | 'bday-day'\n | 'bday-month'\n | 'bday-year'\n | 'cc-additional-name'\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-family-name'\n | 'cc-family-name'\n | 'cc-given-name'\n | 'cc-name'\n | 'cc-number'\n | 'cc-type'\n | 'country'\n | 'country-name'\n | 'current-password'\n | 'email'\n | 'family-name'\n | 'given-name'\n | 'honorific-prefix'\n | 'honorific-suffix'\n | 'impp'\n | 'language'\n | 'name'\n | 'new-password'\n | 'nickname'\n | 'off'\n | 'on'\n | 'one-time-code'\n | 'organization'\n | 'organization-title'\n | 'photo'\n | 'postal-code'\n | 'sex'\n | 'street-address'\n | 'tel'\n | 'tel-area-code'\n | 'tel-country-code'\n | 'tel-extension'\n | 'tel-local'\n | 'tel-national'\n | 'transaction-amount'\n | 'transaction-currency'\n | 'url'\n | 'username'",
|
|
394
|
+
"docstring": "",
|
|
395
|
+
"path": "src/type/autocomplete.ts"
|
|
396
|
+
},
|
|
397
|
+
"src/type/variant.ts::ThemeStatusVariantType": {
|
|
398
|
+
"declaration": "export type ThemeStatusVariantType =\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
|
|
399
|
+
"docstring": "",
|
|
400
|
+
"path": "src/type/variant.ts"
|
|
401
|
+
},
|
|
402
|
+
"src/type/input-text-type.ts::InputTextType": {
|
|
403
|
+
"declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'",
|
|
404
|
+
"docstring": "",
|
|
405
|
+
"path": "src/type/input-text-type.ts"
|
|
406
|
+
},
|
|
407
|
+
"src/type/input-value-type.ts::InputValueType": {
|
|
408
|
+
"declaration": "export type InputValueType =\n | null\n | number\n | string\n | undefined",
|
|
409
|
+
"docstring": "",
|
|
410
|
+
"path": "src/type/input-value-type.ts"
|
|
411
|
+
},
|
|
412
|
+
"src/components/mds-input/meta/interfaces.ts::InputValue": {
|
|
413
|
+
"declaration": "export interface InputValue {\n value: InputValueType\n}",
|
|
414
|
+
"docstring": "",
|
|
415
|
+
"path": "src/components/mds-input/meta/interfaces.ts"
|
|
416
|
+
},
|
|
417
|
+
"src/components/mds-input-field/meta/types.ts::ValidationModelType": {
|
|
418
|
+
"declaration": "export type ValidationModelType =\n | 'cf'\n | 'email'\n | 'isbn'\n | 'piva'",
|
|
419
|
+
"docstring": "",
|
|
420
|
+
"path": "src/components/mds-input-field/meta/types.ts"
|
|
421
|
+
},
|
|
422
|
+
"src/interface/input-value.ts::InputValue": {
|
|
423
|
+
"declaration": "export interface InputValue {\n value: InputValueType\n}",
|
|
424
|
+
"docstring": "",
|
|
425
|
+
"path": "src/interface/input-value.ts"
|
|
426
|
+
},
|
|
427
|
+
"src/components/mds-input-switch/meta/types.ts::InputSwitchSizeType": {
|
|
428
|
+
"declaration": "export type InputSwitchSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
|
|
429
|
+
"docstring": "",
|
|
430
|
+
"path": "src/components/mds-input-switch/meta/types.ts"
|
|
431
|
+
},
|
|
432
|
+
"src/components/mds-input-switch/meta/types.ts::InputSwitchType": {
|
|
433
|
+
"declaration": "export type InputSwitchType =\n | 'checkbox'\n | 'radio'\n | 'switch'",
|
|
434
|
+
"docstring": "",
|
|
435
|
+
"path": "src/components/mds-input-switch/meta/types.ts"
|
|
436
|
+
},
|
|
437
|
+
"src/type/typography.ts::TypographyType": {
|
|
438
|
+
"declaration": "export type TypographyType =\n | 'action'\n | 'caption'\n | 'snippet'\n | 'detail'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'hack'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",
|
|
439
|
+
"docstring": "",
|
|
440
|
+
"path": "src/type/typography.ts"
|
|
441
|
+
},
|
|
442
|
+
"src/type/typography.ts::TypographyReadingVariants": {
|
|
443
|
+
"declaration": "export type TypographyReadingVariants =\n | 'info'\n | 'read'",
|
|
444
|
+
"docstring": "",
|
|
445
|
+
"path": "src/type/typography.ts"
|
|
446
|
+
},
|
|
447
|
+
"src/components/mds-modal/meta/types.ts::ModalPositionType": {
|
|
448
|
+
"declaration": "export type ModalPositionType =\n | 'bottom'\n | 'center'\n | 'left'\n | 'right'\n | 'top'",
|
|
449
|
+
"docstring": "",
|
|
450
|
+
"path": "src/components/mds-modal/meta/types.ts"
|
|
451
|
+
},
|
|
452
|
+
"src/type/variant.ts::LabelVariantType": {
|
|
453
|
+
"declaration": "export type LabelVariantType =\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'green'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'sky'\n | 'violet'\n | 'yellow'",
|
|
454
|
+
"docstring": "",
|
|
455
|
+
"path": "src/type/variant.ts"
|
|
456
|
+
},
|
|
457
|
+
"src/components/mds-notification/meta/types.ts::StrategyType": {
|
|
458
|
+
"declaration": "export type StrategyType =\n | 'absolute'\n | 'fixed'\n | 'disabled'",
|
|
459
|
+
"docstring": "",
|
|
460
|
+
"path": "src/components/mds-notification/meta/types.ts"
|
|
461
|
+
},
|
|
462
|
+
"src/components/mds-paginator/meta/event-detail.ts::MdsPaginatorEventDetail": {
|
|
463
|
+
"declaration": "export interface MdsPaginatorEventDetail {\n caller?: HTMLMdsPaginatorItemElement\n page: number\n}",
|
|
464
|
+
"docstring": "",
|
|
465
|
+
"path": "src/components/mds-paginator/meta/event-detail.ts"
|
|
466
|
+
},
|
|
467
|
+
"src/components/mds-progress/meta/types.ts::DirectionType": {
|
|
468
|
+
"declaration": "export type DirectionType =\n | 'horizontal'\n | 'vertical'",
|
|
469
|
+
"docstring": "",
|
|
470
|
+
"path": "src/components/mds-progress/meta/types.ts"
|
|
471
|
+
},
|
|
472
|
+
"src/components/mds-stepper-bar/meta/event-detail.ts::MdsStepperBarEventDetail": {
|
|
473
|
+
"declaration": "export interface MdsStepperBarEventDetail {\n step: number\n value: string\n}",
|
|
474
|
+
"docstring": "",
|
|
475
|
+
"path": "src/components/mds-stepper-bar/meta/event-detail.ts"
|
|
476
|
+
},
|
|
477
|
+
"src/components/mds-stepper-bar-item/meta/event-detail.ts::MdsStepperBarItemEventDetail": {
|
|
478
|
+
"declaration": "export interface MdsStepperBarItemEventDetail {\n value: string\n}",
|
|
479
|
+
"docstring": "",
|
|
480
|
+
"path": "src/components/mds-stepper-bar-item/meta/event-detail.ts"
|
|
481
|
+
},
|
|
482
|
+
"src/components/mds-tab/meta/event-detail.ts::MdsTabEventDetail": {
|
|
483
|
+
"declaration": "export interface MdsTabEventDetail {\n id: number\n}",
|
|
484
|
+
"docstring": "",
|
|
485
|
+
"path": "src/components/mds-tab/meta/event-detail.ts"
|
|
486
|
+
},
|
|
487
|
+
"src/components/mds-tab-bar/meta/event-detail.ts::MdsTabBarEventDetail": {
|
|
488
|
+
"declaration": "export interface MdsTabBarEventDetail {\n index: number\n}",
|
|
489
|
+
"docstring": "",
|
|
490
|
+
"path": "src/components/mds-tab-bar/meta/event-detail.ts"
|
|
491
|
+
},
|
|
492
|
+
"src/type/typography.ts::TypographySmallerType": {
|
|
493
|
+
"declaration": "export type TypographySmallerType =\n | 'tip'\n | 'option'",
|
|
494
|
+
"docstring": "",
|
|
495
|
+
"path": "src/type/typography.ts"
|
|
496
|
+
},
|
|
497
|
+
"src/components/mds-text/meta/types.ts::TypographyTagType": {
|
|
498
|
+
"declaration": "export type TypographyTagType =\n | 'abbr'\n | 'address'\n | 'article'\n | 'b'\n | 'bdo'\n | 'blockquote'\n | 'cite'\n | 'code'\n | 'dd'\n | 'del'\n | 'details'\n | 'dfn'\n | 'div'\n | 'dl'\n | 'dt'\n | 'em'\n | 'figcaption'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'i'\n | 'ins'\n | 'kbd'\n | 'label'\n | 'legend'\n | 'li'\n | 'mark'\n | 'ol'\n | 'p'\n | 'pre'\n | 'q'\n | 'rb'\n | 'rt'\n | 'ruby'\n | 's'\n | 'samp'\n | 'small'\n | 'span'\n | 'strong'\n | 'sub'\n | 'summary'\n | 'sup'\n | 'time'\n | 'u'\n | 'ul'\n | 'var'",
|
|
499
|
+
"docstring": "",
|
|
500
|
+
"path": "src/components/mds-text/meta/types.ts"
|
|
501
|
+
},
|
|
502
|
+
"src/type/variant.ts::ThemeLuminanceVariantType": {
|
|
503
|
+
"declaration": "export type ThemeLuminanceVariantType =\n | 'dark'\n | 'light'",
|
|
504
|
+
"docstring": "",
|
|
505
|
+
"path": "src/type/variant.ts"
|
|
506
|
+
},
|
|
507
|
+
"src/type/variant.ts::ToneMinimalVariantType": {
|
|
508
|
+
"declaration": "export type ToneMinimalVariantType =\n| 'strong'\n| 'weak'",
|
|
509
|
+
"docstring": "",
|
|
510
|
+
"path": "src/type/variant.ts"
|
|
511
|
+
},
|
|
512
|
+
"src/components/mds-toast/meta/types.ts::ToastPosition": {
|
|
513
|
+
"declaration": "export type ToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'",
|
|
514
|
+
"docstring": "",
|
|
515
|
+
"path": "src/components/mds-toast/meta/types.ts"
|
|
516
|
+
},
|
|
517
|
+
"src/type/typography.ts::TypographyTooltipType": {
|
|
518
|
+
"declaration": "export type TypographyTooltipType =\n | 'caption'\n | 'detail'\n | 'tip'",
|
|
519
|
+
"docstring": "",
|
|
520
|
+
"path": "src/type/typography.ts"
|
|
521
|
+
},
|
|
522
|
+
"src/components/mds-usage/meta/types.ts::UsageType": {
|
|
523
|
+
"declaration": "export type UsageType =\n | 'do'\n | 'dont'\n | 'info'\n | 'warn'",
|
|
524
|
+
"docstring": "",
|
|
525
|
+
"path": "src/components/mds-usage/meta/types.ts"
|
|
526
|
+
},
|
|
527
|
+
"src/components/mds-video-wall/meta/types.ts::NoiseType": {
|
|
528
|
+
"declaration": "export type NoiseType =\n | 'classic'\n | 'none'\n | 'sharp'\n | 'soft'\n | 'tv'",
|
|
529
|
+
"docstring": "",
|
|
530
|
+
"path": "src/components/mds-video-wall/meta/types.ts"
|
|
531
|
+
},
|
|
532
|
+
"src/components/mds-video-wall/meta/types.ts::PreloadType": {
|
|
533
|
+
"declaration": "export type PreloadType =\n | 'auto'\n | 'metadata'\n | 'none'",
|
|
534
|
+
"docstring": "",
|
|
535
|
+
"path": "src/components/mds-video-wall/meta/types.ts"
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
package/loader/index.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ export interface CustomElementsDefineOptions {
|
|
|
8
8
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions):
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
13
|
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
15
|
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
16
|
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
17
|
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-paginator-item",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "mds-paginator-item is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"unpkg": "dist/mds-paginator-item/mds-paginator-item.esm.js",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist/",
|
|
15
|
+
"documentation.json",
|
|
15
16
|
"loader/",
|
|
16
17
|
"readme.md",
|
|
17
18
|
"src/",
|
|
@@ -23,8 +24,8 @@
|
|
|
23
24
|
"test": "stencil test --spec --e2e"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@maggioli-design-system/styles": "^11.
|
|
27
|
-
"@stencil/core": "^2.
|
|
27
|
+
"@maggioli-design-system/styles": "^11.7.0",
|
|
28
|
+
"@stencil/core": "^4.2.1"
|
|
28
29
|
},
|
|
29
30
|
"license": "MIT",
|
|
30
31
|
"author": {
|
|
@@ -38,10 +39,15 @@
|
|
|
38
39
|
"email": "andrea.pruccoli@maggioli.it",
|
|
39
40
|
"role": "Software Engineer"
|
|
40
41
|
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Nicola Tamburini",
|
|
44
|
+
"email": "nicola.tamburini@maggioli.it",
|
|
45
|
+
"role": "Software Engineer"
|
|
46
|
+
},
|
|
41
47
|
{
|
|
42
48
|
"name": "Vittorio Vittori",
|
|
43
49
|
"email": "vittorio.vittori@maggioli.it",
|
|
44
|
-
"role": "
|
|
50
|
+
"role": "Product Designer"
|
|
45
51
|
}
|
|
46
52
|
]
|
|
47
53
|
}
|
package/readme.md
CHANGED
|
@@ -7,11 +7,18 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type
|
|
11
|
-
| ---------- | ---------- | ------------------------------------------------------------------------------ |
|
|
12
|
-
| `
|
|
13
|
-
| `
|
|
14
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ---------- | ---------- | ------------------------------------------------------------------------------ | ---------------------- | ----------- |
|
|
12
|
+
| `disabled` | `disabled` | Specifies if the item is disabled or not, is handled from the parent paginator | `boolean \| undefined` | `undefined` |
|
|
13
|
+
| `icon` | `icon` | Specifies the icon used inside the paginator item | `string \| undefined` | `undefined` |
|
|
14
|
+
| `selected` | `selected` | Specifies if the item is selected or not, is handled from the parent paginator | `boolean \| undefined` | `undefined` |
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Slots
|
|
18
|
+
|
|
19
|
+
| Slot | Description |
|
|
20
|
+
| ----------- | -------------------------------------------------------------------------------------- |
|
|
21
|
+
| `"default"` | Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here. |
|
|
15
22
|
|
|
16
23
|
|
|
17
24
|
## CSS Custom Properties
|
package/src/common/aria.ts
CHANGED
|
@@ -7,12 +7,12 @@ const hash = (s: string): string => {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
const unslugName = (name: string): string => {
|
|
10
|
-
return name.split('/')
|
|
10
|
+
return name.split('/')?.slice(-1).pop()?.replace(/-/g, ' ') ?? name
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const setAttributeIfEmpty = (element: HTMLElement, attribute: string, value: string): string => {
|
|
14
14
|
if (element.hasAttribute(attribute)) {
|
|
15
|
-
return element.getAttribute(attribute)
|
|
15
|
+
return element.getAttribute(attribute) ?? ''
|
|
16
16
|
}
|
|
17
17
|
element.setAttribute(attribute, value)
|
|
18
18
|
return value
|
|
@@ -38,7 +38,7 @@ export class KeyboardManager {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
detachEscapeBehavior = (): void => {
|
|
41
|
-
this.escapeCallback =
|
|
41
|
+
this.escapeCallback = () => {return}
|
|
42
42
|
if (typeof window !== undefined) {
|
|
43
43
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))
|
|
44
44
|
}
|