@maggioli-design-system/mds-table-row 4.0.0 → 4.2.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.
Files changed (72) hide show
  1. package/dist/cjs/{index-1066e7b9.js → index-bf51ecaa.js} +163 -32
  2. package/dist/cjs/loader.cjs.js +2 -11
  3. package/dist/cjs/mds-table-row.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-table-row.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +3 -3
  6. package/dist/collection/common/aria.js +4 -2
  7. package/dist/collection/common/keyboard-manager.js +1 -1
  8. package/dist/collection/common/unit.js +10 -0
  9. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  10. package/dist/collection/components/mds-table-row/mds-table-row.js +4 -1
  11. package/dist/collection/dictionary/button.js +5 -1
  12. package/dist/collection/dictionary/icon.js +2 -2
  13. package/dist/collection/dictionary/variant.js +9 -1
  14. package/dist/components/index.d.ts +5 -3
  15. package/dist/components/index.js +1 -2
  16. package/dist/components/mds-table-row.js +1 -1
  17. package/dist/documentation.d.ts +421 -0
  18. package/dist/documentation.json +68 -0
  19. package/dist/esm/{index-be386e76.js → index-627212b2.js} +163 -32
  20. package/dist/esm/loader.js +3 -12
  21. package/dist/esm/mds-table-row.entry.js +1 -1
  22. package/dist/esm/mds-table-row.js +3 -3
  23. package/dist/esm-es5/index-627212b2.js +2 -0
  24. package/dist/esm-es5/loader.js +1 -1
  25. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  26. package/dist/esm-es5/mds-table-row.js +1 -1
  27. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  28. package/dist/mds-table-row/mds-table-row.js +2 -6
  29. package/dist/mds-table-row/{p-30a6116a.entry.js → p-792ca9b5.entry.js} +1 -1
  30. package/dist/mds-table-row/p-94ed7d2d.system.js +2 -0
  31. package/dist/mds-table-row/{p-7d3f05d4.system.entry.js → p-ad55a7c6.system.entry.js} +1 -1
  32. package/dist/mds-table-row/p-caa45624.js +2 -0
  33. package/dist/mds-table-row/{p-fb327bab.system.js → p-f2dd20fa.system.js} +1 -1
  34. package/dist/stats.json +41 -33
  35. package/dist/types/common/unit.d.ts +2 -0
  36. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -0
  37. package/dist/types/dictionary/button.d.ts +2 -1
  38. package/dist/types/dictionary/variant.d.ts +2 -1
  39. package/dist/types/interface/input-value.d.ts +1 -1
  40. package/dist/types/stencil-public-runtime.d.ts +32 -17
  41. package/dist/types/type/button.d.ts +1 -0
  42. package/dist/types/type/variant.d.ts +1 -0
  43. package/documentation.json +410 -0
  44. package/loader/index.d.ts +2 -2
  45. package/package.json +11 -5
  46. package/readme.md +7 -0
  47. package/src/common/aria.ts +2 -2
  48. package/src/common/keyboard-manager.ts +1 -1
  49. package/src/common/unit.ts +14 -0
  50. package/src/components/mds-table-row/mds-table-row.css +1 -1
  51. package/src/components/mds-table-row/mds-table-row.tsx +5 -0
  52. package/src/components/mds-table-row/readme.md +7 -0
  53. package/src/dictionary/button.ts +7 -1
  54. package/src/dictionary/variant.ts +10 -0
  55. package/src/fixtures/icons.json +40 -0
  56. package/src/fixtures/iconsauce.json +38 -0
  57. package/src/interface/input-value.ts +1 -1
  58. package/src/type/button.ts +4 -0
  59. package/src/type/variant.ts +9 -0
  60. package/www/build/mds-table-row.esm.js +1 -1
  61. package/www/build/mds-table-row.js +2 -6
  62. package/www/build/{p-30a6116a.entry.js → p-792ca9b5.entry.js} +1 -1
  63. package/www/build/p-94ed7d2d.system.js +2 -0
  64. package/www/build/{p-7d3f05d4.system.entry.js → p-ad55a7c6.system.entry.js} +1 -1
  65. package/www/build/p-caa45624.js +2 -0
  66. package/www/build/{p-fb327bab.system.js → p-f2dd20fa.system.js} +1 -1
  67. package/dist/esm/polyfills/css-shim.js +0 -1
  68. package/dist/esm-es5/index-be386e76.js +0 -2
  69. package/dist/mds-table-row/p-2647d8bd.system.js +0 -2
  70. package/dist/mds-table-row/p-426bd1f3.js +0 -2
  71. package/www/build/p-2647d8bd.system.js +0 -2
  72. package/www/build/p-426bd1f3.js +0 -2
@@ -0,0 +1,421 @@
1
+
2
+ /**
3
+ * This is an autogenerated file created by the Stencil compiler.
4
+ * DO NOT MODIFY IT MANUALLY
5
+ */
6
+ interface ComponentCompilerPropertyComplexType {
7
+ /**
8
+ * The string of the original type annotation in the Stencil source code
9
+ */
10
+ original: string;
11
+ /**
12
+ * A 'resolved' type, where e.g. imported types have been resolved and inlined
13
+ *
14
+ * For instance, an annotation like `(foo: Foo) => string;` will be
15
+ * converted to `(foo: { foo: string }) => string;`.
16
+ */
17
+ resolved: string;
18
+ /**
19
+ * A record of the types which were referenced in the assorted type
20
+ * annotation in the original source file.
21
+ */
22
+ references: ComponentCompilerTypeReferences;
23
+ }
24
+ type ComponentCompilerTypeReferences = Record<string, ComponentCompilerTypeReference>;
25
+ interface ComponentCompilerTypeReference {
26
+ /**
27
+ * A type may be defined:
28
+ * - locally (in the same file as the component that uses it)
29
+ * - globally
30
+ * - by importing it into a file (and is defined elsewhere)
31
+ */
32
+ location: "local" | "global" | "import";
33
+ /**
34
+ * The path to the type reference, if applicable (global types should not need a path associated with them)
35
+ */
36
+ path?: string;
37
+ /**
38
+ * An ID for this type which is unique within a Stencil project.
39
+ */
40
+ id: string;
41
+ }
42
+ interface ComponentCompilerReferencedType {
43
+ /**
44
+ * The path to the module where the type is declared.
45
+ */
46
+ path: string;
47
+ /**
48
+ * The string of the original type annotation in the Stencil source code
49
+ */
50
+ declaration: string;
51
+ /**
52
+ * An extracted docstring
53
+ */
54
+ docstring: string;
55
+ }
56
+ interface ComponentCompilerEventComplexType {
57
+ original: string;
58
+ resolved: string;
59
+ references: ComponentCompilerTypeReferences;
60
+ }
61
+ interface ComponentCompilerMethodComplexType {
62
+ signature: string;
63
+ parameters: CompilerJsDoc[];
64
+ references: ComponentCompilerTypeReferences;
65
+ return: string;
66
+ }
67
+ interface CompilerJsDoc {
68
+ /**
69
+ * The text associated with the JSDoc
70
+ */
71
+ text: string;
72
+ /**
73
+ * Tags included in the JSDoc
74
+ */
75
+ tags: CompilerJsDocTagInfo[];
76
+ }
77
+ interface CompilerJsDocTagInfo {
78
+ /**
79
+ * The name of the tag - e.g. `@deprecated`
80
+ */
81
+ name: string;
82
+ /**
83
+ * Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
84
+ */
85
+ text?: string;
86
+ }
87
+ /**
88
+ * The Type Library holds information about the types which are used in a
89
+ * Stencil project. During compilation, Stencil gathers information about the
90
+ * types which form part of a component's public API, such as properties
91
+ * decorated with `@Prop`, `@Event`, `@Watch`, etc. This type information is
92
+ * then added to the Type Library, where it can be accessed later on for
93
+ * generating documentation.
94
+ *
95
+ * This information is included in the file written by the `docs-json` output
96
+ * target (see {@link JsonDocs.typeLibrary}).
97
+ */
98
+ export type JsonDocsTypeLibrary = Record<string, ComponentCompilerReferencedType>;
99
+ /**
100
+ * A container for JSDoc metadata for a project
101
+ */
102
+ export interface JsonDocs {
103
+ /**
104
+ * The metadata for the JSDocs for each component in a Stencil project
105
+ */
106
+ components: JsonDocsComponent[];
107
+ /**
108
+ * The timestamp at which the metadata was generated, in the format YYYY-MM-DDThh:mm:ss
109
+ */
110
+ timestamp: string;
111
+ compiler: {
112
+ /**
113
+ * The name of the compiler that generated the metadata
114
+ */
115
+ name: string;
116
+ /**
117
+ * The version of the Stencil compiler that generated the metadata
118
+ */
119
+ version: string;
120
+ /**
121
+ * The version of TypeScript that was used to generate the metadata
122
+ */
123
+ typescriptVersion: string;
124
+ };
125
+ typeLibrary: JsonDocsTypeLibrary;
126
+ }
127
+ /**
128
+ * Container for JSDoc metadata for a single Stencil component
129
+ */
130
+ export interface JsonDocsComponent {
131
+ /**
132
+ * The directory containing the Stencil component, minus the file name.
133
+ *
134
+ * @example /workspaces/stencil-project/src/components/my-component
135
+ */
136
+ dirPath?: string;
137
+ /**
138
+ * The name of the file containing the Stencil component, with no path
139
+ *
140
+ * @example my-component.tsx
141
+ */
142
+ fileName?: string;
143
+ /**
144
+ * The full path of the file containing the Stencil component
145
+ *
146
+ * @example /workspaces/stencil-project/src/components/my-component/my-component.tsx
147
+ */
148
+ filePath?: string;
149
+ /**
150
+ * The path to the component's `readme.md` file, including the filename
151
+ *
152
+ * @example /workspaces/stencil-project/src/components/my-component/readme.md
153
+ */
154
+ readmePath?: string;
155
+ /**
156
+ * The path to the component's `usage` directory
157
+ *
158
+ * @example /workspaces/stencil-project/src/components/my-component/usage/
159
+ */
160
+ usagesDir?: string;
161
+ /**
162
+ * The encapsulation strategy for a component
163
+ */
164
+ encapsulation: "shadow" | "scoped" | "none";
165
+ /**
166
+ * The tag name for the component, for use in HTML
167
+ */
168
+ tag: string;
169
+ /**
170
+ * The contents of a component's `readme.md` that are user generated.
171
+ *
172
+ * Auto-generated contents are not stored in this reference.
173
+ */
174
+ readme: string;
175
+ /**
176
+ * The description of a Stencil component, found in the JSDoc that sits above the component's declaration
177
+ */
178
+ docs: string;
179
+ /**
180
+ * JSDoc tags found in the JSDoc comment written atop a component's declaration
181
+ */
182
+ docsTags: JsonDocsTag[];
183
+ /**
184
+ * The text from the class-level JSDoc for a Stencil component, if present.
185
+ */
186
+ overview?: string;
187
+ /**
188
+ * A mapping of usage example file names to their contents for the component.
189
+ */
190
+ usage: JsonDocsUsage;
191
+ /**
192
+ * Array of metadata for a component's `@Prop`s
193
+ */
194
+ props: JsonDocsProp[];
195
+ /**
196
+ * Array of metadata for a component's `@Method`s
197
+ */
198
+ methods: JsonDocsMethod[];
199
+ /**
200
+ * Array of metadata for a component's `@Event`s
201
+ */
202
+ events: JsonDocsEvent[];
203
+ /**
204
+ * Array of metadata for a component's `@Listen` handlers
205
+ */
206
+ listeners: JsonDocsListener[];
207
+ /**
208
+ * Array of metadata for a component's CSS styling information
209
+ */
210
+ styles: JsonDocsStyle[];
211
+ /**
212
+ * Array of component Slot information, generated from `@slot` tags
213
+ */
214
+ slots: JsonDocsSlot[];
215
+ /**
216
+ * Array of component Parts information, generate from `@part` tags
217
+ */
218
+ parts: JsonDocsPart[];
219
+ /**
220
+ * Array of metadata describing where the current component is used
221
+ */
222
+ dependents: string[];
223
+ /**
224
+ * Array of metadata listing the components which are used in current component
225
+ */
226
+ dependencies: string[];
227
+ /**
228
+ * Describes a tree of components coupling
229
+ */
230
+ dependencyGraph: JsonDocsDependencyGraph;
231
+ /**
232
+ * A deprecation reason/description found following a `@deprecated` tag
233
+ */
234
+ deprecation?: string;
235
+ }
236
+ export interface JsonDocsDependencyGraph {
237
+ [tagName: string]: string[];
238
+ }
239
+ /**
240
+ * A descriptor for a single JSDoc tag found in a block comment
241
+ */
242
+ export interface JsonDocsTag {
243
+ /**
244
+ * The tag name (immediately following the '@')
245
+ */
246
+ name: string;
247
+ /**
248
+ * The description that immediately follows the tag name
249
+ */
250
+ text?: string;
251
+ }
252
+ export interface JsonDocsValue {
253
+ value?: string;
254
+ type: string;
255
+ }
256
+ /**
257
+ * A mapping of file names to their contents.
258
+ *
259
+ * This type is meant to be used when reading one or more usage markdown files associated with a component. For the
260
+ * given directory structure:
261
+ * ```
262
+ * src/components/my-component
263
+ * ├── my-component.tsx
264
+ * └── usage
265
+ * ├── bar.md
266
+ * └── foo.md
267
+ * ```
268
+ * an instance of this type would include the name of the markdown file, mapped to its contents:
269
+ * ```ts
270
+ * {
271
+ * 'bar': STRING_CONTENTS_OF_BAR.MD
272
+ * 'foo': STRING_CONTENTS_OF_FOO.MD
273
+ * }
274
+ * ```
275
+ */
276
+ export interface JsonDocsUsage {
277
+ [key: string]: string;
278
+ }
279
+ /**
280
+ * An intermediate representation of a `@Prop` decorated member's JSDoc
281
+ */
282
+ export interface JsonDocsProp {
283
+ /**
284
+ * the name of the prop
285
+ */
286
+ name: string;
287
+ complexType?: ComponentCompilerPropertyComplexType;
288
+ /**
289
+ * the type of the prop, in terms of the TypeScript type system (as opposed to JavaScript's or HTML's)
290
+ */
291
+ type: string;
292
+ /**
293
+ * `true` if the prop was configured as "mutable" where it was declared, `false` otherwise
294
+ */
295
+ mutable: boolean;
296
+ /**
297
+ * The name of the attribute that is exposed to configure a compiled web component
298
+ */
299
+ attr?: string;
300
+ /**
301
+ * `true` if the prop was configured to "reflect" back to HTML where it (the prop) was declared, `false` otherwise
302
+ */
303
+ reflectToAttr: boolean;
304
+ /**
305
+ * the JSDoc description text associated with the prop
306
+ */
307
+ docs: string;
308
+ /**
309
+ * JSDoc tags associated with the prop
310
+ */
311
+ docsTags: JsonDocsTag[];
312
+ /**
313
+ * The default value of the prop
314
+ */
315
+ default?: string;
316
+ /**
317
+ * Deprecation text associated with the prop. This is the text that immediately follows a `@deprecated` tag
318
+ */
319
+ deprecation?: string;
320
+ values: JsonDocsValue[];
321
+ /**
322
+ * `true` if a component is declared with a '?', `false` otherwise
323
+ *
324
+ * @example
325
+ * ```tsx
326
+ * @Prop() componentProps?: any;
327
+ * ```
328
+ */
329
+ optional: boolean;
330
+ /**
331
+ * `true` if a component is declared with a '!', `false` otherwise
332
+ *
333
+ * @example
334
+ * ```tsx
335
+ * @Prop() componentProps!: any;
336
+ * ```
337
+ */
338
+ required: boolean;
339
+ }
340
+ export interface JsonDocsMethod {
341
+ name: string;
342
+ docs: string;
343
+ docsTags: JsonDocsTag[];
344
+ deprecation?: string;
345
+ signature: string;
346
+ returns: JsonDocsMethodReturn;
347
+ parameters: JsonDocMethodParameter[];
348
+ complexType: ComponentCompilerMethodComplexType;
349
+ }
350
+ export interface JsonDocsMethodReturn {
351
+ type: string;
352
+ docs: string;
353
+ }
354
+ export interface JsonDocMethodParameter {
355
+ name: string;
356
+ type: string;
357
+ docs: string;
358
+ }
359
+ export interface JsonDocsEvent {
360
+ event: string;
361
+ bubbles: boolean;
362
+ cancelable: boolean;
363
+ composed: boolean;
364
+ complexType: ComponentCompilerEventComplexType;
365
+ docs: string;
366
+ docsTags: JsonDocsTag[];
367
+ deprecation?: string;
368
+ detail: string;
369
+ }
370
+ export interface JsonDocsStyle {
371
+ name: string;
372
+ docs: string;
373
+ annotation: string;
374
+ }
375
+ export interface JsonDocsListener {
376
+ event: string;
377
+ target?: string;
378
+ capture: boolean;
379
+ passive: boolean;
380
+ }
381
+ /**
382
+ * A descriptor for a slot
383
+ *
384
+ * Objects of this type are translated from the JSDoc tag, `@slot`
385
+ */
386
+ export interface JsonDocsSlot {
387
+ /**
388
+ * The name of the slot. Defaults to an empty string for an unnamed slot.
389
+ */
390
+ name: string;
391
+ /**
392
+ * A textual description of the slot.
393
+ */
394
+ docs: string;
395
+ }
396
+ /**
397
+ * A descriptor of a CSS Shadow Part
398
+ *
399
+ * Objects of this type are translated from the JSDoc tag, `@part`, or the 'part'
400
+ * attribute on a component in TSX
401
+ */
402
+ export interface JsonDocsPart {
403
+ /**
404
+ * The name of the Shadow part
405
+ */
406
+ name: string;
407
+ /**
408
+ * A textual description of the Shadow part.
409
+ */
410
+ docs: string;
411
+ }
412
+ export interface StyleDoc {
413
+ name: string;
414
+ docs: string;
415
+ annotation: "prop";
416
+ }
417
+
418
+ export {};
419
+
420
+ declare const _default: JsonDocs;
421
+ export default _default;
@@ -0,0 +1,68 @@
1
+ {
2
+ "timestamp": "2023-09-18T09:22:32",
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-table-row/mds-table-row.tsx",
11
+ "encapsulation": "shadow",
12
+ "tag": "mds-table-row",
13
+ "docs": "",
14
+ "docsTags": [
15
+ {
16
+ "name": "slot",
17
+ "text": "default - Put `mds-table-cell` element/s."
18
+ }
19
+ ],
20
+ "usage": {},
21
+ "props": [
22
+ {
23
+ "name": "interactive",
24
+ "type": "boolean",
25
+ "complexType": {
26
+ "original": "boolean",
27
+ "resolved": "boolean",
28
+ "references": {}
29
+ },
30
+ "mutable": true,
31
+ "attr": "interactive",
32
+ "reflectToAttr": true,
33
+ "docs": "",
34
+ "docsTags": [],
35
+ "values": [
36
+ {
37
+ "type": "boolean"
38
+ }
39
+ ],
40
+ "optional": false,
41
+ "required": false
42
+ }
43
+ ],
44
+ "methods": [],
45
+ "events": [],
46
+ "listeners": [
47
+ {
48
+ "event": "mdsTableInteractiveChange",
49
+ "target": "document",
50
+ "capture": false,
51
+ "passive": false
52
+ }
53
+ ],
54
+ "styles": [],
55
+ "slots": [
56
+ {
57
+ "name": "default",
58
+ "docs": "Put `mds-table-cell` element/s."
59
+ }
60
+ ],
61
+ "parts": [],
62
+ "dependents": [],
63
+ "dependencies": [],
64
+ "dependencyGraph": {}
65
+ }
66
+ ],
67
+ "typeLibrary": {}
68
+ }