@maggioli-design-system/mds-accordion-timer-item 1.0.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 (121) hide show
  1. package/dist/cjs/index-2ee34dd7.js +1180 -0
  2. package/dist/cjs/index.cjs.js +2 -0
  3. package/dist/cjs/loader.cjs.js +21 -0
  4. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +100 -0
  5. package/dist/cjs/mds-accordion-timer-item.cjs.js +19 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +109 -0
  8. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +206 -0
  9. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +49 -0
  10. package/dist/collection/dictionary/autocomplete.js +59 -0
  11. package/dist/collection/dictionary/button.js +26 -0
  12. package/dist/collection/dictionary/color.js +19 -0
  13. package/dist/collection/dictionary/icon.js +3 -0
  14. package/dist/collection/dictionary/input-text-type.js +13 -0
  15. package/dist/collection/dictionary/loading.js +5 -0
  16. package/dist/collection/dictionary/typography.js +37 -0
  17. package/dist/collection/dictionary/variant.js +64 -0
  18. package/dist/collection/fixtures/cities.js +110 -0
  19. package/dist/collection/interface/input-value.js +1 -0
  20. package/dist/collection/types/autocomplete.js +1 -0
  21. package/dist/collection/types/button.js +1 -0
  22. package/dist/collection/types/form-rel.js +1 -0
  23. package/dist/collection/types/input-text-type.js +1 -0
  24. package/dist/collection/types/input-value-type.js +1 -0
  25. package/dist/collection/types/loading.js +1 -0
  26. package/dist/collection/types/typography.js +1 -0
  27. package/dist/collection/types/variant.js +1 -0
  28. package/dist/custom-elements/index.d.ts +45 -0
  29. package/dist/custom-elements/index.js +112 -0
  30. package/dist/esm/index-4339770f.js +1153 -0
  31. package/dist/esm/index.js +1 -0
  32. package/dist/esm/loader.js +17 -0
  33. package/dist/esm/mds-accordion-timer-item.entry.js +96 -0
  34. package/dist/esm/mds-accordion-timer-item.js +17 -0
  35. package/dist/esm/polyfills/core-js.js +11 -0
  36. package/dist/esm/polyfills/css-shim.js +1 -0
  37. package/dist/esm/polyfills/dom.js +79 -0
  38. package/dist/esm/polyfills/es5-html-element.js +1 -0
  39. package/dist/esm/polyfills/index.js +34 -0
  40. package/dist/esm/polyfills/system.js +6 -0
  41. package/dist/esm-es5/index-4339770f.js +1 -0
  42. package/dist/esm-es5/index.js +0 -0
  43. package/dist/esm-es5/loader.js +1 -0
  44. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -0
  45. package/dist/esm-es5/mds-accordion-timer-item.js +1 -0
  46. package/dist/index.cjs.js +1 -0
  47. package/dist/index.js +1 -0
  48. package/dist/mds-accordion-timer-item/index.esm.js +0 -0
  49. package/dist/mds-accordion-timer-item/mds-accordion-timer-item.esm.js +1 -0
  50. package/dist/mds-accordion-timer-item/mds-accordion-timer-item.js +130 -0
  51. package/dist/mds-accordion-timer-item/p-08901cb1.entry.js +1 -0
  52. package/dist/mds-accordion-timer-item/p-50ea2036.system.js +1 -0
  53. package/dist/mds-accordion-timer-item/p-7e30d5f8.js +1 -0
  54. package/dist/mds-accordion-timer-item/p-9b9f6cb9.system.js +1 -0
  55. package/dist/mds-accordion-timer-item/p-c7b8cf9d.system.js +1 -0
  56. package/dist/mds-accordion-timer-item/p-d8623772.system.entry.js +1 -0
  57. package/dist/stats.json +705 -0
  58. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +43 -0
  59. package/dist/types/components.d.ts +90 -0
  60. package/dist/types/dictionary/autocomplete.d.ts +2 -0
  61. package/dist/types/dictionary/button.d.ts +5 -0
  62. package/dist/types/dictionary/color.d.ts +3 -0
  63. package/dist/types/dictionary/icon.d.ts +2 -0
  64. package/dist/types/dictionary/input-text-type.d.ts +2 -0
  65. package/dist/types/dictionary/loading.d.ts +2 -0
  66. package/dist/types/dictionary/typography.d.ts +5 -0
  67. package/dist/types/dictionary/variant.d.ts +9 -0
  68. package/dist/types/fixtures/cities.d.ts +2 -0
  69. package/dist/types/interface/input-value.d.ts +4 -0
  70. package/dist/types/stencil-public-runtime.d.ts +1563 -0
  71. package/dist/types/types/autocomplete.d.ts +2 -0
  72. package/dist/types/types/button.d.ts +4 -0
  73. package/dist/types/types/form-rel.d.ts +1 -0
  74. package/dist/types/types/input-text-type.d.ts +1 -0
  75. package/dist/types/types/input-value-type.d.ts +1 -0
  76. package/dist/types/types/loading.d.ts +1 -0
  77. package/dist/types/types/typography.d.ts +4 -0
  78. package/dist/types/types/variant.d.ts +10 -0
  79. package/loader/cdn.js +3 -0
  80. package/loader/index.cjs.js +3 -0
  81. package/loader/index.d.ts +12 -0
  82. package/loader/index.es2017.js +3 -0
  83. package/loader/index.js +4 -0
  84. package/loader/package.json +10 -0
  85. package/package.json +47 -0
  86. package/readme.md +54 -0
  87. package/src/components/mds-accordion-timer-item/mds-accordion-timer-item.css +69 -0
  88. package/src/components/mds-accordion-timer-item/mds-accordion-timer-item.tsx +99 -0
  89. package/src/components/mds-accordion-timer-item/readme.md +39 -0
  90. package/src/components/mds-accordion-timer-item/test/mds-accordion-timer-item.e2e.ts +11 -0
  91. package/src/components/mds-accordion-timer-item/test/mds-accordion-timer-item.spec.tsx +18 -0
  92. package/src/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +49 -0
  93. package/src/components.d.ts +90 -0
  94. package/src/dictionary/autocomplete.ts +62 -0
  95. package/src/dictionary/button.ts +35 -0
  96. package/src/dictionary/color.ts +24 -0
  97. package/src/dictionary/icon.ts +5 -0
  98. package/src/dictionary/input-text-type.ts +17 -0
  99. package/src/dictionary/loading.ts +9 -0
  100. package/src/dictionary/typography.ts +46 -0
  101. package/src/dictionary/variant.ts +81 -0
  102. package/src/fixtures/cities.ts +116 -0
  103. package/src/interface/input-value.ts +5 -0
  104. package/src/types/autocomplete.ts +69 -0
  105. package/src/types/button.ts +24 -0
  106. package/src/types/form-rel.ts +11 -0
  107. package/src/types/input-text-type.ts +11 -0
  108. package/src/types/input-value-type.ts +5 -0
  109. package/src/types/loading.ts +3 -0
  110. package/src/types/typography.ts +35 -0
  111. package/src/types/variant.ts +72 -0
  112. package/www/build/index.esm.js +0 -0
  113. package/www/build/mds-accordion-timer-item.esm.js +1 -0
  114. package/www/build/mds-accordion-timer-item.js +130 -0
  115. package/www/build/p-08901cb1.entry.js +1 -0
  116. package/www/build/p-50ea2036.system.js +1 -0
  117. package/www/build/p-7e30d5f8.js +1 -0
  118. package/www/build/p-9b9f6cb9.system.js +1 -0
  119. package/www/build/p-c7b8cf9d.system.js +1 -0
  120. package/www/build/p-d8623772.system.entry.js +1 -0
  121. package/www/host.config.json +15 -0
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { TypographyPrimaryType } from '../../types/typography';
3
+ export declare class MdsAccordionTimerItem {
4
+ isActive: boolean;
5
+ /**
6
+ * Specifies the typography of the element
7
+ */
8
+ readonly typography?: TypographyPrimaryType;
9
+ /**
10
+ * Specifies if the accordion item is opened or not
11
+ */
12
+ readonly active?: boolean;
13
+ /**
14
+ * Specifies the title shown when the accordion is closed or opened
15
+ */
16
+ readonly description: string;
17
+ /**
18
+ * A value between 0 and 100 that rapresents the status progress
19
+ */
20
+ readonly progress?: number;
21
+ /**
22
+ * Used automatically by MdsAccordionTimer wrapper to handle it's siblings
23
+ */
24
+ readonly uuid?: number;
25
+ componentWillLoad(): void;
26
+ private toggle;
27
+ private mouseEnter;
28
+ private mouseLeave;
29
+ /**
30
+ * Emits when the accordion is clicked by the mouse
31
+ */
32
+ clickActive: EventEmitter<string>;
33
+ /**
34
+ * Emits when the accordion is hovered by the mouse
35
+ */
36
+ mouseEnterActive: EventEmitter<string>;
37
+ /**
38
+ * Emits when the accordion is hovered by the mouse
39
+ */
40
+ mouseLeaveActive: EventEmitter<string>;
41
+ validateOpened(newValue: boolean): void;
42
+ render(): any;
43
+ }
@@ -0,0 +1,90 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { TypographyPrimaryType } from "./types/typography";
9
+ export namespace Components {
10
+ interface MdsAccordionTimerItem {
11
+ /**
12
+ * Specifies if the accordion item is opened or not
13
+ */
14
+ "active"?: boolean;
15
+ /**
16
+ * Specifies the title shown when the accordion is closed or opened
17
+ */
18
+ "description": string;
19
+ /**
20
+ * A value between 0 and 100 that rapresents the status progress
21
+ */
22
+ "progress"?: number;
23
+ /**
24
+ * Specifies the typography of the element
25
+ */
26
+ "typography"?: TypographyPrimaryType;
27
+ /**
28
+ * Used automatically by MdsAccordionTimer wrapper to handle it's siblings
29
+ */
30
+ "uuid"?: number;
31
+ }
32
+ }
33
+ declare global {
34
+ interface HTMLMdsAccordionTimerItemElement extends Components.MdsAccordionTimerItem, HTMLStencilElement {
35
+ }
36
+ var HTMLMdsAccordionTimerItemElement: {
37
+ prototype: HTMLMdsAccordionTimerItemElement;
38
+ new (): HTMLMdsAccordionTimerItemElement;
39
+ };
40
+ interface HTMLElementTagNameMap {
41
+ "mds-accordion-timer-item": HTMLMdsAccordionTimerItemElement;
42
+ }
43
+ }
44
+ declare namespace LocalJSX {
45
+ interface MdsAccordionTimerItem {
46
+ /**
47
+ * Specifies if the accordion item is opened or not
48
+ */
49
+ "active"?: boolean;
50
+ /**
51
+ * Specifies the title shown when the accordion is closed or opened
52
+ */
53
+ "description": string;
54
+ /**
55
+ * Emits when the accordion is clicked by the mouse
56
+ */
57
+ "onClickActive"?: (event: CustomEvent<string>) => void;
58
+ /**
59
+ * Emits when the accordion is hovered by the mouse
60
+ */
61
+ "onMouseEnterActive"?: (event: CustomEvent<string>) => void;
62
+ /**
63
+ * Emits when the accordion is hovered by the mouse
64
+ */
65
+ "onMouseLeaveActive"?: (event: CustomEvent<string>) => void;
66
+ /**
67
+ * A value between 0 and 100 that rapresents the status progress
68
+ */
69
+ "progress"?: number;
70
+ /**
71
+ * Specifies the typography of the element
72
+ */
73
+ "typography"?: TypographyPrimaryType;
74
+ /**
75
+ * Used automatically by MdsAccordionTimer wrapper to handle it's siblings
76
+ */
77
+ "uuid"?: number;
78
+ }
79
+ interface IntrinsicElements {
80
+ "mds-accordion-timer-item": MdsAccordionTimerItem;
81
+ }
82
+ }
83
+ export { LocalJSX as JSX };
84
+ declare module "@stencil/core" {
85
+ export namespace JSX {
86
+ interface IntrinsicElements {
87
+ "mds-accordion-timer-item": LocalJSX.MdsAccordionTimerItem & JSXBase.HTMLAttributes<HTMLMdsAccordionTimerItemElement>;
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,2 @@
1
+ declare const autoCompleteDictionary: string[];
2
+ export { autoCompleteDictionary, };
@@ -0,0 +1,5 @@
1
+ declare const buttonVariantDictionary: string[];
2
+ declare const buttonToneVariantDictionary: string[];
3
+ declare const buttonSizeDictionary: string[];
4
+ declare const buttonIconPositionDictionary: string[];
5
+ export { buttonSizeDictionary, buttonToneVariantDictionary, buttonVariantDictionary, buttonIconPositionDictionary, };
@@ -0,0 +1,3 @@
1
+ declare const colorLabelDictionary: string[];
2
+ declare const colorStatusDictionary: string[];
3
+ export { colorLabelDictionary, colorStatusDictionary, };
@@ -0,0 +1,2 @@
1
+ declare const iconsDictionary: string[];
2
+ export { iconsDictionary, };
@@ -0,0 +1,2 @@
1
+ declare const inputTextTypeDictionary: string[];
2
+ export { inputTextTypeDictionary, };
@@ -0,0 +1,2 @@
1
+ declare const loadingDictionary: string[];
2
+ export { loadingDictionary, };
@@ -0,0 +1,5 @@
1
+ declare const typographyDictionary: string[];
2
+ declare const typographyMonoDictionary: string[];
3
+ declare const typographyPrimaryDictionary: string[];
4
+ declare const typographySecondaryDictionary: string[];
5
+ export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, };
@@ -0,0 +1,9 @@
1
+ declare const themeVariantDictionary: string[];
2
+ declare const themeLuminanceVariantDictionary: string[];
3
+ declare const themeStatusVariantDictionary: string[];
4
+ declare const themeFullVariantDictionary: string[];
5
+ declare const themeLabelVariantDictionary: string[];
6
+ declare const toneVariantDictionary: string[];
7
+ declare const toneSimpleVariantDictionary: string[];
8
+ declare const toneMinimalVariantDictionary: string[];
9
+ export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
@@ -0,0 +1,2 @@
1
+ declare const citiesDictionary: string[];
2
+ export { citiesDictionary, };
@@ -0,0 +1,4 @@
1
+ import { InputValueType } from '../types/input-value-type';
2
+ export interface InputValue {
3
+ value: InputValueType;
4
+ }